Documentation
¶
Overview ¶
Copyright (C) 2025, Lux Industries Inc. All rights reserved. See the file LICENSE for licensing terms.
Copyright (C) 2025, Lux Industries Inc. All rights reserved. See the file LICENSE for licensing terms.
Index ¶
- Variables
- func GetNextMessageID(rpcURL string, messengerAddress common.Address, destinationBlockchainID ids.ID) (ids.ID, error)
- func MessageReceived(rpcURL string, messengerAddress common.Address, messageID ids.ID) (bool, error)
- func SendCrossChainMessage(rpcURL string, messengerAddress common.Address, privateKey string, ...) (*types.Transaction, *types.Receipt, error)
- func SetProposerVM(app *application.Lux, network models.Network, blockchainID string, ...) error
- type WarpDeployer
- func (t *WarpDeployer) CheckAssets() error
- func (t *WarpDeployer) Deploy(subnetName string, rpcURL string, privateKey string, deployMessenger bool, ...) (bool, string, string, error)
- func (t *WarpDeployer) DeployMessenger(subnetName string, rpcURL string, privateKey string) (bool, string, error)
- func (t *WarpDeployer) DeployRegistry(subnetName string, rpcURL string, privateKey string) (string, error)
- func (t *WarpDeployer) DownloadAssets(warpInstallDir string, version string) error
- func (t *WarpDeployer) GetAssets(warpInstallDir string, version string) (string, string, string, string, error)
- func (t *WarpDeployer) SetAssets(messengerContractAddress string, messengerDeployerAddress string, ...)
- func (t *WarpDeployer) SetAssetsFromPaths(messengerContractAddressPath string, messengerDeployerAddressPath string, ...) error
- type WarpFeeInfo
- type WarpInfo
- type WarpMessage
- type WarpMessageReceipt
- type WarpMessengerSendCrossChainMessage
Constants ¶
This section is empty.
Variables ¶
Functions ¶
func GetNextMessageID ¶
func MessageReceived ¶
func SendCrossChainMessage ¶
func SetProposerVM ¶
Types ¶
type WarpDeployer ¶
type WarpDeployer struct {
// contains filtered or unexported fields
}
func (*WarpDeployer) CheckAssets ¶
func (t *WarpDeployer) CheckAssets() error
func (*WarpDeployer) DeployMessenger ¶
func (*WarpDeployer) DeployRegistry ¶
func (*WarpDeployer) DownloadAssets ¶
func (t *WarpDeployer) DownloadAssets( warpInstallDir string, version string, ) error
func (*WarpDeployer) SetAssets ¶
func (t *WarpDeployer) SetAssets( messengerContractAddress string, messengerDeployerAddress string, messengerDeployerTx string, registryBydecode string, )
func (*WarpDeployer) SetAssetsFromPaths ¶
type WarpInfo ¶
type WarpInfo struct {
Version string
FundedAddress string
FundedBalance *big.Int
MessengerDeployerAddress string
}
func GetWarpInfo ¶
func GetWarpInfo( app *application.Lux, ) (*WarpInfo, error)
type WarpMessage ¶
type WarpMessageReceipt ¶
type WarpMessengerSendCrossChainMessage ¶
type WarpMessengerSendCrossChainMessage struct {
MessageID [32]byte
DestinationBlockchainID [32]byte
Message WarpMessage
FeeInfo WarpFeeInfo
}
func ParseSendCrossChainMessage ¶
func ParseSendCrossChainMessage(log types.Log) (*WarpMessengerSendCrossChainMessage, error)
Click to show internal directories.
Click to hide internal directories.