You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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]>
0 commit comments