web3wagmi
← All standards

ERC-7586 Interest Rate Swaps

ReviewERCcreated 2023-12-31requires ERC-20, ERC-165

Interest rate swaps derivative contracts

Author: Samuel Gwlanold Edoumou (@Edoumou)

ERC-165 interface ids

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

IERC75860x86501157

Functions this standard introduces (18)

0x8903c5a2benchmark()view
0xbde7aa47dayCountBasis()view
0xe6746eb7fixedRatePayer()view
0xc15f8bd6fixPaymentDates()view
0x3defe7fffloatingPaymentDates()view
0x92b002fafloatingRatePayer()view
0xd59624b4maturityDate()view
0xa26c1aa2notionalAmount()view
0x1f4f84a6notionalCurrency()view
0x78913592oracleContractsForBenchmark()view
0x823d7cabpaymentAssets()view
0x8e589315paymentFrequency()view
0xe823b1daratesDecimals()view
0x5c25c76cspread()view
0x3e3ff7b6startingDate()view
0x8119c065swap()
0x698518e5swapRate()view
0x442447caterminateSwap()

Inherited (10)

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

Events (2)

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

0x757e61e0d078d58246a59b2ffe29975dc7053b43aa3a163b3b5b43fc1fb0c147Swap(uint256,address)
0x1aa6c8c6f9b0ff26b8661bdc3ce83e7caf565c568af549f21922fa9561363cc2TerminateSwap(address,address)

Depends on (2)

Proposals this one names in its requires field.

What the specification covers

Compare with

Parsed from the canonical specification · discussion