Documentation ¶
Index ¶
- Variables
- type IFeeVault
- type IFeeVaultCaller
- type IFeeVaultCallerRaw
- type IFeeVaultCallerSession
- type IFeeVaultFilterer
- func (_IFeeVault *IFeeVaultFilterer) FilterOpenChannelFeeDeposited(opts *bind.FilterOpts) (*IFeeVaultOpenChannelFeeDepositedIterator, error)
- func (_IFeeVault *IFeeVaultFilterer) FilterSendPacketFeeDeposited(opts *bind.FilterOpts, channelId [][32]byte, sequence []uint64) (*IFeeVaultSendPacketFeeDepositedIterator, error)
- func (_IFeeVault *IFeeVaultFilterer) ParseOpenChannelFeeDeposited(log types.Log) (*IFeeVaultOpenChannelFeeDeposited, error)
- func (_IFeeVault *IFeeVaultFilterer) ParseSendPacketFeeDeposited(log types.Log) (*IFeeVaultSendPacketFeeDeposited, error)
- func (_IFeeVault *IFeeVaultFilterer) WatchOpenChannelFeeDeposited(opts *bind.WatchOpts, sink chan<- *IFeeVaultOpenChannelFeeDeposited) (event.Subscription, error)
- func (_IFeeVault *IFeeVaultFilterer) WatchSendPacketFeeDeposited(opts *bind.WatchOpts, sink chan<- *IFeeVaultSendPacketFeeDeposited, ...) (event.Subscription, error)
- type IFeeVaultOpenChannelFeeDeposited
- type IFeeVaultOpenChannelFeeDepositedIterator
- type IFeeVaultRaw
- func (_IFeeVault *IFeeVaultRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_IFeeVault *IFeeVaultRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_IFeeVault *IFeeVaultRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type IFeeVaultSendPacketFeeDeposited
- type IFeeVaultSendPacketFeeDepositedIterator
- type IFeeVaultSession
- func (_IFeeVault *IFeeVaultSession) DepositOpenChannelFee(sender common.Address, version string, ordering uint8, connectionHops []string, ...) (*types.Transaction, error)
- func (_IFeeVault *IFeeVaultSession) DepositSendPacketFee(channelId [32]byte, sequence uint64, gasLimits [2]*big.Int, ...) (*types.Transaction, error)
- func (_IFeeVault *IFeeVaultSession) WithdrawFeesToOwner() (*types.Transaction, error)
- type IFeeVaultTransactor
- func (_IFeeVault *IFeeVaultTransactor) DepositOpenChannelFee(opts *bind.TransactOpts, sender common.Address, version string, ordering uint8, ...) (*types.Transaction, error)
- func (_IFeeVault *IFeeVaultTransactor) DepositSendPacketFee(opts *bind.TransactOpts, channelId [32]byte, sequence uint64, ...) (*types.Transaction, error)
- func (_IFeeVault *IFeeVaultTransactor) WithdrawFeesToOwner(opts *bind.TransactOpts) (*types.Transaction, error)
- type IFeeVaultTransactorRaw
- type IFeeVaultTransactorSession
- func (_IFeeVault *IFeeVaultTransactorSession) DepositOpenChannelFee(sender common.Address, version string, ordering uint8, connectionHops []string, ...) (*types.Transaction, error)
- func (_IFeeVault *IFeeVaultTransactorSession) DepositSendPacketFee(channelId [32]byte, sequence uint64, gasLimits [2]*big.Int, ...) (*types.Transaction, error)
- func (_IFeeVault *IFeeVaultTransactorSession) WithdrawFeesToOwner() (*types.Transaction, error)
Constants ¶
This section is empty.
Variables ¶
var IFeeVaultABI = IFeeVaultMetaData.ABI
IFeeVaultABI is the input ABI used to generate the binding from. Deprecated: Use IFeeVaultMetaData.ABI instead.
var IFeeVaultMetaData = &bind.MetaData{
ABI: "[{\"type\":\"function\",\"name\":\"depositOpenChannelFee\",\"inputs\":[{\"name\":\"sender\",\"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\":\"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\":\"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\":[]}]",
}
IFeeVaultMetaData contains all meta data concerning the IFeeVault contract.
Functions ¶
This section is empty.
Types ¶
type IFeeVault ¶
type IFeeVault struct { IFeeVaultCaller // Read-only binding to the contract IFeeVaultTransactor // Write-only binding to the contract IFeeVaultFilterer // Log filterer for contract events }
IFeeVault is an auto generated Go binding around an Ethereum contract.
func NewIFeeVault ¶
NewIFeeVault creates a new instance of IFeeVault, bound to a specific deployed contract.
type IFeeVaultCaller ¶
type IFeeVaultCaller struct {
// contains filtered or unexported fields
}
IFeeVaultCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewIFeeVaultCaller ¶
func NewIFeeVaultCaller(address common.Address, caller bind.ContractCaller) (*IFeeVaultCaller, error)
NewIFeeVaultCaller creates a new read-only instance of IFeeVault, bound to a specific deployed contract.
type IFeeVaultCallerRaw ¶
type IFeeVaultCallerRaw struct {
Contract *IFeeVaultCaller // Generic read-only contract binding to access the raw methods on
}
IFeeVaultCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*IFeeVaultCallerRaw) Call ¶
func (_IFeeVault *IFeeVaultCallerRaw) 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 IFeeVaultCallerSession ¶
type IFeeVaultCallerSession struct { Contract *IFeeVaultCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
IFeeVaultCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
type IFeeVaultFilterer ¶
type IFeeVaultFilterer struct {
// contains filtered or unexported fields
}
IFeeVaultFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewIFeeVaultFilterer ¶
func NewIFeeVaultFilterer(address common.Address, filterer bind.ContractFilterer) (*IFeeVaultFilterer, error)
NewIFeeVaultFilterer creates a new log filterer instance of IFeeVault, bound to a specific deployed contract.
func (*IFeeVaultFilterer) FilterOpenChannelFeeDeposited ¶
func (_IFeeVault *IFeeVaultFilterer) FilterOpenChannelFeeDeposited(opts *bind.FilterOpts) (*IFeeVaultOpenChannelFeeDepositedIterator, 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 (*IFeeVaultFilterer) FilterSendPacketFeeDeposited ¶
func (_IFeeVault *IFeeVaultFilterer) FilterSendPacketFeeDeposited(opts *bind.FilterOpts, channelId [][32]byte, sequence []uint64) (*IFeeVaultSendPacketFeeDepositedIterator, 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 (*IFeeVaultFilterer) ParseOpenChannelFeeDeposited ¶
func (_IFeeVault *IFeeVaultFilterer) ParseOpenChannelFeeDeposited(log types.Log) (*IFeeVaultOpenChannelFeeDeposited, 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 (*IFeeVaultFilterer) ParseSendPacketFeeDeposited ¶
func (_IFeeVault *IFeeVaultFilterer) ParseSendPacketFeeDeposited(log types.Log) (*IFeeVaultSendPacketFeeDeposited, 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 (*IFeeVaultFilterer) WatchOpenChannelFeeDeposited ¶
func (_IFeeVault *IFeeVaultFilterer) WatchOpenChannelFeeDeposited(opts *bind.WatchOpts, sink chan<- *IFeeVaultOpenChannelFeeDeposited) (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 (*IFeeVaultFilterer) WatchSendPacketFeeDeposited ¶
func (_IFeeVault *IFeeVaultFilterer) WatchSendPacketFeeDeposited(opts *bind.WatchOpts, sink chan<- *IFeeVaultSendPacketFeeDeposited, 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 IFeeVaultOpenChannelFeeDeposited ¶
type IFeeVaultOpenChannelFeeDeposited struct { SourceAddress common.Address Version string Ordering uint8 ConnectionHops []string CounterpartyPortId string FeeAmount *big.Int Raw types.Log // Blockchain specific contextual infos }
IFeeVaultOpenChannelFeeDeposited represents a OpenChannelFeeDeposited event raised by the IFeeVault contract.
type IFeeVaultOpenChannelFeeDepositedIterator ¶
type IFeeVaultOpenChannelFeeDepositedIterator struct { Event *IFeeVaultOpenChannelFeeDeposited // Event containing the contract specifics and raw log // contains filtered or unexported fields }
IFeeVaultOpenChannelFeeDepositedIterator is returned from FilterOpenChannelFeeDeposited and is used to iterate over the raw logs and unpacked data for OpenChannelFeeDeposited events raised by the IFeeVault contract.
func (*IFeeVaultOpenChannelFeeDepositedIterator) Close ¶
func (it *IFeeVaultOpenChannelFeeDepositedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*IFeeVaultOpenChannelFeeDepositedIterator) Error ¶
func (it *IFeeVaultOpenChannelFeeDepositedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*IFeeVaultOpenChannelFeeDepositedIterator) Next ¶
func (it *IFeeVaultOpenChannelFeeDepositedIterator) 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 IFeeVaultRaw ¶
type IFeeVaultRaw struct {
Contract *IFeeVault // Generic contract binding to access the raw methods on
}
IFeeVaultRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*IFeeVaultRaw) Call ¶
func (_IFeeVault *IFeeVaultRaw) 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 (*IFeeVaultRaw) Transact ¶
func (_IFeeVault *IFeeVaultRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*IFeeVaultRaw) Transfer ¶
func (_IFeeVault *IFeeVaultRaw) 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 IFeeVaultSendPacketFeeDeposited ¶
type IFeeVaultSendPacketFeeDeposited struct { ChannelId [32]byte Sequence uint64 GasLimits [2]*big.Int GasPrices [2]*big.Int Raw types.Log // Blockchain specific contextual infos }
IFeeVaultSendPacketFeeDeposited represents a SendPacketFeeDeposited event raised by the IFeeVault contract.
type IFeeVaultSendPacketFeeDepositedIterator ¶
type IFeeVaultSendPacketFeeDepositedIterator struct { Event *IFeeVaultSendPacketFeeDeposited // Event containing the contract specifics and raw log // contains filtered or unexported fields }
IFeeVaultSendPacketFeeDepositedIterator is returned from FilterSendPacketFeeDeposited and is used to iterate over the raw logs and unpacked data for SendPacketFeeDeposited events raised by the IFeeVault contract.
func (*IFeeVaultSendPacketFeeDepositedIterator) Close ¶
func (it *IFeeVaultSendPacketFeeDepositedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*IFeeVaultSendPacketFeeDepositedIterator) Error ¶
func (it *IFeeVaultSendPacketFeeDepositedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*IFeeVaultSendPacketFeeDepositedIterator) Next ¶
func (it *IFeeVaultSendPacketFeeDepositedIterator) 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 IFeeVaultSession ¶
type IFeeVaultSession struct { Contract *IFeeVault // 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 }
IFeeVaultSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*IFeeVaultSession) DepositOpenChannelFee ¶
func (_IFeeVault *IFeeVaultSession) DepositOpenChannelFee(sender 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 sender, string version, uint8 ordering, string[] connectionHops, string counterpartyPortId) payable returns()
func (*IFeeVaultSession) DepositSendPacketFee ¶
func (_IFeeVault *IFeeVaultSession) 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 (*IFeeVaultSession) WithdrawFeesToOwner ¶
func (_IFeeVault *IFeeVaultSession) WithdrawFeesToOwner() (*types.Transaction, error)
WithdrawFeesToOwner is a paid mutator transaction binding the contract method 0x0be6a22d.
Solidity: function withdrawFeesToOwner() returns()
type IFeeVaultTransactor ¶
type IFeeVaultTransactor struct {
// contains filtered or unexported fields
}
IFeeVaultTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewIFeeVaultTransactor ¶
func NewIFeeVaultTransactor(address common.Address, transactor bind.ContractTransactor) (*IFeeVaultTransactor, error)
NewIFeeVaultTransactor creates a new write-only instance of IFeeVault, bound to a specific deployed contract.
func (*IFeeVaultTransactor) DepositOpenChannelFee ¶
func (_IFeeVault *IFeeVaultTransactor) DepositOpenChannelFee(opts *bind.TransactOpts, sender 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 sender, string version, uint8 ordering, string[] connectionHops, string counterpartyPortId) payable returns()
func (*IFeeVaultTransactor) DepositSendPacketFee ¶
func (_IFeeVault *IFeeVaultTransactor) 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 (*IFeeVaultTransactor) WithdrawFeesToOwner ¶
func (_IFeeVault *IFeeVaultTransactor) WithdrawFeesToOwner(opts *bind.TransactOpts) (*types.Transaction, error)
WithdrawFeesToOwner is a paid mutator transaction binding the contract method 0x0be6a22d.
Solidity: function withdrawFeesToOwner() returns()
type IFeeVaultTransactorRaw ¶
type IFeeVaultTransactorRaw struct {
Contract *IFeeVaultTransactor // Generic write-only contract binding to access the raw methods on
}
IFeeVaultTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*IFeeVaultTransactorRaw) Transact ¶
func (_IFeeVault *IFeeVaultTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*IFeeVaultTransactorRaw) Transfer ¶
func (_IFeeVault *IFeeVaultTransactorRaw) 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 IFeeVaultTransactorSession ¶
type IFeeVaultTransactorSession struct { Contract *IFeeVaultTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
IFeeVaultTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*IFeeVaultTransactorSession) DepositOpenChannelFee ¶
func (_IFeeVault *IFeeVaultTransactorSession) DepositOpenChannelFee(sender 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 sender, string version, uint8 ordering, string[] connectionHops, string counterpartyPortId) payable returns()
func (*IFeeVaultTransactorSession) DepositSendPacketFee ¶
func (_IFeeVault *IFeeVaultTransactorSession) 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 (*IFeeVaultTransactorSession) WithdrawFeesToOwner ¶
func (_IFeeVault *IFeeVaultTransactorSession) WithdrawFeesToOwner() (*types.Transaction, error)
WithdrawFeesToOwner is a paid mutator transaction binding the contract method 0x0be6a22d.
Solidity: function withdrawFeesToOwner() returns()