sygma-sdk icon indicating copy to clipboard operation
sygma-sdk copied to clipboard

Support V2 contracts

Open mpetrun5 opened this issue 1 year ago • 0 comments

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

mpetrun5 avatar Jan 30 '24 12:01 mpetrun5