web3wagmi
← All standards

ERC-7770 Fractional Reserve Token

DraftERCcreated 2024-09-17requires ERC-20

An interface for tokens that maintain a peg to an underlying token while being only partially redeemable to this token.

Author: Yaron Velner (@yaronvel)

ERC-165 interface ids

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

IERCXXX0xdd2269ae

Functions this standard introduces (6)

0xc230067efractionalReserveBurn(address,uint256)
0xb6aa1530fractionalReserveMint(address,uint256)
0xa7466afdrequiredReserveRatio()view
0x7cff8e4csegregatedAccount(address)view
0x00abb0f0totalBorrowedSupply()view
0x72aa2ea1totalSegregatedSupply()view

Inherited (9)

0xdd62ed3eallowance(address,address)ERC-20
0x095ea7b3approve(address,uint256)ERC-20
0x70a08231balanceOf(address)ERC-20
0x313ce567decimals()ERC-20
0x06fdde03name()ERC-20
0x95d89b41symbol()ERC-20
0x18160dddtotalSupply()ERC-20
0xa9059cbbtransfer(address,uint256)ERC-20
0x23b872ddtransferFrom(address,address,uint256)ERC-20

Events (3)

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

0x18a63fcbe58fb303dd209f131a55f2cc5913e110de780f7351a32070160f7f2cMintFractionalReserve(address,address,uint256)
0xd9de57f9e9c74c65a34a3304f70b5fad220009da1bbb7a147fe4aa983b42f03aBurnFractionalReserve(address,address,uint256)
0xbd5b3992abd09f26f746d5d892ec86bcdeeb2c2bd2f3e971c087e54c2d9b5297SetSegregatedAccount(address,bool)

Depends on (1)

Proposals this one names in its requires field.

What the specification covers

Compare with

Parsed from the canonical specification · discussion