diff --git a/.changeset/petite-knives-stop.md b/.changeset/petite-knives-stop.md new file mode 100644 index 000000000..c1add112d --- /dev/null +++ b/.changeset/petite-knives-stop.md @@ -0,0 +1,5 @@ +--- +"chainlink-deployments-framework": minor +--- + +add TonMCMSChainState type diff --git a/engine/cld/mcms/proposalutils/timelock_config.go b/engine/cld/mcms/proposalutils/timelock_config.go index 7d554ba8f..d3d4ae203 100644 --- a/engine/cld/mcms/proposalutils/timelock_config.go +++ b/engine/cld/mcms/proposalutils/timelock_config.go @@ -28,6 +28,13 @@ type SolanaMCMSWithTimelock interface { TimelockPrograms() MCMSWithTimelockPrograms } +// TonMCMSChainState holds a Go binding for all the currently deployed MCMS contracts +// on a TON chain, indexed by qualifier. If a binding is nil, it means there is no such +// MCMS suite contracts on the chain for that qualifier. +type TonMCMSChainState struct { + ByQualifier map[string]*TonMCMSSuiteState +} + // TonMCMSSuiteState holds the state of a single MCMS deployment - currently includes all contract addresses. type TonMCMSSuiteState struct { // 3x MCMS contracts, each gets a role in the timelock