signature

package
v1.0.20 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 3, 2024 License: LGPL-3.0 Imports: 18 Imported by: 0

Documentation

Index

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 BindAddAdminFlags(cmd *cobra.Command)

func BindAddRelayerFlags

func BindAddRelayerFlags(cmd *cobra.Command)

func BindAdminInfoFlags

func BindAdminInfoFlags(cmd *cobra.Command)

func BindGetSignatureThresholdFlags

func BindGetSignatureThresholdFlags(cmd *cobra.Command)

func BindQueryProposalFlags

func BindQueryProposalFlags(cmd *cobra.Command)

func BindRelayerInfoFlags

func BindRelayerInfoFlags(cmd *cobra.Command)

func BindRemoveAdminFlags

func BindRemoveAdminFlags(cmd *cobra.Command)

func BindRemoveRelayerFlags

func BindRemoveRelayerFlags(cmd *cobra.Command)

func BindSetDestChainIdFlags

func BindSetDestChainIdFlags(cmd *cobra.Command)

func BindSetSignatureThresholdFlags

func BindSetSignatureThresholdFlags(cmd *cobra.Command)

func GetSignatureThresholdCMD

func GetSignatureThresholdCMD(cmd *cobra.Command, args []string, contract *signatures.SignaturesContract) error

func ProcessAddAdminFlags

func ProcessAddAdminFlags(cmd *cobra.Command, args []string)

func ProcessAddRelayerFlags

func ProcessAddRelayerFlags(cmd *cobra.Command, args []string)

func ProcessAdminInfoFlags

func ProcessAdminInfoFlags(cmd *cobra.Command, args []string)

func ProcessGetSignatureThresholdFlags

func ProcessGetSignatureThresholdFlags(cmd *cobra.Command, args []string)

func ProcessQueryProposalFlags

func ProcessQueryProposalFlags(cmd *cobra.Command, args []string) error

func ProcessRelayerInfoFlags

func ProcessRelayerInfoFlags(cmd *cobra.Command, args []string)

func ProcessRemoveAdminFlags

func ProcessRemoveAdminFlags(cmd *cobra.Command, args []string)

func ProcessRemoveRelayerFlags

func ProcessRemoveRelayerFlags(cmd *cobra.Command, args []string)

func ProcessSetDestChainIdFlags

func ProcessSetDestChainIdFlags(cmd *cobra.Command, args []string)

func ProcessSetSignatureThresholdFlags

func ProcessSetSignatureThresholdFlags(cmd *cobra.Command, args []string)

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 ValidateAddAdminFlags

func ValidateAddAdminFlags(cmd *cobra.Command, args []string) error

func ValidateAddRelayerFlags

func ValidateAddRelayerFlags(cmd *cobra.Command, args []string) error

func ValidateAdminInfoFlags

func ValidateAdminInfoFlags(cmd *cobra.Command, args []string) error

func ValidateGetSignatureThresholdFlags

func ValidateGetSignatureThresholdFlags(cmd *cobra.Command, args []string) error

func ValidateQueryProposalFlags

func ValidateQueryProposalFlags(cmd *cobra.Command, args []string) error

func ValidateRelayerInfoFlags

func ValidateRelayerInfoFlags(cmd *cobra.Command, args []string) error

func ValidateRemoveAdminFlags

func ValidateRemoveAdminFlags(cmd *cobra.Command, args []string) error

func ValidateRemoveRelayerFlags

func ValidateRemoveRelayerFlags(cmd *cobra.Command, args []string) error

func ValidateSetDestChainIdFlags

func ValidateSetDestChainIdFlags(cmd *cobra.Command, args []string) error

func ValidateSetSignatureThresholdFlags

func ValidateSetSignatureThresholdFlags(cmd *cobra.Command, args []string) error

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL