web3wagmi
← All standards

ERC-7527 Token Bound Function Oracle AMM

DraftERCcreated 2023-09-03requires ERC-165, ERC-721

Interfaces that wrap FT to NFT and unwrap NFT to FT based on an embedded Function Oracle AMM

Authors: Elaine Zhang (@lanyinzly), Jerry, Amandafanny, Shouhao Wong (@wangshouh), 0xPoet

ERC-165 interface ids

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

IERC7527Agency0x6808aeb8
IERC7527App0x8355738e

Functions this standard introduces (13)

0xfe9d9303burn(uint256,bytes)
0x7284e416description()view
0xb4f35b9agetAgency()view
0x4c0f38c2getMaxSupply()view
0x6b8ff574getName(uint256)view
0x07da0603getStrategy()view
0x8e1f1447getUnwrapOracle(bytes)view
0x46992736getWrapOracle(bytes)view
0x62189dfdiconstructor()
0xb510391fmint(address,bytes)
0x39b3d243setAgency(address)
0x3c6e2f22unwrap(address,uint256,bytes)payable
0x8ba6cd03wrap(address,bytes)payable

Events (2)

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

0x53c6313aa0cdb420b390a846db25405b96983737e602bba548f9ade0e4feaec9Wrap(address,uint256,uint256,uint256)
0x6f3909b7a53c87de0fbb65758a177c9d1137e29b1555684084e2e4161b064b2bUnwrap(address,uint256,uint256,uint256)

Depends on (2)

Proposals this one names in its requires field.

What the specification covers

Compare with

Parsed from the canonical specification · discussion