Documentation ¶
Index ¶
- Variables
- func AddAdminCmd(cmd *cobra.Command, args []string, contract *signatures.SignaturesContract) error
- func AddRelayerEVMCMD(cmd *cobra.Command, args []string, contract *signatures.SignaturesContract) error
- func AdminInfoCmd(cmd *cobra.Command, args []string, contract *signatures.SignaturesContract) error
- func BindAddAdminFlags(cmd *cobra.Command)
- func BindAddRelayerFlags(cmd *cobra.Command)
- func BindAdminInfoFlags(cmd *cobra.Command)
- func BindGetSignatureThresholdFlags(cmd *cobra.Command)
- func BindQueryProposalFlags(cmd *cobra.Command)
- func BindRelayerInfoFlags(cmd *cobra.Command)
- func BindRemoveAdminFlags(cmd *cobra.Command)
- func BindRemoveRelayerFlags(cmd *cobra.Command)
- func BindSetDestChainIdFlags(cmd *cobra.Command)
- func BindSetSignatureThresholdFlags(cmd *cobra.Command)
- func GetSignatureThresholdCMD(cmd *cobra.Command, args []string, contract *signatures.SignaturesContract) error
- func ProcessAddAdminFlags(cmd *cobra.Command, args []string)
- func ProcessAddRelayerFlags(cmd *cobra.Command, args []string)
- func ProcessAdminInfoFlags(cmd *cobra.Command, args []string)
- func ProcessGetSignatureThresholdFlags(cmd *cobra.Command, args []string)
- func ProcessQueryProposalFlags(cmd *cobra.Command, args []string) error
- func ProcessRelayerInfoFlags(cmd *cobra.Command, args []string)
- func ProcessRemoveAdminFlags(cmd *cobra.Command, args []string)
- func ProcessRemoveRelayerFlags(cmd *cobra.Command, args []string)
- func ProcessSetDestChainIdFlags(cmd *cobra.Command, args []string)
- func ProcessSetSignatureThresholdFlags(cmd *cobra.Command, args []string)
- func RelayerInfoCmd(cmd *cobra.Command, args []string, contract *signatures.SignaturesContract) error
- func RemoveAdminCmd(cmd *cobra.Command, args []string, contract *signatures.SignaturesContract) error
- func RemoveRelayerCmd(cmd *cobra.Command, args []string, contract *signatures.SignaturesContract) error
- func SetDestChainIdCMD(cmd *cobra.Command, args []string, contract *signatures.SignaturesContract) error
- func SetSignatureThresholdCMD(cmd *cobra.Command, args []string, contract *signatures.SignaturesContract) error
- func ValidateAddAdminFlags(cmd *cobra.Command, args []string) error
- func ValidateAddRelayerFlags(cmd *cobra.Command, args []string) error
- func ValidateAdminInfoFlags(cmd *cobra.Command, args []string) error
- func ValidateGetSignatureThresholdFlags(cmd *cobra.Command, args []string) error
- func ValidateQueryProposalFlags(cmd *cobra.Command, args []string) error
- func ValidateRelayerInfoFlags(cmd *cobra.Command, args []string) error
- func ValidateRemoveAdminFlags(cmd *cobra.Command, args []string) error
- func ValidateRemoveRelayerFlags(cmd *cobra.Command, args []string) error
- func ValidateSetDestChainIdFlags(cmd *cobra.Command, args []string) error
- func ValidateSetSignatureThresholdFlags(cmd *cobra.Command, args []string) error
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Bridge string Signature string DataHash string DomainID uint8 DestDomainID uint8 Data string DepositNonce uint64 Handler string ResourceID string Target string Deposit string DepositerOffset uint64 Execute string Hash bool TokenContract string Relayer string Admin string SignatureThreshold uint64 ChainID uint64 )
flag vars
View Source
var ( BridgeAddr common.Address SignatureAddr common.Address ResourceIdBytesArr types.ResourceID HandlerAddr common.Address TargetContractAddr common.Address TokenContractAddr common.Address DepositSigBytes [4]byte ExecuteSigBytes [4]byte DataBytes []byte RelayerAddr common.Address AdminAddr common.Address DepositHash [32]byte )
processed flag vars
View Source
var SignatureCmd = &cobra.Command{ Use: "relaychain", Short: "Set of commands for interacting with a signature", Long: "Set of commands for interacting with a signature", 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 AddAdminCmd(cmd *cobra.Command, args []string, contract *signatures.SignaturesContract) error
func AddRelayerEVMCMD ¶
func AddRelayerEVMCMD(cmd *cobra.Command, args []string, contract *signatures.SignaturesContract) error
func AdminInfoCmd ¶
func AdminInfoCmd(cmd *cobra.Command, args []string, contract *signatures.SignaturesContract) error
func BindAddAdminFlags ¶
func BindAddRelayerFlags ¶
func BindAdminInfoFlags ¶
func BindQueryProposalFlags ¶
func BindRelayerInfoFlags ¶
func BindRemoveAdminFlags ¶
func BindRemoveRelayerFlags ¶
func BindSetDestChainIdFlags ¶
func GetSignatureThresholdCMD ¶
func GetSignatureThresholdCMD(cmd *cobra.Command, args []string, contract *signatures.SignaturesContract) error
func ProcessAddAdminFlags ¶
func ProcessAddRelayerFlags ¶
func ProcessAdminInfoFlags ¶
func ProcessRelayerInfoFlags ¶
func ProcessRemoveAdminFlags ¶
func RelayerInfoCmd ¶
func RelayerInfoCmd(cmd *cobra.Command, args []string, contract *signatures.SignaturesContract) error
func RemoveAdminCmd ¶
func RemoveAdminCmd(cmd *cobra.Command, args []string, contract *signatures.SignaturesContract) error
func RemoveRelayerCmd ¶
func RemoveRelayerCmd(cmd *cobra.Command, args []string, contract *signatures.SignaturesContract) error
func SetDestChainIdCMD ¶
func SetDestChainIdCMD(cmd *cobra.Command, args []string, contract *signatures.SignaturesContract) error
func SetSignatureThresholdCMD ¶
func SetSignatureThresholdCMD(cmd *cobra.Command, args []string, contract *signatures.SignaturesContract) error
func ValidateAddRelayerFlags ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.