web3wagmi
← All standards

ERC-5700 Bindable Token Interface

DraftERCcreated 2022-09-22requires ERC-165, ERC-721, ERC-1155

Interface for binding fungible and non-fungible tokens to assets.

Author: Leeren (@leeren)

ERC-165 interface ids

Computed here as the XOR of the selectors each interface defines.

IERC1155Bindable0xc6f44642
The spec asserts 0xd0d555c6 for IERC1155Bindable, which its own interface does not produce.

Matches no subset, no parent combination and no drafted variant. The corresponding prose literal 0xd0d55c6 is only 7 hex digits, so it is not a valid bytes4.

Functions this standard introduces (10)

0x7d6053e0batchBind(address,address,uint256,uint256[],uint256[])
0x2813a55ebatchUnbind(address,address,address,uint256,uint256[],uint256[])
0x552b1c2fbind(address,address,uint256,uint256,uint256)
0xc8a829f5bind(address,address,uint256,uint256)
0xbf15d0b8binderOf(uint256)view
0x89b3bf25boundBalanceOf(address,uint256,uint256)view
0x3771b33fboundBalanceOf(address,uint256)view
0x99ef52a3boundBalanceOfBatch(address,uint256[],uint256[])view
0xd6f04155unbind(address,address,address,uint256,uint256,uint256)
0x514c2f31unbind(address,address,address,uint256,uint256)

Inherited (14)

0x095ea7b3approve(address,uint256)ERC-721
0x00fdd58ebalanceOf(address,uint256)ERC-1155
0x70a08231balanceOf(address)ERC-721
0x4e1273f4balanceOfBatch(address[],uint256[])ERC-1155
0x081812fcgetApproved(uint256)ERC-721
0xe985e9c5isApprovedForAll(address,address)ERC-721
0x6352211eownerOf(uint256)ERC-721
0x2eb2c2d6safeBatchTransferFrom(address,address,uint256[],uint256[],bytes)ERC-1155
0xb88d4fdesafeTransferFrom(address,address,uint256,bytes)ERC-721
0xf242432asafeTransferFrom(address,address,uint256,uint256,bytes)ERC-1155
0x42842e0esafeTransferFrom(address,address,uint256)ERC-721
0xa22cb465setApprovalForAll(address,bool)ERC-721
0x01ffc9a7supportsInterface(bytes4)ERC-165
0x23b872ddtransferFrom(address,address,uint256)ERC-721

Events (6)

Topic0 is the keccak256 hash of the signature, which is what a log filter matches on.

0x9d3c5114a471a179a1a06f8a1a2d2fdb1ccb78449f60fe2f648f78ac8d01de60Bind(address,address,address,uint256,uint256)
0x6d95a410e32bc688e83727cc82a963fdca3d314cb3df8ded434f668a6046dd3bUnbind(address,address,address,address,uint256,uint256)
0x1876df584d46ac4cdd60cbc681c3b4251623d0d05f066c56336e5a72b2d5eda4Bind(address,address,address,uint256,uint256,uint256)
0xfd42bedddfcbba5e467ae02c9d4122298812531b64ca56bbdbd04d9234042c61BindBatch(address,address,address,uint256,uint256[],uint256[])
0x94c7df74df82fe5bddac2793546535b64797bdf6349c190c2aafd8b26b3e2787Unbind(address,address,address,address,uint256,uint256,uint256)
0xdbab0f35dd3bcdb3b878e3cd6ca364e2e8b1ab438b0de344dc9f4772a8b3bfd6UnbindBatch(address,address,address,address,uint256,uint256[],uint256[])

Depends on (3)

Proposals this one names in its requires field.

What the specification covers

Compare with

Parsed from the canonical specification · discussion