web3wagmi
← All standards

ERC-5732 Commit Interface

FinalERCcreated 2022-09-29requires ERC-165, ERC-1271

A simple but general commit interface to support commit-reveal scheme.

Authors: Zainan Victor Zhou (@xinbenlv), Matt Stam (@mattstam)

ERC-165 interface ids

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

IERC_COMMIT_CORE0xf14fcbc8
IERC_COMMIT_GENERAL0x67b2ec2c

Functions this standard introduces (2)

0xf14fcbc8commit(bytes32)payable
0x67b2ec2ccommitFrom(address,bytes32,bytes)payable

Events (1)

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

0x4d0f6f8ba9d40eb26a440f243716f83b75e46b78ec8436f24142b78765db198aCommit(uint256,address,bytes32,bytes)

Depends on (2)

Proposals this one names in its requires field.

What the specification covers

Compare with

Parsed from the canonical specification · discussion