stateharness

package
v0.0.152 Latest Latest
Warning

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

Go to latest
Published: Apr 26, 2023 License: MIT Imports: 13 Imported by: 0

Documentation

Overview

Package stateharness implements the StateHarness contract.

Code generated by synapse abigen DO NOT EDIT.

Index

Constants

This section is empty.

Variables

View Source
var ByteStringABI = ByteStringMetaData.ABI

ByteStringABI is the input ABI used to generate the binding from. Deprecated: Use ByteStringMetaData.ABI instead.

View Source
var ByteStringBin = ByteStringMetaData.Bin

ByteStringBin is the compiled bytecode used for deploying new contracts. Deprecated: Use ByteStringMetaData.Bin instead.

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

ByteStringMetaData contains all meta data concerning the ByteString contract.

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

Contracts are unmarshalled on start

View Source
var StateHarnessABI = StateHarnessMetaData.ABI

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

View Source
var StateHarnessBin = StateHarnessMetaData.Bin

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

View Source
var StateHarnessFuncSigs = StateHarnessMetaData.Sigs

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

View Source
var StateHarnessMetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[{\"internalType\":\"bytes\",\"name\":\"_payload\",\"type\":\"bytes\"}],\"name\":\"blockNumber\",\"outputs\":[{\"internalType\":\"uint40\",\"name\":\"\",\"type\":\"uint40\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes\",\"name\":\"_payload\",\"type\":\"bytes\"}],\"name\":\"castToState\",\"outputs\":[{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes\",\"name\":\"_payload\",\"type\":\"bytes\"},{\"components\":[{\"internalType\":\"bytes32\",\"name\":\"root\",\"type\":\"bytes32\"},{\"internalType\":\"uint40\",\"name\":\"blockNumber\",\"type\":\"uint40\"},{\"internalType\":\"uint40\",\"name\":\"timestamp\",\"type\":\"uint40\"}],\"internalType\":\"structOriginState\",\"name\":\"_originState\",\"type\":\"tuple\"}],\"name\":\"equalToOrigin\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"bytes32\",\"name\":\"root\",\"type\":\"bytes32\"},{\"internalType\":\"uint40\",\"name\":\"blockNumber\",\"type\":\"uint40\"},{\"internalType\":\"uint40\",\"name\":\"timestamp\",\"type\":\"uint40\"}],\"internalType\":\"structOriginState\",\"name\":\"_originState\",\"type\":\"tuple\"},{\"internalType\":\"uint32\",\"name\":\"_origin\",\"type\":\"uint32\"},{\"internalType\":\"uint32\",\"name\":\"_nonce\",\"type\":\"uint32\"}],\"name\":\"formatOriginState\",\"outputs\":[{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"_root\",\"type\":\"bytes32\"},{\"internalType\":\"uint32\",\"name\":\"_origin\",\"type\":\"uint32\"},{\"internalType\":\"uint32\",\"name\":\"_nonce\",\"type\":\"uint32\"},{\"internalType\":\"uint40\",\"name\":\"_blockNumber\",\"type\":\"uint40\"},{\"internalType\":\"uint40\",\"name\":\"_timestamp\",\"type\":\"uint40\"}],\"name\":\"formatState\",\"outputs\":[{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"bytes32\",\"name\":\"root\",\"type\":\"bytes32\"},{\"internalType\":\"uint32\",\"name\":\"origin\",\"type\":\"uint32\"},{\"internalType\":\"uint32\",\"name\":\"nonce\",\"type\":\"uint32\"},{\"internalType\":\"uint40\",\"name\":\"blockNumber\",\"type\":\"uint40\"},{\"internalType\":\"uint40\",\"name\":\"timestamp\",\"type\":\"uint40\"}],\"internalType\":\"structSummitState\",\"name\":\"_summitState\",\"type\":\"tuple\"}],\"name\":\"formatSummitState\",\"outputs\":[{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes\",\"name\":\"_payload\",\"type\":\"bytes\"}],\"name\":\"hash\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes\",\"name\":\"_payload\",\"type\":\"bytes\"}],\"name\":\"isState\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"_root\",\"type\":\"bytes32\"},{\"internalType\":\"uint32\",\"name\":\"_origin\",\"type\":\"uint32\"}],\"name\":\"leftLeaf\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes\",\"name\":\"_payload\",\"type\":\"bytes\"}],\"name\":\"nonce\",\"outputs\":[{\"internalType\":\"uint32\",\"name\":\"\",\"type\":\"uint32\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes\",\"name\":\"_payload\",\"type\":\"bytes\"}],\"name\":\"origin\",\"outputs\":[{\"internalType\":\"uint32\",\"name\":\"\",\"type\":\"uint32\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"_root\",\"type\":\"bytes32\"}],\"name\":\"originState\",\"outputs\":[{\"components\":[{\"internalType\":\"bytes32\",\"name\":\"root\",\"type\":\"bytes32\"},{\"internalType\":\"uint40\",\"name\":\"blockNumber\",\"type\":\"uint40\"},{\"internalType\":\"uint40\",\"name\":\"timestamp\",\"type\":\"uint40\"}],\"internalType\":\"structOriginState\",\"name\":\"state\",\"type\":\"tuple\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint32\",\"name\":\"_nonce\",\"type\":\"uint32\"},{\"internalType\":\"uint40\",\"name\":\"_blockNumber\",\"type\":\"uint40\"},{\"internalType\":\"uint40\",\"name\":\"_timestamp\",\"type\":\"uint40\"}],\"name\":\"rightLeaf\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes\",\"name\":\"_payload\",\"type\":\"bytes\"}],\"name\":\"root\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes\",\"name\":\"_payload\",\"type\":\"bytes\"}],\"name\":\"subLeafs\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes\",\"name\":\"_payload\",\"type\":\"bytes\"}],\"name\":\"timestamp\",\"outputs\":[{\"internalType\":\"uint40\",\"name\":\"\",\"type\":\"uint40\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes\",\"name\":\"_payload\",\"type\":\"bytes\"}],\"name\":\"toSummitState\",\"outputs\":[{\"components\":[{\"internalType\":\"bytes32\",\"name\":\"root\",\"type\":\"bytes32\"},{\"internalType\":\"uint32\",\"name\":\"origin\",\"type\":\"uint32\"},{\"internalType\":\"uint32\",\"name\":\"nonce\",\"type\":\"uint32\"},{\"internalType\":\"uint40\",\"name\":\"blockNumber\",\"type\":\"uint40\"},{\"internalType\":\"uint40\",\"name\":\"timestamp\",\"type\":\"uint40\"}],\"internalType\":\"structSummitState\",\"name\":\"state\",\"type\":\"tuple\"}],\"stateMutability\":\"pure\",\"type\":\"function\"}]",
	Sigs: map[string]string{
		"e948e600": "blockNumber(bytes)",
		"5fed0261": "castToState(bytes)",
		"3047b5ea": "equalToOrigin(bytes,(bytes32,uint40,uint40))",
		"e8643e25": "formatOriginState((bytes32,uint40,uint40),uint32,uint32)",
		"365b4b67": "formatState(bytes32,uint32,uint32,uint40,uint40)",
		"461e44d3": "formatSummitState((bytes32,uint32,uint32,uint40,uint40))",
		"aa1e84de": "hash(bytes)",
		"aae6d884": "isState(bytes)",
		"edaa471d": "leftLeaf(bytes32,uint32)",
		"4e765004": "nonce(bytes)",
		"cb3eb0e1": "origin(bytes)",
		"1efcb714": "originState(bytes32)",
		"503d0bed": "rightLeaf(uint32,uint40,uint40)",
		"c2e9e208": "root(bytes)",
		"9aaa1826": "subLeafs(bytes)",
		"1c9aa222": "timestamp(bytes)",
		"9677fe8d": "toSummitState(bytes)",
	},
	Bin: "0x608060405234801561001057600080fd5b5061192f806100206000396000f3fe608060405234801561001057600080fd5b506004361061011b5760003560e01c80639677fe8d116100b2578063c2e9e20811610081578063e8643e2511610066578063e8643e2514610326578063e948e60014610339578063edaa471d1461034c57600080fd5b8063c2e9e20814610300578063cb3eb0e11461031357600080fd5b80639677fe8d146102445780639aaa1826146102b2578063aa1e84de146102da578063aae6d884146102ed57600080fd5b8063461e44d3116100ee578063461e44d3146101d55780634e765004146101e8578063503d0bed146102105780635fed02611461023157600080fd5b80631c9aa222146101205780631efcb7141461014e5780633047b5ea14610192578063365b4b67146101b5575b600080fd5b61013361012e3660046113cc565b61035f565b60405164ffffffffff90911681526020015b60405180910390f35b61016161015c366004611401565b61037e565b604080518251815260208084015164ffffffffff908116918301919091529282015190921690820152606001610145565b6101a56101a036600461149c565b6103c4565b6040519015158152602001610145565b6101c86101c33660046114ff565b6103e6565b60405161014591906115c1565b6101c86101e33660046115d4565b61047c565b6101fb6101f63660046113cc565b610487565b60405163ffffffff9091168152602001610145565b61022361021e36600461165b565b6104a0565b604051908152602001610145565b6101c861023f3660046113cc565b61052d565b6102576102523660046113cc565b61054b565b6040516101459190600060a08201905082518252602083015163ffffffff80821660208501528060408601511660408501525050606083015164ffffffffff8082166060850152806080860151166080850152505092915050565b6102c56102c03660046113cc565b61058d565b60408051928352602083019190915201610145565b6102236102e83660046113cc565b6105b0565b6101a56102fb3660046113cc565b6105c9565b61022361030e3660046113cc565b6105f5565b6101fb6103213660046113cc565b61060e565b6101c861033436600461169e565b610627565b6101336103473660046113cc565b610634565b61022361035a3660046116d9565b61064d565b600061037861036d83610659565b62ffffff191661066c565b92915050565b604080516060810182526000808252602082018190529181019190915261037882604080516060810182529182524364ffffffffff908116602084015242169082015290565b60006103df826103d385610659565b62ffffff191690610682565b9392505050565b60408051602081018790527fffffffff0000000000000000000000000000000000000000000000000000000060e087811b82168385015286901b1660448201527fffffffffff00000000000000000000000000000000000000000000000000000060d885811b8216604884015284901b16604d8201528151808203603201815260529091019091526060905b9695505050505050565b6060610378826106f3565b600061037861049583610659565b62ffffff19166107a1565b604080517fffffffff0000000000000000000000000000000000000000000000000000000060e086901b166020808301919091527fffffffffff00000000000000000000000000000000000000000000000000000060d886811b8216602485015285901b1660298301528251808303600e018152602e90920190925280519101206000905b949350505050565b6060600061053a83610659565b90506103df62ffffff1982166107b7565b6040805160a08101825260008082526020820181905291810182905260608101829052608081019190915261037861058283610659565b62ffffff191661080a565b6000806105a761059c84610659565b62ffffff19166108b5565b91509150915091565b60006103786105be83610659565b62ffffff19166108f9565b60006103786105d8838361093d565b62ffffff191660181c6bffffffffffffffffffffffff1660321490565b600061037861060383610659565b62ffffff1916610961565b600061037861061c83610659565b62ffffff1916610976565b606061052584848461098c565b600061037861064283610659565b62ffffff1916610a2b565b60006103df8383610a41565b600061037861066783610aa2565b610aae565b600062ffffff1982166103df81602d6005610b3a565b805160009061069662ffffff198516610961565b1480156106c25750602082015164ffffffffff166106b962ffffff198516610a2b565b64ffffffffff16145b80156103df5750604082015164ffffffffff166106e462ffffff19851661066c565b64ffffffffff16149392505050565b60606103788260000151836020015184604001518560600151866080015160408051602081019690965260e094851b7fffffffff00000000000000000000000000000000000000000000000000000000908116878301529390941b909216604485015260d890811b7fffffffffff000000000000000000000000000000000000000000000000000000908116604886015291901b16604d830152805160328184030181526052909201905290565b600062ffffff1982166103df8160246004610b3a565b60606000806107d48460181c6bffffffffffffffffffffffff1690565b6bffffffffffffffffffffffff16905060405191508192506107f98483602001610b6a565b508181016020016040529052919050565b6040805160a08101825260008082526020820181905291810182905260608101829052608081019190915261084462ffffff198316610961565b815261085562ffffff198316610976565b63ffffffff16602082015261086f62ffffff1983166107a1565b63ffffffff16604082015261088962ffffff198316610a2b565b64ffffffffff1660608201526108a462ffffff19831661066c565b64ffffffffff166080820152919050565b60008062ffffff1983166108d96108ce82602485610d51565b62ffffff1916610d60565b92506108f16108ce62ffffff19831660246000610dae565b915050915091565b6000808061090c62ffffff1985166108b5565b6040805160208082019490945280820192909252805180830382018152606090920190528051910120949350505050565b81516000906020840161095864ffffffffff85168284610dec565b95945050505050565b600062ffffff1982166103df81836020610e33565b600062ffffff1982166103df8160206004610b3a565b82516020808501516040808701518151938401949094527fffffffff0000000000000000000000000000000000000000000000000000000060e087811b82168584015286901b1660448401527fffffffffff00000000000000000000000000000000000000000000000000000060d892831b811660488501529390911b909216604d820152815180820360320181526052909101909152606090610525565b600062ffffff1982166103df8160286005610b3a565b60008282604051602001610a8492919091825260e01b7fffffffff0000000000000000000000000000000000000000000000000000000016602082015260240190565b60405160208183030381529060405280519060200120905092915050565b6000610378828261093d565b6000610acb8260181c6bffffffffffffffffffffffff1660321490565b610b36576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600b60248201527f4e6f74206120737461746500000000000000000000000000000000000000000060448201526064015b60405180910390fd5b5090565b6000610b4782602061172b565b610b52906008611744565b60ff16610b60858585610e33565b901c949350505050565b600062ffffff1980841603610bdb576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601a60248201527f636f7079546f3a204e756c6c20706f696e7465722064657265660000000000006044820152606401610b2d565b610be483610fe1565b610c4a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601d60248201527f636f7079546f3a20496e76616c696420706f696e7465722064657265660000006044820152606401610b2d565b6000610c648460181c6bffffffffffffffffffffffff1690565b6bffffffffffffffffffffffff1690506000610c7f8561101d565b6bffffffffffffffffffffffff169050600080604051915085821115610ca55760206060fd5b8386858560045afa905080610d16576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601460248201527f6964656e746974793a206f7574206f66206761730000000000000000000000006044820152606401610b2d565b610d46610d2288611044565b70ffffffffff000000000000000000000000606091821b168817901b851760181b90565b979650505050505050565b60006105258460008585611068565b600080610d6c8361101d565b6bffffffffffffffffffffffff1690506000610d968460181c6bffffffffffffffffffffffff1690565b6bffffffffffffffffffffffff169091209392505050565b6000610525848485610dce8860181c6bffffffffffffffffffffffff1690565b6bffffffffffffffffffffffff16610de69190611767565b85611068565b600080610df9838561177a565b9050604051811115610e09575060005b80600003610e1e5762ffffff199150506103df565b5050606092831b9190911790911b1760181b90565b60008160ff16600003610e48575060006103df565b610e608460181c6bffffffffffffffffffffffff1690565b6bffffffffffffffffffffffff16610e7b60ff84168561177a565b1115610efe57610ecb610e8d8561101d565b6bffffffffffffffffffffffff16610eb38660181c6bffffffffffffffffffffffff1690565b6bffffffffffffffffffffffff16858560ff166110d3565b6040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b2d91906115c1565b60208260ff161115610f6c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601960248201527f496e6465783a206d6f7265207468616e203332206279746573000000000000006044820152606401610b2d565b600882026000610f7b8661101d565b6bffffffffffffffffffffffff16905060007f80000000000000000000000000000000000000000000000000000000000000007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff84011d91909501511695945050505050565b6000610fec82611044565b64ffffffffff1664ffffffffff0361100657506000919050565b600061101183611141565b60405110199392505050565b60008061102c6060601861177a565b9290921c6bffffffffffffffffffffffff1692915050565b600080606061105481601861177a565b61105e919061177a565b9290921c92915050565b6000806110748661101d565b6bffffffffffffffffffffffff16905061108d86611141565b84611098878461177a565b6110a2919061177a565b11156110b55762ffffff19915050610525565b6110bf858261177a565b90506104728364ffffffffff168286610dec565b606060006110e08661117a565b91505060006110ee8661117a565b91505060006110fc8661117a565b915050600061110a8661117a565b91505083838383604051602001611124949392919061178d565b604051602081830303815290604052945050505050949350505050565b600061115b8260181c6bffffffffffffffffffffffff1690565b6111648361101d565b016bffffffffffffffffffffffff169050919050565b600080601f5b600f8160ff1611156111ed576000611199826008611744565b60ff1685901c90506111aa81611264565b61ffff16841793508160ff166010146111c557601084901b93505b507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff01611180565b50600f5b60ff8160ff16101561125e57600061120a826008611744565b60ff1685901c905061121b81611264565b61ffff16831792508160ff1660001461123657601083901b92505b507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff016111f1565b50915091565b600061127660048360ff16901c611296565b60ff1661ffff919091161760081b61128d82611296565b60ff1617919050565b6040805180820190915260108082527f30313233343536373839616263646566000000000000000000000000000000006020830152600091600f841691829081106112e3576112e36118ca565b016020015160f81c9392505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600082601f83011261133257600080fd5b813567ffffffffffffffff8082111561134d5761134d6112f2565b604051601f83017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0908116603f01168101908282118183101715611393576113936112f2565b816040528381528660208588010111156113ac57600080fd5b836020870160208301376000602085830101528094505050505092915050565b6000602082840312156113de57600080fd5b813567ffffffffffffffff8111156113f557600080fd5b61052584828501611321565b60006020828403121561141357600080fd5b5035919050565b803564ffffffffff8116811461142f57600080fd5b919050565b60006060828403121561144657600080fd5b6040516060810181811067ffffffffffffffff82111715611469576114696112f2565b6040528235815290508061147f6020840161141a565b60208201526114906040840161141a565b60408201525092915050565b600080608083850312156114af57600080fd5b823567ffffffffffffffff8111156114c657600080fd5b6114d285828601611321565b9250506114e28460208501611434565b90509250929050565b803563ffffffff8116811461142f57600080fd5b600080600080600060a0868803121561151757600080fd5b85359450611527602087016114eb565b9350611535604087016114eb565b92506115436060870161141a565b91506115516080870161141a565b90509295509295909350565b6000815180845260005b8181101561158357602081850181015186830182015201611567565b5060006020828601015260207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f83011685010191505092915050565b6020815260006103df602083018461155d565b600060a082840312156115e657600080fd5b60405160a0810181811067ffffffffffffffff82111715611609576116096112f2565b6040528235815261161c602084016114eb565b602082015261162d604084016114eb565b604082015261163e6060840161141a565b606082015261164f6080840161141a565b60808201529392505050565b60008060006060848603121561167057600080fd5b611679846114eb565b92506116876020850161141a565b91506116956040850161141a565b90509250925092565b600080600060a084860312156116b357600080fd5b6116bd8585611434565b92506116cb606085016114eb565b9150611695608085016114eb565b600080604083850312156116ec57600080fd5b823591506114e2602084016114eb565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60ff8281168282160390811115610378576103786116fc565b60ff8181168382160290811690818114611760576117606116fc565b5092915050565b81810381811115610378576103786116fc565b80820180821115610378576103786116fc565b7f54797065644d656d566965772f696e646578202d204f76657272616e2074686581527f20766965772e20536c696365206973206174203078000000000000000000000060208201527fffffffffffff000000000000000000000000000000000000000000000000000060d086811b821660358401527f2077697468206c656e6774682030780000000000000000000000000000000000603b840181905286821b8316604a8501527f2e20417474656d7074656420746f20696e646578206174206f6666736574203060508501527f7800000000000000000000000000000000000000000000000000000000000000607085015285821b83166071850152607784015283901b1660868201527f2e00000000000000000000000000000000000000000000000000000000000000608c8201526000608d8201610472565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fdfea26469706673582212209a1166a3c89f7aa29e7896eb1f4cfef7e9422939ce22d2cab6c60273c7efac2764736f6c63430008110033",
}

StateHarnessMetaData contains all meta data concerning the StateHarness contract.

View Source
var StateLibABI = StateLibMetaData.ABI

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

View Source
var StateLibBin = StateLibMetaData.Bin

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

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

StateLibMetaData contains all meta data concerning the StateLib contract.

View Source
var TypedMemViewABI = TypedMemViewMetaData.ABI

TypedMemViewABI is the input ABI used to generate the binding from. Deprecated: Use TypedMemViewMetaData.ABI instead.

View Source
var TypedMemViewBin = TypedMemViewMetaData.Bin

TypedMemViewBin is the compiled bytecode used for deploying new contracts. Deprecated: Use TypedMemViewMetaData.Bin instead.

View Source
var TypedMemViewFuncSigs = TypedMemViewMetaData.Sigs

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

View Source
var TypedMemViewMetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[],\"name\":\"BITS_EMPTY\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"BITS_LEN\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"BITS_LOC\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"BITS_TYPE\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"LOW_96_BITS_MASK\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"NULL\",\"outputs\":[{\"internalType\":\"bytes29\",\"name\":\"\",\"type\":\"bytes29\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"SHIFT_LEN\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"SHIFT_LOC\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"SHIFT_TYPE\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"}]",
	Sigs: map[string]string{
		"97b8ad4a": "BITS_EMPTY()",
		"eb740628": "BITS_LEN()",
		"fb734584": "BITS_LOC()",
		"10153fce": "BITS_TYPE()",
		"b602d173": "LOW_96_BITS_MASK()",
		"f26be3fc": "NULL()",
		"1136e7ea": "SHIFT_LEN()",
		"1bfe17ce": "SHIFT_LOC()",
		"13090c5a": "SHIFT_TYPE()",
	},
	Bin: "0x6101f061003a600b82828239805160001a60731461002d57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600436106100ad5760003560e01c806397b8ad4a11610080578063eb74062811610065578063eb740628146100f8578063f26be3fc14610100578063fb734584146100f857600080fd5b806397b8ad4a146100cd578063b602d173146100e557600080fd5b806310153fce146100b25780631136e7ea146100cd57806313090c5a146100d55780631bfe17ce146100dd575b600080fd5b6100ba602881565b6040519081526020015b60405180910390f35b6100ba601881565b6100ba610158565b6100ba610172565b6100ba6bffffffffffffffffffffffff81565b6100ba606081565b6101277fffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00000081565b6040517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00000090911681526020016100c4565b606061016581601861017a565b61016f919061017a565b81565b61016f606060185b808201808211156101b4577f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b9291505056fea26469706673582212203aca84be1188a381b54d8cd575baa4848fd2395b5a6b5c11f92eabd4a9f5b2bc64736f6c63430008110033",
}

TypedMemViewMetaData contains all meta data concerning the TypedMemView contract.

Functions

This section is empty.

Types

type ByteString

type ByteString struct {
	ByteStringCaller     // Read-only binding to the contract
	ByteStringTransactor // Write-only binding to the contract
	ByteStringFilterer   // Log filterer for contract events
}

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

func DeployByteString

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

DeployByteString deploys a new Ethereum contract, binding an instance of ByteString to it.

func NewByteString

func NewByteString(address common.Address, backend bind.ContractBackend) (*ByteString, error)

NewByteString creates a new instance of ByteString, bound to a specific deployed contract.

type ByteStringCaller

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

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

func NewByteStringCaller

func NewByteStringCaller(address common.Address, caller bind.ContractCaller) (*ByteStringCaller, error)

NewByteStringCaller creates a new read-only instance of ByteString, bound to a specific deployed contract.

type ByteStringCallerRaw

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

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

func (*ByteStringCallerRaw) Call

func (_ByteString *ByteStringCallerRaw) 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 ByteStringCallerSession

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

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

type ByteStringFilterer

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

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

func NewByteStringFilterer

func NewByteStringFilterer(address common.Address, filterer bind.ContractFilterer) (*ByteStringFilterer, error)

NewByteStringFilterer creates a new log filterer instance of ByteString, bound to a specific deployed contract.

type ByteStringRaw

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

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

func (*ByteStringRaw) Call

func (_ByteString *ByteStringRaw) 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 (*ByteStringRaw) Transact

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

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

func (*ByteStringRaw) Transfer

func (_ByteString *ByteStringRaw) 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 ByteStringSession

type ByteStringSession struct {
	Contract     *ByteString       // 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
}

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

type ByteStringTransactor

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

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

func NewByteStringTransactor

func NewByteStringTransactor(address common.Address, transactor bind.ContractTransactor) (*ByteStringTransactor, error)

NewByteStringTransactor creates a new write-only instance of ByteString, bound to a specific deployed contract.

type ByteStringTransactorRaw

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

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

func (*ByteStringTransactorRaw) Transact

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

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

func (*ByteStringTransactorRaw) Transfer

func (_ByteString *ByteStringTransactorRaw) 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 ByteStringTransactorSession

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

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

type OriginState

type OriginState struct {
	Root        [32]byte
	BlockNumber *big.Int
	Timestamp   *big.Int
}

OriginState is an auto generated low-level Go binding around an user-defined struct.

type StateHarness

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

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

func DeployStateHarness

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

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

func NewStateHarness

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

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

type StateHarnessCaller

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

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

func NewStateHarnessCaller

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

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

func (*StateHarnessCaller) BlockNumber

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

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

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

func (*StateHarnessCaller) CastToState

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

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

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

func (*StateHarnessCaller) EqualToOrigin

func (_StateHarness *StateHarnessCaller) EqualToOrigin(opts *bind.CallOpts, _payload []byte, _originState OriginState) (bool, error)

EqualToOrigin is a free data retrieval call binding the contract method 0x3047b5ea.

Solidity: function equalToOrigin(bytes _payload, (bytes32,uint40,uint40) _originState) pure returns(bool)

func (*StateHarnessCaller) FormatOriginState

func (_StateHarness *StateHarnessCaller) FormatOriginState(opts *bind.CallOpts, _originState OriginState, _origin uint32, _nonce uint32) ([]byte, error)

FormatOriginState is a free data retrieval call binding the contract method 0xe8643e25.

Solidity: function formatOriginState((bytes32,uint40,uint40) _originState, uint32 _origin, uint32 _nonce) pure returns(bytes)

func (*StateHarnessCaller) FormatState

func (_StateHarness *StateHarnessCaller) FormatState(opts *bind.CallOpts, _root [32]byte, _origin uint32, _nonce uint32, _blockNumber *big.Int, _timestamp *big.Int) ([]byte, error)

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

Solidity: function formatState(bytes32 _root, uint32 _origin, uint32 _nonce, uint40 _blockNumber, uint40 _timestamp) pure returns(bytes)

func (*StateHarnessCaller) FormatSummitState

func (_StateHarness *StateHarnessCaller) FormatSummitState(opts *bind.CallOpts, _summitState SummitState) ([]byte, error)

FormatSummitState is a free data retrieval call binding the contract method 0x461e44d3.

Solidity: function formatSummitState((bytes32,uint32,uint32,uint40,uint40) _summitState) pure returns(bytes)

func (*StateHarnessCaller) Hash

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

Hash is a free data retrieval call binding the contract method 0xaa1e84de.

Solidity: function hash(bytes _payload) pure returns(bytes32)

func (*StateHarnessCaller) IsState

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

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

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

func (*StateHarnessCaller) LeftLeaf

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

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

Solidity: function leftLeaf(bytes32 _root, uint32 _origin) pure returns(bytes32)

func (*StateHarnessCaller) Nonce

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

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

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

func (*StateHarnessCaller) Origin

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

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

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

func (*StateHarnessCaller) OriginState

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

OriginState is a free data retrieval call binding the contract method 0x1efcb714.

Solidity: function originState(bytes32 _root) view returns((bytes32,uint40,uint40) state)

func (*StateHarnessCaller) RightLeaf

func (_StateHarness *StateHarnessCaller) RightLeaf(opts *bind.CallOpts, _nonce uint32, _blockNumber *big.Int, _timestamp *big.Int) ([32]byte, error)

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

Solidity: function rightLeaf(uint32 _nonce, uint40 _blockNumber, uint40 _timestamp) pure returns(bytes32)

func (*StateHarnessCaller) Root

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

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

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

func (*StateHarnessCaller) SubLeafs

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

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

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

func (*StateHarnessCaller) Timestamp

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

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

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

func (*StateHarnessCaller) ToSummitState

func (_StateHarness *StateHarnessCaller) ToSummitState(opts *bind.CallOpts, _payload []byte) (SummitState, error)

ToSummitState is a free data retrieval call binding the contract method 0x9677fe8d.

Solidity: function toSummitState(bytes _payload) pure returns((bytes32,uint32,uint32,uint40,uint40) state)

type StateHarnessCallerRaw

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

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

func (*StateHarnessCallerRaw) Call

func (_StateHarness *StateHarnessCallerRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error

Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.

type StateHarnessCallerSession

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

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

func (*StateHarnessCallerSession) BlockNumber

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

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

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

func (*StateHarnessCallerSession) CastToState

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

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

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

func (*StateHarnessCallerSession) EqualToOrigin

func (_StateHarness *StateHarnessCallerSession) EqualToOrigin(_payload []byte, _originState OriginState) (bool, error)

EqualToOrigin is a free data retrieval call binding the contract method 0x3047b5ea.

Solidity: function equalToOrigin(bytes _payload, (bytes32,uint40,uint40) _originState) pure returns(bool)

func (*StateHarnessCallerSession) FormatOriginState

func (_StateHarness *StateHarnessCallerSession) FormatOriginState(_originState OriginState, _origin uint32, _nonce uint32) ([]byte, error)

FormatOriginState is a free data retrieval call binding the contract method 0xe8643e25.

Solidity: function formatOriginState((bytes32,uint40,uint40) _originState, uint32 _origin, uint32 _nonce) pure returns(bytes)

func (*StateHarnessCallerSession) FormatState

func (_StateHarness *StateHarnessCallerSession) FormatState(_root [32]byte, _origin uint32, _nonce uint32, _blockNumber *big.Int, _timestamp *big.Int) ([]byte, error)

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

Solidity: function formatState(bytes32 _root, uint32 _origin, uint32 _nonce, uint40 _blockNumber, uint40 _timestamp) pure returns(bytes)

func (*StateHarnessCallerSession) FormatSummitState

func (_StateHarness *StateHarnessCallerSession) FormatSummitState(_summitState SummitState) ([]byte, error)

FormatSummitState is a free data retrieval call binding the contract method 0x461e44d3.

Solidity: function formatSummitState((bytes32,uint32,uint32,uint40,uint40) _summitState) pure returns(bytes)

func (*StateHarnessCallerSession) Hash

func (_StateHarness *StateHarnessCallerSession) Hash(_payload []byte) ([32]byte, error)

Hash is a free data retrieval call binding the contract method 0xaa1e84de.

Solidity: function hash(bytes _payload) pure returns(bytes32)

func (*StateHarnessCallerSession) IsState

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

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

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

func (*StateHarnessCallerSession) LeftLeaf

func (_StateHarness *StateHarnessCallerSession) LeftLeaf(_root [32]byte, _origin uint32) ([32]byte, error)

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

Solidity: function leftLeaf(bytes32 _root, uint32 _origin) pure returns(bytes32)

func (*StateHarnessCallerSession) Nonce

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

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

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

func (*StateHarnessCallerSession) Origin

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

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

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

func (*StateHarnessCallerSession) OriginState

func (_StateHarness *StateHarnessCallerSession) OriginState(_root [32]byte) (OriginState, error)

OriginState is a free data retrieval call binding the contract method 0x1efcb714.

Solidity: function originState(bytes32 _root) view returns((bytes32,uint40,uint40) state)

func (*StateHarnessCallerSession) RightLeaf

func (_StateHarness *StateHarnessCallerSession) RightLeaf(_nonce uint32, _blockNumber *big.Int, _timestamp *big.Int) ([32]byte, error)

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

Solidity: function rightLeaf(uint32 _nonce, uint40 _blockNumber, uint40 _timestamp) pure returns(bytes32)

func (*StateHarnessCallerSession) Root

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

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

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

func (*StateHarnessCallerSession) SubLeafs

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

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

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

func (*StateHarnessCallerSession) Timestamp

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

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

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

func (*StateHarnessCallerSession) ToSummitState

func (_StateHarness *StateHarnessCallerSession) ToSummitState(_payload []byte) (SummitState, error)

ToSummitState is a free data retrieval call binding the contract method 0x9677fe8d.

Solidity: function toSummitState(bytes _payload) pure returns((bytes32,uint32,uint32,uint40,uint40) state)

type StateHarnessFilterer

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

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

func NewStateHarnessFilterer

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

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

type StateHarnessRaw

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

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

func (*StateHarnessRaw) Call

func (_StateHarness *StateHarnessRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error

Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.

func (*StateHarnessRaw) Transact

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

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

func (*StateHarnessRaw) Transfer

func (_StateHarness *StateHarnessRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)

Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.

type StateHarnessRef

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

StateHarnessRef is a state harness reference.

func NewStateHarnessRef

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

NewStateHarnessRef creates a new state harness.

func (StateHarnessRef) Address

func (s StateHarnessRef) Address() common.Address

Address gets the address of the contract.

type StateHarnessSession

type StateHarnessSession struct {
	Contract     *StateHarness     // Generic contract binding to set the session for
	CallOpts     bind.CallOpts     // Call options to use throughout this session
	TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session
}

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

func (*StateHarnessSession) BlockNumber

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

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

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

func (*StateHarnessSession) CastToState

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

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

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

func (*StateHarnessSession) EqualToOrigin

func (_StateHarness *StateHarnessSession) EqualToOrigin(_payload []byte, _originState OriginState) (bool, error)

EqualToOrigin is a free data retrieval call binding the contract method 0x3047b5ea.

Solidity: function equalToOrigin(bytes _payload, (bytes32,uint40,uint40) _originState) pure returns(bool)

func (*StateHarnessSession) FormatOriginState

func (_StateHarness *StateHarnessSession) FormatOriginState(_originState OriginState, _origin uint32, _nonce uint32) ([]byte, error)

FormatOriginState is a free data retrieval call binding the contract method 0xe8643e25.

Solidity: function formatOriginState((bytes32,uint40,uint40) _originState, uint32 _origin, uint32 _nonce) pure returns(bytes)

func (*StateHarnessSession) FormatState

func (_StateHarness *StateHarnessSession) FormatState(_root [32]byte, _origin uint32, _nonce uint32, _blockNumber *big.Int, _timestamp *big.Int) ([]byte, error)

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

Solidity: function formatState(bytes32 _root, uint32 _origin, uint32 _nonce, uint40 _blockNumber, uint40 _timestamp) pure returns(bytes)

func (*StateHarnessSession) FormatSummitState

func (_StateHarness *StateHarnessSession) FormatSummitState(_summitState SummitState) ([]byte, error)

FormatSummitState is a free data retrieval call binding the contract method 0x461e44d3.

Solidity: function formatSummitState((bytes32,uint32,uint32,uint40,uint40) _summitState) pure returns(bytes)

func (*StateHarnessSession) Hash

func (_StateHarness *StateHarnessSession) Hash(_payload []byte) ([32]byte, error)

Hash is a free data retrieval call binding the contract method 0xaa1e84de.

Solidity: function hash(bytes _payload) pure returns(bytes32)

func (*StateHarnessSession) IsState

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

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

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

func (*StateHarnessSession) LeftLeaf

func (_StateHarness *StateHarnessSession) LeftLeaf(_root [32]byte, _origin uint32) ([32]byte, error)

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

Solidity: function leftLeaf(bytes32 _root, uint32 _origin) pure returns(bytes32)

func (*StateHarnessSession) Nonce

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

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

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

func (*StateHarnessSession) Origin

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

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

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

func (*StateHarnessSession) OriginState

func (_StateHarness *StateHarnessSession) OriginState(_root [32]byte) (OriginState, error)

OriginState is a free data retrieval call binding the contract method 0x1efcb714.

Solidity: function originState(bytes32 _root) view returns((bytes32,uint40,uint40) state)

func (*StateHarnessSession) RightLeaf

func (_StateHarness *StateHarnessSession) RightLeaf(_nonce uint32, _blockNumber *big.Int, _timestamp *big.Int) ([32]byte, error)

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

Solidity: function rightLeaf(uint32 _nonce, uint40 _blockNumber, uint40 _timestamp) pure returns(bytes32)

func (*StateHarnessSession) Root

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

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

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

func (*StateHarnessSession) SubLeafs

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

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

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

func (*StateHarnessSession) Timestamp

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

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

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

func (*StateHarnessSession) ToSummitState

func (_StateHarness *StateHarnessSession) ToSummitState(_payload []byte) (SummitState, error)

ToSummitState is a free data retrieval call binding the contract method 0x9677fe8d.

Solidity: function toSummitState(bytes _payload) pure returns((bytes32,uint32,uint32,uint40,uint40) state)

type StateHarnessTransactor

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

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

func NewStateHarnessTransactor

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

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

type StateHarnessTransactorRaw

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

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

func (*StateHarnessTransactorRaw) Transact

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

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

func (*StateHarnessTransactorRaw) Transfer

func (_StateHarness *StateHarnessTransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)

Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.

type StateHarnessTransactorSession

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

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

type StateLib

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

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

func DeployStateLib

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

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

func NewStateLib

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

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

type StateLibCaller

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

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

func NewStateLibCaller

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

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

type StateLibCallerRaw

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

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

func (*StateLibCallerRaw) Call

func (_StateLib *StateLibCallerRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error

Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.

type StateLibCallerSession

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

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

type StateLibFilterer

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

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

func NewStateLibFilterer

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

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

type StateLibRaw

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

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

func (*StateLibRaw) Call

func (_StateLib *StateLibRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error

Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.

func (*StateLibRaw) Transact

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

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

func (*StateLibRaw) Transfer

func (_StateLib *StateLibRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)

Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.

type StateLibSession

type StateLibSession struct {
	Contract     *StateLib         // Generic contract binding to set the session for
	CallOpts     bind.CallOpts     // Call options to use throughout this session
	TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session
}

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

type StateLibTransactor

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

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

func NewStateLibTransactor

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

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

type StateLibTransactorRaw

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

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

func (*StateLibTransactorRaw) Transact

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

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

func (*StateLibTransactorRaw) Transfer

func (_StateLib *StateLibTransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)

Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.

type StateLibTransactorSession

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

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

type SummitState

type SummitState struct {
	Root        [32]byte
	Origin      uint32
	Nonce       uint32
	BlockNumber *big.Int
	Timestamp   *big.Int
}

SummitState is an auto generated low-level Go binding around an user-defined struct.

type TypedMemView

type TypedMemView struct {
	TypedMemViewCaller     // Read-only binding to the contract
	TypedMemViewTransactor // Write-only binding to the contract
	TypedMemViewFilterer   // Log filterer for contract events
}

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

func DeployTypedMemView

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

DeployTypedMemView deploys a new Ethereum contract, binding an instance of TypedMemView to it.

func NewTypedMemView

func NewTypedMemView(address common.Address, backend bind.ContractBackend) (*TypedMemView, error)

NewTypedMemView creates a new instance of TypedMemView, bound to a specific deployed contract.

type TypedMemViewCaller

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

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

func NewTypedMemViewCaller

func NewTypedMemViewCaller(address common.Address, caller bind.ContractCaller) (*TypedMemViewCaller, error)

NewTypedMemViewCaller creates a new read-only instance of TypedMemView, bound to a specific deployed contract.

func (*TypedMemViewCaller) BITSEMPTY

func (_TypedMemView *TypedMemViewCaller) BITSEMPTY(opts *bind.CallOpts) (*big.Int, error)

BITSEMPTY is a free data retrieval call binding the contract method 0x97b8ad4a.

Solidity: function BITS_EMPTY() view returns(uint256)

func (*TypedMemViewCaller) BITSLEN

func (_TypedMemView *TypedMemViewCaller) BITSLEN(opts *bind.CallOpts) (*big.Int, error)

BITSLEN is a free data retrieval call binding the contract method 0xeb740628.

Solidity: function BITS_LEN() view returns(uint256)

func (*TypedMemViewCaller) BITSLOC

func (_TypedMemView *TypedMemViewCaller) BITSLOC(opts *bind.CallOpts) (*big.Int, error)

BITSLOC is a free data retrieval call binding the contract method 0xfb734584.

Solidity: function BITS_LOC() view returns(uint256)

func (*TypedMemViewCaller) BITSTYPE

func (_TypedMemView *TypedMemViewCaller) BITSTYPE(opts *bind.CallOpts) (*big.Int, error)

BITSTYPE is a free data retrieval call binding the contract method 0x10153fce.

Solidity: function BITS_TYPE() view returns(uint256)

func (*TypedMemViewCaller) LOW96BITSMASK

func (_TypedMemView *TypedMemViewCaller) LOW96BITSMASK(opts *bind.CallOpts) (*big.Int, error)

LOW96BITSMASK is a free data retrieval call binding the contract method 0xb602d173.

Solidity: function LOW_96_BITS_MASK() view returns(uint256)

func (*TypedMemViewCaller) NULL

func (_TypedMemView *TypedMemViewCaller) NULL(opts *bind.CallOpts) ([29]byte, error)

NULL is a free data retrieval call binding the contract method 0xf26be3fc.

Solidity: function NULL() view returns(bytes29)

func (*TypedMemViewCaller) SHIFTLEN

func (_TypedMemView *TypedMemViewCaller) SHIFTLEN(opts *bind.CallOpts) (*big.Int, error)

SHIFTLEN is a free data retrieval call binding the contract method 0x1136e7ea.

Solidity: function SHIFT_LEN() view returns(uint256)

func (*TypedMemViewCaller) SHIFTLOC

func (_TypedMemView *TypedMemViewCaller) SHIFTLOC(opts *bind.CallOpts) (*big.Int, error)

SHIFTLOC is a free data retrieval call binding the contract method 0x1bfe17ce.

Solidity: function SHIFT_LOC() view returns(uint256)

func (*TypedMemViewCaller) SHIFTTYPE

func (_TypedMemView *TypedMemViewCaller) SHIFTTYPE(opts *bind.CallOpts) (*big.Int, error)

SHIFTTYPE is a free data retrieval call binding the contract method 0x13090c5a.

Solidity: function SHIFT_TYPE() view returns(uint256)

type TypedMemViewCallerRaw

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

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

func (*TypedMemViewCallerRaw) Call

func (_TypedMemView *TypedMemViewCallerRaw) 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 TypedMemViewCallerSession

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

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

func (*TypedMemViewCallerSession) BITSEMPTY

func (_TypedMemView *TypedMemViewCallerSession) BITSEMPTY() (*big.Int, error)

BITSEMPTY is a free data retrieval call binding the contract method 0x97b8ad4a.

Solidity: function BITS_EMPTY() view returns(uint256)

func (*TypedMemViewCallerSession) BITSLEN

func (_TypedMemView *TypedMemViewCallerSession) BITSLEN() (*big.Int, error)

BITSLEN is a free data retrieval call binding the contract method 0xeb740628.

Solidity: function BITS_LEN() view returns(uint256)

func (*TypedMemViewCallerSession) BITSLOC

func (_TypedMemView *TypedMemViewCallerSession) BITSLOC() (*big.Int, error)

BITSLOC is a free data retrieval call binding the contract method 0xfb734584.

Solidity: function BITS_LOC() view returns(uint256)

func (*TypedMemViewCallerSession) BITSTYPE

func (_TypedMemView *TypedMemViewCallerSession) BITSTYPE() (*big.Int, error)

BITSTYPE is a free data retrieval call binding the contract method 0x10153fce.

Solidity: function BITS_TYPE() view returns(uint256)

func (*TypedMemViewCallerSession) LOW96BITSMASK

func (_TypedMemView *TypedMemViewCallerSession) LOW96BITSMASK() (*big.Int, error)

LOW96BITSMASK is a free data retrieval call binding the contract method 0xb602d173.

Solidity: function LOW_96_BITS_MASK() view returns(uint256)

func (*TypedMemViewCallerSession) NULL

func (_TypedMemView *TypedMemViewCallerSession) NULL() ([29]byte, error)

NULL is a free data retrieval call binding the contract method 0xf26be3fc.

Solidity: function NULL() view returns(bytes29)

func (*TypedMemViewCallerSession) SHIFTLEN

func (_TypedMemView *TypedMemViewCallerSession) SHIFTLEN() (*big.Int, error)

SHIFTLEN is a free data retrieval call binding the contract method 0x1136e7ea.

Solidity: function SHIFT_LEN() view returns(uint256)

func (*TypedMemViewCallerSession) SHIFTLOC

func (_TypedMemView *TypedMemViewCallerSession) SHIFTLOC() (*big.Int, error)

SHIFTLOC is a free data retrieval call binding the contract method 0x1bfe17ce.

Solidity: function SHIFT_LOC() view returns(uint256)

func (*TypedMemViewCallerSession) SHIFTTYPE

func (_TypedMemView *TypedMemViewCallerSession) SHIFTTYPE() (*big.Int, error)

SHIFTTYPE is a free data retrieval call binding the contract method 0x13090c5a.

Solidity: function SHIFT_TYPE() view returns(uint256)

type TypedMemViewFilterer

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

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

func NewTypedMemViewFilterer

func NewTypedMemViewFilterer(address common.Address, filterer bind.ContractFilterer) (*TypedMemViewFilterer, error)

NewTypedMemViewFilterer creates a new log filterer instance of TypedMemView, bound to a specific deployed contract.

type TypedMemViewRaw

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

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

func (*TypedMemViewRaw) Call

func (_TypedMemView *TypedMemViewRaw) 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 (*TypedMemViewRaw) Transact

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

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

func (*TypedMemViewRaw) Transfer

func (_TypedMemView *TypedMemViewRaw) 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 TypedMemViewSession

type TypedMemViewSession struct {
	Contract     *TypedMemView     // 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
}

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

func (*TypedMemViewSession) BITSEMPTY

func (_TypedMemView *TypedMemViewSession) BITSEMPTY() (*big.Int, error)

BITSEMPTY is a free data retrieval call binding the contract method 0x97b8ad4a.

Solidity: function BITS_EMPTY() view returns(uint256)

func (*TypedMemViewSession) BITSLEN

func (_TypedMemView *TypedMemViewSession) BITSLEN() (*big.Int, error)

BITSLEN is a free data retrieval call binding the contract method 0xeb740628.

Solidity: function BITS_LEN() view returns(uint256)

func (*TypedMemViewSession) BITSLOC

func (_TypedMemView *TypedMemViewSession) BITSLOC() (*big.Int, error)

BITSLOC is a free data retrieval call binding the contract method 0xfb734584.

Solidity: function BITS_LOC() view returns(uint256)

func (*TypedMemViewSession) BITSTYPE

func (_TypedMemView *TypedMemViewSession) BITSTYPE() (*big.Int, error)

BITSTYPE is a free data retrieval call binding the contract method 0x10153fce.

Solidity: function BITS_TYPE() view returns(uint256)

func (*TypedMemViewSession) LOW96BITSMASK

func (_TypedMemView *TypedMemViewSession) LOW96BITSMASK() (*big.Int, error)

LOW96BITSMASK is a free data retrieval call binding the contract method 0xb602d173.

Solidity: function LOW_96_BITS_MASK() view returns(uint256)

func (*TypedMemViewSession) NULL

func (_TypedMemView *TypedMemViewSession) NULL() ([29]byte, error)

NULL is a free data retrieval call binding the contract method 0xf26be3fc.

Solidity: function NULL() view returns(bytes29)

func (*TypedMemViewSession) SHIFTLEN

func (_TypedMemView *TypedMemViewSession) SHIFTLEN() (*big.Int, error)

SHIFTLEN is a free data retrieval call binding the contract method 0x1136e7ea.

Solidity: function SHIFT_LEN() view returns(uint256)

func (*TypedMemViewSession) SHIFTLOC

func (_TypedMemView *TypedMemViewSession) SHIFTLOC() (*big.Int, error)

SHIFTLOC is a free data retrieval call binding the contract method 0x1bfe17ce.

Solidity: function SHIFT_LOC() view returns(uint256)

func (*TypedMemViewSession) SHIFTTYPE

func (_TypedMemView *TypedMemViewSession) SHIFTTYPE() (*big.Int, error)

SHIFTTYPE is a free data retrieval call binding the contract method 0x13090c5a.

Solidity: function SHIFT_TYPE() view returns(uint256)

type TypedMemViewTransactor

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

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

func NewTypedMemViewTransactor

func NewTypedMemViewTransactor(address common.Address, transactor bind.ContractTransactor) (*TypedMemViewTransactor, error)

NewTypedMemViewTransactor creates a new write-only instance of TypedMemView, bound to a specific deployed contract.

type TypedMemViewTransactorRaw

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

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

func (*TypedMemViewTransactorRaw) Transact

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

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

func (*TypedMemViewTransactorRaw) Transfer

func (_TypedMemView *TypedMemViewTransactorRaw) 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 TypedMemViewTransactorSession

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

TypedMemViewTransactorSession 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