Documentation ¶
Index ¶
- Variables
- func AdminInfoCmd(cmd *cobra.Command, args []string, contract *bridge.BridgeContract) error
- func BindAdminInfoFlags(cmd *cobra.Command)
- func BindCancelProposalFlags(cmd *cobra.Command)
- func BindQueryProposalFlags(cmd *cobra.Command)
- func BindQueryResourceFlags(cmd *cobra.Command)
- func BindRegisterGenericResourceFlags(cmd *cobra.Command)
- func BindRegisterNativeResourceFlags(cmd *cobra.Command)
- func BindRegisterResourceFlags(cmd *cobra.Command)
- func BindRelayerInfoFlags(cmd *cobra.Command)
- func BindRemoveGenericResourceFlags(cmd *cobra.Command)
- func BindRemoveNativeResourceFlags(cmd *cobra.Command)
- func BindRemoveResourceFlags(cmd *cobra.Command)
- func BindSetBurnFlags(cmd *cobra.Command)
- func BindVoteProposalCmdFlags(cmd *cobra.Command)
- func ProcessAdminInfoFlags(cmd *cobra.Command, args []string)
- func ProcessCancelProposalFlags(cmd *cobra.Command, args []string) error
- func ProcessQueryProposalFlags(cmd *cobra.Command, args []string) error
- func ProcessRegisterGenericResourceFlags(cmd *cobra.Command, args []string) error
- func ProcessRegisterNativeResourceFlags(cmd *cobra.Command, args []string) error
- func ProcessRegisterResourceFlags(cmd *cobra.Command, args []string) error
- func ProcessRelayerInfoFlags(cmd *cobra.Command, args []string)
- func ProcessRemoveGenericResourceFlags(cmd *cobra.Command, args []string) error
- func ProcessRemoveNativeResourceFlags(cmd *cobra.Command, args []string) error
- func ProcessRemoveResourceFlags(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 RegisterNativeResource(cmd *cobra.Command, args []string, contract *bridge.BridgeContract, ...) error
- func RegisterResourceCmd(cmd *cobra.Command, args []string, contract *bridge.BridgeContract) error
- func RelayerInfoCmd(cmd *cobra.Command, args []string, contract *bridge.BridgeContract) error
- func RemoveGenericResource(cmd *cobra.Command, args []string, contract *bridge.BridgeContract) error
- func RemoveNativeResourceCmd(cmd *cobra.Command, args []string, contract *bridge.BridgeContract) error
- func RemoveResourceCmd(cmd *cobra.Command, args []string, contract *bridge.BridgeContract) error
- func SetBurnCmd(cmd *cobra.Command, args []string, contract *bridge.BridgeContract) error
- func ValidateAdminInfoFlags(cmd *cobra.Command, args []string) 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 ValidateRegisterNativeResourceFlags(cmd *cobra.Command, args []string) error
- func ValidateRegisterResourceFlags(cmd *cobra.Command, args []string) error
- func ValidateRelayerInfoFlags(cmd *cobra.Command, args []string) error
- func ValidateRemoveGenericResourceFlags(cmd *cobra.Command, args []string) error
- func ValidateRemoveNativeResourceFlags(cmd *cobra.Command, args []string) error
- func ValidateRemoveResourceFlags(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 DepositorOffset uint64 Execute string Hash bool Native 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 DataHashBytes [32]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 AdminInfoCmd ¶
func BindAdminInfoFlags ¶
func BindCancelProposalFlags ¶
func BindQueryProposalFlags ¶
func BindQueryResourceFlags ¶
func BindRelayerInfoFlags ¶
func BindRemoveResourceFlags ¶
func BindSetBurnFlags ¶
func ProcessAdminInfoFlags ¶
func ProcessRelayerInfoFlags ¶
func ProcessSetBurnFlags ¶
func RegisterGenericResource ¶
func RegisterNativeResource ¶
func RegisterNativeResource(cmd *cobra.Command, args []string, contract *bridge.BridgeContract, handlerContract *erc20.ERC20HandlerContract) error
func RegisterResourceCmd ¶
func RelayerInfoCmd ¶
func RemoveGenericResource ¶
func RemoveNativeResourceCmd ¶
func RemoveResourceCmd ¶
func SetBurnCmd ¶
Types ¶
Source Files ¶
Click to show internal directories.
Click to hide internal directories.