Documentation ¶
Index ¶
- Variables
- func BindCancelProposalFlags(cmd *cobra.Command)
- func BindQueryProposalFlags(cmd *cobra.Command)
- func BindQueryResourceFlags(cmd *cobra.Command)
- func BindRegisterGenericResourceFlags(cmd *cobra.Command)
- func BindRegisterResourceFlags(cmd *cobra.Command)
- func BindSetBurnFlags(cmd *cobra.Command)
- func BindVoteProposalCmdFlags(cmd *cobra.Command)
- func ProcessRegisterGenericResourceFlags(cmd *cobra.Command, args []string) error
- func ProcessRegisterResourceFlags(cmd *cobra.Command, args []string) error
- func ProcessSetBurnFlags(cmd *cobra.Command, args []string)
- func ProcessVoteProposalFlags(cmd *cobra.Command, args []string) error
- func RegisterGenericResource(cmd *cobra.Command, args []string, contract *bridge.BridgeContract) error
- func RegisterResourceCmd(cmd *cobra.Command, args []string, contract *bridge.BridgeContract) error
- func SetBurnCmd(cmd *cobra.Command, args []string, contract *bridge.BridgeContract) error
- func ValidateCancelProposalFlags(cmd *cobra.Command, args []string) error
- func ValidateQueryProposalFlags(cmd *cobra.Command, args []string) error
- func ValidateQueryResourceFlags(cmd *cobra.Command, args []string) error
- func ValidateRegisterGenericResourceFlags(cmd *cobra.Command, args []string) error
- func ValidateRegisterResourceFlags(cmd *cobra.Command, args []string) error
- func ValidateSetBurnFlags(cmd *cobra.Command, args []string) error
- func ValidateVoteProposalFlags(cmd *cobra.Command, args []string) error
- func VoteProposalCmd(cmd *cobra.Command, args []string, voter Voter) error
- type Voter
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Bridge string DataHash string DomainID uint8 Data string DepositNonce uint64 Handler string ResourceID string Target string Deposit string DepositerOffset uint64 Execute string Hash bool TokenContract string )
flag vars
View Source
var ( BridgeAddr common.Address ResourceIdBytesArr types.ResourceID HandlerAddr common.Address TargetContractAddr common.Address TokenContractAddr common.Address DepositSigBytes [4]byte ExecuteSigBytes [4]byte DataBytes []byte )
processed flag vars
View Source
var BridgeCmd = &cobra.Command{ Use: "bridge", Short: "Set of commands for interacting with a bridge", Long: "Set of commands for interacting with a bridge", 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 BindCancelProposalFlags ¶
func BindQueryProposalFlags ¶
func BindQueryResourceFlags ¶
func BindSetBurnFlags ¶
func ProcessSetBurnFlags ¶
func RegisterGenericResource ¶
func RegisterResourceCmd ¶
func SetBurnCmd ¶
Types ¶
Source Files ¶
Click to show internal directories.
Click to hide internal directories.