diff --git a/wrappers/Blobstream.sol/wrapper.go b/wrappers/Blobstream.sol/wrapper.go index 87cdb31..074c600 100644 --- a/wrappers/Blobstream.sol/wrapper.go +++ b/wrappers/Blobstream.sol/wrapper.go @@ -58,7 +58,7 @@ type Validator struct { // WrappersMetaData contains all meta data concerning the Wrappers contract. var WrappersMetaData = &bind.MetaData{ ABI: "[{\"type\":\"function\",\"name\":\"UPGRADE_INTERFACE_VERSION\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"string\",\"internalType\":\"string\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"initialize\",\"inputs\":[{\"name\":\"_nonce\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"_powerThreshold\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"_validatorSetCheckpoint\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"owner\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"address\",\"internalType\":\"address\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"proxiableUUID\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"renounceOwnership\",\"inputs\":[],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"state_dataRootTupleRoots\",\"inputs\":[{\"name\":\"\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"outputs\":[{\"name\":\"\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"state_eventNonce\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"state_lastValidatorSetCheckpoint\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"state_powerThreshold\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"submitDataRootTupleRoot\",\"inputs\":[{\"name\":\"_newNonce\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"_validatorSetNonce\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"_dataRootTupleRoot\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"},{\"name\":\"_currentValidatorSet\",\"type\":\"tuple[]\",\"internalType\":\"structValidator[]\",\"components\":[{\"name\":\"addr\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"power\",\"type\":\"uint256\",\"internalType\":\"uint256\"}]},{\"name\":\"_sigs\",\"type\":\"tuple[]\",\"internalType\":\"structSignature[]\",\"components\":[{\"name\":\"v\",\"type\":\"uint8\",\"internalType\":\"uint8\"},{\"name\":\"r\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"},{\"name\":\"s\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"}]}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"transferOwnership\",\"inputs\":[{\"name\":\"newOwner\",\"type\":\"address\",\"internalType\":\"address\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"updateValidatorSet\",\"inputs\":[{\"name\":\"_newNonce\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"_oldNonce\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"_newPowerThreshold\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"_newValidatorSetHash\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"},{\"name\":\"_currentValidatorSet\",\"type\":\"tuple[]\",\"internalType\":\"structValidator[]\",\"components\":[{\"name\":\"addr\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"power\",\"type\":\"uint256\",\"internalType\":\"uint256\"}]},{\"name\":\"_sigs\",\"type\":\"tuple[]\",\"internalType\":\"structSignature[]\",\"components\":[{\"name\":\"v\",\"type\":\"uint8\",\"internalType\":\"uint8\"},{\"name\":\"r\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"},{\"name\":\"s\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"}]}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"upgradeToAndCall\",\"inputs\":[{\"name\":\"newImplementation\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"data\",\"type\":\"bytes\",\"internalType\":\"bytes\"}],\"outputs\":[],\"stateMutability\":\"payable\"},{\"type\":\"function\",\"name\":\"verifyAttestation\",\"inputs\":[{\"name\":\"_tupleRootNonce\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"_tuple\",\"type\":\"tuple\",\"internalType\":\"structDataRootTuple\",\"components\":[{\"name\":\"height\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"dataRoot\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"}]},{\"name\":\"_proof\",\"type\":\"tuple\",\"internalType\":\"structBinaryMerkleProof\",\"components\":[{\"name\":\"sideNodes\",\"type\":\"bytes32[]\",\"internalType\":\"bytes32[]\"},{\"name\":\"key\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"numLeaves\",\"type\":\"uint256\",\"internalType\":\"uint256\"}]}],\"outputs\":[{\"name\":\"\",\"type\":\"bool\",\"internalType\":\"bool\"}],\"stateMutability\":\"view\"},{\"type\":\"event\",\"name\":\"DataRootTupleRootEvent\",\"inputs\":[{\"name\":\"nonce\",\"type\":\"uint256\",\"indexed\":true,\"internalType\":\"uint256\"},{\"name\":\"dataRootTupleRoot\",\"type\":\"bytes32\",\"indexed\":false,\"internalType\":\"bytes32\"}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"Initialized\",\"inputs\":[{\"name\":\"version\",\"type\":\"uint64\",\"indexed\":false,\"internalType\":\"uint64\"}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"OwnershipTransferred\",\"inputs\":[{\"name\":\"previousOwner\",\"type\":\"address\",\"indexed\":true,\"internalType\":\"address\"},{\"name\":\"newOwner\",\"type\":\"address\",\"indexed\":true,\"internalType\":\"address\"}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"Upgraded\",\"inputs\":[{\"name\":\"implementation\",\"type\":\"address\",\"indexed\":true,\"internalType\":\"address\"}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"ValidatorSetUpdatedEvent\",\"inputs\":[{\"name\":\"nonce\",\"type\":\"uint256\",\"indexed\":true,\"internalType\":\"uint256\"},{\"name\":\"powerThreshold\",\"type\":\"uint256\",\"indexed\":false,\"internalType\":\"uint256\"},{\"name\":\"validatorSetHash\",\"type\":\"bytes32\",\"indexed\":false,\"internalType\":\"bytes32\"}],\"anonymous\":false},{\"type\":\"error\",\"name\":\"AddressEmptyCode\",\"inputs\":[{\"name\":\"target\",\"type\":\"address\",\"internalType\":\"address\"}]},{\"type\":\"error\",\"name\":\"AlreadyInitialized\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"ERC1967InvalidImplementation\",\"inputs\":[{\"name\":\"implementation\",\"type\":\"address\",\"internalType\":\"address\"}]},{\"type\":\"error\",\"name\":\"ERC1967NonPayable\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"FailedInnerCall\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"InsufficientVotingPower\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"InvalidDataRootTupleRootNonce\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"InvalidSignature\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"InvalidValidatorSetNonce\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"MalformedCurrentValidatorSet\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"NotInitializing\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"OwnableInvalidOwner\",\"inputs\":[{\"name\":\"owner\",\"type\":\"address\",\"internalType\":\"address\"}]},{\"type\":\"error\",\"name\":\"OwnableUnauthorizedAccount\",\"inputs\":[{\"name\":\"account\",\"type\":\"address\",\"internalType\":\"address\"}]},{\"type\":\"error\",\"name\":\"SuppliedValidatorSetInvalid\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"UUPSUnauthorizedCallContext\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"UUPSUnsupportedProxiableUUID\",\"inputs\":[{\"name\":\"slot\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"}]}]", - Bin: "0x60a0806040523461002a573060805261168e9081610030823960805181818161041801526104f60152f35b600080fdfe6080604081815260048036101561001557600080fd5b600092833560e01c90816305d85c1314610953575080631f3302a91461081f578063226fe7be146106e15780634f1ef2861461047c57806352d1902d146104035780635433218c146103e4578063715018a614610387578063817f985b146103605780638da5cb5b14610337578063ad3cb1cc146102b2578063cdade86614610293578063e23eb32614610138578063e5a2b5d2146101155763f2fde38b146100bd57600080fd5b34610111576020366003190112610111576100d6610b6d565b916100df610fe0565b6001600160a01b038316156100fb57836100f88461100c565b80f35b51631e4fbdf760e01b8152908101839052602490fd5b8280fd5b5050346101345781600319360112610134576020906097549051908152f35b5080fd5b50346101115760a036600319011261011157803591604435916001600160401b0360643581811161028f576101709036908401610a84565b909160843590811161028b576101899036908501610ab9565b9160985494609754956096549060018101809111610278578a036102695784830361025a576101c46101bb8488610c32565b88602435610cb8565b0361024c575092610234927f6614d037bde4905e31ca5ff05de61964c267f28b0320ed49e59f7d99752e1c4f979592879560209851898101906f0e8e4c2dce6c2c6e8d2dedc84c2e8c6d60831b82528c898201528960608201526060815261022b81610ae9565b51902093610d3a565b8460985584865260998352818187205551908152a280f35b8651630bbdaec960e11b8152fd5b50865163c6617b7b60e01b8152fd5b50865163e869766d60e01b8152fd5b634e487b7160e01b8c526011835260248cfd5b8780fd5b8680fd5b5050346101345781600319360112610134576020906098549051908152f35b509134610334578060031936011261033457815190828201908282106001600160401b038311176103215750610313935082526005815260208101640352e302e360dc1b815282519384926020845251809281602086015285850190610b9e565b601f01601f19168101030190f35b634e487b7160e01b815260418552602490fd5b80fd5b50503461013457816003193601126101345760645490516001600160a01b039091168152602090f35b50346101115760203660031901126101115760209282913581526099845220549051908152f35b83346103345780600319360112610334576103a0610fe0565b606480546001600160a01b0319811690915581906001600160a01b03167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e08280a380f35b5050346101345781600319360112610134576020906096549051908152f35b509134610334578060031936011261033457507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316300361046f57602090517f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc8152f35b5163703e46dd60e11b8152fd5b50908060031936011261011157610491610b6d565b9060249384356001600160401b038111610134573660238201121561013457808501356104bd81610b83565b946104ca85519687610b35565b81865260209182870193368a83830101116106dd578186928b8693018737880101526001600160a01b037f000000000000000000000000000000000000000000000000000000000000000081163081149081156106af575b5061069f5761052f610fe0565b81169585516352d1902d60e01b815283818a818b5afa869181610670575b50610569575050505050505191634c9c8ce360e01b8352820152fd5b9088888894938c7f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc9182810361065b5750853b15610647575080546001600160a01b031916821790558451889392917fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b8580a282511561062957505061061b9582915190845af4913d1561061f573d61060d61060482610b83565b92519283610b35565b81528581943d92013e6115f5565b5080f35b50606092506115f5565b95509550505050503461063b57505080f35b63b398979f60e01b8152fd5b8651634c9c8ce360e01b8152808501849052fd5b8751632a87526960e21b815280860191909152fd5b9091508481813d8311610698575b6106888183610b35565b8101031261028f5751903861054d565b503d61067e565b855163703e46dd60e11b81528890fd5b9050817f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc5416141538610522565b8580fd5b5034610111576060366003190112610111577ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a0e8054909181841c60ff161591828061080c575b15806107e9575b6107db5767ffffffffffffffff1981166001178455826107bc575b5035609855604435609655602435609755610762611244565b61076a611244565b6107733361100c565b61077b578280f35b805468ff00000000000000001916905551600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d290602090a138808280f35b68ffffffffffffffffff19166801000000000000000117835538610749565b50835162dc149f60e41b8152fd5b50303b15806107f9575b1561072e565b5060016001600160401b038216146107f3565b5060016001600160401b03821610610727565b509034610111576003199160803684011261094f578160231936011261094f5781516001600160401b03918184018381118382101761093c5784526024358252602095604435878401526064359584871161013457606090873603011261033457845193606085018581108282111761092957865286830135908111610134578601903660238301121561033457828201356108ba81610b56565b926108c788519485610b35565b81845260248a85019260051b8201019236841161033457509060248a9201905b83821061091a57505050506109119495604491855260248101358886015201358584015235610be5565b90519015158152f35b813581529082019082016108e7565b634e487b7160e01b835260418452602483fd5b634e487b7160e01b875260418252602487fd5b8380fd5b848385346101115760c03660031901126101115781359160443590606435906001600160401b0360843581811161028b576109919036908401610a84565b92909160a435908111610a80576109ab9036908301610ab9565b916098546097549b6096549160018101809111610a6d578b03610a5f5750838603610a50576109e66109dd8787610c32565b8d602435610cb8565b03610a4257509187989991610a2993610a2187897fe55fb3cbbfe29b13c7f8a35ef23127e7df9ab88df16bac166ad254a20f02414c9c610cb8565b958693610d3a565b609655816097558460985582519182526020820152a280f35b8751630bbdaec960e11b8152fd5b50875163c6617b7b60e01b8152fd5b6368a35ffd60e11b81529050fd5b634e487b7160e01b8d526011845260248dfd5b8880fd5b9181601f84011215610ab4578235916001600160401b038311610ab4576020808501948460061b010111610ab457565b600080fd5b9181601f84011215610ab4578235916001600160401b038311610ab45760208085019460608502010111610ab457565b608081019081106001600160401b03821117610b0457604052565b634e487b7160e01b600052604160045260246000fd5b606081019081106001600160401b03821117610b0457604052565b90601f801991011681019081106001600160401b03821117610b0457604052565b6001600160401b038111610b045760051b60200190565b600435906001600160a01b0382168203610ab457565b6001600160401b038111610b0457601f01601f191660200190565b60005b838110610bb15750506000910152565b8181015183820152602001610ba1565b6001019081600111610bcf57565b634e487b7160e01b600052601160045260246000fd5b916098548311610c2a57610c269260005260996020526040600020546020604051938051828601520151604084015260408352610c2183610b1a565b610eb3565b5090565b505050600090565b60409160405180926020926020830195816040850160208952526060840192946000906000915b848310610c7e575050505050610c78925003601f198101835282610b35565b51902090565b919395509193863560018060a01b038116809103610111578582819260019452858a01358682015201970193019091879593969492610c59565b916040519160208301936918da1958dadc1bda5b9d60b21b85526040840152606083015260808201526080815260a081018181106001600160401b03821117610b045760405251902090565b9190811015610d14576060020190565b634e487b7160e01b600052603260045260246000fd5b9190811015610d145760061b0190565b9493929460009360005b838110610d6d575b505050505090915010610d5b57565b60405163cabeb65560e01b8152600490fd5b610d78818987610d04565b60209081810135159081610e86575b81610e71575b50610e6857610d9d828686610d2a565b6001600160a01b03903581811690819003610ab457610dbd848c8a610d04565b91610e24610e1c6040948551878101907f19457468657265756d205369676e6564204d6573736167653a0a3332000000008252603c8b818301528152610e0281610b1a565b519020610e0e82611055565b8888840135930135916113e4565b919091611499565b1603610e585750610e36828686610d2a565b01358601809611610bcf5786861015610e53576001905b01610d44565b610d4c565b51638baa579f60e01b8152600490fd5b50600190610e4d565b60ff9150610e7e90611055565b161538610d8d565b6040810135159150610d87565b60061115610e9d57565b634e487b7160e01b600052602160045260246000fd5b60408201805193949360018111610fbd5750825151610fb0575b6020830190815181511115610fa257602060405196610f2982890189610f18602160009c8d96878652610f08815180928b8686019101610b9e565b8101036001810184520182610b35565b604051928392839251928391610b9e565b8101039060025afa15610f97578551935191825115610f805790610f5293949151905190611152565b6006811015610f6c5780610f665750149190565b92915050565b634e487b7160e01b85526021600452602485fd5b5051600114159050610f9157149190565b50508190565b6040513d87823e3d90fd5b505050509050600090600290565b5050509050600090600190565b610fce84515191602086015161108f565b14610ecd575050509050600090600190565b6064546001600160a01b03163303610ff457565b60405163118cdaa760e01b8152336004820152602490fd5b606480546001600160a01b039283166001600160a01b0319821681179092559091167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0600080a3565b3560ff81168103610ab45790565b90610100918203918211610bcf57565b600019810191908211610bcf57565b91908203918211610bcf57565b9060019081811115610c2a5760005b8183821b1061111d57610100908103908111610bcf576110bd90611063565b92826110c885611073565b1b906110d382611073565b81116110e0575050505090565b92935090918382036110f25750505090565b6111119350906111058161110b93611082565b92611082565b9061108f565b61111a90610bc1565b90565b8281018091111561109e57634e487b7160e01b600052601160045260246000fd5b8051821015610d145760209160051b010190565b9392938115611239576001821461122457845115611219578261117483611285565b6111876111818851611073565b886112d2565b928181106111e457816111056111a796936111a193611082565b90611152565b90916111b282610e93565b816111dd5750506111d1836111cb6111d7949551611073565b9061113e565b51611396565b90600090565b9350919050565b6111ee9450611152565b90916111f982610e93565b816111dd575050611212836111cb6111d7949551611073565b5190611396565b505090915090600590565b50509091516112335790600090565b90600490565b505090915090600390565b60ff7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a0e5460401c161561127357565b604051631afcd79f60e31b8152600490fd5b6001808210610ab4578180916000925b6112bb5750506000198101908111610bcf576001901b9081146112b55790565b60011c90565b90916000198114610bcf57810191811c9081611295565b919082518111611339576112e581610b56565b906112f36040519283610b35565b808252601f1961130282610b56565b0136602084013760005b81811061131a575090925050565b806113276001928761113e565b51611332828661113e565b520161130c565b60405162461bcd60e51b815260206004820152602f60248201527f496e76616c69642072616e67653a205f626567696e206f72205f656e6420617260448201526e65206f7574206f6620626f756e647360881b6064820152608490fd5b6113c56000916020936040519085820192600160f81b84526021830152604182015260418152610f1881610ae9565b8101039060025afa156113d85760005190565b6040513d6000823e3d90fd5b9291907f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a0831161148d5760ff16601b81141580611482575b611476579160809493916020936040519384528484015260408301526060820152600093849182805260015afa156114695781516001600160a01b03811615611463579190565b50600190565b50604051903d90823e3d90fd5b50505050600090600490565b50601c81141561141c565b50505050600090600390565b6005811015610e9d57806114aa5750565b600181036114f75760405162461bcd60e51b815260206004820152601860248201527f45434453413a20696e76616c6964207369676e617475726500000000000000006044820152606490fd5b600281036115445760405162461bcd60e51b815260206004820152601f60248201527f45434453413a20696e76616c6964207369676e6174757265206c656e677468006044820152606490fd5b6003810361159c5760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c604482015261756560f01b6064820152608490fd5b6004146115a557565b60405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202776272076616c604482015261756560f01b6064820152608490fd5b9061161c575080511561160a57805190602001fd5b604051630a12f52160e11b8152600490fd5b8151158061164f575b61162d575090565b604051639996b31560e01b81526001600160a01b039091166004820152602490fd5b50803b1561162556fea26469706673582212204ed86eef30453cf88ae755d133145ac5265e7683b8b89703fc27b5780f2eac7764736f6c63430008160033", + Bin: "0x60a0806040523461002a57306080526115ec908161002f82396080518181816103fa01526104d60152f35b5f80fdfe608060409080825260049081361015610016575f80fd5b5f3560e01c90816305d85c1314610917575080631f3302a9146107ea578063226fe7be146106b25780634f1ef2861461045e57806352d1902d146103e65780635433218c146103c8578063715018a61461036d578063817f985b146103455780638da5cb5b1461031d578063ad3cb1cc1461029e578063cdade86614610280578063e23eb3261461012e578063e5a2b5d2146101105763f2fde38b146100ba575f80fd5b3461010c57602036600319011261010c576100d3610b23565b916100dc610f6a565b6001600160a01b038316156100f6576100f483610f96565b005b905f6024925191631e4fbdf760e01b8352820152fd5b5f80fd5b823461010c575f36600319011261010c576020906097549051908152f35b503461010c5760a036600319011261010c57803591604435916001600160401b0360643581811161010c576101669036908401610a41565b909160843590811161010c5761017f9036908501610a71565b916098549460975495609654906001810180911161026d578a0361025e5784830361024f576101ba6101b18488610be1565b88602435610c5d565b0361024157509261022a927f6614d037bde4905e31ca5ff05de61964c267f28b0320ed49e59f7d99752e1c4f979592879560209851898101906f0e8e4c2dce6c2c6e8d2dedc84c2e8c6d60831b82528c898201528960608201526060815261022181610aa1565b51902093610cdd565b84609855845f526099835281815f205551908152a2005b8651630bbdaec960e11b8152fd5b50865163c6617b7b60e01b8152fd5b50865163e869766d60e01b8152fd5b601183634e487b7160e01b5f525260245ffd5b823461010c575f36600319011261010c576020906098549051908152f35b50903461010c575f36600319011261010c5780518181018181106001600160401b0382111761030a576102fc935082526005815260208101640352e302e360dc1b815282519384926020845251809281602086015285850190610b54565b601f01601f19168101030190f35b604184634e487b7160e01b5f525260245ffd5b823461010c575f36600319011261010c5760645490516001600160a01b039091168152602090f35b50903461010c57602036600319011261010c57602091355f5260998252805f20549051908152f35b3461010c575f36600319011261010c57610385610f6a565b606480546001600160a01b031981169091555f906001600160a01b03167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e08280a3005b823461010c575f36600319011261010c576020906096549051908152f35b50903461010c575f36600319011261010c577f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316300361045157602090517f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc8152f35b5163703e46dd60e11b8152fd5b508160031936011261010c57610472610b23565b60249283356001600160401b03811161010c573660238201121561010c578084013561049d81610b39565b936104aa84519586610aeb565b818552602091828601933689838301011161010c57815f928a8693018737870101526001600160a01b037f00000000000000000000000000000000000000000000000000000000000000008116308114908115610684575b506106745761050f610f6a565b81169484516352d1902d60e01b8152838189818a5afa5f9181610645575b506105485750505050505191634c9c8ce360e01b8352820152fd5b9087878794938b7f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc918281036106305750853b1561061c575080546001600160a01b031916821790558451907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b5f80a28251156106025750505f6100f49581925190845af4913d156105f8573d6105ea6105e182610b39565b92519283610aeb565b81525f81943d92013e611553565b5060609250611553565b945094505050503461061057005b63b398979f60e01b8152fd5b8651634c9c8ce360e01b8152808501849052fd5b8751632a87526960e21b815280860191909152fd5b9091508481813d831161066d575b61065d8183610aeb565b8101031261010c5751905f61052d565b503d610653565b845163703e46dd60e11b81528790fd5b9050817f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc541614155f610502565b503461010c57606036600319011261010c577ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a0e8054909181841c60ff16159182806107d7575b15806107b4575b6107a65767ffffffffffffffff198116600117845582610787575b50356098556044356096556024356097556107336111c7565b61073b6111c7565b61074433610f96565b61074a57005b805468ff00000000000000001916905551600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d290602090a1005b68ffffffffffffffffff1916680100000000000000011783555f61071a565b50835162dc149f60e41b8152fd5b50303b15806107c4575b156106ff565b5060016001600160401b038216146107be565b5060016001600160401b038216106106f8565b50903461010c576003199060803683011261010c578060231936011261010c5780516001600160401b0390808301828111828210176109045783526024358152602094604435868301526064359483861161010c57606090863603011261010c5783519260608401848110828211176108f15785528582013590811161010c5785013660238201121561010c578181013561088481610b0c565b9161089187519384610aeb565b81835260248984019260051b8201019136831161010c5760248a9201905b8382106108e257505050506108d99495604491855260248101358886015201358584015235610b97565b90519015158152f35b813581529082019082016108af565b604183634e487b7160e01b5f525260245ffd5b604186634e487b7160e01b5f525260245ffd5b82843461010c5760c036600319011261010c5781359160443590606435906001600160401b0360843581811161010c576109549036908401610a41565b92909160a43590811161010c5761096e9036908301610a71565b916098546097549a6096549160018101809111610a2e578b03610a205750838603610a11576109a96109a08787610be1565b8c602435610c5d565b03610a035750918798916109eb936109e387897fe55fb3cbbfe29b13c7f8a35ef23127e7df9ab88df16bac166ad254a20f02414c9c610c5d565b958693610cdd565b609655816097558460985582519182526020820152a2005b8751630bbdaec960e11b8152fd5b50875163c6617b7b60e01b8152fd5b6368a35ffd60e11b81529050fd5b601184634e487b7160e01b5f525260245ffd5b9181601f8401121561010c578235916001600160401b03831161010c576020808501948460061b01011161010c57565b9181601f8401121561010c578235916001600160401b03831161010c576020808501946060850201011161010c57565b608081019081106001600160401b03821117610abc57604052565b634e487b7160e01b5f52604160045260245ffd5b606081019081106001600160401b03821117610abc57604052565b90601f801991011681019081106001600160401b03821117610abc57604052565b6001600160401b038111610abc5760051b60200190565b600435906001600160a01b038216820361010c57565b6001600160401b038111610abc57601f01601f191660200190565b5f5b838110610b655750505f910152565b8181015183820152602001610b56565b6001019081600111610b8357565b634e487b7160e01b5f52601160045260245ffd5b916098548311610bda57610bd6925f52609960205260405f20546020604051938051828601520151604084015260408352610bd183610ad0565b610e52565b5090565b5050505f90565b604080518092602080830195806040850160208952526060840192945f5b828110610c235750505050610c1d925003601f198101835282610aeb565b51902090565b91939092945085359060018060a01b03821680920361010c5790815285850135858201529482019486949083019390929091600101610bff565b916040519160208301936918da1958dadc1bda5b9d60b21b85526040840152606083015260808201526080815260a081018181106001600160401b03821117610abc5760405251902090565b9190811015610cb9576060020190565b634e487b7160e01b5f52603260045260245ffd5b9190811015610cb95760061b0190565b949392945f935f5b838110610d0e575b505050505090915010610cfc57565b60405163cabeb65560e01b8152600490fd5b610d19818987610ca9565b60209081810135159081610e27575b81610e12575b50610e0957610d3e828686610ccd565b6001600160a01b0390358181169081900361010c57610d5e848c8a610ca9565b91610dc5610dbd6040948551878101907f19457468657265756d205369676e6564204d6573736167653a0a3332000000008252603c8b818301528152610da381610ad0565b519020610daf82610fde565b888884013593013591611355565b9190916113f7565b1603610df95750610dd7828686610ccd565b01358601809611610b835786861015610df4576001905b01610ce5565b610ced565b51638baa579f60e01b8152600490fd5b50600190610dee565b60ff9150610e1f90610fde565b16155f610d2e565b6040810135159150610d28565b60061115610e3e57565b634e487b7160e01b5f52602160045260245ffd5b6040820180519293919260018111610f495750835151610f3e575b6020840191825182511115610f32575f610ec6602092604051610eb560218287810194878652610ea5815180928b8686019101610b54565b8101036001810184520182610aeb565b604051928392839251928391610b54565b8101039060025afa15610f27575f51935191825115610f0d5790610eef939491519051906110d7565b6006811015610e3e5780610f04575014905f90565b929150505f9190565b5051600114159050610f1f5714905f90565b50505f905f90565b6040513d5f823e3d90fd5b50505050505f90600290565b505050505f90600190565b610f5a855151916020870151611017565b14610e6d57505050505f90600190565b6064546001600160a01b03163303610f7e57565b60405163118cdaa760e01b8152336004820152602490fd5b606480546001600160a01b039283166001600160a01b0319821681179092559091167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e05f80a3565b3560ff8116810361010c5790565b90610100918203918211610b8357565b5f19810191908211610b8357565b91908203918211610b8357565b9060019081811115610bda575f5b8183821b106110a457610100908103908111610b835761104490610fec565b928261104f85610ffc565b1b9061105a82610ffc565b8111611067575050505090565b92935090918382036110795750505090565b61109893509061108c816110929361100a565b9261100a565b90611017565b6110a190610b75565b90565b8281018091111561102557634e487b7160e01b5f52601160045260245ffd5b8051821015610cb95760209160051b010190565b93929381156111bc57600182146111a85784511561119d57826110f983611208565b61110c6111068851610ffc565b88611252565b92818110611168578161108c61112c96936111269361100a565b906110d7565b909161113782610e34565b816111615750506111568361115061115c949551610ffc565b906110c3565b51611315565b905f90565b9350919050565b61117294506110d7565b909161117d82610e34565b816111615750506111968361115061115c949551610ffc565b5190611315565b505090915090600590565b50509091516111b657905f90565b90600490565b505090915090600390565b60ff7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a0e5460401c16156111f657565b604051631afcd79f60e31b8152600490fd5b600180821061010c578180915f925b61123c5750505f198101908111610b83576001901b9081146112365790565b60011c90565b90915f198114610b8357810191811c9081611217565b9190825181116112b85761126581610b0c565b906112736040519283610aeb565b808252601f1961128282610b0c565b013660208401375f5b818110611299575090925050565b806112a6600192876110c3565b516112b182866110c3565b520161128b565b60405162461bcd60e51b815260206004820152602f60248201527f496e76616c69642072616e67653a205f626567696e206f72205f656e6420617260448201526e65206f7574206f6620626f756e647360881b6064820152608490fd5b6113435f916020936040519085820192600160f81b84526021830152604182015260418152610eb581610aa1565b8101039060025afa15610f27575f5190565b907f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a084116113ec5760ff1690601b821415806113e1575b6113d6576020935f93608093604051938452868401526040830152606082015282805260015afa15610f27575f516001600160a01b038116156113ce57905f90565b505f90600190565b505050505f90600490565b50601c82141561138c565b505050505f90600390565b6005811015610e3e57806114085750565b600181036114555760405162461bcd60e51b815260206004820152601860248201527f45434453413a20696e76616c6964207369676e617475726500000000000000006044820152606490fd5b600281036114a25760405162461bcd60e51b815260206004820152601f60248201527f45434453413a20696e76616c6964207369676e6174757265206c656e677468006044820152606490fd5b600381036114fa5760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c604482015261756560f01b6064820152608490fd5b60041461150357565b60405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202776272076616c604482015261756560f01b6064820152608490fd5b9061157a575080511561156857805190602001fd5b604051630a12f52160e11b8152600490fd5b815115806115ad575b61158b575090565b604051639996b31560e01b81526001600160a01b039091166004820152602490fd5b50803b1561158356fea264697066735822122037e4666da7e8ee7ad51d741dea6f21b7bfdbb38ce5b7a050be962c4dcf4c363364736f6c63430008160033", } // WrappersABI is the input ABI used to generate the binding from. diff --git a/wrappers/ERC1967Proxy.sol/wrapper.go b/wrappers/ERC1967Proxy.sol/wrapper.go index 15198e7..fc48408 100644 --- a/wrappers/ERC1967Proxy.sol/wrapper.go +++ b/wrappers/ERC1967Proxy.sol/wrapper.go @@ -32,7 +32,7 @@ var ( // WrappersMetaData contains all meta data concerning the Wrappers contract. var WrappersMetaData = &bind.MetaData{ ABI: "[{\"type\":\"constructor\",\"inputs\":[{\"name\":\"_logic\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"_data\",\"type\":\"bytes\",\"internalType\":\"bytes\"}],\"stateMutability\":\"payable\"},{\"type\":\"fallback\",\"stateMutability\":\"payable\"},{\"type\":\"receive\",\"stateMutability\":\"payable\"},{\"type\":\"event\",\"name\":\"AdminChanged\",\"inputs\":[{\"name\":\"previousAdmin\",\"type\":\"address\",\"indexed\":false,\"internalType\":\"address\"},{\"name\":\"newAdmin\",\"type\":\"address\",\"indexed\":false,\"internalType\":\"address\"}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"BeaconUpgraded\",\"inputs\":[{\"name\":\"beacon\",\"type\":\"address\",\"indexed\":true,\"internalType\":\"address\"}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"Upgraded\",\"inputs\":[{\"name\":\"implementation\",\"type\":\"address\",\"indexed\":true,\"internalType\":\"address\"}],\"anonymous\":false}]", - Bin: "0x608060405261043a80380380610014816100bc565b92833981016040828203126100a1578151916001600160a01b03831683036100a1576020810151906001600160401b0382116100a157019181601f840112156100a15782519261006b610066856100e6565b6100bc565b92848452602085830101116100a1576100939361008e9160208086019101610101565b610124565b60405160d190816103698239f35b600080fd5b634e487b7160e01b600052604160045260246000fd5b6040519190601f01601f191682016001600160401b038111838210176100e157604052565b6100a6565b6001600160401b0381116100e157601f01601f191660200190565b60005b8381106101145750506000910152565b8181015183820152602001610104565b803b156101bd577f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc80546001600160a01b0319166001600160a01b0383169081179091557fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b600080a28151158015906101b5575b6101a0575050565b6101b2916101ac610218565b91610271565b50565b506000610198565b60405162461bcd60e51b815260206004820152602d60248201527f455243313936373a206e657720696d706c656d656e746174696f6e206973206e60448201526c1bdd08184818dbdb9d1c9858dd609a1b6064820152608490fd5b60405190606082016001600160401b038111838210176100e15760405260278252660819985a5b195960ca1b6040837f416464726573733a206c6f772d6c6576656c2064656c65676174652063616c6c60208201520152565b9190823b156102ba576000816102af9460208394519201905af43d156102b2573d9061029f610066836100e6565b9182523d6000602084013e61030e565b90565b60609061030e565b60405162461bcd60e51b815260206004820152602660248201527f416464726573733a2064656c65676174652063616c6c20746f206e6f6e2d636f6044820152651b9d1c9858dd60d21b6064820152608490fd5b9091901561031a575090565b81511561032a5750805190602001fd5b6044604051809262461bcd60e51b82526020600483015261035a8151809281602486015260208686019101610101565b601f01601f19168101030190fdfe608060405236156054577f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc54600090819081906001600160a01b0316368280378136915af43d82803e156050573d90f35b3d90fd5b7f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc54600090819081906001600160a01b0316368280378136915af43d82803e156050573d90f3fea264697066735822122013af79d9ddf7f8ef5acb465856d2137c94c57b3feda78f9ff28cc2141614c8d064736f6c63430008160033", + Bin: "0x608060405261042b80380380610014816100b9565b92833981016040828203126100a1578151916001600160a01b03831683036100a1576020810151906001600160401b0382116100a157019181601f840112156100a15782519261006b610066856100e3565b6100b9565b92848452602085830101116100a1576100939361008e91602080860191016100fe565b61011f565b60405160cb90816103608239f35b5f80fd5b634e487b7160e01b5f52604160045260245ffd5b6040519190601f01601f191682016001600160401b038111838210176100de57604052565b6100a5565b6001600160401b0381116100de57601f01601f191660200190565b5f5b83811061010f5750505f910152565b8181015183820152602001610100565b803b156101b6577f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc80546001600160a01b0319166001600160a01b0383169081179091557fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b5f80a28151158015906101af575b61019a575050565b6101ac916101a6610211565b9161026a565b50565b505f610192565b60405162461bcd60e51b815260206004820152602d60248201527f455243313936373a206e657720696d706c656d656e746174696f6e206973206e60448201526c1bdd08184818dbdb9d1c9858dd609a1b6064820152608490fd5b60405190606082016001600160401b038111838210176100de5760405260278252660819985a5b195960ca1b6040837f416464726573733a206c6f772d6c6576656c2064656c65676174652063616c6c60208201520152565b9190823b156102b1575f816102a69460208394519201905af43d156102a9573d90610297610066836100e3565b9182523d5f602084013e610305565b90565b606090610305565b60405162461bcd60e51b815260206004820152602660248201527f416464726573733a2064656c65676174652063616c6c20746f206e6f6e2d636f6044820152651b9d1c9858dd60d21b6064820152608490fd5b90919015610311575090565b8151156103215750805190602001fd5b6044604051809262461bcd60e51b82526020600483015261035181518092816024860152602086860191016100fe565b601f01601f19168101030190fdfe608060405236156051577f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc545f9081906001600160a01b0316368280378136915af43d5f803e15604d573d5ff35b3d5ffd5b7f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc545f9081906001600160a01b0316368280378136915af43d5f803e15604d573d5ff3fea2646970667358221220543bb5ffb3e470f9beceed65213f23c5b59979cbd5b74baf8e41442d1836bf4b64736f6c63430008160033", } // WrappersABI is the input ABI used to generate the binding from.