Documentation ¶
Index ¶
- Variables
- func AddAdminCMD(cmd *cobra.Command, args []string, contract *bridge.BridgeContract) error
- func AddRelayerEVMCMD(cmd *cobra.Command, args []string, contract *bridge.BridgeContract) error
- func BindAddAdminFlags(cmd *cobra.Command)
- func BindAddRelayerFlags(cmd *cobra.Command)
- func BindChangeAdminFlags(cmd *cobra.Command)
- func BindGetDestChainIdFlags(cmd *cobra.Command)
- func BindGetDomainFlags(cmd *cobra.Command)
- func BindGetFeeFlags(cmd *cobra.Command)
- func BindGetThresholdFlags(cmd *cobra.Command)
- func BindIsRelayerFlags(cmd *cobra.Command)
- func BindPauseFlags(cmd *cobra.Command)
- func BindProposalLogicFlags(cmd *cobra.Command)
- func BindRemoveAdminFlags(cmd *cobra.Command)
- func BindRemoveRelayerFlags(cmd *cobra.Command)
- func BindRenounceAdminFlags(cmd *cobra.Command)
- func BindSetDepositNonceFlags(cmd *cobra.Command)
- func BindSetDomainFlags(cmd *cobra.Command)
- func BindSetFeeFlags(cmd *cobra.Command)
- func BindSetSpecialFeeFlags(cmd *cobra.Command)
- func BindSetThresholdFlags(cmd *cobra.Command)
- func BindTransferFeeFlags(cmd *cobra.Command)
- func BindUnpauseFlags(cmd *cobra.Command)
- func BindUpgradeImplementationFlags(cmd *cobra.Command)
- func BindWithdrawFlags(cmd *cobra.Command)
- func ChangeAdminEVMCMD(cmd *cobra.Command, args []string, contract *proxy.ProxyContract) error
- func GetDestChainIdCMD(cmd *cobra.Command, args []string, contract *signatures.SignaturesContract) error
- func GetDomainCMD(cmd *cobra.Command, args []string, contract *bridge.BridgeContract) error
- func GetFeeCMD(cmd *cobra.Command, args []string, contract *bridge.BridgeContract) error
- 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 ProcessAddAdminFlags(cmd *cobra.Command, args []string)
- func ProcessAddRelayerFlags(cmd *cobra.Command, args []string)
- func ProcessChangeAdminFlags(cmd *cobra.Command, args []string)
- func ProcessGetDestChainIdFlags(cmd *cobra.Command, args []string)
- func ProcessGetDomainFlags(cmd *cobra.Command, args []string)
- func ProcessGetFeeFlags(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 ProcessProcessProposalFlags(cmd *cobra.Command, args []string)
- func ProcessProposalCMD(cmd *cobra.Command, args []string, srcClient *evmclient.EVMClient, ...) error
- func ProcessRemoveAdminFlags(cmd *cobra.Command, args []string)
- func ProcessRemoveRelayerFlags(cmd *cobra.Command, args []string)
- func ProcessRenounceAdminFlags(cmd *cobra.Command, args []string)
- func ProcessSetDepositNonceFlags(cmd *cobra.Command, args []string)
- func ProcessSetDomainFlags(cmd *cobra.Command, args []string)
- func ProcessSetFeeFlags(cmd *cobra.Command, args []string)
- func ProcessSetSpecialFeeFlags(cmd *cobra.Command, args []string)
- func ProcessSetThresholdFlags(cmd *cobra.Command, args []string)
- func ProcessTransferFeeFlags(cmd *cobra.Command, args []string)
- func ProcessUnpauseFlags(cmd *cobra.Command, args []string)
- func ProcessUpgradeImplementationFlags(cmd *cobra.Command, args []string)
- func ProcessWithdrawFlags(cmd *cobra.Command, args []string) error
- func RemoveAdminCMD(cmd *cobra.Command, args []string, contract *bridge.BridgeContract) error
- func RemoveRelayerEVMCMD(cmd *cobra.Command, args []string, contract *bridge.BridgeContract) error
- func RenounceAdminEVMCMD(cmd *cobra.Command, args []string, contract *bridge.BridgeContract) error
- func SetDepositNonceEVMCMD(cmd *cobra.Command, args []string, contract *bridge.BridgeContract) error
- func SetDomainCMD(cmd *cobra.Command, args []string, contract *bridge.BridgeContract) error
- func SetFeeCMD(cmd *cobra.Command, args []string, contract *bridge.BridgeContract) error
- func SetSpecialFeeCMD(cmd *cobra.Command, args []string, contract *bridge.BridgeContract) error
- func SetThresholdCMD(cmd *cobra.Command, args []string, contract *bridge.BridgeContract) error
- func TransferFeeCMD(cmd *cobra.Command, args []string, contract *bridge.BridgeContract) error
- func UnpackDepositEventLog(abi abi.ABI, data []byte) (*evmclient.DepositLogs, error)
- func UnpauseCmd(cmd *cobra.Command, args []string, contract *bridge.BridgeContract) error
- func UpgradeImplementationEVMCMD(cmd *cobra.Command, args []string, contract *proxy.ProxyContract) error
- func ValidateAddAdminFlags(cmd *cobra.Command, args []string) error
- func ValidateAddRelayerFlags(cmd *cobra.Command, args []string) error
- func ValidateChangeAdminFlags(cmd *cobra.Command, args []string) error
- func ValidateGetDestChainIdFlags(cmd *cobra.Command, args []string) error
- func ValidateGetDomainFlags(cmd *cobra.Command, args []string) error
- func ValidateGetFeeFlags(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 ValidateProcessProposalFlags(cmd *cobra.Command, args []string) error
- func ValidateRemoveAdminFlags(cmd *cobra.Command, args []string) error
- func ValidateRemoveRelayerFlags(cmd *cobra.Command, args []string) error
- func ValidateRenounceAdminFlags(cmd *cobra.Command, args []string) error
- func ValidateSetDepositNonceFlags(cmd *cobra.Command, args []string) error
- func ValidateSetDomainFlags(cmd *cobra.Command, args []string) error
- func ValidateSetFeeFlags(cmd *cobra.Command, args []string) error
- func ValidateSetSpecialFeeFlags(cmd *cobra.Command, args []string) error
- func ValidateSetThresholdFlags(cmd *cobra.Command, args []string) error
- func ValidateTransferFeeFlags(cmd *cobra.Command, args []string) error
- func ValidateUnpauseFlags(cmd *cobra.Command, args []string) error
- func ValidateUpgradeImplementationFlags(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 Implementation string Relayer string DepositNonce uint64 DomainID uint8 ChainID uint64 Fee string RelayerThreshold uint64 SignatureThreshold uint64 Amount string TokenID string Handler string Token string Decimals uint64 Recipient string Bridge string Account string Proxy string Signature string FeeHandler bool SrcBridge string DestBridge string SrcUrl string RelayUrl string DestUrl string TxID string Submit bool )
flag vars
View Source
var ( BridgeAddr common.Address TxHash common.Hash SrcBridgeAddr common.Address DestBridgeAddr common.Address AccountAddr common.Address ProxyAddr common.Address SignatureAddr common.Address HandlerAddr common.Address RelayerAddr common.Address AdminAddr common.Address ImplementationAddr 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 AddAdminCMD ¶
func AddRelayerEVMCMD ¶
func BindAddAdminFlags ¶
func BindAddRelayerFlags ¶
func BindChangeAdminFlags ¶
func BindGetDestChainIdFlags ¶
func BindGetDomainFlags ¶
func BindGetFeeFlags ¶
func BindGetThresholdFlags ¶
func BindIsRelayerFlags ¶
func BindPauseFlags ¶
func BindProposalLogicFlags ¶
func BindRemoveAdminFlags ¶
func BindRemoveRelayerFlags ¶
func BindRenounceAdminFlags ¶
func BindSetDomainFlags ¶
func BindSetFeeFlags ¶
func BindSetSpecialFeeFlags ¶
func BindSetThresholdFlags ¶
func BindTransferFeeFlags ¶
func BindUnpauseFlags ¶
func BindWithdrawFlags ¶
func ChangeAdminEVMCMD ¶
func GetDestChainIdCMD ¶
func GetDestChainIdCMD(cmd *cobra.Command, args []string, contract *signatures.SignaturesContract) error
func GetDomainCMD ¶
func GetThresholdCMD ¶
func ProcessAddAdminFlags ¶
func ProcessAddRelayerFlags ¶
func ProcessChangeAdminFlags ¶
func ProcessGetDomainFlags ¶
func ProcessGetFeeFlags ¶
func ProcessIsRelayerFlags ¶
func ProcessPauseFlags ¶
func ProcessProposalCMD ¶
func ProcessProposalCMD(cmd *cobra.Command, args []string, srcClient *evmclient.EVMClient, _ *bridge.BridgeContract, relayContract *signatures.SignaturesContract, destContract *bridge.BridgeContract) error
func ProcessRemoveAdminFlags ¶
func ProcessSetDomainFlags ¶
func ProcessSetFeeFlags ¶
func ProcessTransferFeeFlags ¶
func ProcessUnpauseFlags ¶
func RemoveAdminCMD ¶
func RemoveRelayerEVMCMD ¶
func RenounceAdminEVMCMD ¶
func SetDepositNonceEVMCMD ¶
func SetDomainCMD ¶
func SetSpecialFeeCMD ¶
func SetThresholdCMD ¶
func TransferFeeCMD ¶
func UnpackDepositEventLog ¶
func UnpauseCmd ¶
func ValidateAddRelayerFlags ¶
func WithdrawCmd ¶
Types ¶
This section is empty.
Source Files ¶
- add-admin.go
- add-relayer.go
- admin.go
- change-admin.go
- flagVars.go
- get-dest-chainid.go
- get-domain-id.go
- get-fee.go
- get-threshold.go
- is-relayer.go
- pause.go
- process-proposal.go
- remove-admin.go
- remove-relayer.go
- renounce-admin.go
- set-deposit-nonce.go
- set-domain-id.go
- set-fee.go
- set-special-fee.go
- set-threshold.go
- transfer-fee.go
- unpause.go
- upgrade-implementation.go
- withdraw.go
Click to show internal directories.
Click to hide internal directories.