Documentation
¶
Overview ¶
Package changesets provides reusable LINK token changesets.
Index ¶
- func DeployLinkToken(e cldf.Environment, chains []uint64) (cldf.ChangesetOutput, error)
- func DeploySolanaLinkToken(e cldf.Environment, cfg DeploySolanaLinkTokenConfig) (cldf.ChangesetOutput, error)
- func DeployStaticLinkToken(e cldf.Environment, chains []uint64) (cldf.ChangesetOutput, error)
- type DeploySolanaLinkTokenConfig
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DeployLinkToken ¶
func DeployLinkToken(e cldf.Environment, chains []uint64) (cldf.ChangesetOutput, error)
DeployLinkToken deploys a link token contract to the chain identified by the ChainSelector.
func DeploySolanaLinkToken ¶
func DeploySolanaLinkToken(e cldf.Environment, cfg DeploySolanaLinkTokenConfig) (cldf.ChangesetOutput, error)
func DeployStaticLinkToken ¶
func DeployStaticLinkToken(e cldf.Environment, chains []uint64) (cldf.ChangesetOutput, error)
DeployStaticLinkToken deploys a static link token contract to the chain identified by the ChainSelector.
Types ¶
type DeploySolanaLinkTokenConfig ¶
type DeploySolanaLinkTokenConfig struct {
ChainSelector uint64
TokenPrivKey solana.PrivateKey
TokenDecimals uint8
}
Click to show internal directories.
Click to hide internal directories.