snapshotharness

package
v0.0.250 Latest Latest
Warning

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

Go to latest
Published: Oct 24, 2023 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: "0x60566037600b82828239805160001a607314602a57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea264697066735822122084832860149bb6203ec992efb0cf5fa2f2b92692a9c83707fbb93c9fba3409e064736f6c63430008110033",
}

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

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

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

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\":\"uint256\",\"name\":\"stateIndex\",\"type\":\"uint256\"}],\"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)",
		"1406cde1": "state(bytes,uint256)",
		"450701c5": "statesAmount(bytes)",
	},
	Bin: "0x608060405234801561001057600080fd5b506112eb806100206000396000f3fe608060405234801561001057600080fd5b50600436106100885760003560e01c80638aae3c341161005b5780638aae3c341461010a578063925ea6871461012d578063a641fa3314610140578063c9b2c4b41461015357600080fd5b80631406cde11461008d578063450701c5146100b6578063493ed1fd146100d7578063730dbf63146100f7575b600080fd5b6100a061009b366004610fa8565b610166565b6040516100ad9190610fed565b60405180910390f35b6100c96100c4366004611059565b610192565b6040519081526020016100ad565b6100ea6100e5366004611059565b6101a5565b6040516100ad919061108e565b6100c9610105366004611059565b6101b8565b61011d610118366004611059565b6101cb565b60405190151581526020016100ad565b6100a061013b366004611059565b6101de565b6100a061014e3660046110e4565b6101fd565b6100c9610161366004611059565b6102b5565b60606101896101846101818461017b876102c8565b906102db565b90565b61036b565b90505b92915050565b600061018c6101a0836102c8565b6103c8565b606061018c6101b3836102c8565b6103f2565b600061018c6101c6836102c8565b6104e1565b600061018c6101d98361050d565b610520565b606060006101eb836102c8565b90506101f68161036b565b9392505050565b805160609060008167ffffffffffffffff81111561021d5761021d610e9c565b604051908082528060200260200182016040528015610246578160200160208202803683370190505b50905060005b828110156102a357610276858281518110610269576102696111a7565b6020026020010151610576565b828281518110610288576102886111a7565b602090810291909101015261029c81611205565b905061024c565b506102ad81610584565b949350505050565b600061018c6102c3836102c8565b610671565b600061018c6102d68361050d565b61074a565b600082816102eb600c603261123d565b6102f59085611250565b90506fffffffffffffffffffffffffffffffff82168110610342576040517f1390f2a100000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61036261035d82610355600c603261123d565b85919061078f565b610800565b95945050505050565b6040518061037c8360208301610841565b506fffffffffffffffffffffffffffffffff83166000601f82017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0168301602001604052509052919050565b60006103d6600c603261123d565b61018c906fffffffffffffffffffffffffffffffff8416611267565b606060006103ff836103c8565b90508067ffffffffffffffff81111561041a5761041a610e9c565b604051908082528060200260200182016040528015610443578160200160208202803683370190505b50915060005b818110156104da57600061045d85836102db565b905061049661046b826108f0565b61047483610905565b63ffffffff1660209190911b6fffffffffffffffffffffffff00000000161790565b8483815181106104a8576104a86111a7565b6fffffffffffffffffffffffffffffffff90921660209283029190910190910152506104d381611205565b9050610449565b5050919050565b600061018c827ff304ae6578b1582b0b5b512e0a7070d6f76973b1f360f99dd500082d3bc94877610914565b8051600090602083016102ad8183610950565b60006fffffffffffffffffffffffffffffffff821681610542600c603261123d565b61054c9083611267565b90508161055b600c603261123d565b6105659083611250565b1480156102ad57506102ad816109b3565b600061018c61035d8361050d565b606061059082516109b3565b6105c6576040517fed98da6600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b815160008167ffffffffffffffff8111156105e3576105e3610e9c565b60405190808252806020026020018201604052801561060c578160200160208202803683370190505b50905060005b828110156106675761063a85828151811061062f5761062f6111a7565b602002602001015190565b82828151811061064c5761064c6111a7565b602090810291909101015261066081611205565b9050610612565b506102ad816109d8565b60008061067d836103c8565b905060008167ffffffffffffffff81111561069a5761069a610e9c565b6040519080825280602002602001820160405280156106c3578160200160208202803683370190505b50905060005b82811015610710576106e36106de86836102db565b610a34565b8282815181106106f5576106f56111a7565b602090810291909101015261070981611205565b90506106c9565b5061072681610721600160066112a2565b610a73565b80600081518110610739576107396111a7565b602002602001015192505050919050565b600061075582610520565b61078b576040517fb963c35a00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5090565b60008061079c8560801c90565b90506107a785610b66565b836107b2868461123d565b6107bc919061123d565b11156107f4576040517fa3b99ded00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61036284820184610950565b600061080b82610b8c565b61078b576040517f6ba041c400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6040516000906fffffffffffffffffffffffffffffffff841690608085901c908085101561089b576040517f4b2a158c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008386858560045afa9050806108de576040517f7c7d772f00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b608086901b8417979650505050505050565b600061018c6101816032600c855b9190610bb4565b600061018c60206004846108fe565b60008161092084610bd5565b60408051602081019390935282015260600160405160208183030381529060405280519060200120905092915050565b60008061095d838561123d565b905060405181111561096d575060005b806000036109a7576040517f10bef38600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b608084901b83176102ad565b6000811580159061018c57506109cb600160066112a2565b6001901b82111592915050565b6040518060006109eb8460208401610c00565b6fffffffffffffffffffffffffffffffff16601f81017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016830160200160405290915250919050565b6000806000610a4284610ca4565b6040805160208082019490945280820192909252805180830382018152606090920190528051910120949350505050565b81516001821b811115610ab2576040517fc5360feb00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60005b82811015610b605760005b82811015610b515760008160010190506000868381518110610ae457610ae46111a7565b602002602001015190506000858310610afe576000610b19565b878381518110610b1057610b106111a7565b60200260200101515b9050610b258282610cd3565b88600186901c81518110610b3b57610b3b6111a7565b6020908102919091010152505050600201610ac0565b506001918201821c9101610ab5565b50505050565b60006fffffffffffffffffffffffffffffffff8216610b858360801c90565b0192915050565b6000610b9a600c603261123d565b6fffffffffffffffffffffffffffffffff83161492915050565b600080610bc2858585610d1f565b602084900360031b1c9150509392505050565b600080610be28360801c90565b6fffffffffffffffffffffffffffffffff9390931690922092915050565b60405160009080831015610c40576040517f4b2a158c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000805b8551811015610c97576000868281518110610c6157610c616111a7565b60200260200101519050610c7781848801610841565b506fffffffffffffffffffffffffffffffff169190910190600101610c44565b50608084901b8117610362565b60008082610cbb610cb6826024610e29565b610bd5565b9250610ccb610cb6826024610e36565b915050915091565b600082158015610ce1575081155b15610cee5750600061018c565b604080516020810185905290810183905260600160405160208183030381529060405280519060200120905061018c565b600081600003610d31575060006101f6565b6020821115610d6c576040517f31d784a800000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6fffffffffffffffffffffffffffffffff8416610d89838561123d565b1115610dc1576040517fa3b99ded00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600382901b6000610dd28660801c90565b909401517f80000000000000000000000000000000000000000000000000000000000000007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff929092019190911d16949350505050565b600061018983828461078f565b60006fffffffffffffffffffffffffffffffff831680831115610e85576040517fa3b99ded00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6102ad83610e938660801c90565b01848303610950565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b604051601f82017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016810167ffffffffffffffff81118282101715610f1257610f12610e9c565b604052919050565b600082601f830112610f2b57600080fd5b813567ffffffffffffffff811115610f4557610f45610e9c565b610f7660207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f84011601610ecb565b818152846020838601011115610f8b57600080fd5b816020850160208301376000918101602001919091529392505050565b60008060408385031215610fbb57600080fd5b823567ffffffffffffffff811115610fd257600080fd5b610fde85828601610f1a565b95602094909401359450505050565b600060208083528351808285015260005b8181101561101a57858101830151858201604001528201610ffe565b5060006040828601015260407fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f8301168501019250505092915050565b60006020828403121561106b57600080fd5b813567ffffffffffffffff81111561108257600080fd5b6102ad84828501610f1a565b6020808252825182820181905260009190848201906040850190845b818110156110d85783516fffffffffffffffffffffffffffffffff16835292840192918401916001016110aa565b50909695505050505050565b600060208083850312156110f757600080fd5b823567ffffffffffffffff8082111561110f57600080fd5b818501915085601f83011261112357600080fd5b81358181111561113557611135610e9c565b8060051b611144858201610ecb565b918252838101850191858101908984111561115e57600080fd5b86860192505b8383101561119a5782358581111561117c5760008081fd5b61118a8b89838a0101610f1a565b8352509186019190860190611164565b9998505050505050505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203611236576112366111d6565b5060010190565b8082018082111561018c5761018c6111d6565b808202811582820484141761018c5761018c6111d6565b60008261129d577f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b500490565b8181038181111561018c5761018c6111d656fea264697066735822122017ffaf19d33b811573fa2bed50d185c2008ea34a30701b9abb652559183cbd9664736f6c63430008110033",
}

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

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

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 *big.Int) ([]byte, error)

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

Solidity: function state(bytes payload, uint256 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 *big.Int) ([]byte, error)

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

Solidity: function state(bytes payload, uint256 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 *big.Int) ([]byte, error)

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

Solidity: function state(bytes payload, uint256 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