Approving a Proposal
Only members of the proposal quorum can approve it.
Signing
Obtain your signature by signing the Proposal's id (EIP-712 typed-data hash).
Ethers
const signature = ethers.utils.joinSignature(wallet._signingKey().signDigest(proposal.id));
Execution
Once all members of the quorum have approved the proposal it will be executed.
It is recommended that you subscribe to the proposal if you need the execution response.
Example
Schema
No description
propose(
account: Address!
quorumKey: QuorumKey
to: Address!
value: Uint256
data: Bytes
salt: Bytes8
gasLimit: Uint256
signature: Bytes
): Proposal!
Arguments
propose.account ● Address! non-null scalar
propose.quorumKey ● QuorumKey scalar
Defaults to quorum with the least amount of approvers, followed by the lowest id (by lexical comparison)
propose.to ● Address! non-null scalar
propose.value ● Uint256 scalar
propose.data ● Bytes scalar
propose.salt ● Bytes8 scalar
propose.gasLimit ● Uint256 scalar
propose.signature ● Bytes scalar
Approve the proposal