Documentation ¶
Index ¶
- Constants
- type CrossChain
- type CrossChainCaller
- type CrossChainCallerRaw
- type CrossChainCallerSession
- type CrossChainCrossChainPackage
- type CrossChainCrossChainPackageIterator
- type CrossChainFilterer
- func (_CrossChain *CrossChainFilterer) FilterCrossChainPackage(opts *bind.FilterOpts, oracleSequence []uint64, packageSequence []uint64, ...) (*CrossChainCrossChainPackageIterator, error)
- func (_CrossChain *CrossChainFilterer) ParseCrossChainPackage(log types.Log) (*CrossChainCrossChainPackage, error)
- func (_CrossChain *CrossChainFilterer) WatchCrossChainPackage(opts *bind.WatchOpts, sink chan<- *CrossChainCrossChainPackage, ...) (event.Subscription, error)
- type CrossChainRaw
- func (_CrossChain *CrossChainRaw) Call(opts *bind.CallOpts, result interface{}, method string, params ...interface{}) error
- func (_CrossChain *CrossChainRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_CrossChain *CrossChainRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type CrossChainSession
- type CrossChainTransactor
- type CrossChainTransactorRaw
- type CrossChainTransactorSession
Constants ¶
const CrossChainABI = "" /* 403-byte string literal not displayed */
CrossChainABI is the input ABI used to generate the binding from.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CrossChain ¶
type CrossChain struct { CrossChainCaller // Read-only binding to the contract CrossChainTransactor // Write-only binding to the contract CrossChainFilterer // Log filterer for contract events }
CrossChain is an auto generated Go binding around an Ethereum contract.
func NewCrossChain ¶
func NewCrossChain(address common.Address, backend bind.ContractBackend) (*CrossChain, error)
NewCrossChain creates a new instance of CrossChain, bound to a specific deployed contract.
type CrossChainCaller ¶
type CrossChainCaller struct {
// contains filtered or unexported fields
}
CrossChainCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewCrossChainCaller ¶
func NewCrossChainCaller(address common.Address, caller bind.ContractCaller) (*CrossChainCaller, error)
NewCrossChainCaller creates a new read-only instance of CrossChain, bound to a specific deployed contract.
type CrossChainCallerRaw ¶
type CrossChainCallerRaw struct {
Contract *CrossChainCaller // Generic read-only contract binding to access the raw methods on
}
CrossChainCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*CrossChainCallerRaw) Call ¶
func (_CrossChain *CrossChainCallerRaw) 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 CrossChainCallerSession ¶
type CrossChainCallerSession struct { Contract *CrossChainCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
CrossChainCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
type CrossChainCrossChainPackage ¶
type CrossChainCrossChainPackage struct { ChainId uint16 OracleSequence uint64 PackageSequence uint64 ChannelId uint8 Payload []byte Raw types.Log // Blockchain specific contextual infos }
CrossChainCrossChainPackage represents a CrossChainPackage event raised by the CrossChain contract.
type CrossChainCrossChainPackageIterator ¶
type CrossChainCrossChainPackageIterator struct { Event *CrossChainCrossChainPackage // Event containing the contract specifics and raw log // contains filtered or unexported fields }
CrossChainCrossChainPackageIterator is returned from FilterCrossChainPackage and is used to iterate over the raw logs and unpacked data for CrossChainPackage events raised by the CrossChain contract.
func (*CrossChainCrossChainPackageIterator) Close ¶
func (it *CrossChainCrossChainPackageIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*CrossChainCrossChainPackageIterator) Error ¶
func (it *CrossChainCrossChainPackageIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*CrossChainCrossChainPackageIterator) Next ¶
func (it *CrossChainCrossChainPackageIterator) 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 CrossChainFilterer ¶
type CrossChainFilterer struct {
// contains filtered or unexported fields
}
CrossChainFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewCrossChainFilterer ¶
func NewCrossChainFilterer(address common.Address, filterer bind.ContractFilterer) (*CrossChainFilterer, error)
NewCrossChainFilterer creates a new log filterer instance of CrossChain, bound to a specific deployed contract.
func (*CrossChainFilterer) FilterCrossChainPackage ¶
func (_CrossChain *CrossChainFilterer) FilterCrossChainPackage(opts *bind.FilterOpts, oracleSequence []uint64, packageSequence []uint64, channelId []uint8) (*CrossChainCrossChainPackageIterator, error)
FilterCrossChainPackage is a free log retrieval operation binding the contract event 0x3a6e0fc61675aa2a100bcba0568368bb92bcec91c97673391074f11138f0cffe.
Solidity: event crossChainPackage(uint16 chainId, uint64 indexed oracleSequence, uint64 indexed packageSequence, uint8 indexed channelId, bytes payload)
func (*CrossChainFilterer) ParseCrossChainPackage ¶
func (_CrossChain *CrossChainFilterer) ParseCrossChainPackage(log types.Log) (*CrossChainCrossChainPackage, error)
ParseCrossChainPackage is a log parse operation binding the contract event 0x3a6e0fc61675aa2a100bcba0568368bb92bcec91c97673391074f11138f0cffe.
Solidity: event crossChainPackage(uint16 chainId, uint64 indexed oracleSequence, uint64 indexed packageSequence, uint8 indexed channelId, bytes payload)
func (*CrossChainFilterer) WatchCrossChainPackage ¶
func (_CrossChain *CrossChainFilterer) WatchCrossChainPackage(opts *bind.WatchOpts, sink chan<- *CrossChainCrossChainPackage, oracleSequence []uint64, packageSequence []uint64, channelId []uint8) (event.Subscription, error)
WatchCrossChainPackage is a free log subscription operation binding the contract event 0x3a6e0fc61675aa2a100bcba0568368bb92bcec91c97673391074f11138f0cffe.
Solidity: event crossChainPackage(uint16 chainId, uint64 indexed oracleSequence, uint64 indexed packageSequence, uint8 indexed channelId, bytes payload)
type CrossChainRaw ¶
type CrossChainRaw struct {
Contract *CrossChain // Generic contract binding to access the raw methods on
}
CrossChainRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*CrossChainRaw) Call ¶
func (_CrossChain *CrossChainRaw) 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 (*CrossChainRaw) Transact ¶
func (_CrossChain *CrossChainRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*CrossChainRaw) Transfer ¶
func (_CrossChain *CrossChainRaw) 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 CrossChainSession ¶
type CrossChainSession struct { Contract *CrossChain // 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 }
CrossChainSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
type CrossChainTransactor ¶
type CrossChainTransactor struct {
// contains filtered or unexported fields
}
CrossChainTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewCrossChainTransactor ¶
func NewCrossChainTransactor(address common.Address, transactor bind.ContractTransactor) (*CrossChainTransactor, error)
NewCrossChainTransactor creates a new write-only instance of CrossChain, bound to a specific deployed contract.
type CrossChainTransactorRaw ¶
type CrossChainTransactorRaw struct {
Contract *CrossChainTransactor // Generic write-only contract binding to access the raw methods on
}
CrossChainTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*CrossChainTransactorRaw) Transact ¶
func (_CrossChain *CrossChainTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*CrossChainTransactorRaw) Transfer ¶
func (_CrossChain *CrossChainTransactorRaw) 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 CrossChainTransactorSession ¶
type CrossChainTransactorSession struct { Contract *CrossChainTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
CrossChainTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.