Proposal
A governance object in a DAO space carrying an edit awaiting member approval. Proposals progress through propose → vote → tally → execute.
type Proposal implements Node {
nodeId: ID!
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!
space: Space
proposalActionsConnection(
first: Int
last: Int
offset: Int
before: Cursor
after: Cursor
orderBy: [ProposalActionsOrderBy!] = [PRIMARY_KEY_ASC]
condition: ProposalActionCondition
filter: ProposalActionFilter
): ProposalActionsConnection!
proposalActions(
first: Int
offset: Int
orderBy: [ProposalActionsOrderBy!]
condition: ProposalActionCondition
filter: ProposalActionFilter
): [ProposalAction!]!
proposalVotesConnection(
first: Int
last: Int
offset: Int
before: Cursor
after: Cursor
orderBy: [ProposalVotesOrderBy!] = [PRIMARY_KEY_ASC]
condition: ProposalVoteCondition
filter: ProposalVoteFilter
): ProposalVotesConnection!
proposalVotes(
first: Int
offset: Int
orderBy: [ProposalVotesOrderBy!]
condition: ProposalVoteCondition
filter: ProposalVoteFilter
): [ProposalVote!]!
proposalTallyQueue: ProposalTallyQueue
proposalTallyQueuesConnection(
first: Int
last: Int
offset: Int
before: Cursor
after: Cursor
orderBy: [ProposalTallyQueuesOrderBy!] = [PRIMARY_KEY_ASC]
condition: ProposalTallyQueueCondition
filter: ProposalTallyQueueFilter
): ProposalTallyQueuesConnection! @deprecated
}
Fields
Proposal.nodeId ● ID! non-null scalar
A globally unique identifier. Can be used in various places throughout the system to identify this single value.
Proposal.id ● UUID! non-null scalar
Proposal.spaceId ● UUID! non-null scalar
Proposal.proposedBy ● UUID! non-null scalar
Proposal.votingMode ● VotingMode! non-null enum
Proposal.startTime ● BigInt! non-null scalar
Proposal.endTime ● BigInt! non-null scalar
Proposal.quorum ● BigInt! non-null scalar
Proposal.threshold ● BigInt! non-null scalar
Proposal.executedAt ● BigInt scalar
Proposal.createdAt ● String! non-null scalar
Proposal.createdAtBlock ● String! non-null scalar
Proposal.name ● String scalar
Proposal.yesCount ● BigInt! non-null scalar
Proposal.noCount ● BigInt! non-null scalar
Proposal.abstainCount ● BigInt! non-null scalar
Proposal.space ● Space object
Reads a single Space that is related to this Proposal.
Proposal.proposalActionsConnection ● ProposalActionsConnection! non-null object
Reads and enables pagination through a set of ProposalAction.
Proposal.proposalActionsConnection.first ● Int scalar
Only read the first n values of the set.
Proposal.proposalActionsConnection.last ● Int scalar
Only read the last n values of the set.
Proposal.proposalActionsConnection.offset ● Int scalar
Skip the first n values from our after cursor, an alternative to cursor
based pagination. May not be used with last.
Proposal.proposalActionsConnection.before ● Cursor scalar
Read all values in the set before (above) this cursor.
Proposal.proposalActionsConnection.after ● Cursor scalar
Read all values in the set after (below) this cursor.
Proposal.proposalActionsConnection.orderBy ● [ProposalActionsOrderBy!] list enum
The method to use when ordering ProposalAction.
Proposal.proposalActionsConnection.condition ● ProposalActionCondition input
A condition to be used in determining which values should be returned by the collection.
Proposal.proposalActionsConnection.filter ● ProposalActionFilter input
A filter to be used in determining which values should be returned by the collection.
Proposal.proposalActions ● [ProposalAction!]! non-null object
Reads and enables pagination through a set of ProposalAction.
Proposal.proposalActions.first ● Int scalar
Only read the first n values of the set.
Proposal.proposalActions.offset ● Int scalar
Skip the first n values.
Proposal.proposalActions.orderBy ● [ProposalActionsOrderBy!] list enum
The method to use when ordering ProposalAction.
Proposal.proposalActions.condition ● ProposalActionCondition input
A condition to be used in determining which values should be returned by the collection.
Proposal.proposalActions.filter ● ProposalActionFilter input
A filter to be used in determining which values should be returned by the collection.
Proposal.proposalVotesConnection ● ProposalVotesConnection! non-null object
Reads and enables pagination through a set of ProposalVote.
Proposal.proposalVotesConnection.first ● Int scalar
Only read the first n values of the set.
Proposal.proposalVotesConnection.last ● Int scalar
Only read the last n values of the set.
Proposal.proposalVotesConnection.offset ● Int scalar
Skip the first n values from our after cursor, an alternative to cursor
based pagination. May not be used with last.
Proposal.proposalVotesConnection.before ● Cursor scalar
Read all values in the set before (above) this cursor.
Proposal.proposalVotesConnection.after ● Cursor scalar
Read all values in the set after (below) this cursor.
Proposal.proposalVotesConnection.orderBy ● [ProposalVotesOrderBy!] list enum
The method to use when ordering ProposalVote.
Proposal.proposalVotesConnection.condition ● ProposalVoteCondition input
A condition to be used in determining which values should be returned by the collection.
Proposal.proposalVotesConnection.filter ● ProposalVoteFilter input
A filter to be used in determining which values should be returned by the collection.
Proposal.proposalVotes ● [ProposalVote!]! non-null object
Reads and enables pagination through a set of ProposalVote.
Proposal.proposalVotes.first ● Int scalar
Only read the first n values of the set.
Proposal.proposalVotes.offset ● Int scalar
Skip the first n values.
Proposal.proposalVotes.orderBy ● [ProposalVotesOrderBy!] list enum
The method to use when ordering ProposalVote.
Proposal.proposalVotes.condition ● ProposalVoteCondition input
A condition to be used in determining which values should be returned by the collection.
Proposal.proposalVotes.filter ● ProposalVoteFilter input
A filter to be used in determining which values should be returned by the collection.
Proposal.proposalTallyQueue ● ProposalTallyQueue object
Reads a single ProposalTallyQueue that is related to this Proposal.
Proposal.proposalTallyQueuesConnection ● ProposalTallyQueuesConnection! deprecated non-null object
Please use proposalTallyQueue instead
Reads and enables pagination through a set of ProposalTallyQueue.
Proposal.proposalTallyQueuesConnection.first ● Int scalar
Only read the first n values of the set.
Proposal.proposalTallyQueuesConnection.last ● Int scalar
Only read the last n values of the set.
Proposal.proposalTallyQueuesConnection.offset ● Int scalar
Skip the first n values from our after cursor, an alternative to cursor
based pagination. May not be used with last.
Proposal.proposalTallyQueuesConnection.before ● Cursor scalar
Read all values in the set before (above) this cursor.
Proposal.proposalTallyQueuesConnection.after ● Cursor scalar
Read all values in the set after (below) this cursor.
Proposal.proposalTallyQueuesConnection.orderBy ● [ProposalTallyQueuesOrderBy!] list enum
The method to use when ordering ProposalTallyQueue.
Proposal.proposalTallyQueuesConnection.condition ● ProposalTallyQueueCondition input
A condition to be used in determining which values should be returned by the collection.
Proposal.proposalTallyQueuesConnection.filter ● ProposalTallyQueueFilter input
A filter to be used in determining which values should be returned by the collection.
Interfaces
Node interface
An object with a globally unique ID.
Returned By
proposal query ● proposalByNodeId query ● proposals query
Member Of
ProposalAction object ● ProposalsConnection object ● ProposalsEdge object ● ProposalTallyQueue object ● ProposalVote object ● Space object
:::tip See also
Cookbook recipes that use this:
:::