Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Version1_6_0 = *semver.MustParse("1.6.0") // Core contracts LinkToken ds.ContractType = "LinkToken" Router ds.ContractType = "Router" OnRamp ds.ContractType = "OnRamp" OffRamp ds.ContractType = "OffRamp" FeeQuoter ds.ContractType = "FeeQuoter" MCMS ds.ContractType = "MCMS" // Internal contracts Deployer ds.ContractType = "Deployer" MerkleRoot ds.ContractType = "MerkleRoot" SendExecutor ds.ContractType = "SendExecutor" ReceiveExecutor ds.ContractType = "ReceiveExecutor" // Utilities Timelock ds.ContractType = "Timelock" TonReceiver ds.ContractType = "Receiver" Counter ds.ContractType = "Counter" )
Duplicates of chainlink/deployment/ccip/ to avoid import loops
Functions ¶
func LoadMCMSOnChainState ¶
func LoadMCMSOnChainState(e cldf.Environment) (map[uint64]MCMSChainState, error)
TODO refactor state management for different protocol NONEVM-3181
func LoadOnchainState ¶
func LoadOnchainState(e cldf.Environment) (map[uint64]CCIPChainState, error)
Types ¶
type CCIPChainState ¶
type CCIPChainState struct {
LinkTokenAddress address.Address
OffRamp address.Address
Router address.Address
OnRamp address.Address
FeeQuoter address.Address
ReceiverAddress address.Address
}
CCIPChainState holds a Go binding for all the currently deployed CCIP contracts on a chain. If a binding is nil, it means there is no such contract on the chain.
func LoadCCIPOnChainStateUsingDataStore ¶
func LoadCCIPOnChainStateUsingDataStore(dataStore ds.DataStore, chainSelector uint64) (CCIPChainState, error)
func (CCIPChainState) GenerateView ¶
func (s CCIPChainState) GenerateView(e *cldf.Environment, selector uint64, chainID string) (TONChainView, error)
type MCMSChainState ¶
MCMSChainState holds a Go binding for all the currently deployed MCMS contracts on a chain. If a binding is nil, it means there is no such contract on the chain.
func LoadMCMSOnChainStateUsingDataStore ¶
func LoadMCMSOnChainStateUsingDataStore(dataStore ds.DataStore, chainSelector uint64) (MCMSChainState, error)
type TONChainView ¶
type TONChainView struct {
ChainSelector uint64 `json:"chainSelector,omitempty"`
ChainID string `json:"chainID,omitempty"`
OnRamp map[string]onramp.View `json:"onRamp,omitempty"`
Router map[string]router.View `json:"router,omitempty"`
FeeQuoter map[string]feequoter.View `json:"feeQuoter,omitempty"`
OffRamp map[string]offramp.View `json:"offRamp,omitempty"`
}
Click to show internal directories.
Click to hide internal directories.