Documentation ¶
Index ¶
- Variables
- type AckPacket
- type Height
- type IbcEndpoint
- type IbcPacket
- type UniversalChannelHandler
- type UniversalChannelHandlerAdminChanged
- type UniversalChannelHandlerAdminChangedIterator
- type UniversalChannelHandlerBeaconUpgraded
- type UniversalChannelHandlerBeaconUpgradedIterator
- type UniversalChannelHandlerCaller
- func (_UniversalChannelHandler *UniversalChannelHandlerCaller) Dispatcher(opts *bind.CallOpts) (common.Address, error)
- func (_UniversalChannelHandler *UniversalChannelHandlerCaller) MWID(opts *bind.CallOpts) (*big.Int, error)
- func (_UniversalChannelHandler *UniversalChannelHandlerCaller) OnChanOpenAck(opts *bind.CallOpts, channelId [32]byte, arg1 [32]byte, ...) error
- func (_UniversalChannelHandler *UniversalChannelHandlerCaller) OnChanOpenTry(opts *bind.CallOpts, arg0 uint8, arg1 []string, channelId [32]byte, ...) (string, error)
- func (_UniversalChannelHandler *UniversalChannelHandlerCaller) Owner(opts *bind.CallOpts) (common.Address, error)
- func (_UniversalChannelHandler *UniversalChannelHandlerCaller) PendingOwner(opts *bind.CallOpts) (common.Address, error)
- func (_UniversalChannelHandler *UniversalChannelHandlerCaller) ProxiableUUID(opts *bind.CallOpts) ([32]byte, error)
- func (_UniversalChannelHandler *UniversalChannelHandlerCaller) VERSION(opts *bind.CallOpts) (string, error)
- type UniversalChannelHandlerCallerRaw
- type UniversalChannelHandlerCallerSession
- func (_UniversalChannelHandler *UniversalChannelHandlerCallerSession) Dispatcher() (common.Address, error)
- func (_UniversalChannelHandler *UniversalChannelHandlerCallerSession) MWID() (*big.Int, error)
- func (_UniversalChannelHandler *UniversalChannelHandlerCallerSession) OnChanOpenAck(channelId [32]byte, arg1 [32]byte, counterpartyVersion string) error
- func (_UniversalChannelHandler *UniversalChannelHandlerCallerSession) OnChanOpenTry(arg0 uint8, arg1 []string, channelId [32]byte, arg3 string, arg4 [32]byte, ...) (string, error)
- func (_UniversalChannelHandler *UniversalChannelHandlerCallerSession) Owner() (common.Address, error)
- func (_UniversalChannelHandler *UniversalChannelHandlerCallerSession) PendingOwner() (common.Address, error)
- func (_UniversalChannelHandler *UniversalChannelHandlerCallerSession) ProxiableUUID() ([32]byte, error)
- func (_UniversalChannelHandler *UniversalChannelHandlerCallerSession) VERSION() (string, error)
- type UniversalChannelHandlerFilterer
- func (_UniversalChannelHandler *UniversalChannelHandlerFilterer) FilterAdminChanged(opts *bind.FilterOpts) (*UniversalChannelHandlerAdminChangedIterator, error)
- func (_UniversalChannelHandler *UniversalChannelHandlerFilterer) FilterBeaconUpgraded(opts *bind.FilterOpts, beacon []common.Address) (*UniversalChannelHandlerBeaconUpgradedIterator, error)
- func (_UniversalChannelHandler *UniversalChannelHandlerFilterer) FilterInitialized(opts *bind.FilterOpts) (*UniversalChannelHandlerInitializedIterator, error)
- func (_UniversalChannelHandler *UniversalChannelHandlerFilterer) FilterOwnershipTransferStarted(opts *bind.FilterOpts, previousOwner []common.Address, ...) (*UniversalChannelHandlerOwnershipTransferStartedIterator, error)
- func (_UniversalChannelHandler *UniversalChannelHandlerFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, ...) (*UniversalChannelHandlerOwnershipTransferredIterator, error)
- func (_UniversalChannelHandler *UniversalChannelHandlerFilterer) FilterUCHPacketSent(opts *bind.FilterOpts) (*UniversalChannelHandlerUCHPacketSentIterator, error)
- func (_UniversalChannelHandler *UniversalChannelHandlerFilterer) FilterUpgraded(opts *bind.FilterOpts, implementation []common.Address) (*UniversalChannelHandlerUpgradedIterator, error)
- func (_UniversalChannelHandler *UniversalChannelHandlerFilterer) ParseAdminChanged(log types.Log) (*UniversalChannelHandlerAdminChanged, error)
- func (_UniversalChannelHandler *UniversalChannelHandlerFilterer) ParseBeaconUpgraded(log types.Log) (*UniversalChannelHandlerBeaconUpgraded, error)
- func (_UniversalChannelHandler *UniversalChannelHandlerFilterer) ParseInitialized(log types.Log) (*UniversalChannelHandlerInitialized, error)
- func (_UniversalChannelHandler *UniversalChannelHandlerFilterer) ParseOwnershipTransferStarted(log types.Log) (*UniversalChannelHandlerOwnershipTransferStarted, error)
- func (_UniversalChannelHandler *UniversalChannelHandlerFilterer) ParseOwnershipTransferred(log types.Log) (*UniversalChannelHandlerOwnershipTransferred, error)
- func (_UniversalChannelHandler *UniversalChannelHandlerFilterer) ParseUCHPacketSent(log types.Log) (*UniversalChannelHandlerUCHPacketSent, error)
- func (_UniversalChannelHandler *UniversalChannelHandlerFilterer) ParseUpgraded(log types.Log) (*UniversalChannelHandlerUpgraded, error)
- func (_UniversalChannelHandler *UniversalChannelHandlerFilterer) WatchAdminChanged(opts *bind.WatchOpts, sink chan<- *UniversalChannelHandlerAdminChanged) (event.Subscription, error)
- func (_UniversalChannelHandler *UniversalChannelHandlerFilterer) WatchBeaconUpgraded(opts *bind.WatchOpts, sink chan<- *UniversalChannelHandlerBeaconUpgraded, ...) (event.Subscription, error)
- func (_UniversalChannelHandler *UniversalChannelHandlerFilterer) WatchInitialized(opts *bind.WatchOpts, sink chan<- *UniversalChannelHandlerInitialized) (event.Subscription, error)
- func (_UniversalChannelHandler *UniversalChannelHandlerFilterer) WatchOwnershipTransferStarted(opts *bind.WatchOpts, ...) (event.Subscription, error)
- func (_UniversalChannelHandler *UniversalChannelHandlerFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *UniversalChannelHandlerOwnershipTransferred, ...) (event.Subscription, error)
- func (_UniversalChannelHandler *UniversalChannelHandlerFilterer) WatchUCHPacketSent(opts *bind.WatchOpts, sink chan<- *UniversalChannelHandlerUCHPacketSent) (event.Subscription, error)
- func (_UniversalChannelHandler *UniversalChannelHandlerFilterer) WatchUpgraded(opts *bind.WatchOpts, sink chan<- *UniversalChannelHandlerUpgraded, ...) (event.Subscription, error)
- type UniversalChannelHandlerInitialized
- type UniversalChannelHandlerInitializedIterator
- type UniversalChannelHandlerOwnershipTransferStarted
- type UniversalChannelHandlerOwnershipTransferStartedIterator
- type UniversalChannelHandlerOwnershipTransferred
- type UniversalChannelHandlerOwnershipTransferredIterator
- type UniversalChannelHandlerRaw
- func (_UniversalChannelHandler *UniversalChannelHandlerRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_UniversalChannelHandler *UniversalChannelHandlerRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_UniversalChannelHandler *UniversalChannelHandlerRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type UniversalChannelHandlerSession
- func (_UniversalChannelHandler *UniversalChannelHandlerSession) AcceptOwnership() (*types.Transaction, error)
- func (_UniversalChannelHandler *UniversalChannelHandlerSession) CloseChannel(channelId [32]byte) (*types.Transaction, error)
- func (_UniversalChannelHandler *UniversalChannelHandlerSession) Dispatcher() (common.Address, error)
- func (_UniversalChannelHandler *UniversalChannelHandlerSession) Initialize(_dispatcher common.Address) (*types.Transaction, error)
- func (_UniversalChannelHandler *UniversalChannelHandlerSession) MWID() (*big.Int, error)
- func (_UniversalChannelHandler *UniversalChannelHandlerSession) OnAcknowledgementPacket(packet IbcPacket, ack AckPacket) (*types.Transaction, error)
- func (_UniversalChannelHandler *UniversalChannelHandlerSession) OnChanCloseConfirm(channelId [32]byte, arg1 string, arg2 [32]byte) (*types.Transaction, error)
- func (_UniversalChannelHandler *UniversalChannelHandlerSession) OnChanCloseInit(channelId [32]byte, arg1 string, arg2 [32]byte) (*types.Transaction, error)
- func (_UniversalChannelHandler *UniversalChannelHandlerSession) OnChanOpenAck(channelId [32]byte, arg1 [32]byte, counterpartyVersion string) error
- func (_UniversalChannelHandler *UniversalChannelHandlerSession) OnChanOpenConfirm(channelId [32]byte) (*types.Transaction, error)
- func (_UniversalChannelHandler *UniversalChannelHandlerSession) OnChanOpenTry(arg0 uint8, arg1 []string, channelId [32]byte, arg3 string, arg4 [32]byte, ...) (string, error)
- func (_UniversalChannelHandler *UniversalChannelHandlerSession) OnRecvPacket(packet IbcPacket) (*types.Transaction, error)
- func (_UniversalChannelHandler *UniversalChannelHandlerSession) OnTimeoutPacket(packet IbcPacket) (*types.Transaction, error)
- func (_UniversalChannelHandler *UniversalChannelHandlerSession) OpenChannel(version string, ordering uint8, feeEnabled bool, connectionHops []string, ...) (*types.Transaction, error)
- func (_UniversalChannelHandler *UniversalChannelHandlerSession) Owner() (common.Address, error)
- func (_UniversalChannelHandler *UniversalChannelHandlerSession) PendingOwner() (common.Address, error)
- func (_UniversalChannelHandler *UniversalChannelHandlerSession) ProxiableUUID() ([32]byte, error)
- func (_UniversalChannelHandler *UniversalChannelHandlerSession) Receive() (*types.Transaction, error)
- func (_UniversalChannelHandler *UniversalChannelHandlerSession) RenounceOwnership() (*types.Transaction, error)
- func (_UniversalChannelHandler *UniversalChannelHandlerSession) SendUniversalPacket(channelId [32]byte, destPortAddr [32]byte, appData []byte, ...) (*types.Transaction, error)
- func (_UniversalChannelHandler *UniversalChannelHandlerSession) SendUniversalPacketWithFee(channelId [32]byte, destPortAddr [32]byte, appData []byte, ...) (*types.Transaction, error)
- func (_UniversalChannelHandler *UniversalChannelHandlerSession) SetDispatcher(_dispatcher common.Address) (*types.Transaction, error)
- func (_UniversalChannelHandler *UniversalChannelHandlerSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
- func (_UniversalChannelHandler *UniversalChannelHandlerSession) UpgradeTo(newImplementation common.Address) (*types.Transaction, error)
- func (_UniversalChannelHandler *UniversalChannelHandlerSession) UpgradeToAndCall(newImplementation common.Address, data []byte) (*types.Transaction, error)
- func (_UniversalChannelHandler *UniversalChannelHandlerSession) VERSION() (string, error)
- type UniversalChannelHandlerTransactor
- func (_UniversalChannelHandler *UniversalChannelHandlerTransactor) AcceptOwnership(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_UniversalChannelHandler *UniversalChannelHandlerTransactor) CloseChannel(opts *bind.TransactOpts, channelId [32]byte) (*types.Transaction, error)
- func (_UniversalChannelHandler *UniversalChannelHandlerTransactor) Initialize(opts *bind.TransactOpts, _dispatcher common.Address) (*types.Transaction, error)
- func (_UniversalChannelHandler *UniversalChannelHandlerTransactor) OnAcknowledgementPacket(opts *bind.TransactOpts, packet IbcPacket, ack AckPacket) (*types.Transaction, error)
- func (_UniversalChannelHandler *UniversalChannelHandlerTransactor) OnChanCloseConfirm(opts *bind.TransactOpts, channelId [32]byte, arg1 string, arg2 [32]byte) (*types.Transaction, error)
- func (_UniversalChannelHandler *UniversalChannelHandlerTransactor) OnChanCloseInit(opts *bind.TransactOpts, channelId [32]byte, arg1 string, arg2 [32]byte) (*types.Transaction, error)
- func (_UniversalChannelHandler *UniversalChannelHandlerTransactor) OnChanOpenConfirm(opts *bind.TransactOpts, channelId [32]byte) (*types.Transaction, error)
- func (_UniversalChannelHandler *UniversalChannelHandlerTransactor) OnRecvPacket(opts *bind.TransactOpts, packet IbcPacket) (*types.Transaction, error)
- func (_UniversalChannelHandler *UniversalChannelHandlerTransactor) OnTimeoutPacket(opts *bind.TransactOpts, packet IbcPacket) (*types.Transaction, error)
- func (_UniversalChannelHandler *UniversalChannelHandlerTransactor) OpenChannel(opts *bind.TransactOpts, version string, ordering uint8, feeEnabled bool, ...) (*types.Transaction, error)
- func (_UniversalChannelHandler *UniversalChannelHandlerTransactor) Receive(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_UniversalChannelHandler *UniversalChannelHandlerTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_UniversalChannelHandler *UniversalChannelHandlerTransactor) SendUniversalPacket(opts *bind.TransactOpts, channelId [32]byte, destPortAddr [32]byte, ...) (*types.Transaction, error)
- func (_UniversalChannelHandler *UniversalChannelHandlerTransactor) SendUniversalPacketWithFee(opts *bind.TransactOpts, channelId [32]byte, destPortAddr [32]byte, ...) (*types.Transaction, error)
- func (_UniversalChannelHandler *UniversalChannelHandlerTransactor) SetDispatcher(opts *bind.TransactOpts, _dispatcher common.Address) (*types.Transaction, error)
- func (_UniversalChannelHandler *UniversalChannelHandlerTransactor) TransferOwnership(opts *bind.TransactOpts, newOwner common.Address) (*types.Transaction, error)
- func (_UniversalChannelHandler *UniversalChannelHandlerTransactor) UpgradeTo(opts *bind.TransactOpts, newImplementation common.Address) (*types.Transaction, error)
- func (_UniversalChannelHandler *UniversalChannelHandlerTransactor) UpgradeToAndCall(opts *bind.TransactOpts, newImplementation common.Address, data []byte) (*types.Transaction, error)
- type UniversalChannelHandlerTransactorRaw
- func (_UniversalChannelHandler *UniversalChannelHandlerTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_UniversalChannelHandler *UniversalChannelHandlerTransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type UniversalChannelHandlerTransactorSession
- func (_UniversalChannelHandler *UniversalChannelHandlerTransactorSession) AcceptOwnership() (*types.Transaction, error)
- func (_UniversalChannelHandler *UniversalChannelHandlerTransactorSession) CloseChannel(channelId [32]byte) (*types.Transaction, error)
- func (_UniversalChannelHandler *UniversalChannelHandlerTransactorSession) Initialize(_dispatcher common.Address) (*types.Transaction, error)
- func (_UniversalChannelHandler *UniversalChannelHandlerTransactorSession) OnAcknowledgementPacket(packet IbcPacket, ack AckPacket) (*types.Transaction, error)
- func (_UniversalChannelHandler *UniversalChannelHandlerTransactorSession) OnChanCloseConfirm(channelId [32]byte, arg1 string, arg2 [32]byte) (*types.Transaction, error)
- func (_UniversalChannelHandler *UniversalChannelHandlerTransactorSession) OnChanCloseInit(channelId [32]byte, arg1 string, arg2 [32]byte) (*types.Transaction, error)
- func (_UniversalChannelHandler *UniversalChannelHandlerTransactorSession) OnChanOpenConfirm(channelId [32]byte) (*types.Transaction, error)
- func (_UniversalChannelHandler *UniversalChannelHandlerTransactorSession) OnRecvPacket(packet IbcPacket) (*types.Transaction, error)
- func (_UniversalChannelHandler *UniversalChannelHandlerTransactorSession) OnTimeoutPacket(packet IbcPacket) (*types.Transaction, error)
- func (_UniversalChannelHandler *UniversalChannelHandlerTransactorSession) OpenChannel(version string, ordering uint8, feeEnabled bool, connectionHops []string, ...) (*types.Transaction, error)
- func (_UniversalChannelHandler *UniversalChannelHandlerTransactorSession) Receive() (*types.Transaction, error)
- func (_UniversalChannelHandler *UniversalChannelHandlerTransactorSession) RenounceOwnership() (*types.Transaction, error)
- func (_UniversalChannelHandler *UniversalChannelHandlerTransactorSession) SendUniversalPacket(channelId [32]byte, destPortAddr [32]byte, appData []byte, ...) (*types.Transaction, error)
- func (_UniversalChannelHandler *UniversalChannelHandlerTransactorSession) SendUniversalPacketWithFee(channelId [32]byte, destPortAddr [32]byte, appData []byte, ...) (*types.Transaction, error)
- func (_UniversalChannelHandler *UniversalChannelHandlerTransactorSession) SetDispatcher(_dispatcher common.Address) (*types.Transaction, error)
- func (_UniversalChannelHandler *UniversalChannelHandlerTransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
- func (_UniversalChannelHandler *UniversalChannelHandlerTransactorSession) UpgradeTo(newImplementation common.Address) (*types.Transaction, error)
- func (_UniversalChannelHandler *UniversalChannelHandlerTransactorSession) UpgradeToAndCall(newImplementation common.Address, data []byte) (*types.Transaction, error)
- type UniversalChannelHandlerUCHPacketSent
- type UniversalChannelHandlerUCHPacketSentIterator
- type UniversalChannelHandlerUpgraded
- type UniversalChannelHandlerUpgradedIterator
Constants ¶
This section is empty.
Variables ¶
var UniversalChannelHandlerABI = UniversalChannelHandlerMetaData.ABI
UniversalChannelHandlerABI is the input ABI used to generate the binding from. Deprecated: Use UniversalChannelHandlerMetaData.ABI instead.
var UniversalChannelHandlerMetaData = &bind.MetaData{
ABI: "[{\"type\":\"constructor\",\"inputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"receive\",\"stateMutability\":\"payable\"},{\"type\":\"function\",\"name\":\"MW_ID\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"VERSION\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"string\",\"internalType\":\"string\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"acceptOwnership\",\"inputs\":[],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"closeChannel\",\"inputs\":[{\"name\":\"channelId\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"dispatcher\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"address\",\"internalType\":\"contractIbcDispatcher\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"initialize\",\"inputs\":[{\"name\":\"_dispatcher\",\"type\":\"address\",\"internalType\":\"contractIbcDispatcher\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"onAcknowledgementPacket\",\"inputs\":[{\"name\":\"packet\",\"type\":\"tuple\",\"internalType\":\"structIbcPacket\",\"components\":[{\"name\":\"src\",\"type\":\"tuple\",\"internalType\":\"structIbcEndpoint\",\"components\":[{\"name\":\"portId\",\"type\":\"string\",\"internalType\":\"string\"},{\"name\":\"channelId\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"}]},{\"name\":\"dest\",\"type\":\"tuple\",\"internalType\":\"structIbcEndpoint\",\"components\":[{\"name\":\"portId\",\"type\":\"string\",\"internalType\":\"string\"},{\"name\":\"channelId\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"}]},{\"name\":\"sequence\",\"type\":\"uint64\",\"internalType\":\"uint64\"},{\"name\":\"data\",\"type\":\"bytes\",\"internalType\":\"bytes\"},{\"name\":\"timeoutHeight\",\"type\":\"tuple\",\"internalType\":\"structHeight\",\"components\":[{\"name\":\"revision_number\",\"type\":\"uint64\",\"internalType\":\"uint64\"},{\"name\":\"revision_height\",\"type\":\"uint64\",\"internalType\":\"uint64\"}]},{\"name\":\"timeoutTimestamp\",\"type\":\"uint64\",\"internalType\":\"uint64\"}]},{\"name\":\"ack\",\"type\":\"tuple\",\"internalType\":\"structAckPacket\",\"components\":[{\"name\":\"success\",\"type\":\"bool\",\"internalType\":\"bool\"},{\"name\":\"data\",\"type\":\"bytes\",\"internalType\":\"bytes\"}]}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"onChanCloseConfirm\",\"inputs\":[{\"name\":\"channelId\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"},{\"name\":\"\",\"type\":\"string\",\"internalType\":\"string\"},{\"name\":\"\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"onChanCloseInit\",\"inputs\":[{\"name\":\"channelId\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"},{\"name\":\"\",\"type\":\"string\",\"internalType\":\"string\"},{\"name\":\"\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"onChanOpenAck\",\"inputs\":[{\"name\":\"channelId\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"},{\"name\":\"\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"},{\"name\":\"counterpartyVersion\",\"type\":\"string\",\"internalType\":\"string\"}],\"outputs\":[],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"onChanOpenConfirm\",\"inputs\":[{\"name\":\"channelId\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"onChanOpenTry\",\"inputs\":[{\"name\":\"\",\"type\":\"uint8\",\"internalType\":\"enumChannelOrder\"},{\"name\":\"\",\"type\":\"string[]\",\"internalType\":\"string[]\"},{\"name\":\"channelId\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"},{\"name\":\"\",\"type\":\"string\",\"internalType\":\"string\"},{\"name\":\"\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"},{\"name\":\"counterpartyVersion\",\"type\":\"string\",\"internalType\":\"string\"}],\"outputs\":[{\"name\":\"selectedVersion\",\"type\":\"string\",\"internalType\":\"string\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"onRecvPacket\",\"inputs\":[{\"name\":\"packet\",\"type\":\"tuple\",\"internalType\":\"structIbcPacket\",\"components\":[{\"name\":\"src\",\"type\":\"tuple\",\"internalType\":\"structIbcEndpoint\",\"components\":[{\"name\":\"portId\",\"type\":\"string\",\"internalType\":\"string\"},{\"name\":\"channelId\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"}]},{\"name\":\"dest\",\"type\":\"tuple\",\"internalType\":\"structIbcEndpoint\",\"components\":[{\"name\":\"portId\",\"type\":\"string\",\"internalType\":\"string\"},{\"name\":\"channelId\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"}]},{\"name\":\"sequence\",\"type\":\"uint64\",\"internalType\":\"uint64\"},{\"name\":\"data\",\"type\":\"bytes\",\"internalType\":\"bytes\"},{\"name\":\"timeoutHeight\",\"type\":\"tuple\",\"internalType\":\"structHeight\",\"components\":[{\"name\":\"revision_number\",\"type\":\"uint64\",\"internalType\":\"uint64\"},{\"name\":\"revision_height\",\"type\":\"uint64\",\"internalType\":\"uint64\"}]},{\"name\":\"timeoutTimestamp\",\"type\":\"uint64\",\"internalType\":\"uint64\"}]}],\"outputs\":[{\"name\":\"ackPacket\",\"type\":\"tuple\",\"internalType\":\"structAckPacket\",\"components\":[{\"name\":\"success\",\"type\":\"bool\",\"internalType\":\"bool\"},{\"name\":\"data\",\"type\":\"bytes\",\"internalType\":\"bytes\"}]}],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"onTimeoutPacket\",\"inputs\":[{\"name\":\"packet\",\"type\":\"tuple\",\"internalType\":\"structIbcPacket\",\"components\":[{\"name\":\"src\",\"type\":\"tuple\",\"internalType\":\"structIbcEndpoint\",\"components\":[{\"name\":\"portId\",\"type\":\"string\",\"internalType\":\"string\"},{\"name\":\"channelId\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"}]},{\"name\":\"dest\",\"type\":\"tuple\",\"internalType\":\"structIbcEndpoint\",\"components\":[{\"name\":\"portId\",\"type\":\"string\",\"internalType\":\"string\"},{\"name\":\"channelId\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"}]},{\"name\":\"sequence\",\"type\":\"uint64\",\"internalType\":\"uint64\"},{\"name\":\"data\",\"type\":\"bytes\",\"internalType\":\"bytes\"},{\"name\":\"timeoutHeight\",\"type\":\"tuple\",\"internalType\":\"structHeight\",\"components\":[{\"name\":\"revision_number\",\"type\":\"uint64\",\"internalType\":\"uint64\"},{\"name\":\"revision_height\",\"type\":\"uint64\",\"internalType\":\"uint64\"}]},{\"name\":\"timeoutTimestamp\",\"type\":\"uint64\",\"internalType\":\"uint64\"}]}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"openChannel\",\"inputs\":[{\"name\":\"version\",\"type\":\"string\",\"internalType\":\"string\"},{\"name\":\"ordering\",\"type\":\"uint8\",\"internalType\":\"enumChannelOrder\"},{\"name\":\"feeEnabled\",\"type\":\"bool\",\"internalType\":\"bool\"},{\"name\":\"connectionHops\",\"type\":\"string[]\",\"internalType\":\"string[]\"},{\"name\":\"counterpartyPortIdentifier\",\"type\":\"string\",\"internalType\":\"string\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"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\":\"proxiableUUID\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"renounceOwnership\",\"inputs\":[],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"sendUniversalPacket\",\"inputs\":[{\"name\":\"channelId\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"},{\"name\":\"destPortAddr\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"},{\"name\":\"appData\",\"type\":\"bytes\",\"internalType\":\"bytes\"},{\"name\":\"timeoutTimestamp\",\"type\":\"uint64\",\"internalType\":\"uint64\"}],\"outputs\":[{\"name\":\"sequence\",\"type\":\"uint64\",\"internalType\":\"uint64\"}],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"sendUniversalPacketWithFee\",\"inputs\":[{\"name\":\"channelId\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"},{\"name\":\"destPortAddr\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"},{\"name\":\"appData\",\"type\":\"bytes\",\"internalType\":\"bytes\"},{\"name\":\"timeoutTimestamp\",\"type\":\"uint64\",\"internalType\":\"uint64\"},{\"name\":\"gasLimits\",\"type\":\"uint256[2]\",\"internalType\":\"uint256[2]\"},{\"name\":\"gasPrices\",\"type\":\"uint256[2]\",\"internalType\":\"uint256[2]\"}],\"outputs\":[{\"name\":\"sequence\",\"type\":\"uint64\",\"internalType\":\"uint64\"}],\"stateMutability\":\"payable\"},{\"type\":\"function\",\"name\":\"setDispatcher\",\"inputs\":[{\"name\":\"_dispatcher\",\"type\":\"address\",\"internalType\":\"contractIbcDispatcher\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"transferOwnership\",\"inputs\":[{\"name\":\"newOwner\",\"type\":\"address\",\"internalType\":\"address\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"upgradeTo\",\"inputs\":[{\"name\":\"newImplementation\",\"type\":\"address\",\"internalType\":\"address\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"upgradeToAndCall\",\"inputs\":[{\"name\":\"newImplementation\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"data\",\"type\":\"bytes\",\"internalType\":\"bytes\"}],\"outputs\":[],\"stateMutability\":\"payable\"},{\"type\":\"event\",\"name\":\"AdminChanged\",\"inputs\":[{\"name\":\"previousAdmin\",\"type\":\"address\",\"indexed\":false,\"internalType\":\"address\"},{\"name\":\"newAdmin\",\"type\":\"address\",\"indexed\":false,\"internalType\":\"address\"}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"BeaconUpgraded\",\"inputs\":[{\"name\":\"beacon\",\"type\":\"address\",\"indexed\":true,\"internalType\":\"address\"}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"Initialized\",\"inputs\":[{\"name\":\"version\",\"type\":\"uint8\",\"indexed\":false,\"internalType\":\"uint8\"}],\"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\":\"UCHPacketSent\",\"inputs\":[{\"name\":\"source\",\"type\":\"address\",\"indexed\":false,\"internalType\":\"address\"},{\"name\":\"destination\",\"type\":\"bytes32\",\"indexed\":false,\"internalType\":\"bytes32\"}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"Upgraded\",\"inputs\":[{\"name\":\"implementation\",\"type\":\"address\",\"indexed\":true,\"internalType\":\"address\"}],\"anonymous\":false},{\"type\":\"error\",\"name\":\"ChannelNotFound\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"MwBitmpaCannotBeZero\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"UnsupportedVersion\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"invalidAddress\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"notIbcDispatcher\",\"inputs\":[]}]",
}
UniversalChannelHandlerMetaData contains all meta data concerning the UniversalChannelHandler contract.
Functions ¶
This section is empty.
Types ¶
type IbcEndpoint ¶
IbcEndpoint is an auto generated low-level Go binding around an user-defined struct.
type IbcPacket ¶
type IbcPacket struct { Src IbcEndpoint Dest IbcEndpoint Sequence uint64 Data []byte TimeoutHeight Height TimeoutTimestamp uint64 }
IbcPacket is an auto generated low-level Go binding around an user-defined struct.
type UniversalChannelHandler ¶
type UniversalChannelHandler struct { UniversalChannelHandlerCaller // Read-only binding to the contract UniversalChannelHandlerTransactor // Write-only binding to the contract UniversalChannelHandlerFilterer // Log filterer for contract events }
UniversalChannelHandler is an auto generated Go binding around an Ethereum contract.
func NewUniversalChannelHandler ¶
func NewUniversalChannelHandler(address common.Address, backend bind.ContractBackend) (*UniversalChannelHandler, error)
NewUniversalChannelHandler creates a new instance of UniversalChannelHandler, bound to a specific deployed contract.
type UniversalChannelHandlerAdminChanged ¶
type UniversalChannelHandlerAdminChanged struct { PreviousAdmin common.Address NewAdmin common.Address Raw types.Log // Blockchain specific contextual infos }
UniversalChannelHandlerAdminChanged represents a AdminChanged event raised by the UniversalChannelHandler contract.
type UniversalChannelHandlerAdminChangedIterator ¶
type UniversalChannelHandlerAdminChangedIterator struct { Event *UniversalChannelHandlerAdminChanged // Event containing the contract specifics and raw log // contains filtered or unexported fields }
UniversalChannelHandlerAdminChangedIterator is returned from FilterAdminChanged and is used to iterate over the raw logs and unpacked data for AdminChanged events raised by the UniversalChannelHandler contract.
func (*UniversalChannelHandlerAdminChangedIterator) Close ¶
func (it *UniversalChannelHandlerAdminChangedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*UniversalChannelHandlerAdminChangedIterator) Error ¶
func (it *UniversalChannelHandlerAdminChangedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*UniversalChannelHandlerAdminChangedIterator) Next ¶
func (it *UniversalChannelHandlerAdminChangedIterator) 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 UniversalChannelHandlerBeaconUpgraded ¶
type UniversalChannelHandlerBeaconUpgraded struct { Beacon common.Address Raw types.Log // Blockchain specific contextual infos }
UniversalChannelHandlerBeaconUpgraded represents a BeaconUpgraded event raised by the UniversalChannelHandler contract.
type UniversalChannelHandlerBeaconUpgradedIterator ¶
type UniversalChannelHandlerBeaconUpgradedIterator struct { Event *UniversalChannelHandlerBeaconUpgraded // Event containing the contract specifics and raw log // contains filtered or unexported fields }
UniversalChannelHandlerBeaconUpgradedIterator is returned from FilterBeaconUpgraded and is used to iterate over the raw logs and unpacked data for BeaconUpgraded events raised by the UniversalChannelHandler contract.
func (*UniversalChannelHandlerBeaconUpgradedIterator) Close ¶
func (it *UniversalChannelHandlerBeaconUpgradedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*UniversalChannelHandlerBeaconUpgradedIterator) Error ¶
func (it *UniversalChannelHandlerBeaconUpgradedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*UniversalChannelHandlerBeaconUpgradedIterator) Next ¶
func (it *UniversalChannelHandlerBeaconUpgradedIterator) 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 UniversalChannelHandlerCaller ¶
type UniversalChannelHandlerCaller struct {
// contains filtered or unexported fields
}
UniversalChannelHandlerCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewUniversalChannelHandlerCaller ¶
func NewUniversalChannelHandlerCaller(address common.Address, caller bind.ContractCaller) (*UniversalChannelHandlerCaller, error)
NewUniversalChannelHandlerCaller creates a new read-only instance of UniversalChannelHandler, bound to a specific deployed contract.
func (*UniversalChannelHandlerCaller) Dispatcher ¶
func (_UniversalChannelHandler *UniversalChannelHandlerCaller) Dispatcher(opts *bind.CallOpts) (common.Address, error)
Dispatcher is a free data retrieval call binding the contract method 0xcb7e9057.
Solidity: function dispatcher() view returns(address)
func (*UniversalChannelHandlerCaller) MWID ¶
func (_UniversalChannelHandler *UniversalChannelHandlerCaller) MWID(opts *bind.CallOpts) (*big.Int, error)
MWID is a free data retrieval call binding the contract method 0xc1cb44e5.
Solidity: function MW_ID() view returns(uint256)
func (*UniversalChannelHandlerCaller) OnChanOpenAck ¶
func (_UniversalChannelHandler *UniversalChannelHandlerCaller) OnChanOpenAck(opts *bind.CallOpts, channelId [32]byte, arg1 [32]byte, counterpartyVersion string) error
OnChanOpenAck is a free data retrieval call binding the contract method 0xe847e280.
Solidity: function onChanOpenAck(bytes32 channelId, bytes32 , string counterpartyVersion) view returns()
func (*UniversalChannelHandlerCaller) OnChanOpenTry ¶
func (_UniversalChannelHandler *UniversalChannelHandlerCaller) OnChanOpenTry(opts *bind.CallOpts, arg0 uint8, arg1 []string, channelId [32]byte, arg3 string, arg4 [32]byte, counterpartyVersion string) (string, error)
OnChanOpenTry is a free data retrieval call binding the contract method 0x4bdb5597.
Solidity: function onChanOpenTry(uint8 , string[] , bytes32 channelId, string , bytes32 , string counterpartyVersion) view returns(string selectedVersion)
func (*UniversalChannelHandlerCaller) Owner ¶
func (_UniversalChannelHandler *UniversalChannelHandlerCaller) 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 (*UniversalChannelHandlerCaller) PendingOwner ¶
func (_UniversalChannelHandler *UniversalChannelHandlerCaller) PendingOwner(opts *bind.CallOpts) (common.Address, error)
PendingOwner is a free data retrieval call binding the contract method 0xe30c3978.
Solidity: function pendingOwner() view returns(address)
func (*UniversalChannelHandlerCaller) ProxiableUUID ¶
func (_UniversalChannelHandler *UniversalChannelHandlerCaller) ProxiableUUID(opts *bind.CallOpts) ([32]byte, error)
ProxiableUUID is a free data retrieval call binding the contract method 0x52d1902d.
Solidity: function proxiableUUID() view returns(bytes32)
type UniversalChannelHandlerCallerRaw ¶
type UniversalChannelHandlerCallerRaw struct {
Contract *UniversalChannelHandlerCaller // Generic read-only contract binding to access the raw methods on
}
UniversalChannelHandlerCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*UniversalChannelHandlerCallerRaw) Call ¶
func (_UniversalChannelHandler *UniversalChannelHandlerCallerRaw) 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 UniversalChannelHandlerCallerSession ¶
type UniversalChannelHandlerCallerSession struct { Contract *UniversalChannelHandlerCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
UniversalChannelHandlerCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*UniversalChannelHandlerCallerSession) Dispatcher ¶
func (_UniversalChannelHandler *UniversalChannelHandlerCallerSession) Dispatcher() (common.Address, error)
Dispatcher is a free data retrieval call binding the contract method 0xcb7e9057.
Solidity: function dispatcher() view returns(address)
func (*UniversalChannelHandlerCallerSession) MWID ¶
func (_UniversalChannelHandler *UniversalChannelHandlerCallerSession) MWID() (*big.Int, error)
MWID is a free data retrieval call binding the contract method 0xc1cb44e5.
Solidity: function MW_ID() view returns(uint256)
func (*UniversalChannelHandlerCallerSession) OnChanOpenAck ¶
func (_UniversalChannelHandler *UniversalChannelHandlerCallerSession) OnChanOpenAck(channelId [32]byte, arg1 [32]byte, counterpartyVersion string) error
OnChanOpenAck is a free data retrieval call binding the contract method 0xe847e280.
Solidity: function onChanOpenAck(bytes32 channelId, bytes32 , string counterpartyVersion) view returns()
func (*UniversalChannelHandlerCallerSession) OnChanOpenTry ¶
func (_UniversalChannelHandler *UniversalChannelHandlerCallerSession) OnChanOpenTry(arg0 uint8, arg1 []string, channelId [32]byte, arg3 string, arg4 [32]byte, counterpartyVersion string) (string, error)
OnChanOpenTry is a free data retrieval call binding the contract method 0x4bdb5597.
Solidity: function onChanOpenTry(uint8 , string[] , bytes32 channelId, string , bytes32 , string counterpartyVersion) view returns(string selectedVersion)
func (*UniversalChannelHandlerCallerSession) Owner ¶
func (_UniversalChannelHandler *UniversalChannelHandlerCallerSession) Owner() (common.Address, error)
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() view returns(address)
func (*UniversalChannelHandlerCallerSession) PendingOwner ¶
func (_UniversalChannelHandler *UniversalChannelHandlerCallerSession) PendingOwner() (common.Address, error)
PendingOwner is a free data retrieval call binding the contract method 0xe30c3978.
Solidity: function pendingOwner() view returns(address)
func (*UniversalChannelHandlerCallerSession) ProxiableUUID ¶
func (_UniversalChannelHandler *UniversalChannelHandlerCallerSession) ProxiableUUID() ([32]byte, error)
ProxiableUUID is a free data retrieval call binding the contract method 0x52d1902d.
Solidity: function proxiableUUID() view returns(bytes32)
func (*UniversalChannelHandlerCallerSession) VERSION ¶
func (_UniversalChannelHandler *UniversalChannelHandlerCallerSession) VERSION() (string, error)
VERSION is a free data retrieval call binding the contract method 0xffa1ad74.
Solidity: function VERSION() view returns(string)
type UniversalChannelHandlerFilterer ¶
type UniversalChannelHandlerFilterer struct {
// contains filtered or unexported fields
}
UniversalChannelHandlerFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewUniversalChannelHandlerFilterer ¶
func NewUniversalChannelHandlerFilterer(address common.Address, filterer bind.ContractFilterer) (*UniversalChannelHandlerFilterer, error)
NewUniversalChannelHandlerFilterer creates a new log filterer instance of UniversalChannelHandler, bound to a specific deployed contract.
func (*UniversalChannelHandlerFilterer) FilterAdminChanged ¶
func (_UniversalChannelHandler *UniversalChannelHandlerFilterer) FilterAdminChanged(opts *bind.FilterOpts) (*UniversalChannelHandlerAdminChangedIterator, error)
FilterAdminChanged is a free log retrieval operation binding the contract event 0x7e644d79422f17c01e4894b5f4f588d331ebfa28653d42ae832dc59e38c9798f.
Solidity: event AdminChanged(address previousAdmin, address newAdmin)
func (*UniversalChannelHandlerFilterer) FilterBeaconUpgraded ¶
func (_UniversalChannelHandler *UniversalChannelHandlerFilterer) FilterBeaconUpgraded(opts *bind.FilterOpts, beacon []common.Address) (*UniversalChannelHandlerBeaconUpgradedIterator, error)
FilterBeaconUpgraded is a free log retrieval operation binding the contract event 0x1cf3b03a6cf19fa2baba4df148e9dcabedea7f8a5c07840e207e5c089be95d3e.
Solidity: event BeaconUpgraded(address indexed beacon)
func (*UniversalChannelHandlerFilterer) FilterInitialized ¶
func (_UniversalChannelHandler *UniversalChannelHandlerFilterer) FilterInitialized(opts *bind.FilterOpts) (*UniversalChannelHandlerInitializedIterator, error)
FilterInitialized is a free log retrieval operation binding the contract event 0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498.
Solidity: event Initialized(uint8 version)
func (*UniversalChannelHandlerFilterer) FilterOwnershipTransferStarted ¶
func (_UniversalChannelHandler *UniversalChannelHandlerFilterer) FilterOwnershipTransferStarted(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*UniversalChannelHandlerOwnershipTransferStartedIterator, error)
FilterOwnershipTransferStarted is a free log retrieval operation binding the contract event 0x38d16b8cac22d99fc7c124b9cd0de2d3fa1faef420bfe791d8c362d765e22700.
Solidity: event OwnershipTransferStarted(address indexed previousOwner, address indexed newOwner)
func (*UniversalChannelHandlerFilterer) FilterOwnershipTransferred ¶
func (_UniversalChannelHandler *UniversalChannelHandlerFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*UniversalChannelHandlerOwnershipTransferredIterator, error)
FilterOwnershipTransferred is a free log retrieval operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.
Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
func (*UniversalChannelHandlerFilterer) FilterUCHPacketSent ¶
func (_UniversalChannelHandler *UniversalChannelHandlerFilterer) FilterUCHPacketSent(opts *bind.FilterOpts) (*UniversalChannelHandlerUCHPacketSentIterator, error)
FilterUCHPacketSent is a free log retrieval operation binding the contract event 0x9831d8c66285bfd33de069ced58ad437d6bf08f63446bf06c3713e40b4b7e873.
Solidity: event UCHPacketSent(address source, bytes32 destination)
func (*UniversalChannelHandlerFilterer) FilterUpgraded ¶
func (_UniversalChannelHandler *UniversalChannelHandlerFilterer) FilterUpgraded(opts *bind.FilterOpts, implementation []common.Address) (*UniversalChannelHandlerUpgradedIterator, error)
FilterUpgraded is a free log retrieval operation binding the contract event 0xbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b.
Solidity: event Upgraded(address indexed implementation)
func (*UniversalChannelHandlerFilterer) ParseAdminChanged ¶
func (_UniversalChannelHandler *UniversalChannelHandlerFilterer) ParseAdminChanged(log types.Log) (*UniversalChannelHandlerAdminChanged, error)
ParseAdminChanged is a log parse operation binding the contract event 0x7e644d79422f17c01e4894b5f4f588d331ebfa28653d42ae832dc59e38c9798f.
Solidity: event AdminChanged(address previousAdmin, address newAdmin)
func (*UniversalChannelHandlerFilterer) ParseBeaconUpgraded ¶
func (_UniversalChannelHandler *UniversalChannelHandlerFilterer) ParseBeaconUpgraded(log types.Log) (*UniversalChannelHandlerBeaconUpgraded, error)
ParseBeaconUpgraded is a log parse operation binding the contract event 0x1cf3b03a6cf19fa2baba4df148e9dcabedea7f8a5c07840e207e5c089be95d3e.
Solidity: event BeaconUpgraded(address indexed beacon)
func (*UniversalChannelHandlerFilterer) ParseInitialized ¶
func (_UniversalChannelHandler *UniversalChannelHandlerFilterer) ParseInitialized(log types.Log) (*UniversalChannelHandlerInitialized, error)
ParseInitialized is a log parse operation binding the contract event 0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498.
Solidity: event Initialized(uint8 version)
func (*UniversalChannelHandlerFilterer) ParseOwnershipTransferStarted ¶
func (_UniversalChannelHandler *UniversalChannelHandlerFilterer) ParseOwnershipTransferStarted(log types.Log) (*UniversalChannelHandlerOwnershipTransferStarted, error)
ParseOwnershipTransferStarted is a log parse operation binding the contract event 0x38d16b8cac22d99fc7c124b9cd0de2d3fa1faef420bfe791d8c362d765e22700.
Solidity: event OwnershipTransferStarted(address indexed previousOwner, address indexed newOwner)
func (*UniversalChannelHandlerFilterer) ParseOwnershipTransferred ¶
func (_UniversalChannelHandler *UniversalChannelHandlerFilterer) ParseOwnershipTransferred(log types.Log) (*UniversalChannelHandlerOwnershipTransferred, error)
ParseOwnershipTransferred is a log parse operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.
Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
func (*UniversalChannelHandlerFilterer) ParseUCHPacketSent ¶
func (_UniversalChannelHandler *UniversalChannelHandlerFilterer) ParseUCHPacketSent(log types.Log) (*UniversalChannelHandlerUCHPacketSent, error)
ParseUCHPacketSent is a log parse operation binding the contract event 0x9831d8c66285bfd33de069ced58ad437d6bf08f63446bf06c3713e40b4b7e873.
Solidity: event UCHPacketSent(address source, bytes32 destination)
func (*UniversalChannelHandlerFilterer) ParseUpgraded ¶
func (_UniversalChannelHandler *UniversalChannelHandlerFilterer) ParseUpgraded(log types.Log) (*UniversalChannelHandlerUpgraded, error)
ParseUpgraded is a log parse operation binding the contract event 0xbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b.
Solidity: event Upgraded(address indexed implementation)
func (*UniversalChannelHandlerFilterer) WatchAdminChanged ¶
func (_UniversalChannelHandler *UniversalChannelHandlerFilterer) WatchAdminChanged(opts *bind.WatchOpts, sink chan<- *UniversalChannelHandlerAdminChanged) (event.Subscription, error)
WatchAdminChanged is a free log subscription operation binding the contract event 0x7e644d79422f17c01e4894b5f4f588d331ebfa28653d42ae832dc59e38c9798f.
Solidity: event AdminChanged(address previousAdmin, address newAdmin)
func (*UniversalChannelHandlerFilterer) WatchBeaconUpgraded ¶
func (_UniversalChannelHandler *UniversalChannelHandlerFilterer) WatchBeaconUpgraded(opts *bind.WatchOpts, sink chan<- *UniversalChannelHandlerBeaconUpgraded, beacon []common.Address) (event.Subscription, error)
WatchBeaconUpgraded is a free log subscription operation binding the contract event 0x1cf3b03a6cf19fa2baba4df148e9dcabedea7f8a5c07840e207e5c089be95d3e.
Solidity: event BeaconUpgraded(address indexed beacon)
func (*UniversalChannelHandlerFilterer) WatchInitialized ¶
func (_UniversalChannelHandler *UniversalChannelHandlerFilterer) WatchInitialized(opts *bind.WatchOpts, sink chan<- *UniversalChannelHandlerInitialized) (event.Subscription, error)
WatchInitialized is a free log subscription operation binding the contract event 0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498.
Solidity: event Initialized(uint8 version)
func (*UniversalChannelHandlerFilterer) WatchOwnershipTransferStarted ¶
func (_UniversalChannelHandler *UniversalChannelHandlerFilterer) WatchOwnershipTransferStarted(opts *bind.WatchOpts, sink chan<- *UniversalChannelHandlerOwnershipTransferStarted, 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 (*UniversalChannelHandlerFilterer) WatchOwnershipTransferred ¶
func (_UniversalChannelHandler *UniversalChannelHandlerFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *UniversalChannelHandlerOwnershipTransferred, 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 (*UniversalChannelHandlerFilterer) WatchUCHPacketSent ¶
func (_UniversalChannelHandler *UniversalChannelHandlerFilterer) WatchUCHPacketSent(opts *bind.WatchOpts, sink chan<- *UniversalChannelHandlerUCHPacketSent) (event.Subscription, error)
WatchUCHPacketSent is a free log subscription operation binding the contract event 0x9831d8c66285bfd33de069ced58ad437d6bf08f63446bf06c3713e40b4b7e873.
Solidity: event UCHPacketSent(address source, bytes32 destination)
func (*UniversalChannelHandlerFilterer) WatchUpgraded ¶
func (_UniversalChannelHandler *UniversalChannelHandlerFilterer) WatchUpgraded(opts *bind.WatchOpts, sink chan<- *UniversalChannelHandlerUpgraded, implementation []common.Address) (event.Subscription, error)
WatchUpgraded is a free log subscription operation binding the contract event 0xbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b.
Solidity: event Upgraded(address indexed implementation)
type UniversalChannelHandlerInitialized ¶
type UniversalChannelHandlerInitialized struct { Version uint8 Raw types.Log // Blockchain specific contextual infos }
UniversalChannelHandlerInitialized represents a Initialized event raised by the UniversalChannelHandler contract.
type UniversalChannelHandlerInitializedIterator ¶
type UniversalChannelHandlerInitializedIterator struct { Event *UniversalChannelHandlerInitialized // Event containing the contract specifics and raw log // contains filtered or unexported fields }
UniversalChannelHandlerInitializedIterator is returned from FilterInitialized and is used to iterate over the raw logs and unpacked data for Initialized events raised by the UniversalChannelHandler contract.
func (*UniversalChannelHandlerInitializedIterator) Close ¶
func (it *UniversalChannelHandlerInitializedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*UniversalChannelHandlerInitializedIterator) Error ¶
func (it *UniversalChannelHandlerInitializedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*UniversalChannelHandlerInitializedIterator) Next ¶
func (it *UniversalChannelHandlerInitializedIterator) 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 UniversalChannelHandlerOwnershipTransferStarted ¶
type UniversalChannelHandlerOwnershipTransferStarted struct { PreviousOwner common.Address NewOwner common.Address Raw types.Log // Blockchain specific contextual infos }
UniversalChannelHandlerOwnershipTransferStarted represents a OwnershipTransferStarted event raised by the UniversalChannelHandler contract.
type UniversalChannelHandlerOwnershipTransferStartedIterator ¶
type UniversalChannelHandlerOwnershipTransferStartedIterator struct { Event *UniversalChannelHandlerOwnershipTransferStarted // Event containing the contract specifics and raw log // contains filtered or unexported fields }
UniversalChannelHandlerOwnershipTransferStartedIterator is returned from FilterOwnershipTransferStarted and is used to iterate over the raw logs and unpacked data for OwnershipTransferStarted events raised by the UniversalChannelHandler contract.
func (*UniversalChannelHandlerOwnershipTransferStartedIterator) Close ¶
func (it *UniversalChannelHandlerOwnershipTransferStartedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*UniversalChannelHandlerOwnershipTransferStartedIterator) Error ¶
func (it *UniversalChannelHandlerOwnershipTransferStartedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*UniversalChannelHandlerOwnershipTransferStartedIterator) Next ¶
func (it *UniversalChannelHandlerOwnershipTransferStartedIterator) 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 UniversalChannelHandlerOwnershipTransferred ¶
type UniversalChannelHandlerOwnershipTransferred struct { PreviousOwner common.Address NewOwner common.Address Raw types.Log // Blockchain specific contextual infos }
UniversalChannelHandlerOwnershipTransferred represents a OwnershipTransferred event raised by the UniversalChannelHandler contract.
type UniversalChannelHandlerOwnershipTransferredIterator ¶
type UniversalChannelHandlerOwnershipTransferredIterator struct { Event *UniversalChannelHandlerOwnershipTransferred // Event containing the contract specifics and raw log // contains filtered or unexported fields }
UniversalChannelHandlerOwnershipTransferredIterator is returned from FilterOwnershipTransferred and is used to iterate over the raw logs and unpacked data for OwnershipTransferred events raised by the UniversalChannelHandler contract.
func (*UniversalChannelHandlerOwnershipTransferredIterator) Close ¶
func (it *UniversalChannelHandlerOwnershipTransferredIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*UniversalChannelHandlerOwnershipTransferredIterator) Error ¶
func (it *UniversalChannelHandlerOwnershipTransferredIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*UniversalChannelHandlerOwnershipTransferredIterator) Next ¶
func (it *UniversalChannelHandlerOwnershipTransferredIterator) 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 UniversalChannelHandlerRaw ¶
type UniversalChannelHandlerRaw struct {
Contract *UniversalChannelHandler // Generic contract binding to access the raw methods on
}
UniversalChannelHandlerRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*UniversalChannelHandlerRaw) Call ¶
func (_UniversalChannelHandler *UniversalChannelHandlerRaw) 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 (*UniversalChannelHandlerRaw) Transact ¶
func (_UniversalChannelHandler *UniversalChannelHandlerRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*UniversalChannelHandlerRaw) Transfer ¶
func (_UniversalChannelHandler *UniversalChannelHandlerRaw) 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 UniversalChannelHandlerSession ¶
type UniversalChannelHandlerSession struct { Contract *UniversalChannelHandler // 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 }
UniversalChannelHandlerSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*UniversalChannelHandlerSession) AcceptOwnership ¶
func (_UniversalChannelHandler *UniversalChannelHandlerSession) AcceptOwnership() (*types.Transaction, error)
AcceptOwnership is a paid mutator transaction binding the contract method 0x79ba5097.
Solidity: function acceptOwnership() returns()
func (*UniversalChannelHandlerSession) CloseChannel ¶
func (_UniversalChannelHandler *UniversalChannelHandlerSession) CloseChannel(channelId [32]byte) (*types.Transaction, error)
CloseChannel is a paid mutator transaction binding the contract method 0x4c2ee09d.
Solidity: function closeChannel(bytes32 channelId) returns()
func (*UniversalChannelHandlerSession) Dispatcher ¶
func (_UniversalChannelHandler *UniversalChannelHandlerSession) Dispatcher() (common.Address, error)
Dispatcher is a free data retrieval call binding the contract method 0xcb7e9057.
Solidity: function dispatcher() view returns(address)
func (*UniversalChannelHandlerSession) Initialize ¶
func (_UniversalChannelHandler *UniversalChannelHandlerSession) Initialize(_dispatcher common.Address) (*types.Transaction, error)
Initialize is a paid mutator transaction binding the contract method 0xc4d66de8.
Solidity: function initialize(address _dispatcher) returns()
func (*UniversalChannelHandlerSession) MWID ¶
func (_UniversalChannelHandler *UniversalChannelHandlerSession) MWID() (*big.Int, error)
MWID is a free data retrieval call binding the contract method 0xc1cb44e5.
Solidity: function MW_ID() view returns(uint256)
func (*UniversalChannelHandlerSession) OnAcknowledgementPacket ¶
func (_UniversalChannelHandler *UniversalChannelHandlerSession) OnAcknowledgementPacket(packet IbcPacket, ack AckPacket) (*types.Transaction, error)
OnAcknowledgementPacket is a paid mutator transaction binding the contract method 0x7e1d42b5.
Solidity: function onAcknowledgementPacket(((string,bytes32),(string,bytes32),uint64,bytes,(uint64,uint64),uint64) packet, (bool,bytes) ack) returns()
func (*UniversalChannelHandlerSession) OnChanCloseConfirm ¶
func (_UniversalChannelHandler *UniversalChannelHandlerSession) OnChanCloseConfirm(channelId [32]byte, arg1 string, arg2 [32]byte) (*types.Transaction, error)
OnChanCloseConfirm is a paid mutator transaction binding the contract method 0x3f9fdbe4.
Solidity: function onChanCloseConfirm(bytes32 channelId, string , bytes32 ) returns()
func (*UniversalChannelHandlerSession) OnChanCloseInit ¶
func (_UniversalChannelHandler *UniversalChannelHandlerSession) OnChanCloseInit(channelId [32]byte, arg1 string, arg2 [32]byte) (*types.Transaction, error)
OnChanCloseInit is a paid mutator transaction binding the contract method 0x1eb7dd5e.
Solidity: function onChanCloseInit(bytes32 channelId, string , bytes32 ) returns()
func (*UniversalChannelHandlerSession) OnChanOpenAck ¶
func (_UniversalChannelHandler *UniversalChannelHandlerSession) OnChanOpenAck(channelId [32]byte, arg1 [32]byte, counterpartyVersion string) error
OnChanOpenAck is a free data retrieval call binding the contract method 0xe847e280.
Solidity: function onChanOpenAck(bytes32 channelId, bytes32 , string counterpartyVersion) view returns()
func (*UniversalChannelHandlerSession) OnChanOpenConfirm ¶
func (_UniversalChannelHandler *UniversalChannelHandlerSession) OnChanOpenConfirm(channelId [32]byte) (*types.Transaction, error)
OnChanOpenConfirm is a paid mutator transaction binding the contract method 0xfad28a24.
Solidity: function onChanOpenConfirm(bytes32 channelId) returns()
func (*UniversalChannelHandlerSession) OnChanOpenTry ¶
func (_UniversalChannelHandler *UniversalChannelHandlerSession) OnChanOpenTry(arg0 uint8, arg1 []string, channelId [32]byte, arg3 string, arg4 [32]byte, counterpartyVersion string) (string, error)
OnChanOpenTry is a free data retrieval call binding the contract method 0x4bdb5597.
Solidity: function onChanOpenTry(uint8 , string[] , bytes32 channelId, string , bytes32 , string counterpartyVersion) view returns(string selectedVersion)
func (*UniversalChannelHandlerSession) OnRecvPacket ¶
func (_UniversalChannelHandler *UniversalChannelHandlerSession) OnRecvPacket(packet IbcPacket) (*types.Transaction, error)
OnRecvPacket is a paid mutator transaction binding the contract method 0x4dcc0aa6.
Solidity: function onRecvPacket(((string,bytes32),(string,bytes32),uint64,bytes,(uint64,uint64),uint64) packet) returns((bool,bytes) ackPacket)
func (*UniversalChannelHandlerSession) OnTimeoutPacket ¶
func (_UniversalChannelHandler *UniversalChannelHandlerSession) OnTimeoutPacket(packet IbcPacket) (*types.Transaction, error)
OnTimeoutPacket is a paid mutator transaction binding the contract method 0x602f9834.
Solidity: function onTimeoutPacket(((string,bytes32),(string,bytes32),uint64,bytes,(uint64,uint64),uint64) packet) returns()
func (*UniversalChannelHandlerSession) OpenChannel ¶
func (_UniversalChannelHandler *UniversalChannelHandlerSession) OpenChannel(version string, ordering uint8, feeEnabled bool, connectionHops []string, counterpartyPortIdentifier string) (*types.Transaction, error)
OpenChannel is a paid mutator transaction binding the contract method 0xace02de7.
Solidity: function openChannel(string version, uint8 ordering, bool feeEnabled, string[] connectionHops, string counterpartyPortIdentifier) returns()
func (*UniversalChannelHandlerSession) Owner ¶
func (_UniversalChannelHandler *UniversalChannelHandlerSession) Owner() (common.Address, error)
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() view returns(address)
func (*UniversalChannelHandlerSession) PendingOwner ¶
func (_UniversalChannelHandler *UniversalChannelHandlerSession) PendingOwner() (common.Address, error)
PendingOwner is a free data retrieval call binding the contract method 0xe30c3978.
Solidity: function pendingOwner() view returns(address)
func (*UniversalChannelHandlerSession) ProxiableUUID ¶
func (_UniversalChannelHandler *UniversalChannelHandlerSession) ProxiableUUID() ([32]byte, error)
ProxiableUUID is a free data retrieval call binding the contract method 0x52d1902d.
Solidity: function proxiableUUID() view returns(bytes32)
func (*UniversalChannelHandlerSession) Receive ¶
func (_UniversalChannelHandler *UniversalChannelHandlerSession) Receive() (*types.Transaction, error)
Receive is a paid mutator transaction binding the contract receive function.
Solidity: receive() payable returns()
func (*UniversalChannelHandlerSession) RenounceOwnership ¶
func (_UniversalChannelHandler *UniversalChannelHandlerSession) RenounceOwnership() (*types.Transaction, error)
RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.
Solidity: function renounceOwnership() returns()
func (*UniversalChannelHandlerSession) SendUniversalPacket ¶
func (_UniversalChannelHandler *UniversalChannelHandlerSession) SendUniversalPacket(channelId [32]byte, destPortAddr [32]byte, appData []byte, timeoutTimestamp uint64) (*types.Transaction, error)
SendUniversalPacket is a paid mutator transaction binding the contract method 0x1f3a5830.
Solidity: function sendUniversalPacket(bytes32 channelId, bytes32 destPortAddr, bytes appData, uint64 timeoutTimestamp) returns(uint64 sequence)
func (*UniversalChannelHandlerSession) SendUniversalPacketWithFee ¶
func (_UniversalChannelHandler *UniversalChannelHandlerSession) SendUniversalPacketWithFee(channelId [32]byte, destPortAddr [32]byte, appData []byte, timeoutTimestamp uint64, gasLimits [2]*big.Int, gasPrices [2]*big.Int) (*types.Transaction, error)
SendUniversalPacketWithFee is a paid mutator transaction binding the contract method 0x462fdf83.
Solidity: function sendUniversalPacketWithFee(bytes32 channelId, bytes32 destPortAddr, bytes appData, uint64 timeoutTimestamp, uint256[2] gasLimits, uint256[2] gasPrices) payable returns(uint64 sequence)
func (*UniversalChannelHandlerSession) SetDispatcher ¶
func (_UniversalChannelHandler *UniversalChannelHandlerSession) SetDispatcher(_dispatcher common.Address) (*types.Transaction, error)
SetDispatcher is a paid mutator transaction binding the contract method 0xba22bd76.
Solidity: function setDispatcher(address _dispatcher) returns()
func (*UniversalChannelHandlerSession) TransferOwnership ¶
func (_UniversalChannelHandler *UniversalChannelHandlerSession) 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 (*UniversalChannelHandlerSession) UpgradeTo ¶
func (_UniversalChannelHandler *UniversalChannelHandlerSession) UpgradeTo(newImplementation common.Address) (*types.Transaction, error)
UpgradeTo is a paid mutator transaction binding the contract method 0x3659cfe6.
Solidity: function upgradeTo(address newImplementation) returns()
func (*UniversalChannelHandlerSession) UpgradeToAndCall ¶
func (_UniversalChannelHandler *UniversalChannelHandlerSession) UpgradeToAndCall(newImplementation common.Address, data []byte) (*types.Transaction, error)
UpgradeToAndCall is a paid mutator transaction binding the contract method 0x4f1ef286.
Solidity: function upgradeToAndCall(address newImplementation, bytes data) payable returns()
func (*UniversalChannelHandlerSession) VERSION ¶
func (_UniversalChannelHandler *UniversalChannelHandlerSession) VERSION() (string, error)
VERSION is a free data retrieval call binding the contract method 0xffa1ad74.
Solidity: function VERSION() view returns(string)
type UniversalChannelHandlerTransactor ¶
type UniversalChannelHandlerTransactor struct {
// contains filtered or unexported fields
}
UniversalChannelHandlerTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewUniversalChannelHandlerTransactor ¶
func NewUniversalChannelHandlerTransactor(address common.Address, transactor bind.ContractTransactor) (*UniversalChannelHandlerTransactor, error)
NewUniversalChannelHandlerTransactor creates a new write-only instance of UniversalChannelHandler, bound to a specific deployed contract.
func (*UniversalChannelHandlerTransactor) AcceptOwnership ¶
func (_UniversalChannelHandler *UniversalChannelHandlerTransactor) AcceptOwnership(opts *bind.TransactOpts) (*types.Transaction, error)
AcceptOwnership is a paid mutator transaction binding the contract method 0x79ba5097.
Solidity: function acceptOwnership() returns()
func (*UniversalChannelHandlerTransactor) CloseChannel ¶
func (_UniversalChannelHandler *UniversalChannelHandlerTransactor) CloseChannel(opts *bind.TransactOpts, channelId [32]byte) (*types.Transaction, error)
CloseChannel is a paid mutator transaction binding the contract method 0x4c2ee09d.
Solidity: function closeChannel(bytes32 channelId) returns()
func (*UniversalChannelHandlerTransactor) Initialize ¶
func (_UniversalChannelHandler *UniversalChannelHandlerTransactor) Initialize(opts *bind.TransactOpts, _dispatcher common.Address) (*types.Transaction, error)
Initialize is a paid mutator transaction binding the contract method 0xc4d66de8.
Solidity: function initialize(address _dispatcher) returns()
func (*UniversalChannelHandlerTransactor) OnAcknowledgementPacket ¶
func (_UniversalChannelHandler *UniversalChannelHandlerTransactor) OnAcknowledgementPacket(opts *bind.TransactOpts, packet IbcPacket, ack AckPacket) (*types.Transaction, error)
OnAcknowledgementPacket is a paid mutator transaction binding the contract method 0x7e1d42b5.
Solidity: function onAcknowledgementPacket(((string,bytes32),(string,bytes32),uint64,bytes,(uint64,uint64),uint64) packet, (bool,bytes) ack) returns()
func (*UniversalChannelHandlerTransactor) OnChanCloseConfirm ¶
func (_UniversalChannelHandler *UniversalChannelHandlerTransactor) OnChanCloseConfirm(opts *bind.TransactOpts, channelId [32]byte, arg1 string, arg2 [32]byte) (*types.Transaction, error)
OnChanCloseConfirm is a paid mutator transaction binding the contract method 0x3f9fdbe4.
Solidity: function onChanCloseConfirm(bytes32 channelId, string , bytes32 ) returns()
func (*UniversalChannelHandlerTransactor) OnChanCloseInit ¶
func (_UniversalChannelHandler *UniversalChannelHandlerTransactor) OnChanCloseInit(opts *bind.TransactOpts, channelId [32]byte, arg1 string, arg2 [32]byte) (*types.Transaction, error)
OnChanCloseInit is a paid mutator transaction binding the contract method 0x1eb7dd5e.
Solidity: function onChanCloseInit(bytes32 channelId, string , bytes32 ) returns()
func (*UniversalChannelHandlerTransactor) OnChanOpenConfirm ¶
func (_UniversalChannelHandler *UniversalChannelHandlerTransactor) OnChanOpenConfirm(opts *bind.TransactOpts, channelId [32]byte) (*types.Transaction, error)
OnChanOpenConfirm is a paid mutator transaction binding the contract method 0xfad28a24.
Solidity: function onChanOpenConfirm(bytes32 channelId) returns()
func (*UniversalChannelHandlerTransactor) OnRecvPacket ¶
func (_UniversalChannelHandler *UniversalChannelHandlerTransactor) OnRecvPacket(opts *bind.TransactOpts, packet IbcPacket) (*types.Transaction, error)
OnRecvPacket is a paid mutator transaction binding the contract method 0x4dcc0aa6.
Solidity: function onRecvPacket(((string,bytes32),(string,bytes32),uint64,bytes,(uint64,uint64),uint64) packet) returns((bool,bytes) ackPacket)
func (*UniversalChannelHandlerTransactor) OnTimeoutPacket ¶
func (_UniversalChannelHandler *UniversalChannelHandlerTransactor) OnTimeoutPacket(opts *bind.TransactOpts, packet IbcPacket) (*types.Transaction, error)
OnTimeoutPacket is a paid mutator transaction binding the contract method 0x602f9834.
Solidity: function onTimeoutPacket(((string,bytes32),(string,bytes32),uint64,bytes,(uint64,uint64),uint64) packet) returns()
func (*UniversalChannelHandlerTransactor) OpenChannel ¶
func (_UniversalChannelHandler *UniversalChannelHandlerTransactor) OpenChannel(opts *bind.TransactOpts, version string, ordering uint8, feeEnabled bool, connectionHops []string, counterpartyPortIdentifier string) (*types.Transaction, error)
OpenChannel is a paid mutator transaction binding the contract method 0xace02de7.
Solidity: function openChannel(string version, uint8 ordering, bool feeEnabled, string[] connectionHops, string counterpartyPortIdentifier) returns()
func (*UniversalChannelHandlerTransactor) Receive ¶
func (_UniversalChannelHandler *UniversalChannelHandlerTransactor) Receive(opts *bind.TransactOpts) (*types.Transaction, error)
Receive is a paid mutator transaction binding the contract receive function.
Solidity: receive() payable returns()
func (*UniversalChannelHandlerTransactor) RenounceOwnership ¶
func (_UniversalChannelHandler *UniversalChannelHandlerTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)
RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.
Solidity: function renounceOwnership() returns()
func (*UniversalChannelHandlerTransactor) SendUniversalPacket ¶
func (_UniversalChannelHandler *UniversalChannelHandlerTransactor) SendUniversalPacket(opts *bind.TransactOpts, channelId [32]byte, destPortAddr [32]byte, appData []byte, timeoutTimestamp uint64) (*types.Transaction, error)
SendUniversalPacket is a paid mutator transaction binding the contract method 0x1f3a5830.
Solidity: function sendUniversalPacket(bytes32 channelId, bytes32 destPortAddr, bytes appData, uint64 timeoutTimestamp) returns(uint64 sequence)
func (*UniversalChannelHandlerTransactor) SendUniversalPacketWithFee ¶
func (_UniversalChannelHandler *UniversalChannelHandlerTransactor) SendUniversalPacketWithFee(opts *bind.TransactOpts, channelId [32]byte, destPortAddr [32]byte, appData []byte, timeoutTimestamp uint64, gasLimits [2]*big.Int, gasPrices [2]*big.Int) (*types.Transaction, error)
SendUniversalPacketWithFee is a paid mutator transaction binding the contract method 0x462fdf83.
Solidity: function sendUniversalPacketWithFee(bytes32 channelId, bytes32 destPortAddr, bytes appData, uint64 timeoutTimestamp, uint256[2] gasLimits, uint256[2] gasPrices) payable returns(uint64 sequence)
func (*UniversalChannelHandlerTransactor) SetDispatcher ¶
func (_UniversalChannelHandler *UniversalChannelHandlerTransactor) SetDispatcher(opts *bind.TransactOpts, _dispatcher common.Address) (*types.Transaction, error)
SetDispatcher is a paid mutator transaction binding the contract method 0xba22bd76.
Solidity: function setDispatcher(address _dispatcher) returns()
func (*UniversalChannelHandlerTransactor) TransferOwnership ¶
func (_UniversalChannelHandler *UniversalChannelHandlerTransactor) 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 (*UniversalChannelHandlerTransactor) UpgradeTo ¶
func (_UniversalChannelHandler *UniversalChannelHandlerTransactor) UpgradeTo(opts *bind.TransactOpts, newImplementation common.Address) (*types.Transaction, error)
UpgradeTo is a paid mutator transaction binding the contract method 0x3659cfe6.
Solidity: function upgradeTo(address newImplementation) returns()
func (*UniversalChannelHandlerTransactor) UpgradeToAndCall ¶
func (_UniversalChannelHandler *UniversalChannelHandlerTransactor) UpgradeToAndCall(opts *bind.TransactOpts, newImplementation common.Address, data []byte) (*types.Transaction, error)
UpgradeToAndCall is a paid mutator transaction binding the contract method 0x4f1ef286.
Solidity: function upgradeToAndCall(address newImplementation, bytes data) payable returns()
type UniversalChannelHandlerTransactorRaw ¶
type UniversalChannelHandlerTransactorRaw struct {
Contract *UniversalChannelHandlerTransactor // Generic write-only contract binding to access the raw methods on
}
UniversalChannelHandlerTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*UniversalChannelHandlerTransactorRaw) Transact ¶
func (_UniversalChannelHandler *UniversalChannelHandlerTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*UniversalChannelHandlerTransactorRaw) Transfer ¶
func (_UniversalChannelHandler *UniversalChannelHandlerTransactorRaw) 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 UniversalChannelHandlerTransactorSession ¶
type UniversalChannelHandlerTransactorSession struct { Contract *UniversalChannelHandlerTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
UniversalChannelHandlerTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*UniversalChannelHandlerTransactorSession) AcceptOwnership ¶
func (_UniversalChannelHandler *UniversalChannelHandlerTransactorSession) AcceptOwnership() (*types.Transaction, error)
AcceptOwnership is a paid mutator transaction binding the contract method 0x79ba5097.
Solidity: function acceptOwnership() returns()
func (*UniversalChannelHandlerTransactorSession) CloseChannel ¶
func (_UniversalChannelHandler *UniversalChannelHandlerTransactorSession) CloseChannel(channelId [32]byte) (*types.Transaction, error)
CloseChannel is a paid mutator transaction binding the contract method 0x4c2ee09d.
Solidity: function closeChannel(bytes32 channelId) returns()
func (*UniversalChannelHandlerTransactorSession) Initialize ¶
func (_UniversalChannelHandler *UniversalChannelHandlerTransactorSession) Initialize(_dispatcher common.Address) (*types.Transaction, error)
Initialize is a paid mutator transaction binding the contract method 0xc4d66de8.
Solidity: function initialize(address _dispatcher) returns()
func (*UniversalChannelHandlerTransactorSession) OnAcknowledgementPacket ¶
func (_UniversalChannelHandler *UniversalChannelHandlerTransactorSession) OnAcknowledgementPacket(packet IbcPacket, ack AckPacket) (*types.Transaction, error)
OnAcknowledgementPacket is a paid mutator transaction binding the contract method 0x7e1d42b5.
Solidity: function onAcknowledgementPacket(((string,bytes32),(string,bytes32),uint64,bytes,(uint64,uint64),uint64) packet, (bool,bytes) ack) returns()
func (*UniversalChannelHandlerTransactorSession) OnChanCloseConfirm ¶
func (_UniversalChannelHandler *UniversalChannelHandlerTransactorSession) OnChanCloseConfirm(channelId [32]byte, arg1 string, arg2 [32]byte) (*types.Transaction, error)
OnChanCloseConfirm is a paid mutator transaction binding the contract method 0x3f9fdbe4.
Solidity: function onChanCloseConfirm(bytes32 channelId, string , bytes32 ) returns()
func (*UniversalChannelHandlerTransactorSession) OnChanCloseInit ¶
func (_UniversalChannelHandler *UniversalChannelHandlerTransactorSession) OnChanCloseInit(channelId [32]byte, arg1 string, arg2 [32]byte) (*types.Transaction, error)
OnChanCloseInit is a paid mutator transaction binding the contract method 0x1eb7dd5e.
Solidity: function onChanCloseInit(bytes32 channelId, string , bytes32 ) returns()
func (*UniversalChannelHandlerTransactorSession) OnChanOpenConfirm ¶
func (_UniversalChannelHandler *UniversalChannelHandlerTransactorSession) OnChanOpenConfirm(channelId [32]byte) (*types.Transaction, error)
OnChanOpenConfirm is a paid mutator transaction binding the contract method 0xfad28a24.
Solidity: function onChanOpenConfirm(bytes32 channelId) returns()
func (*UniversalChannelHandlerTransactorSession) OnRecvPacket ¶
func (_UniversalChannelHandler *UniversalChannelHandlerTransactorSession) OnRecvPacket(packet IbcPacket) (*types.Transaction, error)
OnRecvPacket is a paid mutator transaction binding the contract method 0x4dcc0aa6.
Solidity: function onRecvPacket(((string,bytes32),(string,bytes32),uint64,bytes,(uint64,uint64),uint64) packet) returns((bool,bytes) ackPacket)
func (*UniversalChannelHandlerTransactorSession) OnTimeoutPacket ¶
func (_UniversalChannelHandler *UniversalChannelHandlerTransactorSession) OnTimeoutPacket(packet IbcPacket) (*types.Transaction, error)
OnTimeoutPacket is a paid mutator transaction binding the contract method 0x602f9834.
Solidity: function onTimeoutPacket(((string,bytes32),(string,bytes32),uint64,bytes,(uint64,uint64),uint64) packet) returns()
func (*UniversalChannelHandlerTransactorSession) OpenChannel ¶
func (_UniversalChannelHandler *UniversalChannelHandlerTransactorSession) OpenChannel(version string, ordering uint8, feeEnabled bool, connectionHops []string, counterpartyPortIdentifier string) (*types.Transaction, error)
OpenChannel is a paid mutator transaction binding the contract method 0xace02de7.
Solidity: function openChannel(string version, uint8 ordering, bool feeEnabled, string[] connectionHops, string counterpartyPortIdentifier) returns()
func (*UniversalChannelHandlerTransactorSession) Receive ¶
func (_UniversalChannelHandler *UniversalChannelHandlerTransactorSession) Receive() (*types.Transaction, error)
Receive is a paid mutator transaction binding the contract receive function.
Solidity: receive() payable returns()
func (*UniversalChannelHandlerTransactorSession) RenounceOwnership ¶
func (_UniversalChannelHandler *UniversalChannelHandlerTransactorSession) RenounceOwnership() (*types.Transaction, error)
RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.
Solidity: function renounceOwnership() returns()
func (*UniversalChannelHandlerTransactorSession) SendUniversalPacket ¶
func (_UniversalChannelHandler *UniversalChannelHandlerTransactorSession) SendUniversalPacket(channelId [32]byte, destPortAddr [32]byte, appData []byte, timeoutTimestamp uint64) (*types.Transaction, error)
SendUniversalPacket is a paid mutator transaction binding the contract method 0x1f3a5830.
Solidity: function sendUniversalPacket(bytes32 channelId, bytes32 destPortAddr, bytes appData, uint64 timeoutTimestamp) returns(uint64 sequence)
func (*UniversalChannelHandlerTransactorSession) SendUniversalPacketWithFee ¶
func (_UniversalChannelHandler *UniversalChannelHandlerTransactorSession) SendUniversalPacketWithFee(channelId [32]byte, destPortAddr [32]byte, appData []byte, timeoutTimestamp uint64, gasLimits [2]*big.Int, gasPrices [2]*big.Int) (*types.Transaction, error)
SendUniversalPacketWithFee is a paid mutator transaction binding the contract method 0x462fdf83.
Solidity: function sendUniversalPacketWithFee(bytes32 channelId, bytes32 destPortAddr, bytes appData, uint64 timeoutTimestamp, uint256[2] gasLimits, uint256[2] gasPrices) payable returns(uint64 sequence)
func (*UniversalChannelHandlerTransactorSession) SetDispatcher ¶
func (_UniversalChannelHandler *UniversalChannelHandlerTransactorSession) SetDispatcher(_dispatcher common.Address) (*types.Transaction, error)
SetDispatcher is a paid mutator transaction binding the contract method 0xba22bd76.
Solidity: function setDispatcher(address _dispatcher) returns()
func (*UniversalChannelHandlerTransactorSession) TransferOwnership ¶
func (_UniversalChannelHandler *UniversalChannelHandlerTransactorSession) 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 (*UniversalChannelHandlerTransactorSession) UpgradeTo ¶
func (_UniversalChannelHandler *UniversalChannelHandlerTransactorSession) UpgradeTo(newImplementation common.Address) (*types.Transaction, error)
UpgradeTo is a paid mutator transaction binding the contract method 0x3659cfe6.
Solidity: function upgradeTo(address newImplementation) returns()
func (*UniversalChannelHandlerTransactorSession) UpgradeToAndCall ¶
func (_UniversalChannelHandler *UniversalChannelHandlerTransactorSession) UpgradeToAndCall(newImplementation common.Address, data []byte) (*types.Transaction, error)
UpgradeToAndCall is a paid mutator transaction binding the contract method 0x4f1ef286.
Solidity: function upgradeToAndCall(address newImplementation, bytes data) payable returns()
type UniversalChannelHandlerUCHPacketSent ¶
type UniversalChannelHandlerUCHPacketSent struct { Source common.Address Destination [32]byte Raw types.Log // Blockchain specific contextual infos }
UniversalChannelHandlerUCHPacketSent represents a UCHPacketSent event raised by the UniversalChannelHandler contract.
type UniversalChannelHandlerUCHPacketSentIterator ¶
type UniversalChannelHandlerUCHPacketSentIterator struct { Event *UniversalChannelHandlerUCHPacketSent // Event containing the contract specifics and raw log // contains filtered or unexported fields }
UniversalChannelHandlerUCHPacketSentIterator is returned from FilterUCHPacketSent and is used to iterate over the raw logs and unpacked data for UCHPacketSent events raised by the UniversalChannelHandler contract.
func (*UniversalChannelHandlerUCHPacketSentIterator) Close ¶
func (it *UniversalChannelHandlerUCHPacketSentIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*UniversalChannelHandlerUCHPacketSentIterator) Error ¶
func (it *UniversalChannelHandlerUCHPacketSentIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*UniversalChannelHandlerUCHPacketSentIterator) Next ¶
func (it *UniversalChannelHandlerUCHPacketSentIterator) 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 UniversalChannelHandlerUpgraded ¶
type UniversalChannelHandlerUpgraded struct { Implementation common.Address Raw types.Log // Blockchain specific contextual infos }
UniversalChannelHandlerUpgraded represents a Upgraded event raised by the UniversalChannelHandler contract.
type UniversalChannelHandlerUpgradedIterator ¶
type UniversalChannelHandlerUpgradedIterator struct { Event *UniversalChannelHandlerUpgraded // Event containing the contract specifics and raw log // contains filtered or unexported fields }
UniversalChannelHandlerUpgradedIterator is returned from FilterUpgraded and is used to iterate over the raw logs and unpacked data for Upgraded events raised by the UniversalChannelHandler contract.
func (*UniversalChannelHandlerUpgradedIterator) Close ¶
func (it *UniversalChannelHandlerUpgradedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*UniversalChannelHandlerUpgradedIterator) Error ¶
func (it *UniversalChannelHandlerUpgradedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*UniversalChannelHandlerUpgradedIterator) Next ¶
func (it *UniversalChannelHandlerUpgradedIterator) 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.