wrappers

package
v1.4.0 Latest Latest
Warning

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

Go to latest
Published: Sep 8, 2023 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var WrappersABI = WrappersMetaData.ABI

WrappersABI is the input ABI used to generate the binding from. Deprecated: Use WrappersMetaData.ABI instead.

View Source
var WrappersBin = WrappersMetaData.Bin

WrappersBin is the compiled bytecode used for deploying new contracts. Deprecated: Use WrappersMetaData.Bin instead.

View Source
var WrappersMetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[{\"internalType\":\"address\",\"name\":\"target\",\"type\":\"address\"}],\"name\":\"AddressEmptyCode\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"AlreadyInitialized\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"implementation\",\"type\":\"address\"}],\"name\":\"ERC1967InvalidImplementation\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"ERC1967NonPayable\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"FailedInnerCall\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InsufficientVotingPower\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidDataRootTupleRootNonce\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidSignature\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidValidatorSetNonce\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"MalformedCurrentValidatorSet\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"NotInitializing\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"}],\"name\":\"OwnableInvalidOwner\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"OwnableUnauthorizedAccount\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"SuppliedValidatorSetInvalid\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"UUPSUnauthorizedCallContext\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"slot\",\"type\":\"bytes32\"}],\"name\":\"UUPSUnsupportedProxiableUUID\",\"type\":\"error\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"nonce\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"dataRootTupleRoot\",\"type\":\"bytes32\"}],\"name\":\"DataRootTupleRootEvent\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint64\",\"name\":\"version\",\"type\":\"uint64\"}],\"name\":\"Initialized\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"previousOwner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"OwnershipTransferred\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"implementation\",\"type\":\"address\"}],\"name\":\"Upgraded\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"nonce\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"powerThreshold\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"validatorSetHash\",\"type\":\"bytes32\"}],\"name\":\"ValidatorSetUpdatedEvent\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"UPGRADE_INTERFACE_VERSION\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_nonce\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_powerThreshold\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"_validatorSetHash\",\"type\":\"bytes32\"}],\"name\":\"initialize\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"proxiableUUID\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"renounceOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"state_dataRootTupleRoots\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"state_eventNonce\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"state_lastValidatorSetCheckpoint\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"state_powerThreshold\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_newNonce\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_validatorSetNonce\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"_dataRootTupleRoot\",\"type\":\"bytes32\"},{\"components\":[{\"internalType\":\"address\",\"name\":\"addr\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"power\",\"type\":\"uint256\"}],\"internalType\":\"structValidator[]\",\"name\":\"_currentValidatorSet\",\"type\":\"tuple[]\"},{\"components\":[{\"internalType\":\"uint8\",\"name\":\"v\",\"type\":\"uint8\"},{\"internalType\":\"bytes32\",\"name\":\"r\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"s\",\"type\":\"bytes32\"}],\"internalType\":\"structSignature[]\",\"name\":\"_sigs\",\"type\":\"tuple[]\"}],\"name\":\"submitDataRootTupleRoot\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"transferOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_newNonce\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_oldNonce\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_newPowerThreshold\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"_newValidatorSetHash\",\"type\":\"bytes32\"},{\"components\":[{\"internalType\":\"address\",\"name\":\"addr\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"power\",\"type\":\"uint256\"}],\"internalType\":\"structValidator[]\",\"name\":\"_currentValidatorSet\",\"type\":\"tuple[]\"},{\"components\":[{\"internalType\":\"uint8\",\"name\":\"v\",\"type\":\"uint8\"},{\"internalType\":\"bytes32\",\"name\":\"r\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"s\",\"type\":\"bytes32\"}],\"internalType\":\"structSignature[]\",\"name\":\"_sigs\",\"type\":\"tuple[]\"}],\"name\":\"updateValidatorSet\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newImplementation\",\"type\":\"address\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"upgradeToAndCall\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_tupleRootNonce\",\"type\":\"uint256\"},{\"components\":[{\"internalType\":\"uint256\",\"name\":\"height\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"dataRoot\",\"type\":\"bytes32\"}],\"internalType\":\"structDataRootTuple\",\"name\":\"_tuple\",\"type\":\"tuple\"},{\"components\":[{\"internalType\":\"bytes32[]\",\"name\":\"sideNodes\",\"type\":\"bytes32[]\"},{\"internalType\":\"uint256\",\"name\":\"key\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"numLeaves\",\"type\":\"uint256\"}],\"internalType\":\"structBinaryMerkleProof\",\"name\":\"_proof\",\"type\":\"tuple\"}],\"name\":\"verifyAttestation\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"}]",
	Bin: "0x60a0806040523461002a573060805261169a9081610030823960805181818161041501526104f30152f35b600080fdfe6080604081815260048036101561001557600080fd5b600092833560e01c90816305d85c13146109a0575080631f3302a91461085c578063226fe7be146106de5780634f1ef2861461047957806352d1902d146104005780635433218c146103e1578063715018a614610384578063817f985b1461035d5780638da5cb5b14610334578063ad3cb1cc146102af578063cdade86614610290578063e23eb32614610138578063e5a2b5d2146101155763f2fde38b146100bd57600080fd5b34610111576020366003190112610111576100d6610ba0565b916100df610bf4565b6001600160a01b038316156100fb57836100f884610c20565b80f35b51631e4fbdf760e01b8152908101839052602490fd5b8280fd5b5050346101345781600319360112610134576020906097549051908152f35b5080fd5b50346101115760a036600319011261011157803591604435916001600160401b0360643581811161028c576101709036908401610ace565b9091608435908111610288576101899036908501610b03565b9160985494609754956001810180911161027557890361026757838203610259576101c06101b78387610d8a565b87602435610d0d565b6096540361024b575092610233927f6614d037bde4905e31ca5ff05de61964c267f28b0320ed49e59f7d99752e1c4f979592879560209851898101906f0e8e4c2dce6c2c6e8d2dedc84c2e8c6d60831b82528c898201528960608201526060815261022a81610b33565b51902093610e40565b8460985584865260998352818187205551908152a280f35b8651630bbdaec960e11b8152fd5b865163c6617b7b60e01b8152fd5b865163e869766d60e01b8152fd5b634e487b7160e01b8b526011825260248bfd5b8780fd5b8680fd5b5050346101345781600319360112610134576020906098549051908152f35b509134610331578060031936011261033157815190828201908282106001600160401b0383111761031e5750610310935082526005815260208101640352e302e360dc1b815282519384926020845251809281602086015285850190610bd1565b601f01601f19168101030190f35b634e487b7160e01b815260418552602490fd5b80fd5b50503461013457816003193601126101345760645490516001600160a01b039091168152602090f35b50346101115760203660031901126101115760209282913581526099845220549051908152f35b833461033157806003193601126103315761039d610bf4565b606480546001600160a01b0319811690915581906001600160a01b03167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e08280a380f35b5050346101345781600319360112610134576020906096549051908152f35b509134610331578060031936011261033157507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316300361046c57602090517f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc8152f35b5163703e46dd60e11b8152fd5b5090806003193601126101115761048e610ba0565b9060249384356001600160401b038111610134573660238201121561013457808501356104ba81610bb6565b946104c785519687610b7f565b81865260209182870193368a83830101116106da578186928b8693018737880101526001600160a01b037f000000000000000000000000000000000000000000000000000000000000000081163081149081156106ac575b5061069c5761052c610bf4565b81169585516352d1902d60e01b815283818a818b5afa86918161066d575b50610566575050505050505191634c9c8ce360e01b8352820152fd5b9088888894938c7f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc918281036106585750853b15610644575080546001600160a01b031916821790558451889392917fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b8580a28251156106265750506106189582915190845af4913d1561061c573d61060a61060182610bb6565b92519283610b7f565b81528581943d92013e610c69565b5080f35b5060609250610c69565b95509550505050503461063857505080f35b63b398979f60e01b8152fd5b8651634c9c8ce360e01b8152808501849052fd5b8751632a87526960e21b815280860191909152fd5b9091508481813d8311610695575b6106858183610b7f565b8101031261028c5751903861054a565b503d61067b565b855163703e46dd60e11b81528890fd5b9050817f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc541614153861051f565b8580fd5b50346101115760603660031901126101115780359060243591604435927ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a0e93845460ff81881c161594858096610849575b1580610826575b61081957509186917fe55fb3cbbfe29b13c7f8a35ef23127e7df9ab88df16bac166ad254a20f02414c938660016001600160401b031983161789556107fa575b50610782818387610d0d565b8560985560965581609755610795610ccc565b61079d610ccc565b6107a633610c20565b82519182526020820152a26107b9578280f35b805468ff00000000000000001916905551600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d290602090a138808280f35b68ffffffffffffffffff19166801000000000000000117875538610776565b875162dc149f60e41b8152fd5b50303b1580610836575b15610736565b5060016001600160401b03831614610830565b5060016001600160401b0383161061072f565b50919034610134576003199160803684011261033157816023193601126103315781516001600160401b03948184018681118382101761098d57845260248035835260209660443588850152606435968188116106da576060908836030112610989578551946060860191868310818411176109775782885288850135818111610111578901366023820112156101115785810135918211610965578160051b916109098c840186610b7f565b845284608089019282010192368411610331575090848b9201905b83821061095657505050509560449161094d9697865281013588860152013585840152356111ea565b90519015158152f35b81358152908201908201610924565b634e487b7160e01b8352604186528483fd5b634e487b7160e01b8252604185528382fd5b8480fd5b634e487b7160e01b845260418252602484fd5b848385346101115760c03660031901126101115781359160443590606435906001600160401b03608435818111610288576109de9036908401610ace565b92909160a435908111610aca576109f89036908301610b03565b916098549a6097549b60018101809111610ab7578a03610aab5750828503610a9d57610a30610a278686610d8a565b8c602435610d0d565b60965403610a8f57509187989991610a7693610a6e87897fe55fb3cbbfe29b13c7f8a35ef23127e7df9ab88df16bac166ad254a20f02414c9c610d0d565b958693610e40565b609655816097558460985582519182526020820152a280f35b8751630bbdaec960e11b8152fd5b875163c6617b7b60e01b8152fd5b6368a35ffd60e11b8152fd5b634e487b7160e01b8c526011835260248cfd5b8880fd5b9181601f84011215610afe578235916001600160401b038311610afe576020808501948460061b010111610afe57565b600080fd5b9181601f84011215610afe578235916001600160401b038311610afe5760208085019460608502010111610afe57565b608081019081106001600160401b03821117610b4e57604052565b634e487b7160e01b600052604160045260246000fd5b606081019081106001600160401b03821117610b4e57604052565b90601f801991011681019081106001600160401b03821117610b4e57604052565b600435906001600160a01b0382168203610afe57565b6001600160401b038111610b4e57601f01601f191660200190565b60005b838110610be45750506000910152565b8181015183820152602001610bd4565b6064546001600160a01b03163303610c0857565b60405163118cdaa760e01b8152336004820152602490fd5b606480546001600160a01b039283166001600160a01b0319821681179092559091167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0600080a3565b90610c905750805115610c7e57805190602001fd5b604051630a12f52160e11b8152600490fd5b81511580610cc3575b610ca1575090565b604051639996b31560e01b81526001600160a01b039091166004820152602490fd5b50803b15610c99565b60ff7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a0e5460401c1615610cfb57565b604051631afcd79f60e31b8152600490fd5b916040519160208301936918da1958dadc1bda5b9d60b21b85526040840152606083015260808201526080815260a081018181106001600160401b03821117610b4e5760405251902090565b6001019081600111610d6757565b634e487b7160e01b600052601160045260246000fd5b91908201809211610d6757565b60409182518092602092838301958181850186895252606084019294600090815b848310610dd0575050505050610dca925003601f198101835282610b7f565b51902090565b919395509193863560018060a01b038116809103610111578582819260019452858a01358682015201970193019091879593969492610dab565b9190811015610e1a576060020190565b634e487b7160e01b600052603260045260246000fd5b9190811015610e1a5760061b0190565b93919060009485935b828510610e70575b50505050505010610e5e57565b60405163cabeb65560e01b8152600490fd5b9091929394979695610e83868a87610e0a565b60209081810135159081610fa8575b81610f93575b50610f8c57610ea8878686610e30565b6001600160a01b03903581811690819003610afe57610ec8898d8a610e0a565b91610f2f610f276040948551878101907f19457468657265756d205369676e6564204d6573736167653a0a3332000000008252603c8b818301528152610f0d81610b64565b519020610f1982610fb5565b888884013593013591611135565b919091610fc3565b1603610f7c575090610f4e91610f46888787610e30565b013590610d7d565b9486861015610f72575b6000198114610d6757600101939291909794959697610e49565b8596979850610e51565b51638baa579f60e01b8152600490fd5b5094610f58565b60ff9150610fa090610fb5565b161538610e98565b6040810135159150610e92565b3560ff81168103610afe5790565b600581101561111f5780610fd45750565b600181036110215760405162461bcd60e51b815260206004820152601860248201527f45434453413a20696e76616c6964207369676e617475726500000000000000006044820152606490fd5b6002810361106e5760405162461bcd60e51b815260206004820152601f60248201527f45434453413a20696e76616c6964207369676e6174757265206c656e677468006044820152606490fd5b600381036110c65760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c604482015261756560f01b6064820152608490fd5b6004146110cf57565b60405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202776272076616c604482015261756560f01b6064820152608490fd5b634e487b7160e01b600052602160045260246000fd5b9291907f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a083116111de5760ff16601b811415806111d3575b6111c7579160809493916020936040519384528484015260408301526060820152600093849182805260015afa156111ba5781516001600160a01b038116156111b4579190565b50600190565b50604051903d90823e3d90fd5b50505050600090600490565b50601c81141561116d565b50505050600090600390565b91609854831161122e5761122b926000526099602052604060002054602060405193805182860152015160408401526040835261122683610b64565b611276565b90565b505050600090565b90610100918203918211610d6757565b600019810191908211610d6757565b91908203918211610d6757565b8051821015610e1a5760209160051b010190565b604082018051919390929160019081811161154d5750825151611543575b6020830192835185511115611538576020604051936112ef828601866112de60216000998a968786526112cf815180928b8686019101610bd1565b81010389810184520182610b7f565b604051928392839251928391610bd1565b8101039060025afa1561152d578251948151511561151557829081958051925b611410575b5051600019918282019182116113fc57036113af575b8293925b61133c575b50505050501490565b909192939481860186811161139b57835180518210156113935761136a929161136491611262565b51611616565b9484810180911161137f57939291908361132e565b634e487b7160e01b84526011600452602484fd5b505094611333565b634e487b7160e01b85526011600452602485fd5b90919394825151828701908782116113fc578110156113f157906113d76113de928551611262565b5190611616565b9484810180911161137f5793919061132a565b505050509250505090565b634e487b7160e01b86526011600452602486fd5b9091819793949697519387891b94851561150157891c94858a1b958087048214901517156114ed576114429086610d7d565b600019928184019182116114cb5785518210156114df575094865151928a01928a84116114cb578310156114bd5761147b908451611255565b88831b11156114a9576113d7611492928751611262565b965b8681018091116113fc5795939291908461130f565b6113646114b7928751611262565b96611494565b505050505050509250505090565b634e487b7160e01b89526011600452602489fd5b949350509796949350611314565b634e487b7160e01b88526011600452602488fd5b634e487b7160e01b88526012600452602488fd5b51949594929350500361152757501490565b91505090565b6040513d84823e3d90fd5b505050505050600090565b5050505050600090565b61155e84515191602086015161156d565b14611294575050505050600090565b909160005b60018481831b101561159e5781018091111561157257634e487b7160e01b600052601160045260246000fd5b5092919092610100908103908111610d67576115b990611236565b9160016115c584611246565b1b916115d083611246565b81116115dc5750505090565b91925090600183036115f057505050600190565b8261160161160d9461160793611255565b92611255565b9061156d565b61122b90610d59565b6116456000916020936040519085820192600160f81b845260218301526041820152604181526112de81610b33565b8101039060025afa156116585760005190565b6040513d6000823e3d90fdfea2646970667358221220f86c14b33c2bee9acdb4d15b826306074ec0890d82c5c5ce87e842bbdc8dff6f64736f6c63430008140033",
}

WrappersMetaData contains all meta data concerning the Wrappers contract.

Functions

This section is empty.

Types

type BinaryMerkleProof

type BinaryMerkleProof struct {
	SideNodes [][32]byte
	Key       *big.Int
	NumLeaves *big.Int
}

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

type DataRootTuple

type DataRootTuple struct {
	Height   *big.Int
	DataRoot [32]byte
}

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

type Signature

type Signature struct {
	V uint8
	R [32]byte
	S [32]byte
}

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

type Validator

type Validator struct {
	Addr  common.Address
	Power *big.Int
}

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

type Wrappers added in v1.4.0

type Wrappers struct {
	WrappersCaller     // Read-only binding to the contract
	WrappersTransactor // Write-only binding to the contract
	WrappersFilterer   // Log filterer for contract events
}

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

func DeployWrappers added in v1.4.0

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

DeployWrappers deploys a new Ethereum contract, binding an instance of Wrappers to it.

func NewWrappers added in v1.4.0

func NewWrappers(address common.Address, backend bind.ContractBackend) (*Wrappers, error)

NewWrappers creates a new instance of Wrappers, bound to a specific deployed contract.

type WrappersCaller added in v1.4.0

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

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

func NewWrappersCaller added in v1.4.0

func NewWrappersCaller(address common.Address, caller bind.ContractCaller) (*WrappersCaller, error)

NewWrappersCaller creates a new read-only instance of Wrappers, bound to a specific deployed contract.

func (*WrappersCaller) Owner added in v1.4.0

func (_Wrappers *WrappersCaller) Owner(opts *bind.CallOpts) (common.Address, error)

Owner is a free data retrieval call binding the contract method 0x8da5cb5b.

Solidity: function owner() view returns(address)

func (*WrappersCaller) ProxiableUUID added in v1.4.0

func (_Wrappers *WrappersCaller) ProxiableUUID(opts *bind.CallOpts) ([32]byte, error)

ProxiableUUID is a free data retrieval call binding the contract method 0x52d1902d.

Solidity: function proxiableUUID() view returns(bytes32)

func (*WrappersCaller) StateDataRootTupleRoots added in v1.4.0

func (_Wrappers *WrappersCaller) StateDataRootTupleRoots(opts *bind.CallOpts, arg0 *big.Int) ([32]byte, error)

StateDataRootTupleRoots is a free data retrieval call binding the contract method 0x817f985b.

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

func (*WrappersCaller) StateEventNonce added in v1.4.0

func (_Wrappers *WrappersCaller) StateEventNonce(opts *bind.CallOpts) (*big.Int, error)

StateEventNonce is a free data retrieval call binding the contract method 0xcdade866.

Solidity: function state_eventNonce() view returns(uint256)

func (*WrappersCaller) StateLastValidatorSetCheckpoint added in v1.4.0

func (_Wrappers *WrappersCaller) StateLastValidatorSetCheckpoint(opts *bind.CallOpts) ([32]byte, error)

StateLastValidatorSetCheckpoint is a free data retrieval call binding the contract method 0x5433218c.

Solidity: function state_lastValidatorSetCheckpoint() view returns(bytes32)

func (*WrappersCaller) StatePowerThreshold added in v1.4.0

func (_Wrappers *WrappersCaller) StatePowerThreshold(opts *bind.CallOpts) (*big.Int, error)

StatePowerThreshold is a free data retrieval call binding the contract method 0xe5a2b5d2.

Solidity: function state_powerThreshold() view returns(uint256)

func (*WrappersCaller) UPGRADEINTERFACEVERSION added in v1.4.0

func (_Wrappers *WrappersCaller) UPGRADEINTERFACEVERSION(opts *bind.CallOpts) (string, error)

UPGRADEINTERFACEVERSION is a free data retrieval call binding the contract method 0xad3cb1cc.

Solidity: function UPGRADE_INTERFACE_VERSION() view returns(string)

func (*WrappersCaller) VerifyAttestation added in v1.4.0

func (_Wrappers *WrappersCaller) VerifyAttestation(opts *bind.CallOpts, _tupleRootNonce *big.Int, _tuple DataRootTuple, _proof BinaryMerkleProof) (bool, error)

VerifyAttestation is a free data retrieval call binding the contract method 0x1f3302a9.

Solidity: function verifyAttestation(uint256 _tupleRootNonce, (uint256,bytes32) _tuple, (bytes32[],uint256,uint256) _proof) view returns(bool)

type WrappersCallerRaw added in v1.4.0

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

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

func (*WrappersCallerRaw) Call added in v1.4.0

func (_Wrappers *WrappersCallerRaw) 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 WrappersCallerSession added in v1.4.0

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

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

func (*WrappersCallerSession) Owner added in v1.4.0

func (_Wrappers *WrappersCallerSession) Owner() (common.Address, error)

Owner is a free data retrieval call binding the contract method 0x8da5cb5b.

Solidity: function owner() view returns(address)

func (*WrappersCallerSession) ProxiableUUID added in v1.4.0

func (_Wrappers *WrappersCallerSession) ProxiableUUID() ([32]byte, error)

ProxiableUUID is a free data retrieval call binding the contract method 0x52d1902d.

Solidity: function proxiableUUID() view returns(bytes32)

func (*WrappersCallerSession) StateDataRootTupleRoots added in v1.4.0

func (_Wrappers *WrappersCallerSession) StateDataRootTupleRoots(arg0 *big.Int) ([32]byte, error)

StateDataRootTupleRoots is a free data retrieval call binding the contract method 0x817f985b.

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

func (*WrappersCallerSession) StateEventNonce added in v1.4.0

func (_Wrappers *WrappersCallerSession) StateEventNonce() (*big.Int, error)

StateEventNonce is a free data retrieval call binding the contract method 0xcdade866.

Solidity: function state_eventNonce() view returns(uint256)

func (*WrappersCallerSession) StateLastValidatorSetCheckpoint added in v1.4.0

func (_Wrappers *WrappersCallerSession) StateLastValidatorSetCheckpoint() ([32]byte, error)

StateLastValidatorSetCheckpoint is a free data retrieval call binding the contract method 0x5433218c.

Solidity: function state_lastValidatorSetCheckpoint() view returns(bytes32)

func (*WrappersCallerSession) StatePowerThreshold added in v1.4.0

func (_Wrappers *WrappersCallerSession) StatePowerThreshold() (*big.Int, error)

StatePowerThreshold is a free data retrieval call binding the contract method 0xe5a2b5d2.

Solidity: function state_powerThreshold() view returns(uint256)

func (*WrappersCallerSession) UPGRADEINTERFACEVERSION added in v1.4.0

func (_Wrappers *WrappersCallerSession) UPGRADEINTERFACEVERSION() (string, error)

UPGRADEINTERFACEVERSION is a free data retrieval call binding the contract method 0xad3cb1cc.

Solidity: function UPGRADE_INTERFACE_VERSION() view returns(string)

func (*WrappersCallerSession) VerifyAttestation added in v1.4.0

func (_Wrappers *WrappersCallerSession) VerifyAttestation(_tupleRootNonce *big.Int, _tuple DataRootTuple, _proof BinaryMerkleProof) (bool, error)

VerifyAttestation is a free data retrieval call binding the contract method 0x1f3302a9.

Solidity: function verifyAttestation(uint256 _tupleRootNonce, (uint256,bytes32) _tuple, (bytes32[],uint256,uint256) _proof) view returns(bool)

type WrappersDataRootTupleRootEvent added in v1.4.0

type WrappersDataRootTupleRootEvent struct {
	Nonce             *big.Int
	DataRootTupleRoot [32]byte
	Raw               types.Log // Blockchain specific contextual infos
}

WrappersDataRootTupleRootEvent represents a DataRootTupleRootEvent event raised by the Wrappers contract.

type WrappersDataRootTupleRootEventIterator added in v1.4.0

type WrappersDataRootTupleRootEventIterator struct {
	Event *WrappersDataRootTupleRootEvent // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

WrappersDataRootTupleRootEventIterator is returned from FilterDataRootTupleRootEvent and is used to iterate over the raw logs and unpacked data for DataRootTupleRootEvent events raised by the Wrappers contract.

func (*WrappersDataRootTupleRootEventIterator) Close added in v1.4.0

Close terminates the iteration process, releasing any pending underlying resources.

func (*WrappersDataRootTupleRootEventIterator) Error added in v1.4.0

Error returns any retrieval or parsing error occurred during filtering.

func (*WrappersDataRootTupleRootEventIterator) Next added in v1.4.0

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type WrappersFilterer added in v1.4.0

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

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

func NewWrappersFilterer added in v1.4.0

func NewWrappersFilterer(address common.Address, filterer bind.ContractFilterer) (*WrappersFilterer, error)

NewWrappersFilterer creates a new log filterer instance of Wrappers, bound to a specific deployed contract.

func (*WrappersFilterer) FilterDataRootTupleRootEvent added in v1.4.0

func (_Wrappers *WrappersFilterer) FilterDataRootTupleRootEvent(opts *bind.FilterOpts, nonce []*big.Int) (*WrappersDataRootTupleRootEventIterator, error)

FilterDataRootTupleRootEvent is a free log retrieval operation binding the contract event 0x6614d037bde4905e31ca5ff05de61964c267f28b0320ed49e59f7d99752e1c4f.

Solidity: event DataRootTupleRootEvent(uint256 indexed nonce, bytes32 dataRootTupleRoot)

func (*WrappersFilterer) FilterInitialized added in v1.4.0

func (_Wrappers *WrappersFilterer) FilterInitialized(opts *bind.FilterOpts) (*WrappersInitializedIterator, error)

FilterInitialized is a free log retrieval operation binding the contract event 0xc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2.

Solidity: event Initialized(uint64 version)

func (*WrappersFilterer) FilterOwnershipTransferred added in v1.4.0

func (_Wrappers *WrappersFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*WrappersOwnershipTransferredIterator, error)

FilterOwnershipTransferred is a free log retrieval operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.

Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)

func (*WrappersFilterer) FilterUpgraded added in v1.4.0

func (_Wrappers *WrappersFilterer) FilterUpgraded(opts *bind.FilterOpts, implementation []common.Address) (*WrappersUpgradedIterator, error)

FilterUpgraded is a free log retrieval operation binding the contract event 0xbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b.

Solidity: event Upgraded(address indexed implementation)

func (*WrappersFilterer) FilterValidatorSetUpdatedEvent added in v1.4.0

func (_Wrappers *WrappersFilterer) FilterValidatorSetUpdatedEvent(opts *bind.FilterOpts, nonce []*big.Int) (*WrappersValidatorSetUpdatedEventIterator, error)

FilterValidatorSetUpdatedEvent is a free log retrieval operation binding the contract event 0xe55fb3cbbfe29b13c7f8a35ef23127e7df9ab88df16bac166ad254a20f02414c.

Solidity: event ValidatorSetUpdatedEvent(uint256 indexed nonce, uint256 powerThreshold, bytes32 validatorSetHash)

func (*WrappersFilterer) ParseDataRootTupleRootEvent added in v1.4.0

func (_Wrappers *WrappersFilterer) ParseDataRootTupleRootEvent(log types.Log) (*WrappersDataRootTupleRootEvent, error)

ParseDataRootTupleRootEvent is a log parse operation binding the contract event 0x6614d037bde4905e31ca5ff05de61964c267f28b0320ed49e59f7d99752e1c4f.

Solidity: event DataRootTupleRootEvent(uint256 indexed nonce, bytes32 dataRootTupleRoot)

func (*WrappersFilterer) ParseInitialized added in v1.4.0

func (_Wrappers *WrappersFilterer) ParseInitialized(log types.Log) (*WrappersInitialized, error)

ParseInitialized is a log parse operation binding the contract event 0xc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2.

Solidity: event Initialized(uint64 version)

func (*WrappersFilterer) ParseOwnershipTransferred added in v1.4.0

func (_Wrappers *WrappersFilterer) ParseOwnershipTransferred(log types.Log) (*WrappersOwnershipTransferred, error)

ParseOwnershipTransferred is a log parse operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.

Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)

func (*WrappersFilterer) ParseUpgraded added in v1.4.0

func (_Wrappers *WrappersFilterer) ParseUpgraded(log types.Log) (*WrappersUpgraded, error)

ParseUpgraded is a log parse operation binding the contract event 0xbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b.

Solidity: event Upgraded(address indexed implementation)

func (*WrappersFilterer) ParseValidatorSetUpdatedEvent added in v1.4.0

func (_Wrappers *WrappersFilterer) ParseValidatorSetUpdatedEvent(log types.Log) (*WrappersValidatorSetUpdatedEvent, error)

ParseValidatorSetUpdatedEvent is a log parse operation binding the contract event 0xe55fb3cbbfe29b13c7f8a35ef23127e7df9ab88df16bac166ad254a20f02414c.

Solidity: event ValidatorSetUpdatedEvent(uint256 indexed nonce, uint256 powerThreshold, bytes32 validatorSetHash)

func (*WrappersFilterer) WatchDataRootTupleRootEvent added in v1.4.0

func (_Wrappers *WrappersFilterer) WatchDataRootTupleRootEvent(opts *bind.WatchOpts, sink chan<- *WrappersDataRootTupleRootEvent, nonce []*big.Int) (event.Subscription, error)

WatchDataRootTupleRootEvent is a free log subscription operation binding the contract event 0x6614d037bde4905e31ca5ff05de61964c267f28b0320ed49e59f7d99752e1c4f.

Solidity: event DataRootTupleRootEvent(uint256 indexed nonce, bytes32 dataRootTupleRoot)

func (*WrappersFilterer) WatchInitialized added in v1.4.0

func (_Wrappers *WrappersFilterer) WatchInitialized(opts *bind.WatchOpts, sink chan<- *WrappersInitialized) (event.Subscription, error)

WatchInitialized is a free log subscription operation binding the contract event 0xc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2.

Solidity: event Initialized(uint64 version)

func (*WrappersFilterer) WatchOwnershipTransferred added in v1.4.0

func (_Wrappers *WrappersFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *WrappersOwnershipTransferred, previousOwner []common.Address, newOwner []common.Address) (event.Subscription, error)

WatchOwnershipTransferred is a free log subscription operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.

Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)

func (*WrappersFilterer) WatchUpgraded added in v1.4.0

func (_Wrappers *WrappersFilterer) WatchUpgraded(opts *bind.WatchOpts, sink chan<- *WrappersUpgraded, implementation []common.Address) (event.Subscription, error)

WatchUpgraded is a free log subscription operation binding the contract event 0xbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b.

Solidity: event Upgraded(address indexed implementation)

func (*WrappersFilterer) WatchValidatorSetUpdatedEvent added in v1.4.0

func (_Wrappers *WrappersFilterer) WatchValidatorSetUpdatedEvent(opts *bind.WatchOpts, sink chan<- *WrappersValidatorSetUpdatedEvent, nonce []*big.Int) (event.Subscription, error)

WatchValidatorSetUpdatedEvent is a free log subscription operation binding the contract event 0xe55fb3cbbfe29b13c7f8a35ef23127e7df9ab88df16bac166ad254a20f02414c.

Solidity: event ValidatorSetUpdatedEvent(uint256 indexed nonce, uint256 powerThreshold, bytes32 validatorSetHash)

type WrappersInitialized added in v1.4.0

type WrappersInitialized struct {
	Version uint64
	Raw     types.Log // Blockchain specific contextual infos
}

WrappersInitialized represents a Initialized event raised by the Wrappers contract.

type WrappersInitializedIterator added in v1.4.0

type WrappersInitializedIterator struct {
	Event *WrappersInitialized // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

WrappersInitializedIterator is returned from FilterInitialized and is used to iterate over the raw logs and unpacked data for Initialized events raised by the Wrappers contract.

func (*WrappersInitializedIterator) Close added in v1.4.0

func (it *WrappersInitializedIterator) Close() error

Close terminates the iteration process, releasing any pending underlying resources.

func (*WrappersInitializedIterator) Error added in v1.4.0

func (it *WrappersInitializedIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*WrappersInitializedIterator) Next added in v1.4.0

func (it *WrappersInitializedIterator) Next() bool

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type WrappersOwnershipTransferred added in v1.4.0

type WrappersOwnershipTransferred struct {
	PreviousOwner common.Address
	NewOwner      common.Address
	Raw           types.Log // Blockchain specific contextual infos
}

WrappersOwnershipTransferred represents a OwnershipTransferred event raised by the Wrappers contract.

type WrappersOwnershipTransferredIterator added in v1.4.0

type WrappersOwnershipTransferredIterator struct {
	Event *WrappersOwnershipTransferred // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

WrappersOwnershipTransferredIterator is returned from FilterOwnershipTransferred and is used to iterate over the raw logs and unpacked data for OwnershipTransferred events raised by the Wrappers contract.

func (*WrappersOwnershipTransferredIterator) Close added in v1.4.0

Close terminates the iteration process, releasing any pending underlying resources.

func (*WrappersOwnershipTransferredIterator) Error added in v1.4.0

Error returns any retrieval or parsing error occurred during filtering.

func (*WrappersOwnershipTransferredIterator) Next added in v1.4.0

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type WrappersRaw added in v1.4.0

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

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

func (*WrappersRaw) Call added in v1.4.0

func (_Wrappers *WrappersRaw) 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 (*WrappersRaw) Transact added in v1.4.0

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

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

func (*WrappersRaw) Transfer added in v1.4.0

func (_Wrappers *WrappersRaw) 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 WrappersSession added in v1.4.0

type WrappersSession struct {
	Contract     *Wrappers         // 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
}

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

func (*WrappersSession) Initialize added in v1.4.0

func (_Wrappers *WrappersSession) Initialize(_nonce *big.Int, _powerThreshold *big.Int, _validatorSetHash [32]byte) (*types.Transaction, error)

Initialize is a paid mutator transaction binding the contract method 0x226fe7be.

Solidity: function initialize(uint256 _nonce, uint256 _powerThreshold, bytes32 _validatorSetHash) returns()

func (*WrappersSession) Owner added in v1.4.0

func (_Wrappers *WrappersSession) Owner() (common.Address, error)

Owner is a free data retrieval call binding the contract method 0x8da5cb5b.

Solidity: function owner() view returns(address)

func (*WrappersSession) ProxiableUUID added in v1.4.0

func (_Wrappers *WrappersSession) ProxiableUUID() ([32]byte, error)

ProxiableUUID is a free data retrieval call binding the contract method 0x52d1902d.

Solidity: function proxiableUUID() view returns(bytes32)

func (*WrappersSession) RenounceOwnership added in v1.4.0

func (_Wrappers *WrappersSession) RenounceOwnership() (*types.Transaction, error)

RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.

Solidity: function renounceOwnership() returns()

func (*WrappersSession) StateDataRootTupleRoots added in v1.4.0

func (_Wrappers *WrappersSession) StateDataRootTupleRoots(arg0 *big.Int) ([32]byte, error)

StateDataRootTupleRoots is a free data retrieval call binding the contract method 0x817f985b.

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

func (*WrappersSession) StateEventNonce added in v1.4.0

func (_Wrappers *WrappersSession) StateEventNonce() (*big.Int, error)

StateEventNonce is a free data retrieval call binding the contract method 0xcdade866.

Solidity: function state_eventNonce() view returns(uint256)

func (*WrappersSession) StateLastValidatorSetCheckpoint added in v1.4.0

func (_Wrappers *WrappersSession) StateLastValidatorSetCheckpoint() ([32]byte, error)

StateLastValidatorSetCheckpoint is a free data retrieval call binding the contract method 0x5433218c.

Solidity: function state_lastValidatorSetCheckpoint() view returns(bytes32)

func (*WrappersSession) StatePowerThreshold added in v1.4.0

func (_Wrappers *WrappersSession) StatePowerThreshold() (*big.Int, error)

StatePowerThreshold is a free data retrieval call binding the contract method 0xe5a2b5d2.

Solidity: function state_powerThreshold() view returns(uint256)

func (*WrappersSession) SubmitDataRootTupleRoot added in v1.4.0

func (_Wrappers *WrappersSession) SubmitDataRootTupleRoot(_newNonce *big.Int, _validatorSetNonce *big.Int, _dataRootTupleRoot [32]byte, _currentValidatorSet []Validator, _sigs []Signature) (*types.Transaction, error)

SubmitDataRootTupleRoot is a paid mutator transaction binding the contract method 0xe23eb326.

Solidity: function submitDataRootTupleRoot(uint256 _newNonce, uint256 _validatorSetNonce, bytes32 _dataRootTupleRoot, (address,uint256)[] _currentValidatorSet, (uint8,bytes32,bytes32)[] _sigs) returns()

func (*WrappersSession) TransferOwnership added in v1.4.0

func (_Wrappers *WrappersSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)

TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.

Solidity: function transferOwnership(address newOwner) returns()

func (*WrappersSession) UPGRADEINTERFACEVERSION added in v1.4.0

func (_Wrappers *WrappersSession) UPGRADEINTERFACEVERSION() (string, error)

UPGRADEINTERFACEVERSION is a free data retrieval call binding the contract method 0xad3cb1cc.

Solidity: function UPGRADE_INTERFACE_VERSION() view returns(string)

func (*WrappersSession) UpdateValidatorSet added in v1.4.0

func (_Wrappers *WrappersSession) UpdateValidatorSet(_newNonce *big.Int, _oldNonce *big.Int, _newPowerThreshold *big.Int, _newValidatorSetHash [32]byte, _currentValidatorSet []Validator, _sigs []Signature) (*types.Transaction, error)

UpdateValidatorSet is a paid mutator transaction binding the contract method 0x05d85c13.

Solidity: function updateValidatorSet(uint256 _newNonce, uint256 _oldNonce, uint256 _newPowerThreshold, bytes32 _newValidatorSetHash, (address,uint256)[] _currentValidatorSet, (uint8,bytes32,bytes32)[] _sigs) returns()

func (*WrappersSession) UpgradeToAndCall added in v1.4.0

func (_Wrappers *WrappersSession) UpgradeToAndCall(newImplementation common.Address, data []byte) (*types.Transaction, error)

UpgradeToAndCall is a paid mutator transaction binding the contract method 0x4f1ef286.

Solidity: function upgradeToAndCall(address newImplementation, bytes data) payable returns()

func (*WrappersSession) VerifyAttestation added in v1.4.0

func (_Wrappers *WrappersSession) VerifyAttestation(_tupleRootNonce *big.Int, _tuple DataRootTuple, _proof BinaryMerkleProof) (bool, error)

VerifyAttestation is a free data retrieval call binding the contract method 0x1f3302a9.

Solidity: function verifyAttestation(uint256 _tupleRootNonce, (uint256,bytes32) _tuple, (bytes32[],uint256,uint256) _proof) view returns(bool)

type WrappersTransactor added in v1.4.0

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

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

func NewWrappersTransactor added in v1.4.0

func NewWrappersTransactor(address common.Address, transactor bind.ContractTransactor) (*WrappersTransactor, error)

NewWrappersTransactor creates a new write-only instance of Wrappers, bound to a specific deployed contract.

func (*WrappersTransactor) Initialize added in v1.4.0

func (_Wrappers *WrappersTransactor) Initialize(opts *bind.TransactOpts, _nonce *big.Int, _powerThreshold *big.Int, _validatorSetHash [32]byte) (*types.Transaction, error)

Initialize is a paid mutator transaction binding the contract method 0x226fe7be.

Solidity: function initialize(uint256 _nonce, uint256 _powerThreshold, bytes32 _validatorSetHash) returns()

func (*WrappersTransactor) RenounceOwnership added in v1.4.0

func (_Wrappers *WrappersTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)

RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.

Solidity: function renounceOwnership() returns()

func (*WrappersTransactor) SubmitDataRootTupleRoot added in v1.4.0

func (_Wrappers *WrappersTransactor) SubmitDataRootTupleRoot(opts *bind.TransactOpts, _newNonce *big.Int, _validatorSetNonce *big.Int, _dataRootTupleRoot [32]byte, _currentValidatorSet []Validator, _sigs []Signature) (*types.Transaction, error)

SubmitDataRootTupleRoot is a paid mutator transaction binding the contract method 0xe23eb326.

Solidity: function submitDataRootTupleRoot(uint256 _newNonce, uint256 _validatorSetNonce, bytes32 _dataRootTupleRoot, (address,uint256)[] _currentValidatorSet, (uint8,bytes32,bytes32)[] _sigs) returns()

func (*WrappersTransactor) TransferOwnership added in v1.4.0

func (_Wrappers *WrappersTransactor) TransferOwnership(opts *bind.TransactOpts, newOwner common.Address) (*types.Transaction, error)

TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.

Solidity: function transferOwnership(address newOwner) returns()

func (*WrappersTransactor) UpdateValidatorSet added in v1.4.0

func (_Wrappers *WrappersTransactor) UpdateValidatorSet(opts *bind.TransactOpts, _newNonce *big.Int, _oldNonce *big.Int, _newPowerThreshold *big.Int, _newValidatorSetHash [32]byte, _currentValidatorSet []Validator, _sigs []Signature) (*types.Transaction, error)

UpdateValidatorSet is a paid mutator transaction binding the contract method 0x05d85c13.

Solidity: function updateValidatorSet(uint256 _newNonce, uint256 _oldNonce, uint256 _newPowerThreshold, bytes32 _newValidatorSetHash, (address,uint256)[] _currentValidatorSet, (uint8,bytes32,bytes32)[] _sigs) returns()

func (*WrappersTransactor) UpgradeToAndCall added in v1.4.0

func (_Wrappers *WrappersTransactor) UpgradeToAndCall(opts *bind.TransactOpts, newImplementation common.Address, data []byte) (*types.Transaction, error)

UpgradeToAndCall is a paid mutator transaction binding the contract method 0x4f1ef286.

Solidity: function upgradeToAndCall(address newImplementation, bytes data) payable returns()

type WrappersTransactorRaw added in v1.4.0

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

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

func (*WrappersTransactorRaw) Transact added in v1.4.0

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

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

func (*WrappersTransactorRaw) Transfer added in v1.4.0

func (_Wrappers *WrappersTransactorRaw) 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 WrappersTransactorSession added in v1.4.0

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

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

func (*WrappersTransactorSession) Initialize added in v1.4.0

func (_Wrappers *WrappersTransactorSession) Initialize(_nonce *big.Int, _powerThreshold *big.Int, _validatorSetHash [32]byte) (*types.Transaction, error)

Initialize is a paid mutator transaction binding the contract method 0x226fe7be.

Solidity: function initialize(uint256 _nonce, uint256 _powerThreshold, bytes32 _validatorSetHash) returns()

func (*WrappersTransactorSession) RenounceOwnership added in v1.4.0

func (_Wrappers *WrappersTransactorSession) RenounceOwnership() (*types.Transaction, error)

RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.

Solidity: function renounceOwnership() returns()

func (*WrappersTransactorSession) SubmitDataRootTupleRoot added in v1.4.0

func (_Wrappers *WrappersTransactorSession) SubmitDataRootTupleRoot(_newNonce *big.Int, _validatorSetNonce *big.Int, _dataRootTupleRoot [32]byte, _currentValidatorSet []Validator, _sigs []Signature) (*types.Transaction, error)

SubmitDataRootTupleRoot is a paid mutator transaction binding the contract method 0xe23eb326.

Solidity: function submitDataRootTupleRoot(uint256 _newNonce, uint256 _validatorSetNonce, bytes32 _dataRootTupleRoot, (address,uint256)[] _currentValidatorSet, (uint8,bytes32,bytes32)[] _sigs) returns()

func (*WrappersTransactorSession) TransferOwnership added in v1.4.0

func (_Wrappers *WrappersTransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)

TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.

Solidity: function transferOwnership(address newOwner) returns()

func (*WrappersTransactorSession) UpdateValidatorSet added in v1.4.0

func (_Wrappers *WrappersTransactorSession) UpdateValidatorSet(_newNonce *big.Int, _oldNonce *big.Int, _newPowerThreshold *big.Int, _newValidatorSetHash [32]byte, _currentValidatorSet []Validator, _sigs []Signature) (*types.Transaction, error)

UpdateValidatorSet is a paid mutator transaction binding the contract method 0x05d85c13.

Solidity: function updateValidatorSet(uint256 _newNonce, uint256 _oldNonce, uint256 _newPowerThreshold, bytes32 _newValidatorSetHash, (address,uint256)[] _currentValidatorSet, (uint8,bytes32,bytes32)[] _sigs) returns()

func (*WrappersTransactorSession) UpgradeToAndCall added in v1.4.0

func (_Wrappers *WrappersTransactorSession) UpgradeToAndCall(newImplementation common.Address, data []byte) (*types.Transaction, error)

UpgradeToAndCall is a paid mutator transaction binding the contract method 0x4f1ef286.

Solidity: function upgradeToAndCall(address newImplementation, bytes data) payable returns()

type WrappersUpgraded added in v1.4.0

type WrappersUpgraded struct {
	Implementation common.Address
	Raw            types.Log // Blockchain specific contextual infos
}

WrappersUpgraded represents a Upgraded event raised by the Wrappers contract.

type WrappersUpgradedIterator added in v1.4.0

type WrappersUpgradedIterator struct {
	Event *WrappersUpgraded // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

WrappersUpgradedIterator is returned from FilterUpgraded and is used to iterate over the raw logs and unpacked data for Upgraded events raised by the Wrappers contract.

func (*WrappersUpgradedIterator) Close added in v1.4.0

func (it *WrappersUpgradedIterator) Close() error

Close terminates the iteration process, releasing any pending underlying resources.

func (*WrappersUpgradedIterator) Error added in v1.4.0

func (it *WrappersUpgradedIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*WrappersUpgradedIterator) Next added in v1.4.0

func (it *WrappersUpgradedIterator) Next() bool

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type WrappersValidatorSetUpdatedEvent added in v1.4.0

type WrappersValidatorSetUpdatedEvent struct {
	Nonce            *big.Int
	PowerThreshold   *big.Int
	ValidatorSetHash [32]byte
	Raw              types.Log // Blockchain specific contextual infos
}

WrappersValidatorSetUpdatedEvent represents a ValidatorSetUpdatedEvent event raised by the Wrappers contract.

type WrappersValidatorSetUpdatedEventIterator added in v1.4.0

type WrappersValidatorSetUpdatedEventIterator struct {
	Event *WrappersValidatorSetUpdatedEvent // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

WrappersValidatorSetUpdatedEventIterator is returned from FilterValidatorSetUpdatedEvent and is used to iterate over the raw logs and unpacked data for ValidatorSetUpdatedEvent events raised by the Wrappers contract.

func (*WrappersValidatorSetUpdatedEventIterator) Close added in v1.4.0

Close terminates the iteration process, releasing any pending underlying resources.

func (*WrappersValidatorSetUpdatedEventIterator) Error added in v1.4.0

Error returns any retrieval or parsing error occurred during filtering.

func (*WrappersValidatorSetUpdatedEventIterator) Next added in v1.4.0

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

Jump to

Keyboard shortcuts

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