Encode ERC1155 Asset
make1155Asset( )
Make an {ISwap-Asset} struct to work with token standards.
Parameters
Name
Type
Description
addr
address
is the address of the token asset.
tokenId
uint120
is the ID of the ERC1155 token.
tokenAmount
uint120
is the amount of the ERC1155 token.
Last updated