EeseeAssetHubAxelar
EeseeAssetHubAxelar
Inherited from AxelarCallerEeseeMessageInterface
Inherited from EeseeAssetHubBase
unwrap
Unwraps specified tokens to their source chain. Note: The caller must either own those tokens, or have them transfered to this contract beforehand. !WARNING! Never send any tokens to this contract from an EOA, or by contract in a separate transaction or they will be lost. Only send funds to this contract if you spend them by calling unwrap function in the same transaction.
Parameters
tokenIds
uint256[]
- Token IDs to unwrap. All tokens must have the same {source}.
amounts
uint256[]
- Amount of tokens to unwrap.
recipient
address
- Address to unwrap and send tokens to.
additionalData
bytes
- Additional information to pass to crosschain protocol.
uri
Builds and returns tokenId's token URI.
Parameters
tokenId
uint256
- Token ID to check.
Return Values
[0]
string
string Token URI.
getTokenId
Allows calculating token IDs before wrapping.
Parameters
assetHashWithSource
struct AssetHashWithSource
- Asset hash together with it's source.
Return Values
[0]
uint256
uint256 - Calculated token Id for wrapped asset.
supportsInterface
_setRoyalty
Inherited from AxelarCaller
execute
Inherited from ICallerBase
CrosschainSend
CrosschainReceive
Inherited from MulticallExternal
multicall
Call any contract's function.
Parameters
calls
struct Call[]
- Stuct describing the call.
AddToBlacklist
RemoveFromBlacklist
MulticallFailed
Inherited from ERC2771Context
isTrustedForwarder
Inherited from ERC1155Holder
onERC1155Received
onERC1155BatchReceived
Inherited from ERC2981
royaltyInfo
Returns how much royalty is owed and to whom, based on a sale price that may be denominated in any unit of exchange. The royalty amount is denominated and should be paid in that same unit of exchange.
Inherited from ERC1155
balanceOf
_See {IERC1155-balanceOf}.
Requirements:
account
cannot be the zero address._
balanceOfBatch
_See {IERC1155-balanceOfBatch}.
Requirements:
accounts
andids
must have the same length._
setApprovalForAll
See {IERC1155-setApprovalForAll}.
isApprovedForAll
See {IERC1155-isApprovedForAll}.
safeTransferFrom
See {IERC1155-safeTransferFrom}.
safeBatchTransferFrom
See {IERC1155-safeBatchTransferFrom}.
Inherited from IERC1155
TransferSingle
Emitted when value
tokens of token type id
are transferred from from
to to
by operator
.
TransferBatch
Equivalent to multiple {TransferSingle} events, where operator
, from
and to
are the same for all transfers.
ApprovalForAll
Emitted when account
grants or revokes permission to operator
to transfer their tokens, according to approved
.
URI
_Emitted when the URI for token type id
changes to value
, if it is a non-programmatic URI.
If an {URI} event was emitted for id
, the standard https://eips.ethereum.org/EIPS/eip-1155#metadata-extensions[guarantees] that value
will equal the value returned by {IERC1155MetadataURI-uri}._
Inherited from IEeseeAssetHub
assetHashesWithSources
Wrap
Unwrap
Last updated