sygma-sdk
sygma-sdk copied to clipboard
Support V2 contracts
The implementations of V2 contracts are a little different. Specifically:
- Router - deposits are created to the router contract (the contract deposit function is different from before)
- FeeRouter - fee is now based on securityModel --> resource --> fee handle
Implementation details
- add implementations for calling the new functions and think how to integrate those into the existing transfer classes
Testing details
- unit tests
Acceptance Criteria
- new contracts can be used alongside old ones