ERC-4931 Generic Token Upgrade Standard
Create a standard interface for upgrading ERC20 token contracts.
Functions this standard introduces (10)
0x37877c74 | computeDowngrade(uint256) | |
0x2f6860ee | computeUpgrade(uint256) | |
0xe0af487a | downgrade(address,uint256) | |
0x5e5212c8 | isDowngradeActive() | |
0x065f02db | isUpgradeActive() | |
0x71ca337d | ratio() | |
0xc752ff62 | totalUpgraded() | |
0xe0622b27 | upgrade(address,uint256) | |
0x04ccf6be | upgradeDestination() | |
0xce7cc129 | upgradeSource() |
Events (2)
Topic0 is the keccak256 hash of the signature, which is what a log filter matches on.
0xef5d04dd883defd05660e617caee3dd12025b0d81e6757fc54dc083a1f513862 | Upgrade(address,address,uint256,uint256) | |
0xf366cea5a63432f1bb195a3186fa8456b4692b09279665402c5ff8a5b334f056 | Downgrade(address,address,uint256,uint256) |
Depends on (1)
Proposals this one names in its requires field.
What the specification covers
Compare with
Parsed from the canonical specification · discussion