Documentation ¶
Index ¶
- Constants
- Variables
- type Context
- type ContextCaller
- type ContextCallerRaw
- type ContextCallerSession
- type ContextFilterer
- type ContextRaw
- func (_Context *ContextRaw) Call(opts *bind.CallOpts, result interface{}, method string, params ...interface{}) error
- func (_Context *ContextRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_Context *ContextRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type ContextSession
- type ContextTransactor
- type ContextTransactorRaw
- type ContextTransactorSession
- type ERC20Interface
- type ERC20InterfaceCaller
- type ERC20InterfaceCallerRaw
- type ERC20InterfaceCallerSession
- type ERC20InterfaceFilterer
- type ERC20InterfaceRaw
- func (_ERC20Interface *ERC20InterfaceRaw) Call(opts *bind.CallOpts, result interface{}, method string, params ...interface{}) error
- func (_ERC20Interface *ERC20InterfaceRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_ERC20Interface *ERC20InterfaceRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type ERC20InterfaceSession
- func (_ERC20Interface *ERC20InterfaceSession) BalanceOf(account common.Address) (*big.Int, error)
- func (_ERC20Interface *ERC20InterfaceSession) Transfer(_to common.Address, _value *big.Int) (*types.Transaction, error)
- func (_ERC20Interface *ERC20InterfaceSession) TransferFrom(_from common.Address, _to common.Address, _value *big.Int) (*types.Transaction, error)
- type ERC20InterfaceTransactor
- func (_ERC20Interface *ERC20InterfaceTransactor) Transfer(opts *bind.TransactOpts, _to common.Address, _value *big.Int) (*types.Transaction, error)
- func (_ERC20Interface *ERC20InterfaceTransactor) TransferFrom(opts *bind.TransactOpts, _from common.Address, _to common.Address, ...) (*types.Transaction, error)
- type ERC20InterfaceTransactorRaw
- type ERC20InterfaceTransactorSession
- type IEthCrossChainManager
- type IEthCrossChainManagerCaller
- type IEthCrossChainManagerCallerRaw
- type IEthCrossChainManagerCallerSession
- type IEthCrossChainManagerFilterer
- type IEthCrossChainManagerProxy
- type IEthCrossChainManagerProxyCaller
- type IEthCrossChainManagerProxyCallerRaw
- type IEthCrossChainManagerProxyCallerSession
- type IEthCrossChainManagerProxyFilterer
- type IEthCrossChainManagerProxyRaw
- func (_IEthCrossChainManagerProxy *IEthCrossChainManagerProxyRaw) Call(opts *bind.CallOpts, result interface{}, method string, params ...interface{}) error
- func (_IEthCrossChainManagerProxy *IEthCrossChainManagerProxyRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_IEthCrossChainManagerProxy *IEthCrossChainManagerProxyRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type IEthCrossChainManagerProxySession
- type IEthCrossChainManagerProxyTransactor
- type IEthCrossChainManagerProxyTransactorRaw
- func (_IEthCrossChainManagerProxy *IEthCrossChainManagerProxyTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_IEthCrossChainManagerProxy *IEthCrossChainManagerProxyTransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type IEthCrossChainManagerProxyTransactorSession
- type IEthCrossChainManagerRaw
- func (_IEthCrossChainManager *IEthCrossChainManagerRaw) Call(opts *bind.CallOpts, result interface{}, method string, params ...interface{}) error
- func (_IEthCrossChainManager *IEthCrossChainManagerRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_IEthCrossChainManager *IEthCrossChainManagerRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type IEthCrossChainManagerSession
- type IEthCrossChainManagerTransactor
- type IEthCrossChainManagerTransactorRaw
- type IEthCrossChainManagerTransactorSession
- type LockProxy
- type LockProxyBindAssetEvent
- type LockProxyBindAssetEventIterator
- type LockProxyBindProxyEvent
- type LockProxyBindProxyEventIterator
- type LockProxyCaller
- func (_LockProxy *LockProxyCaller) AssetHashMap(opts *bind.CallOpts, arg0 common.Address, arg1 uint64) ([]byte, error)
- func (_LockProxy *LockProxyCaller) GetBalanceFor(opts *bind.CallOpts, fromAssetHash common.Address) (*big.Int, error)
- func (_LockProxy *LockProxyCaller) ManagerProxyContract(opts *bind.CallOpts) (common.Address, error)
- func (_LockProxy *LockProxyCaller) Operator(opts *bind.CallOpts) (common.Address, error)
- func (_LockProxy *LockProxyCaller) ProxyHashMap(opts *bind.CallOpts, arg0 uint64) ([]byte, error)
- type LockProxyCallerRaw
- type LockProxyCallerSession
- func (_LockProxy *LockProxyCallerSession) AssetHashMap(arg0 common.Address, arg1 uint64) ([]byte, error)
- func (_LockProxy *LockProxyCallerSession) GetBalanceFor(fromAssetHash common.Address) (*big.Int, error)
- func (_LockProxy *LockProxyCallerSession) ManagerProxyContract() (common.Address, error)
- func (_LockProxy *LockProxyCallerSession) Operator() (common.Address, error)
- func (_LockProxy *LockProxyCallerSession) ProxyHashMap(arg0 uint64) ([]byte, error)
- type LockProxyFilterer
- func (_LockProxy *LockProxyFilterer) FilterBindAssetEvent(opts *bind.FilterOpts) (*LockProxyBindAssetEventIterator, error)
- func (_LockProxy *LockProxyFilterer) FilterBindProxyEvent(opts *bind.FilterOpts) (*LockProxyBindProxyEventIterator, error)
- func (_LockProxy *LockProxyFilterer) FilterLockEvent(opts *bind.FilterOpts) (*LockProxyLockEventIterator, error)
- func (_LockProxy *LockProxyFilterer) FilterSetManagerProxyEvent(opts *bind.FilterOpts) (*LockProxySetManagerProxyEventIterator, error)
- func (_LockProxy *LockProxyFilterer) FilterUnlockEvent(opts *bind.FilterOpts) (*LockProxyUnlockEventIterator, error)
- func (_LockProxy *LockProxyFilterer) ParseBindAssetEvent(log types.Log) (*LockProxyBindAssetEvent, error)
- func (_LockProxy *LockProxyFilterer) ParseBindProxyEvent(log types.Log) (*LockProxyBindProxyEvent, error)
- func (_LockProxy *LockProxyFilterer) ParseLockEvent(log types.Log) (*LockProxyLockEvent, error)
- func (_LockProxy *LockProxyFilterer) ParseSetManagerProxyEvent(log types.Log) (*LockProxySetManagerProxyEvent, error)
- func (_LockProxy *LockProxyFilterer) ParseUnlockEvent(log types.Log) (*LockProxyUnlockEvent, error)
- func (_LockProxy *LockProxyFilterer) WatchBindAssetEvent(opts *bind.WatchOpts, sink chan<- *LockProxyBindAssetEvent) (event.Subscription, error)
- func (_LockProxy *LockProxyFilterer) WatchBindProxyEvent(opts *bind.WatchOpts, sink chan<- *LockProxyBindProxyEvent) (event.Subscription, error)
- func (_LockProxy *LockProxyFilterer) WatchLockEvent(opts *bind.WatchOpts, sink chan<- *LockProxyLockEvent) (event.Subscription, error)
- func (_LockProxy *LockProxyFilterer) WatchSetManagerProxyEvent(opts *bind.WatchOpts, sink chan<- *LockProxySetManagerProxyEvent) (event.Subscription, error)
- func (_LockProxy *LockProxyFilterer) WatchUnlockEvent(opts *bind.WatchOpts, sink chan<- *LockProxyUnlockEvent) (event.Subscription, error)
- type LockProxyLockEvent
- type LockProxyLockEventIterator
- type LockProxyRaw
- func (_LockProxy *LockProxyRaw) Call(opts *bind.CallOpts, result interface{}, method string, params ...interface{}) error
- func (_LockProxy *LockProxyRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_LockProxy *LockProxyRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type LockProxySession
- func (_LockProxy *LockProxySession) AssetHashMap(arg0 common.Address, arg1 uint64) ([]byte, error)
- func (_LockProxy *LockProxySession) BindAssetHash(fromAssetHash common.Address, toChainId uint64, toAssetHash []byte) (*types.Transaction, error)
- func (_LockProxy *LockProxySession) BindProxyHash(toChainId uint64, targetProxyHash []byte) (*types.Transaction, error)
- func (_LockProxy *LockProxySession) GetBalanceFor(fromAssetHash common.Address) (*big.Int, error)
- func (_LockProxy *LockProxySession) Lock(fromAssetHash common.Address, toChainId uint64, toAddress []byte, ...) (*types.Transaction, error)
- func (_LockProxy *LockProxySession) ManagerProxyContract() (common.Address, error)
- func (_LockProxy *LockProxySession) Operator() (common.Address, error)
- func (_LockProxy *LockProxySession) ProxyHashMap(arg0 uint64) ([]byte, error)
- func (_LockProxy *LockProxySession) SetManagerProxy(ethCCMProxyAddr common.Address) (*types.Transaction, error)
- func (_LockProxy *LockProxySession) Unlock(argsBs []byte, fromContractAddr []byte, fromChainId uint64) (*types.Transaction, error)
- type LockProxySetManagerProxyEvent
- type LockProxySetManagerProxyEventIterator
- type LockProxyTransactor
- func (_LockProxy *LockProxyTransactor) BindAssetHash(opts *bind.TransactOpts, fromAssetHash common.Address, toChainId uint64, ...) (*types.Transaction, error)
- func (_LockProxy *LockProxyTransactor) BindProxyHash(opts *bind.TransactOpts, toChainId uint64, targetProxyHash []byte) (*types.Transaction, error)
- func (_LockProxy *LockProxyTransactor) Lock(opts *bind.TransactOpts, fromAssetHash common.Address, toChainId uint64, ...) (*types.Transaction, error)
- func (_LockProxy *LockProxyTransactor) SetManagerProxy(opts *bind.TransactOpts, ethCCMProxyAddr common.Address) (*types.Transaction, error)
- func (_LockProxy *LockProxyTransactor) Unlock(opts *bind.TransactOpts, argsBs []byte, fromContractAddr []byte, ...) (*types.Transaction, error)
- type LockProxyTransactorRaw
- type LockProxyTransactorSession
- func (_LockProxy *LockProxyTransactorSession) BindAssetHash(fromAssetHash common.Address, toChainId uint64, toAssetHash []byte) (*types.Transaction, error)
- func (_LockProxy *LockProxyTransactorSession) BindProxyHash(toChainId uint64, targetProxyHash []byte) (*types.Transaction, error)
- func (_LockProxy *LockProxyTransactorSession) Lock(fromAssetHash common.Address, toChainId uint64, toAddress []byte, ...) (*types.Transaction, error)
- func (_LockProxy *LockProxyTransactorSession) SetManagerProxy(ethCCMProxyAddr common.Address) (*types.Transaction, error)
- func (_LockProxy *LockProxyTransactorSession) Unlock(argsBs []byte, fromContractAddr []byte, fromChainId uint64) (*types.Transaction, error)
- type LockProxyUnlockEvent
- type LockProxyUnlockEventIterator
- type SafeMath
- type SafeMathCaller
- type SafeMathCallerRaw
- type SafeMathCallerSession
- type SafeMathFilterer
- type SafeMathRaw
- func (_SafeMath *SafeMathRaw) Call(opts *bind.CallOpts, result interface{}, method string, params ...interface{}) error
- func (_SafeMath *SafeMathRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_SafeMath *SafeMathRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type SafeMathSession
- type SafeMathTransactor
- type SafeMathTransactorRaw
- type SafeMathTransactorSession
- type Utils
- type UtilsCaller
- type UtilsCallerRaw
- type UtilsCallerSession
- type UtilsFilterer
- type UtilsRaw
- func (_Utils *UtilsRaw) Call(opts *bind.CallOpts, result interface{}, method string, params ...interface{}) error
- func (_Utils *UtilsRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_Utils *UtilsRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type UtilsSession
- type UtilsTransactor
- type UtilsTransactorRaw
- type UtilsTransactorSession
- type ZeroCopySink
- type ZeroCopySinkCaller
- type ZeroCopySinkCallerRaw
- type ZeroCopySinkCallerSession
- type ZeroCopySinkFilterer
- type ZeroCopySinkRaw
- func (_ZeroCopySink *ZeroCopySinkRaw) Call(opts *bind.CallOpts, result interface{}, method string, params ...interface{}) error
- func (_ZeroCopySink *ZeroCopySinkRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_ZeroCopySink *ZeroCopySinkRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type ZeroCopySinkSession
- type ZeroCopySinkTransactor
- type ZeroCopySinkTransactorRaw
- type ZeroCopySinkTransactorSession
- type ZeroCopySource
- type ZeroCopySourceCaller
- type ZeroCopySourceCallerRaw
- type ZeroCopySourceCallerSession
- type ZeroCopySourceFilterer
- type ZeroCopySourceRaw
- func (_ZeroCopySource *ZeroCopySourceRaw) Call(opts *bind.CallOpts, result interface{}, method string, params ...interface{}) error
- func (_ZeroCopySource *ZeroCopySourceRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_ZeroCopySource *ZeroCopySourceRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type ZeroCopySourceSession
- type ZeroCopySourceTransactor
- type ZeroCopySourceTransactorRaw
- type ZeroCopySourceTransactorSession
Constants ¶
const ContextABI = "[{\"inputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"}]"
ContextABI is the input ABI used to generate the binding from.
const ERC20InterfaceABI = "" /* 1053-byte string literal not displayed */
ERC20InterfaceABI is the input ABI used to generate the binding from.
const IEthCrossChainManagerABI = "" /* 493-byte string literal not displayed */
IEthCrossChainManagerABI is the input ABI used to generate the binding from.
const IEthCrossChainManagerProxyABI = "" /* 221-byte string literal not displayed */
IEthCrossChainManagerProxyABI is the input ABI used to generate the binding from.
const LockProxyABI = "" /* 5248-byte string literal not displayed */
LockProxyABI is the input ABI used to generate the binding from.
const SafeMathABI = "[]"
SafeMathABI is the input ABI used to generate the binding from.
const UtilsABI = "[]"
UtilsABI is the input ABI used to generate the binding from.
const ZeroCopySinkABI = "[]"
ZeroCopySinkABI is the input ABI used to generate the binding from.
const ZeroCopySourceABI = "[]"
ZeroCopySourceABI is the input ABI used to generate the binding from.
Variables ¶
var ERC20InterfaceFuncSigs = map[string]string{
"70a08231": "balanceOf(address)",
"a9059cbb": "transfer(address,uint256)",
"23b872dd": "transferFrom(address,address,uint256)",
}
ERC20InterfaceFuncSigs maps the 4-byte function signature to its string representation.
var IEthCrossChainManagerFuncSigs = map[string]string{
"bd5cf625": "crossChain(uint64,bytes,bytes,bytes)",
}
IEthCrossChainManagerFuncSigs maps the 4-byte function signature to its string representation.
var IEthCrossChainManagerProxyFuncSigs = map[string]string{
"87939a7f": "getEthCrossChainManager()",
}
IEthCrossChainManagerProxyFuncSigs maps the 4-byte function signature to its string representation.
var LockProxyBin = "" /* 18780-byte string literal not displayed */
LockProxyBin is the compiled bytecode used for deploying new contracts.
var LockProxyFuncSigs = map[string]string{
"4f7d9808": "assetHashMap(address,uint64)",
"3348f63b": "bindAssetHash(address,uint64,bytes)",
"379b98f6": "bindProxyHash(uint64,bytes)",
"59c589a1": "getBalanceFor(address)",
"84a6d055": "lock(address,uint64,bytes,uint256)",
"d798f881": "managerProxyContract()",
"570ca735": "operator()",
"9e5767aa": "proxyHashMap(uint64)",
"af9980f0": "setManagerProxy(address)",
"06af4b9f": "unlock(bytes,bytes,uint64)",
}
LockProxyFuncSigs maps the 4-byte function signature to its string representation.
var SafeMathBin = "" /* 242-byte string literal not displayed */
SafeMathBin is the compiled bytecode used for deploying new contracts.
var UtilsBin = "" /* 242-byte string literal not displayed */
UtilsBin is the compiled bytecode used for deploying new contracts.
var ZeroCopySinkBin = "" /* 242-byte string literal not displayed */
ZeroCopySinkBin is the compiled bytecode used for deploying new contracts.
var ZeroCopySourceBin = "" /* 242-byte string literal not displayed */
ZeroCopySourceBin is the compiled bytecode used for deploying new contracts.
Functions ¶
This section is empty.
Types ¶
type Context ¶
type Context struct { ContextCaller // Read-only binding to the contract ContextTransactor // Write-only binding to the contract ContextFilterer // Log filterer for contract events }
Context is an auto generated Go binding around an Ethereum contract.
func NewContext ¶
NewContext creates a new instance of Context, bound to a specific deployed contract.
type ContextCaller ¶
type ContextCaller struct {
// contains filtered or unexported fields
}
ContextCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewContextCaller ¶
func NewContextCaller(address common.Address, caller bind.ContractCaller) (*ContextCaller, error)
NewContextCaller creates a new read-only instance of Context, bound to a specific deployed contract.
type ContextCallerRaw ¶
type ContextCallerRaw struct {
Contract *ContextCaller // Generic read-only contract binding to access the raw methods on
}
ContextCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*ContextCallerRaw) Call ¶
func (_Context *ContextCallerRaw) 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 ContextCallerSession ¶
type ContextCallerSession struct { Contract *ContextCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
ContextCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
type ContextFilterer ¶
type ContextFilterer struct {
// contains filtered or unexported fields
}
ContextFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewContextFilterer ¶
func NewContextFilterer(address common.Address, filterer bind.ContractFilterer) (*ContextFilterer, error)
NewContextFilterer creates a new log filterer instance of Context, bound to a specific deployed contract.
type ContextRaw ¶
type ContextRaw struct {
Contract *Context // Generic contract binding to access the raw methods on
}
ContextRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*ContextRaw) Call ¶
func (_Context *ContextRaw) 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 (*ContextRaw) Transact ¶
func (_Context *ContextRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*ContextRaw) Transfer ¶
func (_Context *ContextRaw) 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 ContextSession ¶
type ContextSession struct { Contract *Context // 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 }
ContextSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
type ContextTransactor ¶
type ContextTransactor struct {
// contains filtered or unexported fields
}
ContextTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewContextTransactor ¶
func NewContextTransactor(address common.Address, transactor bind.ContractTransactor) (*ContextTransactor, error)
NewContextTransactor creates a new write-only instance of Context, bound to a specific deployed contract.
type ContextTransactorRaw ¶
type ContextTransactorRaw struct {
Contract *ContextTransactor // Generic write-only contract binding to access the raw methods on
}
ContextTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*ContextTransactorRaw) Transact ¶
func (_Context *ContextTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*ContextTransactorRaw) Transfer ¶
func (_Context *ContextTransactorRaw) 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 ContextTransactorSession ¶
type ContextTransactorSession struct { Contract *ContextTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
ContextTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
type ERC20Interface ¶
type ERC20Interface struct { ERC20InterfaceCaller // Read-only binding to the contract ERC20InterfaceTransactor // Write-only binding to the contract ERC20InterfaceFilterer // Log filterer for contract events }
ERC20Interface is an auto generated Go binding around an Ethereum contract.
func NewERC20Interface ¶
func NewERC20Interface(address common.Address, backend bind.ContractBackend) (*ERC20Interface, error)
NewERC20Interface creates a new instance of ERC20Interface, bound to a specific deployed contract.
type ERC20InterfaceCaller ¶
type ERC20InterfaceCaller struct {
// contains filtered or unexported fields
}
ERC20InterfaceCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewERC20InterfaceCaller ¶
func NewERC20InterfaceCaller(address common.Address, caller bind.ContractCaller) (*ERC20InterfaceCaller, error)
NewERC20InterfaceCaller creates a new read-only instance of ERC20Interface, bound to a specific deployed contract.
func (*ERC20InterfaceCaller) BalanceOf ¶
func (_ERC20Interface *ERC20InterfaceCaller) 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)
type ERC20InterfaceCallerRaw ¶
type ERC20InterfaceCallerRaw struct {
Contract *ERC20InterfaceCaller // Generic read-only contract binding to access the raw methods on
}
ERC20InterfaceCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*ERC20InterfaceCallerRaw) Call ¶
func (_ERC20Interface *ERC20InterfaceCallerRaw) 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 ERC20InterfaceCallerSession ¶
type ERC20InterfaceCallerSession struct { Contract *ERC20InterfaceCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
ERC20InterfaceCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
type ERC20InterfaceFilterer ¶
type ERC20InterfaceFilterer struct {
// contains filtered or unexported fields
}
ERC20InterfaceFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewERC20InterfaceFilterer ¶
func NewERC20InterfaceFilterer(address common.Address, filterer bind.ContractFilterer) (*ERC20InterfaceFilterer, error)
NewERC20InterfaceFilterer creates a new log filterer instance of ERC20Interface, bound to a specific deployed contract.
type ERC20InterfaceRaw ¶
type ERC20InterfaceRaw struct {
Contract *ERC20Interface // Generic contract binding to access the raw methods on
}
ERC20InterfaceRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*ERC20InterfaceRaw) Call ¶
func (_ERC20Interface *ERC20InterfaceRaw) 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 (*ERC20InterfaceRaw) Transact ¶
func (_ERC20Interface *ERC20InterfaceRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*ERC20InterfaceRaw) Transfer ¶
func (_ERC20Interface *ERC20InterfaceRaw) 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 ERC20InterfaceSession ¶
type ERC20InterfaceSession struct { Contract *ERC20Interface // 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 }
ERC20InterfaceSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*ERC20InterfaceSession) BalanceOf ¶
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(address account) view returns(uint256)
func (*ERC20InterfaceSession) Transfer ¶
func (_ERC20Interface *ERC20InterfaceSession) Transfer(_to common.Address, _value *big.Int) (*types.Transaction, error)
Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.
Solidity: function transfer(address _to, uint256 _value) returns(bool)
func (*ERC20InterfaceSession) TransferFrom ¶
func (_ERC20Interface *ERC20InterfaceSession) TransferFrom(_from common.Address, _to common.Address, _value *big.Int) (*types.Transaction, error)
TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.
Solidity: function transferFrom(address _from, address _to, uint256 _value) returns(bool success)
type ERC20InterfaceTransactor ¶
type ERC20InterfaceTransactor struct {
// contains filtered or unexported fields
}
ERC20InterfaceTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewERC20InterfaceTransactor ¶
func NewERC20InterfaceTransactor(address common.Address, transactor bind.ContractTransactor) (*ERC20InterfaceTransactor, error)
NewERC20InterfaceTransactor creates a new write-only instance of ERC20Interface, bound to a specific deployed contract.
func (*ERC20InterfaceTransactor) Transfer ¶
func (_ERC20Interface *ERC20InterfaceTransactor) Transfer(opts *bind.TransactOpts, _to common.Address, _value *big.Int) (*types.Transaction, error)
Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.
Solidity: function transfer(address _to, uint256 _value) returns(bool)
func (*ERC20InterfaceTransactor) TransferFrom ¶
func (_ERC20Interface *ERC20InterfaceTransactor) TransferFrom(opts *bind.TransactOpts, _from common.Address, _to common.Address, _value *big.Int) (*types.Transaction, error)
TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.
Solidity: function transferFrom(address _from, address _to, uint256 _value) returns(bool success)
type ERC20InterfaceTransactorRaw ¶
type ERC20InterfaceTransactorRaw struct {
Contract *ERC20InterfaceTransactor // Generic write-only contract binding to access the raw methods on
}
ERC20InterfaceTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*ERC20InterfaceTransactorRaw) Transact ¶
func (_ERC20Interface *ERC20InterfaceTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*ERC20InterfaceTransactorRaw) Transfer ¶
func (_ERC20Interface *ERC20InterfaceTransactorRaw) 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 ERC20InterfaceTransactorSession ¶
type ERC20InterfaceTransactorSession struct { Contract *ERC20InterfaceTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
ERC20InterfaceTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*ERC20InterfaceTransactorSession) Transfer ¶
func (_ERC20Interface *ERC20InterfaceTransactorSession) Transfer(_to common.Address, _value *big.Int) (*types.Transaction, error)
Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.
Solidity: function transfer(address _to, uint256 _value) returns(bool)
func (*ERC20InterfaceTransactorSession) TransferFrom ¶
func (_ERC20Interface *ERC20InterfaceTransactorSession) TransferFrom(_from common.Address, _to common.Address, _value *big.Int) (*types.Transaction, error)
TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.
Solidity: function transferFrom(address _from, address _to, uint256 _value) returns(bool success)
type IEthCrossChainManager ¶
type IEthCrossChainManager struct { IEthCrossChainManagerCaller // Read-only binding to the contract IEthCrossChainManagerTransactor // Write-only binding to the contract IEthCrossChainManagerFilterer // Log filterer for contract events }
IEthCrossChainManager is an auto generated Go binding around an Ethereum contract.
func NewIEthCrossChainManager ¶
func NewIEthCrossChainManager(address common.Address, backend bind.ContractBackend) (*IEthCrossChainManager, error)
NewIEthCrossChainManager creates a new instance of IEthCrossChainManager, bound to a specific deployed contract.
type IEthCrossChainManagerCaller ¶
type IEthCrossChainManagerCaller struct {
// contains filtered or unexported fields
}
IEthCrossChainManagerCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewIEthCrossChainManagerCaller ¶
func NewIEthCrossChainManagerCaller(address common.Address, caller bind.ContractCaller) (*IEthCrossChainManagerCaller, error)
NewIEthCrossChainManagerCaller creates a new read-only instance of IEthCrossChainManager, bound to a specific deployed contract.
type IEthCrossChainManagerCallerRaw ¶
type IEthCrossChainManagerCallerRaw struct {
Contract *IEthCrossChainManagerCaller // Generic read-only contract binding to access the raw methods on
}
IEthCrossChainManagerCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*IEthCrossChainManagerCallerRaw) Call ¶
func (_IEthCrossChainManager *IEthCrossChainManagerCallerRaw) 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 IEthCrossChainManagerCallerSession ¶
type IEthCrossChainManagerCallerSession struct { Contract *IEthCrossChainManagerCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
IEthCrossChainManagerCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
type IEthCrossChainManagerFilterer ¶
type IEthCrossChainManagerFilterer struct {
// contains filtered or unexported fields
}
IEthCrossChainManagerFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewIEthCrossChainManagerFilterer ¶
func NewIEthCrossChainManagerFilterer(address common.Address, filterer bind.ContractFilterer) (*IEthCrossChainManagerFilterer, error)
NewIEthCrossChainManagerFilterer creates a new log filterer instance of IEthCrossChainManager, bound to a specific deployed contract.
type IEthCrossChainManagerProxy ¶
type IEthCrossChainManagerProxy struct { IEthCrossChainManagerProxyCaller // Read-only binding to the contract IEthCrossChainManagerProxyTransactor // Write-only binding to the contract IEthCrossChainManagerProxyFilterer // Log filterer for contract events }
IEthCrossChainManagerProxy is an auto generated Go binding around an Ethereum contract.
func NewIEthCrossChainManagerProxy ¶
func NewIEthCrossChainManagerProxy(address common.Address, backend bind.ContractBackend) (*IEthCrossChainManagerProxy, error)
NewIEthCrossChainManagerProxy creates a new instance of IEthCrossChainManagerProxy, bound to a specific deployed contract.
type IEthCrossChainManagerProxyCaller ¶
type IEthCrossChainManagerProxyCaller struct {
// contains filtered or unexported fields
}
IEthCrossChainManagerProxyCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewIEthCrossChainManagerProxyCaller ¶
func NewIEthCrossChainManagerProxyCaller(address common.Address, caller bind.ContractCaller) (*IEthCrossChainManagerProxyCaller, error)
NewIEthCrossChainManagerProxyCaller creates a new read-only instance of IEthCrossChainManagerProxy, bound to a specific deployed contract.
func (*IEthCrossChainManagerProxyCaller) GetEthCrossChainManager ¶
func (_IEthCrossChainManagerProxy *IEthCrossChainManagerProxyCaller) GetEthCrossChainManager(opts *bind.CallOpts) (common.Address, error)
GetEthCrossChainManager is a free data retrieval call binding the contract method 0x87939a7f.
Solidity: function getEthCrossChainManager() view returns(address)
type IEthCrossChainManagerProxyCallerRaw ¶
type IEthCrossChainManagerProxyCallerRaw struct {
Contract *IEthCrossChainManagerProxyCaller // Generic read-only contract binding to access the raw methods on
}
IEthCrossChainManagerProxyCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*IEthCrossChainManagerProxyCallerRaw) Call ¶
func (_IEthCrossChainManagerProxy *IEthCrossChainManagerProxyCallerRaw) 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 IEthCrossChainManagerProxyCallerSession ¶
type IEthCrossChainManagerProxyCallerSession struct { Contract *IEthCrossChainManagerProxyCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
IEthCrossChainManagerProxyCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*IEthCrossChainManagerProxyCallerSession) GetEthCrossChainManager ¶
func (_IEthCrossChainManagerProxy *IEthCrossChainManagerProxyCallerSession) GetEthCrossChainManager() (common.Address, error)
GetEthCrossChainManager is a free data retrieval call binding the contract method 0x87939a7f.
Solidity: function getEthCrossChainManager() view returns(address)
type IEthCrossChainManagerProxyFilterer ¶
type IEthCrossChainManagerProxyFilterer struct {
// contains filtered or unexported fields
}
IEthCrossChainManagerProxyFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewIEthCrossChainManagerProxyFilterer ¶
func NewIEthCrossChainManagerProxyFilterer(address common.Address, filterer bind.ContractFilterer) (*IEthCrossChainManagerProxyFilterer, error)
NewIEthCrossChainManagerProxyFilterer creates a new log filterer instance of IEthCrossChainManagerProxy, bound to a specific deployed contract.
type IEthCrossChainManagerProxyRaw ¶
type IEthCrossChainManagerProxyRaw struct {
Contract *IEthCrossChainManagerProxy // Generic contract binding to access the raw methods on
}
IEthCrossChainManagerProxyRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*IEthCrossChainManagerProxyRaw) Call ¶
func (_IEthCrossChainManagerProxy *IEthCrossChainManagerProxyRaw) 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 (*IEthCrossChainManagerProxyRaw) Transact ¶
func (_IEthCrossChainManagerProxy *IEthCrossChainManagerProxyRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*IEthCrossChainManagerProxyRaw) Transfer ¶
func (_IEthCrossChainManagerProxy *IEthCrossChainManagerProxyRaw) 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 IEthCrossChainManagerProxySession ¶
type IEthCrossChainManagerProxySession struct { Contract *IEthCrossChainManagerProxy // 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 }
IEthCrossChainManagerProxySession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*IEthCrossChainManagerProxySession) GetEthCrossChainManager ¶
func (_IEthCrossChainManagerProxy *IEthCrossChainManagerProxySession) GetEthCrossChainManager() (common.Address, error)
GetEthCrossChainManager is a free data retrieval call binding the contract method 0x87939a7f.
Solidity: function getEthCrossChainManager() view returns(address)
type IEthCrossChainManagerProxyTransactor ¶
type IEthCrossChainManagerProxyTransactor struct {
// contains filtered or unexported fields
}
IEthCrossChainManagerProxyTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewIEthCrossChainManagerProxyTransactor ¶
func NewIEthCrossChainManagerProxyTransactor(address common.Address, transactor bind.ContractTransactor) (*IEthCrossChainManagerProxyTransactor, error)
NewIEthCrossChainManagerProxyTransactor creates a new write-only instance of IEthCrossChainManagerProxy, bound to a specific deployed contract.
type IEthCrossChainManagerProxyTransactorRaw ¶
type IEthCrossChainManagerProxyTransactorRaw struct {
Contract *IEthCrossChainManagerProxyTransactor // Generic write-only contract binding to access the raw methods on
}
IEthCrossChainManagerProxyTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*IEthCrossChainManagerProxyTransactorRaw) Transact ¶
func (_IEthCrossChainManagerProxy *IEthCrossChainManagerProxyTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*IEthCrossChainManagerProxyTransactorRaw) Transfer ¶
func (_IEthCrossChainManagerProxy *IEthCrossChainManagerProxyTransactorRaw) 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 IEthCrossChainManagerProxyTransactorSession ¶
type IEthCrossChainManagerProxyTransactorSession struct { Contract *IEthCrossChainManagerProxyTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
IEthCrossChainManagerProxyTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
type IEthCrossChainManagerRaw ¶
type IEthCrossChainManagerRaw struct {
Contract *IEthCrossChainManager // Generic contract binding to access the raw methods on
}
IEthCrossChainManagerRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*IEthCrossChainManagerRaw) Call ¶
func (_IEthCrossChainManager *IEthCrossChainManagerRaw) 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 (*IEthCrossChainManagerRaw) Transact ¶
func (_IEthCrossChainManager *IEthCrossChainManagerRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*IEthCrossChainManagerRaw) Transfer ¶
func (_IEthCrossChainManager *IEthCrossChainManagerRaw) 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 IEthCrossChainManagerSession ¶
type IEthCrossChainManagerSession struct { Contract *IEthCrossChainManager // 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 }
IEthCrossChainManagerSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*IEthCrossChainManagerSession) CrossChain ¶
func (_IEthCrossChainManager *IEthCrossChainManagerSession) CrossChain(_toChainId uint64, _toContract []byte, _method []byte, _txData []byte) (*types.Transaction, error)
CrossChain is a paid mutator transaction binding the contract method 0xbd5cf625.
Solidity: function crossChain(uint64 _toChainId, bytes _toContract, bytes _method, bytes _txData) returns(bool)
type IEthCrossChainManagerTransactor ¶
type IEthCrossChainManagerTransactor struct {
// contains filtered or unexported fields
}
IEthCrossChainManagerTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewIEthCrossChainManagerTransactor ¶
func NewIEthCrossChainManagerTransactor(address common.Address, transactor bind.ContractTransactor) (*IEthCrossChainManagerTransactor, error)
NewIEthCrossChainManagerTransactor creates a new write-only instance of IEthCrossChainManager, bound to a specific deployed contract.
func (*IEthCrossChainManagerTransactor) CrossChain ¶
func (_IEthCrossChainManager *IEthCrossChainManagerTransactor) CrossChain(opts *bind.TransactOpts, _toChainId uint64, _toContract []byte, _method []byte, _txData []byte) (*types.Transaction, error)
CrossChain is a paid mutator transaction binding the contract method 0xbd5cf625.
Solidity: function crossChain(uint64 _toChainId, bytes _toContract, bytes _method, bytes _txData) returns(bool)
type IEthCrossChainManagerTransactorRaw ¶
type IEthCrossChainManagerTransactorRaw struct {
Contract *IEthCrossChainManagerTransactor // Generic write-only contract binding to access the raw methods on
}
IEthCrossChainManagerTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*IEthCrossChainManagerTransactorRaw) Transact ¶
func (_IEthCrossChainManager *IEthCrossChainManagerTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*IEthCrossChainManagerTransactorRaw) Transfer ¶
func (_IEthCrossChainManager *IEthCrossChainManagerTransactorRaw) 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 IEthCrossChainManagerTransactorSession ¶
type IEthCrossChainManagerTransactorSession struct { Contract *IEthCrossChainManagerTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
IEthCrossChainManagerTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*IEthCrossChainManagerTransactorSession) CrossChain ¶
func (_IEthCrossChainManager *IEthCrossChainManagerTransactorSession) CrossChain(_toChainId uint64, _toContract []byte, _method []byte, _txData []byte) (*types.Transaction, error)
CrossChain is a paid mutator transaction binding the contract method 0xbd5cf625.
Solidity: function crossChain(uint64 _toChainId, bytes _toContract, bytes _method, bytes _txData) returns(bool)
type LockProxy ¶
type LockProxy struct { LockProxyCaller // Read-only binding to the contract LockProxyTransactor // Write-only binding to the contract LockProxyFilterer // Log filterer for contract events }
LockProxy is an auto generated Go binding around an Ethereum contract.
func DeployLockProxy ¶
func DeployLockProxy(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *LockProxy, error)
DeployLockProxy deploys a new Ethereum contract, binding an instance of LockProxy to it.
func NewLockProxy ¶
NewLockProxy creates a new instance of LockProxy, bound to a specific deployed contract.
type LockProxyBindAssetEvent ¶
type LockProxyBindAssetEvent struct { FromAssetHash common.Address ToChainId uint64 TargetProxyHash []byte InitialAmount *big.Int Raw types.Log // Blockchain specific contextual infos }
LockProxyBindAssetEvent represents a BindAssetEvent event raised by the LockProxy contract.
type LockProxyBindAssetEventIterator ¶
type LockProxyBindAssetEventIterator struct { Event *LockProxyBindAssetEvent // Event containing the contract specifics and raw log // contains filtered or unexported fields }
LockProxyBindAssetEventIterator is returned from FilterBindAssetEvent and is used to iterate over the raw logs and unpacked data for BindAssetEvent events raised by the LockProxy contract.
func (*LockProxyBindAssetEventIterator) Close ¶
func (it *LockProxyBindAssetEventIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*LockProxyBindAssetEventIterator) Error ¶
func (it *LockProxyBindAssetEventIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*LockProxyBindAssetEventIterator) Next ¶
func (it *LockProxyBindAssetEventIterator) 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 LockProxyBindProxyEvent ¶
type LockProxyBindProxyEvent struct { ToChainId uint64 TargetProxyHash []byte Raw types.Log // Blockchain specific contextual infos }
LockProxyBindProxyEvent represents a BindProxyEvent event raised by the LockProxy contract.
type LockProxyBindProxyEventIterator ¶
type LockProxyBindProxyEventIterator struct { Event *LockProxyBindProxyEvent // Event containing the contract specifics and raw log // contains filtered or unexported fields }
LockProxyBindProxyEventIterator is returned from FilterBindProxyEvent and is used to iterate over the raw logs and unpacked data for BindProxyEvent events raised by the LockProxy contract.
func (*LockProxyBindProxyEventIterator) Close ¶
func (it *LockProxyBindProxyEventIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*LockProxyBindProxyEventIterator) Error ¶
func (it *LockProxyBindProxyEventIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*LockProxyBindProxyEventIterator) Next ¶
func (it *LockProxyBindProxyEventIterator) 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 LockProxyCaller ¶
type LockProxyCaller struct {
// contains filtered or unexported fields
}
LockProxyCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewLockProxyCaller ¶
func NewLockProxyCaller(address common.Address, caller bind.ContractCaller) (*LockProxyCaller, error)
NewLockProxyCaller creates a new read-only instance of LockProxy, bound to a specific deployed contract.
func (*LockProxyCaller) AssetHashMap ¶
func (_LockProxy *LockProxyCaller) AssetHashMap(opts *bind.CallOpts, arg0 common.Address, arg1 uint64) ([]byte, error)
AssetHashMap is a free data retrieval call binding the contract method 0x4f7d9808.
Solidity: function assetHashMap(address , uint64 ) view returns(bytes)
func (*LockProxyCaller) GetBalanceFor ¶
func (_LockProxy *LockProxyCaller) GetBalanceFor(opts *bind.CallOpts, fromAssetHash common.Address) (*big.Int, error)
GetBalanceFor is a free data retrieval call binding the contract method 0x59c589a1.
Solidity: function getBalanceFor(address fromAssetHash) view returns(uint256)
func (*LockProxyCaller) ManagerProxyContract ¶
func (_LockProxy *LockProxyCaller) ManagerProxyContract(opts *bind.CallOpts) (common.Address, error)
ManagerProxyContract is a free data retrieval call binding the contract method 0xd798f881.
Solidity: function managerProxyContract() view returns(address)
func (*LockProxyCaller) Operator ¶
Operator is a free data retrieval call binding the contract method 0x570ca735.
Solidity: function operator() view returns(address)
func (*LockProxyCaller) ProxyHashMap ¶
ProxyHashMap is a free data retrieval call binding the contract method 0x9e5767aa.
Solidity: function proxyHashMap(uint64 ) view returns(bytes)
type LockProxyCallerRaw ¶
type LockProxyCallerRaw struct {
Contract *LockProxyCaller // Generic read-only contract binding to access the raw methods on
}
LockProxyCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*LockProxyCallerRaw) Call ¶
func (_LockProxy *LockProxyCallerRaw) 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 LockProxyCallerSession ¶
type LockProxyCallerSession struct { Contract *LockProxyCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
LockProxyCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*LockProxyCallerSession) AssetHashMap ¶
func (_LockProxy *LockProxyCallerSession) AssetHashMap(arg0 common.Address, arg1 uint64) ([]byte, error)
AssetHashMap is a free data retrieval call binding the contract method 0x4f7d9808.
Solidity: function assetHashMap(address , uint64 ) view returns(bytes)
func (*LockProxyCallerSession) GetBalanceFor ¶
func (_LockProxy *LockProxyCallerSession) GetBalanceFor(fromAssetHash common.Address) (*big.Int, error)
GetBalanceFor is a free data retrieval call binding the contract method 0x59c589a1.
Solidity: function getBalanceFor(address fromAssetHash) view returns(uint256)
func (*LockProxyCallerSession) ManagerProxyContract ¶
func (_LockProxy *LockProxyCallerSession) ManagerProxyContract() (common.Address, error)
ManagerProxyContract is a free data retrieval call binding the contract method 0xd798f881.
Solidity: function managerProxyContract() view returns(address)
func (*LockProxyCallerSession) Operator ¶
func (_LockProxy *LockProxyCallerSession) Operator() (common.Address, error)
Operator is a free data retrieval call binding the contract method 0x570ca735.
Solidity: function operator() view returns(address)
func (*LockProxyCallerSession) ProxyHashMap ¶
func (_LockProxy *LockProxyCallerSession) ProxyHashMap(arg0 uint64) ([]byte, error)
ProxyHashMap is a free data retrieval call binding the contract method 0x9e5767aa.
Solidity: function proxyHashMap(uint64 ) view returns(bytes)
type LockProxyFilterer ¶
type LockProxyFilterer struct {
// contains filtered or unexported fields
}
LockProxyFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewLockProxyFilterer ¶
func NewLockProxyFilterer(address common.Address, filterer bind.ContractFilterer) (*LockProxyFilterer, error)
NewLockProxyFilterer creates a new log filterer instance of LockProxy, bound to a specific deployed contract.
func (*LockProxyFilterer) FilterBindAssetEvent ¶
func (_LockProxy *LockProxyFilterer) FilterBindAssetEvent(opts *bind.FilterOpts) (*LockProxyBindAssetEventIterator, error)
FilterBindAssetEvent is a free log retrieval operation binding the contract event 0x1628c8374c1bdfeb2275fd9f4c90562fd3fae974783dc522c8234e36abcfc58e.
Solidity: event BindAssetEvent(address fromAssetHash, uint64 toChainId, bytes targetProxyHash, uint256 initialAmount)
func (*LockProxyFilterer) FilterBindProxyEvent ¶
func (_LockProxy *LockProxyFilterer) FilterBindProxyEvent(opts *bind.FilterOpts) (*LockProxyBindProxyEventIterator, error)
FilterBindProxyEvent is a free log retrieval operation binding the contract event 0xdacd7d303272a3b58aec6620d6d1fb588f4996a5b46858ed437f1c34348f2d0f.
Solidity: event BindProxyEvent(uint64 toChainId, bytes targetProxyHash)
func (*LockProxyFilterer) FilterLockEvent ¶
func (_LockProxy *LockProxyFilterer) FilterLockEvent(opts *bind.FilterOpts) (*LockProxyLockEventIterator, error)
FilterLockEvent is a free log retrieval operation binding the contract event 0x8636abd6d0e464fe725a13346c7ac779b73561c705506044a2e6b2cdb1295ea5.
Solidity: event LockEvent(address fromAssetHash, address fromAddress, uint64 toChainId, bytes toAssetHash, bytes toAddress, uint256 amount)
func (*LockProxyFilterer) FilterSetManagerProxyEvent ¶
func (_LockProxy *LockProxyFilterer) FilterSetManagerProxyEvent(opts *bind.FilterOpts) (*LockProxySetManagerProxyEventIterator, error)
FilterSetManagerProxyEvent is a free log retrieval operation binding the contract event 0x43b1a8ec337adb61e8311ed025d99c80db65c02fe5c5027c1b6a93b40970cec4.
Solidity: event SetManagerProxyEvent(address manager)
func (*LockProxyFilterer) FilterUnlockEvent ¶
func (_LockProxy *LockProxyFilterer) FilterUnlockEvent(opts *bind.FilterOpts) (*LockProxyUnlockEventIterator, error)
FilterUnlockEvent is a free log retrieval operation binding the contract event 0xd90288730b87c2b8e0c45bd82260fd22478aba30ae1c4d578b8daba9261604df.
Solidity: event UnlockEvent(address toAssetHash, address toAddress, uint256 amount)
func (*LockProxyFilterer) ParseBindAssetEvent ¶
func (_LockProxy *LockProxyFilterer) ParseBindAssetEvent(log types.Log) (*LockProxyBindAssetEvent, error)
ParseBindAssetEvent is a log parse operation binding the contract event 0x1628c8374c1bdfeb2275fd9f4c90562fd3fae974783dc522c8234e36abcfc58e.
Solidity: event BindAssetEvent(address fromAssetHash, uint64 toChainId, bytes targetProxyHash, uint256 initialAmount)
func (*LockProxyFilterer) ParseBindProxyEvent ¶
func (_LockProxy *LockProxyFilterer) ParseBindProxyEvent(log types.Log) (*LockProxyBindProxyEvent, error)
ParseBindProxyEvent is a log parse operation binding the contract event 0xdacd7d303272a3b58aec6620d6d1fb588f4996a5b46858ed437f1c34348f2d0f.
Solidity: event BindProxyEvent(uint64 toChainId, bytes targetProxyHash)
func (*LockProxyFilterer) ParseLockEvent ¶
func (_LockProxy *LockProxyFilterer) ParseLockEvent(log types.Log) (*LockProxyLockEvent, error)
ParseLockEvent is a log parse operation binding the contract event 0x8636abd6d0e464fe725a13346c7ac779b73561c705506044a2e6b2cdb1295ea5.
Solidity: event LockEvent(address fromAssetHash, address fromAddress, uint64 toChainId, bytes toAssetHash, bytes toAddress, uint256 amount)
func (*LockProxyFilterer) ParseSetManagerProxyEvent ¶
func (_LockProxy *LockProxyFilterer) ParseSetManagerProxyEvent(log types.Log) (*LockProxySetManagerProxyEvent, error)
ParseSetManagerProxyEvent is a log parse operation binding the contract event 0x43b1a8ec337adb61e8311ed025d99c80db65c02fe5c5027c1b6a93b40970cec4.
Solidity: event SetManagerProxyEvent(address manager)
func (*LockProxyFilterer) ParseUnlockEvent ¶
func (_LockProxy *LockProxyFilterer) ParseUnlockEvent(log types.Log) (*LockProxyUnlockEvent, error)
ParseUnlockEvent is a log parse operation binding the contract event 0xd90288730b87c2b8e0c45bd82260fd22478aba30ae1c4d578b8daba9261604df.
Solidity: event UnlockEvent(address toAssetHash, address toAddress, uint256 amount)
func (*LockProxyFilterer) WatchBindAssetEvent ¶
func (_LockProxy *LockProxyFilterer) WatchBindAssetEvent(opts *bind.WatchOpts, sink chan<- *LockProxyBindAssetEvent) (event.Subscription, error)
WatchBindAssetEvent is a free log subscription operation binding the contract event 0x1628c8374c1bdfeb2275fd9f4c90562fd3fae974783dc522c8234e36abcfc58e.
Solidity: event BindAssetEvent(address fromAssetHash, uint64 toChainId, bytes targetProxyHash, uint256 initialAmount)
func (*LockProxyFilterer) WatchBindProxyEvent ¶
func (_LockProxy *LockProxyFilterer) WatchBindProxyEvent(opts *bind.WatchOpts, sink chan<- *LockProxyBindProxyEvent) (event.Subscription, error)
WatchBindProxyEvent is a free log subscription operation binding the contract event 0xdacd7d303272a3b58aec6620d6d1fb588f4996a5b46858ed437f1c34348f2d0f.
Solidity: event BindProxyEvent(uint64 toChainId, bytes targetProxyHash)
func (*LockProxyFilterer) WatchLockEvent ¶
func (_LockProxy *LockProxyFilterer) WatchLockEvent(opts *bind.WatchOpts, sink chan<- *LockProxyLockEvent) (event.Subscription, error)
WatchLockEvent is a free log subscription operation binding the contract event 0x8636abd6d0e464fe725a13346c7ac779b73561c705506044a2e6b2cdb1295ea5.
Solidity: event LockEvent(address fromAssetHash, address fromAddress, uint64 toChainId, bytes toAssetHash, bytes toAddress, uint256 amount)
func (*LockProxyFilterer) WatchSetManagerProxyEvent ¶
func (_LockProxy *LockProxyFilterer) WatchSetManagerProxyEvent(opts *bind.WatchOpts, sink chan<- *LockProxySetManagerProxyEvent) (event.Subscription, error)
WatchSetManagerProxyEvent is a free log subscription operation binding the contract event 0x43b1a8ec337adb61e8311ed025d99c80db65c02fe5c5027c1b6a93b40970cec4.
Solidity: event SetManagerProxyEvent(address manager)
func (*LockProxyFilterer) WatchUnlockEvent ¶
func (_LockProxy *LockProxyFilterer) WatchUnlockEvent(opts *bind.WatchOpts, sink chan<- *LockProxyUnlockEvent) (event.Subscription, error)
WatchUnlockEvent is a free log subscription operation binding the contract event 0xd90288730b87c2b8e0c45bd82260fd22478aba30ae1c4d578b8daba9261604df.
Solidity: event UnlockEvent(address toAssetHash, address toAddress, uint256 amount)
type LockProxyLockEvent ¶
type LockProxyLockEvent struct { FromAssetHash common.Address FromAddress common.Address ToChainId uint64 ToAssetHash []byte ToAddress []byte Amount *big.Int Raw types.Log // Blockchain specific contextual infos }
LockProxyLockEvent represents a LockEvent event raised by the LockProxy contract.
type LockProxyLockEventIterator ¶
type LockProxyLockEventIterator struct { Event *LockProxyLockEvent // Event containing the contract specifics and raw log // contains filtered or unexported fields }
LockProxyLockEventIterator is returned from FilterLockEvent and is used to iterate over the raw logs and unpacked data for LockEvent events raised by the LockProxy contract.
func (*LockProxyLockEventIterator) Close ¶
func (it *LockProxyLockEventIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*LockProxyLockEventIterator) Error ¶
func (it *LockProxyLockEventIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*LockProxyLockEventIterator) Next ¶
func (it *LockProxyLockEventIterator) 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 LockProxyRaw ¶
type LockProxyRaw struct {
Contract *LockProxy // Generic contract binding to access the raw methods on
}
LockProxyRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*LockProxyRaw) Call ¶
func (_LockProxy *LockProxyRaw) 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 (*LockProxyRaw) Transact ¶
func (_LockProxy *LockProxyRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*LockProxyRaw) Transfer ¶
func (_LockProxy *LockProxyRaw) 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 LockProxySession ¶
type LockProxySession struct { Contract *LockProxy // 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 }
LockProxySession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*LockProxySession) AssetHashMap ¶
AssetHashMap is a free data retrieval call binding the contract method 0x4f7d9808.
Solidity: function assetHashMap(address , uint64 ) view returns(bytes)
func (*LockProxySession) BindAssetHash ¶
func (_LockProxy *LockProxySession) BindAssetHash(fromAssetHash common.Address, toChainId uint64, toAssetHash []byte) (*types.Transaction, error)
BindAssetHash is a paid mutator transaction binding the contract method 0x3348f63b.
Solidity: function bindAssetHash(address fromAssetHash, uint64 toChainId, bytes toAssetHash) returns(bool)
func (*LockProxySession) BindProxyHash ¶
func (_LockProxy *LockProxySession) BindProxyHash(toChainId uint64, targetProxyHash []byte) (*types.Transaction, error)
BindProxyHash is a paid mutator transaction binding the contract method 0x379b98f6.
Solidity: function bindProxyHash(uint64 toChainId, bytes targetProxyHash) returns(bool)
func (*LockProxySession) GetBalanceFor ¶
GetBalanceFor is a free data retrieval call binding the contract method 0x59c589a1.
Solidity: function getBalanceFor(address fromAssetHash) view returns(uint256)
func (*LockProxySession) Lock ¶
func (_LockProxy *LockProxySession) Lock(fromAssetHash common.Address, toChainId uint64, toAddress []byte, amount *big.Int) (*types.Transaction, error)
Lock is a paid mutator transaction binding the contract method 0x84a6d055.
Solidity: function lock(address fromAssetHash, uint64 toChainId, bytes toAddress, uint256 amount) payable returns(bool)
func (*LockProxySession) ManagerProxyContract ¶
func (_LockProxy *LockProxySession) ManagerProxyContract() (common.Address, error)
ManagerProxyContract is a free data retrieval call binding the contract method 0xd798f881.
Solidity: function managerProxyContract() view returns(address)
func (*LockProxySession) Operator ¶
func (_LockProxy *LockProxySession) Operator() (common.Address, error)
Operator is a free data retrieval call binding the contract method 0x570ca735.
Solidity: function operator() view returns(address)
func (*LockProxySession) ProxyHashMap ¶
func (_LockProxy *LockProxySession) ProxyHashMap(arg0 uint64) ([]byte, error)
ProxyHashMap is a free data retrieval call binding the contract method 0x9e5767aa.
Solidity: function proxyHashMap(uint64 ) view returns(bytes)
func (*LockProxySession) SetManagerProxy ¶
func (_LockProxy *LockProxySession) SetManagerProxy(ethCCMProxyAddr common.Address) (*types.Transaction, error)
SetManagerProxy is a paid mutator transaction binding the contract method 0xaf9980f0.
Solidity: function setManagerProxy(address ethCCMProxyAddr) returns()
func (*LockProxySession) Unlock ¶
func (_LockProxy *LockProxySession) Unlock(argsBs []byte, fromContractAddr []byte, fromChainId uint64) (*types.Transaction, error)
Unlock is a paid mutator transaction binding the contract method 0x06af4b9f.
Solidity: function unlock(bytes argsBs, bytes fromContractAddr, uint64 fromChainId) returns(bool)
type LockProxySetManagerProxyEvent ¶
type LockProxySetManagerProxyEvent struct { Manager common.Address Raw types.Log // Blockchain specific contextual infos }
LockProxySetManagerProxyEvent represents a SetManagerProxyEvent event raised by the LockProxy contract.
type LockProxySetManagerProxyEventIterator ¶
type LockProxySetManagerProxyEventIterator struct { Event *LockProxySetManagerProxyEvent // Event containing the contract specifics and raw log // contains filtered or unexported fields }
LockProxySetManagerProxyEventIterator is returned from FilterSetManagerProxyEvent and is used to iterate over the raw logs and unpacked data for SetManagerProxyEvent events raised by the LockProxy contract.
func (*LockProxySetManagerProxyEventIterator) Close ¶
func (it *LockProxySetManagerProxyEventIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*LockProxySetManagerProxyEventIterator) Error ¶
func (it *LockProxySetManagerProxyEventIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*LockProxySetManagerProxyEventIterator) Next ¶
func (it *LockProxySetManagerProxyEventIterator) 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 LockProxyTransactor ¶
type LockProxyTransactor struct {
// contains filtered or unexported fields
}
LockProxyTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewLockProxyTransactor ¶
func NewLockProxyTransactor(address common.Address, transactor bind.ContractTransactor) (*LockProxyTransactor, error)
NewLockProxyTransactor creates a new write-only instance of LockProxy, bound to a specific deployed contract.
func (*LockProxyTransactor) BindAssetHash ¶
func (_LockProxy *LockProxyTransactor) BindAssetHash(opts *bind.TransactOpts, fromAssetHash common.Address, toChainId uint64, toAssetHash []byte) (*types.Transaction, error)
BindAssetHash is a paid mutator transaction binding the contract method 0x3348f63b.
Solidity: function bindAssetHash(address fromAssetHash, uint64 toChainId, bytes toAssetHash) returns(bool)
func (*LockProxyTransactor) BindProxyHash ¶
func (_LockProxy *LockProxyTransactor) BindProxyHash(opts *bind.TransactOpts, toChainId uint64, targetProxyHash []byte) (*types.Transaction, error)
BindProxyHash is a paid mutator transaction binding the contract method 0x379b98f6.
Solidity: function bindProxyHash(uint64 toChainId, bytes targetProxyHash) returns(bool)
func (*LockProxyTransactor) Lock ¶
func (_LockProxy *LockProxyTransactor) Lock(opts *bind.TransactOpts, fromAssetHash common.Address, toChainId uint64, toAddress []byte, amount *big.Int) (*types.Transaction, error)
Lock is a paid mutator transaction binding the contract method 0x84a6d055.
Solidity: function lock(address fromAssetHash, uint64 toChainId, bytes toAddress, uint256 amount) payable returns(bool)
func (*LockProxyTransactor) SetManagerProxy ¶
func (_LockProxy *LockProxyTransactor) SetManagerProxy(opts *bind.TransactOpts, ethCCMProxyAddr common.Address) (*types.Transaction, error)
SetManagerProxy is a paid mutator transaction binding the contract method 0xaf9980f0.
Solidity: function setManagerProxy(address ethCCMProxyAddr) returns()
func (*LockProxyTransactor) Unlock ¶
func (_LockProxy *LockProxyTransactor) Unlock(opts *bind.TransactOpts, argsBs []byte, fromContractAddr []byte, fromChainId uint64) (*types.Transaction, error)
Unlock is a paid mutator transaction binding the contract method 0x06af4b9f.
Solidity: function unlock(bytes argsBs, bytes fromContractAddr, uint64 fromChainId) returns(bool)
type LockProxyTransactorRaw ¶
type LockProxyTransactorRaw struct {
Contract *LockProxyTransactor // Generic write-only contract binding to access the raw methods on
}
LockProxyTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*LockProxyTransactorRaw) Transact ¶
func (_LockProxy *LockProxyTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*LockProxyTransactorRaw) Transfer ¶
func (_LockProxy *LockProxyTransactorRaw) 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 LockProxyTransactorSession ¶
type LockProxyTransactorSession struct { Contract *LockProxyTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
LockProxyTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*LockProxyTransactorSession) BindAssetHash ¶
func (_LockProxy *LockProxyTransactorSession) BindAssetHash(fromAssetHash common.Address, toChainId uint64, toAssetHash []byte) (*types.Transaction, error)
BindAssetHash is a paid mutator transaction binding the contract method 0x3348f63b.
Solidity: function bindAssetHash(address fromAssetHash, uint64 toChainId, bytes toAssetHash) returns(bool)
func (*LockProxyTransactorSession) BindProxyHash ¶
func (_LockProxy *LockProxyTransactorSession) BindProxyHash(toChainId uint64, targetProxyHash []byte) (*types.Transaction, error)
BindProxyHash is a paid mutator transaction binding the contract method 0x379b98f6.
Solidity: function bindProxyHash(uint64 toChainId, bytes targetProxyHash) returns(bool)
func (*LockProxyTransactorSession) Lock ¶
func (_LockProxy *LockProxyTransactorSession) Lock(fromAssetHash common.Address, toChainId uint64, toAddress []byte, amount *big.Int) (*types.Transaction, error)
Lock is a paid mutator transaction binding the contract method 0x84a6d055.
Solidity: function lock(address fromAssetHash, uint64 toChainId, bytes toAddress, uint256 amount) payable returns(bool)
func (*LockProxyTransactorSession) SetManagerProxy ¶
func (_LockProxy *LockProxyTransactorSession) SetManagerProxy(ethCCMProxyAddr common.Address) (*types.Transaction, error)
SetManagerProxy is a paid mutator transaction binding the contract method 0xaf9980f0.
Solidity: function setManagerProxy(address ethCCMProxyAddr) returns()
func (*LockProxyTransactorSession) Unlock ¶
func (_LockProxy *LockProxyTransactorSession) Unlock(argsBs []byte, fromContractAddr []byte, fromChainId uint64) (*types.Transaction, error)
Unlock is a paid mutator transaction binding the contract method 0x06af4b9f.
Solidity: function unlock(bytes argsBs, bytes fromContractAddr, uint64 fromChainId) returns(bool)
type LockProxyUnlockEvent ¶
type LockProxyUnlockEvent struct { ToAssetHash common.Address ToAddress common.Address Amount *big.Int Raw types.Log // Blockchain specific contextual infos }
LockProxyUnlockEvent represents a UnlockEvent event raised by the LockProxy contract.
type LockProxyUnlockEventIterator ¶
type LockProxyUnlockEventIterator struct { Event *LockProxyUnlockEvent // Event containing the contract specifics and raw log // contains filtered or unexported fields }
LockProxyUnlockEventIterator is returned from FilterUnlockEvent and is used to iterate over the raw logs and unpacked data for UnlockEvent events raised by the LockProxy contract.
func (*LockProxyUnlockEventIterator) Close ¶
func (it *LockProxyUnlockEventIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*LockProxyUnlockEventIterator) Error ¶
func (it *LockProxyUnlockEventIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*LockProxyUnlockEventIterator) Next ¶
func (it *LockProxyUnlockEventIterator) 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 SafeMath ¶
type SafeMath struct { SafeMathCaller // Read-only binding to the contract SafeMathTransactor // Write-only binding to the contract SafeMathFilterer // Log filterer for contract events }
SafeMath is an auto generated Go binding around an Ethereum contract.
func DeploySafeMath ¶
func DeploySafeMath(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *SafeMath, error)
DeploySafeMath deploys a new Ethereum contract, binding an instance of SafeMath to it.
func NewSafeMath ¶
NewSafeMath creates a new instance of SafeMath, bound to a specific deployed contract.
type SafeMathCaller ¶
type SafeMathCaller struct {
// contains filtered or unexported fields
}
SafeMathCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewSafeMathCaller ¶
func NewSafeMathCaller(address common.Address, caller bind.ContractCaller) (*SafeMathCaller, error)
NewSafeMathCaller creates a new read-only instance of SafeMath, bound to a specific deployed contract.
type SafeMathCallerRaw ¶
type SafeMathCallerRaw struct {
Contract *SafeMathCaller // Generic read-only contract binding to access the raw methods on
}
SafeMathCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*SafeMathCallerRaw) Call ¶
func (_SafeMath *SafeMathCallerRaw) 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 SafeMathCallerSession ¶
type SafeMathCallerSession struct { Contract *SafeMathCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
SafeMathCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
type SafeMathFilterer ¶
type SafeMathFilterer struct {
// contains filtered or unexported fields
}
SafeMathFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewSafeMathFilterer ¶
func NewSafeMathFilterer(address common.Address, filterer bind.ContractFilterer) (*SafeMathFilterer, error)
NewSafeMathFilterer creates a new log filterer instance of SafeMath, bound to a specific deployed contract.
type SafeMathRaw ¶
type SafeMathRaw struct {
Contract *SafeMath // Generic contract binding to access the raw methods on
}
SafeMathRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*SafeMathRaw) Call ¶
func (_SafeMath *SafeMathRaw) 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 (*SafeMathRaw) Transact ¶
func (_SafeMath *SafeMathRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*SafeMathRaw) Transfer ¶
func (_SafeMath *SafeMathRaw) 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 SafeMathSession ¶
type SafeMathSession struct { Contract *SafeMath // 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 }
SafeMathSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
type SafeMathTransactor ¶
type SafeMathTransactor struct {
// contains filtered or unexported fields
}
SafeMathTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewSafeMathTransactor ¶
func NewSafeMathTransactor(address common.Address, transactor bind.ContractTransactor) (*SafeMathTransactor, error)
NewSafeMathTransactor creates a new write-only instance of SafeMath, bound to a specific deployed contract.
type SafeMathTransactorRaw ¶
type SafeMathTransactorRaw struct {
Contract *SafeMathTransactor // Generic write-only contract binding to access the raw methods on
}
SafeMathTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*SafeMathTransactorRaw) Transact ¶
func (_SafeMath *SafeMathTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*SafeMathTransactorRaw) Transfer ¶
func (_SafeMath *SafeMathTransactorRaw) 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 SafeMathTransactorSession ¶
type SafeMathTransactorSession struct { Contract *SafeMathTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
SafeMathTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
type Utils ¶
type Utils struct { UtilsCaller // Read-only binding to the contract UtilsTransactor // Write-only binding to the contract UtilsFilterer // Log filterer for contract events }
Utils is an auto generated Go binding around an Ethereum contract.
func DeployUtils ¶
func DeployUtils(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *Utils, error)
DeployUtils deploys a new Ethereum contract, binding an instance of Utils to it.
type UtilsCaller ¶
type UtilsCaller struct {
// contains filtered or unexported fields
}
UtilsCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewUtilsCaller ¶
func NewUtilsCaller(address common.Address, caller bind.ContractCaller) (*UtilsCaller, error)
NewUtilsCaller creates a new read-only instance of Utils, bound to a specific deployed contract.
type UtilsCallerRaw ¶
type UtilsCallerRaw struct {
Contract *UtilsCaller // Generic read-only contract binding to access the raw methods on
}
UtilsCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*UtilsCallerRaw) Call ¶
func (_Utils *UtilsCallerRaw) 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 UtilsCallerSession ¶
type UtilsCallerSession struct { Contract *UtilsCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
UtilsCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
type UtilsFilterer ¶
type UtilsFilterer struct {
// contains filtered or unexported fields
}
UtilsFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewUtilsFilterer ¶
func NewUtilsFilterer(address common.Address, filterer bind.ContractFilterer) (*UtilsFilterer, error)
NewUtilsFilterer creates a new log filterer instance of Utils, bound to a specific deployed contract.
type UtilsRaw ¶
type UtilsRaw struct {
Contract *Utils // Generic contract binding to access the raw methods on
}
UtilsRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*UtilsRaw) Call ¶
func (_Utils *UtilsRaw) 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 (*UtilsRaw) Transact ¶
func (_Utils *UtilsRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*UtilsRaw) Transfer ¶
func (_Utils *UtilsRaw) 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 UtilsSession ¶
type UtilsSession struct { Contract *Utils // 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 }
UtilsSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
type UtilsTransactor ¶
type UtilsTransactor struct {
// contains filtered or unexported fields
}
UtilsTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewUtilsTransactor ¶
func NewUtilsTransactor(address common.Address, transactor bind.ContractTransactor) (*UtilsTransactor, error)
NewUtilsTransactor creates a new write-only instance of Utils, bound to a specific deployed contract.
type UtilsTransactorRaw ¶
type UtilsTransactorRaw struct {
Contract *UtilsTransactor // Generic write-only contract binding to access the raw methods on
}
UtilsTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*UtilsTransactorRaw) Transact ¶
func (_Utils *UtilsTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*UtilsTransactorRaw) Transfer ¶
func (_Utils *UtilsTransactorRaw) 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 UtilsTransactorSession ¶
type UtilsTransactorSession struct { Contract *UtilsTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
UtilsTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
type ZeroCopySink ¶
type ZeroCopySink struct { ZeroCopySinkCaller // Read-only binding to the contract ZeroCopySinkTransactor // Write-only binding to the contract ZeroCopySinkFilterer // Log filterer for contract events }
ZeroCopySink is an auto generated Go binding around an Ethereum contract.
func DeployZeroCopySink ¶
func DeployZeroCopySink(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *ZeroCopySink, error)
DeployZeroCopySink deploys a new Ethereum contract, binding an instance of ZeroCopySink to it.
func NewZeroCopySink ¶
func NewZeroCopySink(address common.Address, backend bind.ContractBackend) (*ZeroCopySink, error)
NewZeroCopySink creates a new instance of ZeroCopySink, bound to a specific deployed contract.
type ZeroCopySinkCaller ¶
type ZeroCopySinkCaller struct {
// contains filtered or unexported fields
}
ZeroCopySinkCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewZeroCopySinkCaller ¶
func NewZeroCopySinkCaller(address common.Address, caller bind.ContractCaller) (*ZeroCopySinkCaller, error)
NewZeroCopySinkCaller creates a new read-only instance of ZeroCopySink, bound to a specific deployed contract.
type ZeroCopySinkCallerRaw ¶
type ZeroCopySinkCallerRaw struct {
Contract *ZeroCopySinkCaller // Generic read-only contract binding to access the raw methods on
}
ZeroCopySinkCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*ZeroCopySinkCallerRaw) Call ¶
func (_ZeroCopySink *ZeroCopySinkCallerRaw) 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 ZeroCopySinkCallerSession ¶
type ZeroCopySinkCallerSession struct { Contract *ZeroCopySinkCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
ZeroCopySinkCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
type ZeroCopySinkFilterer ¶
type ZeroCopySinkFilterer struct {
// contains filtered or unexported fields
}
ZeroCopySinkFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewZeroCopySinkFilterer ¶
func NewZeroCopySinkFilterer(address common.Address, filterer bind.ContractFilterer) (*ZeroCopySinkFilterer, error)
NewZeroCopySinkFilterer creates a new log filterer instance of ZeroCopySink, bound to a specific deployed contract.
type ZeroCopySinkRaw ¶
type ZeroCopySinkRaw struct {
Contract *ZeroCopySink // Generic contract binding to access the raw methods on
}
ZeroCopySinkRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*ZeroCopySinkRaw) Call ¶
func (_ZeroCopySink *ZeroCopySinkRaw) 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 (*ZeroCopySinkRaw) Transact ¶
func (_ZeroCopySink *ZeroCopySinkRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*ZeroCopySinkRaw) Transfer ¶
func (_ZeroCopySink *ZeroCopySinkRaw) 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 ZeroCopySinkSession ¶
type ZeroCopySinkSession struct { Contract *ZeroCopySink // 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 }
ZeroCopySinkSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
type ZeroCopySinkTransactor ¶
type ZeroCopySinkTransactor struct {
// contains filtered or unexported fields
}
ZeroCopySinkTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewZeroCopySinkTransactor ¶
func NewZeroCopySinkTransactor(address common.Address, transactor bind.ContractTransactor) (*ZeroCopySinkTransactor, error)
NewZeroCopySinkTransactor creates a new write-only instance of ZeroCopySink, bound to a specific deployed contract.
type ZeroCopySinkTransactorRaw ¶
type ZeroCopySinkTransactorRaw struct {
Contract *ZeroCopySinkTransactor // Generic write-only contract binding to access the raw methods on
}
ZeroCopySinkTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*ZeroCopySinkTransactorRaw) Transact ¶
func (_ZeroCopySink *ZeroCopySinkTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*ZeroCopySinkTransactorRaw) Transfer ¶
func (_ZeroCopySink *ZeroCopySinkTransactorRaw) 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 ZeroCopySinkTransactorSession ¶
type ZeroCopySinkTransactorSession struct { Contract *ZeroCopySinkTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
ZeroCopySinkTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
type ZeroCopySource ¶
type ZeroCopySource struct { ZeroCopySourceCaller // Read-only binding to the contract ZeroCopySourceTransactor // Write-only binding to the contract ZeroCopySourceFilterer // Log filterer for contract events }
ZeroCopySource is an auto generated Go binding around an Ethereum contract.
func DeployZeroCopySource ¶
func DeployZeroCopySource(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *ZeroCopySource, error)
DeployZeroCopySource deploys a new Ethereum contract, binding an instance of ZeroCopySource to it.
func NewZeroCopySource ¶
func NewZeroCopySource(address common.Address, backend bind.ContractBackend) (*ZeroCopySource, error)
NewZeroCopySource creates a new instance of ZeroCopySource, bound to a specific deployed contract.
type ZeroCopySourceCaller ¶
type ZeroCopySourceCaller struct {
// contains filtered or unexported fields
}
ZeroCopySourceCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewZeroCopySourceCaller ¶
func NewZeroCopySourceCaller(address common.Address, caller bind.ContractCaller) (*ZeroCopySourceCaller, error)
NewZeroCopySourceCaller creates a new read-only instance of ZeroCopySource, bound to a specific deployed contract.
type ZeroCopySourceCallerRaw ¶
type ZeroCopySourceCallerRaw struct {
Contract *ZeroCopySourceCaller // Generic read-only contract binding to access the raw methods on
}
ZeroCopySourceCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*ZeroCopySourceCallerRaw) Call ¶
func (_ZeroCopySource *ZeroCopySourceCallerRaw) 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 ZeroCopySourceCallerSession ¶
type ZeroCopySourceCallerSession struct { Contract *ZeroCopySourceCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
ZeroCopySourceCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
type ZeroCopySourceFilterer ¶
type ZeroCopySourceFilterer struct {
// contains filtered or unexported fields
}
ZeroCopySourceFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewZeroCopySourceFilterer ¶
func NewZeroCopySourceFilterer(address common.Address, filterer bind.ContractFilterer) (*ZeroCopySourceFilterer, error)
NewZeroCopySourceFilterer creates a new log filterer instance of ZeroCopySource, bound to a specific deployed contract.
type ZeroCopySourceRaw ¶
type ZeroCopySourceRaw struct {
Contract *ZeroCopySource // Generic contract binding to access the raw methods on
}
ZeroCopySourceRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*ZeroCopySourceRaw) Call ¶
func (_ZeroCopySource *ZeroCopySourceRaw) 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 (*ZeroCopySourceRaw) Transact ¶
func (_ZeroCopySource *ZeroCopySourceRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*ZeroCopySourceRaw) Transfer ¶
func (_ZeroCopySource *ZeroCopySourceRaw) 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 ZeroCopySourceSession ¶
type ZeroCopySourceSession struct { Contract *ZeroCopySource // 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 }
ZeroCopySourceSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
type ZeroCopySourceTransactor ¶
type ZeroCopySourceTransactor struct {
// contains filtered or unexported fields
}
ZeroCopySourceTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewZeroCopySourceTransactor ¶
func NewZeroCopySourceTransactor(address common.Address, transactor bind.ContractTransactor) (*ZeroCopySourceTransactor, error)
NewZeroCopySourceTransactor creates a new write-only instance of ZeroCopySource, bound to a specific deployed contract.
type ZeroCopySourceTransactorRaw ¶
type ZeroCopySourceTransactorRaw struct {
Contract *ZeroCopySourceTransactor // Generic write-only contract binding to access the raw methods on
}
ZeroCopySourceTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*ZeroCopySourceTransactorRaw) Transact ¶
func (_ZeroCopySource *ZeroCopySourceTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*ZeroCopySourceTransactorRaw) Transfer ¶
func (_ZeroCopySource *ZeroCopySourceTransactorRaw) 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 ZeroCopySourceTransactorSession ¶
type ZeroCopySourceTransactorSession struct { Contract *ZeroCopySourceTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
ZeroCopySourceTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.