multisigclient

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Feb 9, 2022 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const MultisigclientABI = "" /* 13011-byte string literal not displayed */

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

Variables

This section is empty.

Functions

This section is empty.

Types

type ClientStateData

type ClientStateData struct {
	LatestHeight HeightData
	FrozenHeight HeightData
}

ClientStateData is an auto generated low-level Go binding around an user-defined struct.

type ConsensusStateData

type ConsensusStateData struct {
	Addresses   [][]byte
	Diversifier string
	Timestamp   uint64
}

ConsensusStateData is an auto generated low-level Go binding around an user-defined struct.

type HeightData

type HeightData struct {
	RevisionNumber uint64
	RevisionHeight uint64
}

HeightData is an auto generated low-level Go binding around an user-defined struct.

type MultiSignatureData

type MultiSignatureData struct {
	Signatures [][]byte
	Timestamp  uint64
}

MultiSignatureData is an auto generated low-level Go binding around an user-defined struct.

type Multisigclient

type Multisigclient struct {
	MultisigclientCaller     // Read-only binding to the contract
	MultisigclientTransactor // Write-only binding to the contract
	MultisigclientFilterer   // Log filterer for contract events
}

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

func NewMultisigclient

func NewMultisigclient(address common.Address, backend bind.ContractBackend) (*Multisigclient, error)

NewMultisigclient creates a new instance of Multisigclient, bound to a specific deployed contract.

type MultisigclientCaller

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

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

func NewMultisigclientCaller

func NewMultisigclientCaller(address common.Address, caller bind.ContractCaller) (*MultisigclientCaller, error)

NewMultisigclientCaller creates a new read-only instance of Multisigclient, bound to a specific deployed contract.

func (*MultisigclientCaller) CheckHeaderAndUpdateState

func (_Multisigclient *MultisigclientCaller) CheckHeaderAndUpdateState(opts *bind.CallOpts, host common.Address, clientId string, clientStateBytes []byte, headerBytes []byte) (struct {
	NewClientStateBytes    []byte
	NewConsensusStateBytes []byte
	Height                 uint64
}, error)

CheckHeaderAndUpdateState is a free data retrieval call binding the contract method 0xfe4391fd.

Solidity: function checkHeaderAndUpdateState(address host, string clientId, bytes clientStateBytes, bytes headerBytes) view returns(bytes newClientStateBytes, bytes newConsensusStateBytes, uint64 height)

func (*MultisigclientCaller) GetClientState

func (_Multisigclient *MultisigclientCaller) GetClientState(opts *bind.CallOpts, host common.Address, clientId string) (struct {
	ClientState ClientStateData
	Found       bool
}, error)

GetClientState is a free data retrieval call binding the contract method 0xff33b3e6.

Solidity: function getClientState(address host, string clientId) view returns(((uint64,uint64),(uint64,uint64)) clientState, bool found)

func (*MultisigclientCaller) GetConsensusState

func (_Multisigclient *MultisigclientCaller) GetConsensusState(opts *bind.CallOpts, host common.Address, clientId string, height HeightData) (struct {
	ConsensusState ConsensusStateData
	Found          bool
}, error)

GetConsensusState is a free data retrieval call binding the contract method 0xdd8dd65f.

Solidity: function getConsensusState(address host, string clientId, (uint64,uint64) height) view returns((bytes[],string,uint64) consensusState, bool found)

func (*MultisigclientCaller) GetLatestHeight

func (_Multisigclient *MultisigclientCaller) GetLatestHeight(opts *bind.CallOpts, host common.Address, clientId string) (uint64, bool, error)

GetLatestHeight is a free data retrieval call binding the contract method 0xfe017750.

Solidity: function getLatestHeight(address host, string clientId) view returns(uint64, bool)

func (*MultisigclientCaller) GetTimestampAtHeight

func (_Multisigclient *MultisigclientCaller) GetTimestampAtHeight(opts *bind.CallOpts, host common.Address, clientId string, height uint64) (uint64, bool, error)

GetTimestampAtHeight is a free data retrieval call binding the contract method 0xbd90991a.

Solidity: function getTimestampAtHeight(address host, string clientId, uint64 height) view returns(uint64, bool)

func (*MultisigclientCaller) MakeChannelStateSignBytes

func (_Multisigclient *MultisigclientCaller) MakeChannelStateSignBytes(opts *bind.CallOpts, height uint64, timestamp uint64, diversifier string, portID string, channelID string, channel []byte, prefix []byte) ([]byte, error)

MakeChannelStateSignBytes is a free data retrieval call binding the contract method 0x81b4e822.

Solidity: function makeChannelStateSignBytes(uint64 height, uint64 timestamp, string diversifier, string portID, string channelID, bytes channel, bytes prefix) pure returns(bytes)

func (*MultisigclientCaller) MakeClientStateSignBytes

func (_Multisigclient *MultisigclientCaller) MakeClientStateSignBytes(opts *bind.CallOpts, height uint64, timestamp uint64, diversifier string, clientID string, clientState []byte, prefix []byte) ([]byte, error)

MakeClientStateSignBytes is a free data retrieval call binding the contract method 0x464cb82f.

Solidity: function makeClientStateSignBytes(uint64 height, uint64 timestamp, string diversifier, string clientID, bytes clientState, bytes prefix) pure returns(bytes)

func (*MultisigclientCaller) MakeConnectionStateSignBytes

func (_Multisigclient *MultisigclientCaller) MakeConnectionStateSignBytes(opts *bind.CallOpts, height uint64, timestamp uint64, diversifier string, connectionID string, connection []byte, prefix []byte) ([]byte, error)

MakeConnectionStateSignBytes is a free data retrieval call binding the contract method 0x4438375e.

Solidity: function makeConnectionStateSignBytes(uint64 height, uint64 timestamp, string diversifier, string connectionID, bytes connection, bytes prefix) pure returns(bytes)

func (*MultisigclientCaller) MakeConsensusStateSignBytes

func (_Multisigclient *MultisigclientCaller) MakeConsensusStateSignBytes(opts *bind.CallOpts, height uint64, timestamp uint64, diversifier string, clientID string, consensusHeight uint64, consensusState []byte, prefix []byte) ([]byte, error)

MakeConsensusStateSignBytes is a free data retrieval call binding the contract method 0x4125d9e9.

Solidity: function makeConsensusStateSignBytes(uint64 height, uint64 timestamp, string diversifier, string clientID, uint64 consensusHeight, bytes consensusState, bytes prefix) pure returns(bytes)

func (*MultisigclientCaller) MakePacketAcknowledgementSignBytes

func (_Multisigclient *MultisigclientCaller) MakePacketAcknowledgementSignBytes(opts *bind.CallOpts, height uint64, timestamp uint64, diversifier string, path [32]byte, packetAcknowledgement []byte, prefix []byte) ([]byte, error)

MakePacketAcknowledgementSignBytes is a free data retrieval call binding the contract method 0x0b94538d.

Solidity: function makePacketAcknowledgementSignBytes(uint64 height, uint64 timestamp, string diversifier, bytes32 path, bytes packetAcknowledgement, bytes prefix) pure returns(bytes)

func (*MultisigclientCaller) MakePacketSignBytes

func (_Multisigclient *MultisigclientCaller) MakePacketSignBytes(opts *bind.CallOpts, height uint64, timestamp uint64, diversifier string, path [32]byte, packetCommitment [32]byte, prefix []byte) ([]byte, error)

MakePacketSignBytes is a free data retrieval call binding the contract method 0xfc1b3803.

Solidity: function makePacketSignBytes(uint64 height, uint64 timestamp, string diversifier, bytes32 path, bytes32 packetCommitment, bytes prefix) pure returns(bytes)

func (*MultisigclientCaller) VerifyChannelState

func (_Multisigclient *MultisigclientCaller) VerifyChannelState(opts *bind.CallOpts, host common.Address, clientId string, height uint64, prefix []byte, proof []byte, portId string, channelId string, channelBytes []byte) (bool, error)

VerifyChannelState is a free data retrieval call binding the contract method 0x6455eb57.

Solidity: function verifyChannelState(address host, string clientId, uint64 height, bytes prefix, bytes proof, string portId, string channelId, bytes channelBytes) view returns(bool)

func (*MultisigclientCaller) VerifyClientConsensusState

func (_Multisigclient *MultisigclientCaller) VerifyClientConsensusState(opts *bind.CallOpts, host common.Address, clientId string, height uint64, counterpartyClientIdentifier string, consensusHeight uint64, prefix []byte, proof []byte, consensusStateBytes []byte) (bool, error)

VerifyClientConsensusState is a free data retrieval call binding the contract method 0xeb4561fb.

Solidity: function verifyClientConsensusState(address host, string clientId, uint64 height, string counterpartyClientIdentifier, uint64 consensusHeight, bytes prefix, bytes proof, bytes consensusStateBytes) view returns(bool)

func (*MultisigclientCaller) VerifyClientState

func (_Multisigclient *MultisigclientCaller) VerifyClientState(opts *bind.CallOpts, host common.Address, clientId string, height uint64, prefix []byte, counterpartyClientIdentifier string, proof []byte, clientStateBytes []byte) (bool, error)

VerifyClientState is a free data retrieval call binding the contract method 0xf30fef52.

Solidity: function verifyClientState(address host, string clientId, uint64 height, bytes prefix, string counterpartyClientIdentifier, bytes proof, bytes clientStateBytes) view returns(bool)

func (*MultisigclientCaller) VerifyConnectionState

func (_Multisigclient *MultisigclientCaller) VerifyConnectionState(opts *bind.CallOpts, host common.Address, clientId string, height uint64, prefix []byte, proof []byte, connectionId string, connectionBytes []byte) (bool, error)

VerifyConnectionState is a free data retrieval call binding the contract method 0xd112d0b5.

Solidity: function verifyConnectionState(address host, string clientId, uint64 height, bytes prefix, bytes proof, string connectionId, bytes connectionBytes) view returns(bool)

func (*MultisigclientCaller) VerifyPacketAcknowledgement

func (_Multisigclient *MultisigclientCaller) VerifyPacketAcknowledgement(opts *bind.CallOpts, host common.Address, clientId string, height uint64, prefix []byte, proof []byte, portId string, channelId string, sequence uint64, acknowledgement []byte) (bool, error)

VerifyPacketAcknowledgement is a free data retrieval call binding the contract method 0x63c0d662.

Solidity: function verifyPacketAcknowledgement(address host, string clientId, uint64 height, bytes prefix, bytes proof, string portId, string channelId, uint64 sequence, bytes acknowledgement) view returns(bool)

func (*MultisigclientCaller) VerifyPacketCommitment

func (_Multisigclient *MultisigclientCaller) VerifyPacketCommitment(opts *bind.CallOpts, host common.Address, clientId string, height uint64, prefix []byte, proof []byte, portId string, channelId string, sequence uint64, commitmentBytes [32]byte) (bool, error)

VerifyPacketCommitment is a free data retrieval call binding the contract method 0x08795a2d.

Solidity: function verifyPacketCommitment(address host, string clientId, uint64 height, bytes prefix, bytes proof, string portId, string channelId, uint64 sequence, bytes32 commitmentBytes) view returns(bool)

func (*MultisigclientCaller) VerifySignature

func (_Multisigclient *MultisigclientCaller) VerifySignature(opts *bind.CallOpts, consensusState ConsensusStateData, multisig MultiSignatureData, signBytes []byte) (bool, error)

VerifySignature is a free data retrieval call binding the contract method 0xe332d75c.

Solidity: function verifySignature((bytes[],string,uint64) consensusState, (bytes[],uint64) multisig, bytes signBytes) pure returns(bool)

type MultisigclientCallerRaw

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

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

func (*MultisigclientCallerRaw) Call

func (_Multisigclient *MultisigclientCallerRaw) 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 MultisigclientCallerSession

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

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

func (*MultisigclientCallerSession) CheckHeaderAndUpdateState

func (_Multisigclient *MultisigclientCallerSession) CheckHeaderAndUpdateState(host common.Address, clientId string, clientStateBytes []byte, headerBytes []byte) (struct {
	NewClientStateBytes    []byte
	NewConsensusStateBytes []byte
	Height                 uint64
}, error)

CheckHeaderAndUpdateState is a free data retrieval call binding the contract method 0xfe4391fd.

Solidity: function checkHeaderAndUpdateState(address host, string clientId, bytes clientStateBytes, bytes headerBytes) view returns(bytes newClientStateBytes, bytes newConsensusStateBytes, uint64 height)

func (*MultisigclientCallerSession) GetClientState

func (_Multisigclient *MultisigclientCallerSession) GetClientState(host common.Address, clientId string) (struct {
	ClientState ClientStateData
	Found       bool
}, error)

GetClientState is a free data retrieval call binding the contract method 0xff33b3e6.

Solidity: function getClientState(address host, string clientId) view returns(((uint64,uint64),(uint64,uint64)) clientState, bool found)

func (*MultisigclientCallerSession) GetConsensusState

func (_Multisigclient *MultisigclientCallerSession) GetConsensusState(host common.Address, clientId string, height HeightData) (struct {
	ConsensusState ConsensusStateData
	Found          bool
}, error)

GetConsensusState is a free data retrieval call binding the contract method 0xdd8dd65f.

Solidity: function getConsensusState(address host, string clientId, (uint64,uint64) height) view returns((bytes[],string,uint64) consensusState, bool found)

func (*MultisigclientCallerSession) GetLatestHeight

func (_Multisigclient *MultisigclientCallerSession) GetLatestHeight(host common.Address, clientId string) (uint64, bool, error)

GetLatestHeight is a free data retrieval call binding the contract method 0xfe017750.

Solidity: function getLatestHeight(address host, string clientId) view returns(uint64, bool)

func (*MultisigclientCallerSession) GetTimestampAtHeight

func (_Multisigclient *MultisigclientCallerSession) GetTimestampAtHeight(host common.Address, clientId string, height uint64) (uint64, bool, error)

GetTimestampAtHeight is a free data retrieval call binding the contract method 0xbd90991a.

Solidity: function getTimestampAtHeight(address host, string clientId, uint64 height) view returns(uint64, bool)

func (*MultisigclientCallerSession) MakeChannelStateSignBytes

func (_Multisigclient *MultisigclientCallerSession) MakeChannelStateSignBytes(height uint64, timestamp uint64, diversifier string, portID string, channelID string, channel []byte, prefix []byte) ([]byte, error)

MakeChannelStateSignBytes is a free data retrieval call binding the contract method 0x81b4e822.

Solidity: function makeChannelStateSignBytes(uint64 height, uint64 timestamp, string diversifier, string portID, string channelID, bytes channel, bytes prefix) pure returns(bytes)

func (*MultisigclientCallerSession) MakeClientStateSignBytes

func (_Multisigclient *MultisigclientCallerSession) MakeClientStateSignBytes(height uint64, timestamp uint64, diversifier string, clientID string, clientState []byte, prefix []byte) ([]byte, error)

MakeClientStateSignBytes is a free data retrieval call binding the contract method 0x464cb82f.

Solidity: function makeClientStateSignBytes(uint64 height, uint64 timestamp, string diversifier, string clientID, bytes clientState, bytes prefix) pure returns(bytes)

func (*MultisigclientCallerSession) MakeConnectionStateSignBytes

func (_Multisigclient *MultisigclientCallerSession) MakeConnectionStateSignBytes(height uint64, timestamp uint64, diversifier string, connectionID string, connection []byte, prefix []byte) ([]byte, error)

MakeConnectionStateSignBytes is a free data retrieval call binding the contract method 0x4438375e.

Solidity: function makeConnectionStateSignBytes(uint64 height, uint64 timestamp, string diversifier, string connectionID, bytes connection, bytes prefix) pure returns(bytes)

func (*MultisigclientCallerSession) MakeConsensusStateSignBytes

func (_Multisigclient *MultisigclientCallerSession) MakeConsensusStateSignBytes(height uint64, timestamp uint64, diversifier string, clientID string, consensusHeight uint64, consensusState []byte, prefix []byte) ([]byte, error)

MakeConsensusStateSignBytes is a free data retrieval call binding the contract method 0x4125d9e9.

Solidity: function makeConsensusStateSignBytes(uint64 height, uint64 timestamp, string diversifier, string clientID, uint64 consensusHeight, bytes consensusState, bytes prefix) pure returns(bytes)

func (*MultisigclientCallerSession) MakePacketAcknowledgementSignBytes

func (_Multisigclient *MultisigclientCallerSession) MakePacketAcknowledgementSignBytes(height uint64, timestamp uint64, diversifier string, path [32]byte, packetAcknowledgement []byte, prefix []byte) ([]byte, error)

MakePacketAcknowledgementSignBytes is a free data retrieval call binding the contract method 0x0b94538d.

Solidity: function makePacketAcknowledgementSignBytes(uint64 height, uint64 timestamp, string diversifier, bytes32 path, bytes packetAcknowledgement, bytes prefix) pure returns(bytes)

func (*MultisigclientCallerSession) MakePacketSignBytes

func (_Multisigclient *MultisigclientCallerSession) MakePacketSignBytes(height uint64, timestamp uint64, diversifier string, path [32]byte, packetCommitment [32]byte, prefix []byte) ([]byte, error)

MakePacketSignBytes is a free data retrieval call binding the contract method 0xfc1b3803.

Solidity: function makePacketSignBytes(uint64 height, uint64 timestamp, string diversifier, bytes32 path, bytes32 packetCommitment, bytes prefix) pure returns(bytes)

func (*MultisigclientCallerSession) VerifyChannelState

func (_Multisigclient *MultisigclientCallerSession) VerifyChannelState(host common.Address, clientId string, height uint64, prefix []byte, proof []byte, portId string, channelId string, channelBytes []byte) (bool, error)

VerifyChannelState is a free data retrieval call binding the contract method 0x6455eb57.

Solidity: function verifyChannelState(address host, string clientId, uint64 height, bytes prefix, bytes proof, string portId, string channelId, bytes channelBytes) view returns(bool)

func (*MultisigclientCallerSession) VerifyClientConsensusState

func (_Multisigclient *MultisigclientCallerSession) VerifyClientConsensusState(host common.Address, clientId string, height uint64, counterpartyClientIdentifier string, consensusHeight uint64, prefix []byte, proof []byte, consensusStateBytes []byte) (bool, error)

VerifyClientConsensusState is a free data retrieval call binding the contract method 0xeb4561fb.

Solidity: function verifyClientConsensusState(address host, string clientId, uint64 height, string counterpartyClientIdentifier, uint64 consensusHeight, bytes prefix, bytes proof, bytes consensusStateBytes) view returns(bool)

func (*MultisigclientCallerSession) VerifyClientState

func (_Multisigclient *MultisigclientCallerSession) VerifyClientState(host common.Address, clientId string, height uint64, prefix []byte, counterpartyClientIdentifier string, proof []byte, clientStateBytes []byte) (bool, error)

VerifyClientState is a free data retrieval call binding the contract method 0xf30fef52.

Solidity: function verifyClientState(address host, string clientId, uint64 height, bytes prefix, string counterpartyClientIdentifier, bytes proof, bytes clientStateBytes) view returns(bool)

func (*MultisigclientCallerSession) VerifyConnectionState

func (_Multisigclient *MultisigclientCallerSession) VerifyConnectionState(host common.Address, clientId string, height uint64, prefix []byte, proof []byte, connectionId string, connectionBytes []byte) (bool, error)

VerifyConnectionState is a free data retrieval call binding the contract method 0xd112d0b5.

Solidity: function verifyConnectionState(address host, string clientId, uint64 height, bytes prefix, bytes proof, string connectionId, bytes connectionBytes) view returns(bool)

func (*MultisigclientCallerSession) VerifyPacketAcknowledgement

func (_Multisigclient *MultisigclientCallerSession) VerifyPacketAcknowledgement(host common.Address, clientId string, height uint64, prefix []byte, proof []byte, portId string, channelId string, sequence uint64, acknowledgement []byte) (bool, error)

VerifyPacketAcknowledgement is a free data retrieval call binding the contract method 0x63c0d662.

Solidity: function verifyPacketAcknowledgement(address host, string clientId, uint64 height, bytes prefix, bytes proof, string portId, string channelId, uint64 sequence, bytes acknowledgement) view returns(bool)

func (*MultisigclientCallerSession) VerifyPacketCommitment

func (_Multisigclient *MultisigclientCallerSession) VerifyPacketCommitment(host common.Address, clientId string, height uint64, prefix []byte, proof []byte, portId string, channelId string, sequence uint64, commitmentBytes [32]byte) (bool, error)

VerifyPacketCommitment is a free data retrieval call binding the contract method 0x08795a2d.

Solidity: function verifyPacketCommitment(address host, string clientId, uint64 height, bytes prefix, bytes proof, string portId, string channelId, uint64 sequence, bytes32 commitmentBytes) view returns(bool)

func (*MultisigclientCallerSession) VerifySignature

func (_Multisigclient *MultisigclientCallerSession) VerifySignature(consensusState ConsensusStateData, multisig MultiSignatureData, signBytes []byte) (bool, error)

VerifySignature is a free data retrieval call binding the contract method 0xe332d75c.

Solidity: function verifySignature((bytes[],string,uint64) consensusState, (bytes[],uint64) multisig, bytes signBytes) pure returns(bool)

type MultisigclientFilterer

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

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

func NewMultisigclientFilterer

func NewMultisigclientFilterer(address common.Address, filterer bind.ContractFilterer) (*MultisigclientFilterer, error)

NewMultisigclientFilterer creates a new log filterer instance of Multisigclient, bound to a specific deployed contract.

type MultisigclientRaw

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

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

func (*MultisigclientRaw) Call

func (_Multisigclient *MultisigclientRaw) 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 (*MultisigclientRaw) Transact

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

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

func (*MultisigclientRaw) Transfer

func (_Multisigclient *MultisigclientRaw) 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 MultisigclientSession

type MultisigclientSession struct {
	Contract     *Multisigclient   // 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
}

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

func (*MultisigclientSession) CheckHeaderAndUpdateState

func (_Multisigclient *MultisigclientSession) CheckHeaderAndUpdateState(host common.Address, clientId string, clientStateBytes []byte, headerBytes []byte) (struct {
	NewClientStateBytes    []byte
	NewConsensusStateBytes []byte
	Height                 uint64
}, error)

CheckHeaderAndUpdateState is a free data retrieval call binding the contract method 0xfe4391fd.

Solidity: function checkHeaderAndUpdateState(address host, string clientId, bytes clientStateBytes, bytes headerBytes) view returns(bytes newClientStateBytes, bytes newConsensusStateBytes, uint64 height)

func (*MultisigclientSession) GetClientState

func (_Multisigclient *MultisigclientSession) GetClientState(host common.Address, clientId string) (struct {
	ClientState ClientStateData
	Found       bool
}, error)

GetClientState is a free data retrieval call binding the contract method 0xff33b3e6.

Solidity: function getClientState(address host, string clientId) view returns(((uint64,uint64),(uint64,uint64)) clientState, bool found)

func (*MultisigclientSession) GetConsensusState

func (_Multisigclient *MultisigclientSession) GetConsensusState(host common.Address, clientId string, height HeightData) (struct {
	ConsensusState ConsensusStateData
	Found          bool
}, error)

GetConsensusState is a free data retrieval call binding the contract method 0xdd8dd65f.

Solidity: function getConsensusState(address host, string clientId, (uint64,uint64) height) view returns((bytes[],string,uint64) consensusState, bool found)

func (*MultisigclientSession) GetLatestHeight

func (_Multisigclient *MultisigclientSession) GetLatestHeight(host common.Address, clientId string) (uint64, bool, error)

GetLatestHeight is a free data retrieval call binding the contract method 0xfe017750.

Solidity: function getLatestHeight(address host, string clientId) view returns(uint64, bool)

func (*MultisigclientSession) GetTimestampAtHeight

func (_Multisigclient *MultisigclientSession) GetTimestampAtHeight(host common.Address, clientId string, height uint64) (uint64, bool, error)

GetTimestampAtHeight is a free data retrieval call binding the contract method 0xbd90991a.

Solidity: function getTimestampAtHeight(address host, string clientId, uint64 height) view returns(uint64, bool)

func (*MultisigclientSession) MakeChannelStateSignBytes

func (_Multisigclient *MultisigclientSession) MakeChannelStateSignBytes(height uint64, timestamp uint64, diversifier string, portID string, channelID string, channel []byte, prefix []byte) ([]byte, error)

MakeChannelStateSignBytes is a free data retrieval call binding the contract method 0x81b4e822.

Solidity: function makeChannelStateSignBytes(uint64 height, uint64 timestamp, string diversifier, string portID, string channelID, bytes channel, bytes prefix) pure returns(bytes)

func (*MultisigclientSession) MakeClientStateSignBytes

func (_Multisigclient *MultisigclientSession) MakeClientStateSignBytes(height uint64, timestamp uint64, diversifier string, clientID string, clientState []byte, prefix []byte) ([]byte, error)

MakeClientStateSignBytes is a free data retrieval call binding the contract method 0x464cb82f.

Solidity: function makeClientStateSignBytes(uint64 height, uint64 timestamp, string diversifier, string clientID, bytes clientState, bytes prefix) pure returns(bytes)

func (*MultisigclientSession) MakeConnectionStateSignBytes

func (_Multisigclient *MultisigclientSession) MakeConnectionStateSignBytes(height uint64, timestamp uint64, diversifier string, connectionID string, connection []byte, prefix []byte) ([]byte, error)

MakeConnectionStateSignBytes is a free data retrieval call binding the contract method 0x4438375e.

Solidity: function makeConnectionStateSignBytes(uint64 height, uint64 timestamp, string diversifier, string connectionID, bytes connection, bytes prefix) pure returns(bytes)

func (*MultisigclientSession) MakeConsensusStateSignBytes

func (_Multisigclient *MultisigclientSession) MakeConsensusStateSignBytes(height uint64, timestamp uint64, diversifier string, clientID string, consensusHeight uint64, consensusState []byte, prefix []byte) ([]byte, error)

MakeConsensusStateSignBytes is a free data retrieval call binding the contract method 0x4125d9e9.

Solidity: function makeConsensusStateSignBytes(uint64 height, uint64 timestamp, string diversifier, string clientID, uint64 consensusHeight, bytes consensusState, bytes prefix) pure returns(bytes)

func (*MultisigclientSession) MakePacketAcknowledgementSignBytes

func (_Multisigclient *MultisigclientSession) MakePacketAcknowledgementSignBytes(height uint64, timestamp uint64, diversifier string, path [32]byte, packetAcknowledgement []byte, prefix []byte) ([]byte, error)

MakePacketAcknowledgementSignBytes is a free data retrieval call binding the contract method 0x0b94538d.

Solidity: function makePacketAcknowledgementSignBytes(uint64 height, uint64 timestamp, string diversifier, bytes32 path, bytes packetAcknowledgement, bytes prefix) pure returns(bytes)

func (*MultisigclientSession) MakePacketSignBytes

func (_Multisigclient *MultisigclientSession) MakePacketSignBytes(height uint64, timestamp uint64, diversifier string, path [32]byte, packetCommitment [32]byte, prefix []byte) ([]byte, error)

MakePacketSignBytes is a free data retrieval call binding the contract method 0xfc1b3803.

Solidity: function makePacketSignBytes(uint64 height, uint64 timestamp, string diversifier, bytes32 path, bytes32 packetCommitment, bytes prefix) pure returns(bytes)

func (*MultisigclientSession) VerifyChannelState

func (_Multisigclient *MultisigclientSession) VerifyChannelState(host common.Address, clientId string, height uint64, prefix []byte, proof []byte, portId string, channelId string, channelBytes []byte) (bool, error)

VerifyChannelState is a free data retrieval call binding the contract method 0x6455eb57.

Solidity: function verifyChannelState(address host, string clientId, uint64 height, bytes prefix, bytes proof, string portId, string channelId, bytes channelBytes) view returns(bool)

func (*MultisigclientSession) VerifyClientConsensusState

func (_Multisigclient *MultisigclientSession) VerifyClientConsensusState(host common.Address, clientId string, height uint64, counterpartyClientIdentifier string, consensusHeight uint64, prefix []byte, proof []byte, consensusStateBytes []byte) (bool, error)

VerifyClientConsensusState is a free data retrieval call binding the contract method 0xeb4561fb.

Solidity: function verifyClientConsensusState(address host, string clientId, uint64 height, string counterpartyClientIdentifier, uint64 consensusHeight, bytes prefix, bytes proof, bytes consensusStateBytes) view returns(bool)

func (*MultisigclientSession) VerifyClientState

func (_Multisigclient *MultisigclientSession) VerifyClientState(host common.Address, clientId string, height uint64, prefix []byte, counterpartyClientIdentifier string, proof []byte, clientStateBytes []byte) (bool, error)

VerifyClientState is a free data retrieval call binding the contract method 0xf30fef52.

Solidity: function verifyClientState(address host, string clientId, uint64 height, bytes prefix, string counterpartyClientIdentifier, bytes proof, bytes clientStateBytes) view returns(bool)

func (*MultisigclientSession) VerifyConnectionState

func (_Multisigclient *MultisigclientSession) VerifyConnectionState(host common.Address, clientId string, height uint64, prefix []byte, proof []byte, connectionId string, connectionBytes []byte) (bool, error)

VerifyConnectionState is a free data retrieval call binding the contract method 0xd112d0b5.

Solidity: function verifyConnectionState(address host, string clientId, uint64 height, bytes prefix, bytes proof, string connectionId, bytes connectionBytes) view returns(bool)

func (*MultisigclientSession) VerifyPacketAcknowledgement

func (_Multisigclient *MultisigclientSession) VerifyPacketAcknowledgement(host common.Address, clientId string, height uint64, prefix []byte, proof []byte, portId string, channelId string, sequence uint64, acknowledgement []byte) (bool, error)

VerifyPacketAcknowledgement is a free data retrieval call binding the contract method 0x63c0d662.

Solidity: function verifyPacketAcknowledgement(address host, string clientId, uint64 height, bytes prefix, bytes proof, string portId, string channelId, uint64 sequence, bytes acknowledgement) view returns(bool)

func (*MultisigclientSession) VerifyPacketCommitment

func (_Multisigclient *MultisigclientSession) VerifyPacketCommitment(host common.Address, clientId string, height uint64, prefix []byte, proof []byte, portId string, channelId string, sequence uint64, commitmentBytes [32]byte) (bool, error)

VerifyPacketCommitment is a free data retrieval call binding the contract method 0x08795a2d.

Solidity: function verifyPacketCommitment(address host, string clientId, uint64 height, bytes prefix, bytes proof, string portId, string channelId, uint64 sequence, bytes32 commitmentBytes) view returns(bool)

func (*MultisigclientSession) VerifySignature

func (_Multisigclient *MultisigclientSession) VerifySignature(consensusState ConsensusStateData, multisig MultiSignatureData, signBytes []byte) (bool, error)

VerifySignature is a free data retrieval call binding the contract method 0xe332d75c.

Solidity: function verifySignature((bytes[],string,uint64) consensusState, (bytes[],uint64) multisig, bytes signBytes) pure returns(bool)

type MultisigclientTransactor

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

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

func NewMultisigclientTransactor

func NewMultisigclientTransactor(address common.Address, transactor bind.ContractTransactor) (*MultisigclientTransactor, error)

NewMultisigclientTransactor creates a new write-only instance of Multisigclient, bound to a specific deployed contract.

type MultisigclientTransactorRaw

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

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

func (*MultisigclientTransactorRaw) Transact

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

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

func (*MultisigclientTransactorRaw) Transfer

func (_Multisigclient *MultisigclientTransactorRaw) 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 MultisigclientTransactorSession

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

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

Jump to

Keyboard shortcuts

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