snapshotharness

package
v1.21.0 Latest Latest
Warning

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

Go to latest
Published: Nov 8, 2024 License: MIT Imports: 13 Imported by: 0

Documentation

Overview

Package snapshotharness provides a test harness for the snapshot 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: "0x60566037600b82828239805160001a607314602a57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea2646970667358221220ff5fa1c38ca1908404cb5f612a561dbe5ef17577ddd20f378ceec3715c83ad9664736f6c63430008110033",
}

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: "0x60566037600b82828239805160001a607314602a57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea26469706673582212202a368ed60e495730a527e3929e1f187ef5bf4e4b0ad9c35eddbbfd36bc4dfbe164736f6c63430008110033",
}

MemViewLibMetaData contains all meta data concerning the MemViewLib contract.

View Source
var MerkleMathABI = MerkleMathMetaData.ABI

MerkleMathABI is the input ABI used to generate the binding from. Deprecated: Use MerkleMathMetaData.ABI instead.

View Source
var MerkleMathBin = MerkleMathMetaData.Bin

MerkleMathBin is the compiled bytecode used for deploying new contracts. Deprecated: Use MerkleMathMetaData.Bin instead.

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

MerkleMathMetaData contains all meta data concerning the MerkleMath 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: "0x60566037600b82828239805160001a607314602a57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea2646970667358221220120ceb848adc25aac9dcdd9a58241609071c08b4f5b15bc330a27986b5d0bb9864736f6c63430008110033",
}

NumberLibMetaData contains all meta data concerning the NumberLib contract.

View Source
var SnapshotHarnessABI = SnapshotHarnessMetaData.ABI

SnapshotHarnessABI is the input ABI used to generate the binding from. Deprecated: Use SnapshotHarnessMetaData.ABI instead.

View Source
var SnapshotHarnessBin = SnapshotHarnessMetaData.Bin

SnapshotHarnessBin is the compiled bytecode used for deploying new contracts. Deprecated: Use SnapshotHarnessMetaData.Bin instead.

View Source
var SnapshotHarnessFuncSigs = SnapshotHarnessMetaData.Sigs

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

View Source
var SnapshotHarnessMetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[],\"name\":\"IncorrectStatesAmount\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"IndexOutOfRange\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"IndexedTooMuch\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"OccupiedMemory\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"PrecompileOutOfGas\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"TreeHeightTooLow\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"UnallocatedMemory\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"UnformattedSnapshot\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"UnformattedState\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"ViewOverrun\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"bytes\",\"name\":\"payload\",\"type\":\"bytes\"}],\"name\":\"calculateRoot\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes\",\"name\":\"payload\",\"type\":\"bytes\"}],\"name\":\"castToSnapshot\",\"outputs\":[{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes[]\",\"name\":\"statePayloads\",\"type\":\"bytes[]\"}],\"name\":\"formatSnapshot\",\"outputs\":[{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes\",\"name\":\"payload\",\"type\":\"bytes\"}],\"name\":\"hashValid\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes\",\"name\":\"payload\",\"type\":\"bytes\"}],\"name\":\"isSnapshot\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes\",\"name\":\"payload\",\"type\":\"bytes\"}],\"name\":\"snapGas\",\"outputs\":[{\"internalType\":\"ChainGas[]\",\"name\":\"\",\"type\":\"uint128[]\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes\",\"name\":\"payload\",\"type\":\"bytes\"},{\"internalType\":\"uint8\",\"name\":\"stateIndex\",\"type\":\"uint8\"}],\"name\":\"state\",\"outputs\":[{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes\",\"name\":\"payload\",\"type\":\"bytes\"}],\"name\":\"statesAmount\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"pure\",\"type\":\"function\"}]",
	Sigs: map[string]string{
		"c9b2c4b4": "calculateRoot(bytes)",
		"925ea687": "castToSnapshot(bytes)",
		"a641fa33": "formatSnapshot(bytes[])",
		"730dbf63": "hashValid(bytes)",
		"8aae3c34": "isSnapshot(bytes)",
		"493ed1fd": "snapGas(bytes)",
		"24fc81d8": "state(bytes,uint8)",
		"450701c5": "statesAmount(bytes)",
	},
	Bin: "0x608060405234801561001057600080fd5b50611301806100206000396000f3fe608060405234801561001057600080fd5b50600436106100885760003560e01c80638aae3c341161005b5780638aae3c341461010a578063925ea6871461012d578063a641fa3314610140578063c9b2c4b41461015357600080fd5b806324fc81d81461008d578063450701c5146100b6578063493ed1fd146100d7578063730dbf63146100f7575b600080fd5b6100a061009b366004610fab565b610166565b6040516100ad9190611003565b60405180910390f35b6100c96100c436600461106f565b610195565b6040519081526020016100ad565b6100ea6100e536600461106f565b6101a8565b6040516100ad91906110a4565b6100c961010536600461106f565b6101bb565b61011d61011836600461106f565b6101ce565b60405190151581526020016100ad565b6100a061013b36600461106f565b6101e1565b6100a061014e3660046110fa565b610200565b6100c961016136600461106f565b6102b8565b606061018c6101876101848460ff1661017e876102cb565b906102de565b90565b61036e565b90505b92915050565b600061018f6101a3836102cb565b6103cb565b606061018f6101b6836102cb565b6103f5565b600061018f6101c9836102cb565b6104e4565b600061018f6101dc83610510565b610523565b606060006101ee836102cb565b90506101f98161036e565b9392505050565b805160609060008167ffffffffffffffff81111561022057610220610e9f565b604051908082528060200260200182016040528015610249578160200160208202803683370190505b50905060005b828110156102a65761027985828151811061026c5761026c6111bd565b6020026020010151610579565b82828151811061028b5761028b6111bd565b602090810291909101015261029f8161121b565b905061024f565b506102b081610587565b949350505050565b600061018f6102c6836102cb565b610674565b600061018f6102d983610510565b61074d565b600082816102ee600c6032611253565b6102f89085611266565b90506fffffffffffffffffffffffffffffffff82168110610345576040517f1390f2a100000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61036561036082610358600c6032611253565b859190610792565b610803565b95945050505050565b6040518061037f8360208301610844565b506fffffffffffffffffffffffffffffffff83166000601f82017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0168301602001604052509052919050565b60006103d9600c6032611253565b61018f906fffffffffffffffffffffffffffffffff841661127d565b60606000610402836103cb565b90508067ffffffffffffffff81111561041d5761041d610e9f565b604051908082528060200260200182016040528015610446578160200160208202803683370190505b50915060005b818110156104dd57600061046085836102de565b905061049961046e826108f3565b61047783610908565b63ffffffff1660209190911b6fffffffffffffffffffffffff00000000161790565b8483815181106104ab576104ab6111bd565b6fffffffffffffffffffffffffffffffff90921660209283029190910190910152506104d68161121b565b905061044c565b5050919050565b600061018f827ff304ae6578b1582b0b5b512e0a7070d6f76973b1f360f99dd500082d3bc94877610917565b8051600090602083016102b08183610953565b60006fffffffffffffffffffffffffffffffff821681610545600c6032611253565b61054f908361127d565b90508161055e600c6032611253565b6105689083611266565b1480156102b057506102b0816109b6565b600061018f61036083610510565b606061059382516109b6565b6105c9576040517fed98da6600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b815160008167ffffffffffffffff8111156105e6576105e6610e9f565b60405190808252806020026020018201604052801561060f578160200160208202803683370190505b50905060005b8281101561066a5761063d858281518110610632576106326111bd565b602002602001015190565b82828151811061064f5761064f6111bd565b60209081029190910101526106638161121b565b9050610615565b506102b0816109db565b600080610680836103cb565b905060008167ffffffffffffffff81111561069d5761069d610e9f565b6040519080825280602002602001820160405280156106c6578160200160208202803683370190505b50905060005b82811015610713576106e66106e186836102de565b610a37565b8282815181106106f8576106f86111bd565b602090810291909101015261070c8161121b565b90506106cc565b5061072981610724600160066112b8565b610a76565b8060008151811061073c5761073c6111bd565b602002602001015192505050919050565b600061075882610523565b61078e576040517fb963c35a00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5090565b60008061079f8560801c90565b90506107aa85610b69565b836107b58684611253565b6107bf9190611253565b11156107f7576040517fa3b99ded00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61036584820184610953565b600061080e82610b8f565b61078e576040517f6ba041c400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6040516000906fffffffffffffffffffffffffffffffff841690608085901c908085101561089e576040517f4b2a158c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008386858560045afa9050806108e1576040517f7c7d772f00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b608086901b8417979650505050505050565b600061018f6101846032600c855b9190610bb7565b600061018f6020600484610901565b60008161092384610bd8565b60408051602081019390935282015260600160405160208183030381529060405280519060200120905092915050565b6000806109608385611253565b9050604051811115610970575060005b806000036109aa576040517f10bef38600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b608084901b83176102b0565b6000811580159061018f57506109ce600160066112b8565b6001901b82111592915050565b6040518060006109ee8460208401610c03565b6fffffffffffffffffffffffffffffffff16601f81017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016830160200160405290915250919050565b6000806000610a4584610ca7565b6040805160208082019490945280820192909252805180830382018152606090920190528051910120949350505050565b81516001821b811115610ab5576040517fc5360feb00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60005b82811015610b635760005b82811015610b545760008160010190506000868381518110610ae757610ae76111bd565b602002602001015190506000858310610b01576000610b1c565b878381518110610b1357610b136111bd565b60200260200101515b9050610b288282610cd6565b88600186901c81518110610b3e57610b3e6111bd565b6020908102919091010152505050600201610ac3565b506001918201821c9101610ab8565b50505050565b60006fffffffffffffffffffffffffffffffff8216610b888360801c90565b0192915050565b6000610b9d600c6032611253565b6fffffffffffffffffffffffffffffffff83161492915050565b600080610bc5858585610d22565b602084900360031b1c9150509392505050565b600080610be58360801c90565b6fffffffffffffffffffffffffffffffff9390931690922092915050565b60405160009080831015610c43576040517f4b2a158c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000805b8551811015610c9a576000868281518110610c6457610c646111bd565b60200260200101519050610c7a81848801610844565b506fffffffffffffffffffffffffffffffff169190910190600101610c47565b50608084901b8117610365565b60008082610cbe610cb9826024610e2c565b610bd8565b9250610cce610cb9826024610e39565b915050915091565b600082158015610ce4575081155b15610cf15750600061018f565b604080516020810185905290810183905260600160405160208183030381529060405280519060200120905061018f565b600081600003610d34575060006101f9565b6020821115610d6f576040517f31d784a800000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6fffffffffffffffffffffffffffffffff8416610d8c8385611253565b1115610dc4576040517fa3b99ded00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600382901b6000610dd58660801c90565b909401517f80000000000000000000000000000000000000000000000000000000000000007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff929092019190911d16949350505050565b600061018c838284610792565b60006fffffffffffffffffffffffffffffffff831680831115610e88576040517fa3b99ded00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6102b083610e968660801c90565b01848303610953565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b604051601f82017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016810167ffffffffffffffff81118282101715610f1557610f15610e9f565b604052919050565b600082601f830112610f2e57600080fd5b813567ffffffffffffffff811115610f4857610f48610e9f565b610f7960207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f84011601610ece565b818152846020838601011115610f8e57600080fd5b816020850160208301376000918101602001919091529392505050565b60008060408385031215610fbe57600080fd5b823567ffffffffffffffff811115610fd557600080fd5b610fe185828601610f1d565b925050602083013560ff81168114610ff857600080fd5b809150509250929050565b600060208083528351808285015260005b8181101561103057858101830151858201604001528201611014565b5060006040828601015260407fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f8301168501019250505092915050565b60006020828403121561108157600080fd5b813567ffffffffffffffff81111561109857600080fd5b6102b084828501610f1d565b6020808252825182820181905260009190848201906040850190845b818110156110ee5783516fffffffffffffffffffffffffffffffff16835292840192918401916001016110c0565b50909695505050505050565b6000602080838503121561110d57600080fd5b823567ffffffffffffffff8082111561112557600080fd5b818501915085601f83011261113957600080fd5b81358181111561114b5761114b610e9f565b8060051b61115a858201610ece565b918252838101850191858101908984111561117457600080fd5b86860192505b838310156111b0578235858111156111925760008081fd5b6111a08b89838a0101610f1d565b835250918601919086019061117a565b9998505050505050505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff820361124c5761124c6111ec565b5060010190565b8082018082111561018f5761018f6111ec565b808202811582820484141761018f5761018f6111ec565b6000826112b3577f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b500490565b8181038181111561018f5761018f6111ec56fea26469706673582212207faf26e0e98580642f243af155ebabaae20517b65341b4b62be0eca8e92b3b8f64736f6c63430008110033",
}

SnapshotHarnessMetaData contains all meta data concerning the SnapshotHarness contract.

View Source
var SnapshotLibABI = SnapshotLibMetaData.ABI

SnapshotLibABI is the input ABI used to generate the binding from. Deprecated: Use SnapshotLibMetaData.ABI instead.

View Source
var SnapshotLibBin = SnapshotLibMetaData.Bin

SnapshotLibBin is the compiled bytecode used for deploying new contracts. Deprecated: Use SnapshotLibMetaData.Bin instead.

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

SnapshotLibMetaData contains all meta data concerning the SnapshotLib 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: "0x60566037600b82828239805160001a607314602a57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea264697066735822122039b6d8818226a3bb39a6b45fac416a91bd2a8a5d919e16c8e1c657f624fcd70e64736f6c63430008110033",
}

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 MerkleMath added in v0.0.171

type MerkleMath struct {
	MerkleMathCaller     // Read-only binding to the contract
	MerkleMathTransactor // Write-only binding to the contract
	MerkleMathFilterer   // Log filterer for contract events
}

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

func DeployMerkleMath added in v0.0.171

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

DeployMerkleMath deploys a new Ethereum contract, binding an instance of MerkleMath to it.

func NewMerkleMath added in v0.0.171

func NewMerkleMath(address common.Address, backend bind.ContractBackend) (*MerkleMath, error)

NewMerkleMath creates a new instance of MerkleMath, bound to a specific deployed contract.

type MerkleMathCaller added in v0.0.171

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

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

func NewMerkleMathCaller added in v0.0.171

func NewMerkleMathCaller(address common.Address, caller bind.ContractCaller) (*MerkleMathCaller, error)

NewMerkleMathCaller creates a new read-only instance of MerkleMath, bound to a specific deployed contract.

type MerkleMathCallerRaw added in v0.0.171

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

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

func (*MerkleMathCallerRaw) Call added in v0.0.171

func (_MerkleMath *MerkleMathCallerRaw) 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 MerkleMathCallerSession added in v0.0.171

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

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

type MerkleMathFilterer added in v0.0.171

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

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

func NewMerkleMathFilterer added in v0.0.171

func NewMerkleMathFilterer(address common.Address, filterer bind.ContractFilterer) (*MerkleMathFilterer, error)

NewMerkleMathFilterer creates a new log filterer instance of MerkleMath, bound to a specific deployed contract.

type MerkleMathRaw added in v0.0.171

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

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

func (*MerkleMathRaw) Call added in v0.0.171

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

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

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

func (*MerkleMathRaw) Transfer added in v0.0.171

func (_MerkleMath *MerkleMathRaw) 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 MerkleMathSession added in v0.0.171

type MerkleMathSession struct {
	Contract     *MerkleMath       // 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
}

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

type MerkleMathTransactor added in v0.0.171

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

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

func NewMerkleMathTransactor added in v0.0.171

func NewMerkleMathTransactor(address common.Address, transactor bind.ContractTransactor) (*MerkleMathTransactor, error)

NewMerkleMathTransactor creates a new write-only instance of MerkleMath, bound to a specific deployed contract.

type MerkleMathTransactorRaw added in v0.0.171

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

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

func (*MerkleMathTransactorRaw) Transact added in v0.0.171

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

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

func (*MerkleMathTransactorRaw) Transfer added in v0.0.171

func (_MerkleMath *MerkleMathTransactorRaw) 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 MerkleMathTransactorSession added in v0.0.171

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

MerkleMathTransactorSession 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 SnapshotHarness

type SnapshotHarness struct {
	SnapshotHarnessCaller     // Read-only binding to the contract
	SnapshotHarnessTransactor // Write-only binding to the contract
	SnapshotHarnessFilterer   // Log filterer for contract events
}

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

func DeploySnapshotHarness

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

DeploySnapshotHarness deploys a new Ethereum contract, binding an instance of SnapshotHarness to it.

func NewSnapshotHarness

func NewSnapshotHarness(address common.Address, backend bind.ContractBackend) (*SnapshotHarness, error)

NewSnapshotHarness creates a new instance of SnapshotHarness, bound to a specific deployed contract.

type SnapshotHarnessCaller

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

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

func NewSnapshotHarnessCaller

func NewSnapshotHarnessCaller(address common.Address, caller bind.ContractCaller) (*SnapshotHarnessCaller, error)

NewSnapshotHarnessCaller creates a new read-only instance of SnapshotHarness, bound to a specific deployed contract.

func (*SnapshotHarnessCaller) CalculateRoot added in v0.0.171

func (_SnapshotHarness *SnapshotHarnessCaller) CalculateRoot(opts *bind.CallOpts, payload []byte) ([32]byte, error)

CalculateRoot is a free data retrieval call binding the contract method 0xc9b2c4b4.

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

func (*SnapshotHarnessCaller) CastToSnapshot

func (_SnapshotHarness *SnapshotHarnessCaller) CastToSnapshot(opts *bind.CallOpts, payload []byte) ([]byte, error)

CastToSnapshot is a free data retrieval call binding the contract method 0x925ea687.

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

func (*SnapshotHarnessCaller) FormatSnapshot

func (_SnapshotHarness *SnapshotHarnessCaller) FormatSnapshot(opts *bind.CallOpts, statePayloads [][]byte) ([]byte, error)

FormatSnapshot is a free data retrieval call binding the contract method 0xa641fa33.

Solidity: function formatSnapshot(bytes[] statePayloads) view returns(bytes)

func (*SnapshotHarnessCaller) HashValid added in v0.0.171

func (_SnapshotHarness *SnapshotHarnessCaller) HashValid(opts *bind.CallOpts, payload []byte) ([32]byte, error)

HashValid is a free data retrieval call binding the contract method 0x730dbf63.

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

func (*SnapshotHarnessCaller) IsSnapshot

func (_SnapshotHarness *SnapshotHarnessCaller) IsSnapshot(opts *bind.CallOpts, payload []byte) (bool, error)

IsSnapshot is a free data retrieval call binding the contract method 0x8aae3c34.

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

func (*SnapshotHarnessCaller) SnapGas added in v0.0.171

func (_SnapshotHarness *SnapshotHarnessCaller) SnapGas(opts *bind.CallOpts, payload []byte) ([]*big.Int, error)

SnapGas is a free data retrieval call binding the contract method 0x493ed1fd.

Solidity: function snapGas(bytes payload) pure returns(uint128[])

func (*SnapshotHarnessCaller) State

func (_SnapshotHarness *SnapshotHarnessCaller) State(opts *bind.CallOpts, payload []byte, stateIndex uint8) ([]byte, error)

State is a free data retrieval call binding the contract method 0x24fc81d8.

Solidity: function state(bytes payload, uint8 stateIndex) view returns(bytes)

func (*SnapshotHarnessCaller) StatesAmount

func (_SnapshotHarness *SnapshotHarnessCaller) StatesAmount(opts *bind.CallOpts, payload []byte) (*big.Int, error)

StatesAmount is a free data retrieval call binding the contract method 0x450701c5.

Solidity: function statesAmount(bytes payload) pure returns(uint256)

type SnapshotHarnessCallerRaw

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

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

func (*SnapshotHarnessCallerRaw) Call

func (_SnapshotHarness *SnapshotHarnessCallerRaw) 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 SnapshotHarnessCallerSession

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

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

func (*SnapshotHarnessCallerSession) CalculateRoot added in v0.0.171

func (_SnapshotHarness *SnapshotHarnessCallerSession) CalculateRoot(payload []byte) ([32]byte, error)

CalculateRoot is a free data retrieval call binding the contract method 0xc9b2c4b4.

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

func (*SnapshotHarnessCallerSession) CastToSnapshot

func (_SnapshotHarness *SnapshotHarnessCallerSession) CastToSnapshot(payload []byte) ([]byte, error)

CastToSnapshot is a free data retrieval call binding the contract method 0x925ea687.

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

func (*SnapshotHarnessCallerSession) FormatSnapshot

func (_SnapshotHarness *SnapshotHarnessCallerSession) FormatSnapshot(statePayloads [][]byte) ([]byte, error)

FormatSnapshot is a free data retrieval call binding the contract method 0xa641fa33.

Solidity: function formatSnapshot(bytes[] statePayloads) view returns(bytes)

func (*SnapshotHarnessCallerSession) HashValid added in v0.0.171

func (_SnapshotHarness *SnapshotHarnessCallerSession) HashValid(payload []byte) ([32]byte, error)

HashValid is a free data retrieval call binding the contract method 0x730dbf63.

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

func (*SnapshotHarnessCallerSession) IsSnapshot

func (_SnapshotHarness *SnapshotHarnessCallerSession) IsSnapshot(payload []byte) (bool, error)

IsSnapshot is a free data retrieval call binding the contract method 0x8aae3c34.

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

func (*SnapshotHarnessCallerSession) SnapGas added in v0.0.171

func (_SnapshotHarness *SnapshotHarnessCallerSession) SnapGas(payload []byte) ([]*big.Int, error)

SnapGas is a free data retrieval call binding the contract method 0x493ed1fd.

Solidity: function snapGas(bytes payload) pure returns(uint128[])

func (*SnapshotHarnessCallerSession) State

func (_SnapshotHarness *SnapshotHarnessCallerSession) State(payload []byte, stateIndex uint8) ([]byte, error)

State is a free data retrieval call binding the contract method 0x24fc81d8.

Solidity: function state(bytes payload, uint8 stateIndex) view returns(bytes)

func (*SnapshotHarnessCallerSession) StatesAmount

func (_SnapshotHarness *SnapshotHarnessCallerSession) StatesAmount(payload []byte) (*big.Int, error)

StatesAmount is a free data retrieval call binding the contract method 0x450701c5.

Solidity: function statesAmount(bytes payload) pure returns(uint256)

type SnapshotHarnessFilterer

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

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

func NewSnapshotHarnessFilterer

func NewSnapshotHarnessFilterer(address common.Address, filterer bind.ContractFilterer) (*SnapshotHarnessFilterer, error)

NewSnapshotHarnessFilterer creates a new log filterer instance of SnapshotHarness, bound to a specific deployed contract.

type SnapshotHarnessRaw

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

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

func (*SnapshotHarnessRaw) Call

func (_SnapshotHarness *SnapshotHarnessRaw) 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 (*SnapshotHarnessRaw) Transact

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

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

func (*SnapshotHarnessRaw) Transfer

func (_SnapshotHarness *SnapshotHarnessRaw) 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 SnapshotHarnessRef

type SnapshotHarnessRef struct {
	*SnapshotHarness
	// contains filtered or unexported fields
}

SnapshotHarnessRef is a snapshot harness reference.

func NewSnapshotHarnessRef

func NewSnapshotHarnessRef(address common.Address, backend bind.ContractBackend) (*SnapshotHarnessRef, error)

NewSnapshotHarnessRef creates a new snapshot harness.

func (SnapshotHarnessRef) Address

func (s SnapshotHarnessRef) Address() common.Address

Address gets the address of the contract.

type SnapshotHarnessSession

type SnapshotHarnessSession struct {
	Contract     *SnapshotHarness  // 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
}

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

func (*SnapshotHarnessSession) CalculateRoot added in v0.0.171

func (_SnapshotHarness *SnapshotHarnessSession) CalculateRoot(payload []byte) ([32]byte, error)

CalculateRoot is a free data retrieval call binding the contract method 0xc9b2c4b4.

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

func (*SnapshotHarnessSession) CastToSnapshot

func (_SnapshotHarness *SnapshotHarnessSession) CastToSnapshot(payload []byte) ([]byte, error)

CastToSnapshot is a free data retrieval call binding the contract method 0x925ea687.

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

func (*SnapshotHarnessSession) FormatSnapshot

func (_SnapshotHarness *SnapshotHarnessSession) FormatSnapshot(statePayloads [][]byte) ([]byte, error)

FormatSnapshot is a free data retrieval call binding the contract method 0xa641fa33.

Solidity: function formatSnapshot(bytes[] statePayloads) view returns(bytes)

func (*SnapshotHarnessSession) HashValid added in v0.0.171

func (_SnapshotHarness *SnapshotHarnessSession) HashValid(payload []byte) ([32]byte, error)

HashValid is a free data retrieval call binding the contract method 0x730dbf63.

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

func (*SnapshotHarnessSession) IsSnapshot

func (_SnapshotHarness *SnapshotHarnessSession) IsSnapshot(payload []byte) (bool, error)

IsSnapshot is a free data retrieval call binding the contract method 0x8aae3c34.

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

func (*SnapshotHarnessSession) SnapGas added in v0.0.171

func (_SnapshotHarness *SnapshotHarnessSession) SnapGas(payload []byte) ([]*big.Int, error)

SnapGas is a free data retrieval call binding the contract method 0x493ed1fd.

Solidity: function snapGas(bytes payload) pure returns(uint128[])

func (*SnapshotHarnessSession) State

func (_SnapshotHarness *SnapshotHarnessSession) State(payload []byte, stateIndex uint8) ([]byte, error)

State is a free data retrieval call binding the contract method 0x24fc81d8.

Solidity: function state(bytes payload, uint8 stateIndex) view returns(bytes)

func (*SnapshotHarnessSession) StatesAmount

func (_SnapshotHarness *SnapshotHarnessSession) StatesAmount(payload []byte) (*big.Int, error)

StatesAmount is a free data retrieval call binding the contract method 0x450701c5.

Solidity: function statesAmount(bytes payload) pure returns(uint256)

type SnapshotHarnessTransactor

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

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

func NewSnapshotHarnessTransactor

func NewSnapshotHarnessTransactor(address common.Address, transactor bind.ContractTransactor) (*SnapshotHarnessTransactor, error)

NewSnapshotHarnessTransactor creates a new write-only instance of SnapshotHarness, bound to a specific deployed contract.

type SnapshotHarnessTransactorRaw

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

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

func (*SnapshotHarnessTransactorRaw) Transact

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

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

func (*SnapshotHarnessTransactorRaw) Transfer

func (_SnapshotHarness *SnapshotHarnessTransactorRaw) 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 SnapshotHarnessTransactorSession

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

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

type SnapshotLib

type SnapshotLib struct {
	SnapshotLibCaller     // Read-only binding to the contract
	SnapshotLibTransactor // Write-only binding to the contract
	SnapshotLibFilterer   // Log filterer for contract events
}

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

func DeploySnapshotLib

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

DeploySnapshotLib deploys a new Ethereum contract, binding an instance of SnapshotLib to it.

func NewSnapshotLib

func NewSnapshotLib(address common.Address, backend bind.ContractBackend) (*SnapshotLib, error)

NewSnapshotLib creates a new instance of SnapshotLib, bound to a specific deployed contract.

type SnapshotLibCaller

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

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

func NewSnapshotLibCaller

func NewSnapshotLibCaller(address common.Address, caller bind.ContractCaller) (*SnapshotLibCaller, error)

NewSnapshotLibCaller creates a new read-only instance of SnapshotLib, bound to a specific deployed contract.

type SnapshotLibCallerRaw

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

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

func (*SnapshotLibCallerRaw) Call

func (_SnapshotLib *SnapshotLibCallerRaw) 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 SnapshotLibCallerSession

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

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

type SnapshotLibFilterer

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

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

func NewSnapshotLibFilterer

func NewSnapshotLibFilterer(address common.Address, filterer bind.ContractFilterer) (*SnapshotLibFilterer, error)

NewSnapshotLibFilterer creates a new log filterer instance of SnapshotLib, bound to a specific deployed contract.

type SnapshotLibRaw

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

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

func (*SnapshotLibRaw) Call

func (_SnapshotLib *SnapshotLibRaw) 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 (*SnapshotLibRaw) Transact

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

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

func (*SnapshotLibRaw) Transfer

func (_SnapshotLib *SnapshotLibRaw) 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 SnapshotLibSession

type SnapshotLibSession struct {
	Contract     *SnapshotLib      // 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
}

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

type SnapshotLibTransactor

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

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

func NewSnapshotLibTransactor

func NewSnapshotLibTransactor(address common.Address, transactor bind.ContractTransactor) (*SnapshotLibTransactor, error)

NewSnapshotLibTransactor creates a new write-only instance of SnapshotLib, bound to a specific deployed contract.

type SnapshotLibTransactorRaw

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

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

func (*SnapshotLibTransactorRaw) Transact

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

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

func (*SnapshotLibTransactorRaw) Transfer

func (_SnapshotLib *SnapshotLibTransactorRaw) 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 SnapshotLibTransactorSession

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

SnapshotLibTransactorSession 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