-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #414 from gnoswap-labs/refactor/pool_grc20reg
* GSW-1838 refactor: use grc20reg - use gno's grc20reg realm to support dynamic token transfer in pool * GSW-1838 feat: grc20reg - replace previous token_register to latest grc20reg * feat: update grc20 spec for grc20reg * hotfix: update bar token spec * feat: get token object from `grc20-reg` in `common` * fix: typo * chore: remove grc20reg - it's been merged into master of gnolang/gno * feat: get `token` and `teller` object from grc20reg * test: txtar for approve & transferfrom using grc20reg * feat: use teller to transfer token * feat: IsRegistered() to check if token is registered or not * refactor: remove old token_register * chore: rename teller * feat: guard logic to see if token is registered * feat: MustRegistered in common - if token is not registered, it will panic. * chore: rename * GSW-1838 fix: test errors are fixed (#422) * GSW-1838 fix: test errors are fixed - Integrate helper functions for tests - Change file extensions to prevent test code in the test folder from being executed - Fixing failure errors due to code integration - Known issue : Fixed additional test failure case related to getter * fix: remove time compare in unit test * fix: do not setup data in init * test: pool manger testcase --------- Co-authored-by: n3wbie <[email protected]> * GSW-1838 refactor: use grc20reg - use gno's grc20reg realm to support dynamic token transfer in pool * fix: gno.mod tidy * fix: missing guard logic for HandleWithdrawalFee * fix: failing testcase * fix: tc * feat: use teller to transfer/transferfrom * test: fix mocking old functions * test: remove hardcoded value * test: detail error message * fix: typo * remove: duplicate token register check * fix: typo * refactor: duplicate token register check - GetPoolPath has check function --------- Co-authored-by: 0xTopaz <[email protected]> Co-authored-by: 0xTopaz <[email protected]>
- Loading branch information
Showing
15 changed files
with
161 additions
and
539 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.