Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

v1 #8

Merged
merged 57 commits into from
Nov 19, 2022
Merged

v1 #8

merged 57 commits into from
Nov 19, 2022

Conversation

zkSoju
Copy link
Collaborator

@zkSoju zkSoju commented Nov 19, 2022

No description provided.

zkSoju and others added 30 commits November 13, 2022 17:00
* wip approve hooks

* clear inputs on clear and request input

* re-add error handling

* use bignumberish

* clean up and use number as bignumberish

* cleanup

* return formatted and value from balance hook

* improve button ordering

* disable input on wrong chain to prevent errors

* clean up type assertions

* swap button and favicon

* Delete Satoshi_Complete.zip

* navbar styling

* fix max button

* fix types

* fix insufficient balance check
exp-table and others added 27 commits November 16, 2022 10:01
* shorten toast msg

* add sdk/entities
* wip sdk overhaul

* clean up all hooks

* fix errors

* load default tokens

* setup user input

* change to currency a/b

* validate input

* update naming

* add provide liq hook

* sort out state + display balances

* abstract tab slider

* add mint + withdraw with sdk

* add damn data hook

* add sync l2 hooks

* fix error when data contents null

* setup swap store

* add swap + sync l1

* add burn + swap callback hooks

* set voucher currencies

* update contracts

* updated addresses

* fetch reserves for damm

* typo

* move tabs

* display correct LP

* add toast hook

* setup approvals and require sync under marked

* reactive swap

* disable input if wrong chain

* check insufficient balance

* fix allowance check

* setup reactive provide

* use parsed amounts as display to handle reactiveness

* fix parsed output using wrong currency

* make swap reactive as well

* remove unused calculation

* fix error when hook is enabled before args defined

* make swap async

* only fetch token on the chain it lives on

* fix isApproved allowance check

* ayo fix calc?

* using amm data for virtual reserves

* fix input not being called

* fix approvals somehow wtf

* revert changes but still works wtf

* move tab data to separate folder

* clean up tabs

* fix input error with default state

* provide: allow typing from both sides

* fix display and input display

* fix reactive swap inputs

* use uniswap formatting

Co-authored-by: exp_table <exp.table@protonmail.com>
* make async + add toasts

* add toasts and swap currencies

* shorten toast msg
* simplify

* collapse into one tab

* use autoswitch only for damm
@zkSoju zkSoju merged commit 71f09cb into main Nov 19, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants