Delegate By Signature
Delegate votes from the signatory to the delegatee. This method has the same purpose as Delegate but it instead enables offline signatures to participate in Strike governance vote delegation. For more details on how to create an offline signature, review EIP-712.
STRK
delegatee
: The address in which the sender wishes to delegate their votes to.nonce
: The contract state required to match the signature. This can be retrieved from the contractβs public nonces mapping.expiry
: The time at which to expire the signature. A block timestamp as seconds since the unix epoch (uint).v
: The recovery byte of the signature.r
: Half of the ECDSA signature pair.s
: Half of the ECDSA signature pair.RETURN
: No return, reverts on error.
Solidity
Web3 1.2.6
Last updated