ERC-7794 Grant Registry
A cross-network registry contract to manage and track grants, enhancing transparency and interoperability for grant programs.
ERC-165 interface ids
Computed here as the XOR of the selectors each interface defines.
| IGrantRegistry | 0xe95024d2 |
Functions this standard introduces (18)
0x8e983784 | addDisbursement(bytes32,uint256,address,uint256) | |
0x9f76246e | addExternalLink(bytes32,string) | |
0x839dc018 | addGrantee(bytes32,address) | |
0x4e3e63ee | addMilestoneDate(bytes32,uint256) | |
0xdb0cdcca | getDisbursement(bytes32,uint256) | view |
0xf0ea3874 | getExternalLinks(bytes32) | view |
0xe483ac04 | getGrant(bytes32) | view |
0xeddad155 | getGrantees(bytes32) | view |
0xb71edc31 | getGrantManager(bytes32) | view |
0xef509b94 | getMilestonesDates(bytes32) | view |
0xf2457890 | registerGrant(uint256,uint256,string,address) | |
0x8487cc5c | removeDisbursement(bytes32,uint256) | |
0x76fdff4d | removeExternalLink(bytes32,uint256) | |
0xc3cc3453 | removeGrantee(bytes32,address) | |
0xb327960d | removeMilestoneDate(bytes32,uint256) | |
0x2294612e | setDisbursementStatus(bytes32,uint256,bool) | |
0xf2f1a9ce | setStartDate(bytes32,uint256) | |
0xef5d6bbb | transferOwnership(bytes32,address) |
Events (12)
Topic0 is the keccak256 hash of the signature, which is what a log filter matches on.
0x26ec4b40fdaee62354a1f56be696663de513a3c9001b5d80ef415ad79710c455 | GrantRegistered(bytes32,uint256,uint256,string,address) | |
0x38e987295c3f08df382dd3a355c603cd120d9a3c709609490247a9a494b60481 | OwnershipTransferred(bytes32,address) | |
0x89fd841e3ebfa4b88756e9a75b49bc6e749b863089fa84b4dfad47bf18530603 | GranteeAdded(bytes32,address) | |
0xa7759d85590713c2995634734923237d503b598a49f13e1658f83a58414a5791 | GranteeRemoved(bytes32,address) | |
0xd6d0e6bdcd1716b54e4903c668d463bba7a7c402b83685ab5807acff3e3b3ac7 | StartDateSet(bytes32,uint256) | |
0xbb827c98d4669564f79a233c2a9fa4065dbd441f76030425b937d195133a9ed7 | MilestoneDateAdded(bytes32,uint256) | |
0x26f7be8efebbaf37e9c4d52f74520e15010330c02bd13616ee88e05c1f1fbcc9 | MilestoneDateRemoved(bytes32,uint256) | |
0xe417804d380ecfec0687f254061a2a52ba3855cd3703278db5c21aa7dc05395d | DisbursementAdded(bytes32,uint256,address,uint256) | |
0x2a05890fcae374ba43539db0fbc32011cd5a5137e394c9185caa54d8498c070b | DisbursementRemoved(bytes32,uint256) | |
0x36ef330aa05b7569674d396bd56ce6aae1ba13a4937e1ed6aaf7ffe881449219 | DisbursementMade(bytes32,uint256,bool) | |
0x214b1e80589551294c247e064121757eb2aa5aac8484cb8c0884e6f33cca7810 | ExternalLinkAdded(bytes32,string) | |
0xb444759b31eaf7181458c0923b96d123e5673bc86a7d9a7f142759dd1cab389b | ExternalLinkRemoved(bytes32,string) |
Custom errors (10)
0x5c7cfeee | InvalidCommunityNameLength() | |
0xada79403 | InvalidGrantManager() | |
0xa1d52291 | GrantAlreadyRegistered() | |
0x1b3ba003 | GranteeAlreadyAdded() | |
0x9df69edf | GranteeNotFound() | |
0x743d3f76 | InvalidExternalLink() | |
0x63df8171 | InvalidIndex() | |
0x0bf784c7 | InvalidStartDate() | |
0x728f2423 | MilestoneDateAlreadyAdded() | |
0x6bf3bfad | MilestoneDateNotFound() |
What the specification covers
Compare with
Parsed from the canonical specification · discussion