greenfieldlightclient

package
v1.4.0 Latest Latest
Warning

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

Go to latest
Published: Apr 24, 2024 License: AGPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var GreenfieldlightclientABI = GreenfieldlightclientMetaData.ABI

GreenfieldlightclientABI is the input ABI used to generate the binding from. Deprecated: Use GreenfieldlightclientMetaData.ABI instead.

View Source
var GreenfieldlightclientMetaData = &bind.MetaData{
	ABI: "[{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint64\",\"name\":\"height\",\"type\":\"uint64\"}],\"name\":\"InitConsensusState\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint8\",\"name\":\"version\",\"type\":\"uint8\"}],\"name\":\"Initialized\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"string\",\"name\":\"key\",\"type\":\"string\"},{\"indexed\":false,\"internalType\":\"bytes\",\"name\":\"value\",\"type\":\"bytes\"}],\"name\":\"ParamChange\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint64\",\"name\":\"height\",\"type\":\"uint64\"},{\"indexed\":false,\"internalType\":\"bool\",\"name\":\"validatorSetChanged\",\"type\":\"bool\"}],\"name\":\"UpdatedConsensusState\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"BLS_SIGNATURE_LENGTH\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"BUCKET_CHANNEL_ID\",\"outputs\":[{\"internalType\":\"uint8\",\"name\":\"\",\"type\":\"uint8\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"BUCKET_HUB\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"CHAIN_ID_LENGTH\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"CONSENSUS_STATE_BASE_LENGTH\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"CONSENSUS_STATE_BYTES_LENGTH\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"CROSS_CHAIN\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"ConfigSlots\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"GOV_CHANNEL_ID\",\"outputs\":[{\"internalType\":\"uint8\",\"name\":\"\",\"type\":\"uint8\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"GOV_HUB\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"GROUP_CHANNEL_ID\",\"outputs\":[{\"internalType\":\"uint8\",\"name\":\"\",\"type\":\"uint8\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"GROUP_HUB\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"HEADER_VALIDATE_CONTRACT\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"HEIGHT_LENGTH\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"LIGHT_CLIENT\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"MESSAGE_HASH_LENGTH\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"OBJECT_CHANNEL_ID\",\"outputs\":[{\"internalType\":\"uint8\",\"name\":\"\",\"type\":\"uint8\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"OBJECT_HUB\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"PACKAGE_VERIFY_CONTRACT\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"PROXY_ADMIN\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"RELAYER_ADDRESS_LENGTH\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"RELAYER_BLS_KEY_LENGTH\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"RELAYER_HUB\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"TOKEN_HUB\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"TRANSFER_IN_CHANNEL_ID\",\"outputs\":[{\"internalType\":\"uint8\",\"name\":\"\",\"type\":\"uint8\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"TRANSFER_OUT_CHANNEL_ID\",\"outputs\":[{\"internalType\":\"uint8\",\"name\":\"\",\"type\":\"uint8\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"VALIDATOR_BYTES_LENGTH\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"VALIDATOR_PUB_KEY_LENGTH\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"VALIDATOR_SET_HASH_LENGTH\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"VALIDATOR_VOTING_POWER_LENGTH\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"blsPubKeys\",\"outputs\":[{\"internalType\":\"bytes\",\"name\":\"_blsPubKeys\",\"type\":\"bytes\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"chainID\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"consensusStateBytes\",\"outputs\":[{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getInturnRelayer\",\"outputs\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"addr\",\"type\":\"address\"},{\"internalType\":\"bytes\",\"name\":\"blsKey\",\"type\":\"bytes\"},{\"internalType\":\"uint256\",\"name\":\"start\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"end\",\"type\":\"uint256\"}],\"internalType\":\"structILightClient.InturnRelayer\",\"name\":\"relayer\",\"type\":\"tuple\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getInturnRelayerAddress\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getInturnRelayerBlsPubKey\",\"outputs\":[{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getRelayers\",\"outputs\":[{\"internalType\":\"address[]\",\"name\":\"\",\"type\":\"address[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"gnfdHeight\",\"outputs\":[{\"internalType\":\"uint64\",\"name\":\"\",\"type\":\"uint64\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"inTurnRelayerRelayInterval\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"inTurnRelayerValidityPeriod\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes\",\"name\":\"_initConsensusStateBytes\",\"type\":\"bytes\"}],\"name\":\"initialize\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"isRelayer\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"nextValidatorSetHash\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint64\",\"name\":\"\",\"type\":\"uint64\"}],\"name\":\"submitters\",\"outputs\":[{\"internalType\":\"addresspayable\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes\",\"name\":\"_lightBlock\",\"type\":\"bytes\"},{\"internalType\":\"uint64\",\"name\":\"_height\",\"type\":\"uint64\"}],\"name\":\"syncLightBlock\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"key\",\"type\":\"string\"},{\"internalType\":\"bytes\",\"name\":\"value\",\"type\":\"bytes\"}],\"name\":\"updateParam\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"validatorSet\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"pubKey\",\"type\":\"bytes32\"},{\"internalType\":\"int64\",\"name\":\"votingPower\",\"type\":\"int64\"},{\"internalType\":\"address\",\"name\":\"relayerAddress\",\"type\":\"address\"},{\"internalType\":\"bytes\",\"name\":\"relayerBlsKey\",\"type\":\"bytes\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes\",\"name\":\"_payload\",\"type\":\"bytes\"},{\"internalType\":\"bytes\",\"name\":\"_blsSignature\",\"type\":\"bytes\"},{\"internalType\":\"uint256\",\"name\":\"_validatorSetBitMap\",\"type\":\"uint256\"}],\"name\":\"verifyPackage\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint64\",\"name\":\"eventTime\",\"type\":\"uint64\"},{\"internalType\":\"bytes\",\"name\":\"_payload\",\"type\":\"bytes\"},{\"internalType\":\"bytes\",\"name\":\"_blsSignature\",\"type\":\"bytes\"},{\"internalType\":\"uint256\",\"name\":\"_validatorSetBitMap\",\"type\":\"uint256\"}],\"name\":\"verifyRelayerAndPackage\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"versionInfo\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"version\",\"type\":\"uint256\"},{\"internalType\":\"string\",\"name\":\"name\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"description\",\"type\":\"string\"}],\"stateMutability\":\"pure\",\"type\":\"function\"}]",
}

GreenfieldlightclientMetaData contains all meta data concerning the Greenfieldlightclient contract.

Functions

This section is empty.

Types

type Greenfieldlightclient

type Greenfieldlightclient struct {
	GreenfieldlightclientCaller     // Read-only binding to the contract
	GreenfieldlightclientTransactor // Write-only binding to the contract
	GreenfieldlightclientFilterer   // Log filterer for contract events
}

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

func NewGreenfieldlightclient

func NewGreenfieldlightclient(address common.Address, backend bind.ContractBackend) (*Greenfieldlightclient, error)

NewGreenfieldlightclient creates a new instance of Greenfieldlightclient, bound to a specific deployed contract.

type GreenfieldlightclientCaller

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

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

func NewGreenfieldlightclientCaller

func NewGreenfieldlightclientCaller(address common.Address, caller bind.ContractCaller) (*GreenfieldlightclientCaller, error)

NewGreenfieldlightclientCaller creates a new read-only instance of Greenfieldlightclient, bound to a specific deployed contract.

func (*GreenfieldlightclientCaller) BLSSIGNATURELENGTH

func (_Greenfieldlightclient *GreenfieldlightclientCaller) BLSSIGNATURELENGTH(opts *bind.CallOpts) (*big.Int, error)

BLSSIGNATURELENGTH is a free data retrieval call binding the contract method 0xdfe5b236.

Solidity: function BLS_SIGNATURE_LENGTH() view returns(uint256)

func (*GreenfieldlightclientCaller) BUCKETCHANNELID

func (_Greenfieldlightclient *GreenfieldlightclientCaller) BUCKETCHANNELID(opts *bind.CallOpts) (uint8, error)

BUCKETCHANNELID is a free data retrieval call binding the contract method 0x73f1e3c3.

Solidity: function BUCKET_CHANNEL_ID() view returns(uint8)

func (*GreenfieldlightclientCaller) BUCKETHUB

func (_Greenfieldlightclient *GreenfieldlightclientCaller) BUCKETHUB(opts *bind.CallOpts) (common.Address, error)

BUCKETHUB is a free data retrieval call binding the contract method 0x7afffdd2.

Solidity: function BUCKET_HUB() view returns(address)

func (*GreenfieldlightclientCaller) BlsPubKeys

func (_Greenfieldlightclient *GreenfieldlightclientCaller) BlsPubKeys(opts *bind.CallOpts) ([]byte, error)

BlsPubKeys is a free data retrieval call binding the contract method 0xbb9dae06.

Solidity: function blsPubKeys() view returns(bytes _blsPubKeys)

func (*GreenfieldlightclientCaller) CHAINIDLENGTH

func (_Greenfieldlightclient *GreenfieldlightclientCaller) CHAINIDLENGTH(opts *bind.CallOpts) (*big.Int, error)

CHAINIDLENGTH is a free data retrieval call binding the contract method 0x72ca1fe3.

Solidity: function CHAIN_ID_LENGTH() view returns(uint256)

func (*GreenfieldlightclientCaller) CONSENSUSSTATEBASELENGTH

func (_Greenfieldlightclient *GreenfieldlightclientCaller) CONSENSUSSTATEBASELENGTH(opts *bind.CallOpts) (*big.Int, error)

CONSENSUSSTATEBASELENGTH is a free data retrieval call binding the contract method 0x7e8982bd.

Solidity: function CONSENSUS_STATE_BASE_LENGTH() view returns(uint256)

func (*GreenfieldlightclientCaller) CONSENSUSSTATEBYTESLENGTH

func (_Greenfieldlightclient *GreenfieldlightclientCaller) CONSENSUSSTATEBYTESLENGTH(opts *bind.CallOpts) (*big.Int, error)

CONSENSUSSTATEBYTESLENGTH is a free data retrieval call binding the contract method 0xdefd63f1.

Solidity: function CONSENSUS_STATE_BYTES_LENGTH() view returns(uint256)

func (*GreenfieldlightclientCaller) CROSSCHAIN

func (_Greenfieldlightclient *GreenfieldlightclientCaller) CROSSCHAIN(opts *bind.CallOpts) (common.Address, error)

CROSSCHAIN is a free data retrieval call binding the contract method 0x557cf477.

Solidity: function CROSS_CHAIN() view returns(address)

func (*GreenfieldlightclientCaller) ChainID

func (_Greenfieldlightclient *GreenfieldlightclientCaller) ChainID(opts *bind.CallOpts) ([32]byte, error)

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

Solidity: function chainID() view returns(bytes32)

func (*GreenfieldlightclientCaller) ConfigSlots

func (_Greenfieldlightclient *GreenfieldlightclientCaller) ConfigSlots(opts *bind.CallOpts, arg0 *big.Int) (*big.Int, error)

ConfigSlots is a free data retrieval call binding the contract method 0xb76e4aca.

Solidity: function ConfigSlots(uint256 ) view returns(uint256)

func (*GreenfieldlightclientCaller) ConsensusStateBytes

func (_Greenfieldlightclient *GreenfieldlightclientCaller) ConsensusStateBytes(opts *bind.CallOpts) ([]byte, error)

ConsensusStateBytes is a free data retrieval call binding the contract method 0x82e2111c.

Solidity: function consensusStateBytes() view returns(bytes)

func (*GreenfieldlightclientCaller) GOVCHANNELID

func (_Greenfieldlightclient *GreenfieldlightclientCaller) GOVCHANNELID(opts *bind.CallOpts) (uint8, error)

GOVCHANNELID is a free data retrieval call binding the contract method 0x81d91480.

Solidity: function GOV_CHANNEL_ID() view returns(uint8)

func (*GreenfieldlightclientCaller) GOVHUB

func (_Greenfieldlightclient *GreenfieldlightclientCaller) GOVHUB(opts *bind.CallOpts) (common.Address, error)

GOVHUB is a free data retrieval call binding the contract method 0xa9dae71c.

Solidity: function GOV_HUB() view returns(address)

func (*GreenfieldlightclientCaller) GROUPCHANNELID

func (_Greenfieldlightclient *GreenfieldlightclientCaller) GROUPCHANNELID(opts *bind.CallOpts) (uint8, error)

GROUPCHANNELID is a free data retrieval call binding the contract method 0xe02e86b0.

Solidity: function GROUP_CHANNEL_ID() view returns(uint8)

func (*GreenfieldlightclientCaller) GROUPHUB

func (_Greenfieldlightclient *GreenfieldlightclientCaller) GROUPHUB(opts *bind.CallOpts) (common.Address, error)

GROUPHUB is a free data retrieval call binding the contract method 0x46934fc8.

Solidity: function GROUP_HUB() view returns(address)

func (*GreenfieldlightclientCaller) GetInturnRelayer

func (_Greenfieldlightclient *GreenfieldlightclientCaller) GetInturnRelayer(opts *bind.CallOpts) (ILightClientInturnRelayer, error)

GetInturnRelayer is a free data retrieval call binding the contract method 0x3baa2219.

Solidity: function getInturnRelayer() view returns((address,bytes,uint256,uint256) relayer)

func (*GreenfieldlightclientCaller) GetInturnRelayerAddress

func (_Greenfieldlightclient *GreenfieldlightclientCaller) GetInturnRelayerAddress(opts *bind.CallOpts) (common.Address, error)

GetInturnRelayerAddress is a free data retrieval call binding the contract method 0xd5b0f519.

Solidity: function getInturnRelayerAddress() view returns(address)

func (*GreenfieldlightclientCaller) GetInturnRelayerBlsPubKey

func (_Greenfieldlightclient *GreenfieldlightclientCaller) GetInturnRelayerBlsPubKey(opts *bind.CallOpts) ([]byte, error)

GetInturnRelayerBlsPubKey is a free data retrieval call binding the contract method 0x56bbb6e7.

Solidity: function getInturnRelayerBlsPubKey() view returns(bytes)

func (*GreenfieldlightclientCaller) GetRelayers

func (_Greenfieldlightclient *GreenfieldlightclientCaller) GetRelayers(opts *bind.CallOpts) ([]common.Address, error)

GetRelayers is a free data retrieval call binding the contract method 0x179ff4b2.

Solidity: function getRelayers() view returns(address[])

func (*GreenfieldlightclientCaller) GnfdHeight

func (_Greenfieldlightclient *GreenfieldlightclientCaller) GnfdHeight(opts *bind.CallOpts) (uint64, error)

GnfdHeight is a free data retrieval call binding the contract method 0x64118b9e.

Solidity: function gnfdHeight() view returns(uint64)

func (*GreenfieldlightclientCaller) HEADERVALIDATECONTRACT

func (_Greenfieldlightclient *GreenfieldlightclientCaller) HEADERVALIDATECONTRACT(opts *bind.CallOpts) (common.Address, error)

HEADERVALIDATECONTRACT is a free data retrieval call binding the contract method 0x9c079c59.

Solidity: function HEADER_VALIDATE_CONTRACT() view returns(address)

func (*GreenfieldlightclientCaller) HEIGHTLENGTH

func (_Greenfieldlightclient *GreenfieldlightclientCaller) HEIGHTLENGTH(opts *bind.CallOpts) (*big.Int, error)

HEIGHTLENGTH is a free data retrieval call binding the contract method 0x83e3a498.

Solidity: function HEIGHT_LENGTH() view returns(uint256)

func (*GreenfieldlightclientCaller) InTurnRelayerRelayInterval

func (_Greenfieldlightclient *GreenfieldlightclientCaller) InTurnRelayerRelayInterval(opts *bind.CallOpts) (*big.Int, error)

InTurnRelayerRelayInterval is a free data retrieval call binding the contract method 0x3f8e2a84.

Solidity: function inTurnRelayerRelayInterval() view returns(uint256)

func (*GreenfieldlightclientCaller) InTurnRelayerValidityPeriod

func (_Greenfieldlightclient *GreenfieldlightclientCaller) InTurnRelayerValidityPeriod(opts *bind.CallOpts) (*big.Int, error)

InTurnRelayerValidityPeriod is a free data retrieval call binding the contract method 0xf4efa5a7.

Solidity: function inTurnRelayerValidityPeriod() view returns(uint256)

func (*GreenfieldlightclientCaller) IsRelayer

func (_Greenfieldlightclient *GreenfieldlightclientCaller) IsRelayer(opts *bind.CallOpts, arg0 common.Address) (bool, error)

IsRelayer is a free data retrieval call binding the contract method 0x541d5548.

Solidity: function isRelayer(address ) view returns(bool)

func (*GreenfieldlightclientCaller) LIGHTCLIENT

func (_Greenfieldlightclient *GreenfieldlightclientCaller) LIGHTCLIENT(opts *bind.CallOpts) (common.Address, error)

LIGHTCLIENT is a free data retrieval call binding the contract method 0xe613ae00.

Solidity: function LIGHT_CLIENT() view returns(address)

func (*GreenfieldlightclientCaller) MESSAGEHASHLENGTH

func (_Greenfieldlightclient *GreenfieldlightclientCaller) MESSAGEHASHLENGTH(opts *bind.CallOpts) (*big.Int, error)

MESSAGEHASHLENGTH is a free data retrieval call binding the contract method 0x4de2b60a.

Solidity: function MESSAGE_HASH_LENGTH() view returns(uint256)

func (*GreenfieldlightclientCaller) NextValidatorSetHash

func (_Greenfieldlightclient *GreenfieldlightclientCaller) NextValidatorSetHash(opts *bind.CallOpts) ([32]byte, error)

NextValidatorSetHash is a free data retrieval call binding the contract method 0x752d3b89.

Solidity: function nextValidatorSetHash() view returns(bytes32)

func (*GreenfieldlightclientCaller) OBJECTCHANNELID

func (_Greenfieldlightclient *GreenfieldlightclientCaller) OBJECTCHANNELID(opts *bind.CallOpts) (uint8, error)

OBJECTCHANNELID is a free data retrieval call binding the contract method 0xeac78b33.

Solidity: function OBJECT_CHANNEL_ID() view returns(uint8)

func (*GreenfieldlightclientCaller) OBJECTHUB

func (_Greenfieldlightclient *GreenfieldlightclientCaller) OBJECTHUB(opts *bind.CallOpts) (common.Address, error)

OBJECTHUB is a free data retrieval call binding the contract method 0x7d2e3084.

Solidity: function OBJECT_HUB() view returns(address)

func (*GreenfieldlightclientCaller) PACKAGEVERIFYCONTRACT

func (_Greenfieldlightclient *GreenfieldlightclientCaller) PACKAGEVERIFYCONTRACT(opts *bind.CallOpts) (common.Address, error)

PACKAGEVERIFYCONTRACT is a free data retrieval call binding the contract method 0x86a780c5.

Solidity: function PACKAGE_VERIFY_CONTRACT() view returns(address)

func (*GreenfieldlightclientCaller) PROXYADMIN

func (_Greenfieldlightclient *GreenfieldlightclientCaller) PROXYADMIN(opts *bind.CallOpts) (common.Address, error)

PROXYADMIN is a free data retrieval call binding the contract method 0xed9bc82a.

Solidity: function PROXY_ADMIN() view returns(address)

func (*GreenfieldlightclientCaller) RELAYERADDRESSLENGTH

func (_Greenfieldlightclient *GreenfieldlightclientCaller) RELAYERADDRESSLENGTH(opts *bind.CallOpts) (*big.Int, error)

RELAYERADDRESSLENGTH is a free data retrieval call binding the contract method 0x7896b4e4.

Solidity: function RELAYER_ADDRESS_LENGTH() view returns(uint256)

func (*GreenfieldlightclientCaller) RELAYERBLSKEYLENGTH

func (_Greenfieldlightclient *GreenfieldlightclientCaller) RELAYERBLSKEYLENGTH(opts *bind.CallOpts) (*big.Int, error)

RELAYERBLSKEYLENGTH is a free data retrieval call binding the contract method 0x092e7ddb.

Solidity: function RELAYER_BLS_KEY_LENGTH() view returns(uint256)

func (*GreenfieldlightclientCaller) RELAYERHUB

func (_Greenfieldlightclient *GreenfieldlightclientCaller) RELAYERHUB(opts *bind.CallOpts) (common.Address, error)

RELAYERHUB is a free data retrieval call binding the contract method 0xb9d86913.

Solidity: function RELAYER_HUB() view returns(address)

func (*GreenfieldlightclientCaller) Submitters

func (_Greenfieldlightclient *GreenfieldlightclientCaller) Submitters(opts *bind.CallOpts, arg0 uint64) (common.Address, error)

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

Solidity: function submitters(uint64 ) view returns(address)

func (*GreenfieldlightclientCaller) TOKENHUB

func (_Greenfieldlightclient *GreenfieldlightclientCaller) TOKENHUB(opts *bind.CallOpts) (common.Address, error)

TOKENHUB is a free data retrieval call binding the contract method 0x6d3358a1.

Solidity: function TOKEN_HUB() view returns(address)

func (*GreenfieldlightclientCaller) TRANSFERINCHANNELID

func (_Greenfieldlightclient *GreenfieldlightclientCaller) TRANSFERINCHANNELID(opts *bind.CallOpts) (uint8, error)

TRANSFERINCHANNELID is a free data retrieval call binding the contract method 0xcc12eabc.

Solidity: function TRANSFER_IN_CHANNEL_ID() view returns(uint8)

func (*GreenfieldlightclientCaller) TRANSFEROUTCHANNELID

func (_Greenfieldlightclient *GreenfieldlightclientCaller) TRANSFEROUTCHANNELID(opts *bind.CallOpts) (uint8, error)

TRANSFEROUTCHANNELID is a free data retrieval call binding the contract method 0x618d569c.

Solidity: function TRANSFER_OUT_CHANNEL_ID() view returns(uint8)

func (*GreenfieldlightclientCaller) VALIDATORBYTESLENGTH

func (_Greenfieldlightclient *GreenfieldlightclientCaller) VALIDATORBYTESLENGTH(opts *bind.CallOpts) (*big.Int, error)

VALIDATORBYTESLENGTH is a free data retrieval call binding the contract method 0x8272ecde.

Solidity: function VALIDATOR_BYTES_LENGTH() view returns(uint256)

func (*GreenfieldlightclientCaller) VALIDATORPUBKEYLENGTH

func (_Greenfieldlightclient *GreenfieldlightclientCaller) VALIDATORPUBKEYLENGTH(opts *bind.CallOpts) (*big.Int, error)

VALIDATORPUBKEYLENGTH is a free data retrieval call binding the contract method 0x76b7416b.

Solidity: function VALIDATOR_PUB_KEY_LENGTH() view returns(uint256)

func (*GreenfieldlightclientCaller) VALIDATORSETHASHLENGTH

func (_Greenfieldlightclient *GreenfieldlightclientCaller) VALIDATORSETHASHLENGTH(opts *bind.CallOpts) (*big.Int, error)

VALIDATORSETHASHLENGTH is a free data retrieval call binding the contract method 0xd785e50e.

Solidity: function VALIDATOR_SET_HASH_LENGTH() view returns(uint256)

func (*GreenfieldlightclientCaller) VALIDATORVOTINGPOWERLENGTH

func (_Greenfieldlightclient *GreenfieldlightclientCaller) VALIDATORVOTINGPOWERLENGTH(opts *bind.CallOpts) (*big.Int, error)

VALIDATORVOTINGPOWERLENGTH is a free data retrieval call binding the contract method 0x66952964.

Solidity: function VALIDATOR_VOTING_POWER_LENGTH() view returns(uint256)

func (*GreenfieldlightclientCaller) ValidatorSet

func (_Greenfieldlightclient *GreenfieldlightclientCaller) ValidatorSet(opts *bind.CallOpts, arg0 *big.Int) (struct {
	PubKey         [32]byte
	VotingPower    int64
	RelayerAddress common.Address
	RelayerBlsKey  []byte
}, error)

ValidatorSet is a free data retrieval call binding the contract method 0xe64808f3.

Solidity: function validatorSet(uint256 ) view returns(bytes32 pubKey, int64 votingPower, address relayerAddress, bytes relayerBlsKey)

func (*GreenfieldlightclientCaller) VerifyPackage

func (_Greenfieldlightclient *GreenfieldlightclientCaller) VerifyPackage(opts *bind.CallOpts, _payload []byte, _blsSignature []byte, _validatorSetBitMap *big.Int) (bool, error)

VerifyPackage is a free data retrieval call binding the contract method 0xd527fba1.

Solidity: function verifyPackage(bytes _payload, bytes _blsSignature, uint256 _validatorSetBitMap) view returns(bool)

func (*GreenfieldlightclientCaller) VerifyRelayerAndPackage

func (_Greenfieldlightclient *GreenfieldlightclientCaller) VerifyRelayerAndPackage(opts *bind.CallOpts, eventTime uint64, _payload []byte, _blsSignature []byte, _validatorSetBitMap *big.Int) (bool, error)

VerifyRelayerAndPackage is a free data retrieval call binding the contract method 0xf2acebd4.

Solidity: function verifyRelayerAndPackage(uint64 eventTime, bytes _payload, bytes _blsSignature, uint256 _validatorSetBitMap) view returns(bool)

func (*GreenfieldlightclientCaller) VersionInfo

func (_Greenfieldlightclient *GreenfieldlightclientCaller) VersionInfo(opts *bind.CallOpts) (struct {
	Version     *big.Int
	Name        string
	Description string
}, error)

VersionInfo is a free data retrieval call binding the contract method 0xa21d1354.

Solidity: function versionInfo() pure returns(uint256 version, string name, string description)

type GreenfieldlightclientCallerRaw

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

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

func (*GreenfieldlightclientCallerRaw) Call

func (_Greenfieldlightclient *GreenfieldlightclientCallerRaw) 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 GreenfieldlightclientCallerSession

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

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

func (*GreenfieldlightclientCallerSession) BLSSIGNATURELENGTH

func (_Greenfieldlightclient *GreenfieldlightclientCallerSession) BLSSIGNATURELENGTH() (*big.Int, error)

BLSSIGNATURELENGTH is a free data retrieval call binding the contract method 0xdfe5b236.

Solidity: function BLS_SIGNATURE_LENGTH() view returns(uint256)

func (*GreenfieldlightclientCallerSession) BUCKETCHANNELID

func (_Greenfieldlightclient *GreenfieldlightclientCallerSession) BUCKETCHANNELID() (uint8, error)

BUCKETCHANNELID is a free data retrieval call binding the contract method 0x73f1e3c3.

Solidity: function BUCKET_CHANNEL_ID() view returns(uint8)

func (*GreenfieldlightclientCallerSession) BUCKETHUB

func (_Greenfieldlightclient *GreenfieldlightclientCallerSession) BUCKETHUB() (common.Address, error)

BUCKETHUB is a free data retrieval call binding the contract method 0x7afffdd2.

Solidity: function BUCKET_HUB() view returns(address)

func (*GreenfieldlightclientCallerSession) BlsPubKeys

func (_Greenfieldlightclient *GreenfieldlightclientCallerSession) BlsPubKeys() ([]byte, error)

BlsPubKeys is a free data retrieval call binding the contract method 0xbb9dae06.

Solidity: function blsPubKeys() view returns(bytes _blsPubKeys)

func (*GreenfieldlightclientCallerSession) CHAINIDLENGTH

func (_Greenfieldlightclient *GreenfieldlightclientCallerSession) CHAINIDLENGTH() (*big.Int, error)

CHAINIDLENGTH is a free data retrieval call binding the contract method 0x72ca1fe3.

Solidity: function CHAIN_ID_LENGTH() view returns(uint256)

func (*GreenfieldlightclientCallerSession) CONSENSUSSTATEBASELENGTH

func (_Greenfieldlightclient *GreenfieldlightclientCallerSession) CONSENSUSSTATEBASELENGTH() (*big.Int, error)

CONSENSUSSTATEBASELENGTH is a free data retrieval call binding the contract method 0x7e8982bd.

Solidity: function CONSENSUS_STATE_BASE_LENGTH() view returns(uint256)

func (*GreenfieldlightclientCallerSession) CONSENSUSSTATEBYTESLENGTH

func (_Greenfieldlightclient *GreenfieldlightclientCallerSession) CONSENSUSSTATEBYTESLENGTH() (*big.Int, error)

CONSENSUSSTATEBYTESLENGTH is a free data retrieval call binding the contract method 0xdefd63f1.

Solidity: function CONSENSUS_STATE_BYTES_LENGTH() view returns(uint256)

func (*GreenfieldlightclientCallerSession) CROSSCHAIN

func (_Greenfieldlightclient *GreenfieldlightclientCallerSession) CROSSCHAIN() (common.Address, error)

CROSSCHAIN is a free data retrieval call binding the contract method 0x557cf477.

Solidity: function CROSS_CHAIN() view returns(address)

func (*GreenfieldlightclientCallerSession) ChainID

func (_Greenfieldlightclient *GreenfieldlightclientCallerSession) ChainID() ([32]byte, error)

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

Solidity: function chainID() view returns(bytes32)

func (*GreenfieldlightclientCallerSession) ConfigSlots

func (_Greenfieldlightclient *GreenfieldlightclientCallerSession) ConfigSlots(arg0 *big.Int) (*big.Int, error)

ConfigSlots is a free data retrieval call binding the contract method 0xb76e4aca.

Solidity: function ConfigSlots(uint256 ) view returns(uint256)

func (*GreenfieldlightclientCallerSession) ConsensusStateBytes

func (_Greenfieldlightclient *GreenfieldlightclientCallerSession) ConsensusStateBytes() ([]byte, error)

ConsensusStateBytes is a free data retrieval call binding the contract method 0x82e2111c.

Solidity: function consensusStateBytes() view returns(bytes)

func (*GreenfieldlightclientCallerSession) GOVCHANNELID

func (_Greenfieldlightclient *GreenfieldlightclientCallerSession) GOVCHANNELID() (uint8, error)

GOVCHANNELID is a free data retrieval call binding the contract method 0x81d91480.

Solidity: function GOV_CHANNEL_ID() view returns(uint8)

func (*GreenfieldlightclientCallerSession) GOVHUB

func (_Greenfieldlightclient *GreenfieldlightclientCallerSession) GOVHUB() (common.Address, error)

GOVHUB is a free data retrieval call binding the contract method 0xa9dae71c.

Solidity: function GOV_HUB() view returns(address)

func (*GreenfieldlightclientCallerSession) GROUPCHANNELID

func (_Greenfieldlightclient *GreenfieldlightclientCallerSession) GROUPCHANNELID() (uint8, error)

GROUPCHANNELID is a free data retrieval call binding the contract method 0xe02e86b0.

Solidity: function GROUP_CHANNEL_ID() view returns(uint8)

func (*GreenfieldlightclientCallerSession) GROUPHUB

func (_Greenfieldlightclient *GreenfieldlightclientCallerSession) GROUPHUB() (common.Address, error)

GROUPHUB is a free data retrieval call binding the contract method 0x46934fc8.

Solidity: function GROUP_HUB() view returns(address)

func (*GreenfieldlightclientCallerSession) GetInturnRelayer

func (_Greenfieldlightclient *GreenfieldlightclientCallerSession) GetInturnRelayer() (ILightClientInturnRelayer, error)

GetInturnRelayer is a free data retrieval call binding the contract method 0x3baa2219.

Solidity: function getInturnRelayer() view returns((address,bytes,uint256,uint256) relayer)

func (*GreenfieldlightclientCallerSession) GetInturnRelayerAddress

func (_Greenfieldlightclient *GreenfieldlightclientCallerSession) GetInturnRelayerAddress() (common.Address, error)

GetInturnRelayerAddress is a free data retrieval call binding the contract method 0xd5b0f519.

Solidity: function getInturnRelayerAddress() view returns(address)

func (*GreenfieldlightclientCallerSession) GetInturnRelayerBlsPubKey

func (_Greenfieldlightclient *GreenfieldlightclientCallerSession) GetInturnRelayerBlsPubKey() ([]byte, error)

GetInturnRelayerBlsPubKey is a free data retrieval call binding the contract method 0x56bbb6e7.

Solidity: function getInturnRelayerBlsPubKey() view returns(bytes)

func (*GreenfieldlightclientCallerSession) GetRelayers

func (_Greenfieldlightclient *GreenfieldlightclientCallerSession) GetRelayers() ([]common.Address, error)

GetRelayers is a free data retrieval call binding the contract method 0x179ff4b2.

Solidity: function getRelayers() view returns(address[])

func (*GreenfieldlightclientCallerSession) GnfdHeight

func (_Greenfieldlightclient *GreenfieldlightclientCallerSession) GnfdHeight() (uint64, error)

GnfdHeight is a free data retrieval call binding the contract method 0x64118b9e.

Solidity: function gnfdHeight() view returns(uint64)

func (*GreenfieldlightclientCallerSession) HEADERVALIDATECONTRACT

func (_Greenfieldlightclient *GreenfieldlightclientCallerSession) HEADERVALIDATECONTRACT() (common.Address, error)

HEADERVALIDATECONTRACT is a free data retrieval call binding the contract method 0x9c079c59.

Solidity: function HEADER_VALIDATE_CONTRACT() view returns(address)

func (*GreenfieldlightclientCallerSession) HEIGHTLENGTH

func (_Greenfieldlightclient *GreenfieldlightclientCallerSession) HEIGHTLENGTH() (*big.Int, error)

HEIGHTLENGTH is a free data retrieval call binding the contract method 0x83e3a498.

Solidity: function HEIGHT_LENGTH() view returns(uint256)

func (*GreenfieldlightclientCallerSession) InTurnRelayerRelayInterval

func (_Greenfieldlightclient *GreenfieldlightclientCallerSession) InTurnRelayerRelayInterval() (*big.Int, error)

InTurnRelayerRelayInterval is a free data retrieval call binding the contract method 0x3f8e2a84.

Solidity: function inTurnRelayerRelayInterval() view returns(uint256)

func (*GreenfieldlightclientCallerSession) InTurnRelayerValidityPeriod

func (_Greenfieldlightclient *GreenfieldlightclientCallerSession) InTurnRelayerValidityPeriod() (*big.Int, error)

InTurnRelayerValidityPeriod is a free data retrieval call binding the contract method 0xf4efa5a7.

Solidity: function inTurnRelayerValidityPeriod() view returns(uint256)

func (*GreenfieldlightclientCallerSession) IsRelayer

func (_Greenfieldlightclient *GreenfieldlightclientCallerSession) IsRelayer(arg0 common.Address) (bool, error)

IsRelayer is a free data retrieval call binding the contract method 0x541d5548.

Solidity: function isRelayer(address ) view returns(bool)

func (*GreenfieldlightclientCallerSession) LIGHTCLIENT

func (_Greenfieldlightclient *GreenfieldlightclientCallerSession) LIGHTCLIENT() (common.Address, error)

LIGHTCLIENT is a free data retrieval call binding the contract method 0xe613ae00.

Solidity: function LIGHT_CLIENT() view returns(address)

func (*GreenfieldlightclientCallerSession) MESSAGEHASHLENGTH

func (_Greenfieldlightclient *GreenfieldlightclientCallerSession) MESSAGEHASHLENGTH() (*big.Int, error)

MESSAGEHASHLENGTH is a free data retrieval call binding the contract method 0x4de2b60a.

Solidity: function MESSAGE_HASH_LENGTH() view returns(uint256)

func (*GreenfieldlightclientCallerSession) NextValidatorSetHash

func (_Greenfieldlightclient *GreenfieldlightclientCallerSession) NextValidatorSetHash() ([32]byte, error)

NextValidatorSetHash is a free data retrieval call binding the contract method 0x752d3b89.

Solidity: function nextValidatorSetHash() view returns(bytes32)

func (*GreenfieldlightclientCallerSession) OBJECTCHANNELID

func (_Greenfieldlightclient *GreenfieldlightclientCallerSession) OBJECTCHANNELID() (uint8, error)

OBJECTCHANNELID is a free data retrieval call binding the contract method 0xeac78b33.

Solidity: function OBJECT_CHANNEL_ID() view returns(uint8)

func (*GreenfieldlightclientCallerSession) OBJECTHUB

func (_Greenfieldlightclient *GreenfieldlightclientCallerSession) OBJECTHUB() (common.Address, error)

OBJECTHUB is a free data retrieval call binding the contract method 0x7d2e3084.

Solidity: function OBJECT_HUB() view returns(address)

func (*GreenfieldlightclientCallerSession) PACKAGEVERIFYCONTRACT

func (_Greenfieldlightclient *GreenfieldlightclientCallerSession) PACKAGEVERIFYCONTRACT() (common.Address, error)

PACKAGEVERIFYCONTRACT is a free data retrieval call binding the contract method 0x86a780c5.

Solidity: function PACKAGE_VERIFY_CONTRACT() view returns(address)

func (*GreenfieldlightclientCallerSession) PROXYADMIN

func (_Greenfieldlightclient *GreenfieldlightclientCallerSession) PROXYADMIN() (common.Address, error)

PROXYADMIN is a free data retrieval call binding the contract method 0xed9bc82a.

Solidity: function PROXY_ADMIN() view returns(address)

func (*GreenfieldlightclientCallerSession) RELAYERADDRESSLENGTH

func (_Greenfieldlightclient *GreenfieldlightclientCallerSession) RELAYERADDRESSLENGTH() (*big.Int, error)

RELAYERADDRESSLENGTH is a free data retrieval call binding the contract method 0x7896b4e4.

Solidity: function RELAYER_ADDRESS_LENGTH() view returns(uint256)

func (*GreenfieldlightclientCallerSession) RELAYERBLSKEYLENGTH

func (_Greenfieldlightclient *GreenfieldlightclientCallerSession) RELAYERBLSKEYLENGTH() (*big.Int, error)

RELAYERBLSKEYLENGTH is a free data retrieval call binding the contract method 0x092e7ddb.

Solidity: function RELAYER_BLS_KEY_LENGTH() view returns(uint256)

func (*GreenfieldlightclientCallerSession) RELAYERHUB

func (_Greenfieldlightclient *GreenfieldlightclientCallerSession) RELAYERHUB() (common.Address, error)

RELAYERHUB is a free data retrieval call binding the contract method 0xb9d86913.

Solidity: function RELAYER_HUB() view returns(address)

func (*GreenfieldlightclientCallerSession) Submitters

func (_Greenfieldlightclient *GreenfieldlightclientCallerSession) Submitters(arg0 uint64) (common.Address, error)

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

Solidity: function submitters(uint64 ) view returns(address)

func (*GreenfieldlightclientCallerSession) TOKENHUB

func (_Greenfieldlightclient *GreenfieldlightclientCallerSession) TOKENHUB() (common.Address, error)

TOKENHUB is a free data retrieval call binding the contract method 0x6d3358a1.

Solidity: function TOKEN_HUB() view returns(address)

func (*GreenfieldlightclientCallerSession) TRANSFERINCHANNELID

func (_Greenfieldlightclient *GreenfieldlightclientCallerSession) TRANSFERINCHANNELID() (uint8, error)

TRANSFERINCHANNELID is a free data retrieval call binding the contract method 0xcc12eabc.

Solidity: function TRANSFER_IN_CHANNEL_ID() view returns(uint8)

func (*GreenfieldlightclientCallerSession) TRANSFEROUTCHANNELID

func (_Greenfieldlightclient *GreenfieldlightclientCallerSession) TRANSFEROUTCHANNELID() (uint8, error)

TRANSFEROUTCHANNELID is a free data retrieval call binding the contract method 0x618d569c.

Solidity: function TRANSFER_OUT_CHANNEL_ID() view returns(uint8)

func (*GreenfieldlightclientCallerSession) VALIDATORBYTESLENGTH

func (_Greenfieldlightclient *GreenfieldlightclientCallerSession) VALIDATORBYTESLENGTH() (*big.Int, error)

VALIDATORBYTESLENGTH is a free data retrieval call binding the contract method 0x8272ecde.

Solidity: function VALIDATOR_BYTES_LENGTH() view returns(uint256)

func (*GreenfieldlightclientCallerSession) VALIDATORPUBKEYLENGTH

func (_Greenfieldlightclient *GreenfieldlightclientCallerSession) VALIDATORPUBKEYLENGTH() (*big.Int, error)

VALIDATORPUBKEYLENGTH is a free data retrieval call binding the contract method 0x76b7416b.

Solidity: function VALIDATOR_PUB_KEY_LENGTH() view returns(uint256)

func (*GreenfieldlightclientCallerSession) VALIDATORSETHASHLENGTH

func (_Greenfieldlightclient *GreenfieldlightclientCallerSession) VALIDATORSETHASHLENGTH() (*big.Int, error)

VALIDATORSETHASHLENGTH is a free data retrieval call binding the contract method 0xd785e50e.

Solidity: function VALIDATOR_SET_HASH_LENGTH() view returns(uint256)

func (*GreenfieldlightclientCallerSession) VALIDATORVOTINGPOWERLENGTH

func (_Greenfieldlightclient *GreenfieldlightclientCallerSession) VALIDATORVOTINGPOWERLENGTH() (*big.Int, error)

VALIDATORVOTINGPOWERLENGTH is a free data retrieval call binding the contract method 0x66952964.

Solidity: function VALIDATOR_VOTING_POWER_LENGTH() view returns(uint256)

func (*GreenfieldlightclientCallerSession) ValidatorSet

func (_Greenfieldlightclient *GreenfieldlightclientCallerSession) ValidatorSet(arg0 *big.Int) (struct {
	PubKey         [32]byte
	VotingPower    int64
	RelayerAddress common.Address
	RelayerBlsKey  []byte
}, error)

ValidatorSet is a free data retrieval call binding the contract method 0xe64808f3.

Solidity: function validatorSet(uint256 ) view returns(bytes32 pubKey, int64 votingPower, address relayerAddress, bytes relayerBlsKey)

func (*GreenfieldlightclientCallerSession) VerifyPackage

func (_Greenfieldlightclient *GreenfieldlightclientCallerSession) VerifyPackage(_payload []byte, _blsSignature []byte, _validatorSetBitMap *big.Int) (bool, error)

VerifyPackage is a free data retrieval call binding the contract method 0xd527fba1.

Solidity: function verifyPackage(bytes _payload, bytes _blsSignature, uint256 _validatorSetBitMap) view returns(bool)

func (*GreenfieldlightclientCallerSession) VerifyRelayerAndPackage

func (_Greenfieldlightclient *GreenfieldlightclientCallerSession) VerifyRelayerAndPackage(eventTime uint64, _payload []byte, _blsSignature []byte, _validatorSetBitMap *big.Int) (bool, error)

VerifyRelayerAndPackage is a free data retrieval call binding the contract method 0xf2acebd4.

Solidity: function verifyRelayerAndPackage(uint64 eventTime, bytes _payload, bytes _blsSignature, uint256 _validatorSetBitMap) view returns(bool)

func (*GreenfieldlightclientCallerSession) VersionInfo

func (_Greenfieldlightclient *GreenfieldlightclientCallerSession) VersionInfo() (struct {
	Version     *big.Int
	Name        string
	Description string
}, error)

VersionInfo is a free data retrieval call binding the contract method 0xa21d1354.

Solidity: function versionInfo() pure returns(uint256 version, string name, string description)

type GreenfieldlightclientFilterer

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

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

func NewGreenfieldlightclientFilterer

func NewGreenfieldlightclientFilterer(address common.Address, filterer bind.ContractFilterer) (*GreenfieldlightclientFilterer, error)

NewGreenfieldlightclientFilterer creates a new log filterer instance of Greenfieldlightclient, bound to a specific deployed contract.

func (*GreenfieldlightclientFilterer) FilterInitConsensusState

func (_Greenfieldlightclient *GreenfieldlightclientFilterer) FilterInitConsensusState(opts *bind.FilterOpts) (*GreenfieldlightclientInitConsensusStateIterator, error)

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

Solidity: event InitConsensusState(uint64 height)

func (*GreenfieldlightclientFilterer) FilterInitialized

func (_Greenfieldlightclient *GreenfieldlightclientFilterer) FilterInitialized(opts *bind.FilterOpts) (*GreenfieldlightclientInitializedIterator, error)

FilterInitialized is a free log retrieval operation binding the contract event 0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498.

Solidity: event Initialized(uint8 version)

func (*GreenfieldlightclientFilterer) FilterParamChange

func (_Greenfieldlightclient *GreenfieldlightclientFilterer) FilterParamChange(opts *bind.FilterOpts) (*GreenfieldlightclientParamChangeIterator, error)

FilterParamChange is a free log retrieval operation binding the contract event 0xf1ce9b2cbf50eeb05769a29e2543fd350cab46894a7dd9978a12d534bb20e633.

Solidity: event ParamChange(string key, bytes value)

func (*GreenfieldlightclientFilterer) FilterUpdatedConsensusState

func (_Greenfieldlightclient *GreenfieldlightclientFilterer) FilterUpdatedConsensusState(opts *bind.FilterOpts) (*GreenfieldlightclientUpdatedConsensusStateIterator, error)

FilterUpdatedConsensusState is a free log retrieval operation binding the contract event 0xa44b844260c407b2179345e959e21dad09b1630c624779683c7cbbdd8b6ecd7b.

Solidity: event UpdatedConsensusState(uint64 height, bool validatorSetChanged)

func (*GreenfieldlightclientFilterer) ParseInitConsensusState

func (_Greenfieldlightclient *GreenfieldlightclientFilterer) ParseInitConsensusState(log types.Log) (*GreenfieldlightclientInitConsensusState, error)

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

Solidity: event InitConsensusState(uint64 height)

func (*GreenfieldlightclientFilterer) ParseInitialized

func (_Greenfieldlightclient *GreenfieldlightclientFilterer) ParseInitialized(log types.Log) (*GreenfieldlightclientInitialized, error)

ParseInitialized is a log parse operation binding the contract event 0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498.

Solidity: event Initialized(uint8 version)

func (*GreenfieldlightclientFilterer) ParseParamChange

func (_Greenfieldlightclient *GreenfieldlightclientFilterer) ParseParamChange(log types.Log) (*GreenfieldlightclientParamChange, error)

ParseParamChange is a log parse operation binding the contract event 0xf1ce9b2cbf50eeb05769a29e2543fd350cab46894a7dd9978a12d534bb20e633.

Solidity: event ParamChange(string key, bytes value)

func (*GreenfieldlightclientFilterer) ParseUpdatedConsensusState

func (_Greenfieldlightclient *GreenfieldlightclientFilterer) ParseUpdatedConsensusState(log types.Log) (*GreenfieldlightclientUpdatedConsensusState, error)

ParseUpdatedConsensusState is a log parse operation binding the contract event 0xa44b844260c407b2179345e959e21dad09b1630c624779683c7cbbdd8b6ecd7b.

Solidity: event UpdatedConsensusState(uint64 height, bool validatorSetChanged)

func (*GreenfieldlightclientFilterer) WatchInitConsensusState

func (_Greenfieldlightclient *GreenfieldlightclientFilterer) WatchInitConsensusState(opts *bind.WatchOpts, sink chan<- *GreenfieldlightclientInitConsensusState) (event.Subscription, error)

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

Solidity: event InitConsensusState(uint64 height)

func (*GreenfieldlightclientFilterer) WatchInitialized

func (_Greenfieldlightclient *GreenfieldlightclientFilterer) WatchInitialized(opts *bind.WatchOpts, sink chan<- *GreenfieldlightclientInitialized) (event.Subscription, error)

WatchInitialized is a free log subscription operation binding the contract event 0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498.

Solidity: event Initialized(uint8 version)

func (*GreenfieldlightclientFilterer) WatchParamChange

func (_Greenfieldlightclient *GreenfieldlightclientFilterer) WatchParamChange(opts *bind.WatchOpts, sink chan<- *GreenfieldlightclientParamChange) (event.Subscription, error)

WatchParamChange is a free log subscription operation binding the contract event 0xf1ce9b2cbf50eeb05769a29e2543fd350cab46894a7dd9978a12d534bb20e633.

Solidity: event ParamChange(string key, bytes value)

func (*GreenfieldlightclientFilterer) WatchUpdatedConsensusState

func (_Greenfieldlightclient *GreenfieldlightclientFilterer) WatchUpdatedConsensusState(opts *bind.WatchOpts, sink chan<- *GreenfieldlightclientUpdatedConsensusState) (event.Subscription, error)

WatchUpdatedConsensusState is a free log subscription operation binding the contract event 0xa44b844260c407b2179345e959e21dad09b1630c624779683c7cbbdd8b6ecd7b.

Solidity: event UpdatedConsensusState(uint64 height, bool validatorSetChanged)

type GreenfieldlightclientInitConsensusState

type GreenfieldlightclientInitConsensusState struct {
	Height uint64
	Raw    types.Log // Blockchain specific contextual infos
}

GreenfieldlightclientInitConsensusState represents a InitConsensusState event raised by the Greenfieldlightclient contract.

type GreenfieldlightclientInitConsensusStateIterator

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

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

func (*GreenfieldlightclientInitConsensusStateIterator) Close

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

func (*GreenfieldlightclientInitConsensusStateIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*GreenfieldlightclientInitConsensusStateIterator) 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 GreenfieldlightclientInitialized

type GreenfieldlightclientInitialized struct {
	Version uint8
	Raw     types.Log // Blockchain specific contextual infos
}

GreenfieldlightclientInitialized represents a Initialized event raised by the Greenfieldlightclient contract.

type GreenfieldlightclientInitializedIterator

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

GreenfieldlightclientInitializedIterator is returned from FilterInitialized and is used to iterate over the raw logs and unpacked data for Initialized events raised by the Greenfieldlightclient contract.

func (*GreenfieldlightclientInitializedIterator) Close

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

func (*GreenfieldlightclientInitializedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*GreenfieldlightclientInitializedIterator) 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 GreenfieldlightclientParamChange

type GreenfieldlightclientParamChange struct {
	Key   string
	Value []byte
	Raw   types.Log // Blockchain specific contextual infos
}

GreenfieldlightclientParamChange represents a ParamChange event raised by the Greenfieldlightclient contract.

type GreenfieldlightclientParamChangeIterator

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

GreenfieldlightclientParamChangeIterator is returned from FilterParamChange and is used to iterate over the raw logs and unpacked data for ParamChange events raised by the Greenfieldlightclient contract.

func (*GreenfieldlightclientParamChangeIterator) Close

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

func (*GreenfieldlightclientParamChangeIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*GreenfieldlightclientParamChangeIterator) 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 GreenfieldlightclientRaw

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

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

func (*GreenfieldlightclientRaw) Call

func (_Greenfieldlightclient *GreenfieldlightclientRaw) 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 (*GreenfieldlightclientRaw) Transact

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

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

func (*GreenfieldlightclientRaw) Transfer

func (_Greenfieldlightclient *GreenfieldlightclientRaw) 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 GreenfieldlightclientSession

type GreenfieldlightclientSession struct {
	Contract     *Greenfieldlightclient // 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
}

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

func (*GreenfieldlightclientSession) BLSSIGNATURELENGTH

func (_Greenfieldlightclient *GreenfieldlightclientSession) BLSSIGNATURELENGTH() (*big.Int, error)

BLSSIGNATURELENGTH is a free data retrieval call binding the contract method 0xdfe5b236.

Solidity: function BLS_SIGNATURE_LENGTH() view returns(uint256)

func (*GreenfieldlightclientSession) BUCKETCHANNELID

func (_Greenfieldlightclient *GreenfieldlightclientSession) BUCKETCHANNELID() (uint8, error)

BUCKETCHANNELID is a free data retrieval call binding the contract method 0x73f1e3c3.

Solidity: function BUCKET_CHANNEL_ID() view returns(uint8)

func (*GreenfieldlightclientSession) BUCKETHUB

func (_Greenfieldlightclient *GreenfieldlightclientSession) BUCKETHUB() (common.Address, error)

BUCKETHUB is a free data retrieval call binding the contract method 0x7afffdd2.

Solidity: function BUCKET_HUB() view returns(address)

func (*GreenfieldlightclientSession) BlsPubKeys

func (_Greenfieldlightclient *GreenfieldlightclientSession) BlsPubKeys() ([]byte, error)

BlsPubKeys is a free data retrieval call binding the contract method 0xbb9dae06.

Solidity: function blsPubKeys() view returns(bytes _blsPubKeys)

func (*GreenfieldlightclientSession) CHAINIDLENGTH

func (_Greenfieldlightclient *GreenfieldlightclientSession) CHAINIDLENGTH() (*big.Int, error)

CHAINIDLENGTH is a free data retrieval call binding the contract method 0x72ca1fe3.

Solidity: function CHAIN_ID_LENGTH() view returns(uint256)

func (*GreenfieldlightclientSession) CONSENSUSSTATEBASELENGTH

func (_Greenfieldlightclient *GreenfieldlightclientSession) CONSENSUSSTATEBASELENGTH() (*big.Int, error)

CONSENSUSSTATEBASELENGTH is a free data retrieval call binding the contract method 0x7e8982bd.

Solidity: function CONSENSUS_STATE_BASE_LENGTH() view returns(uint256)

func (*GreenfieldlightclientSession) CONSENSUSSTATEBYTESLENGTH

func (_Greenfieldlightclient *GreenfieldlightclientSession) CONSENSUSSTATEBYTESLENGTH() (*big.Int, error)

CONSENSUSSTATEBYTESLENGTH is a free data retrieval call binding the contract method 0xdefd63f1.

Solidity: function CONSENSUS_STATE_BYTES_LENGTH() view returns(uint256)

func (*GreenfieldlightclientSession) CROSSCHAIN

func (_Greenfieldlightclient *GreenfieldlightclientSession) CROSSCHAIN() (common.Address, error)

CROSSCHAIN is a free data retrieval call binding the contract method 0x557cf477.

Solidity: function CROSS_CHAIN() view returns(address)

func (*GreenfieldlightclientSession) ChainID

func (_Greenfieldlightclient *GreenfieldlightclientSession) ChainID() ([32]byte, error)

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

Solidity: function chainID() view returns(bytes32)

func (*GreenfieldlightclientSession) ConfigSlots

func (_Greenfieldlightclient *GreenfieldlightclientSession) ConfigSlots(arg0 *big.Int) (*big.Int, error)

ConfigSlots is a free data retrieval call binding the contract method 0xb76e4aca.

Solidity: function ConfigSlots(uint256 ) view returns(uint256)

func (*GreenfieldlightclientSession) ConsensusStateBytes

func (_Greenfieldlightclient *GreenfieldlightclientSession) ConsensusStateBytes() ([]byte, error)

ConsensusStateBytes is a free data retrieval call binding the contract method 0x82e2111c.

Solidity: function consensusStateBytes() view returns(bytes)

func (*GreenfieldlightclientSession) GOVCHANNELID

func (_Greenfieldlightclient *GreenfieldlightclientSession) GOVCHANNELID() (uint8, error)

GOVCHANNELID is a free data retrieval call binding the contract method 0x81d91480.

Solidity: function GOV_CHANNEL_ID() view returns(uint8)

func (*GreenfieldlightclientSession) GOVHUB

func (_Greenfieldlightclient *GreenfieldlightclientSession) GOVHUB() (common.Address, error)

GOVHUB is a free data retrieval call binding the contract method 0xa9dae71c.

Solidity: function GOV_HUB() view returns(address)

func (*GreenfieldlightclientSession) GROUPCHANNELID

func (_Greenfieldlightclient *GreenfieldlightclientSession) GROUPCHANNELID() (uint8, error)

GROUPCHANNELID is a free data retrieval call binding the contract method 0xe02e86b0.

Solidity: function GROUP_CHANNEL_ID() view returns(uint8)

func (*GreenfieldlightclientSession) GROUPHUB

func (_Greenfieldlightclient *GreenfieldlightclientSession) GROUPHUB() (common.Address, error)

GROUPHUB is a free data retrieval call binding the contract method 0x46934fc8.

Solidity: function GROUP_HUB() view returns(address)

func (*GreenfieldlightclientSession) GetInturnRelayer

func (_Greenfieldlightclient *GreenfieldlightclientSession) GetInturnRelayer() (ILightClientInturnRelayer, error)

GetInturnRelayer is a free data retrieval call binding the contract method 0x3baa2219.

Solidity: function getInturnRelayer() view returns((address,bytes,uint256,uint256) relayer)

func (*GreenfieldlightclientSession) GetInturnRelayerAddress

func (_Greenfieldlightclient *GreenfieldlightclientSession) GetInturnRelayerAddress() (common.Address, error)

GetInturnRelayerAddress is a free data retrieval call binding the contract method 0xd5b0f519.

Solidity: function getInturnRelayerAddress() view returns(address)

func (*GreenfieldlightclientSession) GetInturnRelayerBlsPubKey

func (_Greenfieldlightclient *GreenfieldlightclientSession) GetInturnRelayerBlsPubKey() ([]byte, error)

GetInturnRelayerBlsPubKey is a free data retrieval call binding the contract method 0x56bbb6e7.

Solidity: function getInturnRelayerBlsPubKey() view returns(bytes)

func (*GreenfieldlightclientSession) GetRelayers

func (_Greenfieldlightclient *GreenfieldlightclientSession) GetRelayers() ([]common.Address, error)

GetRelayers is a free data retrieval call binding the contract method 0x179ff4b2.

Solidity: function getRelayers() view returns(address[])

func (*GreenfieldlightclientSession) GnfdHeight

func (_Greenfieldlightclient *GreenfieldlightclientSession) GnfdHeight() (uint64, error)

GnfdHeight is a free data retrieval call binding the contract method 0x64118b9e.

Solidity: function gnfdHeight() view returns(uint64)

func (*GreenfieldlightclientSession) HEADERVALIDATECONTRACT

func (_Greenfieldlightclient *GreenfieldlightclientSession) HEADERVALIDATECONTRACT() (common.Address, error)

HEADERVALIDATECONTRACT is a free data retrieval call binding the contract method 0x9c079c59.

Solidity: function HEADER_VALIDATE_CONTRACT() view returns(address)

func (*GreenfieldlightclientSession) HEIGHTLENGTH

func (_Greenfieldlightclient *GreenfieldlightclientSession) HEIGHTLENGTH() (*big.Int, error)

HEIGHTLENGTH is a free data retrieval call binding the contract method 0x83e3a498.

Solidity: function HEIGHT_LENGTH() view returns(uint256)

func (*GreenfieldlightclientSession) InTurnRelayerRelayInterval

func (_Greenfieldlightclient *GreenfieldlightclientSession) InTurnRelayerRelayInterval() (*big.Int, error)

InTurnRelayerRelayInterval is a free data retrieval call binding the contract method 0x3f8e2a84.

Solidity: function inTurnRelayerRelayInterval() view returns(uint256)

func (*GreenfieldlightclientSession) InTurnRelayerValidityPeriod

func (_Greenfieldlightclient *GreenfieldlightclientSession) InTurnRelayerValidityPeriod() (*big.Int, error)

InTurnRelayerValidityPeriod is a free data retrieval call binding the contract method 0xf4efa5a7.

Solidity: function inTurnRelayerValidityPeriod() view returns(uint256)

func (*GreenfieldlightclientSession) Initialize

func (_Greenfieldlightclient *GreenfieldlightclientSession) Initialize(_initConsensusStateBytes []byte) (*types.Transaction, error)

Initialize is a paid mutator transaction binding the contract method 0x439fab91.

Solidity: function initialize(bytes _initConsensusStateBytes) returns()

func (*GreenfieldlightclientSession) IsRelayer

func (_Greenfieldlightclient *GreenfieldlightclientSession) IsRelayer(arg0 common.Address) (bool, error)

IsRelayer is a free data retrieval call binding the contract method 0x541d5548.

Solidity: function isRelayer(address ) view returns(bool)

func (*GreenfieldlightclientSession) LIGHTCLIENT

func (_Greenfieldlightclient *GreenfieldlightclientSession) LIGHTCLIENT() (common.Address, error)

LIGHTCLIENT is a free data retrieval call binding the contract method 0xe613ae00.

Solidity: function LIGHT_CLIENT() view returns(address)

func (*GreenfieldlightclientSession) MESSAGEHASHLENGTH

func (_Greenfieldlightclient *GreenfieldlightclientSession) MESSAGEHASHLENGTH() (*big.Int, error)

MESSAGEHASHLENGTH is a free data retrieval call binding the contract method 0x4de2b60a.

Solidity: function MESSAGE_HASH_LENGTH() view returns(uint256)

func (*GreenfieldlightclientSession) NextValidatorSetHash

func (_Greenfieldlightclient *GreenfieldlightclientSession) NextValidatorSetHash() ([32]byte, error)

NextValidatorSetHash is a free data retrieval call binding the contract method 0x752d3b89.

Solidity: function nextValidatorSetHash() view returns(bytes32)

func (*GreenfieldlightclientSession) OBJECTCHANNELID

func (_Greenfieldlightclient *GreenfieldlightclientSession) OBJECTCHANNELID() (uint8, error)

OBJECTCHANNELID is a free data retrieval call binding the contract method 0xeac78b33.

Solidity: function OBJECT_CHANNEL_ID() view returns(uint8)

func (*GreenfieldlightclientSession) OBJECTHUB

func (_Greenfieldlightclient *GreenfieldlightclientSession) OBJECTHUB() (common.Address, error)

OBJECTHUB is a free data retrieval call binding the contract method 0x7d2e3084.

Solidity: function OBJECT_HUB() view returns(address)

func (*GreenfieldlightclientSession) PACKAGEVERIFYCONTRACT

func (_Greenfieldlightclient *GreenfieldlightclientSession) PACKAGEVERIFYCONTRACT() (common.Address, error)

PACKAGEVERIFYCONTRACT is a free data retrieval call binding the contract method 0x86a780c5.

Solidity: function PACKAGE_VERIFY_CONTRACT() view returns(address)

func (*GreenfieldlightclientSession) PROXYADMIN

func (_Greenfieldlightclient *GreenfieldlightclientSession) PROXYADMIN() (common.Address, error)

PROXYADMIN is a free data retrieval call binding the contract method 0xed9bc82a.

Solidity: function PROXY_ADMIN() view returns(address)

func (*GreenfieldlightclientSession) RELAYERADDRESSLENGTH

func (_Greenfieldlightclient *GreenfieldlightclientSession) RELAYERADDRESSLENGTH() (*big.Int, error)

RELAYERADDRESSLENGTH is a free data retrieval call binding the contract method 0x7896b4e4.

Solidity: function RELAYER_ADDRESS_LENGTH() view returns(uint256)

func (*GreenfieldlightclientSession) RELAYERBLSKEYLENGTH

func (_Greenfieldlightclient *GreenfieldlightclientSession) RELAYERBLSKEYLENGTH() (*big.Int, error)

RELAYERBLSKEYLENGTH is a free data retrieval call binding the contract method 0x092e7ddb.

Solidity: function RELAYER_BLS_KEY_LENGTH() view returns(uint256)

func (*GreenfieldlightclientSession) RELAYERHUB

func (_Greenfieldlightclient *GreenfieldlightclientSession) RELAYERHUB() (common.Address, error)

RELAYERHUB is a free data retrieval call binding the contract method 0xb9d86913.

Solidity: function RELAYER_HUB() view returns(address)

func (*GreenfieldlightclientSession) Submitters

func (_Greenfieldlightclient *GreenfieldlightclientSession) Submitters(arg0 uint64) (common.Address, error)

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

Solidity: function submitters(uint64 ) view returns(address)

func (*GreenfieldlightclientSession) SyncLightBlock

func (_Greenfieldlightclient *GreenfieldlightclientSession) SyncLightBlock(_lightBlock []byte, _height uint64) (*types.Transaction, error)

SyncLightBlock is a paid mutator transaction binding the contract method 0xff08c81e.

Solidity: function syncLightBlock(bytes _lightBlock, uint64 _height) returns(bool)

func (*GreenfieldlightclientSession) TOKENHUB

func (_Greenfieldlightclient *GreenfieldlightclientSession) TOKENHUB() (common.Address, error)

TOKENHUB is a free data retrieval call binding the contract method 0x6d3358a1.

Solidity: function TOKEN_HUB() view returns(address)

func (*GreenfieldlightclientSession) TRANSFERINCHANNELID

func (_Greenfieldlightclient *GreenfieldlightclientSession) TRANSFERINCHANNELID() (uint8, error)

TRANSFERINCHANNELID is a free data retrieval call binding the contract method 0xcc12eabc.

Solidity: function TRANSFER_IN_CHANNEL_ID() view returns(uint8)

func (*GreenfieldlightclientSession) TRANSFEROUTCHANNELID

func (_Greenfieldlightclient *GreenfieldlightclientSession) TRANSFEROUTCHANNELID() (uint8, error)

TRANSFEROUTCHANNELID is a free data retrieval call binding the contract method 0x618d569c.

Solidity: function TRANSFER_OUT_CHANNEL_ID() view returns(uint8)

func (*GreenfieldlightclientSession) UpdateParam

func (_Greenfieldlightclient *GreenfieldlightclientSession) UpdateParam(key string, value []byte) (*types.Transaction, error)

UpdateParam is a paid mutator transaction binding the contract method 0xac431751.

Solidity: function updateParam(string key, bytes value) returns()

func (*GreenfieldlightclientSession) VALIDATORBYTESLENGTH

func (_Greenfieldlightclient *GreenfieldlightclientSession) VALIDATORBYTESLENGTH() (*big.Int, error)

VALIDATORBYTESLENGTH is a free data retrieval call binding the contract method 0x8272ecde.

Solidity: function VALIDATOR_BYTES_LENGTH() view returns(uint256)

func (*GreenfieldlightclientSession) VALIDATORPUBKEYLENGTH

func (_Greenfieldlightclient *GreenfieldlightclientSession) VALIDATORPUBKEYLENGTH() (*big.Int, error)

VALIDATORPUBKEYLENGTH is a free data retrieval call binding the contract method 0x76b7416b.

Solidity: function VALIDATOR_PUB_KEY_LENGTH() view returns(uint256)

func (*GreenfieldlightclientSession) VALIDATORSETHASHLENGTH

func (_Greenfieldlightclient *GreenfieldlightclientSession) VALIDATORSETHASHLENGTH() (*big.Int, error)

VALIDATORSETHASHLENGTH is a free data retrieval call binding the contract method 0xd785e50e.

Solidity: function VALIDATOR_SET_HASH_LENGTH() view returns(uint256)

func (*GreenfieldlightclientSession) VALIDATORVOTINGPOWERLENGTH

func (_Greenfieldlightclient *GreenfieldlightclientSession) VALIDATORVOTINGPOWERLENGTH() (*big.Int, error)

VALIDATORVOTINGPOWERLENGTH is a free data retrieval call binding the contract method 0x66952964.

Solidity: function VALIDATOR_VOTING_POWER_LENGTH() view returns(uint256)

func (*GreenfieldlightclientSession) ValidatorSet

func (_Greenfieldlightclient *GreenfieldlightclientSession) ValidatorSet(arg0 *big.Int) (struct {
	PubKey         [32]byte
	VotingPower    int64
	RelayerAddress common.Address
	RelayerBlsKey  []byte
}, error)

ValidatorSet is a free data retrieval call binding the contract method 0xe64808f3.

Solidity: function validatorSet(uint256 ) view returns(bytes32 pubKey, int64 votingPower, address relayerAddress, bytes relayerBlsKey)

func (*GreenfieldlightclientSession) VerifyPackage

func (_Greenfieldlightclient *GreenfieldlightclientSession) VerifyPackage(_payload []byte, _blsSignature []byte, _validatorSetBitMap *big.Int) (bool, error)

VerifyPackage is a free data retrieval call binding the contract method 0xd527fba1.

Solidity: function verifyPackage(bytes _payload, bytes _blsSignature, uint256 _validatorSetBitMap) view returns(bool)

func (*GreenfieldlightclientSession) VerifyRelayerAndPackage

func (_Greenfieldlightclient *GreenfieldlightclientSession) VerifyRelayerAndPackage(eventTime uint64, _payload []byte, _blsSignature []byte, _validatorSetBitMap *big.Int) (bool, error)

VerifyRelayerAndPackage is a free data retrieval call binding the contract method 0xf2acebd4.

Solidity: function verifyRelayerAndPackage(uint64 eventTime, bytes _payload, bytes _blsSignature, uint256 _validatorSetBitMap) view returns(bool)

func (*GreenfieldlightclientSession) VersionInfo

func (_Greenfieldlightclient *GreenfieldlightclientSession) VersionInfo() (struct {
	Version     *big.Int
	Name        string
	Description string
}, error)

VersionInfo is a free data retrieval call binding the contract method 0xa21d1354.

Solidity: function versionInfo() pure returns(uint256 version, string name, string description)

type GreenfieldlightclientTransactor

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

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

func NewGreenfieldlightclientTransactor

func NewGreenfieldlightclientTransactor(address common.Address, transactor bind.ContractTransactor) (*GreenfieldlightclientTransactor, error)

NewGreenfieldlightclientTransactor creates a new write-only instance of Greenfieldlightclient, bound to a specific deployed contract.

func (*GreenfieldlightclientTransactor) Initialize

func (_Greenfieldlightclient *GreenfieldlightclientTransactor) Initialize(opts *bind.TransactOpts, _initConsensusStateBytes []byte) (*types.Transaction, error)

Initialize is a paid mutator transaction binding the contract method 0x439fab91.

Solidity: function initialize(bytes _initConsensusStateBytes) returns()

func (*GreenfieldlightclientTransactor) SyncLightBlock

func (_Greenfieldlightclient *GreenfieldlightclientTransactor) SyncLightBlock(opts *bind.TransactOpts, _lightBlock []byte, _height uint64) (*types.Transaction, error)

SyncLightBlock is a paid mutator transaction binding the contract method 0xff08c81e.

Solidity: function syncLightBlock(bytes _lightBlock, uint64 _height) returns(bool)

func (*GreenfieldlightclientTransactor) UpdateParam

func (_Greenfieldlightclient *GreenfieldlightclientTransactor) UpdateParam(opts *bind.TransactOpts, key string, value []byte) (*types.Transaction, error)

UpdateParam is a paid mutator transaction binding the contract method 0xac431751.

Solidity: function updateParam(string key, bytes value) returns()

type GreenfieldlightclientTransactorRaw

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

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

func (*GreenfieldlightclientTransactorRaw) Transact

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

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

func (*GreenfieldlightclientTransactorRaw) Transfer

func (_Greenfieldlightclient *GreenfieldlightclientTransactorRaw) 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 GreenfieldlightclientTransactorSession

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

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

func (*GreenfieldlightclientTransactorSession) Initialize

func (_Greenfieldlightclient *GreenfieldlightclientTransactorSession) Initialize(_initConsensusStateBytes []byte) (*types.Transaction, error)

Initialize is a paid mutator transaction binding the contract method 0x439fab91.

Solidity: function initialize(bytes _initConsensusStateBytes) returns()

func (*GreenfieldlightclientTransactorSession) SyncLightBlock

func (_Greenfieldlightclient *GreenfieldlightclientTransactorSession) SyncLightBlock(_lightBlock []byte, _height uint64) (*types.Transaction, error)

SyncLightBlock is a paid mutator transaction binding the contract method 0xff08c81e.

Solidity: function syncLightBlock(bytes _lightBlock, uint64 _height) returns(bool)

func (*GreenfieldlightclientTransactorSession) UpdateParam

func (_Greenfieldlightclient *GreenfieldlightclientTransactorSession) UpdateParam(key string, value []byte) (*types.Transaction, error)

UpdateParam is a paid mutator transaction binding the contract method 0xac431751.

Solidity: function updateParam(string key, bytes value) returns()

type GreenfieldlightclientUpdatedConsensusState

type GreenfieldlightclientUpdatedConsensusState struct {
	Height              uint64
	ValidatorSetChanged bool
	Raw                 types.Log // Blockchain specific contextual infos
}

GreenfieldlightclientUpdatedConsensusState represents a UpdatedConsensusState event raised by the Greenfieldlightclient contract.

type GreenfieldlightclientUpdatedConsensusStateIterator

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

GreenfieldlightclientUpdatedConsensusStateIterator is returned from FilterUpdatedConsensusState and is used to iterate over the raw logs and unpacked data for UpdatedConsensusState events raised by the Greenfieldlightclient contract.

func (*GreenfieldlightclientUpdatedConsensusStateIterator) Close

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

func (*GreenfieldlightclientUpdatedConsensusStateIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*GreenfieldlightclientUpdatedConsensusStateIterator) 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 ILightClientInturnRelayer

type ILightClientInturnRelayer struct {
	Addr   common.Address
	BlsKey []byte
	Start  *big.Int
	End    *big.Int
}

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

Jump to

Keyboard shortcuts

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