foreigncontract

package
v0.0.0-...-b151e58 Latest Latest
Warning

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

Go to latest
Published: Apr 1, 2019 License: GPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const ForeignABI = "" /* 737-byte string literal not displayed */

ForeignABI is the input ABI used to generate the binding from.

Variables

This section is empty.

Functions

This section is empty.

Types

type Foreign

type Foreign struct {
	ForeignCaller     // Read-only binding to the contract
	ForeignTransactor // Write-only binding to the contract
	ForeignFilterer   // Log filterer for contract events
}

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

func NewForeign

func NewForeign(address common.Address, backend bind.ContractBackend) (*Foreign, error)

NewForeign creates a new instance of Foreign, bound to a specific deployed contract.

type ForeignCaller

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

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

func NewForeignCaller

func NewForeignCaller(address common.Address, caller bind.ContractCaller) (*ForeignCaller, error)

NewForeignCaller creates a new read-only instance of Foreign, bound to a specific deployed contract.

type ForeignCallerRaw

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

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

func (*ForeignCallerRaw) Call

func (_Foreign *ForeignCallerRaw) 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 ForeignCallerSession

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

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

type ForeignContractCreation

type ForeignContractCreation struct {
	Owner common.Address
	Raw   types.Log // Blockchain specific contextual infos
}

ForeignContractCreation represents a ContractCreation event raised by the Foreign contract.

type ForeignContractCreationIterator

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

ForeignContractCreationIterator is returned from FilterContractCreation and is used to iterate over the raw logs and unpacked data for ContractCreation events raised by the Foreign contract.

func (*ForeignContractCreationIterator) Close

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

func (*ForeignContractCreationIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*ForeignContractCreationIterator) Next

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

type ForeignDeposit

type ForeignDeposit struct {
	Recipient common.Address
	Value     *big.Int
	ToChain   *big.Int
	Raw       types.Log // Blockchain specific contextual infos
}

ForeignDeposit represents a Deposit event raised by the Foreign contract.

type ForeignDepositIterator

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

ForeignDepositIterator is returned from FilterDeposit and is used to iterate over the raw logs and unpacked data for Deposit events raised by the Foreign contract.

func (*ForeignDepositIterator) Close

func (it *ForeignDepositIterator) Close() error

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

func (*ForeignDepositIterator) Error

func (it *ForeignDepositIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*ForeignDepositIterator) Next

func (it *ForeignDepositIterator) 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 ForeignFilterer

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

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

func NewForeignFilterer

func NewForeignFilterer(address common.Address, filterer bind.ContractFilterer) (*ForeignFilterer, error)

NewForeignFilterer creates a new log filterer instance of Foreign, bound to a specific deployed contract.

func (*ForeignFilterer) FilterContractCreation

func (_Foreign *ForeignFilterer) FilterContractCreation(opts *bind.FilterOpts) (*ForeignContractCreationIterator, error)

FilterContractCreation is a free log retrieval operation binding the contract event 0x4db17dd5e4732fb6da34a148104a592783ca119a1e7bb8829eba6cbadef0b511.

Solidity: e ContractCreation(_owner address)

func (*ForeignFilterer) FilterDeposit

func (_Foreign *ForeignFilterer) FilterDeposit(opts *bind.FilterOpts) (*ForeignDepositIterator, error)

FilterDeposit is a free log retrieval operation binding the contract event 0x90890809c654f11d6e72a28fa60149770a0d11ec6c92319d6ceb2bb0a4ea1a15.

Solidity: e Deposit(_recipient address, _value uint256, _toChain uint256)

func (*ForeignFilterer) WatchContractCreation

func (_Foreign *ForeignFilterer) WatchContractCreation(opts *bind.WatchOpts, sink chan<- *ForeignContractCreation) (event.Subscription, error)

WatchContractCreation is a free log subscription operation binding the contract event 0x4db17dd5e4732fb6da34a148104a592783ca119a1e7bb8829eba6cbadef0b511.

Solidity: e ContractCreation(_owner address)

func (*ForeignFilterer) WatchDeposit

func (_Foreign *ForeignFilterer) WatchDeposit(opts *bind.WatchOpts, sink chan<- *ForeignDeposit) (event.Subscription, error)

WatchDeposit is a free log subscription operation binding the contract event 0x90890809c654f11d6e72a28fa60149770a0d11ec6c92319d6ceb2bb0a4ea1a15.

Solidity: e Deposit(_recipient address, _value uint256, _toChain uint256)

type ForeignRaw

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

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

func (*ForeignRaw) Call

func (_Foreign *ForeignRaw) 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 (*ForeignRaw) Transact

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

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

func (*ForeignRaw) Transfer

func (_Foreign *ForeignRaw) 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 ForeignSession

type ForeignSession struct {
	Contract     *Foreign          // 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
}

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

func (*ForeignSession) Deposit

func (_Foreign *ForeignSession) Deposit(_recipient common.Address, _toChain *big.Int) (*types.Transaction, error)

Deposit is a paid mutator transaction binding the contract method 0x47e7ef24.

Solidity: function deposit(_recipient address, _toChain uint256) returns()

type ForeignTransactor

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

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

func NewForeignTransactor

func NewForeignTransactor(address common.Address, transactor bind.ContractTransactor) (*ForeignTransactor, error)

NewForeignTransactor creates a new write-only instance of Foreign, bound to a specific deployed contract.

func (*ForeignTransactor) Deposit

func (_Foreign *ForeignTransactor) Deposit(opts *bind.TransactOpts, _recipient common.Address, _toChain *big.Int) (*types.Transaction, error)

Deposit is a paid mutator transaction binding the contract method 0x47e7ef24.

Solidity: function deposit(_recipient address, _toChain uint256) returns()

type ForeignTransactorRaw

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

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

func (*ForeignTransactorRaw) Transact

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

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

func (*ForeignTransactorRaw) Transfer

func (_Foreign *ForeignTransactorRaw) 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 ForeignTransactorSession

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

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

func (*ForeignTransactorSession) Deposit

func (_Foreign *ForeignTransactorSession) Deposit(_recipient common.Address, _toChain *big.Int) (*types.Transaction, error)

Deposit is a paid mutator transaction binding the contract method 0x47e7ef24.

Solidity: function deposit(_recipient address, _toChain uint256) returns()

Jump to

Keyboard shortcuts

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