Skip to main content

ProposalCondition

A condition to be used against Proposal object types. All fields are tested for equality and combined with a logical ‘and.’

input ProposalCondition {
id: UUID
spaceId: UUID
proposedBy: UUID
votingMode: VotingMode
startTime: BigInt
endTime: BigInt
quorum: BigInt
threshold: BigInt
executedAt: BigInt
createdAt: String
createdAtBlock: String
name: String
yesCount: BigInt
noCount: BigInt
abstainCount: BigInt
}

Fields

ProposalCondition.id ● UUID scalar

Checks for equality with the object’s id field.

ProposalCondition.spaceId ● UUID scalar

Checks for equality with the object’s spaceId field.

ProposalCondition.proposedBy ● UUID scalar

Checks for equality with the object’s proposedBy field.

ProposalCondition.votingMode ● VotingMode enum

Checks for equality with the object’s votingMode field.

ProposalCondition.startTime ● BigInt scalar

Checks for equality with the object’s startTime field.

ProposalCondition.endTime ● BigInt scalar

Checks for equality with the object’s endTime field.

ProposalCondition.quorum ● BigInt scalar

Checks for equality with the object’s quorum field.

ProposalCondition.threshold ● BigInt scalar

Checks for equality with the object’s threshold field.

ProposalCondition.executedAt ● BigInt scalar

Checks for equality with the object’s executedAt field.

ProposalCondition.createdAt ● String scalar

Checks for equality with the object’s createdAt field.

ProposalCondition.createdAtBlock ● String scalar

Checks for equality with the object’s createdAtBlock field.

ProposalCondition.name ● String scalar

Checks for equality with the object’s name field.

ProposalCondition.yesCount ● BigInt scalar

Checks for equality with the object’s yesCount field.

ProposalCondition.noCount ● BigInt scalar

Checks for equality with the object’s noCount field.

ProposalCondition.abstainCount ● BigInt scalar

Checks for equality with the object’s abstainCount field.

Member Of

proposals query ● proposalsConnection query