bindings

package
v0.0.0-...-91385b4 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const PreimageOracleStorageLayoutJSON = "{\"storage\":null,\"types\":{}}"
View Source
const RISCVStorageLayoutJSON = "{\"storage\":null,\"types\":{}}"

Variables

View Source
var Create2DeployerCodeHash = common.HexToHash("0xb0550b5b431e30d38000efb7107aaa0ade03d48a7198a140edda9d27134468b2")

Create2DeployerCodeHash represents the codehash of the Create2Deployer contract.

View Source
var PreimageOracleABI = PreimageOracleMetaData.ABI

PreimageOracleABI is the input ABI used to generate the binding from. Deprecated: Use PreimageOracleMetaData.ABI instead.

View Source
var PreimageOracleBin = PreimageOracleMetaData.Bin

PreimageOracleBin is the compiled bytecode used for deploying new contracts. Deprecated: Use PreimageOracleMetaData.Bin instead.

View Source
var PreimageOracleDeployedBin = "" /* 28814-byte string literal not displayed */
View Source
var PreimageOracleMetaData = &bind.MetaData{
	ABI: "[{\"type\":\"constructor\",\"inputs\":[{\"name\":\"_minProposalSize\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"_challengePeriod\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"KECCAK_TREE_DEPTH\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"MAX_LEAF_COUNT\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"MIN_BOND_SIZE\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"addLeavesLPP\",\"inputs\":[{\"name\":\"_uuid\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"_inputStartBlock\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"_input\",\"type\":\"bytes\",\"internalType\":\"bytes\"},{\"name\":\"_stateCommitments\",\"type\":\"bytes32[]\",\"internalType\":\"bytes32[]\"},{\"name\":\"_finalize\",\"type\":\"bool\",\"internalType\":\"bool\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"challengeFirstLPP\",\"inputs\":[{\"name\":\"_claimant\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"_uuid\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"_postState\",\"type\":\"tuple\",\"internalType\":\"structPreimageOracle.Leaf\",\"components\":[{\"name\":\"input\",\"type\":\"bytes\",\"internalType\":\"bytes\"},{\"name\":\"index\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"stateCommitment\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"}]},{\"name\":\"_postStateProof\",\"type\":\"bytes32[]\",\"internalType\":\"bytes32[]\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"challengeLPP\",\"inputs\":[{\"name\":\"_claimant\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"_uuid\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"_stateMatrix\",\"type\":\"tuple\",\"internalType\":\"structLibKeccak.StateMatrix\",\"components\":[{\"name\":\"state\",\"type\":\"uint64[25]\",\"internalType\":\"uint64[25]\"}]},{\"name\":\"_preState\",\"type\":\"tuple\",\"internalType\":\"structPreimageOracle.Leaf\",\"components\":[{\"name\":\"input\",\"type\":\"bytes\",\"internalType\":\"bytes\"},{\"name\":\"index\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"stateCommitment\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"}]},{\"name\":\"_preStateProof\",\"type\":\"bytes32[]\",\"internalType\":\"bytes32[]\"},{\"name\":\"_postState\",\"type\":\"tuple\",\"internalType\":\"structPreimageOracle.Leaf\",\"components\":[{\"name\":\"input\",\"type\":\"bytes\",\"internalType\":\"bytes\"},{\"name\":\"index\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"stateCommitment\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"}]},{\"name\":\"_postStateProof\",\"type\":\"bytes32[]\",\"internalType\":\"bytes32[]\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"challengePeriod\",\"inputs\":[],\"outputs\":[{\"name\":\"challengePeriod_\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"getTreeRootLPP\",\"inputs\":[{\"name\":\"_owner\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"_uuid\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"outputs\":[{\"name\":\"treeRoot_\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"initLPP\",\"inputs\":[{\"name\":\"_uuid\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"_partOffset\",\"type\":\"uint32\",\"internalType\":\"uint32\"},{\"name\":\"_claimedSize\",\"type\":\"uint32\",\"internalType\":\"uint32\"}],\"outputs\":[],\"stateMutability\":\"payable\"},{\"type\":\"function\",\"name\":\"loadBlobPreimagePart\",\"inputs\":[{\"name\":\"_z\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"_y\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"_commitment\",\"type\":\"bytes\",\"internalType\":\"bytes\"},{\"name\":\"_proof\",\"type\":\"bytes\",\"internalType\":\"bytes\"},{\"name\":\"_partOffset\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"loadKeccak256PreimagePart\",\"inputs\":[{\"name\":\"_partOffset\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"_preimage\",\"type\":\"bytes\",\"internalType\":\"bytes\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"loadLocalData\",\"inputs\":[{\"name\":\"_ident\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"_localContext\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"},{\"name\":\"_word\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"},{\"name\":\"_size\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"_partOffset\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"outputs\":[{\"name\":\"key_\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"}],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"loadPrecompilePreimagePart\",\"inputs\":[{\"name\":\"_partOffset\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"_precompile\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"_input\",\"type\":\"bytes\",\"internalType\":\"bytes\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"loadSha256PreimagePart\",\"inputs\":[{\"name\":\"_partOffset\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"_preimage\",\"type\":\"bytes\",\"internalType\":\"bytes\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"minProposalSize\",\"inputs\":[],\"outputs\":[{\"name\":\"minProposalSize_\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"preimageLengths\",\"inputs\":[{\"name\":\"\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"}],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"preimagePartOk\",\"inputs\":[{\"name\":\"\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"},{\"name\":\"\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"outputs\":[{\"name\":\"\",\"type\":\"bool\",\"internalType\":\"bool\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"preimageParts\",\"inputs\":[{\"name\":\"\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"},{\"name\":\"\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"outputs\":[{\"name\":\"\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"proposalBlocks\",\"inputs\":[{\"name\":\"\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"outputs\":[{\"name\":\"\",\"type\":\"uint64\",\"internalType\":\"uint64\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"proposalBlocksLen\",\"inputs\":[{\"name\":\"_claimant\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"_uuid\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"outputs\":[{\"name\":\"len_\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"proposalBonds\",\"inputs\":[{\"name\":\"\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"proposalBranches\",\"inputs\":[{\"name\":\"\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"outputs\":[{\"name\":\"\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"proposalCount\",\"inputs\":[],\"outputs\":[{\"name\":\"count_\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"proposalMetadata\",\"inputs\":[{\"name\":\"\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"outputs\":[{\"name\":\"\",\"type\":\"bytes32\",\"internalType\":\"LPPMetaData\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"proposalParts\",\"inputs\":[{\"name\":\"\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"outputs\":[{\"name\":\"\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"proposals\",\"inputs\":[{\"name\":\"\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"outputs\":[{\"name\":\"claimant\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"uuid\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"readPreimage\",\"inputs\":[{\"name\":\"_key\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"},{\"name\":\"_offset\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"outputs\":[{\"name\":\"dat_\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"},{\"name\":\"datLen_\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"squeezeLPP\",\"inputs\":[{\"name\":\"_claimant\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"_uuid\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"_stateMatrix\",\"type\":\"tuple\",\"internalType\":\"structLibKeccak.StateMatrix\",\"components\":[{\"name\":\"state\",\"type\":\"uint64[25]\",\"internalType\":\"uint64[25]\"}]},{\"name\":\"_preState\",\"type\":\"tuple\",\"internalType\":\"structPreimageOracle.Leaf\",\"components\":[{\"name\":\"input\",\"type\":\"bytes\",\"internalType\":\"bytes\"},{\"name\":\"index\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"stateCommitment\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"}]},{\"name\":\"_preStateProof\",\"type\":\"bytes32[]\",\"internalType\":\"bytes32[]\"},{\"name\":\"_postState\",\"type\":\"tuple\",\"internalType\":\"structPreimageOracle.Leaf\",\"components\":[{\"name\":\"input\",\"type\":\"bytes\",\"internalType\":\"bytes\"},{\"name\":\"index\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"stateCommitment\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"}]},{\"name\":\"_postStateProof\",\"type\":\"bytes32[]\",\"internalType\":\"bytes32[]\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"version\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"string\",\"internalType\":\"string\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"zeroHashes\",\"inputs\":[{\"name\":\"\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"outputs\":[{\"name\":\"\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"}],\"stateMutability\":\"view\"},{\"type\":\"error\",\"name\":\"ActiveProposal\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"AlreadyFinalized\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"BadProposal\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"BondTransferFailed\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"InsufficientBond\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"InvalidInputSize\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"InvalidPreimage\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"InvalidProof\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"NotEOA\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"NotInitialized\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"PartOffsetOOB\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"PostStateMatches\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"StatesNotContiguous\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"TreeSizeOverflow\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"WrongStartingBlock\",\"inputs\":[]}]",
	Bin: "0x60c06040523480156200001157600080fd5b5060405162003a0f38038062003a0f8339810160408190526200003491620000f3565b60a0829052608081905260005b6200004f600160106200012e565b811015620000ea57600381601081106200006d576200006d62000148565b01546003826010811062000085576200008562000148565b0154604080516020810193909352820152606001604051602081830303815290604052805190602001206003826001620000c091906200015e565b60108110620000d357620000d362000148565b015580620000e18162000179565b91505062000041565b50505062000195565b600080604083850312156200010757600080fd5b505080516020909101519092909150565b634e487b7160e01b600052601160045260246000fd5b60008282101562000143576200014362000118565b500390565b634e487b7160e01b600052603260045260246000fd5b6000821982111562000174576200017462000118565b500190565b6000600182016200018e576200018e62000118565b5060010190565b60805160a051613846620001c9600039600081816105ae0152611d3e01526000818161068e01526115a601526138466000f3fe6080604052600436106101cd5760003560e01c80638dc4be11116100f7578063dd24f9bf11610095578063ec5efcbc11610064578063ec5efcbc1461065f578063f3f480d91461067f578063faf37bc7146106b2578063fef2b4ed146106c557600080fd5b8063dd24f9bf1461059f578063ddcd58de146105d2578063e03110e11461060a578063e15926111461063f57600080fd5b8063b2e67ba8116100d1578063b2e67ba814610512578063b4801e611461054a578063d18534b51461056a578063da35c6641461058a57600080fd5b80638dc4be11146104835780639d53a648146104a35780639d7e8769146104f257600080fd5b806354fd4d501161016f5780637917de1d1161013e5780637917de1d146103bf5780637ac54767146103df5780638542cf50146103ff578063882856ef1461044a57600080fd5b806354fd4d50146102dd57806361238bde146103335780636551927b1461036b5780637051472e146103a357600080fd5b80632055b36b116101ab5780632055b36b146102735780633909af5c146102885780634d52b4c9146102a857806352f0f3ad146102bd57600080fd5b8063013cf08b146101d25780630359a5631461022357806304697c7814610251575b600080fd5b3480156101de57600080fd5b506101f26101ed366004612d1c565b6106f2565b6040805173ffffffffffffffffffffffffffffffffffffffff90931683526020830191909152015b60405180910390f35b34801561022f57600080fd5b5061024361023e366004612d5e565b610737565b60405190815260200161021a565b34801561025d57600080fd5b5061027161026c366004612dd1565b61086f565b005b34801561027f57600080fd5b50610243601081565b34801561029457600080fd5b506102716102a3366004612ff5565b6109a5565b3480156102b457600080fd5b50610243610bfc565b3480156102c957600080fd5b506102436102d83660046130e1565b610c17565b3480156102e957600080fd5b506103266040518060400160405280600581526020017f302e312e3000000000000000000000000000000000000000000000000000000081525081565b60405161021a9190613148565b34801561033f57600080fd5b5061024361034e366004613199565b600160209081526000928352604080842090915290825290205481565b34801561037757600080fd5b50610243610386366004612d5e565b601560209081526000928352604080842090915290825290205481565b3480156103af57600080fd5b506102436703782dace9d9000081565b3480156103cb57600080fd5b506102716103da3660046131bb565b610cec565b3480156103eb57600080fd5b506102436103fa366004612d1c565b6111dc565b34801561040b57600080fd5b5061043a61041a366004613199565b600260209081526000928352604080842090915290825290205460ff1681565b604051901515815260200161021a565b34801561045657600080fd5b5061046a610465366004613257565b6111f3565b60405167ffffffffffffffff909116815260200161021a565b34801561048f57600080fd5b5061027161049e36600461328a565b61124d565b3480156104af57600080fd5b506102436104be366004612d5e565b73ffffffffffffffffffffffffffffffffffffffff9091166000908152601860209081526040808320938352929052205490565b3480156104fe57600080fd5b5061027161050d3660046132d6565b611348565b34801561051e57600080fd5b5061024361052d366004612d5e565b601760209081526000928352604080842090915290825290205481565b34801561055657600080fd5b50610243610565366004613257565b6114ff565b34801561057657600080fd5b50610271610585366004612ff5565b611531565b34801561059657600080fd5b50601354610243565b3480156105ab57600080fd5b507f0000000000000000000000000000000000000000000000000000000000000000610243565b3480156105de57600080fd5b506102436105ed366004612d5e565b601660209081526000928352604080842090915290825290205481565b34801561061657600080fd5b5061062a610625366004613199565b6118f3565b6040805192835260208301919091520161021a565b34801561064b57600080fd5b5061027161065a36600461328a565b6119e4565b34801561066b57600080fd5b5061027161067a366004613362565b611aec565b34801561068b57600080fd5b507f0000000000000000000000000000000000000000000000000000000000000000610243565b6102716106c03660046133fb565b611c72565b3480156106d157600080fd5b506102436106e0366004612d1c565b60006020819052908152604090205481565b6013818154811061070257600080fd5b60009182526020909120600290910201805460019091015473ffffffffffffffffffffffffffffffffffffffff909116915082565b73ffffffffffffffffffffffffffffffffffffffff82166000908152601560209081526040808320848452909152812054819061077a9060601c63ffffffff1690565b63ffffffff16905060005b6010811015610867578160011660010361080d5773ffffffffffffffffffffffffffffffffffffffff85166000908152601460209081526040808320878452909152902081601081106107da576107da613437565b0154604080516020810192909252810184905260600160405160208183030381529060405280519060200120925061084e565b826003826010811061082157610821613437565b01546040805160208101939093528201526060016040516020818303038152906040528051906020012092505b60019190911c908061085f81613495565b915050610785565b505092915050565b600080600080608060146030823785878260140137601480870182207effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff167f06000000000000000000000000000000000000000000000000000000000000001794506000908190889084018b5afa94503d60010191506008820189106108fc5763fe2549876000526004601cfd5b60c082901b81526008018481533d6000600183013e88017ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8015160008481526002602090815260408083208c8452825280832080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0016600190811790915587845282528083209b83529a81528a82209290925593845283905296909120959095555050505050565b60006109b18a8a610737565b90506109d486868360208b01356109cf6109ca8d6134cd565b611edd565b611f1d565b80156109f257506109f283838360208801356109cf6109ca8a6134cd565b610a28576040517f09bde33900000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b866040013588604051602001610a3e919061359c565b6040516020818303038152906040528051906020012014610a8b576040517f1968a90200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b836020013587602001356001610aa191906135da565b14610ad8576040517f9a3b119900000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610b2088610ae686806135f2565b8080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250611f7e92505050565b610b29886120d9565b836040013588604051602001610b3f919061359c565b6040516020818303038152906040528051906020012003610b8c576040517f9843145b00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b73ffffffffffffffffffffffffffffffffffffffff8a1660009081526015602090815260408083208c8452909152902080547fffffffffffffffffffffffffffffffffffffffffffffffff0000000000000000166001179055610bf08a8a33612881565b50505050505050505050565b6001610c0a60106002613779565b610c149190613785565b81565b6000610c23868661293a565b9050610c308360086135da565b821180610c3d5750602083115b15610c74576040517ffe25498700000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000602081815260c085901b82526008959095528251828252600286526040808320858452875280832080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001660019081179091558484528752808320948352938652838220558181529384905292205592915050565b60608115610d0557610cfe86866129e7565b9050610d3f565b85858080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152509293505050505b3360009081526014602090815260408083208b845290915280822081516102008101928390529160109082845b815481526020019060010190808311610d6c57505050505090506000601560003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008b81526020019081526020016000205490506000610ded8260601c63ffffffff1690565b63ffffffff169050333214610e2e576040517fba092d1600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610e3e8260801c63ffffffff1690565b63ffffffff16600003610e7d576040517f87138d5c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610e878260c01c90565b67ffffffffffffffff1615610ec8576040517f475a253500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b898114610f01576040517f60f95d5a00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610f0e89898d8886612a60565b83516020850160888204881415608883061715610f33576307b1daf16000526004601cfd5b60405160c8810160405260005b83811015610fe3578083018051835260208101516020840152604081015160408401526060810151606084015260808101516080840152508460888301526088810460051b8b013560a883015260c882206001860195508560005b610200811015610fd8576001821615610fb85782818b0152610fd8565b8981015160009081526020938452604090209260019290921c9101610f9b565b505050608801610f40565b50505050600160106002610ff79190613779565b6110019190613785565b81111561103a576040517f6229572300000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6110af61104d8360401c63ffffffff1690565b61105d9063ffffffff168a6135da565b60401b7fffffffffffffffffffffffffffffffffffffffff00000000ffffffffffffffff606084901b167fffffffffffffffffffffffffffffffff0000000000000000ffffffffffffffff8516171790565b9150841561113c5777ffffffffffffffffffffffffffffffffffffffffffffffff82164260c01b1791506110e98260801c63ffffffff1690565b63ffffffff166110ff8360401c63ffffffff1690565b63ffffffff161461113c576040517f7b1dafd100000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b3360009081526014602090815260408083208e8452909152902061116290846010612c92565b50503360008181526018602090815260408083208e8452825280832080546001810182559084528284206004820401805460039092166008026101000a67ffffffffffffffff818102199093164390931602919091179055928252601581528282209c82529b909b52909920989098555050505050505050565b600381601081106111ec57600080fd5b0154905081565b6018602052826000526040600020602052816000526040600020818154811061121b57600080fd5b906000526020600020906004918282040191900660080292509250509054906101000a900467ffffffffffffffff1681565b60443560008060088301861061126b5763fe2549876000526004601cfd5b60c083901b60805260888386823786600882030151915060206000858360025afa90508061129857600080fd5b50600080517effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff167f0400000000000000000000000000000000000000000000000000000000000000178082526002602090815260408084208a8552825280842080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001660019081179091558385528252808420998452988152888320939093558152908190529490942055505050565b600080603087600037602060006030600060025afa806113705763f91129696000526004601cfd5b6000517effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff167f010000000000000000000000000000000000000000000000000000000000000017608081815260a08c905260c08b905260308a60e037603088609083013760008060c083600a5afa9250826113f2576309bde3396000526004601cfd5b602886106114085763fe2549876000526004601cfd5b6000602882015278200000000000000000000000000000000000000000000000008152600881018b905285810151935060308a8237603081019b909b52505060509098207effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff167f0500000000000000000000000000000000000000000000000000000000000000176000818152600260209081526040808320868452825280832080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0016600190811790915584845282528083209583529481528482209a909a559081528089529190912096909655505050505050565b6014602052826000526040600020602052816000526040600020816010811061152757600080fd5b0154925083915050565b73ffffffffffffffffffffffffffffffffffffffff891660009081526015602090815260408083208b845290915290205467ffffffffffffffff8116156115a4576040517fc334f06900000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b7f00000000000000000000000000000000000000000000000000000000000000006115cf8260c01c90565b6115e39067ffffffffffffffff1642613785565b1161161a576040517f55d4cbf900000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60006116268b8b610737565b905061163f87878360208c01356109cf6109ca8e6134cd565b801561165d575061165d84848360208901356109cf6109ca8b6134cd565b611693576040517f09bde33900000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8760400135896040516020016116a9919061359c565b60405160208183030381529060405280519060200120146116f6576040517f1968a90200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b84602001358860200135600161170c91906135da565b14158061173e575060016117268360601c63ffffffff1690565b611730919061379c565b63ffffffff16856020013514155b15611775576040517f9a3b119900000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61178389610ae687806135f2565b61178c896120d9565b60006117978a612bb3565b7effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff167f020000000000000000000000000000000000000000000000000000000000000017905060006117ee8460a01c63ffffffff1690565b67ffffffffffffffff169050600160026000848152602001908152602001600020600083815260200190815260200160002060006101000a81548160ff021916908315150217905550601760008e73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008d815260200190815260200160002054600160008481526020019081526020016000206000838152602001908152602001600020819055506118c08460801c63ffffffff1690565b600083815260208190526040902063ffffffff9190911690556118e48d8d81612881565b50505050505050505050505050565b6000828152600260209081526040808320848452909152812054819060ff1661197c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601460248201527f7072652d696d616765206d757374206578697374000000000000000000000000604482015260640160405180910390fd5b50600083815260208181526040909120546119988160086135da565b6119a38560206135da565b106119c157836119b48260086135da565b6119be9190613785565b91505b506000938452600160209081526040808620948652939052919092205492909150565b604435600080600883018610611a025763fe2549876000526004601cfd5b60c083901b6080526088838682378087017ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff80151908490207effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff167f02000000000000000000000000000000000000000000000000000000000000001760008181526002602090815260408083208b8452825280832080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0016600190811790915584845282528083209a83529981528982209390935590815290819052959095209190915550505050565b6000611af88686610737565b9050611b1183838360208801356109cf6109ca8a6134cd565b611b47576040517f09bde33900000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b602084013515611b83576040517f9a3b119900000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b611b8b612cd0565b611b9981610ae687806135f2565b611ba2816120d9565b846040013581604051602001611bb8919061359c565b6040516020818303038152906040528051906020012003611c05576040517f9843145b00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b73ffffffffffffffffffffffffffffffffffffffff87166000908152601560209081526040808320898452909152902080547fffffffffffffffffffffffffffffffffffffffffffffffff0000000000000000166001179055611c69878733612881565b50505050505050565b6703782dace9d90000341015611cb4576040517fe92c469f00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b333214611ced576040517fba092d1600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b611cf88160086137c1565b63ffffffff168263ffffffff1610611d3c576040517ffe25498700000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b7f00000000000000000000000000000000000000000000000000000000000000008163ffffffff161015611d9c576040517f7b1dafd100000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b336000818152601560209081526040808320878452825280832080547fffffffffffffffff0000000000000000ffffffffffffffffffffffffffffffff1660a09790971b7fffffffffffffffffffffffff00000000ffffffffffffffffffffffffffffffff169690961760809590951b949094179094558251808401845282815280850186815260138054600181018255908452915160029092027f66de8ffda797e3de9c05e8fc57b3bf0ec28a930d40b0d285d93c06501cf6a0908101805473ffffffffffffffffffffffffffffffffffffffff9094167fffffffffffffffffffffffff000000000000000000000000000000000000000090941693909317909255517f66de8ffda797e3de9c05e8fc57b3bf0ec28a930d40b0d285d93c06501cf6a0919091015590815260168352818120938152929091529020349055565b6000816000015182602001518360400151604051602001611f00939291906137e9565b604051602081830303815290604052805190602001209050919050565b60008160005b6010811015611f71578060051b880135600186831c1660018114611f565760008481526020839052604090209350611f67565b600082815260208590526040902093505b5050600101611f23565b5090931495945050505050565b6088815114611f8c57600080fd5b602081016020830161200d565b8260031b8201518060001a8160011a60081b178160021a60101b8260031a60181b17178160041a60201b8260051a60281b178260061a60301b8360071a60381b171717905061200781611ff2868560059190911b015190565b1867ffffffffffffffff16600586901b840152565b50505050565b61201960008383611f99565b61202560018383611f99565b61203160028383611f99565b61203d60038383611f99565b61204960048383611f99565b61205560058383611f99565b61206160068383611f99565b61206d60078383611f99565b61207960088383611f99565b61208560098383611f99565b612091600a8383611f99565b61209d600b8383611f99565b6120a9600c8383611f99565b6120b5600d8383611f99565b6120c1600e8383611f99565b6120cd600f8383611f99565b61200760108383611f99565b6040805178010000000000008082800000000000808a8000000080008000602082015279808b00000000800000018000000080008081800000000000800991810191909152788a00000000000000880000000080008009000000008000000a60608201527b8000808b800000000000008b8000000000008089800000000000800360808201527f80000000000080028000000000000080000000000000800a800000008000000a60a08201527f800000008000808180000000000080800000000080000001800000008000800860c082015260009060e00160405160208183030381529060405290506020820160208201612761565b6102808101516101e082015161014083015160a0840151845118189118186102a082015161020083015161016084015160c0850151602086015118189118186102c083015161022084015161018085015160e0860151604087015118189118186102e08401516102408501516101a0860151610100870151606088015118189118186103008501516102608601516101c0870151610120880151608089015118189118188084603f1c61228c8660011b67ffffffffffffffff1690565b18188584603f1c6122a78660011b67ffffffffffffffff1690565b18188584603f1c6122c28660011b67ffffffffffffffff1690565b181895508483603f1c6122df8560011b67ffffffffffffffff1690565b181894508387603f1c6122fc8960011b67ffffffffffffffff1690565b60208b01518b51861867ffffffffffffffff168c5291189190911897508118600181901b603f9190911c18935060c08801518118601481901c602c9190911b1867ffffffffffffffff1660208901526101208801518718602c81901c60149190911b1867ffffffffffffffff1660c08901526102c08801518618600381901c603d9190911b1867ffffffffffffffff166101208901526101c08801518718601981901c60279190911b1867ffffffffffffffff166102c08901526102808801518218602e81901c60129190911b1867ffffffffffffffff166101c089015260408801518618600281901c603e9190911b1867ffffffffffffffff166102808901526101808801518618601581901c602b9190911b1867ffffffffffffffff1660408901526101a08801518518602781901c60199190911b1867ffffffffffffffff166101808901526102608801518718603881901c60089190911b1867ffffffffffffffff166101a08901526102e08801518518600881901c60389190911b1867ffffffffffffffff166102608901526101e08801518218601781901c60299190911b1867ffffffffffffffff166102e089015260808801518718602581901c601b9190911b1867ffffffffffffffff166101e08901526103008801518718603281901c600e9190911b1867ffffffffffffffff1660808901526102a08801518118603e81901c60029190911b1867ffffffffffffffff166103008901526101008801518518600981901c60379190911b1867ffffffffffffffff166102a08901526102008801518118601381901c602d9190911b1867ffffffffffffffff1661010089015260a08801518218601c81901c60249190911b1867ffffffffffffffff1661020089015260608801518518602481901c601c9190911b1867ffffffffffffffff1660a08901526102408801518518602b81901c60159190911b1867ffffffffffffffff1660608901526102208801518618603181901c600f9190911b1867ffffffffffffffff166102408901526101608801518118603681901c600a9190911b1867ffffffffffffffff166102208901525060e08701518518603a81901c60069190911b1867ffffffffffffffff166101608801526101408701518118603d81901c60039190911b1867ffffffffffffffff1660e0880152505067ffffffffffffffff81166101408601525b5050505050565b600582811b8201805160018501831b8401805160028701851b8601805160038901871b8801805160048b0190981b8901805167ffffffffffffffff861985168918811690995283198a16861889169096528819861683188816909352841986168818871690528419831684189095169052919391929190611c69565b6126fb600082612674565b612706600582612674565b612711600a82612674565b61271c600f82612674565b612727601482612674565b50565b612733816121cf565b61273c816126f0565b600383901b820151815160c09190911c9061200790821867ffffffffffffffff168352565b61276d6000828461272a565b6127796001828461272a565b6127856002828461272a565b6127916003828461272a565b61279d6004828461272a565b6127a96005828461272a565b6127b56006828461272a565b6127c16007828461272a565b6127cd6008828461272a565b6127d96009828461272a565b6127e5600a828461272a565b6127f1600b828461272a565b6127fd600c828461272a565b612809600d828461272a565b612815600e828461272a565b612821600f828461272a565b61282d6010828461272a565b6128396011828461272a565b6128456012828461272a565b6128516013828461272a565b61285d6014828461272a565b6128696015828461272a565b6128756016828461272a565b6120076017828461272a565b73ffffffffffffffffffffffffffffffffffffffff83811660009081526016602090815260408083208684529091528082208054908390559051909284169083908381818185875af1925050503d80600081146128fa576040519150601f19603f3d011682016040523d82523d6000602084013e6128ff565b606091505b505090508061266d576040517f83e6cc6b00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b7f01000000000000000000000000000000000000000000000000000000000000007effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8316176129e0818360408051600093845233602052918152606090922091527effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff167f01000000000000000000000000000000000000000000000000000000000000001790565b9392505050565b6060604051905081602082018181018286833760888306808015612a305760888290038501848101848103803687375060806001820353506001845160001a1784538652612a47565b608836843760018353608060878401536088850186525b5050505050601f19603f82510116810160405292915050565b6000612a728260a01c63ffffffff1690565b67ffffffffffffffff1690506000612a908360801c63ffffffff1690565b63ffffffff1690506000612aaa8460401c63ffffffff1690565b63ffffffff169050600883108015612ac0575080155b15612af45760c082901b6000908152883560085283513382526017602090815260408084208a855290915290912055612ba9565b60088310158015612b12575080612b0c600885613785565b93508310155b8015612b265750612b2387826135da565b83105b15612ba9576000612b378285613785565b905087612b458260206135da565b10158015612b51575085155b15612b88576040517ffe25498700000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b3360009081526017602090815260408083208a845290915290209089013590555b5050505050505050565b6000612c36565b66ff00ff00ff00ff8160081c1667ff00ff00ff00ff00612be48360081b67ffffffffffffffff1690565b1617905065ffff0000ffff8160101c1667ffff0000ffff0000612c118360101b67ffffffffffffffff1690565b1617905060008160201c612c2f8360201b67ffffffffffffffff1690565b1792915050565b60808201516020830190612c4e90612bba565b612bba565b6040820151612c5c90612bba565b60401b17612c74612c4960018460059190911b015190565b825160809190911b90612c8690612bba565b60c01b17179392505050565b8260108101928215612cc0579160200282015b82811115612cc0578251825591602001919060010190612ca5565b50612ccc929150612ce8565b5090565b6040518060200160405280612ce3612cfd565b905290565b5b80821115612ccc5760008155600101612ce9565b6040518061032001604052806019906020820280368337509192915050565b600060208284031215612d2e57600080fd5b5035919050565b803573ffffffffffffffffffffffffffffffffffffffff81168114612d5957600080fd5b919050565b60008060408385031215612d7157600080fd5b612d7a83612d35565b946020939093013593505050565b60008083601f840112612d9a57600080fd5b50813567ffffffffffffffff811115612db257600080fd5b602083019150836020828501011115612dca57600080fd5b9250929050565b60008060008060608587031215612de757600080fd5b84359350612df760208601612d35565b9250604085013567ffffffffffffffff811115612e1357600080fd5b612e1f87828801612d88565b95989497509550505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b604051610320810167ffffffffffffffff81118282101715612e7e57612e7e612e2b565b60405290565b6040516060810167ffffffffffffffff81118282101715612e7e57612e7e612e2b565b604051601f82017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016810167ffffffffffffffff81118282101715612eee57612eee612e2b565b604052919050565b6000610320808385031215612f0a57600080fd5b604051602080820167ffffffffffffffff8382108183111715612f2f57612f2f612e2b565b8160405283955087601f880112612f4557600080fd5b612f4d612e5a565b9487019491508188861115612f6157600080fd5b875b86811015612f895780358381168114612f7c5760008081fd5b8452928401928401612f63565b50909352509295945050505050565b600060608284031215612faa57600080fd5b50919050565b60008083601f840112612fc257600080fd5b50813567ffffffffffffffff811115612fda57600080fd5b6020830191508360208260051b8501011115612dca57600080fd5b60008060008060008060008060006103e08a8c03121561301457600080fd5b61301d8a612d35565b985060208a013597506130338b60408c01612ef6565b96506103608a013567ffffffffffffffff8082111561305157600080fd5b61305d8d838e01612f98565b97506103808c013591508082111561307457600080fd5b6130808d838e01612fb0565b90975095506103a08c013591508082111561309a57600080fd5b6130a68d838e01612f98565b94506103c08c01359150808211156130bd57600080fd5b506130ca8c828d01612fb0565b915080935050809150509295985092959850929598565b600080600080600060a086880312156130f957600080fd5b505083359560208501359550604085013594606081013594506080013592509050565b60005b8381101561313757818101518382015260200161311f565b838111156120075750506000910152565b602081526000825180602084015261316781604085016020870161311c565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169190910160400192915050565b600080604083850312156131ac57600080fd5b50508035926020909101359150565b600080600080600080600060a0888a0312156131d657600080fd5b8735965060208801359550604088013567ffffffffffffffff808211156131fc57600080fd5b6132088b838c01612d88565b909750955060608a013591508082111561322157600080fd5b5061322e8a828b01612fb0565b9094509250506080880135801515811461324757600080fd5b8091505092959891949750929550565b60008060006060848603121561326c57600080fd5b61327584612d35565b95602085013595506040909401359392505050565b60008060006040848603121561329f57600080fd5b83359250602084013567ffffffffffffffff8111156132bd57600080fd5b6132c986828701612d88565b9497909650939450505050565b600080600080600080600060a0888a0312156132f157600080fd5b8735965060208801359550604088013567ffffffffffffffff8082111561331757600080fd5b6133238b838c01612d88565b909750955060608a013591508082111561333c57600080fd5b506133498a828b01612d88565b989b979a50959894979596608090950135949350505050565b60008060008060006080868803121561337a57600080fd5b61338386612d35565b945060208601359350604086013567ffffffffffffffff808211156133a757600080fd5b6133b389838a01612f98565b945060608801359150808211156133c957600080fd5b506133d688828901612fb0565b969995985093965092949392505050565b803563ffffffff81168114612d5957600080fd5b60008060006060848603121561341057600080fd5b83359250613420602085016133e7565b915061342e604085016133e7565b90509250925092565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82036134c6576134c6613466565b5060010190565b6000606082360312156134df57600080fd5b6134e7612e84565b823567ffffffffffffffff808211156134ff57600080fd5b9084019036601f83011261351257600080fd5b813560208282111561352657613526612e2b565b613556817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f85011601612ea7565b9250818352368183860101111561356c57600080fd5b81818501828501376000918301810191909152908352848101359083015250604092830135928101929092525090565b81516103208201908260005b60198110156135d157825167ffffffffffffffff168252602092830192909101906001016135a8565b50505092915050565b600082198211156135ed576135ed613466565b500190565b60008083357fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe184360301811261362757600080fd5b83018035915067ffffffffffffffff82111561364257600080fd5b602001915036819003821315612dca57600080fd5b600181815b808511156136b057817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0482111561369657613696613466565b808516156136a357918102915b93841c939080029061365c565b509250929050565b6000826136c757506001613773565b816136d457506000613773565b81600181146136ea57600281146136f457613710565b6001915050613773565b60ff84111561370557613705613466565b50506001821b613773565b5060208310610133831016604e8410600b8410161715613733575081810a613773565b61373d8383613657565b807fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0482111561376f5761376f613466565b0290505b92915050565b60006129e083836136b8565b60008282101561379757613797613466565b500390565b600063ffffffff838116908316818110156137b9576137b9613466565b039392505050565b600063ffffffff8083168185168083038211156137e0576137e0613466565b01949350505050565b600084516137fb81846020890161311c565b9190910192835250602082015260400191905056fea2646970667358221220ef7ae360e354fe0fcba4a1e045d5a9d361ab625b1f8a5619c82151c7f845da8664736f6c634300080f0033",
}

PreimageOracleMetaData contains all meta data concerning the PreimageOracle contract.

View Source
var PreimageOracleStorageLayout = new(solc.StorageLayout)
View Source
var RISCVABI = RISCVMetaData.ABI

RISCVABI is the input ABI used to generate the binding from. Deprecated: Use RISCVMetaData.ABI instead.

View Source
var RISCVBin = RISCVMetaData.Bin

RISCVBin is the compiled bytecode used for deploying new contracts. Deprecated: Use RISCVMetaData.Bin instead.

View Source
var RISCVDeployedBin = "" /* 17108-byte string literal not displayed */
View Source
var RISCVMetaData = &bind.MetaData{
	ABI: "[{\"type\":\"constructor\",\"inputs\":[{\"name\":\"_preimageOracle\",\"type\":\"address\",\"internalType\":\"contractIPreimageOracle\"}],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"preimageOracle\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"address\",\"internalType\":\"contractIPreimageOracle\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"step\",\"inputs\":[{\"name\":\"stateData\",\"type\":\"bytes\",\"internalType\":\"bytes\"},{\"name\":\"proof\",\"type\":\"bytes\",\"internalType\":\"bytes\"},{\"name\":\"localContext\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"}],\"outputs\":[{\"name\":\"\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"}],\"stateMutability\":\"nonpayable\"}]",
	Bin: "0x608060405234801561001057600080fd5b50604051620021ff380380620021ff83398101604081905261003191610056565b600080546001600160a01b0319166001600160a01b0392909216919091179055610086565b60006020828403121561006857600080fd5b81516001600160a01b038116811461007f57600080fd5b9392505050565b61216980620000966000396000f3fe608060405234801561001057600080fd5b50600436106100365760003560e01c80633acc02841461003b578063e14ced3214610085575b600080fd5b60005461005b9073ffffffffffffffffffffffffffffffffffffffff1681565b60405173ffffffffffffffffffffffffffffffffffffffff90911681526020015b60405180910390f35b6100986100933660046120bf565b6100a6565b60405190815260200161007c565b6000610370565b8060005260206000fd5b905090565b600067ffffffffffffffff6100cf565b90565b909116919050565b60006100f2601f6100ed63ffffffff5b85610287565b610110565b92915050565b6000600160405b1b905090565b60006001603f6100ff565b60006001831b821680156101345767ffffffffffffffff841c841b8317915061014d565b61014a67ffffffffffffffff85603f031c841690565b91505b5092915050565b600061015e610105565b82168015610190577fffffffffffffffffffffffffffffffffffffffffffffffff000000000000000083179150610194565b8291505b50919050565b60006101ae6101a76100f8565b8484010690565b9392505050565b60006101ae6101c26100f8565b8484030690565b60006101ae8383026100bc565b60006101ae8383046100bc565b60006101ae6101f184610154565b6101fa84610154565b056100bc565b60008282066101ae565b60006101ae61021884610154565b61022184610154565b076100bc565b60006100f282196100bc565b60008282106101ae565b60008282116101ae565b60006101ae61025584610154565b61025e84610154565b1290565b60006101ae61027084610154565b61027984610154565b1390565b60008183146101ae565b60008183166101ae565b60008183176101ae565b60008183186101ae565b60006101ae83831b6100bc565b600082821c6101ae565b60006101ae6102ca84610154565b831d6100bc565b60208110156101945760ff83168260081b1791508260081c92506001810190506102d1565b6000602060005b01905090565b600060206102fd6102f6565b600060086102fd610303565b600060086102fd61030f565b600060016102fd61031b565b600060016102fd610327565b600060086102fd610333565b600060086102fd61033f565b600060086102fd61034b565b60006101006102fd610357565b60806040511461037f57600080fd5b6084861461038c57600080fd5b610394610363565b6020870335146103a357600080fd5b60206103bd6103b0610363565b601f808216602003160190565b87010184146103cb57600080fd5b61022484146103d957600080fd5b6103e1610363565b6080016040526103ef610363565b86608037611455565b6080015160209190910360031b1c90565b60800180517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff60209390930360031b92831b19169290911b919091179052565b50565b60006100b760206103f86102f6565b6104498160206104096102f6565b60006100b760086103f8610303565b610449816008610409610303565b60006100b760086103f861030f565b61044981600861040961030f565b60006100b760016103f8610327565b6104c0600180610409610327565b565b60006100b760016103f861031b565b61044981600161040961031b565b60006100b760086103f8610333565b610449816008610409610333565b60006100b760086103f861033f565b61044981600861040961033f565b60006100b760086103f861034b565b61044981600861040961034b565b6000610543601f8361023d565b156105545761055462bad4e96100ad565b6105726105626008846101c9565b61056d6100cc610357565b61019a565b608081015160c01c6101ae565b80610588575050565b610594601f5b8261023d565b156105a5576105a562bad4e96100ad565b6105b36105626008836101c9565b60808101805177ffffffffffffffffffffffffffffffffffffffffffffffff1660c085901b179052505050565b505050565b60006105ef6104a3565b600181146105ff57600391505090565b6106076104c2565b801561061e57600181146106275760029250505090565b60009250505090565b60019250505090565b610638610363565b6080a06000610645610363565b60802090506106526105e5565b60f81b7effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff919091161790565b60006100f2600b6100ed8460146102b2565b6102b2565b60006100f2600b6100ed6106b3601f6106ae8760076102b2565b610287565b6106cd6106c18760196102b2565b60056102a5565b6102a5565b610291565b60006100f2600c6100ed61070e6106f46106ed87601f6102b2565b600c6102a5565b6106cd61070760016106ae8a60076102b2565b600b6102a5565b6106cd6107246106c1603f6106ae8a60196102b2565b6106cd610737600f6106ae8b60086102b2565b60016102a5565b60006100f260136100ed84600c6102b2565b60006100f260136100ed61078561077261076b87601f6102b2565b60136102a5565b6106cd61070760ff6106ae8a600c6102b2565b6106cd6107a261079b60016106ae8a60146102b2565b600a6102a5565b6106cd6103ff6106ae8a60156102b2565b60006100f2607f5b83610287565b60006100f2601f6106ae8460076102b2565b60006100f260076106ae84600c6102b2565b60006100f2601f6106ae84600f6102b2565b60006100f2601f6106ae8460146102b2565b60006100f28260196102b2565b60006100f28260146102b2565b600061083a6020610835603c856101c9565b6101c9565b90506100f26102245b8261019a565b6000610855601f6107bb565b156108675761086763bad10ad06100ad565b61087083610823565b803561087e60205b8361019a565b915061088b8460056102b2565b8160005b603b8110156108f95784356108a560208761019a565b95506108b660016106ae86856102b2565b80156108c957600181146108de576108ef565b600084815260208390526040902093506108ef565b600082815260208590526040902093505b505060010161088f565b5060805193508381146109135761091363badf00d16100ad565b509095945050505050565b61092a601f5b82610287565b1561093c5761093c63bad10ad06100ad565b61094583610823565b826109506020610878565b915061095d8360056102b2565b60005b603b8110156109cb57833561097760205b8661019a565b945061098860016106ae85856102b2565b801561099b57600181146109b0576109c1565b600085815260208390526040902094506109c1565b600082815260208690526040902094505b5050600101610960565b50506109d681608052565b5050505050565b600060088311156109f5576109f563bad512e06100ad565b610a076107bb601f610227565b610227565b610a146100cc8783610849565b610a1e82856101b5565b6000610a41610a2d601f610227565b6106ae610a3b60018b6101b5565b8961019a565b610a5388610a4e85602082565b6101b5565b6000610a66610a62848961027d565b1590565b15610aa35760ff8d03610a8057610a8063bad222206100ad565b610a8d6100cc8e85610849565b935060009150610aa08a610a4e87604082565b90505b85610ab26100cc8460036102a5565b1c955083610ac46100cc8360036102a5565b1c9350505050600091505b86821015610b5957610af7610ae4601f610227565b6106ae84610a4e6001610a4e8d8d61019a565b6000610b03868361027d565b60018114610b16578015610b2657610b32565b600886901c9560ff169150610b32565b600884901c9360ff1691505b50610b4a610b3f826100bc565b6106cd8960086102a5565b96505050600182019150610acf565b505050508315610b8157610b736001610a4e8560036102a5565b610b7d8183610110565b9150505b95945050505050565b60008060008084610b9b878761019a565b60005b6040811015610c635780610bb3602082610233565b8060018114610bc7578015610bd857610be5565b8760081b97508960081b9950610be5565b8660081b96508860081b98505b50610c07610bf38584610233565b6106ae6000610c028987610233565b61027d565b15610c595760ff8c610c266100cc610c1f8e876101b5565b60036102a5565b1c168160018114610c3c578015610c4b57610c56565b9781179760ff8b179a50610c56565b9681179660ff8a1799505b50505b5050600101610b9e565b50505093509350935093565b6020821115610c8557610c8563bad512e16100ad565b610c92610924601f610227565b610cb3610c9f601f610227565b6106ae610cad6001876101b5565b8561019a565b610cbd82846101b5565b610cc8868683610b8a565b9350610cd76100cc8b88610849565b8319168117610ce78b828961091e565b5050610cf3848661027d565b15610d045750505050505050505050565b60ff8a03610d1957610d1963bad222216100ad565b610d266100cc8b86610849565b9019169091179250610d41905087610d3b8490565b8361091e565b50505050505050565b6109d68585858585610c6f565b60008360018114610d7f5760028114610d845760038114610d9557610d7f63badc0de06100ad565b610da4565b610d8e8483610291565b9350610da4565b610da16107bb85610227565b93505b509392505050565b6000610db8601f6107bb565b610dc38160206101b5565b610dcd818661023d565b15610dd6578094505b50610dee6100cc6001610de984876101b5565b610849565b80610dfd6100cc8460036102a5565b1b905080610e126100cc610c1f8860206101b5565b1c90508460031b9150610e2361044c565b821b8117610e308161045b565b505050610e43610e3e600090565b610478565b5090919050565b600080805460405163e03110e160e01b8152846004820152856024820152620186a06040600060448460008786f1925050508015610e92576000519250602051915050610ea0565b50610ea063badf00d06100ad565b9250929050565b6000610eb161044c565b610eb9610469565b8160f81c60018103610f2157604080516000858152336020528983526060902091527effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff167f01000000000000000000000000000000000000000000000000000000000000001792505b50610f2c8183610e4a565b925082610f3f57600093505050506101ae565b610f4b601f5b86610287565b610f568160206101b5565b610f60818961023d565b15610f69578097505b50610f74848861023d565b15610f7d578396505b610f8b610c1f8860206101b5565b6001901b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff01199350610fc26100cc8260036102a5565b93841c9382901c9150610fd5878461019a565b9250610fe083610478565b610fef6001610de983896101b5565b84191684831617925061100d600184611008848a6101b5565b61091e565b50949695505050505050565b6110236011610536565b80605d811461111c57605e811461111c5760d6811461113b5760de811461116057603f81146111d9576040811461126f57601981146112c9576038811461137757607b811461139557607c811461139557607181146113a9576087811461139557608481146113955760b2811461139557608681146113955760dc81146113db5760a381146113e55760e981146113955760148114611395576015811461139557603b811461139557604e811461139557604f81146113955760a081146113955760d78114611395576101168114611395576101058114611448576101a681146114485760658114611448576105e063f001ca116100ad565b611126600a610536565b61113260ff82166104d1565b506105e06104b2565b6111476001601e6102a5565b61115281600a61057f565b506105e060005b600b61057f565b61116a600a610536565b611174600b610536565b81806111cb57611185610fff6107bb565b80156111a3576111a061119a826110006101b5565b8461019a565b92505b506111ac6104fc565b6111b781600a61057f565b6111c96111c4848361019a565b61050b565b505b5050506105e0611159600090565b6111e3600a610536565b6111ed600b610536565b6111f7600c610536565b6000808480156112275760038114611232576005811461123c5767ffffffffffffffff5b9250604d5b915061124e565b600092506000611220565b8392506000611220565b611247898587610ea7565b9250600091505b5061125a82600a61057f565b61126581600b61057f565b5050505050505050565b611279600a610536565b611283600b610536565b61128d600c610536565b60008084600181146112325760028114611232576004811461123257600681146112bf5767ffffffffffffffff61121b565b6112478486610dac565b6112d3600a610536565b6112dd600b610536565b60008082600381146112fd5767ffffffffffffffff925060169150611360565b8480156113485760018114611352576002811461135257600381146113485760048114611352576005811461134857600681146113595767ffffffffffffffff9350604d925061135e565b60005b935061135e565b600161134b565b600193505b505b5061136c82600a61057f565b610d4181600b61057f565b61138b67ffffffffffffffff5b600a61057f565b6105e0600d611159565b61139f6000611384565b6105e06000611159565b6113b3600b610536565b682a00000000000005396113ce600260018360105b86610c6f565b505061139f611384600090565b61139f6001611384565b6113ef600a610536565b6113f9600b610536565b81600781146114135761140e620f00126100ad565b611440565b61142c60026001690400000000000000040060106113c8565b6114366000611384565b6114406000611159565b505050505050565b6105e063f001ca116100ad565b61145d6104a3565b156114735761146a610630565b60005260206000f35b611488611483600161056d6104df565b6104ee565b611490610486565b6114a060ff6000806004856109dd565b6114a9816107b3565b6114b2826107c1565b6114bb836107d3565b6114c4846107e5565b6114cd856107f7565b6114d686610809565b856003811461157157602381146115e7576063811461163d576013811461172257601b811461182a57603381146118e757603b8114611aee5760378114611ce15760178114611d0157606f8114611d1d5760678114611d5d5760738114611db157602f8114611e5157600f811461205257600781146120525760278114612052576053811461205f5761156c63f001c0de6100ad565b61206c565b61157a8861067d565b611589610a6260045b88610287565b61159a60016106c860035b8a610287565b6115a387610536565b6115b2610843600b5b86610110565b9350506115c4600260018484876109dd565b925050506115d2818861057f565b5061156c6115e260045b8b61019a565b610495565b6115f088610694565b6115fb6001876102a5565b61160485610536565b61160d87610536565b61161a610843600b6115ac565b93505061162c60026001838587610d4a565b50505061156c6115e26115dc600490565b61164684610536565b61164f84610536565b6000878015611685576001811461169657600481146116a857600581146116b257600681146116c457600781146116ce576116e3565b61168f838561027d565b91506116e3565b61168f60016106ae610a02868861027d565b61168f8385610247565b61168f60016106ae610a028688610247565b61168f8385610233565b6116e060016106ae610a028688610233565b91505b50808015611707576116f48c6106d2565b9350611700848e61019a565b9c50611715565b61171260048e61019a565b9c505b5050505061156c89610495565b61172b84610536565b6117348961067d565b600087801561177a576001811461178b576002811461179957600381146117a357600481146117ad57600581146117b7576006811461180857600781146118125761181f565b611784838561019a565b915061181f565b611784846106c8603f610f45565b6117848385610247565b6117848385610233565b611784838561029b565b6117c28360066102b2565b80156117d557601081146117ec57611802565b6117e58561068f603f5b87610287565b9250611802565b6117ff856117fa603f6117df565b6102bc565b92505b5061181f565b6117848385610291565b61181c8385610287565b91505b5061162c818a61057f565b61183384610536565b61183c8961067d565b600087801561185a576001811461186c576005811461187d5761181f565b611784611867848661019a565b6100d7565b611784611867856106c8601f6117df565b611888601f84610287565b6118938460056102b2565b80156118a657602081146118c9576118da565b6118c2601f5b6100ed6118bc63ffffffff611594565b856102b2565b93506118da565b6118d76118ac83601f6101b5565b93505b50505061162c818a61057f565b6118f084610536565b6118f984610536565b600084600181146119f0578880156119485760018114611980576002811461198e576003811461199857600481146119a257600581146119ac57600681146119dc57600781146119e657611802565b86801561195c576020811461196d5761197a565b611966858761019a565b935061197a565b61197785876101b5565b93505b50611802565b6117e5856106c8603f6117df565b6117e58486610247565b6117e58486610233565b6117e5848661029b565b8680156119c057602081146119ce5761197a565b6119668661068f603f611583565b611977866117fa603f611583565b6117e58486610291565b6117ff8486610287565b888015611a345760018114611a455760028114611a635760038114611a6c5760048114611a765760058114611aa15760068114611ab25760078114611acc57611ae2565b611a3e84866101c9565b9250611ae2565b611a3e611a5185610154565b611a5a87610154565b0260401c6100bc565b611a3e84611a51565b611a3e8486611a5a565b838015611a8e57611a8785876101e3565b9350611a9b565b67ffffffffffffffff5b93505b50611ae2565b838015611a8e57611a8785876101d6565b838015611ac357611a87858761020a565b85935050611ae2565b838015611add576118c28587610200565b859350505b505061162c818a61057f565b611af784610536565b611b0084610536565b60008460018114611be157888015611b275760018114611b7b5760058114611b8c57611802565b868015611b3b5760208114611b5b5761197a565b611966611867611b4e63ffffffff611583565b61056d63ffffffff611594565b611977611867611b6e63ffffffff611583565b610a4e63ffffffff611594565b6117e5611867866106c8601f611583565b611b96601f6100e7565b878015611baa5760208114611bc857611bd9565b611bc1601f5b6100ed6118bc63ffffffff8b610287565b9450611bd9565b611bd6611bb083601f6101b5565b94505b50505061181f565b888015611c0d5760048114611c2f5760058114611c535760068114611c7f5760078114611cac57611ae2565b611a3e611867611c2063ffffffff6117df565b61083563ffffffff5b89610287565b838015611a8e57611a87611867611c45876100d7565b611c4e896100d7565b6101e3565b838015611a8e57611a87611867611c6d63ffffffff611583565b611c7a63ffffffff611594565b6101d6565b838015611ca357611a87611867611c95876100d7565b611c9e896100d7565b61020a565b611a98866100d7565b838015611cd8576118c2611867611cc663ffffffff611583565b611cd363ffffffff611594565b610200565b6118d7866100d7565b611cea8861073e565b611cf581600c6102a5565b90506115d2818861057f565b611d0a8861073e565b611cf56115dc601f6100ed84600c6102a5565b611d2688610750565b611d3060046115dc565b611d3a818961057f565b50611d576115e2611d5160146100ed8560016102a5565b8c61019a565b5061206c565b611d6684610536565b611d6f8961067d565b611d796004611d51565b611d83818a61057f565b50611daa6115e2611d9d600167ffffffffffffffff61029b565b6106ae610971600b6115ac565b505061206c565b848015611e1657611dc189610816565b85611dcf610a626004611594565b15611de057611ddd87610536565b90505b611dea6003611c29565b611df5818385610d57565b92505050611e03818961057f565b50611e116115e26004611d51565b611d57565b611e218960146102b2565b8015611e3b57611e366115e260045b8d61019a565b611daa565b611e448d611019565b611daa6115e26004611e30565b611e5c6001866102a5565b611e66600861058e565b611e71600483610233565b1715611e8357611e8362bada706100ad565b611e8c85610536565b611e978460026102b2565b8060028114611fcd5760038114611ff557611eb187610536565b611ebc60048661027d565b15611ecd57611eca816100d7565b90505b611edc600260018088886109dd565b80848015611f365760018114611f475760048114611f4f5760088114611f5957600c8114611f635760108114611f6d5760148114611f845760188114611f8e57601c8114611f9857611f31630f001a706100ad565b611fab565b611f40848461019a565b9250611fab565b839250611fab565b611f40848461029b565b611f408484610291565b611f408484610287565b611f778385610247565b15611f3157839250611fab565b611f778385610262565b611f778385610233565b611fa2838561023d565b15611fab578392505b50611fbb60036001848a8a610d4a565b611fc5818e61057f565b505050612040565b611fdc600260018087876109dd565b611fe6818c61057f565b50611ff083610528565b612040565b6001612008612002610519565b8561027d565b1561202b5761201688610536565b61202560026001838989610d4a565b50600090505b612035818c61057f565b506120406000610528565b5050505061156c6115e26115dc600490565b61156c6115e260046115dc565b61206c6115e260046115dc565b50505050505050505061146a610630565b60008083601f84011261208f57600080fd5b50813567ffffffffffffffff8111156120a757600080fd5b602083019150836020828501011115610ea057600080fd5b6000806000806000606086880312156120d757600080fd5b853567ffffffffffffffff808211156120ef57600080fd5b6120fb89838a0161207d565b9097509550602088013591508082111561211457600080fd5b506121218882890161207d565b9699959850966040013594935050505056fea26469706673582212204bf07ebd5a7d3fef4e7f3c13d6576876bde01f9a5cf9bf3c1ad756d8155b2a4a64736f6c634300080f0033",
}

RISCVMetaData contains all meta data concerning the RISCV contract.

View Source
var RISCVStorageLayout = new(solc.StorageLayout)

Functions

func GetDeployedBytecode

func GetDeployedBytecode(name string) ([]byte, error)

GetDeployedBytecode returns the deployed bytecode of a contract by name.

func GetDeployerAddress

func GetDeployerAddress(name string) ([]byte, error)

func GetDeploymentSalt

func GetDeploymentSalt(name string) ([]byte, error)

func GetInitBytecode

func GetInitBytecode(name string) ([]byte, error)

func GetStorageLayout

func GetStorageLayout(name string) (*solc.StorageLayout, error)

GetStorageLayout returns the storage layout of a contract by name.

func HasImmutableReferences

func HasImmutableReferences(name string) (bool, error)

HasImmutableReferences returns the immutable references of a contract by name.

Types

type LibKeccakStateMatrix

type LibKeccakStateMatrix struct {
	State [25]uint64
}

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

type PreimageOracle

type PreimageOracle struct {
	PreimageOracleCaller     // Read-only binding to the contract
	PreimageOracleTransactor // Write-only binding to the contract
	PreimageOracleFilterer   // Log filterer for contract events
}

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

func DeployPreimageOracle

func DeployPreimageOracle(auth *bind.TransactOpts, backend bind.ContractBackend, _minProposalSize *big.Int, _challengePeriod *big.Int) (common.Address, *types.Transaction, *PreimageOracle, error)

DeployPreimageOracle deploys a new Ethereum contract, binding an instance of PreimageOracle to it.

func NewPreimageOracle

func NewPreimageOracle(address common.Address, backend bind.ContractBackend) (*PreimageOracle, error)

NewPreimageOracle creates a new instance of PreimageOracle, bound to a specific deployed contract.

type PreimageOracleCaller

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

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

func NewPreimageOracleCaller

func NewPreimageOracleCaller(address common.Address, caller bind.ContractCaller) (*PreimageOracleCaller, error)

NewPreimageOracleCaller creates a new read-only instance of PreimageOracle, bound to a specific deployed contract.

func (*PreimageOracleCaller) ChallengePeriod

func (_PreimageOracle *PreimageOracleCaller) ChallengePeriod(opts *bind.CallOpts) (*big.Int, error)

ChallengePeriod is a free data retrieval call binding the contract method 0xf3f480d9.

Solidity: function challengePeriod() view returns(uint256 challengePeriod_)

func (*PreimageOracleCaller) GetTreeRootLPP

func (_PreimageOracle *PreimageOracleCaller) GetTreeRootLPP(opts *bind.CallOpts, _owner common.Address, _uuid *big.Int) ([32]byte, error)

GetTreeRootLPP is a free data retrieval call binding the contract method 0x0359a563.

Solidity: function getTreeRootLPP(address _owner, uint256 _uuid) view returns(bytes32 treeRoot_)

func (*PreimageOracleCaller) KECCAKTREEDEPTH

func (_PreimageOracle *PreimageOracleCaller) KECCAKTREEDEPTH(opts *bind.CallOpts) (*big.Int, error)

KECCAKTREEDEPTH is a free data retrieval call binding the contract method 0x2055b36b.

Solidity: function KECCAK_TREE_DEPTH() view returns(uint256)

func (*PreimageOracleCaller) MAXLEAFCOUNT

func (_PreimageOracle *PreimageOracleCaller) MAXLEAFCOUNT(opts *bind.CallOpts) (*big.Int, error)

MAXLEAFCOUNT is a free data retrieval call binding the contract method 0x4d52b4c9.

Solidity: function MAX_LEAF_COUNT() view returns(uint256)

func (*PreimageOracleCaller) MINBONDSIZE

func (_PreimageOracle *PreimageOracleCaller) MINBONDSIZE(opts *bind.CallOpts) (*big.Int, error)

MINBONDSIZE is a free data retrieval call binding the contract method 0x7051472e.

Solidity: function MIN_BOND_SIZE() view returns(uint256)

func (*PreimageOracleCaller) MinProposalSize

func (_PreimageOracle *PreimageOracleCaller) MinProposalSize(opts *bind.CallOpts) (*big.Int, error)

MinProposalSize is a free data retrieval call binding the contract method 0xdd24f9bf.

Solidity: function minProposalSize() view returns(uint256 minProposalSize_)

func (*PreimageOracleCaller) PreimageLengths

func (_PreimageOracle *PreimageOracleCaller) PreimageLengths(opts *bind.CallOpts, arg0 [32]byte) (*big.Int, error)

PreimageLengths is a free data retrieval call binding the contract method 0xfef2b4ed.

Solidity: function preimageLengths(bytes32 ) view returns(uint256)

func (*PreimageOracleCaller) PreimagePartOk

func (_PreimageOracle *PreimageOracleCaller) PreimagePartOk(opts *bind.CallOpts, arg0 [32]byte, arg1 *big.Int) (bool, error)

PreimagePartOk is a free data retrieval call binding the contract method 0x8542cf50.

Solidity: function preimagePartOk(bytes32 , uint256 ) view returns(bool)

func (*PreimageOracleCaller) PreimageParts

func (_PreimageOracle *PreimageOracleCaller) PreimageParts(opts *bind.CallOpts, arg0 [32]byte, arg1 *big.Int) ([32]byte, error)

PreimageParts is a free data retrieval call binding the contract method 0x61238bde.

Solidity: function preimageParts(bytes32 , uint256 ) view returns(bytes32)

func (*PreimageOracleCaller) ProposalBlocks

func (_PreimageOracle *PreimageOracleCaller) ProposalBlocks(opts *bind.CallOpts, arg0 common.Address, arg1 *big.Int, arg2 *big.Int) (uint64, error)

ProposalBlocks is a free data retrieval call binding the contract method 0x882856ef.

Solidity: function proposalBlocks(address , uint256 , uint256 ) view returns(uint64)

func (*PreimageOracleCaller) ProposalBlocksLen

func (_PreimageOracle *PreimageOracleCaller) ProposalBlocksLen(opts *bind.CallOpts, _claimant common.Address, _uuid *big.Int) (*big.Int, error)

ProposalBlocksLen is a free data retrieval call binding the contract method 0x9d53a648.

Solidity: function proposalBlocksLen(address _claimant, uint256 _uuid) view returns(uint256 len_)

func (*PreimageOracleCaller) ProposalBonds

func (_PreimageOracle *PreimageOracleCaller) ProposalBonds(opts *bind.CallOpts, arg0 common.Address, arg1 *big.Int) (*big.Int, error)

ProposalBonds is a free data retrieval call binding the contract method 0xddcd58de.

Solidity: function proposalBonds(address , uint256 ) view returns(uint256)

func (*PreimageOracleCaller) ProposalBranches

func (_PreimageOracle *PreimageOracleCaller) ProposalBranches(opts *bind.CallOpts, arg0 common.Address, arg1 *big.Int, arg2 *big.Int) ([32]byte, error)

ProposalBranches is a free data retrieval call binding the contract method 0xb4801e61.

Solidity: function proposalBranches(address , uint256 , uint256 ) view returns(bytes32)

func (*PreimageOracleCaller) ProposalCount

func (_PreimageOracle *PreimageOracleCaller) ProposalCount(opts *bind.CallOpts) (*big.Int, error)

ProposalCount is a free data retrieval call binding the contract method 0xda35c664.

Solidity: function proposalCount() view returns(uint256 count_)

func (*PreimageOracleCaller) ProposalMetadata

func (_PreimageOracle *PreimageOracleCaller) ProposalMetadata(opts *bind.CallOpts, arg0 common.Address, arg1 *big.Int) ([32]byte, error)

ProposalMetadata is a free data retrieval call binding the contract method 0x6551927b.

Solidity: function proposalMetadata(address , uint256 ) view returns(bytes32)

func (*PreimageOracleCaller) ProposalParts

func (_PreimageOracle *PreimageOracleCaller) ProposalParts(opts *bind.CallOpts, arg0 common.Address, arg1 *big.Int) ([32]byte, error)

ProposalParts is a free data retrieval call binding the contract method 0xb2e67ba8.

Solidity: function proposalParts(address , uint256 ) view returns(bytes32)

func (*PreimageOracleCaller) Proposals

func (_PreimageOracle *PreimageOracleCaller) Proposals(opts *bind.CallOpts, arg0 *big.Int) (struct {
	Claimant common.Address
	Uuid     *big.Int
}, error)

Proposals is a free data retrieval call binding the contract method 0x013cf08b.

Solidity: function proposals(uint256 ) view returns(address claimant, uint256 uuid)

func (*PreimageOracleCaller) ReadPreimage

func (_PreimageOracle *PreimageOracleCaller) ReadPreimage(opts *bind.CallOpts, _key [32]byte, _offset *big.Int) (struct {
	Dat    [32]byte
	DatLen *big.Int
}, error)

ReadPreimage is a free data retrieval call binding the contract method 0xe03110e1.

Solidity: function readPreimage(bytes32 _key, uint256 _offset) view returns(bytes32 dat_, uint256 datLen_)

func (*PreimageOracleCaller) Version

func (_PreimageOracle *PreimageOracleCaller) Version(opts *bind.CallOpts) (string, error)

Version is a free data retrieval call binding the contract method 0x54fd4d50.

Solidity: function version() view returns(string)

func (*PreimageOracleCaller) ZeroHashes

func (_PreimageOracle *PreimageOracleCaller) ZeroHashes(opts *bind.CallOpts, arg0 *big.Int) ([32]byte, error)

ZeroHashes is a free data retrieval call binding the contract method 0x7ac54767.

Solidity: function zeroHashes(uint256 ) view returns(bytes32)

type PreimageOracleCallerRaw

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

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

func (*PreimageOracleCallerRaw) Call

func (_PreimageOracle *PreimageOracleCallerRaw) 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 PreimageOracleCallerSession

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

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

func (*PreimageOracleCallerSession) ChallengePeriod

func (_PreimageOracle *PreimageOracleCallerSession) ChallengePeriod() (*big.Int, error)

ChallengePeriod is a free data retrieval call binding the contract method 0xf3f480d9.

Solidity: function challengePeriod() view returns(uint256 challengePeriod_)

func (*PreimageOracleCallerSession) GetTreeRootLPP

func (_PreimageOracle *PreimageOracleCallerSession) GetTreeRootLPP(_owner common.Address, _uuid *big.Int) ([32]byte, error)

GetTreeRootLPP is a free data retrieval call binding the contract method 0x0359a563.

Solidity: function getTreeRootLPP(address _owner, uint256 _uuid) view returns(bytes32 treeRoot_)

func (*PreimageOracleCallerSession) KECCAKTREEDEPTH

func (_PreimageOracle *PreimageOracleCallerSession) KECCAKTREEDEPTH() (*big.Int, error)

KECCAKTREEDEPTH is a free data retrieval call binding the contract method 0x2055b36b.

Solidity: function KECCAK_TREE_DEPTH() view returns(uint256)

func (*PreimageOracleCallerSession) MAXLEAFCOUNT

func (_PreimageOracle *PreimageOracleCallerSession) MAXLEAFCOUNT() (*big.Int, error)

MAXLEAFCOUNT is a free data retrieval call binding the contract method 0x4d52b4c9.

Solidity: function MAX_LEAF_COUNT() view returns(uint256)

func (*PreimageOracleCallerSession) MINBONDSIZE

func (_PreimageOracle *PreimageOracleCallerSession) MINBONDSIZE() (*big.Int, error)

MINBONDSIZE is a free data retrieval call binding the contract method 0x7051472e.

Solidity: function MIN_BOND_SIZE() view returns(uint256)

func (*PreimageOracleCallerSession) MinProposalSize

func (_PreimageOracle *PreimageOracleCallerSession) MinProposalSize() (*big.Int, error)

MinProposalSize is a free data retrieval call binding the contract method 0xdd24f9bf.

Solidity: function minProposalSize() view returns(uint256 minProposalSize_)

func (*PreimageOracleCallerSession) PreimageLengths

func (_PreimageOracle *PreimageOracleCallerSession) PreimageLengths(arg0 [32]byte) (*big.Int, error)

PreimageLengths is a free data retrieval call binding the contract method 0xfef2b4ed.

Solidity: function preimageLengths(bytes32 ) view returns(uint256)

func (*PreimageOracleCallerSession) PreimagePartOk

func (_PreimageOracle *PreimageOracleCallerSession) PreimagePartOk(arg0 [32]byte, arg1 *big.Int) (bool, error)

PreimagePartOk is a free data retrieval call binding the contract method 0x8542cf50.

Solidity: function preimagePartOk(bytes32 , uint256 ) view returns(bool)

func (*PreimageOracleCallerSession) PreimageParts

func (_PreimageOracle *PreimageOracleCallerSession) PreimageParts(arg0 [32]byte, arg1 *big.Int) ([32]byte, error)

PreimageParts is a free data retrieval call binding the contract method 0x61238bde.

Solidity: function preimageParts(bytes32 , uint256 ) view returns(bytes32)

func (*PreimageOracleCallerSession) ProposalBlocks

func (_PreimageOracle *PreimageOracleCallerSession) ProposalBlocks(arg0 common.Address, arg1 *big.Int, arg2 *big.Int) (uint64, error)

ProposalBlocks is a free data retrieval call binding the contract method 0x882856ef.

Solidity: function proposalBlocks(address , uint256 , uint256 ) view returns(uint64)

func (*PreimageOracleCallerSession) ProposalBlocksLen

func (_PreimageOracle *PreimageOracleCallerSession) ProposalBlocksLen(_claimant common.Address, _uuid *big.Int) (*big.Int, error)

ProposalBlocksLen is a free data retrieval call binding the contract method 0x9d53a648.

Solidity: function proposalBlocksLen(address _claimant, uint256 _uuid) view returns(uint256 len_)

func (*PreimageOracleCallerSession) ProposalBonds

func (_PreimageOracle *PreimageOracleCallerSession) ProposalBonds(arg0 common.Address, arg1 *big.Int) (*big.Int, error)

ProposalBonds is a free data retrieval call binding the contract method 0xddcd58de.

Solidity: function proposalBonds(address , uint256 ) view returns(uint256)

func (*PreimageOracleCallerSession) ProposalBranches

func (_PreimageOracle *PreimageOracleCallerSession) ProposalBranches(arg0 common.Address, arg1 *big.Int, arg2 *big.Int) ([32]byte, error)

ProposalBranches is a free data retrieval call binding the contract method 0xb4801e61.

Solidity: function proposalBranches(address , uint256 , uint256 ) view returns(bytes32)

func (*PreimageOracleCallerSession) ProposalCount

func (_PreimageOracle *PreimageOracleCallerSession) ProposalCount() (*big.Int, error)

ProposalCount is a free data retrieval call binding the contract method 0xda35c664.

Solidity: function proposalCount() view returns(uint256 count_)

func (*PreimageOracleCallerSession) ProposalMetadata

func (_PreimageOracle *PreimageOracleCallerSession) ProposalMetadata(arg0 common.Address, arg1 *big.Int) ([32]byte, error)

ProposalMetadata is a free data retrieval call binding the contract method 0x6551927b.

Solidity: function proposalMetadata(address , uint256 ) view returns(bytes32)

func (*PreimageOracleCallerSession) ProposalParts

func (_PreimageOracle *PreimageOracleCallerSession) ProposalParts(arg0 common.Address, arg1 *big.Int) ([32]byte, error)

ProposalParts is a free data retrieval call binding the contract method 0xb2e67ba8.

Solidity: function proposalParts(address , uint256 ) view returns(bytes32)

func (*PreimageOracleCallerSession) Proposals

func (_PreimageOracle *PreimageOracleCallerSession) Proposals(arg0 *big.Int) (struct {
	Claimant common.Address
	Uuid     *big.Int
}, error)

Proposals is a free data retrieval call binding the contract method 0x013cf08b.

Solidity: function proposals(uint256 ) view returns(address claimant, uint256 uuid)

func (*PreimageOracleCallerSession) ReadPreimage

func (_PreimageOracle *PreimageOracleCallerSession) ReadPreimage(_key [32]byte, _offset *big.Int) (struct {
	Dat    [32]byte
	DatLen *big.Int
}, error)

ReadPreimage is a free data retrieval call binding the contract method 0xe03110e1.

Solidity: function readPreimage(bytes32 _key, uint256 _offset) view returns(bytes32 dat_, uint256 datLen_)

func (*PreimageOracleCallerSession) Version

func (_PreimageOracle *PreimageOracleCallerSession) Version() (string, error)

Version is a free data retrieval call binding the contract method 0x54fd4d50.

Solidity: function version() view returns(string)

func (*PreimageOracleCallerSession) ZeroHashes

func (_PreimageOracle *PreimageOracleCallerSession) ZeroHashes(arg0 *big.Int) ([32]byte, error)

ZeroHashes is a free data retrieval call binding the contract method 0x7ac54767.

Solidity: function zeroHashes(uint256 ) view returns(bytes32)

type PreimageOracleFilterer

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

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

func NewPreimageOracleFilterer

func NewPreimageOracleFilterer(address common.Address, filterer bind.ContractFilterer) (*PreimageOracleFilterer, error)

NewPreimageOracleFilterer creates a new log filterer instance of PreimageOracle, bound to a specific deployed contract.

type PreimageOracleLeaf

type PreimageOracleLeaf struct {
	Input           []byte
	Index           *big.Int
	StateCommitment [32]byte
}

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

type PreimageOracleRaw

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

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

func (*PreimageOracleRaw) Call

func (_PreimageOracle *PreimageOracleRaw) 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 (*PreimageOracleRaw) Transact

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

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

func (*PreimageOracleRaw) Transfer

func (_PreimageOracle *PreimageOracleRaw) 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 PreimageOracleSession

type PreimageOracleSession struct {
	Contract     *PreimageOracle   // 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
}

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

func (*PreimageOracleSession) AddLeavesLPP

func (_PreimageOracle *PreimageOracleSession) AddLeavesLPP(_uuid *big.Int, _inputStartBlock *big.Int, _input []byte, _stateCommitments [][32]byte, _finalize bool) (*types.Transaction, error)

AddLeavesLPP is a paid mutator transaction binding the contract method 0x7917de1d.

Solidity: function addLeavesLPP(uint256 _uuid, uint256 _inputStartBlock, bytes _input, bytes32[] _stateCommitments, bool _finalize) returns()

func (*PreimageOracleSession) ChallengeFirstLPP

func (_PreimageOracle *PreimageOracleSession) ChallengeFirstLPP(_claimant common.Address, _uuid *big.Int, _postState PreimageOracleLeaf, _postStateProof [][32]byte) (*types.Transaction, error)

ChallengeFirstLPP is a paid mutator transaction binding the contract method 0xec5efcbc.

Solidity: function challengeFirstLPP(address _claimant, uint256 _uuid, (bytes,uint256,bytes32) _postState, bytes32[] _postStateProof) returns()

func (*PreimageOracleSession) ChallengeLPP

func (_PreimageOracle *PreimageOracleSession) ChallengeLPP(_claimant common.Address, _uuid *big.Int, _stateMatrix LibKeccakStateMatrix, _preState PreimageOracleLeaf, _preStateProof [][32]byte, _postState PreimageOracleLeaf, _postStateProof [][32]byte) (*types.Transaction, error)

ChallengeLPP is a paid mutator transaction binding the contract method 0x3909af5c.

Solidity: function challengeLPP(address _claimant, uint256 _uuid, (uint64[25]) _stateMatrix, (bytes,uint256,bytes32) _preState, bytes32[] _preStateProof, (bytes,uint256,bytes32) _postState, bytes32[] _postStateProof) returns()

func (*PreimageOracleSession) ChallengePeriod

func (_PreimageOracle *PreimageOracleSession) ChallengePeriod() (*big.Int, error)

ChallengePeriod is a free data retrieval call binding the contract method 0xf3f480d9.

Solidity: function challengePeriod() view returns(uint256 challengePeriod_)

func (*PreimageOracleSession) GetTreeRootLPP

func (_PreimageOracle *PreimageOracleSession) GetTreeRootLPP(_owner common.Address, _uuid *big.Int) ([32]byte, error)

GetTreeRootLPP is a free data retrieval call binding the contract method 0x0359a563.

Solidity: function getTreeRootLPP(address _owner, uint256 _uuid) view returns(bytes32 treeRoot_)

func (*PreimageOracleSession) InitLPP

func (_PreimageOracle *PreimageOracleSession) InitLPP(_uuid *big.Int, _partOffset uint32, _claimedSize uint32) (*types.Transaction, error)

InitLPP is a paid mutator transaction binding the contract method 0xfaf37bc7.

Solidity: function initLPP(uint256 _uuid, uint32 _partOffset, uint32 _claimedSize) payable returns()

func (*PreimageOracleSession) KECCAKTREEDEPTH

func (_PreimageOracle *PreimageOracleSession) KECCAKTREEDEPTH() (*big.Int, error)

KECCAKTREEDEPTH is a free data retrieval call binding the contract method 0x2055b36b.

Solidity: function KECCAK_TREE_DEPTH() view returns(uint256)

func (*PreimageOracleSession) LoadBlobPreimagePart

func (_PreimageOracle *PreimageOracleSession) LoadBlobPreimagePart(_z *big.Int, _y *big.Int, _commitment []byte, _proof []byte, _partOffset *big.Int) (*types.Transaction, error)

LoadBlobPreimagePart is a paid mutator transaction binding the contract method 0x9d7e8769.

Solidity: function loadBlobPreimagePart(uint256 _z, uint256 _y, bytes _commitment, bytes _proof, uint256 _partOffset) returns()

func (*PreimageOracleSession) LoadKeccak256PreimagePart

func (_PreimageOracle *PreimageOracleSession) LoadKeccak256PreimagePart(_partOffset *big.Int, _preimage []byte) (*types.Transaction, error)

LoadKeccak256PreimagePart is a paid mutator transaction binding the contract method 0xe1592611.

Solidity: function loadKeccak256PreimagePart(uint256 _partOffset, bytes _preimage) returns()

func (*PreimageOracleSession) LoadLocalData

func (_PreimageOracle *PreimageOracleSession) LoadLocalData(_ident *big.Int, _localContext [32]byte, _word [32]byte, _size *big.Int, _partOffset *big.Int) (*types.Transaction, error)

LoadLocalData is a paid mutator transaction binding the contract method 0x52f0f3ad.

Solidity: function loadLocalData(uint256 _ident, bytes32 _localContext, bytes32 _word, uint256 _size, uint256 _partOffset) returns(bytes32 key_)

func (*PreimageOracleSession) LoadPrecompilePreimagePart

func (_PreimageOracle *PreimageOracleSession) LoadPrecompilePreimagePart(_partOffset *big.Int, _precompile common.Address, _input []byte) (*types.Transaction, error)

LoadPrecompilePreimagePart is a paid mutator transaction binding the contract method 0x04697c78.

Solidity: function loadPrecompilePreimagePart(uint256 _partOffset, address _precompile, bytes _input) returns()

func (*PreimageOracleSession) LoadSha256PreimagePart

func (_PreimageOracle *PreimageOracleSession) LoadSha256PreimagePart(_partOffset *big.Int, _preimage []byte) (*types.Transaction, error)

LoadSha256PreimagePart is a paid mutator transaction binding the contract method 0x8dc4be11.

Solidity: function loadSha256PreimagePart(uint256 _partOffset, bytes _preimage) returns()

func (*PreimageOracleSession) MAXLEAFCOUNT

func (_PreimageOracle *PreimageOracleSession) MAXLEAFCOUNT() (*big.Int, error)

MAXLEAFCOUNT is a free data retrieval call binding the contract method 0x4d52b4c9.

Solidity: function MAX_LEAF_COUNT() view returns(uint256)

func (*PreimageOracleSession) MINBONDSIZE

func (_PreimageOracle *PreimageOracleSession) MINBONDSIZE() (*big.Int, error)

MINBONDSIZE is a free data retrieval call binding the contract method 0x7051472e.

Solidity: function MIN_BOND_SIZE() view returns(uint256)

func (*PreimageOracleSession) MinProposalSize

func (_PreimageOracle *PreimageOracleSession) MinProposalSize() (*big.Int, error)

MinProposalSize is a free data retrieval call binding the contract method 0xdd24f9bf.

Solidity: function minProposalSize() view returns(uint256 minProposalSize_)

func (*PreimageOracleSession) PreimageLengths

func (_PreimageOracle *PreimageOracleSession) PreimageLengths(arg0 [32]byte) (*big.Int, error)

PreimageLengths is a free data retrieval call binding the contract method 0xfef2b4ed.

Solidity: function preimageLengths(bytes32 ) view returns(uint256)

func (*PreimageOracleSession) PreimagePartOk

func (_PreimageOracle *PreimageOracleSession) PreimagePartOk(arg0 [32]byte, arg1 *big.Int) (bool, error)

PreimagePartOk is a free data retrieval call binding the contract method 0x8542cf50.

Solidity: function preimagePartOk(bytes32 , uint256 ) view returns(bool)

func (*PreimageOracleSession) PreimageParts

func (_PreimageOracle *PreimageOracleSession) PreimageParts(arg0 [32]byte, arg1 *big.Int) ([32]byte, error)

PreimageParts is a free data retrieval call binding the contract method 0x61238bde.

Solidity: function preimageParts(bytes32 , uint256 ) view returns(bytes32)

func (*PreimageOracleSession) ProposalBlocks

func (_PreimageOracle *PreimageOracleSession) ProposalBlocks(arg0 common.Address, arg1 *big.Int, arg2 *big.Int) (uint64, error)

ProposalBlocks is a free data retrieval call binding the contract method 0x882856ef.

Solidity: function proposalBlocks(address , uint256 , uint256 ) view returns(uint64)

func (*PreimageOracleSession) ProposalBlocksLen

func (_PreimageOracle *PreimageOracleSession) ProposalBlocksLen(_claimant common.Address, _uuid *big.Int) (*big.Int, error)

ProposalBlocksLen is a free data retrieval call binding the contract method 0x9d53a648.

Solidity: function proposalBlocksLen(address _claimant, uint256 _uuid) view returns(uint256 len_)

func (*PreimageOracleSession) ProposalBonds

func (_PreimageOracle *PreimageOracleSession) ProposalBonds(arg0 common.Address, arg1 *big.Int) (*big.Int, error)

ProposalBonds is a free data retrieval call binding the contract method 0xddcd58de.

Solidity: function proposalBonds(address , uint256 ) view returns(uint256)

func (*PreimageOracleSession) ProposalBranches

func (_PreimageOracle *PreimageOracleSession) ProposalBranches(arg0 common.Address, arg1 *big.Int, arg2 *big.Int) ([32]byte, error)

ProposalBranches is a free data retrieval call binding the contract method 0xb4801e61.

Solidity: function proposalBranches(address , uint256 , uint256 ) view returns(bytes32)

func (*PreimageOracleSession) ProposalCount

func (_PreimageOracle *PreimageOracleSession) ProposalCount() (*big.Int, error)

ProposalCount is a free data retrieval call binding the contract method 0xda35c664.

Solidity: function proposalCount() view returns(uint256 count_)

func (*PreimageOracleSession) ProposalMetadata

func (_PreimageOracle *PreimageOracleSession) ProposalMetadata(arg0 common.Address, arg1 *big.Int) ([32]byte, error)

ProposalMetadata is a free data retrieval call binding the contract method 0x6551927b.

Solidity: function proposalMetadata(address , uint256 ) view returns(bytes32)

func (*PreimageOracleSession) ProposalParts

func (_PreimageOracle *PreimageOracleSession) ProposalParts(arg0 common.Address, arg1 *big.Int) ([32]byte, error)

ProposalParts is a free data retrieval call binding the contract method 0xb2e67ba8.

Solidity: function proposalParts(address , uint256 ) view returns(bytes32)

func (*PreimageOracleSession) Proposals

func (_PreimageOracle *PreimageOracleSession) Proposals(arg0 *big.Int) (struct {
	Claimant common.Address
	Uuid     *big.Int
}, error)

Proposals is a free data retrieval call binding the contract method 0x013cf08b.

Solidity: function proposals(uint256 ) view returns(address claimant, uint256 uuid)

func (*PreimageOracleSession) ReadPreimage

func (_PreimageOracle *PreimageOracleSession) ReadPreimage(_key [32]byte, _offset *big.Int) (struct {
	Dat    [32]byte
	DatLen *big.Int
}, error)

ReadPreimage is a free data retrieval call binding the contract method 0xe03110e1.

Solidity: function readPreimage(bytes32 _key, uint256 _offset) view returns(bytes32 dat_, uint256 datLen_)

func (*PreimageOracleSession) SqueezeLPP

func (_PreimageOracle *PreimageOracleSession) SqueezeLPP(_claimant common.Address, _uuid *big.Int, _stateMatrix LibKeccakStateMatrix, _preState PreimageOracleLeaf, _preStateProof [][32]byte, _postState PreimageOracleLeaf, _postStateProof [][32]byte) (*types.Transaction, error)

SqueezeLPP is a paid mutator transaction binding the contract method 0xd18534b5.

Solidity: function squeezeLPP(address _claimant, uint256 _uuid, (uint64[25]) _stateMatrix, (bytes,uint256,bytes32) _preState, bytes32[] _preStateProof, (bytes,uint256,bytes32) _postState, bytes32[] _postStateProof) returns()

func (*PreimageOracleSession) Version

func (_PreimageOracle *PreimageOracleSession) Version() (string, error)

Version is a free data retrieval call binding the contract method 0x54fd4d50.

Solidity: function version() view returns(string)

func (*PreimageOracleSession) ZeroHashes

func (_PreimageOracle *PreimageOracleSession) ZeroHashes(arg0 *big.Int) ([32]byte, error)

ZeroHashes is a free data retrieval call binding the contract method 0x7ac54767.

Solidity: function zeroHashes(uint256 ) view returns(bytes32)

type PreimageOracleTransactor

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

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

func NewPreimageOracleTransactor

func NewPreimageOracleTransactor(address common.Address, transactor bind.ContractTransactor) (*PreimageOracleTransactor, error)

NewPreimageOracleTransactor creates a new write-only instance of PreimageOracle, bound to a specific deployed contract.

func (*PreimageOracleTransactor) AddLeavesLPP

func (_PreimageOracle *PreimageOracleTransactor) AddLeavesLPP(opts *bind.TransactOpts, _uuid *big.Int, _inputStartBlock *big.Int, _input []byte, _stateCommitments [][32]byte, _finalize bool) (*types.Transaction, error)

AddLeavesLPP is a paid mutator transaction binding the contract method 0x7917de1d.

Solidity: function addLeavesLPP(uint256 _uuid, uint256 _inputStartBlock, bytes _input, bytes32[] _stateCommitments, bool _finalize) returns()

func (*PreimageOracleTransactor) ChallengeFirstLPP

func (_PreimageOracle *PreimageOracleTransactor) ChallengeFirstLPP(opts *bind.TransactOpts, _claimant common.Address, _uuid *big.Int, _postState PreimageOracleLeaf, _postStateProof [][32]byte) (*types.Transaction, error)

ChallengeFirstLPP is a paid mutator transaction binding the contract method 0xec5efcbc.

Solidity: function challengeFirstLPP(address _claimant, uint256 _uuid, (bytes,uint256,bytes32) _postState, bytes32[] _postStateProof) returns()

func (*PreimageOracleTransactor) ChallengeLPP

func (_PreimageOracle *PreimageOracleTransactor) ChallengeLPP(opts *bind.TransactOpts, _claimant common.Address, _uuid *big.Int, _stateMatrix LibKeccakStateMatrix, _preState PreimageOracleLeaf, _preStateProof [][32]byte, _postState PreimageOracleLeaf, _postStateProof [][32]byte) (*types.Transaction, error)

ChallengeLPP is a paid mutator transaction binding the contract method 0x3909af5c.

Solidity: function challengeLPP(address _claimant, uint256 _uuid, (uint64[25]) _stateMatrix, (bytes,uint256,bytes32) _preState, bytes32[] _preStateProof, (bytes,uint256,bytes32) _postState, bytes32[] _postStateProof) returns()

func (*PreimageOracleTransactor) InitLPP

func (_PreimageOracle *PreimageOracleTransactor) InitLPP(opts *bind.TransactOpts, _uuid *big.Int, _partOffset uint32, _claimedSize uint32) (*types.Transaction, error)

InitLPP is a paid mutator transaction binding the contract method 0xfaf37bc7.

Solidity: function initLPP(uint256 _uuid, uint32 _partOffset, uint32 _claimedSize) payable returns()

func (*PreimageOracleTransactor) LoadBlobPreimagePart

func (_PreimageOracle *PreimageOracleTransactor) LoadBlobPreimagePart(opts *bind.TransactOpts, _z *big.Int, _y *big.Int, _commitment []byte, _proof []byte, _partOffset *big.Int) (*types.Transaction, error)

LoadBlobPreimagePart is a paid mutator transaction binding the contract method 0x9d7e8769.

Solidity: function loadBlobPreimagePart(uint256 _z, uint256 _y, bytes _commitment, bytes _proof, uint256 _partOffset) returns()

func (*PreimageOracleTransactor) LoadKeccak256PreimagePart

func (_PreimageOracle *PreimageOracleTransactor) LoadKeccak256PreimagePart(opts *bind.TransactOpts, _partOffset *big.Int, _preimage []byte) (*types.Transaction, error)

LoadKeccak256PreimagePart is a paid mutator transaction binding the contract method 0xe1592611.

Solidity: function loadKeccak256PreimagePart(uint256 _partOffset, bytes _preimage) returns()

func (*PreimageOracleTransactor) LoadLocalData

func (_PreimageOracle *PreimageOracleTransactor) LoadLocalData(opts *bind.TransactOpts, _ident *big.Int, _localContext [32]byte, _word [32]byte, _size *big.Int, _partOffset *big.Int) (*types.Transaction, error)

LoadLocalData is a paid mutator transaction binding the contract method 0x52f0f3ad.

Solidity: function loadLocalData(uint256 _ident, bytes32 _localContext, bytes32 _word, uint256 _size, uint256 _partOffset) returns(bytes32 key_)

func (*PreimageOracleTransactor) LoadPrecompilePreimagePart

func (_PreimageOracle *PreimageOracleTransactor) LoadPrecompilePreimagePart(opts *bind.TransactOpts, _partOffset *big.Int, _precompile common.Address, _input []byte) (*types.Transaction, error)

LoadPrecompilePreimagePart is a paid mutator transaction binding the contract method 0x04697c78.

Solidity: function loadPrecompilePreimagePart(uint256 _partOffset, address _precompile, bytes _input) returns()

func (*PreimageOracleTransactor) LoadSha256PreimagePart

func (_PreimageOracle *PreimageOracleTransactor) LoadSha256PreimagePart(opts *bind.TransactOpts, _partOffset *big.Int, _preimage []byte) (*types.Transaction, error)

LoadSha256PreimagePart is a paid mutator transaction binding the contract method 0x8dc4be11.

Solidity: function loadSha256PreimagePart(uint256 _partOffset, bytes _preimage) returns()

func (*PreimageOracleTransactor) SqueezeLPP

func (_PreimageOracle *PreimageOracleTransactor) SqueezeLPP(opts *bind.TransactOpts, _claimant common.Address, _uuid *big.Int, _stateMatrix LibKeccakStateMatrix, _preState PreimageOracleLeaf, _preStateProof [][32]byte, _postState PreimageOracleLeaf, _postStateProof [][32]byte) (*types.Transaction, error)

SqueezeLPP is a paid mutator transaction binding the contract method 0xd18534b5.

Solidity: function squeezeLPP(address _claimant, uint256 _uuid, (uint64[25]) _stateMatrix, (bytes,uint256,bytes32) _preState, bytes32[] _preStateProof, (bytes,uint256,bytes32) _postState, bytes32[] _postStateProof) returns()

type PreimageOracleTransactorRaw

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

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

func (*PreimageOracleTransactorRaw) Transact

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

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

func (*PreimageOracleTransactorRaw) Transfer

func (_PreimageOracle *PreimageOracleTransactorRaw) 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 PreimageOracleTransactorSession

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

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

func (*PreimageOracleTransactorSession) AddLeavesLPP

func (_PreimageOracle *PreimageOracleTransactorSession) AddLeavesLPP(_uuid *big.Int, _inputStartBlock *big.Int, _input []byte, _stateCommitments [][32]byte, _finalize bool) (*types.Transaction, error)

AddLeavesLPP is a paid mutator transaction binding the contract method 0x7917de1d.

Solidity: function addLeavesLPP(uint256 _uuid, uint256 _inputStartBlock, bytes _input, bytes32[] _stateCommitments, bool _finalize) returns()

func (*PreimageOracleTransactorSession) ChallengeFirstLPP

func (_PreimageOracle *PreimageOracleTransactorSession) ChallengeFirstLPP(_claimant common.Address, _uuid *big.Int, _postState PreimageOracleLeaf, _postStateProof [][32]byte) (*types.Transaction, error)

ChallengeFirstLPP is a paid mutator transaction binding the contract method 0xec5efcbc.

Solidity: function challengeFirstLPP(address _claimant, uint256 _uuid, (bytes,uint256,bytes32) _postState, bytes32[] _postStateProof) returns()

func (*PreimageOracleTransactorSession) ChallengeLPP

func (_PreimageOracle *PreimageOracleTransactorSession) ChallengeLPP(_claimant common.Address, _uuid *big.Int, _stateMatrix LibKeccakStateMatrix, _preState PreimageOracleLeaf, _preStateProof [][32]byte, _postState PreimageOracleLeaf, _postStateProof [][32]byte) (*types.Transaction, error)

ChallengeLPP is a paid mutator transaction binding the contract method 0x3909af5c.

Solidity: function challengeLPP(address _claimant, uint256 _uuid, (uint64[25]) _stateMatrix, (bytes,uint256,bytes32) _preState, bytes32[] _preStateProof, (bytes,uint256,bytes32) _postState, bytes32[] _postStateProof) returns()

func (*PreimageOracleTransactorSession) InitLPP

func (_PreimageOracle *PreimageOracleTransactorSession) InitLPP(_uuid *big.Int, _partOffset uint32, _claimedSize uint32) (*types.Transaction, error)

InitLPP is a paid mutator transaction binding the contract method 0xfaf37bc7.

Solidity: function initLPP(uint256 _uuid, uint32 _partOffset, uint32 _claimedSize) payable returns()

func (*PreimageOracleTransactorSession) LoadBlobPreimagePart

func (_PreimageOracle *PreimageOracleTransactorSession) LoadBlobPreimagePart(_z *big.Int, _y *big.Int, _commitment []byte, _proof []byte, _partOffset *big.Int) (*types.Transaction, error)

LoadBlobPreimagePart is a paid mutator transaction binding the contract method 0x9d7e8769.

Solidity: function loadBlobPreimagePart(uint256 _z, uint256 _y, bytes _commitment, bytes _proof, uint256 _partOffset) returns()

func (*PreimageOracleTransactorSession) LoadKeccak256PreimagePart

func (_PreimageOracle *PreimageOracleTransactorSession) LoadKeccak256PreimagePart(_partOffset *big.Int, _preimage []byte) (*types.Transaction, error)

LoadKeccak256PreimagePart is a paid mutator transaction binding the contract method 0xe1592611.

Solidity: function loadKeccak256PreimagePart(uint256 _partOffset, bytes _preimage) returns()

func (*PreimageOracleTransactorSession) LoadLocalData

func (_PreimageOracle *PreimageOracleTransactorSession) LoadLocalData(_ident *big.Int, _localContext [32]byte, _word [32]byte, _size *big.Int, _partOffset *big.Int) (*types.Transaction, error)

LoadLocalData is a paid mutator transaction binding the contract method 0x52f0f3ad.

Solidity: function loadLocalData(uint256 _ident, bytes32 _localContext, bytes32 _word, uint256 _size, uint256 _partOffset) returns(bytes32 key_)

func (*PreimageOracleTransactorSession) LoadPrecompilePreimagePart

func (_PreimageOracle *PreimageOracleTransactorSession) LoadPrecompilePreimagePart(_partOffset *big.Int, _precompile common.Address, _input []byte) (*types.Transaction, error)

LoadPrecompilePreimagePart is a paid mutator transaction binding the contract method 0x04697c78.

Solidity: function loadPrecompilePreimagePart(uint256 _partOffset, address _precompile, bytes _input) returns()

func (*PreimageOracleTransactorSession) LoadSha256PreimagePart

func (_PreimageOracle *PreimageOracleTransactorSession) LoadSha256PreimagePart(_partOffset *big.Int, _preimage []byte) (*types.Transaction, error)

LoadSha256PreimagePart is a paid mutator transaction binding the contract method 0x8dc4be11.

Solidity: function loadSha256PreimagePart(uint256 _partOffset, bytes _preimage) returns()

func (*PreimageOracleTransactorSession) SqueezeLPP

func (_PreimageOracle *PreimageOracleTransactorSession) SqueezeLPP(_claimant common.Address, _uuid *big.Int, _stateMatrix LibKeccakStateMatrix, _preState PreimageOracleLeaf, _preStateProof [][32]byte, _postState PreimageOracleLeaf, _postStateProof [][32]byte) (*types.Transaction, error)

SqueezeLPP is a paid mutator transaction binding the contract method 0xd18534b5.

Solidity: function squeezeLPP(address _claimant, uint256 _uuid, (uint64[25]) _stateMatrix, (bytes,uint256,bytes32) _preState, bytes32[] _preStateProof, (bytes,uint256,bytes32) _postState, bytes32[] _postStateProof) returns()

type RISCV

type RISCV struct {
	RISCVCaller     // Read-only binding to the contract
	RISCVTransactor // Write-only binding to the contract
	RISCVFilterer   // Log filterer for contract events
}

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

func DeployRISCV

func DeployRISCV(auth *bind.TransactOpts, backend bind.ContractBackend, _preimageOracle common.Address) (common.Address, *types.Transaction, *RISCV, error)

DeployRISCV deploys a new Ethereum contract, binding an instance of RISCV to it.

func NewRISCV

func NewRISCV(address common.Address, backend bind.ContractBackend) (*RISCV, error)

NewRISCV creates a new instance of RISCV, bound to a specific deployed contract.

type RISCVCaller

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

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

func NewRISCVCaller

func NewRISCVCaller(address common.Address, caller bind.ContractCaller) (*RISCVCaller, error)

NewRISCVCaller creates a new read-only instance of RISCV, bound to a specific deployed contract.

func (*RISCVCaller) PreimageOracle

func (_RISCV *RISCVCaller) PreimageOracle(opts *bind.CallOpts) (common.Address, error)

PreimageOracle is a free data retrieval call binding the contract method 0x3acc0284.

Solidity: function preimageOracle() view returns(address)

type RISCVCallerRaw

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

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

func (*RISCVCallerRaw) Call

func (_RISCV *RISCVCallerRaw) 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 RISCVCallerSession

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

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

func (*RISCVCallerSession) PreimageOracle

func (_RISCV *RISCVCallerSession) PreimageOracle() (common.Address, error)

PreimageOracle is a free data retrieval call binding the contract method 0x3acc0284.

Solidity: function preimageOracle() view returns(address)

type RISCVFilterer

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

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

func NewRISCVFilterer

func NewRISCVFilterer(address common.Address, filterer bind.ContractFilterer) (*RISCVFilterer, error)

NewRISCVFilterer creates a new log filterer instance of RISCV, bound to a specific deployed contract.

type RISCVRaw

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

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

func (*RISCVRaw) Call

func (_RISCV *RISCVRaw) 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 (*RISCVRaw) Transact

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

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

func (*RISCVRaw) Transfer

func (_RISCV *RISCVRaw) 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 RISCVSession

type RISCVSession struct {
	Contract     *RISCV            // 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
}

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

func (*RISCVSession) PreimageOracle

func (_RISCV *RISCVSession) PreimageOracle() (common.Address, error)

PreimageOracle is a free data retrieval call binding the contract method 0x3acc0284.

Solidity: function preimageOracle() view returns(address)

func (*RISCVSession) Step

func (_RISCV *RISCVSession) Step(stateData []byte, proof []byte, localContext [32]byte) (*types.Transaction, error)

Step is a paid mutator transaction binding the contract method 0xe14ced32.

Solidity: function step(bytes stateData, bytes proof, bytes32 localContext) returns(bytes32)

type RISCVTransactor

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

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

func NewRISCVTransactor

func NewRISCVTransactor(address common.Address, transactor bind.ContractTransactor) (*RISCVTransactor, error)

NewRISCVTransactor creates a new write-only instance of RISCV, bound to a specific deployed contract.

func (*RISCVTransactor) Step

func (_RISCV *RISCVTransactor) Step(opts *bind.TransactOpts, stateData []byte, proof []byte, localContext [32]byte) (*types.Transaction, error)

Step is a paid mutator transaction binding the contract method 0xe14ced32.

Solidity: function step(bytes stateData, bytes proof, bytes32 localContext) returns(bytes32)

type RISCVTransactorRaw

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

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

func (*RISCVTransactorRaw) Transact

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

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

func (*RISCVTransactorRaw) Transfer

func (_RISCV *RISCVTransactorRaw) 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 RISCVTransactorSession

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

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

func (*RISCVTransactorSession) Step

func (_RISCV *RISCVTransactorSession) Step(stateData []byte, proof []byte, localContext [32]byte) (*types.Transaction, error)

Step is a paid mutator transaction binding the contract method 0xe14ced32.

Solidity: function step(bytes stateData, bytes proof, bytes32 localContext) returns(bytes32)

Jump to

Keyboard shortcuts

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