web3wagmi
← All standards

ERC-8017 Payout Race

DraftERCcreated 2025-08-31requires ERC-20

Minimal ERC for a single-asset payout bucket that vends its entire balance for a fixed payment amount.

Author: Kyle Thornton (@kyle)

ERC-165 interface ids

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

IPayoutRace0x9be65236

Functions this standard introduces (7)

0x7208c38fdesiredAsset()view
0x1ce052a4paymentSink()view
0x3eac5251payoutAsset()view
0x25b31a97purchase(address)payable
0x3cdc717frequiredPayment()view
0x3ef0da9bsetPaymentSink(address)
0xec3d203fsetRequiredPayment(uint256)

Events (3)

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

0xa326259ec721617acd3cb2a00bcbeac91eefe409880e49aa2bbf473ed648da49Purchased(address,address,uint256,uint256)
0x4a7dce0a8fc4d35dce87cbbe460d173967f6add31fb18c4bceb39832e6ef8fbaPaymentConfigUpdated(address,uint256,address)
0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0OwnershipTransferred(address,address)

Depends on (1)

Proposals this one names in its requires field.

What the specification covers

Compare with

Parsed from the canonical specification · discussion