Documentation ¶
Index ¶
- Variables
- func AddRelayerEVMCMD(cmd *cobra.Command, args []string, contract *bridge.BridgeContract) error
- func BindAddAdminFlags(cmd *cobra.Command)
- func BindAddRelayerFlags(cmd *cobra.Command)
- func BindGetThresholdFlags(cmd *cobra.Command)
- func BindIsRelayerFlags(cmd *cobra.Command)
- func BindPauseFlags(cmd *cobra.Command)
- func BindRemoveAdminFlags(cmd *cobra.Command)
- func BindRemoveRelayerFlags(cmd *cobra.Command)
- func BindSetDepositNonceFlags(cmd *cobra.Command)
- func BindSetFeeFlags(cmd *cobra.Command)
- func BindSetThresholdFlags(cmd *cobra.Command)
- func BindUnpauseFlags(cmd *cobra.Command)
- func BindWithdrawFlags(cmd *cobra.Command)
- func GetThresholdCMD(cmd *cobra.Command, args []string, contract *bridge.BridgeContract) error
- func IsRelayer(cmd *cobra.Command, args []string, contract *bridge.BridgeContract) error
- func PauseCmd(cmd *cobra.Command, args []string, contract *bridge.BridgeContract) error
- func ProcessAddRelayerFlags(cmd *cobra.Command, args []string)
- func ProcessGetThresholdFlags(cmd *cobra.Command, args []string)
- func ProcessIsRelayerFlags(cmd *cobra.Command, args []string)
- func ProcessPauseFlags(cmd *cobra.Command, args []string)
- func ProcessSetDepositNonceFlags(cmd *cobra.Command, args []string)
- func ProcessSetThresholdFlags(cmd *cobra.Command, args []string)
- func ProcessUnpauseFlags(cmd *cobra.Command, args []string)
- func ProcessWithdrawFlags(cmd *cobra.Command, args []string) error
- func SetDepositNonceEVMCMD(cmd *cobra.Command, args []string, contract *bridge.BridgeContract) error
- func SetThresholdCMD(cmd *cobra.Command, args []string, contract *bridge.BridgeContract) error
- func UnpauseCmd(cmd *cobra.Command, args []string, contract *bridge.BridgeContract) error
- func ValidateAddAdminFlags(cmd *cobra.Command, args []string) error
- func ValidateAddRelayerFlags(cmd *cobra.Command, args []string) error
- func ValidateGetThresholdFlags(cmd *cobra.Command, args []string) error
- func ValidateIsRelayerFlags(cmd *cobra.Command, args []string) error
- func ValidatePauseFlags(cmd *cobra.Command, args []string) error
- func ValidateRemoveAdminFlags(cmd *cobra.Command, args []string) error
- func ValidateRemoveRelayerFlags(cmd *cobra.Command, args []string) error
- func ValidateSetDepositNonceFlags(cmd *cobra.Command, args []string) error
- func ValidateSetFeeFlags(cmd *cobra.Command, args []string) error
- func ValidateSetThresholdFlags(cmd *cobra.Command, args []string) error
- func ValidateUnpauseFlags(cmd *cobra.Command, args []string) error
- func ValidateWithdrawFlags(cmd *cobra.Command, args []string) error
- func WithdrawCmd(cmd *cobra.Command, args []string, contract *bridge.BridgeContract) error
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Admin string Relayer string DepositNonce uint64 DomainID uint8 Fee string RelayerThreshold uint64 Amount string TokenID string Handler string Token string Decimals uint64 Recipient string Bridge string )
flag vars
View Source
var ( BridgeAddr common.Address HandlerAddr common.Address RelayerAddr common.Address RecipientAddr common.Address TokenAddr common.Address RealAmount *big.Int )
processed flag vars
View Source
var AdminCmd = &cobra.Command{ Use: "admin", Short: "Set of commands for executing various admin actions", Long: "Set of commands for executing various admin actions", PersistentPreRunE: func(cmd *cobra.Command, args []string) error { var err error url, gasLimit, gasPrice, senderKeyPair, prepare, err = flags.GlobalFlagValues(cmd) if err != nil { return fmt.Errorf("could not get global flags: %v", err) } return nil }, }
Functions ¶
func AddRelayerEVMCMD ¶
func BindAddAdminFlags ¶
func BindAddRelayerFlags ¶
func BindGetThresholdFlags ¶
func BindIsRelayerFlags ¶
func BindPauseFlags ¶
func BindRemoveAdminFlags ¶
func BindRemoveRelayerFlags ¶
func BindSetFeeFlags ¶
func BindSetThresholdFlags ¶
func BindUnpauseFlags ¶
func BindWithdrawFlags ¶
func GetThresholdCMD ¶
func ProcessAddRelayerFlags ¶
func ProcessIsRelayerFlags ¶
func ProcessPauseFlags ¶
func ProcessUnpauseFlags ¶
func SetDepositNonceEVMCMD ¶
func SetThresholdCMD ¶
func UnpauseCmd ¶
func ValidateAddRelayerFlags ¶
func WithdrawCmd ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.