I need to determine the interface of the sendFrom and estimateSendFee function.
Akira-Taniguchi opened this issue · 1 comments
[ERC20]
https://github.com/LayerZero-Labs/solidity-examples/blob/main/contracts/token/oft/IOFTCore.sol#L20
https://github.com/LayerZero-Labs/solidity-examples/blob/main/contracts/token/oft/IOFTCore.sol#L32
[ERC721]
https://github.com/LayerZero-Labs/solidity-examples/blob/main/contracts/token/onft/IONFT721Core.sol#L19
https://github.com/LayerZero-Labs/solidity-examples/blob/main/contracts/token/onft/IONFT721Core.sol#L27
By determining the interface of these functions, a contract wallet, for example, would be able to say that it supports chain-to-chain transfers if the tokens are compatible with LayeyZero.
Because Axelar has a fixed interface for the function that sends the tokens, it is in a position to easily accommodate large-scale development and inter-chain movement of contract wallets.
please