Expand description
Static TRC721 ABI bindings and encode/decode helpers.
TRC721 ABI bindings and (optionally) the provider-bound [Trc721Instance].
TRC721 is byte-for-byte compatible with the EVM ERC721 ABI, so the
interface and all call/return codecs are generated by alloy’s
sol! macro.
Modules§
- ITRC721
- Module containing a contract’s types and functions.
Functions§
- decode_
address_ return - Decode the
addressreturned byownerOf/getApproved. - decode_
bool_ return - Decode the
boolreturned byisApprovedForAll. - decode_
string_ return - Decode the
stringreturned byname/symbol/tokenURI. - decode_
uint256_ return - Decode the
uint256returned bybalanceOf. - encode_
approve - ABI-encode the
approve(to, tokenId)call. - encode_
balance_ of - ABI-encode the
balanceOf(owner)constant call. - encode_
owner_ of - ABI-encode the
ownerOf(tokenId)constant call. - encode_
safe_ transfer_ from - ABI-encode the
safeTransferFrom(from, to, tokenId)call (no data). - encode_
transfer_ from - ABI-encode the
transferFrom(from, to, tokenId)call.