Documentation ¶
Index ¶
- Variables
- type HeightData
- type IIBCChannelUpgradableModuleUpgradeProposal
- type Iibcchannelupgradablemodule
- type IibcchannelupgradablemoduleCaller
- type IibcchannelupgradablemoduleCallerRaw
- type IibcchannelupgradablemoduleCallerSession
- type IibcchannelupgradablemoduleFilterer
- type IibcchannelupgradablemoduleRaw
- func (_Iibcchannelupgradablemodule *IibcchannelupgradablemoduleRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_Iibcchannelupgradablemodule *IibcchannelupgradablemoduleRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_Iibcchannelupgradablemodule *IibcchannelupgradablemoduleRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type IibcchannelupgradablemoduleSession
- func (_Iibcchannelupgradablemodule *IibcchannelupgradablemoduleSession) AllowTransitionToFlushComplete(portId string, channelId string, upgradeSequence uint64) (*types.Transaction, error)
- func (_Iibcchannelupgradablemodule *IibcchannelupgradablemoduleSession) GetUpgradeProposal(portId string, channelId string) (IIBCChannelUpgradableModuleUpgradeProposal, error)
- func (_Iibcchannelupgradablemodule *IibcchannelupgradablemoduleSession) ProposeUpgrade(portId string, channelId string, upgradeFields UpgradeFieldsData, ...) (*types.Transaction, error)
- func (_Iibcchannelupgradablemodule *IibcchannelupgradablemoduleSession) RemoveUpgradeProposal(portId string, channelId string) (*types.Transaction, error)
- type IibcchannelupgradablemoduleTransactor
- func (_Iibcchannelupgradablemodule *IibcchannelupgradablemoduleTransactor) AllowTransitionToFlushComplete(opts *bind.TransactOpts, portId string, channelId string, ...) (*types.Transaction, error)
- func (_Iibcchannelupgradablemodule *IibcchannelupgradablemoduleTransactor) ProposeUpgrade(opts *bind.TransactOpts, portId string, channelId string, ...) (*types.Transaction, error)
- func (_Iibcchannelupgradablemodule *IibcchannelupgradablemoduleTransactor) RemoveUpgradeProposal(opts *bind.TransactOpts, portId string, channelId string) (*types.Transaction, error)
- type IibcchannelupgradablemoduleTransactorRaw
- func (_Iibcchannelupgradablemodule *IibcchannelupgradablemoduleTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_Iibcchannelupgradablemodule *IibcchannelupgradablemoduleTransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type IibcchannelupgradablemoduleTransactorSession
- func (_Iibcchannelupgradablemodule *IibcchannelupgradablemoduleTransactorSession) AllowTransitionToFlushComplete(portId string, channelId string, upgradeSequence uint64) (*types.Transaction, error)
- func (_Iibcchannelupgradablemodule *IibcchannelupgradablemoduleTransactorSession) ProposeUpgrade(portId string, channelId string, upgradeFields UpgradeFieldsData, ...) (*types.Transaction, error)
- func (_Iibcchannelupgradablemodule *IibcchannelupgradablemoduleTransactorSession) RemoveUpgradeProposal(portId string, channelId string) (*types.Transaction, error)
- type TimeoutData
- type UpgradeFieldsData
Constants ¶
This section is empty.
Variables ¶
var IibcchannelupgradablemoduleABI = IibcchannelupgradablemoduleMetaData.ABI
IibcchannelupgradablemoduleABI is the input ABI used to generate the binding from. Deprecated: Use IibcchannelupgradablemoduleMetaData.ABI instead.
var IibcchannelupgradablemoduleMetaData = &bind.MetaData{
ABI: "[{\"type\":\"function\",\"name\":\"allowTransitionToFlushComplete\",\"inputs\":[{\"name\":\"portId\",\"type\":\"string\",\"internalType\":\"string\"},{\"name\":\"channelId\",\"type\":\"string\",\"internalType\":\"string\"},{\"name\":\"upgradeSequence\",\"type\":\"uint64\",\"internalType\":\"uint64\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"getUpgradeProposal\",\"inputs\":[{\"name\":\"portId\",\"type\":\"string\",\"internalType\":\"string\"},{\"name\":\"channelId\",\"type\":\"string\",\"internalType\":\"string\"}],\"outputs\":[{\"name\":\"\",\"type\":\"tuple\",\"internalType\":\"structIIBCChannelUpgradableModule.UpgradeProposal\",\"components\":[{\"name\":\"fields\",\"type\":\"tuple\",\"internalType\":\"structUpgradeFields.Data\",\"components\":[{\"name\":\"ordering\",\"type\":\"uint8\",\"internalType\":\"enumChannel.Order\"},{\"name\":\"connection_hops\",\"type\":\"string[]\",\"internalType\":\"string[]\"},{\"name\":\"version\",\"type\":\"string\",\"internalType\":\"string\"}]},{\"name\":\"timeout\",\"type\":\"tuple\",\"internalType\":\"structTimeout.Data\",\"components\":[{\"name\":\"height\",\"type\":\"tuple\",\"internalType\":\"structHeight.Data\",\"components\":[{\"name\":\"revision_number\",\"type\":\"uint64\",\"internalType\":\"uint64\"},{\"name\":\"revision_height\",\"type\":\"uint64\",\"internalType\":\"uint64\"}]},{\"name\":\"timestamp\",\"type\":\"uint64\",\"internalType\":\"uint64\"}]}]}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"proposeUpgrade\",\"inputs\":[{\"name\":\"portId\",\"type\":\"string\",\"internalType\":\"string\"},{\"name\":\"channelId\",\"type\":\"string\",\"internalType\":\"string\"},{\"name\":\"upgradeFields\",\"type\":\"tuple\",\"internalType\":\"structUpgradeFields.Data\",\"components\":[{\"name\":\"ordering\",\"type\":\"uint8\",\"internalType\":\"enumChannel.Order\"},{\"name\":\"connection_hops\",\"type\":\"string[]\",\"internalType\":\"string[]\"},{\"name\":\"version\",\"type\":\"string\",\"internalType\":\"string\"}]},{\"name\":\"timeout\",\"type\":\"tuple\",\"internalType\":\"structTimeout.Data\",\"components\":[{\"name\":\"height\",\"type\":\"tuple\",\"internalType\":\"structHeight.Data\",\"components\":[{\"name\":\"revision_number\",\"type\":\"uint64\",\"internalType\":\"uint64\"},{\"name\":\"revision_height\",\"type\":\"uint64\",\"internalType\":\"uint64\"}]},{\"name\":\"timestamp\",\"type\":\"uint64\",\"internalType\":\"uint64\"}]}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"removeUpgradeProposal\",\"inputs\":[{\"name\":\"portId\",\"type\":\"string\",\"internalType\":\"string\"},{\"name\":\"channelId\",\"type\":\"string\",\"internalType\":\"string\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"}]",
}
IibcchannelupgradablemoduleMetaData contains all meta data concerning the Iibcchannelupgradablemodule contract.
Functions ¶
This section is empty.
Types ¶
type HeightData ¶
HeightData is an auto generated low-level Go binding around an user-defined struct.
type IIBCChannelUpgradableModuleUpgradeProposal ¶
type IIBCChannelUpgradableModuleUpgradeProposal struct { Fields UpgradeFieldsData Timeout TimeoutData }
IIBCChannelUpgradableModuleUpgradeProposal is an auto generated low-level Go binding around an user-defined struct.
type Iibcchannelupgradablemodule ¶
type Iibcchannelupgradablemodule struct { IibcchannelupgradablemoduleCaller // Read-only binding to the contract IibcchannelupgradablemoduleTransactor // Write-only binding to the contract IibcchannelupgradablemoduleFilterer // Log filterer for contract events }
Iibcchannelupgradablemodule is an auto generated Go binding around an Ethereum contract.
func NewIibcchannelupgradablemodule ¶
func NewIibcchannelupgradablemodule(address common.Address, backend bind.ContractBackend) (*Iibcchannelupgradablemodule, error)
NewIibcchannelupgradablemodule creates a new instance of Iibcchannelupgradablemodule, bound to a specific deployed contract.
type IibcchannelupgradablemoduleCaller ¶
type IibcchannelupgradablemoduleCaller struct {
// contains filtered or unexported fields
}
IibcchannelupgradablemoduleCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewIibcchannelupgradablemoduleCaller ¶
func NewIibcchannelupgradablemoduleCaller(address common.Address, caller bind.ContractCaller) (*IibcchannelupgradablemoduleCaller, error)
NewIibcchannelupgradablemoduleCaller creates a new read-only instance of Iibcchannelupgradablemodule, bound to a specific deployed contract.
func (*IibcchannelupgradablemoduleCaller) GetUpgradeProposal ¶
func (_Iibcchannelupgradablemodule *IibcchannelupgradablemoduleCaller) GetUpgradeProposal(opts *bind.CallOpts, portId string, channelId string) (IIBCChannelUpgradableModuleUpgradeProposal, error)
GetUpgradeProposal is a free data retrieval call binding the contract method 0x6df5433b.
Solidity: function getUpgradeProposal(string portId, string channelId) view returns(((uint8,string[],string),((uint64,uint64),uint64)))
type IibcchannelupgradablemoduleCallerRaw ¶
type IibcchannelupgradablemoduleCallerRaw struct {
Contract *IibcchannelupgradablemoduleCaller // Generic read-only contract binding to access the raw methods on
}
IibcchannelupgradablemoduleCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*IibcchannelupgradablemoduleCallerRaw) Call ¶
func (_Iibcchannelupgradablemodule *IibcchannelupgradablemoduleCallerRaw) 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 IibcchannelupgradablemoduleCallerSession ¶
type IibcchannelupgradablemoduleCallerSession struct { Contract *IibcchannelupgradablemoduleCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
IibcchannelupgradablemoduleCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*IibcchannelupgradablemoduleCallerSession) GetUpgradeProposal ¶
func (_Iibcchannelupgradablemodule *IibcchannelupgradablemoduleCallerSession) GetUpgradeProposal(portId string, channelId string) (IIBCChannelUpgradableModuleUpgradeProposal, error)
GetUpgradeProposal is a free data retrieval call binding the contract method 0x6df5433b.
Solidity: function getUpgradeProposal(string portId, string channelId) view returns(((uint8,string[],string),((uint64,uint64),uint64)))
type IibcchannelupgradablemoduleFilterer ¶
type IibcchannelupgradablemoduleFilterer struct {
// contains filtered or unexported fields
}
IibcchannelupgradablemoduleFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewIibcchannelupgradablemoduleFilterer ¶
func NewIibcchannelupgradablemoduleFilterer(address common.Address, filterer bind.ContractFilterer) (*IibcchannelupgradablemoduleFilterer, error)
NewIibcchannelupgradablemoduleFilterer creates a new log filterer instance of Iibcchannelupgradablemodule, bound to a specific deployed contract.
type IibcchannelupgradablemoduleRaw ¶
type IibcchannelupgradablemoduleRaw struct {
Contract *Iibcchannelupgradablemodule // Generic contract binding to access the raw methods on
}
IibcchannelupgradablemoduleRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*IibcchannelupgradablemoduleRaw) Call ¶
func (_Iibcchannelupgradablemodule *IibcchannelupgradablemoduleRaw) 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 (*IibcchannelupgradablemoduleRaw) Transact ¶
func (_Iibcchannelupgradablemodule *IibcchannelupgradablemoduleRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*IibcchannelupgradablemoduleRaw) Transfer ¶
func (_Iibcchannelupgradablemodule *IibcchannelupgradablemoduleRaw) 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 IibcchannelupgradablemoduleSession ¶
type IibcchannelupgradablemoduleSession struct { Contract *Iibcchannelupgradablemodule // 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 }
IibcchannelupgradablemoduleSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*IibcchannelupgradablemoduleSession) AllowTransitionToFlushComplete ¶
func (_Iibcchannelupgradablemodule *IibcchannelupgradablemoduleSession) AllowTransitionToFlushComplete(portId string, channelId string, upgradeSequence uint64) (*types.Transaction, error)
AllowTransitionToFlushComplete is a paid mutator transaction binding the contract method 0x8680841e.
Solidity: function allowTransitionToFlushComplete(string portId, string channelId, uint64 upgradeSequence) returns()
func (*IibcchannelupgradablemoduleSession) GetUpgradeProposal ¶
func (_Iibcchannelupgradablemodule *IibcchannelupgradablemoduleSession) GetUpgradeProposal(portId string, channelId string) (IIBCChannelUpgradableModuleUpgradeProposal, error)
GetUpgradeProposal is a free data retrieval call binding the contract method 0x6df5433b.
Solidity: function getUpgradeProposal(string portId, string channelId) view returns(((uint8,string[],string),((uint64,uint64),uint64)))
func (*IibcchannelupgradablemoduleSession) ProposeUpgrade ¶
func (_Iibcchannelupgradablemodule *IibcchannelupgradablemoduleSession) ProposeUpgrade(portId string, channelId string, upgradeFields UpgradeFieldsData, timeout TimeoutData) (*types.Transaction, error)
ProposeUpgrade is a paid mutator transaction binding the contract method 0xd6438586.
Solidity: function proposeUpgrade(string portId, string channelId, (uint8,string[],string) upgradeFields, ((uint64,uint64),uint64) timeout) returns()
func (*IibcchannelupgradablemoduleSession) RemoveUpgradeProposal ¶
func (_Iibcchannelupgradablemodule *IibcchannelupgradablemoduleSession) RemoveUpgradeProposal(portId string, channelId string) (*types.Transaction, error)
RemoveUpgradeProposal is a paid mutator transaction binding the contract method 0x0cc5a7af.
Solidity: function removeUpgradeProposal(string portId, string channelId) returns()
type IibcchannelupgradablemoduleTransactor ¶
type IibcchannelupgradablemoduleTransactor struct {
// contains filtered or unexported fields
}
IibcchannelupgradablemoduleTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewIibcchannelupgradablemoduleTransactor ¶
func NewIibcchannelupgradablemoduleTransactor(address common.Address, transactor bind.ContractTransactor) (*IibcchannelupgradablemoduleTransactor, error)
NewIibcchannelupgradablemoduleTransactor creates a new write-only instance of Iibcchannelupgradablemodule, bound to a specific deployed contract.
func (*IibcchannelupgradablemoduleTransactor) AllowTransitionToFlushComplete ¶
func (_Iibcchannelupgradablemodule *IibcchannelupgradablemoduleTransactor) AllowTransitionToFlushComplete(opts *bind.TransactOpts, portId string, channelId string, upgradeSequence uint64) (*types.Transaction, error)
AllowTransitionToFlushComplete is a paid mutator transaction binding the contract method 0x8680841e.
Solidity: function allowTransitionToFlushComplete(string portId, string channelId, uint64 upgradeSequence) returns()
func (*IibcchannelupgradablemoduleTransactor) ProposeUpgrade ¶
func (_Iibcchannelupgradablemodule *IibcchannelupgradablemoduleTransactor) ProposeUpgrade(opts *bind.TransactOpts, portId string, channelId string, upgradeFields UpgradeFieldsData, timeout TimeoutData) (*types.Transaction, error)
ProposeUpgrade is a paid mutator transaction binding the contract method 0xd6438586.
Solidity: function proposeUpgrade(string portId, string channelId, (uint8,string[],string) upgradeFields, ((uint64,uint64),uint64) timeout) returns()
func (*IibcchannelupgradablemoduleTransactor) RemoveUpgradeProposal ¶
func (_Iibcchannelupgradablemodule *IibcchannelupgradablemoduleTransactor) RemoveUpgradeProposal(opts *bind.TransactOpts, portId string, channelId string) (*types.Transaction, error)
RemoveUpgradeProposal is a paid mutator transaction binding the contract method 0x0cc5a7af.
Solidity: function removeUpgradeProposal(string portId, string channelId) returns()
type IibcchannelupgradablemoduleTransactorRaw ¶
type IibcchannelupgradablemoduleTransactorRaw struct {
Contract *IibcchannelupgradablemoduleTransactor // Generic write-only contract binding to access the raw methods on
}
IibcchannelupgradablemoduleTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*IibcchannelupgradablemoduleTransactorRaw) Transact ¶
func (_Iibcchannelupgradablemodule *IibcchannelupgradablemoduleTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*IibcchannelupgradablemoduleTransactorRaw) Transfer ¶
func (_Iibcchannelupgradablemodule *IibcchannelupgradablemoduleTransactorRaw) 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 IibcchannelupgradablemoduleTransactorSession ¶
type IibcchannelupgradablemoduleTransactorSession struct { Contract *IibcchannelupgradablemoduleTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
IibcchannelupgradablemoduleTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*IibcchannelupgradablemoduleTransactorSession) AllowTransitionToFlushComplete ¶
func (_Iibcchannelupgradablemodule *IibcchannelupgradablemoduleTransactorSession) AllowTransitionToFlushComplete(portId string, channelId string, upgradeSequence uint64) (*types.Transaction, error)
AllowTransitionToFlushComplete is a paid mutator transaction binding the contract method 0x8680841e.
Solidity: function allowTransitionToFlushComplete(string portId, string channelId, uint64 upgradeSequence) returns()
func (*IibcchannelupgradablemoduleTransactorSession) ProposeUpgrade ¶
func (_Iibcchannelupgradablemodule *IibcchannelupgradablemoduleTransactorSession) ProposeUpgrade(portId string, channelId string, upgradeFields UpgradeFieldsData, timeout TimeoutData) (*types.Transaction, error)
ProposeUpgrade is a paid mutator transaction binding the contract method 0xd6438586.
Solidity: function proposeUpgrade(string portId, string channelId, (uint8,string[],string) upgradeFields, ((uint64,uint64),uint64) timeout) returns()
func (*IibcchannelupgradablemoduleTransactorSession) RemoveUpgradeProposal ¶
func (_Iibcchannelupgradablemodule *IibcchannelupgradablemoduleTransactorSession) RemoveUpgradeProposal(portId string, channelId string) (*types.Transaction, error)
RemoveUpgradeProposal is a paid mutator transaction binding the contract method 0x0cc5a7af.
Solidity: function removeUpgradeProposal(string portId, string channelId) returns()
type TimeoutData ¶
type TimeoutData struct { Height HeightData Timestamp uint64 }
TimeoutData is an auto generated low-level Go binding around an user-defined struct.
type UpgradeFieldsData ¶
UpgradeFieldsData is an auto generated low-level Go binding around an user-defined struct.