Documentation
¶
Overview ¶
Package clients constructs the various RPC / HTTP clients required by the CLI commands.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Bundle ¶
type Bundle struct {
Profile *cfgpkg.NetworkProfile
Config *cfgpkg.UserConfig
Participant canton.Participant
// EDS clients
CCIPEDS oapiCCIP.ClientWithResponsesInterface
CCVEDS oapiCCV.ClientWithResponsesInterface
ExecutorEDS oapiExecutor.ClientWithResponsesInterface
TokenPoolEDS oapiTokenPool.ClientWithResponsesInterface
AmuletTransferClient oapiTransferInstruction.ClientWithResponsesInterface
LinkTransferClient oapiTransferInstruction.ClientWithResponsesInterface
IndexerClient *indexerclient.IndexerClient
// EVM
ETHClient *ethclient.Client
ETHAddress common.Address
EthAuth *bind.TransactOpts
EthChainID *big.Int
// Explorers
CCIPExplorerURL string
EVMExplorerURL string
CantonExplorerURL string
}
Bundle holds every constructed client/handle used by the commands.
func New ¶
func New(ctx context.Context, profile *cfgpkg.NetworkProfile, cfg *cfgpkg.UserConfig) (*Bundle, error)
New builds a Bundle for the given profile + user config.
func (*Bundle) CCIPExplorerLink ¶
func (*Bundle) CantonExplorerLink ¶
func (*Bundle) EVMExplorerLink ¶
Click to show internal directories.
Click to hide internal directories.