Tokens: ERC-20 and NFTs
How to make an ERC-20 or ERC-721 token contract that will work with on-chain governance.
Event signatures
event DelegateVotesChanged(
address indexed delegate,
uint previousBalance,
uint newBalance
);
event DelegateChanged(
address indexed delegator,
address indexed fromDelegate,
address indexed toDelegate
);ERC20:
event Transfer(
address indexed from,
address indexed to,
uint256 amount
);
ERC721:
Function signatures
Name
Symbol
Decimals
Last updated
Was this helpful?

