Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tokenBridge protocol: add token address conversion methods #649

Merged
merged 2 commits into from
Aug 6, 2024

Commits on Aug 5, 2024

  1. tokenBridge protocol: add token address conversion methods

    - Added getTokenUniversalAddress and getTokenNativeAddress methods to each platform's token bridge protocol implementation.
    - Some chains like Aptos and Sui require fetching on-chain data for token address conversions (universal to native and vice versa).
    - Fixed issue where lookupDestinationToken would return a universal address, causing issues in functions expecting a native address.
    - lookupDestinationToken now consistently returns a native address.
    - Resolved issues with transferring native Sui and Aptos tokens back to their origin chains.
    kev1n-peters committed Aug 5, 2024
    Configuration menu
    Copy the full SHA
    4d01fbb View commit details
    Browse the repository at this point in the history

Commits on Aug 6, 2024

  1. Configuration menu
    Copy the full SHA
    0b55163 View commit details
    Browse the repository at this point in the history