tendermintlightclient

package
v1.1.1 Latest Latest
Warning

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

Go to latest
Published: Apr 17, 2023 License: LGPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const TendermintlightclientABI = "" /* 5547-byte string literal not displayed */

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

Variables

This section is empty.

Functions

This section is empty.

Types

type Tendermintlightclient

type Tendermintlightclient struct {
	TendermintlightclientCaller     // Read-only binding to the contract
	TendermintlightclientTransactor // Write-only binding to the contract
	TendermintlightclientFilterer   // Log filterer for contract events
}

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

func NewTendermintlightclient

func NewTendermintlightclient(address common.Address, backend bind.ContractBackend) (*Tendermintlightclient, error)

NewTendermintlightclient creates a new instance of Tendermintlightclient, bound to a specific deployed contract.

type TendermintlightclientCaller

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

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

func NewTendermintlightclientCaller

func NewTendermintlightclientCaller(address common.Address, caller bind.ContractCaller) (*TendermintlightclientCaller, error)

NewTendermintlightclientCaller creates a new read-only instance of Tendermintlightclient, bound to a specific deployed contract.

func (*TendermintlightclientCaller) AlreadyInit

func (_Tendermintlightclient *TendermintlightclientCaller) AlreadyInit(opts *bind.CallOpts) (bool, error)

AlreadyInit is a free data retrieval call binding the contract method 0x6547bb06.

Solidity: function _alreadyInit() constant returns(bool)

func (*TendermintlightclientCaller) BBCLightClientConsensusState

func (_Tendermintlightclient *TendermintlightclientCaller) BBCLightClientConsensusState(opts *bind.CallOpts, arg0 uint64) (struct {
	PreValidatorSetChangeHeight uint64
	AppHash                     [32]byte
	CurValidatorSetHash         [32]byte
	NextValidatorSet            []byte
}, error)

BBCLightClientConsensusState is a free data retrieval call binding the contract method 0xa9bfd0f1.

Solidity: function _BBCLightClientConsensusState(uint64 ) constant returns(uint64 preValidatorSetChangeHeight, bytes32 appHash, bytes32 curValidatorSetHash, bytes nextValidatorSet)

func (*TendermintlightclientCaller) ChainID

func (_Tendermintlightclient *TendermintlightclientCaller) ChainID(opts *bind.CallOpts) ([32]byte, error)

ChainID is a free data retrieval call binding the contract method 0xbeab7131.

Solidity: function _chainID() constant returns(bytes32)

func (*TendermintlightclientCaller) GOVHUBADDR

func (_Tendermintlightclient *TendermintlightclientCaller) GOVHUBADDR(opts *bind.CallOpts) (common.Address, error)

GOVHUBADDR is a free data retrieval call binding the contract method 0x9dc09262.

Solidity: function GOV_HUB_ADDR() constant returns(address)

func (*TendermintlightclientCaller) GetAppHash

func (_Tendermintlightclient *TendermintlightclientCaller) GetAppHash(opts *bind.CallOpts, height uint64) ([32]byte, error)

GetAppHash is a free data retrieval call binding the contract method 0xcba510a9.

Solidity: function getAppHash(uint64 height) constant returns(bytes32)

func (*TendermintlightclientCaller) GetChainID

func (_Tendermintlightclient *TendermintlightclientCaller) GetChainID(opts *bind.CallOpts) (string, error)

GetChainID is a free data retrieval call binding the contract method 0x564b81ef.

Solidity: function getChainID() constant returns(string)

func (*TendermintlightclientCaller) GetSubmitter

func (_Tendermintlightclient *TendermintlightclientCaller) GetSubmitter(opts *bind.CallOpts, height uint64) (common.Address, error)

GetSubmitter is a free data retrieval call binding the contract method 0xdda83148.

Solidity: function getSubmitter(uint64 height) constant returns(address)

func (*TendermintlightclientCaller) INCENTIVIZEADDR

func (_Tendermintlightclient *TendermintlightclientCaller) INCENTIVIZEADDR(opts *bind.CallOpts) (common.Address, error)

INCENTIVIZEADDR is a free data retrieval call binding the contract method 0x6e47b482.

Solidity: function INCENTIVIZE_ADDR() constant returns(address)

func (*TendermintlightclientCaller) INITCONSENSUSSTATEBYTES

func (_Tendermintlightclient *TendermintlightclientCaller) INITCONSENSUSSTATEBYTES(opts *bind.CallOpts) ([]byte, error)

INITCONSENSUSSTATEBYTES is a free data retrieval call binding the contract method 0xea54b2aa.

Solidity: function INIT_CONSENSUS_STATE_BYTES() constant returns(bytes)

func (*TendermintlightclientCaller) InitialHeight

func (_Tendermintlightclient *TendermintlightclientCaller) InitialHeight(opts *bind.CallOpts) (uint64, error)

InitialHeight is a free data retrieval call binding the contract method 0x3ae6005d.

Solidity: function _initialHeight() constant returns(uint64)

func (*TendermintlightclientCaller) IsHeaderSynced

func (_Tendermintlightclient *TendermintlightclientCaller) IsHeaderSynced(opts *bind.CallOpts, height uint64) (bool, error)

IsHeaderSynced is a free data retrieval call binding the contract method 0xdf5fe704.

Solidity: function isHeaderSynced(uint64 height) constant returns(bool)

func (*TendermintlightclientCaller) LIGHTCLIENTADDR

func (_Tendermintlightclient *TendermintlightclientCaller) LIGHTCLIENTADDR(opts *bind.CallOpts) (common.Address, error)

LIGHTCLIENTADDR is a free data retrieval call binding the contract method 0xdc927faf.

Solidity: function LIGHT_CLIENT_ADDR() constant returns(address)

func (*TendermintlightclientCaller) LatestHeight

func (_Tendermintlightclient *TendermintlightclientCaller) LatestHeight(opts *bind.CallOpts) (uint64, error)

LatestHeight is a free data retrieval call binding the contract method 0x7945c2f3.

Solidity: function latestHeight() constant returns(uint64)

func (*TendermintlightclientCaller) RELAYERHUBCONTRACTADDR

func (_Tendermintlightclient *TendermintlightclientCaller) RELAYERHUBCONTRACTADDR(opts *bind.CallOpts) (common.Address, error)

RELAYERHUBCONTRACTADDR is a free data retrieval call binding the contract method 0xa1a11bf5.

Solidity: function RELAYERHUB_CONTRACT_ADDR() constant returns(address)

func (*TendermintlightclientCaller) RELAYERREWARD

func (_Tendermintlightclient *TendermintlightclientCaller) RELAYERREWARD(opts *bind.CallOpts) (*big.Int, error)

RELAYERREWARD is a free data retrieval call binding the contract method 0x75405d0d.

Solidity: function RELAYER_REWARD() constant returns(uint256)

func (*TendermintlightclientCaller) RewardForValidatorSetChange

func (_Tendermintlightclient *TendermintlightclientCaller) RewardForValidatorSetChange(opts *bind.CallOpts) (*big.Int, error)

RewardForValidatorSetChange is a free data retrieval call binding the contract method 0x33f7798d.

Solidity: function rewardForValidatorSetChange() constant returns(uint256)

func (*TendermintlightclientCaller) SLASHCONTRACTADDR

func (_Tendermintlightclient *TendermintlightclientCaller) SLASHCONTRACTADDR(opts *bind.CallOpts) (common.Address, error)

SLASHCONTRACTADDR is a free data retrieval call binding the contract method 0x43756e5c.

Solidity: function SLASH_CONTRACT_ADDR() constant returns(address)

func (*TendermintlightclientCaller) SYSTEMREWARDADDR

func (_Tendermintlightclient *TendermintlightclientCaller) SYSTEMREWARDADDR(opts *bind.CallOpts) (common.Address, error)

SYSTEMREWARDADDR is a free data retrieval call binding the contract method 0xc81b1662.

Solidity: function SYSTEM_REWARD_ADDR() constant returns(address)

func (*TendermintlightclientCaller) Submitters

func (_Tendermintlightclient *TendermintlightclientCaller) Submitters(opts *bind.CallOpts, arg0 uint64) (common.Address, error)

Submitters is a free data retrieval call binding the contract method 0xbc53477e.

Solidity: function _submitters(uint64 ) constant returns(address)

func (*TendermintlightclientCaller) TOKENHUBADDR

func (_Tendermintlightclient *TendermintlightclientCaller) TOKENHUBADDR(opts *bind.CallOpts) (common.Address, error)

TOKENHUBADDR is a free data retrieval call binding the contract method 0xfd6a6879.

Solidity: function TOKEN_HUB_ADDR() constant returns(address)

func (*TendermintlightclientCaller) VALIDATORCONTRACTADDR

func (_Tendermintlightclient *TendermintlightclientCaller) VALIDATORCONTRACTADDR(opts *bind.CallOpts) (common.Address, error)

VALIDATORCONTRACTADDR is a free data retrieval call binding the contract method 0xf9a2bbc7.

Solidity: function VALIDATOR_CONTRACT_ADDR() constant returns(address)

type TendermintlightclientCallerRaw

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

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

func (*TendermintlightclientCallerRaw) Call

func (_Tendermintlightclient *TendermintlightclientCallerRaw) 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 TendermintlightclientCallerSession

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

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

func (*TendermintlightclientCallerSession) AlreadyInit

func (_Tendermintlightclient *TendermintlightclientCallerSession) AlreadyInit() (bool, error)

AlreadyInit is a free data retrieval call binding the contract method 0x6547bb06.

Solidity: function _alreadyInit() constant returns(bool)

func (*TendermintlightclientCallerSession) BBCLightClientConsensusState

func (_Tendermintlightclient *TendermintlightclientCallerSession) BBCLightClientConsensusState(arg0 uint64) (struct {
	PreValidatorSetChangeHeight uint64
	AppHash                     [32]byte
	CurValidatorSetHash         [32]byte
	NextValidatorSet            []byte
}, error)

BBCLightClientConsensusState is a free data retrieval call binding the contract method 0xa9bfd0f1.

Solidity: function _BBCLightClientConsensusState(uint64 ) constant returns(uint64 preValidatorSetChangeHeight, bytes32 appHash, bytes32 curValidatorSetHash, bytes nextValidatorSet)

func (*TendermintlightclientCallerSession) ChainID

func (_Tendermintlightclient *TendermintlightclientCallerSession) ChainID() ([32]byte, error)

ChainID is a free data retrieval call binding the contract method 0xbeab7131.

Solidity: function _chainID() constant returns(bytes32)

func (*TendermintlightclientCallerSession) GOVHUBADDR

func (_Tendermintlightclient *TendermintlightclientCallerSession) GOVHUBADDR() (common.Address, error)

GOVHUBADDR is a free data retrieval call binding the contract method 0x9dc09262.

Solidity: function GOV_HUB_ADDR() constant returns(address)

func (*TendermintlightclientCallerSession) GetAppHash

func (_Tendermintlightclient *TendermintlightclientCallerSession) GetAppHash(height uint64) ([32]byte, error)

GetAppHash is a free data retrieval call binding the contract method 0xcba510a9.

Solidity: function getAppHash(uint64 height) constant returns(bytes32)

func (*TendermintlightclientCallerSession) GetChainID

func (_Tendermintlightclient *TendermintlightclientCallerSession) GetChainID() (string, error)

GetChainID is a free data retrieval call binding the contract method 0x564b81ef.

Solidity: function getChainID() constant returns(string)

func (*TendermintlightclientCallerSession) GetSubmitter

func (_Tendermintlightclient *TendermintlightclientCallerSession) GetSubmitter(height uint64) (common.Address, error)

GetSubmitter is a free data retrieval call binding the contract method 0xdda83148.

Solidity: function getSubmitter(uint64 height) constant returns(address)

func (*TendermintlightclientCallerSession) INCENTIVIZEADDR

func (_Tendermintlightclient *TendermintlightclientCallerSession) INCENTIVIZEADDR() (common.Address, error)

INCENTIVIZEADDR is a free data retrieval call binding the contract method 0x6e47b482.

Solidity: function INCENTIVIZE_ADDR() constant returns(address)

func (*TendermintlightclientCallerSession) INITCONSENSUSSTATEBYTES

func (_Tendermintlightclient *TendermintlightclientCallerSession) INITCONSENSUSSTATEBYTES() ([]byte, error)

INITCONSENSUSSTATEBYTES is a free data retrieval call binding the contract method 0xea54b2aa.

Solidity: function INIT_CONSENSUS_STATE_BYTES() constant returns(bytes)

func (*TendermintlightclientCallerSession) InitialHeight

func (_Tendermintlightclient *TendermintlightclientCallerSession) InitialHeight() (uint64, error)

InitialHeight is a free data retrieval call binding the contract method 0x3ae6005d.

Solidity: function _initialHeight() constant returns(uint64)

func (*TendermintlightclientCallerSession) IsHeaderSynced

func (_Tendermintlightclient *TendermintlightclientCallerSession) IsHeaderSynced(height uint64) (bool, error)

IsHeaderSynced is a free data retrieval call binding the contract method 0xdf5fe704.

Solidity: function isHeaderSynced(uint64 height) constant returns(bool)

func (*TendermintlightclientCallerSession) LIGHTCLIENTADDR

func (_Tendermintlightclient *TendermintlightclientCallerSession) LIGHTCLIENTADDR() (common.Address, error)

LIGHTCLIENTADDR is a free data retrieval call binding the contract method 0xdc927faf.

Solidity: function LIGHT_CLIENT_ADDR() constant returns(address)

func (*TendermintlightclientCallerSession) LatestHeight

func (_Tendermintlightclient *TendermintlightclientCallerSession) LatestHeight() (uint64, error)

LatestHeight is a free data retrieval call binding the contract method 0x7945c2f3.

Solidity: function latestHeight() constant returns(uint64)

func (*TendermintlightclientCallerSession) RELAYERHUBCONTRACTADDR

func (_Tendermintlightclient *TendermintlightclientCallerSession) RELAYERHUBCONTRACTADDR() (common.Address, error)

RELAYERHUBCONTRACTADDR is a free data retrieval call binding the contract method 0xa1a11bf5.

Solidity: function RELAYERHUB_CONTRACT_ADDR() constant returns(address)

func (*TendermintlightclientCallerSession) RELAYERREWARD

func (_Tendermintlightclient *TendermintlightclientCallerSession) RELAYERREWARD() (*big.Int, error)

RELAYERREWARD is a free data retrieval call binding the contract method 0x75405d0d.

Solidity: function RELAYER_REWARD() constant returns(uint256)

func (*TendermintlightclientCallerSession) RewardForValidatorSetChange

func (_Tendermintlightclient *TendermintlightclientCallerSession) RewardForValidatorSetChange() (*big.Int, error)

RewardForValidatorSetChange is a free data retrieval call binding the contract method 0x33f7798d.

Solidity: function rewardForValidatorSetChange() constant returns(uint256)

func (*TendermintlightclientCallerSession) SLASHCONTRACTADDR

func (_Tendermintlightclient *TendermintlightclientCallerSession) SLASHCONTRACTADDR() (common.Address, error)

SLASHCONTRACTADDR is a free data retrieval call binding the contract method 0x43756e5c.

Solidity: function SLASH_CONTRACT_ADDR() constant returns(address)

func (*TendermintlightclientCallerSession) SYSTEMREWARDADDR

func (_Tendermintlightclient *TendermintlightclientCallerSession) SYSTEMREWARDADDR() (common.Address, error)

SYSTEMREWARDADDR is a free data retrieval call binding the contract method 0xc81b1662.

Solidity: function SYSTEM_REWARD_ADDR() constant returns(address)

func (*TendermintlightclientCallerSession) Submitters

func (_Tendermintlightclient *TendermintlightclientCallerSession) Submitters(arg0 uint64) (common.Address, error)

Submitters is a free data retrieval call binding the contract method 0xbc53477e.

Solidity: function _submitters(uint64 ) constant returns(address)

func (*TendermintlightclientCallerSession) TOKENHUBADDR

func (_Tendermintlightclient *TendermintlightclientCallerSession) TOKENHUBADDR() (common.Address, error)

TOKENHUBADDR is a free data retrieval call binding the contract method 0xfd6a6879.

Solidity: function TOKEN_HUB_ADDR() constant returns(address)

func (*TendermintlightclientCallerSession) VALIDATORCONTRACTADDR

func (_Tendermintlightclient *TendermintlightclientCallerSession) VALIDATORCONTRACTADDR() (common.Address, error)

VALIDATORCONTRACTADDR is a free data retrieval call binding the contract method 0xf9a2bbc7.

Solidity: function VALIDATOR_CONTRACT_ADDR() constant returns(address)

type TendermintlightclientFilterer

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

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

func NewTendermintlightclientFilterer

func NewTendermintlightclientFilterer(address common.Address, filterer bind.ContractFilterer) (*TendermintlightclientFilterer, error)

NewTendermintlightclientFilterer creates a new log filterer instance of Tendermintlightclient, bound to a specific deployed contract.

func (*TendermintlightclientFilterer) FilterInitConsensusState

func (_Tendermintlightclient *TendermintlightclientFilterer) FilterInitConsensusState(opts *bind.FilterOpts) (*TendermintlightclientInitConsensusStateIterator, error)

FilterInitConsensusState is a free log retrieval operation binding the contract event 0x6d0670f0a020e865a8cacaeeb070b48d5522fd0f687bcbb111a1d6c9b6ae66ab.

Solidity: event InitConsensusState(uint64 initHeight, bytes32 appHash)

func (*TendermintlightclientFilterer) FilterSyncConsensusState

func (_Tendermintlightclient *TendermintlightclientFilterer) FilterSyncConsensusState(opts *bind.FilterOpts) (*TendermintlightclientSyncConsensusStateIterator, error)

FilterSyncConsensusState is a free log retrieval operation binding the contract event 0x2641c9932368bef6eec1f666e32e7cba680c3e4c6e158a449d1f2601ad47926e.

Solidity: event SyncConsensusState(uint64 height, uint64 preValidatorSetChangeHeight, bytes32 appHash, bool validatorChanged)

func (*TendermintlightclientFilterer) ParseInitConsensusState

func (_Tendermintlightclient *TendermintlightclientFilterer) ParseInitConsensusState(log types.Log) (*TendermintlightclientInitConsensusState, error)

ParseInitConsensusState is a log parse operation binding the contract event 0x6d0670f0a020e865a8cacaeeb070b48d5522fd0f687bcbb111a1d6c9b6ae66ab.

Solidity: event InitConsensusState(uint64 initHeight, bytes32 appHash)

func (*TendermintlightclientFilterer) ParseSyncConsensusState

func (_Tendermintlightclient *TendermintlightclientFilterer) ParseSyncConsensusState(log types.Log) (*TendermintlightclientSyncConsensusState, error)

ParseSyncConsensusState is a log parse operation binding the contract event 0x2641c9932368bef6eec1f666e32e7cba680c3e4c6e158a449d1f2601ad47926e.

Solidity: event SyncConsensusState(uint64 height, uint64 preValidatorSetChangeHeight, bytes32 appHash, bool validatorChanged)

func (*TendermintlightclientFilterer) WatchInitConsensusState

func (_Tendermintlightclient *TendermintlightclientFilterer) WatchInitConsensusState(opts *bind.WatchOpts, sink chan<- *TendermintlightclientInitConsensusState) (event.Subscription, error)

WatchInitConsensusState is a free log subscription operation binding the contract event 0x6d0670f0a020e865a8cacaeeb070b48d5522fd0f687bcbb111a1d6c9b6ae66ab.

Solidity: event InitConsensusState(uint64 initHeight, bytes32 appHash)

func (*TendermintlightclientFilterer) WatchSyncConsensusState

func (_Tendermintlightclient *TendermintlightclientFilterer) WatchSyncConsensusState(opts *bind.WatchOpts, sink chan<- *TendermintlightclientSyncConsensusState) (event.Subscription, error)

WatchSyncConsensusState is a free log subscription operation binding the contract event 0x2641c9932368bef6eec1f666e32e7cba680c3e4c6e158a449d1f2601ad47926e.

Solidity: event SyncConsensusState(uint64 height, uint64 preValidatorSetChangeHeight, bytes32 appHash, bool validatorChanged)

type TendermintlightclientInitConsensusState

type TendermintlightclientInitConsensusState struct {
	InitHeight uint64
	AppHash    [32]byte
	Raw        types.Log // Blockchain specific contextual infos
}

TendermintlightclientInitConsensusState represents a InitConsensusState event raised by the Tendermintlightclient contract.

type TendermintlightclientInitConsensusStateIterator

type TendermintlightclientInitConsensusStateIterator struct {
	Event *TendermintlightclientInitConsensusState // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

TendermintlightclientInitConsensusStateIterator is returned from FilterInitConsensusState and is used to iterate over the raw logs and unpacked data for InitConsensusState events raised by the Tendermintlightclient contract.

func (*TendermintlightclientInitConsensusStateIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*TendermintlightclientInitConsensusStateIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*TendermintlightclientInitConsensusStateIterator) Next

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 TendermintlightclientRaw

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

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

func (*TendermintlightclientRaw) Call

func (_Tendermintlightclient *TendermintlightclientRaw) 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 (*TendermintlightclientRaw) Transact

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

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

func (*TendermintlightclientRaw) Transfer

func (_Tendermintlightclient *TendermintlightclientRaw) 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 TendermintlightclientSession

type TendermintlightclientSession struct {
	Contract     *Tendermintlightclient // 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
}

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

func (*TendermintlightclientSession) AlreadyInit

func (_Tendermintlightclient *TendermintlightclientSession) AlreadyInit() (bool, error)

AlreadyInit is a free data retrieval call binding the contract method 0x6547bb06.

Solidity: function _alreadyInit() constant returns(bool)

func (*TendermintlightclientSession) BBCLightClientConsensusState

func (_Tendermintlightclient *TendermintlightclientSession) BBCLightClientConsensusState(arg0 uint64) (struct {
	PreValidatorSetChangeHeight uint64
	AppHash                     [32]byte
	CurValidatorSetHash         [32]byte
	NextValidatorSet            []byte
}, error)

BBCLightClientConsensusState is a free data retrieval call binding the contract method 0xa9bfd0f1.

Solidity: function _BBCLightClientConsensusState(uint64 ) constant returns(uint64 preValidatorSetChangeHeight, bytes32 appHash, bytes32 curValidatorSetHash, bytes nextValidatorSet)

func (*TendermintlightclientSession) ChainID

func (_Tendermintlightclient *TendermintlightclientSession) ChainID() ([32]byte, error)

ChainID is a free data retrieval call binding the contract method 0xbeab7131.

Solidity: function _chainID() constant returns(bytes32)

func (*TendermintlightclientSession) GOVHUBADDR

func (_Tendermintlightclient *TendermintlightclientSession) GOVHUBADDR() (common.Address, error)

GOVHUBADDR is a free data retrieval call binding the contract method 0x9dc09262.

Solidity: function GOV_HUB_ADDR() constant returns(address)

func (*TendermintlightclientSession) GetAppHash

func (_Tendermintlightclient *TendermintlightclientSession) GetAppHash(height uint64) ([32]byte, error)

GetAppHash is a free data retrieval call binding the contract method 0xcba510a9.

Solidity: function getAppHash(uint64 height) constant returns(bytes32)

func (*TendermintlightclientSession) GetChainID

func (_Tendermintlightclient *TendermintlightclientSession) GetChainID() (string, error)

GetChainID is a free data retrieval call binding the contract method 0x564b81ef.

Solidity: function getChainID() constant returns(string)

func (*TendermintlightclientSession) GetSubmitter

func (_Tendermintlightclient *TendermintlightclientSession) GetSubmitter(height uint64) (common.Address, error)

GetSubmitter is a free data retrieval call binding the contract method 0xdda83148.

Solidity: function getSubmitter(uint64 height) constant returns(address)

func (*TendermintlightclientSession) INCENTIVIZEADDR

func (_Tendermintlightclient *TendermintlightclientSession) INCENTIVIZEADDR() (common.Address, error)

INCENTIVIZEADDR is a free data retrieval call binding the contract method 0x6e47b482.

Solidity: function INCENTIVIZE_ADDR() constant returns(address)

func (*TendermintlightclientSession) INITCONSENSUSSTATEBYTES

func (_Tendermintlightclient *TendermintlightclientSession) INITCONSENSUSSTATEBYTES() ([]byte, error)

INITCONSENSUSSTATEBYTES is a free data retrieval call binding the contract method 0xea54b2aa.

Solidity: function INIT_CONSENSUS_STATE_BYTES() constant returns(bytes)

func (*TendermintlightclientSession) Init

func (_Tendermintlightclient *TendermintlightclientSession) Init() (*types.Transaction, error)

Init is a paid mutator transaction binding the contract method 0xe1c7392a.

Solidity: function init() returns()

func (*TendermintlightclientSession) InitialHeight

func (_Tendermintlightclient *TendermintlightclientSession) InitialHeight() (uint64, error)

InitialHeight is a free data retrieval call binding the contract method 0x3ae6005d.

Solidity: function _initialHeight() constant returns(uint64)

func (*TendermintlightclientSession) IsHeaderSynced

func (_Tendermintlightclient *TendermintlightclientSession) IsHeaderSynced(height uint64) (bool, error)

IsHeaderSynced is a free data retrieval call binding the contract method 0xdf5fe704.

Solidity: function isHeaderSynced(uint64 height) constant returns(bool)

func (*TendermintlightclientSession) LIGHTCLIENTADDR

func (_Tendermintlightclient *TendermintlightclientSession) LIGHTCLIENTADDR() (common.Address, error)

LIGHTCLIENTADDR is a free data retrieval call binding the contract method 0xdc927faf.

Solidity: function LIGHT_CLIENT_ADDR() constant returns(address)

func (*TendermintlightclientSession) LatestHeight

func (_Tendermintlightclient *TendermintlightclientSession) LatestHeight() (uint64, error)

LatestHeight is a free data retrieval call binding the contract method 0x7945c2f3.

Solidity: function latestHeight() constant returns(uint64)

func (*TendermintlightclientSession) RELAYERHUBCONTRACTADDR

func (_Tendermintlightclient *TendermintlightclientSession) RELAYERHUBCONTRACTADDR() (common.Address, error)

RELAYERHUBCONTRACTADDR is a free data retrieval call binding the contract method 0xa1a11bf5.

Solidity: function RELAYERHUB_CONTRACT_ADDR() constant returns(address)

func (*TendermintlightclientSession) RELAYERREWARD

func (_Tendermintlightclient *TendermintlightclientSession) RELAYERREWARD() (*big.Int, error)

RELAYERREWARD is a free data retrieval call binding the contract method 0x75405d0d.

Solidity: function RELAYER_REWARD() constant returns(uint256)

func (*TendermintlightclientSession) RewardForValidatorSetChange

func (_Tendermintlightclient *TendermintlightclientSession) RewardForValidatorSetChange() (*big.Int, error)

RewardForValidatorSetChange is a free data retrieval call binding the contract method 0x33f7798d.

Solidity: function rewardForValidatorSetChange() constant returns(uint256)

func (*TendermintlightclientSession) SLASHCONTRACTADDR

func (_Tendermintlightclient *TendermintlightclientSession) SLASHCONTRACTADDR() (common.Address, error)

SLASHCONTRACTADDR is a free data retrieval call binding the contract method 0x43756e5c.

Solidity: function SLASH_CONTRACT_ADDR() constant returns(address)

func (*TendermintlightclientSession) SYSTEMREWARDADDR

func (_Tendermintlightclient *TendermintlightclientSession) SYSTEMREWARDADDR() (common.Address, error)

SYSTEMREWARDADDR is a free data retrieval call binding the contract method 0xc81b1662.

Solidity: function SYSTEM_REWARD_ADDR() constant returns(address)

func (*TendermintlightclientSession) Submitters

func (_Tendermintlightclient *TendermintlightclientSession) Submitters(arg0 uint64) (common.Address, error)

Submitters is a free data retrieval call binding the contract method 0xbc53477e.

Solidity: function _submitters(uint64 ) constant returns(address)

func (*TendermintlightclientSession) SyncTendermintHeader

func (_Tendermintlightclient *TendermintlightclientSession) SyncTendermintHeader(header []byte, height uint64) (*types.Transaction, error)

SyncTendermintHeader is a paid mutator transaction binding the contract method 0xd8169879.

Solidity: function syncTendermintHeader(bytes header, uint64 height) returns(bool)

func (*TendermintlightclientSession) TOKENHUBADDR

func (_Tendermintlightclient *TendermintlightclientSession) TOKENHUBADDR() (common.Address, error)

TOKENHUBADDR is a free data retrieval call binding the contract method 0xfd6a6879.

Solidity: function TOKEN_HUB_ADDR() constant returns(address)

func (*TendermintlightclientSession) VALIDATORCONTRACTADDR

func (_Tendermintlightclient *TendermintlightclientSession) VALIDATORCONTRACTADDR() (common.Address, error)

VALIDATORCONTRACTADDR is a free data retrieval call binding the contract method 0xf9a2bbc7.

Solidity: function VALIDATOR_CONTRACT_ADDR() constant returns(address)

type TendermintlightclientSyncConsensusState

type TendermintlightclientSyncConsensusState struct {
	Height                      uint64
	PreValidatorSetChangeHeight uint64
	AppHash                     [32]byte
	ValidatorChanged            bool
	Raw                         types.Log // Blockchain specific contextual infos
}

TendermintlightclientSyncConsensusState represents a SyncConsensusState event raised by the Tendermintlightclient contract.

type TendermintlightclientSyncConsensusStateIterator

type TendermintlightclientSyncConsensusStateIterator struct {
	Event *TendermintlightclientSyncConsensusState // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

TendermintlightclientSyncConsensusStateIterator is returned from FilterSyncConsensusState and is used to iterate over the raw logs and unpacked data for SyncConsensusState events raised by the Tendermintlightclient contract.

func (*TendermintlightclientSyncConsensusStateIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*TendermintlightclientSyncConsensusStateIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*TendermintlightclientSyncConsensusStateIterator) Next

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 TendermintlightclientTransactor

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

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

func NewTendermintlightclientTransactor

func NewTendermintlightclientTransactor(address common.Address, transactor bind.ContractTransactor) (*TendermintlightclientTransactor, error)

NewTendermintlightclientTransactor creates a new write-only instance of Tendermintlightclient, bound to a specific deployed contract.

func (*TendermintlightclientTransactor) Init

func (_Tendermintlightclient *TendermintlightclientTransactor) Init(opts *bind.TransactOpts) (*types.Transaction, error)

Init is a paid mutator transaction binding the contract method 0xe1c7392a.

Solidity: function init() returns()

func (*TendermintlightclientTransactor) SyncTendermintHeader

func (_Tendermintlightclient *TendermintlightclientTransactor) SyncTendermintHeader(opts *bind.TransactOpts, header []byte, height uint64) (*types.Transaction, error)

SyncTendermintHeader is a paid mutator transaction binding the contract method 0xd8169879.

Solidity: function syncTendermintHeader(bytes header, uint64 height) returns(bool)

type TendermintlightclientTransactorRaw

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

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

func (*TendermintlightclientTransactorRaw) Transact

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

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

func (*TendermintlightclientTransactorRaw) Transfer

func (_Tendermintlightclient *TendermintlightclientTransactorRaw) 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 TendermintlightclientTransactorSession

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

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

func (*TendermintlightclientTransactorSession) Init

func (_Tendermintlightclient *TendermintlightclientTransactorSession) Init() (*types.Transaction, error)

Init is a paid mutator transaction binding the contract method 0xe1c7392a.

Solidity: function init() returns()

func (*TendermintlightclientTransactorSession) SyncTendermintHeader

func (_Tendermintlightclient *TendermintlightclientTransactorSession) SyncTendermintHeader(header []byte, height uint64) (*types.Transaction, error)

SyncTendermintHeader is a paid mutator transaction binding the contract method 0xd8169879.

Solidity: function syncTendermintHeader(bytes header, uint64 height) returns(bool)

Jump to

Keyboard shortcuts

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