ecosystem icon indicating copy to clipboard operation
ecosystem copied to clipboard

interop viem & wagmi v2

Open fainashalts opened this issue 5 months ago • 0 comments

The initial version of interop abstractions with viem and wagmi supports interop message passing. Now that the specs are clear for some of the asset transfer features (notably we are still waiting for L2-native SuperERC20), we can add asset transfer support.

SuperchainWETH

  • [x] Add SuperchainWETH abi
  • [ ] Add sendSuperchainWETH L2 viem action
  • [ ] Add relaySuperchainWETH L2 viem action
  • [ ] Add useSendSuperchainWETH wagmi hook
  • [ ] Add useRelaySuperchainWETH wagmi hook

SuperchainERC20

  • [ ] Add ISuperchainERC20Extensions abi
  • [ ] Add sendSuperERC20 L2 viem action
  • [ ] Add relaySuperERC20 L2 viem action
  • [ ] Add useSendSuperERC20 wagmi action
  • [ ] Add useRelaySuperchainERC20 wagmi hook

Utils These utils are used for both SuperchainWETH and SuperchainERC20

  • [ ] Add decodeSendERC20 log event
  • [ ] Add decodeRelayERC20 log event

fainashalts avatar Sep 12 '24 19:09 fainashalts