Skip to content

Commit 721c1ce

Browse files
authored
feat: add TonMCMSChainState (#983)
Adding the `TonMCMSChainState` from chainlink-ton to prevent importing `chainlink-ton` into the repo so `cld-changesets` can use this type in it's helpers.
1 parent 4da8eba commit 721c1ce

2 files changed

Lines changed: 12 additions & 0 deletions

File tree

.changeset/petite-knives-stop.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"chainlink-deployments-framework": minor
3+
---
4+
5+
add TonMCMSChainState type

engine/cld/mcms/proposalutils/timelock_config.go

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,13 @@ type SolanaMCMSWithTimelock interface {
2828
TimelockPrograms() MCMSWithTimelockPrograms
2929
}
3030

31+
// TonMCMSChainState holds a Go binding for all the currently deployed MCMS contracts
32+
// on a TON chain, indexed by qualifier. If a binding is nil, it means there is no such
33+
// MCMS suite contracts on the chain for that qualifier.
34+
type TonMCMSChainState struct {
35+
ByQualifier map[string]*TonMCMSSuiteState
36+
}
37+
3138
// TonMCMSSuiteState holds the state of a single MCMS deployment - currently includes all contract addresses.
3239
type TonMCMSSuiteState struct {
3340
// 3x MCMS contracts, each gets a role in the timelock

0 commit comments

Comments
 (0)