Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Common ¶ added in v0.76.8
type Common interface {
GetAssetSource(opts *bind.CallOpts, vega_asset_id [32]byte) (common.Address, error)
GetMultisigControlAddress(opts *bind.CallOpts) (common.Address, error)
GetVegaAssetId(opts *bind.CallOpts, asset_source common.Address) ([32]byte, error)
IsAssetListed(opts *bind.CallOpts, asset_source common.Address) (bool, error)
DepositAsset(opts *bind.TransactOpts, asset_source common.Address, amount *big.Int, vega_public_key [32]byte) (*types.Transaction, error)
RemoveAsset(opts *bind.TransactOpts, asset_source common.Address, nonce *big.Int, signatures []byte) (*types.Transaction, error)
}
type ERC20Bridge ¶
type ERC20Bridge struct {
Common
NewInV2
Address common.Address
Version Version
// contains filtered or unexported fields
}
func NewERC20Bridge ¶
type NewInV2 ¶ added in v0.76.8
type NewInV2 interface {
DefaultWithdrawDelay(opts *bind.CallOpts) (*big.Int, error)
Erc20AssetPoolAddress(opts *bind.CallOpts) (common.Address, error)
GetAssetDepositLifetimeLimit(opts *bind.CallOpts, asset_source common.Address) (*big.Int, error)
GetWithdrawThreshold(opts *bind.CallOpts, asset_source common.Address) (*big.Int, error)
IsExemptDepositor(opts *bind.CallOpts, depositor common.Address) (bool, error)
IsStopped(opts *bind.CallOpts) (bool, error)
ExemptDepositor(opts *bind.TransactOpts) (*types.Transaction, error)
GlobalResume(opts *bind.TransactOpts, nonce *big.Int, signatures []byte) (*types.Transaction, error)
GlobalStop(opts *bind.TransactOpts, nonce *big.Int, signatures []byte) (*types.Transaction, error)
ListAsset(opts *bind.TransactOpts, asset_source common.Address, vega_asset_id [32]byte, lifetime_limit *big.Int, withdraw_threshold *big.Int, nonce *big.Int, signatures []byte) (*types.Transaction, error)
RevokeExemptDepositor(opts *bind.TransactOpts) (*types.Transaction, error)
SetAssetLimits(opts *bind.TransactOpts, asset_source common.Address, lifetime_limit *big.Int, threshold *big.Int, nonce *big.Int, signatures []byte) (*types.Transaction, error)
SetWithdrawDelay(opts *bind.TransactOpts, delay *big.Int, nonce *big.Int, signatures []byte) (*types.Transaction, error)
WithdrawAsset(opts *bind.TransactOpts, asset_source common.Address, amount *big.Int, target common.Address, creation *big.Int, nonce *big.Int, signatures []byte) (*types.Transaction, error)
}
Click to show internal directories.
Click to hide internal directories.