contractclient

package
v0.0.0-...-269d6e4 Latest Latest
Warning

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

Go to latest
Published: Nov 24, 2022 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const BridgeProviderABI = "" /* 3769-byte string literal not displayed */

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

View Source
const BridgeRegistryABI = "" /* 1761-byte string literal not displayed */

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

Variables

This section is empty.

Functions

This section is empty.

Types

type BridgeProvider

type BridgeProvider struct {
	BridgeProviderCaller     // Read-only binding to the contract
	BridgeProviderTransactor // Write-only binding to the contract
	BridgeProviderFilterer   // Log filterer for contract events
}

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

func NewBridgeProvider

func NewBridgeProvider(address common.Address, backend bind.ContractBackend) (*BridgeProvider, error)

NewBridgeProvider creates a new instance of BridgeProvider, bound to a specific deployed contract.

type BridgeProviderAddDeposit

type BridgeProviderAddDeposit struct {
	Depositee common.Address
	Depositor common.Address
	Amount    *big.Int
	Raw       types.Log // Blockchain specific contextual infos
}

BridgeProviderAddDeposit represents a AddDeposit event raised by the BridgeProvider contract.

type BridgeProviderAddDepositIterator

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

BridgeProviderAddDepositIterator is returned from FilterAddDeposit and is used to iterate over the raw logs and unpacked data for AddDeposit events raised by the BridgeProvider contract.

func (*BridgeProviderAddDepositIterator) Close

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

func (*BridgeProviderAddDepositIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*BridgeProviderAddDepositIterator) 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 BridgeProviderCaller

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

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

func NewBridgeProviderCaller

func NewBridgeProviderCaller(address common.Address, caller bind.ContractCaller) (*BridgeProviderCaller, error)

NewBridgeProviderCaller creates a new read-only instance of BridgeProvider, bound to a specific deployed contract.

func (*BridgeProviderCaller) ApiEndpoint

func (_BridgeProvider *BridgeProviderCaller) ApiEndpoint(opts *bind.CallOpts) (string, error)

ApiEndpoint is a free data retrieval call binding the contract method 0xf25ecd5d.

Solidity: function apiEndpoint() view returns(string)

func (*BridgeProviderCaller) Deposits

func (_BridgeProvider *BridgeProviderCaller) Deposits(opts *bind.CallOpts, arg0 common.Address) (struct {
	Timestamp *big.Int
	Depositor common.Address
	Value     *big.Int
}, error)

Deposits is a free data retrieval call binding the contract method 0xfc7e286d.

Solidity: function deposits(address ) view returns(uint256 timestamp, address depositor, uint256 value)

func (*BridgeProviderCaller) HasDeposit

func (_BridgeProvider *BridgeProviderCaller) HasDeposit(opts *bind.CallOpts, depositee common.Address) (bool, error)

HasDeposit is a free data retrieval call binding the contract method 0x1c48c7ec.

Solidity: function hasDeposit(address depositee) view returns(bool)

func (*BridgeProviderCaller) Owner

func (_BridgeProvider *BridgeProviderCaller) Owner(opts *bind.CallOpts) (common.Address, error)

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

Solidity: function owner() view returns(address)

func (*BridgeProviderCaller) ProviderProportion

func (_BridgeProvider *BridgeProviderCaller) ProviderProportion(opts *bind.CallOpts) (*big.Int, error)

ProviderProportion is a free data retrieval call binding the contract method 0x15e00a77.

Solidity: function providerProportion() view returns(uint256)

func (*BridgeProviderCaller) SessionDivisor

func (_BridgeProvider *BridgeProviderCaller) SessionDivisor(opts *bind.CallOpts) (*big.Int, error)

SessionDivisor is a free data retrieval call binding the contract method 0xc5f056ba.

Solidity: function sessionDivisor() view returns(uint256)

type BridgeProviderCallerRaw

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

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

func (*BridgeProviderCallerRaw) Call

func (_BridgeProvider *BridgeProviderCallerRaw) 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 BridgeProviderCallerSession

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

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

func (*BridgeProviderCallerSession) ApiEndpoint

func (_BridgeProvider *BridgeProviderCallerSession) ApiEndpoint() (string, error)

ApiEndpoint is a free data retrieval call binding the contract method 0xf25ecd5d.

Solidity: function apiEndpoint() view returns(string)

func (*BridgeProviderCallerSession) Deposits

func (_BridgeProvider *BridgeProviderCallerSession) Deposits(arg0 common.Address) (struct {
	Timestamp *big.Int
	Depositor common.Address
	Value     *big.Int
}, error)

Deposits is a free data retrieval call binding the contract method 0xfc7e286d.

Solidity: function deposits(address ) view returns(uint256 timestamp, address depositor, uint256 value)

func (*BridgeProviderCallerSession) HasDeposit

func (_BridgeProvider *BridgeProviderCallerSession) HasDeposit(depositee common.Address) (bool, error)

HasDeposit is a free data retrieval call binding the contract method 0x1c48c7ec.

Solidity: function hasDeposit(address depositee) view returns(bool)

func (*BridgeProviderCallerSession) Owner

func (_BridgeProvider *BridgeProviderCallerSession) Owner() (common.Address, error)

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

Solidity: function owner() view returns(address)

func (*BridgeProviderCallerSession) ProviderProportion

func (_BridgeProvider *BridgeProviderCallerSession) ProviderProportion() (*big.Int, error)

ProviderProportion is a free data retrieval call binding the contract method 0x15e00a77.

Solidity: function providerProportion() view returns(uint256)

func (*BridgeProviderCallerSession) SessionDivisor

func (_BridgeProvider *BridgeProviderCallerSession) SessionDivisor() (*big.Int, error)

SessionDivisor is a free data retrieval call binding the contract method 0xc5f056ba.

Solidity: function sessionDivisor() view returns(uint256)

type BridgeProviderFilterer

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

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

func NewBridgeProviderFilterer

func NewBridgeProviderFilterer(address common.Address, filterer bind.ContractFilterer) (*BridgeProviderFilterer, error)

NewBridgeProviderFilterer creates a new log filterer instance of BridgeProvider, bound to a specific deployed contract.

func (*BridgeProviderFilterer) FilterAddDeposit

func (_BridgeProvider *BridgeProviderFilterer) FilterAddDeposit(opts *bind.FilterOpts, depositee []common.Address, depositor []common.Address) (*BridgeProviderAddDepositIterator, error)

FilterAddDeposit is a free log retrieval operation binding the contract event 0x0c7b2da39dfff790695e589229c5fd71ea2245de6cb792114a14009a0ad68c60.

Solidity: event AddDeposit(address indexed depositee, address indexed depositor, uint256 amount)

func (*BridgeProviderFilterer) FilterOwnershipTransferred

func (_BridgeProvider *BridgeProviderFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*BridgeProviderOwnershipTransferredIterator, error)

FilterOwnershipTransferred is a free log retrieval operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.

Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)

func (*BridgeProviderFilterer) FilterReleaseDeposit

func (_BridgeProvider *BridgeProviderFilterer) FilterReleaseDeposit(opts *bind.FilterOpts, depositee []common.Address, depositor []common.Address) (*BridgeProviderReleaseDepositIterator, error)

FilterReleaseDeposit is a free log retrieval operation binding the contract event 0xf48b09585f0e4a2cd730f3ec03eacd750ccaf350e21b7561c9694309399f92dd.

Solidity: event ReleaseDeposit(address indexed depositee, address indexed depositor, uint256 amount)

func (*BridgeProviderFilterer) ParseAddDeposit

func (_BridgeProvider *BridgeProviderFilterer) ParseAddDeposit(log types.Log) (*BridgeProviderAddDeposit, error)

ParseAddDeposit is a log parse operation binding the contract event 0x0c7b2da39dfff790695e589229c5fd71ea2245de6cb792114a14009a0ad68c60.

Solidity: event AddDeposit(address indexed depositee, address indexed depositor, uint256 amount)

func (*BridgeProviderFilterer) ParseOwnershipTransferred

func (_BridgeProvider *BridgeProviderFilterer) ParseOwnershipTransferred(log types.Log) (*BridgeProviderOwnershipTransferred, error)

ParseOwnershipTransferred is a log parse operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.

Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)

func (*BridgeProviderFilterer) ParseReleaseDeposit

func (_BridgeProvider *BridgeProviderFilterer) ParseReleaseDeposit(log types.Log) (*BridgeProviderReleaseDeposit, error)

ParseReleaseDeposit is a log parse operation binding the contract event 0xf48b09585f0e4a2cd730f3ec03eacd750ccaf350e21b7561c9694309399f92dd.

Solidity: event ReleaseDeposit(address indexed depositee, address indexed depositor, uint256 amount)

func (*BridgeProviderFilterer) WatchAddDeposit

func (_BridgeProvider *BridgeProviderFilterer) WatchAddDeposit(opts *bind.WatchOpts, sink chan<- *BridgeProviderAddDeposit, depositee []common.Address, depositor []common.Address) (event.Subscription, error)

WatchAddDeposit is a free log subscription operation binding the contract event 0x0c7b2da39dfff790695e589229c5fd71ea2245de6cb792114a14009a0ad68c60.

Solidity: event AddDeposit(address indexed depositee, address indexed depositor, uint256 amount)

func (*BridgeProviderFilterer) WatchOwnershipTransferred

func (_BridgeProvider *BridgeProviderFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *BridgeProviderOwnershipTransferred, previousOwner []common.Address, newOwner []common.Address) (event.Subscription, error)

WatchOwnershipTransferred is a free log subscription operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.

Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)

func (*BridgeProviderFilterer) WatchReleaseDeposit

func (_BridgeProvider *BridgeProviderFilterer) WatchReleaseDeposit(opts *bind.WatchOpts, sink chan<- *BridgeProviderReleaseDeposit, depositee []common.Address, depositor []common.Address) (event.Subscription, error)

WatchReleaseDeposit is a free log subscription operation binding the contract event 0xf48b09585f0e4a2cd730f3ec03eacd750ccaf350e21b7561c9694309399f92dd.

Solidity: event ReleaseDeposit(address indexed depositee, address indexed depositor, uint256 amount)

type BridgeProviderOwnershipTransferred

type BridgeProviderOwnershipTransferred struct {
	PreviousOwner common.Address
	NewOwner      common.Address
	Raw           types.Log // Blockchain specific contextual infos
}

BridgeProviderOwnershipTransferred represents a OwnershipTransferred event raised by the BridgeProvider contract.

type BridgeProviderOwnershipTransferredIterator

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

BridgeProviderOwnershipTransferredIterator is returned from FilterOwnershipTransferred and is used to iterate over the raw logs and unpacked data for OwnershipTransferred events raised by the BridgeProvider contract.

func (*BridgeProviderOwnershipTransferredIterator) Close

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

func (*BridgeProviderOwnershipTransferredIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*BridgeProviderOwnershipTransferredIterator) 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 BridgeProviderRaw

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

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

func (*BridgeProviderRaw) Call

func (_BridgeProvider *BridgeProviderRaw) 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 (*BridgeProviderRaw) Transact

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

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

func (*BridgeProviderRaw) Transfer

func (_BridgeProvider *BridgeProviderRaw) 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 BridgeProviderReleaseDeposit

type BridgeProviderReleaseDeposit struct {
	Depositee common.Address
	Depositor common.Address
	Amount    *big.Int
	Raw       types.Log // Blockchain specific contextual infos
}

BridgeProviderReleaseDeposit represents a ReleaseDeposit event raised by the BridgeProvider contract.

type BridgeProviderReleaseDepositIterator

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

BridgeProviderReleaseDepositIterator is returned from FilterReleaseDeposit and is used to iterate over the raw logs and unpacked data for ReleaseDeposit events raised by the BridgeProvider contract.

func (*BridgeProviderReleaseDepositIterator) Close

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

func (*BridgeProviderReleaseDepositIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*BridgeProviderReleaseDepositIterator) 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 BridgeProviderSession

type BridgeProviderSession struct {
	Contract     *BridgeProvider   // 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
}

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

func (*BridgeProviderSession) AddDeposit

func (_BridgeProvider *BridgeProviderSession) AddDeposit(depositee common.Address) (*types.Transaction, error)

AddDeposit is a paid mutator transaction binding the contract method 0xdea02892.

Solidity: function addDeposit(address depositee) payable returns()

func (*BridgeProviderSession) ApiEndpoint

func (_BridgeProvider *BridgeProviderSession) ApiEndpoint() (string, error)

ApiEndpoint is a free data retrieval call binding the contract method 0xf25ecd5d.

Solidity: function apiEndpoint() view returns(string)

func (*BridgeProviderSession) Deposits

func (_BridgeProvider *BridgeProviderSession) Deposits(arg0 common.Address) (struct {
	Timestamp *big.Int
	Depositor common.Address
	Value     *big.Int
}, error)

Deposits is a free data retrieval call binding the contract method 0xfc7e286d.

Solidity: function deposits(address ) view returns(uint256 timestamp, address depositor, uint256 value)

func (*BridgeProviderSession) HasDeposit

func (_BridgeProvider *BridgeProviderSession) HasDeposit(depositee common.Address) (bool, error)

HasDeposit is a free data retrieval call binding the contract method 0x1c48c7ec.

Solidity: function hasDeposit(address depositee) view returns(bool)

func (*BridgeProviderSession) Initialize

func (_BridgeProvider *BridgeProviderSession) Initialize() (*types.Transaction, error)

Initialize is a paid mutator transaction binding the contract method 0x8129fc1c.

Solidity: function initialize() returns()

func (*BridgeProviderSession) Owner

func (_BridgeProvider *BridgeProviderSession) Owner() (common.Address, error)

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

Solidity: function owner() view returns(address)

func (*BridgeProviderSession) ProviderProportion

func (_BridgeProvider *BridgeProviderSession) ProviderProportion() (*big.Int, error)

ProviderProportion is a free data retrieval call binding the contract method 0x15e00a77.

Solidity: function providerProportion() view returns(uint256)

func (*BridgeProviderSession) ReleaseDeposit

func (_BridgeProvider *BridgeProviderSession) ReleaseDeposit(depositee common.Address) (*types.Transaction, error)

ReleaseDeposit is a paid mutator transaction binding the contract method 0xfe7fd57c.

Solidity: function releaseDeposit(address depositee) returns()

func (*BridgeProviderSession) ReleaseDeposits

func (_BridgeProvider *BridgeProviderSession) ReleaseDeposits() (*types.Transaction, error)

ReleaseDeposits is a paid mutator transaction binding the contract method 0xaded41ec.

Solidity: function releaseDeposits() returns()

func (*BridgeProviderSession) RenounceOwnership

func (_BridgeProvider *BridgeProviderSession) RenounceOwnership() (*types.Transaction, error)

RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.

Solidity: function renounceOwnership() returns()

func (*BridgeProviderSession) SessionDivisor

func (_BridgeProvider *BridgeProviderSession) SessionDivisor() (*big.Int, error)

SessionDivisor is a free data retrieval call binding the contract method 0xc5f056ba.

Solidity: function sessionDivisor() view returns(uint256)

func (*BridgeProviderSession) SetApiEndpoint

func (_BridgeProvider *BridgeProviderSession) SetApiEndpoint(a string) (*types.Transaction, error)

SetApiEndpoint is a paid mutator transaction binding the contract method 0x0ab0e54f.

Solidity: function setApiEndpoint(string a) returns()

func (*BridgeProviderSession) SetProviderProportion

func (_BridgeProvider *BridgeProviderSession) SetProviderProportion(p *big.Int) (*types.Transaction, error)

SetProviderProportion is a paid mutator transaction binding the contract method 0xbb10e226.

Solidity: function setProviderProportion(uint256 p) returns()

func (*BridgeProviderSession) SetSessionDivisor

func (_BridgeProvider *BridgeProviderSession) SetSessionDivisor(m *big.Int) (*types.Transaction, error)

SetSessionDivisor is a paid mutator transaction binding the contract method 0x38b6fff1.

Solidity: function setSessionDivisor(uint256 m) returns()

func (*BridgeProviderSession) TransferOwnership

func (_BridgeProvider *BridgeProviderSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)

TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.

Solidity: function transferOwnership(address newOwner) returns()

type BridgeProviderTransactor

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

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

func NewBridgeProviderTransactor

func NewBridgeProviderTransactor(address common.Address, transactor bind.ContractTransactor) (*BridgeProviderTransactor, error)

NewBridgeProviderTransactor creates a new write-only instance of BridgeProvider, bound to a specific deployed contract.

func (*BridgeProviderTransactor) AddDeposit

func (_BridgeProvider *BridgeProviderTransactor) AddDeposit(opts *bind.TransactOpts, depositee common.Address) (*types.Transaction, error)

AddDeposit is a paid mutator transaction binding the contract method 0xdea02892.

Solidity: function addDeposit(address depositee) payable returns()

func (*BridgeProviderTransactor) Initialize

func (_BridgeProvider *BridgeProviderTransactor) Initialize(opts *bind.TransactOpts) (*types.Transaction, error)

Initialize is a paid mutator transaction binding the contract method 0x8129fc1c.

Solidity: function initialize() returns()

func (*BridgeProviderTransactor) ReleaseDeposit

func (_BridgeProvider *BridgeProviderTransactor) ReleaseDeposit(opts *bind.TransactOpts, depositee common.Address) (*types.Transaction, error)

ReleaseDeposit is a paid mutator transaction binding the contract method 0xfe7fd57c.

Solidity: function releaseDeposit(address depositee) returns()

func (*BridgeProviderTransactor) ReleaseDeposits

func (_BridgeProvider *BridgeProviderTransactor) ReleaseDeposits(opts *bind.TransactOpts) (*types.Transaction, error)

ReleaseDeposits is a paid mutator transaction binding the contract method 0xaded41ec.

Solidity: function releaseDeposits() returns()

func (*BridgeProviderTransactor) RenounceOwnership

func (_BridgeProvider *BridgeProviderTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)

RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.

Solidity: function renounceOwnership() returns()

func (*BridgeProviderTransactor) SetApiEndpoint

func (_BridgeProvider *BridgeProviderTransactor) SetApiEndpoint(opts *bind.TransactOpts, a string) (*types.Transaction, error)

SetApiEndpoint is a paid mutator transaction binding the contract method 0x0ab0e54f.

Solidity: function setApiEndpoint(string a) returns()

func (*BridgeProviderTransactor) SetProviderProportion

func (_BridgeProvider *BridgeProviderTransactor) SetProviderProportion(opts *bind.TransactOpts, p *big.Int) (*types.Transaction, error)

SetProviderProportion is a paid mutator transaction binding the contract method 0xbb10e226.

Solidity: function setProviderProportion(uint256 p) returns()

func (*BridgeProviderTransactor) SetSessionDivisor

func (_BridgeProvider *BridgeProviderTransactor) SetSessionDivisor(opts *bind.TransactOpts, m *big.Int) (*types.Transaction, error)

SetSessionDivisor is a paid mutator transaction binding the contract method 0x38b6fff1.

Solidity: function setSessionDivisor(uint256 m) returns()

func (*BridgeProviderTransactor) TransferOwnership

func (_BridgeProvider *BridgeProviderTransactor) TransferOwnership(opts *bind.TransactOpts, newOwner common.Address) (*types.Transaction, error)

TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.

Solidity: function transferOwnership(address newOwner) returns()

type BridgeProviderTransactorRaw

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

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

func (*BridgeProviderTransactorRaw) Transact

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

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

func (*BridgeProviderTransactorRaw) Transfer

func (_BridgeProvider *BridgeProviderTransactorRaw) 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 BridgeProviderTransactorSession

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

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

func (*BridgeProviderTransactorSession) AddDeposit

func (_BridgeProvider *BridgeProviderTransactorSession) AddDeposit(depositee common.Address) (*types.Transaction, error)

AddDeposit is a paid mutator transaction binding the contract method 0xdea02892.

Solidity: function addDeposit(address depositee) payable returns()

func (*BridgeProviderTransactorSession) Initialize

func (_BridgeProvider *BridgeProviderTransactorSession) Initialize() (*types.Transaction, error)

Initialize is a paid mutator transaction binding the contract method 0x8129fc1c.

Solidity: function initialize() returns()

func (*BridgeProviderTransactorSession) ReleaseDeposit

func (_BridgeProvider *BridgeProviderTransactorSession) ReleaseDeposit(depositee common.Address) (*types.Transaction, error)

ReleaseDeposit is a paid mutator transaction binding the contract method 0xfe7fd57c.

Solidity: function releaseDeposit(address depositee) returns()

func (*BridgeProviderTransactorSession) ReleaseDeposits

func (_BridgeProvider *BridgeProviderTransactorSession) ReleaseDeposits() (*types.Transaction, error)

ReleaseDeposits is a paid mutator transaction binding the contract method 0xaded41ec.

Solidity: function releaseDeposits() returns()

func (*BridgeProviderTransactorSession) RenounceOwnership

func (_BridgeProvider *BridgeProviderTransactorSession) RenounceOwnership() (*types.Transaction, error)

RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.

Solidity: function renounceOwnership() returns()

func (*BridgeProviderTransactorSession) SetApiEndpoint

func (_BridgeProvider *BridgeProviderTransactorSession) SetApiEndpoint(a string) (*types.Transaction, error)

SetApiEndpoint is a paid mutator transaction binding the contract method 0x0ab0e54f.

Solidity: function setApiEndpoint(string a) returns()

func (*BridgeProviderTransactorSession) SetProviderProportion

func (_BridgeProvider *BridgeProviderTransactorSession) SetProviderProportion(p *big.Int) (*types.Transaction, error)

SetProviderProportion is a paid mutator transaction binding the contract method 0xbb10e226.

Solidity: function setProviderProportion(uint256 p) returns()

func (*BridgeProviderTransactorSession) SetSessionDivisor

func (_BridgeProvider *BridgeProviderTransactorSession) SetSessionDivisor(m *big.Int) (*types.Transaction, error)

SetSessionDivisor is a paid mutator transaction binding the contract method 0x38b6fff1.

Solidity: function setSessionDivisor(uint256 m) returns()

func (*BridgeProviderTransactorSession) TransferOwnership

func (_BridgeProvider *BridgeProviderTransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)

TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.

Solidity: function transferOwnership(address newOwner) returns()

type BridgeRegistry

type BridgeRegistry struct {
	BridgeRegistryCaller     // Read-only binding to the contract
	BridgeRegistryTransactor // Write-only binding to the contract
	BridgeRegistryFilterer   // Log filterer for contract events
}

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

func NewBridgeRegistry

func NewBridgeRegistry(address common.Address, backend bind.ContractBackend) (*BridgeRegistry, error)

NewBridgeRegistry creates a new instance of BridgeRegistry, bound to a specific deployed contract.

type BridgeRegistryAddProvider

type BridgeRegistryAddProvider struct {
	Provider common.Address
	Raw      types.Log // Blockchain specific contextual infos
}

BridgeRegistryAddProvider represents a AddProvider event raised by the BridgeRegistry contract.

type BridgeRegistryAddProviderIterator

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

BridgeRegistryAddProviderIterator is returned from FilterAddProvider and is used to iterate over the raw logs and unpacked data for AddProvider events raised by the BridgeRegistry contract.

func (*BridgeRegistryAddProviderIterator) Close

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

func (*BridgeRegistryAddProviderIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*BridgeRegistryAddProviderIterator) 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 BridgeRegistryCaller

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

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

func NewBridgeRegistryCaller

func NewBridgeRegistryCaller(address common.Address, caller bind.ContractCaller) (*BridgeRegistryCaller, error)

NewBridgeRegistryCaller creates a new read-only instance of BridgeRegistry, bound to a specific deployed contract.

func (*BridgeRegistryCaller) ListProviders

func (_BridgeRegistry *BridgeRegistryCaller) ListProviders(opts *bind.CallOpts) ([]common.Address, error)

ListProviders is a free data retrieval call binding the contract method 0x2bd395a0.

Solidity: function listProviders() view returns(address[])

func (*BridgeRegistryCaller) Owner

func (_BridgeRegistry *BridgeRegistryCaller) Owner(opts *bind.CallOpts) (common.Address, error)

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

Solidity: function owner() view returns(address)

type BridgeRegistryCallerRaw

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

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

func (*BridgeRegistryCallerRaw) Call

func (_BridgeRegistry *BridgeRegistryCallerRaw) 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 BridgeRegistryCallerSession

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

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

func (*BridgeRegistryCallerSession) ListProviders

func (_BridgeRegistry *BridgeRegistryCallerSession) ListProviders() ([]common.Address, error)

ListProviders is a free data retrieval call binding the contract method 0x2bd395a0.

Solidity: function listProviders() view returns(address[])

func (*BridgeRegistryCallerSession) Owner

func (_BridgeRegistry *BridgeRegistryCallerSession) Owner() (common.Address, error)

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

Solidity: function owner() view returns(address)

type BridgeRegistryFilterer

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

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

func NewBridgeRegistryFilterer

func NewBridgeRegistryFilterer(address common.Address, filterer bind.ContractFilterer) (*BridgeRegistryFilterer, error)

NewBridgeRegistryFilterer creates a new log filterer instance of BridgeRegistry, bound to a specific deployed contract.

func (*BridgeRegistryFilterer) FilterAddProvider

func (_BridgeRegistry *BridgeRegistryFilterer) FilterAddProvider(opts *bind.FilterOpts, provider []common.Address) (*BridgeRegistryAddProviderIterator, error)

FilterAddProvider is a free log retrieval operation binding the contract event 0x635a554d7028e977037c71e4fefb0d02f19e160c13f01f813a18d362b4605c6d.

Solidity: event AddProvider(address indexed provider)

func (*BridgeRegistryFilterer) FilterOwnershipTransferred

func (_BridgeRegistry *BridgeRegistryFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*BridgeRegistryOwnershipTransferredIterator, error)

FilterOwnershipTransferred is a free log retrieval operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.

Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)

func (*BridgeRegistryFilterer) FilterRemoveProvider

func (_BridgeRegistry *BridgeRegistryFilterer) FilterRemoveProvider(opts *bind.FilterOpts, provider []common.Address) (*BridgeRegistryRemoveProviderIterator, error)

FilterRemoveProvider is a free log retrieval operation binding the contract event 0x8ab468b9f8f57e82f33d9a1742c03768ff84410a4911e8647bfa641826876904.

Solidity: event RemoveProvider(address indexed provider)

func (*BridgeRegistryFilterer) ParseAddProvider

func (_BridgeRegistry *BridgeRegistryFilterer) ParseAddProvider(log types.Log) (*BridgeRegistryAddProvider, error)

ParseAddProvider is a log parse operation binding the contract event 0x635a554d7028e977037c71e4fefb0d02f19e160c13f01f813a18d362b4605c6d.

Solidity: event AddProvider(address indexed provider)

func (*BridgeRegistryFilterer) ParseOwnershipTransferred

func (_BridgeRegistry *BridgeRegistryFilterer) ParseOwnershipTransferred(log types.Log) (*BridgeRegistryOwnershipTransferred, error)

ParseOwnershipTransferred is a log parse operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.

Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)

func (*BridgeRegistryFilterer) ParseRemoveProvider

func (_BridgeRegistry *BridgeRegistryFilterer) ParseRemoveProvider(log types.Log) (*BridgeRegistryRemoveProvider, error)

ParseRemoveProvider is a log parse operation binding the contract event 0x8ab468b9f8f57e82f33d9a1742c03768ff84410a4911e8647bfa641826876904.

Solidity: event RemoveProvider(address indexed provider)

func (*BridgeRegistryFilterer) WatchAddProvider

func (_BridgeRegistry *BridgeRegistryFilterer) WatchAddProvider(opts *bind.WatchOpts, sink chan<- *BridgeRegistryAddProvider, provider []common.Address) (event.Subscription, error)

WatchAddProvider is a free log subscription operation binding the contract event 0x635a554d7028e977037c71e4fefb0d02f19e160c13f01f813a18d362b4605c6d.

Solidity: event AddProvider(address indexed provider)

func (*BridgeRegistryFilterer) WatchOwnershipTransferred

func (_BridgeRegistry *BridgeRegistryFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *BridgeRegistryOwnershipTransferred, previousOwner []common.Address, newOwner []common.Address) (event.Subscription, error)

WatchOwnershipTransferred is a free log subscription operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.

Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)

func (*BridgeRegistryFilterer) WatchRemoveProvider

func (_BridgeRegistry *BridgeRegistryFilterer) WatchRemoveProvider(opts *bind.WatchOpts, sink chan<- *BridgeRegistryRemoveProvider, provider []common.Address) (event.Subscription, error)

WatchRemoveProvider is a free log subscription operation binding the contract event 0x8ab468b9f8f57e82f33d9a1742c03768ff84410a4911e8647bfa641826876904.

Solidity: event RemoveProvider(address indexed provider)

type BridgeRegistryOwnershipTransferred

type BridgeRegistryOwnershipTransferred struct {
	PreviousOwner common.Address
	NewOwner      common.Address
	Raw           types.Log // Blockchain specific contextual infos
}

BridgeRegistryOwnershipTransferred represents a OwnershipTransferred event raised by the BridgeRegistry contract.

type BridgeRegistryOwnershipTransferredIterator

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

BridgeRegistryOwnershipTransferredIterator is returned from FilterOwnershipTransferred and is used to iterate over the raw logs and unpacked data for OwnershipTransferred events raised by the BridgeRegistry contract.

func (*BridgeRegistryOwnershipTransferredIterator) Close

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

func (*BridgeRegistryOwnershipTransferredIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*BridgeRegistryOwnershipTransferredIterator) 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 BridgeRegistryRaw

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

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

func (*BridgeRegistryRaw) Call

func (_BridgeRegistry *BridgeRegistryRaw) 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 (*BridgeRegistryRaw) Transact

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

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

func (*BridgeRegistryRaw) Transfer

func (_BridgeRegistry *BridgeRegistryRaw) 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 BridgeRegistryRemoveProvider

type BridgeRegistryRemoveProvider struct {
	Provider common.Address
	Raw      types.Log // Blockchain specific contextual infos
}

BridgeRegistryRemoveProvider represents a RemoveProvider event raised by the BridgeRegistry contract.

type BridgeRegistryRemoveProviderIterator

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

BridgeRegistryRemoveProviderIterator is returned from FilterRemoveProvider and is used to iterate over the raw logs and unpacked data for RemoveProvider events raised by the BridgeRegistry contract.

func (*BridgeRegistryRemoveProviderIterator) Close

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

func (*BridgeRegistryRemoveProviderIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*BridgeRegistryRemoveProviderIterator) 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 BridgeRegistrySession

type BridgeRegistrySession struct {
	Contract     *BridgeRegistry   // 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
}

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

func (*BridgeRegistrySession) AddProvider

func (_BridgeRegistry *BridgeRegistrySession) AddProvider(provider common.Address) (*types.Transaction, error)

AddProvider is a paid mutator transaction binding the contract method 0x46e2577a.

Solidity: function addProvider(address provider) returns()

func (*BridgeRegistrySession) Initialize

func (_BridgeRegistry *BridgeRegistrySession) Initialize() (*types.Transaction, error)

Initialize is a paid mutator transaction binding the contract method 0x8129fc1c.

Solidity: function initialize() returns()

func (*BridgeRegistrySession) ListProviders

func (_BridgeRegistry *BridgeRegistrySession) ListProviders() ([]common.Address, error)

ListProviders is a free data retrieval call binding the contract method 0x2bd395a0.

Solidity: function listProviders() view returns(address[])

func (*BridgeRegistrySession) Owner

func (_BridgeRegistry *BridgeRegistrySession) Owner() (common.Address, error)

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

Solidity: function owner() view returns(address)

func (*BridgeRegistrySession) RemoveProvider

func (_BridgeRegistry *BridgeRegistrySession) RemoveProvider(provider common.Address) (*types.Transaction, error)

RemoveProvider is a paid mutator transaction binding the contract method 0x8a355a57.

Solidity: function removeProvider(address provider) returns()

func (*BridgeRegistrySession) RenounceOwnership

func (_BridgeRegistry *BridgeRegistrySession) RenounceOwnership() (*types.Transaction, error)

RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.

Solidity: function renounceOwnership() returns()

func (*BridgeRegistrySession) TransferOwnership

func (_BridgeRegistry *BridgeRegistrySession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)

TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.

Solidity: function transferOwnership(address newOwner) returns()

type BridgeRegistryTransactor

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

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

func NewBridgeRegistryTransactor

func NewBridgeRegistryTransactor(address common.Address, transactor bind.ContractTransactor) (*BridgeRegistryTransactor, error)

NewBridgeRegistryTransactor creates a new write-only instance of BridgeRegistry, bound to a specific deployed contract.

func (*BridgeRegistryTransactor) AddProvider

func (_BridgeRegistry *BridgeRegistryTransactor) AddProvider(opts *bind.TransactOpts, provider common.Address) (*types.Transaction, error)

AddProvider is a paid mutator transaction binding the contract method 0x46e2577a.

Solidity: function addProvider(address provider) returns()

func (*BridgeRegistryTransactor) Initialize

func (_BridgeRegistry *BridgeRegistryTransactor) Initialize(opts *bind.TransactOpts) (*types.Transaction, error)

Initialize is a paid mutator transaction binding the contract method 0x8129fc1c.

Solidity: function initialize() returns()

func (*BridgeRegistryTransactor) RemoveProvider

func (_BridgeRegistry *BridgeRegistryTransactor) RemoveProvider(opts *bind.TransactOpts, provider common.Address) (*types.Transaction, error)

RemoveProvider is a paid mutator transaction binding the contract method 0x8a355a57.

Solidity: function removeProvider(address provider) returns()

func (*BridgeRegistryTransactor) RenounceOwnership

func (_BridgeRegistry *BridgeRegistryTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)

RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.

Solidity: function renounceOwnership() returns()

func (*BridgeRegistryTransactor) TransferOwnership

func (_BridgeRegistry *BridgeRegistryTransactor) TransferOwnership(opts *bind.TransactOpts, newOwner common.Address) (*types.Transaction, error)

TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.

Solidity: function transferOwnership(address newOwner) returns()

type BridgeRegistryTransactorRaw

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

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

func (*BridgeRegistryTransactorRaw) Transact

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

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

func (*BridgeRegistryTransactorRaw) Transfer

func (_BridgeRegistry *BridgeRegistryTransactorRaw) 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 BridgeRegistryTransactorSession

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

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

func (*BridgeRegistryTransactorSession) AddProvider

func (_BridgeRegistry *BridgeRegistryTransactorSession) AddProvider(provider common.Address) (*types.Transaction, error)

AddProvider is a paid mutator transaction binding the contract method 0x46e2577a.

Solidity: function addProvider(address provider) returns()

func (*BridgeRegistryTransactorSession) Initialize

func (_BridgeRegistry *BridgeRegistryTransactorSession) Initialize() (*types.Transaction, error)

Initialize is a paid mutator transaction binding the contract method 0x8129fc1c.

Solidity: function initialize() returns()

func (*BridgeRegistryTransactorSession) RemoveProvider

func (_BridgeRegistry *BridgeRegistryTransactorSession) RemoveProvider(provider common.Address) (*types.Transaction, error)

RemoveProvider is a paid mutator transaction binding the contract method 0x8a355a57.

Solidity: function removeProvider(address provider) returns()

func (*BridgeRegistryTransactorSession) RenounceOwnership

func (_BridgeRegistry *BridgeRegistryTransactorSession) RenounceOwnership() (*types.Transaction, error)

RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.

Solidity: function renounceOwnership() returns()

func (*BridgeRegistryTransactorSession) TransferOwnership

func (_BridgeRegistry *BridgeRegistryTransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)

TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.

Solidity: function transferOwnership(address newOwner) returns()

Jump to

Keyboard shortcuts

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