homecontract

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 HomeABI = "" /* 1782-byte string literal not displayed */

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

Variables

This section is empty.

Functions

This section is empty.

Types

type Home

type Home struct {
	HomeCaller     // Read-only binding to the contract
	HomeTransactor // Write-only binding to the contract
	HomeFilterer   // Log filterer for contract events
}

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

func NewHome

func NewHome(address common.Address, backend bind.ContractBackend) (*Home, error)

NewHome creates a new instance of Home, bound to a specific deployed contract.

type HomeBridgeFunded

type HomeBridgeFunded struct {
	Addr common.Address
	Raw  types.Log // Blockchain specific contextual infos
}

HomeBridgeFunded represents a BridgeFunded event raised by the Home contract.

type HomeBridgeFundedIterator

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

HomeBridgeFundedIterator is returned from FilterBridgeFunded and is used to iterate over the raw logs and unpacked data for BridgeFunded events raised by the Home contract.

func (*HomeBridgeFundedIterator) Close

func (it *HomeBridgeFundedIterator) Close() error

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

func (*HomeBridgeFundedIterator) Error

func (it *HomeBridgeFundedIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*HomeBridgeFundedIterator) Next

func (it *HomeBridgeFundedIterator) 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 HomeBridgeSet

type HomeBridgeSet struct {
	Addr common.Address
	Raw  types.Log // Blockchain specific contextual infos
}

HomeBridgeSet represents a BridgeSet event raised by the Home contract.

type HomeBridgeSetIterator

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

HomeBridgeSetIterator is returned from FilterBridgeSet and is used to iterate over the raw logs and unpacked data for BridgeSet events raised by the Home contract.

func (*HomeBridgeSetIterator) Close

func (it *HomeBridgeSetIterator) Close() error

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

func (*HomeBridgeSetIterator) Error

func (it *HomeBridgeSetIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*HomeBridgeSetIterator) Next

func (it *HomeBridgeSetIterator) 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 HomeCaller

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

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

func NewHomeCaller

func NewHomeCaller(address common.Address, caller bind.ContractCaller) (*HomeCaller, error)

NewHomeCaller creates a new read-only instance of Home, bound to a specific deployed contract.

func (*HomeCaller) Bridge

func (_Home *HomeCaller) Bridge(opts *bind.CallOpts) (common.Address, error)

Bridge is a free data retrieval call binding the contract method 0xe78cea92.

Solidity: function bridge() constant returns(address)

func (*HomeCaller) Owner

func (_Home *HomeCaller) Owner(opts *bind.CallOpts) (common.Address, error)

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

Solidity: function owner() constant returns(address)

type HomeCallerRaw

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

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

func (*HomeCallerRaw) Call

func (_Home *HomeCallerRaw) 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 HomeCallerSession

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

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

func (*HomeCallerSession) Bridge

func (_Home *HomeCallerSession) Bridge() (common.Address, error)

Bridge is a free data retrieval call binding the contract method 0xe78cea92.

Solidity: function bridge() constant returns(address)

func (*HomeCallerSession) Owner

func (_Home *HomeCallerSession) Owner() (common.Address, error)

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

Solidity: function owner() constant returns(address)

type HomeContractCreation

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

HomeContractCreation represents a ContractCreation event raised by the Home contract.

type HomeContractCreationIterator

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

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

func (*HomeContractCreationIterator) Close

func (it *HomeContractCreationIterator) Close() error

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

func (*HomeContractCreationIterator) Error

func (it *HomeContractCreationIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*HomeContractCreationIterator) 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 HomeFilterer

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

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

func NewHomeFilterer

func NewHomeFilterer(address common.Address, filterer bind.ContractFilterer) (*HomeFilterer, error)

NewHomeFilterer creates a new log filterer instance of Home, bound to a specific deployed contract.

func (*HomeFilterer) FilterBridgeFunded

func (_Home *HomeFilterer) FilterBridgeFunded(opts *bind.FilterOpts) (*HomeBridgeFundedIterator, error)

FilterBridgeFunded is a free log retrieval operation binding the contract event 0xc2520f24142cb24b12b04df358be485159ec7ec1a3c3ad25fa65e1a226e4eec3.

Solidity: e BridgeFunded(_addr address)

func (*HomeFilterer) FilterBridgeSet

func (_Home *HomeFilterer) FilterBridgeSet(opts *bind.FilterOpts) (*HomeBridgeSetIterator, error)

FilterBridgeSet is a free log retrieval operation binding the contract event 0xa49730bff544fd0b716395c592e39c6fd2d2481a19b9229b5b240483db95a495.

Solidity: e BridgeSet(_addr address)

func (*HomeFilterer) FilterContractCreation

func (_Home *HomeFilterer) FilterContractCreation(opts *bind.FilterOpts) (*HomeContractCreationIterator, error)

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

Solidity: e ContractCreation(_owner address)

func (*HomeFilterer) FilterWithdraw

func (_Home *HomeFilterer) FilterWithdraw(opts *bind.FilterOpts) (*HomeWithdrawIterator, error)

FilterWithdraw is a free log retrieval operation binding the contract event 0x80bd7e915c065f64ef8e41fa6334d4a2b752591cb4d462c204b8e2449eb0a1f7.

Solidity: e Withdraw(_recipient address, _value uint256, _fromChain uint256, _txHash bytes32)

func (*HomeFilterer) WatchBridgeFunded

func (_Home *HomeFilterer) WatchBridgeFunded(opts *bind.WatchOpts, sink chan<- *HomeBridgeFunded) (event.Subscription, error)

WatchBridgeFunded is a free log subscription operation binding the contract event 0xc2520f24142cb24b12b04df358be485159ec7ec1a3c3ad25fa65e1a226e4eec3.

Solidity: e BridgeFunded(_addr address)

func (*HomeFilterer) WatchBridgeSet

func (_Home *HomeFilterer) WatchBridgeSet(opts *bind.WatchOpts, sink chan<- *HomeBridgeSet) (event.Subscription, error)

WatchBridgeSet is a free log subscription operation binding the contract event 0xa49730bff544fd0b716395c592e39c6fd2d2481a19b9229b5b240483db95a495.

Solidity: e BridgeSet(_addr address)

func (*HomeFilterer) WatchContractCreation

func (_Home *HomeFilterer) WatchContractCreation(opts *bind.WatchOpts, sink chan<- *HomeContractCreation) (event.Subscription, error)

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

Solidity: e ContractCreation(_owner address)

func (*HomeFilterer) WatchWithdraw

func (_Home *HomeFilterer) WatchWithdraw(opts *bind.WatchOpts, sink chan<- *HomeWithdraw) (event.Subscription, error)

WatchWithdraw is a free log subscription operation binding the contract event 0x80bd7e915c065f64ef8e41fa6334d4a2b752591cb4d462c204b8e2449eb0a1f7.

Solidity: e Withdraw(_recipient address, _value uint256, _fromChain uint256, _txHash bytes32)

type HomeRaw

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

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

func (*HomeRaw) Call

func (_Home *HomeRaw) 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 (*HomeRaw) Transact

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

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

func (*HomeRaw) Transfer

func (_Home *HomeRaw) 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 HomeSession

type HomeSession struct {
	Contract     *Home             // 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
}

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

func (*HomeSession) Bridge

func (_Home *HomeSession) Bridge() (common.Address, error)

Bridge is a free data retrieval call binding the contract method 0xe78cea92.

Solidity: function bridge() constant returns(address)

func (*HomeSession) Owner

func (_Home *HomeSession) Owner() (common.Address, error)

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

Solidity: function owner() constant returns(address)

func (*HomeSession) SetBridge

func (_Home *HomeSession) SetBridge(_addr common.Address) (*types.Transaction, error)

SetBridge is a paid mutator transaction binding the contract method 0x8dd14802.

Solidity: function setBridge(_addr address) returns()

func (*HomeSession) Withdraw

func (_Home *HomeSession) Withdraw(_recipient common.Address, _value *big.Int, _fromChain *big.Int, _txHash [32]byte) (*types.Transaction, error)

Withdraw is a paid mutator transaction binding the contract method 0x4250a6f3.

Solidity: function withdraw(_recipient address, _value uint256, _fromChain uint256, _txHash bytes32) returns()

type HomeTransactor

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

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

func NewHomeTransactor

func NewHomeTransactor(address common.Address, transactor bind.ContractTransactor) (*HomeTransactor, error)

NewHomeTransactor creates a new write-only instance of Home, bound to a specific deployed contract.

func (*HomeTransactor) SetBridge

func (_Home *HomeTransactor) SetBridge(opts *bind.TransactOpts, _addr common.Address) (*types.Transaction, error)

SetBridge is a paid mutator transaction binding the contract method 0x8dd14802.

Solidity: function setBridge(_addr address) returns()

func (*HomeTransactor) Withdraw

func (_Home *HomeTransactor) Withdraw(opts *bind.TransactOpts, _recipient common.Address, _value *big.Int, _fromChain *big.Int, _txHash [32]byte) (*types.Transaction, error)

Withdraw is a paid mutator transaction binding the contract method 0x4250a6f3.

Solidity: function withdraw(_recipient address, _value uint256, _fromChain uint256, _txHash bytes32) returns()

type HomeTransactorRaw

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

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

func (*HomeTransactorRaw) Transact

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

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

func (*HomeTransactorRaw) Transfer

func (_Home *HomeTransactorRaw) 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 HomeTransactorSession

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

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

func (*HomeTransactorSession) SetBridge

func (_Home *HomeTransactorSession) SetBridge(_addr common.Address) (*types.Transaction, error)

SetBridge is a paid mutator transaction binding the contract method 0x8dd14802.

Solidity: function setBridge(_addr address) returns()

func (*HomeTransactorSession) Withdraw

func (_Home *HomeTransactorSession) Withdraw(_recipient common.Address, _value *big.Int, _fromChain *big.Int, _txHash [32]byte) (*types.Transaction, error)

Withdraw is a paid mutator transaction binding the contract method 0x4250a6f3.

Solidity: function withdraw(_recipient address, _value uint256, _fromChain uint256, _txHash bytes32) returns()

type HomeWithdraw

type HomeWithdraw struct {
	Recipient common.Address
	Value     *big.Int
	FromChain *big.Int
	TxHash    [32]byte
	Raw       types.Log // Blockchain specific contextual infos
}

HomeWithdraw represents a Withdraw event raised by the Home contract.

type HomeWithdrawIterator

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

HomeWithdrawIterator is returned from FilterWithdraw and is used to iterate over the raw logs and unpacked data for Withdraw events raised by the Home contract.

func (*HomeWithdrawIterator) Close

func (it *HomeWithdrawIterator) Close() error

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

func (*HomeWithdrawIterator) Error

func (it *HomeWithdrawIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*HomeWithdrawIterator) Next

func (it *HomeWithdrawIterator) 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.

Jump to

Keyboard shortcuts

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