Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions amplify/backend/api/colonycdapp/schema/schema.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -3006,6 +3006,12 @@ type ColonyMotion @model {
the details of tokens and amounts to be funded
"""
expenditureFunding: [ExpenditureFundingItem!]

"""
In case of motions cancelling a staked expenditure, boolean indicating
whether the expenditure staker will be punished by losing their stake
"""
willPunishExpenditureStaker: Boolean
}

type ExpenditureFundingItem {
Expand Down
2 changes: 1 addition & 1 deletion docker/colony-cdapp-dev-env-block-ingestor
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
FROM colony-cdapp-dev-env/base:latest

ENV BLOCK_INGESTOR_HASH=cf932537459fb5e799cc9fa4c373636777f624ce
ENV BLOCK_INGESTOR_HASH=017cb82f9b80c1058dbf077c9a7712828b09c0de

# Declare volumes to set up metadata
VOLUME [ "/colonyCDapp/amplify/mock-data" ]
Expand Down
10 changes: 10 additions & 0 deletions src/graphql/generated.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1120,6 +1120,11 @@ export type ColonyMotion = {
/** A list of all of the votes cast within in the motion */
voterRecord: Array<VoterRecord>;
voterRewards?: Maybe<ModelVoterRewardsHistoryConnection>;
/**
* In case of motions cancelling a staked expenditure, boolean indicating
* whether the expenditure staker will be punished by losing their stake
*/
willPunishExpenditureStaker?: Maybe<Scalars['Boolean']>;
};


Expand Down Expand Up @@ -1605,6 +1610,7 @@ export type CreateColonyMotionInput = {
userMinStake: Scalars['String'];
usersStakes: Array<UserMotionStakesInput>;
voterRecord: Array<VoterRecordInput>;
willPunishExpenditureStaker?: InputMaybe<Scalars['Boolean']>;
};

export type CreateColonyMultiSigInput = {
Expand Down Expand Up @@ -3261,6 +3267,7 @@ export type ModelColonyMotionConditionInput = {
skillRep?: InputMaybe<ModelStringInput>;
transactionHash?: InputMaybe<ModelIdInput>;
userMinStake?: InputMaybe<ModelStringInput>;
willPunishExpenditureStaker?: InputMaybe<ModelBooleanInput>;
};

export type ModelColonyMotionConnection = {
Expand Down Expand Up @@ -3290,6 +3297,7 @@ export type ModelColonyMotionFilterInput = {
skillRep?: InputMaybe<ModelStringInput>;
transactionHash?: InputMaybe<ModelIdInput>;
userMinStake?: InputMaybe<ModelStringInput>;
willPunishExpenditureStaker?: InputMaybe<ModelBooleanInput>;
};

export type ModelColonyMultiSigConditionInput = {
Expand Down Expand Up @@ -4371,6 +4379,7 @@ export type ModelSubscriptionColonyMotionFilterInput = {
skillRep?: InputMaybe<ModelSubscriptionStringInput>;
transactionHash?: InputMaybe<ModelSubscriptionIdInput>;
userMinStake?: InputMaybe<ModelSubscriptionStringInput>;
willPunishExpenditureStaker?: InputMaybe<ModelSubscriptionBooleanInput>;
};

export type ModelSubscriptionColonyMultiSigFilterInput = {
Expand Down Expand Up @@ -9651,6 +9660,7 @@ export type UpdateColonyMotionInput = {
userMinStake?: InputMaybe<Scalars['String']>;
usersStakes?: InputMaybe<Array<UserMotionStakesInput>>;
voterRecord?: InputMaybe<Array<VoterRecordInput>>;
willPunishExpenditureStaker?: InputMaybe<Scalars['Boolean']>;
};

export type UpdateColonyMultiSigInput = {
Expand Down