Delegate
Delegate votes from the sender to the delegatee. Users can delegate to 1 address at a time, and the number of votes added to the delegateeβs vote count is equivalent to the balance of STRK in the userβs account. Votes are delegated from the current block and onward, until the sender delegates again, or transfers their STRK.
STRK
delegatee
: The address in which the sender wishes to delegate their votes to.msg.sender
: The address of the STRK token holder that is attempting to delegate their votes.RETURN
: No return, reverts on error.
Solidity
Web3 1.2.6
Last updated