Documentation ¶
Index ¶
- type ERC20AddSignerCmd
- type ERC20BurnNonceCmd
- type ERC20Cmd
- type ERC20GlobalResumeCmd
- type ERC20GlobalStopCmd
- type ERC20ListAssetCmd
- type ERC20RemoveAssetCmd
- type ERC20RemoveSignerCmd
- type ERC20SetAssetLimitsCmd
- type ERC20SetBridgeAddressCmd
- type ERC20SetMultisigControlCmd
- type ERC20SetThresholdCmd
- type ERC20SetWithdrawDelayCmd
- type ERC20WithdrawAssetCmd
- type PrivKeySigner
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ERC20AddSignerCmd ¶
type ERC20AddSignerCmd struct { NewSigner string `long:"new-signer" required:"true" description:"Ethereum address of the new signer"` Submitter string `long:"submitter" required:"true" description:"Ethereum address of the submitter of the transaction"` Nonce string `long:"nonce" required:"true" description:"A nonce for this signature"` }
func (*ERC20AddSignerCmd) Execute ¶
func (opts *ERC20AddSignerCmd) Execute(_ []string) error
type ERC20BurnNonceCmd ¶
type ERC20BurnNonceCmd struct { Submitter string `long:"submitter" required:"true" description:"Ethereum address of the submitter of the transaction"` Nonce string `long:"nonce" required:"true" description:"A nonce for this signature"` }
func (*ERC20BurnNonceCmd) Execute ¶
func (opts *ERC20BurnNonceCmd) Execute(_ []string) error
type ERC20Cmd ¶
type ERC20Cmd struct { config.VegaHomeFlag config.PassphraseFlag Config nodewallets.Config PrivateKey string `long:"private-key" required:"false" description:"A ethereum private key to be use to sign the messages"` AddSigner ERC20AddSignerCmd `command:"add_signer" description:"Create signature to add a new signer to the erc20 bridge"` RemoveSigner ERC20RemoveSignerCmd `command:"remove_signer" description:"Create signature to remove a signer from the erc20 bridge"` SetThreshold ERC20SetThresholdCmd `` /* 131-byte string literal not displayed */ BurnNonce ERC20BurnNonceCmd `` /* 126-byte string literal not displayed */ ListAsset ERC20ListAssetCmd `command:"list_asset" description:"Add a new erc20 asset to the erc20 bridge"` RemoveAsset ERC20RemoveAssetCmd `command:"remove_asset" description:"Remove an erc20 asset from the erc20 bridge"` WithdrawAsset ERC20WithdrawAssetCmd `command:"withdraw_asset" description:"Withdraw ERC20 from the bridge"` SetBridgeAddress ERC20SetBridgeAddressCmd `command:"set_bridge_address" description:"Update the bridge address use by the asset pool"` SetMultisigControl ERC20SetMultisigControlCmd `command:"set_multisig_control" description:"Update the bridge address use by the asset pool"` GlobalResume ERC20GlobalResumeCmd `command:"global_resume" description:"Build the signature to resume usage of the bridge"` GlobalStop ERC20GlobalStopCmd `command:"global_stop" description:"Build the signature to stop the bridge"` SetWithdrawDelay ERC20SetWithdrawDelayCmd `command:"set_withdraw_delay" description:"Update the withdraw delay for all asset"` SetAssetLimits ERC20SetAssetLimitsCmd `command:"set_asset_limits" description:"Update the limits for an asset"` }
type ERC20GlobalResumeCmd ¶
type ERC20GlobalResumeCmd struct { Nonce string `long:"nonce" required:"true" description:"A nonce for this signature"` BridgeAddress string `long:"bridge-address" required:"true" description:"The address of the vega bridge this transaction will be submitted to"` }
func (*ERC20GlobalResumeCmd) Execute ¶
func (opts *ERC20GlobalResumeCmd) Execute(_ []string) error
type ERC20GlobalStopCmd ¶
type ERC20GlobalStopCmd struct { Nonce string `long:"nonce" required:"true" description:"A nonce for this signature"` BridgeAddress string `long:"bridge-address" required:"true" description:"The address of the vega bridge this transaction will be submitted to"` }
func (*ERC20GlobalStopCmd) Execute ¶
func (opts *ERC20GlobalStopCmd) Execute(_ []string) error
type ERC20ListAssetCmd ¶
type ERC20ListAssetCmd struct { TokenAddress string `long:"token-address" required:"true" description:"The Ethereum address of the new token"` VegaAssetID string `long:"vega-asset-id" required:"true" description:"The vega ID for this new token"` BridgeAddress string `long:"bridge-address" required:"true" description:"The address of the vega bridge this transaction will be submitted to"` Nonce string `long:"nonce" required:"true" description:"A nonce for this signature"` LifetimeLimit string `long:"lifetime-limit" required:"true" description:"The lifetime deposit limit for the asset"` WithdrawThreshold string `long:"withdraw-threshold" required:"true" description:"The withdrawal threshold for this asset"` }
func (*ERC20ListAssetCmd) Execute ¶
func (opts *ERC20ListAssetCmd) Execute(_ []string) error
type ERC20RemoveAssetCmd ¶
type ERC20RemoveAssetCmd struct { TokenAddress string `long:"token-address" required:"true" description:"The Ethereum address of the new token"` BridgeAddress string `long:"bridge-address" required:"true" description:"The address of the vega bridge this transaction will be submitted to"` Nonce string `long:"nonce" required:"true" description:"A nonce for this signature"` }
func (*ERC20RemoveAssetCmd) Execute ¶
func (opts *ERC20RemoveAssetCmd) Execute(_ []string) error
type ERC20RemoveSignerCmd ¶
type ERC20RemoveSignerCmd struct { OldSigner string `long:"old-signer" required:"true" description:"Ethereum address of signer to remove"` Submitter string `long:"submitter" required:"true" description:"Ethereum address of the submitter of the transaction"` Nonce string `long:"nonce" required:"true" description:"A nonce for this signature"` }
func (*ERC20RemoveSignerCmd) Execute ¶
func (opts *ERC20RemoveSignerCmd) Execute(_ []string) error
type ERC20SetAssetLimitsCmd ¶
type ERC20SetAssetLimitsCmd struct { WithdrawThreshold string `long:"withdraw-threshold" required:"true" description:"The threshold"` DepositLifetimeMaximum string `long:"deposit-lifetime-maximum" required:"true" description:"The maxium deposit allowed per address"` Nonce string `long:"nonce" required:"true" description:"A nonce for this signature"` BridgeAddress string `long:"bridge-address" required:"true" description:"The address of the vega bridge this transaction will be submitted to"` TokenAddress string `long:"token-address" required:"true" description:"The address of the token to be used"` }
func (*ERC20SetAssetLimitsCmd) Execute ¶
func (opts *ERC20SetAssetLimitsCmd) Execute(_ []string) error
type ERC20SetBridgeAddressCmd ¶
type ERC20SetBridgeAddressCmd struct { NewAddress string `long:"new-address" required:"true" description:"The Ethereum address of the bridge"` AssetPoolAddress string `` /* 128-byte string literal not displayed */ Nonce string `long:"nonce" required:"true" description:"A nonce for this signature"` }
func (*ERC20SetBridgeAddressCmd) Execute ¶
func (opts *ERC20SetBridgeAddressCmd) Execute(_ []string) error
type ERC20SetMultisigControlCmd ¶
type ERC20SetMultisigControlCmd struct { NewAddress string `long:"new-address" required:"true" description:"The Ethereum address of the bridge"` AssetPoolAddress string `` /* 128-byte string literal not displayed */ Nonce string `long:"nonce" required:"true" description:"A nonce for this signature"` }
func (*ERC20SetMultisigControlCmd) Execute ¶
func (opts *ERC20SetMultisigControlCmd) Execute(_ []string) error
type ERC20SetThresholdCmd ¶
type ERC20SetThresholdCmd struct { NewThreshold uint16 `long:"new-threshold" required:"true" description:"The new threshold to be used on the bridge"` Submitter string `long:"submitter" required:"true" description:"Ethereum address of the submitter of the transaction"` Nonce string `long:"nonce" required:"true" description:"A nonce for this signature"` }
func (*ERC20SetThresholdCmd) Execute ¶
func (opts *ERC20SetThresholdCmd) Execute(_ []string) error
type ERC20SetWithdrawDelayCmd ¶
type ERC20SetWithdrawDelayCmd struct { Delay time.Duration `long:"delay" required:"true" description:"The delay to be applied to all withdrawals"` Nonce string `long:"nonce" required:"true" description:"A nonce for this signature"` BridgeAddress string `long:"bridge-address" required:"true" description:"The address of the vega bridge this transaction will be submitted to"` }
func (*ERC20SetWithdrawDelayCmd) Execute ¶
func (opts *ERC20SetWithdrawDelayCmd) Execute(_ []string) error
type ERC20WithdrawAssetCmd ¶
type ERC20WithdrawAssetCmd struct { TokenAddress string `long:"token-address" required:"true" description:"The Ethereum address of the new token"` Amount string `long:"amount" required:"true" description:"The amount to be withdrawn"` ReceiverAddress string `long:"receiver-address" required:"true" description:"The ethereum address of the wallet which is to receive the funds"` BridgeAddress string `long:"bridge-address" required:"true" description:"The address of the vega bridge this transaction will be submitted to"` Nonce string `long:"nonce" required:"true" description:"A nonce for this signature"` Creation int64 `long:"creation" required:"true" description:"creation time of the withdrawal (timestamp)"` }
func (*ERC20WithdrawAssetCmd) Execute ¶
func (opts *ERC20WithdrawAssetCmd) Execute(_ []string) error
type PrivKeySigner ¶
type PrivKeySigner struct {
// contains filtered or unexported fields
}
func NewPrivKeySigner ¶
func NewPrivKeySigner(hexPrivKey string) (*PrivKeySigner, error)
func (*PrivKeySigner) Algo ¶
func (p *PrivKeySigner) Algo() string
Click to show internal directories.
Click to hide internal directories.