EeseeAssetHubAxelar
Inherited from AxelarCallerEeseeMessageInterface
Inherited from EeseeAssetHubBase
unwrap
Copy function unwrap ( uint256 [] tokenIds , uint256 [] amounts , address recipient , bytes additionalData) external payable
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
uri
Copy function uri ( uint256 tokenId) public view returns ( string )
Builds and returns tokenId's token URI.
Parameters
Return Values
getTokenId
Copy function getTokenId (struct AssetHashWithSource assetHashWithSource) public pure returns ( uint256 )
Allows calculating token IDs before wrapping.
Parameters
Return Values
supportsInterface
Copy function supportsInterface ( bytes4 interfaceId) public view virtual returns ( bool )
_setRoyalty
Copy function _setRoyalty ( uint256 tokenId , bytes assetData) external
Inherited from AxelarCaller
execute
Copy function execute ( bytes32 commandId , string sourceChain , string sourceAddress , bytes payload) external
Inherited from ICallerBase
CrosschainSend
Copy event CrosschainSend ( bytes32 projectIdentifier, struct AddressWithChain destination, bytes additionalData)
CrosschainReceive
Copy event CrosschainReceive ( bytes32 projectIdentifier, struct AddressWithChain source, bytes additionalData)
Inherited from MulticallExternal
multicall
Copy function multicall (struct Call [] calls) external
Call any contract's function.
Parameters
AddToBlacklist
Copy event AddToBlacklist ( address target, bytes4 functionSelector)
RemoveFromBlacklist
Copy event RemoveFromBlacklist ( address target, bytes4 functionSelector)
MulticallFailed
Copy event MulticallFailed ( bytes err)
Inherited from ERC2771Context
isTrustedForwarder
Copy function isTrustedForwarder ( address forwarder) public view virtual returns ( bool )
Inherited from ERC1155Holder
onERC1155Received
Copy function onERC1155Received ( address , address , uint256 , uint256 , bytes ) public virtual returns ( bytes4 )
onERC1155BatchReceived
Copy function onERC1155BatchReceived ( address , address , uint256 [] , uint256 [] , bytes ) public virtual returns ( bytes4 )
Inherited from ERC2981
royaltyInfo
Copy function royaltyInfo ( uint256 tokenId , uint256 salePrice) public view virtual returns ( address , uint256 )
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
Copy function balanceOf ( address account , uint256 id) public view virtual returns ( uint256 )
_See {IERC1155-balanceOf}.
Requirements:
account
cannot be the zero address._
balanceOfBatch
Copy function balanceOfBatch ( address [] accounts , uint256 [] ids) public view virtual returns ( uint256 [])
_See {IERC1155-balanceOfBatch}.
Requirements:
accounts
and ids
must have the same length._
setApprovalForAll
Copy function setApprovalForAll ( address operator , bool approved) public virtual
See {IERC1155-setApprovalForAll}.
isApprovedForAll
Copy function isApprovedForAll ( address account , address operator) public view virtual returns ( bool )
See {IERC1155-isApprovedForAll}.
safeTransferFrom
Copy function safeTransferFrom ( address from , address to , uint256 id , uint256 amount , bytes data) public virtual
See {IERC1155-safeTransferFrom}.
safeBatchTransferFrom
Copy function safeBatchTransferFrom ( address from , address to , uint256 [] ids , uint256 [] amounts , bytes data) public virtual
See {IERC1155-safeBatchTransferFrom}.
Inherited from IERC1155
TransferSingle
Copy event TransferSingle ( address operator, address from, address to, uint256 id, uint256 value)
Emitted when value
tokens of token type id
are transferred from from
to to
by operator
.
TransferBatch
Copy event TransferBatch ( address operator, address from, address to, uint256 [] ids, uint256 [] values)
Equivalent to multiple {TransferSingle} events, where operator
, from
and to
are the same for all transfers.
ApprovalForAll
Copy event ApprovalForAll ( address account, address operator, bool approved)
Emitted when account
grants or revokes permission to operator
to transfer their tokens, according to approved
.
URI
Copy event URI ( string value, uint256 id)
_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
Copy function assetHashesWithSources ( uint256 ) external view returns (struct AddressWithChain source , bytes32 assetHash)
Wrap
Copy event Wrap ( uint256 tokenId, uint256 amount, struct AssetHashWithSource asset)
Unwrap
Copy event Unwrap ( uint256 tokenId, uint256 amount, struct AssetHashWithSource asset, address sender, address recipient)