stateharness

package
v0.16.9 Latest Latest
Warning

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

Go to latest
Published: Jun 24, 2024 License: MIT Imports: 13 Imported by: 0

Documentation

Overview

Package stateharness implements the StateHarness contract.

Code generated by synapse abigen DO NOT EDIT.

Index

Constants

This section is empty.

Variables

View Source
var Contracts map[string]*compiler.Contract

Contracts are unmarshalled on start

View Source
var GasDataLibABI = GasDataLibMetaData.ABI

GasDataLibABI is the input ABI used to generate the binding from. Deprecated: Use GasDataLibMetaData.ABI instead.

View Source
var GasDataLibBin = GasDataLibMetaData.Bin

GasDataLibBin is the compiled bytecode used for deploying new contracts. Deprecated: Use GasDataLibMetaData.Bin instead.

View Source
var GasDataLibMetaData = &bind.MetaData{
	ABI: "[]",
	Bin: "0x60566037600b82828239805160001a607314602a57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea264697066735822122098e4766b0c8323dc9de6561a9ef987b4b0d0431b8d58bbf5c74410d74941508b64736f6c63430008110033",
}

GasDataLibMetaData contains all meta data concerning the GasDataLib contract.

View Source
var MemViewLibABI = MemViewLibMetaData.ABI

MemViewLibABI is the input ABI used to generate the binding from. Deprecated: Use MemViewLibMetaData.ABI instead.

View Source
var MemViewLibBin = MemViewLibMetaData.Bin

MemViewLibBin is the compiled bytecode used for deploying new contracts. Deprecated: Use MemViewLibMetaData.Bin instead.

View Source
var MemViewLibMetaData = &bind.MetaData{
	ABI: "[]",
	Bin: "0x60566037600b82828239805160001a607314602a57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea2646970667358221220b75550cc7ace0c84999dab51372dbe380730c824832578a7368e4ff1c49eb2e964736f6c63430008110033",
}

MemViewLibMetaData contains all meta data concerning the MemViewLib contract.

View Source
var NumberLibABI = NumberLibMetaData.ABI

NumberLibABI is the input ABI used to generate the binding from. Deprecated: Use NumberLibMetaData.ABI instead.

View Source
var NumberLibBin = NumberLibMetaData.Bin

NumberLibBin is the compiled bytecode used for deploying new contracts. Deprecated: Use NumberLibMetaData.Bin instead.

View Source
var NumberLibMetaData = &bind.MetaData{
	ABI: "[]",
	Bin: "0x60566037600b82828239805160001a607314602a57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea2646970667358221220e2667737d60b8029b7b0285bde8d4ed2acb8aa7a03430483a397e5ef36fb3a7164736f6c63430008110033",
}

NumberLibMetaData contains all meta data concerning the NumberLib contract.

View Source
var StateHarnessABI = StateHarnessMetaData.ABI

StateHarnessABI is the input ABI used to generate the binding from. Deprecated: Use StateHarnessMetaData.ABI instead.

View Source
var StateHarnessBin = StateHarnessMetaData.Bin

StateHarnessBin is the compiled bytecode used for deploying new contracts. Deprecated: Use StateHarnessMetaData.Bin instead.

View Source
var StateHarnessFuncSigs = StateHarnessMetaData.Sigs

Deprecated: Use StateHarnessMetaData.Sigs instead. StateHarnessFuncSigs maps the 4-byte function signature to its string representation.

View Source
var StateHarnessMetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[],\"name\":\"IndexedTooMuch\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"OccupiedMemory\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"PrecompileOutOfGas\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"UnallocatedMemory\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"UnformattedState\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"ViewOverrun\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"bytes\",\"name\":\"payload\",\"type\":\"bytes\"}],\"name\":\"blockNumber\",\"outputs\":[{\"internalType\":\"uint40\",\"name\":\"\",\"type\":\"uint40\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes\",\"name\":\"payload\",\"type\":\"bytes\"}],\"name\":\"castToState\",\"outputs\":[{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes\",\"name\":\"a\",\"type\":\"bytes\"},{\"internalType\":\"bytes\",\"name\":\"b\",\"type\":\"bytes\"}],\"name\":\"equals\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"root_\",\"type\":\"bytes32\"},{\"internalType\":\"uint32\",\"name\":\"origin_\",\"type\":\"uint32\"},{\"internalType\":\"uint32\",\"name\":\"nonce_\",\"type\":\"uint32\"},{\"internalType\":\"uint40\",\"name\":\"blockNumber_\",\"type\":\"uint40\"},{\"internalType\":\"uint40\",\"name\":\"timestamp_\",\"type\":\"uint40\"},{\"internalType\":\"GasData\",\"name\":\"gasData_\",\"type\":\"uint96\"}],\"name\":\"formatState\",\"outputs\":[{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes\",\"name\":\"payload\",\"type\":\"bytes\"}],\"name\":\"gasData\",\"outputs\":[{\"internalType\":\"GasData\",\"name\":\"\",\"type\":\"uint96\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes\",\"name\":\"payload\",\"type\":\"bytes\"}],\"name\":\"hashInvalid\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes\",\"name\":\"payload\",\"type\":\"bytes\"}],\"name\":\"isState\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes\",\"name\":\"payload\",\"type\":\"bytes\"}],\"name\":\"leaf\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"root_\",\"type\":\"bytes32\"},{\"internalType\":\"uint32\",\"name\":\"origin_\",\"type\":\"uint32\"}],\"name\":\"leftLeaf\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes\",\"name\":\"payload\",\"type\":\"bytes\"}],\"name\":\"nonce\",\"outputs\":[{\"internalType\":\"uint32\",\"name\":\"\",\"type\":\"uint32\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes\",\"name\":\"payload\",\"type\":\"bytes\"}],\"name\":\"origin\",\"outputs\":[{\"internalType\":\"uint32\",\"name\":\"\",\"type\":\"uint32\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint32\",\"name\":\"nonce_\",\"type\":\"uint32\"},{\"internalType\":\"uint40\",\"name\":\"blockNumber_\",\"type\":\"uint40\"},{\"internalType\":\"uint40\",\"name\":\"timestamp_\",\"type\":\"uint40\"},{\"internalType\":\"GasData\",\"name\":\"gasData_\",\"type\":\"uint96\"}],\"name\":\"rightLeaf\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes\",\"name\":\"payload\",\"type\":\"bytes\"}],\"name\":\"root\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes\",\"name\":\"payload\",\"type\":\"bytes\"}],\"name\":\"subLeafs\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes\",\"name\":\"payload\",\"type\":\"bytes\"}],\"name\":\"timestamp\",\"outputs\":[{\"internalType\":\"uint40\",\"name\":\"\",\"type\":\"uint40\"}],\"stateMutability\":\"pure\",\"type\":\"function\"}]",
	Sigs: map[string]string{
		"e948e600": "blockNumber(bytes)",
		"5fed0261": "castToState(bytes)",
		"137e618a": "equals(bytes,bytes)",
		"17ebb0b7": "formatState(bytes32,uint32,uint32,uint40,uint40,uint96)",
		"5a0ca172": "gasData(bytes)",
		"60cf3bf0": "hashInvalid(bytes)",
		"aae6d884": "isState(bytes)",
		"d7a7a72c": "leaf(bytes)",
		"edaa471d": "leftLeaf(bytes32,uint32)",
		"4e765004": "nonce(bytes)",
		"cb3eb0e1": "origin(bytes)",
		"f8cb7943": "rightLeaf(uint32,uint40,uint40,uint96)",
		"c2e9e208": "root(bytes)",
		"9aaa1826": "subLeafs(bytes)",
		"1c9aa222": "timestamp(bytes)",
	},
	Bin: "0x608060405234801561001057600080fd5b50610ebc806100206000396000f3fe608060405234801561001057600080fd5b50600436106100f55760003560e01c80639aaa182611610097578063d7a7a72c11610066578063d7a7a72c14610258578063e948e6001461026b578063edaa471d1461027e578063f8cb79431461029157600080fd5b80639aaa1826146101f7578063aae6d8841461021f578063c2e9e20814610232578063cb3eb0e11461024557600080fd5b80634e765004116100d35780634e7650041461016b5780635a0ca172146101935780635fed0261146101c357806360cf3bf0146101d657600080fd5b8063137e618a146100fa57806317ebb0b7146101225780631c9aa22214610142575b600080fd5b61010d610108366004610c10565b6102a4565b60405190151581526020015b60405180910390f35b610135610130366004610cbe565b6102ca565b6040516101199190610d2b565b610155610150366004610d97565b61038d565b60405164ffffffffff9091168152602001610119565b61017e610179366004610d97565b6103a0565b60405163ffffffff9091168152602001610119565b6101a66101a1366004610d97565b6103b3565b6040516bffffffffffffffffffffffff9091168152602001610119565b6101356101d1366004610d97565b6103c6565b6101e96101e4366004610d97565b6103e5565b604051908152602001610119565b61020a610205366004610d97565b6103f8565b60408051928352602083019190915201610119565b61010d61022d366004610d97565b610415565b6101e9610240366004610d97565b610428565b61017e610253366004610d97565b61043b565b6101e9610266366004610d97565b61044e565b610155610279366004610d97565b610461565b6101e961028c366004610dcc565b610474565b6101e961029f366004610df8565b610480565b60006102c16102b28361053a565b6102bb8561053a565b9061054d565b90505b92915050565b60408051602081018890527fffffffff0000000000000000000000000000000000000000000000000000000060e088811b82168385015287901b1660448201527fffffffffff00000000000000000000000000000000000000000000000000000060d886811b8216604884015285901b16604d8201527fffffffffffffffffffffffff000000000000000000000000000000000000000060a084901b1660528201528151808203603e018152605e9091019091526060905b979650505050505050565b60006102c461039b8361053a565b61056e565b60006102c46103ae8361053a565b610580565b60006102c46103c18361053a565b61058f565b606060006103d38361053a565b90506103de816105a4565b9392505050565b60006102c46103f38361053a565b610601565b60008061040c6104078461053a565b61062d565b91509150915091565b60006102c461042383610657565b610672565b60006102c46104368361053a565b61069a565b60006102c46104498361053a565b6106a8565b60006102c461045c8361053a565b6106b7565b60006102c461046f8361053a565b6106f6565b60006102c18383610705565b604080517fffffffff0000000000000000000000000000000000000000000000000000000060e087901b166020808301919091527fffffffffff00000000000000000000000000000000000000000000000000000060d887811b8216602485015286901b1660298301527fffffffffffffffffffffffff000000000000000000000000000000000000000060a085901b16602e8301528251808303601a018152603a90920190925280519101206000905b95945050505050565b60006102c461054883610657565b610766565b600061055d826107ab565b6107ab565b610566846107ab565b149392505050565b60006102c4602d6005845b91906107d6565b60006102c46024600484610579565b60006102c46105a16032600c85610579565b90565b604051806105b583602083016107f7565b506fffffffffffffffffffffffffffffffff83166000601f82017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0168301602001604052509052919050565b60006102c4827f43713cd927f8eb63b519f3b180bd5f3708ebbe93666be9ba4b9624b7bc57e6636108a0565b6000808261063f6105588260246108c3565b925061064f6105588260246108d0565b915050915091565b80516000906020830161066a8183610932565b949350505050565b6000610680600c6032610e4c565b6fffffffffffffffffffffffffffffffff83161492915050565b60006102c482826020610995565b60006102c46020600484610579565b60008060006106c58461062d565b6040805160208082019490945280820192909252805180830382018152606090920190528051910120949350505050565b60006102c46028600584610579565b6000828260405160200161074892919091825260e01b7fffffffff0000000000000000000000000000000000000000000000000000000016602082015260240190565b60405160208183030381529060405280519060200120905092915050565b600061077182610672565b6107a7576040517f6ba041c400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5090565b6000806107b88360801c90565b6fffffffffffffffffffffffffffffffff9390931690922092915050565b6000806107e4858585610995565b602084900360031b1c9150509392505050565b6040516000906fffffffffffffffffffffffffffffffff841690608085901c9080851015610851576040517f4b2a158c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008386858560045afa905080610894576040517f7c7d772f00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b608086901b8417610382565b6000816108ac846107ab565b604080516020810193909352820152606001610748565b60006102c1838284610a9f565b60006fffffffffffffffffffffffffffffffff83168083111561091f576040517fa3b99ded00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61066a8361092d8660801c90565b018483035b60008061093f8385610e4c565b905060405181111561094f575060005b80600003610989576040517f10bef38600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b608084901b831761066a565b6000816000036109a7575060006103de565b60208211156109e2576040517f31d784a800000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6fffffffffffffffffffffffffffffffff84166109ff8385610e4c565b1115610a37576040517fa3b99ded00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600382901b6000610a488660801c90565b909401517f80000000000000000000000000000000000000000000000000000000000000007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff929092019190911d16949350505050565b600080610aac8560801c90565b9050610ab785610b10565b83610ac28684610e4c565b610acc9190610e4c565b1115610b04576040517fa3b99ded00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61053184820184610932565b60006fffffffffffffffffffffffffffffffff8216610b2f8360801c90565b0192915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600082601f830112610b7657600080fd5b813567ffffffffffffffff80821115610b9157610b91610b36565b604051601f83017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0908116603f01168101908282118183101715610bd757610bd7610b36565b81604052838152866020858801011115610bf057600080fd5b836020870160208301376000602085830101528094505050505092915050565b60008060408385031215610c2357600080fd5b823567ffffffffffffffff80821115610c3b57600080fd5b610c4786838701610b65565b93506020850135915080821115610c5d57600080fd5b50610c6a85828601610b65565b9150509250929050565b803563ffffffff81168114610c8857600080fd5b919050565b803564ffffffffff81168114610c8857600080fd5b80356bffffffffffffffffffffffff81168114610c8857600080fd5b60008060008060008060c08789031215610cd757600080fd5b86359550610ce760208801610c74565b9450610cf560408801610c74565b9350610d0360608801610c8d565b9250610d1160808801610c8d565b9150610d1f60a08801610ca2565b90509295509295509295565b600060208083528351808285015260005b81811015610d5857858101830151858201604001528201610d3c565b5060006040828601015260407fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f8301168501019250505092915050565b600060208284031215610da957600080fd5b813567ffffffffffffffff811115610dc057600080fd5b61066a84828501610b65565b60008060408385031215610ddf57600080fd5b82359150610def60208401610c74565b90509250929050565b60008060008060808587031215610e0e57600080fd5b610e1785610c74565b9350610e2560208601610c8d565b9250610e3360408601610c8d565b9150610e4160608601610ca2565b905092959194509250565b808201808211156102c4577f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fdfea2646970667358221220d6e0381525b771a3cf213697c3ed8c03476e756a5ba6e2cf87af93746d7c5e7964736f6c63430008110033",
}

StateHarnessMetaData contains all meta data concerning the StateHarness contract.

View Source
var StateLibABI = StateLibMetaData.ABI

StateLibABI is the input ABI used to generate the binding from. Deprecated: Use StateLibMetaData.ABI instead.

View Source
var StateLibBin = StateLibMetaData.Bin

StateLibBin is the compiled bytecode used for deploying new contracts. Deprecated: Use StateLibMetaData.Bin instead.

View Source
var StateLibMetaData = &bind.MetaData{
	ABI: "[]",
	Bin: "0x60566037600b82828239805160001a607314602a57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea26469706673582212203eb6d07d2647fe44fc88231538b70b6d231d369d9c9d3811327aef5bda5c22b464736f6c63430008110033",
}

StateLibMetaData contains all meta data concerning the StateLib contract.

Functions

This section is empty.

Types

type GasDataLib added in v0.0.171

type GasDataLib struct {
	GasDataLibCaller     // Read-only binding to the contract
	GasDataLibTransactor // Write-only binding to the contract
	GasDataLibFilterer   // Log filterer for contract events
}

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

func DeployGasDataLib added in v0.0.171

func DeployGasDataLib(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *GasDataLib, error)

DeployGasDataLib deploys a new Ethereum contract, binding an instance of GasDataLib to it.

func NewGasDataLib added in v0.0.171

func NewGasDataLib(address common.Address, backend bind.ContractBackend) (*GasDataLib, error)

NewGasDataLib creates a new instance of GasDataLib, bound to a specific deployed contract.

type GasDataLibCaller added in v0.0.171

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

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

func NewGasDataLibCaller added in v0.0.171

func NewGasDataLibCaller(address common.Address, caller bind.ContractCaller) (*GasDataLibCaller, error)

NewGasDataLibCaller creates a new read-only instance of GasDataLib, bound to a specific deployed contract.

type GasDataLibCallerRaw added in v0.0.171

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

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

func (*GasDataLibCallerRaw) Call added in v0.0.171

func (_GasDataLib *GasDataLibCallerRaw) 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 GasDataLibCallerSession added in v0.0.171

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

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

type GasDataLibFilterer added in v0.0.171

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

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

func NewGasDataLibFilterer added in v0.0.171

func NewGasDataLibFilterer(address common.Address, filterer bind.ContractFilterer) (*GasDataLibFilterer, error)

NewGasDataLibFilterer creates a new log filterer instance of GasDataLib, bound to a specific deployed contract.

type GasDataLibRaw added in v0.0.171

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

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

func (*GasDataLibRaw) Call added in v0.0.171

func (_GasDataLib *GasDataLibRaw) 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 (*GasDataLibRaw) Transact added in v0.0.171

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

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

func (*GasDataLibRaw) Transfer added in v0.0.171

func (_GasDataLib *GasDataLibRaw) 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 GasDataLibSession added in v0.0.171

type GasDataLibSession struct {
	Contract     *GasDataLib       // 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
}

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

type GasDataLibTransactor added in v0.0.171

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

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

func NewGasDataLibTransactor added in v0.0.171

func NewGasDataLibTransactor(address common.Address, transactor bind.ContractTransactor) (*GasDataLibTransactor, error)

NewGasDataLibTransactor creates a new write-only instance of GasDataLib, bound to a specific deployed contract.

type GasDataLibTransactorRaw added in v0.0.171

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

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

func (*GasDataLibTransactorRaw) Transact added in v0.0.171

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

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

func (*GasDataLibTransactorRaw) Transfer added in v0.0.171

func (_GasDataLib *GasDataLibTransactorRaw) 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 GasDataLibTransactorSession added in v0.0.171

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

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

type MemViewLib added in v0.0.171

type MemViewLib struct {
	MemViewLibCaller     // Read-only binding to the contract
	MemViewLibTransactor // Write-only binding to the contract
	MemViewLibFilterer   // Log filterer for contract events
}

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

func DeployMemViewLib added in v0.0.171

func DeployMemViewLib(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *MemViewLib, error)

DeployMemViewLib deploys a new Ethereum contract, binding an instance of MemViewLib to it.

func NewMemViewLib added in v0.0.171

func NewMemViewLib(address common.Address, backend bind.ContractBackend) (*MemViewLib, error)

NewMemViewLib creates a new instance of MemViewLib, bound to a specific deployed contract.

type MemViewLibCaller added in v0.0.171

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

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

func NewMemViewLibCaller added in v0.0.171

func NewMemViewLibCaller(address common.Address, caller bind.ContractCaller) (*MemViewLibCaller, error)

NewMemViewLibCaller creates a new read-only instance of MemViewLib, bound to a specific deployed contract.

type MemViewLibCallerRaw added in v0.0.171

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

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

func (*MemViewLibCallerRaw) Call added in v0.0.171

func (_MemViewLib *MemViewLibCallerRaw) 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 MemViewLibCallerSession added in v0.0.171

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

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

type MemViewLibFilterer added in v0.0.171

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

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

func NewMemViewLibFilterer added in v0.0.171

func NewMemViewLibFilterer(address common.Address, filterer bind.ContractFilterer) (*MemViewLibFilterer, error)

NewMemViewLibFilterer creates a new log filterer instance of MemViewLib, bound to a specific deployed contract.

type MemViewLibRaw added in v0.0.171

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

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

func (*MemViewLibRaw) Call added in v0.0.171

func (_MemViewLib *MemViewLibRaw) 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 (*MemViewLibRaw) Transact added in v0.0.171

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

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

func (*MemViewLibRaw) Transfer added in v0.0.171

func (_MemViewLib *MemViewLibRaw) 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 MemViewLibSession added in v0.0.171

type MemViewLibSession struct {
	Contract     *MemViewLib       // 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
}

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

type MemViewLibTransactor added in v0.0.171

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

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

func NewMemViewLibTransactor added in v0.0.171

func NewMemViewLibTransactor(address common.Address, transactor bind.ContractTransactor) (*MemViewLibTransactor, error)

NewMemViewLibTransactor creates a new write-only instance of MemViewLib, bound to a specific deployed contract.

type MemViewLibTransactorRaw added in v0.0.171

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

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

func (*MemViewLibTransactorRaw) Transact added in v0.0.171

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

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

func (*MemViewLibTransactorRaw) Transfer added in v0.0.171

func (_MemViewLib *MemViewLibTransactorRaw) 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 MemViewLibTransactorSession added in v0.0.171

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

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

type NumberLib added in v0.0.171

type NumberLib struct {
	NumberLibCaller     // Read-only binding to the contract
	NumberLibTransactor // Write-only binding to the contract
	NumberLibFilterer   // Log filterer for contract events
}

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

func DeployNumberLib added in v0.0.171

func DeployNumberLib(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *NumberLib, error)

DeployNumberLib deploys a new Ethereum contract, binding an instance of NumberLib to it.

func NewNumberLib added in v0.0.171

func NewNumberLib(address common.Address, backend bind.ContractBackend) (*NumberLib, error)

NewNumberLib creates a new instance of NumberLib, bound to a specific deployed contract.

type NumberLibCaller added in v0.0.171

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

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

func NewNumberLibCaller added in v0.0.171

func NewNumberLibCaller(address common.Address, caller bind.ContractCaller) (*NumberLibCaller, error)

NewNumberLibCaller creates a new read-only instance of NumberLib, bound to a specific deployed contract.

type NumberLibCallerRaw added in v0.0.171

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

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

func (*NumberLibCallerRaw) Call added in v0.0.171

func (_NumberLib *NumberLibCallerRaw) 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 NumberLibCallerSession added in v0.0.171

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

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

type NumberLibFilterer added in v0.0.171

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

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

func NewNumberLibFilterer added in v0.0.171

func NewNumberLibFilterer(address common.Address, filterer bind.ContractFilterer) (*NumberLibFilterer, error)

NewNumberLibFilterer creates a new log filterer instance of NumberLib, bound to a specific deployed contract.

type NumberLibRaw added in v0.0.171

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

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

func (*NumberLibRaw) Call added in v0.0.171

func (_NumberLib *NumberLibRaw) 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 (*NumberLibRaw) Transact added in v0.0.171

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

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

func (*NumberLibRaw) Transfer added in v0.0.171

func (_NumberLib *NumberLibRaw) 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 NumberLibSession added in v0.0.171

type NumberLibSession struct {
	Contract     *NumberLib        // 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
}

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

type NumberLibTransactor added in v0.0.171

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

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

func NewNumberLibTransactor added in v0.0.171

func NewNumberLibTransactor(address common.Address, transactor bind.ContractTransactor) (*NumberLibTransactor, error)

NewNumberLibTransactor creates a new write-only instance of NumberLib, bound to a specific deployed contract.

type NumberLibTransactorRaw added in v0.0.171

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

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

func (*NumberLibTransactorRaw) Transact added in v0.0.171

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

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

func (*NumberLibTransactorRaw) Transfer added in v0.0.171

func (_NumberLib *NumberLibTransactorRaw) 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 NumberLibTransactorSession added in v0.0.171

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

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

type StateHarness

type StateHarness struct {
	StateHarnessCaller     // Read-only binding to the contract
	StateHarnessTransactor // Write-only binding to the contract
	StateHarnessFilterer   // Log filterer for contract events
}

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

func DeployStateHarness

func DeployStateHarness(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *StateHarness, error)

DeployStateHarness deploys a new Ethereum contract, binding an instance of StateHarness to it.

func NewStateHarness

func NewStateHarness(address common.Address, backend bind.ContractBackend) (*StateHarness, error)

NewStateHarness creates a new instance of StateHarness, bound to a specific deployed contract.

type StateHarnessCaller

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

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

func NewStateHarnessCaller

func NewStateHarnessCaller(address common.Address, caller bind.ContractCaller) (*StateHarnessCaller, error)

NewStateHarnessCaller creates a new read-only instance of StateHarness, bound to a specific deployed contract.

func (*StateHarnessCaller) BlockNumber

func (_StateHarness *StateHarnessCaller) BlockNumber(opts *bind.CallOpts, payload []byte) (*big.Int, error)

BlockNumber is a free data retrieval call binding the contract method 0xe948e600.

Solidity: function blockNumber(bytes payload) pure returns(uint40)

func (*StateHarnessCaller) CastToState

func (_StateHarness *StateHarnessCaller) CastToState(opts *bind.CallOpts, payload []byte) ([]byte, error)

CastToState is a free data retrieval call binding the contract method 0x5fed0261.

Solidity: function castToState(bytes payload) view returns(bytes)

func (*StateHarnessCaller) Equals added in v0.0.171

func (_StateHarness *StateHarnessCaller) Equals(opts *bind.CallOpts, a []byte, b []byte) (bool, error)

Equals is a free data retrieval call binding the contract method 0x137e618a.

Solidity: function equals(bytes a, bytes b) pure returns(bool)

func (*StateHarnessCaller) FormatState

func (_StateHarness *StateHarnessCaller) FormatState(opts *bind.CallOpts, root_ [32]byte, origin_ uint32, nonce_ uint32, blockNumber_ *big.Int, timestamp_ *big.Int, gasData_ *big.Int) ([]byte, error)

FormatState is a free data retrieval call binding the contract method 0x17ebb0b7.

Solidity: function formatState(bytes32 root_, uint32 origin_, uint32 nonce_, uint40 blockNumber_, uint40 timestamp_, uint96 gasData_) pure returns(bytes)

func (*StateHarnessCaller) GasData added in v0.0.171

func (_StateHarness *StateHarnessCaller) GasData(opts *bind.CallOpts, payload []byte) (*big.Int, error)

GasData is a free data retrieval call binding the contract method 0x5a0ca172.

Solidity: function gasData(bytes payload) pure returns(uint96)

func (*StateHarnessCaller) HashInvalid added in v0.0.171

func (_StateHarness *StateHarnessCaller) HashInvalid(opts *bind.CallOpts, payload []byte) ([32]byte, error)

HashInvalid is a free data retrieval call binding the contract method 0x60cf3bf0.

Solidity: function hashInvalid(bytes payload) pure returns(bytes32)

func (*StateHarnessCaller) IsState

func (_StateHarness *StateHarnessCaller) IsState(opts *bind.CallOpts, payload []byte) (bool, error)

IsState is a free data retrieval call binding the contract method 0xaae6d884.

Solidity: function isState(bytes payload) pure returns(bool)

func (*StateHarnessCaller) Leaf added in v0.0.171

func (_StateHarness *StateHarnessCaller) Leaf(opts *bind.CallOpts, payload []byte) ([32]byte, error)

Leaf is a free data retrieval call binding the contract method 0xd7a7a72c.

Solidity: function leaf(bytes payload) pure returns(bytes32)

func (*StateHarnessCaller) LeftLeaf

func (_StateHarness *StateHarnessCaller) LeftLeaf(opts *bind.CallOpts, root_ [32]byte, origin_ uint32) ([32]byte, error)

LeftLeaf is a free data retrieval call binding the contract method 0xedaa471d.

Solidity: function leftLeaf(bytes32 root_, uint32 origin_) pure returns(bytes32)

func (*StateHarnessCaller) Nonce

func (_StateHarness *StateHarnessCaller) Nonce(opts *bind.CallOpts, payload []byte) (uint32, error)

Nonce is a free data retrieval call binding the contract method 0x4e765004.

Solidity: function nonce(bytes payload) pure returns(uint32)

func (*StateHarnessCaller) Origin

func (_StateHarness *StateHarnessCaller) Origin(opts *bind.CallOpts, payload []byte) (uint32, error)

Origin is a free data retrieval call binding the contract method 0xcb3eb0e1.

Solidity: function origin(bytes payload) pure returns(uint32)

func (*StateHarnessCaller) RightLeaf

func (_StateHarness *StateHarnessCaller) RightLeaf(opts *bind.CallOpts, nonce_ uint32, blockNumber_ *big.Int, timestamp_ *big.Int, gasData_ *big.Int) ([32]byte, error)

RightLeaf is a free data retrieval call binding the contract method 0xf8cb7943.

Solidity: function rightLeaf(uint32 nonce_, uint40 blockNumber_, uint40 timestamp_, uint96 gasData_) pure returns(bytes32)

func (*StateHarnessCaller) Root

func (_StateHarness *StateHarnessCaller) Root(opts *bind.CallOpts, payload []byte) ([32]byte, error)

Root is a free data retrieval call binding the contract method 0xc2e9e208.

Solidity: function root(bytes payload) pure returns(bytes32)

func (*StateHarnessCaller) SubLeafs

func (_StateHarness *StateHarnessCaller) SubLeafs(opts *bind.CallOpts, payload []byte) ([32]byte, [32]byte, error)

SubLeafs is a free data retrieval call binding the contract method 0x9aaa1826.

Solidity: function subLeafs(bytes payload) pure returns(bytes32, bytes32)

func (*StateHarnessCaller) Timestamp

func (_StateHarness *StateHarnessCaller) Timestamp(opts *bind.CallOpts, payload []byte) (*big.Int, error)

Timestamp is a free data retrieval call binding the contract method 0x1c9aa222.

Solidity: function timestamp(bytes payload) pure returns(uint40)

type StateHarnessCallerRaw

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

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

func (*StateHarnessCallerRaw) Call

func (_StateHarness *StateHarnessCallerRaw) 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 StateHarnessCallerSession

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

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

func (*StateHarnessCallerSession) BlockNumber

func (_StateHarness *StateHarnessCallerSession) BlockNumber(payload []byte) (*big.Int, error)

BlockNumber is a free data retrieval call binding the contract method 0xe948e600.

Solidity: function blockNumber(bytes payload) pure returns(uint40)

func (*StateHarnessCallerSession) CastToState

func (_StateHarness *StateHarnessCallerSession) CastToState(payload []byte) ([]byte, error)

CastToState is a free data retrieval call binding the contract method 0x5fed0261.

Solidity: function castToState(bytes payload) view returns(bytes)

func (*StateHarnessCallerSession) Equals added in v0.0.171

func (_StateHarness *StateHarnessCallerSession) Equals(a []byte, b []byte) (bool, error)

Equals is a free data retrieval call binding the contract method 0x137e618a.

Solidity: function equals(bytes a, bytes b) pure returns(bool)

func (*StateHarnessCallerSession) FormatState

func (_StateHarness *StateHarnessCallerSession) FormatState(root_ [32]byte, origin_ uint32, nonce_ uint32, blockNumber_ *big.Int, timestamp_ *big.Int, gasData_ *big.Int) ([]byte, error)

FormatState is a free data retrieval call binding the contract method 0x17ebb0b7.

Solidity: function formatState(bytes32 root_, uint32 origin_, uint32 nonce_, uint40 blockNumber_, uint40 timestamp_, uint96 gasData_) pure returns(bytes)

func (*StateHarnessCallerSession) GasData added in v0.0.171

func (_StateHarness *StateHarnessCallerSession) GasData(payload []byte) (*big.Int, error)

GasData is a free data retrieval call binding the contract method 0x5a0ca172.

Solidity: function gasData(bytes payload) pure returns(uint96)

func (*StateHarnessCallerSession) HashInvalid added in v0.0.171

func (_StateHarness *StateHarnessCallerSession) HashInvalid(payload []byte) ([32]byte, error)

HashInvalid is a free data retrieval call binding the contract method 0x60cf3bf0.

Solidity: function hashInvalid(bytes payload) pure returns(bytes32)

func (*StateHarnessCallerSession) IsState

func (_StateHarness *StateHarnessCallerSession) IsState(payload []byte) (bool, error)

IsState is a free data retrieval call binding the contract method 0xaae6d884.

Solidity: function isState(bytes payload) pure returns(bool)

func (*StateHarnessCallerSession) Leaf added in v0.0.171

func (_StateHarness *StateHarnessCallerSession) Leaf(payload []byte) ([32]byte, error)

Leaf is a free data retrieval call binding the contract method 0xd7a7a72c.

Solidity: function leaf(bytes payload) pure returns(bytes32)

func (*StateHarnessCallerSession) LeftLeaf

func (_StateHarness *StateHarnessCallerSession) LeftLeaf(root_ [32]byte, origin_ uint32) ([32]byte, error)

LeftLeaf is a free data retrieval call binding the contract method 0xedaa471d.

Solidity: function leftLeaf(bytes32 root_, uint32 origin_) pure returns(bytes32)

func (*StateHarnessCallerSession) Nonce

func (_StateHarness *StateHarnessCallerSession) Nonce(payload []byte) (uint32, error)

Nonce is a free data retrieval call binding the contract method 0x4e765004.

Solidity: function nonce(bytes payload) pure returns(uint32)

func (*StateHarnessCallerSession) Origin

func (_StateHarness *StateHarnessCallerSession) Origin(payload []byte) (uint32, error)

Origin is a free data retrieval call binding the contract method 0xcb3eb0e1.

Solidity: function origin(bytes payload) pure returns(uint32)

func (*StateHarnessCallerSession) RightLeaf

func (_StateHarness *StateHarnessCallerSession) RightLeaf(nonce_ uint32, blockNumber_ *big.Int, timestamp_ *big.Int, gasData_ *big.Int) ([32]byte, error)

RightLeaf is a free data retrieval call binding the contract method 0xf8cb7943.

Solidity: function rightLeaf(uint32 nonce_, uint40 blockNumber_, uint40 timestamp_, uint96 gasData_) pure returns(bytes32)

func (*StateHarnessCallerSession) Root

func (_StateHarness *StateHarnessCallerSession) Root(payload []byte) ([32]byte, error)

Root is a free data retrieval call binding the contract method 0xc2e9e208.

Solidity: function root(bytes payload) pure returns(bytes32)

func (*StateHarnessCallerSession) SubLeafs

func (_StateHarness *StateHarnessCallerSession) SubLeafs(payload []byte) ([32]byte, [32]byte, error)

SubLeafs is a free data retrieval call binding the contract method 0x9aaa1826.

Solidity: function subLeafs(bytes payload) pure returns(bytes32, bytes32)

func (*StateHarnessCallerSession) Timestamp

func (_StateHarness *StateHarnessCallerSession) Timestamp(payload []byte) (*big.Int, error)

Timestamp is a free data retrieval call binding the contract method 0x1c9aa222.

Solidity: function timestamp(bytes payload) pure returns(uint40)

type StateHarnessFilterer

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

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

func NewStateHarnessFilterer

func NewStateHarnessFilterer(address common.Address, filterer bind.ContractFilterer) (*StateHarnessFilterer, error)

NewStateHarnessFilterer creates a new log filterer instance of StateHarness, bound to a specific deployed contract.

type StateHarnessRaw

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

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

func (*StateHarnessRaw) Call

func (_StateHarness *StateHarnessRaw) 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 (*StateHarnessRaw) Transact

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

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

func (*StateHarnessRaw) Transfer

func (_StateHarness *StateHarnessRaw) 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 StateHarnessRef

type StateHarnessRef struct {
	*StateHarness
	// contains filtered or unexported fields
}

StateHarnessRef is a state harness reference.

func NewStateHarnessRef

func NewStateHarnessRef(address common.Address, backend bind.ContractBackend) (*StateHarnessRef, error)

NewStateHarnessRef creates a new state harness.

func (StateHarnessRef) Address

func (s StateHarnessRef) Address() common.Address

Address gets the address of the contract.

type StateHarnessSession

type StateHarnessSession struct {
	Contract     *StateHarness     // 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
}

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

func (*StateHarnessSession) BlockNumber

func (_StateHarness *StateHarnessSession) BlockNumber(payload []byte) (*big.Int, error)

BlockNumber is a free data retrieval call binding the contract method 0xe948e600.

Solidity: function blockNumber(bytes payload) pure returns(uint40)

func (*StateHarnessSession) CastToState

func (_StateHarness *StateHarnessSession) CastToState(payload []byte) ([]byte, error)

CastToState is a free data retrieval call binding the contract method 0x5fed0261.

Solidity: function castToState(bytes payload) view returns(bytes)

func (*StateHarnessSession) Equals added in v0.0.171

func (_StateHarness *StateHarnessSession) Equals(a []byte, b []byte) (bool, error)

Equals is a free data retrieval call binding the contract method 0x137e618a.

Solidity: function equals(bytes a, bytes b) pure returns(bool)

func (*StateHarnessSession) FormatState

func (_StateHarness *StateHarnessSession) FormatState(root_ [32]byte, origin_ uint32, nonce_ uint32, blockNumber_ *big.Int, timestamp_ *big.Int, gasData_ *big.Int) ([]byte, error)

FormatState is a free data retrieval call binding the contract method 0x17ebb0b7.

Solidity: function formatState(bytes32 root_, uint32 origin_, uint32 nonce_, uint40 blockNumber_, uint40 timestamp_, uint96 gasData_) pure returns(bytes)

func (*StateHarnessSession) GasData added in v0.0.171

func (_StateHarness *StateHarnessSession) GasData(payload []byte) (*big.Int, error)

GasData is a free data retrieval call binding the contract method 0x5a0ca172.

Solidity: function gasData(bytes payload) pure returns(uint96)

func (*StateHarnessSession) HashInvalid added in v0.0.171

func (_StateHarness *StateHarnessSession) HashInvalid(payload []byte) ([32]byte, error)

HashInvalid is a free data retrieval call binding the contract method 0x60cf3bf0.

Solidity: function hashInvalid(bytes payload) pure returns(bytes32)

func (*StateHarnessSession) IsState

func (_StateHarness *StateHarnessSession) IsState(payload []byte) (bool, error)

IsState is a free data retrieval call binding the contract method 0xaae6d884.

Solidity: function isState(bytes payload) pure returns(bool)

func (*StateHarnessSession) Leaf added in v0.0.171

func (_StateHarness *StateHarnessSession) Leaf(payload []byte) ([32]byte, error)

Leaf is a free data retrieval call binding the contract method 0xd7a7a72c.

Solidity: function leaf(bytes payload) pure returns(bytes32)

func (*StateHarnessSession) LeftLeaf

func (_StateHarness *StateHarnessSession) LeftLeaf(root_ [32]byte, origin_ uint32) ([32]byte, error)

LeftLeaf is a free data retrieval call binding the contract method 0xedaa471d.

Solidity: function leftLeaf(bytes32 root_, uint32 origin_) pure returns(bytes32)

func (*StateHarnessSession) Nonce

func (_StateHarness *StateHarnessSession) Nonce(payload []byte) (uint32, error)

Nonce is a free data retrieval call binding the contract method 0x4e765004.

Solidity: function nonce(bytes payload) pure returns(uint32)

func (*StateHarnessSession) Origin

func (_StateHarness *StateHarnessSession) Origin(payload []byte) (uint32, error)

Origin is a free data retrieval call binding the contract method 0xcb3eb0e1.

Solidity: function origin(bytes payload) pure returns(uint32)

func (*StateHarnessSession) RightLeaf

func (_StateHarness *StateHarnessSession) RightLeaf(nonce_ uint32, blockNumber_ *big.Int, timestamp_ *big.Int, gasData_ *big.Int) ([32]byte, error)

RightLeaf is a free data retrieval call binding the contract method 0xf8cb7943.

Solidity: function rightLeaf(uint32 nonce_, uint40 blockNumber_, uint40 timestamp_, uint96 gasData_) pure returns(bytes32)

func (*StateHarnessSession) Root

func (_StateHarness *StateHarnessSession) Root(payload []byte) ([32]byte, error)

Root is a free data retrieval call binding the contract method 0xc2e9e208.

Solidity: function root(bytes payload) pure returns(bytes32)

func (*StateHarnessSession) SubLeafs

func (_StateHarness *StateHarnessSession) SubLeafs(payload []byte) ([32]byte, [32]byte, error)

SubLeafs is a free data retrieval call binding the contract method 0x9aaa1826.

Solidity: function subLeafs(bytes payload) pure returns(bytes32, bytes32)

func (*StateHarnessSession) Timestamp

func (_StateHarness *StateHarnessSession) Timestamp(payload []byte) (*big.Int, error)

Timestamp is a free data retrieval call binding the contract method 0x1c9aa222.

Solidity: function timestamp(bytes payload) pure returns(uint40)

type StateHarnessTransactor

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

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

func NewStateHarnessTransactor

func NewStateHarnessTransactor(address common.Address, transactor bind.ContractTransactor) (*StateHarnessTransactor, error)

NewStateHarnessTransactor creates a new write-only instance of StateHarness, bound to a specific deployed contract.

type StateHarnessTransactorRaw

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

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

func (*StateHarnessTransactorRaw) Transact

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

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

func (*StateHarnessTransactorRaw) Transfer

func (_StateHarness *StateHarnessTransactorRaw) 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 StateHarnessTransactorSession

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

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

type StateLib

type StateLib struct {
	StateLibCaller     // Read-only binding to the contract
	StateLibTransactor // Write-only binding to the contract
	StateLibFilterer   // Log filterer for contract events
}

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

func DeployStateLib

func DeployStateLib(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *StateLib, error)

DeployStateLib deploys a new Ethereum contract, binding an instance of StateLib to it.

func NewStateLib

func NewStateLib(address common.Address, backend bind.ContractBackend) (*StateLib, error)

NewStateLib creates a new instance of StateLib, bound to a specific deployed contract.

type StateLibCaller

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

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

func NewStateLibCaller

func NewStateLibCaller(address common.Address, caller bind.ContractCaller) (*StateLibCaller, error)

NewStateLibCaller creates a new read-only instance of StateLib, bound to a specific deployed contract.

type StateLibCallerRaw

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

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

func (*StateLibCallerRaw) Call

func (_StateLib *StateLibCallerRaw) 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 StateLibCallerSession

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

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

type StateLibFilterer

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

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

func NewStateLibFilterer

func NewStateLibFilterer(address common.Address, filterer bind.ContractFilterer) (*StateLibFilterer, error)

NewStateLibFilterer creates a new log filterer instance of StateLib, bound to a specific deployed contract.

type StateLibRaw

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

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

func (*StateLibRaw) Call

func (_StateLib *StateLibRaw) 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 (*StateLibRaw) Transact

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

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

func (*StateLibRaw) Transfer

func (_StateLib *StateLibRaw) 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 StateLibSession

type StateLibSession struct {
	Contract     *StateLib         // 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
}

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

type StateLibTransactor

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

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

func NewStateLibTransactor

func NewStateLibTransactor(address common.Address, transactor bind.ContractTransactor) (*StateLibTransactor, error)

NewStateLibTransactor creates a new write-only instance of StateLib, bound to a specific deployed contract.

type StateLibTransactorRaw

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

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

func (*StateLibTransactorRaw) Transact

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

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

func (*StateLibTransactorRaw) Transfer

func (_StateLib *StateLibTransactorRaw) 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 StateLibTransactorSession

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

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

Jump to

Keyboard shortcuts

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