Documentation
¶
Overview ¶
Package changesets provides reusable MCMS changesets.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AmountsToTransfer ¶
type FundMCMSignerConfig ¶
type FundMCMSignerConfig struct {
AmountsPerChain map[uint64]AmountsToTransfer
}
type FundMCMSignersChangeset ¶
type FundMCMSignersChangeset struct{}
FundMCMSignersChangeset is a changeset that funds the MCMS signers on each chain. It will find the signer PDA for the proposer, canceller and bypasser MCM as well as the timelock signer PDA and send the amount of SOL specified in the config to each of them.
func (FundMCMSignersChangeset) Apply ¶
func (f FundMCMSignersChangeset) Apply(e cldf.Environment, config FundMCMSignerConfig) (cldf.ChangesetOutput, error)
Apply funds the MCMS signers on each chain.
func (FundMCMSignersChangeset) VerifyPreconditions ¶
func (f FundMCMSignersChangeset) VerifyPreconditions(e cldf.Environment, config FundMCMSignerConfig) error
VerifyPreconditions checks if the deployer has enough SOL to fund the MCMS signers on each chain.
Click to show internal directories.
Click to hide internal directories.