Skip to content

Conversation

@VAIBHAVJINDAL3012
Copy link

  • Add ShibaswapV2Executor contract (UniswapV3 clone)

    • Implements swap, callback, and verification functions
    • Uses same price ratio limits as UniswapV3
    • Factory and init code hash verification
  • Add comprehensive test suite (ShibaswapV2.t.sol)

    • Unit tests for data decoding
    • Error handling tests
    • Integration test scaffolding (ready for real addresses)
  • Update Rust encoding layer

    • Add shibaswap_v2 to swap encoder builder
    • Register in IN_TRANSFER_REQUIRED_PROTOCOLS
    • Reuses UniswapV3SwapEncoder
  • Update configuration files

    • Add executor addresses for mainnet and testnet
    • Add test constants (factory, init hash, pool addresses)

- Add ShibaswapV2Executor contract (UniswapV3 clone)
  - Implements swap, callback, and verification functions
  - Uses same price ratio limits as UniswapV3
  - Factory and init code hash verification

- Add comprehensive test suite (ShibaswapV2.t.sol)
  - Unit tests for data decoding
  - Error handling tests
  - Integration test scaffolding (ready for real addresses)

- Update Rust encoding layer
  - Add shibaswap_v2 to swap encoder builder
  - Register in IN_TRANSFER_REQUIRED_PROTOCOLS
  - Reuses UniswapV3SwapEncoder

- Update configuration files
  - Add executor addresses for mainnet and testnet
  - Add test constants (factory, init hash, pool addresses)

Ready for deployment once real Shibaswap V2 addresses are provided.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Todo

Development

Successfully merging this pull request may close these issues.

1 participant