bindings

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

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

Variables

This section is empty.

Functions

This section is empty.

Types

type Bridge

type Bridge struct {
	BridgeCaller     // Read-only binding to the contract
	BridgeTransactor // Write-only binding to the contract
	BridgeFilterer   // Log filterer for contract events
}

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

func NewBridge

func NewBridge(address common.Address, backend bind.ContractBackend) (*Bridge, error)

NewBridge creates a new instance of Bridge, bound to a specific deployed contract.

type BridgeAuthorityAdded

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

BridgeAuthorityAdded represents a AuthorityAdded event raised by the Bridge contract.

type BridgeAuthorityAddedIterator

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

BridgeAuthorityAddedIterator is returned from FilterAuthorityAdded and is used to iterate over the raw logs and unpacked data for AuthorityAdded events raised by the Bridge contract.

func (*BridgeAuthorityAddedIterator) Close

func (it *BridgeAuthorityAddedIterator) Close() error

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

func (*BridgeAuthorityAddedIterator) Error

func (it *BridgeAuthorityAddedIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*BridgeAuthorityAddedIterator) 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 BridgeAuthorityRemoved

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

BridgeAuthorityRemoved represents a AuthorityRemoved event raised by the Bridge contract.

type BridgeAuthorityRemovedIterator

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

BridgeAuthorityRemovedIterator is returned from FilterAuthorityRemoved and is used to iterate over the raw logs and unpacked data for AuthorityRemoved events raised by the Bridge contract.

func (*BridgeAuthorityRemovedIterator) Close

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

func (*BridgeAuthorityRemovedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*BridgeAuthorityRemovedIterator) 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 BridgeBridgeFunded

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

BridgeBridgeFunded represents a BridgeFunded event raised by the Bridge contract.

type BridgeBridgeFundedIterator

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

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

func (*BridgeBridgeFundedIterator) Close

func (it *BridgeBridgeFundedIterator) Close() error

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

func (*BridgeBridgeFundedIterator) Error

func (it *BridgeBridgeFundedIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*BridgeBridgeFundedIterator) Next

func (it *BridgeBridgeFundedIterator) 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 BridgeBridgeSet

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

BridgeBridgeSet represents a BridgeSet event raised by the Bridge contract.

type BridgeBridgeSetIterator

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

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

func (*BridgeBridgeSetIterator) Close

func (it *BridgeBridgeSetIterator) Close() error

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

func (*BridgeBridgeSetIterator) Error

func (it *BridgeBridgeSetIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*BridgeBridgeSetIterator) Next

func (it *BridgeBridgeSetIterator) 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 BridgeCaller

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

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

func NewBridgeCaller

func NewBridgeCaller(address common.Address, caller bind.ContractCaller) (*BridgeCaller, error)

NewBridgeCaller creates a new read-only instance of Bridge, bound to a specific deployed contract.

func (*BridgeCaller) Bridge

func (_Bridge *BridgeCaller) 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 (*BridgeCaller) Owner

func (_Bridge *BridgeCaller) 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 BridgeCallerRaw

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

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

func (*BridgeCallerRaw) Call

func (_Bridge *BridgeCallerRaw) 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 BridgeCallerSession

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

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

func (*BridgeCallerSession) Bridge

func (_Bridge *BridgeCallerSession) Bridge() (common.Address, error)

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

Solidity: function bridge() constant returns(address)

func (*BridgeCallerSession) Owner

func (_Bridge *BridgeCallerSession) Owner() (common.Address, error)

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

Solidity: function owner() constant returns(address)

type BridgeContractCreation

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

BridgeContractCreation represents a ContractCreation event raised by the Bridge contract.

type BridgeContractCreationIterator

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

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

func (*BridgeContractCreationIterator) Close

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

func (*BridgeContractCreationIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*BridgeContractCreationIterator) 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 BridgeDeposit

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

BridgeDeposit represents a Deposit event raised by the Bridge contract.

type BridgeDepositIterator

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

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

func (*BridgeDepositIterator) Close

func (it *BridgeDepositIterator) Close() error

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

func (*BridgeDepositIterator) Error

func (it *BridgeDepositIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*BridgeDepositIterator) Next

func (it *BridgeDepositIterator) 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 BridgeFilterer

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

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

func NewBridgeFilterer

func NewBridgeFilterer(address common.Address, filterer bind.ContractFilterer) (*BridgeFilterer, error)

NewBridgeFilterer creates a new log filterer instance of Bridge, bound to a specific deployed contract.

func (*BridgeFilterer) FilterAuthorityAdded

func (_Bridge *BridgeFilterer) FilterAuthorityAdded(opts *bind.FilterOpts) (*BridgeAuthorityAddedIterator, error)

FilterAuthorityAdded is a free log retrieval operation binding the contract event 0x550a8ae64ec9d6640b6f168a26d3e6364b90defe8110c92135aa775b279e54ea.

Solidity: e AuthorityAdded(_addr address)

func (*BridgeFilterer) FilterAuthorityRemoved

func (_Bridge *BridgeFilterer) FilterAuthorityRemoved(opts *bind.FilterOpts) (*BridgeAuthorityRemovedIterator, error)

FilterAuthorityRemoved is a free log retrieval operation binding the contract event 0x272215cde179041f7a3e8da6f8aabc7c8fc1336ccd73aba698cb825a80d3be48.

Solidity: e AuthorityRemoved(_addr address)

func (*BridgeFilterer) FilterBridgeFunded

func (_Bridge *BridgeFilterer) FilterBridgeFunded(opts *bind.FilterOpts) (*BridgeBridgeFundedIterator, error)

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

Solidity: e BridgeFunded(_addr address)

func (*BridgeFilterer) FilterBridgeSet

func (_Bridge *BridgeFilterer) FilterBridgeSet(opts *bind.FilterOpts) (*BridgeBridgeSetIterator, error)

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

Solidity: e BridgeSet(_addr address)

func (*BridgeFilterer) FilterContractCreation

func (_Bridge *BridgeFilterer) FilterContractCreation(opts *bind.FilterOpts) (*BridgeContractCreationIterator, error)

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

Solidity: e ContractCreation(_owner address)

func (*BridgeFilterer) FilterDeposit

func (_Bridge *BridgeFilterer) FilterDeposit(opts *bind.FilterOpts) (*BridgeDepositIterator, error)

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

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

func (*BridgeFilterer) FilterPaid

func (_Bridge *BridgeFilterer) FilterPaid(opts *bind.FilterOpts) (*BridgePaidIterator, error)

FilterPaid is a free log retrieval operation binding the contract event 0x737c69225d647e5994eab1a6c301bf6d9232beb2759ae1e27a8966b4732bc489.

Solidity: e Paid(_addr address, _value uint256)

func (*BridgeFilterer) FilterSignedForWithdraw

func (_Bridge *BridgeFilterer) FilterSignedForWithdraw(opts *bind.FilterOpts) (*BridgeSignedForWithdrawIterator, error)

FilterSignedForWithdraw is a free log retrieval operation binding the contract event 0x9bada88c355a68c8a9dd9bd8f64aa19f89cb105e7fb179d7857ea7fb34878ad3.

Solidity: e SignedForWithdraw(_txHash bytes32, _authority address)

func (*BridgeFilterer) FilterThresholdUpdated

func (_Bridge *BridgeFilterer) FilterThresholdUpdated(opts *bind.FilterOpts) (*BridgeThresholdUpdatedIterator, error)

FilterThresholdUpdated is a free log retrieval operation binding the contract event 0xadfa8ecb21b6962ebcd0adbd9ab985b7b4c5b5eb3b0dead683171565c7bfe171.

Solidity: e ThresholdUpdated(_threshold uint256)

func (*BridgeFilterer) FilterWithdraw

func (_Bridge *BridgeFilterer) FilterWithdraw(opts *bind.FilterOpts) (*BridgeWithdrawIterator, error)

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

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

func (*BridgeFilterer) WatchAuthorityAdded

func (_Bridge *BridgeFilterer) WatchAuthorityAdded(opts *bind.WatchOpts, sink chan<- *BridgeAuthorityAdded) (event.Subscription, error)

WatchAuthorityAdded is a free log subscription operation binding the contract event 0x550a8ae64ec9d6640b6f168a26d3e6364b90defe8110c92135aa775b279e54ea.

Solidity: e AuthorityAdded(_addr address)

func (*BridgeFilterer) WatchAuthorityRemoved

func (_Bridge *BridgeFilterer) WatchAuthorityRemoved(opts *bind.WatchOpts, sink chan<- *BridgeAuthorityRemoved) (event.Subscription, error)

WatchAuthorityRemoved is a free log subscription operation binding the contract event 0x272215cde179041f7a3e8da6f8aabc7c8fc1336ccd73aba698cb825a80d3be48.

Solidity: e AuthorityRemoved(_addr address)

func (*BridgeFilterer) WatchBridgeFunded

func (_Bridge *BridgeFilterer) WatchBridgeFunded(opts *bind.WatchOpts, sink chan<- *BridgeBridgeFunded) (event.Subscription, error)

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

Solidity: e BridgeFunded(_addr address)

func (*BridgeFilterer) WatchBridgeSet

func (_Bridge *BridgeFilterer) WatchBridgeSet(opts *bind.WatchOpts, sink chan<- *BridgeBridgeSet) (event.Subscription, error)

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

Solidity: e BridgeSet(_addr address)

func (*BridgeFilterer) WatchContractCreation

func (_Bridge *BridgeFilterer) WatchContractCreation(opts *bind.WatchOpts, sink chan<- *BridgeContractCreation) (event.Subscription, error)

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

Solidity: e ContractCreation(_owner address)

func (*BridgeFilterer) WatchDeposit

func (_Bridge *BridgeFilterer) WatchDeposit(opts *bind.WatchOpts, sink chan<- *BridgeDeposit) (event.Subscription, error)

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

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

func (*BridgeFilterer) WatchPaid

func (_Bridge *BridgeFilterer) WatchPaid(opts *bind.WatchOpts, sink chan<- *BridgePaid) (event.Subscription, error)

WatchPaid is a free log subscription operation binding the contract event 0x737c69225d647e5994eab1a6c301bf6d9232beb2759ae1e27a8966b4732bc489.

Solidity: e Paid(_addr address, _value uint256)

func (*BridgeFilterer) WatchSignedForWithdraw

func (_Bridge *BridgeFilterer) WatchSignedForWithdraw(opts *bind.WatchOpts, sink chan<- *BridgeSignedForWithdraw) (event.Subscription, error)

WatchSignedForWithdraw is a free log subscription operation binding the contract event 0x9bada88c355a68c8a9dd9bd8f64aa19f89cb105e7fb179d7857ea7fb34878ad3.

Solidity: e SignedForWithdraw(_txHash bytes32, _authority address)

func (*BridgeFilterer) WatchThresholdUpdated

func (_Bridge *BridgeFilterer) WatchThresholdUpdated(opts *bind.WatchOpts, sink chan<- *BridgeThresholdUpdated) (event.Subscription, error)

WatchThresholdUpdated is a free log subscription operation binding the contract event 0xadfa8ecb21b6962ebcd0adbd9ab985b7b4c5b5eb3b0dead683171565c7bfe171.

Solidity: e ThresholdUpdated(_threshold uint256)

func (*BridgeFilterer) WatchWithdraw

func (_Bridge *BridgeFilterer) WatchWithdraw(opts *bind.WatchOpts, sink chan<- *BridgeWithdraw) (event.Subscription, error)

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

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

type BridgePaid

type BridgePaid struct {
	Addr  common.Address
	Value *big.Int
	Raw   types.Log // Blockchain specific contextual infos
}

BridgePaid represents a Paid event raised by the Bridge contract.

type BridgePaidIterator

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

BridgePaidIterator is returned from FilterPaid and is used to iterate over the raw logs and unpacked data for Paid events raised by the Bridge contract.

func (*BridgePaidIterator) Close

func (it *BridgePaidIterator) Close() error

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

func (*BridgePaidIterator) Error

func (it *BridgePaidIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*BridgePaidIterator) Next

func (it *BridgePaidIterator) 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 BridgeRaw

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

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

func (*BridgeRaw) Call

func (_Bridge *BridgeRaw) 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 (*BridgeRaw) Transact

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

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

func (*BridgeRaw) Transfer

func (_Bridge *BridgeRaw) 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 BridgeSession

type BridgeSession struct {
	Contract     *Bridge           // 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
}

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

func (*BridgeSession) AddAuthority

func (_Bridge *BridgeSession) AddAuthority(_addr common.Address) (*types.Transaction, error)

AddAuthority is a paid mutator transaction binding the contract method 0x26defa73.

Solidity: function addAuthority(_addr address) returns()

func (*BridgeSession) Bridge

func (_Bridge *BridgeSession) Bridge() (common.Address, error)

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

Solidity: function bridge() constant returns(address)

func (*BridgeSession) DecreaseThreshold

func (_Bridge *BridgeSession) DecreaseThreshold() (*types.Transaction, error)

DecreaseThreshold is a paid mutator transaction binding the contract method 0xe7508cc6.

Solidity: function decreaseThreshold() returns()

func (*BridgeSession) Deposit

func (_Bridge *BridgeSession) 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()

func (*BridgeSession) FundBridge

func (_Bridge *BridgeSession) FundBridge() (*types.Transaction, error)

FundBridge is a paid mutator transaction binding the contract method 0xc9c0909f.

Solidity: function fundBridge() returns()

func (*BridgeSession) IncreaseThreshold

func (_Bridge *BridgeSession) IncreaseThreshold() (*types.Transaction, error)

IncreaseThreshold is a paid mutator transaction binding the contract method 0x4f548aae.

Solidity: function increaseThreshold() returns()

func (*BridgeSession) IsAuthority

func (_Bridge *BridgeSession) IsAuthority(_addr common.Address) (*types.Transaction, error)

IsAuthority is a paid mutator transaction binding the contract method 0x2330f247.

Solidity: function isAuthority(_addr address) returns(bool)

func (*BridgeSession) Owner

func (_Bridge *BridgeSession) Owner() (common.Address, error)

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

Solidity: function owner() constant returns(address)

func (*BridgeSession) RemoveAuthority

func (_Bridge *BridgeSession) RemoveAuthority(_addr common.Address) (*types.Transaction, error)

RemoveAuthority is a paid mutator transaction binding the contract method 0xd544e010.

Solidity: function removeAuthority(_addr address) returns()

func (*BridgeSession) SetThreshold

func (_Bridge *BridgeSession) SetThreshold(_threshold *big.Int) (*types.Transaction, error)

SetThreshold is a paid mutator transaction binding the contract method 0x960bfe04.

Solidity: function setThreshold(_threshold uint256) returns()

func (*BridgeSession) Withdraw

func (_Bridge *BridgeSession) 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()

func (*BridgeSession) WithdrawTo

func (_Bridge *BridgeSession) WithdrawTo(_recipient common.Address, _toChain *big.Int, _value *big.Int) (*types.Transaction, error)

WithdrawTo is a paid mutator transaction binding the contract method 0x5fcbc20e.

Solidity: function withdrawTo(_recipient address, _toChain uint256, _value uint256) returns()

type BridgeSignedForWithdraw

type BridgeSignedForWithdraw struct {
	TxHash    [32]byte
	Authority common.Address
	Raw       types.Log // Blockchain specific contextual infos
}

BridgeSignedForWithdraw represents a SignedForWithdraw event raised by the Bridge contract.

type BridgeSignedForWithdrawIterator

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

BridgeSignedForWithdrawIterator is returned from FilterSignedForWithdraw and is used to iterate over the raw logs and unpacked data for SignedForWithdraw events raised by the Bridge contract.

func (*BridgeSignedForWithdrawIterator) Close

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

func (*BridgeSignedForWithdrawIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*BridgeSignedForWithdrawIterator) 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 BridgeThresholdUpdated

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

BridgeThresholdUpdated represents a ThresholdUpdated event raised by the Bridge contract.

type BridgeThresholdUpdatedIterator

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

BridgeThresholdUpdatedIterator is returned from FilterThresholdUpdated and is used to iterate over the raw logs and unpacked data for ThresholdUpdated events raised by the Bridge contract.

func (*BridgeThresholdUpdatedIterator) Close

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

func (*BridgeThresholdUpdatedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*BridgeThresholdUpdatedIterator) 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 BridgeTransactor

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

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

func NewBridgeTransactor

func NewBridgeTransactor(address common.Address, transactor bind.ContractTransactor) (*BridgeTransactor, error)

NewBridgeTransactor creates a new write-only instance of Bridge, bound to a specific deployed contract.

func (*BridgeTransactor) AddAuthority

func (_Bridge *BridgeTransactor) AddAuthority(opts *bind.TransactOpts, _addr common.Address) (*types.Transaction, error)

AddAuthority is a paid mutator transaction binding the contract method 0x26defa73.

Solidity: function addAuthority(_addr address) returns()

func (*BridgeTransactor) DecreaseThreshold

func (_Bridge *BridgeTransactor) DecreaseThreshold(opts *bind.TransactOpts) (*types.Transaction, error)

DecreaseThreshold is a paid mutator transaction binding the contract method 0xe7508cc6.

Solidity: function decreaseThreshold() returns()

func (*BridgeTransactor) Deposit

func (_Bridge *BridgeTransactor) 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()

func (*BridgeTransactor) FundBridge

func (_Bridge *BridgeTransactor) FundBridge(opts *bind.TransactOpts) (*types.Transaction, error)

FundBridge is a paid mutator transaction binding the contract method 0xc9c0909f.

Solidity: function fundBridge() returns()

func (*BridgeTransactor) IncreaseThreshold

func (_Bridge *BridgeTransactor) IncreaseThreshold(opts *bind.TransactOpts) (*types.Transaction, error)

IncreaseThreshold is a paid mutator transaction binding the contract method 0x4f548aae.

Solidity: function increaseThreshold() returns()

func (*BridgeTransactor) IsAuthority

func (_Bridge *BridgeTransactor) IsAuthority(opts *bind.TransactOpts, _addr common.Address) (*types.Transaction, error)

IsAuthority is a paid mutator transaction binding the contract method 0x2330f247.

Solidity: function isAuthority(_addr address) returns(bool)

func (*BridgeTransactor) RemoveAuthority

func (_Bridge *BridgeTransactor) RemoveAuthority(opts *bind.TransactOpts, _addr common.Address) (*types.Transaction, error)

RemoveAuthority is a paid mutator transaction binding the contract method 0xd544e010.

Solidity: function removeAuthority(_addr address) returns()

func (*BridgeTransactor) SetThreshold

func (_Bridge *BridgeTransactor) SetThreshold(opts *bind.TransactOpts, _threshold *big.Int) (*types.Transaction, error)

SetThreshold is a paid mutator transaction binding the contract method 0x960bfe04.

Solidity: function setThreshold(_threshold uint256) returns()

func (*BridgeTransactor) Withdraw

func (_Bridge *BridgeTransactor) 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()

func (*BridgeTransactor) WithdrawTo

func (_Bridge *BridgeTransactor) WithdrawTo(opts *bind.TransactOpts, _recipient common.Address, _toChain *big.Int, _value *big.Int) (*types.Transaction, error)

WithdrawTo is a paid mutator transaction binding the contract method 0x5fcbc20e.

Solidity: function withdrawTo(_recipient address, _toChain uint256, _value uint256) returns()

type BridgeTransactorRaw

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

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

func (*BridgeTransactorRaw) Transact

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

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

func (*BridgeTransactorRaw) Transfer

func (_Bridge *BridgeTransactorRaw) 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 BridgeTransactorSession

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

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

func (*BridgeTransactorSession) AddAuthority

func (_Bridge *BridgeTransactorSession) AddAuthority(_addr common.Address) (*types.Transaction, error)

AddAuthority is a paid mutator transaction binding the contract method 0x26defa73.

Solidity: function addAuthority(_addr address) returns()

func (*BridgeTransactorSession) DecreaseThreshold

func (_Bridge *BridgeTransactorSession) DecreaseThreshold() (*types.Transaction, error)

DecreaseThreshold is a paid mutator transaction binding the contract method 0xe7508cc6.

Solidity: function decreaseThreshold() returns()

func (*BridgeTransactorSession) Deposit

func (_Bridge *BridgeTransactorSession) 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()

func (*BridgeTransactorSession) FundBridge

func (_Bridge *BridgeTransactorSession) FundBridge() (*types.Transaction, error)

FundBridge is a paid mutator transaction binding the contract method 0xc9c0909f.

Solidity: function fundBridge() returns()

func (*BridgeTransactorSession) IncreaseThreshold

func (_Bridge *BridgeTransactorSession) IncreaseThreshold() (*types.Transaction, error)

IncreaseThreshold is a paid mutator transaction binding the contract method 0x4f548aae.

Solidity: function increaseThreshold() returns()

func (*BridgeTransactorSession) IsAuthority

func (_Bridge *BridgeTransactorSession) IsAuthority(_addr common.Address) (*types.Transaction, error)

IsAuthority is a paid mutator transaction binding the contract method 0x2330f247.

Solidity: function isAuthority(_addr address) returns(bool)

func (*BridgeTransactorSession) RemoveAuthority

func (_Bridge *BridgeTransactorSession) RemoveAuthority(_addr common.Address) (*types.Transaction, error)

RemoveAuthority is a paid mutator transaction binding the contract method 0xd544e010.

Solidity: function removeAuthority(_addr address) returns()

func (*BridgeTransactorSession) SetThreshold

func (_Bridge *BridgeTransactorSession) SetThreshold(_threshold *big.Int) (*types.Transaction, error)

SetThreshold is a paid mutator transaction binding the contract method 0x960bfe04.

Solidity: function setThreshold(_threshold uint256) returns()

func (*BridgeTransactorSession) Withdraw

func (_Bridge *BridgeTransactorSession) 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()

func (*BridgeTransactorSession) WithdrawTo

func (_Bridge *BridgeTransactorSession) WithdrawTo(_recipient common.Address, _toChain *big.Int, _value *big.Int) (*types.Transaction, error)

WithdrawTo is a paid mutator transaction binding the contract method 0x5fcbc20e.

Solidity: function withdrawTo(_recipient address, _toChain uint256, _value uint256) returns()

type BridgeWithdraw

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

BridgeWithdraw represents a Withdraw event raised by the Bridge contract.

type BridgeWithdrawIterator

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

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

func (*BridgeWithdrawIterator) Close

func (it *BridgeWithdrawIterator) Close() error

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

func (*BridgeWithdrawIterator) Error

func (it *BridgeWithdrawIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*BridgeWithdrawIterator) Next

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