web3wagmi
← All standards

ERC-6506 P2P Escrowed Governance Incentives

StagnantERCcreated 2023-02-15

Interface for building contracts that escrow funds based on an account taking action in a DAO

Author: Josh Weintraub (@jhweintraub)

ERC-165 interface ids

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

IEscrowedGovIncentive0x0ffe5c08

Functions this standard introduces (7)

0x18209be6beginDispute(bytes32,bytes)payable
0x5e67376aclaimIncentive(bytes32,bytes,address)
0x6bbbf0d4incentivize(bytes32,bytes)payable
0xebf33c59modifyClaimer(address,bool)
0xd03c2e8freclaimIncentive(bytes32,bytes)
0xc4e223a6resolveDispute(bytes32,bytes)
0xdd2f3120verifyVote(bytes32,bytes)view

Events (7)

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

0x1aea31ceb40fd871aa027ccf0520bbecfc46fc89fede78a92d3fb2a972c7934aincentiveSent(address,address,uint256,address,bytes)
0x6700b4fe30ad120e12e47bd0cf2a40adf4db157c1b05d16ed89e804f5f7e7847incentiveReclaimed(address,address,address,uint256,bytes)
0xe5701a22a7e23f92eb507de5b1d4f27497ed6705f2465b220ad3fd581d632d16modifiedClaimer(address,address,bool)
0xa5b90c749cf3e072d33455edd09c34bf0a4e9f0e0a8707fd9b9cbf886107dddaincentiveClaimed(address,address,bytes32,bytes)
0xc0a6d43d241b8deedc3c9a63a4db874961b8ef5594bcb729f7a207704a38f8d9disputeInitiated(bytes32,address,address)
0xc0269b1c0bcf10101d65bc7efe64de72dc3e3f96200188fd465c25a4e1c84cc4disputeResolved(bytes32,address,address,bool)
0xf01ec878812a0721fbf7919a386b721d05eee644e0d5d6fe7ff5f6343f3da4a5incentiveReclaimed(address,address,bytes32,bytes)

What the specification covers

Compare with

Parsed from the canonical specification · discussion