statereceiver

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Mar 21, 2020 License: GPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const StatereceiverABI = "" /* 2085-byte string literal not displayed */

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

Variables

This section is empty.

Functions

This section is empty.

Types

type Statereceiver

type Statereceiver struct {
	StatereceiverCaller     // Read-only binding to the contract
	StatereceiverTransactor // Write-only binding to the contract
	StatereceiverFilterer   // Log filterer for contract events
}

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

func NewStatereceiver

func NewStatereceiver(address common.Address, backend bind.ContractBackend) (*Statereceiver, error)

NewStatereceiver creates a new instance of Statereceiver, bound to a specific deployed contract.

type StatereceiverCaller

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

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

func NewStatereceiverCaller

func NewStatereceiverCaller(address common.Address, caller bind.ContractCaller) (*StatereceiverCaller, error)

NewStatereceiverCaller creates a new read-only instance of Statereceiver, bound to a specific deployed contract.

func (*StatereceiverCaller) GetPendingStates

func (_Statereceiver *StatereceiverCaller) GetPendingStates(opts *bind.CallOpts) ([]*big.Int, error)

GetPendingStates is a free data retrieval call binding the contract method 0x21ec23b6.

Solidity: function getPendingStates() constant returns(uint256[])

func (*StatereceiverCaller) IsProducer

func (_Statereceiver *StatereceiverCaller) IsProducer(opts *bind.CallOpts, signer common.Address) (bool, error)

IsProducer is a free data retrieval call binding the contract method 0xf5521022.

Solidity: function isProducer(address signer) constant returns(bool)

func (*StatereceiverCaller) IsValidator

func (_Statereceiver *StatereceiverCaller) IsValidator(opts *bind.CallOpts, signer common.Address) (bool, error)

IsValidator is a free data retrieval call binding the contract method 0xfacd743b.

Solidity: function isValidator(address signer) constant returns(bool)

func (*StatereceiverCaller) IsValidatorSetContract

func (_Statereceiver *StatereceiverCaller) IsValidatorSetContract(opts *bind.CallOpts) (bool, error)

IsValidatorSetContract is a free data retrieval call binding the contract method 0xd79e60b7.

Solidity: function isValidatorSetContract() constant returns(bool)

func (*StatereceiverCaller) SYSTEMADDRESS

func (_Statereceiver *StatereceiverCaller) SYSTEMADDRESS(opts *bind.CallOpts) (common.Address, error)

SYSTEMADDRESS is a free data retrieval call binding the contract method 0x3434735f.

Solidity: function SYSTEM_ADDRESS() constant returns(address)

func (*StatereceiverCaller) States

func (_Statereceiver *StatereceiverCaller) States(opts *bind.CallOpts, arg0 *big.Int) (bool, error)

States is a free data retrieval call binding the contract method 0x017a9105.

Solidity: function states(uint256 ) constant returns(bool)

func (*StatereceiverCaller) ValidatorSet

func (_Statereceiver *StatereceiverCaller) ValidatorSet(opts *bind.CallOpts) (common.Address, error)

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

Solidity: function validatorSet() constant returns(address)

type StatereceiverCallerRaw

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

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

func (*StatereceiverCallerRaw) Call

func (_Statereceiver *StatereceiverCallerRaw) 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 StatereceiverCallerSession

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

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

func (*StatereceiverCallerSession) GetPendingStates

func (_Statereceiver *StatereceiverCallerSession) GetPendingStates() ([]*big.Int, error)

GetPendingStates is a free data retrieval call binding the contract method 0x21ec23b6.

Solidity: function getPendingStates() constant returns(uint256[])

func (*StatereceiverCallerSession) IsProducer

func (_Statereceiver *StatereceiverCallerSession) IsProducer(signer common.Address) (bool, error)

IsProducer is a free data retrieval call binding the contract method 0xf5521022.

Solidity: function isProducer(address signer) constant returns(bool)

func (*StatereceiverCallerSession) IsValidator

func (_Statereceiver *StatereceiverCallerSession) IsValidator(signer common.Address) (bool, error)

IsValidator is a free data retrieval call binding the contract method 0xfacd743b.

Solidity: function isValidator(address signer) constant returns(bool)

func (*StatereceiverCallerSession) IsValidatorSetContract

func (_Statereceiver *StatereceiverCallerSession) IsValidatorSetContract() (bool, error)

IsValidatorSetContract is a free data retrieval call binding the contract method 0xd79e60b7.

Solidity: function isValidatorSetContract() constant returns(bool)

func (*StatereceiverCallerSession) SYSTEMADDRESS

func (_Statereceiver *StatereceiverCallerSession) SYSTEMADDRESS() (common.Address, error)

SYSTEMADDRESS is a free data retrieval call binding the contract method 0x3434735f.

Solidity: function SYSTEM_ADDRESS() constant returns(address)

func (*StatereceiverCallerSession) States

func (_Statereceiver *StatereceiverCallerSession) States(arg0 *big.Int) (bool, error)

States is a free data retrieval call binding the contract method 0x017a9105.

Solidity: function states(uint256 ) constant returns(bool)

func (*StatereceiverCallerSession) ValidatorSet

func (_Statereceiver *StatereceiverCallerSession) ValidatorSet() (common.Address, error)

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

Solidity: function validatorSet() constant returns(address)

type StatereceiverFilterer

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

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

func NewStatereceiverFilterer

func NewStatereceiverFilterer(address common.Address, filterer bind.ContractFilterer) (*StatereceiverFilterer, error)

NewStatereceiverFilterer creates a new log filterer instance of Statereceiver, bound to a specific deployed contract.

type StatereceiverRaw

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

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

func (*StatereceiverRaw) Call

func (_Statereceiver *StatereceiverRaw) 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 (*StatereceiverRaw) Transact

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

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

func (*StatereceiverRaw) Transfer

func (_Statereceiver *StatereceiverRaw) 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 StatereceiverSession

type StatereceiverSession struct {
	Contract     *Statereceiver    // 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
}

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

func (*StatereceiverSession) CommitState

func (_Statereceiver *StatereceiverSession) CommitState(recordBytes []byte) (*types.Transaction, error)

CommitState is a paid mutator transaction binding the contract method 0x080356b7.

Solidity: function commitState(bytes recordBytes) returns()

func (*StatereceiverSession) GetPendingStates

func (_Statereceiver *StatereceiverSession) GetPendingStates() ([]*big.Int, error)

GetPendingStates is a free data retrieval call binding the contract method 0x21ec23b6.

Solidity: function getPendingStates() constant returns(uint256[])

func (*StatereceiverSession) IsProducer

func (_Statereceiver *StatereceiverSession) IsProducer(signer common.Address) (bool, error)

IsProducer is a free data retrieval call binding the contract method 0xf5521022.

Solidity: function isProducer(address signer) constant returns(bool)

func (*StatereceiverSession) IsValidator

func (_Statereceiver *StatereceiverSession) IsValidator(signer common.Address) (bool, error)

IsValidator is a free data retrieval call binding the contract method 0xfacd743b.

Solidity: function isValidator(address signer) constant returns(bool)

func (*StatereceiverSession) IsValidatorSetContract

func (_Statereceiver *StatereceiverSession) IsValidatorSetContract() (bool, error)

IsValidatorSetContract is a free data retrieval call binding the contract method 0xd79e60b7.

Solidity: function isValidatorSetContract() constant returns(bool)

func (*StatereceiverSession) ProposeState

func (_Statereceiver *StatereceiverSession) ProposeState(stateId *big.Int) (*types.Transaction, error)

ProposeState is a paid mutator transaction binding the contract method 0xede01f17.

Solidity: function proposeState(uint256 stateId) returns()

func (*StatereceiverSession) SYSTEMADDRESS

func (_Statereceiver *StatereceiverSession) SYSTEMADDRESS() (common.Address, error)

SYSTEMADDRESS is a free data retrieval call binding the contract method 0x3434735f.

Solidity: function SYSTEM_ADDRESS() constant returns(address)

func (*StatereceiverSession) States

func (_Statereceiver *StatereceiverSession) States(arg0 *big.Int) (bool, error)

States is a free data retrieval call binding the contract method 0x017a9105.

Solidity: function states(uint256 ) constant returns(bool)

func (*StatereceiverSession) ValidateValidatorSet

func (_Statereceiver *StatereceiverSession) ValidateValidatorSet(vote []byte, sigs []byte, txBytes []byte, proof []byte) (*types.Transaction, error)

ValidateValidatorSet is a paid mutator transaction binding the contract method 0xd0504f89.

Solidity: function validateValidatorSet(bytes vote, bytes sigs, bytes txBytes, bytes proof) returns()

func (*StatereceiverSession) ValidatorSet

func (_Statereceiver *StatereceiverSession) ValidatorSet() (common.Address, error)

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

Solidity: function validatorSet() constant returns(address)

type StatereceiverTransactor

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

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

func NewStatereceiverTransactor

func NewStatereceiverTransactor(address common.Address, transactor bind.ContractTransactor) (*StatereceiverTransactor, error)

NewStatereceiverTransactor creates a new write-only instance of Statereceiver, bound to a specific deployed contract.

func (*StatereceiverTransactor) CommitState

func (_Statereceiver *StatereceiverTransactor) CommitState(opts *bind.TransactOpts, recordBytes []byte) (*types.Transaction, error)

CommitState is a paid mutator transaction binding the contract method 0x080356b7.

Solidity: function commitState(bytes recordBytes) returns()

func (*StatereceiverTransactor) ProposeState

func (_Statereceiver *StatereceiverTransactor) ProposeState(opts *bind.TransactOpts, stateId *big.Int) (*types.Transaction, error)

ProposeState is a paid mutator transaction binding the contract method 0xede01f17.

Solidity: function proposeState(uint256 stateId) returns()

func (*StatereceiverTransactor) ValidateValidatorSet

func (_Statereceiver *StatereceiverTransactor) ValidateValidatorSet(opts *bind.TransactOpts, vote []byte, sigs []byte, txBytes []byte, proof []byte) (*types.Transaction, error)

ValidateValidatorSet is a paid mutator transaction binding the contract method 0xd0504f89.

Solidity: function validateValidatorSet(bytes vote, bytes sigs, bytes txBytes, bytes proof) returns()

type StatereceiverTransactorRaw

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

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

func (*StatereceiverTransactorRaw) Transact

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

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

func (*StatereceiverTransactorRaw) Transfer

func (_Statereceiver *StatereceiverTransactorRaw) 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 StatereceiverTransactorSession

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

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

func (*StatereceiverTransactorSession) CommitState

func (_Statereceiver *StatereceiverTransactorSession) CommitState(recordBytes []byte) (*types.Transaction, error)

CommitState is a paid mutator transaction binding the contract method 0x080356b7.

Solidity: function commitState(bytes recordBytes) returns()

func (*StatereceiverTransactorSession) ProposeState

func (_Statereceiver *StatereceiverTransactorSession) ProposeState(stateId *big.Int) (*types.Transaction, error)

ProposeState is a paid mutator transaction binding the contract method 0xede01f17.

Solidity: function proposeState(uint256 stateId) returns()

func (*StatereceiverTransactorSession) ValidateValidatorSet

func (_Statereceiver *StatereceiverTransactorSession) ValidateValidatorSet(vote []byte, sigs []byte, txBytes []byte, proof []byte) (*types.Transaction, error)

ValidateValidatorSet is a paid mutator transaction binding the contract method 0xd0504f89.

Solidity: function validateValidatorSet(bytes vote, bytes sigs, bytes txBytes, bytes proof) returns()

Jump to

Keyboard shortcuts

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