DelegateRegistry Contract
Last Update: February 2023
Contract Mapping
// The first key is the delegator and the second key a id.
// The value is the address of the delegate
mapping (address => mapping (bytes32 => address)) public delegation;Contract Events
SetDelegate
// Using these events it is possible to process the events to build up reverse lookups.
// The indeces allow it to be very partial about how to build this lookup (e.g. only for a specific delegate).
event SetDelegate(address indexed delegator, bytes32 indexed id, address indexed delegate);ClearDelegate
Contract Functions
setDelegate()
clearDelegate()
Delegation Walkthrough
Through the Snapshot Interface

The Snapshot interface's delegation page provides a clean and simple way to delegate your voting power.
Through a Block Explorer


The functions on each block explorer reflect those detailed in the Contract Functions section above.
Contracts
More Information
Last updated
Was this helpful?