Delegate By Sig
Delegate voting rights in Onyx Governance using an EIP-712 signature.
_address
(string) The address to delegate the user's voting rights to.nonce
(number) The contract state required to match the signature. This can be retrieved from the XCN contract's public nonces mapping.expiry
(number) The time at which to expire the signature. A block timestamp as seconds since the unix epoch.signature
(object) An object that contains thev
,r
, and,s
values of an EIP-712 signature.[options]
(CallOptions) Options to set foreth_call
, optional ABI (as JSON object), and Ethers.js method overrides. The ABI can be a string of the single intended method, an array of many methods, or a JSON object of the ABI generated by a Solidity compiler.RETURN
(object) Returns an Ethers.js transaction object of the vote transaction.
Last updated