web3wagmi
← All standards

ERC-2746 Rules Engine Standard

StagnantERCcreated 2020-06-20

Authors: Aaron Kendall (@jaerith), Juan Blanco (@juanfranblanco)

ERC-165 interface ids

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

ERCRulesEngine0xd9e2787f

Functions this standard introduces (9)

0x2732e738addAttribute(bytes32,uint256,uint256,string,bool,bool)
0x00f73d88addRule(address,bytes32,bytes32,bytes32,uint256,string,bool)
0x99fcba0caddRuleSet(address,bytes32,string,bytes32,bool,bool,bool)
0x600d4cedaddRuleTree(address,bytes32,string)
0x6442c6acexecuteRuleTree(address)
0xc661aa0agetRuleProps(address,bytes32,uint256)
0xcaac5dd6getRuleSetProps(address,bytes32)
0x96bde0bcgetRuleTreeProps(address)
0xf9e485e2removeRuleTree(address)

Events (4)

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

0xdee4bc9cfe59fe233e57fa1d1615eac4e50de376c2b9a7b2474093666fdaa7d0CallRuleTree(address)
0x2c253e8411bbcd4e6aee576eb8aa3dc872c8f9fe65eb058d8e5d45a2455a1923CallRuleSet(address,bytes32)
0xad073e0c41769f32492846118000585aa242dd9184488be9ab5b74e077e30830CallRule(address,bytes32,bytes32,uint256)
0x0e0a85d233e12863a3f97126ba72e98f213470dbd48a8513b2d35b5d5d56f9fcRuleSetError(address,bytes32,bool)

What the specification covers

Compare with

Parsed from the canonical specification · discussion