Documentation
¶
Index ¶
- func FindAptosAddress(tv cldf.TypeAndVersion, addresses map[string]cldf.TypeAndVersion) aptos.AccountAddress
- func GetOfframpDynamicConfig(c cldf_aptos.Chain, ccipAddress aptos.AccountAddress) (module_offramp.DynamicConfig, error)
- func LoadOnchainState(env cldf.Environment) (map[uint64]CCIPChainState, error)
- type CCIPChainState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FindAptosAddress ¶
func FindAptosAddress(tv cldf.TypeAndVersion, addresses map[string]cldf.TypeAndVersion) aptos.AccountAddress
func GetOfframpDynamicConfig ¶
func GetOfframpDynamicConfig(c cldf_aptos.Chain, ccipAddress aptos.AccountAddress) (module_offramp.DynamicConfig, error)
func LoadOnchainState ¶
func LoadOnchainState(env cldf.Environment) (map[uint64]CCIPChainState, error)
LoadOnchainState loads chain state for Aptos chains from env
Types ¶
type CCIPChainState ¶
type CCIPChainState struct {
MCMSAddress aptos.AccountAddress
CurseMCMSAddress aptos.AccountAddress
CCIPAddress aptos.AccountAddress
LinkTokenAddress aptos.AccountAddress
ManagedTokens map[shared.TokenSymbol]aptos.AccountAddress
AptosManagedTokenPools map[aptos.AccountAddress]aptos.AccountAddress // TokenAddress -> TokenPoolAddress
RegulatedTokenPools map[aptos.AccountAddress]aptos.AccountAddress // TokenAddress -> TokenPoolAddress
BurnMintTokenPools map[aptos.AccountAddress]aptos.AccountAddress // TokenAddress -> TokenPoolAddress
LockReleaseTokenPools map[aptos.AccountAddress]aptos.AccountAddress // TokenAddress -> TokenPoolAddress
// Test contracts
TestRouterAddress aptos.AccountAddress
ReceiverAddress aptos.AccountAddress
}
func (CCIPChainState) GenerateView ¶
func (s CCIPChainState) GenerateView(e *cldf.Environment, selector uint64, chainName string) (aptosview.AptosChainView, error)
Click to show internal directories.
Click to hide internal directories.