Documentation ¶
Index ¶
- Variables
- type FeeVault
- type FeeVaultCaller
- type FeeVaultCallerRaw
- type FeeVaultCallerSession
- type FeeVaultFilterer
- func (_FeeVault *FeeVaultFilterer) FilterOpenChannelFeeDeposited(opts *bind.FilterOpts) (*FeeVaultOpenChannelFeeDepositedIterator, error)
- func (_FeeVault *FeeVaultFilterer) FilterOwnershipTransferStarted(opts *bind.FilterOpts, previousOwner []common.Address, ...) (*FeeVaultOwnershipTransferStartedIterator, error)
- func (_FeeVault *FeeVaultFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, ...) (*FeeVaultOwnershipTransferredIterator, error)
- func (_FeeVault *FeeVaultFilterer) FilterSendPacketFeeDeposited(opts *bind.FilterOpts, channelId [][32]byte, sequence []uint64) (*FeeVaultSendPacketFeeDepositedIterator, error)
- func (_FeeVault *FeeVaultFilterer) ParseOpenChannelFeeDeposited(log types.Log) (*FeeVaultOpenChannelFeeDeposited, error)
- func (_FeeVault *FeeVaultFilterer) ParseOwnershipTransferStarted(log types.Log) (*FeeVaultOwnershipTransferStarted, error)
- func (_FeeVault *FeeVaultFilterer) ParseOwnershipTransferred(log types.Log) (*FeeVaultOwnershipTransferred, error)
- func (_FeeVault *FeeVaultFilterer) ParseSendPacketFeeDeposited(log types.Log) (*FeeVaultSendPacketFeeDeposited, error)
- func (_FeeVault *FeeVaultFilterer) WatchOpenChannelFeeDeposited(opts *bind.WatchOpts, sink chan<- *FeeVaultOpenChannelFeeDeposited) (event.Subscription, error)
- func (_FeeVault *FeeVaultFilterer) WatchOwnershipTransferStarted(opts *bind.WatchOpts, sink chan<- *FeeVaultOwnershipTransferStarted, ...) (event.Subscription, error)
- func (_FeeVault *FeeVaultFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *FeeVaultOwnershipTransferred, ...) (event.Subscription, error)
- func (_FeeVault *FeeVaultFilterer) WatchSendPacketFeeDeposited(opts *bind.WatchOpts, sink chan<- *FeeVaultSendPacketFeeDeposited, ...) (event.Subscription, error)
- type FeeVaultOpenChannelFeeDeposited
- type FeeVaultOpenChannelFeeDepositedIterator
- type FeeVaultOwnershipTransferStarted
- type FeeVaultOwnershipTransferStartedIterator
- type FeeVaultOwnershipTransferred
- type FeeVaultOwnershipTransferredIterator
- type FeeVaultRaw
- func (_FeeVault *FeeVaultRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_FeeVault *FeeVaultRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_FeeVault *FeeVaultRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type FeeVaultSendPacketFeeDeposited
- type FeeVaultSendPacketFeeDepositedIterator
- type FeeVaultSession
- func (_FeeVault *FeeVaultSession) AcceptOwnership() (*types.Transaction, error)
- func (_FeeVault *FeeVaultSession) DepositOpenChannelFee(src common.Address, version string, ordering uint8, connectionHops []string, ...) (*types.Transaction, error)
- func (_FeeVault *FeeVaultSession) DepositSendPacketFee(channelId [32]byte, sequence uint64, gasLimits [2]*big.Int, ...) (*types.Transaction, error)
- func (_FeeVault *FeeVaultSession) Owner() (common.Address, error)
- func (_FeeVault *FeeVaultSession) PendingOwner() (common.Address, error)
- func (_FeeVault *FeeVaultSession) RenounceOwnership() (*types.Transaction, error)
- func (_FeeVault *FeeVaultSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
- func (_FeeVault *FeeVaultSession) WithdrawFeesToOwner() (*types.Transaction, error)
- type FeeVaultTransactor
- func (_FeeVault *FeeVaultTransactor) AcceptOwnership(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_FeeVault *FeeVaultTransactor) DepositOpenChannelFee(opts *bind.TransactOpts, src common.Address, version string, ordering uint8, ...) (*types.Transaction, error)
- func (_FeeVault *FeeVaultTransactor) DepositSendPacketFee(opts *bind.TransactOpts, channelId [32]byte, sequence uint64, ...) (*types.Transaction, error)
- func (_FeeVault *FeeVaultTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_FeeVault *FeeVaultTransactor) TransferOwnership(opts *bind.TransactOpts, newOwner common.Address) (*types.Transaction, error)
- func (_FeeVault *FeeVaultTransactor) WithdrawFeesToOwner(opts *bind.TransactOpts) (*types.Transaction, error)
- type FeeVaultTransactorRaw
- type FeeVaultTransactorSession
- func (_FeeVault *FeeVaultTransactorSession) AcceptOwnership() (*types.Transaction, error)
- func (_FeeVault *FeeVaultTransactorSession) DepositOpenChannelFee(src common.Address, version string, ordering uint8, connectionHops []string, ...) (*types.Transaction, error)
- func (_FeeVault *FeeVaultTransactorSession) DepositSendPacketFee(channelId [32]byte, sequence uint64, gasLimits [2]*big.Int, ...) (*types.Transaction, error)
- func (_FeeVault *FeeVaultTransactorSession) RenounceOwnership() (*types.Transaction, error)
- func (_FeeVault *FeeVaultTransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
- func (_FeeVault *FeeVaultTransactorSession) WithdrawFeesToOwner() (*types.Transaction, error)
Constants ¶
This section is empty.
Variables ¶
var FeeVaultABI = FeeVaultMetaData.ABI
FeeVaultABI is the input ABI used to generate the binding from. Deprecated: Use FeeVaultMetaData.ABI instead.
var FeeVaultMetaData = &bind.MetaData{
ABI: "[{\"type\":\"function\",\"name\":\"acceptOwnership\",\"inputs\":[],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"depositOpenChannelFee\",\"inputs\":[{\"name\":\"src\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"version\",\"type\":\"string\",\"internalType\":\"string\"},{\"name\":\"ordering\",\"type\":\"uint8\",\"internalType\":\"enumChannelOrder\"},{\"name\":\"connectionHops\",\"type\":\"string[]\",\"internalType\":\"string[]\"},{\"name\":\"counterpartyPortId\",\"type\":\"string\",\"internalType\":\"string\"}],\"outputs\":[],\"stateMutability\":\"payable\"},{\"type\":\"function\",\"name\":\"depositSendPacketFee\",\"inputs\":[{\"name\":\"channelId\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"},{\"name\":\"sequence\",\"type\":\"uint64\",\"internalType\":\"uint64\"},{\"name\":\"gasLimits\",\"type\":\"uint256[2]\",\"internalType\":\"uint256[2]\"},{\"name\":\"gasPrices\",\"type\":\"uint256[2]\",\"internalType\":\"uint256[2]\"}],\"outputs\":[],\"stateMutability\":\"payable\"},{\"type\":\"function\",\"name\":\"owner\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"address\",\"internalType\":\"address\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"pendingOwner\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"address\",\"internalType\":\"address\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"renounceOwnership\",\"inputs\":[],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"transferOwnership\",\"inputs\":[{\"name\":\"newOwner\",\"type\":\"address\",\"internalType\":\"address\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"withdrawFeesToOwner\",\"inputs\":[],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"event\",\"name\":\"OpenChannelFeeDeposited\",\"inputs\":[{\"name\":\"sourceAddress\",\"type\":\"address\",\"indexed\":false,\"internalType\":\"address\"},{\"name\":\"version\",\"type\":\"string\",\"indexed\":false,\"internalType\":\"string\"},{\"name\":\"ordering\",\"type\":\"uint8\",\"indexed\":false,\"internalType\":\"enumChannelOrder\"},{\"name\":\"connectionHops\",\"type\":\"string[]\",\"indexed\":false,\"internalType\":\"string[]\"},{\"name\":\"counterpartyPortId\",\"type\":\"string\",\"indexed\":false,\"internalType\":\"string\"},{\"name\":\"feeAmount\",\"type\":\"uint256\",\"indexed\":false,\"internalType\":\"uint256\"}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"OwnershipTransferStarted\",\"inputs\":[{\"name\":\"previousOwner\",\"type\":\"address\",\"indexed\":true,\"internalType\":\"address\"},{\"name\":\"newOwner\",\"type\":\"address\",\"indexed\":true,\"internalType\":\"address\"}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"OwnershipTransferred\",\"inputs\":[{\"name\":\"previousOwner\",\"type\":\"address\",\"indexed\":true,\"internalType\":\"address\"},{\"name\":\"newOwner\",\"type\":\"address\",\"indexed\":true,\"internalType\":\"address\"}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"SendPacketFeeDeposited\",\"inputs\":[{\"name\":\"channelId\",\"type\":\"bytes32\",\"indexed\":true,\"internalType\":\"bytes32\"},{\"name\":\"sequence\",\"type\":\"uint64\",\"indexed\":true,\"internalType\":\"uint64\"},{\"name\":\"gasLimits\",\"type\":\"uint256[2]\",\"indexed\":false,\"internalType\":\"uint256[2]\"},{\"name\":\"gasPrices\",\"type\":\"uint256[2]\",\"indexed\":false,\"internalType\":\"uint256[2]\"}],\"anonymous\":false},{\"type\":\"error\",\"name\":\"FeeThresholdNotMet\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"IncorrectFeeSent\",\"inputs\":[{\"name\":\"expected\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"sent\",\"type\":\"uint256\",\"internalType\":\"uint256\"}]},{\"type\":\"error\",\"name\":\"SenderNotDispatcher\",\"inputs\":[]}]",
}
FeeVaultMetaData contains all meta data concerning the FeeVault contract.
Functions ¶
This section is empty.
Types ¶
type FeeVault ¶
type FeeVault struct { FeeVaultCaller // Read-only binding to the contract FeeVaultTransactor // Write-only binding to the contract FeeVaultFilterer // Log filterer for contract events }
FeeVault is an auto generated Go binding around an Ethereum contract.
func NewFeeVault ¶
NewFeeVault creates a new instance of FeeVault, bound to a specific deployed contract.
type FeeVaultCaller ¶
type FeeVaultCaller struct {
// contains filtered or unexported fields
}
FeeVaultCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewFeeVaultCaller ¶
func NewFeeVaultCaller(address common.Address, caller bind.ContractCaller) (*FeeVaultCaller, error)
NewFeeVaultCaller creates a new read-only instance of FeeVault, bound to a specific deployed contract.
func (*FeeVaultCaller) Owner ¶
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() view returns(address)
func (*FeeVaultCaller) PendingOwner ¶
PendingOwner is a free data retrieval call binding the contract method 0xe30c3978.
Solidity: function pendingOwner() view returns(address)
type FeeVaultCallerRaw ¶
type FeeVaultCallerRaw struct {
Contract *FeeVaultCaller // Generic read-only contract binding to access the raw methods on
}
FeeVaultCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*FeeVaultCallerRaw) Call ¶
func (_FeeVault *FeeVaultCallerRaw) 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 FeeVaultCallerSession ¶
type FeeVaultCallerSession struct { Contract *FeeVaultCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
FeeVaultCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*FeeVaultCallerSession) Owner ¶
func (_FeeVault *FeeVaultCallerSession) Owner() (common.Address, error)
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() view returns(address)
func (*FeeVaultCallerSession) PendingOwner ¶
func (_FeeVault *FeeVaultCallerSession) PendingOwner() (common.Address, error)
PendingOwner is a free data retrieval call binding the contract method 0xe30c3978.
Solidity: function pendingOwner() view returns(address)
type FeeVaultFilterer ¶
type FeeVaultFilterer struct {
// contains filtered or unexported fields
}
FeeVaultFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewFeeVaultFilterer ¶
func NewFeeVaultFilterer(address common.Address, filterer bind.ContractFilterer) (*FeeVaultFilterer, error)
NewFeeVaultFilterer creates a new log filterer instance of FeeVault, bound to a specific deployed contract.
func (*FeeVaultFilterer) FilterOpenChannelFeeDeposited ¶
func (_FeeVault *FeeVaultFilterer) FilterOpenChannelFeeDeposited(opts *bind.FilterOpts) (*FeeVaultOpenChannelFeeDepositedIterator, error)
FilterOpenChannelFeeDeposited is a free log retrieval operation binding the contract event 0x8ab5595b5ac9231b64513ba86f6bd9fb73c51cae40c36083f7dfc2298e4429e6.
Solidity: event OpenChannelFeeDeposited(address sourceAddress, string version, uint8 ordering, string[] connectionHops, string counterpartyPortId, uint256 feeAmount)
func (*FeeVaultFilterer) FilterOwnershipTransferStarted ¶
func (_FeeVault *FeeVaultFilterer) FilterOwnershipTransferStarted(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*FeeVaultOwnershipTransferStartedIterator, error)
FilterOwnershipTransferStarted is a free log retrieval operation binding the contract event 0x38d16b8cac22d99fc7c124b9cd0de2d3fa1faef420bfe791d8c362d765e22700.
Solidity: event OwnershipTransferStarted(address indexed previousOwner, address indexed newOwner)
func (*FeeVaultFilterer) FilterOwnershipTransferred ¶
func (_FeeVault *FeeVaultFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*FeeVaultOwnershipTransferredIterator, error)
FilterOwnershipTransferred is a free log retrieval operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.
Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
func (*FeeVaultFilterer) FilterSendPacketFeeDeposited ¶
func (_FeeVault *FeeVaultFilterer) FilterSendPacketFeeDeposited(opts *bind.FilterOpts, channelId [][32]byte, sequence []uint64) (*FeeVaultSendPacketFeeDepositedIterator, error)
FilterSendPacketFeeDeposited is a free log retrieval operation binding the contract event 0x0733dc80f277e205edf5d913fa5d91fa0c4cc2635db600b365471c688356c034.
Solidity: event SendPacketFeeDeposited(bytes32 indexed channelId, uint64 indexed sequence, uint256[2] gasLimits, uint256[2] gasPrices)
func (*FeeVaultFilterer) ParseOpenChannelFeeDeposited ¶
func (_FeeVault *FeeVaultFilterer) ParseOpenChannelFeeDeposited(log types.Log) (*FeeVaultOpenChannelFeeDeposited, error)
ParseOpenChannelFeeDeposited is a log parse operation binding the contract event 0x8ab5595b5ac9231b64513ba86f6bd9fb73c51cae40c36083f7dfc2298e4429e6.
Solidity: event OpenChannelFeeDeposited(address sourceAddress, string version, uint8 ordering, string[] connectionHops, string counterpartyPortId, uint256 feeAmount)
func (*FeeVaultFilterer) ParseOwnershipTransferStarted ¶
func (_FeeVault *FeeVaultFilterer) ParseOwnershipTransferStarted(log types.Log) (*FeeVaultOwnershipTransferStarted, error)
ParseOwnershipTransferStarted is a log parse operation binding the contract event 0x38d16b8cac22d99fc7c124b9cd0de2d3fa1faef420bfe791d8c362d765e22700.
Solidity: event OwnershipTransferStarted(address indexed previousOwner, address indexed newOwner)
func (*FeeVaultFilterer) ParseOwnershipTransferred ¶
func (_FeeVault *FeeVaultFilterer) ParseOwnershipTransferred(log types.Log) (*FeeVaultOwnershipTransferred, error)
ParseOwnershipTransferred is a log parse operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.
Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
func (*FeeVaultFilterer) ParseSendPacketFeeDeposited ¶
func (_FeeVault *FeeVaultFilterer) ParseSendPacketFeeDeposited(log types.Log) (*FeeVaultSendPacketFeeDeposited, error)
ParseSendPacketFeeDeposited is a log parse operation binding the contract event 0x0733dc80f277e205edf5d913fa5d91fa0c4cc2635db600b365471c688356c034.
Solidity: event SendPacketFeeDeposited(bytes32 indexed channelId, uint64 indexed sequence, uint256[2] gasLimits, uint256[2] gasPrices)
func (*FeeVaultFilterer) WatchOpenChannelFeeDeposited ¶
func (_FeeVault *FeeVaultFilterer) WatchOpenChannelFeeDeposited(opts *bind.WatchOpts, sink chan<- *FeeVaultOpenChannelFeeDeposited) (event.Subscription, error)
WatchOpenChannelFeeDeposited is a free log subscription operation binding the contract event 0x8ab5595b5ac9231b64513ba86f6bd9fb73c51cae40c36083f7dfc2298e4429e6.
Solidity: event OpenChannelFeeDeposited(address sourceAddress, string version, uint8 ordering, string[] connectionHops, string counterpartyPortId, uint256 feeAmount)
func (*FeeVaultFilterer) WatchOwnershipTransferStarted ¶
func (_FeeVault *FeeVaultFilterer) WatchOwnershipTransferStarted(opts *bind.WatchOpts, sink chan<- *FeeVaultOwnershipTransferStarted, previousOwner []common.Address, newOwner []common.Address) (event.Subscription, error)
WatchOwnershipTransferStarted is a free log subscription operation binding the contract event 0x38d16b8cac22d99fc7c124b9cd0de2d3fa1faef420bfe791d8c362d765e22700.
Solidity: event OwnershipTransferStarted(address indexed previousOwner, address indexed newOwner)
func (*FeeVaultFilterer) WatchOwnershipTransferred ¶
func (_FeeVault *FeeVaultFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *FeeVaultOwnershipTransferred, 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 (*FeeVaultFilterer) WatchSendPacketFeeDeposited ¶
func (_FeeVault *FeeVaultFilterer) WatchSendPacketFeeDeposited(opts *bind.WatchOpts, sink chan<- *FeeVaultSendPacketFeeDeposited, channelId [][32]byte, sequence []uint64) (event.Subscription, error)
WatchSendPacketFeeDeposited is a free log subscription operation binding the contract event 0x0733dc80f277e205edf5d913fa5d91fa0c4cc2635db600b365471c688356c034.
Solidity: event SendPacketFeeDeposited(bytes32 indexed channelId, uint64 indexed sequence, uint256[2] gasLimits, uint256[2] gasPrices)
type FeeVaultOpenChannelFeeDeposited ¶
type FeeVaultOpenChannelFeeDeposited struct { SourceAddress common.Address Version string Ordering uint8 ConnectionHops []string CounterpartyPortId string FeeAmount *big.Int Raw types.Log // Blockchain specific contextual infos }
FeeVaultOpenChannelFeeDeposited represents a OpenChannelFeeDeposited event raised by the FeeVault contract.
type FeeVaultOpenChannelFeeDepositedIterator ¶
type FeeVaultOpenChannelFeeDepositedIterator struct { Event *FeeVaultOpenChannelFeeDeposited // Event containing the contract specifics and raw log // contains filtered or unexported fields }
FeeVaultOpenChannelFeeDepositedIterator is returned from FilterOpenChannelFeeDeposited and is used to iterate over the raw logs and unpacked data for OpenChannelFeeDeposited events raised by the FeeVault contract.
func (*FeeVaultOpenChannelFeeDepositedIterator) Close ¶
func (it *FeeVaultOpenChannelFeeDepositedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*FeeVaultOpenChannelFeeDepositedIterator) Error ¶
func (it *FeeVaultOpenChannelFeeDepositedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*FeeVaultOpenChannelFeeDepositedIterator) Next ¶
func (it *FeeVaultOpenChannelFeeDepositedIterator) 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 FeeVaultOwnershipTransferStarted ¶
type FeeVaultOwnershipTransferStarted struct { PreviousOwner common.Address NewOwner common.Address Raw types.Log // Blockchain specific contextual infos }
FeeVaultOwnershipTransferStarted represents a OwnershipTransferStarted event raised by the FeeVault contract.
type FeeVaultOwnershipTransferStartedIterator ¶
type FeeVaultOwnershipTransferStartedIterator struct { Event *FeeVaultOwnershipTransferStarted // Event containing the contract specifics and raw log // contains filtered or unexported fields }
FeeVaultOwnershipTransferStartedIterator is returned from FilterOwnershipTransferStarted and is used to iterate over the raw logs and unpacked data for OwnershipTransferStarted events raised by the FeeVault contract.
func (*FeeVaultOwnershipTransferStartedIterator) Close ¶
func (it *FeeVaultOwnershipTransferStartedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*FeeVaultOwnershipTransferStartedIterator) Error ¶
func (it *FeeVaultOwnershipTransferStartedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*FeeVaultOwnershipTransferStartedIterator) Next ¶
func (it *FeeVaultOwnershipTransferStartedIterator) 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 FeeVaultOwnershipTransferred ¶
type FeeVaultOwnershipTransferred struct { PreviousOwner common.Address NewOwner common.Address Raw types.Log // Blockchain specific contextual infos }
FeeVaultOwnershipTransferred represents a OwnershipTransferred event raised by the FeeVault contract.
type FeeVaultOwnershipTransferredIterator ¶
type FeeVaultOwnershipTransferredIterator struct { Event *FeeVaultOwnershipTransferred // Event containing the contract specifics and raw log // contains filtered or unexported fields }
FeeVaultOwnershipTransferredIterator is returned from FilterOwnershipTransferred and is used to iterate over the raw logs and unpacked data for OwnershipTransferred events raised by the FeeVault contract.
func (*FeeVaultOwnershipTransferredIterator) Close ¶
func (it *FeeVaultOwnershipTransferredIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*FeeVaultOwnershipTransferredIterator) Error ¶
func (it *FeeVaultOwnershipTransferredIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*FeeVaultOwnershipTransferredIterator) Next ¶
func (it *FeeVaultOwnershipTransferredIterator) 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 FeeVaultRaw ¶
type FeeVaultRaw struct {
Contract *FeeVault // Generic contract binding to access the raw methods on
}
FeeVaultRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*FeeVaultRaw) Call ¶
func (_FeeVault *FeeVaultRaw) 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 (*FeeVaultRaw) Transact ¶
func (_FeeVault *FeeVaultRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*FeeVaultRaw) Transfer ¶
func (_FeeVault *FeeVaultRaw) 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 FeeVaultSendPacketFeeDeposited ¶
type FeeVaultSendPacketFeeDeposited struct { ChannelId [32]byte Sequence uint64 GasLimits [2]*big.Int GasPrices [2]*big.Int Raw types.Log // Blockchain specific contextual infos }
FeeVaultSendPacketFeeDeposited represents a SendPacketFeeDeposited event raised by the FeeVault contract.
type FeeVaultSendPacketFeeDepositedIterator ¶
type FeeVaultSendPacketFeeDepositedIterator struct { Event *FeeVaultSendPacketFeeDeposited // Event containing the contract specifics and raw log // contains filtered or unexported fields }
FeeVaultSendPacketFeeDepositedIterator is returned from FilterSendPacketFeeDeposited and is used to iterate over the raw logs and unpacked data for SendPacketFeeDeposited events raised by the FeeVault contract.
func (*FeeVaultSendPacketFeeDepositedIterator) Close ¶
func (it *FeeVaultSendPacketFeeDepositedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*FeeVaultSendPacketFeeDepositedIterator) Error ¶
func (it *FeeVaultSendPacketFeeDepositedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*FeeVaultSendPacketFeeDepositedIterator) Next ¶
func (it *FeeVaultSendPacketFeeDepositedIterator) 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 FeeVaultSession ¶
type FeeVaultSession struct { Contract *FeeVault // 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 }
FeeVaultSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*FeeVaultSession) AcceptOwnership ¶
func (_FeeVault *FeeVaultSession) AcceptOwnership() (*types.Transaction, error)
AcceptOwnership is a paid mutator transaction binding the contract method 0x79ba5097.
Solidity: function acceptOwnership() returns()
func (*FeeVaultSession) DepositOpenChannelFee ¶
func (_FeeVault *FeeVaultSession) DepositOpenChannelFee(src common.Address, version string, ordering uint8, connectionHops []string, counterpartyPortId string) (*types.Transaction, error)
DepositOpenChannelFee is a paid mutator transaction binding the contract method 0xfce34e40.
Solidity: function depositOpenChannelFee(address src, string version, uint8 ordering, string[] connectionHops, string counterpartyPortId) payable returns()
func (*FeeVaultSession) DepositSendPacketFee ¶
func (_FeeVault *FeeVaultSession) DepositSendPacketFee(channelId [32]byte, sequence uint64, gasLimits [2]*big.Int, gasPrices [2]*big.Int) (*types.Transaction, error)
DepositSendPacketFee is a paid mutator transaction binding the contract method 0x18e3404b.
Solidity: function depositSendPacketFee(bytes32 channelId, uint64 sequence, uint256[2] gasLimits, uint256[2] gasPrices) payable returns()
func (*FeeVaultSession) Owner ¶
func (_FeeVault *FeeVaultSession) Owner() (common.Address, error)
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() view returns(address)
func (*FeeVaultSession) PendingOwner ¶
func (_FeeVault *FeeVaultSession) PendingOwner() (common.Address, error)
PendingOwner is a free data retrieval call binding the contract method 0xe30c3978.
Solidity: function pendingOwner() view returns(address)
func (*FeeVaultSession) RenounceOwnership ¶
func (_FeeVault *FeeVaultSession) RenounceOwnership() (*types.Transaction, error)
RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.
Solidity: function renounceOwnership() returns()
func (*FeeVaultSession) TransferOwnership ¶
func (_FeeVault *FeeVaultSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.
Solidity: function transferOwnership(address newOwner) returns()
func (*FeeVaultSession) WithdrawFeesToOwner ¶
func (_FeeVault *FeeVaultSession) WithdrawFeesToOwner() (*types.Transaction, error)
WithdrawFeesToOwner is a paid mutator transaction binding the contract method 0x0be6a22d.
Solidity: function withdrawFeesToOwner() returns()
type FeeVaultTransactor ¶
type FeeVaultTransactor struct {
// contains filtered or unexported fields
}
FeeVaultTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewFeeVaultTransactor ¶
func NewFeeVaultTransactor(address common.Address, transactor bind.ContractTransactor) (*FeeVaultTransactor, error)
NewFeeVaultTransactor creates a new write-only instance of FeeVault, bound to a specific deployed contract.
func (*FeeVaultTransactor) AcceptOwnership ¶
func (_FeeVault *FeeVaultTransactor) AcceptOwnership(opts *bind.TransactOpts) (*types.Transaction, error)
AcceptOwnership is a paid mutator transaction binding the contract method 0x79ba5097.
Solidity: function acceptOwnership() returns()
func (*FeeVaultTransactor) DepositOpenChannelFee ¶
func (_FeeVault *FeeVaultTransactor) DepositOpenChannelFee(opts *bind.TransactOpts, src common.Address, version string, ordering uint8, connectionHops []string, counterpartyPortId string) (*types.Transaction, error)
DepositOpenChannelFee is a paid mutator transaction binding the contract method 0xfce34e40.
Solidity: function depositOpenChannelFee(address src, string version, uint8 ordering, string[] connectionHops, string counterpartyPortId) payable returns()
func (*FeeVaultTransactor) DepositSendPacketFee ¶
func (_FeeVault *FeeVaultTransactor) DepositSendPacketFee(opts *bind.TransactOpts, channelId [32]byte, sequence uint64, gasLimits [2]*big.Int, gasPrices [2]*big.Int) (*types.Transaction, error)
DepositSendPacketFee is a paid mutator transaction binding the contract method 0x18e3404b.
Solidity: function depositSendPacketFee(bytes32 channelId, uint64 sequence, uint256[2] gasLimits, uint256[2] gasPrices) payable returns()
func (*FeeVaultTransactor) RenounceOwnership ¶
func (_FeeVault *FeeVaultTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)
RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.
Solidity: function renounceOwnership() returns()
func (*FeeVaultTransactor) TransferOwnership ¶
func (_FeeVault *FeeVaultTransactor) 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()
func (*FeeVaultTransactor) WithdrawFeesToOwner ¶
func (_FeeVault *FeeVaultTransactor) WithdrawFeesToOwner(opts *bind.TransactOpts) (*types.Transaction, error)
WithdrawFeesToOwner is a paid mutator transaction binding the contract method 0x0be6a22d.
Solidity: function withdrawFeesToOwner() returns()
type FeeVaultTransactorRaw ¶
type FeeVaultTransactorRaw struct {
Contract *FeeVaultTransactor // Generic write-only contract binding to access the raw methods on
}
FeeVaultTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*FeeVaultTransactorRaw) Transact ¶
func (_FeeVault *FeeVaultTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*FeeVaultTransactorRaw) Transfer ¶
func (_FeeVault *FeeVaultTransactorRaw) 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 FeeVaultTransactorSession ¶
type FeeVaultTransactorSession struct { Contract *FeeVaultTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
FeeVaultTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*FeeVaultTransactorSession) AcceptOwnership ¶
func (_FeeVault *FeeVaultTransactorSession) AcceptOwnership() (*types.Transaction, error)
AcceptOwnership is a paid mutator transaction binding the contract method 0x79ba5097.
Solidity: function acceptOwnership() returns()
func (*FeeVaultTransactorSession) DepositOpenChannelFee ¶
func (_FeeVault *FeeVaultTransactorSession) DepositOpenChannelFee(src common.Address, version string, ordering uint8, connectionHops []string, counterpartyPortId string) (*types.Transaction, error)
DepositOpenChannelFee is a paid mutator transaction binding the contract method 0xfce34e40.
Solidity: function depositOpenChannelFee(address src, string version, uint8 ordering, string[] connectionHops, string counterpartyPortId) payable returns()
func (*FeeVaultTransactorSession) DepositSendPacketFee ¶
func (_FeeVault *FeeVaultTransactorSession) DepositSendPacketFee(channelId [32]byte, sequence uint64, gasLimits [2]*big.Int, gasPrices [2]*big.Int) (*types.Transaction, error)
DepositSendPacketFee is a paid mutator transaction binding the contract method 0x18e3404b.
Solidity: function depositSendPacketFee(bytes32 channelId, uint64 sequence, uint256[2] gasLimits, uint256[2] gasPrices) payable returns()
func (*FeeVaultTransactorSession) RenounceOwnership ¶
func (_FeeVault *FeeVaultTransactorSession) RenounceOwnership() (*types.Transaction, error)
RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.
Solidity: function renounceOwnership() returns()
func (*FeeVaultTransactorSession) TransferOwnership ¶
func (_FeeVault *FeeVaultTransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.
Solidity: function transferOwnership(address newOwner) returns()
func (*FeeVaultTransactorSession) WithdrawFeesToOwner ¶
func (_FeeVault *FeeVaultTransactorSession) WithdrawFeesToOwner() (*types.Transaction, error)
WithdrawFeesToOwner is a paid mutator transaction binding the contract method 0x0be6a22d.
Solidity: function withdrawFeesToOwner() returns()