generated

package
v0.0.0-...-bda6563 Latest Latest
Warning

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

Go to latest
Published: Jan 19, 2023 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var BaseTokenABI = BaseTokenMetaData.ABI

BaseTokenABI is the input ABI used to generate the binding from. Deprecated: Use BaseTokenMetaData.ABI instead.

View Source
var BaseTokenMetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[{\"internalType\":\"string\",\"name\":\"_name\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"_symbol\",\"type\":\"string\"},{\"internalType\":\"uint8\",\"name\":\"_decimals\",\"type\":\"uint8\"},{\"internalType\":\"uint256\",\"name\":\"total_supply_whole_tokens\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"faucet_amount\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"Approval\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"previousOwner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"OwnershipTransferred\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"Transfer\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"bridge_address\",\"type\":\"address\"},{\"internalType\":\"bytes32[]\",\"name\":\"vega_public_keys\",\"type\":\"bytes32[]\"}],\"name\":\"admin_deposit_bulk\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"bridge_address\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"vega_public_key\",\"type\":\"bytes32\"}],\"name\":\"admin_deposit_single\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"staking_bridge_address\",\"type\":\"address\"},{\"internalType\":\"bytes32[]\",\"name\":\"vega_public_keys\",\"type\":\"bytes32[]\"}],\"name\":\"admin_stake_bulk\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"}],\"name\":\"allowance\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"approve\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"balanceOf\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"decimals\",\"outputs\":[{\"internalType\":\"uint8\",\"name\":\"\",\"type\":\"uint8\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"subtractedValue\",\"type\":\"uint256\"}],\"name\":\"decreaseAllowance\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"faucet\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"addedValue\",\"type\":\"uint256\"}],\"name\":\"increaseAllowance\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"isOwner\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"issue\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"kill\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"mint\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"name\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"renounceOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"symbol\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"totalSupply\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"transfer\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"transferFrom\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"transferOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
}

BaseTokenMetaData contains all meta data concerning the BaseToken contract.

View Source
var ERC20BridgeABI = ERC20BridgeMetaData.ABI

ERC20BridgeABI is the input ABI used to generate the binding from. Deprecated: Use ERC20BridgeMetaData.ABI instead.

View Source
var ERC20BridgeMetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[{\"internalType\":\"addresspayable\",\"name\":\"erc20_asset_pool\",\"type\":\"address\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"user_address\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"asset_source\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"vega_public_key\",\"type\":\"bytes32\"}],\"name\":\"Asset_Deposited\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"asset_source\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"lifetime_limit\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"withdraw_threshold\",\"type\":\"uint256\"}],\"name\":\"Asset_Limits_Updated\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"asset_source\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"vega_asset_id\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"nonce\",\"type\":\"uint256\"}],\"name\":\"Asset_Listed\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"asset_source\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"nonce\",\"type\":\"uint256\"}],\"name\":\"Asset_Removed\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"user_address\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"asset_source\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"nonce\",\"type\":\"uint256\"}],\"name\":\"Asset_Withdrawn\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[],\"name\":\"Bridge_Resumed\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[],\"name\":\"Bridge_Stopped\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"withdraw_delay\",\"type\":\"uint256\"}],\"name\":\"Bridge_Withdraw_Delay_Set\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"depositor\",\"type\":\"address\"}],\"name\":\"Depositor_Exempted\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"depositor\",\"type\":\"address\"}],\"name\":\"Depositor_Exemption_Revoked\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"default_withdraw_delay\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"asset_source\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"vega_public_key\",\"type\":\"bytes32\"}],\"name\":\"deposit_asset\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"erc20_asset_pool_address\",\"outputs\":[{\"internalType\":\"addresspayable\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"exempt_depositor\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"asset_source\",\"type\":\"address\"}],\"name\":\"get_asset_deposit_lifetime_limit\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"vega_asset_id\",\"type\":\"bytes32\"}],\"name\":\"get_asset_source\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"get_multisig_control_address\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"asset_source\",\"type\":\"address\"}],\"name\":\"get_vega_asset_id\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"asset_source\",\"type\":\"address\"}],\"name\":\"get_withdraw_threshold\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"nonce\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"signatures\",\"type\":\"bytes\"}],\"name\":\"global_resume\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"nonce\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"signatures\",\"type\":\"bytes\"}],\"name\":\"global_stop\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"asset_source\",\"type\":\"address\"}],\"name\":\"is_asset_listed\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"depositor\",\"type\":\"address\"}],\"name\":\"is_exempt_depositor\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"is_stopped\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"asset_source\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"vega_asset_id\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"lifetime_limit\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"withdraw_threshold\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"nonce\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"signatures\",\"type\":\"bytes\"}],\"name\":\"list_asset\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"asset_source\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"nonce\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"signatures\",\"type\":\"bytes\"}],\"name\":\"remove_asset\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"revoke_exempt_depositor\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"asset_source\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"lifetime_limit\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"threshold\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"nonce\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"signatures\",\"type\":\"bytes\"}],\"name\":\"set_asset_limits\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"delay\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"nonce\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"signatures\",\"type\":\"bytes\"}],\"name\":\"set_withdraw_delay\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"asset_source\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"target\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"creation\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"nonce\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"signatures\",\"type\":\"bytes\"}],\"name\":\"withdraw_asset\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
}

ERC20BridgeMetaData contains all meta data concerning the ERC20Bridge contract.

View Source
var StakingBridgeABI = StakingBridgeMetaData.ABI

StakingBridgeABI is the input ABI used to generate the binding from. Deprecated: Use StakingBridgeMetaData.ABI instead.

View Source
var StakingBridgeMetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"vega_public_key\",\"type\":\"bytes32\"}],\"name\":\"stake\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
}

StakingBridgeMetaData contains all meta data concerning the StakingBridge contract.

Functions

This section is empty.

Types

type BaseToken

type BaseToken struct {
	BaseTokenCaller     // Read-only binding to the contract
	BaseTokenTransactor // Write-only binding to the contract
	BaseTokenFilterer   // Log filterer for contract events
}

BaseToken is an auto generated Go binding around an Ethereum contract.

func NewBaseToken

func NewBaseToken(address common.Address, backend bind.ContractBackend) (*BaseToken, error)

NewBaseToken creates a new instance of BaseToken, bound to a specific deployed contract.

type BaseTokenApproval

type BaseTokenApproval struct {
	Owner   common.Address
	Spender common.Address
	Value   *big.Int
	Raw     types.Log // Blockchain specific contextual infos
}

BaseTokenApproval represents a Approval event raised by the BaseToken contract.

type BaseTokenApprovalIterator

type BaseTokenApprovalIterator struct {
	Event *BaseTokenApproval // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

BaseTokenApprovalIterator is returned from FilterApproval and is used to iterate over the raw logs and unpacked data for Approval events raised by the BaseToken contract.

func (*BaseTokenApprovalIterator) Close

func (it *BaseTokenApprovalIterator) Close() error

Close terminates the iteration process, releasing any pending underlying resources.

func (*BaseTokenApprovalIterator) Error

func (it *BaseTokenApprovalIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*BaseTokenApprovalIterator) Next

func (it *BaseTokenApprovalIterator) Next() bool

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type BaseTokenCaller

type BaseTokenCaller struct {
	// contains filtered or unexported fields
}

BaseTokenCaller is an auto generated read-only Go binding around an Ethereum contract.

func NewBaseTokenCaller

func NewBaseTokenCaller(address common.Address, caller bind.ContractCaller) (*BaseTokenCaller, error)

NewBaseTokenCaller creates a new read-only instance of BaseToken, bound to a specific deployed contract.

func (*BaseTokenCaller) Allowance

func (_BaseToken *BaseTokenCaller) Allowance(opts *bind.CallOpts, owner common.Address, spender common.Address) (*big.Int, error)

Allowance is a free data retrieval call binding the contract method 0xdd62ed3e.

Solidity: function allowance(address owner, address spender) view returns(uint256)

func (*BaseTokenCaller) BalanceOf

func (_BaseToken *BaseTokenCaller) BalanceOf(opts *bind.CallOpts, account common.Address) (*big.Int, error)

BalanceOf is a free data retrieval call binding the contract method 0x70a08231.

Solidity: function balanceOf(address account) view returns(uint256)

func (*BaseTokenCaller) Decimals

func (_BaseToken *BaseTokenCaller) Decimals(opts *bind.CallOpts) (uint8, error)

Decimals is a free data retrieval call binding the contract method 0x313ce567.

Solidity: function decimals() view returns(uint8)

func (*BaseTokenCaller) IsOwner

func (_BaseToken *BaseTokenCaller) IsOwner(opts *bind.CallOpts) (bool, error)

IsOwner is a free data retrieval call binding the contract method 0x8f32d59b.

Solidity: function isOwner() view returns(bool)

func (*BaseTokenCaller) Name

func (_BaseToken *BaseTokenCaller) Name(opts *bind.CallOpts) (string, error)

Name is a free data retrieval call binding the contract method 0x06fdde03.

Solidity: function name() view returns(string)

func (*BaseTokenCaller) Owner

func (_BaseToken *BaseTokenCaller) Owner(opts *bind.CallOpts) (common.Address, error)

Owner is a free data retrieval call binding the contract method 0x8da5cb5b.

Solidity: function owner() view returns(address)

func (*BaseTokenCaller) Symbol

func (_BaseToken *BaseTokenCaller) Symbol(opts *bind.CallOpts) (string, error)

Symbol is a free data retrieval call binding the contract method 0x95d89b41.

Solidity: function symbol() view returns(string)

func (*BaseTokenCaller) TotalSupply

func (_BaseToken *BaseTokenCaller) TotalSupply(opts *bind.CallOpts) (*big.Int, error)

TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.

Solidity: function totalSupply() view returns(uint256)

type BaseTokenCallerRaw

type BaseTokenCallerRaw struct {
	Contract *BaseTokenCaller // Generic read-only contract binding to access the raw methods on
}

BaseTokenCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.

func (*BaseTokenCallerRaw) Call

func (_BaseToken *BaseTokenCallerRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error

Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.

type BaseTokenCallerSession

type BaseTokenCallerSession struct {
	Contract *BaseTokenCaller // Generic contract caller binding to set the session for
	CallOpts bind.CallOpts    // Call options to use throughout this session
}

BaseTokenCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.

func (*BaseTokenCallerSession) Allowance

func (_BaseToken *BaseTokenCallerSession) Allowance(owner common.Address, spender common.Address) (*big.Int, error)

Allowance is a free data retrieval call binding the contract method 0xdd62ed3e.

Solidity: function allowance(address owner, address spender) view returns(uint256)

func (*BaseTokenCallerSession) BalanceOf

func (_BaseToken *BaseTokenCallerSession) BalanceOf(account common.Address) (*big.Int, error)

BalanceOf is a free data retrieval call binding the contract method 0x70a08231.

Solidity: function balanceOf(address account) view returns(uint256)

func (*BaseTokenCallerSession) Decimals

func (_BaseToken *BaseTokenCallerSession) Decimals() (uint8, error)

Decimals is a free data retrieval call binding the contract method 0x313ce567.

Solidity: function decimals() view returns(uint8)

func (*BaseTokenCallerSession) IsOwner

func (_BaseToken *BaseTokenCallerSession) IsOwner() (bool, error)

IsOwner is a free data retrieval call binding the contract method 0x8f32d59b.

Solidity: function isOwner() view returns(bool)

func (*BaseTokenCallerSession) Name

func (_BaseToken *BaseTokenCallerSession) Name() (string, error)

Name is a free data retrieval call binding the contract method 0x06fdde03.

Solidity: function name() view returns(string)

func (*BaseTokenCallerSession) Owner

func (_BaseToken *BaseTokenCallerSession) Owner() (common.Address, error)

Owner is a free data retrieval call binding the contract method 0x8da5cb5b.

Solidity: function owner() view returns(address)

func (*BaseTokenCallerSession) Symbol

func (_BaseToken *BaseTokenCallerSession) Symbol() (string, error)

Symbol is a free data retrieval call binding the contract method 0x95d89b41.

Solidity: function symbol() view returns(string)

func (*BaseTokenCallerSession) TotalSupply

func (_BaseToken *BaseTokenCallerSession) TotalSupply() (*big.Int, error)

TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.

Solidity: function totalSupply() view returns(uint256)

type BaseTokenFilterer

type BaseTokenFilterer struct {
	// contains filtered or unexported fields
}

BaseTokenFilterer is an auto generated log filtering Go binding around an Ethereum contract events.

func NewBaseTokenFilterer

func NewBaseTokenFilterer(address common.Address, filterer bind.ContractFilterer) (*BaseTokenFilterer, error)

NewBaseTokenFilterer creates a new log filterer instance of BaseToken, bound to a specific deployed contract.

func (*BaseTokenFilterer) FilterApproval

func (_BaseToken *BaseTokenFilterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, spender []common.Address) (*BaseTokenApprovalIterator, error)

FilterApproval is a free log retrieval operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.

Solidity: event Approval(address indexed owner, address indexed spender, uint256 value)

func (*BaseTokenFilterer) FilterOwnershipTransferred

func (_BaseToken *BaseTokenFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*BaseTokenOwnershipTransferredIterator, error)

FilterOwnershipTransferred is a free log retrieval operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.

Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)

func (*BaseTokenFilterer) FilterTransfer

func (_BaseToken *BaseTokenFilterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*BaseTokenTransferIterator, error)

FilterTransfer is a free log retrieval operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.

Solidity: event Transfer(address indexed from, address indexed to, uint256 value)

func (*BaseTokenFilterer) ParseApproval

func (_BaseToken *BaseTokenFilterer) ParseApproval(log types.Log) (*BaseTokenApproval, error)

ParseApproval is a log parse operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.

Solidity: event Approval(address indexed owner, address indexed spender, uint256 value)

func (*BaseTokenFilterer) ParseOwnershipTransferred

func (_BaseToken *BaseTokenFilterer) ParseOwnershipTransferred(log types.Log) (*BaseTokenOwnershipTransferred, error)

ParseOwnershipTransferred is a log parse operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.

Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)

func (*BaseTokenFilterer) ParseTransfer

func (_BaseToken *BaseTokenFilterer) ParseTransfer(log types.Log) (*BaseTokenTransfer, error)

ParseTransfer is a log parse operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.

Solidity: event Transfer(address indexed from, address indexed to, uint256 value)

func (*BaseTokenFilterer) WatchApproval

func (_BaseToken *BaseTokenFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *BaseTokenApproval, owner []common.Address, spender []common.Address) (event.Subscription, error)

WatchApproval is a free log subscription operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.

Solidity: event Approval(address indexed owner, address indexed spender, uint256 value)

func (*BaseTokenFilterer) WatchOwnershipTransferred

func (_BaseToken *BaseTokenFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *BaseTokenOwnershipTransferred, previousOwner []common.Address, newOwner []common.Address) (event.Subscription, error)

WatchOwnershipTransferred is a free log subscription operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.

Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)

func (*BaseTokenFilterer) WatchTransfer

func (_BaseToken *BaseTokenFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *BaseTokenTransfer, from []common.Address, to []common.Address) (event.Subscription, error)

WatchTransfer is a free log subscription operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.

Solidity: event Transfer(address indexed from, address indexed to, uint256 value)

type BaseTokenOwnershipTransferred

type BaseTokenOwnershipTransferred struct {
	PreviousOwner common.Address
	NewOwner      common.Address
	Raw           types.Log // Blockchain specific contextual infos
}

BaseTokenOwnershipTransferred represents a OwnershipTransferred event raised by the BaseToken contract.

type BaseTokenOwnershipTransferredIterator

type BaseTokenOwnershipTransferredIterator struct {
	Event *BaseTokenOwnershipTransferred // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

BaseTokenOwnershipTransferredIterator is returned from FilterOwnershipTransferred and is used to iterate over the raw logs and unpacked data for OwnershipTransferred events raised by the BaseToken contract.

func (*BaseTokenOwnershipTransferredIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*BaseTokenOwnershipTransferredIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*BaseTokenOwnershipTransferredIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type BaseTokenRaw

type BaseTokenRaw struct {
	Contract *BaseToken // Generic contract binding to access the raw methods on
}

BaseTokenRaw is an auto generated low-level Go binding around an Ethereum contract.

func (*BaseTokenRaw) Call

func (_BaseToken *BaseTokenRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error

Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.

func (*BaseTokenRaw) Transact

func (_BaseToken *BaseTokenRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*BaseTokenRaw) Transfer

func (_BaseToken *BaseTokenRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)

Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.

type BaseTokenSession

type BaseTokenSession struct {
	Contract     *BaseToken        // Generic contract binding to set the session for
	CallOpts     bind.CallOpts     // Call options to use throughout this session
	TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session
}

BaseTokenSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.

func (*BaseTokenSession) AdminDepositBulk

func (_BaseToken *BaseTokenSession) AdminDepositBulk(amount *big.Int, bridge_address common.Address, vega_public_keys [][32]byte) (*types.Transaction, error)

AdminDepositBulk is a paid mutator transaction binding the contract method 0xbc36878e.

Solidity: function admin_deposit_bulk(uint256 amount, address bridge_address, bytes32[] vega_public_keys) returns()

func (*BaseTokenSession) AdminDepositSingle

func (_BaseToken *BaseTokenSession) AdminDepositSingle(amount *big.Int, bridge_address common.Address, vega_public_key [32]byte) (*types.Transaction, error)

AdminDepositSingle is a paid mutator transaction binding the contract method 0xb777374c.

Solidity: function admin_deposit_single(uint256 amount, address bridge_address, bytes32 vega_public_key) returns()

func (*BaseTokenSession) AdminStakeBulk

func (_BaseToken *BaseTokenSession) AdminStakeBulk(amount *big.Int, staking_bridge_address common.Address, vega_public_keys [][32]byte) (*types.Transaction, error)

AdminStakeBulk is a paid mutator transaction binding the contract method 0xd779cae8.

Solidity: function admin_stake_bulk(uint256 amount, address staking_bridge_address, bytes32[] vega_public_keys) returns()

func (*BaseTokenSession) Allowance

func (_BaseToken *BaseTokenSession) Allowance(owner common.Address, spender common.Address) (*big.Int, error)

Allowance is a free data retrieval call binding the contract method 0xdd62ed3e.

Solidity: function allowance(address owner, address spender) view returns(uint256)

func (*BaseTokenSession) Approve

func (_BaseToken *BaseTokenSession) Approve(spender common.Address, value *big.Int) (*types.Transaction, error)

Approve is a paid mutator transaction binding the contract method 0x095ea7b3.

Solidity: function approve(address spender, uint256 value) returns(bool)

func (*BaseTokenSession) BalanceOf

func (_BaseToken *BaseTokenSession) BalanceOf(account common.Address) (*big.Int, error)

BalanceOf is a free data retrieval call binding the contract method 0x70a08231.

Solidity: function balanceOf(address account) view returns(uint256)

func (*BaseTokenSession) Decimals

func (_BaseToken *BaseTokenSession) Decimals() (uint8, error)

Decimals is a free data retrieval call binding the contract method 0x313ce567.

Solidity: function decimals() view returns(uint8)

func (*BaseTokenSession) DecreaseAllowance

func (_BaseToken *BaseTokenSession) DecreaseAllowance(spender common.Address, subtractedValue *big.Int) (*types.Transaction, error)

DecreaseAllowance is a paid mutator transaction binding the contract method 0xa457c2d7.

Solidity: function decreaseAllowance(address spender, uint256 subtractedValue) returns(bool)

func (*BaseTokenSession) Faucet

func (_BaseToken *BaseTokenSession) Faucet() (*types.Transaction, error)

Faucet is a paid mutator transaction binding the contract method 0xde5f72fd.

Solidity: function faucet() returns()

func (*BaseTokenSession) IncreaseAllowance

func (_BaseToken *BaseTokenSession) IncreaseAllowance(spender common.Address, addedValue *big.Int) (*types.Transaction, error)

IncreaseAllowance is a paid mutator transaction binding the contract method 0x39509351.

Solidity: function increaseAllowance(address spender, uint256 addedValue) returns(bool)

func (*BaseTokenSession) IsOwner

func (_BaseToken *BaseTokenSession) IsOwner() (bool, error)

IsOwner is a free data retrieval call binding the contract method 0x8f32d59b.

Solidity: function isOwner() view returns(bool)

func (*BaseTokenSession) Issue

func (_BaseToken *BaseTokenSession) Issue(account common.Address, value *big.Int) (*types.Transaction, error)

Issue is a paid mutator transaction binding the contract method 0x867904b4.

Solidity: function issue(address account, uint256 value) returns()

func (*BaseTokenSession) Kill

func (_BaseToken *BaseTokenSession) Kill() (*types.Transaction, error)

Kill is a paid mutator transaction binding the contract method 0x41c0e1b5.

Solidity: function kill() returns()

func (*BaseTokenSession) Mint

func (_BaseToken *BaseTokenSession) Mint(to common.Address, amount *big.Int) (*types.Transaction, error)

Mint is a paid mutator transaction binding the contract method 0x40c10f19.

Solidity: function mint(address to, uint256 amount) returns()

func (*BaseTokenSession) Name

func (_BaseToken *BaseTokenSession) Name() (string, error)

Name is a free data retrieval call binding the contract method 0x06fdde03.

Solidity: function name() view returns(string)

func (*BaseTokenSession) Owner

func (_BaseToken *BaseTokenSession) Owner() (common.Address, error)

Owner is a free data retrieval call binding the contract method 0x8da5cb5b.

Solidity: function owner() view returns(address)

func (*BaseTokenSession) RenounceOwnership

func (_BaseToken *BaseTokenSession) RenounceOwnership() (*types.Transaction, error)

RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.

Solidity: function renounceOwnership() returns()

func (*BaseTokenSession) Symbol

func (_BaseToken *BaseTokenSession) Symbol() (string, error)

Symbol is a free data retrieval call binding the contract method 0x95d89b41.

Solidity: function symbol() view returns(string)

func (*BaseTokenSession) TotalSupply

func (_BaseToken *BaseTokenSession) TotalSupply() (*big.Int, error)

TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.

Solidity: function totalSupply() view returns(uint256)

func (*BaseTokenSession) Transfer

func (_BaseToken *BaseTokenSession) Transfer(recipient common.Address, amount *big.Int) (*types.Transaction, error)

Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.

Solidity: function transfer(address recipient, uint256 amount) returns(bool)

func (*BaseTokenSession) TransferFrom

func (_BaseToken *BaseTokenSession) TransferFrom(sender common.Address, recipient common.Address, amount *big.Int) (*types.Transaction, error)

TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.

Solidity: function transferFrom(address sender, address recipient, uint256 amount) returns(bool)

func (*BaseTokenSession) TransferOwnership

func (_BaseToken *BaseTokenSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)

TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.

Solidity: function transferOwnership(address newOwner) returns()

type BaseTokenTransactor

type BaseTokenTransactor struct {
	// contains filtered or unexported fields
}

BaseTokenTransactor is an auto generated write-only Go binding around an Ethereum contract.

func NewBaseTokenTransactor

func NewBaseTokenTransactor(address common.Address, transactor bind.ContractTransactor) (*BaseTokenTransactor, error)

NewBaseTokenTransactor creates a new write-only instance of BaseToken, bound to a specific deployed contract.

func (*BaseTokenTransactor) AdminDepositBulk

func (_BaseToken *BaseTokenTransactor) AdminDepositBulk(opts *bind.TransactOpts, amount *big.Int, bridge_address common.Address, vega_public_keys [][32]byte) (*types.Transaction, error)

AdminDepositBulk is a paid mutator transaction binding the contract method 0xbc36878e.

Solidity: function admin_deposit_bulk(uint256 amount, address bridge_address, bytes32[] vega_public_keys) returns()

func (*BaseTokenTransactor) AdminDepositSingle

func (_BaseToken *BaseTokenTransactor) AdminDepositSingle(opts *bind.TransactOpts, amount *big.Int, bridge_address common.Address, vega_public_key [32]byte) (*types.Transaction, error)

AdminDepositSingle is a paid mutator transaction binding the contract method 0xb777374c.

Solidity: function admin_deposit_single(uint256 amount, address bridge_address, bytes32 vega_public_key) returns()

func (*BaseTokenTransactor) AdminStakeBulk

func (_BaseToken *BaseTokenTransactor) AdminStakeBulk(opts *bind.TransactOpts, amount *big.Int, staking_bridge_address common.Address, vega_public_keys [][32]byte) (*types.Transaction, error)

AdminStakeBulk is a paid mutator transaction binding the contract method 0xd779cae8.

Solidity: function admin_stake_bulk(uint256 amount, address staking_bridge_address, bytes32[] vega_public_keys) returns()

func (*BaseTokenTransactor) Approve

func (_BaseToken *BaseTokenTransactor) Approve(opts *bind.TransactOpts, spender common.Address, value *big.Int) (*types.Transaction, error)

Approve is a paid mutator transaction binding the contract method 0x095ea7b3.

Solidity: function approve(address spender, uint256 value) returns(bool)

func (*BaseTokenTransactor) DecreaseAllowance

func (_BaseToken *BaseTokenTransactor) DecreaseAllowance(opts *bind.TransactOpts, spender common.Address, subtractedValue *big.Int) (*types.Transaction, error)

DecreaseAllowance is a paid mutator transaction binding the contract method 0xa457c2d7.

Solidity: function decreaseAllowance(address spender, uint256 subtractedValue) returns(bool)

func (*BaseTokenTransactor) Faucet

func (_BaseToken *BaseTokenTransactor) Faucet(opts *bind.TransactOpts) (*types.Transaction, error)

Faucet is a paid mutator transaction binding the contract method 0xde5f72fd.

Solidity: function faucet() returns()

func (*BaseTokenTransactor) IncreaseAllowance

func (_BaseToken *BaseTokenTransactor) IncreaseAllowance(opts *bind.TransactOpts, spender common.Address, addedValue *big.Int) (*types.Transaction, error)

IncreaseAllowance is a paid mutator transaction binding the contract method 0x39509351.

Solidity: function increaseAllowance(address spender, uint256 addedValue) returns(bool)

func (*BaseTokenTransactor) Issue

func (_BaseToken *BaseTokenTransactor) Issue(opts *bind.TransactOpts, account common.Address, value *big.Int) (*types.Transaction, error)

Issue is a paid mutator transaction binding the contract method 0x867904b4.

Solidity: function issue(address account, uint256 value) returns()

func (*BaseTokenTransactor) Kill

func (_BaseToken *BaseTokenTransactor) Kill(opts *bind.TransactOpts) (*types.Transaction, error)

Kill is a paid mutator transaction binding the contract method 0x41c0e1b5.

Solidity: function kill() returns()

func (*BaseTokenTransactor) Mint

func (_BaseToken *BaseTokenTransactor) Mint(opts *bind.TransactOpts, to common.Address, amount *big.Int) (*types.Transaction, error)

Mint is a paid mutator transaction binding the contract method 0x40c10f19.

Solidity: function mint(address to, uint256 amount) returns()

func (*BaseTokenTransactor) RenounceOwnership

func (_BaseToken *BaseTokenTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)

RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.

Solidity: function renounceOwnership() returns()

func (*BaseTokenTransactor) Transfer

func (_BaseToken *BaseTokenTransactor) Transfer(opts *bind.TransactOpts, recipient common.Address, amount *big.Int) (*types.Transaction, error)

Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.

Solidity: function transfer(address recipient, uint256 amount) returns(bool)

func (*BaseTokenTransactor) TransferFrom

func (_BaseToken *BaseTokenTransactor) TransferFrom(opts *bind.TransactOpts, sender common.Address, recipient common.Address, amount *big.Int) (*types.Transaction, error)

TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.

Solidity: function transferFrom(address sender, address recipient, uint256 amount) returns(bool)

func (*BaseTokenTransactor) TransferOwnership

func (_BaseToken *BaseTokenTransactor) TransferOwnership(opts *bind.TransactOpts, newOwner common.Address) (*types.Transaction, error)

TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.

Solidity: function transferOwnership(address newOwner) returns()

type BaseTokenTransactorRaw

type BaseTokenTransactorRaw struct {
	Contract *BaseTokenTransactor // Generic write-only contract binding to access the raw methods on
}

BaseTokenTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.

func (*BaseTokenTransactorRaw) Transact

func (_BaseToken *BaseTokenTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*BaseTokenTransactorRaw) Transfer

func (_BaseToken *BaseTokenTransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)

Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.

type BaseTokenTransactorSession

type BaseTokenTransactorSession struct {
	Contract     *BaseTokenTransactor // Generic contract transactor binding to set the session for
	TransactOpts bind.TransactOpts    // Transaction auth options to use throughout this session
}

BaseTokenTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.

func (*BaseTokenTransactorSession) AdminDepositBulk

func (_BaseToken *BaseTokenTransactorSession) AdminDepositBulk(amount *big.Int, bridge_address common.Address, vega_public_keys [][32]byte) (*types.Transaction, error)

AdminDepositBulk is a paid mutator transaction binding the contract method 0xbc36878e.

Solidity: function admin_deposit_bulk(uint256 amount, address bridge_address, bytes32[] vega_public_keys) returns()

func (*BaseTokenTransactorSession) AdminDepositSingle

func (_BaseToken *BaseTokenTransactorSession) AdminDepositSingle(amount *big.Int, bridge_address common.Address, vega_public_key [32]byte) (*types.Transaction, error)

AdminDepositSingle is a paid mutator transaction binding the contract method 0xb777374c.

Solidity: function admin_deposit_single(uint256 amount, address bridge_address, bytes32 vega_public_key) returns()

func (*BaseTokenTransactorSession) AdminStakeBulk

func (_BaseToken *BaseTokenTransactorSession) AdminStakeBulk(amount *big.Int, staking_bridge_address common.Address, vega_public_keys [][32]byte) (*types.Transaction, error)

AdminStakeBulk is a paid mutator transaction binding the contract method 0xd779cae8.

Solidity: function admin_stake_bulk(uint256 amount, address staking_bridge_address, bytes32[] vega_public_keys) returns()

func (*BaseTokenTransactorSession) Approve

func (_BaseToken *BaseTokenTransactorSession) Approve(spender common.Address, value *big.Int) (*types.Transaction, error)

Approve is a paid mutator transaction binding the contract method 0x095ea7b3.

Solidity: function approve(address spender, uint256 value) returns(bool)

func (*BaseTokenTransactorSession) DecreaseAllowance

func (_BaseToken *BaseTokenTransactorSession) DecreaseAllowance(spender common.Address, subtractedValue *big.Int) (*types.Transaction, error)

DecreaseAllowance is a paid mutator transaction binding the contract method 0xa457c2d7.

Solidity: function decreaseAllowance(address spender, uint256 subtractedValue) returns(bool)

func (*BaseTokenTransactorSession) Faucet

func (_BaseToken *BaseTokenTransactorSession) Faucet() (*types.Transaction, error)

Faucet is a paid mutator transaction binding the contract method 0xde5f72fd.

Solidity: function faucet() returns()

func (*BaseTokenTransactorSession) IncreaseAllowance

func (_BaseToken *BaseTokenTransactorSession) IncreaseAllowance(spender common.Address, addedValue *big.Int) (*types.Transaction, error)

IncreaseAllowance is a paid mutator transaction binding the contract method 0x39509351.

Solidity: function increaseAllowance(address spender, uint256 addedValue) returns(bool)

func (*BaseTokenTransactorSession) Issue

func (_BaseToken *BaseTokenTransactorSession) Issue(account common.Address, value *big.Int) (*types.Transaction, error)

Issue is a paid mutator transaction binding the contract method 0x867904b4.

Solidity: function issue(address account, uint256 value) returns()

func (*BaseTokenTransactorSession) Kill

func (_BaseToken *BaseTokenTransactorSession) Kill() (*types.Transaction, error)

Kill is a paid mutator transaction binding the contract method 0x41c0e1b5.

Solidity: function kill() returns()

func (*BaseTokenTransactorSession) Mint

func (_BaseToken *BaseTokenTransactorSession) Mint(to common.Address, amount *big.Int) (*types.Transaction, error)

Mint is a paid mutator transaction binding the contract method 0x40c10f19.

Solidity: function mint(address to, uint256 amount) returns()

func (*BaseTokenTransactorSession) RenounceOwnership

func (_BaseToken *BaseTokenTransactorSession) RenounceOwnership() (*types.Transaction, error)

RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.

Solidity: function renounceOwnership() returns()

func (*BaseTokenTransactorSession) Transfer

func (_BaseToken *BaseTokenTransactorSession) Transfer(recipient common.Address, amount *big.Int) (*types.Transaction, error)

Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.

Solidity: function transfer(address recipient, uint256 amount) returns(bool)

func (*BaseTokenTransactorSession) TransferFrom

func (_BaseToken *BaseTokenTransactorSession) TransferFrom(sender common.Address, recipient common.Address, amount *big.Int) (*types.Transaction, error)

TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.

Solidity: function transferFrom(address sender, address recipient, uint256 amount) returns(bool)

func (*BaseTokenTransactorSession) TransferOwnership

func (_BaseToken *BaseTokenTransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)

TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.

Solidity: function transferOwnership(address newOwner) returns()

type BaseTokenTransfer

type BaseTokenTransfer struct {
	From  common.Address
	To    common.Address
	Value *big.Int
	Raw   types.Log // Blockchain specific contextual infos
}

BaseTokenTransfer represents a Transfer event raised by the BaseToken contract.

type BaseTokenTransferIterator

type BaseTokenTransferIterator struct {
	Event *BaseTokenTransfer // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

BaseTokenTransferIterator is returned from FilterTransfer and is used to iterate over the raw logs and unpacked data for Transfer events raised by the BaseToken contract.

func (*BaseTokenTransferIterator) Close

func (it *BaseTokenTransferIterator) Close() error

Close terminates the iteration process, releasing any pending underlying resources.

func (*BaseTokenTransferIterator) Error

func (it *BaseTokenTransferIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*BaseTokenTransferIterator) Next

func (it *BaseTokenTransferIterator) Next() bool

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type ERC20Bridge

type ERC20Bridge struct {
	ERC20BridgeCaller     // Read-only binding to the contract
	ERC20BridgeTransactor // Write-only binding to the contract
	ERC20BridgeFilterer   // Log filterer for contract events
}

ERC20Bridge is an auto generated Go binding around an Ethereum contract.

func NewERC20Bridge

func NewERC20Bridge(address common.Address, backend bind.ContractBackend) (*ERC20Bridge, error)

NewERC20Bridge creates a new instance of ERC20Bridge, bound to a specific deployed contract.

type ERC20BridgeAssetDeposited

type ERC20BridgeAssetDeposited struct {
	UserAddress   common.Address
	AssetSource   common.Address
	Amount        *big.Int
	VegaPublicKey [32]byte
	Raw           types.Log // Blockchain specific contextual infos
}

ERC20BridgeAssetDeposited represents a AssetDeposited event raised by the ERC20Bridge contract.

type ERC20BridgeAssetDepositedIterator

type ERC20BridgeAssetDepositedIterator struct {
	Event *ERC20BridgeAssetDeposited // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

ERC20BridgeAssetDepositedIterator is returned from FilterAssetDeposited and is used to iterate over the raw logs and unpacked data for AssetDeposited events raised by the ERC20Bridge contract.

func (*ERC20BridgeAssetDepositedIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*ERC20BridgeAssetDepositedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*ERC20BridgeAssetDepositedIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type ERC20BridgeAssetLimitsUpdated

type ERC20BridgeAssetLimitsUpdated struct {
	AssetSource       common.Address
	LifetimeLimit     *big.Int
	WithdrawThreshold *big.Int
	Raw               types.Log // Blockchain specific contextual infos
}

ERC20BridgeAssetLimitsUpdated represents a AssetLimitsUpdated event raised by the ERC20Bridge contract.

type ERC20BridgeAssetLimitsUpdatedIterator

type ERC20BridgeAssetLimitsUpdatedIterator struct {
	Event *ERC20BridgeAssetLimitsUpdated // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

ERC20BridgeAssetLimitsUpdatedIterator is returned from FilterAssetLimitsUpdated and is used to iterate over the raw logs and unpacked data for AssetLimitsUpdated events raised by the ERC20Bridge contract.

func (*ERC20BridgeAssetLimitsUpdatedIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*ERC20BridgeAssetLimitsUpdatedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*ERC20BridgeAssetLimitsUpdatedIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type ERC20BridgeAssetListed

type ERC20BridgeAssetListed struct {
	AssetSource common.Address
	VegaAssetId [32]byte
	Nonce       *big.Int
	Raw         types.Log // Blockchain specific contextual infos
}

ERC20BridgeAssetListed represents a AssetListed event raised by the ERC20Bridge contract.

type ERC20BridgeAssetListedIterator

type ERC20BridgeAssetListedIterator struct {
	Event *ERC20BridgeAssetListed // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

ERC20BridgeAssetListedIterator is returned from FilterAssetListed and is used to iterate over the raw logs and unpacked data for AssetListed events raised by the ERC20Bridge contract.

func (*ERC20BridgeAssetListedIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*ERC20BridgeAssetListedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*ERC20BridgeAssetListedIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type ERC20BridgeAssetRemoved

type ERC20BridgeAssetRemoved struct {
	AssetSource common.Address
	Nonce       *big.Int
	Raw         types.Log // Blockchain specific contextual infos
}

ERC20BridgeAssetRemoved represents a AssetRemoved event raised by the ERC20Bridge contract.

type ERC20BridgeAssetRemovedIterator

type ERC20BridgeAssetRemovedIterator struct {
	Event *ERC20BridgeAssetRemoved // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

ERC20BridgeAssetRemovedIterator is returned from FilterAssetRemoved and is used to iterate over the raw logs and unpacked data for AssetRemoved events raised by the ERC20Bridge contract.

func (*ERC20BridgeAssetRemovedIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*ERC20BridgeAssetRemovedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*ERC20BridgeAssetRemovedIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type ERC20BridgeAssetWithdrawn

type ERC20BridgeAssetWithdrawn struct {
	UserAddress common.Address
	AssetSource common.Address
	Amount      *big.Int
	Nonce       *big.Int
	Raw         types.Log // Blockchain specific contextual infos
}

ERC20BridgeAssetWithdrawn represents a AssetWithdrawn event raised by the ERC20Bridge contract.

type ERC20BridgeAssetWithdrawnIterator

type ERC20BridgeAssetWithdrawnIterator struct {
	Event *ERC20BridgeAssetWithdrawn // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

ERC20BridgeAssetWithdrawnIterator is returned from FilterAssetWithdrawn and is used to iterate over the raw logs and unpacked data for AssetWithdrawn events raised by the ERC20Bridge contract.

func (*ERC20BridgeAssetWithdrawnIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*ERC20BridgeAssetWithdrawnIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*ERC20BridgeAssetWithdrawnIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type ERC20BridgeBridgeResumed

type ERC20BridgeBridgeResumed struct {
	Raw types.Log // Blockchain specific contextual infos
}

ERC20BridgeBridgeResumed represents a BridgeResumed event raised by the ERC20Bridge contract.

type ERC20BridgeBridgeResumedIterator

type ERC20BridgeBridgeResumedIterator struct {
	Event *ERC20BridgeBridgeResumed // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

ERC20BridgeBridgeResumedIterator is returned from FilterBridgeResumed and is used to iterate over the raw logs and unpacked data for BridgeResumed events raised by the ERC20Bridge contract.

func (*ERC20BridgeBridgeResumedIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*ERC20BridgeBridgeResumedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*ERC20BridgeBridgeResumedIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type ERC20BridgeBridgeStopped

type ERC20BridgeBridgeStopped struct {
	Raw types.Log // Blockchain specific contextual infos
}

ERC20BridgeBridgeStopped represents a BridgeStopped event raised by the ERC20Bridge contract.

type ERC20BridgeBridgeStoppedIterator

type ERC20BridgeBridgeStoppedIterator struct {
	Event *ERC20BridgeBridgeStopped // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

ERC20BridgeBridgeStoppedIterator is returned from FilterBridgeStopped and is used to iterate over the raw logs and unpacked data for BridgeStopped events raised by the ERC20Bridge contract.

func (*ERC20BridgeBridgeStoppedIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*ERC20BridgeBridgeStoppedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*ERC20BridgeBridgeStoppedIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type ERC20BridgeBridgeWithdrawDelaySet

type ERC20BridgeBridgeWithdrawDelaySet struct {
	WithdrawDelay *big.Int
	Raw           types.Log // Blockchain specific contextual infos
}

ERC20BridgeBridgeWithdrawDelaySet represents a BridgeWithdrawDelaySet event raised by the ERC20Bridge contract.

type ERC20BridgeBridgeWithdrawDelaySetIterator

type ERC20BridgeBridgeWithdrawDelaySetIterator struct {
	Event *ERC20BridgeBridgeWithdrawDelaySet // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

ERC20BridgeBridgeWithdrawDelaySetIterator is returned from FilterBridgeWithdrawDelaySet and is used to iterate over the raw logs and unpacked data for BridgeWithdrawDelaySet events raised by the ERC20Bridge contract.

func (*ERC20BridgeBridgeWithdrawDelaySetIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*ERC20BridgeBridgeWithdrawDelaySetIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*ERC20BridgeBridgeWithdrawDelaySetIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type ERC20BridgeCaller

type ERC20BridgeCaller struct {
	// contains filtered or unexported fields
}

ERC20BridgeCaller is an auto generated read-only Go binding around an Ethereum contract.

func NewERC20BridgeCaller

func NewERC20BridgeCaller(address common.Address, caller bind.ContractCaller) (*ERC20BridgeCaller, error)

NewERC20BridgeCaller creates a new read-only instance of ERC20Bridge, bound to a specific deployed contract.

func (*ERC20BridgeCaller) DefaultWithdrawDelay

func (_ERC20Bridge *ERC20BridgeCaller) DefaultWithdrawDelay(opts *bind.CallOpts) (*big.Int, error)

DefaultWithdrawDelay is a free data retrieval call binding the contract method 0x3f4f199d.

Solidity: function default_withdraw_delay() view returns(uint256)

func (*ERC20BridgeCaller) Erc20AssetPoolAddress

func (_ERC20Bridge *ERC20BridgeCaller) Erc20AssetPoolAddress(opts *bind.CallOpts) (common.Address, error)

Erc20AssetPoolAddress is a free data retrieval call binding the contract method 0x9356aab8.

Solidity: function erc20_asset_pool_address() view returns(address)

func (*ERC20BridgeCaller) GetAssetDepositLifetimeLimit

func (_ERC20Bridge *ERC20BridgeCaller) GetAssetDepositLifetimeLimit(opts *bind.CallOpts, asset_source common.Address) (*big.Int, error)

GetAssetDepositLifetimeLimit is a free data retrieval call binding the contract method 0x354a897a.

Solidity: function get_asset_deposit_lifetime_limit(address asset_source) view returns(uint256)

func (*ERC20BridgeCaller) GetAssetSource

func (_ERC20Bridge *ERC20BridgeCaller) GetAssetSource(opts *bind.CallOpts, vega_asset_id [32]byte) (common.Address, error)

GetAssetSource is a free data retrieval call binding the contract method 0x786b0bc0.

Solidity: function get_asset_source(bytes32 vega_asset_id) view returns(address)

func (*ERC20BridgeCaller) GetMultisigControlAddress

func (_ERC20Bridge *ERC20BridgeCaller) GetMultisigControlAddress(opts *bind.CallOpts) (common.Address, error)

GetMultisigControlAddress is a free data retrieval call binding the contract method 0xc58dc3b9.

Solidity: function get_multisig_control_address() view returns(address)

func (*ERC20BridgeCaller) GetVegaAssetId

func (_ERC20Bridge *ERC20BridgeCaller) GetVegaAssetId(opts *bind.CallOpts, asset_source common.Address) ([32]byte, error)

GetVegaAssetId is a free data retrieval call binding the contract method 0xa06b5d39.

Solidity: function get_vega_asset_id(address asset_source) view returns(bytes32)

func (*ERC20BridgeCaller) GetWithdrawThreshold

func (_ERC20Bridge *ERC20BridgeCaller) GetWithdrawThreshold(opts *bind.CallOpts, asset_source common.Address) (*big.Int, error)

GetWithdrawThreshold is a free data retrieval call binding the contract method 0xe8a7bce0.

Solidity: function get_withdraw_threshold(address asset_source) view returns(uint256)

func (*ERC20BridgeCaller) IsAssetListed

func (_ERC20Bridge *ERC20BridgeCaller) IsAssetListed(opts *bind.CallOpts, asset_source common.Address) (bool, error)

IsAssetListed is a free data retrieval call binding the contract method 0x7fd27b7f.

Solidity: function is_asset_listed(address asset_source) view returns(bool)

func (*ERC20BridgeCaller) IsExemptDepositor

func (_ERC20Bridge *ERC20BridgeCaller) IsExemptDepositor(opts *bind.CallOpts, depositor common.Address) (bool, error)

IsExemptDepositor is a free data retrieval call binding the contract method 0x15c0df9d.

Solidity: function is_exempt_depositor(address depositor) view returns(bool)

func (*ERC20BridgeCaller) IsStopped

func (_ERC20Bridge *ERC20BridgeCaller) IsStopped(opts *bind.CallOpts) (bool, error)

IsStopped is a free data retrieval call binding the contract method 0xe272e9d0.

Solidity: function is_stopped() view returns(bool)

type ERC20BridgeCallerRaw

type ERC20BridgeCallerRaw struct {
	Contract *ERC20BridgeCaller // Generic read-only contract binding to access the raw methods on
}

ERC20BridgeCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.

func (*ERC20BridgeCallerRaw) Call

func (_ERC20Bridge *ERC20BridgeCallerRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error

Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.

type ERC20BridgeCallerSession

type ERC20BridgeCallerSession struct {
	Contract *ERC20BridgeCaller // Generic contract caller binding to set the session for
	CallOpts bind.CallOpts      // Call options to use throughout this session
}

ERC20BridgeCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.

func (*ERC20BridgeCallerSession) DefaultWithdrawDelay

func (_ERC20Bridge *ERC20BridgeCallerSession) DefaultWithdrawDelay() (*big.Int, error)

DefaultWithdrawDelay is a free data retrieval call binding the contract method 0x3f4f199d.

Solidity: function default_withdraw_delay() view returns(uint256)

func (*ERC20BridgeCallerSession) Erc20AssetPoolAddress

func (_ERC20Bridge *ERC20BridgeCallerSession) Erc20AssetPoolAddress() (common.Address, error)

Erc20AssetPoolAddress is a free data retrieval call binding the contract method 0x9356aab8.

Solidity: function erc20_asset_pool_address() view returns(address)

func (*ERC20BridgeCallerSession) GetAssetDepositLifetimeLimit

func (_ERC20Bridge *ERC20BridgeCallerSession) GetAssetDepositLifetimeLimit(asset_source common.Address) (*big.Int, error)

GetAssetDepositLifetimeLimit is a free data retrieval call binding the contract method 0x354a897a.

Solidity: function get_asset_deposit_lifetime_limit(address asset_source) view returns(uint256)

func (*ERC20BridgeCallerSession) GetAssetSource

func (_ERC20Bridge *ERC20BridgeCallerSession) GetAssetSource(vega_asset_id [32]byte) (common.Address, error)

GetAssetSource is a free data retrieval call binding the contract method 0x786b0bc0.

Solidity: function get_asset_source(bytes32 vega_asset_id) view returns(address)

func (*ERC20BridgeCallerSession) GetMultisigControlAddress

func (_ERC20Bridge *ERC20BridgeCallerSession) GetMultisigControlAddress() (common.Address, error)

GetMultisigControlAddress is a free data retrieval call binding the contract method 0xc58dc3b9.

Solidity: function get_multisig_control_address() view returns(address)

func (*ERC20BridgeCallerSession) GetVegaAssetId

func (_ERC20Bridge *ERC20BridgeCallerSession) GetVegaAssetId(asset_source common.Address) ([32]byte, error)

GetVegaAssetId is a free data retrieval call binding the contract method 0xa06b5d39.

Solidity: function get_vega_asset_id(address asset_source) view returns(bytes32)

func (*ERC20BridgeCallerSession) GetWithdrawThreshold

func (_ERC20Bridge *ERC20BridgeCallerSession) GetWithdrawThreshold(asset_source common.Address) (*big.Int, error)

GetWithdrawThreshold is a free data retrieval call binding the contract method 0xe8a7bce0.

Solidity: function get_withdraw_threshold(address asset_source) view returns(uint256)

func (*ERC20BridgeCallerSession) IsAssetListed

func (_ERC20Bridge *ERC20BridgeCallerSession) IsAssetListed(asset_source common.Address) (bool, error)

IsAssetListed is a free data retrieval call binding the contract method 0x7fd27b7f.

Solidity: function is_asset_listed(address asset_source) view returns(bool)

func (*ERC20BridgeCallerSession) IsExemptDepositor

func (_ERC20Bridge *ERC20BridgeCallerSession) IsExemptDepositor(depositor common.Address) (bool, error)

IsExemptDepositor is a free data retrieval call binding the contract method 0x15c0df9d.

Solidity: function is_exempt_depositor(address depositor) view returns(bool)

func (*ERC20BridgeCallerSession) IsStopped

func (_ERC20Bridge *ERC20BridgeCallerSession) IsStopped() (bool, error)

IsStopped is a free data retrieval call binding the contract method 0xe272e9d0.

Solidity: function is_stopped() view returns(bool)

type ERC20BridgeDepositorExempted

type ERC20BridgeDepositorExempted struct {
	Depositor common.Address
	Raw       types.Log // Blockchain specific contextual infos
}

ERC20BridgeDepositorExempted represents a DepositorExempted event raised by the ERC20Bridge contract.

type ERC20BridgeDepositorExemptedIterator

type ERC20BridgeDepositorExemptedIterator struct {
	Event *ERC20BridgeDepositorExempted // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

ERC20BridgeDepositorExemptedIterator is returned from FilterDepositorExempted and is used to iterate over the raw logs and unpacked data for DepositorExempted events raised by the ERC20Bridge contract.

func (*ERC20BridgeDepositorExemptedIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*ERC20BridgeDepositorExemptedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*ERC20BridgeDepositorExemptedIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type ERC20BridgeDepositorExemptionRevoked

type ERC20BridgeDepositorExemptionRevoked struct {
	Depositor common.Address
	Raw       types.Log // Blockchain specific contextual infos
}

ERC20BridgeDepositorExemptionRevoked represents a DepositorExemptionRevoked event raised by the ERC20Bridge contract.

type ERC20BridgeDepositorExemptionRevokedIterator

type ERC20BridgeDepositorExemptionRevokedIterator struct {
	Event *ERC20BridgeDepositorExemptionRevoked // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

ERC20BridgeDepositorExemptionRevokedIterator is returned from FilterDepositorExemptionRevoked and is used to iterate over the raw logs and unpacked data for DepositorExemptionRevoked events raised by the ERC20Bridge contract.

func (*ERC20BridgeDepositorExemptionRevokedIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*ERC20BridgeDepositorExemptionRevokedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*ERC20BridgeDepositorExemptionRevokedIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type ERC20BridgeFilterer

type ERC20BridgeFilterer struct {
	// contains filtered or unexported fields
}

ERC20BridgeFilterer is an auto generated log filtering Go binding around an Ethereum contract events.

func NewERC20BridgeFilterer

func NewERC20BridgeFilterer(address common.Address, filterer bind.ContractFilterer) (*ERC20BridgeFilterer, error)

NewERC20BridgeFilterer creates a new log filterer instance of ERC20Bridge, bound to a specific deployed contract.

func (*ERC20BridgeFilterer) FilterAssetDeposited

func (_ERC20Bridge *ERC20BridgeFilterer) FilterAssetDeposited(opts *bind.FilterOpts, user_address []common.Address, asset_source []common.Address) (*ERC20BridgeAssetDepositedIterator, error)

FilterAssetDeposited is a free log retrieval operation binding the contract event 0x3724ff5e82ddc640a08d68b0b782a5991aea0de51a8dd10a59cdbe5b3ec4e6bf.

Solidity: event Asset_Deposited(address indexed user_address, address indexed asset_source, uint256 amount, bytes32 vega_public_key)

func (*ERC20BridgeFilterer) FilterAssetLimitsUpdated

func (_ERC20Bridge *ERC20BridgeFilterer) FilterAssetLimitsUpdated(opts *bind.FilterOpts, asset_source []common.Address) (*ERC20BridgeAssetLimitsUpdatedIterator, error)

FilterAssetLimitsUpdated is a free log retrieval operation binding the contract event 0xfc7eab762b8751ad85c101fd1025c763b4e8d48f2093f506629b606618e884fe.

Solidity: event Asset_Limits_Updated(address indexed asset_source, uint256 lifetime_limit, uint256 withdraw_threshold)

func (*ERC20BridgeFilterer) FilterAssetListed

func (_ERC20Bridge *ERC20BridgeFilterer) FilterAssetListed(opts *bind.FilterOpts, asset_source []common.Address, vega_asset_id [][32]byte) (*ERC20BridgeAssetListedIterator, error)

FilterAssetListed is a free log retrieval operation binding the contract event 0x4180d77d05ff0d31650c548c23f2de07a3da3ad42e3dd6edd817b438a150452e.

Solidity: event Asset_Listed(address indexed asset_source, bytes32 indexed vega_asset_id, uint256 nonce)

func (*ERC20BridgeFilterer) FilterAssetRemoved

func (_ERC20Bridge *ERC20BridgeFilterer) FilterAssetRemoved(opts *bind.FilterOpts, asset_source []common.Address) (*ERC20BridgeAssetRemovedIterator, error)

FilterAssetRemoved is a free log retrieval operation binding the contract event 0x58ad5e799e2df93ab408be0e5c1870d44c80b5bca99dfaf7ddf0dab5e6b155c9.

Solidity: event Asset_Removed(address indexed asset_source, uint256 nonce)

func (*ERC20BridgeFilterer) FilterAssetWithdrawn

func (_ERC20Bridge *ERC20BridgeFilterer) FilterAssetWithdrawn(opts *bind.FilterOpts, user_address []common.Address, asset_source []common.Address) (*ERC20BridgeAssetWithdrawnIterator, error)

FilterAssetWithdrawn is a free log retrieval operation binding the contract event 0xa79be4f3361e32d396d64c478ecef73732cb40b2a75702c3b3b3226a2c83b5df.

Solidity: event Asset_Withdrawn(address indexed user_address, address indexed asset_source, uint256 amount, uint256 nonce)

func (*ERC20BridgeFilterer) FilterBridgeResumed

func (_ERC20Bridge *ERC20BridgeFilterer) FilterBridgeResumed(opts *bind.FilterOpts) (*ERC20BridgeBridgeResumedIterator, error)

FilterBridgeResumed is a free log retrieval operation binding the contract event 0x79c02b0e60e0f00fe0370791204f2f175fe3f06f4816f3506ad4fa1b8e8cde0f.

Solidity: event Bridge_Resumed()

func (*ERC20BridgeFilterer) FilterBridgeStopped

func (_ERC20Bridge *ERC20BridgeFilterer) FilterBridgeStopped(opts *bind.FilterOpts) (*ERC20BridgeBridgeStoppedIterator, error)

FilterBridgeStopped is a free log retrieval operation binding the contract event 0x129d99581c8e70519df1f0733d3212f33d0ed3ea6144adacc336c647f1d36382.

Solidity: event Bridge_Stopped()

func (*ERC20BridgeFilterer) FilterBridgeWithdrawDelaySet

func (_ERC20Bridge *ERC20BridgeFilterer) FilterBridgeWithdrawDelaySet(opts *bind.FilterOpts) (*ERC20BridgeBridgeWithdrawDelaySetIterator, error)

FilterBridgeWithdrawDelaySet is a free log retrieval operation binding the contract event 0x1c7e8f73a01b8af4e18dd34455a42a45ad742bdb79cfda77bbdf50db2391fc88.

Solidity: event Bridge_Withdraw_Delay_Set(uint256 withdraw_delay)

func (*ERC20BridgeFilterer) FilterDepositorExempted

func (_ERC20Bridge *ERC20BridgeFilterer) FilterDepositorExempted(opts *bind.FilterOpts, depositor []common.Address) (*ERC20BridgeDepositorExemptedIterator, error)

FilterDepositorExempted is a free log retrieval operation binding the contract event 0xf56e0868b913034a60dbca9c89ee79f8b0fa18dadbc5f6665f2f9a2cf3f51cdb.

Solidity: event Depositor_Exempted(address indexed depositor)

func (*ERC20BridgeFilterer) FilterDepositorExemptionRevoked

func (_ERC20Bridge *ERC20BridgeFilterer) FilterDepositorExemptionRevoked(opts *bind.FilterOpts, depositor []common.Address) (*ERC20BridgeDepositorExemptionRevokedIterator, error)

FilterDepositorExemptionRevoked is a free log retrieval operation binding the contract event 0xe74b113dca87276d976f476a9b4b9da3c780a3262eaabad051ee4e98912936a4.

Solidity: event Depositor_Exemption_Revoked(address indexed depositor)

func (*ERC20BridgeFilterer) ParseAssetDeposited

func (_ERC20Bridge *ERC20BridgeFilterer) ParseAssetDeposited(log types.Log) (*ERC20BridgeAssetDeposited, error)

ParseAssetDeposited is a log parse operation binding the contract event 0x3724ff5e82ddc640a08d68b0b782a5991aea0de51a8dd10a59cdbe5b3ec4e6bf.

Solidity: event Asset_Deposited(address indexed user_address, address indexed asset_source, uint256 amount, bytes32 vega_public_key)

func (*ERC20BridgeFilterer) ParseAssetLimitsUpdated

func (_ERC20Bridge *ERC20BridgeFilterer) ParseAssetLimitsUpdated(log types.Log) (*ERC20BridgeAssetLimitsUpdated, error)

ParseAssetLimitsUpdated is a log parse operation binding the contract event 0xfc7eab762b8751ad85c101fd1025c763b4e8d48f2093f506629b606618e884fe.

Solidity: event Asset_Limits_Updated(address indexed asset_source, uint256 lifetime_limit, uint256 withdraw_threshold)

func (*ERC20BridgeFilterer) ParseAssetListed

func (_ERC20Bridge *ERC20BridgeFilterer) ParseAssetListed(log types.Log) (*ERC20BridgeAssetListed, error)

ParseAssetListed is a log parse operation binding the contract event 0x4180d77d05ff0d31650c548c23f2de07a3da3ad42e3dd6edd817b438a150452e.

Solidity: event Asset_Listed(address indexed asset_source, bytes32 indexed vega_asset_id, uint256 nonce)

func (*ERC20BridgeFilterer) ParseAssetRemoved

func (_ERC20Bridge *ERC20BridgeFilterer) ParseAssetRemoved(log types.Log) (*ERC20BridgeAssetRemoved, error)

ParseAssetRemoved is a log parse operation binding the contract event 0x58ad5e799e2df93ab408be0e5c1870d44c80b5bca99dfaf7ddf0dab5e6b155c9.

Solidity: event Asset_Removed(address indexed asset_source, uint256 nonce)

func (*ERC20BridgeFilterer) ParseAssetWithdrawn

func (_ERC20Bridge *ERC20BridgeFilterer) ParseAssetWithdrawn(log types.Log) (*ERC20BridgeAssetWithdrawn, error)

ParseAssetWithdrawn is a log parse operation binding the contract event 0xa79be4f3361e32d396d64c478ecef73732cb40b2a75702c3b3b3226a2c83b5df.

Solidity: event Asset_Withdrawn(address indexed user_address, address indexed asset_source, uint256 amount, uint256 nonce)

func (*ERC20BridgeFilterer) ParseBridgeResumed

func (_ERC20Bridge *ERC20BridgeFilterer) ParseBridgeResumed(log types.Log) (*ERC20BridgeBridgeResumed, error)

ParseBridgeResumed is a log parse operation binding the contract event 0x79c02b0e60e0f00fe0370791204f2f175fe3f06f4816f3506ad4fa1b8e8cde0f.

Solidity: event Bridge_Resumed()

func (*ERC20BridgeFilterer) ParseBridgeStopped

func (_ERC20Bridge *ERC20BridgeFilterer) ParseBridgeStopped(log types.Log) (*ERC20BridgeBridgeStopped, error)

ParseBridgeStopped is a log parse operation binding the contract event 0x129d99581c8e70519df1f0733d3212f33d0ed3ea6144adacc336c647f1d36382.

Solidity: event Bridge_Stopped()

func (*ERC20BridgeFilterer) ParseBridgeWithdrawDelaySet

func (_ERC20Bridge *ERC20BridgeFilterer) ParseBridgeWithdrawDelaySet(log types.Log) (*ERC20BridgeBridgeWithdrawDelaySet, error)

ParseBridgeWithdrawDelaySet is a log parse operation binding the contract event 0x1c7e8f73a01b8af4e18dd34455a42a45ad742bdb79cfda77bbdf50db2391fc88.

Solidity: event Bridge_Withdraw_Delay_Set(uint256 withdraw_delay)

func (*ERC20BridgeFilterer) ParseDepositorExempted

func (_ERC20Bridge *ERC20BridgeFilterer) ParseDepositorExempted(log types.Log) (*ERC20BridgeDepositorExempted, error)

ParseDepositorExempted is a log parse operation binding the contract event 0xf56e0868b913034a60dbca9c89ee79f8b0fa18dadbc5f6665f2f9a2cf3f51cdb.

Solidity: event Depositor_Exempted(address indexed depositor)

func (*ERC20BridgeFilterer) ParseDepositorExemptionRevoked

func (_ERC20Bridge *ERC20BridgeFilterer) ParseDepositorExemptionRevoked(log types.Log) (*ERC20BridgeDepositorExemptionRevoked, error)

ParseDepositorExemptionRevoked is a log parse operation binding the contract event 0xe74b113dca87276d976f476a9b4b9da3c780a3262eaabad051ee4e98912936a4.

Solidity: event Depositor_Exemption_Revoked(address indexed depositor)

func (*ERC20BridgeFilterer) WatchAssetDeposited

func (_ERC20Bridge *ERC20BridgeFilterer) WatchAssetDeposited(opts *bind.WatchOpts, sink chan<- *ERC20BridgeAssetDeposited, user_address []common.Address, asset_source []common.Address) (event.Subscription, error)

WatchAssetDeposited is a free log subscription operation binding the contract event 0x3724ff5e82ddc640a08d68b0b782a5991aea0de51a8dd10a59cdbe5b3ec4e6bf.

Solidity: event Asset_Deposited(address indexed user_address, address indexed asset_source, uint256 amount, bytes32 vega_public_key)

func (*ERC20BridgeFilterer) WatchAssetLimitsUpdated

func (_ERC20Bridge *ERC20BridgeFilterer) WatchAssetLimitsUpdated(opts *bind.WatchOpts, sink chan<- *ERC20BridgeAssetLimitsUpdated, asset_source []common.Address) (event.Subscription, error)

WatchAssetLimitsUpdated is a free log subscription operation binding the contract event 0xfc7eab762b8751ad85c101fd1025c763b4e8d48f2093f506629b606618e884fe.

Solidity: event Asset_Limits_Updated(address indexed asset_source, uint256 lifetime_limit, uint256 withdraw_threshold)

func (*ERC20BridgeFilterer) WatchAssetListed

func (_ERC20Bridge *ERC20BridgeFilterer) WatchAssetListed(opts *bind.WatchOpts, sink chan<- *ERC20BridgeAssetListed, asset_source []common.Address, vega_asset_id [][32]byte) (event.Subscription, error)

WatchAssetListed is a free log subscription operation binding the contract event 0x4180d77d05ff0d31650c548c23f2de07a3da3ad42e3dd6edd817b438a150452e.

Solidity: event Asset_Listed(address indexed asset_source, bytes32 indexed vega_asset_id, uint256 nonce)

func (*ERC20BridgeFilterer) WatchAssetRemoved

func (_ERC20Bridge *ERC20BridgeFilterer) WatchAssetRemoved(opts *bind.WatchOpts, sink chan<- *ERC20BridgeAssetRemoved, asset_source []common.Address) (event.Subscription, error)

WatchAssetRemoved is a free log subscription operation binding the contract event 0x58ad5e799e2df93ab408be0e5c1870d44c80b5bca99dfaf7ddf0dab5e6b155c9.

Solidity: event Asset_Removed(address indexed asset_source, uint256 nonce)

func (*ERC20BridgeFilterer) WatchAssetWithdrawn

func (_ERC20Bridge *ERC20BridgeFilterer) WatchAssetWithdrawn(opts *bind.WatchOpts, sink chan<- *ERC20BridgeAssetWithdrawn, user_address []common.Address, asset_source []common.Address) (event.Subscription, error)

WatchAssetWithdrawn is a free log subscription operation binding the contract event 0xa79be4f3361e32d396d64c478ecef73732cb40b2a75702c3b3b3226a2c83b5df.

Solidity: event Asset_Withdrawn(address indexed user_address, address indexed asset_source, uint256 amount, uint256 nonce)

func (*ERC20BridgeFilterer) WatchBridgeResumed

func (_ERC20Bridge *ERC20BridgeFilterer) WatchBridgeResumed(opts *bind.WatchOpts, sink chan<- *ERC20BridgeBridgeResumed) (event.Subscription, error)

WatchBridgeResumed is a free log subscription operation binding the contract event 0x79c02b0e60e0f00fe0370791204f2f175fe3f06f4816f3506ad4fa1b8e8cde0f.

Solidity: event Bridge_Resumed()

func (*ERC20BridgeFilterer) WatchBridgeStopped

func (_ERC20Bridge *ERC20BridgeFilterer) WatchBridgeStopped(opts *bind.WatchOpts, sink chan<- *ERC20BridgeBridgeStopped) (event.Subscription, error)

WatchBridgeStopped is a free log subscription operation binding the contract event 0x129d99581c8e70519df1f0733d3212f33d0ed3ea6144adacc336c647f1d36382.

Solidity: event Bridge_Stopped()

func (*ERC20BridgeFilterer) WatchBridgeWithdrawDelaySet

func (_ERC20Bridge *ERC20BridgeFilterer) WatchBridgeWithdrawDelaySet(opts *bind.WatchOpts, sink chan<- *ERC20BridgeBridgeWithdrawDelaySet) (event.Subscription, error)

WatchBridgeWithdrawDelaySet is a free log subscription operation binding the contract event 0x1c7e8f73a01b8af4e18dd34455a42a45ad742bdb79cfda77bbdf50db2391fc88.

Solidity: event Bridge_Withdraw_Delay_Set(uint256 withdraw_delay)

func (*ERC20BridgeFilterer) WatchDepositorExempted

func (_ERC20Bridge *ERC20BridgeFilterer) WatchDepositorExempted(opts *bind.WatchOpts, sink chan<- *ERC20BridgeDepositorExempted, depositor []common.Address) (event.Subscription, error)

WatchDepositorExempted is a free log subscription operation binding the contract event 0xf56e0868b913034a60dbca9c89ee79f8b0fa18dadbc5f6665f2f9a2cf3f51cdb.

Solidity: event Depositor_Exempted(address indexed depositor)

func (*ERC20BridgeFilterer) WatchDepositorExemptionRevoked

func (_ERC20Bridge *ERC20BridgeFilterer) WatchDepositorExemptionRevoked(opts *bind.WatchOpts, sink chan<- *ERC20BridgeDepositorExemptionRevoked, depositor []common.Address) (event.Subscription, error)

WatchDepositorExemptionRevoked is a free log subscription operation binding the contract event 0xe74b113dca87276d976f476a9b4b9da3c780a3262eaabad051ee4e98912936a4.

Solidity: event Depositor_Exemption_Revoked(address indexed depositor)

type ERC20BridgeRaw

type ERC20BridgeRaw struct {
	Contract *ERC20Bridge // Generic contract binding to access the raw methods on
}

ERC20BridgeRaw is an auto generated low-level Go binding around an Ethereum contract.

func (*ERC20BridgeRaw) Call

func (_ERC20Bridge *ERC20BridgeRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error

Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.

func (*ERC20BridgeRaw) Transact

func (_ERC20Bridge *ERC20BridgeRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*ERC20BridgeRaw) Transfer

func (_ERC20Bridge *ERC20BridgeRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)

Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.

type ERC20BridgeSession

type ERC20BridgeSession struct {
	Contract     *ERC20Bridge      // Generic contract binding to set the session for
	CallOpts     bind.CallOpts     // Call options to use throughout this session
	TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session
}

ERC20BridgeSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.

func (*ERC20BridgeSession) DefaultWithdrawDelay

func (_ERC20Bridge *ERC20BridgeSession) DefaultWithdrawDelay() (*big.Int, error)

DefaultWithdrawDelay is a free data retrieval call binding the contract method 0x3f4f199d.

Solidity: function default_withdraw_delay() view returns(uint256)

func (*ERC20BridgeSession) DepositAsset

func (_ERC20Bridge *ERC20BridgeSession) DepositAsset(asset_source common.Address, amount *big.Int, vega_public_key [32]byte) (*types.Transaction, error)

DepositAsset is a paid mutator transaction binding the contract method 0xf7683932.

Solidity: function deposit_asset(address asset_source, uint256 amount, bytes32 vega_public_key) returns()

func (*ERC20BridgeSession) Erc20AssetPoolAddress

func (_ERC20Bridge *ERC20BridgeSession) Erc20AssetPoolAddress() (common.Address, error)

Erc20AssetPoolAddress is a free data retrieval call binding the contract method 0x9356aab8.

Solidity: function erc20_asset_pool_address() view returns(address)

func (*ERC20BridgeSession) ExemptDepositor

func (_ERC20Bridge *ERC20BridgeSession) ExemptDepositor() (*types.Transaction, error)

ExemptDepositor is a paid mutator transaction binding the contract method 0xb76fbb75.

Solidity: function exempt_depositor() returns()

func (*ERC20BridgeSession) GetAssetDepositLifetimeLimit

func (_ERC20Bridge *ERC20BridgeSession) GetAssetDepositLifetimeLimit(asset_source common.Address) (*big.Int, error)

GetAssetDepositLifetimeLimit is a free data retrieval call binding the contract method 0x354a897a.

Solidity: function get_asset_deposit_lifetime_limit(address asset_source) view returns(uint256)

func (*ERC20BridgeSession) GetAssetSource

func (_ERC20Bridge *ERC20BridgeSession) GetAssetSource(vega_asset_id [32]byte) (common.Address, error)

GetAssetSource is a free data retrieval call binding the contract method 0x786b0bc0.

Solidity: function get_asset_source(bytes32 vega_asset_id) view returns(address)

func (*ERC20BridgeSession) GetMultisigControlAddress

func (_ERC20Bridge *ERC20BridgeSession) GetMultisigControlAddress() (common.Address, error)

GetMultisigControlAddress is a free data retrieval call binding the contract method 0xc58dc3b9.

Solidity: function get_multisig_control_address() view returns(address)

func (*ERC20BridgeSession) GetVegaAssetId

func (_ERC20Bridge *ERC20BridgeSession) GetVegaAssetId(asset_source common.Address) ([32]byte, error)

GetVegaAssetId is a free data retrieval call binding the contract method 0xa06b5d39.

Solidity: function get_vega_asset_id(address asset_source) view returns(bytes32)

func (*ERC20BridgeSession) GetWithdrawThreshold

func (_ERC20Bridge *ERC20BridgeSession) GetWithdrawThreshold(asset_source common.Address) (*big.Int, error)

GetWithdrawThreshold is a free data retrieval call binding the contract method 0xe8a7bce0.

Solidity: function get_withdraw_threshold(address asset_source) view returns(uint256)

func (*ERC20BridgeSession) GlobalResume

func (_ERC20Bridge *ERC20BridgeSession) GlobalResume(nonce *big.Int, signatures []byte) (*types.Transaction, error)

GlobalResume is a paid mutator transaction binding the contract method 0xd72ed529.

Solidity: function global_resume(uint256 nonce, bytes signatures) returns()

func (*ERC20BridgeSession) GlobalStop

func (_ERC20Bridge *ERC20BridgeSession) GlobalStop(nonce *big.Int, signatures []byte) (*types.Transaction, error)

GlobalStop is a paid mutator transaction binding the contract method 0x9dfd3c88.

Solidity: function global_stop(uint256 nonce, bytes signatures) returns()

func (*ERC20BridgeSession) IsAssetListed

func (_ERC20Bridge *ERC20BridgeSession) IsAssetListed(asset_source common.Address) (bool, error)

IsAssetListed is a free data retrieval call binding the contract method 0x7fd27b7f.

Solidity: function is_asset_listed(address asset_source) view returns(bool)

func (*ERC20BridgeSession) IsExemptDepositor

func (_ERC20Bridge *ERC20BridgeSession) IsExemptDepositor(depositor common.Address) (bool, error)

IsExemptDepositor is a free data retrieval call binding the contract method 0x15c0df9d.

Solidity: function is_exempt_depositor(address depositor) view returns(bool)

func (*ERC20BridgeSession) IsStopped

func (_ERC20Bridge *ERC20BridgeSession) IsStopped() (bool, error)

IsStopped is a free data retrieval call binding the contract method 0xe272e9d0.

Solidity: function is_stopped() view returns(bool)

func (*ERC20BridgeSession) ListAsset

func (_ERC20Bridge *ERC20BridgeSession) ListAsset(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)

ListAsset is a paid mutator transaction binding the contract method 0x0ff3562c.

Solidity: function list_asset(address asset_source, bytes32 vega_asset_id, uint256 lifetime_limit, uint256 withdraw_threshold, uint256 nonce, bytes signatures) returns()

func (*ERC20BridgeSession) RemoveAsset

func (_ERC20Bridge *ERC20BridgeSession) RemoveAsset(asset_source common.Address, nonce *big.Int, signatures []byte) (*types.Transaction, error)

RemoveAsset is a paid mutator transaction binding the contract method 0xc76de358.

Solidity: function remove_asset(address asset_source, uint256 nonce, bytes signatures) returns()

func (*ERC20BridgeSession) RevokeExemptDepositor

func (_ERC20Bridge *ERC20BridgeSession) RevokeExemptDepositor() (*types.Transaction, error)

RevokeExemptDepositor is a paid mutator transaction binding the contract method 0x6a1c6fa4.

Solidity: function revoke_exempt_depositor() returns()

func (*ERC20BridgeSession) SetAssetLimits

func (_ERC20Bridge *ERC20BridgeSession) SetAssetLimits(asset_source common.Address, lifetime_limit *big.Int, threshold *big.Int, nonce *big.Int, signatures []byte) (*types.Transaction, error)

SetAssetLimits is a paid mutator transaction binding the contract method 0x41fb776d.

Solidity: function set_asset_limits(address asset_source, uint256 lifetime_limit, uint256 threshold, uint256 nonce, bytes signatures) returns()

func (*ERC20BridgeSession) SetWithdrawDelay

func (_ERC20Bridge *ERC20BridgeSession) SetWithdrawDelay(delay *big.Int, nonce *big.Int, signatures []byte) (*types.Transaction, error)

SetWithdrawDelay is a paid mutator transaction binding the contract method 0x5a246728.

Solidity: function set_withdraw_delay(uint256 delay, uint256 nonce, bytes signatures) returns()

func (*ERC20BridgeSession) WithdrawAsset

func (_ERC20Bridge *ERC20BridgeSession) WithdrawAsset(asset_source common.Address, amount *big.Int, target common.Address, creation *big.Int, nonce *big.Int, signatures []byte) (*types.Transaction, error)

WithdrawAsset is a paid mutator transaction binding the contract method 0x3ad90635.

Solidity: function withdraw_asset(address asset_source, uint256 amount, address target, uint256 creation, uint256 nonce, bytes signatures) returns()

type ERC20BridgeTransactor

type ERC20BridgeTransactor struct {
	// contains filtered or unexported fields
}

ERC20BridgeTransactor is an auto generated write-only Go binding around an Ethereum contract.

func NewERC20BridgeTransactor

func NewERC20BridgeTransactor(address common.Address, transactor bind.ContractTransactor) (*ERC20BridgeTransactor, error)

NewERC20BridgeTransactor creates a new write-only instance of ERC20Bridge, bound to a specific deployed contract.

func (*ERC20BridgeTransactor) DepositAsset

func (_ERC20Bridge *ERC20BridgeTransactor) DepositAsset(opts *bind.TransactOpts, asset_source common.Address, amount *big.Int, vega_public_key [32]byte) (*types.Transaction, error)

DepositAsset is a paid mutator transaction binding the contract method 0xf7683932.

Solidity: function deposit_asset(address asset_source, uint256 amount, bytes32 vega_public_key) returns()

func (*ERC20BridgeTransactor) ExemptDepositor

func (_ERC20Bridge *ERC20BridgeTransactor) ExemptDepositor(opts *bind.TransactOpts) (*types.Transaction, error)

ExemptDepositor is a paid mutator transaction binding the contract method 0xb76fbb75.

Solidity: function exempt_depositor() returns()

func (*ERC20BridgeTransactor) GlobalResume

func (_ERC20Bridge *ERC20BridgeTransactor) GlobalResume(opts *bind.TransactOpts, nonce *big.Int, signatures []byte) (*types.Transaction, error)

GlobalResume is a paid mutator transaction binding the contract method 0xd72ed529.

Solidity: function global_resume(uint256 nonce, bytes signatures) returns()

func (*ERC20BridgeTransactor) GlobalStop

func (_ERC20Bridge *ERC20BridgeTransactor) GlobalStop(opts *bind.TransactOpts, nonce *big.Int, signatures []byte) (*types.Transaction, error)

GlobalStop is a paid mutator transaction binding the contract method 0x9dfd3c88.

Solidity: function global_stop(uint256 nonce, bytes signatures) returns()

func (*ERC20BridgeTransactor) ListAsset

func (_ERC20Bridge *ERC20BridgeTransactor) 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)

ListAsset is a paid mutator transaction binding the contract method 0x0ff3562c.

Solidity: function list_asset(address asset_source, bytes32 vega_asset_id, uint256 lifetime_limit, uint256 withdraw_threshold, uint256 nonce, bytes signatures) returns()

func (*ERC20BridgeTransactor) RemoveAsset

func (_ERC20Bridge *ERC20BridgeTransactor) RemoveAsset(opts *bind.TransactOpts, asset_source common.Address, nonce *big.Int, signatures []byte) (*types.Transaction, error)

RemoveAsset is a paid mutator transaction binding the contract method 0xc76de358.

Solidity: function remove_asset(address asset_source, uint256 nonce, bytes signatures) returns()

func (*ERC20BridgeTransactor) RevokeExemptDepositor

func (_ERC20Bridge *ERC20BridgeTransactor) RevokeExemptDepositor(opts *bind.TransactOpts) (*types.Transaction, error)

RevokeExemptDepositor is a paid mutator transaction binding the contract method 0x6a1c6fa4.

Solidity: function revoke_exempt_depositor() returns()

func (*ERC20BridgeTransactor) SetAssetLimits

func (_ERC20Bridge *ERC20BridgeTransactor) SetAssetLimits(opts *bind.TransactOpts, asset_source common.Address, lifetime_limit *big.Int, threshold *big.Int, nonce *big.Int, signatures []byte) (*types.Transaction, error)

SetAssetLimits is a paid mutator transaction binding the contract method 0x41fb776d.

Solidity: function set_asset_limits(address asset_source, uint256 lifetime_limit, uint256 threshold, uint256 nonce, bytes signatures) returns()

func (*ERC20BridgeTransactor) SetWithdrawDelay

func (_ERC20Bridge *ERC20BridgeTransactor) SetWithdrawDelay(opts *bind.TransactOpts, delay *big.Int, nonce *big.Int, signatures []byte) (*types.Transaction, error)

SetWithdrawDelay is a paid mutator transaction binding the contract method 0x5a246728.

Solidity: function set_withdraw_delay(uint256 delay, uint256 nonce, bytes signatures) returns()

func (*ERC20BridgeTransactor) WithdrawAsset

func (_ERC20Bridge *ERC20BridgeTransactor) 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)

WithdrawAsset is a paid mutator transaction binding the contract method 0x3ad90635.

Solidity: function withdraw_asset(address asset_source, uint256 amount, address target, uint256 creation, uint256 nonce, bytes signatures) returns()

type ERC20BridgeTransactorRaw

type ERC20BridgeTransactorRaw struct {
	Contract *ERC20BridgeTransactor // Generic write-only contract binding to access the raw methods on
}

ERC20BridgeTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.

func (*ERC20BridgeTransactorRaw) Transact

func (_ERC20Bridge *ERC20BridgeTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*ERC20BridgeTransactorRaw) Transfer

func (_ERC20Bridge *ERC20BridgeTransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)

Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.

type ERC20BridgeTransactorSession

type ERC20BridgeTransactorSession struct {
	Contract     *ERC20BridgeTransactor // Generic contract transactor binding to set the session for
	TransactOpts bind.TransactOpts      // Transaction auth options to use throughout this session
}

ERC20BridgeTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.

func (*ERC20BridgeTransactorSession) DepositAsset

func (_ERC20Bridge *ERC20BridgeTransactorSession) DepositAsset(asset_source common.Address, amount *big.Int, vega_public_key [32]byte) (*types.Transaction, error)

DepositAsset is a paid mutator transaction binding the contract method 0xf7683932.

Solidity: function deposit_asset(address asset_source, uint256 amount, bytes32 vega_public_key) returns()

func (*ERC20BridgeTransactorSession) ExemptDepositor

func (_ERC20Bridge *ERC20BridgeTransactorSession) ExemptDepositor() (*types.Transaction, error)

ExemptDepositor is a paid mutator transaction binding the contract method 0xb76fbb75.

Solidity: function exempt_depositor() returns()

func (*ERC20BridgeTransactorSession) GlobalResume

func (_ERC20Bridge *ERC20BridgeTransactorSession) GlobalResume(nonce *big.Int, signatures []byte) (*types.Transaction, error)

GlobalResume is a paid mutator transaction binding the contract method 0xd72ed529.

Solidity: function global_resume(uint256 nonce, bytes signatures) returns()

func (*ERC20BridgeTransactorSession) GlobalStop

func (_ERC20Bridge *ERC20BridgeTransactorSession) GlobalStop(nonce *big.Int, signatures []byte) (*types.Transaction, error)

GlobalStop is a paid mutator transaction binding the contract method 0x9dfd3c88.

Solidity: function global_stop(uint256 nonce, bytes signatures) returns()

func (*ERC20BridgeTransactorSession) ListAsset

func (_ERC20Bridge *ERC20BridgeTransactorSession) ListAsset(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)

ListAsset is a paid mutator transaction binding the contract method 0x0ff3562c.

Solidity: function list_asset(address asset_source, bytes32 vega_asset_id, uint256 lifetime_limit, uint256 withdraw_threshold, uint256 nonce, bytes signatures) returns()

func (*ERC20BridgeTransactorSession) RemoveAsset

func (_ERC20Bridge *ERC20BridgeTransactorSession) RemoveAsset(asset_source common.Address, nonce *big.Int, signatures []byte) (*types.Transaction, error)

RemoveAsset is a paid mutator transaction binding the contract method 0xc76de358.

Solidity: function remove_asset(address asset_source, uint256 nonce, bytes signatures) returns()

func (*ERC20BridgeTransactorSession) RevokeExemptDepositor

func (_ERC20Bridge *ERC20BridgeTransactorSession) RevokeExemptDepositor() (*types.Transaction, error)

RevokeExemptDepositor is a paid mutator transaction binding the contract method 0x6a1c6fa4.

Solidity: function revoke_exempt_depositor() returns()

func (*ERC20BridgeTransactorSession) SetAssetLimits

func (_ERC20Bridge *ERC20BridgeTransactorSession) SetAssetLimits(asset_source common.Address, lifetime_limit *big.Int, threshold *big.Int, nonce *big.Int, signatures []byte) (*types.Transaction, error)

SetAssetLimits is a paid mutator transaction binding the contract method 0x41fb776d.

Solidity: function set_asset_limits(address asset_source, uint256 lifetime_limit, uint256 threshold, uint256 nonce, bytes signatures) returns()

func (*ERC20BridgeTransactorSession) SetWithdrawDelay

func (_ERC20Bridge *ERC20BridgeTransactorSession) SetWithdrawDelay(delay *big.Int, nonce *big.Int, signatures []byte) (*types.Transaction, error)

SetWithdrawDelay is a paid mutator transaction binding the contract method 0x5a246728.

Solidity: function set_withdraw_delay(uint256 delay, uint256 nonce, bytes signatures) returns()

func (*ERC20BridgeTransactorSession) WithdrawAsset

func (_ERC20Bridge *ERC20BridgeTransactorSession) WithdrawAsset(asset_source common.Address, amount *big.Int, target common.Address, creation *big.Int, nonce *big.Int, signatures []byte) (*types.Transaction, error)

WithdrawAsset is a paid mutator transaction binding the contract method 0x3ad90635.

Solidity: function withdraw_asset(address asset_source, uint256 amount, address target, uint256 creation, uint256 nonce, bytes signatures) returns()

type StakingBridge

type StakingBridge struct {
	StakingBridgeCaller     // Read-only binding to the contract
	StakingBridgeTransactor // Write-only binding to the contract
	StakingBridgeFilterer   // Log filterer for contract events
}

StakingBridge is an auto generated Go binding around an Ethereum contract.

func NewStakingBridge

func NewStakingBridge(address common.Address, backend bind.ContractBackend) (*StakingBridge, error)

NewStakingBridge creates a new instance of StakingBridge, bound to a specific deployed contract.

type StakingBridgeCaller

type StakingBridgeCaller struct {
	// contains filtered or unexported fields
}

StakingBridgeCaller is an auto generated read-only Go binding around an Ethereum contract.

func NewStakingBridgeCaller

func NewStakingBridgeCaller(address common.Address, caller bind.ContractCaller) (*StakingBridgeCaller, error)

NewStakingBridgeCaller creates a new read-only instance of StakingBridge, bound to a specific deployed contract.

type StakingBridgeCallerRaw

type StakingBridgeCallerRaw struct {
	Contract *StakingBridgeCaller // Generic read-only contract binding to access the raw methods on
}

StakingBridgeCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.

func (*StakingBridgeCallerRaw) Call

func (_StakingBridge *StakingBridgeCallerRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error

Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.

type StakingBridgeCallerSession

type StakingBridgeCallerSession struct {
	Contract *StakingBridgeCaller // Generic contract caller binding to set the session for
	CallOpts bind.CallOpts        // Call options to use throughout this session
}

StakingBridgeCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.

type StakingBridgeFilterer

type StakingBridgeFilterer struct {
	// contains filtered or unexported fields
}

StakingBridgeFilterer is an auto generated log filtering Go binding around an Ethereum contract events.

func NewStakingBridgeFilterer

func NewStakingBridgeFilterer(address common.Address, filterer bind.ContractFilterer) (*StakingBridgeFilterer, error)

NewStakingBridgeFilterer creates a new log filterer instance of StakingBridge, bound to a specific deployed contract.

type StakingBridgeRaw

type StakingBridgeRaw struct {
	Contract *StakingBridge // Generic contract binding to access the raw methods on
}

StakingBridgeRaw is an auto generated low-level Go binding around an Ethereum contract.

func (*StakingBridgeRaw) Call

func (_StakingBridge *StakingBridgeRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error

Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.

func (*StakingBridgeRaw) Transact

func (_StakingBridge *StakingBridgeRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*StakingBridgeRaw) Transfer

func (_StakingBridge *StakingBridgeRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)

Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.

type StakingBridgeSession

type StakingBridgeSession struct {
	Contract     *StakingBridge    // Generic contract binding to set the session for
	CallOpts     bind.CallOpts     // Call options to use throughout this session
	TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session
}

StakingBridgeSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.

func (*StakingBridgeSession) Stake

func (_StakingBridge *StakingBridgeSession) Stake(amount *big.Int, vega_public_key [32]byte) (*types.Transaction, error)

Stake is a paid mutator transaction binding the contract method 0x83c592cf.

Solidity: function stake(uint256 amount, bytes32 vega_public_key) returns()

type StakingBridgeTransactor

type StakingBridgeTransactor struct {
	// contains filtered or unexported fields
}

StakingBridgeTransactor is an auto generated write-only Go binding around an Ethereum contract.

func NewStakingBridgeTransactor

func NewStakingBridgeTransactor(address common.Address, transactor bind.ContractTransactor) (*StakingBridgeTransactor, error)

NewStakingBridgeTransactor creates a new write-only instance of StakingBridge, bound to a specific deployed contract.

func (*StakingBridgeTransactor) Stake

func (_StakingBridge *StakingBridgeTransactor) Stake(opts *bind.TransactOpts, amount *big.Int, vega_public_key [32]byte) (*types.Transaction, error)

Stake is a paid mutator transaction binding the contract method 0x83c592cf.

Solidity: function stake(uint256 amount, bytes32 vega_public_key) returns()

type StakingBridgeTransactorRaw

type StakingBridgeTransactorRaw struct {
	Contract *StakingBridgeTransactor // Generic write-only contract binding to access the raw methods on
}

StakingBridgeTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.

func (*StakingBridgeTransactorRaw) Transact

func (_StakingBridge *StakingBridgeTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*StakingBridgeTransactorRaw) Transfer

func (_StakingBridge *StakingBridgeTransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)

Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.

type StakingBridgeTransactorSession

type StakingBridgeTransactorSession struct {
	Contract     *StakingBridgeTransactor // Generic contract transactor binding to set the session for
	TransactOpts bind.TransactOpts        // Transaction auth options to use throughout this session
}

StakingBridgeTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.

func (*StakingBridgeTransactorSession) Stake

func (_StakingBridge *StakingBridgeTransactorSession) Stake(amount *big.Int, vega_public_key [32]byte) (*types.Transaction, error)

Stake is a paid mutator transaction binding the contract method 0x83c592cf.

Solidity: function stake(uint256 amount, bytes32 vega_public_key) returns()

Jump to

Keyboard shortcuts

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