diff --git a/src/client/DAOClient.ts b/src/client/DAOClient.ts index 04284e2..5e1f36a 100644 --- a/src/client/DAOClient.ts +++ b/src/client/DAOClient.ts @@ -381,6 +381,7 @@ class DAOClient implements zDAO { snapshot: Number(proposal.snapshot), scores: proposal.scores, votes: proposal.votes, + quorum: proposal.quorum, }, { strategies: this.options.strategies, diff --git a/src/snapshot-io/index.ts b/src/snapshot-io/index.ts index dd59745..b5bcb31 100644 --- a/src/snapshot-io/index.ts +++ b/src/snapshot-io/index.ts @@ -356,6 +356,7 @@ class SnapshotClient { snapshot: Number(response.snapshot), scores: response.scores, votes: response.votes, + quorum: response.quorum, }; return proposal; diff --git a/src/snapshot-io/types.ts b/src/snapshot-io/types.ts index ea90b2f..58f519f 100644 --- a/src/snapshot-io/types.ts +++ b/src/snapshot-io/types.ts @@ -98,6 +98,7 @@ export interface SnapshotProposal { snapshot: number; // snapshot block number scores: number[]; // scores per all the choices votes: number; // number of voters + quorum?: number; } export interface SnapshotProposalResponse { diff --git a/src/types/structures.ts b/src/types/structures.ts index de0f718..ac350d1 100644 --- a/src/types/structures.ts +++ b/src/types/structures.ts @@ -153,4 +153,5 @@ export interface ProposalProperties { scores: number[]; // scores per all the choices votes: number; // number of voters metadata?: TokenMetaData; // token meta data is stored in ipfs + quorum?: number; }