statereceiver

package
v0.3.4-beta Latest Latest
Warning

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

Go to latest
Published: Jun 1, 2023 License: GPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var StatereceiverABI = StatereceiverMetaData.ABI

StatereceiverABI is the input ABI used to generate the binding from. Deprecated: Use StatereceiverMetaData.ABI instead.

View Source
var StatereceiverMetaData = &bind.MetaData{
	ABI: "[{\"constant\":true,\"inputs\":[],\"name\":\"SYSTEM_ADDRESS\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"lastStateId\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"syncTime\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"recordBytes\",\"type\":\"bytes\"}],\"name\":\"commitState\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"success\",\"type\":\"bool\"}],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"id\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"onStateReceive\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
}

StatereceiverMetaData contains all meta data concerning the Statereceiver contract.

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) LastStateId added in v0.3.2

func (_Statereceiver *StatereceiverCaller) LastStateId(opts *bind.CallOpts) (*big.Int, error)

LastStateId is a free data retrieval call binding the contract method 0x5407ca67.

Solidity: function lastStateId() view returns(uint256)

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() view 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) LastStateId added in v0.3.2

func (_Statereceiver *StatereceiverCallerSession) LastStateId() (*big.Int, error)

LastStateId is a free data retrieval call binding the contract method 0x5407ca67.

Solidity: function lastStateId() view returns(uint256)

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() view 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(syncTime *big.Int, recordBytes []byte) (*types.Transaction, error)

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

Solidity: function commitState(uint256 syncTime, bytes recordBytes) returns(bool success)

func (*StatereceiverSession) LastStateId added in v0.3.2

func (_Statereceiver *StatereceiverSession) LastStateId() (*big.Int, error)

LastStateId is a free data retrieval call binding the contract method 0x5407ca67.

Solidity: function lastStateId() view returns(uint256)

func (*StatereceiverSession) OnStateReceive added in v0.3.2

func (_Statereceiver *StatereceiverSession) OnStateReceive(id *big.Int, data []byte) (*types.Transaction, error)

OnStateReceive is a paid mutator transaction binding the contract method 0x26c53bea.

Solidity: function onStateReceive(uint256 id, bytes data) 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() view 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, syncTime *big.Int, recordBytes []byte) (*types.Transaction, error)

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

Solidity: function commitState(uint256 syncTime, bytes recordBytes) returns(bool success)

func (*StatereceiverTransactor) OnStateReceive added in v0.3.2

func (_Statereceiver *StatereceiverTransactor) OnStateReceive(opts *bind.TransactOpts, id *big.Int, data []byte) (*types.Transaction, error)

OnStateReceive is a paid mutator transaction binding the contract method 0x26c53bea.

Solidity: function onStateReceive(uint256 id, bytes data) 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(syncTime *big.Int, recordBytes []byte) (*types.Transaction, error)

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

Solidity: function commitState(uint256 syncTime, bytes recordBytes) returns(bool success)

func (*StatereceiverTransactorSession) OnStateReceive added in v0.3.2

func (_Statereceiver *StatereceiverTransactorSession) OnStateReceive(id *big.Int, data []byte) (*types.Transaction, error)

OnStateReceive is a paid mutator transaction binding the contract method 0x26c53bea.

Solidity: function onStateReceive(uint256 id, bytes data) returns()

Jump to

Keyboard shortcuts

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