Skip to content

Commit

Permalink
Feat: Add multichain info to action
Browse files Browse the repository at this point in the history
Add multichain info to action
Update block ingestor hash and add MULTI_CHAIN_BRIDGE_ENDPOINT var
Upgrade colony packages version
  • Loading branch information
bassgeta authored and mmioana committed Dec 11, 2024
1 parent 8a58edc commit 4c26eff
Show file tree
Hide file tree
Showing 29 changed files with 435 additions and 335 deletions.
26 changes: 22 additions & 4 deletions amplify/backend/api/colonycdapp/schema/schema.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -898,6 +898,10 @@ enum ColonyActionType {
MANAGE_TOKENS
MANAGE_TOKENS_MOTION
MANAGE_TOKENS_MULTISIG
"""
An action related to creating a proxy colony
"""
ADD_PROXY_COLONY
}

"""
Expand Down Expand Up @@ -3513,6 +3517,22 @@ type ColonyAction @model @searchable {
Ids of the staged payment slots released by the action, if any
"""
expenditureSlotIds: [Int!]
"""
Multichain info if the action is bridged"
"""
multiChainInfo: MultiChainInfo
}

type MultiChainInfo {
targetChainId: Int!
completed: Boolean!
wormholeInfo: ActionWormholeInfo
}

type ActionWormholeInfo {
emitterChainId: Int
emitterAddress: String!
sequence: String!
}

"""
Expand Down Expand Up @@ -3792,10 +3812,8 @@ type IngestorStats @model {
"""
The chain id the stats are generated on
"""
chainId: String! @index(
name: "byChainId"
queryField: "getIngestorStatsByChainId"
)
chainId: String!
@index(name: "byChainId", queryField: "getIngestorStatsByChainId")
"""
JSON string to pass custom, dynamic values
"""
Expand Down
38 changes: 21 additions & 17 deletions amplify/backend/function/cacheDomainBalance/src/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"@types/aws-lambda": "^8.10.92"
},
"dependencies": {
"@colony/colony-js": "^8.0.0-next.0",
"@colony/colony-js": "^8.0.0-next.1",
"@colony/events": "^0.0.0-snapshot-20240329154314",
"cross-fetch": "^4.0.0",
"date-fns": "^3.6.0"
Expand Down
70 changes: 37 additions & 33 deletions amplify/backend/function/fetchColonyBalances/src/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"@types/aws-lambda": "^8.10.92"
},
"dependencies": {
"@colony/colony-js": "^8.0.0-next.0",
"@colony/colony-js": "^8.0.0-next.1",
"@colony/events": "3.0.0",
"cross-fetch": "^4.0.0",
"ethers": "^5.7.2"
Expand Down
40 changes: 22 additions & 18 deletions amplify/backend/function/fetchDomainBalance/src/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"@types/aws-lambda": "^8.10.92"
},
"dependencies": {
"@colony/colony-js": "^8.0.0-next.0",
"@colony/colony-js": "^8.0.0-next.1",
"@colony/events": "3.0.0",
"cross-fetch": "^4.0.0",
"date-fns": "^3.6.0",
Expand Down
Loading

0 comments on commit 4c26eff

Please sign in to comment.