diff --git a/.gitignore b/.gitignore index 32018d9d..02c50e55 100644 --- a/.gitignore +++ b/.gitignore @@ -12,6 +12,8 @@ node_modules/ !.env*.default .vscode/* !.vscode/settings.json.default +.idea/ +*.iml cache/ artifacts/ diff --git a/extendedArtifacts/Diamantaire.json b/extendedArtifacts/Diamantaire.json index aa8675fd..5b4874cb 100644 --- a/extendedArtifacts/Diamantaire.json +++ b/extendedArtifacts/Diamantaire.json @@ -1,6 +1,6 @@ { "contractName": "Diamantaire", - "sourceName": "solc_0.7/diamond/Diamantaire.sol", + "sourceName": "solc_0.8/diamond/Diamantaire.sol", "abi": [ { "inputs": [], @@ -72,8 +72,8 @@ "type": "function" } ], - "bytecode": "0x60806040523480156200001157600080fd5b5060606000604051620000249062000486565b604051809103906000f08015801562000041573d6000803e3d6000fd5b5060408051600180825281830190925291925060208083019080368337019050509150631f931c1c60e01b826000815181106200007a57fe5b6001600160e01b031992909216602092830291909101820152604080516060810182526001600160a01b038481168252600093820184815292820186905283546001810185559380528151600080516020620062a083398151915260029586020180546001600160a01b0319169190921617808255925191939092839160ff60a01b1990911690600160a01b9084908111156200011357fe5b0217905550604082015180516200013591600184019160209091019062000494565b5050506000604051620001489062000547565b604051809103906000f08015801562000165573d6000803e3d6000fd5b5060408051600580825260c082019092529192506020820160a08036833701905050925063adfca15e60e01b836000815181106200019f57fe5b6001600160e01b0319909216602092830291909101909101528251637a0ed62760e01b9084906001908110620001d157fe5b6001600160e01b03199092166020928302919091019091015282516366ffd66360e11b90849060029081106200020357fe5b6001600160e01b03199092166020928302919091019091015282516314bbdacb60e21b90849060039081106200023557fe5b6001600160e01b03199092166020928302919091019091015282516301ffc9a760e01b90849060049081106200026757fe5b6001600160e01b031992909216602092830291909101820152604080516060810182526001600160a01b038481168252600093820184815292820187905283546001810185559380528151600080516020620062a083398151915260029586020180546001600160a01b0319169190921617808255925191939092839160ff60a01b1990911690600160a01b9084908111156200030057fe5b0217905550604082015180516200032291600184019160209091019062000494565b5050506000604051620003359062000555565b604051809103906000f08015801562000352573d6000803e3d6000fd5b50604080516002808252606082018352929350919060208301908036833701905050935063f2fde38b60e01b846000815181106200038c57fe5b6001600160e01b0319909216602092830291909101909101528351638da5cb5b60e01b9085906001908110620003be57fe5b6001600160e01b031992909216602092830291909101820152604080516060810182526001600160a01b038481168252600093820184815292820188905283546001810185559380528151600080516020620062a083398151915260029586020180546001600160a01b0319169190921617808255925191939092839160ff60a01b1990911690600160a01b9084908111156200045757fe5b0217905550604082015180516200047991600184019160209091019062000494565b505050505050506200057a565b611b228062003d9383390190565b82805482825590600052602060002090600701600890048101928215620005355791602002820160005b838211156200050157835183826101000a81548163ffffffff021916908360e01c02179055509260200192600401602081600301049283019260010302620004be565b8015620005335782816101000a81549063ffffffff021916905560040160208160030104928301926001030262000501565b505b506200054392915062000563565b5090565b61073d80620058b583390190565b6102ae8062005ff283390190565b5b8082111562000543576000815560010162000564565b613809806200058a6000396000f3fe608060405260043610620000205760003560e01c8063ccc2e3161462000025575b600080fd5b6200003c620000363660046200031a565b62000054565b6040516200004b919062000524565b60405180910390f35b60008115620000f957818760405160200162000072929190620004f1565b604051602081830303815290604052805190602001209150348290600060405180602001604052803073ffffffffffffffffffffffffffffffffffffffff16815250604051620000c29062000298565b620000cf929190620006cc565b82906040518091039083f591505080158015620000f0573d6000803e3d6000fd5b50905062000147565b6040805160208101825230815290513491600091620001189062000298565b62000125929190620006cc565b6040518091039082f090508015801562000143573d6000803e3d6000fd5b5090505b7f644ca5b0a8b0418e9faf3880659eeb84eaad45ad838b0173808e5ca72f5efc498160405162000178919062000524565b60405180910390a173ffffffffffffffffffffffffffffffffffffffff8116631f931c1c878786620001ac576000620001ae565b845b88886040518663ffffffff1660e01b8152600401620001d295949392919062000545565b600060405180830381600087803b158015620001ed57600080fd5b505af115801562000202573d6000803e3d6000fd5b50506040517ff2fde38b00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff8416925063f2fde38b91506200025a908a9060040162000524565b600060405180830381600087803b1580156200027557600080fd5b505af11580156200028a573d6000803e3d6000fd5b505050509695505050505050565b612d458062000a8f83390190565b803573ffffffffffffffffffffffffffffffffffffffff81168114620002cb57600080fd5b919050565b60008083601f840112620002e2578182fd5b50813567ffffffffffffffff811115620002fa578182fd5b6020830191508360208285010111156200031357600080fd5b9250929050565b6000806000806000806080878903121562000333578182fd5b6200033e87620002a6565b9550602087013567ffffffffffffffff808211156200035b578384fd5b818901915089601f8301126200036f578384fd5b8135818111156200037e578485fd5b8a6020808302850101111562000392578485fd5b602083019750809650506040890135915080821115620003b0578384fd5b50620003bf89828a01620002d0565b979a9699509497949695606090950135949350505050565b73ffffffffffffffffffffffffffffffffffffffff169052565b60008284526020808501945082825b858110156200044e5781357fffffffff0000000000000000000000000000000000000000000000000000000081168082146200043a578586fd5b885250958201959082019060010162000400565b509495945050505050565b7fffffffff00000000000000000000000000000000000000000000000000000000169052565b600082845282826020860137806020848601015260207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f85011685010190509392505050565b60038110620004d257fe5b9052565b5173ffffffffffffffffffffffffffffffffffffffff169052565b91825260601b7fffffffffffffffffffffffffffffffffffffffff00000000000000000000000016602082015260340190565b73ffffffffffffffffffffffffffffffffffffffff91909116815260200190565b60608082528181018690526000906020608080850190828a028601018a855b8b81101562000698577fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8088840301845281357fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffa18e3603018112620005c6578788fd5b8d0173ffffffffffffffffffffffffffffffffffffffff620005e882620002a6565b1684528581013560038110620005fc578889fd5b6200060a87860182620004c7565b506040808201357fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe18336030181126200064157898afd5b8201803567ffffffffffffffff8111156200065a578a8bfd5b88810236038413156200066b578a8bfd5b8983880152620006818a8801828b8501620003f1565b978901979650505092860192505060010162000564565b5050620006a88387018a620003d7565b8581036040870152620006bd81888a6200047f565b9b9a5050505050505050505050565b60006040825260408201845480825260608401915060206060818302860101878552818520855b8481101562000a5b577fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffa0888403018652815473ffffffffffffffffffffffffffffffffffffffff811684526200075285850160ff8360a01c16620004c7565b5060018083016060604086015260608501815462000771818362000a85565b91506200077e8362000a79565b92508a5b816007820110156200085e5783546200079f848260e01b62000459565b7fffffffff00000000000000000000000000000000000000000000000000000000620007d38b8601828460c01b1662000459565b620007e760408601828460a01b1662000459565b620007fb60608601828460801b1662000459565b6200080f60808601828460601b1662000459565b6200082360a08601828460401b1662000459565b6200083660c0860182848e1b1662000459565b6200084760e0860182841662000459565b505092840192610100929092019160080162000782565b92549281811015620008805762000879838560e01b62000459565b9188019184015b81811015620008c157620008ba837fffffffff000000000000000000000000000000000000000000000000000000008660c01b1662000459565b9188019184015b818110156200090257620008fb837fffffffff000000000000000000000000000000000000000000000000000000008660a01b1662000459565b9188019184015b8181101562000943576200093c837fffffffff000000000000000000000000000000000000000000000000000000008660801b1662000459565b9188019184015b8181101562000984576200097d837fffffffff000000000000000000000000000000000000000000000000000000008660601b1662000459565b9188019184015b81811015620009c557620009be837fffffffff000000000000000000000000000000000000000000000000000000008660401b1662000459565b9188019184015b8181101562000a0557620009fe837fffffffff00000000000000000000000000000000000000000000000000000000868c1b1662000459565b9188019184015b8181101562000a415762000a3c837fffffffff00000000000000000000000000000000000000000000000000000000861662000459565b918801915b5050978601979450505060029190910190600101620006f3565b50508094505062000a6f81860187620004d6565b5050509392505050565b60009081526020902090565b9081526020019056fe608060405260405162002d4538038062002d45833981016040819052620000269162000db2565b604080516000808252602082019092526200004e918491620000f560201b620000db1760201c565b620000688160000151620002b560201b6200027d1760201c565b60006200007f6200031760201b620003021760201c565b6301ffc9a760e01b600090815260039091016020526040808220805460ff1990811660019081179092556307e4c70760e21b845282842080548216831790556348e2b09360e01b845282842080548216831790556307f5828d60e41b845291909220805490911690911790555062001442915050565b60005b8351811015620002665760008482815181106200011157fe5b6020026020010151602001519050600060028111156200012d57fe5b8160028111156200013a57fe5b14156200018957620001838583815181106200015257fe5b6020026020010151600001518684815181106200016b57fe5b6020026020010151604001516200033b60201b60201c565b6200025c565b60018160028111156200019857fe5b1415620001e15762000183858381518110620001b057fe5b602002602001015160000151868481518110620001c957fe5b6020026020010151604001516200054e60201b60201c565b6002816002811115620001f057fe5b14156200023957620001838583815181106200020857fe5b6020026020010151600001518684815181106200022157fe5b6020026020010151604001516200077860201b60201c565b60405162461bcd60e51b815260040162000253906200117c565b60405180910390fd5b50600101620000f8565b507f8faa70878671ccd212d20771b795c50af8fd3ff6cf27f4bde57e5d4de0aeb6738383836040516200029c9392919062000f25565b60405180910390a1620002b082826200083f565b505050565b6000620002c162000317565b6004810180546001600160a01b038581166001600160a01b031983168117909355604051939450169182907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3505050565b7fc8fcad8db84d3cc18b4c41d551ea0ee66dd599cde068d998e57d5e09332c131c90565b60008151116200035f5760405162461bcd60e51b81526004016200025390620010d4565b60006200036b62000317565b90506001600160a01b038316620003965760405162461bcd60e51b81526004016200025390620011c3565b6001600160a01b038316600090815260018201602052604090205461ffff81166200043c57620003e08460405180606001604052806024815260200162002d21602491396200097c565b6002820180546001600160a01b038616600081815260018087016020908152604083208201805461ffff191661ffff90961695909517909455845490810185559381529190912090910180546001600160a01b03191690911790555b60005b8351811015620005475760008482815181106200045857fe5b6020908102919091018101516001600160e01b031981166000908152918690526040909120549091506001600160a01b03168015620004ab5760405162461bcd60e51b81526004016200025390620012ba565b506001600160a01b0386166000818152600186810160209081526040808420805480850182559085528285206008820401805463ffffffff60079093166004026101000a928302191660e089901c929092029190911790556001600160e01b0319909516835287905292902080546001600160a01b03191690911761ffff60a01b1916600160a01b61ffff86160217905591820191016200043f565b5050505050565b6000815111620005725760405162461bcd60e51b81526004016200025390620010d4565b60006200057e62000317565b90506001600160a01b038316620005a95760405162461bcd60e51b81526004016200025390620011c3565b6001600160a01b038316600090815260018201602052604090205461ffff81166200064f57620005f38460405180606001604052806024815260200162002d21602491396200097c565b6002820180546001600160a01b038616600081815260018087016020908152604083208201805461ffff191661ffff90961695909517909455845490810185559381529190912090910180546001600160a01b03191690911790555b60005b8351811015620005475760008482815181106200066b57fe5b6020908102919091018101516001600160e01b031981166000908152918690526040909120549091506001600160a01b03908116908716811415620006c45760405162461bcd60e51b8152600401620002539062001317565b620006d08183620009a0565b506001600160e01b03198116600081815260208681526040808320805461ffff60a01b1916600160a01b61ffff8a16021781556001600160a01b038b168085526001808b018552928520805480850182559086528486206008820401805463ffffffff60079093166004026101000a928302191660e09990991c91909102979097179096559390925286905281546001600160a01b0319169092179055918201910162000652565b60008151116200079c5760405162461bcd60e51b81526004016200025390620010d4565b6000620007a862000317565b90506001600160a01b03831615620007d45760405162461bcd60e51b8152600401620002539062001374565b60005b825181101562000839576000838281518110620007f057fe5b6020908102919091018101516001600160e01b031981166000908152918590526040909120549091506001600160a01b03166200082e8183620009a0565b5050600101620007d7565b50505050565b6001600160a01b0382166200087657805115620008705760405162461bcd60e51b8152600401620002539062001031565b62000978565b60008151116200089a5760405162461bcd60e51b815260040162000253906200120f565b6001600160a01b0382163014620008d057620008d08260405180606001604052806028815260200162002cf9602891396200097c565b600080836001600160a01b031683604051620008ed919062000f07565b600060405180830381855af49150503d80600081146200092a576040519150601f19603f3d011682016040523d82523d6000602084013e6200092f565b606091505b50915091508162000839578051156200095e578060405162461bcd60e51b815260040162000253919062001015565b60405162461bcd60e51b815260040162000253906200108e565b5050565b813b8181620008395760405162461bcd60e51b815260040162000253919062001015565b6000620009ac62000317565b90506001600160a01b038316620009d75760405162461bcd60e51b815260040162000253906200111f565b6001600160a01b03831630141562000a035760405162461bcd60e51b815260040162000253906200126c565b6001600160e01b03198216600090815260208281526040808320546001600160a01b03871684526001850190925290912054600160a01b90910461ffff16906000190180821462000b27576001600160a01b0385166000908152600184016020526040812080548390811062000a7557fe5b600091825260208083206008830401546001600160a01b038a168452600188019091526040909220805460079092166004026101000a90920460e01b92508291908590811062000ac157fe5b600091825260208083206008830401805463ffffffff60079094166004026101000a938402191660e09590951c929092029390931790556001600160e01b031992909216825284905260409020805461ffff60a01b1916600160a01b61ffff8516021790555b6001600160a01b0385166000908152600184016020526040902080548062000b4b57fe5b60008281526020808220600860001990940193840401805463ffffffff600460078716026101000a0219169055919092556001600160e01b0319861682528490526040902080546001600160b01b031916905580620005475760028301546001600160a01b03861660009081526001858101602052604090912001546000199091019061ffff1680821462000c6357600085600201838154811062000bec57fe5b6000918252602090912001546002870180546001600160a01b03909216925082918490811062000c1857fe5b600091825260208083209190910180546001600160a01b0319166001600160a01b0394851617905592909116815260018781019092526040902001805461ffff191661ffff83161790555b8460020180548062000c7157fe5b60008281526020808220830160001990810180546001600160a01b03191690559092019092556001600160a01b03891682526001878101909152604090912001805461ffff1916905550505050505050565b80516001600160a01b038116811462000cdb57600080fd5b919050565b600082601f83011262000cf1578081fd5b8151602062000d0a62000d0483620013f5565b620013d1565b828152818101908583018385028701840188101562000d27578586fd5b855b8581101562000d5d5781516001600160e01b03198116811462000d4a578788fd5b8452928401929084019060010162000d29565b5090979650505050505050565b60006020828403121562000d7c578081fd5b604051602081016001600160401b038111828210171562000d9957fe5b60405290508062000daa8362000cc3565b905292915050565b6000806040838503121562000dc5578182fd5b82516001600160401b038082111562000ddc578384fd5b818501915085601f83011262000df0578384fd5b8151602062000e0362000d0483620013f5565b82815281810190858301885b8581101562000eaa57815188016060818e03601f1901121562000e30578a8bfd5b604051606081018181108a8211171562000e4657fe5b60405262000e5682880162000cc3565b815260408201516003811062000e6a578c8dfd5b8188015260608201518981111562000e80578c8dfd5b62000e908f898386010162000ce0565b604083015250855250928401929084019060010162000e0f565b5050809750505062000ebf8882890162000d6a565b9450505050509250929050565b6001600160a01b03169052565b6000815180845262000ef381602086016020860162001413565b601f01601f19169290920160200192915050565b6000825162000f1b81846020870162001413565b9190910192915050565b606080825284518282018190526000919060809081850190602080820287018401818b01875b8481101562000fe257898303607f19018652815180516001600160a01b0316845284810151898501906003811062000f7f57fe5b858701526040918201519185018a9052815190819052908501908a90898601905b8083101562000fcc5783516001600160e01b031916825292870192600192909201919087019062000fa0565b5097860197945050509083019060010162000f4b565b505062000ff28289018b62000ecc565b878103604089015262001006818a62000ed9565b9b9a5050505050505050505050565b6000602082526200102a602083018462000ed9565b9392505050565b6020808252603c908201527f4c69624469616d6f6e644375743a205f696e697420697320616464726573732860408201527f3029206275745f63616c6c64617461206973206e6f7420656d70747900000000606082015260800190565b60208082526026908201527f4c69624469616d6f6e644375743a205f696e69742066756e6374696f6e2072656040820152651d995c9d195960d21b606082015260800190565b6020808252602b908201527f4c69624469616d6f6e644375743a204e6f2073656c6563746f727320696e206660408201526a1858d95d081d1bc818dd5d60aa1b606082015260800190565b60208082526037908201527f4c69624469616d6f6e644375743a2043616e27742072656d6f76652066756e6360408201527f74696f6e207468617420646f65736e2774206578697374000000000000000000606082015260800190565b60208082526027908201527f4c69624469616d6f6e644375743a20496e636f727265637420466163657443756040820152663a20b1ba34b7b760c91b606082015260800190565b6020808252602c908201527f4c69624469616d6f6e644375743a204164642066616365742063616e2774206260408201526b65206164647265737328302960a01b606082015260800190565b6020808252603d908201527f4c69624469616d6f6e644375743a205f63616c6c6461746120697320656d707460408201527f7920627574205f696e6974206973206e6f742061646472657373283029000000606082015260800190565b6020808252602e908201527f4c69624469616d6f6e644375743a2043616e27742072656d6f766520696d6d7560408201526d3a30b1363290333ab731ba34b7b760911b606082015260800190565b60208082526035908201527f4c69624469616d6f6e644375743a2043616e2774206164642066756e6374696f60408201527f6e207468617420616c7265616479206578697374730000000000000000000000606082015260800190565b60208082526038908201527f4c69624469616d6f6e644375743a2043616e2774207265706c6163652066756e60408201527f6374696f6e20776974682073616d652066756e6374696f6e0000000000000000606082015260800190565b60208082526036908201527f4c69624469616d6f6e644375743a2052656d6f7665206661636574206164647260408201527f657373206d757374206265206164647265737328302900000000000000000000606082015260800190565b6040518181016001600160401b0381118282101715620013ed57fe5b604052919050565b60006001600160401b038211156200140957fe5b5060209081020190565b60005b838110156200143057818101518382015260200162001416565b83811115620008395750506000910152565b6118a780620014526000396000f3fe60806040523661000b57005b600080357fffffffff000000000000000000000000000000000000000000000000000000001681527fc8fcad8db84d3cc18b4c41d551ea0ee66dd599cde068d998e57d5e09332c131c6020819052604090912054819073ffffffffffffffffffffffffffffffffffffffff16806100b7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016100ae906115f3565b60405180910390fd5b3660008037600080366000845af43d6000803e8080156100d6573d6000f35b3d6000fd5b60005b83518110156102325760008482815181106100f557fe5b60200260200101516020015190506000600281111561011057fe5b81600281111561011c57fe5b141561015f5761015a85838151811061013157fe5b60200260200101516000015186848151811061014957fe5b602002602001015160400151610326565b610229565b600181600281111561016d57fe5b14156101ab5761015a85838151811061018257fe5b60200260200101516000015186848151811061019a57fe5b60200260200101516040015161065e565b60028160028111156101b957fe5b14156101f75761015a8583815181106101ce57fe5b6020026020010151600001518684815181106101e657fe5b6020026020010151604001516109ab565b6040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016100ae90611539565b506001016100de565b507f8faa70878671ccd212d20771b795c50af8fd3ff6cf27f4bde57e5d4de0aeb67383838360405161026693929190611282565b60405180910390a16102788282610acb565b505050565b6000610287610302565b60048101805473ffffffffffffffffffffffffffffffffffffffff8581167fffffffffffffffffffffffff000000000000000000000000000000000000000083168117909355604051939450169182907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3505050565b7fc8fcad8db84d3cc18b4c41d551ea0ee66dd599cde068d998e57d5e09332c131c90565b6000815111610361576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016100ae9061147f565b600061036b610302565b905073ffffffffffffffffffffffffffffffffffffffff83166103ba576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016100ae90611596565b73ffffffffffffffffffffffffffffffffffffffff8316600090815260018201602052604090205461ffff81166104ab5761040d8460405180606001604052806024815260200161184e60249139610c81565b60028201805473ffffffffffffffffffffffffffffffffffffffff861660008181526001808701602090815260408320820180547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00001661ffff90961695909517909455845490810185559381529190912090910180547fffffffffffffffffffffffff00000000000000000000000000000000000000001690911790555b60005b83518110156106575760008482815181106104c557fe5b6020908102919091018101517fffffffff00000000000000000000000000000000000000000000000000000000811660009081529186905260409091205490915073ffffffffffffffffffffffffffffffffffffffff168015610554576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016100ae906116e2565b5073ffffffffffffffffffffffffffffffffffffffff86166000818152600186810160209081526040808420805480850182559085528285206008820401805463ffffffff60079093166004026101000a928302191660e089901c929092029190911790557fffffffff00000000000000000000000000000000000000000000000000000000909516835287905292902080547fffffffffffffffffffffffff0000000000000000000000000000000000000000169091177fffffffffffffffffffff0000ffffffffffffffffffffffffffffffffffffffff167401000000000000000000000000000000000000000061ffff86160217905591820191016104ae565b5050505050565b6000815111610699576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016100ae9061147f565b60006106a3610302565b905073ffffffffffffffffffffffffffffffffffffffff83166106f2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016100ae90611596565b73ffffffffffffffffffffffffffffffffffffffff8316600090815260018201602052604090205461ffff81166107e3576107458460405180606001604052806024815260200161184e60249139610c81565b60028201805473ffffffffffffffffffffffffffffffffffffffff861660008181526001808701602090815260408320820180547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00001661ffff90961695909517909455845490810185559381529190912090910180547fffffffffffffffffffffffff00000000000000000000000000000000000000001690911790555b60005b83518110156106575760008482815181106107fd57fe5b6020908102919091018101517fffffffff00000000000000000000000000000000000000000000000000000000811660009081529186905260409091205490915073ffffffffffffffffffffffffffffffffffffffff908116908716811415610892576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016100ae9061173f565b61089c8183610cbc565b507fffffffff00000000000000000000000000000000000000000000000000000000811660008181526020868152604080832080547fffffffffffffffffffff0000ffffffffffffffffffffffffffffffffffffffff167401000000000000000000000000000000000000000061ffff8a160217815573ffffffffffffffffffffffffffffffffffffffff8b168085526001808b018552928520805480850182559086528486206008820401805463ffffffff60079093166004026101000a928302191660e09990991c91909102979097179096559390925286905281547fffffffffffffffffffffffff000000000000000000000000000000000000000016909217905591820191016107e6565b60008151116109e6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016100ae9061147f565b60006109f0610302565b905073ffffffffffffffffffffffffffffffffffffffff831615610a40576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016100ae9061179c565b60005b8251811015610ac5576000838281518110610a5a57fe5b6020908102919091018101517fffffffff00000000000000000000000000000000000000000000000000000000811660009081529185905260409091205490915073ffffffffffffffffffffffffffffffffffffffff16610abb8183610cbc565b5050600101610a43565b50505050565b73ffffffffffffffffffffffffffffffffffffffff8216610b2457805115610b1f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016100ae906113c5565b610c7d565b6000815111610b5f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016100ae90611628565b73ffffffffffffffffffffffffffffffffffffffff82163014610b9e57610b9e8260405180606001604052806028815260200161182660289139610c81565b6000808373ffffffffffffffffffffffffffffffffffffffff1683604051610bc69190611266565b600060405180830381855af49150503d8060008114610c01576040519150601f19603f3d011682016040523d82523d6000602084013e610c06565b606091505b509150915081610ac557805115610c4b57806040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016100ae91906113ab565b6040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016100ae90611422565b5050565b813b8181610ac5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016100ae91906113ab565b6000610cc6610302565b905073ffffffffffffffffffffffffffffffffffffffff8316610d15576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016100ae906114dc565b73ffffffffffffffffffffffffffffffffffffffff8316301415610d65576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016100ae90611685565b7fffffffff0000000000000000000000000000000000000000000000000000000082166000908152602082815260408083205473ffffffffffffffffffffffffffffffffffffffff8716845260018501909252909120547401000000000000000000000000000000000000000090910461ffff16907fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff01808214610f375773ffffffffffffffffffffffffffffffffffffffff851660009081526001840160205260408120805483908110610e3657fe5b6000918252602080832060088304015473ffffffffffffffffffffffffffffffffffffffff8a168452600188019091526040909220805460079092166004026101000a90920460e01b925082919085908110610e8e57fe5b600091825260208083206008830401805463ffffffff60079094166004026101000a938402191660e09590951c929092029390931790557fffffffff000000000000000000000000000000000000000000000000000000009290921682528490526040902080547fffffffffffffffffffff0000ffffffffffffffffffffffffffffffffffffffff167401000000000000000000000000000000000000000061ffff8516021790555b73ffffffffffffffffffffffffffffffffffffffff851660009081526001840160205260409020805480610f6757fe5b6000828152602080822060087fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff90940193840401805463ffffffff600460078716026101000a0219169055919092557fffffffff00000000000000000000000000000000000000000000000000000000861682528490526040902080547fffffffffffffffffffff000000000000000000000000000000000000000000001690558061065757600283015473ffffffffffffffffffffffffffffffffffffffff861660009081526001858101602052604090912001547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff9091019061ffff1680821461114357600085600201838154811061107e57fe5b60009182526020909120015460028701805473ffffffffffffffffffffffffffffffffffffffff90921692508291849081106110b657fe5b600091825260208083209190910180547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff9485161790559290911681526001878101909252604090200180547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00001661ffff83161790555b8460020180548061115057fe5b6000828152602080822083017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff90810180547fffffffffffffffffffffffff000000000000000000000000000000000000000016905590920190925573ffffffffffffffffffffffffffffffffffffffff89168252600187810190915260409091200180547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff000016905550505050505050565b73ffffffffffffffffffffffffffffffffffffffff169052565b600081518084526112348160208601602086016117f9565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160200192915050565b600082516112788184602087016117f9565b9190910192915050565b606080825284518282018190526000919060809081850190602080820287018401818b01875b8481101561137c577fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff808a8403018652815188840173ffffffffffffffffffffffffffffffffffffffff8251168552858201516003811061130457fe5b858701526040918201519185018a9052815190819052908501908a90898601905b808310156113675783517fffffffff00000000000000000000000000000000000000000000000000000000168252928701926001929092019190870190611325565b509786019794505050908301906001016112a8565b505061138a8289018b611202565b878103604089015261139c818a61121c565b9b9a5050505050505050505050565b6000602082526113be602083018461121c565b9392505050565b6020808252603c908201527f4c69624469616d6f6e644375743a205f696e697420697320616464726573732860408201527f3029206275745f63616c6c64617461206973206e6f7420656d70747900000000606082015260800190565b60208082526026908201527f4c69624469616d6f6e644375743a205f696e69742066756e6374696f6e20726560408201527f7665727465640000000000000000000000000000000000000000000000000000606082015260800190565b6020808252602b908201527f4c69624469616d6f6e644375743a204e6f2073656c6563746f727320696e206660408201527f6163657420746f20637574000000000000000000000000000000000000000000606082015260800190565b60208082526037908201527f4c69624469616d6f6e644375743a2043616e27742072656d6f76652066756e6360408201527f74696f6e207468617420646f65736e2774206578697374000000000000000000606082015260800190565b60208082526027908201527f4c69624469616d6f6e644375743a20496e636f7272656374204661636574437560408201527f74416374696f6e00000000000000000000000000000000000000000000000000606082015260800190565b6020808252602c908201527f4c69624469616d6f6e644375743a204164642066616365742063616e2774206260408201527f6520616464726573732830290000000000000000000000000000000000000000606082015260800190565b6020808252818101527f4469616d6f6e643a2046756e6374696f6e20646f6573206e6f74206578697374604082015260600190565b6020808252603d908201527f4c69624469616d6f6e644375743a205f63616c6c6461746120697320656d707460408201527f7920627574205f696e6974206973206e6f742061646472657373283029000000606082015260800190565b6020808252602e908201527f4c69624469616d6f6e644375743a2043616e27742072656d6f766520696d6d7560408201527f7461626c652066756e6374696f6e000000000000000000000000000000000000606082015260800190565b60208082526035908201527f4c69624469616d6f6e644375743a2043616e2774206164642066756e6374696f60408201527f6e207468617420616c7265616479206578697374730000000000000000000000606082015260800190565b60208082526038908201527f4c69624469616d6f6e644375743a2043616e2774207265706c6163652066756e60408201527f6374696f6e20776974682073616d652066756e6374696f6e0000000000000000606082015260800190565b60208082526036908201527f4c69624469616d6f6e644375743a2052656d6f7665206661636574206164647260408201527f657373206d757374206265206164647265737328302900000000000000000000606082015260800190565b60005b838110156118145781810151838201526020016117fc565b83811115610ac5575050600091015256fe4c69624469616d6f6e644375743a205f696e6974206164647265737320686173206e6f20636f64654c69624469616d6f6e644375743a204e657720666163657420686173206e6f20636f6465a264697066735822122054a3c3a118803545231f43700030cb5e290869be0182196a4a05e7d4a1b71d7e64736f6c634300070600334c69624469616d6f6e644375743a205f696e6974206164647265737320686173206e6f20636f64654c69624469616d6f6e644375743a204e657720666163657420686173206e6f20636f6465a2646970667358221220a779f3d6a1861424e4a8869f0d4dd286296655589c48f5124a3fb585fe4e8b7664736f6c63430007060033608060405234801561001057600080fd5b50611b02806100206000396000f3fe608060405234801561001057600080fd5b506004361061002b5760003560e01c80631f931c1c14610030575b600080fd5b61004361003e366004611260565b610045565b005b61004d61009e565b61009761005a8587611993565b8484848080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525061010392505050565b5050505050565b6100a66102a5565b6004015473ffffffffffffffffffffffffffffffffffffffff163314610101576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016100f8906115af565b60405180910390fd5b565b60005b835181101561025a57600084828151811061011d57fe5b60200260200101516020015190506000600281111561013857fe5b81600281111561014457fe5b14156101875761018285838151811061015957fe5b60200260200101516000015186848151811061017157fe5b6020026020010151604001516102c9565b610251565b600181600281111561019557fe5b14156101d3576101828583815181106101aa57fe5b6020026020010151600001518684815181106101c257fe5b6020026020010151604001516105fa565b60028160028111156101e157fe5b141561021f576101828583815181106101f657fe5b60200260200101516000015186848151811061020e57fe5b602002602001015160400151610947565b6040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016100f8906116c6565b50600101610106565b507f8faa70878671ccd212d20771b795c50af8fd3ff6cf27f4bde57e5d4de0aeb67383838360405161028e939291906113b2565b60405180910390a16102a08282610a67565b505050565b7fc8fcad8db84d3cc18b4c41d551ea0ee66dd599cde068d998e57d5e09332c131c90565b6000815111610304576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016100f89061160c565b600061030e6102a5565b905073ffffffffffffffffffffffffffffffffffffffff831661035d576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016100f890611723565b73ffffffffffffffffffffffffffffffffffffffff8316600090815260018201602052604090205461ffff811661044e576103b084604051806060016040528060248152602001611aa960249139610c1d565b60028201805473ffffffffffffffffffffffffffffffffffffffff861660008181526001808701602090815260408320820180547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00001661ffff90961695909517909455845490810185559381529190912090910180547fffffffffffffffffffffffff00000000000000000000000000000000000000001690911790555b60005b835181101561009757600084828151811061046857fe5b6020908102919091018101517fffffffff00000000000000000000000000000000000000000000000000000000811660009081529186905260409091205490915073ffffffffffffffffffffffffffffffffffffffff1680156104f7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016100f89061183a565b5073ffffffffffffffffffffffffffffffffffffffff86166000818152600186810160209081526040808420805480850182559085528285206008820401805463ffffffff60079093166004026101000a928302191660e089901c929092029190911790557fffffffff00000000000000000000000000000000000000000000000000000000909516835287905292902080547fffffffffffffffffffffffff0000000000000000000000000000000000000000169091177fffffffffffffffffffff0000ffffffffffffffffffffffffffffffffffffffff167401000000000000000000000000000000000000000061ffff8616021790559182019101610451565b6000815111610635576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016100f89061160c565b600061063f6102a5565b905073ffffffffffffffffffffffffffffffffffffffff831661068e576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016100f890611723565b73ffffffffffffffffffffffffffffffffffffffff8316600090815260018201602052604090205461ffff811661077f576106e184604051806060016040528060248152602001611aa960249139610c1d565b60028201805473ffffffffffffffffffffffffffffffffffffffff861660008181526001808701602090815260408320820180547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00001661ffff90961695909517909455845490810185559381529190912090910180547fffffffffffffffffffffffff00000000000000000000000000000000000000001690911790555b60005b835181101561009757600084828151811061079957fe5b6020908102919091018101517fffffffff00000000000000000000000000000000000000000000000000000000811660009081529186905260409091205490915073ffffffffffffffffffffffffffffffffffffffff90811690871681141561082e576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016100f890611897565b6108388183610c58565b507fffffffff00000000000000000000000000000000000000000000000000000000811660008181526020868152604080832080547fffffffffffffffffffff0000ffffffffffffffffffffffffffffffffffffffff167401000000000000000000000000000000000000000061ffff8a160217815573ffffffffffffffffffffffffffffffffffffffff8b168085526001808b018552928520805480850182559086528486206008820401805463ffffffff60079093166004026101000a928302191660e09990991c91909102979097179096559390925286905281547fffffffffffffffffffffffff00000000000000000000000000000000000000001690921790559182019101610782565b6000815111610982576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016100f89061160c565b600061098c6102a5565b905073ffffffffffffffffffffffffffffffffffffffff8316156109dc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016100f8906118f4565b60005b8251811015610a615760008382815181106109f657fe5b6020908102919091018101517fffffffff00000000000000000000000000000000000000000000000000000000811660009081529185905260409091205490915073ffffffffffffffffffffffffffffffffffffffff16610a578183610c58565b50506001016109df565b50505050565b73ffffffffffffffffffffffffffffffffffffffff8216610ac057805115610abb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016100f8906114f5565b610c19565b6000815111610afb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016100f890611780565b73ffffffffffffffffffffffffffffffffffffffff82163014610b3a57610b3a82604051806060016040528060288152602001611a8160289139610c1d565b6000808373ffffffffffffffffffffffffffffffffffffffff1683604051610b629190611396565b600060405180830381855af49150503d8060008114610b9d576040519150601f19603f3d011682016040523d82523d6000602084013e610ba2565b606091505b509150915081610a6157805115610be757806040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016100f891906114db565b6040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016100f890611552565b5050565b813b8181610a61576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016100f891906114db565b6000610c626102a5565b905073ffffffffffffffffffffffffffffffffffffffff8316610cb1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016100f890611669565b73ffffffffffffffffffffffffffffffffffffffff8316301415610d01576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016100f8906117dd565b7fffffffff0000000000000000000000000000000000000000000000000000000082166000908152602082815260408083205473ffffffffffffffffffffffffffffffffffffffff8716845260018501909252909120547401000000000000000000000000000000000000000090910461ffff16907fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff01808214610ed35773ffffffffffffffffffffffffffffffffffffffff851660009081526001840160205260408120805483908110610dd257fe5b6000918252602080832060088304015473ffffffffffffffffffffffffffffffffffffffff8a168452600188019091526040909220805460079092166004026101000a90920460e01b925082919085908110610e2a57fe5b600091825260208083206008830401805463ffffffff60079094166004026101000a938402191660e09590951c929092029390931790557fffffffff000000000000000000000000000000000000000000000000000000009290921682528490526040902080547fffffffffffffffffffff0000ffffffffffffffffffffffffffffffffffffffff167401000000000000000000000000000000000000000061ffff8516021790555b73ffffffffffffffffffffffffffffffffffffffff851660009081526001840160205260409020805480610f0357fe5b6000828152602080822060087fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff90940193840401805463ffffffff600460078716026101000a0219169055919092557fffffffff00000000000000000000000000000000000000000000000000000000861682528490526040902080547fffffffffffffffffffff000000000000000000000000000000000000000000001690558061009757600283015473ffffffffffffffffffffffffffffffffffffffff861660009081526001858101602052604090912001547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff9091019061ffff168082146110df57600085600201838154811061101a57fe5b60009182526020909120015460028701805473ffffffffffffffffffffffffffffffffffffffff909216925082918490811061105257fe5b600091825260208083209190910180547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff9485161790559290911681526001878101909252604090200180547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00001661ffff83161790555b846002018054806110ec57fe5b6000828152602080822083017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff90810180547fffffffffffffffffffffffff000000000000000000000000000000000000000016905590920190925573ffffffffffffffffffffffffffffffffffffffff89168252600187810190915260409091200180547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff000016905550505050505050565b803573ffffffffffffffffffffffffffffffffffffffff811681146111c257600080fd5b919050565b600082601f8301126111d7578081fd5b813560206111ec6111e783611975565b611951565b8281528181019085830183850287018401881015611208578586fd5b855b858110156112535781357fffffffff0000000000000000000000000000000000000000000000000000000081168114611241578788fd5b8452928401929084019060010161120a565b5090979650505050505050565b600080600080600060608688031215611277578081fd5b853567ffffffffffffffff8082111561128e578283fd5b818801915088601f8301126112a1578283fd5b8135818111156112af578384fd5b60208a8182840286010111156112c3578485fd5b80840198508197506112d6818b0161119e565b965060408a01359350828411156112eb578485fd5b838a0193508a601f8501126112fe578485fd5b833591508282111561130e578485fd5b8a8183860101111561131e578485fd5b979a96995094975050909401935090919050565b73ffffffffffffffffffffffffffffffffffffffff169052565b60008151808452611364816020860160208601611a54565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160200192915050565b600082516113a8818460208701611a54565b9190910192915050565b606080825284518282018190526000919060809081850190602080820287018401818b01875b848110156114ac577fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff808a8403018652815188840173ffffffffffffffffffffffffffffffffffffffff8251168552858201516003811061143457fe5b858701526040918201519185018a9052815190819052908501908a90898601905b808310156114975783517fffffffff00000000000000000000000000000000000000000000000000000000168252928701926001929092019190870190611455565b509786019794505050908301906001016113d8565b50506114ba8289018b611332565b87810360408901526114cc818a61134c565b9b9a5050505050505050505050565b6000602082526114ee602083018461134c565b9392505050565b6020808252603c908201527f4c69624469616d6f6e644375743a205f696e697420697320616464726573732860408201527f3029206275745f63616c6c64617461206973206e6f7420656d70747900000000606082015260800190565b60208082526026908201527f4c69624469616d6f6e644375743a205f696e69742066756e6374696f6e20726560408201527f7665727465640000000000000000000000000000000000000000000000000000606082015260800190565b60208082526022908201527f4c69624469616d6f6e643a204d75737420626520636f6e7472616374206f776e60408201527f6572000000000000000000000000000000000000000000000000000000000000606082015260800190565b6020808252602b908201527f4c69624469616d6f6e644375743a204e6f2073656c6563746f727320696e206660408201527f6163657420746f20637574000000000000000000000000000000000000000000606082015260800190565b60208082526037908201527f4c69624469616d6f6e644375743a2043616e27742072656d6f76652066756e6360408201527f74696f6e207468617420646f65736e2774206578697374000000000000000000606082015260800190565b60208082526027908201527f4c69624469616d6f6e644375743a20496e636f7272656374204661636574437560408201527f74416374696f6e00000000000000000000000000000000000000000000000000606082015260800190565b6020808252602c908201527f4c69624469616d6f6e644375743a204164642066616365742063616e2774206260408201527f6520616464726573732830290000000000000000000000000000000000000000606082015260800190565b6020808252603d908201527f4c69624469616d6f6e644375743a205f63616c6c6461746120697320656d707460408201527f7920627574205f696e6974206973206e6f742061646472657373283029000000606082015260800190565b6020808252602e908201527f4c69624469616d6f6e644375743a2043616e27742072656d6f766520696d6d7560408201527f7461626c652066756e6374696f6e000000000000000000000000000000000000606082015260800190565b60208082526035908201527f4c69624469616d6f6e644375743a2043616e2774206164642066756e6374696f60408201527f6e207468617420616c7265616479206578697374730000000000000000000000606082015260800190565b60208082526038908201527f4c69624469616d6f6e644375743a2043616e2774207265706c6163652066756e60408201527f6374696f6e20776974682073616d652066756e6374696f6e0000000000000000606082015260800190565b60208082526036908201527f4c69624469616d6f6e644375743a2052656d6f7665206661636574206164647260408201527f657373206d757374206265206164647265737328302900000000000000000000606082015260800190565b60405181810167ffffffffffffffff8111828210171561196d57fe5b604052919050565b600067ffffffffffffffff82111561198957fe5b5060209081020190565b60006119a16111e784611975565b8381526020808201919084845b87811015611a48578135870160608082360312156119ca578788fd5b604080519182019167ffffffffffffffff80841182851017156119e957fe5b8383526119f58561119e565b825287850135935060038410611a09578a8bfd5b838883015282850135935080841115611a20578a8bfd5b50611a2d368486016111c7565b918101919091528752505093820193908201906001016119ae565b50919695505050505050565b60005b83811015611a6f578181015183820152602001611a57565b83811115610a61575050600091015256fe4c69624469616d6f6e644375743a205f696e6974206164647265737320686173206e6f20636f64654c69624469616d6f6e644375743a204e657720666163657420686173206e6f20636f6465a26469706673582212201054dec537d95010fa7c5e1911dd66af99cadad1565cb9a7dc56139c3d2c40f164736f6c63430007060033608060405234801561001057600080fd5b5061071d806100206000396000f3fe608060405234801561001057600080fd5b50600436106100675760003560e01c80637a0ed627116100505780637a0ed627146100aa578063adfca15e146100bf578063cdffacc6146100df57610067565b806301ffc9a71461006c57806352ef6b2c14610095575b600080fd5b61007f61007a36600461050d565b6100ff565b60405161008c91906106dc565b60405180910390f35b61009d61014a565b60405161008c91906105ca565b6100b26101c3565b60405161008c9190610637565b6100d26100cd3660046104d2565b610370565b60405161008c9190610624565b6100f26100ed36600461050d565b61043c565b60405161008c91906105a9565b60008061010a610496565b7fffffffff00000000000000000000000000000000000000000000000000000000841660009081526003909101602052604090205460ff16915050919050565b60606000610156610496565b600281018054604080516020808402820181019092528281529394508301828280156101b857602002820191906000526020600020905b815473ffffffffffffffffffffffffffffffffffffffff16815260019091019060200180831161018d575b505050505091505090565b606060006101cf610496565b60028101549091508067ffffffffffffffff811180156101ee57600080fd5b5060405190808252806020026020018201604052801561022857816020015b6102156104ba565b81526020019060019003908161020d5790505b50925060005b8181101561036a57600083600201828154811061024757fe5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690508085838151811061028157fe5b60209081029190910181015173ffffffffffffffffffffffffffffffffffffffff928316905290821660009081526001860182526040908190208054825181850281018501909352808352919290919083018282801561034257602002820191906000526020600020906000905b82829054906101000a900460e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916815260200190600401906020826003010492830192600103820291508084116102ef5790505b505050505085838151811061035357fe5b60209081029190910181015101525060010161022e565b50505090565b6060600061037c610496565b73ffffffffffffffffffffffffffffffffffffffff84166000908152600182016020908152604091829020805483518184028101840190945280845293945091929083018282801561042f57602002820191906000526020600020906000905b82829054906101000a900460e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916815260200190600401906020826003010492830192600103820291508084116103dc5790505b5050505050915050919050565b600080610447610496565b7fffffffff0000000000000000000000000000000000000000000000000000000090931660009081526020939093525050604090205473ffffffffffffffffffffffffffffffffffffffff1690565b7fc8fcad8db84d3cc18b4c41d551ea0ee66dd599cde068d998e57d5e09332c131c90565b60408051808201909152600081526060602082015290565b6000602082840312156104e3578081fd5b813573ffffffffffffffffffffffffffffffffffffffff81168114610506578182fd5b9392505050565b60006020828403121561051e578081fd5b81357fffffffff0000000000000000000000000000000000000000000000000000000081168114610506578182fd5b6000815180845260208085019450808401835b8381101561059e5781517fffffffff000000000000000000000000000000000000000000000000000000001687529582019590820190600101610560565b509495945050505050565b73ffffffffffffffffffffffffffffffffffffffff91909116815260200190565b6020808252825182820181905260009190848201906040850190845b8181101561061857835173ffffffffffffffffffffffffffffffffffffffff16835292840192918401916001016105e6565b50909695505050505050565b600060208252610506602083018461054d565b60208082528251828201819052600091906040908185019080840286018301878501865b838110156106ce578883037fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc00185528151805173ffffffffffffffffffffffffffffffffffffffff1684528701518784018790526106bb8785018261054d565b958801959350509086019060010161065b565b509098975050505050505050565b90151581526020019056fea264697066735822122089d5ce8d99710bef242a45f969bf2ca524b5bdf0488783bd8b69c2fea19e15ed64736f6c63430007060033608060405234801561001057600080fd5b5061028e806100206000396000f3fe608060405234801561001057600080fd5b50600436106100365760003560e01c80638da5cb5b1461003b578063f2fde38b1461006c575b600080fd5b6100436100a1565b6040805173ffffffffffffffffffffffffffffffffffffffff9092168252519081900360200190f35b61009f6004803603602081101561008257600080fd5b503573ffffffffffffffffffffffffffffffffffffffff166100b0565b005b60006100ab6100c4565b905090565b6100b86100ed565b6100c181610152565b50565b60006100ce6101d7565b6004015473ffffffffffffffffffffffffffffffffffffffff16919050565b6100f56101d7565b6004015473ffffffffffffffffffffffffffffffffffffffff163314610150576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610147906101fb565b60405180910390fd5b565b600061015c6101d7565b60048101805473ffffffffffffffffffffffffffffffffffffffff8581167fffffffffffffffffffffffff000000000000000000000000000000000000000083168117909355604051939450169182907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3505050565b7fc8fcad8db84d3cc18b4c41d551ea0ee66dd599cde068d998e57d5e09332c131c90565b60208082526022908201527f4c69624469616d6f6e643a204d75737420626520636f6e7472616374206f776e60408201527f657200000000000000000000000000000000000000000000000000000000000060608201526080019056fea264697066735822122079ec72c8755f7643c02e0e5cbe49008e7623fffe4b39b7289aaf42f538b75bd664736f6c63430007060033290decd9548b62a8d60345a988386fc84ba6bc95484008f6362f93160ef3e563", - "deployedBytecode": "0x608060405260043610620000205760003560e01c8063ccc2e3161462000025575b600080fd5b6200003c620000363660046200031a565b62000054565b6040516200004b919062000524565b60405180910390f35b60008115620000f957818760405160200162000072929190620004f1565b604051602081830303815290604052805190602001209150348290600060405180602001604052803073ffffffffffffffffffffffffffffffffffffffff16815250604051620000c29062000298565b620000cf929190620006cc565b82906040518091039083f591505080158015620000f0573d6000803e3d6000fd5b50905062000147565b6040805160208101825230815290513491600091620001189062000298565b62000125929190620006cc565b6040518091039082f090508015801562000143573d6000803e3d6000fd5b5090505b7f644ca5b0a8b0418e9faf3880659eeb84eaad45ad838b0173808e5ca72f5efc498160405162000178919062000524565b60405180910390a173ffffffffffffffffffffffffffffffffffffffff8116631f931c1c878786620001ac576000620001ae565b845b88886040518663ffffffff1660e01b8152600401620001d295949392919062000545565b600060405180830381600087803b158015620001ed57600080fd5b505af115801562000202573d6000803e3d6000fd5b50506040517ff2fde38b00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff8416925063f2fde38b91506200025a908a9060040162000524565b600060405180830381600087803b1580156200027557600080fd5b505af11580156200028a573d6000803e3d6000fd5b505050509695505050505050565b612d458062000a8f83390190565b803573ffffffffffffffffffffffffffffffffffffffff81168114620002cb57600080fd5b919050565b60008083601f840112620002e2578182fd5b50813567ffffffffffffffff811115620002fa578182fd5b6020830191508360208285010111156200031357600080fd5b9250929050565b6000806000806000806080878903121562000333578182fd5b6200033e87620002a6565b9550602087013567ffffffffffffffff808211156200035b578384fd5b818901915089601f8301126200036f578384fd5b8135818111156200037e578485fd5b8a6020808302850101111562000392578485fd5b602083019750809650506040890135915080821115620003b0578384fd5b50620003bf89828a01620002d0565b979a9699509497949695606090950135949350505050565b73ffffffffffffffffffffffffffffffffffffffff169052565b60008284526020808501945082825b858110156200044e5781357fffffffff0000000000000000000000000000000000000000000000000000000081168082146200043a578586fd5b885250958201959082019060010162000400565b509495945050505050565b7fffffffff00000000000000000000000000000000000000000000000000000000169052565b600082845282826020860137806020848601015260207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f85011685010190509392505050565b60038110620004d257fe5b9052565b5173ffffffffffffffffffffffffffffffffffffffff169052565b91825260601b7fffffffffffffffffffffffffffffffffffffffff00000000000000000000000016602082015260340190565b73ffffffffffffffffffffffffffffffffffffffff91909116815260200190565b60608082528181018690526000906020608080850190828a028601018a855b8b81101562000698577fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8088840301845281357fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffa18e3603018112620005c6578788fd5b8d0173ffffffffffffffffffffffffffffffffffffffff620005e882620002a6565b1684528581013560038110620005fc578889fd5b6200060a87860182620004c7565b506040808201357fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe18336030181126200064157898afd5b8201803567ffffffffffffffff8111156200065a578a8bfd5b88810236038413156200066b578a8bfd5b8983880152620006818a8801828b8501620003f1565b978901979650505092860192505060010162000564565b5050620006a88387018a620003d7565b8581036040870152620006bd81888a6200047f565b9b9a5050505050505050505050565b60006040825260408201845480825260608401915060206060818302860101878552818520855b8481101562000a5b577fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffa0888403018652815473ffffffffffffffffffffffffffffffffffffffff811684526200075285850160ff8360a01c16620004c7565b5060018083016060604086015260608501815462000771818362000a85565b91506200077e8362000a79565b92508a5b816007820110156200085e5783546200079f848260e01b62000459565b7fffffffff00000000000000000000000000000000000000000000000000000000620007d38b8601828460c01b1662000459565b620007e760408601828460a01b1662000459565b620007fb60608601828460801b1662000459565b6200080f60808601828460601b1662000459565b6200082360a08601828460401b1662000459565b6200083660c0860182848e1b1662000459565b6200084760e0860182841662000459565b505092840192610100929092019160080162000782565b92549281811015620008805762000879838560e01b62000459565b9188019184015b81811015620008c157620008ba837fffffffff000000000000000000000000000000000000000000000000000000008660c01b1662000459565b9188019184015b818110156200090257620008fb837fffffffff000000000000000000000000000000000000000000000000000000008660a01b1662000459565b9188019184015b8181101562000943576200093c837fffffffff000000000000000000000000000000000000000000000000000000008660801b1662000459565b9188019184015b8181101562000984576200097d837fffffffff000000000000000000000000000000000000000000000000000000008660601b1662000459565b9188019184015b81811015620009c557620009be837fffffffff000000000000000000000000000000000000000000000000000000008660401b1662000459565b9188019184015b8181101562000a0557620009fe837fffffffff00000000000000000000000000000000000000000000000000000000868c1b1662000459565b9188019184015b8181101562000a415762000a3c837fffffffff00000000000000000000000000000000000000000000000000000000861662000459565b918801915b5050978601979450505060029190910190600101620006f3565b50508094505062000a6f81860187620004d6565b5050509392505050565b60009081526020902090565b9081526020019056fe608060405260405162002d4538038062002d45833981016040819052620000269162000db2565b604080516000808252602082019092526200004e918491620000f560201b620000db1760201c565b620000688160000151620002b560201b6200027d1760201c565b60006200007f6200031760201b620003021760201c565b6301ffc9a760e01b600090815260039091016020526040808220805460ff1990811660019081179092556307e4c70760e21b845282842080548216831790556348e2b09360e01b845282842080548216831790556307f5828d60e41b845291909220805490911690911790555062001442915050565b60005b8351811015620002665760008482815181106200011157fe5b6020026020010151602001519050600060028111156200012d57fe5b8160028111156200013a57fe5b14156200018957620001838583815181106200015257fe5b6020026020010151600001518684815181106200016b57fe5b6020026020010151604001516200033b60201b60201c565b6200025c565b60018160028111156200019857fe5b1415620001e15762000183858381518110620001b057fe5b602002602001015160000151868481518110620001c957fe5b6020026020010151604001516200054e60201b60201c565b6002816002811115620001f057fe5b14156200023957620001838583815181106200020857fe5b6020026020010151600001518684815181106200022157fe5b6020026020010151604001516200077860201b60201c565b60405162461bcd60e51b815260040162000253906200117c565b60405180910390fd5b50600101620000f8565b507f8faa70878671ccd212d20771b795c50af8fd3ff6cf27f4bde57e5d4de0aeb6738383836040516200029c9392919062000f25565b60405180910390a1620002b082826200083f565b505050565b6000620002c162000317565b6004810180546001600160a01b038581166001600160a01b031983168117909355604051939450169182907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3505050565b7fc8fcad8db84d3cc18b4c41d551ea0ee66dd599cde068d998e57d5e09332c131c90565b60008151116200035f5760405162461bcd60e51b81526004016200025390620010d4565b60006200036b62000317565b90506001600160a01b038316620003965760405162461bcd60e51b81526004016200025390620011c3565b6001600160a01b038316600090815260018201602052604090205461ffff81166200043c57620003e08460405180606001604052806024815260200162002d21602491396200097c565b6002820180546001600160a01b038616600081815260018087016020908152604083208201805461ffff191661ffff90961695909517909455845490810185559381529190912090910180546001600160a01b03191690911790555b60005b8351811015620005475760008482815181106200045857fe5b6020908102919091018101516001600160e01b031981166000908152918690526040909120549091506001600160a01b03168015620004ab5760405162461bcd60e51b81526004016200025390620012ba565b506001600160a01b0386166000818152600186810160209081526040808420805480850182559085528285206008820401805463ffffffff60079093166004026101000a928302191660e089901c929092029190911790556001600160e01b0319909516835287905292902080546001600160a01b03191690911761ffff60a01b1916600160a01b61ffff86160217905591820191016200043f565b5050505050565b6000815111620005725760405162461bcd60e51b81526004016200025390620010d4565b60006200057e62000317565b90506001600160a01b038316620005a95760405162461bcd60e51b81526004016200025390620011c3565b6001600160a01b038316600090815260018201602052604090205461ffff81166200064f57620005f38460405180606001604052806024815260200162002d21602491396200097c565b6002820180546001600160a01b038616600081815260018087016020908152604083208201805461ffff191661ffff90961695909517909455845490810185559381529190912090910180546001600160a01b03191690911790555b60005b8351811015620005475760008482815181106200066b57fe5b6020908102919091018101516001600160e01b031981166000908152918690526040909120549091506001600160a01b03908116908716811415620006c45760405162461bcd60e51b8152600401620002539062001317565b620006d08183620009a0565b506001600160e01b03198116600081815260208681526040808320805461ffff60a01b1916600160a01b61ffff8a16021781556001600160a01b038b168085526001808b018552928520805480850182559086528486206008820401805463ffffffff60079093166004026101000a928302191660e09990991c91909102979097179096559390925286905281546001600160a01b0319169092179055918201910162000652565b60008151116200079c5760405162461bcd60e51b81526004016200025390620010d4565b6000620007a862000317565b90506001600160a01b03831615620007d45760405162461bcd60e51b8152600401620002539062001374565b60005b825181101562000839576000838281518110620007f057fe5b6020908102919091018101516001600160e01b031981166000908152918590526040909120549091506001600160a01b03166200082e8183620009a0565b5050600101620007d7565b50505050565b6001600160a01b0382166200087657805115620008705760405162461bcd60e51b8152600401620002539062001031565b62000978565b60008151116200089a5760405162461bcd60e51b815260040162000253906200120f565b6001600160a01b0382163014620008d057620008d08260405180606001604052806028815260200162002cf9602891396200097c565b600080836001600160a01b031683604051620008ed919062000f07565b600060405180830381855af49150503d80600081146200092a576040519150601f19603f3d011682016040523d82523d6000602084013e6200092f565b606091505b50915091508162000839578051156200095e578060405162461bcd60e51b815260040162000253919062001015565b60405162461bcd60e51b815260040162000253906200108e565b5050565b813b8181620008395760405162461bcd60e51b815260040162000253919062001015565b6000620009ac62000317565b90506001600160a01b038316620009d75760405162461bcd60e51b815260040162000253906200111f565b6001600160a01b03831630141562000a035760405162461bcd60e51b815260040162000253906200126c565b6001600160e01b03198216600090815260208281526040808320546001600160a01b03871684526001850190925290912054600160a01b90910461ffff16906000190180821462000b27576001600160a01b0385166000908152600184016020526040812080548390811062000a7557fe5b600091825260208083206008830401546001600160a01b038a168452600188019091526040909220805460079092166004026101000a90920460e01b92508291908590811062000ac157fe5b600091825260208083206008830401805463ffffffff60079094166004026101000a938402191660e09590951c929092029390931790556001600160e01b031992909216825284905260409020805461ffff60a01b1916600160a01b61ffff8516021790555b6001600160a01b0385166000908152600184016020526040902080548062000b4b57fe5b60008281526020808220600860001990940193840401805463ffffffff600460078716026101000a0219169055919092556001600160e01b0319861682528490526040902080546001600160b01b031916905580620005475760028301546001600160a01b03861660009081526001858101602052604090912001546000199091019061ffff1680821462000c6357600085600201838154811062000bec57fe5b6000918252602090912001546002870180546001600160a01b03909216925082918490811062000c1857fe5b600091825260208083209190910180546001600160a01b0319166001600160a01b0394851617905592909116815260018781019092526040902001805461ffff191661ffff83161790555b8460020180548062000c7157fe5b60008281526020808220830160001990810180546001600160a01b03191690559092019092556001600160a01b03891682526001878101909152604090912001805461ffff1916905550505050505050565b80516001600160a01b038116811462000cdb57600080fd5b919050565b600082601f83011262000cf1578081fd5b8151602062000d0a62000d0483620013f5565b620013d1565b828152818101908583018385028701840188101562000d27578586fd5b855b8581101562000d5d5781516001600160e01b03198116811462000d4a578788fd5b8452928401929084019060010162000d29565b5090979650505050505050565b60006020828403121562000d7c578081fd5b604051602081016001600160401b038111828210171562000d9957fe5b60405290508062000daa8362000cc3565b905292915050565b6000806040838503121562000dc5578182fd5b82516001600160401b038082111562000ddc578384fd5b818501915085601f83011262000df0578384fd5b8151602062000e0362000d0483620013f5565b82815281810190858301885b8581101562000eaa57815188016060818e03601f1901121562000e30578a8bfd5b604051606081018181108a8211171562000e4657fe5b60405262000e5682880162000cc3565b815260408201516003811062000e6a578c8dfd5b8188015260608201518981111562000e80578c8dfd5b62000e908f898386010162000ce0565b604083015250855250928401929084019060010162000e0f565b5050809750505062000ebf8882890162000d6a565b9450505050509250929050565b6001600160a01b03169052565b6000815180845262000ef381602086016020860162001413565b601f01601f19169290920160200192915050565b6000825162000f1b81846020870162001413565b9190910192915050565b606080825284518282018190526000919060809081850190602080820287018401818b01875b8481101562000fe257898303607f19018652815180516001600160a01b0316845284810151898501906003811062000f7f57fe5b858701526040918201519185018a9052815190819052908501908a90898601905b8083101562000fcc5783516001600160e01b031916825292870192600192909201919087019062000fa0565b5097860197945050509083019060010162000f4b565b505062000ff28289018b62000ecc565b878103604089015262001006818a62000ed9565b9b9a5050505050505050505050565b6000602082526200102a602083018462000ed9565b9392505050565b6020808252603c908201527f4c69624469616d6f6e644375743a205f696e697420697320616464726573732860408201527f3029206275745f63616c6c64617461206973206e6f7420656d70747900000000606082015260800190565b60208082526026908201527f4c69624469616d6f6e644375743a205f696e69742066756e6374696f6e2072656040820152651d995c9d195960d21b606082015260800190565b6020808252602b908201527f4c69624469616d6f6e644375743a204e6f2073656c6563746f727320696e206660408201526a1858d95d081d1bc818dd5d60aa1b606082015260800190565b60208082526037908201527f4c69624469616d6f6e644375743a2043616e27742072656d6f76652066756e6360408201527f74696f6e207468617420646f65736e2774206578697374000000000000000000606082015260800190565b60208082526027908201527f4c69624469616d6f6e644375743a20496e636f727265637420466163657443756040820152663a20b1ba34b7b760c91b606082015260800190565b6020808252602c908201527f4c69624469616d6f6e644375743a204164642066616365742063616e2774206260408201526b65206164647265737328302960a01b606082015260800190565b6020808252603d908201527f4c69624469616d6f6e644375743a205f63616c6c6461746120697320656d707460408201527f7920627574205f696e6974206973206e6f742061646472657373283029000000606082015260800190565b6020808252602e908201527f4c69624469616d6f6e644375743a2043616e27742072656d6f766520696d6d7560408201526d3a30b1363290333ab731ba34b7b760911b606082015260800190565b60208082526035908201527f4c69624469616d6f6e644375743a2043616e2774206164642066756e6374696f60408201527f6e207468617420616c7265616479206578697374730000000000000000000000606082015260800190565b60208082526038908201527f4c69624469616d6f6e644375743a2043616e2774207265706c6163652066756e60408201527f6374696f6e20776974682073616d652066756e6374696f6e0000000000000000606082015260800190565b60208082526036908201527f4c69624469616d6f6e644375743a2052656d6f7665206661636574206164647260408201527f657373206d757374206265206164647265737328302900000000000000000000606082015260800190565b6040518181016001600160401b0381118282101715620013ed57fe5b604052919050565b60006001600160401b038211156200140957fe5b5060209081020190565b60005b838110156200143057818101518382015260200162001416565b83811115620008395750506000910152565b6118a780620014526000396000f3fe60806040523661000b57005b600080357fffffffff000000000000000000000000000000000000000000000000000000001681527fc8fcad8db84d3cc18b4c41d551ea0ee66dd599cde068d998e57d5e09332c131c6020819052604090912054819073ffffffffffffffffffffffffffffffffffffffff16806100b7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016100ae906115f3565b60405180910390fd5b3660008037600080366000845af43d6000803e8080156100d6573d6000f35b3d6000fd5b60005b83518110156102325760008482815181106100f557fe5b60200260200101516020015190506000600281111561011057fe5b81600281111561011c57fe5b141561015f5761015a85838151811061013157fe5b60200260200101516000015186848151811061014957fe5b602002602001015160400151610326565b610229565b600181600281111561016d57fe5b14156101ab5761015a85838151811061018257fe5b60200260200101516000015186848151811061019a57fe5b60200260200101516040015161065e565b60028160028111156101b957fe5b14156101f75761015a8583815181106101ce57fe5b6020026020010151600001518684815181106101e657fe5b6020026020010151604001516109ab565b6040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016100ae90611539565b506001016100de565b507f8faa70878671ccd212d20771b795c50af8fd3ff6cf27f4bde57e5d4de0aeb67383838360405161026693929190611282565b60405180910390a16102788282610acb565b505050565b6000610287610302565b60048101805473ffffffffffffffffffffffffffffffffffffffff8581167fffffffffffffffffffffffff000000000000000000000000000000000000000083168117909355604051939450169182907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3505050565b7fc8fcad8db84d3cc18b4c41d551ea0ee66dd599cde068d998e57d5e09332c131c90565b6000815111610361576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016100ae9061147f565b600061036b610302565b905073ffffffffffffffffffffffffffffffffffffffff83166103ba576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016100ae90611596565b73ffffffffffffffffffffffffffffffffffffffff8316600090815260018201602052604090205461ffff81166104ab5761040d8460405180606001604052806024815260200161184e60249139610c81565b60028201805473ffffffffffffffffffffffffffffffffffffffff861660008181526001808701602090815260408320820180547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00001661ffff90961695909517909455845490810185559381529190912090910180547fffffffffffffffffffffffff00000000000000000000000000000000000000001690911790555b60005b83518110156106575760008482815181106104c557fe5b6020908102919091018101517fffffffff00000000000000000000000000000000000000000000000000000000811660009081529186905260409091205490915073ffffffffffffffffffffffffffffffffffffffff168015610554576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016100ae906116e2565b5073ffffffffffffffffffffffffffffffffffffffff86166000818152600186810160209081526040808420805480850182559085528285206008820401805463ffffffff60079093166004026101000a928302191660e089901c929092029190911790557fffffffff00000000000000000000000000000000000000000000000000000000909516835287905292902080547fffffffffffffffffffffffff0000000000000000000000000000000000000000169091177fffffffffffffffffffff0000ffffffffffffffffffffffffffffffffffffffff167401000000000000000000000000000000000000000061ffff86160217905591820191016104ae565b5050505050565b6000815111610699576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016100ae9061147f565b60006106a3610302565b905073ffffffffffffffffffffffffffffffffffffffff83166106f2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016100ae90611596565b73ffffffffffffffffffffffffffffffffffffffff8316600090815260018201602052604090205461ffff81166107e3576107458460405180606001604052806024815260200161184e60249139610c81565b60028201805473ffffffffffffffffffffffffffffffffffffffff861660008181526001808701602090815260408320820180547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00001661ffff90961695909517909455845490810185559381529190912090910180547fffffffffffffffffffffffff00000000000000000000000000000000000000001690911790555b60005b83518110156106575760008482815181106107fd57fe5b6020908102919091018101517fffffffff00000000000000000000000000000000000000000000000000000000811660009081529186905260409091205490915073ffffffffffffffffffffffffffffffffffffffff908116908716811415610892576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016100ae9061173f565b61089c8183610cbc565b507fffffffff00000000000000000000000000000000000000000000000000000000811660008181526020868152604080832080547fffffffffffffffffffff0000ffffffffffffffffffffffffffffffffffffffff167401000000000000000000000000000000000000000061ffff8a160217815573ffffffffffffffffffffffffffffffffffffffff8b168085526001808b018552928520805480850182559086528486206008820401805463ffffffff60079093166004026101000a928302191660e09990991c91909102979097179096559390925286905281547fffffffffffffffffffffffff000000000000000000000000000000000000000016909217905591820191016107e6565b60008151116109e6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016100ae9061147f565b60006109f0610302565b905073ffffffffffffffffffffffffffffffffffffffff831615610a40576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016100ae9061179c565b60005b8251811015610ac5576000838281518110610a5a57fe5b6020908102919091018101517fffffffff00000000000000000000000000000000000000000000000000000000811660009081529185905260409091205490915073ffffffffffffffffffffffffffffffffffffffff16610abb8183610cbc565b5050600101610a43565b50505050565b73ffffffffffffffffffffffffffffffffffffffff8216610b2457805115610b1f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016100ae906113c5565b610c7d565b6000815111610b5f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016100ae90611628565b73ffffffffffffffffffffffffffffffffffffffff82163014610b9e57610b9e8260405180606001604052806028815260200161182660289139610c81565b6000808373ffffffffffffffffffffffffffffffffffffffff1683604051610bc69190611266565b600060405180830381855af49150503d8060008114610c01576040519150601f19603f3d011682016040523d82523d6000602084013e610c06565b606091505b509150915081610ac557805115610c4b57806040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016100ae91906113ab565b6040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016100ae90611422565b5050565b813b8181610ac5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016100ae91906113ab565b6000610cc6610302565b905073ffffffffffffffffffffffffffffffffffffffff8316610d15576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016100ae906114dc565b73ffffffffffffffffffffffffffffffffffffffff8316301415610d65576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016100ae90611685565b7fffffffff0000000000000000000000000000000000000000000000000000000082166000908152602082815260408083205473ffffffffffffffffffffffffffffffffffffffff8716845260018501909252909120547401000000000000000000000000000000000000000090910461ffff16907fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff01808214610f375773ffffffffffffffffffffffffffffffffffffffff851660009081526001840160205260408120805483908110610e3657fe5b6000918252602080832060088304015473ffffffffffffffffffffffffffffffffffffffff8a168452600188019091526040909220805460079092166004026101000a90920460e01b925082919085908110610e8e57fe5b600091825260208083206008830401805463ffffffff60079094166004026101000a938402191660e09590951c929092029390931790557fffffffff000000000000000000000000000000000000000000000000000000009290921682528490526040902080547fffffffffffffffffffff0000ffffffffffffffffffffffffffffffffffffffff167401000000000000000000000000000000000000000061ffff8516021790555b73ffffffffffffffffffffffffffffffffffffffff851660009081526001840160205260409020805480610f6757fe5b6000828152602080822060087fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff90940193840401805463ffffffff600460078716026101000a0219169055919092557fffffffff00000000000000000000000000000000000000000000000000000000861682528490526040902080547fffffffffffffffffffff000000000000000000000000000000000000000000001690558061065757600283015473ffffffffffffffffffffffffffffffffffffffff861660009081526001858101602052604090912001547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff9091019061ffff1680821461114357600085600201838154811061107e57fe5b60009182526020909120015460028701805473ffffffffffffffffffffffffffffffffffffffff90921692508291849081106110b657fe5b600091825260208083209190910180547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff9485161790559290911681526001878101909252604090200180547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00001661ffff83161790555b8460020180548061115057fe5b6000828152602080822083017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff90810180547fffffffffffffffffffffffff000000000000000000000000000000000000000016905590920190925573ffffffffffffffffffffffffffffffffffffffff89168252600187810190915260409091200180547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff000016905550505050505050565b73ffffffffffffffffffffffffffffffffffffffff169052565b600081518084526112348160208601602086016117f9565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160200192915050565b600082516112788184602087016117f9565b9190910192915050565b606080825284518282018190526000919060809081850190602080820287018401818b01875b8481101561137c577fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff808a8403018652815188840173ffffffffffffffffffffffffffffffffffffffff8251168552858201516003811061130457fe5b858701526040918201519185018a9052815190819052908501908a90898601905b808310156113675783517fffffffff00000000000000000000000000000000000000000000000000000000168252928701926001929092019190870190611325565b509786019794505050908301906001016112a8565b505061138a8289018b611202565b878103604089015261139c818a61121c565b9b9a5050505050505050505050565b6000602082526113be602083018461121c565b9392505050565b6020808252603c908201527f4c69624469616d6f6e644375743a205f696e697420697320616464726573732860408201527f3029206275745f63616c6c64617461206973206e6f7420656d70747900000000606082015260800190565b60208082526026908201527f4c69624469616d6f6e644375743a205f696e69742066756e6374696f6e20726560408201527f7665727465640000000000000000000000000000000000000000000000000000606082015260800190565b6020808252602b908201527f4c69624469616d6f6e644375743a204e6f2073656c6563746f727320696e206660408201527f6163657420746f20637574000000000000000000000000000000000000000000606082015260800190565b60208082526037908201527f4c69624469616d6f6e644375743a2043616e27742072656d6f76652066756e6360408201527f74696f6e207468617420646f65736e2774206578697374000000000000000000606082015260800190565b60208082526027908201527f4c69624469616d6f6e644375743a20496e636f7272656374204661636574437560408201527f74416374696f6e00000000000000000000000000000000000000000000000000606082015260800190565b6020808252602c908201527f4c69624469616d6f6e644375743a204164642066616365742063616e2774206260408201527f6520616464726573732830290000000000000000000000000000000000000000606082015260800190565b6020808252818101527f4469616d6f6e643a2046756e6374696f6e20646f6573206e6f74206578697374604082015260600190565b6020808252603d908201527f4c69624469616d6f6e644375743a205f63616c6c6461746120697320656d707460408201527f7920627574205f696e6974206973206e6f742061646472657373283029000000606082015260800190565b6020808252602e908201527f4c69624469616d6f6e644375743a2043616e27742072656d6f766520696d6d7560408201527f7461626c652066756e6374696f6e000000000000000000000000000000000000606082015260800190565b60208082526035908201527f4c69624469616d6f6e644375743a2043616e2774206164642066756e6374696f60408201527f6e207468617420616c7265616479206578697374730000000000000000000000606082015260800190565b60208082526038908201527f4c69624469616d6f6e644375743a2043616e2774207265706c6163652066756e60408201527f6374696f6e20776974682073616d652066756e6374696f6e0000000000000000606082015260800190565b60208082526036908201527f4c69624469616d6f6e644375743a2052656d6f7665206661636574206164647260408201527f657373206d757374206265206164647265737328302900000000000000000000606082015260800190565b60005b838110156118145781810151838201526020016117fc565b83811115610ac5575050600091015256fe4c69624469616d6f6e644375743a205f696e6974206164647265737320686173206e6f20636f64654c69624469616d6f6e644375743a204e657720666163657420686173206e6f20636f6465a264697066735822122054a3c3a118803545231f43700030cb5e290869be0182196a4a05e7d4a1b71d7e64736f6c634300070600334c69624469616d6f6e644375743a205f696e6974206164647265737320686173206e6f20636f64654c69624469616d6f6e644375743a204e657720666163657420686173206e6f20636f6465a2646970667358221220a779f3d6a1861424e4a8869f0d4dd286296655589c48f5124a3fb585fe4e8b7664736f6c63430007060033", + "bytecode": "0x60806040523480156200001157600080fd5b50606060006040516200002490620004ea565b604051809103906000f08015801562000041573d6000803e3d6000fd5b5060408051600180825281830190925291925060208083019080368337019050509150631f931c1c60e01b82600081518110620000825762000082620005de565b6001600160e01b031992909216602092830291909101820152604080516060810182526001600160a01b038481168252600093820184815292820186905283546001810185559380528151600294850260008051602062006ab58339815191520180546001600160a01b031981169290931691821781559351929484926001600160a81b03191690911790600160a01b908490811115620001275762000127620005f4565b02179055506040820151805162000149916001840191602090910190620004f8565b50505060006040516200015c90620005ab565b604051809103906000f08015801562000179573d6000803e3d6000fd5b5060408051600580825260c082019092529192506020820160a08036833701905050925063adfca15e60e01b83600081518110620001bb57620001bb620005de565b6001600160e01b0319909216602092830291909101909101528251637a0ed62760e01b9084906001908110620001f557620001f5620005de565b6001600160e01b03199092166020928302919091019091015282516366ffd66360e11b90849060029081106200022f576200022f620005de565b6001600160e01b03199092166020928302919091019091015282516314bbdacb60e21b9084906003908110620002695762000269620005de565b6001600160e01b03199092166020928302919091019091015282516301ffc9a760e01b9084906004908110620002a357620002a3620005de565b6001600160e01b031992909216602092830291909101820152604080516060810182526001600160a01b038481168252600093820184815292820187905283546001810185559380528151600294850260008051602062006ab58339815191520180546001600160a01b031981169290931691821781559351929484926001600160a81b03191690911790600160a01b908490811115620003485762000348620005f4565b0217905550604082015180516200036a916001840191602090910190620004f8565b50505060006040516200037d90620005b9565b604051809103906000f0801580156200039a573d6000803e3d6000fd5b50604080516002808252606082018352929350919060208301908036833701905050935063f2fde38b60e01b84600081518110620003dc57620003dc620005de565b6001600160e01b0319909216602092830291909101909101528351638da5cb5b60e01b9085906001908110620004165762000416620005de565b6001600160e01b031992909216602092830291909101820152604080516060810182526001600160a01b038481168252600093820184815292820188905283546001810185559380528151600294850260008051602062006ab58339815191520180546001600160a01b031981169290931691821781559351929484926001600160a81b03191690911790600160a01b908490811115620004bb57620004bb620005f4565b021790555060408201518051620004dd916001840191602090910190620004f8565b505050505050506200060a565b611d36806200421b83390190565b82805482825590600052602060002090600701600890048101928215620005995791602002820160005b838211156200056557835183826101000a81548163ffffffff021916908360e01c0217905550926020019260040160208160030104928301926001030262000522565b8015620005975782816101000a81549063ffffffff021916905560040160208160030104928301926001030262000565565b505b50620005a7929150620005c7565b5090565b61086e8062005f5183390190565b6102f680620067bf83390190565b5b80821115620005a75760008155600101620005c8565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052602160045260246000fd5b613c01806200061a6000396000f3fe608060405260043610620000205760003560e01c8063ccc2e3161462000025575b600080fd5b6200003c6200003636600462000365565b62000065565b60405173ffffffffffffffffffffffffffffffffffffffff909116815260200160405180910390f35b6000811562000137578187604051602001620000b092919091825260601b7fffffffffffffffffffffffffffffffffffffffff00000000000000000000000016602082015260340190565b604051602081830303815290604052805190602001209150348290600060405180602001604052803073ffffffffffffffffffffffffffffffffffffffff168152506040516200010090620002e1565b6200010d92919062000465565b82906040518091039083f5915050801580156200012e573d6000803e3d6000fd5b50905062000185565b60408051602081018252308152905134916000916200015690620002e1565b6200016392919062000465565b6040518091039082f090508015801562000181573d6000803e3d6000fd5b5090505b60405173ffffffffffffffffffffffffffffffffffffffff821681527f644ca5b0a8b0418e9faf3880659eeb84eaad45ad838b0173808e5ca72f5efc499060200160405180910390a173ffffffffffffffffffffffffffffffffffffffff8116631f931c1c878786620001fa576000620001fc565b845b88886040518663ffffffff1660e01b81526004016200022095949392919062000924565b600060405180830381600087803b1580156200023b57600080fd5b505af115801562000250573d6000803e3d6000fd5b50506040517ff2fde38b00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff8a811660048301528416925063f2fde38b9150602401600060405180830381600087803b158015620002be57600080fd5b505af1158015620002d3573d6000803e3d6000fd5b505050509695505050505050565b61310c8062000ac083390190565b803573ffffffffffffffffffffffffffffffffffffffff811681146200031457600080fd5b919050565b60008083601f8401126200032c57600080fd5b50813567ffffffffffffffff8111156200034557600080fd5b6020830191508360208285010111156200035e57600080fd5b9250929050565b600080600080600080608087890312156200037f57600080fd5b6200038a87620002ef565b9550602087013567ffffffffffffffff80821115620003a857600080fd5b818901915089601f830112620003bd57600080fd5b813581811115620003cd57600080fd5b8a60208260051b8501011115620003e357600080fd5b6020830197508096505060408901359150808211156200040257600080fd5b506200041189828a0162000319565b979a9699509497949695606090950135949350505050565b6003811062000461577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b9052565b6000604082016040835280855480835260608501915060608160051b86010192508660005260208060002060005b838110156200083d577fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffa088870301855260608601825473ffffffffffffffffffffffffffffffffffffffff81168852620004f685890160ff8360a01c1662000429565b506060604088015260018381018054808452600091825260208083209401905b806007840110156200064c57845462000553838260e01b7fffffffff00000000000000000000000000000000000000000000000000000000169052565b7fffffffff0000000000000000000000000000000000000000000000000000000060c082901b81168a85015260a082901b81166040850152608082901b81166060850152620005cb60808501828460601b167fffffffff00000000000000000000000000000000000000000000000000000000169052565b620005ff60a08501828460401b167fffffffff00000000000000000000000000000000000000000000000000000000169052565b7fffffffff00000000000000000000000000000000000000000000000000000000828b1b8216811660c086015291161660e083015293830193600892909201916101009091019062000516565b93549380831015620006905762000687828660e01b7fffffffff00000000000000000000000000000000000000000000000000000000169052565b91830191908701905b80831015620006cb5760c085901b7fffffffff0000000000000000000000000000000000000000000000000000000016825291830191908701905b80831015620007065760a085901b7fffffffff0000000000000000000000000000000000000000000000000000000016825291830191908701905b808310156200074157608085901b7fffffffff0000000000000000000000000000000000000000000000000000000016825291830191908701905b808310156200077c57606085901b7fffffffff0000000000000000000000000000000000000000000000000000000016825291830191908701905b80831015620007b757604085901b7fffffffff0000000000000000000000000000000000000000000000000000000016825291830191908701905b80831015620007f05784881b7fffffffff0000000000000000000000000000000000000000000000000000000016825291830191908701905b8083101562000823577fffffffff0000000000000000000000000000000000000000000000000000000085168252908701905b509850505094830194506002919091019060010162000493565b505083945062000865818701885173ffffffffffffffffffffffffffffffffffffffff169052565b505050509392505050565b818352600060208085019450826000805b86811015620008cf5782357fffffffff000000000000000000000000000000000000000000000000000000008116808214620008bb578384fd5b895250968301969183019160010162000881565b50959695505050505050565b8183528181602085013750600060208284010152600060207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f840116840101905092915050565b6060808252818101869052600090600560808085019089831b8601018a855b8b81101562000a7d577fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8088840301845281357fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffa18e3603018112620009a657600080fd5b8d0173ffffffffffffffffffffffffffffffffffffffff620009c882620002ef565b16845260208082013560038110620009df57600080fd5b620009ed8287018262000429565b506040808301357fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe184360301811262000a2557600080fd5b8301803567ffffffffffffffff81111562000a3f57600080fd5b808a1b360385131562000a5157600080fd5b8a8389015262000a678b89018286850162000870565b9884019897505050930192505060010162000943565b505073ffffffffffffffffffffffffffffffffffffffff89166020870152858103604087015262000ab081888a620008db565b9b9a505050505050505050505056fe60806040526040516200310c3803806200310c833981016040819052620000269162001205565b604080516000808252602082019092526200004e918491620000f560201b620001071760201c565b6200006881600001516200035360201b6200034b1760201c565b60006200007f620003d760201b620004051760201c565b6301ffc9a760e01b600090815260039091016020526040808220805460ff1990811660019081179092556307e4c70760e21b845282842080548216831790556348e2b09360e01b845282842080548216831790556307f5828d60e41b845291909220805490911690911790555062001607915050565b60005b835181101562000304576000848281518110620001195762000119620013af565b6020026020010151602001519050600060028111156200013d576200013d620013c5565b816002811115620001525762000152620013c5565b1415620001b157620001ab858381518110620001725762000172620013af565b602002602001015160000151868481518110620001935762000193620013af565b602002602001015160400151620003ea60201b60201c565b620002ee565b6001816002811115620001c857620001c8620013c5565b14156200022157620001ab858381518110620001e857620001e8620013af565b602002602001015160000151868481518110620002095762000209620013af565b6020026020010151604001516200067460201b60201c565b6002816002811115620002385762000238620013c5565b14156200029157620001ab858381518110620002585762000258620013af565b602002602001015160000151868481518110620002795762000279620013af565b6020026020010151604001516200090a60201b60201c565b60405162461bcd60e51b815260206004820152602760248201527f4c69624469616d6f6e644375743a20496e636f727265637420466163657443756044820152663a20b1ba34b7b760c91b60648201526084015b60405180910390fd5b5080620002fb81620013f1565b915050620000f8565b507f8faa70878671ccd212d20771b795c50af8fd3ff6cf27f4bde57e5d4de0aeb6738383836040516200033a939291906200146c565b60405180910390a16200034e828262000a70565b505050565b7fc8fcad8db84d3cc18b4c41d551ea0ee66dd599cde068d998e57d5e09332c132080546001600160a01b031981166001600160a01b0384811691821790935560405160008051602062003060833981519152939092169182907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3505050565b6000805160206200306083398151915290565b6000815111620004405760405162461bcd60e51b815260206004820152602b6024820152600080516020620030ec83398151915260448201526a1858d95d081d1bc818dd5d60aa1b6064820152608401620002e5565b600080516020620030608339815191526001600160a01b038316620004ac5760405162461bcd60e51b815260206004820152602c6024820152600080516020620030a883398151915260448201526b65206164647265737328302960a01b6064820152608401620002e5565b6001600160a01b03831660009081526001820160205260409020546001600160601b038116620004e257620004e2828562000c8f565b60005b83518110156200066d576000848281518110620005065762000506620013af565b6020908102919091018101516001600160e01b031981166000908152918690526040909120549091506001600160a01b03168015620005ae5760405162461bcd60e51b815260206004820152603560248201527f4c69624469616d6f6e644375743a2043616e2774206164642066756e6374696f60448201527f6e207468617420616c72656164792065786973747300000000000000000000006064820152608401620002e5565b6001600160e01b0319821660008181526020878152604080832080546001600160a01b03908116600160a01b6001600160601b038c16021782558c168085526001808c0185529285208054938401815585528385206008840401805463ffffffff60079095166004026101000a948502191660e08a901c94909402939093179092559390925287905281546001600160a01b03191617905583620006528162001573565b945050505080806200066490620013f1565b915050620004e5565b5050505050565b6000815111620006ca5760405162461bcd60e51b815260206004820152602b6024820152600080516020620030ec83398151915260448201526a1858d95d081d1bc818dd5d60aa1b6064820152608401620002e5565b600080516020620030608339815191526001600160a01b038316620007365760405162461bcd60e51b815260206004820152602c6024820152600080516020620030a883398151915260448201526b65206164647265737328302960a01b6064820152608401620002e5565b6001600160a01b03831660009081526001820160205260409020546001600160601b0381166200076c576200076c828562000c8f565b60005b83518110156200066d576000848281518110620007905762000790620013af565b6020908102919091018101516001600160e01b031981166000908152918690526040909120549091506001600160a01b039081169087168114156200083e5760405162461bcd60e51b815260206004820152603860248201527f4c69624469616d6f6e644375743a2043616e2774207265706c6163652066756e60448201527f6374696f6e20776974682073616d652066756e6374696f6e00000000000000006064820152608401620002e5565b6200084b85828462000cfc565b6001600160e01b0319821660008181526020878152604080832080546001600160a01b03908116600160a01b6001600160601b038c16021782558c168085526001808c0185529285208054938401815585528385206008840401805463ffffffff60079095166004026101000a948502191660e08a901c94909402939093179092559390925287905281546001600160a01b03191617905583620008ef8162001573565b945050505080806200090190620013f1565b9150506200076f565b6000815111620009605760405162461bcd60e51b815260206004820152602b6024820152600080516020620030ec83398151915260448201526a1858d95d081d1bc818dd5d60aa1b6064820152608401620002e5565b600080516020620030608339815191526001600160a01b03831615620009ef5760405162461bcd60e51b815260206004820152603660248201527f4c69624469616d6f6e644375743a2052656d6f7665206661636574206164647260448201527f657373206d7573742062652061646472657373283029000000000000000000006064820152608401620002e5565b60005b825181101562000a6a57600083828151811062000a135762000a13620013af565b6020908102919091018101516001600160e01b031981166000908152918590526040909120549091506001600160a01b031662000a5284828462000cfc565b5050808062000a6190620013f1565b915050620009f2565b50505050565b6001600160a01b03821662000afa5780511562000af65760405162461bcd60e51b815260206004820152603c60248201527f4c69624469616d6f6e644375743a205f696e697420697320616464726573732860448201527f3029206275745f63616c6c64617461206973206e6f7420656d707479000000006064820152608401620002e5565b5050565b600081511162000b735760405162461bcd60e51b815260206004820152603d60248201527f4c69624469616d6f6e644375743a205f63616c6c6461746120697320656d707460448201527f7920627574205f696e6974206973206e6f7420616464726573732830290000006064820152608401620002e5565b6001600160a01b038216301462000ba95762000ba9826040518060600160405280602881526020016200308060289139620010d9565b600080836001600160a01b03168360405162000bc691906200159d565b600060405180830381855af49150503d806000811462000c03576040519150601f19603f3d011682016040523d82523d6000602084013e62000c08565b606091505b50915091508162000a6a5780511562000c37578060405162461bcd60e51b8152600401620002e59190620015bb565b60405162461bcd60e51b815260206004820152602660248201527f4c69624469616d6f6e644375743a205f696e69742066756e6374696f6e2072656044820152651d995c9d195960d21b6064820152608401620002e5565b62000cb481604051806060016040528060248152602001620030c860249139620010d9565b6002820180546001600160a01b0390921660008181526001948501602090815260408220860185905594840183559182529290200180546001600160a01b0319169091179055565b6001600160a01b03821662000d7a5760405162461bcd60e51b815260206004820152603760248201527f4c69624469616d6f6e644375743a2043616e27742072656d6f76652066756e6360448201527f74696f6e207468617420646f65736e27742065786973740000000000000000006064820152608401620002e5565b6001600160a01b03821630141562000dec5760405162461bcd60e51b815260206004820152602e60248201527f4c69624469616d6f6e644375743a2043616e27742072656d6f766520696d6d7560448201526d3a30b1363290333ab731ba34b7b760911b6064820152608401620002e5565b6001600160e01b03198116600090815260208481526040808320546001600160a01b0386168452600180880190935290832054600160a01b9091046001600160601b0316929162000e3d91620015d7565b905080821462000f36576001600160a01b0384166000908152600186016020526040812080548390811062000e765762000e76620013af565b600091825260208083206008830401546001600160a01b038916845260018a019091526040909220805460079092166004026101000a90920460e01b92508291908590811062000eca5762000eca620013af565b600091825260208083206008830401805463ffffffff60079094166004026101000a938402191660e09590951c929092029390931790556001600160e01b03199290921682528690526040902080546001600160a01b0316600160a01b6001600160601b038516021790555b6001600160a01b0384166000908152600186016020526040902080548062000f625762000f62620015f1565b60008281526020808220600860001990940193840401805463ffffffff600460078716026101000a0219169055919092556001600160e01b0319851682528690526040812055806200066d57600285015460009062000fc490600190620015d7565b6001600160a01b03861660009081526001808901602052604090912001549091508082146200107a576000876002018381548110620010075762001007620013af565b6000918252602090912001546002890180546001600160a01b0390921692508291849081106200103b576200103b620013af565b600091825260208083209190910180546001600160a01b0319166001600160a01b03948516179055929091168152600189810190925260409020018190555b86600201805480620010905762001090620015f1565b60008281526020808220830160001990810180546001600160a01b03191690559092019092556001600160a01b0388168252600189810190915260408220015550505050505050565b813b818162000a6a5760405162461bcd60e51b8152600401620002e59190620015bb565b634e487b7160e01b600052604160045260246000fd5b604051606081016001600160401b0381118282101715620011385762001138620010fd565b60405290565b604051601f8201601f191681016001600160401b0381118282101715620011695762001169620010fd565b604052919050565b60006001600160401b038211156200118d576200118d620010fd565b5060051b60200190565b80516001600160a01b0381168114620011af57600080fd5b919050565b600060208284031215620011c757600080fd5b604051602081016001600160401b0381118282101715620011ec57620011ec620010fd565b604052905080620011fd8362001197565b905292915050565b600080604083850312156200121957600080fd5b82516001600160401b03808211156200123157600080fd5b818501915085601f8301126200124657600080fd5b815160206200125f620012598362001171565b6200113e565b82815260059290921b840181019181810190898411156200127f57600080fd5b8286015b848110156200138f578051868111156200129c57600080fd5b87016060818d03601f19011215620012b357600080fd5b620012bd62001113565b620012ca86830162001197565b8152604082015160038110620012df57600080fd5b81870152606082015188811115620012f657600080fd5b8083019250508c603f8301126200130c57600080fd5b858201516200131f620012598262001171565b81815260059190911b830160400190878101908f8311156200134057600080fd5b6040850194505b82851015620013795784516001600160e01b0319811681146200136957600080fd5b8252938801939088019062001347565b6040840152505084525091830191830162001283565b509650620013a2905088888301620011b4565b9450505050509250929050565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052602160045260246000fd5b634e487b7160e01b600052601160045260246000fd5b6000600019821415620014085762001408620013db565b5060010190565b60005b838110156200142c57818101518382015260200162001412565b8381111562000a6a5750506000910152565b60008151808452620014588160208601602086016200140f565b601f01601f19169290920160200192915050565b60006060808301818452808751808352608092508286019150828160051b8701016020808b0160005b848110156200154157898403607f19018652815180516001600160a01b03168552838101518986019060038110620014dd57634e487b7160e01b600052602160045260246000fd5b868601526040918201519186018a905281519081905290840190600090898701905b808310156200152b5783516001600160e01b0319168252928601926001929092019190860190620014ff565b5097850197955050509082019060010162001495565b50506001600160a01b038a169088015286810360408801526200156581896200143e565b9a9950505050505050505050565b60006001600160601b0382811680821415620015935762001593620013db565b6001019392505050565b60008251620015b18184602087016200140f565b9190910192915050565b602081526000620015d060208301846200143e565b9392505050565b600082821015620015ec57620015ec620013db565b500390565b634e487b7160e01b600052603160045260246000fd5b611a4980620016176000396000f3fe60806040523661000b57005b600080357fffffffff000000000000000000000000000000000000000000000000000000001681527fc8fcad8db84d3cc18b4c41d551ea0ee66dd599cde068d998e57d5e09332c131c6020819052604090912054819073ffffffffffffffffffffffffffffffffffffffff16806100e3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4469616d6f6e643a2046756e6374696f6e20646f6573206e6f7420657869737460448201526064015b60405180910390fd5b3660008037600080366000845af43d6000803e808015610102573d6000f35b3d6000fd5b60005b83518110156103005760008482815181106101275761012761167b565b602002602001015160200151905060006002811115610148576101486116aa565b81600281111561015a5761015a6116aa565b14156101a9576101a48583815181106101755761017561167b565b6020026020010151600001518684815181106101935761019361167b565b602002602001015160400151610429565b6102ed565b60018160028111156101bd576101bd6116aa565b1415610207576101a48583815181106101d8576101d861167b565b6020026020010151600001518684815181106101f6576101f661167b565b6020026020010151604001516107dc565b600281600281111561021b5761021b6116aa565b1415610265576101a48583815181106102365761023661167b565b6020026020010151600001518684815181106102545761025461167b565b602002602001015160400151610b99565b6040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602760248201527f4c69624469616d6f6e644375743a20496e636f7272656374204661636574437560448201527f74416374696f6e0000000000000000000000000000000000000000000000000060648201526084016100da565b50806102f881611708565b91505061010a565b507f8faa70878671ccd212d20771b795c50af8fd3ff6cf27f4bde57e5d4de0aeb673838383604051610334939291906117b7565b60405180910390a16103468282610d8c565b505050565b7fc8fcad8db84d3cc18b4c41d551ea0ee66dd599cde068d998e57d5e09332c132080547fffffffffffffffffffffffff0000000000000000000000000000000000000000811673ffffffffffffffffffffffffffffffffffffffff8481169182179093556040517fc8fcad8db84d3cc18b4c41d551ea0ee66dd599cde068d998e57d5e09332c131c939092169182907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3505050565b7fc8fcad8db84d3cc18b4c41d551ea0ee66dd599cde068d998e57d5e09332c131c90565b60008151116104ba576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602b60248201527f4c69624469616d6f6e644375743a204e6f2073656c6563746f727320696e206660448201527f6163657420746f2063757400000000000000000000000000000000000000000060648201526084016100da565b7fc8fcad8db84d3cc18b4c41d551ea0ee66dd599cde068d998e57d5e09332c131c73ffffffffffffffffffffffffffffffffffffffff831661057e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602c60248201527f4c69624469616d6f6e644375743a204164642066616365742063616e2774206260448201527f652061646472657373283029000000000000000000000000000000000000000060648201526084016100da565b73ffffffffffffffffffffffffffffffffffffffff831660009081526001820160205260409020546bffffffffffffffffffffffff81166105c3576105c3828561103f565b60005b83518110156107d55760008482815181106105e3576105e361167b565b6020908102919091018101517fffffffff00000000000000000000000000000000000000000000000000000000811660009081529186905260409091205490915073ffffffffffffffffffffffffffffffffffffffff1680156106c8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603560248201527f4c69624469616d6f6e644375743a2043616e2774206164642066756e6374696f60448201527f6e207468617420616c726561647920657869737473000000000000000000000060648201526084016100da565b7fffffffff000000000000000000000000000000000000000000000000000000008216600081815260208781526040808320805473ffffffffffffffffffffffffffffffffffffffff908116740100000000000000000000000000000000000000006bffffffffffffffffffffffff8c16021782558c168085526001808c0185529285208054938401815585528385206008840401805463ffffffff60079095166004026101000a948502191660e08a901c94909402939093179092559390925287905281547fffffffffffffffffffffffff000000000000000000000000000000000000000016179055836107bd8161191f565b945050505080806107cd90611708565b9150506105c6565b5050505050565b600081511161086d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602b60248201527f4c69624469616d6f6e644375743a204e6f2073656c6563746f727320696e206660448201527f6163657420746f2063757400000000000000000000000000000000000000000060648201526084016100da565b7fc8fcad8db84d3cc18b4c41d551ea0ee66dd599cde068d998e57d5e09332c131c73ffffffffffffffffffffffffffffffffffffffff8316610931576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602c60248201527f4c69624469616d6f6e644375743a204164642066616365742063616e2774206260448201527f652061646472657373283029000000000000000000000000000000000000000060648201526084016100da565b73ffffffffffffffffffffffffffffffffffffffff831660009081526001820160205260409020546bffffffffffffffffffffffff811661097657610976828561103f565b60005b83518110156107d55760008482815181106109965761099661167b565b6020908102919091018101517fffffffff00000000000000000000000000000000000000000000000000000000811660009081529186905260409091205490915073ffffffffffffffffffffffffffffffffffffffff908116908716811415610a81576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603860248201527f4c69624469616d6f6e644375743a2043616e2774207265706c6163652066756e60448201527f6374696f6e20776974682073616d652066756e6374696f6e000000000000000060648201526084016100da565b610a8c8582846110ce565b7fffffffff000000000000000000000000000000000000000000000000000000008216600081815260208781526040808320805473ffffffffffffffffffffffffffffffffffffffff908116740100000000000000000000000000000000000000006bffffffffffffffffffffffff8c16021782558c168085526001808c0185529285208054938401815585528385206008840401805463ffffffff60079095166004026101000a948502191660e08a901c94909402939093179092559390925287905281547fffffffffffffffffffffffff00000000000000000000000000000000000000001617905583610b818161191f565b94505050508080610b9190611708565b915050610979565b6000815111610c2a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602b60248201527f4c69624469616d6f6e644375743a204e6f2073656c6563746f727320696e206660448201527f6163657420746f2063757400000000000000000000000000000000000000000060648201526084016100da565b7fc8fcad8db84d3cc18b4c41d551ea0ee66dd599cde068d998e57d5e09332c131c73ffffffffffffffffffffffffffffffffffffffff831615610cef576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603660248201527f4c69624469616d6f6e644375743a2052656d6f7665206661636574206164647260448201527f657373206d75737420626520616464726573732830290000000000000000000060648201526084016100da565b60005b8251811015610d86576000838281518110610d0f57610d0f61167b565b6020908102919091018101517fffffffff00000000000000000000000000000000000000000000000000000000811660009081529185905260409091205490915073ffffffffffffffffffffffffffffffffffffffff16610d718482846110ce565b50508080610d7e90611708565b915050610cf2565b50505050565b73ffffffffffffffffffffffffffffffffffffffff8216610e3a57805115610e36576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603c60248201527f4c69624469616d6f6e644375743a205f696e697420697320616464726573732860448201527f3029206275745f63616c6c64617461206973206e6f7420656d7074790000000060648201526084016100da565b5050565b6000815111610ecb576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603d60248201527f4c69624469616d6f6e644375743a205f63616c6c6461746120697320656d707460448201527f7920627574205f696e6974206973206e6f74206164647265737328302900000060648201526084016100da565b73ffffffffffffffffffffffffffffffffffffffff82163014610f0a57610f0a826040518060600160405280602881526020016119c860289139611640565b6000808373ffffffffffffffffffffffffffffffffffffffff1683604051610f32919061194b565b600060405180830381855af49150503d8060008114610f6d576040519150601f19603f3d011682016040523d82523d6000602084013e610f72565b606091505b509150915081610d8657805115610fb757806040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016100da9190611967565b6040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f4c69624469616d6f6e644375743a205f696e69742066756e6374696f6e20726560448201527f766572746564000000000000000000000000000000000000000000000000000060648201526084016100da565b611061816040518060600160405280602481526020016119f060249139611640565b60028201805473ffffffffffffffffffffffffffffffffffffffff90921660008181526001948501602090815260408220860185905594840183559182529290200180547fffffffffffffffffffffffff0000000000000000000000000000000000000000169091179055565b73ffffffffffffffffffffffffffffffffffffffff8216611171576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603760248201527f4c69624469616d6f6e644375743a2043616e27742072656d6f76652066756e6360448201527f74696f6e207468617420646f65736e277420657869737400000000000000000060648201526084016100da565b73ffffffffffffffffffffffffffffffffffffffff8216301415611217576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602e60248201527f4c69624469616d6f6e644375743a2043616e27742072656d6f766520696d6d7560448201527f7461626c652066756e6374696f6e00000000000000000000000000000000000060648201526084016100da565b7fffffffff0000000000000000000000000000000000000000000000000000000081166000908152602084815260408083205473ffffffffffffffffffffffffffffffffffffffff86168452600180880190935290832054740100000000000000000000000000000000000000009091046bffffffffffffffffffffffff1692916112a191611981565b90508082146113e85773ffffffffffffffffffffffffffffffffffffffff8416600090815260018601602052604081208054839081106112e3576112e361167b565b6000918252602080832060088304015473ffffffffffffffffffffffffffffffffffffffff8916845260018a019091526040909220805460079092166004026101000a90920460e01b9250829190859081106113415761134161167b565b600091825260208083206008830401805463ffffffff60079094166004026101000a938402191660e09590951c929092029390931790557fffffffff0000000000000000000000000000000000000000000000000000000092909216825286905260409020805473ffffffffffffffffffffffffffffffffffffffff16740100000000000000000000000000000000000000006bffffffffffffffffffffffff8516021790555b73ffffffffffffffffffffffffffffffffffffffff84166000908152600186016020526040902080548061141e5761141e611998565b6000828152602080822060087fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff90940193840401805463ffffffff600460078716026101000a0219169055919092557fffffffff00000000000000000000000000000000000000000000000000000000851682528690526040812055806107d55760028501546000906114b390600190611981565b73ffffffffffffffffffffffffffffffffffffffff861660009081526001808901602052604090912001549091508082146115a15760008760020183815481106114ff576114ff61167b565b60009182526020909120015460028901805473ffffffffffffffffffffffffffffffffffffffff909216925082918490811061153d5761153d61167b565b600091825260208083209190910180547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff948516179055929091168152600189810190925260409020018190555b866002018054806115b4576115b4611998565b6000828152602080822083017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff90810180547fffffffffffffffffffffffff000000000000000000000000000000000000000016905590920190925573ffffffffffffffffffffffffffffffffffffffff88168252600189810190915260408220015550505050505050565b813b8181610d86576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016100da9190611967565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561173a5761173a6116d9565b5060010190565b60005b8381101561175c578181015183820152602001611744565b83811115610d865750506000910152565b60008151808452611785816020860160208601611741565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160200192915050565b60006060808301818452808751808352608092508286019150828160051b8701016020808b0160005b848110156118e2577fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff808a8503018652815188850173ffffffffffffffffffffffffffffffffffffffff82511686528482015160038110611869577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b868601526040918201519186018a905281519081905290840190600090898701905b808310156118cd5783517fffffffff0000000000000000000000000000000000000000000000000000000016825292860192600192909201919086019061188b565b509785019795505050908201906001016117e0565b505073ffffffffffffffffffffffffffffffffffffffff8a16908801528681036040880152611911818961176d565b9a9950505050505050505050565b60006bffffffffffffffffffffffff80831681811415611941576119416116d9565b6001019392505050565b6000825161195d818460208701611741565b9190910192915050565b60208152600061197a602083018461176d565b9392505050565b600082821015611993576119936116d9565b500390565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fdfe4c69624469616d6f6e644375743a205f696e6974206164647265737320686173206e6f20636f64654c69624469616d6f6e644375743a204e657720666163657420686173206e6f20636f6465a2646970667358221220a164f5c0a5fb38836f80db7c0d13ba057b758bb3bdf1d37d32f097ad8988276c64736f6c63430008090033c8fcad8db84d3cc18b4c41d551ea0ee66dd599cde068d998e57d5e09332c131c4c69624469616d6f6e644375743a205f696e6974206164647265737320686173206e6f20636f64654c69624469616d6f6e644375743a204164642066616365742063616e277420624c69624469616d6f6e644375743a204e657720666163657420686173206e6f20636f64654c69624469616d6f6e644375743a204e6f2073656c6563746f727320696e2066a2646970667358221220d168b12deb9403843a83843cbf35570fba2e43d61cc75bf1c18eccc4e38ded5b64736f6c63430008090033608060405234801561001057600080fd5b50611d16806100206000396000f3fe608060405234801561001057600080fd5b506004361061002b5760003560e01c80631f931c1c14610030575b600080fd5b61004361003e36600461166f565b610045565b005b61004d61009e565b61009761005a85876117ec565b8484848080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525061016e92505050565b5050505050565b7fc8fcad8db84d3cc18b4c41d551ea0ee66dd599cde068d998e57d5e09332c131c6004015473ffffffffffffffffffffffffffffffffffffffff16331461016c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602260248201527f4c69624469616d6f6e643a204d75737420626520636f6e7472616374206f776e60448201527f657200000000000000000000000000000000000000000000000000000000000060648201526084015b60405180910390fd5b565b60005b835181101561036757600084828151811061018e5761018e611948565b6020026020010151602001519050600060028111156101af576101af611977565b8160028111156101c1576101c1611977565b14156102105761020b8583815181106101dc576101dc611948565b6020026020010151600001518684815181106101fa576101fa611948565b6020026020010151604001516103b2565b610354565b600181600281111561022457610224611977565b141561026e5761020b85838151811061023f5761023f611948565b60200260200101516000015186848151811061025d5761025d611948565b60200260200101516040015161075e565b600281600281111561028257610282611977565b14156102cc5761020b85838151811061029d5761029d611948565b6020026020010151600001518684815181106102bb576102bb611948565b602002602001015160400151610b1b565b6040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602760248201527f4c69624469616d6f6e644375743a20496e636f7272656374204661636574437560448201527f74416374696f6e000000000000000000000000000000000000000000000000006064820152608401610163565b508061035f816119d5565b915050610171565b507f8faa70878671ccd212d20771b795c50af8fd3ff6cf27f4bde57e5d4de0aeb67383838360405161039b93929190611a84565b60405180910390a16103ad8282610d0e565b505050565b6000815111610443576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602b60248201527f4c69624469616d6f6e644375743a204e6f2073656c6563746f727320696e206660448201527f6163657420746f206375740000000000000000000000000000000000000000006064820152608401610163565b7fc8fcad8db84d3cc18b4c41d551ea0ee66dd599cde068d998e57d5e09332c131c73ffffffffffffffffffffffffffffffffffffffff8316610507576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602c60248201527f4c69624469616d6f6e644375743a204164642066616365742063616e2774206260448201527f65206164647265737328302900000000000000000000000000000000000000006064820152608401610163565b73ffffffffffffffffffffffffffffffffffffffff831660009081526001820160205260409020546bffffffffffffffffffffffff811661054c5761054c8285610fc1565b60005b835181101561009757600084828151811061056c5761056c611948565b6020908102919091018101517fffffffff00000000000000000000000000000000000000000000000000000000811660009081529186905260409091205490915073ffffffffffffffffffffffffffffffffffffffff168015610651576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603560248201527f4c69624469616d6f6e644375743a2043616e2774206164642066756e6374696f60448201527f6e207468617420616c72656164792065786973747300000000000000000000006064820152608401610163565b7fffffffff000000000000000000000000000000000000000000000000000000008216600081815260208781526040808320805473ffffffffffffffffffffffffffffffffffffffff908116740100000000000000000000000000000000000000006bffffffffffffffffffffffff8c16021782558c168085526001808c0185529285208054938401815585528385206008840401805463ffffffff60079095166004026101000a948502191660e08a901c94909402939093179092559390925287905281547fffffffffffffffffffffffff0000000000000000000000000000000000000000161790558361074681611bec565b94505050508080610756906119d5565b91505061054f565b60008151116107ef576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602b60248201527f4c69624469616d6f6e644375743a204e6f2073656c6563746f727320696e206660448201527f6163657420746f206375740000000000000000000000000000000000000000006064820152608401610163565b7fc8fcad8db84d3cc18b4c41d551ea0ee66dd599cde068d998e57d5e09332c131c73ffffffffffffffffffffffffffffffffffffffff83166108b3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602c60248201527f4c69624469616d6f6e644375743a204164642066616365742063616e2774206260448201527f65206164647265737328302900000000000000000000000000000000000000006064820152608401610163565b73ffffffffffffffffffffffffffffffffffffffff831660009081526001820160205260409020546bffffffffffffffffffffffff81166108f8576108f88285610fc1565b60005b835181101561009757600084828151811061091857610918611948565b6020908102919091018101517fffffffff00000000000000000000000000000000000000000000000000000000811660009081529186905260409091205490915073ffffffffffffffffffffffffffffffffffffffff908116908716811415610a03576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603860248201527f4c69624469616d6f6e644375743a2043616e2774207265706c6163652066756e60448201527f6374696f6e20776974682073616d652066756e6374696f6e00000000000000006064820152608401610163565b610a0e858284611050565b7fffffffff000000000000000000000000000000000000000000000000000000008216600081815260208781526040808320805473ffffffffffffffffffffffffffffffffffffffff908116740100000000000000000000000000000000000000006bffffffffffffffffffffffff8c16021782558c168085526001808c0185529285208054938401815585528385206008840401805463ffffffff60079095166004026101000a948502191660e08a901c94909402939093179092559390925287905281547fffffffffffffffffffffffff00000000000000000000000000000000000000001617905583610b0381611bec565b94505050508080610b13906119d5565b9150506108fb565b6000815111610bac576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602b60248201527f4c69624469616d6f6e644375743a204e6f2073656c6563746f727320696e206660448201527f6163657420746f206375740000000000000000000000000000000000000000006064820152608401610163565b7fc8fcad8db84d3cc18b4c41d551ea0ee66dd599cde068d998e57d5e09332c131c73ffffffffffffffffffffffffffffffffffffffff831615610c71576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603660248201527f4c69624469616d6f6e644375743a2052656d6f7665206661636574206164647260448201527f657373206d7573742062652061646472657373283029000000000000000000006064820152608401610163565b60005b8251811015610d08576000838281518110610c9157610c91611948565b6020908102919091018101517fffffffff00000000000000000000000000000000000000000000000000000000811660009081529185905260409091205490915073ffffffffffffffffffffffffffffffffffffffff16610cf3848284611050565b50508080610d00906119d5565b915050610c74565b50505050565b73ffffffffffffffffffffffffffffffffffffffff8216610dbc57805115610db8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603c60248201527f4c69624469616d6f6e644375743a205f696e697420697320616464726573732860448201527f3029206275745f63616c6c64617461206973206e6f7420656d707479000000006064820152608401610163565b5050565b6000815111610e4d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603d60248201527f4c69624469616d6f6e644375743a205f63616c6c6461746120697320656d707460448201527f7920627574205f696e6974206973206e6f7420616464726573732830290000006064820152608401610163565b73ffffffffffffffffffffffffffffffffffffffff82163014610e8c57610e8c82604051806060016040528060288152602001611c95602891396115c2565b6000808373ffffffffffffffffffffffffffffffffffffffff1683604051610eb49190611c18565b600060405180830381855af49150503d8060008114610eef576040519150601f19603f3d011682016040523d82523d6000602084013e610ef4565b606091505b509150915081610d0857805115610f3957806040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016101639190611c34565b6040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f4c69624469616d6f6e644375743a205f696e69742066756e6374696f6e20726560448201527f76657274656400000000000000000000000000000000000000000000000000006064820152608401610163565b610fe381604051806060016040528060248152602001611cbd602491396115c2565b60028201805473ffffffffffffffffffffffffffffffffffffffff90921660008181526001948501602090815260408220860185905594840183559182529290200180547fffffffffffffffffffffffff0000000000000000000000000000000000000000169091179055565b73ffffffffffffffffffffffffffffffffffffffff82166110f3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603760248201527f4c69624469616d6f6e644375743a2043616e27742072656d6f76652066756e6360448201527f74696f6e207468617420646f65736e27742065786973740000000000000000006064820152608401610163565b73ffffffffffffffffffffffffffffffffffffffff8216301415611199576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602e60248201527f4c69624469616d6f6e644375743a2043616e27742072656d6f766520696d6d7560448201527f7461626c652066756e6374696f6e0000000000000000000000000000000000006064820152608401610163565b7fffffffff0000000000000000000000000000000000000000000000000000000081166000908152602084815260408083205473ffffffffffffffffffffffffffffffffffffffff86168452600180880190935290832054740100000000000000000000000000000000000000009091046bffffffffffffffffffffffff16929161122391611c4e565b905080821461136a5773ffffffffffffffffffffffffffffffffffffffff84166000908152600186016020526040812080548390811061126557611265611948565b6000918252602080832060088304015473ffffffffffffffffffffffffffffffffffffffff8916845260018a019091526040909220805460079092166004026101000a90920460e01b9250829190859081106112c3576112c3611948565b600091825260208083206008830401805463ffffffff60079094166004026101000a938402191660e09590951c929092029390931790557fffffffff0000000000000000000000000000000000000000000000000000000092909216825286905260409020805473ffffffffffffffffffffffffffffffffffffffff16740100000000000000000000000000000000000000006bffffffffffffffffffffffff8516021790555b73ffffffffffffffffffffffffffffffffffffffff8416600090815260018601602052604090208054806113a0576113a0611c65565b6000828152602080822060087fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff90940193840401805463ffffffff600460078716026101000a0219169055919092557fffffffff000000000000000000000000000000000000000000000000000000008516825286905260408120558061009757600285015460009061143590600190611c4e565b73ffffffffffffffffffffffffffffffffffffffff8616600090815260018089016020526040909120015490915080821461152357600087600201838154811061148157611481611948565b60009182526020909120015460028901805473ffffffffffffffffffffffffffffffffffffffff90921692508291849081106114bf576114bf611948565b600091825260208083209190910180547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff948516179055929091168152600189810190925260409020018190555b8660020180548061153657611536611c65565b6000828152602080822083017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff90810180547fffffffffffffffffffffffff000000000000000000000000000000000000000016905590920190925573ffffffffffffffffffffffffffffffffffffffff88168252600189810190915260408220015550505050505050565b813b8181610d08576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016101639190611c34565b803573ffffffffffffffffffffffffffffffffffffffff8116811461162157600080fd5b919050565b60008083601f84011261163857600080fd5b50813567ffffffffffffffff81111561165057600080fd5b60208301915083602082850101111561166857600080fd5b9250929050565b60008060008060006060868803121561168757600080fd5b853567ffffffffffffffff8082111561169f57600080fd5b818801915088601f8301126116b357600080fd5b8135818111156116c257600080fd5b8960208260051b85010111156116d757600080fd5b602083019750809650506116ed602089016115fd565b9450604088013591508082111561170357600080fd5b5061171088828901611626565b969995985093965092949392505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040516060810167ffffffffffffffff8111828210171561177357611773611721565b60405290565b604051601f82017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016810167ffffffffffffffff811182821017156117c0576117c0611721565b604052919050565b600067ffffffffffffffff8211156117e2576117e2611721565b5060051b60200190565b60006117ff6117fa846117c8565b611779565b83815260208082019190600586811b86013681111561181d57600080fd5b865b8181101561193b57803567ffffffffffffffff808211156118405760008081fd5b818a019150606082360312156118565760008081fd5b61185e611750565b611867836115fd565b8152868301356003811061187b5760008081fd5b81880152604083810135838111156118935760008081fd5b939093019236601f8501126118aa57600092508283fd5b833592506118ba6117fa846117c8565b83815292871b840188019288810190368511156118d75760008081fd5b948901945b848610156119245785357fffffffff00000000000000000000000000000000000000000000000000000000811681146119155760008081fd5b825294890194908901906118dc565b91830191909152508852505094830194830161181f565b5092979650505050505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415611a0757611a076119a6565b5060010190565b60005b83811015611a29578181015183820152602001611a11565b83811115610d085750506000910152565b60008151808452611a52816020860160208601611a0e565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160200192915050565b60006060808301818452808751808352608092508286019150828160051b8701016020808b0160005b84811015611baf577fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff808a8503018652815188850173ffffffffffffffffffffffffffffffffffffffff82511686528482015160038110611b36577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b868601526040918201519186018a905281519081905290840190600090898701905b80831015611b9a5783517fffffffff00000000000000000000000000000000000000000000000000000000168252928601926001929092019190860190611b58565b50978501979550505090820190600101611aad565b505073ffffffffffffffffffffffffffffffffffffffff8a16908801528681036040880152611bde8189611a3a565b9a9950505050505050505050565b60006bffffffffffffffffffffffff80831681811415611c0e57611c0e6119a6565b6001019392505050565b60008251611c2a818460208701611a0e565b9190910192915050565b602081526000611c476020830184611a3a565b9392505050565b600082821015611c6057611c606119a6565b500390565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fdfe4c69624469616d6f6e644375743a205f696e6974206164647265737320686173206e6f20636f64654c69624469616d6f6e644375743a204e657720666163657420686173206e6f20636f6465a2646970667358221220e81a298b706af5e6f506858188273bb2ce25676985300bfa08ae6101051ec9bf64736f6c63430008090033608060405234801561001057600080fd5b5061084e806100206000396000f3fe608060405234801561001057600080fd5b50600436106100675760003560e01c80637a0ed627116100505780637a0ed627146100fa578063adfca15e1461010f578063cdffacc61461012f57600080fd5b806301ffc9a71461006c57806352ef6b2c146100e5575b600080fd5b6100d061007a366004610569565b7fffffffff000000000000000000000000000000000000000000000000000000001660009081527fc8fcad8db84d3cc18b4c41d551ea0ee66dd599cde068d998e57d5e09332c131f602052604090205460ff1690565b60405190151581526020015b60405180910390f35b6100ed6101cb565b6040516100dc91906105b2565b61010261025d565b6040516100dc9190610669565b61012261011d366004610711565b610469565b6040516100dc9190610747565b6101a661013d366004610569565b7fffffffff000000000000000000000000000000000000000000000000000000001660009081527fc8fcad8db84d3cc18b4c41d551ea0ee66dd599cde068d998e57d5e09332c131c602052604090205473ffffffffffffffffffffffffffffffffffffffff1690565b60405173ffffffffffffffffffffffffffffffffffffffff90911681526020016100dc565b606060007fc8fcad8db84d3cc18b4c41d551ea0ee66dd599cde068d998e57d5e09332c131c6002810180546040805160208084028201810190925282815293945083018282801561025257602002820191906000526020600020905b815473ffffffffffffffffffffffffffffffffffffffff168152600190910190602001808311610227575b505050505091505090565b7fc8fcad8db84d3cc18b4c41d551ea0ee66dd599cde068d998e57d5e09332c131e546060907fc8fcad8db84d3cc18b4c41d551ea0ee66dd599cde068d998e57d5e09332c131c908067ffffffffffffffff8111156102bd576102bd61075a565b60405190808252806020026020018201604052801561030357816020015b6040805180820190915260008152606060208201528152602001906001900390816102db5790505b50925060005b8181101561046357600083600201828154811061032857610328610789565b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690508085838151811061036857610368610789565b60209081029190910181015173ffffffffffffffffffffffffffffffffffffffff928316905290821660009081526001860182526040908190208054825181850281018501909352808352919290919083018282801561042957602002820191906000526020600020906000905b82829054906101000a900460e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916815260200190600401906020826003010492830192600103820291508084116103d65790505b505050505085838151811061044057610440610789565b60200260200101516020018190525050808061045b906107b8565b915050610309565b50505090565b73ffffffffffffffffffffffffffffffffffffffff811660009081527fc8fcad8db84d3cc18b4c41d551ea0ee66dd599cde068d998e57d5e09332c131d602090815260409182902080548351818402810184019094528084526060937fc8fcad8db84d3cc18b4c41d551ea0ee66dd599cde068d998e57d5e09332c131c939092919083018282801561055c57602002820191906000526020600020906000905b82829054906101000a900460e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916815260200190600401906020826003010492830192600103820291508084116105095790505b5050505050915050919050565b60006020828403121561057b57600080fd5b81357fffffffff00000000000000000000000000000000000000000000000000000000811681146105ab57600080fd5b9392505050565b6020808252825182820181905260009190848201906040850190845b8181101561060057835173ffffffffffffffffffffffffffffffffffffffff16835292840192918401916001016105ce565b50909695505050505050565b600081518084526020808501945080840160005b8381101561065e5781517fffffffff000000000000000000000000000000000000000000000000000000001687529582019590820190600101610620565b509495945050505050565b60006020808301818452808551808352604092508286019150828160051b87010184880160005b83811015610703578883037fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc00185528151805173ffffffffffffffffffffffffffffffffffffffff1684528701518784018790526106f08785018261060c565b9588019593505090860190600101610690565b509098975050505050505050565b60006020828403121561072357600080fd5b813573ffffffffffffffffffffffffffffffffffffffff811681146105ab57600080fd5b6020815260006105ab602083018461060c565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415610811577f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b506001019056fea26469706673582212200c5b177de2aed4874ebd4bc1dd3a8af2d25547fdd59ba0c61e502f7a15c95e1a64736f6c63430008090033608060405234801561001057600080fd5b506102d6806100206000396000f3fe608060405234801561001057600080fd5b50600436106100365760003560e01c80638da5cb5b1461003b578063f2fde38b1461006c575b600080fd5b610043610081565b60405173ffffffffffffffffffffffffffffffffffffffff909116815260200160405180910390f35b61007f61007a366004610263565b6100c6565b005b60006100c17fc8fcad8db84d3cc18b4c41d551ea0ee66dd599cde068d998e57d5e09332c13205473ffffffffffffffffffffffffffffffffffffffff1690565b905090565b6100ce6100da565b6100d7816101a9565b50565b7fc8fcad8db84d3cc18b4c41d551ea0ee66dd599cde068d998e57d5e09332c131c6004015473ffffffffffffffffffffffffffffffffffffffff1633146101a7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602260248201527f4c69624469616d6f6e643a204d75737420626520636f6e7472616374206f776e60448201527f6572000000000000000000000000000000000000000000000000000000000000606482015260840160405180910390fd5b565b7fc8fcad8db84d3cc18b4c41d551ea0ee66dd599cde068d998e57d5e09332c132080547fffffffffffffffffffffffff0000000000000000000000000000000000000000811673ffffffffffffffffffffffffffffffffffffffff8481169182179093556040517fc8fcad8db84d3cc18b4c41d551ea0ee66dd599cde068d998e57d5e09332c131c939092169182907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3505050565b60006020828403121561027557600080fd5b813573ffffffffffffffffffffffffffffffffffffffff8116811461029957600080fd5b939250505056fea2646970667358221220afe54a74df56254d54c0c99e01edfbc48ce57bd7975a687bcd11cf46bd6ef5ae64736f6c63430008090033290decd9548b62a8d60345a988386fc84ba6bc95484008f6362f93160ef3e563", + "deployedBytecode": "0x608060405260043610620000205760003560e01c8063ccc2e3161462000025575b600080fd5b6200003c6200003636600462000365565b62000065565b60405173ffffffffffffffffffffffffffffffffffffffff909116815260200160405180910390f35b6000811562000137578187604051602001620000b092919091825260601b7fffffffffffffffffffffffffffffffffffffffff00000000000000000000000016602082015260340190565b604051602081830303815290604052805190602001209150348290600060405180602001604052803073ffffffffffffffffffffffffffffffffffffffff168152506040516200010090620002e1565b6200010d92919062000465565b82906040518091039083f5915050801580156200012e573d6000803e3d6000fd5b50905062000185565b60408051602081018252308152905134916000916200015690620002e1565b6200016392919062000465565b6040518091039082f090508015801562000181573d6000803e3d6000fd5b5090505b60405173ffffffffffffffffffffffffffffffffffffffff821681527f644ca5b0a8b0418e9faf3880659eeb84eaad45ad838b0173808e5ca72f5efc499060200160405180910390a173ffffffffffffffffffffffffffffffffffffffff8116631f931c1c878786620001fa576000620001fc565b845b88886040518663ffffffff1660e01b81526004016200022095949392919062000924565b600060405180830381600087803b1580156200023b57600080fd5b505af115801562000250573d6000803e3d6000fd5b50506040517ff2fde38b00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff8a811660048301528416925063f2fde38b9150602401600060405180830381600087803b158015620002be57600080fd5b505af1158015620002d3573d6000803e3d6000fd5b505050509695505050505050565b61310c8062000ac083390190565b803573ffffffffffffffffffffffffffffffffffffffff811681146200031457600080fd5b919050565b60008083601f8401126200032c57600080fd5b50813567ffffffffffffffff8111156200034557600080fd5b6020830191508360208285010111156200035e57600080fd5b9250929050565b600080600080600080608087890312156200037f57600080fd5b6200038a87620002ef565b9550602087013567ffffffffffffffff80821115620003a857600080fd5b818901915089601f830112620003bd57600080fd5b813581811115620003cd57600080fd5b8a60208260051b8501011115620003e357600080fd5b6020830197508096505060408901359150808211156200040257600080fd5b506200041189828a0162000319565b979a9699509497949695606090950135949350505050565b6003811062000461577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b9052565b6000604082016040835280855480835260608501915060608160051b86010192508660005260208060002060005b838110156200083d577fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffa088870301855260608601825473ffffffffffffffffffffffffffffffffffffffff81168852620004f685890160ff8360a01c1662000429565b506060604088015260018381018054808452600091825260208083209401905b806007840110156200064c57845462000553838260e01b7fffffffff00000000000000000000000000000000000000000000000000000000169052565b7fffffffff0000000000000000000000000000000000000000000000000000000060c082901b81168a85015260a082901b81166040850152608082901b81166060850152620005cb60808501828460601b167fffffffff00000000000000000000000000000000000000000000000000000000169052565b620005ff60a08501828460401b167fffffffff00000000000000000000000000000000000000000000000000000000169052565b7fffffffff00000000000000000000000000000000000000000000000000000000828b1b8216811660c086015291161660e083015293830193600892909201916101009091019062000516565b93549380831015620006905762000687828660e01b7fffffffff00000000000000000000000000000000000000000000000000000000169052565b91830191908701905b80831015620006cb5760c085901b7fffffffff0000000000000000000000000000000000000000000000000000000016825291830191908701905b80831015620007065760a085901b7fffffffff0000000000000000000000000000000000000000000000000000000016825291830191908701905b808310156200074157608085901b7fffffffff0000000000000000000000000000000000000000000000000000000016825291830191908701905b808310156200077c57606085901b7fffffffff0000000000000000000000000000000000000000000000000000000016825291830191908701905b80831015620007b757604085901b7fffffffff0000000000000000000000000000000000000000000000000000000016825291830191908701905b80831015620007f05784881b7fffffffff0000000000000000000000000000000000000000000000000000000016825291830191908701905b8083101562000823577fffffffff0000000000000000000000000000000000000000000000000000000085168252908701905b509850505094830194506002919091019060010162000493565b505083945062000865818701885173ffffffffffffffffffffffffffffffffffffffff169052565b505050509392505050565b818352600060208085019450826000805b86811015620008cf5782357fffffffff000000000000000000000000000000000000000000000000000000008116808214620008bb578384fd5b895250968301969183019160010162000881565b50959695505050505050565b8183528181602085013750600060208284010152600060207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f840116840101905092915050565b6060808252818101869052600090600560808085019089831b8601018a855b8b81101562000a7d577fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8088840301845281357fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffa18e3603018112620009a657600080fd5b8d0173ffffffffffffffffffffffffffffffffffffffff620009c882620002ef565b16845260208082013560038110620009df57600080fd5b620009ed8287018262000429565b506040808301357fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe184360301811262000a2557600080fd5b8301803567ffffffffffffffff81111562000a3f57600080fd5b808a1b360385131562000a5157600080fd5b8a8389015262000a678b89018286850162000870565b9884019897505050930192505060010162000943565b505073ffffffffffffffffffffffffffffffffffffffff89166020870152858103604087015262000ab081888a620008db565b9b9a505050505050505050505056fe60806040526040516200310c3803806200310c833981016040819052620000269162001205565b604080516000808252602082019092526200004e918491620000f560201b620001071760201c565b6200006881600001516200035360201b6200034b1760201c565b60006200007f620003d760201b620004051760201c565b6301ffc9a760e01b600090815260039091016020526040808220805460ff1990811660019081179092556307e4c70760e21b845282842080548216831790556348e2b09360e01b845282842080548216831790556307f5828d60e41b845291909220805490911690911790555062001607915050565b60005b835181101562000304576000848281518110620001195762000119620013af565b6020026020010151602001519050600060028111156200013d576200013d620013c5565b816002811115620001525762000152620013c5565b1415620001b157620001ab858381518110620001725762000172620013af565b602002602001015160000151868481518110620001935762000193620013af565b602002602001015160400151620003ea60201b60201c565b620002ee565b6001816002811115620001c857620001c8620013c5565b14156200022157620001ab858381518110620001e857620001e8620013af565b602002602001015160000151868481518110620002095762000209620013af565b6020026020010151604001516200067460201b60201c565b6002816002811115620002385762000238620013c5565b14156200029157620001ab858381518110620002585762000258620013af565b602002602001015160000151868481518110620002795762000279620013af565b6020026020010151604001516200090a60201b60201c565b60405162461bcd60e51b815260206004820152602760248201527f4c69624469616d6f6e644375743a20496e636f727265637420466163657443756044820152663a20b1ba34b7b760c91b60648201526084015b60405180910390fd5b5080620002fb81620013f1565b915050620000f8565b507f8faa70878671ccd212d20771b795c50af8fd3ff6cf27f4bde57e5d4de0aeb6738383836040516200033a939291906200146c565b60405180910390a16200034e828262000a70565b505050565b7fc8fcad8db84d3cc18b4c41d551ea0ee66dd599cde068d998e57d5e09332c132080546001600160a01b031981166001600160a01b0384811691821790935560405160008051602062003060833981519152939092169182907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3505050565b6000805160206200306083398151915290565b6000815111620004405760405162461bcd60e51b815260206004820152602b6024820152600080516020620030ec83398151915260448201526a1858d95d081d1bc818dd5d60aa1b6064820152608401620002e5565b600080516020620030608339815191526001600160a01b038316620004ac5760405162461bcd60e51b815260206004820152602c6024820152600080516020620030a883398151915260448201526b65206164647265737328302960a01b6064820152608401620002e5565b6001600160a01b03831660009081526001820160205260409020546001600160601b038116620004e257620004e2828562000c8f565b60005b83518110156200066d576000848281518110620005065762000506620013af565b6020908102919091018101516001600160e01b031981166000908152918690526040909120549091506001600160a01b03168015620005ae5760405162461bcd60e51b815260206004820152603560248201527f4c69624469616d6f6e644375743a2043616e2774206164642066756e6374696f60448201527f6e207468617420616c72656164792065786973747300000000000000000000006064820152608401620002e5565b6001600160e01b0319821660008181526020878152604080832080546001600160a01b03908116600160a01b6001600160601b038c16021782558c168085526001808c0185529285208054938401815585528385206008840401805463ffffffff60079095166004026101000a948502191660e08a901c94909402939093179092559390925287905281546001600160a01b03191617905583620006528162001573565b945050505080806200066490620013f1565b915050620004e5565b5050505050565b6000815111620006ca5760405162461bcd60e51b815260206004820152602b6024820152600080516020620030ec83398151915260448201526a1858d95d081d1bc818dd5d60aa1b6064820152608401620002e5565b600080516020620030608339815191526001600160a01b038316620007365760405162461bcd60e51b815260206004820152602c6024820152600080516020620030a883398151915260448201526b65206164647265737328302960a01b6064820152608401620002e5565b6001600160a01b03831660009081526001820160205260409020546001600160601b0381166200076c576200076c828562000c8f565b60005b83518110156200066d576000848281518110620007905762000790620013af565b6020908102919091018101516001600160e01b031981166000908152918690526040909120549091506001600160a01b039081169087168114156200083e5760405162461bcd60e51b815260206004820152603860248201527f4c69624469616d6f6e644375743a2043616e2774207265706c6163652066756e60448201527f6374696f6e20776974682073616d652066756e6374696f6e00000000000000006064820152608401620002e5565b6200084b85828462000cfc565b6001600160e01b0319821660008181526020878152604080832080546001600160a01b03908116600160a01b6001600160601b038c16021782558c168085526001808c0185529285208054938401815585528385206008840401805463ffffffff60079095166004026101000a948502191660e08a901c94909402939093179092559390925287905281546001600160a01b03191617905583620008ef8162001573565b945050505080806200090190620013f1565b9150506200076f565b6000815111620009605760405162461bcd60e51b815260206004820152602b6024820152600080516020620030ec83398151915260448201526a1858d95d081d1bc818dd5d60aa1b6064820152608401620002e5565b600080516020620030608339815191526001600160a01b03831615620009ef5760405162461bcd60e51b815260206004820152603660248201527f4c69624469616d6f6e644375743a2052656d6f7665206661636574206164647260448201527f657373206d7573742062652061646472657373283029000000000000000000006064820152608401620002e5565b60005b825181101562000a6a57600083828151811062000a135762000a13620013af565b6020908102919091018101516001600160e01b031981166000908152918590526040909120549091506001600160a01b031662000a5284828462000cfc565b5050808062000a6190620013f1565b915050620009f2565b50505050565b6001600160a01b03821662000afa5780511562000af65760405162461bcd60e51b815260206004820152603c60248201527f4c69624469616d6f6e644375743a205f696e697420697320616464726573732860448201527f3029206275745f63616c6c64617461206973206e6f7420656d707479000000006064820152608401620002e5565b5050565b600081511162000b735760405162461bcd60e51b815260206004820152603d60248201527f4c69624469616d6f6e644375743a205f63616c6c6461746120697320656d707460448201527f7920627574205f696e6974206973206e6f7420616464726573732830290000006064820152608401620002e5565b6001600160a01b038216301462000ba95762000ba9826040518060600160405280602881526020016200308060289139620010d9565b600080836001600160a01b03168360405162000bc691906200159d565b600060405180830381855af49150503d806000811462000c03576040519150601f19603f3d011682016040523d82523d6000602084013e62000c08565b606091505b50915091508162000a6a5780511562000c37578060405162461bcd60e51b8152600401620002e59190620015bb565b60405162461bcd60e51b815260206004820152602660248201527f4c69624469616d6f6e644375743a205f696e69742066756e6374696f6e2072656044820152651d995c9d195960d21b6064820152608401620002e5565b62000cb481604051806060016040528060248152602001620030c860249139620010d9565b6002820180546001600160a01b0390921660008181526001948501602090815260408220860185905594840183559182529290200180546001600160a01b0319169091179055565b6001600160a01b03821662000d7a5760405162461bcd60e51b815260206004820152603760248201527f4c69624469616d6f6e644375743a2043616e27742072656d6f76652066756e6360448201527f74696f6e207468617420646f65736e27742065786973740000000000000000006064820152608401620002e5565b6001600160a01b03821630141562000dec5760405162461bcd60e51b815260206004820152602e60248201527f4c69624469616d6f6e644375743a2043616e27742072656d6f766520696d6d7560448201526d3a30b1363290333ab731ba34b7b760911b6064820152608401620002e5565b6001600160e01b03198116600090815260208481526040808320546001600160a01b0386168452600180880190935290832054600160a01b9091046001600160601b0316929162000e3d91620015d7565b905080821462000f36576001600160a01b0384166000908152600186016020526040812080548390811062000e765762000e76620013af565b600091825260208083206008830401546001600160a01b038916845260018a019091526040909220805460079092166004026101000a90920460e01b92508291908590811062000eca5762000eca620013af565b600091825260208083206008830401805463ffffffff60079094166004026101000a938402191660e09590951c929092029390931790556001600160e01b03199290921682528690526040902080546001600160a01b0316600160a01b6001600160601b038516021790555b6001600160a01b0384166000908152600186016020526040902080548062000f625762000f62620015f1565b60008281526020808220600860001990940193840401805463ffffffff600460078716026101000a0219169055919092556001600160e01b0319851682528690526040812055806200066d57600285015460009062000fc490600190620015d7565b6001600160a01b03861660009081526001808901602052604090912001549091508082146200107a576000876002018381548110620010075762001007620013af565b6000918252602090912001546002890180546001600160a01b0390921692508291849081106200103b576200103b620013af565b600091825260208083209190910180546001600160a01b0319166001600160a01b03948516179055929091168152600189810190925260409020018190555b86600201805480620010905762001090620015f1565b60008281526020808220830160001990810180546001600160a01b03191690559092019092556001600160a01b0388168252600189810190915260408220015550505050505050565b813b818162000a6a5760405162461bcd60e51b8152600401620002e59190620015bb565b634e487b7160e01b600052604160045260246000fd5b604051606081016001600160401b0381118282101715620011385762001138620010fd565b60405290565b604051601f8201601f191681016001600160401b0381118282101715620011695762001169620010fd565b604052919050565b60006001600160401b038211156200118d576200118d620010fd565b5060051b60200190565b80516001600160a01b0381168114620011af57600080fd5b919050565b600060208284031215620011c757600080fd5b604051602081016001600160401b0381118282101715620011ec57620011ec620010fd565b604052905080620011fd8362001197565b905292915050565b600080604083850312156200121957600080fd5b82516001600160401b03808211156200123157600080fd5b818501915085601f8301126200124657600080fd5b815160206200125f620012598362001171565b6200113e565b82815260059290921b840181019181810190898411156200127f57600080fd5b8286015b848110156200138f578051868111156200129c57600080fd5b87016060818d03601f19011215620012b357600080fd5b620012bd62001113565b620012ca86830162001197565b8152604082015160038110620012df57600080fd5b81870152606082015188811115620012f657600080fd5b8083019250508c603f8301126200130c57600080fd5b858201516200131f620012598262001171565b81815260059190911b830160400190878101908f8311156200134057600080fd5b6040850194505b82851015620013795784516001600160e01b0319811681146200136957600080fd5b8252938801939088019062001347565b6040840152505084525091830191830162001283565b509650620013a2905088888301620011b4565b9450505050509250929050565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052602160045260246000fd5b634e487b7160e01b600052601160045260246000fd5b6000600019821415620014085762001408620013db565b5060010190565b60005b838110156200142c57818101518382015260200162001412565b8381111562000a6a5750506000910152565b60008151808452620014588160208601602086016200140f565b601f01601f19169290920160200192915050565b60006060808301818452808751808352608092508286019150828160051b8701016020808b0160005b848110156200154157898403607f19018652815180516001600160a01b03168552838101518986019060038110620014dd57634e487b7160e01b600052602160045260246000fd5b868601526040918201519186018a905281519081905290840190600090898701905b808310156200152b5783516001600160e01b0319168252928601926001929092019190860190620014ff565b5097850197955050509082019060010162001495565b50506001600160a01b038a169088015286810360408801526200156581896200143e565b9a9950505050505050505050565b60006001600160601b0382811680821415620015935762001593620013db565b6001019392505050565b60008251620015b18184602087016200140f565b9190910192915050565b602081526000620015d060208301846200143e565b9392505050565b600082821015620015ec57620015ec620013db565b500390565b634e487b7160e01b600052603160045260246000fd5b611a4980620016176000396000f3fe60806040523661000b57005b600080357fffffffff000000000000000000000000000000000000000000000000000000001681527fc8fcad8db84d3cc18b4c41d551ea0ee66dd599cde068d998e57d5e09332c131c6020819052604090912054819073ffffffffffffffffffffffffffffffffffffffff16806100e3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4469616d6f6e643a2046756e6374696f6e20646f6573206e6f7420657869737460448201526064015b60405180910390fd5b3660008037600080366000845af43d6000803e808015610102573d6000f35b3d6000fd5b60005b83518110156103005760008482815181106101275761012761167b565b602002602001015160200151905060006002811115610148576101486116aa565b81600281111561015a5761015a6116aa565b14156101a9576101a48583815181106101755761017561167b565b6020026020010151600001518684815181106101935761019361167b565b602002602001015160400151610429565b6102ed565b60018160028111156101bd576101bd6116aa565b1415610207576101a48583815181106101d8576101d861167b565b6020026020010151600001518684815181106101f6576101f661167b565b6020026020010151604001516107dc565b600281600281111561021b5761021b6116aa565b1415610265576101a48583815181106102365761023661167b565b6020026020010151600001518684815181106102545761025461167b565b602002602001015160400151610b99565b6040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602760248201527f4c69624469616d6f6e644375743a20496e636f7272656374204661636574437560448201527f74416374696f6e0000000000000000000000000000000000000000000000000060648201526084016100da565b50806102f881611708565b91505061010a565b507f8faa70878671ccd212d20771b795c50af8fd3ff6cf27f4bde57e5d4de0aeb673838383604051610334939291906117b7565b60405180910390a16103468282610d8c565b505050565b7fc8fcad8db84d3cc18b4c41d551ea0ee66dd599cde068d998e57d5e09332c132080547fffffffffffffffffffffffff0000000000000000000000000000000000000000811673ffffffffffffffffffffffffffffffffffffffff8481169182179093556040517fc8fcad8db84d3cc18b4c41d551ea0ee66dd599cde068d998e57d5e09332c131c939092169182907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3505050565b7fc8fcad8db84d3cc18b4c41d551ea0ee66dd599cde068d998e57d5e09332c131c90565b60008151116104ba576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602b60248201527f4c69624469616d6f6e644375743a204e6f2073656c6563746f727320696e206660448201527f6163657420746f2063757400000000000000000000000000000000000000000060648201526084016100da565b7fc8fcad8db84d3cc18b4c41d551ea0ee66dd599cde068d998e57d5e09332c131c73ffffffffffffffffffffffffffffffffffffffff831661057e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602c60248201527f4c69624469616d6f6e644375743a204164642066616365742063616e2774206260448201527f652061646472657373283029000000000000000000000000000000000000000060648201526084016100da565b73ffffffffffffffffffffffffffffffffffffffff831660009081526001820160205260409020546bffffffffffffffffffffffff81166105c3576105c3828561103f565b60005b83518110156107d55760008482815181106105e3576105e361167b565b6020908102919091018101517fffffffff00000000000000000000000000000000000000000000000000000000811660009081529186905260409091205490915073ffffffffffffffffffffffffffffffffffffffff1680156106c8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603560248201527f4c69624469616d6f6e644375743a2043616e2774206164642066756e6374696f60448201527f6e207468617420616c726561647920657869737473000000000000000000000060648201526084016100da565b7fffffffff000000000000000000000000000000000000000000000000000000008216600081815260208781526040808320805473ffffffffffffffffffffffffffffffffffffffff908116740100000000000000000000000000000000000000006bffffffffffffffffffffffff8c16021782558c168085526001808c0185529285208054938401815585528385206008840401805463ffffffff60079095166004026101000a948502191660e08a901c94909402939093179092559390925287905281547fffffffffffffffffffffffff000000000000000000000000000000000000000016179055836107bd8161191f565b945050505080806107cd90611708565b9150506105c6565b5050505050565b600081511161086d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602b60248201527f4c69624469616d6f6e644375743a204e6f2073656c6563746f727320696e206660448201527f6163657420746f2063757400000000000000000000000000000000000000000060648201526084016100da565b7fc8fcad8db84d3cc18b4c41d551ea0ee66dd599cde068d998e57d5e09332c131c73ffffffffffffffffffffffffffffffffffffffff8316610931576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602c60248201527f4c69624469616d6f6e644375743a204164642066616365742063616e2774206260448201527f652061646472657373283029000000000000000000000000000000000000000060648201526084016100da565b73ffffffffffffffffffffffffffffffffffffffff831660009081526001820160205260409020546bffffffffffffffffffffffff811661097657610976828561103f565b60005b83518110156107d55760008482815181106109965761099661167b565b6020908102919091018101517fffffffff00000000000000000000000000000000000000000000000000000000811660009081529186905260409091205490915073ffffffffffffffffffffffffffffffffffffffff908116908716811415610a81576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603860248201527f4c69624469616d6f6e644375743a2043616e2774207265706c6163652066756e60448201527f6374696f6e20776974682073616d652066756e6374696f6e000000000000000060648201526084016100da565b610a8c8582846110ce565b7fffffffff000000000000000000000000000000000000000000000000000000008216600081815260208781526040808320805473ffffffffffffffffffffffffffffffffffffffff908116740100000000000000000000000000000000000000006bffffffffffffffffffffffff8c16021782558c168085526001808c0185529285208054938401815585528385206008840401805463ffffffff60079095166004026101000a948502191660e08a901c94909402939093179092559390925287905281547fffffffffffffffffffffffff00000000000000000000000000000000000000001617905583610b818161191f565b94505050508080610b9190611708565b915050610979565b6000815111610c2a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602b60248201527f4c69624469616d6f6e644375743a204e6f2073656c6563746f727320696e206660448201527f6163657420746f2063757400000000000000000000000000000000000000000060648201526084016100da565b7fc8fcad8db84d3cc18b4c41d551ea0ee66dd599cde068d998e57d5e09332c131c73ffffffffffffffffffffffffffffffffffffffff831615610cef576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603660248201527f4c69624469616d6f6e644375743a2052656d6f7665206661636574206164647260448201527f657373206d75737420626520616464726573732830290000000000000000000060648201526084016100da565b60005b8251811015610d86576000838281518110610d0f57610d0f61167b565b6020908102919091018101517fffffffff00000000000000000000000000000000000000000000000000000000811660009081529185905260409091205490915073ffffffffffffffffffffffffffffffffffffffff16610d718482846110ce565b50508080610d7e90611708565b915050610cf2565b50505050565b73ffffffffffffffffffffffffffffffffffffffff8216610e3a57805115610e36576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603c60248201527f4c69624469616d6f6e644375743a205f696e697420697320616464726573732860448201527f3029206275745f63616c6c64617461206973206e6f7420656d7074790000000060648201526084016100da565b5050565b6000815111610ecb576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603d60248201527f4c69624469616d6f6e644375743a205f63616c6c6461746120697320656d707460448201527f7920627574205f696e6974206973206e6f74206164647265737328302900000060648201526084016100da565b73ffffffffffffffffffffffffffffffffffffffff82163014610f0a57610f0a826040518060600160405280602881526020016119c860289139611640565b6000808373ffffffffffffffffffffffffffffffffffffffff1683604051610f32919061194b565b600060405180830381855af49150503d8060008114610f6d576040519150601f19603f3d011682016040523d82523d6000602084013e610f72565b606091505b509150915081610d8657805115610fb757806040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016100da9190611967565b6040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f4c69624469616d6f6e644375743a205f696e69742066756e6374696f6e20726560448201527f766572746564000000000000000000000000000000000000000000000000000060648201526084016100da565b611061816040518060600160405280602481526020016119f060249139611640565b60028201805473ffffffffffffffffffffffffffffffffffffffff90921660008181526001948501602090815260408220860185905594840183559182529290200180547fffffffffffffffffffffffff0000000000000000000000000000000000000000169091179055565b73ffffffffffffffffffffffffffffffffffffffff8216611171576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603760248201527f4c69624469616d6f6e644375743a2043616e27742072656d6f76652066756e6360448201527f74696f6e207468617420646f65736e277420657869737400000000000000000060648201526084016100da565b73ffffffffffffffffffffffffffffffffffffffff8216301415611217576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602e60248201527f4c69624469616d6f6e644375743a2043616e27742072656d6f766520696d6d7560448201527f7461626c652066756e6374696f6e00000000000000000000000000000000000060648201526084016100da565b7fffffffff0000000000000000000000000000000000000000000000000000000081166000908152602084815260408083205473ffffffffffffffffffffffffffffffffffffffff86168452600180880190935290832054740100000000000000000000000000000000000000009091046bffffffffffffffffffffffff1692916112a191611981565b90508082146113e85773ffffffffffffffffffffffffffffffffffffffff8416600090815260018601602052604081208054839081106112e3576112e361167b565b6000918252602080832060088304015473ffffffffffffffffffffffffffffffffffffffff8916845260018a019091526040909220805460079092166004026101000a90920460e01b9250829190859081106113415761134161167b565b600091825260208083206008830401805463ffffffff60079094166004026101000a938402191660e09590951c929092029390931790557fffffffff0000000000000000000000000000000000000000000000000000000092909216825286905260409020805473ffffffffffffffffffffffffffffffffffffffff16740100000000000000000000000000000000000000006bffffffffffffffffffffffff8516021790555b73ffffffffffffffffffffffffffffffffffffffff84166000908152600186016020526040902080548061141e5761141e611998565b6000828152602080822060087fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff90940193840401805463ffffffff600460078716026101000a0219169055919092557fffffffff00000000000000000000000000000000000000000000000000000000851682528690526040812055806107d55760028501546000906114b390600190611981565b73ffffffffffffffffffffffffffffffffffffffff861660009081526001808901602052604090912001549091508082146115a15760008760020183815481106114ff576114ff61167b565b60009182526020909120015460028901805473ffffffffffffffffffffffffffffffffffffffff909216925082918490811061153d5761153d61167b565b600091825260208083209190910180547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff948516179055929091168152600189810190925260409020018190555b866002018054806115b4576115b4611998565b6000828152602080822083017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff90810180547fffffffffffffffffffffffff000000000000000000000000000000000000000016905590920190925573ffffffffffffffffffffffffffffffffffffffff88168252600189810190915260408220015550505050505050565b813b8181610d86576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016100da9190611967565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561173a5761173a6116d9565b5060010190565b60005b8381101561175c578181015183820152602001611744565b83811115610d865750506000910152565b60008151808452611785816020860160208601611741565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160200192915050565b60006060808301818452808751808352608092508286019150828160051b8701016020808b0160005b848110156118e2577fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff808a8503018652815188850173ffffffffffffffffffffffffffffffffffffffff82511686528482015160038110611869577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b868601526040918201519186018a905281519081905290840190600090898701905b808310156118cd5783517fffffffff0000000000000000000000000000000000000000000000000000000016825292860192600192909201919086019061188b565b509785019795505050908201906001016117e0565b505073ffffffffffffffffffffffffffffffffffffffff8a16908801528681036040880152611911818961176d565b9a9950505050505050505050565b60006bffffffffffffffffffffffff80831681811415611941576119416116d9565b6001019392505050565b6000825161195d818460208701611741565b9190910192915050565b60208152600061197a602083018461176d565b9392505050565b600082821015611993576119936116d9565b500390565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fdfe4c69624469616d6f6e644375743a205f696e6974206164647265737320686173206e6f20636f64654c69624469616d6f6e644375743a204e657720666163657420686173206e6f20636f6465a2646970667358221220a164f5c0a5fb38836f80db7c0d13ba057b758bb3bdf1d37d32f097ad8988276c64736f6c63430008090033c8fcad8db84d3cc18b4c41d551ea0ee66dd599cde068d998e57d5e09332c131c4c69624469616d6f6e644375743a205f696e6974206164647265737320686173206e6f20636f64654c69624469616d6f6e644375743a204164642066616365742063616e277420624c69624469616d6f6e644375743a204e657720666163657420686173206e6f20636f64654c69624469616d6f6e644375743a204e6f2073656c6563746f727320696e2066a2646970667358221220d168b12deb9403843a83843cbf35570fba2e43d61cc75bf1c18eccc4e38ded5b64736f6c63430008090033", "linkReferences": {}, "deployedLinkReferences": {}, "devdoc": { @@ -83,379 +83,555 @@ }, "evm": { "bytecode": { - "generatedSources": [], - "linkReferences": {}, - "opcodes": "PUSH1 0x80 PUSH1 0x40 MSTORE CALLVALUE DUP1 ISZERO PUSH3 0x11 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH1 0x60 PUSH1 0x0 PUSH1 0x40 MLOAD PUSH3 0x24 SWAP1 PUSH3 0x486 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 PUSH1 0x0 CREATE DUP1 ISZERO DUP1 ISZERO PUSH3 0x41 JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP PUSH1 0x40 DUP1 MLOAD PUSH1 0x1 DUP1 DUP3 MSTORE DUP2 DUP4 ADD SWAP1 SWAP3 MSTORE SWAP2 SWAP3 POP PUSH1 0x20 DUP1 DUP4 ADD SWAP1 DUP1 CALLDATASIZE DUP4 CALLDATACOPY ADD SWAP1 POP POP SWAP2 POP PUSH4 0x1F931C1C PUSH1 0xE0 SHL DUP3 PUSH1 0x0 DUP2 MLOAD DUP2 LT PUSH3 0x7A JUMPI INVALID JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xE0 SHL SUB NOT SWAP3 SWAP1 SWAP3 AND PUSH1 0x20 SWAP3 DUP4 MUL SWAP2 SWAP1 SWAP2 ADD DUP3 ADD MSTORE PUSH1 0x40 DUP1 MLOAD PUSH1 0x60 DUP2 ADD DUP3 MSTORE PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP5 DUP2 AND DUP3 MSTORE PUSH1 0x0 SWAP4 DUP3 ADD DUP5 DUP2 MSTORE SWAP3 DUP3 ADD DUP7 SWAP1 MSTORE DUP4 SLOAD PUSH1 0x1 DUP2 ADD DUP6 SSTORE SWAP4 DUP1 MSTORE DUP2 MLOAD PUSH1 0x0 DUP1 MLOAD PUSH1 0x20 PUSH3 0x62A0 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE PUSH1 0x2 SWAP6 DUP7 MUL ADD DUP1 SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB NOT AND SWAP2 SWAP1 SWAP3 AND OR DUP1 DUP3 SSTORE SWAP3 MLOAD SWAP2 SWAP4 SWAP1 SWAP3 DUP4 SWAP2 PUSH1 0xFF PUSH1 0xA0 SHL NOT SWAP1 SWAP2 AND SWAP1 PUSH1 0x1 PUSH1 0xA0 SHL SWAP1 DUP5 SWAP1 DUP2 GT ISZERO PUSH3 0x113 JUMPI INVALID JUMPDEST MUL OR SWAP1 SSTORE POP PUSH1 0x40 DUP3 ADD MLOAD DUP1 MLOAD PUSH3 0x135 SWAP2 PUSH1 0x1 DUP5 ADD SWAP2 PUSH1 0x20 SWAP1 SWAP2 ADD SWAP1 PUSH3 0x494 JUMP JUMPDEST POP POP POP PUSH1 0x0 PUSH1 0x40 MLOAD PUSH3 0x148 SWAP1 PUSH3 0x547 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 PUSH1 0x0 CREATE DUP1 ISZERO DUP1 ISZERO PUSH3 0x165 JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP PUSH1 0x40 DUP1 MLOAD PUSH1 0x5 DUP1 DUP3 MSTORE PUSH1 0xC0 DUP3 ADD SWAP1 SWAP3 MSTORE SWAP2 SWAP3 POP PUSH1 0x20 DUP3 ADD PUSH1 0xA0 DUP1 CALLDATASIZE DUP4 CALLDATACOPY ADD SWAP1 POP POP SWAP3 POP PUSH4 0xADFCA15E PUSH1 0xE0 SHL DUP4 PUSH1 0x0 DUP2 MLOAD DUP2 LT PUSH3 0x19F JUMPI INVALID JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xE0 SHL SUB NOT SWAP1 SWAP3 AND PUSH1 0x20 SWAP3 DUP4 MUL SWAP2 SWAP1 SWAP2 ADD SWAP1 SWAP2 ADD MSTORE DUP3 MLOAD PUSH4 0x7A0ED627 PUSH1 0xE0 SHL SWAP1 DUP5 SWAP1 PUSH1 0x1 SWAP1 DUP2 LT PUSH3 0x1D1 JUMPI INVALID JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xE0 SHL SUB NOT SWAP1 SWAP3 AND PUSH1 0x20 SWAP3 DUP4 MUL SWAP2 SWAP1 SWAP2 ADD SWAP1 SWAP2 ADD MSTORE DUP3 MLOAD PUSH4 0x66FFD663 PUSH1 0xE1 SHL SWAP1 DUP5 SWAP1 PUSH1 0x2 SWAP1 DUP2 LT PUSH3 0x203 JUMPI INVALID JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xE0 SHL SUB NOT SWAP1 SWAP3 AND PUSH1 0x20 SWAP3 DUP4 MUL SWAP2 SWAP1 SWAP2 ADD SWAP1 SWAP2 ADD MSTORE DUP3 MLOAD PUSH4 0x14BBDACB PUSH1 0xE2 SHL SWAP1 DUP5 SWAP1 PUSH1 0x3 SWAP1 DUP2 LT PUSH3 0x235 JUMPI INVALID JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xE0 SHL SUB NOT SWAP1 SWAP3 AND PUSH1 0x20 SWAP3 DUP4 MUL SWAP2 SWAP1 SWAP2 ADD SWAP1 SWAP2 ADD MSTORE DUP3 MLOAD PUSH4 0x1FFC9A7 PUSH1 0xE0 SHL SWAP1 DUP5 SWAP1 PUSH1 0x4 SWAP1 DUP2 LT PUSH3 0x267 JUMPI INVALID JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xE0 SHL SUB NOT SWAP3 SWAP1 SWAP3 AND PUSH1 0x20 SWAP3 DUP4 MUL SWAP2 SWAP1 SWAP2 ADD DUP3 ADD MSTORE PUSH1 0x40 DUP1 MLOAD PUSH1 0x60 DUP2 ADD DUP3 MSTORE PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP5 DUP2 AND DUP3 MSTORE PUSH1 0x0 SWAP4 DUP3 ADD DUP5 DUP2 MSTORE SWAP3 DUP3 ADD DUP8 SWAP1 MSTORE DUP4 SLOAD PUSH1 0x1 DUP2 ADD DUP6 SSTORE SWAP4 DUP1 MSTORE DUP2 MLOAD PUSH1 0x0 DUP1 MLOAD PUSH1 0x20 PUSH3 0x62A0 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE PUSH1 0x2 SWAP6 DUP7 MUL ADD DUP1 SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB NOT AND SWAP2 SWAP1 SWAP3 AND OR DUP1 DUP3 SSTORE SWAP3 MLOAD SWAP2 SWAP4 SWAP1 SWAP3 DUP4 SWAP2 PUSH1 0xFF PUSH1 0xA0 SHL NOT SWAP1 SWAP2 AND SWAP1 PUSH1 0x1 PUSH1 0xA0 SHL SWAP1 DUP5 SWAP1 DUP2 GT ISZERO PUSH3 0x300 JUMPI INVALID JUMPDEST MUL OR SWAP1 SSTORE POP PUSH1 0x40 DUP3 ADD MLOAD DUP1 MLOAD PUSH3 0x322 SWAP2 PUSH1 0x1 DUP5 ADD SWAP2 PUSH1 0x20 SWAP1 SWAP2 ADD SWAP1 PUSH3 0x494 JUMP JUMPDEST POP POP POP PUSH1 0x0 PUSH1 0x40 MLOAD PUSH3 0x335 SWAP1 PUSH3 0x555 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 PUSH1 0x0 CREATE DUP1 ISZERO DUP1 ISZERO PUSH3 0x352 JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP PUSH1 0x40 DUP1 MLOAD PUSH1 0x2 DUP1 DUP3 MSTORE PUSH1 0x60 DUP3 ADD DUP4 MSTORE SWAP3 SWAP4 POP SWAP2 SWAP1 PUSH1 0x20 DUP4 ADD SWAP1 DUP1 CALLDATASIZE DUP4 CALLDATACOPY ADD SWAP1 POP POP SWAP4 POP PUSH4 0xF2FDE38B PUSH1 0xE0 SHL DUP5 PUSH1 0x0 DUP2 MLOAD DUP2 LT PUSH3 0x38C JUMPI INVALID JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xE0 SHL SUB NOT SWAP1 SWAP3 AND PUSH1 0x20 SWAP3 DUP4 MUL SWAP2 SWAP1 SWAP2 ADD SWAP1 SWAP2 ADD MSTORE DUP4 MLOAD PUSH4 0x8DA5CB5B PUSH1 0xE0 SHL SWAP1 DUP6 SWAP1 PUSH1 0x1 SWAP1 DUP2 LT PUSH3 0x3BE JUMPI INVALID JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xE0 SHL SUB NOT SWAP3 SWAP1 SWAP3 AND PUSH1 0x20 SWAP3 DUP4 MUL SWAP2 SWAP1 SWAP2 ADD DUP3 ADD MSTORE PUSH1 0x40 DUP1 MLOAD PUSH1 0x60 DUP2 ADD DUP3 MSTORE PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP5 DUP2 AND DUP3 MSTORE PUSH1 0x0 SWAP4 DUP3 ADD DUP5 DUP2 MSTORE SWAP3 DUP3 ADD DUP9 SWAP1 MSTORE DUP4 SLOAD PUSH1 0x1 DUP2 ADD DUP6 SSTORE SWAP4 DUP1 MSTORE DUP2 MLOAD PUSH1 0x0 DUP1 MLOAD PUSH1 0x20 PUSH3 0x62A0 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE PUSH1 0x2 SWAP6 DUP7 MUL ADD DUP1 SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB NOT AND SWAP2 SWAP1 SWAP3 AND OR DUP1 DUP3 SSTORE SWAP3 MLOAD SWAP2 SWAP4 SWAP1 SWAP3 DUP4 SWAP2 PUSH1 0xFF PUSH1 0xA0 SHL NOT SWAP1 SWAP2 AND SWAP1 PUSH1 0x1 PUSH1 0xA0 SHL SWAP1 DUP5 SWAP1 DUP2 GT ISZERO PUSH3 0x457 JUMPI INVALID JUMPDEST MUL OR SWAP1 SSTORE POP PUSH1 0x40 DUP3 ADD MLOAD DUP1 MLOAD PUSH3 0x479 SWAP2 PUSH1 0x1 DUP5 ADD SWAP2 PUSH1 0x20 SWAP1 SWAP2 ADD SWAP1 PUSH3 0x494 JUMP JUMPDEST POP POP POP POP POP POP POP PUSH3 0x57A JUMP JUMPDEST PUSH2 0x1B22 DUP1 PUSH3 0x3D93 DUP4 CODECOPY ADD SWAP1 JUMP JUMPDEST DUP3 DUP1 SLOAD DUP3 DUP3 SSTORE SWAP1 PUSH1 0x0 MSTORE PUSH1 0x20 PUSH1 0x0 KECCAK256 SWAP1 PUSH1 0x7 ADD PUSH1 0x8 SWAP1 DIV DUP2 ADD SWAP3 DUP3 ISZERO PUSH3 0x535 JUMPI SWAP2 PUSH1 0x20 MUL DUP3 ADD PUSH1 0x0 JUMPDEST DUP4 DUP3 GT ISZERO PUSH3 0x501 JUMPI DUP4 MLOAD DUP4 DUP3 PUSH2 0x100 EXP DUP2 SLOAD DUP2 PUSH4 0xFFFFFFFF MUL NOT AND SWAP1 DUP4 PUSH1 0xE0 SHR MUL OR SWAP1 SSTORE POP SWAP3 PUSH1 0x20 ADD SWAP3 PUSH1 0x4 ADD PUSH1 0x20 DUP2 PUSH1 0x3 ADD DIV SWAP3 DUP4 ADD SWAP3 PUSH1 0x1 SUB MUL PUSH3 0x4BE JUMP JUMPDEST DUP1 ISZERO PUSH3 0x533 JUMPI DUP3 DUP2 PUSH2 0x100 EXP DUP2 SLOAD SWAP1 PUSH4 0xFFFFFFFF MUL NOT AND SWAP1 SSTORE PUSH1 0x4 ADD PUSH1 0x20 DUP2 PUSH1 0x3 ADD DIV SWAP3 DUP4 ADD SWAP3 PUSH1 0x1 SUB MUL PUSH3 0x501 JUMP JUMPDEST POP JUMPDEST POP PUSH3 0x543 SWAP3 SWAP2 POP PUSH3 0x563 JUMP JUMPDEST POP SWAP1 JUMP JUMPDEST PUSH2 0x73D DUP1 PUSH3 0x58B5 DUP4 CODECOPY ADD SWAP1 JUMP JUMPDEST PUSH2 0x2AE DUP1 PUSH3 0x5FF2 DUP4 CODECOPY ADD SWAP1 JUMP JUMPDEST JUMPDEST DUP1 DUP3 GT ISZERO PUSH3 0x543 JUMPI PUSH1 0x0 DUP2 SSTORE PUSH1 0x1 ADD PUSH3 0x564 JUMP JUMPDEST PUSH2 0x3809 DUP1 PUSH3 0x58A PUSH1 0x0 CODECOPY PUSH1 0x0 RETURN INVALID PUSH1 0x80 PUSH1 0x40 MSTORE PUSH1 0x4 CALLDATASIZE LT PUSH3 0x20 JUMPI PUSH1 0x0 CALLDATALOAD PUSH1 0xE0 SHR DUP1 PUSH4 0xCCC2E316 EQ PUSH3 0x25 JUMPI JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH3 0x3C PUSH3 0x36 CALLDATASIZE PUSH1 0x4 PUSH3 0x31A JUMP JUMPDEST PUSH3 0x54 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH3 0x4B SWAP2 SWAP1 PUSH3 0x524 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH1 0x0 DUP2 ISZERO PUSH3 0xF9 JUMPI DUP2 DUP8 PUSH1 0x40 MLOAD PUSH1 0x20 ADD PUSH3 0x72 SWAP3 SWAP2 SWAP1 PUSH3 0x4F1 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH1 0x20 DUP2 DUP4 SUB SUB DUP2 MSTORE SWAP1 PUSH1 0x40 MSTORE DUP1 MLOAD SWAP1 PUSH1 0x20 ADD KECCAK256 SWAP2 POP CALLVALUE DUP3 SWAP1 PUSH1 0x0 PUSH1 0x40 MLOAD DUP1 PUSH1 0x20 ADD PUSH1 0x40 MSTORE DUP1 ADDRESS PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP2 MSTORE POP PUSH1 0x40 MLOAD PUSH3 0xC2 SWAP1 PUSH3 0x298 JUMP JUMPDEST PUSH3 0xCF SWAP3 SWAP2 SWAP1 PUSH3 0x6CC JUMP JUMPDEST DUP3 SWAP1 PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 DUP4 CREATE2 SWAP2 POP POP DUP1 ISZERO DUP1 ISZERO PUSH3 0xF0 JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP SWAP1 POP PUSH3 0x147 JUMP JUMPDEST PUSH1 0x40 DUP1 MLOAD PUSH1 0x20 DUP2 ADD DUP3 MSTORE ADDRESS DUP2 MSTORE SWAP1 MLOAD CALLVALUE SWAP2 PUSH1 0x0 SWAP2 PUSH3 0x118 SWAP1 PUSH3 0x298 JUMP JUMPDEST PUSH3 0x125 SWAP3 SWAP2 SWAP1 PUSH3 0x6CC JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 DUP3 CREATE SWAP1 POP DUP1 ISZERO DUP1 ISZERO PUSH3 0x143 JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP SWAP1 POP JUMPDEST PUSH32 0x644CA5B0A8B0418E9FAF3880659EEB84EAAD45AD838B0173808E5CA72F5EFC49 DUP2 PUSH1 0x40 MLOAD PUSH3 0x178 SWAP2 SWAP1 PUSH3 0x524 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 LOG1 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP2 AND PUSH4 0x1F931C1C DUP8 DUP8 DUP7 PUSH3 0x1AC JUMPI PUSH1 0x0 PUSH3 0x1AE JUMP JUMPDEST DUP5 JUMPDEST DUP9 DUP9 PUSH1 0x40 MLOAD DUP7 PUSH4 0xFFFFFFFF AND PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH3 0x1D2 SWAP6 SWAP5 SWAP4 SWAP3 SWAP2 SWAP1 PUSH3 0x545 JUMP JUMPDEST PUSH1 0x0 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 PUSH1 0x0 DUP8 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH3 0x1ED JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS CALL ISZERO DUP1 ISZERO PUSH3 0x202 JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP PUSH1 0x40 MLOAD PUSH32 0xF2FDE38B00000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP5 AND SWAP3 POP PUSH4 0xF2FDE38B SWAP2 POP PUSH3 0x25A SWAP1 DUP11 SWAP1 PUSH1 0x4 ADD PUSH3 0x524 JUMP JUMPDEST PUSH1 0x0 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 PUSH1 0x0 DUP8 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH3 0x275 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS CALL ISZERO DUP1 ISZERO PUSH3 0x28A JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP SWAP7 SWAP6 POP POP POP POP POP POP JUMP JUMPDEST PUSH2 0x2D45 DUP1 PUSH3 0xA8F DUP4 CODECOPY ADD SWAP1 JUMP JUMPDEST DUP1 CALLDATALOAD PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP2 AND DUP2 EQ PUSH3 0x2CB JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 DUP1 DUP4 PUSH1 0x1F DUP5 ADD SLT PUSH3 0x2E2 JUMPI DUP2 DUP3 REVERT JUMPDEST POP DUP2 CALLDATALOAD PUSH8 0xFFFFFFFFFFFFFFFF DUP2 GT ISZERO PUSH3 0x2FA JUMPI DUP2 DUP3 REVERT JUMPDEST PUSH1 0x20 DUP4 ADD SWAP2 POP DUP4 PUSH1 0x20 DUP3 DUP6 ADD ADD GT ISZERO PUSH3 0x313 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST SWAP3 POP SWAP3 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x0 DUP1 PUSH1 0x0 DUP1 PUSH1 0x80 DUP8 DUP10 SUB SLT ISZERO PUSH3 0x333 JUMPI DUP2 DUP3 REVERT JUMPDEST PUSH3 0x33E DUP8 PUSH3 0x2A6 JUMP JUMPDEST SWAP6 POP PUSH1 0x20 DUP8 ADD CALLDATALOAD PUSH8 0xFFFFFFFFFFFFFFFF DUP1 DUP3 GT ISZERO PUSH3 0x35B JUMPI DUP4 DUP5 REVERT JUMPDEST DUP2 DUP10 ADD SWAP2 POP DUP10 PUSH1 0x1F DUP4 ADD SLT PUSH3 0x36F JUMPI DUP4 DUP5 REVERT JUMPDEST DUP2 CALLDATALOAD DUP2 DUP2 GT ISZERO PUSH3 0x37E JUMPI DUP5 DUP6 REVERT JUMPDEST DUP11 PUSH1 0x20 DUP1 DUP4 MUL DUP6 ADD ADD GT ISZERO PUSH3 0x392 JUMPI DUP5 DUP6 REVERT JUMPDEST PUSH1 0x20 DUP4 ADD SWAP8 POP DUP1 SWAP7 POP POP PUSH1 0x40 DUP10 ADD CALLDATALOAD SWAP2 POP DUP1 DUP3 GT ISZERO PUSH3 0x3B0 JUMPI DUP4 DUP5 REVERT JUMPDEST POP PUSH3 0x3BF DUP10 DUP3 DUP11 ADD PUSH3 0x2D0 JUMP JUMPDEST SWAP8 SWAP11 SWAP7 SWAP10 POP SWAP5 SWAP8 SWAP5 SWAP7 SWAP6 PUSH1 0x60 SWAP1 SWAP6 ADD CALLDATALOAD SWAP5 SWAP4 POP POP POP POP JUMP JUMPDEST PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND SWAP1 MSTORE JUMP JUMPDEST PUSH1 0x0 DUP3 DUP5 MSTORE PUSH1 0x20 DUP1 DUP6 ADD SWAP5 POP DUP3 DUP3 JUMPDEST DUP6 DUP2 LT ISZERO PUSH3 0x44E JUMPI DUP2 CALLDATALOAD PUSH32 0xFFFFFFFF00000000000000000000000000000000000000000000000000000000 DUP2 AND DUP1 DUP3 EQ PUSH3 0x43A JUMPI DUP6 DUP7 REVERT JUMPDEST DUP9 MSTORE POP SWAP6 DUP3 ADD SWAP6 SWAP1 DUP3 ADD SWAP1 PUSH1 0x1 ADD PUSH3 0x400 JUMP JUMPDEST POP SWAP5 SWAP6 SWAP5 POP POP POP POP POP JUMP JUMPDEST PUSH32 0xFFFFFFFF00000000000000000000000000000000000000000000000000000000 AND SWAP1 MSTORE JUMP JUMPDEST PUSH1 0x0 DUP3 DUP5 MSTORE DUP3 DUP3 PUSH1 0x20 DUP7 ADD CALLDATACOPY DUP1 PUSH1 0x20 DUP5 DUP7 ADD ADD MSTORE PUSH1 0x20 PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFE0 PUSH1 0x1F DUP6 ADD AND DUP6 ADD ADD SWAP1 POP SWAP4 SWAP3 POP POP POP JUMP JUMPDEST PUSH1 0x3 DUP2 LT PUSH3 0x4D2 JUMPI INVALID JUMPDEST SWAP1 MSTORE JUMP JUMPDEST MLOAD PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND SWAP1 MSTORE JUMP JUMPDEST SWAP2 DUP3 MSTORE PUSH1 0x60 SHL PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF000000000000000000000000 AND PUSH1 0x20 DUP3 ADD MSTORE PUSH1 0x34 ADD SWAP1 JUMP JUMPDEST PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF SWAP2 SWAP1 SWAP2 AND DUP2 MSTORE PUSH1 0x20 ADD SWAP1 JUMP JUMPDEST PUSH1 0x60 DUP1 DUP3 MSTORE DUP2 DUP2 ADD DUP7 SWAP1 MSTORE PUSH1 0x0 SWAP1 PUSH1 0x20 PUSH1 0x80 DUP1 DUP6 ADD SWAP1 DUP3 DUP11 MUL DUP7 ADD ADD DUP11 DUP6 JUMPDEST DUP12 DUP2 LT ISZERO PUSH3 0x698 JUMPI PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF80 DUP9 DUP5 SUB ADD DUP5 MSTORE DUP2 CALLDATALOAD PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFA1 DUP15 CALLDATASIZE SUB ADD DUP2 SLT PUSH3 0x5C6 JUMPI DUP8 DUP9 REVERT JUMPDEST DUP14 ADD PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF PUSH3 0x5E8 DUP3 PUSH3 0x2A6 JUMP JUMPDEST AND DUP5 MSTORE DUP6 DUP2 ADD CALLDATALOAD PUSH1 0x3 DUP2 LT PUSH3 0x5FC JUMPI DUP9 DUP10 REVERT JUMPDEST PUSH3 0x60A DUP8 DUP7 ADD DUP3 PUSH3 0x4C7 JUMP JUMPDEST POP PUSH1 0x40 DUP1 DUP3 ADD CALLDATALOAD PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFE1 DUP4 CALLDATASIZE SUB ADD DUP2 SLT PUSH3 0x641 JUMPI DUP10 DUP11 REVERT JUMPDEST DUP3 ADD DUP1 CALLDATALOAD PUSH8 0xFFFFFFFFFFFFFFFF DUP2 GT ISZERO PUSH3 0x65A JUMPI DUP11 DUP12 REVERT JUMPDEST DUP9 DUP2 MUL CALLDATASIZE SUB DUP5 SGT ISZERO PUSH3 0x66B JUMPI DUP11 DUP12 REVERT JUMPDEST DUP10 DUP4 DUP9 ADD MSTORE PUSH3 0x681 DUP11 DUP9 ADD DUP3 DUP12 DUP6 ADD PUSH3 0x3F1 JUMP JUMPDEST SWAP8 DUP10 ADD SWAP8 SWAP7 POP POP POP SWAP3 DUP7 ADD SWAP3 POP POP PUSH1 0x1 ADD PUSH3 0x564 JUMP JUMPDEST POP POP PUSH3 0x6A8 DUP4 DUP8 ADD DUP11 PUSH3 0x3D7 JUMP JUMPDEST DUP6 DUP2 SUB PUSH1 0x40 DUP8 ADD MSTORE PUSH3 0x6BD DUP2 DUP9 DUP11 PUSH3 0x47F JUMP JUMPDEST SWAP12 SWAP11 POP POP POP POP POP POP POP POP POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x40 DUP3 MSTORE PUSH1 0x40 DUP3 ADD DUP5 SLOAD DUP1 DUP3 MSTORE PUSH1 0x60 DUP5 ADD SWAP2 POP PUSH1 0x20 PUSH1 0x60 DUP2 DUP4 MUL DUP7 ADD ADD DUP8 DUP6 MSTORE DUP2 DUP6 KECCAK256 DUP6 JUMPDEST DUP5 DUP2 LT ISZERO PUSH3 0xA5B JUMPI PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFA0 DUP9 DUP5 SUB ADD DUP7 MSTORE DUP2 SLOAD PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP2 AND DUP5 MSTORE PUSH3 0x752 DUP6 DUP6 ADD PUSH1 0xFF DUP4 PUSH1 0xA0 SHR AND PUSH3 0x4C7 JUMP JUMPDEST POP PUSH1 0x1 DUP1 DUP4 ADD PUSH1 0x60 PUSH1 0x40 DUP7 ADD MSTORE PUSH1 0x60 DUP6 ADD DUP2 SLOAD PUSH3 0x771 DUP2 DUP4 PUSH3 0xA85 JUMP JUMPDEST SWAP2 POP PUSH3 0x77E DUP4 PUSH3 0xA79 JUMP JUMPDEST SWAP3 POP DUP11 JUMPDEST DUP2 PUSH1 0x7 DUP3 ADD LT ISZERO PUSH3 0x85E JUMPI DUP4 SLOAD PUSH3 0x79F DUP5 DUP3 PUSH1 0xE0 SHL PUSH3 0x459 JUMP JUMPDEST PUSH32 0xFFFFFFFF00000000000000000000000000000000000000000000000000000000 PUSH3 0x7D3 DUP12 DUP7 ADD DUP3 DUP5 PUSH1 0xC0 SHL AND PUSH3 0x459 JUMP JUMPDEST PUSH3 0x7E7 PUSH1 0x40 DUP7 ADD DUP3 DUP5 PUSH1 0xA0 SHL AND PUSH3 0x459 JUMP JUMPDEST PUSH3 0x7FB PUSH1 0x60 DUP7 ADD DUP3 DUP5 PUSH1 0x80 SHL AND PUSH3 0x459 JUMP JUMPDEST PUSH3 0x80F PUSH1 0x80 DUP7 ADD DUP3 DUP5 PUSH1 0x60 SHL AND PUSH3 0x459 JUMP JUMPDEST PUSH3 0x823 PUSH1 0xA0 DUP7 ADD DUP3 DUP5 PUSH1 0x40 SHL AND PUSH3 0x459 JUMP JUMPDEST PUSH3 0x836 PUSH1 0xC0 DUP7 ADD DUP3 DUP5 DUP15 SHL AND PUSH3 0x459 JUMP JUMPDEST PUSH3 0x847 PUSH1 0xE0 DUP7 ADD DUP3 DUP5 AND PUSH3 0x459 JUMP JUMPDEST POP POP SWAP3 DUP5 ADD SWAP3 PUSH2 0x100 SWAP3 SWAP1 SWAP3 ADD SWAP2 PUSH1 0x8 ADD PUSH3 0x782 JUMP JUMPDEST SWAP3 SLOAD SWAP3 DUP2 DUP2 LT ISZERO PUSH3 0x880 JUMPI PUSH3 0x879 DUP4 DUP6 PUSH1 0xE0 SHL PUSH3 0x459 JUMP JUMPDEST SWAP2 DUP9 ADD SWAP2 DUP5 ADD JUMPDEST DUP2 DUP2 LT ISZERO PUSH3 0x8C1 JUMPI PUSH3 0x8BA DUP4 PUSH32 0xFFFFFFFF00000000000000000000000000000000000000000000000000000000 DUP7 PUSH1 0xC0 SHL AND PUSH3 0x459 JUMP JUMPDEST SWAP2 DUP9 ADD SWAP2 DUP5 ADD JUMPDEST DUP2 DUP2 LT ISZERO PUSH3 0x902 JUMPI PUSH3 0x8FB DUP4 PUSH32 0xFFFFFFFF00000000000000000000000000000000000000000000000000000000 DUP7 PUSH1 0xA0 SHL AND PUSH3 0x459 JUMP JUMPDEST SWAP2 DUP9 ADD SWAP2 DUP5 ADD JUMPDEST DUP2 DUP2 LT ISZERO PUSH3 0x943 JUMPI PUSH3 0x93C DUP4 PUSH32 0xFFFFFFFF00000000000000000000000000000000000000000000000000000000 DUP7 PUSH1 0x80 SHL AND PUSH3 0x459 JUMP JUMPDEST SWAP2 DUP9 ADD SWAP2 DUP5 ADD JUMPDEST DUP2 DUP2 LT ISZERO PUSH3 0x984 JUMPI PUSH3 0x97D DUP4 PUSH32 0xFFFFFFFF00000000000000000000000000000000000000000000000000000000 DUP7 PUSH1 0x60 SHL AND PUSH3 0x459 JUMP JUMPDEST SWAP2 DUP9 ADD SWAP2 DUP5 ADD JUMPDEST DUP2 DUP2 LT ISZERO PUSH3 0x9C5 JUMPI PUSH3 0x9BE DUP4 PUSH32 0xFFFFFFFF00000000000000000000000000000000000000000000000000000000 DUP7 PUSH1 0x40 SHL AND PUSH3 0x459 JUMP JUMPDEST SWAP2 DUP9 ADD SWAP2 DUP5 ADD JUMPDEST DUP2 DUP2 LT ISZERO PUSH3 0xA05 JUMPI PUSH3 0x9FE DUP4 PUSH32 0xFFFFFFFF00000000000000000000000000000000000000000000000000000000 DUP7 DUP13 SHL AND PUSH3 0x459 JUMP JUMPDEST SWAP2 DUP9 ADD SWAP2 DUP5 ADD JUMPDEST DUP2 DUP2 LT ISZERO PUSH3 0xA41 JUMPI PUSH3 0xA3C DUP4 PUSH32 0xFFFFFFFF00000000000000000000000000000000000000000000000000000000 DUP7 AND PUSH3 0x459 JUMP JUMPDEST SWAP2 DUP9 ADD SWAP2 JUMPDEST POP POP SWAP8 DUP7 ADD SWAP8 SWAP5 POP POP POP PUSH1 0x2 SWAP2 SWAP1 SWAP2 ADD SWAP1 PUSH1 0x1 ADD PUSH3 0x6F3 JUMP JUMPDEST POP POP DUP1 SWAP5 POP POP PUSH3 0xA6F DUP2 DUP7 ADD DUP8 PUSH3 0x4D6 JUMP JUMPDEST POP POP POP SWAP4 SWAP3 POP POP POP JUMP JUMPDEST PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x20 SWAP1 KECCAK256 SWAP1 JUMP JUMPDEST SWAP1 DUP2 MSTORE PUSH1 0x20 ADD SWAP1 JUMP INVALID PUSH1 0x80 PUSH1 0x40 MSTORE PUSH1 0x40 MLOAD PUSH3 0x2D45 CODESIZE SUB DUP1 PUSH3 0x2D45 DUP4 CODECOPY DUP2 ADD PUSH1 0x40 DUP2 SWAP1 MSTORE PUSH3 0x26 SWAP2 PUSH3 0xDB2 JUMP JUMPDEST PUSH1 0x40 DUP1 MLOAD PUSH1 0x0 DUP1 DUP3 MSTORE PUSH1 0x20 DUP3 ADD SWAP1 SWAP3 MSTORE PUSH3 0x4E SWAP2 DUP5 SWAP2 PUSH3 0xF5 PUSH1 0x20 SHL PUSH3 0xDB OR PUSH1 0x20 SHR JUMP JUMPDEST PUSH3 0x68 DUP2 PUSH1 0x0 ADD MLOAD PUSH3 0x2B5 PUSH1 0x20 SHL PUSH3 0x27D OR PUSH1 0x20 SHR JUMP JUMPDEST PUSH1 0x0 PUSH3 0x7F PUSH3 0x317 PUSH1 0x20 SHL PUSH3 0x302 OR PUSH1 0x20 SHR JUMP JUMPDEST PUSH4 0x1FFC9A7 PUSH1 0xE0 SHL PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x3 SWAP1 SWAP2 ADD PUSH1 0x20 MSTORE PUSH1 0x40 DUP1 DUP3 KECCAK256 DUP1 SLOAD PUSH1 0xFF NOT SWAP1 DUP2 AND PUSH1 0x1 SWAP1 DUP2 OR SWAP1 SWAP3 SSTORE PUSH4 0x7E4C707 PUSH1 0xE2 SHL DUP5 MSTORE DUP3 DUP5 KECCAK256 DUP1 SLOAD DUP3 AND DUP4 OR SWAP1 SSTORE PUSH4 0x48E2B093 PUSH1 0xE0 SHL DUP5 MSTORE DUP3 DUP5 KECCAK256 DUP1 SLOAD DUP3 AND DUP4 OR SWAP1 SSTORE PUSH4 0x7F5828D PUSH1 0xE4 SHL DUP5 MSTORE SWAP2 SWAP1 SWAP3 KECCAK256 DUP1 SLOAD SWAP1 SWAP2 AND SWAP1 SWAP2 OR SWAP1 SSTORE POP PUSH3 0x1442 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 JUMPDEST DUP4 MLOAD DUP2 LT ISZERO PUSH3 0x266 JUMPI PUSH1 0x0 DUP5 DUP3 DUP2 MLOAD DUP2 LT PUSH3 0x111 JUMPI INVALID JUMPDEST PUSH1 0x20 MUL PUSH1 0x20 ADD ADD MLOAD PUSH1 0x20 ADD MLOAD SWAP1 POP PUSH1 0x0 PUSH1 0x2 DUP2 GT ISZERO PUSH3 0x12D JUMPI INVALID JUMPDEST DUP2 PUSH1 0x2 DUP2 GT ISZERO PUSH3 0x13A JUMPI INVALID JUMPDEST EQ ISZERO PUSH3 0x189 JUMPI PUSH3 0x183 DUP6 DUP4 DUP2 MLOAD DUP2 LT PUSH3 0x152 JUMPI INVALID JUMPDEST PUSH1 0x20 MUL PUSH1 0x20 ADD ADD MLOAD PUSH1 0x0 ADD MLOAD DUP7 DUP5 DUP2 MLOAD DUP2 LT PUSH3 0x16B JUMPI INVALID JUMPDEST PUSH1 0x20 MUL PUSH1 0x20 ADD ADD MLOAD PUSH1 0x40 ADD MLOAD PUSH3 0x33B PUSH1 0x20 SHL PUSH1 0x20 SHR JUMP JUMPDEST PUSH3 0x25C JUMP JUMPDEST PUSH1 0x1 DUP2 PUSH1 0x2 DUP2 GT ISZERO PUSH3 0x198 JUMPI INVALID JUMPDEST EQ ISZERO PUSH3 0x1E1 JUMPI PUSH3 0x183 DUP6 DUP4 DUP2 MLOAD DUP2 LT PUSH3 0x1B0 JUMPI INVALID JUMPDEST PUSH1 0x20 MUL PUSH1 0x20 ADD ADD MLOAD PUSH1 0x0 ADD MLOAD DUP7 DUP5 DUP2 MLOAD DUP2 LT PUSH3 0x1C9 JUMPI INVALID JUMPDEST PUSH1 0x20 MUL PUSH1 0x20 ADD ADD MLOAD PUSH1 0x40 ADD MLOAD PUSH3 0x54E PUSH1 0x20 SHL PUSH1 0x20 SHR JUMP JUMPDEST PUSH1 0x2 DUP2 PUSH1 0x2 DUP2 GT ISZERO PUSH3 0x1F0 JUMPI INVALID JUMPDEST EQ ISZERO PUSH3 0x239 JUMPI PUSH3 0x183 DUP6 DUP4 DUP2 MLOAD DUP2 LT PUSH3 0x208 JUMPI INVALID JUMPDEST PUSH1 0x20 MUL PUSH1 0x20 ADD ADD MLOAD PUSH1 0x0 ADD MLOAD DUP7 DUP5 DUP2 MLOAD DUP2 LT PUSH3 0x221 JUMPI INVALID JUMPDEST PUSH1 0x20 MUL PUSH1 0x20 ADD ADD MLOAD PUSH1 0x40 ADD MLOAD PUSH3 0x778 PUSH1 0x20 SHL PUSH1 0x20 SHR JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH3 0x253 SWAP1 PUSH3 0x117C JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST POP PUSH1 0x1 ADD PUSH3 0xF8 JUMP JUMPDEST POP PUSH32 0x8FAA70878671CCD212D20771B795C50AF8FD3FF6CF27F4BDE57E5D4DE0AEB673 DUP4 DUP4 DUP4 PUSH1 0x40 MLOAD PUSH3 0x29C SWAP4 SWAP3 SWAP2 SWAP1 PUSH3 0xF25 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 LOG1 PUSH3 0x2B0 DUP3 DUP3 PUSH3 0x83F JUMP JUMPDEST POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH3 0x2C1 PUSH3 0x317 JUMP JUMPDEST PUSH1 0x4 DUP2 ADD DUP1 SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP6 DUP2 AND PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB NOT DUP4 AND DUP2 OR SWAP1 SWAP4 SSTORE PUSH1 0x40 MLOAD SWAP4 SWAP5 POP AND SWAP2 DUP3 SWAP1 PUSH32 0x8BE0079C531659141344CD1FD0A4F28419497F9722A3DAAFE3B4186F6B6457E0 SWAP1 PUSH1 0x0 SWAP1 LOG3 POP POP POP JUMP JUMPDEST PUSH32 0xC8FCAD8DB84D3CC18B4C41D551EA0EE66DD599CDE068D998E57D5E09332C131C SWAP1 JUMP JUMPDEST PUSH1 0x0 DUP2 MLOAD GT PUSH3 0x35F JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH3 0x253 SWAP1 PUSH3 0x10D4 JUMP JUMPDEST PUSH1 0x0 PUSH3 0x36B PUSH3 0x317 JUMP JUMPDEST SWAP1 POP PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP4 AND PUSH3 0x396 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH3 0x253 SWAP1 PUSH3 0x11C3 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP4 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x1 DUP3 ADD PUSH1 0x20 MSTORE PUSH1 0x40 SWAP1 KECCAK256 SLOAD PUSH2 0xFFFF DUP2 AND PUSH3 0x43C JUMPI PUSH3 0x3E0 DUP5 PUSH1 0x40 MLOAD DUP1 PUSH1 0x60 ADD PUSH1 0x40 MSTORE DUP1 PUSH1 0x24 DUP2 MSTORE PUSH1 0x20 ADD PUSH3 0x2D21 PUSH1 0x24 SWAP2 CODECOPY PUSH3 0x97C JUMP JUMPDEST PUSH1 0x2 DUP3 ADD DUP1 SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP7 AND PUSH1 0x0 DUP2 DUP2 MSTORE PUSH1 0x1 DUP1 DUP8 ADD PUSH1 0x20 SWAP1 DUP2 MSTORE PUSH1 0x40 DUP4 KECCAK256 DUP3 ADD DUP1 SLOAD PUSH2 0xFFFF NOT AND PUSH2 0xFFFF SWAP1 SWAP7 AND SWAP6 SWAP1 SWAP6 OR SWAP1 SWAP5 SSTORE DUP5 SLOAD SWAP1 DUP2 ADD DUP6 SSTORE SWAP4 DUP2 MSTORE SWAP2 SWAP1 SWAP2 KECCAK256 SWAP1 SWAP2 ADD DUP1 SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB NOT AND SWAP1 SWAP2 OR SWAP1 SSTORE JUMPDEST PUSH1 0x0 JUMPDEST DUP4 MLOAD DUP2 LT ISZERO PUSH3 0x547 JUMPI PUSH1 0x0 DUP5 DUP3 DUP2 MLOAD DUP2 LT PUSH3 0x458 JUMPI INVALID JUMPDEST PUSH1 0x20 SWAP1 DUP2 MUL SWAP2 SWAP1 SWAP2 ADD DUP2 ADD MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xE0 SHL SUB NOT DUP2 AND PUSH1 0x0 SWAP1 DUP2 MSTORE SWAP2 DUP7 SWAP1 MSTORE PUSH1 0x40 SWAP1 SWAP2 KECCAK256 SLOAD SWAP1 SWAP2 POP PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND DUP1 ISZERO PUSH3 0x4AB JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH3 0x253 SWAP1 PUSH3 0x12BA JUMP JUMPDEST POP PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP7 AND PUSH1 0x0 DUP2 DUP2 MSTORE PUSH1 0x1 DUP7 DUP2 ADD PUSH1 0x20 SWAP1 DUP2 MSTORE PUSH1 0x40 DUP1 DUP5 KECCAK256 DUP1 SLOAD DUP1 DUP6 ADD DUP3 SSTORE SWAP1 DUP6 MSTORE DUP3 DUP6 KECCAK256 PUSH1 0x8 DUP3 DIV ADD DUP1 SLOAD PUSH4 0xFFFFFFFF PUSH1 0x7 SWAP1 SWAP4 AND PUSH1 0x4 MUL PUSH2 0x100 EXP SWAP3 DUP4 MUL NOT AND PUSH1 0xE0 DUP10 SWAP1 SHR SWAP3 SWAP1 SWAP3 MUL SWAP2 SWAP1 SWAP2 OR SWAP1 SSTORE PUSH1 0x1 PUSH1 0x1 PUSH1 0xE0 SHL SUB NOT SWAP1 SWAP6 AND DUP4 MSTORE DUP8 SWAP1 MSTORE SWAP3 SWAP1 KECCAK256 DUP1 SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB NOT AND SWAP1 SWAP2 OR PUSH2 0xFFFF PUSH1 0xA0 SHL NOT AND PUSH1 0x1 PUSH1 0xA0 SHL PUSH2 0xFFFF DUP7 AND MUL OR SWAP1 SSTORE SWAP2 DUP3 ADD SWAP2 ADD PUSH3 0x43F JUMP JUMPDEST POP POP POP POP POP JUMP JUMPDEST PUSH1 0x0 DUP2 MLOAD GT PUSH3 0x572 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH3 0x253 SWAP1 PUSH3 0x10D4 JUMP JUMPDEST PUSH1 0x0 PUSH3 0x57E PUSH3 0x317 JUMP JUMPDEST SWAP1 POP PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP4 AND PUSH3 0x5A9 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH3 0x253 SWAP1 PUSH3 0x11C3 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP4 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x1 DUP3 ADD PUSH1 0x20 MSTORE PUSH1 0x40 SWAP1 KECCAK256 SLOAD PUSH2 0xFFFF DUP2 AND PUSH3 0x64F JUMPI PUSH3 0x5F3 DUP5 PUSH1 0x40 MLOAD DUP1 PUSH1 0x60 ADD PUSH1 0x40 MSTORE DUP1 PUSH1 0x24 DUP2 MSTORE PUSH1 0x20 ADD PUSH3 0x2D21 PUSH1 0x24 SWAP2 CODECOPY PUSH3 0x97C JUMP JUMPDEST PUSH1 0x2 DUP3 ADD DUP1 SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP7 AND PUSH1 0x0 DUP2 DUP2 MSTORE PUSH1 0x1 DUP1 DUP8 ADD PUSH1 0x20 SWAP1 DUP2 MSTORE PUSH1 0x40 DUP4 KECCAK256 DUP3 ADD DUP1 SLOAD PUSH2 0xFFFF NOT AND PUSH2 0xFFFF SWAP1 SWAP7 AND SWAP6 SWAP1 SWAP6 OR SWAP1 SWAP5 SSTORE DUP5 SLOAD SWAP1 DUP2 ADD DUP6 SSTORE SWAP4 DUP2 MSTORE SWAP2 SWAP1 SWAP2 KECCAK256 SWAP1 SWAP2 ADD DUP1 SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB NOT AND SWAP1 SWAP2 OR SWAP1 SSTORE JUMPDEST PUSH1 0x0 JUMPDEST DUP4 MLOAD DUP2 LT ISZERO PUSH3 0x547 JUMPI PUSH1 0x0 DUP5 DUP3 DUP2 MLOAD DUP2 LT PUSH3 0x66B JUMPI INVALID JUMPDEST PUSH1 0x20 SWAP1 DUP2 MUL SWAP2 SWAP1 SWAP2 ADD DUP2 ADD MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xE0 SHL SUB NOT DUP2 AND PUSH1 0x0 SWAP1 DUP2 MSTORE SWAP2 DUP7 SWAP1 MSTORE PUSH1 0x40 SWAP1 SWAP2 KECCAK256 SLOAD SWAP1 SWAP2 POP PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 DUP2 AND SWAP1 DUP8 AND DUP2 EQ ISZERO PUSH3 0x6C4 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH3 0x253 SWAP1 PUSH3 0x1317 JUMP JUMPDEST PUSH3 0x6D0 DUP2 DUP4 PUSH3 0x9A0 JUMP JUMPDEST POP PUSH1 0x1 PUSH1 0x1 PUSH1 0xE0 SHL SUB NOT DUP2 AND PUSH1 0x0 DUP2 DUP2 MSTORE PUSH1 0x20 DUP7 DUP2 MSTORE PUSH1 0x40 DUP1 DUP4 KECCAK256 DUP1 SLOAD PUSH2 0xFFFF PUSH1 0xA0 SHL NOT AND PUSH1 0x1 PUSH1 0xA0 SHL PUSH2 0xFFFF DUP11 AND MUL OR DUP2 SSTORE PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP12 AND DUP1 DUP6 MSTORE PUSH1 0x1 DUP1 DUP12 ADD DUP6 MSTORE SWAP3 DUP6 KECCAK256 DUP1 SLOAD DUP1 DUP6 ADD DUP3 SSTORE SWAP1 DUP7 MSTORE DUP5 DUP7 KECCAK256 PUSH1 0x8 DUP3 DIV ADD DUP1 SLOAD PUSH4 0xFFFFFFFF PUSH1 0x7 SWAP1 SWAP4 AND PUSH1 0x4 MUL PUSH2 0x100 EXP SWAP3 DUP4 MUL NOT AND PUSH1 0xE0 SWAP10 SWAP1 SWAP10 SHR SWAP2 SWAP1 SWAP2 MUL SWAP8 SWAP1 SWAP8 OR SWAP1 SWAP7 SSTORE SWAP4 SWAP1 SWAP3 MSTORE DUP7 SWAP1 MSTORE DUP2 SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB NOT AND SWAP1 SWAP3 OR SWAP1 SSTORE SWAP2 DUP3 ADD SWAP2 ADD PUSH3 0x652 JUMP JUMPDEST PUSH1 0x0 DUP2 MLOAD GT PUSH3 0x79C JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH3 0x253 SWAP1 PUSH3 0x10D4 JUMP JUMPDEST PUSH1 0x0 PUSH3 0x7A8 PUSH3 0x317 JUMP JUMPDEST SWAP1 POP PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP4 AND ISZERO PUSH3 0x7D4 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH3 0x253 SWAP1 PUSH3 0x1374 JUMP JUMPDEST PUSH1 0x0 JUMPDEST DUP3 MLOAD DUP2 LT ISZERO PUSH3 0x839 JUMPI PUSH1 0x0 DUP4 DUP3 DUP2 MLOAD DUP2 LT PUSH3 0x7F0 JUMPI INVALID JUMPDEST PUSH1 0x20 SWAP1 DUP2 MUL SWAP2 SWAP1 SWAP2 ADD DUP2 ADD MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xE0 SHL SUB NOT DUP2 AND PUSH1 0x0 SWAP1 DUP2 MSTORE SWAP2 DUP6 SWAP1 MSTORE PUSH1 0x40 SWAP1 SWAP2 KECCAK256 SLOAD SWAP1 SWAP2 POP PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND PUSH3 0x82E DUP2 DUP4 PUSH3 0x9A0 JUMP JUMPDEST POP POP PUSH1 0x1 ADD PUSH3 0x7D7 JUMP JUMPDEST POP POP POP POP JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP3 AND PUSH3 0x876 JUMPI DUP1 MLOAD ISZERO PUSH3 0x870 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH3 0x253 SWAP1 PUSH3 0x1031 JUMP JUMPDEST PUSH3 0x978 JUMP JUMPDEST PUSH1 0x0 DUP2 MLOAD GT PUSH3 0x89A JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH3 0x253 SWAP1 PUSH3 0x120F JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP3 AND ADDRESS EQ PUSH3 0x8D0 JUMPI PUSH3 0x8D0 DUP3 PUSH1 0x40 MLOAD DUP1 PUSH1 0x60 ADD PUSH1 0x40 MSTORE DUP1 PUSH1 0x28 DUP2 MSTORE PUSH1 0x20 ADD PUSH3 0x2CF9 PUSH1 0x28 SWAP2 CODECOPY PUSH3 0x97C JUMP JUMPDEST PUSH1 0x0 DUP1 DUP4 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND DUP4 PUSH1 0x40 MLOAD PUSH3 0x8ED SWAP2 SWAP1 PUSH3 0xF07 JUMP JUMPDEST PUSH1 0x0 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP6 GAS DELEGATECALL SWAP2 POP POP RETURNDATASIZE DUP1 PUSH1 0x0 DUP2 EQ PUSH3 0x92A JUMPI PUSH1 0x40 MLOAD SWAP2 POP PUSH1 0x1F NOT PUSH1 0x3F RETURNDATASIZE ADD AND DUP3 ADD PUSH1 0x40 MSTORE RETURNDATASIZE DUP3 MSTORE RETURNDATASIZE PUSH1 0x0 PUSH1 0x20 DUP5 ADD RETURNDATACOPY PUSH3 0x92F JUMP JUMPDEST PUSH1 0x60 SWAP2 POP JUMPDEST POP SWAP2 POP SWAP2 POP DUP2 PUSH3 0x839 JUMPI DUP1 MLOAD ISZERO PUSH3 0x95E JUMPI DUP1 PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH3 0x253 SWAP2 SWAP1 PUSH3 0x1015 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH3 0x253 SWAP1 PUSH3 0x108E JUMP JUMPDEST POP POP JUMP JUMPDEST DUP2 EXTCODESIZE DUP2 DUP2 PUSH3 0x839 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH3 0x253 SWAP2 SWAP1 PUSH3 0x1015 JUMP JUMPDEST PUSH1 0x0 PUSH3 0x9AC PUSH3 0x317 JUMP JUMPDEST SWAP1 POP PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP4 AND PUSH3 0x9D7 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH3 0x253 SWAP1 PUSH3 0x111F JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP4 AND ADDRESS EQ ISZERO PUSH3 0xA03 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH3 0x253 SWAP1 PUSH3 0x126C JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xE0 SHL SUB NOT DUP3 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x20 DUP3 DUP2 MSTORE PUSH1 0x40 DUP1 DUP4 KECCAK256 SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP8 AND DUP5 MSTORE PUSH1 0x1 DUP6 ADD SWAP1 SWAP3 MSTORE SWAP1 SWAP2 KECCAK256 SLOAD PUSH1 0x1 PUSH1 0xA0 SHL SWAP1 SWAP2 DIV PUSH2 0xFFFF AND SWAP1 PUSH1 0x0 NOT ADD DUP1 DUP3 EQ PUSH3 0xB27 JUMPI PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP6 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x1 DUP5 ADD PUSH1 0x20 MSTORE PUSH1 0x40 DUP2 KECCAK256 DUP1 SLOAD DUP4 SWAP1 DUP2 LT PUSH3 0xA75 JUMPI INVALID JUMPDEST PUSH1 0x0 SWAP2 DUP3 MSTORE PUSH1 0x20 DUP1 DUP4 KECCAK256 PUSH1 0x8 DUP4 DIV ADD SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP11 AND DUP5 MSTORE PUSH1 0x1 DUP9 ADD SWAP1 SWAP2 MSTORE PUSH1 0x40 SWAP1 SWAP3 KECCAK256 DUP1 SLOAD PUSH1 0x7 SWAP1 SWAP3 AND PUSH1 0x4 MUL PUSH2 0x100 EXP SWAP1 SWAP3 DIV PUSH1 0xE0 SHL SWAP3 POP DUP3 SWAP2 SWAP1 DUP6 SWAP1 DUP2 LT PUSH3 0xAC1 JUMPI INVALID JUMPDEST PUSH1 0x0 SWAP2 DUP3 MSTORE PUSH1 0x20 DUP1 DUP4 KECCAK256 PUSH1 0x8 DUP4 DIV ADD DUP1 SLOAD PUSH4 0xFFFFFFFF PUSH1 0x7 SWAP1 SWAP5 AND PUSH1 0x4 MUL PUSH2 0x100 EXP SWAP4 DUP5 MUL NOT AND PUSH1 0xE0 SWAP6 SWAP1 SWAP6 SHR SWAP3 SWAP1 SWAP3 MUL SWAP4 SWAP1 SWAP4 OR SWAP1 SSTORE PUSH1 0x1 PUSH1 0x1 PUSH1 0xE0 SHL SUB NOT SWAP3 SWAP1 SWAP3 AND DUP3 MSTORE DUP5 SWAP1 MSTORE PUSH1 0x40 SWAP1 KECCAK256 DUP1 SLOAD PUSH2 0xFFFF PUSH1 0xA0 SHL NOT AND PUSH1 0x1 PUSH1 0xA0 SHL PUSH2 0xFFFF DUP6 AND MUL OR SWAP1 SSTORE JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP6 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x1 DUP5 ADD PUSH1 0x20 MSTORE PUSH1 0x40 SWAP1 KECCAK256 DUP1 SLOAD DUP1 PUSH3 0xB4B JUMPI INVALID JUMPDEST PUSH1 0x0 DUP3 DUP2 MSTORE PUSH1 0x20 DUP1 DUP3 KECCAK256 PUSH1 0x8 PUSH1 0x0 NOT SWAP1 SWAP5 ADD SWAP4 DUP5 DIV ADD DUP1 SLOAD PUSH4 0xFFFFFFFF PUSH1 0x4 PUSH1 0x7 DUP8 AND MUL PUSH2 0x100 EXP MUL NOT AND SWAP1 SSTORE SWAP2 SWAP1 SWAP3 SSTORE PUSH1 0x1 PUSH1 0x1 PUSH1 0xE0 SHL SUB NOT DUP7 AND DUP3 MSTORE DUP5 SWAP1 MSTORE PUSH1 0x40 SWAP1 KECCAK256 DUP1 SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xB0 SHL SUB NOT AND SWAP1 SSTORE DUP1 PUSH3 0x547 JUMPI PUSH1 0x2 DUP4 ADD SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP7 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x1 DUP6 DUP2 ADD PUSH1 0x20 MSTORE PUSH1 0x40 SWAP1 SWAP2 KECCAK256 ADD SLOAD PUSH1 0x0 NOT SWAP1 SWAP2 ADD SWAP1 PUSH2 0xFFFF AND DUP1 DUP3 EQ PUSH3 0xC63 JUMPI PUSH1 0x0 DUP6 PUSH1 0x2 ADD DUP4 DUP2 SLOAD DUP2 LT PUSH3 0xBEC JUMPI INVALID JUMPDEST PUSH1 0x0 SWAP2 DUP3 MSTORE PUSH1 0x20 SWAP1 SWAP2 KECCAK256 ADD SLOAD PUSH1 0x2 DUP8 ADD DUP1 SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 SWAP3 AND SWAP3 POP DUP3 SWAP2 DUP5 SWAP1 DUP2 LT PUSH3 0xC18 JUMPI INVALID JUMPDEST PUSH1 0x0 SWAP2 DUP3 MSTORE PUSH1 0x20 DUP1 DUP4 KECCAK256 SWAP2 SWAP1 SWAP2 ADD DUP1 SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB NOT AND PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP5 DUP6 AND OR SWAP1 SSTORE SWAP3 SWAP1 SWAP2 AND DUP2 MSTORE PUSH1 0x1 DUP8 DUP2 ADD SWAP1 SWAP3 MSTORE PUSH1 0x40 SWAP1 KECCAK256 ADD DUP1 SLOAD PUSH2 0xFFFF NOT AND PUSH2 0xFFFF DUP4 AND OR SWAP1 SSTORE JUMPDEST DUP5 PUSH1 0x2 ADD DUP1 SLOAD DUP1 PUSH3 0xC71 JUMPI INVALID JUMPDEST PUSH1 0x0 DUP3 DUP2 MSTORE PUSH1 0x20 DUP1 DUP3 KECCAK256 DUP4 ADD PUSH1 0x0 NOT SWAP1 DUP2 ADD DUP1 SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB NOT AND SWAP1 SSTORE SWAP1 SWAP3 ADD SWAP1 SWAP3 SSTORE PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP10 AND DUP3 MSTORE PUSH1 0x1 DUP8 DUP2 ADD SWAP1 SWAP2 MSTORE PUSH1 0x40 SWAP1 SWAP2 KECCAK256 ADD DUP1 SLOAD PUSH2 0xFFFF NOT AND SWAP1 SSTORE POP POP POP POP POP POP POP JUMP JUMPDEST DUP1 MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP2 AND DUP2 EQ PUSH3 0xCDB JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 DUP3 PUSH1 0x1F DUP4 ADD SLT PUSH3 0xCF1 JUMPI DUP1 DUP2 REVERT JUMPDEST DUP2 MLOAD PUSH1 0x20 PUSH3 0xD0A PUSH3 0xD04 DUP4 PUSH3 0x13F5 JUMP JUMPDEST PUSH3 0x13D1 JUMP JUMPDEST DUP3 DUP2 MSTORE DUP2 DUP2 ADD SWAP1 DUP6 DUP4 ADD DUP4 DUP6 MUL DUP8 ADD DUP5 ADD DUP9 LT ISZERO PUSH3 0xD27 JUMPI DUP6 DUP7 REVERT JUMPDEST DUP6 JUMPDEST DUP6 DUP2 LT ISZERO PUSH3 0xD5D JUMPI DUP2 MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xE0 SHL SUB NOT DUP2 AND DUP2 EQ PUSH3 0xD4A JUMPI DUP8 DUP9 REVERT JUMPDEST DUP5 MSTORE SWAP3 DUP5 ADD SWAP3 SWAP1 DUP5 ADD SWAP1 PUSH1 0x1 ADD PUSH3 0xD29 JUMP JUMPDEST POP SWAP1 SWAP8 SWAP7 POP POP POP POP POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH3 0xD7C JUMPI DUP1 DUP2 REVERT JUMPDEST PUSH1 0x40 MLOAD PUSH1 0x20 DUP2 ADD PUSH1 0x1 PUSH1 0x1 PUSH1 0x40 SHL SUB DUP2 GT DUP3 DUP3 LT OR ISZERO PUSH3 0xD99 JUMPI INVALID JUMPDEST PUSH1 0x40 MSTORE SWAP1 POP DUP1 PUSH3 0xDAA DUP4 PUSH3 0xCC3 JUMP JUMPDEST SWAP1 MSTORE SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x40 DUP4 DUP6 SUB SLT ISZERO PUSH3 0xDC5 JUMPI DUP2 DUP3 REVERT JUMPDEST DUP3 MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0x40 SHL SUB DUP1 DUP3 GT ISZERO PUSH3 0xDDC JUMPI DUP4 DUP5 REVERT JUMPDEST DUP2 DUP6 ADD SWAP2 POP DUP6 PUSH1 0x1F DUP4 ADD SLT PUSH3 0xDF0 JUMPI DUP4 DUP5 REVERT JUMPDEST DUP2 MLOAD PUSH1 0x20 PUSH3 0xE03 PUSH3 0xD04 DUP4 PUSH3 0x13F5 JUMP JUMPDEST DUP3 DUP2 MSTORE DUP2 DUP2 ADD SWAP1 DUP6 DUP4 ADD DUP9 JUMPDEST DUP6 DUP2 LT ISZERO PUSH3 0xEAA JUMPI DUP2 MLOAD DUP9 ADD PUSH1 0x60 DUP2 DUP15 SUB PUSH1 0x1F NOT ADD SLT ISZERO PUSH3 0xE30 JUMPI DUP11 DUP12 REVERT JUMPDEST PUSH1 0x40 MLOAD PUSH1 0x60 DUP2 ADD DUP2 DUP2 LT DUP11 DUP3 GT OR ISZERO PUSH3 0xE46 JUMPI INVALID JUMPDEST PUSH1 0x40 MSTORE PUSH3 0xE56 DUP3 DUP9 ADD PUSH3 0xCC3 JUMP JUMPDEST DUP2 MSTORE PUSH1 0x40 DUP3 ADD MLOAD PUSH1 0x3 DUP2 LT PUSH3 0xE6A JUMPI DUP13 DUP14 REVERT JUMPDEST DUP2 DUP9 ADD MSTORE PUSH1 0x60 DUP3 ADD MLOAD DUP10 DUP2 GT ISZERO PUSH3 0xE80 JUMPI DUP13 DUP14 REVERT JUMPDEST PUSH3 0xE90 DUP16 DUP10 DUP4 DUP7 ADD ADD PUSH3 0xCE0 JUMP JUMPDEST PUSH1 0x40 DUP4 ADD MSTORE POP DUP6 MSTORE POP SWAP3 DUP5 ADD SWAP3 SWAP1 DUP5 ADD SWAP1 PUSH1 0x1 ADD PUSH3 0xE0F JUMP JUMPDEST POP POP DUP1 SWAP8 POP POP POP PUSH3 0xEBF DUP9 DUP3 DUP10 ADD PUSH3 0xD6A JUMP JUMPDEST SWAP5 POP POP POP POP POP SWAP3 POP SWAP3 SWAP1 POP JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND SWAP1 MSTORE JUMP JUMPDEST PUSH1 0x0 DUP2 MLOAD DUP1 DUP5 MSTORE PUSH3 0xEF3 DUP2 PUSH1 0x20 DUP7 ADD PUSH1 0x20 DUP7 ADD PUSH3 0x1413 JUMP JUMPDEST PUSH1 0x1F ADD PUSH1 0x1F NOT AND SWAP3 SWAP1 SWAP3 ADD PUSH1 0x20 ADD SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP3 MLOAD PUSH3 0xF1B DUP2 DUP5 PUSH1 0x20 DUP8 ADD PUSH3 0x1413 JUMP JUMPDEST SWAP2 SWAP1 SWAP2 ADD SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x60 DUP1 DUP3 MSTORE DUP5 MLOAD DUP3 DUP3 ADD DUP2 SWAP1 MSTORE PUSH1 0x0 SWAP2 SWAP1 PUSH1 0x80 SWAP1 DUP2 DUP6 ADD SWAP1 PUSH1 0x20 DUP1 DUP3 MUL DUP8 ADD DUP5 ADD DUP2 DUP12 ADD DUP8 JUMPDEST DUP5 DUP2 LT ISZERO PUSH3 0xFE2 JUMPI DUP10 DUP4 SUB PUSH1 0x7F NOT ADD DUP7 MSTORE DUP2 MLOAD DUP1 MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND DUP5 MSTORE DUP5 DUP2 ADD MLOAD DUP10 DUP6 ADD SWAP1 PUSH1 0x3 DUP2 LT PUSH3 0xF7F JUMPI INVALID JUMPDEST DUP6 DUP8 ADD MSTORE PUSH1 0x40 SWAP2 DUP3 ADD MLOAD SWAP2 DUP6 ADD DUP11 SWAP1 MSTORE DUP2 MLOAD SWAP1 DUP2 SWAP1 MSTORE SWAP1 DUP6 ADD SWAP1 DUP11 SWAP1 DUP10 DUP7 ADD SWAP1 JUMPDEST DUP1 DUP4 LT ISZERO PUSH3 0xFCC JUMPI DUP4 MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xE0 SHL SUB NOT AND DUP3 MSTORE SWAP3 DUP8 ADD SWAP3 PUSH1 0x1 SWAP3 SWAP1 SWAP3 ADD SWAP2 SWAP1 DUP8 ADD SWAP1 PUSH3 0xFA0 JUMP JUMPDEST POP SWAP8 DUP7 ADD SWAP8 SWAP5 POP POP POP SWAP1 DUP4 ADD SWAP1 PUSH1 0x1 ADD PUSH3 0xF4B JUMP JUMPDEST POP POP PUSH3 0xFF2 DUP3 DUP10 ADD DUP12 PUSH3 0xECC JUMP JUMPDEST DUP8 DUP2 SUB PUSH1 0x40 DUP10 ADD MSTORE PUSH3 0x1006 DUP2 DUP11 PUSH3 0xED9 JUMP JUMPDEST SWAP12 SWAP11 POP POP POP POP POP POP POP POP POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 MSTORE PUSH3 0x102A PUSH1 0x20 DUP4 ADD DUP5 PUSH3 0xED9 JUMP JUMPDEST SWAP4 SWAP3 POP POP POP JUMP JUMPDEST PUSH1 0x20 DUP1 DUP3 MSTORE PUSH1 0x3C SWAP1 DUP3 ADD MSTORE PUSH32 0x4C69624469616D6F6E644375743A205F696E6974206973206164647265737328 PUSH1 0x40 DUP3 ADD MSTORE PUSH32 0x3029206275745F63616C6C64617461206973206E6F7420656D70747900000000 PUSH1 0x60 DUP3 ADD MSTORE PUSH1 0x80 ADD SWAP1 JUMP JUMPDEST PUSH1 0x20 DUP1 DUP3 MSTORE PUSH1 0x26 SWAP1 DUP3 ADD MSTORE PUSH32 0x4C69624469616D6F6E644375743A205F696E69742066756E6374696F6E207265 PUSH1 0x40 DUP3 ADD MSTORE PUSH6 0x1D995C9D1959 PUSH1 0xD2 SHL PUSH1 0x60 DUP3 ADD MSTORE PUSH1 0x80 ADD SWAP1 JUMP JUMPDEST PUSH1 0x20 DUP1 DUP3 MSTORE PUSH1 0x2B SWAP1 DUP3 ADD MSTORE PUSH32 0x4C69624469616D6F6E644375743A204E6F2073656C6563746F727320696E2066 PUSH1 0x40 DUP3 ADD MSTORE PUSH11 0x1858D95D081D1BC818DD5D PUSH1 0xAA SHL PUSH1 0x60 DUP3 ADD MSTORE PUSH1 0x80 ADD SWAP1 JUMP JUMPDEST PUSH1 0x20 DUP1 DUP3 MSTORE PUSH1 0x37 SWAP1 DUP3 ADD MSTORE PUSH32 0x4C69624469616D6F6E644375743A2043616E27742072656D6F76652066756E63 PUSH1 0x40 DUP3 ADD MSTORE PUSH32 0x74696F6E207468617420646F65736E2774206578697374000000000000000000 PUSH1 0x60 DUP3 ADD MSTORE PUSH1 0x80 ADD SWAP1 JUMP JUMPDEST PUSH1 0x20 DUP1 DUP3 MSTORE PUSH1 0x27 SWAP1 DUP3 ADD MSTORE PUSH32 0x4C69624469616D6F6E644375743A20496E636F72726563742046616365744375 PUSH1 0x40 DUP3 ADD MSTORE PUSH7 0x3A20B1BA34B7B7 PUSH1 0xC9 SHL PUSH1 0x60 DUP3 ADD MSTORE PUSH1 0x80 ADD SWAP1 JUMP JUMPDEST PUSH1 0x20 DUP1 DUP3 MSTORE PUSH1 0x2C SWAP1 DUP3 ADD MSTORE PUSH32 0x4C69624469616D6F6E644375743A204164642066616365742063616E27742062 PUSH1 0x40 DUP3 ADD MSTORE PUSH12 0x652061646472657373283029 PUSH1 0xA0 SHL PUSH1 0x60 DUP3 ADD MSTORE PUSH1 0x80 ADD SWAP1 JUMP JUMPDEST PUSH1 0x20 DUP1 DUP3 MSTORE PUSH1 0x3D SWAP1 DUP3 ADD MSTORE PUSH32 0x4C69624469616D6F6E644375743A205F63616C6C6461746120697320656D7074 PUSH1 0x40 DUP3 ADD MSTORE PUSH32 0x7920627574205F696E6974206973206E6F742061646472657373283029000000 PUSH1 0x60 DUP3 ADD MSTORE PUSH1 0x80 ADD SWAP1 JUMP JUMPDEST PUSH1 0x20 DUP1 DUP3 MSTORE PUSH1 0x2E SWAP1 DUP3 ADD MSTORE PUSH32 0x4C69624469616D6F6E644375743A2043616E27742072656D6F766520696D6D75 PUSH1 0x40 DUP3 ADD MSTORE PUSH14 0x3A30B1363290333AB731BA34B7B7 PUSH1 0x91 SHL PUSH1 0x60 DUP3 ADD MSTORE PUSH1 0x80 ADD SWAP1 JUMP JUMPDEST PUSH1 0x20 DUP1 DUP3 MSTORE PUSH1 0x35 SWAP1 DUP3 ADD MSTORE PUSH32 0x4C69624469616D6F6E644375743A2043616E2774206164642066756E6374696F PUSH1 0x40 DUP3 ADD MSTORE PUSH32 0x6E207468617420616C7265616479206578697374730000000000000000000000 PUSH1 0x60 DUP3 ADD MSTORE PUSH1 0x80 ADD SWAP1 JUMP JUMPDEST PUSH1 0x20 DUP1 DUP3 MSTORE PUSH1 0x38 SWAP1 DUP3 ADD MSTORE PUSH32 0x4C69624469616D6F6E644375743A2043616E2774207265706C6163652066756E PUSH1 0x40 DUP3 ADD MSTORE PUSH32 0x6374696F6E20776974682073616D652066756E6374696F6E0000000000000000 PUSH1 0x60 DUP3 ADD MSTORE PUSH1 0x80 ADD SWAP1 JUMP JUMPDEST PUSH1 0x20 DUP1 DUP3 MSTORE PUSH1 0x36 SWAP1 DUP3 ADD MSTORE PUSH32 0x4C69624469616D6F6E644375743A2052656D6F76652066616365742061646472 PUSH1 0x40 DUP3 ADD MSTORE PUSH32 0x657373206D757374206265206164647265737328302900000000000000000000 PUSH1 0x60 DUP3 ADD MSTORE PUSH1 0x80 ADD SWAP1 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP2 DUP2 ADD PUSH1 0x1 PUSH1 0x1 PUSH1 0x40 SHL SUB DUP2 GT DUP3 DUP3 LT OR ISZERO PUSH3 0x13ED JUMPI INVALID JUMPDEST PUSH1 0x40 MSTORE SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x1 PUSH1 0x1 PUSH1 0x40 SHL SUB DUP3 GT ISZERO PUSH3 0x1409 JUMPI INVALID JUMPDEST POP PUSH1 0x20 SWAP1 DUP2 MUL ADD SWAP1 JUMP JUMPDEST PUSH1 0x0 JUMPDEST DUP4 DUP2 LT ISZERO PUSH3 0x1430 JUMPI DUP2 DUP2 ADD MLOAD DUP4 DUP3 ADD MSTORE PUSH1 0x20 ADD PUSH3 0x1416 JUMP JUMPDEST DUP4 DUP2 GT ISZERO PUSH3 0x839 JUMPI POP POP PUSH1 0x0 SWAP2 ADD MSTORE JUMP JUMPDEST PUSH2 0x18A7 DUP1 PUSH3 0x1452 PUSH1 0x0 CODECOPY PUSH1 0x0 RETURN INVALID PUSH1 0x80 PUSH1 0x40 MSTORE CALLDATASIZE PUSH2 0xB JUMPI STOP JUMPDEST PUSH1 0x0 DUP1 CALLDATALOAD PUSH32 0xFFFFFFFF00000000000000000000000000000000000000000000000000000000 AND DUP2 MSTORE PUSH32 0xC8FCAD8DB84D3CC18B4C41D551EA0EE66DD599CDE068D998E57D5E09332C131C PUSH1 0x20 DUP2 SWAP1 MSTORE PUSH1 0x40 SWAP1 SWAP2 KECCAK256 SLOAD DUP2 SWAP1 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP1 PUSH2 0xB7 JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0xAE SWAP1 PUSH2 0x15F3 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST CALLDATASIZE PUSH1 0x0 DUP1 CALLDATACOPY PUSH1 0x0 DUP1 CALLDATASIZE PUSH1 0x0 DUP5 GAS DELEGATECALL RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY DUP1 DUP1 ISZERO PUSH2 0xD6 JUMPI RETURNDATASIZE PUSH1 0x0 RETURN JUMPDEST RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST PUSH1 0x0 JUMPDEST DUP4 MLOAD DUP2 LT ISZERO PUSH2 0x232 JUMPI PUSH1 0x0 DUP5 DUP3 DUP2 MLOAD DUP2 LT PUSH2 0xF5 JUMPI INVALID JUMPDEST PUSH1 0x20 MUL PUSH1 0x20 ADD ADD MLOAD PUSH1 0x20 ADD MLOAD SWAP1 POP PUSH1 0x0 PUSH1 0x2 DUP2 GT ISZERO PUSH2 0x110 JUMPI INVALID JUMPDEST DUP2 PUSH1 0x2 DUP2 GT ISZERO PUSH2 0x11C JUMPI INVALID JUMPDEST EQ ISZERO PUSH2 0x15F JUMPI PUSH2 0x15A DUP6 DUP4 DUP2 MLOAD DUP2 LT PUSH2 0x131 JUMPI INVALID JUMPDEST PUSH1 0x20 MUL PUSH1 0x20 ADD ADD MLOAD PUSH1 0x0 ADD MLOAD DUP7 DUP5 DUP2 MLOAD DUP2 LT PUSH2 0x149 JUMPI INVALID JUMPDEST PUSH1 0x20 MUL PUSH1 0x20 ADD ADD MLOAD PUSH1 0x40 ADD MLOAD PUSH2 0x326 JUMP JUMPDEST PUSH2 0x229 JUMP JUMPDEST PUSH1 0x1 DUP2 PUSH1 0x2 DUP2 GT ISZERO PUSH2 0x16D JUMPI INVALID JUMPDEST EQ ISZERO PUSH2 0x1AB JUMPI PUSH2 0x15A DUP6 DUP4 DUP2 MLOAD DUP2 LT PUSH2 0x182 JUMPI INVALID JUMPDEST PUSH1 0x20 MUL PUSH1 0x20 ADD ADD MLOAD PUSH1 0x0 ADD MLOAD DUP7 DUP5 DUP2 MLOAD DUP2 LT PUSH2 0x19A JUMPI INVALID JUMPDEST PUSH1 0x20 MUL PUSH1 0x20 ADD ADD MLOAD PUSH1 0x40 ADD MLOAD PUSH2 0x65E JUMP JUMPDEST PUSH1 0x2 DUP2 PUSH1 0x2 DUP2 GT ISZERO PUSH2 0x1B9 JUMPI INVALID JUMPDEST EQ ISZERO PUSH2 0x1F7 JUMPI PUSH2 0x15A DUP6 DUP4 DUP2 MLOAD DUP2 LT PUSH2 0x1CE JUMPI INVALID JUMPDEST PUSH1 0x20 MUL PUSH1 0x20 ADD ADD MLOAD PUSH1 0x0 ADD MLOAD DUP7 DUP5 DUP2 MLOAD DUP2 LT PUSH2 0x1E6 JUMPI INVALID JUMPDEST PUSH1 0x20 MUL PUSH1 0x20 ADD ADD MLOAD PUSH1 0x40 ADD MLOAD PUSH2 0x9AB JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0xAE SWAP1 PUSH2 0x1539 JUMP JUMPDEST POP PUSH1 0x1 ADD PUSH2 0xDE JUMP JUMPDEST POP PUSH32 0x8FAA70878671CCD212D20771B795C50AF8FD3FF6CF27F4BDE57E5D4DE0AEB673 DUP4 DUP4 DUP4 PUSH1 0x40 MLOAD PUSH2 0x266 SWAP4 SWAP3 SWAP2 SWAP1 PUSH2 0x1282 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 LOG1 PUSH2 0x278 DUP3 DUP3 PUSH2 0xACB JUMP JUMPDEST POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x287 PUSH2 0x302 JUMP JUMPDEST PUSH1 0x4 DUP2 ADD DUP1 SLOAD PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP6 DUP2 AND PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFF0000000000000000000000000000000000000000 DUP4 AND DUP2 OR SWAP1 SWAP4 SSTORE PUSH1 0x40 MLOAD SWAP4 SWAP5 POP AND SWAP2 DUP3 SWAP1 PUSH32 0x8BE0079C531659141344CD1FD0A4F28419497F9722A3DAAFE3B4186F6B6457E0 SWAP1 PUSH1 0x0 SWAP1 LOG3 POP POP POP JUMP JUMPDEST PUSH32 0xC8FCAD8DB84D3CC18B4C41D551EA0EE66DD599CDE068D998E57D5E09332C131C SWAP1 JUMP JUMPDEST PUSH1 0x0 DUP2 MLOAD GT PUSH2 0x361 JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0xAE SWAP1 PUSH2 0x147F JUMP JUMPDEST PUSH1 0x0 PUSH2 0x36B PUSH2 0x302 JUMP JUMPDEST SWAP1 POP PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP4 AND PUSH2 0x3BA JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0xAE SWAP1 PUSH2 0x1596 JUMP JUMPDEST PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP4 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x1 DUP3 ADD PUSH1 0x20 MSTORE PUSH1 0x40 SWAP1 KECCAK256 SLOAD PUSH2 0xFFFF DUP2 AND PUSH2 0x4AB JUMPI PUSH2 0x40D DUP5 PUSH1 0x40 MLOAD DUP1 PUSH1 0x60 ADD PUSH1 0x40 MSTORE DUP1 PUSH1 0x24 DUP2 MSTORE PUSH1 0x20 ADD PUSH2 0x184E PUSH1 0x24 SWAP2 CODECOPY PUSH2 0xC81 JUMP JUMPDEST PUSH1 0x2 DUP3 ADD DUP1 SLOAD PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP7 AND PUSH1 0x0 DUP2 DUP2 MSTORE PUSH1 0x1 DUP1 DUP8 ADD PUSH1 0x20 SWAP1 DUP2 MSTORE PUSH1 0x40 DUP4 KECCAK256 DUP3 ADD DUP1 SLOAD PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF0000 AND PUSH2 0xFFFF SWAP1 SWAP7 AND SWAP6 SWAP1 SWAP6 OR SWAP1 SWAP5 SSTORE DUP5 SLOAD SWAP1 DUP2 ADD DUP6 SSTORE SWAP4 DUP2 MSTORE SWAP2 SWAP1 SWAP2 KECCAK256 SWAP1 SWAP2 ADD DUP1 SLOAD PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFF0000000000000000000000000000000000000000 AND SWAP1 SWAP2 OR SWAP1 SSTORE JUMPDEST PUSH1 0x0 JUMPDEST DUP4 MLOAD DUP2 LT ISZERO PUSH2 0x657 JUMPI PUSH1 0x0 DUP5 DUP3 DUP2 MLOAD DUP2 LT PUSH2 0x4C5 JUMPI INVALID JUMPDEST PUSH1 0x20 SWAP1 DUP2 MUL SWAP2 SWAP1 SWAP2 ADD DUP2 ADD MLOAD PUSH32 0xFFFFFFFF00000000000000000000000000000000000000000000000000000000 DUP2 AND PUSH1 0x0 SWAP1 DUP2 MSTORE SWAP2 DUP7 SWAP1 MSTORE PUSH1 0x40 SWAP1 SWAP2 KECCAK256 SLOAD SWAP1 SWAP2 POP PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP1 ISZERO PUSH2 0x554 JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0xAE SWAP1 PUSH2 0x16E2 JUMP JUMPDEST POP PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP7 AND PUSH1 0x0 DUP2 DUP2 MSTORE PUSH1 0x1 DUP7 DUP2 ADD PUSH1 0x20 SWAP1 DUP2 MSTORE PUSH1 0x40 DUP1 DUP5 KECCAK256 DUP1 SLOAD DUP1 DUP6 ADD DUP3 SSTORE SWAP1 DUP6 MSTORE DUP3 DUP6 KECCAK256 PUSH1 0x8 DUP3 DIV ADD DUP1 SLOAD PUSH4 0xFFFFFFFF PUSH1 0x7 SWAP1 SWAP4 AND PUSH1 0x4 MUL PUSH2 0x100 EXP SWAP3 DUP4 MUL NOT AND PUSH1 0xE0 DUP10 SWAP1 SHR SWAP3 SWAP1 SWAP3 MUL SWAP2 SWAP1 SWAP2 OR SWAP1 SSTORE PUSH32 0xFFFFFFFF00000000000000000000000000000000000000000000000000000000 SWAP1 SWAP6 AND DUP4 MSTORE DUP8 SWAP1 MSTORE SWAP3 SWAP1 KECCAK256 DUP1 SLOAD PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFF0000000000000000000000000000000000000000 AND SWAP1 SWAP2 OR PUSH32 0xFFFFFFFFFFFFFFFFFFFF0000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH21 0x10000000000000000000000000000000000000000 PUSH2 0xFFFF DUP7 AND MUL OR SWAP1 SSTORE SWAP2 DUP3 ADD SWAP2 ADD PUSH2 0x4AE JUMP JUMPDEST POP POP POP POP POP JUMP JUMPDEST PUSH1 0x0 DUP2 MLOAD GT PUSH2 0x699 JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0xAE SWAP1 PUSH2 0x147F JUMP JUMPDEST PUSH1 0x0 PUSH2 0x6A3 PUSH2 0x302 JUMP JUMPDEST SWAP1 POP PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP4 AND PUSH2 0x6F2 JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0xAE SWAP1 PUSH2 0x1596 JUMP JUMPDEST PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP4 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x1 DUP3 ADD PUSH1 0x20 MSTORE PUSH1 0x40 SWAP1 KECCAK256 SLOAD PUSH2 0xFFFF DUP2 AND PUSH2 0x7E3 JUMPI PUSH2 0x745 DUP5 PUSH1 0x40 MLOAD DUP1 PUSH1 0x60 ADD PUSH1 0x40 MSTORE DUP1 PUSH1 0x24 DUP2 MSTORE PUSH1 0x20 ADD PUSH2 0x184E PUSH1 0x24 SWAP2 CODECOPY PUSH2 0xC81 JUMP JUMPDEST PUSH1 0x2 DUP3 ADD DUP1 SLOAD PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP7 AND PUSH1 0x0 DUP2 DUP2 MSTORE PUSH1 0x1 DUP1 DUP8 ADD PUSH1 0x20 SWAP1 DUP2 MSTORE PUSH1 0x40 DUP4 KECCAK256 DUP3 ADD DUP1 SLOAD PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF0000 AND PUSH2 0xFFFF SWAP1 SWAP7 AND SWAP6 SWAP1 SWAP6 OR SWAP1 SWAP5 SSTORE DUP5 SLOAD SWAP1 DUP2 ADD DUP6 SSTORE SWAP4 DUP2 MSTORE SWAP2 SWAP1 SWAP2 KECCAK256 SWAP1 SWAP2 ADD DUP1 SLOAD PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFF0000000000000000000000000000000000000000 AND SWAP1 SWAP2 OR SWAP1 SSTORE JUMPDEST PUSH1 0x0 JUMPDEST DUP4 MLOAD DUP2 LT ISZERO PUSH2 0x657 JUMPI PUSH1 0x0 DUP5 DUP3 DUP2 MLOAD DUP2 LT PUSH2 0x7FD JUMPI INVALID JUMPDEST PUSH1 0x20 SWAP1 DUP2 MUL SWAP2 SWAP1 SWAP2 ADD DUP2 ADD MLOAD PUSH32 0xFFFFFFFF00000000000000000000000000000000000000000000000000000000 DUP2 AND PUSH1 0x0 SWAP1 DUP2 MSTORE SWAP2 DUP7 SWAP1 MSTORE PUSH1 0x40 SWAP1 SWAP2 KECCAK256 SLOAD SWAP1 SWAP2 POP PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF SWAP1 DUP2 AND SWAP1 DUP8 AND DUP2 EQ ISZERO PUSH2 0x892 JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0xAE SWAP1 PUSH2 0x173F JUMP JUMPDEST PUSH2 0x89C DUP2 DUP4 PUSH2 0xCBC JUMP JUMPDEST POP PUSH32 0xFFFFFFFF00000000000000000000000000000000000000000000000000000000 DUP2 AND PUSH1 0x0 DUP2 DUP2 MSTORE PUSH1 0x20 DUP7 DUP2 MSTORE PUSH1 0x40 DUP1 DUP4 KECCAK256 DUP1 SLOAD PUSH32 0xFFFFFFFFFFFFFFFFFFFF0000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH21 0x10000000000000000000000000000000000000000 PUSH2 0xFFFF DUP11 AND MUL OR DUP2 SSTORE PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP12 AND DUP1 DUP6 MSTORE PUSH1 0x1 DUP1 DUP12 ADD DUP6 MSTORE SWAP3 DUP6 KECCAK256 DUP1 SLOAD DUP1 DUP6 ADD DUP3 SSTORE SWAP1 DUP7 MSTORE DUP5 DUP7 KECCAK256 PUSH1 0x8 DUP3 DIV ADD DUP1 SLOAD PUSH4 0xFFFFFFFF PUSH1 0x7 SWAP1 SWAP4 AND PUSH1 0x4 MUL PUSH2 0x100 EXP SWAP3 DUP4 MUL NOT AND PUSH1 0xE0 SWAP10 SWAP1 SWAP10 SHR SWAP2 SWAP1 SWAP2 MUL SWAP8 SWAP1 SWAP8 OR SWAP1 SWAP7 SSTORE SWAP4 SWAP1 SWAP3 MSTORE DUP7 SWAP1 MSTORE DUP2 SLOAD PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFF0000000000000000000000000000000000000000 AND SWAP1 SWAP3 OR SWAP1 SSTORE SWAP2 DUP3 ADD SWAP2 ADD PUSH2 0x7E6 JUMP JUMPDEST PUSH1 0x0 DUP2 MLOAD GT PUSH2 0x9E6 JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0xAE SWAP1 PUSH2 0x147F JUMP JUMPDEST PUSH1 0x0 PUSH2 0x9F0 PUSH2 0x302 JUMP JUMPDEST SWAP1 POP PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP4 AND ISZERO PUSH2 0xA40 JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0xAE SWAP1 PUSH2 0x179C JUMP JUMPDEST PUSH1 0x0 JUMPDEST DUP3 MLOAD DUP2 LT ISZERO PUSH2 0xAC5 JUMPI PUSH1 0x0 DUP4 DUP3 DUP2 MLOAD DUP2 LT PUSH2 0xA5A JUMPI INVALID JUMPDEST PUSH1 0x20 SWAP1 DUP2 MUL SWAP2 SWAP1 SWAP2 ADD DUP2 ADD MLOAD PUSH32 0xFFFFFFFF00000000000000000000000000000000000000000000000000000000 DUP2 AND PUSH1 0x0 SWAP1 DUP2 MSTORE SWAP2 DUP6 SWAP1 MSTORE PUSH1 0x40 SWAP1 SWAP2 KECCAK256 SLOAD SWAP1 SWAP2 POP PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH2 0xABB DUP2 DUP4 PUSH2 0xCBC JUMP JUMPDEST POP POP PUSH1 0x1 ADD PUSH2 0xA43 JUMP JUMPDEST POP POP POP POP JUMP JUMPDEST PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP3 AND PUSH2 0xB24 JUMPI DUP1 MLOAD ISZERO PUSH2 0xB1F JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0xAE SWAP1 PUSH2 0x13C5 JUMP JUMPDEST PUSH2 0xC7D JUMP JUMPDEST PUSH1 0x0 DUP2 MLOAD GT PUSH2 0xB5F JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0xAE SWAP1 PUSH2 0x1628 JUMP JUMPDEST PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP3 AND ADDRESS EQ PUSH2 0xB9E JUMPI PUSH2 0xB9E DUP3 PUSH1 0x40 MLOAD DUP1 PUSH1 0x60 ADD PUSH1 0x40 MSTORE DUP1 PUSH1 0x28 DUP2 MSTORE PUSH1 0x20 ADD PUSH2 0x1826 PUSH1 0x28 SWAP2 CODECOPY PUSH2 0xC81 JUMP JUMPDEST PUSH1 0x0 DUP1 DUP4 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP4 PUSH1 0x40 MLOAD PUSH2 0xBC6 SWAP2 SWAP1 PUSH2 0x1266 JUMP JUMPDEST PUSH1 0x0 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP6 GAS DELEGATECALL SWAP2 POP POP RETURNDATASIZE DUP1 PUSH1 0x0 DUP2 EQ PUSH2 0xC01 JUMPI PUSH1 0x40 MLOAD SWAP2 POP PUSH1 0x1F NOT PUSH1 0x3F RETURNDATASIZE ADD AND DUP3 ADD PUSH1 0x40 MSTORE RETURNDATASIZE DUP3 MSTORE RETURNDATASIZE PUSH1 0x0 PUSH1 0x20 DUP5 ADD RETURNDATACOPY PUSH2 0xC06 JUMP JUMPDEST PUSH1 0x60 SWAP2 POP JUMPDEST POP SWAP2 POP SWAP2 POP DUP2 PUSH2 0xAC5 JUMPI DUP1 MLOAD ISZERO PUSH2 0xC4B JUMPI DUP1 PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0xAE SWAP2 SWAP1 PUSH2 0x13AB JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0xAE SWAP1 PUSH2 0x1422 JUMP JUMPDEST POP POP JUMP JUMPDEST DUP2 EXTCODESIZE DUP2 DUP2 PUSH2 0xAC5 JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0xAE SWAP2 SWAP1 PUSH2 0x13AB JUMP JUMPDEST PUSH1 0x0 PUSH2 0xCC6 PUSH2 0x302 JUMP JUMPDEST SWAP1 POP PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP4 AND PUSH2 0xD15 JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0xAE SWAP1 PUSH2 0x14DC JUMP JUMPDEST PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP4 AND ADDRESS EQ ISZERO PUSH2 0xD65 JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0xAE SWAP1 PUSH2 0x1685 JUMP JUMPDEST PUSH32 0xFFFFFFFF00000000000000000000000000000000000000000000000000000000 DUP3 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x20 DUP3 DUP2 MSTORE PUSH1 0x40 DUP1 DUP4 KECCAK256 SLOAD PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP8 AND DUP5 MSTORE PUSH1 0x1 DUP6 ADD SWAP1 SWAP3 MSTORE SWAP1 SWAP2 KECCAK256 SLOAD PUSH21 0x10000000000000000000000000000000000000000 SWAP1 SWAP2 DIV PUSH2 0xFFFF AND SWAP1 PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF ADD DUP1 DUP3 EQ PUSH2 0xF37 JUMPI PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP6 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x1 DUP5 ADD PUSH1 0x20 MSTORE PUSH1 0x40 DUP2 KECCAK256 DUP1 SLOAD DUP4 SWAP1 DUP2 LT PUSH2 0xE36 JUMPI INVALID JUMPDEST PUSH1 0x0 SWAP2 DUP3 MSTORE PUSH1 0x20 DUP1 DUP4 KECCAK256 PUSH1 0x8 DUP4 DIV ADD SLOAD PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP11 AND DUP5 MSTORE PUSH1 0x1 DUP9 ADD SWAP1 SWAP2 MSTORE PUSH1 0x40 SWAP1 SWAP3 KECCAK256 DUP1 SLOAD PUSH1 0x7 SWAP1 SWAP3 AND PUSH1 0x4 MUL PUSH2 0x100 EXP SWAP1 SWAP3 DIV PUSH1 0xE0 SHL SWAP3 POP DUP3 SWAP2 SWAP1 DUP6 SWAP1 DUP2 LT PUSH2 0xE8E JUMPI INVALID JUMPDEST PUSH1 0x0 SWAP2 DUP3 MSTORE PUSH1 0x20 DUP1 DUP4 KECCAK256 PUSH1 0x8 DUP4 DIV ADD DUP1 SLOAD PUSH4 0xFFFFFFFF PUSH1 0x7 SWAP1 SWAP5 AND PUSH1 0x4 MUL PUSH2 0x100 EXP SWAP4 DUP5 MUL NOT AND PUSH1 0xE0 SWAP6 SWAP1 SWAP6 SHR SWAP3 SWAP1 SWAP3 MUL SWAP4 SWAP1 SWAP4 OR SWAP1 SSTORE PUSH32 0xFFFFFFFF00000000000000000000000000000000000000000000000000000000 SWAP3 SWAP1 SWAP3 AND DUP3 MSTORE DUP5 SWAP1 MSTORE PUSH1 0x40 SWAP1 KECCAK256 DUP1 SLOAD PUSH32 0xFFFFFFFFFFFFFFFFFFFF0000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH21 0x10000000000000000000000000000000000000000 PUSH2 0xFFFF DUP6 AND MUL OR SWAP1 SSTORE JUMPDEST PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP6 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x1 DUP5 ADD PUSH1 0x20 MSTORE PUSH1 0x40 SWAP1 KECCAK256 DUP1 SLOAD DUP1 PUSH2 0xF67 JUMPI INVALID JUMPDEST PUSH1 0x0 DUP3 DUP2 MSTORE PUSH1 0x20 DUP1 DUP3 KECCAK256 PUSH1 0x8 PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF SWAP1 SWAP5 ADD SWAP4 DUP5 DIV ADD DUP1 SLOAD PUSH4 0xFFFFFFFF PUSH1 0x4 PUSH1 0x7 DUP8 AND MUL PUSH2 0x100 EXP MUL NOT AND SWAP1 SSTORE SWAP2 SWAP1 SWAP3 SSTORE PUSH32 0xFFFFFFFF00000000000000000000000000000000000000000000000000000000 DUP7 AND DUP3 MSTORE DUP5 SWAP1 MSTORE PUSH1 0x40 SWAP1 KECCAK256 DUP1 SLOAD PUSH32 0xFFFFFFFFFFFFFFFFFFFF00000000000000000000000000000000000000000000 AND SWAP1 SSTORE DUP1 PUSH2 0x657 JUMPI PUSH1 0x2 DUP4 ADD SLOAD PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP7 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x1 DUP6 DUP2 ADD PUSH1 0x20 MSTORE PUSH1 0x40 SWAP1 SWAP2 KECCAK256 ADD SLOAD PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF SWAP1 SWAP2 ADD SWAP1 PUSH2 0xFFFF AND DUP1 DUP3 EQ PUSH2 0x1143 JUMPI PUSH1 0x0 DUP6 PUSH1 0x2 ADD DUP4 DUP2 SLOAD DUP2 LT PUSH2 0x107E JUMPI INVALID JUMPDEST PUSH1 0x0 SWAP2 DUP3 MSTORE PUSH1 0x20 SWAP1 SWAP2 KECCAK256 ADD SLOAD PUSH1 0x2 DUP8 ADD DUP1 SLOAD PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF SWAP1 SWAP3 AND SWAP3 POP DUP3 SWAP2 DUP5 SWAP1 DUP2 LT PUSH2 0x10B6 JUMPI INVALID JUMPDEST PUSH1 0x0 SWAP2 DUP3 MSTORE PUSH1 0x20 DUP1 DUP4 KECCAK256 SWAP2 SWAP1 SWAP2 ADD DUP1 SLOAD PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFF0000000000000000000000000000000000000000 AND PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF SWAP5 DUP6 AND OR SWAP1 SSTORE SWAP3 SWAP1 SWAP2 AND DUP2 MSTORE PUSH1 0x1 DUP8 DUP2 ADD SWAP1 SWAP3 MSTORE PUSH1 0x40 SWAP1 KECCAK256 ADD DUP1 SLOAD PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF0000 AND PUSH2 0xFFFF DUP4 AND OR SWAP1 SSTORE JUMPDEST DUP5 PUSH1 0x2 ADD DUP1 SLOAD DUP1 PUSH2 0x1150 JUMPI INVALID JUMPDEST PUSH1 0x0 DUP3 DUP2 MSTORE PUSH1 0x20 DUP1 DUP3 KECCAK256 DUP4 ADD PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF SWAP1 DUP2 ADD DUP1 SLOAD PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFF0000000000000000000000000000000000000000 AND SWAP1 SSTORE SWAP1 SWAP3 ADD SWAP1 SWAP3 SSTORE PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP10 AND DUP3 MSTORE PUSH1 0x1 DUP8 DUP2 ADD SWAP1 SWAP2 MSTORE PUSH1 0x40 SWAP1 SWAP2 KECCAK256 ADD DUP1 SLOAD PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF0000 AND SWAP1 SSTORE POP POP POP POP POP POP POP JUMP JUMPDEST PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND SWAP1 MSTORE JUMP JUMPDEST PUSH1 0x0 DUP2 MLOAD DUP1 DUP5 MSTORE PUSH2 0x1234 DUP2 PUSH1 0x20 DUP7 ADD PUSH1 0x20 DUP7 ADD PUSH2 0x17F9 JUMP JUMPDEST PUSH1 0x1F ADD PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFE0 AND SWAP3 SWAP1 SWAP3 ADD PUSH1 0x20 ADD SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP3 MLOAD PUSH2 0x1278 DUP2 DUP5 PUSH1 0x20 DUP8 ADD PUSH2 0x17F9 JUMP JUMPDEST SWAP2 SWAP1 SWAP2 ADD SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x60 DUP1 DUP3 MSTORE DUP5 MLOAD DUP3 DUP3 ADD DUP2 SWAP1 MSTORE PUSH1 0x0 SWAP2 SWAP1 PUSH1 0x80 SWAP1 DUP2 DUP6 ADD SWAP1 PUSH1 0x20 DUP1 DUP3 MUL DUP8 ADD DUP5 ADD DUP2 DUP12 ADD DUP8 JUMPDEST DUP5 DUP2 LT ISZERO PUSH2 0x137C JUMPI PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF80 DUP11 DUP5 SUB ADD DUP7 MSTORE DUP2 MLOAD DUP9 DUP5 ADD PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP3 MLOAD AND DUP6 MSTORE DUP6 DUP3 ADD MLOAD PUSH1 0x3 DUP2 LT PUSH2 0x1304 JUMPI INVALID JUMPDEST DUP6 DUP8 ADD MSTORE PUSH1 0x40 SWAP2 DUP3 ADD MLOAD SWAP2 DUP6 ADD DUP11 SWAP1 MSTORE DUP2 MLOAD SWAP1 DUP2 SWAP1 MSTORE SWAP1 DUP6 ADD SWAP1 DUP11 SWAP1 DUP10 DUP7 ADD SWAP1 JUMPDEST DUP1 DUP4 LT ISZERO PUSH2 0x1367 JUMPI DUP4 MLOAD PUSH32 0xFFFFFFFF00000000000000000000000000000000000000000000000000000000 AND DUP3 MSTORE SWAP3 DUP8 ADD SWAP3 PUSH1 0x1 SWAP3 SWAP1 SWAP3 ADD SWAP2 SWAP1 DUP8 ADD SWAP1 PUSH2 0x1325 JUMP JUMPDEST POP SWAP8 DUP7 ADD SWAP8 SWAP5 POP POP POP SWAP1 DUP4 ADD SWAP1 PUSH1 0x1 ADD PUSH2 0x12A8 JUMP JUMPDEST POP POP PUSH2 0x138A DUP3 DUP10 ADD DUP12 PUSH2 0x1202 JUMP JUMPDEST DUP8 DUP2 SUB PUSH1 0x40 DUP10 ADD MSTORE PUSH2 0x139C DUP2 DUP11 PUSH2 0x121C JUMP JUMPDEST SWAP12 SWAP11 POP POP POP POP POP POP POP POP POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 MSTORE PUSH2 0x13BE PUSH1 0x20 DUP4 ADD DUP5 PUSH2 0x121C JUMP JUMPDEST SWAP4 SWAP3 POP POP POP JUMP JUMPDEST PUSH1 0x20 DUP1 DUP3 MSTORE PUSH1 0x3C SWAP1 DUP3 ADD MSTORE PUSH32 0x4C69624469616D6F6E644375743A205F696E6974206973206164647265737328 PUSH1 0x40 DUP3 ADD MSTORE PUSH32 0x3029206275745F63616C6C64617461206973206E6F7420656D70747900000000 PUSH1 0x60 DUP3 ADD MSTORE PUSH1 0x80 ADD SWAP1 JUMP JUMPDEST PUSH1 0x20 DUP1 DUP3 MSTORE PUSH1 0x26 SWAP1 DUP3 ADD MSTORE PUSH32 0x4C69624469616D6F6E644375743A205F696E69742066756E6374696F6E207265 PUSH1 0x40 DUP3 ADD MSTORE PUSH32 0x7665727465640000000000000000000000000000000000000000000000000000 PUSH1 0x60 DUP3 ADD MSTORE PUSH1 0x80 ADD SWAP1 JUMP JUMPDEST PUSH1 0x20 DUP1 DUP3 MSTORE PUSH1 0x2B SWAP1 DUP3 ADD MSTORE PUSH32 0x4C69624469616D6F6E644375743A204E6F2073656C6563746F727320696E2066 PUSH1 0x40 DUP3 ADD MSTORE PUSH32 0x6163657420746F20637574000000000000000000000000000000000000000000 PUSH1 0x60 DUP3 ADD MSTORE PUSH1 0x80 ADD SWAP1 JUMP JUMPDEST PUSH1 0x20 DUP1 DUP3 MSTORE PUSH1 0x37 SWAP1 DUP3 ADD MSTORE PUSH32 0x4C69624469616D6F6E644375743A2043616E27742072656D6F76652066756E63 PUSH1 0x40 DUP3 ADD MSTORE PUSH32 0x74696F6E207468617420646F65736E2774206578697374000000000000000000 PUSH1 0x60 DUP3 ADD MSTORE PUSH1 0x80 ADD SWAP1 JUMP JUMPDEST PUSH1 0x20 DUP1 DUP3 MSTORE PUSH1 0x27 SWAP1 DUP3 ADD MSTORE PUSH32 0x4C69624469616D6F6E644375743A20496E636F72726563742046616365744375 PUSH1 0x40 DUP3 ADD MSTORE PUSH32 0x74416374696F6E00000000000000000000000000000000000000000000000000 PUSH1 0x60 DUP3 ADD MSTORE PUSH1 0x80 ADD SWAP1 JUMP JUMPDEST PUSH1 0x20 DUP1 DUP3 MSTORE PUSH1 0x2C SWAP1 DUP3 ADD MSTORE PUSH32 0x4C69624469616D6F6E644375743A204164642066616365742063616E27742062 PUSH1 0x40 DUP3 ADD MSTORE PUSH32 0x6520616464726573732830290000000000000000000000000000000000000000 PUSH1 0x60 DUP3 ADD MSTORE PUSH1 0x80 ADD SWAP1 JUMP JUMPDEST PUSH1 0x20 DUP1 DUP3 MSTORE DUP2 DUP2 ADD MSTORE PUSH32 0x4469616D6F6E643A2046756E6374696F6E20646F6573206E6F74206578697374 PUSH1 0x40 DUP3 ADD MSTORE PUSH1 0x60 ADD SWAP1 JUMP JUMPDEST PUSH1 0x20 DUP1 DUP3 MSTORE PUSH1 0x3D SWAP1 DUP3 ADD MSTORE PUSH32 0x4C69624469616D6F6E644375743A205F63616C6C6461746120697320656D7074 PUSH1 0x40 DUP3 ADD MSTORE PUSH32 0x7920627574205F696E6974206973206E6F742061646472657373283029000000 PUSH1 0x60 DUP3 ADD MSTORE PUSH1 0x80 ADD SWAP1 JUMP JUMPDEST PUSH1 0x20 DUP1 DUP3 MSTORE PUSH1 0x2E SWAP1 DUP3 ADD MSTORE PUSH32 0x4C69624469616D6F6E644375743A2043616E27742072656D6F766520696D6D75 PUSH1 0x40 DUP3 ADD MSTORE PUSH32 0x7461626C652066756E6374696F6E000000000000000000000000000000000000 PUSH1 0x60 DUP3 ADD MSTORE PUSH1 0x80 ADD SWAP1 JUMP JUMPDEST PUSH1 0x20 DUP1 DUP3 MSTORE PUSH1 0x35 SWAP1 DUP3 ADD MSTORE PUSH32 0x4C69624469616D6F6E644375743A2043616E2774206164642066756E6374696F PUSH1 0x40 DUP3 ADD MSTORE PUSH32 0x6E207468617420616C7265616479206578697374730000000000000000000000 PUSH1 0x60 DUP3 ADD MSTORE PUSH1 0x80 ADD SWAP1 JUMP JUMPDEST PUSH1 0x20 DUP1 DUP3 MSTORE PUSH1 0x38 SWAP1 DUP3 ADD MSTORE PUSH32 0x4C69624469616D6F6E644375743A2043616E2774207265706C6163652066756E PUSH1 0x40 DUP3 ADD MSTORE PUSH32 0x6374696F6E20776974682073616D652066756E6374696F6E0000000000000000 PUSH1 0x60 DUP3 ADD MSTORE PUSH1 0x80 ADD SWAP1 JUMP JUMPDEST PUSH1 0x20 DUP1 DUP3 MSTORE PUSH1 0x36 SWAP1 DUP3 ADD MSTORE PUSH32 0x4C69624469616D6F6E644375743A2052656D6F76652066616365742061646472 PUSH1 0x40 DUP3 ADD MSTORE PUSH32 0x657373206D757374206265206164647265737328302900000000000000000000 PUSH1 0x60 DUP3 ADD MSTORE PUSH1 0x80 ADD SWAP1 JUMP JUMPDEST PUSH1 0x0 JUMPDEST DUP4 DUP2 LT ISZERO PUSH2 0x1814 JUMPI DUP2 DUP2 ADD MLOAD DUP4 DUP3 ADD MSTORE PUSH1 0x20 ADD PUSH2 0x17FC JUMP JUMPDEST DUP4 DUP2 GT ISZERO PUSH2 0xAC5 JUMPI POP POP PUSH1 0x0 SWAP2 ADD MSTORE JUMP INVALID 0x4C PUSH10 0x624469616D6F6E644375 PUSH21 0x3A205F696E6974206164647265737320686173206E PUSH16 0x20636F64654C69624469616D6F6E6443 PUSH22 0x743A204E657720666163657420686173206E6F20636F PUSH5 0x65A2646970 PUSH7 0x735822122054A3 0xC3 LOG1 XOR DUP1 CALLDATALOAD GASLIMIT 0x23 0x1F NUMBER PUSH17 0x30CB5E290869BE0182196A4A05E7D4A1 0xB7 SAR PUSH31 0x64736F6C634300070600334C69624469616D6F6E644375743A205F696E6974 KECCAK256 PUSH2 0x6464 PUSH19 0x65737320686173206E6F20636F64654C696244 PUSH10 0x616D6F6E644375743A20 0x4E PUSH6 0x772066616365 PUSH21 0x20686173206E6F20636F6465A26469706673582212 KECCAK256 0xA7 PUSH26 0xF3D6A1861424E4A8869F0D4DD286296655589C48F5124A3FB585 INVALID 0x4E DUP12 PUSH23 0x64736F6C63430007060033608060405234801561001057 PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH2 0x1B02 DUP1 PUSH2 0x20 PUSH1 0x0 CODECOPY PUSH1 0x0 RETURN INVALID PUSH1 0x80 PUSH1 0x40 MSTORE CALLVALUE DUP1 ISZERO PUSH2 0x10 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH1 0x4 CALLDATASIZE LT PUSH2 0x2B JUMPI PUSH1 0x0 CALLDATALOAD PUSH1 0xE0 SHR DUP1 PUSH4 0x1F931C1C EQ PUSH2 0x30 JUMPI JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x43 PUSH2 0x3E CALLDATASIZE PUSH1 0x4 PUSH2 0x1260 JUMP JUMPDEST PUSH2 0x45 JUMP JUMPDEST STOP JUMPDEST PUSH2 0x4D PUSH2 0x9E JUMP JUMPDEST PUSH2 0x97 PUSH2 0x5A DUP6 DUP8 PUSH2 0x1993 JUMP JUMPDEST DUP5 DUP5 DUP5 DUP1 DUP1 PUSH1 0x1F ADD PUSH1 0x20 DUP1 SWAP2 DIV MUL PUSH1 0x20 ADD PUSH1 0x40 MLOAD SWAP1 DUP2 ADD PUSH1 0x40 MSTORE DUP1 SWAP4 SWAP3 SWAP2 SWAP1 DUP2 DUP2 MSTORE PUSH1 0x20 ADD DUP4 DUP4 DUP1 DUP3 DUP5 CALLDATACOPY PUSH1 0x0 SWAP3 ADD SWAP2 SWAP1 SWAP2 MSTORE POP PUSH2 0x103 SWAP3 POP POP POP JUMP JUMPDEST POP POP POP POP POP JUMP JUMPDEST PUSH2 0xA6 PUSH2 0x2A5 JUMP JUMPDEST PUSH1 0x4 ADD SLOAD PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND CALLER EQ PUSH2 0x101 JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0xF8 SWAP1 PUSH2 0x15AF JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST JUMP JUMPDEST PUSH1 0x0 JUMPDEST DUP4 MLOAD DUP2 LT ISZERO PUSH2 0x25A JUMPI PUSH1 0x0 DUP5 DUP3 DUP2 MLOAD DUP2 LT PUSH2 0x11D JUMPI INVALID JUMPDEST PUSH1 0x20 MUL PUSH1 0x20 ADD ADD MLOAD PUSH1 0x20 ADD MLOAD SWAP1 POP PUSH1 0x0 PUSH1 0x2 DUP2 GT ISZERO PUSH2 0x138 JUMPI INVALID JUMPDEST DUP2 PUSH1 0x2 DUP2 GT ISZERO PUSH2 0x144 JUMPI INVALID JUMPDEST EQ ISZERO PUSH2 0x187 JUMPI PUSH2 0x182 DUP6 DUP4 DUP2 MLOAD DUP2 LT PUSH2 0x159 JUMPI INVALID JUMPDEST PUSH1 0x20 MUL PUSH1 0x20 ADD ADD MLOAD PUSH1 0x0 ADD MLOAD DUP7 DUP5 DUP2 MLOAD DUP2 LT PUSH2 0x171 JUMPI INVALID JUMPDEST PUSH1 0x20 MUL PUSH1 0x20 ADD ADD MLOAD PUSH1 0x40 ADD MLOAD PUSH2 0x2C9 JUMP JUMPDEST PUSH2 0x251 JUMP JUMPDEST PUSH1 0x1 DUP2 PUSH1 0x2 DUP2 GT ISZERO PUSH2 0x195 JUMPI INVALID JUMPDEST EQ ISZERO PUSH2 0x1D3 JUMPI PUSH2 0x182 DUP6 DUP4 DUP2 MLOAD DUP2 LT PUSH2 0x1AA JUMPI INVALID JUMPDEST PUSH1 0x20 MUL PUSH1 0x20 ADD ADD MLOAD PUSH1 0x0 ADD MLOAD DUP7 DUP5 DUP2 MLOAD DUP2 LT PUSH2 0x1C2 JUMPI INVALID JUMPDEST PUSH1 0x20 MUL PUSH1 0x20 ADD ADD MLOAD PUSH1 0x40 ADD MLOAD PUSH2 0x5FA JUMP JUMPDEST PUSH1 0x2 DUP2 PUSH1 0x2 DUP2 GT ISZERO PUSH2 0x1E1 JUMPI INVALID JUMPDEST EQ ISZERO PUSH2 0x21F JUMPI PUSH2 0x182 DUP6 DUP4 DUP2 MLOAD DUP2 LT PUSH2 0x1F6 JUMPI INVALID JUMPDEST PUSH1 0x20 MUL PUSH1 0x20 ADD ADD MLOAD PUSH1 0x0 ADD MLOAD DUP7 DUP5 DUP2 MLOAD DUP2 LT PUSH2 0x20E JUMPI INVALID JUMPDEST PUSH1 0x20 MUL PUSH1 0x20 ADD ADD MLOAD PUSH1 0x40 ADD MLOAD PUSH2 0x947 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0xF8 SWAP1 PUSH2 0x16C6 JUMP JUMPDEST POP PUSH1 0x1 ADD PUSH2 0x106 JUMP JUMPDEST POP PUSH32 0x8FAA70878671CCD212D20771B795C50AF8FD3FF6CF27F4BDE57E5D4DE0AEB673 DUP4 DUP4 DUP4 PUSH1 0x40 MLOAD PUSH2 0x28E SWAP4 SWAP3 SWAP2 SWAP1 PUSH2 0x13B2 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 LOG1 PUSH2 0x2A0 DUP3 DUP3 PUSH2 0xA67 JUMP JUMPDEST POP POP POP JUMP JUMPDEST PUSH32 0xC8FCAD8DB84D3CC18B4C41D551EA0EE66DD599CDE068D998E57D5E09332C131C SWAP1 JUMP JUMPDEST PUSH1 0x0 DUP2 MLOAD GT PUSH2 0x304 JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0xF8 SWAP1 PUSH2 0x160C JUMP JUMPDEST PUSH1 0x0 PUSH2 0x30E PUSH2 0x2A5 JUMP JUMPDEST SWAP1 POP PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP4 AND PUSH2 0x35D JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0xF8 SWAP1 PUSH2 0x1723 JUMP JUMPDEST PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP4 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x1 DUP3 ADD PUSH1 0x20 MSTORE PUSH1 0x40 SWAP1 KECCAK256 SLOAD PUSH2 0xFFFF DUP2 AND PUSH2 0x44E JUMPI PUSH2 0x3B0 DUP5 PUSH1 0x40 MLOAD DUP1 PUSH1 0x60 ADD PUSH1 0x40 MSTORE DUP1 PUSH1 0x24 DUP2 MSTORE PUSH1 0x20 ADD PUSH2 0x1AA9 PUSH1 0x24 SWAP2 CODECOPY PUSH2 0xC1D JUMP JUMPDEST PUSH1 0x2 DUP3 ADD DUP1 SLOAD PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP7 AND PUSH1 0x0 DUP2 DUP2 MSTORE PUSH1 0x1 DUP1 DUP8 ADD PUSH1 0x20 SWAP1 DUP2 MSTORE PUSH1 0x40 DUP4 KECCAK256 DUP3 ADD DUP1 SLOAD PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF0000 AND PUSH2 0xFFFF SWAP1 SWAP7 AND SWAP6 SWAP1 SWAP6 OR SWAP1 SWAP5 SSTORE DUP5 SLOAD SWAP1 DUP2 ADD DUP6 SSTORE SWAP4 DUP2 MSTORE SWAP2 SWAP1 SWAP2 KECCAK256 SWAP1 SWAP2 ADD DUP1 SLOAD PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFF0000000000000000000000000000000000000000 AND SWAP1 SWAP2 OR SWAP1 SSTORE JUMPDEST PUSH1 0x0 JUMPDEST DUP4 MLOAD DUP2 LT ISZERO PUSH2 0x97 JUMPI PUSH1 0x0 DUP5 DUP3 DUP2 MLOAD DUP2 LT PUSH2 0x468 JUMPI INVALID JUMPDEST PUSH1 0x20 SWAP1 DUP2 MUL SWAP2 SWAP1 SWAP2 ADD DUP2 ADD MLOAD PUSH32 0xFFFFFFFF00000000000000000000000000000000000000000000000000000000 DUP2 AND PUSH1 0x0 SWAP1 DUP2 MSTORE SWAP2 DUP7 SWAP1 MSTORE PUSH1 0x40 SWAP1 SWAP2 KECCAK256 SLOAD SWAP1 SWAP2 POP PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP1 ISZERO PUSH2 0x4F7 JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0xF8 SWAP1 PUSH2 0x183A JUMP JUMPDEST POP PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP7 AND PUSH1 0x0 DUP2 DUP2 MSTORE PUSH1 0x1 DUP7 DUP2 ADD PUSH1 0x20 SWAP1 DUP2 MSTORE PUSH1 0x40 DUP1 DUP5 KECCAK256 DUP1 SLOAD DUP1 DUP6 ADD DUP3 SSTORE SWAP1 DUP6 MSTORE DUP3 DUP6 KECCAK256 PUSH1 0x8 DUP3 DIV ADD DUP1 SLOAD PUSH4 0xFFFFFFFF PUSH1 0x7 SWAP1 SWAP4 AND PUSH1 0x4 MUL PUSH2 0x100 EXP SWAP3 DUP4 MUL NOT AND PUSH1 0xE0 DUP10 SWAP1 SHR SWAP3 SWAP1 SWAP3 MUL SWAP2 SWAP1 SWAP2 OR SWAP1 SSTORE PUSH32 0xFFFFFFFF00000000000000000000000000000000000000000000000000000000 SWAP1 SWAP6 AND DUP4 MSTORE DUP8 SWAP1 MSTORE SWAP3 SWAP1 KECCAK256 DUP1 SLOAD PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFF0000000000000000000000000000000000000000 AND SWAP1 SWAP2 OR PUSH32 0xFFFFFFFFFFFFFFFFFFFF0000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH21 0x10000000000000000000000000000000000000000 PUSH2 0xFFFF DUP7 AND MUL OR SWAP1 SSTORE SWAP2 DUP3 ADD SWAP2 ADD PUSH2 0x451 JUMP JUMPDEST PUSH1 0x0 DUP2 MLOAD GT PUSH2 0x635 JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0xF8 SWAP1 PUSH2 0x160C JUMP JUMPDEST PUSH1 0x0 PUSH2 0x63F PUSH2 0x2A5 JUMP JUMPDEST SWAP1 POP PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP4 AND PUSH2 0x68E JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0xF8 SWAP1 PUSH2 0x1723 JUMP JUMPDEST PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP4 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x1 DUP3 ADD PUSH1 0x20 MSTORE PUSH1 0x40 SWAP1 KECCAK256 SLOAD PUSH2 0xFFFF DUP2 AND PUSH2 0x77F JUMPI PUSH2 0x6E1 DUP5 PUSH1 0x40 MLOAD DUP1 PUSH1 0x60 ADD PUSH1 0x40 MSTORE DUP1 PUSH1 0x24 DUP2 MSTORE PUSH1 0x20 ADD PUSH2 0x1AA9 PUSH1 0x24 SWAP2 CODECOPY PUSH2 0xC1D JUMP JUMPDEST PUSH1 0x2 DUP3 ADD DUP1 SLOAD PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP7 AND PUSH1 0x0 DUP2 DUP2 MSTORE PUSH1 0x1 DUP1 DUP8 ADD PUSH1 0x20 SWAP1 DUP2 MSTORE PUSH1 0x40 DUP4 KECCAK256 DUP3 ADD DUP1 SLOAD PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF0000 AND PUSH2 0xFFFF SWAP1 SWAP7 AND SWAP6 SWAP1 SWAP6 OR SWAP1 SWAP5 SSTORE DUP5 SLOAD SWAP1 DUP2 ADD DUP6 SSTORE SWAP4 DUP2 MSTORE SWAP2 SWAP1 SWAP2 KECCAK256 SWAP1 SWAP2 ADD DUP1 SLOAD PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFF0000000000000000000000000000000000000000 AND SWAP1 SWAP2 OR SWAP1 SSTORE JUMPDEST PUSH1 0x0 JUMPDEST DUP4 MLOAD DUP2 LT ISZERO PUSH2 0x97 JUMPI PUSH1 0x0 DUP5 DUP3 DUP2 MLOAD DUP2 LT PUSH2 0x799 JUMPI INVALID JUMPDEST PUSH1 0x20 SWAP1 DUP2 MUL SWAP2 SWAP1 SWAP2 ADD DUP2 ADD MLOAD PUSH32 0xFFFFFFFF00000000000000000000000000000000000000000000000000000000 DUP2 AND PUSH1 0x0 SWAP1 DUP2 MSTORE SWAP2 DUP7 SWAP1 MSTORE PUSH1 0x40 SWAP1 SWAP2 KECCAK256 SLOAD SWAP1 SWAP2 POP PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF SWAP1 DUP2 AND SWAP1 DUP8 AND DUP2 EQ ISZERO PUSH2 0x82E JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0xF8 SWAP1 PUSH2 0x1897 JUMP JUMPDEST PUSH2 0x838 DUP2 DUP4 PUSH2 0xC58 JUMP JUMPDEST POP PUSH32 0xFFFFFFFF00000000000000000000000000000000000000000000000000000000 DUP2 AND PUSH1 0x0 DUP2 DUP2 MSTORE PUSH1 0x20 DUP7 DUP2 MSTORE PUSH1 0x40 DUP1 DUP4 KECCAK256 DUP1 SLOAD PUSH32 0xFFFFFFFFFFFFFFFFFFFF0000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH21 0x10000000000000000000000000000000000000000 PUSH2 0xFFFF DUP11 AND MUL OR DUP2 SSTORE PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP12 AND DUP1 DUP6 MSTORE PUSH1 0x1 DUP1 DUP12 ADD DUP6 MSTORE SWAP3 DUP6 KECCAK256 DUP1 SLOAD DUP1 DUP6 ADD DUP3 SSTORE SWAP1 DUP7 MSTORE DUP5 DUP7 KECCAK256 PUSH1 0x8 DUP3 DIV ADD DUP1 SLOAD PUSH4 0xFFFFFFFF PUSH1 0x7 SWAP1 SWAP4 AND PUSH1 0x4 MUL PUSH2 0x100 EXP SWAP3 DUP4 MUL NOT AND PUSH1 0xE0 SWAP10 SWAP1 SWAP10 SHR SWAP2 SWAP1 SWAP2 MUL SWAP8 SWAP1 SWAP8 OR SWAP1 SWAP7 SSTORE SWAP4 SWAP1 SWAP3 MSTORE DUP7 SWAP1 MSTORE DUP2 SLOAD PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFF0000000000000000000000000000000000000000 AND SWAP1 SWAP3 OR SWAP1 SSTORE SWAP2 DUP3 ADD SWAP2 ADD PUSH2 0x782 JUMP JUMPDEST PUSH1 0x0 DUP2 MLOAD GT PUSH2 0x982 JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0xF8 SWAP1 PUSH2 0x160C JUMP JUMPDEST PUSH1 0x0 PUSH2 0x98C PUSH2 0x2A5 JUMP JUMPDEST SWAP1 POP PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP4 AND ISZERO PUSH2 0x9DC JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0xF8 SWAP1 PUSH2 0x18F4 JUMP JUMPDEST PUSH1 0x0 JUMPDEST DUP3 MLOAD DUP2 LT ISZERO PUSH2 0xA61 JUMPI PUSH1 0x0 DUP4 DUP3 DUP2 MLOAD DUP2 LT PUSH2 0x9F6 JUMPI INVALID JUMPDEST PUSH1 0x20 SWAP1 DUP2 MUL SWAP2 SWAP1 SWAP2 ADD DUP2 ADD MLOAD PUSH32 0xFFFFFFFF00000000000000000000000000000000000000000000000000000000 DUP2 AND PUSH1 0x0 SWAP1 DUP2 MSTORE SWAP2 DUP6 SWAP1 MSTORE PUSH1 0x40 SWAP1 SWAP2 KECCAK256 SLOAD SWAP1 SWAP2 POP PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH2 0xA57 DUP2 DUP4 PUSH2 0xC58 JUMP JUMPDEST POP POP PUSH1 0x1 ADD PUSH2 0x9DF JUMP JUMPDEST POP POP POP POP JUMP JUMPDEST PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP3 AND PUSH2 0xAC0 JUMPI DUP1 MLOAD ISZERO PUSH2 0xABB JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0xF8 SWAP1 PUSH2 0x14F5 JUMP JUMPDEST PUSH2 0xC19 JUMP JUMPDEST PUSH1 0x0 DUP2 MLOAD GT PUSH2 0xAFB JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0xF8 SWAP1 PUSH2 0x1780 JUMP JUMPDEST PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP3 AND ADDRESS EQ PUSH2 0xB3A JUMPI PUSH2 0xB3A DUP3 PUSH1 0x40 MLOAD DUP1 PUSH1 0x60 ADD PUSH1 0x40 MSTORE DUP1 PUSH1 0x28 DUP2 MSTORE PUSH1 0x20 ADD PUSH2 0x1A81 PUSH1 0x28 SWAP2 CODECOPY PUSH2 0xC1D JUMP JUMPDEST PUSH1 0x0 DUP1 DUP4 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP4 PUSH1 0x40 MLOAD PUSH2 0xB62 SWAP2 SWAP1 PUSH2 0x1396 JUMP JUMPDEST PUSH1 0x0 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP6 GAS DELEGATECALL SWAP2 POP POP RETURNDATASIZE DUP1 PUSH1 0x0 DUP2 EQ PUSH2 0xB9D JUMPI PUSH1 0x40 MLOAD SWAP2 POP PUSH1 0x1F NOT PUSH1 0x3F RETURNDATASIZE ADD AND DUP3 ADD PUSH1 0x40 MSTORE RETURNDATASIZE DUP3 MSTORE RETURNDATASIZE PUSH1 0x0 PUSH1 0x20 DUP5 ADD RETURNDATACOPY PUSH2 0xBA2 JUMP JUMPDEST PUSH1 0x60 SWAP2 POP JUMPDEST POP SWAP2 POP SWAP2 POP DUP2 PUSH2 0xA61 JUMPI DUP1 MLOAD ISZERO PUSH2 0xBE7 JUMPI DUP1 PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0xF8 SWAP2 SWAP1 PUSH2 0x14DB JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0xF8 SWAP1 PUSH2 0x1552 JUMP JUMPDEST POP POP JUMP JUMPDEST DUP2 EXTCODESIZE DUP2 DUP2 PUSH2 0xA61 JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0xF8 SWAP2 SWAP1 PUSH2 0x14DB JUMP JUMPDEST PUSH1 0x0 PUSH2 0xC62 PUSH2 0x2A5 JUMP JUMPDEST SWAP1 POP PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP4 AND PUSH2 0xCB1 JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0xF8 SWAP1 PUSH2 0x1669 JUMP JUMPDEST PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP4 AND ADDRESS EQ ISZERO PUSH2 0xD01 JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0xF8 SWAP1 PUSH2 0x17DD JUMP JUMPDEST PUSH32 0xFFFFFFFF00000000000000000000000000000000000000000000000000000000 DUP3 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x20 DUP3 DUP2 MSTORE PUSH1 0x40 DUP1 DUP4 KECCAK256 SLOAD PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP8 AND DUP5 MSTORE PUSH1 0x1 DUP6 ADD SWAP1 SWAP3 MSTORE SWAP1 SWAP2 KECCAK256 SLOAD PUSH21 0x10000000000000000000000000000000000000000 SWAP1 SWAP2 DIV PUSH2 0xFFFF AND SWAP1 PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF ADD DUP1 DUP3 EQ PUSH2 0xED3 JUMPI PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP6 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x1 DUP5 ADD PUSH1 0x20 MSTORE PUSH1 0x40 DUP2 KECCAK256 DUP1 SLOAD DUP4 SWAP1 DUP2 LT PUSH2 0xDD2 JUMPI INVALID JUMPDEST PUSH1 0x0 SWAP2 DUP3 MSTORE PUSH1 0x20 DUP1 DUP4 KECCAK256 PUSH1 0x8 DUP4 DIV ADD SLOAD PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP11 AND DUP5 MSTORE PUSH1 0x1 DUP9 ADD SWAP1 SWAP2 MSTORE PUSH1 0x40 SWAP1 SWAP3 KECCAK256 DUP1 SLOAD PUSH1 0x7 SWAP1 SWAP3 AND PUSH1 0x4 MUL PUSH2 0x100 EXP SWAP1 SWAP3 DIV PUSH1 0xE0 SHL SWAP3 POP DUP3 SWAP2 SWAP1 DUP6 SWAP1 DUP2 LT PUSH2 0xE2A JUMPI INVALID JUMPDEST PUSH1 0x0 SWAP2 DUP3 MSTORE PUSH1 0x20 DUP1 DUP4 KECCAK256 PUSH1 0x8 DUP4 DIV ADD DUP1 SLOAD PUSH4 0xFFFFFFFF PUSH1 0x7 SWAP1 SWAP5 AND PUSH1 0x4 MUL PUSH2 0x100 EXP SWAP4 DUP5 MUL NOT AND PUSH1 0xE0 SWAP6 SWAP1 SWAP6 SHR SWAP3 SWAP1 SWAP3 MUL SWAP4 SWAP1 SWAP4 OR SWAP1 SSTORE PUSH32 0xFFFFFFFF00000000000000000000000000000000000000000000000000000000 SWAP3 SWAP1 SWAP3 AND DUP3 MSTORE DUP5 SWAP1 MSTORE PUSH1 0x40 SWAP1 KECCAK256 DUP1 SLOAD PUSH32 0xFFFFFFFFFFFFFFFFFFFF0000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH21 0x10000000000000000000000000000000000000000 PUSH2 0xFFFF DUP6 AND MUL OR SWAP1 SSTORE JUMPDEST PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP6 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x1 DUP5 ADD PUSH1 0x20 MSTORE PUSH1 0x40 SWAP1 KECCAK256 DUP1 SLOAD DUP1 PUSH2 0xF03 JUMPI INVALID JUMPDEST PUSH1 0x0 DUP3 DUP2 MSTORE PUSH1 0x20 DUP1 DUP3 KECCAK256 PUSH1 0x8 PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF SWAP1 SWAP5 ADD SWAP4 DUP5 DIV ADD DUP1 SLOAD PUSH4 0xFFFFFFFF PUSH1 0x4 PUSH1 0x7 DUP8 AND MUL PUSH2 0x100 EXP MUL NOT AND SWAP1 SSTORE SWAP2 SWAP1 SWAP3 SSTORE PUSH32 0xFFFFFFFF00000000000000000000000000000000000000000000000000000000 DUP7 AND DUP3 MSTORE DUP5 SWAP1 MSTORE PUSH1 0x40 SWAP1 KECCAK256 DUP1 SLOAD PUSH32 0xFFFFFFFFFFFFFFFFFFFF00000000000000000000000000000000000000000000 AND SWAP1 SSTORE DUP1 PUSH2 0x97 JUMPI PUSH1 0x2 DUP4 ADD SLOAD PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP7 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x1 DUP6 DUP2 ADD PUSH1 0x20 MSTORE PUSH1 0x40 SWAP1 SWAP2 KECCAK256 ADD SLOAD PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF SWAP1 SWAP2 ADD SWAP1 PUSH2 0xFFFF AND DUP1 DUP3 EQ PUSH2 0x10DF JUMPI PUSH1 0x0 DUP6 PUSH1 0x2 ADD DUP4 DUP2 SLOAD DUP2 LT PUSH2 0x101A JUMPI INVALID JUMPDEST PUSH1 0x0 SWAP2 DUP3 MSTORE PUSH1 0x20 SWAP1 SWAP2 KECCAK256 ADD SLOAD PUSH1 0x2 DUP8 ADD DUP1 SLOAD PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF SWAP1 SWAP3 AND SWAP3 POP DUP3 SWAP2 DUP5 SWAP1 DUP2 LT PUSH2 0x1052 JUMPI INVALID JUMPDEST PUSH1 0x0 SWAP2 DUP3 MSTORE PUSH1 0x20 DUP1 DUP4 KECCAK256 SWAP2 SWAP1 SWAP2 ADD DUP1 SLOAD PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFF0000000000000000000000000000000000000000 AND PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF SWAP5 DUP6 AND OR SWAP1 SSTORE SWAP3 SWAP1 SWAP2 AND DUP2 MSTORE PUSH1 0x1 DUP8 DUP2 ADD SWAP1 SWAP3 MSTORE PUSH1 0x40 SWAP1 KECCAK256 ADD DUP1 SLOAD PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF0000 AND PUSH2 0xFFFF DUP4 AND OR SWAP1 SSTORE JUMPDEST DUP5 PUSH1 0x2 ADD DUP1 SLOAD DUP1 PUSH2 0x10EC JUMPI INVALID JUMPDEST PUSH1 0x0 DUP3 DUP2 MSTORE PUSH1 0x20 DUP1 DUP3 KECCAK256 DUP4 ADD PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF SWAP1 DUP2 ADD DUP1 SLOAD PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFF0000000000000000000000000000000000000000 AND SWAP1 SSTORE SWAP1 SWAP3 ADD SWAP1 SWAP3 SSTORE PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP10 AND DUP3 MSTORE PUSH1 0x1 DUP8 DUP2 ADD SWAP1 SWAP2 MSTORE PUSH1 0x40 SWAP1 SWAP2 KECCAK256 ADD DUP1 SLOAD PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF0000 AND SWAP1 SSTORE POP POP POP POP POP POP POP JUMP JUMPDEST DUP1 CALLDATALOAD PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP2 AND DUP2 EQ PUSH2 0x11C2 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 DUP3 PUSH1 0x1F DUP4 ADD SLT PUSH2 0x11D7 JUMPI DUP1 DUP2 REVERT JUMPDEST DUP2 CALLDATALOAD PUSH1 0x20 PUSH2 0x11EC PUSH2 0x11E7 DUP4 PUSH2 0x1975 JUMP JUMPDEST PUSH2 0x1951 JUMP JUMPDEST DUP3 DUP2 MSTORE DUP2 DUP2 ADD SWAP1 DUP6 DUP4 ADD DUP4 DUP6 MUL DUP8 ADD DUP5 ADD DUP9 LT ISZERO PUSH2 0x1208 JUMPI DUP6 DUP7 REVERT JUMPDEST DUP6 JUMPDEST DUP6 DUP2 LT ISZERO PUSH2 0x1253 JUMPI DUP2 CALLDATALOAD PUSH32 0xFFFFFFFF00000000000000000000000000000000000000000000000000000000 DUP2 AND DUP2 EQ PUSH2 0x1241 JUMPI DUP8 DUP9 REVERT JUMPDEST DUP5 MSTORE SWAP3 DUP5 ADD SWAP3 SWAP1 DUP5 ADD SWAP1 PUSH1 0x1 ADD PUSH2 0x120A JUMP JUMPDEST POP SWAP1 SWAP8 SWAP7 POP POP POP POP POP POP POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x0 DUP1 PUSH1 0x0 PUSH1 0x60 DUP7 DUP9 SUB SLT ISZERO PUSH2 0x1277 JUMPI DUP1 DUP2 REVERT JUMPDEST DUP6 CALLDATALOAD PUSH8 0xFFFFFFFFFFFFFFFF DUP1 DUP3 GT ISZERO PUSH2 0x128E JUMPI DUP3 DUP4 REVERT JUMPDEST DUP2 DUP9 ADD SWAP2 POP DUP9 PUSH1 0x1F DUP4 ADD SLT PUSH2 0x12A1 JUMPI DUP3 DUP4 REVERT JUMPDEST DUP2 CALLDATALOAD DUP2 DUP2 GT ISZERO PUSH2 0x12AF JUMPI DUP4 DUP5 REVERT JUMPDEST PUSH1 0x20 DUP11 DUP2 DUP3 DUP5 MUL DUP7 ADD ADD GT ISZERO PUSH2 0x12C3 JUMPI DUP5 DUP6 REVERT JUMPDEST DUP1 DUP5 ADD SWAP9 POP DUP2 SWAP8 POP PUSH2 0x12D6 DUP2 DUP12 ADD PUSH2 0x119E JUMP JUMPDEST SWAP7 POP PUSH1 0x40 DUP11 ADD CALLDATALOAD SWAP4 POP DUP3 DUP5 GT ISZERO PUSH2 0x12EB JUMPI DUP5 DUP6 REVERT JUMPDEST DUP4 DUP11 ADD SWAP4 POP DUP11 PUSH1 0x1F DUP6 ADD SLT PUSH2 0x12FE JUMPI DUP5 DUP6 REVERT JUMPDEST DUP4 CALLDATALOAD SWAP2 POP DUP3 DUP3 GT ISZERO PUSH2 0x130E JUMPI DUP5 DUP6 REVERT JUMPDEST DUP11 DUP2 DUP4 DUP7 ADD ADD GT ISZERO PUSH2 0x131E JUMPI DUP5 DUP6 REVERT JUMPDEST SWAP8 SWAP11 SWAP7 SWAP10 POP SWAP5 SWAP8 POP POP SWAP1 SWAP5 ADD SWAP4 POP SWAP1 SWAP2 SWAP1 POP JUMP JUMPDEST PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND SWAP1 MSTORE JUMP JUMPDEST PUSH1 0x0 DUP2 MLOAD DUP1 DUP5 MSTORE PUSH2 0x1364 DUP2 PUSH1 0x20 DUP7 ADD PUSH1 0x20 DUP7 ADD PUSH2 0x1A54 JUMP JUMPDEST PUSH1 0x1F ADD PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFE0 AND SWAP3 SWAP1 SWAP3 ADD PUSH1 0x20 ADD SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP3 MLOAD PUSH2 0x13A8 DUP2 DUP5 PUSH1 0x20 DUP8 ADD PUSH2 0x1A54 JUMP JUMPDEST SWAP2 SWAP1 SWAP2 ADD SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x60 DUP1 DUP3 MSTORE DUP5 MLOAD DUP3 DUP3 ADD DUP2 SWAP1 MSTORE PUSH1 0x0 SWAP2 SWAP1 PUSH1 0x80 SWAP1 DUP2 DUP6 ADD SWAP1 PUSH1 0x20 DUP1 DUP3 MUL DUP8 ADD DUP5 ADD DUP2 DUP12 ADD DUP8 JUMPDEST DUP5 DUP2 LT ISZERO PUSH2 0x14AC JUMPI PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF80 DUP11 DUP5 SUB ADD DUP7 MSTORE DUP2 MLOAD DUP9 DUP5 ADD PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP3 MLOAD AND DUP6 MSTORE DUP6 DUP3 ADD MLOAD PUSH1 0x3 DUP2 LT PUSH2 0x1434 JUMPI INVALID JUMPDEST DUP6 DUP8 ADD MSTORE PUSH1 0x40 SWAP2 DUP3 ADD MLOAD SWAP2 DUP6 ADD DUP11 SWAP1 MSTORE DUP2 MLOAD SWAP1 DUP2 SWAP1 MSTORE SWAP1 DUP6 ADD SWAP1 DUP11 SWAP1 DUP10 DUP7 ADD SWAP1 JUMPDEST DUP1 DUP4 LT ISZERO PUSH2 0x1497 JUMPI DUP4 MLOAD PUSH32 0xFFFFFFFF00000000000000000000000000000000000000000000000000000000 AND DUP3 MSTORE SWAP3 DUP8 ADD SWAP3 PUSH1 0x1 SWAP3 SWAP1 SWAP3 ADD SWAP2 SWAP1 DUP8 ADD SWAP1 PUSH2 0x1455 JUMP JUMPDEST POP SWAP8 DUP7 ADD SWAP8 SWAP5 POP POP POP SWAP1 DUP4 ADD SWAP1 PUSH1 0x1 ADD PUSH2 0x13D8 JUMP JUMPDEST POP POP PUSH2 0x14BA DUP3 DUP10 ADD DUP12 PUSH2 0x1332 JUMP JUMPDEST DUP8 DUP2 SUB PUSH1 0x40 DUP10 ADD MSTORE PUSH2 0x14CC DUP2 DUP11 PUSH2 0x134C JUMP JUMPDEST SWAP12 SWAP11 POP POP POP POP POP POP POP POP POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 MSTORE PUSH2 0x14EE PUSH1 0x20 DUP4 ADD DUP5 PUSH2 0x134C JUMP JUMPDEST SWAP4 SWAP3 POP POP POP JUMP JUMPDEST PUSH1 0x20 DUP1 DUP3 MSTORE PUSH1 0x3C SWAP1 DUP3 ADD MSTORE PUSH32 0x4C69624469616D6F6E644375743A205F696E6974206973206164647265737328 PUSH1 0x40 DUP3 ADD MSTORE PUSH32 0x3029206275745F63616C6C64617461206973206E6F7420656D70747900000000 PUSH1 0x60 DUP3 ADD MSTORE PUSH1 0x80 ADD SWAP1 JUMP JUMPDEST PUSH1 0x20 DUP1 DUP3 MSTORE PUSH1 0x26 SWAP1 DUP3 ADD MSTORE PUSH32 0x4C69624469616D6F6E644375743A205F696E69742066756E6374696F6E207265 PUSH1 0x40 DUP3 ADD MSTORE PUSH32 0x7665727465640000000000000000000000000000000000000000000000000000 PUSH1 0x60 DUP3 ADD MSTORE PUSH1 0x80 ADD SWAP1 JUMP JUMPDEST PUSH1 0x20 DUP1 DUP3 MSTORE PUSH1 0x22 SWAP1 DUP3 ADD MSTORE PUSH32 0x4C69624469616D6F6E643A204D75737420626520636F6E7472616374206F776E PUSH1 0x40 DUP3 ADD MSTORE PUSH32 0x6572000000000000000000000000000000000000000000000000000000000000 PUSH1 0x60 DUP3 ADD MSTORE PUSH1 0x80 ADD SWAP1 JUMP JUMPDEST PUSH1 0x20 DUP1 DUP3 MSTORE PUSH1 0x2B SWAP1 DUP3 ADD MSTORE PUSH32 0x4C69624469616D6F6E644375743A204E6F2073656C6563746F727320696E2066 PUSH1 0x40 DUP3 ADD MSTORE PUSH32 0x6163657420746F20637574000000000000000000000000000000000000000000 PUSH1 0x60 DUP3 ADD MSTORE PUSH1 0x80 ADD SWAP1 JUMP JUMPDEST PUSH1 0x20 DUP1 DUP3 MSTORE PUSH1 0x37 SWAP1 DUP3 ADD MSTORE PUSH32 0x4C69624469616D6F6E644375743A2043616E27742072656D6F76652066756E63 PUSH1 0x40 DUP3 ADD MSTORE PUSH32 0x74696F6E207468617420646F65736E2774206578697374000000000000000000 PUSH1 0x60 DUP3 ADD MSTORE PUSH1 0x80 ADD SWAP1 JUMP JUMPDEST PUSH1 0x20 DUP1 DUP3 MSTORE PUSH1 0x27 SWAP1 DUP3 ADD MSTORE PUSH32 0x4C69624469616D6F6E644375743A20496E636F72726563742046616365744375 PUSH1 0x40 DUP3 ADD MSTORE PUSH32 0x74416374696F6E00000000000000000000000000000000000000000000000000 PUSH1 0x60 DUP3 ADD MSTORE PUSH1 0x80 ADD SWAP1 JUMP JUMPDEST PUSH1 0x20 DUP1 DUP3 MSTORE PUSH1 0x2C SWAP1 DUP3 ADD MSTORE PUSH32 0x4C69624469616D6F6E644375743A204164642066616365742063616E27742062 PUSH1 0x40 DUP3 ADD MSTORE PUSH32 0x6520616464726573732830290000000000000000000000000000000000000000 PUSH1 0x60 DUP3 ADD MSTORE PUSH1 0x80 ADD SWAP1 JUMP JUMPDEST PUSH1 0x20 DUP1 DUP3 MSTORE PUSH1 0x3D SWAP1 DUP3 ADD MSTORE PUSH32 0x4C69624469616D6F6E644375743A205F63616C6C6461746120697320656D7074 PUSH1 0x40 DUP3 ADD MSTORE PUSH32 0x7920627574205F696E6974206973206E6F742061646472657373283029000000 PUSH1 0x60 DUP3 ADD MSTORE PUSH1 0x80 ADD SWAP1 JUMP JUMPDEST PUSH1 0x20 DUP1 DUP3 MSTORE PUSH1 0x2E SWAP1 DUP3 ADD MSTORE PUSH32 0x4C69624469616D6F6E644375743A2043616E27742072656D6F766520696D6D75 PUSH1 0x40 DUP3 ADD MSTORE PUSH32 0x7461626C652066756E6374696F6E000000000000000000000000000000000000 PUSH1 0x60 DUP3 ADD MSTORE PUSH1 0x80 ADD SWAP1 JUMP JUMPDEST PUSH1 0x20 DUP1 DUP3 MSTORE PUSH1 0x35 SWAP1 DUP3 ADD MSTORE PUSH32 0x4C69624469616D6F6E644375743A2043616E2774206164642066756E6374696F PUSH1 0x40 DUP3 ADD MSTORE PUSH32 0x6E207468617420616C7265616479206578697374730000000000000000000000 PUSH1 0x60 DUP3 ADD MSTORE PUSH1 0x80 ADD SWAP1 JUMP JUMPDEST PUSH1 0x20 DUP1 DUP3 MSTORE PUSH1 0x38 SWAP1 DUP3 ADD MSTORE PUSH32 0x4C69624469616D6F6E644375743A2043616E2774207265706C6163652066756E PUSH1 0x40 DUP3 ADD MSTORE PUSH32 0x6374696F6E20776974682073616D652066756E6374696F6E0000000000000000 PUSH1 0x60 DUP3 ADD MSTORE PUSH1 0x80 ADD SWAP1 JUMP JUMPDEST PUSH1 0x20 DUP1 DUP3 MSTORE PUSH1 0x36 SWAP1 DUP3 ADD MSTORE PUSH32 0x4C69624469616D6F6E644375743A2052656D6F76652066616365742061646472 PUSH1 0x40 DUP3 ADD MSTORE PUSH32 0x657373206D757374206265206164647265737328302900000000000000000000 PUSH1 0x60 DUP3 ADD MSTORE PUSH1 0x80 ADD SWAP1 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP2 DUP2 ADD PUSH8 0xFFFFFFFFFFFFFFFF DUP2 GT DUP3 DUP3 LT OR ISZERO PUSH2 0x196D JUMPI INVALID JUMPDEST PUSH1 0x40 MSTORE SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH8 0xFFFFFFFFFFFFFFFF DUP3 GT ISZERO PUSH2 0x1989 JUMPI INVALID JUMPDEST POP PUSH1 0x20 SWAP1 DUP2 MUL ADD SWAP1 JUMP JUMPDEST PUSH1 0x0 PUSH2 0x19A1 PUSH2 0x11E7 DUP5 PUSH2 0x1975 JUMP JUMPDEST DUP4 DUP2 MSTORE PUSH1 0x20 DUP1 DUP3 ADD SWAP2 SWAP1 DUP5 DUP5 JUMPDEST DUP8 DUP2 LT ISZERO PUSH2 0x1A48 JUMPI DUP2 CALLDATALOAD DUP8 ADD PUSH1 0x60 DUP1 DUP3 CALLDATASIZE SUB SLT ISZERO PUSH2 0x19CA JUMPI DUP8 DUP9 REVERT JUMPDEST PUSH1 0x40 DUP1 MLOAD SWAP2 DUP3 ADD SWAP2 PUSH8 0xFFFFFFFFFFFFFFFF DUP1 DUP5 GT DUP3 DUP6 LT OR ISZERO PUSH2 0x19E9 JUMPI INVALID JUMPDEST DUP4 DUP4 MSTORE PUSH2 0x19F5 DUP6 PUSH2 0x119E JUMP JUMPDEST DUP3 MSTORE DUP8 DUP6 ADD CALLDATALOAD SWAP4 POP PUSH1 0x3 DUP5 LT PUSH2 0x1A09 JUMPI DUP11 DUP12 REVERT JUMPDEST DUP4 DUP9 DUP4 ADD MSTORE DUP3 DUP6 ADD CALLDATALOAD SWAP4 POP DUP1 DUP5 GT ISZERO PUSH2 0x1A20 JUMPI DUP11 DUP12 REVERT JUMPDEST POP PUSH2 0x1A2D CALLDATASIZE DUP5 DUP7 ADD PUSH2 0x11C7 JUMP JUMPDEST SWAP2 DUP2 ADD SWAP2 SWAP1 SWAP2 MSTORE DUP8 MSTORE POP POP SWAP4 DUP3 ADD SWAP4 SWAP1 DUP3 ADD SWAP1 PUSH1 0x1 ADD PUSH2 0x19AE JUMP JUMPDEST POP SWAP2 SWAP7 SWAP6 POP POP POP POP POP POP JUMP JUMPDEST PUSH1 0x0 JUMPDEST DUP4 DUP2 LT ISZERO PUSH2 0x1A6F JUMPI DUP2 DUP2 ADD MLOAD DUP4 DUP3 ADD MSTORE PUSH1 0x20 ADD PUSH2 0x1A57 JUMP JUMPDEST DUP4 DUP2 GT ISZERO PUSH2 0xA61 JUMPI POP POP PUSH1 0x0 SWAP2 ADD MSTORE JUMP INVALID 0x4C PUSH10 0x624469616D6F6E644375 PUSH21 0x3A205F696E6974206164647265737320686173206E PUSH16 0x20636F64654C69624469616D6F6E6443 PUSH22 0x743A204E657720666163657420686173206E6F20636F PUSH5 0x65A2646970 PUSH7 0x73582212201054 0xDE 0xC5 CALLDATACOPY 0xD9 POP LT STATICCALL PUSH29 0x5E1911DD66AF99CADAD1565CB9A7DC56139C3D2C40F164736F6C634300 SMOD MOD STOP CALLER PUSH1 0x80 PUSH1 0x40 MSTORE CALLVALUE DUP1 ISZERO PUSH2 0x10 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH2 0x71D DUP1 PUSH2 0x20 PUSH1 0x0 CODECOPY PUSH1 0x0 RETURN INVALID PUSH1 0x80 PUSH1 0x40 MSTORE CALLVALUE DUP1 ISZERO PUSH2 0x10 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH1 0x4 CALLDATASIZE LT PUSH2 0x67 JUMPI PUSH1 0x0 CALLDATALOAD PUSH1 0xE0 SHR DUP1 PUSH4 0x7A0ED627 GT PUSH2 0x50 JUMPI DUP1 PUSH4 0x7A0ED627 EQ PUSH2 0xAA JUMPI DUP1 PUSH4 0xADFCA15E EQ PUSH2 0xBF JUMPI DUP1 PUSH4 0xCDFFACC6 EQ PUSH2 0xDF JUMPI PUSH2 0x67 JUMP JUMPDEST DUP1 PUSH4 0x1FFC9A7 EQ PUSH2 0x6C JUMPI DUP1 PUSH4 0x52EF6B2C EQ PUSH2 0x95 JUMPI JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x7F PUSH2 0x7A CALLDATASIZE PUSH1 0x4 PUSH2 0x50D JUMP JUMPDEST PUSH2 0xFF JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x8C SWAP2 SWAP1 PUSH2 0x6DC JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH2 0x9D PUSH2 0x14A JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x8C SWAP2 SWAP1 PUSH2 0x5CA JUMP JUMPDEST PUSH2 0xB2 PUSH2 0x1C3 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x8C SWAP2 SWAP1 PUSH2 0x637 JUMP JUMPDEST PUSH2 0xD2 PUSH2 0xCD CALLDATASIZE PUSH1 0x4 PUSH2 0x4D2 JUMP JUMPDEST PUSH2 0x370 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x8C SWAP2 SWAP1 PUSH2 0x624 JUMP JUMPDEST PUSH2 0xF2 PUSH2 0xED CALLDATASIZE PUSH1 0x4 PUSH2 0x50D JUMP JUMPDEST PUSH2 0x43C JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x8C SWAP2 SWAP1 PUSH2 0x5A9 JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH2 0x10A PUSH2 0x496 JUMP JUMPDEST PUSH32 0xFFFFFFFF00000000000000000000000000000000000000000000000000000000 DUP5 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x3 SWAP1 SWAP2 ADD PUSH1 0x20 MSTORE PUSH1 0x40 SWAP1 KECCAK256 SLOAD PUSH1 0xFF AND SWAP2 POP POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x60 PUSH1 0x0 PUSH2 0x156 PUSH2 0x496 JUMP JUMPDEST PUSH1 0x2 DUP2 ADD DUP1 SLOAD PUSH1 0x40 DUP1 MLOAD PUSH1 0x20 DUP1 DUP5 MUL DUP3 ADD DUP2 ADD SWAP1 SWAP3 MSTORE DUP3 DUP2 MSTORE SWAP4 SWAP5 POP DUP4 ADD DUP3 DUP3 DUP1 ISZERO PUSH2 0x1B8 JUMPI PUSH1 0x20 MUL DUP3 ADD SWAP2 SWAP1 PUSH1 0x0 MSTORE PUSH1 0x20 PUSH1 0x0 KECCAK256 SWAP1 JUMPDEST DUP2 SLOAD PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP2 MSTORE PUSH1 0x1 SWAP1 SWAP2 ADD SWAP1 PUSH1 0x20 ADD DUP1 DUP4 GT PUSH2 0x18D JUMPI JUMPDEST POP POP POP POP POP SWAP2 POP POP SWAP1 JUMP JUMPDEST PUSH1 0x60 PUSH1 0x0 PUSH2 0x1CF PUSH2 0x496 JUMP JUMPDEST PUSH1 0x2 DUP2 ADD SLOAD SWAP1 SWAP2 POP DUP1 PUSH8 0xFFFFFFFFFFFFFFFF DUP2 GT DUP1 ISZERO PUSH2 0x1EE JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH1 0x40 MLOAD SWAP1 DUP1 DUP3 MSTORE DUP1 PUSH1 0x20 MUL PUSH1 0x20 ADD DUP3 ADD PUSH1 0x40 MSTORE DUP1 ISZERO PUSH2 0x228 JUMPI DUP2 PUSH1 0x20 ADD JUMPDEST PUSH2 0x215 PUSH2 0x4BA JUMP JUMPDEST DUP2 MSTORE PUSH1 0x20 ADD SWAP1 PUSH1 0x1 SWAP1 SUB SWAP1 DUP2 PUSH2 0x20D JUMPI SWAP1 POP JUMPDEST POP SWAP3 POP PUSH1 0x0 JUMPDEST DUP2 DUP2 LT ISZERO PUSH2 0x36A JUMPI PUSH1 0x0 DUP4 PUSH1 0x2 ADD DUP3 DUP2 SLOAD DUP2 LT PUSH2 0x247 JUMPI INVALID JUMPDEST SWAP1 PUSH1 0x0 MSTORE PUSH1 0x20 PUSH1 0x0 KECCAK256 ADD PUSH1 0x0 SWAP1 SLOAD SWAP1 PUSH2 0x100 EXP SWAP1 DIV PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND SWAP1 POP DUP1 DUP6 DUP4 DUP2 MLOAD DUP2 LT PUSH2 0x281 JUMPI INVALID JUMPDEST PUSH1 0x20 SWAP1 DUP2 MUL SWAP2 SWAP1 SWAP2 ADD DUP2 ADD MLOAD PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF SWAP3 DUP4 AND SWAP1 MSTORE SWAP1 DUP3 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x1 DUP7 ADD DUP3 MSTORE PUSH1 0x40 SWAP1 DUP2 SWAP1 KECCAK256 DUP1 SLOAD DUP3 MLOAD DUP2 DUP6 MUL DUP2 ADD DUP6 ADD SWAP1 SWAP4 MSTORE DUP1 DUP4 MSTORE SWAP2 SWAP3 SWAP1 SWAP2 SWAP1 DUP4 ADD DUP3 DUP3 DUP1 ISZERO PUSH2 0x342 JUMPI PUSH1 0x20 MUL DUP3 ADD SWAP2 SWAP1 PUSH1 0x0 MSTORE PUSH1 0x20 PUSH1 0x0 KECCAK256 SWAP1 PUSH1 0x0 SWAP1 JUMPDEST DUP3 DUP3 SWAP1 SLOAD SWAP1 PUSH2 0x100 EXP SWAP1 DIV PUSH1 0xE0 SHL PUSH28 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF NOT AND DUP2 MSTORE PUSH1 0x20 ADD SWAP1 PUSH1 0x4 ADD SWAP1 PUSH1 0x20 DUP3 PUSH1 0x3 ADD DIV SWAP3 DUP4 ADD SWAP3 PUSH1 0x1 SUB DUP3 MUL SWAP2 POP DUP1 DUP5 GT PUSH2 0x2EF JUMPI SWAP1 POP JUMPDEST POP POP POP POP POP DUP6 DUP4 DUP2 MLOAD DUP2 LT PUSH2 0x353 JUMPI INVALID JUMPDEST PUSH1 0x20 SWAP1 DUP2 MUL SWAP2 SWAP1 SWAP2 ADD DUP2 ADD MLOAD ADD MSTORE POP PUSH1 0x1 ADD PUSH2 0x22E JUMP JUMPDEST POP POP POP SWAP1 JUMP JUMPDEST PUSH1 0x60 PUSH1 0x0 PUSH2 0x37C PUSH2 0x496 JUMP JUMPDEST PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP5 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x1 DUP3 ADD PUSH1 0x20 SWAP1 DUP2 MSTORE PUSH1 0x40 SWAP2 DUP3 SWAP1 KECCAK256 DUP1 SLOAD DUP4 MLOAD DUP2 DUP5 MUL DUP2 ADD DUP5 ADD SWAP1 SWAP5 MSTORE DUP1 DUP5 MSTORE SWAP4 SWAP5 POP SWAP2 SWAP3 SWAP1 DUP4 ADD DUP3 DUP3 DUP1 ISZERO PUSH2 0x42F JUMPI PUSH1 0x20 MUL DUP3 ADD SWAP2 SWAP1 PUSH1 0x0 MSTORE PUSH1 0x20 PUSH1 0x0 KECCAK256 SWAP1 PUSH1 0x0 SWAP1 JUMPDEST DUP3 DUP3 SWAP1 SLOAD SWAP1 PUSH2 0x100 EXP SWAP1 DIV PUSH1 0xE0 SHL PUSH28 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF NOT AND DUP2 MSTORE PUSH1 0x20 ADD SWAP1 PUSH1 0x4 ADD SWAP1 PUSH1 0x20 DUP3 PUSH1 0x3 ADD DIV SWAP3 DUP4 ADD SWAP3 PUSH1 0x1 SUB DUP3 MUL SWAP2 POP DUP1 DUP5 GT PUSH2 0x3DC JUMPI SWAP1 POP JUMPDEST POP POP POP POP POP SWAP2 POP POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH2 0x447 PUSH2 0x496 JUMP JUMPDEST PUSH32 0xFFFFFFFF00000000000000000000000000000000000000000000000000000000 SWAP1 SWAP4 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x20 SWAP4 SWAP1 SWAP4 MSTORE POP POP PUSH1 0x40 SWAP1 KECCAK256 SLOAD PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND SWAP1 JUMP JUMPDEST PUSH32 0xC8FCAD8DB84D3CC18B4C41D551EA0EE66DD599CDE068D998E57D5E09332C131C SWAP1 JUMP JUMPDEST PUSH1 0x40 DUP1 MLOAD DUP1 DUP3 ADD SWAP1 SWAP2 MSTORE PUSH1 0x0 DUP2 MSTORE PUSH1 0x60 PUSH1 0x20 DUP3 ADD MSTORE SWAP1 JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x4E3 JUMPI DUP1 DUP2 REVERT JUMPDEST DUP2 CALLDATALOAD PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP2 AND DUP2 EQ PUSH2 0x506 JUMPI DUP2 DUP3 REVERT JUMPDEST SWAP4 SWAP3 POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x51E JUMPI DUP1 DUP2 REVERT JUMPDEST DUP2 CALLDATALOAD PUSH32 0xFFFFFFFF00000000000000000000000000000000000000000000000000000000 DUP2 AND DUP2 EQ PUSH2 0x506 JUMPI DUP2 DUP3 REVERT JUMPDEST PUSH1 0x0 DUP2 MLOAD DUP1 DUP5 MSTORE PUSH1 0x20 DUP1 DUP6 ADD SWAP5 POP DUP1 DUP5 ADD DUP4 JUMPDEST DUP4 DUP2 LT ISZERO PUSH2 0x59E JUMPI DUP2 MLOAD PUSH32 0xFFFFFFFF00000000000000000000000000000000000000000000000000000000 AND DUP8 MSTORE SWAP6 DUP3 ADD SWAP6 SWAP1 DUP3 ADD SWAP1 PUSH1 0x1 ADD PUSH2 0x560 JUMP JUMPDEST POP SWAP5 SWAP6 SWAP5 POP POP POP POP POP JUMP JUMPDEST PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF SWAP2 SWAP1 SWAP2 AND DUP2 MSTORE PUSH1 0x20 ADD SWAP1 JUMP JUMPDEST PUSH1 0x20 DUP1 DUP3 MSTORE DUP3 MLOAD DUP3 DUP3 ADD DUP2 SWAP1 MSTORE PUSH1 0x0 SWAP2 SWAP1 DUP5 DUP3 ADD SWAP1 PUSH1 0x40 DUP6 ADD SWAP1 DUP5 JUMPDEST DUP2 DUP2 LT ISZERO PUSH2 0x618 JUMPI DUP4 MLOAD PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP4 MSTORE SWAP3 DUP5 ADD SWAP3 SWAP2 DUP5 ADD SWAP2 PUSH1 0x1 ADD PUSH2 0x5E6 JUMP JUMPDEST POP SWAP1 SWAP7 SWAP6 POP POP POP POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 MSTORE PUSH2 0x506 PUSH1 0x20 DUP4 ADD DUP5 PUSH2 0x54D JUMP JUMPDEST PUSH1 0x20 DUP1 DUP3 MSTORE DUP3 MLOAD DUP3 DUP3 ADD DUP2 SWAP1 MSTORE PUSH1 0x0 SWAP2 SWAP1 PUSH1 0x40 SWAP1 DUP2 DUP6 ADD SWAP1 DUP1 DUP5 MUL DUP7 ADD DUP4 ADD DUP8 DUP6 ADD DUP7 JUMPDEST DUP4 DUP2 LT ISZERO PUSH2 0x6CE JUMPI DUP9 DUP4 SUB PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFC0 ADD DUP6 MSTORE DUP2 MLOAD DUP1 MLOAD PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP5 MSTORE DUP8 ADD MLOAD DUP8 DUP5 ADD DUP8 SWAP1 MSTORE PUSH2 0x6BB DUP8 DUP6 ADD DUP3 PUSH2 0x54D JUMP JUMPDEST SWAP6 DUP9 ADD SWAP6 SWAP4 POP POP SWAP1 DUP7 ADD SWAP1 PUSH1 0x1 ADD PUSH2 0x65B JUMP JUMPDEST POP SWAP1 SWAP9 SWAP8 POP POP POP POP POP POP POP POP JUMP JUMPDEST SWAP1 ISZERO ISZERO DUP2 MSTORE PUSH1 0x20 ADD SWAP1 JUMP INVALID LOG2 PUSH5 0x6970667358 0x22 SLT KECCAK256 DUP10 0xD5 0xCE DUP14 SWAP10 PUSH18 0xBEF242A45F969BF2CA524B5BDF0488783BD DUP12 PUSH10 0xC2FEA19E15ED64736F6C PUSH4 0x43000706 STOP CALLER PUSH1 0x80 PUSH1 0x40 MSTORE CALLVALUE DUP1 ISZERO PUSH2 0x10 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH2 0x28E DUP1 PUSH2 0x20 PUSH1 0x0 CODECOPY PUSH1 0x0 RETURN INVALID PUSH1 0x80 PUSH1 0x40 MSTORE CALLVALUE DUP1 ISZERO PUSH2 0x10 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH1 0x4 CALLDATASIZE LT PUSH2 0x36 JUMPI PUSH1 0x0 CALLDATALOAD PUSH1 0xE0 SHR DUP1 PUSH4 0x8DA5CB5B EQ PUSH2 0x3B JUMPI DUP1 PUSH4 0xF2FDE38B EQ PUSH2 0x6C JUMPI JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x43 PUSH2 0xA1 JUMP JUMPDEST PUSH1 0x40 DUP1 MLOAD PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF SWAP1 SWAP3 AND DUP3 MSTORE MLOAD SWAP1 DUP2 SWAP1 SUB PUSH1 0x20 ADD SWAP1 RETURN JUMPDEST PUSH2 0x9F PUSH1 0x4 DUP1 CALLDATASIZE SUB PUSH1 0x20 DUP2 LT ISZERO PUSH2 0x82 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP CALLDATALOAD PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH2 0xB0 JUMP JUMPDEST STOP JUMPDEST PUSH1 0x0 PUSH2 0xAB PUSH2 0xC4 JUMP JUMPDEST SWAP1 POP SWAP1 JUMP JUMPDEST PUSH2 0xB8 PUSH2 0xED JUMP JUMPDEST PUSH2 0xC1 DUP2 PUSH2 0x152 JUMP JUMPDEST POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0xCE PUSH2 0x1D7 JUMP JUMPDEST PUSH1 0x4 ADD SLOAD PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND SWAP2 SWAP1 POP JUMP JUMPDEST PUSH2 0xF5 PUSH2 0x1D7 JUMP JUMPDEST PUSH1 0x4 ADD SLOAD PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND CALLER EQ PUSH2 0x150 JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x147 SWAP1 PUSH2 0x1FB JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST JUMP JUMPDEST PUSH1 0x0 PUSH2 0x15C PUSH2 0x1D7 JUMP JUMPDEST PUSH1 0x4 DUP2 ADD DUP1 SLOAD PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP6 DUP2 AND PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFF0000000000000000000000000000000000000000 DUP4 AND DUP2 OR SWAP1 SWAP4 SSTORE PUSH1 0x40 MLOAD SWAP4 SWAP5 POP AND SWAP2 DUP3 SWAP1 PUSH32 0x8BE0079C531659141344CD1FD0A4F28419497F9722A3DAAFE3B4186F6B6457E0 SWAP1 PUSH1 0x0 SWAP1 LOG3 POP POP POP JUMP JUMPDEST PUSH32 0xC8FCAD8DB84D3CC18B4C41D551EA0EE66DD599CDE068D998E57D5E09332C131C SWAP1 JUMP JUMPDEST PUSH1 0x20 DUP1 DUP3 MSTORE PUSH1 0x22 SWAP1 DUP3 ADD MSTORE PUSH32 0x4C69624469616D6F6E643A204D75737420626520636F6E7472616374206F776E PUSH1 0x40 DUP3 ADD MSTORE PUSH32 0x6572000000000000000000000000000000000000000000000000000000000000 PUSH1 0x60 DUP3 ADD MSTORE PUSH1 0x80 ADD SWAP1 JUMP INVALID LOG2 PUSH5 0x6970667358 0x22 SLT KECCAK256 PUSH26 0xEC72C8755F7643C02E0E5CBE49008E7623FFFE4B39B7289AAF42 CREATE2 CODESIZE 0xB7 JUMPDEST 0xD6 PUSH5 0x736F6C6343 STOP SMOD MOD STOP CALLER 0x29 0xD 0xEC 0xD9 SLOAD DUP12 PUSH3 0xA8D603 GASLIMIT 0xA9 DUP9 CODESIZE PUSH16 0xC84BA6BC95484008F6362F93160EF3E5 PUSH4 0x0 ", - "sourceMap": "273:3298:0:-:0;;;401:2269;;;;;;;;;;425:33;677:31;711:21;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;763:15:0;;;776:1;763:15;;;;;;;;;677:55;;-1:-1:-1;763:15:0;;;;;;;;;;;-1:-1:-1;763:15:0;743:35;;811;;;788:17;806:1;788:20;;;;;;;;-1:-1:-1;;;;;;788:58:0;;;;:20;;;;;;;;;;:58;880:185;;;;;;;;-1:-1:-1;;;;;880:185:0;;;;;-1:-1:-1;880:185:0;;;;;;;;;;;;856:210;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;856:210:0;;;;;;;-1:-1:-1;;;;;;856:210:0;;;;;;;;;;;880:185;;856:210;;;;-1:-1:-1;;;;856:210:0;;;;-1:-1:-1;;;856:210:0;;;;;;;;;;;;;;-1:-1:-1;856:210:0;;;;;;;;;;;;;;;;;;:::i;:::-;;;;1290:35;1328:23;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;1382:15:0;;;1395:1;1382:15;;;;;;;;;1290:61;;-1:-1:-1;1382:15:0;;;;;;;;;;-1:-1:-1;1382:15:0;1362:35;;1430:49;;;1407:17;1425:1;1407:20;;;;;;;;-1:-1:-1;;;;;;1407:72:0;;;:20;;;;;;;;;;;:72;1489:20;;-1:-1:-1;;;1512:33:0;1489:17;;1507:1;;1489:20;;;;;;-1:-1:-1;;;;;;1489:56:0;;;:20;;;;;;;;;;;:56;1555:20;;-1:-1:-1;;;1578:39:0;1555:17;;1573:1;;1555:20;;;;;;-1:-1:-1;;;;;;1555:62:0;;;:20;;;;;;;;;;;:62;1627:20;;-1:-1:-1;;;1650:41:0;1627:17;;1645:1;;1627:20;;;;;;-1:-1:-1;;;;;;1627:64:0;;;:20;;;;;;;;;;;:64;1701:20;;-1:-1:-1;;;1724:44:0;1701:17;;1719:1;;1701:20;;;;;;-1:-1:-1;;;;;;1701:67:0;;;;:20;;;;;;;;;;:67;1802:187;;;;;;;;-1:-1:-1;;;;;1802:187:0;;;;;-1:-1:-1;1802:187:0;;;;;;;;;;;;1778:212;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;1778:212:0;;;;;;;-1:-1:-1;;;;;;1778:212:0;;;;;;;;;;;1802:187;;1778:212;;;;-1:-1:-1;;;;1778:212:0;;;;-1:-1:-1;;;1778:212:0;;;;;;;;;;;;;;-1:-1:-1;1778:212:0;;;;;;;;;;;;;;;;;;:::i;:::-;;;;2210:29;2242:20;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;2293:15:0;;;2306:1;2293:15;;;;;;;;2210:52;;-1:-1:-1;2293:15:0;2306:1;2293:15;;;;;;;;;;-1:-1:-1;2293:15:0;2273:35;;2341:41;;;2318:17;2336:1;2318:20;;;;;;;;-1:-1:-1;;;;;;2318:64:0;;;:20;;;;;;;;;;;:64;2392:20;;-1:-1:-1;;;2415:29:0;2392:17;;2410:1;;2392:20;;;;;;-1:-1:-1;;;;;;2392:52:0;;;;:20;;;;;;;;;;:52;2478:184;;;;;;;;-1:-1:-1;;;;;2478:184:0;;;;;-1:-1:-1;2478:184:0;;;;;;;;;;;;2454:209;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;2454:209:0;;;;;;;-1:-1:-1;;;;;;2454:209:0;;;;;;;;;;;2478:184;;2454:209;;;;-1:-1:-1;;;;2454:209:0;;;;-1:-1:-1;;;2454:209:0;;;;;;;;;;;;;;-1:-1:-1;2454:209:0;;;;;;;;;;;;;;;;;;:::i;:::-;;;;401:2269;;;;273:3298;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;273:3298:0;;;-1:-1:-1;273:3298:0;:::i;:::-;;;:::o;:::-;;;;;;;;:::o;:::-;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;" - }, - "deployedBytecode": { + "functionDebugData": { + "@_186": { + "entryPoint": null, + "id": 186, + "parameterSlots": 0, + "returnSlots": 0 + }, + "panic_error_0x21": { + "entryPoint": 1524, + "id": null, + "parameterSlots": 0, + "returnSlots": 0 + }, + "panic_error_0x32": { + "entryPoint": 1502, + "id": null, + "parameterSlots": 0, + "returnSlots": 0 + }, + "panic_error_0x41": { + "entryPoint": null, + "id": null, + "parameterSlots": 0, + "returnSlots": 0 + } + }, "generatedSources": [ { "ast": { "nodeType": "YulBlock", - "src": "0:11690:10", + "src": "0:407:11", "statements": [ { "nodeType": "YulBlock", - "src": "6:3:10", + "src": "6:3:11", "statements": [] }, { "body": { "nodeType": "YulBlock", - "src": "65:147:10", + "src": "46:95:11", "statements": [ { - "nodeType": "YulAssignment", - "src": "75:29:10", - "value": { + "expression": { "arguments": [ { - "name": "offset", - "nodeType": "YulIdentifier", - "src": "97:6:10" + "kind": "number", + "nodeType": "YulLiteral", + "src": "63:1:11", + "type": "", + "value": "0" + }, + { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "70:3:11", + "type": "", + "value": "224" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "75:10:11", + "type": "", + "value": "0x4e487b71" + } + ], + "functionName": { + "name": "shl", + "nodeType": "YulIdentifier", + "src": "66:3:11" + }, + "nodeType": "YulFunctionCall", + "src": "66:20:11" } ], "functionName": { - "name": "calldataload", + "name": "mstore", "nodeType": "YulIdentifier", - "src": "84:12:10" + "src": "56:6:11" }, "nodeType": "YulFunctionCall", - "src": "84:20:10" + "src": "56:31:11" }, - "variableNames": [ - { - "name": "value", - "nodeType": "YulIdentifier", - "src": "75:5:10" - } - ] + "nodeType": "YulExpressionStatement", + "src": "56:31:11" }, { - "body": { - "nodeType": "YulBlock", - "src": "190:16:10", - "statements": [ + "expression": { + "arguments": [ { - "expression": { - "arguments": [ - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "199:1:10", - "type": "", - "value": "0" - }, - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "202:1:10", - "type": "", - "value": "0" - } - ], - "functionName": { - "name": "revert", - "nodeType": "YulIdentifier", - "src": "192:6:10" - }, - "nodeType": "YulFunctionCall", - "src": "192:12:10" - }, - "nodeType": "YulExpressionStatement", - "src": "192:12:10" + "kind": "number", + "nodeType": "YulLiteral", + "src": "103:1:11", + "type": "", + "value": "4" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "106:4:11", + "type": "", + "value": "0x41" } - ] + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "96:6:11" + }, + "nodeType": "YulFunctionCall", + "src": "96:15:11" }, - "condition": { + "nodeType": "YulExpressionStatement", + "src": "96:15:11" + }, + { + "expression": { "arguments": [ { - "arguments": [ - { - "name": "value", - "nodeType": "YulIdentifier", - "src": "126:5:10" - }, - { - "arguments": [ - { - "name": "value", - "nodeType": "YulIdentifier", - "src": "137:5:10" - }, - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "144:42:10", - "type": "", - "value": "0xffffffffffffffffffffffffffffffffffffffff" - } - ], - "functionName": { - "name": "and", - "nodeType": "YulIdentifier", - "src": "133:3:10" - }, - "nodeType": "YulFunctionCall", - "src": "133:54:10" - } - ], - "functionName": { - "name": "eq", - "nodeType": "YulIdentifier", - "src": "123:2:10" - }, - "nodeType": "YulFunctionCall", - "src": "123:65:10" + "kind": "number", + "nodeType": "YulLiteral", + "src": "127:1:11", + "type": "", + "value": "0" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "130:4:11", + "type": "", + "value": "0x24" } ], "functionName": { - "name": "iszero", + "name": "revert", "nodeType": "YulIdentifier", - "src": "116:6:10" + "src": "120:6:11" }, "nodeType": "YulFunctionCall", - "src": "116:73:10" + "src": "120:15:11" }, - "nodeType": "YulIf", - "src": "113:2:10" + "nodeType": "YulExpressionStatement", + "src": "120:15:11" } ] }, - "name": "abi_decode_t_address", + "name": "panic_error_0x41", "nodeType": "YulFunctionDefinition", - "parameters": [ - { - "name": "offset", - "nodeType": "YulTypedName", - "src": "44:6:10", - "type": "" - } - ], - "returnVariables": [ - { - "name": "value", - "nodeType": "YulTypedName", - "src": "55:5:10", - "type": "" - } - ], - "src": "14:198:10" + "src": "14:127:11" }, { "body": { "nodeType": "YulBlock", - "src": "291:303:10", + "src": "178:95:11", "statements": [ { - "body": { - "nodeType": "YulBlock", - "src": "340:30:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "name": "arrayPos", - "nodeType": "YulIdentifier", - "src": "349:8:10" - }, - { - "name": "arrayPos", - "nodeType": "YulIdentifier", - "src": "359:8:10" - } - ], - "functionName": { - "name": "revert", - "nodeType": "YulIdentifier", - "src": "342:6:10" - }, - "nodeType": "YulFunctionCall", - "src": "342:26:10" - }, - "nodeType": "YulExpressionStatement", - "src": "342:26:10" - } - ] - }, - "condition": { + "expression": { "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "195:1:11", + "type": "", + "value": "0" + }, { "arguments": [ { - "arguments": [ - { - "name": "offset", - "nodeType": "YulIdentifier", - "src": "319:6:10" - }, - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "327:4:10", - "type": "", - "value": "0x1f" - } - ], - "functionName": { - "name": "add", - "nodeType": "YulIdentifier", - "src": "315:3:10" - }, - "nodeType": "YulFunctionCall", - "src": "315:17:10" + "kind": "number", + "nodeType": "YulLiteral", + "src": "202:3:11", + "type": "", + "value": "224" }, { - "name": "end", - "nodeType": "YulIdentifier", - "src": "334:3:10" + "kind": "number", + "nodeType": "YulLiteral", + "src": "207:10:11", + "type": "", + "value": "0x4e487b71" } ], "functionName": { - "name": "slt", + "name": "shl", "nodeType": "YulIdentifier", - "src": "311:3:10" + "src": "198:3:11" }, "nodeType": "YulFunctionCall", - "src": "311:27:10" + "src": "198:20:11" } ], "functionName": { - "name": "iszero", + "name": "mstore", "nodeType": "YulIdentifier", - "src": "304:6:10" + "src": "188:6:11" }, "nodeType": "YulFunctionCall", - "src": "304:35:10" + "src": "188:31:11" }, - "nodeType": "YulIf", - "src": "301:2:10" + "nodeType": "YulExpressionStatement", + "src": "188:31:11" }, { - "nodeType": "YulAssignment", - "src": "379:30:10", - "value": { + "expression": { "arguments": [ { - "name": "offset", - "nodeType": "YulIdentifier", - "src": "402:6:10" + "kind": "number", + "nodeType": "YulLiteral", + "src": "235:1:11", + "type": "", + "value": "4" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "238:4:11", + "type": "", + "value": "0x32" } ], "functionName": { - "name": "calldataload", + "name": "mstore", "nodeType": "YulIdentifier", - "src": "389:12:10" + "src": "228:6:11" }, "nodeType": "YulFunctionCall", - "src": "389:20:10" + "src": "228:15:11" }, - "variableNames": [ - { - "name": "length", - "nodeType": "YulIdentifier", - "src": "379:6:10" - } - ] + "nodeType": "YulExpressionStatement", + "src": "228:15:11" }, { - "body": { - "nodeType": "YulBlock", - "src": "452:30:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "name": "arrayPos", - "nodeType": "YulIdentifier", - "src": "461:8:10" - }, - { - "name": "arrayPos", - "nodeType": "YulIdentifier", - "src": "471:8:10" - } - ], - "functionName": { - "name": "revert", - "nodeType": "YulIdentifier", - "src": "454:6:10" - }, - "nodeType": "YulFunctionCall", - "src": "454:26:10" - }, - "nodeType": "YulExpressionStatement", - "src": "454:26:10" - } - ] - }, - "condition": { + "expression": { "arguments": [ - { - "name": "length", - "nodeType": "YulIdentifier", - "src": "424:6:10" - }, { "kind": "number", "nodeType": "YulLiteral", - "src": "432:18:10", + "src": "259:1:11", "type": "", - "value": "0xffffffffffffffff" + "value": "0" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "262:4:11", + "type": "", + "value": "0x24" } ], "functionName": { - "name": "gt", + "name": "revert", "nodeType": "YulIdentifier", - "src": "421:2:10" + "src": "252:6:11" }, "nodeType": "YulFunctionCall", - "src": "421:30:10" + "src": "252:15:11" }, - "nodeType": "YulIf", - "src": "418:2:10" + "nodeType": "YulExpressionStatement", + "src": "252:15:11" + } + ] + }, + "name": "panic_error_0x32", + "nodeType": "YulFunctionDefinition", + "src": "146:127:11" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "310:95:11", + "statements": [ + { + "expression": { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "327:1:11", + "type": "", + "value": "0" + }, + { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "334:3:11", + "type": "", + "value": "224" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "339:10:11", + "type": "", + "value": "0x4e487b71" + } + ], + "functionName": { + "name": "shl", + "nodeType": "YulIdentifier", + "src": "330:3:11" + }, + "nodeType": "YulFunctionCall", + "src": "330:20:11" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "320:6:11" + }, + "nodeType": "YulFunctionCall", + "src": "320:31:11" + }, + "nodeType": "YulExpressionStatement", + "src": "320:31:11" }, { - "nodeType": "YulAssignment", - "src": "491:29:10", - "value": { + "expression": { "arguments": [ { - "name": "offset", - "nodeType": "YulIdentifier", - "src": "507:6:10" + "kind": "number", + "nodeType": "YulLiteral", + "src": "367:1:11", + "type": "", + "value": "4" }, { "kind": "number", "nodeType": "YulLiteral", - "src": "515:4:10", + "src": "370:4:11", "type": "", - "value": "0x20" + "value": "0x21" } ], "functionName": { - "name": "add", + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "360:6:11" + }, + "nodeType": "YulFunctionCall", + "src": "360:15:11" + }, + "nodeType": "YulExpressionStatement", + "src": "360:15:11" + }, + { + "expression": { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "391:1:11", + "type": "", + "value": "0" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "394:4:11", + "type": "", + "value": "0x24" + } + ], + "functionName": { + "name": "revert", + "nodeType": "YulIdentifier", + "src": "384:6:11" + }, + "nodeType": "YulFunctionCall", + "src": "384:15:11" + }, + "nodeType": "YulExpressionStatement", + "src": "384:15:11" + } + ] + }, + "name": "panic_error_0x21", + "nodeType": "YulFunctionDefinition", + "src": "278:127:11" + } + ] + }, + "contents": "{\n { }\n function panic_error_0x41()\n {\n mstore(0, shl(224, 0x4e487b71))\n mstore(4, 0x41)\n revert(0, 0x24)\n }\n function panic_error_0x32()\n {\n mstore(0, shl(224, 0x4e487b71))\n mstore(4, 0x32)\n revert(0, 0x24)\n }\n function panic_error_0x21()\n {\n mstore(0, shl(224, 0x4e487b71))\n mstore(4, 0x21)\n revert(0, 0x24)\n }\n}", + "id": 11, + "language": "Yul", + "name": "#utility.yul" + } + ], + "linkReferences": {}, + "opcodes": "PUSH1 0x80 PUSH1 0x40 MSTORE CALLVALUE DUP1 ISZERO PUSH3 0x11 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH1 0x60 PUSH1 0x0 PUSH1 0x40 MLOAD PUSH3 0x24 SWAP1 PUSH3 0x4EA JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 PUSH1 0x0 CREATE DUP1 ISZERO DUP1 ISZERO PUSH3 0x41 JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP PUSH1 0x40 DUP1 MLOAD PUSH1 0x1 DUP1 DUP3 MSTORE DUP2 DUP4 ADD SWAP1 SWAP3 MSTORE SWAP2 SWAP3 POP PUSH1 0x20 DUP1 DUP4 ADD SWAP1 DUP1 CALLDATASIZE DUP4 CALLDATACOPY ADD SWAP1 POP POP SWAP2 POP PUSH4 0x1F931C1C PUSH1 0xE0 SHL DUP3 PUSH1 0x0 DUP2 MLOAD DUP2 LT PUSH3 0x82 JUMPI PUSH3 0x82 PUSH3 0x5DE JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xE0 SHL SUB NOT SWAP3 SWAP1 SWAP3 AND PUSH1 0x20 SWAP3 DUP4 MUL SWAP2 SWAP1 SWAP2 ADD DUP3 ADD MSTORE PUSH1 0x40 DUP1 MLOAD PUSH1 0x60 DUP2 ADD DUP3 MSTORE PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP5 DUP2 AND DUP3 MSTORE PUSH1 0x0 SWAP4 DUP3 ADD DUP5 DUP2 MSTORE SWAP3 DUP3 ADD DUP7 SWAP1 MSTORE DUP4 SLOAD PUSH1 0x1 DUP2 ADD DUP6 SSTORE SWAP4 DUP1 MSTORE DUP2 MLOAD PUSH1 0x2 SWAP5 DUP6 MUL PUSH1 0x0 DUP1 MLOAD PUSH1 0x20 PUSH3 0x6AB5 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE ADD DUP1 SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB NOT DUP2 AND SWAP3 SWAP1 SWAP4 AND SWAP2 DUP3 OR DUP2 SSTORE SWAP4 MLOAD SWAP3 SWAP5 DUP5 SWAP3 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA8 SHL SUB NOT AND SWAP1 SWAP2 OR SWAP1 PUSH1 0x1 PUSH1 0xA0 SHL SWAP1 DUP5 SWAP1 DUP2 GT ISZERO PUSH3 0x127 JUMPI PUSH3 0x127 PUSH3 0x5F4 JUMP JUMPDEST MUL OR SWAP1 SSTORE POP PUSH1 0x40 DUP3 ADD MLOAD DUP1 MLOAD PUSH3 0x149 SWAP2 PUSH1 0x1 DUP5 ADD SWAP2 PUSH1 0x20 SWAP1 SWAP2 ADD SWAP1 PUSH3 0x4F8 JUMP JUMPDEST POP POP POP PUSH1 0x0 PUSH1 0x40 MLOAD PUSH3 0x15C SWAP1 PUSH3 0x5AB JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 PUSH1 0x0 CREATE DUP1 ISZERO DUP1 ISZERO PUSH3 0x179 JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP PUSH1 0x40 DUP1 MLOAD PUSH1 0x5 DUP1 DUP3 MSTORE PUSH1 0xC0 DUP3 ADD SWAP1 SWAP3 MSTORE SWAP2 SWAP3 POP PUSH1 0x20 DUP3 ADD PUSH1 0xA0 DUP1 CALLDATASIZE DUP4 CALLDATACOPY ADD SWAP1 POP POP SWAP3 POP PUSH4 0xADFCA15E PUSH1 0xE0 SHL DUP4 PUSH1 0x0 DUP2 MLOAD DUP2 LT PUSH3 0x1BB JUMPI PUSH3 0x1BB PUSH3 0x5DE JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xE0 SHL SUB NOT SWAP1 SWAP3 AND PUSH1 0x20 SWAP3 DUP4 MUL SWAP2 SWAP1 SWAP2 ADD SWAP1 SWAP2 ADD MSTORE DUP3 MLOAD PUSH4 0x7A0ED627 PUSH1 0xE0 SHL SWAP1 DUP5 SWAP1 PUSH1 0x1 SWAP1 DUP2 LT PUSH3 0x1F5 JUMPI PUSH3 0x1F5 PUSH3 0x5DE JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xE0 SHL SUB NOT SWAP1 SWAP3 AND PUSH1 0x20 SWAP3 DUP4 MUL SWAP2 SWAP1 SWAP2 ADD SWAP1 SWAP2 ADD MSTORE DUP3 MLOAD PUSH4 0x66FFD663 PUSH1 0xE1 SHL SWAP1 DUP5 SWAP1 PUSH1 0x2 SWAP1 DUP2 LT PUSH3 0x22F JUMPI PUSH3 0x22F PUSH3 0x5DE JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xE0 SHL SUB NOT SWAP1 SWAP3 AND PUSH1 0x20 SWAP3 DUP4 MUL SWAP2 SWAP1 SWAP2 ADD SWAP1 SWAP2 ADD MSTORE DUP3 MLOAD PUSH4 0x14BBDACB PUSH1 0xE2 SHL SWAP1 DUP5 SWAP1 PUSH1 0x3 SWAP1 DUP2 LT PUSH3 0x269 JUMPI PUSH3 0x269 PUSH3 0x5DE JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xE0 SHL SUB NOT SWAP1 SWAP3 AND PUSH1 0x20 SWAP3 DUP4 MUL SWAP2 SWAP1 SWAP2 ADD SWAP1 SWAP2 ADD MSTORE DUP3 MLOAD PUSH4 0x1FFC9A7 PUSH1 0xE0 SHL SWAP1 DUP5 SWAP1 PUSH1 0x4 SWAP1 DUP2 LT PUSH3 0x2A3 JUMPI PUSH3 0x2A3 PUSH3 0x5DE JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xE0 SHL SUB NOT SWAP3 SWAP1 SWAP3 AND PUSH1 0x20 SWAP3 DUP4 MUL SWAP2 SWAP1 SWAP2 ADD DUP3 ADD MSTORE PUSH1 0x40 DUP1 MLOAD PUSH1 0x60 DUP2 ADD DUP3 MSTORE PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP5 DUP2 AND DUP3 MSTORE PUSH1 0x0 SWAP4 DUP3 ADD DUP5 DUP2 MSTORE SWAP3 DUP3 ADD DUP8 SWAP1 MSTORE DUP4 SLOAD PUSH1 0x1 DUP2 ADD DUP6 SSTORE SWAP4 DUP1 MSTORE DUP2 MLOAD PUSH1 0x2 SWAP5 DUP6 MUL PUSH1 0x0 DUP1 MLOAD PUSH1 0x20 PUSH3 0x6AB5 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE ADD DUP1 SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB NOT DUP2 AND SWAP3 SWAP1 SWAP4 AND SWAP2 DUP3 OR DUP2 SSTORE SWAP4 MLOAD SWAP3 SWAP5 DUP5 SWAP3 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA8 SHL SUB NOT AND SWAP1 SWAP2 OR SWAP1 PUSH1 0x1 PUSH1 0xA0 SHL SWAP1 DUP5 SWAP1 DUP2 GT ISZERO PUSH3 0x348 JUMPI PUSH3 0x348 PUSH3 0x5F4 JUMP JUMPDEST MUL OR SWAP1 SSTORE POP PUSH1 0x40 DUP3 ADD MLOAD DUP1 MLOAD PUSH3 0x36A SWAP2 PUSH1 0x1 DUP5 ADD SWAP2 PUSH1 0x20 SWAP1 SWAP2 ADD SWAP1 PUSH3 0x4F8 JUMP JUMPDEST POP POP POP PUSH1 0x0 PUSH1 0x40 MLOAD PUSH3 0x37D SWAP1 PUSH3 0x5B9 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 PUSH1 0x0 CREATE DUP1 ISZERO DUP1 ISZERO PUSH3 0x39A JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP PUSH1 0x40 DUP1 MLOAD PUSH1 0x2 DUP1 DUP3 MSTORE PUSH1 0x60 DUP3 ADD DUP4 MSTORE SWAP3 SWAP4 POP SWAP2 SWAP1 PUSH1 0x20 DUP4 ADD SWAP1 DUP1 CALLDATASIZE DUP4 CALLDATACOPY ADD SWAP1 POP POP SWAP4 POP PUSH4 0xF2FDE38B PUSH1 0xE0 SHL DUP5 PUSH1 0x0 DUP2 MLOAD DUP2 LT PUSH3 0x3DC JUMPI PUSH3 0x3DC PUSH3 0x5DE JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xE0 SHL SUB NOT SWAP1 SWAP3 AND PUSH1 0x20 SWAP3 DUP4 MUL SWAP2 SWAP1 SWAP2 ADD SWAP1 SWAP2 ADD MSTORE DUP4 MLOAD PUSH4 0x8DA5CB5B PUSH1 0xE0 SHL SWAP1 DUP6 SWAP1 PUSH1 0x1 SWAP1 DUP2 LT PUSH3 0x416 JUMPI PUSH3 0x416 PUSH3 0x5DE JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xE0 SHL SUB NOT SWAP3 SWAP1 SWAP3 AND PUSH1 0x20 SWAP3 DUP4 MUL SWAP2 SWAP1 SWAP2 ADD DUP3 ADD MSTORE PUSH1 0x40 DUP1 MLOAD PUSH1 0x60 DUP2 ADD DUP3 MSTORE PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP5 DUP2 AND DUP3 MSTORE PUSH1 0x0 SWAP4 DUP3 ADD DUP5 DUP2 MSTORE SWAP3 DUP3 ADD DUP9 SWAP1 MSTORE DUP4 SLOAD PUSH1 0x1 DUP2 ADD DUP6 SSTORE SWAP4 DUP1 MSTORE DUP2 MLOAD PUSH1 0x2 SWAP5 DUP6 MUL PUSH1 0x0 DUP1 MLOAD PUSH1 0x20 PUSH3 0x6AB5 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE ADD DUP1 SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB NOT DUP2 AND SWAP3 SWAP1 SWAP4 AND SWAP2 DUP3 OR DUP2 SSTORE SWAP4 MLOAD SWAP3 SWAP5 DUP5 SWAP3 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA8 SHL SUB NOT AND SWAP1 SWAP2 OR SWAP1 PUSH1 0x1 PUSH1 0xA0 SHL SWAP1 DUP5 SWAP1 DUP2 GT ISZERO PUSH3 0x4BB JUMPI PUSH3 0x4BB PUSH3 0x5F4 JUMP JUMPDEST MUL OR SWAP1 SSTORE POP PUSH1 0x40 DUP3 ADD MLOAD DUP1 MLOAD PUSH3 0x4DD SWAP2 PUSH1 0x1 DUP5 ADD SWAP2 PUSH1 0x20 SWAP1 SWAP2 ADD SWAP1 PUSH3 0x4F8 JUMP JUMPDEST POP POP POP POP POP POP POP PUSH3 0x60A JUMP JUMPDEST PUSH2 0x1D36 DUP1 PUSH3 0x421B DUP4 CODECOPY ADD SWAP1 JUMP JUMPDEST DUP3 DUP1 SLOAD DUP3 DUP3 SSTORE SWAP1 PUSH1 0x0 MSTORE PUSH1 0x20 PUSH1 0x0 KECCAK256 SWAP1 PUSH1 0x7 ADD PUSH1 0x8 SWAP1 DIV DUP2 ADD SWAP3 DUP3 ISZERO PUSH3 0x599 JUMPI SWAP2 PUSH1 0x20 MUL DUP3 ADD PUSH1 0x0 JUMPDEST DUP4 DUP3 GT ISZERO PUSH3 0x565 JUMPI DUP4 MLOAD DUP4 DUP3 PUSH2 0x100 EXP DUP2 SLOAD DUP2 PUSH4 0xFFFFFFFF MUL NOT AND SWAP1 DUP4 PUSH1 0xE0 SHR MUL OR SWAP1 SSTORE POP SWAP3 PUSH1 0x20 ADD SWAP3 PUSH1 0x4 ADD PUSH1 0x20 DUP2 PUSH1 0x3 ADD DIV SWAP3 DUP4 ADD SWAP3 PUSH1 0x1 SUB MUL PUSH3 0x522 JUMP JUMPDEST DUP1 ISZERO PUSH3 0x597 JUMPI DUP3 DUP2 PUSH2 0x100 EXP DUP2 SLOAD SWAP1 PUSH4 0xFFFFFFFF MUL NOT AND SWAP1 SSTORE PUSH1 0x4 ADD PUSH1 0x20 DUP2 PUSH1 0x3 ADD DIV SWAP3 DUP4 ADD SWAP3 PUSH1 0x1 SUB MUL PUSH3 0x565 JUMP JUMPDEST POP JUMPDEST POP PUSH3 0x5A7 SWAP3 SWAP2 POP PUSH3 0x5C7 JUMP JUMPDEST POP SWAP1 JUMP JUMPDEST PUSH2 0x86E DUP1 PUSH3 0x5F51 DUP4 CODECOPY ADD SWAP1 JUMP JUMPDEST PUSH2 0x2F6 DUP1 PUSH3 0x67BF DUP4 CODECOPY ADD SWAP1 JUMP JUMPDEST JUMPDEST DUP1 DUP3 GT ISZERO PUSH3 0x5A7 JUMPI PUSH1 0x0 DUP2 SSTORE PUSH1 0x1 ADD PUSH3 0x5C8 JUMP JUMPDEST PUSH4 0x4E487B71 PUSH1 0xE0 SHL PUSH1 0x0 MSTORE PUSH1 0x32 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST PUSH4 0x4E487B71 PUSH1 0xE0 SHL PUSH1 0x0 MSTORE PUSH1 0x21 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST PUSH2 0x3C01 DUP1 PUSH3 0x61A PUSH1 0x0 CODECOPY PUSH1 0x0 RETURN INVALID PUSH1 0x80 PUSH1 0x40 MSTORE PUSH1 0x4 CALLDATASIZE LT PUSH3 0x20 JUMPI PUSH1 0x0 CALLDATALOAD PUSH1 0xE0 SHR DUP1 PUSH4 0xCCC2E316 EQ PUSH3 0x25 JUMPI JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH3 0x3C PUSH3 0x36 CALLDATASIZE PUSH1 0x4 PUSH3 0x365 JUMP JUMPDEST PUSH3 0x65 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF SWAP1 SWAP2 AND DUP2 MSTORE PUSH1 0x20 ADD PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH1 0x0 DUP2 ISZERO PUSH3 0x137 JUMPI DUP2 DUP8 PUSH1 0x40 MLOAD PUSH1 0x20 ADD PUSH3 0xB0 SWAP3 SWAP2 SWAP1 SWAP2 DUP3 MSTORE PUSH1 0x60 SHL PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF000000000000000000000000 AND PUSH1 0x20 DUP3 ADD MSTORE PUSH1 0x34 ADD SWAP1 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH1 0x20 DUP2 DUP4 SUB SUB DUP2 MSTORE SWAP1 PUSH1 0x40 MSTORE DUP1 MLOAD SWAP1 PUSH1 0x20 ADD KECCAK256 SWAP2 POP CALLVALUE DUP3 SWAP1 PUSH1 0x0 PUSH1 0x40 MLOAD DUP1 PUSH1 0x20 ADD PUSH1 0x40 MSTORE DUP1 ADDRESS PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP2 MSTORE POP PUSH1 0x40 MLOAD PUSH3 0x100 SWAP1 PUSH3 0x2E1 JUMP JUMPDEST PUSH3 0x10D SWAP3 SWAP2 SWAP1 PUSH3 0x465 JUMP JUMPDEST DUP3 SWAP1 PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 DUP4 CREATE2 SWAP2 POP POP DUP1 ISZERO DUP1 ISZERO PUSH3 0x12E JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP SWAP1 POP PUSH3 0x185 JUMP JUMPDEST PUSH1 0x40 DUP1 MLOAD PUSH1 0x20 DUP2 ADD DUP3 MSTORE ADDRESS DUP2 MSTORE SWAP1 MLOAD CALLVALUE SWAP2 PUSH1 0x0 SWAP2 PUSH3 0x156 SWAP1 PUSH3 0x2E1 JUMP JUMPDEST PUSH3 0x163 SWAP3 SWAP2 SWAP1 PUSH3 0x465 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 DUP3 CREATE SWAP1 POP DUP1 ISZERO DUP1 ISZERO PUSH3 0x181 JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP SWAP1 POP JUMPDEST PUSH1 0x40 MLOAD PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP3 AND DUP2 MSTORE PUSH32 0x644CA5B0A8B0418E9FAF3880659EEB84EAAD45AD838B0173808E5CA72F5EFC49 SWAP1 PUSH1 0x20 ADD PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 LOG1 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP2 AND PUSH4 0x1F931C1C DUP8 DUP8 DUP7 PUSH3 0x1FA JUMPI PUSH1 0x0 PUSH3 0x1FC JUMP JUMPDEST DUP5 JUMPDEST DUP9 DUP9 PUSH1 0x40 MLOAD DUP7 PUSH4 0xFFFFFFFF AND PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH3 0x220 SWAP6 SWAP5 SWAP4 SWAP3 SWAP2 SWAP1 PUSH3 0x924 JUMP JUMPDEST PUSH1 0x0 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 PUSH1 0x0 DUP8 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH3 0x23B JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS CALL ISZERO DUP1 ISZERO PUSH3 0x250 JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP PUSH1 0x40 MLOAD PUSH32 0xF2FDE38B00000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP11 DUP2 AND PUSH1 0x4 DUP4 ADD MSTORE DUP5 AND SWAP3 POP PUSH4 0xF2FDE38B SWAP2 POP PUSH1 0x24 ADD PUSH1 0x0 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 PUSH1 0x0 DUP8 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH3 0x2BE JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS CALL ISZERO DUP1 ISZERO PUSH3 0x2D3 JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP SWAP7 SWAP6 POP POP POP POP POP POP JUMP JUMPDEST PUSH2 0x310C DUP1 PUSH3 0xAC0 DUP4 CODECOPY ADD SWAP1 JUMP JUMPDEST DUP1 CALLDATALOAD PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP2 AND DUP2 EQ PUSH3 0x314 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 DUP1 DUP4 PUSH1 0x1F DUP5 ADD SLT PUSH3 0x32C JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP DUP2 CALLDATALOAD PUSH8 0xFFFFFFFFFFFFFFFF DUP2 GT ISZERO PUSH3 0x345 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x20 DUP4 ADD SWAP2 POP DUP4 PUSH1 0x20 DUP3 DUP6 ADD ADD GT ISZERO PUSH3 0x35E JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST SWAP3 POP SWAP3 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x0 DUP1 PUSH1 0x0 DUP1 PUSH1 0x80 DUP8 DUP10 SUB SLT ISZERO PUSH3 0x37F JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH3 0x38A DUP8 PUSH3 0x2EF JUMP JUMPDEST SWAP6 POP PUSH1 0x20 DUP8 ADD CALLDATALOAD PUSH8 0xFFFFFFFFFFFFFFFF DUP1 DUP3 GT ISZERO PUSH3 0x3A8 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP2 DUP10 ADD SWAP2 POP DUP10 PUSH1 0x1F DUP4 ADD SLT PUSH3 0x3BD JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP2 CALLDATALOAD DUP2 DUP2 GT ISZERO PUSH3 0x3CD JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP11 PUSH1 0x20 DUP3 PUSH1 0x5 SHL DUP6 ADD ADD GT ISZERO PUSH3 0x3E3 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x20 DUP4 ADD SWAP8 POP DUP1 SWAP7 POP POP PUSH1 0x40 DUP10 ADD CALLDATALOAD SWAP2 POP DUP1 DUP3 GT ISZERO PUSH3 0x402 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH3 0x411 DUP10 DUP3 DUP11 ADD PUSH3 0x319 JUMP JUMPDEST SWAP8 SWAP11 SWAP7 SWAP10 POP SWAP5 SWAP8 SWAP5 SWAP7 SWAP6 PUSH1 0x60 SWAP1 SWAP6 ADD CALLDATALOAD SWAP5 SWAP4 POP POP POP POP JUMP JUMPDEST PUSH1 0x3 DUP2 LT PUSH3 0x461 JUMPI PUSH32 0x4E487B7100000000000000000000000000000000000000000000000000000000 PUSH1 0x0 MSTORE PUSH1 0x21 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST SWAP1 MSTORE JUMP JUMPDEST PUSH1 0x0 PUSH1 0x40 DUP3 ADD PUSH1 0x40 DUP4 MSTORE DUP1 DUP6 SLOAD DUP1 DUP4 MSTORE PUSH1 0x60 DUP6 ADD SWAP2 POP PUSH1 0x60 DUP2 PUSH1 0x5 SHL DUP7 ADD ADD SWAP3 POP DUP7 PUSH1 0x0 MSTORE PUSH1 0x20 DUP1 PUSH1 0x0 KECCAK256 PUSH1 0x0 JUMPDEST DUP4 DUP2 LT ISZERO PUSH3 0x83D JUMPI PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFA0 DUP9 DUP8 SUB ADD DUP6 MSTORE PUSH1 0x60 DUP7 ADD DUP3 SLOAD PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP2 AND DUP9 MSTORE PUSH3 0x4F6 DUP6 DUP10 ADD PUSH1 0xFF DUP4 PUSH1 0xA0 SHR AND PUSH3 0x429 JUMP JUMPDEST POP PUSH1 0x60 PUSH1 0x40 DUP9 ADD MSTORE PUSH1 0x1 DUP4 DUP2 ADD DUP1 SLOAD DUP1 DUP5 MSTORE PUSH1 0x0 SWAP2 DUP3 MSTORE PUSH1 0x20 DUP1 DUP4 KECCAK256 SWAP5 ADD SWAP1 JUMPDEST DUP1 PUSH1 0x7 DUP5 ADD LT ISZERO PUSH3 0x64C JUMPI DUP5 SLOAD PUSH3 0x553 DUP4 DUP3 PUSH1 0xE0 SHL PUSH32 0xFFFFFFFF00000000000000000000000000000000000000000000000000000000 AND SWAP1 MSTORE JUMP JUMPDEST PUSH32 0xFFFFFFFF00000000000000000000000000000000000000000000000000000000 PUSH1 0xC0 DUP3 SWAP1 SHL DUP2 AND DUP11 DUP6 ADD MSTORE PUSH1 0xA0 DUP3 SWAP1 SHL DUP2 AND PUSH1 0x40 DUP6 ADD MSTORE PUSH1 0x80 DUP3 SWAP1 SHL DUP2 AND PUSH1 0x60 DUP6 ADD MSTORE PUSH3 0x5CB PUSH1 0x80 DUP6 ADD DUP3 DUP5 PUSH1 0x60 SHL AND PUSH32 0xFFFFFFFF00000000000000000000000000000000000000000000000000000000 AND SWAP1 MSTORE JUMP JUMPDEST PUSH3 0x5FF PUSH1 0xA0 DUP6 ADD DUP3 DUP5 PUSH1 0x40 SHL AND PUSH32 0xFFFFFFFF00000000000000000000000000000000000000000000000000000000 AND SWAP1 MSTORE JUMP JUMPDEST PUSH32 0xFFFFFFFF00000000000000000000000000000000000000000000000000000000 DUP3 DUP12 SHL DUP3 AND DUP2 AND PUSH1 0xC0 DUP7 ADD MSTORE SWAP2 AND AND PUSH1 0xE0 DUP4 ADD MSTORE SWAP4 DUP4 ADD SWAP4 PUSH1 0x8 SWAP3 SWAP1 SWAP3 ADD SWAP2 PUSH2 0x100 SWAP1 SWAP2 ADD SWAP1 PUSH3 0x516 JUMP JUMPDEST SWAP4 SLOAD SWAP4 DUP1 DUP4 LT ISZERO PUSH3 0x690 JUMPI PUSH3 0x687 DUP3 DUP7 PUSH1 0xE0 SHL PUSH32 0xFFFFFFFF00000000000000000000000000000000000000000000000000000000 AND SWAP1 MSTORE JUMP JUMPDEST SWAP2 DUP4 ADD SWAP2 SWAP1 DUP8 ADD SWAP1 JUMPDEST DUP1 DUP4 LT ISZERO PUSH3 0x6CB JUMPI PUSH1 0xC0 DUP6 SWAP1 SHL PUSH32 0xFFFFFFFF00000000000000000000000000000000000000000000000000000000 AND DUP3 MSTORE SWAP2 DUP4 ADD SWAP2 SWAP1 DUP8 ADD SWAP1 JUMPDEST DUP1 DUP4 LT ISZERO PUSH3 0x706 JUMPI PUSH1 0xA0 DUP6 SWAP1 SHL PUSH32 0xFFFFFFFF00000000000000000000000000000000000000000000000000000000 AND DUP3 MSTORE SWAP2 DUP4 ADD SWAP2 SWAP1 DUP8 ADD SWAP1 JUMPDEST DUP1 DUP4 LT ISZERO PUSH3 0x741 JUMPI PUSH1 0x80 DUP6 SWAP1 SHL PUSH32 0xFFFFFFFF00000000000000000000000000000000000000000000000000000000 AND DUP3 MSTORE SWAP2 DUP4 ADD SWAP2 SWAP1 DUP8 ADD SWAP1 JUMPDEST DUP1 DUP4 LT ISZERO PUSH3 0x77C JUMPI PUSH1 0x60 DUP6 SWAP1 SHL PUSH32 0xFFFFFFFF00000000000000000000000000000000000000000000000000000000 AND DUP3 MSTORE SWAP2 DUP4 ADD SWAP2 SWAP1 DUP8 ADD SWAP1 JUMPDEST DUP1 DUP4 LT ISZERO PUSH3 0x7B7 JUMPI PUSH1 0x40 DUP6 SWAP1 SHL PUSH32 0xFFFFFFFF00000000000000000000000000000000000000000000000000000000 AND DUP3 MSTORE SWAP2 DUP4 ADD SWAP2 SWAP1 DUP8 ADD SWAP1 JUMPDEST DUP1 DUP4 LT ISZERO PUSH3 0x7F0 JUMPI DUP5 DUP9 SHL PUSH32 0xFFFFFFFF00000000000000000000000000000000000000000000000000000000 AND DUP3 MSTORE SWAP2 DUP4 ADD SWAP2 SWAP1 DUP8 ADD SWAP1 JUMPDEST DUP1 DUP4 LT ISZERO PUSH3 0x823 JUMPI PUSH32 0xFFFFFFFF00000000000000000000000000000000000000000000000000000000 DUP6 AND DUP3 MSTORE SWAP1 DUP8 ADD SWAP1 JUMPDEST POP SWAP9 POP POP POP SWAP5 DUP4 ADD SWAP5 POP PUSH1 0x2 SWAP2 SWAP1 SWAP2 ADD SWAP1 PUSH1 0x1 ADD PUSH3 0x493 JUMP JUMPDEST POP POP DUP4 SWAP5 POP PUSH3 0x865 DUP2 DUP8 ADD DUP9 MLOAD PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND SWAP1 MSTORE JUMP JUMPDEST POP POP POP POP SWAP4 SWAP3 POP POP POP JUMP JUMPDEST DUP2 DUP4 MSTORE PUSH1 0x0 PUSH1 0x20 DUP1 DUP6 ADD SWAP5 POP DUP3 PUSH1 0x0 DUP1 JUMPDEST DUP7 DUP2 LT ISZERO PUSH3 0x8CF JUMPI DUP3 CALLDATALOAD PUSH32 0xFFFFFFFF00000000000000000000000000000000000000000000000000000000 DUP2 AND DUP1 DUP3 EQ PUSH3 0x8BB JUMPI DUP4 DUP5 REVERT JUMPDEST DUP10 MSTORE POP SWAP7 DUP4 ADD SWAP7 SWAP2 DUP4 ADD SWAP2 PUSH1 0x1 ADD PUSH3 0x881 JUMP JUMPDEST POP SWAP6 SWAP7 SWAP6 POP POP POP POP POP POP JUMP JUMPDEST DUP2 DUP4 MSTORE DUP2 DUP2 PUSH1 0x20 DUP6 ADD CALLDATACOPY POP PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 ADD ADD MSTORE PUSH1 0x0 PUSH1 0x20 PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFE0 PUSH1 0x1F DUP5 ADD AND DUP5 ADD ADD SWAP1 POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x60 DUP1 DUP3 MSTORE DUP2 DUP2 ADD DUP7 SWAP1 MSTORE PUSH1 0x0 SWAP1 PUSH1 0x5 PUSH1 0x80 DUP1 DUP6 ADD SWAP1 DUP10 DUP4 SHL DUP7 ADD ADD DUP11 DUP6 JUMPDEST DUP12 DUP2 LT ISZERO PUSH3 0xA7D JUMPI PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF80 DUP9 DUP5 SUB ADD DUP5 MSTORE DUP2 CALLDATALOAD PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFA1 DUP15 CALLDATASIZE SUB ADD DUP2 SLT PUSH3 0x9A6 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP14 ADD PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF PUSH3 0x9C8 DUP3 PUSH3 0x2EF JUMP JUMPDEST AND DUP5 MSTORE PUSH1 0x20 DUP1 DUP3 ADD CALLDATALOAD PUSH1 0x3 DUP2 LT PUSH3 0x9DF JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH3 0x9ED DUP3 DUP8 ADD DUP3 PUSH3 0x429 JUMP JUMPDEST POP PUSH1 0x40 DUP1 DUP4 ADD CALLDATALOAD PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFE1 DUP5 CALLDATASIZE SUB ADD DUP2 SLT PUSH3 0xA25 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP4 ADD DUP1 CALLDATALOAD PUSH8 0xFFFFFFFFFFFFFFFF DUP2 GT ISZERO PUSH3 0xA3F JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP1 DUP11 SHL CALLDATASIZE SUB DUP6 SGT ISZERO PUSH3 0xA51 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP11 DUP4 DUP10 ADD MSTORE PUSH3 0xA67 DUP12 DUP10 ADD DUP3 DUP7 DUP6 ADD PUSH3 0x870 JUMP JUMPDEST SWAP9 DUP5 ADD SWAP9 SWAP8 POP POP POP SWAP4 ADD SWAP3 POP POP PUSH1 0x1 ADD PUSH3 0x943 JUMP JUMPDEST POP POP PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP10 AND PUSH1 0x20 DUP8 ADD MSTORE DUP6 DUP2 SUB PUSH1 0x40 DUP8 ADD MSTORE PUSH3 0xAB0 DUP2 DUP9 DUP11 PUSH3 0x8DB JUMP JUMPDEST SWAP12 SWAP11 POP POP POP POP POP POP POP POP POP POP POP JUMP INVALID PUSH1 0x80 PUSH1 0x40 MSTORE PUSH1 0x40 MLOAD PUSH3 0x310C CODESIZE SUB DUP1 PUSH3 0x310C DUP4 CODECOPY DUP2 ADD PUSH1 0x40 DUP2 SWAP1 MSTORE PUSH3 0x26 SWAP2 PUSH3 0x1205 JUMP JUMPDEST PUSH1 0x40 DUP1 MLOAD PUSH1 0x0 DUP1 DUP3 MSTORE PUSH1 0x20 DUP3 ADD SWAP1 SWAP3 MSTORE PUSH3 0x4E SWAP2 DUP5 SWAP2 PUSH3 0xF5 PUSH1 0x20 SHL PUSH3 0x107 OR PUSH1 0x20 SHR JUMP JUMPDEST PUSH3 0x68 DUP2 PUSH1 0x0 ADD MLOAD PUSH3 0x353 PUSH1 0x20 SHL PUSH3 0x34B OR PUSH1 0x20 SHR JUMP JUMPDEST PUSH1 0x0 PUSH3 0x7F PUSH3 0x3D7 PUSH1 0x20 SHL PUSH3 0x405 OR PUSH1 0x20 SHR JUMP JUMPDEST PUSH4 0x1FFC9A7 PUSH1 0xE0 SHL PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x3 SWAP1 SWAP2 ADD PUSH1 0x20 MSTORE PUSH1 0x40 DUP1 DUP3 KECCAK256 DUP1 SLOAD PUSH1 0xFF NOT SWAP1 DUP2 AND PUSH1 0x1 SWAP1 DUP2 OR SWAP1 SWAP3 SSTORE PUSH4 0x7E4C707 PUSH1 0xE2 SHL DUP5 MSTORE DUP3 DUP5 KECCAK256 DUP1 SLOAD DUP3 AND DUP4 OR SWAP1 SSTORE PUSH4 0x48E2B093 PUSH1 0xE0 SHL DUP5 MSTORE DUP3 DUP5 KECCAK256 DUP1 SLOAD DUP3 AND DUP4 OR SWAP1 SSTORE PUSH4 0x7F5828D PUSH1 0xE4 SHL DUP5 MSTORE SWAP2 SWAP1 SWAP3 KECCAK256 DUP1 SLOAD SWAP1 SWAP2 AND SWAP1 SWAP2 OR SWAP1 SSTORE POP PUSH3 0x1607 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 JUMPDEST DUP4 MLOAD DUP2 LT ISZERO PUSH3 0x304 JUMPI PUSH1 0x0 DUP5 DUP3 DUP2 MLOAD DUP2 LT PUSH3 0x119 JUMPI PUSH3 0x119 PUSH3 0x13AF JUMP JUMPDEST PUSH1 0x20 MUL PUSH1 0x20 ADD ADD MLOAD PUSH1 0x20 ADD MLOAD SWAP1 POP PUSH1 0x0 PUSH1 0x2 DUP2 GT ISZERO PUSH3 0x13D JUMPI PUSH3 0x13D PUSH3 0x13C5 JUMP JUMPDEST DUP2 PUSH1 0x2 DUP2 GT ISZERO PUSH3 0x152 JUMPI PUSH3 0x152 PUSH3 0x13C5 JUMP JUMPDEST EQ ISZERO PUSH3 0x1B1 JUMPI PUSH3 0x1AB DUP6 DUP4 DUP2 MLOAD DUP2 LT PUSH3 0x172 JUMPI PUSH3 0x172 PUSH3 0x13AF JUMP JUMPDEST PUSH1 0x20 MUL PUSH1 0x20 ADD ADD MLOAD PUSH1 0x0 ADD MLOAD DUP7 DUP5 DUP2 MLOAD DUP2 LT PUSH3 0x193 JUMPI PUSH3 0x193 PUSH3 0x13AF JUMP JUMPDEST PUSH1 0x20 MUL PUSH1 0x20 ADD ADD MLOAD PUSH1 0x40 ADD MLOAD PUSH3 0x3EA PUSH1 0x20 SHL PUSH1 0x20 SHR JUMP JUMPDEST PUSH3 0x2EE JUMP JUMPDEST PUSH1 0x1 DUP2 PUSH1 0x2 DUP2 GT ISZERO PUSH3 0x1C8 JUMPI PUSH3 0x1C8 PUSH3 0x13C5 JUMP JUMPDEST EQ ISZERO PUSH3 0x221 JUMPI PUSH3 0x1AB DUP6 DUP4 DUP2 MLOAD DUP2 LT PUSH3 0x1E8 JUMPI PUSH3 0x1E8 PUSH3 0x13AF JUMP JUMPDEST PUSH1 0x20 MUL PUSH1 0x20 ADD ADD MLOAD PUSH1 0x0 ADD MLOAD DUP7 DUP5 DUP2 MLOAD DUP2 LT PUSH3 0x209 JUMPI PUSH3 0x209 PUSH3 0x13AF JUMP JUMPDEST PUSH1 0x20 MUL PUSH1 0x20 ADD ADD MLOAD PUSH1 0x40 ADD MLOAD PUSH3 0x674 PUSH1 0x20 SHL PUSH1 0x20 SHR JUMP JUMPDEST PUSH1 0x2 DUP2 PUSH1 0x2 DUP2 GT ISZERO PUSH3 0x238 JUMPI PUSH3 0x238 PUSH3 0x13C5 JUMP JUMPDEST EQ ISZERO PUSH3 0x291 JUMPI PUSH3 0x1AB DUP6 DUP4 DUP2 MLOAD DUP2 LT PUSH3 0x258 JUMPI PUSH3 0x258 PUSH3 0x13AF JUMP JUMPDEST PUSH1 0x20 MUL PUSH1 0x20 ADD ADD MLOAD PUSH1 0x0 ADD MLOAD DUP7 DUP5 DUP2 MLOAD DUP2 LT PUSH3 0x279 JUMPI PUSH3 0x279 PUSH3 0x13AF JUMP JUMPDEST PUSH1 0x20 MUL PUSH1 0x20 ADD ADD MLOAD PUSH1 0x40 ADD MLOAD PUSH3 0x90A PUSH1 0x20 SHL PUSH1 0x20 SHR JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x27 PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x4C69624469616D6F6E644375743A20496E636F72726563742046616365744375 PUSH1 0x44 DUP3 ADD MSTORE PUSH7 0x3A20B1BA34B7B7 PUSH1 0xC9 SHL PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 ADD JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST POP DUP1 PUSH3 0x2FB DUP2 PUSH3 0x13F1 JUMP JUMPDEST SWAP2 POP POP PUSH3 0xF8 JUMP JUMPDEST POP PUSH32 0x8FAA70878671CCD212D20771B795C50AF8FD3FF6CF27F4BDE57E5D4DE0AEB673 DUP4 DUP4 DUP4 PUSH1 0x40 MLOAD PUSH3 0x33A SWAP4 SWAP3 SWAP2 SWAP1 PUSH3 0x146C JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 LOG1 PUSH3 0x34E DUP3 DUP3 PUSH3 0xA70 JUMP JUMPDEST POP POP POP JUMP JUMPDEST PUSH32 0xC8FCAD8DB84D3CC18B4C41D551EA0EE66DD599CDE068D998E57D5E09332C1320 DUP1 SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB NOT DUP2 AND PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP5 DUP2 AND SWAP2 DUP3 OR SWAP1 SWAP4 SSTORE PUSH1 0x40 MLOAD PUSH1 0x0 DUP1 MLOAD PUSH1 0x20 PUSH3 0x3060 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE SWAP4 SWAP1 SWAP3 AND SWAP2 DUP3 SWAP1 PUSH32 0x8BE0079C531659141344CD1FD0A4F28419497F9722A3DAAFE3B4186F6B6457E0 SWAP1 PUSH1 0x0 SWAP1 LOG3 POP POP POP JUMP JUMPDEST PUSH1 0x0 DUP1 MLOAD PUSH1 0x20 PUSH3 0x3060 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE SWAP1 JUMP JUMPDEST PUSH1 0x0 DUP2 MLOAD GT PUSH3 0x440 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x2B PUSH1 0x24 DUP3 ADD MSTORE PUSH1 0x0 DUP1 MLOAD PUSH1 0x20 PUSH3 0x30EC DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE PUSH1 0x44 DUP3 ADD MSTORE PUSH11 0x1858D95D081D1BC818DD5D PUSH1 0xAA SHL PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 ADD PUSH3 0x2E5 JUMP JUMPDEST PUSH1 0x0 DUP1 MLOAD PUSH1 0x20 PUSH3 0x3060 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP4 AND PUSH3 0x4AC JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x2C PUSH1 0x24 DUP3 ADD MSTORE PUSH1 0x0 DUP1 MLOAD PUSH1 0x20 PUSH3 0x30A8 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE PUSH1 0x44 DUP3 ADD MSTORE PUSH12 0x652061646472657373283029 PUSH1 0xA0 SHL PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 ADD PUSH3 0x2E5 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP4 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x1 DUP3 ADD PUSH1 0x20 MSTORE PUSH1 0x40 SWAP1 KECCAK256 SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0x60 SHL SUB DUP2 AND PUSH3 0x4E2 JUMPI PUSH3 0x4E2 DUP3 DUP6 PUSH3 0xC8F JUMP JUMPDEST PUSH1 0x0 JUMPDEST DUP4 MLOAD DUP2 LT ISZERO PUSH3 0x66D JUMPI PUSH1 0x0 DUP5 DUP3 DUP2 MLOAD DUP2 LT PUSH3 0x506 JUMPI PUSH3 0x506 PUSH3 0x13AF JUMP JUMPDEST PUSH1 0x20 SWAP1 DUP2 MUL SWAP2 SWAP1 SWAP2 ADD DUP2 ADD MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xE0 SHL SUB NOT DUP2 AND PUSH1 0x0 SWAP1 DUP2 MSTORE SWAP2 DUP7 SWAP1 MSTORE PUSH1 0x40 SWAP1 SWAP2 KECCAK256 SLOAD SWAP1 SWAP2 POP PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND DUP1 ISZERO PUSH3 0x5AE JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x35 PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x4C69624469616D6F6E644375743A2043616E2774206164642066756E6374696F PUSH1 0x44 DUP3 ADD MSTORE PUSH32 0x6E207468617420616C7265616479206578697374730000000000000000000000 PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 ADD PUSH3 0x2E5 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xE0 SHL SUB NOT DUP3 AND PUSH1 0x0 DUP2 DUP2 MSTORE PUSH1 0x20 DUP8 DUP2 MSTORE PUSH1 0x40 DUP1 DUP4 KECCAK256 DUP1 SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 DUP2 AND PUSH1 0x1 PUSH1 0xA0 SHL PUSH1 0x1 PUSH1 0x1 PUSH1 0x60 SHL SUB DUP13 AND MUL OR DUP3 SSTORE DUP13 AND DUP1 DUP6 MSTORE PUSH1 0x1 DUP1 DUP13 ADD DUP6 MSTORE SWAP3 DUP6 KECCAK256 DUP1 SLOAD SWAP4 DUP5 ADD DUP2 SSTORE DUP6 MSTORE DUP4 DUP6 KECCAK256 PUSH1 0x8 DUP5 DIV ADD DUP1 SLOAD PUSH4 0xFFFFFFFF PUSH1 0x7 SWAP1 SWAP6 AND PUSH1 0x4 MUL PUSH2 0x100 EXP SWAP5 DUP6 MUL NOT AND PUSH1 0xE0 DUP11 SWAP1 SHR SWAP5 SWAP1 SWAP5 MUL SWAP4 SWAP1 SWAP4 OR SWAP1 SWAP3 SSTORE SWAP4 SWAP1 SWAP3 MSTORE DUP8 SWAP1 MSTORE DUP2 SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB NOT AND OR SWAP1 SSTORE DUP4 PUSH3 0x652 DUP2 PUSH3 0x1573 JUMP JUMPDEST SWAP5 POP POP POP POP DUP1 DUP1 PUSH3 0x664 SWAP1 PUSH3 0x13F1 JUMP JUMPDEST SWAP2 POP POP PUSH3 0x4E5 JUMP JUMPDEST POP POP POP POP POP JUMP JUMPDEST PUSH1 0x0 DUP2 MLOAD GT PUSH3 0x6CA JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x2B PUSH1 0x24 DUP3 ADD MSTORE PUSH1 0x0 DUP1 MLOAD PUSH1 0x20 PUSH3 0x30EC DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE PUSH1 0x44 DUP3 ADD MSTORE PUSH11 0x1858D95D081D1BC818DD5D PUSH1 0xAA SHL PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 ADD PUSH3 0x2E5 JUMP JUMPDEST PUSH1 0x0 DUP1 MLOAD PUSH1 0x20 PUSH3 0x3060 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP4 AND PUSH3 0x736 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x2C PUSH1 0x24 DUP3 ADD MSTORE PUSH1 0x0 DUP1 MLOAD PUSH1 0x20 PUSH3 0x30A8 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE PUSH1 0x44 DUP3 ADD MSTORE PUSH12 0x652061646472657373283029 PUSH1 0xA0 SHL PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 ADD PUSH3 0x2E5 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP4 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x1 DUP3 ADD PUSH1 0x20 MSTORE PUSH1 0x40 SWAP1 KECCAK256 SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0x60 SHL SUB DUP2 AND PUSH3 0x76C JUMPI PUSH3 0x76C DUP3 DUP6 PUSH3 0xC8F JUMP JUMPDEST PUSH1 0x0 JUMPDEST DUP4 MLOAD DUP2 LT ISZERO PUSH3 0x66D JUMPI PUSH1 0x0 DUP5 DUP3 DUP2 MLOAD DUP2 LT PUSH3 0x790 JUMPI PUSH3 0x790 PUSH3 0x13AF JUMP JUMPDEST PUSH1 0x20 SWAP1 DUP2 MUL SWAP2 SWAP1 SWAP2 ADD DUP2 ADD MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xE0 SHL SUB NOT DUP2 AND PUSH1 0x0 SWAP1 DUP2 MSTORE SWAP2 DUP7 SWAP1 MSTORE PUSH1 0x40 SWAP1 SWAP2 KECCAK256 SLOAD SWAP1 SWAP2 POP PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 DUP2 AND SWAP1 DUP8 AND DUP2 EQ ISZERO PUSH3 0x83E JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x38 PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x4C69624469616D6F6E644375743A2043616E2774207265706C6163652066756E PUSH1 0x44 DUP3 ADD MSTORE PUSH32 0x6374696F6E20776974682073616D652066756E6374696F6E0000000000000000 PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 ADD PUSH3 0x2E5 JUMP JUMPDEST PUSH3 0x84B DUP6 DUP3 DUP5 PUSH3 0xCFC JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xE0 SHL SUB NOT DUP3 AND PUSH1 0x0 DUP2 DUP2 MSTORE PUSH1 0x20 DUP8 DUP2 MSTORE PUSH1 0x40 DUP1 DUP4 KECCAK256 DUP1 SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 DUP2 AND PUSH1 0x1 PUSH1 0xA0 SHL PUSH1 0x1 PUSH1 0x1 PUSH1 0x60 SHL SUB DUP13 AND MUL OR DUP3 SSTORE DUP13 AND DUP1 DUP6 MSTORE PUSH1 0x1 DUP1 DUP13 ADD DUP6 MSTORE SWAP3 DUP6 KECCAK256 DUP1 SLOAD SWAP4 DUP5 ADD DUP2 SSTORE DUP6 MSTORE DUP4 DUP6 KECCAK256 PUSH1 0x8 DUP5 DIV ADD DUP1 SLOAD PUSH4 0xFFFFFFFF PUSH1 0x7 SWAP1 SWAP6 AND PUSH1 0x4 MUL PUSH2 0x100 EXP SWAP5 DUP6 MUL NOT AND PUSH1 0xE0 DUP11 SWAP1 SHR SWAP5 SWAP1 SWAP5 MUL SWAP4 SWAP1 SWAP4 OR SWAP1 SWAP3 SSTORE SWAP4 SWAP1 SWAP3 MSTORE DUP8 SWAP1 MSTORE DUP2 SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB NOT AND OR SWAP1 SSTORE DUP4 PUSH3 0x8EF DUP2 PUSH3 0x1573 JUMP JUMPDEST SWAP5 POP POP POP POP DUP1 DUP1 PUSH3 0x901 SWAP1 PUSH3 0x13F1 JUMP JUMPDEST SWAP2 POP POP PUSH3 0x76F JUMP JUMPDEST PUSH1 0x0 DUP2 MLOAD GT PUSH3 0x960 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x2B PUSH1 0x24 DUP3 ADD MSTORE PUSH1 0x0 DUP1 MLOAD PUSH1 0x20 PUSH3 0x30EC DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE PUSH1 0x44 DUP3 ADD MSTORE PUSH11 0x1858D95D081D1BC818DD5D PUSH1 0xAA SHL PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 ADD PUSH3 0x2E5 JUMP JUMPDEST PUSH1 0x0 DUP1 MLOAD PUSH1 0x20 PUSH3 0x3060 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP4 AND ISZERO PUSH3 0x9EF JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x36 PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x4C69624469616D6F6E644375743A2052656D6F76652066616365742061646472 PUSH1 0x44 DUP3 ADD MSTORE PUSH32 0x657373206D757374206265206164647265737328302900000000000000000000 PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 ADD PUSH3 0x2E5 JUMP JUMPDEST PUSH1 0x0 JUMPDEST DUP3 MLOAD DUP2 LT ISZERO PUSH3 0xA6A JUMPI PUSH1 0x0 DUP4 DUP3 DUP2 MLOAD DUP2 LT PUSH3 0xA13 JUMPI PUSH3 0xA13 PUSH3 0x13AF JUMP JUMPDEST PUSH1 0x20 SWAP1 DUP2 MUL SWAP2 SWAP1 SWAP2 ADD DUP2 ADD MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xE0 SHL SUB NOT DUP2 AND PUSH1 0x0 SWAP1 DUP2 MSTORE SWAP2 DUP6 SWAP1 MSTORE PUSH1 0x40 SWAP1 SWAP2 KECCAK256 SLOAD SWAP1 SWAP2 POP PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND PUSH3 0xA52 DUP5 DUP3 DUP5 PUSH3 0xCFC JUMP JUMPDEST POP POP DUP1 DUP1 PUSH3 0xA61 SWAP1 PUSH3 0x13F1 JUMP JUMPDEST SWAP2 POP POP PUSH3 0x9F2 JUMP JUMPDEST POP POP POP POP JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP3 AND PUSH3 0xAFA JUMPI DUP1 MLOAD ISZERO PUSH3 0xAF6 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x3C PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x4C69624469616D6F6E644375743A205F696E6974206973206164647265737328 PUSH1 0x44 DUP3 ADD MSTORE PUSH32 0x3029206275745F63616C6C64617461206973206E6F7420656D70747900000000 PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 ADD PUSH3 0x2E5 JUMP JUMPDEST POP POP JUMP JUMPDEST PUSH1 0x0 DUP2 MLOAD GT PUSH3 0xB73 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x3D PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x4C69624469616D6F6E644375743A205F63616C6C6461746120697320656D7074 PUSH1 0x44 DUP3 ADD MSTORE PUSH32 0x7920627574205F696E6974206973206E6F742061646472657373283029000000 PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 ADD PUSH3 0x2E5 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP3 AND ADDRESS EQ PUSH3 0xBA9 JUMPI PUSH3 0xBA9 DUP3 PUSH1 0x40 MLOAD DUP1 PUSH1 0x60 ADD PUSH1 0x40 MSTORE DUP1 PUSH1 0x28 DUP2 MSTORE PUSH1 0x20 ADD PUSH3 0x3080 PUSH1 0x28 SWAP2 CODECOPY PUSH3 0x10D9 JUMP JUMPDEST PUSH1 0x0 DUP1 DUP4 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND DUP4 PUSH1 0x40 MLOAD PUSH3 0xBC6 SWAP2 SWAP1 PUSH3 0x159D JUMP JUMPDEST PUSH1 0x0 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP6 GAS DELEGATECALL SWAP2 POP POP RETURNDATASIZE DUP1 PUSH1 0x0 DUP2 EQ PUSH3 0xC03 JUMPI PUSH1 0x40 MLOAD SWAP2 POP PUSH1 0x1F NOT PUSH1 0x3F RETURNDATASIZE ADD AND DUP3 ADD PUSH1 0x40 MSTORE RETURNDATASIZE DUP3 MSTORE RETURNDATASIZE PUSH1 0x0 PUSH1 0x20 DUP5 ADD RETURNDATACOPY PUSH3 0xC08 JUMP JUMPDEST PUSH1 0x60 SWAP2 POP JUMPDEST POP SWAP2 POP SWAP2 POP DUP2 PUSH3 0xA6A JUMPI DUP1 MLOAD ISZERO PUSH3 0xC37 JUMPI DUP1 PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH3 0x2E5 SWAP2 SWAP1 PUSH3 0x15BB JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x26 PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x4C69624469616D6F6E644375743A205F696E69742066756E6374696F6E207265 PUSH1 0x44 DUP3 ADD MSTORE PUSH6 0x1D995C9D1959 PUSH1 0xD2 SHL PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 ADD PUSH3 0x2E5 JUMP JUMPDEST PUSH3 0xCB4 DUP2 PUSH1 0x40 MLOAD DUP1 PUSH1 0x60 ADD PUSH1 0x40 MSTORE DUP1 PUSH1 0x24 DUP2 MSTORE PUSH1 0x20 ADD PUSH3 0x30C8 PUSH1 0x24 SWAP2 CODECOPY PUSH3 0x10D9 JUMP JUMPDEST PUSH1 0x2 DUP3 ADD DUP1 SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 SWAP3 AND PUSH1 0x0 DUP2 DUP2 MSTORE PUSH1 0x1 SWAP5 DUP6 ADD PUSH1 0x20 SWAP1 DUP2 MSTORE PUSH1 0x40 DUP3 KECCAK256 DUP7 ADD DUP6 SWAP1 SSTORE SWAP5 DUP5 ADD DUP4 SSTORE SWAP2 DUP3 MSTORE SWAP3 SWAP1 KECCAK256 ADD DUP1 SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB NOT AND SWAP1 SWAP2 OR SWAP1 SSTORE JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP3 AND PUSH3 0xD7A JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x37 PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x4C69624469616D6F6E644375743A2043616E27742072656D6F76652066756E63 PUSH1 0x44 DUP3 ADD MSTORE PUSH32 0x74696F6E207468617420646F65736E2774206578697374000000000000000000 PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 ADD PUSH3 0x2E5 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP3 AND ADDRESS EQ ISZERO PUSH3 0xDEC JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x2E PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x4C69624469616D6F6E644375743A2043616E27742072656D6F766520696D6D75 PUSH1 0x44 DUP3 ADD MSTORE PUSH14 0x3A30B1363290333AB731BA34B7B7 PUSH1 0x91 SHL PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 ADD PUSH3 0x2E5 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xE0 SHL SUB NOT DUP2 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x20 DUP5 DUP2 MSTORE PUSH1 0x40 DUP1 DUP4 KECCAK256 SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP7 AND DUP5 MSTORE PUSH1 0x1 DUP1 DUP9 ADD SWAP1 SWAP4 MSTORE SWAP1 DUP4 KECCAK256 SLOAD PUSH1 0x1 PUSH1 0xA0 SHL SWAP1 SWAP2 DIV PUSH1 0x1 PUSH1 0x1 PUSH1 0x60 SHL SUB AND SWAP3 SWAP2 PUSH3 0xE3D SWAP2 PUSH3 0x15D7 JUMP JUMPDEST SWAP1 POP DUP1 DUP3 EQ PUSH3 0xF36 JUMPI PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP5 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x1 DUP7 ADD PUSH1 0x20 MSTORE PUSH1 0x40 DUP2 KECCAK256 DUP1 SLOAD DUP4 SWAP1 DUP2 LT PUSH3 0xE76 JUMPI PUSH3 0xE76 PUSH3 0x13AF JUMP JUMPDEST PUSH1 0x0 SWAP2 DUP3 MSTORE PUSH1 0x20 DUP1 DUP4 KECCAK256 PUSH1 0x8 DUP4 DIV ADD SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP10 AND DUP5 MSTORE PUSH1 0x1 DUP11 ADD SWAP1 SWAP2 MSTORE PUSH1 0x40 SWAP1 SWAP3 KECCAK256 DUP1 SLOAD PUSH1 0x7 SWAP1 SWAP3 AND PUSH1 0x4 MUL PUSH2 0x100 EXP SWAP1 SWAP3 DIV PUSH1 0xE0 SHL SWAP3 POP DUP3 SWAP2 SWAP1 DUP6 SWAP1 DUP2 LT PUSH3 0xECA JUMPI PUSH3 0xECA PUSH3 0x13AF JUMP JUMPDEST PUSH1 0x0 SWAP2 DUP3 MSTORE PUSH1 0x20 DUP1 DUP4 KECCAK256 PUSH1 0x8 DUP4 DIV ADD DUP1 SLOAD PUSH4 0xFFFFFFFF PUSH1 0x7 SWAP1 SWAP5 AND PUSH1 0x4 MUL PUSH2 0x100 EXP SWAP4 DUP5 MUL NOT AND PUSH1 0xE0 SWAP6 SWAP1 SWAP6 SHR SWAP3 SWAP1 SWAP3 MUL SWAP4 SWAP1 SWAP4 OR SWAP1 SSTORE PUSH1 0x1 PUSH1 0x1 PUSH1 0xE0 SHL SUB NOT SWAP3 SWAP1 SWAP3 AND DUP3 MSTORE DUP7 SWAP1 MSTORE PUSH1 0x40 SWAP1 KECCAK256 DUP1 SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND PUSH1 0x1 PUSH1 0xA0 SHL PUSH1 0x1 PUSH1 0x1 PUSH1 0x60 SHL SUB DUP6 AND MUL OR SWAP1 SSTORE JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP5 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x1 DUP7 ADD PUSH1 0x20 MSTORE PUSH1 0x40 SWAP1 KECCAK256 DUP1 SLOAD DUP1 PUSH3 0xF62 JUMPI PUSH3 0xF62 PUSH3 0x15F1 JUMP JUMPDEST PUSH1 0x0 DUP3 DUP2 MSTORE PUSH1 0x20 DUP1 DUP3 KECCAK256 PUSH1 0x8 PUSH1 0x0 NOT SWAP1 SWAP5 ADD SWAP4 DUP5 DIV ADD DUP1 SLOAD PUSH4 0xFFFFFFFF PUSH1 0x4 PUSH1 0x7 DUP8 AND MUL PUSH2 0x100 EXP MUL NOT AND SWAP1 SSTORE SWAP2 SWAP1 SWAP3 SSTORE PUSH1 0x1 PUSH1 0x1 PUSH1 0xE0 SHL SUB NOT DUP6 AND DUP3 MSTORE DUP7 SWAP1 MSTORE PUSH1 0x40 DUP2 KECCAK256 SSTORE DUP1 PUSH3 0x66D JUMPI PUSH1 0x2 DUP6 ADD SLOAD PUSH1 0x0 SWAP1 PUSH3 0xFC4 SWAP1 PUSH1 0x1 SWAP1 PUSH3 0x15D7 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP7 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x1 DUP1 DUP10 ADD PUSH1 0x20 MSTORE PUSH1 0x40 SWAP1 SWAP2 KECCAK256 ADD SLOAD SWAP1 SWAP2 POP DUP1 DUP3 EQ PUSH3 0x107A JUMPI PUSH1 0x0 DUP8 PUSH1 0x2 ADD DUP4 DUP2 SLOAD DUP2 LT PUSH3 0x1007 JUMPI PUSH3 0x1007 PUSH3 0x13AF JUMP JUMPDEST PUSH1 0x0 SWAP2 DUP3 MSTORE PUSH1 0x20 SWAP1 SWAP2 KECCAK256 ADD SLOAD PUSH1 0x2 DUP10 ADD DUP1 SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 SWAP3 AND SWAP3 POP DUP3 SWAP2 DUP5 SWAP1 DUP2 LT PUSH3 0x103B JUMPI PUSH3 0x103B PUSH3 0x13AF JUMP JUMPDEST PUSH1 0x0 SWAP2 DUP3 MSTORE PUSH1 0x20 DUP1 DUP4 KECCAK256 SWAP2 SWAP1 SWAP2 ADD DUP1 SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB NOT AND PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP5 DUP6 AND OR SWAP1 SSTORE SWAP3 SWAP1 SWAP2 AND DUP2 MSTORE PUSH1 0x1 DUP10 DUP2 ADD SWAP1 SWAP3 MSTORE PUSH1 0x40 SWAP1 KECCAK256 ADD DUP2 SWAP1 SSTORE JUMPDEST DUP7 PUSH1 0x2 ADD DUP1 SLOAD DUP1 PUSH3 0x1090 JUMPI PUSH3 0x1090 PUSH3 0x15F1 JUMP JUMPDEST PUSH1 0x0 DUP3 DUP2 MSTORE PUSH1 0x20 DUP1 DUP3 KECCAK256 DUP4 ADD PUSH1 0x0 NOT SWAP1 DUP2 ADD DUP1 SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB NOT AND SWAP1 SSTORE SWAP1 SWAP3 ADD SWAP1 SWAP3 SSTORE PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP9 AND DUP3 MSTORE PUSH1 0x1 DUP10 DUP2 ADD SWAP1 SWAP2 MSTORE PUSH1 0x40 DUP3 KECCAK256 ADD SSTORE POP POP POP POP POP POP POP JUMP JUMPDEST DUP2 EXTCODESIZE DUP2 DUP2 PUSH3 0xA6A JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH3 0x2E5 SWAP2 SWAP1 PUSH3 0x15BB JUMP JUMPDEST PUSH4 0x4E487B71 PUSH1 0xE0 SHL PUSH1 0x0 MSTORE PUSH1 0x41 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST PUSH1 0x40 MLOAD PUSH1 0x60 DUP2 ADD PUSH1 0x1 PUSH1 0x1 PUSH1 0x40 SHL SUB DUP2 GT DUP3 DUP3 LT OR ISZERO PUSH3 0x1138 JUMPI PUSH3 0x1138 PUSH3 0x10FD JUMP JUMPDEST PUSH1 0x40 MSTORE SWAP1 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH1 0x1F DUP3 ADD PUSH1 0x1F NOT AND DUP2 ADD PUSH1 0x1 PUSH1 0x1 PUSH1 0x40 SHL SUB DUP2 GT DUP3 DUP3 LT OR ISZERO PUSH3 0x1169 JUMPI PUSH3 0x1169 PUSH3 0x10FD JUMP JUMPDEST PUSH1 0x40 MSTORE SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x1 PUSH1 0x1 PUSH1 0x40 SHL SUB DUP3 GT ISZERO PUSH3 0x118D JUMPI PUSH3 0x118D PUSH3 0x10FD JUMP JUMPDEST POP PUSH1 0x5 SHL PUSH1 0x20 ADD SWAP1 JUMP JUMPDEST DUP1 MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP2 AND DUP2 EQ PUSH3 0x11AF JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH3 0x11C7 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x40 MLOAD PUSH1 0x20 DUP2 ADD PUSH1 0x1 PUSH1 0x1 PUSH1 0x40 SHL SUB DUP2 GT DUP3 DUP3 LT OR ISZERO PUSH3 0x11EC JUMPI PUSH3 0x11EC PUSH3 0x10FD JUMP JUMPDEST PUSH1 0x40 MSTORE SWAP1 POP DUP1 PUSH3 0x11FD DUP4 PUSH3 0x1197 JUMP JUMPDEST SWAP1 MSTORE SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x40 DUP4 DUP6 SUB SLT ISZERO PUSH3 0x1219 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP3 MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0x40 SHL SUB DUP1 DUP3 GT ISZERO PUSH3 0x1231 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP2 DUP6 ADD SWAP2 POP DUP6 PUSH1 0x1F DUP4 ADD SLT PUSH3 0x1246 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP2 MLOAD PUSH1 0x20 PUSH3 0x125F PUSH3 0x1259 DUP4 PUSH3 0x1171 JUMP JUMPDEST PUSH3 0x113E JUMP JUMPDEST DUP3 DUP2 MSTORE PUSH1 0x5 SWAP3 SWAP1 SWAP3 SHL DUP5 ADD DUP2 ADD SWAP2 DUP2 DUP2 ADD SWAP1 DUP10 DUP5 GT ISZERO PUSH3 0x127F JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP3 DUP7 ADD JUMPDEST DUP5 DUP2 LT ISZERO PUSH3 0x138F JUMPI DUP1 MLOAD DUP7 DUP2 GT ISZERO PUSH3 0x129C JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP8 ADD PUSH1 0x60 DUP2 DUP14 SUB PUSH1 0x1F NOT ADD SLT ISZERO PUSH3 0x12B3 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH3 0x12BD PUSH3 0x1113 JUMP JUMPDEST PUSH3 0x12CA DUP7 DUP4 ADD PUSH3 0x1197 JUMP JUMPDEST DUP2 MSTORE PUSH1 0x40 DUP3 ADD MLOAD PUSH1 0x3 DUP2 LT PUSH3 0x12DF JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP2 DUP8 ADD MSTORE PUSH1 0x60 DUP3 ADD MLOAD DUP9 DUP2 GT ISZERO PUSH3 0x12F6 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP1 DUP4 ADD SWAP3 POP POP DUP13 PUSH1 0x3F DUP4 ADD SLT PUSH3 0x130C JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP6 DUP3 ADD MLOAD PUSH3 0x131F PUSH3 0x1259 DUP3 PUSH3 0x1171 JUMP JUMPDEST DUP2 DUP2 MSTORE PUSH1 0x5 SWAP2 SWAP1 SWAP2 SHL DUP4 ADD PUSH1 0x40 ADD SWAP1 DUP8 DUP2 ADD SWAP1 DUP16 DUP4 GT ISZERO PUSH3 0x1340 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x40 DUP6 ADD SWAP5 POP JUMPDEST DUP3 DUP6 LT ISZERO PUSH3 0x1379 JUMPI DUP5 MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xE0 SHL SUB NOT DUP2 AND DUP2 EQ PUSH3 0x1369 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP3 MSTORE SWAP4 DUP9 ADD SWAP4 SWAP1 DUP9 ADD SWAP1 PUSH3 0x1347 JUMP JUMPDEST PUSH1 0x40 DUP5 ADD MSTORE POP POP DUP5 MSTORE POP SWAP2 DUP4 ADD SWAP2 DUP4 ADD PUSH3 0x1283 JUMP JUMPDEST POP SWAP7 POP PUSH3 0x13A2 SWAP1 POP DUP9 DUP9 DUP4 ADD PUSH3 0x11B4 JUMP JUMPDEST SWAP5 POP POP POP POP POP SWAP3 POP SWAP3 SWAP1 POP JUMP JUMPDEST PUSH4 0x4E487B71 PUSH1 0xE0 SHL PUSH1 0x0 MSTORE PUSH1 0x32 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST PUSH4 0x4E487B71 PUSH1 0xE0 SHL PUSH1 0x0 MSTORE PUSH1 0x21 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST PUSH4 0x4E487B71 PUSH1 0xE0 SHL PUSH1 0x0 MSTORE PUSH1 0x11 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST PUSH1 0x0 PUSH1 0x0 NOT DUP3 EQ ISZERO PUSH3 0x1408 JUMPI PUSH3 0x1408 PUSH3 0x13DB JUMP JUMPDEST POP PUSH1 0x1 ADD SWAP1 JUMP JUMPDEST PUSH1 0x0 JUMPDEST DUP4 DUP2 LT ISZERO PUSH3 0x142C JUMPI DUP2 DUP2 ADD MLOAD DUP4 DUP3 ADD MSTORE PUSH1 0x20 ADD PUSH3 0x1412 JUMP JUMPDEST DUP4 DUP2 GT ISZERO PUSH3 0xA6A JUMPI POP POP PUSH1 0x0 SWAP2 ADD MSTORE JUMP JUMPDEST PUSH1 0x0 DUP2 MLOAD DUP1 DUP5 MSTORE PUSH3 0x1458 DUP2 PUSH1 0x20 DUP7 ADD PUSH1 0x20 DUP7 ADD PUSH3 0x140F JUMP JUMPDEST PUSH1 0x1F ADD PUSH1 0x1F NOT AND SWAP3 SWAP1 SWAP3 ADD PUSH1 0x20 ADD SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x60 DUP1 DUP4 ADD DUP2 DUP5 MSTORE DUP1 DUP8 MLOAD DUP1 DUP4 MSTORE PUSH1 0x80 SWAP3 POP DUP3 DUP7 ADD SWAP2 POP DUP3 DUP2 PUSH1 0x5 SHL DUP8 ADD ADD PUSH1 0x20 DUP1 DUP12 ADD PUSH1 0x0 JUMPDEST DUP5 DUP2 LT ISZERO PUSH3 0x1541 JUMPI DUP10 DUP5 SUB PUSH1 0x7F NOT ADD DUP7 MSTORE DUP2 MLOAD DUP1 MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND DUP6 MSTORE DUP4 DUP2 ADD MLOAD DUP10 DUP7 ADD SWAP1 PUSH1 0x3 DUP2 LT PUSH3 0x14DD JUMPI PUSH4 0x4E487B71 PUSH1 0xE0 SHL PUSH1 0x0 MSTORE PUSH1 0x21 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST DUP7 DUP7 ADD MSTORE PUSH1 0x40 SWAP2 DUP3 ADD MLOAD SWAP2 DUP7 ADD DUP11 SWAP1 MSTORE DUP2 MLOAD SWAP1 DUP2 SWAP1 MSTORE SWAP1 DUP5 ADD SWAP1 PUSH1 0x0 SWAP1 DUP10 DUP8 ADD SWAP1 JUMPDEST DUP1 DUP4 LT ISZERO PUSH3 0x152B JUMPI DUP4 MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xE0 SHL SUB NOT AND DUP3 MSTORE SWAP3 DUP7 ADD SWAP3 PUSH1 0x1 SWAP3 SWAP1 SWAP3 ADD SWAP2 SWAP1 DUP7 ADD SWAP1 PUSH3 0x14FF JUMP JUMPDEST POP SWAP8 DUP6 ADD SWAP8 SWAP6 POP POP POP SWAP1 DUP3 ADD SWAP1 PUSH1 0x1 ADD PUSH3 0x1495 JUMP JUMPDEST POP POP PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP11 AND SWAP1 DUP9 ADD MSTORE DUP7 DUP2 SUB PUSH1 0x40 DUP9 ADD MSTORE PUSH3 0x1565 DUP2 DUP10 PUSH3 0x143E JUMP JUMPDEST SWAP11 SWAP10 POP POP POP POP POP POP POP POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x1 PUSH1 0x1 PUSH1 0x60 SHL SUB DUP3 DUP2 AND DUP1 DUP3 EQ ISZERO PUSH3 0x1593 JUMPI PUSH3 0x1593 PUSH3 0x13DB JUMP JUMPDEST PUSH1 0x1 ADD SWAP4 SWAP3 POP POP POP JUMP JUMPDEST PUSH1 0x0 DUP3 MLOAD PUSH3 0x15B1 DUP2 DUP5 PUSH1 0x20 DUP8 ADD PUSH3 0x140F JUMP JUMPDEST SWAP2 SWAP1 SWAP2 ADD SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x20 DUP2 MSTORE PUSH1 0x0 PUSH3 0x15D0 PUSH1 0x20 DUP4 ADD DUP5 PUSH3 0x143E JUMP JUMPDEST SWAP4 SWAP3 POP POP POP JUMP JUMPDEST PUSH1 0x0 DUP3 DUP3 LT ISZERO PUSH3 0x15EC JUMPI PUSH3 0x15EC PUSH3 0x13DB JUMP JUMPDEST POP SUB SWAP1 JUMP JUMPDEST PUSH4 0x4E487B71 PUSH1 0xE0 SHL PUSH1 0x0 MSTORE PUSH1 0x31 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST PUSH2 0x1A49 DUP1 PUSH3 0x1617 PUSH1 0x0 CODECOPY PUSH1 0x0 RETURN INVALID PUSH1 0x80 PUSH1 0x40 MSTORE CALLDATASIZE PUSH2 0xB JUMPI STOP JUMPDEST PUSH1 0x0 DUP1 CALLDATALOAD PUSH32 0xFFFFFFFF00000000000000000000000000000000000000000000000000000000 AND DUP2 MSTORE PUSH32 0xC8FCAD8DB84D3CC18B4C41D551EA0EE66DD599CDE068D998E57D5E09332C131C PUSH1 0x20 DUP2 SWAP1 MSTORE PUSH1 0x40 SWAP1 SWAP2 KECCAK256 SLOAD DUP2 SWAP1 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP1 PUSH2 0xE3 JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD DUP2 SWAP1 MSTORE PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x4469616D6F6E643A2046756E6374696F6E20646F6573206E6F74206578697374 PUSH1 0x44 DUP3 ADD MSTORE PUSH1 0x64 ADD JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST CALLDATASIZE PUSH1 0x0 DUP1 CALLDATACOPY PUSH1 0x0 DUP1 CALLDATASIZE PUSH1 0x0 DUP5 GAS DELEGATECALL RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY DUP1 DUP1 ISZERO PUSH2 0x102 JUMPI RETURNDATASIZE PUSH1 0x0 RETURN JUMPDEST RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST PUSH1 0x0 JUMPDEST DUP4 MLOAD DUP2 LT ISZERO PUSH2 0x300 JUMPI PUSH1 0x0 DUP5 DUP3 DUP2 MLOAD DUP2 LT PUSH2 0x127 JUMPI PUSH2 0x127 PUSH2 0x167B JUMP JUMPDEST PUSH1 0x20 MUL PUSH1 0x20 ADD ADD MLOAD PUSH1 0x20 ADD MLOAD SWAP1 POP PUSH1 0x0 PUSH1 0x2 DUP2 GT ISZERO PUSH2 0x148 JUMPI PUSH2 0x148 PUSH2 0x16AA JUMP JUMPDEST DUP2 PUSH1 0x2 DUP2 GT ISZERO PUSH2 0x15A JUMPI PUSH2 0x15A PUSH2 0x16AA JUMP JUMPDEST EQ ISZERO PUSH2 0x1A9 JUMPI PUSH2 0x1A4 DUP6 DUP4 DUP2 MLOAD DUP2 LT PUSH2 0x175 JUMPI PUSH2 0x175 PUSH2 0x167B JUMP JUMPDEST PUSH1 0x20 MUL PUSH1 0x20 ADD ADD MLOAD PUSH1 0x0 ADD MLOAD DUP7 DUP5 DUP2 MLOAD DUP2 LT PUSH2 0x193 JUMPI PUSH2 0x193 PUSH2 0x167B JUMP JUMPDEST PUSH1 0x20 MUL PUSH1 0x20 ADD ADD MLOAD PUSH1 0x40 ADD MLOAD PUSH2 0x429 JUMP JUMPDEST PUSH2 0x2ED JUMP JUMPDEST PUSH1 0x1 DUP2 PUSH1 0x2 DUP2 GT ISZERO PUSH2 0x1BD JUMPI PUSH2 0x1BD PUSH2 0x16AA JUMP JUMPDEST EQ ISZERO PUSH2 0x207 JUMPI PUSH2 0x1A4 DUP6 DUP4 DUP2 MLOAD DUP2 LT PUSH2 0x1D8 JUMPI PUSH2 0x1D8 PUSH2 0x167B JUMP JUMPDEST PUSH1 0x20 MUL PUSH1 0x20 ADD ADD MLOAD PUSH1 0x0 ADD MLOAD DUP7 DUP5 DUP2 MLOAD DUP2 LT PUSH2 0x1F6 JUMPI PUSH2 0x1F6 PUSH2 0x167B JUMP JUMPDEST PUSH1 0x20 MUL PUSH1 0x20 ADD ADD MLOAD PUSH1 0x40 ADD MLOAD PUSH2 0x7DC JUMP JUMPDEST PUSH1 0x2 DUP2 PUSH1 0x2 DUP2 GT ISZERO PUSH2 0x21B JUMPI PUSH2 0x21B PUSH2 0x16AA JUMP JUMPDEST EQ ISZERO PUSH2 0x265 JUMPI PUSH2 0x1A4 DUP6 DUP4 DUP2 MLOAD DUP2 LT PUSH2 0x236 JUMPI PUSH2 0x236 PUSH2 0x167B JUMP JUMPDEST PUSH1 0x20 MUL PUSH1 0x20 ADD ADD MLOAD PUSH1 0x0 ADD MLOAD DUP7 DUP5 DUP2 MLOAD DUP2 LT PUSH2 0x254 JUMPI PUSH2 0x254 PUSH2 0x167B JUMP JUMPDEST PUSH1 0x20 MUL PUSH1 0x20 ADD ADD MLOAD PUSH1 0x40 ADD MLOAD PUSH2 0xB99 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x27 PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x4C69624469616D6F6E644375743A20496E636F72726563742046616365744375 PUSH1 0x44 DUP3 ADD MSTORE PUSH32 0x74416374696F6E00000000000000000000000000000000000000000000000000 PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 ADD PUSH2 0xDA JUMP JUMPDEST POP DUP1 PUSH2 0x2F8 DUP2 PUSH2 0x1708 JUMP JUMPDEST SWAP2 POP POP PUSH2 0x10A JUMP JUMPDEST POP PUSH32 0x8FAA70878671CCD212D20771B795C50AF8FD3FF6CF27F4BDE57E5D4DE0AEB673 DUP4 DUP4 DUP4 PUSH1 0x40 MLOAD PUSH2 0x334 SWAP4 SWAP3 SWAP2 SWAP1 PUSH2 0x17B7 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 LOG1 PUSH2 0x346 DUP3 DUP3 PUSH2 0xD8C JUMP JUMPDEST POP POP POP JUMP JUMPDEST PUSH32 0xC8FCAD8DB84D3CC18B4C41D551EA0EE66DD599CDE068D998E57D5E09332C1320 DUP1 SLOAD PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFF0000000000000000000000000000000000000000 DUP2 AND PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP5 DUP2 AND SWAP2 DUP3 OR SWAP1 SWAP4 SSTORE PUSH1 0x40 MLOAD PUSH32 0xC8FCAD8DB84D3CC18B4C41D551EA0EE66DD599CDE068D998E57D5E09332C131C SWAP4 SWAP1 SWAP3 AND SWAP2 DUP3 SWAP1 PUSH32 0x8BE0079C531659141344CD1FD0A4F28419497F9722A3DAAFE3B4186F6B6457E0 SWAP1 PUSH1 0x0 SWAP1 LOG3 POP POP POP JUMP JUMPDEST PUSH32 0xC8FCAD8DB84D3CC18B4C41D551EA0EE66DD599CDE068D998E57D5E09332C131C SWAP1 JUMP JUMPDEST PUSH1 0x0 DUP2 MLOAD GT PUSH2 0x4BA JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x2B PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x4C69624469616D6F6E644375743A204E6F2073656C6563746F727320696E2066 PUSH1 0x44 DUP3 ADD MSTORE PUSH32 0x6163657420746F20637574000000000000000000000000000000000000000000 PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 ADD PUSH2 0xDA JUMP JUMPDEST PUSH32 0xC8FCAD8DB84D3CC18B4C41D551EA0EE66DD599CDE068D998E57D5E09332C131C PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP4 AND PUSH2 0x57E JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x2C PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x4C69624469616D6F6E644375743A204164642066616365742063616E27742062 PUSH1 0x44 DUP3 ADD MSTORE PUSH32 0x6520616464726573732830290000000000000000000000000000000000000000 PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 ADD PUSH2 0xDA JUMP JUMPDEST PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP4 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x1 DUP3 ADD PUSH1 0x20 MSTORE PUSH1 0x40 SWAP1 KECCAK256 SLOAD PUSH12 0xFFFFFFFFFFFFFFFFFFFFFFFF DUP2 AND PUSH2 0x5C3 JUMPI PUSH2 0x5C3 DUP3 DUP6 PUSH2 0x103F JUMP JUMPDEST PUSH1 0x0 JUMPDEST DUP4 MLOAD DUP2 LT ISZERO PUSH2 0x7D5 JUMPI PUSH1 0x0 DUP5 DUP3 DUP2 MLOAD DUP2 LT PUSH2 0x5E3 JUMPI PUSH2 0x5E3 PUSH2 0x167B JUMP JUMPDEST PUSH1 0x20 SWAP1 DUP2 MUL SWAP2 SWAP1 SWAP2 ADD DUP2 ADD MLOAD PUSH32 0xFFFFFFFF00000000000000000000000000000000000000000000000000000000 DUP2 AND PUSH1 0x0 SWAP1 DUP2 MSTORE SWAP2 DUP7 SWAP1 MSTORE PUSH1 0x40 SWAP1 SWAP2 KECCAK256 SLOAD SWAP1 SWAP2 POP PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP1 ISZERO PUSH2 0x6C8 JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x35 PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x4C69624469616D6F6E644375743A2043616E2774206164642066756E6374696F PUSH1 0x44 DUP3 ADD MSTORE PUSH32 0x6E207468617420616C7265616479206578697374730000000000000000000000 PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 ADD PUSH2 0xDA JUMP JUMPDEST PUSH32 0xFFFFFFFF00000000000000000000000000000000000000000000000000000000 DUP3 AND PUSH1 0x0 DUP2 DUP2 MSTORE PUSH1 0x20 DUP8 DUP2 MSTORE PUSH1 0x40 DUP1 DUP4 KECCAK256 DUP1 SLOAD PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF SWAP1 DUP2 AND PUSH21 0x10000000000000000000000000000000000000000 PUSH12 0xFFFFFFFFFFFFFFFFFFFFFFFF DUP13 AND MUL OR DUP3 SSTORE DUP13 AND DUP1 DUP6 MSTORE PUSH1 0x1 DUP1 DUP13 ADD DUP6 MSTORE SWAP3 DUP6 KECCAK256 DUP1 SLOAD SWAP4 DUP5 ADD DUP2 SSTORE DUP6 MSTORE DUP4 DUP6 KECCAK256 PUSH1 0x8 DUP5 DIV ADD DUP1 SLOAD PUSH4 0xFFFFFFFF PUSH1 0x7 SWAP1 SWAP6 AND PUSH1 0x4 MUL PUSH2 0x100 EXP SWAP5 DUP6 MUL NOT AND PUSH1 0xE0 DUP11 SWAP1 SHR SWAP5 SWAP1 SWAP5 MUL SWAP4 SWAP1 SWAP4 OR SWAP1 SWAP3 SSTORE SWAP4 SWAP1 SWAP3 MSTORE DUP8 SWAP1 MSTORE DUP2 SLOAD PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFF0000000000000000000000000000000000000000 AND OR SWAP1 SSTORE DUP4 PUSH2 0x7BD DUP2 PUSH2 0x191F JUMP JUMPDEST SWAP5 POP POP POP POP DUP1 DUP1 PUSH2 0x7CD SWAP1 PUSH2 0x1708 JUMP JUMPDEST SWAP2 POP POP PUSH2 0x5C6 JUMP JUMPDEST POP POP POP POP POP JUMP JUMPDEST PUSH1 0x0 DUP2 MLOAD GT PUSH2 0x86D JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x2B PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x4C69624469616D6F6E644375743A204E6F2073656C6563746F727320696E2066 PUSH1 0x44 DUP3 ADD MSTORE PUSH32 0x6163657420746F20637574000000000000000000000000000000000000000000 PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 ADD PUSH2 0xDA JUMP JUMPDEST PUSH32 0xC8FCAD8DB84D3CC18B4C41D551EA0EE66DD599CDE068D998E57D5E09332C131C PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP4 AND PUSH2 0x931 JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x2C PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x4C69624469616D6F6E644375743A204164642066616365742063616E27742062 PUSH1 0x44 DUP3 ADD MSTORE PUSH32 0x6520616464726573732830290000000000000000000000000000000000000000 PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 ADD PUSH2 0xDA JUMP JUMPDEST PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP4 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x1 DUP3 ADD PUSH1 0x20 MSTORE PUSH1 0x40 SWAP1 KECCAK256 SLOAD PUSH12 0xFFFFFFFFFFFFFFFFFFFFFFFF DUP2 AND PUSH2 0x976 JUMPI PUSH2 0x976 DUP3 DUP6 PUSH2 0x103F JUMP JUMPDEST PUSH1 0x0 JUMPDEST DUP4 MLOAD DUP2 LT ISZERO PUSH2 0x7D5 JUMPI PUSH1 0x0 DUP5 DUP3 DUP2 MLOAD DUP2 LT PUSH2 0x996 JUMPI PUSH2 0x996 PUSH2 0x167B JUMP JUMPDEST PUSH1 0x20 SWAP1 DUP2 MUL SWAP2 SWAP1 SWAP2 ADD DUP2 ADD MLOAD PUSH32 0xFFFFFFFF00000000000000000000000000000000000000000000000000000000 DUP2 AND PUSH1 0x0 SWAP1 DUP2 MSTORE SWAP2 DUP7 SWAP1 MSTORE PUSH1 0x40 SWAP1 SWAP2 KECCAK256 SLOAD SWAP1 SWAP2 POP PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF SWAP1 DUP2 AND SWAP1 DUP8 AND DUP2 EQ ISZERO PUSH2 0xA81 JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x38 PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x4C69624469616D6F6E644375743A2043616E2774207265706C6163652066756E PUSH1 0x44 DUP3 ADD MSTORE PUSH32 0x6374696F6E20776974682073616D652066756E6374696F6E0000000000000000 PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 ADD PUSH2 0xDA JUMP JUMPDEST PUSH2 0xA8C DUP6 DUP3 DUP5 PUSH2 0x10CE JUMP JUMPDEST PUSH32 0xFFFFFFFF00000000000000000000000000000000000000000000000000000000 DUP3 AND PUSH1 0x0 DUP2 DUP2 MSTORE PUSH1 0x20 DUP8 DUP2 MSTORE PUSH1 0x40 DUP1 DUP4 KECCAK256 DUP1 SLOAD PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF SWAP1 DUP2 AND PUSH21 0x10000000000000000000000000000000000000000 PUSH12 0xFFFFFFFFFFFFFFFFFFFFFFFF DUP13 AND MUL OR DUP3 SSTORE DUP13 AND DUP1 DUP6 MSTORE PUSH1 0x1 DUP1 DUP13 ADD DUP6 MSTORE SWAP3 DUP6 KECCAK256 DUP1 SLOAD SWAP4 DUP5 ADD DUP2 SSTORE DUP6 MSTORE DUP4 DUP6 KECCAK256 PUSH1 0x8 DUP5 DIV ADD DUP1 SLOAD PUSH4 0xFFFFFFFF PUSH1 0x7 SWAP1 SWAP6 AND PUSH1 0x4 MUL PUSH2 0x100 EXP SWAP5 DUP6 MUL NOT AND PUSH1 0xE0 DUP11 SWAP1 SHR SWAP5 SWAP1 SWAP5 MUL SWAP4 SWAP1 SWAP4 OR SWAP1 SWAP3 SSTORE SWAP4 SWAP1 SWAP3 MSTORE DUP8 SWAP1 MSTORE DUP2 SLOAD PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFF0000000000000000000000000000000000000000 AND OR SWAP1 SSTORE DUP4 PUSH2 0xB81 DUP2 PUSH2 0x191F JUMP JUMPDEST SWAP5 POP POP POP POP DUP1 DUP1 PUSH2 0xB91 SWAP1 PUSH2 0x1708 JUMP JUMPDEST SWAP2 POP POP PUSH2 0x979 JUMP JUMPDEST PUSH1 0x0 DUP2 MLOAD GT PUSH2 0xC2A JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x2B PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x4C69624469616D6F6E644375743A204E6F2073656C6563746F727320696E2066 PUSH1 0x44 DUP3 ADD MSTORE PUSH32 0x6163657420746F20637574000000000000000000000000000000000000000000 PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 ADD PUSH2 0xDA JUMP JUMPDEST PUSH32 0xC8FCAD8DB84D3CC18B4C41D551EA0EE66DD599CDE068D998E57D5E09332C131C PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP4 AND ISZERO PUSH2 0xCEF JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x36 PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x4C69624469616D6F6E644375743A2052656D6F76652066616365742061646472 PUSH1 0x44 DUP3 ADD MSTORE PUSH32 0x657373206D757374206265206164647265737328302900000000000000000000 PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 ADD PUSH2 0xDA JUMP JUMPDEST PUSH1 0x0 JUMPDEST DUP3 MLOAD DUP2 LT ISZERO PUSH2 0xD86 JUMPI PUSH1 0x0 DUP4 DUP3 DUP2 MLOAD DUP2 LT PUSH2 0xD0F JUMPI PUSH2 0xD0F PUSH2 0x167B JUMP JUMPDEST PUSH1 0x20 SWAP1 DUP2 MUL SWAP2 SWAP1 SWAP2 ADD DUP2 ADD MLOAD PUSH32 0xFFFFFFFF00000000000000000000000000000000000000000000000000000000 DUP2 AND PUSH1 0x0 SWAP1 DUP2 MSTORE SWAP2 DUP6 SWAP1 MSTORE PUSH1 0x40 SWAP1 SWAP2 KECCAK256 SLOAD SWAP1 SWAP2 POP PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH2 0xD71 DUP5 DUP3 DUP5 PUSH2 0x10CE JUMP JUMPDEST POP POP DUP1 DUP1 PUSH2 0xD7E SWAP1 PUSH2 0x1708 JUMP JUMPDEST SWAP2 POP POP PUSH2 0xCF2 JUMP JUMPDEST POP POP POP POP JUMP JUMPDEST PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP3 AND PUSH2 0xE3A JUMPI DUP1 MLOAD ISZERO PUSH2 0xE36 JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x3C PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x4C69624469616D6F6E644375743A205F696E6974206973206164647265737328 PUSH1 0x44 DUP3 ADD MSTORE PUSH32 0x3029206275745F63616C6C64617461206973206E6F7420656D70747900000000 PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 ADD PUSH2 0xDA JUMP JUMPDEST POP POP JUMP JUMPDEST PUSH1 0x0 DUP2 MLOAD GT PUSH2 0xECB JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x3D PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x4C69624469616D6F6E644375743A205F63616C6C6461746120697320656D7074 PUSH1 0x44 DUP3 ADD MSTORE PUSH32 0x7920627574205F696E6974206973206E6F742061646472657373283029000000 PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 ADD PUSH2 0xDA JUMP JUMPDEST PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP3 AND ADDRESS EQ PUSH2 0xF0A JUMPI PUSH2 0xF0A DUP3 PUSH1 0x40 MLOAD DUP1 PUSH1 0x60 ADD PUSH1 0x40 MSTORE DUP1 PUSH1 0x28 DUP2 MSTORE PUSH1 0x20 ADD PUSH2 0x19C8 PUSH1 0x28 SWAP2 CODECOPY PUSH2 0x1640 JUMP JUMPDEST PUSH1 0x0 DUP1 DUP4 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP4 PUSH1 0x40 MLOAD PUSH2 0xF32 SWAP2 SWAP1 PUSH2 0x194B JUMP JUMPDEST PUSH1 0x0 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP6 GAS DELEGATECALL SWAP2 POP POP RETURNDATASIZE DUP1 PUSH1 0x0 DUP2 EQ PUSH2 0xF6D JUMPI PUSH1 0x40 MLOAD SWAP2 POP PUSH1 0x1F NOT PUSH1 0x3F RETURNDATASIZE ADD AND DUP3 ADD PUSH1 0x40 MSTORE RETURNDATASIZE DUP3 MSTORE RETURNDATASIZE PUSH1 0x0 PUSH1 0x20 DUP5 ADD RETURNDATACOPY PUSH2 0xF72 JUMP JUMPDEST PUSH1 0x60 SWAP2 POP JUMPDEST POP SWAP2 POP SWAP2 POP DUP2 PUSH2 0xD86 JUMPI DUP1 MLOAD ISZERO PUSH2 0xFB7 JUMPI DUP1 PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0xDA SWAP2 SWAP1 PUSH2 0x1967 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x26 PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x4C69624469616D6F6E644375743A205F696E69742066756E6374696F6E207265 PUSH1 0x44 DUP3 ADD MSTORE PUSH32 0x7665727465640000000000000000000000000000000000000000000000000000 PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 ADD PUSH2 0xDA JUMP JUMPDEST PUSH2 0x1061 DUP2 PUSH1 0x40 MLOAD DUP1 PUSH1 0x60 ADD PUSH1 0x40 MSTORE DUP1 PUSH1 0x24 DUP2 MSTORE PUSH1 0x20 ADD PUSH2 0x19F0 PUSH1 0x24 SWAP2 CODECOPY PUSH2 0x1640 JUMP JUMPDEST PUSH1 0x2 DUP3 ADD DUP1 SLOAD PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF SWAP1 SWAP3 AND PUSH1 0x0 DUP2 DUP2 MSTORE PUSH1 0x1 SWAP5 DUP6 ADD PUSH1 0x20 SWAP1 DUP2 MSTORE PUSH1 0x40 DUP3 KECCAK256 DUP7 ADD DUP6 SWAP1 SSTORE SWAP5 DUP5 ADD DUP4 SSTORE SWAP2 DUP3 MSTORE SWAP3 SWAP1 KECCAK256 ADD DUP1 SLOAD PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFF0000000000000000000000000000000000000000 AND SWAP1 SWAP2 OR SWAP1 SSTORE JUMP JUMPDEST PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP3 AND PUSH2 0x1171 JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x37 PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x4C69624469616D6F6E644375743A2043616E27742072656D6F76652066756E63 PUSH1 0x44 DUP3 ADD MSTORE PUSH32 0x74696F6E207468617420646F65736E2774206578697374000000000000000000 PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 ADD PUSH2 0xDA JUMP JUMPDEST PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP3 AND ADDRESS EQ ISZERO PUSH2 0x1217 JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x2E PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x4C69624469616D6F6E644375743A2043616E27742072656D6F766520696D6D75 PUSH1 0x44 DUP3 ADD MSTORE PUSH32 0x7461626C652066756E6374696F6E000000000000000000000000000000000000 PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 ADD PUSH2 0xDA JUMP JUMPDEST PUSH32 0xFFFFFFFF00000000000000000000000000000000000000000000000000000000 DUP2 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x20 DUP5 DUP2 MSTORE PUSH1 0x40 DUP1 DUP4 KECCAK256 SLOAD PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP7 AND DUP5 MSTORE PUSH1 0x1 DUP1 DUP9 ADD SWAP1 SWAP4 MSTORE SWAP1 DUP4 KECCAK256 SLOAD PUSH21 0x10000000000000000000000000000000000000000 SWAP1 SWAP2 DIV PUSH12 0xFFFFFFFFFFFFFFFFFFFFFFFF AND SWAP3 SWAP2 PUSH2 0x12A1 SWAP2 PUSH2 0x1981 JUMP JUMPDEST SWAP1 POP DUP1 DUP3 EQ PUSH2 0x13E8 JUMPI PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP5 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x1 DUP7 ADD PUSH1 0x20 MSTORE PUSH1 0x40 DUP2 KECCAK256 DUP1 SLOAD DUP4 SWAP1 DUP2 LT PUSH2 0x12E3 JUMPI PUSH2 0x12E3 PUSH2 0x167B JUMP JUMPDEST PUSH1 0x0 SWAP2 DUP3 MSTORE PUSH1 0x20 DUP1 DUP4 KECCAK256 PUSH1 0x8 DUP4 DIV ADD SLOAD PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP10 AND DUP5 MSTORE PUSH1 0x1 DUP11 ADD SWAP1 SWAP2 MSTORE PUSH1 0x40 SWAP1 SWAP3 KECCAK256 DUP1 SLOAD PUSH1 0x7 SWAP1 SWAP3 AND PUSH1 0x4 MUL PUSH2 0x100 EXP SWAP1 SWAP3 DIV PUSH1 0xE0 SHL SWAP3 POP DUP3 SWAP2 SWAP1 DUP6 SWAP1 DUP2 LT PUSH2 0x1341 JUMPI PUSH2 0x1341 PUSH2 0x167B JUMP JUMPDEST PUSH1 0x0 SWAP2 DUP3 MSTORE PUSH1 0x20 DUP1 DUP4 KECCAK256 PUSH1 0x8 DUP4 DIV ADD DUP1 SLOAD PUSH4 0xFFFFFFFF PUSH1 0x7 SWAP1 SWAP5 AND PUSH1 0x4 MUL PUSH2 0x100 EXP SWAP4 DUP5 MUL NOT AND PUSH1 0xE0 SWAP6 SWAP1 SWAP6 SHR SWAP3 SWAP1 SWAP3 MUL SWAP4 SWAP1 SWAP4 OR SWAP1 SSTORE PUSH32 0xFFFFFFFF00000000000000000000000000000000000000000000000000000000 SWAP3 SWAP1 SWAP3 AND DUP3 MSTORE DUP7 SWAP1 MSTORE PUSH1 0x40 SWAP1 KECCAK256 DUP1 SLOAD PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH21 0x10000000000000000000000000000000000000000 PUSH12 0xFFFFFFFFFFFFFFFFFFFFFFFF DUP6 AND MUL OR SWAP1 SSTORE JUMPDEST PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP5 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x1 DUP7 ADD PUSH1 0x20 MSTORE PUSH1 0x40 SWAP1 KECCAK256 DUP1 SLOAD DUP1 PUSH2 0x141E JUMPI PUSH2 0x141E PUSH2 0x1998 JUMP JUMPDEST PUSH1 0x0 DUP3 DUP2 MSTORE PUSH1 0x20 DUP1 DUP3 KECCAK256 PUSH1 0x8 PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF SWAP1 SWAP5 ADD SWAP4 DUP5 DIV ADD DUP1 SLOAD PUSH4 0xFFFFFFFF PUSH1 0x4 PUSH1 0x7 DUP8 AND MUL PUSH2 0x100 EXP MUL NOT AND SWAP1 SSTORE SWAP2 SWAP1 SWAP3 SSTORE PUSH32 0xFFFFFFFF00000000000000000000000000000000000000000000000000000000 DUP6 AND DUP3 MSTORE DUP7 SWAP1 MSTORE PUSH1 0x40 DUP2 KECCAK256 SSTORE DUP1 PUSH2 0x7D5 JUMPI PUSH1 0x2 DUP6 ADD SLOAD PUSH1 0x0 SWAP1 PUSH2 0x14B3 SWAP1 PUSH1 0x1 SWAP1 PUSH2 0x1981 JUMP JUMPDEST PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP7 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x1 DUP1 DUP10 ADD PUSH1 0x20 MSTORE PUSH1 0x40 SWAP1 SWAP2 KECCAK256 ADD SLOAD SWAP1 SWAP2 POP DUP1 DUP3 EQ PUSH2 0x15A1 JUMPI PUSH1 0x0 DUP8 PUSH1 0x2 ADD DUP4 DUP2 SLOAD DUP2 LT PUSH2 0x14FF JUMPI PUSH2 0x14FF PUSH2 0x167B JUMP JUMPDEST PUSH1 0x0 SWAP2 DUP3 MSTORE PUSH1 0x20 SWAP1 SWAP2 KECCAK256 ADD SLOAD PUSH1 0x2 DUP10 ADD DUP1 SLOAD PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF SWAP1 SWAP3 AND SWAP3 POP DUP3 SWAP2 DUP5 SWAP1 DUP2 LT PUSH2 0x153D JUMPI PUSH2 0x153D PUSH2 0x167B JUMP JUMPDEST PUSH1 0x0 SWAP2 DUP3 MSTORE PUSH1 0x20 DUP1 DUP4 KECCAK256 SWAP2 SWAP1 SWAP2 ADD DUP1 SLOAD PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFF0000000000000000000000000000000000000000 AND PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF SWAP5 DUP6 AND OR SWAP1 SSTORE SWAP3 SWAP1 SWAP2 AND DUP2 MSTORE PUSH1 0x1 DUP10 DUP2 ADD SWAP1 SWAP3 MSTORE PUSH1 0x40 SWAP1 KECCAK256 ADD DUP2 SWAP1 SSTORE JUMPDEST DUP7 PUSH1 0x2 ADD DUP1 SLOAD DUP1 PUSH2 0x15B4 JUMPI PUSH2 0x15B4 PUSH2 0x1998 JUMP JUMPDEST PUSH1 0x0 DUP3 DUP2 MSTORE PUSH1 0x20 DUP1 DUP3 KECCAK256 DUP4 ADD PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF SWAP1 DUP2 ADD DUP1 SLOAD PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFF0000000000000000000000000000000000000000 AND SWAP1 SSTORE SWAP1 SWAP3 ADD SWAP1 SWAP3 SSTORE PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP9 AND DUP3 MSTORE PUSH1 0x1 DUP10 DUP2 ADD SWAP1 SWAP2 MSTORE PUSH1 0x40 DUP3 KECCAK256 ADD SSTORE POP POP POP POP POP POP POP JUMP JUMPDEST DUP2 EXTCODESIZE DUP2 DUP2 PUSH2 0xD86 JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0xDA SWAP2 SWAP1 PUSH2 0x1967 JUMP JUMPDEST PUSH32 0x4E487B7100000000000000000000000000000000000000000000000000000000 PUSH1 0x0 MSTORE PUSH1 0x32 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST PUSH32 0x4E487B7100000000000000000000000000000000000000000000000000000000 PUSH1 0x0 MSTORE PUSH1 0x21 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST PUSH32 0x4E487B7100000000000000000000000000000000000000000000000000000000 PUSH1 0x0 MSTORE PUSH1 0x11 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST PUSH1 0x0 PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP3 EQ ISZERO PUSH2 0x173A JUMPI PUSH2 0x173A PUSH2 0x16D9 JUMP JUMPDEST POP PUSH1 0x1 ADD SWAP1 JUMP JUMPDEST PUSH1 0x0 JUMPDEST DUP4 DUP2 LT ISZERO PUSH2 0x175C JUMPI DUP2 DUP2 ADD MLOAD DUP4 DUP3 ADD MSTORE PUSH1 0x20 ADD PUSH2 0x1744 JUMP JUMPDEST DUP4 DUP2 GT ISZERO PUSH2 0xD86 JUMPI POP POP PUSH1 0x0 SWAP2 ADD MSTORE JUMP JUMPDEST PUSH1 0x0 DUP2 MLOAD DUP1 DUP5 MSTORE PUSH2 0x1785 DUP2 PUSH1 0x20 DUP7 ADD PUSH1 0x20 DUP7 ADD PUSH2 0x1741 JUMP JUMPDEST PUSH1 0x1F ADD PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFE0 AND SWAP3 SWAP1 SWAP3 ADD PUSH1 0x20 ADD SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x60 DUP1 DUP4 ADD DUP2 DUP5 MSTORE DUP1 DUP8 MLOAD DUP1 DUP4 MSTORE PUSH1 0x80 SWAP3 POP DUP3 DUP7 ADD SWAP2 POP DUP3 DUP2 PUSH1 0x5 SHL DUP8 ADD ADD PUSH1 0x20 DUP1 DUP12 ADD PUSH1 0x0 JUMPDEST DUP5 DUP2 LT ISZERO PUSH2 0x18E2 JUMPI PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF80 DUP11 DUP6 SUB ADD DUP7 MSTORE DUP2 MLOAD DUP9 DUP6 ADD PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP3 MLOAD AND DUP7 MSTORE DUP5 DUP3 ADD MLOAD PUSH1 0x3 DUP2 LT PUSH2 0x1869 JUMPI PUSH32 0x4E487B7100000000000000000000000000000000000000000000000000000000 PUSH1 0x0 MSTORE PUSH1 0x21 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST DUP7 DUP7 ADD MSTORE PUSH1 0x40 SWAP2 DUP3 ADD MLOAD SWAP2 DUP7 ADD DUP11 SWAP1 MSTORE DUP2 MLOAD SWAP1 DUP2 SWAP1 MSTORE SWAP1 DUP5 ADD SWAP1 PUSH1 0x0 SWAP1 DUP10 DUP8 ADD SWAP1 JUMPDEST DUP1 DUP4 LT ISZERO PUSH2 0x18CD JUMPI DUP4 MLOAD PUSH32 0xFFFFFFFF00000000000000000000000000000000000000000000000000000000 AND DUP3 MSTORE SWAP3 DUP7 ADD SWAP3 PUSH1 0x1 SWAP3 SWAP1 SWAP3 ADD SWAP2 SWAP1 DUP7 ADD SWAP1 PUSH2 0x188B JUMP JUMPDEST POP SWAP8 DUP6 ADD SWAP8 SWAP6 POP POP POP SWAP1 DUP3 ADD SWAP1 PUSH1 0x1 ADD PUSH2 0x17E0 JUMP JUMPDEST POP POP PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP11 AND SWAP1 DUP9 ADD MSTORE DUP7 DUP2 SUB PUSH1 0x40 DUP9 ADD MSTORE PUSH2 0x1911 DUP2 DUP10 PUSH2 0x176D JUMP JUMPDEST SWAP11 SWAP10 POP POP POP POP POP POP POP POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH12 0xFFFFFFFFFFFFFFFFFFFFFFFF DUP1 DUP4 AND DUP2 DUP2 EQ ISZERO PUSH2 0x1941 JUMPI PUSH2 0x1941 PUSH2 0x16D9 JUMP JUMPDEST PUSH1 0x1 ADD SWAP4 SWAP3 POP POP POP JUMP JUMPDEST PUSH1 0x0 DUP3 MLOAD PUSH2 0x195D DUP2 DUP5 PUSH1 0x20 DUP8 ADD PUSH2 0x1741 JUMP JUMPDEST SWAP2 SWAP1 SWAP2 ADD SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x20 DUP2 MSTORE PUSH1 0x0 PUSH2 0x197A PUSH1 0x20 DUP4 ADD DUP5 PUSH2 0x176D JUMP JUMPDEST SWAP4 SWAP3 POP POP POP JUMP JUMPDEST PUSH1 0x0 DUP3 DUP3 LT ISZERO PUSH2 0x1993 JUMPI PUSH2 0x1993 PUSH2 0x16D9 JUMP JUMPDEST POP SUB SWAP1 JUMP JUMPDEST PUSH32 0x4E487B7100000000000000000000000000000000000000000000000000000000 PUSH1 0x0 MSTORE PUSH1 0x31 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT INVALID 0x4C PUSH10 0x624469616D6F6E644375 PUSH21 0x3A205F696E6974206164647265737320686173206E PUSH16 0x20636F64654C69624469616D6F6E6443 PUSH22 0x743A204E657720666163657420686173206E6F20636F PUSH5 0x65A2646970 PUSH7 0x7358221220A164 CREATE2 0xC0 0xA5 0xFB CODESIZE DUP4 PUSH16 0x80DB7C0D13BA057B758BB3BDF1D37D32 CREATE SWAP8 0xAD DUP10 DUP9 0x27 PUSH13 0x64736F6C63430008090033C8FC 0xAD DUP14 0xB8 0x4D EXTCODECOPY 0xC1 DUP12 0x4C COINBASE 0xD5 MLOAD 0xEA 0xE 0xE6 PUSH14 0xD599CDE068D998E57D5E09332C13 SHR 0x4C PUSH10 0x624469616D6F6E644375 PUSH21 0x3A205F696E6974206164647265737320686173206E PUSH16 0x20636F64654C69624469616D6F6E6443 PUSH22 0x743A204164642066616365742063616E277420624C69 PUSH3 0x446961 PUSH14 0x6F6E644375743A204E6577206661 PUSH4 0x65742068 PUSH2 0x7320 PUSH15 0x6F20636F64654C69624469616D6F6E PUSH5 0x4375743A20 0x4E PUSH16 0x2073656C6563746F727320696E2066A2 PUSH5 0x6970667358 0x22 SLT KECCAK256 0xD1 PUSH9 0xB12DEB9403843A8384 EXTCODECOPY 0xBF CALLDATALOAD JUMPI 0xF 0xBA 0x2E NUMBER 0xD6 SHR 0xC7 JUMPDEST CALL 0xC1 DUP15 0xCC 0xC4 0xE3 DUP14 0xED JUMPDEST PUSH5 0x736F6C6343 STOP ADDMOD MULMOD STOP CALLER PUSH1 0x80 PUSH1 0x40 MSTORE CALLVALUE DUP1 ISZERO PUSH2 0x10 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH2 0x1D16 DUP1 PUSH2 0x20 PUSH1 0x0 CODECOPY PUSH1 0x0 RETURN INVALID PUSH1 0x80 PUSH1 0x40 MSTORE CALLVALUE DUP1 ISZERO PUSH2 0x10 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH1 0x4 CALLDATASIZE LT PUSH2 0x2B JUMPI PUSH1 0x0 CALLDATALOAD PUSH1 0xE0 SHR DUP1 PUSH4 0x1F931C1C EQ PUSH2 0x30 JUMPI JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x43 PUSH2 0x3E CALLDATASIZE PUSH1 0x4 PUSH2 0x166F JUMP JUMPDEST PUSH2 0x45 JUMP JUMPDEST STOP JUMPDEST PUSH2 0x4D PUSH2 0x9E JUMP JUMPDEST PUSH2 0x97 PUSH2 0x5A DUP6 DUP8 PUSH2 0x17EC JUMP JUMPDEST DUP5 DUP5 DUP5 DUP1 DUP1 PUSH1 0x1F ADD PUSH1 0x20 DUP1 SWAP2 DIV MUL PUSH1 0x20 ADD PUSH1 0x40 MLOAD SWAP1 DUP2 ADD PUSH1 0x40 MSTORE DUP1 SWAP4 SWAP3 SWAP2 SWAP1 DUP2 DUP2 MSTORE PUSH1 0x20 ADD DUP4 DUP4 DUP1 DUP3 DUP5 CALLDATACOPY PUSH1 0x0 SWAP3 ADD SWAP2 SWAP1 SWAP2 MSTORE POP PUSH2 0x16E SWAP3 POP POP POP JUMP JUMPDEST POP POP POP POP POP JUMP JUMPDEST PUSH32 0xC8FCAD8DB84D3CC18B4C41D551EA0EE66DD599CDE068D998E57D5E09332C131C PUSH1 0x4 ADD SLOAD PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND CALLER EQ PUSH2 0x16C JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x22 PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x4C69624469616D6F6E643A204D75737420626520636F6E7472616374206F776E PUSH1 0x44 DUP3 ADD MSTORE PUSH32 0x6572000000000000000000000000000000000000000000000000000000000000 PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 ADD JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST JUMP JUMPDEST PUSH1 0x0 JUMPDEST DUP4 MLOAD DUP2 LT ISZERO PUSH2 0x367 JUMPI PUSH1 0x0 DUP5 DUP3 DUP2 MLOAD DUP2 LT PUSH2 0x18E JUMPI PUSH2 0x18E PUSH2 0x1948 JUMP JUMPDEST PUSH1 0x20 MUL PUSH1 0x20 ADD ADD MLOAD PUSH1 0x20 ADD MLOAD SWAP1 POP PUSH1 0x0 PUSH1 0x2 DUP2 GT ISZERO PUSH2 0x1AF JUMPI PUSH2 0x1AF PUSH2 0x1977 JUMP JUMPDEST DUP2 PUSH1 0x2 DUP2 GT ISZERO PUSH2 0x1C1 JUMPI PUSH2 0x1C1 PUSH2 0x1977 JUMP JUMPDEST EQ ISZERO PUSH2 0x210 JUMPI PUSH2 0x20B DUP6 DUP4 DUP2 MLOAD DUP2 LT PUSH2 0x1DC JUMPI PUSH2 0x1DC PUSH2 0x1948 JUMP JUMPDEST PUSH1 0x20 MUL PUSH1 0x20 ADD ADD MLOAD PUSH1 0x0 ADD MLOAD DUP7 DUP5 DUP2 MLOAD DUP2 LT PUSH2 0x1FA JUMPI PUSH2 0x1FA PUSH2 0x1948 JUMP JUMPDEST PUSH1 0x20 MUL PUSH1 0x20 ADD ADD MLOAD PUSH1 0x40 ADD MLOAD PUSH2 0x3B2 JUMP JUMPDEST PUSH2 0x354 JUMP JUMPDEST PUSH1 0x1 DUP2 PUSH1 0x2 DUP2 GT ISZERO PUSH2 0x224 JUMPI PUSH2 0x224 PUSH2 0x1977 JUMP JUMPDEST EQ ISZERO PUSH2 0x26E JUMPI PUSH2 0x20B DUP6 DUP4 DUP2 MLOAD DUP2 LT PUSH2 0x23F JUMPI PUSH2 0x23F PUSH2 0x1948 JUMP JUMPDEST PUSH1 0x20 MUL PUSH1 0x20 ADD ADD MLOAD PUSH1 0x0 ADD MLOAD DUP7 DUP5 DUP2 MLOAD DUP2 LT PUSH2 0x25D JUMPI PUSH2 0x25D PUSH2 0x1948 JUMP JUMPDEST PUSH1 0x20 MUL PUSH1 0x20 ADD ADD MLOAD PUSH1 0x40 ADD MLOAD PUSH2 0x75E JUMP JUMPDEST PUSH1 0x2 DUP2 PUSH1 0x2 DUP2 GT ISZERO PUSH2 0x282 JUMPI PUSH2 0x282 PUSH2 0x1977 JUMP JUMPDEST EQ ISZERO PUSH2 0x2CC JUMPI PUSH2 0x20B DUP6 DUP4 DUP2 MLOAD DUP2 LT PUSH2 0x29D JUMPI PUSH2 0x29D PUSH2 0x1948 JUMP JUMPDEST PUSH1 0x20 MUL PUSH1 0x20 ADD ADD MLOAD PUSH1 0x0 ADD MLOAD DUP7 DUP5 DUP2 MLOAD DUP2 LT PUSH2 0x2BB JUMPI PUSH2 0x2BB PUSH2 0x1948 JUMP JUMPDEST PUSH1 0x20 MUL PUSH1 0x20 ADD ADD MLOAD PUSH1 0x40 ADD MLOAD PUSH2 0xB1B JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x27 PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x4C69624469616D6F6E644375743A20496E636F72726563742046616365744375 PUSH1 0x44 DUP3 ADD MSTORE PUSH32 0x74416374696F6E00000000000000000000000000000000000000000000000000 PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 ADD PUSH2 0x163 JUMP JUMPDEST POP DUP1 PUSH2 0x35F DUP2 PUSH2 0x19D5 JUMP JUMPDEST SWAP2 POP POP PUSH2 0x171 JUMP JUMPDEST POP PUSH32 0x8FAA70878671CCD212D20771B795C50AF8FD3FF6CF27F4BDE57E5D4DE0AEB673 DUP4 DUP4 DUP4 PUSH1 0x40 MLOAD PUSH2 0x39B SWAP4 SWAP3 SWAP2 SWAP1 PUSH2 0x1A84 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 LOG1 PUSH2 0x3AD DUP3 DUP3 PUSH2 0xD0E JUMP JUMPDEST POP POP POP JUMP JUMPDEST PUSH1 0x0 DUP2 MLOAD GT PUSH2 0x443 JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x2B PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x4C69624469616D6F6E644375743A204E6F2073656C6563746F727320696E2066 PUSH1 0x44 DUP3 ADD MSTORE PUSH32 0x6163657420746F20637574000000000000000000000000000000000000000000 PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 ADD PUSH2 0x163 JUMP JUMPDEST PUSH32 0xC8FCAD8DB84D3CC18B4C41D551EA0EE66DD599CDE068D998E57D5E09332C131C PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP4 AND PUSH2 0x507 JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x2C PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x4C69624469616D6F6E644375743A204164642066616365742063616E27742062 PUSH1 0x44 DUP3 ADD MSTORE PUSH32 0x6520616464726573732830290000000000000000000000000000000000000000 PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 ADD PUSH2 0x163 JUMP JUMPDEST PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP4 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x1 DUP3 ADD PUSH1 0x20 MSTORE PUSH1 0x40 SWAP1 KECCAK256 SLOAD PUSH12 0xFFFFFFFFFFFFFFFFFFFFFFFF DUP2 AND PUSH2 0x54C JUMPI PUSH2 0x54C DUP3 DUP6 PUSH2 0xFC1 JUMP JUMPDEST PUSH1 0x0 JUMPDEST DUP4 MLOAD DUP2 LT ISZERO PUSH2 0x97 JUMPI PUSH1 0x0 DUP5 DUP3 DUP2 MLOAD DUP2 LT PUSH2 0x56C JUMPI PUSH2 0x56C PUSH2 0x1948 JUMP JUMPDEST PUSH1 0x20 SWAP1 DUP2 MUL SWAP2 SWAP1 SWAP2 ADD DUP2 ADD MLOAD PUSH32 0xFFFFFFFF00000000000000000000000000000000000000000000000000000000 DUP2 AND PUSH1 0x0 SWAP1 DUP2 MSTORE SWAP2 DUP7 SWAP1 MSTORE PUSH1 0x40 SWAP1 SWAP2 KECCAK256 SLOAD SWAP1 SWAP2 POP PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP1 ISZERO PUSH2 0x651 JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x35 PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x4C69624469616D6F6E644375743A2043616E2774206164642066756E6374696F PUSH1 0x44 DUP3 ADD MSTORE PUSH32 0x6E207468617420616C7265616479206578697374730000000000000000000000 PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 ADD PUSH2 0x163 JUMP JUMPDEST PUSH32 0xFFFFFFFF00000000000000000000000000000000000000000000000000000000 DUP3 AND PUSH1 0x0 DUP2 DUP2 MSTORE PUSH1 0x20 DUP8 DUP2 MSTORE PUSH1 0x40 DUP1 DUP4 KECCAK256 DUP1 SLOAD PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF SWAP1 DUP2 AND PUSH21 0x10000000000000000000000000000000000000000 PUSH12 0xFFFFFFFFFFFFFFFFFFFFFFFF DUP13 AND MUL OR DUP3 SSTORE DUP13 AND DUP1 DUP6 MSTORE PUSH1 0x1 DUP1 DUP13 ADD DUP6 MSTORE SWAP3 DUP6 KECCAK256 DUP1 SLOAD SWAP4 DUP5 ADD DUP2 SSTORE DUP6 MSTORE DUP4 DUP6 KECCAK256 PUSH1 0x8 DUP5 DIV ADD DUP1 SLOAD PUSH4 0xFFFFFFFF PUSH1 0x7 SWAP1 SWAP6 AND PUSH1 0x4 MUL PUSH2 0x100 EXP SWAP5 DUP6 MUL NOT AND PUSH1 0xE0 DUP11 SWAP1 SHR SWAP5 SWAP1 SWAP5 MUL SWAP4 SWAP1 SWAP4 OR SWAP1 SWAP3 SSTORE SWAP4 SWAP1 SWAP3 MSTORE DUP8 SWAP1 MSTORE DUP2 SLOAD PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFF0000000000000000000000000000000000000000 AND OR SWAP1 SSTORE DUP4 PUSH2 0x746 DUP2 PUSH2 0x1BEC JUMP JUMPDEST SWAP5 POP POP POP POP DUP1 DUP1 PUSH2 0x756 SWAP1 PUSH2 0x19D5 JUMP JUMPDEST SWAP2 POP POP PUSH2 0x54F JUMP JUMPDEST PUSH1 0x0 DUP2 MLOAD GT PUSH2 0x7EF JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x2B PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x4C69624469616D6F6E644375743A204E6F2073656C6563746F727320696E2066 PUSH1 0x44 DUP3 ADD MSTORE PUSH32 0x6163657420746F20637574000000000000000000000000000000000000000000 PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 ADD PUSH2 0x163 JUMP JUMPDEST PUSH32 0xC8FCAD8DB84D3CC18B4C41D551EA0EE66DD599CDE068D998E57D5E09332C131C PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP4 AND PUSH2 0x8B3 JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x2C PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x4C69624469616D6F6E644375743A204164642066616365742063616E27742062 PUSH1 0x44 DUP3 ADD MSTORE PUSH32 0x6520616464726573732830290000000000000000000000000000000000000000 PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 ADD PUSH2 0x163 JUMP JUMPDEST PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP4 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x1 DUP3 ADD PUSH1 0x20 MSTORE PUSH1 0x40 SWAP1 KECCAK256 SLOAD PUSH12 0xFFFFFFFFFFFFFFFFFFFFFFFF DUP2 AND PUSH2 0x8F8 JUMPI PUSH2 0x8F8 DUP3 DUP6 PUSH2 0xFC1 JUMP JUMPDEST PUSH1 0x0 JUMPDEST DUP4 MLOAD DUP2 LT ISZERO PUSH2 0x97 JUMPI PUSH1 0x0 DUP5 DUP3 DUP2 MLOAD DUP2 LT PUSH2 0x918 JUMPI PUSH2 0x918 PUSH2 0x1948 JUMP JUMPDEST PUSH1 0x20 SWAP1 DUP2 MUL SWAP2 SWAP1 SWAP2 ADD DUP2 ADD MLOAD PUSH32 0xFFFFFFFF00000000000000000000000000000000000000000000000000000000 DUP2 AND PUSH1 0x0 SWAP1 DUP2 MSTORE SWAP2 DUP7 SWAP1 MSTORE PUSH1 0x40 SWAP1 SWAP2 KECCAK256 SLOAD SWAP1 SWAP2 POP PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF SWAP1 DUP2 AND SWAP1 DUP8 AND DUP2 EQ ISZERO PUSH2 0xA03 JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x38 PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x4C69624469616D6F6E644375743A2043616E2774207265706C6163652066756E PUSH1 0x44 DUP3 ADD MSTORE PUSH32 0x6374696F6E20776974682073616D652066756E6374696F6E0000000000000000 PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 ADD PUSH2 0x163 JUMP JUMPDEST PUSH2 0xA0E DUP6 DUP3 DUP5 PUSH2 0x1050 JUMP JUMPDEST PUSH32 0xFFFFFFFF00000000000000000000000000000000000000000000000000000000 DUP3 AND PUSH1 0x0 DUP2 DUP2 MSTORE PUSH1 0x20 DUP8 DUP2 MSTORE PUSH1 0x40 DUP1 DUP4 KECCAK256 DUP1 SLOAD PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF SWAP1 DUP2 AND PUSH21 0x10000000000000000000000000000000000000000 PUSH12 0xFFFFFFFFFFFFFFFFFFFFFFFF DUP13 AND MUL OR DUP3 SSTORE DUP13 AND DUP1 DUP6 MSTORE PUSH1 0x1 DUP1 DUP13 ADD DUP6 MSTORE SWAP3 DUP6 KECCAK256 DUP1 SLOAD SWAP4 DUP5 ADD DUP2 SSTORE DUP6 MSTORE DUP4 DUP6 KECCAK256 PUSH1 0x8 DUP5 DIV ADD DUP1 SLOAD PUSH4 0xFFFFFFFF PUSH1 0x7 SWAP1 SWAP6 AND PUSH1 0x4 MUL PUSH2 0x100 EXP SWAP5 DUP6 MUL NOT AND PUSH1 0xE0 DUP11 SWAP1 SHR SWAP5 SWAP1 SWAP5 MUL SWAP4 SWAP1 SWAP4 OR SWAP1 SWAP3 SSTORE SWAP4 SWAP1 SWAP3 MSTORE DUP8 SWAP1 MSTORE DUP2 SLOAD PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFF0000000000000000000000000000000000000000 AND OR SWAP1 SSTORE DUP4 PUSH2 0xB03 DUP2 PUSH2 0x1BEC JUMP JUMPDEST SWAP5 POP POP POP POP DUP1 DUP1 PUSH2 0xB13 SWAP1 PUSH2 0x19D5 JUMP JUMPDEST SWAP2 POP POP PUSH2 0x8FB JUMP JUMPDEST PUSH1 0x0 DUP2 MLOAD GT PUSH2 0xBAC JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x2B PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x4C69624469616D6F6E644375743A204E6F2073656C6563746F727320696E2066 PUSH1 0x44 DUP3 ADD MSTORE PUSH32 0x6163657420746F20637574000000000000000000000000000000000000000000 PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 ADD PUSH2 0x163 JUMP JUMPDEST PUSH32 0xC8FCAD8DB84D3CC18B4C41D551EA0EE66DD599CDE068D998E57D5E09332C131C PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP4 AND ISZERO PUSH2 0xC71 JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x36 PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x4C69624469616D6F6E644375743A2052656D6F76652066616365742061646472 PUSH1 0x44 DUP3 ADD MSTORE PUSH32 0x657373206D757374206265206164647265737328302900000000000000000000 PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 ADD PUSH2 0x163 JUMP JUMPDEST PUSH1 0x0 JUMPDEST DUP3 MLOAD DUP2 LT ISZERO PUSH2 0xD08 JUMPI PUSH1 0x0 DUP4 DUP3 DUP2 MLOAD DUP2 LT PUSH2 0xC91 JUMPI PUSH2 0xC91 PUSH2 0x1948 JUMP JUMPDEST PUSH1 0x20 SWAP1 DUP2 MUL SWAP2 SWAP1 SWAP2 ADD DUP2 ADD MLOAD PUSH32 0xFFFFFFFF00000000000000000000000000000000000000000000000000000000 DUP2 AND PUSH1 0x0 SWAP1 DUP2 MSTORE SWAP2 DUP6 SWAP1 MSTORE PUSH1 0x40 SWAP1 SWAP2 KECCAK256 SLOAD SWAP1 SWAP2 POP PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH2 0xCF3 DUP5 DUP3 DUP5 PUSH2 0x1050 JUMP JUMPDEST POP POP DUP1 DUP1 PUSH2 0xD00 SWAP1 PUSH2 0x19D5 JUMP JUMPDEST SWAP2 POP POP PUSH2 0xC74 JUMP JUMPDEST POP POP POP POP JUMP JUMPDEST PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP3 AND PUSH2 0xDBC JUMPI DUP1 MLOAD ISZERO PUSH2 0xDB8 JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x3C PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x4C69624469616D6F6E644375743A205F696E6974206973206164647265737328 PUSH1 0x44 DUP3 ADD MSTORE PUSH32 0x3029206275745F63616C6C64617461206973206E6F7420656D70747900000000 PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 ADD PUSH2 0x163 JUMP JUMPDEST POP POP JUMP JUMPDEST PUSH1 0x0 DUP2 MLOAD GT PUSH2 0xE4D JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x3D PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x4C69624469616D6F6E644375743A205F63616C6C6461746120697320656D7074 PUSH1 0x44 DUP3 ADD MSTORE PUSH32 0x7920627574205F696E6974206973206E6F742061646472657373283029000000 PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 ADD PUSH2 0x163 JUMP JUMPDEST PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP3 AND ADDRESS EQ PUSH2 0xE8C JUMPI PUSH2 0xE8C DUP3 PUSH1 0x40 MLOAD DUP1 PUSH1 0x60 ADD PUSH1 0x40 MSTORE DUP1 PUSH1 0x28 DUP2 MSTORE PUSH1 0x20 ADD PUSH2 0x1C95 PUSH1 0x28 SWAP2 CODECOPY PUSH2 0x15C2 JUMP JUMPDEST PUSH1 0x0 DUP1 DUP4 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP4 PUSH1 0x40 MLOAD PUSH2 0xEB4 SWAP2 SWAP1 PUSH2 0x1C18 JUMP JUMPDEST PUSH1 0x0 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP6 GAS DELEGATECALL SWAP2 POP POP RETURNDATASIZE DUP1 PUSH1 0x0 DUP2 EQ PUSH2 0xEEF JUMPI PUSH1 0x40 MLOAD SWAP2 POP PUSH1 0x1F NOT PUSH1 0x3F RETURNDATASIZE ADD AND DUP3 ADD PUSH1 0x40 MSTORE RETURNDATASIZE DUP3 MSTORE RETURNDATASIZE PUSH1 0x0 PUSH1 0x20 DUP5 ADD RETURNDATACOPY PUSH2 0xEF4 JUMP JUMPDEST PUSH1 0x60 SWAP2 POP JUMPDEST POP SWAP2 POP SWAP2 POP DUP2 PUSH2 0xD08 JUMPI DUP1 MLOAD ISZERO PUSH2 0xF39 JUMPI DUP1 PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x163 SWAP2 SWAP1 PUSH2 0x1C34 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x26 PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x4C69624469616D6F6E644375743A205F696E69742066756E6374696F6E207265 PUSH1 0x44 DUP3 ADD MSTORE PUSH32 0x7665727465640000000000000000000000000000000000000000000000000000 PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 ADD PUSH2 0x163 JUMP JUMPDEST PUSH2 0xFE3 DUP2 PUSH1 0x40 MLOAD DUP1 PUSH1 0x60 ADD PUSH1 0x40 MSTORE DUP1 PUSH1 0x24 DUP2 MSTORE PUSH1 0x20 ADD PUSH2 0x1CBD PUSH1 0x24 SWAP2 CODECOPY PUSH2 0x15C2 JUMP JUMPDEST PUSH1 0x2 DUP3 ADD DUP1 SLOAD PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF SWAP1 SWAP3 AND PUSH1 0x0 DUP2 DUP2 MSTORE PUSH1 0x1 SWAP5 DUP6 ADD PUSH1 0x20 SWAP1 DUP2 MSTORE PUSH1 0x40 DUP3 KECCAK256 DUP7 ADD DUP6 SWAP1 SSTORE SWAP5 DUP5 ADD DUP4 SSTORE SWAP2 DUP3 MSTORE SWAP3 SWAP1 KECCAK256 ADD DUP1 SLOAD PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFF0000000000000000000000000000000000000000 AND SWAP1 SWAP2 OR SWAP1 SSTORE JUMP JUMPDEST PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP3 AND PUSH2 0x10F3 JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x37 PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x4C69624469616D6F6E644375743A2043616E27742072656D6F76652066756E63 PUSH1 0x44 DUP3 ADD MSTORE PUSH32 0x74696F6E207468617420646F65736E2774206578697374000000000000000000 PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 ADD PUSH2 0x163 JUMP JUMPDEST PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP3 AND ADDRESS EQ ISZERO PUSH2 0x1199 JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x2E PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x4C69624469616D6F6E644375743A2043616E27742072656D6F766520696D6D75 PUSH1 0x44 DUP3 ADD MSTORE PUSH32 0x7461626C652066756E6374696F6E000000000000000000000000000000000000 PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 ADD PUSH2 0x163 JUMP JUMPDEST PUSH32 0xFFFFFFFF00000000000000000000000000000000000000000000000000000000 DUP2 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x20 DUP5 DUP2 MSTORE PUSH1 0x40 DUP1 DUP4 KECCAK256 SLOAD PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP7 AND DUP5 MSTORE PUSH1 0x1 DUP1 DUP9 ADD SWAP1 SWAP4 MSTORE SWAP1 DUP4 KECCAK256 SLOAD PUSH21 0x10000000000000000000000000000000000000000 SWAP1 SWAP2 DIV PUSH12 0xFFFFFFFFFFFFFFFFFFFFFFFF AND SWAP3 SWAP2 PUSH2 0x1223 SWAP2 PUSH2 0x1C4E JUMP JUMPDEST SWAP1 POP DUP1 DUP3 EQ PUSH2 0x136A JUMPI PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP5 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x1 DUP7 ADD PUSH1 0x20 MSTORE PUSH1 0x40 DUP2 KECCAK256 DUP1 SLOAD DUP4 SWAP1 DUP2 LT PUSH2 0x1265 JUMPI PUSH2 0x1265 PUSH2 0x1948 JUMP JUMPDEST PUSH1 0x0 SWAP2 DUP3 MSTORE PUSH1 0x20 DUP1 DUP4 KECCAK256 PUSH1 0x8 DUP4 DIV ADD SLOAD PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP10 AND DUP5 MSTORE PUSH1 0x1 DUP11 ADD SWAP1 SWAP2 MSTORE PUSH1 0x40 SWAP1 SWAP3 KECCAK256 DUP1 SLOAD PUSH1 0x7 SWAP1 SWAP3 AND PUSH1 0x4 MUL PUSH2 0x100 EXP SWAP1 SWAP3 DIV PUSH1 0xE0 SHL SWAP3 POP DUP3 SWAP2 SWAP1 DUP6 SWAP1 DUP2 LT PUSH2 0x12C3 JUMPI PUSH2 0x12C3 PUSH2 0x1948 JUMP JUMPDEST PUSH1 0x0 SWAP2 DUP3 MSTORE PUSH1 0x20 DUP1 DUP4 KECCAK256 PUSH1 0x8 DUP4 DIV ADD DUP1 SLOAD PUSH4 0xFFFFFFFF PUSH1 0x7 SWAP1 SWAP5 AND PUSH1 0x4 MUL PUSH2 0x100 EXP SWAP4 DUP5 MUL NOT AND PUSH1 0xE0 SWAP6 SWAP1 SWAP6 SHR SWAP3 SWAP1 SWAP3 MUL SWAP4 SWAP1 SWAP4 OR SWAP1 SSTORE PUSH32 0xFFFFFFFF00000000000000000000000000000000000000000000000000000000 SWAP3 SWAP1 SWAP3 AND DUP3 MSTORE DUP7 SWAP1 MSTORE PUSH1 0x40 SWAP1 KECCAK256 DUP1 SLOAD PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH21 0x10000000000000000000000000000000000000000 PUSH12 0xFFFFFFFFFFFFFFFFFFFFFFFF DUP6 AND MUL OR SWAP1 SSTORE JUMPDEST PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP5 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x1 DUP7 ADD PUSH1 0x20 MSTORE PUSH1 0x40 SWAP1 KECCAK256 DUP1 SLOAD DUP1 PUSH2 0x13A0 JUMPI PUSH2 0x13A0 PUSH2 0x1C65 JUMP JUMPDEST PUSH1 0x0 DUP3 DUP2 MSTORE PUSH1 0x20 DUP1 DUP3 KECCAK256 PUSH1 0x8 PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF SWAP1 SWAP5 ADD SWAP4 DUP5 DIV ADD DUP1 SLOAD PUSH4 0xFFFFFFFF PUSH1 0x4 PUSH1 0x7 DUP8 AND MUL PUSH2 0x100 EXP MUL NOT AND SWAP1 SSTORE SWAP2 SWAP1 SWAP3 SSTORE PUSH32 0xFFFFFFFF00000000000000000000000000000000000000000000000000000000 DUP6 AND DUP3 MSTORE DUP7 SWAP1 MSTORE PUSH1 0x40 DUP2 KECCAK256 SSTORE DUP1 PUSH2 0x97 JUMPI PUSH1 0x2 DUP6 ADD SLOAD PUSH1 0x0 SWAP1 PUSH2 0x1435 SWAP1 PUSH1 0x1 SWAP1 PUSH2 0x1C4E JUMP JUMPDEST PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP7 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x1 DUP1 DUP10 ADD PUSH1 0x20 MSTORE PUSH1 0x40 SWAP1 SWAP2 KECCAK256 ADD SLOAD SWAP1 SWAP2 POP DUP1 DUP3 EQ PUSH2 0x1523 JUMPI PUSH1 0x0 DUP8 PUSH1 0x2 ADD DUP4 DUP2 SLOAD DUP2 LT PUSH2 0x1481 JUMPI PUSH2 0x1481 PUSH2 0x1948 JUMP JUMPDEST PUSH1 0x0 SWAP2 DUP3 MSTORE PUSH1 0x20 SWAP1 SWAP2 KECCAK256 ADD SLOAD PUSH1 0x2 DUP10 ADD DUP1 SLOAD PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF SWAP1 SWAP3 AND SWAP3 POP DUP3 SWAP2 DUP5 SWAP1 DUP2 LT PUSH2 0x14BF JUMPI PUSH2 0x14BF PUSH2 0x1948 JUMP JUMPDEST PUSH1 0x0 SWAP2 DUP3 MSTORE PUSH1 0x20 DUP1 DUP4 KECCAK256 SWAP2 SWAP1 SWAP2 ADD DUP1 SLOAD PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFF0000000000000000000000000000000000000000 AND PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF SWAP5 DUP6 AND OR SWAP1 SSTORE SWAP3 SWAP1 SWAP2 AND DUP2 MSTORE PUSH1 0x1 DUP10 DUP2 ADD SWAP1 SWAP3 MSTORE PUSH1 0x40 SWAP1 KECCAK256 ADD DUP2 SWAP1 SSTORE JUMPDEST DUP7 PUSH1 0x2 ADD DUP1 SLOAD DUP1 PUSH2 0x1536 JUMPI PUSH2 0x1536 PUSH2 0x1C65 JUMP JUMPDEST PUSH1 0x0 DUP3 DUP2 MSTORE PUSH1 0x20 DUP1 DUP3 KECCAK256 DUP4 ADD PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF SWAP1 DUP2 ADD DUP1 SLOAD PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFF0000000000000000000000000000000000000000 AND SWAP1 SSTORE SWAP1 SWAP3 ADD SWAP1 SWAP3 SSTORE PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP9 AND DUP3 MSTORE PUSH1 0x1 DUP10 DUP2 ADD SWAP1 SWAP2 MSTORE PUSH1 0x40 DUP3 KECCAK256 ADD SSTORE POP POP POP POP POP POP POP JUMP JUMPDEST DUP2 EXTCODESIZE DUP2 DUP2 PUSH2 0xD08 JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x163 SWAP2 SWAP1 PUSH2 0x1C34 JUMP JUMPDEST DUP1 CALLDATALOAD PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP2 AND DUP2 EQ PUSH2 0x1621 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 DUP1 DUP4 PUSH1 0x1F DUP5 ADD SLT PUSH2 0x1638 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP DUP2 CALLDATALOAD PUSH8 0xFFFFFFFFFFFFFFFF DUP2 GT ISZERO PUSH2 0x1650 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x20 DUP4 ADD SWAP2 POP DUP4 PUSH1 0x20 DUP3 DUP6 ADD ADD GT ISZERO PUSH2 0x1668 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST SWAP3 POP SWAP3 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x0 DUP1 PUSH1 0x0 PUSH1 0x60 DUP7 DUP9 SUB SLT ISZERO PUSH2 0x1687 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP6 CALLDATALOAD PUSH8 0xFFFFFFFFFFFFFFFF DUP1 DUP3 GT ISZERO PUSH2 0x169F JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP2 DUP9 ADD SWAP2 POP DUP9 PUSH1 0x1F DUP4 ADD SLT PUSH2 0x16B3 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP2 CALLDATALOAD DUP2 DUP2 GT ISZERO PUSH2 0x16C2 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP10 PUSH1 0x20 DUP3 PUSH1 0x5 SHL DUP6 ADD ADD GT ISZERO PUSH2 0x16D7 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x20 DUP4 ADD SWAP8 POP DUP1 SWAP7 POP POP PUSH2 0x16ED PUSH1 0x20 DUP10 ADD PUSH2 0x15FD JUMP JUMPDEST SWAP5 POP PUSH1 0x40 DUP9 ADD CALLDATALOAD SWAP2 POP DUP1 DUP3 GT ISZERO PUSH2 0x1703 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH2 0x1710 DUP9 DUP3 DUP10 ADD PUSH2 0x1626 JUMP JUMPDEST SWAP7 SWAP10 SWAP6 SWAP9 POP SWAP4 SWAP7 POP SWAP3 SWAP5 SWAP4 SWAP3 POP POP POP JUMP JUMPDEST PUSH32 0x4E487B7100000000000000000000000000000000000000000000000000000000 PUSH1 0x0 MSTORE PUSH1 0x41 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST PUSH1 0x40 MLOAD PUSH1 0x60 DUP2 ADD PUSH8 0xFFFFFFFFFFFFFFFF DUP2 GT DUP3 DUP3 LT OR ISZERO PUSH2 0x1773 JUMPI PUSH2 0x1773 PUSH2 0x1721 JUMP JUMPDEST PUSH1 0x40 MSTORE SWAP1 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH1 0x1F DUP3 ADD PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFE0 AND DUP2 ADD PUSH8 0xFFFFFFFFFFFFFFFF DUP2 GT DUP3 DUP3 LT OR ISZERO PUSH2 0x17C0 JUMPI PUSH2 0x17C0 PUSH2 0x1721 JUMP JUMPDEST PUSH1 0x40 MSTORE SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH8 0xFFFFFFFFFFFFFFFF DUP3 GT ISZERO PUSH2 0x17E2 JUMPI PUSH2 0x17E2 PUSH2 0x1721 JUMP JUMPDEST POP PUSH1 0x5 SHL PUSH1 0x20 ADD SWAP1 JUMP JUMPDEST PUSH1 0x0 PUSH2 0x17FF PUSH2 0x17FA DUP5 PUSH2 0x17C8 JUMP JUMPDEST PUSH2 0x1779 JUMP JUMPDEST DUP4 DUP2 MSTORE PUSH1 0x20 DUP1 DUP3 ADD SWAP2 SWAP1 PUSH1 0x5 DUP7 DUP2 SHL DUP7 ADD CALLDATASIZE DUP2 GT ISZERO PUSH2 0x181D JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP7 JUMPDEST DUP2 DUP2 LT ISZERO PUSH2 0x193B JUMPI DUP1 CALLDATALOAD PUSH8 0xFFFFFFFFFFFFFFFF DUP1 DUP3 GT ISZERO PUSH2 0x1840 JUMPI PUSH1 0x0 DUP1 DUP2 REVERT JUMPDEST DUP2 DUP11 ADD SWAP2 POP PUSH1 0x60 DUP3 CALLDATASIZE SUB SLT ISZERO PUSH2 0x1856 JUMPI PUSH1 0x0 DUP1 DUP2 REVERT JUMPDEST PUSH2 0x185E PUSH2 0x1750 JUMP JUMPDEST PUSH2 0x1867 DUP4 PUSH2 0x15FD JUMP JUMPDEST DUP2 MSTORE DUP7 DUP4 ADD CALLDATALOAD PUSH1 0x3 DUP2 LT PUSH2 0x187B JUMPI PUSH1 0x0 DUP1 DUP2 REVERT JUMPDEST DUP2 DUP9 ADD MSTORE PUSH1 0x40 DUP4 DUP2 ADD CALLDATALOAD DUP4 DUP2 GT ISZERO PUSH2 0x1893 JUMPI PUSH1 0x0 DUP1 DUP2 REVERT JUMPDEST SWAP4 SWAP1 SWAP4 ADD SWAP3 CALLDATASIZE PUSH1 0x1F DUP6 ADD SLT PUSH2 0x18AA JUMPI PUSH1 0x0 SWAP3 POP DUP3 DUP4 REVERT JUMPDEST DUP4 CALLDATALOAD SWAP3 POP PUSH2 0x18BA PUSH2 0x17FA DUP5 PUSH2 0x17C8 JUMP JUMPDEST DUP4 DUP2 MSTORE SWAP3 DUP8 SHL DUP5 ADD DUP9 ADD SWAP3 DUP9 DUP2 ADD SWAP1 CALLDATASIZE DUP6 GT ISZERO PUSH2 0x18D7 JUMPI PUSH1 0x0 DUP1 DUP2 REVERT JUMPDEST SWAP5 DUP10 ADD SWAP5 JUMPDEST DUP5 DUP7 LT ISZERO PUSH2 0x1924 JUMPI DUP6 CALLDATALOAD PUSH32 0xFFFFFFFF00000000000000000000000000000000000000000000000000000000 DUP2 AND DUP2 EQ PUSH2 0x1915 JUMPI PUSH1 0x0 DUP1 DUP2 REVERT JUMPDEST DUP3 MSTORE SWAP5 DUP10 ADD SWAP5 SWAP1 DUP10 ADD SWAP1 PUSH2 0x18DC JUMP JUMPDEST SWAP2 DUP4 ADD SWAP2 SWAP1 SWAP2 MSTORE POP DUP9 MSTORE POP POP SWAP5 DUP4 ADD SWAP5 DUP4 ADD PUSH2 0x181F JUMP JUMPDEST POP SWAP3 SWAP8 SWAP7 POP POP POP POP POP POP POP JUMP JUMPDEST PUSH32 0x4E487B7100000000000000000000000000000000000000000000000000000000 PUSH1 0x0 MSTORE PUSH1 0x32 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST PUSH32 0x4E487B7100000000000000000000000000000000000000000000000000000000 PUSH1 0x0 MSTORE PUSH1 0x21 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST PUSH32 0x4E487B7100000000000000000000000000000000000000000000000000000000 PUSH1 0x0 MSTORE PUSH1 0x11 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST PUSH1 0x0 PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP3 EQ ISZERO PUSH2 0x1A07 JUMPI PUSH2 0x1A07 PUSH2 0x19A6 JUMP JUMPDEST POP PUSH1 0x1 ADD SWAP1 JUMP JUMPDEST PUSH1 0x0 JUMPDEST DUP4 DUP2 LT ISZERO PUSH2 0x1A29 JUMPI DUP2 DUP2 ADD MLOAD DUP4 DUP3 ADD MSTORE PUSH1 0x20 ADD PUSH2 0x1A11 JUMP JUMPDEST DUP4 DUP2 GT ISZERO PUSH2 0xD08 JUMPI POP POP PUSH1 0x0 SWAP2 ADD MSTORE JUMP JUMPDEST PUSH1 0x0 DUP2 MLOAD DUP1 DUP5 MSTORE PUSH2 0x1A52 DUP2 PUSH1 0x20 DUP7 ADD PUSH1 0x20 DUP7 ADD PUSH2 0x1A0E JUMP JUMPDEST PUSH1 0x1F ADD PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFE0 AND SWAP3 SWAP1 SWAP3 ADD PUSH1 0x20 ADD SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x60 DUP1 DUP4 ADD DUP2 DUP5 MSTORE DUP1 DUP8 MLOAD DUP1 DUP4 MSTORE PUSH1 0x80 SWAP3 POP DUP3 DUP7 ADD SWAP2 POP DUP3 DUP2 PUSH1 0x5 SHL DUP8 ADD ADD PUSH1 0x20 DUP1 DUP12 ADD PUSH1 0x0 JUMPDEST DUP5 DUP2 LT ISZERO PUSH2 0x1BAF JUMPI PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF80 DUP11 DUP6 SUB ADD DUP7 MSTORE DUP2 MLOAD DUP9 DUP6 ADD PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP3 MLOAD AND DUP7 MSTORE DUP5 DUP3 ADD MLOAD PUSH1 0x3 DUP2 LT PUSH2 0x1B36 JUMPI PUSH32 0x4E487B7100000000000000000000000000000000000000000000000000000000 PUSH1 0x0 MSTORE PUSH1 0x21 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST DUP7 DUP7 ADD MSTORE PUSH1 0x40 SWAP2 DUP3 ADD MLOAD SWAP2 DUP7 ADD DUP11 SWAP1 MSTORE DUP2 MLOAD SWAP1 DUP2 SWAP1 MSTORE SWAP1 DUP5 ADD SWAP1 PUSH1 0x0 SWAP1 DUP10 DUP8 ADD SWAP1 JUMPDEST DUP1 DUP4 LT ISZERO PUSH2 0x1B9A JUMPI DUP4 MLOAD PUSH32 0xFFFFFFFF00000000000000000000000000000000000000000000000000000000 AND DUP3 MSTORE SWAP3 DUP7 ADD SWAP3 PUSH1 0x1 SWAP3 SWAP1 SWAP3 ADD SWAP2 SWAP1 DUP7 ADD SWAP1 PUSH2 0x1B58 JUMP JUMPDEST POP SWAP8 DUP6 ADD SWAP8 SWAP6 POP POP POP SWAP1 DUP3 ADD SWAP1 PUSH1 0x1 ADD PUSH2 0x1AAD JUMP JUMPDEST POP POP PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP11 AND SWAP1 DUP9 ADD MSTORE DUP7 DUP2 SUB PUSH1 0x40 DUP9 ADD MSTORE PUSH2 0x1BDE DUP2 DUP10 PUSH2 0x1A3A JUMP JUMPDEST SWAP11 SWAP10 POP POP POP POP POP POP POP POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH12 0xFFFFFFFFFFFFFFFFFFFFFFFF DUP1 DUP4 AND DUP2 DUP2 EQ ISZERO PUSH2 0x1C0E JUMPI PUSH2 0x1C0E PUSH2 0x19A6 JUMP JUMPDEST PUSH1 0x1 ADD SWAP4 SWAP3 POP POP POP JUMP JUMPDEST PUSH1 0x0 DUP3 MLOAD PUSH2 0x1C2A DUP2 DUP5 PUSH1 0x20 DUP8 ADD PUSH2 0x1A0E JUMP JUMPDEST SWAP2 SWAP1 SWAP2 ADD SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x20 DUP2 MSTORE PUSH1 0x0 PUSH2 0x1C47 PUSH1 0x20 DUP4 ADD DUP5 PUSH2 0x1A3A JUMP JUMPDEST SWAP4 SWAP3 POP POP POP JUMP JUMPDEST PUSH1 0x0 DUP3 DUP3 LT ISZERO PUSH2 0x1C60 JUMPI PUSH2 0x1C60 PUSH2 0x19A6 JUMP JUMPDEST POP SUB SWAP1 JUMP JUMPDEST PUSH32 0x4E487B7100000000000000000000000000000000000000000000000000000000 PUSH1 0x0 MSTORE PUSH1 0x31 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT INVALID 0x4C PUSH10 0x624469616D6F6E644375 PUSH21 0x3A205F696E6974206164647265737320686173206E PUSH16 0x20636F64654C69624469616D6F6E6443 PUSH22 0x743A204E657720666163657420686173206E6F20636F PUSH5 0x65A2646970 PUSH7 0x7358221220E81A 0x29 DUP12 PUSH17 0x6AF5E6F506858188273BB2CE2567698530 SIGNEXTEND STATICCALL ADDMOD 0xAE PUSH2 0x105 0x1E 0xC9 0xBF PUSH5 0x736F6C6343 STOP ADDMOD MULMOD STOP CALLER PUSH1 0x80 PUSH1 0x40 MSTORE CALLVALUE DUP1 ISZERO PUSH2 0x10 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH2 0x84E DUP1 PUSH2 0x20 PUSH1 0x0 CODECOPY PUSH1 0x0 RETURN INVALID PUSH1 0x80 PUSH1 0x40 MSTORE CALLVALUE DUP1 ISZERO PUSH2 0x10 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH1 0x4 CALLDATASIZE LT PUSH2 0x67 JUMPI PUSH1 0x0 CALLDATALOAD PUSH1 0xE0 SHR DUP1 PUSH4 0x7A0ED627 GT PUSH2 0x50 JUMPI DUP1 PUSH4 0x7A0ED627 EQ PUSH2 0xFA JUMPI DUP1 PUSH4 0xADFCA15E EQ PUSH2 0x10F JUMPI DUP1 PUSH4 0xCDFFACC6 EQ PUSH2 0x12F JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP1 PUSH4 0x1FFC9A7 EQ PUSH2 0x6C JUMPI DUP1 PUSH4 0x52EF6B2C EQ PUSH2 0xE5 JUMPI JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0xD0 PUSH2 0x7A CALLDATASIZE PUSH1 0x4 PUSH2 0x569 JUMP JUMPDEST PUSH32 0xFFFFFFFF00000000000000000000000000000000000000000000000000000000 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH32 0xC8FCAD8DB84D3CC18B4C41D551EA0EE66DD599CDE068D998E57D5E09332C131F PUSH1 0x20 MSTORE PUSH1 0x40 SWAP1 KECCAK256 SLOAD PUSH1 0xFF AND SWAP1 JUMP JUMPDEST PUSH1 0x40 MLOAD SWAP1 ISZERO ISZERO DUP2 MSTORE PUSH1 0x20 ADD JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH2 0xED PUSH2 0x1CB JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0xDC SWAP2 SWAP1 PUSH2 0x5B2 JUMP JUMPDEST PUSH2 0x102 PUSH2 0x25D JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0xDC SWAP2 SWAP1 PUSH2 0x669 JUMP JUMPDEST PUSH2 0x122 PUSH2 0x11D CALLDATASIZE PUSH1 0x4 PUSH2 0x711 JUMP JUMPDEST PUSH2 0x469 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0xDC SWAP2 SWAP1 PUSH2 0x747 JUMP JUMPDEST PUSH2 0x1A6 PUSH2 0x13D CALLDATASIZE PUSH1 0x4 PUSH2 0x569 JUMP JUMPDEST PUSH32 0xFFFFFFFF00000000000000000000000000000000000000000000000000000000 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH32 0xC8FCAD8DB84D3CC18B4C41D551EA0EE66DD599CDE068D998E57D5E09332C131C PUSH1 0x20 MSTORE PUSH1 0x40 SWAP1 KECCAK256 SLOAD PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND SWAP1 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF SWAP1 SWAP2 AND DUP2 MSTORE PUSH1 0x20 ADD PUSH2 0xDC JUMP JUMPDEST PUSH1 0x60 PUSH1 0x0 PUSH32 0xC8FCAD8DB84D3CC18B4C41D551EA0EE66DD599CDE068D998E57D5E09332C131C PUSH1 0x2 DUP2 ADD DUP1 SLOAD PUSH1 0x40 DUP1 MLOAD PUSH1 0x20 DUP1 DUP5 MUL DUP3 ADD DUP2 ADD SWAP1 SWAP3 MSTORE DUP3 DUP2 MSTORE SWAP4 SWAP5 POP DUP4 ADD DUP3 DUP3 DUP1 ISZERO PUSH2 0x252 JUMPI PUSH1 0x20 MUL DUP3 ADD SWAP2 SWAP1 PUSH1 0x0 MSTORE PUSH1 0x20 PUSH1 0x0 KECCAK256 SWAP1 JUMPDEST DUP2 SLOAD PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP2 MSTORE PUSH1 0x1 SWAP1 SWAP2 ADD SWAP1 PUSH1 0x20 ADD DUP1 DUP4 GT PUSH2 0x227 JUMPI JUMPDEST POP POP POP POP POP SWAP2 POP POP SWAP1 JUMP JUMPDEST PUSH32 0xC8FCAD8DB84D3CC18B4C41D551EA0EE66DD599CDE068D998E57D5E09332C131E SLOAD PUSH1 0x60 SWAP1 PUSH32 0xC8FCAD8DB84D3CC18B4C41D551EA0EE66DD599CDE068D998E57D5E09332C131C SWAP1 DUP1 PUSH8 0xFFFFFFFFFFFFFFFF DUP2 GT ISZERO PUSH2 0x2BD JUMPI PUSH2 0x2BD PUSH2 0x75A JUMP JUMPDEST PUSH1 0x40 MLOAD SWAP1 DUP1 DUP3 MSTORE DUP1 PUSH1 0x20 MUL PUSH1 0x20 ADD DUP3 ADD PUSH1 0x40 MSTORE DUP1 ISZERO PUSH2 0x303 JUMPI DUP2 PUSH1 0x20 ADD JUMPDEST PUSH1 0x40 DUP1 MLOAD DUP1 DUP3 ADD SWAP1 SWAP2 MSTORE PUSH1 0x0 DUP2 MSTORE PUSH1 0x60 PUSH1 0x20 DUP3 ADD MSTORE DUP2 MSTORE PUSH1 0x20 ADD SWAP1 PUSH1 0x1 SWAP1 SUB SWAP1 DUP2 PUSH2 0x2DB JUMPI SWAP1 POP JUMPDEST POP SWAP3 POP PUSH1 0x0 JUMPDEST DUP2 DUP2 LT ISZERO PUSH2 0x463 JUMPI PUSH1 0x0 DUP4 PUSH1 0x2 ADD DUP3 DUP2 SLOAD DUP2 LT PUSH2 0x328 JUMPI PUSH2 0x328 PUSH2 0x789 JUMP JUMPDEST SWAP1 PUSH1 0x0 MSTORE PUSH1 0x20 PUSH1 0x0 KECCAK256 ADD PUSH1 0x0 SWAP1 SLOAD SWAP1 PUSH2 0x100 EXP SWAP1 DIV PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND SWAP1 POP DUP1 DUP6 DUP4 DUP2 MLOAD DUP2 LT PUSH2 0x368 JUMPI PUSH2 0x368 PUSH2 0x789 JUMP JUMPDEST PUSH1 0x20 SWAP1 DUP2 MUL SWAP2 SWAP1 SWAP2 ADD DUP2 ADD MLOAD PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF SWAP3 DUP4 AND SWAP1 MSTORE SWAP1 DUP3 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x1 DUP7 ADD DUP3 MSTORE PUSH1 0x40 SWAP1 DUP2 SWAP1 KECCAK256 DUP1 SLOAD DUP3 MLOAD DUP2 DUP6 MUL DUP2 ADD DUP6 ADD SWAP1 SWAP4 MSTORE DUP1 DUP4 MSTORE SWAP2 SWAP3 SWAP1 SWAP2 SWAP1 DUP4 ADD DUP3 DUP3 DUP1 ISZERO PUSH2 0x429 JUMPI PUSH1 0x20 MUL DUP3 ADD SWAP2 SWAP1 PUSH1 0x0 MSTORE PUSH1 0x20 PUSH1 0x0 KECCAK256 SWAP1 PUSH1 0x0 SWAP1 JUMPDEST DUP3 DUP3 SWAP1 SLOAD SWAP1 PUSH2 0x100 EXP SWAP1 DIV PUSH1 0xE0 SHL PUSH28 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF NOT AND DUP2 MSTORE PUSH1 0x20 ADD SWAP1 PUSH1 0x4 ADD SWAP1 PUSH1 0x20 DUP3 PUSH1 0x3 ADD DIV SWAP3 DUP4 ADD SWAP3 PUSH1 0x1 SUB DUP3 MUL SWAP2 POP DUP1 DUP5 GT PUSH2 0x3D6 JUMPI SWAP1 POP JUMPDEST POP POP POP POP POP DUP6 DUP4 DUP2 MLOAD DUP2 LT PUSH2 0x440 JUMPI PUSH2 0x440 PUSH2 0x789 JUMP JUMPDEST PUSH1 0x20 MUL PUSH1 0x20 ADD ADD MLOAD PUSH1 0x20 ADD DUP2 SWAP1 MSTORE POP POP DUP1 DUP1 PUSH2 0x45B SWAP1 PUSH2 0x7B8 JUMP JUMPDEST SWAP2 POP POP PUSH2 0x309 JUMP JUMPDEST POP POP POP SWAP1 JUMP JUMPDEST PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP2 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH32 0xC8FCAD8DB84D3CC18B4C41D551EA0EE66DD599CDE068D998E57D5E09332C131D PUSH1 0x20 SWAP1 DUP2 MSTORE PUSH1 0x40 SWAP2 DUP3 SWAP1 KECCAK256 DUP1 SLOAD DUP4 MLOAD DUP2 DUP5 MUL DUP2 ADD DUP5 ADD SWAP1 SWAP5 MSTORE DUP1 DUP5 MSTORE PUSH1 0x60 SWAP4 PUSH32 0xC8FCAD8DB84D3CC18B4C41D551EA0EE66DD599CDE068D998E57D5E09332C131C SWAP4 SWAP1 SWAP3 SWAP2 SWAP1 DUP4 ADD DUP3 DUP3 DUP1 ISZERO PUSH2 0x55C JUMPI PUSH1 0x20 MUL DUP3 ADD SWAP2 SWAP1 PUSH1 0x0 MSTORE PUSH1 0x20 PUSH1 0x0 KECCAK256 SWAP1 PUSH1 0x0 SWAP1 JUMPDEST DUP3 DUP3 SWAP1 SLOAD SWAP1 PUSH2 0x100 EXP SWAP1 DIV PUSH1 0xE0 SHL PUSH28 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF NOT AND DUP2 MSTORE PUSH1 0x20 ADD SWAP1 PUSH1 0x4 ADD SWAP1 PUSH1 0x20 DUP3 PUSH1 0x3 ADD DIV SWAP3 DUP4 ADD SWAP3 PUSH1 0x1 SUB DUP3 MUL SWAP2 POP DUP1 DUP5 GT PUSH2 0x509 JUMPI SWAP1 POP JUMPDEST POP POP POP POP POP SWAP2 POP POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x57B JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP2 CALLDATALOAD PUSH32 0xFFFFFFFF00000000000000000000000000000000000000000000000000000000 DUP2 AND DUP2 EQ PUSH2 0x5AB JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST SWAP4 SWAP3 POP POP POP JUMP JUMPDEST PUSH1 0x20 DUP1 DUP3 MSTORE DUP3 MLOAD DUP3 DUP3 ADD DUP2 SWAP1 MSTORE PUSH1 0x0 SWAP2 SWAP1 DUP5 DUP3 ADD SWAP1 PUSH1 0x40 DUP6 ADD SWAP1 DUP5 JUMPDEST DUP2 DUP2 LT ISZERO PUSH2 0x600 JUMPI DUP4 MLOAD PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP4 MSTORE SWAP3 DUP5 ADD SWAP3 SWAP2 DUP5 ADD SWAP2 PUSH1 0x1 ADD PUSH2 0x5CE JUMP JUMPDEST POP SWAP1 SWAP7 SWAP6 POP POP POP POP POP POP JUMP JUMPDEST PUSH1 0x0 DUP2 MLOAD DUP1 DUP5 MSTORE PUSH1 0x20 DUP1 DUP6 ADD SWAP5 POP DUP1 DUP5 ADD PUSH1 0x0 JUMPDEST DUP4 DUP2 LT ISZERO PUSH2 0x65E JUMPI DUP2 MLOAD PUSH32 0xFFFFFFFF00000000000000000000000000000000000000000000000000000000 AND DUP8 MSTORE SWAP6 DUP3 ADD SWAP6 SWAP1 DUP3 ADD SWAP1 PUSH1 0x1 ADD PUSH2 0x620 JUMP JUMPDEST POP SWAP5 SWAP6 SWAP5 POP POP POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP1 DUP4 ADD DUP2 DUP5 MSTORE DUP1 DUP6 MLOAD DUP1 DUP4 MSTORE PUSH1 0x40 SWAP3 POP DUP3 DUP7 ADD SWAP2 POP DUP3 DUP2 PUSH1 0x5 SHL DUP8 ADD ADD DUP5 DUP9 ADD PUSH1 0x0 JUMPDEST DUP4 DUP2 LT ISZERO PUSH2 0x703 JUMPI DUP9 DUP4 SUB PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFC0 ADD DUP6 MSTORE DUP2 MLOAD DUP1 MLOAD PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP5 MSTORE DUP8 ADD MLOAD DUP8 DUP5 ADD DUP8 SWAP1 MSTORE PUSH2 0x6F0 DUP8 DUP6 ADD DUP3 PUSH2 0x60C JUMP JUMPDEST SWAP6 DUP9 ADD SWAP6 SWAP4 POP POP SWAP1 DUP7 ADD SWAP1 PUSH1 0x1 ADD PUSH2 0x690 JUMP JUMPDEST POP SWAP1 SWAP9 SWAP8 POP POP POP POP POP POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x723 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP2 CALLDATALOAD PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP2 AND DUP2 EQ PUSH2 0x5AB JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x20 DUP2 MSTORE PUSH1 0x0 PUSH2 0x5AB PUSH1 0x20 DUP4 ADD DUP5 PUSH2 0x60C JUMP JUMPDEST PUSH32 0x4E487B7100000000000000000000000000000000000000000000000000000000 PUSH1 0x0 MSTORE PUSH1 0x41 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST PUSH32 0x4E487B7100000000000000000000000000000000000000000000000000000000 PUSH1 0x0 MSTORE PUSH1 0x32 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST PUSH1 0x0 PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP3 EQ ISZERO PUSH2 0x811 JUMPI PUSH32 0x4E487B7100000000000000000000000000000000000000000000000000000000 PUSH1 0x0 MSTORE PUSH1 0x11 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST POP PUSH1 0x1 ADD SWAP1 JUMP INVALID LOG2 PUSH5 0x6970667358 0x22 SLT KECCAK256 0xC JUMPDEST OR PUSH30 0xE2AED4874EBD4BC1DD3A8AF2D25547FDD59BA0C61E502F7A15C95E1A6473 PUSH16 0x6C634300080900336080604052348015 PUSH2 0x10 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH2 0x2D6 DUP1 PUSH2 0x20 PUSH1 0x0 CODECOPY PUSH1 0x0 RETURN INVALID PUSH1 0x80 PUSH1 0x40 MSTORE CALLVALUE DUP1 ISZERO PUSH2 0x10 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH1 0x4 CALLDATASIZE LT PUSH2 0x36 JUMPI PUSH1 0x0 CALLDATALOAD PUSH1 0xE0 SHR DUP1 PUSH4 0x8DA5CB5B EQ PUSH2 0x3B JUMPI DUP1 PUSH4 0xF2FDE38B EQ PUSH2 0x6C JUMPI JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x43 PUSH2 0x81 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF SWAP1 SWAP2 AND DUP2 MSTORE PUSH1 0x20 ADD PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH2 0x7F PUSH2 0x7A CALLDATASIZE PUSH1 0x4 PUSH2 0x263 JUMP JUMPDEST PUSH2 0xC6 JUMP JUMPDEST STOP JUMPDEST PUSH1 0x0 PUSH2 0xC1 PUSH32 0xC8FCAD8DB84D3CC18B4C41D551EA0EE66DD599CDE068D998E57D5E09332C1320 SLOAD PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND SWAP1 JUMP JUMPDEST SWAP1 POP SWAP1 JUMP JUMPDEST PUSH2 0xCE PUSH2 0xDA JUMP JUMPDEST PUSH2 0xD7 DUP2 PUSH2 0x1A9 JUMP JUMPDEST POP JUMP JUMPDEST PUSH32 0xC8FCAD8DB84D3CC18B4C41D551EA0EE66DD599CDE068D998E57D5E09332C131C PUSH1 0x4 ADD SLOAD PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND CALLER EQ PUSH2 0x1A7 JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x22 PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x4C69624469616D6F6E643A204D75737420626520636F6E7472616374206F776E PUSH1 0x44 DUP3 ADD MSTORE PUSH32 0x6572000000000000000000000000000000000000000000000000000000000000 PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 ADD PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST JUMP JUMPDEST PUSH32 0xC8FCAD8DB84D3CC18B4C41D551EA0EE66DD599CDE068D998E57D5E09332C1320 DUP1 SLOAD PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFF0000000000000000000000000000000000000000 DUP2 AND PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP5 DUP2 AND SWAP2 DUP3 OR SWAP1 SWAP4 SSTORE PUSH1 0x40 MLOAD PUSH32 0xC8FCAD8DB84D3CC18B4C41D551EA0EE66DD599CDE068D998E57D5E09332C131C SWAP4 SWAP1 SWAP3 AND SWAP2 DUP3 SWAP1 PUSH32 0x8BE0079C531659141344CD1FD0A4F28419497F9722A3DAAFE3B4186F6B6457E0 SWAP1 PUSH1 0x0 SWAP1 LOG3 POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x275 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP2 CALLDATALOAD PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP2 AND DUP2 EQ PUSH2 0x299 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST SWAP4 SWAP3 POP POP POP JUMP INVALID LOG2 PUSH5 0x6970667358 0x22 SLT KECCAK256 0xAF 0xE5 0x4A PUSH21 0xDF56254D54C0C99E01EDFBC48CE57BD7975A687BCD GT 0xCF CHAINID 0xBD PUSH15 0xF5AE64736F6C63430008090033290D 0xEC 0xD9 SLOAD DUP12 PUSH3 0xA8D603 GASLIMIT 0xA9 DUP9 CODESIZE PUSH16 0xC84BA6BC95484008F6362F93160EF3E5 PUSH4 0x0 ", + "sourceMap": "273:3298:0:-:0;;;401:2269;;;;;;;;;;425:33;677:31;711:21;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;763:15:0;;;776:1;763:15;;;;;;;;;677:55;;-1:-1:-1;763:15:0;;;;;;;;;;;-1:-1:-1;763:15:0;743:35;;811;;;788:17;806:1;788:20;;;;;;;;:::i;:::-;-1:-1:-1;;;;;;788:58:0;;;;:20;;;;;;;;;;:58;880:185;;;;;;;;-1:-1:-1;;;;;880:185:0;;;;;-1:-1:-1;880:185:0;;;;;;;;;;;;856:210;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;856:210:0;;;-1:-1:-1;;;;;;856:210:0;;;;;;;;;;;;;880:185;;856:210;;-1:-1:-1;;;;;;856:210:0;;;;;-1:-1:-1;;;856:210:0;;;;;;;;;;:::i;:::-;;;;;-1:-1:-1;856:210:0;;;;;;;;;;;;;;;;;;:::i;:::-;;;;1290:35;1328:23;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;1382:15:0;;;1395:1;1382:15;;;;;;;;;1290:61;;-1:-1:-1;1382:15:0;;;;;;;;;;-1:-1:-1;1382:15:0;1362:35;;1430:49;;;1407:17;1425:1;1407:20;;;;;;;;:::i;:::-;-1:-1:-1;;;;;;1407:72:0;;;:20;;;;;;;;;;;:72;1489:20;;-1:-1:-1;;;1512:33:0;1489:17;;1507:1;;1489:20;;;;;;:::i;:::-;-1:-1:-1;;;;;;1489:56:0;;;:20;;;;;;;;;;;:56;1555:20;;-1:-1:-1;;;1578:39:0;1555:17;;1573:1;;1555:20;;;;;;:::i;:::-;-1:-1:-1;;;;;;1555:62:0;;;:20;;;;;;;;;;;:62;1627:20;;-1:-1:-1;;;1650:41:0;1627:17;;1645:1;;1627:20;;;;;;:::i;:::-;-1:-1:-1;;;;;;1627:64:0;;;:20;;;;;;;;;;;:64;1701:20;;-1:-1:-1;;;1724:44:0;1701:17;;1719:1;;1701:20;;;;;;:::i;:::-;-1:-1:-1;;;;;;1701:67:0;;;;:20;;;;;;;;;;:67;1802:187;;;;;;;;-1:-1:-1;;;;;1802:187:0;;;;;-1:-1:-1;1802:187:0;;;;;;;;;;;;1778:212;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;1778:212:0;;;-1:-1:-1;;;;;;1778:212:0;;;;;;;;;;;;;1802:187;;1778:212;;-1:-1:-1;;;;;;1778:212:0;;;;;-1:-1:-1;;;1778:212:0;;;;;;;;;;:::i;:::-;;;;;-1:-1:-1;1778:212:0;;;;;;;;;;;;;;;;;;:::i;:::-;;;;2210:29;2242:20;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;2293:15:0;;;2306:1;2293:15;;;;;;;;2210:52;;-1:-1:-1;2293:15:0;2306:1;2293:15;;;;;;;;;;-1:-1:-1;2293:15:0;2273:35;;2341:41;;;2318:17;2336:1;2318:20;;;;;;;;:::i;:::-;-1:-1:-1;;;;;;2318:64:0;;;:20;;;;;;;;;;;:64;2392:20;;-1:-1:-1;;;2415:29:0;2392:17;;2410:1;;2392:20;;;;;;:::i;:::-;-1:-1:-1;;;;;;2392:52:0;;;;:20;;;;;;;;;;:52;2478:184;;;;;;;;-1:-1:-1;;;;;2478:184:0;;;;;-1:-1:-1;2478:184:0;;;;;;;;;;;;2454:209;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;2454:209:0;;;-1:-1:-1;;;;;;2454:209:0;;;;;;;;;;;;;2478:184;;2454:209;;-1:-1:-1;;;;;;2454:209:0;;;;;-1:-1:-1;;;2454:209:0;;;;;;;;;;:::i;:::-;;;;;-1:-1:-1;2454:209:0;;;;;;;;;;;;;;;;;;:::i;:::-;;;;415:2255;;;;273:3298;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;273:3298:0;;;-1:-1:-1;273:3298:0;:::i;:::-;;;:::o;:::-;;;;;;;;:::o;:::-;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;146:127:11;207:10;202:3;198:20;195:1;188:31;238:4;235:1;228:15;262:4;259:1;252:15;278:127;339:10;334:3;330:20;327:1;320:31;370:4;367:1;360:15;394:4;391:1;384:15;278:127;273:3298:0;;;;;;" + }, + "deployedBytecode": { + "functionDebugData": { + "@createDiamond_294": { + "entryPoint": 101, + "id": 294, + "parameterSlots": 6, + "returnSlots": 1 + }, + "abi_decode_address": { + "entryPoint": 751, + "id": null, + "parameterSlots": 1, + "returnSlots": 1 + }, + "abi_decode_bytes_calldata": { + "entryPoint": 793, + "id": null, + "parameterSlots": 2, + "returnSlots": 2 + }, + "abi_decode_tuple_t_addresst_array$_t_struct$_FacetCut_$711_calldata_ptr_$dyn_calldata_ptrt_bytes_calldata_ptrt_bytes32": { + "entryPoint": 869, + "id": null, + "parameterSlots": 2, + "returnSlots": 6 + }, + "abi_encode_address": { + "entryPoint": null, + "id": null, + "parameterSlots": 2, + "returnSlots": 0 + }, + "abi_encode_array_bytes4_dyn_calldata": { + "entryPoint": 2160, + "id": null, + "parameterSlots": 3, + "returnSlots": 1 + }, + "abi_encode_bytes4": { + "entryPoint": null, + "id": null, + "parameterSlots": 2, + "returnSlots": 0 + }, + "abi_encode_bytes_calldata": { + "entryPoint": 2267, + "id": null, + "parameterSlots": 3, + "returnSlots": 1 + }, + "abi_encode_enum_FacetCutAction": { + "entryPoint": 1065, + "id": null, + "parameterSlots": 2, + "returnSlots": 0 + }, + "abi_encode_struct_DiamondArgs": { + "entryPoint": null, + "id": null, + "parameterSlots": 2, + "returnSlots": 0 + }, + "abi_encode_tuple_packed_t_bytes32_t_address__to_t_bytes32_t_address__nonPadded_inplace_fromStack_reversed": { + "entryPoint": null, + "id": null, + "parameterSlots": 3, + "returnSlots": 1 + }, + "abi_encode_tuple_t_address__to_t_address__fromStack_reversed": { + "entryPoint": null, + "id": null, + "parameterSlots": 2, + "returnSlots": 1 + }, + "abi_encode_tuple_t_array$_t_struct$_FacetCut_$711_calldata_ptr_$dyn_calldata_ptr_t_address_t_bytes_calldata_ptr__to_t_array$_t_struct$_FacetCut_$711_memory_ptr_$dyn_memory_ptr_t_address_t_bytes_memory_ptr__fromStack_reversed": { + "entryPoint": 2340, + "id": null, + "parameterSlots": 6, + "returnSlots": 1 + }, + "abi_encode_tuple_t_array$_t_struct$_FacetCut_$711_storage_$dyn_storage_t_struct$_DiamondArgs_$310_memory_ptr__to_t_array$_t_struct$_FacetCut_$711_memory_ptr_$dyn_memory_ptr_t_struct$_DiamondArgs_$310_memory_ptr__fromStack_reversed": { + "entryPoint": 1125, + "id": null, + "parameterSlots": 3, + "returnSlots": 1 + }, + "abi_encode_tuple_t_contract$_Diamond_$436__to_t_address_payable__fromStack_reversed": { + "entryPoint": null, + "id": null, + "parameterSlots": 2, + "returnSlots": 1 + }, + "array_dataslot_array_struct_FacetCut_storage_dyn": { + "entryPoint": null, + "id": null, + "parameterSlots": 1, + "returnSlots": 1 + }, + "array_storeLengthForEncoding_array_struct_FacetCut_dyn": { + "entryPoint": null, + "id": null, + "parameterSlots": 2, + "returnSlots": 1 + } + }, + "generatedSources": [ + { + "ast": { + "nodeType": "YulBlock", + "src": "0:11732:11", + "statements": [ + { + "nodeType": "YulBlock", + "src": "6:3:11", + "statements": [] + }, + { + "body": { + "nodeType": "YulBlock", + "src": "63:147:11", + "statements": [ + { + "nodeType": "YulAssignment", + "src": "73:29:11", + "value": { + "arguments": [ + { + "name": "offset", + "nodeType": "YulIdentifier", + "src": "95:6:11" + } + ], + "functionName": { + "name": "calldataload", "nodeType": "YulIdentifier", - "src": "503:3:10" + "src": "82:12:11" }, "nodeType": "YulFunctionCall", - "src": "503:17:10" + "src": "82:20:11" }, "variableNames": [ { - "name": "arrayPos", + "name": "value", "nodeType": "YulIdentifier", - "src": "491:8:10" + "src": "73:5:11" } ] }, { "body": { "nodeType": "YulBlock", - "src": "572:16:10", + "src": "188:16:11", "statements": [ { "expression": { @@ -463,14 +639,14 @@ { "kind": "number", "nodeType": "YulLiteral", - "src": "581:1:10", + "src": "197:1:11", "type": "", "value": "0" }, { "kind": "number", "nodeType": "YulLiteral", - "src": "584:1:10", + "src": "200:1:11", "type": "", "value": "0" } @@ -478,13 +654,13 @@ "functionName": { "name": "revert", "nodeType": "YulIdentifier", - "src": "574:6:10" + "src": "190:6:11" }, "nodeType": "YulFunctionCall", - "src": "574:12:10" + "src": "190:12:11" }, "nodeType": "YulExpressionStatement", - "src": "574:12:10" + "src": "190:12:11" } ] }, @@ -492,128 +668,115 @@ "arguments": [ { "arguments": [ + { + "name": "value", + "nodeType": "YulIdentifier", + "src": "124:5:11" + }, { "arguments": [ { - "name": "offset", + "name": "value", "nodeType": "YulIdentifier", - "src": "543:6:10" + "src": "135:5:11" }, { - "name": "length", - "nodeType": "YulIdentifier", - "src": "551:6:10" + "kind": "number", + "nodeType": "YulLiteral", + "src": "142:42:11", + "type": "", + "value": "0xffffffffffffffffffffffffffffffffffffffff" } ], "functionName": { - "name": "add", + "name": "and", "nodeType": "YulIdentifier", - "src": "539:3:10" + "src": "131:3:11" }, "nodeType": "YulFunctionCall", - "src": "539:19:10" - }, - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "560:4:10", - "type": "", - "value": "0x20" + "src": "131:54:11" } ], "functionName": { - "name": "add", + "name": "eq", "nodeType": "YulIdentifier", - "src": "535:3:10" + "src": "121:2:11" }, "nodeType": "YulFunctionCall", - "src": "535:30:10" - }, - { - "name": "end", - "nodeType": "YulIdentifier", - "src": "567:3:10" + "src": "121:65:11" } ], "functionName": { - "name": "gt", + "name": "iszero", "nodeType": "YulIdentifier", - "src": "532:2:10" + "src": "114:6:11" }, "nodeType": "YulFunctionCall", - "src": "532:39:10" + "src": "114:73:11" }, "nodeType": "YulIf", - "src": "529:2:10" + "src": "111:93:11" } ] }, - "name": "abi_decode_t_bytes_calldata", + "name": "abi_decode_address", "nodeType": "YulFunctionDefinition", "parameters": [ { "name": "offset", "nodeType": "YulTypedName", - "src": "254:6:10", - "type": "" - }, - { - "name": "end", - "nodeType": "YulTypedName", - "src": "262:3:10", + "src": "42:6:11", "type": "" } ], "returnVariables": [ { - "name": "arrayPos", - "nodeType": "YulTypedName", - "src": "270:8:10", - "type": "" - }, - { - "name": "length", + "name": "value", "nodeType": "YulTypedName", - "src": "280:6:10", + "src": "53:5:11", "type": "" } ], - "src": "217:377:10" + "src": "14:196:11" }, { "body": { "nodeType": "YulBlock", - "src": "801:935:10", + "src": "287:275:11", "statements": [ { "body": { "nodeType": "YulBlock", - "src": "848:26:10", + "src": "336:16:11", "statements": [ { "expression": { "arguments": [ { - "name": "value4", - "nodeType": "YulIdentifier", - "src": "857:6:10" + "kind": "number", + "nodeType": "YulLiteral", + "src": "345:1:11", + "type": "", + "value": "0" }, { - "name": "value4", - "nodeType": "YulIdentifier", - "src": "865:6:10" + "kind": "number", + "nodeType": "YulLiteral", + "src": "348:1:11", + "type": "", + "value": "0" } ], "functionName": { "name": "revert", "nodeType": "YulIdentifier", - "src": "850:6:10" + "src": "338:6:11" }, "nodeType": "YulFunctionCall", - "src": "850:22:10" + "src": "338:12:11" }, "nodeType": "YulExpressionStatement", - "src": "850:22:10" + "src": "338:12:11" } ] }, @@ -622,253 +785,210 @@ { "arguments": [ { - "name": "dataEnd", - "nodeType": "YulIdentifier", - "src": "822:7:10" + "arguments": [ + { + "name": "offset", + "nodeType": "YulIdentifier", + "src": "315:6:11" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "323:4:11", + "type": "", + "value": "0x1f" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "311:3:11" + }, + "nodeType": "YulFunctionCall", + "src": "311:17:11" }, { - "name": "headStart", + "name": "end", "nodeType": "YulIdentifier", - "src": "831:9:10" + "src": "330:3:11" } ], "functionName": { - "name": "sub", + "name": "slt", "nodeType": "YulIdentifier", - "src": "818:3:10" + "src": "307:3:11" }, "nodeType": "YulFunctionCall", - "src": "818:23:10" - }, - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "843:3:10", - "type": "", - "value": "128" + "src": "307:27:11" } ], "functionName": { - "name": "slt", + "name": "iszero", "nodeType": "YulIdentifier", - "src": "814:3:10" + "src": "300:6:11" }, "nodeType": "YulFunctionCall", - "src": "814:33:10" + "src": "300:35:11" }, "nodeType": "YulIf", - "src": "811:2:10" + "src": "297:55:11" }, { "nodeType": "YulAssignment", - "src": "883:41:10", + "src": "361:30:11", "value": { "arguments": [ { - "name": "headStart", + "name": "offset", "nodeType": "YulIdentifier", - "src": "914:9:10" + "src": "384:6:11" } ], "functionName": { - "name": "abi_decode_t_address", + "name": "calldataload", "nodeType": "YulIdentifier", - "src": "893:20:10" + "src": "371:12:11" }, "nodeType": "YulFunctionCall", - "src": "893:31:10" + "src": "371:20:11" }, "variableNames": [ { - "name": "value0", + "name": "length", "nodeType": "YulIdentifier", - "src": "883:6:10" + "src": "361:6:11" } ] }, { - "nodeType": "YulVariableDeclaration", - "src": "933:46:10", - "value": { - "arguments": [ - { - "arguments": [ - { - "name": "headStart", - "nodeType": "YulIdentifier", - "src": "964:9:10" - }, - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "975:2:10", - "type": "", - "value": "32" - } - ], - "functionName": { - "name": "add", - "nodeType": "YulIdentifier", - "src": "960:3:10" - }, - "nodeType": "YulFunctionCall", - "src": "960:18:10" - } - ], - "functionName": { - "name": "calldataload", - "nodeType": "YulIdentifier", - "src": "947:12:10" - }, - "nodeType": "YulFunctionCall", - "src": "947:32:10" - }, - "variables": [ - { - "name": "offset", - "nodeType": "YulTypedName", - "src": "937:6:10", - "type": "" - } - ] - }, - { - "nodeType": "YulVariableDeclaration", - "src": "988:28:10", - "value": { - "kind": "number", - "nodeType": "YulLiteral", - "src": "998:18:10", - "type": "", - "value": "0xffffffffffffffff" - }, - "variables": [ - { - "name": "_1", - "nodeType": "YulTypedName", - "src": "992:2:10", - "type": "" - } - ] - }, - { - "body": { - "nodeType": "YulBlock", - "src": "1043:26:10", - "statements": [ + "body": { + "nodeType": "YulBlock", + "src": "434:16:11", + "statements": [ { "expression": { "arguments": [ { - "name": "value4", - "nodeType": "YulIdentifier", - "src": "1052:6:10" + "kind": "number", + "nodeType": "YulLiteral", + "src": "443:1:11", + "type": "", + "value": "0" }, { - "name": "value4", - "nodeType": "YulIdentifier", - "src": "1060:6:10" + "kind": "number", + "nodeType": "YulLiteral", + "src": "446:1:11", + "type": "", + "value": "0" } ], "functionName": { "name": "revert", "nodeType": "YulIdentifier", - "src": "1045:6:10" + "src": "436:6:11" }, "nodeType": "YulFunctionCall", - "src": "1045:22:10" + "src": "436:12:11" }, "nodeType": "YulExpressionStatement", - "src": "1045:22:10" + "src": "436:12:11" } ] }, "condition": { "arguments": [ { - "name": "offset", + "name": "length", "nodeType": "YulIdentifier", - "src": "1031:6:10" + "src": "406:6:11" }, { - "name": "_1", - "nodeType": "YulIdentifier", - "src": "1039:2:10" + "kind": "number", + "nodeType": "YulLiteral", + "src": "414:18:11", + "type": "", + "value": "0xffffffffffffffff" } ], "functionName": { "name": "gt", "nodeType": "YulIdentifier", - "src": "1028:2:10" + "src": "403:2:11" }, "nodeType": "YulFunctionCall", - "src": "1028:14:10" + "src": "403:30:11" }, "nodeType": "YulIf", - "src": "1025:2:10" + "src": "400:50:11" }, { - "nodeType": "YulVariableDeclaration", - "src": "1078:32:10", + "nodeType": "YulAssignment", + "src": "459:29:11", "value": { "arguments": [ { - "name": "headStart", + "name": "offset", "nodeType": "YulIdentifier", - "src": "1092:9:10" + "src": "475:6:11" }, { - "name": "offset", - "nodeType": "YulIdentifier", - "src": "1103:6:10" + "kind": "number", + "nodeType": "YulLiteral", + "src": "483:4:11", + "type": "", + "value": "0x20" } ], "functionName": { "name": "add", "nodeType": "YulIdentifier", - "src": "1088:3:10" + "src": "471:3:11" }, "nodeType": "YulFunctionCall", - "src": "1088:22:10" + "src": "471:17:11" }, - "variables": [ + "variableNames": [ { - "name": "_2", - "nodeType": "YulTypedName", - "src": "1082:2:10", - "type": "" + "name": "arrayPos", + "nodeType": "YulIdentifier", + "src": "459:8:11" } ] }, { "body": { "nodeType": "YulBlock", - "src": "1158:26:10", + "src": "540:16:11", "statements": [ { "expression": { "arguments": [ { - "name": "value4", - "nodeType": "YulIdentifier", - "src": "1167:6:10" + "kind": "number", + "nodeType": "YulLiteral", + "src": "549:1:11", + "type": "", + "value": "0" }, { - "name": "value4", - "nodeType": "YulIdentifier", - "src": "1175:6:10" + "kind": "number", + "nodeType": "YulLiteral", + "src": "552:1:11", + "type": "", + "value": "0" } ], "functionName": { "name": "revert", "nodeType": "YulIdentifier", - "src": "1160:6:10" + "src": "542:6:11" }, "nodeType": "YulFunctionCall", - "src": "1160:22:10" + "src": "542:12:11" }, "nodeType": "YulExpressionStatement", - "src": "1160:22:10" + "src": "542:12:11" } ] }, @@ -879,165 +999,129 @@ { "arguments": [ { - "name": "_2", + "name": "offset", "nodeType": "YulIdentifier", - "src": "1137:2:10" + "src": "511:6:11" }, { - "kind": "number", - "nodeType": "YulLiteral", - "src": "1141:4:10", - "type": "", - "value": "0x1f" + "name": "length", + "nodeType": "YulIdentifier", + "src": "519:6:11" } ], "functionName": { "name": "add", "nodeType": "YulIdentifier", - "src": "1133:3:10" + "src": "507:3:11" }, "nodeType": "YulFunctionCall", - "src": "1133:13:10" + "src": "507:19:11" }, { - "name": "dataEnd", - "nodeType": "YulIdentifier", - "src": "1148:7:10" + "kind": "number", + "nodeType": "YulLiteral", + "src": "528:4:11", + "type": "", + "value": "0x20" } ], "functionName": { - "name": "slt", + "name": "add", "nodeType": "YulIdentifier", - "src": "1129:3:10" + "src": "503:3:11" }, "nodeType": "YulFunctionCall", - "src": "1129:27:10" - } - ], - "functionName": { - "name": "iszero", - "nodeType": "YulIdentifier", - "src": "1122:6:10" - }, - "nodeType": "YulFunctionCall", - "src": "1122:35:10" - }, - "nodeType": "YulIf", - "src": "1119:2:10" - }, - { - "nodeType": "YulVariableDeclaration", - "src": "1193:30:10", - "value": { - "arguments": [ - { - "name": "_2", - "nodeType": "YulIdentifier", - "src": "1220:2:10" - } - ], - "functionName": { - "name": "calldataload", - "nodeType": "YulIdentifier", - "src": "1207:12:10" - }, - "nodeType": "YulFunctionCall", - "src": "1207:16:10" - }, - "variables": [ - { - "name": "length", - "nodeType": "YulTypedName", - "src": "1197:6:10", - "type": "" - } - ] - }, - { - "body": { - "nodeType": "YulBlock", - "src": "1250:26:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "name": "value4", - "nodeType": "YulIdentifier", - "src": "1259:6:10" - }, - { - "name": "value4", - "nodeType": "YulIdentifier", - "src": "1267:6:10" - } - ], - "functionName": { - "name": "revert", - "nodeType": "YulIdentifier", - "src": "1252:6:10" - }, - "nodeType": "YulFunctionCall", - "src": "1252:22:10" - }, - "nodeType": "YulExpressionStatement", - "src": "1252:22:10" - } - ] - }, - "condition": { - "arguments": [ - { - "name": "length", - "nodeType": "YulIdentifier", - "src": "1238:6:10" + "src": "503:30:11" }, { - "name": "_1", + "name": "end", "nodeType": "YulIdentifier", - "src": "1246:2:10" + "src": "535:3:11" } ], "functionName": { "name": "gt", "nodeType": "YulIdentifier", - "src": "1235:2:10" + "src": "500:2:11" }, "nodeType": "YulFunctionCall", - "src": "1235:14:10" + "src": "500:39:11" }, "nodeType": "YulIf", - "src": "1232:2:10" - }, + "src": "497:59:11" + } + ] + }, + "name": "abi_decode_bytes_calldata", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "offset", + "nodeType": "YulTypedName", + "src": "250:6:11", + "type": "" + }, + { + "name": "end", + "nodeType": "YulTypedName", + "src": "258:3:11", + "type": "" + } + ], + "returnVariables": [ + { + "name": "arrayPos", + "nodeType": "YulTypedName", + "src": "266:8:11", + "type": "" + }, + { + "name": "length", + "nodeType": "YulTypedName", + "src": "276:6:11", + "type": "" + } + ], + "src": "215:347:11" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "769:870:11", + "statements": [ { "body": { "nodeType": "YulBlock", - "src": "1335:26:10", + "src": "816:16:11", "statements": [ { "expression": { "arguments": [ { - "name": "value4", - "nodeType": "YulIdentifier", - "src": "1344:6:10" + "kind": "number", + "nodeType": "YulLiteral", + "src": "825:1:11", + "type": "", + "value": "0" }, { - "name": "value4", - "nodeType": "YulIdentifier", - "src": "1352:6:10" + "kind": "number", + "nodeType": "YulLiteral", + "src": "828:1:11", + "type": "", + "value": "0" } ], "functionName": { "name": "revert", "nodeType": "YulIdentifier", - "src": "1337:6:10" + "src": "818:6:11" }, "nodeType": "YulFunctionCall", - "src": "1337:22:10" + "src": "818:12:11" }, "nodeType": "YulExpressionStatement", - "src": "1337:22:10" + "src": "818:12:11" } ] }, @@ -1046,130 +1130,73 @@ { "arguments": [ { - "arguments": [ - { - "name": "_2", - "nodeType": "YulIdentifier", - "src": "1299:2:10" - }, - { - "arguments": [ - { - "name": "length", - "nodeType": "YulIdentifier", - "src": "1307:6:10" - }, - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "1315:2:10", - "type": "", - "value": "32" - } - ], - "functionName": { - "name": "mul", - "nodeType": "YulIdentifier", - "src": "1303:3:10" - }, - "nodeType": "YulFunctionCall", - "src": "1303:15:10" - } - ], - "functionName": { - "name": "add", - "nodeType": "YulIdentifier", - "src": "1295:3:10" - }, - "nodeType": "YulFunctionCall", - "src": "1295:24:10" + "name": "dataEnd", + "nodeType": "YulIdentifier", + "src": "790:7:11" }, { - "kind": "number", - "nodeType": "YulLiteral", - "src": "1321:2:10", - "type": "", - "value": "32" + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "799:9:11" } ], "functionName": { - "name": "add", + "name": "sub", "nodeType": "YulIdentifier", - "src": "1291:3:10" + "src": "786:3:11" }, "nodeType": "YulFunctionCall", - "src": "1291:33:10" + "src": "786:23:11" }, { - "name": "dataEnd", - "nodeType": "YulIdentifier", - "src": "1326:7:10" + "kind": "number", + "nodeType": "YulLiteral", + "src": "811:3:11", + "type": "", + "value": "128" } ], "functionName": { - "name": "gt", + "name": "slt", "nodeType": "YulIdentifier", - "src": "1288:2:10" + "src": "782:3:11" }, "nodeType": "YulFunctionCall", - "src": "1288:46:10" + "src": "782:33:11" }, "nodeType": "YulIf", - "src": "1285:2:10" + "src": "779:53:11" }, { "nodeType": "YulAssignment", - "src": "1370:21:10", + "src": "841:39:11", "value": { "arguments": [ { - "name": "_2", + "name": "headStart", "nodeType": "YulIdentifier", - "src": "1384:2:10" - }, - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "1388:2:10", - "type": "", - "value": "32" + "src": "870:9:11" } ], "functionName": { - "name": "add", + "name": "abi_decode_address", "nodeType": "YulIdentifier", - "src": "1380:3:10" + "src": "851:18:11" }, "nodeType": "YulFunctionCall", - "src": "1380:11:10" - }, - "variableNames": [ - { - "name": "value1", - "nodeType": "YulIdentifier", - "src": "1370:6:10" - } - ] - }, - { - "nodeType": "YulAssignment", - "src": "1400:16:10", - "value": { - "name": "length", - "nodeType": "YulIdentifier", - "src": "1410:6:10" + "src": "851:29:11" }, "variableNames": [ { - "name": "value2", + "name": "value0", "nodeType": "YulIdentifier", - "src": "1400:6:10" + "src": "841:6:11" } ] }, { "nodeType": "YulVariableDeclaration", - "src": "1425:48:10", + "src": "889:46:11", "value": { "arguments": [ { @@ -1177,38 +1204,57 @@ { "name": "headStart", "nodeType": "YulIdentifier", - "src": "1458:9:10" + "src": "920:9:11" }, { "kind": "number", "nodeType": "YulLiteral", - "src": "1469:2:10", + "src": "931:2:11", "type": "", - "value": "64" + "value": "32" } ], "functionName": { "name": "add", "nodeType": "YulIdentifier", - "src": "1454:3:10" + "src": "916:3:11" }, "nodeType": "YulFunctionCall", - "src": "1454:18:10" + "src": "916:18:11" } ], "functionName": { "name": "calldataload", "nodeType": "YulIdentifier", - "src": "1441:12:10" + "src": "903:12:11" }, "nodeType": "YulFunctionCall", - "src": "1441:32:10" + "src": "903:32:11" }, "variables": [ { - "name": "offset_1", + "name": "offset", + "nodeType": "YulTypedName", + "src": "893:6:11", + "type": "" + } + ] + }, + { + "nodeType": "YulVariableDeclaration", + "src": "944:28:11", + "value": { + "kind": "number", + "nodeType": "YulLiteral", + "src": "954:18:11", + "type": "", + "value": "0xffffffffffffffff" + }, + "variables": [ + { + "name": "_1", "nodeType": "YulTypedName", - "src": "1429:8:10", + "src": "948:2:11", "type": "" } ] @@ -1216,428 +1262,477 @@ { "body": { "nodeType": "YulBlock", - "src": "1502:26:10", + "src": "999:16:11", "statements": [ { "expression": { "arguments": [ { - "name": "value4", - "nodeType": "YulIdentifier", - "src": "1511:6:10" + "kind": "number", + "nodeType": "YulLiteral", + "src": "1008:1:11", + "type": "", + "value": "0" }, { - "name": "value4", - "nodeType": "YulIdentifier", - "src": "1519:6:10" + "kind": "number", + "nodeType": "YulLiteral", + "src": "1011:1:11", + "type": "", + "value": "0" } ], "functionName": { "name": "revert", "nodeType": "YulIdentifier", - "src": "1504:6:10" + "src": "1001:6:11" }, "nodeType": "YulFunctionCall", - "src": "1504:22:10" + "src": "1001:12:11" }, "nodeType": "YulExpressionStatement", - "src": "1504:22:10" + "src": "1001:12:11" } ] }, "condition": { "arguments": [ { - "name": "offset_1", + "name": "offset", "nodeType": "YulIdentifier", - "src": "1488:8:10" + "src": "987:6:11" }, { "name": "_1", "nodeType": "YulIdentifier", - "src": "1498:2:10" + "src": "995:2:11" } ], "functionName": { "name": "gt", "nodeType": "YulIdentifier", - "src": "1485:2:10" + "src": "984:2:11" }, "nodeType": "YulFunctionCall", - "src": "1485:16:10" + "src": "984:14:11" }, "nodeType": "YulIf", - "src": "1482:2:10" + "src": "981:34:11" }, { "nodeType": "YulVariableDeclaration", - "src": "1537:88:10", + "src": "1024:32:11", "value": { "arguments": [ { - "arguments": [ - { - "name": "headStart", - "nodeType": "YulIdentifier", - "src": "1595:9:10" - }, - { - "name": "offset_1", - "nodeType": "YulIdentifier", - "src": "1606:8:10" - } - ], - "functionName": { - "name": "add", - "nodeType": "YulIdentifier", - "src": "1591:3:10" - }, - "nodeType": "YulFunctionCall", - "src": "1591:24:10" + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "1038:9:11" }, { - "name": "dataEnd", + "name": "offset", "nodeType": "YulIdentifier", - "src": "1617:7:10" + "src": "1049:6:11" } ], "functionName": { - "name": "abi_decode_t_bytes_calldata", + "name": "add", "nodeType": "YulIdentifier", - "src": "1563:27:10" + "src": "1034:3:11" }, "nodeType": "YulFunctionCall", - "src": "1563:62:10" + "src": "1034:22:11" }, "variables": [ { - "name": "value3_1", - "nodeType": "YulTypedName", - "src": "1541:8:10", - "type": "" - }, - { - "name": "value4_1", + "name": "_2", "nodeType": "YulTypedName", - "src": "1551:8:10", + "src": "1028:2:11", "type": "" } ] }, { - "nodeType": "YulAssignment", - "src": "1634:18:10", - "value": { - "name": "value3_1", - "nodeType": "YulIdentifier", - "src": "1644:8:10" - }, - "variableNames": [ - { - "name": "value3", - "nodeType": "YulIdentifier", - "src": "1634:6:10" - } - ] - }, - { - "nodeType": "YulAssignment", - "src": "1661:18:10", - "value": { - "name": "value4_1", - "nodeType": "YulIdentifier", - "src": "1671:8:10" + "body": { + "nodeType": "YulBlock", + "src": "1104:16:11", + "statements": [ + { + "expression": { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "1113:1:11", + "type": "", + "value": "0" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "1116:1:11", + "type": "", + "value": "0" + } + ], + "functionName": { + "name": "revert", + "nodeType": "YulIdentifier", + "src": "1106:6:11" + }, + "nodeType": "YulFunctionCall", + "src": "1106:12:11" + }, + "nodeType": "YulExpressionStatement", + "src": "1106:12:11" + } + ] }, - "variableNames": [ - { - "name": "value4", - "nodeType": "YulIdentifier", - "src": "1661:6:10" - } - ] - }, - { - "nodeType": "YulAssignment", - "src": "1688:42:10", - "value": { + "condition": { "arguments": [ { "arguments": [ { - "name": "headStart", - "nodeType": "YulIdentifier", - "src": "1715:9:10" + "arguments": [ + { + "name": "_2", + "nodeType": "YulIdentifier", + "src": "1083:2:11" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "1087:4:11", + "type": "", + "value": "0x1f" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "1079:3:11" + }, + "nodeType": "YulFunctionCall", + "src": "1079:13:11" }, { - "kind": "number", - "nodeType": "YulLiteral", - "src": "1726:2:10", - "type": "", - "value": "96" + "name": "dataEnd", + "nodeType": "YulIdentifier", + "src": "1094:7:11" } ], "functionName": { - "name": "add", + "name": "slt", "nodeType": "YulIdentifier", - "src": "1711:3:10" + "src": "1075:3:11" }, "nodeType": "YulFunctionCall", - "src": "1711:18:10" + "src": "1075:27:11" } ], "functionName": { - "name": "calldataload", + "name": "iszero", "nodeType": "YulIdentifier", - "src": "1698:12:10" + "src": "1068:6:11" }, "nodeType": "YulFunctionCall", - "src": "1698:32:10" + "src": "1068:35:11" }, - "variableNames": [ - { - "name": "value5", - "nodeType": "YulIdentifier", - "src": "1688:6:10" - } - ] - } - ] - }, - "name": "abi_decode_tuple_t_addresst_array$_t_struct$_FacetCut_$679_calldata_ptr_$dyn_calldata_ptrt_bytes_calldata_ptrt_bytes32", - "nodeType": "YulFunctionDefinition", - "parameters": [ - { - "name": "headStart", - "nodeType": "YulTypedName", - "src": "727:9:10", - "type": "" - }, - { - "name": "dataEnd", - "nodeType": "YulTypedName", - "src": "738:7:10", - "type": "" - } - ], - "returnVariables": [ - { - "name": "value0", - "nodeType": "YulTypedName", - "src": "750:6:10", - "type": "" - }, - { - "name": "value1", - "nodeType": "YulTypedName", - "src": "758:6:10", - "type": "" - }, - { - "name": "value2", - "nodeType": "YulTypedName", - "src": "766:6:10", - "type": "" - }, - { - "name": "value3", - "nodeType": "YulTypedName", - "src": "774:6:10", - "type": "" - }, - { - "name": "value4", - "nodeType": "YulTypedName", - "src": "782:6:10", - "type": "" - }, - { - "name": "value5", - "nodeType": "YulTypedName", - "src": "790:6:10", - "type": "" - } - ], - "src": "599:1137:10" - }, - { - "body": { - "nodeType": "YulBlock", - "src": "1795:83:10", - "statements": [ + "nodeType": "YulIf", + "src": "1065:55:11" + }, { - "expression": { + "nodeType": "YulVariableDeclaration", + "src": "1129:30:11", + "value": { "arguments": [ { - "name": "pos", + "name": "_2", "nodeType": "YulIdentifier", - "src": "1812:3:10" - }, - { - "arguments": [ - { - "name": "value", - "nodeType": "YulIdentifier", - "src": "1821:5:10" - }, - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "1828:42:10", - "type": "", - "value": "0xffffffffffffffffffffffffffffffffffffffff" - } - ], - "functionName": { - "name": "and", - "nodeType": "YulIdentifier", - "src": "1817:3:10" - }, - "nodeType": "YulFunctionCall", - "src": "1817:54:10" + "src": "1156:2:11" } ], "functionName": { - "name": "mstore", + "name": "calldataload", "nodeType": "YulIdentifier", - "src": "1805:6:10" + "src": "1143:12:11" }, "nodeType": "YulFunctionCall", - "src": "1805:67:10" + "src": "1143:16:11" }, - "nodeType": "YulExpressionStatement", - "src": "1805:67:10" - } - ] - }, - "name": "abi_encode_t_address_payable", - "nodeType": "YulFunctionDefinition", - "parameters": [ - { - "name": "value", - "nodeType": "YulTypedName", - "src": "1779:5:10", - "type": "" - }, - { - "name": "pos", - "nodeType": "YulTypedName", - "src": "1786:3:10", - "type": "" - } - ], - "src": "1741:137:10" - }, - { - "body": { - "nodeType": "YulBlock", - "src": "1966:532:10", - "statements": [ + "variables": [ + { + "name": "length", + "nodeType": "YulTypedName", + "src": "1133:6:11", + "type": "" + } + ] + }, { - "expression": { + "body": { + "nodeType": "YulBlock", + "src": "1186:16:11", + "statements": [ + { + "expression": { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "1195:1:11", + "type": "", + "value": "0" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "1198:1:11", + "type": "", + "value": "0" + } + ], + "functionName": { + "name": "revert", + "nodeType": "YulIdentifier", + "src": "1188:6:11" + }, + "nodeType": "YulFunctionCall", + "src": "1188:12:11" + }, + "nodeType": "YulExpressionStatement", + "src": "1188:12:11" + } + ] + }, + "condition": { "arguments": [ { - "name": "pos", + "name": "length", "nodeType": "YulIdentifier", - "src": "1983:3:10" + "src": "1174:6:11" }, { - "name": "length", + "name": "_1", "nodeType": "YulIdentifier", - "src": "1988:6:10" + "src": "1182:2:11" } ], "functionName": { - "name": "mstore", + "name": "gt", "nodeType": "YulIdentifier", - "src": "1976:6:10" + "src": "1171:2:11" }, "nodeType": "YulFunctionCall", - "src": "1976:19:10" + "src": "1171:14:11" }, - "nodeType": "YulExpressionStatement", - "src": "1976:19:10" + "nodeType": "YulIf", + "src": "1168:34:11" }, { - "nodeType": "YulVariableDeclaration", - "src": "2004:14:10", - "value": { - "kind": "number", - "nodeType": "YulLiteral", - "src": "2014:4:10", - "type": "", - "value": "0x20" + "body": { + "nodeType": "YulBlock", + "src": "1260:16:11", + "statements": [ + { + "expression": { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "1269:1:11", + "type": "", + "value": "0" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "1272:1:11", + "type": "", + "value": "0" + } + ], + "functionName": { + "name": "revert", + "nodeType": "YulIdentifier", + "src": "1262:6:11" + }, + "nodeType": "YulFunctionCall", + "src": "1262:12:11" + }, + "nodeType": "YulExpressionStatement", + "src": "1262:12:11" + } + ] }, - "variables": [ - { - "name": "_1", - "nodeType": "YulTypedName", - "src": "2008:2:10", - "type": "" - } - ] + "condition": { + "arguments": [ + { + "arguments": [ + { + "arguments": [ + { + "name": "_2", + "nodeType": "YulIdentifier", + "src": "1225:2:11" + }, + { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "1233:1:11", + "type": "", + "value": "5" + }, + { + "name": "length", + "nodeType": "YulIdentifier", + "src": "1236:6:11" + } + ], + "functionName": { + "name": "shl", + "nodeType": "YulIdentifier", + "src": "1229:3:11" + }, + "nodeType": "YulFunctionCall", + "src": "1229:14:11" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "1221:3:11" + }, + "nodeType": "YulFunctionCall", + "src": "1221:23:11" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "1246:2:11", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "1217:3:11" + }, + "nodeType": "YulFunctionCall", + "src": "1217:32:11" + }, + { + "name": "dataEnd", + "nodeType": "YulIdentifier", + "src": "1251:7:11" + } + ], + "functionName": { + "name": "gt", + "nodeType": "YulIdentifier", + "src": "1214:2:11" + }, + "nodeType": "YulFunctionCall", + "src": "1214:45:11" + }, + "nodeType": "YulIf", + "src": "1211:65:11" }, { "nodeType": "YulAssignment", - "src": "2027:19:10", + "src": "1285:21:11", "value": { "arguments": [ { - "name": "pos", + "name": "_2", "nodeType": "YulIdentifier", - "src": "2038:3:10" + "src": "1299:2:11" }, { - "name": "_1", - "nodeType": "YulIdentifier", - "src": "2043:2:10" + "kind": "number", + "nodeType": "YulLiteral", + "src": "1303:2:11", + "type": "", + "value": "32" } ], "functionName": { "name": "add", "nodeType": "YulIdentifier", - "src": "2034:3:10" + "src": "1295:3:11" }, "nodeType": "YulFunctionCall", - "src": "2034:12:10" + "src": "1295:11:11" }, "variableNames": [ { - "name": "pos", + "name": "value1", "nodeType": "YulIdentifier", - "src": "2027:3:10" + "src": "1285:6:11" } ] }, { - "nodeType": "YulVariableDeclaration", - "src": "2055:19:10", + "nodeType": "YulAssignment", + "src": "1315:16:11", "value": { - "name": "value", + "name": "length", "nodeType": "YulIdentifier", - "src": "2069:5:10" + "src": "1325:6:11" }, - "variables": [ + "variableNames": [ { - "name": "srcPtr", - "nodeType": "YulTypedName", - "src": "2059:6:10", - "type": "" + "name": "value2", + "nodeType": "YulIdentifier", + "src": "1315:6:11" } ] }, { "nodeType": "YulVariableDeclaration", - "src": "2083:12:10", + "src": "1340:48:11", "value": { - "name": "end", - "nodeType": "YulIdentifier", - "src": "2092:3:10" + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "1373:9:11" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "1384:2:11", + "type": "", + "value": "64" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "1369:3:11" + }, + "nodeType": "YulFunctionCall", + "src": "1369:18:11" + } + ], + "functionName": { + "name": "calldataload", + "nodeType": "YulIdentifier", + "src": "1356:12:11" + }, + "nodeType": "YulFunctionCall", + "src": "1356:32:11" }, "variables": [ { - "name": "i", + "name": "offset_1", "nodeType": "YulTypedName", - "src": "2087:1:10", + "src": "1344:8:11", "type": "" } ] @@ -1645,420 +1740,367 @@ { "body": { "nodeType": "YulBlock", - "src": "2153:320:10", + "src": "1417:16:11", "statements": [ { - "nodeType": "YulVariableDeclaration", - "src": "2167:35:10", - "value": { - "arguments": [ - { - "name": "srcPtr", - "nodeType": "YulIdentifier", - "src": "2195:6:10" - } - ], - "functionName": { - "name": "calldataload", - "nodeType": "YulIdentifier", - "src": "2182:12:10" - }, - "nodeType": "YulFunctionCall", - "src": "2182:20:10" - }, - "variables": [ - { - "name": "value_1", - "nodeType": "YulTypedName", - "src": "2171:7:10", - "type": "" - } - ] - }, - { - "nodeType": "YulVariableDeclaration", - "src": "2215:90:10", - "value": { + "expression": { "arguments": [ { - "name": "value_1", - "nodeType": "YulIdentifier", - "src": "2229:7:10" + "kind": "number", + "nodeType": "YulLiteral", + "src": "1426:1:11", + "type": "", + "value": "0" }, { "kind": "number", "nodeType": "YulLiteral", - "src": "2238:66:10", + "src": "1429:1:11", "type": "", - "value": "0xffffffff00000000000000000000000000000000000000000000000000000000" + "value": "0" } ], "functionName": { - "name": "and", + "name": "revert", "nodeType": "YulIdentifier", - "src": "2225:3:10" + "src": "1419:6:11" }, "nodeType": "YulFunctionCall", - "src": "2225:80:10" - }, - "variables": [ - { - "name": "_2", - "nodeType": "YulTypedName", - "src": "2219:2:10", - "type": "" - } - ] - }, - { - "body": { - "nodeType": "YulBlock", - "src": "2345:20:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "name": "end", - "nodeType": "YulIdentifier", - "src": "2354:3:10" - }, - { - "name": "end", - "nodeType": "YulIdentifier", - "src": "2359:3:10" - } - ], - "functionName": { - "name": "revert", - "nodeType": "YulIdentifier", - "src": "2347:6:10" - }, - "nodeType": "YulFunctionCall", - "src": "2347:16:10" - }, - "nodeType": "YulExpressionStatement", - "src": "2347:16:10" - } - ] - }, - "condition": { - "arguments": [ - { - "arguments": [ - { - "name": "value_1", - "nodeType": "YulIdentifier", - "src": "2331:7:10" - }, - { - "name": "_2", - "nodeType": "YulIdentifier", - "src": "2340:2:10" - } - ], - "functionName": { - "name": "eq", - "nodeType": "YulIdentifier", - "src": "2328:2:10" - }, - "nodeType": "YulFunctionCall", - "src": "2328:15:10" - } - ], - "functionName": { - "name": "iszero", - "nodeType": "YulIdentifier", - "src": "2321:6:10" - }, - "nodeType": "YulFunctionCall", - "src": "2321:23:10" - }, - "nodeType": "YulIf", - "src": "2318:2:10" - }, - { - "expression": { - "arguments": [ - { - "name": "pos", - "nodeType": "YulIdentifier", - "src": "2385:3:10" - }, - { - "name": "_2", - "nodeType": "YulIdentifier", - "src": "2390:2:10" - } - ], - "functionName": { - "name": "mstore", - "nodeType": "YulIdentifier", - "src": "2378:6:10" - }, - "nodeType": "YulFunctionCall", - "src": "2378:15:10" + "src": "1419:12:11" }, "nodeType": "YulExpressionStatement", - "src": "2378:15:10" - }, - { - "nodeType": "YulAssignment", - "src": "2406:19:10", - "value": { - "arguments": [ - { - "name": "pos", - "nodeType": "YulIdentifier", - "src": "2417:3:10" - }, - { - "name": "_1", - "nodeType": "YulIdentifier", - "src": "2422:2:10" - } - ], - "functionName": { - "name": "add", - "nodeType": "YulIdentifier", - "src": "2413:3:10" - }, - "nodeType": "YulFunctionCall", - "src": "2413:12:10" - }, - "variableNames": [ - { - "name": "pos", - "nodeType": "YulIdentifier", - "src": "2406:3:10" - } - ] - }, - { - "nodeType": "YulAssignment", - "src": "2438:25:10", - "value": { - "arguments": [ - { - "name": "srcPtr", - "nodeType": "YulIdentifier", - "src": "2452:6:10" - }, - { - "name": "_1", - "nodeType": "YulIdentifier", - "src": "2460:2:10" - } - ], - "functionName": { - "name": "add", - "nodeType": "YulIdentifier", - "src": "2448:3:10" - }, - "nodeType": "YulFunctionCall", - "src": "2448:15:10" - }, - "variableNames": [ - { - "name": "srcPtr", - "nodeType": "YulIdentifier", - "src": "2438:6:10" - } - ] + "src": "1419:12:11" } ] }, "condition": { "arguments": [ { - "name": "i", + "name": "offset_1", "nodeType": "YulIdentifier", - "src": "2115:1:10" + "src": "1403:8:11" }, { - "name": "length", + "name": "_1", "nodeType": "YulIdentifier", - "src": "2118:6:10" + "src": "1413:2:11" } ], "functionName": { - "name": "lt", + "name": "gt", "nodeType": "YulIdentifier", - "src": "2112:2:10" + "src": "1400:2:11" }, "nodeType": "YulFunctionCall", - "src": "2112:13:10" + "src": "1400:16:11" }, - "nodeType": "YulForLoop", - "post": { - "nodeType": "YulBlock", - "src": "2126:18:10", - "statements": [ + "nodeType": "YulIf", + "src": "1397:36:11" + }, + { + "nodeType": "YulVariableDeclaration", + "src": "1442:86:11", + "value": { + "arguments": [ { - "nodeType": "YulAssignment", - "src": "2128:14:10", - "value": { - "arguments": [ - { - "name": "i", - "nodeType": "YulIdentifier", - "src": "2137:1:10" - }, - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "2140:1:10", - "type": "", - "value": "1" - } - ], - "functionName": { - "name": "add", + "arguments": [ + { + "name": "headStart", "nodeType": "YulIdentifier", - "src": "2133:3:10" + "src": "1498:9:11" }, - "nodeType": "YulFunctionCall", - "src": "2133:9:10" - }, - "variableNames": [ { - "name": "i", + "name": "offset_1", "nodeType": "YulIdentifier", - "src": "2128:1:10" + "src": "1509:8:11" } - ] + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "1494:3:11" + }, + "nodeType": "YulFunctionCall", + "src": "1494:24:11" + }, + { + "name": "dataEnd", + "nodeType": "YulIdentifier", + "src": "1520:7:11" } - ] + ], + "functionName": { + "name": "abi_decode_bytes_calldata", + "nodeType": "YulIdentifier", + "src": "1468:25:11" + }, + "nodeType": "YulFunctionCall", + "src": "1468:60:11" }, - "pre": { - "nodeType": "YulBlock", - "src": "2108:3:10", - "statements": [] + "variables": [ + { + "name": "value3_1", + "nodeType": "YulTypedName", + "src": "1446:8:11", + "type": "" + }, + { + "name": "value4_1", + "nodeType": "YulTypedName", + "src": "1456:8:11", + "type": "" + } + ] + }, + { + "nodeType": "YulAssignment", + "src": "1537:18:11", + "value": { + "name": "value3_1", + "nodeType": "YulIdentifier", + "src": "1547:8:11" }, - "src": "2104:369:10" + "variableNames": [ + { + "name": "value3", + "nodeType": "YulIdentifier", + "src": "1537:6:11" + } + ] }, { "nodeType": "YulAssignment", - "src": "2482:10:10", + "src": "1564:18:11", "value": { - "name": "pos", + "name": "value4_1", "nodeType": "YulIdentifier", - "src": "2489:3:10" + "src": "1574:8:11" }, "variableNames": [ { - "name": "end", + "name": "value4", + "nodeType": "YulIdentifier", + "src": "1564:6:11" + } + ] + }, + { + "nodeType": "YulAssignment", + "src": "1591:42:11", + "value": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "1618:9:11" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "1629:2:11", + "type": "", + "value": "96" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "1614:3:11" + }, + "nodeType": "YulFunctionCall", + "src": "1614:18:11" + } + ], + "functionName": { + "name": "calldataload", + "nodeType": "YulIdentifier", + "src": "1601:12:11" + }, + "nodeType": "YulFunctionCall", + "src": "1601:32:11" + }, + "variableNames": [ + { + "name": "value5", "nodeType": "YulIdentifier", - "src": "2482:3:10" + "src": "1591:6:11" } ] } ] }, - "name": "abi_encode_t_array$_t_bytes4_$dyn_calldata", + "name": "abi_decode_tuple_t_addresst_array$_t_struct$_FacetCut_$711_calldata_ptr_$dyn_calldata_ptrt_bytes_calldata_ptrt_bytes32", "nodeType": "YulFunctionDefinition", "parameters": [ { - "name": "value", + "name": "headStart", "nodeType": "YulTypedName", - "src": "1935:5:10", + "src": "695:9:11", "type": "" }, { - "name": "length", + "name": "dataEnd", "nodeType": "YulTypedName", - "src": "1942:6:10", - "type": "" - }, - { - "name": "pos", - "nodeType": "YulTypedName", - "src": "1950:3:10", + "src": "706:7:11", "type": "" } ], "returnVariables": [ { - "name": "end", + "name": "value0", + "nodeType": "YulTypedName", + "src": "718:6:11", + "type": "" + }, + { + "name": "value1", + "nodeType": "YulTypedName", + "src": "726:6:11", + "type": "" + }, + { + "name": "value2", + "nodeType": "YulTypedName", + "src": "734:6:11", + "type": "" + }, + { + "name": "value3", + "nodeType": "YulTypedName", + "src": "742:6:11", + "type": "" + }, + { + "name": "value4", "nodeType": "YulTypedName", - "src": "1958:3:10", + "src": "750:6:11", + "type": "" + }, + { + "name": "value5", + "nodeType": "YulTypedName", + "src": "758:6:11", "type": "" } ], - "src": "1883:615:10" + "src": "567:1072:11" }, { "body": { "nodeType": "YulBlock", - "src": "2548:107:10", + "src": "1768:125:11", "statements": [ + { + "nodeType": "YulAssignment", + "src": "1778:26:11", + "value": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "1790:9:11" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "1801:2:11", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "1786:3:11" + }, + "nodeType": "YulFunctionCall", + "src": "1786:18:11" + }, + "variableNames": [ + { + "name": "tail", + "nodeType": "YulIdentifier", + "src": "1778:4:11" + } + ] + }, { "expression": { "arguments": [ { - "name": "pos", + "name": "headStart", "nodeType": "YulIdentifier", - "src": "2565:3:10" + "src": "1820:9:11" }, { "arguments": [ { - "name": "value", + "name": "value0", "nodeType": "YulIdentifier", - "src": "2574:5:10" + "src": "1835:6:11" }, { "kind": "number", "nodeType": "YulLiteral", - "src": "2581:66:10", + "src": "1843:42:11", "type": "", - "value": "0xffffffff00000000000000000000000000000000000000000000000000000000" + "value": "0xffffffffffffffffffffffffffffffffffffffff" } ], "functionName": { "name": "and", "nodeType": "YulIdentifier", - "src": "2570:3:10" + "src": "1831:3:11" }, "nodeType": "YulFunctionCall", - "src": "2570:78:10" + "src": "1831:55:11" } ], "functionName": { "name": "mstore", "nodeType": "YulIdentifier", - "src": "2558:6:10" + "src": "1813:6:11" }, "nodeType": "YulFunctionCall", - "src": "2558:91:10" + "src": "1813:74:11" }, "nodeType": "YulExpressionStatement", - "src": "2558:91:10" + "src": "1813:74:11" } ] }, - "name": "abi_encode_t_bytes4", + "name": "abi_encode_tuple_t_contract$_Diamond_$436__to_t_address_payable__fromStack_reversed", "nodeType": "YulFunctionDefinition", "parameters": [ { - "name": "value", + "name": "headStart", "nodeType": "YulTypedName", - "src": "2532:5:10", + "src": "1737:9:11", "type": "" }, { - "name": "pos", + "name": "value0", + "nodeType": "YulTypedName", + "src": "1748:6:11", + "type": "" + } + ], + "returnVariables": [ + { + "name": "tail", "nodeType": "YulTypedName", - "src": "2539:3:10", + "src": "1759:4:11", "type": "" } ], - "src": "2503:152:10" + "src": "1644:249:11" }, { "body": { "nodeType": "YulBlock", - "src": "2728:261:10", + "src": "2045:182:11", "statements": [ { "expression": { @@ -2066,24 +2108,24 @@ { "name": "pos", "nodeType": "YulIdentifier", - "src": "2745:3:10" + "src": "2062:3:11" }, { - "name": "length", + "name": "value0", "nodeType": "YulIdentifier", - "src": "2750:6:10" + "src": "2067:6:11" } ], "functionName": { "name": "mstore", "nodeType": "YulIdentifier", - "src": "2738:6:10" + "src": "2055:6:11" }, "nodeType": "YulFunctionCall", - "src": "2738:19:10" + "src": "2055:19:11" }, "nodeType": "YulExpressionStatement", - "src": "2738:19:10" + "src": "2055:19:11" }, { "expression": { @@ -2093,212 +2135,132 @@ { "name": "pos", "nodeType": "YulIdentifier", - "src": "2783:3:10" + "src": "2094:3:11" }, { "kind": "number", "nodeType": "YulLiteral", - "src": "2788:4:10", + "src": "2099:2:11", "type": "", - "value": "0x20" + "value": "32" } ], "functionName": { "name": "add", "nodeType": "YulIdentifier", - "src": "2779:3:10" + "src": "2090:3:11" }, "nodeType": "YulFunctionCall", - "src": "2779:14:10" - }, - { - "name": "start", - "nodeType": "YulIdentifier", - "src": "2795:5:10" + "src": "2090:12:11" }, - { - "name": "length", - "nodeType": "YulIdentifier", - "src": "2802:6:10" - } - ], - "functionName": { - "name": "calldatacopy", - "nodeType": "YulIdentifier", - "src": "2766:12:10" - }, - "nodeType": "YulFunctionCall", - "src": "2766:43:10" - }, - "nodeType": "YulExpressionStatement", - "src": "2766:43:10" - }, - { - "expression": { - "arguments": [ { "arguments": [ { "arguments": [ { - "name": "pos", - "nodeType": "YulIdentifier", - "src": "2833:3:10" + "kind": "number", + "nodeType": "YulLiteral", + "src": "2112:2:11", + "type": "", + "value": "96" }, { - "name": "length", + "name": "value1", "nodeType": "YulIdentifier", - "src": "2838:6:10" + "src": "2116:6:11" } ], "functionName": { - "name": "add", + "name": "shl", "nodeType": "YulIdentifier", - "src": "2829:3:10" + "src": "2108:3:11" }, "nodeType": "YulFunctionCall", - "src": "2829:16:10" + "src": "2108:15:11" }, { "kind": "number", "nodeType": "YulLiteral", - "src": "2847:4:10", + "src": "2125:66:11", "type": "", - "value": "0x20" + "value": "0xffffffffffffffffffffffffffffffffffffffff000000000000000000000000" } ], "functionName": { - "name": "add", + "name": "and", "nodeType": "YulIdentifier", - "src": "2825:3:10" + "src": "2104:3:11" }, "nodeType": "YulFunctionCall", - "src": "2825:27:10" - }, - { - "name": "end", - "nodeType": "YulIdentifier", - "src": "2854:3:10" + "src": "2104:88:11" } ], "functionName": { "name": "mstore", "nodeType": "YulIdentifier", - "src": "2818:6:10" + "src": "2083:6:11" }, "nodeType": "YulFunctionCall", - "src": "2818:40:10" + "src": "2083:110:11" }, "nodeType": "YulExpressionStatement", - "src": "2818:40:10" + "src": "2083:110:11" }, { "nodeType": "YulAssignment", - "src": "2867:116:10", + "src": "2202:19:11", "value": { "arguments": [ { - "arguments": [ - { - "name": "pos", - "nodeType": "YulIdentifier", - "src": "2882:3:10" - }, - { - "arguments": [ - { - "arguments": [ - { - "name": "length", - "nodeType": "YulIdentifier", - "src": "2895:6:10" - }, - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "2903:2:10", - "type": "", - "value": "31" - } - ], - "functionName": { - "name": "add", - "nodeType": "YulIdentifier", - "src": "2891:3:10" - }, - "nodeType": "YulFunctionCall", - "src": "2891:15:10" - }, - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "2908:66:10", - "type": "", - "value": "0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0" - } - ], - "functionName": { - "name": "and", - "nodeType": "YulIdentifier", - "src": "2887:3:10" - }, - "nodeType": "YulFunctionCall", - "src": "2887:88:10" - } - ], - "functionName": { - "name": "add", - "nodeType": "YulIdentifier", - "src": "2878:3:10" - }, - "nodeType": "YulFunctionCall", - "src": "2878:98:10" + "name": "pos", + "nodeType": "YulIdentifier", + "src": "2213:3:11" }, { "kind": "number", "nodeType": "YulLiteral", - "src": "2978:4:10", + "src": "2218:2:11", "type": "", - "value": "0x20" + "value": "52" } ], "functionName": { "name": "add", "nodeType": "YulIdentifier", - "src": "2874:3:10" + "src": "2209:3:11" }, "nodeType": "YulFunctionCall", - "src": "2874:109:10" + "src": "2209:12:11" }, "variableNames": [ { "name": "end", "nodeType": "YulIdentifier", - "src": "2867:3:10" + "src": "2202:3:11" } ] } ] }, - "name": "abi_encode_t_bytes_calldata", + "name": "abi_encode_tuple_packed_t_bytes32_t_address__to_t_bytes32_t_address__nonPadded_inplace_fromStack_reversed", "nodeType": "YulFunctionDefinition", "parameters": [ { - "name": "start", + "name": "pos", "nodeType": "YulTypedName", - "src": "2697:5:10", + "src": "2013:3:11", "type": "" }, { - "name": "length", + "name": "value1", "nodeType": "YulTypedName", - "src": "2704:6:10", + "src": "2018:6:11", "type": "" }, { - "name": "pos", + "name": "value0", "nodeType": "YulTypedName", - "src": "2712:3:10", + "src": "2026:6:11", "type": "" } ], @@ -2306,155 +2268,218 @@ { "name": "end", "nodeType": "YulTypedName", - "src": "2720:3:10", + "src": "2037:3:11", "type": "" } ], - "src": "2660:329:10" + "src": "1898:329:11" }, { "body": { "nodeType": "YulBlock", - "src": "3053:80:10", + "src": "2328:73:11", "statements": [ { - "body": { - "nodeType": "YulBlock", - "src": "3087:13:10", - "statements": [ - { - "expression": { - "arguments": [], - "functionName": { - "name": "invalid", - "nodeType": "YulIdentifier", - "src": "3089:7:10" - }, - "nodeType": "YulFunctionCall", - "src": "3089:9:10" - }, - "nodeType": "YulExpressionStatement", - "src": "3089:9:10" - } - ] - }, - "condition": { + "expression": { "arguments": [ { - "arguments": [ - { - "name": "value", - "nodeType": "YulIdentifier", - "src": "3076:5:10" - }, - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "3083:1:10", - "type": "", - "value": "3" - } - ], - "functionName": { - "name": "lt", - "nodeType": "YulIdentifier", - "src": "3073:2:10" - }, - "nodeType": "YulFunctionCall", - "src": "3073:12:10" + "name": "pos", + "nodeType": "YulIdentifier", + "src": "2345:3:11" + }, + { + "name": "length", + "nodeType": "YulIdentifier", + "src": "2350:6:11" } ], "functionName": { - "name": "iszero", + "name": "mstore", "nodeType": "YulIdentifier", - "src": "3066:6:10" + "src": "2338:6:11" }, "nodeType": "YulFunctionCall", - "src": "3066:20:10" + "src": "2338:19:11" }, - "nodeType": "YulIf", - "src": "3063:2:10" + "nodeType": "YulExpressionStatement", + "src": "2338:19:11" }, { - "expression": { + "nodeType": "YulAssignment", + "src": "2366:29:11", + "value": { "arguments": [ { "name": "pos", "nodeType": "YulIdentifier", - "src": "3116:3:10" + "src": "2385:3:11" }, { - "name": "value", - "nodeType": "YulIdentifier", - "src": "3121:5:10" + "kind": "number", + "nodeType": "YulLiteral", + "src": "2390:4:11", + "type": "", + "value": "0x20" } ], "functionName": { - "name": "mstore", + "name": "add", "nodeType": "YulIdentifier", - "src": "3109:6:10" + "src": "2381:3:11" }, "nodeType": "YulFunctionCall", - "src": "3109:18:10" + "src": "2381:14:11" }, - "nodeType": "YulExpressionStatement", - "src": "3109:18:10" + "variableNames": [ + { + "name": "updated_pos", + "nodeType": "YulIdentifier", + "src": "2366:11:11" + } + ] } ] }, - "name": "abi_encode_t_enum$_FacetCutAction", + "name": "array_storeLengthForEncoding_array_struct_FacetCut_dyn", "nodeType": "YulFunctionDefinition", "parameters": [ { - "name": "value", + "name": "pos", "nodeType": "YulTypedName", - "src": "3037:5:10", + "src": "2296:3:11", "type": "" }, { - "name": "pos", + "name": "length", + "nodeType": "YulTypedName", + "src": "2301:6:11", + "type": "" + } + ], + "returnVariables": [ + { + "name": "updated_pos", "nodeType": "YulTypedName", - "src": "3044:3:10", + "src": "2312:11:11", "type": "" } ], - "src": "2994:139:10" + "src": "2232:169:11" }, { "body": { "nodeType": "YulBlock", - "src": "3196:90:10", + "src": "2481:65:11", "statements": [ { "expression": { "arguments": [ { - "name": "pos", - "nodeType": "YulIdentifier", - "src": "3213:3:10" + "kind": "number", + "nodeType": "YulLiteral", + "src": "2498:1:11", + "type": "", + "value": "0" }, { - "arguments": [ - { - "arguments": [ - { - "name": "value", - "nodeType": "YulIdentifier", - "src": "3228:5:10" - } - ], - "functionName": { - "name": "mload", - "nodeType": "YulIdentifier", - "src": "3222:5:10" - }, - "nodeType": "YulFunctionCall", - "src": "3222:12:10" + "name": "ptr", + "nodeType": "YulIdentifier", + "src": "2501:3:11" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "2491:6:11" + }, + "nodeType": "YulFunctionCall", + "src": "2491:14:11" + }, + "nodeType": "YulExpressionStatement", + "src": "2491:14:11" + }, + { + "nodeType": "YulAssignment", + "src": "2514:26:11", + "value": { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "2532:1:11", + "type": "", + "value": "0" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "2535:4:11", + "type": "", + "value": "0x20" + } + ], + "functionName": { + "name": "keccak256", + "nodeType": "YulIdentifier", + "src": "2522:9:11" + }, + "nodeType": "YulFunctionCall", + "src": "2522:18:11" + }, + "variableNames": [ + { + "name": "data", + "nodeType": "YulIdentifier", + "src": "2514:4:11" + } + ] + } + ] + }, + "name": "array_dataslot_array_struct_FacetCut_storage_dyn", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "ptr", + "nodeType": "YulTypedName", + "src": "2464:3:11", + "type": "" + } + ], + "returnVariables": [ + { + "name": "data", + "nodeType": "YulTypedName", + "src": "2472:4:11", + "type": "" + } + ], + "src": "2406:140:11" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "2595:83:11", + "statements": [ + { + "expression": { + "arguments": [ + { + "name": "pos", + "nodeType": "YulIdentifier", + "src": "2612:3:11" + }, + { + "arguments": [ + { + "name": "value", + "nodeType": "YulIdentifier", + "src": "2621:5:11" }, { "kind": "number", "nodeType": "YulLiteral", - "src": "3236:42:10", + "src": "2628:42:11", "type": "", "value": "0xffffffffffffffffffffffffffffffffffffffff" } @@ -2462,278 +2487,327 @@ "functionName": { "name": "and", "nodeType": "YulIdentifier", - "src": "3218:3:10" + "src": "2617:3:11" }, "nodeType": "YulFunctionCall", - "src": "3218:61:10" + "src": "2617:54:11" } ], "functionName": { "name": "mstore", "nodeType": "YulIdentifier", - "src": "3206:6:10" + "src": "2605:6:11" }, "nodeType": "YulFunctionCall", - "src": "3206:74:10" + "src": "2605:67:11" }, "nodeType": "YulExpressionStatement", - "src": "3206:74:10" + "src": "2605:67:11" } ] }, - "name": "abi_encode_t_struct$_DiamondArgs", + "name": "abi_encode_address", "nodeType": "YulFunctionDefinition", "parameters": [ { "name": "value", "nodeType": "YulTypedName", - "src": "3180:5:10", + "src": "2579:5:11", "type": "" }, { "name": "pos", "nodeType": "YulTypedName", - "src": "3187:3:10", + "src": "2586:3:11", "type": "" } ], - "src": "3138:148:10" + "src": "2551:127:11" }, { "body": { "nodeType": "YulBlock", - "src": "3438:182:10", + "src": "2739:243:11", "statements": [ { - "expression": { - "arguments": [ + "body": { + "nodeType": "YulBlock", + "src": "2781:168:11", + "statements": [ { - "name": "pos", - "nodeType": "YulIdentifier", - "src": "3455:3:10" + "expression": { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "2802:1:11", + "type": "", + "value": "0" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "2805:77:11", + "type": "", + "value": "35408467139433450592217433187231851964531694900788300625387963629091585785856" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "2795:6:11" + }, + "nodeType": "YulFunctionCall", + "src": "2795:88:11" + }, + "nodeType": "YulExpressionStatement", + "src": "2795:88:11" }, { - "name": "value0", - "nodeType": "YulIdentifier", - "src": "3460:6:10" - } - ], - "functionName": { - "name": "mstore", - "nodeType": "YulIdentifier", - "src": "3448:6:10" - }, - "nodeType": "YulFunctionCall", - "src": "3448:19:10" - }, - "nodeType": "YulExpressionStatement", - "src": "3448:19:10" - }, - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "name": "pos", + "expression": { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "2903:1:11", + "type": "", + "value": "4" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "2906:4:11", + "type": "", + "value": "0x21" + } + ], + "functionName": { + "name": "mstore", "nodeType": "YulIdentifier", - "src": "3487:3:10" + "src": "2896:6:11" }, - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "3492:2:10", - "type": "", - "value": "32" - } - ], - "functionName": { - "name": "add", - "nodeType": "YulIdentifier", - "src": "3483:3:10" + "nodeType": "YulFunctionCall", + "src": "2896:15:11" }, - "nodeType": "YulFunctionCall", - "src": "3483:12:10" + "nodeType": "YulExpressionStatement", + "src": "2896:15:11" }, + { + "expression": { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "2931:1:11", + "type": "", + "value": "0" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "2934:4:11", + "type": "", + "value": "0x24" + } + ], + "functionName": { + "name": "revert", + "nodeType": "YulIdentifier", + "src": "2924:6:11" + }, + "nodeType": "YulFunctionCall", + "src": "2924:15:11" + }, + "nodeType": "YulExpressionStatement", + "src": "2924:15:11" + } + ] + }, + "condition": { + "arguments": [ { "arguments": [ { - "arguments": [ - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "3505:2:10", - "type": "", - "value": "96" - }, - { - "name": "value1", - "nodeType": "YulIdentifier", - "src": "3509:6:10" - } - ], - "functionName": { - "name": "shl", - "nodeType": "YulIdentifier", - "src": "3501:3:10" - }, - "nodeType": "YulFunctionCall", - "src": "3501:15:10" + "name": "value", + "nodeType": "YulIdentifier", + "src": "2762:5:11" }, { "kind": "number", "nodeType": "YulLiteral", - "src": "3518:66:10", + "src": "2769:1:11", "type": "", - "value": "0xffffffffffffffffffffffffffffffffffffffff000000000000000000000000" + "value": "3" } ], "functionName": { - "name": "and", + "name": "lt", "nodeType": "YulIdentifier", - "src": "3497:3:10" + "src": "2759:2:11" }, "nodeType": "YulFunctionCall", - "src": "3497:88:10" + "src": "2759:12:11" } ], "functionName": { - "name": "mstore", + "name": "iszero", "nodeType": "YulIdentifier", - "src": "3476:6:10" + "src": "2752:6:11" }, "nodeType": "YulFunctionCall", - "src": "3476:110:10" + "src": "2752:20:11" }, - "nodeType": "YulExpressionStatement", - "src": "3476:110:10" + "nodeType": "YulIf", + "src": "2749:200:11" }, { - "nodeType": "YulAssignment", - "src": "3595:19:10", - "value": { + "expression": { "arguments": [ { "name": "pos", "nodeType": "YulIdentifier", - "src": "3606:3:10" + "src": "2965:3:11" }, { - "kind": "number", - "nodeType": "YulLiteral", - "src": "3611:2:10", - "type": "", - "value": "52" + "name": "value", + "nodeType": "YulIdentifier", + "src": "2970:5:11" } ], "functionName": { - "name": "add", + "name": "mstore", "nodeType": "YulIdentifier", - "src": "3602:3:10" + "src": "2958:6:11" }, "nodeType": "YulFunctionCall", - "src": "3602:12:10" + "src": "2958:18:11" }, - "variableNames": [ - { - "name": "end", - "nodeType": "YulIdentifier", - "src": "3595:3:10" - } - ] + "nodeType": "YulExpressionStatement", + "src": "2958:18:11" } ] }, - "name": "abi_encode_tuple_packed_t_bytes32_t_address__to_t_bytes32_t_address__nonPadded_inplace_fromStack_reversed", + "name": "abi_encode_enum_FacetCutAction", "nodeType": "YulFunctionDefinition", "parameters": [ { - "name": "pos", - "nodeType": "YulTypedName", - "src": "3406:3:10", - "type": "" - }, - { - "name": "value1", + "name": "value", "nodeType": "YulTypedName", - "src": "3411:6:10", + "src": "2723:5:11", "type": "" }, { - "name": "value0", - "nodeType": "YulTypedName", - "src": "3419:6:10", - "type": "" - } - ], - "returnVariables": [ - { - "name": "end", + "name": "pos", "nodeType": "YulTypedName", - "src": "3430:3:10", + "src": "2730:3:11", "type": "" } ], - "src": "3291:329:10" + "src": "2683:299:11" }, { "body": { "nodeType": "YulBlock", - "src": "3726:125:10", + "src": "3030:107:11", "statements": [ { - "nodeType": "YulAssignment", - "src": "3736:26:10", - "value": { + "expression": { "arguments": [ { - "name": "headStart", + "name": "pos", "nodeType": "YulIdentifier", - "src": "3748:9:10" + "src": "3047:3:11" }, { - "kind": "number", - "nodeType": "YulLiteral", - "src": "3759:2:10", - "type": "", - "value": "32" - } - ], + "arguments": [ + { + "name": "value", + "nodeType": "YulIdentifier", + "src": "3056:5:11" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "3063:66:11", + "type": "", + "value": "0xffffffff00000000000000000000000000000000000000000000000000000000" + } + ], + "functionName": { + "name": "and", + "nodeType": "YulIdentifier", + "src": "3052:3:11" + }, + "nodeType": "YulFunctionCall", + "src": "3052:78:11" + } + ], "functionName": { - "name": "add", + "name": "mstore", "nodeType": "YulIdentifier", - "src": "3744:3:10" + "src": "3040:6:11" }, "nodeType": "YulFunctionCall", - "src": "3744:18:10" + "src": "3040:91:11" }, - "variableNames": [ - { - "name": "tail", - "nodeType": "YulIdentifier", - "src": "3736:4:10" - } - ] - }, + "nodeType": "YulExpressionStatement", + "src": "3040:91:11" + } + ] + }, + "name": "abi_encode_bytes4", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "value", + "nodeType": "YulTypedName", + "src": "3014:5:11", + "type": "" + }, + { + "name": "pos", + "nodeType": "YulTypedName", + "src": "3021:3:11", + "type": "" + } + ], + "src": "2987:150:11" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "3197:90:11", + "statements": [ { "expression": { "arguments": [ { - "name": "headStart", + "name": "pos", "nodeType": "YulIdentifier", - "src": "3778:9:10" + "src": "3214:3:11" }, { "arguments": [ { - "name": "value0", - "nodeType": "YulIdentifier", - "src": "3793:6:10" + "arguments": [ + { + "name": "value", + "nodeType": "YulIdentifier", + "src": "3229:5:11" + } + ], + "functionName": { + "name": "mload", + "nodeType": "YulIdentifier", + "src": "3223:5:11" + }, + "nodeType": "YulFunctionCall", + "src": "3223:12:11" }, { "kind": "number", "nodeType": "YulLiteral", - "src": "3801:42:10", + "src": "3237:42:11", "type": "", "value": "0xffffffffffffffffffffffffffffffffffffffff" } @@ -2741,104 +2815,79 @@ "functionName": { "name": "and", "nodeType": "YulIdentifier", - "src": "3789:3:10" + "src": "3219:3:11" }, "nodeType": "YulFunctionCall", - "src": "3789:55:10" + "src": "3219:61:11" } ], "functionName": { "name": "mstore", "nodeType": "YulIdentifier", - "src": "3771:6:10" + "src": "3207:6:11" }, "nodeType": "YulFunctionCall", - "src": "3771:74:10" + "src": "3207:74:11" }, "nodeType": "YulExpressionStatement", - "src": "3771:74:10" + "src": "3207:74:11" } ] }, - "name": "abi_encode_tuple_t_address__to_t_address__fromStack_reversed", + "name": "abi_encode_struct_DiamondArgs", "nodeType": "YulFunctionDefinition", "parameters": [ { - "name": "headStart", + "name": "value", "nodeType": "YulTypedName", - "src": "3695:9:10", + "src": "3181:5:11", "type": "" }, { - "name": "value0", - "nodeType": "YulTypedName", - "src": "3706:6:10", - "type": "" - } - ], - "returnVariables": [ - { - "name": "tail", + "name": "pos", "nodeType": "YulTypedName", - "src": "3717:4:10", + "src": "3188:3:11", "type": "" } ], - "src": "3625:226:10" + "src": "3142:145:11" }, { "body": { "nodeType": "YulBlock", - "src": "4161:2046:10", + "src": "3571:4645:11", "statements": [ { "nodeType": "YulVariableDeclaration", - "src": "4171:12:10", - "value": { - "kind": "number", - "nodeType": "YulLiteral", - "src": "4181:2:10", - "type": "", - "value": "96" - }, - "variables": [ - { - "name": "_1", - "nodeType": "YulTypedName", - "src": "4175:2:10", - "type": "" - } - ] - }, - { - "nodeType": "YulVariableDeclaration", - "src": "4192:32:10", + "src": "3581:32:11", "value": { "arguments": [ { "name": "headStart", "nodeType": "YulIdentifier", - "src": "4210:9:10" + "src": "3599:9:11" }, { - "name": "_1", - "nodeType": "YulIdentifier", - "src": "4221:2:10" + "kind": "number", + "nodeType": "YulLiteral", + "src": "3610:2:11", + "type": "", + "value": "64" } ], "functionName": { "name": "add", "nodeType": "YulIdentifier", - "src": "4206:3:10" + "src": "3595:3:11" }, "nodeType": "YulFunctionCall", - "src": "4206:18:10" + "src": "3595:18:11" }, "variables": [ { "name": "tail_1", "nodeType": "YulTypedName", - "src": "4196:6:10", + "src": "3585:6:11", "type": "" } ] @@ -2849,38 +2898,68 @@ { "name": "headStart", "nodeType": "YulIdentifier", - "src": "4240:9:10" + "src": "3629:9:11" }, { - "name": "_1", - "nodeType": "YulIdentifier", - "src": "4251:2:10" + "kind": "number", + "nodeType": "YulLiteral", + "src": "3640:2:11", + "type": "", + "value": "64" } ], "functionName": { "name": "mstore", "nodeType": "YulIdentifier", - "src": "4233:6:10" + "src": "3622:6:11" }, "nodeType": "YulFunctionCall", - "src": "4233:21:10" + "src": "3622:21:11" }, "nodeType": "YulExpressionStatement", - "src": "4233:21:10" + "src": "3622:21:11" }, { "nodeType": "YulVariableDeclaration", - "src": "4263:17:10", + "src": "3652:17:11", "value": { "name": "tail_1", "nodeType": "YulIdentifier", - "src": "4274:6:10" + "src": "3663:6:11" }, "variables": [ { "name": "pos", "nodeType": "YulTypedName", - "src": "4267:3:10", + "src": "3656:3:11", + "type": "" + } + ] + }, + { + "nodeType": "YulVariableDeclaration", + "src": "3678:27:11", + "value": { + "arguments": [ + { + "name": "value0", + "nodeType": "YulIdentifier", + "src": "3698:6:11" + } + ], + "functionName": { + "name": "sload", + "nodeType": "YulIdentifier", + "src": "3692:5:11" + }, + "nodeType": "YulFunctionCall", + "src": "3692:13:11" + }, + "variables": [ + { + "name": "length", + "nodeType": "YulTypedName", + "src": "3682:6:11", "type": "" } ] @@ -2891,81 +2970,62 @@ { "name": "tail_1", "nodeType": "YulIdentifier", - "src": "4296:6:10" + "src": "3721:6:11" }, { - "name": "value1", + "name": "length", "nodeType": "YulIdentifier", - "src": "4304:6:10" + "src": "3729:6:11" } ], "functionName": { "name": "mstore", "nodeType": "YulIdentifier", - "src": "4289:6:10" + "src": "3714:6:11" }, "nodeType": "YulFunctionCall", - "src": "4289:22:10" + "src": "3714:22:11" }, "nodeType": "YulExpressionStatement", - "src": "4289:22:10" + "src": "3714:22:11" }, { "nodeType": "YulAssignment", - "src": "4320:26:10", + "src": "3745:25:11", "value": { "arguments": [ { "name": "headStart", "nodeType": "YulIdentifier", - "src": "4331:9:10" + "src": "3756:9:11" }, { "kind": "number", "nodeType": "YulLiteral", - "src": "4342:3:10", + "src": "3767:2:11", "type": "", - "value": "128" + "value": "96" } ], "functionName": { "name": "add", "nodeType": "YulIdentifier", - "src": "4327:3:10" + "src": "3752:3:11" }, "nodeType": "YulFunctionCall", - "src": "4327:19:10" + "src": "3752:18:11" }, "variableNames": [ { "name": "pos", "nodeType": "YulIdentifier", - "src": "4320:3:10" - } - ] - }, - { - "nodeType": "YulVariableDeclaration", - "src": "4355:14:10", - "value": { - "kind": "number", - "nodeType": "YulLiteral", - "src": "4365:4:10", - "type": "", - "value": "0x20" - }, - "variables": [ - { - "name": "_2", - "nodeType": "YulTypedName", - "src": "4359:2:10", - "type": "" + "src": "3745:3:11" } ] }, { "nodeType": "YulVariableDeclaration", - "src": "4378:55:10", + "src": "3779:53:11", "value": { "arguments": [ { @@ -2973,93 +3033,161 @@ { "name": "headStart", "nodeType": "YulIdentifier", - "src": "4400:9:10" + "src": "3801:9:11" }, { "arguments": [ { - "name": "value1", - "nodeType": "YulIdentifier", - "src": "4415:6:10" + "kind": "number", + "nodeType": "YulLiteral", + "src": "3816:1:11", + "type": "", + "value": "5" }, { - "name": "_2", + "name": "length", "nodeType": "YulIdentifier", - "src": "4423:2:10" + "src": "3819:6:11" } ], "functionName": { - "name": "mul", + "name": "shl", "nodeType": "YulIdentifier", - "src": "4411:3:10" + "src": "3812:3:11" }, "nodeType": "YulFunctionCall", - "src": "4411:15:10" + "src": "3812:14:11" } ], "functionName": { "name": "add", "nodeType": "YulIdentifier", - "src": "4396:3:10" + "src": "3797:3:11" }, "nodeType": "YulFunctionCall", - "src": "4396:31:10" + "src": "3797:30:11" }, { "kind": "number", "nodeType": "YulLiteral", - "src": "4429:3:10", + "src": "3829:2:11", "type": "", - "value": "128" + "value": "96" } ], "functionName": { "name": "add", "nodeType": "YulIdentifier", - "src": "4392:3:10" + "src": "3793:3:11" }, "nodeType": "YulFunctionCall", - "src": "4392:41:10" + "src": "3793:39:11" }, "variables": [ { "name": "tail_2", "nodeType": "YulTypedName", - "src": "4382:6:10", + "src": "3783:6:11", "type": "" } ] }, + { + "expression": { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "3848:1:11", + "type": "", + "value": "0" + }, + { + "name": "value0", + "nodeType": "YulIdentifier", + "src": "3851:6:11" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "3841:6:11" + }, + "nodeType": "YulFunctionCall", + "src": "3841:17:11" + }, + "nodeType": "YulExpressionStatement", + "src": "3841:17:11" + }, { "nodeType": "YulVariableDeclaration", - "src": "4442:20:10", + "src": "3867:14:11", "value": { - "name": "value0", - "nodeType": "YulIdentifier", - "src": "4456:6:10" + "kind": "number", + "nodeType": "YulLiteral", + "src": "3877:4:11", + "type": "", + "value": "0x20" + }, + "variables": [ + { + "name": "_1", + "nodeType": "YulTypedName", + "src": "3871:2:11", + "type": "" + } + ] + }, + { + "nodeType": "YulVariableDeclaration", + "src": "3890:30:11", + "value": { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "3914:1:11", + "type": "", + "value": "0" + }, + { + "name": "_1", + "nodeType": "YulIdentifier", + "src": "3917:2:11" + } + ], + "functionName": { + "name": "keccak256", + "nodeType": "YulIdentifier", + "src": "3904:9:11" + }, + "nodeType": "YulFunctionCall", + "src": "3904:16:11" }, "variables": [ { "name": "srcPtr", "nodeType": "YulTypedName", - "src": "4446:6:10", + "src": "3894:6:11", "type": "" } ] }, { "nodeType": "YulVariableDeclaration", - "src": "4471:13:10", + "src": "3929:10:11", "value": { - "name": "tail", - "nodeType": "YulIdentifier", - "src": "4480:4:10" + "kind": "number", + "nodeType": "YulLiteral", + "src": "3938:1:11", + "type": "", + "value": "0" }, "variables": [ { "name": "i", "nodeType": "YulTypedName", - "src": "4475:1:10", + "src": "3933:1:11", "type": "" } ] @@ -3067,7 +3195,7 @@ { "body": { "nodeType": "YulBlock", - "src": "4542:1465:10", + "src": "3997:4124:11", "statements": [ { "expression": { @@ -3075,7 +3203,7 @@ { "name": "pos", "nodeType": "YulIdentifier", - "src": "4563:3:10" + "src": "4018:3:11" }, { "arguments": [ @@ -3084,213 +3212,109 @@ { "name": "tail_2", "nodeType": "YulIdentifier", - "src": "4576:6:10" + "src": "4031:6:11" }, { "name": "headStart", "nodeType": "YulIdentifier", - "src": "4584:9:10" + "src": "4039:9:11" } ], "functionName": { "name": "sub", "nodeType": "YulIdentifier", - "src": "4572:3:10" + "src": "4027:3:11" }, "nodeType": "YulFunctionCall", - "src": "4572:22:10" + "src": "4027:22:11" }, { "kind": "number", "nodeType": "YulLiteral", - "src": "4596:66:10", + "src": "4051:66:11", "type": "", - "value": "0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff80" + "value": "0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffa0" } ], "functionName": { "name": "add", "nodeType": "YulIdentifier", - "src": "4568:3:10" + "src": "4023:3:11" }, "nodeType": "YulFunctionCall", - "src": "4568:95:10" + "src": "4023:95:11" } ], "functionName": { "name": "mstore", "nodeType": "YulIdentifier", - "src": "4556:6:10" + "src": "4011:6:11" }, "nodeType": "YulFunctionCall", - "src": "4556:108:10" + "src": "4011:108:11" }, "nodeType": "YulExpressionStatement", - "src": "4556:108:10" + "src": "4011:108:11" }, { "nodeType": "YulVariableDeclaration", - "src": "4677:46:10", + "src": "4132:29:11", "value": { "arguments": [ { - "name": "srcPtr", + "name": "tail_2", "nodeType": "YulIdentifier", - "src": "4716:6:10" + "src": "4150:6:11" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "4158:2:11", + "type": "", + "value": "96" } ], "functionName": { - "name": "calldataload", + "name": "add", "nodeType": "YulIdentifier", - "src": "4703:12:10" + "src": "4146:3:11" }, "nodeType": "YulFunctionCall", - "src": "4703:20:10" + "src": "4146:15:11" }, "variables": [ { - "name": "rel_offset_of_tail", + "name": "tail_3", "nodeType": "YulTypedName", - "src": "4681:18:10", + "src": "4136:6:11", "type": "" } ] }, { - "body": { - "nodeType": "YulBlock", - "src": "4873:22:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "name": "tail", - "nodeType": "YulIdentifier", - "src": "4882:4:10" - }, - { - "name": "tail", - "nodeType": "YulIdentifier", - "src": "4888:4:10" - } - ], - "functionName": { - "name": "revert", - "nodeType": "YulIdentifier", - "src": "4875:6:10" - }, - "nodeType": "YulFunctionCall", - "src": "4875:18:10" - }, - "nodeType": "YulExpressionStatement", - "src": "4875:18:10" - } - ] - }, - "condition": { + "nodeType": "YulVariableDeclaration", + "src": "4174:30:11", + "value": { "arguments": [ { - "arguments": [ - { - "name": "rel_offset_of_tail", - "nodeType": "YulIdentifier", - "src": "4750:18:10" - }, - { - "arguments": [ - { - "arguments": [ - { - "arguments": [], - "functionName": { - "name": "calldatasize", - "nodeType": "YulIdentifier", - "src": "4778:12:10" - }, - "nodeType": "YulFunctionCall", - "src": "4778:14:10" - }, - { - "name": "value0", - "nodeType": "YulIdentifier", - "src": "4794:6:10" - } - ], - "functionName": { - "name": "sub", - "nodeType": "YulIdentifier", - "src": "4774:3:10" - }, - "nodeType": "YulFunctionCall", - "src": "4774:27:10" - }, - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "4803:66:10", - "type": "", - "value": "0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffa1" - } - ], - "functionName": { - "name": "add", - "nodeType": "YulIdentifier", - "src": "4770:3:10" - }, - "nodeType": "YulFunctionCall", - "src": "4770:100:10" - } - ], - "functionName": { - "name": "slt", - "nodeType": "YulIdentifier", - "src": "4746:3:10" - }, - "nodeType": "YulFunctionCall", - "src": "4746:125:10" - } - ], - "functionName": { - "name": "iszero", - "nodeType": "YulIdentifier", - "src": "4739:6:10" - }, - "nodeType": "YulFunctionCall", - "src": "4739:133:10" - }, - "nodeType": "YulIf", - "src": "4736:2:10" - }, - { - "nodeType": "YulVariableDeclaration", - "src": "4908:44:10", - "value": { - "arguments": [ - { - "name": "rel_offset_of_tail", - "nodeType": "YulIdentifier", - "src": "4925:18:10" - }, - { - "name": "value0", + "name": "srcPtr", "nodeType": "YulIdentifier", - "src": "4945:6:10" + "src": "4197:6:11" } ], "functionName": { - "name": "add", + "name": "sload", "nodeType": "YulIdentifier", - "src": "4921:3:10" + "src": "4191:5:11" }, "nodeType": "YulFunctionCall", - "src": "4921:31:10" + "src": "4191:13:11" }, "variables": [ { - "name": "value", + "name": "slotValue", "nodeType": "YulTypedName", - "src": "4912:5:10", + "src": "4178:9:11", "type": "" } ] @@ -3301,30 +3325,19 @@ { "name": "tail_2", "nodeType": "YulIdentifier", - "src": "4972:6:10" + "src": "4224:6:11" }, { "arguments": [ { - "arguments": [ - { - "name": "value", - "nodeType": "YulIdentifier", - "src": "5005:5:10" - } - ], - "functionName": { - "name": "abi_decode_t_address", - "nodeType": "YulIdentifier", - "src": "4984:20:10" - }, - "nodeType": "YulFunctionCall", - "src": "4984:27:10" + "name": "slotValue", + "nodeType": "YulIdentifier", + "src": "4236:9:11" }, { "kind": "number", "nodeType": "YulLiteral", - "src": "5013:42:10", + "src": "4247:42:11", "type": "", "value": "0xffffffffffffffffffffffffffffffffffffffff" } @@ -3332,403 +3345,317 @@ "functionName": { "name": "and", "nodeType": "YulIdentifier", - "src": "4980:3:10" + "src": "4232:3:11" }, "nodeType": "YulFunctionCall", - "src": "4980:76:10" + "src": "4232:58:11" } ], "functionName": { "name": "mstore", "nodeType": "YulIdentifier", - "src": "4965:6:10" + "src": "4217:6:11" }, "nodeType": "YulFunctionCall", - "src": "4965:92:10" + "src": "4217:74:11" }, "nodeType": "YulExpressionStatement", - "src": "4965:92:10" + "src": "4217:74:11" }, { - "nodeType": "YulVariableDeclaration", - "src": "5070:43:10", - "value": { + "expression": { "arguments": [ { "arguments": [ { - "name": "value", + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "4343:3:11", + "type": "", + "value": "160" + }, + { + "name": "slotValue", + "nodeType": "YulIdentifier", + "src": "4348:9:11" + } + ], + "functionName": { + "name": "shr", + "nodeType": "YulIdentifier", + "src": "4339:3:11" + }, + "nodeType": "YulFunctionCall", + "src": "4339:19:11" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "4360:4:11", + "type": "", + "value": "0xff" + } + ], + "functionName": { + "name": "and", + "nodeType": "YulIdentifier", + "src": "4335:3:11" + }, + "nodeType": "YulFunctionCall", + "src": "4335:30:11" + }, + { + "arguments": [ + { + "name": "tail_2", "nodeType": "YulIdentifier", - "src": "5102:5:10" + "src": "4371:6:11" }, { - "name": "_2", + "name": "_1", "nodeType": "YulIdentifier", - "src": "5109:2:10" + "src": "4379:2:11" } ], "functionName": { "name": "add", "nodeType": "YulIdentifier", - "src": "5098:3:10" + "src": "4367:3:11" }, "nodeType": "YulFunctionCall", - "src": "5098:14:10" + "src": "4367:15:11" } ], "functionName": { - "name": "calldataload", + "name": "abi_encode_enum_FacetCutAction", "nodeType": "YulIdentifier", - "src": "5085:12:10" + "src": "4304:30:11" }, "nodeType": "YulFunctionCall", - "src": "5085:28:10" + "src": "4304:79:11" + }, + "nodeType": "YulExpressionStatement", + "src": "4304:79:11" + }, + { + "nodeType": "YulVariableDeclaration", + "src": "4396:11:11", + "value": { + "kind": "number", + "nodeType": "YulLiteral", + "src": "4406:1:11", + "type": "", + "value": "1" }, "variables": [ { - "name": "value_1", + "name": "_2", "nodeType": "YulTypedName", - "src": "5074:7:10", + "src": "4400:2:11", "type": "" } ] }, { - "body": { - "nodeType": "YulBlock", - "src": "5152:22:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "name": "tail", - "nodeType": "YulIdentifier", - "src": "5161:4:10" - }, - { - "name": "tail", - "nodeType": "YulIdentifier", - "src": "5167:4:10" - } - ], - "functionName": { - "name": "revert", - "nodeType": "YulIdentifier", - "src": "5154:6:10" - }, - "nodeType": "YulFunctionCall", - "src": "5154:18:10" - }, - "nodeType": "YulExpressionStatement", - "src": "5154:18:10" - } - ] - }, - "condition": { + "nodeType": "YulVariableDeclaration", + "src": "4420:35:11", + "value": { "arguments": [ { - "arguments": [ - { - "name": "value_1", - "nodeType": "YulIdentifier", - "src": "5139:7:10" - }, - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "5148:1:10", - "type": "", - "value": "3" - } - ], - "functionName": { - "name": "lt", - "nodeType": "YulIdentifier", - "src": "5136:2:10" - }, - "nodeType": "YulFunctionCall", - "src": "5136:14:10" + "name": "srcPtr", + "nodeType": "YulIdentifier", + "src": "4444:6:11" + }, + { + "name": "_2", + "nodeType": "YulIdentifier", + "src": "4452:2:11" } ], "functionName": { - "name": "iszero", + "name": "add", "nodeType": "YulIdentifier", - "src": "5129:6:10" + "src": "4440:3:11" }, "nodeType": "YulFunctionCall", - "src": "5129:22:10" + "src": "4440:15:11" }, - "nodeType": "YulIf", - "src": "5126:2:10" + "variables": [ + { + "name": "memberValue0", + "nodeType": "YulTypedName", + "src": "4424:12:11", + "type": "" + } + ] }, { "expression": { "arguments": [ - { - "name": "value_1", - "nodeType": "YulIdentifier", - "src": "5221:7:10" - }, { "arguments": [ { "name": "tail_2", "nodeType": "YulIdentifier", - "src": "5234:6:10" + "src": "4479:6:11" }, { - "name": "_2", - "nodeType": "YulIdentifier", - "src": "5242:2:10" + "kind": "number", + "nodeType": "YulLiteral", + "src": "4487:2:11", + "type": "", + "value": "64" } ], "functionName": { "name": "add", "nodeType": "YulIdentifier", - "src": "5230:3:10" + "src": "4475:3:11" }, "nodeType": "YulFunctionCall", - "src": "5230:15:10" + "src": "4475:15:11" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "4492:2:11", + "type": "", + "value": "96" } ], "functionName": { - "name": "abi_encode_t_enum$_FacetCutAction", + "name": "mstore", "nodeType": "YulIdentifier", - "src": "5187:33:10" + "src": "4468:6:11" }, "nodeType": "YulFunctionCall", - "src": "5187:59:10" + "src": "4468:27:11" }, "nodeType": "YulExpressionStatement", - "src": "5187:59:10" + "src": "4468:27:11" }, { "nodeType": "YulVariableDeclaration", - "src": "5259:14:10", + "src": "4508:19:11", "value": { - "kind": "number", - "nodeType": "YulLiteral", - "src": "5269:4:10", - "type": "", - "value": "0x40" + "name": "tail_3", + "nodeType": "YulIdentifier", + "src": "4521:6:11" }, "variables": [ { - "name": "_3", + "name": "pos_1", "nodeType": "YulTypedName", - "src": "5263:2:10", + "src": "4512:5:11", "type": "" } ] }, { "nodeType": "YulVariableDeclaration", - "src": "5286:56:10", + "src": "4540:35:11", "value": { "arguments": [ { - "arguments": [ - { - "name": "value", - "nodeType": "YulIdentifier", - "src": "5331:5:10" - }, - { - "name": "_3", - "nodeType": "YulIdentifier", - "src": "5338:2:10" - } - ], - "functionName": { - "name": "add", - "nodeType": "YulIdentifier", - "src": "5327:3:10" - }, - "nodeType": "YulFunctionCall", - "src": "5327:14:10" + "name": "memberValue0", + "nodeType": "YulIdentifier", + "src": "4562:12:11" } ], "functionName": { - "name": "calldataload", + "name": "sload", "nodeType": "YulIdentifier", - "src": "5314:12:10" + "src": "4556:5:11" }, "nodeType": "YulFunctionCall", - "src": "5314:28:10" + "src": "4556:19:11" }, "variables": [ { - "name": "rel_offset_of_tail_1", + "name": "length_1", "nodeType": "YulTypedName", - "src": "5290:20:10", + "src": "4544:8:11", "type": "" } ] }, { - "body": { - "nodeType": "YulBlock", - "src": "5493:22:10", - "statements": [ + "nodeType": "YulAssignment", + "src": "4588:81:11", + "value": { + "arguments": [ { - "expression": { - "arguments": [ - { - "name": "tail", - "nodeType": "YulIdentifier", - "src": "5502:4:10" - }, - { - "name": "tail", - "nodeType": "YulIdentifier", - "src": "5508:4:10" - } - ], - "functionName": { - "name": "revert", - "nodeType": "YulIdentifier", - "src": "5495:6:10" - }, - "nodeType": "YulFunctionCall", - "src": "5495:18:10" - }, - "nodeType": "YulExpressionStatement", - "src": "5495:18:10" - } - ] - }, - "condition": { - "arguments": [ + "name": "tail_3", + "nodeType": "YulIdentifier", + "src": "4652:6:11" + }, { - "arguments": [ - { - "name": "rel_offset_of_tail_1", - "nodeType": "YulIdentifier", - "src": "5369:20:10" - }, - { - "arguments": [ - { - "arguments": [ - { - "arguments": [], - "functionName": { - "name": "calldatasize", - "nodeType": "YulIdentifier", - "src": "5399:12:10" - }, - "nodeType": "YulFunctionCall", - "src": "5399:14:10" - }, - { - "name": "value", - "nodeType": "YulIdentifier", - "src": "5415:5:10" - } - ], - "functionName": { - "name": "sub", - "nodeType": "YulIdentifier", - "src": "5395:3:10" - }, - "nodeType": "YulFunctionCall", - "src": "5395:26:10" - }, - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "5423:66:10", - "type": "", - "value": "0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe1" - } - ], - "functionName": { - "name": "add", - "nodeType": "YulIdentifier", - "src": "5391:3:10" - }, - "nodeType": "YulFunctionCall", - "src": "5391:99:10" - } - ], - "functionName": { - "name": "slt", - "nodeType": "YulIdentifier", - "src": "5365:3:10" - }, - "nodeType": "YulFunctionCall", - "src": "5365:126:10" + "name": "length_1", + "nodeType": "YulIdentifier", + "src": "4660:8:11" } ], "functionName": { - "name": "iszero", + "name": "array_storeLengthForEncoding_array_struct_FacetCut_dyn", "nodeType": "YulIdentifier", - "src": "5358:6:10" + "src": "4597:54:11" }, "nodeType": "YulFunctionCall", - "src": "5358:134:10" + "src": "4597:72:11" }, - "nodeType": "YulIf", - "src": "5355:2:10" + "variableNames": [ + { + "name": "pos_1", + "nodeType": "YulIdentifier", + "src": "4588:5:11" + } + ] }, { "nodeType": "YulVariableDeclaration", - "src": "5528:47:10", + "src": "4682:78:11", "value": { "arguments": [ { - "name": "rel_offset_of_tail_1", - "nodeType": "YulIdentifier", - "src": "5547:20:10" - }, - { - "name": "value", + "name": "memberValue0", "nodeType": "YulIdentifier", - "src": "5569:5:10" + "src": "4747:12:11" } ], "functionName": { - "name": "add", + "name": "array_dataslot_array_struct_FacetCut_storage_dyn", "nodeType": "YulIdentifier", - "src": "5543:3:10" + "src": "4698:48:11" }, "nodeType": "YulFunctionCall", - "src": "5543:32:10" + "src": "4698:62:11" }, "variables": [ { - "name": "value_2", + "name": "srcPtr_1", "nodeType": "YulTypedName", - "src": "5532:7:10", + "src": "4686:8:11", "type": "" } ] }, { "nodeType": "YulVariableDeclaration", - "src": "5588:35:10", + "src": "4773:20:11", "value": { - "arguments": [ - { - "name": "value_2", - "nodeType": "YulIdentifier", - "src": "5615:7:10" - } - ], - "functionName": { - "name": "calldataload", - "nodeType": "YulIdentifier", - "src": "5602:12:10" - }, - "nodeType": "YulFunctionCall", - "src": "5602:21:10" + "kind": "number", + "nodeType": "YulLiteral", + "src": "4792:1:11", + "type": "", + "value": "0" }, "variables": [ { - "name": "length", + "name": "itemCounter", "nodeType": "YulTypedName", - "src": "5592:6:10", + "src": "4777:11:11", "type": "" } ] @@ -3736,1447 +3663,1253 @@ { "body": { "nodeType": "YulBlock", - "src": "5670:22:10", + "src": "4951:812:11", "statements": [ { - "expression": { + "nodeType": "YulVariableDeclaration", + "src": "4969:27:11", + "value": { "arguments": [ { - "name": "tail", - "nodeType": "YulIdentifier", - "src": "5679:4:10" - }, - { - "name": "tail", + "name": "srcPtr_1", "nodeType": "YulIdentifier", - "src": "5685:4:10" + "src": "4987:8:11" } ], "functionName": { - "name": "revert", + "name": "sload", "nodeType": "YulIdentifier", - "src": "5672:6:10" + "src": "4981:5:11" }, "nodeType": "YulFunctionCall", - "src": "5672:18:10" + "src": "4981:15:11" }, - "nodeType": "YulExpressionStatement", - "src": "5672:18:10" - } - ] - }, - "condition": { - "arguments": [ - { - "name": "length", - "nodeType": "YulIdentifier", - "src": "5642:6:10" + "variables": [ + { + "name": "data", + "nodeType": "YulTypedName", + "src": "4973:4:11", + "type": "" + } + ] }, - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "5650:18:10", - "type": "", - "value": "0xffffffffffffffff" - } - ], - "functionName": { - "name": "gt", - "nodeType": "YulIdentifier", - "src": "5639:2:10" - }, - "nodeType": "YulFunctionCall", - "src": "5639:30:10" - }, - "nodeType": "YulIf", - "src": "5636:2:10" - }, - { - "body": { - "nodeType": "YulBlock", - "src": "5757:22:10", - "statements": [ { "expression": { "arguments": [ { - "name": "tail", - "nodeType": "YulIdentifier", - "src": "5766:4:10" + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "5035:3:11", + "type": "", + "value": "224" + }, + { + "name": "data", + "nodeType": "YulIdentifier", + "src": "5040:4:11" + } + ], + "functionName": { + "name": "shl", + "nodeType": "YulIdentifier", + "src": "5031:3:11" + }, + "nodeType": "YulFunctionCall", + "src": "5031:14:11" }, { - "name": "tail", + "name": "pos_1", "nodeType": "YulIdentifier", - "src": "5772:4:10" + "src": "5047:5:11" } ], "functionName": { - "name": "revert", + "name": "abi_encode_bytes4", "nodeType": "YulIdentifier", - "src": "5759:6:10" + "src": "5013:17:11" }, "nodeType": "YulFunctionCall", - "src": "5759:18:10" + "src": "5013:40:11" }, "nodeType": "YulExpressionStatement", - "src": "5759:18:10" - } - ] - }, - "condition": { - "arguments": [ - { - "name": "value", - "nodeType": "YulIdentifier", - "src": "5712:5:10" + "src": "5013:40:11" }, { - "arguments": [ - { - "arguments": [], - "functionName": { - "name": "calldatasize", - "nodeType": "YulIdentifier", - "src": "5723:12:10" - }, - "nodeType": "YulFunctionCall", - "src": "5723:14:10" - }, - { - "arguments": [ - { - "name": "length", - "nodeType": "YulIdentifier", - "src": "5743:6:10" - }, - { - "name": "_2", - "nodeType": "YulIdentifier", - "src": "5751:2:10" - } - ], - "functionName": { - "name": "mul", - "nodeType": "YulIdentifier", - "src": "5739:3:10" - }, - "nodeType": "YulFunctionCall", - "src": "5739:15:10" - } - ], - "functionName": { - "name": "sub", - "nodeType": "YulIdentifier", - "src": "5719:3:10" + "nodeType": "YulVariableDeclaration", + "src": "5070:76:11", + "value": { + "kind": "number", + "nodeType": "YulLiteral", + "src": "5080:66:11", + "type": "", + "value": "0xffffffff00000000000000000000000000000000000000000000000000000000" }, - "nodeType": "YulFunctionCall", - "src": "5719:36:10" - } - ], - "functionName": { - "name": "sgt", - "nodeType": "YulIdentifier", - "src": "5708:3:10" - }, - "nodeType": "YulFunctionCall", - "src": "5708:48:10" - }, - "nodeType": "YulIf", - "src": "5705:2:10" - }, - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "name": "tail_2", - "nodeType": "YulIdentifier", - "src": "5803:6:10" - }, + "variables": [ { "name": "_3", - "nodeType": "YulIdentifier", - "src": "5811:2:10" + "nodeType": "YulTypedName", + "src": "5074:2:11", + "type": "" } - ], - "functionName": { - "name": "add", - "nodeType": "YulIdentifier", - "src": "5799:3:10" - }, - "nodeType": "YulFunctionCall", - "src": "5799:15:10" + ] }, { - "name": "_1", - "nodeType": "YulIdentifier", - "src": "5816:2:10" - } - ], - "functionName": { - "name": "mstore", - "nodeType": "YulIdentifier", - "src": "5792:6:10" - }, - "nodeType": "YulFunctionCall", - "src": "5792:27:10" - }, - "nodeType": "YulExpressionStatement", - "src": "5792:27:10" - }, - { - "nodeType": "YulAssignment", - "src": "5832:95:10", - "value": { - "arguments": [ - { - "arguments": [ - { - "name": "value_2", - "nodeType": "YulIdentifier", - "src": "5889:7:10" - }, - { - "name": "_2", + "expression": { + "arguments": [ + { + "arguments": [ + { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "5189:3:11", + "type": "", + "value": "192" + }, + { + "name": "data", + "nodeType": "YulIdentifier", + "src": "5194:4:11" + } + ], + "functionName": { + "name": "shl", + "nodeType": "YulIdentifier", + "src": "5185:3:11" + }, + "nodeType": "YulFunctionCall", + "src": "5185:14:11" + }, + { + "name": "_3", + "nodeType": "YulIdentifier", + "src": "5201:2:11" + } + ], + "functionName": { + "name": "and", + "nodeType": "YulIdentifier", + "src": "5181:3:11" + }, + "nodeType": "YulFunctionCall", + "src": "5181:23:11" + }, + { + "arguments": [ + { + "name": "pos_1", + "nodeType": "YulIdentifier", + "src": "5210:5:11" + }, + { + "name": "_1", + "nodeType": "YulIdentifier", + "src": "5217:2:11" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "5206:3:11" + }, + "nodeType": "YulFunctionCall", + "src": "5206:14:11" + } + ], + "functionName": { + "name": "abi_encode_bytes4", "nodeType": "YulIdentifier", - "src": "5898:2:10" - } - ], - "functionName": { - "name": "add", - "nodeType": "YulIdentifier", - "src": "5885:3:10" + "src": "5163:17:11" + }, + "nodeType": "YulFunctionCall", + "src": "5163:58:11" }, - "nodeType": "YulFunctionCall", - "src": "5885:16:10" - }, - { - "name": "length", - "nodeType": "YulIdentifier", - "src": "5903:6:10" + "nodeType": "YulExpressionStatement", + "src": "5163:58:11" }, { - "arguments": [ - { - "name": "tail_2", + "expression": { + "arguments": [ + { + "arguments": [ + { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "5264:3:11", + "type": "", + "value": "160" + }, + { + "name": "data", + "nodeType": "YulIdentifier", + "src": "5269:4:11" + } + ], + "functionName": { + "name": "shl", + "nodeType": "YulIdentifier", + "src": "5260:3:11" + }, + "nodeType": "YulFunctionCall", + "src": "5260:14:11" + }, + { + "name": "_3", + "nodeType": "YulIdentifier", + "src": "5276:2:11" + } + ], + "functionName": { + "name": "and", + "nodeType": "YulIdentifier", + "src": "5256:3:11" + }, + "nodeType": "YulFunctionCall", + "src": "5256:23:11" + }, + { + "arguments": [ + { + "name": "pos_1", + "nodeType": "YulIdentifier", + "src": "5285:5:11" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "5292:2:11", + "type": "", + "value": "64" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "5281:3:11" + }, + "nodeType": "YulFunctionCall", + "src": "5281:14:11" + } + ], + "functionName": { + "name": "abi_encode_bytes4", "nodeType": "YulIdentifier", - "src": "5915:6:10" + "src": "5238:17:11" }, - { - "name": "_1", - "nodeType": "YulIdentifier", - "src": "5923:2:10" - } - ], - "functionName": { - "name": "add", - "nodeType": "YulIdentifier", - "src": "5911:3:10" + "nodeType": "YulFunctionCall", + "src": "5238:58:11" }, - "nodeType": "YulFunctionCall", - "src": "5911:15:10" - } - ], - "functionName": { - "name": "abi_encode_t_array$_t_bytes4_$dyn_calldata", - "nodeType": "YulIdentifier", - "src": "5842:42:10" - }, - "nodeType": "YulFunctionCall", - "src": "5842:85:10" - }, - "variableNames": [ - { - "name": "tail_2", - "nodeType": "YulIdentifier", - "src": "5832:6:10" - } - ] - }, - { - "nodeType": "YulAssignment", - "src": "5940:25:10", - "value": { - "arguments": [ - { - "name": "srcPtr", - "nodeType": "YulIdentifier", - "src": "5954:6:10" + "nodeType": "YulExpressionStatement", + "src": "5238:58:11" }, { - "name": "_2", - "nodeType": "YulIdentifier", - "src": "5962:2:10" - } - ], - "functionName": { - "name": "add", - "nodeType": "YulIdentifier", - "src": "5950:3:10" - }, - "nodeType": "YulFunctionCall", - "src": "5950:15:10" - }, - "variableNames": [ - { - "name": "srcPtr", - "nodeType": "YulIdentifier", - "src": "5940:6:10" - } - ] - }, - { - "nodeType": "YulAssignment", - "src": "5978:19:10", - "value": { - "arguments": [ - { - "name": "pos", - "nodeType": "YulIdentifier", - "src": "5989:3:10" + "expression": { + "arguments": [ + { + "arguments": [ + { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "5339:3:11", + "type": "", + "value": "128" + }, + { + "name": "data", + "nodeType": "YulIdentifier", + "src": "5344:4:11" + } + ], + "functionName": { + "name": "shl", + "nodeType": "YulIdentifier", + "src": "5335:3:11" + }, + "nodeType": "YulFunctionCall", + "src": "5335:14:11" + }, + { + "name": "_3", + "nodeType": "YulIdentifier", + "src": "5351:2:11" + } + ], + "functionName": { + "name": "and", + "nodeType": "YulIdentifier", + "src": "5331:3:11" + }, + "nodeType": "YulFunctionCall", + "src": "5331:23:11" + }, + { + "arguments": [ + { + "name": "pos_1", + "nodeType": "YulIdentifier", + "src": "5360:5:11" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "5367:2:11", + "type": "", + "value": "96" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "5356:3:11" + }, + "nodeType": "YulFunctionCall", + "src": "5356:14:11" + } + ], + "functionName": { + "name": "abi_encode_bytes4", + "nodeType": "YulIdentifier", + "src": "5313:17:11" + }, + "nodeType": "YulFunctionCall", + "src": "5313:58:11" + }, + "nodeType": "YulExpressionStatement", + "src": "5313:58:11" }, { - "name": "_2", - "nodeType": "YulIdentifier", - "src": "5994:2:10" - } - ], - "functionName": { - "name": "add", - "nodeType": "YulIdentifier", - "src": "5985:3:10" - }, - "nodeType": "YulFunctionCall", - "src": "5985:12:10" - }, - "variableNames": [ - { - "name": "pos", - "nodeType": "YulIdentifier", - "src": "5978:3:10" - } - ] - } - ] - }, - "condition": { - "arguments": [ - { - "name": "i", - "nodeType": "YulIdentifier", - "src": "4504:1:10" - }, - { - "name": "value1", - "nodeType": "YulIdentifier", - "src": "4507:6:10" - } - ], - "functionName": { - "name": "lt", - "nodeType": "YulIdentifier", - "src": "4501:2:10" - }, - "nodeType": "YulFunctionCall", - "src": "4501:13:10" - }, - "nodeType": "YulForLoop", - "post": { - "nodeType": "YulBlock", - "src": "4515:18:10", - "statements": [ - { - "nodeType": "YulAssignment", - "src": "4517:14:10", - "value": { - "arguments": [ + "expression": { + "arguments": [ + { + "arguments": [ + { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "5414:2:11", + "type": "", + "value": "96" + }, + { + "name": "data", + "nodeType": "YulIdentifier", + "src": "5418:4:11" + } + ], + "functionName": { + "name": "shl", + "nodeType": "YulIdentifier", + "src": "5410:3:11" + }, + "nodeType": "YulFunctionCall", + "src": "5410:13:11" + }, + { + "name": "_3", + "nodeType": "YulIdentifier", + "src": "5425:2:11" + } + ], + "functionName": { + "name": "and", + "nodeType": "YulIdentifier", + "src": "5406:3:11" + }, + "nodeType": "YulFunctionCall", + "src": "5406:22:11" + }, + { + "arguments": [ + { + "name": "pos_1", + "nodeType": "YulIdentifier", + "src": "5434:5:11" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "5441:3:11", + "type": "", + "value": "128" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "5430:3:11" + }, + "nodeType": "YulFunctionCall", + "src": "5430:15:11" + } + ], + "functionName": { + "name": "abi_encode_bytes4", + "nodeType": "YulIdentifier", + "src": "5388:17:11" + }, + "nodeType": "YulFunctionCall", + "src": "5388:58:11" + }, + "nodeType": "YulExpressionStatement", + "src": "5388:58:11" + }, { - "name": "i", - "nodeType": "YulIdentifier", - "src": "4526:1:10" + "expression": { + "arguments": [ + { + "arguments": [ + { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "5489:2:11", + "type": "", + "value": "64" + }, + { + "name": "data", + "nodeType": "YulIdentifier", + "src": "5493:4:11" + } + ], + "functionName": { + "name": "shl", + "nodeType": "YulIdentifier", + "src": "5485:3:11" + }, + "nodeType": "YulFunctionCall", + "src": "5485:13:11" + }, + { + "name": "_3", + "nodeType": "YulIdentifier", + "src": "5500:2:11" + } + ], + "functionName": { + "name": "and", + "nodeType": "YulIdentifier", + "src": "5481:3:11" + }, + "nodeType": "YulFunctionCall", + "src": "5481:22:11" + }, + { + "arguments": [ + { + "name": "pos_1", + "nodeType": "YulIdentifier", + "src": "5509:5:11" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "5516:3:11", + "type": "", + "value": "160" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "5505:3:11" + }, + "nodeType": "YulFunctionCall", + "src": "5505:15:11" + } + ], + "functionName": { + "name": "abi_encode_bytes4", + "nodeType": "YulIdentifier", + "src": "5463:17:11" + }, + "nodeType": "YulFunctionCall", + "src": "5463:58:11" + }, + "nodeType": "YulExpressionStatement", + "src": "5463:58:11" }, { - "kind": "number", - "nodeType": "YulLiteral", - "src": "4529:1:10", - "type": "", - "value": "1" - } - ], - "functionName": { - "name": "add", - "nodeType": "YulIdentifier", - "src": "4522:3:10" - }, - "nodeType": "YulFunctionCall", - "src": "4522:9:10" - }, - "variableNames": [ - { - "name": "i", - "nodeType": "YulIdentifier", - "src": "4517:1:10" - } - ] - } - ] - }, - "pre": { - "nodeType": "YulBlock", - "src": "4497:3:10", - "statements": [] - }, - "src": "4493:1514:10" - }, - { - "expression": { - "arguments": [ - { - "name": "value2", - "nodeType": "YulIdentifier", - "src": "6045:6:10" - }, - { - "arguments": [ - { - "name": "headStart", - "nodeType": "YulIdentifier", - "src": "6057:9:10" - }, - { - "name": "_2", - "nodeType": "YulIdentifier", - "src": "6068:2:10" - } - ], - "functionName": { - "name": "add", - "nodeType": "YulIdentifier", - "src": "6053:3:10" - }, - "nodeType": "YulFunctionCall", - "src": "6053:18:10" - } - ], - "functionName": { - "name": "abi_encode_t_address_payable", - "nodeType": "YulIdentifier", - "src": "6016:28:10" - }, - "nodeType": "YulFunctionCall", - "src": "6016:56:10" - }, - "nodeType": "YulExpressionStatement", - "src": "6016:56:10" - }, - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "name": "headStart", - "nodeType": "YulIdentifier", - "src": "6092:9:10" - }, - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "6103:4:10", - "type": "", - "value": "0x40" - } - ], - "functionName": { - "name": "add", - "nodeType": "YulIdentifier", - "src": "6088:3:10" - }, - "nodeType": "YulFunctionCall", - "src": "6088:20:10" - }, - { - "arguments": [ - { - "name": "tail_2", - "nodeType": "YulIdentifier", - "src": "6114:6:10" - }, - { - "name": "headStart", - "nodeType": "YulIdentifier", - "src": "6122:9:10" - } - ], - "functionName": { - "name": "sub", - "nodeType": "YulIdentifier", - "src": "6110:3:10" - }, - "nodeType": "YulFunctionCall", - "src": "6110:22:10" - } - ], - "functionName": { - "name": "mstore", - "nodeType": "YulIdentifier", - "src": "6081:6:10" - }, - "nodeType": "YulFunctionCall", - "src": "6081:52:10" - }, - "nodeType": "YulExpressionStatement", - "src": "6081:52:10" - }, - { - "nodeType": "YulAssignment", - "src": "6142:59:10", - "value": { - "arguments": [ - { - "name": "value3", - "nodeType": "YulIdentifier", - "src": "6178:6:10" - }, - { - "name": "value4", - "nodeType": "YulIdentifier", - "src": "6186:6:10" - }, - { - "name": "tail_2", - "nodeType": "YulIdentifier", - "src": "6194:6:10" - } - ], - "functionName": { - "name": "abi_encode_t_bytes_calldata", - "nodeType": "YulIdentifier", - "src": "6150:27:10" - }, - "nodeType": "YulFunctionCall", - "src": "6150:51:10" - }, - "variableNames": [ - { - "name": "tail", - "nodeType": "YulIdentifier", - "src": "6142:4:10" - } - ] - } - ] - }, - "name": "abi_encode_tuple_t_array$_t_struct$_FacetCut_$679_calldata_ptr_$dyn_calldata_ptr_t_address_payable_t_bytes_calldata_ptr__to_t_array$_t_struct$_FacetCut_$679_memory_ptr_$dyn_memory_ptr_t_address_t_bytes_memory_ptr__fromStack_reversed", - "nodeType": "YulFunctionDefinition", - "parameters": [ - { - "name": "headStart", - "nodeType": "YulTypedName", - "src": "4098:9:10", - "type": "" - }, - { - "name": "value4", - "nodeType": "YulTypedName", - "src": "4109:6:10", - "type": "" - }, - { - "name": "value3", - "nodeType": "YulTypedName", - "src": "4117:6:10", - "type": "" - }, - { - "name": "value2", - "nodeType": "YulTypedName", - "src": "4125:6:10", - "type": "" - }, - { - "name": "value1", - "nodeType": "YulTypedName", - "src": "4133:6:10", - "type": "" - }, - { - "name": "value0", - "nodeType": "YulTypedName", - "src": "4141:6:10", - "type": "" - } - ], - "returnVariables": [ - { - "name": "tail", - "nodeType": "YulTypedName", - "src": "4152:4:10", - "type": "" - } - ], - "src": "3856:2351:10" - }, - { - "body": { - "nodeType": "YulBlock", - "src": "6491:4624:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "name": "headStart", - "nodeType": "YulIdentifier", - "src": "6508:9:10" - }, - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "6519:2:10", - "type": "", - "value": "64" - } - ], - "functionName": { - "name": "mstore", - "nodeType": "YulIdentifier", - "src": "6501:6:10" - }, - "nodeType": "YulFunctionCall", - "src": "6501:21:10" - }, - "nodeType": "YulExpressionStatement", - "src": "6501:21:10" - }, - { - "nodeType": "YulVariableDeclaration", - "src": "6531:29:10", - "value": { - "arguments": [ - { - "name": "headStart", - "nodeType": "YulIdentifier", - "src": "6546:9:10" - }, - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "6557:2:10", - "type": "", - "value": "64" - } - ], - "functionName": { - "name": "add", - "nodeType": "YulIdentifier", - "src": "6542:3:10" - }, - "nodeType": "YulFunctionCall", - "src": "6542:18:10" - }, - "variables": [ - { - "name": "pos", - "nodeType": "YulTypedName", - "src": "6535:3:10", - "type": "" - } - ] - }, - { - "nodeType": "YulVariableDeclaration", - "src": "6569:27:10", - "value": { - "arguments": [ - { - "name": "value0", - "nodeType": "YulIdentifier", - "src": "6589:6:10" - } - ], - "functionName": { - "name": "sload", - "nodeType": "YulIdentifier", - "src": "6583:5:10" - }, - "nodeType": "YulFunctionCall", - "src": "6583:13:10" - }, - "variables": [ - { - "name": "length", - "nodeType": "YulTypedName", - "src": "6573:6:10", - "type": "" - } - ] - }, - { - "expression": { - "arguments": [ - { - "name": "pos", - "nodeType": "YulIdentifier", - "src": "6612:3:10" - }, - { - "name": "length", - "nodeType": "YulIdentifier", - "src": "6617:6:10" - } - ], - "functionName": { - "name": "mstore", - "nodeType": "YulIdentifier", - "src": "6605:6:10" - }, - "nodeType": "YulFunctionCall", - "src": "6605:19:10" - }, - "nodeType": "YulExpressionStatement", - "src": "6605:19:10" - }, - { - "nodeType": "YulAssignment", - "src": "6633:25:10", - "value": { - "arguments": [ - { - "name": "headStart", - "nodeType": "YulIdentifier", - "src": "6644:9:10" - }, - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "6655:2:10", - "type": "", - "value": "96" - } - ], - "functionName": { - "name": "add", - "nodeType": "YulIdentifier", - "src": "6640:3:10" - }, - "nodeType": "YulFunctionCall", - "src": "6640:18:10" - }, - "variableNames": [ - { - "name": "pos", - "nodeType": "YulIdentifier", - "src": "6633:3:10" - } - ] - }, - { - "nodeType": "YulVariableDeclaration", - "src": "6667:14:10", - "value": { - "kind": "number", - "nodeType": "YulLiteral", - "src": "6677:4:10", - "type": "", - "value": "0x20" - }, - "variables": [ - { - "name": "_1", - "nodeType": "YulTypedName", - "src": "6671:2:10", - "type": "" - } - ] - }, - { - "nodeType": "YulVariableDeclaration", - "src": "6690:54:10", - "value": { - "arguments": [ - { - "arguments": [ - { - "name": "headStart", - "nodeType": "YulIdentifier", - "src": "6712:9:10" - }, - { - "arguments": [ - { - "name": "length", - "nodeType": "YulIdentifier", - "src": "6727:6:10" + "expression": { + "arguments": [ + { + "arguments": [ + { + "arguments": [ + { + "name": "_1", + "nodeType": "YulIdentifier", + "src": "5564:2:11" + }, + { + "name": "data", + "nodeType": "YulIdentifier", + "src": "5568:4:11" + } + ], + "functionName": { + "name": "shl", + "nodeType": "YulIdentifier", + "src": "5560:3:11" + }, + "nodeType": "YulFunctionCall", + "src": "5560:13:11" + }, + { + "name": "_3", + "nodeType": "YulIdentifier", + "src": "5575:2:11" + } + ], + "functionName": { + "name": "and", + "nodeType": "YulIdentifier", + "src": "5556:3:11" + }, + "nodeType": "YulFunctionCall", + "src": "5556:22:11" + }, + { + "arguments": [ + { + "name": "pos_1", + "nodeType": "YulIdentifier", + "src": "5584:5:11" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "5591:3:11", + "type": "", + "value": "192" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "5580:3:11" + }, + "nodeType": "YulFunctionCall", + "src": "5580:15:11" + } + ], + "functionName": { + "name": "abi_encode_bytes4", + "nodeType": "YulIdentifier", + "src": "5538:17:11" + }, + "nodeType": "YulFunctionCall", + "src": "5538:58:11" }, - { - "name": "_1", - "nodeType": "YulIdentifier", - "src": "6735:2:10" - } - ], - "functionName": { - "name": "mul", - "nodeType": "YulIdentifier", - "src": "6723:3:10" - }, - "nodeType": "YulFunctionCall", - "src": "6723:15:10" - } - ], - "functionName": { - "name": "add", - "nodeType": "YulIdentifier", - "src": "6708:3:10" - }, - "nodeType": "YulFunctionCall", - "src": "6708:31:10" - }, - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "6741:2:10", - "type": "", - "value": "96" - } - ], - "functionName": { - "name": "add", - "nodeType": "YulIdentifier", - "src": "6704:3:10" - }, - "nodeType": "YulFunctionCall", - "src": "6704:40:10" - }, - "variables": [ - { - "name": "tail_1", - "nodeType": "YulTypedName", - "src": "6694:6:10", - "type": "" - } - ] - }, - { - "expression": { - "arguments": [ - { - "name": "tail", - "nodeType": "YulIdentifier", - "src": "6760:4:10" - }, - { - "name": "value0", - "nodeType": "YulIdentifier", - "src": "6766:6:10" - } - ], - "functionName": { - "name": "mstore", - "nodeType": "YulIdentifier", - "src": "6753:6:10" - }, - "nodeType": "YulFunctionCall", - "src": "6753:20:10" - }, - "nodeType": "YulExpressionStatement", - "src": "6753:20:10" - }, - { - "nodeType": "YulVariableDeclaration", - "src": "6782:33:10", - "value": { - "arguments": [ - { - "name": "tail", - "nodeType": "YulIdentifier", - "src": "6806:4:10" - }, - { - "name": "_1", - "nodeType": "YulIdentifier", - "src": "6812:2:10" - } - ], - "functionName": { - "name": "keccak256", - "nodeType": "YulIdentifier", - "src": "6796:9:10" - }, - "nodeType": "YulFunctionCall", - "src": "6796:19:10" - }, - "variables": [ - { - "name": "srcPtr", - "nodeType": "YulTypedName", - "src": "6786:6:10", - "type": "" - } - ] - }, - { - "nodeType": "YulVariableDeclaration", - "src": "6824:13:10", - "value": { - "name": "tail", - "nodeType": "YulIdentifier", - "src": "6833:4:10" - }, - "variables": [ - { - "name": "i", - "nodeType": "YulTypedName", - "src": "6828:1:10", - "type": "" - } - ] - }, - { - "body": { - "nodeType": "YulBlock", - "src": "6895:4122:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "name": "pos", - "nodeType": "YulIdentifier", - "src": "6916:3:10" + "nodeType": "YulExpressionStatement", + "src": "5538:58:11" }, { - "arguments": [ - { - "arguments": [ - { - "name": "tail_1", + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "data", + "nodeType": "YulIdentifier", + "src": "5635:4:11" + }, + { + "name": "_3", + "nodeType": "YulIdentifier", + "src": "5641:2:11" + } + ], + "functionName": { + "name": "and", + "nodeType": "YulIdentifier", + "src": "5631:3:11" + }, + "nodeType": "YulFunctionCall", + "src": "5631:13:11" + }, + { + "arguments": [ + { + "name": "pos_1", + "nodeType": "YulIdentifier", + "src": "5650:5:11" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "5657:3:11", + "type": "", + "value": "224" + } + ], + "functionName": { + "name": "add", "nodeType": "YulIdentifier", - "src": "6929:6:10" + "src": "5646:3:11" }, - { - "name": "headStart", - "nodeType": "YulIdentifier", - "src": "6937:9:10" - } - ], - "functionName": { - "name": "sub", + "nodeType": "YulFunctionCall", + "src": "5646:15:11" + } + ], + "functionName": { + "name": "abi_encode_bytes4", + "nodeType": "YulIdentifier", + "src": "5613:17:11" + }, + "nodeType": "YulFunctionCall", + "src": "5613:49:11" + }, + "nodeType": "YulExpressionStatement", + "src": "5613:49:11" + }, + { + "nodeType": "YulAssignment", + "src": "5679:24:11", + "value": { + "arguments": [ + { + "name": "pos_1", "nodeType": "YulIdentifier", - "src": "6925:3:10" + "src": "5692:5:11" }, - "nodeType": "YulFunctionCall", - "src": "6925:22:10" + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "5699:3:11", + "type": "", + "value": "256" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "5688:3:11" }, + "nodeType": "YulFunctionCall", + "src": "5688:15:11" + }, + "variableNames": [ { - "kind": "number", - "nodeType": "YulLiteral", - "src": "6949:66:10", - "type": "", - "value": "0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffa0" + "name": "pos_1", + "nodeType": "YulIdentifier", + "src": "5679:5:11" } - ], - "functionName": { - "name": "add", - "nodeType": "YulIdentifier", - "src": "6921:3:10" - }, - "nodeType": "YulFunctionCall", - "src": "6921:95:10" - } - ], - "functionName": { - "name": "mstore", - "nodeType": "YulIdentifier", - "src": "6909:6:10" - }, - "nodeType": "YulFunctionCall", - "src": "6909:108:10" - }, - "nodeType": "YulExpressionStatement", - "src": "6909:108:10" - }, - { - "nodeType": "YulVariableDeclaration", - "src": "7030:30:10", - "value": { - "arguments": [ - { - "name": "srcPtr", - "nodeType": "YulIdentifier", - "src": "7053:6:10" - } - ], - "functionName": { - "name": "sload", - "nodeType": "YulIdentifier", - "src": "7047:5:10" - }, - "nodeType": "YulFunctionCall", - "src": "7047:13:10" - }, - "variables": [ - { - "name": "slotValue", - "nodeType": "YulTypedName", - "src": "7034:9:10", - "type": "" - } - ] - }, - { - "expression": { - "arguments": [ - { - "name": "tail_1", - "nodeType": "YulIdentifier", - "src": "7080:6:10" + ] }, { - "arguments": [ - { - "name": "slotValue", + "nodeType": "YulAssignment", + "src": "5720:29:11", + "value": { + "arguments": [ + { + "name": "srcPtr_1", + "nodeType": "YulIdentifier", + "src": "5736:8:11" + }, + { + "name": "_2", + "nodeType": "YulIdentifier", + "src": "5746:2:11" + } + ], + "functionName": { + "name": "add", "nodeType": "YulIdentifier", - "src": "7092:9:10" + "src": "5732:3:11" }, + "nodeType": "YulFunctionCall", + "src": "5732:17:11" + }, + "variableNames": [ { - "kind": "number", - "nodeType": "YulLiteral", - "src": "7103:42:10", - "type": "", - "value": "0xffffffffffffffffffffffffffffffffffffffff" + "name": "srcPtr_1", + "nodeType": "YulIdentifier", + "src": "5720:8:11" } - ], - "functionName": { - "name": "and", - "nodeType": "YulIdentifier", - "src": "7088:3:10" - }, - "nodeType": "YulFunctionCall", - "src": "7088:58:10" + ] } - ], - "functionName": { - "name": "mstore", - "nodeType": "YulIdentifier", - "src": "7073:6:10" - }, - "nodeType": "YulFunctionCall", - "src": "7073:74:10" + ] }, - "nodeType": "YulExpressionStatement", - "src": "7073:74:10" - }, - { - "expression": { + "condition": { "arguments": [ { "arguments": [ { - "arguments": [ - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "7202:3:10", - "type": "", - "value": "160" - }, - { - "name": "slotValue", - "nodeType": "YulIdentifier", - "src": "7207:9:10" - } - ], - "functionName": { - "name": "shr", - "nodeType": "YulIdentifier", - "src": "7198:3:10" - }, - "nodeType": "YulFunctionCall", - "src": "7198:19:10" + "name": "itemCounter", + "nodeType": "YulIdentifier", + "src": "4833:11:11" }, { "kind": "number", "nodeType": "YulLiteral", - "src": "7219:4:10", + "src": "4846:1:11", "type": "", - "value": "0xff" - } - ], - "functionName": { - "name": "and", - "nodeType": "YulIdentifier", - "src": "7194:3:10" - }, - "nodeType": "YulFunctionCall", - "src": "7194:30:10" - }, - { - "arguments": [ - { - "name": "tail_1", - "nodeType": "YulIdentifier", - "src": "7230:6:10" - }, - { - "name": "_1", - "nodeType": "YulIdentifier", - "src": "7238:2:10" + "value": "7" } ], "functionName": { "name": "add", "nodeType": "YulIdentifier", - "src": "7226:3:10" + "src": "4829:3:11" }, "nodeType": "YulFunctionCall", - "src": "7226:15:10" - } - ], - "functionName": { - "name": "abi_encode_t_enum$_FacetCutAction", - "nodeType": "YulIdentifier", - "src": "7160:33:10" - }, - "nodeType": "YulFunctionCall", - "src": "7160:82:10" - }, - "nodeType": "YulExpressionStatement", - "src": "7160:82:10" - }, - { - "nodeType": "YulVariableDeclaration", - "src": "7255:11:10", - "value": { - "kind": "number", - "nodeType": "YulLiteral", - "src": "7265:1:10", - "type": "", - "value": "1" - }, - "variables": [ - { - "name": "_2", - "nodeType": "YulTypedName", - "src": "7259:2:10", - "type": "" - } - ] - }, - { - "nodeType": "YulVariableDeclaration", - "src": "7279:35:10", - "value": { - "arguments": [ - { - "name": "srcPtr", - "nodeType": "YulIdentifier", - "src": "7303:6:10" + "src": "4829:19:11" }, { - "name": "_2", + "name": "length_1", "nodeType": "YulIdentifier", - "src": "7311:2:10" + "src": "4850:8:11" } ], "functionName": { - "name": "add", + "name": "lt", "nodeType": "YulIdentifier", - "src": "7299:3:10" + "src": "4826:2:11" }, "nodeType": "YulFunctionCall", - "src": "7299:15:10" + "src": "4826:33:11" }, - "variables": [ - { - "name": "memberValue0", - "nodeType": "YulTypedName", - "src": "7283:12:10", - "type": "" - } - ] - }, - { - "expression": { - "arguments": [ + "nodeType": "YulForLoop", + "post": { + "nodeType": "YulBlock", + "src": "4872:66:11", + "statements": [ { - "arguments": [ - { - "name": "tail_1", + "nodeType": "YulAssignment", + "src": "4890:34:11", + "value": { + "arguments": [ + { + "name": "itemCounter", + "nodeType": "YulIdentifier", + "src": "4909:11:11" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "4922:1:11", + "type": "", + "value": "8" + } + ], + "functionName": { + "name": "add", "nodeType": "YulIdentifier", - "src": "7338:6:10" + "src": "4905:3:11" }, + "nodeType": "YulFunctionCall", + "src": "4905:19:11" + }, + "variableNames": [ { - "kind": "number", - "nodeType": "YulLiteral", - "src": "7346:2:10", - "type": "", - "value": "64" + "name": "itemCounter", + "nodeType": "YulIdentifier", + "src": "4890:11:11" } - ], - "functionName": { - "name": "add", - "nodeType": "YulIdentifier", - "src": "7334:3:10" - }, - "nodeType": "YulFunctionCall", - "src": "7334:15:10" - }, - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "7351:2:10", - "type": "", - "value": "96" + ] } - ], - "functionName": { - "name": "mstore", - "nodeType": "YulIdentifier", - "src": "7327:6:10" - }, - "nodeType": "YulFunctionCall", - "src": "7327:27:10" + ] }, - "nodeType": "YulExpressionStatement", - "src": "7327:27:10" + "pre": { + "nodeType": "YulBlock", + "src": "4810:3:11", + "statements": [] + }, + "src": "4806:957:11" }, { "nodeType": "YulVariableDeclaration", - "src": "7367:28:10", + "src": "5776:29:11", "value": { "arguments": [ { - "name": "tail_1", + "name": "srcPtr_1", "nodeType": "YulIdentifier", - "src": "7384:6:10" - }, - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "7392:2:10", - "type": "", - "value": "96" + "src": "5796:8:11" } ], "functionName": { - "name": "add", + "name": "sload", "nodeType": "YulIdentifier", - "src": "7380:3:10" + "src": "5790:5:11" }, "nodeType": "YulFunctionCall", - "src": "7380:15:10" + "src": "5790:15:11" }, "variables": [ { - "name": "pos_1", + "name": "data_1", "nodeType": "YulTypedName", - "src": "7371:5:10", + "src": "5780:6:11", "type": "" } ] }, { - "nodeType": "YulVariableDeclaration", - "src": "7408:35:10", - "value": { + "body": { + "nodeType": "YulBlock", + "src": "5859:166:11", + "statements": [ + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "5899:3:11", + "type": "", + "value": "224" + }, + { + "name": "data_1", + "nodeType": "YulIdentifier", + "src": "5904:6:11" + } + ], + "functionName": { + "name": "shl", + "nodeType": "YulIdentifier", + "src": "5895:3:11" + }, + "nodeType": "YulFunctionCall", + "src": "5895:16:11" + }, + { + "name": "pos_1", + "nodeType": "YulIdentifier", + "src": "5913:5:11" + } + ], + "functionName": { + "name": "abi_encode_bytes4", + "nodeType": "YulIdentifier", + "src": "5877:17:11" + }, + "nodeType": "YulFunctionCall", + "src": "5877:42:11" + }, + "nodeType": "YulExpressionStatement", + "src": "5877:42:11" + }, + { + "nodeType": "YulAssignment", + "src": "5936:23:11", + "value": { + "arguments": [ + { + "name": "pos_1", + "nodeType": "YulIdentifier", + "src": "5949:5:11" + }, + { + "name": "_1", + "nodeType": "YulIdentifier", + "src": "5956:2:11" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "5945:3:11" + }, + "nodeType": "YulFunctionCall", + "src": "5945:14:11" + }, + "variableNames": [ + { + "name": "pos_1", + "nodeType": "YulIdentifier", + "src": "5936:5:11" + } + ] + }, + { + "nodeType": "YulAssignment", + "src": "5976:35:11", + "value": { + "arguments": [ + { + "name": "itemCounter", + "nodeType": "YulIdentifier", + "src": "5995:11:11" + }, + { + "name": "_2", + "nodeType": "YulIdentifier", + "src": "6008:2:11" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "5991:3:11" + }, + "nodeType": "YulFunctionCall", + "src": "5991:20:11" + }, + "variableNames": [ + { + "name": "itemCounter", + "nodeType": "YulIdentifier", + "src": "5976:11:11" + } + ] + } + ] + }, + "condition": { "arguments": [ { - "name": "memberValue0", + "name": "itemCounter", + "nodeType": "YulIdentifier", + "src": "5824:11:11" + }, + { + "name": "length_1", "nodeType": "YulIdentifier", - "src": "7430:12:10" + "src": "5837:8:11" } ], "functionName": { - "name": "sload", + "name": "lt", "nodeType": "YulIdentifier", - "src": "7424:5:10" + "src": "5821:2:11" }, "nodeType": "YulFunctionCall", - "src": "7424:19:10" + "src": "5821:25:11" }, - "variables": [ - { - "name": "length_1", - "nodeType": "YulTypedName", - "src": "7412:8:10", - "type": "" - } - ] + "nodeType": "YulIf", + "src": "5818:207:11" }, { - "nodeType": "YulAssignment", - "src": "7456:77:10", - "value": { + "body": { + "nodeType": "YulBlock", + "src": "6079:239:11", + "statements": [ + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "6123:3:11", + "type": "", + "value": "192" + }, + { + "name": "data_1", + "nodeType": "YulIdentifier", + "src": "6128:6:11" + } + ], + "functionName": { + "name": "shl", + "nodeType": "YulIdentifier", + "src": "6119:3:11" + }, + "nodeType": "YulFunctionCall", + "src": "6119:16:11" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "6137:66:11", + "type": "", + "value": "0xffffffff00000000000000000000000000000000000000000000000000000000" + } + ], + "functionName": { + "name": "and", + "nodeType": "YulIdentifier", + "src": "6115:3:11" + }, + "nodeType": "YulFunctionCall", + "src": "6115:89:11" + }, + { + "name": "pos_1", + "nodeType": "YulIdentifier", + "src": "6206:5:11" + } + ], + "functionName": { + "name": "abi_encode_bytes4", + "nodeType": "YulIdentifier", + "src": "6097:17:11" + }, + "nodeType": "YulFunctionCall", + "src": "6097:115:11" + }, + "nodeType": "YulExpressionStatement", + "src": "6097:115:11" + }, + { + "nodeType": "YulAssignment", + "src": "6229:23:11", + "value": { + "arguments": [ + { + "name": "pos_1", + "nodeType": "YulIdentifier", + "src": "6242:5:11" + }, + { + "name": "_1", + "nodeType": "YulIdentifier", + "src": "6249:2:11" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "6238:3:11" + }, + "nodeType": "YulFunctionCall", + "src": "6238:14:11" + }, + "variableNames": [ + { + "name": "pos_1", + "nodeType": "YulIdentifier", + "src": "6229:5:11" + } + ] + }, + { + "nodeType": "YulAssignment", + "src": "6269:35:11", + "value": { + "arguments": [ + { + "name": "itemCounter", + "nodeType": "YulIdentifier", + "src": "6288:11:11" + }, + { + "name": "_2", + "nodeType": "YulIdentifier", + "src": "6301:2:11" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "6284:3:11" + }, + "nodeType": "YulFunctionCall", + "src": "6284:20:11" + }, + "variableNames": [ + { + "name": "itemCounter", + "nodeType": "YulIdentifier", + "src": "6269:11:11" + } + ] + } + ] + }, + "condition": { "arguments": [ { - "name": "pos_1", + "name": "itemCounter", "nodeType": "YulIdentifier", - "src": "7517:5:10" + "src": "6044:11:11" }, { "name": "length_1", "nodeType": "YulIdentifier", - "src": "7524:8:10" - } - ], - "functionName": { - "name": "array_storeLengthForEncoding_t_array$_t_bytes4_$dyn", - "nodeType": "YulIdentifier", - "src": "7465:51:10" - }, - "nodeType": "YulFunctionCall", - "src": "7465:68:10" - }, - "variableNames": [ - { - "name": "pos_1", - "nodeType": "YulIdentifier", - "src": "7456:5:10" - } - ] - }, - { - "nodeType": "YulVariableDeclaration", - "src": "7546:75:10", - "value": { - "arguments": [ - { - "name": "memberValue0", - "nodeType": "YulIdentifier", - "src": "7608:12:10" + "src": "6057:8:11" } ], "functionName": { - "name": "array_dataslot_t_array$_t_bytes4_$dyn_storage", + "name": "lt", "nodeType": "YulIdentifier", - "src": "7562:45:10" + "src": "6041:2:11" }, "nodeType": "YulFunctionCall", - "src": "7562:59:10" - }, - "variables": [ - { - "name": "srcPtr_1", - "nodeType": "YulTypedName", - "src": "7550:8:10", - "type": "" - } - ] - }, - { - "nodeType": "YulVariableDeclaration", - "src": "7634:23:10", - "value": { - "name": "tail", - "nodeType": "YulIdentifier", - "src": "7653:4:10" + "src": "6041:25:11" }, - "variables": [ - { - "name": "itemCounter", - "nodeType": "YulTypedName", - "src": "7638:11:10", - "type": "" - } - ] + "nodeType": "YulIf", + "src": "6038:280:11" }, { "body": { "nodeType": "YulBlock", - "src": "7815:828:10", + "src": "6372:239:11", "statements": [ - { - "nodeType": "YulVariableDeclaration", - "src": "7833:27:10", - "value": { - "arguments": [ - { - "name": "srcPtr_1", - "nodeType": "YulIdentifier", - "src": "7851:8:10" - } - ], - "functionName": { - "name": "sload", - "nodeType": "YulIdentifier", - "src": "7845:5:10" - }, - "nodeType": "YulFunctionCall", - "src": "7845:15:10" - }, - "variables": [ - { - "name": "data", - "nodeType": "YulTypedName", - "src": "7837:4:10", - "type": "" - } - ] - }, { "expression": { "arguments": [ { "arguments": [ + { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "6416:3:11", + "type": "", + "value": "160" + }, + { + "name": "data_1", + "nodeType": "YulIdentifier", + "src": "6421:6:11" + } + ], + "functionName": { + "name": "shl", + "nodeType": "YulIdentifier", + "src": "6412:3:11" + }, + "nodeType": "YulFunctionCall", + "src": "6412:16:11" + }, { "kind": "number", "nodeType": "YulLiteral", - "src": "7901:3:10", + "src": "6430:66:11", "type": "", - "value": "224" - }, - { - "name": "data", - "nodeType": "YulIdentifier", - "src": "7906:4:10" + "value": "0xffffffff00000000000000000000000000000000000000000000000000000000" } ], "functionName": { - "name": "shl", + "name": "and", "nodeType": "YulIdentifier", - "src": "7897:3:10" + "src": "6408:3:11" }, "nodeType": "YulFunctionCall", - "src": "7897:14:10" + "src": "6408:89:11" }, { "name": "pos_1", "nodeType": "YulIdentifier", - "src": "7913:5:10" + "src": "6499:5:11" } ], "functionName": { - "name": "abi_encode_t_bytes4", + "name": "abi_encode_bytes4", "nodeType": "YulIdentifier", - "src": "7877:19:10" + "src": "6390:17:11" }, "nodeType": "YulFunctionCall", - "src": "7877:42:10" + "src": "6390:115:11" }, "nodeType": "YulExpressionStatement", - "src": "7877:42:10" + "src": "6390:115:11" }, { - "nodeType": "YulVariableDeclaration", - "src": "7936:76:10", + "nodeType": "YulAssignment", + "src": "6522:23:11", "value": { - "kind": "number", - "nodeType": "YulLiteral", - "src": "7946:66:10", - "type": "", - "value": "0xffffffff00000000000000000000000000000000000000000000000000000000" + "arguments": [ + { + "name": "pos_1", + "nodeType": "YulIdentifier", + "src": "6535:5:11" + }, + { + "name": "_1", + "nodeType": "YulIdentifier", + "src": "6542:2:11" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "6531:3:11" + }, + "nodeType": "YulFunctionCall", + "src": "6531:14:11" }, - "variables": [ + "variableNames": [ { - "name": "_3", - "nodeType": "YulTypedName", - "src": "7940:2:10", - "type": "" + "name": "pos_1", + "nodeType": "YulIdentifier", + "src": "6522:5:11" + } + ] + }, + { + "nodeType": "YulAssignment", + "src": "6562:35:11", + "value": { + "arguments": [ + { + "name": "itemCounter", + "nodeType": "YulIdentifier", + "src": "6581:11:11" + }, + { + "name": "_2", + "nodeType": "YulIdentifier", + "src": "6594:2:11" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "6577:3:11" + }, + "nodeType": "YulFunctionCall", + "src": "6577:20:11" + }, + "variableNames": [ + { + "name": "itemCounter", + "nodeType": "YulIdentifier", + "src": "6562:11:11" } ] + } + ] + }, + "condition": { + "arguments": [ + { + "name": "itemCounter", + "nodeType": "YulIdentifier", + "src": "6337:11:11" }, + { + "name": "length_1", + "nodeType": "YulIdentifier", + "src": "6350:8:11" + } + ], + "functionName": { + "name": "lt", + "nodeType": "YulIdentifier", + "src": "6334:2:11" + }, + "nodeType": "YulFunctionCall", + "src": "6334:25:11" + }, + "nodeType": "YulIf", + "src": "6331:280:11" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "6665:239:11", + "statements": [ { "expression": { "arguments": [ @@ -5187,71 +4920,152 @@ { "kind": "number", "nodeType": "YulLiteral", - "src": "8057:3:10", + "src": "6709:3:11", "type": "", - "value": "192" + "value": "128" }, { - "name": "data", + "name": "data_1", "nodeType": "YulIdentifier", - "src": "8062:4:10" + "src": "6714:6:11" } ], "functionName": { "name": "shl", "nodeType": "YulIdentifier", - "src": "8053:3:10" + "src": "6705:3:11" }, "nodeType": "YulFunctionCall", - "src": "8053:14:10" + "src": "6705:16:11" }, { - "name": "_3", - "nodeType": "YulIdentifier", - "src": "8069:2:10" + "kind": "number", + "nodeType": "YulLiteral", + "src": "6723:66:11", + "type": "", + "value": "0xffffffff00000000000000000000000000000000000000000000000000000000" } ], "functionName": { "name": "and", "nodeType": "YulIdentifier", - "src": "8049:3:10" + "src": "6701:3:11" }, "nodeType": "YulFunctionCall", - "src": "8049:23:10" + "src": "6701:89:11" }, { - "arguments": [ - { - "name": "pos_1", - "nodeType": "YulIdentifier", - "src": "8078:5:10" - }, - { - "name": "_1", - "nodeType": "YulIdentifier", - "src": "8085:2:10" - } - ], - "functionName": { - "name": "add", - "nodeType": "YulIdentifier", - "src": "8074:3:10" - }, - "nodeType": "YulFunctionCall", - "src": "8074:14:10" + "name": "pos_1", + "nodeType": "YulIdentifier", + "src": "6792:5:11" } ], "functionName": { - "name": "abi_encode_t_bytes4", + "name": "abi_encode_bytes4", "nodeType": "YulIdentifier", - "src": "8029:19:10" + "src": "6683:17:11" }, "nodeType": "YulFunctionCall", - "src": "8029:60:10" + "src": "6683:115:11" }, "nodeType": "YulExpressionStatement", - "src": "8029:60:10" + "src": "6683:115:11" + }, + { + "nodeType": "YulAssignment", + "src": "6815:23:11", + "value": { + "arguments": [ + { + "name": "pos_1", + "nodeType": "YulIdentifier", + "src": "6828:5:11" + }, + { + "name": "_1", + "nodeType": "YulIdentifier", + "src": "6835:2:11" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "6824:3:11" + }, + "nodeType": "YulFunctionCall", + "src": "6824:14:11" + }, + "variableNames": [ + { + "name": "pos_1", + "nodeType": "YulIdentifier", + "src": "6815:5:11" + } + ] + }, + { + "nodeType": "YulAssignment", + "src": "6855:35:11", + "value": { + "arguments": [ + { + "name": "itemCounter", + "nodeType": "YulIdentifier", + "src": "6874:11:11" + }, + { + "name": "_2", + "nodeType": "YulIdentifier", + "src": "6887:2:11" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "6870:3:11" + }, + "nodeType": "YulFunctionCall", + "src": "6870:20:11" + }, + "variableNames": [ + { + "name": "itemCounter", + "nodeType": "YulIdentifier", + "src": "6855:11:11" + } + ] + } + ] + }, + "condition": { + "arguments": [ + { + "name": "itemCounter", + "nodeType": "YulIdentifier", + "src": "6630:11:11" }, + { + "name": "length_1", + "nodeType": "YulIdentifier", + "src": "6643:8:11" + } + ], + "functionName": { + "name": "lt", + "nodeType": "YulIdentifier", + "src": "6627:2:11" + }, + "nodeType": "YulFunctionCall", + "src": "6627:25:11" + }, + "nodeType": "YulIf", + "src": "6624:280:11" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "6958:238:11", + "statements": [ { "expression": { "arguments": [ @@ -5262,150 +5076,152 @@ { "kind": "number", "nodeType": "YulLiteral", - "src": "8134:3:10", + "src": "7002:2:11", "type": "", - "value": "160" + "value": "96" }, { - "name": "data", + "name": "data_1", "nodeType": "YulIdentifier", - "src": "8139:4:10" + "src": "7006:6:11" } ], "functionName": { "name": "shl", "nodeType": "YulIdentifier", - "src": "8130:3:10" + "src": "6998:3:11" }, "nodeType": "YulFunctionCall", - "src": "8130:14:10" - }, - { - "name": "_3", - "nodeType": "YulIdentifier", - "src": "8146:2:10" - } - ], - "functionName": { - "name": "and", - "nodeType": "YulIdentifier", - "src": "8126:3:10" - }, - "nodeType": "YulFunctionCall", - "src": "8126:23:10" - }, - { - "arguments": [ - { - "name": "pos_1", - "nodeType": "YulIdentifier", - "src": "8155:5:10" + "src": "6998:15:11" }, { "kind": "number", "nodeType": "YulLiteral", - "src": "8162:2:10", + "src": "7015:66:11", "type": "", - "value": "64" + "value": "0xffffffff00000000000000000000000000000000000000000000000000000000" } ], "functionName": { - "name": "add", + "name": "and", "nodeType": "YulIdentifier", - "src": "8151:3:10" + "src": "6994:3:11" }, "nodeType": "YulFunctionCall", - "src": "8151:14:10" + "src": "6994:88:11" + }, + { + "name": "pos_1", + "nodeType": "YulIdentifier", + "src": "7084:5:11" } ], "functionName": { - "name": "abi_encode_t_bytes4", + "name": "abi_encode_bytes4", "nodeType": "YulIdentifier", - "src": "8106:19:10" + "src": "6976:17:11" }, "nodeType": "YulFunctionCall", - "src": "8106:60:10" + "src": "6976:114:11" }, "nodeType": "YulExpressionStatement", - "src": "8106:60:10" + "src": "6976:114:11" }, { - "expression": { + "nodeType": "YulAssignment", + "src": "7107:23:11", + "value": { "arguments": [ { - "arguments": [ - { - "arguments": [ - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "8211:3:10", - "type": "", - "value": "128" - }, - { - "name": "data", - "nodeType": "YulIdentifier", - "src": "8216:4:10" - } - ], - "functionName": { - "name": "shl", - "nodeType": "YulIdentifier", - "src": "8207:3:10" - }, - "nodeType": "YulFunctionCall", - "src": "8207:14:10" - }, - { - "name": "_3", - "nodeType": "YulIdentifier", - "src": "8223:2:10" - } - ], - "functionName": { - "name": "and", - "nodeType": "YulIdentifier", - "src": "8203:3:10" - }, - "nodeType": "YulFunctionCall", - "src": "8203:23:10" + "name": "pos_1", + "nodeType": "YulIdentifier", + "src": "7120:5:11" }, { - "arguments": [ - { - "name": "pos_1", - "nodeType": "YulIdentifier", - "src": "8232:5:10" - }, - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "8239:2:10", - "type": "", - "value": "96" - } - ], - "functionName": { - "name": "add", - "nodeType": "YulIdentifier", - "src": "8228:3:10" - }, - "nodeType": "YulFunctionCall", - "src": "8228:14:10" + "name": "_1", + "nodeType": "YulIdentifier", + "src": "7127:2:11" } ], "functionName": { - "name": "abi_encode_t_bytes4", + "name": "add", "nodeType": "YulIdentifier", - "src": "8183:19:10" + "src": "7116:3:11" }, "nodeType": "YulFunctionCall", - "src": "8183:60:10" + "src": "7116:14:11" }, - "nodeType": "YulExpressionStatement", - "src": "8183:60:10" + "variableNames": [ + { + "name": "pos_1", + "nodeType": "YulIdentifier", + "src": "7107:5:11" + } + ] + }, + { + "nodeType": "YulAssignment", + "src": "7147:35:11", + "value": { + "arguments": [ + { + "name": "itemCounter", + "nodeType": "YulIdentifier", + "src": "7166:11:11" + }, + { + "name": "_2", + "nodeType": "YulIdentifier", + "src": "7179:2:11" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "7162:3:11" + }, + "nodeType": "YulFunctionCall", + "src": "7162:20:11" + }, + "variableNames": [ + { + "name": "itemCounter", + "nodeType": "YulIdentifier", + "src": "7147:11:11" + } + ] + } + ] + }, + "condition": { + "arguments": [ + { + "name": "itemCounter", + "nodeType": "YulIdentifier", + "src": "6923:11:11" }, + { + "name": "length_1", + "nodeType": "YulIdentifier", + "src": "6936:8:11" + } + ], + "functionName": { + "name": "lt", + "nodeType": "YulIdentifier", + "src": "6920:2:11" + }, + "nodeType": "YulFunctionCall", + "src": "6920:25:11" + }, + "nodeType": "YulIf", + "src": "6917:279:11" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "7250:238:11", + "statements": [ { "expression": { "arguments": [ @@ -5416,73 +5232,152 @@ { "kind": "number", "nodeType": "YulLiteral", - "src": "8288:2:10", + "src": "7294:2:11", "type": "", - "value": "96" + "value": "64" }, { - "name": "data", + "name": "data_1", "nodeType": "YulIdentifier", - "src": "8292:4:10" + "src": "7298:6:11" } ], "functionName": { "name": "shl", "nodeType": "YulIdentifier", - "src": "8284:3:10" + "src": "7290:3:11" }, "nodeType": "YulFunctionCall", - "src": "8284:13:10" - }, - { - "name": "_3", - "nodeType": "YulIdentifier", - "src": "8299:2:10" - } - ], - "functionName": { - "name": "and", - "nodeType": "YulIdentifier", - "src": "8280:3:10" - }, - "nodeType": "YulFunctionCall", - "src": "8280:22:10" - }, - { - "arguments": [ - { - "name": "pos_1", - "nodeType": "YulIdentifier", - "src": "8308:5:10" + "src": "7290:15:11" }, { "kind": "number", "nodeType": "YulLiteral", - "src": "8315:3:10", + "src": "7307:66:11", "type": "", - "value": "128" + "value": "0xffffffff00000000000000000000000000000000000000000000000000000000" } ], "functionName": { - "name": "add", + "name": "and", "nodeType": "YulIdentifier", - "src": "8304:3:10" + "src": "7286:3:11" }, "nodeType": "YulFunctionCall", - "src": "8304:15:10" + "src": "7286:88:11" + }, + { + "name": "pos_1", + "nodeType": "YulIdentifier", + "src": "7376:5:11" } ], "functionName": { - "name": "abi_encode_t_bytes4", + "name": "abi_encode_bytes4", "nodeType": "YulIdentifier", - "src": "8260:19:10" + "src": "7268:17:11" }, "nodeType": "YulFunctionCall", - "src": "8260:60:10" + "src": "7268:114:11" }, "nodeType": "YulExpressionStatement", - "src": "8260:60:10" + "src": "7268:114:11" + }, + { + "nodeType": "YulAssignment", + "src": "7399:23:11", + "value": { + "arguments": [ + { + "name": "pos_1", + "nodeType": "YulIdentifier", + "src": "7412:5:11" + }, + { + "name": "_1", + "nodeType": "YulIdentifier", + "src": "7419:2:11" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "7408:3:11" + }, + "nodeType": "YulFunctionCall", + "src": "7408:14:11" + }, + "variableNames": [ + { + "name": "pos_1", + "nodeType": "YulIdentifier", + "src": "7399:5:11" + } + ] + }, + { + "nodeType": "YulAssignment", + "src": "7439:35:11", + "value": { + "arguments": [ + { + "name": "itemCounter", + "nodeType": "YulIdentifier", + "src": "7458:11:11" + }, + { + "name": "_2", + "nodeType": "YulIdentifier", + "src": "7471:2:11" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "7454:3:11" + }, + "nodeType": "YulFunctionCall", + "src": "7454:20:11" + }, + "variableNames": [ + { + "name": "itemCounter", + "nodeType": "YulIdentifier", + "src": "7439:11:11" + } + ] + } + ] + }, + "condition": { + "arguments": [ + { + "name": "itemCounter", + "nodeType": "YulIdentifier", + "src": "7215:11:11" }, + { + "name": "length_1", + "nodeType": "YulIdentifier", + "src": "7228:8:11" + } + ], + "functionName": { + "name": "lt", + "nodeType": "YulIdentifier", + "src": "7212:2:11" + }, + "nodeType": "YulFunctionCall", + "src": "7212:25:11" + }, + "nodeType": "YulIf", + "src": "7209:279:11" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "7542:238:11", + "statements": [ { "expression": { "arguments": [ @@ -5491,274 +5386,728 @@ { "arguments": [ { - "kind": "number", - "nodeType": "YulLiteral", - "src": "8365:2:10", - "type": "", - "value": "64" + "name": "_1", + "nodeType": "YulIdentifier", + "src": "7586:2:11" }, { - "name": "data", + "name": "data_1", "nodeType": "YulIdentifier", - "src": "8369:4:10" + "src": "7590:6:11" } ], "functionName": { "name": "shl", "nodeType": "YulIdentifier", - "src": "8361:3:10" + "src": "7582:3:11" }, "nodeType": "YulFunctionCall", - "src": "8361:13:10" + "src": "7582:15:11" }, { - "name": "_3", - "nodeType": "YulIdentifier", - "src": "8376:2:10" + "kind": "number", + "nodeType": "YulLiteral", + "src": "7599:66:11", + "type": "", + "value": "0xffffffff00000000000000000000000000000000000000000000000000000000" } ], "functionName": { "name": "and", "nodeType": "YulIdentifier", - "src": "8357:3:10" + "src": "7578:3:11" }, "nodeType": "YulFunctionCall", - "src": "8357:22:10" + "src": "7578:88:11" + }, + { + "name": "pos_1", + "nodeType": "YulIdentifier", + "src": "7668:5:11" + } + ], + "functionName": { + "name": "abi_encode_bytes4", + "nodeType": "YulIdentifier", + "src": "7560:17:11" + }, + "nodeType": "YulFunctionCall", + "src": "7560:114:11" + }, + "nodeType": "YulExpressionStatement", + "src": "7560:114:11" + }, + { + "nodeType": "YulAssignment", + "src": "7691:23:11", + "value": { + "arguments": [ + { + "name": "pos_1", + "nodeType": "YulIdentifier", + "src": "7704:5:11" + }, + { + "name": "_1", + "nodeType": "YulIdentifier", + "src": "7711:2:11" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "7700:3:11" + }, + "nodeType": "YulFunctionCall", + "src": "7700:14:11" + }, + "variableNames": [ + { + "name": "pos_1", + "nodeType": "YulIdentifier", + "src": "7691:5:11" + } + ] + }, + { + "nodeType": "YulAssignment", + "src": "7731:35:11", + "value": { + "arguments": [ + { + "name": "itemCounter", + "nodeType": "YulIdentifier", + "src": "7750:11:11" }, + { + "name": "_2", + "nodeType": "YulIdentifier", + "src": "7763:2:11" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "7746:3:11" + }, + "nodeType": "YulFunctionCall", + "src": "7746:20:11" + }, + "variableNames": [ + { + "name": "itemCounter", + "nodeType": "YulIdentifier", + "src": "7731:11:11" + } + ] + } + ] + }, + "condition": { + "arguments": [ + { + "name": "itemCounter", + "nodeType": "YulIdentifier", + "src": "7507:11:11" + }, + { + "name": "length_1", + "nodeType": "YulIdentifier", + "src": "7520:8:11" + } + ], + "functionName": { + "name": "lt", + "nodeType": "YulIdentifier", + "src": "7504:2:11" + }, + "nodeType": "YulFunctionCall", + "src": "7504:25:11" + }, + "nodeType": "YulIf", + "src": "7501:279:11" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "7834:177:11", + "statements": [ + { + "expression": { + "arguments": [ { "arguments": [ { - "name": "pos_1", + "name": "data_1", "nodeType": "YulIdentifier", - "src": "8385:5:10" + "src": "7874:6:11" }, { "kind": "number", "nodeType": "YulLiteral", - "src": "8392:3:10", + "src": "7882:66:11", "type": "", - "value": "160" + "value": "0xffffffff00000000000000000000000000000000000000000000000000000000" } ], "functionName": { - "name": "add", + "name": "and", "nodeType": "YulIdentifier", - "src": "8381:3:10" + "src": "7870:3:11" }, "nodeType": "YulFunctionCall", - "src": "8381:15:10" + "src": "7870:79:11" + }, + { + "name": "pos_1", + "nodeType": "YulIdentifier", + "src": "7951:5:11" } ], "functionName": { - "name": "abi_encode_t_bytes4", + "name": "abi_encode_bytes4", "nodeType": "YulIdentifier", - "src": "8337:19:10" + "src": "7852:17:11" }, "nodeType": "YulFunctionCall", - "src": "8337:60:10" + "src": "7852:105:11" }, "nodeType": "YulExpressionStatement", - "src": "8337:60:10" + "src": "7852:105:11" + }, + { + "nodeType": "YulAssignment", + "src": "7974:23:11", + "value": { + "arguments": [ + { + "name": "pos_1", + "nodeType": "YulIdentifier", + "src": "7987:5:11" + }, + { + "name": "_1", + "nodeType": "YulIdentifier", + "src": "7994:2:11" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "7983:3:11" + }, + "nodeType": "YulFunctionCall", + "src": "7983:14:11" + }, + "variableNames": [ + { + "name": "pos_1", + "nodeType": "YulIdentifier", + "src": "7974:5:11" + } + ] + } + ] + }, + "condition": { + "arguments": [ + { + "name": "itemCounter", + "nodeType": "YulIdentifier", + "src": "7799:11:11" + }, + { + "name": "length_1", + "nodeType": "YulIdentifier", + "src": "7812:8:11" + } + ], + "functionName": { + "name": "lt", + "nodeType": "YulIdentifier", + "src": "7796:2:11" + }, + "nodeType": "YulFunctionCall", + "src": "7796:25:11" + }, + "nodeType": "YulIf", + "src": "7793:218:11" + }, + { + "nodeType": "YulAssignment", + "src": "8024:15:11", + "value": { + "name": "pos_1", + "nodeType": "YulIdentifier", + "src": "8034:5:11" + }, + "variableNames": [ + { + "name": "tail_2", + "nodeType": "YulIdentifier", + "src": "8024:6:11" + } + ] + }, + { + "nodeType": "YulAssignment", + "src": "8052:27:11", + "value": { + "arguments": [ + { + "name": "srcPtr", + "nodeType": "YulIdentifier", + "src": "8066:6:11" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "8074:4:11", + "type": "", + "value": "0x02" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "8062:3:11" + }, + "nodeType": "YulFunctionCall", + "src": "8062:17:11" + }, + "variableNames": [ + { + "name": "srcPtr", + "nodeType": "YulIdentifier", + "src": "8052:6:11" + } + ] + }, + { + "nodeType": "YulAssignment", + "src": "8092:19:11", + "value": { + "arguments": [ + { + "name": "pos", + "nodeType": "YulIdentifier", + "src": "8103:3:11" }, { - "expression": { - "arguments": [ - { - "arguments": [ - { - "arguments": [ - { - "name": "_1", - "nodeType": "YulIdentifier", - "src": "8442:2:10" - }, - { - "name": "data", - "nodeType": "YulIdentifier", - "src": "8446:4:10" - } - ], - "functionName": { - "name": "shl", - "nodeType": "YulIdentifier", - "src": "8438:3:10" - }, - "nodeType": "YulFunctionCall", - "src": "8438:13:10" - }, - { - "name": "_3", - "nodeType": "YulIdentifier", - "src": "8453:2:10" - } - ], - "functionName": { - "name": "and", - "nodeType": "YulIdentifier", - "src": "8434:3:10" - }, - "nodeType": "YulFunctionCall", - "src": "8434:22:10" - }, - { - "arguments": [ - { - "name": "pos_1", - "nodeType": "YulIdentifier", - "src": "8462:5:10" - }, - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "8469:3:10", - "type": "", - "value": "192" - } - ], - "functionName": { - "name": "add", - "nodeType": "YulIdentifier", - "src": "8458:3:10" - }, - "nodeType": "YulFunctionCall", - "src": "8458:15:10" - } - ], - "functionName": { - "name": "abi_encode_t_bytes4", - "nodeType": "YulIdentifier", - "src": "8414:19:10" - }, - "nodeType": "YulFunctionCall", - "src": "8414:60:10" - }, - "nodeType": "YulExpressionStatement", - "src": "8414:60:10" + "name": "_1", + "nodeType": "YulIdentifier", + "src": "8108:2:11" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "8099:3:11" + }, + "nodeType": "YulFunctionCall", + "src": "8099:12:11" + }, + "variableNames": [ + { + "name": "pos", + "nodeType": "YulIdentifier", + "src": "8092:3:11" + } + ] + } + ] + }, + "condition": { + "arguments": [ + { + "name": "i", + "nodeType": "YulIdentifier", + "src": "3959:1:11" + }, + { + "name": "length", + "nodeType": "YulIdentifier", + "src": "3962:6:11" + } + ], + "functionName": { + "name": "lt", + "nodeType": "YulIdentifier", + "src": "3956:2:11" + }, + "nodeType": "YulFunctionCall", + "src": "3956:13:11" + }, + "nodeType": "YulForLoop", + "post": { + "nodeType": "YulBlock", + "src": "3970:18:11", + "statements": [ + { + "nodeType": "YulAssignment", + "src": "3972:14:11", + "value": { + "arguments": [ + { + "name": "i", + "nodeType": "YulIdentifier", + "src": "3981:1:11" }, { - "expression": { - "arguments": [ - { - "arguments": [ - { - "name": "data", - "nodeType": "YulIdentifier", - "src": "8515:4:10" - }, - { - "name": "_3", - "nodeType": "YulIdentifier", - "src": "8521:2:10" - } - ], - "functionName": { - "name": "and", - "nodeType": "YulIdentifier", - "src": "8511:3:10" - }, - "nodeType": "YulFunctionCall", - "src": "8511:13:10" - }, - { - "arguments": [ - { - "name": "pos_1", - "nodeType": "YulIdentifier", - "src": "8530:5:10" - }, - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "8537:3:10", - "type": "", - "value": "224" - } - ], - "functionName": { - "name": "add", - "nodeType": "YulIdentifier", - "src": "8526:3:10" - }, - "nodeType": "YulFunctionCall", - "src": "8526:15:10" - } - ], - "functionName": { - "name": "abi_encode_t_bytes4", - "nodeType": "YulIdentifier", - "src": "8491:19:10" - }, - "nodeType": "YulFunctionCall", - "src": "8491:51:10" - }, - "nodeType": "YulExpressionStatement", - "src": "8491:51:10" - }, + "kind": "number", + "nodeType": "YulLiteral", + "src": "3984:1:11", + "type": "", + "value": "1" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "3977:3:11" + }, + "nodeType": "YulFunctionCall", + "src": "3977:9:11" + }, + "variableNames": [ + { + "name": "i", + "nodeType": "YulIdentifier", + "src": "3972:1:11" + } + ] + } + ] + }, + "pre": { + "nodeType": "YulBlock", + "src": "3952:3:11", + "statements": [] + }, + "src": "3948:4173:11" + }, + { + "nodeType": "YulAssignment", + "src": "8130:14:11", + "value": { + "name": "tail_2", + "nodeType": "YulIdentifier", + "src": "8138:6:11" + }, + "variableNames": [ + { + "name": "tail", + "nodeType": "YulIdentifier", + "src": "8130:4:11" + } + ] + }, + { + "expression": { + "arguments": [ + { + "name": "value1", + "nodeType": "YulIdentifier", + "src": "8183:6:11" + }, + { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "8195:9:11" + }, + { + "name": "_1", + "nodeType": "YulIdentifier", + "src": "8206:2:11" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "8191:3:11" + }, + "nodeType": "YulFunctionCall", + "src": "8191:18:11" + } + ], + "functionName": { + "name": "abi_encode_struct_DiamondArgs", + "nodeType": "YulIdentifier", + "src": "8153:29:11" + }, + "nodeType": "YulFunctionCall", + "src": "8153:57:11" + }, + "nodeType": "YulExpressionStatement", + "src": "8153:57:11" + } + ] + }, + "name": "abi_encode_tuple_t_array$_t_struct$_FacetCut_$711_storage_$dyn_storage_t_struct$_DiamondArgs_$310_memory_ptr__to_t_array$_t_struct$_FacetCut_$711_memory_ptr_$dyn_memory_ptr_t_struct$_DiamondArgs_$310_memory_ptr__fromStack_reversed", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "headStart", + "nodeType": "YulTypedName", + "src": "3532:9:11", + "type": "" + }, + { + "name": "value1", + "nodeType": "YulTypedName", + "src": "3543:6:11", + "type": "" + }, + { + "name": "value0", + "nodeType": "YulTypedName", + "src": "3551:6:11", + "type": "" + } + ], + "returnVariables": [ + { + "name": "tail", + "nodeType": "YulTypedName", + "src": "3562:4:11", + "type": "" + } + ], + "src": "3292:4924:11" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "8298:553:11", + "statements": [ + { + "expression": { + "arguments": [ + { + "name": "pos", + "nodeType": "YulIdentifier", + "src": "8315:3:11" + }, + { + "name": "length", + "nodeType": "YulIdentifier", + "src": "8320:6:11" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "8308:6:11" + }, + "nodeType": "YulFunctionCall", + "src": "8308:19:11" + }, + "nodeType": "YulExpressionStatement", + "src": "8308:19:11" + }, + { + "nodeType": "YulVariableDeclaration", + "src": "8336:14:11", + "value": { + "kind": "number", + "nodeType": "YulLiteral", + "src": "8346:4:11", + "type": "", + "value": "0x20" + }, + "variables": [ + { + "name": "_1", + "nodeType": "YulTypedName", + "src": "8340:2:11", + "type": "" + } + ] + }, + { + "nodeType": "YulAssignment", + "src": "8359:19:11", + "value": { + "arguments": [ + { + "name": "pos", + "nodeType": "YulIdentifier", + "src": "8370:3:11" + }, + { + "name": "_1", + "nodeType": "YulIdentifier", + "src": "8375:2:11" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "8366:3:11" + }, + "nodeType": "YulFunctionCall", + "src": "8366:12:11" + }, + "variableNames": [ + { + "name": "pos", + "nodeType": "YulIdentifier", + "src": "8359:3:11" + } + ] + }, + { + "nodeType": "YulVariableDeclaration", + "src": "8387:19:11", + "value": { + "name": "value", + "nodeType": "YulIdentifier", + "src": "8401:5:11" + }, + "variables": [ + { + "name": "srcPtr", + "nodeType": "YulTypedName", + "src": "8391:6:11", + "type": "" + } + ] + }, + { + "nodeType": "YulVariableDeclaration", + "src": "8415:10:11", + "value": { + "kind": "number", + "nodeType": "YulLiteral", + "src": "8424:1:11", + "type": "", + "value": "0" + }, + "variables": [ + { + "name": "i", + "nodeType": "YulTypedName", + "src": "8419:1:11", + "type": "" + } + ] + }, + { + "nodeType": "YulVariableDeclaration", + "src": "8434:12:11", + "value": { + "name": "i", + "nodeType": "YulIdentifier", + "src": "8445:1:11" + }, + "variables": [ + { + "name": "i_1", + "nodeType": "YulTypedName", + "src": "8438:3:11", + "type": "" + } + ] + }, + { + "body": { + "nodeType": "YulBlock", + "src": "8510:316:11", + "statements": [ + { + "nodeType": "YulVariableDeclaration", + "src": "8524:35:11", + "value": { + "arguments": [ + { + "name": "srcPtr", + "nodeType": "YulIdentifier", + "src": "8552:6:11" + } + ], + "functionName": { + "name": "calldataload", + "nodeType": "YulIdentifier", + "src": "8539:12:11" + }, + "nodeType": "YulFunctionCall", + "src": "8539:20:11" + }, + "variables": [ + { + "name": "value_1", + "nodeType": "YulTypedName", + "src": "8528:7:11", + "type": "" + } + ] + }, + { + "nodeType": "YulVariableDeclaration", + "src": "8572:90:11", + "value": { + "arguments": [ { - "nodeType": "YulAssignment", - "src": "8559:24:10", - "value": { - "arguments": [ - { - "name": "pos_1", - "nodeType": "YulIdentifier", - "src": "8572:5:10" - }, - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "8579:3:10", - "type": "", - "value": "256" - } - ], - "functionName": { - "name": "add", - "nodeType": "YulIdentifier", - "src": "8568:3:10" - }, - "nodeType": "YulFunctionCall", - "src": "8568:15:10" - }, - "variableNames": [ - { - "name": "pos_1", - "nodeType": "YulIdentifier", - "src": "8559:5:10" - } - ] + "name": "value_1", + "nodeType": "YulIdentifier", + "src": "8586:7:11" }, { - "nodeType": "YulAssignment", - "src": "8600:29:10", - "value": { + "kind": "number", + "nodeType": "YulLiteral", + "src": "8595:66:11", + "type": "", + "value": "0xffffffff00000000000000000000000000000000000000000000000000000000" + } + ], + "functionName": { + "name": "and", + "nodeType": "YulIdentifier", + "src": "8582:3:11" + }, + "nodeType": "YulFunctionCall", + "src": "8582:80:11" + }, + "variables": [ + { + "name": "_2", + "nodeType": "YulTypedName", + "src": "8576:2:11", + "type": "" + } + ] + }, + { + "body": { + "nodeType": "YulBlock", + "src": "8702:16:11", + "statements": [ + { + "expression": { "arguments": [ { - "name": "srcPtr_1", + "name": "i", "nodeType": "YulIdentifier", - "src": "8616:8:10" + "src": "8711:1:11" }, { - "name": "_2", + "name": "i", "nodeType": "YulIdentifier", - "src": "8626:2:10" + "src": "8714:1:11" } ], "functionName": { - "name": "add", + "name": "revert", "nodeType": "YulIdentifier", - "src": "8612:3:10" + "src": "8704:6:11" }, "nodeType": "YulFunctionCall", - "src": "8612:17:10" + "src": "8704:12:11" }, - "variableNames": [ - { - "name": "srcPtr_1", - "nodeType": "YulIdentifier", - "src": "8600:8:10" - } - ] + "nodeType": "YulExpressionStatement", + "src": "8704:12:11" } ] }, @@ -5767,1373 +6116,1815 @@ { "arguments": [ { - "name": "itemCounter", + "name": "value_1", "nodeType": "YulIdentifier", - "src": "7697:11:10" + "src": "8688:7:11" }, { - "kind": "number", - "nodeType": "YulLiteral", - "src": "7710:1:10", - "type": "", - "value": "7" + "name": "_2", + "nodeType": "YulIdentifier", + "src": "8697:2:11" } ], "functionName": { - "name": "add", + "name": "eq", "nodeType": "YulIdentifier", - "src": "7693:3:10" + "src": "8685:2:11" }, "nodeType": "YulFunctionCall", - "src": "7693:19:10" + "src": "8685:15:11" + } + ], + "functionName": { + "name": "iszero", + "nodeType": "YulIdentifier", + "src": "8678:6:11" + }, + "nodeType": "YulFunctionCall", + "src": "8678:23:11" + }, + "nodeType": "YulIf", + "src": "8675:43:11" + }, + { + "expression": { + "arguments": [ + { + "name": "pos", + "nodeType": "YulIdentifier", + "src": "8738:3:11" }, { - "name": "length_1", + "name": "_2", "nodeType": "YulIdentifier", - "src": "7714:8:10" + "src": "8743:2:11" } ], "functionName": { - "name": "lt", + "name": "mstore", "nodeType": "YulIdentifier", - "src": "7690:2:10" + "src": "8731:6:11" }, "nodeType": "YulFunctionCall", - "src": "7690:33:10" + "src": "8731:15:11" }, - "nodeType": "YulForLoop", - "post": { - "nodeType": "YulBlock", - "src": "7736:66:10", - "statements": [ + "nodeType": "YulExpressionStatement", + "src": "8731:15:11" + }, + { + "nodeType": "YulAssignment", + "src": "8759:19:11", + "value": { + "arguments": [ { - "nodeType": "YulAssignment", - "src": "7754:34:10", - "value": { - "arguments": [ - { - "name": "itemCounter", - "nodeType": "YulIdentifier", - "src": "7773:11:10" - }, - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "7786:1:10", - "type": "", - "value": "8" - } - ], - "functionName": { - "name": "add", - "nodeType": "YulIdentifier", - "src": "7769:3:10" - }, - "nodeType": "YulFunctionCall", - "src": "7769:19:10" - }, - "variableNames": [ - { - "name": "itemCounter", - "nodeType": "YulIdentifier", - "src": "7754:11:10" - } - ] + "name": "pos", + "nodeType": "YulIdentifier", + "src": "8770:3:11" + }, + { + "name": "_1", + "nodeType": "YulIdentifier", + "src": "8775:2:11" } - ] - }, - "pre": { - "nodeType": "YulBlock", - "src": "7674:3:10", - "statements": [] + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "8766:3:11" + }, + "nodeType": "YulFunctionCall", + "src": "8766:12:11" }, - "src": "7670:973:10" + "variableNames": [ + { + "name": "pos", + "nodeType": "YulIdentifier", + "src": "8759:3:11" + } + ] }, { - "nodeType": "YulVariableDeclaration", - "src": "8656:29:10", + "nodeType": "YulAssignment", + "src": "8791:25:11", "value": { "arguments": [ { - "name": "srcPtr_1", + "name": "srcPtr", + "nodeType": "YulIdentifier", + "src": "8805:6:11" + }, + { + "name": "_1", "nodeType": "YulIdentifier", - "src": "8676:8:10" + "src": "8813:2:11" } ], "functionName": { - "name": "sload", + "name": "add", "nodeType": "YulIdentifier", - "src": "8670:5:10" + "src": "8801:3:11" }, "nodeType": "YulFunctionCall", - "src": "8670:15:10" + "src": "8801:15:11" }, - "variables": [ + "variableNames": [ { - "name": "data_1", - "nodeType": "YulTypedName", - "src": "8660:6:10", - "type": "" + "name": "srcPtr", + "nodeType": "YulIdentifier", + "src": "8791:6:11" } ] + } + ] + }, + "condition": { + "arguments": [ + { + "name": "i_1", + "nodeType": "YulIdentifier", + "src": "8466:3:11" }, { - "body": { - "nodeType": "YulBlock", - "src": "8739:168:10", - "statements": [ + "name": "length", + "nodeType": "YulIdentifier", + "src": "8471:6:11" + } + ], + "functionName": { + "name": "lt", + "nodeType": "YulIdentifier", + "src": "8463:2:11" + }, + "nodeType": "YulFunctionCall", + "src": "8463:15:11" + }, + "nodeType": "YulForLoop", + "post": { + "nodeType": "YulBlock", + "src": "8479:22:11", + "statements": [ + { + "nodeType": "YulAssignment", + "src": "8481:18:11", + "value": { + "arguments": [ { - "expression": { - "arguments": [ - { - "arguments": [ - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "8781:3:10", - "type": "", - "value": "224" - }, - { - "name": "data_1", - "nodeType": "YulIdentifier", - "src": "8786:6:10" - } - ], - "functionName": { - "name": "shl", - "nodeType": "YulIdentifier", - "src": "8777:3:10" - }, - "nodeType": "YulFunctionCall", - "src": "8777:16:10" - }, - { - "name": "pos_1", - "nodeType": "YulIdentifier", - "src": "8795:5:10" - } - ], - "functionName": { - "name": "abi_encode_t_bytes4", - "nodeType": "YulIdentifier", - "src": "8757:19:10" - }, - "nodeType": "YulFunctionCall", - "src": "8757:44:10" - }, - "nodeType": "YulExpressionStatement", - "src": "8757:44:10" + "name": "i_1", + "nodeType": "YulIdentifier", + "src": "8492:3:11" }, { - "nodeType": "YulAssignment", - "src": "8818:23:10", - "value": { - "arguments": [ - { - "name": "pos_1", - "nodeType": "YulIdentifier", - "src": "8831:5:10" - }, - { - "name": "_1", - "nodeType": "YulIdentifier", - "src": "8838:2:10" - } - ], - "functionName": { - "name": "add", - "nodeType": "YulIdentifier", - "src": "8827:3:10" - }, - "nodeType": "YulFunctionCall", - "src": "8827:14:10" + "kind": "number", + "nodeType": "YulLiteral", + "src": "8497:1:11", + "type": "", + "value": "1" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "8488:3:11" + }, + "nodeType": "YulFunctionCall", + "src": "8488:11:11" + }, + "variableNames": [ + { + "name": "i_1", + "nodeType": "YulIdentifier", + "src": "8481:3:11" + } + ] + } + ] + }, + "pre": { + "nodeType": "YulBlock", + "src": "8459:3:11", + "statements": [] + }, + "src": "8455:371:11" + }, + { + "nodeType": "YulAssignment", + "src": "8835:10:11", + "value": { + "name": "pos", + "nodeType": "YulIdentifier", + "src": "8842:3:11" + }, + "variableNames": [ + { + "name": "end", + "nodeType": "YulIdentifier", + "src": "8835:3:11" + } + ] + } + ] + }, + "name": "abi_encode_array_bytes4_dyn_calldata", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "value", + "nodeType": "YulTypedName", + "src": "8267:5:11", + "type": "" + }, + { + "name": "length", + "nodeType": "YulTypedName", + "src": "8274:6:11", + "type": "" + }, + { + "name": "pos", + "nodeType": "YulTypedName", + "src": "8282:3:11", + "type": "" + } + ], + "returnVariables": [ + { + "name": "end", + "nodeType": "YulTypedName", + "src": "8290:3:11", + "type": "" + } + ], + "src": "8221:630:11" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "8922:259:11", + "statements": [ + { + "expression": { + "arguments": [ + { + "name": "pos", + "nodeType": "YulIdentifier", + "src": "8939:3:11" + }, + { + "name": "length", + "nodeType": "YulIdentifier", + "src": "8944:6:11" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "8932:6:11" + }, + "nodeType": "YulFunctionCall", + "src": "8932:19:11" + }, + "nodeType": "YulExpressionStatement", + "src": "8932:19:11" + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "pos", + "nodeType": "YulIdentifier", + "src": "8977:3:11" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "8982:4:11", + "type": "", + "value": "0x20" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "8973:3:11" + }, + "nodeType": "YulFunctionCall", + "src": "8973:14:11" + }, + { + "name": "start", + "nodeType": "YulIdentifier", + "src": "8989:5:11" + }, + { + "name": "length", + "nodeType": "YulIdentifier", + "src": "8996:6:11" + } + ], + "functionName": { + "name": "calldatacopy", + "nodeType": "YulIdentifier", + "src": "8960:12:11" + }, + "nodeType": "YulFunctionCall", + "src": "8960:43:11" + }, + "nodeType": "YulExpressionStatement", + "src": "8960:43:11" + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "arguments": [ + { + "name": "pos", + "nodeType": "YulIdentifier", + "src": "9027:3:11" }, - "variableNames": [ - { - "name": "pos_1", - "nodeType": "YulIdentifier", - "src": "8818:5:10" - } - ] - }, - { - "nodeType": "YulAssignment", - "src": "8858:35:10", - "value": { + { + "name": "length", + "nodeType": "YulIdentifier", + "src": "9032:6:11" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "9023:3:11" + }, + "nodeType": "YulFunctionCall", + "src": "9023:16:11" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "9041:4:11", + "type": "", + "value": "0x20" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "9019:3:11" + }, + "nodeType": "YulFunctionCall", + "src": "9019:27:11" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "9048:1:11", + "type": "", + "value": "0" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "9012:6:11" + }, + "nodeType": "YulFunctionCall", + "src": "9012:38:11" + }, + "nodeType": "YulExpressionStatement", + "src": "9012:38:11" + }, + { + "nodeType": "YulAssignment", + "src": "9059:116:11", + "value": { + "arguments": [ + { + "arguments": [ + { + "name": "pos", + "nodeType": "YulIdentifier", + "src": "9074:3:11" + }, + { + "arguments": [ + { "arguments": [ { - "name": "itemCounter", + "name": "length", "nodeType": "YulIdentifier", - "src": "8877:11:10" + "src": "9087:6:11" }, { - "name": "_2", - "nodeType": "YulIdentifier", - "src": "8890:2:10" + "kind": "number", + "nodeType": "YulLiteral", + "src": "9095:2:11", + "type": "", + "value": "31" } ], "functionName": { "name": "add", "nodeType": "YulIdentifier", - "src": "8873:3:10" + "src": "9083:3:11" }, "nodeType": "YulFunctionCall", - "src": "8873:20:10" + "src": "9083:15:11" }, - "variableNames": [ - { - "name": "itemCounter", - "nodeType": "YulIdentifier", - "src": "8858:11:10" - } - ] - } - ] - }, - "condition": { - "arguments": [ - { - "name": "itemCounter", + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "9100:66:11", + "type": "", + "value": "0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0" + } + ], + "functionName": { + "name": "and", "nodeType": "YulIdentifier", - "src": "8704:11:10" + "src": "9079:3:11" }, - { - "name": "length_1", - "nodeType": "YulIdentifier", - "src": "8717:8:10" - } - ], - "functionName": { - "name": "lt", + "nodeType": "YulFunctionCall", + "src": "9079:88:11" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "9070:3:11" + }, + "nodeType": "YulFunctionCall", + "src": "9070:98:11" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "9170:4:11", + "type": "", + "value": "0x20" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "9066:3:11" + }, + "nodeType": "YulFunctionCall", + "src": "9066:109:11" + }, + "variableNames": [ + { + "name": "end", + "nodeType": "YulIdentifier", + "src": "9059:3:11" + } + ] + } + ] + }, + "name": "abi_encode_bytes_calldata", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "start", + "nodeType": "YulTypedName", + "src": "8891:5:11", + "type": "" + }, + { + "name": "length", + "nodeType": "YulTypedName", + "src": "8898:6:11", + "type": "" + }, + { + "name": "pos", + "nodeType": "YulTypedName", + "src": "8906:3:11", + "type": "" + } + ], + "returnVariables": [ + { + "name": "end", + "nodeType": "YulTypedName", + "src": "8914:3:11", + "type": "" + } + ], + "src": "8856:325:11" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "9483:2016:11", + "statements": [ + { + "nodeType": "YulVariableDeclaration", + "src": "9493:12:11", + "value": { + "kind": "number", + "nodeType": "YulLiteral", + "src": "9503:2:11", + "type": "", + "value": "96" + }, + "variables": [ + { + "name": "_1", + "nodeType": "YulTypedName", + "src": "9497:2:11", + "type": "" + } + ] + }, + { + "nodeType": "YulVariableDeclaration", + "src": "9514:32:11", + "value": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "9532:9:11" + }, + { + "name": "_1", + "nodeType": "YulIdentifier", + "src": "9543:2:11" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "9528:3:11" + }, + "nodeType": "YulFunctionCall", + "src": "9528:18:11" + }, + "variables": [ + { + "name": "tail_1", + "nodeType": "YulTypedName", + "src": "9518:6:11", + "type": "" + } + ] + }, + { + "expression": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "9562:9:11" + }, + { + "name": "_1", + "nodeType": "YulIdentifier", + "src": "9573:2:11" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "9555:6:11" + }, + "nodeType": "YulFunctionCall", + "src": "9555:21:11" + }, + "nodeType": "YulExpressionStatement", + "src": "9555:21:11" + }, + { + "nodeType": "YulVariableDeclaration", + "src": "9585:17:11", + "value": { + "name": "tail_1", + "nodeType": "YulIdentifier", + "src": "9596:6:11" + }, + "variables": [ + { + "name": "pos", + "nodeType": "YulTypedName", + "src": "9589:3:11", + "type": "" + } + ] + }, + { + "expression": { + "arguments": [ + { + "name": "tail_1", + "nodeType": "YulIdentifier", + "src": "9618:6:11" + }, + { + "name": "value1", + "nodeType": "YulIdentifier", + "src": "9626:6:11" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "9611:6:11" + }, + "nodeType": "YulFunctionCall", + "src": "9611:22:11" + }, + "nodeType": "YulExpressionStatement", + "src": "9611:22:11" + }, + { + "nodeType": "YulAssignment", + "src": "9642:26:11", + "value": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "9653:9:11" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "9664:3:11", + "type": "", + "value": "128" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "9649:3:11" + }, + "nodeType": "YulFunctionCall", + "src": "9649:19:11" + }, + "variableNames": [ + { + "name": "pos", + "nodeType": "YulIdentifier", + "src": "9642:3:11" + } + ] + }, + { + "nodeType": "YulVariableDeclaration", + "src": "9677:11:11", + "value": { + "kind": "number", + "nodeType": "YulLiteral", + "src": "9687:1:11", + "type": "", + "value": "5" + }, + "variables": [ + { + "name": "_2", + "nodeType": "YulTypedName", + "src": "9681:2:11", + "type": "" + } + ] + }, + { + "nodeType": "YulVariableDeclaration", + "src": "9697:55:11", + "value": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", "nodeType": "YulIdentifier", - "src": "8701:2:10" + "src": "9719:9:11" }, - "nodeType": "YulFunctionCall", - "src": "8701:25:10" - }, - "nodeType": "YulIf", - "src": "8698:2:10" - }, - { - "body": { - "nodeType": "YulBlock", - "src": "8961:241:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "arguments": [ - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "9007:3:10", - "type": "", - "value": "192" - }, - { - "name": "data_1", - "nodeType": "YulIdentifier", - "src": "9012:6:10" - } - ], - "functionName": { - "name": "shl", - "nodeType": "YulIdentifier", - "src": "9003:3:10" - }, - "nodeType": "YulFunctionCall", - "src": "9003:16:10" - }, - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "9021:66:10", - "type": "", - "value": "0xffffffff00000000000000000000000000000000000000000000000000000000" - } - ], - "functionName": { - "name": "and", - "nodeType": "YulIdentifier", - "src": "8999:3:10" - }, - "nodeType": "YulFunctionCall", - "src": "8999:89:10" - }, - { - "name": "pos_1", - "nodeType": "YulIdentifier", - "src": "9090:5:10" - } - ], - "functionName": { - "name": "abi_encode_t_bytes4", - "nodeType": "YulIdentifier", - "src": "8979:19:10" - }, - "nodeType": "YulFunctionCall", - "src": "8979:117:10" - }, - "nodeType": "YulExpressionStatement", - "src": "8979:117:10" - }, - { - "nodeType": "YulAssignment", - "src": "9113:23:10", - "value": { - "arguments": [ - { - "name": "pos_1", - "nodeType": "YulIdentifier", - "src": "9126:5:10" - }, - { - "name": "_1", - "nodeType": "YulIdentifier", - "src": "9133:2:10" - } - ], - "functionName": { - "name": "add", - "nodeType": "YulIdentifier", - "src": "9122:3:10" - }, - "nodeType": "YulFunctionCall", - "src": "9122:14:10" - }, - "variableNames": [ - { - "name": "pos_1", - "nodeType": "YulIdentifier", - "src": "9113:5:10" - } - ] - }, - { - "nodeType": "YulAssignment", - "src": "9153:35:10", - "value": { - "arguments": [ - { - "name": "itemCounter", - "nodeType": "YulIdentifier", - "src": "9172:11:10" - }, - { - "name": "_2", - "nodeType": "YulIdentifier", - "src": "9185:2:10" - } - ], - "functionName": { - "name": "add", - "nodeType": "YulIdentifier", - "src": "9168:3:10" - }, - "nodeType": "YulFunctionCall", - "src": "9168:20:10" + { + "arguments": [ + { + "name": "_2", + "nodeType": "YulIdentifier", + "src": "9734:2:11" }, - "variableNames": [ - { - "name": "itemCounter", - "nodeType": "YulIdentifier", - "src": "9153:11:10" - } - ] - } - ] - }, - "condition": { - "arguments": [ - { - "name": "itemCounter", + { + "name": "value1", + "nodeType": "YulIdentifier", + "src": "9738:6:11" + } + ], + "functionName": { + "name": "shl", "nodeType": "YulIdentifier", - "src": "8926:11:10" + "src": "9730:3:11" }, - { - "name": "length_1", - "nodeType": "YulIdentifier", - "src": "8939:8:10" - } - ], - "functionName": { - "name": "lt", - "nodeType": "YulIdentifier", - "src": "8923:2:10" - }, - "nodeType": "YulFunctionCall", - "src": "8923:25:10" + "nodeType": "YulFunctionCall", + "src": "9730:15:11" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "9715:3:11" }, - "nodeType": "YulIf", - "src": "8920:2:10" + "nodeType": "YulFunctionCall", + "src": "9715:31:11" }, { - "body": { - "nodeType": "YulBlock", - "src": "9256:241:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "arguments": [ - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "9302:3:10", - "type": "", - "value": "160" - }, - { - "name": "data_1", - "nodeType": "YulIdentifier", - "src": "9307:6:10" - } - ], - "functionName": { - "name": "shl", - "nodeType": "YulIdentifier", - "src": "9298:3:10" - }, - "nodeType": "YulFunctionCall", - "src": "9298:16:10" - }, - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "9316:66:10", - "type": "", - "value": "0xffffffff00000000000000000000000000000000000000000000000000000000" - } - ], - "functionName": { - "name": "and", - "nodeType": "YulIdentifier", - "src": "9294:3:10" - }, - "nodeType": "YulFunctionCall", - "src": "9294:89:10" - }, - { - "name": "pos_1", - "nodeType": "YulIdentifier", - "src": "9385:5:10" - } - ], - "functionName": { - "name": "abi_encode_t_bytes4", - "nodeType": "YulIdentifier", - "src": "9274:19:10" - }, - "nodeType": "YulFunctionCall", - "src": "9274:117:10" - }, - "nodeType": "YulExpressionStatement", - "src": "9274:117:10" - }, + "kind": "number", + "nodeType": "YulLiteral", + "src": "9748:3:11", + "type": "", + "value": "128" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "9711:3:11" + }, + "nodeType": "YulFunctionCall", + "src": "9711:41:11" + }, + "variables": [ + { + "name": "tail_2", + "nodeType": "YulTypedName", + "src": "9701:6:11", + "type": "" + } + ] + }, + { + "nodeType": "YulVariableDeclaration", + "src": "9761:20:11", + "value": { + "name": "value0", + "nodeType": "YulIdentifier", + "src": "9775:6:11" + }, + "variables": [ + { + "name": "srcPtr", + "nodeType": "YulTypedName", + "src": "9765:6:11", + "type": "" + } + ] + }, + { + "nodeType": "YulVariableDeclaration", + "src": "9790:10:11", + "value": { + "kind": "number", + "nodeType": "YulLiteral", + "src": "9799:1:11", + "type": "", + "value": "0" + }, + "variables": [ + { + "name": "i", + "nodeType": "YulTypedName", + "src": "9794:1:11", + "type": "" + } + ] + }, + { + "body": { + "nodeType": "YulBlock", + "src": "9858:1451:11", + "statements": [ + { + "expression": { + "arguments": [ { - "nodeType": "YulAssignment", - "src": "9408:23:10", - "value": { - "arguments": [ - { - "name": "pos_1", - "nodeType": "YulIdentifier", - "src": "9421:5:10" - }, - { - "name": "_1", - "nodeType": "YulIdentifier", - "src": "9428:2:10" - } - ], - "functionName": { - "name": "add", - "nodeType": "YulIdentifier", - "src": "9417:3:10" - }, - "nodeType": "YulFunctionCall", - "src": "9417:14:10" - }, - "variableNames": [ - { - "name": "pos_1", - "nodeType": "YulIdentifier", - "src": "9408:5:10" - } - ] + "name": "pos", + "nodeType": "YulIdentifier", + "src": "9879:3:11" }, { - "nodeType": "YulAssignment", - "src": "9448:35:10", - "value": { - "arguments": [ - { - "name": "itemCounter", + "arguments": [ + { + "arguments": [ + { + "name": "tail_2", + "nodeType": "YulIdentifier", + "src": "9892:6:11" + }, + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "9900:9:11" + } + ], + "functionName": { + "name": "sub", "nodeType": "YulIdentifier", - "src": "9467:11:10" + "src": "9888:3:11" }, - { - "name": "_2", - "nodeType": "YulIdentifier", - "src": "9480:2:10" - } - ], - "functionName": { - "name": "add", - "nodeType": "YulIdentifier", - "src": "9463:3:10" + "nodeType": "YulFunctionCall", + "src": "9888:22:11" }, - "nodeType": "YulFunctionCall", - "src": "9463:20:10" - }, - "variableNames": [ { - "name": "itemCounter", - "nodeType": "YulIdentifier", - "src": "9448:11:10" + "kind": "number", + "nodeType": "YulLiteral", + "src": "9912:66:11", + "type": "", + "value": "0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff80" } - ] + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "9884:3:11" + }, + "nodeType": "YulFunctionCall", + "src": "9884:95:11" } - ] + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "9872:6:11" + }, + "nodeType": "YulFunctionCall", + "src": "9872:108:11" }, - "condition": { + "nodeType": "YulExpressionStatement", + "src": "9872:108:11" + }, + { + "nodeType": "YulVariableDeclaration", + "src": "9993:46:11", + "value": { "arguments": [ { - "name": "itemCounter", - "nodeType": "YulIdentifier", - "src": "9221:11:10" - }, - { - "name": "length_1", + "name": "srcPtr", "nodeType": "YulIdentifier", - "src": "9234:8:10" + "src": "10032:6:11" } ], "functionName": { - "name": "lt", + "name": "calldataload", "nodeType": "YulIdentifier", - "src": "9218:2:10" + "src": "10019:12:11" }, "nodeType": "YulFunctionCall", - "src": "9218:25:10" + "src": "10019:20:11" }, - "nodeType": "YulIf", - "src": "9215:2:10" + "variables": [ + { + "name": "rel_offset_of_tail", + "nodeType": "YulTypedName", + "src": "9997:18:11", + "type": "" + } + ] }, { "body": { "nodeType": "YulBlock", - "src": "9551:241:10", + "src": "10189:16:11", "statements": [ { "expression": { "arguments": [ { - "arguments": [ - { - "arguments": [ - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "9597:3:10", - "type": "", - "value": "128" - }, - { - "name": "data_1", - "nodeType": "YulIdentifier", - "src": "9602:6:10" - } - ], - "functionName": { - "name": "shl", - "nodeType": "YulIdentifier", - "src": "9593:3:10" - }, - "nodeType": "YulFunctionCall", - "src": "9593:16:10" - }, - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "9611:66:10", - "type": "", - "value": "0xffffffff00000000000000000000000000000000000000000000000000000000" - } - ], - "functionName": { - "name": "and", - "nodeType": "YulIdentifier", - "src": "9589:3:10" - }, - "nodeType": "YulFunctionCall", - "src": "9589:89:10" + "kind": "number", + "nodeType": "YulLiteral", + "src": "10198:1:11", + "type": "", + "value": "0" }, { - "name": "pos_1", - "nodeType": "YulIdentifier", - "src": "9680:5:10" + "kind": "number", + "nodeType": "YulLiteral", + "src": "10201:1:11", + "type": "", + "value": "0" } ], "functionName": { - "name": "abi_encode_t_bytes4", + "name": "revert", "nodeType": "YulIdentifier", - "src": "9569:19:10" + "src": "10191:6:11" }, "nodeType": "YulFunctionCall", - "src": "9569:117:10" + "src": "10191:12:11" }, "nodeType": "YulExpressionStatement", - "src": "9569:117:10" - }, + "src": "10191:12:11" + } + ] + }, + "condition": { + "arguments": [ { - "nodeType": "YulAssignment", - "src": "9703:23:10", - "value": { - "arguments": [ - { - "name": "pos_1", - "nodeType": "YulIdentifier", - "src": "9716:5:10" - }, - { - "name": "_1", - "nodeType": "YulIdentifier", - "src": "9723:2:10" - } - ], - "functionName": { - "name": "add", + "arguments": [ + { + "name": "rel_offset_of_tail", "nodeType": "YulIdentifier", - "src": "9712:3:10" + "src": "10066:18:11" }, - "nodeType": "YulFunctionCall", - "src": "9712:14:10" - }, - "variableNames": [ { - "name": "pos_1", - "nodeType": "YulIdentifier", - "src": "9703:5:10" - } - ] - }, - { - "nodeType": "YulAssignment", - "src": "9743:35:10", - "value": { - "arguments": [ - { - "name": "itemCounter", + "arguments": [ + { + "arguments": [ + { + "arguments": [], + "functionName": { + "name": "calldatasize", + "nodeType": "YulIdentifier", + "src": "10094:12:11" + }, + "nodeType": "YulFunctionCall", + "src": "10094:14:11" + }, + { + "name": "value0", + "nodeType": "YulIdentifier", + "src": "10110:6:11" + } + ], + "functionName": { + "name": "sub", + "nodeType": "YulIdentifier", + "src": "10090:3:11" + }, + "nodeType": "YulFunctionCall", + "src": "10090:27:11" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "10119:66:11", + "type": "", + "value": "0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffa1" + } + ], + "functionName": { + "name": "add", "nodeType": "YulIdentifier", - "src": "9762:11:10" + "src": "10086:3:11" }, - { - "name": "_2", - "nodeType": "YulIdentifier", - "src": "9775:2:10" - } - ], - "functionName": { - "name": "add", - "nodeType": "YulIdentifier", - "src": "9758:3:10" - }, - "nodeType": "YulFunctionCall", - "src": "9758:20:10" - }, - "variableNames": [ - { - "name": "itemCounter", - "nodeType": "YulIdentifier", - "src": "9743:11:10" + "nodeType": "YulFunctionCall", + "src": "10086:100:11" } - ] + ], + "functionName": { + "name": "slt", + "nodeType": "YulIdentifier", + "src": "10062:3:11" + }, + "nodeType": "YulFunctionCall", + "src": "10062:125:11" } - ] + ], + "functionName": { + "name": "iszero", + "nodeType": "YulIdentifier", + "src": "10055:6:11" + }, + "nodeType": "YulFunctionCall", + "src": "10055:133:11" }, - "condition": { + "nodeType": "YulIf", + "src": "10052:153:11" + }, + { + "nodeType": "YulVariableDeclaration", + "src": "10218:44:11", + "value": { "arguments": [ { - "name": "itemCounter", + "name": "rel_offset_of_tail", "nodeType": "YulIdentifier", - "src": "9516:11:10" + "src": "10235:18:11" }, { - "name": "length_1", + "name": "value0", "nodeType": "YulIdentifier", - "src": "9529:8:10" + "src": "10255:6:11" } ], "functionName": { - "name": "lt", + "name": "add", "nodeType": "YulIdentifier", - "src": "9513:2:10" + "src": "10231:3:11" }, "nodeType": "YulFunctionCall", - "src": "9513:25:10" + "src": "10231:31:11" }, - "nodeType": "YulIf", - "src": "9510:2:10" + "variables": [ + { + "name": "value", + "nodeType": "YulTypedName", + "src": "10222:5:11", + "type": "" + } + ] }, { - "body": { - "nodeType": "YulBlock", - "src": "9846:240:10", - "statements": [ + "expression": { + "arguments": [ { - "expression": { - "arguments": [ - { - "arguments": [ - { - "arguments": [ - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "9892:2:10", - "type": "", - "value": "96" - }, - { - "name": "data_1", - "nodeType": "YulIdentifier", - "src": "9896:6:10" - } - ], - "functionName": { - "name": "shl", - "nodeType": "YulIdentifier", - "src": "9888:3:10" - }, - "nodeType": "YulFunctionCall", - "src": "9888:15:10" - }, - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "9905:66:10", - "type": "", - "value": "0xffffffff00000000000000000000000000000000000000000000000000000000" - } - ], - "functionName": { - "name": "and", - "nodeType": "YulIdentifier", - "src": "9884:3:10" - }, - "nodeType": "YulFunctionCall", - "src": "9884:88:10" - }, - { - "name": "pos_1", - "nodeType": "YulIdentifier", - "src": "9974:5:10" - } - ], - "functionName": { - "name": "abi_encode_t_bytes4", - "nodeType": "YulIdentifier", - "src": "9864:19:10" - }, - "nodeType": "YulFunctionCall", - "src": "9864:116:10" - }, - "nodeType": "YulExpressionStatement", - "src": "9864:116:10" + "name": "tail_2", + "nodeType": "YulIdentifier", + "src": "10282:6:11" }, { - "nodeType": "YulAssignment", - "src": "9997:23:10", - "value": { - "arguments": [ - { - "name": "pos_1", + "arguments": [ + { + "arguments": [ + { + "name": "value", + "nodeType": "YulIdentifier", + "src": "10313:5:11" + } + ], + "functionName": { + "name": "abi_decode_address", "nodeType": "YulIdentifier", - "src": "10010:5:10" + "src": "10294:18:11" }, - { - "name": "_1", - "nodeType": "YulIdentifier", - "src": "10017:2:10" - } - ], - "functionName": { - "name": "add", - "nodeType": "YulIdentifier", - "src": "10006:3:10" + "nodeType": "YulFunctionCall", + "src": "10294:25:11" }, - "nodeType": "YulFunctionCall", - "src": "10006:14:10" - }, - "variableNames": [ { - "name": "pos_1", - "nodeType": "YulIdentifier", - "src": "9997:5:10" + "kind": "number", + "nodeType": "YulLiteral", + "src": "10321:42:11", + "type": "", + "value": "0xffffffffffffffffffffffffffffffffffffffff" } - ] - }, + ], + "functionName": { + "name": "and", + "nodeType": "YulIdentifier", + "src": "10290:3:11" + }, + "nodeType": "YulFunctionCall", + "src": "10290:74:11" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "10275:6:11" + }, + "nodeType": "YulFunctionCall", + "src": "10275:90:11" + }, + "nodeType": "YulExpressionStatement", + "src": "10275:90:11" + }, + { + "nodeType": "YulVariableDeclaration", + "src": "10378:14:11", + "value": { + "kind": "number", + "nodeType": "YulLiteral", + "src": "10388:4:11", + "type": "", + "value": "0x20" + }, + "variables": [ + { + "name": "_3", + "nodeType": "YulTypedName", + "src": "10382:2:11", + "type": "" + } + ] + }, + { + "nodeType": "YulVariableDeclaration", + "src": "10405:43:11", + "value": { + "arguments": [ { - "nodeType": "YulAssignment", - "src": "10037:35:10", - "value": { - "arguments": [ - { - "name": "itemCounter", - "nodeType": "YulIdentifier", - "src": "10056:11:10" - }, - { - "name": "_2", - "nodeType": "YulIdentifier", - "src": "10069:2:10" - } - ], - "functionName": { - "name": "add", + "arguments": [ + { + "name": "value", "nodeType": "YulIdentifier", - "src": "10052:3:10" + "src": "10437:5:11" }, - "nodeType": "YulFunctionCall", - "src": "10052:20:10" - }, - "variableNames": [ { - "name": "itemCounter", + "name": "_3", "nodeType": "YulIdentifier", - "src": "10037:11:10" + "src": "10444:2:11" } - ] - } - ] - }, - "condition": { - "arguments": [ - { - "name": "itemCounter", - "nodeType": "YulIdentifier", - "src": "9811:11:10" - }, - { - "name": "length_1", - "nodeType": "YulIdentifier", - "src": "9824:8:10" + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "10433:3:11" + }, + "nodeType": "YulFunctionCall", + "src": "10433:14:11" } ], "functionName": { - "name": "lt", + "name": "calldataload", "nodeType": "YulIdentifier", - "src": "9808:2:10" + "src": "10420:12:11" }, "nodeType": "YulFunctionCall", - "src": "9808:25:10" + "src": "10420:28:11" }, - "nodeType": "YulIf", - "src": "9805:2:10" + "variables": [ + { + "name": "value_1", + "nodeType": "YulTypedName", + "src": "10409:7:11", + "type": "" + } + ] }, { "body": { "nodeType": "YulBlock", - "src": "10140:240:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "arguments": [ - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "10186:2:10", - "type": "", - "value": "64" - }, - { - "name": "data_1", - "nodeType": "YulIdentifier", - "src": "10190:6:10" - } - ], - "functionName": { - "name": "shl", - "nodeType": "YulIdentifier", - "src": "10182:3:10" - }, - "nodeType": "YulFunctionCall", - "src": "10182:15:10" - }, - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "10199:66:10", - "type": "", - "value": "0xffffffff00000000000000000000000000000000000000000000000000000000" - } - ], - "functionName": { - "name": "and", - "nodeType": "YulIdentifier", - "src": "10178:3:10" - }, - "nodeType": "YulFunctionCall", - "src": "10178:88:10" - }, - { - "name": "pos_1", - "nodeType": "YulIdentifier", - "src": "10268:5:10" - } - ], - "functionName": { - "name": "abi_encode_t_bytes4", - "nodeType": "YulIdentifier", - "src": "10158:19:10" - }, - "nodeType": "YulFunctionCall", - "src": "10158:116:10" - }, - "nodeType": "YulExpressionStatement", - "src": "10158:116:10" - }, + "src": "10487:16:11", + "statements": [ { - "nodeType": "YulAssignment", - "src": "10291:23:10", - "value": { + "expression": { "arguments": [ { - "name": "pos_1", - "nodeType": "YulIdentifier", - "src": "10304:5:10" + "kind": "number", + "nodeType": "YulLiteral", + "src": "10496:1:11", + "type": "", + "value": "0" }, { - "name": "_1", - "nodeType": "YulIdentifier", - "src": "10311:2:10" + "kind": "number", + "nodeType": "YulLiteral", + "src": "10499:1:11", + "type": "", + "value": "0" } ], "functionName": { - "name": "add", + "name": "revert", "nodeType": "YulIdentifier", - "src": "10300:3:10" + "src": "10489:6:11" }, "nodeType": "YulFunctionCall", - "src": "10300:14:10" + "src": "10489:12:11" }, - "variableNames": [ + "nodeType": "YulExpressionStatement", + "src": "10489:12:11" + } + ] + }, + "condition": { + "arguments": [ + { + "arguments": [ { - "name": "pos_1", + "name": "value_1", "nodeType": "YulIdentifier", - "src": "10291:5:10" + "src": "10474:7:11" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "10483:1:11", + "type": "", + "value": "3" } - ] + ], + "functionName": { + "name": "lt", + "nodeType": "YulIdentifier", + "src": "10471:2:11" + }, + "nodeType": "YulFunctionCall", + "src": "10471:14:11" + } + ], + "functionName": { + "name": "iszero", + "nodeType": "YulIdentifier", + "src": "10464:6:11" + }, + "nodeType": "YulFunctionCall", + "src": "10464:22:11" + }, + "nodeType": "YulIf", + "src": "10461:42:11" + }, + { + "expression": { + "arguments": [ + { + "name": "value_1", + "nodeType": "YulIdentifier", + "src": "10547:7:11" }, { - "nodeType": "YulAssignment", - "src": "10331:35:10", - "value": { - "arguments": [ - { - "name": "itemCounter", - "nodeType": "YulIdentifier", - "src": "10350:11:10" - }, - { - "name": "_2", - "nodeType": "YulIdentifier", - "src": "10363:2:10" - } - ], - "functionName": { - "name": "add", + "arguments": [ + { + "name": "tail_2", "nodeType": "YulIdentifier", - "src": "10346:3:10" + "src": "10560:6:11" }, - "nodeType": "YulFunctionCall", - "src": "10346:20:10" - }, - "variableNames": [ { - "name": "itemCounter", + "name": "_3", "nodeType": "YulIdentifier", - "src": "10331:11:10" + "src": "10568:2:11" } - ] + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "10556:3:11" + }, + "nodeType": "YulFunctionCall", + "src": "10556:15:11" } - ] + ], + "functionName": { + "name": "abi_encode_enum_FacetCutAction", + "nodeType": "YulIdentifier", + "src": "10516:30:11" + }, + "nodeType": "YulFunctionCall", + "src": "10516:56:11" }, - "condition": { + "nodeType": "YulExpressionStatement", + "src": "10516:56:11" + }, + { + "nodeType": "YulVariableDeclaration", + "src": "10585:14:11", + "value": { + "kind": "number", + "nodeType": "YulLiteral", + "src": "10595:4:11", + "type": "", + "value": "0x40" + }, + "variables": [ + { + "name": "_4", + "nodeType": "YulTypedName", + "src": "10589:2:11", + "type": "" + } + ] + }, + { + "nodeType": "YulVariableDeclaration", + "src": "10612:56:11", + "value": { "arguments": [ { - "name": "itemCounter", - "nodeType": "YulIdentifier", - "src": "10105:11:10" - }, - { - "name": "length_1", - "nodeType": "YulIdentifier", - "src": "10118:8:10" + "arguments": [ + { + "name": "value", + "nodeType": "YulIdentifier", + "src": "10657:5:11" + }, + { + "name": "_4", + "nodeType": "YulIdentifier", + "src": "10664:2:11" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "10653:3:11" + }, + "nodeType": "YulFunctionCall", + "src": "10653:14:11" } ], "functionName": { - "name": "lt", + "name": "calldataload", "nodeType": "YulIdentifier", - "src": "10102:2:10" + "src": "10640:12:11" }, "nodeType": "YulFunctionCall", - "src": "10102:25:10" + "src": "10640:28:11" }, - "nodeType": "YulIf", - "src": "10099:2:10" + "variables": [ + { + "name": "rel_offset_of_tail_1", + "nodeType": "YulTypedName", + "src": "10616:20:11", + "type": "" + } + ] }, { "body": { "nodeType": "YulBlock", - "src": "10434:240:10", + "src": "10819:16:11", "statements": [ { "expression": { "arguments": [ { - "arguments": [ - { - "arguments": [ - { - "name": "_1", - "nodeType": "YulIdentifier", - "src": "10480:2:10" - }, - { - "name": "data_1", - "nodeType": "YulIdentifier", - "src": "10484:6:10" - } - ], - "functionName": { - "name": "shl", - "nodeType": "YulIdentifier", - "src": "10476:3:10" - }, - "nodeType": "YulFunctionCall", - "src": "10476:15:10" - }, - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "10493:66:10", - "type": "", - "value": "0xffffffff00000000000000000000000000000000000000000000000000000000" - } - ], - "functionName": { - "name": "and", - "nodeType": "YulIdentifier", - "src": "10472:3:10" - }, - "nodeType": "YulFunctionCall", - "src": "10472:88:10" + "kind": "number", + "nodeType": "YulLiteral", + "src": "10828:1:11", + "type": "", + "value": "0" }, { - "name": "pos_1", - "nodeType": "YulIdentifier", - "src": "10562:5:10" + "kind": "number", + "nodeType": "YulLiteral", + "src": "10831:1:11", + "type": "", + "value": "0" } ], "functionName": { - "name": "abi_encode_t_bytes4", + "name": "revert", "nodeType": "YulIdentifier", - "src": "10452:19:10" + "src": "10821:6:11" }, "nodeType": "YulFunctionCall", - "src": "10452:116:10" + "src": "10821:12:11" }, "nodeType": "YulExpressionStatement", - "src": "10452:116:10" - }, + "src": "10821:12:11" + } + ] + }, + "condition": { + "arguments": [ { - "nodeType": "YulAssignment", - "src": "10585:23:10", - "value": { - "arguments": [ - { - "name": "pos_1", - "nodeType": "YulIdentifier", - "src": "10598:5:10" - }, - { - "name": "_1", - "nodeType": "YulIdentifier", - "src": "10605:2:10" - } - ], - "functionName": { - "name": "add", + "arguments": [ + { + "name": "rel_offset_of_tail_1", "nodeType": "YulIdentifier", - "src": "10594:3:10" + "src": "10695:20:11" }, - "nodeType": "YulFunctionCall", - "src": "10594:14:10" - }, - "variableNames": [ { - "name": "pos_1", - "nodeType": "YulIdentifier", - "src": "10585:5:10" + "arguments": [ + { + "arguments": [ + { + "arguments": [], + "functionName": { + "name": "calldatasize", + "nodeType": "YulIdentifier", + "src": "10725:12:11" + }, + "nodeType": "YulFunctionCall", + "src": "10725:14:11" + }, + { + "name": "value", + "nodeType": "YulIdentifier", + "src": "10741:5:11" + } + ], + "functionName": { + "name": "sub", + "nodeType": "YulIdentifier", + "src": "10721:3:11" + }, + "nodeType": "YulFunctionCall", + "src": "10721:26:11" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "10749:66:11", + "type": "", + "value": "0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe1" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "10717:3:11" + }, + "nodeType": "YulFunctionCall", + "src": "10717:99:11" } - ] + ], + "functionName": { + "name": "slt", + "nodeType": "YulIdentifier", + "src": "10691:3:11" + }, + "nodeType": "YulFunctionCall", + "src": "10691:126:11" + } + ], + "functionName": { + "name": "iszero", + "nodeType": "YulIdentifier", + "src": "10684:6:11" + }, + "nodeType": "YulFunctionCall", + "src": "10684:134:11" + }, + "nodeType": "YulIf", + "src": "10681:154:11" + }, + { + "nodeType": "YulVariableDeclaration", + "src": "10848:47:11", + "value": { + "arguments": [ + { + "name": "rel_offset_of_tail_1", + "nodeType": "YulIdentifier", + "src": "10867:20:11" }, { - "nodeType": "YulAssignment", - "src": "10625:35:10", - "value": { + "name": "value", + "nodeType": "YulIdentifier", + "src": "10889:5:11" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "10863:3:11" + }, + "nodeType": "YulFunctionCall", + "src": "10863:32:11" + }, + "variables": [ + { + "name": "value_2", + "nodeType": "YulTypedName", + "src": "10852:7:11", + "type": "" + } + ] + }, + { + "nodeType": "YulVariableDeclaration", + "src": "10908:35:11", + "value": { + "arguments": [ + { + "name": "value_2", + "nodeType": "YulIdentifier", + "src": "10935:7:11" + } + ], + "functionName": { + "name": "calldataload", + "nodeType": "YulIdentifier", + "src": "10922:12:11" + }, + "nodeType": "YulFunctionCall", + "src": "10922:21:11" + }, + "variables": [ + { + "name": "length", + "nodeType": "YulTypedName", + "src": "10912:6:11", + "type": "" + } + ] + }, + { + "body": { + "nodeType": "YulBlock", + "src": "10990:16:11", + "statements": [ + { + "expression": { "arguments": [ { - "name": "itemCounter", - "nodeType": "YulIdentifier", - "src": "10644:11:10" + "kind": "number", + "nodeType": "YulLiteral", + "src": "10999:1:11", + "type": "", + "value": "0" }, { - "name": "_2", - "nodeType": "YulIdentifier", - "src": "10657:2:10" + "kind": "number", + "nodeType": "YulLiteral", + "src": "11002:1:11", + "type": "", + "value": "0" } ], "functionName": { - "name": "add", + "name": "revert", "nodeType": "YulIdentifier", - "src": "10640:3:10" + "src": "10992:6:11" }, "nodeType": "YulFunctionCall", - "src": "10640:20:10" + "src": "10992:12:11" }, - "variableNames": [ - { - "name": "itemCounter", - "nodeType": "YulIdentifier", - "src": "10625:11:10" - } - ] + "nodeType": "YulExpressionStatement", + "src": "10992:12:11" } ] }, "condition": { "arguments": [ { - "name": "itemCounter", + "name": "length", "nodeType": "YulIdentifier", - "src": "10399:11:10" + "src": "10962:6:11" }, { - "name": "length_1", - "nodeType": "YulIdentifier", - "src": "10412:8:10" + "kind": "number", + "nodeType": "YulLiteral", + "src": "10970:18:11", + "type": "", + "value": "0xffffffffffffffff" } ], "functionName": { - "name": "lt", + "name": "gt", "nodeType": "YulIdentifier", - "src": "10396:2:10" + "src": "10959:2:11" }, "nodeType": "YulFunctionCall", - "src": "10396:25:10" + "src": "10959:30:11" }, "nodeType": "YulIf", - "src": "10393:2:10" + "src": "10956:50:11" }, { "body": { "nodeType": "YulBlock", - "src": "10728:179:10", + "src": "11071:16:11", "statements": [ { "expression": { "arguments": [ { - "arguments": [ - { - "name": "data_1", - "nodeType": "YulIdentifier", - "src": "10770:6:10" - }, - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "10778:66:10", - "type": "", - "value": "0xffffffff00000000000000000000000000000000000000000000000000000000" - } - ], - "functionName": { - "name": "and", - "nodeType": "YulIdentifier", - "src": "10766:3:10" - }, - "nodeType": "YulFunctionCall", - "src": "10766:79:10" + "kind": "number", + "nodeType": "YulLiteral", + "src": "11080:1:11", + "type": "", + "value": "0" }, { - "name": "pos_1", - "nodeType": "YulIdentifier", - "src": "10847:5:10" + "kind": "number", + "nodeType": "YulLiteral", + "src": "11083:1:11", + "type": "", + "value": "0" } ], "functionName": { - "name": "abi_encode_t_bytes4", + "name": "revert", "nodeType": "YulIdentifier", - "src": "10746:19:10" + "src": "11073:6:11" }, "nodeType": "YulFunctionCall", - "src": "10746:107:10" + "src": "11073:12:11" }, "nodeType": "YulExpressionStatement", - "src": "10746:107:10" + "src": "11073:12:11" + } + ] + }, + "condition": { + "arguments": [ + { + "name": "value", + "nodeType": "YulIdentifier", + "src": "11026:5:11" }, { - "nodeType": "YulAssignment", - "src": "10870:23:10", - "value": { - "arguments": [ - { - "name": "pos_1", + "arguments": [ + { + "arguments": [], + "functionName": { + "name": "calldatasize", "nodeType": "YulIdentifier", - "src": "10883:5:10" + "src": "11037:12:11" }, - { - "name": "_1", - "nodeType": "YulIdentifier", - "src": "10890:2:10" - } - ], - "functionName": { - "name": "add", - "nodeType": "YulIdentifier", - "src": "10879:3:10" + "nodeType": "YulFunctionCall", + "src": "11037:14:11" }, - "nodeType": "YulFunctionCall", - "src": "10879:14:10" - }, - "variableNames": [ { - "name": "pos_1", - "nodeType": "YulIdentifier", - "src": "10870:5:10" + "arguments": [ + { + "name": "_2", + "nodeType": "YulIdentifier", + "src": "11057:2:11" + }, + { + "name": "length", + "nodeType": "YulIdentifier", + "src": "11061:6:11" + } + ], + "functionName": { + "name": "shl", + "nodeType": "YulIdentifier", + "src": "11053:3:11" + }, + "nodeType": "YulFunctionCall", + "src": "11053:15:11" } - ] + ], + "functionName": { + "name": "sub", + "nodeType": "YulIdentifier", + "src": "11033:3:11" + }, + "nodeType": "YulFunctionCall", + "src": "11033:36:11" } - ] + ], + "functionName": { + "name": "sgt", + "nodeType": "YulIdentifier", + "src": "11022:3:11" + }, + "nodeType": "YulFunctionCall", + "src": "11022:48:11" }, - "condition": { + "nodeType": "YulIf", + "src": "11019:68:11" + }, + { + "expression": { "arguments": [ { - "name": "itemCounter", - "nodeType": "YulIdentifier", - "src": "10693:11:10" + "arguments": [ + { + "name": "tail_2", + "nodeType": "YulIdentifier", + "src": "11111:6:11" + }, + { + "name": "_4", + "nodeType": "YulIdentifier", + "src": "11119:2:11" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "11107:3:11" + }, + "nodeType": "YulFunctionCall", + "src": "11107:15:11" }, { - "name": "length_1", + "name": "_1", "nodeType": "YulIdentifier", - "src": "10706:8:10" + "src": "11124:2:11" } ], "functionName": { - "name": "lt", + "name": "mstore", "nodeType": "YulIdentifier", - "src": "10690:2:10" + "src": "11100:6:11" }, "nodeType": "YulFunctionCall", - "src": "10690:25:10" + "src": "11100:27:11" }, - "nodeType": "YulIf", - "src": "10687:2:10" + "nodeType": "YulExpressionStatement", + "src": "11100:27:11" }, { "nodeType": "YulAssignment", - "src": "10920:15:10", + "src": "11140:89:11", "value": { - "name": "pos_1", - "nodeType": "YulIdentifier", - "src": "10930:5:10" + "arguments": [ + { + "arguments": [ + { + "name": "value_2", + "nodeType": "YulIdentifier", + "src": "11191:7:11" + }, + { + "name": "_3", + "nodeType": "YulIdentifier", + "src": "11200:2:11" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "11187:3:11" + }, + "nodeType": "YulFunctionCall", + "src": "11187:16:11" + }, + { + "name": "length", + "nodeType": "YulIdentifier", + "src": "11205:6:11" + }, + { + "arguments": [ + { + "name": "tail_2", + "nodeType": "YulIdentifier", + "src": "11217:6:11" + }, + { + "name": "_1", + "nodeType": "YulIdentifier", + "src": "11225:2:11" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "11213:3:11" + }, + "nodeType": "YulFunctionCall", + "src": "11213:15:11" + } + ], + "functionName": { + "name": "abi_encode_array_bytes4_dyn_calldata", + "nodeType": "YulIdentifier", + "src": "11150:36:11" + }, + "nodeType": "YulFunctionCall", + "src": "11150:79:11" }, "variableNames": [ { - "name": "tail_1", + "name": "tail_2", "nodeType": "YulIdentifier", - "src": "10920:6:10" + "src": "11140:6:11" } ] }, { "nodeType": "YulAssignment", - "src": "10948:27:10", + "src": "11242:25:11", "value": { "arguments": [ { "name": "srcPtr", "nodeType": "YulIdentifier", - "src": "10962:6:10" + "src": "11256:6:11" }, { - "kind": "number", - "nodeType": "YulLiteral", - "src": "10970:4:10", - "type": "", - "value": "0x02" + "name": "_3", + "nodeType": "YulIdentifier", + "src": "11264:2:11" } ], "functionName": { "name": "add", "nodeType": "YulIdentifier", - "src": "10958:3:10" + "src": "11252:3:11" }, "nodeType": "YulFunctionCall", - "src": "10958:17:10" + "src": "11252:15:11" }, "variableNames": [ { "name": "srcPtr", "nodeType": "YulIdentifier", - "src": "10948:6:10" + "src": "11242:6:11" } ] }, { "nodeType": "YulAssignment", - "src": "10988:19:10", + "src": "11280:19:11", "value": { "arguments": [ { "name": "pos", "nodeType": "YulIdentifier", - "src": "10999:3:10" + "src": "11291:3:11" }, { - "name": "_1", + "name": "_3", "nodeType": "YulIdentifier", - "src": "11004:2:10" + "src": "11296:2:11" } ], "functionName": { "name": "add", "nodeType": "YulIdentifier", - "src": "10995:3:10" + "src": "11287:3:11" }, "nodeType": "YulFunctionCall", - "src": "10995:12:10" + "src": "11287:12:11" }, "variableNames": [ { "name": "pos", "nodeType": "YulIdentifier", - "src": "10988:3:10" + "src": "11280:3:11" } ] } @@ -7144,41 +7935,41 @@ { "name": "i", "nodeType": "YulIdentifier", - "src": "6857:1:10" + "src": "9820:1:11" }, { - "name": "length", + "name": "value1", "nodeType": "YulIdentifier", - "src": "6860:6:10" + "src": "9823:6:11" } ], "functionName": { "name": "lt", "nodeType": "YulIdentifier", - "src": "6854:2:10" + "src": "9817:2:11" }, "nodeType": "YulFunctionCall", - "src": "6854:13:10" + "src": "9817:13:11" }, "nodeType": "YulForLoop", "post": { "nodeType": "YulBlock", - "src": "6868:18:10", + "src": "9831:18:11", "statements": [ { "nodeType": "YulAssignment", - "src": "6870:14:10", + "src": "9833:14:11", "value": { "arguments": [ { "name": "i", "nodeType": "YulIdentifier", - "src": "6879:1:10" + "src": "9842:1:11" }, { "kind": "number", "nodeType": "YulLiteral", - "src": "6882:1:10", + "src": "9845:1:11", "type": "", "value": "1" } @@ -7186,16 +7977,16 @@ "functionName": { "name": "add", "nodeType": "YulIdentifier", - "src": "6875:3:10" + "src": "9838:3:11" }, "nodeType": "YulFunctionCall", - "src": "6875:9:10" + "src": "9838:9:11" }, "variableNames": [ { "name": "i", "nodeType": "YulIdentifier", - "src": "6870:1:10" + "src": "9833:1:11" } ] } @@ -7203,406 +7994,328 @@ }, "pre": { "nodeType": "YulBlock", - "src": "6850:3:10", + "src": "9813:3:11", "statements": [] }, - "src": "6846:4171:10" - }, - { - "nodeType": "YulAssignment", - "src": "11026:14:10", - "value": { - "name": "tail_1", - "nodeType": "YulIdentifier", - "src": "11034:6:10" - }, - "variableNames": [ - { - "name": "tail", - "nodeType": "YulIdentifier", - "src": "11026:4:10" - } - ] + "src": "9809:1500:11" }, { "expression": { "arguments": [ { - "name": "value1", + "name": "value2", "nodeType": "YulIdentifier", - "src": "11082:6:10" + "src": "11337:6:11" }, { "arguments": [ { "name": "headStart", "nodeType": "YulIdentifier", - "src": "11094:9:10" + "src": "11349:9:11" }, { - "name": "_1", - "nodeType": "YulIdentifier", - "src": "11105:2:10" + "kind": "number", + "nodeType": "YulLiteral", + "src": "11360:4:11", + "type": "", + "value": "0x20" } ], "functionName": { "name": "add", "nodeType": "YulIdentifier", - "src": "11090:3:10" + "src": "11345:3:11" }, "nodeType": "YulFunctionCall", - "src": "11090:18:10" + "src": "11345:20:11" } ], "functionName": { - "name": "abi_encode_t_struct$_DiamondArgs", + "name": "abi_encode_address", "nodeType": "YulIdentifier", - "src": "11049:32:10" + "src": "11318:18:11" }, "nodeType": "YulFunctionCall", - "src": "11049:60:10" + "src": "11318:48:11" }, "nodeType": "YulExpressionStatement", - "src": "11049:60:10" - } - ] - }, - "name": "abi_encode_tuple_t_array$_t_struct$_FacetCut_$679_storage_$dyn_storage_t_struct$_DiamondArgs_$294_memory_ptr__to_t_array$_t_struct$_FacetCut_$679_memory_ptr_$dyn_memory_ptr_t_struct$_DiamondArgs_$294_memory_ptr__fromStack_reversed", - "nodeType": "YulFunctionDefinition", - "parameters": [ - { - "name": "headStart", - "nodeType": "YulTypedName", - "src": "6452:9:10", - "type": "" - }, - { - "name": "value1", - "nodeType": "YulTypedName", - "src": "6463:6:10", - "type": "" - }, - { - "name": "value0", - "nodeType": "YulTypedName", - "src": "6471:6:10", - "type": "" - } - ], - "returnVariables": [ - { - "name": "tail", - "nodeType": "YulTypedName", - "src": "6482:4:10", - "type": "" - } - ], - "src": "6212:4903:10" - }, - { - "body": { - "nodeType": "YulBlock", - "src": "11244:125:10", - "statements": [ - { - "nodeType": "YulAssignment", - "src": "11254:26:10", - "value": { - "arguments": [ - { - "name": "headStart", - "nodeType": "YulIdentifier", - "src": "11266:9:10" - }, - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "11277:2:10", - "type": "", - "value": "32" - } - ], - "functionName": { - "name": "add", - "nodeType": "YulIdentifier", - "src": "11262:3:10" - }, - "nodeType": "YulFunctionCall", - "src": "11262:18:10" - }, - "variableNames": [ - { - "name": "tail", - "nodeType": "YulIdentifier", - "src": "11254:4:10" - } - ] + "src": "11318:48:11" }, { "expression": { "arguments": [ - { - "name": "headStart", - "nodeType": "YulIdentifier", - "src": "11296:9:10" - }, { "arguments": [ { - "name": "value0", + "name": "headStart", "nodeType": "YulIdentifier", - "src": "11311:6:10" + "src": "11386:9:11" }, { "kind": "number", "nodeType": "YulLiteral", - "src": "11319:42:10", + "src": "11397:4:11", "type": "", - "value": "0xffffffffffffffffffffffffffffffffffffffff" + "value": "0x40" } ], "functionName": { - "name": "and", + "name": "add", "nodeType": "YulIdentifier", - "src": "11307:3:10" + "src": "11382:3:11" }, "nodeType": "YulFunctionCall", - "src": "11307:55:10" - } - ], - "functionName": { - "name": "mstore", - "nodeType": "YulIdentifier", - "src": "11289:6:10" - }, - "nodeType": "YulFunctionCall", - "src": "11289:74:10" - }, - "nodeType": "YulExpressionStatement", - "src": "11289:74:10" - } - ] - }, - "name": "abi_encode_tuple_t_contract$_Diamond_$416__to_t_address_payable__fromStack_reversed", - "nodeType": "YulFunctionDefinition", - "parameters": [ - { - "name": "headStart", - "nodeType": "YulTypedName", - "src": "11213:9:10", - "type": "" - }, - { - "name": "value0", - "nodeType": "YulTypedName", - "src": "11224:6:10", - "type": "" - } - ], - "returnVariables": [ - { - "name": "tail", - "nodeType": "YulTypedName", - "src": "11235:4:10", - "type": "" - } - ], - "src": "11120:249:10" - }, - { - "body": { - "nodeType": "YulBlock", - "src": "11446:71:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "name": "data", - "nodeType": "YulIdentifier", - "src": "11463:4:10" + "src": "11382:20:11" }, { - "name": "ptr", - "nodeType": "YulIdentifier", - "src": "11469:3:10" + "arguments": [ + { + "name": "tail_2", + "nodeType": "YulIdentifier", + "src": "11408:6:11" + }, + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "11416:9:11" + } + ], + "functionName": { + "name": "sub", + "nodeType": "YulIdentifier", + "src": "11404:3:11" + }, + "nodeType": "YulFunctionCall", + "src": "11404:22:11" } ], "functionName": { "name": "mstore", "nodeType": "YulIdentifier", - "src": "11456:6:10" + "src": "11375:6:11" }, "nodeType": "YulFunctionCall", - "src": "11456:17:10" + "src": "11375:52:11" }, "nodeType": "YulExpressionStatement", - "src": "11456:17:10" + "src": "11375:52:11" }, { "nodeType": "YulAssignment", - "src": "11482:29:10", + "src": "11436:57:11", "value": { "arguments": [ { - "name": "data", + "name": "value3", + "nodeType": "YulIdentifier", + "src": "11470:6:11" + }, + { + "name": "value4", "nodeType": "YulIdentifier", - "src": "11500:4:10" + "src": "11478:6:11" }, { - "kind": "number", - "nodeType": "YulLiteral", - "src": "11506:4:10", - "type": "", - "value": "0x20" + "name": "tail_2", + "nodeType": "YulIdentifier", + "src": "11486:6:11" } ], "functionName": { - "name": "keccak256", + "name": "abi_encode_bytes_calldata", "nodeType": "YulIdentifier", - "src": "11490:9:10" + "src": "11444:25:11" }, "nodeType": "YulFunctionCall", - "src": "11490:21:10" + "src": "11444:49:11" }, "variableNames": [ { - "name": "data", + "name": "tail", "nodeType": "YulIdentifier", - "src": "11482:4:10" + "src": "11436:4:11" } ] } ] }, - "name": "array_dataslot_t_array$_t_bytes4_$dyn_storage", + "name": "abi_encode_tuple_t_array$_t_struct$_FacetCut_$711_calldata_ptr_$dyn_calldata_ptr_t_address_t_bytes_calldata_ptr__to_t_array$_t_struct$_FacetCut_$711_memory_ptr_$dyn_memory_ptr_t_address_t_bytes_memory_ptr__fromStack_reversed", "nodeType": "YulFunctionDefinition", "parameters": [ { - "name": "ptr", + "name": "headStart", + "nodeType": "YulTypedName", + "src": "9420:9:11", + "type": "" + }, + { + "name": "value4", + "nodeType": "YulTypedName", + "src": "9431:6:11", + "type": "" + }, + { + "name": "value3", + "nodeType": "YulTypedName", + "src": "9439:6:11", + "type": "" + }, + { + "name": "value2", + "nodeType": "YulTypedName", + "src": "9447:6:11", + "type": "" + }, + { + "name": "value1", + "nodeType": "YulTypedName", + "src": "9455:6:11", + "type": "" + }, + { + "name": "value0", "nodeType": "YulTypedName", - "src": "11429:3:10", + "src": "9463:6:11", "type": "" } ], "returnVariables": [ { - "name": "data", + "name": "tail", "nodeType": "YulTypedName", - "src": "11437:4:10", + "src": "9474:4:11", "type": "" } ], - "src": "11374:143:10" + "src": "9186:2313:11" }, { "body": { "nodeType": "YulBlock", - "src": "11615:73:10", + "src": "11605:125:11", "statements": [ { - "expression": { + "nodeType": "YulAssignment", + "src": "11615:26:11", + "value": { "arguments": [ { - "name": "pos", + "name": "headStart", "nodeType": "YulIdentifier", - "src": "11632:3:10" + "src": "11627:9:11" }, { - "name": "length", - "nodeType": "YulIdentifier", - "src": "11637:6:10" + "kind": "number", + "nodeType": "YulLiteral", + "src": "11638:2:11", + "type": "", + "value": "32" } ], "functionName": { - "name": "mstore", + "name": "add", "nodeType": "YulIdentifier", - "src": "11625:6:10" + "src": "11623:3:11" }, "nodeType": "YulFunctionCall", - "src": "11625:19:10" + "src": "11623:18:11" }, - "nodeType": "YulExpressionStatement", - "src": "11625:19:10" + "variableNames": [ + { + "name": "tail", + "nodeType": "YulIdentifier", + "src": "11615:4:11" + } + ] }, { - "nodeType": "YulAssignment", - "src": "11653:29:10", - "value": { + "expression": { "arguments": [ { - "name": "pos", + "name": "headStart", "nodeType": "YulIdentifier", - "src": "11672:3:10" + "src": "11657:9:11" }, { - "kind": "number", - "nodeType": "YulLiteral", - "src": "11677:4:10", - "type": "", - "value": "0x20" + "arguments": [ + { + "name": "value0", + "nodeType": "YulIdentifier", + "src": "11672:6:11" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "11680:42:11", + "type": "", + "value": "0xffffffffffffffffffffffffffffffffffffffff" + } + ], + "functionName": { + "name": "and", + "nodeType": "YulIdentifier", + "src": "11668:3:11" + }, + "nodeType": "YulFunctionCall", + "src": "11668:55:11" } ], "functionName": { - "name": "add", + "name": "mstore", "nodeType": "YulIdentifier", - "src": "11668:3:10" + "src": "11650:6:11" }, "nodeType": "YulFunctionCall", - "src": "11668:14:10" + "src": "11650:74:11" }, - "variableNames": [ - { - "name": "updated_pos", - "nodeType": "YulIdentifier", - "src": "11653:11:10" - } - ] + "nodeType": "YulExpressionStatement", + "src": "11650:74:11" } ] }, - "name": "array_storeLengthForEncoding_t_array$_t_bytes4_$dyn", + "name": "abi_encode_tuple_t_address__to_t_address__fromStack_reversed", "nodeType": "YulFunctionDefinition", "parameters": [ { - "name": "pos", + "name": "headStart", "nodeType": "YulTypedName", - "src": "11583:3:10", + "src": "11574:9:11", "type": "" }, { - "name": "length", + "name": "value0", "nodeType": "YulTypedName", - "src": "11588:6:10", + "src": "11585:6:11", "type": "" } ], "returnVariables": [ { - "name": "updated_pos", + "name": "tail", "nodeType": "YulTypedName", - "src": "11599:11:10", + "src": "11596:4:11", "type": "" } ], - "src": "11522:166:10" + "src": "11504:226:11" } ] }, - "contents": "{\n { }\n function abi_decode_t_address(offset) -> value\n {\n value := calldataload(offset)\n if iszero(eq(value, and(value, 0xffffffffffffffffffffffffffffffffffffffff))) { revert(0, 0) }\n }\n function abi_decode_t_bytes_calldata(offset, end) -> arrayPos, length\n {\n if iszero(slt(add(offset, 0x1f), end)) { revert(arrayPos, arrayPos) }\n length := calldataload(offset)\n if gt(length, 0xffffffffffffffff) { revert(arrayPos, arrayPos) }\n arrayPos := add(offset, 0x20)\n if gt(add(add(offset, length), 0x20), end) { revert(0, 0) }\n }\n function abi_decode_tuple_t_addresst_array$_t_struct$_FacetCut_$679_calldata_ptr_$dyn_calldata_ptrt_bytes_calldata_ptrt_bytes32(headStart, dataEnd) -> value0, value1, value2, value3, value4, value5\n {\n if slt(sub(dataEnd, headStart), 128) { revert(value4, value4) }\n value0 := abi_decode_t_address(headStart)\n let offset := calldataload(add(headStart, 32))\n let _1 := 0xffffffffffffffff\n if gt(offset, _1) { revert(value4, value4) }\n let _2 := add(headStart, offset)\n if iszero(slt(add(_2, 0x1f), dataEnd)) { revert(value4, value4) }\n let length := calldataload(_2)\n if gt(length, _1) { revert(value4, value4) }\n if gt(add(add(_2, mul(length, 32)), 32), dataEnd) { revert(value4, value4) }\n value1 := add(_2, 32)\n value2 := length\n let offset_1 := calldataload(add(headStart, 64))\n if gt(offset_1, _1) { revert(value4, value4) }\n let value3_1, value4_1 := abi_decode_t_bytes_calldata(add(headStart, offset_1), dataEnd)\n value3 := value3_1\n value4 := value4_1\n value5 := calldataload(add(headStart, 96))\n }\n function abi_encode_t_address_payable(value, pos)\n {\n mstore(pos, and(value, 0xffffffffffffffffffffffffffffffffffffffff))\n }\n function abi_encode_t_array$_t_bytes4_$dyn_calldata(value, length, pos) -> end\n {\n mstore(pos, length)\n let _1 := 0x20\n pos := add(pos, _1)\n let srcPtr := value\n let i := end\n for { } lt(i, length) { i := add(i, 1) }\n {\n let value_1 := calldataload(srcPtr)\n let _2 := and(value_1, 0xffffffff00000000000000000000000000000000000000000000000000000000)\n if iszero(eq(value_1, _2)) { revert(end, end) }\n mstore(pos, _2)\n pos := add(pos, _1)\n srcPtr := add(srcPtr, _1)\n }\n end := pos\n }\n function abi_encode_t_bytes4(value, pos)\n {\n mstore(pos, and(value, 0xffffffff00000000000000000000000000000000000000000000000000000000))\n }\n function abi_encode_t_bytes_calldata(start, length, pos) -> end\n {\n mstore(pos, length)\n calldatacopy(add(pos, 0x20), start, length)\n mstore(add(add(pos, length), 0x20), end)\n end := add(add(pos, and(add(length, 31), 0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0)), 0x20)\n }\n function abi_encode_t_enum$_FacetCutAction(value, pos)\n {\n if iszero(lt(value, 3)) { invalid() }\n mstore(pos, value)\n }\n function abi_encode_t_struct$_DiamondArgs(value, pos)\n {\n mstore(pos, and(mload(value), 0xffffffffffffffffffffffffffffffffffffffff))\n }\n function abi_encode_tuple_packed_t_bytes32_t_address__to_t_bytes32_t_address__nonPadded_inplace_fromStack_reversed(pos, value1, value0) -> end\n {\n mstore(pos, value0)\n mstore(add(pos, 32), and(shl(96, value1), 0xffffffffffffffffffffffffffffffffffffffff000000000000000000000000))\n end := add(pos, 52)\n }\n function abi_encode_tuple_t_address__to_t_address__fromStack_reversed(headStart, value0) -> tail\n {\n tail := add(headStart, 32)\n mstore(headStart, and(value0, 0xffffffffffffffffffffffffffffffffffffffff))\n }\n function abi_encode_tuple_t_array$_t_struct$_FacetCut_$679_calldata_ptr_$dyn_calldata_ptr_t_address_payable_t_bytes_calldata_ptr__to_t_array$_t_struct$_FacetCut_$679_memory_ptr_$dyn_memory_ptr_t_address_t_bytes_memory_ptr__fromStack_reversed(headStart, value4, value3, value2, value1, value0) -> tail\n {\n let _1 := 96\n let tail_1 := add(headStart, _1)\n mstore(headStart, _1)\n let pos := tail_1\n mstore(tail_1, value1)\n pos := add(headStart, 128)\n let _2 := 0x20\n let tail_2 := add(add(headStart, mul(value1, _2)), 128)\n let srcPtr := value0\n let i := tail\n for { } lt(i, value1) { i := add(i, 1) }\n {\n mstore(pos, add(sub(tail_2, headStart), 0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff80))\n let rel_offset_of_tail := calldataload(srcPtr)\n if iszero(slt(rel_offset_of_tail, add(sub(calldatasize(), value0), 0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffa1))) { revert(tail, tail) }\n let value := add(rel_offset_of_tail, value0)\n mstore(tail_2, and(abi_decode_t_address(value), 0xffffffffffffffffffffffffffffffffffffffff))\n let value_1 := calldataload(add(value, _2))\n if iszero(lt(value_1, 3)) { revert(tail, tail) }\n abi_encode_t_enum$_FacetCutAction(value_1, add(tail_2, _2))\n let _3 := 0x40\n let rel_offset_of_tail_1 := calldataload(add(value, _3))\n if iszero(slt(rel_offset_of_tail_1, add(sub(calldatasize(), value), 0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe1))) { revert(tail, tail) }\n let value_2 := add(rel_offset_of_tail_1, value)\n let length := calldataload(value_2)\n if gt(length, 0xffffffffffffffff) { revert(tail, tail) }\n if sgt(value, sub(calldatasize(), mul(length, _2))) { revert(tail, tail) }\n mstore(add(tail_2, _3), _1)\n tail_2 := abi_encode_t_array$_t_bytes4_$dyn_calldata(add(value_2, _2), length, add(tail_2, _1))\n srcPtr := add(srcPtr, _2)\n pos := add(pos, _2)\n }\n abi_encode_t_address_payable(value2, add(headStart, _2))\n mstore(add(headStart, 0x40), sub(tail_2, headStart))\n tail := abi_encode_t_bytes_calldata(value3, value4, tail_2)\n }\n function abi_encode_tuple_t_array$_t_struct$_FacetCut_$679_storage_$dyn_storage_t_struct$_DiamondArgs_$294_memory_ptr__to_t_array$_t_struct$_FacetCut_$679_memory_ptr_$dyn_memory_ptr_t_struct$_DiamondArgs_$294_memory_ptr__fromStack_reversed(headStart, value1, value0) -> tail\n {\n mstore(headStart, 64)\n let pos := add(headStart, 64)\n let length := sload(value0)\n mstore(pos, length)\n pos := add(headStart, 96)\n let _1 := 0x20\n let tail_1 := add(add(headStart, mul(length, _1)), 96)\n mstore(tail, value0)\n let srcPtr := keccak256(tail, _1)\n let i := tail\n for { } lt(i, length) { i := add(i, 1) }\n {\n mstore(pos, add(sub(tail_1, headStart), 0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffa0))\n let slotValue := sload(srcPtr)\n mstore(tail_1, and(slotValue, 0xffffffffffffffffffffffffffffffffffffffff))\n abi_encode_t_enum$_FacetCutAction(and(shr(160, slotValue), 0xff), add(tail_1, _1))\n let _2 := 1\n let memberValue0 := add(srcPtr, _2)\n mstore(add(tail_1, 64), 96)\n let pos_1 := add(tail_1, 96)\n let length_1 := sload(memberValue0)\n pos_1 := array_storeLengthForEncoding_t_array$_t_bytes4_$dyn(pos_1, length_1)\n let srcPtr_1 := array_dataslot_t_array$_t_bytes4_$dyn_storage(memberValue0)\n let itemCounter := tail\n for { }\n lt(add(itemCounter, 7), length_1)\n {\n itemCounter := add(itemCounter, 8)\n }\n {\n let data := sload(srcPtr_1)\n abi_encode_t_bytes4(shl(224, data), pos_1)\n let _3 := 0xffffffff00000000000000000000000000000000000000000000000000000000\n abi_encode_t_bytes4(and(shl(192, data), _3), add(pos_1, _1))\n abi_encode_t_bytes4(and(shl(160, data), _3), add(pos_1, 64))\n abi_encode_t_bytes4(and(shl(128, data), _3), add(pos_1, 96))\n abi_encode_t_bytes4(and(shl(96, data), _3), add(pos_1, 128))\n abi_encode_t_bytes4(and(shl(64, data), _3), add(pos_1, 160))\n abi_encode_t_bytes4(and(shl(_1, data), _3), add(pos_1, 192))\n abi_encode_t_bytes4(and(data, _3), add(pos_1, 224))\n pos_1 := add(pos_1, 256)\n srcPtr_1 := add(srcPtr_1, _2)\n }\n let data_1 := sload(srcPtr_1)\n if lt(itemCounter, length_1)\n {\n abi_encode_t_bytes4(shl(224, data_1), pos_1)\n pos_1 := add(pos_1, _1)\n itemCounter := add(itemCounter, _2)\n }\n if lt(itemCounter, length_1)\n {\n abi_encode_t_bytes4(and(shl(192, data_1), 0xffffffff00000000000000000000000000000000000000000000000000000000), pos_1)\n pos_1 := add(pos_1, _1)\n itemCounter := add(itemCounter, _2)\n }\n if lt(itemCounter, length_1)\n {\n abi_encode_t_bytes4(and(shl(160, data_1), 0xffffffff00000000000000000000000000000000000000000000000000000000), pos_1)\n pos_1 := add(pos_1, _1)\n itemCounter := add(itemCounter, _2)\n }\n if lt(itemCounter, length_1)\n {\n abi_encode_t_bytes4(and(shl(128, data_1), 0xffffffff00000000000000000000000000000000000000000000000000000000), pos_1)\n pos_1 := add(pos_1, _1)\n itemCounter := add(itemCounter, _2)\n }\n if lt(itemCounter, length_1)\n {\n abi_encode_t_bytes4(and(shl(96, data_1), 0xffffffff00000000000000000000000000000000000000000000000000000000), pos_1)\n pos_1 := add(pos_1, _1)\n itemCounter := add(itemCounter, _2)\n }\n if lt(itemCounter, length_1)\n {\n abi_encode_t_bytes4(and(shl(64, data_1), 0xffffffff00000000000000000000000000000000000000000000000000000000), pos_1)\n pos_1 := add(pos_1, _1)\n itemCounter := add(itemCounter, _2)\n }\n if lt(itemCounter, length_1)\n {\n abi_encode_t_bytes4(and(shl(_1, data_1), 0xffffffff00000000000000000000000000000000000000000000000000000000), pos_1)\n pos_1 := add(pos_1, _1)\n itemCounter := add(itemCounter, _2)\n }\n if lt(itemCounter, length_1)\n {\n abi_encode_t_bytes4(and(data_1, 0xffffffff00000000000000000000000000000000000000000000000000000000), pos_1)\n pos_1 := add(pos_1, _1)\n }\n tail_1 := pos_1\n srcPtr := add(srcPtr, 0x02)\n pos := add(pos, _1)\n }\n tail := tail_1\n abi_encode_t_struct$_DiamondArgs(value1, add(headStart, _1))\n }\n function abi_encode_tuple_t_contract$_Diamond_$416__to_t_address_payable__fromStack_reversed(headStart, value0) -> tail\n {\n tail := add(headStart, 32)\n mstore(headStart, and(value0, 0xffffffffffffffffffffffffffffffffffffffff))\n }\n function array_dataslot_t_array$_t_bytes4_$dyn_storage(ptr) -> data\n {\n mstore(data, ptr)\n data := keccak256(data, 0x20)\n }\n function array_storeLengthForEncoding_t_array$_t_bytes4_$dyn(pos, length) -> updated_pos\n {\n mstore(pos, length)\n updated_pos := add(pos, 0x20)\n }\n}", - "id": 10, + "contents": "{\n { }\n function abi_decode_address(offset) -> value\n {\n value := calldataload(offset)\n if iszero(eq(value, and(value, 0xffffffffffffffffffffffffffffffffffffffff))) { revert(0, 0) }\n }\n function abi_decode_bytes_calldata(offset, end) -> arrayPos, length\n {\n if iszero(slt(add(offset, 0x1f), end)) { revert(0, 0) }\n length := calldataload(offset)\n if gt(length, 0xffffffffffffffff) { revert(0, 0) }\n arrayPos := add(offset, 0x20)\n if gt(add(add(offset, length), 0x20), end) { revert(0, 0) }\n }\n function abi_decode_tuple_t_addresst_array$_t_struct$_FacetCut_$711_calldata_ptr_$dyn_calldata_ptrt_bytes_calldata_ptrt_bytes32(headStart, dataEnd) -> value0, value1, value2, value3, value4, value5\n {\n if slt(sub(dataEnd, headStart), 128) { revert(0, 0) }\n value0 := abi_decode_address(headStart)\n let offset := calldataload(add(headStart, 32))\n let _1 := 0xffffffffffffffff\n if gt(offset, _1) { revert(0, 0) }\n let _2 := add(headStart, offset)\n if iszero(slt(add(_2, 0x1f), dataEnd)) { revert(0, 0) }\n let length := calldataload(_2)\n if gt(length, _1) { revert(0, 0) }\n if gt(add(add(_2, shl(5, length)), 32), dataEnd) { revert(0, 0) }\n value1 := add(_2, 32)\n value2 := length\n let offset_1 := calldataload(add(headStart, 64))\n if gt(offset_1, _1) { revert(0, 0) }\n let value3_1, value4_1 := abi_decode_bytes_calldata(add(headStart, offset_1), dataEnd)\n value3 := value3_1\n value4 := value4_1\n value5 := calldataload(add(headStart, 96))\n }\n function abi_encode_tuple_t_contract$_Diamond_$436__to_t_address_payable__fromStack_reversed(headStart, value0) -> tail\n {\n tail := add(headStart, 32)\n mstore(headStart, and(value0, 0xffffffffffffffffffffffffffffffffffffffff))\n }\n function abi_encode_tuple_packed_t_bytes32_t_address__to_t_bytes32_t_address__nonPadded_inplace_fromStack_reversed(pos, value1, value0) -> end\n {\n mstore(pos, value0)\n mstore(add(pos, 32), and(shl(96, value1), 0xffffffffffffffffffffffffffffffffffffffff000000000000000000000000))\n end := add(pos, 52)\n }\n function array_storeLengthForEncoding_array_struct_FacetCut_dyn(pos, length) -> updated_pos\n {\n mstore(pos, length)\n updated_pos := add(pos, 0x20)\n }\n function array_dataslot_array_struct_FacetCut_storage_dyn(ptr) -> data\n {\n mstore(0, ptr)\n data := keccak256(0, 0x20)\n }\n function abi_encode_address(value, pos)\n {\n mstore(pos, and(value, 0xffffffffffffffffffffffffffffffffffffffff))\n }\n function abi_encode_enum_FacetCutAction(value, pos)\n {\n if iszero(lt(value, 3))\n {\n mstore(0, 35408467139433450592217433187231851964531694900788300625387963629091585785856)\n mstore(4, 0x21)\n revert(0, 0x24)\n }\n mstore(pos, value)\n }\n function abi_encode_bytes4(value, pos)\n {\n mstore(pos, and(value, 0xffffffff00000000000000000000000000000000000000000000000000000000))\n }\n function abi_encode_struct_DiamondArgs(value, pos)\n {\n mstore(pos, and(mload(value), 0xffffffffffffffffffffffffffffffffffffffff))\n }\n function abi_encode_tuple_t_array$_t_struct$_FacetCut_$711_storage_$dyn_storage_t_struct$_DiamondArgs_$310_memory_ptr__to_t_array$_t_struct$_FacetCut_$711_memory_ptr_$dyn_memory_ptr_t_struct$_DiamondArgs_$310_memory_ptr__fromStack_reversed(headStart, value1, value0) -> tail\n {\n let tail_1 := add(headStart, 64)\n mstore(headStart, 64)\n let pos := tail_1\n let length := sload(value0)\n mstore(tail_1, length)\n pos := add(headStart, 96)\n let tail_2 := add(add(headStart, shl(5, length)), 96)\n mstore(0, value0)\n let _1 := 0x20\n let srcPtr := keccak256(0, _1)\n let i := 0\n for { } lt(i, length) { i := add(i, 1) }\n {\n mstore(pos, add(sub(tail_2, headStart), 0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffa0))\n let tail_3 := add(tail_2, 96)\n let slotValue := sload(srcPtr)\n mstore(tail_2, and(slotValue, 0xffffffffffffffffffffffffffffffffffffffff))\n abi_encode_enum_FacetCutAction(and(shr(160, slotValue), 0xff), add(tail_2, _1))\n let _2 := 1\n let memberValue0 := add(srcPtr, _2)\n mstore(add(tail_2, 64), 96)\n let pos_1 := tail_3\n let length_1 := sload(memberValue0)\n pos_1 := array_storeLengthForEncoding_array_struct_FacetCut_dyn(tail_3, length_1)\n let srcPtr_1 := array_dataslot_array_struct_FacetCut_storage_dyn(memberValue0)\n let itemCounter := 0\n for { }\n lt(add(itemCounter, 7), length_1)\n {\n itemCounter := add(itemCounter, 8)\n }\n {\n let data := sload(srcPtr_1)\n abi_encode_bytes4(shl(224, data), pos_1)\n let _3 := 0xffffffff00000000000000000000000000000000000000000000000000000000\n abi_encode_bytes4(and(shl(192, data), _3), add(pos_1, _1))\n abi_encode_bytes4(and(shl(160, data), _3), add(pos_1, 64))\n abi_encode_bytes4(and(shl(128, data), _3), add(pos_1, 96))\n abi_encode_bytes4(and(shl(96, data), _3), add(pos_1, 128))\n abi_encode_bytes4(and(shl(64, data), _3), add(pos_1, 160))\n abi_encode_bytes4(and(shl(_1, data), _3), add(pos_1, 192))\n abi_encode_bytes4(and(data, _3), add(pos_1, 224))\n pos_1 := add(pos_1, 256)\n srcPtr_1 := add(srcPtr_1, _2)\n }\n let data_1 := sload(srcPtr_1)\n if lt(itemCounter, length_1)\n {\n abi_encode_bytes4(shl(224, data_1), pos_1)\n pos_1 := add(pos_1, _1)\n itemCounter := add(itemCounter, _2)\n }\n if lt(itemCounter, length_1)\n {\n abi_encode_bytes4(and(shl(192, data_1), 0xffffffff00000000000000000000000000000000000000000000000000000000), pos_1)\n pos_1 := add(pos_1, _1)\n itemCounter := add(itemCounter, _2)\n }\n if lt(itemCounter, length_1)\n {\n abi_encode_bytes4(and(shl(160, data_1), 0xffffffff00000000000000000000000000000000000000000000000000000000), pos_1)\n pos_1 := add(pos_1, _1)\n itemCounter := add(itemCounter, _2)\n }\n if lt(itemCounter, length_1)\n {\n abi_encode_bytes4(and(shl(128, data_1), 0xffffffff00000000000000000000000000000000000000000000000000000000), pos_1)\n pos_1 := add(pos_1, _1)\n itemCounter := add(itemCounter, _2)\n }\n if lt(itemCounter, length_1)\n {\n abi_encode_bytes4(and(shl(96, data_1), 0xffffffff00000000000000000000000000000000000000000000000000000000), pos_1)\n pos_1 := add(pos_1, _1)\n itemCounter := add(itemCounter, _2)\n }\n if lt(itemCounter, length_1)\n {\n abi_encode_bytes4(and(shl(64, data_1), 0xffffffff00000000000000000000000000000000000000000000000000000000), pos_1)\n pos_1 := add(pos_1, _1)\n itemCounter := add(itemCounter, _2)\n }\n if lt(itemCounter, length_1)\n {\n abi_encode_bytes4(and(shl(_1, data_1), 0xffffffff00000000000000000000000000000000000000000000000000000000), pos_1)\n pos_1 := add(pos_1, _1)\n itemCounter := add(itemCounter, _2)\n }\n if lt(itemCounter, length_1)\n {\n abi_encode_bytes4(and(data_1, 0xffffffff00000000000000000000000000000000000000000000000000000000), pos_1)\n pos_1 := add(pos_1, _1)\n }\n tail_2 := pos_1\n srcPtr := add(srcPtr, 0x02)\n pos := add(pos, _1)\n }\n tail := tail_2\n abi_encode_struct_DiamondArgs(value1, add(headStart, _1))\n }\n function abi_encode_array_bytes4_dyn_calldata(value, length, pos) -> end\n {\n mstore(pos, length)\n let _1 := 0x20\n pos := add(pos, _1)\n let srcPtr := value\n let i := 0\n let i_1 := i\n for { } lt(i_1, length) { i_1 := add(i_1, 1) }\n {\n let value_1 := calldataload(srcPtr)\n let _2 := and(value_1, 0xffffffff00000000000000000000000000000000000000000000000000000000)\n if iszero(eq(value_1, _2)) { revert(i, i) }\n mstore(pos, _2)\n pos := add(pos, _1)\n srcPtr := add(srcPtr, _1)\n }\n end := pos\n }\n function abi_encode_bytes_calldata(start, length, pos) -> end\n {\n mstore(pos, length)\n calldatacopy(add(pos, 0x20), start, length)\n mstore(add(add(pos, length), 0x20), 0)\n end := add(add(pos, and(add(length, 31), 0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0)), 0x20)\n }\n function abi_encode_tuple_t_array$_t_struct$_FacetCut_$711_calldata_ptr_$dyn_calldata_ptr_t_address_t_bytes_calldata_ptr__to_t_array$_t_struct$_FacetCut_$711_memory_ptr_$dyn_memory_ptr_t_address_t_bytes_memory_ptr__fromStack_reversed(headStart, value4, value3, value2, value1, value0) -> tail\n {\n let _1 := 96\n let tail_1 := add(headStart, _1)\n mstore(headStart, _1)\n let pos := tail_1\n mstore(tail_1, value1)\n pos := add(headStart, 128)\n let _2 := 5\n let tail_2 := add(add(headStart, shl(_2, value1)), 128)\n let srcPtr := value0\n let i := 0\n for { } lt(i, value1) { i := add(i, 1) }\n {\n mstore(pos, add(sub(tail_2, headStart), 0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff80))\n let rel_offset_of_tail := calldataload(srcPtr)\n if iszero(slt(rel_offset_of_tail, add(sub(calldatasize(), value0), 0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffa1))) { revert(0, 0) }\n let value := add(rel_offset_of_tail, value0)\n mstore(tail_2, and(abi_decode_address(value), 0xffffffffffffffffffffffffffffffffffffffff))\n let _3 := 0x20\n let value_1 := calldataload(add(value, _3))\n if iszero(lt(value_1, 3)) { revert(0, 0) }\n abi_encode_enum_FacetCutAction(value_1, add(tail_2, _3))\n let _4 := 0x40\n let rel_offset_of_tail_1 := calldataload(add(value, _4))\n if iszero(slt(rel_offset_of_tail_1, add(sub(calldatasize(), value), 0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe1))) { revert(0, 0) }\n let value_2 := add(rel_offset_of_tail_1, value)\n let length := calldataload(value_2)\n if gt(length, 0xffffffffffffffff) { revert(0, 0) }\n if sgt(value, sub(calldatasize(), shl(_2, length))) { revert(0, 0) }\n mstore(add(tail_2, _4), _1)\n tail_2 := abi_encode_array_bytes4_dyn_calldata(add(value_2, _3), length, add(tail_2, _1))\n srcPtr := add(srcPtr, _3)\n pos := add(pos, _3)\n }\n abi_encode_address(value2, add(headStart, 0x20))\n mstore(add(headStart, 0x40), sub(tail_2, headStart))\n tail := abi_encode_bytes_calldata(value3, value4, tail_2)\n }\n function abi_encode_tuple_t_address__to_t_address__fromStack_reversed(headStart, value0) -> tail\n {\n tail := add(headStart, 32)\n mstore(headStart, and(value0, 0xffffffffffffffffffffffffffffffffffffffff))\n }\n}", + "id": 11, "language": "Yul", "name": "#utility.yul" } ], "immutableReferences": {}, "linkReferences": {}, - "opcodes": "PUSH1 0x80 PUSH1 0x40 MSTORE PUSH1 0x4 CALLDATASIZE LT PUSH3 0x20 JUMPI PUSH1 0x0 CALLDATALOAD PUSH1 0xE0 SHR DUP1 PUSH4 0xCCC2E316 EQ PUSH3 0x25 JUMPI JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH3 0x3C PUSH3 0x36 CALLDATASIZE PUSH1 0x4 PUSH3 0x31A JUMP JUMPDEST PUSH3 0x54 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH3 0x4B SWAP2 SWAP1 PUSH3 0x524 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH1 0x0 DUP2 ISZERO PUSH3 0xF9 JUMPI DUP2 DUP8 PUSH1 0x40 MLOAD PUSH1 0x20 ADD PUSH3 0x72 SWAP3 SWAP2 SWAP1 PUSH3 0x4F1 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH1 0x20 DUP2 DUP4 SUB SUB DUP2 MSTORE SWAP1 PUSH1 0x40 MSTORE DUP1 MLOAD SWAP1 PUSH1 0x20 ADD KECCAK256 SWAP2 POP CALLVALUE DUP3 SWAP1 PUSH1 0x0 PUSH1 0x40 MLOAD DUP1 PUSH1 0x20 ADD PUSH1 0x40 MSTORE DUP1 ADDRESS PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP2 MSTORE POP PUSH1 0x40 MLOAD PUSH3 0xC2 SWAP1 PUSH3 0x298 JUMP JUMPDEST PUSH3 0xCF SWAP3 SWAP2 SWAP1 PUSH3 0x6CC JUMP JUMPDEST DUP3 SWAP1 PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 DUP4 CREATE2 SWAP2 POP POP DUP1 ISZERO DUP1 ISZERO PUSH3 0xF0 JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP SWAP1 POP PUSH3 0x147 JUMP JUMPDEST PUSH1 0x40 DUP1 MLOAD PUSH1 0x20 DUP2 ADD DUP3 MSTORE ADDRESS DUP2 MSTORE SWAP1 MLOAD CALLVALUE SWAP2 PUSH1 0x0 SWAP2 PUSH3 0x118 SWAP1 PUSH3 0x298 JUMP JUMPDEST PUSH3 0x125 SWAP3 SWAP2 SWAP1 PUSH3 0x6CC JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 DUP3 CREATE SWAP1 POP DUP1 ISZERO DUP1 ISZERO PUSH3 0x143 JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP SWAP1 POP JUMPDEST PUSH32 0x644CA5B0A8B0418E9FAF3880659EEB84EAAD45AD838B0173808E5CA72F5EFC49 DUP2 PUSH1 0x40 MLOAD PUSH3 0x178 SWAP2 SWAP1 PUSH3 0x524 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 LOG1 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP2 AND PUSH4 0x1F931C1C DUP8 DUP8 DUP7 PUSH3 0x1AC JUMPI PUSH1 0x0 PUSH3 0x1AE JUMP JUMPDEST DUP5 JUMPDEST DUP9 DUP9 PUSH1 0x40 MLOAD DUP7 PUSH4 0xFFFFFFFF AND PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH3 0x1D2 SWAP6 SWAP5 SWAP4 SWAP3 SWAP2 SWAP1 PUSH3 0x545 JUMP JUMPDEST PUSH1 0x0 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 PUSH1 0x0 DUP8 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH3 0x1ED JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS CALL ISZERO DUP1 ISZERO PUSH3 0x202 JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP PUSH1 0x40 MLOAD PUSH32 0xF2FDE38B00000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP5 AND SWAP3 POP PUSH4 0xF2FDE38B SWAP2 POP PUSH3 0x25A SWAP1 DUP11 SWAP1 PUSH1 0x4 ADD PUSH3 0x524 JUMP JUMPDEST PUSH1 0x0 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 PUSH1 0x0 DUP8 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH3 0x275 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS CALL ISZERO DUP1 ISZERO PUSH3 0x28A JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP SWAP7 SWAP6 POP POP POP POP POP POP JUMP JUMPDEST PUSH2 0x2D45 DUP1 PUSH3 0xA8F DUP4 CODECOPY ADD SWAP1 JUMP JUMPDEST DUP1 CALLDATALOAD PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP2 AND DUP2 EQ PUSH3 0x2CB JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 DUP1 DUP4 PUSH1 0x1F DUP5 ADD SLT PUSH3 0x2E2 JUMPI DUP2 DUP3 REVERT JUMPDEST POP DUP2 CALLDATALOAD PUSH8 0xFFFFFFFFFFFFFFFF DUP2 GT ISZERO PUSH3 0x2FA JUMPI DUP2 DUP3 REVERT JUMPDEST PUSH1 0x20 DUP4 ADD SWAP2 POP DUP4 PUSH1 0x20 DUP3 DUP6 ADD ADD GT ISZERO PUSH3 0x313 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST SWAP3 POP SWAP3 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x0 DUP1 PUSH1 0x0 DUP1 PUSH1 0x80 DUP8 DUP10 SUB SLT ISZERO PUSH3 0x333 JUMPI DUP2 DUP3 REVERT JUMPDEST PUSH3 0x33E DUP8 PUSH3 0x2A6 JUMP JUMPDEST SWAP6 POP PUSH1 0x20 DUP8 ADD CALLDATALOAD PUSH8 0xFFFFFFFFFFFFFFFF DUP1 DUP3 GT ISZERO PUSH3 0x35B JUMPI DUP4 DUP5 REVERT JUMPDEST DUP2 DUP10 ADD SWAP2 POP DUP10 PUSH1 0x1F DUP4 ADD SLT PUSH3 0x36F JUMPI DUP4 DUP5 REVERT JUMPDEST DUP2 CALLDATALOAD DUP2 DUP2 GT ISZERO PUSH3 0x37E JUMPI DUP5 DUP6 REVERT JUMPDEST DUP11 PUSH1 0x20 DUP1 DUP4 MUL DUP6 ADD ADD GT ISZERO PUSH3 0x392 JUMPI DUP5 DUP6 REVERT JUMPDEST PUSH1 0x20 DUP4 ADD SWAP8 POP DUP1 SWAP7 POP POP PUSH1 0x40 DUP10 ADD CALLDATALOAD SWAP2 POP DUP1 DUP3 GT ISZERO PUSH3 0x3B0 JUMPI DUP4 DUP5 REVERT JUMPDEST POP PUSH3 0x3BF DUP10 DUP3 DUP11 ADD PUSH3 0x2D0 JUMP JUMPDEST SWAP8 SWAP11 SWAP7 SWAP10 POP SWAP5 SWAP8 SWAP5 SWAP7 SWAP6 PUSH1 0x60 SWAP1 SWAP6 ADD CALLDATALOAD SWAP5 SWAP4 POP POP POP POP JUMP JUMPDEST PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND SWAP1 MSTORE JUMP JUMPDEST PUSH1 0x0 DUP3 DUP5 MSTORE PUSH1 0x20 DUP1 DUP6 ADD SWAP5 POP DUP3 DUP3 JUMPDEST DUP6 DUP2 LT ISZERO PUSH3 0x44E JUMPI DUP2 CALLDATALOAD PUSH32 0xFFFFFFFF00000000000000000000000000000000000000000000000000000000 DUP2 AND DUP1 DUP3 EQ PUSH3 0x43A JUMPI DUP6 DUP7 REVERT JUMPDEST DUP9 MSTORE POP SWAP6 DUP3 ADD SWAP6 SWAP1 DUP3 ADD SWAP1 PUSH1 0x1 ADD PUSH3 0x400 JUMP JUMPDEST POP SWAP5 SWAP6 SWAP5 POP POP POP POP POP JUMP JUMPDEST PUSH32 0xFFFFFFFF00000000000000000000000000000000000000000000000000000000 AND SWAP1 MSTORE JUMP JUMPDEST PUSH1 0x0 DUP3 DUP5 MSTORE DUP3 DUP3 PUSH1 0x20 DUP7 ADD CALLDATACOPY DUP1 PUSH1 0x20 DUP5 DUP7 ADD ADD MSTORE PUSH1 0x20 PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFE0 PUSH1 0x1F DUP6 ADD AND DUP6 ADD ADD SWAP1 POP SWAP4 SWAP3 POP POP POP JUMP JUMPDEST PUSH1 0x3 DUP2 LT PUSH3 0x4D2 JUMPI INVALID JUMPDEST SWAP1 MSTORE JUMP JUMPDEST MLOAD PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND SWAP1 MSTORE JUMP JUMPDEST SWAP2 DUP3 MSTORE PUSH1 0x60 SHL PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF000000000000000000000000 AND PUSH1 0x20 DUP3 ADD MSTORE PUSH1 0x34 ADD SWAP1 JUMP JUMPDEST PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF SWAP2 SWAP1 SWAP2 AND DUP2 MSTORE PUSH1 0x20 ADD SWAP1 JUMP JUMPDEST PUSH1 0x60 DUP1 DUP3 MSTORE DUP2 DUP2 ADD DUP7 SWAP1 MSTORE PUSH1 0x0 SWAP1 PUSH1 0x20 PUSH1 0x80 DUP1 DUP6 ADD SWAP1 DUP3 DUP11 MUL DUP7 ADD ADD DUP11 DUP6 JUMPDEST DUP12 DUP2 LT ISZERO PUSH3 0x698 JUMPI PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF80 DUP9 DUP5 SUB ADD DUP5 MSTORE DUP2 CALLDATALOAD PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFA1 DUP15 CALLDATASIZE SUB ADD DUP2 SLT PUSH3 0x5C6 JUMPI DUP8 DUP9 REVERT JUMPDEST DUP14 ADD PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF PUSH3 0x5E8 DUP3 PUSH3 0x2A6 JUMP JUMPDEST AND DUP5 MSTORE DUP6 DUP2 ADD CALLDATALOAD PUSH1 0x3 DUP2 LT PUSH3 0x5FC JUMPI DUP9 DUP10 REVERT JUMPDEST PUSH3 0x60A DUP8 DUP7 ADD DUP3 PUSH3 0x4C7 JUMP JUMPDEST POP PUSH1 0x40 DUP1 DUP3 ADD CALLDATALOAD PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFE1 DUP4 CALLDATASIZE SUB ADD DUP2 SLT PUSH3 0x641 JUMPI DUP10 DUP11 REVERT JUMPDEST DUP3 ADD DUP1 CALLDATALOAD PUSH8 0xFFFFFFFFFFFFFFFF DUP2 GT ISZERO PUSH3 0x65A JUMPI DUP11 DUP12 REVERT JUMPDEST DUP9 DUP2 MUL CALLDATASIZE SUB DUP5 SGT ISZERO PUSH3 0x66B JUMPI DUP11 DUP12 REVERT JUMPDEST DUP10 DUP4 DUP9 ADD MSTORE PUSH3 0x681 DUP11 DUP9 ADD DUP3 DUP12 DUP6 ADD PUSH3 0x3F1 JUMP JUMPDEST SWAP8 DUP10 ADD SWAP8 SWAP7 POP POP POP SWAP3 DUP7 ADD SWAP3 POP POP PUSH1 0x1 ADD PUSH3 0x564 JUMP JUMPDEST POP POP PUSH3 0x6A8 DUP4 DUP8 ADD DUP11 PUSH3 0x3D7 JUMP JUMPDEST DUP6 DUP2 SUB PUSH1 0x40 DUP8 ADD MSTORE PUSH3 0x6BD DUP2 DUP9 DUP11 PUSH3 0x47F JUMP JUMPDEST SWAP12 SWAP11 POP POP POP POP POP POP POP POP POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x40 DUP3 MSTORE PUSH1 0x40 DUP3 ADD DUP5 SLOAD DUP1 DUP3 MSTORE PUSH1 0x60 DUP5 ADD SWAP2 POP PUSH1 0x20 PUSH1 0x60 DUP2 DUP4 MUL DUP7 ADD ADD DUP8 DUP6 MSTORE DUP2 DUP6 KECCAK256 DUP6 JUMPDEST DUP5 DUP2 LT ISZERO PUSH3 0xA5B JUMPI PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFA0 DUP9 DUP5 SUB ADD DUP7 MSTORE DUP2 SLOAD PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP2 AND DUP5 MSTORE PUSH3 0x752 DUP6 DUP6 ADD PUSH1 0xFF DUP4 PUSH1 0xA0 SHR AND PUSH3 0x4C7 JUMP JUMPDEST POP PUSH1 0x1 DUP1 DUP4 ADD PUSH1 0x60 PUSH1 0x40 DUP7 ADD MSTORE PUSH1 0x60 DUP6 ADD DUP2 SLOAD PUSH3 0x771 DUP2 DUP4 PUSH3 0xA85 JUMP JUMPDEST SWAP2 POP PUSH3 0x77E DUP4 PUSH3 0xA79 JUMP JUMPDEST SWAP3 POP DUP11 JUMPDEST DUP2 PUSH1 0x7 DUP3 ADD LT ISZERO PUSH3 0x85E JUMPI DUP4 SLOAD PUSH3 0x79F DUP5 DUP3 PUSH1 0xE0 SHL PUSH3 0x459 JUMP JUMPDEST PUSH32 0xFFFFFFFF00000000000000000000000000000000000000000000000000000000 PUSH3 0x7D3 DUP12 DUP7 ADD DUP3 DUP5 PUSH1 0xC0 SHL AND PUSH3 0x459 JUMP JUMPDEST PUSH3 0x7E7 PUSH1 0x40 DUP7 ADD DUP3 DUP5 PUSH1 0xA0 SHL AND PUSH3 0x459 JUMP JUMPDEST PUSH3 0x7FB PUSH1 0x60 DUP7 ADD DUP3 DUP5 PUSH1 0x80 SHL AND PUSH3 0x459 JUMP JUMPDEST PUSH3 0x80F PUSH1 0x80 DUP7 ADD DUP3 DUP5 PUSH1 0x60 SHL AND PUSH3 0x459 JUMP JUMPDEST PUSH3 0x823 PUSH1 0xA0 DUP7 ADD DUP3 DUP5 PUSH1 0x40 SHL AND PUSH3 0x459 JUMP JUMPDEST PUSH3 0x836 PUSH1 0xC0 DUP7 ADD DUP3 DUP5 DUP15 SHL AND PUSH3 0x459 JUMP JUMPDEST PUSH3 0x847 PUSH1 0xE0 DUP7 ADD DUP3 DUP5 AND PUSH3 0x459 JUMP JUMPDEST POP POP SWAP3 DUP5 ADD SWAP3 PUSH2 0x100 SWAP3 SWAP1 SWAP3 ADD SWAP2 PUSH1 0x8 ADD PUSH3 0x782 JUMP JUMPDEST SWAP3 SLOAD SWAP3 DUP2 DUP2 LT ISZERO PUSH3 0x880 JUMPI PUSH3 0x879 DUP4 DUP6 PUSH1 0xE0 SHL PUSH3 0x459 JUMP JUMPDEST SWAP2 DUP9 ADD SWAP2 DUP5 ADD JUMPDEST DUP2 DUP2 LT ISZERO PUSH3 0x8C1 JUMPI PUSH3 0x8BA DUP4 PUSH32 0xFFFFFFFF00000000000000000000000000000000000000000000000000000000 DUP7 PUSH1 0xC0 SHL AND PUSH3 0x459 JUMP JUMPDEST SWAP2 DUP9 ADD SWAP2 DUP5 ADD JUMPDEST DUP2 DUP2 LT ISZERO PUSH3 0x902 JUMPI PUSH3 0x8FB DUP4 PUSH32 0xFFFFFFFF00000000000000000000000000000000000000000000000000000000 DUP7 PUSH1 0xA0 SHL AND PUSH3 0x459 JUMP JUMPDEST SWAP2 DUP9 ADD SWAP2 DUP5 ADD JUMPDEST DUP2 DUP2 LT ISZERO PUSH3 0x943 JUMPI PUSH3 0x93C DUP4 PUSH32 0xFFFFFFFF00000000000000000000000000000000000000000000000000000000 DUP7 PUSH1 0x80 SHL AND PUSH3 0x459 JUMP JUMPDEST SWAP2 DUP9 ADD SWAP2 DUP5 ADD JUMPDEST DUP2 DUP2 LT ISZERO PUSH3 0x984 JUMPI PUSH3 0x97D DUP4 PUSH32 0xFFFFFFFF00000000000000000000000000000000000000000000000000000000 DUP7 PUSH1 0x60 SHL AND PUSH3 0x459 JUMP JUMPDEST SWAP2 DUP9 ADD SWAP2 DUP5 ADD JUMPDEST DUP2 DUP2 LT ISZERO PUSH3 0x9C5 JUMPI PUSH3 0x9BE DUP4 PUSH32 0xFFFFFFFF00000000000000000000000000000000000000000000000000000000 DUP7 PUSH1 0x40 SHL AND PUSH3 0x459 JUMP JUMPDEST SWAP2 DUP9 ADD SWAP2 DUP5 ADD JUMPDEST DUP2 DUP2 LT ISZERO PUSH3 0xA05 JUMPI PUSH3 0x9FE DUP4 PUSH32 0xFFFFFFFF00000000000000000000000000000000000000000000000000000000 DUP7 DUP13 SHL AND PUSH3 0x459 JUMP JUMPDEST SWAP2 DUP9 ADD SWAP2 DUP5 ADD JUMPDEST DUP2 DUP2 LT ISZERO PUSH3 0xA41 JUMPI PUSH3 0xA3C DUP4 PUSH32 0xFFFFFFFF00000000000000000000000000000000000000000000000000000000 DUP7 AND PUSH3 0x459 JUMP JUMPDEST SWAP2 DUP9 ADD SWAP2 JUMPDEST POP POP SWAP8 DUP7 ADD SWAP8 SWAP5 POP POP POP PUSH1 0x2 SWAP2 SWAP1 SWAP2 ADD SWAP1 PUSH1 0x1 ADD PUSH3 0x6F3 JUMP JUMPDEST POP POP DUP1 SWAP5 POP POP PUSH3 0xA6F DUP2 DUP7 ADD DUP8 PUSH3 0x4D6 JUMP JUMPDEST POP POP POP SWAP4 SWAP3 POP POP POP JUMP JUMPDEST PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x20 SWAP1 KECCAK256 SWAP1 JUMP JUMPDEST SWAP1 DUP2 MSTORE PUSH1 0x20 ADD SWAP1 JUMP INVALID PUSH1 0x80 PUSH1 0x40 MSTORE PUSH1 0x40 MLOAD PUSH3 0x2D45 CODESIZE SUB DUP1 PUSH3 0x2D45 DUP4 CODECOPY DUP2 ADD PUSH1 0x40 DUP2 SWAP1 MSTORE PUSH3 0x26 SWAP2 PUSH3 0xDB2 JUMP JUMPDEST PUSH1 0x40 DUP1 MLOAD PUSH1 0x0 DUP1 DUP3 MSTORE PUSH1 0x20 DUP3 ADD SWAP1 SWAP3 MSTORE PUSH3 0x4E SWAP2 DUP5 SWAP2 PUSH3 0xF5 PUSH1 0x20 SHL PUSH3 0xDB OR PUSH1 0x20 SHR JUMP JUMPDEST PUSH3 0x68 DUP2 PUSH1 0x0 ADD MLOAD PUSH3 0x2B5 PUSH1 0x20 SHL PUSH3 0x27D OR PUSH1 0x20 SHR JUMP JUMPDEST PUSH1 0x0 PUSH3 0x7F PUSH3 0x317 PUSH1 0x20 SHL PUSH3 0x302 OR PUSH1 0x20 SHR JUMP JUMPDEST PUSH4 0x1FFC9A7 PUSH1 0xE0 SHL PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x3 SWAP1 SWAP2 ADD PUSH1 0x20 MSTORE PUSH1 0x40 DUP1 DUP3 KECCAK256 DUP1 SLOAD PUSH1 0xFF NOT SWAP1 DUP2 AND PUSH1 0x1 SWAP1 DUP2 OR SWAP1 SWAP3 SSTORE PUSH4 0x7E4C707 PUSH1 0xE2 SHL DUP5 MSTORE DUP3 DUP5 KECCAK256 DUP1 SLOAD DUP3 AND DUP4 OR SWAP1 SSTORE PUSH4 0x48E2B093 PUSH1 0xE0 SHL DUP5 MSTORE DUP3 DUP5 KECCAK256 DUP1 SLOAD DUP3 AND DUP4 OR SWAP1 SSTORE PUSH4 0x7F5828D PUSH1 0xE4 SHL DUP5 MSTORE SWAP2 SWAP1 SWAP3 KECCAK256 DUP1 SLOAD SWAP1 SWAP2 AND SWAP1 SWAP2 OR SWAP1 SSTORE POP PUSH3 0x1442 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 JUMPDEST DUP4 MLOAD DUP2 LT ISZERO PUSH3 0x266 JUMPI PUSH1 0x0 DUP5 DUP3 DUP2 MLOAD DUP2 LT PUSH3 0x111 JUMPI INVALID JUMPDEST PUSH1 0x20 MUL PUSH1 0x20 ADD ADD MLOAD PUSH1 0x20 ADD MLOAD SWAP1 POP PUSH1 0x0 PUSH1 0x2 DUP2 GT ISZERO PUSH3 0x12D JUMPI INVALID JUMPDEST DUP2 PUSH1 0x2 DUP2 GT ISZERO PUSH3 0x13A JUMPI INVALID JUMPDEST EQ ISZERO PUSH3 0x189 JUMPI PUSH3 0x183 DUP6 DUP4 DUP2 MLOAD DUP2 LT PUSH3 0x152 JUMPI INVALID JUMPDEST PUSH1 0x20 MUL PUSH1 0x20 ADD ADD MLOAD PUSH1 0x0 ADD MLOAD DUP7 DUP5 DUP2 MLOAD DUP2 LT PUSH3 0x16B JUMPI INVALID JUMPDEST PUSH1 0x20 MUL PUSH1 0x20 ADD ADD MLOAD PUSH1 0x40 ADD MLOAD PUSH3 0x33B PUSH1 0x20 SHL PUSH1 0x20 SHR JUMP JUMPDEST PUSH3 0x25C JUMP JUMPDEST PUSH1 0x1 DUP2 PUSH1 0x2 DUP2 GT ISZERO PUSH3 0x198 JUMPI INVALID JUMPDEST EQ ISZERO PUSH3 0x1E1 JUMPI PUSH3 0x183 DUP6 DUP4 DUP2 MLOAD DUP2 LT PUSH3 0x1B0 JUMPI INVALID JUMPDEST PUSH1 0x20 MUL PUSH1 0x20 ADD ADD MLOAD PUSH1 0x0 ADD MLOAD DUP7 DUP5 DUP2 MLOAD DUP2 LT PUSH3 0x1C9 JUMPI INVALID JUMPDEST PUSH1 0x20 MUL PUSH1 0x20 ADD ADD MLOAD PUSH1 0x40 ADD MLOAD PUSH3 0x54E PUSH1 0x20 SHL PUSH1 0x20 SHR JUMP JUMPDEST PUSH1 0x2 DUP2 PUSH1 0x2 DUP2 GT ISZERO PUSH3 0x1F0 JUMPI INVALID JUMPDEST EQ ISZERO PUSH3 0x239 JUMPI PUSH3 0x183 DUP6 DUP4 DUP2 MLOAD DUP2 LT PUSH3 0x208 JUMPI INVALID JUMPDEST PUSH1 0x20 MUL PUSH1 0x20 ADD ADD MLOAD PUSH1 0x0 ADD MLOAD DUP7 DUP5 DUP2 MLOAD DUP2 LT PUSH3 0x221 JUMPI INVALID JUMPDEST PUSH1 0x20 MUL PUSH1 0x20 ADD ADD MLOAD PUSH1 0x40 ADD MLOAD PUSH3 0x778 PUSH1 0x20 SHL PUSH1 0x20 SHR JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH3 0x253 SWAP1 PUSH3 0x117C JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST POP PUSH1 0x1 ADD PUSH3 0xF8 JUMP JUMPDEST POP PUSH32 0x8FAA70878671CCD212D20771B795C50AF8FD3FF6CF27F4BDE57E5D4DE0AEB673 DUP4 DUP4 DUP4 PUSH1 0x40 MLOAD PUSH3 0x29C SWAP4 SWAP3 SWAP2 SWAP1 PUSH3 0xF25 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 LOG1 PUSH3 0x2B0 DUP3 DUP3 PUSH3 0x83F JUMP JUMPDEST POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH3 0x2C1 PUSH3 0x317 JUMP JUMPDEST PUSH1 0x4 DUP2 ADD DUP1 SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP6 DUP2 AND PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB NOT DUP4 AND DUP2 OR SWAP1 SWAP4 SSTORE PUSH1 0x40 MLOAD SWAP4 SWAP5 POP AND SWAP2 DUP3 SWAP1 PUSH32 0x8BE0079C531659141344CD1FD0A4F28419497F9722A3DAAFE3B4186F6B6457E0 SWAP1 PUSH1 0x0 SWAP1 LOG3 POP POP POP JUMP JUMPDEST PUSH32 0xC8FCAD8DB84D3CC18B4C41D551EA0EE66DD599CDE068D998E57D5E09332C131C SWAP1 JUMP JUMPDEST PUSH1 0x0 DUP2 MLOAD GT PUSH3 0x35F JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH3 0x253 SWAP1 PUSH3 0x10D4 JUMP JUMPDEST PUSH1 0x0 PUSH3 0x36B PUSH3 0x317 JUMP JUMPDEST SWAP1 POP PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP4 AND PUSH3 0x396 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH3 0x253 SWAP1 PUSH3 0x11C3 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP4 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x1 DUP3 ADD PUSH1 0x20 MSTORE PUSH1 0x40 SWAP1 KECCAK256 SLOAD PUSH2 0xFFFF DUP2 AND PUSH3 0x43C JUMPI PUSH3 0x3E0 DUP5 PUSH1 0x40 MLOAD DUP1 PUSH1 0x60 ADD PUSH1 0x40 MSTORE DUP1 PUSH1 0x24 DUP2 MSTORE PUSH1 0x20 ADD PUSH3 0x2D21 PUSH1 0x24 SWAP2 CODECOPY PUSH3 0x97C JUMP JUMPDEST PUSH1 0x2 DUP3 ADD DUP1 SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP7 AND PUSH1 0x0 DUP2 DUP2 MSTORE PUSH1 0x1 DUP1 DUP8 ADD PUSH1 0x20 SWAP1 DUP2 MSTORE PUSH1 0x40 DUP4 KECCAK256 DUP3 ADD DUP1 SLOAD PUSH2 0xFFFF NOT AND PUSH2 0xFFFF SWAP1 SWAP7 AND SWAP6 SWAP1 SWAP6 OR SWAP1 SWAP5 SSTORE DUP5 SLOAD SWAP1 DUP2 ADD DUP6 SSTORE SWAP4 DUP2 MSTORE SWAP2 SWAP1 SWAP2 KECCAK256 SWAP1 SWAP2 ADD DUP1 SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB NOT AND SWAP1 SWAP2 OR SWAP1 SSTORE JUMPDEST PUSH1 0x0 JUMPDEST DUP4 MLOAD DUP2 LT ISZERO PUSH3 0x547 JUMPI PUSH1 0x0 DUP5 DUP3 DUP2 MLOAD DUP2 LT PUSH3 0x458 JUMPI INVALID JUMPDEST PUSH1 0x20 SWAP1 DUP2 MUL SWAP2 SWAP1 SWAP2 ADD DUP2 ADD MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xE0 SHL SUB NOT DUP2 AND PUSH1 0x0 SWAP1 DUP2 MSTORE SWAP2 DUP7 SWAP1 MSTORE PUSH1 0x40 SWAP1 SWAP2 KECCAK256 SLOAD SWAP1 SWAP2 POP PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND DUP1 ISZERO PUSH3 0x4AB JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH3 0x253 SWAP1 PUSH3 0x12BA JUMP JUMPDEST POP PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP7 AND PUSH1 0x0 DUP2 DUP2 MSTORE PUSH1 0x1 DUP7 DUP2 ADD PUSH1 0x20 SWAP1 DUP2 MSTORE PUSH1 0x40 DUP1 DUP5 KECCAK256 DUP1 SLOAD DUP1 DUP6 ADD DUP3 SSTORE SWAP1 DUP6 MSTORE DUP3 DUP6 KECCAK256 PUSH1 0x8 DUP3 DIV ADD DUP1 SLOAD PUSH4 0xFFFFFFFF PUSH1 0x7 SWAP1 SWAP4 AND PUSH1 0x4 MUL PUSH2 0x100 EXP SWAP3 DUP4 MUL NOT AND PUSH1 0xE0 DUP10 SWAP1 SHR SWAP3 SWAP1 SWAP3 MUL SWAP2 SWAP1 SWAP2 OR SWAP1 SSTORE PUSH1 0x1 PUSH1 0x1 PUSH1 0xE0 SHL SUB NOT SWAP1 SWAP6 AND DUP4 MSTORE DUP8 SWAP1 MSTORE SWAP3 SWAP1 KECCAK256 DUP1 SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB NOT AND SWAP1 SWAP2 OR PUSH2 0xFFFF PUSH1 0xA0 SHL NOT AND PUSH1 0x1 PUSH1 0xA0 SHL PUSH2 0xFFFF DUP7 AND MUL OR SWAP1 SSTORE SWAP2 DUP3 ADD SWAP2 ADD PUSH3 0x43F JUMP JUMPDEST POP POP POP POP POP JUMP JUMPDEST PUSH1 0x0 DUP2 MLOAD GT PUSH3 0x572 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH3 0x253 SWAP1 PUSH3 0x10D4 JUMP JUMPDEST PUSH1 0x0 PUSH3 0x57E PUSH3 0x317 JUMP JUMPDEST SWAP1 POP PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP4 AND PUSH3 0x5A9 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH3 0x253 SWAP1 PUSH3 0x11C3 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP4 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x1 DUP3 ADD PUSH1 0x20 MSTORE PUSH1 0x40 SWAP1 KECCAK256 SLOAD PUSH2 0xFFFF DUP2 AND PUSH3 0x64F JUMPI PUSH3 0x5F3 DUP5 PUSH1 0x40 MLOAD DUP1 PUSH1 0x60 ADD PUSH1 0x40 MSTORE DUP1 PUSH1 0x24 DUP2 MSTORE PUSH1 0x20 ADD PUSH3 0x2D21 PUSH1 0x24 SWAP2 CODECOPY PUSH3 0x97C JUMP JUMPDEST PUSH1 0x2 DUP3 ADD DUP1 SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP7 AND PUSH1 0x0 DUP2 DUP2 MSTORE PUSH1 0x1 DUP1 DUP8 ADD PUSH1 0x20 SWAP1 DUP2 MSTORE PUSH1 0x40 DUP4 KECCAK256 DUP3 ADD DUP1 SLOAD PUSH2 0xFFFF NOT AND PUSH2 0xFFFF SWAP1 SWAP7 AND SWAP6 SWAP1 SWAP6 OR SWAP1 SWAP5 SSTORE DUP5 SLOAD SWAP1 DUP2 ADD DUP6 SSTORE SWAP4 DUP2 MSTORE SWAP2 SWAP1 SWAP2 KECCAK256 SWAP1 SWAP2 ADD DUP1 SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB NOT AND SWAP1 SWAP2 OR SWAP1 SSTORE JUMPDEST PUSH1 0x0 JUMPDEST DUP4 MLOAD DUP2 LT ISZERO PUSH3 0x547 JUMPI PUSH1 0x0 DUP5 DUP3 DUP2 MLOAD DUP2 LT PUSH3 0x66B JUMPI INVALID JUMPDEST PUSH1 0x20 SWAP1 DUP2 MUL SWAP2 SWAP1 SWAP2 ADD DUP2 ADD MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xE0 SHL SUB NOT DUP2 AND PUSH1 0x0 SWAP1 DUP2 MSTORE SWAP2 DUP7 SWAP1 MSTORE PUSH1 0x40 SWAP1 SWAP2 KECCAK256 SLOAD SWAP1 SWAP2 POP PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 DUP2 AND SWAP1 DUP8 AND DUP2 EQ ISZERO PUSH3 0x6C4 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH3 0x253 SWAP1 PUSH3 0x1317 JUMP JUMPDEST PUSH3 0x6D0 DUP2 DUP4 PUSH3 0x9A0 JUMP JUMPDEST POP PUSH1 0x1 PUSH1 0x1 PUSH1 0xE0 SHL SUB NOT DUP2 AND PUSH1 0x0 DUP2 DUP2 MSTORE PUSH1 0x20 DUP7 DUP2 MSTORE PUSH1 0x40 DUP1 DUP4 KECCAK256 DUP1 SLOAD PUSH2 0xFFFF PUSH1 0xA0 SHL NOT AND PUSH1 0x1 PUSH1 0xA0 SHL PUSH2 0xFFFF DUP11 AND MUL OR DUP2 SSTORE PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP12 AND DUP1 DUP6 MSTORE PUSH1 0x1 DUP1 DUP12 ADD DUP6 MSTORE SWAP3 DUP6 KECCAK256 DUP1 SLOAD DUP1 DUP6 ADD DUP3 SSTORE SWAP1 DUP7 MSTORE DUP5 DUP7 KECCAK256 PUSH1 0x8 DUP3 DIV ADD DUP1 SLOAD PUSH4 0xFFFFFFFF PUSH1 0x7 SWAP1 SWAP4 AND PUSH1 0x4 MUL PUSH2 0x100 EXP SWAP3 DUP4 MUL NOT AND PUSH1 0xE0 SWAP10 SWAP1 SWAP10 SHR SWAP2 SWAP1 SWAP2 MUL SWAP8 SWAP1 SWAP8 OR SWAP1 SWAP7 SSTORE SWAP4 SWAP1 SWAP3 MSTORE DUP7 SWAP1 MSTORE DUP2 SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB NOT AND SWAP1 SWAP3 OR SWAP1 SSTORE SWAP2 DUP3 ADD SWAP2 ADD PUSH3 0x652 JUMP JUMPDEST PUSH1 0x0 DUP2 MLOAD GT PUSH3 0x79C JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH3 0x253 SWAP1 PUSH3 0x10D4 JUMP JUMPDEST PUSH1 0x0 PUSH3 0x7A8 PUSH3 0x317 JUMP JUMPDEST SWAP1 POP PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP4 AND ISZERO PUSH3 0x7D4 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH3 0x253 SWAP1 PUSH3 0x1374 JUMP JUMPDEST PUSH1 0x0 JUMPDEST DUP3 MLOAD DUP2 LT ISZERO PUSH3 0x839 JUMPI PUSH1 0x0 DUP4 DUP3 DUP2 MLOAD DUP2 LT PUSH3 0x7F0 JUMPI INVALID JUMPDEST PUSH1 0x20 SWAP1 DUP2 MUL SWAP2 SWAP1 SWAP2 ADD DUP2 ADD MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xE0 SHL SUB NOT DUP2 AND PUSH1 0x0 SWAP1 DUP2 MSTORE SWAP2 DUP6 SWAP1 MSTORE PUSH1 0x40 SWAP1 SWAP2 KECCAK256 SLOAD SWAP1 SWAP2 POP PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND PUSH3 0x82E DUP2 DUP4 PUSH3 0x9A0 JUMP JUMPDEST POP POP PUSH1 0x1 ADD PUSH3 0x7D7 JUMP JUMPDEST POP POP POP POP JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP3 AND PUSH3 0x876 JUMPI DUP1 MLOAD ISZERO PUSH3 0x870 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH3 0x253 SWAP1 PUSH3 0x1031 JUMP JUMPDEST PUSH3 0x978 JUMP JUMPDEST PUSH1 0x0 DUP2 MLOAD GT PUSH3 0x89A JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH3 0x253 SWAP1 PUSH3 0x120F JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP3 AND ADDRESS EQ PUSH3 0x8D0 JUMPI PUSH3 0x8D0 DUP3 PUSH1 0x40 MLOAD DUP1 PUSH1 0x60 ADD PUSH1 0x40 MSTORE DUP1 PUSH1 0x28 DUP2 MSTORE PUSH1 0x20 ADD PUSH3 0x2CF9 PUSH1 0x28 SWAP2 CODECOPY PUSH3 0x97C JUMP JUMPDEST PUSH1 0x0 DUP1 DUP4 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND DUP4 PUSH1 0x40 MLOAD PUSH3 0x8ED SWAP2 SWAP1 PUSH3 0xF07 JUMP JUMPDEST PUSH1 0x0 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP6 GAS DELEGATECALL SWAP2 POP POP RETURNDATASIZE DUP1 PUSH1 0x0 DUP2 EQ PUSH3 0x92A JUMPI PUSH1 0x40 MLOAD SWAP2 POP PUSH1 0x1F NOT PUSH1 0x3F RETURNDATASIZE ADD AND DUP3 ADD PUSH1 0x40 MSTORE RETURNDATASIZE DUP3 MSTORE RETURNDATASIZE PUSH1 0x0 PUSH1 0x20 DUP5 ADD RETURNDATACOPY PUSH3 0x92F JUMP JUMPDEST PUSH1 0x60 SWAP2 POP JUMPDEST POP SWAP2 POP SWAP2 POP DUP2 PUSH3 0x839 JUMPI DUP1 MLOAD ISZERO PUSH3 0x95E JUMPI DUP1 PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH3 0x253 SWAP2 SWAP1 PUSH3 0x1015 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH3 0x253 SWAP1 PUSH3 0x108E JUMP JUMPDEST POP POP JUMP JUMPDEST DUP2 EXTCODESIZE DUP2 DUP2 PUSH3 0x839 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH3 0x253 SWAP2 SWAP1 PUSH3 0x1015 JUMP JUMPDEST PUSH1 0x0 PUSH3 0x9AC PUSH3 0x317 JUMP JUMPDEST SWAP1 POP PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP4 AND PUSH3 0x9D7 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH3 0x253 SWAP1 PUSH3 0x111F JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP4 AND ADDRESS EQ ISZERO PUSH3 0xA03 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH3 0x253 SWAP1 PUSH3 0x126C JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xE0 SHL SUB NOT DUP3 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x20 DUP3 DUP2 MSTORE PUSH1 0x40 DUP1 DUP4 KECCAK256 SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP8 AND DUP5 MSTORE PUSH1 0x1 DUP6 ADD SWAP1 SWAP3 MSTORE SWAP1 SWAP2 KECCAK256 SLOAD PUSH1 0x1 PUSH1 0xA0 SHL SWAP1 SWAP2 DIV PUSH2 0xFFFF AND SWAP1 PUSH1 0x0 NOT ADD DUP1 DUP3 EQ PUSH3 0xB27 JUMPI PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP6 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x1 DUP5 ADD PUSH1 0x20 MSTORE PUSH1 0x40 DUP2 KECCAK256 DUP1 SLOAD DUP4 SWAP1 DUP2 LT PUSH3 0xA75 JUMPI INVALID JUMPDEST PUSH1 0x0 SWAP2 DUP3 MSTORE PUSH1 0x20 DUP1 DUP4 KECCAK256 PUSH1 0x8 DUP4 DIV ADD SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP11 AND DUP5 MSTORE PUSH1 0x1 DUP9 ADD SWAP1 SWAP2 MSTORE PUSH1 0x40 SWAP1 SWAP3 KECCAK256 DUP1 SLOAD PUSH1 0x7 SWAP1 SWAP3 AND PUSH1 0x4 MUL PUSH2 0x100 EXP SWAP1 SWAP3 DIV PUSH1 0xE0 SHL SWAP3 POP DUP3 SWAP2 SWAP1 DUP6 SWAP1 DUP2 LT PUSH3 0xAC1 JUMPI INVALID JUMPDEST PUSH1 0x0 SWAP2 DUP3 MSTORE PUSH1 0x20 DUP1 DUP4 KECCAK256 PUSH1 0x8 DUP4 DIV ADD DUP1 SLOAD PUSH4 0xFFFFFFFF PUSH1 0x7 SWAP1 SWAP5 AND PUSH1 0x4 MUL PUSH2 0x100 EXP SWAP4 DUP5 MUL NOT AND PUSH1 0xE0 SWAP6 SWAP1 SWAP6 SHR SWAP3 SWAP1 SWAP3 MUL SWAP4 SWAP1 SWAP4 OR SWAP1 SSTORE PUSH1 0x1 PUSH1 0x1 PUSH1 0xE0 SHL SUB NOT SWAP3 SWAP1 SWAP3 AND DUP3 MSTORE DUP5 SWAP1 MSTORE PUSH1 0x40 SWAP1 KECCAK256 DUP1 SLOAD PUSH2 0xFFFF PUSH1 0xA0 SHL NOT AND PUSH1 0x1 PUSH1 0xA0 SHL PUSH2 0xFFFF DUP6 AND MUL OR SWAP1 SSTORE JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP6 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x1 DUP5 ADD PUSH1 0x20 MSTORE PUSH1 0x40 SWAP1 KECCAK256 DUP1 SLOAD DUP1 PUSH3 0xB4B JUMPI INVALID JUMPDEST PUSH1 0x0 DUP3 DUP2 MSTORE PUSH1 0x20 DUP1 DUP3 KECCAK256 PUSH1 0x8 PUSH1 0x0 NOT SWAP1 SWAP5 ADD SWAP4 DUP5 DIV ADD DUP1 SLOAD PUSH4 0xFFFFFFFF PUSH1 0x4 PUSH1 0x7 DUP8 AND MUL PUSH2 0x100 EXP MUL NOT AND SWAP1 SSTORE SWAP2 SWAP1 SWAP3 SSTORE PUSH1 0x1 PUSH1 0x1 PUSH1 0xE0 SHL SUB NOT DUP7 AND DUP3 MSTORE DUP5 SWAP1 MSTORE PUSH1 0x40 SWAP1 KECCAK256 DUP1 SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xB0 SHL SUB NOT AND SWAP1 SSTORE DUP1 PUSH3 0x547 JUMPI PUSH1 0x2 DUP4 ADD SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP7 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x1 DUP6 DUP2 ADD PUSH1 0x20 MSTORE PUSH1 0x40 SWAP1 SWAP2 KECCAK256 ADD SLOAD PUSH1 0x0 NOT SWAP1 SWAP2 ADD SWAP1 PUSH2 0xFFFF AND DUP1 DUP3 EQ PUSH3 0xC63 JUMPI PUSH1 0x0 DUP6 PUSH1 0x2 ADD DUP4 DUP2 SLOAD DUP2 LT PUSH3 0xBEC JUMPI INVALID JUMPDEST PUSH1 0x0 SWAP2 DUP3 MSTORE PUSH1 0x20 SWAP1 SWAP2 KECCAK256 ADD SLOAD PUSH1 0x2 DUP8 ADD DUP1 SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 SWAP3 AND SWAP3 POP DUP3 SWAP2 DUP5 SWAP1 DUP2 LT PUSH3 0xC18 JUMPI INVALID JUMPDEST PUSH1 0x0 SWAP2 DUP3 MSTORE PUSH1 0x20 DUP1 DUP4 KECCAK256 SWAP2 SWAP1 SWAP2 ADD DUP1 SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB NOT AND PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP5 DUP6 AND OR SWAP1 SSTORE SWAP3 SWAP1 SWAP2 AND DUP2 MSTORE PUSH1 0x1 DUP8 DUP2 ADD SWAP1 SWAP3 MSTORE PUSH1 0x40 SWAP1 KECCAK256 ADD DUP1 SLOAD PUSH2 0xFFFF NOT AND PUSH2 0xFFFF DUP4 AND OR SWAP1 SSTORE JUMPDEST DUP5 PUSH1 0x2 ADD DUP1 SLOAD DUP1 PUSH3 0xC71 JUMPI INVALID JUMPDEST PUSH1 0x0 DUP3 DUP2 MSTORE PUSH1 0x20 DUP1 DUP3 KECCAK256 DUP4 ADD PUSH1 0x0 NOT SWAP1 DUP2 ADD DUP1 SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB NOT AND SWAP1 SSTORE SWAP1 SWAP3 ADD SWAP1 SWAP3 SSTORE PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP10 AND DUP3 MSTORE PUSH1 0x1 DUP8 DUP2 ADD SWAP1 SWAP2 MSTORE PUSH1 0x40 SWAP1 SWAP2 KECCAK256 ADD DUP1 SLOAD PUSH2 0xFFFF NOT AND SWAP1 SSTORE POP POP POP POP POP POP POP JUMP JUMPDEST DUP1 MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP2 AND DUP2 EQ PUSH3 0xCDB JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 DUP3 PUSH1 0x1F DUP4 ADD SLT PUSH3 0xCF1 JUMPI DUP1 DUP2 REVERT JUMPDEST DUP2 MLOAD PUSH1 0x20 PUSH3 0xD0A PUSH3 0xD04 DUP4 PUSH3 0x13F5 JUMP JUMPDEST PUSH3 0x13D1 JUMP JUMPDEST DUP3 DUP2 MSTORE DUP2 DUP2 ADD SWAP1 DUP6 DUP4 ADD DUP4 DUP6 MUL DUP8 ADD DUP5 ADD DUP9 LT ISZERO PUSH3 0xD27 JUMPI DUP6 DUP7 REVERT JUMPDEST DUP6 JUMPDEST DUP6 DUP2 LT ISZERO PUSH3 0xD5D JUMPI DUP2 MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xE0 SHL SUB NOT DUP2 AND DUP2 EQ PUSH3 0xD4A JUMPI DUP8 DUP9 REVERT JUMPDEST DUP5 MSTORE SWAP3 DUP5 ADD SWAP3 SWAP1 DUP5 ADD SWAP1 PUSH1 0x1 ADD PUSH3 0xD29 JUMP JUMPDEST POP SWAP1 SWAP8 SWAP7 POP POP POP POP POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH3 0xD7C JUMPI DUP1 DUP2 REVERT JUMPDEST PUSH1 0x40 MLOAD PUSH1 0x20 DUP2 ADD PUSH1 0x1 PUSH1 0x1 PUSH1 0x40 SHL SUB DUP2 GT DUP3 DUP3 LT OR ISZERO PUSH3 0xD99 JUMPI INVALID JUMPDEST PUSH1 0x40 MSTORE SWAP1 POP DUP1 PUSH3 0xDAA DUP4 PUSH3 0xCC3 JUMP JUMPDEST SWAP1 MSTORE SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x40 DUP4 DUP6 SUB SLT ISZERO PUSH3 0xDC5 JUMPI DUP2 DUP3 REVERT JUMPDEST DUP3 MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0x40 SHL SUB DUP1 DUP3 GT ISZERO PUSH3 0xDDC JUMPI DUP4 DUP5 REVERT JUMPDEST DUP2 DUP6 ADD SWAP2 POP DUP6 PUSH1 0x1F DUP4 ADD SLT PUSH3 0xDF0 JUMPI DUP4 DUP5 REVERT JUMPDEST DUP2 MLOAD PUSH1 0x20 PUSH3 0xE03 PUSH3 0xD04 DUP4 PUSH3 0x13F5 JUMP JUMPDEST DUP3 DUP2 MSTORE DUP2 DUP2 ADD SWAP1 DUP6 DUP4 ADD DUP9 JUMPDEST DUP6 DUP2 LT ISZERO PUSH3 0xEAA JUMPI DUP2 MLOAD DUP9 ADD PUSH1 0x60 DUP2 DUP15 SUB PUSH1 0x1F NOT ADD SLT ISZERO PUSH3 0xE30 JUMPI DUP11 DUP12 REVERT JUMPDEST PUSH1 0x40 MLOAD PUSH1 0x60 DUP2 ADD DUP2 DUP2 LT DUP11 DUP3 GT OR ISZERO PUSH3 0xE46 JUMPI INVALID JUMPDEST PUSH1 0x40 MSTORE PUSH3 0xE56 DUP3 DUP9 ADD PUSH3 0xCC3 JUMP JUMPDEST DUP2 MSTORE PUSH1 0x40 DUP3 ADD MLOAD PUSH1 0x3 DUP2 LT PUSH3 0xE6A JUMPI DUP13 DUP14 REVERT JUMPDEST DUP2 DUP9 ADD MSTORE PUSH1 0x60 DUP3 ADD MLOAD DUP10 DUP2 GT ISZERO PUSH3 0xE80 JUMPI DUP13 DUP14 REVERT JUMPDEST PUSH3 0xE90 DUP16 DUP10 DUP4 DUP7 ADD ADD PUSH3 0xCE0 JUMP JUMPDEST PUSH1 0x40 DUP4 ADD MSTORE POP DUP6 MSTORE POP SWAP3 DUP5 ADD SWAP3 SWAP1 DUP5 ADD SWAP1 PUSH1 0x1 ADD PUSH3 0xE0F JUMP JUMPDEST POP POP DUP1 SWAP8 POP POP POP PUSH3 0xEBF DUP9 DUP3 DUP10 ADD PUSH3 0xD6A JUMP JUMPDEST SWAP5 POP POP POP POP POP SWAP3 POP SWAP3 SWAP1 POP JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND SWAP1 MSTORE JUMP JUMPDEST PUSH1 0x0 DUP2 MLOAD DUP1 DUP5 MSTORE PUSH3 0xEF3 DUP2 PUSH1 0x20 DUP7 ADD PUSH1 0x20 DUP7 ADD PUSH3 0x1413 JUMP JUMPDEST PUSH1 0x1F ADD PUSH1 0x1F NOT AND SWAP3 SWAP1 SWAP3 ADD PUSH1 0x20 ADD SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP3 MLOAD PUSH3 0xF1B DUP2 DUP5 PUSH1 0x20 DUP8 ADD PUSH3 0x1413 JUMP JUMPDEST SWAP2 SWAP1 SWAP2 ADD SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x60 DUP1 DUP3 MSTORE DUP5 MLOAD DUP3 DUP3 ADD DUP2 SWAP1 MSTORE PUSH1 0x0 SWAP2 SWAP1 PUSH1 0x80 SWAP1 DUP2 DUP6 ADD SWAP1 PUSH1 0x20 DUP1 DUP3 MUL DUP8 ADD DUP5 ADD DUP2 DUP12 ADD DUP8 JUMPDEST DUP5 DUP2 LT ISZERO PUSH3 0xFE2 JUMPI DUP10 DUP4 SUB PUSH1 0x7F NOT ADD DUP7 MSTORE DUP2 MLOAD DUP1 MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND DUP5 MSTORE DUP5 DUP2 ADD MLOAD DUP10 DUP6 ADD SWAP1 PUSH1 0x3 DUP2 LT PUSH3 0xF7F JUMPI INVALID JUMPDEST DUP6 DUP8 ADD MSTORE PUSH1 0x40 SWAP2 DUP3 ADD MLOAD SWAP2 DUP6 ADD DUP11 SWAP1 MSTORE DUP2 MLOAD SWAP1 DUP2 SWAP1 MSTORE SWAP1 DUP6 ADD SWAP1 DUP11 SWAP1 DUP10 DUP7 ADD SWAP1 JUMPDEST DUP1 DUP4 LT ISZERO PUSH3 0xFCC JUMPI DUP4 MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xE0 SHL SUB NOT AND DUP3 MSTORE SWAP3 DUP8 ADD SWAP3 PUSH1 0x1 SWAP3 SWAP1 SWAP3 ADD SWAP2 SWAP1 DUP8 ADD SWAP1 PUSH3 0xFA0 JUMP JUMPDEST POP SWAP8 DUP7 ADD SWAP8 SWAP5 POP POP POP SWAP1 DUP4 ADD SWAP1 PUSH1 0x1 ADD PUSH3 0xF4B JUMP JUMPDEST POP POP PUSH3 0xFF2 DUP3 DUP10 ADD DUP12 PUSH3 0xECC JUMP JUMPDEST DUP8 DUP2 SUB PUSH1 0x40 DUP10 ADD MSTORE PUSH3 0x1006 DUP2 DUP11 PUSH3 0xED9 JUMP JUMPDEST SWAP12 SWAP11 POP POP POP POP POP POP POP POP POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 MSTORE PUSH3 0x102A PUSH1 0x20 DUP4 ADD DUP5 PUSH3 0xED9 JUMP JUMPDEST SWAP4 SWAP3 POP POP POP JUMP JUMPDEST PUSH1 0x20 DUP1 DUP3 MSTORE PUSH1 0x3C SWAP1 DUP3 ADD MSTORE PUSH32 0x4C69624469616D6F6E644375743A205F696E6974206973206164647265737328 PUSH1 0x40 DUP3 ADD MSTORE PUSH32 0x3029206275745F63616C6C64617461206973206E6F7420656D70747900000000 PUSH1 0x60 DUP3 ADD MSTORE PUSH1 0x80 ADD SWAP1 JUMP JUMPDEST PUSH1 0x20 DUP1 DUP3 MSTORE PUSH1 0x26 SWAP1 DUP3 ADD MSTORE PUSH32 0x4C69624469616D6F6E644375743A205F696E69742066756E6374696F6E207265 PUSH1 0x40 DUP3 ADD MSTORE PUSH6 0x1D995C9D1959 PUSH1 0xD2 SHL PUSH1 0x60 DUP3 ADD MSTORE PUSH1 0x80 ADD SWAP1 JUMP JUMPDEST PUSH1 0x20 DUP1 DUP3 MSTORE PUSH1 0x2B SWAP1 DUP3 ADD MSTORE PUSH32 0x4C69624469616D6F6E644375743A204E6F2073656C6563746F727320696E2066 PUSH1 0x40 DUP3 ADD MSTORE PUSH11 0x1858D95D081D1BC818DD5D PUSH1 0xAA SHL PUSH1 0x60 DUP3 ADD MSTORE PUSH1 0x80 ADD SWAP1 JUMP JUMPDEST PUSH1 0x20 DUP1 DUP3 MSTORE PUSH1 0x37 SWAP1 DUP3 ADD MSTORE PUSH32 0x4C69624469616D6F6E644375743A2043616E27742072656D6F76652066756E63 PUSH1 0x40 DUP3 ADD MSTORE PUSH32 0x74696F6E207468617420646F65736E2774206578697374000000000000000000 PUSH1 0x60 DUP3 ADD MSTORE PUSH1 0x80 ADD SWAP1 JUMP JUMPDEST PUSH1 0x20 DUP1 DUP3 MSTORE PUSH1 0x27 SWAP1 DUP3 ADD MSTORE PUSH32 0x4C69624469616D6F6E644375743A20496E636F72726563742046616365744375 PUSH1 0x40 DUP3 ADD MSTORE PUSH7 0x3A20B1BA34B7B7 PUSH1 0xC9 SHL PUSH1 0x60 DUP3 ADD MSTORE PUSH1 0x80 ADD SWAP1 JUMP JUMPDEST PUSH1 0x20 DUP1 DUP3 MSTORE PUSH1 0x2C SWAP1 DUP3 ADD MSTORE PUSH32 0x4C69624469616D6F6E644375743A204164642066616365742063616E27742062 PUSH1 0x40 DUP3 ADD MSTORE PUSH12 0x652061646472657373283029 PUSH1 0xA0 SHL PUSH1 0x60 DUP3 ADD MSTORE PUSH1 0x80 ADD SWAP1 JUMP JUMPDEST PUSH1 0x20 DUP1 DUP3 MSTORE PUSH1 0x3D SWAP1 DUP3 ADD MSTORE PUSH32 0x4C69624469616D6F6E644375743A205F63616C6C6461746120697320656D7074 PUSH1 0x40 DUP3 ADD MSTORE PUSH32 0x7920627574205F696E6974206973206E6F742061646472657373283029000000 PUSH1 0x60 DUP3 ADD MSTORE PUSH1 0x80 ADD SWAP1 JUMP JUMPDEST PUSH1 0x20 DUP1 DUP3 MSTORE PUSH1 0x2E SWAP1 DUP3 ADD MSTORE PUSH32 0x4C69624469616D6F6E644375743A2043616E27742072656D6F766520696D6D75 PUSH1 0x40 DUP3 ADD MSTORE PUSH14 0x3A30B1363290333AB731BA34B7B7 PUSH1 0x91 SHL PUSH1 0x60 DUP3 ADD MSTORE PUSH1 0x80 ADD SWAP1 JUMP JUMPDEST PUSH1 0x20 DUP1 DUP3 MSTORE PUSH1 0x35 SWAP1 DUP3 ADD MSTORE PUSH32 0x4C69624469616D6F6E644375743A2043616E2774206164642066756E6374696F PUSH1 0x40 DUP3 ADD MSTORE PUSH32 0x6E207468617420616C7265616479206578697374730000000000000000000000 PUSH1 0x60 DUP3 ADD MSTORE PUSH1 0x80 ADD SWAP1 JUMP JUMPDEST PUSH1 0x20 DUP1 DUP3 MSTORE PUSH1 0x38 SWAP1 DUP3 ADD MSTORE PUSH32 0x4C69624469616D6F6E644375743A2043616E2774207265706C6163652066756E PUSH1 0x40 DUP3 ADD MSTORE PUSH32 0x6374696F6E20776974682073616D652066756E6374696F6E0000000000000000 PUSH1 0x60 DUP3 ADD MSTORE PUSH1 0x80 ADD SWAP1 JUMP JUMPDEST PUSH1 0x20 DUP1 DUP3 MSTORE PUSH1 0x36 SWAP1 DUP3 ADD MSTORE PUSH32 0x4C69624469616D6F6E644375743A2052656D6F76652066616365742061646472 PUSH1 0x40 DUP3 ADD MSTORE PUSH32 0x657373206D757374206265206164647265737328302900000000000000000000 PUSH1 0x60 DUP3 ADD MSTORE PUSH1 0x80 ADD SWAP1 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP2 DUP2 ADD PUSH1 0x1 PUSH1 0x1 PUSH1 0x40 SHL SUB DUP2 GT DUP3 DUP3 LT OR ISZERO PUSH3 0x13ED JUMPI INVALID JUMPDEST PUSH1 0x40 MSTORE SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x1 PUSH1 0x1 PUSH1 0x40 SHL SUB DUP3 GT ISZERO PUSH3 0x1409 JUMPI INVALID JUMPDEST POP PUSH1 0x20 SWAP1 DUP2 MUL ADD SWAP1 JUMP JUMPDEST PUSH1 0x0 JUMPDEST DUP4 DUP2 LT ISZERO PUSH3 0x1430 JUMPI DUP2 DUP2 ADD MLOAD DUP4 DUP3 ADD MSTORE PUSH1 0x20 ADD PUSH3 0x1416 JUMP JUMPDEST DUP4 DUP2 GT ISZERO PUSH3 0x839 JUMPI POP POP PUSH1 0x0 SWAP2 ADD MSTORE JUMP JUMPDEST PUSH2 0x18A7 DUP1 PUSH3 0x1452 PUSH1 0x0 CODECOPY PUSH1 0x0 RETURN INVALID PUSH1 0x80 PUSH1 0x40 MSTORE CALLDATASIZE PUSH2 0xB JUMPI STOP JUMPDEST PUSH1 0x0 DUP1 CALLDATALOAD PUSH32 0xFFFFFFFF00000000000000000000000000000000000000000000000000000000 AND DUP2 MSTORE PUSH32 0xC8FCAD8DB84D3CC18B4C41D551EA0EE66DD599CDE068D998E57D5E09332C131C PUSH1 0x20 DUP2 SWAP1 MSTORE PUSH1 0x40 SWAP1 SWAP2 KECCAK256 SLOAD DUP2 SWAP1 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP1 PUSH2 0xB7 JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0xAE SWAP1 PUSH2 0x15F3 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST CALLDATASIZE PUSH1 0x0 DUP1 CALLDATACOPY PUSH1 0x0 DUP1 CALLDATASIZE PUSH1 0x0 DUP5 GAS DELEGATECALL RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY DUP1 DUP1 ISZERO PUSH2 0xD6 JUMPI RETURNDATASIZE PUSH1 0x0 RETURN JUMPDEST RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST PUSH1 0x0 JUMPDEST DUP4 MLOAD DUP2 LT ISZERO PUSH2 0x232 JUMPI PUSH1 0x0 DUP5 DUP3 DUP2 MLOAD DUP2 LT PUSH2 0xF5 JUMPI INVALID JUMPDEST PUSH1 0x20 MUL PUSH1 0x20 ADD ADD MLOAD PUSH1 0x20 ADD MLOAD SWAP1 POP PUSH1 0x0 PUSH1 0x2 DUP2 GT ISZERO PUSH2 0x110 JUMPI INVALID JUMPDEST DUP2 PUSH1 0x2 DUP2 GT ISZERO PUSH2 0x11C JUMPI INVALID JUMPDEST EQ ISZERO PUSH2 0x15F JUMPI PUSH2 0x15A DUP6 DUP4 DUP2 MLOAD DUP2 LT PUSH2 0x131 JUMPI INVALID JUMPDEST PUSH1 0x20 MUL PUSH1 0x20 ADD ADD MLOAD PUSH1 0x0 ADD MLOAD DUP7 DUP5 DUP2 MLOAD DUP2 LT PUSH2 0x149 JUMPI INVALID JUMPDEST PUSH1 0x20 MUL PUSH1 0x20 ADD ADD MLOAD PUSH1 0x40 ADD MLOAD PUSH2 0x326 JUMP JUMPDEST PUSH2 0x229 JUMP JUMPDEST PUSH1 0x1 DUP2 PUSH1 0x2 DUP2 GT ISZERO PUSH2 0x16D JUMPI INVALID JUMPDEST EQ ISZERO PUSH2 0x1AB JUMPI PUSH2 0x15A DUP6 DUP4 DUP2 MLOAD DUP2 LT PUSH2 0x182 JUMPI INVALID JUMPDEST PUSH1 0x20 MUL PUSH1 0x20 ADD ADD MLOAD PUSH1 0x0 ADD MLOAD DUP7 DUP5 DUP2 MLOAD DUP2 LT PUSH2 0x19A JUMPI INVALID JUMPDEST PUSH1 0x20 MUL PUSH1 0x20 ADD ADD MLOAD PUSH1 0x40 ADD MLOAD PUSH2 0x65E JUMP JUMPDEST PUSH1 0x2 DUP2 PUSH1 0x2 DUP2 GT ISZERO PUSH2 0x1B9 JUMPI INVALID JUMPDEST EQ ISZERO PUSH2 0x1F7 JUMPI PUSH2 0x15A DUP6 DUP4 DUP2 MLOAD DUP2 LT PUSH2 0x1CE JUMPI INVALID JUMPDEST PUSH1 0x20 MUL PUSH1 0x20 ADD ADD MLOAD PUSH1 0x0 ADD MLOAD DUP7 DUP5 DUP2 MLOAD DUP2 LT PUSH2 0x1E6 JUMPI INVALID JUMPDEST PUSH1 0x20 MUL PUSH1 0x20 ADD ADD MLOAD PUSH1 0x40 ADD MLOAD PUSH2 0x9AB JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0xAE SWAP1 PUSH2 0x1539 JUMP JUMPDEST POP PUSH1 0x1 ADD PUSH2 0xDE JUMP JUMPDEST POP PUSH32 0x8FAA70878671CCD212D20771B795C50AF8FD3FF6CF27F4BDE57E5D4DE0AEB673 DUP4 DUP4 DUP4 PUSH1 0x40 MLOAD PUSH2 0x266 SWAP4 SWAP3 SWAP2 SWAP1 PUSH2 0x1282 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 LOG1 PUSH2 0x278 DUP3 DUP3 PUSH2 0xACB JUMP JUMPDEST POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x287 PUSH2 0x302 JUMP JUMPDEST PUSH1 0x4 DUP2 ADD DUP1 SLOAD PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP6 DUP2 AND PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFF0000000000000000000000000000000000000000 DUP4 AND DUP2 OR SWAP1 SWAP4 SSTORE PUSH1 0x40 MLOAD SWAP4 SWAP5 POP AND SWAP2 DUP3 SWAP1 PUSH32 0x8BE0079C531659141344CD1FD0A4F28419497F9722A3DAAFE3B4186F6B6457E0 SWAP1 PUSH1 0x0 SWAP1 LOG3 POP POP POP JUMP JUMPDEST PUSH32 0xC8FCAD8DB84D3CC18B4C41D551EA0EE66DD599CDE068D998E57D5E09332C131C SWAP1 JUMP JUMPDEST PUSH1 0x0 DUP2 MLOAD GT PUSH2 0x361 JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0xAE SWAP1 PUSH2 0x147F JUMP JUMPDEST PUSH1 0x0 PUSH2 0x36B PUSH2 0x302 JUMP JUMPDEST SWAP1 POP PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP4 AND PUSH2 0x3BA JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0xAE SWAP1 PUSH2 0x1596 JUMP JUMPDEST PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP4 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x1 DUP3 ADD PUSH1 0x20 MSTORE PUSH1 0x40 SWAP1 KECCAK256 SLOAD PUSH2 0xFFFF DUP2 AND PUSH2 0x4AB JUMPI PUSH2 0x40D DUP5 PUSH1 0x40 MLOAD DUP1 PUSH1 0x60 ADD PUSH1 0x40 MSTORE DUP1 PUSH1 0x24 DUP2 MSTORE PUSH1 0x20 ADD PUSH2 0x184E PUSH1 0x24 SWAP2 CODECOPY PUSH2 0xC81 JUMP JUMPDEST PUSH1 0x2 DUP3 ADD DUP1 SLOAD PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP7 AND PUSH1 0x0 DUP2 DUP2 MSTORE PUSH1 0x1 DUP1 DUP8 ADD PUSH1 0x20 SWAP1 DUP2 MSTORE PUSH1 0x40 DUP4 KECCAK256 DUP3 ADD DUP1 SLOAD PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF0000 AND PUSH2 0xFFFF SWAP1 SWAP7 AND SWAP6 SWAP1 SWAP6 OR SWAP1 SWAP5 SSTORE DUP5 SLOAD SWAP1 DUP2 ADD DUP6 SSTORE SWAP4 DUP2 MSTORE SWAP2 SWAP1 SWAP2 KECCAK256 SWAP1 SWAP2 ADD DUP1 SLOAD PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFF0000000000000000000000000000000000000000 AND SWAP1 SWAP2 OR SWAP1 SSTORE JUMPDEST PUSH1 0x0 JUMPDEST DUP4 MLOAD DUP2 LT ISZERO PUSH2 0x657 JUMPI PUSH1 0x0 DUP5 DUP3 DUP2 MLOAD DUP2 LT PUSH2 0x4C5 JUMPI INVALID JUMPDEST PUSH1 0x20 SWAP1 DUP2 MUL SWAP2 SWAP1 SWAP2 ADD DUP2 ADD MLOAD PUSH32 0xFFFFFFFF00000000000000000000000000000000000000000000000000000000 DUP2 AND PUSH1 0x0 SWAP1 DUP2 MSTORE SWAP2 DUP7 SWAP1 MSTORE PUSH1 0x40 SWAP1 SWAP2 KECCAK256 SLOAD SWAP1 SWAP2 POP PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP1 ISZERO PUSH2 0x554 JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0xAE SWAP1 PUSH2 0x16E2 JUMP JUMPDEST POP PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP7 AND PUSH1 0x0 DUP2 DUP2 MSTORE PUSH1 0x1 DUP7 DUP2 ADD PUSH1 0x20 SWAP1 DUP2 MSTORE PUSH1 0x40 DUP1 DUP5 KECCAK256 DUP1 SLOAD DUP1 DUP6 ADD DUP3 SSTORE SWAP1 DUP6 MSTORE DUP3 DUP6 KECCAK256 PUSH1 0x8 DUP3 DIV ADD DUP1 SLOAD PUSH4 0xFFFFFFFF PUSH1 0x7 SWAP1 SWAP4 AND PUSH1 0x4 MUL PUSH2 0x100 EXP SWAP3 DUP4 MUL NOT AND PUSH1 0xE0 DUP10 SWAP1 SHR SWAP3 SWAP1 SWAP3 MUL SWAP2 SWAP1 SWAP2 OR SWAP1 SSTORE PUSH32 0xFFFFFFFF00000000000000000000000000000000000000000000000000000000 SWAP1 SWAP6 AND DUP4 MSTORE DUP8 SWAP1 MSTORE SWAP3 SWAP1 KECCAK256 DUP1 SLOAD PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFF0000000000000000000000000000000000000000 AND SWAP1 SWAP2 OR PUSH32 0xFFFFFFFFFFFFFFFFFFFF0000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH21 0x10000000000000000000000000000000000000000 PUSH2 0xFFFF DUP7 AND MUL OR SWAP1 SSTORE SWAP2 DUP3 ADD SWAP2 ADD PUSH2 0x4AE JUMP JUMPDEST POP POP POP POP POP JUMP JUMPDEST PUSH1 0x0 DUP2 MLOAD GT PUSH2 0x699 JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0xAE SWAP1 PUSH2 0x147F JUMP JUMPDEST PUSH1 0x0 PUSH2 0x6A3 PUSH2 0x302 JUMP JUMPDEST SWAP1 POP PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP4 AND PUSH2 0x6F2 JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0xAE SWAP1 PUSH2 0x1596 JUMP JUMPDEST PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP4 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x1 DUP3 ADD PUSH1 0x20 MSTORE PUSH1 0x40 SWAP1 KECCAK256 SLOAD PUSH2 0xFFFF DUP2 AND PUSH2 0x7E3 JUMPI PUSH2 0x745 DUP5 PUSH1 0x40 MLOAD DUP1 PUSH1 0x60 ADD PUSH1 0x40 MSTORE DUP1 PUSH1 0x24 DUP2 MSTORE PUSH1 0x20 ADD PUSH2 0x184E PUSH1 0x24 SWAP2 CODECOPY PUSH2 0xC81 JUMP JUMPDEST PUSH1 0x2 DUP3 ADD DUP1 SLOAD PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP7 AND PUSH1 0x0 DUP2 DUP2 MSTORE PUSH1 0x1 DUP1 DUP8 ADD PUSH1 0x20 SWAP1 DUP2 MSTORE PUSH1 0x40 DUP4 KECCAK256 DUP3 ADD DUP1 SLOAD PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF0000 AND PUSH2 0xFFFF SWAP1 SWAP7 AND SWAP6 SWAP1 SWAP6 OR SWAP1 SWAP5 SSTORE DUP5 SLOAD SWAP1 DUP2 ADD DUP6 SSTORE SWAP4 DUP2 MSTORE SWAP2 SWAP1 SWAP2 KECCAK256 SWAP1 SWAP2 ADD DUP1 SLOAD PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFF0000000000000000000000000000000000000000 AND SWAP1 SWAP2 OR SWAP1 SSTORE JUMPDEST PUSH1 0x0 JUMPDEST DUP4 MLOAD DUP2 LT ISZERO PUSH2 0x657 JUMPI PUSH1 0x0 DUP5 DUP3 DUP2 MLOAD DUP2 LT PUSH2 0x7FD JUMPI INVALID JUMPDEST PUSH1 0x20 SWAP1 DUP2 MUL SWAP2 SWAP1 SWAP2 ADD DUP2 ADD MLOAD PUSH32 0xFFFFFFFF00000000000000000000000000000000000000000000000000000000 DUP2 AND PUSH1 0x0 SWAP1 DUP2 MSTORE SWAP2 DUP7 SWAP1 MSTORE PUSH1 0x40 SWAP1 SWAP2 KECCAK256 SLOAD SWAP1 SWAP2 POP PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF SWAP1 DUP2 AND SWAP1 DUP8 AND DUP2 EQ ISZERO PUSH2 0x892 JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0xAE SWAP1 PUSH2 0x173F JUMP JUMPDEST PUSH2 0x89C DUP2 DUP4 PUSH2 0xCBC JUMP JUMPDEST POP PUSH32 0xFFFFFFFF00000000000000000000000000000000000000000000000000000000 DUP2 AND PUSH1 0x0 DUP2 DUP2 MSTORE PUSH1 0x20 DUP7 DUP2 MSTORE PUSH1 0x40 DUP1 DUP4 KECCAK256 DUP1 SLOAD PUSH32 0xFFFFFFFFFFFFFFFFFFFF0000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH21 0x10000000000000000000000000000000000000000 PUSH2 0xFFFF DUP11 AND MUL OR DUP2 SSTORE PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP12 AND DUP1 DUP6 MSTORE PUSH1 0x1 DUP1 DUP12 ADD DUP6 MSTORE SWAP3 DUP6 KECCAK256 DUP1 SLOAD DUP1 DUP6 ADD DUP3 SSTORE SWAP1 DUP7 MSTORE DUP5 DUP7 KECCAK256 PUSH1 0x8 DUP3 DIV ADD DUP1 SLOAD PUSH4 0xFFFFFFFF PUSH1 0x7 SWAP1 SWAP4 AND PUSH1 0x4 MUL PUSH2 0x100 EXP SWAP3 DUP4 MUL NOT AND PUSH1 0xE0 SWAP10 SWAP1 SWAP10 SHR SWAP2 SWAP1 SWAP2 MUL SWAP8 SWAP1 SWAP8 OR SWAP1 SWAP7 SSTORE SWAP4 SWAP1 SWAP3 MSTORE DUP7 SWAP1 MSTORE DUP2 SLOAD PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFF0000000000000000000000000000000000000000 AND SWAP1 SWAP3 OR SWAP1 SSTORE SWAP2 DUP3 ADD SWAP2 ADD PUSH2 0x7E6 JUMP JUMPDEST PUSH1 0x0 DUP2 MLOAD GT PUSH2 0x9E6 JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0xAE SWAP1 PUSH2 0x147F JUMP JUMPDEST PUSH1 0x0 PUSH2 0x9F0 PUSH2 0x302 JUMP JUMPDEST SWAP1 POP PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP4 AND ISZERO PUSH2 0xA40 JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0xAE SWAP1 PUSH2 0x179C JUMP JUMPDEST PUSH1 0x0 JUMPDEST DUP3 MLOAD DUP2 LT ISZERO PUSH2 0xAC5 JUMPI PUSH1 0x0 DUP4 DUP3 DUP2 MLOAD DUP2 LT PUSH2 0xA5A JUMPI INVALID JUMPDEST PUSH1 0x20 SWAP1 DUP2 MUL SWAP2 SWAP1 SWAP2 ADD DUP2 ADD MLOAD PUSH32 0xFFFFFFFF00000000000000000000000000000000000000000000000000000000 DUP2 AND PUSH1 0x0 SWAP1 DUP2 MSTORE SWAP2 DUP6 SWAP1 MSTORE PUSH1 0x40 SWAP1 SWAP2 KECCAK256 SLOAD SWAP1 SWAP2 POP PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH2 0xABB DUP2 DUP4 PUSH2 0xCBC JUMP JUMPDEST POP POP PUSH1 0x1 ADD PUSH2 0xA43 JUMP JUMPDEST POP POP POP POP JUMP JUMPDEST PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP3 AND PUSH2 0xB24 JUMPI DUP1 MLOAD ISZERO PUSH2 0xB1F JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0xAE SWAP1 PUSH2 0x13C5 JUMP JUMPDEST PUSH2 0xC7D JUMP JUMPDEST PUSH1 0x0 DUP2 MLOAD GT PUSH2 0xB5F JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0xAE SWAP1 PUSH2 0x1628 JUMP JUMPDEST PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP3 AND ADDRESS EQ PUSH2 0xB9E JUMPI PUSH2 0xB9E DUP3 PUSH1 0x40 MLOAD DUP1 PUSH1 0x60 ADD PUSH1 0x40 MSTORE DUP1 PUSH1 0x28 DUP2 MSTORE PUSH1 0x20 ADD PUSH2 0x1826 PUSH1 0x28 SWAP2 CODECOPY PUSH2 0xC81 JUMP JUMPDEST PUSH1 0x0 DUP1 DUP4 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP4 PUSH1 0x40 MLOAD PUSH2 0xBC6 SWAP2 SWAP1 PUSH2 0x1266 JUMP JUMPDEST PUSH1 0x0 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP6 GAS DELEGATECALL SWAP2 POP POP RETURNDATASIZE DUP1 PUSH1 0x0 DUP2 EQ PUSH2 0xC01 JUMPI PUSH1 0x40 MLOAD SWAP2 POP PUSH1 0x1F NOT PUSH1 0x3F RETURNDATASIZE ADD AND DUP3 ADD PUSH1 0x40 MSTORE RETURNDATASIZE DUP3 MSTORE RETURNDATASIZE PUSH1 0x0 PUSH1 0x20 DUP5 ADD RETURNDATACOPY PUSH2 0xC06 JUMP JUMPDEST PUSH1 0x60 SWAP2 POP JUMPDEST POP SWAP2 POP SWAP2 POP DUP2 PUSH2 0xAC5 JUMPI DUP1 MLOAD ISZERO PUSH2 0xC4B JUMPI DUP1 PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0xAE SWAP2 SWAP1 PUSH2 0x13AB JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0xAE SWAP1 PUSH2 0x1422 JUMP JUMPDEST POP POP JUMP JUMPDEST DUP2 EXTCODESIZE DUP2 DUP2 PUSH2 0xAC5 JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0xAE SWAP2 SWAP1 PUSH2 0x13AB JUMP JUMPDEST PUSH1 0x0 PUSH2 0xCC6 PUSH2 0x302 JUMP JUMPDEST SWAP1 POP PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP4 AND PUSH2 0xD15 JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0xAE SWAP1 PUSH2 0x14DC JUMP JUMPDEST PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP4 AND ADDRESS EQ ISZERO PUSH2 0xD65 JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0xAE SWAP1 PUSH2 0x1685 JUMP JUMPDEST PUSH32 0xFFFFFFFF00000000000000000000000000000000000000000000000000000000 DUP3 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x20 DUP3 DUP2 MSTORE PUSH1 0x40 DUP1 DUP4 KECCAK256 SLOAD PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP8 AND DUP5 MSTORE PUSH1 0x1 DUP6 ADD SWAP1 SWAP3 MSTORE SWAP1 SWAP2 KECCAK256 SLOAD PUSH21 0x10000000000000000000000000000000000000000 SWAP1 SWAP2 DIV PUSH2 0xFFFF AND SWAP1 PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF ADD DUP1 DUP3 EQ PUSH2 0xF37 JUMPI PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP6 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x1 DUP5 ADD PUSH1 0x20 MSTORE PUSH1 0x40 DUP2 KECCAK256 DUP1 SLOAD DUP4 SWAP1 DUP2 LT PUSH2 0xE36 JUMPI INVALID JUMPDEST PUSH1 0x0 SWAP2 DUP3 MSTORE PUSH1 0x20 DUP1 DUP4 KECCAK256 PUSH1 0x8 DUP4 DIV ADD SLOAD PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP11 AND DUP5 MSTORE PUSH1 0x1 DUP9 ADD SWAP1 SWAP2 MSTORE PUSH1 0x40 SWAP1 SWAP3 KECCAK256 DUP1 SLOAD PUSH1 0x7 SWAP1 SWAP3 AND PUSH1 0x4 MUL PUSH2 0x100 EXP SWAP1 SWAP3 DIV PUSH1 0xE0 SHL SWAP3 POP DUP3 SWAP2 SWAP1 DUP6 SWAP1 DUP2 LT PUSH2 0xE8E JUMPI INVALID JUMPDEST PUSH1 0x0 SWAP2 DUP3 MSTORE PUSH1 0x20 DUP1 DUP4 KECCAK256 PUSH1 0x8 DUP4 DIV ADD DUP1 SLOAD PUSH4 0xFFFFFFFF PUSH1 0x7 SWAP1 SWAP5 AND PUSH1 0x4 MUL PUSH2 0x100 EXP SWAP4 DUP5 MUL NOT AND PUSH1 0xE0 SWAP6 SWAP1 SWAP6 SHR SWAP3 SWAP1 SWAP3 MUL SWAP4 SWAP1 SWAP4 OR SWAP1 SSTORE PUSH32 0xFFFFFFFF00000000000000000000000000000000000000000000000000000000 SWAP3 SWAP1 SWAP3 AND DUP3 MSTORE DUP5 SWAP1 MSTORE PUSH1 0x40 SWAP1 KECCAK256 DUP1 SLOAD PUSH32 0xFFFFFFFFFFFFFFFFFFFF0000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH21 0x10000000000000000000000000000000000000000 PUSH2 0xFFFF DUP6 AND MUL OR SWAP1 SSTORE JUMPDEST PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP6 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x1 DUP5 ADD PUSH1 0x20 MSTORE PUSH1 0x40 SWAP1 KECCAK256 DUP1 SLOAD DUP1 PUSH2 0xF67 JUMPI INVALID JUMPDEST PUSH1 0x0 DUP3 DUP2 MSTORE PUSH1 0x20 DUP1 DUP3 KECCAK256 PUSH1 0x8 PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF SWAP1 SWAP5 ADD SWAP4 DUP5 DIV ADD DUP1 SLOAD PUSH4 0xFFFFFFFF PUSH1 0x4 PUSH1 0x7 DUP8 AND MUL PUSH2 0x100 EXP MUL NOT AND SWAP1 SSTORE SWAP2 SWAP1 SWAP3 SSTORE PUSH32 0xFFFFFFFF00000000000000000000000000000000000000000000000000000000 DUP7 AND DUP3 MSTORE DUP5 SWAP1 MSTORE PUSH1 0x40 SWAP1 KECCAK256 DUP1 SLOAD PUSH32 0xFFFFFFFFFFFFFFFFFFFF00000000000000000000000000000000000000000000 AND SWAP1 SSTORE DUP1 PUSH2 0x657 JUMPI PUSH1 0x2 DUP4 ADD SLOAD PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP7 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x1 DUP6 DUP2 ADD PUSH1 0x20 MSTORE PUSH1 0x40 SWAP1 SWAP2 KECCAK256 ADD SLOAD PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF SWAP1 SWAP2 ADD SWAP1 PUSH2 0xFFFF AND DUP1 DUP3 EQ PUSH2 0x1143 JUMPI PUSH1 0x0 DUP6 PUSH1 0x2 ADD DUP4 DUP2 SLOAD DUP2 LT PUSH2 0x107E JUMPI INVALID JUMPDEST PUSH1 0x0 SWAP2 DUP3 MSTORE PUSH1 0x20 SWAP1 SWAP2 KECCAK256 ADD SLOAD PUSH1 0x2 DUP8 ADD DUP1 SLOAD PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF SWAP1 SWAP3 AND SWAP3 POP DUP3 SWAP2 DUP5 SWAP1 DUP2 LT PUSH2 0x10B6 JUMPI INVALID JUMPDEST PUSH1 0x0 SWAP2 DUP3 MSTORE PUSH1 0x20 DUP1 DUP4 KECCAK256 SWAP2 SWAP1 SWAP2 ADD DUP1 SLOAD PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFF0000000000000000000000000000000000000000 AND PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF SWAP5 DUP6 AND OR SWAP1 SSTORE SWAP3 SWAP1 SWAP2 AND DUP2 MSTORE PUSH1 0x1 DUP8 DUP2 ADD SWAP1 SWAP3 MSTORE PUSH1 0x40 SWAP1 KECCAK256 ADD DUP1 SLOAD PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF0000 AND PUSH2 0xFFFF DUP4 AND OR SWAP1 SSTORE JUMPDEST DUP5 PUSH1 0x2 ADD DUP1 SLOAD DUP1 PUSH2 0x1150 JUMPI INVALID JUMPDEST PUSH1 0x0 DUP3 DUP2 MSTORE PUSH1 0x20 DUP1 DUP3 KECCAK256 DUP4 ADD PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF SWAP1 DUP2 ADD DUP1 SLOAD PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFF0000000000000000000000000000000000000000 AND SWAP1 SSTORE SWAP1 SWAP3 ADD SWAP1 SWAP3 SSTORE PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP10 AND DUP3 MSTORE PUSH1 0x1 DUP8 DUP2 ADD SWAP1 SWAP2 MSTORE PUSH1 0x40 SWAP1 SWAP2 KECCAK256 ADD DUP1 SLOAD PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF0000 AND SWAP1 SSTORE POP POP POP POP POP POP POP JUMP JUMPDEST PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND SWAP1 MSTORE JUMP JUMPDEST PUSH1 0x0 DUP2 MLOAD DUP1 DUP5 MSTORE PUSH2 0x1234 DUP2 PUSH1 0x20 DUP7 ADD PUSH1 0x20 DUP7 ADD PUSH2 0x17F9 JUMP JUMPDEST PUSH1 0x1F ADD PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFE0 AND SWAP3 SWAP1 SWAP3 ADD PUSH1 0x20 ADD SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP3 MLOAD PUSH2 0x1278 DUP2 DUP5 PUSH1 0x20 DUP8 ADD PUSH2 0x17F9 JUMP JUMPDEST SWAP2 SWAP1 SWAP2 ADD SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x60 DUP1 DUP3 MSTORE DUP5 MLOAD DUP3 DUP3 ADD DUP2 SWAP1 MSTORE PUSH1 0x0 SWAP2 SWAP1 PUSH1 0x80 SWAP1 DUP2 DUP6 ADD SWAP1 PUSH1 0x20 DUP1 DUP3 MUL DUP8 ADD DUP5 ADD DUP2 DUP12 ADD DUP8 JUMPDEST DUP5 DUP2 LT ISZERO PUSH2 0x137C JUMPI PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF80 DUP11 DUP5 SUB ADD DUP7 MSTORE DUP2 MLOAD DUP9 DUP5 ADD PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP3 MLOAD AND DUP6 MSTORE DUP6 DUP3 ADD MLOAD PUSH1 0x3 DUP2 LT PUSH2 0x1304 JUMPI INVALID JUMPDEST DUP6 DUP8 ADD MSTORE PUSH1 0x40 SWAP2 DUP3 ADD MLOAD SWAP2 DUP6 ADD DUP11 SWAP1 MSTORE DUP2 MLOAD SWAP1 DUP2 SWAP1 MSTORE SWAP1 DUP6 ADD SWAP1 DUP11 SWAP1 DUP10 DUP7 ADD SWAP1 JUMPDEST DUP1 DUP4 LT ISZERO PUSH2 0x1367 JUMPI DUP4 MLOAD PUSH32 0xFFFFFFFF00000000000000000000000000000000000000000000000000000000 AND DUP3 MSTORE SWAP3 DUP8 ADD SWAP3 PUSH1 0x1 SWAP3 SWAP1 SWAP3 ADD SWAP2 SWAP1 DUP8 ADD SWAP1 PUSH2 0x1325 JUMP JUMPDEST POP SWAP8 DUP7 ADD SWAP8 SWAP5 POP POP POP SWAP1 DUP4 ADD SWAP1 PUSH1 0x1 ADD PUSH2 0x12A8 JUMP JUMPDEST POP POP PUSH2 0x138A DUP3 DUP10 ADD DUP12 PUSH2 0x1202 JUMP JUMPDEST DUP8 DUP2 SUB PUSH1 0x40 DUP10 ADD MSTORE PUSH2 0x139C DUP2 DUP11 PUSH2 0x121C JUMP JUMPDEST SWAP12 SWAP11 POP POP POP POP POP POP POP POP POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 MSTORE PUSH2 0x13BE PUSH1 0x20 DUP4 ADD DUP5 PUSH2 0x121C JUMP JUMPDEST SWAP4 SWAP3 POP POP POP JUMP JUMPDEST PUSH1 0x20 DUP1 DUP3 MSTORE PUSH1 0x3C SWAP1 DUP3 ADD MSTORE PUSH32 0x4C69624469616D6F6E644375743A205F696E6974206973206164647265737328 PUSH1 0x40 DUP3 ADD MSTORE PUSH32 0x3029206275745F63616C6C64617461206973206E6F7420656D70747900000000 PUSH1 0x60 DUP3 ADD MSTORE PUSH1 0x80 ADD SWAP1 JUMP JUMPDEST PUSH1 0x20 DUP1 DUP3 MSTORE PUSH1 0x26 SWAP1 DUP3 ADD MSTORE PUSH32 0x4C69624469616D6F6E644375743A205F696E69742066756E6374696F6E207265 PUSH1 0x40 DUP3 ADD MSTORE PUSH32 0x7665727465640000000000000000000000000000000000000000000000000000 PUSH1 0x60 DUP3 ADD MSTORE PUSH1 0x80 ADD SWAP1 JUMP JUMPDEST PUSH1 0x20 DUP1 DUP3 MSTORE PUSH1 0x2B SWAP1 DUP3 ADD MSTORE PUSH32 0x4C69624469616D6F6E644375743A204E6F2073656C6563746F727320696E2066 PUSH1 0x40 DUP3 ADD MSTORE PUSH32 0x6163657420746F20637574000000000000000000000000000000000000000000 PUSH1 0x60 DUP3 ADD MSTORE PUSH1 0x80 ADD SWAP1 JUMP JUMPDEST PUSH1 0x20 DUP1 DUP3 MSTORE PUSH1 0x37 SWAP1 DUP3 ADD MSTORE PUSH32 0x4C69624469616D6F6E644375743A2043616E27742072656D6F76652066756E63 PUSH1 0x40 DUP3 ADD MSTORE PUSH32 0x74696F6E207468617420646F65736E2774206578697374000000000000000000 PUSH1 0x60 DUP3 ADD MSTORE PUSH1 0x80 ADD SWAP1 JUMP JUMPDEST PUSH1 0x20 DUP1 DUP3 MSTORE PUSH1 0x27 SWAP1 DUP3 ADD MSTORE PUSH32 0x4C69624469616D6F6E644375743A20496E636F72726563742046616365744375 PUSH1 0x40 DUP3 ADD MSTORE PUSH32 0x74416374696F6E00000000000000000000000000000000000000000000000000 PUSH1 0x60 DUP3 ADD MSTORE PUSH1 0x80 ADD SWAP1 JUMP JUMPDEST PUSH1 0x20 DUP1 DUP3 MSTORE PUSH1 0x2C SWAP1 DUP3 ADD MSTORE PUSH32 0x4C69624469616D6F6E644375743A204164642066616365742063616E27742062 PUSH1 0x40 DUP3 ADD MSTORE PUSH32 0x6520616464726573732830290000000000000000000000000000000000000000 PUSH1 0x60 DUP3 ADD MSTORE PUSH1 0x80 ADD SWAP1 JUMP JUMPDEST PUSH1 0x20 DUP1 DUP3 MSTORE DUP2 DUP2 ADD MSTORE PUSH32 0x4469616D6F6E643A2046756E6374696F6E20646F6573206E6F74206578697374 PUSH1 0x40 DUP3 ADD MSTORE PUSH1 0x60 ADD SWAP1 JUMP JUMPDEST PUSH1 0x20 DUP1 DUP3 MSTORE PUSH1 0x3D SWAP1 DUP3 ADD MSTORE PUSH32 0x4C69624469616D6F6E644375743A205F63616C6C6461746120697320656D7074 PUSH1 0x40 DUP3 ADD MSTORE PUSH32 0x7920627574205F696E6974206973206E6F742061646472657373283029000000 PUSH1 0x60 DUP3 ADD MSTORE PUSH1 0x80 ADD SWAP1 JUMP JUMPDEST PUSH1 0x20 DUP1 DUP3 MSTORE PUSH1 0x2E SWAP1 DUP3 ADD MSTORE PUSH32 0x4C69624469616D6F6E644375743A2043616E27742072656D6F766520696D6D75 PUSH1 0x40 DUP3 ADD MSTORE PUSH32 0x7461626C652066756E6374696F6E000000000000000000000000000000000000 PUSH1 0x60 DUP3 ADD MSTORE PUSH1 0x80 ADD SWAP1 JUMP JUMPDEST PUSH1 0x20 DUP1 DUP3 MSTORE PUSH1 0x35 SWAP1 DUP3 ADD MSTORE PUSH32 0x4C69624469616D6F6E644375743A2043616E2774206164642066756E6374696F PUSH1 0x40 DUP3 ADD MSTORE PUSH32 0x6E207468617420616C7265616479206578697374730000000000000000000000 PUSH1 0x60 DUP3 ADD MSTORE PUSH1 0x80 ADD SWAP1 JUMP JUMPDEST PUSH1 0x20 DUP1 DUP3 MSTORE PUSH1 0x38 SWAP1 DUP3 ADD MSTORE PUSH32 0x4C69624469616D6F6E644375743A2043616E2774207265706C6163652066756E PUSH1 0x40 DUP3 ADD MSTORE PUSH32 0x6374696F6E20776974682073616D652066756E6374696F6E0000000000000000 PUSH1 0x60 DUP3 ADD MSTORE PUSH1 0x80 ADD SWAP1 JUMP JUMPDEST PUSH1 0x20 DUP1 DUP3 MSTORE PUSH1 0x36 SWAP1 DUP3 ADD MSTORE PUSH32 0x4C69624469616D6F6E644375743A2052656D6F76652066616365742061646472 PUSH1 0x40 DUP3 ADD MSTORE PUSH32 0x657373206D757374206265206164647265737328302900000000000000000000 PUSH1 0x60 DUP3 ADD MSTORE PUSH1 0x80 ADD SWAP1 JUMP JUMPDEST PUSH1 0x0 JUMPDEST DUP4 DUP2 LT ISZERO PUSH2 0x1814 JUMPI DUP2 DUP2 ADD MLOAD DUP4 DUP3 ADD MSTORE PUSH1 0x20 ADD PUSH2 0x17FC JUMP JUMPDEST DUP4 DUP2 GT ISZERO PUSH2 0xAC5 JUMPI POP POP PUSH1 0x0 SWAP2 ADD MSTORE JUMP INVALID 0x4C PUSH10 0x624469616D6F6E644375 PUSH21 0x3A205F696E6974206164647265737320686173206E PUSH16 0x20636F64654C69624469616D6F6E6443 PUSH22 0x743A204E657720666163657420686173206E6F20636F PUSH5 0x65A2646970 PUSH7 0x735822122054A3 0xC3 LOG1 XOR DUP1 CALLDATALOAD GASLIMIT 0x23 0x1F NUMBER PUSH17 0x30CB5E290869BE0182196A4A05E7D4A1 0xB7 SAR PUSH31 0x64736F6C634300070600334C69624469616D6F6E644375743A205F696E6974 KECCAK256 PUSH2 0x6464 PUSH19 0x65737320686173206E6F20636F64654C696244 PUSH10 0x616D6F6E644375743A20 0x4E PUSH6 0x772066616365 PUSH21 0x20686173206E6F20636F6465A26469706673582212 KECCAK256 0xA7 PUSH26 0xF3D6A1861424E4A8869F0D4DD286296655589C48F5124A3FB585 INVALID 0x4E DUP12 PUSH23 0x64736F6C63430007060033000000000000000000000000 ", - "sourceMap": "273:3298:0:-:0;;;;;;;;;;;;;;;;;;;;;2676:893;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;;2858:15;2889:74;;2885:461;;3013:4;3019:5;2996:29;;;;;;;;;:::i;:::-;;;;;;;;;;;;;2986:40;;;;;;2979:47;;3069:9;3086:4;3050:151;3109:18;3145:42;;;;;;;;3180:4;3145:42;;;;;3050:151;;;;;:::i;:::-;;;;;;:::i;:::-;;;;;;;;;;;;-1:-1:-1;;3050:151:0;;;;;;;;;;;;;;;3040:161;;2885:461;;;3292:42;;;;;;;;3327:4;3292:42;;3242:93;;3261:9;;3272:18;;3242:93;;;:::i;:::-;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;3232:103;;2885:461;3360:23;3375:7;3360:23;;;;;;:::i;:::-;;;;;;;;3394:40;;;;3435:11;;3448:15;:47;;3493:1;3448:47;;;3474:7;3448:47;3497:4;;3394:108;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;3512:50:0;;;;;:43;;;;-1:-1:-1;3512:43:0;;-1:-1:-1;3512:50:0;;3556:5;;3512:50;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2676:893;;;;;;;;:::o;-1:-1:-1:-;;;;;;;;:::o;14:198:10:-;84:20;;144:42;133:54;;123:65;;113:2;;202:1;199;192:12;113:2;65:147;;;:::o;217:377::-;;;334:3;327:4;319:6;315:17;311:27;301:2;;359:8;349;342:26;301:2;-1:-1:-1;389:20:10;;432:18;421:30;;418:2;;;471:8;461;454:26;418:2;515:4;507:6;503:17;491:29;;567:3;560:4;551:6;543;539:19;535:30;532:39;529:2;;;584:1;581;574:12;529:2;291:303;;;;;:::o;599:1137::-;;;;;;;843:3;831:9;822:7;818:23;814:33;811:2;;;865:6;857;850:22;811:2;893:31;914:9;893:31;:::i;:::-;883:41;;975:2;964:9;960:18;947:32;998:18;1039:2;1031:6;1028:14;1025:2;;;1060:6;1052;1045:22;1025:2;1103:6;1092:9;1088:22;1078:32;;1148:7;1141:4;1137:2;1133:13;1129:27;1119:2;;1175:6;1167;1160:22;1119:2;1220;1207:16;1246:2;1238:6;1235:14;1232:2;;;1267:6;1259;1252:22;1232:2;1326:7;1321:2;1315;1307:6;1303:15;1299:2;1295:24;1291:33;1288:46;1285:2;;;1352:6;1344;1337:22;1285:2;1388;1384;1380:11;1370:21;;1410:6;1400:16;;;1469:2;1458:9;1454:18;1441:32;1425:48;;1498:2;1488:8;1485:16;1482:2;;;1519:6;1511;1504:22;1482:2;;1563:62;1617:7;1606:8;1595:9;1591:24;1563:62;:::i;:::-;801:935;;;;-1:-1:-1;801:935:10;;;;;1726:2;1711:18;;;1698:32;;801:935;-1:-1:-1;;;;801:935:10:o;1741:137::-;1828:42;1817:54;1805:67;;1795:83::o;1883:615::-;;1988:6;1983:3;1976:19;2014:4;2043:2;2038:3;2034:12;2027:19;;2069:5;2092:3;2104:369;2118:6;2115:1;2112:13;2104:369;;;2195:6;2182:20;2238:66;2229:7;2225:80;2340:2;2331:7;2328:15;2318:2;;2359:3;2354;2347:16;2318:2;2378:15;;-1:-1:-1;2413:12:10;;;;2448:15;;;;2140:1;2133:9;2104:369;;;-1:-1:-1;2489:3:10;;1966:532;-1:-1:-1;;;;;1966:532:10:o;2503:152::-;2581:66;2570:78;2558:91;;2548:107::o;2660:329::-;;2750:6;2745:3;2738:19;2802:6;2795:5;2788:4;2783:3;2779:14;2766:43;2854:3;2847:4;2838:6;2833:3;2829:16;2825:27;2818:40;2978:4;2908:66;2903:2;2895:6;2891:15;2887:88;2882:3;2878:98;2874:109;2867:116;;2728:261;;;;;:::o;2994:139::-;3083:1;3076:5;3073:12;3063:2;;3089:9;3063:2;3109:18;;3053:80::o;3138:148::-;3222:12;3236:42;3218:61;3206:74;;3196:90::o;3291:329::-;3448:19;;;3505:2;3501:15;3518:66;3497:88;3492:2;3483:12;;3476:110;3611:2;3602:12;;3438:182::o;3625:226::-;3801:42;3789:55;;;;3771:74;;3759:2;3744:18;;3726:125::o;3856:2351::-;4181:2;4233:21;;;4206:18;;;4289:22;;;3856:2351;;4365:4;4342:3;4327:19;;;;4411:15;;;4396:31;;4392:41;4456:6;3856:2351;4493:1514;4507:6;4504:1;4501:13;4493:1514;;;4596:66;4584:9;4576:6;4572:22;4568:95;4563:3;4556:108;4716:6;4703:20;4803:66;4794:6;4778:14;4774:27;4770:100;4750:18;4746:125;4736:2;;4888:4;4882;4875:18;4736:2;4921:31;;5013:42;4984:27;4921:31;4984:27;:::i;:::-;4980:76;4972:6;4965:92;5109:2;5102:5;5098:14;5085:28;5148:1;5139:7;5136:14;5126:2;;5167:4;5161;5154:18;5126:2;5187:59;5242:2;5234:6;5230:15;5221:7;5187:59;:::i;:::-;;5269:4;5338:2;5331:5;5327:14;5314:28;5423:66;5415:5;5399:14;5395:26;5391:99;5369:20;5365:126;5355:2;;5508:4;5502;5495:18;5355:2;5543:32;;5602:21;;5650:18;5639:30;;5636:2;;;5685:4;5679;5672:18;5636:2;5751;5743:6;5739:15;5723:14;5719:36;5712:5;5708:48;5705:2;;;5772:4;5766;5759:18;5705:2;5816;5811;5803:6;5799:15;5792:27;5842:85;5923:2;5915:6;5911:15;5903:6;5898:2;5889:7;5885:16;5842:85;:::i;:::-;5985:12;;;;5832:95;-1:-1:-1;;;5950:15:10;;;;-1:-1:-1;;4529:1:10;4522:9;4493:1514;;;4497:3;;6016:56;6068:2;6057:9;6053:18;6045:6;6016:56;:::i;:::-;6122:9;6114:6;6110:22;6103:4;6092:9;6088:20;6081:52;6150:51;6194:6;6186;6178;6150:51;:::i;:::-;6142:59;4161:2046;-1:-1:-1;;;;;;;;;;;4161:2046:10:o;6212:4903::-;;6519:2;6508:9;6501:21;6557:2;6546:9;6542:18;6589:6;6583:13;6617:6;6612:3;6605:19;6655:2;6644:9;6640:18;6633:25;;6677:4;6741:2;6735;6727:6;6723:15;6712:9;6708:31;6704:40;6766:6;6760:4;6753:20;6812:2;6806:4;6796:19;6833:4;6846:4171;6860:6;6857:1;6854:13;6846:4171;;;6949:66;6937:9;6929:6;6925:22;6921:95;6916:3;6909:108;7053:6;7047:13;7103:42;7092:9;7088:58;7080:6;7073:74;7160:82;7238:2;7230:6;7226:15;7219:4;7207:9;7202:3;7198:19;7194:30;7160:82;:::i;:::-;;7265:1;7311:2;7303:6;7299:15;7351:2;7346;7338:6;7334:15;7327:27;7392:2;7384:6;7380:15;7430:12;7424:19;7465:68;7524:8;7517:5;7465:68;:::i;:::-;7456:77;;7562:59;7608:12;7562:59;:::i;:::-;7546:75;;7653:4;7670:973;7714:8;7710:1;7697:11;7693:19;7690:33;7670:973;;;7851:8;7845:15;7877:42;7913:5;7906:4;7901:3;7897:14;7877:42;:::i;:::-;7946:66;8029:60;8085:2;8078:5;8074:14;8069:2;8062:4;8057:3;8053:14;8049:23;8029:60;:::i;:::-;8106;8162:2;8155:5;8151:14;8146:2;8139:4;8134:3;8130:14;8126:23;8106:60;:::i;:::-;8183;8239:2;8232:5;8228:14;8223:2;8216:4;8211:3;8207:14;8203:23;8183:60;:::i;:::-;8260;8315:3;8308:5;8304:15;8299:2;8292:4;8288:2;8284:13;8280:22;8260:60;:::i;:::-;8337;8392:3;8385:5;8381:15;8376:2;8369:4;8365:2;8361:13;8357:22;8337:60;:::i;:::-;8414;8469:3;8462:5;8458:15;8453:2;8446:4;8442:2;8438:13;8434:22;8414:60;:::i;:::-;8491:51;8537:3;8530:5;8526:15;8521:2;8515:4;8511:13;8491:51;:::i;:::-;-1:-1:-1;;8612:17:10;;;;8579:3;8568:15;;;;;7786:1;7769:19;7670:973;;;8670:15;;;8701:25;;;8698:2;;;8757:44;8795:5;8786:6;8781:3;8777:16;8757:44;:::i;:::-;8827:14;;;;8873:20;;8698:2;8939:8;8926:11;8923:25;8920:2;;;8979:117;9090:5;9021:66;9012:6;9007:3;9003:16;8999:89;8979:117;:::i;:::-;9122:14;;;;9168:20;;8920:2;9234:8;9221:11;9218:25;9215:2;;;9274:117;9385:5;9316:66;9307:6;9302:3;9298:16;9294:89;9274:117;:::i;:::-;9417:14;;;;9463:20;;9215:2;9529:8;9516:11;9513:25;9510:2;;;9569:117;9680:5;9611:66;9602:6;9597:3;9593:16;9589:89;9569:117;:::i;:::-;9712:14;;;;9758:20;;9510:2;9824:8;9811:11;9808:25;9805:2;;;9864:116;9974:5;9905:66;9896:6;9892:2;9888:15;9884:88;9864:116;:::i;:::-;10006:14;;;;10052:20;;9805:2;10118:8;10105:11;10102:25;10099:2;;;10158:116;10268:5;10199:66;10190:6;10186:2;10182:15;10178:88;10158:116;:::i;:::-;10300:14;;;;10346:20;;10099:2;10412:8;10399:11;10396:25;10393:2;;;10452:116;10562:5;10493:66;10484:6;10480:2;10476:15;10472:88;10452:116;:::i;:::-;10594:14;;;;10640:20;;10393:2;10706:8;10693:11;10690:25;10687:2;;;10746:107;10847:5;10778:66;10770:6;10766:79;10746:107;:::i;:::-;10879:14;;;;10687:2;-1:-1:-1;;10995:12:10;;;;10930:5;-1:-1:-1;;;10970:4:10;10958:17;;;;;6882:1;6875:9;6846:4171;;;6850:3;;11034:6;11026:14;;;11049:60;11105:2;11094:9;11090:18;11082:6;11049:60;:::i;:::-;;;;6491:4624;;;;;:::o;11374:143::-;;11456:17;;;11506:4;11490:21;;;11446:71::o;11522:166::-;11625:19;;;11677:4;11668:14;;11615:73::o" + "opcodes": "PUSH1 0x80 PUSH1 0x40 MSTORE PUSH1 0x4 CALLDATASIZE LT PUSH3 0x20 JUMPI PUSH1 0x0 CALLDATALOAD PUSH1 0xE0 SHR DUP1 PUSH4 0xCCC2E316 EQ PUSH3 0x25 JUMPI JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH3 0x3C PUSH3 0x36 CALLDATASIZE PUSH1 0x4 PUSH3 0x365 JUMP JUMPDEST PUSH3 0x65 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF SWAP1 SWAP2 AND DUP2 MSTORE PUSH1 0x20 ADD PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH1 0x0 DUP2 ISZERO PUSH3 0x137 JUMPI DUP2 DUP8 PUSH1 0x40 MLOAD PUSH1 0x20 ADD PUSH3 0xB0 SWAP3 SWAP2 SWAP1 SWAP2 DUP3 MSTORE PUSH1 0x60 SHL PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF000000000000000000000000 AND PUSH1 0x20 DUP3 ADD MSTORE PUSH1 0x34 ADD SWAP1 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH1 0x20 DUP2 DUP4 SUB SUB DUP2 MSTORE SWAP1 PUSH1 0x40 MSTORE DUP1 MLOAD SWAP1 PUSH1 0x20 ADD KECCAK256 SWAP2 POP CALLVALUE DUP3 SWAP1 PUSH1 0x0 PUSH1 0x40 MLOAD DUP1 PUSH1 0x20 ADD PUSH1 0x40 MSTORE DUP1 ADDRESS PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP2 MSTORE POP PUSH1 0x40 MLOAD PUSH3 0x100 SWAP1 PUSH3 0x2E1 JUMP JUMPDEST PUSH3 0x10D SWAP3 SWAP2 SWAP1 PUSH3 0x465 JUMP JUMPDEST DUP3 SWAP1 PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 DUP4 CREATE2 SWAP2 POP POP DUP1 ISZERO DUP1 ISZERO PUSH3 0x12E JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP SWAP1 POP PUSH3 0x185 JUMP JUMPDEST PUSH1 0x40 DUP1 MLOAD PUSH1 0x20 DUP2 ADD DUP3 MSTORE ADDRESS DUP2 MSTORE SWAP1 MLOAD CALLVALUE SWAP2 PUSH1 0x0 SWAP2 PUSH3 0x156 SWAP1 PUSH3 0x2E1 JUMP JUMPDEST PUSH3 0x163 SWAP3 SWAP2 SWAP1 PUSH3 0x465 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 DUP3 CREATE SWAP1 POP DUP1 ISZERO DUP1 ISZERO PUSH3 0x181 JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP SWAP1 POP JUMPDEST PUSH1 0x40 MLOAD PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP3 AND DUP2 MSTORE PUSH32 0x644CA5B0A8B0418E9FAF3880659EEB84EAAD45AD838B0173808E5CA72F5EFC49 SWAP1 PUSH1 0x20 ADD PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 LOG1 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP2 AND PUSH4 0x1F931C1C DUP8 DUP8 DUP7 PUSH3 0x1FA JUMPI PUSH1 0x0 PUSH3 0x1FC JUMP JUMPDEST DUP5 JUMPDEST DUP9 DUP9 PUSH1 0x40 MLOAD DUP7 PUSH4 0xFFFFFFFF AND PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH3 0x220 SWAP6 SWAP5 SWAP4 SWAP3 SWAP2 SWAP1 PUSH3 0x924 JUMP JUMPDEST PUSH1 0x0 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 PUSH1 0x0 DUP8 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH3 0x23B JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS CALL ISZERO DUP1 ISZERO PUSH3 0x250 JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP PUSH1 0x40 MLOAD PUSH32 0xF2FDE38B00000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP11 DUP2 AND PUSH1 0x4 DUP4 ADD MSTORE DUP5 AND SWAP3 POP PUSH4 0xF2FDE38B SWAP2 POP PUSH1 0x24 ADD PUSH1 0x0 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 PUSH1 0x0 DUP8 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH3 0x2BE JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS CALL ISZERO DUP1 ISZERO PUSH3 0x2D3 JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP SWAP7 SWAP6 POP POP POP POP POP POP JUMP JUMPDEST PUSH2 0x310C DUP1 PUSH3 0xAC0 DUP4 CODECOPY ADD SWAP1 JUMP JUMPDEST DUP1 CALLDATALOAD PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP2 AND DUP2 EQ PUSH3 0x314 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 DUP1 DUP4 PUSH1 0x1F DUP5 ADD SLT PUSH3 0x32C JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP DUP2 CALLDATALOAD PUSH8 0xFFFFFFFFFFFFFFFF DUP2 GT ISZERO PUSH3 0x345 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x20 DUP4 ADD SWAP2 POP DUP4 PUSH1 0x20 DUP3 DUP6 ADD ADD GT ISZERO PUSH3 0x35E JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST SWAP3 POP SWAP3 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x0 DUP1 PUSH1 0x0 DUP1 PUSH1 0x80 DUP8 DUP10 SUB SLT ISZERO PUSH3 0x37F JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH3 0x38A DUP8 PUSH3 0x2EF JUMP JUMPDEST SWAP6 POP PUSH1 0x20 DUP8 ADD CALLDATALOAD PUSH8 0xFFFFFFFFFFFFFFFF DUP1 DUP3 GT ISZERO PUSH3 0x3A8 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP2 DUP10 ADD SWAP2 POP DUP10 PUSH1 0x1F DUP4 ADD SLT PUSH3 0x3BD JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP2 CALLDATALOAD DUP2 DUP2 GT ISZERO PUSH3 0x3CD JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP11 PUSH1 0x20 DUP3 PUSH1 0x5 SHL DUP6 ADD ADD GT ISZERO PUSH3 0x3E3 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x20 DUP4 ADD SWAP8 POP DUP1 SWAP7 POP POP PUSH1 0x40 DUP10 ADD CALLDATALOAD SWAP2 POP DUP1 DUP3 GT ISZERO PUSH3 0x402 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH3 0x411 DUP10 DUP3 DUP11 ADD PUSH3 0x319 JUMP JUMPDEST SWAP8 SWAP11 SWAP7 SWAP10 POP SWAP5 SWAP8 SWAP5 SWAP7 SWAP6 PUSH1 0x60 SWAP1 SWAP6 ADD CALLDATALOAD SWAP5 SWAP4 POP POP POP POP JUMP JUMPDEST PUSH1 0x3 DUP2 LT PUSH3 0x461 JUMPI PUSH32 0x4E487B7100000000000000000000000000000000000000000000000000000000 PUSH1 0x0 MSTORE PUSH1 0x21 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST SWAP1 MSTORE JUMP JUMPDEST PUSH1 0x0 PUSH1 0x40 DUP3 ADD PUSH1 0x40 DUP4 MSTORE DUP1 DUP6 SLOAD DUP1 DUP4 MSTORE PUSH1 0x60 DUP6 ADD SWAP2 POP PUSH1 0x60 DUP2 PUSH1 0x5 SHL DUP7 ADD ADD SWAP3 POP DUP7 PUSH1 0x0 MSTORE PUSH1 0x20 DUP1 PUSH1 0x0 KECCAK256 PUSH1 0x0 JUMPDEST DUP4 DUP2 LT ISZERO PUSH3 0x83D JUMPI PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFA0 DUP9 DUP8 SUB ADD DUP6 MSTORE PUSH1 0x60 DUP7 ADD DUP3 SLOAD PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP2 AND DUP9 MSTORE PUSH3 0x4F6 DUP6 DUP10 ADD PUSH1 0xFF DUP4 PUSH1 0xA0 SHR AND PUSH3 0x429 JUMP JUMPDEST POP PUSH1 0x60 PUSH1 0x40 DUP9 ADD MSTORE PUSH1 0x1 DUP4 DUP2 ADD DUP1 SLOAD DUP1 DUP5 MSTORE PUSH1 0x0 SWAP2 DUP3 MSTORE PUSH1 0x20 DUP1 DUP4 KECCAK256 SWAP5 ADD SWAP1 JUMPDEST DUP1 PUSH1 0x7 DUP5 ADD LT ISZERO PUSH3 0x64C JUMPI DUP5 SLOAD PUSH3 0x553 DUP4 DUP3 PUSH1 0xE0 SHL PUSH32 0xFFFFFFFF00000000000000000000000000000000000000000000000000000000 AND SWAP1 MSTORE JUMP JUMPDEST PUSH32 0xFFFFFFFF00000000000000000000000000000000000000000000000000000000 PUSH1 0xC0 DUP3 SWAP1 SHL DUP2 AND DUP11 DUP6 ADD MSTORE PUSH1 0xA0 DUP3 SWAP1 SHL DUP2 AND PUSH1 0x40 DUP6 ADD MSTORE PUSH1 0x80 DUP3 SWAP1 SHL DUP2 AND PUSH1 0x60 DUP6 ADD MSTORE PUSH3 0x5CB PUSH1 0x80 DUP6 ADD DUP3 DUP5 PUSH1 0x60 SHL AND PUSH32 0xFFFFFFFF00000000000000000000000000000000000000000000000000000000 AND SWAP1 MSTORE JUMP JUMPDEST PUSH3 0x5FF PUSH1 0xA0 DUP6 ADD DUP3 DUP5 PUSH1 0x40 SHL AND PUSH32 0xFFFFFFFF00000000000000000000000000000000000000000000000000000000 AND SWAP1 MSTORE JUMP JUMPDEST PUSH32 0xFFFFFFFF00000000000000000000000000000000000000000000000000000000 DUP3 DUP12 SHL DUP3 AND DUP2 AND PUSH1 0xC0 DUP7 ADD MSTORE SWAP2 AND AND PUSH1 0xE0 DUP4 ADD MSTORE SWAP4 DUP4 ADD SWAP4 PUSH1 0x8 SWAP3 SWAP1 SWAP3 ADD SWAP2 PUSH2 0x100 SWAP1 SWAP2 ADD SWAP1 PUSH3 0x516 JUMP JUMPDEST SWAP4 SLOAD SWAP4 DUP1 DUP4 LT ISZERO PUSH3 0x690 JUMPI PUSH3 0x687 DUP3 DUP7 PUSH1 0xE0 SHL PUSH32 0xFFFFFFFF00000000000000000000000000000000000000000000000000000000 AND SWAP1 MSTORE JUMP JUMPDEST SWAP2 DUP4 ADD SWAP2 SWAP1 DUP8 ADD SWAP1 JUMPDEST DUP1 DUP4 LT ISZERO PUSH3 0x6CB JUMPI PUSH1 0xC0 DUP6 SWAP1 SHL PUSH32 0xFFFFFFFF00000000000000000000000000000000000000000000000000000000 AND DUP3 MSTORE SWAP2 DUP4 ADD SWAP2 SWAP1 DUP8 ADD SWAP1 JUMPDEST DUP1 DUP4 LT ISZERO PUSH3 0x706 JUMPI PUSH1 0xA0 DUP6 SWAP1 SHL PUSH32 0xFFFFFFFF00000000000000000000000000000000000000000000000000000000 AND DUP3 MSTORE SWAP2 DUP4 ADD SWAP2 SWAP1 DUP8 ADD SWAP1 JUMPDEST DUP1 DUP4 LT ISZERO PUSH3 0x741 JUMPI PUSH1 0x80 DUP6 SWAP1 SHL PUSH32 0xFFFFFFFF00000000000000000000000000000000000000000000000000000000 AND DUP3 MSTORE SWAP2 DUP4 ADD SWAP2 SWAP1 DUP8 ADD SWAP1 JUMPDEST DUP1 DUP4 LT ISZERO PUSH3 0x77C JUMPI PUSH1 0x60 DUP6 SWAP1 SHL PUSH32 0xFFFFFFFF00000000000000000000000000000000000000000000000000000000 AND DUP3 MSTORE SWAP2 DUP4 ADD SWAP2 SWAP1 DUP8 ADD SWAP1 JUMPDEST DUP1 DUP4 LT ISZERO PUSH3 0x7B7 JUMPI PUSH1 0x40 DUP6 SWAP1 SHL PUSH32 0xFFFFFFFF00000000000000000000000000000000000000000000000000000000 AND DUP3 MSTORE SWAP2 DUP4 ADD SWAP2 SWAP1 DUP8 ADD SWAP1 JUMPDEST DUP1 DUP4 LT ISZERO PUSH3 0x7F0 JUMPI DUP5 DUP9 SHL PUSH32 0xFFFFFFFF00000000000000000000000000000000000000000000000000000000 AND DUP3 MSTORE SWAP2 DUP4 ADD SWAP2 SWAP1 DUP8 ADD SWAP1 JUMPDEST DUP1 DUP4 LT ISZERO PUSH3 0x823 JUMPI PUSH32 0xFFFFFFFF00000000000000000000000000000000000000000000000000000000 DUP6 AND DUP3 MSTORE SWAP1 DUP8 ADD SWAP1 JUMPDEST POP SWAP9 POP POP POP SWAP5 DUP4 ADD SWAP5 POP PUSH1 0x2 SWAP2 SWAP1 SWAP2 ADD SWAP1 PUSH1 0x1 ADD PUSH3 0x493 JUMP JUMPDEST POP POP DUP4 SWAP5 POP PUSH3 0x865 DUP2 DUP8 ADD DUP9 MLOAD PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND SWAP1 MSTORE JUMP JUMPDEST POP POP POP POP SWAP4 SWAP3 POP POP POP JUMP JUMPDEST DUP2 DUP4 MSTORE PUSH1 0x0 PUSH1 0x20 DUP1 DUP6 ADD SWAP5 POP DUP3 PUSH1 0x0 DUP1 JUMPDEST DUP7 DUP2 LT ISZERO PUSH3 0x8CF JUMPI DUP3 CALLDATALOAD PUSH32 0xFFFFFFFF00000000000000000000000000000000000000000000000000000000 DUP2 AND DUP1 DUP3 EQ PUSH3 0x8BB JUMPI DUP4 DUP5 REVERT JUMPDEST DUP10 MSTORE POP SWAP7 DUP4 ADD SWAP7 SWAP2 DUP4 ADD SWAP2 PUSH1 0x1 ADD PUSH3 0x881 JUMP JUMPDEST POP SWAP6 SWAP7 SWAP6 POP POP POP POP POP POP JUMP JUMPDEST DUP2 DUP4 MSTORE DUP2 DUP2 PUSH1 0x20 DUP6 ADD CALLDATACOPY POP PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 ADD ADD MSTORE PUSH1 0x0 PUSH1 0x20 PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFE0 PUSH1 0x1F DUP5 ADD AND DUP5 ADD ADD SWAP1 POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x60 DUP1 DUP3 MSTORE DUP2 DUP2 ADD DUP7 SWAP1 MSTORE PUSH1 0x0 SWAP1 PUSH1 0x5 PUSH1 0x80 DUP1 DUP6 ADD SWAP1 DUP10 DUP4 SHL DUP7 ADD ADD DUP11 DUP6 JUMPDEST DUP12 DUP2 LT ISZERO PUSH3 0xA7D JUMPI PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF80 DUP9 DUP5 SUB ADD DUP5 MSTORE DUP2 CALLDATALOAD PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFA1 DUP15 CALLDATASIZE SUB ADD DUP2 SLT PUSH3 0x9A6 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP14 ADD PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF PUSH3 0x9C8 DUP3 PUSH3 0x2EF JUMP JUMPDEST AND DUP5 MSTORE PUSH1 0x20 DUP1 DUP3 ADD CALLDATALOAD PUSH1 0x3 DUP2 LT PUSH3 0x9DF JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH3 0x9ED DUP3 DUP8 ADD DUP3 PUSH3 0x429 JUMP JUMPDEST POP PUSH1 0x40 DUP1 DUP4 ADD CALLDATALOAD PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFE1 DUP5 CALLDATASIZE SUB ADD DUP2 SLT PUSH3 0xA25 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP4 ADD DUP1 CALLDATALOAD PUSH8 0xFFFFFFFFFFFFFFFF DUP2 GT ISZERO PUSH3 0xA3F JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP1 DUP11 SHL CALLDATASIZE SUB DUP6 SGT ISZERO PUSH3 0xA51 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP11 DUP4 DUP10 ADD MSTORE PUSH3 0xA67 DUP12 DUP10 ADD DUP3 DUP7 DUP6 ADD PUSH3 0x870 JUMP JUMPDEST SWAP9 DUP5 ADD SWAP9 SWAP8 POP POP POP SWAP4 ADD SWAP3 POP POP PUSH1 0x1 ADD PUSH3 0x943 JUMP JUMPDEST POP POP PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP10 AND PUSH1 0x20 DUP8 ADD MSTORE DUP6 DUP2 SUB PUSH1 0x40 DUP8 ADD MSTORE PUSH3 0xAB0 DUP2 DUP9 DUP11 PUSH3 0x8DB JUMP JUMPDEST SWAP12 SWAP11 POP POP POP POP POP POP POP POP POP POP POP JUMP INVALID PUSH1 0x80 PUSH1 0x40 MSTORE PUSH1 0x40 MLOAD PUSH3 0x310C CODESIZE SUB DUP1 PUSH3 0x310C DUP4 CODECOPY DUP2 ADD PUSH1 0x40 DUP2 SWAP1 MSTORE PUSH3 0x26 SWAP2 PUSH3 0x1205 JUMP JUMPDEST PUSH1 0x40 DUP1 MLOAD PUSH1 0x0 DUP1 DUP3 MSTORE PUSH1 0x20 DUP3 ADD SWAP1 SWAP3 MSTORE PUSH3 0x4E SWAP2 DUP5 SWAP2 PUSH3 0xF5 PUSH1 0x20 SHL PUSH3 0x107 OR PUSH1 0x20 SHR JUMP JUMPDEST PUSH3 0x68 DUP2 PUSH1 0x0 ADD MLOAD PUSH3 0x353 PUSH1 0x20 SHL PUSH3 0x34B OR PUSH1 0x20 SHR JUMP JUMPDEST PUSH1 0x0 PUSH3 0x7F PUSH3 0x3D7 PUSH1 0x20 SHL PUSH3 0x405 OR PUSH1 0x20 SHR JUMP JUMPDEST PUSH4 0x1FFC9A7 PUSH1 0xE0 SHL PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x3 SWAP1 SWAP2 ADD PUSH1 0x20 MSTORE PUSH1 0x40 DUP1 DUP3 KECCAK256 DUP1 SLOAD PUSH1 0xFF NOT SWAP1 DUP2 AND PUSH1 0x1 SWAP1 DUP2 OR SWAP1 SWAP3 SSTORE PUSH4 0x7E4C707 PUSH1 0xE2 SHL DUP5 MSTORE DUP3 DUP5 KECCAK256 DUP1 SLOAD DUP3 AND DUP4 OR SWAP1 SSTORE PUSH4 0x48E2B093 PUSH1 0xE0 SHL DUP5 MSTORE DUP3 DUP5 KECCAK256 DUP1 SLOAD DUP3 AND DUP4 OR SWAP1 SSTORE PUSH4 0x7F5828D PUSH1 0xE4 SHL DUP5 MSTORE SWAP2 SWAP1 SWAP3 KECCAK256 DUP1 SLOAD SWAP1 SWAP2 AND SWAP1 SWAP2 OR SWAP1 SSTORE POP PUSH3 0x1607 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 JUMPDEST DUP4 MLOAD DUP2 LT ISZERO PUSH3 0x304 JUMPI PUSH1 0x0 DUP5 DUP3 DUP2 MLOAD DUP2 LT PUSH3 0x119 JUMPI PUSH3 0x119 PUSH3 0x13AF JUMP JUMPDEST PUSH1 0x20 MUL PUSH1 0x20 ADD ADD MLOAD PUSH1 0x20 ADD MLOAD SWAP1 POP PUSH1 0x0 PUSH1 0x2 DUP2 GT ISZERO PUSH3 0x13D JUMPI PUSH3 0x13D PUSH3 0x13C5 JUMP JUMPDEST DUP2 PUSH1 0x2 DUP2 GT ISZERO PUSH3 0x152 JUMPI PUSH3 0x152 PUSH3 0x13C5 JUMP JUMPDEST EQ ISZERO PUSH3 0x1B1 JUMPI PUSH3 0x1AB DUP6 DUP4 DUP2 MLOAD DUP2 LT PUSH3 0x172 JUMPI PUSH3 0x172 PUSH3 0x13AF JUMP JUMPDEST PUSH1 0x20 MUL PUSH1 0x20 ADD ADD MLOAD PUSH1 0x0 ADD MLOAD DUP7 DUP5 DUP2 MLOAD DUP2 LT PUSH3 0x193 JUMPI PUSH3 0x193 PUSH3 0x13AF JUMP JUMPDEST PUSH1 0x20 MUL PUSH1 0x20 ADD ADD MLOAD PUSH1 0x40 ADD MLOAD PUSH3 0x3EA PUSH1 0x20 SHL PUSH1 0x20 SHR JUMP JUMPDEST PUSH3 0x2EE JUMP JUMPDEST PUSH1 0x1 DUP2 PUSH1 0x2 DUP2 GT ISZERO PUSH3 0x1C8 JUMPI PUSH3 0x1C8 PUSH3 0x13C5 JUMP JUMPDEST EQ ISZERO PUSH3 0x221 JUMPI PUSH3 0x1AB DUP6 DUP4 DUP2 MLOAD DUP2 LT PUSH3 0x1E8 JUMPI PUSH3 0x1E8 PUSH3 0x13AF JUMP JUMPDEST PUSH1 0x20 MUL PUSH1 0x20 ADD ADD MLOAD PUSH1 0x0 ADD MLOAD DUP7 DUP5 DUP2 MLOAD DUP2 LT PUSH3 0x209 JUMPI PUSH3 0x209 PUSH3 0x13AF JUMP JUMPDEST PUSH1 0x20 MUL PUSH1 0x20 ADD ADD MLOAD PUSH1 0x40 ADD MLOAD PUSH3 0x674 PUSH1 0x20 SHL PUSH1 0x20 SHR JUMP JUMPDEST PUSH1 0x2 DUP2 PUSH1 0x2 DUP2 GT ISZERO PUSH3 0x238 JUMPI PUSH3 0x238 PUSH3 0x13C5 JUMP JUMPDEST EQ ISZERO PUSH3 0x291 JUMPI PUSH3 0x1AB DUP6 DUP4 DUP2 MLOAD DUP2 LT PUSH3 0x258 JUMPI PUSH3 0x258 PUSH3 0x13AF JUMP JUMPDEST PUSH1 0x20 MUL PUSH1 0x20 ADD ADD MLOAD PUSH1 0x0 ADD MLOAD DUP7 DUP5 DUP2 MLOAD DUP2 LT PUSH3 0x279 JUMPI PUSH3 0x279 PUSH3 0x13AF JUMP JUMPDEST PUSH1 0x20 MUL PUSH1 0x20 ADD ADD MLOAD PUSH1 0x40 ADD MLOAD PUSH3 0x90A PUSH1 0x20 SHL PUSH1 0x20 SHR JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x27 PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x4C69624469616D6F6E644375743A20496E636F72726563742046616365744375 PUSH1 0x44 DUP3 ADD MSTORE PUSH7 0x3A20B1BA34B7B7 PUSH1 0xC9 SHL PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 ADD JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST POP DUP1 PUSH3 0x2FB DUP2 PUSH3 0x13F1 JUMP JUMPDEST SWAP2 POP POP PUSH3 0xF8 JUMP JUMPDEST POP PUSH32 0x8FAA70878671CCD212D20771B795C50AF8FD3FF6CF27F4BDE57E5D4DE0AEB673 DUP4 DUP4 DUP4 PUSH1 0x40 MLOAD PUSH3 0x33A SWAP4 SWAP3 SWAP2 SWAP1 PUSH3 0x146C JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 LOG1 PUSH3 0x34E DUP3 DUP3 PUSH3 0xA70 JUMP JUMPDEST POP POP POP JUMP JUMPDEST PUSH32 0xC8FCAD8DB84D3CC18B4C41D551EA0EE66DD599CDE068D998E57D5E09332C1320 DUP1 SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB NOT DUP2 AND PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP5 DUP2 AND SWAP2 DUP3 OR SWAP1 SWAP4 SSTORE PUSH1 0x40 MLOAD PUSH1 0x0 DUP1 MLOAD PUSH1 0x20 PUSH3 0x3060 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE SWAP4 SWAP1 SWAP3 AND SWAP2 DUP3 SWAP1 PUSH32 0x8BE0079C531659141344CD1FD0A4F28419497F9722A3DAAFE3B4186F6B6457E0 SWAP1 PUSH1 0x0 SWAP1 LOG3 POP POP POP JUMP JUMPDEST PUSH1 0x0 DUP1 MLOAD PUSH1 0x20 PUSH3 0x3060 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE SWAP1 JUMP JUMPDEST PUSH1 0x0 DUP2 MLOAD GT PUSH3 0x440 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x2B PUSH1 0x24 DUP3 ADD MSTORE PUSH1 0x0 DUP1 MLOAD PUSH1 0x20 PUSH3 0x30EC DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE PUSH1 0x44 DUP3 ADD MSTORE PUSH11 0x1858D95D081D1BC818DD5D PUSH1 0xAA SHL PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 ADD PUSH3 0x2E5 JUMP JUMPDEST PUSH1 0x0 DUP1 MLOAD PUSH1 0x20 PUSH3 0x3060 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP4 AND PUSH3 0x4AC JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x2C PUSH1 0x24 DUP3 ADD MSTORE PUSH1 0x0 DUP1 MLOAD PUSH1 0x20 PUSH3 0x30A8 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE PUSH1 0x44 DUP3 ADD MSTORE PUSH12 0x652061646472657373283029 PUSH1 0xA0 SHL PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 ADD PUSH3 0x2E5 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP4 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x1 DUP3 ADD PUSH1 0x20 MSTORE PUSH1 0x40 SWAP1 KECCAK256 SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0x60 SHL SUB DUP2 AND PUSH3 0x4E2 JUMPI PUSH3 0x4E2 DUP3 DUP6 PUSH3 0xC8F JUMP JUMPDEST PUSH1 0x0 JUMPDEST DUP4 MLOAD DUP2 LT ISZERO PUSH3 0x66D JUMPI PUSH1 0x0 DUP5 DUP3 DUP2 MLOAD DUP2 LT PUSH3 0x506 JUMPI PUSH3 0x506 PUSH3 0x13AF JUMP JUMPDEST PUSH1 0x20 SWAP1 DUP2 MUL SWAP2 SWAP1 SWAP2 ADD DUP2 ADD MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xE0 SHL SUB NOT DUP2 AND PUSH1 0x0 SWAP1 DUP2 MSTORE SWAP2 DUP7 SWAP1 MSTORE PUSH1 0x40 SWAP1 SWAP2 KECCAK256 SLOAD SWAP1 SWAP2 POP PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND DUP1 ISZERO PUSH3 0x5AE JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x35 PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x4C69624469616D6F6E644375743A2043616E2774206164642066756E6374696F PUSH1 0x44 DUP3 ADD MSTORE PUSH32 0x6E207468617420616C7265616479206578697374730000000000000000000000 PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 ADD PUSH3 0x2E5 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xE0 SHL SUB NOT DUP3 AND PUSH1 0x0 DUP2 DUP2 MSTORE PUSH1 0x20 DUP8 DUP2 MSTORE PUSH1 0x40 DUP1 DUP4 KECCAK256 DUP1 SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 DUP2 AND PUSH1 0x1 PUSH1 0xA0 SHL PUSH1 0x1 PUSH1 0x1 PUSH1 0x60 SHL SUB DUP13 AND MUL OR DUP3 SSTORE DUP13 AND DUP1 DUP6 MSTORE PUSH1 0x1 DUP1 DUP13 ADD DUP6 MSTORE SWAP3 DUP6 KECCAK256 DUP1 SLOAD SWAP4 DUP5 ADD DUP2 SSTORE DUP6 MSTORE DUP4 DUP6 KECCAK256 PUSH1 0x8 DUP5 DIV ADD DUP1 SLOAD PUSH4 0xFFFFFFFF PUSH1 0x7 SWAP1 SWAP6 AND PUSH1 0x4 MUL PUSH2 0x100 EXP SWAP5 DUP6 MUL NOT AND PUSH1 0xE0 DUP11 SWAP1 SHR SWAP5 SWAP1 SWAP5 MUL SWAP4 SWAP1 SWAP4 OR SWAP1 SWAP3 SSTORE SWAP4 SWAP1 SWAP3 MSTORE DUP8 SWAP1 MSTORE DUP2 SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB NOT AND OR SWAP1 SSTORE DUP4 PUSH3 0x652 DUP2 PUSH3 0x1573 JUMP JUMPDEST SWAP5 POP POP POP POP DUP1 DUP1 PUSH3 0x664 SWAP1 PUSH3 0x13F1 JUMP JUMPDEST SWAP2 POP POP PUSH3 0x4E5 JUMP JUMPDEST POP POP POP POP POP JUMP JUMPDEST PUSH1 0x0 DUP2 MLOAD GT PUSH3 0x6CA JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x2B PUSH1 0x24 DUP3 ADD MSTORE PUSH1 0x0 DUP1 MLOAD PUSH1 0x20 PUSH3 0x30EC DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE PUSH1 0x44 DUP3 ADD MSTORE PUSH11 0x1858D95D081D1BC818DD5D PUSH1 0xAA SHL PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 ADD PUSH3 0x2E5 JUMP JUMPDEST PUSH1 0x0 DUP1 MLOAD PUSH1 0x20 PUSH3 0x3060 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP4 AND PUSH3 0x736 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x2C PUSH1 0x24 DUP3 ADD MSTORE PUSH1 0x0 DUP1 MLOAD PUSH1 0x20 PUSH3 0x30A8 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE PUSH1 0x44 DUP3 ADD MSTORE PUSH12 0x652061646472657373283029 PUSH1 0xA0 SHL PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 ADD PUSH3 0x2E5 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP4 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x1 DUP3 ADD PUSH1 0x20 MSTORE PUSH1 0x40 SWAP1 KECCAK256 SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0x60 SHL SUB DUP2 AND PUSH3 0x76C JUMPI PUSH3 0x76C DUP3 DUP6 PUSH3 0xC8F JUMP JUMPDEST PUSH1 0x0 JUMPDEST DUP4 MLOAD DUP2 LT ISZERO PUSH3 0x66D JUMPI PUSH1 0x0 DUP5 DUP3 DUP2 MLOAD DUP2 LT PUSH3 0x790 JUMPI PUSH3 0x790 PUSH3 0x13AF JUMP JUMPDEST PUSH1 0x20 SWAP1 DUP2 MUL SWAP2 SWAP1 SWAP2 ADD DUP2 ADD MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xE0 SHL SUB NOT DUP2 AND PUSH1 0x0 SWAP1 DUP2 MSTORE SWAP2 DUP7 SWAP1 MSTORE PUSH1 0x40 SWAP1 SWAP2 KECCAK256 SLOAD SWAP1 SWAP2 POP PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 DUP2 AND SWAP1 DUP8 AND DUP2 EQ ISZERO PUSH3 0x83E JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x38 PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x4C69624469616D6F6E644375743A2043616E2774207265706C6163652066756E PUSH1 0x44 DUP3 ADD MSTORE PUSH32 0x6374696F6E20776974682073616D652066756E6374696F6E0000000000000000 PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 ADD PUSH3 0x2E5 JUMP JUMPDEST PUSH3 0x84B DUP6 DUP3 DUP5 PUSH3 0xCFC JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xE0 SHL SUB NOT DUP3 AND PUSH1 0x0 DUP2 DUP2 MSTORE PUSH1 0x20 DUP8 DUP2 MSTORE PUSH1 0x40 DUP1 DUP4 KECCAK256 DUP1 SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 DUP2 AND PUSH1 0x1 PUSH1 0xA0 SHL PUSH1 0x1 PUSH1 0x1 PUSH1 0x60 SHL SUB DUP13 AND MUL OR DUP3 SSTORE DUP13 AND DUP1 DUP6 MSTORE PUSH1 0x1 DUP1 DUP13 ADD DUP6 MSTORE SWAP3 DUP6 KECCAK256 DUP1 SLOAD SWAP4 DUP5 ADD DUP2 SSTORE DUP6 MSTORE DUP4 DUP6 KECCAK256 PUSH1 0x8 DUP5 DIV ADD DUP1 SLOAD PUSH4 0xFFFFFFFF PUSH1 0x7 SWAP1 SWAP6 AND PUSH1 0x4 MUL PUSH2 0x100 EXP SWAP5 DUP6 MUL NOT AND PUSH1 0xE0 DUP11 SWAP1 SHR SWAP5 SWAP1 SWAP5 MUL SWAP4 SWAP1 SWAP4 OR SWAP1 SWAP3 SSTORE SWAP4 SWAP1 SWAP3 MSTORE DUP8 SWAP1 MSTORE DUP2 SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB NOT AND OR SWAP1 SSTORE DUP4 PUSH3 0x8EF DUP2 PUSH3 0x1573 JUMP JUMPDEST SWAP5 POP POP POP POP DUP1 DUP1 PUSH3 0x901 SWAP1 PUSH3 0x13F1 JUMP JUMPDEST SWAP2 POP POP PUSH3 0x76F JUMP JUMPDEST PUSH1 0x0 DUP2 MLOAD GT PUSH3 0x960 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x2B PUSH1 0x24 DUP3 ADD MSTORE PUSH1 0x0 DUP1 MLOAD PUSH1 0x20 PUSH3 0x30EC DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE PUSH1 0x44 DUP3 ADD MSTORE PUSH11 0x1858D95D081D1BC818DD5D PUSH1 0xAA SHL PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 ADD PUSH3 0x2E5 JUMP JUMPDEST PUSH1 0x0 DUP1 MLOAD PUSH1 0x20 PUSH3 0x3060 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP4 AND ISZERO PUSH3 0x9EF JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x36 PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x4C69624469616D6F6E644375743A2052656D6F76652066616365742061646472 PUSH1 0x44 DUP3 ADD MSTORE PUSH32 0x657373206D757374206265206164647265737328302900000000000000000000 PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 ADD PUSH3 0x2E5 JUMP JUMPDEST PUSH1 0x0 JUMPDEST DUP3 MLOAD DUP2 LT ISZERO PUSH3 0xA6A JUMPI PUSH1 0x0 DUP4 DUP3 DUP2 MLOAD DUP2 LT PUSH3 0xA13 JUMPI PUSH3 0xA13 PUSH3 0x13AF JUMP JUMPDEST PUSH1 0x20 SWAP1 DUP2 MUL SWAP2 SWAP1 SWAP2 ADD DUP2 ADD MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xE0 SHL SUB NOT DUP2 AND PUSH1 0x0 SWAP1 DUP2 MSTORE SWAP2 DUP6 SWAP1 MSTORE PUSH1 0x40 SWAP1 SWAP2 KECCAK256 SLOAD SWAP1 SWAP2 POP PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND PUSH3 0xA52 DUP5 DUP3 DUP5 PUSH3 0xCFC JUMP JUMPDEST POP POP DUP1 DUP1 PUSH3 0xA61 SWAP1 PUSH3 0x13F1 JUMP JUMPDEST SWAP2 POP POP PUSH3 0x9F2 JUMP JUMPDEST POP POP POP POP JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP3 AND PUSH3 0xAFA JUMPI DUP1 MLOAD ISZERO PUSH3 0xAF6 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x3C PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x4C69624469616D6F6E644375743A205F696E6974206973206164647265737328 PUSH1 0x44 DUP3 ADD MSTORE PUSH32 0x3029206275745F63616C6C64617461206973206E6F7420656D70747900000000 PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 ADD PUSH3 0x2E5 JUMP JUMPDEST POP POP JUMP JUMPDEST PUSH1 0x0 DUP2 MLOAD GT PUSH3 0xB73 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x3D PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x4C69624469616D6F6E644375743A205F63616C6C6461746120697320656D7074 PUSH1 0x44 DUP3 ADD MSTORE PUSH32 0x7920627574205F696E6974206973206E6F742061646472657373283029000000 PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 ADD PUSH3 0x2E5 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP3 AND ADDRESS EQ PUSH3 0xBA9 JUMPI PUSH3 0xBA9 DUP3 PUSH1 0x40 MLOAD DUP1 PUSH1 0x60 ADD PUSH1 0x40 MSTORE DUP1 PUSH1 0x28 DUP2 MSTORE PUSH1 0x20 ADD PUSH3 0x3080 PUSH1 0x28 SWAP2 CODECOPY PUSH3 0x10D9 JUMP JUMPDEST PUSH1 0x0 DUP1 DUP4 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND DUP4 PUSH1 0x40 MLOAD PUSH3 0xBC6 SWAP2 SWAP1 PUSH3 0x159D JUMP JUMPDEST PUSH1 0x0 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP6 GAS DELEGATECALL SWAP2 POP POP RETURNDATASIZE DUP1 PUSH1 0x0 DUP2 EQ PUSH3 0xC03 JUMPI PUSH1 0x40 MLOAD SWAP2 POP PUSH1 0x1F NOT PUSH1 0x3F RETURNDATASIZE ADD AND DUP3 ADD PUSH1 0x40 MSTORE RETURNDATASIZE DUP3 MSTORE RETURNDATASIZE PUSH1 0x0 PUSH1 0x20 DUP5 ADD RETURNDATACOPY PUSH3 0xC08 JUMP JUMPDEST PUSH1 0x60 SWAP2 POP JUMPDEST POP SWAP2 POP SWAP2 POP DUP2 PUSH3 0xA6A JUMPI DUP1 MLOAD ISZERO PUSH3 0xC37 JUMPI DUP1 PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH3 0x2E5 SWAP2 SWAP1 PUSH3 0x15BB JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x26 PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x4C69624469616D6F6E644375743A205F696E69742066756E6374696F6E207265 PUSH1 0x44 DUP3 ADD MSTORE PUSH6 0x1D995C9D1959 PUSH1 0xD2 SHL PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 ADD PUSH3 0x2E5 JUMP JUMPDEST PUSH3 0xCB4 DUP2 PUSH1 0x40 MLOAD DUP1 PUSH1 0x60 ADD PUSH1 0x40 MSTORE DUP1 PUSH1 0x24 DUP2 MSTORE PUSH1 0x20 ADD PUSH3 0x30C8 PUSH1 0x24 SWAP2 CODECOPY PUSH3 0x10D9 JUMP JUMPDEST PUSH1 0x2 DUP3 ADD DUP1 SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 SWAP3 AND PUSH1 0x0 DUP2 DUP2 MSTORE PUSH1 0x1 SWAP5 DUP6 ADD PUSH1 0x20 SWAP1 DUP2 MSTORE PUSH1 0x40 DUP3 KECCAK256 DUP7 ADD DUP6 SWAP1 SSTORE SWAP5 DUP5 ADD DUP4 SSTORE SWAP2 DUP3 MSTORE SWAP3 SWAP1 KECCAK256 ADD DUP1 SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB NOT AND SWAP1 SWAP2 OR SWAP1 SSTORE JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP3 AND PUSH3 0xD7A JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x37 PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x4C69624469616D6F6E644375743A2043616E27742072656D6F76652066756E63 PUSH1 0x44 DUP3 ADD MSTORE PUSH32 0x74696F6E207468617420646F65736E2774206578697374000000000000000000 PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 ADD PUSH3 0x2E5 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP3 AND ADDRESS EQ ISZERO PUSH3 0xDEC JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x2E PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x4C69624469616D6F6E644375743A2043616E27742072656D6F766520696D6D75 PUSH1 0x44 DUP3 ADD MSTORE PUSH14 0x3A30B1363290333AB731BA34B7B7 PUSH1 0x91 SHL PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 ADD PUSH3 0x2E5 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xE0 SHL SUB NOT DUP2 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x20 DUP5 DUP2 MSTORE PUSH1 0x40 DUP1 DUP4 KECCAK256 SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP7 AND DUP5 MSTORE PUSH1 0x1 DUP1 DUP9 ADD SWAP1 SWAP4 MSTORE SWAP1 DUP4 KECCAK256 SLOAD PUSH1 0x1 PUSH1 0xA0 SHL SWAP1 SWAP2 DIV PUSH1 0x1 PUSH1 0x1 PUSH1 0x60 SHL SUB AND SWAP3 SWAP2 PUSH3 0xE3D SWAP2 PUSH3 0x15D7 JUMP JUMPDEST SWAP1 POP DUP1 DUP3 EQ PUSH3 0xF36 JUMPI PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP5 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x1 DUP7 ADD PUSH1 0x20 MSTORE PUSH1 0x40 DUP2 KECCAK256 DUP1 SLOAD DUP4 SWAP1 DUP2 LT PUSH3 0xE76 JUMPI PUSH3 0xE76 PUSH3 0x13AF JUMP JUMPDEST PUSH1 0x0 SWAP2 DUP3 MSTORE PUSH1 0x20 DUP1 DUP4 KECCAK256 PUSH1 0x8 DUP4 DIV ADD SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP10 AND DUP5 MSTORE PUSH1 0x1 DUP11 ADD SWAP1 SWAP2 MSTORE PUSH1 0x40 SWAP1 SWAP3 KECCAK256 DUP1 SLOAD PUSH1 0x7 SWAP1 SWAP3 AND PUSH1 0x4 MUL PUSH2 0x100 EXP SWAP1 SWAP3 DIV PUSH1 0xE0 SHL SWAP3 POP DUP3 SWAP2 SWAP1 DUP6 SWAP1 DUP2 LT PUSH3 0xECA JUMPI PUSH3 0xECA PUSH3 0x13AF JUMP JUMPDEST PUSH1 0x0 SWAP2 DUP3 MSTORE PUSH1 0x20 DUP1 DUP4 KECCAK256 PUSH1 0x8 DUP4 DIV ADD DUP1 SLOAD PUSH4 0xFFFFFFFF PUSH1 0x7 SWAP1 SWAP5 AND PUSH1 0x4 MUL PUSH2 0x100 EXP SWAP4 DUP5 MUL NOT AND PUSH1 0xE0 SWAP6 SWAP1 SWAP6 SHR SWAP3 SWAP1 SWAP3 MUL SWAP4 SWAP1 SWAP4 OR SWAP1 SSTORE PUSH1 0x1 PUSH1 0x1 PUSH1 0xE0 SHL SUB NOT SWAP3 SWAP1 SWAP3 AND DUP3 MSTORE DUP7 SWAP1 MSTORE PUSH1 0x40 SWAP1 KECCAK256 DUP1 SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND PUSH1 0x1 PUSH1 0xA0 SHL PUSH1 0x1 PUSH1 0x1 PUSH1 0x60 SHL SUB DUP6 AND MUL OR SWAP1 SSTORE JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP5 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x1 DUP7 ADD PUSH1 0x20 MSTORE PUSH1 0x40 SWAP1 KECCAK256 DUP1 SLOAD DUP1 PUSH3 0xF62 JUMPI PUSH3 0xF62 PUSH3 0x15F1 JUMP JUMPDEST PUSH1 0x0 DUP3 DUP2 MSTORE PUSH1 0x20 DUP1 DUP3 KECCAK256 PUSH1 0x8 PUSH1 0x0 NOT SWAP1 SWAP5 ADD SWAP4 DUP5 DIV ADD DUP1 SLOAD PUSH4 0xFFFFFFFF PUSH1 0x4 PUSH1 0x7 DUP8 AND MUL PUSH2 0x100 EXP MUL NOT AND SWAP1 SSTORE SWAP2 SWAP1 SWAP3 SSTORE PUSH1 0x1 PUSH1 0x1 PUSH1 0xE0 SHL SUB NOT DUP6 AND DUP3 MSTORE DUP7 SWAP1 MSTORE PUSH1 0x40 DUP2 KECCAK256 SSTORE DUP1 PUSH3 0x66D JUMPI PUSH1 0x2 DUP6 ADD SLOAD PUSH1 0x0 SWAP1 PUSH3 0xFC4 SWAP1 PUSH1 0x1 SWAP1 PUSH3 0x15D7 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP7 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x1 DUP1 DUP10 ADD PUSH1 0x20 MSTORE PUSH1 0x40 SWAP1 SWAP2 KECCAK256 ADD SLOAD SWAP1 SWAP2 POP DUP1 DUP3 EQ PUSH3 0x107A JUMPI PUSH1 0x0 DUP8 PUSH1 0x2 ADD DUP4 DUP2 SLOAD DUP2 LT PUSH3 0x1007 JUMPI PUSH3 0x1007 PUSH3 0x13AF JUMP JUMPDEST PUSH1 0x0 SWAP2 DUP3 MSTORE PUSH1 0x20 SWAP1 SWAP2 KECCAK256 ADD SLOAD PUSH1 0x2 DUP10 ADD DUP1 SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 SWAP3 AND SWAP3 POP DUP3 SWAP2 DUP5 SWAP1 DUP2 LT PUSH3 0x103B JUMPI PUSH3 0x103B PUSH3 0x13AF JUMP JUMPDEST PUSH1 0x0 SWAP2 DUP3 MSTORE PUSH1 0x20 DUP1 DUP4 KECCAK256 SWAP2 SWAP1 SWAP2 ADD DUP1 SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB NOT AND PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP5 DUP6 AND OR SWAP1 SSTORE SWAP3 SWAP1 SWAP2 AND DUP2 MSTORE PUSH1 0x1 DUP10 DUP2 ADD SWAP1 SWAP3 MSTORE PUSH1 0x40 SWAP1 KECCAK256 ADD DUP2 SWAP1 SSTORE JUMPDEST DUP7 PUSH1 0x2 ADD DUP1 SLOAD DUP1 PUSH3 0x1090 JUMPI PUSH3 0x1090 PUSH3 0x15F1 JUMP JUMPDEST PUSH1 0x0 DUP3 DUP2 MSTORE PUSH1 0x20 DUP1 DUP3 KECCAK256 DUP4 ADD PUSH1 0x0 NOT SWAP1 DUP2 ADD DUP1 SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB NOT AND SWAP1 SSTORE SWAP1 SWAP3 ADD SWAP1 SWAP3 SSTORE PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP9 AND DUP3 MSTORE PUSH1 0x1 DUP10 DUP2 ADD SWAP1 SWAP2 MSTORE PUSH1 0x40 DUP3 KECCAK256 ADD SSTORE POP POP POP POP POP POP POP JUMP JUMPDEST DUP2 EXTCODESIZE DUP2 DUP2 PUSH3 0xA6A JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH3 0x2E5 SWAP2 SWAP1 PUSH3 0x15BB JUMP JUMPDEST PUSH4 0x4E487B71 PUSH1 0xE0 SHL PUSH1 0x0 MSTORE PUSH1 0x41 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST PUSH1 0x40 MLOAD PUSH1 0x60 DUP2 ADD PUSH1 0x1 PUSH1 0x1 PUSH1 0x40 SHL SUB DUP2 GT DUP3 DUP3 LT OR ISZERO PUSH3 0x1138 JUMPI PUSH3 0x1138 PUSH3 0x10FD JUMP JUMPDEST PUSH1 0x40 MSTORE SWAP1 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH1 0x1F DUP3 ADD PUSH1 0x1F NOT AND DUP2 ADD PUSH1 0x1 PUSH1 0x1 PUSH1 0x40 SHL SUB DUP2 GT DUP3 DUP3 LT OR ISZERO PUSH3 0x1169 JUMPI PUSH3 0x1169 PUSH3 0x10FD JUMP JUMPDEST PUSH1 0x40 MSTORE SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x1 PUSH1 0x1 PUSH1 0x40 SHL SUB DUP3 GT ISZERO PUSH3 0x118D JUMPI PUSH3 0x118D PUSH3 0x10FD JUMP JUMPDEST POP PUSH1 0x5 SHL PUSH1 0x20 ADD SWAP1 JUMP JUMPDEST DUP1 MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP2 AND DUP2 EQ PUSH3 0x11AF JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH3 0x11C7 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x40 MLOAD PUSH1 0x20 DUP2 ADD PUSH1 0x1 PUSH1 0x1 PUSH1 0x40 SHL SUB DUP2 GT DUP3 DUP3 LT OR ISZERO PUSH3 0x11EC JUMPI PUSH3 0x11EC PUSH3 0x10FD JUMP JUMPDEST PUSH1 0x40 MSTORE SWAP1 POP DUP1 PUSH3 0x11FD DUP4 PUSH3 0x1197 JUMP JUMPDEST SWAP1 MSTORE SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x40 DUP4 DUP6 SUB SLT ISZERO PUSH3 0x1219 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP3 MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0x40 SHL SUB DUP1 DUP3 GT ISZERO PUSH3 0x1231 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP2 DUP6 ADD SWAP2 POP DUP6 PUSH1 0x1F DUP4 ADD SLT PUSH3 0x1246 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP2 MLOAD PUSH1 0x20 PUSH3 0x125F PUSH3 0x1259 DUP4 PUSH3 0x1171 JUMP JUMPDEST PUSH3 0x113E JUMP JUMPDEST DUP3 DUP2 MSTORE PUSH1 0x5 SWAP3 SWAP1 SWAP3 SHL DUP5 ADD DUP2 ADD SWAP2 DUP2 DUP2 ADD SWAP1 DUP10 DUP5 GT ISZERO PUSH3 0x127F JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP3 DUP7 ADD JUMPDEST DUP5 DUP2 LT ISZERO PUSH3 0x138F JUMPI DUP1 MLOAD DUP7 DUP2 GT ISZERO PUSH3 0x129C JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP8 ADD PUSH1 0x60 DUP2 DUP14 SUB PUSH1 0x1F NOT ADD SLT ISZERO PUSH3 0x12B3 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH3 0x12BD PUSH3 0x1113 JUMP JUMPDEST PUSH3 0x12CA DUP7 DUP4 ADD PUSH3 0x1197 JUMP JUMPDEST DUP2 MSTORE PUSH1 0x40 DUP3 ADD MLOAD PUSH1 0x3 DUP2 LT PUSH3 0x12DF JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP2 DUP8 ADD MSTORE PUSH1 0x60 DUP3 ADD MLOAD DUP9 DUP2 GT ISZERO PUSH3 0x12F6 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP1 DUP4 ADD SWAP3 POP POP DUP13 PUSH1 0x3F DUP4 ADD SLT PUSH3 0x130C JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP6 DUP3 ADD MLOAD PUSH3 0x131F PUSH3 0x1259 DUP3 PUSH3 0x1171 JUMP JUMPDEST DUP2 DUP2 MSTORE PUSH1 0x5 SWAP2 SWAP1 SWAP2 SHL DUP4 ADD PUSH1 0x40 ADD SWAP1 DUP8 DUP2 ADD SWAP1 DUP16 DUP4 GT ISZERO PUSH3 0x1340 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x40 DUP6 ADD SWAP5 POP JUMPDEST DUP3 DUP6 LT ISZERO PUSH3 0x1379 JUMPI DUP5 MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xE0 SHL SUB NOT DUP2 AND DUP2 EQ PUSH3 0x1369 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP3 MSTORE SWAP4 DUP9 ADD SWAP4 SWAP1 DUP9 ADD SWAP1 PUSH3 0x1347 JUMP JUMPDEST PUSH1 0x40 DUP5 ADD MSTORE POP POP DUP5 MSTORE POP SWAP2 DUP4 ADD SWAP2 DUP4 ADD PUSH3 0x1283 JUMP JUMPDEST POP SWAP7 POP PUSH3 0x13A2 SWAP1 POP DUP9 DUP9 DUP4 ADD PUSH3 0x11B4 JUMP JUMPDEST SWAP5 POP POP POP POP POP SWAP3 POP SWAP3 SWAP1 POP JUMP JUMPDEST PUSH4 0x4E487B71 PUSH1 0xE0 SHL PUSH1 0x0 MSTORE PUSH1 0x32 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST PUSH4 0x4E487B71 PUSH1 0xE0 SHL PUSH1 0x0 MSTORE PUSH1 0x21 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST PUSH4 0x4E487B71 PUSH1 0xE0 SHL PUSH1 0x0 MSTORE PUSH1 0x11 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST PUSH1 0x0 PUSH1 0x0 NOT DUP3 EQ ISZERO PUSH3 0x1408 JUMPI PUSH3 0x1408 PUSH3 0x13DB JUMP JUMPDEST POP PUSH1 0x1 ADD SWAP1 JUMP JUMPDEST PUSH1 0x0 JUMPDEST DUP4 DUP2 LT ISZERO PUSH3 0x142C JUMPI DUP2 DUP2 ADD MLOAD DUP4 DUP3 ADD MSTORE PUSH1 0x20 ADD PUSH3 0x1412 JUMP JUMPDEST DUP4 DUP2 GT ISZERO PUSH3 0xA6A JUMPI POP POP PUSH1 0x0 SWAP2 ADD MSTORE JUMP JUMPDEST PUSH1 0x0 DUP2 MLOAD DUP1 DUP5 MSTORE PUSH3 0x1458 DUP2 PUSH1 0x20 DUP7 ADD PUSH1 0x20 DUP7 ADD PUSH3 0x140F JUMP JUMPDEST PUSH1 0x1F ADD PUSH1 0x1F NOT AND SWAP3 SWAP1 SWAP3 ADD PUSH1 0x20 ADD SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x60 DUP1 DUP4 ADD DUP2 DUP5 MSTORE DUP1 DUP8 MLOAD DUP1 DUP4 MSTORE PUSH1 0x80 SWAP3 POP DUP3 DUP7 ADD SWAP2 POP DUP3 DUP2 PUSH1 0x5 SHL DUP8 ADD ADD PUSH1 0x20 DUP1 DUP12 ADD PUSH1 0x0 JUMPDEST DUP5 DUP2 LT ISZERO PUSH3 0x1541 JUMPI DUP10 DUP5 SUB PUSH1 0x7F NOT ADD DUP7 MSTORE DUP2 MLOAD DUP1 MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND DUP6 MSTORE DUP4 DUP2 ADD MLOAD DUP10 DUP7 ADD SWAP1 PUSH1 0x3 DUP2 LT PUSH3 0x14DD JUMPI PUSH4 0x4E487B71 PUSH1 0xE0 SHL PUSH1 0x0 MSTORE PUSH1 0x21 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST DUP7 DUP7 ADD MSTORE PUSH1 0x40 SWAP2 DUP3 ADD MLOAD SWAP2 DUP7 ADD DUP11 SWAP1 MSTORE DUP2 MLOAD SWAP1 DUP2 SWAP1 MSTORE SWAP1 DUP5 ADD SWAP1 PUSH1 0x0 SWAP1 DUP10 DUP8 ADD SWAP1 JUMPDEST DUP1 DUP4 LT ISZERO PUSH3 0x152B JUMPI DUP4 MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xE0 SHL SUB NOT AND DUP3 MSTORE SWAP3 DUP7 ADD SWAP3 PUSH1 0x1 SWAP3 SWAP1 SWAP3 ADD SWAP2 SWAP1 DUP7 ADD SWAP1 PUSH3 0x14FF JUMP JUMPDEST POP SWAP8 DUP6 ADD SWAP8 SWAP6 POP POP POP SWAP1 DUP3 ADD SWAP1 PUSH1 0x1 ADD PUSH3 0x1495 JUMP JUMPDEST POP POP PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP11 AND SWAP1 DUP9 ADD MSTORE DUP7 DUP2 SUB PUSH1 0x40 DUP9 ADD MSTORE PUSH3 0x1565 DUP2 DUP10 PUSH3 0x143E JUMP JUMPDEST SWAP11 SWAP10 POP POP POP POP POP POP POP POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x1 PUSH1 0x1 PUSH1 0x60 SHL SUB DUP3 DUP2 AND DUP1 DUP3 EQ ISZERO PUSH3 0x1593 JUMPI PUSH3 0x1593 PUSH3 0x13DB JUMP JUMPDEST PUSH1 0x1 ADD SWAP4 SWAP3 POP POP POP JUMP JUMPDEST PUSH1 0x0 DUP3 MLOAD PUSH3 0x15B1 DUP2 DUP5 PUSH1 0x20 DUP8 ADD PUSH3 0x140F JUMP JUMPDEST SWAP2 SWAP1 SWAP2 ADD SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x20 DUP2 MSTORE PUSH1 0x0 PUSH3 0x15D0 PUSH1 0x20 DUP4 ADD DUP5 PUSH3 0x143E JUMP JUMPDEST SWAP4 SWAP3 POP POP POP JUMP JUMPDEST PUSH1 0x0 DUP3 DUP3 LT ISZERO PUSH3 0x15EC JUMPI PUSH3 0x15EC PUSH3 0x13DB JUMP JUMPDEST POP SUB SWAP1 JUMP JUMPDEST PUSH4 0x4E487B71 PUSH1 0xE0 SHL PUSH1 0x0 MSTORE PUSH1 0x31 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST PUSH2 0x1A49 DUP1 PUSH3 0x1617 PUSH1 0x0 CODECOPY PUSH1 0x0 RETURN INVALID PUSH1 0x80 PUSH1 0x40 MSTORE CALLDATASIZE PUSH2 0xB JUMPI STOP JUMPDEST PUSH1 0x0 DUP1 CALLDATALOAD PUSH32 0xFFFFFFFF00000000000000000000000000000000000000000000000000000000 AND DUP2 MSTORE PUSH32 0xC8FCAD8DB84D3CC18B4C41D551EA0EE66DD599CDE068D998E57D5E09332C131C PUSH1 0x20 DUP2 SWAP1 MSTORE PUSH1 0x40 SWAP1 SWAP2 KECCAK256 SLOAD DUP2 SWAP1 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP1 PUSH2 0xE3 JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD DUP2 SWAP1 MSTORE PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x4469616D6F6E643A2046756E6374696F6E20646F6573206E6F74206578697374 PUSH1 0x44 DUP3 ADD MSTORE PUSH1 0x64 ADD JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST CALLDATASIZE PUSH1 0x0 DUP1 CALLDATACOPY PUSH1 0x0 DUP1 CALLDATASIZE PUSH1 0x0 DUP5 GAS DELEGATECALL RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY DUP1 DUP1 ISZERO PUSH2 0x102 JUMPI RETURNDATASIZE PUSH1 0x0 RETURN JUMPDEST RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST PUSH1 0x0 JUMPDEST DUP4 MLOAD DUP2 LT ISZERO PUSH2 0x300 JUMPI PUSH1 0x0 DUP5 DUP3 DUP2 MLOAD DUP2 LT PUSH2 0x127 JUMPI PUSH2 0x127 PUSH2 0x167B JUMP JUMPDEST PUSH1 0x20 MUL PUSH1 0x20 ADD ADD MLOAD PUSH1 0x20 ADD MLOAD SWAP1 POP PUSH1 0x0 PUSH1 0x2 DUP2 GT ISZERO PUSH2 0x148 JUMPI PUSH2 0x148 PUSH2 0x16AA JUMP JUMPDEST DUP2 PUSH1 0x2 DUP2 GT ISZERO PUSH2 0x15A JUMPI PUSH2 0x15A PUSH2 0x16AA JUMP JUMPDEST EQ ISZERO PUSH2 0x1A9 JUMPI PUSH2 0x1A4 DUP6 DUP4 DUP2 MLOAD DUP2 LT PUSH2 0x175 JUMPI PUSH2 0x175 PUSH2 0x167B JUMP JUMPDEST PUSH1 0x20 MUL PUSH1 0x20 ADD ADD MLOAD PUSH1 0x0 ADD MLOAD DUP7 DUP5 DUP2 MLOAD DUP2 LT PUSH2 0x193 JUMPI PUSH2 0x193 PUSH2 0x167B JUMP JUMPDEST PUSH1 0x20 MUL PUSH1 0x20 ADD ADD MLOAD PUSH1 0x40 ADD MLOAD PUSH2 0x429 JUMP JUMPDEST PUSH2 0x2ED JUMP JUMPDEST PUSH1 0x1 DUP2 PUSH1 0x2 DUP2 GT ISZERO PUSH2 0x1BD JUMPI PUSH2 0x1BD PUSH2 0x16AA JUMP JUMPDEST EQ ISZERO PUSH2 0x207 JUMPI PUSH2 0x1A4 DUP6 DUP4 DUP2 MLOAD DUP2 LT PUSH2 0x1D8 JUMPI PUSH2 0x1D8 PUSH2 0x167B JUMP JUMPDEST PUSH1 0x20 MUL PUSH1 0x20 ADD ADD MLOAD PUSH1 0x0 ADD MLOAD DUP7 DUP5 DUP2 MLOAD DUP2 LT PUSH2 0x1F6 JUMPI PUSH2 0x1F6 PUSH2 0x167B JUMP JUMPDEST PUSH1 0x20 MUL PUSH1 0x20 ADD ADD MLOAD PUSH1 0x40 ADD MLOAD PUSH2 0x7DC JUMP JUMPDEST PUSH1 0x2 DUP2 PUSH1 0x2 DUP2 GT ISZERO PUSH2 0x21B JUMPI PUSH2 0x21B PUSH2 0x16AA JUMP JUMPDEST EQ ISZERO PUSH2 0x265 JUMPI PUSH2 0x1A4 DUP6 DUP4 DUP2 MLOAD DUP2 LT PUSH2 0x236 JUMPI PUSH2 0x236 PUSH2 0x167B JUMP JUMPDEST PUSH1 0x20 MUL PUSH1 0x20 ADD ADD MLOAD PUSH1 0x0 ADD MLOAD DUP7 DUP5 DUP2 MLOAD DUP2 LT PUSH2 0x254 JUMPI PUSH2 0x254 PUSH2 0x167B JUMP JUMPDEST PUSH1 0x20 MUL PUSH1 0x20 ADD ADD MLOAD PUSH1 0x40 ADD MLOAD PUSH2 0xB99 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x27 PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x4C69624469616D6F6E644375743A20496E636F72726563742046616365744375 PUSH1 0x44 DUP3 ADD MSTORE PUSH32 0x74416374696F6E00000000000000000000000000000000000000000000000000 PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 ADD PUSH2 0xDA JUMP JUMPDEST POP DUP1 PUSH2 0x2F8 DUP2 PUSH2 0x1708 JUMP JUMPDEST SWAP2 POP POP PUSH2 0x10A JUMP JUMPDEST POP PUSH32 0x8FAA70878671CCD212D20771B795C50AF8FD3FF6CF27F4BDE57E5D4DE0AEB673 DUP4 DUP4 DUP4 PUSH1 0x40 MLOAD PUSH2 0x334 SWAP4 SWAP3 SWAP2 SWAP1 PUSH2 0x17B7 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 LOG1 PUSH2 0x346 DUP3 DUP3 PUSH2 0xD8C JUMP JUMPDEST POP POP POP JUMP JUMPDEST PUSH32 0xC8FCAD8DB84D3CC18B4C41D551EA0EE66DD599CDE068D998E57D5E09332C1320 DUP1 SLOAD PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFF0000000000000000000000000000000000000000 DUP2 AND PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP5 DUP2 AND SWAP2 DUP3 OR SWAP1 SWAP4 SSTORE PUSH1 0x40 MLOAD PUSH32 0xC8FCAD8DB84D3CC18B4C41D551EA0EE66DD599CDE068D998E57D5E09332C131C SWAP4 SWAP1 SWAP3 AND SWAP2 DUP3 SWAP1 PUSH32 0x8BE0079C531659141344CD1FD0A4F28419497F9722A3DAAFE3B4186F6B6457E0 SWAP1 PUSH1 0x0 SWAP1 LOG3 POP POP POP JUMP JUMPDEST PUSH32 0xC8FCAD8DB84D3CC18B4C41D551EA0EE66DD599CDE068D998E57D5E09332C131C SWAP1 JUMP JUMPDEST PUSH1 0x0 DUP2 MLOAD GT PUSH2 0x4BA JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x2B PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x4C69624469616D6F6E644375743A204E6F2073656C6563746F727320696E2066 PUSH1 0x44 DUP3 ADD MSTORE PUSH32 0x6163657420746F20637574000000000000000000000000000000000000000000 PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 ADD PUSH2 0xDA JUMP JUMPDEST PUSH32 0xC8FCAD8DB84D3CC18B4C41D551EA0EE66DD599CDE068D998E57D5E09332C131C PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP4 AND PUSH2 0x57E JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x2C PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x4C69624469616D6F6E644375743A204164642066616365742063616E27742062 PUSH1 0x44 DUP3 ADD MSTORE PUSH32 0x6520616464726573732830290000000000000000000000000000000000000000 PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 ADD PUSH2 0xDA JUMP JUMPDEST PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP4 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x1 DUP3 ADD PUSH1 0x20 MSTORE PUSH1 0x40 SWAP1 KECCAK256 SLOAD PUSH12 0xFFFFFFFFFFFFFFFFFFFFFFFF DUP2 AND PUSH2 0x5C3 JUMPI PUSH2 0x5C3 DUP3 DUP6 PUSH2 0x103F JUMP JUMPDEST PUSH1 0x0 JUMPDEST DUP4 MLOAD DUP2 LT ISZERO PUSH2 0x7D5 JUMPI PUSH1 0x0 DUP5 DUP3 DUP2 MLOAD DUP2 LT PUSH2 0x5E3 JUMPI PUSH2 0x5E3 PUSH2 0x167B JUMP JUMPDEST PUSH1 0x20 SWAP1 DUP2 MUL SWAP2 SWAP1 SWAP2 ADD DUP2 ADD MLOAD PUSH32 0xFFFFFFFF00000000000000000000000000000000000000000000000000000000 DUP2 AND PUSH1 0x0 SWAP1 DUP2 MSTORE SWAP2 DUP7 SWAP1 MSTORE PUSH1 0x40 SWAP1 SWAP2 KECCAK256 SLOAD SWAP1 SWAP2 POP PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP1 ISZERO PUSH2 0x6C8 JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x35 PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x4C69624469616D6F6E644375743A2043616E2774206164642066756E6374696F PUSH1 0x44 DUP3 ADD MSTORE PUSH32 0x6E207468617420616C7265616479206578697374730000000000000000000000 PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 ADD PUSH2 0xDA JUMP JUMPDEST PUSH32 0xFFFFFFFF00000000000000000000000000000000000000000000000000000000 DUP3 AND PUSH1 0x0 DUP2 DUP2 MSTORE PUSH1 0x20 DUP8 DUP2 MSTORE PUSH1 0x40 DUP1 DUP4 KECCAK256 DUP1 SLOAD PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF SWAP1 DUP2 AND PUSH21 0x10000000000000000000000000000000000000000 PUSH12 0xFFFFFFFFFFFFFFFFFFFFFFFF DUP13 AND MUL OR DUP3 SSTORE DUP13 AND DUP1 DUP6 MSTORE PUSH1 0x1 DUP1 DUP13 ADD DUP6 MSTORE SWAP3 DUP6 KECCAK256 DUP1 SLOAD SWAP4 DUP5 ADD DUP2 SSTORE DUP6 MSTORE DUP4 DUP6 KECCAK256 PUSH1 0x8 DUP5 DIV ADD DUP1 SLOAD PUSH4 0xFFFFFFFF PUSH1 0x7 SWAP1 SWAP6 AND PUSH1 0x4 MUL PUSH2 0x100 EXP SWAP5 DUP6 MUL NOT AND PUSH1 0xE0 DUP11 SWAP1 SHR SWAP5 SWAP1 SWAP5 MUL SWAP4 SWAP1 SWAP4 OR SWAP1 SWAP3 SSTORE SWAP4 SWAP1 SWAP3 MSTORE DUP8 SWAP1 MSTORE DUP2 SLOAD PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFF0000000000000000000000000000000000000000 AND OR SWAP1 SSTORE DUP4 PUSH2 0x7BD DUP2 PUSH2 0x191F JUMP JUMPDEST SWAP5 POP POP POP POP DUP1 DUP1 PUSH2 0x7CD SWAP1 PUSH2 0x1708 JUMP JUMPDEST SWAP2 POP POP PUSH2 0x5C6 JUMP JUMPDEST POP POP POP POP POP JUMP JUMPDEST PUSH1 0x0 DUP2 MLOAD GT PUSH2 0x86D JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x2B PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x4C69624469616D6F6E644375743A204E6F2073656C6563746F727320696E2066 PUSH1 0x44 DUP3 ADD MSTORE PUSH32 0x6163657420746F20637574000000000000000000000000000000000000000000 PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 ADD PUSH2 0xDA JUMP JUMPDEST PUSH32 0xC8FCAD8DB84D3CC18B4C41D551EA0EE66DD599CDE068D998E57D5E09332C131C PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP4 AND PUSH2 0x931 JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x2C PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x4C69624469616D6F6E644375743A204164642066616365742063616E27742062 PUSH1 0x44 DUP3 ADD MSTORE PUSH32 0x6520616464726573732830290000000000000000000000000000000000000000 PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 ADD PUSH2 0xDA JUMP JUMPDEST PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP4 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x1 DUP3 ADD PUSH1 0x20 MSTORE PUSH1 0x40 SWAP1 KECCAK256 SLOAD PUSH12 0xFFFFFFFFFFFFFFFFFFFFFFFF DUP2 AND PUSH2 0x976 JUMPI PUSH2 0x976 DUP3 DUP6 PUSH2 0x103F JUMP JUMPDEST PUSH1 0x0 JUMPDEST DUP4 MLOAD DUP2 LT ISZERO PUSH2 0x7D5 JUMPI PUSH1 0x0 DUP5 DUP3 DUP2 MLOAD DUP2 LT PUSH2 0x996 JUMPI PUSH2 0x996 PUSH2 0x167B JUMP JUMPDEST PUSH1 0x20 SWAP1 DUP2 MUL SWAP2 SWAP1 SWAP2 ADD DUP2 ADD MLOAD PUSH32 0xFFFFFFFF00000000000000000000000000000000000000000000000000000000 DUP2 AND PUSH1 0x0 SWAP1 DUP2 MSTORE SWAP2 DUP7 SWAP1 MSTORE PUSH1 0x40 SWAP1 SWAP2 KECCAK256 SLOAD SWAP1 SWAP2 POP PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF SWAP1 DUP2 AND SWAP1 DUP8 AND DUP2 EQ ISZERO PUSH2 0xA81 JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x38 PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x4C69624469616D6F6E644375743A2043616E2774207265706C6163652066756E PUSH1 0x44 DUP3 ADD MSTORE PUSH32 0x6374696F6E20776974682073616D652066756E6374696F6E0000000000000000 PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 ADD PUSH2 0xDA JUMP JUMPDEST PUSH2 0xA8C DUP6 DUP3 DUP5 PUSH2 0x10CE JUMP JUMPDEST PUSH32 0xFFFFFFFF00000000000000000000000000000000000000000000000000000000 DUP3 AND PUSH1 0x0 DUP2 DUP2 MSTORE PUSH1 0x20 DUP8 DUP2 MSTORE PUSH1 0x40 DUP1 DUP4 KECCAK256 DUP1 SLOAD PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF SWAP1 DUP2 AND PUSH21 0x10000000000000000000000000000000000000000 PUSH12 0xFFFFFFFFFFFFFFFFFFFFFFFF DUP13 AND MUL OR DUP3 SSTORE DUP13 AND DUP1 DUP6 MSTORE PUSH1 0x1 DUP1 DUP13 ADD DUP6 MSTORE SWAP3 DUP6 KECCAK256 DUP1 SLOAD SWAP4 DUP5 ADD DUP2 SSTORE DUP6 MSTORE DUP4 DUP6 KECCAK256 PUSH1 0x8 DUP5 DIV ADD DUP1 SLOAD PUSH4 0xFFFFFFFF PUSH1 0x7 SWAP1 SWAP6 AND PUSH1 0x4 MUL PUSH2 0x100 EXP SWAP5 DUP6 MUL NOT AND PUSH1 0xE0 DUP11 SWAP1 SHR SWAP5 SWAP1 SWAP5 MUL SWAP4 SWAP1 SWAP4 OR SWAP1 SWAP3 SSTORE SWAP4 SWAP1 SWAP3 MSTORE DUP8 SWAP1 MSTORE DUP2 SLOAD PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFF0000000000000000000000000000000000000000 AND OR SWAP1 SSTORE DUP4 PUSH2 0xB81 DUP2 PUSH2 0x191F JUMP JUMPDEST SWAP5 POP POP POP POP DUP1 DUP1 PUSH2 0xB91 SWAP1 PUSH2 0x1708 JUMP JUMPDEST SWAP2 POP POP PUSH2 0x979 JUMP JUMPDEST PUSH1 0x0 DUP2 MLOAD GT PUSH2 0xC2A JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x2B PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x4C69624469616D6F6E644375743A204E6F2073656C6563746F727320696E2066 PUSH1 0x44 DUP3 ADD MSTORE PUSH32 0x6163657420746F20637574000000000000000000000000000000000000000000 PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 ADD PUSH2 0xDA JUMP JUMPDEST PUSH32 0xC8FCAD8DB84D3CC18B4C41D551EA0EE66DD599CDE068D998E57D5E09332C131C PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP4 AND ISZERO PUSH2 0xCEF JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x36 PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x4C69624469616D6F6E644375743A2052656D6F76652066616365742061646472 PUSH1 0x44 DUP3 ADD MSTORE PUSH32 0x657373206D757374206265206164647265737328302900000000000000000000 PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 ADD PUSH2 0xDA JUMP JUMPDEST PUSH1 0x0 JUMPDEST DUP3 MLOAD DUP2 LT ISZERO PUSH2 0xD86 JUMPI PUSH1 0x0 DUP4 DUP3 DUP2 MLOAD DUP2 LT PUSH2 0xD0F JUMPI PUSH2 0xD0F PUSH2 0x167B JUMP JUMPDEST PUSH1 0x20 SWAP1 DUP2 MUL SWAP2 SWAP1 SWAP2 ADD DUP2 ADD MLOAD PUSH32 0xFFFFFFFF00000000000000000000000000000000000000000000000000000000 DUP2 AND PUSH1 0x0 SWAP1 DUP2 MSTORE SWAP2 DUP6 SWAP1 MSTORE PUSH1 0x40 SWAP1 SWAP2 KECCAK256 SLOAD SWAP1 SWAP2 POP PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH2 0xD71 DUP5 DUP3 DUP5 PUSH2 0x10CE JUMP JUMPDEST POP POP DUP1 DUP1 PUSH2 0xD7E SWAP1 PUSH2 0x1708 JUMP JUMPDEST SWAP2 POP POP PUSH2 0xCF2 JUMP JUMPDEST POP POP POP POP JUMP JUMPDEST PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP3 AND PUSH2 0xE3A JUMPI DUP1 MLOAD ISZERO PUSH2 0xE36 JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x3C PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x4C69624469616D6F6E644375743A205F696E6974206973206164647265737328 PUSH1 0x44 DUP3 ADD MSTORE PUSH32 0x3029206275745F63616C6C64617461206973206E6F7420656D70747900000000 PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 ADD PUSH2 0xDA JUMP JUMPDEST POP POP JUMP JUMPDEST PUSH1 0x0 DUP2 MLOAD GT PUSH2 0xECB JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x3D PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x4C69624469616D6F6E644375743A205F63616C6C6461746120697320656D7074 PUSH1 0x44 DUP3 ADD MSTORE PUSH32 0x7920627574205F696E6974206973206E6F742061646472657373283029000000 PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 ADD PUSH2 0xDA JUMP JUMPDEST PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP3 AND ADDRESS EQ PUSH2 0xF0A JUMPI PUSH2 0xF0A DUP3 PUSH1 0x40 MLOAD DUP1 PUSH1 0x60 ADD PUSH1 0x40 MSTORE DUP1 PUSH1 0x28 DUP2 MSTORE PUSH1 0x20 ADD PUSH2 0x19C8 PUSH1 0x28 SWAP2 CODECOPY PUSH2 0x1640 JUMP JUMPDEST PUSH1 0x0 DUP1 DUP4 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP4 PUSH1 0x40 MLOAD PUSH2 0xF32 SWAP2 SWAP1 PUSH2 0x194B JUMP JUMPDEST PUSH1 0x0 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP6 GAS DELEGATECALL SWAP2 POP POP RETURNDATASIZE DUP1 PUSH1 0x0 DUP2 EQ PUSH2 0xF6D JUMPI PUSH1 0x40 MLOAD SWAP2 POP PUSH1 0x1F NOT PUSH1 0x3F RETURNDATASIZE ADD AND DUP3 ADD PUSH1 0x40 MSTORE RETURNDATASIZE DUP3 MSTORE RETURNDATASIZE PUSH1 0x0 PUSH1 0x20 DUP5 ADD RETURNDATACOPY PUSH2 0xF72 JUMP JUMPDEST PUSH1 0x60 SWAP2 POP JUMPDEST POP SWAP2 POP SWAP2 POP DUP2 PUSH2 0xD86 JUMPI DUP1 MLOAD ISZERO PUSH2 0xFB7 JUMPI DUP1 PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0xDA SWAP2 SWAP1 PUSH2 0x1967 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x26 PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x4C69624469616D6F6E644375743A205F696E69742066756E6374696F6E207265 PUSH1 0x44 DUP3 ADD MSTORE PUSH32 0x7665727465640000000000000000000000000000000000000000000000000000 PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 ADD PUSH2 0xDA JUMP JUMPDEST PUSH2 0x1061 DUP2 PUSH1 0x40 MLOAD DUP1 PUSH1 0x60 ADD PUSH1 0x40 MSTORE DUP1 PUSH1 0x24 DUP2 MSTORE PUSH1 0x20 ADD PUSH2 0x19F0 PUSH1 0x24 SWAP2 CODECOPY PUSH2 0x1640 JUMP JUMPDEST PUSH1 0x2 DUP3 ADD DUP1 SLOAD PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF SWAP1 SWAP3 AND PUSH1 0x0 DUP2 DUP2 MSTORE PUSH1 0x1 SWAP5 DUP6 ADD PUSH1 0x20 SWAP1 DUP2 MSTORE PUSH1 0x40 DUP3 KECCAK256 DUP7 ADD DUP6 SWAP1 SSTORE SWAP5 DUP5 ADD DUP4 SSTORE SWAP2 DUP3 MSTORE SWAP3 SWAP1 KECCAK256 ADD DUP1 SLOAD PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFF0000000000000000000000000000000000000000 AND SWAP1 SWAP2 OR SWAP1 SSTORE JUMP JUMPDEST PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP3 AND PUSH2 0x1171 JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x37 PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x4C69624469616D6F6E644375743A2043616E27742072656D6F76652066756E63 PUSH1 0x44 DUP3 ADD MSTORE PUSH32 0x74696F6E207468617420646F65736E2774206578697374000000000000000000 PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 ADD PUSH2 0xDA JUMP JUMPDEST PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP3 AND ADDRESS EQ ISZERO PUSH2 0x1217 JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x2E PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x4C69624469616D6F6E644375743A2043616E27742072656D6F766520696D6D75 PUSH1 0x44 DUP3 ADD MSTORE PUSH32 0x7461626C652066756E6374696F6E000000000000000000000000000000000000 PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 ADD PUSH2 0xDA JUMP JUMPDEST PUSH32 0xFFFFFFFF00000000000000000000000000000000000000000000000000000000 DUP2 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x20 DUP5 DUP2 MSTORE PUSH1 0x40 DUP1 DUP4 KECCAK256 SLOAD PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP7 AND DUP5 MSTORE PUSH1 0x1 DUP1 DUP9 ADD SWAP1 SWAP4 MSTORE SWAP1 DUP4 KECCAK256 SLOAD PUSH21 0x10000000000000000000000000000000000000000 SWAP1 SWAP2 DIV PUSH12 0xFFFFFFFFFFFFFFFFFFFFFFFF AND SWAP3 SWAP2 PUSH2 0x12A1 SWAP2 PUSH2 0x1981 JUMP JUMPDEST SWAP1 POP DUP1 DUP3 EQ PUSH2 0x13E8 JUMPI PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP5 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x1 DUP7 ADD PUSH1 0x20 MSTORE PUSH1 0x40 DUP2 KECCAK256 DUP1 SLOAD DUP4 SWAP1 DUP2 LT PUSH2 0x12E3 JUMPI PUSH2 0x12E3 PUSH2 0x167B JUMP JUMPDEST PUSH1 0x0 SWAP2 DUP3 MSTORE PUSH1 0x20 DUP1 DUP4 KECCAK256 PUSH1 0x8 DUP4 DIV ADD SLOAD PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP10 AND DUP5 MSTORE PUSH1 0x1 DUP11 ADD SWAP1 SWAP2 MSTORE PUSH1 0x40 SWAP1 SWAP3 KECCAK256 DUP1 SLOAD PUSH1 0x7 SWAP1 SWAP3 AND PUSH1 0x4 MUL PUSH2 0x100 EXP SWAP1 SWAP3 DIV PUSH1 0xE0 SHL SWAP3 POP DUP3 SWAP2 SWAP1 DUP6 SWAP1 DUP2 LT PUSH2 0x1341 JUMPI PUSH2 0x1341 PUSH2 0x167B JUMP JUMPDEST PUSH1 0x0 SWAP2 DUP3 MSTORE PUSH1 0x20 DUP1 DUP4 KECCAK256 PUSH1 0x8 DUP4 DIV ADD DUP1 SLOAD PUSH4 0xFFFFFFFF PUSH1 0x7 SWAP1 SWAP5 AND PUSH1 0x4 MUL PUSH2 0x100 EXP SWAP4 DUP5 MUL NOT AND PUSH1 0xE0 SWAP6 SWAP1 SWAP6 SHR SWAP3 SWAP1 SWAP3 MUL SWAP4 SWAP1 SWAP4 OR SWAP1 SSTORE PUSH32 0xFFFFFFFF00000000000000000000000000000000000000000000000000000000 SWAP3 SWAP1 SWAP3 AND DUP3 MSTORE DUP7 SWAP1 MSTORE PUSH1 0x40 SWAP1 KECCAK256 DUP1 SLOAD PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH21 0x10000000000000000000000000000000000000000 PUSH12 0xFFFFFFFFFFFFFFFFFFFFFFFF DUP6 AND MUL OR SWAP1 SSTORE JUMPDEST PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP5 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x1 DUP7 ADD PUSH1 0x20 MSTORE PUSH1 0x40 SWAP1 KECCAK256 DUP1 SLOAD DUP1 PUSH2 0x141E JUMPI PUSH2 0x141E PUSH2 0x1998 JUMP JUMPDEST PUSH1 0x0 DUP3 DUP2 MSTORE PUSH1 0x20 DUP1 DUP3 KECCAK256 PUSH1 0x8 PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF SWAP1 SWAP5 ADD SWAP4 DUP5 DIV ADD DUP1 SLOAD PUSH4 0xFFFFFFFF PUSH1 0x4 PUSH1 0x7 DUP8 AND MUL PUSH2 0x100 EXP MUL NOT AND SWAP1 SSTORE SWAP2 SWAP1 SWAP3 SSTORE PUSH32 0xFFFFFFFF00000000000000000000000000000000000000000000000000000000 DUP6 AND DUP3 MSTORE DUP7 SWAP1 MSTORE PUSH1 0x40 DUP2 KECCAK256 SSTORE DUP1 PUSH2 0x7D5 JUMPI PUSH1 0x2 DUP6 ADD SLOAD PUSH1 0x0 SWAP1 PUSH2 0x14B3 SWAP1 PUSH1 0x1 SWAP1 PUSH2 0x1981 JUMP JUMPDEST PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP7 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x1 DUP1 DUP10 ADD PUSH1 0x20 MSTORE PUSH1 0x40 SWAP1 SWAP2 KECCAK256 ADD SLOAD SWAP1 SWAP2 POP DUP1 DUP3 EQ PUSH2 0x15A1 JUMPI PUSH1 0x0 DUP8 PUSH1 0x2 ADD DUP4 DUP2 SLOAD DUP2 LT PUSH2 0x14FF JUMPI PUSH2 0x14FF PUSH2 0x167B JUMP JUMPDEST PUSH1 0x0 SWAP2 DUP3 MSTORE PUSH1 0x20 SWAP1 SWAP2 KECCAK256 ADD SLOAD PUSH1 0x2 DUP10 ADD DUP1 SLOAD PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF SWAP1 SWAP3 AND SWAP3 POP DUP3 SWAP2 DUP5 SWAP1 DUP2 LT PUSH2 0x153D JUMPI PUSH2 0x153D PUSH2 0x167B JUMP JUMPDEST PUSH1 0x0 SWAP2 DUP3 MSTORE PUSH1 0x20 DUP1 DUP4 KECCAK256 SWAP2 SWAP1 SWAP2 ADD DUP1 SLOAD PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFF0000000000000000000000000000000000000000 AND PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF SWAP5 DUP6 AND OR SWAP1 SSTORE SWAP3 SWAP1 SWAP2 AND DUP2 MSTORE PUSH1 0x1 DUP10 DUP2 ADD SWAP1 SWAP3 MSTORE PUSH1 0x40 SWAP1 KECCAK256 ADD DUP2 SWAP1 SSTORE JUMPDEST DUP7 PUSH1 0x2 ADD DUP1 SLOAD DUP1 PUSH2 0x15B4 JUMPI PUSH2 0x15B4 PUSH2 0x1998 JUMP JUMPDEST PUSH1 0x0 DUP3 DUP2 MSTORE PUSH1 0x20 DUP1 DUP3 KECCAK256 DUP4 ADD PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF SWAP1 DUP2 ADD DUP1 SLOAD PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFF0000000000000000000000000000000000000000 AND SWAP1 SSTORE SWAP1 SWAP3 ADD SWAP1 SWAP3 SSTORE PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP9 AND DUP3 MSTORE PUSH1 0x1 DUP10 DUP2 ADD SWAP1 SWAP2 MSTORE PUSH1 0x40 DUP3 KECCAK256 ADD SSTORE POP POP POP POP POP POP POP JUMP JUMPDEST DUP2 EXTCODESIZE DUP2 DUP2 PUSH2 0xD86 JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0xDA SWAP2 SWAP1 PUSH2 0x1967 JUMP JUMPDEST PUSH32 0x4E487B7100000000000000000000000000000000000000000000000000000000 PUSH1 0x0 MSTORE PUSH1 0x32 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST PUSH32 0x4E487B7100000000000000000000000000000000000000000000000000000000 PUSH1 0x0 MSTORE PUSH1 0x21 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST PUSH32 0x4E487B7100000000000000000000000000000000000000000000000000000000 PUSH1 0x0 MSTORE PUSH1 0x11 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST PUSH1 0x0 PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP3 EQ ISZERO PUSH2 0x173A JUMPI PUSH2 0x173A PUSH2 0x16D9 JUMP JUMPDEST POP PUSH1 0x1 ADD SWAP1 JUMP JUMPDEST PUSH1 0x0 JUMPDEST DUP4 DUP2 LT ISZERO PUSH2 0x175C JUMPI DUP2 DUP2 ADD MLOAD DUP4 DUP3 ADD MSTORE PUSH1 0x20 ADD PUSH2 0x1744 JUMP JUMPDEST DUP4 DUP2 GT ISZERO PUSH2 0xD86 JUMPI POP POP PUSH1 0x0 SWAP2 ADD MSTORE JUMP JUMPDEST PUSH1 0x0 DUP2 MLOAD DUP1 DUP5 MSTORE PUSH2 0x1785 DUP2 PUSH1 0x20 DUP7 ADD PUSH1 0x20 DUP7 ADD PUSH2 0x1741 JUMP JUMPDEST PUSH1 0x1F ADD PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFE0 AND SWAP3 SWAP1 SWAP3 ADD PUSH1 0x20 ADD SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x60 DUP1 DUP4 ADD DUP2 DUP5 MSTORE DUP1 DUP8 MLOAD DUP1 DUP4 MSTORE PUSH1 0x80 SWAP3 POP DUP3 DUP7 ADD SWAP2 POP DUP3 DUP2 PUSH1 0x5 SHL DUP8 ADD ADD PUSH1 0x20 DUP1 DUP12 ADD PUSH1 0x0 JUMPDEST DUP5 DUP2 LT ISZERO PUSH2 0x18E2 JUMPI PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF80 DUP11 DUP6 SUB ADD DUP7 MSTORE DUP2 MLOAD DUP9 DUP6 ADD PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP3 MLOAD AND DUP7 MSTORE DUP5 DUP3 ADD MLOAD PUSH1 0x3 DUP2 LT PUSH2 0x1869 JUMPI PUSH32 0x4E487B7100000000000000000000000000000000000000000000000000000000 PUSH1 0x0 MSTORE PUSH1 0x21 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST DUP7 DUP7 ADD MSTORE PUSH1 0x40 SWAP2 DUP3 ADD MLOAD SWAP2 DUP7 ADD DUP11 SWAP1 MSTORE DUP2 MLOAD SWAP1 DUP2 SWAP1 MSTORE SWAP1 DUP5 ADD SWAP1 PUSH1 0x0 SWAP1 DUP10 DUP8 ADD SWAP1 JUMPDEST DUP1 DUP4 LT ISZERO PUSH2 0x18CD JUMPI DUP4 MLOAD PUSH32 0xFFFFFFFF00000000000000000000000000000000000000000000000000000000 AND DUP3 MSTORE SWAP3 DUP7 ADD SWAP3 PUSH1 0x1 SWAP3 SWAP1 SWAP3 ADD SWAP2 SWAP1 DUP7 ADD SWAP1 PUSH2 0x188B JUMP JUMPDEST POP SWAP8 DUP6 ADD SWAP8 SWAP6 POP POP POP SWAP1 DUP3 ADD SWAP1 PUSH1 0x1 ADD PUSH2 0x17E0 JUMP JUMPDEST POP POP PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP11 AND SWAP1 DUP9 ADD MSTORE DUP7 DUP2 SUB PUSH1 0x40 DUP9 ADD MSTORE PUSH2 0x1911 DUP2 DUP10 PUSH2 0x176D JUMP JUMPDEST SWAP11 SWAP10 POP POP POP POP POP POP POP POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH12 0xFFFFFFFFFFFFFFFFFFFFFFFF DUP1 DUP4 AND DUP2 DUP2 EQ ISZERO PUSH2 0x1941 JUMPI PUSH2 0x1941 PUSH2 0x16D9 JUMP JUMPDEST PUSH1 0x1 ADD SWAP4 SWAP3 POP POP POP JUMP JUMPDEST PUSH1 0x0 DUP3 MLOAD PUSH2 0x195D DUP2 DUP5 PUSH1 0x20 DUP8 ADD PUSH2 0x1741 JUMP JUMPDEST SWAP2 SWAP1 SWAP2 ADD SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x20 DUP2 MSTORE PUSH1 0x0 PUSH2 0x197A PUSH1 0x20 DUP4 ADD DUP5 PUSH2 0x176D JUMP JUMPDEST SWAP4 SWAP3 POP POP POP JUMP JUMPDEST PUSH1 0x0 DUP3 DUP3 LT ISZERO PUSH2 0x1993 JUMPI PUSH2 0x1993 PUSH2 0x16D9 JUMP JUMPDEST POP SUB SWAP1 JUMP JUMPDEST PUSH32 0x4E487B7100000000000000000000000000000000000000000000000000000000 PUSH1 0x0 MSTORE PUSH1 0x31 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT INVALID 0x4C PUSH10 0x624469616D6F6E644375 PUSH21 0x3A205F696E6974206164647265737320686173206E PUSH16 0x20636F64654C69624469616D6F6E6443 PUSH22 0x743A204E657720666163657420686173206E6F20636F PUSH5 0x65A2646970 PUSH7 0x7358221220A164 CREATE2 0xC0 0xA5 0xFB CODESIZE DUP4 PUSH16 0x80DB7C0D13BA057B758BB3BDF1D37D32 CREATE SWAP8 0xAD DUP10 DUP9 0x27 PUSH13 0x64736F6C63430008090033C8FC 0xAD DUP14 0xB8 0x4D EXTCODECOPY 0xC1 DUP12 0x4C COINBASE 0xD5 MLOAD 0xEA 0xE 0xE6 PUSH14 0xD599CDE068D998E57D5E09332C13 SHR 0x4C PUSH10 0x624469616D6F6E644375 PUSH21 0x3A205F696E6974206164647265737320686173206E PUSH16 0x20636F64654C69624469616D6F6E6443 PUSH22 0x743A204164642066616365742063616E277420624C69 PUSH3 0x446961 PUSH14 0x6F6E644375743A204E6577206661 PUSH4 0x65742068 PUSH2 0x7320 PUSH15 0x6F20636F64654C69624469616D6F6E PUSH5 0x4375743A20 0x4E PUSH16 0x2073656C6563746F727320696E2066A2 PUSH5 0x6970667358 0x22 SLT KECCAK256 0xD1 PUSH9 0xB12DEB9403843A8384 EXTCODECOPY 0xBF CALLDATALOAD JUMPI 0xF 0xBA 0x2E NUMBER 0xD6 SHR 0xC7 JUMPDEST CALL 0xC1 DUP15 0xCC 0xC4 0xE3 DUP14 0xED JUMPDEST PUSH5 0x736F6C6343 STOP ADDMOD MULMOD STOP CALLER ", + "sourceMap": "273:3298:0:-:0;;;;;;;;;;;;;;;;;;;;;2676:893;;;;;;:::i;:::-;;:::i;:::-;;;1843:42:11;1831:55;;;1813:74;;1801:2;1786:18;2676:893:0;;;;;;;;2858:15;2889:74;;2885:461;;3013:4;3019:5;2996:29;;;;;;;;2055:19:11;;;2112:2;2108:15;2125:66;2104:88;2099:2;2090:12;;2083:110;2218:2;2209:12;;1898:329;2996:29:0;;;;;;;;;;;;;2986:40;;;;;;2979:47;;3069:9;3086:4;3050:151;3109:18;3145:42;;;;;;;;3180:4;3145:42;;;;;3050:151;;;;;:::i;:::-;;;;;;:::i;:::-;;;;;;;;;;;;-1:-1:-1;;3050:151:0;;;;;;;;;;;;;;;3040:161;;2885:461;;;3292:42;;;;;;;;3327:4;3292:42;;3242:93;;3261:9;;3272:18;;3242:93;;;:::i;:::-;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;3232:103;;2885:461;3360:23;;1843:42:11;1831:55;;1813:74;;3360:23:0;;1801:2:11;1786:18;3360:23:0;;;;;;;3394:40;;;;3435:11;;3448:15;:47;;3493:1;3448:47;;;3474:7;3448:47;3497:4;;3394:108;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;3512:50:0;;;;;:43;1831:55:11;;;3512:50:0;;;1813:74:11;3512:43:0;;;-1:-1:-1;3512:43:0;;-1:-1:-1;1786:18:11;;3512:50:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2676:893;;;;;;;;:::o;-1:-1:-1:-;;;;;;;;:::o;14:196:11:-;82:20;;142:42;131:54;;121:65;;111:93;;200:1;197;190:12;111:93;14:196;;;:::o;215:347::-;266:8;276:6;330:3;323:4;315:6;311:17;307:27;297:55;;348:1;345;338:12;297:55;-1:-1:-1;371:20:11;;414:18;403:30;;400:50;;;446:1;443;436:12;400:50;483:4;475:6;471:17;459:29;;535:3;528:4;519:6;511;507:19;503:30;500:39;497:59;;;552:1;549;542:12;497:59;215:347;;;;;:::o;567:1072::-;718:6;726;734;742;750;758;811:3;799:9;790:7;786:23;782:33;779:53;;;828:1;825;818:12;779:53;851:29;870:9;851:29;:::i;:::-;841:39;;931:2;920:9;916:18;903:32;954:18;995:2;987:6;984:14;981:34;;;1011:1;1008;1001:12;981:34;1049:6;1038:9;1034:22;1024:32;;1094:7;1087:4;1083:2;1079:13;1075:27;1065:55;;1116:1;1113;1106:12;1065:55;1156:2;1143:16;1182:2;1174:6;1171:14;1168:34;;;1198:1;1195;1188:12;1168:34;1251:7;1246:2;1236:6;1233:1;1229:14;1225:2;1221:23;1217:32;1214:45;1211:65;;;1272:1;1269;1262:12;1211:65;1303:2;1299;1295:11;1285:21;;1325:6;1315:16;;;1384:2;1373:9;1369:18;1356:32;1340:48;;1413:2;1403:8;1400:16;1397:36;;;1429:1;1426;1419:12;1397:36;;1468:60;1520:7;1509:8;1498:9;1494:24;1468:60;:::i;:::-;567:1072;;;;-1:-1:-1;567:1072:11;;;;;1629:2;1614:18;;;1601:32;;567:1072;-1:-1:-1;;;;567:1072:11:o;2683:299::-;2769:1;2762:5;2759:12;2749:200;;2805:77;2802:1;2795:88;2906:4;2903:1;2896:15;2934:4;2931:1;2924:15;2749:200;2958:18;;2683:299::o;3292:4924::-;3562:4;3610:2;3599:9;3595:18;3640:2;3629:9;3622:21;3663:6;3698;3692:13;3729:6;3721;3714:22;3767:2;3756:9;3752:18;3745:25;;3829:2;3819:6;3816:1;3812:14;3801:9;3797:30;3793:39;3779:53;;3851:6;3848:1;3841:17;3877:4;3917:2;3914:1;3904:16;3938:1;3948:4173;3962:6;3959:1;3956:13;3948:4173;;;4051:66;4039:9;4031:6;4027:22;4023:95;4018:3;4011:108;4158:2;4150:6;4146:15;4197:6;4191:13;4247:42;4236:9;4232:58;4224:6;4217:74;4304:79;4379:2;4371:6;4367:15;4360:4;4348:9;4343:3;4339:19;4335:30;4304:79;:::i;:::-;-1:-1:-1;4492:2:11;4487;4475:15;;4468:27;4406:1;4440:15;;;4556:19;;2338;;;2498:1;2491:14;;;2390:4;2522:18;;;;2381:14;;4806:957;4850:8;4846:1;4833:11;4829:19;4826:33;4806:957;;;4987:8;4981:15;5013:40;5047:5;5040:4;5035:3;5031:14;3063:66;3052:78;3040:91;;2987:150;5013:40;5080:66;5189:3;5185:14;;;5181:23;;5206:14;;;3040:91;5264:3;5260:14;;;5256:23;;5292:2;5281:14;;3040:91;5339:3;5335:14;;;5331:23;;5367:2;5356:14;;3040:91;5388:58;5441:3;5434:5;5430:15;5425:2;5418:4;5414:2;5410:13;5406:22;3063:66;3052:78;3040:91;;2987:150;5388:58;5463;5516:3;5509:5;5505:15;5500:2;5493:4;5489:2;5485:13;5481:22;3063:66;3052:78;3040:91;;2987:150;5463:58;3063:66;5560:13;;;5556:22;;3052:78;;5591:3;5580:15;;3040:91;5631:13;;3052:78;5657:3;5646:15;;3040:91;5732:17;;;;4922:1;4905:19;;;;;5699:3;5688:15;;;;4806:957;;;5790:15;;;5821:25;;;5818:207;;;5877:42;5913:5;5904:6;5899:3;5895:16;3063:66;3052:78;3040:91;;2987:150;5877:42;5991:20;;;;5945:14;;;;5818:207;6057:8;6044:11;6041:25;6038:280;;;6123:3;6119:16;;;6137:66;6115:89;3040:91;;6284:20;;;;6238:14;;;;6038:280;6350:8;6337:11;6334:25;6331:280;;;6416:3;6412:16;;;6430:66;6408:89;3040:91;;6577:20;;;;6531:14;;;;6331:280;6643:8;6630:11;6627:25;6624:280;;;6709:3;6705:16;;;6723:66;6701:89;3040:91;;6870:20;;;;6824:14;;;;6624:280;6936:8;6923:11;6920:25;6917:279;;;7002:2;6998:15;;;7015:66;6994:88;3040:91;;7162:20;;;;7116:14;;;;6917:279;7228:8;7215:11;7212:25;7209:279;;;7294:2;7290:15;;;7307:66;7286:88;3040:91;;7454:20;;;;7408:14;;;;7209:279;7520:8;7507:11;7504:25;7501:279;;;7582:15;;;7599:66;7578:88;3040:91;;7746:20;;;;7700:14;;;;7501:279;7812:8;7799:11;7796:25;7793:218;;;7882:66;7870:79;;3040:91;;7983:14;;;;7793:218;-1:-1:-1;8034:5:11;-1:-1:-1;;;8099:12:11;;;;-1:-1:-1;8074:4:11;8062:17;;;;;3984:1;3977:9;3948:4173;;;3952:3;;8138:6;8130:14;;8153:57;8206:2;8195:9;8191:18;8183:6;3223:12;3237:42;3219:61;3207:74;;3142:145;8153:57;;;;;3292:4924;;;;;:::o;8221:630::-;8320:6;8315:3;8308:19;8290:3;8346:4;8375:2;8370:3;8366:12;8359:19;;8401:5;8424:1;8445;8455:371;8471:6;8466:3;8463:15;8455:371;;;8552:6;8539:20;8595:66;8586:7;8582:80;8697:2;8688:7;8685:15;8675:43;;8714:1;8711;8704:12;8675:43;8731:15;;-1:-1:-1;8766:12:11;;;;8801:15;;;;8497:1;8488:11;8455:371;;;-1:-1:-1;8842:3:11;;8221:630;-1:-1:-1;;;;;;8221:630:11:o;8856:325::-;8944:6;8939:3;8932:19;8996:6;8989:5;8982:4;8977:3;8973:14;8960:43;;9048:1;9041:4;9032:6;9027:3;9023:16;9019:27;9012:38;8914:3;9170:4;9100:66;9095:2;9087:6;9083:15;9079:88;9074:3;9070:98;9066:109;9059:116;;8856:325;;;;:::o;9186:2313::-;9503:2;9555:21;;;9528:18;;;9611:22;;;9474:4;;9687:1;9664:3;9649:19;;;;9730:15;;;9715:31;;9711:41;9775:6;9474:4;9809:1500;9823:6;9820:1;9817:13;9809:1500;;;9912:66;9900:9;9892:6;9888:22;9884:95;9879:3;9872:108;10032:6;10019:20;10119:66;10110:6;10094:14;10090:27;10086:100;10066:18;10062:125;10052:153;;10201:1;10198;10191:12;10052:153;10231:31;;10321:42;10294:25;10231:31;10294:25;:::i;:::-;10290:74;10282:6;10275:90;10388:4;10444:2;10437:5;10433:14;10420:28;10483:1;10474:7;10471:14;10461:42;;10499:1;10496;10489:12;10461:42;10516:56;10568:2;10560:6;10556:15;10547:7;10516:56;:::i;:::-;;10595:4;10664:2;10657:5;10653:14;10640:28;10749:66;10741:5;10725:14;10721:26;10717:99;10695:20;10691:126;10681:154;;10831:1;10828;10821:12;10681:154;10863:32;;10922:21;;10970:18;10959:30;;10956:50;;;11002:1;10999;10992:12;10956:50;11061:6;11057:2;11053:15;11037:14;11033:36;11026:5;11022:48;11019:68;;;11083:1;11080;11073:12;11019:68;11124:2;11119;11111:6;11107:15;11100:27;11150:79;11225:2;11217:6;11213:15;11205:6;11200:2;11191:7;11187:16;11150:79;:::i;:::-;11287:12;;;;11140:89;-1:-1:-1;;;11252:15:11;;;-1:-1:-1;;9845:1:11;9838:9;9809:1500;;;-1:-1:-1;;2628:42:11;2617:54;;11360:4;11345:20;;2605:67;11416:9;11408:6;11404:22;11397:4;11386:9;11382:20;11375:52;11444:49;11486:6;11478;11470;11444:49;:::i;:::-;11436:57;9186:2313;-1:-1:-1;;;;;;;;;;;9186:2313:11:o" }, "gasEstimates": { "creation": { - "codeDepositCost": "2869000", + "codeDepositCost": "3072200", "executionCost": "infinite", "totalCost": "infinite" }, @@ -7614,16 +8327,16 @@ "createDiamond(address,(address,uint8,bytes4[])[],bytes,bytes32)": "ccc2e316" } }, - "metadata": "{\"compiler\":{\"version\":\"0.7.6+commit.7338295f\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"contract Diamond\",\"name\":\"diamond\",\"type\":\"address\"}],\"name\":\"DiamondCreated\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"components\":[{\"internalType\":\"address\",\"name\":\"facetAddress\",\"type\":\"address\"},{\"internalType\":\"enum IDiamondCut.FacetCutAction\",\"name\":\"action\",\"type\":\"uint8\"},{\"internalType\":\"bytes4[]\",\"name\":\"functionSelectors\",\"type\":\"bytes4[]\"}],\"internalType\":\"struct IDiamondCut.FacetCut[]\",\"name\":\"_diamondCut\",\"type\":\"tuple[]\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"},{\"internalType\":\"bytes32\",\"name\":\"salt\",\"type\":\"bytes32\"}],\"name\":\"createDiamond\",\"outputs\":[{\"internalType\":\"contract Diamond\",\"name\":\"diamond\",\"type\":\"address\"}],\"stateMutability\":\"payable\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"solc_0.7/diamond/Diamantaire.sol\":\"Diamantaire\"},\"evmVersion\":\"istanbul\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\",\"useLiteralContent\":true},\"optimizer\":{\"enabled\":true,\"runs\":999999},\"remappings\":[]},\"sources\":{\"solc_0.7/diamond/Diamantaire.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\npragma solidity ^0.7.1;\\npragma experimental ABIEncoderV2;\\n\\nimport \\\"./interfaces/IDiamondCut.sol\\\";\\nimport \\\"./Diamond.sol\\\";\\nimport \\\"./facets/DiamondCutFacet.sol\\\";\\nimport \\\"./facets/DiamondLoupeFacet.sol\\\";\\nimport \\\"./facets/OwnershipFacet.sol\\\";\\n\\ncontract Diamantaire {\\n event DiamondCreated(Diamond diamond);\\n\\n IDiamondCut.FacetCut[] internal _builtinDiamondCut;\\n\\n constructor() {\\n bytes4[] memory functionSelectors;\\n\\n // -------------------------------------------------------------------------\\n // adding diamondCut function\\n // -------------------------------------------------------------------------\\n DiamondCutFacet diamondCutFacet = new DiamondCutFacet();\\n\\n functionSelectors = new bytes4[](1);\\n functionSelectors[0] = DiamondCutFacet.diamondCut.selector;\\n _builtinDiamondCut.push(IDiamondCut.FacetCut({\\n facetAddress:address(diamondCutFacet),\\n action: IDiamondCut.FacetCutAction.Add,\\n functionSelectors: functionSelectors\\n }));\\n\\n\\n // -------------------------------------------------------------------------\\n // adding diamond loupe functions\\n // -------------------------------------------------------------------------\\n DiamondLoupeFacet diamondLoupeFacet = new DiamondLoupeFacet();\\n\\n functionSelectors = new bytes4[](5);\\n functionSelectors[0] = DiamondLoupeFacet.facetFunctionSelectors.selector;\\n functionSelectors[1] = DiamondLoupeFacet.facets.selector;\\n functionSelectors[2] = DiamondLoupeFacet.facetAddress.selector;\\n functionSelectors[3] = DiamondLoupeFacet.facetAddresses.selector;\\n functionSelectors[4] = DiamondLoupeFacet.supportsInterface.selector;\\n _builtinDiamondCut.push(IDiamondCut.FacetCut({\\n facetAddress:address(diamondLoupeFacet),\\n action: IDiamondCut.FacetCutAction.Add,\\n functionSelectors: functionSelectors\\n }));\\n\\n\\n // -------------------------------------------------------------------------\\n // adding ownership functions\\n // -------------------------------------------------------------------------\\n OwnershipFacet ownershipFacet = new OwnershipFacet();\\n\\n functionSelectors = new bytes4[](2);\\n functionSelectors[0] = OwnershipFacet.transferOwnership.selector;\\n functionSelectors[1] = OwnershipFacet.owner.selector;\\n _builtinDiamondCut.push(IDiamondCut.FacetCut({\\n facetAddress:address(ownershipFacet),\\n action: IDiamondCut.FacetCutAction.Add,\\n functionSelectors: functionSelectors\\n }));\\n }\\n\\n function createDiamond(\\n address owner,\\n IDiamondCut.FacetCut[] calldata _diamondCut,\\n bytes calldata data,\\n bytes32 salt\\n ) external payable returns (Diamond diamond) {\\n if (salt != 0x0000000000000000000000000000000000000000000000000000000000000000) {\\n salt = keccak256(abi.encodePacked(salt, owner));\\n diamond = new Diamond{value: msg.value, salt: salt}(\\n _builtinDiamondCut,\\n Diamond.DiamondArgs({owner:address(this)})\\n );\\n } else {\\n diamond = new Diamond{value: msg.value}(_builtinDiamondCut, Diamond.DiamondArgs({owner:address(this)}));\\n }\\n emit DiamondCreated(diamond);\\n\\n IDiamondCut(address(diamond)).diamondCut(_diamondCut, data.length > 0 ? address(diamond) : address(0), data);\\n IERC173(address(diamond)).transferOwnership(owner);\\n }\\n}\\n\",\"keccak256\":\"0x9e84b633e6eaca79cafdb3074e5e5621e3e3c8ed38c67f6332621a34517f2fd2\",\"license\":\"MIT\"},\"solc_0.7/diamond/Diamond.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\npragma solidity ^0.7.6;\\npragma experimental ABIEncoderV2;\\n\\n/******************************************************************************\\\\\\n* Author: Nick Mudge (https://twitter.com/mudgen)\\n* EIP-2535 Diamond Standard: https://eips.ethereum.org/EIPS/eip-2535\\n* \\n* Implementation of a diamond.\\n/******************************************************************************/\\n\\nimport \\\"./libraries/LibDiamond.sol\\\";\\nimport \\\"./interfaces/IDiamondLoupe.sol\\\";\\nimport \\\"./interfaces/IDiamondCut.sol\\\";\\nimport \\\"./interfaces/IERC173.sol\\\";\\nimport \\\"./interfaces/IERC165.sol\\\";\\n\\ncontract Diamond {\\n // more arguments are added to this struct\\n // this avoids stack too deep errors\\n struct DiamondArgs {\\n address owner;\\n }\\n\\n constructor(IDiamondCut.FacetCut[] memory _diamondCut, DiamondArgs memory _args) payable {\\n LibDiamond.diamondCut(_diamondCut, address(0), new bytes(0));\\n LibDiamond.setContractOwner(_args.owner);\\n\\n LibDiamond.DiamondStorage storage ds = LibDiamond.diamondStorage();\\n\\n // adding ERC165 data\\n ds.supportedInterfaces[type(IERC165).interfaceId] = true;\\n ds.supportedInterfaces[type(IDiamondCut).interfaceId] = true;\\n ds.supportedInterfaces[type(IDiamondLoupe).interfaceId] = true;\\n ds.supportedInterfaces[type(IERC173).interfaceId] = true;\\n }\\n\\n // Find facet for function that is called and execute the\\n // function if a facet is found and return any value.\\n fallback() external payable {\\n LibDiamond.DiamondStorage storage ds;\\n bytes32 position = LibDiamond.DIAMOND_STORAGE_POSITION;\\n assembly {\\n ds.slot := position\\n }\\n address facet = ds.selectorToFacetAndPosition[msg.sig].facetAddress;\\n require(facet != address(0), \\\"Diamond: Function does not exist\\\");\\n assembly {\\n calldatacopy(0, 0, calldatasize())\\n let result := delegatecall(gas(), facet, 0, calldatasize(), 0, 0)\\n returndatacopy(0, 0, returndatasize())\\n switch result\\n case 0 {\\n revert(0, returndatasize())\\n }\\n default {\\n return(0, returndatasize())\\n }\\n }\\n }\\n\\n receive() external payable {}\\n}\\n\",\"keccak256\":\"0x968d41f1fbb08e012a0617f3a8b865c06f60d783e043b675280741b791216202\",\"license\":\"MIT\"},\"solc_0.7/diamond/facets/DiamondCutFacet.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\npragma solidity ^0.7.6;\\npragma experimental ABIEncoderV2;\\n\\n/******************************************************************************\\\\\\n* Author: Nick Mudge (https://twitter.com/mudgen)\\n* EIP-2535 Diamond Standard: https://eips.ethereum.org/EIPS/eip-2535\\n/******************************************************************************/\\n\\nimport \\\"../interfaces/IDiamondCut.sol\\\";\\nimport \\\"../libraries/LibDiamond.sol\\\";\\n\\ncontract DiamondCutFacet is IDiamondCut {\\n /// @notice Add/replace/remove any number of functions and optionally execute\\n /// a function with delegatecall\\n /// @param _diamondCut Contains the facet addresses and function selectors\\n /// @param _init The address of the contract or facet to execute _calldata\\n /// @param _calldata A function call, including function selector and arguments\\n /// _calldata is executed with delegatecall on _init\\n function diamondCut(\\n FacetCut[] calldata _diamondCut,\\n address _init,\\n bytes calldata _calldata\\n ) external override {\\n LibDiamond.enforceIsContractOwner();\\n LibDiamond.diamondCut(_diamondCut, _init, _calldata);\\n }\\n}\\n\",\"keccak256\":\"0x5ba6b5339797ec786263a4f7027f0248868dee5e75174a643d09e10197502ce4\",\"license\":\"MIT\"},\"solc_0.7/diamond/facets/DiamondLoupeFacet.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\npragma solidity ^0.7.6;\\npragma experimental ABIEncoderV2;\\n\\n/******************************************************************************\\\\\\n* Author: Nick Mudge (https://twitter.com/mudgen)\\n* EIP-2535 Diamond Standard: https://eips.ethereum.org/EIPS/eip-2535\\n/******************************************************************************/\\n\\nimport \\\"../libraries/LibDiamond.sol\\\";\\nimport \\\"../interfaces/IDiamondCut.sol\\\";\\nimport \\\"../interfaces/IDiamondLoupe.sol\\\";\\nimport \\\"../interfaces/IERC165.sol\\\";\\n\\ncontract DiamondLoupeFacet is IDiamondLoupe, IERC165 {\\n // Diamond Loupe Functions\\n ////////////////////////////////////////////////////////////////////\\n /// These functions are expected to be called frequently by tools.\\n //\\n // struct Facet {\\n // address facetAddress;\\n // bytes4[] functionSelectors;\\n // }\\n\\n /// @notice Gets all facets and their selectors.\\n /// @return facets_ Facet\\n function facets() external override view returns (Facet[] memory facets_) {\\n LibDiamond.DiamondStorage storage ds = LibDiamond.diamondStorage();\\n uint256 numFacets = ds.facetAddresses.length;\\n facets_ = new Facet[](numFacets);\\n for (uint256 i; i < numFacets; i++) {\\n address facetAddress_ = ds.facetAddresses[i];\\n facets_[i].facetAddress = facetAddress_;\\n facets_[i].functionSelectors = ds.facetFunctionSelectors[facetAddress_].functionSelectors;\\n }\\n }\\n\\n /// @notice Gets all the function selectors provided by a facet.\\n /// @param _facet The facet address.\\n /// @return facetFunctionSelectors_\\n function facetFunctionSelectors(address _facet) external override view returns (bytes4[] memory facetFunctionSelectors_) {\\n LibDiamond.DiamondStorage storage ds = LibDiamond.diamondStorage();\\n facetFunctionSelectors_ = ds.facetFunctionSelectors[_facet].functionSelectors;\\n }\\n\\n /// @notice Get all the facet addresses used by a diamond.\\n /// @return facetAddresses_\\n function facetAddresses() external override view returns (address[] memory facetAddresses_) {\\n LibDiamond.DiamondStorage storage ds = LibDiamond.diamondStorage();\\n facetAddresses_ = ds.facetAddresses;\\n }\\n\\n /// @notice Gets the facet that supports the given selector.\\n /// @dev If facet is not found return address(0).\\n /// @param _functionSelector The function selector.\\n /// @return facetAddress_ The facet address.\\n function facetAddress(bytes4 _functionSelector) external override view returns (address facetAddress_) {\\n LibDiamond.DiamondStorage storage ds = LibDiamond.diamondStorage();\\n facetAddress_ = ds.selectorToFacetAndPosition[_functionSelector].facetAddress;\\n }\\n\\n // This implements ERC-165.\\n function supportsInterface(bytes4 _interfaceId) external override view returns (bool) {\\n LibDiamond.DiamondStorage storage ds = LibDiamond.diamondStorage();\\n return ds.supportedInterfaces[_interfaceId];\\n }\\n}\\n\",\"keccak256\":\"0x0d7e901df775b4518d6a9805cbe226e19f8f3b1050cb8d3edccee1f382efdc00\",\"license\":\"MIT\"},\"solc_0.7/diamond/facets/OwnershipFacet.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\npragma solidity ^0.7.6;\\n\\nimport \\\"../libraries/LibDiamond.sol\\\";\\nimport \\\"../interfaces/IERC173.sol\\\";\\n\\ncontract OwnershipFacet is IERC173 {\\n function transferOwnership(address _newOwner) external override {\\n LibDiamond.enforceIsContractOwner();\\n LibDiamond.setContractOwner(_newOwner);\\n }\\n\\n function owner() external override view returns (address owner_) {\\n owner_ = LibDiamond.contractOwner();\\n }\\n}\\n\",\"keccak256\":\"0x9ffdb0b88ad708052930bb61b44cd178843eb66a08de48722f7d4cb94eedfaf5\",\"license\":\"MIT\"},\"solc_0.7/diamond/interfaces/IDiamondCut.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\npragma solidity ^0.7.6;\\npragma experimental ABIEncoderV2;\\n\\n/******************************************************************************\\\\\\n* Author: Nick Mudge (https://twitter.com/mudgen)\\n* EIP-2535 Diamond Standard: https://eips.ethereum.org/EIPS/eip-2535\\n/******************************************************************************/\\n\\ninterface IDiamondCut {\\n enum FacetCutAction {Add, Replace, Remove}\\n // Add=0, Replace=1, Remove=2\\n\\n struct FacetCut {\\n address facetAddress;\\n FacetCutAction action;\\n bytes4[] functionSelectors;\\n }\\n\\n /// @notice Add/replace/remove any number of functions and optionally execute\\n /// a function with delegatecall\\n /// @param _diamondCut Contains the facet addresses and function selectors\\n /// @param _init The address of the contract or facet to execute _calldata\\n /// @param _calldata A function call, including function selector and arguments\\n /// _calldata is executed with delegatecall on _init\\n function diamondCut(\\n FacetCut[] calldata _diamondCut,\\n address _init,\\n bytes calldata _calldata\\n ) external;\\n\\n event DiamondCut(FacetCut[] _diamondCut, address _init, bytes _calldata);\\n}\\n\",\"keccak256\":\"0xfb3c1af58cd19e1e49f065e33c7c68045ce451c3e16920614979624c44faf892\",\"license\":\"MIT\"},\"solc_0.7/diamond/interfaces/IDiamondLoupe.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\npragma solidity ^0.7.6;\\npragma experimental ABIEncoderV2;\\n\\n/******************************************************************************\\\\\\n* Author: Nick Mudge (https://twitter.com/mudgen)\\n* EIP-2535 Diamond Standard: https://eips.ethereum.org/EIPS/eip-2535\\n/******************************************************************************/\\n\\n// A loupe is a small magnifying glass used to look at diamonds.\\n// These functions look at diamonds\\ninterface IDiamondLoupe {\\n /// These functions are expected to be called frequently\\n /// by tools.\\n\\n struct Facet {\\n address facetAddress;\\n bytes4[] functionSelectors;\\n }\\n\\n /// @notice Gets all facet addresses and their four byte function selectors.\\n /// @return facets_ Facet\\n function facets() external view returns (Facet[] memory facets_);\\n\\n /// @notice Gets all the function selectors supported by a specific facet.\\n /// @param _facet The facet address.\\n /// @return facetFunctionSelectors_\\n function facetFunctionSelectors(address _facet) external view returns (bytes4[] memory facetFunctionSelectors_);\\n\\n /// @notice Get all the facet addresses used by a diamond.\\n /// @return facetAddresses_\\n function facetAddresses() external view returns (address[] memory facetAddresses_);\\n\\n /// @notice Gets the facet that supports the given selector.\\n /// @dev If facet is not found return address(0).\\n /// @param _functionSelector The function selector.\\n /// @return facetAddress_ The facet address.\\n function facetAddress(bytes4 _functionSelector) external view returns (address facetAddress_);\\n}\\n\",\"keccak256\":\"0xf4bc76153335588e7cb5fe1c9701857fd2ae0340ad94976adbf1c49054f82dfe\",\"license\":\"MIT\"},\"solc_0.7/diamond/interfaces/IERC165.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\npragma solidity ^0.7.6;\\npragma experimental ABIEncoderV2;\\n\\ninterface IERC165 {\\n /// @notice Query if a contract implements an interface\\n /// @param interfaceId The interface identifier, as specified in ERC-165\\n /// @dev Interface identification is specified in ERC-165. This function\\n /// uses less than 30,000 gas.\\n /// @return `true` if the contract implements `interfaceID` and\\n /// `interfaceID` is not 0xffffffff, `false` otherwise\\n function supportsInterface(bytes4 interfaceId) external view returns (bool);\\n}\\n\",\"keccak256\":\"0xe3ccc62939f8e880bdd4d5a34b05ccb9576810b8e999df6d16124e51019a0603\",\"license\":\"MIT\"},\"solc_0.7/diamond/interfaces/IERC173.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\npragma solidity ^0.7.6;\\n\\n/// @title ERC-173 Contract Ownership Standard\\n/// Note: the ERC-165 identifier for this interface is 0x7f5828d0\\n/* is ERC165 */\\ninterface IERC173 {\\n /// @dev This emits when ownership of a contract changes.\\n event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);\\n\\n /// @notice Get the address of the owner\\n /// @return owner_ The address of the owner.\\n function owner() external view returns (address owner_);\\n\\n /// @notice Set the address of the new owner of the contract\\n /// @dev Set _newOwner to address(0) to renounce any ownership.\\n /// @param _newOwner The address of the new owner of the contract\\n function transferOwnership(address _newOwner) external;\\n}\\n\",\"keccak256\":\"0xa4023156092d7cb99c69e21bc95b910e13c54e582d6814601579bc2fb594ecf8\",\"license\":\"MIT\"},\"solc_0.7/diamond/libraries/LibDiamond.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\npragma solidity ^0.7.6;\\npragma experimental ABIEncoderV2;\\n\\n/******************************************************************************\\\\\\n* Author: Nick Mudge (https://twitter.com/mudgen)\\n* EIP-2535 Diamond Standard: https://eips.ethereum.org/EIPS/eip-2535\\n/******************************************************************************/\\n\\nimport \\\"../interfaces/IDiamondCut.sol\\\";\\n\\nlibrary LibDiamond {\\n bytes32 constant DIAMOND_STORAGE_POSITION = keccak256(\\\"diamond.standard.diamond.storage\\\");\\n\\n struct FacetAddressAndPosition {\\n address facetAddress;\\n uint16 functionSelectorPosition; // position in facetFunctionSelectors.functionSelectors array\\n }\\n\\n struct FacetFunctionSelectors {\\n bytes4[] functionSelectors;\\n uint16 facetAddressPosition; // position of facetAddress in facetAddresses array\\n }\\n\\n struct DiamondStorage {\\n // maps function selector to the facet address and\\n // the position of the selector in the facetFunctionSelectors.selectors array\\n mapping(bytes4 => FacetAddressAndPosition) selectorToFacetAndPosition;\\n // maps facet addresses to function selectors\\n mapping(address => FacetFunctionSelectors) facetFunctionSelectors;\\n // facet addresses\\n address[] facetAddresses;\\n // Used to query if a contract implements an interface.\\n // Used to implement ERC-165.\\n mapping(bytes4 => bool) supportedInterfaces;\\n // owner of the contract\\n address contractOwner;\\n }\\n\\n function diamondStorage() internal pure returns (DiamondStorage storage ds) {\\n bytes32 position = DIAMOND_STORAGE_POSITION;\\n assembly {\\n ds.slot := position\\n }\\n }\\n\\n event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);\\n\\n function setContractOwner(address _newOwner) internal {\\n DiamondStorage storage ds = diamondStorage();\\n address previousOwner = ds.contractOwner;\\n ds.contractOwner = _newOwner;\\n emit OwnershipTransferred(previousOwner, _newOwner);\\n }\\n\\n function contractOwner() internal view returns (address contractOwner_) {\\n contractOwner_ = diamondStorage().contractOwner;\\n }\\n\\n function enforceIsContractOwner() internal view {\\n require(msg.sender == diamondStorage().contractOwner, \\\"LibDiamond: Must be contract owner\\\");\\n }\\n\\n event DiamondCut(IDiamondCut.FacetCut[] _diamondCut, address _init, bytes _calldata);\\n\\n // Internal function version of diamondCut\\n function diamondCut(\\n IDiamondCut.FacetCut[] memory _diamondCut,\\n address _init,\\n bytes memory _calldata\\n ) internal {\\n for (uint256 facetIndex; facetIndex < _diamondCut.length; facetIndex++) {\\n IDiamondCut.FacetCutAction action = _diamondCut[facetIndex].action;\\n if (action == IDiamondCut.FacetCutAction.Add) {\\n addFunctions(_diamondCut[facetIndex].facetAddress, _diamondCut[facetIndex].functionSelectors);\\n } else if (action == IDiamondCut.FacetCutAction.Replace) {\\n replaceFunctions(_diamondCut[facetIndex].facetAddress, _diamondCut[facetIndex].functionSelectors);\\n } else if (action == IDiamondCut.FacetCutAction.Remove) {\\n removeFunctions(_diamondCut[facetIndex].facetAddress, _diamondCut[facetIndex].functionSelectors);\\n } else {\\n revert(\\\"LibDiamondCut: Incorrect FacetCutAction\\\");\\n }\\n }\\n emit DiamondCut(_diamondCut, _init, _calldata);\\n initializeDiamondCut(_init, _calldata);\\n }\\n\\n function addFunctions(address _facetAddress, bytes4[] memory _functionSelectors) internal {\\n require(_functionSelectors.length > 0, \\\"LibDiamondCut: No selectors in facet to cut\\\");\\n DiamondStorage storage ds = diamondStorage();\\n // uint16 selectorCount = uint16(diamondStorage().selectors.length);\\n require(_facetAddress != address(0), \\\"LibDiamondCut: Add facet can't be address(0)\\\");\\n uint16 selectorPosition = uint16(ds.facetFunctionSelectors[_facetAddress].functionSelectors.length);\\n // add new facet address if it does not exist\\n if (selectorPosition == 0) {\\n enforceHasContractCode(_facetAddress, \\\"LibDiamondCut: New facet has no code\\\");\\n ds.facetFunctionSelectors[_facetAddress].facetAddressPosition = uint16(ds.facetAddresses.length);\\n ds.facetAddresses.push(_facetAddress);\\n }\\n for (uint256 selectorIndex; selectorIndex < _functionSelectors.length; selectorIndex++) {\\n bytes4 selector = _functionSelectors[selectorIndex];\\n address oldFacetAddress = ds.selectorToFacetAndPosition[selector].facetAddress;\\n require(oldFacetAddress == address(0), \\\"LibDiamondCut: Can't add function that already exists\\\");\\n ds.facetFunctionSelectors[_facetAddress].functionSelectors.push(selector);\\n ds.selectorToFacetAndPosition[selector].facetAddress = _facetAddress;\\n ds.selectorToFacetAndPosition[selector].functionSelectorPosition = selectorPosition;\\n selectorPosition++;\\n }\\n }\\n\\n function replaceFunctions(address _facetAddress, bytes4[] memory _functionSelectors) internal {\\n require(_functionSelectors.length > 0, \\\"LibDiamondCut: No selectors in facet to cut\\\");\\n DiamondStorage storage ds = diamondStorage();\\n require(_facetAddress != address(0), \\\"LibDiamondCut: Add facet can't be address(0)\\\");\\n uint16 selectorPosition = uint16(ds.facetFunctionSelectors[_facetAddress].functionSelectors.length);\\n // add new facet address if it does not exist\\n if (selectorPosition == 0) {\\n enforceHasContractCode(_facetAddress, \\\"LibDiamondCut: New facet has no code\\\");\\n ds.facetFunctionSelectors[_facetAddress].facetAddressPosition = uint16(ds.facetAddresses.length);\\n ds.facetAddresses.push(_facetAddress);\\n }\\n for (uint256 selectorIndex; selectorIndex < _functionSelectors.length; selectorIndex++) {\\n bytes4 selector = _functionSelectors[selectorIndex];\\n address oldFacetAddress = ds.selectorToFacetAndPosition[selector].facetAddress;\\n require(oldFacetAddress != _facetAddress, \\\"LibDiamondCut: Can't replace function with same function\\\");\\n removeFunction(oldFacetAddress, selector);\\n // add function\\n ds.selectorToFacetAndPosition[selector].functionSelectorPosition = selectorPosition;\\n ds.facetFunctionSelectors[_facetAddress].functionSelectors.push(selector);\\n ds.selectorToFacetAndPosition[selector].facetAddress = _facetAddress;\\n selectorPosition++;\\n }\\n }\\n\\n function removeFunctions(address _facetAddress, bytes4[] memory _functionSelectors) internal {\\n require(_functionSelectors.length > 0, \\\"LibDiamondCut: No selectors in facet to cut\\\");\\n DiamondStorage storage ds = diamondStorage();\\n // if function does not exist then do nothing and return\\n require(_facetAddress == address(0), \\\"LibDiamondCut: Remove facet address must be address(0)\\\");\\n for (uint256 selectorIndex; selectorIndex < _functionSelectors.length; selectorIndex++) {\\n bytes4 selector = _functionSelectors[selectorIndex];\\n address oldFacetAddress = ds.selectorToFacetAndPosition[selector].facetAddress;\\n removeFunction(oldFacetAddress, selector);\\n }\\n }\\n\\n function removeFunction(address _facetAddress, bytes4 _selector) internal {\\n DiamondStorage storage ds = diamondStorage();\\n require(_facetAddress != address(0), \\\"LibDiamondCut: Can't remove function that doesn't exist\\\");\\n // an immutable function is a function defined directly in a diamond\\n require(_facetAddress != address(this), \\\"LibDiamondCut: Can't remove immutable function\\\");\\n // replace selector with last selector, then delete last selector\\n uint256 selectorPosition = ds.selectorToFacetAndPosition[_selector].functionSelectorPosition;\\n uint256 lastSelectorPosition = ds.facetFunctionSelectors[_facetAddress].functionSelectors.length - 1;\\n // if not the same then replace _selector with lastSelector\\n if (selectorPosition != lastSelectorPosition) {\\n bytes4 lastSelector = ds.facetFunctionSelectors[_facetAddress].functionSelectors[lastSelectorPosition];\\n ds.facetFunctionSelectors[_facetAddress].functionSelectors[selectorPosition] = lastSelector;\\n ds.selectorToFacetAndPosition[lastSelector].functionSelectorPosition = uint16(selectorPosition);\\n }\\n // delete the last selector\\n ds.facetFunctionSelectors[_facetAddress].functionSelectors.pop();\\n delete ds.selectorToFacetAndPosition[_selector];\\n\\n // if no more selectors for facet address then delete the facet address\\n if (lastSelectorPosition == 0) {\\n // replace facet address with last facet address and delete last facet address\\n uint256 lastFacetAddressPosition = ds.facetAddresses.length - 1;\\n uint256 facetAddressPosition = ds.facetFunctionSelectors[_facetAddress].facetAddressPosition;\\n if (facetAddressPosition != lastFacetAddressPosition) {\\n address lastFacetAddress = ds.facetAddresses[lastFacetAddressPosition];\\n ds.facetAddresses[facetAddressPosition] = lastFacetAddress;\\n ds.facetFunctionSelectors[lastFacetAddress].facetAddressPosition = uint16(facetAddressPosition);\\n }\\n ds.facetAddresses.pop();\\n delete ds.facetFunctionSelectors[_facetAddress].facetAddressPosition;\\n }\\n }\\n\\n function initializeDiamondCut(address _init, bytes memory _calldata) internal {\\n if (_init == address(0)) {\\n require(_calldata.length == 0, \\\"LibDiamondCut: _init is address(0) but_calldata is not empty\\\");\\n } else {\\n require(_calldata.length > 0, \\\"LibDiamondCut: _calldata is empty but _init is not address(0)\\\");\\n if (_init != address(this)) {\\n enforceHasContractCode(_init, \\\"LibDiamondCut: _init address has no code\\\");\\n }\\n (bool success, bytes memory error) = _init.delegatecall(_calldata);\\n if (!success) {\\n if (error.length > 0) {\\n // bubble up the error\\n revert(string(error));\\n } else {\\n revert(\\\"LibDiamondCut: _init function reverted\\\");\\n }\\n }\\n }\\n }\\n\\n function enforceHasContractCode(address _contract, string memory _errorMessage) internal view {\\n uint256 contractSize;\\n assembly {\\n contractSize := extcodesize(_contract)\\n }\\n require(contractSize > 0, _errorMessage);\\n }\\n}\\n\",\"keccak256\":\"0x4eac03abb9864ad822b50481746c975a8e3e3278e179032cfc1b4b9c8e2320bc\",\"license\":\"MIT\"}},\"version\":1}", + "metadata": "{\"compiler\":{\"version\":\"0.8.9+commit.e5eed63a\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"contract Diamond\",\"name\":\"diamond\",\"type\":\"address\"}],\"name\":\"DiamondCreated\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"components\":[{\"internalType\":\"address\",\"name\":\"facetAddress\",\"type\":\"address\"},{\"internalType\":\"enum IDiamondCut.FacetCutAction\",\"name\":\"action\",\"type\":\"uint8\"},{\"internalType\":\"bytes4[]\",\"name\":\"functionSelectors\",\"type\":\"bytes4[]\"}],\"internalType\":\"struct IDiamondCut.FacetCut[]\",\"name\":\"_diamondCut\",\"type\":\"tuple[]\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"},{\"internalType\":\"bytes32\",\"name\":\"salt\",\"type\":\"bytes32\"}],\"name\":\"createDiamond\",\"outputs\":[{\"internalType\":\"contract Diamond\",\"name\":\"diamond\",\"type\":\"address\"}],\"stateMutability\":\"payable\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"solc_0.8/diamond/Diamantaire.sol\":\"Diamantaire\"},\"evmVersion\":\"london\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\",\"useLiteralContent\":true},\"optimizer\":{\"enabled\":true,\"runs\":999999},\"remappings\":[]},\"sources\":{\"solc_0.8/diamond/Diamantaire.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.0;\\npragma experimental ABIEncoderV2;\\n\\nimport \\\"./interfaces/IDiamondCut.sol\\\";\\nimport \\\"./Diamond.sol\\\";\\nimport \\\"./facets/DiamondCutFacet.sol\\\";\\nimport \\\"./facets/DiamondLoupeFacet.sol\\\";\\nimport \\\"./facets/OwnershipFacet.sol\\\";\\n\\ncontract Diamantaire {\\n event DiamondCreated(Diamond diamond);\\n\\n IDiamondCut.FacetCut[] internal _builtinDiamondCut;\\n\\n constructor() {\\n bytes4[] memory functionSelectors;\\n\\n // -------------------------------------------------------------------------\\n // adding diamondCut function\\n // -------------------------------------------------------------------------\\n DiamondCutFacet diamondCutFacet = new DiamondCutFacet();\\n\\n functionSelectors = new bytes4[](1);\\n functionSelectors[0] = DiamondCutFacet.diamondCut.selector;\\n _builtinDiamondCut.push(IDiamondCut.FacetCut({\\n facetAddress:address(diamondCutFacet),\\n action: IDiamondCut.FacetCutAction.Add,\\n functionSelectors: functionSelectors\\n }));\\n\\n\\n // -------------------------------------------------------------------------\\n // adding diamond loupe functions\\n // -------------------------------------------------------------------------\\n DiamondLoupeFacet diamondLoupeFacet = new DiamondLoupeFacet();\\n\\n functionSelectors = new bytes4[](5);\\n functionSelectors[0] = DiamondLoupeFacet.facetFunctionSelectors.selector;\\n functionSelectors[1] = DiamondLoupeFacet.facets.selector;\\n functionSelectors[2] = DiamondLoupeFacet.facetAddress.selector;\\n functionSelectors[3] = DiamondLoupeFacet.facetAddresses.selector;\\n functionSelectors[4] = DiamondLoupeFacet.supportsInterface.selector;\\n _builtinDiamondCut.push(IDiamondCut.FacetCut({\\n facetAddress:address(diamondLoupeFacet),\\n action: IDiamondCut.FacetCutAction.Add,\\n functionSelectors: functionSelectors\\n }));\\n\\n\\n // -------------------------------------------------------------------------\\n // adding ownership functions\\n // -------------------------------------------------------------------------\\n OwnershipFacet ownershipFacet = new OwnershipFacet();\\n\\n functionSelectors = new bytes4[](2);\\n functionSelectors[0] = OwnershipFacet.transferOwnership.selector;\\n functionSelectors[1] = OwnershipFacet.owner.selector;\\n _builtinDiamondCut.push(IDiamondCut.FacetCut({\\n facetAddress:address(ownershipFacet),\\n action: IDiamondCut.FacetCutAction.Add,\\n functionSelectors: functionSelectors\\n }));\\n }\\n\\n function createDiamond(\\n address owner,\\n IDiamondCut.FacetCut[] calldata _diamondCut,\\n bytes calldata data,\\n bytes32 salt\\n ) external payable returns (Diamond diamond) {\\n if (salt != 0x0000000000000000000000000000000000000000000000000000000000000000) {\\n salt = keccak256(abi.encodePacked(salt, owner));\\n diamond = new Diamond{value: msg.value, salt: salt}(\\n _builtinDiamondCut,\\n Diamond.DiamondArgs({owner:address(this)})\\n );\\n } else {\\n diamond = new Diamond{value: msg.value}(_builtinDiamondCut, Diamond.DiamondArgs({owner:address(this)}));\\n }\\n emit DiamondCreated(diamond);\\n\\n IDiamondCut(address(diamond)).diamondCut(_diamondCut, data.length > 0 ? address(diamond) : address(0), data);\\n IERC173(address(diamond)).transferOwnership(owner);\\n }\\n}\\n\",\"keccak256\":\"0x7094ccff1d1794025f24a7a846fb0dfb77529af38005ce9fff04530c45228ffe\",\"license\":\"MIT\"},\"solc_0.8/diamond/Diamond.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.0;\\n\\n/******************************************************************************\\\\\\n* Author: Nick Mudge (https://twitter.com/mudgen)\\n* EIP-2535 Diamonds: https://eips.ethereum.org/EIPS/eip-2535\\n*\\n* Implementation of a diamond.\\n/******************************************************************************/\\n\\nimport { LibDiamond } from \\\"./libraries/LibDiamond.sol\\\";\\nimport { IDiamondCut } from \\\"./interfaces/IDiamondCut.sol\\\";\\nimport { IDiamondLoupe } from \\\"./interfaces/IDiamondLoupe.sol\\\";\\nimport { IERC173 } from \\\"./interfaces/IERC173.sol\\\";\\nimport { IERC165 } from \\\"./interfaces/IERC165.sol\\\";\\n\\ncontract Diamond {\\n // more arguments are added to this struct\\n // this avoids stack too deep errors\\n struct DiamondArgs {\\n address owner;\\n }\\n\\n constructor(IDiamondCut.FacetCut[] memory _diamondCut, DiamondArgs memory _args) payable {\\n LibDiamond.diamondCut(_diamondCut, address(0), new bytes(0));\\n LibDiamond.setContractOwner(_args.owner);\\n\\n LibDiamond.DiamondStorage storage ds = LibDiamond.diamondStorage();\\n\\n // adding ERC165 data\\n ds.supportedInterfaces[type(IERC165).interfaceId] = true;\\n ds.supportedInterfaces[type(IDiamondCut).interfaceId] = true;\\n ds.supportedInterfaces[type(IDiamondLoupe).interfaceId] = true;\\n ds.supportedInterfaces[type(IERC173).interfaceId] = true;\\n }\\n\\n// constructor(address _contractOwner, address _diamondCutFacet) payable {\\n// LibDiamond.setContractOwner(_contractOwner);\\n//\\n// // Add the diamondCut external function from the diamondCutFacet\\n// IDiamondCut.FacetCut[] memory cut = new IDiamondCut.FacetCut[](1);\\n// bytes4[] memory functionSelectors = new bytes4[](1);\\n// functionSelectors[0] = IDiamondCut.diamondCut.selector;\\n// cut[0] = IDiamondCut.FacetCut({\\n// facetAddress: _diamondCutFacet,\\n// action: IDiamondCut.FacetCutAction.Add,\\n// functionSelectors: functionSelectors\\n// });\\n// LibDiamond.diamondCut(cut, address(0), \\\"\\\");\\n// }\\n\\n // Find facet for function that is called and execute the\\n // function if a facet is found and return any value.\\n fallback() external payable {\\n LibDiamond.DiamondStorage storage ds;\\n bytes32 position = LibDiamond.DIAMOND_STORAGE_POSITION;\\n // get diamond storage\\n assembly {\\n ds.slot := position\\n }\\n // get facet from function selector\\n address facet = ds.selectorToFacetAndPosition[msg.sig].facetAddress;\\n require(facet != address(0), \\\"Diamond: Function does not exist\\\");\\n // Execute external function from facet using delegatecall and return any value.\\n assembly {\\n // copy function selector and any arguments\\n calldatacopy(0, 0, calldatasize())\\n // execute function call using the facet\\n let result := delegatecall(gas(), facet, 0, calldatasize(), 0, 0)\\n // get any return value\\n returndatacopy(0, 0, returndatasize())\\n // return any return value or error back to the caller\\n switch result\\n case 0 {\\n revert(0, returndatasize())\\n }\\n default {\\n return(0, returndatasize())\\n }\\n }\\n }\\n\\n receive() external payable {}\\n}\\n\",\"keccak256\":\"0x2896fd2fc3e5181aeff52abac8a9761d5b9ea8429a3792a8208496b39b3de4dd\",\"license\":\"MIT\"},\"solc_0.8/diamond/facets/DiamondCutFacet.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.0;\\n\\n/******************************************************************************\\\\\\n* Author: Nick Mudge (https://twitter.com/mudgen)\\n* EIP-2535 Diamonds: https://eips.ethereum.org/EIPS/eip-2535\\n/******************************************************************************/\\n\\nimport { IDiamondCut } from \\\"../interfaces/IDiamondCut.sol\\\";\\nimport { LibDiamond } from \\\"../libraries/LibDiamond.sol\\\";\\n\\ncontract DiamondCutFacet is IDiamondCut {\\n /// @notice Add/replace/remove any number of functions and optionally execute\\n /// a function with delegatecall\\n /// @param _diamondCut Contains the facet addresses and function selectors\\n /// @param _init The address of the contract or facet to execute _calldata\\n /// @param _calldata A function call, including function selector and arguments\\n /// _calldata is executed with delegatecall on _init\\n function diamondCut(\\n FacetCut[] calldata _diamondCut,\\n address _init,\\n bytes calldata _calldata\\n ) external override {\\n LibDiamond.enforceIsContractOwner();\\n LibDiamond.diamondCut(_diamondCut, _init, _calldata);\\n }\\n}\\n\",\"keccak256\":\"0x58fc18b268fa5d1956c0e677f3fe91e2dd9d86fc73bb43527110d8afbbcd733e\",\"license\":\"MIT\"},\"solc_0.8/diamond/facets/DiamondLoupeFacet.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.0;\\n/******************************************************************************\\\\\\n* Author: Nick Mudge (https://twitter.com/mudgen)\\n* EIP-2535 Diamonds: https://eips.ethereum.org/EIPS/eip-2535\\n/******************************************************************************/\\n\\nimport { LibDiamond } from \\\"../libraries/LibDiamond.sol\\\";\\nimport { IDiamondLoupe } from \\\"../interfaces/IDiamondLoupe.sol\\\";\\nimport { IERC165 } from \\\"../interfaces/IERC165.sol\\\";\\n\\ncontract DiamondLoupeFacet is IDiamondLoupe, IERC165 {\\n // Diamond Loupe Functions\\n ////////////////////////////////////////////////////////////////////\\n /// These functions are expected to be called frequently by tools.\\n //\\n // struct Facet {\\n // address facetAddress;\\n // bytes4[] functionSelectors;\\n // }\\n\\n /// @notice Gets all facets and their selectors.\\n /// @return facets_ Facet\\n function facets() external override view returns (Facet[] memory facets_) {\\n LibDiamond.DiamondStorage storage ds = LibDiamond.diamondStorage();\\n uint256 numFacets = ds.facetAddresses.length;\\n facets_ = new Facet[](numFacets);\\n for (uint256 i; i < numFacets; i++) {\\n address facetAddress_ = ds.facetAddresses[i];\\n facets_[i].facetAddress = facetAddress_;\\n facets_[i].functionSelectors = ds.facetFunctionSelectors[facetAddress_].functionSelectors;\\n }\\n }\\n\\n /// @notice Gets all the function selectors provided by a facet.\\n /// @param _facet The facet address.\\n /// @return facetFunctionSelectors_\\n function facetFunctionSelectors(address _facet) external override view returns (bytes4[] memory facetFunctionSelectors_) {\\n LibDiamond.DiamondStorage storage ds = LibDiamond.diamondStorage();\\n facetFunctionSelectors_ = ds.facetFunctionSelectors[_facet].functionSelectors;\\n }\\n\\n /// @notice Get all the facet addresses used by a diamond.\\n /// @return facetAddresses_\\n function facetAddresses() external override view returns (address[] memory facetAddresses_) {\\n LibDiamond.DiamondStorage storage ds = LibDiamond.diamondStorage();\\n facetAddresses_ = ds.facetAddresses;\\n }\\n\\n /// @notice Gets the facet that supports the given selector.\\n /// @dev If facet is not found return address(0).\\n /// @param _functionSelector The function selector.\\n /// @return facetAddress_ The facet address.\\n function facetAddress(bytes4 _functionSelector) external override view returns (address facetAddress_) {\\n LibDiamond.DiamondStorage storage ds = LibDiamond.diamondStorage();\\n facetAddress_ = ds.selectorToFacetAndPosition[_functionSelector].facetAddress;\\n }\\n\\n // This implements ERC-165.\\n function supportsInterface(bytes4 _interfaceId) external override view returns (bool) {\\n LibDiamond.DiamondStorage storage ds = LibDiamond.diamondStorage();\\n return ds.supportedInterfaces[_interfaceId];\\n }\\n}\\n\",\"keccak256\":\"0x40116a553fb6b8e25371199648a526d61eefee47ba24f0909b00c7301dec612e\",\"license\":\"MIT\"},\"solc_0.8/diamond/facets/OwnershipFacet.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.0;\\n\\nimport { LibDiamond } from \\\"../libraries/LibDiamond.sol\\\";\\nimport { IERC173 } from \\\"../interfaces/IERC173.sol\\\";\\n\\ncontract OwnershipFacet is IERC173 {\\n function transferOwnership(address _newOwner) external override {\\n LibDiamond.enforceIsContractOwner();\\n LibDiamond.setContractOwner(_newOwner);\\n }\\n\\n function owner() external override view returns (address owner_) {\\n owner_ = LibDiamond.contractOwner();\\n }\\n}\\n\",\"keccak256\":\"0x6502a171801d68e68de6c5a2b879d5e12a3a1539cdc568c2bfcc268fbdf6c5a9\",\"license\":\"MIT\"},\"solc_0.8/diamond/interfaces/IDiamondCut.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.0;\\n\\n/******************************************************************************\\\\\\n* Author: Nick Mudge (https://twitter.com/mudgen)\\n* EIP-2535 Diamonds: https://eips.ethereum.org/EIPS/eip-2535\\n/******************************************************************************/\\n\\ninterface IDiamondCut {\\n enum FacetCutAction {Add, Replace, Remove}\\n // Add=0, Replace=1, Remove=2\\n\\n struct FacetCut {\\n address facetAddress;\\n FacetCutAction action;\\n bytes4[] functionSelectors;\\n }\\n\\n /// @notice Add/replace/remove any number of functions and optionally execute\\n /// a function with delegatecall\\n /// @param _diamondCut Contains the facet addresses and function selectors\\n /// @param _init The address of the contract or facet to execute _calldata\\n /// @param _calldata A function call, including function selector and arguments\\n /// _calldata is executed with delegatecall on _init\\n function diamondCut(\\n FacetCut[] calldata _diamondCut,\\n address _init,\\n bytes calldata _calldata\\n ) external;\\n\\n event DiamondCut(FacetCut[] _diamondCut, address _init, bytes _calldata);\\n}\\n\",\"keccak256\":\"0xc00c16bfa30a3fa5f3dc684f7f8ba62c259962b25f647d9588739458989717fc\",\"license\":\"MIT\"},\"solc_0.8/diamond/interfaces/IDiamondLoupe.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.0;\\n\\n/******************************************************************************\\\\\\n* Author: Nick Mudge (https://twitter.com/mudgen)\\n* EIP-2535 Diamonds: https://eips.ethereum.org/EIPS/eip-2535\\n/******************************************************************************/\\n\\n// A loupe is a small magnifying glass used to look at diamonds.\\n// These functions look at diamonds\\ninterface IDiamondLoupe {\\n /// These functions are expected to be called frequently\\n /// by tools.\\n\\n struct Facet {\\n address facetAddress;\\n bytes4[] functionSelectors;\\n }\\n\\n /// @notice Gets all facet addresses and their four byte function selectors.\\n /// @return facets_ Facet\\n function facets() external view returns (Facet[] memory facets_);\\n\\n /// @notice Gets all the function selectors supported by a specific facet.\\n /// @param _facet The facet address.\\n /// @return facetFunctionSelectors_\\n function facetFunctionSelectors(address _facet) external view returns (bytes4[] memory facetFunctionSelectors_);\\n\\n /// @notice Get all the facet addresses used by a diamond.\\n /// @return facetAddresses_\\n function facetAddresses() external view returns (address[] memory facetAddresses_);\\n\\n /// @notice Gets the facet that supports the given selector.\\n /// @dev If facet is not found return address(0).\\n /// @param _functionSelector The function selector.\\n /// @return facetAddress_ The facet address.\\n function facetAddress(bytes4 _functionSelector) external view returns (address facetAddress_);\\n}\\n\",\"keccak256\":\"0x10884024af2c0f7deca0fac4ddf84e76da5dba35b6e02fabeac8ea54c1a5c6f7\",\"license\":\"MIT\"},\"solc_0.8/diamond/interfaces/IERC165.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.0;\\n\\ninterface IERC165 {\\n /// @notice Query if a contract implements an interface\\n /// @param interfaceId The interface identifier, as specified in ERC-165\\n /// @dev Interface identification is specified in ERC-165. This function\\n /// uses less than 30,000 gas.\\n /// @return `true` if the contract implements `interfaceID` and\\n /// `interfaceID` is not 0xffffffff, `false` otherwise\\n function supportsInterface(bytes4 interfaceId) external view returns (bool);\\n}\\n\",\"keccak256\":\"0x7541f7408d0f74162bc4664d5e012427f2ceaab2abadca0353269ef15ee03d8b\",\"license\":\"MIT\"},\"solc_0.8/diamond/interfaces/IERC173.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.0;\\n\\n/// @title ERC-173 Contract Ownership Standard\\n/// Note: the ERC-165 identifier for this interface is 0x7f5828d0\\n/* is ERC165 */\\ninterface IERC173 {\\n /// @dev This emits when ownership of a contract changes.\\n event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);\\n\\n /// @notice Get the address of the owner\\n /// @return owner_ The address of the owner.\\n function owner() external view returns (address owner_);\\n\\n /// @notice Set the address of the new owner of the contract\\n /// @dev Set _newOwner to address(0) to renounce any ownership.\\n /// @param _newOwner The address of the new owner of the contract\\n function transferOwnership(address _newOwner) external;\\n}\\n\",\"keccak256\":\"0x001e07b0fbc894300b939d496ffb005abe398b5bc609802d319b8cdeafe5d36b\",\"license\":\"MIT\"},\"solc_0.8/diamond/libraries/LibDiamond.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.0;\\n\\n/******************************************************************************\\\\\\n* Author: Nick Mudge (https://twitter.com/mudgen)\\n* EIP-2535 Diamonds: https://eips.ethereum.org/EIPS/eip-2535\\n/******************************************************************************/\\nimport { IDiamondCut } from \\\"../interfaces/IDiamondCut.sol\\\";\\n\\nlibrary LibDiamond {\\n bytes32 constant DIAMOND_STORAGE_POSITION = keccak256(\\\"diamond.standard.diamond.storage\\\");\\n\\n struct FacetAddressAndPosition {\\n address facetAddress;\\n uint96 functionSelectorPosition; // position in facetFunctionSelectors.functionSelectors array\\n }\\n\\n struct FacetFunctionSelectors {\\n bytes4[] functionSelectors;\\n uint256 facetAddressPosition; // position of facetAddress in facetAddresses array\\n }\\n\\n struct DiamondStorage {\\n // maps function selector to the facet address and\\n // the position of the selector in the facetFunctionSelectors.selectors array\\n mapping(bytes4 => FacetAddressAndPosition) selectorToFacetAndPosition;\\n // maps facet addresses to function selectors\\n mapping(address => FacetFunctionSelectors) facetFunctionSelectors;\\n // facet addresses\\n address[] facetAddresses;\\n // Used to query if a contract implements an interface.\\n // Used to implement ERC-165.\\n mapping(bytes4 => bool) supportedInterfaces;\\n // owner of the contract\\n address contractOwner;\\n }\\n\\n function diamondStorage() internal pure returns (DiamondStorage storage ds) {\\n bytes32 position = DIAMOND_STORAGE_POSITION;\\n assembly {\\n ds.slot := position\\n }\\n }\\n\\n event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);\\n\\n function setContractOwner(address _newOwner) internal {\\n DiamondStorage storage ds = diamondStorage();\\n address previousOwner = ds.contractOwner;\\n ds.contractOwner = _newOwner;\\n emit OwnershipTransferred(previousOwner, _newOwner);\\n }\\n\\n function contractOwner() internal view returns (address contractOwner_) {\\n contractOwner_ = diamondStorage().contractOwner;\\n }\\n\\n function enforceIsContractOwner() internal view {\\n require(msg.sender == diamondStorage().contractOwner, \\\"LibDiamond: Must be contract owner\\\");\\n }\\n\\n event DiamondCut(IDiamondCut.FacetCut[] _diamondCut, address _init, bytes _calldata);\\n\\n // Internal function version of diamondCut\\n function diamondCut(\\n IDiamondCut.FacetCut[] memory _diamondCut,\\n address _init,\\n bytes memory _calldata\\n ) internal {\\n for (uint256 facetIndex; facetIndex < _diamondCut.length; facetIndex++) {\\n IDiamondCut.FacetCutAction action = _diamondCut[facetIndex].action;\\n if (action == IDiamondCut.FacetCutAction.Add) {\\n addFunctions(_diamondCut[facetIndex].facetAddress, _diamondCut[facetIndex].functionSelectors);\\n } else if (action == IDiamondCut.FacetCutAction.Replace) {\\n replaceFunctions(_diamondCut[facetIndex].facetAddress, _diamondCut[facetIndex].functionSelectors);\\n } else if (action == IDiamondCut.FacetCutAction.Remove) {\\n removeFunctions(_diamondCut[facetIndex].facetAddress, _diamondCut[facetIndex].functionSelectors);\\n } else {\\n revert(\\\"LibDiamondCut: Incorrect FacetCutAction\\\");\\n }\\n }\\n emit DiamondCut(_diamondCut, _init, _calldata);\\n initializeDiamondCut(_init, _calldata);\\n }\\n\\n function addFunctions(address _facetAddress, bytes4[] memory _functionSelectors) internal {\\n require(_functionSelectors.length > 0, \\\"LibDiamondCut: No selectors in facet to cut\\\");\\n DiamondStorage storage ds = diamondStorage(); \\n require(_facetAddress != address(0), \\\"LibDiamondCut: Add facet can't be address(0)\\\");\\n uint96 selectorPosition = uint96(ds.facetFunctionSelectors[_facetAddress].functionSelectors.length);\\n // add new facet address if it does not exist\\n if (selectorPosition == 0) {\\n addFacet(ds, _facetAddress); \\n }\\n for (uint256 selectorIndex; selectorIndex < _functionSelectors.length; selectorIndex++) {\\n bytes4 selector = _functionSelectors[selectorIndex];\\n address oldFacetAddress = ds.selectorToFacetAndPosition[selector].facetAddress;\\n require(oldFacetAddress == address(0), \\\"LibDiamondCut: Can't add function that already exists\\\");\\n addFunction(ds, selector, selectorPosition, _facetAddress);\\n selectorPosition++;\\n }\\n }\\n\\n function replaceFunctions(address _facetAddress, bytes4[] memory _functionSelectors) internal {\\n require(_functionSelectors.length > 0, \\\"LibDiamondCut: No selectors in facet to cut\\\");\\n DiamondStorage storage ds = diamondStorage();\\n require(_facetAddress != address(0), \\\"LibDiamondCut: Add facet can't be address(0)\\\");\\n uint96 selectorPosition = uint96(ds.facetFunctionSelectors[_facetAddress].functionSelectors.length);\\n // add new facet address if it does not exist\\n if (selectorPosition == 0) {\\n addFacet(ds, _facetAddress);\\n }\\n for (uint256 selectorIndex; selectorIndex < _functionSelectors.length; selectorIndex++) {\\n bytes4 selector = _functionSelectors[selectorIndex];\\n address oldFacetAddress = ds.selectorToFacetAndPosition[selector].facetAddress;\\n require(oldFacetAddress != _facetAddress, \\\"LibDiamondCut: Can't replace function with same function\\\");\\n removeFunction(ds, oldFacetAddress, selector);\\n addFunction(ds, selector, selectorPosition, _facetAddress);\\n selectorPosition++;\\n }\\n }\\n\\n function removeFunctions(address _facetAddress, bytes4[] memory _functionSelectors) internal {\\n require(_functionSelectors.length > 0, \\\"LibDiamondCut: No selectors in facet to cut\\\");\\n DiamondStorage storage ds = diamondStorage();\\n // if function does not exist then do nothing and return\\n require(_facetAddress == address(0), \\\"LibDiamondCut: Remove facet address must be address(0)\\\");\\n for (uint256 selectorIndex; selectorIndex < _functionSelectors.length; selectorIndex++) {\\n bytes4 selector = _functionSelectors[selectorIndex];\\n address oldFacetAddress = ds.selectorToFacetAndPosition[selector].facetAddress;\\n removeFunction(ds, oldFacetAddress, selector);\\n }\\n }\\n\\n function addFacet(DiamondStorage storage ds, address _facetAddress) internal {\\n enforceHasContractCode(_facetAddress, \\\"LibDiamondCut: New facet has no code\\\");\\n ds.facetFunctionSelectors[_facetAddress].facetAddressPosition = ds.facetAddresses.length;\\n ds.facetAddresses.push(_facetAddress);\\n } \\n\\n\\n function addFunction(DiamondStorage storage ds, bytes4 _selector, uint96 _selectorPosition, address _facetAddress) internal {\\n ds.selectorToFacetAndPosition[_selector].functionSelectorPosition = _selectorPosition;\\n ds.facetFunctionSelectors[_facetAddress].functionSelectors.push(_selector);\\n ds.selectorToFacetAndPosition[_selector].facetAddress = _facetAddress;\\n }\\n\\n function removeFunction(DiamondStorage storage ds, address _facetAddress, bytes4 _selector) internal { \\n require(_facetAddress != address(0), \\\"LibDiamondCut: Can't remove function that doesn't exist\\\");\\n // an immutable function is a function defined directly in a diamond\\n require(_facetAddress != address(this), \\\"LibDiamondCut: Can't remove immutable function\\\");\\n // replace selector with last selector, then delete last selector\\n uint256 selectorPosition = ds.selectorToFacetAndPosition[_selector].functionSelectorPosition;\\n uint256 lastSelectorPosition = ds.facetFunctionSelectors[_facetAddress].functionSelectors.length - 1;\\n // if not the same then replace _selector with lastSelector\\n if (selectorPosition != lastSelectorPosition) {\\n bytes4 lastSelector = ds.facetFunctionSelectors[_facetAddress].functionSelectors[lastSelectorPosition];\\n ds.facetFunctionSelectors[_facetAddress].functionSelectors[selectorPosition] = lastSelector;\\n ds.selectorToFacetAndPosition[lastSelector].functionSelectorPosition = uint96(selectorPosition);\\n }\\n // delete the last selector\\n ds.facetFunctionSelectors[_facetAddress].functionSelectors.pop();\\n delete ds.selectorToFacetAndPosition[_selector];\\n\\n // if no more selectors for facet address then delete the facet address\\n if (lastSelectorPosition == 0) {\\n // replace facet address with last facet address and delete last facet address\\n uint256 lastFacetAddressPosition = ds.facetAddresses.length - 1;\\n uint256 facetAddressPosition = ds.facetFunctionSelectors[_facetAddress].facetAddressPosition;\\n if (facetAddressPosition != lastFacetAddressPosition) {\\n address lastFacetAddress = ds.facetAddresses[lastFacetAddressPosition];\\n ds.facetAddresses[facetAddressPosition] = lastFacetAddress;\\n ds.facetFunctionSelectors[lastFacetAddress].facetAddressPosition = facetAddressPosition;\\n }\\n ds.facetAddresses.pop();\\n delete ds.facetFunctionSelectors[_facetAddress].facetAddressPosition;\\n }\\n }\\n\\n function initializeDiamondCut(address _init, bytes memory _calldata) internal {\\n if (_init == address(0)) {\\n require(_calldata.length == 0, \\\"LibDiamondCut: _init is address(0) but_calldata is not empty\\\");\\n } else {\\n require(_calldata.length > 0, \\\"LibDiamondCut: _calldata is empty but _init is not address(0)\\\");\\n if (_init != address(this)) {\\n enforceHasContractCode(_init, \\\"LibDiamondCut: _init address has no code\\\");\\n }\\n (bool success, bytes memory error) = _init.delegatecall(_calldata);\\n if (!success) {\\n if (error.length > 0) {\\n // bubble up the error\\n revert(string(error));\\n } else {\\n revert(\\\"LibDiamondCut: _init function reverted\\\");\\n }\\n }\\n }\\n }\\n\\n function enforceHasContractCode(address _contract, string memory _errorMessage) internal view {\\n uint256 contractSize;\\n assembly {\\n contractSize := extcodesize(_contract)\\n }\\n require(contractSize > 0, _errorMessage);\\n }\\n}\\n\",\"keccak256\":\"0x2205345e83eb86f5281f159a9215a096cb6d404782619f9b8e9d7a4a46c32a37\",\"license\":\"MIT\"}},\"version\":1}", "storageLayout": { "storage": [ { - "astId": 14, - "contract": "solc_0.7/diamond/Diamantaire.sol:Diamantaire", + "astId": 16, + "contract": "solc_0.8/diamond/Diamantaire.sol:Diamantaire", "label": "_builtinDiamondCut", "offset": 0, "slot": "0", - "type": "t_array(t_struct(FacetCut)679_storage)dyn_storage" + "type": "t_array(t_struct(FacetCut)711_storage)dyn_storage" } ], "types": { @@ -7638,8 +8351,8 @@ "label": "bytes4[]", "numberOfBytes": "32" }, - "t_array(t_struct(FacetCut)679_storage)dyn_storage": { - "base": "t_struct(FacetCut)679_storage", + "t_array(t_struct(FacetCut)711_storage)dyn_storage": { + "base": "t_struct(FacetCut)711_storage", "encoding": "dynamic_array", "label": "struct IDiamondCut.FacetCut[]", "numberOfBytes": "32" @@ -7649,34 +8362,34 @@ "label": "bytes4", "numberOfBytes": "4" }, - "t_enum(FacetCutAction)671": { + "t_enum(FacetCutAction)702": { "encoding": "inplace", "label": "enum IDiamondCut.FacetCutAction", "numberOfBytes": "1" }, - "t_struct(FacetCut)679_storage": { + "t_struct(FacetCut)711_storage": { "encoding": "inplace", "label": "struct IDiamondCut.FacetCut", "members": [ { - "astId": 673, - "contract": "solc_0.7/diamond/Diamantaire.sol:Diamantaire", + "astId": 704, + "contract": "solc_0.8/diamond/Diamantaire.sol:Diamantaire", "label": "facetAddress", "offset": 0, "slot": "0", "type": "t_address" }, { - "astId": 675, - "contract": "solc_0.7/diamond/Diamantaire.sol:Diamantaire", + "astId": 707, + "contract": "solc_0.8/diamond/Diamantaire.sol:Diamantaire", "label": "action", "offset": 20, "slot": "0", - "type": "t_enum(FacetCutAction)671" + "type": "t_enum(FacetCutAction)702" }, { - "astId": 678, - "contract": "solc_0.7/diamond/Diamantaire.sol:Diamantaire", + "astId": 710, + "contract": "solc_0.8/diamond/Diamantaire.sol:Diamantaire", "label": "functionSelectors", "offset": 0, "slot": "1", @@ -7692,6 +8405,6 @@ "methods": {}, "version": 1 }, - "solcInput": "{\n \"language\": \"Solidity\",\n \"sources\": {\n \"solc_0.7/diamond/Diamantaire.sol\": {\n \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity ^0.7.1;\\npragma experimental ABIEncoderV2;\\n\\nimport \\\"./interfaces/IDiamondCut.sol\\\";\\nimport \\\"./Diamond.sol\\\";\\nimport \\\"./facets/DiamondCutFacet.sol\\\";\\nimport \\\"./facets/DiamondLoupeFacet.sol\\\";\\nimport \\\"./facets/OwnershipFacet.sol\\\";\\n\\ncontract Diamantaire {\\n event DiamondCreated(Diamond diamond);\\n\\n IDiamondCut.FacetCut[] internal _builtinDiamondCut;\\n\\n constructor() {\\n bytes4[] memory functionSelectors;\\n\\n // -------------------------------------------------------------------------\\n // adding diamondCut function\\n // -------------------------------------------------------------------------\\n DiamondCutFacet diamondCutFacet = new DiamondCutFacet();\\n\\n functionSelectors = new bytes4[](1);\\n functionSelectors[0] = DiamondCutFacet.diamondCut.selector;\\n _builtinDiamondCut.push(IDiamondCut.FacetCut({\\n facetAddress:address(diamondCutFacet),\\n action: IDiamondCut.FacetCutAction.Add,\\n functionSelectors: functionSelectors\\n }));\\n\\n\\n // -------------------------------------------------------------------------\\n // adding diamond loupe functions\\n // -------------------------------------------------------------------------\\n DiamondLoupeFacet diamondLoupeFacet = new DiamondLoupeFacet();\\n\\n functionSelectors = new bytes4[](5);\\n functionSelectors[0] = DiamondLoupeFacet.facetFunctionSelectors.selector;\\n functionSelectors[1] = DiamondLoupeFacet.facets.selector;\\n functionSelectors[2] = DiamondLoupeFacet.facetAddress.selector;\\n functionSelectors[3] = DiamondLoupeFacet.facetAddresses.selector;\\n functionSelectors[4] = DiamondLoupeFacet.supportsInterface.selector;\\n _builtinDiamondCut.push(IDiamondCut.FacetCut({\\n facetAddress:address(diamondLoupeFacet),\\n action: IDiamondCut.FacetCutAction.Add,\\n functionSelectors: functionSelectors\\n }));\\n\\n\\n // -------------------------------------------------------------------------\\n // adding ownership functions\\n // -------------------------------------------------------------------------\\n OwnershipFacet ownershipFacet = new OwnershipFacet();\\n\\n functionSelectors = new bytes4[](2);\\n functionSelectors[0] = OwnershipFacet.transferOwnership.selector;\\n functionSelectors[1] = OwnershipFacet.owner.selector;\\n _builtinDiamondCut.push(IDiamondCut.FacetCut({\\n facetAddress:address(ownershipFacet),\\n action: IDiamondCut.FacetCutAction.Add,\\n functionSelectors: functionSelectors\\n }));\\n }\\n\\n function createDiamond(\\n address owner,\\n IDiamondCut.FacetCut[] calldata _diamondCut,\\n bytes calldata data,\\n bytes32 salt\\n ) external payable returns (Diamond diamond) {\\n if (salt != 0x0000000000000000000000000000000000000000000000000000000000000000) {\\n salt = keccak256(abi.encodePacked(salt, owner));\\n diamond = new Diamond{value: msg.value, salt: salt}(\\n _builtinDiamondCut,\\n Diamond.DiamondArgs({owner:address(this)})\\n );\\n } else {\\n diamond = new Diamond{value: msg.value}(_builtinDiamondCut, Diamond.DiamondArgs({owner:address(this)}));\\n }\\n emit DiamondCreated(diamond);\\n\\n IDiamondCut(address(diamond)).diamondCut(_diamondCut, data.length > 0 ? address(diamond) : address(0), data);\\n IERC173(address(diamond)).transferOwnership(owner);\\n }\\n}\\n\"\n },\n \"solc_0.7/diamond/interfaces/IDiamondCut.sol\": {\n \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity ^0.7.6;\\npragma experimental ABIEncoderV2;\\n\\n/******************************************************************************\\\\\\n* Author: Nick Mudge (https://twitter.com/mudgen)\\n* EIP-2535 Diamond Standard: https://eips.ethereum.org/EIPS/eip-2535\\n/******************************************************************************/\\n\\ninterface IDiamondCut {\\n enum FacetCutAction {Add, Replace, Remove}\\n // Add=0, Replace=1, Remove=2\\n\\n struct FacetCut {\\n address facetAddress;\\n FacetCutAction action;\\n bytes4[] functionSelectors;\\n }\\n\\n /// @notice Add/replace/remove any number of functions and optionally execute\\n /// a function with delegatecall\\n /// @param _diamondCut Contains the facet addresses and function selectors\\n /// @param _init The address of the contract or facet to execute _calldata\\n /// @param _calldata A function call, including function selector and arguments\\n /// _calldata is executed with delegatecall on _init\\n function diamondCut(\\n FacetCut[] calldata _diamondCut,\\n address _init,\\n bytes calldata _calldata\\n ) external;\\n\\n event DiamondCut(FacetCut[] _diamondCut, address _init, bytes _calldata);\\n}\\n\"\n },\n \"solc_0.7/diamond/Diamond.sol\": {\n \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity ^0.7.6;\\npragma experimental ABIEncoderV2;\\n\\n/******************************************************************************\\\\\\n* Author: Nick Mudge (https://twitter.com/mudgen)\\n* EIP-2535 Diamond Standard: https://eips.ethereum.org/EIPS/eip-2535\\n* \\n* Implementation of a diamond.\\n/******************************************************************************/\\n\\nimport \\\"./libraries/LibDiamond.sol\\\";\\nimport \\\"./interfaces/IDiamondLoupe.sol\\\";\\nimport \\\"./interfaces/IDiamondCut.sol\\\";\\nimport \\\"./interfaces/IERC173.sol\\\";\\nimport \\\"./interfaces/IERC165.sol\\\";\\n\\ncontract Diamond {\\n // more arguments are added to this struct\\n // this avoids stack too deep errors\\n struct DiamondArgs {\\n address owner;\\n }\\n\\n constructor(IDiamondCut.FacetCut[] memory _diamondCut, DiamondArgs memory _args) payable {\\n LibDiamond.diamondCut(_diamondCut, address(0), new bytes(0));\\n LibDiamond.setContractOwner(_args.owner);\\n\\n LibDiamond.DiamondStorage storage ds = LibDiamond.diamondStorage();\\n\\n // adding ERC165 data\\n ds.supportedInterfaces[type(IERC165).interfaceId] = true;\\n ds.supportedInterfaces[type(IDiamondCut).interfaceId] = true;\\n ds.supportedInterfaces[type(IDiamondLoupe).interfaceId] = true;\\n ds.supportedInterfaces[type(IERC173).interfaceId] = true;\\n }\\n\\n // Find facet for function that is called and execute the\\n // function if a facet is found and return any value.\\n fallback() external payable {\\n LibDiamond.DiamondStorage storage ds;\\n bytes32 position = LibDiamond.DIAMOND_STORAGE_POSITION;\\n assembly {\\n ds.slot := position\\n }\\n address facet = ds.selectorToFacetAndPosition[msg.sig].facetAddress;\\n require(facet != address(0), \\\"Diamond: Function does not exist\\\");\\n assembly {\\n calldatacopy(0, 0, calldatasize())\\n let result := delegatecall(gas(), facet, 0, calldatasize(), 0, 0)\\n returndatacopy(0, 0, returndatasize())\\n switch result\\n case 0 {\\n revert(0, returndatasize())\\n }\\n default {\\n return(0, returndatasize())\\n }\\n }\\n }\\n\\n receive() external payable {}\\n}\\n\"\n },\n \"solc_0.7/diamond/facets/DiamondCutFacet.sol\": {\n \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity ^0.7.6;\\npragma experimental ABIEncoderV2;\\n\\n/******************************************************************************\\\\\\n* Author: Nick Mudge (https://twitter.com/mudgen)\\n* EIP-2535 Diamond Standard: https://eips.ethereum.org/EIPS/eip-2535\\n/******************************************************************************/\\n\\nimport \\\"../interfaces/IDiamondCut.sol\\\";\\nimport \\\"../libraries/LibDiamond.sol\\\";\\n\\ncontract DiamondCutFacet is IDiamondCut {\\n /// @notice Add/replace/remove any number of functions and optionally execute\\n /// a function with delegatecall\\n /// @param _diamondCut Contains the facet addresses and function selectors\\n /// @param _init The address of the contract or facet to execute _calldata\\n /// @param _calldata A function call, including function selector and arguments\\n /// _calldata is executed with delegatecall on _init\\n function diamondCut(\\n FacetCut[] calldata _diamondCut,\\n address _init,\\n bytes calldata _calldata\\n ) external override {\\n LibDiamond.enforceIsContractOwner();\\n LibDiamond.diamondCut(_diamondCut, _init, _calldata);\\n }\\n}\\n\"\n },\n \"solc_0.7/diamond/facets/DiamondLoupeFacet.sol\": {\n \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity ^0.7.6;\\npragma experimental ABIEncoderV2;\\n\\n/******************************************************************************\\\\\\n* Author: Nick Mudge (https://twitter.com/mudgen)\\n* EIP-2535 Diamond Standard: https://eips.ethereum.org/EIPS/eip-2535\\n/******************************************************************************/\\n\\nimport \\\"../libraries/LibDiamond.sol\\\";\\nimport \\\"../interfaces/IDiamondCut.sol\\\";\\nimport \\\"../interfaces/IDiamondLoupe.sol\\\";\\nimport \\\"../interfaces/IERC165.sol\\\";\\n\\ncontract DiamondLoupeFacet is IDiamondLoupe, IERC165 {\\n // Diamond Loupe Functions\\n ////////////////////////////////////////////////////////////////////\\n /// These functions are expected to be called frequently by tools.\\n //\\n // struct Facet {\\n // address facetAddress;\\n // bytes4[] functionSelectors;\\n // }\\n\\n /// @notice Gets all facets and their selectors.\\n /// @return facets_ Facet\\n function facets() external override view returns (Facet[] memory facets_) {\\n LibDiamond.DiamondStorage storage ds = LibDiamond.diamondStorage();\\n uint256 numFacets = ds.facetAddresses.length;\\n facets_ = new Facet[](numFacets);\\n for (uint256 i; i < numFacets; i++) {\\n address facetAddress_ = ds.facetAddresses[i];\\n facets_[i].facetAddress = facetAddress_;\\n facets_[i].functionSelectors = ds.facetFunctionSelectors[facetAddress_].functionSelectors;\\n }\\n }\\n\\n /// @notice Gets all the function selectors provided by a facet.\\n /// @param _facet The facet address.\\n /// @return facetFunctionSelectors_\\n function facetFunctionSelectors(address _facet) external override view returns (bytes4[] memory facetFunctionSelectors_) {\\n LibDiamond.DiamondStorage storage ds = LibDiamond.diamondStorage();\\n facetFunctionSelectors_ = ds.facetFunctionSelectors[_facet].functionSelectors;\\n }\\n\\n /// @notice Get all the facet addresses used by a diamond.\\n /// @return facetAddresses_\\n function facetAddresses() external override view returns (address[] memory facetAddresses_) {\\n LibDiamond.DiamondStorage storage ds = LibDiamond.diamondStorage();\\n facetAddresses_ = ds.facetAddresses;\\n }\\n\\n /// @notice Gets the facet that supports the given selector.\\n /// @dev If facet is not found return address(0).\\n /// @param _functionSelector The function selector.\\n /// @return facetAddress_ The facet address.\\n function facetAddress(bytes4 _functionSelector) external override view returns (address facetAddress_) {\\n LibDiamond.DiamondStorage storage ds = LibDiamond.diamondStorage();\\n facetAddress_ = ds.selectorToFacetAndPosition[_functionSelector].facetAddress;\\n }\\n\\n // This implements ERC-165.\\n function supportsInterface(bytes4 _interfaceId) external override view returns (bool) {\\n LibDiamond.DiamondStorage storage ds = LibDiamond.diamondStorage();\\n return ds.supportedInterfaces[_interfaceId];\\n }\\n}\\n\"\n },\n \"solc_0.7/diamond/facets/OwnershipFacet.sol\": {\n \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity ^0.7.6;\\n\\nimport \\\"../libraries/LibDiamond.sol\\\";\\nimport \\\"../interfaces/IERC173.sol\\\";\\n\\ncontract OwnershipFacet is IERC173 {\\n function transferOwnership(address _newOwner) external override {\\n LibDiamond.enforceIsContractOwner();\\n LibDiamond.setContractOwner(_newOwner);\\n }\\n\\n function owner() external override view returns (address owner_) {\\n owner_ = LibDiamond.contractOwner();\\n }\\n}\\n\"\n },\n \"solc_0.7/diamond/libraries/LibDiamond.sol\": {\n \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity ^0.7.6;\\npragma experimental ABIEncoderV2;\\n\\n/******************************************************************************\\\\\\n* Author: Nick Mudge (https://twitter.com/mudgen)\\n* EIP-2535 Diamond Standard: https://eips.ethereum.org/EIPS/eip-2535\\n/******************************************************************************/\\n\\nimport \\\"../interfaces/IDiamondCut.sol\\\";\\n\\nlibrary LibDiamond {\\n bytes32 constant DIAMOND_STORAGE_POSITION = keccak256(\\\"diamond.standard.diamond.storage\\\");\\n\\n struct FacetAddressAndPosition {\\n address facetAddress;\\n uint16 functionSelectorPosition; // position in facetFunctionSelectors.functionSelectors array\\n }\\n\\n struct FacetFunctionSelectors {\\n bytes4[] functionSelectors;\\n uint16 facetAddressPosition; // position of facetAddress in facetAddresses array\\n }\\n\\n struct DiamondStorage {\\n // maps function selector to the facet address and\\n // the position of the selector in the facetFunctionSelectors.selectors array\\n mapping(bytes4 => FacetAddressAndPosition) selectorToFacetAndPosition;\\n // maps facet addresses to function selectors\\n mapping(address => FacetFunctionSelectors) facetFunctionSelectors;\\n // facet addresses\\n address[] facetAddresses;\\n // Used to query if a contract implements an interface.\\n // Used to implement ERC-165.\\n mapping(bytes4 => bool) supportedInterfaces;\\n // owner of the contract\\n address contractOwner;\\n }\\n\\n function diamondStorage() internal pure returns (DiamondStorage storage ds) {\\n bytes32 position = DIAMOND_STORAGE_POSITION;\\n assembly {\\n ds.slot := position\\n }\\n }\\n\\n event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);\\n\\n function setContractOwner(address _newOwner) internal {\\n DiamondStorage storage ds = diamondStorage();\\n address previousOwner = ds.contractOwner;\\n ds.contractOwner = _newOwner;\\n emit OwnershipTransferred(previousOwner, _newOwner);\\n }\\n\\n function contractOwner() internal view returns (address contractOwner_) {\\n contractOwner_ = diamondStorage().contractOwner;\\n }\\n\\n function enforceIsContractOwner() internal view {\\n require(msg.sender == diamondStorage().contractOwner, \\\"LibDiamond: Must be contract owner\\\");\\n }\\n\\n event DiamondCut(IDiamondCut.FacetCut[] _diamondCut, address _init, bytes _calldata);\\n\\n // Internal function version of diamondCut\\n function diamondCut(\\n IDiamondCut.FacetCut[] memory _diamondCut,\\n address _init,\\n bytes memory _calldata\\n ) internal {\\n for (uint256 facetIndex; facetIndex < _diamondCut.length; facetIndex++) {\\n IDiamondCut.FacetCutAction action = _diamondCut[facetIndex].action;\\n if (action == IDiamondCut.FacetCutAction.Add) {\\n addFunctions(_diamondCut[facetIndex].facetAddress, _diamondCut[facetIndex].functionSelectors);\\n } else if (action == IDiamondCut.FacetCutAction.Replace) {\\n replaceFunctions(_diamondCut[facetIndex].facetAddress, _diamondCut[facetIndex].functionSelectors);\\n } else if (action == IDiamondCut.FacetCutAction.Remove) {\\n removeFunctions(_diamondCut[facetIndex].facetAddress, _diamondCut[facetIndex].functionSelectors);\\n } else {\\n revert(\\\"LibDiamondCut: Incorrect FacetCutAction\\\");\\n }\\n }\\n emit DiamondCut(_diamondCut, _init, _calldata);\\n initializeDiamondCut(_init, _calldata);\\n }\\n\\n function addFunctions(address _facetAddress, bytes4[] memory _functionSelectors) internal {\\n require(_functionSelectors.length > 0, \\\"LibDiamondCut: No selectors in facet to cut\\\");\\n DiamondStorage storage ds = diamondStorage();\\n // uint16 selectorCount = uint16(diamondStorage().selectors.length);\\n require(_facetAddress != address(0), \\\"LibDiamondCut: Add facet can't be address(0)\\\");\\n uint16 selectorPosition = uint16(ds.facetFunctionSelectors[_facetAddress].functionSelectors.length);\\n // add new facet address if it does not exist\\n if (selectorPosition == 0) {\\n enforceHasContractCode(_facetAddress, \\\"LibDiamondCut: New facet has no code\\\");\\n ds.facetFunctionSelectors[_facetAddress].facetAddressPosition = uint16(ds.facetAddresses.length);\\n ds.facetAddresses.push(_facetAddress);\\n }\\n for (uint256 selectorIndex; selectorIndex < _functionSelectors.length; selectorIndex++) {\\n bytes4 selector = _functionSelectors[selectorIndex];\\n address oldFacetAddress = ds.selectorToFacetAndPosition[selector].facetAddress;\\n require(oldFacetAddress == address(0), \\\"LibDiamondCut: Can't add function that already exists\\\");\\n ds.facetFunctionSelectors[_facetAddress].functionSelectors.push(selector);\\n ds.selectorToFacetAndPosition[selector].facetAddress = _facetAddress;\\n ds.selectorToFacetAndPosition[selector].functionSelectorPosition = selectorPosition;\\n selectorPosition++;\\n }\\n }\\n\\n function replaceFunctions(address _facetAddress, bytes4[] memory _functionSelectors) internal {\\n require(_functionSelectors.length > 0, \\\"LibDiamondCut: No selectors in facet to cut\\\");\\n DiamondStorage storage ds = diamondStorage();\\n require(_facetAddress != address(0), \\\"LibDiamondCut: Add facet can't be address(0)\\\");\\n uint16 selectorPosition = uint16(ds.facetFunctionSelectors[_facetAddress].functionSelectors.length);\\n // add new facet address if it does not exist\\n if (selectorPosition == 0) {\\n enforceHasContractCode(_facetAddress, \\\"LibDiamondCut: New facet has no code\\\");\\n ds.facetFunctionSelectors[_facetAddress].facetAddressPosition = uint16(ds.facetAddresses.length);\\n ds.facetAddresses.push(_facetAddress);\\n }\\n for (uint256 selectorIndex; selectorIndex < _functionSelectors.length; selectorIndex++) {\\n bytes4 selector = _functionSelectors[selectorIndex];\\n address oldFacetAddress = ds.selectorToFacetAndPosition[selector].facetAddress;\\n require(oldFacetAddress != _facetAddress, \\\"LibDiamondCut: Can't replace function with same function\\\");\\n removeFunction(oldFacetAddress, selector);\\n // add function\\n ds.selectorToFacetAndPosition[selector].functionSelectorPosition = selectorPosition;\\n ds.facetFunctionSelectors[_facetAddress].functionSelectors.push(selector);\\n ds.selectorToFacetAndPosition[selector].facetAddress = _facetAddress;\\n selectorPosition++;\\n }\\n }\\n\\n function removeFunctions(address _facetAddress, bytes4[] memory _functionSelectors) internal {\\n require(_functionSelectors.length > 0, \\\"LibDiamondCut: No selectors in facet to cut\\\");\\n DiamondStorage storage ds = diamondStorage();\\n // if function does not exist then do nothing and return\\n require(_facetAddress == address(0), \\\"LibDiamondCut: Remove facet address must be address(0)\\\");\\n for (uint256 selectorIndex; selectorIndex < _functionSelectors.length; selectorIndex++) {\\n bytes4 selector = _functionSelectors[selectorIndex];\\n address oldFacetAddress = ds.selectorToFacetAndPosition[selector].facetAddress;\\n removeFunction(oldFacetAddress, selector);\\n }\\n }\\n\\n function removeFunction(address _facetAddress, bytes4 _selector) internal {\\n DiamondStorage storage ds = diamondStorage();\\n require(_facetAddress != address(0), \\\"LibDiamondCut: Can't remove function that doesn't exist\\\");\\n // an immutable function is a function defined directly in a diamond\\n require(_facetAddress != address(this), \\\"LibDiamondCut: Can't remove immutable function\\\");\\n // replace selector with last selector, then delete last selector\\n uint256 selectorPosition = ds.selectorToFacetAndPosition[_selector].functionSelectorPosition;\\n uint256 lastSelectorPosition = ds.facetFunctionSelectors[_facetAddress].functionSelectors.length - 1;\\n // if not the same then replace _selector with lastSelector\\n if (selectorPosition != lastSelectorPosition) {\\n bytes4 lastSelector = ds.facetFunctionSelectors[_facetAddress].functionSelectors[lastSelectorPosition];\\n ds.facetFunctionSelectors[_facetAddress].functionSelectors[selectorPosition] = lastSelector;\\n ds.selectorToFacetAndPosition[lastSelector].functionSelectorPosition = uint16(selectorPosition);\\n }\\n // delete the last selector\\n ds.facetFunctionSelectors[_facetAddress].functionSelectors.pop();\\n delete ds.selectorToFacetAndPosition[_selector];\\n\\n // if no more selectors for facet address then delete the facet address\\n if (lastSelectorPosition == 0) {\\n // replace facet address with last facet address and delete last facet address\\n uint256 lastFacetAddressPosition = ds.facetAddresses.length - 1;\\n uint256 facetAddressPosition = ds.facetFunctionSelectors[_facetAddress].facetAddressPosition;\\n if (facetAddressPosition != lastFacetAddressPosition) {\\n address lastFacetAddress = ds.facetAddresses[lastFacetAddressPosition];\\n ds.facetAddresses[facetAddressPosition] = lastFacetAddress;\\n ds.facetFunctionSelectors[lastFacetAddress].facetAddressPosition = uint16(facetAddressPosition);\\n }\\n ds.facetAddresses.pop();\\n delete ds.facetFunctionSelectors[_facetAddress].facetAddressPosition;\\n }\\n }\\n\\n function initializeDiamondCut(address _init, bytes memory _calldata) internal {\\n if (_init == address(0)) {\\n require(_calldata.length == 0, \\\"LibDiamondCut: _init is address(0) but_calldata is not empty\\\");\\n } else {\\n require(_calldata.length > 0, \\\"LibDiamondCut: _calldata is empty but _init is not address(0)\\\");\\n if (_init != address(this)) {\\n enforceHasContractCode(_init, \\\"LibDiamondCut: _init address has no code\\\");\\n }\\n (bool success, bytes memory error) = _init.delegatecall(_calldata);\\n if (!success) {\\n if (error.length > 0) {\\n // bubble up the error\\n revert(string(error));\\n } else {\\n revert(\\\"LibDiamondCut: _init function reverted\\\");\\n }\\n }\\n }\\n }\\n\\n function enforceHasContractCode(address _contract, string memory _errorMessage) internal view {\\n uint256 contractSize;\\n assembly {\\n contractSize := extcodesize(_contract)\\n }\\n require(contractSize > 0, _errorMessage);\\n }\\n}\\n\"\n },\n \"solc_0.7/diamond/interfaces/IDiamondLoupe.sol\": {\n \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity ^0.7.6;\\npragma experimental ABIEncoderV2;\\n\\n/******************************************************************************\\\\\\n* Author: Nick Mudge (https://twitter.com/mudgen)\\n* EIP-2535 Diamond Standard: https://eips.ethereum.org/EIPS/eip-2535\\n/******************************************************************************/\\n\\n// A loupe is a small magnifying glass used to look at diamonds.\\n// These functions look at diamonds\\ninterface IDiamondLoupe {\\n /// These functions are expected to be called frequently\\n /// by tools.\\n\\n struct Facet {\\n address facetAddress;\\n bytes4[] functionSelectors;\\n }\\n\\n /// @notice Gets all facet addresses and their four byte function selectors.\\n /// @return facets_ Facet\\n function facets() external view returns (Facet[] memory facets_);\\n\\n /// @notice Gets all the function selectors supported by a specific facet.\\n /// @param _facet The facet address.\\n /// @return facetFunctionSelectors_\\n function facetFunctionSelectors(address _facet) external view returns (bytes4[] memory facetFunctionSelectors_);\\n\\n /// @notice Get all the facet addresses used by a diamond.\\n /// @return facetAddresses_\\n function facetAddresses() external view returns (address[] memory facetAddresses_);\\n\\n /// @notice Gets the facet that supports the given selector.\\n /// @dev If facet is not found return address(0).\\n /// @param _functionSelector The function selector.\\n /// @return facetAddress_ The facet address.\\n function facetAddress(bytes4 _functionSelector) external view returns (address facetAddress_);\\n}\\n\"\n },\n \"solc_0.7/diamond/interfaces/IERC173.sol\": {\n \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity ^0.7.6;\\n\\n/// @title ERC-173 Contract Ownership Standard\\n/// Note: the ERC-165 identifier for this interface is 0x7f5828d0\\n/* is ERC165 */\\ninterface IERC173 {\\n /// @dev This emits when ownership of a contract changes.\\n event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);\\n\\n /// @notice Get the address of the owner\\n /// @return owner_ The address of the owner.\\n function owner() external view returns (address owner_);\\n\\n /// @notice Set the address of the new owner of the contract\\n /// @dev Set _newOwner to address(0) to renounce any ownership.\\n /// @param _newOwner The address of the new owner of the contract\\n function transferOwnership(address _newOwner) external;\\n}\\n\"\n },\n \"solc_0.7/diamond/interfaces/IERC165.sol\": {\n \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity ^0.7.6;\\npragma experimental ABIEncoderV2;\\n\\ninterface IERC165 {\\n /// @notice Query if a contract implements an interface\\n /// @param interfaceId The interface identifier, as specified in ERC-165\\n /// @dev Interface identification is specified in ERC-165. This function\\n /// uses less than 30,000 gas.\\n /// @return `true` if the contract implements `interfaceID` and\\n /// `interfaceID` is not 0xffffffff, `false` otherwise\\n function supportsInterface(bytes4 interfaceId) external view returns (bool);\\n}\\n\"\n }\n },\n \"settings\": {\n \"optimizer\": {\n \"enabled\": true,\n \"runs\": 999999\n },\n \"outputSelection\": {\n \"*\": {\n \"*\": [\n \"abi\",\n \"evm.bytecode\",\n \"evm.deployedBytecode\",\n \"evm.methodIdentifiers\",\n \"metadata\",\n \"devdoc\",\n \"userdoc\",\n \"storageLayout\",\n \"evm.gasEstimates\"\n ],\n \"\": [\n \"ast\"\n ]\n }\n },\n \"metadata\": {\n \"useLiteralContent\": true\n }\n }\n}", - "solcInputHash": "1d060b65b8264d57d416f20cb1fe798a" + "solcInput": "{\n \"language\": \"Solidity\",\n \"sources\": {\n \"solc_0.8/diamond/Diamantaire.sol\": {\n \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.0;\\npragma experimental ABIEncoderV2;\\n\\nimport \\\"./interfaces/IDiamondCut.sol\\\";\\nimport \\\"./Diamond.sol\\\";\\nimport \\\"./facets/DiamondCutFacet.sol\\\";\\nimport \\\"./facets/DiamondLoupeFacet.sol\\\";\\nimport \\\"./facets/OwnershipFacet.sol\\\";\\n\\ncontract Diamantaire {\\n event DiamondCreated(Diamond diamond);\\n\\n IDiamondCut.FacetCut[] internal _builtinDiamondCut;\\n\\n constructor() {\\n bytes4[] memory functionSelectors;\\n\\n // -------------------------------------------------------------------------\\n // adding diamondCut function\\n // -------------------------------------------------------------------------\\n DiamondCutFacet diamondCutFacet = new DiamondCutFacet();\\n\\n functionSelectors = new bytes4[](1);\\n functionSelectors[0] = DiamondCutFacet.diamondCut.selector;\\n _builtinDiamondCut.push(IDiamondCut.FacetCut({\\n facetAddress:address(diamondCutFacet),\\n action: IDiamondCut.FacetCutAction.Add,\\n functionSelectors: functionSelectors\\n }));\\n\\n\\n // -------------------------------------------------------------------------\\n // adding diamond loupe functions\\n // -------------------------------------------------------------------------\\n DiamondLoupeFacet diamondLoupeFacet = new DiamondLoupeFacet();\\n\\n functionSelectors = new bytes4[](5);\\n functionSelectors[0] = DiamondLoupeFacet.facetFunctionSelectors.selector;\\n functionSelectors[1] = DiamondLoupeFacet.facets.selector;\\n functionSelectors[2] = DiamondLoupeFacet.facetAddress.selector;\\n functionSelectors[3] = DiamondLoupeFacet.facetAddresses.selector;\\n functionSelectors[4] = DiamondLoupeFacet.supportsInterface.selector;\\n _builtinDiamondCut.push(IDiamondCut.FacetCut({\\n facetAddress:address(diamondLoupeFacet),\\n action: IDiamondCut.FacetCutAction.Add,\\n functionSelectors: functionSelectors\\n }));\\n\\n\\n // -------------------------------------------------------------------------\\n // adding ownership functions\\n // -------------------------------------------------------------------------\\n OwnershipFacet ownershipFacet = new OwnershipFacet();\\n\\n functionSelectors = new bytes4[](2);\\n functionSelectors[0] = OwnershipFacet.transferOwnership.selector;\\n functionSelectors[1] = OwnershipFacet.owner.selector;\\n _builtinDiamondCut.push(IDiamondCut.FacetCut({\\n facetAddress:address(ownershipFacet),\\n action: IDiamondCut.FacetCutAction.Add,\\n functionSelectors: functionSelectors\\n }));\\n }\\n\\n function createDiamond(\\n address owner,\\n IDiamondCut.FacetCut[] calldata _diamondCut,\\n bytes calldata data,\\n bytes32 salt\\n ) external payable returns (Diamond diamond) {\\n if (salt != 0x0000000000000000000000000000000000000000000000000000000000000000) {\\n salt = keccak256(abi.encodePacked(salt, owner));\\n diamond = new Diamond{value: msg.value, salt: salt}(\\n _builtinDiamondCut,\\n Diamond.DiamondArgs({owner:address(this)})\\n );\\n } else {\\n diamond = new Diamond{value: msg.value}(_builtinDiamondCut, Diamond.DiamondArgs({owner:address(this)}));\\n }\\n emit DiamondCreated(diamond);\\n\\n IDiamondCut(address(diamond)).diamondCut(_diamondCut, data.length > 0 ? address(diamond) : address(0), data);\\n IERC173(address(diamond)).transferOwnership(owner);\\n }\\n}\\n\"\n },\n \"solc_0.8/diamond/interfaces/IDiamondCut.sol\": {\n \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.0;\\n\\n/******************************************************************************\\\\\\n* Author: Nick Mudge (https://twitter.com/mudgen)\\n* EIP-2535 Diamonds: https://eips.ethereum.org/EIPS/eip-2535\\n/******************************************************************************/\\n\\ninterface IDiamondCut {\\n enum FacetCutAction {Add, Replace, Remove}\\n // Add=0, Replace=1, Remove=2\\n\\n struct FacetCut {\\n address facetAddress;\\n FacetCutAction action;\\n bytes4[] functionSelectors;\\n }\\n\\n /// @notice Add/replace/remove any number of functions and optionally execute\\n /// a function with delegatecall\\n /// @param _diamondCut Contains the facet addresses and function selectors\\n /// @param _init The address of the contract or facet to execute _calldata\\n /// @param _calldata A function call, including function selector and arguments\\n /// _calldata is executed with delegatecall on _init\\n function diamondCut(\\n FacetCut[] calldata _diamondCut,\\n address _init,\\n bytes calldata _calldata\\n ) external;\\n\\n event DiamondCut(FacetCut[] _diamondCut, address _init, bytes _calldata);\\n}\\n\"\n },\n \"solc_0.8/diamond/Diamond.sol\": {\n \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.0;\\n\\n/******************************************************************************\\\\\\n* Author: Nick Mudge (https://twitter.com/mudgen)\\n* EIP-2535 Diamonds: https://eips.ethereum.org/EIPS/eip-2535\\n*\\n* Implementation of a diamond.\\n/******************************************************************************/\\n\\nimport { LibDiamond } from \\\"./libraries/LibDiamond.sol\\\";\\nimport { IDiamondCut } from \\\"./interfaces/IDiamondCut.sol\\\";\\nimport { IDiamondLoupe } from \\\"./interfaces/IDiamondLoupe.sol\\\";\\nimport { IERC173 } from \\\"./interfaces/IERC173.sol\\\";\\nimport { IERC165 } from \\\"./interfaces/IERC165.sol\\\";\\n\\ncontract Diamond {\\n // more arguments are added to this struct\\n // this avoids stack too deep errors\\n struct DiamondArgs {\\n address owner;\\n }\\n\\n constructor(IDiamondCut.FacetCut[] memory _diamondCut, DiamondArgs memory _args) payable {\\n LibDiamond.diamondCut(_diamondCut, address(0), new bytes(0));\\n LibDiamond.setContractOwner(_args.owner);\\n\\n LibDiamond.DiamondStorage storage ds = LibDiamond.diamondStorage();\\n\\n // adding ERC165 data\\n ds.supportedInterfaces[type(IERC165).interfaceId] = true;\\n ds.supportedInterfaces[type(IDiamondCut).interfaceId] = true;\\n ds.supportedInterfaces[type(IDiamondLoupe).interfaceId] = true;\\n ds.supportedInterfaces[type(IERC173).interfaceId] = true;\\n }\\n\\n// constructor(address _contractOwner, address _diamondCutFacet) payable {\\n// LibDiamond.setContractOwner(_contractOwner);\\n//\\n// // Add the diamondCut external function from the diamondCutFacet\\n// IDiamondCut.FacetCut[] memory cut = new IDiamondCut.FacetCut[](1);\\n// bytes4[] memory functionSelectors = new bytes4[](1);\\n// functionSelectors[0] = IDiamondCut.diamondCut.selector;\\n// cut[0] = IDiamondCut.FacetCut({\\n// facetAddress: _diamondCutFacet,\\n// action: IDiamondCut.FacetCutAction.Add,\\n// functionSelectors: functionSelectors\\n// });\\n// LibDiamond.diamondCut(cut, address(0), \\\"\\\");\\n// }\\n\\n // Find facet for function that is called and execute the\\n // function if a facet is found and return any value.\\n fallback() external payable {\\n LibDiamond.DiamondStorage storage ds;\\n bytes32 position = LibDiamond.DIAMOND_STORAGE_POSITION;\\n // get diamond storage\\n assembly {\\n ds.slot := position\\n }\\n // get facet from function selector\\n address facet = ds.selectorToFacetAndPosition[msg.sig].facetAddress;\\n require(facet != address(0), \\\"Diamond: Function does not exist\\\");\\n // Execute external function from facet using delegatecall and return any value.\\n assembly {\\n // copy function selector and any arguments\\n calldatacopy(0, 0, calldatasize())\\n // execute function call using the facet\\n let result := delegatecall(gas(), facet, 0, calldatasize(), 0, 0)\\n // get any return value\\n returndatacopy(0, 0, returndatasize())\\n // return any return value or error back to the caller\\n switch result\\n case 0 {\\n revert(0, returndatasize())\\n }\\n default {\\n return(0, returndatasize())\\n }\\n }\\n }\\n\\n receive() external payable {}\\n}\\n\"\n },\n \"solc_0.8/diamond/facets/DiamondCutFacet.sol\": {\n \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.0;\\n\\n/******************************************************************************\\\\\\n* Author: Nick Mudge (https://twitter.com/mudgen)\\n* EIP-2535 Diamonds: https://eips.ethereum.org/EIPS/eip-2535\\n/******************************************************************************/\\n\\nimport { IDiamondCut } from \\\"../interfaces/IDiamondCut.sol\\\";\\nimport { LibDiamond } from \\\"../libraries/LibDiamond.sol\\\";\\n\\ncontract DiamondCutFacet is IDiamondCut {\\n /// @notice Add/replace/remove any number of functions and optionally execute\\n /// a function with delegatecall\\n /// @param _diamondCut Contains the facet addresses and function selectors\\n /// @param _init The address of the contract or facet to execute _calldata\\n /// @param _calldata A function call, including function selector and arguments\\n /// _calldata is executed with delegatecall on _init\\n function diamondCut(\\n FacetCut[] calldata _diamondCut,\\n address _init,\\n bytes calldata _calldata\\n ) external override {\\n LibDiamond.enforceIsContractOwner();\\n LibDiamond.diamondCut(_diamondCut, _init, _calldata);\\n }\\n}\\n\"\n },\n \"solc_0.8/diamond/facets/DiamondLoupeFacet.sol\": {\n \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.0;\\n/******************************************************************************\\\\\\n* Author: Nick Mudge (https://twitter.com/mudgen)\\n* EIP-2535 Diamonds: https://eips.ethereum.org/EIPS/eip-2535\\n/******************************************************************************/\\n\\nimport { LibDiamond } from \\\"../libraries/LibDiamond.sol\\\";\\nimport { IDiamondLoupe } from \\\"../interfaces/IDiamondLoupe.sol\\\";\\nimport { IERC165 } from \\\"../interfaces/IERC165.sol\\\";\\n\\ncontract DiamondLoupeFacet is IDiamondLoupe, IERC165 {\\n // Diamond Loupe Functions\\n ////////////////////////////////////////////////////////////////////\\n /// These functions are expected to be called frequently by tools.\\n //\\n // struct Facet {\\n // address facetAddress;\\n // bytes4[] functionSelectors;\\n // }\\n\\n /// @notice Gets all facets and their selectors.\\n /// @return facets_ Facet\\n function facets() external override view returns (Facet[] memory facets_) {\\n LibDiamond.DiamondStorage storage ds = LibDiamond.diamondStorage();\\n uint256 numFacets = ds.facetAddresses.length;\\n facets_ = new Facet[](numFacets);\\n for (uint256 i; i < numFacets; i++) {\\n address facetAddress_ = ds.facetAddresses[i];\\n facets_[i].facetAddress = facetAddress_;\\n facets_[i].functionSelectors = ds.facetFunctionSelectors[facetAddress_].functionSelectors;\\n }\\n }\\n\\n /// @notice Gets all the function selectors provided by a facet.\\n /// @param _facet The facet address.\\n /// @return facetFunctionSelectors_\\n function facetFunctionSelectors(address _facet) external override view returns (bytes4[] memory facetFunctionSelectors_) {\\n LibDiamond.DiamondStorage storage ds = LibDiamond.diamondStorage();\\n facetFunctionSelectors_ = ds.facetFunctionSelectors[_facet].functionSelectors;\\n }\\n\\n /// @notice Get all the facet addresses used by a diamond.\\n /// @return facetAddresses_\\n function facetAddresses() external override view returns (address[] memory facetAddresses_) {\\n LibDiamond.DiamondStorage storage ds = LibDiamond.diamondStorage();\\n facetAddresses_ = ds.facetAddresses;\\n }\\n\\n /// @notice Gets the facet that supports the given selector.\\n /// @dev If facet is not found return address(0).\\n /// @param _functionSelector The function selector.\\n /// @return facetAddress_ The facet address.\\n function facetAddress(bytes4 _functionSelector) external override view returns (address facetAddress_) {\\n LibDiamond.DiamondStorage storage ds = LibDiamond.diamondStorage();\\n facetAddress_ = ds.selectorToFacetAndPosition[_functionSelector].facetAddress;\\n }\\n\\n // This implements ERC-165.\\n function supportsInterface(bytes4 _interfaceId) external override view returns (bool) {\\n LibDiamond.DiamondStorage storage ds = LibDiamond.diamondStorage();\\n return ds.supportedInterfaces[_interfaceId];\\n }\\n}\\n\"\n },\n \"solc_0.8/diamond/facets/OwnershipFacet.sol\": {\n \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.0;\\n\\nimport { LibDiamond } from \\\"../libraries/LibDiamond.sol\\\";\\nimport { IERC173 } from \\\"../interfaces/IERC173.sol\\\";\\n\\ncontract OwnershipFacet is IERC173 {\\n function transferOwnership(address _newOwner) external override {\\n LibDiamond.enforceIsContractOwner();\\n LibDiamond.setContractOwner(_newOwner);\\n }\\n\\n function owner() external override view returns (address owner_) {\\n owner_ = LibDiamond.contractOwner();\\n }\\n}\\n\"\n },\n \"solc_0.8/diamond/libraries/LibDiamond.sol\": {\n \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.0;\\n\\n/******************************************************************************\\\\\\n* Author: Nick Mudge (https://twitter.com/mudgen)\\n* EIP-2535 Diamonds: https://eips.ethereum.org/EIPS/eip-2535\\n/******************************************************************************/\\nimport { IDiamondCut } from \\\"../interfaces/IDiamondCut.sol\\\";\\n\\nlibrary LibDiamond {\\n bytes32 constant DIAMOND_STORAGE_POSITION = keccak256(\\\"diamond.standard.diamond.storage\\\");\\n\\n struct FacetAddressAndPosition {\\n address facetAddress;\\n uint96 functionSelectorPosition; // position in facetFunctionSelectors.functionSelectors array\\n }\\n\\n struct FacetFunctionSelectors {\\n bytes4[] functionSelectors;\\n uint256 facetAddressPosition; // position of facetAddress in facetAddresses array\\n }\\n\\n struct DiamondStorage {\\n // maps function selector to the facet address and\\n // the position of the selector in the facetFunctionSelectors.selectors array\\n mapping(bytes4 => FacetAddressAndPosition) selectorToFacetAndPosition;\\n // maps facet addresses to function selectors\\n mapping(address => FacetFunctionSelectors) facetFunctionSelectors;\\n // facet addresses\\n address[] facetAddresses;\\n // Used to query if a contract implements an interface.\\n // Used to implement ERC-165.\\n mapping(bytes4 => bool) supportedInterfaces;\\n // owner of the contract\\n address contractOwner;\\n }\\n\\n function diamondStorage() internal pure returns (DiamondStorage storage ds) {\\n bytes32 position = DIAMOND_STORAGE_POSITION;\\n assembly {\\n ds.slot := position\\n }\\n }\\n\\n event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);\\n\\n function setContractOwner(address _newOwner) internal {\\n DiamondStorage storage ds = diamondStorage();\\n address previousOwner = ds.contractOwner;\\n ds.contractOwner = _newOwner;\\n emit OwnershipTransferred(previousOwner, _newOwner);\\n }\\n\\n function contractOwner() internal view returns (address contractOwner_) {\\n contractOwner_ = diamondStorage().contractOwner;\\n }\\n\\n function enforceIsContractOwner() internal view {\\n require(msg.sender == diamondStorage().contractOwner, \\\"LibDiamond: Must be contract owner\\\");\\n }\\n\\n event DiamondCut(IDiamondCut.FacetCut[] _diamondCut, address _init, bytes _calldata);\\n\\n // Internal function version of diamondCut\\n function diamondCut(\\n IDiamondCut.FacetCut[] memory _diamondCut,\\n address _init,\\n bytes memory _calldata\\n ) internal {\\n for (uint256 facetIndex; facetIndex < _diamondCut.length; facetIndex++) {\\n IDiamondCut.FacetCutAction action = _diamondCut[facetIndex].action;\\n if (action == IDiamondCut.FacetCutAction.Add) {\\n addFunctions(_diamondCut[facetIndex].facetAddress, _diamondCut[facetIndex].functionSelectors);\\n } else if (action == IDiamondCut.FacetCutAction.Replace) {\\n replaceFunctions(_diamondCut[facetIndex].facetAddress, _diamondCut[facetIndex].functionSelectors);\\n } else if (action == IDiamondCut.FacetCutAction.Remove) {\\n removeFunctions(_diamondCut[facetIndex].facetAddress, _diamondCut[facetIndex].functionSelectors);\\n } else {\\n revert(\\\"LibDiamondCut: Incorrect FacetCutAction\\\");\\n }\\n }\\n emit DiamondCut(_diamondCut, _init, _calldata);\\n initializeDiamondCut(_init, _calldata);\\n }\\n\\n function addFunctions(address _facetAddress, bytes4[] memory _functionSelectors) internal {\\n require(_functionSelectors.length > 0, \\\"LibDiamondCut: No selectors in facet to cut\\\");\\n DiamondStorage storage ds = diamondStorage(); \\n require(_facetAddress != address(0), \\\"LibDiamondCut: Add facet can't be address(0)\\\");\\n uint96 selectorPosition = uint96(ds.facetFunctionSelectors[_facetAddress].functionSelectors.length);\\n // add new facet address if it does not exist\\n if (selectorPosition == 0) {\\n addFacet(ds, _facetAddress); \\n }\\n for (uint256 selectorIndex; selectorIndex < _functionSelectors.length; selectorIndex++) {\\n bytes4 selector = _functionSelectors[selectorIndex];\\n address oldFacetAddress = ds.selectorToFacetAndPosition[selector].facetAddress;\\n require(oldFacetAddress == address(0), \\\"LibDiamondCut: Can't add function that already exists\\\");\\n addFunction(ds, selector, selectorPosition, _facetAddress);\\n selectorPosition++;\\n }\\n }\\n\\n function replaceFunctions(address _facetAddress, bytes4[] memory _functionSelectors) internal {\\n require(_functionSelectors.length > 0, \\\"LibDiamondCut: No selectors in facet to cut\\\");\\n DiamondStorage storage ds = diamondStorage();\\n require(_facetAddress != address(0), \\\"LibDiamondCut: Add facet can't be address(0)\\\");\\n uint96 selectorPosition = uint96(ds.facetFunctionSelectors[_facetAddress].functionSelectors.length);\\n // add new facet address if it does not exist\\n if (selectorPosition == 0) {\\n addFacet(ds, _facetAddress);\\n }\\n for (uint256 selectorIndex; selectorIndex < _functionSelectors.length; selectorIndex++) {\\n bytes4 selector = _functionSelectors[selectorIndex];\\n address oldFacetAddress = ds.selectorToFacetAndPosition[selector].facetAddress;\\n require(oldFacetAddress != _facetAddress, \\\"LibDiamondCut: Can't replace function with same function\\\");\\n removeFunction(ds, oldFacetAddress, selector);\\n addFunction(ds, selector, selectorPosition, _facetAddress);\\n selectorPosition++;\\n }\\n }\\n\\n function removeFunctions(address _facetAddress, bytes4[] memory _functionSelectors) internal {\\n require(_functionSelectors.length > 0, \\\"LibDiamondCut: No selectors in facet to cut\\\");\\n DiamondStorage storage ds = diamondStorage();\\n // if function does not exist then do nothing and return\\n require(_facetAddress == address(0), \\\"LibDiamondCut: Remove facet address must be address(0)\\\");\\n for (uint256 selectorIndex; selectorIndex < _functionSelectors.length; selectorIndex++) {\\n bytes4 selector = _functionSelectors[selectorIndex];\\n address oldFacetAddress = ds.selectorToFacetAndPosition[selector].facetAddress;\\n removeFunction(ds, oldFacetAddress, selector);\\n }\\n }\\n\\n function addFacet(DiamondStorage storage ds, address _facetAddress) internal {\\n enforceHasContractCode(_facetAddress, \\\"LibDiamondCut: New facet has no code\\\");\\n ds.facetFunctionSelectors[_facetAddress].facetAddressPosition = ds.facetAddresses.length;\\n ds.facetAddresses.push(_facetAddress);\\n } \\n\\n\\n function addFunction(DiamondStorage storage ds, bytes4 _selector, uint96 _selectorPosition, address _facetAddress) internal {\\n ds.selectorToFacetAndPosition[_selector].functionSelectorPosition = _selectorPosition;\\n ds.facetFunctionSelectors[_facetAddress].functionSelectors.push(_selector);\\n ds.selectorToFacetAndPosition[_selector].facetAddress = _facetAddress;\\n }\\n\\n function removeFunction(DiamondStorage storage ds, address _facetAddress, bytes4 _selector) internal { \\n require(_facetAddress != address(0), \\\"LibDiamondCut: Can't remove function that doesn't exist\\\");\\n // an immutable function is a function defined directly in a diamond\\n require(_facetAddress != address(this), \\\"LibDiamondCut: Can't remove immutable function\\\");\\n // replace selector with last selector, then delete last selector\\n uint256 selectorPosition = ds.selectorToFacetAndPosition[_selector].functionSelectorPosition;\\n uint256 lastSelectorPosition = ds.facetFunctionSelectors[_facetAddress].functionSelectors.length - 1;\\n // if not the same then replace _selector with lastSelector\\n if (selectorPosition != lastSelectorPosition) {\\n bytes4 lastSelector = ds.facetFunctionSelectors[_facetAddress].functionSelectors[lastSelectorPosition];\\n ds.facetFunctionSelectors[_facetAddress].functionSelectors[selectorPosition] = lastSelector;\\n ds.selectorToFacetAndPosition[lastSelector].functionSelectorPosition = uint96(selectorPosition);\\n }\\n // delete the last selector\\n ds.facetFunctionSelectors[_facetAddress].functionSelectors.pop();\\n delete ds.selectorToFacetAndPosition[_selector];\\n\\n // if no more selectors for facet address then delete the facet address\\n if (lastSelectorPosition == 0) {\\n // replace facet address with last facet address and delete last facet address\\n uint256 lastFacetAddressPosition = ds.facetAddresses.length - 1;\\n uint256 facetAddressPosition = ds.facetFunctionSelectors[_facetAddress].facetAddressPosition;\\n if (facetAddressPosition != lastFacetAddressPosition) {\\n address lastFacetAddress = ds.facetAddresses[lastFacetAddressPosition];\\n ds.facetAddresses[facetAddressPosition] = lastFacetAddress;\\n ds.facetFunctionSelectors[lastFacetAddress].facetAddressPosition = facetAddressPosition;\\n }\\n ds.facetAddresses.pop();\\n delete ds.facetFunctionSelectors[_facetAddress].facetAddressPosition;\\n }\\n }\\n\\n function initializeDiamondCut(address _init, bytes memory _calldata) internal {\\n if (_init == address(0)) {\\n require(_calldata.length == 0, \\\"LibDiamondCut: _init is address(0) but_calldata is not empty\\\");\\n } else {\\n require(_calldata.length > 0, \\\"LibDiamondCut: _calldata is empty but _init is not address(0)\\\");\\n if (_init != address(this)) {\\n enforceHasContractCode(_init, \\\"LibDiamondCut: _init address has no code\\\");\\n }\\n (bool success, bytes memory error) = _init.delegatecall(_calldata);\\n if (!success) {\\n if (error.length > 0) {\\n // bubble up the error\\n revert(string(error));\\n } else {\\n revert(\\\"LibDiamondCut: _init function reverted\\\");\\n }\\n }\\n }\\n }\\n\\n function enforceHasContractCode(address _contract, string memory _errorMessage) internal view {\\n uint256 contractSize;\\n assembly {\\n contractSize := extcodesize(_contract)\\n }\\n require(contractSize > 0, _errorMessage);\\n }\\n}\\n\"\n },\n \"solc_0.8/diamond/interfaces/IDiamondLoupe.sol\": {\n \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.0;\\n\\n/******************************************************************************\\\\\\n* Author: Nick Mudge (https://twitter.com/mudgen)\\n* EIP-2535 Diamonds: https://eips.ethereum.org/EIPS/eip-2535\\n/******************************************************************************/\\n\\n// A loupe is a small magnifying glass used to look at diamonds.\\n// These functions look at diamonds\\ninterface IDiamondLoupe {\\n /// These functions are expected to be called frequently\\n /// by tools.\\n\\n struct Facet {\\n address facetAddress;\\n bytes4[] functionSelectors;\\n }\\n\\n /// @notice Gets all facet addresses and their four byte function selectors.\\n /// @return facets_ Facet\\n function facets() external view returns (Facet[] memory facets_);\\n\\n /// @notice Gets all the function selectors supported by a specific facet.\\n /// @param _facet The facet address.\\n /// @return facetFunctionSelectors_\\n function facetFunctionSelectors(address _facet) external view returns (bytes4[] memory facetFunctionSelectors_);\\n\\n /// @notice Get all the facet addresses used by a diamond.\\n /// @return facetAddresses_\\n function facetAddresses() external view returns (address[] memory facetAddresses_);\\n\\n /// @notice Gets the facet that supports the given selector.\\n /// @dev If facet is not found return address(0).\\n /// @param _functionSelector The function selector.\\n /// @return facetAddress_ The facet address.\\n function facetAddress(bytes4 _functionSelector) external view returns (address facetAddress_);\\n}\\n\"\n },\n \"solc_0.8/diamond/interfaces/IERC173.sol\": {\n \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.0;\\n\\n/// @title ERC-173 Contract Ownership Standard\\n/// Note: the ERC-165 identifier for this interface is 0x7f5828d0\\n/* is ERC165 */\\ninterface IERC173 {\\n /// @dev This emits when ownership of a contract changes.\\n event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);\\n\\n /// @notice Get the address of the owner\\n /// @return owner_ The address of the owner.\\n function owner() external view returns (address owner_);\\n\\n /// @notice Set the address of the new owner of the contract\\n /// @dev Set _newOwner to address(0) to renounce any ownership.\\n /// @param _newOwner The address of the new owner of the contract\\n function transferOwnership(address _newOwner) external;\\n}\\n\"\n },\n \"solc_0.8/diamond/interfaces/IERC165.sol\": {\n \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.0;\\n\\ninterface IERC165 {\\n /// @notice Query if a contract implements an interface\\n /// @param interfaceId The interface identifier, as specified in ERC-165\\n /// @dev Interface identification is specified in ERC-165. This function\\n /// uses less than 30,000 gas.\\n /// @return `true` if the contract implements `interfaceID` and\\n /// `interfaceID` is not 0xffffffff, `false` otherwise\\n function supportsInterface(bytes4 interfaceId) external view returns (bool);\\n}\\n\"\n },\n \"solc_0.8/diamond/upgradeInitializers/DiamondInit.sol\": {\n \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.0;\\n\\n/******************************************************************************\\\\\\n* Author: Nick Mudge (https://twitter.com/mudgen)\\n* EIP-2535 Diamonds: https://eips.ethereum.org/EIPS/eip-2535\\n*\\n* Implementation of a diamond.\\n/******************************************************************************/\\n\\nimport {LibDiamond} from \\\"../libraries/LibDiamond.sol\\\";\\nimport { IDiamondLoupe } from \\\"../interfaces/IDiamondLoupe.sol\\\";\\nimport { IDiamondCut } from \\\"../interfaces/IDiamondCut.sol\\\";\\nimport { IERC173 } from \\\"../interfaces/IERC173.sol\\\";\\nimport { IERC165 } from \\\"../interfaces/IERC165.sol\\\";\\n\\n// It is exapected that this contract is customized if you want to deploy your diamond\\n// with data from a deployment script. Use the init function to initialize state variables\\n// of your diamond. Add parameters to the init funciton if you need to.\\n\\ncontract DiamondInit { \\n\\n // You can add parameters to this function in order to pass in \\n // data to set your own state variables\\n function init() external {\\n // adding ERC165 data\\n LibDiamond.DiamondStorage storage ds = LibDiamond.diamondStorage();\\n ds.supportedInterfaces[type(IERC165).interfaceId] = true;\\n ds.supportedInterfaces[type(IDiamondCut).interfaceId] = true;\\n ds.supportedInterfaces[type(IDiamondLoupe).interfaceId] = true;\\n ds.supportedInterfaces[type(IERC173).interfaceId] = true;\\n\\n // add your own state variables \\n // EIP-2535 specifies that the `diamondCut` function takes two optional \\n // arguments: address _init and bytes calldata _calldata\\n // These arguments are used to execute an arbitrary function using delegatecall\\n // in order to set state variables in the diamond during deployment or an upgrade\\n // More info here: https://eips.ethereum.org/EIPS/eip-2535#diamond-interface \\n }\\n\\n\\n}\"\n }\n },\n \"settings\": {\n \"optimizer\": {\n \"enabled\": true,\n \"runs\": 999999\n },\n \"outputSelection\": {\n \"*\": {\n \"*\": [\n \"abi\",\n \"evm.bytecode\",\n \"evm.deployedBytecode\",\n \"evm.methodIdentifiers\",\n \"metadata\",\n \"devdoc\",\n \"userdoc\",\n \"storageLayout\",\n \"evm.gasEstimates\"\n ],\n \"\": [\n \"ast\"\n ]\n }\n },\n \"metadata\": {\n \"useLiteralContent\": true\n }\n }\n}", + "solcInputHash": "91f18d120de6fe2bcaa5a3bff0ad9fe7" } \ No newline at end of file diff --git a/extendedArtifacts/Diamond.json b/extendedArtifacts/Diamond.json index dd888efd..b0db2e12 100644 --- a/extendedArtifacts/Diamond.json +++ b/extendedArtifacts/Diamond.json @@ -1,6 +1,6 @@ { "contractName": "Diamond", - "sourceName": "solc_0.7/diamond/Diamond.sol", + "sourceName": "solc_0.8/diamond/Diamond.sol", "abi": [ { "inputs": [ @@ -51,8 +51,8 @@ "type": "receive" } ], - "bytecode": "0x608060405260405162002d4538038062002d45833981016040819052620000269162000db2565b604080516000808252602082019092526200004e918491620000f560201b620000db1760201c565b620000688160000151620002b560201b6200027d1760201c565b60006200007f6200031760201b620003021760201c565b6301ffc9a760e01b600090815260039091016020526040808220805460ff1990811660019081179092556307e4c70760e21b845282842080548216831790556348e2b09360e01b845282842080548216831790556307f5828d60e41b845291909220805490911690911790555062001442915050565b60005b8351811015620002665760008482815181106200011157fe5b6020026020010151602001519050600060028111156200012d57fe5b8160028111156200013a57fe5b14156200018957620001838583815181106200015257fe5b6020026020010151600001518684815181106200016b57fe5b6020026020010151604001516200033b60201b60201c565b6200025c565b60018160028111156200019857fe5b1415620001e15762000183858381518110620001b057fe5b602002602001015160000151868481518110620001c957fe5b6020026020010151604001516200054e60201b60201c565b6002816002811115620001f057fe5b14156200023957620001838583815181106200020857fe5b6020026020010151600001518684815181106200022157fe5b6020026020010151604001516200077860201b60201c565b60405162461bcd60e51b815260040162000253906200117c565b60405180910390fd5b50600101620000f8565b507f8faa70878671ccd212d20771b795c50af8fd3ff6cf27f4bde57e5d4de0aeb6738383836040516200029c9392919062000f25565b60405180910390a1620002b082826200083f565b505050565b6000620002c162000317565b6004810180546001600160a01b038581166001600160a01b031983168117909355604051939450169182907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3505050565b7fc8fcad8db84d3cc18b4c41d551ea0ee66dd599cde068d998e57d5e09332c131c90565b60008151116200035f5760405162461bcd60e51b81526004016200025390620010d4565b60006200036b62000317565b90506001600160a01b038316620003965760405162461bcd60e51b81526004016200025390620011c3565b6001600160a01b038316600090815260018201602052604090205461ffff81166200043c57620003e08460405180606001604052806024815260200162002d21602491396200097c565b6002820180546001600160a01b038616600081815260018087016020908152604083208201805461ffff191661ffff90961695909517909455845490810185559381529190912090910180546001600160a01b03191690911790555b60005b8351811015620005475760008482815181106200045857fe5b6020908102919091018101516001600160e01b031981166000908152918690526040909120549091506001600160a01b03168015620004ab5760405162461bcd60e51b81526004016200025390620012ba565b506001600160a01b0386166000818152600186810160209081526040808420805480850182559085528285206008820401805463ffffffff60079093166004026101000a928302191660e089901c929092029190911790556001600160e01b0319909516835287905292902080546001600160a01b03191690911761ffff60a01b1916600160a01b61ffff86160217905591820191016200043f565b5050505050565b6000815111620005725760405162461bcd60e51b81526004016200025390620010d4565b60006200057e62000317565b90506001600160a01b038316620005a95760405162461bcd60e51b81526004016200025390620011c3565b6001600160a01b038316600090815260018201602052604090205461ffff81166200064f57620005f38460405180606001604052806024815260200162002d21602491396200097c565b6002820180546001600160a01b038616600081815260018087016020908152604083208201805461ffff191661ffff90961695909517909455845490810185559381529190912090910180546001600160a01b03191690911790555b60005b8351811015620005475760008482815181106200066b57fe5b6020908102919091018101516001600160e01b031981166000908152918690526040909120549091506001600160a01b03908116908716811415620006c45760405162461bcd60e51b8152600401620002539062001317565b620006d08183620009a0565b506001600160e01b03198116600081815260208681526040808320805461ffff60a01b1916600160a01b61ffff8a16021781556001600160a01b038b168085526001808b018552928520805480850182559086528486206008820401805463ffffffff60079093166004026101000a928302191660e09990991c91909102979097179096559390925286905281546001600160a01b0319169092179055918201910162000652565b60008151116200079c5760405162461bcd60e51b81526004016200025390620010d4565b6000620007a862000317565b90506001600160a01b03831615620007d45760405162461bcd60e51b8152600401620002539062001374565b60005b825181101562000839576000838281518110620007f057fe5b6020908102919091018101516001600160e01b031981166000908152918590526040909120549091506001600160a01b03166200082e8183620009a0565b5050600101620007d7565b50505050565b6001600160a01b0382166200087657805115620008705760405162461bcd60e51b8152600401620002539062001031565b62000978565b60008151116200089a5760405162461bcd60e51b815260040162000253906200120f565b6001600160a01b0382163014620008d057620008d08260405180606001604052806028815260200162002cf9602891396200097c565b600080836001600160a01b031683604051620008ed919062000f07565b600060405180830381855af49150503d80600081146200092a576040519150601f19603f3d011682016040523d82523d6000602084013e6200092f565b606091505b50915091508162000839578051156200095e578060405162461bcd60e51b815260040162000253919062001015565b60405162461bcd60e51b815260040162000253906200108e565b5050565b813b8181620008395760405162461bcd60e51b815260040162000253919062001015565b6000620009ac62000317565b90506001600160a01b038316620009d75760405162461bcd60e51b815260040162000253906200111f565b6001600160a01b03831630141562000a035760405162461bcd60e51b815260040162000253906200126c565b6001600160e01b03198216600090815260208281526040808320546001600160a01b03871684526001850190925290912054600160a01b90910461ffff16906000190180821462000b27576001600160a01b0385166000908152600184016020526040812080548390811062000a7557fe5b600091825260208083206008830401546001600160a01b038a168452600188019091526040909220805460079092166004026101000a90920460e01b92508291908590811062000ac157fe5b600091825260208083206008830401805463ffffffff60079094166004026101000a938402191660e09590951c929092029390931790556001600160e01b031992909216825284905260409020805461ffff60a01b1916600160a01b61ffff8516021790555b6001600160a01b0385166000908152600184016020526040902080548062000b4b57fe5b60008281526020808220600860001990940193840401805463ffffffff600460078716026101000a0219169055919092556001600160e01b0319861682528490526040902080546001600160b01b031916905580620005475760028301546001600160a01b03861660009081526001858101602052604090912001546000199091019061ffff1680821462000c6357600085600201838154811062000bec57fe5b6000918252602090912001546002870180546001600160a01b03909216925082918490811062000c1857fe5b600091825260208083209190910180546001600160a01b0319166001600160a01b0394851617905592909116815260018781019092526040902001805461ffff191661ffff83161790555b8460020180548062000c7157fe5b60008281526020808220830160001990810180546001600160a01b03191690559092019092556001600160a01b03891682526001878101909152604090912001805461ffff1916905550505050505050565b80516001600160a01b038116811462000cdb57600080fd5b919050565b600082601f83011262000cf1578081fd5b8151602062000d0a62000d0483620013f5565b620013d1565b828152818101908583018385028701840188101562000d27578586fd5b855b8581101562000d5d5781516001600160e01b03198116811462000d4a578788fd5b8452928401929084019060010162000d29565b5090979650505050505050565b60006020828403121562000d7c578081fd5b604051602081016001600160401b038111828210171562000d9957fe5b60405290508062000daa8362000cc3565b905292915050565b6000806040838503121562000dc5578182fd5b82516001600160401b038082111562000ddc578384fd5b818501915085601f83011262000df0578384fd5b8151602062000e0362000d0483620013f5565b82815281810190858301885b8581101562000eaa57815188016060818e03601f1901121562000e30578a8bfd5b604051606081018181108a8211171562000e4657fe5b60405262000e5682880162000cc3565b815260408201516003811062000e6a578c8dfd5b8188015260608201518981111562000e80578c8dfd5b62000e908f898386010162000ce0565b604083015250855250928401929084019060010162000e0f565b5050809750505062000ebf8882890162000d6a565b9450505050509250929050565b6001600160a01b03169052565b6000815180845262000ef381602086016020860162001413565b601f01601f19169290920160200192915050565b6000825162000f1b81846020870162001413565b9190910192915050565b606080825284518282018190526000919060809081850190602080820287018401818b01875b8481101562000fe257898303607f19018652815180516001600160a01b0316845284810151898501906003811062000f7f57fe5b858701526040918201519185018a9052815190819052908501908a90898601905b8083101562000fcc5783516001600160e01b031916825292870192600192909201919087019062000fa0565b5097860197945050509083019060010162000f4b565b505062000ff28289018b62000ecc565b878103604089015262001006818a62000ed9565b9b9a5050505050505050505050565b6000602082526200102a602083018462000ed9565b9392505050565b6020808252603c908201527f4c69624469616d6f6e644375743a205f696e697420697320616464726573732860408201527f3029206275745f63616c6c64617461206973206e6f7420656d70747900000000606082015260800190565b60208082526026908201527f4c69624469616d6f6e644375743a205f696e69742066756e6374696f6e2072656040820152651d995c9d195960d21b606082015260800190565b6020808252602b908201527f4c69624469616d6f6e644375743a204e6f2073656c6563746f727320696e206660408201526a1858d95d081d1bc818dd5d60aa1b606082015260800190565b60208082526037908201527f4c69624469616d6f6e644375743a2043616e27742072656d6f76652066756e6360408201527f74696f6e207468617420646f65736e2774206578697374000000000000000000606082015260800190565b60208082526027908201527f4c69624469616d6f6e644375743a20496e636f727265637420466163657443756040820152663a20b1ba34b7b760c91b606082015260800190565b6020808252602c908201527f4c69624469616d6f6e644375743a204164642066616365742063616e2774206260408201526b65206164647265737328302960a01b606082015260800190565b6020808252603d908201527f4c69624469616d6f6e644375743a205f63616c6c6461746120697320656d707460408201527f7920627574205f696e6974206973206e6f742061646472657373283029000000606082015260800190565b6020808252602e908201527f4c69624469616d6f6e644375743a2043616e27742072656d6f766520696d6d7560408201526d3a30b1363290333ab731ba34b7b760911b606082015260800190565b60208082526035908201527f4c69624469616d6f6e644375743a2043616e2774206164642066756e6374696f60408201527f6e207468617420616c7265616479206578697374730000000000000000000000606082015260800190565b60208082526038908201527f4c69624469616d6f6e644375743a2043616e2774207265706c6163652066756e60408201527f6374696f6e20776974682073616d652066756e6374696f6e0000000000000000606082015260800190565b60208082526036908201527f4c69624469616d6f6e644375743a2052656d6f7665206661636574206164647260408201527f657373206d757374206265206164647265737328302900000000000000000000606082015260800190565b6040518181016001600160401b0381118282101715620013ed57fe5b604052919050565b60006001600160401b038211156200140957fe5b5060209081020190565b60005b838110156200143057818101518382015260200162001416565b83811115620008395750506000910152565b6118a780620014526000396000f3fe60806040523661000b57005b600080357fffffffff000000000000000000000000000000000000000000000000000000001681527fc8fcad8db84d3cc18b4c41d551ea0ee66dd599cde068d998e57d5e09332c131c6020819052604090912054819073ffffffffffffffffffffffffffffffffffffffff16806100b7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016100ae906115f3565b60405180910390fd5b3660008037600080366000845af43d6000803e8080156100d6573d6000f35b3d6000fd5b60005b83518110156102325760008482815181106100f557fe5b60200260200101516020015190506000600281111561011057fe5b81600281111561011c57fe5b141561015f5761015a85838151811061013157fe5b60200260200101516000015186848151811061014957fe5b602002602001015160400151610326565b610229565b600181600281111561016d57fe5b14156101ab5761015a85838151811061018257fe5b60200260200101516000015186848151811061019a57fe5b60200260200101516040015161065e565b60028160028111156101b957fe5b14156101f75761015a8583815181106101ce57fe5b6020026020010151600001518684815181106101e657fe5b6020026020010151604001516109ab565b6040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016100ae90611539565b506001016100de565b507f8faa70878671ccd212d20771b795c50af8fd3ff6cf27f4bde57e5d4de0aeb67383838360405161026693929190611282565b60405180910390a16102788282610acb565b505050565b6000610287610302565b60048101805473ffffffffffffffffffffffffffffffffffffffff8581167fffffffffffffffffffffffff000000000000000000000000000000000000000083168117909355604051939450169182907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3505050565b7fc8fcad8db84d3cc18b4c41d551ea0ee66dd599cde068d998e57d5e09332c131c90565b6000815111610361576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016100ae9061147f565b600061036b610302565b905073ffffffffffffffffffffffffffffffffffffffff83166103ba576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016100ae90611596565b73ffffffffffffffffffffffffffffffffffffffff8316600090815260018201602052604090205461ffff81166104ab5761040d8460405180606001604052806024815260200161184e60249139610c81565b60028201805473ffffffffffffffffffffffffffffffffffffffff861660008181526001808701602090815260408320820180547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00001661ffff90961695909517909455845490810185559381529190912090910180547fffffffffffffffffffffffff00000000000000000000000000000000000000001690911790555b60005b83518110156106575760008482815181106104c557fe5b6020908102919091018101517fffffffff00000000000000000000000000000000000000000000000000000000811660009081529186905260409091205490915073ffffffffffffffffffffffffffffffffffffffff168015610554576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016100ae906116e2565b5073ffffffffffffffffffffffffffffffffffffffff86166000818152600186810160209081526040808420805480850182559085528285206008820401805463ffffffff60079093166004026101000a928302191660e089901c929092029190911790557fffffffff00000000000000000000000000000000000000000000000000000000909516835287905292902080547fffffffffffffffffffffffff0000000000000000000000000000000000000000169091177fffffffffffffffffffff0000ffffffffffffffffffffffffffffffffffffffff167401000000000000000000000000000000000000000061ffff86160217905591820191016104ae565b5050505050565b6000815111610699576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016100ae9061147f565b60006106a3610302565b905073ffffffffffffffffffffffffffffffffffffffff83166106f2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016100ae90611596565b73ffffffffffffffffffffffffffffffffffffffff8316600090815260018201602052604090205461ffff81166107e3576107458460405180606001604052806024815260200161184e60249139610c81565b60028201805473ffffffffffffffffffffffffffffffffffffffff861660008181526001808701602090815260408320820180547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00001661ffff90961695909517909455845490810185559381529190912090910180547fffffffffffffffffffffffff00000000000000000000000000000000000000001690911790555b60005b83518110156106575760008482815181106107fd57fe5b6020908102919091018101517fffffffff00000000000000000000000000000000000000000000000000000000811660009081529186905260409091205490915073ffffffffffffffffffffffffffffffffffffffff908116908716811415610892576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016100ae9061173f565b61089c8183610cbc565b507fffffffff00000000000000000000000000000000000000000000000000000000811660008181526020868152604080832080547fffffffffffffffffffff0000ffffffffffffffffffffffffffffffffffffffff167401000000000000000000000000000000000000000061ffff8a160217815573ffffffffffffffffffffffffffffffffffffffff8b168085526001808b018552928520805480850182559086528486206008820401805463ffffffff60079093166004026101000a928302191660e09990991c91909102979097179096559390925286905281547fffffffffffffffffffffffff000000000000000000000000000000000000000016909217905591820191016107e6565b60008151116109e6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016100ae9061147f565b60006109f0610302565b905073ffffffffffffffffffffffffffffffffffffffff831615610a40576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016100ae9061179c565b60005b8251811015610ac5576000838281518110610a5a57fe5b6020908102919091018101517fffffffff00000000000000000000000000000000000000000000000000000000811660009081529185905260409091205490915073ffffffffffffffffffffffffffffffffffffffff16610abb8183610cbc565b5050600101610a43565b50505050565b73ffffffffffffffffffffffffffffffffffffffff8216610b2457805115610b1f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016100ae906113c5565b610c7d565b6000815111610b5f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016100ae90611628565b73ffffffffffffffffffffffffffffffffffffffff82163014610b9e57610b9e8260405180606001604052806028815260200161182660289139610c81565b6000808373ffffffffffffffffffffffffffffffffffffffff1683604051610bc69190611266565b600060405180830381855af49150503d8060008114610c01576040519150601f19603f3d011682016040523d82523d6000602084013e610c06565b606091505b509150915081610ac557805115610c4b57806040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016100ae91906113ab565b6040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016100ae90611422565b5050565b813b8181610ac5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016100ae91906113ab565b6000610cc6610302565b905073ffffffffffffffffffffffffffffffffffffffff8316610d15576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016100ae906114dc565b73ffffffffffffffffffffffffffffffffffffffff8316301415610d65576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016100ae90611685565b7fffffffff0000000000000000000000000000000000000000000000000000000082166000908152602082815260408083205473ffffffffffffffffffffffffffffffffffffffff8716845260018501909252909120547401000000000000000000000000000000000000000090910461ffff16907fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff01808214610f375773ffffffffffffffffffffffffffffffffffffffff851660009081526001840160205260408120805483908110610e3657fe5b6000918252602080832060088304015473ffffffffffffffffffffffffffffffffffffffff8a168452600188019091526040909220805460079092166004026101000a90920460e01b925082919085908110610e8e57fe5b600091825260208083206008830401805463ffffffff60079094166004026101000a938402191660e09590951c929092029390931790557fffffffff000000000000000000000000000000000000000000000000000000009290921682528490526040902080547fffffffffffffffffffff0000ffffffffffffffffffffffffffffffffffffffff167401000000000000000000000000000000000000000061ffff8516021790555b73ffffffffffffffffffffffffffffffffffffffff851660009081526001840160205260409020805480610f6757fe5b6000828152602080822060087fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff90940193840401805463ffffffff600460078716026101000a0219169055919092557fffffffff00000000000000000000000000000000000000000000000000000000861682528490526040902080547fffffffffffffffffffff000000000000000000000000000000000000000000001690558061065757600283015473ffffffffffffffffffffffffffffffffffffffff861660009081526001858101602052604090912001547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff9091019061ffff1680821461114357600085600201838154811061107e57fe5b60009182526020909120015460028701805473ffffffffffffffffffffffffffffffffffffffff90921692508291849081106110b657fe5b600091825260208083209190910180547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff9485161790559290911681526001878101909252604090200180547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00001661ffff83161790555b8460020180548061115057fe5b6000828152602080822083017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff90810180547fffffffffffffffffffffffff000000000000000000000000000000000000000016905590920190925573ffffffffffffffffffffffffffffffffffffffff89168252600187810190915260409091200180547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff000016905550505050505050565b73ffffffffffffffffffffffffffffffffffffffff169052565b600081518084526112348160208601602086016117f9565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160200192915050565b600082516112788184602087016117f9565b9190910192915050565b606080825284518282018190526000919060809081850190602080820287018401818b01875b8481101561137c577fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff808a8403018652815188840173ffffffffffffffffffffffffffffffffffffffff8251168552858201516003811061130457fe5b858701526040918201519185018a9052815190819052908501908a90898601905b808310156113675783517fffffffff00000000000000000000000000000000000000000000000000000000168252928701926001929092019190870190611325565b509786019794505050908301906001016112a8565b505061138a8289018b611202565b878103604089015261139c818a61121c565b9b9a5050505050505050505050565b6000602082526113be602083018461121c565b9392505050565b6020808252603c908201527f4c69624469616d6f6e644375743a205f696e697420697320616464726573732860408201527f3029206275745f63616c6c64617461206973206e6f7420656d70747900000000606082015260800190565b60208082526026908201527f4c69624469616d6f6e644375743a205f696e69742066756e6374696f6e20726560408201527f7665727465640000000000000000000000000000000000000000000000000000606082015260800190565b6020808252602b908201527f4c69624469616d6f6e644375743a204e6f2073656c6563746f727320696e206660408201527f6163657420746f20637574000000000000000000000000000000000000000000606082015260800190565b60208082526037908201527f4c69624469616d6f6e644375743a2043616e27742072656d6f76652066756e6360408201527f74696f6e207468617420646f65736e2774206578697374000000000000000000606082015260800190565b60208082526027908201527f4c69624469616d6f6e644375743a20496e636f7272656374204661636574437560408201527f74416374696f6e00000000000000000000000000000000000000000000000000606082015260800190565b6020808252602c908201527f4c69624469616d6f6e644375743a204164642066616365742063616e2774206260408201527f6520616464726573732830290000000000000000000000000000000000000000606082015260800190565b6020808252818101527f4469616d6f6e643a2046756e6374696f6e20646f6573206e6f74206578697374604082015260600190565b6020808252603d908201527f4c69624469616d6f6e644375743a205f63616c6c6461746120697320656d707460408201527f7920627574205f696e6974206973206e6f742061646472657373283029000000606082015260800190565b6020808252602e908201527f4c69624469616d6f6e644375743a2043616e27742072656d6f766520696d6d7560408201527f7461626c652066756e6374696f6e000000000000000000000000000000000000606082015260800190565b60208082526035908201527f4c69624469616d6f6e644375743a2043616e2774206164642066756e6374696f60408201527f6e207468617420616c7265616479206578697374730000000000000000000000606082015260800190565b60208082526038908201527f4c69624469616d6f6e644375743a2043616e2774207265706c6163652066756e60408201527f6374696f6e20776974682073616d652066756e6374696f6e0000000000000000606082015260800190565b60208082526036908201527f4c69624469616d6f6e644375743a2052656d6f7665206661636574206164647260408201527f657373206d757374206265206164647265737328302900000000000000000000606082015260800190565b60005b838110156118145781810151838201526020016117fc565b83811115610ac5575050600091015256fe4c69624469616d6f6e644375743a205f696e6974206164647265737320686173206e6f20636f64654c69624469616d6f6e644375743a204e657720666163657420686173206e6f20636f6465a264697066735822122054a3c3a118803545231f43700030cb5e290869be0182196a4a05e7d4a1b71d7e64736f6c634300070600334c69624469616d6f6e644375743a205f696e6974206164647265737320686173206e6f20636f64654c69624469616d6f6e644375743a204e657720666163657420686173206e6f20636f6465", - "deployedBytecode": "0x60806040523661000b57005b600080357fffffffff000000000000000000000000000000000000000000000000000000001681527fc8fcad8db84d3cc18b4c41d551ea0ee66dd599cde068d998e57d5e09332c131c6020819052604090912054819073ffffffffffffffffffffffffffffffffffffffff16806100b7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016100ae906115f3565b60405180910390fd5b3660008037600080366000845af43d6000803e8080156100d6573d6000f35b3d6000fd5b60005b83518110156102325760008482815181106100f557fe5b60200260200101516020015190506000600281111561011057fe5b81600281111561011c57fe5b141561015f5761015a85838151811061013157fe5b60200260200101516000015186848151811061014957fe5b602002602001015160400151610326565b610229565b600181600281111561016d57fe5b14156101ab5761015a85838151811061018257fe5b60200260200101516000015186848151811061019a57fe5b60200260200101516040015161065e565b60028160028111156101b957fe5b14156101f75761015a8583815181106101ce57fe5b6020026020010151600001518684815181106101e657fe5b6020026020010151604001516109ab565b6040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016100ae90611539565b506001016100de565b507f8faa70878671ccd212d20771b795c50af8fd3ff6cf27f4bde57e5d4de0aeb67383838360405161026693929190611282565b60405180910390a16102788282610acb565b505050565b6000610287610302565b60048101805473ffffffffffffffffffffffffffffffffffffffff8581167fffffffffffffffffffffffff000000000000000000000000000000000000000083168117909355604051939450169182907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3505050565b7fc8fcad8db84d3cc18b4c41d551ea0ee66dd599cde068d998e57d5e09332c131c90565b6000815111610361576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016100ae9061147f565b600061036b610302565b905073ffffffffffffffffffffffffffffffffffffffff83166103ba576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016100ae90611596565b73ffffffffffffffffffffffffffffffffffffffff8316600090815260018201602052604090205461ffff81166104ab5761040d8460405180606001604052806024815260200161184e60249139610c81565b60028201805473ffffffffffffffffffffffffffffffffffffffff861660008181526001808701602090815260408320820180547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00001661ffff90961695909517909455845490810185559381529190912090910180547fffffffffffffffffffffffff00000000000000000000000000000000000000001690911790555b60005b83518110156106575760008482815181106104c557fe5b6020908102919091018101517fffffffff00000000000000000000000000000000000000000000000000000000811660009081529186905260409091205490915073ffffffffffffffffffffffffffffffffffffffff168015610554576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016100ae906116e2565b5073ffffffffffffffffffffffffffffffffffffffff86166000818152600186810160209081526040808420805480850182559085528285206008820401805463ffffffff60079093166004026101000a928302191660e089901c929092029190911790557fffffffff00000000000000000000000000000000000000000000000000000000909516835287905292902080547fffffffffffffffffffffffff0000000000000000000000000000000000000000169091177fffffffffffffffffffff0000ffffffffffffffffffffffffffffffffffffffff167401000000000000000000000000000000000000000061ffff86160217905591820191016104ae565b5050505050565b6000815111610699576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016100ae9061147f565b60006106a3610302565b905073ffffffffffffffffffffffffffffffffffffffff83166106f2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016100ae90611596565b73ffffffffffffffffffffffffffffffffffffffff8316600090815260018201602052604090205461ffff81166107e3576107458460405180606001604052806024815260200161184e60249139610c81565b60028201805473ffffffffffffffffffffffffffffffffffffffff861660008181526001808701602090815260408320820180547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00001661ffff90961695909517909455845490810185559381529190912090910180547fffffffffffffffffffffffff00000000000000000000000000000000000000001690911790555b60005b83518110156106575760008482815181106107fd57fe5b6020908102919091018101517fffffffff00000000000000000000000000000000000000000000000000000000811660009081529186905260409091205490915073ffffffffffffffffffffffffffffffffffffffff908116908716811415610892576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016100ae9061173f565b61089c8183610cbc565b507fffffffff00000000000000000000000000000000000000000000000000000000811660008181526020868152604080832080547fffffffffffffffffffff0000ffffffffffffffffffffffffffffffffffffffff167401000000000000000000000000000000000000000061ffff8a160217815573ffffffffffffffffffffffffffffffffffffffff8b168085526001808b018552928520805480850182559086528486206008820401805463ffffffff60079093166004026101000a928302191660e09990991c91909102979097179096559390925286905281547fffffffffffffffffffffffff000000000000000000000000000000000000000016909217905591820191016107e6565b60008151116109e6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016100ae9061147f565b60006109f0610302565b905073ffffffffffffffffffffffffffffffffffffffff831615610a40576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016100ae9061179c565b60005b8251811015610ac5576000838281518110610a5a57fe5b6020908102919091018101517fffffffff00000000000000000000000000000000000000000000000000000000811660009081529185905260409091205490915073ffffffffffffffffffffffffffffffffffffffff16610abb8183610cbc565b5050600101610a43565b50505050565b73ffffffffffffffffffffffffffffffffffffffff8216610b2457805115610b1f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016100ae906113c5565b610c7d565b6000815111610b5f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016100ae90611628565b73ffffffffffffffffffffffffffffffffffffffff82163014610b9e57610b9e8260405180606001604052806028815260200161182660289139610c81565b6000808373ffffffffffffffffffffffffffffffffffffffff1683604051610bc69190611266565b600060405180830381855af49150503d8060008114610c01576040519150601f19603f3d011682016040523d82523d6000602084013e610c06565b606091505b509150915081610ac557805115610c4b57806040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016100ae91906113ab565b6040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016100ae90611422565b5050565b813b8181610ac5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016100ae91906113ab565b6000610cc6610302565b905073ffffffffffffffffffffffffffffffffffffffff8316610d15576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016100ae906114dc565b73ffffffffffffffffffffffffffffffffffffffff8316301415610d65576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016100ae90611685565b7fffffffff0000000000000000000000000000000000000000000000000000000082166000908152602082815260408083205473ffffffffffffffffffffffffffffffffffffffff8716845260018501909252909120547401000000000000000000000000000000000000000090910461ffff16907fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff01808214610f375773ffffffffffffffffffffffffffffffffffffffff851660009081526001840160205260408120805483908110610e3657fe5b6000918252602080832060088304015473ffffffffffffffffffffffffffffffffffffffff8a168452600188019091526040909220805460079092166004026101000a90920460e01b925082919085908110610e8e57fe5b600091825260208083206008830401805463ffffffff60079094166004026101000a938402191660e09590951c929092029390931790557fffffffff000000000000000000000000000000000000000000000000000000009290921682528490526040902080547fffffffffffffffffffff0000ffffffffffffffffffffffffffffffffffffffff167401000000000000000000000000000000000000000061ffff8516021790555b73ffffffffffffffffffffffffffffffffffffffff851660009081526001840160205260409020805480610f6757fe5b6000828152602080822060087fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff90940193840401805463ffffffff600460078716026101000a0219169055919092557fffffffff00000000000000000000000000000000000000000000000000000000861682528490526040902080547fffffffffffffffffffff000000000000000000000000000000000000000000001690558061065757600283015473ffffffffffffffffffffffffffffffffffffffff861660009081526001858101602052604090912001547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff9091019061ffff1680821461114357600085600201838154811061107e57fe5b60009182526020909120015460028701805473ffffffffffffffffffffffffffffffffffffffff90921692508291849081106110b657fe5b600091825260208083209190910180547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff9485161790559290911681526001878101909252604090200180547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00001661ffff83161790555b8460020180548061115057fe5b6000828152602080822083017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff90810180547fffffffffffffffffffffffff000000000000000000000000000000000000000016905590920190925573ffffffffffffffffffffffffffffffffffffffff89168252600187810190915260409091200180547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff000016905550505050505050565b73ffffffffffffffffffffffffffffffffffffffff169052565b600081518084526112348160208601602086016117f9565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160200192915050565b600082516112788184602087016117f9565b9190910192915050565b606080825284518282018190526000919060809081850190602080820287018401818b01875b8481101561137c577fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff808a8403018652815188840173ffffffffffffffffffffffffffffffffffffffff8251168552858201516003811061130457fe5b858701526040918201519185018a9052815190819052908501908a90898601905b808310156113675783517fffffffff00000000000000000000000000000000000000000000000000000000168252928701926001929092019190870190611325565b509786019794505050908301906001016112a8565b505061138a8289018b611202565b878103604089015261139c818a61121c565b9b9a5050505050505050505050565b6000602082526113be602083018461121c565b9392505050565b6020808252603c908201527f4c69624469616d6f6e644375743a205f696e697420697320616464726573732860408201527f3029206275745f63616c6c64617461206973206e6f7420656d70747900000000606082015260800190565b60208082526026908201527f4c69624469616d6f6e644375743a205f696e69742066756e6374696f6e20726560408201527f7665727465640000000000000000000000000000000000000000000000000000606082015260800190565b6020808252602b908201527f4c69624469616d6f6e644375743a204e6f2073656c6563746f727320696e206660408201527f6163657420746f20637574000000000000000000000000000000000000000000606082015260800190565b60208082526037908201527f4c69624469616d6f6e644375743a2043616e27742072656d6f76652066756e6360408201527f74696f6e207468617420646f65736e2774206578697374000000000000000000606082015260800190565b60208082526027908201527f4c69624469616d6f6e644375743a20496e636f7272656374204661636574437560408201527f74416374696f6e00000000000000000000000000000000000000000000000000606082015260800190565b6020808252602c908201527f4c69624469616d6f6e644375743a204164642066616365742063616e2774206260408201527f6520616464726573732830290000000000000000000000000000000000000000606082015260800190565b6020808252818101527f4469616d6f6e643a2046756e6374696f6e20646f6573206e6f74206578697374604082015260600190565b6020808252603d908201527f4c69624469616d6f6e644375743a205f63616c6c6461746120697320656d707460408201527f7920627574205f696e6974206973206e6f742061646472657373283029000000606082015260800190565b6020808252602e908201527f4c69624469616d6f6e644375743a2043616e27742072656d6f766520696d6d7560408201527f7461626c652066756e6374696f6e000000000000000000000000000000000000606082015260800190565b60208082526035908201527f4c69624469616d6f6e644375743a2043616e2774206164642066756e6374696f60408201527f6e207468617420616c7265616479206578697374730000000000000000000000606082015260800190565b60208082526038908201527f4c69624469616d6f6e644375743a2043616e2774207265706c6163652066756e60408201527f6374696f6e20776974682073616d652066756e6374696f6e0000000000000000606082015260800190565b60208082526036908201527f4c69624469616d6f6e644375743a2052656d6f7665206661636574206164647260408201527f657373206d757374206265206164647265737328302900000000000000000000606082015260800190565b60005b838110156118145781810151838201526020016117fc565b83811115610ac5575050600091015256fe4c69624469616d6f6e644375743a205f696e6974206164647265737320686173206e6f20636f64654c69624469616d6f6e644375743a204e657720666163657420686173206e6f20636f6465a264697066735822122054a3c3a118803545231f43700030cb5e290869be0182196a4a05e7d4a1b71d7e64736f6c63430007060033", + "bytecode": "0x60806040526040516200310c3803806200310c833981016040819052620000269162001205565b604080516000808252602082019092526200004e918491620000f560201b620001071760201c565b6200006881600001516200035360201b6200034b1760201c565b60006200007f620003d760201b620004051760201c565b6301ffc9a760e01b600090815260039091016020526040808220805460ff1990811660019081179092556307e4c70760e21b845282842080548216831790556348e2b09360e01b845282842080548216831790556307f5828d60e41b845291909220805490911690911790555062001607915050565b60005b835181101562000304576000848281518110620001195762000119620013af565b6020026020010151602001519050600060028111156200013d576200013d620013c5565b816002811115620001525762000152620013c5565b1415620001b157620001ab858381518110620001725762000172620013af565b602002602001015160000151868481518110620001935762000193620013af565b602002602001015160400151620003ea60201b60201c565b620002ee565b6001816002811115620001c857620001c8620013c5565b14156200022157620001ab858381518110620001e857620001e8620013af565b602002602001015160000151868481518110620002095762000209620013af565b6020026020010151604001516200067460201b60201c565b6002816002811115620002385762000238620013c5565b14156200029157620001ab858381518110620002585762000258620013af565b602002602001015160000151868481518110620002795762000279620013af565b6020026020010151604001516200090a60201b60201c565b60405162461bcd60e51b815260206004820152602760248201527f4c69624469616d6f6e644375743a20496e636f727265637420466163657443756044820152663a20b1ba34b7b760c91b60648201526084015b60405180910390fd5b5080620002fb81620013f1565b915050620000f8565b507f8faa70878671ccd212d20771b795c50af8fd3ff6cf27f4bde57e5d4de0aeb6738383836040516200033a939291906200146c565b60405180910390a16200034e828262000a70565b505050565b7fc8fcad8db84d3cc18b4c41d551ea0ee66dd599cde068d998e57d5e09332c132080546001600160a01b031981166001600160a01b0384811691821790935560405160008051602062003060833981519152939092169182907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3505050565b6000805160206200306083398151915290565b6000815111620004405760405162461bcd60e51b815260206004820152602b6024820152600080516020620030ec83398151915260448201526a1858d95d081d1bc818dd5d60aa1b6064820152608401620002e5565b600080516020620030608339815191526001600160a01b038316620004ac5760405162461bcd60e51b815260206004820152602c6024820152600080516020620030a883398151915260448201526b65206164647265737328302960a01b6064820152608401620002e5565b6001600160a01b03831660009081526001820160205260409020546001600160601b038116620004e257620004e2828562000c8f565b60005b83518110156200066d576000848281518110620005065762000506620013af565b6020908102919091018101516001600160e01b031981166000908152918690526040909120549091506001600160a01b03168015620005ae5760405162461bcd60e51b815260206004820152603560248201527f4c69624469616d6f6e644375743a2043616e2774206164642066756e6374696f60448201527f6e207468617420616c72656164792065786973747300000000000000000000006064820152608401620002e5565b6001600160e01b0319821660008181526020878152604080832080546001600160a01b03908116600160a01b6001600160601b038c16021782558c168085526001808c0185529285208054938401815585528385206008840401805463ffffffff60079095166004026101000a948502191660e08a901c94909402939093179092559390925287905281546001600160a01b03191617905583620006528162001573565b945050505080806200066490620013f1565b915050620004e5565b5050505050565b6000815111620006ca5760405162461bcd60e51b815260206004820152602b6024820152600080516020620030ec83398151915260448201526a1858d95d081d1bc818dd5d60aa1b6064820152608401620002e5565b600080516020620030608339815191526001600160a01b038316620007365760405162461bcd60e51b815260206004820152602c6024820152600080516020620030a883398151915260448201526b65206164647265737328302960a01b6064820152608401620002e5565b6001600160a01b03831660009081526001820160205260409020546001600160601b0381166200076c576200076c828562000c8f565b60005b83518110156200066d576000848281518110620007905762000790620013af565b6020908102919091018101516001600160e01b031981166000908152918690526040909120549091506001600160a01b039081169087168114156200083e5760405162461bcd60e51b815260206004820152603860248201527f4c69624469616d6f6e644375743a2043616e2774207265706c6163652066756e60448201527f6374696f6e20776974682073616d652066756e6374696f6e00000000000000006064820152608401620002e5565b6200084b85828462000cfc565b6001600160e01b0319821660008181526020878152604080832080546001600160a01b03908116600160a01b6001600160601b038c16021782558c168085526001808c0185529285208054938401815585528385206008840401805463ffffffff60079095166004026101000a948502191660e08a901c94909402939093179092559390925287905281546001600160a01b03191617905583620008ef8162001573565b945050505080806200090190620013f1565b9150506200076f565b6000815111620009605760405162461bcd60e51b815260206004820152602b6024820152600080516020620030ec83398151915260448201526a1858d95d081d1bc818dd5d60aa1b6064820152608401620002e5565b600080516020620030608339815191526001600160a01b03831615620009ef5760405162461bcd60e51b815260206004820152603660248201527f4c69624469616d6f6e644375743a2052656d6f7665206661636574206164647260448201527f657373206d7573742062652061646472657373283029000000000000000000006064820152608401620002e5565b60005b825181101562000a6a57600083828151811062000a135762000a13620013af565b6020908102919091018101516001600160e01b031981166000908152918590526040909120549091506001600160a01b031662000a5284828462000cfc565b5050808062000a6190620013f1565b915050620009f2565b50505050565b6001600160a01b03821662000afa5780511562000af65760405162461bcd60e51b815260206004820152603c60248201527f4c69624469616d6f6e644375743a205f696e697420697320616464726573732860448201527f3029206275745f63616c6c64617461206973206e6f7420656d707479000000006064820152608401620002e5565b5050565b600081511162000b735760405162461bcd60e51b815260206004820152603d60248201527f4c69624469616d6f6e644375743a205f63616c6c6461746120697320656d707460448201527f7920627574205f696e6974206973206e6f7420616464726573732830290000006064820152608401620002e5565b6001600160a01b038216301462000ba95762000ba9826040518060600160405280602881526020016200308060289139620010d9565b600080836001600160a01b03168360405162000bc691906200159d565b600060405180830381855af49150503d806000811462000c03576040519150601f19603f3d011682016040523d82523d6000602084013e62000c08565b606091505b50915091508162000a6a5780511562000c37578060405162461bcd60e51b8152600401620002e59190620015bb565b60405162461bcd60e51b815260206004820152602660248201527f4c69624469616d6f6e644375743a205f696e69742066756e6374696f6e2072656044820152651d995c9d195960d21b6064820152608401620002e5565b62000cb481604051806060016040528060248152602001620030c860249139620010d9565b6002820180546001600160a01b0390921660008181526001948501602090815260408220860185905594840183559182529290200180546001600160a01b0319169091179055565b6001600160a01b03821662000d7a5760405162461bcd60e51b815260206004820152603760248201527f4c69624469616d6f6e644375743a2043616e27742072656d6f76652066756e6360448201527f74696f6e207468617420646f65736e27742065786973740000000000000000006064820152608401620002e5565b6001600160a01b03821630141562000dec5760405162461bcd60e51b815260206004820152602e60248201527f4c69624469616d6f6e644375743a2043616e27742072656d6f766520696d6d7560448201526d3a30b1363290333ab731ba34b7b760911b6064820152608401620002e5565b6001600160e01b03198116600090815260208481526040808320546001600160a01b0386168452600180880190935290832054600160a01b9091046001600160601b0316929162000e3d91620015d7565b905080821462000f36576001600160a01b0384166000908152600186016020526040812080548390811062000e765762000e76620013af565b600091825260208083206008830401546001600160a01b038916845260018a019091526040909220805460079092166004026101000a90920460e01b92508291908590811062000eca5762000eca620013af565b600091825260208083206008830401805463ffffffff60079094166004026101000a938402191660e09590951c929092029390931790556001600160e01b03199290921682528690526040902080546001600160a01b0316600160a01b6001600160601b038516021790555b6001600160a01b0384166000908152600186016020526040902080548062000f625762000f62620015f1565b60008281526020808220600860001990940193840401805463ffffffff600460078716026101000a0219169055919092556001600160e01b0319851682528690526040812055806200066d57600285015460009062000fc490600190620015d7565b6001600160a01b03861660009081526001808901602052604090912001549091508082146200107a576000876002018381548110620010075762001007620013af565b6000918252602090912001546002890180546001600160a01b0390921692508291849081106200103b576200103b620013af565b600091825260208083209190910180546001600160a01b0319166001600160a01b03948516179055929091168152600189810190925260409020018190555b86600201805480620010905762001090620015f1565b60008281526020808220830160001990810180546001600160a01b03191690559092019092556001600160a01b0388168252600189810190915260408220015550505050505050565b813b818162000a6a5760405162461bcd60e51b8152600401620002e59190620015bb565b634e487b7160e01b600052604160045260246000fd5b604051606081016001600160401b0381118282101715620011385762001138620010fd565b60405290565b604051601f8201601f191681016001600160401b0381118282101715620011695762001169620010fd565b604052919050565b60006001600160401b038211156200118d576200118d620010fd565b5060051b60200190565b80516001600160a01b0381168114620011af57600080fd5b919050565b600060208284031215620011c757600080fd5b604051602081016001600160401b0381118282101715620011ec57620011ec620010fd565b604052905080620011fd8362001197565b905292915050565b600080604083850312156200121957600080fd5b82516001600160401b03808211156200123157600080fd5b818501915085601f8301126200124657600080fd5b815160206200125f620012598362001171565b6200113e565b82815260059290921b840181019181810190898411156200127f57600080fd5b8286015b848110156200138f578051868111156200129c57600080fd5b87016060818d03601f19011215620012b357600080fd5b620012bd62001113565b620012ca86830162001197565b8152604082015160038110620012df57600080fd5b81870152606082015188811115620012f657600080fd5b8083019250508c603f8301126200130c57600080fd5b858201516200131f620012598262001171565b81815260059190911b830160400190878101908f8311156200134057600080fd5b6040850194505b82851015620013795784516001600160e01b0319811681146200136957600080fd5b8252938801939088019062001347565b6040840152505084525091830191830162001283565b509650620013a2905088888301620011b4565b9450505050509250929050565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052602160045260246000fd5b634e487b7160e01b600052601160045260246000fd5b6000600019821415620014085762001408620013db565b5060010190565b60005b838110156200142c57818101518382015260200162001412565b8381111562000a6a5750506000910152565b60008151808452620014588160208601602086016200140f565b601f01601f19169290920160200192915050565b60006060808301818452808751808352608092508286019150828160051b8701016020808b0160005b848110156200154157898403607f19018652815180516001600160a01b03168552838101518986019060038110620014dd57634e487b7160e01b600052602160045260246000fd5b868601526040918201519186018a905281519081905290840190600090898701905b808310156200152b5783516001600160e01b0319168252928601926001929092019190860190620014ff565b5097850197955050509082019060010162001495565b50506001600160a01b038a169088015286810360408801526200156581896200143e565b9a9950505050505050505050565b60006001600160601b0382811680821415620015935762001593620013db565b6001019392505050565b60008251620015b18184602087016200140f565b9190910192915050565b602081526000620015d060208301846200143e565b9392505050565b600082821015620015ec57620015ec620013db565b500390565b634e487b7160e01b600052603160045260246000fd5b611a4980620016176000396000f3fe60806040523661000b57005b600080357fffffffff000000000000000000000000000000000000000000000000000000001681527fc8fcad8db84d3cc18b4c41d551ea0ee66dd599cde068d998e57d5e09332c131c6020819052604090912054819073ffffffffffffffffffffffffffffffffffffffff16806100e3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4469616d6f6e643a2046756e6374696f6e20646f6573206e6f7420657869737460448201526064015b60405180910390fd5b3660008037600080366000845af43d6000803e808015610102573d6000f35b3d6000fd5b60005b83518110156103005760008482815181106101275761012761167b565b602002602001015160200151905060006002811115610148576101486116aa565b81600281111561015a5761015a6116aa565b14156101a9576101a48583815181106101755761017561167b565b6020026020010151600001518684815181106101935761019361167b565b602002602001015160400151610429565b6102ed565b60018160028111156101bd576101bd6116aa565b1415610207576101a48583815181106101d8576101d861167b565b6020026020010151600001518684815181106101f6576101f661167b565b6020026020010151604001516107dc565b600281600281111561021b5761021b6116aa565b1415610265576101a48583815181106102365761023661167b565b6020026020010151600001518684815181106102545761025461167b565b602002602001015160400151610b99565b6040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602760248201527f4c69624469616d6f6e644375743a20496e636f7272656374204661636574437560448201527f74416374696f6e0000000000000000000000000000000000000000000000000060648201526084016100da565b50806102f881611708565b91505061010a565b507f8faa70878671ccd212d20771b795c50af8fd3ff6cf27f4bde57e5d4de0aeb673838383604051610334939291906117b7565b60405180910390a16103468282610d8c565b505050565b7fc8fcad8db84d3cc18b4c41d551ea0ee66dd599cde068d998e57d5e09332c132080547fffffffffffffffffffffffff0000000000000000000000000000000000000000811673ffffffffffffffffffffffffffffffffffffffff8481169182179093556040517fc8fcad8db84d3cc18b4c41d551ea0ee66dd599cde068d998e57d5e09332c131c939092169182907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3505050565b7fc8fcad8db84d3cc18b4c41d551ea0ee66dd599cde068d998e57d5e09332c131c90565b60008151116104ba576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602b60248201527f4c69624469616d6f6e644375743a204e6f2073656c6563746f727320696e206660448201527f6163657420746f2063757400000000000000000000000000000000000000000060648201526084016100da565b7fc8fcad8db84d3cc18b4c41d551ea0ee66dd599cde068d998e57d5e09332c131c73ffffffffffffffffffffffffffffffffffffffff831661057e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602c60248201527f4c69624469616d6f6e644375743a204164642066616365742063616e2774206260448201527f652061646472657373283029000000000000000000000000000000000000000060648201526084016100da565b73ffffffffffffffffffffffffffffffffffffffff831660009081526001820160205260409020546bffffffffffffffffffffffff81166105c3576105c3828561103f565b60005b83518110156107d55760008482815181106105e3576105e361167b565b6020908102919091018101517fffffffff00000000000000000000000000000000000000000000000000000000811660009081529186905260409091205490915073ffffffffffffffffffffffffffffffffffffffff1680156106c8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603560248201527f4c69624469616d6f6e644375743a2043616e2774206164642066756e6374696f60448201527f6e207468617420616c726561647920657869737473000000000000000000000060648201526084016100da565b7fffffffff000000000000000000000000000000000000000000000000000000008216600081815260208781526040808320805473ffffffffffffffffffffffffffffffffffffffff908116740100000000000000000000000000000000000000006bffffffffffffffffffffffff8c16021782558c168085526001808c0185529285208054938401815585528385206008840401805463ffffffff60079095166004026101000a948502191660e08a901c94909402939093179092559390925287905281547fffffffffffffffffffffffff000000000000000000000000000000000000000016179055836107bd8161191f565b945050505080806107cd90611708565b9150506105c6565b5050505050565b600081511161086d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602b60248201527f4c69624469616d6f6e644375743a204e6f2073656c6563746f727320696e206660448201527f6163657420746f2063757400000000000000000000000000000000000000000060648201526084016100da565b7fc8fcad8db84d3cc18b4c41d551ea0ee66dd599cde068d998e57d5e09332c131c73ffffffffffffffffffffffffffffffffffffffff8316610931576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602c60248201527f4c69624469616d6f6e644375743a204164642066616365742063616e2774206260448201527f652061646472657373283029000000000000000000000000000000000000000060648201526084016100da565b73ffffffffffffffffffffffffffffffffffffffff831660009081526001820160205260409020546bffffffffffffffffffffffff811661097657610976828561103f565b60005b83518110156107d55760008482815181106109965761099661167b565b6020908102919091018101517fffffffff00000000000000000000000000000000000000000000000000000000811660009081529186905260409091205490915073ffffffffffffffffffffffffffffffffffffffff908116908716811415610a81576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603860248201527f4c69624469616d6f6e644375743a2043616e2774207265706c6163652066756e60448201527f6374696f6e20776974682073616d652066756e6374696f6e000000000000000060648201526084016100da565b610a8c8582846110ce565b7fffffffff000000000000000000000000000000000000000000000000000000008216600081815260208781526040808320805473ffffffffffffffffffffffffffffffffffffffff908116740100000000000000000000000000000000000000006bffffffffffffffffffffffff8c16021782558c168085526001808c0185529285208054938401815585528385206008840401805463ffffffff60079095166004026101000a948502191660e08a901c94909402939093179092559390925287905281547fffffffffffffffffffffffff00000000000000000000000000000000000000001617905583610b818161191f565b94505050508080610b9190611708565b915050610979565b6000815111610c2a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602b60248201527f4c69624469616d6f6e644375743a204e6f2073656c6563746f727320696e206660448201527f6163657420746f2063757400000000000000000000000000000000000000000060648201526084016100da565b7fc8fcad8db84d3cc18b4c41d551ea0ee66dd599cde068d998e57d5e09332c131c73ffffffffffffffffffffffffffffffffffffffff831615610cef576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603660248201527f4c69624469616d6f6e644375743a2052656d6f7665206661636574206164647260448201527f657373206d75737420626520616464726573732830290000000000000000000060648201526084016100da565b60005b8251811015610d86576000838281518110610d0f57610d0f61167b565b6020908102919091018101517fffffffff00000000000000000000000000000000000000000000000000000000811660009081529185905260409091205490915073ffffffffffffffffffffffffffffffffffffffff16610d718482846110ce565b50508080610d7e90611708565b915050610cf2565b50505050565b73ffffffffffffffffffffffffffffffffffffffff8216610e3a57805115610e36576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603c60248201527f4c69624469616d6f6e644375743a205f696e697420697320616464726573732860448201527f3029206275745f63616c6c64617461206973206e6f7420656d7074790000000060648201526084016100da565b5050565b6000815111610ecb576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603d60248201527f4c69624469616d6f6e644375743a205f63616c6c6461746120697320656d707460448201527f7920627574205f696e6974206973206e6f74206164647265737328302900000060648201526084016100da565b73ffffffffffffffffffffffffffffffffffffffff82163014610f0a57610f0a826040518060600160405280602881526020016119c860289139611640565b6000808373ffffffffffffffffffffffffffffffffffffffff1683604051610f32919061194b565b600060405180830381855af49150503d8060008114610f6d576040519150601f19603f3d011682016040523d82523d6000602084013e610f72565b606091505b509150915081610d8657805115610fb757806040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016100da9190611967565b6040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f4c69624469616d6f6e644375743a205f696e69742066756e6374696f6e20726560448201527f766572746564000000000000000000000000000000000000000000000000000060648201526084016100da565b611061816040518060600160405280602481526020016119f060249139611640565b60028201805473ffffffffffffffffffffffffffffffffffffffff90921660008181526001948501602090815260408220860185905594840183559182529290200180547fffffffffffffffffffffffff0000000000000000000000000000000000000000169091179055565b73ffffffffffffffffffffffffffffffffffffffff8216611171576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603760248201527f4c69624469616d6f6e644375743a2043616e27742072656d6f76652066756e6360448201527f74696f6e207468617420646f65736e277420657869737400000000000000000060648201526084016100da565b73ffffffffffffffffffffffffffffffffffffffff8216301415611217576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602e60248201527f4c69624469616d6f6e644375743a2043616e27742072656d6f766520696d6d7560448201527f7461626c652066756e6374696f6e00000000000000000000000000000000000060648201526084016100da565b7fffffffff0000000000000000000000000000000000000000000000000000000081166000908152602084815260408083205473ffffffffffffffffffffffffffffffffffffffff86168452600180880190935290832054740100000000000000000000000000000000000000009091046bffffffffffffffffffffffff1692916112a191611981565b90508082146113e85773ffffffffffffffffffffffffffffffffffffffff8416600090815260018601602052604081208054839081106112e3576112e361167b565b6000918252602080832060088304015473ffffffffffffffffffffffffffffffffffffffff8916845260018a019091526040909220805460079092166004026101000a90920460e01b9250829190859081106113415761134161167b565b600091825260208083206008830401805463ffffffff60079094166004026101000a938402191660e09590951c929092029390931790557fffffffff0000000000000000000000000000000000000000000000000000000092909216825286905260409020805473ffffffffffffffffffffffffffffffffffffffff16740100000000000000000000000000000000000000006bffffffffffffffffffffffff8516021790555b73ffffffffffffffffffffffffffffffffffffffff84166000908152600186016020526040902080548061141e5761141e611998565b6000828152602080822060087fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff90940193840401805463ffffffff600460078716026101000a0219169055919092557fffffffff00000000000000000000000000000000000000000000000000000000851682528690526040812055806107d55760028501546000906114b390600190611981565b73ffffffffffffffffffffffffffffffffffffffff861660009081526001808901602052604090912001549091508082146115a15760008760020183815481106114ff576114ff61167b565b60009182526020909120015460028901805473ffffffffffffffffffffffffffffffffffffffff909216925082918490811061153d5761153d61167b565b600091825260208083209190910180547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff948516179055929091168152600189810190925260409020018190555b866002018054806115b4576115b4611998565b6000828152602080822083017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff90810180547fffffffffffffffffffffffff000000000000000000000000000000000000000016905590920190925573ffffffffffffffffffffffffffffffffffffffff88168252600189810190915260408220015550505050505050565b813b8181610d86576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016100da9190611967565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561173a5761173a6116d9565b5060010190565b60005b8381101561175c578181015183820152602001611744565b83811115610d865750506000910152565b60008151808452611785816020860160208601611741565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160200192915050565b60006060808301818452808751808352608092508286019150828160051b8701016020808b0160005b848110156118e2577fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff808a8503018652815188850173ffffffffffffffffffffffffffffffffffffffff82511686528482015160038110611869577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b868601526040918201519186018a905281519081905290840190600090898701905b808310156118cd5783517fffffffff0000000000000000000000000000000000000000000000000000000016825292860192600192909201919086019061188b565b509785019795505050908201906001016117e0565b505073ffffffffffffffffffffffffffffffffffffffff8a16908801528681036040880152611911818961176d565b9a9950505050505050505050565b60006bffffffffffffffffffffffff80831681811415611941576119416116d9565b6001019392505050565b6000825161195d818460208701611741565b9190910192915050565b60208152600061197a602083018461176d565b9392505050565b600082821015611993576119936116d9565b500390565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fdfe4c69624469616d6f6e644375743a205f696e6974206164647265737320686173206e6f20636f64654c69624469616d6f6e644375743a204e657720666163657420686173206e6f20636f6465a2646970667358221220a164f5c0a5fb38836f80db7c0d13ba057b758bb3bdf1d37d32f097ad8988276c64736f6c63430008090033c8fcad8db84d3cc18b4c41d551ea0ee66dd599cde068d998e57d5e09332c131c4c69624469616d6f6e644375743a205f696e6974206164647265737320686173206e6f20636f64654c69624469616d6f6e644375743a204164642066616365742063616e277420624c69624469616d6f6e644375743a204e657720666163657420686173206e6f20636f64654c69624469616d6f6e644375743a204e6f2073656c6563746f727320696e2066", + "deployedBytecode": "0x60806040523661000b57005b600080357fffffffff000000000000000000000000000000000000000000000000000000001681527fc8fcad8db84d3cc18b4c41d551ea0ee66dd599cde068d998e57d5e09332c131c6020819052604090912054819073ffffffffffffffffffffffffffffffffffffffff16806100e3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4469616d6f6e643a2046756e6374696f6e20646f6573206e6f7420657869737460448201526064015b60405180910390fd5b3660008037600080366000845af43d6000803e808015610102573d6000f35b3d6000fd5b60005b83518110156103005760008482815181106101275761012761167b565b602002602001015160200151905060006002811115610148576101486116aa565b81600281111561015a5761015a6116aa565b14156101a9576101a48583815181106101755761017561167b565b6020026020010151600001518684815181106101935761019361167b565b602002602001015160400151610429565b6102ed565b60018160028111156101bd576101bd6116aa565b1415610207576101a48583815181106101d8576101d861167b565b6020026020010151600001518684815181106101f6576101f661167b565b6020026020010151604001516107dc565b600281600281111561021b5761021b6116aa565b1415610265576101a48583815181106102365761023661167b565b6020026020010151600001518684815181106102545761025461167b565b602002602001015160400151610b99565b6040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602760248201527f4c69624469616d6f6e644375743a20496e636f7272656374204661636574437560448201527f74416374696f6e0000000000000000000000000000000000000000000000000060648201526084016100da565b50806102f881611708565b91505061010a565b507f8faa70878671ccd212d20771b795c50af8fd3ff6cf27f4bde57e5d4de0aeb673838383604051610334939291906117b7565b60405180910390a16103468282610d8c565b505050565b7fc8fcad8db84d3cc18b4c41d551ea0ee66dd599cde068d998e57d5e09332c132080547fffffffffffffffffffffffff0000000000000000000000000000000000000000811673ffffffffffffffffffffffffffffffffffffffff8481169182179093556040517fc8fcad8db84d3cc18b4c41d551ea0ee66dd599cde068d998e57d5e09332c131c939092169182907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3505050565b7fc8fcad8db84d3cc18b4c41d551ea0ee66dd599cde068d998e57d5e09332c131c90565b60008151116104ba576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602b60248201527f4c69624469616d6f6e644375743a204e6f2073656c6563746f727320696e206660448201527f6163657420746f2063757400000000000000000000000000000000000000000060648201526084016100da565b7fc8fcad8db84d3cc18b4c41d551ea0ee66dd599cde068d998e57d5e09332c131c73ffffffffffffffffffffffffffffffffffffffff831661057e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602c60248201527f4c69624469616d6f6e644375743a204164642066616365742063616e2774206260448201527f652061646472657373283029000000000000000000000000000000000000000060648201526084016100da565b73ffffffffffffffffffffffffffffffffffffffff831660009081526001820160205260409020546bffffffffffffffffffffffff81166105c3576105c3828561103f565b60005b83518110156107d55760008482815181106105e3576105e361167b565b6020908102919091018101517fffffffff00000000000000000000000000000000000000000000000000000000811660009081529186905260409091205490915073ffffffffffffffffffffffffffffffffffffffff1680156106c8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603560248201527f4c69624469616d6f6e644375743a2043616e2774206164642066756e6374696f60448201527f6e207468617420616c726561647920657869737473000000000000000000000060648201526084016100da565b7fffffffff000000000000000000000000000000000000000000000000000000008216600081815260208781526040808320805473ffffffffffffffffffffffffffffffffffffffff908116740100000000000000000000000000000000000000006bffffffffffffffffffffffff8c16021782558c168085526001808c0185529285208054938401815585528385206008840401805463ffffffff60079095166004026101000a948502191660e08a901c94909402939093179092559390925287905281547fffffffffffffffffffffffff000000000000000000000000000000000000000016179055836107bd8161191f565b945050505080806107cd90611708565b9150506105c6565b5050505050565b600081511161086d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602b60248201527f4c69624469616d6f6e644375743a204e6f2073656c6563746f727320696e206660448201527f6163657420746f2063757400000000000000000000000000000000000000000060648201526084016100da565b7fc8fcad8db84d3cc18b4c41d551ea0ee66dd599cde068d998e57d5e09332c131c73ffffffffffffffffffffffffffffffffffffffff8316610931576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602c60248201527f4c69624469616d6f6e644375743a204164642066616365742063616e2774206260448201527f652061646472657373283029000000000000000000000000000000000000000060648201526084016100da565b73ffffffffffffffffffffffffffffffffffffffff831660009081526001820160205260409020546bffffffffffffffffffffffff811661097657610976828561103f565b60005b83518110156107d55760008482815181106109965761099661167b565b6020908102919091018101517fffffffff00000000000000000000000000000000000000000000000000000000811660009081529186905260409091205490915073ffffffffffffffffffffffffffffffffffffffff908116908716811415610a81576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603860248201527f4c69624469616d6f6e644375743a2043616e2774207265706c6163652066756e60448201527f6374696f6e20776974682073616d652066756e6374696f6e000000000000000060648201526084016100da565b610a8c8582846110ce565b7fffffffff000000000000000000000000000000000000000000000000000000008216600081815260208781526040808320805473ffffffffffffffffffffffffffffffffffffffff908116740100000000000000000000000000000000000000006bffffffffffffffffffffffff8c16021782558c168085526001808c0185529285208054938401815585528385206008840401805463ffffffff60079095166004026101000a948502191660e08a901c94909402939093179092559390925287905281547fffffffffffffffffffffffff00000000000000000000000000000000000000001617905583610b818161191f565b94505050508080610b9190611708565b915050610979565b6000815111610c2a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602b60248201527f4c69624469616d6f6e644375743a204e6f2073656c6563746f727320696e206660448201527f6163657420746f2063757400000000000000000000000000000000000000000060648201526084016100da565b7fc8fcad8db84d3cc18b4c41d551ea0ee66dd599cde068d998e57d5e09332c131c73ffffffffffffffffffffffffffffffffffffffff831615610cef576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603660248201527f4c69624469616d6f6e644375743a2052656d6f7665206661636574206164647260448201527f657373206d75737420626520616464726573732830290000000000000000000060648201526084016100da565b60005b8251811015610d86576000838281518110610d0f57610d0f61167b565b6020908102919091018101517fffffffff00000000000000000000000000000000000000000000000000000000811660009081529185905260409091205490915073ffffffffffffffffffffffffffffffffffffffff16610d718482846110ce565b50508080610d7e90611708565b915050610cf2565b50505050565b73ffffffffffffffffffffffffffffffffffffffff8216610e3a57805115610e36576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603c60248201527f4c69624469616d6f6e644375743a205f696e697420697320616464726573732860448201527f3029206275745f63616c6c64617461206973206e6f7420656d7074790000000060648201526084016100da565b5050565b6000815111610ecb576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603d60248201527f4c69624469616d6f6e644375743a205f63616c6c6461746120697320656d707460448201527f7920627574205f696e6974206973206e6f74206164647265737328302900000060648201526084016100da565b73ffffffffffffffffffffffffffffffffffffffff82163014610f0a57610f0a826040518060600160405280602881526020016119c860289139611640565b6000808373ffffffffffffffffffffffffffffffffffffffff1683604051610f32919061194b565b600060405180830381855af49150503d8060008114610f6d576040519150601f19603f3d011682016040523d82523d6000602084013e610f72565b606091505b509150915081610d8657805115610fb757806040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016100da9190611967565b6040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f4c69624469616d6f6e644375743a205f696e69742066756e6374696f6e20726560448201527f766572746564000000000000000000000000000000000000000000000000000060648201526084016100da565b611061816040518060600160405280602481526020016119f060249139611640565b60028201805473ffffffffffffffffffffffffffffffffffffffff90921660008181526001948501602090815260408220860185905594840183559182529290200180547fffffffffffffffffffffffff0000000000000000000000000000000000000000169091179055565b73ffffffffffffffffffffffffffffffffffffffff8216611171576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603760248201527f4c69624469616d6f6e644375743a2043616e27742072656d6f76652066756e6360448201527f74696f6e207468617420646f65736e277420657869737400000000000000000060648201526084016100da565b73ffffffffffffffffffffffffffffffffffffffff8216301415611217576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602e60248201527f4c69624469616d6f6e644375743a2043616e27742072656d6f766520696d6d7560448201527f7461626c652066756e6374696f6e00000000000000000000000000000000000060648201526084016100da565b7fffffffff0000000000000000000000000000000000000000000000000000000081166000908152602084815260408083205473ffffffffffffffffffffffffffffffffffffffff86168452600180880190935290832054740100000000000000000000000000000000000000009091046bffffffffffffffffffffffff1692916112a191611981565b90508082146113e85773ffffffffffffffffffffffffffffffffffffffff8416600090815260018601602052604081208054839081106112e3576112e361167b565b6000918252602080832060088304015473ffffffffffffffffffffffffffffffffffffffff8916845260018a019091526040909220805460079092166004026101000a90920460e01b9250829190859081106113415761134161167b565b600091825260208083206008830401805463ffffffff60079094166004026101000a938402191660e09590951c929092029390931790557fffffffff0000000000000000000000000000000000000000000000000000000092909216825286905260409020805473ffffffffffffffffffffffffffffffffffffffff16740100000000000000000000000000000000000000006bffffffffffffffffffffffff8516021790555b73ffffffffffffffffffffffffffffffffffffffff84166000908152600186016020526040902080548061141e5761141e611998565b6000828152602080822060087fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff90940193840401805463ffffffff600460078716026101000a0219169055919092557fffffffff00000000000000000000000000000000000000000000000000000000851682528690526040812055806107d55760028501546000906114b390600190611981565b73ffffffffffffffffffffffffffffffffffffffff861660009081526001808901602052604090912001549091508082146115a15760008760020183815481106114ff576114ff61167b565b60009182526020909120015460028901805473ffffffffffffffffffffffffffffffffffffffff909216925082918490811061153d5761153d61167b565b600091825260208083209190910180547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff948516179055929091168152600189810190925260409020018190555b866002018054806115b4576115b4611998565b6000828152602080822083017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff90810180547fffffffffffffffffffffffff000000000000000000000000000000000000000016905590920190925573ffffffffffffffffffffffffffffffffffffffff88168252600189810190915260408220015550505050505050565b813b8181610d86576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016100da9190611967565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561173a5761173a6116d9565b5060010190565b60005b8381101561175c578181015183820152602001611744565b83811115610d865750506000910152565b60008151808452611785816020860160208601611741565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160200192915050565b60006060808301818452808751808352608092508286019150828160051b8701016020808b0160005b848110156118e2577fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff808a8503018652815188850173ffffffffffffffffffffffffffffffffffffffff82511686528482015160038110611869577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b868601526040918201519186018a905281519081905290840190600090898701905b808310156118cd5783517fffffffff0000000000000000000000000000000000000000000000000000000016825292860192600192909201919086019061188b565b509785019795505050908201906001016117e0565b505073ffffffffffffffffffffffffffffffffffffffff8a16908801528681036040880152611911818961176d565b9a9950505050505050505050565b60006bffffffffffffffffffffffff80831681811415611941576119416116d9565b6001019392505050565b6000825161195d818460208701611741565b9190910192915050565b60208152600061197a602083018461176d565b9392505050565b600082821015611993576119936116d9565b500390565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fdfe4c69624469616d6f6e644375743a205f696e6974206164647265737320686173206e6f20636f64654c69624469616d6f6e644375743a204e657720666163657420686173206e6f20636f6465a2646970667358221220a164f5c0a5fb38836f80db7c0d13ba057b758bb3bdf1d37d32f097ad8988276c64736f6c63430008090033", "linkReferences": {}, "deployedLinkReferences": {}, "devdoc": { @@ -62,82 +62,480 @@ }, "evm": { "bytecode": { + "functionDebugData": { + "@_395": { + "entryPoint": null, + "id": 395, + "parameterSlots": 2, + "returnSlots": 0 + }, + "@addFacet_1338": { + "entryPoint": 3215, + "id": 1338, + "parameterSlots": 2, + "returnSlots": 0 + }, + "@addFunction_1379": { + "entryPoint": null, + "id": 1379, + "parameterSlots": 4, + "returnSlots": 0 + }, + "@addFunctions_1136": { + "entryPoint": 1002, + "id": 1136, + "parameterSlots": 2, + "returnSlots": 0 + }, + "@diamondCut_1035": { + "entryPoint": 245, + "id": 1035, + "parameterSlots": 3, + "returnSlots": 0 + }, + "@diamondStorage_861": { + "entryPoint": 983, + "id": 861, + "parameterSlots": 0, + "returnSlots": 1 + }, + "@enforceHasContractCode_1642": { + "entryPoint": 4313, + "id": 1642, + "parameterSlots": 2, + "returnSlots": 0 + }, + "@initializeDiamondCut_1623": { + "entryPoint": 2672, + "id": 1623, + "parameterSlots": 2, + "returnSlots": 0 + }, + "@removeFunction_1546": { + "entryPoint": 3324, + "id": 1546, + "parameterSlots": 3, + "returnSlots": 0 + }, + "@removeFunctions_1305": { + "entryPoint": 2314, + "id": 1305, + "parameterSlots": 2, + "returnSlots": 0 + }, + "@replaceFunctions_1240": { + "entryPoint": 1652, + "id": 1240, + "parameterSlots": 2, + "returnSlots": 0 + }, + "@setContractOwner_895": { + "entryPoint": 851, + "id": 895, + "parameterSlots": 1, + "returnSlots": 0 + }, + "abi_decode_address_fromMemory": { + "entryPoint": 4503, + "id": null, + "parameterSlots": 1, + "returnSlots": 1 + }, + "abi_decode_struct_DiamondArgs_fromMemory": { + "entryPoint": 4532, + "id": null, + "parameterSlots": 2, + "returnSlots": 1 + }, + "abi_decode_tuple_t_array$_t_struct$_FacetCut_$711_memory_ptr_$dyn_memory_ptrt_struct$_DiamondArgs_$310_memory_ptr_fromMemory": { + "entryPoint": 4613, + "id": null, + "parameterSlots": 2, + "returnSlots": 2 + }, + "abi_encode_address": { + "entryPoint": null, + "id": null, + "parameterSlots": 2, + "returnSlots": 0 + }, + "abi_encode_bytes": { + "entryPoint": 5182, + "id": null, + "parameterSlots": 2, + "returnSlots": 1 + }, + "abi_encode_tuple_packed_t_bytes_memory_ptr__to_t_bytes_memory_ptr__nonPadded_inplace_fromStack_reversed": { + "entryPoint": 5533, + "id": null, + "parameterSlots": 2, + "returnSlots": 1 + }, + "abi_encode_tuple_t_array$_t_struct$_FacetCut_$711_memory_ptr_$dyn_memory_ptr_t_address_t_bytes_memory_ptr__to_t_array$_t_struct$_FacetCut_$711_memory_ptr_$dyn_memory_ptr_t_address_t_bytes_memory_ptr__fromStack_reversed": { + "entryPoint": 5228, + "id": null, + "parameterSlots": 4, + "returnSlots": 1 + }, + "abi_encode_tuple_t_string_memory_ptr__to_t_string_memory_ptr__fromStack_reversed": { + "entryPoint": 5563, + "id": null, + "parameterSlots": 2, + "returnSlots": 1 + }, + "abi_encode_tuple_t_stringliteral_046c761a688d1dc3c500562bc5aaa3544f01f394f9bb3b69aa2a950a45afb1f8__to_t_string_memory_ptr__fromStack_reversed": { + "entryPoint": null, + "id": null, + "parameterSlots": 1, + "returnSlots": 1 + }, + "abi_encode_tuple_t_stringliteral_080b2fe78815767d522290509c8fce2af708c8a54455ca1b0cc978c92822465d__to_t_string_memory_ptr__fromStack_reversed": { + "entryPoint": null, + "id": null, + "parameterSlots": 1, + "returnSlots": 1 + }, + "abi_encode_tuple_t_stringliteral_1ffc682bcfedefd5e93ba9ed0c2d1bc0b18319886e3b4bd28a03a3d3729f85c0__to_t_string_memory_ptr__fromStack_reversed": { + "entryPoint": null, + "id": null, + "parameterSlots": 1, + "returnSlots": 1 + }, + "abi_encode_tuple_t_stringliteral_2c590e498c4d56c984a7092fd5e89a68b9f4541ce9f97252fb74e44a00ffbb71__to_t_string_memory_ptr__fromStack_reversed": { + "entryPoint": null, + "id": null, + "parameterSlots": 1, + "returnSlots": 1 + }, + "abi_encode_tuple_t_stringliteral_48267d8daf5ea9c6bbad1fe9c53dc4c04a2a01b2b85bad432956cf42f45b2f54__to_t_string_memory_ptr__fromStack_reversed": { + "entryPoint": null, + "id": null, + "parameterSlots": 1, + "returnSlots": 1 + }, + "abi_encode_tuple_t_stringliteral_64609d8b93c93a06b98d7db7a87b04044cd4a52c5661d603bb9b90ad8b914a3a__to_t_string_memory_ptr__fromStack_reversed": { + "entryPoint": null, + "id": null, + "parameterSlots": 1, + "returnSlots": 1 + }, + "abi_encode_tuple_t_stringliteral_868d165ec2461661b624442252aed6a645399bfae7b60083a77ea1b61b084042__to_t_string_memory_ptr__fromStack_reversed": { + "entryPoint": null, + "id": null, + "parameterSlots": 1, + "returnSlots": 1 + }, + "abi_encode_tuple_t_stringliteral_8ba063dfaa4be2d2cbe73dbb1364728b0f7031ac048441d5fad19e9541992b21__to_t_string_memory_ptr__fromStack_reversed": { + "entryPoint": null, + "id": null, + "parameterSlots": 1, + "returnSlots": 1 + }, + "abi_encode_tuple_t_stringliteral_99a7418ee014d613f46da44561258cdbb58064508097483a319062b99fa37700__to_t_string_memory_ptr__fromStack_reversed": { + "entryPoint": null, + "id": null, + "parameterSlots": 1, + "returnSlots": 1 + }, + "abi_encode_tuple_t_stringliteral_b5a7112edf707196456f338fdcc19cd849be6cb8c0d166bcd035f4cfb00e7078__to_t_string_memory_ptr__fromStack_reversed": { + "entryPoint": null, + "id": null, + "parameterSlots": 1, + "returnSlots": 1 + }, + "abi_encode_tuple_t_stringliteral_b739aae768f79b96e91d9f66398733516895e39eb09ee54a795b49dcc77504d4__to_t_string_memory_ptr__fromStack_reversed": { + "entryPoint": null, + "id": null, + "parameterSlots": 1, + "returnSlots": 1 + }, + "allocate_memory": { + "entryPoint": 4414, + "id": null, + "parameterSlots": 1, + "returnSlots": 1 + }, + "allocate_memory_2973": { + "entryPoint": 4371, + "id": null, + "parameterSlots": 0, + "returnSlots": 1 + }, + "array_allocation_size_array_struct_FacetCut_dyn": { + "entryPoint": 4465, + "id": null, + "parameterSlots": 1, + "returnSlots": 1 + }, + "checked_sub_t_uint256": { + "entryPoint": 5591, + "id": null, + "parameterSlots": 2, + "returnSlots": 1 + }, + "copy_memory_to_memory": { + "entryPoint": 5135, + "id": null, + "parameterSlots": 3, + "returnSlots": 0 + }, + "increment_t_uint256": { + "entryPoint": 5105, + "id": null, + "parameterSlots": 1, + "returnSlots": 1 + }, + "increment_t_uint96": { + "entryPoint": 5491, + "id": null, + "parameterSlots": 1, + "returnSlots": 1 + }, + "panic_error_0x11": { + "entryPoint": 5083, + "id": null, + "parameterSlots": 0, + "returnSlots": 0 + }, + "panic_error_0x21": { + "entryPoint": 5061, + "id": null, + "parameterSlots": 0, + "returnSlots": 0 + }, + "panic_error_0x31": { + "entryPoint": 5617, + "id": null, + "parameterSlots": 0, + "returnSlots": 0 + }, + "panic_error_0x32": { + "entryPoint": 5039, + "id": null, + "parameterSlots": 0, + "returnSlots": 0 + }, + "panic_error_0x41": { + "entryPoint": 4349, + "id": null, + "parameterSlots": 0, + "returnSlots": 0 + } + }, "generatedSources": [ { "ast": { "nodeType": "YulBlock", - "src": "0:11450:10", + "src": "0:12833:11", "statements": [ { "nodeType": "YulBlock", - "src": "6:3:10", + "src": "6:3:11", "statements": [] }, { "body": { "nodeType": "YulBlock", - "src": "76:117:10", + "src": "46:95:11", + "statements": [ + { + "expression": { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "63:1:11", + "type": "", + "value": "0" + }, + { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "70:3:11", + "type": "", + "value": "224" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "75:10:11", + "type": "", + "value": "0x4e487b71" + } + ], + "functionName": { + "name": "shl", + "nodeType": "YulIdentifier", + "src": "66:3:11" + }, + "nodeType": "YulFunctionCall", + "src": "66:20:11" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "56:6:11" + }, + "nodeType": "YulFunctionCall", + "src": "56:31:11" + }, + "nodeType": "YulExpressionStatement", + "src": "56:31:11" + }, + { + "expression": { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "103:1:11", + "type": "", + "value": "4" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "106:4:11", + "type": "", + "value": "0x41" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "96:6:11" + }, + "nodeType": "YulFunctionCall", + "src": "96:15:11" + }, + "nodeType": "YulExpressionStatement", + "src": "96:15:11" + }, + { + "expression": { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "127:1:11", + "type": "", + "value": "0" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "130:4:11", + "type": "", + "value": "0x24" + } + ], + "functionName": { + "name": "revert", + "nodeType": "YulIdentifier", + "src": "120:6:11" + }, + "nodeType": "YulFunctionCall", + "src": "120:15:11" + }, + "nodeType": "YulExpressionStatement", + "src": "120:15:11" + } + ] + }, + "name": "panic_error_0x41", + "nodeType": "YulFunctionDefinition", + "src": "14:127:11" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "192:207:11", "statements": [ { "nodeType": "YulAssignment", - "src": "86:22:10", + "src": "202:19:11", "value": { "arguments": [ { - "name": "offset", - "nodeType": "YulIdentifier", - "src": "101:6:10" + "kind": "number", + "nodeType": "YulLiteral", + "src": "218:2:11", + "type": "", + "value": "64" } ], "functionName": { "name": "mload", "nodeType": "YulIdentifier", - "src": "95:5:10" + "src": "212:5:11" }, "nodeType": "YulFunctionCall", - "src": "95:13:10" + "src": "212:9:11" }, "variableNames": [ { - "name": "value", + "name": "memPtr", + "nodeType": "YulIdentifier", + "src": "202:6:11" + } + ] + }, + { + "nodeType": "YulVariableDeclaration", + "src": "230:35:11", + "value": { + "arguments": [ + { + "name": "memPtr", + "nodeType": "YulIdentifier", + "src": "252:6:11" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "260:4:11", + "type": "", + "value": "0x60" + } + ], + "functionName": { + "name": "add", "nodeType": "YulIdentifier", - "src": "86:5:10" + "src": "248:3:11" + }, + "nodeType": "YulFunctionCall", + "src": "248:17:11" + }, + "variables": [ + { + "name": "newFreePtr", + "nodeType": "YulTypedName", + "src": "234:10:11", + "type": "" } ] }, { "body": { "nodeType": "YulBlock", - "src": "171:16:10", + "src": "340:22:11", "statements": [ { "expression": { - "arguments": [ - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "180:1:10", - "type": "", - "value": "0" - }, - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "183:1:10", - "type": "", - "value": "0" - } - ], + "arguments": [], "functionName": { - "name": "revert", + "name": "panic_error_0x41", "nodeType": "YulIdentifier", - "src": "173:6:10" + "src": "342:16:11" }, "nodeType": "YulFunctionCall", - "src": "173:12:10" + "src": "342:18:11" }, "nodeType": "YulExpressionStatement", - "src": "173:12:10" + "src": "342:18:11" } ] }, @@ -146,424 +544,641 @@ { "arguments": [ { - "name": "value", + "name": "newFreePtr", "nodeType": "YulIdentifier", - "src": "130:5:10" + "src": "283:10:11" }, { "arguments": [ - { - "name": "value", - "nodeType": "YulIdentifier", - "src": "141:5:10" - }, { "arguments": [ { - "arguments": [ - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "156:3:10", - "type": "", - "value": "160" - }, - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "161:1:10", - "type": "", - "value": "1" - } - ], - "functionName": { - "name": "shl", - "nodeType": "YulIdentifier", - "src": "152:3:10" - }, - "nodeType": "YulFunctionCall", - "src": "152:11:10" + "kind": "number", + "nodeType": "YulLiteral", + "src": "303:2:11", + "type": "", + "value": "64" }, { "kind": "number", "nodeType": "YulLiteral", - "src": "165:1:10", + "src": "307:1:11", "type": "", "value": "1" } ], "functionName": { - "name": "sub", + "name": "shl", "nodeType": "YulIdentifier", - "src": "148:3:10" + "src": "299:3:11" }, "nodeType": "YulFunctionCall", - "src": "148:19:10" + "src": "299:10:11" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "311:1:11", + "type": "", + "value": "1" } ], "functionName": { - "name": "and", + "name": "sub", "nodeType": "YulIdentifier", - "src": "137:3:10" + "src": "295:3:11" }, "nodeType": "YulFunctionCall", - "src": "137:31:10" + "src": "295:18:11" } ], "functionName": { - "name": "eq", + "name": "gt", "nodeType": "YulIdentifier", - "src": "127:2:10" + "src": "280:2:11" }, "nodeType": "YulFunctionCall", - "src": "127:42:10" + "src": "280:34:11" + }, + { + "arguments": [ + { + "name": "newFreePtr", + "nodeType": "YulIdentifier", + "src": "319:10:11" + }, + { + "name": "memPtr", + "nodeType": "YulIdentifier", + "src": "331:6:11" + } + ], + "functionName": { + "name": "lt", + "nodeType": "YulIdentifier", + "src": "316:2:11" + }, + "nodeType": "YulFunctionCall", + "src": "316:22:11" } ], "functionName": { - "name": "iszero", + "name": "or", "nodeType": "YulIdentifier", - "src": "120:6:10" + "src": "277:2:11" }, "nodeType": "YulFunctionCall", - "src": "120:50:10" + "src": "277:62:11" }, "nodeType": "YulIf", - "src": "117:2:10" - } - ] - }, - "name": "abi_decode_t_address_fromMemory", - "nodeType": "YulFunctionDefinition", - "parameters": [ - { - "name": "offset", - "nodeType": "YulTypedName", - "src": "55:6:10", - "type": "" - } - ], - "returnVariables": [ - { - "name": "value", + "src": "274:88:11" + }, + { + "expression": { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "378:2:11", + "type": "", + "value": "64" + }, + { + "name": "newFreePtr", + "nodeType": "YulIdentifier", + "src": "382:10:11" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "371:6:11" + }, + "nodeType": "YulFunctionCall", + "src": "371:22:11" + }, + "nodeType": "YulExpressionStatement", + "src": "371:22:11" + } + ] + }, + "name": "allocate_memory_2973", + "nodeType": "YulFunctionDefinition", + "returnVariables": [ + { + "name": "memPtr", "nodeType": "YulTypedName", - "src": "66:5:10", + "src": "181:6:11", "type": "" } ], - "src": "14:179:10" + "src": "146:253:11" }, { "body": { "nodeType": "YulBlock", - "src": "278:743:10", + "src": "449:230:11", "statements": [ { - "body": { - "nodeType": "YulBlock", - "src": "327:24:10", - "statements": [ + "nodeType": "YulAssignment", + "src": "459:19:11", + "value": { + "arguments": [ { - "expression": { - "arguments": [ - { - "name": "array", - "nodeType": "YulIdentifier", - "src": "336:5:10" - }, - { - "name": "array", - "nodeType": "YulIdentifier", - "src": "343:5:10" - } - ], - "functionName": { - "name": "revert", - "nodeType": "YulIdentifier", - "src": "329:6:10" - }, - "nodeType": "YulFunctionCall", - "src": "329:20:10" - }, - "nodeType": "YulExpressionStatement", - "src": "329:20:10" + "kind": "number", + "nodeType": "YulLiteral", + "src": "475:2:11", + "type": "", + "value": "64" } - ] + ], + "functionName": { + "name": "mload", + "nodeType": "YulIdentifier", + "src": "469:5:11" + }, + "nodeType": "YulFunctionCall", + "src": "469:9:11" }, - "condition": { + "variableNames": [ + { + "name": "memPtr", + "nodeType": "YulIdentifier", + "src": "459:6:11" + } + ] + }, + { + "nodeType": "YulVariableDeclaration", + "src": "487:58:11", + "value": { "arguments": [ + { + "name": "memPtr", + "nodeType": "YulIdentifier", + "src": "509:6:11" + }, { "arguments": [ { "arguments": [ { - "name": "offset", + "name": "size", "nodeType": "YulIdentifier", - "src": "306:6:10" + "src": "525:4:11" }, { "kind": "number", "nodeType": "YulLiteral", - "src": "314:4:10", + "src": "531:2:11", "type": "", - "value": "0x1f" + "value": "31" } ], "functionName": { "name": "add", "nodeType": "YulIdentifier", - "src": "302:3:10" + "src": "521:3:11" }, "nodeType": "YulFunctionCall", - "src": "302:17:10" + "src": "521:13:11" }, { - "name": "end", - "nodeType": "YulIdentifier", - "src": "321:3:10" + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "540:2:11", + "type": "", + "value": "31" + } + ], + "functionName": { + "name": "not", + "nodeType": "YulIdentifier", + "src": "536:3:11" + }, + "nodeType": "YulFunctionCall", + "src": "536:7:11" } ], "functionName": { - "name": "slt", + "name": "and", "nodeType": "YulIdentifier", - "src": "298:3:10" + "src": "517:3:11" }, "nodeType": "YulFunctionCall", - "src": "298:27:10" - } - ], - "functionName": { - "name": "iszero", - "nodeType": "YulIdentifier", - "src": "291:6:10" - }, - "nodeType": "YulFunctionCall", - "src": "291:35:10" - }, - "nodeType": "YulIf", - "src": "288:2:10" - }, - { - "nodeType": "YulVariableDeclaration", - "src": "360:23:10", - "value": { - "arguments": [ - { - "name": "offset", - "nodeType": "YulIdentifier", - "src": "376:6:10" + "src": "517:27:11" } ], "functionName": { - "name": "mload", + "name": "add", "nodeType": "YulIdentifier", - "src": "370:5:10" + "src": "505:3:11" }, "nodeType": "YulFunctionCall", - "src": "370:13:10" + "src": "505:40:11" }, "variables": [ { - "name": "_1", + "name": "newFreePtr", "nodeType": "YulTypedName", - "src": "364:2:10", + "src": "491:10:11", "type": "" } ] }, { - "nodeType": "YulVariableDeclaration", - "src": "392:14:10", - "value": { - "kind": "number", - "nodeType": "YulLiteral", - "src": "402:4:10", - "type": "", - "value": "0x20" + "body": { + "nodeType": "YulBlock", + "src": "620:22:11", + "statements": [ + { + "expression": { + "arguments": [], + "functionName": { + "name": "panic_error_0x41", + "nodeType": "YulIdentifier", + "src": "622:16:11" + }, + "nodeType": "YulFunctionCall", + "src": "622:18:11" + }, + "nodeType": "YulExpressionStatement", + "src": "622:18:11" + } + ] }, - "variables": [ - { - "name": "_2", - "nodeType": "YulTypedName", - "src": "396:2:10", - "type": "" - } - ] - }, - { - "nodeType": "YulVariableDeclaration", - "src": "415:75:10", - "value": { + "condition": { "arguments": [ { "arguments": [ { - "name": "_1", + "name": "newFreePtr", + "nodeType": "YulIdentifier", + "src": "563:10:11" + }, + { + "arguments": [ + { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "583:2:11", + "type": "", + "value": "64" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "587:1:11", + "type": "", + "value": "1" + } + ], + "functionName": { + "name": "shl", + "nodeType": "YulIdentifier", + "src": "579:3:11" + }, + "nodeType": "YulFunctionCall", + "src": "579:10:11" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "591:1:11", + "type": "", + "value": "1" + } + ], + "functionName": { + "name": "sub", + "nodeType": "YulIdentifier", + "src": "575:3:11" + }, + "nodeType": "YulFunctionCall", + "src": "575:18:11" + } + ], + "functionName": { + "name": "gt", + "nodeType": "YulIdentifier", + "src": "560:2:11" + }, + "nodeType": "YulFunctionCall", + "src": "560:34:11" + }, + { + "arguments": [ + { + "name": "newFreePtr", + "nodeType": "YulIdentifier", + "src": "599:10:11" + }, + { + "name": "memPtr", "nodeType": "YulIdentifier", - "src": "486:2:10" + "src": "611:6:11" } ], "functionName": { - "name": "array_allocation_size_t_array$_t_bytes4_$dyn", + "name": "lt", "nodeType": "YulIdentifier", - "src": "441:44:10" + "src": "596:2:11" }, "nodeType": "YulFunctionCall", - "src": "441:48:10" + "src": "596:22:11" } ], "functionName": { - "name": "allocateMemory", + "name": "or", "nodeType": "YulIdentifier", - "src": "426:14:10" + "src": "557:2:11" }, "nodeType": "YulFunctionCall", - "src": "426:64:10" - }, - "variables": [ - { - "name": "dst", - "nodeType": "YulTypedName", - "src": "419:3:10", - "type": "" - } - ] - }, - { - "nodeType": "YulVariableDeclaration", - "src": "499:16:10", - "value": { - "name": "dst", - "nodeType": "YulIdentifier", - "src": "512:3:10" + "src": "557:62:11" }, - "variables": [ - { - "name": "dst_1", - "nodeType": "YulTypedName", - "src": "503:5:10", - "type": "" - } - ] + "nodeType": "YulIf", + "src": "554:88:11" }, { "expression": { "arguments": [ { - "name": "dst", - "nodeType": "YulIdentifier", - "src": "531:3:10" + "kind": "number", + "nodeType": "YulLiteral", + "src": "658:2:11", + "type": "", + "value": "64" }, { - "name": "_1", + "name": "newFreePtr", "nodeType": "YulIdentifier", - "src": "536:2:10" + "src": "662:10:11" } ], "functionName": { "name": "mstore", "nodeType": "YulIdentifier", - "src": "524:6:10" + "src": "651:6:11" }, "nodeType": "YulFunctionCall", - "src": "524:15:10" + "src": "651:22:11" }, "nodeType": "YulExpressionStatement", - "src": "524:15:10" - }, - { - "nodeType": "YulAssignment", - "src": "548:19:10", - "value": { - "arguments": [ - { - "name": "dst", - "nodeType": "YulIdentifier", - "src": "559:3:10" - }, - { - "name": "_2", - "nodeType": "YulIdentifier", - "src": "564:2:10" - } - ], - "functionName": { - "name": "add", - "nodeType": "YulIdentifier", - "src": "555:3:10" - }, - "nodeType": "YulFunctionCall", - "src": "555:12:10" - }, - "variableNames": [ - { - "name": "dst", + "src": "651:22:11" + } + ] + }, + "name": "allocate_memory", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "size", + "nodeType": "YulTypedName", + "src": "429:4:11", + "type": "" + } + ], + "returnVariables": [ + { + "name": "memPtr", + "nodeType": "YulTypedName", + "src": "438:6:11", + "type": "" + } + ], + "src": "404:275:11" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "761:114:11", + "statements": [ + { + "body": { + "nodeType": "YulBlock", + "src": "805:22:11", + "statements": [ + { + "expression": { + "arguments": [], + "functionName": { + "name": "panic_error_0x41", + "nodeType": "YulIdentifier", + "src": "807:16:11" + }, + "nodeType": "YulFunctionCall", + "src": "807:18:11" + }, + "nodeType": "YulExpressionStatement", + "src": "807:18:11" + } + ] + }, + "condition": { + "arguments": [ + { + "name": "length", + "nodeType": "YulIdentifier", + "src": "777:6:11" + }, + { + "arguments": [ + { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "793:2:11", + "type": "", + "value": "64" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "797:1:11", + "type": "", + "value": "1" + } + ], + "functionName": { + "name": "shl", + "nodeType": "YulIdentifier", + "src": "789:3:11" + }, + "nodeType": "YulFunctionCall", + "src": "789:10:11" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "801:1:11", + "type": "", + "value": "1" + } + ], + "functionName": { + "name": "sub", + "nodeType": "YulIdentifier", + "src": "785:3:11" + }, + "nodeType": "YulFunctionCall", + "src": "785:18:11" + } + ], + "functionName": { + "name": "gt", "nodeType": "YulIdentifier", - "src": "548:3:10" - } - ] + "src": "774:2:11" + }, + "nodeType": "YulFunctionCall", + "src": "774:30:11" + }, + "nodeType": "YulIf", + "src": "771:56:11" }, { - "nodeType": "YulVariableDeclaration", - "src": "576:26:10", + "nodeType": "YulAssignment", + "src": "836:33:11", "value": { "arguments": [ { - "name": "offset", - "nodeType": "YulIdentifier", - "src": "591:6:10" + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "852:1:11", + "type": "", + "value": "5" + }, + { + "name": "length", + "nodeType": "YulIdentifier", + "src": "855:6:11" + } + ], + "functionName": { + "name": "shl", + "nodeType": "YulIdentifier", + "src": "848:3:11" + }, + "nodeType": "YulFunctionCall", + "src": "848:14:11" }, { - "name": "_2", - "nodeType": "YulIdentifier", - "src": "599:2:10" + "kind": "number", + "nodeType": "YulLiteral", + "src": "864:4:11", + "type": "", + "value": "0x20" } ], "functionName": { "name": "add", "nodeType": "YulIdentifier", - "src": "587:3:10" + "src": "844:3:11" }, "nodeType": "YulFunctionCall", - "src": "587:15:10" + "src": "844:25:11" }, - "variables": [ + "variableNames": [ { - "name": "src", - "nodeType": "YulTypedName", - "src": "580:3:10", - "type": "" + "name": "size", + "nodeType": "YulIdentifier", + "src": "836:4:11" + } + ] + } + ] + }, + "name": "array_allocation_size_array_struct_FacetCut_dyn", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "length", + "nodeType": "YulTypedName", + "src": "741:6:11", + "type": "" + } + ], + "returnVariables": [ + { + "name": "size", + "nodeType": "YulTypedName", + "src": "752:4:11", + "type": "" + } + ], + "src": "684:191:11" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "940:117:11", + "statements": [ + { + "nodeType": "YulAssignment", + "src": "950:22:11", + "value": { + "arguments": [ + { + "name": "offset", + "nodeType": "YulIdentifier", + "src": "965:6:11" + } + ], + "functionName": { + "name": "mload", + "nodeType": "YulIdentifier", + "src": "959:5:11" + }, + "nodeType": "YulFunctionCall", + "src": "959:13:11" + }, + "variableNames": [ + { + "name": "value", + "nodeType": "YulIdentifier", + "src": "950:5:11" } ] }, { "body": { "nodeType": "YulBlock", - "src": "657:24:10", + "src": "1035:16:11", "statements": [ { "expression": { "arguments": [ { - "name": "array", - "nodeType": "YulIdentifier", - "src": "666:5:10" + "kind": "number", + "nodeType": "YulLiteral", + "src": "1044:1:11", + "type": "", + "value": "0" }, { - "name": "array", - "nodeType": "YulIdentifier", - "src": "673:5:10" + "kind": "number", + "nodeType": "YulLiteral", + "src": "1047:1:11", + "type": "", + "value": "0" } ], "functionName": { "name": "revert", "nodeType": "YulIdentifier", - "src": "659:6:10" + "src": "1037:6:11" }, "nodeType": "YulFunctionCall", - "src": "659:20:10" + "src": "1037:12:11" }, "nodeType": "YulExpressionStatement", - "src": "659:20:10" + "src": "1037:12:11" } ] }, @@ -571,593 +1186,279 @@ "arguments": [ { "arguments": [ + { + "name": "value", + "nodeType": "YulIdentifier", + "src": "994:5:11" + }, { "arguments": [ { - "name": "offset", + "name": "value", "nodeType": "YulIdentifier", - "src": "625:6:10" + "src": "1005:5:11" }, { "arguments": [ { - "name": "_1", - "nodeType": "YulIdentifier", - "src": "637:2:10" + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "1020:3:11", + "type": "", + "value": "160" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "1025:1:11", + "type": "", + "value": "1" + } + ], + "functionName": { + "name": "shl", + "nodeType": "YulIdentifier", + "src": "1016:3:11" + }, + "nodeType": "YulFunctionCall", + "src": "1016:11:11" }, { - "name": "_2", - "nodeType": "YulIdentifier", - "src": "641:2:10" + "kind": "number", + "nodeType": "YulLiteral", + "src": "1029:1:11", + "type": "", + "value": "1" } ], "functionName": { - "name": "mul", + "name": "sub", "nodeType": "YulIdentifier", - "src": "633:3:10" + "src": "1012:3:11" }, "nodeType": "YulFunctionCall", - "src": "633:11:10" + "src": "1012:19:11" } ], "functionName": { - "name": "add", + "name": "and", "nodeType": "YulIdentifier", - "src": "621:3:10" + "src": "1001:3:11" }, "nodeType": "YulFunctionCall", - "src": "621:24:10" - }, - { - "name": "_2", - "nodeType": "YulIdentifier", - "src": "647:2:10" + "src": "1001:31:11" } ], "functionName": { - "name": "add", + "name": "eq", "nodeType": "YulIdentifier", - "src": "617:3:10" + "src": "991:2:11" }, "nodeType": "YulFunctionCall", - "src": "617:33:10" - }, - { - "name": "end", - "nodeType": "YulIdentifier", - "src": "652:3:10" + "src": "991:42:11" } ], "functionName": { - "name": "gt", + "name": "iszero", "nodeType": "YulIdentifier", - "src": "614:2:10" + "src": "984:6:11" }, "nodeType": "YulFunctionCall", - "src": "614:42:10" + "src": "984:50:11" }, "nodeType": "YulIf", - "src": "611:2:10" - }, - { - "nodeType": "YulVariableDeclaration", - "src": "690:14:10", - "value": { - "name": "array", - "nodeType": "YulIdentifier", - "src": "699:5:10" - }, - "variables": [ - { - "name": "i", - "nodeType": "YulTypedName", - "src": "694:1:10", - "type": "" - } - ] - }, + "src": "981:70:11" + } + ] + }, + "name": "abi_decode_address_fromMemory", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "offset", + "nodeType": "YulTypedName", + "src": "919:6:11", + "type": "" + } + ], + "returnVariables": [ + { + "name": "value", + "nodeType": "YulTypedName", + "src": "930:5:11", + "type": "" + } + ], + "src": "880:177:11" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "1141:359:11", + "statements": [ { "body": { "nodeType": "YulBlock", - "src": "758:234:10", + "src": "1185:16:11", "statements": [ - { - "nodeType": "YulVariableDeclaration", - "src": "772:23:10", - "value": { - "arguments": [ - { - "name": "src", - "nodeType": "YulIdentifier", - "src": "791:3:10" - } - ], - "functionName": { - "name": "mload", - "nodeType": "YulIdentifier", - "src": "785:5:10" - }, - "nodeType": "YulFunctionCall", - "src": "785:10:10" - }, - "variables": [ - { - "name": "value", - "nodeType": "YulTypedName", - "src": "776:5:10", - "type": "" - } - ] - }, - { - "body": { - "nodeType": "YulBlock", - "src": "863:24:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "name": "array", - "nodeType": "YulIdentifier", - "src": "872:5:10" - }, - { - "name": "array", - "nodeType": "YulIdentifier", - "src": "879:5:10" - } - ], - "functionName": { - "name": "revert", - "nodeType": "YulIdentifier", - "src": "865:6:10" - }, - "nodeType": "YulFunctionCall", - "src": "865:20:10" - }, - "nodeType": "YulExpressionStatement", - "src": "865:20:10" - } - ] - }, - "condition": { - "arguments": [ - { - "arguments": [ - { - "name": "value", - "nodeType": "YulIdentifier", - "src": "821:5:10" - }, - { - "arguments": [ - { - "name": "value", - "nodeType": "YulIdentifier", - "src": "832:5:10" - }, - { - "arguments": [ - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "843:3:10", - "type": "", - "value": "224" - }, - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "848:10:10", - "type": "", - "value": "0xffffffff" - } - ], - "functionName": { - "name": "shl", - "nodeType": "YulIdentifier", - "src": "839:3:10" - }, - "nodeType": "YulFunctionCall", - "src": "839:20:10" - } - ], - "functionName": { - "name": "and", - "nodeType": "YulIdentifier", - "src": "828:3:10" - }, - "nodeType": "YulFunctionCall", - "src": "828:32:10" - } - ], - "functionName": { - "name": "eq", - "nodeType": "YulIdentifier", - "src": "818:2:10" - }, - "nodeType": "YulFunctionCall", - "src": "818:43:10" - } - ], - "functionName": { - "name": "iszero", - "nodeType": "YulIdentifier", - "src": "811:6:10" - }, - "nodeType": "YulFunctionCall", - "src": "811:51:10" - }, - "nodeType": "YulIf", - "src": "808:2:10" - }, { "expression": { "arguments": [ { - "name": "dst", - "nodeType": "YulIdentifier", - "src": "907:3:10" + "kind": "number", + "nodeType": "YulLiteral", + "src": "1194:1:11", + "type": "", + "value": "0" }, { - "name": "value", - "nodeType": "YulIdentifier", - "src": "912:5:10" + "kind": "number", + "nodeType": "YulLiteral", + "src": "1197:1:11", + "type": "", + "value": "0" } ], "functionName": { - "name": "mstore", + "name": "revert", "nodeType": "YulIdentifier", - "src": "900:6:10" + "src": "1187:6:11" }, "nodeType": "YulFunctionCall", - "src": "900:18:10" + "src": "1187:12:11" }, "nodeType": "YulExpressionStatement", - "src": "900:18:10" - }, + "src": "1187:12:11" + } + ] + }, + "condition": { + "arguments": [ { - "nodeType": "YulAssignment", - "src": "931:19:10", - "value": { - "arguments": [ - { - "name": "dst", - "nodeType": "YulIdentifier", - "src": "942:3:10" - }, - { - "name": "_2", - "nodeType": "YulIdentifier", - "src": "947:2:10" - } - ], - "functionName": { - "name": "add", + "arguments": [ + { + "name": "end", "nodeType": "YulIdentifier", - "src": "938:3:10" + "src": "1162:3:11" }, - "nodeType": "YulFunctionCall", - "src": "938:12:10" - }, - "variableNames": [ { - "name": "dst", + "name": "headStart", "nodeType": "YulIdentifier", - "src": "931:3:10" + "src": "1167:9:11" } - ] + ], + "functionName": { + "name": "sub", + "nodeType": "YulIdentifier", + "src": "1158:3:11" + }, + "nodeType": "YulFunctionCall", + "src": "1158:19:11" }, { - "nodeType": "YulAssignment", - "src": "963:19:10", - "value": { - "arguments": [ - { - "name": "src", - "nodeType": "YulIdentifier", - "src": "974:3:10" - }, - { - "name": "_2", - "nodeType": "YulIdentifier", - "src": "979:2:10" - } - ], - "functionName": { - "name": "add", - "nodeType": "YulIdentifier", - "src": "970:3:10" - }, - "nodeType": "YulFunctionCall", - "src": "970:12:10" - }, - "variableNames": [ - { - "name": "src", - "nodeType": "YulIdentifier", - "src": "963:3:10" - } - ] + "kind": "number", + "nodeType": "YulLiteral", + "src": "1179:4:11", + "type": "", + "value": "0x20" } - ] + ], + "functionName": { + "name": "slt", + "nodeType": "YulIdentifier", + "src": "1154:3:11" + }, + "nodeType": "YulFunctionCall", + "src": "1154:30:11" }, - "condition": { + "nodeType": "YulIf", + "src": "1151:50:11" + }, + { + "nodeType": "YulVariableDeclaration", + "src": "1210:23:11", + "value": { "arguments": [ { - "name": "i", + "kind": "number", + "nodeType": "YulLiteral", + "src": "1230:2:11", + "type": "", + "value": "64" + } + ], + "functionName": { + "name": "mload", + "nodeType": "YulIdentifier", + "src": "1224:5:11" + }, + "nodeType": "YulFunctionCall", + "src": "1224:9:11" + }, + "variables": [ + { + "name": "memPtr", + "nodeType": "YulTypedName", + "src": "1214:6:11", + "type": "" + } + ] + }, + { + "nodeType": "YulVariableDeclaration", + "src": "1242:35:11", + "value": { + "arguments": [ + { + "name": "memPtr", "nodeType": "YulIdentifier", - "src": "724:1:10" + "src": "1264:6:11" }, { - "name": "_1", - "nodeType": "YulIdentifier", - "src": "727:2:10" + "kind": "number", + "nodeType": "YulLiteral", + "src": "1272:4:11", + "type": "", + "value": "0x20" } ], "functionName": { - "name": "lt", + "name": "add", "nodeType": "YulIdentifier", - "src": "721:2:10" + "src": "1260:3:11" }, "nodeType": "YulFunctionCall", - "src": "721:9:10" + "src": "1260:17:11" }, - "nodeType": "YulForLoop", - "post": { + "variables": [ + { + "name": "newFreePtr", + "nodeType": "YulTypedName", + "src": "1246:10:11", + "type": "" + } + ] + }, + { + "body": { "nodeType": "YulBlock", - "src": "731:18:10", + "src": "1352:22:11", "statements": [ { - "nodeType": "YulAssignment", - "src": "733:14:10", - "value": { - "arguments": [ - { - "name": "i", - "nodeType": "YulIdentifier", - "src": "742:1:10" - }, - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "745:1:10", - "type": "", - "value": "1" - } - ], + "expression": { + "arguments": [], "functionName": { - "name": "add", + "name": "panic_error_0x41", "nodeType": "YulIdentifier", - "src": "738:3:10" + "src": "1354:16:11" }, "nodeType": "YulFunctionCall", - "src": "738:9:10" - }, - "variableNames": [ - { - "name": "i", - "nodeType": "YulIdentifier", - "src": "733:1:10" - } - ] - } - ] - }, - "pre": { - "nodeType": "YulBlock", - "src": "717:3:10", - "statements": [] - }, - "src": "713:279:10" - }, - { - "nodeType": "YulAssignment", - "src": "1001:14:10", - "value": { - "name": "dst_1", - "nodeType": "YulIdentifier", - "src": "1010:5:10" - }, - "variableNames": [ - { - "name": "array", - "nodeType": "YulIdentifier", - "src": "1001:5:10" - } - ] - } - ] - }, - "name": "abi_decode_t_array$_t_bytes4_$dyn_fromMemory", - "nodeType": "YulFunctionDefinition", - "parameters": [ - { - "name": "offset", - "nodeType": "YulTypedName", - "src": "252:6:10", - "type": "" - }, - { - "name": "end", - "nodeType": "YulTypedName", - "src": "260:3:10", - "type": "" - } - ], - "returnVariables": [ - { - "name": "array", - "nodeType": "YulTypedName", - "src": "268:5:10", - "type": "" - } - ], - "src": "198:823:10" - }, - { - "body": { - "nodeType": "YulBlock", - "src": "1108:360:10", - "statements": [ - { - "body": { - "nodeType": "YulBlock", - "src": "1152:24:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "name": "value", - "nodeType": "YulIdentifier", - "src": "1161:5:10" - }, - { - "name": "value", - "nodeType": "YulIdentifier", - "src": "1168:5:10" - } - ], - "functionName": { - "name": "revert", - "nodeType": "YulIdentifier", - "src": "1154:6:10" - }, - "nodeType": "YulFunctionCall", - "src": "1154:20:10" - }, - "nodeType": "YulExpressionStatement", - "src": "1154:20:10" - } - ] - }, - "condition": { - "arguments": [ - { - "arguments": [ - { - "name": "end", - "nodeType": "YulIdentifier", - "src": "1129:3:10" - }, - { - "name": "headStart", - "nodeType": "YulIdentifier", - "src": "1134:9:10" - } - ], - "functionName": { - "name": "sub", - "nodeType": "YulIdentifier", - "src": "1125:3:10" - }, - "nodeType": "YulFunctionCall", - "src": "1125:19:10" - }, - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "1146:4:10", - "type": "", - "value": "0x20" - } - ], - "functionName": { - "name": "slt", - "nodeType": "YulIdentifier", - "src": "1121:3:10" - }, - "nodeType": "YulFunctionCall", - "src": "1121:30:10" - }, - "nodeType": "YulIf", - "src": "1118:2:10" - }, - { - "nodeType": "YulVariableDeclaration", - "src": "1185:23:10", - "value": { - "arguments": [ - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "1205:2:10", - "type": "", - "value": "64" - } - ], - "functionName": { - "name": "mload", - "nodeType": "YulIdentifier", - "src": "1199:5:10" - }, - "nodeType": "YulFunctionCall", - "src": "1199:9:10" - }, - "variables": [ - { - "name": "memPtr", - "nodeType": "YulTypedName", - "src": "1189:6:10", - "type": "" - } - ] - }, - { - "nodeType": "YulVariableDeclaration", - "src": "1217:35:10", - "value": { - "arguments": [ - { - "name": "memPtr", - "nodeType": "YulIdentifier", - "src": "1239:6:10" - }, - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "1247:4:10", - "type": "", - "value": "0x20" - } - ], - "functionName": { - "name": "add", - "nodeType": "YulIdentifier", - "src": "1235:3:10" - }, - "nodeType": "YulFunctionCall", - "src": "1235:17:10" - }, - "variables": [ - { - "name": "newFreePtr", - "nodeType": "YulTypedName", - "src": "1221:10:10", - "type": "" - } - ] - }, - { - "body": { - "nodeType": "YulBlock", - "src": "1327:13:10", - "statements": [ - { - "expression": { - "arguments": [], - "functionName": { - "name": "invalid", - "nodeType": "YulIdentifier", - "src": "1329:7:10" - }, - "nodeType": "YulFunctionCall", - "src": "1329:9:10" + "src": "1354:18:11" }, "nodeType": "YulExpressionStatement", - "src": "1329:9:10" + "src": "1354:18:11" } ] }, @@ -1168,7 +1469,7 @@ { "name": "newFreePtr", "nodeType": "YulIdentifier", - "src": "1270:10:10" + "src": "1295:10:11" }, { "arguments": [ @@ -1177,14 +1478,14 @@ { "kind": "number", "nodeType": "YulLiteral", - "src": "1290:2:10", + "src": "1315:2:11", "type": "", "value": "64" }, { "kind": "number", "nodeType": "YulLiteral", - "src": "1294:1:10", + "src": "1319:1:11", "type": "", "value": "1" } @@ -1192,15 +1493,15 @@ "functionName": { "name": "shl", "nodeType": "YulIdentifier", - "src": "1286:3:10" + "src": "1311:3:11" }, "nodeType": "YulFunctionCall", - "src": "1286:10:10" + "src": "1311:10:11" }, { "kind": "number", "nodeType": "YulLiteral", - "src": "1298:1:10", + "src": "1323:1:11", "type": "", "value": "1" } @@ -1208,52 +1509,52 @@ "functionName": { "name": "sub", "nodeType": "YulIdentifier", - "src": "1282:3:10" + "src": "1307:3:11" }, "nodeType": "YulFunctionCall", - "src": "1282:18:10" + "src": "1307:18:11" } ], "functionName": { "name": "gt", "nodeType": "YulIdentifier", - "src": "1267:2:10" + "src": "1292:2:11" }, "nodeType": "YulFunctionCall", - "src": "1267:34:10" + "src": "1292:34:11" }, { "arguments": [ { "name": "newFreePtr", "nodeType": "YulIdentifier", - "src": "1306:10:10" + "src": "1331:10:11" }, { "name": "memPtr", "nodeType": "YulIdentifier", - "src": "1318:6:10" + "src": "1343:6:11" } ], "functionName": { "name": "lt", "nodeType": "YulIdentifier", - "src": "1303:2:10" + "src": "1328:2:11" }, "nodeType": "YulFunctionCall", - "src": "1303:22:10" + "src": "1328:22:11" } ], "functionName": { "name": "or", "nodeType": "YulIdentifier", - "src": "1264:2:10" + "src": "1289:2:11" }, "nodeType": "YulFunctionCall", - "src": "1264:62:10" + "src": "1289:62:11" }, "nodeType": "YulIf", - "src": "1261:2:10" + "src": "1286:88:11" }, { "expression": { @@ -1261,40 +1562,40 @@ { "kind": "number", "nodeType": "YulLiteral", - "src": "1356:2:10", + "src": "1390:2:11", "type": "", "value": "64" }, { "name": "newFreePtr", "nodeType": "YulIdentifier", - "src": "1360:10:10" + "src": "1394:10:11" } ], "functionName": { "name": "mstore", "nodeType": "YulIdentifier", - "src": "1349:6:10" + "src": "1383:6:11" }, "nodeType": "YulFunctionCall", - "src": "1349:22:10" + "src": "1383:22:11" }, "nodeType": "YulExpressionStatement", - "src": "1349:22:10" + "src": "1383:22:11" }, { "nodeType": "YulAssignment", - "src": "1380:15:10", + "src": "1414:15:11", "value": { "name": "memPtr", "nodeType": "YulIdentifier", - "src": "1389:6:10" + "src": "1423:6:11" }, "variableNames": [ { "name": "value", "nodeType": "YulIdentifier", - "src": "1380:5:10" + "src": "1414:5:11" } ] }, @@ -1304,51 +1605,51 @@ { "name": "memPtr", "nodeType": "YulIdentifier", - "src": "1411:6:10" + "src": "1445:6:11" }, { "arguments": [ { "name": "headStart", "nodeType": "YulIdentifier", - "src": "1451:9:10" + "src": "1483:9:11" } ], "functionName": { - "name": "abi_decode_t_address_fromMemory", + "name": "abi_decode_address_fromMemory", "nodeType": "YulIdentifier", - "src": "1419:31:10" + "src": "1453:29:11" }, "nodeType": "YulFunctionCall", - "src": "1419:42:10" + "src": "1453:40:11" } ], "functionName": { "name": "mstore", "nodeType": "YulIdentifier", - "src": "1404:6:10" + "src": "1438:6:11" }, "nodeType": "YulFunctionCall", - "src": "1404:58:10" + "src": "1438:56:11" }, "nodeType": "YulExpressionStatement", - "src": "1404:58:10" + "src": "1438:56:11" } ] }, - "name": "abi_decode_t_struct$_DiamondArgs_fromMemory", + "name": "abi_decode_struct_DiamondArgs_fromMemory", "nodeType": "YulFunctionDefinition", "parameters": [ { "name": "headStart", "nodeType": "YulTypedName", - "src": "1079:9:10", + "src": "1112:9:11", "type": "" }, { "name": "end", "nodeType": "YulTypedName", - "src": "1090:3:10", + "src": "1123:3:11", "type": "" } ], @@ -1356,46 +1657,50 @@ { "name": "value", "nodeType": "YulTypedName", - "src": "1098:5:10", + "src": "1131:5:11", "type": "" } ], - "src": "1026:442:10" + "src": "1062:438:11" }, { "body": { "nodeType": "YulBlock", - "src": "1649:1636:10", + "src": "1681:2300:11", "statements": [ { "body": { "nodeType": "YulBlock", - "src": "1695:26:10", + "src": "1727:16:11", "statements": [ { "expression": { "arguments": [ { - "name": "value0", - "nodeType": "YulIdentifier", - "src": "1704:6:10" + "kind": "number", + "nodeType": "YulLiteral", + "src": "1736:1:11", + "type": "", + "value": "0" }, { - "name": "value0", - "nodeType": "YulIdentifier", - "src": "1712:6:10" + "kind": "number", + "nodeType": "YulLiteral", + "src": "1739:1:11", + "type": "", + "value": "0" } ], "functionName": { "name": "revert", "nodeType": "YulIdentifier", - "src": "1697:6:10" + "src": "1729:6:11" }, "nodeType": "YulFunctionCall", - "src": "1697:22:10" + "src": "1729:12:11" }, "nodeType": "YulExpressionStatement", - "src": "1697:22:10" + "src": "1729:12:11" } ] }, @@ -1406,26 +1711,26 @@ { "name": "dataEnd", "nodeType": "YulIdentifier", - "src": "1670:7:10" + "src": "1702:7:11" }, { "name": "headStart", "nodeType": "YulIdentifier", - "src": "1679:9:10" + "src": "1711:9:11" } ], "functionName": { "name": "sub", "nodeType": "YulIdentifier", - "src": "1666:3:10" + "src": "1698:3:11" }, "nodeType": "YulFunctionCall", - "src": "1666:23:10" + "src": "1698:23:11" }, { "kind": "number", "nodeType": "YulLiteral", - "src": "1691:2:10", + "src": "1723:2:11", "type": "", "value": "64" } @@ -1433,45 +1738,45 @@ "functionName": { "name": "slt", "nodeType": "YulIdentifier", - "src": "1662:3:10" + "src": "1694:3:11" }, "nodeType": "YulFunctionCall", - "src": "1662:32:10" + "src": "1694:32:11" }, "nodeType": "YulIf", - "src": "1659:2:10" + "src": "1691:52:11" }, { "nodeType": "YulVariableDeclaration", - "src": "1730:30:10", + "src": "1752:30:11", "value": { "arguments": [ { "name": "headStart", "nodeType": "YulIdentifier", - "src": "1750:9:10" + "src": "1772:9:11" } ], "functionName": { "name": "mload", "nodeType": "YulIdentifier", - "src": "1744:5:10" + "src": "1766:5:11" }, "nodeType": "YulFunctionCall", - "src": "1744:16:10" + "src": "1766:16:11" }, "variables": [ { "name": "offset", "nodeType": "YulTypedName", - "src": "1734:6:10", + "src": "1756:6:11", "type": "" } ] }, { "nodeType": "YulVariableDeclaration", - "src": "1769:28:10", + "src": "1791:28:11", "value": { "arguments": [ { @@ -1479,14 +1784,14 @@ { "kind": "number", "nodeType": "YulLiteral", - "src": "1787:2:10", + "src": "1809:2:11", "type": "", "value": "64" }, { "kind": "number", "nodeType": "YulLiteral", - "src": "1791:1:10", + "src": "1813:1:11", "type": "", "value": "1" } @@ -1494,15 +1799,15 @@ "functionName": { "name": "shl", "nodeType": "YulIdentifier", - "src": "1783:3:10" + "src": "1805:3:11" }, "nodeType": "YulFunctionCall", - "src": "1783:10:10" + "src": "1805:10:11" }, { "kind": "number", "nodeType": "YulLiteral", - "src": "1795:1:10", + "src": "1817:1:11", "type": "", "value": "1" } @@ -1510,16 +1815,16 @@ "functionName": { "name": "sub", "nodeType": "YulIdentifier", - "src": "1779:3:10" + "src": "1801:3:11" }, "nodeType": "YulFunctionCall", - "src": "1779:18:10" + "src": "1801:18:11" }, "variables": [ { "name": "_1", "nodeType": "YulTypedName", - "src": "1773:2:10", + "src": "1795:2:11", "type": "" } ] @@ -1527,32 +1832,36 @@ { "body": { "nodeType": "YulBlock", - "src": "1824:26:10", + "src": "1846:16:11", "statements": [ { "expression": { "arguments": [ { - "name": "value0", - "nodeType": "YulIdentifier", - "src": "1833:6:10" + "kind": "number", + "nodeType": "YulLiteral", + "src": "1855:1:11", + "type": "", + "value": "0" }, { - "name": "value0", - "nodeType": "YulIdentifier", - "src": "1841:6:10" + "kind": "number", + "nodeType": "YulLiteral", + "src": "1858:1:11", + "type": "", + "value": "0" } ], "functionName": { "name": "revert", "nodeType": "YulIdentifier", - "src": "1826:6:10" + "src": "1848:6:11" }, "nodeType": "YulFunctionCall", - "src": "1826:22:10" + "src": "1848:12:11" }, "nodeType": "YulExpressionStatement", - "src": "1826:22:10" + "src": "1848:12:11" } ] }, @@ -1561,54 +1870,54 @@ { "name": "offset", "nodeType": "YulIdentifier", - "src": "1812:6:10" + "src": "1834:6:11" }, { "name": "_1", "nodeType": "YulIdentifier", - "src": "1820:2:10" + "src": "1842:2:11" } ], "functionName": { "name": "gt", "nodeType": "YulIdentifier", - "src": "1809:2:10" + "src": "1831:2:11" }, "nodeType": "YulFunctionCall", - "src": "1809:14:10" + "src": "1831:14:11" }, "nodeType": "YulIf", - "src": "1806:2:10" + "src": "1828:34:11" }, { "nodeType": "YulVariableDeclaration", - "src": "1859:32:10", + "src": "1871:32:11", "value": { "arguments": [ { "name": "headStart", "nodeType": "YulIdentifier", - "src": "1873:9:10" + "src": "1885:9:11" }, { "name": "offset", "nodeType": "YulIdentifier", - "src": "1884:6:10" + "src": "1896:6:11" } ], "functionName": { "name": "add", "nodeType": "YulIdentifier", - "src": "1869:3:10" + "src": "1881:3:11" }, "nodeType": "YulFunctionCall", - "src": "1869:22:10" + "src": "1881:22:11" }, "variables": [ { "name": "_2", "nodeType": "YulTypedName", - "src": "1863:2:10", + "src": "1875:2:11", "type": "" } ] @@ -1616,32 +1925,36 @@ { "body": { "nodeType": "YulBlock", - "src": "1939:26:10", + "src": "1951:16:11", "statements": [ { "expression": { "arguments": [ { - "name": "value0", - "nodeType": "YulIdentifier", - "src": "1948:6:10" + "kind": "number", + "nodeType": "YulLiteral", + "src": "1960:1:11", + "type": "", + "value": "0" }, { - "name": "value0", - "nodeType": "YulIdentifier", - "src": "1956:6:10" + "kind": "number", + "nodeType": "YulLiteral", + "src": "1963:1:11", + "type": "", + "value": "0" } ], "functionName": { "name": "revert", "nodeType": "YulIdentifier", - "src": "1941:6:10" + "src": "1953:6:11" }, "nodeType": "YulFunctionCall", - "src": "1941:22:10" + "src": "1953:12:11" }, "nodeType": "YulExpressionStatement", - "src": "1941:22:10" + "src": "1953:12:11" } ] }, @@ -1654,12 +1967,12 @@ { "name": "_2", "nodeType": "YulIdentifier", - "src": "1918:2:10" + "src": "1930:2:11" }, { "kind": "number", "nodeType": "YulLiteral", - "src": "1922:4:10", + "src": "1934:4:11", "type": "", "value": "0x1f" } @@ -1667,72 +1980,72 @@ "functionName": { "name": "add", "nodeType": "YulIdentifier", - "src": "1914:3:10" + "src": "1926:3:11" }, "nodeType": "YulFunctionCall", - "src": "1914:13:10" + "src": "1926:13:11" }, { "name": "dataEnd", "nodeType": "YulIdentifier", - "src": "1929:7:10" + "src": "1941:7:11" } ], "functionName": { "name": "slt", "nodeType": "YulIdentifier", - "src": "1910:3:10" + "src": "1922:3:11" }, "nodeType": "YulFunctionCall", - "src": "1910:27:10" + "src": "1922:27:11" } ], "functionName": { "name": "iszero", "nodeType": "YulIdentifier", - "src": "1903:6:10" + "src": "1915:6:11" }, "nodeType": "YulFunctionCall", - "src": "1903:35:10" + "src": "1915:35:11" }, "nodeType": "YulIf", - "src": "1900:2:10" + "src": "1912:55:11" }, { "nodeType": "YulVariableDeclaration", - "src": "1974:19:10", + "src": "1976:19:11", "value": { "arguments": [ { "name": "_2", "nodeType": "YulIdentifier", - "src": "1990:2:10" + "src": "1992:2:11" } ], "functionName": { "name": "mload", "nodeType": "YulIdentifier", - "src": "1984:5:10" + "src": "1986:5:11" }, "nodeType": "YulFunctionCall", - "src": "1984:9:10" + "src": "1986:9:11" }, "variables": [ { "name": "_3", "nodeType": "YulTypedName", - "src": "1978:2:10", + "src": "1980:2:11", "type": "" } ] }, { "nodeType": "YulVariableDeclaration", - "src": "2002:14:10", + "src": "2004:14:11", "value": { "kind": "number", "nodeType": "YulLiteral", - "src": "2012:4:10", + "src": "2014:4:11", "type": "", "value": "0x20" }, @@ -1740,14 +2053,14 @@ { "name": "_4", "nodeType": "YulTypedName", - "src": "2006:2:10", + "src": "2008:2:11", "type": "" } ] }, { "nodeType": "YulVariableDeclaration", - "src": "2025:75:10", + "src": "2027:79:11", "value": { "arguments": [ { @@ -1755,48 +2068,48 @@ { "name": "_3", "nodeType": "YulIdentifier", - "src": "2096:2:10" + "src": "2102:2:11" } ], "functionName": { - "name": "array_allocation_size_t_array$_t_bytes4_$dyn", + "name": "array_allocation_size_array_struct_FacetCut_dyn", "nodeType": "YulIdentifier", - "src": "2051:44:10" + "src": "2054:47:11" }, "nodeType": "YulFunctionCall", - "src": "2051:48:10" + "src": "2054:51:11" } ], "functionName": { - "name": "allocateMemory", + "name": "allocate_memory", "nodeType": "YulIdentifier", - "src": "2036:14:10" + "src": "2038:15:11" }, "nodeType": "YulFunctionCall", - "src": "2036:64:10" + "src": "2038:68:11" }, "variables": [ { "name": "dst", "nodeType": "YulTypedName", - "src": "2029:3:10", + "src": "2031:3:11", "type": "" } ] }, { "nodeType": "YulVariableDeclaration", - "src": "2109:16:10", + "src": "2115:16:11", "value": { "name": "dst", "nodeType": "YulIdentifier", - "src": "2122:3:10" + "src": "2128:3:11" }, "variables": [ { "name": "dst_1", "nodeType": "YulTypedName", - "src": "2113:5:10", + "src": "2119:5:11", "type": "" } ] @@ -1807,103 +2120,120 @@ { "name": "dst", "nodeType": "YulIdentifier", - "src": "2141:3:10" + "src": "2147:3:11" }, { "name": "_3", "nodeType": "YulIdentifier", - "src": "2146:2:10" + "src": "2152:2:11" } ], "functionName": { "name": "mstore", "nodeType": "YulIdentifier", - "src": "2134:6:10" + "src": "2140:6:11" }, "nodeType": "YulFunctionCall", - "src": "2134:15:10" + "src": "2140:15:11" }, "nodeType": "YulExpressionStatement", - "src": "2134:15:10" + "src": "2140:15:11" }, { "nodeType": "YulAssignment", - "src": "2158:19:10", + "src": "2164:19:11", "value": { "arguments": [ { "name": "dst", "nodeType": "YulIdentifier", - "src": "2169:3:10" + "src": "2175:3:11" }, { "name": "_4", "nodeType": "YulIdentifier", - "src": "2174:2:10" + "src": "2180:2:11" } ], "functionName": { "name": "add", "nodeType": "YulIdentifier", - "src": "2165:3:10" + "src": "2171:3:11" }, "nodeType": "YulFunctionCall", - "src": "2165:12:10" + "src": "2171:12:11" }, "variableNames": [ { "name": "dst", "nodeType": "YulIdentifier", - "src": "2158:3:10" + "src": "2164:3:11" } ] }, { "nodeType": "YulVariableDeclaration", - "src": "2186:22:10", + "src": "2192:42:11", "value": { "arguments": [ { - "name": "_2", - "nodeType": "YulIdentifier", - "src": "2201:2:10" + "arguments": [ + { + "name": "_2", + "nodeType": "YulIdentifier", + "src": "2214:2:11" + }, + { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "2222:1:11", + "type": "", + "value": "5" + }, + { + "name": "_3", + "nodeType": "YulIdentifier", + "src": "2225:2:11" + } + ], + "functionName": { + "name": "shl", + "nodeType": "YulIdentifier", + "src": "2218:3:11" + }, + "nodeType": "YulFunctionCall", + "src": "2218:10:11" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "2210:3:11" + }, + "nodeType": "YulFunctionCall", + "src": "2210:19:11" }, { "name": "_4", "nodeType": "YulIdentifier", - "src": "2205:2:10" + "src": "2231:2:11" } ], "functionName": { "name": "add", "nodeType": "YulIdentifier", - "src": "2197:3:10" + "src": "2206:3:11" }, "nodeType": "YulFunctionCall", - "src": "2197:11:10" - }, - "variables": [ - { - "name": "src", - "nodeType": "YulTypedName", - "src": "2190:3:10", - "type": "" - } - ] - }, - { - "nodeType": "YulVariableDeclaration", - "src": "2217:15:10", - "value": { - "name": "value0", - "nodeType": "YulIdentifier", - "src": "2226:6:10" + "src": "2206:28:11" }, "variables": [ { - "name": "i", + "name": "srcEnd", "nodeType": "YulTypedName", - "src": "2221:1:10", + "src": "2196:6:11", "type": "" } ] @@ -1911,48 +2241,218 @@ { "body": { "nodeType": "YulBlock", - "src": "2286:878:10", + "src": "2266:16:11", "statements": [ { - "nodeType": "YulVariableDeclaration", - "src": "2300:29:10", - "value": { + "expression": { "arguments": [ { - "name": "_2", - "nodeType": "YulIdentifier", - "src": "2314:2:10" + "kind": "number", + "nodeType": "YulLiteral", + "src": "2275:1:11", + "type": "", + "value": "0" }, { - "arguments": [ - { - "name": "src", + "kind": "number", + "nodeType": "YulLiteral", + "src": "2278:1:11", + "type": "", + "value": "0" + } + ], + "functionName": { + "name": "revert", + "nodeType": "YulIdentifier", + "src": "2268:6:11" + }, + "nodeType": "YulFunctionCall", + "src": "2268:12:11" + }, + "nodeType": "YulExpressionStatement", + "src": "2268:12:11" + } + ] + }, + "condition": { + "arguments": [ + { + "name": "srcEnd", + "nodeType": "YulIdentifier", + "src": "2249:6:11" + }, + { + "name": "dataEnd", + "nodeType": "YulIdentifier", + "src": "2257:7:11" + } + ], + "functionName": { + "name": "gt", + "nodeType": "YulIdentifier", + "src": "2246:2:11" + }, + "nodeType": "YulFunctionCall", + "src": "2246:19:11" + }, + "nodeType": "YulIf", + "src": "2243:39:11" + }, + { + "nodeType": "YulVariableDeclaration", + "src": "2291:22:11", + "value": { + "arguments": [ + { + "name": "_2", + "nodeType": "YulIdentifier", + "src": "2306:2:11" + }, + { + "name": "_4", + "nodeType": "YulIdentifier", + "src": "2310:2:11" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "2302:3:11" + }, + "nodeType": "YulFunctionCall", + "src": "2302:11:11" + }, + "variables": [ + { + "name": "src", + "nodeType": "YulTypedName", + "src": "2295:3:11", + "type": "" + } + ] + }, + { + "body": { + "nodeType": "YulBlock", + "src": "2378:1485:11", + "statements": [ + { + "nodeType": "YulVariableDeclaration", + "src": "2392:29:11", + "value": { + "arguments": [ + { + "name": "src", + "nodeType": "YulIdentifier", + "src": "2417:3:11" + } + ], + "functionName": { + "name": "mload", + "nodeType": "YulIdentifier", + "src": "2411:5:11" + }, + "nodeType": "YulFunctionCall", + "src": "2411:10:11" + }, + "variables": [ + { + "name": "innerOffset", + "nodeType": "YulTypedName", + "src": "2396:11:11", + "type": "" + } + ] + }, + { + "body": { + "nodeType": "YulBlock", + "src": "2457:16:11", + "statements": [ + { + "expression": { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "2466:1:11", + "type": "", + "value": "0" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "2469:1:11", + "type": "", + "value": "0" + } + ], + "functionName": { + "name": "revert", "nodeType": "YulIdentifier", - "src": "2324:3:10" - } - ], - "functionName": { - "name": "mload", - "nodeType": "YulIdentifier", - "src": "2318:5:10" + "src": "2459:6:11" + }, + "nodeType": "YulFunctionCall", + "src": "2459:12:11" }, - "nodeType": "YulFunctionCall", - "src": "2318:10:10" + "nodeType": "YulExpressionStatement", + "src": "2459:12:11" + } + ] + }, + "condition": { + "arguments": [ + { + "name": "innerOffset", + "nodeType": "YulIdentifier", + "src": "2440:11:11" + }, + { + "name": "_1", + "nodeType": "YulIdentifier", + "src": "2453:2:11" + } + ], + "functionName": { + "name": "gt", + "nodeType": "YulIdentifier", + "src": "2437:2:11" + }, + "nodeType": "YulFunctionCall", + "src": "2437:19:11" + }, + "nodeType": "YulIf", + "src": "2434:39:11" + }, + { + "nodeType": "YulVariableDeclaration", + "src": "2486:30:11", + "value": { + "arguments": [ + { + "name": "_2", + "nodeType": "YulIdentifier", + "src": "2500:2:11" + }, + { + "name": "innerOffset", + "nodeType": "YulIdentifier", + "src": "2504:11:11" } ], "functionName": { "name": "add", "nodeType": "YulIdentifier", - "src": "2310:3:10" + "src": "2496:3:11" }, "nodeType": "YulFunctionCall", - "src": "2310:19:10" + "src": "2496:20:11" }, "variables": [ { "name": "_5", "nodeType": "YulTypedName", - "src": "2304:2:10", + "src": "2490:2:11", "type": "" } ] @@ -1960,32 +2460,36 @@ { "body": { "nodeType": "YulBlock", - "src": "2387:26:10", + "src": "2574:16:11", "statements": [ { "expression": { "arguments": [ { - "name": "value0", - "nodeType": "YulIdentifier", - "src": "2396:6:10" + "kind": "number", + "nodeType": "YulLiteral", + "src": "2583:1:11", + "type": "", + "value": "0" }, { - "name": "value0", - "nodeType": "YulIdentifier", - "src": "2404:6:10" + "kind": "number", + "nodeType": "YulLiteral", + "src": "2586:1:11", + "type": "", + "value": "0" } ], "functionName": { "name": "revert", "nodeType": "YulIdentifier", - "src": "2389:6:10" + "src": "2576:6:11" }, "nodeType": "YulFunctionCall", - "src": "2389:22:10" + "src": "2576:12:11" }, "nodeType": "YulExpressionStatement", - "src": "2389:22:10" + "src": "2576:12:11" } ] }, @@ -1998,28 +2502,28 @@ { "name": "dataEnd", "nodeType": "YulIdentifier", - "src": "2357:7:10" + "src": "2544:7:11" }, { "name": "_5", "nodeType": "YulIdentifier", - "src": "2366:2:10" + "src": "2553:2:11" } ], "functionName": { "name": "sub", "nodeType": "YulIdentifier", - "src": "2353:3:10" + "src": "2540:3:11" }, "nodeType": "YulFunctionCall", - "src": "2353:16:10" + "src": "2540:16:11" }, { "arguments": [ { "kind": "number", "nodeType": "YulLiteral", - "src": "2375:2:10", + "src": "2562:2:11", "type": "", "value": "31" } @@ -2027,24 +2531,24 @@ "functionName": { "name": "not", "nodeType": "YulIdentifier", - "src": "2371:3:10" + "src": "2558:3:11" }, "nodeType": "YulFunctionCall", - "src": "2371:7:10" + "src": "2558:7:11" } ], "functionName": { "name": "add", "nodeType": "YulIdentifier", - "src": "2349:3:10" + "src": "2536:3:11" }, "nodeType": "YulFunctionCall", - "src": "2349:30:10" + "src": "2536:30:11" }, { "kind": "number", "nodeType": "YulLiteral", - "src": "2381:4:10", + "src": "2568:4:11", "type": "", "value": "0x60" } @@ -2052,75 +2556,130 @@ "functionName": { "name": "slt", "nodeType": "YulIdentifier", - "src": "2345:3:10" + "src": "2532:3:11" }, "nodeType": "YulFunctionCall", - "src": "2345:41:10" + "src": "2532:41:11" }, "nodeType": "YulIf", - "src": "2342:2:10" + "src": "2529:61:11" }, { "nodeType": "YulVariableDeclaration", - "src": "2426:23:10", + "src": "2603:35:11", "value": { - "arguments": [ - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "2446:2:10", - "type": "", - "value": "64" - } - ], + "arguments": [], "functionName": { - "name": "mload", + "name": "allocate_memory_2973", "nodeType": "YulIdentifier", - "src": "2440:5:10" + "src": "2616:20:11" }, "nodeType": "YulFunctionCall", - "src": "2440:9:10" + "src": "2616:22:11" }, "variables": [ { - "name": "memPtr", + "name": "value", "nodeType": "YulTypedName", - "src": "2430:6:10", + "src": "2607:5:11", "type": "" } ] }, { - "nodeType": "YulVariableDeclaration", - "src": "2462:35:10", - "value": { + "expression": { "arguments": [ { - "name": "memPtr", + "name": "value", "nodeType": "YulIdentifier", - "src": "2484:6:10" + "src": "2658:5:11" }, { - "kind": "number", - "nodeType": "YulLiteral", - "src": "2492:4:10", - "type": "", - "value": "0x60" + "arguments": [ + { + "arguments": [ + { + "name": "_5", + "nodeType": "YulIdentifier", + "src": "2699:2:11" + }, + { + "name": "_4", + "nodeType": "YulIdentifier", + "src": "2703:2:11" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "2695:3:11" + }, + "nodeType": "YulFunctionCall", + "src": "2695:11:11" + } + ], + "functionName": { + "name": "abi_decode_address_fromMemory", + "nodeType": "YulIdentifier", + "src": "2665:29:11" + }, + "nodeType": "YulFunctionCall", + "src": "2665:42:11" } ], "functionName": { - "name": "add", + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "2651:6:11" + }, + "nodeType": "YulFunctionCall", + "src": "2651:57:11" + }, + "nodeType": "YulExpressionStatement", + "src": "2651:57:11" + }, + { + "nodeType": "YulVariableDeclaration", + "src": "2721:33:11", + "value": { + "arguments": [ + { + "arguments": [ + { + "name": "_5", + "nodeType": "YulIdentifier", + "src": "2746:2:11" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "2750:2:11", + "type": "", + "value": "64" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "2742:3:11" + }, + "nodeType": "YulFunctionCall", + "src": "2742:11:11" + } + ], + "functionName": { + "name": "mload", "nodeType": "YulIdentifier", - "src": "2480:3:10" + "src": "2736:5:11" }, "nodeType": "YulFunctionCall", - "src": "2480:17:10" + "src": "2736:18:11" }, "variables": [ { - "name": "newFreePtr", + "name": "value_1", "nodeType": "YulTypedName", - "src": "2466:10:10", + "src": "2725:7:11", "type": "" } ] @@ -2128,21 +2687,36 @@ { "body": { "nodeType": "YulBlock", - "src": "2560:13:10", + "src": "2793:16:11", "statements": [ { "expression": { - "arguments": [], + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "2802:1:11", + "type": "", + "value": "0" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "2805:1:11", + "type": "", + "value": "0" + } + ], "functionName": { - "name": "invalid", + "name": "revert", "nodeType": "YulIdentifier", - "src": "2562:7:10" + "src": "2795:6:11" }, "nodeType": "YulFunctionCall", - "src": "2562:9:10" + "src": "2795:12:11" }, "nodeType": "YulExpressionStatement", - "src": "2562:9:10" + "src": "2795:12:11" } ] }, @@ -2151,139 +2725,82 @@ { "arguments": [ { - "name": "newFreePtr", + "name": "value_1", "nodeType": "YulIdentifier", - "src": "2519:10:10" + "src": "2780:7:11" }, { - "name": "_1", - "nodeType": "YulIdentifier", - "src": "2531:2:10" - } - ], - "functionName": { - "name": "gt", - "nodeType": "YulIdentifier", - "src": "2516:2:10" - }, - "nodeType": "YulFunctionCall", - "src": "2516:18:10" - }, - { - "arguments": [ - { - "name": "newFreePtr", - "nodeType": "YulIdentifier", - "src": "2539:10:10" - }, - { - "name": "memPtr", - "nodeType": "YulIdentifier", - "src": "2551:6:10" + "kind": "number", + "nodeType": "YulLiteral", + "src": "2789:1:11", + "type": "", + "value": "3" } ], "functionName": { "name": "lt", "nodeType": "YulIdentifier", - "src": "2536:2:10" + "src": "2777:2:11" }, "nodeType": "YulFunctionCall", - "src": "2536:22:10" + "src": "2777:14:11" } ], "functionName": { - "name": "or", + "name": "iszero", "nodeType": "YulIdentifier", - "src": "2513:2:10" + "src": "2770:6:11" }, "nodeType": "YulFunctionCall", - "src": "2513:46:10" + "src": "2770:22:11" }, "nodeType": "YulIf", - "src": "2510:2:10" - }, - { - "expression": { - "arguments": [ - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "2593:2:10", - "type": "", - "value": "64" - }, - { - "name": "newFreePtr", - "nodeType": "YulIdentifier", - "src": "2597:10:10" - } - ], - "functionName": { - "name": "mstore", - "nodeType": "YulIdentifier", - "src": "2586:6:10" - }, - "nodeType": "YulFunctionCall", - "src": "2586:22:10" - }, - "nodeType": "YulExpressionStatement", - "src": "2586:22:10" + "src": "2767:42:11" }, { "expression": { "arguments": [ - { - "name": "memPtr", - "nodeType": "YulIdentifier", - "src": "2628:6:10" - }, { "arguments": [ { - "arguments": [ - { - "name": "_5", - "nodeType": "YulIdentifier", - "src": "2672:2:10" - }, - { - "name": "_4", - "nodeType": "YulIdentifier", - "src": "2676:2:10" - } - ], - "functionName": { - "name": "add", - "nodeType": "YulIdentifier", - "src": "2668:3:10" - }, - "nodeType": "YulFunctionCall", - "src": "2668:11:10" + "name": "value", + "nodeType": "YulIdentifier", + "src": "2833:5:11" + }, + { + "name": "_4", + "nodeType": "YulIdentifier", + "src": "2840:2:11" } ], "functionName": { - "name": "abi_decode_t_address_fromMemory", + "name": "add", "nodeType": "YulIdentifier", - "src": "2636:31:10" + "src": "2829:3:11" }, "nodeType": "YulFunctionCall", - "src": "2636:44:10" + "src": "2829:14:11" + }, + { + "name": "value_1", + "nodeType": "YulIdentifier", + "src": "2845:7:11" } ], "functionName": { "name": "mstore", "nodeType": "YulIdentifier", - "src": "2621:6:10" + "src": "2822:6:11" }, "nodeType": "YulFunctionCall", - "src": "2621:60:10" + "src": "2822:31:11" }, "nodeType": "YulExpressionStatement", - "src": "2621:60:10" + "src": "2822:31:11" }, { "nodeType": "YulVariableDeclaration", - "src": "2694:31:10", + "src": "2866:36:11", "value": { "arguments": [ { @@ -2291,38 +2808,38 @@ { "name": "_5", "nodeType": "YulIdentifier", - "src": "2717:2:10" + "src": "2892:2:11" }, { "kind": "number", "nodeType": "YulLiteral", - "src": "2721:2:10", + "src": "2896:4:11", "type": "", - "value": "64" + "value": "0x60" } ], "functionName": { "name": "add", "nodeType": "YulIdentifier", - "src": "2713:3:10" + "src": "2888:3:11" }, "nodeType": "YulFunctionCall", - "src": "2713:11:10" + "src": "2888:13:11" } ], "functionName": { "name": "mload", "nodeType": "YulIdentifier", - "src": "2707:5:10" + "src": "2882:5:11" }, "nodeType": "YulFunctionCall", - "src": "2707:18:10" + "src": "2882:20:11" }, "variables": [ { - "name": "value", + "name": "offset_1", "nodeType": "YulTypedName", - "src": "2698:5:10", + "src": "2870:8:11", "type": "" } ] @@ -2330,155 +2847,92 @@ { "body": { "nodeType": "YulBlock", - "src": "2762:26:10", + "src": "2935:16:11", "statements": [ { "expression": { "arguments": [ { - "name": "value0", - "nodeType": "YulIdentifier", - "src": "2771:6:10" + "kind": "number", + "nodeType": "YulLiteral", + "src": "2944:1:11", + "type": "", + "value": "0" }, { - "name": "value0", - "nodeType": "YulIdentifier", - "src": "2779:6:10" + "kind": "number", + "nodeType": "YulLiteral", + "src": "2947:1:11", + "type": "", + "value": "0" } ], "functionName": { "name": "revert", "nodeType": "YulIdentifier", - "src": "2764:6:10" + "src": "2937:6:11" }, "nodeType": "YulFunctionCall", - "src": "2764:22:10" + "src": "2937:12:11" }, "nodeType": "YulExpressionStatement", - "src": "2764:22:10" + "src": "2937:12:11" } ] }, "condition": { "arguments": [ { - "arguments": [ - { - "name": "value", - "nodeType": "YulIdentifier", - "src": "2751:5:10" - }, - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "2758:1:10", - "type": "", - "value": "3" - } - ], - "functionName": { - "name": "lt", - "nodeType": "YulIdentifier", - "src": "2748:2:10" - }, - "nodeType": "YulFunctionCall", - "src": "2748:12:10" - } - ], - "functionName": { - "name": "iszero", - "nodeType": "YulIdentifier", - "src": "2741:6:10" - }, - "nodeType": "YulFunctionCall", - "src": "2741:20:10" - }, - "nodeType": "YulIf", - "src": "2738:2:10" - }, - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "name": "memPtr", - "nodeType": "YulIdentifier", - "src": "2812:6:10" - }, - { - "name": "_4", - "nodeType": "YulIdentifier", - "src": "2820:2:10" - } - ], - "functionName": { - "name": "add", - "nodeType": "YulIdentifier", - "src": "2808:3:10" - }, - "nodeType": "YulFunctionCall", - "src": "2808:15:10" + "name": "offset_1", + "nodeType": "YulIdentifier", + "src": "2921:8:11" }, { - "name": "value", + "name": "_1", "nodeType": "YulIdentifier", - "src": "2825:5:10" + "src": "2931:2:11" } ], "functionName": { - "name": "mstore", + "name": "gt", "nodeType": "YulIdentifier", - "src": "2801:6:10" + "src": "2918:2:11" }, "nodeType": "YulFunctionCall", - "src": "2801:30:10" + "src": "2918:16:11" }, - "nodeType": "YulExpressionStatement", - "src": "2801:30:10" + "nodeType": "YulIf", + "src": "2915:36:11" }, { "nodeType": "YulVariableDeclaration", - "src": "2844:36:10", + "src": "2964:27:11", "value": { "arguments": [ { - "arguments": [ - { - "name": "_5", - "nodeType": "YulIdentifier", - "src": "2870:2:10" - }, - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "2874:4:10", - "type": "", - "value": "0x60" - } - ], - "functionName": { - "name": "add", - "nodeType": "YulIdentifier", - "src": "2866:3:10" - }, - "nodeType": "YulFunctionCall", - "src": "2866:13:10" + "name": "_5", + "nodeType": "YulIdentifier", + "src": "2978:2:11" + }, + { + "name": "offset_1", + "nodeType": "YulIdentifier", + "src": "2982:8:11" } ], "functionName": { - "name": "mload", + "name": "add", "nodeType": "YulIdentifier", - "src": "2860:5:10" + "src": "2974:3:11" }, "nodeType": "YulFunctionCall", - "src": "2860:20:10" + "src": "2974:17:11" }, "variables": [ { - "name": "offset_1", + "name": "_6", "nodeType": "YulTypedName", - "src": "2848:8:10", + "src": "2968:2:11", "type": "" } ] @@ -2486,2267 +2940,4379 @@ { "body": { "nodeType": "YulBlock", - "src": "2913:26:10", + "src": "3041:16:11", "statements": [ { "expression": { "arguments": [ { - "name": "value0", - "nodeType": "YulIdentifier", - "src": "2922:6:10" + "kind": "number", + "nodeType": "YulLiteral", + "src": "3050:1:11", + "type": "", + "value": "0" }, { - "name": "value0", - "nodeType": "YulIdentifier", - "src": "2930:6:10" + "kind": "number", + "nodeType": "YulLiteral", + "src": "3053:1:11", + "type": "", + "value": "0" } ], "functionName": { "name": "revert", "nodeType": "YulIdentifier", - "src": "2915:6:10" + "src": "3043:6:11" }, "nodeType": "YulFunctionCall", - "src": "2915:22:10" + "src": "3043:12:11" }, "nodeType": "YulExpressionStatement", - "src": "2915:22:10" + "src": "3043:12:11" } ] }, "condition": { "arguments": [ - { - "name": "offset_1", - "nodeType": "YulIdentifier", - "src": "2899:8:10" - }, - { - "name": "_1", - "nodeType": "YulIdentifier", - "src": "2909:2:10" - } - ], - "functionName": { - "name": "gt", - "nodeType": "YulIdentifier", - "src": "2896:2:10" - }, - "nodeType": "YulFunctionCall", - "src": "2896:16:10" - }, - "nodeType": "YulIf", - "src": "2893:2:10" - }, - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "name": "memPtr", - "nodeType": "YulIdentifier", - "src": "2963:6:10" - }, - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "2971:2:10", - "type": "", - "value": "64" - } - ], - "functionName": { - "name": "add", - "nodeType": "YulIdentifier", - "src": "2959:3:10" - }, - "nodeType": "YulFunctionCall", - "src": "2959:15:10" - }, { "arguments": [ { "arguments": [ { - "arguments": [ - { - "name": "_5", - "nodeType": "YulIdentifier", - "src": "3029:2:10" - }, - { - "name": "offset_1", - "nodeType": "YulIdentifier", - "src": "3033:8:10" - } - ], - "functionName": { - "name": "add", - "nodeType": "YulIdentifier", - "src": "3025:3:10" - }, - "nodeType": "YulFunctionCall", - "src": "3025:17:10" + "name": "_6", + "nodeType": "YulIdentifier", + "src": "3022:2:11" }, { - "name": "_4", - "nodeType": "YulIdentifier", - "src": "3044:2:10" + "kind": "number", + "nodeType": "YulLiteral", + "src": "3026:2:11", + "type": "", + "value": "63" } ], "functionName": { "name": "add", "nodeType": "YulIdentifier", - "src": "3021:3:10" + "src": "3018:3:11" }, "nodeType": "YulFunctionCall", - "src": "3021:26:10" + "src": "3018:11:11" }, { "name": "dataEnd", "nodeType": "YulIdentifier", - "src": "3049:7:10" + "src": "3031:7:11" } ], "functionName": { - "name": "abi_decode_t_array$_t_bytes4_$dyn_fromMemory", + "name": "slt", "nodeType": "YulIdentifier", - "src": "2976:44:10" + "src": "3014:3:11" }, "nodeType": "YulFunctionCall", - "src": "2976:81:10" + "src": "3014:25:11" } ], "functionName": { - "name": "mstore", + "name": "iszero", "nodeType": "YulIdentifier", - "src": "2952:6:10" + "src": "3007:6:11" }, "nodeType": "YulFunctionCall", - "src": "2952:106:10" + "src": "3007:33:11" }, - "nodeType": "YulExpressionStatement", - "src": "2952:106:10" + "nodeType": "YulIf", + "src": "3004:53:11" }, { - "expression": { + "nodeType": "YulVariableDeclaration", + "src": "3070:28:11", + "value": { "arguments": [ { - "name": "dst", - "nodeType": "YulIdentifier", - "src": "3078:3:10" - }, - { - "name": "memPtr", - "nodeType": "YulIdentifier", - "src": "3083:6:10" + "arguments": [ + { + "name": "_6", + "nodeType": "YulIdentifier", + "src": "3090:2:11" + }, + { + "name": "_4", + "nodeType": "YulIdentifier", + "src": "3094:2:11" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "3086:3:11" + }, + "nodeType": "YulFunctionCall", + "src": "3086:11:11" } ], "functionName": { - "name": "mstore", + "name": "mload", "nodeType": "YulIdentifier", - "src": "3071:6:10" + "src": "3080:5:11" }, "nodeType": "YulFunctionCall", - "src": "3071:19:10" + "src": "3080:18:11" }, - "nodeType": "YulExpressionStatement", - "src": "3071:19:10" + "variables": [ + { + "name": "_7", + "nodeType": "YulTypedName", + "src": "3074:2:11", + "type": "" + } + ] }, { - "nodeType": "YulAssignment", - "src": "3103:19:10", + "nodeType": "YulVariableDeclaration", + "src": "3111:81:11", "value": { "arguments": [ { - "name": "dst", + "arguments": [ + { + "name": "_7", + "nodeType": "YulIdentifier", + "src": "3188:2:11" + } + ], + "functionName": { + "name": "array_allocation_size_array_struct_FacetCut_dyn", + "nodeType": "YulIdentifier", + "src": "3140:47:11" + }, + "nodeType": "YulFunctionCall", + "src": "3140:51:11" + } + ], + "functionName": { + "name": "allocate_memory", + "nodeType": "YulIdentifier", + "src": "3124:15:11" + }, + "nodeType": "YulFunctionCall", + "src": "3124:68:11" + }, + "variables": [ + { + "name": "dst_2", + "nodeType": "YulTypedName", + "src": "3115:5:11", + "type": "" + } + ] + }, + { + "nodeType": "YulVariableDeclaration", + "src": "3205:18:11", + "value": { + "name": "dst_2", + "nodeType": "YulIdentifier", + "src": "3218:5:11" + }, + "variables": [ + { + "name": "dst_3", + "nodeType": "YulTypedName", + "src": "3209:5:11", + "type": "" + } + ] + }, + { + "expression": { + "arguments": [ + { + "name": "dst_2", "nodeType": "YulIdentifier", - "src": "3114:3:10" + "src": "3243:5:11" }, { - "name": "_4", + "name": "_7", "nodeType": "YulIdentifier", - "src": "3119:2:10" + "src": "3250:2:11" } ], "functionName": { - "name": "add", + "name": "mstore", "nodeType": "YulIdentifier", - "src": "3110:3:10" + "src": "3236:6:11" }, "nodeType": "YulFunctionCall", - "src": "3110:12:10" + "src": "3236:17:11" }, - "variableNames": [ - { - "name": "dst", - "nodeType": "YulIdentifier", - "src": "3103:3:10" - } - ] + "nodeType": "YulExpressionStatement", + "src": "3236:17:11" }, { "nodeType": "YulAssignment", - "src": "3135:19:10", + "src": "3266:23:11", "value": { "arguments": [ { - "name": "src", + "name": "dst_2", "nodeType": "YulIdentifier", - "src": "3146:3:10" + "src": "3279:5:11" }, { "name": "_4", "nodeType": "YulIdentifier", - "src": "3151:2:10" + "src": "3286:2:11" } ], "functionName": { "name": "add", "nodeType": "YulIdentifier", - "src": "3142:3:10" + "src": "3275:3:11" }, "nodeType": "YulFunctionCall", - "src": "3142:12:10" + "src": "3275:14:11" }, "variableNames": [ { - "name": "src", + "name": "dst_2", "nodeType": "YulIdentifier", - "src": "3135:3:10" + "src": "3266:5:11" } ] - } - ] - }, - "condition": { - "arguments": [ - { - "name": "i", - "nodeType": "YulIdentifier", - "src": "2252:1:10" }, { - "name": "_3", - "nodeType": "YulIdentifier", - "src": "2255:2:10" - } - ], - "functionName": { - "name": "lt", - "nodeType": "YulIdentifier", - "src": "2249:2:10" - }, - "nodeType": "YulFunctionCall", - "src": "2249:9:10" - }, - "nodeType": "YulForLoop", - "post": { - "nodeType": "YulBlock", - "src": "2259:18:10", - "statements": [ - { - "nodeType": "YulAssignment", - "src": "2261:14:10", + "nodeType": "YulVariableDeclaration", + "src": "3302:44:11", "value": { "arguments": [ { - "name": "i", - "nodeType": "YulIdentifier", - "src": "2270:1:10" + "arguments": [ + { + "name": "_6", + "nodeType": "YulIdentifier", + "src": "3326:2:11" + }, + { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "3334:1:11", + "type": "", + "value": "5" + }, + { + "name": "_7", + "nodeType": "YulIdentifier", + "src": "3337:2:11" + } + ], + "functionName": { + "name": "shl", + "nodeType": "YulIdentifier", + "src": "3330:3:11" + }, + "nodeType": "YulFunctionCall", + "src": "3330:10:11" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "3322:3:11" + }, + "nodeType": "YulFunctionCall", + "src": "3322:19:11" }, { "kind": "number", "nodeType": "YulLiteral", - "src": "2273:1:10", + "src": "3343:2:11", "type": "", - "value": "1" + "value": "64" } ], "functionName": { "name": "add", "nodeType": "YulIdentifier", - "src": "2266:3:10" + "src": "3318:3:11" }, "nodeType": "YulFunctionCall", - "src": "2266:9:10" + "src": "3318:28:11" }, - "variableNames": [ + "variables": [ { - "name": "i", - "nodeType": "YulIdentifier", - "src": "2261:1:10" + "name": "srcEnd_1", + "nodeType": "YulTypedName", + "src": "3306:8:11", + "type": "" } ] - } - ] - }, - "pre": { - "nodeType": "YulBlock", - "src": "2245:3:10", - "statements": [] - }, - "src": "2241:923:10" - }, - { - "nodeType": "YulAssignment", - "src": "3173:15:10", - "value": { - "name": "dst_1", - "nodeType": "YulIdentifier", - "src": "3183:5:10" - }, - "variableNames": [ - { - "name": "value0", - "nodeType": "YulIdentifier", - "src": "3173:6:10" - } - ] - }, - { - "nodeType": "YulAssignment", - "src": "3197:82:10", - "value": { - "arguments": [ - { - "arguments": [ - { - "name": "headStart", - "nodeType": "YulIdentifier", - "src": "3255:9:10" - }, - { - "name": "_4", - "nodeType": "YulIdentifier", - "src": "3266:2:10" - } - ], - "functionName": { - "name": "add", - "nodeType": "YulIdentifier", - "src": "3251:3:10" - }, - "nodeType": "YulFunctionCall", - "src": "3251:18:10" - }, - { - "name": "dataEnd", - "nodeType": "YulIdentifier", - "src": "3271:7:10" - } - ], - "functionName": { - "name": "abi_decode_t_struct$_DiamondArgs_fromMemory", - "nodeType": "YulIdentifier", - "src": "3207:43:10" - }, - "nodeType": "YulFunctionCall", - "src": "3207:72:10" - }, - "variableNames": [ - { - "name": "value1", - "nodeType": "YulIdentifier", - "src": "3197:6:10" - } - ] - } - ] - }, - "name": "abi_decode_tuple_t_array$_t_struct$_FacetCut_$679_memory_ptr_$dyn_memory_ptrt_struct$_DiamondArgs_$294_memory_ptr_fromMemory", - "nodeType": "YulFunctionDefinition", - "parameters": [ - { - "name": "headStart", - "nodeType": "YulTypedName", - "src": "1607:9:10", - "type": "" - }, - { - "name": "dataEnd", - "nodeType": "YulTypedName", - "src": "1618:7:10", - "type": "" - } - ], - "returnVariables": [ - { - "name": "value0", - "nodeType": "YulTypedName", - "src": "1630:6:10", - "type": "" - }, - { - "name": "value1", - "nodeType": "YulTypedName", - "src": "1638:6:10", - "type": "" - } - ], - "src": "1473:1812:10" - }, - { - "body": { - "nodeType": "YulBlock", - "src": "3336:60:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "name": "pos", - "nodeType": "YulIdentifier", - "src": "3353:3:10" }, { - "arguments": [ - { - "name": "value", - "nodeType": "YulIdentifier", - "src": "3362:5:10" - }, - { - "arguments": [ - { + "body": { + "nodeType": "YulBlock", + "src": "3384:16:11", + "statements": [ + { + "expression": { "arguments": [ { "kind": "number", "nodeType": "YulLiteral", - "src": "3377:3:10", + "src": "3393:1:11", "type": "", - "value": "160" + "value": "0" }, { "kind": "number", "nodeType": "YulLiteral", - "src": "3382:1:10", + "src": "3396:1:11", "type": "", - "value": "1" + "value": "0" } ], "functionName": { - "name": "shl", + "name": "revert", "nodeType": "YulIdentifier", - "src": "3373:3:10" + "src": "3386:6:11" }, "nodeType": "YulFunctionCall", - "src": "3373:11:10" + "src": "3386:12:11" }, - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "3386:1:10", - "type": "", - "value": "1" - } - ], - "functionName": { - "name": "sub", + "nodeType": "YulExpressionStatement", + "src": "3386:12:11" + } + ] + }, + "condition": { + "arguments": [ + { + "name": "srcEnd_1", "nodeType": "YulIdentifier", - "src": "3369:3:10" + "src": "3365:8:11" }, - "nodeType": "YulFunctionCall", - "src": "3369:19:10" - } - ], - "functionName": { - "name": "and", - "nodeType": "YulIdentifier", - "src": "3358:3:10" - }, - "nodeType": "YulFunctionCall", - "src": "3358:31:10" - } - ], - "functionName": { - "name": "mstore", - "nodeType": "YulIdentifier", - "src": "3346:6:10" - }, - "nodeType": "YulFunctionCall", - "src": "3346:44:10" - }, - "nodeType": "YulExpressionStatement", - "src": "3346:44:10" - } - ] - }, - "name": "abi_encode_t_address", - "nodeType": "YulFunctionDefinition", - "parameters": [ - { - "name": "value", - "nodeType": "YulTypedName", - "src": "3320:5:10", - "type": "" - }, - { - "name": "pos", - "nodeType": "YulTypedName", - "src": "3327:3:10", - "type": "" - } - ], - "src": "3290:106:10" - }, - { - "body": { - "nodeType": "YulBlock", - "src": "3452:208:10", - "statements": [ - { - "nodeType": "YulVariableDeclaration", - "src": "3462:26:10", - "value": { - "arguments": [ - { - "name": "value", - "nodeType": "YulIdentifier", - "src": "3482:5:10" - } - ], - "functionName": { - "name": "mload", - "nodeType": "YulIdentifier", - "src": "3476:5:10" - }, - "nodeType": "YulFunctionCall", - "src": "3476:12:10" - }, - "variables": [ - { - "name": "length", - "nodeType": "YulTypedName", - "src": "3466:6:10", - "type": "" - } - ] - }, - { - "expression": { - "arguments": [ - { - "name": "pos", - "nodeType": "YulIdentifier", - "src": "3504:3:10" - }, - { - "name": "length", - "nodeType": "YulIdentifier", - "src": "3509:6:10" - } - ], - "functionName": { - "name": "mstore", - "nodeType": "YulIdentifier", - "src": "3497:6:10" - }, - "nodeType": "YulFunctionCall", - "src": "3497:19:10" - }, - "nodeType": "YulExpressionStatement", - "src": "3497:19:10" - }, - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "name": "value", + { + "name": "dataEnd", + "nodeType": "YulIdentifier", + "src": "3375:7:11" + } + ], + "functionName": { + "name": "gt", "nodeType": "YulIdentifier", - "src": "3551:5:10" + "src": "3362:2:11" }, - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "3558:4:10", - "type": "", - "value": "0x20" - } - ], - "functionName": { - "name": "add", - "nodeType": "YulIdentifier", - "src": "3547:3:10" + "nodeType": "YulFunctionCall", + "src": "3362:21:11" }, - "nodeType": "YulFunctionCall", - "src": "3547:16:10" + "nodeType": "YulIf", + "src": "3359:41:11" }, { - "arguments": [ - { - "name": "pos", + "nodeType": "YulVariableDeclaration", + "src": "3413:24:11", + "value": { + "arguments": [ + { + "name": "_6", + "nodeType": "YulIdentifier", + "src": "3430:2:11" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "3434:2:11", + "type": "", + "value": "64" + } + ], + "functionName": { + "name": "add", "nodeType": "YulIdentifier", - "src": "3569:3:10" + "src": "3426:3:11" }, + "nodeType": "YulFunctionCall", + "src": "3426:11:11" + }, + "variables": [ { - "kind": "number", - "nodeType": "YulLiteral", - "src": "3574:4:10", - "type": "", - "value": "0x20" + "name": "src_1", + "nodeType": "YulTypedName", + "src": "3417:5:11", + "type": "" } - ], - "functionName": { - "name": "add", - "nodeType": "YulIdentifier", - "src": "3565:3:10" - }, - "nodeType": "YulFunctionCall", - "src": "3565:14:10" + ] }, { - "name": "length", - "nodeType": "YulIdentifier", - "src": "3581:6:10" - } - ], - "functionName": { - "name": "copy_memory_to_memory", - "nodeType": "YulIdentifier", - "src": "3525:21:10" - }, - "nodeType": "YulFunctionCall", - "src": "3525:63:10" - }, - "nodeType": "YulExpressionStatement", - "src": "3525:63:10" - }, - { - "nodeType": "YulAssignment", - "src": "3597:57:10", - "value": { - "arguments": [ - { - "arguments": [ - { - "name": "pos", - "nodeType": "YulIdentifier", - "src": "3612:3:10" - }, - { - "arguments": [ - { + "body": { + "nodeType": "YulBlock", + "src": "3518:230:11", + "statements": [ + { + "nodeType": "YulVariableDeclaration", + "src": "3536:27:11", + "value": { "arguments": [ { - "name": "length", + "name": "src_1", "nodeType": "YulIdentifier", - "src": "3625:6:10" - }, + "src": "3557:5:11" + } + ], + "functionName": { + "name": "mload", + "nodeType": "YulIdentifier", + "src": "3551:5:11" + }, + "nodeType": "YulFunctionCall", + "src": "3551:12:11" + }, + "variables": [ + { + "name": "value_2", + "nodeType": "YulTypedName", + "src": "3540:7:11", + "type": "" + } + ] + }, + { + "body": { + "nodeType": "YulBlock", + "src": "3639:16:11", + "statements": [ { - "kind": "number", - "nodeType": "YulLiteral", - "src": "3633:2:10", - "type": "", - "value": "31" + "expression": { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "3648:1:11", + "type": "", + "value": "0" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "3651:1:11", + "type": "", + "value": "0" + } + ], + "functionName": { + "name": "revert", + "nodeType": "YulIdentifier", + "src": "3641:6:11" + }, + "nodeType": "YulFunctionCall", + "src": "3641:12:11" + }, + "nodeType": "YulExpressionStatement", + "src": "3641:12:11" + } + ] + }, + "condition": { + "arguments": [ + { + "arguments": [ + { + "name": "value_2", + "nodeType": "YulIdentifier", + "src": "3593:7:11" + }, + { + "arguments": [ + { + "name": "value_2", + "nodeType": "YulIdentifier", + "src": "3606:7:11" + }, + { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "3619:3:11", + "type": "", + "value": "224" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "3624:10:11", + "type": "", + "value": "0xffffffff" + } + ], + "functionName": { + "name": "shl", + "nodeType": "YulIdentifier", + "src": "3615:3:11" + }, + "nodeType": "YulFunctionCall", + "src": "3615:20:11" + } + ], + "functionName": { + "name": "and", + "nodeType": "YulIdentifier", + "src": "3602:3:11" + }, + "nodeType": "YulFunctionCall", + "src": "3602:34:11" + } + ], + "functionName": { + "name": "eq", + "nodeType": "YulIdentifier", + "src": "3590:2:11" + }, + "nodeType": "YulFunctionCall", + "src": "3590:47:11" } ], "functionName": { - "name": "add", + "name": "iszero", "nodeType": "YulIdentifier", - "src": "3621:3:10" + "src": "3583:6:11" }, "nodeType": "YulFunctionCall", - "src": "3621:15:10" + "src": "3583:55:11" }, - { + "nodeType": "YulIf", + "src": "3580:75:11" + }, + { + "expression": { "arguments": [ { - "kind": "number", - "nodeType": "YulLiteral", - "src": "3642:2:10", - "type": "", - "value": "31" + "name": "dst_2", + "nodeType": "YulIdentifier", + "src": "3679:5:11" + }, + { + "name": "value_2", + "nodeType": "YulIdentifier", + "src": "3686:7:11" } ], "functionName": { - "name": "not", + "name": "mstore", "nodeType": "YulIdentifier", - "src": "3638:3:10" + "src": "3672:6:11" }, "nodeType": "YulFunctionCall", - "src": "3638:7:10" - } - ], - "functionName": { - "name": "and", - "nodeType": "YulIdentifier", - "src": "3617:3:10" + "src": "3672:22:11" + }, + "nodeType": "YulExpressionStatement", + "src": "3672:22:11" }, - "nodeType": "YulFunctionCall", - "src": "3617:29:10" - } - ], - "functionName": { - "name": "add", - "nodeType": "YulIdentifier", - "src": "3608:3:10" - }, - "nodeType": "YulFunctionCall", - "src": "3608:39:10" - }, - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "3649:4:10", - "type": "", - "value": "0x20" + { + "nodeType": "YulAssignment", + "src": "3711:23:11", + "value": { + "arguments": [ + { + "name": "dst_2", + "nodeType": "YulIdentifier", + "src": "3724:5:11" + }, + { + "name": "_4", + "nodeType": "YulIdentifier", + "src": "3731:2:11" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "3720:3:11" + }, + "nodeType": "YulFunctionCall", + "src": "3720:14:11" + }, + "variableNames": [ + { + "name": "dst_2", + "nodeType": "YulIdentifier", + "src": "3711:5:11" + } + ] + } + ] + }, + "condition": { + "arguments": [ + { + "name": "src_1", + "nodeType": "YulIdentifier", + "src": "3461:5:11" + }, + { + "name": "srcEnd_1", + "nodeType": "YulIdentifier", + "src": "3468:8:11" + } + ], + "functionName": { + "name": "lt", + "nodeType": "YulIdentifier", + "src": "3458:2:11" + }, + "nodeType": "YulFunctionCall", + "src": "3458:19:11" + }, + "nodeType": "YulForLoop", + "post": { + "nodeType": "YulBlock", + "src": "3478:27:11", + "statements": [ + { + "nodeType": "YulAssignment", + "src": "3480:23:11", + "value": { + "arguments": [ + { + "name": "src_1", + "nodeType": "YulIdentifier", + "src": "3493:5:11" + }, + { + "name": "_4", + "nodeType": "YulIdentifier", + "src": "3500:2:11" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "3489:3:11" + }, + "nodeType": "YulFunctionCall", + "src": "3489:14:11" + }, + "variableNames": [ + { + "name": "src_1", + "nodeType": "YulIdentifier", + "src": "3480:5:11" + } + ] + } + ] + }, + "pre": { + "nodeType": "YulBlock", + "src": "3454:3:11", + "statements": [] + }, + "src": "3450:298:11" + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "value", + "nodeType": "YulIdentifier", + "src": "3772:5:11" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "3779:2:11", + "type": "", + "value": "64" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "3768:3:11" + }, + "nodeType": "YulFunctionCall", + "src": "3768:14:11" + }, + { + "name": "dst_3", + "nodeType": "YulIdentifier", + "src": "3784:5:11" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "3761:6:11" + }, + "nodeType": "YulFunctionCall", + "src": "3761:29:11" + }, + "nodeType": "YulExpressionStatement", + "src": "3761:29:11" + }, + { + "expression": { + "arguments": [ + { + "name": "dst", + "nodeType": "YulIdentifier", + "src": "3810:3:11" + }, + { + "name": "value", + "nodeType": "YulIdentifier", + "src": "3815:5:11" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "3803:6:11" + }, + "nodeType": "YulFunctionCall", + "src": "3803:18:11" + }, + "nodeType": "YulExpressionStatement", + "src": "3803:18:11" + }, + { + "nodeType": "YulAssignment", + "src": "3834:19:11", + "value": { + "arguments": [ + { + "name": "dst", + "nodeType": "YulIdentifier", + "src": "3845:3:11" + }, + { + "name": "_4", + "nodeType": "YulIdentifier", + "src": "3850:2:11" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "3841:3:11" + }, + "nodeType": "YulFunctionCall", + "src": "3841:12:11" + }, + "variableNames": [ + { + "name": "dst", + "nodeType": "YulIdentifier", + "src": "3834:3:11" + } + ] + } + ] + }, + "condition": { + "arguments": [ + { + "name": "src", + "nodeType": "YulIdentifier", + "src": "2333:3:11" + }, + { + "name": "srcEnd", + "nodeType": "YulIdentifier", + "src": "2338:6:11" } ], "functionName": { - "name": "add", + "name": "lt", + "nodeType": "YulIdentifier", + "src": "2330:2:11" + }, + "nodeType": "YulFunctionCall", + "src": "2330:15:11" + }, + "nodeType": "YulForLoop", + "post": { + "nodeType": "YulBlock", + "src": "2346:23:11", + "statements": [ + { + "nodeType": "YulAssignment", + "src": "2348:19:11", + "value": { + "arguments": [ + { + "name": "src", + "nodeType": "YulIdentifier", + "src": "2359:3:11" + }, + { + "name": "_4", + "nodeType": "YulIdentifier", + "src": "2364:2:11" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "2355:3:11" + }, + "nodeType": "YulFunctionCall", + "src": "2355:12:11" + }, + "variableNames": [ + { + "name": "src", + "nodeType": "YulIdentifier", + "src": "2348:3:11" + } + ] + } + ] + }, + "pre": { + "nodeType": "YulBlock", + "src": "2326:3:11", + "statements": [] + }, + "src": "2322:1541:11" + }, + { + "nodeType": "YulAssignment", + "src": "3872:15:11", + "value": { + "name": "dst_1", + "nodeType": "YulIdentifier", + "src": "3882:5:11" + }, + "variableNames": [ + { + "name": "value0", + "nodeType": "YulIdentifier", + "src": "3872:6:11" + } + ] + }, + { + "nodeType": "YulAssignment", + "src": "3896:79:11", + "value": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "3951:9:11" + }, + { + "name": "_4", + "nodeType": "YulIdentifier", + "src": "3962:2:11" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "3947:3:11" + }, + "nodeType": "YulFunctionCall", + "src": "3947:18:11" + }, + { + "name": "dataEnd", + "nodeType": "YulIdentifier", + "src": "3967:7:11" + } + ], + "functionName": { + "name": "abi_decode_struct_DiamondArgs_fromMemory", "nodeType": "YulIdentifier", - "src": "3604:3:10" + "src": "3906:40:11" }, "nodeType": "YulFunctionCall", - "src": "3604:50:10" + "src": "3906:69:11" }, "variableNames": [ { - "name": "end", + "name": "value1", "nodeType": "YulIdentifier", - "src": "3597:3:10" + "src": "3896:6:11" } ] } ] }, - "name": "abi_encode_t_bytes", + "name": "abi_decode_tuple_t_array$_t_struct$_FacetCut_$711_memory_ptr_$dyn_memory_ptrt_struct$_DiamondArgs_$310_memory_ptr_fromMemory", "nodeType": "YulFunctionDefinition", "parameters": [ { - "name": "value", + "name": "headStart", "nodeType": "YulTypedName", - "src": "3429:5:10", + "src": "1639:9:11", "type": "" }, { - "name": "pos", + "name": "dataEnd", "nodeType": "YulTypedName", - "src": "3436:3:10", + "src": "1650:7:11", "type": "" } ], "returnVariables": [ { - "name": "end", + "name": "value0", "nodeType": "YulTypedName", - "src": "3444:3:10", + "src": "1662:6:11", "type": "" - } + }, + { + "name": "value1", + "nodeType": "YulTypedName", + "src": "1670:6:11", + "type": "" + } ], - "src": "3401:259:10" + "src": "1505:2476:11" }, { "body": { "nodeType": "YulBlock", - "src": "3802:137:10", + "src": "4018:95:11", "statements": [ - { - "nodeType": "YulVariableDeclaration", - "src": "3812:27:10", - "value": { - "arguments": [ - { - "name": "value0", - "nodeType": "YulIdentifier", - "src": "3832:6:10" - } - ], - "functionName": { - "name": "mload", - "nodeType": "YulIdentifier", - "src": "3826:5:10" - }, - "nodeType": "YulFunctionCall", - "src": "3826:13:10" - }, - "variables": [ - { - "name": "length", - "nodeType": "YulTypedName", - "src": "3816:6:10", - "type": "" - } - ] - }, { "expression": { "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "4035:1:11", + "type": "", + "value": "0" + }, { "arguments": [ { - "name": "value0", - "nodeType": "YulIdentifier", - "src": "3874:6:10" + "kind": "number", + "nodeType": "YulLiteral", + "src": "4042:3:11", + "type": "", + "value": "224" }, { "kind": "number", "nodeType": "YulLiteral", - "src": "3882:4:10", + "src": "4047:10:11", "type": "", - "value": "0x20" + "value": "0x4e487b71" } ], "functionName": { - "name": "add", + "name": "shl", "nodeType": "YulIdentifier", - "src": "3870:3:10" + "src": "4038:3:11" }, "nodeType": "YulFunctionCall", - "src": "3870:17:10" - }, + "src": "4038:20:11" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "4028:6:11" + }, + "nodeType": "YulFunctionCall", + "src": "4028:31:11" + }, + "nodeType": "YulExpressionStatement", + "src": "4028:31:11" + }, + { + "expression": { + "arguments": [ { - "name": "pos", - "nodeType": "YulIdentifier", - "src": "3889:3:10" + "kind": "number", + "nodeType": "YulLiteral", + "src": "4075:1:11", + "type": "", + "value": "4" }, { - "name": "length", - "nodeType": "YulIdentifier", - "src": "3894:6:10" + "kind": "number", + "nodeType": "YulLiteral", + "src": "4078:4:11", + "type": "", + "value": "0x32" } ], "functionName": { - "name": "copy_memory_to_memory", + "name": "mstore", "nodeType": "YulIdentifier", - "src": "3848:21:10" + "src": "4068:6:11" }, "nodeType": "YulFunctionCall", - "src": "3848:53:10" + "src": "4068:15:11" }, "nodeType": "YulExpressionStatement", - "src": "3848:53:10" + "src": "4068:15:11" }, { - "nodeType": "YulAssignment", - "src": "3910:23:10", - "value": { + "expression": { "arguments": [ { - "name": "pos", - "nodeType": "YulIdentifier", - "src": "3921:3:10" + "kind": "number", + "nodeType": "YulLiteral", + "src": "4099:1:11", + "type": "", + "value": "0" }, { - "name": "length", - "nodeType": "YulIdentifier", - "src": "3926:6:10" + "kind": "number", + "nodeType": "YulLiteral", + "src": "4102:4:11", + "type": "", + "value": "0x24" } ], "functionName": { - "name": "add", + "name": "revert", "nodeType": "YulIdentifier", - "src": "3917:3:10" + "src": "4092:6:11" }, "nodeType": "YulFunctionCall", - "src": "3917:16:10" + "src": "4092:15:11" }, - "variableNames": [ - { - "name": "end", - "nodeType": "YulIdentifier", - "src": "3910:3:10" - } - ] + "nodeType": "YulExpressionStatement", + "src": "4092:15:11" } ] }, - "name": "abi_encode_tuple_packed_t_bytes_memory_ptr__to_t_bytes_memory_ptr__nonPadded_inplace_fromStack_reversed", + "name": "panic_error_0x32", "nodeType": "YulFunctionDefinition", - "parameters": [ - { - "name": "pos", - "nodeType": "YulTypedName", - "src": "3778:3:10", - "type": "" - }, - { - "name": "value0", - "nodeType": "YulTypedName", - "src": "3783:6:10", - "type": "" - } - ], - "returnVariables": [ - { - "name": "end", - "nodeType": "YulTypedName", - "src": "3794:3:10", - "type": "" - } - ], - "src": "3665:274:10" + "src": "3986:127:11" }, { "body": { "nodeType": "YulBlock", - "src": "4219:1698:10", + "src": "4150:95:11", "statements": [ { - "nodeType": "YulVariableDeclaration", - "src": "4229:12:10", - "value": { - "kind": "number", - "nodeType": "YulLiteral", - "src": "4239:2:10", - "type": "", - "value": "96" - }, - "variables": [ - { - "name": "_1", - "nodeType": "YulTypedName", - "src": "4233:2:10", - "type": "" - } - ] - }, - { - "nodeType": "YulVariableDeclaration", - "src": "4250:32:10", - "value": { + "expression": { "arguments": [ { - "name": "headStart", - "nodeType": "YulIdentifier", - "src": "4268:9:10" + "kind": "number", + "nodeType": "YulLiteral", + "src": "4167:1:11", + "type": "", + "value": "0" }, { - "name": "_1", - "nodeType": "YulIdentifier", - "src": "4279:2:10" + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "4174:3:11", + "type": "", + "value": "224" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "4179:10:11", + "type": "", + "value": "0x4e487b71" + } + ], + "functionName": { + "name": "shl", + "nodeType": "YulIdentifier", + "src": "4170:3:11" + }, + "nodeType": "YulFunctionCall", + "src": "4170:20:11" } ], "functionName": { - "name": "add", + "name": "mstore", "nodeType": "YulIdentifier", - "src": "4264:3:10" + "src": "4160:6:11" }, "nodeType": "YulFunctionCall", - "src": "4264:18:10" + "src": "4160:31:11" }, - "variables": [ - { - "name": "tail_1", - "nodeType": "YulTypedName", - "src": "4254:6:10", - "type": "" - } - ] + "nodeType": "YulExpressionStatement", + "src": "4160:31:11" }, { "expression": { "arguments": [ { - "name": "headStart", - "nodeType": "YulIdentifier", - "src": "4298:9:10" + "kind": "number", + "nodeType": "YulLiteral", + "src": "4207:1:11", + "type": "", + "value": "4" }, { - "name": "_1", - "nodeType": "YulIdentifier", - "src": "4309:2:10" + "kind": "number", + "nodeType": "YulLiteral", + "src": "4210:4:11", + "type": "", + "value": "0x21" } ], "functionName": { "name": "mstore", "nodeType": "YulIdentifier", - "src": "4291:6:10" + "src": "4200:6:11" }, "nodeType": "YulFunctionCall", - "src": "4291:21:10" + "src": "4200:15:11" }, "nodeType": "YulExpressionStatement", - "src": "4291:21:10" - }, - { - "nodeType": "YulVariableDeclaration", - "src": "4321:17:10", - "value": { - "name": "tail_1", - "nodeType": "YulIdentifier", - "src": "4332:6:10" - }, - "variables": [ - { - "name": "pos", - "nodeType": "YulTypedName", - "src": "4325:3:10", - "type": "" - } - ] + "src": "4200:15:11" }, { - "nodeType": "YulVariableDeclaration", - "src": "4347:27:10", - "value": { + "expression": { "arguments": [ { - "name": "value0", - "nodeType": "YulIdentifier", - "src": "4367:6:10" + "kind": "number", + "nodeType": "YulLiteral", + "src": "4231:1:11", + "type": "", + "value": "0" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "4234:4:11", + "type": "", + "value": "0x24" } ], "functionName": { - "name": "mload", + "name": "revert", "nodeType": "YulIdentifier", - "src": "4361:5:10" + "src": "4224:6:11" }, "nodeType": "YulFunctionCall", - "src": "4361:13:10" + "src": "4224:15:11" }, - "variables": [ - { - "name": "length", - "nodeType": "YulTypedName", - "src": "4351:6:10", - "type": "" - } - ] - }, + "nodeType": "YulExpressionStatement", + "src": "4224:15:11" + } + ] + }, + "name": "panic_error_0x21", + "nodeType": "YulFunctionDefinition", + "src": "4118:127:11" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "4424:229:11", + "statements": [ { "expression": { "arguments": [ { - "name": "tail_1", + "name": "headStart", "nodeType": "YulIdentifier", - "src": "4390:6:10" + "src": "4441:9:11" }, { - "name": "length", - "nodeType": "YulIdentifier", - "src": "4398:6:10" + "kind": "number", + "nodeType": "YulLiteral", + "src": "4452:2:11", + "type": "", + "value": "32" } ], "functionName": { "name": "mstore", "nodeType": "YulIdentifier", - "src": "4383:6:10" + "src": "4434:6:11" }, "nodeType": "YulFunctionCall", - "src": "4383:22:10" + "src": "4434:21:11" }, "nodeType": "YulExpressionStatement", - "src": "4383:22:10" - }, - { - "nodeType": "YulVariableDeclaration", - "src": "4414:13:10", - "value": { - "kind": "number", - "nodeType": "YulLiteral", - "src": "4424:3:10", - "type": "", - "value": "128" - }, - "variables": [ - { - "name": "_2", - "nodeType": "YulTypedName", - "src": "4418:2:10", - "type": "" - } - ] + "src": "4434:21:11" }, { - "nodeType": "YulAssignment", - "src": "4436:25:10", - "value": { + "expression": { "arguments": [ { - "name": "headStart", - "nodeType": "YulIdentifier", - "src": "4447:9:10" - }, - { - "name": "_2", - "nodeType": "YulIdentifier", - "src": "4458:2:10" - } - ], - "functionName": { - "name": "add", - "nodeType": "YulIdentifier", - "src": "4443:3:10" + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "4475:9:11" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "4486:2:11", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "4471:3:11" + }, + "nodeType": "YulFunctionCall", + "src": "4471:18:11" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "4491:2:11", + "type": "", + "value": "39" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "4464:6:11" }, "nodeType": "YulFunctionCall", - "src": "4443:18:10" + "src": "4464:30:11" }, - "variableNames": [ - { - "name": "pos", - "nodeType": "YulIdentifier", - "src": "4436:3:10" - } - ] + "nodeType": "YulExpressionStatement", + "src": "4464:30:11" }, { - "nodeType": "YulVariableDeclaration", - "src": "4470:14:10", - "value": { - "kind": "number", - "nodeType": "YulLiteral", - "src": "4480:4:10", - "type": "", - "value": "0x20" + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "4514:9:11" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "4525:2:11", + "type": "", + "value": "64" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "4510:3:11" + }, + "nodeType": "YulFunctionCall", + "src": "4510:18:11" + }, + { + "hexValue": "4c69624469616d6f6e644375743a20496e636f72726563742046616365744375", + "kind": "string", + "nodeType": "YulLiteral", + "src": "4530:34:11", + "type": "", + "value": "LibDiamondCut: Incorrect FacetCu" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "4503:6:11" + }, + "nodeType": "YulFunctionCall", + "src": "4503:62:11" }, - "variables": [ - { - "name": "_3", - "nodeType": "YulTypedName", - "src": "4474:2:10", - "type": "" - } - ] + "nodeType": "YulExpressionStatement", + "src": "4503:62:11" }, { - "nodeType": "YulVariableDeclaration", - "src": "4493:54:10", - "value": { + "expression": { "arguments": [ { "arguments": [ { "name": "headStart", "nodeType": "YulIdentifier", - "src": "4515:9:10" + "src": "4585:9:11" }, { - "arguments": [ - { - "name": "length", - "nodeType": "YulIdentifier", - "src": "4530:6:10" - }, - { - "name": "_3", - "nodeType": "YulIdentifier", - "src": "4538:2:10" - } - ], - "functionName": { - "name": "mul", - "nodeType": "YulIdentifier", - "src": "4526:3:10" - }, - "nodeType": "YulFunctionCall", - "src": "4526:15:10" + "kind": "number", + "nodeType": "YulLiteral", + "src": "4596:2:11", + "type": "", + "value": "96" } ], "functionName": { "name": "add", "nodeType": "YulIdentifier", - "src": "4511:3:10" + "src": "4581:3:11" }, "nodeType": "YulFunctionCall", - "src": "4511:31:10" + "src": "4581:18:11" }, { - "name": "_2", - "nodeType": "YulIdentifier", - "src": "4544:2:10" + "hexValue": "74416374696f6e", + "kind": "string", + "nodeType": "YulLiteral", + "src": "4601:9:11", + "type": "", + "value": "tAction" } ], "functionName": { - "name": "add", + "name": "mstore", "nodeType": "YulIdentifier", - "src": "4507:3:10" + "src": "4574:6:11" }, "nodeType": "YulFunctionCall", - "src": "4507:40:10" + "src": "4574:37:11" }, - "variables": [ - { - "name": "tail_2", - "nodeType": "YulTypedName", - "src": "4497:6:10", - "type": "" - } - ] + "nodeType": "YulExpressionStatement", + "src": "4574:37:11" }, { - "nodeType": "YulVariableDeclaration", - "src": "4556:29:10", + "nodeType": "YulAssignment", + "src": "4620:27:11", "value": { "arguments": [ { - "name": "value0", + "name": "headStart", "nodeType": "YulIdentifier", - "src": "4574:6:10" + "src": "4632:9:11" }, { - "name": "_3", - "nodeType": "YulIdentifier", - "src": "4582:2:10" + "kind": "number", + "nodeType": "YulLiteral", + "src": "4643:3:11", + "type": "", + "value": "128" } ], "functionName": { "name": "add", "nodeType": "YulIdentifier", - "src": "4570:3:10" + "src": "4628:3:11" }, "nodeType": "YulFunctionCall", - "src": "4570:15:10" + "src": "4628:19:11" }, - "variables": [ + "variableNames": [ { - "name": "srcPtr", - "nodeType": "YulTypedName", - "src": "4560:6:10", - "type": "" + "name": "tail", + "nodeType": "YulIdentifier", + "src": "4620:4:11" } ] + } + ] + }, + "name": "abi_encode_tuple_t_stringliteral_48267d8daf5ea9c6bbad1fe9c53dc4c04a2a01b2b85bad432956cf42f45b2f54__to_t_string_memory_ptr__fromStack_reversed", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "headStart", + "nodeType": "YulTypedName", + "src": "4401:9:11", + "type": "" + } + ], + "returnVariables": [ + { + "name": "tail", + "nodeType": "YulTypedName", + "src": "4415:4:11", + "type": "" + } + ], + "src": "4250:403:11" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "4690:95:11", + "statements": [ + { + "expression": { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "4707:1:11", + "type": "", + "value": "0" + }, + { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "4714:3:11", + "type": "", + "value": "224" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "4719:10:11", + "type": "", + "value": "0x4e487b71" + } + ], + "functionName": { + "name": "shl", + "nodeType": "YulIdentifier", + "src": "4710:3:11" + }, + "nodeType": "YulFunctionCall", + "src": "4710:20:11" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "4700:6:11" + }, + "nodeType": "YulFunctionCall", + "src": "4700:31:11" + }, + "nodeType": "YulExpressionStatement", + "src": "4700:31:11" }, { - "nodeType": "YulVariableDeclaration", - "src": "4594:13:10", - "value": { - "name": "tail", - "nodeType": "YulIdentifier", - "src": "4603:4:10" + "expression": { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "4747:1:11", + "type": "", + "value": "4" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "4750:4:11", + "type": "", + "value": "0x11" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "4740:6:11" + }, + "nodeType": "YulFunctionCall", + "src": "4740:15:11" }, - "variables": [ - { - "name": "i", - "nodeType": "YulTypedName", - "src": "4598:1:10", - "type": "" - } - ] + "nodeType": "YulExpressionStatement", + "src": "4740:15:11" }, + { + "expression": { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "4771:1:11", + "type": "", + "value": "0" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "4774:4:11", + "type": "", + "value": "0x24" + } + ], + "functionName": { + "name": "revert", + "nodeType": "YulIdentifier", + "src": "4764:6:11" + }, + "nodeType": "YulFunctionCall", + "src": "4764:15:11" + }, + "nodeType": "YulExpressionStatement", + "src": "4764:15:11" + } + ] + }, + "name": "panic_error_0x11", + "nodeType": "YulFunctionDefinition", + "src": "4658:127:11" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "4837:88:11", + "statements": [ { "body": { "nodeType": "YulBlock", - "src": "4665:1077:10", + "src": "4868:22:11", "statements": [ { "expression": { - "arguments": [ - { - "name": "pos", + "arguments": [], + "functionName": { + "name": "panic_error_0x11", + "nodeType": "YulIdentifier", + "src": "4870:16:11" + }, + "nodeType": "YulFunctionCall", + "src": "4870:18:11" + }, + "nodeType": "YulExpressionStatement", + "src": "4870:18:11" + } + ] + }, + "condition": { + "arguments": [ + { + "name": "value", + "nodeType": "YulIdentifier", + "src": "4853:5:11" + }, + { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "4864:1:11", + "type": "", + "value": "0" + } + ], + "functionName": { + "name": "not", + "nodeType": "YulIdentifier", + "src": "4860:3:11" + }, + "nodeType": "YulFunctionCall", + "src": "4860:6:11" + } + ], + "functionName": { + "name": "eq", + "nodeType": "YulIdentifier", + "src": "4850:2:11" + }, + "nodeType": "YulFunctionCall", + "src": "4850:17:11" + }, + "nodeType": "YulIf", + "src": "4847:43:11" + }, + { + "nodeType": "YulAssignment", + "src": "4899:20:11", + "value": { + "arguments": [ + { + "name": "value", + "nodeType": "YulIdentifier", + "src": "4910:5:11" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "4917:1:11", + "type": "", + "value": "1" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "4906:3:11" + }, + "nodeType": "YulFunctionCall", + "src": "4906:13:11" + }, + "variableNames": [ + { + "name": "ret", + "nodeType": "YulIdentifier", + "src": "4899:3:11" + } + ] + } + ] + }, + "name": "increment_t_uint256", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "value", + "nodeType": "YulTypedName", + "src": "4819:5:11", + "type": "" + } + ], + "returnVariables": [ + { + "name": "ret", + "nodeType": "YulTypedName", + "src": "4829:3:11", + "type": "" + } + ], + "src": "4790:135:11" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "4974:60:11", + "statements": [ + { + "expression": { + "arguments": [ + { + "name": "pos", + "nodeType": "YulIdentifier", + "src": "4991:3:11" + }, + { + "arguments": [ + { + "name": "value", + "nodeType": "YulIdentifier", + "src": "5000:5:11" + }, + { + "arguments": [ + { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "5015:3:11", + "type": "", + "value": "160" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "5020:1:11", + "type": "", + "value": "1" + } + ], + "functionName": { + "name": "shl", + "nodeType": "YulIdentifier", + "src": "5011:3:11" + }, + "nodeType": "YulFunctionCall", + "src": "5011:11:11" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "5024:1:11", + "type": "", + "value": "1" + } + ], + "functionName": { + "name": "sub", "nodeType": "YulIdentifier", - "src": "4686:3:10" + "src": "5007:3:11" + }, + "nodeType": "YulFunctionCall", + "src": "5007:19:11" + } + ], + "functionName": { + "name": "and", + "nodeType": "YulIdentifier", + "src": "4996:3:11" + }, + "nodeType": "YulFunctionCall", + "src": "4996:31:11" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "4984:6:11" + }, + "nodeType": "YulFunctionCall", + "src": "4984:44:11" + }, + "nodeType": "YulExpressionStatement", + "src": "4984:44:11" + } + ] + }, + "name": "abi_encode_address", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "value", + "nodeType": "YulTypedName", + "src": "4958:5:11", + "type": "" + }, + { + "name": "pos", + "nodeType": "YulTypedName", + "src": "4965:3:11", + "type": "" + } + ], + "src": "4930:104:11" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "5092:205:11", + "statements": [ + { + "nodeType": "YulVariableDeclaration", + "src": "5102:10:11", + "value": { + "kind": "number", + "nodeType": "YulLiteral", + "src": "5111:1:11", + "type": "", + "value": "0" + }, + "variables": [ + { + "name": "i", + "nodeType": "YulTypedName", + "src": "5106:1:11", + "type": "" + } + ] + }, + { + "body": { + "nodeType": "YulBlock", + "src": "5171:63:11", + "statements": [ + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "dst", + "nodeType": "YulIdentifier", + "src": "5196:3:11" + }, + { + "name": "i", + "nodeType": "YulIdentifier", + "src": "5201:1:11" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "5192:3:11" + }, + "nodeType": "YulFunctionCall", + "src": "5192:11:11" }, { "arguments": [ { "arguments": [ { - "name": "tail_2", + "name": "src", "nodeType": "YulIdentifier", - "src": "4699:6:10" + "src": "5215:3:11" }, { - "name": "headStart", + "name": "i", "nodeType": "YulIdentifier", - "src": "4707:9:10" - } - ], - "functionName": { - "name": "sub", - "nodeType": "YulIdentifier", - "src": "4695:3:10" - }, - "nodeType": "YulFunctionCall", - "src": "4695:22:10" - }, - { - "arguments": [ - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "4723:3:10", - "type": "", - "value": "127" + "src": "5220:1:11" } ], "functionName": { - "name": "not", + "name": "add", "nodeType": "YulIdentifier", - "src": "4719:3:10" + "src": "5211:3:11" }, "nodeType": "YulFunctionCall", - "src": "4719:8:10" + "src": "5211:11:11" } ], "functionName": { - "name": "add", + "name": "mload", "nodeType": "YulIdentifier", - "src": "4691:3:10" + "src": "5205:5:11" }, "nodeType": "YulFunctionCall", - "src": "4691:37:10" + "src": "5205:18:11" } ], "functionName": { "name": "mstore", "nodeType": "YulIdentifier", - "src": "4679:6:10" + "src": "5185:6:11" }, "nodeType": "YulFunctionCall", - "src": "4679:50:10" + "src": "5185:39:11" }, "nodeType": "YulExpressionStatement", - "src": "4679:50:10" + "src": "5185:39:11" + } + ] + }, + "condition": { + "arguments": [ + { + "name": "i", + "nodeType": "YulIdentifier", + "src": "5132:1:11" }, { - "nodeType": "YulVariableDeclaration", - "src": "4742:23:10", + "name": "length", + "nodeType": "YulIdentifier", + "src": "5135:6:11" + } + ], + "functionName": { + "name": "lt", + "nodeType": "YulIdentifier", + "src": "5129:2:11" + }, + "nodeType": "YulFunctionCall", + "src": "5129:13:11" + }, + "nodeType": "YulForLoop", + "post": { + "nodeType": "YulBlock", + "src": "5143:19:11", + "statements": [ + { + "nodeType": "YulAssignment", + "src": "5145:15:11", "value": { "arguments": [ { - "name": "srcPtr", - "nodeType": "YulIdentifier", - "src": "4758:6:10" - } - ], - "functionName": { - "name": "mload", - "nodeType": "YulIdentifier", - "src": "4752:5:10" - }, - "nodeType": "YulFunctionCall", - "src": "4752:13:10" - }, - "variables": [ - { - "name": "_4", - "nodeType": "YulTypedName", - "src": "4746:2:10", - "type": "" - } - ] - }, - { - "nodeType": "YulVariableDeclaration", - "src": "4778:29:10", - "value": { - "arguments": [ - { - "name": "tail_2", + "name": "i", "nodeType": "YulIdentifier", - "src": "4796:6:10" + "src": "5154:1:11" }, { - "name": "_1", - "nodeType": "YulIdentifier", - "src": "4804:2:10" + "kind": "number", + "nodeType": "YulLiteral", + "src": "5157:2:11", + "type": "", + "value": "32" } ], "functionName": { "name": "add", "nodeType": "YulIdentifier", - "src": "4792:3:10" + "src": "5150:3:11" }, "nodeType": "YulFunctionCall", - "src": "4792:15:10" + "src": "5150:10:11" }, - "variables": [ + "variableNames": [ { - "name": "tail_3", - "nodeType": "YulTypedName", - "src": "4782:6:10", - "type": "" - } - ] - }, - { - "expression": { - "arguments": [ - { - "name": "tail_2", - "nodeType": "YulIdentifier", - "src": "4827:6:10" - }, - { - "arguments": [ - { - "arguments": [ - { - "name": "_4", - "nodeType": "YulIdentifier", - "src": "4845:2:10" - } - ], - "functionName": { - "name": "mload", - "nodeType": "YulIdentifier", - "src": "4839:5:10" - }, - "nodeType": "YulFunctionCall", - "src": "4839:9:10" - }, - { - "arguments": [ - { - "arguments": [ - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "4858:3:10", - "type": "", - "value": "160" - }, - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "4863:1:10", - "type": "", - "value": "1" - } - ], - "functionName": { - "name": "shl", - "nodeType": "YulIdentifier", - "src": "4854:3:10" - }, - "nodeType": "YulFunctionCall", - "src": "4854:11:10" - }, - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "4867:1:10", - "type": "", - "value": "1" - } - ], - "functionName": { - "name": "sub", - "nodeType": "YulIdentifier", - "src": "4850:3:10" - }, - "nodeType": "YulFunctionCall", - "src": "4850:19:10" - } - ], - "functionName": { - "name": "and", - "nodeType": "YulIdentifier", - "src": "4835:3:10" - }, - "nodeType": "YulFunctionCall", - "src": "4835:35:10" - } - ], - "functionName": { - "name": "mstore", - "nodeType": "YulIdentifier", - "src": "4820:6:10" - }, - "nodeType": "YulFunctionCall", - "src": "4820:51:10" - }, - "nodeType": "YulExpressionStatement", - "src": "4820:51:10" - }, - { - "nodeType": "YulVariableDeclaration", - "src": "4884:38:10", - "value": { - "arguments": [ - { - "arguments": [ - { - "name": "_4", - "nodeType": "YulIdentifier", - "src": "4914:2:10" - }, - { - "name": "_3", - "nodeType": "YulIdentifier", - "src": "4918:2:10" - } - ], - "functionName": { - "name": "add", - "nodeType": "YulIdentifier", - "src": "4910:3:10" - }, - "nodeType": "YulFunctionCall", - "src": "4910:11:10" - } - ], - "functionName": { - "name": "mload", + "name": "i", "nodeType": "YulIdentifier", - "src": "4904:5:10" - }, - "nodeType": "YulFunctionCall", - "src": "4904:18:10" - }, - "variables": [ - { - "name": "memberValue0", - "nodeType": "YulTypedName", - "src": "4888:12:10", - "type": "" + "src": "5145:1:11" } ] - }, - { - "body": { - "nodeType": "YulBlock", - "src": "4966:13:10", - "statements": [ - { - "expression": { - "arguments": [], - "functionName": { - "name": "invalid", - "nodeType": "YulIdentifier", - "src": "4968:7:10" - }, - "nodeType": "YulFunctionCall", - "src": "4968:9:10" - }, - "nodeType": "YulExpressionStatement", - "src": "4968:9:10" - } - ] - }, - "condition": { - "arguments": [ - { - "arguments": [ - { - "name": "memberValue0", - "nodeType": "YulIdentifier", - "src": "4948:12:10" - }, - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "4962:1:10", - "type": "", - "value": "3" - } - ], - "functionName": { - "name": "lt", - "nodeType": "YulIdentifier", - "src": "4945:2:10" - }, - "nodeType": "YulFunctionCall", - "src": "4945:19:10" - } - ], - "functionName": { - "name": "iszero", - "nodeType": "YulIdentifier", - "src": "4938:6:10" - }, - "nodeType": "YulFunctionCall", - "src": "4938:27:10" - }, - "nodeType": "YulIf", - "src": "4935:2:10" - }, + } + ] + }, + "pre": { + "nodeType": "YulBlock", + "src": "5125:3:11", + "statements": [] + }, + "src": "5121:113:11" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "5260:31:11", + "statements": [ { "expression": { "arguments": [ { "arguments": [ { - "name": "tail_2", + "name": "dst", "nodeType": "YulIdentifier", - "src": "5003:6:10" + "src": "5273:3:11" }, { - "name": "_3", + "name": "length", "nodeType": "YulIdentifier", - "src": "5011:2:10" + "src": "5278:6:11" } ], "functionName": { "name": "add", "nodeType": "YulIdentifier", - "src": "4999:3:10" + "src": "5269:3:11" }, "nodeType": "YulFunctionCall", - "src": "4999:15:10" + "src": "5269:16:11" }, { - "name": "memberValue0", - "nodeType": "YulIdentifier", - "src": "5016:12:10" + "kind": "number", + "nodeType": "YulLiteral", + "src": "5287:1:11", + "type": "", + "value": "0" } ], "functionName": { "name": "mstore", "nodeType": "YulIdentifier", - "src": "4992:6:10" + "src": "5262:6:11" }, "nodeType": "YulFunctionCall", - "src": "4992:37:10" + "src": "5262:27:11" }, "nodeType": "YulExpressionStatement", - "src": "4992:37:10" - }, + "src": "5262:27:11" + } + ] + }, + "condition": { + "arguments": [ { - "nodeType": "YulVariableDeclaration", - "src": "5042:14:10", - "value": { - "kind": "number", - "nodeType": "YulLiteral", - "src": "5052:4:10", - "type": "", - "value": "0x40" - }, - "variables": [ - { - "name": "_5", - "nodeType": "YulTypedName", - "src": "5046:2:10", - "type": "" - } - ] + "name": "i", + "nodeType": "YulIdentifier", + "src": "5249:1:11" }, { - "nodeType": "YulVariableDeclaration", - "src": "5069:40:10", - "value": { - "arguments": [ - { - "arguments": [ - { - "name": "_4", - "nodeType": "YulIdentifier", - "src": "5101:2:10" - }, - { - "name": "_5", - "nodeType": "YulIdentifier", - "src": "5105:2:10" - } - ], - "functionName": { - "name": "add", - "nodeType": "YulIdentifier", - "src": "5097:3:10" - }, - "nodeType": "YulFunctionCall", - "src": "5097:11:10" - } - ], - "functionName": { - "name": "mload", - "nodeType": "YulIdentifier", - "src": "5091:5:10" - }, - "nodeType": "YulFunctionCall", - "src": "5091:18:10" - }, - "variables": [ - { - "name": "memberValue0_1", - "nodeType": "YulTypedName", - "src": "5073:14:10", - "type": "" - } - ] - }, + "name": "length", + "nodeType": "YulIdentifier", + "src": "5252:6:11" + } + ], + "functionName": { + "name": "gt", + "nodeType": "YulIdentifier", + "src": "5246:2:11" + }, + "nodeType": "YulFunctionCall", + "src": "5246:13:11" + }, + "nodeType": "YulIf", + "src": "5243:48:11" + } + ] + }, + "name": "copy_memory_to_memory", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "src", + "nodeType": "YulTypedName", + "src": "5070:3:11", + "type": "" + }, + { + "name": "dst", + "nodeType": "YulTypedName", + "src": "5075:3:11", + "type": "" + }, + { + "name": "length", + "nodeType": "YulTypedName", + "src": "5080:6:11", + "type": "" + } + ], + "src": "5039:258:11" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "5351:208:11", + "statements": [ + { + "nodeType": "YulVariableDeclaration", + "src": "5361:26:11", + "value": { + "arguments": [ { - "expression": { - "arguments": [ - { - "arguments": [ - { - "name": "tail_2", - "nodeType": "YulIdentifier", - "src": "5133:6:10" - }, - { - "name": "_5", - "nodeType": "YulIdentifier", - "src": "5141:2:10" - } - ], - "functionName": { - "name": "add", - "nodeType": "YulIdentifier", - "src": "5129:3:10" - }, - "nodeType": "YulFunctionCall", - "src": "5129:15:10" - }, - { - "name": "_1", - "nodeType": "YulIdentifier", - "src": "5146:2:10" - } - ], - "functionName": { - "name": "mstore", - "nodeType": "YulIdentifier", - "src": "5122:6:10" - }, - "nodeType": "YulFunctionCall", - "src": "5122:27:10" - }, - "nodeType": "YulExpressionStatement", - "src": "5122:27:10" - }, + "name": "value", + "nodeType": "YulIdentifier", + "src": "5381:5:11" + } + ], + "functionName": { + "name": "mload", + "nodeType": "YulIdentifier", + "src": "5375:5:11" + }, + "nodeType": "YulFunctionCall", + "src": "5375:12:11" + }, + "variables": [ + { + "name": "length", + "nodeType": "YulTypedName", + "src": "5365:6:11", + "type": "" + } + ] + }, + { + "expression": { + "arguments": [ { - "nodeType": "YulVariableDeclaration", - "src": "5162:19:10", - "value": { - "name": "tail_3", - "nodeType": "YulIdentifier", - "src": "5175:6:10" - }, - "variables": [ - { - "name": "pos_1", - "nodeType": "YulTypedName", - "src": "5166:5:10", - "type": "" - } - ] + "name": "pos", + "nodeType": "YulIdentifier", + "src": "5403:3:11" }, { - "nodeType": "YulVariableDeclaration", - "src": "5194:37:10", - "value": { - "arguments": [ - { - "name": "memberValue0_1", - "nodeType": "YulIdentifier", - "src": "5216:14:10" - } - ], - "functionName": { - "name": "mload", + "name": "length", + "nodeType": "YulIdentifier", + "src": "5408:6:11" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "5396:6:11" + }, + "nodeType": "YulFunctionCall", + "src": "5396:19:11" + }, + "nodeType": "YulExpressionStatement", + "src": "5396:19:11" + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "value", "nodeType": "YulIdentifier", - "src": "5210:5:10" + "src": "5450:5:11" }, - "nodeType": "YulFunctionCall", - "src": "5210:21:10" - }, - "variables": [ { - "name": "length_1", - "nodeType": "YulTypedName", - "src": "5198:8:10", - "type": "" + "kind": "number", + "nodeType": "YulLiteral", + "src": "5457:4:11", + "type": "", + "value": "0x20" } - ] - }, - { - "expression": { - "arguments": [ - { - "name": "tail_3", - "nodeType": "YulIdentifier", - "src": "5251:6:10" - }, - { - "name": "length_1", - "nodeType": "YulIdentifier", - "src": "5259:8:10" - } - ], - "functionName": { - "name": "mstore", - "nodeType": "YulIdentifier", - "src": "5244:6:10" - }, - "nodeType": "YulFunctionCall", - "src": "5244:24:10" + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "5446:3:11" }, - "nodeType": "YulExpressionStatement", - "src": "5244:24:10" + "nodeType": "YulFunctionCall", + "src": "5446:16:11" }, { - "nodeType": "YulAssignment", - "src": "5281:24:10", - "value": { - "arguments": [ - { - "name": "tail_2", - "nodeType": "YulIdentifier", - "src": "5294:6:10" - }, - { - "name": "_2", - "nodeType": "YulIdentifier", - "src": "5302:2:10" - } - ], - "functionName": { - "name": "add", - "nodeType": "YulIdentifier", - "src": "5290:3:10" - }, - "nodeType": "YulFunctionCall", - "src": "5290:15:10" - }, - "variableNames": [ + "arguments": [ { - "name": "pos_1", - "nodeType": "YulIdentifier", - "src": "5281:5:10" - } - ] - }, - { - "nodeType": "YulVariableDeclaration", - "src": "5318:39:10", - "value": { - "arguments": [ - { - "name": "memberValue0_1", - "nodeType": "YulIdentifier", - "src": "5338:14:10" - }, - { - "name": "_3", - "nodeType": "YulIdentifier", - "src": "5354:2:10" - } - ], - "functionName": { - "name": "add", + "name": "pos", "nodeType": "YulIdentifier", - "src": "5334:3:10" + "src": "5468:3:11" }, - "nodeType": "YulFunctionCall", - "src": "5334:23:10" - }, - "variables": [ { - "name": "srcPtr_1", - "nodeType": "YulTypedName", - "src": "5322:8:10", - "type": "" + "kind": "number", + "nodeType": "YulLiteral", + "src": "5473:4:11", + "type": "", + "value": "0x20" } - ] - }, - { - "nodeType": "YulVariableDeclaration", - "src": "5370:15:10", - "value": { - "name": "tail", + ], + "functionName": { + "name": "add", "nodeType": "YulIdentifier", - "src": "5381:4:10" + "src": "5464:3:11" }, - "variables": [ - { - "name": "i_1", - "nodeType": "YulTypedName", - "src": "5374:3:10", - "type": "" - } - ] + "nodeType": "YulFunctionCall", + "src": "5464:14:11" }, { - "body": { - "nodeType": "YulBlock", - "src": "5459:175:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "name": "pos_1", - "nodeType": "YulIdentifier", - "src": "5484:5:10" - }, - { - "arguments": [ - { - "arguments": [ - { - "name": "srcPtr_1", - "nodeType": "YulIdentifier", - "src": "5501:8:10" - } - ], - "functionName": { - "name": "mload", - "nodeType": "YulIdentifier", - "src": "5495:5:10" - }, - "nodeType": "YulFunctionCall", - "src": "5495:15:10" - }, - { - "arguments": [ - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "5516:3:10", - "type": "", - "value": "224" - }, - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "5521:10:10", - "type": "", - "value": "0xffffffff" - } - ], - "functionName": { - "name": "shl", - "nodeType": "YulIdentifier", - "src": "5512:3:10" - }, - "nodeType": "YulFunctionCall", - "src": "5512:20:10" - } - ], - "functionName": { - "name": "and", - "nodeType": "YulIdentifier", - "src": "5491:3:10" - }, - "nodeType": "YulFunctionCall", - "src": "5491:42:10" - } - ], - "functionName": { - "name": "mstore", - "nodeType": "YulIdentifier", - "src": "5477:6:10" - }, - "nodeType": "YulFunctionCall", - "src": "5477:57:10" - }, - "nodeType": "YulExpressionStatement", - "src": "5477:57:10" - }, - { - "nodeType": "YulAssignment", - "src": "5551:23:10", - "value": { - "arguments": [ - { - "name": "pos_1", - "nodeType": "YulIdentifier", - "src": "5564:5:10" - }, - { - "name": "_3", - "nodeType": "YulIdentifier", - "src": "5571:2:10" - } - ], - "functionName": { - "name": "add", - "nodeType": "YulIdentifier", - "src": "5560:3:10" - }, - "nodeType": "YulFunctionCall", - "src": "5560:14:10" - }, - "variableNames": [ - { - "name": "pos_1", - "nodeType": "YulIdentifier", - "src": "5551:5:10" - } - ] - }, - { - "nodeType": "YulAssignment", - "src": "5591:29:10", - "value": { + "name": "length", + "nodeType": "YulIdentifier", + "src": "5480:6:11" + } + ], + "functionName": { + "name": "copy_memory_to_memory", + "nodeType": "YulIdentifier", + "src": "5424:21:11" + }, + "nodeType": "YulFunctionCall", + "src": "5424:63:11" + }, + "nodeType": "YulExpressionStatement", + "src": "5424:63:11" + }, + { + "nodeType": "YulAssignment", + "src": "5496:57:11", + "value": { + "arguments": [ + { + "arguments": [ + { + "name": "pos", + "nodeType": "YulIdentifier", + "src": "5511:3:11" + }, + { + "arguments": [ + { "arguments": [ { - "name": "srcPtr_1", + "name": "length", "nodeType": "YulIdentifier", - "src": "5607:8:10" + "src": "5524:6:11" }, { - "name": "_3", - "nodeType": "YulIdentifier", - "src": "5617:2:10" + "kind": "number", + "nodeType": "YulLiteral", + "src": "5532:2:11", + "type": "", + "value": "31" } ], "functionName": { "name": "add", "nodeType": "YulIdentifier", - "src": "5603:3:10" + "src": "5520:3:11" }, "nodeType": "YulFunctionCall", - "src": "5603:17:10" + "src": "5520:15:11" }, - "variableNames": [ - { - "name": "srcPtr_1", - "nodeType": "YulIdentifier", - "src": "5591:8:10" - } - ] - } - ] - }, - "condition": { - "arguments": [ - { - "name": "i_1", - "nodeType": "YulIdentifier", - "src": "5409:3:10" - }, - { - "name": "length_1", - "nodeType": "YulIdentifier", - "src": "5414:8:10" - } - ], - "functionName": { - "name": "lt", - "nodeType": "YulIdentifier", - "src": "5406:2:10" - }, - "nodeType": "YulFunctionCall", - "src": "5406:17:10" - }, - "nodeType": "YulForLoop", - "post": { - "nodeType": "YulBlock", - "src": "5424:22:10", - "statements": [ - { - "nodeType": "YulAssignment", - "src": "5426:18:10", - "value": { + { "arguments": [ - { - "name": "i_1", - "nodeType": "YulIdentifier", - "src": "5437:3:10" - }, { "kind": "number", "nodeType": "YulLiteral", - "src": "5442:1:10", + "src": "5541:2:11", "type": "", - "value": "1" + "value": "31" } ], "functionName": { - "name": "add", + "name": "not", "nodeType": "YulIdentifier", - "src": "5433:3:10" + "src": "5537:3:11" }, "nodeType": "YulFunctionCall", - "src": "5433:11:10" - }, - "variableNames": [ - { - "name": "i_1", - "nodeType": "YulIdentifier", - "src": "5426:3:10" - } - ] - } - ] - }, - "pre": { - "nodeType": "YulBlock", - "src": "5402:3:10", - "statements": [] - }, - "src": "5398:236:10" - }, - { - "nodeType": "YulAssignment", - "src": "5647:15:10", - "value": { - "name": "pos_1", - "nodeType": "YulIdentifier", - "src": "5657:5:10" - }, - "variableNames": [ - { - "name": "tail_2", - "nodeType": "YulIdentifier", - "src": "5647:6:10" - } - ] - }, - { - "nodeType": "YulAssignment", - "src": "5675:25:10", - "value": { - "arguments": [ - { - "name": "srcPtr", + "src": "5537:7:11" + } + ], + "functionName": { + "name": "and", "nodeType": "YulIdentifier", - "src": "5689:6:10" + "src": "5516:3:11" }, - { - "name": "_3", - "nodeType": "YulIdentifier", - "src": "5697:2:10" - } - ], - "functionName": { - "name": "add", - "nodeType": "YulIdentifier", - "src": "5685:3:10" - }, - "nodeType": "YulFunctionCall", - "src": "5685:15:10" - }, - "variableNames": [ - { - "name": "srcPtr", - "nodeType": "YulIdentifier", - "src": "5675:6:10" + "nodeType": "YulFunctionCall", + "src": "5516:29:11" } - ] + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "5507:3:11" + }, + "nodeType": "YulFunctionCall", + "src": "5507:39:11" }, { - "nodeType": "YulAssignment", - "src": "5713:19:10", - "value": { - "arguments": [ - { - "name": "pos", - "nodeType": "YulIdentifier", - "src": "5724:3:10" - }, - { - "name": "_3", - "nodeType": "YulIdentifier", - "src": "5729:2:10" - } - ], - "functionName": { - "name": "add", + "kind": "number", + "nodeType": "YulLiteral", + "src": "5548:4:11", + "type": "", + "value": "0x20" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "5503:3:11" + }, + "nodeType": "YulFunctionCall", + "src": "5503:50:11" + }, + "variableNames": [ + { + "name": "end", + "nodeType": "YulIdentifier", + "src": "5496:3:11" + } + ] + } + ] + }, + "name": "abi_encode_bytes", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "value", + "nodeType": "YulTypedName", + "src": "5328:5:11", + "type": "" + }, + { + "name": "pos", + "nodeType": "YulTypedName", + "src": "5335:3:11", + "type": "" + } + ], + "returnVariables": [ + { + "name": "end", + "nodeType": "YulTypedName", + "src": "5343:3:11", + "type": "" + } + ], + "src": "5302:257:11" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "5839:1813:11", + "statements": [ + { + "nodeType": "YulVariableDeclaration", + "src": "5849:12:11", + "value": { + "kind": "number", + "nodeType": "YulLiteral", + "src": "5859:2:11", + "type": "", + "value": "96" + }, + "variables": [ + { + "name": "_1", + "nodeType": "YulTypedName", + "src": "5853:2:11", + "type": "" + } + ] + }, + { + "nodeType": "YulVariableDeclaration", + "src": "5870:32:11", + "value": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "5888:9:11" + }, + { + "name": "_1", + "nodeType": "YulIdentifier", + "src": "5899:2:11" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "5884:3:11" + }, + "nodeType": "YulFunctionCall", + "src": "5884:18:11" + }, + "variables": [ + { + "name": "tail_1", + "nodeType": "YulTypedName", + "src": "5874:6:11", + "type": "" + } + ] + }, + { + "expression": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "5918:9:11" + }, + { + "name": "_1", + "nodeType": "YulIdentifier", + "src": "5929:2:11" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "5911:6:11" + }, + "nodeType": "YulFunctionCall", + "src": "5911:21:11" + }, + "nodeType": "YulExpressionStatement", + "src": "5911:21:11" + }, + { + "nodeType": "YulVariableDeclaration", + "src": "5941:17:11", + "value": { + "name": "tail_1", + "nodeType": "YulIdentifier", + "src": "5952:6:11" + }, + "variables": [ + { + "name": "pos", + "nodeType": "YulTypedName", + "src": "5945:3:11", + "type": "" + } + ] + }, + { + "nodeType": "YulVariableDeclaration", + "src": "5967:27:11", + "value": { + "arguments": [ + { + "name": "value0", + "nodeType": "YulIdentifier", + "src": "5987:6:11" + } + ], + "functionName": { + "name": "mload", + "nodeType": "YulIdentifier", + "src": "5981:5:11" + }, + "nodeType": "YulFunctionCall", + "src": "5981:13:11" + }, + "variables": [ + { + "name": "length", + "nodeType": "YulTypedName", + "src": "5971:6:11", + "type": "" + } + ] + }, + { + "expression": { + "arguments": [ + { + "name": "tail_1", + "nodeType": "YulIdentifier", + "src": "6010:6:11" + }, + { + "name": "length", + "nodeType": "YulIdentifier", + "src": "6018:6:11" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "6003:6:11" + }, + "nodeType": "YulFunctionCall", + "src": "6003:22:11" + }, + "nodeType": "YulExpressionStatement", + "src": "6003:22:11" + }, + { + "nodeType": "YulVariableDeclaration", + "src": "6034:13:11", + "value": { + "kind": "number", + "nodeType": "YulLiteral", + "src": "6044:3:11", + "type": "", + "value": "128" + }, + "variables": [ + { + "name": "_2", + "nodeType": "YulTypedName", + "src": "6038:2:11", + "type": "" + } + ] + }, + { + "nodeType": "YulAssignment", + "src": "6056:25:11", + "value": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "6067:9:11" + }, + { + "name": "_2", + "nodeType": "YulIdentifier", + "src": "6078:2:11" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "6063:3:11" + }, + "nodeType": "YulFunctionCall", + "src": "6063:18:11" + }, + "variableNames": [ + { + "name": "pos", + "nodeType": "YulIdentifier", + "src": "6056:3:11" + } + ] + }, + { + "nodeType": "YulVariableDeclaration", + "src": "6090:53:11", + "value": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "6112:9:11" + }, + { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "6127:1:11", + "type": "", + "value": "5" + }, + { + "name": "length", + "nodeType": "YulIdentifier", + "src": "6130:6:11" + } + ], + "functionName": { + "name": "shl", + "nodeType": "YulIdentifier", + "src": "6123:3:11" + }, + "nodeType": "YulFunctionCall", + "src": "6123:14:11" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "6108:3:11" + }, + "nodeType": "YulFunctionCall", + "src": "6108:30:11" + }, + { + "name": "_2", + "nodeType": "YulIdentifier", + "src": "6140:2:11" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "6104:3:11" + }, + "nodeType": "YulFunctionCall", + "src": "6104:39:11" + }, + "variables": [ + { + "name": "tail_2", + "nodeType": "YulTypedName", + "src": "6094:6:11", + "type": "" + } + ] + }, + { + "nodeType": "YulVariableDeclaration", + "src": "6152:14:11", + "value": { + "kind": "number", + "nodeType": "YulLiteral", + "src": "6162:4:11", + "type": "", + "value": "0x20" + }, + "variables": [ + { + "name": "_3", + "nodeType": "YulTypedName", + "src": "6156:2:11", + "type": "" + } + ] + }, + { + "nodeType": "YulVariableDeclaration", + "src": "6175:29:11", + "value": { + "arguments": [ + { + "name": "value0", + "nodeType": "YulIdentifier", + "src": "6193:6:11" + }, + { + "name": "_3", + "nodeType": "YulIdentifier", + "src": "6201:2:11" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "6189:3:11" + }, + "nodeType": "YulFunctionCall", + "src": "6189:15:11" + }, + "variables": [ + { + "name": "srcPtr", + "nodeType": "YulTypedName", + "src": "6179:6:11", + "type": "" + } + ] + }, + { + "nodeType": "YulVariableDeclaration", + "src": "6213:10:11", + "value": { + "kind": "number", + "nodeType": "YulLiteral", + "src": "6222:1:11", + "type": "", + "value": "0" + }, + "variables": [ + { + "name": "i", + "nodeType": "YulTypedName", + "src": "6217:1:11", + "type": "" + } + ] + }, + { + "body": { + "nodeType": "YulBlock", + "src": "6281:1200:11", + "statements": [ + { + "expression": { + "arguments": [ + { + "name": "pos", + "nodeType": "YulIdentifier", + "src": "6302:3:11" + }, + { + "arguments": [ + { + "arguments": [ + { + "name": "tail_2", + "nodeType": "YulIdentifier", + "src": "6315:6:11" + }, + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "6323:9:11" + } + ], + "functionName": { + "name": "sub", + "nodeType": "YulIdentifier", + "src": "6311:3:11" + }, + "nodeType": "YulFunctionCall", + "src": "6311:22:11" + }, + { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "6339:3:11", + "type": "", + "value": "127" + } + ], + "functionName": { + "name": "not", + "nodeType": "YulIdentifier", + "src": "6335:3:11" + }, + "nodeType": "YulFunctionCall", + "src": "6335:8:11" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "6307:3:11" + }, + "nodeType": "YulFunctionCall", + "src": "6307:37:11" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "6295:6:11" + }, + "nodeType": "YulFunctionCall", + "src": "6295:50:11" + }, + "nodeType": "YulExpressionStatement", + "src": "6295:50:11" + }, + { + "nodeType": "YulVariableDeclaration", + "src": "6358:23:11", + "value": { + "arguments": [ + { + "name": "srcPtr", + "nodeType": "YulIdentifier", + "src": "6374:6:11" + } + ], + "functionName": { + "name": "mload", + "nodeType": "YulIdentifier", + "src": "6368:5:11" + }, + "nodeType": "YulFunctionCall", + "src": "6368:13:11" + }, + "variables": [ + { + "name": "_4", + "nodeType": "YulTypedName", + "src": "6362:2:11", + "type": "" + } + ] + }, + { + "nodeType": "YulVariableDeclaration", + "src": "6394:29:11", + "value": { + "arguments": [ + { + "name": "tail_2", + "nodeType": "YulIdentifier", + "src": "6412:6:11" + }, + { + "name": "_1", + "nodeType": "YulIdentifier", + "src": "6420:2:11" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "6408:3:11" + }, + "nodeType": "YulFunctionCall", + "src": "6408:15:11" + }, + "variables": [ + { + "name": "tail_3", + "nodeType": "YulTypedName", + "src": "6398:6:11", + "type": "" + } + ] + }, + { + "expression": { + "arguments": [ + { + "name": "tail_2", + "nodeType": "YulIdentifier", + "src": "6443:6:11" + }, + { + "arguments": [ + { + "arguments": [ + { + "name": "_4", + "nodeType": "YulIdentifier", + "src": "6461:2:11" + } + ], + "functionName": { + "name": "mload", + "nodeType": "YulIdentifier", + "src": "6455:5:11" + }, + "nodeType": "YulFunctionCall", + "src": "6455:9:11" + }, + { + "arguments": [ + { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "6474:3:11", + "type": "", + "value": "160" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "6479:1:11", + "type": "", + "value": "1" + } + ], + "functionName": { + "name": "shl", + "nodeType": "YulIdentifier", + "src": "6470:3:11" + }, + "nodeType": "YulFunctionCall", + "src": "6470:11:11" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "6483:1:11", + "type": "", + "value": "1" + } + ], + "functionName": { + "name": "sub", + "nodeType": "YulIdentifier", + "src": "6466:3:11" + }, + "nodeType": "YulFunctionCall", + "src": "6466:19:11" + } + ], + "functionName": { + "name": "and", + "nodeType": "YulIdentifier", + "src": "6451:3:11" + }, + "nodeType": "YulFunctionCall", + "src": "6451:35:11" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "6436:6:11" + }, + "nodeType": "YulFunctionCall", + "src": "6436:51:11" + }, + "nodeType": "YulExpressionStatement", + "src": "6436:51:11" + }, + { + "nodeType": "YulVariableDeclaration", + "src": "6500:38:11", + "value": { + "arguments": [ + { + "arguments": [ + { + "name": "_4", + "nodeType": "YulIdentifier", + "src": "6530:2:11" + }, + { + "name": "_3", + "nodeType": "YulIdentifier", + "src": "6534:2:11" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "6526:3:11" + }, + "nodeType": "YulFunctionCall", + "src": "6526:11:11" + } + ], + "functionName": { + "name": "mload", + "nodeType": "YulIdentifier", + "src": "6520:5:11" + }, + "nodeType": "YulFunctionCall", + "src": "6520:18:11" + }, + "variables": [ + { + "name": "memberValue0", + "nodeType": "YulTypedName", + "src": "6504:12:11", + "type": "" + } + ] + }, + { + "body": { + "nodeType": "YulBlock", + "src": "6594:127:11", + "statements": [ + { + "expression": { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "6619:1:11", + "type": "", + "value": "0" + }, + { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "6626:3:11", + "type": "", + "value": "224" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "6631:10:11", + "type": "", + "value": "0x4e487b71" + } + ], + "functionName": { + "name": "shl", + "nodeType": "YulIdentifier", + "src": "6622:3:11" + }, + "nodeType": "YulFunctionCall", + "src": "6622:20:11" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "6612:6:11" + }, + "nodeType": "YulFunctionCall", + "src": "6612:31:11" + }, + "nodeType": "YulExpressionStatement", + "src": "6612:31:11" + }, + { + "expression": { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "6667:1:11", + "type": "", + "value": "4" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "6670:4:11", + "type": "", + "value": "0x21" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "6660:6:11" + }, + "nodeType": "YulFunctionCall", + "src": "6660:15:11" + }, + "nodeType": "YulExpressionStatement", + "src": "6660:15:11" + }, + { + "expression": { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "6699:1:11", + "type": "", + "value": "0" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "6702:4:11", + "type": "", + "value": "0x24" + } + ], + "functionName": { + "name": "revert", + "nodeType": "YulIdentifier", + "src": "6692:6:11" + }, + "nodeType": "YulFunctionCall", + "src": "6692:15:11" + }, + "nodeType": "YulExpressionStatement", + "src": "6692:15:11" + } + ] + }, + "condition": { + "arguments": [ + { + "arguments": [ + { + "name": "memberValue0", + "nodeType": "YulIdentifier", + "src": "6564:12:11" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "6578:1:11", + "type": "", + "value": "3" + } + ], + "functionName": { + "name": "lt", + "nodeType": "YulIdentifier", + "src": "6561:2:11" + }, + "nodeType": "YulFunctionCall", + "src": "6561:19:11" + } + ], + "functionName": { + "name": "iszero", + "nodeType": "YulIdentifier", + "src": "6554:6:11" + }, + "nodeType": "YulFunctionCall", + "src": "6554:27:11" + }, + "nodeType": "YulIf", + "src": "6551:170:11" + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "tail_2", + "nodeType": "YulIdentifier", + "src": "6745:6:11" + }, + { + "name": "_3", + "nodeType": "YulIdentifier", + "src": "6753:2:11" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "6741:3:11" + }, + "nodeType": "YulFunctionCall", + "src": "6741:15:11" + }, + { + "name": "memberValue0", + "nodeType": "YulIdentifier", + "src": "6758:12:11" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "6734:6:11" + }, + "nodeType": "YulFunctionCall", + "src": "6734:37:11" + }, + "nodeType": "YulExpressionStatement", + "src": "6734:37:11" + }, + { + "nodeType": "YulVariableDeclaration", + "src": "6784:14:11", + "value": { + "kind": "number", + "nodeType": "YulLiteral", + "src": "6794:4:11", + "type": "", + "value": "0x40" + }, + "variables": [ + { + "name": "_5", + "nodeType": "YulTypedName", + "src": "6788:2:11", + "type": "" + } + ] + }, + { + "nodeType": "YulVariableDeclaration", + "src": "6811:40:11", + "value": { + "arguments": [ + { + "arguments": [ + { + "name": "_4", + "nodeType": "YulIdentifier", + "src": "6843:2:11" + }, + { + "name": "_5", + "nodeType": "YulIdentifier", + "src": "6847:2:11" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "6839:3:11" + }, + "nodeType": "YulFunctionCall", + "src": "6839:11:11" + } + ], + "functionName": { + "name": "mload", + "nodeType": "YulIdentifier", + "src": "6833:5:11" + }, + "nodeType": "YulFunctionCall", + "src": "6833:18:11" + }, + "variables": [ + { + "name": "memberValue0_1", + "nodeType": "YulTypedName", + "src": "6815:14:11", + "type": "" + } + ] + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "tail_2", + "nodeType": "YulIdentifier", + "src": "6875:6:11" + }, + { + "name": "_5", + "nodeType": "YulIdentifier", + "src": "6883:2:11" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "6871:3:11" + }, + "nodeType": "YulFunctionCall", + "src": "6871:15:11" + }, + { + "name": "_1", + "nodeType": "YulIdentifier", + "src": "6888:2:11" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "6864:6:11" + }, + "nodeType": "YulFunctionCall", + "src": "6864:27:11" + }, + "nodeType": "YulExpressionStatement", + "src": "6864:27:11" + }, + { + "nodeType": "YulVariableDeclaration", + "src": "6904:19:11", + "value": { + "name": "tail_3", + "nodeType": "YulIdentifier", + "src": "6917:6:11" + }, + "variables": [ + { + "name": "pos_1", + "nodeType": "YulTypedName", + "src": "6908:5:11", + "type": "" + } + ] + }, + { + "nodeType": "YulVariableDeclaration", + "src": "6936:37:11", + "value": { + "arguments": [ + { + "name": "memberValue0_1", + "nodeType": "YulIdentifier", + "src": "6958:14:11" + } + ], + "functionName": { + "name": "mload", + "nodeType": "YulIdentifier", + "src": "6952:5:11" + }, + "nodeType": "YulFunctionCall", + "src": "6952:21:11" + }, + "variables": [ + { + "name": "length_1", + "nodeType": "YulTypedName", + "src": "6940:8:11", + "type": "" + } + ] + }, + { + "expression": { + "arguments": [ + { + "name": "tail_3", + "nodeType": "YulIdentifier", + "src": "6993:6:11" + }, + { + "name": "length_1", + "nodeType": "YulIdentifier", + "src": "7001:8:11" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "6986:6:11" + }, + "nodeType": "YulFunctionCall", + "src": "6986:24:11" + }, + "nodeType": "YulExpressionStatement", + "src": "6986:24:11" + }, + { + "nodeType": "YulAssignment", + "src": "7023:24:11", + "value": { + "arguments": [ + { + "name": "tail_2", + "nodeType": "YulIdentifier", + "src": "7036:6:11" + }, + { + "name": "_2", + "nodeType": "YulIdentifier", + "src": "7044:2:11" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "7032:3:11" + }, + "nodeType": "YulFunctionCall", + "src": "7032:15:11" + }, + "variableNames": [ + { + "name": "pos_1", + "nodeType": "YulIdentifier", + "src": "7023:5:11" + } + ] + }, + { + "nodeType": "YulVariableDeclaration", + "src": "7060:39:11", + "value": { + "arguments": [ + { + "name": "memberValue0_1", + "nodeType": "YulIdentifier", + "src": "7080:14:11" + }, + { + "name": "_3", + "nodeType": "YulIdentifier", + "src": "7096:2:11" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "7076:3:11" + }, + "nodeType": "YulFunctionCall", + "src": "7076:23:11" + }, + "variables": [ + { + "name": "srcPtr_1", + "nodeType": "YulTypedName", + "src": "7064:8:11", + "type": "" + } + ] + }, + { + "nodeType": "YulVariableDeclaration", + "src": "7112:12:11", + "value": { + "kind": "number", + "nodeType": "YulLiteral", + "src": "7123:1:11", + "type": "", + "value": "0" + }, + "variables": [ + { + "name": "i_1", + "nodeType": "YulTypedName", + "src": "7116:3:11", + "type": "" + } + ] + }, + { + "body": { + "nodeType": "YulBlock", + "src": "7198:175:11", + "statements": [ + { + "expression": { + "arguments": [ + { + "name": "pos_1", + "nodeType": "YulIdentifier", + "src": "7223:5:11" + }, + { + "arguments": [ + { + "arguments": [ + { + "name": "srcPtr_1", + "nodeType": "YulIdentifier", + "src": "7240:8:11" + } + ], + "functionName": { + "name": "mload", + "nodeType": "YulIdentifier", + "src": "7234:5:11" + }, + "nodeType": "YulFunctionCall", + "src": "7234:15:11" + }, + { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "7255:3:11", + "type": "", + "value": "224" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "7260:10:11", + "type": "", + "value": "0xffffffff" + } + ], + "functionName": { + "name": "shl", + "nodeType": "YulIdentifier", + "src": "7251:3:11" + }, + "nodeType": "YulFunctionCall", + "src": "7251:20:11" + } + ], + "functionName": { + "name": "and", + "nodeType": "YulIdentifier", + "src": "7230:3:11" + }, + "nodeType": "YulFunctionCall", + "src": "7230:42:11" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "7216:6:11" + }, + "nodeType": "YulFunctionCall", + "src": "7216:57:11" + }, + "nodeType": "YulExpressionStatement", + "src": "7216:57:11" + }, + { + "nodeType": "YulAssignment", + "src": "7290:23:11", + "value": { + "arguments": [ + { + "name": "pos_1", + "nodeType": "YulIdentifier", + "src": "7303:5:11" + }, + { + "name": "_3", + "nodeType": "YulIdentifier", + "src": "7310:2:11" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "7299:3:11" + }, + "nodeType": "YulFunctionCall", + "src": "7299:14:11" + }, + "variableNames": [ + { + "name": "pos_1", + "nodeType": "YulIdentifier", + "src": "7290:5:11" + } + ] + }, + { + "nodeType": "YulAssignment", + "src": "7330:29:11", + "value": { + "arguments": [ + { + "name": "srcPtr_1", + "nodeType": "YulIdentifier", + "src": "7346:8:11" + }, + { + "name": "_3", + "nodeType": "YulIdentifier", + "src": "7356:2:11" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "7342:3:11" + }, + "nodeType": "YulFunctionCall", + "src": "7342:17:11" + }, + "variableNames": [ + { + "name": "srcPtr_1", + "nodeType": "YulIdentifier", + "src": "7330:8:11" + } + ] + } + ] + }, + "condition": { + "arguments": [ + { + "name": "i_1", + "nodeType": "YulIdentifier", + "src": "7148:3:11" + }, + { + "name": "length_1", + "nodeType": "YulIdentifier", + "src": "7153:8:11" + } + ], + "functionName": { + "name": "lt", + "nodeType": "YulIdentifier", + "src": "7145:2:11" + }, + "nodeType": "YulFunctionCall", + "src": "7145:17:11" + }, + "nodeType": "YulForLoop", + "post": { + "nodeType": "YulBlock", + "src": "7163:22:11", + "statements": [ + { + "nodeType": "YulAssignment", + "src": "7165:18:11", + "value": { + "arguments": [ + { + "name": "i_1", + "nodeType": "YulIdentifier", + "src": "7176:3:11" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "7181:1:11", + "type": "", + "value": "1" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "7172:3:11" + }, + "nodeType": "YulFunctionCall", + "src": "7172:11:11" + }, + "variableNames": [ + { + "name": "i_1", + "nodeType": "YulIdentifier", + "src": "7165:3:11" + } + ] + } + ] + }, + "pre": { + "nodeType": "YulBlock", + "src": "7141:3:11", + "statements": [] + }, + "src": "7137:236:11" + }, + { + "nodeType": "YulAssignment", + "src": "7386:15:11", + "value": { + "name": "pos_1", + "nodeType": "YulIdentifier", + "src": "7396:5:11" + }, + "variableNames": [ + { + "name": "tail_2", + "nodeType": "YulIdentifier", + "src": "7386:6:11" + } + ] + }, + { + "nodeType": "YulAssignment", + "src": "7414:25:11", + "value": { + "arguments": [ + { + "name": "srcPtr", + "nodeType": "YulIdentifier", + "src": "7428:6:11" + }, + { + "name": "_3", + "nodeType": "YulIdentifier", + "src": "7436:2:11" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "7424:3:11" + }, + "nodeType": "YulFunctionCall", + "src": "7424:15:11" + }, + "variableNames": [ + { + "name": "srcPtr", + "nodeType": "YulIdentifier", + "src": "7414:6:11" + } + ] + }, + { + "nodeType": "YulAssignment", + "src": "7452:19:11", + "value": { + "arguments": [ + { + "name": "pos", + "nodeType": "YulIdentifier", + "src": "7463:3:11" + }, + { + "name": "_3", + "nodeType": "YulIdentifier", + "src": "7468:2:11" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "7459:3:11" + }, + "nodeType": "YulFunctionCall", + "src": "7459:12:11" + }, + "variableNames": [ + { + "name": "pos", + "nodeType": "YulIdentifier", + "src": "7452:3:11" + } + ] + } + ] + }, + "condition": { + "arguments": [ + { + "name": "i", + "nodeType": "YulIdentifier", + "src": "6243:1:11" + }, + { + "name": "length", + "nodeType": "YulIdentifier", + "src": "6246:6:11" + } + ], + "functionName": { + "name": "lt", + "nodeType": "YulIdentifier", + "src": "6240:2:11" + }, + "nodeType": "YulFunctionCall", + "src": "6240:13:11" + }, + "nodeType": "YulForLoop", + "post": { + "nodeType": "YulBlock", + "src": "6254:18:11", + "statements": [ + { + "nodeType": "YulAssignment", + "src": "6256:14:11", + "value": { + "arguments": [ + { + "name": "i", + "nodeType": "YulIdentifier", + "src": "6265:1:11" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "6268:1:11", + "type": "", + "value": "1" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "6261:3:11" + }, + "nodeType": "YulFunctionCall", + "src": "6261:9:11" + }, + "variableNames": [ + { + "name": "i", + "nodeType": "YulIdentifier", + "src": "6256:1:11" + } + ] + } + ] + }, + "pre": { + "nodeType": "YulBlock", + "src": "6236:3:11", + "statements": [] + }, + "src": "6232:1249:11" + }, + { + "expression": { + "arguments": [ + { + "name": "value1", + "nodeType": "YulIdentifier", + "src": "7509:6:11" + }, + { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "7521:9:11" + }, + { + "name": "_3", + "nodeType": "YulIdentifier", + "src": "7532:2:11" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "7517:3:11" + }, + "nodeType": "YulFunctionCall", + "src": "7517:18:11" + } + ], + "functionName": { + "name": "abi_encode_address", + "nodeType": "YulIdentifier", + "src": "7490:18:11" + }, + "nodeType": "YulFunctionCall", + "src": "7490:46:11" + }, + "nodeType": "YulExpressionStatement", + "src": "7490:46:11" + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "7556:9:11" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "7567:4:11", + "type": "", + "value": "0x40" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "7552:3:11" + }, + "nodeType": "YulFunctionCall", + "src": "7552:20:11" + }, + { + "arguments": [ + { + "name": "tail_2", + "nodeType": "YulIdentifier", + "src": "7578:6:11" + }, + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "7586:9:11" + } + ], + "functionName": { + "name": "sub", + "nodeType": "YulIdentifier", + "src": "7574:3:11" + }, + "nodeType": "YulFunctionCall", + "src": "7574:22:11" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "7545:6:11" + }, + "nodeType": "YulFunctionCall", + "src": "7545:52:11" + }, + "nodeType": "YulExpressionStatement", + "src": "7545:52:11" + }, + { + "nodeType": "YulAssignment", + "src": "7606:40:11", + "value": { + "arguments": [ + { + "name": "value2", + "nodeType": "YulIdentifier", + "src": "7631:6:11" + }, + { + "name": "tail_2", + "nodeType": "YulIdentifier", + "src": "7639:6:11" + } + ], + "functionName": { + "name": "abi_encode_bytes", + "nodeType": "YulIdentifier", + "src": "7614:16:11" + }, + "nodeType": "YulFunctionCall", + "src": "7614:32:11" + }, + "variableNames": [ + { + "name": "tail", + "nodeType": "YulIdentifier", + "src": "7606:4:11" + } + ] + } + ] + }, + "name": "abi_encode_tuple_t_array$_t_struct$_FacetCut_$711_memory_ptr_$dyn_memory_ptr_t_address_t_bytes_memory_ptr__to_t_array$_t_struct$_FacetCut_$711_memory_ptr_$dyn_memory_ptr_t_address_t_bytes_memory_ptr__fromStack_reversed", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "headStart", + "nodeType": "YulTypedName", + "src": "5792:9:11", + "type": "" + }, + { + "name": "value2", + "nodeType": "YulTypedName", + "src": "5803:6:11", + "type": "" + }, + { + "name": "value1", + "nodeType": "YulTypedName", + "src": "5811:6:11", + "type": "" + }, + { + "name": "value0", + "nodeType": "YulTypedName", + "src": "5819:6:11", + "type": "" + } + ], + "returnVariables": [ + { + "name": "tail", + "nodeType": "YulTypedName", + "src": "5830:4:11", + "type": "" + } + ], + "src": "5564:2088:11" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "7831:233:11", + "statements": [ + { + "expression": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "7848:9:11" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "7859:2:11", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "7841:6:11" + }, + "nodeType": "YulFunctionCall", + "src": "7841:21:11" + }, + "nodeType": "YulExpressionStatement", + "src": "7841:21:11" + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "7882:9:11" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "7893:2:11", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "7878:3:11" + }, + "nodeType": "YulFunctionCall", + "src": "7878:18:11" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "7898:2:11", + "type": "", + "value": "43" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "7871:6:11" + }, + "nodeType": "YulFunctionCall", + "src": "7871:30:11" + }, + "nodeType": "YulExpressionStatement", + "src": "7871:30:11" + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "7921:9:11" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "7932:2:11", + "type": "", + "value": "64" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "7917:3:11" + }, + "nodeType": "YulFunctionCall", + "src": "7917:18:11" + }, + { + "hexValue": "4c69624469616d6f6e644375743a204e6f2073656c6563746f727320696e2066", + "kind": "string", + "nodeType": "YulLiteral", + "src": "7937:34:11", + "type": "", + "value": "LibDiamondCut: No selectors in f" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "7910:6:11" + }, + "nodeType": "YulFunctionCall", + "src": "7910:62:11" + }, + "nodeType": "YulExpressionStatement", + "src": "7910:62:11" + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "7992:9:11" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "8003:2:11", + "type": "", + "value": "96" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "7988:3:11" + }, + "nodeType": "YulFunctionCall", + "src": "7988:18:11" + }, + { + "hexValue": "6163657420746f20637574", + "kind": "string", + "nodeType": "YulLiteral", + "src": "8008:13:11", + "type": "", + "value": "acet to cut" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "7981:6:11" + }, + "nodeType": "YulFunctionCall", + "src": "7981:41:11" + }, + "nodeType": "YulExpressionStatement", + "src": "7981:41:11" + }, + { + "nodeType": "YulAssignment", + "src": "8031:27:11", + "value": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "8043:9:11" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "8054:3:11", + "type": "", + "value": "128" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "8039:3:11" + }, + "nodeType": "YulFunctionCall", + "src": "8039:19:11" + }, + "variableNames": [ + { + "name": "tail", + "nodeType": "YulIdentifier", + "src": "8031:4:11" + } + ] + } + ] + }, + "name": "abi_encode_tuple_t_stringliteral_1ffc682bcfedefd5e93ba9ed0c2d1bc0b18319886e3b4bd28a03a3d3729f85c0__to_t_string_memory_ptr__fromStack_reversed", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "headStart", + "nodeType": "YulTypedName", + "src": "7808:9:11", + "type": "" + } + ], + "returnVariables": [ + { + "name": "tail", + "nodeType": "YulTypedName", + "src": "7822:4:11", + "type": "" + } + ], + "src": "7657:407:11" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "8243:234:11", + "statements": [ + { + "expression": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "8260:9:11" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "8271:2:11", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "8253:6:11" + }, + "nodeType": "YulFunctionCall", + "src": "8253:21:11" + }, + "nodeType": "YulExpressionStatement", + "src": "8253:21:11" + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "8294:9:11" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "8305:2:11", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "8290:3:11" + }, + "nodeType": "YulFunctionCall", + "src": "8290:18:11" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "8310:2:11", + "type": "", + "value": "44" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "8283:6:11" + }, + "nodeType": "YulFunctionCall", + "src": "8283:30:11" + }, + "nodeType": "YulExpressionStatement", + "src": "8283:30:11" + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "8333:9:11" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "8344:2:11", + "type": "", + "value": "64" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "8329:3:11" + }, + "nodeType": "YulFunctionCall", + "src": "8329:18:11" + }, + { + "hexValue": "4c69624469616d6f6e644375743a204164642066616365742063616e27742062", + "kind": "string", + "nodeType": "YulLiteral", + "src": "8349:34:11", + "type": "", + "value": "LibDiamondCut: Add facet can't b" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "8322:6:11" + }, + "nodeType": "YulFunctionCall", + "src": "8322:62:11" + }, + "nodeType": "YulExpressionStatement", + "src": "8322:62:11" + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", "nodeType": "YulIdentifier", - "src": "5720:3:10" + "src": "8404:9:11" }, - "nodeType": "YulFunctionCall", - "src": "5720:12:10" - }, - "variableNames": [ { - "name": "pos", - "nodeType": "YulIdentifier", - "src": "5713:3:10" + "kind": "number", + "nodeType": "YulLiteral", + "src": "8415:2:11", + "type": "", + "value": "96" } - ] + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "8400:3:11" + }, + "nodeType": "YulFunctionCall", + "src": "8400:18:11" + }, + { + "hexValue": "652061646472657373283029", + "kind": "string", + "nodeType": "YulLiteral", + "src": "8420:14:11", + "type": "", + "value": "e address(0)" } - ] + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "8393:6:11" + }, + "nodeType": "YulFunctionCall", + "src": "8393:42:11" }, - "condition": { + "nodeType": "YulExpressionStatement", + "src": "8393:42:11" + }, + { + "nodeType": "YulAssignment", + "src": "8444:27:11", + "value": { "arguments": [ { - "name": "i", + "name": "headStart", "nodeType": "YulIdentifier", - "src": "4627:1:10" + "src": "8456:9:11" }, { - "name": "length", - "nodeType": "YulIdentifier", - "src": "4630:6:10" + "kind": "number", + "nodeType": "YulLiteral", + "src": "8467:3:11", + "type": "", + "value": "128" } ], "functionName": { - "name": "lt", + "name": "add", "nodeType": "YulIdentifier", - "src": "4624:2:10" + "src": "8452:3:11" }, "nodeType": "YulFunctionCall", - "src": "4624:13:10" + "src": "8452:19:11" }, - "nodeType": "YulForLoop", - "post": { - "nodeType": "YulBlock", - "src": "4638:18:10", - "statements": [ + "variableNames": [ + { + "name": "tail", + "nodeType": "YulIdentifier", + "src": "8444:4:11" + } + ] + } + ] + }, + "name": "abi_encode_tuple_t_stringliteral_64609d8b93c93a06b98d7db7a87b04044cd4a52c5661d603bb9b90ad8b914a3a__to_t_string_memory_ptr__fromStack_reversed", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "headStart", + "nodeType": "YulTypedName", + "src": "8220:9:11", + "type": "" + } + ], + "returnVariables": [ + { + "name": "tail", + "nodeType": "YulTypedName", + "src": "8234:4:11", + "type": "" + } + ], + "src": "8069:408:11" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "8656:243:11", + "statements": [ + { + "expression": { + "arguments": [ { - "nodeType": "YulAssignment", - "src": "4640:14:10", - "value": { - "arguments": [ - { - "name": "i", - "nodeType": "YulIdentifier", - "src": "4649:1:10" - }, - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "4652:1:10", - "type": "", - "value": "1" - } - ], - "functionName": { - "name": "add", - "nodeType": "YulIdentifier", - "src": "4645:3:10" - }, - "nodeType": "YulFunctionCall", - "src": "4645:9:10" - }, - "variableNames": [ - { - "name": "i", - "nodeType": "YulIdentifier", - "src": "4640:1:10" - } - ] + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "8673:9:11" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "8684:2:11", + "type": "", + "value": "32" } - ] - }, - "pre": { - "nodeType": "YulBlock", - "src": "4620:3:10", - "statements": [] + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "8666:6:11" + }, + "nodeType": "YulFunctionCall", + "src": "8666:21:11" }, - "src": "4616:1126:10" + "nodeType": "YulExpressionStatement", + "src": "8666:21:11" }, { "expression": { "arguments": [ - { - "name": "value1", - "nodeType": "YulIdentifier", - "src": "5772:6:10" - }, { "arguments": [ { "name": "headStart", "nodeType": "YulIdentifier", - "src": "5784:9:10" + "src": "8707:9:11" }, { - "name": "_3", - "nodeType": "YulIdentifier", - "src": "5795:2:10" + "kind": "number", + "nodeType": "YulLiteral", + "src": "8718:2:11", + "type": "", + "value": "32" } ], "functionName": { "name": "add", "nodeType": "YulIdentifier", - "src": "5780:3:10" + "src": "8703:3:11" }, "nodeType": "YulFunctionCall", - "src": "5780:18:10" + "src": "8703:18:11" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "8723:2:11", + "type": "", + "value": "53" } ], "functionName": { - "name": "abi_encode_t_address", + "name": "mstore", "nodeType": "YulIdentifier", - "src": "5751:20:10" + "src": "8696:6:11" }, "nodeType": "YulFunctionCall", - "src": "5751:48:10" + "src": "8696:30:11" }, "nodeType": "YulExpressionStatement", - "src": "5751:48:10" + "src": "8696:30:11" }, { "expression": { @@ -4756,116 +7322,133 @@ { "name": "headStart", "nodeType": "YulIdentifier", - "src": "5819:9:10" + "src": "8746:9:11" }, { "kind": "number", "nodeType": "YulLiteral", - "src": "5830:4:10", + "src": "8757:2:11", "type": "", - "value": "0x40" + "value": "64" } ], "functionName": { "name": "add", "nodeType": "YulIdentifier", - "src": "5815:3:10" + "src": "8742:3:11" }, "nodeType": "YulFunctionCall", - "src": "5815:20:10" + "src": "8742:18:11" }, + { + "hexValue": "4c69624469616d6f6e644375743a2043616e2774206164642066756e6374696f", + "kind": "string", + "nodeType": "YulLiteral", + "src": "8762:34:11", + "type": "", + "value": "LibDiamondCut: Can't add functio" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "8735:6:11" + }, + "nodeType": "YulFunctionCall", + "src": "8735:62:11" + }, + "nodeType": "YulExpressionStatement", + "src": "8735:62:11" + }, + { + "expression": { + "arguments": [ { "arguments": [ { - "name": "tail_2", + "name": "headStart", "nodeType": "YulIdentifier", - "src": "5841:6:10" + "src": "8817:9:11" }, { - "name": "headStart", - "nodeType": "YulIdentifier", - "src": "5849:9:10" + "kind": "number", + "nodeType": "YulLiteral", + "src": "8828:2:11", + "type": "", + "value": "96" } ], "functionName": { - "name": "sub", + "name": "add", "nodeType": "YulIdentifier", - "src": "5837:3:10" + "src": "8813:3:11" }, "nodeType": "YulFunctionCall", - "src": "5837:22:10" + "src": "8813:18:11" + }, + { + "hexValue": "6e207468617420616c726561647920657869737473", + "kind": "string", + "nodeType": "YulLiteral", + "src": "8833:23:11", + "type": "", + "value": "n that already exists" } ], "functionName": { "name": "mstore", "nodeType": "YulIdentifier", - "src": "5808:6:10" + "src": "8806:6:11" }, "nodeType": "YulFunctionCall", - "src": "5808:52:10" + "src": "8806:51:11" }, "nodeType": "YulExpressionStatement", - "src": "5808:52:10" + "src": "8806:51:11" }, { "nodeType": "YulAssignment", - "src": "5869:42:10", + "src": "8866:27:11", "value": { "arguments": [ { - "name": "value2", + "name": "headStart", "nodeType": "YulIdentifier", - "src": "5896:6:10" + "src": "8878:9:11" }, { - "name": "tail_2", - "nodeType": "YulIdentifier", - "src": "5904:6:10" + "kind": "number", + "nodeType": "YulLiteral", + "src": "8889:3:11", + "type": "", + "value": "128" } ], "functionName": { - "name": "abi_encode_t_bytes", + "name": "add", "nodeType": "YulIdentifier", - "src": "5877:18:10" + "src": "8874:3:11" }, "nodeType": "YulFunctionCall", - "src": "5877:34:10" + "src": "8874:19:11" }, "variableNames": [ { "name": "tail", "nodeType": "YulIdentifier", - "src": "5869:4:10" + "src": "8866:4:11" } ] } ] }, - "name": "abi_encode_tuple_t_array$_t_struct$_FacetCut_$679_memory_ptr_$dyn_memory_ptr_t_address_t_bytes_memory_ptr__to_t_array$_t_struct$_FacetCut_$679_memory_ptr_$dyn_memory_ptr_t_address_t_bytes_memory_ptr__fromStack_reversed", + "name": "abi_encode_tuple_t_stringliteral_99a7418ee014d613f46da44561258cdbb58064508097483a319062b99fa37700__to_t_string_memory_ptr__fromStack_reversed", "nodeType": "YulFunctionDefinition", "parameters": [ { "name": "headStart", "nodeType": "YulTypedName", - "src": "4172:9:10", - "type": "" - }, - { - "name": "value2", - "nodeType": "YulTypedName", - "src": "4183:6:10", - "type": "" - }, - { - "name": "value1", - "nodeType": "YulTypedName", - "src": "4191:6:10", - "type": "" - }, - { - "name": "value0", - "nodeType": "YulTypedName", - "src": "4199:6:10", + "src": "8633:9:11", "type": "" } ], @@ -4873,126 +7456,210 @@ { "name": "tail", "nodeType": "YulTypedName", - "src": "4210:4:10", + "src": "8647:4:11", "type": "" } ], - "src": "3944:1973:10" + "src": "8482:417:11" }, { "body": { "nodeType": "YulBlock", - "src": "6043:100:10", + "src": "8950:163:11", "statements": [ { - "expression": { + "nodeType": "YulVariableDeclaration", + "src": "8960:28:11", + "value": { + "arguments": [ + { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "8978:2:11", + "type": "", + "value": "96" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "8982:1:11", + "type": "", + "value": "1" + } + ], + "functionName": { + "name": "shl", + "nodeType": "YulIdentifier", + "src": "8974:3:11" + }, + "nodeType": "YulFunctionCall", + "src": "8974:10:11" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "8986:1:11", + "type": "", + "value": "1" + } + ], + "functionName": { + "name": "sub", + "nodeType": "YulIdentifier", + "src": "8970:3:11" + }, + "nodeType": "YulFunctionCall", + "src": "8970:18:11" + }, + "variables": [ + { + "name": "_1", + "nodeType": "YulTypedName", + "src": "8964:2:11", + "type": "" + } + ] + }, + { + "nodeType": "YulVariableDeclaration", + "src": "8997:29:11", + "value": { + "arguments": [ + { + "name": "value", + "nodeType": "YulIdentifier", + "src": "9016:5:11" + }, + { + "name": "_1", + "nodeType": "YulIdentifier", + "src": "9023:2:11" + } + ], + "functionName": { + "name": "and", + "nodeType": "YulIdentifier", + "src": "9012:3:11" + }, + "nodeType": "YulFunctionCall", + "src": "9012:14:11" + }, + "variables": [ + { + "name": "value_1", + "nodeType": "YulTypedName", + "src": "9001:7:11", + "type": "" + } + ] + }, + { + "body": { + "nodeType": "YulBlock", + "src": "9054:22:11", + "statements": [ + { + "expression": { + "arguments": [], + "functionName": { + "name": "panic_error_0x11", + "nodeType": "YulIdentifier", + "src": "9056:16:11" + }, + "nodeType": "YulFunctionCall", + "src": "9056:18:11" + }, + "nodeType": "YulExpressionStatement", + "src": "9056:18:11" + } + ] + }, + "condition": { "arguments": [ { - "name": "headStart", + "name": "value_1", "nodeType": "YulIdentifier", - "src": "6060:9:10" + "src": "9041:7:11" }, { - "kind": "number", - "nodeType": "YulLiteral", - "src": "6071:2:10", - "type": "", - "value": "32" + "name": "_1", + "nodeType": "YulIdentifier", + "src": "9050:2:11" } ], "functionName": { - "name": "mstore", + "name": "eq", "nodeType": "YulIdentifier", - "src": "6053:6:10" + "src": "9038:2:11" }, "nodeType": "YulFunctionCall", - "src": "6053:21:10" + "src": "9038:15:11" }, - "nodeType": "YulExpressionStatement", - "src": "6053:21:10" + "nodeType": "YulIf", + "src": "9035:41:11" }, { "nodeType": "YulAssignment", - "src": "6083:54:10", + "src": "9085:22:11", "value": { "arguments": [ { - "name": "value0", + "name": "value_1", "nodeType": "YulIdentifier", - "src": "6110:6:10" + "src": "9096:7:11" }, { - "arguments": [ - { - "name": "headStart", - "nodeType": "YulIdentifier", - "src": "6122:9:10" - }, - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "6133:2:10", - "type": "", - "value": "32" - } - ], - "functionName": { - "name": "add", - "nodeType": "YulIdentifier", - "src": "6118:3:10" - }, - "nodeType": "YulFunctionCall", - "src": "6118:18:10" + "kind": "number", + "nodeType": "YulLiteral", + "src": "9105:1:11", + "type": "", + "value": "1" } ], "functionName": { - "name": "abi_encode_t_bytes", + "name": "add", "nodeType": "YulIdentifier", - "src": "6091:18:10" + "src": "9092:3:11" }, "nodeType": "YulFunctionCall", - "src": "6091:46:10" + "src": "9092:15:11" }, "variableNames": [ { - "name": "tail", + "name": "ret", "nodeType": "YulIdentifier", - "src": "6083:4:10" + "src": "9085:3:11" } ] } ] }, - "name": "abi_encode_tuple_t_string_memory_ptr__to_t_string_memory_ptr__fromStack_reversed", + "name": "increment_t_uint96", "nodeType": "YulFunctionDefinition", "parameters": [ { - "name": "headStart", - "nodeType": "YulTypedName", - "src": "6012:9:10", - "type": "" - }, - { - "name": "value0", + "name": "value", "nodeType": "YulTypedName", - "src": "6023:6:10", + "src": "8932:5:11", "type": "" } ], "returnVariables": [ { - "name": "tail", + "name": "ret", "nodeType": "YulTypedName", - "src": "6034:4:10", + "src": "8942:3:11", "type": "" } ], - "src": "5922:221:10" + "src": "8904:209:11" }, { "body": { "nodeType": "YulBlock", - "src": "6322:250:10", + "src": "9292:246:11", "statements": [ { "expression": { @@ -5000,12 +7667,12 @@ { "name": "headStart", "nodeType": "YulIdentifier", - "src": "6339:9:10" + "src": "9309:9:11" }, { "kind": "number", "nodeType": "YulLiteral", - "src": "6350:2:10", + "src": "9320:2:11", "type": "", "value": "32" } @@ -5013,13 +7680,13 @@ "functionName": { "name": "mstore", "nodeType": "YulIdentifier", - "src": "6332:6:10" + "src": "9302:6:11" }, "nodeType": "YulFunctionCall", - "src": "6332:21:10" + "src": "9302:21:11" }, "nodeType": "YulExpressionStatement", - "src": "6332:21:10" + "src": "9302:21:11" }, { "expression": { @@ -5029,12 +7696,12 @@ { "name": "headStart", "nodeType": "YulIdentifier", - "src": "6373:9:10" + "src": "9343:9:11" }, { "kind": "number", "nodeType": "YulLiteral", - "src": "6384:2:10", + "src": "9354:2:11", "type": "", "value": "32" } @@ -5042,29 +7709,29 @@ "functionName": { "name": "add", "nodeType": "YulIdentifier", - "src": "6369:3:10" + "src": "9339:3:11" }, "nodeType": "YulFunctionCall", - "src": "6369:18:10" + "src": "9339:18:11" }, { "kind": "number", "nodeType": "YulLiteral", - "src": "6389:2:10", + "src": "9359:2:11", "type": "", - "value": "60" + "value": "56" } ], "functionName": { "name": "mstore", "nodeType": "YulIdentifier", - "src": "6362:6:10" + "src": "9332:6:11" }, "nodeType": "YulFunctionCall", - "src": "6362:30:10" + "src": "9332:30:11" }, "nodeType": "YulExpressionStatement", - "src": "6362:30:10" + "src": "9332:30:11" }, { "expression": { @@ -5074,12 +7741,12 @@ { "name": "headStart", "nodeType": "YulIdentifier", - "src": "6412:9:10" + "src": "9382:9:11" }, { "kind": "number", "nodeType": "YulLiteral", - "src": "6423:2:10", + "src": "9393:2:11", "type": "", "value": "64" } @@ -5087,29 +7754,30 @@ "functionName": { "name": "add", "nodeType": "YulIdentifier", - "src": "6408:3:10" + "src": "9378:3:11" }, "nodeType": "YulFunctionCall", - "src": "6408:18:10" + "src": "9378:18:11" }, { + "hexValue": "4c69624469616d6f6e644375743a2043616e2774207265706c6163652066756e", "kind": "string", "nodeType": "YulLiteral", - "src": "6428:34:10", + "src": "9398:34:11", "type": "", - "value": "LibDiamondCut: _init is address(" + "value": "LibDiamondCut: Can't replace fun" } ], "functionName": { "name": "mstore", "nodeType": "YulIdentifier", - "src": "6401:6:10" + "src": "9371:6:11" }, "nodeType": "YulFunctionCall", - "src": "6401:62:10" + "src": "9371:62:11" }, "nodeType": "YulExpressionStatement", - "src": "6401:62:10" + "src": "9371:62:11" }, { "expression": { @@ -5119,12 +7787,12 @@ { "name": "headStart", "nodeType": "YulIdentifier", - "src": "6483:9:10" + "src": "9453:9:11" }, { "kind": "number", "nodeType": "YulLiteral", - "src": "6494:2:10", + "src": "9464:2:11", "type": "", "value": "96" } @@ -5132,44 +7800,45 @@ "functionName": { "name": "add", "nodeType": "YulIdentifier", - "src": "6479:3:10" + "src": "9449:3:11" }, "nodeType": "YulFunctionCall", - "src": "6479:18:10" + "src": "9449:18:11" }, { + "hexValue": "6374696f6e20776974682073616d652066756e6374696f6e", "kind": "string", "nodeType": "YulLiteral", - "src": "6499:30:10", + "src": "9469:26:11", "type": "", - "value": "0) but_calldata is not empty" + "value": "ction with same function" } ], "functionName": { "name": "mstore", "nodeType": "YulIdentifier", - "src": "6472:6:10" + "src": "9442:6:11" }, "nodeType": "YulFunctionCall", - "src": "6472:58:10" + "src": "9442:54:11" }, "nodeType": "YulExpressionStatement", - "src": "6472:58:10" + "src": "9442:54:11" }, { "nodeType": "YulAssignment", - "src": "6539:27:10", + "src": "9505:27:11", "value": { "arguments": [ { "name": "headStart", "nodeType": "YulIdentifier", - "src": "6551:9:10" + "src": "9517:9:11" }, { "kind": "number", "nodeType": "YulLiteral", - "src": "6562:3:10", + "src": "9528:3:11", "type": "", "value": "128" } @@ -5177,28 +7846,28 @@ "functionName": { "name": "add", "nodeType": "YulIdentifier", - "src": "6547:3:10" + "src": "9513:3:11" }, "nodeType": "YulFunctionCall", - "src": "6547:19:10" + "src": "9513:19:11" }, "variableNames": [ { "name": "tail", "nodeType": "YulIdentifier", - "src": "6539:4:10" + "src": "9505:4:11" } ] } ] }, - "name": "abi_encode_tuple_t_stringliteral_046c761a688d1dc3c500562bc5aaa3544f01f394f9bb3b69aa2a950a45afb1f8__to_t_string_memory_ptr__fromStack_reversed", + "name": "abi_encode_tuple_t_stringliteral_b5a7112edf707196456f338fdcc19cd849be6cb8c0d166bcd035f4cfb00e7078__to_t_string_memory_ptr__fromStack_reversed", "nodeType": "YulFunctionDefinition", "parameters": [ { "name": "headStart", "nodeType": "YulTypedName", - "src": "6299:9:10", + "src": "9269:9:11", "type": "" } ], @@ -5206,16 +7875,16 @@ { "name": "tail", "nodeType": "YulTypedName", - "src": "6313:4:10", + "src": "9283:4:11", "type": "" } ], - "src": "6148:424:10" + "src": "9118:420:11" }, { "body": { "nodeType": "YulBlock", - "src": "6751:228:10", + "src": "9717:244:11", "statements": [ { "expression": { @@ -5223,12 +7892,12 @@ { "name": "headStart", "nodeType": "YulIdentifier", - "src": "6768:9:10" + "src": "9734:9:11" }, { "kind": "number", "nodeType": "YulLiteral", - "src": "6779:2:10", + "src": "9745:2:11", "type": "", "value": "32" } @@ -5236,13 +7905,13 @@ "functionName": { "name": "mstore", "nodeType": "YulIdentifier", - "src": "6761:6:10" + "src": "9727:6:11" }, "nodeType": "YulFunctionCall", - "src": "6761:21:10" + "src": "9727:21:11" }, "nodeType": "YulExpressionStatement", - "src": "6761:21:10" + "src": "9727:21:11" }, { "expression": { @@ -5252,12 +7921,12 @@ { "name": "headStart", "nodeType": "YulIdentifier", - "src": "6802:9:10" + "src": "9768:9:11" }, { "kind": "number", "nodeType": "YulLiteral", - "src": "6813:2:10", + "src": "9779:2:11", "type": "", "value": "32" } @@ -5265,29 +7934,29 @@ "functionName": { "name": "add", "nodeType": "YulIdentifier", - "src": "6798:3:10" + "src": "9764:3:11" }, "nodeType": "YulFunctionCall", - "src": "6798:18:10" + "src": "9764:18:11" }, { "kind": "number", "nodeType": "YulLiteral", - "src": "6818:2:10", + "src": "9784:2:11", "type": "", - "value": "38" + "value": "54" } ], "functionName": { "name": "mstore", "nodeType": "YulIdentifier", - "src": "6791:6:10" + "src": "9757:6:11" }, "nodeType": "YulFunctionCall", - "src": "6791:30:10" + "src": "9757:30:11" }, "nodeType": "YulExpressionStatement", - "src": "6791:30:10" + "src": "9757:30:11" }, { "expression": { @@ -5297,12 +7966,12 @@ { "name": "headStart", "nodeType": "YulIdentifier", - "src": "6841:9:10" + "src": "9807:9:11" }, { "kind": "number", "nodeType": "YulLiteral", - "src": "6852:2:10", + "src": "9818:2:11", "type": "", "value": "64" } @@ -5310,29 +7979,30 @@ "functionName": { "name": "add", "nodeType": "YulIdentifier", - "src": "6837:3:10" + "src": "9803:3:11" }, "nodeType": "YulFunctionCall", - "src": "6837:18:10" + "src": "9803:18:11" }, { + "hexValue": "4c69624469616d6f6e644375743a2052656d6f76652066616365742061646472", "kind": "string", "nodeType": "YulLiteral", - "src": "6857:34:10", + "src": "9823:34:11", "type": "", - "value": "LibDiamondCut: _init function re" + "value": "LibDiamondCut: Remove facet addr" } ], "functionName": { "name": "mstore", "nodeType": "YulIdentifier", - "src": "6830:6:10" + "src": "9796:6:11" }, "nodeType": "YulFunctionCall", - "src": "6830:62:10" + "src": "9796:62:11" }, "nodeType": "YulExpressionStatement", - "src": "6830:62:10" + "src": "9796:62:11" }, { "expression": { @@ -5342,12 +8012,12 @@ { "name": "headStart", "nodeType": "YulIdentifier", - "src": "6912:9:10" + "src": "9878:9:11" }, { "kind": "number", "nodeType": "YulLiteral", - "src": "6923:2:10", + "src": "9889:2:11", "type": "", "value": "96" } @@ -5355,44 +8025,45 @@ "functionName": { "name": "add", "nodeType": "YulIdentifier", - "src": "6908:3:10" + "src": "9874:3:11" }, "nodeType": "YulFunctionCall", - "src": "6908:18:10" + "src": "9874:18:11" }, { + "hexValue": "657373206d7573742062652061646472657373283029", "kind": "string", "nodeType": "YulLiteral", - "src": "6928:8:10", + "src": "9894:24:11", "type": "", - "value": "verted" + "value": "ess must be address(0)" } ], "functionName": { "name": "mstore", "nodeType": "YulIdentifier", - "src": "6901:6:10" + "src": "9867:6:11" }, "nodeType": "YulFunctionCall", - "src": "6901:36:10" + "src": "9867:52:11" }, "nodeType": "YulExpressionStatement", - "src": "6901:36:10" + "src": "9867:52:11" }, { "nodeType": "YulAssignment", - "src": "6946:27:10", + "src": "9928:27:11", "value": { "arguments": [ { "name": "headStart", "nodeType": "YulIdentifier", - "src": "6958:9:10" + "src": "9940:9:11" }, { "kind": "number", "nodeType": "YulLiteral", - "src": "6969:3:10", + "src": "9951:3:11", "type": "", "value": "128" } @@ -5400,28 +8071,28 @@ "functionName": { "name": "add", "nodeType": "YulIdentifier", - "src": "6954:3:10" + "src": "9936:3:11" }, "nodeType": "YulFunctionCall", - "src": "6954:19:10" + "src": "9936:19:11" }, "variableNames": [ { "name": "tail", "nodeType": "YulIdentifier", - "src": "6946:4:10" + "src": "9928:4:11" } ] } ] }, - "name": "abi_encode_tuple_t_stringliteral_080b2fe78815767d522290509c8fce2af708c8a54455ca1b0cc978c92822465d__to_t_string_memory_ptr__fromStack_reversed", + "name": "abi_encode_tuple_t_stringliteral_b739aae768f79b96e91d9f66398733516895e39eb09ee54a795b49dcc77504d4__to_t_string_memory_ptr__fromStack_reversed", "nodeType": "YulFunctionDefinition", "parameters": [ { "name": "headStart", "nodeType": "YulTypedName", - "src": "6728:9:10", + "src": "9694:9:11", "type": "" } ], @@ -5429,16 +8100,16 @@ { "name": "tail", "nodeType": "YulTypedName", - "src": "6742:4:10", + "src": "9708:4:11", "type": "" } ], - "src": "6577:402:10" + "src": "9543:418:11" }, { "body": { "nodeType": "YulBlock", - "src": "7158:233:10", + "src": "10140:250:11", "statements": [ { "expression": { @@ -5446,12 +8117,12 @@ { "name": "headStart", "nodeType": "YulIdentifier", - "src": "7175:9:10" + "src": "10157:9:11" }, { "kind": "number", "nodeType": "YulLiteral", - "src": "7186:2:10", + "src": "10168:2:11", "type": "", "value": "32" } @@ -5459,13 +8130,13 @@ "functionName": { "name": "mstore", "nodeType": "YulIdentifier", - "src": "7168:6:10" + "src": "10150:6:11" }, "nodeType": "YulFunctionCall", - "src": "7168:21:10" + "src": "10150:21:11" }, "nodeType": "YulExpressionStatement", - "src": "7168:21:10" + "src": "10150:21:11" }, { "expression": { @@ -5475,12 +8146,12 @@ { "name": "headStart", "nodeType": "YulIdentifier", - "src": "7209:9:10" + "src": "10191:9:11" }, { "kind": "number", "nodeType": "YulLiteral", - "src": "7220:2:10", + "src": "10202:2:11", "type": "", "value": "32" } @@ -5488,29 +8159,29 @@ "functionName": { "name": "add", "nodeType": "YulIdentifier", - "src": "7205:3:10" + "src": "10187:3:11" }, "nodeType": "YulFunctionCall", - "src": "7205:18:10" + "src": "10187:18:11" }, { "kind": "number", "nodeType": "YulLiteral", - "src": "7225:2:10", + "src": "10207:2:11", "type": "", - "value": "43" + "value": "60" } ], "functionName": { "name": "mstore", "nodeType": "YulIdentifier", - "src": "7198:6:10" + "src": "10180:6:11" }, "nodeType": "YulFunctionCall", - "src": "7198:30:10" + "src": "10180:30:11" }, "nodeType": "YulExpressionStatement", - "src": "7198:30:10" + "src": "10180:30:11" }, { "expression": { @@ -5520,12 +8191,12 @@ { "name": "headStart", "nodeType": "YulIdentifier", - "src": "7248:9:10" + "src": "10230:9:11" }, { "kind": "number", "nodeType": "YulLiteral", - "src": "7259:2:10", + "src": "10241:2:11", "type": "", "value": "64" } @@ -5533,29 +8204,30 @@ "functionName": { "name": "add", "nodeType": "YulIdentifier", - "src": "7244:3:10" + "src": "10226:3:11" }, "nodeType": "YulFunctionCall", - "src": "7244:18:10" + "src": "10226:18:11" }, { + "hexValue": "4c69624469616d6f6e644375743a205f696e6974206973206164647265737328", "kind": "string", "nodeType": "YulLiteral", - "src": "7264:34:10", + "src": "10246:34:11", "type": "", - "value": "LibDiamondCut: No selectors in f" + "value": "LibDiamondCut: _init is address(" } ], "functionName": { "name": "mstore", "nodeType": "YulIdentifier", - "src": "7237:6:10" + "src": "10219:6:11" }, "nodeType": "YulFunctionCall", - "src": "7237:62:10" + "src": "10219:62:11" }, "nodeType": "YulExpressionStatement", - "src": "7237:62:10" + "src": "10219:62:11" }, { "expression": { @@ -5565,12 +8237,12 @@ { "name": "headStart", "nodeType": "YulIdentifier", - "src": "7319:9:10" + "src": "10301:9:11" }, { "kind": "number", "nodeType": "YulLiteral", - "src": "7330:2:10", + "src": "10312:2:11", "type": "", "value": "96" } @@ -5578,44 +8250,45 @@ "functionName": { "name": "add", "nodeType": "YulIdentifier", - "src": "7315:3:10" + "src": "10297:3:11" }, "nodeType": "YulFunctionCall", - "src": "7315:18:10" + "src": "10297:18:11" }, { + "hexValue": "3029206275745f63616c6c64617461206973206e6f7420656d707479", "kind": "string", "nodeType": "YulLiteral", - "src": "7335:13:10", + "src": "10317:30:11", "type": "", - "value": "acet to cut" + "value": "0) but_calldata is not empty" } ], "functionName": { "name": "mstore", "nodeType": "YulIdentifier", - "src": "7308:6:10" + "src": "10290:6:11" }, "nodeType": "YulFunctionCall", - "src": "7308:41:10" + "src": "10290:58:11" }, "nodeType": "YulExpressionStatement", - "src": "7308:41:10" + "src": "10290:58:11" }, { "nodeType": "YulAssignment", - "src": "7358:27:10", + "src": "10357:27:11", "value": { "arguments": [ { "name": "headStart", "nodeType": "YulIdentifier", - "src": "7370:9:10" + "src": "10369:9:11" }, { "kind": "number", "nodeType": "YulLiteral", - "src": "7381:3:10", + "src": "10380:3:11", "type": "", "value": "128" } @@ -5623,28 +8296,28 @@ "functionName": { "name": "add", "nodeType": "YulIdentifier", - "src": "7366:3:10" + "src": "10365:3:11" }, "nodeType": "YulFunctionCall", - "src": "7366:19:10" + "src": "10365:19:11" }, "variableNames": [ { "name": "tail", "nodeType": "YulIdentifier", - "src": "7358:4:10" + "src": "10357:4:11" } ] } ] }, - "name": "abi_encode_tuple_t_stringliteral_1ffc682bcfedefd5e93ba9ed0c2d1bc0b18319886e3b4bd28a03a3d3729f85c0__to_t_string_memory_ptr__fromStack_reversed", + "name": "abi_encode_tuple_t_stringliteral_046c761a688d1dc3c500562bc5aaa3544f01f394f9bb3b69aa2a950a45afb1f8__to_t_string_memory_ptr__fromStack_reversed", "nodeType": "YulFunctionDefinition", "parameters": [ { "name": "headStart", "nodeType": "YulTypedName", - "src": "7135:9:10", + "src": "10117:9:11", "type": "" } ], @@ -5652,16 +8325,16 @@ { "name": "tail", "nodeType": "YulTypedName", - "src": "7149:4:10", + "src": "10131:4:11", "type": "" } ], - "src": "6984:407:10" + "src": "9966:424:11" }, { "body": { "nodeType": "YulBlock", - "src": "7570:245:10", + "src": "10569:251:11", "statements": [ { "expression": { @@ -5669,12 +8342,12 @@ { "name": "headStart", "nodeType": "YulIdentifier", - "src": "7587:9:10" + "src": "10586:9:11" }, { "kind": "number", "nodeType": "YulLiteral", - "src": "7598:2:10", + "src": "10597:2:11", "type": "", "value": "32" } @@ -5682,13 +8355,13 @@ "functionName": { "name": "mstore", "nodeType": "YulIdentifier", - "src": "7580:6:10" + "src": "10579:6:11" }, "nodeType": "YulFunctionCall", - "src": "7580:21:10" + "src": "10579:21:11" }, "nodeType": "YulExpressionStatement", - "src": "7580:21:10" + "src": "10579:21:11" }, { "expression": { @@ -5698,12 +8371,12 @@ { "name": "headStart", "nodeType": "YulIdentifier", - "src": "7621:9:10" + "src": "10620:9:11" }, { "kind": "number", "nodeType": "YulLiteral", - "src": "7632:2:10", + "src": "10631:2:11", "type": "", "value": "32" } @@ -5711,29 +8384,29 @@ "functionName": { "name": "add", "nodeType": "YulIdentifier", - "src": "7617:3:10" + "src": "10616:3:11" }, "nodeType": "YulFunctionCall", - "src": "7617:18:10" + "src": "10616:18:11" }, { "kind": "number", "nodeType": "YulLiteral", - "src": "7637:2:10", + "src": "10636:2:11", "type": "", - "value": "55" + "value": "61" } ], "functionName": { "name": "mstore", "nodeType": "YulIdentifier", - "src": "7610:6:10" + "src": "10609:6:11" }, "nodeType": "YulFunctionCall", - "src": "7610:30:10" + "src": "10609:30:11" }, "nodeType": "YulExpressionStatement", - "src": "7610:30:10" + "src": "10609:30:11" }, { "expression": { @@ -5743,12 +8416,12 @@ { "name": "headStart", "nodeType": "YulIdentifier", - "src": "7660:9:10" + "src": "10659:9:11" }, { "kind": "number", "nodeType": "YulLiteral", - "src": "7671:2:10", + "src": "10670:2:11", "type": "", "value": "64" } @@ -5756,29 +8429,30 @@ "functionName": { "name": "add", "nodeType": "YulIdentifier", - "src": "7656:3:10" + "src": "10655:3:11" }, "nodeType": "YulFunctionCall", - "src": "7656:18:10" + "src": "10655:18:11" }, { + "hexValue": "4c69624469616d6f6e644375743a205f63616c6c6461746120697320656d7074", "kind": "string", "nodeType": "YulLiteral", - "src": "7676:34:10", + "src": "10675:34:11", "type": "", - "value": "LibDiamondCut: Can't remove func" + "value": "LibDiamondCut: _calldata is empt" } ], "functionName": { "name": "mstore", "nodeType": "YulIdentifier", - "src": "7649:6:10" + "src": "10648:6:11" }, "nodeType": "YulFunctionCall", - "src": "7649:62:10" + "src": "10648:62:11" }, "nodeType": "YulExpressionStatement", - "src": "7649:62:10" + "src": "10648:62:11" }, { "expression": { @@ -5788,12 +8462,12 @@ { "name": "headStart", "nodeType": "YulIdentifier", - "src": "7731:9:10" + "src": "10730:9:11" }, { "kind": "number", "nodeType": "YulLiteral", - "src": "7742:2:10", + "src": "10741:2:11", "type": "", "value": "96" } @@ -5801,44 +8475,45 @@ "functionName": { "name": "add", "nodeType": "YulIdentifier", - "src": "7727:3:10" + "src": "10726:3:11" }, "nodeType": "YulFunctionCall", - "src": "7727:18:10" + "src": "10726:18:11" }, { + "hexValue": "7920627574205f696e6974206973206e6f742061646472657373283029", "kind": "string", "nodeType": "YulLiteral", - "src": "7747:25:10", + "src": "10746:31:11", "type": "", - "value": "tion that doesn't exist" + "value": "y but _init is not address(0)" } ], "functionName": { "name": "mstore", "nodeType": "YulIdentifier", - "src": "7720:6:10" + "src": "10719:6:11" }, "nodeType": "YulFunctionCall", - "src": "7720:53:10" + "src": "10719:59:11" }, "nodeType": "YulExpressionStatement", - "src": "7720:53:10" + "src": "10719:59:11" }, { "nodeType": "YulAssignment", - "src": "7782:27:10", + "src": "10787:27:11", "value": { "arguments": [ { "name": "headStart", "nodeType": "YulIdentifier", - "src": "7794:9:10" + "src": "10799:9:11" }, { "kind": "number", "nodeType": "YulLiteral", - "src": "7805:3:10", + "src": "10810:3:11", "type": "", "value": "128" } @@ -5846,28 +8521,28 @@ "functionName": { "name": "add", "nodeType": "YulIdentifier", - "src": "7790:3:10" + "src": "10795:3:11" }, "nodeType": "YulFunctionCall", - "src": "7790:19:10" + "src": "10795:19:11" }, "variableNames": [ { "name": "tail", "nodeType": "YulIdentifier", - "src": "7782:4:10" + "src": "10787:4:11" } ] } ] }, - "name": "abi_encode_tuple_t_stringliteral_2c590e498c4d56c984a7092fd5e89a68b9f4541ce9f97252fb74e44a00ffbb71__to_t_string_memory_ptr__fromStack_reversed", + "name": "abi_encode_tuple_t_stringliteral_868d165ec2461661b624442252aed6a645399bfae7b60083a77ea1b61b084042__to_t_string_memory_ptr__fromStack_reversed", "nodeType": "YulFunctionDefinition", "parameters": [ { "name": "headStart", "nodeType": "YulTypedName", - "src": "7547:9:10", + "src": "10546:9:11", "type": "" } ], @@ -5875,43 +8550,44 @@ { "name": "tail", "nodeType": "YulTypedName", - "src": "7561:4:10", + "src": "10560:4:11", "type": "" } ], - "src": "7396:419:10" + "src": "10395:425:11" }, { "body": { "nodeType": "YulBlock", - "src": "7994:229:10", + "src": "10962:137:11", "statements": [ { - "expression": { + "nodeType": "YulVariableDeclaration", + "src": "10972:27:11", + "value": { "arguments": [ { - "name": "headStart", + "name": "value0", "nodeType": "YulIdentifier", - "src": "8011:9:10" - }, - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "8022:2:10", - "type": "", - "value": "32" + "src": "10992:6:11" } ], "functionName": { - "name": "mstore", + "name": "mload", "nodeType": "YulIdentifier", - "src": "8004:6:10" + "src": "10986:5:11" }, "nodeType": "YulFunctionCall", - "src": "8004:21:10" + "src": "10986:13:11" }, - "nodeType": "YulExpressionStatement", - "src": "8004:21:10" + "variables": [ + { + "name": "length", + "nodeType": "YulTypedName", + "src": "10976:6:11", + "type": "" + } + ] }, { "expression": { @@ -5919,178 +8595,205 @@ { "arguments": [ { - "name": "headStart", + "name": "value0", "nodeType": "YulIdentifier", - "src": "8045:9:10" + "src": "11034:6:11" }, { "kind": "number", "nodeType": "YulLiteral", - "src": "8056:2:10", + "src": "11042:4:11", "type": "", - "value": "32" + "value": "0x20" } ], "functionName": { "name": "add", "nodeType": "YulIdentifier", - "src": "8041:3:10" + "src": "11030:3:11" }, "nodeType": "YulFunctionCall", - "src": "8041:18:10" + "src": "11030:17:11" }, { - "kind": "number", - "nodeType": "YulLiteral", - "src": "8061:2:10", - "type": "", - "value": "39" + "name": "pos", + "nodeType": "YulIdentifier", + "src": "11049:3:11" + }, + { + "name": "length", + "nodeType": "YulIdentifier", + "src": "11054:6:11" } ], "functionName": { - "name": "mstore", + "name": "copy_memory_to_memory", "nodeType": "YulIdentifier", - "src": "8034:6:10" + "src": "11008:21:11" }, "nodeType": "YulFunctionCall", - "src": "8034:30:10" + "src": "11008:53:11" }, "nodeType": "YulExpressionStatement", - "src": "8034:30:10" + "src": "11008:53:11" }, { - "expression": { + "nodeType": "YulAssignment", + "src": "11070:23:11", + "value": { "arguments": [ { - "arguments": [ - { - "name": "headStart", - "nodeType": "YulIdentifier", - "src": "8084:9:10" - }, - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "8095:2:10", - "type": "", - "value": "64" - } - ], - "functionName": { - "name": "add", - "nodeType": "YulIdentifier", - "src": "8080:3:10" - }, - "nodeType": "YulFunctionCall", - "src": "8080:18:10" + "name": "pos", + "nodeType": "YulIdentifier", + "src": "11081:3:11" }, { - "kind": "string", - "nodeType": "YulLiteral", - "src": "8100:34:10", - "type": "", - "value": "LibDiamondCut: Incorrect FacetCu" + "name": "length", + "nodeType": "YulIdentifier", + "src": "11086:6:11" } ], "functionName": { - "name": "mstore", + "name": "add", "nodeType": "YulIdentifier", - "src": "8073:6:10" + "src": "11077:3:11" }, "nodeType": "YulFunctionCall", - "src": "8073:62:10" + "src": "11077:16:11" }, - "nodeType": "YulExpressionStatement", - "src": "8073:62:10" - }, + "variableNames": [ + { + "name": "end", + "nodeType": "YulIdentifier", + "src": "11070:3:11" + } + ] + } + ] + }, + "name": "abi_encode_tuple_packed_t_bytes_memory_ptr__to_t_bytes_memory_ptr__nonPadded_inplace_fromStack_reversed", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "pos", + "nodeType": "YulTypedName", + "src": "10938:3:11", + "type": "" + }, + { + "name": "value0", + "nodeType": "YulTypedName", + "src": "10943:6:11", + "type": "" + } + ], + "returnVariables": [ + { + "name": "end", + "nodeType": "YulTypedName", + "src": "10954:3:11", + "type": "" + } + ], + "src": "10825:274:11" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "11225:98:11", + "statements": [ { "expression": { "arguments": [ { - "arguments": [ - { - "name": "headStart", - "nodeType": "YulIdentifier", - "src": "8155:9:10" - }, - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "8166:2:10", - "type": "", - "value": "96" - } - ], - "functionName": { - "name": "add", - "nodeType": "YulIdentifier", - "src": "8151:3:10" - }, - "nodeType": "YulFunctionCall", - "src": "8151:18:10" + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "11242:9:11" }, { - "kind": "string", + "kind": "number", "nodeType": "YulLiteral", - "src": "8171:9:10", + "src": "11253:2:11", "type": "", - "value": "tAction" + "value": "32" } ], "functionName": { "name": "mstore", "nodeType": "YulIdentifier", - "src": "8144:6:10" + "src": "11235:6:11" }, "nodeType": "YulFunctionCall", - "src": "8144:37:10" + "src": "11235:21:11" }, "nodeType": "YulExpressionStatement", - "src": "8144:37:10" + "src": "11235:21:11" }, { "nodeType": "YulAssignment", - "src": "8190:27:10", + "src": "11265:52:11", "value": { "arguments": [ { - "name": "headStart", + "name": "value0", "nodeType": "YulIdentifier", - "src": "8202:9:10" + "src": "11290:6:11" }, { - "kind": "number", - "nodeType": "YulLiteral", - "src": "8213:3:10", - "type": "", - "value": "128" + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "11302:9:11" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "11313:2:11", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "11298:3:11" + }, + "nodeType": "YulFunctionCall", + "src": "11298:18:11" } ], "functionName": { - "name": "add", + "name": "abi_encode_bytes", "nodeType": "YulIdentifier", - "src": "8198:3:10" + "src": "11273:16:11" }, "nodeType": "YulFunctionCall", - "src": "8198:19:10" + "src": "11273:44:11" }, "variableNames": [ { "name": "tail", "nodeType": "YulIdentifier", - "src": "8190:4:10" + "src": "11265:4:11" } ] } ] }, - "name": "abi_encode_tuple_t_stringliteral_48267d8daf5ea9c6bbad1fe9c53dc4c04a2a01b2b85bad432956cf42f45b2f54__to_t_string_memory_ptr__fromStack_reversed", + "name": "abi_encode_tuple_t_string_memory_ptr__to_t_string_memory_ptr__fromStack_reversed", "nodeType": "YulFunctionDefinition", "parameters": [ { "name": "headStart", "nodeType": "YulTypedName", - "src": "7971:9:10", + "src": "11194:9:11", + "type": "" + }, + { + "name": "value0", + "nodeType": "YulTypedName", + "src": "11205:6:11", "type": "" } ], @@ -6098,16 +8801,16 @@ { "name": "tail", "nodeType": "YulTypedName", - "src": "7985:4:10", + "src": "11216:4:11", "type": "" } ], - "src": "7820:403:10" + "src": "11104:219:11" }, { "body": { "nodeType": "YulBlock", - "src": "8402:234:10", + "src": "11502:228:11", "statements": [ { "expression": { @@ -6115,12 +8818,12 @@ { "name": "headStart", "nodeType": "YulIdentifier", - "src": "8419:9:10" + "src": "11519:9:11" }, { "kind": "number", "nodeType": "YulLiteral", - "src": "8430:2:10", + "src": "11530:2:11", "type": "", "value": "32" } @@ -6128,13 +8831,13 @@ "functionName": { "name": "mstore", "nodeType": "YulIdentifier", - "src": "8412:6:10" + "src": "11512:6:11" }, "nodeType": "YulFunctionCall", - "src": "8412:21:10" + "src": "11512:21:11" }, "nodeType": "YulExpressionStatement", - "src": "8412:21:10" + "src": "11512:21:11" }, { "expression": { @@ -6144,12 +8847,12 @@ { "name": "headStart", "nodeType": "YulIdentifier", - "src": "8453:9:10" + "src": "11553:9:11" }, { "kind": "number", "nodeType": "YulLiteral", - "src": "8464:2:10", + "src": "11564:2:11", "type": "", "value": "32" } @@ -6157,29 +8860,29 @@ "functionName": { "name": "add", "nodeType": "YulIdentifier", - "src": "8449:3:10" + "src": "11549:3:11" }, "nodeType": "YulFunctionCall", - "src": "8449:18:10" + "src": "11549:18:11" }, { "kind": "number", "nodeType": "YulLiteral", - "src": "8469:2:10", + "src": "11569:2:11", "type": "", - "value": "44" + "value": "38" } ], "functionName": { "name": "mstore", "nodeType": "YulIdentifier", - "src": "8442:6:10" + "src": "11542:6:11" }, "nodeType": "YulFunctionCall", - "src": "8442:30:10" + "src": "11542:30:11" }, "nodeType": "YulExpressionStatement", - "src": "8442:30:10" + "src": "11542:30:11" }, { "expression": { @@ -6189,12 +8892,12 @@ { "name": "headStart", "nodeType": "YulIdentifier", - "src": "8492:9:10" + "src": "11592:9:11" }, { "kind": "number", "nodeType": "YulLiteral", - "src": "8503:2:10", + "src": "11603:2:11", "type": "", "value": "64" } @@ -6202,29 +8905,30 @@ "functionName": { "name": "add", "nodeType": "YulIdentifier", - "src": "8488:3:10" + "src": "11588:3:11" }, "nodeType": "YulFunctionCall", - "src": "8488:18:10" + "src": "11588:18:11" }, { + "hexValue": "4c69624469616d6f6e644375743a205f696e69742066756e6374696f6e207265", "kind": "string", "nodeType": "YulLiteral", - "src": "8508:34:10", + "src": "11608:34:11", "type": "", - "value": "LibDiamondCut: Add facet can't b" + "value": "LibDiamondCut: _init function re" } ], "functionName": { "name": "mstore", "nodeType": "YulIdentifier", - "src": "8481:6:10" + "src": "11581:6:11" }, "nodeType": "YulFunctionCall", - "src": "8481:62:10" + "src": "11581:62:11" }, "nodeType": "YulExpressionStatement", - "src": "8481:62:10" + "src": "11581:62:11" }, { "expression": { @@ -6234,12 +8938,12 @@ { "name": "headStart", "nodeType": "YulIdentifier", - "src": "8563:9:10" + "src": "11663:9:11" }, { "kind": "number", "nodeType": "YulLiteral", - "src": "8574:2:10", + "src": "11674:2:11", "type": "", "value": "96" } @@ -6247,44 +8951,45 @@ "functionName": { "name": "add", "nodeType": "YulIdentifier", - "src": "8559:3:10" + "src": "11659:3:11" }, "nodeType": "YulFunctionCall", - "src": "8559:18:10" + "src": "11659:18:11" }, { + "hexValue": "766572746564", "kind": "string", "nodeType": "YulLiteral", - "src": "8579:14:10", + "src": "11679:8:11", "type": "", - "value": "e address(0)" + "value": "verted" } ], "functionName": { "name": "mstore", "nodeType": "YulIdentifier", - "src": "8552:6:10" + "src": "11652:6:11" }, "nodeType": "YulFunctionCall", - "src": "8552:42:10" + "src": "11652:36:11" }, "nodeType": "YulExpressionStatement", - "src": "8552:42:10" + "src": "11652:36:11" }, { "nodeType": "YulAssignment", - "src": "8603:27:10", + "src": "11697:27:11", "value": { "arguments": [ { "name": "headStart", "nodeType": "YulIdentifier", - "src": "8615:9:10" + "src": "11709:9:11" }, { "kind": "number", "nodeType": "YulLiteral", - "src": "8626:3:10", + "src": "11720:3:11", "type": "", "value": "128" } @@ -6292,28 +8997,28 @@ "functionName": { "name": "add", "nodeType": "YulIdentifier", - "src": "8611:3:10" + "src": "11705:3:11" }, "nodeType": "YulFunctionCall", - "src": "8611:19:10" + "src": "11705:19:11" }, "variableNames": [ { "name": "tail", "nodeType": "YulIdentifier", - "src": "8603:4:10" + "src": "11697:4:11" } ] } ] }, - "name": "abi_encode_tuple_t_stringliteral_64609d8b93c93a06b98d7db7a87b04044cd4a52c5661d603bb9b90ad8b914a3a__to_t_string_memory_ptr__fromStack_reversed", + "name": "abi_encode_tuple_t_stringliteral_080b2fe78815767d522290509c8fce2af708c8a54455ca1b0cc978c92822465d__to_t_string_memory_ptr__fromStack_reversed", "nodeType": "YulFunctionDefinition", "parameters": [ { "name": "headStart", "nodeType": "YulTypedName", - "src": "8379:9:10", + "src": "11479:9:11", "type": "" } ], @@ -6321,16 +9026,16 @@ { "name": "tail", "nodeType": "YulTypedName", - "src": "8393:4:10", + "src": "11493:4:11", "type": "" } ], - "src": "8228:408:10" + "src": "11328:402:11" }, { "body": { "nodeType": "YulBlock", - "src": "8815:251:10", + "src": "11909:245:11", "statements": [ { "expression": { @@ -6338,12 +9043,12 @@ { "name": "headStart", "nodeType": "YulIdentifier", - "src": "8832:9:10" + "src": "11926:9:11" }, { "kind": "number", "nodeType": "YulLiteral", - "src": "8843:2:10", + "src": "11937:2:11", "type": "", "value": "32" } @@ -6351,13 +9056,13 @@ "functionName": { "name": "mstore", "nodeType": "YulIdentifier", - "src": "8825:6:10" + "src": "11919:6:11" }, "nodeType": "YulFunctionCall", - "src": "8825:21:10" + "src": "11919:21:11" }, "nodeType": "YulExpressionStatement", - "src": "8825:21:10" + "src": "11919:21:11" }, { "expression": { @@ -6367,12 +9072,12 @@ { "name": "headStart", "nodeType": "YulIdentifier", - "src": "8866:9:10" + "src": "11960:9:11" }, { "kind": "number", "nodeType": "YulLiteral", - "src": "8877:2:10", + "src": "11971:2:11", "type": "", "value": "32" } @@ -6380,29 +9085,29 @@ "functionName": { "name": "add", "nodeType": "YulIdentifier", - "src": "8862:3:10" + "src": "11956:3:11" }, "nodeType": "YulFunctionCall", - "src": "8862:18:10" + "src": "11956:18:11" }, { "kind": "number", "nodeType": "YulLiteral", - "src": "8882:2:10", + "src": "11976:2:11", "type": "", - "value": "61" + "value": "55" } ], "functionName": { "name": "mstore", "nodeType": "YulIdentifier", - "src": "8855:6:10" + "src": "11949:6:11" }, "nodeType": "YulFunctionCall", - "src": "8855:30:10" + "src": "11949:30:11" }, "nodeType": "YulExpressionStatement", - "src": "8855:30:10" + "src": "11949:30:11" }, { "expression": { @@ -6412,12 +9117,12 @@ { "name": "headStart", "nodeType": "YulIdentifier", - "src": "8905:9:10" + "src": "11999:9:11" }, { "kind": "number", "nodeType": "YulLiteral", - "src": "8916:2:10", + "src": "12010:2:11", "type": "", "value": "64" } @@ -6425,29 +9130,30 @@ "functionName": { "name": "add", "nodeType": "YulIdentifier", - "src": "8901:3:10" + "src": "11995:3:11" }, "nodeType": "YulFunctionCall", - "src": "8901:18:10" + "src": "11995:18:11" }, { + "hexValue": "4c69624469616d6f6e644375743a2043616e27742072656d6f76652066756e63", "kind": "string", "nodeType": "YulLiteral", - "src": "8921:34:10", + "src": "12015:34:11", "type": "", - "value": "LibDiamondCut: _calldata is empt" + "value": "LibDiamondCut: Can't remove func" } ], "functionName": { "name": "mstore", "nodeType": "YulIdentifier", - "src": "8894:6:10" + "src": "11988:6:11" }, "nodeType": "YulFunctionCall", - "src": "8894:62:10" + "src": "11988:62:11" }, "nodeType": "YulExpressionStatement", - "src": "8894:62:10" + "src": "11988:62:11" }, { "expression": { @@ -6457,12 +9163,12 @@ { "name": "headStart", "nodeType": "YulIdentifier", - "src": "8976:9:10" + "src": "12070:9:11" }, { "kind": "number", "nodeType": "YulLiteral", - "src": "8987:2:10", + "src": "12081:2:11", "type": "", "value": "96" } @@ -6470,44 +9176,45 @@ "functionName": { "name": "add", "nodeType": "YulIdentifier", - "src": "8972:3:10" + "src": "12066:3:11" }, "nodeType": "YulFunctionCall", - "src": "8972:18:10" + "src": "12066:18:11" }, { + "hexValue": "74696f6e207468617420646f65736e2774206578697374", "kind": "string", "nodeType": "YulLiteral", - "src": "8992:31:10", + "src": "12086:25:11", "type": "", - "value": "y but _init is not address(0)" + "value": "tion that doesn't exist" } ], "functionName": { "name": "mstore", "nodeType": "YulIdentifier", - "src": "8965:6:10" + "src": "12059:6:11" }, "nodeType": "YulFunctionCall", - "src": "8965:59:10" + "src": "12059:53:11" }, "nodeType": "YulExpressionStatement", - "src": "8965:59:10" + "src": "12059:53:11" }, { "nodeType": "YulAssignment", - "src": "9033:27:10", + "src": "12121:27:11", "value": { "arguments": [ { "name": "headStart", "nodeType": "YulIdentifier", - "src": "9045:9:10" + "src": "12133:9:11" }, { "kind": "number", "nodeType": "YulLiteral", - "src": "9056:3:10", + "src": "12144:3:11", "type": "", "value": "128" } @@ -6515,28 +9222,28 @@ "functionName": { "name": "add", "nodeType": "YulIdentifier", - "src": "9041:3:10" + "src": "12129:3:11" }, "nodeType": "YulFunctionCall", - "src": "9041:19:10" + "src": "12129:19:11" }, "variableNames": [ { "name": "tail", "nodeType": "YulIdentifier", - "src": "9033:4:10" + "src": "12121:4:11" } ] } ] }, - "name": "abi_encode_tuple_t_stringliteral_868d165ec2461661b624442252aed6a645399bfae7b60083a77ea1b61b084042__to_t_string_memory_ptr__fromStack_reversed", + "name": "abi_encode_tuple_t_stringliteral_2c590e498c4d56c984a7092fd5e89a68b9f4541ce9f97252fb74e44a00ffbb71__to_t_string_memory_ptr__fromStack_reversed", "nodeType": "YulFunctionDefinition", "parameters": [ { "name": "headStart", "nodeType": "YulTypedName", - "src": "8792:9:10", + "src": "11886:9:11", "type": "" } ], @@ -6544,16 +9251,16 @@ { "name": "tail", "nodeType": "YulTypedName", - "src": "8806:4:10", + "src": "11900:4:11", "type": "" } ], - "src": "8641:425:10" + "src": "11735:419:11" }, { "body": { "nodeType": "YulBlock", - "src": "9245:236:10", + "src": "12333:236:11", "statements": [ { "expression": { @@ -6561,12 +9268,12 @@ { "name": "headStart", "nodeType": "YulIdentifier", - "src": "9262:9:10" + "src": "12350:9:11" }, { "kind": "number", "nodeType": "YulLiteral", - "src": "9273:2:10", + "src": "12361:2:11", "type": "", "value": "32" } @@ -6574,13 +9281,13 @@ "functionName": { "name": "mstore", "nodeType": "YulIdentifier", - "src": "9255:6:10" + "src": "12343:6:11" }, "nodeType": "YulFunctionCall", - "src": "9255:21:10" + "src": "12343:21:11" }, "nodeType": "YulExpressionStatement", - "src": "9255:21:10" + "src": "12343:21:11" }, { "expression": { @@ -6590,12 +9297,12 @@ { "name": "headStart", "nodeType": "YulIdentifier", - "src": "9296:9:10" + "src": "12384:9:11" }, { "kind": "number", "nodeType": "YulLiteral", - "src": "9307:2:10", + "src": "12395:2:11", "type": "", "value": "32" } @@ -6603,15 +9310,15 @@ "functionName": { "name": "add", "nodeType": "YulIdentifier", - "src": "9292:3:10" + "src": "12380:3:11" }, "nodeType": "YulFunctionCall", - "src": "9292:18:10" + "src": "12380:18:11" }, { "kind": "number", "nodeType": "YulLiteral", - "src": "9312:2:10", + "src": "12400:2:11", "type": "", "value": "46" } @@ -6619,13 +9326,13 @@ "functionName": { "name": "mstore", "nodeType": "YulIdentifier", - "src": "9285:6:10" + "src": "12373:6:11" }, "nodeType": "YulFunctionCall", - "src": "9285:30:10" + "src": "12373:30:11" }, "nodeType": "YulExpressionStatement", - "src": "9285:30:10" + "src": "12373:30:11" }, { "expression": { @@ -6635,12 +9342,12 @@ { "name": "headStart", "nodeType": "YulIdentifier", - "src": "9335:9:10" + "src": "12423:9:11" }, { "kind": "number", "nodeType": "YulLiteral", - "src": "9346:2:10", + "src": "12434:2:11", "type": "", "value": "64" } @@ -6648,15 +9355,16 @@ "functionName": { "name": "add", "nodeType": "YulIdentifier", - "src": "9331:3:10" + "src": "12419:3:11" }, "nodeType": "YulFunctionCall", - "src": "9331:18:10" + "src": "12419:18:11" }, { + "hexValue": "4c69624469616d6f6e644375743a2043616e27742072656d6f766520696d6d75", "kind": "string", "nodeType": "YulLiteral", - "src": "9351:34:10", + "src": "12439:34:11", "type": "", "value": "LibDiamondCut: Can't remove immu" } @@ -6664,13 +9372,13 @@ "functionName": { "name": "mstore", "nodeType": "YulIdentifier", - "src": "9324:6:10" + "src": "12412:6:11" }, "nodeType": "YulFunctionCall", - "src": "9324:62:10" + "src": "12412:62:11" }, "nodeType": "YulExpressionStatement", - "src": "9324:62:10" + "src": "12412:62:11" }, { "expression": { @@ -6680,12 +9388,12 @@ { "name": "headStart", "nodeType": "YulIdentifier", - "src": "9406:9:10" + "src": "12494:9:11" }, { "kind": "number", "nodeType": "YulLiteral", - "src": "9417:2:10", + "src": "12505:2:11", "type": "", "value": "96" } @@ -6693,15 +9401,16 @@ "functionName": { "name": "add", "nodeType": "YulIdentifier", - "src": "9402:3:10" + "src": "12490:3:11" }, "nodeType": "YulFunctionCall", - "src": "9402:18:10" + "src": "12490:18:11" }, { + "hexValue": "7461626c652066756e6374696f6e", "kind": "string", "nodeType": "YulLiteral", - "src": "9422:16:10", + "src": "12510:16:11", "type": "", "value": "table function" } @@ -6709,28 +9418,28 @@ "functionName": { "name": "mstore", "nodeType": "YulIdentifier", - "src": "9395:6:10" + "src": "12483:6:11" }, "nodeType": "YulFunctionCall", - "src": "9395:44:10" + "src": "12483:44:11" }, "nodeType": "YulExpressionStatement", - "src": "9395:44:10" + "src": "12483:44:11" }, { "nodeType": "YulAssignment", - "src": "9448:27:10", + "src": "12536:27:11", "value": { "arguments": [ { "name": "headStart", "nodeType": "YulIdentifier", - "src": "9460:9:10" + "src": "12548:9:11" }, { "kind": "number", "nodeType": "YulLiteral", - "src": "9471:3:10", + "src": "12559:3:11", "type": "", "value": "128" } @@ -6738,16 +9447,16 @@ "functionName": { "name": "add", "nodeType": "YulIdentifier", - "src": "9456:3:10" + "src": "12544:3:11" }, "nodeType": "YulFunctionCall", - "src": "9456:19:10" + "src": "12544:19:11" }, "variableNames": [ { "name": "tail", "nodeType": "YulIdentifier", - "src": "9448:4:10" + "src": "12536:4:11" } ] } @@ -6759,7 +9468,7 @@ { "name": "headStart", "nodeType": "YulTypedName", - "src": "9222:9:10", + "src": "12310:9:11", "type": "" } ], @@ -6767,88 +9476,523 @@ { "name": "tail", "nodeType": "YulTypedName", - "src": "9236:4:10", + "src": "12324:4:11", "type": "" } ], - "src": "9071:410:10" + "src": "12159:410:11" }, { "body": { "nodeType": "YulBlock", - "src": "9660:243:10", + "src": "12623:76:11", "statements": [ { - "expression": { + "body": { + "nodeType": "YulBlock", + "src": "12645:22:11", + "statements": [ + { + "expression": { + "arguments": [], + "functionName": { + "name": "panic_error_0x11", + "nodeType": "YulIdentifier", + "src": "12647:16:11" + }, + "nodeType": "YulFunctionCall", + "src": "12647:18:11" + }, + "nodeType": "YulExpressionStatement", + "src": "12647:18:11" + } + ] + }, + "condition": { "arguments": [ { - "name": "headStart", + "name": "x", "nodeType": "YulIdentifier", - "src": "9677:9:10" + "src": "12639:1:11" }, { - "kind": "number", - "nodeType": "YulLiteral", - "src": "9688:2:10", - "type": "", - "value": "32" + "name": "y", + "nodeType": "YulIdentifier", + "src": "12642:1:11" } ], "functionName": { - "name": "mstore", + "name": "lt", "nodeType": "YulIdentifier", - "src": "9670:6:10" + "src": "12636:2:11" }, "nodeType": "YulFunctionCall", - "src": "9670:21:10" + "src": "12636:8:11" }, - "nodeType": "YulExpressionStatement", - "src": "9670:21:10" + "nodeType": "YulIf", + "src": "12633:34:11" }, + { + "nodeType": "YulAssignment", + "src": "12676:17:11", + "value": { + "arguments": [ + { + "name": "x", + "nodeType": "YulIdentifier", + "src": "12688:1:11" + }, + { + "name": "y", + "nodeType": "YulIdentifier", + "src": "12691:1:11" + } + ], + "functionName": { + "name": "sub", + "nodeType": "YulIdentifier", + "src": "12684:3:11" + }, + "nodeType": "YulFunctionCall", + "src": "12684:9:11" + }, + "variableNames": [ + { + "name": "diff", + "nodeType": "YulIdentifier", + "src": "12676:4:11" + } + ] + } + ] + }, + "name": "checked_sub_t_uint256", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "x", + "nodeType": "YulTypedName", + "src": "12605:1:11", + "type": "" + }, + { + "name": "y", + "nodeType": "YulTypedName", + "src": "12608:1:11", + "type": "" + } + ], + "returnVariables": [ + { + "name": "diff", + "nodeType": "YulTypedName", + "src": "12614:4:11", + "type": "" + } + ], + "src": "12574:125:11" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "12736:95:11", + "statements": [ { "expression": { "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "12753:1:11", + "type": "", + "value": "0" + }, { "arguments": [ { - "name": "headStart", - "nodeType": "YulIdentifier", - "src": "9711:9:10" + "kind": "number", + "nodeType": "YulLiteral", + "src": "12760:3:11", + "type": "", + "value": "224" }, { "kind": "number", "nodeType": "YulLiteral", - "src": "9722:2:10", + "src": "12765:10:11", "type": "", - "value": "32" + "value": "0x4e487b71" } ], "functionName": { - "name": "add", + "name": "shl", "nodeType": "YulIdentifier", - "src": "9707:3:10" + "src": "12756:3:11" }, "nodeType": "YulFunctionCall", - "src": "9707:18:10" + "src": "12756:20:11" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "12746:6:11" + }, + "nodeType": "YulFunctionCall", + "src": "12746:31:11" + }, + "nodeType": "YulExpressionStatement", + "src": "12746:31:11" + }, + { + "expression": { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "12793:1:11", + "type": "", + "value": "4" }, { "kind": "number", "nodeType": "YulLiteral", - "src": "9727:2:10", + "src": "12796:4:11", "type": "", - "value": "53" + "value": "0x31" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "12786:6:11" + }, + "nodeType": "YulFunctionCall", + "src": "12786:15:11" + }, + "nodeType": "YulExpressionStatement", + "src": "12786:15:11" + }, + { + "expression": { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "12817:1:11", + "type": "", + "value": "0" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "12820:4:11", + "type": "", + "value": "0x24" + } + ], + "functionName": { + "name": "revert", + "nodeType": "YulIdentifier", + "src": "12810:6:11" + }, + "nodeType": "YulFunctionCall", + "src": "12810:15:11" + }, + "nodeType": "YulExpressionStatement", + "src": "12810:15:11" + } + ] + }, + "name": "panic_error_0x31", + "nodeType": "YulFunctionDefinition", + "src": "12704:127:11" + } + ] + }, + "contents": "{\n { }\n function panic_error_0x41()\n {\n mstore(0, shl(224, 0x4e487b71))\n mstore(4, 0x41)\n revert(0, 0x24)\n }\n function allocate_memory_2973() -> memPtr\n {\n memPtr := mload(64)\n let newFreePtr := add(memPtr, 0x60)\n if or(gt(newFreePtr, sub(shl(64, 1), 1)), lt(newFreePtr, memPtr)) { panic_error_0x41() }\n mstore(64, newFreePtr)\n }\n function allocate_memory(size) -> memPtr\n {\n memPtr := mload(64)\n let newFreePtr := add(memPtr, and(add(size, 31), not(31)))\n if or(gt(newFreePtr, sub(shl(64, 1), 1)), lt(newFreePtr, memPtr)) { panic_error_0x41() }\n mstore(64, newFreePtr)\n }\n function array_allocation_size_array_struct_FacetCut_dyn(length) -> size\n {\n if gt(length, sub(shl(64, 1), 1)) { panic_error_0x41() }\n size := add(shl(5, length), 0x20)\n }\n function abi_decode_address_fromMemory(offset) -> value\n {\n value := mload(offset)\n if iszero(eq(value, and(value, sub(shl(160, 1), 1)))) { revert(0, 0) }\n }\n function abi_decode_struct_DiamondArgs_fromMemory(headStart, end) -> value\n {\n if slt(sub(end, headStart), 0x20) { revert(0, 0) }\n let memPtr := mload(64)\n let newFreePtr := add(memPtr, 0x20)\n if or(gt(newFreePtr, sub(shl(64, 1), 1)), lt(newFreePtr, memPtr)) { panic_error_0x41() }\n mstore(64, newFreePtr)\n value := memPtr\n mstore(memPtr, abi_decode_address_fromMemory(headStart))\n }\n function abi_decode_tuple_t_array$_t_struct$_FacetCut_$711_memory_ptr_$dyn_memory_ptrt_struct$_DiamondArgs_$310_memory_ptr_fromMemory(headStart, dataEnd) -> value0, value1\n {\n if slt(sub(dataEnd, headStart), 64) { revert(0, 0) }\n let offset := mload(headStart)\n let _1 := sub(shl(64, 1), 1)\n if gt(offset, _1) { revert(0, 0) }\n let _2 := add(headStart, offset)\n if iszero(slt(add(_2, 0x1f), dataEnd)) { revert(0, 0) }\n let _3 := mload(_2)\n let _4 := 0x20\n let dst := allocate_memory(array_allocation_size_array_struct_FacetCut_dyn(_3))\n let dst_1 := dst\n mstore(dst, _3)\n dst := add(dst, _4)\n let srcEnd := add(add(_2, shl(5, _3)), _4)\n if gt(srcEnd, dataEnd) { revert(0, 0) }\n let src := add(_2, _4)\n for { } lt(src, srcEnd) { src := add(src, _4) }\n {\n let innerOffset := mload(src)\n if gt(innerOffset, _1) { revert(0, 0) }\n let _5 := add(_2, innerOffset)\n if slt(add(sub(dataEnd, _5), not(31)), 0x60) { revert(0, 0) }\n let value := allocate_memory_2973()\n mstore(value, abi_decode_address_fromMemory(add(_5, _4)))\n let value_1 := mload(add(_5, 64))\n if iszero(lt(value_1, 3)) { revert(0, 0) }\n mstore(add(value, _4), value_1)\n let offset_1 := mload(add(_5, 0x60))\n if gt(offset_1, _1) { revert(0, 0) }\n let _6 := add(_5, offset_1)\n if iszero(slt(add(_6, 63), dataEnd)) { revert(0, 0) }\n let _7 := mload(add(_6, _4))\n let dst_2 := allocate_memory(array_allocation_size_array_struct_FacetCut_dyn(_7))\n let dst_3 := dst_2\n mstore(dst_2, _7)\n dst_2 := add(dst_2, _4)\n let srcEnd_1 := add(add(_6, shl(5, _7)), 64)\n if gt(srcEnd_1, dataEnd) { revert(0, 0) }\n let src_1 := add(_6, 64)\n for { } lt(src_1, srcEnd_1) { src_1 := add(src_1, _4) }\n {\n let value_2 := mload(src_1)\n if iszero(eq(value_2, and(value_2, shl(224, 0xffffffff)))) { revert(0, 0) }\n mstore(dst_2, value_2)\n dst_2 := add(dst_2, _4)\n }\n mstore(add(value, 64), dst_3)\n mstore(dst, value)\n dst := add(dst, _4)\n }\n value0 := dst_1\n value1 := abi_decode_struct_DiamondArgs_fromMemory(add(headStart, _4), dataEnd)\n }\n function panic_error_0x32()\n {\n mstore(0, shl(224, 0x4e487b71))\n mstore(4, 0x32)\n revert(0, 0x24)\n }\n function panic_error_0x21()\n {\n mstore(0, shl(224, 0x4e487b71))\n mstore(4, 0x21)\n revert(0, 0x24)\n }\n function abi_encode_tuple_t_stringliteral_48267d8daf5ea9c6bbad1fe9c53dc4c04a2a01b2b85bad432956cf42f45b2f54__to_t_string_memory_ptr__fromStack_reversed(headStart) -> tail\n {\n mstore(headStart, 32)\n mstore(add(headStart, 32), 39)\n mstore(add(headStart, 64), \"LibDiamondCut: Incorrect FacetCu\")\n mstore(add(headStart, 96), \"tAction\")\n tail := add(headStart, 128)\n }\n function panic_error_0x11()\n {\n mstore(0, shl(224, 0x4e487b71))\n mstore(4, 0x11)\n revert(0, 0x24)\n }\n function increment_t_uint256(value) -> ret\n {\n if eq(value, not(0)) { panic_error_0x11() }\n ret := add(value, 1)\n }\n function abi_encode_address(value, pos)\n {\n mstore(pos, and(value, sub(shl(160, 1), 1)))\n }\n function copy_memory_to_memory(src, dst, length)\n {\n let i := 0\n for { } lt(i, length) { i := add(i, 32) }\n {\n mstore(add(dst, i), mload(add(src, i)))\n }\n if gt(i, length) { mstore(add(dst, length), 0) }\n }\n function abi_encode_bytes(value, pos) -> end\n {\n let length := mload(value)\n mstore(pos, length)\n copy_memory_to_memory(add(value, 0x20), add(pos, 0x20), length)\n end := add(add(pos, and(add(length, 31), not(31))), 0x20)\n }\n function abi_encode_tuple_t_array$_t_struct$_FacetCut_$711_memory_ptr_$dyn_memory_ptr_t_address_t_bytes_memory_ptr__to_t_array$_t_struct$_FacetCut_$711_memory_ptr_$dyn_memory_ptr_t_address_t_bytes_memory_ptr__fromStack_reversed(headStart, value2, value1, value0) -> tail\n {\n let _1 := 96\n let tail_1 := add(headStart, _1)\n mstore(headStart, _1)\n let pos := tail_1\n let length := mload(value0)\n mstore(tail_1, length)\n let _2 := 128\n pos := add(headStart, _2)\n let tail_2 := add(add(headStart, shl(5, length)), _2)\n let _3 := 0x20\n let srcPtr := add(value0, _3)\n let i := 0\n for { } lt(i, length) { i := add(i, 1) }\n {\n mstore(pos, add(sub(tail_2, headStart), not(127)))\n let _4 := mload(srcPtr)\n let tail_3 := add(tail_2, _1)\n mstore(tail_2, and(mload(_4), sub(shl(160, 1), 1)))\n let memberValue0 := mload(add(_4, _3))\n if iszero(lt(memberValue0, 3))\n {\n mstore(0, shl(224, 0x4e487b71))\n mstore(4, 0x21)\n revert(0, 0x24)\n }\n mstore(add(tail_2, _3), memberValue0)\n let _5 := 0x40\n let memberValue0_1 := mload(add(_4, _5))\n mstore(add(tail_2, _5), _1)\n let pos_1 := tail_3\n let length_1 := mload(memberValue0_1)\n mstore(tail_3, length_1)\n pos_1 := add(tail_2, _2)\n let srcPtr_1 := add(memberValue0_1, _3)\n let i_1 := 0\n for { } lt(i_1, length_1) { i_1 := add(i_1, 1) }\n {\n mstore(pos_1, and(mload(srcPtr_1), shl(224, 0xffffffff)))\n pos_1 := add(pos_1, _3)\n srcPtr_1 := add(srcPtr_1, _3)\n }\n tail_2 := pos_1\n srcPtr := add(srcPtr, _3)\n pos := add(pos, _3)\n }\n abi_encode_address(value1, add(headStart, _3))\n mstore(add(headStart, 0x40), sub(tail_2, headStart))\n tail := abi_encode_bytes(value2, tail_2)\n }\n function abi_encode_tuple_t_stringliteral_1ffc682bcfedefd5e93ba9ed0c2d1bc0b18319886e3b4bd28a03a3d3729f85c0__to_t_string_memory_ptr__fromStack_reversed(headStart) -> tail\n {\n mstore(headStart, 32)\n mstore(add(headStart, 32), 43)\n mstore(add(headStart, 64), \"LibDiamondCut: No selectors in f\")\n mstore(add(headStart, 96), \"acet to cut\")\n tail := add(headStart, 128)\n }\n function abi_encode_tuple_t_stringliteral_64609d8b93c93a06b98d7db7a87b04044cd4a52c5661d603bb9b90ad8b914a3a__to_t_string_memory_ptr__fromStack_reversed(headStart) -> tail\n {\n mstore(headStart, 32)\n mstore(add(headStart, 32), 44)\n mstore(add(headStart, 64), \"LibDiamondCut: Add facet can't b\")\n mstore(add(headStart, 96), \"e address(0)\")\n tail := add(headStart, 128)\n }\n function abi_encode_tuple_t_stringliteral_99a7418ee014d613f46da44561258cdbb58064508097483a319062b99fa37700__to_t_string_memory_ptr__fromStack_reversed(headStart) -> tail\n {\n mstore(headStart, 32)\n mstore(add(headStart, 32), 53)\n mstore(add(headStart, 64), \"LibDiamondCut: Can't add functio\")\n mstore(add(headStart, 96), \"n that already exists\")\n tail := add(headStart, 128)\n }\n function increment_t_uint96(value) -> ret\n {\n let _1 := sub(shl(96, 1), 1)\n let value_1 := and(value, _1)\n if eq(value_1, _1) { panic_error_0x11() }\n ret := add(value_1, 1)\n }\n function abi_encode_tuple_t_stringliteral_b5a7112edf707196456f338fdcc19cd849be6cb8c0d166bcd035f4cfb00e7078__to_t_string_memory_ptr__fromStack_reversed(headStart) -> tail\n {\n mstore(headStart, 32)\n mstore(add(headStart, 32), 56)\n mstore(add(headStart, 64), \"LibDiamondCut: Can't replace fun\")\n mstore(add(headStart, 96), \"ction with same function\")\n tail := add(headStart, 128)\n }\n function abi_encode_tuple_t_stringliteral_b739aae768f79b96e91d9f66398733516895e39eb09ee54a795b49dcc77504d4__to_t_string_memory_ptr__fromStack_reversed(headStart) -> tail\n {\n mstore(headStart, 32)\n mstore(add(headStart, 32), 54)\n mstore(add(headStart, 64), \"LibDiamondCut: Remove facet addr\")\n mstore(add(headStart, 96), \"ess must be address(0)\")\n tail := add(headStart, 128)\n }\n function abi_encode_tuple_t_stringliteral_046c761a688d1dc3c500562bc5aaa3544f01f394f9bb3b69aa2a950a45afb1f8__to_t_string_memory_ptr__fromStack_reversed(headStart) -> tail\n {\n mstore(headStart, 32)\n mstore(add(headStart, 32), 60)\n mstore(add(headStart, 64), \"LibDiamondCut: _init is address(\")\n mstore(add(headStart, 96), \"0) but_calldata is not empty\")\n tail := add(headStart, 128)\n }\n function abi_encode_tuple_t_stringliteral_868d165ec2461661b624442252aed6a645399bfae7b60083a77ea1b61b084042__to_t_string_memory_ptr__fromStack_reversed(headStart) -> tail\n {\n mstore(headStart, 32)\n mstore(add(headStart, 32), 61)\n mstore(add(headStart, 64), \"LibDiamondCut: _calldata is empt\")\n mstore(add(headStart, 96), \"y but _init is not address(0)\")\n tail := add(headStart, 128)\n }\n function abi_encode_tuple_packed_t_bytes_memory_ptr__to_t_bytes_memory_ptr__nonPadded_inplace_fromStack_reversed(pos, value0) -> end\n {\n let length := mload(value0)\n copy_memory_to_memory(add(value0, 0x20), pos, length)\n end := add(pos, length)\n }\n function abi_encode_tuple_t_string_memory_ptr__to_t_string_memory_ptr__fromStack_reversed(headStart, value0) -> tail\n {\n mstore(headStart, 32)\n tail := abi_encode_bytes(value0, add(headStart, 32))\n }\n function abi_encode_tuple_t_stringliteral_080b2fe78815767d522290509c8fce2af708c8a54455ca1b0cc978c92822465d__to_t_string_memory_ptr__fromStack_reversed(headStart) -> tail\n {\n mstore(headStart, 32)\n mstore(add(headStart, 32), 38)\n mstore(add(headStart, 64), \"LibDiamondCut: _init function re\")\n mstore(add(headStart, 96), \"verted\")\n tail := add(headStart, 128)\n }\n function abi_encode_tuple_t_stringliteral_2c590e498c4d56c984a7092fd5e89a68b9f4541ce9f97252fb74e44a00ffbb71__to_t_string_memory_ptr__fromStack_reversed(headStart) -> tail\n {\n mstore(headStart, 32)\n mstore(add(headStart, 32), 55)\n mstore(add(headStart, 64), \"LibDiamondCut: Can't remove func\")\n mstore(add(headStart, 96), \"tion that doesn't exist\")\n tail := add(headStart, 128)\n }\n function abi_encode_tuple_t_stringliteral_8ba063dfaa4be2d2cbe73dbb1364728b0f7031ac048441d5fad19e9541992b21__to_t_string_memory_ptr__fromStack_reversed(headStart) -> tail\n {\n mstore(headStart, 32)\n mstore(add(headStart, 32), 46)\n mstore(add(headStart, 64), \"LibDiamondCut: Can't remove immu\")\n mstore(add(headStart, 96), \"table function\")\n tail := add(headStart, 128)\n }\n function checked_sub_t_uint256(x, y) -> diff\n {\n if lt(x, y) { panic_error_0x11() }\n diff := sub(x, y)\n }\n function panic_error_0x31()\n {\n mstore(0, shl(224, 0x4e487b71))\n mstore(4, 0x31)\n revert(0, 0x24)\n }\n}", + "id": 11, + "language": "Yul", + "name": "#utility.yul" + } + ], + "linkReferences": {}, + "opcodes": "PUSH1 0x80 PUSH1 0x40 MSTORE PUSH1 0x40 MLOAD PUSH3 0x310C CODESIZE SUB DUP1 PUSH3 0x310C DUP4 CODECOPY DUP2 ADD PUSH1 0x40 DUP2 SWAP1 MSTORE PUSH3 0x26 SWAP2 PUSH3 0x1205 JUMP JUMPDEST PUSH1 0x40 DUP1 MLOAD PUSH1 0x0 DUP1 DUP3 MSTORE PUSH1 0x20 DUP3 ADD SWAP1 SWAP3 MSTORE PUSH3 0x4E SWAP2 DUP5 SWAP2 PUSH3 0xF5 PUSH1 0x20 SHL PUSH3 0x107 OR PUSH1 0x20 SHR JUMP JUMPDEST PUSH3 0x68 DUP2 PUSH1 0x0 ADD MLOAD PUSH3 0x353 PUSH1 0x20 SHL PUSH3 0x34B OR PUSH1 0x20 SHR JUMP JUMPDEST PUSH1 0x0 PUSH3 0x7F PUSH3 0x3D7 PUSH1 0x20 SHL PUSH3 0x405 OR PUSH1 0x20 SHR JUMP JUMPDEST PUSH4 0x1FFC9A7 PUSH1 0xE0 SHL PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x3 SWAP1 SWAP2 ADD PUSH1 0x20 MSTORE PUSH1 0x40 DUP1 DUP3 KECCAK256 DUP1 SLOAD PUSH1 0xFF NOT SWAP1 DUP2 AND PUSH1 0x1 SWAP1 DUP2 OR SWAP1 SWAP3 SSTORE PUSH4 0x7E4C707 PUSH1 0xE2 SHL DUP5 MSTORE DUP3 DUP5 KECCAK256 DUP1 SLOAD DUP3 AND DUP4 OR SWAP1 SSTORE PUSH4 0x48E2B093 PUSH1 0xE0 SHL DUP5 MSTORE DUP3 DUP5 KECCAK256 DUP1 SLOAD DUP3 AND DUP4 OR SWAP1 SSTORE PUSH4 0x7F5828D PUSH1 0xE4 SHL DUP5 MSTORE SWAP2 SWAP1 SWAP3 KECCAK256 DUP1 SLOAD SWAP1 SWAP2 AND SWAP1 SWAP2 OR SWAP1 SSTORE POP PUSH3 0x1607 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 JUMPDEST DUP4 MLOAD DUP2 LT ISZERO PUSH3 0x304 JUMPI PUSH1 0x0 DUP5 DUP3 DUP2 MLOAD DUP2 LT PUSH3 0x119 JUMPI PUSH3 0x119 PUSH3 0x13AF JUMP JUMPDEST PUSH1 0x20 MUL PUSH1 0x20 ADD ADD MLOAD PUSH1 0x20 ADD MLOAD SWAP1 POP PUSH1 0x0 PUSH1 0x2 DUP2 GT ISZERO PUSH3 0x13D JUMPI PUSH3 0x13D PUSH3 0x13C5 JUMP JUMPDEST DUP2 PUSH1 0x2 DUP2 GT ISZERO PUSH3 0x152 JUMPI PUSH3 0x152 PUSH3 0x13C5 JUMP JUMPDEST EQ ISZERO PUSH3 0x1B1 JUMPI PUSH3 0x1AB DUP6 DUP4 DUP2 MLOAD DUP2 LT PUSH3 0x172 JUMPI PUSH3 0x172 PUSH3 0x13AF JUMP JUMPDEST PUSH1 0x20 MUL PUSH1 0x20 ADD ADD MLOAD PUSH1 0x0 ADD MLOAD DUP7 DUP5 DUP2 MLOAD DUP2 LT PUSH3 0x193 JUMPI PUSH3 0x193 PUSH3 0x13AF JUMP JUMPDEST PUSH1 0x20 MUL PUSH1 0x20 ADD ADD MLOAD PUSH1 0x40 ADD MLOAD PUSH3 0x3EA PUSH1 0x20 SHL PUSH1 0x20 SHR JUMP JUMPDEST PUSH3 0x2EE JUMP JUMPDEST PUSH1 0x1 DUP2 PUSH1 0x2 DUP2 GT ISZERO PUSH3 0x1C8 JUMPI PUSH3 0x1C8 PUSH3 0x13C5 JUMP JUMPDEST EQ ISZERO PUSH3 0x221 JUMPI PUSH3 0x1AB DUP6 DUP4 DUP2 MLOAD DUP2 LT PUSH3 0x1E8 JUMPI PUSH3 0x1E8 PUSH3 0x13AF JUMP JUMPDEST PUSH1 0x20 MUL PUSH1 0x20 ADD ADD MLOAD PUSH1 0x0 ADD MLOAD DUP7 DUP5 DUP2 MLOAD DUP2 LT PUSH3 0x209 JUMPI PUSH3 0x209 PUSH3 0x13AF JUMP JUMPDEST PUSH1 0x20 MUL PUSH1 0x20 ADD ADD MLOAD PUSH1 0x40 ADD MLOAD PUSH3 0x674 PUSH1 0x20 SHL PUSH1 0x20 SHR JUMP JUMPDEST PUSH1 0x2 DUP2 PUSH1 0x2 DUP2 GT ISZERO PUSH3 0x238 JUMPI PUSH3 0x238 PUSH3 0x13C5 JUMP JUMPDEST EQ ISZERO PUSH3 0x291 JUMPI PUSH3 0x1AB DUP6 DUP4 DUP2 MLOAD DUP2 LT PUSH3 0x258 JUMPI PUSH3 0x258 PUSH3 0x13AF JUMP JUMPDEST PUSH1 0x20 MUL PUSH1 0x20 ADD ADD MLOAD PUSH1 0x0 ADD MLOAD DUP7 DUP5 DUP2 MLOAD DUP2 LT PUSH3 0x279 JUMPI PUSH3 0x279 PUSH3 0x13AF JUMP JUMPDEST PUSH1 0x20 MUL PUSH1 0x20 ADD ADD MLOAD PUSH1 0x40 ADD MLOAD PUSH3 0x90A PUSH1 0x20 SHL PUSH1 0x20 SHR JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x27 PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x4C69624469616D6F6E644375743A20496E636F72726563742046616365744375 PUSH1 0x44 DUP3 ADD MSTORE PUSH7 0x3A20B1BA34B7B7 PUSH1 0xC9 SHL PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 ADD JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST POP DUP1 PUSH3 0x2FB DUP2 PUSH3 0x13F1 JUMP JUMPDEST SWAP2 POP POP PUSH3 0xF8 JUMP JUMPDEST POP PUSH32 0x8FAA70878671CCD212D20771B795C50AF8FD3FF6CF27F4BDE57E5D4DE0AEB673 DUP4 DUP4 DUP4 PUSH1 0x40 MLOAD PUSH3 0x33A SWAP4 SWAP3 SWAP2 SWAP1 PUSH3 0x146C JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 LOG1 PUSH3 0x34E DUP3 DUP3 PUSH3 0xA70 JUMP JUMPDEST POP POP POP JUMP JUMPDEST PUSH32 0xC8FCAD8DB84D3CC18B4C41D551EA0EE66DD599CDE068D998E57D5E09332C1320 DUP1 SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB NOT DUP2 AND PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP5 DUP2 AND SWAP2 DUP3 OR SWAP1 SWAP4 SSTORE PUSH1 0x40 MLOAD PUSH1 0x0 DUP1 MLOAD PUSH1 0x20 PUSH3 0x3060 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE SWAP4 SWAP1 SWAP3 AND SWAP2 DUP3 SWAP1 PUSH32 0x8BE0079C531659141344CD1FD0A4F28419497F9722A3DAAFE3B4186F6B6457E0 SWAP1 PUSH1 0x0 SWAP1 LOG3 POP POP POP JUMP JUMPDEST PUSH1 0x0 DUP1 MLOAD PUSH1 0x20 PUSH3 0x3060 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE SWAP1 JUMP JUMPDEST PUSH1 0x0 DUP2 MLOAD GT PUSH3 0x440 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x2B PUSH1 0x24 DUP3 ADD MSTORE PUSH1 0x0 DUP1 MLOAD PUSH1 0x20 PUSH3 0x30EC DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE PUSH1 0x44 DUP3 ADD MSTORE PUSH11 0x1858D95D081D1BC818DD5D PUSH1 0xAA SHL PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 ADD PUSH3 0x2E5 JUMP JUMPDEST PUSH1 0x0 DUP1 MLOAD PUSH1 0x20 PUSH3 0x3060 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP4 AND PUSH3 0x4AC JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x2C PUSH1 0x24 DUP3 ADD MSTORE PUSH1 0x0 DUP1 MLOAD PUSH1 0x20 PUSH3 0x30A8 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE PUSH1 0x44 DUP3 ADD MSTORE PUSH12 0x652061646472657373283029 PUSH1 0xA0 SHL PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 ADD PUSH3 0x2E5 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP4 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x1 DUP3 ADD PUSH1 0x20 MSTORE PUSH1 0x40 SWAP1 KECCAK256 SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0x60 SHL SUB DUP2 AND PUSH3 0x4E2 JUMPI PUSH3 0x4E2 DUP3 DUP6 PUSH3 0xC8F JUMP JUMPDEST PUSH1 0x0 JUMPDEST DUP4 MLOAD DUP2 LT ISZERO PUSH3 0x66D JUMPI PUSH1 0x0 DUP5 DUP3 DUP2 MLOAD DUP2 LT PUSH3 0x506 JUMPI PUSH3 0x506 PUSH3 0x13AF JUMP JUMPDEST PUSH1 0x20 SWAP1 DUP2 MUL SWAP2 SWAP1 SWAP2 ADD DUP2 ADD MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xE0 SHL SUB NOT DUP2 AND PUSH1 0x0 SWAP1 DUP2 MSTORE SWAP2 DUP7 SWAP1 MSTORE PUSH1 0x40 SWAP1 SWAP2 KECCAK256 SLOAD SWAP1 SWAP2 POP PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND DUP1 ISZERO PUSH3 0x5AE JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x35 PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x4C69624469616D6F6E644375743A2043616E2774206164642066756E6374696F PUSH1 0x44 DUP3 ADD MSTORE PUSH32 0x6E207468617420616C7265616479206578697374730000000000000000000000 PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 ADD PUSH3 0x2E5 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xE0 SHL SUB NOT DUP3 AND PUSH1 0x0 DUP2 DUP2 MSTORE PUSH1 0x20 DUP8 DUP2 MSTORE PUSH1 0x40 DUP1 DUP4 KECCAK256 DUP1 SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 DUP2 AND PUSH1 0x1 PUSH1 0xA0 SHL PUSH1 0x1 PUSH1 0x1 PUSH1 0x60 SHL SUB DUP13 AND MUL OR DUP3 SSTORE DUP13 AND DUP1 DUP6 MSTORE PUSH1 0x1 DUP1 DUP13 ADD DUP6 MSTORE SWAP3 DUP6 KECCAK256 DUP1 SLOAD SWAP4 DUP5 ADD DUP2 SSTORE DUP6 MSTORE DUP4 DUP6 KECCAK256 PUSH1 0x8 DUP5 DIV ADD DUP1 SLOAD PUSH4 0xFFFFFFFF PUSH1 0x7 SWAP1 SWAP6 AND PUSH1 0x4 MUL PUSH2 0x100 EXP SWAP5 DUP6 MUL NOT AND PUSH1 0xE0 DUP11 SWAP1 SHR SWAP5 SWAP1 SWAP5 MUL SWAP4 SWAP1 SWAP4 OR SWAP1 SWAP3 SSTORE SWAP4 SWAP1 SWAP3 MSTORE DUP8 SWAP1 MSTORE DUP2 SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB NOT AND OR SWAP1 SSTORE DUP4 PUSH3 0x652 DUP2 PUSH3 0x1573 JUMP JUMPDEST SWAP5 POP POP POP POP DUP1 DUP1 PUSH3 0x664 SWAP1 PUSH3 0x13F1 JUMP JUMPDEST SWAP2 POP POP PUSH3 0x4E5 JUMP JUMPDEST POP POP POP POP POP JUMP JUMPDEST PUSH1 0x0 DUP2 MLOAD GT PUSH3 0x6CA JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x2B PUSH1 0x24 DUP3 ADD MSTORE PUSH1 0x0 DUP1 MLOAD PUSH1 0x20 PUSH3 0x30EC DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE PUSH1 0x44 DUP3 ADD MSTORE PUSH11 0x1858D95D081D1BC818DD5D PUSH1 0xAA SHL PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 ADD PUSH3 0x2E5 JUMP JUMPDEST PUSH1 0x0 DUP1 MLOAD PUSH1 0x20 PUSH3 0x3060 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP4 AND PUSH3 0x736 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x2C PUSH1 0x24 DUP3 ADD MSTORE PUSH1 0x0 DUP1 MLOAD PUSH1 0x20 PUSH3 0x30A8 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE PUSH1 0x44 DUP3 ADD MSTORE PUSH12 0x652061646472657373283029 PUSH1 0xA0 SHL PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 ADD PUSH3 0x2E5 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP4 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x1 DUP3 ADD PUSH1 0x20 MSTORE PUSH1 0x40 SWAP1 KECCAK256 SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0x60 SHL SUB DUP2 AND PUSH3 0x76C JUMPI PUSH3 0x76C DUP3 DUP6 PUSH3 0xC8F JUMP JUMPDEST PUSH1 0x0 JUMPDEST DUP4 MLOAD DUP2 LT ISZERO PUSH3 0x66D JUMPI PUSH1 0x0 DUP5 DUP3 DUP2 MLOAD DUP2 LT PUSH3 0x790 JUMPI PUSH3 0x790 PUSH3 0x13AF JUMP JUMPDEST PUSH1 0x20 SWAP1 DUP2 MUL SWAP2 SWAP1 SWAP2 ADD DUP2 ADD MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xE0 SHL SUB NOT DUP2 AND PUSH1 0x0 SWAP1 DUP2 MSTORE SWAP2 DUP7 SWAP1 MSTORE PUSH1 0x40 SWAP1 SWAP2 KECCAK256 SLOAD SWAP1 SWAP2 POP PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 DUP2 AND SWAP1 DUP8 AND DUP2 EQ ISZERO PUSH3 0x83E JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x38 PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x4C69624469616D6F6E644375743A2043616E2774207265706C6163652066756E PUSH1 0x44 DUP3 ADD MSTORE PUSH32 0x6374696F6E20776974682073616D652066756E6374696F6E0000000000000000 PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 ADD PUSH3 0x2E5 JUMP JUMPDEST PUSH3 0x84B DUP6 DUP3 DUP5 PUSH3 0xCFC JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xE0 SHL SUB NOT DUP3 AND PUSH1 0x0 DUP2 DUP2 MSTORE PUSH1 0x20 DUP8 DUP2 MSTORE PUSH1 0x40 DUP1 DUP4 KECCAK256 DUP1 SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 DUP2 AND PUSH1 0x1 PUSH1 0xA0 SHL PUSH1 0x1 PUSH1 0x1 PUSH1 0x60 SHL SUB DUP13 AND MUL OR DUP3 SSTORE DUP13 AND DUP1 DUP6 MSTORE PUSH1 0x1 DUP1 DUP13 ADD DUP6 MSTORE SWAP3 DUP6 KECCAK256 DUP1 SLOAD SWAP4 DUP5 ADD DUP2 SSTORE DUP6 MSTORE DUP4 DUP6 KECCAK256 PUSH1 0x8 DUP5 DIV ADD DUP1 SLOAD PUSH4 0xFFFFFFFF PUSH1 0x7 SWAP1 SWAP6 AND PUSH1 0x4 MUL PUSH2 0x100 EXP SWAP5 DUP6 MUL NOT AND PUSH1 0xE0 DUP11 SWAP1 SHR SWAP5 SWAP1 SWAP5 MUL SWAP4 SWAP1 SWAP4 OR SWAP1 SWAP3 SSTORE SWAP4 SWAP1 SWAP3 MSTORE DUP8 SWAP1 MSTORE DUP2 SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB NOT AND OR SWAP1 SSTORE DUP4 PUSH3 0x8EF DUP2 PUSH3 0x1573 JUMP JUMPDEST SWAP5 POP POP POP POP DUP1 DUP1 PUSH3 0x901 SWAP1 PUSH3 0x13F1 JUMP JUMPDEST SWAP2 POP POP PUSH3 0x76F JUMP JUMPDEST PUSH1 0x0 DUP2 MLOAD GT PUSH3 0x960 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x2B PUSH1 0x24 DUP3 ADD MSTORE PUSH1 0x0 DUP1 MLOAD PUSH1 0x20 PUSH3 0x30EC DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE PUSH1 0x44 DUP3 ADD MSTORE PUSH11 0x1858D95D081D1BC818DD5D PUSH1 0xAA SHL PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 ADD PUSH3 0x2E5 JUMP JUMPDEST PUSH1 0x0 DUP1 MLOAD PUSH1 0x20 PUSH3 0x3060 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP4 AND ISZERO PUSH3 0x9EF JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x36 PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x4C69624469616D6F6E644375743A2052656D6F76652066616365742061646472 PUSH1 0x44 DUP3 ADD MSTORE PUSH32 0x657373206D757374206265206164647265737328302900000000000000000000 PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 ADD PUSH3 0x2E5 JUMP JUMPDEST PUSH1 0x0 JUMPDEST DUP3 MLOAD DUP2 LT ISZERO PUSH3 0xA6A JUMPI PUSH1 0x0 DUP4 DUP3 DUP2 MLOAD DUP2 LT PUSH3 0xA13 JUMPI PUSH3 0xA13 PUSH3 0x13AF JUMP JUMPDEST PUSH1 0x20 SWAP1 DUP2 MUL SWAP2 SWAP1 SWAP2 ADD DUP2 ADD MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xE0 SHL SUB NOT DUP2 AND PUSH1 0x0 SWAP1 DUP2 MSTORE SWAP2 DUP6 SWAP1 MSTORE PUSH1 0x40 SWAP1 SWAP2 KECCAK256 SLOAD SWAP1 SWAP2 POP PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND PUSH3 0xA52 DUP5 DUP3 DUP5 PUSH3 0xCFC JUMP JUMPDEST POP POP DUP1 DUP1 PUSH3 0xA61 SWAP1 PUSH3 0x13F1 JUMP JUMPDEST SWAP2 POP POP PUSH3 0x9F2 JUMP JUMPDEST POP POP POP POP JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP3 AND PUSH3 0xAFA JUMPI DUP1 MLOAD ISZERO PUSH3 0xAF6 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x3C PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x4C69624469616D6F6E644375743A205F696E6974206973206164647265737328 PUSH1 0x44 DUP3 ADD MSTORE PUSH32 0x3029206275745F63616C6C64617461206973206E6F7420656D70747900000000 PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 ADD PUSH3 0x2E5 JUMP JUMPDEST POP POP JUMP JUMPDEST PUSH1 0x0 DUP2 MLOAD GT PUSH3 0xB73 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x3D PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x4C69624469616D6F6E644375743A205F63616C6C6461746120697320656D7074 PUSH1 0x44 DUP3 ADD MSTORE PUSH32 0x7920627574205F696E6974206973206E6F742061646472657373283029000000 PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 ADD PUSH3 0x2E5 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP3 AND ADDRESS EQ PUSH3 0xBA9 JUMPI PUSH3 0xBA9 DUP3 PUSH1 0x40 MLOAD DUP1 PUSH1 0x60 ADD PUSH1 0x40 MSTORE DUP1 PUSH1 0x28 DUP2 MSTORE PUSH1 0x20 ADD PUSH3 0x3080 PUSH1 0x28 SWAP2 CODECOPY PUSH3 0x10D9 JUMP JUMPDEST PUSH1 0x0 DUP1 DUP4 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND DUP4 PUSH1 0x40 MLOAD PUSH3 0xBC6 SWAP2 SWAP1 PUSH3 0x159D JUMP JUMPDEST PUSH1 0x0 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP6 GAS DELEGATECALL SWAP2 POP POP RETURNDATASIZE DUP1 PUSH1 0x0 DUP2 EQ PUSH3 0xC03 JUMPI PUSH1 0x40 MLOAD SWAP2 POP PUSH1 0x1F NOT PUSH1 0x3F RETURNDATASIZE ADD AND DUP3 ADD PUSH1 0x40 MSTORE RETURNDATASIZE DUP3 MSTORE RETURNDATASIZE PUSH1 0x0 PUSH1 0x20 DUP5 ADD RETURNDATACOPY PUSH3 0xC08 JUMP JUMPDEST PUSH1 0x60 SWAP2 POP JUMPDEST POP SWAP2 POP SWAP2 POP DUP2 PUSH3 0xA6A JUMPI DUP1 MLOAD ISZERO PUSH3 0xC37 JUMPI DUP1 PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH3 0x2E5 SWAP2 SWAP1 PUSH3 0x15BB JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x26 PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x4C69624469616D6F6E644375743A205F696E69742066756E6374696F6E207265 PUSH1 0x44 DUP3 ADD MSTORE PUSH6 0x1D995C9D1959 PUSH1 0xD2 SHL PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 ADD PUSH3 0x2E5 JUMP JUMPDEST PUSH3 0xCB4 DUP2 PUSH1 0x40 MLOAD DUP1 PUSH1 0x60 ADD PUSH1 0x40 MSTORE DUP1 PUSH1 0x24 DUP2 MSTORE PUSH1 0x20 ADD PUSH3 0x30C8 PUSH1 0x24 SWAP2 CODECOPY PUSH3 0x10D9 JUMP JUMPDEST PUSH1 0x2 DUP3 ADD DUP1 SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 SWAP3 AND PUSH1 0x0 DUP2 DUP2 MSTORE PUSH1 0x1 SWAP5 DUP6 ADD PUSH1 0x20 SWAP1 DUP2 MSTORE PUSH1 0x40 DUP3 KECCAK256 DUP7 ADD DUP6 SWAP1 SSTORE SWAP5 DUP5 ADD DUP4 SSTORE SWAP2 DUP3 MSTORE SWAP3 SWAP1 KECCAK256 ADD DUP1 SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB NOT AND SWAP1 SWAP2 OR SWAP1 SSTORE JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP3 AND PUSH3 0xD7A JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x37 PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x4C69624469616D6F6E644375743A2043616E27742072656D6F76652066756E63 PUSH1 0x44 DUP3 ADD MSTORE PUSH32 0x74696F6E207468617420646F65736E2774206578697374000000000000000000 PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 ADD PUSH3 0x2E5 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP3 AND ADDRESS EQ ISZERO PUSH3 0xDEC JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x2E PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x4C69624469616D6F6E644375743A2043616E27742072656D6F766520696D6D75 PUSH1 0x44 DUP3 ADD MSTORE PUSH14 0x3A30B1363290333AB731BA34B7B7 PUSH1 0x91 SHL PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 ADD PUSH3 0x2E5 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xE0 SHL SUB NOT DUP2 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x20 DUP5 DUP2 MSTORE PUSH1 0x40 DUP1 DUP4 KECCAK256 SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP7 AND DUP5 MSTORE PUSH1 0x1 DUP1 DUP9 ADD SWAP1 SWAP4 MSTORE SWAP1 DUP4 KECCAK256 SLOAD PUSH1 0x1 PUSH1 0xA0 SHL SWAP1 SWAP2 DIV PUSH1 0x1 PUSH1 0x1 PUSH1 0x60 SHL SUB AND SWAP3 SWAP2 PUSH3 0xE3D SWAP2 PUSH3 0x15D7 JUMP JUMPDEST SWAP1 POP DUP1 DUP3 EQ PUSH3 0xF36 JUMPI PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP5 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x1 DUP7 ADD PUSH1 0x20 MSTORE PUSH1 0x40 DUP2 KECCAK256 DUP1 SLOAD DUP4 SWAP1 DUP2 LT PUSH3 0xE76 JUMPI PUSH3 0xE76 PUSH3 0x13AF JUMP JUMPDEST PUSH1 0x0 SWAP2 DUP3 MSTORE PUSH1 0x20 DUP1 DUP4 KECCAK256 PUSH1 0x8 DUP4 DIV ADD SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP10 AND DUP5 MSTORE PUSH1 0x1 DUP11 ADD SWAP1 SWAP2 MSTORE PUSH1 0x40 SWAP1 SWAP3 KECCAK256 DUP1 SLOAD PUSH1 0x7 SWAP1 SWAP3 AND PUSH1 0x4 MUL PUSH2 0x100 EXP SWAP1 SWAP3 DIV PUSH1 0xE0 SHL SWAP3 POP DUP3 SWAP2 SWAP1 DUP6 SWAP1 DUP2 LT PUSH3 0xECA JUMPI PUSH3 0xECA PUSH3 0x13AF JUMP JUMPDEST PUSH1 0x0 SWAP2 DUP3 MSTORE PUSH1 0x20 DUP1 DUP4 KECCAK256 PUSH1 0x8 DUP4 DIV ADD DUP1 SLOAD PUSH4 0xFFFFFFFF PUSH1 0x7 SWAP1 SWAP5 AND PUSH1 0x4 MUL PUSH2 0x100 EXP SWAP4 DUP5 MUL NOT AND PUSH1 0xE0 SWAP6 SWAP1 SWAP6 SHR SWAP3 SWAP1 SWAP3 MUL SWAP4 SWAP1 SWAP4 OR SWAP1 SSTORE PUSH1 0x1 PUSH1 0x1 PUSH1 0xE0 SHL SUB NOT SWAP3 SWAP1 SWAP3 AND DUP3 MSTORE DUP7 SWAP1 MSTORE PUSH1 0x40 SWAP1 KECCAK256 DUP1 SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND PUSH1 0x1 PUSH1 0xA0 SHL PUSH1 0x1 PUSH1 0x1 PUSH1 0x60 SHL SUB DUP6 AND MUL OR SWAP1 SSTORE JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP5 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x1 DUP7 ADD PUSH1 0x20 MSTORE PUSH1 0x40 SWAP1 KECCAK256 DUP1 SLOAD DUP1 PUSH3 0xF62 JUMPI PUSH3 0xF62 PUSH3 0x15F1 JUMP JUMPDEST PUSH1 0x0 DUP3 DUP2 MSTORE PUSH1 0x20 DUP1 DUP3 KECCAK256 PUSH1 0x8 PUSH1 0x0 NOT SWAP1 SWAP5 ADD SWAP4 DUP5 DIV ADD DUP1 SLOAD PUSH4 0xFFFFFFFF PUSH1 0x4 PUSH1 0x7 DUP8 AND MUL PUSH2 0x100 EXP MUL NOT AND SWAP1 SSTORE SWAP2 SWAP1 SWAP3 SSTORE PUSH1 0x1 PUSH1 0x1 PUSH1 0xE0 SHL SUB NOT DUP6 AND DUP3 MSTORE DUP7 SWAP1 MSTORE PUSH1 0x40 DUP2 KECCAK256 SSTORE DUP1 PUSH3 0x66D JUMPI PUSH1 0x2 DUP6 ADD SLOAD PUSH1 0x0 SWAP1 PUSH3 0xFC4 SWAP1 PUSH1 0x1 SWAP1 PUSH3 0x15D7 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP7 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x1 DUP1 DUP10 ADD PUSH1 0x20 MSTORE PUSH1 0x40 SWAP1 SWAP2 KECCAK256 ADD SLOAD SWAP1 SWAP2 POP DUP1 DUP3 EQ PUSH3 0x107A JUMPI PUSH1 0x0 DUP8 PUSH1 0x2 ADD DUP4 DUP2 SLOAD DUP2 LT PUSH3 0x1007 JUMPI PUSH3 0x1007 PUSH3 0x13AF JUMP JUMPDEST PUSH1 0x0 SWAP2 DUP3 MSTORE PUSH1 0x20 SWAP1 SWAP2 KECCAK256 ADD SLOAD PUSH1 0x2 DUP10 ADD DUP1 SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 SWAP3 AND SWAP3 POP DUP3 SWAP2 DUP5 SWAP1 DUP2 LT PUSH3 0x103B JUMPI PUSH3 0x103B PUSH3 0x13AF JUMP JUMPDEST PUSH1 0x0 SWAP2 DUP3 MSTORE PUSH1 0x20 DUP1 DUP4 KECCAK256 SWAP2 SWAP1 SWAP2 ADD DUP1 SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB NOT AND PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP5 DUP6 AND OR SWAP1 SSTORE SWAP3 SWAP1 SWAP2 AND DUP2 MSTORE PUSH1 0x1 DUP10 DUP2 ADD SWAP1 SWAP3 MSTORE PUSH1 0x40 SWAP1 KECCAK256 ADD DUP2 SWAP1 SSTORE JUMPDEST DUP7 PUSH1 0x2 ADD DUP1 SLOAD DUP1 PUSH3 0x1090 JUMPI PUSH3 0x1090 PUSH3 0x15F1 JUMP JUMPDEST PUSH1 0x0 DUP3 DUP2 MSTORE PUSH1 0x20 DUP1 DUP3 KECCAK256 DUP4 ADD PUSH1 0x0 NOT SWAP1 DUP2 ADD DUP1 SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB NOT AND SWAP1 SSTORE SWAP1 SWAP3 ADD SWAP1 SWAP3 SSTORE PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP9 AND DUP3 MSTORE PUSH1 0x1 DUP10 DUP2 ADD SWAP1 SWAP2 MSTORE PUSH1 0x40 DUP3 KECCAK256 ADD SSTORE POP POP POP POP POP POP POP JUMP JUMPDEST DUP2 EXTCODESIZE DUP2 DUP2 PUSH3 0xA6A JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH3 0x2E5 SWAP2 SWAP1 PUSH3 0x15BB JUMP JUMPDEST PUSH4 0x4E487B71 PUSH1 0xE0 SHL PUSH1 0x0 MSTORE PUSH1 0x41 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST PUSH1 0x40 MLOAD PUSH1 0x60 DUP2 ADD PUSH1 0x1 PUSH1 0x1 PUSH1 0x40 SHL SUB DUP2 GT DUP3 DUP3 LT OR ISZERO PUSH3 0x1138 JUMPI PUSH3 0x1138 PUSH3 0x10FD JUMP JUMPDEST PUSH1 0x40 MSTORE SWAP1 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH1 0x1F DUP3 ADD PUSH1 0x1F NOT AND DUP2 ADD PUSH1 0x1 PUSH1 0x1 PUSH1 0x40 SHL SUB DUP2 GT DUP3 DUP3 LT OR ISZERO PUSH3 0x1169 JUMPI PUSH3 0x1169 PUSH3 0x10FD JUMP JUMPDEST PUSH1 0x40 MSTORE SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x1 PUSH1 0x1 PUSH1 0x40 SHL SUB DUP3 GT ISZERO PUSH3 0x118D JUMPI PUSH3 0x118D PUSH3 0x10FD JUMP JUMPDEST POP PUSH1 0x5 SHL PUSH1 0x20 ADD SWAP1 JUMP JUMPDEST DUP1 MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP2 AND DUP2 EQ PUSH3 0x11AF JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH3 0x11C7 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x40 MLOAD PUSH1 0x20 DUP2 ADD PUSH1 0x1 PUSH1 0x1 PUSH1 0x40 SHL SUB DUP2 GT DUP3 DUP3 LT OR ISZERO PUSH3 0x11EC JUMPI PUSH3 0x11EC PUSH3 0x10FD JUMP JUMPDEST PUSH1 0x40 MSTORE SWAP1 POP DUP1 PUSH3 0x11FD DUP4 PUSH3 0x1197 JUMP JUMPDEST SWAP1 MSTORE SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x40 DUP4 DUP6 SUB SLT ISZERO PUSH3 0x1219 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP3 MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0x40 SHL SUB DUP1 DUP3 GT ISZERO PUSH3 0x1231 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP2 DUP6 ADD SWAP2 POP DUP6 PUSH1 0x1F DUP4 ADD SLT PUSH3 0x1246 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP2 MLOAD PUSH1 0x20 PUSH3 0x125F PUSH3 0x1259 DUP4 PUSH3 0x1171 JUMP JUMPDEST PUSH3 0x113E JUMP JUMPDEST DUP3 DUP2 MSTORE PUSH1 0x5 SWAP3 SWAP1 SWAP3 SHL DUP5 ADD DUP2 ADD SWAP2 DUP2 DUP2 ADD SWAP1 DUP10 DUP5 GT ISZERO PUSH3 0x127F JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP3 DUP7 ADD JUMPDEST DUP5 DUP2 LT ISZERO PUSH3 0x138F JUMPI DUP1 MLOAD DUP7 DUP2 GT ISZERO PUSH3 0x129C JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP8 ADD PUSH1 0x60 DUP2 DUP14 SUB PUSH1 0x1F NOT ADD SLT ISZERO PUSH3 0x12B3 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH3 0x12BD PUSH3 0x1113 JUMP JUMPDEST PUSH3 0x12CA DUP7 DUP4 ADD PUSH3 0x1197 JUMP JUMPDEST DUP2 MSTORE PUSH1 0x40 DUP3 ADD MLOAD PUSH1 0x3 DUP2 LT PUSH3 0x12DF JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP2 DUP8 ADD MSTORE PUSH1 0x60 DUP3 ADD MLOAD DUP9 DUP2 GT ISZERO PUSH3 0x12F6 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP1 DUP4 ADD SWAP3 POP POP DUP13 PUSH1 0x3F DUP4 ADD SLT PUSH3 0x130C JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP6 DUP3 ADD MLOAD PUSH3 0x131F PUSH3 0x1259 DUP3 PUSH3 0x1171 JUMP JUMPDEST DUP2 DUP2 MSTORE PUSH1 0x5 SWAP2 SWAP1 SWAP2 SHL DUP4 ADD PUSH1 0x40 ADD SWAP1 DUP8 DUP2 ADD SWAP1 DUP16 DUP4 GT ISZERO PUSH3 0x1340 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x40 DUP6 ADD SWAP5 POP JUMPDEST DUP3 DUP6 LT ISZERO PUSH3 0x1379 JUMPI DUP5 MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xE0 SHL SUB NOT DUP2 AND DUP2 EQ PUSH3 0x1369 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP3 MSTORE SWAP4 DUP9 ADD SWAP4 SWAP1 DUP9 ADD SWAP1 PUSH3 0x1347 JUMP JUMPDEST PUSH1 0x40 DUP5 ADD MSTORE POP POP DUP5 MSTORE POP SWAP2 DUP4 ADD SWAP2 DUP4 ADD PUSH3 0x1283 JUMP JUMPDEST POP SWAP7 POP PUSH3 0x13A2 SWAP1 POP DUP9 DUP9 DUP4 ADD PUSH3 0x11B4 JUMP JUMPDEST SWAP5 POP POP POP POP POP SWAP3 POP SWAP3 SWAP1 POP JUMP JUMPDEST PUSH4 0x4E487B71 PUSH1 0xE0 SHL PUSH1 0x0 MSTORE PUSH1 0x32 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST PUSH4 0x4E487B71 PUSH1 0xE0 SHL PUSH1 0x0 MSTORE PUSH1 0x21 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST PUSH4 0x4E487B71 PUSH1 0xE0 SHL PUSH1 0x0 MSTORE PUSH1 0x11 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST PUSH1 0x0 PUSH1 0x0 NOT DUP3 EQ ISZERO PUSH3 0x1408 JUMPI PUSH3 0x1408 PUSH3 0x13DB JUMP JUMPDEST POP PUSH1 0x1 ADD SWAP1 JUMP JUMPDEST PUSH1 0x0 JUMPDEST DUP4 DUP2 LT ISZERO PUSH3 0x142C JUMPI DUP2 DUP2 ADD MLOAD DUP4 DUP3 ADD MSTORE PUSH1 0x20 ADD PUSH3 0x1412 JUMP JUMPDEST DUP4 DUP2 GT ISZERO PUSH3 0xA6A JUMPI POP POP PUSH1 0x0 SWAP2 ADD MSTORE JUMP JUMPDEST PUSH1 0x0 DUP2 MLOAD DUP1 DUP5 MSTORE PUSH3 0x1458 DUP2 PUSH1 0x20 DUP7 ADD PUSH1 0x20 DUP7 ADD PUSH3 0x140F JUMP JUMPDEST PUSH1 0x1F ADD PUSH1 0x1F NOT AND SWAP3 SWAP1 SWAP3 ADD PUSH1 0x20 ADD SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x60 DUP1 DUP4 ADD DUP2 DUP5 MSTORE DUP1 DUP8 MLOAD DUP1 DUP4 MSTORE PUSH1 0x80 SWAP3 POP DUP3 DUP7 ADD SWAP2 POP DUP3 DUP2 PUSH1 0x5 SHL DUP8 ADD ADD PUSH1 0x20 DUP1 DUP12 ADD PUSH1 0x0 JUMPDEST DUP5 DUP2 LT ISZERO PUSH3 0x1541 JUMPI DUP10 DUP5 SUB PUSH1 0x7F NOT ADD DUP7 MSTORE DUP2 MLOAD DUP1 MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND DUP6 MSTORE DUP4 DUP2 ADD MLOAD DUP10 DUP7 ADD SWAP1 PUSH1 0x3 DUP2 LT PUSH3 0x14DD JUMPI PUSH4 0x4E487B71 PUSH1 0xE0 SHL PUSH1 0x0 MSTORE PUSH1 0x21 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST DUP7 DUP7 ADD MSTORE PUSH1 0x40 SWAP2 DUP3 ADD MLOAD SWAP2 DUP7 ADD DUP11 SWAP1 MSTORE DUP2 MLOAD SWAP1 DUP2 SWAP1 MSTORE SWAP1 DUP5 ADD SWAP1 PUSH1 0x0 SWAP1 DUP10 DUP8 ADD SWAP1 JUMPDEST DUP1 DUP4 LT ISZERO PUSH3 0x152B JUMPI DUP4 MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xE0 SHL SUB NOT AND DUP3 MSTORE SWAP3 DUP7 ADD SWAP3 PUSH1 0x1 SWAP3 SWAP1 SWAP3 ADD SWAP2 SWAP1 DUP7 ADD SWAP1 PUSH3 0x14FF JUMP JUMPDEST POP SWAP8 DUP6 ADD SWAP8 SWAP6 POP POP POP SWAP1 DUP3 ADD SWAP1 PUSH1 0x1 ADD PUSH3 0x1495 JUMP JUMPDEST POP POP PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP11 AND SWAP1 DUP9 ADD MSTORE DUP7 DUP2 SUB PUSH1 0x40 DUP9 ADD MSTORE PUSH3 0x1565 DUP2 DUP10 PUSH3 0x143E JUMP JUMPDEST SWAP11 SWAP10 POP POP POP POP POP POP POP POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x1 PUSH1 0x1 PUSH1 0x60 SHL SUB DUP3 DUP2 AND DUP1 DUP3 EQ ISZERO PUSH3 0x1593 JUMPI PUSH3 0x1593 PUSH3 0x13DB JUMP JUMPDEST PUSH1 0x1 ADD SWAP4 SWAP3 POP POP POP JUMP JUMPDEST PUSH1 0x0 DUP3 MLOAD PUSH3 0x15B1 DUP2 DUP5 PUSH1 0x20 DUP8 ADD PUSH3 0x140F JUMP JUMPDEST SWAP2 SWAP1 SWAP2 ADD SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x20 DUP2 MSTORE PUSH1 0x0 PUSH3 0x15D0 PUSH1 0x20 DUP4 ADD DUP5 PUSH3 0x143E JUMP JUMPDEST SWAP4 SWAP3 POP POP POP JUMP JUMPDEST PUSH1 0x0 DUP3 DUP3 LT ISZERO PUSH3 0x15EC JUMPI PUSH3 0x15EC PUSH3 0x13DB JUMP JUMPDEST POP SUB SWAP1 JUMP JUMPDEST PUSH4 0x4E487B71 PUSH1 0xE0 SHL PUSH1 0x0 MSTORE PUSH1 0x31 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST PUSH2 0x1A49 DUP1 PUSH3 0x1617 PUSH1 0x0 CODECOPY PUSH1 0x0 RETURN INVALID PUSH1 0x80 PUSH1 0x40 MSTORE CALLDATASIZE PUSH2 0xB JUMPI STOP JUMPDEST PUSH1 0x0 DUP1 CALLDATALOAD PUSH32 0xFFFFFFFF00000000000000000000000000000000000000000000000000000000 AND DUP2 MSTORE PUSH32 0xC8FCAD8DB84D3CC18B4C41D551EA0EE66DD599CDE068D998E57D5E09332C131C PUSH1 0x20 DUP2 SWAP1 MSTORE PUSH1 0x40 SWAP1 SWAP2 KECCAK256 SLOAD DUP2 SWAP1 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP1 PUSH2 0xE3 JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD DUP2 SWAP1 MSTORE PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x4469616D6F6E643A2046756E6374696F6E20646F6573206E6F74206578697374 PUSH1 0x44 DUP3 ADD MSTORE PUSH1 0x64 ADD JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST CALLDATASIZE PUSH1 0x0 DUP1 CALLDATACOPY PUSH1 0x0 DUP1 CALLDATASIZE PUSH1 0x0 DUP5 GAS DELEGATECALL RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY DUP1 DUP1 ISZERO PUSH2 0x102 JUMPI RETURNDATASIZE PUSH1 0x0 RETURN JUMPDEST RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST PUSH1 0x0 JUMPDEST DUP4 MLOAD DUP2 LT ISZERO PUSH2 0x300 JUMPI PUSH1 0x0 DUP5 DUP3 DUP2 MLOAD DUP2 LT PUSH2 0x127 JUMPI PUSH2 0x127 PUSH2 0x167B JUMP JUMPDEST PUSH1 0x20 MUL PUSH1 0x20 ADD ADD MLOAD PUSH1 0x20 ADD MLOAD SWAP1 POP PUSH1 0x0 PUSH1 0x2 DUP2 GT ISZERO PUSH2 0x148 JUMPI PUSH2 0x148 PUSH2 0x16AA JUMP JUMPDEST DUP2 PUSH1 0x2 DUP2 GT ISZERO PUSH2 0x15A JUMPI PUSH2 0x15A PUSH2 0x16AA JUMP JUMPDEST EQ ISZERO PUSH2 0x1A9 JUMPI PUSH2 0x1A4 DUP6 DUP4 DUP2 MLOAD DUP2 LT PUSH2 0x175 JUMPI PUSH2 0x175 PUSH2 0x167B JUMP JUMPDEST PUSH1 0x20 MUL PUSH1 0x20 ADD ADD MLOAD PUSH1 0x0 ADD MLOAD DUP7 DUP5 DUP2 MLOAD DUP2 LT PUSH2 0x193 JUMPI PUSH2 0x193 PUSH2 0x167B JUMP JUMPDEST PUSH1 0x20 MUL PUSH1 0x20 ADD ADD MLOAD PUSH1 0x40 ADD MLOAD PUSH2 0x429 JUMP JUMPDEST PUSH2 0x2ED JUMP JUMPDEST PUSH1 0x1 DUP2 PUSH1 0x2 DUP2 GT ISZERO PUSH2 0x1BD JUMPI PUSH2 0x1BD PUSH2 0x16AA JUMP JUMPDEST EQ ISZERO PUSH2 0x207 JUMPI PUSH2 0x1A4 DUP6 DUP4 DUP2 MLOAD DUP2 LT PUSH2 0x1D8 JUMPI PUSH2 0x1D8 PUSH2 0x167B JUMP JUMPDEST PUSH1 0x20 MUL PUSH1 0x20 ADD ADD MLOAD PUSH1 0x0 ADD MLOAD DUP7 DUP5 DUP2 MLOAD DUP2 LT PUSH2 0x1F6 JUMPI PUSH2 0x1F6 PUSH2 0x167B JUMP JUMPDEST PUSH1 0x20 MUL PUSH1 0x20 ADD ADD MLOAD PUSH1 0x40 ADD MLOAD PUSH2 0x7DC JUMP JUMPDEST PUSH1 0x2 DUP2 PUSH1 0x2 DUP2 GT ISZERO PUSH2 0x21B JUMPI PUSH2 0x21B PUSH2 0x16AA JUMP JUMPDEST EQ ISZERO PUSH2 0x265 JUMPI PUSH2 0x1A4 DUP6 DUP4 DUP2 MLOAD DUP2 LT PUSH2 0x236 JUMPI PUSH2 0x236 PUSH2 0x167B JUMP JUMPDEST PUSH1 0x20 MUL PUSH1 0x20 ADD ADD MLOAD PUSH1 0x0 ADD MLOAD DUP7 DUP5 DUP2 MLOAD DUP2 LT PUSH2 0x254 JUMPI PUSH2 0x254 PUSH2 0x167B JUMP JUMPDEST PUSH1 0x20 MUL PUSH1 0x20 ADD ADD MLOAD PUSH1 0x40 ADD MLOAD PUSH2 0xB99 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x27 PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x4C69624469616D6F6E644375743A20496E636F72726563742046616365744375 PUSH1 0x44 DUP3 ADD MSTORE PUSH32 0x74416374696F6E00000000000000000000000000000000000000000000000000 PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 ADD PUSH2 0xDA JUMP JUMPDEST POP DUP1 PUSH2 0x2F8 DUP2 PUSH2 0x1708 JUMP JUMPDEST SWAP2 POP POP PUSH2 0x10A JUMP JUMPDEST POP PUSH32 0x8FAA70878671CCD212D20771B795C50AF8FD3FF6CF27F4BDE57E5D4DE0AEB673 DUP4 DUP4 DUP4 PUSH1 0x40 MLOAD PUSH2 0x334 SWAP4 SWAP3 SWAP2 SWAP1 PUSH2 0x17B7 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 LOG1 PUSH2 0x346 DUP3 DUP3 PUSH2 0xD8C JUMP JUMPDEST POP POP POP JUMP JUMPDEST PUSH32 0xC8FCAD8DB84D3CC18B4C41D551EA0EE66DD599CDE068D998E57D5E09332C1320 DUP1 SLOAD PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFF0000000000000000000000000000000000000000 DUP2 AND PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP5 DUP2 AND SWAP2 DUP3 OR SWAP1 SWAP4 SSTORE PUSH1 0x40 MLOAD PUSH32 0xC8FCAD8DB84D3CC18B4C41D551EA0EE66DD599CDE068D998E57D5E09332C131C SWAP4 SWAP1 SWAP3 AND SWAP2 DUP3 SWAP1 PUSH32 0x8BE0079C531659141344CD1FD0A4F28419497F9722A3DAAFE3B4186F6B6457E0 SWAP1 PUSH1 0x0 SWAP1 LOG3 POP POP POP JUMP JUMPDEST PUSH32 0xC8FCAD8DB84D3CC18B4C41D551EA0EE66DD599CDE068D998E57D5E09332C131C SWAP1 JUMP JUMPDEST PUSH1 0x0 DUP2 MLOAD GT PUSH2 0x4BA JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x2B PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x4C69624469616D6F6E644375743A204E6F2073656C6563746F727320696E2066 PUSH1 0x44 DUP3 ADD MSTORE PUSH32 0x6163657420746F20637574000000000000000000000000000000000000000000 PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 ADD PUSH2 0xDA JUMP JUMPDEST PUSH32 0xC8FCAD8DB84D3CC18B4C41D551EA0EE66DD599CDE068D998E57D5E09332C131C PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP4 AND PUSH2 0x57E JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x2C PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x4C69624469616D6F6E644375743A204164642066616365742063616E27742062 PUSH1 0x44 DUP3 ADD MSTORE PUSH32 0x6520616464726573732830290000000000000000000000000000000000000000 PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 ADD PUSH2 0xDA JUMP JUMPDEST PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP4 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x1 DUP3 ADD PUSH1 0x20 MSTORE PUSH1 0x40 SWAP1 KECCAK256 SLOAD PUSH12 0xFFFFFFFFFFFFFFFFFFFFFFFF DUP2 AND PUSH2 0x5C3 JUMPI PUSH2 0x5C3 DUP3 DUP6 PUSH2 0x103F JUMP JUMPDEST PUSH1 0x0 JUMPDEST DUP4 MLOAD DUP2 LT ISZERO PUSH2 0x7D5 JUMPI PUSH1 0x0 DUP5 DUP3 DUP2 MLOAD DUP2 LT PUSH2 0x5E3 JUMPI PUSH2 0x5E3 PUSH2 0x167B JUMP JUMPDEST PUSH1 0x20 SWAP1 DUP2 MUL SWAP2 SWAP1 SWAP2 ADD DUP2 ADD MLOAD PUSH32 0xFFFFFFFF00000000000000000000000000000000000000000000000000000000 DUP2 AND PUSH1 0x0 SWAP1 DUP2 MSTORE SWAP2 DUP7 SWAP1 MSTORE PUSH1 0x40 SWAP1 SWAP2 KECCAK256 SLOAD SWAP1 SWAP2 POP PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP1 ISZERO PUSH2 0x6C8 JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x35 PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x4C69624469616D6F6E644375743A2043616E2774206164642066756E6374696F PUSH1 0x44 DUP3 ADD MSTORE PUSH32 0x6E207468617420616C7265616479206578697374730000000000000000000000 PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 ADD PUSH2 0xDA JUMP JUMPDEST PUSH32 0xFFFFFFFF00000000000000000000000000000000000000000000000000000000 DUP3 AND PUSH1 0x0 DUP2 DUP2 MSTORE PUSH1 0x20 DUP8 DUP2 MSTORE PUSH1 0x40 DUP1 DUP4 KECCAK256 DUP1 SLOAD PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF SWAP1 DUP2 AND PUSH21 0x10000000000000000000000000000000000000000 PUSH12 0xFFFFFFFFFFFFFFFFFFFFFFFF DUP13 AND MUL OR DUP3 SSTORE DUP13 AND DUP1 DUP6 MSTORE PUSH1 0x1 DUP1 DUP13 ADD DUP6 MSTORE SWAP3 DUP6 KECCAK256 DUP1 SLOAD SWAP4 DUP5 ADD DUP2 SSTORE DUP6 MSTORE DUP4 DUP6 KECCAK256 PUSH1 0x8 DUP5 DIV ADD DUP1 SLOAD PUSH4 0xFFFFFFFF PUSH1 0x7 SWAP1 SWAP6 AND PUSH1 0x4 MUL PUSH2 0x100 EXP SWAP5 DUP6 MUL NOT AND PUSH1 0xE0 DUP11 SWAP1 SHR SWAP5 SWAP1 SWAP5 MUL SWAP4 SWAP1 SWAP4 OR SWAP1 SWAP3 SSTORE SWAP4 SWAP1 SWAP3 MSTORE DUP8 SWAP1 MSTORE DUP2 SLOAD PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFF0000000000000000000000000000000000000000 AND OR SWAP1 SSTORE DUP4 PUSH2 0x7BD DUP2 PUSH2 0x191F JUMP JUMPDEST SWAP5 POP POP POP POP DUP1 DUP1 PUSH2 0x7CD SWAP1 PUSH2 0x1708 JUMP JUMPDEST SWAP2 POP POP PUSH2 0x5C6 JUMP JUMPDEST POP POP POP POP POP JUMP JUMPDEST PUSH1 0x0 DUP2 MLOAD GT PUSH2 0x86D JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x2B PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x4C69624469616D6F6E644375743A204E6F2073656C6563746F727320696E2066 PUSH1 0x44 DUP3 ADD MSTORE PUSH32 0x6163657420746F20637574000000000000000000000000000000000000000000 PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 ADD PUSH2 0xDA JUMP JUMPDEST PUSH32 0xC8FCAD8DB84D3CC18B4C41D551EA0EE66DD599CDE068D998E57D5E09332C131C PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP4 AND PUSH2 0x931 JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x2C PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x4C69624469616D6F6E644375743A204164642066616365742063616E27742062 PUSH1 0x44 DUP3 ADD MSTORE PUSH32 0x6520616464726573732830290000000000000000000000000000000000000000 PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 ADD PUSH2 0xDA JUMP JUMPDEST PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP4 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x1 DUP3 ADD PUSH1 0x20 MSTORE PUSH1 0x40 SWAP1 KECCAK256 SLOAD PUSH12 0xFFFFFFFFFFFFFFFFFFFFFFFF DUP2 AND PUSH2 0x976 JUMPI PUSH2 0x976 DUP3 DUP6 PUSH2 0x103F JUMP JUMPDEST PUSH1 0x0 JUMPDEST DUP4 MLOAD DUP2 LT ISZERO PUSH2 0x7D5 JUMPI PUSH1 0x0 DUP5 DUP3 DUP2 MLOAD DUP2 LT PUSH2 0x996 JUMPI PUSH2 0x996 PUSH2 0x167B JUMP JUMPDEST PUSH1 0x20 SWAP1 DUP2 MUL SWAP2 SWAP1 SWAP2 ADD DUP2 ADD MLOAD PUSH32 0xFFFFFFFF00000000000000000000000000000000000000000000000000000000 DUP2 AND PUSH1 0x0 SWAP1 DUP2 MSTORE SWAP2 DUP7 SWAP1 MSTORE PUSH1 0x40 SWAP1 SWAP2 KECCAK256 SLOAD SWAP1 SWAP2 POP PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF SWAP1 DUP2 AND SWAP1 DUP8 AND DUP2 EQ ISZERO PUSH2 0xA81 JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x38 PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x4C69624469616D6F6E644375743A2043616E2774207265706C6163652066756E PUSH1 0x44 DUP3 ADD MSTORE PUSH32 0x6374696F6E20776974682073616D652066756E6374696F6E0000000000000000 PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 ADD PUSH2 0xDA JUMP JUMPDEST PUSH2 0xA8C DUP6 DUP3 DUP5 PUSH2 0x10CE JUMP JUMPDEST PUSH32 0xFFFFFFFF00000000000000000000000000000000000000000000000000000000 DUP3 AND PUSH1 0x0 DUP2 DUP2 MSTORE PUSH1 0x20 DUP8 DUP2 MSTORE PUSH1 0x40 DUP1 DUP4 KECCAK256 DUP1 SLOAD PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF SWAP1 DUP2 AND PUSH21 0x10000000000000000000000000000000000000000 PUSH12 0xFFFFFFFFFFFFFFFFFFFFFFFF DUP13 AND MUL OR DUP3 SSTORE DUP13 AND DUP1 DUP6 MSTORE PUSH1 0x1 DUP1 DUP13 ADD DUP6 MSTORE SWAP3 DUP6 KECCAK256 DUP1 SLOAD SWAP4 DUP5 ADD DUP2 SSTORE DUP6 MSTORE DUP4 DUP6 KECCAK256 PUSH1 0x8 DUP5 DIV ADD DUP1 SLOAD PUSH4 0xFFFFFFFF PUSH1 0x7 SWAP1 SWAP6 AND PUSH1 0x4 MUL PUSH2 0x100 EXP SWAP5 DUP6 MUL NOT AND PUSH1 0xE0 DUP11 SWAP1 SHR SWAP5 SWAP1 SWAP5 MUL SWAP4 SWAP1 SWAP4 OR SWAP1 SWAP3 SSTORE SWAP4 SWAP1 SWAP3 MSTORE DUP8 SWAP1 MSTORE DUP2 SLOAD PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFF0000000000000000000000000000000000000000 AND OR SWAP1 SSTORE DUP4 PUSH2 0xB81 DUP2 PUSH2 0x191F JUMP JUMPDEST SWAP5 POP POP POP POP DUP1 DUP1 PUSH2 0xB91 SWAP1 PUSH2 0x1708 JUMP JUMPDEST SWAP2 POP POP PUSH2 0x979 JUMP JUMPDEST PUSH1 0x0 DUP2 MLOAD GT PUSH2 0xC2A JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x2B PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x4C69624469616D6F6E644375743A204E6F2073656C6563746F727320696E2066 PUSH1 0x44 DUP3 ADD MSTORE PUSH32 0x6163657420746F20637574000000000000000000000000000000000000000000 PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 ADD PUSH2 0xDA JUMP JUMPDEST PUSH32 0xC8FCAD8DB84D3CC18B4C41D551EA0EE66DD599CDE068D998E57D5E09332C131C PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP4 AND ISZERO PUSH2 0xCEF JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x36 PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x4C69624469616D6F6E644375743A2052656D6F76652066616365742061646472 PUSH1 0x44 DUP3 ADD MSTORE PUSH32 0x657373206D757374206265206164647265737328302900000000000000000000 PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 ADD PUSH2 0xDA JUMP JUMPDEST PUSH1 0x0 JUMPDEST DUP3 MLOAD DUP2 LT ISZERO PUSH2 0xD86 JUMPI PUSH1 0x0 DUP4 DUP3 DUP2 MLOAD DUP2 LT PUSH2 0xD0F JUMPI PUSH2 0xD0F PUSH2 0x167B JUMP JUMPDEST PUSH1 0x20 SWAP1 DUP2 MUL SWAP2 SWAP1 SWAP2 ADD DUP2 ADD MLOAD PUSH32 0xFFFFFFFF00000000000000000000000000000000000000000000000000000000 DUP2 AND PUSH1 0x0 SWAP1 DUP2 MSTORE SWAP2 DUP6 SWAP1 MSTORE PUSH1 0x40 SWAP1 SWAP2 KECCAK256 SLOAD SWAP1 SWAP2 POP PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH2 0xD71 DUP5 DUP3 DUP5 PUSH2 0x10CE JUMP JUMPDEST POP POP DUP1 DUP1 PUSH2 0xD7E SWAP1 PUSH2 0x1708 JUMP JUMPDEST SWAP2 POP POP PUSH2 0xCF2 JUMP JUMPDEST POP POP POP POP JUMP JUMPDEST PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP3 AND PUSH2 0xE3A JUMPI DUP1 MLOAD ISZERO PUSH2 0xE36 JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x3C PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x4C69624469616D6F6E644375743A205F696E6974206973206164647265737328 PUSH1 0x44 DUP3 ADD MSTORE PUSH32 0x3029206275745F63616C6C64617461206973206E6F7420656D70747900000000 PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 ADD PUSH2 0xDA JUMP JUMPDEST POP POP JUMP JUMPDEST PUSH1 0x0 DUP2 MLOAD GT PUSH2 0xECB JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x3D PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x4C69624469616D6F6E644375743A205F63616C6C6461746120697320656D7074 PUSH1 0x44 DUP3 ADD MSTORE PUSH32 0x7920627574205F696E6974206973206E6F742061646472657373283029000000 PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 ADD PUSH2 0xDA JUMP JUMPDEST PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP3 AND ADDRESS EQ PUSH2 0xF0A JUMPI PUSH2 0xF0A DUP3 PUSH1 0x40 MLOAD DUP1 PUSH1 0x60 ADD PUSH1 0x40 MSTORE DUP1 PUSH1 0x28 DUP2 MSTORE PUSH1 0x20 ADD PUSH2 0x19C8 PUSH1 0x28 SWAP2 CODECOPY PUSH2 0x1640 JUMP JUMPDEST PUSH1 0x0 DUP1 DUP4 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP4 PUSH1 0x40 MLOAD PUSH2 0xF32 SWAP2 SWAP1 PUSH2 0x194B JUMP JUMPDEST PUSH1 0x0 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP6 GAS DELEGATECALL SWAP2 POP POP RETURNDATASIZE DUP1 PUSH1 0x0 DUP2 EQ PUSH2 0xF6D JUMPI PUSH1 0x40 MLOAD SWAP2 POP PUSH1 0x1F NOT PUSH1 0x3F RETURNDATASIZE ADD AND DUP3 ADD PUSH1 0x40 MSTORE RETURNDATASIZE DUP3 MSTORE RETURNDATASIZE PUSH1 0x0 PUSH1 0x20 DUP5 ADD RETURNDATACOPY PUSH2 0xF72 JUMP JUMPDEST PUSH1 0x60 SWAP2 POP JUMPDEST POP SWAP2 POP SWAP2 POP DUP2 PUSH2 0xD86 JUMPI DUP1 MLOAD ISZERO PUSH2 0xFB7 JUMPI DUP1 PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0xDA SWAP2 SWAP1 PUSH2 0x1967 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x26 PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x4C69624469616D6F6E644375743A205F696E69742066756E6374696F6E207265 PUSH1 0x44 DUP3 ADD MSTORE PUSH32 0x7665727465640000000000000000000000000000000000000000000000000000 PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 ADD PUSH2 0xDA JUMP JUMPDEST PUSH2 0x1061 DUP2 PUSH1 0x40 MLOAD DUP1 PUSH1 0x60 ADD PUSH1 0x40 MSTORE DUP1 PUSH1 0x24 DUP2 MSTORE PUSH1 0x20 ADD PUSH2 0x19F0 PUSH1 0x24 SWAP2 CODECOPY PUSH2 0x1640 JUMP JUMPDEST PUSH1 0x2 DUP3 ADD DUP1 SLOAD PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF SWAP1 SWAP3 AND PUSH1 0x0 DUP2 DUP2 MSTORE PUSH1 0x1 SWAP5 DUP6 ADD PUSH1 0x20 SWAP1 DUP2 MSTORE PUSH1 0x40 DUP3 KECCAK256 DUP7 ADD DUP6 SWAP1 SSTORE SWAP5 DUP5 ADD DUP4 SSTORE SWAP2 DUP3 MSTORE SWAP3 SWAP1 KECCAK256 ADD DUP1 SLOAD PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFF0000000000000000000000000000000000000000 AND SWAP1 SWAP2 OR SWAP1 SSTORE JUMP JUMPDEST PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP3 AND PUSH2 0x1171 JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x37 PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x4C69624469616D6F6E644375743A2043616E27742072656D6F76652066756E63 PUSH1 0x44 DUP3 ADD MSTORE PUSH32 0x74696F6E207468617420646F65736E2774206578697374000000000000000000 PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 ADD PUSH2 0xDA JUMP JUMPDEST PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP3 AND ADDRESS EQ ISZERO PUSH2 0x1217 JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x2E PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x4C69624469616D6F6E644375743A2043616E27742072656D6F766520696D6D75 PUSH1 0x44 DUP3 ADD MSTORE PUSH32 0x7461626C652066756E6374696F6E000000000000000000000000000000000000 PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 ADD PUSH2 0xDA JUMP JUMPDEST PUSH32 0xFFFFFFFF00000000000000000000000000000000000000000000000000000000 DUP2 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x20 DUP5 DUP2 MSTORE PUSH1 0x40 DUP1 DUP4 KECCAK256 SLOAD PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP7 AND DUP5 MSTORE PUSH1 0x1 DUP1 DUP9 ADD SWAP1 SWAP4 MSTORE SWAP1 DUP4 KECCAK256 SLOAD PUSH21 0x10000000000000000000000000000000000000000 SWAP1 SWAP2 DIV PUSH12 0xFFFFFFFFFFFFFFFFFFFFFFFF AND SWAP3 SWAP2 PUSH2 0x12A1 SWAP2 PUSH2 0x1981 JUMP JUMPDEST SWAP1 POP DUP1 DUP3 EQ PUSH2 0x13E8 JUMPI PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP5 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x1 DUP7 ADD PUSH1 0x20 MSTORE PUSH1 0x40 DUP2 KECCAK256 DUP1 SLOAD DUP4 SWAP1 DUP2 LT PUSH2 0x12E3 JUMPI PUSH2 0x12E3 PUSH2 0x167B JUMP JUMPDEST PUSH1 0x0 SWAP2 DUP3 MSTORE PUSH1 0x20 DUP1 DUP4 KECCAK256 PUSH1 0x8 DUP4 DIV ADD SLOAD PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP10 AND DUP5 MSTORE PUSH1 0x1 DUP11 ADD SWAP1 SWAP2 MSTORE PUSH1 0x40 SWAP1 SWAP3 KECCAK256 DUP1 SLOAD PUSH1 0x7 SWAP1 SWAP3 AND PUSH1 0x4 MUL PUSH2 0x100 EXP SWAP1 SWAP3 DIV PUSH1 0xE0 SHL SWAP3 POP DUP3 SWAP2 SWAP1 DUP6 SWAP1 DUP2 LT PUSH2 0x1341 JUMPI PUSH2 0x1341 PUSH2 0x167B JUMP JUMPDEST PUSH1 0x0 SWAP2 DUP3 MSTORE PUSH1 0x20 DUP1 DUP4 KECCAK256 PUSH1 0x8 DUP4 DIV ADD DUP1 SLOAD PUSH4 0xFFFFFFFF PUSH1 0x7 SWAP1 SWAP5 AND PUSH1 0x4 MUL PUSH2 0x100 EXP SWAP4 DUP5 MUL NOT AND PUSH1 0xE0 SWAP6 SWAP1 SWAP6 SHR SWAP3 SWAP1 SWAP3 MUL SWAP4 SWAP1 SWAP4 OR SWAP1 SSTORE PUSH32 0xFFFFFFFF00000000000000000000000000000000000000000000000000000000 SWAP3 SWAP1 SWAP3 AND DUP3 MSTORE DUP7 SWAP1 MSTORE PUSH1 0x40 SWAP1 KECCAK256 DUP1 SLOAD PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH21 0x10000000000000000000000000000000000000000 PUSH12 0xFFFFFFFFFFFFFFFFFFFFFFFF DUP6 AND MUL OR SWAP1 SSTORE JUMPDEST PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP5 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x1 DUP7 ADD PUSH1 0x20 MSTORE PUSH1 0x40 SWAP1 KECCAK256 DUP1 SLOAD DUP1 PUSH2 0x141E JUMPI PUSH2 0x141E PUSH2 0x1998 JUMP JUMPDEST PUSH1 0x0 DUP3 DUP2 MSTORE PUSH1 0x20 DUP1 DUP3 KECCAK256 PUSH1 0x8 PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF SWAP1 SWAP5 ADD SWAP4 DUP5 DIV ADD DUP1 SLOAD PUSH4 0xFFFFFFFF PUSH1 0x4 PUSH1 0x7 DUP8 AND MUL PUSH2 0x100 EXP MUL NOT AND SWAP1 SSTORE SWAP2 SWAP1 SWAP3 SSTORE PUSH32 0xFFFFFFFF00000000000000000000000000000000000000000000000000000000 DUP6 AND DUP3 MSTORE DUP7 SWAP1 MSTORE PUSH1 0x40 DUP2 KECCAK256 SSTORE DUP1 PUSH2 0x7D5 JUMPI PUSH1 0x2 DUP6 ADD SLOAD PUSH1 0x0 SWAP1 PUSH2 0x14B3 SWAP1 PUSH1 0x1 SWAP1 PUSH2 0x1981 JUMP JUMPDEST PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP7 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x1 DUP1 DUP10 ADD PUSH1 0x20 MSTORE PUSH1 0x40 SWAP1 SWAP2 KECCAK256 ADD SLOAD SWAP1 SWAP2 POP DUP1 DUP3 EQ PUSH2 0x15A1 JUMPI PUSH1 0x0 DUP8 PUSH1 0x2 ADD DUP4 DUP2 SLOAD DUP2 LT PUSH2 0x14FF JUMPI PUSH2 0x14FF PUSH2 0x167B JUMP JUMPDEST PUSH1 0x0 SWAP2 DUP3 MSTORE PUSH1 0x20 SWAP1 SWAP2 KECCAK256 ADD SLOAD PUSH1 0x2 DUP10 ADD DUP1 SLOAD PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF SWAP1 SWAP3 AND SWAP3 POP DUP3 SWAP2 DUP5 SWAP1 DUP2 LT PUSH2 0x153D JUMPI PUSH2 0x153D PUSH2 0x167B JUMP JUMPDEST PUSH1 0x0 SWAP2 DUP3 MSTORE PUSH1 0x20 DUP1 DUP4 KECCAK256 SWAP2 SWAP1 SWAP2 ADD DUP1 SLOAD PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFF0000000000000000000000000000000000000000 AND PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF SWAP5 DUP6 AND OR SWAP1 SSTORE SWAP3 SWAP1 SWAP2 AND DUP2 MSTORE PUSH1 0x1 DUP10 DUP2 ADD SWAP1 SWAP3 MSTORE PUSH1 0x40 SWAP1 KECCAK256 ADD DUP2 SWAP1 SSTORE JUMPDEST DUP7 PUSH1 0x2 ADD DUP1 SLOAD DUP1 PUSH2 0x15B4 JUMPI PUSH2 0x15B4 PUSH2 0x1998 JUMP JUMPDEST PUSH1 0x0 DUP3 DUP2 MSTORE PUSH1 0x20 DUP1 DUP3 KECCAK256 DUP4 ADD PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF SWAP1 DUP2 ADD DUP1 SLOAD PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFF0000000000000000000000000000000000000000 AND SWAP1 SSTORE SWAP1 SWAP3 ADD SWAP1 SWAP3 SSTORE PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP9 AND DUP3 MSTORE PUSH1 0x1 DUP10 DUP2 ADD SWAP1 SWAP2 MSTORE PUSH1 0x40 DUP3 KECCAK256 ADD SSTORE POP POP POP POP POP POP POP JUMP JUMPDEST DUP2 EXTCODESIZE DUP2 DUP2 PUSH2 0xD86 JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0xDA SWAP2 SWAP1 PUSH2 0x1967 JUMP JUMPDEST PUSH32 0x4E487B7100000000000000000000000000000000000000000000000000000000 PUSH1 0x0 MSTORE PUSH1 0x32 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST PUSH32 0x4E487B7100000000000000000000000000000000000000000000000000000000 PUSH1 0x0 MSTORE PUSH1 0x21 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST PUSH32 0x4E487B7100000000000000000000000000000000000000000000000000000000 PUSH1 0x0 MSTORE PUSH1 0x11 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST PUSH1 0x0 PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP3 EQ ISZERO PUSH2 0x173A JUMPI PUSH2 0x173A PUSH2 0x16D9 JUMP JUMPDEST POP PUSH1 0x1 ADD SWAP1 JUMP JUMPDEST PUSH1 0x0 JUMPDEST DUP4 DUP2 LT ISZERO PUSH2 0x175C JUMPI DUP2 DUP2 ADD MLOAD DUP4 DUP3 ADD MSTORE PUSH1 0x20 ADD PUSH2 0x1744 JUMP JUMPDEST DUP4 DUP2 GT ISZERO PUSH2 0xD86 JUMPI POP POP PUSH1 0x0 SWAP2 ADD MSTORE JUMP JUMPDEST PUSH1 0x0 DUP2 MLOAD DUP1 DUP5 MSTORE PUSH2 0x1785 DUP2 PUSH1 0x20 DUP7 ADD PUSH1 0x20 DUP7 ADD PUSH2 0x1741 JUMP JUMPDEST PUSH1 0x1F ADD PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFE0 AND SWAP3 SWAP1 SWAP3 ADD PUSH1 0x20 ADD SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x60 DUP1 DUP4 ADD DUP2 DUP5 MSTORE DUP1 DUP8 MLOAD DUP1 DUP4 MSTORE PUSH1 0x80 SWAP3 POP DUP3 DUP7 ADD SWAP2 POP DUP3 DUP2 PUSH1 0x5 SHL DUP8 ADD ADD PUSH1 0x20 DUP1 DUP12 ADD PUSH1 0x0 JUMPDEST DUP5 DUP2 LT ISZERO PUSH2 0x18E2 JUMPI PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF80 DUP11 DUP6 SUB ADD DUP7 MSTORE DUP2 MLOAD DUP9 DUP6 ADD PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP3 MLOAD AND DUP7 MSTORE DUP5 DUP3 ADD MLOAD PUSH1 0x3 DUP2 LT PUSH2 0x1869 JUMPI PUSH32 0x4E487B7100000000000000000000000000000000000000000000000000000000 PUSH1 0x0 MSTORE PUSH1 0x21 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST DUP7 DUP7 ADD MSTORE PUSH1 0x40 SWAP2 DUP3 ADD MLOAD SWAP2 DUP7 ADD DUP11 SWAP1 MSTORE DUP2 MLOAD SWAP1 DUP2 SWAP1 MSTORE SWAP1 DUP5 ADD SWAP1 PUSH1 0x0 SWAP1 DUP10 DUP8 ADD SWAP1 JUMPDEST DUP1 DUP4 LT ISZERO PUSH2 0x18CD JUMPI DUP4 MLOAD PUSH32 0xFFFFFFFF00000000000000000000000000000000000000000000000000000000 AND DUP3 MSTORE SWAP3 DUP7 ADD SWAP3 PUSH1 0x1 SWAP3 SWAP1 SWAP3 ADD SWAP2 SWAP1 DUP7 ADD SWAP1 PUSH2 0x188B JUMP JUMPDEST POP SWAP8 DUP6 ADD SWAP8 SWAP6 POP POP POP SWAP1 DUP3 ADD SWAP1 PUSH1 0x1 ADD PUSH2 0x17E0 JUMP JUMPDEST POP POP PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP11 AND SWAP1 DUP9 ADD MSTORE DUP7 DUP2 SUB PUSH1 0x40 DUP9 ADD MSTORE PUSH2 0x1911 DUP2 DUP10 PUSH2 0x176D JUMP JUMPDEST SWAP11 SWAP10 POP POP POP POP POP POP POP POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH12 0xFFFFFFFFFFFFFFFFFFFFFFFF DUP1 DUP4 AND DUP2 DUP2 EQ ISZERO PUSH2 0x1941 JUMPI PUSH2 0x1941 PUSH2 0x16D9 JUMP JUMPDEST PUSH1 0x1 ADD SWAP4 SWAP3 POP POP POP JUMP JUMPDEST PUSH1 0x0 DUP3 MLOAD PUSH2 0x195D DUP2 DUP5 PUSH1 0x20 DUP8 ADD PUSH2 0x1741 JUMP JUMPDEST SWAP2 SWAP1 SWAP2 ADD SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x20 DUP2 MSTORE PUSH1 0x0 PUSH2 0x197A PUSH1 0x20 DUP4 ADD DUP5 PUSH2 0x176D JUMP JUMPDEST SWAP4 SWAP3 POP POP POP JUMP JUMPDEST PUSH1 0x0 DUP3 DUP3 LT ISZERO PUSH2 0x1993 JUMPI PUSH2 0x1993 PUSH2 0x16D9 JUMP JUMPDEST POP SUB SWAP1 JUMP JUMPDEST PUSH32 0x4E487B7100000000000000000000000000000000000000000000000000000000 PUSH1 0x0 MSTORE PUSH1 0x31 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT INVALID 0x4C PUSH10 0x624469616D6F6E644375 PUSH21 0x3A205F696E6974206164647265737320686173206E PUSH16 0x20636F64654C69624469616D6F6E6443 PUSH22 0x743A204E657720666163657420686173206E6F20636F PUSH5 0x65A2646970 PUSH7 0x7358221220A164 CREATE2 0xC0 0xA5 0xFB CODESIZE DUP4 PUSH16 0x80DB7C0D13BA057B758BB3BDF1D37D32 CREATE SWAP8 0xAD DUP10 DUP9 0x27 PUSH13 0x64736F6C63430008090033C8FC 0xAD DUP14 0xB8 0x4D EXTCODECOPY 0xC1 DUP12 0x4C COINBASE 0xD5 MLOAD 0xEA 0xE 0xE6 PUSH14 0xD599CDE068D998E57D5E09332C13 SHR 0x4C PUSH10 0x624469616D6F6E644375 PUSH21 0x3A205F696E6974206164647265737320686173206E PUSH16 0x20636F64654C69624469616D6F6E6443 PUSH22 0x743A204164642066616365742063616E277420624C69 PUSH3 0x446961 PUSH14 0x6F6E644375743A204E6577206661 PUSH4 0x65742068 PUSH2 0x7320 PUSH15 0x6F20636F64654C69624469616D6F6E PUSH5 0x4375743A20 0x4E PUSH16 0x2073656C6563746F727320696E206600 ", + "sourceMap": "681:2761:1:-:0;;;847:598;;;;;;;;;;;;;;;;;;:::i;:::-;993:12;;;989:1;993:12;;;;;;;;;946:60;;968:11;;946:21;;;;;:60;;:::i;:::-;1016:40;1044:5;:11;;;1016:27;;;;;:40;;:::i;:::-;1067:36;1106:27;:25;;;;;:27;;:::i;:::-;-1:-1:-1;;;1174:49:1;;;;:22;;;;:49;;;;;;:56;;-1:-1:-1;;1174:56:1;;;1226:4;1174:56;;;;;;-1:-1:-1;;;1240:53:1;;;;;:60;;;;;;;;-1:-1:-1;;;1310:55:1;;;;;:62;;;;;;;;-1:-1:-1;;;1382:49:1;;;;;;:56;;;;;;;;;;-1:-1:-1;681:2761:1;;-1:-1:-1;;681:2761:1;2563:1067:9;2719:18;2714:806;2752:11;:18;2739:10;:31;2714:806;;;2800:33;2836:11;2848:10;2836:23;;;;;;;;:::i;:::-;;;;;;;:30;;;2800:66;;2894:30;2884:40;;;;;;;;:::i;:::-;:6;:40;;;;;;;;:::i;:::-;;2880:630;;;2944:93;2957:11;2969:10;2957:23;;;;;;;;:::i;:::-;;;;;;;:36;;;2995:11;3007:10;2995:23;;;;;;;;:::i;:::-;;;;;;;:41;;;2944:12;;;:93;;:::i;:::-;2880:630;;;3072:34;3062:6;:44;;;;;;;;:::i;:::-;;3058:452;;;3126:97;3143:11;3155:10;3143:23;;;;;;;;:::i;:::-;;;;;;;:36;;;3181:11;3193:10;3181:23;;;;;;;;:::i;:::-;;;;;;;:41;;;3126:16;;;:97;;:::i;3058:452::-;3258:33;3248:6;:43;;;;;;;;:::i;:::-;;3244:266;;;3311:96;3327:11;3339:10;3327:23;;;;;;;;:::i;:::-;;;;;;;:36;;;3365:11;3377:10;3365:23;;;;;;;;:::i;:::-;;;;;;;:41;;;3311:15;;;:96;;:::i;3244:266::-;3446:49;;-1:-1:-1;;;3446:49:9;;4452:2:11;3446:49:9;;;4434:21:11;4491:2;4471:18;;;4464:30;4530:34;4510:18;;;4503:62;-1:-1:-1;;;4581:18:11;;;4574:37;4628:19;;3446:49:9;;;;;;;;3244:266;-1:-1:-1;2772:12:9;;;;:::i;:::-;;;;2714:806;;;;3534:41;3545:11;3558:5;3565:9;3534:41;;;;;;;;:::i;:::-;;;;;;;;3585:38;3606:5;3613:9;3585:20;:38::i;:::-;2563:1067;;;:::o;1851:264::-;1993:16;;;-1:-1:-1;;;;;;2019:28:9;;-1:-1:-1;;;;;2019:28:9;;;;;;;;;2062:46;;-1:-1:-1;;;;;;;;;;;492:45:9;1993:16;;;;;;2062:46;;1915:25;;2062:46;1905:210;;1851:264;:::o;1558:197::-;-1:-1:-1;;;;;;;;;;;492:45:9;1558:197::o;3636:1089::-;3772:1;3744:18;:25;:29;3736:85;;;;-1:-1:-1;;;3736:85:9;;7859:2:11;3736:85:9;;;7841:21:11;7898:2;7878:18;;;7871:30;-1:-1:-1;;;;;;;;;;;7917:18:11;;;7910:62;-1:-1:-1;;;7988:18:11;;;7981:41;8039:19;;3736:85:9;7657:407:11;3736:85:9;-1:-1:-1;;;;;;;;;;;;;;;;3901:27:9;;3893:84;;;;-1:-1:-1;;;3893:84:9;;8271:2:11;3893:84:9;;;8253:21:11;8310:2;8290:18;;;8283:30;-1:-1:-1;;;;;;;;;;;8329:18:11;;;8322:62;-1:-1:-1;;;8400:18:11;;;8393:42;8452:19;;3893:84:9;8069:408:11;3893:84:9;-1:-1:-1;;;;;4020:40:9;;3987:23;4020:40;;;:25;;;:40;;;;;:65;-1:-1:-1;;;;;4154:21:9;;4150:91;;4191:27;4200:2;4204:13;4191:8;:27::i;:::-;4255:21;4250:469;4294:18;:25;4278:13;:41;4250:469;;;4352:15;4370:18;4389:13;4370:33;;;;;;;;:::i;:::-;;;;;;;;;;;;-1:-1:-1;;;;;;4443:39:9;;4417:23;4443:39;;;;;;;;;;;:52;4370:33;;-1:-1:-1;;;;;;4443:52:9;4517:29;;4509:95;;;;-1:-1:-1;;;4509:95:9;;8684:2:11;4509:95:9;;;8666:21:11;8723:2;8703:18;;;8696:30;8762:34;8742:18;;;8735:62;8833:23;8813:18;;;8806:51;8874:19;;4509:95:9;8482:417:11;4509:95:9;-1:-1:-1;;;;;;7084:40:9;;:29;:40;;;;;;;;;;;:85;;-1:-1:-1;;;;;7084:85:9;;;-1:-1:-1;;;;;;;;7084:85:9;;;;;;7179:40;;;;;-1:-1:-1;7179:25:9;;;:40;;;;;:74;;;;;;;;;;;;;;;;;;;;;;;;;7084:85;7179:74;;;;;;;;;;;;;;;;;;;;;7263:40;;;;;;;:69;;-1:-1:-1;;;;;;7263:69:9;;;;4690:18;;;;:::i;:::-;;;;4338:381;;4321:15;;;;;:::i;:::-;;;;4250:469;;;;3726:999;;3636:1089;;:::o;4731:1138::-;4871:1;4843:18;:25;:29;4835:85;;;;-1:-1:-1;;;4835:85:9;;7859:2:11;4835:85:9;;;7841:21:11;7898:2;7878:18;;;7871:30;-1:-1:-1;;;;;;;;;;;7917:18:11;;;7910:62;-1:-1:-1;;;7988:18:11;;;7981:41;8039:19;;4835:85:9;7657:407:11;4835:85:9;-1:-1:-1;;;;;;;;;;;;;;;;4992:27:9;;4984:84;;;;-1:-1:-1;;;4984:84:9;;8271:2:11;4984:84:9;;;8253:21:11;8310:2;8290:18;;;8283:30;-1:-1:-1;;;;;;;;;;;8329:18:11;;;8322:62;-1:-1:-1;;;8400:18:11;;;8393:42;8452:19;;4984:84:9;8069:408:11;4984:84:9;-1:-1:-1;;;;;5111:40:9;;5078:23;5111:40;;;:25;;;:40;;;;;:65;-1:-1:-1;;;;;5245:21:9;;5241:79;;5282:27;5291:2;5295:13;5282:8;:27::i;:::-;5334:21;5329:534;5373:18;:25;5357:13;:41;5329:534;;;5431:15;5449:18;5468:13;5449:33;;;;;;;;:::i;:::-;;;;;;;;;;;;-1:-1:-1;;;;;;5522:39:9;;5496:23;5522:39;;;;;;;;;;;:52;5449:33;;-1:-1:-1;;;;;;5522:52:9;;;;5596:32;;;;;5588:101;;;;-1:-1:-1;;;5588:101:9;;9320:2:11;5588:101:9;;;9302:21:11;9359:2;9339:18;;;9332:30;9398:34;9378:18;;;9371:62;9469:26;9449:18;;;9442:54;9513:19;;5588:101:9;9118:420:11;5588:101:9;5703:45;5718:2;5722:15;5739:8;5703:14;:45::i;:::-;-1:-1:-1;;;;;;7084:40:9;;:29;:40;;;;;;;;;;;:85;;-1:-1:-1;;;;;7084:85:9;;;-1:-1:-1;;;;;;;;7084:85:9;;;;;;7179:40;;;;;-1:-1:-1;7179:25:9;;;:40;;;;;:74;;;;;;;;;;;;;;;;;;;;;;;;;7084:85;7179:74;;;;;;;;;;;;;;;;;;;;;7263:40;;;;;;;:69;;-1:-1:-1;;;;;;7263:69:9;;;;5834:18;;;;:::i;:::-;;;;5417:446;;5400:15;;;;;:::i;:::-;;;;5329:534;;5875:742;6014:1;5986:18;:25;:29;5978:85;;;;-1:-1:-1;;;5978:85:9;;7859:2:11;5978:85:9;;;7841:21:11;7898:2;7878:18;;;7871:30;-1:-1:-1;;;;;;;;;;;7917:18:11;;;7910:62;-1:-1:-1;;;7988:18:11;;;7981:41;8039:19;;5978:85:9;7657:407:11;5978:85:9;-1:-1:-1;;;;;;;;;;;;;;;;6200:27:9;;;6192:94;;;;-1:-1:-1;;;6192:94:9;;9745:2:11;6192:94:9;;;9727:21:11;9784:2;9764:18;;;9757:30;9823:34;9803:18;;;9796:62;9894:24;9874:18;;;9867:52;9936:19;;6192:94:9;9543:418:11;6192:94:9;6301:21;6296:315;6340:18;:25;6324:13;:41;6296:315;;;6398:15;6416:18;6435:13;6416:33;;;;;;;;:::i;:::-;;;;;;;;;;;;-1:-1:-1;;;;;;6489:39:9;;6463:23;6489:39;;;;;;;;;;;:52;6416:33;;-1:-1:-1;;;;;;6489:52:9;6555:45;6489:2;:52;6416:33;6555:14;:45::i;:::-;6384:227;;6367:15;;;;;:::i;:::-;;;;6296:315;;;;5968:649;5875:742;;:::o;9541:871::-;-1:-1:-1;;;;;9633:19:9;;9629:777;;9676:16;;:21;9668:94;;;;-1:-1:-1;;;9668:94:9;;10168:2:11;9668:94:9;;;10150:21:11;10207:2;10187:18;;;10180:30;10246:34;10226:18;;;10219:62;10317:30;10297:18;;;10290:58;10365:19;;9668:94:9;9966:424:11;9668:94:9;9541:871;;:::o;9629:777::-;9820:1;9801:9;:16;:20;9793:94;;;;-1:-1:-1;;;9793:94:9;;10597:2:11;9793:94:9;;;10579:21:11;10636:2;10616:18;;;10609:30;10675:34;10655:18;;;10648:62;10746:31;10726:18;;;10719:59;10795:19;;9793:94:9;10395:425:11;9793:94:9;-1:-1:-1;;;;;9905:22:9;;9922:4;9905:22;9901:134;;9947:73;9970:5;9947:73;;;;;;;;;;;;;;;;;:22;:73::i;:::-;10049:12;10063:18;10085:5;-1:-1:-1;;;;;10085:18:9;10104:9;10085:29;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;10048:66;;;;10133:7;10128:268;;10164:12;;:16;10160:222;;10261:5;10247:21;;-1:-1:-1;;;10247:21:9;;;;;;;;:::i;10160:222::-;10315:48;;-1:-1:-1;;;10315:48:9;;11530:2:11;10315:48:9;;;11512:21:11;11569:2;11549:18;;;11542:30;11608:34;11588:18;;;11581:62;-1:-1:-1;;;11659:18:11;;;11652:36;11705:19;;10315:48:9;11328:402:11;6623:316:9;6710:77;6733:13;6710:77;;;;;;;;;;;;;;;;;:22;:77::i;:::-;6861:17;;;:24;;-1:-1:-1;;;;;6797:40:9;;;;;;;:25;;;;:40;;;;;;;:61;;:88;;;6895:37;;;;;;;;;;;;;;-1:-1:-1;;;;;;6895:37:9;;;;;;6623:316::o;7345:2190::-;-1:-1:-1;;;;;7472:27:9;;7464:95;;;;-1:-1:-1;;;7464:95:9;;11937:2:11;7464:95:9;;;11919:21:11;11976:2;11956:18;;;11949:30;12015:34;11995:18;;;11988:62;12086:25;12066:18;;;12059:53;12129:19;;7464:95:9;11735:419:11;7464:95:9;-1:-1:-1;;;;;7654:30:9;;7679:4;7654:30;;7646:89;;;;-1:-1:-1;;;7646:89:9;;12361:2:11;7646:89:9;;;12343:21:11;12400:2;12380:18;;;12373:30;12439:34;12419:18;;;12412:62;-1:-1:-1;;;12490:18:11;;;12483:44;12544:19;;7646:89:9;12159:410:11;7646:89:9;-1:-1:-1;;;;;;7846:40:9;;7819:24;7846:40;;;;;;;;;;;:65;-1:-1:-1;;;;;7952:40:9;;;;8020:1;7952:25;;;:40;;;;;;:65;-1:-1:-1;;;7846:65:9;;;-1:-1:-1;;;;;7846:65:9;;7819:24;7952:69;;;:::i;:::-;7921:100;;8123:20;8103:16;:40;8099:387;;-1:-1:-1;;;;;8181:40:9;;8159:19;8181:40;;;:25;;;:40;;;;;:80;;8240:20;;8181:80;;;;;;:::i;:::-;;;;;;;;;;;;;;-1:-1:-1;;;;;8275:40:9;;;;:25;;;:40;;;;;;;:76;;8181:80;;;;;;;;;;;;;;-1:-1:-1;8181:80:9;;8275:40;8334:16;;8275:76;;;;;;:::i;:::-;;;;;;;;;;;;;:91;;;:76;;;;;;:91;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;8380:43:9;;;;;;;;;;;;:95;;-1:-1:-1;;;;;8380:95:9;-1:-1:-1;;;;;;;;8380:95:9;;;;;;8099:387;-1:-1:-1;;;;;8531:40:9;;;;;;:25;;;:40;;;;;:64;;;;;;;:::i;:::-;;;;;;;;;;-1:-1:-1;;8531:64:9;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;8612:40:9;;;;;;;;;;8605:47;8747:25;8743:786;;8914:17;;;:24;8879:32;;8914:28;;8941:1;;8914:28;:::i;:::-;-1:-1:-1;;;;;8987:40:9;;8956:28;8987:40;;;:25;;;;:40;;;;;;:61;;8879:63;;-1:-1:-1;9066:48:9;;;9062:338;;9134:24;9161:2;:17;;9179:24;9161:43;;;;;;;;:::i;:::-;;;;;;;;;;;9222:17;;;:39;;-1:-1:-1;;;;;9161:43:9;;;;-1:-1:-1;9161:43:9;;9240:20;;9222:39;;;;;;:::i;:::-;;;;;;;;;;;;;:58;;-1:-1:-1;;;;;;9222:58:9;-1:-1:-1;;;;;9222:58:9;;;;;;9298:43;;;;;;-1:-1:-1;9298:25:9;;;:43;;;;;;:64;:87;;;9062:338;9413:2;:17;;:23;;;;;;;:::i;:::-;;;;;;;;;;;-1:-1:-1;;9413:23:9;;;;;-1:-1:-1;;;;;;9413:23:9;;;;;;;;;-1:-1:-1;;;;;9457:40:9;;;;9413:23;9457:25;;;:40;;;;;;:61;9450:68;-1:-1:-1;;7446:2089:9;;7345:2190;;;:::o;10418:261::-;10591:22;;10658:13;10640:16;10632:40;;;;-1:-1:-1;;;10632:40:9;;;;;;;;:::i;14:127:11:-;75:10;70:3;66:20;63:1;56:31;106:4;103:1;96:15;130:4;127:1;120:15;146:253;218:2;212:9;260:4;248:17;;-1:-1:-1;;;;;280:34:11;;316:22;;;277:62;274:88;;;342:18;;:::i;:::-;378:2;371:22;146:253;:::o;404:275::-;475:2;469:9;540:2;521:13;;-1:-1:-1;;517:27:11;505:40;;-1:-1:-1;;;;;560:34:11;;596:22;;;557:62;554:88;;;622:18;;:::i;:::-;658:2;651:22;404:275;;-1:-1:-1;404:275:11:o;684:191::-;752:4;-1:-1:-1;;;;;774:30:11;;771:56;;;807:18;;:::i;:::-;-1:-1:-1;852:1:11;848:14;864:4;844:25;;684:191::o;880:177::-;959:13;;-1:-1:-1;;;;;1001:31:11;;991:42;;981:70;;1047:1;1044;1037:12;981:70;880:177;;;:::o;1062:438::-;1131:5;1179:4;1167:9;1162:3;1158:19;1154:30;1151:50;;;1197:1;1194;1187:12;1151:50;1230:2;1224:9;1272:4;1260:17;;-1:-1:-1;;;;;1292:34:11;;1328:22;;;1289:62;1286:88;;;1354:18;;:::i;:::-;1390:2;1383:22;1423:6;-1:-1:-1;1423:6:11;1453:40;1483:9;1453:40;:::i;:::-;1438:56;;1062:438;;-1:-1:-1;;1062:438:11:o;1505:2476::-;1662:6;1670;1723:2;1711:9;1702:7;1698:23;1694:32;1691:52;;;1739:1;1736;1729:12;1691:52;1766:16;;-1:-1:-1;;;;;1831:14:11;;;1828:34;;;1858:1;1855;1848:12;1828:34;1896:6;1885:9;1881:22;1871:32;;1941:7;1934:4;1930:2;1926:13;1922:27;1912:55;;1963:1;1960;1953:12;1912:55;1992:2;1986:9;2014:4;2038:68;2054:51;2102:2;2054:51;:::i;:::-;2038:68;:::i;:::-;2140:15;;;2222:1;2218:10;;;;2210:19;;2206:28;;;2171:12;;;;2246:19;;;2243:39;;;2278:1;2275;2268:12;2243:39;2310:2;2306;2302:11;2322:1541;2338:6;2333:3;2330:15;2322:1541;;;2417:3;2411:10;2453:2;2440:11;2437:19;2434:39;;;2469:1;2466;2459:12;2434:39;2496:20;;2568:4;2540:16;;;-1:-1:-1;;2536:30:11;2532:41;2529:61;;;2586:1;2583;2576:12;2529:61;2616:22;;:::i;:::-;2665:42;2703:2;2699;2695:11;2665:42;:::i;:::-;2658:5;2651:57;2750:2;2746;2742:11;2736:18;2789:1;2780:7;2777:14;2767:42;;2805:1;2802;2795:12;2767:42;2829:14;;;2822:31;2896:4;2888:13;;2882:20;2918:16;;;2915:36;;;2947:1;2944;2937:12;2915:36;2982:8;2978:2;2974:17;2964:27;;;3031:7;3026:2;3022;3018:11;3014:25;3004:53;;3053:1;3050;3043:12;3004:53;3094:2;3090;3086:11;3080:18;3124:68;3140:51;3188:2;3140:51;:::i;3124:68::-;3236:17;;;3334:1;3330:10;;;;3322:19;;3343:2;3318:28;;3275:14;;;;3362:21;;;3359:41;;;3396:1;3393;3386:12;3359:41;3434:2;3430;3426:11;3413:24;;3450:298;3468:8;3461:5;3458:19;3450:298;;;3551:12;;-1:-1:-1;;;;;;3602:34:11;;3590:47;;3580:75;;3651:1;3648;3641:12;3580:75;3672:22;;3489:14;;;;3720;;;;3450:298;;;3779:2;3768:14;;3761:29;-1:-1:-1;;3803:18:11;;-1:-1:-1;3841:12:11;;;;2355;;2322:1541;;;-1:-1:-1;3882:5:11;-1:-1:-1;3906:69:11;;-1:-1:-1;3967:7:11;3947:18;;;3906:69;:::i;:::-;3896:79;;;;;;1505:2476;;;;;:::o;3986:127::-;4047:10;4042:3;4038:20;4035:1;4028:31;4078:4;4075:1;4068:15;4102:4;4099:1;4092:15;4118:127;4179:10;4174:3;4170:20;4167:1;4160:31;4210:4;4207:1;4200:15;4234:4;4231:1;4224:15;4658:127;4719:10;4714:3;4710:20;4707:1;4700:31;4750:4;4747:1;4740:15;4774:4;4771:1;4764:15;4790:135;4829:3;-1:-1:-1;;4850:17:11;;4847:43;;;4870:18;;:::i;:::-;-1:-1:-1;4917:1:11;4906:13;;4790:135::o;5039:258::-;5111:1;5121:113;5135:6;5132:1;5129:13;5121:113;;;5211:11;;;5205:18;5192:11;;;5185:39;5157:2;5150:10;5121:113;;;5252:6;5249:1;5246:13;5243:48;;;-1:-1:-1;;5287:1:11;5269:16;;5262:27;5039:258::o;5302:257::-;5343:3;5381:5;5375:12;5408:6;5403:3;5396:19;5424:63;5480:6;5473:4;5468:3;5464:14;5457:4;5450:5;5446:16;5424:63;:::i;:::-;5541:2;5520:15;-1:-1:-1;;5516:29:11;5507:39;;;;5548:4;5503:50;;5302:257;-1:-1:-1;;5302:257:11:o;5564:2088::-;5830:4;5859:2;5899;5888:9;5884:18;5929:2;5918:9;5911:21;5952:6;5987;5981:13;6018:6;6010;6003:22;6044:3;6034:13;;6078:2;6067:9;6063:18;6056:25;;6140:2;6130:6;6127:1;6123:14;6112:9;6108:30;6104:39;6162:4;6201:2;6193:6;6189:15;6222:1;6232:1249;6246:6;6243:1;6240:13;6232:1249;;;6311:22;;;-1:-1:-1;;6307:37:11;6295:50;;6368:13;;6455:9;;-1:-1:-1;;;;;6451:35:11;6436:51;;6526:11;;;6520:18;6408:15;;;;6578:1;6561:19;;6551:170;;6631:10;6626:3;6622:20;6619:1;6612:31;6670:4;6667:1;6660:15;6702:4;6699:1;6692:15;6551:170;6741:15;;;6734:37;6794:4;6839:11;;;6833:18;6871:15;;;6864:27;;;6952:21;;6986:24;;;;7076:23;;;;-1:-1:-1;;7032:15:11;;;;7137:236;7153:8;7148:3;7145:17;7137:236;;;7234:15;;-1:-1:-1;;;;;;7230:42:11;7216:57;;7342:17;;;;7181:1;7172:11;;;;;7299:14;;;;7137:236;;;-1:-1:-1;7459:12:11;;;;7396:5;-1:-1:-1;;;7424:15:11;;;;6268:1;6261:9;6232:1249;;;-1:-1:-1;;;;;;;4996:31:11;;7517:18;;;4984:44;7574:22;;;7567:4;7552:20;;7545:52;7614:32;7578:6;7631;7614:32;:::i;:::-;7606:40;5564:2088;-1:-1:-1;;;;;;;;;;5564:2088:11:o;8904:209::-;8942:3;-1:-1:-1;;;;;9012:14:11;;;9038:15;;;9035:41;;;9056:18;;:::i;:::-;9105:1;9092:15;;8904:209;-1:-1:-1;;;8904:209:11:o;10825:274::-;10954:3;10992:6;10986:13;11008:53;11054:6;11049:3;11042:4;11034:6;11030:17;11008:53;:::i;:::-;11077:16;;;;;10825:274;-1:-1:-1;;10825:274:11:o;11104:219::-;11253:2;11242:9;11235:21;11216:4;11273:44;11313:2;11302:9;11298:18;11290:6;11273:44;:::i;:::-;11265:52;11104:219;-1:-1:-1;;;11104:219:11:o;12574:125::-;12614:4;12642:1;12639;12636:8;12633:34;;;12647:18;;:::i;:::-;-1:-1:-1;12684:9:11;;12574:125::o;12704:127::-;12765:10;12760:3;12756:20;12753:1;12746:31;12796:4;12793:1;12786:15;12820:4;12817:1;12810:15;12704:127;681:2761:1;;;;;;" + }, + "deployedBytecode": { + "functionDebugData": { + "@_431": { + "entryPoint": null, + "id": 431, + "parameterSlots": 0, + "returnSlots": 0 + }, + "@_435": { + "entryPoint": null, + "id": 435, + "parameterSlots": 0, + "returnSlots": 0 + }, + "@addFacet_1338": { + "entryPoint": 4159, + "id": 1338, + "parameterSlots": 2, + "returnSlots": 0 + }, + "@addFunction_1379": { + "entryPoint": null, + "id": 1379, + "parameterSlots": 4, + "returnSlots": 0 + }, + "@addFunctions_1136": { + "entryPoint": 1065, + "id": 1136, + "parameterSlots": 2, + "returnSlots": 0 + }, + "@diamondCut_1035": { + "entryPoint": 263, + "id": 1035, + "parameterSlots": 3, + "returnSlots": 0 + }, + "@diamondStorage_861": { + "entryPoint": 1029, + "id": 861, + "parameterSlots": 0, + "returnSlots": 1 + }, + "@enforceHasContractCode_1642": { + "entryPoint": 5696, + "id": 1642, + "parameterSlots": 2, + "returnSlots": 0 + }, + "@initializeDiamondCut_1623": { + "entryPoint": 3468, + "id": 1623, + "parameterSlots": 2, + "returnSlots": 0 + }, + "@removeFunction_1546": { + "entryPoint": 4302, + "id": 1546, + "parameterSlots": 3, + "returnSlots": 0 + }, + "@removeFunctions_1305": { + "entryPoint": 2969, + "id": 1305, + "parameterSlots": 2, + "returnSlots": 0 + }, + "@replaceFunctions_1240": { + "entryPoint": 2012, + "id": 1240, + "parameterSlots": 2, + "returnSlots": 0 + }, + "@setContractOwner_895": { + "entryPoint": 843, + "id": 895, + "parameterSlots": 1, + "returnSlots": 0 + }, + "abi_encode_address": { + "entryPoint": null, + "id": null, + "parameterSlots": 2, + "returnSlots": 0 + }, + "abi_encode_bytes": { + "entryPoint": 5997, + "id": null, + "parameterSlots": 2, + "returnSlots": 1 + }, + "abi_encode_tuple_packed_t_bytes_memory_ptr__to_t_bytes_memory_ptr__nonPadded_inplace_fromStack_reversed": { + "entryPoint": 6475, + "id": null, + "parameterSlots": 2, + "returnSlots": 1 + }, + "abi_encode_tuple_t_array$_t_struct$_FacetCut_$711_memory_ptr_$dyn_memory_ptr_t_address_t_bytes_memory_ptr__to_t_array$_t_struct$_FacetCut_$711_memory_ptr_$dyn_memory_ptr_t_address_t_bytes_memory_ptr__fromStack_reversed": { + "entryPoint": 6071, + "id": null, + "parameterSlots": 4, + "returnSlots": 1 + }, + "abi_encode_tuple_t_string_memory_ptr__to_t_string_memory_ptr__fromStack_reversed": { + "entryPoint": 6503, + "id": null, + "parameterSlots": 2, + "returnSlots": 1 + }, + "abi_encode_tuple_t_stringliteral_046c761a688d1dc3c500562bc5aaa3544f01f394f9bb3b69aa2a950a45afb1f8__to_t_string_memory_ptr__fromStack_reversed": { + "entryPoint": null, + "id": null, + "parameterSlots": 1, + "returnSlots": 1 + }, + "abi_encode_tuple_t_stringliteral_080b2fe78815767d522290509c8fce2af708c8a54455ca1b0cc978c92822465d__to_t_string_memory_ptr__fromStack_reversed": { + "entryPoint": null, + "id": null, + "parameterSlots": 1, + "returnSlots": 1 + }, + "abi_encode_tuple_t_stringliteral_1ffc682bcfedefd5e93ba9ed0c2d1bc0b18319886e3b4bd28a03a3d3729f85c0__to_t_string_memory_ptr__fromStack_reversed": { + "entryPoint": null, + "id": null, + "parameterSlots": 1, + "returnSlots": 1 + }, + "abi_encode_tuple_t_stringliteral_2c590e498c4d56c984a7092fd5e89a68b9f4541ce9f97252fb74e44a00ffbb71__to_t_string_memory_ptr__fromStack_reversed": { + "entryPoint": null, + "id": null, + "parameterSlots": 1, + "returnSlots": 1 + }, + "abi_encode_tuple_t_stringliteral_48267d8daf5ea9c6bbad1fe9c53dc4c04a2a01b2b85bad432956cf42f45b2f54__to_t_string_memory_ptr__fromStack_reversed": { + "entryPoint": null, + "id": null, + "parameterSlots": 1, + "returnSlots": 1 + }, + "abi_encode_tuple_t_stringliteral_64609d8b93c93a06b98d7db7a87b04044cd4a52c5661d603bb9b90ad8b914a3a__to_t_string_memory_ptr__fromStack_reversed": { + "entryPoint": null, + "id": null, + "parameterSlots": 1, + "returnSlots": 1 + }, + "abi_encode_tuple_t_stringliteral_6e6486aeb9db70da259b7171a739046119facaec2d8a6bd46f1145fe8391014a__to_t_string_memory_ptr__fromStack_reversed": { + "entryPoint": null, + "id": null, + "parameterSlots": 1, + "returnSlots": 1 + }, + "abi_encode_tuple_t_stringliteral_868d165ec2461661b624442252aed6a645399bfae7b60083a77ea1b61b084042__to_t_string_memory_ptr__fromStack_reversed": { + "entryPoint": null, + "id": null, + "parameterSlots": 1, + "returnSlots": 1 + }, + "abi_encode_tuple_t_stringliteral_8ba063dfaa4be2d2cbe73dbb1364728b0f7031ac048441d5fad19e9541992b21__to_t_string_memory_ptr__fromStack_reversed": { + "entryPoint": null, + "id": null, + "parameterSlots": 1, + "returnSlots": 1 + }, + "abi_encode_tuple_t_stringliteral_99a7418ee014d613f46da44561258cdbb58064508097483a319062b99fa37700__to_t_string_memory_ptr__fromStack_reversed": { + "entryPoint": null, + "id": null, + "parameterSlots": 1, + "returnSlots": 1 + }, + "abi_encode_tuple_t_stringliteral_b5a7112edf707196456f338fdcc19cd849be6cb8c0d166bcd035f4cfb00e7078__to_t_string_memory_ptr__fromStack_reversed": { + "entryPoint": null, + "id": null, + "parameterSlots": 1, + "returnSlots": 1 + }, + "abi_encode_tuple_t_stringliteral_b739aae768f79b96e91d9f66398733516895e39eb09ee54a795b49dcc77504d4__to_t_string_memory_ptr__fromStack_reversed": { + "entryPoint": null, + "id": null, + "parameterSlots": 1, + "returnSlots": 1 + }, + "checked_sub_t_uint256": { + "entryPoint": 6529, + "id": null, + "parameterSlots": 2, + "returnSlots": 1 + }, + "copy_memory_to_memory": { + "entryPoint": 5953, + "id": null, + "parameterSlots": 3, + "returnSlots": 0 + }, + "increment_t_uint256": { + "entryPoint": 5896, + "id": null, + "parameterSlots": 1, + "returnSlots": 1 + }, + "increment_t_uint96": { + "entryPoint": 6431, + "id": null, + "parameterSlots": 1, + "returnSlots": 1 + }, + "panic_error_0x11": { + "entryPoint": 5849, + "id": null, + "parameterSlots": 0, + "returnSlots": 0 + }, + "panic_error_0x21": { + "entryPoint": 5802, + "id": null, + "parameterSlots": 0, + "returnSlots": 0 + }, + "panic_error_0x31": { + "entryPoint": 6552, + "id": null, + "parameterSlots": 0, + "returnSlots": 0 + }, + "panic_error_0x32": { + "entryPoint": 5755, + "id": null, + "parameterSlots": 0, + "returnSlots": 0 + } + }, + "generatedSources": [ + { + "ast": { + "nodeType": "YulBlock", + "src": "0:9784:11", + "statements": [ + { + "nodeType": "YulBlock", + "src": "6:3:11", + "statements": [] + }, + { + "body": { + "nodeType": "YulBlock", + "src": "188:182:11", + "statements": [ + { + "expression": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "205:9:11" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "216:2:11", + "type": "", + "value": "32" } ], "functionName": { "name": "mstore", "nodeType": "YulIdentifier", - "src": "9700:6:10" + "src": "198:6:11" }, "nodeType": "YulFunctionCall", - "src": "9700:30:10" + "src": "198:21:11" }, "nodeType": "YulExpressionStatement", - "src": "9700:30:10" + "src": "198:21:11" }, { "expression": { @@ -6858,42 +10002,42 @@ { "name": "headStart", "nodeType": "YulIdentifier", - "src": "9750:9:10" + "src": "239:9:11" }, { "kind": "number", "nodeType": "YulLiteral", - "src": "9761:2:10", + "src": "250:2:11", "type": "", - "value": "64" + "value": "32" } ], "functionName": { "name": "add", "nodeType": "YulIdentifier", - "src": "9746:3:10" + "src": "235:3:11" }, "nodeType": "YulFunctionCall", - "src": "9746:18:10" + "src": "235:18:11" }, { - "kind": "string", + "kind": "number", "nodeType": "YulLiteral", - "src": "9766:34:10", + "src": "255:2:11", "type": "", - "value": "LibDiamondCut: Can't add functio" + "value": "32" } ], "functionName": { "name": "mstore", "nodeType": "YulIdentifier", - "src": "9739:6:10" + "src": "228:6:11" }, "nodeType": "YulFunctionCall", - "src": "9739:62:10" + "src": "228:30:11" }, "nodeType": "YulExpressionStatement", - "src": "9739:62:10" + "src": "228:30:11" }, { "expression": { @@ -6903,86 +10047,87 @@ { "name": "headStart", "nodeType": "YulIdentifier", - "src": "9821:9:10" + "src": "278:9:11" }, { "kind": "number", "nodeType": "YulLiteral", - "src": "9832:2:10", + "src": "289:2:11", "type": "", - "value": "96" + "value": "64" } ], "functionName": { "name": "add", "nodeType": "YulIdentifier", - "src": "9817:3:10" + "src": "274:3:11" }, "nodeType": "YulFunctionCall", - "src": "9817:18:10" + "src": "274:18:11" }, { + "hexValue": "4469616d6f6e643a2046756e6374696f6e20646f6573206e6f74206578697374", "kind": "string", "nodeType": "YulLiteral", - "src": "9837:23:10", + "src": "294:34:11", "type": "", - "value": "n that already exists" + "value": "Diamond: Function does not exist" } ], "functionName": { "name": "mstore", "nodeType": "YulIdentifier", - "src": "9810:6:10" + "src": "267:6:11" }, "nodeType": "YulFunctionCall", - "src": "9810:51:10" + "src": "267:62:11" }, "nodeType": "YulExpressionStatement", - "src": "9810:51:10" + "src": "267:62:11" }, { "nodeType": "YulAssignment", - "src": "9870:27:10", + "src": "338:26:11", "value": { "arguments": [ { "name": "headStart", "nodeType": "YulIdentifier", - "src": "9882:9:10" + "src": "350:9:11" }, { "kind": "number", "nodeType": "YulLiteral", - "src": "9893:3:10", + "src": "361:2:11", "type": "", - "value": "128" + "value": "96" } ], "functionName": { "name": "add", "nodeType": "YulIdentifier", - "src": "9878:3:10" + "src": "346:3:11" }, "nodeType": "YulFunctionCall", - "src": "9878:19:10" + "src": "346:18:11" }, "variableNames": [ { "name": "tail", "nodeType": "YulIdentifier", - "src": "9870:4:10" + "src": "338:4:11" } ] } ] }, - "name": "abi_encode_tuple_t_stringliteral_99a7418ee014d613f46da44561258cdbb58064508097483a319062b99fa37700__to_t_string_memory_ptr__fromStack_reversed", + "name": "abi_encode_tuple_t_stringliteral_6e6486aeb9db70da259b7171a739046119facaec2d8a6bd46f1145fe8391014a__to_t_string_memory_ptr__fromStack_reversed", "nodeType": "YulFunctionDefinition", "parameters": [ { "name": "headStart", "nodeType": "YulTypedName", - "src": "9637:9:10", + "src": "165:9:11", "type": "" } ], @@ -6990,239 +10135,212 @@ { "name": "tail", "nodeType": "YulTypedName", - "src": "9651:4:10", + "src": "179:4:11", "type": "" } ], - "src": "9486:417:10" + "src": "14:356:11" }, { "body": { "nodeType": "YulBlock", - "src": "10082:246:10", + "src": "407:152:11", "statements": [ { "expression": { "arguments": [ { - "name": "headStart", - "nodeType": "YulIdentifier", - "src": "10099:9:10" + "kind": "number", + "nodeType": "YulLiteral", + "src": "424:1:11", + "type": "", + "value": "0" }, { "kind": "number", "nodeType": "YulLiteral", - "src": "10110:2:10", + "src": "427:77:11", "type": "", - "value": "32" + "value": "35408467139433450592217433187231851964531694900788300625387963629091585785856" } ], "functionName": { "name": "mstore", "nodeType": "YulIdentifier", - "src": "10092:6:10" + "src": "417:6:11" }, "nodeType": "YulFunctionCall", - "src": "10092:21:10" + "src": "417:88:11" }, "nodeType": "YulExpressionStatement", - "src": "10092:21:10" + "src": "417:88:11" }, { "expression": { "arguments": [ { - "arguments": [ - { - "name": "headStart", - "nodeType": "YulIdentifier", - "src": "10133:9:10" - }, - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "10144:2:10", - "type": "", - "value": "32" - } - ], - "functionName": { - "name": "add", - "nodeType": "YulIdentifier", - "src": "10129:3:10" - }, - "nodeType": "YulFunctionCall", - "src": "10129:18:10" + "kind": "number", + "nodeType": "YulLiteral", + "src": "521:1:11", + "type": "", + "value": "4" }, { "kind": "number", "nodeType": "YulLiteral", - "src": "10149:2:10", + "src": "524:4:11", "type": "", - "value": "56" + "value": "0x32" } ], "functionName": { "name": "mstore", "nodeType": "YulIdentifier", - "src": "10122:6:10" + "src": "514:6:11" }, "nodeType": "YulFunctionCall", - "src": "10122:30:10" + "src": "514:15:11" }, "nodeType": "YulExpressionStatement", - "src": "10122:30:10" + "src": "514:15:11" }, { "expression": { "arguments": [ { - "arguments": [ - { - "name": "headStart", - "nodeType": "YulIdentifier", - "src": "10172:9:10" - }, - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "10183:2:10", - "type": "", - "value": "64" - } - ], - "functionName": { - "name": "add", - "nodeType": "YulIdentifier", - "src": "10168:3:10" - }, - "nodeType": "YulFunctionCall", - "src": "10168:18:10" + "kind": "number", + "nodeType": "YulLiteral", + "src": "545:1:11", + "type": "", + "value": "0" }, { - "kind": "string", + "kind": "number", "nodeType": "YulLiteral", - "src": "10188:34:10", + "src": "548:4:11", "type": "", - "value": "LibDiamondCut: Can't replace fun" + "value": "0x24" + } + ], + "functionName": { + "name": "revert", + "nodeType": "YulIdentifier", + "src": "538:6:11" + }, + "nodeType": "YulFunctionCall", + "src": "538:15:11" + }, + "nodeType": "YulExpressionStatement", + "src": "538:15:11" + } + ] + }, + "name": "panic_error_0x32", + "nodeType": "YulFunctionDefinition", + "src": "375:184:11" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "596:152:11", + "statements": [ + { + "expression": { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "613:1:11", + "type": "", + "value": "0" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "616:77:11", + "type": "", + "value": "35408467139433450592217433187231851964531694900788300625387963629091585785856" } ], "functionName": { "name": "mstore", "nodeType": "YulIdentifier", - "src": "10161:6:10" + "src": "606:6:11" }, "nodeType": "YulFunctionCall", - "src": "10161:62:10" + "src": "606:88:11" }, "nodeType": "YulExpressionStatement", - "src": "10161:62:10" + "src": "606:88:11" }, { "expression": { "arguments": [ { - "arguments": [ - { - "name": "headStart", - "nodeType": "YulIdentifier", - "src": "10243:9:10" - }, - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "10254:2:10", - "type": "", - "value": "96" - } - ], - "functionName": { - "name": "add", - "nodeType": "YulIdentifier", - "src": "10239:3:10" - }, - "nodeType": "YulFunctionCall", - "src": "10239:18:10" + "kind": "number", + "nodeType": "YulLiteral", + "src": "710:1:11", + "type": "", + "value": "4" }, { - "kind": "string", + "kind": "number", "nodeType": "YulLiteral", - "src": "10259:26:10", + "src": "713:4:11", "type": "", - "value": "ction with same function" + "value": "0x21" } ], "functionName": { "name": "mstore", "nodeType": "YulIdentifier", - "src": "10232:6:10" + "src": "703:6:11" }, "nodeType": "YulFunctionCall", - "src": "10232:54:10" + "src": "703:15:11" }, "nodeType": "YulExpressionStatement", - "src": "10232:54:10" + "src": "703:15:11" }, { - "nodeType": "YulAssignment", - "src": "10295:27:10", - "value": { + "expression": { "arguments": [ { - "name": "headStart", - "nodeType": "YulIdentifier", - "src": "10307:9:10" + "kind": "number", + "nodeType": "YulLiteral", + "src": "734:1:11", + "type": "", + "value": "0" }, { "kind": "number", "nodeType": "YulLiteral", - "src": "10318:3:10", + "src": "737:4:11", "type": "", - "value": "128" + "value": "0x24" } ], "functionName": { - "name": "add", + "name": "revert", "nodeType": "YulIdentifier", - "src": "10303:3:10" + "src": "727:6:11" }, "nodeType": "YulFunctionCall", - "src": "10303:19:10" + "src": "727:15:11" }, - "variableNames": [ - { - "name": "tail", - "nodeType": "YulIdentifier", - "src": "10295:4:10" - } - ] + "nodeType": "YulExpressionStatement", + "src": "727:15:11" } ] }, - "name": "abi_encode_tuple_t_stringliteral_b5a7112edf707196456f338fdcc19cd849be6cb8c0d166bcd035f4cfb00e7078__to_t_string_memory_ptr__fromStack_reversed", + "name": "panic_error_0x21", "nodeType": "YulFunctionDefinition", - "parameters": [ - { - "name": "headStart", - "nodeType": "YulTypedName", - "src": "10059:9:10", - "type": "" - } - ], - "returnVariables": [ - { - "name": "tail", - "nodeType": "YulTypedName", - "src": "10073:4:10", - "type": "" - } - ], - "src": "9908:420:10" + "src": "564:184:11" }, { "body": { "nodeType": "YulBlock", - "src": "10507:244:10", + "src": "927:229:11", "statements": [ { "expression": { @@ -7230,12 +10348,12 @@ { "name": "headStart", "nodeType": "YulIdentifier", - "src": "10524:9:10" + "src": "944:9:11" }, { "kind": "number", "nodeType": "YulLiteral", - "src": "10535:2:10", + "src": "955:2:11", "type": "", "value": "32" } @@ -7243,13 +10361,13 @@ "functionName": { "name": "mstore", "nodeType": "YulIdentifier", - "src": "10517:6:10" + "src": "937:6:11" }, "nodeType": "YulFunctionCall", - "src": "10517:21:10" + "src": "937:21:11" }, "nodeType": "YulExpressionStatement", - "src": "10517:21:10" + "src": "937:21:11" }, { "expression": { @@ -7259,12 +10377,12 @@ { "name": "headStart", "nodeType": "YulIdentifier", - "src": "10558:9:10" + "src": "978:9:11" }, { "kind": "number", "nodeType": "YulLiteral", - "src": "10569:2:10", + "src": "989:2:11", "type": "", "value": "32" } @@ -7272,29 +10390,29 @@ "functionName": { "name": "add", "nodeType": "YulIdentifier", - "src": "10554:3:10" + "src": "974:3:11" }, "nodeType": "YulFunctionCall", - "src": "10554:18:10" + "src": "974:18:11" }, { "kind": "number", "nodeType": "YulLiteral", - "src": "10574:2:10", + "src": "994:2:11", "type": "", - "value": "54" + "value": "39" } ], "functionName": { "name": "mstore", "nodeType": "YulIdentifier", - "src": "10547:6:10" + "src": "967:6:11" }, "nodeType": "YulFunctionCall", - "src": "10547:30:10" + "src": "967:30:11" }, "nodeType": "YulExpressionStatement", - "src": "10547:30:10" + "src": "967:30:11" }, { "expression": { @@ -7304,12 +10422,12 @@ { "name": "headStart", "nodeType": "YulIdentifier", - "src": "10597:9:10" + "src": "1017:9:11" }, { "kind": "number", "nodeType": "YulLiteral", - "src": "10608:2:10", + "src": "1028:2:11", "type": "", "value": "64" } @@ -7317,29 +10435,30 @@ "functionName": { "name": "add", "nodeType": "YulIdentifier", - "src": "10593:3:10" + "src": "1013:3:11" }, "nodeType": "YulFunctionCall", - "src": "10593:18:10" + "src": "1013:18:11" }, { + "hexValue": "4c69624469616d6f6e644375743a20496e636f72726563742046616365744375", "kind": "string", "nodeType": "YulLiteral", - "src": "10613:34:10", + "src": "1033:34:11", "type": "", - "value": "LibDiamondCut: Remove facet addr" + "value": "LibDiamondCut: Incorrect FacetCu" } ], "functionName": { "name": "mstore", "nodeType": "YulIdentifier", - "src": "10586:6:10" + "src": "1006:6:11" }, "nodeType": "YulFunctionCall", - "src": "10586:62:10" + "src": "1006:62:11" }, "nodeType": "YulExpressionStatement", - "src": "10586:62:10" + "src": "1006:62:11" }, { "expression": { @@ -7349,12 +10468,12 @@ { "name": "headStart", "nodeType": "YulIdentifier", - "src": "10668:9:10" + "src": "1088:9:11" }, { "kind": "number", "nodeType": "YulLiteral", - "src": "10679:2:10", + "src": "1099:2:11", "type": "", "value": "96" } @@ -7362,44 +10481,45 @@ "functionName": { "name": "add", "nodeType": "YulIdentifier", - "src": "10664:3:10" + "src": "1084:3:11" }, "nodeType": "YulFunctionCall", - "src": "10664:18:10" + "src": "1084:18:11" }, { + "hexValue": "74416374696f6e", "kind": "string", "nodeType": "YulLiteral", - "src": "10684:24:10", + "src": "1104:9:11", "type": "", - "value": "ess must be address(0)" + "value": "tAction" } ], "functionName": { "name": "mstore", "nodeType": "YulIdentifier", - "src": "10657:6:10" + "src": "1077:6:11" }, "nodeType": "YulFunctionCall", - "src": "10657:52:10" + "src": "1077:37:11" }, "nodeType": "YulExpressionStatement", - "src": "10657:52:10" + "src": "1077:37:11" }, { "nodeType": "YulAssignment", - "src": "10718:27:10", + "src": "1123:27:11", "value": { "arguments": [ { "name": "headStart", "nodeType": "YulIdentifier", - "src": "10730:9:10" + "src": "1135:9:11" }, { "kind": "number", "nodeType": "YulLiteral", - "src": "10741:3:10", + "src": "1146:3:11", "type": "", "value": "128" } @@ -7407,28 +10527,28 @@ "functionName": { "name": "add", "nodeType": "YulIdentifier", - "src": "10726:3:10" + "src": "1131:3:11" }, "nodeType": "YulFunctionCall", - "src": "10726:19:10" + "src": "1131:19:11" }, "variableNames": [ { "name": "tail", "nodeType": "YulIdentifier", - "src": "10718:4:10" + "src": "1123:4:11" } ] } ] }, - "name": "abi_encode_tuple_t_stringliteral_b739aae768f79b96e91d9f66398733516895e39eb09ee54a795b49dcc77504d4__to_t_string_memory_ptr__fromStack_reversed", + "name": "abi_encode_tuple_t_stringliteral_48267d8daf5ea9c6bbad1fe9c53dc4c04a2a01b2b85bad432956cf42f45b2f54__to_t_string_memory_ptr__fromStack_reversed", "nodeType": "YulFunctionDefinition", "parameters": [ { "name": "headStart", "nodeType": "YulTypedName", - "src": "10484:9:10", + "src": "904:9:11", "type": "" } ], @@ -7436,193 +10556,74 @@ { "name": "tail", "nodeType": "YulTypedName", - "src": "10498:4:10", + "src": "918:4:11", "type": "" } ], - "src": "10333:418:10" + "src": "753:403:11" }, { "body": { "nodeType": "YulBlock", - "src": "10800:198:10", + "src": "1193:152:11", "statements": [ { - "nodeType": "YulAssignment", - "src": "10810:19:10", - "value": { + "expression": { "arguments": [ { "kind": "number", "nodeType": "YulLiteral", - "src": "10826:2:10", + "src": "1210:1:11", "type": "", - "value": "64" - } - ], - "functionName": { - "name": "mload", - "nodeType": "YulIdentifier", - "src": "10820:5:10" - }, - "nodeType": "YulFunctionCall", - "src": "10820:9:10" - }, - "variableNames": [ - { - "name": "memPtr", - "nodeType": "YulIdentifier", - "src": "10810:6:10" - } - ] - }, - { - "nodeType": "YulVariableDeclaration", - "src": "10838:35:10", - "value": { - "arguments": [ - { - "name": "memPtr", - "nodeType": "YulIdentifier", - "src": "10860:6:10" + "value": "0" }, { - "name": "size", - "nodeType": "YulIdentifier", - "src": "10868:4:10" + "kind": "number", + "nodeType": "YulLiteral", + "src": "1213:77:11", + "type": "", + "value": "35408467139433450592217433187231851964531694900788300625387963629091585785856" } ], "functionName": { - "name": "add", - "nodeType": "YulIdentifier", - "src": "10856:3:10" - }, - "nodeType": "YulFunctionCall", - "src": "10856:17:10" - }, - "variables": [ - { - "name": "newFreePtr", - "nodeType": "YulTypedName", - "src": "10842:10:10", - "type": "" - } - ] - }, - { - "body": { - "nodeType": "YulBlock", - "src": "10948:13:10", - "statements": [ - { - "expression": { - "arguments": [], - "functionName": { - "name": "invalid", - "nodeType": "YulIdentifier", - "src": "10950:7:10" - }, - "nodeType": "YulFunctionCall", - "src": "10950:9:10" - }, - "nodeType": "YulExpressionStatement", - "src": "10950:9:10" - } - ] - }, - "condition": { - "arguments": [ - { - "arguments": [ - { - "name": "newFreePtr", - "nodeType": "YulIdentifier", - "src": "10891:10:10" - }, - { - "arguments": [ - { - "arguments": [ - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "10911:2:10", - "type": "", - "value": "64" - }, - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "10915:1:10", - "type": "", - "value": "1" - } - ], - "functionName": { - "name": "shl", - "nodeType": "YulIdentifier", - "src": "10907:3:10" - }, - "nodeType": "YulFunctionCall", - "src": "10907:10:10" - }, - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "10919:1:10", - "type": "", - "value": "1" - } - ], - "functionName": { - "name": "sub", - "nodeType": "YulIdentifier", - "src": "10903:3:10" - }, - "nodeType": "YulFunctionCall", - "src": "10903:18:10" - } - ], - "functionName": { - "name": "gt", - "nodeType": "YulIdentifier", - "src": "10888:2:10" - }, - "nodeType": "YulFunctionCall", - "src": "10888:34:10" + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "1203:6:11" + }, + "nodeType": "YulFunctionCall", + "src": "1203:88:11" + }, + "nodeType": "YulExpressionStatement", + "src": "1203:88:11" + }, + { + "expression": { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "1307:1:11", + "type": "", + "value": "4" }, { - "arguments": [ - { - "name": "newFreePtr", - "nodeType": "YulIdentifier", - "src": "10927:10:10" - }, - { - "name": "memPtr", - "nodeType": "YulIdentifier", - "src": "10939:6:10" - } - ], - "functionName": { - "name": "lt", - "nodeType": "YulIdentifier", - "src": "10924:2:10" - }, - "nodeType": "YulFunctionCall", - "src": "10924:22:10" + "kind": "number", + "nodeType": "YulLiteral", + "src": "1310:4:11", + "type": "", + "value": "0x11" } ], "functionName": { - "name": "or", + "name": "mstore", "nodeType": "YulIdentifier", - "src": "10885:2:10" + "src": "1300:6:11" }, "nodeType": "YulFunctionCall", - "src": "10885:62:10" + "src": "1300:15:11" }, - "nodeType": "YulIf", - "src": "10882:2:10" + "nodeType": "YulExpressionStatement", + "src": "1300:15:11" }, { "expression": { @@ -7630,223 +10631,223 @@ { "kind": "number", "nodeType": "YulLiteral", - "src": "10977:2:10", + "src": "1331:1:11", "type": "", - "value": "64" + "value": "0" }, { - "name": "newFreePtr", - "nodeType": "YulIdentifier", - "src": "10981:10:10" + "kind": "number", + "nodeType": "YulLiteral", + "src": "1334:4:11", + "type": "", + "value": "0x24" } ], "functionName": { - "name": "mstore", + "name": "revert", "nodeType": "YulIdentifier", - "src": "10970:6:10" + "src": "1324:6:11" }, "nodeType": "YulFunctionCall", - "src": "10970:22:10" + "src": "1324:15:11" }, "nodeType": "YulExpressionStatement", - "src": "10970:22:10" + "src": "1324:15:11" } ] }, - "name": "allocateMemory", + "name": "panic_error_0x11", "nodeType": "YulFunctionDefinition", - "parameters": [ - { - "name": "size", - "nodeType": "YulTypedName", - "src": "10780:4:10", - "type": "" - } - ], - "returnVariables": [ - { - "name": "memPtr", - "nodeType": "YulTypedName", - "src": "10789:6:10", - "type": "" - } - ], - "src": "10756:242:10" + "src": "1161:184:11" }, { "body": { "nodeType": "YulBlock", - "src": "11077:108:10", + "src": "1397:148:11", "statements": [ { "body": { "nodeType": "YulBlock", - "src": "11121:13:10", + "src": "1488:22:11", "statements": [ { "expression": { "arguments": [], "functionName": { - "name": "invalid", + "name": "panic_error_0x11", "nodeType": "YulIdentifier", - "src": "11123:7:10" + "src": "1490:16:11" }, "nodeType": "YulFunctionCall", - "src": "11123:9:10" + "src": "1490:18:11" }, "nodeType": "YulExpressionStatement", - "src": "11123:9:10" + "src": "1490:18:11" } ] }, "condition": { "arguments": [ { - "name": "length", + "name": "value", "nodeType": "YulIdentifier", - "src": "11093:6:10" + "src": "1413:5:11" }, { - "arguments": [ - { - "arguments": [ - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "11109:2:10", - "type": "", - "value": "64" - }, - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "11113:1:10", - "type": "", - "value": "1" - } - ], - "functionName": { - "name": "shl", - "nodeType": "YulIdentifier", - "src": "11105:3:10" - }, - "nodeType": "YulFunctionCall", - "src": "11105:10:10" - }, - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "11117:1:10", - "type": "", - "value": "1" - } - ], - "functionName": { - "name": "sub", - "nodeType": "YulIdentifier", - "src": "11101:3:10" - }, - "nodeType": "YulFunctionCall", - "src": "11101:18:10" + "kind": "number", + "nodeType": "YulLiteral", + "src": "1420:66:11", + "type": "", + "value": "0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff" } ], "functionName": { - "name": "gt", + "name": "eq", "nodeType": "YulIdentifier", - "src": "11090:2:10" + "src": "1410:2:11" }, "nodeType": "YulFunctionCall", - "src": "11090:30:10" + "src": "1410:77:11" }, "nodeType": "YulIf", - "src": "11087:2:10" + "src": "1407:103:11" }, { "nodeType": "YulAssignment", - "src": "11143:36:10", + "src": "1519:20:11", "value": { "arguments": [ { - "arguments": [ - { - "name": "length", - "nodeType": "YulIdentifier", - "src": "11159:6:10" - }, - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "11167:4:10", - "type": "", - "value": "0x20" - } - ], - "functionName": { - "name": "mul", - "nodeType": "YulIdentifier", - "src": "11155:3:10" - }, - "nodeType": "YulFunctionCall", - "src": "11155:17:10" + "name": "value", + "nodeType": "YulIdentifier", + "src": "1530:5:11" }, { "kind": "number", "nodeType": "YulLiteral", - "src": "11174:4:10", + "src": "1537:1:11", "type": "", - "value": "0x20" + "value": "1" } ], "functionName": { "name": "add", "nodeType": "YulIdentifier", - "src": "11151:3:10" + "src": "1526:3:11" }, "nodeType": "YulFunctionCall", - "src": "11151:28:10" + "src": "1526:13:11" }, "variableNames": [ { - "name": "size", + "name": "ret", "nodeType": "YulIdentifier", - "src": "11143:4:10" + "src": "1519:3:11" } ] } ] }, - "name": "array_allocation_size_t_array$_t_bytes4_$dyn", + "name": "increment_t_uint256", "nodeType": "YulFunctionDefinition", "parameters": [ { - "name": "length", + "name": "value", "nodeType": "YulTypedName", - "src": "11057:6:10", + "src": "1379:5:11", "type": "" } ], "returnVariables": [ { - "name": "size", + "name": "ret", + "nodeType": "YulTypedName", + "src": "1389:3:11", + "type": "" + } + ], + "src": "1350:195:11" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "1594:83:11", + "statements": [ + { + "expression": { + "arguments": [ + { + "name": "pos", + "nodeType": "YulIdentifier", + "src": "1611:3:11" + }, + { + "arguments": [ + { + "name": "value", + "nodeType": "YulIdentifier", + "src": "1620:5:11" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "1627:42:11", + "type": "", + "value": "0xffffffffffffffffffffffffffffffffffffffff" + } + ], + "functionName": { + "name": "and", + "nodeType": "YulIdentifier", + "src": "1616:3:11" + }, + "nodeType": "YulFunctionCall", + "src": "1616:54:11" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "1604:6:11" + }, + "nodeType": "YulFunctionCall", + "src": "1604:67:11" + }, + "nodeType": "YulExpressionStatement", + "src": "1604:67:11" + } + ] + }, + "name": "abi_encode_address", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "value", + "nodeType": "YulTypedName", + "src": "1578:5:11", + "type": "" + }, + { + "name": "pos", "nodeType": "YulTypedName", - "src": "11068:4:10", + "src": "1585:3:11", "type": "" } ], - "src": "11003:182:10" + "src": "1550:127:11" }, { "body": { "nodeType": "YulBlock", - "src": "11243:205:10", + "src": "1735:205:11", "statements": [ { "nodeType": "YulVariableDeclaration", - "src": "11253:10:10", + "src": "1745:10:11", "value": { "kind": "number", "nodeType": "YulLiteral", - "src": "11262:1:10", + "src": "1754:1:11", "type": "", "value": "0" }, @@ -7854,7 +10855,7 @@ { "name": "i", "nodeType": "YulTypedName", - "src": "11257:1:10", + "src": "1749:1:11", "type": "" } ] @@ -7862,7 +10863,7 @@ { "body": { "nodeType": "YulBlock", - "src": "11322:63:10", + "src": "1814:63:11", "statements": [ { "expression": { @@ -7872,21 +10873,21 @@ { "name": "dst", "nodeType": "YulIdentifier", - "src": "11347:3:10" + "src": "1839:3:11" }, { "name": "i", "nodeType": "YulIdentifier", - "src": "11352:1:10" + "src": "1844:1:11" } ], "functionName": { "name": "add", "nodeType": "YulIdentifier", - "src": "11343:3:10" + "src": "1835:3:11" }, "nodeType": "YulFunctionCall", - "src": "11343:11:10" + "src": "1835:11:11" }, { "arguments": [ @@ -7895,42 +10896,42 @@ { "name": "src", "nodeType": "YulIdentifier", - "src": "11366:3:10" + "src": "1858:3:11" }, { "name": "i", "nodeType": "YulIdentifier", - "src": "11371:1:10" + "src": "1863:1:11" } ], "functionName": { "name": "add", "nodeType": "YulIdentifier", - "src": "11362:3:10" + "src": "1854:3:11" }, "nodeType": "YulFunctionCall", - "src": "11362:11:10" + "src": "1854:11:11" } ], "functionName": { "name": "mload", "nodeType": "YulIdentifier", - "src": "11356:5:10" + "src": "1848:5:11" }, "nodeType": "YulFunctionCall", - "src": "11356:18:10" + "src": "1848:18:11" } ], "functionName": { "name": "mstore", "nodeType": "YulIdentifier", - "src": "11336:6:10" + "src": "1828:6:11" }, "nodeType": "YulFunctionCall", - "src": "11336:39:10" + "src": "1828:39:11" }, "nodeType": "YulExpressionStatement", - "src": "11336:39:10" + "src": "1828:39:11" } ] }, @@ -7939,41 +10940,41 @@ { "name": "i", "nodeType": "YulIdentifier", - "src": "11283:1:10" + "src": "1775:1:11" }, { "name": "length", "nodeType": "YulIdentifier", - "src": "11286:6:10" + "src": "1778:6:11" } ], "functionName": { "name": "lt", "nodeType": "YulIdentifier", - "src": "11280:2:10" + "src": "1772:2:11" }, "nodeType": "YulFunctionCall", - "src": "11280:13:10" + "src": "1772:13:11" }, "nodeType": "YulForLoop", "post": { "nodeType": "YulBlock", - "src": "11294:19:10", + "src": "1786:19:11", "statements": [ { "nodeType": "YulAssignment", - "src": "11296:15:10", + "src": "1788:15:11", "value": { "arguments": [ { "name": "i", "nodeType": "YulIdentifier", - "src": "11305:1:10" + "src": "1797:1:11" }, { "kind": "number", "nodeType": "YulLiteral", - "src": "11308:2:10", + "src": "1800:2:11", "type": "", "value": "32" } @@ -7981,16 +10982,16 @@ "functionName": { "name": "add", "nodeType": "YulIdentifier", - "src": "11301:3:10" + "src": "1793:3:11" }, "nodeType": "YulFunctionCall", - "src": "11301:10:10" + "src": "1793:10:11" }, "variableNames": [ { "name": "i", "nodeType": "YulIdentifier", - "src": "11296:1:10" + "src": "1788:1:11" } ] } @@ -7998,15 +10999,15 @@ }, "pre": { "nodeType": "YulBlock", - "src": "11276:3:10", + "src": "1768:3:11", "statements": [] }, - "src": "11272:113:10" + "src": "1764:113:11" }, { "body": { "nodeType": "YulBlock", - "src": "11411:31:10", + "src": "1903:31:11", "statements": [ { "expression": { @@ -8016,214 +11017,122 @@ { "name": "dst", "nodeType": "YulIdentifier", - "src": "11424:3:10" + "src": "1916:3:11" }, { "name": "length", "nodeType": "YulIdentifier", - "src": "11429:6:10" + "src": "1921:6:11" } ], "functionName": { "name": "add", "nodeType": "YulIdentifier", - "src": "11420:3:10" + "src": "1912:3:11" }, "nodeType": "YulFunctionCall", - "src": "11420:16:10" + "src": "1912:16:11" }, { "kind": "number", - "nodeType": "YulLiteral", - "src": "11438:1:10", - "type": "", - "value": "0" - } - ], - "functionName": { - "name": "mstore", - "nodeType": "YulIdentifier", - "src": "11413:6:10" - }, - "nodeType": "YulFunctionCall", - "src": "11413:27:10" - }, - "nodeType": "YulExpressionStatement", - "src": "11413:27:10" - } - ] - }, - "condition": { - "arguments": [ - { - "name": "i", - "nodeType": "YulIdentifier", - "src": "11400:1:10" - }, - { - "name": "length", - "nodeType": "YulIdentifier", - "src": "11403:6:10" - } - ], - "functionName": { - "name": "gt", - "nodeType": "YulIdentifier", - "src": "11397:2:10" - }, - "nodeType": "YulFunctionCall", - "src": "11397:13:10" - }, - "nodeType": "YulIf", - "src": "11394:2:10" - } - ] - }, - "name": "copy_memory_to_memory", - "nodeType": "YulFunctionDefinition", - "parameters": [ - { - "name": "src", - "nodeType": "YulTypedName", - "src": "11221:3:10", - "type": "" - }, - { - "name": "dst", - "nodeType": "YulTypedName", - "src": "11226:3:10", - "type": "" - }, - { - "name": "length", - "nodeType": "YulTypedName", - "src": "11231:6:10", - "type": "" - } - ], - "src": "11190:258:10" - } - ] - }, - "contents": "{\n { }\n function abi_decode_t_address_fromMemory(offset) -> value\n {\n value := mload(offset)\n if iszero(eq(value, and(value, sub(shl(160, 1), 1)))) { revert(0, 0) }\n }\n function abi_decode_t_array$_t_bytes4_$dyn_fromMemory(offset, end) -> array\n {\n if iszero(slt(add(offset, 0x1f), end)) { revert(array, array) }\n let _1 := mload(offset)\n let _2 := 0x20\n let dst := allocateMemory(array_allocation_size_t_array$_t_bytes4_$dyn(_1))\n let dst_1 := dst\n mstore(dst, _1)\n dst := add(dst, _2)\n let src := add(offset, _2)\n if gt(add(add(offset, mul(_1, _2)), _2), end) { revert(array, array) }\n let i := array\n for { } lt(i, _1) { i := add(i, 1) }\n {\n let value := mload(src)\n if iszero(eq(value, and(value, shl(224, 0xffffffff)))) { revert(array, array) }\n mstore(dst, value)\n dst := add(dst, _2)\n src := add(src, _2)\n }\n array := dst_1\n }\n function abi_decode_t_struct$_DiamondArgs_fromMemory(headStart, end) -> value\n {\n if slt(sub(end, headStart), 0x20) { revert(value, value) }\n let memPtr := mload(64)\n let newFreePtr := add(memPtr, 0x20)\n if or(gt(newFreePtr, sub(shl(64, 1), 1)), lt(newFreePtr, memPtr)) { invalid() }\n mstore(64, newFreePtr)\n value := memPtr\n mstore(memPtr, abi_decode_t_address_fromMemory(headStart))\n }\n function abi_decode_tuple_t_array$_t_struct$_FacetCut_$679_memory_ptr_$dyn_memory_ptrt_struct$_DiamondArgs_$294_memory_ptr_fromMemory(headStart, dataEnd) -> value0, value1\n {\n if slt(sub(dataEnd, headStart), 64) { revert(value0, value0) }\n let offset := mload(headStart)\n let _1 := sub(shl(64, 1), 1)\n if gt(offset, _1) { revert(value0, value0) }\n let _2 := add(headStart, offset)\n if iszero(slt(add(_2, 0x1f), dataEnd)) { revert(value0, value0) }\n let _3 := mload(_2)\n let _4 := 0x20\n let dst := allocateMemory(array_allocation_size_t_array$_t_bytes4_$dyn(_3))\n let dst_1 := dst\n mstore(dst, _3)\n dst := add(dst, _4)\n let src := add(_2, _4)\n let i := value0\n for { } lt(i, _3) { i := add(i, 1) }\n {\n let _5 := add(_2, mload(src))\n if slt(add(sub(dataEnd, _5), not(31)), 0x60) { revert(value0, value0) }\n let memPtr := mload(64)\n let newFreePtr := add(memPtr, 0x60)\n if or(gt(newFreePtr, _1), lt(newFreePtr, memPtr)) { invalid() }\n mstore(64, newFreePtr)\n mstore(memPtr, abi_decode_t_address_fromMemory(add(_5, _4)))\n let value := mload(add(_5, 64))\n if iszero(lt(value, 3)) { revert(value0, value0) }\n mstore(add(memPtr, _4), value)\n let offset_1 := mload(add(_5, 0x60))\n if gt(offset_1, _1) { revert(value0, value0) }\n mstore(add(memPtr, 64), abi_decode_t_array$_t_bytes4_$dyn_fromMemory(add(add(_5, offset_1), _4), dataEnd))\n mstore(dst, memPtr)\n dst := add(dst, _4)\n src := add(src, _4)\n }\n value0 := dst_1\n value1 := abi_decode_t_struct$_DiamondArgs_fromMemory(add(headStart, _4), dataEnd)\n }\n function abi_encode_t_address(value, pos)\n {\n mstore(pos, and(value, sub(shl(160, 1), 1)))\n }\n function abi_encode_t_bytes(value, pos) -> end\n {\n let length := mload(value)\n mstore(pos, length)\n copy_memory_to_memory(add(value, 0x20), add(pos, 0x20), length)\n end := add(add(pos, and(add(length, 31), not(31))), 0x20)\n }\n function abi_encode_tuple_packed_t_bytes_memory_ptr__to_t_bytes_memory_ptr__nonPadded_inplace_fromStack_reversed(pos, value0) -> end\n {\n let length := mload(value0)\n copy_memory_to_memory(add(value0, 0x20), pos, length)\n end := add(pos, length)\n }\n function abi_encode_tuple_t_array$_t_struct$_FacetCut_$679_memory_ptr_$dyn_memory_ptr_t_address_t_bytes_memory_ptr__to_t_array$_t_struct$_FacetCut_$679_memory_ptr_$dyn_memory_ptr_t_address_t_bytes_memory_ptr__fromStack_reversed(headStart, value2, value1, value0) -> tail\n {\n let _1 := 96\n let tail_1 := add(headStart, _1)\n mstore(headStart, _1)\n let pos := tail_1\n let length := mload(value0)\n mstore(tail_1, length)\n let _2 := 128\n pos := add(headStart, _2)\n let _3 := 0x20\n let tail_2 := add(add(headStart, mul(length, _3)), _2)\n let srcPtr := add(value0, _3)\n let i := tail\n for { } lt(i, length) { i := add(i, 1) }\n {\n mstore(pos, add(sub(tail_2, headStart), not(127)))\n let _4 := mload(srcPtr)\n let tail_3 := add(tail_2, _1)\n mstore(tail_2, and(mload(_4), sub(shl(160, 1), 1)))\n let memberValue0 := mload(add(_4, _3))\n if iszero(lt(memberValue0, 3)) { invalid() }\n mstore(add(tail_2, _3), memberValue0)\n let _5 := 0x40\n let memberValue0_1 := mload(add(_4, _5))\n mstore(add(tail_2, _5), _1)\n let pos_1 := tail_3\n let length_1 := mload(memberValue0_1)\n mstore(tail_3, length_1)\n pos_1 := add(tail_2, _2)\n let srcPtr_1 := add(memberValue0_1, _3)\n let i_1 := tail\n for { } lt(i_1, length_1) { i_1 := add(i_1, 1) }\n {\n mstore(pos_1, and(mload(srcPtr_1), shl(224, 0xffffffff)))\n pos_1 := add(pos_1, _3)\n srcPtr_1 := add(srcPtr_1, _3)\n }\n tail_2 := pos_1\n srcPtr := add(srcPtr, _3)\n pos := add(pos, _3)\n }\n abi_encode_t_address(value1, add(headStart, _3))\n mstore(add(headStart, 0x40), sub(tail_2, headStart))\n tail := abi_encode_t_bytes(value2, tail_2)\n }\n function abi_encode_tuple_t_string_memory_ptr__to_t_string_memory_ptr__fromStack_reversed(headStart, value0) -> tail\n {\n mstore(headStart, 32)\n tail := abi_encode_t_bytes(value0, add(headStart, 32))\n }\n function abi_encode_tuple_t_stringliteral_046c761a688d1dc3c500562bc5aaa3544f01f394f9bb3b69aa2a950a45afb1f8__to_t_string_memory_ptr__fromStack_reversed(headStart) -> tail\n {\n mstore(headStart, 32)\n mstore(add(headStart, 32), 60)\n mstore(add(headStart, 64), \"LibDiamondCut: _init is address(\")\n mstore(add(headStart, 96), \"0) but_calldata is not empty\")\n tail := add(headStart, 128)\n }\n function abi_encode_tuple_t_stringliteral_080b2fe78815767d522290509c8fce2af708c8a54455ca1b0cc978c92822465d__to_t_string_memory_ptr__fromStack_reversed(headStart) -> tail\n {\n mstore(headStart, 32)\n mstore(add(headStart, 32), 38)\n mstore(add(headStart, 64), \"LibDiamondCut: _init function re\")\n mstore(add(headStart, 96), \"verted\")\n tail := add(headStart, 128)\n }\n function abi_encode_tuple_t_stringliteral_1ffc682bcfedefd5e93ba9ed0c2d1bc0b18319886e3b4bd28a03a3d3729f85c0__to_t_string_memory_ptr__fromStack_reversed(headStart) -> tail\n {\n mstore(headStart, 32)\n mstore(add(headStart, 32), 43)\n mstore(add(headStart, 64), \"LibDiamondCut: No selectors in f\")\n mstore(add(headStart, 96), \"acet to cut\")\n tail := add(headStart, 128)\n }\n function abi_encode_tuple_t_stringliteral_2c590e498c4d56c984a7092fd5e89a68b9f4541ce9f97252fb74e44a00ffbb71__to_t_string_memory_ptr__fromStack_reversed(headStart) -> tail\n {\n mstore(headStart, 32)\n mstore(add(headStart, 32), 55)\n mstore(add(headStart, 64), \"LibDiamondCut: Can't remove func\")\n mstore(add(headStart, 96), \"tion that doesn't exist\")\n tail := add(headStart, 128)\n }\n function abi_encode_tuple_t_stringliteral_48267d8daf5ea9c6bbad1fe9c53dc4c04a2a01b2b85bad432956cf42f45b2f54__to_t_string_memory_ptr__fromStack_reversed(headStart) -> tail\n {\n mstore(headStart, 32)\n mstore(add(headStart, 32), 39)\n mstore(add(headStart, 64), \"LibDiamondCut: Incorrect FacetCu\")\n mstore(add(headStart, 96), \"tAction\")\n tail := add(headStart, 128)\n }\n function abi_encode_tuple_t_stringliteral_64609d8b93c93a06b98d7db7a87b04044cd4a52c5661d603bb9b90ad8b914a3a__to_t_string_memory_ptr__fromStack_reversed(headStart) -> tail\n {\n mstore(headStart, 32)\n mstore(add(headStart, 32), 44)\n mstore(add(headStart, 64), \"LibDiamondCut: Add facet can't b\")\n mstore(add(headStart, 96), \"e address(0)\")\n tail := add(headStart, 128)\n }\n function abi_encode_tuple_t_stringliteral_868d165ec2461661b624442252aed6a645399bfae7b60083a77ea1b61b084042__to_t_string_memory_ptr__fromStack_reversed(headStart) -> tail\n {\n mstore(headStart, 32)\n mstore(add(headStart, 32), 61)\n mstore(add(headStart, 64), \"LibDiamondCut: _calldata is empt\")\n mstore(add(headStart, 96), \"y but _init is not address(0)\")\n tail := add(headStart, 128)\n }\n function abi_encode_tuple_t_stringliteral_8ba063dfaa4be2d2cbe73dbb1364728b0f7031ac048441d5fad19e9541992b21__to_t_string_memory_ptr__fromStack_reversed(headStart) -> tail\n {\n mstore(headStart, 32)\n mstore(add(headStart, 32), 46)\n mstore(add(headStart, 64), \"LibDiamondCut: Can't remove immu\")\n mstore(add(headStart, 96), \"table function\")\n tail := add(headStart, 128)\n }\n function abi_encode_tuple_t_stringliteral_99a7418ee014d613f46da44561258cdbb58064508097483a319062b99fa37700__to_t_string_memory_ptr__fromStack_reversed(headStart) -> tail\n {\n mstore(headStart, 32)\n mstore(add(headStart, 32), 53)\n mstore(add(headStart, 64), \"LibDiamondCut: Can't add functio\")\n mstore(add(headStart, 96), \"n that already exists\")\n tail := add(headStart, 128)\n }\n function abi_encode_tuple_t_stringliteral_b5a7112edf707196456f338fdcc19cd849be6cb8c0d166bcd035f4cfb00e7078__to_t_string_memory_ptr__fromStack_reversed(headStart) -> tail\n {\n mstore(headStart, 32)\n mstore(add(headStart, 32), 56)\n mstore(add(headStart, 64), \"LibDiamondCut: Can't replace fun\")\n mstore(add(headStart, 96), \"ction with same function\")\n tail := add(headStart, 128)\n }\n function abi_encode_tuple_t_stringliteral_b739aae768f79b96e91d9f66398733516895e39eb09ee54a795b49dcc77504d4__to_t_string_memory_ptr__fromStack_reversed(headStart) -> tail\n {\n mstore(headStart, 32)\n mstore(add(headStart, 32), 54)\n mstore(add(headStart, 64), \"LibDiamondCut: Remove facet addr\")\n mstore(add(headStart, 96), \"ess must be address(0)\")\n tail := add(headStart, 128)\n }\n function allocateMemory(size) -> memPtr\n {\n memPtr := mload(64)\n let newFreePtr := add(memPtr, size)\n if or(gt(newFreePtr, sub(shl(64, 1), 1)), lt(newFreePtr, memPtr)) { invalid() }\n mstore(64, newFreePtr)\n }\n function array_allocation_size_t_array$_t_bytes4_$dyn(length) -> size\n {\n if gt(length, sub(shl(64, 1), 1)) { invalid() }\n size := add(mul(length, 0x20), 0x20)\n }\n function copy_memory_to_memory(src, dst, length)\n {\n let i := 0\n for { } lt(i, length) { i := add(i, 32) }\n {\n mstore(add(dst, i), mload(add(src, i)))\n }\n if gt(i, length) { mstore(add(dst, length), 0) }\n }\n}", - "id": 10, - "language": "Yul", - "name": "#utility.yul" - } - ], - "linkReferences": {}, - "opcodes": "PUSH1 0x80 PUSH1 0x40 MSTORE PUSH1 0x40 MLOAD PUSH3 0x2D45 CODESIZE SUB DUP1 PUSH3 0x2D45 DUP4 CODECOPY DUP2 ADD PUSH1 0x40 DUP2 SWAP1 MSTORE PUSH3 0x26 SWAP2 PUSH3 0xDB2 JUMP JUMPDEST PUSH1 0x40 DUP1 MLOAD PUSH1 0x0 DUP1 DUP3 MSTORE PUSH1 0x20 DUP3 ADD SWAP1 SWAP3 MSTORE PUSH3 0x4E SWAP2 DUP5 SWAP2 PUSH3 0xF5 PUSH1 0x20 SHL PUSH3 0xDB OR PUSH1 0x20 SHR JUMP JUMPDEST PUSH3 0x68 DUP2 PUSH1 0x0 ADD MLOAD PUSH3 0x2B5 PUSH1 0x20 SHL PUSH3 0x27D OR PUSH1 0x20 SHR JUMP JUMPDEST PUSH1 0x0 PUSH3 0x7F PUSH3 0x317 PUSH1 0x20 SHL PUSH3 0x302 OR PUSH1 0x20 SHR JUMP JUMPDEST PUSH4 0x1FFC9A7 PUSH1 0xE0 SHL PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x3 SWAP1 SWAP2 ADD PUSH1 0x20 MSTORE PUSH1 0x40 DUP1 DUP3 KECCAK256 DUP1 SLOAD PUSH1 0xFF NOT SWAP1 DUP2 AND PUSH1 0x1 SWAP1 DUP2 OR SWAP1 SWAP3 SSTORE PUSH4 0x7E4C707 PUSH1 0xE2 SHL DUP5 MSTORE DUP3 DUP5 KECCAK256 DUP1 SLOAD DUP3 AND DUP4 OR SWAP1 SSTORE PUSH4 0x48E2B093 PUSH1 0xE0 SHL DUP5 MSTORE DUP3 DUP5 KECCAK256 DUP1 SLOAD DUP3 AND DUP4 OR SWAP1 SSTORE PUSH4 0x7F5828D PUSH1 0xE4 SHL DUP5 MSTORE SWAP2 SWAP1 SWAP3 KECCAK256 DUP1 SLOAD SWAP1 SWAP2 AND SWAP1 SWAP2 OR SWAP1 SSTORE POP PUSH3 0x1442 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 JUMPDEST DUP4 MLOAD DUP2 LT ISZERO PUSH3 0x266 JUMPI PUSH1 0x0 DUP5 DUP3 DUP2 MLOAD DUP2 LT PUSH3 0x111 JUMPI INVALID JUMPDEST PUSH1 0x20 MUL PUSH1 0x20 ADD ADD MLOAD PUSH1 0x20 ADD MLOAD SWAP1 POP PUSH1 0x0 PUSH1 0x2 DUP2 GT ISZERO PUSH3 0x12D JUMPI INVALID JUMPDEST DUP2 PUSH1 0x2 DUP2 GT ISZERO PUSH3 0x13A JUMPI INVALID JUMPDEST EQ ISZERO PUSH3 0x189 JUMPI PUSH3 0x183 DUP6 DUP4 DUP2 MLOAD DUP2 LT PUSH3 0x152 JUMPI INVALID JUMPDEST PUSH1 0x20 MUL PUSH1 0x20 ADD ADD MLOAD PUSH1 0x0 ADD MLOAD DUP7 DUP5 DUP2 MLOAD DUP2 LT PUSH3 0x16B JUMPI INVALID JUMPDEST PUSH1 0x20 MUL PUSH1 0x20 ADD ADD MLOAD PUSH1 0x40 ADD MLOAD PUSH3 0x33B PUSH1 0x20 SHL PUSH1 0x20 SHR JUMP JUMPDEST PUSH3 0x25C JUMP JUMPDEST PUSH1 0x1 DUP2 PUSH1 0x2 DUP2 GT ISZERO PUSH3 0x198 JUMPI INVALID JUMPDEST EQ ISZERO PUSH3 0x1E1 JUMPI PUSH3 0x183 DUP6 DUP4 DUP2 MLOAD DUP2 LT PUSH3 0x1B0 JUMPI INVALID JUMPDEST PUSH1 0x20 MUL PUSH1 0x20 ADD ADD MLOAD PUSH1 0x0 ADD MLOAD DUP7 DUP5 DUP2 MLOAD DUP2 LT PUSH3 0x1C9 JUMPI INVALID JUMPDEST PUSH1 0x20 MUL PUSH1 0x20 ADD ADD MLOAD PUSH1 0x40 ADD MLOAD PUSH3 0x54E PUSH1 0x20 SHL PUSH1 0x20 SHR JUMP JUMPDEST PUSH1 0x2 DUP2 PUSH1 0x2 DUP2 GT ISZERO PUSH3 0x1F0 JUMPI INVALID JUMPDEST EQ ISZERO PUSH3 0x239 JUMPI PUSH3 0x183 DUP6 DUP4 DUP2 MLOAD DUP2 LT PUSH3 0x208 JUMPI INVALID JUMPDEST PUSH1 0x20 MUL PUSH1 0x20 ADD ADD MLOAD PUSH1 0x0 ADD MLOAD DUP7 DUP5 DUP2 MLOAD DUP2 LT PUSH3 0x221 JUMPI INVALID JUMPDEST PUSH1 0x20 MUL PUSH1 0x20 ADD ADD MLOAD PUSH1 0x40 ADD MLOAD PUSH3 0x778 PUSH1 0x20 SHL PUSH1 0x20 SHR JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH3 0x253 SWAP1 PUSH3 0x117C JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST POP PUSH1 0x1 ADD PUSH3 0xF8 JUMP JUMPDEST POP PUSH32 0x8FAA70878671CCD212D20771B795C50AF8FD3FF6CF27F4BDE57E5D4DE0AEB673 DUP4 DUP4 DUP4 PUSH1 0x40 MLOAD PUSH3 0x29C SWAP4 SWAP3 SWAP2 SWAP1 PUSH3 0xF25 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 LOG1 PUSH3 0x2B0 DUP3 DUP3 PUSH3 0x83F JUMP JUMPDEST POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH3 0x2C1 PUSH3 0x317 JUMP JUMPDEST PUSH1 0x4 DUP2 ADD DUP1 SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP6 DUP2 AND PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB NOT DUP4 AND DUP2 OR SWAP1 SWAP4 SSTORE PUSH1 0x40 MLOAD SWAP4 SWAP5 POP AND SWAP2 DUP3 SWAP1 PUSH32 0x8BE0079C531659141344CD1FD0A4F28419497F9722A3DAAFE3B4186F6B6457E0 SWAP1 PUSH1 0x0 SWAP1 LOG3 POP POP POP JUMP JUMPDEST PUSH32 0xC8FCAD8DB84D3CC18B4C41D551EA0EE66DD599CDE068D998E57D5E09332C131C SWAP1 JUMP JUMPDEST PUSH1 0x0 DUP2 MLOAD GT PUSH3 0x35F JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH3 0x253 SWAP1 PUSH3 0x10D4 JUMP JUMPDEST PUSH1 0x0 PUSH3 0x36B PUSH3 0x317 JUMP JUMPDEST SWAP1 POP PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP4 AND PUSH3 0x396 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH3 0x253 SWAP1 PUSH3 0x11C3 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP4 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x1 DUP3 ADD PUSH1 0x20 MSTORE PUSH1 0x40 SWAP1 KECCAK256 SLOAD PUSH2 0xFFFF DUP2 AND PUSH3 0x43C JUMPI PUSH3 0x3E0 DUP5 PUSH1 0x40 MLOAD DUP1 PUSH1 0x60 ADD PUSH1 0x40 MSTORE DUP1 PUSH1 0x24 DUP2 MSTORE PUSH1 0x20 ADD PUSH3 0x2D21 PUSH1 0x24 SWAP2 CODECOPY PUSH3 0x97C JUMP JUMPDEST PUSH1 0x2 DUP3 ADD DUP1 SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP7 AND PUSH1 0x0 DUP2 DUP2 MSTORE PUSH1 0x1 DUP1 DUP8 ADD PUSH1 0x20 SWAP1 DUP2 MSTORE PUSH1 0x40 DUP4 KECCAK256 DUP3 ADD DUP1 SLOAD PUSH2 0xFFFF NOT AND PUSH2 0xFFFF SWAP1 SWAP7 AND SWAP6 SWAP1 SWAP6 OR SWAP1 SWAP5 SSTORE DUP5 SLOAD SWAP1 DUP2 ADD DUP6 SSTORE SWAP4 DUP2 MSTORE SWAP2 SWAP1 SWAP2 KECCAK256 SWAP1 SWAP2 ADD DUP1 SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB NOT AND SWAP1 SWAP2 OR SWAP1 SSTORE JUMPDEST PUSH1 0x0 JUMPDEST DUP4 MLOAD DUP2 LT ISZERO PUSH3 0x547 JUMPI PUSH1 0x0 DUP5 DUP3 DUP2 MLOAD DUP2 LT PUSH3 0x458 JUMPI INVALID JUMPDEST PUSH1 0x20 SWAP1 DUP2 MUL SWAP2 SWAP1 SWAP2 ADD DUP2 ADD MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xE0 SHL SUB NOT DUP2 AND PUSH1 0x0 SWAP1 DUP2 MSTORE SWAP2 DUP7 SWAP1 MSTORE PUSH1 0x40 SWAP1 SWAP2 KECCAK256 SLOAD SWAP1 SWAP2 POP PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND DUP1 ISZERO PUSH3 0x4AB JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH3 0x253 SWAP1 PUSH3 0x12BA JUMP JUMPDEST POP PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP7 AND PUSH1 0x0 DUP2 DUP2 MSTORE PUSH1 0x1 DUP7 DUP2 ADD PUSH1 0x20 SWAP1 DUP2 MSTORE PUSH1 0x40 DUP1 DUP5 KECCAK256 DUP1 SLOAD DUP1 DUP6 ADD DUP3 SSTORE SWAP1 DUP6 MSTORE DUP3 DUP6 KECCAK256 PUSH1 0x8 DUP3 DIV ADD DUP1 SLOAD PUSH4 0xFFFFFFFF PUSH1 0x7 SWAP1 SWAP4 AND PUSH1 0x4 MUL PUSH2 0x100 EXP SWAP3 DUP4 MUL NOT AND PUSH1 0xE0 DUP10 SWAP1 SHR SWAP3 SWAP1 SWAP3 MUL SWAP2 SWAP1 SWAP2 OR SWAP1 SSTORE PUSH1 0x1 PUSH1 0x1 PUSH1 0xE0 SHL SUB NOT SWAP1 SWAP6 AND DUP4 MSTORE DUP8 SWAP1 MSTORE SWAP3 SWAP1 KECCAK256 DUP1 SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB NOT AND SWAP1 SWAP2 OR PUSH2 0xFFFF PUSH1 0xA0 SHL NOT AND PUSH1 0x1 PUSH1 0xA0 SHL PUSH2 0xFFFF DUP7 AND MUL OR SWAP1 SSTORE SWAP2 DUP3 ADD SWAP2 ADD PUSH3 0x43F JUMP JUMPDEST POP POP POP POP POP JUMP JUMPDEST PUSH1 0x0 DUP2 MLOAD GT PUSH3 0x572 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH3 0x253 SWAP1 PUSH3 0x10D4 JUMP JUMPDEST PUSH1 0x0 PUSH3 0x57E PUSH3 0x317 JUMP JUMPDEST SWAP1 POP PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP4 AND PUSH3 0x5A9 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH3 0x253 SWAP1 PUSH3 0x11C3 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP4 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x1 DUP3 ADD PUSH1 0x20 MSTORE PUSH1 0x40 SWAP1 KECCAK256 SLOAD PUSH2 0xFFFF DUP2 AND PUSH3 0x64F JUMPI PUSH3 0x5F3 DUP5 PUSH1 0x40 MLOAD DUP1 PUSH1 0x60 ADD PUSH1 0x40 MSTORE DUP1 PUSH1 0x24 DUP2 MSTORE PUSH1 0x20 ADD PUSH3 0x2D21 PUSH1 0x24 SWAP2 CODECOPY PUSH3 0x97C JUMP JUMPDEST PUSH1 0x2 DUP3 ADD DUP1 SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP7 AND PUSH1 0x0 DUP2 DUP2 MSTORE PUSH1 0x1 DUP1 DUP8 ADD PUSH1 0x20 SWAP1 DUP2 MSTORE PUSH1 0x40 DUP4 KECCAK256 DUP3 ADD DUP1 SLOAD PUSH2 0xFFFF NOT AND PUSH2 0xFFFF SWAP1 SWAP7 AND SWAP6 SWAP1 SWAP6 OR SWAP1 SWAP5 SSTORE DUP5 SLOAD SWAP1 DUP2 ADD DUP6 SSTORE SWAP4 DUP2 MSTORE SWAP2 SWAP1 SWAP2 KECCAK256 SWAP1 SWAP2 ADD DUP1 SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB NOT AND SWAP1 SWAP2 OR SWAP1 SSTORE JUMPDEST PUSH1 0x0 JUMPDEST DUP4 MLOAD DUP2 LT ISZERO PUSH3 0x547 JUMPI PUSH1 0x0 DUP5 DUP3 DUP2 MLOAD DUP2 LT PUSH3 0x66B JUMPI INVALID JUMPDEST PUSH1 0x20 SWAP1 DUP2 MUL SWAP2 SWAP1 SWAP2 ADD DUP2 ADD MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xE0 SHL SUB NOT DUP2 AND PUSH1 0x0 SWAP1 DUP2 MSTORE SWAP2 DUP7 SWAP1 MSTORE PUSH1 0x40 SWAP1 SWAP2 KECCAK256 SLOAD SWAP1 SWAP2 POP PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 DUP2 AND SWAP1 DUP8 AND DUP2 EQ ISZERO PUSH3 0x6C4 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH3 0x253 SWAP1 PUSH3 0x1317 JUMP JUMPDEST PUSH3 0x6D0 DUP2 DUP4 PUSH3 0x9A0 JUMP JUMPDEST POP PUSH1 0x1 PUSH1 0x1 PUSH1 0xE0 SHL SUB NOT DUP2 AND PUSH1 0x0 DUP2 DUP2 MSTORE PUSH1 0x20 DUP7 DUP2 MSTORE PUSH1 0x40 DUP1 DUP4 KECCAK256 DUP1 SLOAD PUSH2 0xFFFF PUSH1 0xA0 SHL NOT AND PUSH1 0x1 PUSH1 0xA0 SHL PUSH2 0xFFFF DUP11 AND MUL OR DUP2 SSTORE PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP12 AND DUP1 DUP6 MSTORE PUSH1 0x1 DUP1 DUP12 ADD DUP6 MSTORE SWAP3 DUP6 KECCAK256 DUP1 SLOAD DUP1 DUP6 ADD DUP3 SSTORE SWAP1 DUP7 MSTORE DUP5 DUP7 KECCAK256 PUSH1 0x8 DUP3 DIV ADD DUP1 SLOAD PUSH4 0xFFFFFFFF PUSH1 0x7 SWAP1 SWAP4 AND PUSH1 0x4 MUL PUSH2 0x100 EXP SWAP3 DUP4 MUL NOT AND PUSH1 0xE0 SWAP10 SWAP1 SWAP10 SHR SWAP2 SWAP1 SWAP2 MUL SWAP8 SWAP1 SWAP8 OR SWAP1 SWAP7 SSTORE SWAP4 SWAP1 SWAP3 MSTORE DUP7 SWAP1 MSTORE DUP2 SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB NOT AND SWAP1 SWAP3 OR SWAP1 SSTORE SWAP2 DUP3 ADD SWAP2 ADD PUSH3 0x652 JUMP JUMPDEST PUSH1 0x0 DUP2 MLOAD GT PUSH3 0x79C JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH3 0x253 SWAP1 PUSH3 0x10D4 JUMP JUMPDEST PUSH1 0x0 PUSH3 0x7A8 PUSH3 0x317 JUMP JUMPDEST SWAP1 POP PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP4 AND ISZERO PUSH3 0x7D4 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH3 0x253 SWAP1 PUSH3 0x1374 JUMP JUMPDEST PUSH1 0x0 JUMPDEST DUP3 MLOAD DUP2 LT ISZERO PUSH3 0x839 JUMPI PUSH1 0x0 DUP4 DUP3 DUP2 MLOAD DUP2 LT PUSH3 0x7F0 JUMPI INVALID JUMPDEST PUSH1 0x20 SWAP1 DUP2 MUL SWAP2 SWAP1 SWAP2 ADD DUP2 ADD MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xE0 SHL SUB NOT DUP2 AND PUSH1 0x0 SWAP1 DUP2 MSTORE SWAP2 DUP6 SWAP1 MSTORE PUSH1 0x40 SWAP1 SWAP2 KECCAK256 SLOAD SWAP1 SWAP2 POP PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND PUSH3 0x82E DUP2 DUP4 PUSH3 0x9A0 JUMP JUMPDEST POP POP PUSH1 0x1 ADD PUSH3 0x7D7 JUMP JUMPDEST POP POP POP POP JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP3 AND PUSH3 0x876 JUMPI DUP1 MLOAD ISZERO PUSH3 0x870 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH3 0x253 SWAP1 PUSH3 0x1031 JUMP JUMPDEST PUSH3 0x978 JUMP JUMPDEST PUSH1 0x0 DUP2 MLOAD GT PUSH3 0x89A JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH3 0x253 SWAP1 PUSH3 0x120F JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP3 AND ADDRESS EQ PUSH3 0x8D0 JUMPI PUSH3 0x8D0 DUP3 PUSH1 0x40 MLOAD DUP1 PUSH1 0x60 ADD PUSH1 0x40 MSTORE DUP1 PUSH1 0x28 DUP2 MSTORE PUSH1 0x20 ADD PUSH3 0x2CF9 PUSH1 0x28 SWAP2 CODECOPY PUSH3 0x97C JUMP JUMPDEST PUSH1 0x0 DUP1 DUP4 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND DUP4 PUSH1 0x40 MLOAD PUSH3 0x8ED SWAP2 SWAP1 PUSH3 0xF07 JUMP JUMPDEST PUSH1 0x0 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP6 GAS DELEGATECALL SWAP2 POP POP RETURNDATASIZE DUP1 PUSH1 0x0 DUP2 EQ PUSH3 0x92A JUMPI PUSH1 0x40 MLOAD SWAP2 POP PUSH1 0x1F NOT PUSH1 0x3F RETURNDATASIZE ADD AND DUP3 ADD PUSH1 0x40 MSTORE RETURNDATASIZE DUP3 MSTORE RETURNDATASIZE PUSH1 0x0 PUSH1 0x20 DUP5 ADD RETURNDATACOPY PUSH3 0x92F JUMP JUMPDEST PUSH1 0x60 SWAP2 POP JUMPDEST POP SWAP2 POP SWAP2 POP DUP2 PUSH3 0x839 JUMPI DUP1 MLOAD ISZERO PUSH3 0x95E JUMPI DUP1 PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH3 0x253 SWAP2 SWAP1 PUSH3 0x1015 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH3 0x253 SWAP1 PUSH3 0x108E JUMP JUMPDEST POP POP JUMP JUMPDEST DUP2 EXTCODESIZE DUP2 DUP2 PUSH3 0x839 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH3 0x253 SWAP2 SWAP1 PUSH3 0x1015 JUMP JUMPDEST PUSH1 0x0 PUSH3 0x9AC PUSH3 0x317 JUMP JUMPDEST SWAP1 POP PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP4 AND PUSH3 0x9D7 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH3 0x253 SWAP1 PUSH3 0x111F JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP4 AND ADDRESS EQ ISZERO PUSH3 0xA03 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH3 0x253 SWAP1 PUSH3 0x126C JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xE0 SHL SUB NOT DUP3 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x20 DUP3 DUP2 MSTORE PUSH1 0x40 DUP1 DUP4 KECCAK256 SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP8 AND DUP5 MSTORE PUSH1 0x1 DUP6 ADD SWAP1 SWAP3 MSTORE SWAP1 SWAP2 KECCAK256 SLOAD PUSH1 0x1 PUSH1 0xA0 SHL SWAP1 SWAP2 DIV PUSH2 0xFFFF AND SWAP1 PUSH1 0x0 NOT ADD DUP1 DUP3 EQ PUSH3 0xB27 JUMPI PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP6 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x1 DUP5 ADD PUSH1 0x20 MSTORE PUSH1 0x40 DUP2 KECCAK256 DUP1 SLOAD DUP4 SWAP1 DUP2 LT PUSH3 0xA75 JUMPI INVALID JUMPDEST PUSH1 0x0 SWAP2 DUP3 MSTORE PUSH1 0x20 DUP1 DUP4 KECCAK256 PUSH1 0x8 DUP4 DIV ADD SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP11 AND DUP5 MSTORE PUSH1 0x1 DUP9 ADD SWAP1 SWAP2 MSTORE PUSH1 0x40 SWAP1 SWAP3 KECCAK256 DUP1 SLOAD PUSH1 0x7 SWAP1 SWAP3 AND PUSH1 0x4 MUL PUSH2 0x100 EXP SWAP1 SWAP3 DIV PUSH1 0xE0 SHL SWAP3 POP DUP3 SWAP2 SWAP1 DUP6 SWAP1 DUP2 LT PUSH3 0xAC1 JUMPI INVALID JUMPDEST PUSH1 0x0 SWAP2 DUP3 MSTORE PUSH1 0x20 DUP1 DUP4 KECCAK256 PUSH1 0x8 DUP4 DIV ADD DUP1 SLOAD PUSH4 0xFFFFFFFF PUSH1 0x7 SWAP1 SWAP5 AND PUSH1 0x4 MUL PUSH2 0x100 EXP SWAP4 DUP5 MUL NOT AND PUSH1 0xE0 SWAP6 SWAP1 SWAP6 SHR SWAP3 SWAP1 SWAP3 MUL SWAP4 SWAP1 SWAP4 OR SWAP1 SSTORE PUSH1 0x1 PUSH1 0x1 PUSH1 0xE0 SHL SUB NOT SWAP3 SWAP1 SWAP3 AND DUP3 MSTORE DUP5 SWAP1 MSTORE PUSH1 0x40 SWAP1 KECCAK256 DUP1 SLOAD PUSH2 0xFFFF PUSH1 0xA0 SHL NOT AND PUSH1 0x1 PUSH1 0xA0 SHL PUSH2 0xFFFF DUP6 AND MUL OR SWAP1 SSTORE JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP6 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x1 DUP5 ADD PUSH1 0x20 MSTORE PUSH1 0x40 SWAP1 KECCAK256 DUP1 SLOAD DUP1 PUSH3 0xB4B JUMPI INVALID JUMPDEST PUSH1 0x0 DUP3 DUP2 MSTORE PUSH1 0x20 DUP1 DUP3 KECCAK256 PUSH1 0x8 PUSH1 0x0 NOT SWAP1 SWAP5 ADD SWAP4 DUP5 DIV ADD DUP1 SLOAD PUSH4 0xFFFFFFFF PUSH1 0x4 PUSH1 0x7 DUP8 AND MUL PUSH2 0x100 EXP MUL NOT AND SWAP1 SSTORE SWAP2 SWAP1 SWAP3 SSTORE PUSH1 0x1 PUSH1 0x1 PUSH1 0xE0 SHL SUB NOT DUP7 AND DUP3 MSTORE DUP5 SWAP1 MSTORE PUSH1 0x40 SWAP1 KECCAK256 DUP1 SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xB0 SHL SUB NOT AND SWAP1 SSTORE DUP1 PUSH3 0x547 JUMPI PUSH1 0x2 DUP4 ADD SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP7 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x1 DUP6 DUP2 ADD PUSH1 0x20 MSTORE PUSH1 0x40 SWAP1 SWAP2 KECCAK256 ADD SLOAD PUSH1 0x0 NOT SWAP1 SWAP2 ADD SWAP1 PUSH2 0xFFFF AND DUP1 DUP3 EQ PUSH3 0xC63 JUMPI PUSH1 0x0 DUP6 PUSH1 0x2 ADD DUP4 DUP2 SLOAD DUP2 LT PUSH3 0xBEC JUMPI INVALID JUMPDEST PUSH1 0x0 SWAP2 DUP3 MSTORE PUSH1 0x20 SWAP1 SWAP2 KECCAK256 ADD SLOAD PUSH1 0x2 DUP8 ADD DUP1 SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 SWAP3 AND SWAP3 POP DUP3 SWAP2 DUP5 SWAP1 DUP2 LT PUSH3 0xC18 JUMPI INVALID JUMPDEST PUSH1 0x0 SWAP2 DUP3 MSTORE PUSH1 0x20 DUP1 DUP4 KECCAK256 SWAP2 SWAP1 SWAP2 ADD DUP1 SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB NOT AND PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP5 DUP6 AND OR SWAP1 SSTORE SWAP3 SWAP1 SWAP2 AND DUP2 MSTORE PUSH1 0x1 DUP8 DUP2 ADD SWAP1 SWAP3 MSTORE PUSH1 0x40 SWAP1 KECCAK256 ADD DUP1 SLOAD PUSH2 0xFFFF NOT AND PUSH2 0xFFFF DUP4 AND OR SWAP1 SSTORE JUMPDEST DUP5 PUSH1 0x2 ADD DUP1 SLOAD DUP1 PUSH3 0xC71 JUMPI INVALID JUMPDEST PUSH1 0x0 DUP3 DUP2 MSTORE PUSH1 0x20 DUP1 DUP3 KECCAK256 DUP4 ADD PUSH1 0x0 NOT SWAP1 DUP2 ADD DUP1 SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB NOT AND SWAP1 SSTORE SWAP1 SWAP3 ADD SWAP1 SWAP3 SSTORE PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP10 AND DUP3 MSTORE PUSH1 0x1 DUP8 DUP2 ADD SWAP1 SWAP2 MSTORE PUSH1 0x40 SWAP1 SWAP2 KECCAK256 ADD DUP1 SLOAD PUSH2 0xFFFF NOT AND SWAP1 SSTORE POP POP POP POP POP POP POP JUMP JUMPDEST DUP1 MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP2 AND DUP2 EQ PUSH3 0xCDB JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 DUP3 PUSH1 0x1F DUP4 ADD SLT PUSH3 0xCF1 JUMPI DUP1 DUP2 REVERT JUMPDEST DUP2 MLOAD PUSH1 0x20 PUSH3 0xD0A PUSH3 0xD04 DUP4 PUSH3 0x13F5 JUMP JUMPDEST PUSH3 0x13D1 JUMP JUMPDEST DUP3 DUP2 MSTORE DUP2 DUP2 ADD SWAP1 DUP6 DUP4 ADD DUP4 DUP6 MUL DUP8 ADD DUP5 ADD DUP9 LT ISZERO PUSH3 0xD27 JUMPI DUP6 DUP7 REVERT JUMPDEST DUP6 JUMPDEST DUP6 DUP2 LT ISZERO PUSH3 0xD5D JUMPI DUP2 MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xE0 SHL SUB NOT DUP2 AND DUP2 EQ PUSH3 0xD4A JUMPI DUP8 DUP9 REVERT JUMPDEST DUP5 MSTORE SWAP3 DUP5 ADD SWAP3 SWAP1 DUP5 ADD SWAP1 PUSH1 0x1 ADD PUSH3 0xD29 JUMP JUMPDEST POP SWAP1 SWAP8 SWAP7 POP POP POP POP POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH3 0xD7C JUMPI DUP1 DUP2 REVERT JUMPDEST PUSH1 0x40 MLOAD PUSH1 0x20 DUP2 ADD PUSH1 0x1 PUSH1 0x1 PUSH1 0x40 SHL SUB DUP2 GT DUP3 DUP3 LT OR ISZERO PUSH3 0xD99 JUMPI INVALID JUMPDEST PUSH1 0x40 MSTORE SWAP1 POP DUP1 PUSH3 0xDAA DUP4 PUSH3 0xCC3 JUMP JUMPDEST SWAP1 MSTORE SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x40 DUP4 DUP6 SUB SLT ISZERO PUSH3 0xDC5 JUMPI DUP2 DUP3 REVERT JUMPDEST DUP3 MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0x40 SHL SUB DUP1 DUP3 GT ISZERO PUSH3 0xDDC JUMPI DUP4 DUP5 REVERT JUMPDEST DUP2 DUP6 ADD SWAP2 POP DUP6 PUSH1 0x1F DUP4 ADD SLT PUSH3 0xDF0 JUMPI DUP4 DUP5 REVERT JUMPDEST DUP2 MLOAD PUSH1 0x20 PUSH3 0xE03 PUSH3 0xD04 DUP4 PUSH3 0x13F5 JUMP JUMPDEST DUP3 DUP2 MSTORE DUP2 DUP2 ADD SWAP1 DUP6 DUP4 ADD DUP9 JUMPDEST DUP6 DUP2 LT ISZERO PUSH3 0xEAA JUMPI DUP2 MLOAD DUP9 ADD PUSH1 0x60 DUP2 DUP15 SUB PUSH1 0x1F NOT ADD SLT ISZERO PUSH3 0xE30 JUMPI DUP11 DUP12 REVERT JUMPDEST PUSH1 0x40 MLOAD PUSH1 0x60 DUP2 ADD DUP2 DUP2 LT DUP11 DUP3 GT OR ISZERO PUSH3 0xE46 JUMPI INVALID JUMPDEST PUSH1 0x40 MSTORE PUSH3 0xE56 DUP3 DUP9 ADD PUSH3 0xCC3 JUMP JUMPDEST DUP2 MSTORE PUSH1 0x40 DUP3 ADD MLOAD PUSH1 0x3 DUP2 LT PUSH3 0xE6A JUMPI DUP13 DUP14 REVERT JUMPDEST DUP2 DUP9 ADD MSTORE PUSH1 0x60 DUP3 ADD MLOAD DUP10 DUP2 GT ISZERO PUSH3 0xE80 JUMPI DUP13 DUP14 REVERT JUMPDEST PUSH3 0xE90 DUP16 DUP10 DUP4 DUP7 ADD ADD PUSH3 0xCE0 JUMP JUMPDEST PUSH1 0x40 DUP4 ADD MSTORE POP DUP6 MSTORE POP SWAP3 DUP5 ADD SWAP3 SWAP1 DUP5 ADD SWAP1 PUSH1 0x1 ADD PUSH3 0xE0F JUMP JUMPDEST POP POP DUP1 SWAP8 POP POP POP PUSH3 0xEBF DUP9 DUP3 DUP10 ADD PUSH3 0xD6A JUMP JUMPDEST SWAP5 POP POP POP POP POP SWAP3 POP SWAP3 SWAP1 POP JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND SWAP1 MSTORE JUMP JUMPDEST PUSH1 0x0 DUP2 MLOAD DUP1 DUP5 MSTORE PUSH3 0xEF3 DUP2 PUSH1 0x20 DUP7 ADD PUSH1 0x20 DUP7 ADD PUSH3 0x1413 JUMP JUMPDEST PUSH1 0x1F ADD PUSH1 0x1F NOT AND SWAP3 SWAP1 SWAP3 ADD PUSH1 0x20 ADD SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP3 MLOAD PUSH3 0xF1B DUP2 DUP5 PUSH1 0x20 DUP8 ADD PUSH3 0x1413 JUMP JUMPDEST SWAP2 SWAP1 SWAP2 ADD SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x60 DUP1 DUP3 MSTORE DUP5 MLOAD DUP3 DUP3 ADD DUP2 SWAP1 MSTORE PUSH1 0x0 SWAP2 SWAP1 PUSH1 0x80 SWAP1 DUP2 DUP6 ADD SWAP1 PUSH1 0x20 DUP1 DUP3 MUL DUP8 ADD DUP5 ADD DUP2 DUP12 ADD DUP8 JUMPDEST DUP5 DUP2 LT ISZERO PUSH3 0xFE2 JUMPI DUP10 DUP4 SUB PUSH1 0x7F NOT ADD DUP7 MSTORE DUP2 MLOAD DUP1 MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND DUP5 MSTORE DUP5 DUP2 ADD MLOAD DUP10 DUP6 ADD SWAP1 PUSH1 0x3 DUP2 LT PUSH3 0xF7F JUMPI INVALID JUMPDEST DUP6 DUP8 ADD MSTORE PUSH1 0x40 SWAP2 DUP3 ADD MLOAD SWAP2 DUP6 ADD DUP11 SWAP1 MSTORE DUP2 MLOAD SWAP1 DUP2 SWAP1 MSTORE SWAP1 DUP6 ADD SWAP1 DUP11 SWAP1 DUP10 DUP7 ADD SWAP1 JUMPDEST DUP1 DUP4 LT ISZERO PUSH3 0xFCC JUMPI DUP4 MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xE0 SHL SUB NOT AND DUP3 MSTORE SWAP3 DUP8 ADD SWAP3 PUSH1 0x1 SWAP3 SWAP1 SWAP3 ADD SWAP2 SWAP1 DUP8 ADD SWAP1 PUSH3 0xFA0 JUMP JUMPDEST POP SWAP8 DUP7 ADD SWAP8 SWAP5 POP POP POP SWAP1 DUP4 ADD SWAP1 PUSH1 0x1 ADD PUSH3 0xF4B JUMP JUMPDEST POP POP PUSH3 0xFF2 DUP3 DUP10 ADD DUP12 PUSH3 0xECC JUMP JUMPDEST DUP8 DUP2 SUB PUSH1 0x40 DUP10 ADD MSTORE PUSH3 0x1006 DUP2 DUP11 PUSH3 0xED9 JUMP JUMPDEST SWAP12 SWAP11 POP POP POP POP POP POP POP POP POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 MSTORE PUSH3 0x102A PUSH1 0x20 DUP4 ADD DUP5 PUSH3 0xED9 JUMP JUMPDEST SWAP4 SWAP3 POP POP POP JUMP JUMPDEST PUSH1 0x20 DUP1 DUP3 MSTORE PUSH1 0x3C SWAP1 DUP3 ADD MSTORE PUSH32 0x4C69624469616D6F6E644375743A205F696E6974206973206164647265737328 PUSH1 0x40 DUP3 ADD MSTORE PUSH32 0x3029206275745F63616C6C64617461206973206E6F7420656D70747900000000 PUSH1 0x60 DUP3 ADD MSTORE PUSH1 0x80 ADD SWAP1 JUMP JUMPDEST PUSH1 0x20 DUP1 DUP3 MSTORE PUSH1 0x26 SWAP1 DUP3 ADD MSTORE PUSH32 0x4C69624469616D6F6E644375743A205F696E69742066756E6374696F6E207265 PUSH1 0x40 DUP3 ADD MSTORE PUSH6 0x1D995C9D1959 PUSH1 0xD2 SHL PUSH1 0x60 DUP3 ADD MSTORE PUSH1 0x80 ADD SWAP1 JUMP JUMPDEST PUSH1 0x20 DUP1 DUP3 MSTORE PUSH1 0x2B SWAP1 DUP3 ADD MSTORE PUSH32 0x4C69624469616D6F6E644375743A204E6F2073656C6563746F727320696E2066 PUSH1 0x40 DUP3 ADD MSTORE PUSH11 0x1858D95D081D1BC818DD5D PUSH1 0xAA SHL PUSH1 0x60 DUP3 ADD MSTORE PUSH1 0x80 ADD SWAP1 JUMP JUMPDEST PUSH1 0x20 DUP1 DUP3 MSTORE PUSH1 0x37 SWAP1 DUP3 ADD MSTORE PUSH32 0x4C69624469616D6F6E644375743A2043616E27742072656D6F76652066756E63 PUSH1 0x40 DUP3 ADD MSTORE PUSH32 0x74696F6E207468617420646F65736E2774206578697374000000000000000000 PUSH1 0x60 DUP3 ADD MSTORE PUSH1 0x80 ADD SWAP1 JUMP JUMPDEST PUSH1 0x20 DUP1 DUP3 MSTORE PUSH1 0x27 SWAP1 DUP3 ADD MSTORE PUSH32 0x4C69624469616D6F6E644375743A20496E636F72726563742046616365744375 PUSH1 0x40 DUP3 ADD MSTORE PUSH7 0x3A20B1BA34B7B7 PUSH1 0xC9 SHL PUSH1 0x60 DUP3 ADD MSTORE PUSH1 0x80 ADD SWAP1 JUMP JUMPDEST PUSH1 0x20 DUP1 DUP3 MSTORE PUSH1 0x2C SWAP1 DUP3 ADD MSTORE PUSH32 0x4C69624469616D6F6E644375743A204164642066616365742063616E27742062 PUSH1 0x40 DUP3 ADD MSTORE PUSH12 0x652061646472657373283029 PUSH1 0xA0 SHL PUSH1 0x60 DUP3 ADD MSTORE PUSH1 0x80 ADD SWAP1 JUMP JUMPDEST PUSH1 0x20 DUP1 DUP3 MSTORE PUSH1 0x3D SWAP1 DUP3 ADD MSTORE PUSH32 0x4C69624469616D6F6E644375743A205F63616C6C6461746120697320656D7074 PUSH1 0x40 DUP3 ADD MSTORE PUSH32 0x7920627574205F696E6974206973206E6F742061646472657373283029000000 PUSH1 0x60 DUP3 ADD MSTORE PUSH1 0x80 ADD SWAP1 JUMP JUMPDEST PUSH1 0x20 DUP1 DUP3 MSTORE PUSH1 0x2E SWAP1 DUP3 ADD MSTORE PUSH32 0x4C69624469616D6F6E644375743A2043616E27742072656D6F766520696D6D75 PUSH1 0x40 DUP3 ADD MSTORE PUSH14 0x3A30B1363290333AB731BA34B7B7 PUSH1 0x91 SHL PUSH1 0x60 DUP3 ADD MSTORE PUSH1 0x80 ADD SWAP1 JUMP JUMPDEST PUSH1 0x20 DUP1 DUP3 MSTORE PUSH1 0x35 SWAP1 DUP3 ADD MSTORE PUSH32 0x4C69624469616D6F6E644375743A2043616E2774206164642066756E6374696F PUSH1 0x40 DUP3 ADD MSTORE PUSH32 0x6E207468617420616C7265616479206578697374730000000000000000000000 PUSH1 0x60 DUP3 ADD MSTORE PUSH1 0x80 ADD SWAP1 JUMP JUMPDEST PUSH1 0x20 DUP1 DUP3 MSTORE PUSH1 0x38 SWAP1 DUP3 ADD MSTORE PUSH32 0x4C69624469616D6F6E644375743A2043616E2774207265706C6163652066756E PUSH1 0x40 DUP3 ADD MSTORE PUSH32 0x6374696F6E20776974682073616D652066756E6374696F6E0000000000000000 PUSH1 0x60 DUP3 ADD MSTORE PUSH1 0x80 ADD SWAP1 JUMP JUMPDEST PUSH1 0x20 DUP1 DUP3 MSTORE PUSH1 0x36 SWAP1 DUP3 ADD MSTORE PUSH32 0x4C69624469616D6F6E644375743A2052656D6F76652066616365742061646472 PUSH1 0x40 DUP3 ADD MSTORE PUSH32 0x657373206D757374206265206164647265737328302900000000000000000000 PUSH1 0x60 DUP3 ADD MSTORE PUSH1 0x80 ADD SWAP1 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP2 DUP2 ADD PUSH1 0x1 PUSH1 0x1 PUSH1 0x40 SHL SUB DUP2 GT DUP3 DUP3 LT OR ISZERO PUSH3 0x13ED JUMPI INVALID JUMPDEST PUSH1 0x40 MSTORE SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x1 PUSH1 0x1 PUSH1 0x40 SHL SUB DUP3 GT ISZERO PUSH3 0x1409 JUMPI INVALID JUMPDEST POP PUSH1 0x20 SWAP1 DUP2 MUL ADD SWAP1 JUMP JUMPDEST PUSH1 0x0 JUMPDEST DUP4 DUP2 LT ISZERO PUSH3 0x1430 JUMPI DUP2 DUP2 ADD MLOAD DUP4 DUP3 ADD MSTORE PUSH1 0x20 ADD PUSH3 0x1416 JUMP JUMPDEST DUP4 DUP2 GT ISZERO PUSH3 0x839 JUMPI POP POP PUSH1 0x0 SWAP2 ADD MSTORE JUMP JUMPDEST PUSH2 0x18A7 DUP1 PUSH3 0x1452 PUSH1 0x0 CODECOPY PUSH1 0x0 RETURN INVALID PUSH1 0x80 PUSH1 0x40 MSTORE CALLDATASIZE PUSH2 0xB JUMPI STOP JUMPDEST PUSH1 0x0 DUP1 CALLDATALOAD PUSH32 0xFFFFFFFF00000000000000000000000000000000000000000000000000000000 AND DUP2 MSTORE PUSH32 0xC8FCAD8DB84D3CC18B4C41D551EA0EE66DD599CDE068D998E57D5E09332C131C PUSH1 0x20 DUP2 SWAP1 MSTORE PUSH1 0x40 SWAP1 SWAP2 KECCAK256 SLOAD DUP2 SWAP1 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP1 PUSH2 0xB7 JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0xAE SWAP1 PUSH2 0x15F3 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST CALLDATASIZE PUSH1 0x0 DUP1 CALLDATACOPY PUSH1 0x0 DUP1 CALLDATASIZE PUSH1 0x0 DUP5 GAS DELEGATECALL RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY DUP1 DUP1 ISZERO PUSH2 0xD6 JUMPI RETURNDATASIZE PUSH1 0x0 RETURN JUMPDEST RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST PUSH1 0x0 JUMPDEST DUP4 MLOAD DUP2 LT ISZERO PUSH2 0x232 JUMPI PUSH1 0x0 DUP5 DUP3 DUP2 MLOAD DUP2 LT PUSH2 0xF5 JUMPI INVALID JUMPDEST PUSH1 0x20 MUL PUSH1 0x20 ADD ADD MLOAD PUSH1 0x20 ADD MLOAD SWAP1 POP PUSH1 0x0 PUSH1 0x2 DUP2 GT ISZERO PUSH2 0x110 JUMPI INVALID JUMPDEST DUP2 PUSH1 0x2 DUP2 GT ISZERO PUSH2 0x11C JUMPI INVALID JUMPDEST EQ ISZERO PUSH2 0x15F JUMPI PUSH2 0x15A DUP6 DUP4 DUP2 MLOAD DUP2 LT PUSH2 0x131 JUMPI INVALID JUMPDEST PUSH1 0x20 MUL PUSH1 0x20 ADD ADD MLOAD PUSH1 0x0 ADD MLOAD DUP7 DUP5 DUP2 MLOAD DUP2 LT PUSH2 0x149 JUMPI INVALID JUMPDEST PUSH1 0x20 MUL PUSH1 0x20 ADD ADD MLOAD PUSH1 0x40 ADD MLOAD PUSH2 0x326 JUMP JUMPDEST PUSH2 0x229 JUMP JUMPDEST PUSH1 0x1 DUP2 PUSH1 0x2 DUP2 GT ISZERO PUSH2 0x16D JUMPI INVALID JUMPDEST EQ ISZERO PUSH2 0x1AB JUMPI PUSH2 0x15A DUP6 DUP4 DUP2 MLOAD DUP2 LT PUSH2 0x182 JUMPI INVALID JUMPDEST PUSH1 0x20 MUL PUSH1 0x20 ADD ADD MLOAD PUSH1 0x0 ADD MLOAD DUP7 DUP5 DUP2 MLOAD DUP2 LT PUSH2 0x19A JUMPI INVALID JUMPDEST PUSH1 0x20 MUL PUSH1 0x20 ADD ADD MLOAD PUSH1 0x40 ADD MLOAD PUSH2 0x65E JUMP JUMPDEST PUSH1 0x2 DUP2 PUSH1 0x2 DUP2 GT ISZERO PUSH2 0x1B9 JUMPI INVALID JUMPDEST EQ ISZERO PUSH2 0x1F7 JUMPI PUSH2 0x15A DUP6 DUP4 DUP2 MLOAD DUP2 LT PUSH2 0x1CE JUMPI INVALID JUMPDEST PUSH1 0x20 MUL PUSH1 0x20 ADD ADD MLOAD PUSH1 0x0 ADD MLOAD DUP7 DUP5 DUP2 MLOAD DUP2 LT PUSH2 0x1E6 JUMPI INVALID JUMPDEST PUSH1 0x20 MUL PUSH1 0x20 ADD ADD MLOAD PUSH1 0x40 ADD MLOAD PUSH2 0x9AB JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0xAE SWAP1 PUSH2 0x1539 JUMP JUMPDEST POP PUSH1 0x1 ADD PUSH2 0xDE JUMP JUMPDEST POP PUSH32 0x8FAA70878671CCD212D20771B795C50AF8FD3FF6CF27F4BDE57E5D4DE0AEB673 DUP4 DUP4 DUP4 PUSH1 0x40 MLOAD PUSH2 0x266 SWAP4 SWAP3 SWAP2 SWAP1 PUSH2 0x1282 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 LOG1 PUSH2 0x278 DUP3 DUP3 PUSH2 0xACB JUMP JUMPDEST POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x287 PUSH2 0x302 JUMP JUMPDEST PUSH1 0x4 DUP2 ADD DUP1 SLOAD PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP6 DUP2 AND PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFF0000000000000000000000000000000000000000 DUP4 AND DUP2 OR SWAP1 SWAP4 SSTORE PUSH1 0x40 MLOAD SWAP4 SWAP5 POP AND SWAP2 DUP3 SWAP1 PUSH32 0x8BE0079C531659141344CD1FD0A4F28419497F9722A3DAAFE3B4186F6B6457E0 SWAP1 PUSH1 0x0 SWAP1 LOG3 POP POP POP JUMP JUMPDEST PUSH32 0xC8FCAD8DB84D3CC18B4C41D551EA0EE66DD599CDE068D998E57D5E09332C131C SWAP1 JUMP JUMPDEST PUSH1 0x0 DUP2 MLOAD GT PUSH2 0x361 JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0xAE SWAP1 PUSH2 0x147F JUMP JUMPDEST PUSH1 0x0 PUSH2 0x36B PUSH2 0x302 JUMP JUMPDEST SWAP1 POP PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP4 AND PUSH2 0x3BA JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0xAE SWAP1 PUSH2 0x1596 JUMP JUMPDEST PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP4 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x1 DUP3 ADD PUSH1 0x20 MSTORE PUSH1 0x40 SWAP1 KECCAK256 SLOAD PUSH2 0xFFFF DUP2 AND PUSH2 0x4AB JUMPI PUSH2 0x40D DUP5 PUSH1 0x40 MLOAD DUP1 PUSH1 0x60 ADD PUSH1 0x40 MSTORE DUP1 PUSH1 0x24 DUP2 MSTORE PUSH1 0x20 ADD PUSH2 0x184E PUSH1 0x24 SWAP2 CODECOPY PUSH2 0xC81 JUMP JUMPDEST PUSH1 0x2 DUP3 ADD DUP1 SLOAD PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP7 AND PUSH1 0x0 DUP2 DUP2 MSTORE PUSH1 0x1 DUP1 DUP8 ADD PUSH1 0x20 SWAP1 DUP2 MSTORE PUSH1 0x40 DUP4 KECCAK256 DUP3 ADD DUP1 SLOAD PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF0000 AND PUSH2 0xFFFF SWAP1 SWAP7 AND SWAP6 SWAP1 SWAP6 OR SWAP1 SWAP5 SSTORE DUP5 SLOAD SWAP1 DUP2 ADD DUP6 SSTORE SWAP4 DUP2 MSTORE SWAP2 SWAP1 SWAP2 KECCAK256 SWAP1 SWAP2 ADD DUP1 SLOAD PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFF0000000000000000000000000000000000000000 AND SWAP1 SWAP2 OR SWAP1 SSTORE JUMPDEST PUSH1 0x0 JUMPDEST DUP4 MLOAD DUP2 LT ISZERO PUSH2 0x657 JUMPI PUSH1 0x0 DUP5 DUP3 DUP2 MLOAD DUP2 LT PUSH2 0x4C5 JUMPI INVALID JUMPDEST PUSH1 0x20 SWAP1 DUP2 MUL SWAP2 SWAP1 SWAP2 ADD DUP2 ADD MLOAD PUSH32 0xFFFFFFFF00000000000000000000000000000000000000000000000000000000 DUP2 AND PUSH1 0x0 SWAP1 DUP2 MSTORE SWAP2 DUP7 SWAP1 MSTORE PUSH1 0x40 SWAP1 SWAP2 KECCAK256 SLOAD SWAP1 SWAP2 POP PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP1 ISZERO PUSH2 0x554 JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0xAE SWAP1 PUSH2 0x16E2 JUMP JUMPDEST POP PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP7 AND PUSH1 0x0 DUP2 DUP2 MSTORE PUSH1 0x1 DUP7 DUP2 ADD PUSH1 0x20 SWAP1 DUP2 MSTORE PUSH1 0x40 DUP1 DUP5 KECCAK256 DUP1 SLOAD DUP1 DUP6 ADD DUP3 SSTORE SWAP1 DUP6 MSTORE DUP3 DUP6 KECCAK256 PUSH1 0x8 DUP3 DIV ADD DUP1 SLOAD PUSH4 0xFFFFFFFF PUSH1 0x7 SWAP1 SWAP4 AND PUSH1 0x4 MUL PUSH2 0x100 EXP SWAP3 DUP4 MUL NOT AND PUSH1 0xE0 DUP10 SWAP1 SHR SWAP3 SWAP1 SWAP3 MUL SWAP2 SWAP1 SWAP2 OR SWAP1 SSTORE PUSH32 0xFFFFFFFF00000000000000000000000000000000000000000000000000000000 SWAP1 SWAP6 AND DUP4 MSTORE DUP8 SWAP1 MSTORE SWAP3 SWAP1 KECCAK256 DUP1 SLOAD PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFF0000000000000000000000000000000000000000 AND SWAP1 SWAP2 OR PUSH32 0xFFFFFFFFFFFFFFFFFFFF0000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH21 0x10000000000000000000000000000000000000000 PUSH2 0xFFFF DUP7 AND MUL OR SWAP1 SSTORE SWAP2 DUP3 ADD SWAP2 ADD PUSH2 0x4AE JUMP JUMPDEST POP POP POP POP POP JUMP JUMPDEST PUSH1 0x0 DUP2 MLOAD GT PUSH2 0x699 JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0xAE SWAP1 PUSH2 0x147F JUMP JUMPDEST PUSH1 0x0 PUSH2 0x6A3 PUSH2 0x302 JUMP JUMPDEST SWAP1 POP PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP4 AND PUSH2 0x6F2 JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0xAE SWAP1 PUSH2 0x1596 JUMP JUMPDEST PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP4 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x1 DUP3 ADD PUSH1 0x20 MSTORE PUSH1 0x40 SWAP1 KECCAK256 SLOAD PUSH2 0xFFFF DUP2 AND PUSH2 0x7E3 JUMPI PUSH2 0x745 DUP5 PUSH1 0x40 MLOAD DUP1 PUSH1 0x60 ADD PUSH1 0x40 MSTORE DUP1 PUSH1 0x24 DUP2 MSTORE PUSH1 0x20 ADD PUSH2 0x184E PUSH1 0x24 SWAP2 CODECOPY PUSH2 0xC81 JUMP JUMPDEST PUSH1 0x2 DUP3 ADD DUP1 SLOAD PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP7 AND PUSH1 0x0 DUP2 DUP2 MSTORE PUSH1 0x1 DUP1 DUP8 ADD PUSH1 0x20 SWAP1 DUP2 MSTORE PUSH1 0x40 DUP4 KECCAK256 DUP3 ADD DUP1 SLOAD PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF0000 AND PUSH2 0xFFFF SWAP1 SWAP7 AND SWAP6 SWAP1 SWAP6 OR SWAP1 SWAP5 SSTORE DUP5 SLOAD SWAP1 DUP2 ADD DUP6 SSTORE SWAP4 DUP2 MSTORE SWAP2 SWAP1 SWAP2 KECCAK256 SWAP1 SWAP2 ADD DUP1 SLOAD PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFF0000000000000000000000000000000000000000 AND SWAP1 SWAP2 OR SWAP1 SSTORE JUMPDEST PUSH1 0x0 JUMPDEST DUP4 MLOAD DUP2 LT ISZERO PUSH2 0x657 JUMPI PUSH1 0x0 DUP5 DUP3 DUP2 MLOAD DUP2 LT PUSH2 0x7FD JUMPI INVALID JUMPDEST PUSH1 0x20 SWAP1 DUP2 MUL SWAP2 SWAP1 SWAP2 ADD DUP2 ADD MLOAD PUSH32 0xFFFFFFFF00000000000000000000000000000000000000000000000000000000 DUP2 AND PUSH1 0x0 SWAP1 DUP2 MSTORE SWAP2 DUP7 SWAP1 MSTORE PUSH1 0x40 SWAP1 SWAP2 KECCAK256 SLOAD SWAP1 SWAP2 POP PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF SWAP1 DUP2 AND SWAP1 DUP8 AND DUP2 EQ ISZERO PUSH2 0x892 JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0xAE SWAP1 PUSH2 0x173F JUMP JUMPDEST PUSH2 0x89C DUP2 DUP4 PUSH2 0xCBC JUMP JUMPDEST POP PUSH32 0xFFFFFFFF00000000000000000000000000000000000000000000000000000000 DUP2 AND PUSH1 0x0 DUP2 DUP2 MSTORE PUSH1 0x20 DUP7 DUP2 MSTORE PUSH1 0x40 DUP1 DUP4 KECCAK256 DUP1 SLOAD PUSH32 0xFFFFFFFFFFFFFFFFFFFF0000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH21 0x10000000000000000000000000000000000000000 PUSH2 0xFFFF DUP11 AND MUL OR DUP2 SSTORE PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP12 AND DUP1 DUP6 MSTORE PUSH1 0x1 DUP1 DUP12 ADD DUP6 MSTORE SWAP3 DUP6 KECCAK256 DUP1 SLOAD DUP1 DUP6 ADD DUP3 SSTORE SWAP1 DUP7 MSTORE DUP5 DUP7 KECCAK256 PUSH1 0x8 DUP3 DIV ADD DUP1 SLOAD PUSH4 0xFFFFFFFF PUSH1 0x7 SWAP1 SWAP4 AND PUSH1 0x4 MUL PUSH2 0x100 EXP SWAP3 DUP4 MUL NOT AND PUSH1 0xE0 SWAP10 SWAP1 SWAP10 SHR SWAP2 SWAP1 SWAP2 MUL SWAP8 SWAP1 SWAP8 OR SWAP1 SWAP7 SSTORE SWAP4 SWAP1 SWAP3 MSTORE DUP7 SWAP1 MSTORE DUP2 SLOAD PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFF0000000000000000000000000000000000000000 AND SWAP1 SWAP3 OR SWAP1 SSTORE SWAP2 DUP3 ADD SWAP2 ADD PUSH2 0x7E6 JUMP JUMPDEST PUSH1 0x0 DUP2 MLOAD GT PUSH2 0x9E6 JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0xAE SWAP1 PUSH2 0x147F JUMP JUMPDEST PUSH1 0x0 PUSH2 0x9F0 PUSH2 0x302 JUMP JUMPDEST SWAP1 POP PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP4 AND ISZERO PUSH2 0xA40 JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0xAE SWAP1 PUSH2 0x179C JUMP JUMPDEST PUSH1 0x0 JUMPDEST DUP3 MLOAD DUP2 LT ISZERO PUSH2 0xAC5 JUMPI PUSH1 0x0 DUP4 DUP3 DUP2 MLOAD DUP2 LT PUSH2 0xA5A JUMPI INVALID JUMPDEST PUSH1 0x20 SWAP1 DUP2 MUL SWAP2 SWAP1 SWAP2 ADD DUP2 ADD MLOAD PUSH32 0xFFFFFFFF00000000000000000000000000000000000000000000000000000000 DUP2 AND PUSH1 0x0 SWAP1 DUP2 MSTORE SWAP2 DUP6 SWAP1 MSTORE PUSH1 0x40 SWAP1 SWAP2 KECCAK256 SLOAD SWAP1 SWAP2 POP PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH2 0xABB DUP2 DUP4 PUSH2 0xCBC JUMP JUMPDEST POP POP PUSH1 0x1 ADD PUSH2 0xA43 JUMP JUMPDEST POP POP POP POP JUMP JUMPDEST PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP3 AND PUSH2 0xB24 JUMPI DUP1 MLOAD ISZERO PUSH2 0xB1F JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0xAE SWAP1 PUSH2 0x13C5 JUMP JUMPDEST PUSH2 0xC7D JUMP JUMPDEST PUSH1 0x0 DUP2 MLOAD GT PUSH2 0xB5F JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0xAE SWAP1 PUSH2 0x1628 JUMP JUMPDEST PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP3 AND ADDRESS EQ PUSH2 0xB9E JUMPI PUSH2 0xB9E DUP3 PUSH1 0x40 MLOAD DUP1 PUSH1 0x60 ADD PUSH1 0x40 MSTORE DUP1 PUSH1 0x28 DUP2 MSTORE PUSH1 0x20 ADD PUSH2 0x1826 PUSH1 0x28 SWAP2 CODECOPY PUSH2 0xC81 JUMP JUMPDEST PUSH1 0x0 DUP1 DUP4 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP4 PUSH1 0x40 MLOAD PUSH2 0xBC6 SWAP2 SWAP1 PUSH2 0x1266 JUMP JUMPDEST PUSH1 0x0 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP6 GAS DELEGATECALL SWAP2 POP POP RETURNDATASIZE DUP1 PUSH1 0x0 DUP2 EQ PUSH2 0xC01 JUMPI PUSH1 0x40 MLOAD SWAP2 POP PUSH1 0x1F NOT PUSH1 0x3F RETURNDATASIZE ADD AND DUP3 ADD PUSH1 0x40 MSTORE RETURNDATASIZE DUP3 MSTORE RETURNDATASIZE PUSH1 0x0 PUSH1 0x20 DUP5 ADD RETURNDATACOPY PUSH2 0xC06 JUMP JUMPDEST PUSH1 0x60 SWAP2 POP JUMPDEST POP SWAP2 POP SWAP2 POP DUP2 PUSH2 0xAC5 JUMPI DUP1 MLOAD ISZERO PUSH2 0xC4B JUMPI DUP1 PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0xAE SWAP2 SWAP1 PUSH2 0x13AB JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0xAE SWAP1 PUSH2 0x1422 JUMP JUMPDEST POP POP JUMP JUMPDEST DUP2 EXTCODESIZE DUP2 DUP2 PUSH2 0xAC5 JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0xAE SWAP2 SWAP1 PUSH2 0x13AB JUMP JUMPDEST PUSH1 0x0 PUSH2 0xCC6 PUSH2 0x302 JUMP JUMPDEST SWAP1 POP PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP4 AND PUSH2 0xD15 JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0xAE SWAP1 PUSH2 0x14DC JUMP JUMPDEST PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP4 AND ADDRESS EQ ISZERO PUSH2 0xD65 JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0xAE SWAP1 PUSH2 0x1685 JUMP JUMPDEST PUSH32 0xFFFFFFFF00000000000000000000000000000000000000000000000000000000 DUP3 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x20 DUP3 DUP2 MSTORE PUSH1 0x40 DUP1 DUP4 KECCAK256 SLOAD PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP8 AND DUP5 MSTORE PUSH1 0x1 DUP6 ADD SWAP1 SWAP3 MSTORE SWAP1 SWAP2 KECCAK256 SLOAD PUSH21 0x10000000000000000000000000000000000000000 SWAP1 SWAP2 DIV PUSH2 0xFFFF AND SWAP1 PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF ADD DUP1 DUP3 EQ PUSH2 0xF37 JUMPI PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP6 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x1 DUP5 ADD PUSH1 0x20 MSTORE PUSH1 0x40 DUP2 KECCAK256 DUP1 SLOAD DUP4 SWAP1 DUP2 LT PUSH2 0xE36 JUMPI INVALID JUMPDEST PUSH1 0x0 SWAP2 DUP3 MSTORE PUSH1 0x20 DUP1 DUP4 KECCAK256 PUSH1 0x8 DUP4 DIV ADD SLOAD PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP11 AND DUP5 MSTORE PUSH1 0x1 DUP9 ADD SWAP1 SWAP2 MSTORE PUSH1 0x40 SWAP1 SWAP3 KECCAK256 DUP1 SLOAD PUSH1 0x7 SWAP1 SWAP3 AND PUSH1 0x4 MUL PUSH2 0x100 EXP SWAP1 SWAP3 DIV PUSH1 0xE0 SHL SWAP3 POP DUP3 SWAP2 SWAP1 DUP6 SWAP1 DUP2 LT PUSH2 0xE8E JUMPI INVALID JUMPDEST PUSH1 0x0 SWAP2 DUP3 MSTORE PUSH1 0x20 DUP1 DUP4 KECCAK256 PUSH1 0x8 DUP4 DIV ADD DUP1 SLOAD PUSH4 0xFFFFFFFF PUSH1 0x7 SWAP1 SWAP5 AND PUSH1 0x4 MUL PUSH2 0x100 EXP SWAP4 DUP5 MUL NOT AND PUSH1 0xE0 SWAP6 SWAP1 SWAP6 SHR SWAP3 SWAP1 SWAP3 MUL SWAP4 SWAP1 SWAP4 OR SWAP1 SSTORE PUSH32 0xFFFFFFFF00000000000000000000000000000000000000000000000000000000 SWAP3 SWAP1 SWAP3 AND DUP3 MSTORE DUP5 SWAP1 MSTORE PUSH1 0x40 SWAP1 KECCAK256 DUP1 SLOAD PUSH32 0xFFFFFFFFFFFFFFFFFFFF0000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH21 0x10000000000000000000000000000000000000000 PUSH2 0xFFFF DUP6 AND MUL OR SWAP1 SSTORE JUMPDEST PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP6 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x1 DUP5 ADD PUSH1 0x20 MSTORE PUSH1 0x40 SWAP1 KECCAK256 DUP1 SLOAD DUP1 PUSH2 0xF67 JUMPI INVALID JUMPDEST PUSH1 0x0 DUP3 DUP2 MSTORE PUSH1 0x20 DUP1 DUP3 KECCAK256 PUSH1 0x8 PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF SWAP1 SWAP5 ADD SWAP4 DUP5 DIV ADD DUP1 SLOAD PUSH4 0xFFFFFFFF PUSH1 0x4 PUSH1 0x7 DUP8 AND MUL PUSH2 0x100 EXP MUL NOT AND SWAP1 SSTORE SWAP2 SWAP1 SWAP3 SSTORE PUSH32 0xFFFFFFFF00000000000000000000000000000000000000000000000000000000 DUP7 AND DUP3 MSTORE DUP5 SWAP1 MSTORE PUSH1 0x40 SWAP1 KECCAK256 DUP1 SLOAD PUSH32 0xFFFFFFFFFFFFFFFFFFFF00000000000000000000000000000000000000000000 AND SWAP1 SSTORE DUP1 PUSH2 0x657 JUMPI PUSH1 0x2 DUP4 ADD SLOAD PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP7 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x1 DUP6 DUP2 ADD PUSH1 0x20 MSTORE PUSH1 0x40 SWAP1 SWAP2 KECCAK256 ADD SLOAD PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF SWAP1 SWAP2 ADD SWAP1 PUSH2 0xFFFF AND DUP1 DUP3 EQ PUSH2 0x1143 JUMPI PUSH1 0x0 DUP6 PUSH1 0x2 ADD DUP4 DUP2 SLOAD DUP2 LT PUSH2 0x107E JUMPI INVALID JUMPDEST PUSH1 0x0 SWAP2 DUP3 MSTORE PUSH1 0x20 SWAP1 SWAP2 KECCAK256 ADD SLOAD PUSH1 0x2 DUP8 ADD DUP1 SLOAD PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF SWAP1 SWAP3 AND SWAP3 POP DUP3 SWAP2 DUP5 SWAP1 DUP2 LT PUSH2 0x10B6 JUMPI INVALID JUMPDEST PUSH1 0x0 SWAP2 DUP3 MSTORE PUSH1 0x20 DUP1 DUP4 KECCAK256 SWAP2 SWAP1 SWAP2 ADD DUP1 SLOAD PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFF0000000000000000000000000000000000000000 AND PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF SWAP5 DUP6 AND OR SWAP1 SSTORE SWAP3 SWAP1 SWAP2 AND DUP2 MSTORE PUSH1 0x1 DUP8 DUP2 ADD SWAP1 SWAP3 MSTORE PUSH1 0x40 SWAP1 KECCAK256 ADD DUP1 SLOAD PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF0000 AND PUSH2 0xFFFF DUP4 AND OR SWAP1 SSTORE JUMPDEST DUP5 PUSH1 0x2 ADD DUP1 SLOAD DUP1 PUSH2 0x1150 JUMPI INVALID JUMPDEST PUSH1 0x0 DUP3 DUP2 MSTORE PUSH1 0x20 DUP1 DUP3 KECCAK256 DUP4 ADD PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF SWAP1 DUP2 ADD DUP1 SLOAD PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFF0000000000000000000000000000000000000000 AND SWAP1 SSTORE SWAP1 SWAP3 ADD SWAP1 SWAP3 SSTORE PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP10 AND DUP3 MSTORE PUSH1 0x1 DUP8 DUP2 ADD SWAP1 SWAP2 MSTORE PUSH1 0x40 SWAP1 SWAP2 KECCAK256 ADD DUP1 SLOAD PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF0000 AND SWAP1 SSTORE POP POP POP POP POP POP POP JUMP JUMPDEST PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND SWAP1 MSTORE JUMP JUMPDEST PUSH1 0x0 DUP2 MLOAD DUP1 DUP5 MSTORE PUSH2 0x1234 DUP2 PUSH1 0x20 DUP7 ADD PUSH1 0x20 DUP7 ADD PUSH2 0x17F9 JUMP JUMPDEST PUSH1 0x1F ADD PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFE0 AND SWAP3 SWAP1 SWAP3 ADD PUSH1 0x20 ADD SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP3 MLOAD PUSH2 0x1278 DUP2 DUP5 PUSH1 0x20 DUP8 ADD PUSH2 0x17F9 JUMP JUMPDEST SWAP2 SWAP1 SWAP2 ADD SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x60 DUP1 DUP3 MSTORE DUP5 MLOAD DUP3 DUP3 ADD DUP2 SWAP1 MSTORE PUSH1 0x0 SWAP2 SWAP1 PUSH1 0x80 SWAP1 DUP2 DUP6 ADD SWAP1 PUSH1 0x20 DUP1 DUP3 MUL DUP8 ADD DUP5 ADD DUP2 DUP12 ADD DUP8 JUMPDEST DUP5 DUP2 LT ISZERO PUSH2 0x137C JUMPI PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF80 DUP11 DUP5 SUB ADD DUP7 MSTORE DUP2 MLOAD DUP9 DUP5 ADD PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP3 MLOAD AND DUP6 MSTORE DUP6 DUP3 ADD MLOAD PUSH1 0x3 DUP2 LT PUSH2 0x1304 JUMPI INVALID JUMPDEST DUP6 DUP8 ADD MSTORE PUSH1 0x40 SWAP2 DUP3 ADD MLOAD SWAP2 DUP6 ADD DUP11 SWAP1 MSTORE DUP2 MLOAD SWAP1 DUP2 SWAP1 MSTORE SWAP1 DUP6 ADD SWAP1 DUP11 SWAP1 DUP10 DUP7 ADD SWAP1 JUMPDEST DUP1 DUP4 LT ISZERO PUSH2 0x1367 JUMPI DUP4 MLOAD PUSH32 0xFFFFFFFF00000000000000000000000000000000000000000000000000000000 AND DUP3 MSTORE SWAP3 DUP8 ADD SWAP3 PUSH1 0x1 SWAP3 SWAP1 SWAP3 ADD SWAP2 SWAP1 DUP8 ADD SWAP1 PUSH2 0x1325 JUMP JUMPDEST POP SWAP8 DUP7 ADD SWAP8 SWAP5 POP POP POP SWAP1 DUP4 ADD SWAP1 PUSH1 0x1 ADD PUSH2 0x12A8 JUMP JUMPDEST POP POP PUSH2 0x138A DUP3 DUP10 ADD DUP12 PUSH2 0x1202 JUMP JUMPDEST DUP8 DUP2 SUB PUSH1 0x40 DUP10 ADD MSTORE PUSH2 0x139C DUP2 DUP11 PUSH2 0x121C JUMP JUMPDEST SWAP12 SWAP11 POP POP POP POP POP POP POP POP POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 MSTORE PUSH2 0x13BE PUSH1 0x20 DUP4 ADD DUP5 PUSH2 0x121C JUMP JUMPDEST SWAP4 SWAP3 POP POP POP JUMP JUMPDEST PUSH1 0x20 DUP1 DUP3 MSTORE PUSH1 0x3C SWAP1 DUP3 ADD MSTORE PUSH32 0x4C69624469616D6F6E644375743A205F696E6974206973206164647265737328 PUSH1 0x40 DUP3 ADD MSTORE PUSH32 0x3029206275745F63616C6C64617461206973206E6F7420656D70747900000000 PUSH1 0x60 DUP3 ADD MSTORE PUSH1 0x80 ADD SWAP1 JUMP JUMPDEST PUSH1 0x20 DUP1 DUP3 MSTORE PUSH1 0x26 SWAP1 DUP3 ADD MSTORE PUSH32 0x4C69624469616D6F6E644375743A205F696E69742066756E6374696F6E207265 PUSH1 0x40 DUP3 ADD MSTORE PUSH32 0x7665727465640000000000000000000000000000000000000000000000000000 PUSH1 0x60 DUP3 ADD MSTORE PUSH1 0x80 ADD SWAP1 JUMP JUMPDEST PUSH1 0x20 DUP1 DUP3 MSTORE PUSH1 0x2B SWAP1 DUP3 ADD MSTORE PUSH32 0x4C69624469616D6F6E644375743A204E6F2073656C6563746F727320696E2066 PUSH1 0x40 DUP3 ADD MSTORE PUSH32 0x6163657420746F20637574000000000000000000000000000000000000000000 PUSH1 0x60 DUP3 ADD MSTORE PUSH1 0x80 ADD SWAP1 JUMP JUMPDEST PUSH1 0x20 DUP1 DUP3 MSTORE PUSH1 0x37 SWAP1 DUP3 ADD MSTORE PUSH32 0x4C69624469616D6F6E644375743A2043616E27742072656D6F76652066756E63 PUSH1 0x40 DUP3 ADD MSTORE PUSH32 0x74696F6E207468617420646F65736E2774206578697374000000000000000000 PUSH1 0x60 DUP3 ADD MSTORE PUSH1 0x80 ADD SWAP1 JUMP JUMPDEST PUSH1 0x20 DUP1 DUP3 MSTORE PUSH1 0x27 SWAP1 DUP3 ADD MSTORE PUSH32 0x4C69624469616D6F6E644375743A20496E636F72726563742046616365744375 PUSH1 0x40 DUP3 ADD MSTORE PUSH32 0x74416374696F6E00000000000000000000000000000000000000000000000000 PUSH1 0x60 DUP3 ADD MSTORE PUSH1 0x80 ADD SWAP1 JUMP JUMPDEST PUSH1 0x20 DUP1 DUP3 MSTORE PUSH1 0x2C SWAP1 DUP3 ADD MSTORE PUSH32 0x4C69624469616D6F6E644375743A204164642066616365742063616E27742062 PUSH1 0x40 DUP3 ADD MSTORE PUSH32 0x6520616464726573732830290000000000000000000000000000000000000000 PUSH1 0x60 DUP3 ADD MSTORE PUSH1 0x80 ADD SWAP1 JUMP JUMPDEST PUSH1 0x20 DUP1 DUP3 MSTORE DUP2 DUP2 ADD MSTORE PUSH32 0x4469616D6F6E643A2046756E6374696F6E20646F6573206E6F74206578697374 PUSH1 0x40 DUP3 ADD MSTORE PUSH1 0x60 ADD SWAP1 JUMP JUMPDEST PUSH1 0x20 DUP1 DUP3 MSTORE PUSH1 0x3D SWAP1 DUP3 ADD MSTORE PUSH32 0x4C69624469616D6F6E644375743A205F63616C6C6461746120697320656D7074 PUSH1 0x40 DUP3 ADD MSTORE PUSH32 0x7920627574205F696E6974206973206E6F742061646472657373283029000000 PUSH1 0x60 DUP3 ADD MSTORE PUSH1 0x80 ADD SWAP1 JUMP JUMPDEST PUSH1 0x20 DUP1 DUP3 MSTORE PUSH1 0x2E SWAP1 DUP3 ADD MSTORE PUSH32 0x4C69624469616D6F6E644375743A2043616E27742072656D6F766520696D6D75 PUSH1 0x40 DUP3 ADD MSTORE PUSH32 0x7461626C652066756E6374696F6E000000000000000000000000000000000000 PUSH1 0x60 DUP3 ADD MSTORE PUSH1 0x80 ADD SWAP1 JUMP JUMPDEST PUSH1 0x20 DUP1 DUP3 MSTORE PUSH1 0x35 SWAP1 DUP3 ADD MSTORE PUSH32 0x4C69624469616D6F6E644375743A2043616E2774206164642066756E6374696F PUSH1 0x40 DUP3 ADD MSTORE PUSH32 0x6E207468617420616C7265616479206578697374730000000000000000000000 PUSH1 0x60 DUP3 ADD MSTORE PUSH1 0x80 ADD SWAP1 JUMP JUMPDEST PUSH1 0x20 DUP1 DUP3 MSTORE PUSH1 0x38 SWAP1 DUP3 ADD MSTORE PUSH32 0x4C69624469616D6F6E644375743A2043616E2774207265706C6163652066756E PUSH1 0x40 DUP3 ADD MSTORE PUSH32 0x6374696F6E20776974682073616D652066756E6374696F6E0000000000000000 PUSH1 0x60 DUP3 ADD MSTORE PUSH1 0x80 ADD SWAP1 JUMP JUMPDEST PUSH1 0x20 DUP1 DUP3 MSTORE PUSH1 0x36 SWAP1 DUP3 ADD MSTORE PUSH32 0x4C69624469616D6F6E644375743A2052656D6F76652066616365742061646472 PUSH1 0x40 DUP3 ADD MSTORE PUSH32 0x657373206D757374206265206164647265737328302900000000000000000000 PUSH1 0x60 DUP3 ADD MSTORE PUSH1 0x80 ADD SWAP1 JUMP JUMPDEST PUSH1 0x0 JUMPDEST DUP4 DUP2 LT ISZERO PUSH2 0x1814 JUMPI DUP2 DUP2 ADD MLOAD DUP4 DUP3 ADD MSTORE PUSH1 0x20 ADD PUSH2 0x17FC JUMP JUMPDEST DUP4 DUP2 GT ISZERO PUSH2 0xAC5 JUMPI POP POP PUSH1 0x0 SWAP2 ADD MSTORE JUMP INVALID 0x4C PUSH10 0x624469616D6F6E644375 PUSH21 0x3A205F696E6974206164647265737320686173206E PUSH16 0x20636F64654C69624469616D6F6E6443 PUSH22 0x743A204E657720666163657420686173206E6F20636F PUSH5 0x65A2646970 PUSH7 0x735822122054A3 0xC3 LOG1 XOR DUP1 CALLDATALOAD GASLIMIT 0x23 0x1F NUMBER PUSH17 0x30CB5E290869BE0182196A4A05E7D4A1 0xB7 SAR PUSH31 0x64736F6C634300070600334C69624469616D6F6E644375743A205F696E6974 KECCAK256 PUSH2 0x6464 PUSH19 0x65737320686173206E6F20636F64654C696244 PUSH10 0x616D6F6E644375743A20 0x4E PUSH6 0x772066616365 PUSH21 0x20686173206E6F20636F6465000000000000000000 ", - "sourceMap": "626:1698:1:-:0;;;792:598;;;;;;;;;;;;;;;;;;:::i;:::-;938:12;;;934:1;938:12;;;;;;;;;891:60;;913:11;;891:21;;;;;:60;;:::i;:::-;961:40;989:5;:11;;;961:27;;;;;:40;;:::i;:::-;1012:36;1051:27;:25;;;;;:27;;:::i;:::-;-1:-1:-1;1119:49:1;;;;:22;;;;;:49;;;;;;:56;;1171:4;-1:-1:-1;1119:56:1;;;;;;;;-1:-1:-1;1185:53:1;;;;;:60;;;;;;;;-1:-1:-1;1255:55:1;;;;;:62;;;;;;;;-1:-1:-1;1327:49:1;;;;;;:56;;;;;;;;;;-1:-1:-1;626:1698:1;;-1:-1:-1;;626:1698:1;2584:1067:9;2740:18;2735:806;2773:11;:18;2760:10;:31;2735:806;;;2821:33;2857:11;2869:10;2857:23;;;;;;;;;;;;;;:30;;;2821:66;;2915:30;2905:40;;;;;;;;:6;:40;;;;;;;;;2901:630;;;2965:93;2978:11;2990:10;2978:23;;;;;;;;;;;;;;:36;;;3016:11;3028:10;3016:23;;;;;;;;;;;;;;:41;;;2965:12;;;:93;;:::i;:::-;2901:630;;;3093:34;3083:6;:44;;;;;;;;;3079:452;;;3147:97;3164:11;3176:10;3164:23;;;;;;;;;;;;;;:36;;;3202:11;3214:10;3202:23;;;;;;;;;;;;;;:41;;;3147:16;;;:97;;:::i;3079:452::-;3279:33;3269:6;:43;;;;;;;;;3265:266;;;3332:96;3348:11;3360:10;3348:23;;;;;;;;;;;;;;:36;;;3386:11;3398:10;3386:23;;;;;;;;;;;;;;:41;;;3332:15;;;:96;;:::i;3265:266::-;3467:49;;-1:-1:-1;3467:49:9;;;;;;;:::i;:::-;;;;;;;;3265:266;-1:-1:-1;2793:12:9;;2735:806;;;;3555:41;3566:11;3579:5;3586:9;3555:41;;;;;;;;:::i;:::-;;;;;;;;3606:38;3627:5;3634:9;3606:20;:38::i;:::-;2584:1067;;;:::o;1872:264::-;1936:25;1964:16;:14;:16::i;:::-;2014;;;;;-1:-1:-1;2040:28:9;;;-1:-1:-1;2040:28:9;;;;;;;2083:46;;2014:16;;-1:-1:-1;2014:16:9;;;;2083:46;;-1:-1:-1;;2083:46:9;1872:264;;;:::o;1579:197::-;514:45;;1727:43::o;3657:1551::-;3793:1;3765:18;:25;:29;3757:85;;;;-1:-1:-1;3757:85:9;;;;;;;:::i;:::-;3852:25;3880:16;:14;:16::i;:::-;3852:44;-1:-1:-1;;3991:27:9;;3983:84;;;;-1:-1:-1;3983:84:9;;;;;;;:::i;:::-;-1:-1:-1;4110:40:9;;4077:23;4110:40;;;-1:-1:-1;4110:25:9;;:40;;;;;:65;4244:21;;;4240:290;;4281:77;4304:13;4281:77;;;;;;;;;;;;;;;;;:22;:77::i;:::-;4443:17;;;:24;;-1:-1:-1;4372:40:9;;;;;;-1:-1:-1;4372:25:9;;;:40;;;;;;;:61;;:96;;-1:-1:-1;4372:96:9;-1:-1:-1;4372:96:9;;;;;;;;;;4482:37;;;;;;;;;;;;;;;;;;;-1:-1:-1;4482:37:9;;;;;;4240:290;4544:21;4539:663;4583:18;:25;4567:13;:41;4539:663;;;4641:15;4659:18;4678:13;4659:33;;;;;;;;;;;;;;;;;;;-1:-1:-1;4732:39:9;;4706:23;4732:39;;;;;;;;;;;:52;4659:33;;-1:-1:-1;;4732:52:9;4806:29;;4798:95;;;;-1:-1:-1;4798:95:9;;;;;;;:::i;:::-;-1:-1:-1;;4907:40:9;;;;;;-1:-1:-1;4907:25:9;;;:40;;;;;;;;:73;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;4994:39:9;;;;;;;;;;;:68;;-1:-1:-1;4994:68:9;;;;-1:-1:-1;5076:83:9;-1:-1:-1;;5076:83:9;;;;;;5173:18;;;;4610:15;4539:663;;;;3657:1551;;;;:::o;5214:1567::-;5354:1;5326:18;:25;:29;5318:85;;;;-1:-1:-1;5318:85:9;;;;;;;:::i;:::-;5413:25;5441:16;:14;:16::i;:::-;5413:44;-1:-1:-1;;5475:27:9;;5467:84;;;;-1:-1:-1;5467:84:9;;;;;;;:::i;:::-;-1:-1:-1;5594:40:9;;5561:23;5594:40;;;-1:-1:-1;5594:25:9;;:40;;;;;:65;5728:21;;;5724:290;;5765:77;5788:13;5765:77;;;;;;;;;;;;;;;;;:22;:77::i;:::-;5927:17;;;:24;;-1:-1:-1;5856:40:9;;;;;;-1:-1:-1;5856:25:9;;;:40;;;;;;;:61;;:96;;-1:-1:-1;5856:96:9;-1:-1:-1;5856:96:9;;;;;;;;;;5966:37;;;;;;;;;;;;;;;;;;;-1:-1:-1;5966:37:9;;;;;;5724:290;6028:21;6023:752;6067:18;:25;6051:13;:41;6023:752;;;6125:15;6143:18;6162:13;6143:33;;;;;;;;;;;;;;;;;;;-1:-1:-1;6216:39:9;;6190:23;6216:39;;;;;;;;;;;:52;6143:33;;-1:-1:-1;;6216:52:9;;;;6290:32;;;;;6282:101;;;;-1:-1:-1;6282:101:9;;;;;;;:::i;:::-;6397:41;6412:15;6429:8;6397:14;:41::i;:::-;-1:-1:-1;;6480:39:9;;:29;:39;;;;;;;;;;;:83;;-1:-1:-1;6480:83:9;-1:-1:-1;;6480:83:9;;;;;;-1:-1:-1;6577:40:9;;;;;-1:-1:-1;6577:25:9;;;:40;;;;;:73;;;;;;;;;;;;;;;;;;;;;;;;;;6480:83;6577:73;;;;;;-1:-1:-1;6577:73:9;;;;;;;;;;;;;;;6664:39;;;;;;;:68;;-1:-1:-1;6664:68:9;;;;;;6746:18;;;;6094:15;6023:752;;6787:738;6926:1;6898:18;:25;:29;6890:85;;;;-1:-1:-1;6890:85:9;;;;;;;:::i;:::-;6985:25;7013:16;:14;:16::i;:::-;6985:44;-1:-1:-1;;7112:27:9;;;7104:94;;;;-1:-1:-1;7104:94:9;;;;;;;:::i;:::-;7213:21;7208:311;7252:18;:25;7236:13;:41;7208:311;;;7310:15;7328:18;7347:13;7328:33;;;;;;;;;;;;;;;;;;;-1:-1:-1;7401:39:9;;7375:23;7401:39;;;;;;;;;;;:52;7328:33;;-1:-1:-1;;7401:52:9;7467:41;7401:52;7328:33;7467:14;:41::i;:::-;-1:-1:-1;;7279:15:9;;7208:311;;;;6787:738;;;:::o;9754:871::-;-1:-1:-1;9846:19:9;;9842:777;;9889:16;;:21;9881:94;;;;-1:-1:-1;9881:94:9;;;;;;;:::i;:::-;9842:777;;;10033:1;10014:9;:16;:20;10006:94;;;;-1:-1:-1;10006:94:9;;;;;;;:::i;:::-;10135:4;-1:-1:-1;10118:22:9;;;10114:134;;10160:73;10183:5;10160:73;;;;;;;;;;;;;;;;;:22;:73::i;:::-;10298:29;;10262:12;;;;-1:-1:-1;10298:18:9;;;:29;;10317:9;;10298:29;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;10261:66;;;;10346:7;10341:268;;10377:12;;:16;10373:222;;10460:21;;-1:-1:-1;10460:21:9;;;;10474:5;;10460:21;;;:::i;10373:222::-;10528:48;;-1:-1:-1;10528:48:9;;;;;;;:::i;9842:777::-;9754:871;;:::o;10631:261::-;10804:22;;10871:13;10853:16;10845:40;;;;-1:-1:-1;10845:40:9;;;;;;;;:::i;7531:2217::-;7615:25;7643:16;:14;:16::i;:::-;7615:44;-1:-1:-1;;7677:27:9;;7669:95;;;;-1:-1:-1;7669:95:9;;;;;;;:::i;:::-;7884:4;-1:-1:-1;7859:30:9;;;;7851:89;;;;-1:-1:-1;7851:89:9;;;;;;;:::i;:::-;-1:-1:-1;8051:40:9;;8024:24;8051:40;;;;;;;;;;;:65;-1:-1:-1;8157:40:9;;;;-1:-1:-1;8157:25:9;;:40;;;;;;:65;-1:-1:-1;8051:65:9;;;;;;-1:-1:-1;8157:69:9;8308:40;;;8304:387;;-1:-1:-1;8386:40:9;;8364:19;8386:40;;;-1:-1:-1;8386:25:9;;:40;;;;;:80;;8445:20;;8386:80;;;;;;;;;;;;;;;;;;;-1:-1:-1;8480:40:9;;;;-1:-1:-1;8480:25:9;;:40;;;;;;;:76;;8386:80;;;;;;;;;;;;;;-1:-1:-1;8386:80:9;;8480:40;8539:16;;8480:76;;;;;;;;;;;;;;;;;;:91;;;:76;;;;;;:91;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;8585:43:9;;;;;;;;;;;;:95;;-1:-1:-1;8585:95:9;-1:-1:-1;;8585:95:9;;;;;;8304:387;-1:-1:-1;8736:40:9;;;;;;-1:-1:-1;8736:25:9;;:40;;;;;:64;;;;;;;;;;;;;;;;-1:-1:-1;8736:64:9;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;8817:40:9;;;;;;;;;;8810:47;;-1:-1:-1;8810:47:9;;;8952:25;8948:794;;9119:17;;;:24;-1:-1:-1;9192:40:9;;9084:32;9192:40;;;-1:-1:-1;9192:25:9;;;:40;;;;;;:61;;-1:-1:-1;9119:28:9;;;;9192:61;;9271:48;;;9267:346;;9339:24;9366:2;:17;;9384:24;9366:43;;;;;;;;;;;;;;;;;;9427:17;;;:39;;-1:-1:-1;9366:43:9;;;;-1:-1:-1;9366:43:9;;9445:20;;9427:39;;;;;;;;;;;;;;;;;;:58;;-1:-1:-1;9427:58:9;-1:-1:-1;9427:58:9;;;;;;9503:43;;;;;;-1:-1:-1;9503:25:9;;;:43;;;;;;:64;:95;;-1:-1:-1;9503:95:9;-1:-1:-1;9503:95:9;;;;;9267:346;9626:2;:17;;:23;;;;;;;;;;;;;;;-1:-1:-1;9626:23:9;;;;;;;-1:-1:-1;9626:23:9;;;;;;;;;-1:-1:-1;9670:40:9;;;;;;-1:-1:-1;9670:25:9;;;:40;;;-1:-1:-1;;9670:40:9;;;;:61;;;9663:68;;-1:-1:-1;9663:68:9;;;-1:-1:-1;;;7531:2217:9:o;14:179:10:-;95:13;;-1:-1:-1;137:31:10;;127:42;;117:2;;183:1;180;173:12;117:2;76:117;;;:::o;198:823::-;;321:3;314:4;306:6;302:17;298:27;288:2;;343:5;336;329:20;288:2;376:6;370:13;402:4;426:64;441:48;486:2;441:48;:::i;:::-;426:64;:::i;:::-;524:15;;;555:12;;;;587:15;;;633:11;;;621:24;;617:33;;614:42;-1:-1:-1;611:2:10;;;673:5;666;659:20;611:2;699:5;713:279;727:2;724:1;721:9;713:279;;;785:10;;-1:-1:-1;828:32:10;;818:43;;808:2;;879:5;872;865:20;808:2;900:18;;938:12;;;;970;;;;745:1;738:9;713:279;;;-1:-1:-1;1010:5:10;;278:743;-1:-1:-1;;;;;;;278:743:10:o;1026:442::-;;1146:4;1134:9;1129:3;1125:19;1121:30;1118:2;;;1168:5;1161;1154:20;1118:2;1205;1199:9;1247:4;1235:17;;1303:22;;;-1:-1:-1;1267:34:10;;1264:62;1261:2;;;1329:9;1261:2;1356;1349:22;1389:6;-1:-1:-1;1389:6:10;1419:42;1451:9;1419:42;:::i;:::-;1404:58;;1108:360;;-1:-1:-1;;1108:360:10:o;1473:1812::-;;;1691:2;1679:9;1670:7;1666:23;1662:32;1659:2;;;1712:6;1704;1697:22;1659:2;1744:16;;-1:-1:-1;1809:14:10;;;1806:2;;;1841:6;1833;1826:22;1806:2;1884:6;1873:9;1869:22;1859:32;;1929:7;1922:4;1918:2;1914:13;1910:27;1900:2;;1956:6;1948;1941:22;1900:2;1990;1984:9;2012:4;2036:64;2051:48;2096:2;2051:48;:::i;2036:64::-;2134:15;;;2165:12;;;;2197:11;;;2226:6;2241:923;2255:2;2252:1;2249:9;2241:923;;;2318:10;;2310:19;;2381:4;-1:-1:-1;2353:16:10;;;2349:30;2345:41;2342:2;;;2404:6;2396;2389:22;2342:2;2446;2440:9;2492:4;2484:6;2480:17;2551:6;2539:10;2536:22;2531:2;2519:10;2516:18;2513:46;2510:2;;;2562:9;2510:2;2593;2586:22;2636:44;2668:11;;;2636:44;:::i;:::-;2628:6;2621:60;2721:2;2717;2713:11;2707:18;2758:1;2751:5;2748:12;2738:2;;2779:6;2771;2764:22;2738:2;2808:15;;;2801:30;2874:4;2866:13;;2860:20;2896:16;;;2893:2;;;2930:6;2922;2915:22;2893:2;2976:81;3049:7;3044:2;3033:8;3029:2;3025:17;3021:26;2976:81;:::i;:::-;2971:2;2959:15;;2952:106;-1:-1:-1;3071:19:10;;-1:-1:-1;3110:12:10;;;;3142;;;;2273:1;2266:9;2241:923;;;2245:3;;3183:5;3173:15;;;;3207:72;3271:7;3266:2;3255:9;3251:18;3207:72;:::i;:::-;3197:82;;;;;;1649:1636;;;;;:::o;3290:106::-;-1:-1:-1;3358:31:10;3346:44;;3336:60::o;3401:259::-;;3482:5;3476:12;3509:6;3504:3;3497:19;3525:63;3581:6;3574:4;3569:3;3565:14;3558:4;3551:5;3547:16;3525:63;:::i;:::-;3642:2;3621:15;-1:-1:-1;;3617:29:10;3608:39;;;;3649:4;3604:50;;3452:208;-1:-1:-1;;3452:208:10:o;3665:274::-;;3832:6;3826:13;3848:53;3894:6;3889:3;3882:4;3874:6;3870:17;3848:53;:::i;:::-;3917:16;;;;;3802:137;-1:-1:-1;;3802:137:10:o;3944:1973::-;4239:2;4291:21;;;4361:13;;4264:18;;;4383:22;;;3944:1973;;4239:2;4424:3;;4443:18;;;;4480:4;4526:15;;;4511:31;;4507:40;;4570:15;;;3944:1973;4616:1126;4630:6;4627:1;4624:13;4616:1126;;;-1:-1:-1;4695:22:10;;;4691:37;4679:50;;4752:13;;4839:9;;-1:-1:-1;4835:35:10;4820:51;;4910:11;;;4904:18;4792:15;;;;4962:1;4945:19;;4935:2;;4968:9;4935:2;4999:15;;;4992:37;5052:4;5097:11;;;5091:18;5129:15;;;5122:27;;;5210:21;;5244:24;;;;5334:23;;;;5381:4;;5290:15;;;;5398:236;5414:8;5409:3;5406:17;5398:236;;;5495:15;;-1:-1:-1;5491:42:10;5477:57;;5603:17;;;;-1:-1:-1;5433:11:10;;;;;5560:14;;;;5398:236;;;-1:-1:-1;5720:12:10;;;;5657:5;-1:-1:-1;;;5685:15:10;;;;4652:1;4645:9;4616:1126;;;4620:3;;5751:48;5795:2;5784:9;5780:18;5772:6;5751:48;:::i;:::-;5849:9;5841:6;5837:22;5830:4;5819:9;5815:20;5808:52;5877:34;5904:6;5896;5877:34;:::i;:::-;5869:42;4219:1698;-1:-1:-1;;;;;;;;;;;4219:1698:10:o;5922:221::-;;6071:2;6060:9;6053:21;6091:46;6133:2;6122:9;6118:18;6110:6;6091:46;:::i;:::-;6083:54;6043:100;-1:-1:-1;;;6043:100:10:o;6148:424::-;6350:2;6332:21;;;6389:2;6369:18;;;6362:30;6428:34;6423:2;6408:18;;6401:62;6499:30;6494:2;6479:18;;6472:58;6562:3;6547:19;;6322:250::o;6577:402::-;6779:2;6761:21;;;6818:2;6798:18;;;6791:30;6857:34;6852:2;6837:18;;6830:62;-1:-1:-1;6923:2:10;6908:18;;6901:36;6969:3;6954:19;;6751:228::o;6984:407::-;7186:2;7168:21;;;7225:2;7205:18;;;7198:30;7264:34;7259:2;7244:18;;7237:62;-1:-1:-1;7330:2:10;7315:18;;7308:41;7381:3;7366:19;;7158:233::o;7396:419::-;7598:2;7580:21;;;7637:2;7617:18;;;7610:30;7676:34;7671:2;7656:18;;7649:62;7747:25;7742:2;7727:18;;7720:53;7805:3;7790:19;;7570:245::o;7820:403::-;8022:2;8004:21;;;8061:2;8041:18;;;8034:30;8100:34;8095:2;8080:18;;8073:62;-1:-1:-1;8166:2:10;8151:18;;8144:37;8213:3;8198:19;;7994:229::o;8228:408::-;8430:2;8412:21;;;8469:2;8449:18;;;8442:30;8508:34;8503:2;8488:18;;8481:62;-1:-1:-1;8574:2:10;8559:18;;8552:42;8626:3;8611:19;;8402:234::o;8641:425::-;8843:2;8825:21;;;8882:2;8862:18;;;8855:30;8921:34;8916:2;8901:18;;8894:62;8992:31;8987:2;8972:18;;8965:59;9056:3;9041:19;;8815:251::o;9071:410::-;9273:2;9255:21;;;9312:2;9292:18;;;9285:30;9351:34;9346:2;9331:18;;9324:62;-1:-1:-1;9417:2:10;9402:18;;9395:44;9471:3;9456:19;;9245:236::o;9486:417::-;9688:2;9670:21;;;9727:2;9707:18;;;9700:30;9766:34;9761:2;9746:18;;9739:62;9837:23;9832:2;9817:18;;9810:51;9893:3;9878:19;;9660:243::o;9908:420::-;10110:2;10092:21;;;10149:2;10129:18;;;10122:30;10188:34;10183:2;10168:18;;10161:62;10259:26;10254:2;10239:18;;10232:54;10318:3;10303:19;;10082:246::o;10333:418::-;10535:2;10517:21;;;10574:2;10554:18;;;10547:30;10613:34;10608:2;10593:18;;10586:62;10684:24;10679:2;10664:18;;10657:52;10741:3;10726:19;;10507:244::o;10756:242::-;10826:2;10820:9;10856:17;;;10924:22;;;-1:-1:-1;10888:34:10;;10885:62;10882:2;;;10950:9;10882:2;10977;10970:22;10800:198;;-1:-1:-1;10800:198:10:o;11003:182::-;;-1:-1:-1;11090:30:10;;11087:2;;;11123:9;11087:2;-1:-1:-1;11174:4:10;11155:17;;;11151:28;;11077:108::o;11190:258::-;11262:1;11272:113;11286:6;11283:1;11280:13;11272:113;;;11362:11;;;11356:18;11343:11;;;11336:39;11308:2;11301:10;11272:113;;;11403:6;11400:1;11397:13;11394:2;;;-1:-1:-1;;11438:1:10;11420:16;;11413:27;11243:205::o;:::-;626:1698:1;;;;;;" - }, - "deployedBytecode": { - "generatedSources": [ - { - "ast": { - "nodeType": "YulBlock", - "src": "0:8310:10", - "statements": [ - { - "nodeType": "YulBlock", - "src": "6:3:10", - "statements": [] - }, - { - "body": { - "nodeType": "YulBlock", - "src": "60:83:10", - "statements": [ - { - "expression": { + "nodeType": "YulLiteral", + "src": "1930:1:11", + "type": "", + "value": "0" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "1905:6:11" + }, + "nodeType": "YulFunctionCall", + "src": "1905:27:11" + }, + "nodeType": "YulExpressionStatement", + "src": "1905:27:11" + } + ] + }, + "condition": { "arguments": [ { - "name": "pos", + "name": "i", "nodeType": "YulIdentifier", - "src": "77:3:10" + "src": "1892:1:11" }, { - "arguments": [ - { - "name": "value", - "nodeType": "YulIdentifier", - "src": "86:5:10" - }, - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "93:42:10", - "type": "", - "value": "0xffffffffffffffffffffffffffffffffffffffff" - } - ], - "functionName": { - "name": "and", - "nodeType": "YulIdentifier", - "src": "82:3:10" - }, - "nodeType": "YulFunctionCall", - "src": "82:54:10" + "name": "length", + "nodeType": "YulIdentifier", + "src": "1895:6:11" } ], "functionName": { - "name": "mstore", + "name": "gt", "nodeType": "YulIdentifier", - "src": "70:6:10" + "src": "1889:2:11" }, "nodeType": "YulFunctionCall", - "src": "70:67:10" + "src": "1889:13:11" }, - "nodeType": "YulExpressionStatement", - "src": "70:67:10" + "nodeType": "YulIf", + "src": "1886:48:11" } ] }, - "name": "abi_encode_t_address", + "name": "copy_memory_to_memory", "nodeType": "YulFunctionDefinition", "parameters": [ { - "name": "value", + "name": "src", "nodeType": "YulTypedName", - "src": "44:5:10", + "src": "1713:3:11", "type": "" }, { - "name": "pos", + "name": "dst", + "nodeType": "YulTypedName", + "src": "1718:3:11", + "type": "" + }, + { + "name": "length", "nodeType": "YulTypedName", - "src": "51:3:10", + "src": "1723:6:11", "type": "" } ], - "src": "14:129:10" + "src": "1682:258:11" }, { "body": { "nodeType": "YulBlock", - "src": "199:267:10", + "src": "1994:267:11", "statements": [ { "nodeType": "YulVariableDeclaration", - "src": "209:26:10", + "src": "2004:26:11", "value": { "arguments": [ { "name": "value", "nodeType": "YulIdentifier", - "src": "229:5:10" + "src": "2024:5:11" } ], "functionName": { "name": "mload", "nodeType": "YulIdentifier", - "src": "223:5:10" + "src": "2018:5:11" }, "nodeType": "YulFunctionCall", - "src": "223:12:10" + "src": "2018:12:11" }, "variables": [ { "name": "length", "nodeType": "YulTypedName", - "src": "213:6:10", + "src": "2008:6:11", "type": "" } ] @@ -8234,24 +11143,24 @@ { "name": "pos", "nodeType": "YulIdentifier", - "src": "251:3:10" + "src": "2046:3:11" }, { "name": "length", "nodeType": "YulIdentifier", - "src": "256:6:10" + "src": "2051:6:11" } ], "functionName": { "name": "mstore", "nodeType": "YulIdentifier", - "src": "244:6:10" + "src": "2039:6:11" }, "nodeType": "YulFunctionCall", - "src": "244:19:10" + "src": "2039:19:11" }, "nodeType": "YulExpressionStatement", - "src": "244:19:10" + "src": "2039:19:11" }, { "expression": { @@ -8261,12 +11170,12 @@ { "name": "value", "nodeType": "YulIdentifier", - "src": "298:5:10" + "src": "2093:5:11" }, { "kind": "number", "nodeType": "YulLiteral", - "src": "305:4:10", + "src": "2100:4:11", "type": "", "value": "0x20" } @@ -8274,22 +11183,22 @@ "functionName": { "name": "add", "nodeType": "YulIdentifier", - "src": "294:3:10" + "src": "2089:3:11" }, "nodeType": "YulFunctionCall", - "src": "294:16:10" + "src": "2089:16:11" }, { "arguments": [ { "name": "pos", "nodeType": "YulIdentifier", - "src": "316:3:10" + "src": "2111:3:11" }, { "kind": "number", "nodeType": "YulLiteral", - "src": "321:4:10", + "src": "2116:4:11", "type": "", "value": "0x20" } @@ -8297,31 +11206,31 @@ "functionName": { "name": "add", "nodeType": "YulIdentifier", - "src": "312:3:10" + "src": "2107:3:11" }, "nodeType": "YulFunctionCall", - "src": "312:14:10" + "src": "2107:14:11" }, { "name": "length", "nodeType": "YulIdentifier", - "src": "328:6:10" + "src": "2123:6:11" } ], "functionName": { "name": "copy_memory_to_memory", "nodeType": "YulIdentifier", - "src": "272:21:10" + "src": "2067:21:11" }, "nodeType": "YulFunctionCall", - "src": "272:63:10" + "src": "2067:63:11" }, "nodeType": "YulExpressionStatement", - "src": "272:63:10" + "src": "2067:63:11" }, { "nodeType": "YulAssignment", - "src": "344:116:10", + "src": "2139:116:11", "value": { "arguments": [ { @@ -8329,7 +11238,7 @@ { "name": "pos", "nodeType": "YulIdentifier", - "src": "359:3:10" + "src": "2154:3:11" }, { "arguments": [ @@ -8338,12 +11247,12 @@ { "name": "length", "nodeType": "YulIdentifier", - "src": "372:6:10" + "src": "2167:6:11" }, { "kind": "number", "nodeType": "YulLiteral", - "src": "380:2:10", + "src": "2175:2:11", "type": "", "value": "31" } @@ -8351,15 +11260,15 @@ "functionName": { "name": "add", "nodeType": "YulIdentifier", - "src": "368:3:10" + "src": "2163:3:11" }, "nodeType": "YulFunctionCall", - "src": "368:15:10" + "src": "2163:15:11" }, { "kind": "number", "nodeType": "YulLiteral", - "src": "385:66:10", + "src": "2180:66:11", "type": "", "value": "0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0" } @@ -8367,24 +11276,24 @@ "functionName": { "name": "and", "nodeType": "YulIdentifier", - "src": "364:3:10" + "src": "2159:3:11" }, "nodeType": "YulFunctionCall", - "src": "364:88:10" + "src": "2159:88:11" } ], "functionName": { "name": "add", "nodeType": "YulIdentifier", - "src": "355:3:10" + "src": "2150:3:11" }, "nodeType": "YulFunctionCall", - "src": "355:98:10" + "src": "2150:98:11" }, { "kind": "number", "nodeType": "YulLiteral", - "src": "455:4:10", + "src": "2250:4:11", "type": "", "value": "0x20" } @@ -8392,175 +11301,34 @@ "functionName": { "name": "add", "nodeType": "YulIdentifier", - "src": "351:3:10" + "src": "2146:3:11" }, "nodeType": "YulFunctionCall", - "src": "351:109:10" + "src": "2146:109:11" }, "variableNames": [ { "name": "end", "nodeType": "YulIdentifier", - "src": "344:3:10" + "src": "2139:3:11" } ] } ] }, - "name": "abi_encode_t_bytes", + "name": "abi_encode_bytes", "nodeType": "YulFunctionDefinition", "parameters": [ { "name": "value", "nodeType": "YulTypedName", - "src": "176:5:10", + "src": "1971:5:11", "type": "" }, { "name": "pos", "nodeType": "YulTypedName", - "src": "183:3:10", - "type": "" - } - ], - "returnVariables": [ - { - "name": "end", - "nodeType": "YulTypedName", - "src": "191:3:10", - "type": "" - } - ], - "src": "148:318:10" - }, - { - "body": { - "nodeType": "YulBlock", - "src": "608:137:10", - "statements": [ - { - "nodeType": "YulVariableDeclaration", - "src": "618:27:10", - "value": { - "arguments": [ - { - "name": "value0", - "nodeType": "YulIdentifier", - "src": "638:6:10" - } - ], - "functionName": { - "name": "mload", - "nodeType": "YulIdentifier", - "src": "632:5:10" - }, - "nodeType": "YulFunctionCall", - "src": "632:13:10" - }, - "variables": [ - { - "name": "length", - "nodeType": "YulTypedName", - "src": "622:6:10", - "type": "" - } - ] - }, - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "name": "value0", - "nodeType": "YulIdentifier", - "src": "680:6:10" - }, - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "688:4:10", - "type": "", - "value": "0x20" - } - ], - "functionName": { - "name": "add", - "nodeType": "YulIdentifier", - "src": "676:3:10" - }, - "nodeType": "YulFunctionCall", - "src": "676:17:10" - }, - { - "name": "pos", - "nodeType": "YulIdentifier", - "src": "695:3:10" - }, - { - "name": "length", - "nodeType": "YulIdentifier", - "src": "700:6:10" - } - ], - "functionName": { - "name": "copy_memory_to_memory", - "nodeType": "YulIdentifier", - "src": "654:21:10" - }, - "nodeType": "YulFunctionCall", - "src": "654:53:10" - }, - "nodeType": "YulExpressionStatement", - "src": "654:53:10" - }, - { - "nodeType": "YulAssignment", - "src": "716:23:10", - "value": { - "arguments": [ - { - "name": "pos", - "nodeType": "YulIdentifier", - "src": "727:3:10" - }, - { - "name": "length", - "nodeType": "YulIdentifier", - "src": "732:6:10" - } - ], - "functionName": { - "name": "add", - "nodeType": "YulIdentifier", - "src": "723:3:10" - }, - "nodeType": "YulFunctionCall", - "src": "723:16:10" - }, - "variableNames": [ - { - "name": "end", - "nodeType": "YulIdentifier", - "src": "716:3:10" - } - ] - } - ] - }, - "name": "abi_encode_tuple_packed_t_bytes_memory_ptr__to_t_bytes_memory_ptr__nonPadded_inplace_fromStack_reversed", - "nodeType": "YulFunctionDefinition", - "parameters": [ - { - "name": "pos", - "nodeType": "YulTypedName", - "src": "584:3:10", - "type": "" - }, - { - "name": "value0", - "nodeType": "YulTypedName", - "src": "589:6:10", + "src": "1978:3:11", "type": "" } ], @@ -8568,24 +11336,24 @@ { "name": "end", "nodeType": "YulTypedName", - "src": "600:3:10", + "src": "1986:3:11", "type": "" } ], - "src": "471:274:10" + "src": "1945:316:11" }, { "body": { "nodeType": "YulBlock", - "src": "1025:1825:10", + "src": "2541:1997:11", "statements": [ { "nodeType": "YulVariableDeclaration", - "src": "1035:12:10", + "src": "2551:12:11", "value": { "kind": "number", "nodeType": "YulLiteral", - "src": "1045:2:10", + "src": "2561:2:11", "type": "", "value": "96" }, @@ -8593,40 +11361,40 @@ { "name": "_1", "nodeType": "YulTypedName", - "src": "1039:2:10", + "src": "2555:2:11", "type": "" } ] }, { "nodeType": "YulVariableDeclaration", - "src": "1056:32:10", + "src": "2572:32:11", "value": { "arguments": [ { "name": "headStart", "nodeType": "YulIdentifier", - "src": "1074:9:10" + "src": "2590:9:11" }, { "name": "_1", "nodeType": "YulIdentifier", - "src": "1085:2:10" + "src": "2601:2:11" } ], "functionName": { "name": "add", "nodeType": "YulIdentifier", - "src": "1070:3:10" + "src": "2586:3:11" }, "nodeType": "YulFunctionCall", - "src": "1070:18:10" + "src": "2586:18:11" }, "variables": [ { "name": "tail_1", "nodeType": "YulTypedName", - "src": "1060:6:10", + "src": "2576:6:11", "type": "" } ] @@ -8637,66 +11405,66 @@ { "name": "headStart", "nodeType": "YulIdentifier", - "src": "1104:9:10" + "src": "2620:9:11" }, { "name": "_1", "nodeType": "YulIdentifier", - "src": "1115:2:10" + "src": "2631:2:11" } ], "functionName": { "name": "mstore", "nodeType": "YulIdentifier", - "src": "1097:6:10" + "src": "2613:6:11" }, "nodeType": "YulFunctionCall", - "src": "1097:21:10" + "src": "2613:21:11" }, "nodeType": "YulExpressionStatement", - "src": "1097:21:10" + "src": "2613:21:11" }, { "nodeType": "YulVariableDeclaration", - "src": "1127:17:10", + "src": "2643:17:11", "value": { "name": "tail_1", "nodeType": "YulIdentifier", - "src": "1138:6:10" + "src": "2654:6:11" }, "variables": [ { "name": "pos", "nodeType": "YulTypedName", - "src": "1131:3:10", + "src": "2647:3:11", "type": "" } ] }, { "nodeType": "YulVariableDeclaration", - "src": "1153:27:10", + "src": "2669:27:11", "value": { "arguments": [ { "name": "value0", "nodeType": "YulIdentifier", - "src": "1173:6:10" + "src": "2689:6:11" } ], "functionName": { "name": "mload", "nodeType": "YulIdentifier", - "src": "1167:5:10" + "src": "2683:5:11" }, "nodeType": "YulFunctionCall", - "src": "1167:13:10" + "src": "2683:13:11" }, "variables": [ { "name": "length", "nodeType": "YulTypedName", - "src": "1157:6:10", + "src": "2673:6:11", "type": "" } ] @@ -8707,32 +11475,32 @@ { "name": "tail_1", "nodeType": "YulIdentifier", - "src": "1196:6:10" + "src": "2712:6:11" }, { "name": "length", "nodeType": "YulIdentifier", - "src": "1204:6:10" + "src": "2720:6:11" } ], "functionName": { "name": "mstore", "nodeType": "YulIdentifier", - "src": "1189:6:10" + "src": "2705:6:11" }, "nodeType": "YulFunctionCall", - "src": "1189:22:10" + "src": "2705:22:11" }, "nodeType": "YulExpressionStatement", - "src": "1189:22:10" + "src": "2705:22:11" }, { "nodeType": "YulVariableDeclaration", - "src": "1220:13:10", + "src": "2736:13:11", "value": { "kind": "number", "nodeType": "YulLiteral", - "src": "1230:3:10", + "src": "2746:3:11", "type": "", "value": "128" }, @@ -8740,65 +11508,46 @@ { "name": "_2", "nodeType": "YulTypedName", - "src": "1224:2:10", + "src": "2740:2:11", "type": "" } ] }, { "nodeType": "YulAssignment", - "src": "1242:25:10", + "src": "2758:25:11", "value": { "arguments": [ { "name": "headStart", "nodeType": "YulIdentifier", - "src": "1253:9:10" + "src": "2769:9:11" }, { "name": "_2", "nodeType": "YulIdentifier", - "src": "1264:2:10" + "src": "2780:2:11" } ], "functionName": { "name": "add", "nodeType": "YulIdentifier", - "src": "1249:3:10" + "src": "2765:3:11" }, "nodeType": "YulFunctionCall", - "src": "1249:18:10" + "src": "2765:18:11" }, "variableNames": [ { "name": "pos", "nodeType": "YulIdentifier", - "src": "1242:3:10" - } - ] - }, - { - "nodeType": "YulVariableDeclaration", - "src": "1276:14:10", - "value": { - "kind": "number", - "nodeType": "YulLiteral", - "src": "1286:4:10", - "type": "", - "value": "0x20" - }, - "variables": [ - { - "name": "_3", - "nodeType": "YulTypedName", - "src": "1280:2:10", - "type": "" + "src": "2758:3:11" } ] }, { "nodeType": "YulVariableDeclaration", - "src": "1299:54:10", + "src": "2792:53:11", "value": { "arguments": [ { @@ -8806,107 +11555,130 @@ { "name": "headStart", "nodeType": "YulIdentifier", - "src": "1321:9:10" + "src": "2814:9:11" }, { "arguments": [ { - "name": "length", - "nodeType": "YulIdentifier", - "src": "1336:6:10" + "kind": "number", + "nodeType": "YulLiteral", + "src": "2829:1:11", + "type": "", + "value": "5" }, { - "name": "_3", + "name": "length", "nodeType": "YulIdentifier", - "src": "1344:2:10" + "src": "2832:6:11" } ], "functionName": { - "name": "mul", + "name": "shl", "nodeType": "YulIdentifier", - "src": "1332:3:10" + "src": "2825:3:11" }, "nodeType": "YulFunctionCall", - "src": "1332:15:10" + "src": "2825:14:11" } ], "functionName": { "name": "add", "nodeType": "YulIdentifier", - "src": "1317:3:10" + "src": "2810:3:11" }, "nodeType": "YulFunctionCall", - "src": "1317:31:10" + "src": "2810:30:11" }, { "name": "_2", "nodeType": "YulIdentifier", - "src": "1350:2:10" + "src": "2842:2:11" } ], "functionName": { "name": "add", "nodeType": "YulIdentifier", - "src": "1313:3:10" + "src": "2806:3:11" }, "nodeType": "YulFunctionCall", - "src": "1313:40:10" + "src": "2806:39:11" }, "variables": [ { "name": "tail_2", "nodeType": "YulTypedName", - "src": "1303:6:10", + "src": "2796:6:11", + "type": "" + } + ] + }, + { + "nodeType": "YulVariableDeclaration", + "src": "2854:14:11", + "value": { + "kind": "number", + "nodeType": "YulLiteral", + "src": "2864:4:11", + "type": "", + "value": "0x20" + }, + "variables": [ + { + "name": "_3", + "nodeType": "YulTypedName", + "src": "2858:2:11", "type": "" } ] }, { "nodeType": "YulVariableDeclaration", - "src": "1362:29:10", + "src": "2877:29:11", "value": { "arguments": [ { "name": "value0", "nodeType": "YulIdentifier", - "src": "1380:6:10" + "src": "2895:6:11" }, { "name": "_3", "nodeType": "YulIdentifier", - "src": "1388:2:10" + "src": "2903:2:11" } ], "functionName": { "name": "add", "nodeType": "YulIdentifier", - "src": "1376:3:10" + "src": "2891:3:11" }, "nodeType": "YulFunctionCall", - "src": "1376:15:10" + "src": "2891:15:11" }, "variables": [ { "name": "srcPtr", "nodeType": "YulTypedName", - "src": "1366:6:10", + "src": "2881:6:11", "type": "" } ] }, { "nodeType": "YulVariableDeclaration", - "src": "1400:13:10", + "src": "2915:10:11", "value": { - "name": "tail", - "nodeType": "YulIdentifier", - "src": "1409:4:10" + "kind": "number", + "nodeType": "YulLiteral", + "src": "2924:1:11", + "type": "", + "value": "0" }, "variables": [ { "name": "i", "nodeType": "YulTypedName", - "src": "1404:1:10", + "src": "2919:1:11", "type": "" } ] @@ -8914,7 +11686,7 @@ { "body": { "nodeType": "YulBlock", - "src": "1471:1204:10", + "src": "2983:1384:11", "statements": [ { "expression": { @@ -8922,7 +11694,7 @@ { "name": "pos", "nodeType": "YulIdentifier", - "src": "1492:3:10" + "src": "3004:3:11" }, { "arguments": [ @@ -8931,26 +11703,26 @@ { "name": "tail_2", "nodeType": "YulIdentifier", - "src": "1505:6:10" + "src": "3017:6:11" }, { "name": "headStart", "nodeType": "YulIdentifier", - "src": "1513:9:10" + "src": "3025:9:11" } ], "functionName": { "name": "sub", "nodeType": "YulIdentifier", - "src": "1501:3:10" + "src": "3013:3:11" }, "nodeType": "YulFunctionCall", - "src": "1501:22:10" + "src": "3013:22:11" }, { "kind": "number", "nodeType": "YulLiteral", - "src": "1525:66:10", + "src": "3037:66:11", "type": "", "value": "0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff80" } @@ -8958,80 +11730,80 @@ "functionName": { "name": "add", "nodeType": "YulIdentifier", - "src": "1497:3:10" + "src": "3009:3:11" }, "nodeType": "YulFunctionCall", - "src": "1497:95:10" + "src": "3009:95:11" } ], "functionName": { "name": "mstore", "nodeType": "YulIdentifier", - "src": "1485:6:10" + "src": "2997:6:11" }, "nodeType": "YulFunctionCall", - "src": "1485:108:10" + "src": "2997:108:11" }, "nodeType": "YulExpressionStatement", - "src": "1485:108:10" + "src": "2997:108:11" }, { "nodeType": "YulVariableDeclaration", - "src": "1606:23:10", + "src": "3118:23:11", "value": { "arguments": [ { "name": "srcPtr", "nodeType": "YulIdentifier", - "src": "1622:6:10" + "src": "3134:6:11" } ], "functionName": { "name": "mload", "nodeType": "YulIdentifier", - "src": "1616:5:10" + "src": "3128:5:11" }, "nodeType": "YulFunctionCall", - "src": "1616:13:10" + "src": "3128:13:11" }, "variables": [ { "name": "_4", "nodeType": "YulTypedName", - "src": "1610:2:10", + "src": "3122:2:11", "type": "" } ] }, { "nodeType": "YulVariableDeclaration", - "src": "1642:29:10", + "src": "3154:29:11", "value": { "arguments": [ { "name": "tail_2", "nodeType": "YulIdentifier", - "src": "1660:6:10" + "src": "3172:6:11" }, { "name": "_1", "nodeType": "YulIdentifier", - "src": "1668:2:10" + "src": "3180:2:11" } ], "functionName": { "name": "add", "nodeType": "YulIdentifier", - "src": "1656:3:10" + "src": "3168:3:11" }, "nodeType": "YulFunctionCall", - "src": "1656:15:10" + "src": "3168:15:11" }, "variables": [ { "name": "tail_3", "nodeType": "YulTypedName", - "src": "1646:6:10", + "src": "3158:6:11", "type": "" } ] @@ -9042,7 +11814,7 @@ { "name": "tail_2", "nodeType": "YulIdentifier", - "src": "1691:6:10" + "src": "3203:6:11" }, { "arguments": [ @@ -9051,21 +11823,21 @@ { "name": "_4", "nodeType": "YulIdentifier", - "src": "1709:2:10" + "src": "3221:2:11" } ], "functionName": { "name": "mload", "nodeType": "YulIdentifier", - "src": "1703:5:10" + "src": "3215:5:11" }, "nodeType": "YulFunctionCall", - "src": "1703:9:10" + "src": "3215:9:11" }, { "kind": "number", "nodeType": "YulLiteral", - "src": "1714:42:10", + "src": "3226:42:11", "type": "", "value": "0xffffffffffffffffffffffffffffffffffffffff" } @@ -9073,26 +11845,26 @@ "functionName": { "name": "and", "nodeType": "YulIdentifier", - "src": "1699:3:10" + "src": "3211:3:11" }, "nodeType": "YulFunctionCall", - "src": "1699:58:10" + "src": "3211:58:11" } ], "functionName": { "name": "mstore", "nodeType": "YulIdentifier", - "src": "1684:6:10" + "src": "3196:6:11" }, "nodeType": "YulFunctionCall", - "src": "1684:74:10" + "src": "3196:74:11" }, "nodeType": "YulExpressionStatement", - "src": "1684:74:10" + "src": "3196:74:11" }, { "nodeType": "YulVariableDeclaration", - "src": "1771:38:10", + "src": "3283:38:11", "value": { "arguments": [ { @@ -9100,36 +11872,36 @@ { "name": "_4", "nodeType": "YulIdentifier", - "src": "1801:2:10" + "src": "3313:2:11" }, { "name": "_3", "nodeType": "YulIdentifier", - "src": "1805:2:10" + "src": "3317:2:11" } ], "functionName": { "name": "add", "nodeType": "YulIdentifier", - "src": "1797:3:10" + "src": "3309:3:11" }, "nodeType": "YulFunctionCall", - "src": "1797:11:10" + "src": "3309:11:11" } ], "functionName": { "name": "mload", "nodeType": "YulIdentifier", - "src": "1791:5:10" + "src": "3303:5:11" }, "nodeType": "YulFunctionCall", - "src": "1791:18:10" + "src": "3303:18:11" }, "variables": [ { "name": "memberValue0", "nodeType": "YulTypedName", - "src": "1775:12:10", + "src": "3287:12:11", "type": "" } ] @@ -9137,21 +11909,94 @@ { "body": { "nodeType": "YulBlock", - "src": "1853:13:10", + "src": "3377:184:11", "statements": [ { "expression": { - "arguments": [], + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "3402:1:11", + "type": "", + "value": "0" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "3405:77:11", + "type": "", + "value": "35408467139433450592217433187231851964531694900788300625387963629091585785856" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "3395:6:11" + }, + "nodeType": "YulFunctionCall", + "src": "3395:88:11" + }, + "nodeType": "YulExpressionStatement", + "src": "3395:88:11" + }, + { + "expression": { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "3507:1:11", + "type": "", + "value": "4" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "3510:4:11", + "type": "", + "value": "0x21" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "3500:6:11" + }, + "nodeType": "YulFunctionCall", + "src": "3500:15:11" + }, + "nodeType": "YulExpressionStatement", + "src": "3500:15:11" + }, + { + "expression": { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "3539:1:11", + "type": "", + "value": "0" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "3542:4:11", + "type": "", + "value": "0x24" + } + ], "functionName": { - "name": "invalid", + "name": "revert", "nodeType": "YulIdentifier", - "src": "1855:7:10" + "src": "3532:6:11" }, "nodeType": "YulFunctionCall", - "src": "1855:9:10" + "src": "3532:15:11" }, "nodeType": "YulExpressionStatement", - "src": "1855:9:10" + "src": "3532:15:11" } ] }, @@ -9162,12 +12007,12 @@ { "name": "memberValue0", "nodeType": "YulIdentifier", - "src": "1835:12:10" + "src": "3347:12:11" }, { "kind": "number", "nodeType": "YulLiteral", - "src": "1849:1:10", + "src": "3361:1:11", "type": "", "value": "3" } @@ -9175,22 +12020,22 @@ "functionName": { "name": "lt", "nodeType": "YulIdentifier", - "src": "1832:2:10" + "src": "3344:2:11" }, "nodeType": "YulFunctionCall", - "src": "1832:19:10" + "src": "3344:19:11" } ], "functionName": { "name": "iszero", "nodeType": "YulIdentifier", - "src": "1825:6:10" + "src": "3337:6:11" }, "nodeType": "YulFunctionCall", - "src": "1825:27:10" + "src": "3337:27:11" }, "nodeType": "YulIf", - "src": "1822:2:10" + "src": "3334:227:11" }, { "expression": { @@ -9200,46 +12045,46 @@ { "name": "tail_2", "nodeType": "YulIdentifier", - "src": "1890:6:10" + "src": "3585:6:11" }, { "name": "_3", "nodeType": "YulIdentifier", - "src": "1898:2:10" + "src": "3593:2:11" } ], "functionName": { "name": "add", "nodeType": "YulIdentifier", - "src": "1886:3:10" + "src": "3581:3:11" }, "nodeType": "YulFunctionCall", - "src": "1886:15:10" + "src": "3581:15:11" }, { "name": "memberValue0", "nodeType": "YulIdentifier", - "src": "1903:12:10" + "src": "3598:12:11" } ], "functionName": { "name": "mstore", "nodeType": "YulIdentifier", - "src": "1879:6:10" + "src": "3574:6:11" }, "nodeType": "YulFunctionCall", - "src": "1879:37:10" + "src": "3574:37:11" }, "nodeType": "YulExpressionStatement", - "src": "1879:37:10" + "src": "3574:37:11" }, { "nodeType": "YulVariableDeclaration", - "src": "1929:14:10", + "src": "3624:14:11", "value": { "kind": "number", "nodeType": "YulLiteral", - "src": "1939:4:10", + "src": "3634:4:11", "type": "", "value": "0x40" }, @@ -9247,14 +12092,14 @@ { "name": "_5", "nodeType": "YulTypedName", - "src": "1933:2:10", + "src": "3628:2:11", "type": "" } ] }, { "nodeType": "YulVariableDeclaration", - "src": "1956:40:10", + "src": "3651:40:11", "value": { "arguments": [ { @@ -9262,36 +12107,36 @@ { "name": "_4", "nodeType": "YulIdentifier", - "src": "1988:2:10" + "src": "3683:2:11" }, { "name": "_5", "nodeType": "YulIdentifier", - "src": "1992:2:10" + "src": "3687:2:11" } ], "functionName": { "name": "add", "nodeType": "YulIdentifier", - "src": "1984:3:10" + "src": "3679:3:11" }, "nodeType": "YulFunctionCall", - "src": "1984:11:10" + "src": "3679:11:11" } ], "functionName": { "name": "mload", "nodeType": "YulIdentifier", - "src": "1978:5:10" + "src": "3673:5:11" }, "nodeType": "YulFunctionCall", - "src": "1978:18:10" + "src": "3673:18:11" }, "variables": [ { "name": "memberValue0_1", "nodeType": "YulTypedName", - "src": "1960:14:10", + "src": "3655:14:11", "type": "" } ] @@ -9304,80 +12149,80 @@ { "name": "tail_2", "nodeType": "YulIdentifier", - "src": "2020:6:10" + "src": "3715:6:11" }, { "name": "_5", "nodeType": "YulIdentifier", - "src": "2028:2:10" + "src": "3723:2:11" } ], "functionName": { "name": "add", "nodeType": "YulIdentifier", - "src": "2016:3:10" + "src": "3711:3:11" }, "nodeType": "YulFunctionCall", - "src": "2016:15:10" + "src": "3711:15:11" }, { "name": "_1", "nodeType": "YulIdentifier", - "src": "2033:2:10" + "src": "3728:2:11" } ], "functionName": { "name": "mstore", "nodeType": "YulIdentifier", - "src": "2009:6:10" + "src": "3704:6:11" }, "nodeType": "YulFunctionCall", - "src": "2009:27:10" + "src": "3704:27:11" }, "nodeType": "YulExpressionStatement", - "src": "2009:27:10" + "src": "3704:27:11" }, { "nodeType": "YulVariableDeclaration", - "src": "2049:19:10", + "src": "3744:19:11", "value": { "name": "tail_3", "nodeType": "YulIdentifier", - "src": "2062:6:10" + "src": "3757:6:11" }, "variables": [ { "name": "pos_1", "nodeType": "YulTypedName", - "src": "2053:5:10", + "src": "3748:5:11", "type": "" } ] }, { "nodeType": "YulVariableDeclaration", - "src": "2081:37:10", + "src": "3776:37:11", "value": { "arguments": [ { "name": "memberValue0_1", "nodeType": "YulIdentifier", - "src": "2103:14:10" + "src": "3798:14:11" } ], "functionName": { "name": "mload", "nodeType": "YulIdentifier", - "src": "2097:5:10" + "src": "3792:5:11" }, "nodeType": "YulFunctionCall", - "src": "2097:21:10" + "src": "3792:21:11" }, "variables": [ { "name": "length_1", "nodeType": "YulTypedName", - "src": "2085:8:10", + "src": "3780:8:11", "type": "" } ] @@ -9388,103 +12233,105 @@ { "name": "tail_3", "nodeType": "YulIdentifier", - "src": "2138:6:10" + "src": "3833:6:11" }, { "name": "length_1", "nodeType": "YulIdentifier", - "src": "2146:8:10" + "src": "3841:8:11" } ], "functionName": { "name": "mstore", "nodeType": "YulIdentifier", - "src": "2131:6:10" + "src": "3826:6:11" }, "nodeType": "YulFunctionCall", - "src": "2131:24:10" + "src": "3826:24:11" }, "nodeType": "YulExpressionStatement", - "src": "2131:24:10" + "src": "3826:24:11" }, { "nodeType": "YulAssignment", - "src": "2168:24:10", + "src": "3863:24:11", "value": { "arguments": [ { "name": "tail_2", "nodeType": "YulIdentifier", - "src": "2181:6:10" + "src": "3876:6:11" }, { "name": "_2", "nodeType": "YulIdentifier", - "src": "2189:2:10" + "src": "3884:2:11" } ], "functionName": { "name": "add", "nodeType": "YulIdentifier", - "src": "2177:3:10" + "src": "3872:3:11" }, "nodeType": "YulFunctionCall", - "src": "2177:15:10" + "src": "3872:15:11" }, "variableNames": [ { "name": "pos_1", "nodeType": "YulIdentifier", - "src": "2168:5:10" + "src": "3863:5:11" } ] }, { "nodeType": "YulVariableDeclaration", - "src": "2205:39:10", + "src": "3900:39:11", "value": { "arguments": [ { "name": "memberValue0_1", "nodeType": "YulIdentifier", - "src": "2225:14:10" + "src": "3920:14:11" }, { "name": "_3", "nodeType": "YulIdentifier", - "src": "2241:2:10" + "src": "3936:2:11" } ], "functionName": { "name": "add", "nodeType": "YulIdentifier", - "src": "2221:3:10" + "src": "3916:3:11" }, "nodeType": "YulFunctionCall", - "src": "2221:23:10" + "src": "3916:23:11" }, "variables": [ { "name": "srcPtr_1", "nodeType": "YulTypedName", - "src": "2209:8:10", + "src": "3904:8:11", "type": "" } ] }, { "nodeType": "YulVariableDeclaration", - "src": "2257:15:10", + "src": "3952:12:11", "value": { - "name": "tail", - "nodeType": "YulIdentifier", - "src": "2268:4:10" + "kind": "number", + "nodeType": "YulLiteral", + "src": "3963:1:11", + "type": "", + "value": "0" }, "variables": [ { "name": "i_1", "nodeType": "YulTypedName", - "src": "2261:3:10", + "src": "3956:3:11", "type": "" } ] @@ -9492,7 +12339,7 @@ { "body": { "nodeType": "YulBlock", - "src": "2346:221:10", + "src": "4038:221:11", "statements": [ { "expression": { @@ -9500,7 +12347,7 @@ { "name": "pos_1", "nodeType": "YulIdentifier", - "src": "2371:5:10" + "src": "4063:5:11" }, { "arguments": [ @@ -9509,21 +12356,21 @@ { "name": "srcPtr_1", "nodeType": "YulIdentifier", - "src": "2388:8:10" + "src": "4080:8:11" } ], "functionName": { "name": "mload", "nodeType": "YulIdentifier", - "src": "2382:5:10" + "src": "4074:5:11" }, "nodeType": "YulFunctionCall", - "src": "2382:15:10" + "src": "4074:15:11" }, { "kind": "number", "nodeType": "YulLiteral", - "src": "2399:66:10", + "src": "4091:66:11", "type": "", "value": "0xffffffff00000000000000000000000000000000000000000000000000000000" } @@ -9531,84 +12378,84 @@ "functionName": { "name": "and", "nodeType": "YulIdentifier", - "src": "2378:3:10" + "src": "4070:3:11" }, "nodeType": "YulFunctionCall", - "src": "2378:88:10" + "src": "4070:88:11" } ], "functionName": { "name": "mstore", "nodeType": "YulIdentifier", - "src": "2364:6:10" + "src": "4056:6:11" }, "nodeType": "YulFunctionCall", - "src": "2364:103:10" + "src": "4056:103:11" }, "nodeType": "YulExpressionStatement", - "src": "2364:103:10" + "src": "4056:103:11" }, { "nodeType": "YulAssignment", - "src": "2484:23:10", + "src": "4176:23:11", "value": { "arguments": [ { "name": "pos_1", "nodeType": "YulIdentifier", - "src": "2497:5:10" + "src": "4189:5:11" }, { "name": "_3", "nodeType": "YulIdentifier", - "src": "2504:2:10" + "src": "4196:2:11" } ], "functionName": { "name": "add", "nodeType": "YulIdentifier", - "src": "2493:3:10" + "src": "4185:3:11" }, "nodeType": "YulFunctionCall", - "src": "2493:14:10" + "src": "4185:14:11" }, "variableNames": [ { "name": "pos_1", "nodeType": "YulIdentifier", - "src": "2484:5:10" + "src": "4176:5:11" } ] }, { "nodeType": "YulAssignment", - "src": "2524:29:10", + "src": "4216:29:11", "value": { "arguments": [ { "name": "srcPtr_1", "nodeType": "YulIdentifier", - "src": "2540:8:10" + "src": "4232:8:11" }, { "name": "_3", "nodeType": "YulIdentifier", - "src": "2550:2:10" + "src": "4242:2:11" } ], "functionName": { "name": "add", "nodeType": "YulIdentifier", - "src": "2536:3:10" + "src": "4228:3:11" }, "nodeType": "YulFunctionCall", - "src": "2536:17:10" + "src": "4228:17:11" }, "variableNames": [ { "name": "srcPtr_1", "nodeType": "YulIdentifier", - "src": "2524:8:10" + "src": "4216:8:11" } ] } @@ -9619,41 +12466,41 @@ { "name": "i_1", "nodeType": "YulIdentifier", - "src": "2296:3:10" + "src": "3988:3:11" }, { "name": "length_1", "nodeType": "YulIdentifier", - "src": "2301:8:10" + "src": "3993:8:11" } ], "functionName": { "name": "lt", "nodeType": "YulIdentifier", - "src": "2293:2:10" + "src": "3985:2:11" }, "nodeType": "YulFunctionCall", - "src": "2293:17:10" + "src": "3985:17:11" }, "nodeType": "YulForLoop", "post": { "nodeType": "YulBlock", - "src": "2311:22:10", + "src": "4003:22:11", "statements": [ { "nodeType": "YulAssignment", - "src": "2313:18:10", + "src": "4005:18:11", "value": { "arguments": [ { "name": "i_1", "nodeType": "YulIdentifier", - "src": "2324:3:10" + "src": "4016:3:11" }, { "kind": "number", "nodeType": "YulLiteral", - "src": "2329:1:10", + "src": "4021:1:11", "type": "", "value": "1" } @@ -9661,16 +12508,16 @@ "functionName": { "name": "add", "nodeType": "YulIdentifier", - "src": "2320:3:10" + "src": "4012:3:11" }, "nodeType": "YulFunctionCall", - "src": "2320:11:10" + "src": "4012:11:11" }, "variableNames": [ { "name": "i_1", "nodeType": "YulIdentifier", - "src": "2313:3:10" + "src": "4005:3:11" } ] } @@ -9678,88 +12525,88 @@ }, "pre": { "nodeType": "YulBlock", - "src": "2289:3:10", + "src": "3981:3:11", "statements": [] }, - "src": "2285:282:10" + "src": "3977:282:11" }, { "nodeType": "YulAssignment", - "src": "2580:15:10", + "src": "4272:15:11", "value": { "name": "pos_1", "nodeType": "YulIdentifier", - "src": "2590:5:10" + "src": "4282:5:11" }, "variableNames": [ { "name": "tail_2", "nodeType": "YulIdentifier", - "src": "2580:6:10" + "src": "4272:6:11" } ] }, { "nodeType": "YulAssignment", - "src": "2608:25:10", + "src": "4300:25:11", "value": { "arguments": [ { "name": "srcPtr", "nodeType": "YulIdentifier", - "src": "2622:6:10" + "src": "4314:6:11" }, { "name": "_3", "nodeType": "YulIdentifier", - "src": "2630:2:10" + "src": "4322:2:11" } ], "functionName": { "name": "add", "nodeType": "YulIdentifier", - "src": "2618:3:10" + "src": "4310:3:11" }, "nodeType": "YulFunctionCall", - "src": "2618:15:10" + "src": "4310:15:11" }, "variableNames": [ { "name": "srcPtr", "nodeType": "YulIdentifier", - "src": "2608:6:10" + "src": "4300:6:11" } ] }, { "nodeType": "YulAssignment", - "src": "2646:19:10", + "src": "4338:19:11", "value": { "arguments": [ { "name": "pos", "nodeType": "YulIdentifier", - "src": "2657:3:10" + "src": "4349:3:11" }, { "name": "_3", "nodeType": "YulIdentifier", - "src": "2662:2:10" + "src": "4354:2:11" } ], "functionName": { "name": "add", "nodeType": "YulIdentifier", - "src": "2653:3:10" + "src": "4345:3:11" }, "nodeType": "YulFunctionCall", - "src": "2653:12:10" + "src": "4345:12:11" }, "variableNames": [ { "name": "pos", "nodeType": "YulIdentifier", - "src": "2646:3:10" + "src": "4338:3:11" } ] } @@ -9770,41 +12617,41 @@ { "name": "i", "nodeType": "YulIdentifier", - "src": "1433:1:10" + "src": "2945:1:11" }, { "name": "length", "nodeType": "YulIdentifier", - "src": "1436:6:10" + "src": "2948:6:11" } ], "functionName": { "name": "lt", "nodeType": "YulIdentifier", - "src": "1430:2:10" + "src": "2942:2:11" }, "nodeType": "YulFunctionCall", - "src": "1430:13:10" + "src": "2942:13:11" }, "nodeType": "YulForLoop", "post": { "nodeType": "YulBlock", - "src": "1444:18:10", + "src": "2956:18:11", "statements": [ { "nodeType": "YulAssignment", - "src": "1446:14:10", + "src": "2958:14:11", "value": { "arguments": [ { "name": "i", "nodeType": "YulIdentifier", - "src": "1455:1:10" + "src": "2967:1:11" }, { "kind": "number", "nodeType": "YulLiteral", - "src": "1458:1:10", + "src": "2970:1:11", "type": "", "value": "1" } @@ -9812,16 +12659,16 @@ "functionName": { "name": "add", "nodeType": "YulIdentifier", - "src": "1451:3:10" + "src": "2963:3:11" }, "nodeType": "YulFunctionCall", - "src": "1451:9:10" + "src": "2963:9:11" }, "variableNames": [ { "name": "i", "nodeType": "YulIdentifier", - "src": "1446:1:10" + "src": "2958:1:11" } ] } @@ -9829,10 +12676,10 @@ }, "pre": { "nodeType": "YulBlock", - "src": "1426:3:10", + "src": "2938:3:11", "statements": [] }, - "src": "1422:1253:10" + "src": "2934:1433:11" }, { "expression": { @@ -9840,40 +12687,40 @@ { "name": "value1", "nodeType": "YulIdentifier", - "src": "2705:6:10" + "src": "4395:6:11" }, { "arguments": [ { "name": "headStart", "nodeType": "YulIdentifier", - "src": "2717:9:10" + "src": "4407:9:11" }, { "name": "_3", "nodeType": "YulIdentifier", - "src": "2728:2:10" + "src": "4418:2:11" } ], "functionName": { "name": "add", "nodeType": "YulIdentifier", - "src": "2713:3:10" + "src": "4403:3:11" }, "nodeType": "YulFunctionCall", - "src": "2713:18:10" + "src": "4403:18:11" } ], "functionName": { - "name": "abi_encode_t_address", + "name": "abi_encode_address", "nodeType": "YulIdentifier", - "src": "2684:20:10" + "src": "4376:18:11" }, "nodeType": "YulFunctionCall", - "src": "2684:48:10" + "src": "4376:46:11" }, "nodeType": "YulExpressionStatement", - "src": "2684:48:10" + "src": "4376:46:11" }, { "expression": { @@ -9883,12 +12730,12 @@ { "name": "headStart", "nodeType": "YulIdentifier", - "src": "2752:9:10" + "src": "4442:9:11" }, { "kind": "number", "nodeType": "YulLiteral", - "src": "2763:4:10", + "src": "4453:4:11", "type": "", "value": "0x40" } @@ -9896,213 +12743,103 @@ "functionName": { "name": "add", "nodeType": "YulIdentifier", - "src": "2748:3:10" + "src": "4438:3:11" }, "nodeType": "YulFunctionCall", - "src": "2748:20:10" + "src": "4438:20:11" }, { "arguments": [ { "name": "tail_2", "nodeType": "YulIdentifier", - "src": "2774:6:10" + "src": "4464:6:11" }, { "name": "headStart", "nodeType": "YulIdentifier", - "src": "2782:9:10" + "src": "4472:9:11" } ], "functionName": { "name": "sub", "nodeType": "YulIdentifier", - "src": "2770:3:10" + "src": "4460:3:11" }, "nodeType": "YulFunctionCall", - "src": "2770:22:10" + "src": "4460:22:11" } ], "functionName": { "name": "mstore", "nodeType": "YulIdentifier", - "src": "2741:6:10" + "src": "4431:6:11" }, "nodeType": "YulFunctionCall", - "src": "2741:52:10" + "src": "4431:52:11" }, "nodeType": "YulExpressionStatement", - "src": "2741:52:10" + "src": "4431:52:11" }, { "nodeType": "YulAssignment", - "src": "2802:42:10", + "src": "4492:40:11", "value": { "arguments": [ { "name": "value2", "nodeType": "YulIdentifier", - "src": "2829:6:10" + "src": "4517:6:11" }, { "name": "tail_2", "nodeType": "YulIdentifier", - "src": "2837:6:10" + "src": "4525:6:11" } ], "functionName": { - "name": "abi_encode_t_bytes", + "name": "abi_encode_bytes", "nodeType": "YulIdentifier", - "src": "2810:18:10" + "src": "4500:16:11" }, "nodeType": "YulFunctionCall", - "src": "2810:34:10" + "src": "4500:32:11" }, "variableNames": [ { "name": "tail", "nodeType": "YulIdentifier", - "src": "2802:4:10" + "src": "4492:4:11" } ] } ] }, - "name": "abi_encode_tuple_t_array$_t_struct$_FacetCut_$679_memory_ptr_$dyn_memory_ptr_t_address_t_bytes_memory_ptr__to_t_array$_t_struct$_FacetCut_$679_memory_ptr_$dyn_memory_ptr_t_address_t_bytes_memory_ptr__fromStack_reversed", + "name": "abi_encode_tuple_t_array$_t_struct$_FacetCut_$711_memory_ptr_$dyn_memory_ptr_t_address_t_bytes_memory_ptr__to_t_array$_t_struct$_FacetCut_$711_memory_ptr_$dyn_memory_ptr_t_address_t_bytes_memory_ptr__fromStack_reversed", "nodeType": "YulFunctionDefinition", "parameters": [ { "name": "headStart", "nodeType": "YulTypedName", - "src": "978:9:10", + "src": "2494:9:11", "type": "" }, { "name": "value2", "nodeType": "YulTypedName", - "src": "989:6:10", + "src": "2505:6:11", "type": "" }, { "name": "value1", "nodeType": "YulTypedName", - "src": "997:6:10", - "type": "" - }, - { - "name": "value0", - "nodeType": "YulTypedName", - "src": "1005:6:10", - "type": "" - } - ], - "returnVariables": [ - { - "name": "tail", - "nodeType": "YulTypedName", - "src": "1016:4:10", - "type": "" - } - ], - "src": "750:2100:10" - }, - { - "body": { - "nodeType": "YulBlock", - "src": "2976:100:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "name": "headStart", - "nodeType": "YulIdentifier", - "src": "2993:9:10" - }, - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "3004:2:10", - "type": "", - "value": "32" - } - ], - "functionName": { - "name": "mstore", - "nodeType": "YulIdentifier", - "src": "2986:6:10" - }, - "nodeType": "YulFunctionCall", - "src": "2986:21:10" - }, - "nodeType": "YulExpressionStatement", - "src": "2986:21:10" - }, - { - "nodeType": "YulAssignment", - "src": "3016:54:10", - "value": { - "arguments": [ - { - "name": "value0", - "nodeType": "YulIdentifier", - "src": "3043:6:10" - }, - { - "arguments": [ - { - "name": "headStart", - "nodeType": "YulIdentifier", - "src": "3055:9:10" - }, - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "3066:2:10", - "type": "", - "value": "32" - } - ], - "functionName": { - "name": "add", - "nodeType": "YulIdentifier", - "src": "3051:3:10" - }, - "nodeType": "YulFunctionCall", - "src": "3051:18:10" - } - ], - "functionName": { - "name": "abi_encode_t_bytes", - "nodeType": "YulIdentifier", - "src": "3024:18:10" - }, - "nodeType": "YulFunctionCall", - "src": "3024:46:10" - }, - "variableNames": [ - { - "name": "tail", - "nodeType": "YulIdentifier", - "src": "3016:4:10" - } - ] - } - ] - }, - "name": "abi_encode_tuple_t_string_memory_ptr__to_t_string_memory_ptr__fromStack_reversed", - "nodeType": "YulFunctionDefinition", - "parameters": [ - { - "name": "headStart", - "nodeType": "YulTypedName", - "src": "2945:9:10", + "src": "2513:6:11", "type": "" }, { "name": "value0", "nodeType": "YulTypedName", - "src": "2956:6:10", + "src": "2521:6:11", "type": "" } ], @@ -10110,16 +12847,16 @@ { "name": "tail", "nodeType": "YulTypedName", - "src": "2967:4:10", + "src": "2532:4:11", "type": "" } ], - "src": "2855:221:10" + "src": "2266:2272:11" }, { "body": { "nodeType": "YulBlock", - "src": "3255:250:10", + "src": "4717:233:11", "statements": [ { "expression": { @@ -10127,12 +12864,12 @@ { "name": "headStart", "nodeType": "YulIdentifier", - "src": "3272:9:10" + "src": "4734:9:11" }, { "kind": "number", "nodeType": "YulLiteral", - "src": "3283:2:10", + "src": "4745:2:11", "type": "", "value": "32" } @@ -10140,13 +12877,13 @@ "functionName": { "name": "mstore", "nodeType": "YulIdentifier", - "src": "3265:6:10" + "src": "4727:6:11" }, "nodeType": "YulFunctionCall", - "src": "3265:21:10" + "src": "4727:21:11" }, "nodeType": "YulExpressionStatement", - "src": "3265:21:10" + "src": "4727:21:11" }, { "expression": { @@ -10156,12 +12893,12 @@ { "name": "headStart", "nodeType": "YulIdentifier", - "src": "3306:9:10" + "src": "4768:9:11" }, { "kind": "number", "nodeType": "YulLiteral", - "src": "3317:2:10", + "src": "4779:2:11", "type": "", "value": "32" } @@ -10169,29 +12906,29 @@ "functionName": { "name": "add", "nodeType": "YulIdentifier", - "src": "3302:3:10" + "src": "4764:3:11" }, "nodeType": "YulFunctionCall", - "src": "3302:18:10" + "src": "4764:18:11" }, { "kind": "number", "nodeType": "YulLiteral", - "src": "3322:2:10", + "src": "4784:2:11", "type": "", - "value": "60" + "value": "43" } ], "functionName": { "name": "mstore", "nodeType": "YulIdentifier", - "src": "3295:6:10" + "src": "4757:6:11" }, "nodeType": "YulFunctionCall", - "src": "3295:30:10" + "src": "4757:30:11" }, "nodeType": "YulExpressionStatement", - "src": "3295:30:10" + "src": "4757:30:11" }, { "expression": { @@ -10201,12 +12938,12 @@ { "name": "headStart", "nodeType": "YulIdentifier", - "src": "3345:9:10" + "src": "4807:9:11" }, { "kind": "number", "nodeType": "YulLiteral", - "src": "3356:2:10", + "src": "4818:2:11", "type": "", "value": "64" } @@ -10214,29 +12951,30 @@ "functionName": { "name": "add", "nodeType": "YulIdentifier", - "src": "3341:3:10" + "src": "4803:3:11" }, "nodeType": "YulFunctionCall", - "src": "3341:18:10" + "src": "4803:18:11" }, { + "hexValue": "4c69624469616d6f6e644375743a204e6f2073656c6563746f727320696e2066", "kind": "string", "nodeType": "YulLiteral", - "src": "3361:34:10", + "src": "4823:34:11", "type": "", - "value": "LibDiamondCut: _init is address(" + "value": "LibDiamondCut: No selectors in f" } ], "functionName": { "name": "mstore", "nodeType": "YulIdentifier", - "src": "3334:6:10" + "src": "4796:6:11" }, "nodeType": "YulFunctionCall", - "src": "3334:62:10" + "src": "4796:62:11" }, "nodeType": "YulExpressionStatement", - "src": "3334:62:10" + "src": "4796:62:11" }, { "expression": { @@ -10246,12 +12984,12 @@ { "name": "headStart", "nodeType": "YulIdentifier", - "src": "3416:9:10" + "src": "4878:9:11" }, { "kind": "number", "nodeType": "YulLiteral", - "src": "3427:2:10", + "src": "4889:2:11", "type": "", "value": "96" } @@ -10259,44 +12997,45 @@ "functionName": { "name": "add", "nodeType": "YulIdentifier", - "src": "3412:3:10" + "src": "4874:3:11" }, "nodeType": "YulFunctionCall", - "src": "3412:18:10" + "src": "4874:18:11" }, { + "hexValue": "6163657420746f20637574", "kind": "string", "nodeType": "YulLiteral", - "src": "3432:30:10", + "src": "4894:13:11", "type": "", - "value": "0) but_calldata is not empty" + "value": "acet to cut" } ], "functionName": { "name": "mstore", "nodeType": "YulIdentifier", - "src": "3405:6:10" + "src": "4867:6:11" }, "nodeType": "YulFunctionCall", - "src": "3405:58:10" + "src": "4867:41:11" }, "nodeType": "YulExpressionStatement", - "src": "3405:58:10" + "src": "4867:41:11" }, { "nodeType": "YulAssignment", - "src": "3472:27:10", + "src": "4917:27:11", "value": { "arguments": [ { "name": "headStart", "nodeType": "YulIdentifier", - "src": "3484:9:10" + "src": "4929:9:11" }, { "kind": "number", "nodeType": "YulLiteral", - "src": "3495:3:10", + "src": "4940:3:11", "type": "", "value": "128" } @@ -10304,28 +13043,28 @@ "functionName": { "name": "add", "nodeType": "YulIdentifier", - "src": "3480:3:10" + "src": "4925:3:11" }, "nodeType": "YulFunctionCall", - "src": "3480:19:10" + "src": "4925:19:11" }, "variableNames": [ { "name": "tail", "nodeType": "YulIdentifier", - "src": "3472:4:10" + "src": "4917:4:11" } ] } ] }, - "name": "abi_encode_tuple_t_stringliteral_046c761a688d1dc3c500562bc5aaa3544f01f394f9bb3b69aa2a950a45afb1f8__to_t_string_memory_ptr__fromStack_reversed", + "name": "abi_encode_tuple_t_stringliteral_1ffc682bcfedefd5e93ba9ed0c2d1bc0b18319886e3b4bd28a03a3d3729f85c0__to_t_string_memory_ptr__fromStack_reversed", "nodeType": "YulFunctionDefinition", "parameters": [ { "name": "headStart", "nodeType": "YulTypedName", - "src": "3232:9:10", + "src": "4694:9:11", "type": "" } ], @@ -10333,16 +13072,16 @@ { "name": "tail", "nodeType": "YulTypedName", - "src": "3246:4:10", + "src": "4708:4:11", "type": "" } ], - "src": "3081:424:10" + "src": "4543:407:11" }, { "body": { "nodeType": "YulBlock", - "src": "3684:228:10", + "src": "5129:234:11", "statements": [ { "expression": { @@ -10350,12 +13089,12 @@ { "name": "headStart", "nodeType": "YulIdentifier", - "src": "3701:9:10" + "src": "5146:9:11" }, { "kind": "number", "nodeType": "YulLiteral", - "src": "3712:2:10", + "src": "5157:2:11", "type": "", "value": "32" } @@ -10363,13 +13102,13 @@ "functionName": { "name": "mstore", "nodeType": "YulIdentifier", - "src": "3694:6:10" + "src": "5139:6:11" }, "nodeType": "YulFunctionCall", - "src": "3694:21:10" + "src": "5139:21:11" }, "nodeType": "YulExpressionStatement", - "src": "3694:21:10" + "src": "5139:21:11" }, { "expression": { @@ -10379,12 +13118,12 @@ { "name": "headStart", "nodeType": "YulIdentifier", - "src": "3735:9:10" + "src": "5180:9:11" }, { "kind": "number", "nodeType": "YulLiteral", - "src": "3746:2:10", + "src": "5191:2:11", "type": "", "value": "32" } @@ -10392,29 +13131,29 @@ "functionName": { "name": "add", "nodeType": "YulIdentifier", - "src": "3731:3:10" + "src": "5176:3:11" }, "nodeType": "YulFunctionCall", - "src": "3731:18:10" + "src": "5176:18:11" }, { "kind": "number", "nodeType": "YulLiteral", - "src": "3751:2:10", + "src": "5196:2:11", "type": "", - "value": "38" + "value": "44" } ], "functionName": { "name": "mstore", "nodeType": "YulIdentifier", - "src": "3724:6:10" + "src": "5169:6:11" }, "nodeType": "YulFunctionCall", - "src": "3724:30:10" + "src": "5169:30:11" }, "nodeType": "YulExpressionStatement", - "src": "3724:30:10" + "src": "5169:30:11" }, { "expression": { @@ -10424,12 +13163,12 @@ { "name": "headStart", "nodeType": "YulIdentifier", - "src": "3774:9:10" + "src": "5219:9:11" }, { "kind": "number", "nodeType": "YulLiteral", - "src": "3785:2:10", + "src": "5230:2:11", "type": "", "value": "64" } @@ -10437,29 +13176,30 @@ "functionName": { "name": "add", "nodeType": "YulIdentifier", - "src": "3770:3:10" + "src": "5215:3:11" }, "nodeType": "YulFunctionCall", - "src": "3770:18:10" + "src": "5215:18:11" }, { + "hexValue": "4c69624469616d6f6e644375743a204164642066616365742063616e27742062", "kind": "string", "nodeType": "YulLiteral", - "src": "3790:34:10", + "src": "5235:34:11", "type": "", - "value": "LibDiamondCut: _init function re" + "value": "LibDiamondCut: Add facet can't b" } ], "functionName": { "name": "mstore", "nodeType": "YulIdentifier", - "src": "3763:6:10" + "src": "5208:6:11" }, "nodeType": "YulFunctionCall", - "src": "3763:62:10" + "src": "5208:62:11" }, "nodeType": "YulExpressionStatement", - "src": "3763:62:10" + "src": "5208:62:11" }, { "expression": { @@ -10469,12 +13209,12 @@ { "name": "headStart", "nodeType": "YulIdentifier", - "src": "3845:9:10" + "src": "5290:9:11" }, { "kind": "number", "nodeType": "YulLiteral", - "src": "3856:2:10", + "src": "5301:2:11", "type": "", "value": "96" } @@ -10482,44 +13222,45 @@ "functionName": { "name": "add", "nodeType": "YulIdentifier", - "src": "3841:3:10" + "src": "5286:3:11" }, "nodeType": "YulFunctionCall", - "src": "3841:18:10" + "src": "5286:18:11" }, { + "hexValue": "652061646472657373283029", "kind": "string", "nodeType": "YulLiteral", - "src": "3861:8:10", + "src": "5306:14:11", "type": "", - "value": "verted" + "value": "e address(0)" } ], "functionName": { "name": "mstore", "nodeType": "YulIdentifier", - "src": "3834:6:10" + "src": "5279:6:11" }, "nodeType": "YulFunctionCall", - "src": "3834:36:10" + "src": "5279:42:11" }, "nodeType": "YulExpressionStatement", - "src": "3834:36:10" + "src": "5279:42:11" }, { "nodeType": "YulAssignment", - "src": "3879:27:10", + "src": "5330:27:11", "value": { "arguments": [ { "name": "headStart", "nodeType": "YulIdentifier", - "src": "3891:9:10" + "src": "5342:9:11" }, { "kind": "number", "nodeType": "YulLiteral", - "src": "3902:3:10", + "src": "5353:3:11", "type": "", "value": "128" } @@ -10527,28 +13268,28 @@ "functionName": { "name": "add", "nodeType": "YulIdentifier", - "src": "3887:3:10" + "src": "5338:3:11" }, "nodeType": "YulFunctionCall", - "src": "3887:19:10" + "src": "5338:19:11" }, "variableNames": [ { "name": "tail", "nodeType": "YulIdentifier", - "src": "3879:4:10" + "src": "5330:4:11" } ] } ] }, - "name": "abi_encode_tuple_t_stringliteral_080b2fe78815767d522290509c8fce2af708c8a54455ca1b0cc978c92822465d__to_t_string_memory_ptr__fromStack_reversed", + "name": "abi_encode_tuple_t_stringliteral_64609d8b93c93a06b98d7db7a87b04044cd4a52c5661d603bb9b90ad8b914a3a__to_t_string_memory_ptr__fromStack_reversed", "nodeType": "YulFunctionDefinition", "parameters": [ { "name": "headStart", "nodeType": "YulTypedName", - "src": "3661:9:10", + "src": "5106:9:11", "type": "" } ], @@ -10556,16 +13297,16 @@ { "name": "tail", "nodeType": "YulTypedName", - "src": "3675:4:10", + "src": "5120:4:11", "type": "" } ], - "src": "3510:402:10" + "src": "4955:408:11" }, { "body": { "nodeType": "YulBlock", - "src": "4091:233:10", + "src": "5542:243:11", "statements": [ { "expression": { @@ -10573,12 +13314,12 @@ { "name": "headStart", "nodeType": "YulIdentifier", - "src": "4108:9:10" + "src": "5559:9:11" }, { "kind": "number", "nodeType": "YulLiteral", - "src": "4119:2:10", + "src": "5570:2:11", "type": "", "value": "32" } @@ -10586,13 +13327,13 @@ "functionName": { "name": "mstore", "nodeType": "YulIdentifier", - "src": "4101:6:10" + "src": "5552:6:11" }, "nodeType": "YulFunctionCall", - "src": "4101:21:10" + "src": "5552:21:11" }, "nodeType": "YulExpressionStatement", - "src": "4101:21:10" + "src": "5552:21:11" }, { "expression": { @@ -10602,12 +13343,12 @@ { "name": "headStart", "nodeType": "YulIdentifier", - "src": "4142:9:10" + "src": "5593:9:11" }, { "kind": "number", "nodeType": "YulLiteral", - "src": "4153:2:10", + "src": "5604:2:11", "type": "", "value": "32" } @@ -10615,29 +13356,29 @@ "functionName": { "name": "add", "nodeType": "YulIdentifier", - "src": "4138:3:10" + "src": "5589:3:11" }, "nodeType": "YulFunctionCall", - "src": "4138:18:10" + "src": "5589:18:11" }, { "kind": "number", "nodeType": "YulLiteral", - "src": "4158:2:10", + "src": "5609:2:11", "type": "", - "value": "43" + "value": "53" } ], "functionName": { "name": "mstore", "nodeType": "YulIdentifier", - "src": "4131:6:10" + "src": "5582:6:11" }, "nodeType": "YulFunctionCall", - "src": "4131:30:10" + "src": "5582:30:11" }, "nodeType": "YulExpressionStatement", - "src": "4131:30:10" + "src": "5582:30:11" }, { "expression": { @@ -10647,12 +13388,12 @@ { "name": "headStart", "nodeType": "YulIdentifier", - "src": "4181:9:10" + "src": "5632:9:11" }, { "kind": "number", "nodeType": "YulLiteral", - "src": "4192:2:10", + "src": "5643:2:11", "type": "", "value": "64" } @@ -10660,29 +13401,30 @@ "functionName": { "name": "add", "nodeType": "YulIdentifier", - "src": "4177:3:10" + "src": "5628:3:11" }, "nodeType": "YulFunctionCall", - "src": "4177:18:10" + "src": "5628:18:11" }, { + "hexValue": "4c69624469616d6f6e644375743a2043616e2774206164642066756e6374696f", "kind": "string", "nodeType": "YulLiteral", - "src": "4197:34:10", + "src": "5648:34:11", "type": "", - "value": "LibDiamondCut: No selectors in f" + "value": "LibDiamondCut: Can't add functio" } ], "functionName": { "name": "mstore", "nodeType": "YulIdentifier", - "src": "4170:6:10" + "src": "5621:6:11" }, "nodeType": "YulFunctionCall", - "src": "4170:62:10" + "src": "5621:62:11" }, "nodeType": "YulExpressionStatement", - "src": "4170:62:10" + "src": "5621:62:11" }, { "expression": { @@ -10692,12 +13434,12 @@ { "name": "headStart", "nodeType": "YulIdentifier", - "src": "4252:9:10" + "src": "5703:9:11" }, { "kind": "number", "nodeType": "YulLiteral", - "src": "4263:2:10", + "src": "5714:2:11", "type": "", "value": "96" } @@ -10705,44 +13447,45 @@ "functionName": { "name": "add", "nodeType": "YulIdentifier", - "src": "4248:3:10" + "src": "5699:3:11" }, "nodeType": "YulFunctionCall", - "src": "4248:18:10" + "src": "5699:18:11" }, { + "hexValue": "6e207468617420616c726561647920657869737473", "kind": "string", "nodeType": "YulLiteral", - "src": "4268:13:10", + "src": "5719:23:11", "type": "", - "value": "acet to cut" + "value": "n that already exists" } ], "functionName": { "name": "mstore", "nodeType": "YulIdentifier", - "src": "4241:6:10" + "src": "5692:6:11" }, "nodeType": "YulFunctionCall", - "src": "4241:41:10" + "src": "5692:51:11" }, "nodeType": "YulExpressionStatement", - "src": "4241:41:10" + "src": "5692:51:11" }, { "nodeType": "YulAssignment", - "src": "4291:27:10", + "src": "5752:27:11", "value": { "arguments": [ { "name": "headStart", "nodeType": "YulIdentifier", - "src": "4303:9:10" + "src": "5764:9:11" }, { "kind": "number", "nodeType": "YulLiteral", - "src": "4314:3:10", + "src": "5775:3:11", "type": "", "value": "128" } @@ -10750,28 +13493,28 @@ "functionName": { "name": "add", "nodeType": "YulIdentifier", - "src": "4299:3:10" + "src": "5760:3:11" }, "nodeType": "YulFunctionCall", - "src": "4299:19:10" + "src": "5760:19:11" }, "variableNames": [ { "name": "tail", "nodeType": "YulIdentifier", - "src": "4291:4:10" + "src": "5752:4:11" } ] } ] }, - "name": "abi_encode_tuple_t_stringliteral_1ffc682bcfedefd5e93ba9ed0c2d1bc0b18319886e3b4bd28a03a3d3729f85c0__to_t_string_memory_ptr__fromStack_reversed", + "name": "abi_encode_tuple_t_stringliteral_99a7418ee014d613f46da44561258cdbb58064508097483a319062b99fa37700__to_t_string_memory_ptr__fromStack_reversed", "nodeType": "YulFunctionDefinition", "parameters": [ { "name": "headStart", "nodeType": "YulTypedName", - "src": "4068:9:10", + "src": "5519:9:11", "type": "" } ], @@ -10779,239 +13522,174 @@ { "name": "tail", "nodeType": "YulTypedName", - "src": "4082:4:10", + "src": "5533:4:11", "type": "" } ], - "src": "3917:407:10" + "src": "5368:417:11" }, { "body": { "nodeType": "YulBlock", - "src": "4503:245:10", + "src": "5836:171:11", "statements": [ { - "expression": { - "arguments": [ - { - "name": "headStart", - "nodeType": "YulIdentifier", - "src": "4520:9:10" - }, - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "4531:2:10", - "type": "", - "value": "32" - } - ], - "functionName": { - "name": "mstore", - "nodeType": "YulIdentifier", - "src": "4513:6:10" - }, - "nodeType": "YulFunctionCall", - "src": "4513:21:10" - }, - "nodeType": "YulExpressionStatement", - "src": "4513:21:10" - }, - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "name": "headStart", - "nodeType": "YulIdentifier", - "src": "4554:9:10" - }, - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "4565:2:10", - "type": "", - "value": "32" - } - ], - "functionName": { - "name": "add", - "nodeType": "YulIdentifier", - "src": "4550:3:10" - }, - "nodeType": "YulFunctionCall", - "src": "4550:18:10" - }, - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "4570:2:10", - "type": "", - "value": "55" - } - ], - "functionName": { - "name": "mstore", - "nodeType": "YulIdentifier", - "src": "4543:6:10" - }, - "nodeType": "YulFunctionCall", - "src": "4543:30:10" + "nodeType": "YulVariableDeclaration", + "src": "5846:36:11", + "value": { + "kind": "number", + "nodeType": "YulLiteral", + "src": "5856:26:11", + "type": "", + "value": "0xffffffffffffffffffffffff" }, - "nodeType": "YulExpressionStatement", - "src": "4543:30:10" + "variables": [ + { + "name": "_1", + "nodeType": "YulTypedName", + "src": "5850:2:11", + "type": "" + } + ] }, { - "expression": { + "nodeType": "YulVariableDeclaration", + "src": "5891:29:11", + "value": { "arguments": [ { - "arguments": [ - { - "name": "headStart", - "nodeType": "YulIdentifier", - "src": "4593:9:10" - }, - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "4604:2:10", - "type": "", - "value": "64" - } - ], - "functionName": { - "name": "add", - "nodeType": "YulIdentifier", - "src": "4589:3:10" - }, - "nodeType": "YulFunctionCall", - "src": "4589:18:10" + "name": "value", + "nodeType": "YulIdentifier", + "src": "5910:5:11" }, { - "kind": "string", - "nodeType": "YulLiteral", - "src": "4609:34:10", - "type": "", - "value": "LibDiamondCut: Can't remove func" + "name": "_1", + "nodeType": "YulIdentifier", + "src": "5917:2:11" } ], "functionName": { - "name": "mstore", + "name": "and", "nodeType": "YulIdentifier", - "src": "4582:6:10" + "src": "5906:3:11" }, "nodeType": "YulFunctionCall", - "src": "4582:62:10" + "src": "5906:14:11" }, - "nodeType": "YulExpressionStatement", - "src": "4582:62:10" + "variables": [ + { + "name": "value_1", + "nodeType": "YulTypedName", + "src": "5895:7:11", + "type": "" + } + ] }, { - "expression": { - "arguments": [ + "body": { + "nodeType": "YulBlock", + "src": "5948:22:11", + "statements": [ { - "arguments": [ - { - "name": "headStart", - "nodeType": "YulIdentifier", - "src": "4664:9:10" - }, - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "4675:2:10", - "type": "", - "value": "96" - } - ], - "functionName": { - "name": "add", - "nodeType": "YulIdentifier", - "src": "4660:3:10" + "expression": { + "arguments": [], + "functionName": { + "name": "panic_error_0x11", + "nodeType": "YulIdentifier", + "src": "5950:16:11" + }, + "nodeType": "YulFunctionCall", + "src": "5950:18:11" }, - "nodeType": "YulFunctionCall", - "src": "4660:18:10" + "nodeType": "YulExpressionStatement", + "src": "5950:18:11" + } + ] + }, + "condition": { + "arguments": [ + { + "name": "value_1", + "nodeType": "YulIdentifier", + "src": "5935:7:11" }, { - "kind": "string", - "nodeType": "YulLiteral", - "src": "4680:25:10", - "type": "", - "value": "tion that doesn't exist" + "name": "_1", + "nodeType": "YulIdentifier", + "src": "5944:2:11" } ], "functionName": { - "name": "mstore", + "name": "eq", "nodeType": "YulIdentifier", - "src": "4653:6:10" + "src": "5932:2:11" }, "nodeType": "YulFunctionCall", - "src": "4653:53:10" + "src": "5932:15:11" }, - "nodeType": "YulExpressionStatement", - "src": "4653:53:10" + "nodeType": "YulIf", + "src": "5929:41:11" }, { "nodeType": "YulAssignment", - "src": "4715:27:10", + "src": "5979:22:11", "value": { "arguments": [ { - "name": "headStart", + "name": "value_1", "nodeType": "YulIdentifier", - "src": "4727:9:10" + "src": "5990:7:11" }, { "kind": "number", "nodeType": "YulLiteral", - "src": "4738:3:10", + "src": "5999:1:11", "type": "", - "value": "128" + "value": "1" } ], "functionName": { "name": "add", "nodeType": "YulIdentifier", - "src": "4723:3:10" + "src": "5986:3:11" }, "nodeType": "YulFunctionCall", - "src": "4723:19:10" + "src": "5986:15:11" }, "variableNames": [ { - "name": "tail", + "name": "ret", "nodeType": "YulIdentifier", - "src": "4715:4:10" + "src": "5979:3:11" } ] } ] }, - "name": "abi_encode_tuple_t_stringliteral_2c590e498c4d56c984a7092fd5e89a68b9f4541ce9f97252fb74e44a00ffbb71__to_t_string_memory_ptr__fromStack_reversed", + "name": "increment_t_uint96", "nodeType": "YulFunctionDefinition", "parameters": [ { - "name": "headStart", + "name": "value", "nodeType": "YulTypedName", - "src": "4480:9:10", + "src": "5818:5:11", "type": "" } ], "returnVariables": [ { - "name": "tail", + "name": "ret", "nodeType": "YulTypedName", - "src": "4494:4:10", + "src": "5828:3:11", "type": "" } ], - "src": "4329:419:10" + "src": "5790:217:11" }, { "body": { "nodeType": "YulBlock", - "src": "4927:229:10", + "src": "6186:246:11", "statements": [ { "expression": { @@ -11019,12 +13697,12 @@ { "name": "headStart", "nodeType": "YulIdentifier", - "src": "4944:9:10" + "src": "6203:9:11" }, { "kind": "number", "nodeType": "YulLiteral", - "src": "4955:2:10", + "src": "6214:2:11", "type": "", "value": "32" } @@ -11032,13 +13710,13 @@ "functionName": { "name": "mstore", "nodeType": "YulIdentifier", - "src": "4937:6:10" + "src": "6196:6:11" }, "nodeType": "YulFunctionCall", - "src": "4937:21:10" + "src": "6196:21:11" }, "nodeType": "YulExpressionStatement", - "src": "4937:21:10" + "src": "6196:21:11" }, { "expression": { @@ -11048,12 +13726,12 @@ { "name": "headStart", "nodeType": "YulIdentifier", - "src": "4978:9:10" + "src": "6237:9:11" }, { "kind": "number", "nodeType": "YulLiteral", - "src": "4989:2:10", + "src": "6248:2:11", "type": "", "value": "32" } @@ -11061,29 +13739,29 @@ "functionName": { "name": "add", "nodeType": "YulIdentifier", - "src": "4974:3:10" + "src": "6233:3:11" }, "nodeType": "YulFunctionCall", - "src": "4974:18:10" + "src": "6233:18:11" }, { "kind": "number", "nodeType": "YulLiteral", - "src": "4994:2:10", + "src": "6253:2:11", "type": "", - "value": "39" + "value": "56" } ], "functionName": { "name": "mstore", "nodeType": "YulIdentifier", - "src": "4967:6:10" + "src": "6226:6:11" }, "nodeType": "YulFunctionCall", - "src": "4967:30:10" + "src": "6226:30:11" }, "nodeType": "YulExpressionStatement", - "src": "4967:30:10" + "src": "6226:30:11" }, { "expression": { @@ -11093,12 +13771,12 @@ { "name": "headStart", "nodeType": "YulIdentifier", - "src": "5017:9:10" + "src": "6276:9:11" }, { "kind": "number", "nodeType": "YulLiteral", - "src": "5028:2:10", + "src": "6287:2:11", "type": "", "value": "64" } @@ -11106,29 +13784,30 @@ "functionName": { "name": "add", "nodeType": "YulIdentifier", - "src": "5013:3:10" + "src": "6272:3:11" }, "nodeType": "YulFunctionCall", - "src": "5013:18:10" + "src": "6272:18:11" }, { + "hexValue": "4c69624469616d6f6e644375743a2043616e2774207265706c6163652066756e", "kind": "string", "nodeType": "YulLiteral", - "src": "5033:34:10", + "src": "6292:34:11", "type": "", - "value": "LibDiamondCut: Incorrect FacetCu" + "value": "LibDiamondCut: Can't replace fun" } ], "functionName": { "name": "mstore", "nodeType": "YulIdentifier", - "src": "5006:6:10" + "src": "6265:6:11" }, "nodeType": "YulFunctionCall", - "src": "5006:62:10" + "src": "6265:62:11" }, "nodeType": "YulExpressionStatement", - "src": "5006:62:10" + "src": "6265:62:11" }, { "expression": { @@ -11138,12 +13817,12 @@ { "name": "headStart", "nodeType": "YulIdentifier", - "src": "5088:9:10" + "src": "6347:9:11" }, { "kind": "number", "nodeType": "YulLiteral", - "src": "5099:2:10", + "src": "6358:2:11", "type": "", "value": "96" } @@ -11151,44 +13830,45 @@ "functionName": { "name": "add", "nodeType": "YulIdentifier", - "src": "5084:3:10" + "src": "6343:3:11" }, "nodeType": "YulFunctionCall", - "src": "5084:18:10" + "src": "6343:18:11" }, { + "hexValue": "6374696f6e20776974682073616d652066756e6374696f6e", "kind": "string", "nodeType": "YulLiteral", - "src": "5104:9:10", + "src": "6363:26:11", "type": "", - "value": "tAction" + "value": "ction with same function" } ], "functionName": { "name": "mstore", "nodeType": "YulIdentifier", - "src": "5077:6:10" + "src": "6336:6:11" }, "nodeType": "YulFunctionCall", - "src": "5077:37:10" + "src": "6336:54:11" }, "nodeType": "YulExpressionStatement", - "src": "5077:37:10" + "src": "6336:54:11" }, { "nodeType": "YulAssignment", - "src": "5123:27:10", + "src": "6399:27:11", "value": { "arguments": [ { "name": "headStart", "nodeType": "YulIdentifier", - "src": "5135:9:10" + "src": "6411:9:11" }, { "kind": "number", "nodeType": "YulLiteral", - "src": "5146:3:10", + "src": "6422:3:11", "type": "", "value": "128" } @@ -11196,28 +13876,28 @@ "functionName": { "name": "add", "nodeType": "YulIdentifier", - "src": "5131:3:10" + "src": "6407:3:11" }, "nodeType": "YulFunctionCall", - "src": "5131:19:10" + "src": "6407:19:11" }, "variableNames": [ { "name": "tail", "nodeType": "YulIdentifier", - "src": "5123:4:10" + "src": "6399:4:11" } ] } ] }, - "name": "abi_encode_tuple_t_stringliteral_48267d8daf5ea9c6bbad1fe9c53dc4c04a2a01b2b85bad432956cf42f45b2f54__to_t_string_memory_ptr__fromStack_reversed", + "name": "abi_encode_tuple_t_stringliteral_b5a7112edf707196456f338fdcc19cd849be6cb8c0d166bcd035f4cfb00e7078__to_t_string_memory_ptr__fromStack_reversed", "nodeType": "YulFunctionDefinition", "parameters": [ { "name": "headStart", "nodeType": "YulTypedName", - "src": "4904:9:10", + "src": "6163:9:11", "type": "" } ], @@ -11225,16 +13905,16 @@ { "name": "tail", "nodeType": "YulTypedName", - "src": "4918:4:10", + "src": "6177:4:11", "type": "" } ], - "src": "4753:403:10" + "src": "6012:420:11" }, { "body": { "nodeType": "YulBlock", - "src": "5335:234:10", + "src": "6611:244:11", "statements": [ { "expression": { @@ -11242,12 +13922,12 @@ { "name": "headStart", "nodeType": "YulIdentifier", - "src": "5352:9:10" + "src": "6628:9:11" }, { "kind": "number", "nodeType": "YulLiteral", - "src": "5363:2:10", + "src": "6639:2:11", "type": "", "value": "32" } @@ -11255,13 +13935,13 @@ "functionName": { "name": "mstore", "nodeType": "YulIdentifier", - "src": "5345:6:10" + "src": "6621:6:11" }, "nodeType": "YulFunctionCall", - "src": "5345:21:10" + "src": "6621:21:11" }, "nodeType": "YulExpressionStatement", - "src": "5345:21:10" + "src": "6621:21:11" }, { "expression": { @@ -11271,12 +13951,12 @@ { "name": "headStart", "nodeType": "YulIdentifier", - "src": "5386:9:10" + "src": "6662:9:11" }, { "kind": "number", "nodeType": "YulLiteral", - "src": "5397:2:10", + "src": "6673:2:11", "type": "", "value": "32" } @@ -11284,29 +13964,29 @@ "functionName": { "name": "add", "nodeType": "YulIdentifier", - "src": "5382:3:10" + "src": "6658:3:11" }, "nodeType": "YulFunctionCall", - "src": "5382:18:10" + "src": "6658:18:11" }, { "kind": "number", "nodeType": "YulLiteral", - "src": "5402:2:10", + "src": "6678:2:11", "type": "", - "value": "44" + "value": "54" } ], "functionName": { "name": "mstore", "nodeType": "YulIdentifier", - "src": "5375:6:10" + "src": "6651:6:11" }, "nodeType": "YulFunctionCall", - "src": "5375:30:10" + "src": "6651:30:11" }, "nodeType": "YulExpressionStatement", - "src": "5375:30:10" + "src": "6651:30:11" }, { "expression": { @@ -11316,12 +13996,12 @@ { "name": "headStart", "nodeType": "YulIdentifier", - "src": "5425:9:10" + "src": "6701:9:11" }, { "kind": "number", "nodeType": "YulLiteral", - "src": "5436:2:10", + "src": "6712:2:11", "type": "", "value": "64" } @@ -11329,29 +14009,30 @@ "functionName": { "name": "add", "nodeType": "YulIdentifier", - "src": "5421:3:10" + "src": "6697:3:11" }, "nodeType": "YulFunctionCall", - "src": "5421:18:10" + "src": "6697:18:11" }, { + "hexValue": "4c69624469616d6f6e644375743a2052656d6f76652066616365742061646472", "kind": "string", "nodeType": "YulLiteral", - "src": "5441:34:10", + "src": "6717:34:11", "type": "", - "value": "LibDiamondCut: Add facet can't b" + "value": "LibDiamondCut: Remove facet addr" } ], "functionName": { "name": "mstore", "nodeType": "YulIdentifier", - "src": "5414:6:10" + "src": "6690:6:11" }, "nodeType": "YulFunctionCall", - "src": "5414:62:10" + "src": "6690:62:11" }, "nodeType": "YulExpressionStatement", - "src": "5414:62:10" + "src": "6690:62:11" }, { "expression": { @@ -11361,12 +14042,12 @@ { "name": "headStart", "nodeType": "YulIdentifier", - "src": "5496:9:10" + "src": "6772:9:11" }, { "kind": "number", "nodeType": "YulLiteral", - "src": "5507:2:10", + "src": "6783:2:11", "type": "", "value": "96" } @@ -11374,44 +14055,45 @@ "functionName": { "name": "add", "nodeType": "YulIdentifier", - "src": "5492:3:10" + "src": "6768:3:11" }, "nodeType": "YulFunctionCall", - "src": "5492:18:10" + "src": "6768:18:11" }, { + "hexValue": "657373206d7573742062652061646472657373283029", "kind": "string", "nodeType": "YulLiteral", - "src": "5512:14:10", + "src": "6788:24:11", "type": "", - "value": "e address(0)" + "value": "ess must be address(0)" } ], "functionName": { "name": "mstore", "nodeType": "YulIdentifier", - "src": "5485:6:10" + "src": "6761:6:11" }, "nodeType": "YulFunctionCall", - "src": "5485:42:10" + "src": "6761:52:11" }, "nodeType": "YulExpressionStatement", - "src": "5485:42:10" + "src": "6761:52:11" }, { "nodeType": "YulAssignment", - "src": "5536:27:10", + "src": "6822:27:11", "value": { "arguments": [ { "name": "headStart", "nodeType": "YulIdentifier", - "src": "5548:9:10" + "src": "6834:9:11" }, { "kind": "number", "nodeType": "YulLiteral", - "src": "5559:3:10", + "src": "6845:3:11", "type": "", "value": "128" } @@ -11419,28 +14101,28 @@ "functionName": { "name": "add", "nodeType": "YulIdentifier", - "src": "5544:3:10" + "src": "6830:3:11" }, "nodeType": "YulFunctionCall", - "src": "5544:19:10" + "src": "6830:19:11" }, "variableNames": [ { "name": "tail", "nodeType": "YulIdentifier", - "src": "5536:4:10" + "src": "6822:4:11" } ] } ] }, - "name": "abi_encode_tuple_t_stringliteral_64609d8b93c93a06b98d7db7a87b04044cd4a52c5661d603bb9b90ad8b914a3a__to_t_string_memory_ptr__fromStack_reversed", + "name": "abi_encode_tuple_t_stringliteral_b739aae768f79b96e91d9f66398733516895e39eb09ee54a795b49dcc77504d4__to_t_string_memory_ptr__fromStack_reversed", "nodeType": "YulFunctionDefinition", "parameters": [ { "name": "headStart", "nodeType": "YulTypedName", - "src": "5312:9:10", + "src": "6588:9:11", "type": "" } ], @@ -11448,16 +14130,16 @@ { "name": "tail", "nodeType": "YulTypedName", - "src": "5326:4:10", + "src": "6602:4:11", "type": "" } ], - "src": "5161:408:10" + "src": "6437:418:11" }, { "body": { "nodeType": "YulBlock", - "src": "5748:182:10", + "src": "7034:250:11", "statements": [ { "expression": { @@ -11465,12 +14147,12 @@ { "name": "headStart", "nodeType": "YulIdentifier", - "src": "5765:9:10" + "src": "7051:9:11" }, { "kind": "number", "nodeType": "YulLiteral", - "src": "5776:2:10", + "src": "7062:2:11", "type": "", "value": "32" } @@ -11478,13 +14160,13 @@ "functionName": { "name": "mstore", "nodeType": "YulIdentifier", - "src": "5758:6:10" + "src": "7044:6:11" }, "nodeType": "YulFunctionCall", - "src": "5758:21:10" + "src": "7044:21:11" }, "nodeType": "YulExpressionStatement", - "src": "5758:21:10" + "src": "7044:21:11" }, { "expression": { @@ -11494,12 +14176,12 @@ { "name": "headStart", "nodeType": "YulIdentifier", - "src": "5799:9:10" + "src": "7085:9:11" }, { "kind": "number", "nodeType": "YulLiteral", - "src": "5810:2:10", + "src": "7096:2:11", "type": "", "value": "32" } @@ -11507,29 +14189,29 @@ "functionName": { "name": "add", "nodeType": "YulIdentifier", - "src": "5795:3:10" + "src": "7081:3:11" }, "nodeType": "YulFunctionCall", - "src": "5795:18:10" + "src": "7081:18:11" }, { "kind": "number", "nodeType": "YulLiteral", - "src": "5815:2:10", + "src": "7101:2:11", "type": "", - "value": "32" + "value": "60" } ], "functionName": { "name": "mstore", "nodeType": "YulIdentifier", - "src": "5788:6:10" + "src": "7074:6:11" }, "nodeType": "YulFunctionCall", - "src": "5788:30:10" + "src": "7074:30:11" }, "nodeType": "YulExpressionStatement", - "src": "5788:30:10" + "src": "7074:30:11" }, { "expression": { @@ -11539,12 +14221,12 @@ { "name": "headStart", "nodeType": "YulIdentifier", - "src": "5838:9:10" + "src": "7124:9:11" }, { "kind": "number", "nodeType": "YulLiteral", - "src": "5849:2:10", + "src": "7135:2:11", "type": "", "value": "64" } @@ -11552,73 +14234,120 @@ "functionName": { "name": "add", "nodeType": "YulIdentifier", - "src": "5834:3:10" + "src": "7120:3:11" }, "nodeType": "YulFunctionCall", - "src": "5834:18:10" + "src": "7120:18:11" }, { + "hexValue": "4c69624469616d6f6e644375743a205f696e6974206973206164647265737328", "kind": "string", "nodeType": "YulLiteral", - "src": "5854:34:10", + "src": "7140:34:11", "type": "", - "value": "Diamond: Function does not exist" + "value": "LibDiamondCut: _init is address(" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "7113:6:11" + }, + "nodeType": "YulFunctionCall", + "src": "7113:62:11" + }, + "nodeType": "YulExpressionStatement", + "src": "7113:62:11" + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "7195:9:11" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "7206:2:11", + "type": "", + "value": "96" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "7191:3:11" + }, + "nodeType": "YulFunctionCall", + "src": "7191:18:11" + }, + { + "hexValue": "3029206275745f63616c6c64617461206973206e6f7420656d707479", + "kind": "string", + "nodeType": "YulLiteral", + "src": "7211:30:11", + "type": "", + "value": "0) but_calldata is not empty" } ], "functionName": { "name": "mstore", "nodeType": "YulIdentifier", - "src": "5827:6:10" + "src": "7184:6:11" }, "nodeType": "YulFunctionCall", - "src": "5827:62:10" + "src": "7184:58:11" }, "nodeType": "YulExpressionStatement", - "src": "5827:62:10" + "src": "7184:58:11" }, { "nodeType": "YulAssignment", - "src": "5898:26:10", + "src": "7251:27:11", "value": { "arguments": [ { "name": "headStart", "nodeType": "YulIdentifier", - "src": "5910:9:10" + "src": "7263:9:11" }, { "kind": "number", "nodeType": "YulLiteral", - "src": "5921:2:10", + "src": "7274:3:11", "type": "", - "value": "96" + "value": "128" } ], "functionName": { "name": "add", "nodeType": "YulIdentifier", - "src": "5906:3:10" + "src": "7259:3:11" }, "nodeType": "YulFunctionCall", - "src": "5906:18:10" + "src": "7259:19:11" }, "variableNames": [ { "name": "tail", "nodeType": "YulIdentifier", - "src": "5898:4:10" + "src": "7251:4:11" } ] } ] }, - "name": "abi_encode_tuple_t_stringliteral_6e6486aeb9db70da259b7171a739046119facaec2d8a6bd46f1145fe8391014a__to_t_string_memory_ptr__fromStack_reversed", + "name": "abi_encode_tuple_t_stringliteral_046c761a688d1dc3c500562bc5aaa3544f01f394f9bb3b69aa2a950a45afb1f8__to_t_string_memory_ptr__fromStack_reversed", "nodeType": "YulFunctionDefinition", "parameters": [ { "name": "headStart", "nodeType": "YulTypedName", - "src": "5725:9:10", + "src": "7011:9:11", "type": "" } ], @@ -11626,16 +14355,16 @@ { "name": "tail", "nodeType": "YulTypedName", - "src": "5739:4:10", + "src": "7025:4:11", "type": "" } ], - "src": "5574:356:10" + "src": "6860:424:11" }, { "body": { "nodeType": "YulBlock", - "src": "6109:251:10", + "src": "7463:251:11", "statements": [ { "expression": { @@ -11643,12 +14372,12 @@ { "name": "headStart", "nodeType": "YulIdentifier", - "src": "6126:9:10" + "src": "7480:9:11" }, { "kind": "number", "nodeType": "YulLiteral", - "src": "6137:2:10", + "src": "7491:2:11", "type": "", "value": "32" } @@ -11656,13 +14385,13 @@ "functionName": { "name": "mstore", "nodeType": "YulIdentifier", - "src": "6119:6:10" + "src": "7473:6:11" }, "nodeType": "YulFunctionCall", - "src": "6119:21:10" + "src": "7473:21:11" }, "nodeType": "YulExpressionStatement", - "src": "6119:21:10" + "src": "7473:21:11" }, { "expression": { @@ -11672,12 +14401,12 @@ { "name": "headStart", "nodeType": "YulIdentifier", - "src": "6160:9:10" + "src": "7514:9:11" }, { "kind": "number", "nodeType": "YulLiteral", - "src": "6171:2:10", + "src": "7525:2:11", "type": "", "value": "32" } @@ -11685,15 +14414,15 @@ "functionName": { "name": "add", "nodeType": "YulIdentifier", - "src": "6156:3:10" + "src": "7510:3:11" }, "nodeType": "YulFunctionCall", - "src": "6156:18:10" + "src": "7510:18:11" }, { "kind": "number", "nodeType": "YulLiteral", - "src": "6176:2:10", + "src": "7530:2:11", "type": "", "value": "61" } @@ -11701,13 +14430,13 @@ "functionName": { "name": "mstore", "nodeType": "YulIdentifier", - "src": "6149:6:10" + "src": "7503:6:11" }, "nodeType": "YulFunctionCall", - "src": "6149:30:10" + "src": "7503:30:11" }, "nodeType": "YulExpressionStatement", - "src": "6149:30:10" + "src": "7503:30:11" }, { "expression": { @@ -11717,12 +14446,12 @@ { "name": "headStart", "nodeType": "YulIdentifier", - "src": "6199:9:10" + "src": "7553:9:11" }, { "kind": "number", "nodeType": "YulLiteral", - "src": "6210:2:10", + "src": "7564:2:11", "type": "", "value": "64" } @@ -11730,15 +14459,16 @@ "functionName": { "name": "add", "nodeType": "YulIdentifier", - "src": "6195:3:10" + "src": "7549:3:11" }, "nodeType": "YulFunctionCall", - "src": "6195:18:10" + "src": "7549:18:11" }, { + "hexValue": "4c69624469616d6f6e644375743a205f63616c6c6461746120697320656d7074", "kind": "string", "nodeType": "YulLiteral", - "src": "6215:34:10", + "src": "7569:34:11", "type": "", "value": "LibDiamondCut: _calldata is empt" } @@ -11746,13 +14476,13 @@ "functionName": { "name": "mstore", "nodeType": "YulIdentifier", - "src": "6188:6:10" + "src": "7542:6:11" }, "nodeType": "YulFunctionCall", - "src": "6188:62:10" + "src": "7542:62:11" }, "nodeType": "YulExpressionStatement", - "src": "6188:62:10" + "src": "7542:62:11" }, { "expression": { @@ -11762,12 +14492,12 @@ { "name": "headStart", "nodeType": "YulIdentifier", - "src": "6270:9:10" + "src": "7624:9:11" }, { "kind": "number", "nodeType": "YulLiteral", - "src": "6281:2:10", + "src": "7635:2:11", "type": "", "value": "96" } @@ -11775,15 +14505,16 @@ "functionName": { "name": "add", "nodeType": "YulIdentifier", - "src": "6266:3:10" + "src": "7620:3:11" }, "nodeType": "YulFunctionCall", - "src": "6266:18:10" + "src": "7620:18:11" }, { + "hexValue": "7920627574205f696e6974206973206e6f742061646472657373283029", "kind": "string", "nodeType": "YulLiteral", - "src": "6286:31:10", + "src": "7640:31:11", "type": "", "value": "y but _init is not address(0)" } @@ -11791,28 +14522,28 @@ "functionName": { "name": "mstore", "nodeType": "YulIdentifier", - "src": "6259:6:10" + "src": "7613:6:11" }, "nodeType": "YulFunctionCall", - "src": "6259:59:10" + "src": "7613:59:11" }, "nodeType": "YulExpressionStatement", - "src": "6259:59:10" + "src": "7613:59:11" }, { "nodeType": "YulAssignment", - "src": "6327:27:10", + "src": "7681:27:11", "value": { "arguments": [ { "name": "headStart", "nodeType": "YulIdentifier", - "src": "6339:9:10" + "src": "7693:9:11" }, { "kind": "number", "nodeType": "YulLiteral", - "src": "6350:3:10", + "src": "7704:3:11", "type": "", "value": "128" } @@ -11820,16 +14551,16 @@ "functionName": { "name": "add", "nodeType": "YulIdentifier", - "src": "6335:3:10" + "src": "7689:3:11" }, "nodeType": "YulFunctionCall", - "src": "6335:19:10" + "src": "7689:19:11" }, "variableNames": [ { "name": "tail", "nodeType": "YulIdentifier", - "src": "6327:4:10" + "src": "7681:4:11" } ] } @@ -11841,7 +14572,7 @@ { "name": "headStart", "nodeType": "YulTypedName", - "src": "6086:9:10", + "src": "7440:9:11", "type": "" } ], @@ -11849,43 +14580,44 @@ { "name": "tail", "nodeType": "YulTypedName", - "src": "6100:4:10", + "src": "7454:4:11", "type": "" } ], - "src": "5935:425:10" + "src": "7289:425:11" }, { "body": { "nodeType": "YulBlock", - "src": "6539:236:10", + "src": "7856:137:11", "statements": [ { - "expression": { + "nodeType": "YulVariableDeclaration", + "src": "7866:27:11", + "value": { "arguments": [ { - "name": "headStart", + "name": "value0", "nodeType": "YulIdentifier", - "src": "6556:9:10" - }, - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "6567:2:10", - "type": "", - "value": "32" + "src": "7886:6:11" } ], "functionName": { - "name": "mstore", + "name": "mload", "nodeType": "YulIdentifier", - "src": "6549:6:10" + "src": "7880:5:11" }, "nodeType": "YulFunctionCall", - "src": "6549:21:10" + "src": "7880:13:11" }, - "nodeType": "YulExpressionStatement", - "src": "6549:21:10" + "variables": [ + { + "name": "length", + "nodeType": "YulTypedName", + "src": "7870:6:11", + "type": "" + } + ] }, { "expression": { @@ -11893,178 +14625,205 @@ { "arguments": [ { - "name": "headStart", + "name": "value0", "nodeType": "YulIdentifier", - "src": "6590:9:10" + "src": "7928:6:11" }, { "kind": "number", "nodeType": "YulLiteral", - "src": "6601:2:10", + "src": "7936:4:11", "type": "", - "value": "32" + "value": "0x20" } ], "functionName": { "name": "add", "nodeType": "YulIdentifier", - "src": "6586:3:10" + "src": "7924:3:11" }, "nodeType": "YulFunctionCall", - "src": "6586:18:10" + "src": "7924:17:11" }, { - "kind": "number", - "nodeType": "YulLiteral", - "src": "6606:2:10", - "type": "", - "value": "46" + "name": "pos", + "nodeType": "YulIdentifier", + "src": "7943:3:11" + }, + { + "name": "length", + "nodeType": "YulIdentifier", + "src": "7948:6:11" } ], "functionName": { - "name": "mstore", + "name": "copy_memory_to_memory", "nodeType": "YulIdentifier", - "src": "6579:6:10" + "src": "7902:21:11" }, "nodeType": "YulFunctionCall", - "src": "6579:30:10" + "src": "7902:53:11" }, "nodeType": "YulExpressionStatement", - "src": "6579:30:10" + "src": "7902:53:11" }, { - "expression": { + "nodeType": "YulAssignment", + "src": "7964:23:11", + "value": { "arguments": [ { - "arguments": [ - { - "name": "headStart", - "nodeType": "YulIdentifier", - "src": "6629:9:10" - }, - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "6640:2:10", - "type": "", - "value": "64" - } - ], - "functionName": { - "name": "add", - "nodeType": "YulIdentifier", - "src": "6625:3:10" - }, - "nodeType": "YulFunctionCall", - "src": "6625:18:10" + "name": "pos", + "nodeType": "YulIdentifier", + "src": "7975:3:11" }, { - "kind": "string", - "nodeType": "YulLiteral", - "src": "6645:34:10", - "type": "", - "value": "LibDiamondCut: Can't remove immu" + "name": "length", + "nodeType": "YulIdentifier", + "src": "7980:6:11" } ], "functionName": { - "name": "mstore", + "name": "add", "nodeType": "YulIdentifier", - "src": "6618:6:10" + "src": "7971:3:11" }, "nodeType": "YulFunctionCall", - "src": "6618:62:10" + "src": "7971:16:11" }, - "nodeType": "YulExpressionStatement", - "src": "6618:62:10" - }, + "variableNames": [ + { + "name": "end", + "nodeType": "YulIdentifier", + "src": "7964:3:11" + } + ] + } + ] + }, + "name": "abi_encode_tuple_packed_t_bytes_memory_ptr__to_t_bytes_memory_ptr__nonPadded_inplace_fromStack_reversed", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "pos", + "nodeType": "YulTypedName", + "src": "7832:3:11", + "type": "" + }, + { + "name": "value0", + "nodeType": "YulTypedName", + "src": "7837:6:11", + "type": "" + } + ], + "returnVariables": [ + { + "name": "end", + "nodeType": "YulTypedName", + "src": "7848:3:11", + "type": "" + } + ], + "src": "7719:274:11" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "8119:98:11", + "statements": [ { "expression": { "arguments": [ { - "arguments": [ - { - "name": "headStart", - "nodeType": "YulIdentifier", - "src": "6700:9:10" - }, - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "6711:2:10", - "type": "", - "value": "96" - } - ], - "functionName": { - "name": "add", - "nodeType": "YulIdentifier", - "src": "6696:3:10" - }, - "nodeType": "YulFunctionCall", - "src": "6696:18:10" + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "8136:9:11" }, { - "kind": "string", + "kind": "number", "nodeType": "YulLiteral", - "src": "6716:16:10", + "src": "8147:2:11", "type": "", - "value": "table function" + "value": "32" } ], "functionName": { "name": "mstore", "nodeType": "YulIdentifier", - "src": "6689:6:10" + "src": "8129:6:11" }, "nodeType": "YulFunctionCall", - "src": "6689:44:10" + "src": "8129:21:11" }, "nodeType": "YulExpressionStatement", - "src": "6689:44:10" + "src": "8129:21:11" }, { "nodeType": "YulAssignment", - "src": "6742:27:10", + "src": "8159:52:11", "value": { "arguments": [ { - "name": "headStart", + "name": "value0", "nodeType": "YulIdentifier", - "src": "6754:9:10" + "src": "8184:6:11" }, { - "kind": "number", - "nodeType": "YulLiteral", - "src": "6765:3:10", - "type": "", - "value": "128" + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "8196:9:11" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "8207:2:11", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "8192:3:11" + }, + "nodeType": "YulFunctionCall", + "src": "8192:18:11" } ], "functionName": { - "name": "add", + "name": "abi_encode_bytes", "nodeType": "YulIdentifier", - "src": "6750:3:10" + "src": "8167:16:11" }, "nodeType": "YulFunctionCall", - "src": "6750:19:10" + "src": "8167:44:11" }, "variableNames": [ { "name": "tail", "nodeType": "YulIdentifier", - "src": "6742:4:10" + "src": "8159:4:11" } ] } ] }, - "name": "abi_encode_tuple_t_stringliteral_8ba063dfaa4be2d2cbe73dbb1364728b0f7031ac048441d5fad19e9541992b21__to_t_string_memory_ptr__fromStack_reversed", + "name": "abi_encode_tuple_t_string_memory_ptr__to_t_string_memory_ptr__fromStack_reversed", "nodeType": "YulFunctionDefinition", "parameters": [ { "name": "headStart", "nodeType": "YulTypedName", - "src": "6516:9:10", + "src": "8088:9:11", + "type": "" + }, + { + "name": "value0", + "nodeType": "YulTypedName", + "src": "8099:6:11", "type": "" } ], @@ -12072,16 +14831,16 @@ { "name": "tail", "nodeType": "YulTypedName", - "src": "6530:4:10", + "src": "8110:4:11", "type": "" } ], - "src": "6365:410:10" + "src": "7998:219:11" }, { "body": { "nodeType": "YulBlock", - "src": "6954:243:10", + "src": "8396:228:11", "statements": [ { "expression": { @@ -12089,12 +14848,12 @@ { "name": "headStart", "nodeType": "YulIdentifier", - "src": "6971:9:10" + "src": "8413:9:11" }, { "kind": "number", "nodeType": "YulLiteral", - "src": "6982:2:10", + "src": "8424:2:11", "type": "", "value": "32" } @@ -12102,13 +14861,13 @@ "functionName": { "name": "mstore", "nodeType": "YulIdentifier", - "src": "6964:6:10" + "src": "8406:6:11" }, "nodeType": "YulFunctionCall", - "src": "6964:21:10" + "src": "8406:21:11" }, "nodeType": "YulExpressionStatement", - "src": "6964:21:10" + "src": "8406:21:11" }, { "expression": { @@ -12118,12 +14877,12 @@ { "name": "headStart", "nodeType": "YulIdentifier", - "src": "7005:9:10" + "src": "8447:9:11" }, { "kind": "number", "nodeType": "YulLiteral", - "src": "7016:2:10", + "src": "8458:2:11", "type": "", "value": "32" } @@ -12131,29 +14890,29 @@ "functionName": { "name": "add", "nodeType": "YulIdentifier", - "src": "7001:3:10" + "src": "8443:3:11" }, "nodeType": "YulFunctionCall", - "src": "7001:18:10" + "src": "8443:18:11" }, { "kind": "number", "nodeType": "YulLiteral", - "src": "7021:2:10", + "src": "8463:2:11", "type": "", - "value": "53" + "value": "38" } ], "functionName": { "name": "mstore", "nodeType": "YulIdentifier", - "src": "6994:6:10" + "src": "8436:6:11" }, "nodeType": "YulFunctionCall", - "src": "6994:30:10" + "src": "8436:30:11" }, "nodeType": "YulExpressionStatement", - "src": "6994:30:10" + "src": "8436:30:11" }, { "expression": { @@ -12163,12 +14922,12 @@ { "name": "headStart", "nodeType": "YulIdentifier", - "src": "7044:9:10" + "src": "8486:9:11" }, { "kind": "number", "nodeType": "YulLiteral", - "src": "7055:2:10", + "src": "8497:2:11", "type": "", "value": "64" } @@ -12176,29 +14935,30 @@ "functionName": { "name": "add", "nodeType": "YulIdentifier", - "src": "7040:3:10" + "src": "8482:3:11" }, "nodeType": "YulFunctionCall", - "src": "7040:18:10" + "src": "8482:18:11" }, { + "hexValue": "4c69624469616d6f6e644375743a205f696e69742066756e6374696f6e207265", "kind": "string", "nodeType": "YulLiteral", - "src": "7060:34:10", + "src": "8502:34:11", "type": "", - "value": "LibDiamondCut: Can't add functio" + "value": "LibDiamondCut: _init function re" } ], "functionName": { "name": "mstore", "nodeType": "YulIdentifier", - "src": "7033:6:10" + "src": "8475:6:11" }, "nodeType": "YulFunctionCall", - "src": "7033:62:10" + "src": "8475:62:11" }, "nodeType": "YulExpressionStatement", - "src": "7033:62:10" + "src": "8475:62:11" }, { "expression": { @@ -12208,12 +14968,12 @@ { "name": "headStart", "nodeType": "YulIdentifier", - "src": "7115:9:10" + "src": "8557:9:11" }, { "kind": "number", "nodeType": "YulLiteral", - "src": "7126:2:10", + "src": "8568:2:11", "type": "", "value": "96" } @@ -12221,44 +14981,45 @@ "functionName": { "name": "add", "nodeType": "YulIdentifier", - "src": "7111:3:10" + "src": "8553:3:11" }, "nodeType": "YulFunctionCall", - "src": "7111:18:10" + "src": "8553:18:11" }, { + "hexValue": "766572746564", "kind": "string", "nodeType": "YulLiteral", - "src": "7131:23:10", + "src": "8573:8:11", "type": "", - "value": "n that already exists" + "value": "verted" } ], "functionName": { "name": "mstore", "nodeType": "YulIdentifier", - "src": "7104:6:10" + "src": "8546:6:11" }, "nodeType": "YulFunctionCall", - "src": "7104:51:10" + "src": "8546:36:11" }, "nodeType": "YulExpressionStatement", - "src": "7104:51:10" + "src": "8546:36:11" }, { "nodeType": "YulAssignment", - "src": "7164:27:10", + "src": "8591:27:11", "value": { "arguments": [ { "name": "headStart", "nodeType": "YulIdentifier", - "src": "7176:9:10" + "src": "8603:9:11" }, { "kind": "number", "nodeType": "YulLiteral", - "src": "7187:3:10", + "src": "8614:3:11", "type": "", "value": "128" } @@ -12266,28 +15027,28 @@ "functionName": { "name": "add", "nodeType": "YulIdentifier", - "src": "7172:3:10" + "src": "8599:3:11" }, "nodeType": "YulFunctionCall", - "src": "7172:19:10" + "src": "8599:19:11" }, "variableNames": [ { "name": "tail", "nodeType": "YulIdentifier", - "src": "7164:4:10" + "src": "8591:4:11" } ] } ] }, - "name": "abi_encode_tuple_t_stringliteral_99a7418ee014d613f46da44561258cdbb58064508097483a319062b99fa37700__to_t_string_memory_ptr__fromStack_reversed", + "name": "abi_encode_tuple_t_stringliteral_080b2fe78815767d522290509c8fce2af708c8a54455ca1b0cc978c92822465d__to_t_string_memory_ptr__fromStack_reversed", "nodeType": "YulFunctionDefinition", "parameters": [ { "name": "headStart", "nodeType": "YulTypedName", - "src": "6931:9:10", + "src": "8373:9:11", "type": "" } ], @@ -12295,16 +15056,16 @@ { "name": "tail", "nodeType": "YulTypedName", - "src": "6945:4:10", + "src": "8387:4:11", "type": "" } ], - "src": "6780:417:10" + "src": "8222:402:11" }, { "body": { "nodeType": "YulBlock", - "src": "7376:246:10", + "src": "8803:245:11", "statements": [ { "expression": { @@ -12312,12 +15073,12 @@ { "name": "headStart", "nodeType": "YulIdentifier", - "src": "7393:9:10" + "src": "8820:9:11" }, { "kind": "number", "nodeType": "YulLiteral", - "src": "7404:2:10", + "src": "8831:2:11", "type": "", "value": "32" } @@ -12325,13 +15086,13 @@ "functionName": { "name": "mstore", "nodeType": "YulIdentifier", - "src": "7386:6:10" + "src": "8813:6:11" }, "nodeType": "YulFunctionCall", - "src": "7386:21:10" + "src": "8813:21:11" }, "nodeType": "YulExpressionStatement", - "src": "7386:21:10" + "src": "8813:21:11" }, { "expression": { @@ -12341,12 +15102,12 @@ { "name": "headStart", "nodeType": "YulIdentifier", - "src": "7427:9:10" + "src": "8854:9:11" }, { "kind": "number", "nodeType": "YulLiteral", - "src": "7438:2:10", + "src": "8865:2:11", "type": "", "value": "32" } @@ -12354,29 +15115,29 @@ "functionName": { "name": "add", "nodeType": "YulIdentifier", - "src": "7423:3:10" + "src": "8850:3:11" }, "nodeType": "YulFunctionCall", - "src": "7423:18:10" + "src": "8850:18:11" }, { "kind": "number", "nodeType": "YulLiteral", - "src": "7443:2:10", + "src": "8870:2:11", "type": "", - "value": "56" + "value": "55" } ], "functionName": { "name": "mstore", "nodeType": "YulIdentifier", - "src": "7416:6:10" + "src": "8843:6:11" }, "nodeType": "YulFunctionCall", - "src": "7416:30:10" + "src": "8843:30:11" }, "nodeType": "YulExpressionStatement", - "src": "7416:30:10" + "src": "8843:30:11" }, { "expression": { @@ -12386,12 +15147,12 @@ { "name": "headStart", "nodeType": "YulIdentifier", - "src": "7466:9:10" + "src": "8893:9:11" }, { "kind": "number", "nodeType": "YulLiteral", - "src": "7477:2:10", + "src": "8904:2:11", "type": "", "value": "64" } @@ -12399,29 +15160,30 @@ "functionName": { "name": "add", "nodeType": "YulIdentifier", - "src": "7462:3:10" + "src": "8889:3:11" }, "nodeType": "YulFunctionCall", - "src": "7462:18:10" + "src": "8889:18:11" }, { + "hexValue": "4c69624469616d6f6e644375743a2043616e27742072656d6f76652066756e63", "kind": "string", "nodeType": "YulLiteral", - "src": "7482:34:10", + "src": "8909:34:11", "type": "", - "value": "LibDiamondCut: Can't replace fun" + "value": "LibDiamondCut: Can't remove func" } ], "functionName": { "name": "mstore", "nodeType": "YulIdentifier", - "src": "7455:6:10" + "src": "8882:6:11" }, "nodeType": "YulFunctionCall", - "src": "7455:62:10" + "src": "8882:62:11" }, "nodeType": "YulExpressionStatement", - "src": "7455:62:10" + "src": "8882:62:11" }, { "expression": { @@ -12431,12 +15193,12 @@ { "name": "headStart", "nodeType": "YulIdentifier", - "src": "7537:9:10" + "src": "8964:9:11" }, { "kind": "number", "nodeType": "YulLiteral", - "src": "7548:2:10", + "src": "8975:2:11", "type": "", "value": "96" } @@ -12444,44 +15206,45 @@ "functionName": { "name": "add", "nodeType": "YulIdentifier", - "src": "7533:3:10" + "src": "8960:3:11" }, "nodeType": "YulFunctionCall", - "src": "7533:18:10" + "src": "8960:18:11" }, { + "hexValue": "74696f6e207468617420646f65736e2774206578697374", "kind": "string", "nodeType": "YulLiteral", - "src": "7553:26:10", + "src": "8980:25:11", "type": "", - "value": "ction with same function" + "value": "tion that doesn't exist" } ], "functionName": { "name": "mstore", "nodeType": "YulIdentifier", - "src": "7526:6:10" + "src": "8953:6:11" }, "nodeType": "YulFunctionCall", - "src": "7526:54:10" + "src": "8953:53:11" }, "nodeType": "YulExpressionStatement", - "src": "7526:54:10" + "src": "8953:53:11" }, { "nodeType": "YulAssignment", - "src": "7589:27:10", + "src": "9015:27:11", "value": { "arguments": [ { "name": "headStart", "nodeType": "YulIdentifier", - "src": "7601:9:10" + "src": "9027:9:11" }, { "kind": "number", "nodeType": "YulLiteral", - "src": "7612:3:10", + "src": "9038:3:11", "type": "", "value": "128" } @@ -12489,28 +15252,28 @@ "functionName": { "name": "add", "nodeType": "YulIdentifier", - "src": "7597:3:10" + "src": "9023:3:11" }, "nodeType": "YulFunctionCall", - "src": "7597:19:10" + "src": "9023:19:11" }, "variableNames": [ { "name": "tail", "nodeType": "YulIdentifier", - "src": "7589:4:10" + "src": "9015:4:11" } ] } ] }, - "name": "abi_encode_tuple_t_stringliteral_b5a7112edf707196456f338fdcc19cd849be6cb8c0d166bcd035f4cfb00e7078__to_t_string_memory_ptr__fromStack_reversed", + "name": "abi_encode_tuple_t_stringliteral_2c590e498c4d56c984a7092fd5e89a68b9f4541ce9f97252fb74e44a00ffbb71__to_t_string_memory_ptr__fromStack_reversed", "nodeType": "YulFunctionDefinition", "parameters": [ { "name": "headStart", "nodeType": "YulTypedName", - "src": "7353:9:10", + "src": "8780:9:11", "type": "" } ], @@ -12518,16 +15281,16 @@ { "name": "tail", "nodeType": "YulTypedName", - "src": "7367:4:10", + "src": "8794:4:11", "type": "" } ], - "src": "7202:420:10" + "src": "8629:419:11" }, { "body": { "nodeType": "YulBlock", - "src": "7801:244:10", + "src": "9227:236:11", "statements": [ { "expression": { @@ -12535,12 +15298,12 @@ { "name": "headStart", "nodeType": "YulIdentifier", - "src": "7818:9:10" + "src": "9244:9:11" }, { "kind": "number", "nodeType": "YulLiteral", - "src": "7829:2:10", + "src": "9255:2:11", "type": "", "value": "32" } @@ -12548,13 +15311,13 @@ "functionName": { "name": "mstore", "nodeType": "YulIdentifier", - "src": "7811:6:10" + "src": "9237:6:11" }, "nodeType": "YulFunctionCall", - "src": "7811:21:10" + "src": "9237:21:11" }, "nodeType": "YulExpressionStatement", - "src": "7811:21:10" + "src": "9237:21:11" }, { "expression": { @@ -12564,12 +15327,12 @@ { "name": "headStart", "nodeType": "YulIdentifier", - "src": "7852:9:10" + "src": "9278:9:11" }, { "kind": "number", "nodeType": "YulLiteral", - "src": "7863:2:10", + "src": "9289:2:11", "type": "", "value": "32" } @@ -12577,29 +15340,29 @@ "functionName": { "name": "add", "nodeType": "YulIdentifier", - "src": "7848:3:10" + "src": "9274:3:11" }, "nodeType": "YulFunctionCall", - "src": "7848:18:10" + "src": "9274:18:11" }, { "kind": "number", "nodeType": "YulLiteral", - "src": "7868:2:10", + "src": "9294:2:11", "type": "", - "value": "54" + "value": "46" } ], "functionName": { "name": "mstore", "nodeType": "YulIdentifier", - "src": "7841:6:10" + "src": "9267:6:11" }, "nodeType": "YulFunctionCall", - "src": "7841:30:10" + "src": "9267:30:11" }, "nodeType": "YulExpressionStatement", - "src": "7841:30:10" + "src": "9267:30:11" }, { "expression": { @@ -12609,12 +15372,12 @@ { "name": "headStart", "nodeType": "YulIdentifier", - "src": "7891:9:10" + "src": "9317:9:11" }, { "kind": "number", "nodeType": "YulLiteral", - "src": "7902:2:10", + "src": "9328:2:11", "type": "", "value": "64" } @@ -12622,29 +15385,30 @@ "functionName": { "name": "add", "nodeType": "YulIdentifier", - "src": "7887:3:10" + "src": "9313:3:11" }, "nodeType": "YulFunctionCall", - "src": "7887:18:10" + "src": "9313:18:11" }, { + "hexValue": "4c69624469616d6f6e644375743a2043616e27742072656d6f766520696d6d75", "kind": "string", "nodeType": "YulLiteral", - "src": "7907:34:10", + "src": "9333:34:11", "type": "", - "value": "LibDiamondCut: Remove facet addr" + "value": "LibDiamondCut: Can't remove immu" } ], "functionName": { "name": "mstore", "nodeType": "YulIdentifier", - "src": "7880:6:10" + "src": "9306:6:11" }, "nodeType": "YulFunctionCall", - "src": "7880:62:10" + "src": "9306:62:11" }, "nodeType": "YulExpressionStatement", - "src": "7880:62:10" + "src": "9306:62:11" }, { "expression": { @@ -12654,12 +15418,12 @@ { "name": "headStart", "nodeType": "YulIdentifier", - "src": "7962:9:10" + "src": "9388:9:11" }, { "kind": "number", "nodeType": "YulLiteral", - "src": "7973:2:10", + "src": "9399:2:11", "type": "", "value": "96" } @@ -12667,44 +15431,45 @@ "functionName": { "name": "add", "nodeType": "YulIdentifier", - "src": "7958:3:10" + "src": "9384:3:11" }, "nodeType": "YulFunctionCall", - "src": "7958:18:10" + "src": "9384:18:11" }, { + "hexValue": "7461626c652066756e6374696f6e", "kind": "string", "nodeType": "YulLiteral", - "src": "7978:24:10", + "src": "9404:16:11", "type": "", - "value": "ess must be address(0)" + "value": "table function" } ], "functionName": { "name": "mstore", "nodeType": "YulIdentifier", - "src": "7951:6:10" + "src": "9377:6:11" }, "nodeType": "YulFunctionCall", - "src": "7951:52:10" + "src": "9377:44:11" }, "nodeType": "YulExpressionStatement", - "src": "7951:52:10" + "src": "9377:44:11" }, { "nodeType": "YulAssignment", - "src": "8012:27:10", + "src": "9430:27:11", "value": { "arguments": [ { "name": "headStart", "nodeType": "YulIdentifier", - "src": "8024:9:10" + "src": "9442:9:11" }, { "kind": "number", "nodeType": "YulLiteral", - "src": "8035:3:10", + "src": "9453:3:11", "type": "", "value": "128" } @@ -12712,28 +15477,28 @@ "functionName": { "name": "add", "nodeType": "YulIdentifier", - "src": "8020:3:10" + "src": "9438:3:11" }, "nodeType": "YulFunctionCall", - "src": "8020:19:10" + "src": "9438:19:11" }, "variableNames": [ { "name": "tail", "nodeType": "YulIdentifier", - "src": "8012:4:10" + "src": "9430:4:11" } ] } ] }, - "name": "abi_encode_tuple_t_stringliteral_b739aae768f79b96e91d9f66398733516895e39eb09ee54a795b49dcc77504d4__to_t_string_memory_ptr__fromStack_reversed", + "name": "abi_encode_tuple_t_stringliteral_8ba063dfaa4be2d2cbe73dbb1364728b0f7031ac048441d5fad19e9541992b21__to_t_string_memory_ptr__fromStack_reversed", "nodeType": "YulFunctionDefinition", "parameters": [ { "name": "headStart", "nodeType": "YulTypedName", - "src": "7778:9:10", + "src": "9204:9:11", "type": "" } ], @@ -12741,296 +15506,236 @@ { "name": "tail", "nodeType": "YulTypedName", - "src": "7792:4:10", + "src": "9218:4:11", "type": "" } ], - "src": "7627:418:10" + "src": "9053:410:11" }, { "body": { "nodeType": "YulBlock", - "src": "8103:205:10", + "src": "9517:76:11", "statements": [ - { - "nodeType": "YulVariableDeclaration", - "src": "8113:10:10", - "value": { - "kind": "number", - "nodeType": "YulLiteral", - "src": "8122:1:10", - "type": "", - "value": "0" - }, - "variables": [ - { - "name": "i", - "nodeType": "YulTypedName", - "src": "8117:1:10", - "type": "" - } - ] - }, { "body": { "nodeType": "YulBlock", - "src": "8182:63:10", + "src": "9539:22:11", "statements": [ { "expression": { - "arguments": [ - { - "arguments": [ - { - "name": "dst", - "nodeType": "YulIdentifier", - "src": "8207:3:10" - }, - { - "name": "i", - "nodeType": "YulIdentifier", - "src": "8212:1:10" - } - ], - "functionName": { - "name": "add", - "nodeType": "YulIdentifier", - "src": "8203:3:10" - }, - "nodeType": "YulFunctionCall", - "src": "8203:11:10" - }, - { - "arguments": [ - { - "arguments": [ - { - "name": "src", - "nodeType": "YulIdentifier", - "src": "8226:3:10" - }, - { - "name": "i", - "nodeType": "YulIdentifier", - "src": "8231:1:10" - } - ], - "functionName": { - "name": "add", - "nodeType": "YulIdentifier", - "src": "8222:3:10" - }, - "nodeType": "YulFunctionCall", - "src": "8222:11:10" - } - ], - "functionName": { - "name": "mload", - "nodeType": "YulIdentifier", - "src": "8216:5:10" - }, - "nodeType": "YulFunctionCall", - "src": "8216:18:10" - } - ], + "arguments": [], "functionName": { - "name": "mstore", + "name": "panic_error_0x11", "nodeType": "YulIdentifier", - "src": "8196:6:10" + "src": "9541:16:11" }, "nodeType": "YulFunctionCall", - "src": "8196:39:10" + "src": "9541:18:11" }, "nodeType": "YulExpressionStatement", - "src": "8196:39:10" + "src": "9541:18:11" } ] }, "condition": { "arguments": [ { - "name": "i", + "name": "x", "nodeType": "YulIdentifier", - "src": "8143:1:10" + "src": "9533:1:11" }, { - "name": "length", + "name": "y", "nodeType": "YulIdentifier", - "src": "8146:6:10" + "src": "9536:1:11" } ], "functionName": { "name": "lt", "nodeType": "YulIdentifier", - "src": "8140:2:10" + "src": "9530:2:11" }, "nodeType": "YulFunctionCall", - "src": "8140:13:10" - }, - "nodeType": "YulForLoop", - "post": { - "nodeType": "YulBlock", - "src": "8154:19:10", - "statements": [ - { - "nodeType": "YulAssignment", - "src": "8156:15:10", - "value": { - "arguments": [ - { - "name": "i", - "nodeType": "YulIdentifier", - "src": "8165:1:10" - }, - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "8168:2:10", - "type": "", - "value": "32" - } - ], - "functionName": { - "name": "add", - "nodeType": "YulIdentifier", - "src": "8161:3:10" - }, - "nodeType": "YulFunctionCall", - "src": "8161:10:10" - }, - "variableNames": [ - { - "name": "i", - "nodeType": "YulIdentifier", - "src": "8156:1:10" - } - ] - } - ] - }, - "pre": { - "nodeType": "YulBlock", - "src": "8136:3:10", - "statements": [] + "src": "9530:8:11" }, - "src": "8132:113:10" + "nodeType": "YulIf", + "src": "9527:34:11" }, { - "body": { - "nodeType": "YulBlock", - "src": "8271:31:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "name": "dst", - "nodeType": "YulIdentifier", - "src": "8284:3:10" - }, - { - "name": "length", - "nodeType": "YulIdentifier", - "src": "8289:6:10" - } - ], - "functionName": { - "name": "add", - "nodeType": "YulIdentifier", - "src": "8280:3:10" - }, - "nodeType": "YulFunctionCall", - "src": "8280:16:10" - }, - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "8298:1:10", - "type": "", - "value": "0" - } - ], - "functionName": { - "name": "mstore", - "nodeType": "YulIdentifier", - "src": "8273:6:10" - }, - "nodeType": "YulFunctionCall", - "src": "8273:27:10" - }, - "nodeType": "YulExpressionStatement", - "src": "8273:27:10" - } - ] - }, - "condition": { + "nodeType": "YulAssignment", + "src": "9570:17:11", + "value": { "arguments": [ { - "name": "i", + "name": "x", "nodeType": "YulIdentifier", - "src": "8260:1:10" + "src": "9582:1:11" }, { - "name": "length", + "name": "y", "nodeType": "YulIdentifier", - "src": "8263:6:10" + "src": "9585:1:11" } ], "functionName": { - "name": "gt", + "name": "sub", "nodeType": "YulIdentifier", - "src": "8257:2:10" + "src": "9578:3:11" }, "nodeType": "YulFunctionCall", - "src": "8257:13:10" + "src": "9578:9:11" }, - "nodeType": "YulIf", - "src": "8254:2:10" + "variableNames": [ + { + "name": "diff", + "nodeType": "YulIdentifier", + "src": "9570:4:11" + } + ] } ] }, - "name": "copy_memory_to_memory", + "name": "checked_sub_t_uint256", "nodeType": "YulFunctionDefinition", "parameters": [ { - "name": "src", + "name": "x", "nodeType": "YulTypedName", - "src": "8081:3:10", + "src": "9499:1:11", "type": "" }, { - "name": "dst", + "name": "y", "nodeType": "YulTypedName", - "src": "8086:3:10", + "src": "9502:1:11", "type": "" - }, + } + ], + "returnVariables": [ { - "name": "length", + "name": "diff", "nodeType": "YulTypedName", - "src": "8091:6:10", + "src": "9508:4:11", "type": "" } ], - "src": "8050:258:10" + "src": "9468:125:11" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "9630:152:11", + "statements": [ + { + "expression": { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "9647:1:11", + "type": "", + "value": "0" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "9650:77:11", + "type": "", + "value": "35408467139433450592217433187231851964531694900788300625387963629091585785856" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "9640:6:11" + }, + "nodeType": "YulFunctionCall", + "src": "9640:88:11" + }, + "nodeType": "YulExpressionStatement", + "src": "9640:88:11" + }, + { + "expression": { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "9744:1:11", + "type": "", + "value": "4" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "9747:4:11", + "type": "", + "value": "0x31" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "9737:6:11" + }, + "nodeType": "YulFunctionCall", + "src": "9737:15:11" + }, + "nodeType": "YulExpressionStatement", + "src": "9737:15:11" + }, + { + "expression": { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "9768:1:11", + "type": "", + "value": "0" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "9771:4:11", + "type": "", + "value": "0x24" + } + ], + "functionName": { + "name": "revert", + "nodeType": "YulIdentifier", + "src": "9761:6:11" + }, + "nodeType": "YulFunctionCall", + "src": "9761:15:11" + }, + "nodeType": "YulExpressionStatement", + "src": "9761:15:11" + } + ] + }, + "name": "panic_error_0x31", + "nodeType": "YulFunctionDefinition", + "src": "9598:184:11" } ] }, - "contents": "{\n { }\n function abi_encode_t_address(value, pos)\n {\n mstore(pos, and(value, 0xffffffffffffffffffffffffffffffffffffffff))\n }\n function abi_encode_t_bytes(value, pos) -> end\n {\n let length := mload(value)\n mstore(pos, length)\n copy_memory_to_memory(add(value, 0x20), add(pos, 0x20), length)\n end := add(add(pos, and(add(length, 31), 0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0)), 0x20)\n }\n function abi_encode_tuple_packed_t_bytes_memory_ptr__to_t_bytes_memory_ptr__nonPadded_inplace_fromStack_reversed(pos, value0) -> end\n {\n let length := mload(value0)\n copy_memory_to_memory(add(value0, 0x20), pos, length)\n end := add(pos, length)\n }\n function abi_encode_tuple_t_array$_t_struct$_FacetCut_$679_memory_ptr_$dyn_memory_ptr_t_address_t_bytes_memory_ptr__to_t_array$_t_struct$_FacetCut_$679_memory_ptr_$dyn_memory_ptr_t_address_t_bytes_memory_ptr__fromStack_reversed(headStart, value2, value1, value0) -> tail\n {\n let _1 := 96\n let tail_1 := add(headStart, _1)\n mstore(headStart, _1)\n let pos := tail_1\n let length := mload(value0)\n mstore(tail_1, length)\n let _2 := 128\n pos := add(headStart, _2)\n let _3 := 0x20\n let tail_2 := add(add(headStart, mul(length, _3)), _2)\n let srcPtr := add(value0, _3)\n let i := tail\n for { } lt(i, length) { i := add(i, 1) }\n {\n mstore(pos, add(sub(tail_2, headStart), 0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff80))\n let _4 := mload(srcPtr)\n let tail_3 := add(tail_2, _1)\n mstore(tail_2, and(mload(_4), 0xffffffffffffffffffffffffffffffffffffffff))\n let memberValue0 := mload(add(_4, _3))\n if iszero(lt(memberValue0, 3)) { invalid() }\n mstore(add(tail_2, _3), memberValue0)\n let _5 := 0x40\n let memberValue0_1 := mload(add(_4, _5))\n mstore(add(tail_2, _5), _1)\n let pos_1 := tail_3\n let length_1 := mload(memberValue0_1)\n mstore(tail_3, length_1)\n pos_1 := add(tail_2, _2)\n let srcPtr_1 := add(memberValue0_1, _3)\n let i_1 := tail\n for { } lt(i_1, length_1) { i_1 := add(i_1, 1) }\n {\n mstore(pos_1, and(mload(srcPtr_1), 0xffffffff00000000000000000000000000000000000000000000000000000000))\n pos_1 := add(pos_1, _3)\n srcPtr_1 := add(srcPtr_1, _3)\n }\n tail_2 := pos_1\n srcPtr := add(srcPtr, _3)\n pos := add(pos, _3)\n }\n abi_encode_t_address(value1, add(headStart, _3))\n mstore(add(headStart, 0x40), sub(tail_2, headStart))\n tail := abi_encode_t_bytes(value2, tail_2)\n }\n function abi_encode_tuple_t_string_memory_ptr__to_t_string_memory_ptr__fromStack_reversed(headStart, value0) -> tail\n {\n mstore(headStart, 32)\n tail := abi_encode_t_bytes(value0, add(headStart, 32))\n }\n function abi_encode_tuple_t_stringliteral_046c761a688d1dc3c500562bc5aaa3544f01f394f9bb3b69aa2a950a45afb1f8__to_t_string_memory_ptr__fromStack_reversed(headStart) -> tail\n {\n mstore(headStart, 32)\n mstore(add(headStart, 32), 60)\n mstore(add(headStart, 64), \"LibDiamondCut: _init is address(\")\n mstore(add(headStart, 96), \"0) but_calldata is not empty\")\n tail := add(headStart, 128)\n }\n function abi_encode_tuple_t_stringliteral_080b2fe78815767d522290509c8fce2af708c8a54455ca1b0cc978c92822465d__to_t_string_memory_ptr__fromStack_reversed(headStart) -> tail\n {\n mstore(headStart, 32)\n mstore(add(headStart, 32), 38)\n mstore(add(headStart, 64), \"LibDiamondCut: _init function re\")\n mstore(add(headStart, 96), \"verted\")\n tail := add(headStart, 128)\n }\n function abi_encode_tuple_t_stringliteral_1ffc682bcfedefd5e93ba9ed0c2d1bc0b18319886e3b4bd28a03a3d3729f85c0__to_t_string_memory_ptr__fromStack_reversed(headStart) -> tail\n {\n mstore(headStart, 32)\n mstore(add(headStart, 32), 43)\n mstore(add(headStart, 64), \"LibDiamondCut: No selectors in f\")\n mstore(add(headStart, 96), \"acet to cut\")\n tail := add(headStart, 128)\n }\n function abi_encode_tuple_t_stringliteral_2c590e498c4d56c984a7092fd5e89a68b9f4541ce9f97252fb74e44a00ffbb71__to_t_string_memory_ptr__fromStack_reversed(headStart) -> tail\n {\n mstore(headStart, 32)\n mstore(add(headStart, 32), 55)\n mstore(add(headStart, 64), \"LibDiamondCut: Can't remove func\")\n mstore(add(headStart, 96), \"tion that doesn't exist\")\n tail := add(headStart, 128)\n }\n function abi_encode_tuple_t_stringliteral_48267d8daf5ea9c6bbad1fe9c53dc4c04a2a01b2b85bad432956cf42f45b2f54__to_t_string_memory_ptr__fromStack_reversed(headStart) -> tail\n {\n mstore(headStart, 32)\n mstore(add(headStart, 32), 39)\n mstore(add(headStart, 64), \"LibDiamondCut: Incorrect FacetCu\")\n mstore(add(headStart, 96), \"tAction\")\n tail := add(headStart, 128)\n }\n function abi_encode_tuple_t_stringliteral_64609d8b93c93a06b98d7db7a87b04044cd4a52c5661d603bb9b90ad8b914a3a__to_t_string_memory_ptr__fromStack_reversed(headStart) -> tail\n {\n mstore(headStart, 32)\n mstore(add(headStart, 32), 44)\n mstore(add(headStart, 64), \"LibDiamondCut: Add facet can't b\")\n mstore(add(headStart, 96), \"e address(0)\")\n tail := add(headStart, 128)\n }\n function abi_encode_tuple_t_stringliteral_6e6486aeb9db70da259b7171a739046119facaec2d8a6bd46f1145fe8391014a__to_t_string_memory_ptr__fromStack_reversed(headStart) -> tail\n {\n mstore(headStart, 32)\n mstore(add(headStart, 32), 32)\n mstore(add(headStart, 64), \"Diamond: Function does not exist\")\n tail := add(headStart, 96)\n }\n function abi_encode_tuple_t_stringliteral_868d165ec2461661b624442252aed6a645399bfae7b60083a77ea1b61b084042__to_t_string_memory_ptr__fromStack_reversed(headStart) -> tail\n {\n mstore(headStart, 32)\n mstore(add(headStart, 32), 61)\n mstore(add(headStart, 64), \"LibDiamondCut: _calldata is empt\")\n mstore(add(headStart, 96), \"y but _init is not address(0)\")\n tail := add(headStart, 128)\n }\n function abi_encode_tuple_t_stringliteral_8ba063dfaa4be2d2cbe73dbb1364728b0f7031ac048441d5fad19e9541992b21__to_t_string_memory_ptr__fromStack_reversed(headStart) -> tail\n {\n mstore(headStart, 32)\n mstore(add(headStart, 32), 46)\n mstore(add(headStart, 64), \"LibDiamondCut: Can't remove immu\")\n mstore(add(headStart, 96), \"table function\")\n tail := add(headStart, 128)\n }\n function abi_encode_tuple_t_stringliteral_99a7418ee014d613f46da44561258cdbb58064508097483a319062b99fa37700__to_t_string_memory_ptr__fromStack_reversed(headStart) -> tail\n {\n mstore(headStart, 32)\n mstore(add(headStart, 32), 53)\n mstore(add(headStart, 64), \"LibDiamondCut: Can't add functio\")\n mstore(add(headStart, 96), \"n that already exists\")\n tail := add(headStart, 128)\n }\n function abi_encode_tuple_t_stringliteral_b5a7112edf707196456f338fdcc19cd849be6cb8c0d166bcd035f4cfb00e7078__to_t_string_memory_ptr__fromStack_reversed(headStart) -> tail\n {\n mstore(headStart, 32)\n mstore(add(headStart, 32), 56)\n mstore(add(headStart, 64), \"LibDiamondCut: Can't replace fun\")\n mstore(add(headStart, 96), \"ction with same function\")\n tail := add(headStart, 128)\n }\n function abi_encode_tuple_t_stringliteral_b739aae768f79b96e91d9f66398733516895e39eb09ee54a795b49dcc77504d4__to_t_string_memory_ptr__fromStack_reversed(headStart) -> tail\n {\n mstore(headStart, 32)\n mstore(add(headStart, 32), 54)\n mstore(add(headStart, 64), \"LibDiamondCut: Remove facet addr\")\n mstore(add(headStart, 96), \"ess must be address(0)\")\n tail := add(headStart, 128)\n }\n function copy_memory_to_memory(src, dst, length)\n {\n let i := 0\n for { } lt(i, length) { i := add(i, 32) }\n {\n mstore(add(dst, i), mload(add(src, i)))\n }\n if gt(i, length) { mstore(add(dst, length), 0) }\n }\n}", - "id": 10, + "contents": "{\n { }\n function abi_encode_tuple_t_stringliteral_6e6486aeb9db70da259b7171a739046119facaec2d8a6bd46f1145fe8391014a__to_t_string_memory_ptr__fromStack_reversed(headStart) -> tail\n {\n mstore(headStart, 32)\n mstore(add(headStart, 32), 32)\n mstore(add(headStart, 64), \"Diamond: Function does not exist\")\n tail := add(headStart, 96)\n }\n function panic_error_0x32()\n {\n mstore(0, 35408467139433450592217433187231851964531694900788300625387963629091585785856)\n mstore(4, 0x32)\n revert(0, 0x24)\n }\n function panic_error_0x21()\n {\n mstore(0, 35408467139433450592217433187231851964531694900788300625387963629091585785856)\n mstore(4, 0x21)\n revert(0, 0x24)\n }\n function abi_encode_tuple_t_stringliteral_48267d8daf5ea9c6bbad1fe9c53dc4c04a2a01b2b85bad432956cf42f45b2f54__to_t_string_memory_ptr__fromStack_reversed(headStart) -> tail\n {\n mstore(headStart, 32)\n mstore(add(headStart, 32), 39)\n mstore(add(headStart, 64), \"LibDiamondCut: Incorrect FacetCu\")\n mstore(add(headStart, 96), \"tAction\")\n tail := add(headStart, 128)\n }\n function panic_error_0x11()\n {\n mstore(0, 35408467139433450592217433187231851964531694900788300625387963629091585785856)\n mstore(4, 0x11)\n revert(0, 0x24)\n }\n function increment_t_uint256(value) -> ret\n {\n if eq(value, 0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff) { panic_error_0x11() }\n ret := add(value, 1)\n }\n function abi_encode_address(value, pos)\n {\n mstore(pos, and(value, 0xffffffffffffffffffffffffffffffffffffffff))\n }\n function copy_memory_to_memory(src, dst, length)\n {\n let i := 0\n for { } lt(i, length) { i := add(i, 32) }\n {\n mstore(add(dst, i), mload(add(src, i)))\n }\n if gt(i, length) { mstore(add(dst, length), 0) }\n }\n function abi_encode_bytes(value, pos) -> end\n {\n let length := mload(value)\n mstore(pos, length)\n copy_memory_to_memory(add(value, 0x20), add(pos, 0x20), length)\n end := add(add(pos, and(add(length, 31), 0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0)), 0x20)\n }\n function abi_encode_tuple_t_array$_t_struct$_FacetCut_$711_memory_ptr_$dyn_memory_ptr_t_address_t_bytes_memory_ptr__to_t_array$_t_struct$_FacetCut_$711_memory_ptr_$dyn_memory_ptr_t_address_t_bytes_memory_ptr__fromStack_reversed(headStart, value2, value1, value0) -> tail\n {\n let _1 := 96\n let tail_1 := add(headStart, _1)\n mstore(headStart, _1)\n let pos := tail_1\n let length := mload(value0)\n mstore(tail_1, length)\n let _2 := 128\n pos := add(headStart, _2)\n let tail_2 := add(add(headStart, shl(5, length)), _2)\n let _3 := 0x20\n let srcPtr := add(value0, _3)\n let i := 0\n for { } lt(i, length) { i := add(i, 1) }\n {\n mstore(pos, add(sub(tail_2, headStart), 0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff80))\n let _4 := mload(srcPtr)\n let tail_3 := add(tail_2, _1)\n mstore(tail_2, and(mload(_4), 0xffffffffffffffffffffffffffffffffffffffff))\n let memberValue0 := mload(add(_4, _3))\n if iszero(lt(memberValue0, 3))\n {\n mstore(0, 35408467139433450592217433187231851964531694900788300625387963629091585785856)\n mstore(4, 0x21)\n revert(0, 0x24)\n }\n mstore(add(tail_2, _3), memberValue0)\n let _5 := 0x40\n let memberValue0_1 := mload(add(_4, _5))\n mstore(add(tail_2, _5), _1)\n let pos_1 := tail_3\n let length_1 := mload(memberValue0_1)\n mstore(tail_3, length_1)\n pos_1 := add(tail_2, _2)\n let srcPtr_1 := add(memberValue0_1, _3)\n let i_1 := 0\n for { } lt(i_1, length_1) { i_1 := add(i_1, 1) }\n {\n mstore(pos_1, and(mload(srcPtr_1), 0xffffffff00000000000000000000000000000000000000000000000000000000))\n pos_1 := add(pos_1, _3)\n srcPtr_1 := add(srcPtr_1, _3)\n }\n tail_2 := pos_1\n srcPtr := add(srcPtr, _3)\n pos := add(pos, _3)\n }\n abi_encode_address(value1, add(headStart, _3))\n mstore(add(headStart, 0x40), sub(tail_2, headStart))\n tail := abi_encode_bytes(value2, tail_2)\n }\n function abi_encode_tuple_t_stringliteral_1ffc682bcfedefd5e93ba9ed0c2d1bc0b18319886e3b4bd28a03a3d3729f85c0__to_t_string_memory_ptr__fromStack_reversed(headStart) -> tail\n {\n mstore(headStart, 32)\n mstore(add(headStart, 32), 43)\n mstore(add(headStart, 64), \"LibDiamondCut: No selectors in f\")\n mstore(add(headStart, 96), \"acet to cut\")\n tail := add(headStart, 128)\n }\n function abi_encode_tuple_t_stringliteral_64609d8b93c93a06b98d7db7a87b04044cd4a52c5661d603bb9b90ad8b914a3a__to_t_string_memory_ptr__fromStack_reversed(headStart) -> tail\n {\n mstore(headStart, 32)\n mstore(add(headStart, 32), 44)\n mstore(add(headStart, 64), \"LibDiamondCut: Add facet can't b\")\n mstore(add(headStart, 96), \"e address(0)\")\n tail := add(headStart, 128)\n }\n function abi_encode_tuple_t_stringliteral_99a7418ee014d613f46da44561258cdbb58064508097483a319062b99fa37700__to_t_string_memory_ptr__fromStack_reversed(headStart) -> tail\n {\n mstore(headStart, 32)\n mstore(add(headStart, 32), 53)\n mstore(add(headStart, 64), \"LibDiamondCut: Can't add functio\")\n mstore(add(headStart, 96), \"n that already exists\")\n tail := add(headStart, 128)\n }\n function increment_t_uint96(value) -> ret\n {\n let _1 := 0xffffffffffffffffffffffff\n let value_1 := and(value, _1)\n if eq(value_1, _1) { panic_error_0x11() }\n ret := add(value_1, 1)\n }\n function abi_encode_tuple_t_stringliteral_b5a7112edf707196456f338fdcc19cd849be6cb8c0d166bcd035f4cfb00e7078__to_t_string_memory_ptr__fromStack_reversed(headStart) -> tail\n {\n mstore(headStart, 32)\n mstore(add(headStart, 32), 56)\n mstore(add(headStart, 64), \"LibDiamondCut: Can't replace fun\")\n mstore(add(headStart, 96), \"ction with same function\")\n tail := add(headStart, 128)\n }\n function abi_encode_tuple_t_stringliteral_b739aae768f79b96e91d9f66398733516895e39eb09ee54a795b49dcc77504d4__to_t_string_memory_ptr__fromStack_reversed(headStart) -> tail\n {\n mstore(headStart, 32)\n mstore(add(headStart, 32), 54)\n mstore(add(headStart, 64), \"LibDiamondCut: Remove facet addr\")\n mstore(add(headStart, 96), \"ess must be address(0)\")\n tail := add(headStart, 128)\n }\n function abi_encode_tuple_t_stringliteral_046c761a688d1dc3c500562bc5aaa3544f01f394f9bb3b69aa2a950a45afb1f8__to_t_string_memory_ptr__fromStack_reversed(headStart) -> tail\n {\n mstore(headStart, 32)\n mstore(add(headStart, 32), 60)\n mstore(add(headStart, 64), \"LibDiamondCut: _init is address(\")\n mstore(add(headStart, 96), \"0) but_calldata is not empty\")\n tail := add(headStart, 128)\n }\n function abi_encode_tuple_t_stringliteral_868d165ec2461661b624442252aed6a645399bfae7b60083a77ea1b61b084042__to_t_string_memory_ptr__fromStack_reversed(headStart) -> tail\n {\n mstore(headStart, 32)\n mstore(add(headStart, 32), 61)\n mstore(add(headStart, 64), \"LibDiamondCut: _calldata is empt\")\n mstore(add(headStart, 96), \"y but _init is not address(0)\")\n tail := add(headStart, 128)\n }\n function abi_encode_tuple_packed_t_bytes_memory_ptr__to_t_bytes_memory_ptr__nonPadded_inplace_fromStack_reversed(pos, value0) -> end\n {\n let length := mload(value0)\n copy_memory_to_memory(add(value0, 0x20), pos, length)\n end := add(pos, length)\n }\n function abi_encode_tuple_t_string_memory_ptr__to_t_string_memory_ptr__fromStack_reversed(headStart, value0) -> tail\n {\n mstore(headStart, 32)\n tail := abi_encode_bytes(value0, add(headStart, 32))\n }\n function abi_encode_tuple_t_stringliteral_080b2fe78815767d522290509c8fce2af708c8a54455ca1b0cc978c92822465d__to_t_string_memory_ptr__fromStack_reversed(headStart) -> tail\n {\n mstore(headStart, 32)\n mstore(add(headStart, 32), 38)\n mstore(add(headStart, 64), \"LibDiamondCut: _init function re\")\n mstore(add(headStart, 96), \"verted\")\n tail := add(headStart, 128)\n }\n function abi_encode_tuple_t_stringliteral_2c590e498c4d56c984a7092fd5e89a68b9f4541ce9f97252fb74e44a00ffbb71__to_t_string_memory_ptr__fromStack_reversed(headStart) -> tail\n {\n mstore(headStart, 32)\n mstore(add(headStart, 32), 55)\n mstore(add(headStart, 64), \"LibDiamondCut: Can't remove func\")\n mstore(add(headStart, 96), \"tion that doesn't exist\")\n tail := add(headStart, 128)\n }\n function abi_encode_tuple_t_stringliteral_8ba063dfaa4be2d2cbe73dbb1364728b0f7031ac048441d5fad19e9541992b21__to_t_string_memory_ptr__fromStack_reversed(headStart) -> tail\n {\n mstore(headStart, 32)\n mstore(add(headStart, 32), 46)\n mstore(add(headStart, 64), \"LibDiamondCut: Can't remove immu\")\n mstore(add(headStart, 96), \"table function\")\n tail := add(headStart, 128)\n }\n function checked_sub_t_uint256(x, y) -> diff\n {\n if lt(x, y) { panic_error_0x11() }\n diff := sub(x, y)\n }\n function panic_error_0x31()\n {\n mstore(0, 35408467139433450592217433187231851964531694900788300625387963629091585785856)\n mstore(4, 0x31)\n revert(0, 0x24)\n }\n}", + "id": 11, "language": "Yul", "name": "#utility.yul" } ], "immutableReferences": {}, "linkReferences": {}, - "opcodes": "PUSH1 0x80 PUSH1 0x40 MSTORE CALLDATASIZE PUSH2 0xB JUMPI STOP JUMPDEST PUSH1 0x0 DUP1 CALLDATALOAD PUSH32 0xFFFFFFFF00000000000000000000000000000000000000000000000000000000 AND DUP2 MSTORE PUSH32 0xC8FCAD8DB84D3CC18B4C41D551EA0EE66DD599CDE068D998E57D5E09332C131C PUSH1 0x20 DUP2 SWAP1 MSTORE PUSH1 0x40 SWAP1 SWAP2 KECCAK256 SLOAD DUP2 SWAP1 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP1 PUSH2 0xB7 JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0xAE SWAP1 PUSH2 0x15F3 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST CALLDATASIZE PUSH1 0x0 DUP1 CALLDATACOPY PUSH1 0x0 DUP1 CALLDATASIZE PUSH1 0x0 DUP5 GAS DELEGATECALL RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY DUP1 DUP1 ISZERO PUSH2 0xD6 JUMPI RETURNDATASIZE PUSH1 0x0 RETURN JUMPDEST RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST PUSH1 0x0 JUMPDEST DUP4 MLOAD DUP2 LT ISZERO PUSH2 0x232 JUMPI PUSH1 0x0 DUP5 DUP3 DUP2 MLOAD DUP2 LT PUSH2 0xF5 JUMPI INVALID JUMPDEST PUSH1 0x20 MUL PUSH1 0x20 ADD ADD MLOAD PUSH1 0x20 ADD MLOAD SWAP1 POP PUSH1 0x0 PUSH1 0x2 DUP2 GT ISZERO PUSH2 0x110 JUMPI INVALID JUMPDEST DUP2 PUSH1 0x2 DUP2 GT ISZERO PUSH2 0x11C JUMPI INVALID JUMPDEST EQ ISZERO PUSH2 0x15F JUMPI PUSH2 0x15A DUP6 DUP4 DUP2 MLOAD DUP2 LT PUSH2 0x131 JUMPI INVALID JUMPDEST PUSH1 0x20 MUL PUSH1 0x20 ADD ADD MLOAD PUSH1 0x0 ADD MLOAD DUP7 DUP5 DUP2 MLOAD DUP2 LT PUSH2 0x149 JUMPI INVALID JUMPDEST PUSH1 0x20 MUL PUSH1 0x20 ADD ADD MLOAD PUSH1 0x40 ADD MLOAD PUSH2 0x326 JUMP JUMPDEST PUSH2 0x229 JUMP JUMPDEST PUSH1 0x1 DUP2 PUSH1 0x2 DUP2 GT ISZERO PUSH2 0x16D JUMPI INVALID JUMPDEST EQ ISZERO PUSH2 0x1AB JUMPI PUSH2 0x15A DUP6 DUP4 DUP2 MLOAD DUP2 LT PUSH2 0x182 JUMPI INVALID JUMPDEST PUSH1 0x20 MUL PUSH1 0x20 ADD ADD MLOAD PUSH1 0x0 ADD MLOAD DUP7 DUP5 DUP2 MLOAD DUP2 LT PUSH2 0x19A JUMPI INVALID JUMPDEST PUSH1 0x20 MUL PUSH1 0x20 ADD ADD MLOAD PUSH1 0x40 ADD MLOAD PUSH2 0x65E JUMP JUMPDEST PUSH1 0x2 DUP2 PUSH1 0x2 DUP2 GT ISZERO PUSH2 0x1B9 JUMPI INVALID JUMPDEST EQ ISZERO PUSH2 0x1F7 JUMPI PUSH2 0x15A DUP6 DUP4 DUP2 MLOAD DUP2 LT PUSH2 0x1CE JUMPI INVALID JUMPDEST PUSH1 0x20 MUL PUSH1 0x20 ADD ADD MLOAD PUSH1 0x0 ADD MLOAD DUP7 DUP5 DUP2 MLOAD DUP2 LT PUSH2 0x1E6 JUMPI INVALID JUMPDEST PUSH1 0x20 MUL PUSH1 0x20 ADD ADD MLOAD PUSH1 0x40 ADD MLOAD PUSH2 0x9AB JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0xAE SWAP1 PUSH2 0x1539 JUMP JUMPDEST POP PUSH1 0x1 ADD PUSH2 0xDE JUMP JUMPDEST POP PUSH32 0x8FAA70878671CCD212D20771B795C50AF8FD3FF6CF27F4BDE57E5D4DE0AEB673 DUP4 DUP4 DUP4 PUSH1 0x40 MLOAD PUSH2 0x266 SWAP4 SWAP3 SWAP2 SWAP1 PUSH2 0x1282 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 LOG1 PUSH2 0x278 DUP3 DUP3 PUSH2 0xACB JUMP JUMPDEST POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x287 PUSH2 0x302 JUMP JUMPDEST PUSH1 0x4 DUP2 ADD DUP1 SLOAD PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP6 DUP2 AND PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFF0000000000000000000000000000000000000000 DUP4 AND DUP2 OR SWAP1 SWAP4 SSTORE PUSH1 0x40 MLOAD SWAP4 SWAP5 POP AND SWAP2 DUP3 SWAP1 PUSH32 0x8BE0079C531659141344CD1FD0A4F28419497F9722A3DAAFE3B4186F6B6457E0 SWAP1 PUSH1 0x0 SWAP1 LOG3 POP POP POP JUMP JUMPDEST PUSH32 0xC8FCAD8DB84D3CC18B4C41D551EA0EE66DD599CDE068D998E57D5E09332C131C SWAP1 JUMP JUMPDEST PUSH1 0x0 DUP2 MLOAD GT PUSH2 0x361 JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0xAE SWAP1 PUSH2 0x147F JUMP JUMPDEST PUSH1 0x0 PUSH2 0x36B PUSH2 0x302 JUMP JUMPDEST SWAP1 POP PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP4 AND PUSH2 0x3BA JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0xAE SWAP1 PUSH2 0x1596 JUMP JUMPDEST PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP4 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x1 DUP3 ADD PUSH1 0x20 MSTORE PUSH1 0x40 SWAP1 KECCAK256 SLOAD PUSH2 0xFFFF DUP2 AND PUSH2 0x4AB JUMPI PUSH2 0x40D DUP5 PUSH1 0x40 MLOAD DUP1 PUSH1 0x60 ADD PUSH1 0x40 MSTORE DUP1 PUSH1 0x24 DUP2 MSTORE PUSH1 0x20 ADD PUSH2 0x184E PUSH1 0x24 SWAP2 CODECOPY PUSH2 0xC81 JUMP JUMPDEST PUSH1 0x2 DUP3 ADD DUP1 SLOAD PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP7 AND PUSH1 0x0 DUP2 DUP2 MSTORE PUSH1 0x1 DUP1 DUP8 ADD PUSH1 0x20 SWAP1 DUP2 MSTORE PUSH1 0x40 DUP4 KECCAK256 DUP3 ADD DUP1 SLOAD PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF0000 AND PUSH2 0xFFFF SWAP1 SWAP7 AND SWAP6 SWAP1 SWAP6 OR SWAP1 SWAP5 SSTORE DUP5 SLOAD SWAP1 DUP2 ADD DUP6 SSTORE SWAP4 DUP2 MSTORE SWAP2 SWAP1 SWAP2 KECCAK256 SWAP1 SWAP2 ADD DUP1 SLOAD PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFF0000000000000000000000000000000000000000 AND SWAP1 SWAP2 OR SWAP1 SSTORE JUMPDEST PUSH1 0x0 JUMPDEST DUP4 MLOAD DUP2 LT ISZERO PUSH2 0x657 JUMPI PUSH1 0x0 DUP5 DUP3 DUP2 MLOAD DUP2 LT PUSH2 0x4C5 JUMPI INVALID JUMPDEST PUSH1 0x20 SWAP1 DUP2 MUL SWAP2 SWAP1 SWAP2 ADD DUP2 ADD MLOAD PUSH32 0xFFFFFFFF00000000000000000000000000000000000000000000000000000000 DUP2 AND PUSH1 0x0 SWAP1 DUP2 MSTORE SWAP2 DUP7 SWAP1 MSTORE PUSH1 0x40 SWAP1 SWAP2 KECCAK256 SLOAD SWAP1 SWAP2 POP PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP1 ISZERO PUSH2 0x554 JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0xAE SWAP1 PUSH2 0x16E2 JUMP JUMPDEST POP PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP7 AND PUSH1 0x0 DUP2 DUP2 MSTORE PUSH1 0x1 DUP7 DUP2 ADD PUSH1 0x20 SWAP1 DUP2 MSTORE PUSH1 0x40 DUP1 DUP5 KECCAK256 DUP1 SLOAD DUP1 DUP6 ADD DUP3 SSTORE SWAP1 DUP6 MSTORE DUP3 DUP6 KECCAK256 PUSH1 0x8 DUP3 DIV ADD DUP1 SLOAD PUSH4 0xFFFFFFFF PUSH1 0x7 SWAP1 SWAP4 AND PUSH1 0x4 MUL PUSH2 0x100 EXP SWAP3 DUP4 MUL NOT AND PUSH1 0xE0 DUP10 SWAP1 SHR SWAP3 SWAP1 SWAP3 MUL SWAP2 SWAP1 SWAP2 OR SWAP1 SSTORE PUSH32 0xFFFFFFFF00000000000000000000000000000000000000000000000000000000 SWAP1 SWAP6 AND DUP4 MSTORE DUP8 SWAP1 MSTORE SWAP3 SWAP1 KECCAK256 DUP1 SLOAD PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFF0000000000000000000000000000000000000000 AND SWAP1 SWAP2 OR PUSH32 0xFFFFFFFFFFFFFFFFFFFF0000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH21 0x10000000000000000000000000000000000000000 PUSH2 0xFFFF DUP7 AND MUL OR SWAP1 SSTORE SWAP2 DUP3 ADD SWAP2 ADD PUSH2 0x4AE JUMP JUMPDEST POP POP POP POP POP JUMP JUMPDEST PUSH1 0x0 DUP2 MLOAD GT PUSH2 0x699 JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0xAE SWAP1 PUSH2 0x147F JUMP JUMPDEST PUSH1 0x0 PUSH2 0x6A3 PUSH2 0x302 JUMP JUMPDEST SWAP1 POP PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP4 AND PUSH2 0x6F2 JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0xAE SWAP1 PUSH2 0x1596 JUMP JUMPDEST PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP4 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x1 DUP3 ADD PUSH1 0x20 MSTORE PUSH1 0x40 SWAP1 KECCAK256 SLOAD PUSH2 0xFFFF DUP2 AND PUSH2 0x7E3 JUMPI PUSH2 0x745 DUP5 PUSH1 0x40 MLOAD DUP1 PUSH1 0x60 ADD PUSH1 0x40 MSTORE DUP1 PUSH1 0x24 DUP2 MSTORE PUSH1 0x20 ADD PUSH2 0x184E PUSH1 0x24 SWAP2 CODECOPY PUSH2 0xC81 JUMP JUMPDEST PUSH1 0x2 DUP3 ADD DUP1 SLOAD PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP7 AND PUSH1 0x0 DUP2 DUP2 MSTORE PUSH1 0x1 DUP1 DUP8 ADD PUSH1 0x20 SWAP1 DUP2 MSTORE PUSH1 0x40 DUP4 KECCAK256 DUP3 ADD DUP1 SLOAD PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF0000 AND PUSH2 0xFFFF SWAP1 SWAP7 AND SWAP6 SWAP1 SWAP6 OR SWAP1 SWAP5 SSTORE DUP5 SLOAD SWAP1 DUP2 ADD DUP6 SSTORE SWAP4 DUP2 MSTORE SWAP2 SWAP1 SWAP2 KECCAK256 SWAP1 SWAP2 ADD DUP1 SLOAD PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFF0000000000000000000000000000000000000000 AND SWAP1 SWAP2 OR SWAP1 SSTORE JUMPDEST PUSH1 0x0 JUMPDEST DUP4 MLOAD DUP2 LT ISZERO PUSH2 0x657 JUMPI PUSH1 0x0 DUP5 DUP3 DUP2 MLOAD DUP2 LT PUSH2 0x7FD JUMPI INVALID JUMPDEST PUSH1 0x20 SWAP1 DUP2 MUL SWAP2 SWAP1 SWAP2 ADD DUP2 ADD MLOAD PUSH32 0xFFFFFFFF00000000000000000000000000000000000000000000000000000000 DUP2 AND PUSH1 0x0 SWAP1 DUP2 MSTORE SWAP2 DUP7 SWAP1 MSTORE PUSH1 0x40 SWAP1 SWAP2 KECCAK256 SLOAD SWAP1 SWAP2 POP PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF SWAP1 DUP2 AND SWAP1 DUP8 AND DUP2 EQ ISZERO PUSH2 0x892 JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0xAE SWAP1 PUSH2 0x173F JUMP JUMPDEST PUSH2 0x89C DUP2 DUP4 PUSH2 0xCBC JUMP JUMPDEST POP PUSH32 0xFFFFFFFF00000000000000000000000000000000000000000000000000000000 DUP2 AND PUSH1 0x0 DUP2 DUP2 MSTORE PUSH1 0x20 DUP7 DUP2 MSTORE PUSH1 0x40 DUP1 DUP4 KECCAK256 DUP1 SLOAD PUSH32 0xFFFFFFFFFFFFFFFFFFFF0000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH21 0x10000000000000000000000000000000000000000 PUSH2 0xFFFF DUP11 AND MUL OR DUP2 SSTORE PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP12 AND DUP1 DUP6 MSTORE PUSH1 0x1 DUP1 DUP12 ADD DUP6 MSTORE SWAP3 DUP6 KECCAK256 DUP1 SLOAD DUP1 DUP6 ADD DUP3 SSTORE SWAP1 DUP7 MSTORE DUP5 DUP7 KECCAK256 PUSH1 0x8 DUP3 DIV ADD DUP1 SLOAD PUSH4 0xFFFFFFFF PUSH1 0x7 SWAP1 SWAP4 AND PUSH1 0x4 MUL PUSH2 0x100 EXP SWAP3 DUP4 MUL NOT AND PUSH1 0xE0 SWAP10 SWAP1 SWAP10 SHR SWAP2 SWAP1 SWAP2 MUL SWAP8 SWAP1 SWAP8 OR SWAP1 SWAP7 SSTORE SWAP4 SWAP1 SWAP3 MSTORE DUP7 SWAP1 MSTORE DUP2 SLOAD PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFF0000000000000000000000000000000000000000 AND SWAP1 SWAP3 OR SWAP1 SSTORE SWAP2 DUP3 ADD SWAP2 ADD PUSH2 0x7E6 JUMP JUMPDEST PUSH1 0x0 DUP2 MLOAD GT PUSH2 0x9E6 JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0xAE SWAP1 PUSH2 0x147F JUMP JUMPDEST PUSH1 0x0 PUSH2 0x9F0 PUSH2 0x302 JUMP JUMPDEST SWAP1 POP PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP4 AND ISZERO PUSH2 0xA40 JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0xAE SWAP1 PUSH2 0x179C JUMP JUMPDEST PUSH1 0x0 JUMPDEST DUP3 MLOAD DUP2 LT ISZERO PUSH2 0xAC5 JUMPI PUSH1 0x0 DUP4 DUP3 DUP2 MLOAD DUP2 LT PUSH2 0xA5A JUMPI INVALID JUMPDEST PUSH1 0x20 SWAP1 DUP2 MUL SWAP2 SWAP1 SWAP2 ADD DUP2 ADD MLOAD PUSH32 0xFFFFFFFF00000000000000000000000000000000000000000000000000000000 DUP2 AND PUSH1 0x0 SWAP1 DUP2 MSTORE SWAP2 DUP6 SWAP1 MSTORE PUSH1 0x40 SWAP1 SWAP2 KECCAK256 SLOAD SWAP1 SWAP2 POP PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH2 0xABB DUP2 DUP4 PUSH2 0xCBC JUMP JUMPDEST POP POP PUSH1 0x1 ADD PUSH2 0xA43 JUMP JUMPDEST POP POP POP POP JUMP JUMPDEST PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP3 AND PUSH2 0xB24 JUMPI DUP1 MLOAD ISZERO PUSH2 0xB1F JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0xAE SWAP1 PUSH2 0x13C5 JUMP JUMPDEST PUSH2 0xC7D JUMP JUMPDEST PUSH1 0x0 DUP2 MLOAD GT PUSH2 0xB5F JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0xAE SWAP1 PUSH2 0x1628 JUMP JUMPDEST PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP3 AND ADDRESS EQ PUSH2 0xB9E JUMPI PUSH2 0xB9E DUP3 PUSH1 0x40 MLOAD DUP1 PUSH1 0x60 ADD PUSH1 0x40 MSTORE DUP1 PUSH1 0x28 DUP2 MSTORE PUSH1 0x20 ADD PUSH2 0x1826 PUSH1 0x28 SWAP2 CODECOPY PUSH2 0xC81 JUMP JUMPDEST PUSH1 0x0 DUP1 DUP4 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP4 PUSH1 0x40 MLOAD PUSH2 0xBC6 SWAP2 SWAP1 PUSH2 0x1266 JUMP JUMPDEST PUSH1 0x0 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP6 GAS DELEGATECALL SWAP2 POP POP RETURNDATASIZE DUP1 PUSH1 0x0 DUP2 EQ PUSH2 0xC01 JUMPI PUSH1 0x40 MLOAD SWAP2 POP PUSH1 0x1F NOT PUSH1 0x3F RETURNDATASIZE ADD AND DUP3 ADD PUSH1 0x40 MSTORE RETURNDATASIZE DUP3 MSTORE RETURNDATASIZE PUSH1 0x0 PUSH1 0x20 DUP5 ADD RETURNDATACOPY PUSH2 0xC06 JUMP JUMPDEST PUSH1 0x60 SWAP2 POP JUMPDEST POP SWAP2 POP SWAP2 POP DUP2 PUSH2 0xAC5 JUMPI DUP1 MLOAD ISZERO PUSH2 0xC4B JUMPI DUP1 PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0xAE SWAP2 SWAP1 PUSH2 0x13AB JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0xAE SWAP1 PUSH2 0x1422 JUMP JUMPDEST POP POP JUMP JUMPDEST DUP2 EXTCODESIZE DUP2 DUP2 PUSH2 0xAC5 JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0xAE SWAP2 SWAP1 PUSH2 0x13AB JUMP JUMPDEST PUSH1 0x0 PUSH2 0xCC6 PUSH2 0x302 JUMP JUMPDEST SWAP1 POP PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP4 AND PUSH2 0xD15 JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0xAE SWAP1 PUSH2 0x14DC JUMP JUMPDEST PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP4 AND ADDRESS EQ ISZERO PUSH2 0xD65 JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0xAE SWAP1 PUSH2 0x1685 JUMP JUMPDEST PUSH32 0xFFFFFFFF00000000000000000000000000000000000000000000000000000000 DUP3 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x20 DUP3 DUP2 MSTORE PUSH1 0x40 DUP1 DUP4 KECCAK256 SLOAD PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP8 AND DUP5 MSTORE PUSH1 0x1 DUP6 ADD SWAP1 SWAP3 MSTORE SWAP1 SWAP2 KECCAK256 SLOAD PUSH21 0x10000000000000000000000000000000000000000 SWAP1 SWAP2 DIV PUSH2 0xFFFF AND SWAP1 PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF ADD DUP1 DUP3 EQ PUSH2 0xF37 JUMPI PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP6 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x1 DUP5 ADD PUSH1 0x20 MSTORE PUSH1 0x40 DUP2 KECCAK256 DUP1 SLOAD DUP4 SWAP1 DUP2 LT PUSH2 0xE36 JUMPI INVALID JUMPDEST PUSH1 0x0 SWAP2 DUP3 MSTORE PUSH1 0x20 DUP1 DUP4 KECCAK256 PUSH1 0x8 DUP4 DIV ADD SLOAD PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP11 AND DUP5 MSTORE PUSH1 0x1 DUP9 ADD SWAP1 SWAP2 MSTORE PUSH1 0x40 SWAP1 SWAP3 KECCAK256 DUP1 SLOAD PUSH1 0x7 SWAP1 SWAP3 AND PUSH1 0x4 MUL PUSH2 0x100 EXP SWAP1 SWAP3 DIV PUSH1 0xE0 SHL SWAP3 POP DUP3 SWAP2 SWAP1 DUP6 SWAP1 DUP2 LT PUSH2 0xE8E JUMPI INVALID JUMPDEST PUSH1 0x0 SWAP2 DUP3 MSTORE PUSH1 0x20 DUP1 DUP4 KECCAK256 PUSH1 0x8 DUP4 DIV ADD DUP1 SLOAD PUSH4 0xFFFFFFFF PUSH1 0x7 SWAP1 SWAP5 AND PUSH1 0x4 MUL PUSH2 0x100 EXP SWAP4 DUP5 MUL NOT AND PUSH1 0xE0 SWAP6 SWAP1 SWAP6 SHR SWAP3 SWAP1 SWAP3 MUL SWAP4 SWAP1 SWAP4 OR SWAP1 SSTORE PUSH32 0xFFFFFFFF00000000000000000000000000000000000000000000000000000000 SWAP3 SWAP1 SWAP3 AND DUP3 MSTORE DUP5 SWAP1 MSTORE PUSH1 0x40 SWAP1 KECCAK256 DUP1 SLOAD PUSH32 0xFFFFFFFFFFFFFFFFFFFF0000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH21 0x10000000000000000000000000000000000000000 PUSH2 0xFFFF DUP6 AND MUL OR SWAP1 SSTORE JUMPDEST PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP6 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x1 DUP5 ADD PUSH1 0x20 MSTORE PUSH1 0x40 SWAP1 KECCAK256 DUP1 SLOAD DUP1 PUSH2 0xF67 JUMPI INVALID JUMPDEST PUSH1 0x0 DUP3 DUP2 MSTORE PUSH1 0x20 DUP1 DUP3 KECCAK256 PUSH1 0x8 PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF SWAP1 SWAP5 ADD SWAP4 DUP5 DIV ADD DUP1 SLOAD PUSH4 0xFFFFFFFF PUSH1 0x4 PUSH1 0x7 DUP8 AND MUL PUSH2 0x100 EXP MUL NOT AND SWAP1 SSTORE SWAP2 SWAP1 SWAP3 SSTORE PUSH32 0xFFFFFFFF00000000000000000000000000000000000000000000000000000000 DUP7 AND DUP3 MSTORE DUP5 SWAP1 MSTORE PUSH1 0x40 SWAP1 KECCAK256 DUP1 SLOAD PUSH32 0xFFFFFFFFFFFFFFFFFFFF00000000000000000000000000000000000000000000 AND SWAP1 SSTORE DUP1 PUSH2 0x657 JUMPI PUSH1 0x2 DUP4 ADD SLOAD PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP7 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x1 DUP6 DUP2 ADD PUSH1 0x20 MSTORE PUSH1 0x40 SWAP1 SWAP2 KECCAK256 ADD SLOAD PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF SWAP1 SWAP2 ADD SWAP1 PUSH2 0xFFFF AND DUP1 DUP3 EQ PUSH2 0x1143 JUMPI PUSH1 0x0 DUP6 PUSH1 0x2 ADD DUP4 DUP2 SLOAD DUP2 LT PUSH2 0x107E JUMPI INVALID JUMPDEST PUSH1 0x0 SWAP2 DUP3 MSTORE PUSH1 0x20 SWAP1 SWAP2 KECCAK256 ADD SLOAD PUSH1 0x2 DUP8 ADD DUP1 SLOAD PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF SWAP1 SWAP3 AND SWAP3 POP DUP3 SWAP2 DUP5 SWAP1 DUP2 LT PUSH2 0x10B6 JUMPI INVALID JUMPDEST PUSH1 0x0 SWAP2 DUP3 MSTORE PUSH1 0x20 DUP1 DUP4 KECCAK256 SWAP2 SWAP1 SWAP2 ADD DUP1 SLOAD PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFF0000000000000000000000000000000000000000 AND PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF SWAP5 DUP6 AND OR SWAP1 SSTORE SWAP3 SWAP1 SWAP2 AND DUP2 MSTORE PUSH1 0x1 DUP8 DUP2 ADD SWAP1 SWAP3 MSTORE PUSH1 0x40 SWAP1 KECCAK256 ADD DUP1 SLOAD PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF0000 AND PUSH2 0xFFFF DUP4 AND OR SWAP1 SSTORE JUMPDEST DUP5 PUSH1 0x2 ADD DUP1 SLOAD DUP1 PUSH2 0x1150 JUMPI INVALID JUMPDEST PUSH1 0x0 DUP3 DUP2 MSTORE PUSH1 0x20 DUP1 DUP3 KECCAK256 DUP4 ADD PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF SWAP1 DUP2 ADD DUP1 SLOAD PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFF0000000000000000000000000000000000000000 AND SWAP1 SSTORE SWAP1 SWAP3 ADD SWAP1 SWAP3 SSTORE PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP10 AND DUP3 MSTORE PUSH1 0x1 DUP8 DUP2 ADD SWAP1 SWAP2 MSTORE PUSH1 0x40 SWAP1 SWAP2 KECCAK256 ADD DUP1 SLOAD PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF0000 AND SWAP1 SSTORE POP POP POP POP POP POP POP JUMP JUMPDEST PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND SWAP1 MSTORE JUMP JUMPDEST PUSH1 0x0 DUP2 MLOAD DUP1 DUP5 MSTORE PUSH2 0x1234 DUP2 PUSH1 0x20 DUP7 ADD PUSH1 0x20 DUP7 ADD PUSH2 0x17F9 JUMP JUMPDEST PUSH1 0x1F ADD PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFE0 AND SWAP3 SWAP1 SWAP3 ADD PUSH1 0x20 ADD SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP3 MLOAD PUSH2 0x1278 DUP2 DUP5 PUSH1 0x20 DUP8 ADD PUSH2 0x17F9 JUMP JUMPDEST SWAP2 SWAP1 SWAP2 ADD SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x60 DUP1 DUP3 MSTORE DUP5 MLOAD DUP3 DUP3 ADD DUP2 SWAP1 MSTORE PUSH1 0x0 SWAP2 SWAP1 PUSH1 0x80 SWAP1 DUP2 DUP6 ADD SWAP1 PUSH1 0x20 DUP1 DUP3 MUL DUP8 ADD DUP5 ADD DUP2 DUP12 ADD DUP8 JUMPDEST DUP5 DUP2 LT ISZERO PUSH2 0x137C JUMPI PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF80 DUP11 DUP5 SUB ADD DUP7 MSTORE DUP2 MLOAD DUP9 DUP5 ADD PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP3 MLOAD AND DUP6 MSTORE DUP6 DUP3 ADD MLOAD PUSH1 0x3 DUP2 LT PUSH2 0x1304 JUMPI INVALID JUMPDEST DUP6 DUP8 ADD MSTORE PUSH1 0x40 SWAP2 DUP3 ADD MLOAD SWAP2 DUP6 ADD DUP11 SWAP1 MSTORE DUP2 MLOAD SWAP1 DUP2 SWAP1 MSTORE SWAP1 DUP6 ADD SWAP1 DUP11 SWAP1 DUP10 DUP7 ADD SWAP1 JUMPDEST DUP1 DUP4 LT ISZERO PUSH2 0x1367 JUMPI DUP4 MLOAD PUSH32 0xFFFFFFFF00000000000000000000000000000000000000000000000000000000 AND DUP3 MSTORE SWAP3 DUP8 ADD SWAP3 PUSH1 0x1 SWAP3 SWAP1 SWAP3 ADD SWAP2 SWAP1 DUP8 ADD SWAP1 PUSH2 0x1325 JUMP JUMPDEST POP SWAP8 DUP7 ADD SWAP8 SWAP5 POP POP POP SWAP1 DUP4 ADD SWAP1 PUSH1 0x1 ADD PUSH2 0x12A8 JUMP JUMPDEST POP POP PUSH2 0x138A DUP3 DUP10 ADD DUP12 PUSH2 0x1202 JUMP JUMPDEST DUP8 DUP2 SUB PUSH1 0x40 DUP10 ADD MSTORE PUSH2 0x139C DUP2 DUP11 PUSH2 0x121C JUMP JUMPDEST SWAP12 SWAP11 POP POP POP POP POP POP POP POP POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 MSTORE PUSH2 0x13BE PUSH1 0x20 DUP4 ADD DUP5 PUSH2 0x121C JUMP JUMPDEST SWAP4 SWAP3 POP POP POP JUMP JUMPDEST PUSH1 0x20 DUP1 DUP3 MSTORE PUSH1 0x3C SWAP1 DUP3 ADD MSTORE PUSH32 0x4C69624469616D6F6E644375743A205F696E6974206973206164647265737328 PUSH1 0x40 DUP3 ADD MSTORE PUSH32 0x3029206275745F63616C6C64617461206973206E6F7420656D70747900000000 PUSH1 0x60 DUP3 ADD MSTORE PUSH1 0x80 ADD SWAP1 JUMP JUMPDEST PUSH1 0x20 DUP1 DUP3 MSTORE PUSH1 0x26 SWAP1 DUP3 ADD MSTORE PUSH32 0x4C69624469616D6F6E644375743A205F696E69742066756E6374696F6E207265 PUSH1 0x40 DUP3 ADD MSTORE PUSH32 0x7665727465640000000000000000000000000000000000000000000000000000 PUSH1 0x60 DUP3 ADD MSTORE PUSH1 0x80 ADD SWAP1 JUMP JUMPDEST PUSH1 0x20 DUP1 DUP3 MSTORE PUSH1 0x2B SWAP1 DUP3 ADD MSTORE PUSH32 0x4C69624469616D6F6E644375743A204E6F2073656C6563746F727320696E2066 PUSH1 0x40 DUP3 ADD MSTORE PUSH32 0x6163657420746F20637574000000000000000000000000000000000000000000 PUSH1 0x60 DUP3 ADD MSTORE PUSH1 0x80 ADD SWAP1 JUMP JUMPDEST PUSH1 0x20 DUP1 DUP3 MSTORE PUSH1 0x37 SWAP1 DUP3 ADD MSTORE PUSH32 0x4C69624469616D6F6E644375743A2043616E27742072656D6F76652066756E63 PUSH1 0x40 DUP3 ADD MSTORE PUSH32 0x74696F6E207468617420646F65736E2774206578697374000000000000000000 PUSH1 0x60 DUP3 ADD MSTORE PUSH1 0x80 ADD SWAP1 JUMP JUMPDEST PUSH1 0x20 DUP1 DUP3 MSTORE PUSH1 0x27 SWAP1 DUP3 ADD MSTORE PUSH32 0x4C69624469616D6F6E644375743A20496E636F72726563742046616365744375 PUSH1 0x40 DUP3 ADD MSTORE PUSH32 0x74416374696F6E00000000000000000000000000000000000000000000000000 PUSH1 0x60 DUP3 ADD MSTORE PUSH1 0x80 ADD SWAP1 JUMP JUMPDEST PUSH1 0x20 DUP1 DUP3 MSTORE PUSH1 0x2C SWAP1 DUP3 ADD MSTORE PUSH32 0x4C69624469616D6F6E644375743A204164642066616365742063616E27742062 PUSH1 0x40 DUP3 ADD MSTORE PUSH32 0x6520616464726573732830290000000000000000000000000000000000000000 PUSH1 0x60 DUP3 ADD MSTORE PUSH1 0x80 ADD SWAP1 JUMP JUMPDEST PUSH1 0x20 DUP1 DUP3 MSTORE DUP2 DUP2 ADD MSTORE PUSH32 0x4469616D6F6E643A2046756E6374696F6E20646F6573206E6F74206578697374 PUSH1 0x40 DUP3 ADD MSTORE PUSH1 0x60 ADD SWAP1 JUMP JUMPDEST PUSH1 0x20 DUP1 DUP3 MSTORE PUSH1 0x3D SWAP1 DUP3 ADD MSTORE PUSH32 0x4C69624469616D6F6E644375743A205F63616C6C6461746120697320656D7074 PUSH1 0x40 DUP3 ADD MSTORE PUSH32 0x7920627574205F696E6974206973206E6F742061646472657373283029000000 PUSH1 0x60 DUP3 ADD MSTORE PUSH1 0x80 ADD SWAP1 JUMP JUMPDEST PUSH1 0x20 DUP1 DUP3 MSTORE PUSH1 0x2E SWAP1 DUP3 ADD MSTORE PUSH32 0x4C69624469616D6F6E644375743A2043616E27742072656D6F766520696D6D75 PUSH1 0x40 DUP3 ADD MSTORE PUSH32 0x7461626C652066756E6374696F6E000000000000000000000000000000000000 PUSH1 0x60 DUP3 ADD MSTORE PUSH1 0x80 ADD SWAP1 JUMP JUMPDEST PUSH1 0x20 DUP1 DUP3 MSTORE PUSH1 0x35 SWAP1 DUP3 ADD MSTORE PUSH32 0x4C69624469616D6F6E644375743A2043616E2774206164642066756E6374696F PUSH1 0x40 DUP3 ADD MSTORE PUSH32 0x6E207468617420616C7265616479206578697374730000000000000000000000 PUSH1 0x60 DUP3 ADD MSTORE PUSH1 0x80 ADD SWAP1 JUMP JUMPDEST PUSH1 0x20 DUP1 DUP3 MSTORE PUSH1 0x38 SWAP1 DUP3 ADD MSTORE PUSH32 0x4C69624469616D6F6E644375743A2043616E2774207265706C6163652066756E PUSH1 0x40 DUP3 ADD MSTORE PUSH32 0x6374696F6E20776974682073616D652066756E6374696F6E0000000000000000 PUSH1 0x60 DUP3 ADD MSTORE PUSH1 0x80 ADD SWAP1 JUMP JUMPDEST PUSH1 0x20 DUP1 DUP3 MSTORE PUSH1 0x36 SWAP1 DUP3 ADD MSTORE PUSH32 0x4C69624469616D6F6E644375743A2052656D6F76652066616365742061646472 PUSH1 0x40 DUP3 ADD MSTORE PUSH32 0x657373206D757374206265206164647265737328302900000000000000000000 PUSH1 0x60 DUP3 ADD MSTORE PUSH1 0x80 ADD SWAP1 JUMP JUMPDEST PUSH1 0x0 JUMPDEST DUP4 DUP2 LT ISZERO PUSH2 0x1814 JUMPI DUP2 DUP2 ADD MLOAD DUP4 DUP3 ADD MSTORE PUSH1 0x20 ADD PUSH2 0x17FC JUMP JUMPDEST DUP4 DUP2 GT ISZERO PUSH2 0xAC5 JUMPI POP POP PUSH1 0x0 SWAP2 ADD MSTORE JUMP INVALID 0x4C PUSH10 0x624469616D6F6E644375 PUSH21 0x3A205F696E6974206164647265737320686173206E PUSH16 0x20636F64654C69624469616D6F6E6443 PUSH22 0x743A204E657720666163657420686173206E6F20636F PUSH5 0x65A2646970 PUSH7 0x735822122054A3 0xC3 LOG1 XOR DUP1 CALLDATALOAD GASLIMIT 0x23 0x1F NUMBER PUSH17 0x30CB5E290869BE0182196A4A05E7D4A1 0xB7 SAR PUSH31 0x64736F6C634300070600330000000000000000000000000000000000000000 ", - "sourceMap": "626:1698:1:-:0;;;;;;;;1554:36;1771:7;;;;1741:38;;514:45:9;1741:38:1;;;;;;;;:51;514:45:9;;1741:51:1;;;1802:64;;;;;;;;;;;;:::i;:::-;;;;;;;;;1918:14;1915:1;1912;1899:34;2009:1;2006;1990:14;1987:1;1980:5;1973;1960:51;2045:16;2042:1;2039;2024:38;2082:6;2105:74;;;;2236:16;2233:1;2226:27;2105:74;2144:16;2141:1;2134:27;2584:1067:9;2740:18;2735:806;2773:11;:18;2760:10;:31;2735:806;;;2821:33;2857:11;2869:10;2857:23;;;;;;;;;;;;;;:30;;;2821:66;;2915:30;2905:40;;;;;;;;:6;:40;;;;;;;;;2901:630;;;2965:93;2978:11;2990:10;2978:23;;;;;;;;;;;;;;:36;;;3016:11;3028:10;3016:23;;;;;;;;;;;;;;:41;;;2965:12;:93::i;:::-;2901:630;;;3093:34;3083:6;:44;;;;;;;;;3079:452;;;3147:97;3164:11;3176:10;3164:23;;;;;;;;;;;;;;:36;;;3202:11;3214:10;3202:23;;;;;;;;;;;;;;:41;;;3147:16;:97::i;3079:452::-;3279:33;3269:6;:43;;;;;;;;;3265:266;;;3332:96;3348:11;3360:10;3348:23;;;;;;;;;;;;;;:36;;;3386:11;3398:10;3386:23;;;;;;;;;;;;;;:41;;;3332:15;:96::i;3265:266::-;3467:49;;;;;;;;;;:::i;3265:266::-;-1:-1:-1;2793:12:9;;2735:806;;;;3555:41;3566:11;3579:5;3586:9;3555:41;;;;;;;;:::i;:::-;;;;;;;;3606:38;3627:5;3634:9;3606:20;:38::i;:::-;2584:1067;;;:::o;1872:264::-;1936:25;1964:16;:14;:16::i;:::-;2014;;;;;;2040:28;;;;;;;;;;;2083:46;;1936:44;;-1:-1:-1;2014:16:9;;;;2083:46;;1990:21;;2083:46;1872:264;;;:::o;1579:197::-;514:45;;1727:43::o;3657:1551::-;3793:1;3765:18;:25;:29;3757:85;;;;;;;;;;;;:::i;:::-;3852:25;3880:16;:14;:16::i;:::-;3852:44;-1:-1:-1;3991:27:9;;;3983:84;;;;;;;;;;;;:::i;:::-;4110:40;;;4077:23;4110:40;;;:25;;;:40;;;;;:65;4244:21;;;4240:290;;4281:77;4304:13;4281:77;;;;;;;;;;;;;;;;;:22;:77::i;:::-;4443:17;;;:24;;4372:40;;;;;;;:25;;;;:40;;;;;;;:61;;:96;;;;;;;;;;;;;;;4482:37;;;;;;;;;;;;;;;;;;;;;;;;;;4240:290;4544:21;4539:663;4583:18;:25;4567:13;:41;4539:663;;;4641:15;4659:18;4678:13;4659:33;;;;;;;;;;;;;;;;;;;4732:39;;;4706:23;4732:39;;;;;;;;;;;:52;4659:33;;-1:-1:-1;4732:52:9;;4806:29;;4798:95;;;;;;;;;;;;:::i;:::-;-1:-1:-1;4907:40:9;;;;;;;:25;;;;:40;;;;;;;;:73;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4994:39;;;;;;;;;;;;:68;;;;;;;5076:83;;;;;;;;;;5173:18;;;;4610:15;4539:663;;;;3657:1551;;;;:::o;5214:1567::-;5354:1;5326:18;:25;:29;5318:85;;;;;;;;;;;;:::i;:::-;5413:25;5441:16;:14;:16::i;:::-;5413:44;-1:-1:-1;5475:27:9;;;5467:84;;;;;;;;;;;;:::i;:::-;5594:40;;;5561:23;5594:40;;;:25;;;:40;;;;;:65;5728:21;;;5724:290;;5765:77;5788:13;5765:77;;;;;;;;;;;;;;;;;:22;:77::i;:::-;5927:17;;;:24;;5856:40;;;;;;;:25;;;;:40;;;;;;;:61;;:96;;;;;;;;;;;;;;;5966:37;;;;;;;;;;;;;;;;;;;;;;;;;;5724:290;6028:21;6023:752;6067:18;:25;6051:13;:41;6023:752;;;6125:15;6143:18;6162:13;6143:33;;;;;;;;;;;;;;;;;;;6216:39;;;6190:23;6216:39;;;;;;;;;;;:52;6143:33;;-1:-1:-1;6216:52:9;;;;;6290:32;;;;;6282:101;;;;;;;;;;;;:::i;:::-;6397:41;6412:15;6429:8;6397:14;:41::i;:::-;-1:-1:-1;6480:39:9;;;:29;:39;;;;;;;;;;;:83;;;;;;;;;;;;6577:40;;;;;;-1:-1:-1;6577:25:9;;;:40;;;;;:73;;;;;;;;;;;;;;;;;;;;;;;;;;6480:83;6577:73;;;;;;;;;;;;;;;;;;;;;;6664:39;;;;;;;:68;;;;;;;;;6746:18;;;;6094:15;6023:752;;6787:738;6926:1;6898:18;:25;:29;6890:85;;;;;;;;;;;;:::i;:::-;6985:25;7013:16;:14;:16::i;:::-;6985:44;-1:-1:-1;7112:27:9;;;;7104:94;;;;;;;;;;;;:::i;:::-;7213:21;7208:311;7252:18;:25;7236:13;:41;7208:311;;;7310:15;7328:18;7347:13;7328:33;;;;;;;;;;;;;;;;;;;7401:39;;;7375:23;7401:39;;;;;;;;;;;:52;7328:33;;-1:-1:-1;7401:52:9;;7467:41;7401:52;7328:33;7467:14;:41::i;:::-;-1:-1:-1;;7279:15:9;;7208:311;;;;6787:738;;;:::o;9754:871::-;9846:19;;;9842:777;;9889:16;;:21;9881:94;;;;;;;;;;;;:::i;:::-;9842:777;;;10033:1;10014:9;:16;:20;10006:94;;;;;;;;;;;;:::i;:::-;10118:22;;;10135:4;10118:22;10114:134;;10160:73;10183:5;10160:73;;;;;;;;;;;;;;;;;:22;:73::i;:::-;10262:12;10276:18;10298:5;:18;;10317:9;10298:29;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;10261:66;;;;10346:7;10341:268;;10377:12;;:16;10373:222;;10474:5;10460:21;;;;;;;;;;;:::i;10373:222::-;10528:48;;;;;;;;;;:::i;9842:777::-;9754:871;;:::o;10631:261::-;10804:22;;10871:13;10853:16;10845:40;;;;;;;;;;;;;:::i;7531:2217::-;7615:25;7643:16;:14;:16::i;:::-;7615:44;-1:-1:-1;7677:27:9;;;7669:95;;;;;;;;;;;;:::i;:::-;7859:30;;;7884:4;7859:30;;7851:89;;;;;;;;;;;;:::i;:::-;8051:40;;;8024:24;8051:40;;;;;;;;;;;:65;8157:40;;;;;8225:1;8157:25;;:40;;;;;;:65;8051;;;;;;;8157:69;;8308:40;;;8304:387;;8386:40;;;8364:19;8386:40;;;:25;;;:40;;;;;:80;;8445:20;;8386:80;;;;;;;;;;;;;;;;;;;8480:40;;;;;:25;;;:40;;;;;;;:76;;8386:80;;;;;;;;;;;;;;-1:-1:-1;8386:80:9;;8480:40;8539:16;;8480:76;;;;;;;;;;;;;;;;;;:91;;;:76;;;;;;:91;;;;;;;;;;;;;;;;;;;;;;8585:43;;;;;;;;;;;;;:95;;;;;;;;;;;;8304:387;8736:40;;;;;;;:25;;;:40;;;;;:64;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8817:40;;;;;;;;;;;8810:47;;;;;;8952:25;8948:794;;9119:17;;;:24;9192:40;;;9084:32;9192:40;;;9146:1;9192:25;;;:40;;;;;;:61;;9119:28;;;;;9192:61;;9271:48;;;9267:346;;9339:24;9366:2;:17;;9384:24;9366:43;;;;;;;;;;;;;;;;;;9427:17;;;:39;;9366:43;;;;;-1:-1:-1;9366:43:9;;9445:20;;9427:39;;;;;;;;;;;;;;;;;;:58;;;;;;;;;;;9503:43;;;;;;-1:-1:-1;9503:25:9;;;:43;;;;;;:64;:95;;;;;;;;;;9267:346;9626:2;:17;;:23;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;9670:40;;;;9626:23;9670:25;;;:40;;;;;;;:61;9663:68;;;;;;-1:-1:-1;;7531:2217:9;;;;;:::o;14:129:10:-;93:42;82:54;70:67;;60:83::o;148:318::-;;229:5;223:12;256:6;251:3;244:19;272:63;328:6;321:4;316:3;312:14;305:4;298:5;294:16;272:63;:::i;:::-;380:2;368:15;385:66;364:88;355:98;;;;455:4;351:109;;199:267;-1:-1:-1;;199:267:10:o;471:274::-;;638:6;632:13;654:53;700:6;695:3;688:4;680:6;676:17;654:53;:::i;:::-;723:16;;;;;608:137;-1:-1:-1;;608:137:10:o;750:2100::-;1045:2;1097:21;;;1167:13;;1070:18;;;1189:22;;;750:2100;;1045:2;1230:3;;1249:18;;;;1286:4;1332:15;;;1317:31;;1313:40;;1376:15;;;750:2100;1422:1253;1436:6;1433:1;1430:13;1422:1253;;;1525:66;1513:9;1505:6;1501:22;1497:95;1492:3;1485:108;1622:6;1616:13;1668:2;1660:6;1656:15;1714:42;1709:2;1703:9;1699:58;1691:6;1684:74;1805:2;1801;1797:11;1791:18;1849:1;1835:12;1832:19;1822:2;;1855:9;1822:2;1886:15;;;1879:37;1939:4;1984:11;;;1978:18;2016:15;;;2009:27;;;2097:21;;2131:24;;;;2221:23;;;;2268:4;;2177:15;;;;2285:282;2301:8;2296:3;2293:17;2285:282;;;2382:15;;2399:66;2378:88;2364:103;;2536:17;;;;2329:1;2320:11;;;;;2493:14;;;;2285:282;;;-1:-1:-1;2653:12:10;;;;2590:5;-1:-1:-1;;;2618:15:10;;;;1458:1;1451:9;1422:1253;;;1426:3;;2684:48;2728:2;2717:9;2713:18;2705:6;2684:48;:::i;:::-;2782:9;2774:6;2770:22;2763:4;2752:9;2748:20;2741:52;2810:34;2837:6;2829;2810:34;:::i;:::-;2802:42;1025:1825;-1:-1:-1;;;;;;;;;;;1025:1825:10:o;2855:221::-;;3004:2;2993:9;2986:21;3024:46;3066:2;3055:9;3051:18;3043:6;3024:46;:::i;:::-;3016:54;2976:100;-1:-1:-1;;;2976:100:10:o;3081:424::-;3283:2;3265:21;;;3322:2;3302:18;;;3295:30;3361:34;3356:2;3341:18;;3334:62;3432:30;3427:2;3412:18;;3405:58;3495:3;3480:19;;3255:250::o;3510:402::-;3712:2;3694:21;;;3751:2;3731:18;;;3724:30;3790:34;3785:2;3770:18;;3763:62;3861:8;3856:2;3841:18;;3834:36;3902:3;3887:19;;3684:228::o;3917:407::-;4119:2;4101:21;;;4158:2;4138:18;;;4131:30;4197:34;4192:2;4177:18;;4170:62;4268:13;4263:2;4248:18;;4241:41;4314:3;4299:19;;4091:233::o;4329:419::-;4531:2;4513:21;;;4570:2;4550:18;;;4543:30;4609:34;4604:2;4589:18;;4582:62;4680:25;4675:2;4660:18;;4653:53;4738:3;4723:19;;4503:245::o;4753:403::-;4955:2;4937:21;;;4994:2;4974:18;;;4967:30;5033:34;5028:2;5013:18;;5006:62;5104:9;5099:2;5084:18;;5077:37;5146:3;5131:19;;4927:229::o;5161:408::-;5363:2;5345:21;;;5402:2;5382:18;;;5375:30;5441:34;5436:2;5421:18;;5414:62;5512:14;5507:2;5492:18;;5485:42;5559:3;5544:19;;5335:234::o;5574:356::-;5776:2;5758:21;;;5795:18;;;5788:30;5854:34;5849:2;5834:18;;5827:62;5921:2;5906:18;;5748:182::o;5935:425::-;6137:2;6119:21;;;6176:2;6156:18;;;6149:30;6215:34;6210:2;6195:18;;6188:62;6286:31;6281:2;6266:18;;6259:59;6350:3;6335:19;;6109:251::o;6365:410::-;6567:2;6549:21;;;6606:2;6586:18;;;6579:30;6645:34;6640:2;6625:18;;6618:62;6716:16;6711:2;6696:18;;6689:44;6765:3;6750:19;;6539:236::o;6780:417::-;6982:2;6964:21;;;7021:2;7001:18;;;6994:30;7060:34;7055:2;7040:18;;7033:62;7131:23;7126:2;7111:18;;7104:51;7187:3;7172:19;;6954:243::o;7202:420::-;7404:2;7386:21;;;7443:2;7423:18;;;7416:30;7482:34;7477:2;7462:18;;7455:62;7553:26;7548:2;7533:18;;7526:54;7612:3;7597:19;;7376:246::o;7627:418::-;7829:2;7811:21;;;7868:2;7848:18;;;7841:30;7907:34;7902:2;7887:18;;7880:62;7978:24;7973:2;7958:18;;7951:52;8035:3;8020:19;;7801:244::o;8050:258::-;8122:1;8132:113;8146:6;8143:1;8140:13;8132:113;;;8222:11;;;8216:18;8203:11;;;8196:39;8168:2;8161:10;8132:113;;;8263:6;8260:1;8257:13;8254:2;;;-1:-1:-1;;8298:1:10;8280:16;;8273:27;8103:205::o" + "opcodes": "PUSH1 0x80 PUSH1 0x40 MSTORE CALLDATASIZE PUSH2 0xB JUMPI STOP JUMPDEST PUSH1 0x0 DUP1 CALLDATALOAD PUSH32 0xFFFFFFFF00000000000000000000000000000000000000000000000000000000 AND DUP2 MSTORE PUSH32 0xC8FCAD8DB84D3CC18B4C41D551EA0EE66DD599CDE068D998E57D5E09332C131C PUSH1 0x20 DUP2 SWAP1 MSTORE PUSH1 0x40 SWAP1 SWAP2 KECCAK256 SLOAD DUP2 SWAP1 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP1 PUSH2 0xE3 JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD DUP2 SWAP1 MSTORE PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x4469616D6F6E643A2046756E6374696F6E20646F6573206E6F74206578697374 PUSH1 0x44 DUP3 ADD MSTORE PUSH1 0x64 ADD JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST CALLDATASIZE PUSH1 0x0 DUP1 CALLDATACOPY PUSH1 0x0 DUP1 CALLDATASIZE PUSH1 0x0 DUP5 GAS DELEGATECALL RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY DUP1 DUP1 ISZERO PUSH2 0x102 JUMPI RETURNDATASIZE PUSH1 0x0 RETURN JUMPDEST RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST PUSH1 0x0 JUMPDEST DUP4 MLOAD DUP2 LT ISZERO PUSH2 0x300 JUMPI PUSH1 0x0 DUP5 DUP3 DUP2 MLOAD DUP2 LT PUSH2 0x127 JUMPI PUSH2 0x127 PUSH2 0x167B JUMP JUMPDEST PUSH1 0x20 MUL PUSH1 0x20 ADD ADD MLOAD PUSH1 0x20 ADD MLOAD SWAP1 POP PUSH1 0x0 PUSH1 0x2 DUP2 GT ISZERO PUSH2 0x148 JUMPI PUSH2 0x148 PUSH2 0x16AA JUMP JUMPDEST DUP2 PUSH1 0x2 DUP2 GT ISZERO PUSH2 0x15A JUMPI PUSH2 0x15A PUSH2 0x16AA JUMP JUMPDEST EQ ISZERO PUSH2 0x1A9 JUMPI PUSH2 0x1A4 DUP6 DUP4 DUP2 MLOAD DUP2 LT PUSH2 0x175 JUMPI PUSH2 0x175 PUSH2 0x167B JUMP JUMPDEST PUSH1 0x20 MUL PUSH1 0x20 ADD ADD MLOAD PUSH1 0x0 ADD MLOAD DUP7 DUP5 DUP2 MLOAD DUP2 LT PUSH2 0x193 JUMPI PUSH2 0x193 PUSH2 0x167B JUMP JUMPDEST PUSH1 0x20 MUL PUSH1 0x20 ADD ADD MLOAD PUSH1 0x40 ADD MLOAD PUSH2 0x429 JUMP JUMPDEST PUSH2 0x2ED JUMP JUMPDEST PUSH1 0x1 DUP2 PUSH1 0x2 DUP2 GT ISZERO PUSH2 0x1BD JUMPI PUSH2 0x1BD PUSH2 0x16AA JUMP JUMPDEST EQ ISZERO PUSH2 0x207 JUMPI PUSH2 0x1A4 DUP6 DUP4 DUP2 MLOAD DUP2 LT PUSH2 0x1D8 JUMPI PUSH2 0x1D8 PUSH2 0x167B JUMP JUMPDEST PUSH1 0x20 MUL PUSH1 0x20 ADD ADD MLOAD PUSH1 0x0 ADD MLOAD DUP7 DUP5 DUP2 MLOAD DUP2 LT PUSH2 0x1F6 JUMPI PUSH2 0x1F6 PUSH2 0x167B JUMP JUMPDEST PUSH1 0x20 MUL PUSH1 0x20 ADD ADD MLOAD PUSH1 0x40 ADD MLOAD PUSH2 0x7DC JUMP JUMPDEST PUSH1 0x2 DUP2 PUSH1 0x2 DUP2 GT ISZERO PUSH2 0x21B JUMPI PUSH2 0x21B PUSH2 0x16AA JUMP JUMPDEST EQ ISZERO PUSH2 0x265 JUMPI PUSH2 0x1A4 DUP6 DUP4 DUP2 MLOAD DUP2 LT PUSH2 0x236 JUMPI PUSH2 0x236 PUSH2 0x167B JUMP JUMPDEST PUSH1 0x20 MUL PUSH1 0x20 ADD ADD MLOAD PUSH1 0x0 ADD MLOAD DUP7 DUP5 DUP2 MLOAD DUP2 LT PUSH2 0x254 JUMPI PUSH2 0x254 PUSH2 0x167B JUMP JUMPDEST PUSH1 0x20 MUL PUSH1 0x20 ADD ADD MLOAD PUSH1 0x40 ADD MLOAD PUSH2 0xB99 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x27 PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x4C69624469616D6F6E644375743A20496E636F72726563742046616365744375 PUSH1 0x44 DUP3 ADD MSTORE PUSH32 0x74416374696F6E00000000000000000000000000000000000000000000000000 PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 ADD PUSH2 0xDA JUMP JUMPDEST POP DUP1 PUSH2 0x2F8 DUP2 PUSH2 0x1708 JUMP JUMPDEST SWAP2 POP POP PUSH2 0x10A JUMP JUMPDEST POP PUSH32 0x8FAA70878671CCD212D20771B795C50AF8FD3FF6CF27F4BDE57E5D4DE0AEB673 DUP4 DUP4 DUP4 PUSH1 0x40 MLOAD PUSH2 0x334 SWAP4 SWAP3 SWAP2 SWAP1 PUSH2 0x17B7 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 LOG1 PUSH2 0x346 DUP3 DUP3 PUSH2 0xD8C JUMP JUMPDEST POP POP POP JUMP JUMPDEST PUSH32 0xC8FCAD8DB84D3CC18B4C41D551EA0EE66DD599CDE068D998E57D5E09332C1320 DUP1 SLOAD PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFF0000000000000000000000000000000000000000 DUP2 AND PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP5 DUP2 AND SWAP2 DUP3 OR SWAP1 SWAP4 SSTORE PUSH1 0x40 MLOAD PUSH32 0xC8FCAD8DB84D3CC18B4C41D551EA0EE66DD599CDE068D998E57D5E09332C131C SWAP4 SWAP1 SWAP3 AND SWAP2 DUP3 SWAP1 PUSH32 0x8BE0079C531659141344CD1FD0A4F28419497F9722A3DAAFE3B4186F6B6457E0 SWAP1 PUSH1 0x0 SWAP1 LOG3 POP POP POP JUMP JUMPDEST PUSH32 0xC8FCAD8DB84D3CC18B4C41D551EA0EE66DD599CDE068D998E57D5E09332C131C SWAP1 JUMP JUMPDEST PUSH1 0x0 DUP2 MLOAD GT PUSH2 0x4BA JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x2B PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x4C69624469616D6F6E644375743A204E6F2073656C6563746F727320696E2066 PUSH1 0x44 DUP3 ADD MSTORE PUSH32 0x6163657420746F20637574000000000000000000000000000000000000000000 PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 ADD PUSH2 0xDA JUMP JUMPDEST PUSH32 0xC8FCAD8DB84D3CC18B4C41D551EA0EE66DD599CDE068D998E57D5E09332C131C PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP4 AND PUSH2 0x57E JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x2C PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x4C69624469616D6F6E644375743A204164642066616365742063616E27742062 PUSH1 0x44 DUP3 ADD MSTORE PUSH32 0x6520616464726573732830290000000000000000000000000000000000000000 PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 ADD PUSH2 0xDA JUMP JUMPDEST PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP4 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x1 DUP3 ADD PUSH1 0x20 MSTORE PUSH1 0x40 SWAP1 KECCAK256 SLOAD PUSH12 0xFFFFFFFFFFFFFFFFFFFFFFFF DUP2 AND PUSH2 0x5C3 JUMPI PUSH2 0x5C3 DUP3 DUP6 PUSH2 0x103F JUMP JUMPDEST PUSH1 0x0 JUMPDEST DUP4 MLOAD DUP2 LT ISZERO PUSH2 0x7D5 JUMPI PUSH1 0x0 DUP5 DUP3 DUP2 MLOAD DUP2 LT PUSH2 0x5E3 JUMPI PUSH2 0x5E3 PUSH2 0x167B JUMP JUMPDEST PUSH1 0x20 SWAP1 DUP2 MUL SWAP2 SWAP1 SWAP2 ADD DUP2 ADD MLOAD PUSH32 0xFFFFFFFF00000000000000000000000000000000000000000000000000000000 DUP2 AND PUSH1 0x0 SWAP1 DUP2 MSTORE SWAP2 DUP7 SWAP1 MSTORE PUSH1 0x40 SWAP1 SWAP2 KECCAK256 SLOAD SWAP1 SWAP2 POP PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP1 ISZERO PUSH2 0x6C8 JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x35 PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x4C69624469616D6F6E644375743A2043616E2774206164642066756E6374696F PUSH1 0x44 DUP3 ADD MSTORE PUSH32 0x6E207468617420616C7265616479206578697374730000000000000000000000 PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 ADD PUSH2 0xDA JUMP JUMPDEST PUSH32 0xFFFFFFFF00000000000000000000000000000000000000000000000000000000 DUP3 AND PUSH1 0x0 DUP2 DUP2 MSTORE PUSH1 0x20 DUP8 DUP2 MSTORE PUSH1 0x40 DUP1 DUP4 KECCAK256 DUP1 SLOAD PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF SWAP1 DUP2 AND PUSH21 0x10000000000000000000000000000000000000000 PUSH12 0xFFFFFFFFFFFFFFFFFFFFFFFF DUP13 AND MUL OR DUP3 SSTORE DUP13 AND DUP1 DUP6 MSTORE PUSH1 0x1 DUP1 DUP13 ADD DUP6 MSTORE SWAP3 DUP6 KECCAK256 DUP1 SLOAD SWAP4 DUP5 ADD DUP2 SSTORE DUP6 MSTORE DUP4 DUP6 KECCAK256 PUSH1 0x8 DUP5 DIV ADD DUP1 SLOAD PUSH4 0xFFFFFFFF PUSH1 0x7 SWAP1 SWAP6 AND PUSH1 0x4 MUL PUSH2 0x100 EXP SWAP5 DUP6 MUL NOT AND PUSH1 0xE0 DUP11 SWAP1 SHR SWAP5 SWAP1 SWAP5 MUL SWAP4 SWAP1 SWAP4 OR SWAP1 SWAP3 SSTORE SWAP4 SWAP1 SWAP3 MSTORE DUP8 SWAP1 MSTORE DUP2 SLOAD PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFF0000000000000000000000000000000000000000 AND OR SWAP1 SSTORE DUP4 PUSH2 0x7BD DUP2 PUSH2 0x191F JUMP JUMPDEST SWAP5 POP POP POP POP DUP1 DUP1 PUSH2 0x7CD SWAP1 PUSH2 0x1708 JUMP JUMPDEST SWAP2 POP POP PUSH2 0x5C6 JUMP JUMPDEST POP POP POP POP POP JUMP JUMPDEST PUSH1 0x0 DUP2 MLOAD GT PUSH2 0x86D JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x2B PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x4C69624469616D6F6E644375743A204E6F2073656C6563746F727320696E2066 PUSH1 0x44 DUP3 ADD MSTORE PUSH32 0x6163657420746F20637574000000000000000000000000000000000000000000 PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 ADD PUSH2 0xDA JUMP JUMPDEST PUSH32 0xC8FCAD8DB84D3CC18B4C41D551EA0EE66DD599CDE068D998E57D5E09332C131C PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP4 AND PUSH2 0x931 JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x2C PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x4C69624469616D6F6E644375743A204164642066616365742063616E27742062 PUSH1 0x44 DUP3 ADD MSTORE PUSH32 0x6520616464726573732830290000000000000000000000000000000000000000 PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 ADD PUSH2 0xDA JUMP JUMPDEST PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP4 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x1 DUP3 ADD PUSH1 0x20 MSTORE PUSH1 0x40 SWAP1 KECCAK256 SLOAD PUSH12 0xFFFFFFFFFFFFFFFFFFFFFFFF DUP2 AND PUSH2 0x976 JUMPI PUSH2 0x976 DUP3 DUP6 PUSH2 0x103F JUMP JUMPDEST PUSH1 0x0 JUMPDEST DUP4 MLOAD DUP2 LT ISZERO PUSH2 0x7D5 JUMPI PUSH1 0x0 DUP5 DUP3 DUP2 MLOAD DUP2 LT PUSH2 0x996 JUMPI PUSH2 0x996 PUSH2 0x167B JUMP JUMPDEST PUSH1 0x20 SWAP1 DUP2 MUL SWAP2 SWAP1 SWAP2 ADD DUP2 ADD MLOAD PUSH32 0xFFFFFFFF00000000000000000000000000000000000000000000000000000000 DUP2 AND PUSH1 0x0 SWAP1 DUP2 MSTORE SWAP2 DUP7 SWAP1 MSTORE PUSH1 0x40 SWAP1 SWAP2 KECCAK256 SLOAD SWAP1 SWAP2 POP PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF SWAP1 DUP2 AND SWAP1 DUP8 AND DUP2 EQ ISZERO PUSH2 0xA81 JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x38 PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x4C69624469616D6F6E644375743A2043616E2774207265706C6163652066756E PUSH1 0x44 DUP3 ADD MSTORE PUSH32 0x6374696F6E20776974682073616D652066756E6374696F6E0000000000000000 PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 ADD PUSH2 0xDA JUMP JUMPDEST PUSH2 0xA8C DUP6 DUP3 DUP5 PUSH2 0x10CE JUMP JUMPDEST PUSH32 0xFFFFFFFF00000000000000000000000000000000000000000000000000000000 DUP3 AND PUSH1 0x0 DUP2 DUP2 MSTORE PUSH1 0x20 DUP8 DUP2 MSTORE PUSH1 0x40 DUP1 DUP4 KECCAK256 DUP1 SLOAD PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF SWAP1 DUP2 AND PUSH21 0x10000000000000000000000000000000000000000 PUSH12 0xFFFFFFFFFFFFFFFFFFFFFFFF DUP13 AND MUL OR DUP3 SSTORE DUP13 AND DUP1 DUP6 MSTORE PUSH1 0x1 DUP1 DUP13 ADD DUP6 MSTORE SWAP3 DUP6 KECCAK256 DUP1 SLOAD SWAP4 DUP5 ADD DUP2 SSTORE DUP6 MSTORE DUP4 DUP6 KECCAK256 PUSH1 0x8 DUP5 DIV ADD DUP1 SLOAD PUSH4 0xFFFFFFFF PUSH1 0x7 SWAP1 SWAP6 AND PUSH1 0x4 MUL PUSH2 0x100 EXP SWAP5 DUP6 MUL NOT AND PUSH1 0xE0 DUP11 SWAP1 SHR SWAP5 SWAP1 SWAP5 MUL SWAP4 SWAP1 SWAP4 OR SWAP1 SWAP3 SSTORE SWAP4 SWAP1 SWAP3 MSTORE DUP8 SWAP1 MSTORE DUP2 SLOAD PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFF0000000000000000000000000000000000000000 AND OR SWAP1 SSTORE DUP4 PUSH2 0xB81 DUP2 PUSH2 0x191F JUMP JUMPDEST SWAP5 POP POP POP POP DUP1 DUP1 PUSH2 0xB91 SWAP1 PUSH2 0x1708 JUMP JUMPDEST SWAP2 POP POP PUSH2 0x979 JUMP JUMPDEST PUSH1 0x0 DUP2 MLOAD GT PUSH2 0xC2A JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x2B PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x4C69624469616D6F6E644375743A204E6F2073656C6563746F727320696E2066 PUSH1 0x44 DUP3 ADD MSTORE PUSH32 0x6163657420746F20637574000000000000000000000000000000000000000000 PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 ADD PUSH2 0xDA JUMP JUMPDEST PUSH32 0xC8FCAD8DB84D3CC18B4C41D551EA0EE66DD599CDE068D998E57D5E09332C131C PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP4 AND ISZERO PUSH2 0xCEF JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x36 PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x4C69624469616D6F6E644375743A2052656D6F76652066616365742061646472 PUSH1 0x44 DUP3 ADD MSTORE PUSH32 0x657373206D757374206265206164647265737328302900000000000000000000 PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 ADD PUSH2 0xDA JUMP JUMPDEST PUSH1 0x0 JUMPDEST DUP3 MLOAD DUP2 LT ISZERO PUSH2 0xD86 JUMPI PUSH1 0x0 DUP4 DUP3 DUP2 MLOAD DUP2 LT PUSH2 0xD0F JUMPI PUSH2 0xD0F PUSH2 0x167B JUMP JUMPDEST PUSH1 0x20 SWAP1 DUP2 MUL SWAP2 SWAP1 SWAP2 ADD DUP2 ADD MLOAD PUSH32 0xFFFFFFFF00000000000000000000000000000000000000000000000000000000 DUP2 AND PUSH1 0x0 SWAP1 DUP2 MSTORE SWAP2 DUP6 SWAP1 MSTORE PUSH1 0x40 SWAP1 SWAP2 KECCAK256 SLOAD SWAP1 SWAP2 POP PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH2 0xD71 DUP5 DUP3 DUP5 PUSH2 0x10CE JUMP JUMPDEST POP POP DUP1 DUP1 PUSH2 0xD7E SWAP1 PUSH2 0x1708 JUMP JUMPDEST SWAP2 POP POP PUSH2 0xCF2 JUMP JUMPDEST POP POP POP POP JUMP JUMPDEST PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP3 AND PUSH2 0xE3A JUMPI DUP1 MLOAD ISZERO PUSH2 0xE36 JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x3C PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x4C69624469616D6F6E644375743A205F696E6974206973206164647265737328 PUSH1 0x44 DUP3 ADD MSTORE PUSH32 0x3029206275745F63616C6C64617461206973206E6F7420656D70747900000000 PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 ADD PUSH2 0xDA JUMP JUMPDEST POP POP JUMP JUMPDEST PUSH1 0x0 DUP2 MLOAD GT PUSH2 0xECB JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x3D PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x4C69624469616D6F6E644375743A205F63616C6C6461746120697320656D7074 PUSH1 0x44 DUP3 ADD MSTORE PUSH32 0x7920627574205F696E6974206973206E6F742061646472657373283029000000 PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 ADD PUSH2 0xDA JUMP JUMPDEST PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP3 AND ADDRESS EQ PUSH2 0xF0A JUMPI PUSH2 0xF0A DUP3 PUSH1 0x40 MLOAD DUP1 PUSH1 0x60 ADD PUSH1 0x40 MSTORE DUP1 PUSH1 0x28 DUP2 MSTORE PUSH1 0x20 ADD PUSH2 0x19C8 PUSH1 0x28 SWAP2 CODECOPY PUSH2 0x1640 JUMP JUMPDEST PUSH1 0x0 DUP1 DUP4 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP4 PUSH1 0x40 MLOAD PUSH2 0xF32 SWAP2 SWAP1 PUSH2 0x194B JUMP JUMPDEST PUSH1 0x0 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP6 GAS DELEGATECALL SWAP2 POP POP RETURNDATASIZE DUP1 PUSH1 0x0 DUP2 EQ PUSH2 0xF6D JUMPI PUSH1 0x40 MLOAD SWAP2 POP PUSH1 0x1F NOT PUSH1 0x3F RETURNDATASIZE ADD AND DUP3 ADD PUSH1 0x40 MSTORE RETURNDATASIZE DUP3 MSTORE RETURNDATASIZE PUSH1 0x0 PUSH1 0x20 DUP5 ADD RETURNDATACOPY PUSH2 0xF72 JUMP JUMPDEST PUSH1 0x60 SWAP2 POP JUMPDEST POP SWAP2 POP SWAP2 POP DUP2 PUSH2 0xD86 JUMPI DUP1 MLOAD ISZERO PUSH2 0xFB7 JUMPI DUP1 PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0xDA SWAP2 SWAP1 PUSH2 0x1967 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x26 PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x4C69624469616D6F6E644375743A205F696E69742066756E6374696F6E207265 PUSH1 0x44 DUP3 ADD MSTORE PUSH32 0x7665727465640000000000000000000000000000000000000000000000000000 PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 ADD PUSH2 0xDA JUMP JUMPDEST PUSH2 0x1061 DUP2 PUSH1 0x40 MLOAD DUP1 PUSH1 0x60 ADD PUSH1 0x40 MSTORE DUP1 PUSH1 0x24 DUP2 MSTORE PUSH1 0x20 ADD PUSH2 0x19F0 PUSH1 0x24 SWAP2 CODECOPY PUSH2 0x1640 JUMP JUMPDEST PUSH1 0x2 DUP3 ADD DUP1 SLOAD PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF SWAP1 SWAP3 AND PUSH1 0x0 DUP2 DUP2 MSTORE PUSH1 0x1 SWAP5 DUP6 ADD PUSH1 0x20 SWAP1 DUP2 MSTORE PUSH1 0x40 DUP3 KECCAK256 DUP7 ADD DUP6 SWAP1 SSTORE SWAP5 DUP5 ADD DUP4 SSTORE SWAP2 DUP3 MSTORE SWAP3 SWAP1 KECCAK256 ADD DUP1 SLOAD PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFF0000000000000000000000000000000000000000 AND SWAP1 SWAP2 OR SWAP1 SSTORE JUMP JUMPDEST PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP3 AND PUSH2 0x1171 JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x37 PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x4C69624469616D6F6E644375743A2043616E27742072656D6F76652066756E63 PUSH1 0x44 DUP3 ADD MSTORE PUSH32 0x74696F6E207468617420646F65736E2774206578697374000000000000000000 PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 ADD PUSH2 0xDA JUMP JUMPDEST PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP3 AND ADDRESS EQ ISZERO PUSH2 0x1217 JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x2E PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x4C69624469616D6F6E644375743A2043616E27742072656D6F766520696D6D75 PUSH1 0x44 DUP3 ADD MSTORE PUSH32 0x7461626C652066756E6374696F6E000000000000000000000000000000000000 PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 ADD PUSH2 0xDA JUMP JUMPDEST PUSH32 0xFFFFFFFF00000000000000000000000000000000000000000000000000000000 DUP2 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x20 DUP5 DUP2 MSTORE PUSH1 0x40 DUP1 DUP4 KECCAK256 SLOAD PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP7 AND DUP5 MSTORE PUSH1 0x1 DUP1 DUP9 ADD SWAP1 SWAP4 MSTORE SWAP1 DUP4 KECCAK256 SLOAD PUSH21 0x10000000000000000000000000000000000000000 SWAP1 SWAP2 DIV PUSH12 0xFFFFFFFFFFFFFFFFFFFFFFFF AND SWAP3 SWAP2 PUSH2 0x12A1 SWAP2 PUSH2 0x1981 JUMP JUMPDEST SWAP1 POP DUP1 DUP3 EQ PUSH2 0x13E8 JUMPI PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP5 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x1 DUP7 ADD PUSH1 0x20 MSTORE PUSH1 0x40 DUP2 KECCAK256 DUP1 SLOAD DUP4 SWAP1 DUP2 LT PUSH2 0x12E3 JUMPI PUSH2 0x12E3 PUSH2 0x167B JUMP JUMPDEST PUSH1 0x0 SWAP2 DUP3 MSTORE PUSH1 0x20 DUP1 DUP4 KECCAK256 PUSH1 0x8 DUP4 DIV ADD SLOAD PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP10 AND DUP5 MSTORE PUSH1 0x1 DUP11 ADD SWAP1 SWAP2 MSTORE PUSH1 0x40 SWAP1 SWAP3 KECCAK256 DUP1 SLOAD PUSH1 0x7 SWAP1 SWAP3 AND PUSH1 0x4 MUL PUSH2 0x100 EXP SWAP1 SWAP3 DIV PUSH1 0xE0 SHL SWAP3 POP DUP3 SWAP2 SWAP1 DUP6 SWAP1 DUP2 LT PUSH2 0x1341 JUMPI PUSH2 0x1341 PUSH2 0x167B JUMP JUMPDEST PUSH1 0x0 SWAP2 DUP3 MSTORE PUSH1 0x20 DUP1 DUP4 KECCAK256 PUSH1 0x8 DUP4 DIV ADD DUP1 SLOAD PUSH4 0xFFFFFFFF PUSH1 0x7 SWAP1 SWAP5 AND PUSH1 0x4 MUL PUSH2 0x100 EXP SWAP4 DUP5 MUL NOT AND PUSH1 0xE0 SWAP6 SWAP1 SWAP6 SHR SWAP3 SWAP1 SWAP3 MUL SWAP4 SWAP1 SWAP4 OR SWAP1 SSTORE PUSH32 0xFFFFFFFF00000000000000000000000000000000000000000000000000000000 SWAP3 SWAP1 SWAP3 AND DUP3 MSTORE DUP7 SWAP1 MSTORE PUSH1 0x40 SWAP1 KECCAK256 DUP1 SLOAD PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH21 0x10000000000000000000000000000000000000000 PUSH12 0xFFFFFFFFFFFFFFFFFFFFFFFF DUP6 AND MUL OR SWAP1 SSTORE JUMPDEST PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP5 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x1 DUP7 ADD PUSH1 0x20 MSTORE PUSH1 0x40 SWAP1 KECCAK256 DUP1 SLOAD DUP1 PUSH2 0x141E JUMPI PUSH2 0x141E PUSH2 0x1998 JUMP JUMPDEST PUSH1 0x0 DUP3 DUP2 MSTORE PUSH1 0x20 DUP1 DUP3 KECCAK256 PUSH1 0x8 PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF SWAP1 SWAP5 ADD SWAP4 DUP5 DIV ADD DUP1 SLOAD PUSH4 0xFFFFFFFF PUSH1 0x4 PUSH1 0x7 DUP8 AND MUL PUSH2 0x100 EXP MUL NOT AND SWAP1 SSTORE SWAP2 SWAP1 SWAP3 SSTORE PUSH32 0xFFFFFFFF00000000000000000000000000000000000000000000000000000000 DUP6 AND DUP3 MSTORE DUP7 SWAP1 MSTORE PUSH1 0x40 DUP2 KECCAK256 SSTORE DUP1 PUSH2 0x7D5 JUMPI PUSH1 0x2 DUP6 ADD SLOAD PUSH1 0x0 SWAP1 PUSH2 0x14B3 SWAP1 PUSH1 0x1 SWAP1 PUSH2 0x1981 JUMP JUMPDEST PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP7 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x1 DUP1 DUP10 ADD PUSH1 0x20 MSTORE PUSH1 0x40 SWAP1 SWAP2 KECCAK256 ADD SLOAD SWAP1 SWAP2 POP DUP1 DUP3 EQ PUSH2 0x15A1 JUMPI PUSH1 0x0 DUP8 PUSH1 0x2 ADD DUP4 DUP2 SLOAD DUP2 LT PUSH2 0x14FF JUMPI PUSH2 0x14FF PUSH2 0x167B JUMP JUMPDEST PUSH1 0x0 SWAP2 DUP3 MSTORE PUSH1 0x20 SWAP1 SWAP2 KECCAK256 ADD SLOAD PUSH1 0x2 DUP10 ADD DUP1 SLOAD PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF SWAP1 SWAP3 AND SWAP3 POP DUP3 SWAP2 DUP5 SWAP1 DUP2 LT PUSH2 0x153D JUMPI PUSH2 0x153D PUSH2 0x167B JUMP JUMPDEST PUSH1 0x0 SWAP2 DUP3 MSTORE PUSH1 0x20 DUP1 DUP4 KECCAK256 SWAP2 SWAP1 SWAP2 ADD DUP1 SLOAD PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFF0000000000000000000000000000000000000000 AND PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF SWAP5 DUP6 AND OR SWAP1 SSTORE SWAP3 SWAP1 SWAP2 AND DUP2 MSTORE PUSH1 0x1 DUP10 DUP2 ADD SWAP1 SWAP3 MSTORE PUSH1 0x40 SWAP1 KECCAK256 ADD DUP2 SWAP1 SSTORE JUMPDEST DUP7 PUSH1 0x2 ADD DUP1 SLOAD DUP1 PUSH2 0x15B4 JUMPI PUSH2 0x15B4 PUSH2 0x1998 JUMP JUMPDEST PUSH1 0x0 DUP3 DUP2 MSTORE PUSH1 0x20 DUP1 DUP3 KECCAK256 DUP4 ADD PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF SWAP1 DUP2 ADD DUP1 SLOAD PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFF0000000000000000000000000000000000000000 AND SWAP1 SSTORE SWAP1 SWAP3 ADD SWAP1 SWAP3 SSTORE PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP9 AND DUP3 MSTORE PUSH1 0x1 DUP10 DUP2 ADD SWAP1 SWAP2 MSTORE PUSH1 0x40 DUP3 KECCAK256 ADD SSTORE POP POP POP POP POP POP POP JUMP JUMPDEST DUP2 EXTCODESIZE DUP2 DUP2 PUSH2 0xD86 JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0xDA SWAP2 SWAP1 PUSH2 0x1967 JUMP JUMPDEST PUSH32 0x4E487B7100000000000000000000000000000000000000000000000000000000 PUSH1 0x0 MSTORE PUSH1 0x32 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST PUSH32 0x4E487B7100000000000000000000000000000000000000000000000000000000 PUSH1 0x0 MSTORE PUSH1 0x21 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST PUSH32 0x4E487B7100000000000000000000000000000000000000000000000000000000 PUSH1 0x0 MSTORE PUSH1 0x11 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST PUSH1 0x0 PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP3 EQ ISZERO PUSH2 0x173A JUMPI PUSH2 0x173A PUSH2 0x16D9 JUMP JUMPDEST POP PUSH1 0x1 ADD SWAP1 JUMP JUMPDEST PUSH1 0x0 JUMPDEST DUP4 DUP2 LT ISZERO PUSH2 0x175C JUMPI DUP2 DUP2 ADD MLOAD DUP4 DUP3 ADD MSTORE PUSH1 0x20 ADD PUSH2 0x1744 JUMP JUMPDEST DUP4 DUP2 GT ISZERO PUSH2 0xD86 JUMPI POP POP PUSH1 0x0 SWAP2 ADD MSTORE JUMP JUMPDEST PUSH1 0x0 DUP2 MLOAD DUP1 DUP5 MSTORE PUSH2 0x1785 DUP2 PUSH1 0x20 DUP7 ADD PUSH1 0x20 DUP7 ADD PUSH2 0x1741 JUMP JUMPDEST PUSH1 0x1F ADD PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFE0 AND SWAP3 SWAP1 SWAP3 ADD PUSH1 0x20 ADD SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x60 DUP1 DUP4 ADD DUP2 DUP5 MSTORE DUP1 DUP8 MLOAD DUP1 DUP4 MSTORE PUSH1 0x80 SWAP3 POP DUP3 DUP7 ADD SWAP2 POP DUP3 DUP2 PUSH1 0x5 SHL DUP8 ADD ADD PUSH1 0x20 DUP1 DUP12 ADD PUSH1 0x0 JUMPDEST DUP5 DUP2 LT ISZERO PUSH2 0x18E2 JUMPI PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF80 DUP11 DUP6 SUB ADD DUP7 MSTORE DUP2 MLOAD DUP9 DUP6 ADD PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP3 MLOAD AND DUP7 MSTORE DUP5 DUP3 ADD MLOAD PUSH1 0x3 DUP2 LT PUSH2 0x1869 JUMPI PUSH32 0x4E487B7100000000000000000000000000000000000000000000000000000000 PUSH1 0x0 MSTORE PUSH1 0x21 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST DUP7 DUP7 ADD MSTORE PUSH1 0x40 SWAP2 DUP3 ADD MLOAD SWAP2 DUP7 ADD DUP11 SWAP1 MSTORE DUP2 MLOAD SWAP1 DUP2 SWAP1 MSTORE SWAP1 DUP5 ADD SWAP1 PUSH1 0x0 SWAP1 DUP10 DUP8 ADD SWAP1 JUMPDEST DUP1 DUP4 LT ISZERO PUSH2 0x18CD JUMPI DUP4 MLOAD PUSH32 0xFFFFFFFF00000000000000000000000000000000000000000000000000000000 AND DUP3 MSTORE SWAP3 DUP7 ADD SWAP3 PUSH1 0x1 SWAP3 SWAP1 SWAP3 ADD SWAP2 SWAP1 DUP7 ADD SWAP1 PUSH2 0x188B JUMP JUMPDEST POP SWAP8 DUP6 ADD SWAP8 SWAP6 POP POP POP SWAP1 DUP3 ADD SWAP1 PUSH1 0x1 ADD PUSH2 0x17E0 JUMP JUMPDEST POP POP PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP11 AND SWAP1 DUP9 ADD MSTORE DUP7 DUP2 SUB PUSH1 0x40 DUP9 ADD MSTORE PUSH2 0x1911 DUP2 DUP10 PUSH2 0x176D JUMP JUMPDEST SWAP11 SWAP10 POP POP POP POP POP POP POP POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH12 0xFFFFFFFFFFFFFFFFFFFFFFFF DUP1 DUP4 AND DUP2 DUP2 EQ ISZERO PUSH2 0x1941 JUMPI PUSH2 0x1941 PUSH2 0x16D9 JUMP JUMPDEST PUSH1 0x1 ADD SWAP4 SWAP3 POP POP POP JUMP JUMPDEST PUSH1 0x0 DUP3 MLOAD PUSH2 0x195D DUP2 DUP5 PUSH1 0x20 DUP8 ADD PUSH2 0x1741 JUMP JUMPDEST SWAP2 SWAP1 SWAP2 ADD SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x20 DUP2 MSTORE PUSH1 0x0 PUSH2 0x197A PUSH1 0x20 DUP4 ADD DUP5 PUSH2 0x176D JUMP JUMPDEST SWAP4 SWAP3 POP POP POP JUMP JUMPDEST PUSH1 0x0 DUP3 DUP3 LT ISZERO PUSH2 0x1993 JUMPI PUSH2 0x1993 PUSH2 0x16D9 JUMP JUMPDEST POP SUB SWAP1 JUMP JUMPDEST PUSH32 0x4E487B7100000000000000000000000000000000000000000000000000000000 PUSH1 0x0 MSTORE PUSH1 0x31 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT INVALID 0x4C PUSH10 0x624469616D6F6E644375 PUSH21 0x3A205F696E6974206164647265737320686173206E PUSH16 0x20636F64654C69624469616D6F6E6443 PUSH22 0x743A204E657720666163657420686173206E6F20636F PUSH5 0x65A2646970 PUSH7 0x7358221220A164 CREATE2 0xC0 0xA5 0xFB CODESIZE DUP4 PUSH16 0x80DB7C0D13BA057B758BB3BDF1D37D32 CREATE SWAP8 0xAD DUP10 DUP9 0x27 PUSH13 0x64736F6C634300080900330000 ", + "sourceMap": "681:2761:1:-:0;;;;;;;;2296:36;2588:7;;;;2558:38;;492:45:9;2558:38:1;;;;;;;;:51;492:45:9;;2558:51:1;;;2619:64;;;;;;;216:2:11;2619:64:1;;;198:21:11;;;235:18;;;228:30;294:34;274:18;;;267:62;346:18;;2619:64:1;;;;;;;;;2880:14;2877:1;2874;2861:34;3024:1;3021;3005:14;3002:1;2995:5;2988;2975:51;3096:16;3093:1;3090;3075:38;3200:6;3223:74;;;;3354:16;3351:1;3344:27;3223:74;3262:16;3259:1;3252:27;2563:1067:9;2719:18;2714:806;2752:11;:18;2739:10;:31;2714:806;;;2800:33;2836:11;2848:10;2836:23;;;;;;;;:::i;:::-;;;;;;;:30;;;2800:66;;2894:30;2884:40;;;;;;;;:::i;:::-;:6;:40;;;;;;;;:::i;:::-;;2880:630;;;2944:93;2957:11;2969:10;2957:23;;;;;;;;:::i;:::-;;;;;;;:36;;;2995:11;3007:10;2995:23;;;;;;;;:::i;:::-;;;;;;;:41;;;2944:12;:93::i;:::-;2880:630;;;3072:34;3062:6;:44;;;;;;;;:::i;:::-;;3058:452;;;3126:97;3143:11;3155:10;3143:23;;;;;;;;:::i;:::-;;;;;;;:36;;;3181:11;3193:10;3181:23;;;;;;;;:::i;:::-;;;;;;;:41;;;3126:16;:97::i;3058:452::-;3258:33;3248:6;:43;;;;;;;;:::i;:::-;;3244:266;;;3311:96;3327:11;3339:10;3327:23;;;;;;;;:::i;:::-;;;;;;;:36;;;3365:11;3377:10;3365:23;;;;;;;;:::i;:::-;;;;;;;:41;;;3311:15;:96::i;3244:266::-;3446:49;;;;;955:2:11;3446:49:9;;;937:21:11;994:2;974:18;;;967:30;1033:34;1013:18;;;1006:62;1104:9;1084:18;;;1077:37;1131:19;;3446:49:9;753:403:11;3244:266:9;-1:-1:-1;2772:12:9;;;;:::i;:::-;;;;2714:806;;;;3534:41;3545:11;3558:5;3565:9;3534:41;;;;;;;;:::i;:::-;;;;;;;;3585:38;3606:5;3613:9;3585:20;:38::i;:::-;2563:1067;;;:::o;1851:264::-;1993:16;;;2019:28;;;1993:16;2019:28;;;;;;;;;2062:46;;492:45;;1993:16;;;;;;2062:46;;1915:25;;2062:46;1905:210;;1851:264;:::o;1558:197::-;492:45;;1558:197::o;3636:1089::-;3772:1;3744:18;:25;:29;3736:85;;;;;;;4745:2:11;3736:85:9;;;4727:21:11;4784:2;4764:18;;;4757:30;4823:34;4803:18;;;4796:62;4894:13;4874:18;;;4867:41;4925:19;;3736:85:9;4543:407:11;3736:85:9;492:45;3901:27;;;3893:84;;;;;;;5157:2:11;3893:84:9;;;5139:21:11;5196:2;5176:18;;;5169:30;5235:34;5215:18;;;5208:62;5306:14;5286:18;;;5279:42;5338:19;;3893:84:9;4955:408:11;3893:84:9;4020:40;;;3987:23;4020:40;;;:25;;;:40;;;;;:65;4154:21;;;4150:91;;4191:27;4200:2;4204:13;4191:8;:27::i;:::-;4255:21;4250:469;4294:18;:25;4278:13;:41;4250:469;;;4352:15;4370:18;4389:13;4370:33;;;;;;;;:::i;:::-;;;;;;;;;;;;4443:39;;;4417:23;4443:39;;;;;;;;;;;:52;4370:33;;-1:-1:-1;4443:52:9;;4517:29;;4509:95;;;;;;;5570:2:11;4509:95:9;;;5552:21:11;5609:2;5589:18;;;5582:30;5648:34;5628:18;;;5621:62;5719:23;5699:18;;;5692:51;5760:19;;4509:95:9;5368:417:11;4509:95:9;7084:40;;;:29;:40;;;;;;;;;;;:85;;;;;;;;;;;;;;7179:40;;;;;-1:-1:-1;7179:25:9;;;:40;;;;;:74;;;;;;;;;;;;;;;;;;;;;;;;;7084:85;7179:74;;;;;;;;;;;;;;;;;;;;;7263:40;;;;;;;:69;;7084:85;7263:69;;;;4690:18;;;;:::i;:::-;;;;4338:381;;4321:15;;;;;:::i;:::-;;;;4250:469;;;;3726:999;;3636:1089;;:::o;4731:1138::-;4871:1;4843:18;:25;:29;4835:85;;;;;;;4745:2:11;4835:85:9;;;4727:21:11;4784:2;4764:18;;;4757:30;4823:34;4803:18;;;4796:62;4894:13;4874:18;;;4867:41;4925:19;;4835:85:9;4543:407:11;4835:85:9;492:45;4992:27;;;4984:84;;;;;;;5157:2:11;4984:84:9;;;5139:21:11;5196:2;5176:18;;;5169:30;5235:34;5215:18;;;5208:62;5306:14;5286:18;;;5279:42;5338:19;;4984:84:9;4955:408:11;4984:84:9;5111:40;;;5078:23;5111:40;;;:25;;;:40;;;;;:65;5245:21;;;5241:79;;5282:27;5291:2;5295:13;5282:8;:27::i;:::-;5334:21;5329:534;5373:18;:25;5357:13;:41;5329:534;;;5431:15;5449:18;5468:13;5449:33;;;;;;;;:::i;:::-;;;;;;;;;;;;5522:39;;;5496:23;5522:39;;;;;;;;;;;:52;5449:33;;-1:-1:-1;5522:52:9;;;;;5596:32;;;;;5588:101;;;;;;;6214:2:11;5588:101:9;;;6196:21:11;6253:2;6233:18;;;6226:30;6292:34;6272:18;;;6265:62;6363:26;6343:18;;;6336:54;6407:19;;5588:101:9;6012:420:11;5588:101:9;5703:45;5718:2;5722:15;5739:8;5703:14;:45::i;:::-;7084:40;;;:29;:40;;;;;;;;;;;:85;;;;;;;;;;;;;;7179:40;;;;;-1:-1:-1;7179:25:9;;;:40;;;;;:74;;;;;;;;;;;;;;;;;;;;;;;;;7084:85;7179:74;;;;;;;;;;;;;;;;;;;;;7263:40;;;;;;;:69;;7084:85;7263:69;;;;5834:18;;;;:::i;:::-;;;;5417:446;;5400:15;;;;;:::i;:::-;;;;5329:534;;5875:742;6014:1;5986:18;:25;:29;5978:85;;;;;;;4745:2:11;5978:85:9;;;4727:21:11;4784:2;4764:18;;;4757:30;4823:34;4803:18;;;4796:62;4894:13;4874:18;;;4867:41;4925:19;;5978:85:9;4543:407:11;5978:85:9;492:45;6200:27;;;;6192:94;;;;;;;6639:2:11;6192:94:9;;;6621:21:11;6678:2;6658:18;;;6651:30;6717:34;6697:18;;;6690:62;6788:24;6768:18;;;6761:52;6830:19;;6192:94:9;6437:418:11;6192:94:9;6301:21;6296:315;6340:18;:25;6324:13;:41;6296:315;;;6398:15;6416:18;6435:13;6416:33;;;;;;;;:::i;:::-;;;;;;;;;;;;6489:39;;;6463:23;6489:39;;;;;;;;;;;:52;6416:33;;-1:-1:-1;6489:52:9;;6555:45;6489:2;:52;6416:33;6555:14;:45::i;:::-;6384:227;;6367:15;;;;;:::i;:::-;;;;6296:315;;;;5968:649;5875:742;;:::o;9541:871::-;9633:19;;;9629:777;;9676:16;;:21;9668:94;;;;;;;7062:2:11;9668:94:9;;;7044:21:11;7101:2;7081:18;;;7074:30;7140:34;7120:18;;;7113:62;7211:30;7191:18;;;7184:58;7259:19;;9668:94:9;6860:424:11;9668:94:9;9541:871;;:::o;9629:777::-;9820:1;9801:9;:16;:20;9793:94;;;;;;;7491:2:11;9793:94:9;;;7473:21:11;7530:2;7510:18;;;7503:30;7569:34;7549:18;;;7542:62;7640:31;7620:18;;;7613:59;7689:19;;9793:94:9;7289:425:11;9793:94:9;9905:22;;;9922:4;9905:22;9901:134;;9947:73;9970:5;9947:73;;;;;;;;;;;;;;;;;:22;:73::i;:::-;10049:12;10063:18;10085:5;:18;;10104:9;10085:29;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;10048:66;;;;10133:7;10128:268;;10164:12;;:16;10160:222;;10261:5;10247:21;;;;;;;;;;;:::i;10160:222::-;10315:48;;;;;8424:2:11;10315:48:9;;;8406:21:11;8463:2;8443:18;;;8436:30;8502:34;8482:18;;;8475:62;8573:8;8553:18;;;8546:36;8599:19;;10315:48:9;8222:402:11;6623:316:9;6710:77;6733:13;6710:77;;;;;;;;;;;;;;;;;:22;:77::i;:::-;6861:17;;;:24;;6797:40;;;;;;;;:25;;;;:40;;;;;;;:61;;:88;;;6895:37;;;;;;;;;;;;;;;;;;;;;6623:316::o;7345:2190::-;7472:27;;;7464:95;;;;;;;8831:2:11;7464:95:9;;;8813:21:11;8870:2;8850:18;;;8843:30;8909:34;8889:18;;;8882:62;8980:25;8960:18;;;8953:53;9023:19;;7464:95:9;8629:419:11;7464:95:9;7654:30;;;7679:4;7654:30;;7646:89;;;;;;;9255:2:11;7646:89:9;;;9237:21:11;9294:2;9274:18;;;9267:30;9333:34;9313:18;;;9306:62;9404:16;9384:18;;;9377:44;9438:19;;7646:89:9;9053:410:11;7646:89:9;7846:40;;;7819:24;7846:40;;;;;;;;;;;:65;7952:40;;;;;8020:1;7952:25;;;:40;;;;;;:65;7846;;;;;;;7819:24;7952:69;;;:::i;:::-;7921:100;;8123:20;8103:16;:40;8099:387;;8181:40;;;8159:19;8181:40;;;:25;;;:40;;;;;:80;;8240:20;;8181:80;;;;;;:::i;:::-;;;;;;;;;;;;;;8275:40;;;;;:25;;;:40;;;;;;;:76;;8181:80;;;;;;;;;;;;;;-1:-1:-1;8181:80:9;;8275:40;8334:16;;8275:76;;;;;;:::i;:::-;;;;;;;;;;;;;:91;;;:76;;;;;;:91;;;;;;;;;;;;;;;;;;;;;;8380:43;;;;;;;;;;;;;:95;;;;;;;;;;;;8099:387;8531:40;;;;;;;:25;;;:40;;;;;:64;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8612:40;;;;;;;;;;;8605:47;8747:25;8743:786;;8914:17;;;:24;8879:32;;8914:28;;8941:1;;8914:28;:::i;:::-;8987:40;;;8956:28;8987:40;;;:25;;;;:40;;;;;;:61;;8879:63;;-1:-1:-1;9066:48:9;;;9062:338;;9134:24;9161:2;:17;;9179:24;9161:43;;;;;;;;:::i;:::-;;;;;;;;;;;9222:17;;;:39;;9161:43;;;;;-1:-1:-1;9161:43:9;;9240:20;;9222:39;;;;;;:::i;:::-;;;;;;;;;;;;;:58;;;;;;;;;;;9298:43;;;;;;-1:-1:-1;9298:25:9;;;:43;;;;;;:64;:87;;;9062:338;9413:2;:17;;:23;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;9457:40;;;;9413:23;9457:25;;;:40;;;;;;:61;9450:68;-1:-1:-1;;7446:2089:9;;7345:2190;;;:::o;10418:261::-;10591:22;;10658:13;10640:16;10632:40;;;;;;;;;;;;;:::i;375:184:11:-;427:77;424:1;417:88;524:4;521:1;514:15;548:4;545:1;538:15;564:184;616:77;613:1;606:88;713:4;710:1;703:15;737:4;734:1;727:15;1161:184;1213:77;1210:1;1203:88;1310:4;1307:1;1300:15;1334:4;1331:1;1324:15;1350:195;1389:3;1420:66;1413:5;1410:77;1407:103;;;1490:18;;:::i;:::-;-1:-1:-1;1537:1:11;1526:13;;1350:195::o;1682:258::-;1754:1;1764:113;1778:6;1775:1;1772:13;1764:113;;;1854:11;;;1848:18;1835:11;;;1828:39;1800:2;1793:10;1764:113;;;1895:6;1892:1;1889:13;1886:48;;;-1:-1:-1;;1930:1:11;1912:16;;1905:27;1682:258::o;1945:316::-;1986:3;2024:5;2018:12;2051:6;2046:3;2039:19;2067:63;2123:6;2116:4;2111:3;2107:14;2100:4;2093:5;2089:16;2067:63;:::i;:::-;2175:2;2163:15;2180:66;2159:88;2150:98;;;;2250:4;2146:109;;1945:316;-1:-1:-1;;1945:316:11:o;2266:2272::-;2532:4;2561:2;2601;2590:9;2586:18;2631:2;2620:9;2613:21;2654:6;2689;2683:13;2720:6;2712;2705:22;2746:3;2736:13;;2780:2;2769:9;2765:18;2758:25;;2842:2;2832:6;2829:1;2825:14;2814:9;2810:30;2806:39;2864:4;2903:2;2895:6;2891:15;2924:1;2934:1433;2948:6;2945:1;2942:13;2934:1433;;;3037:66;3025:9;3017:6;3013:22;3009:95;3004:3;2997:108;3134:6;3128:13;3180:2;3172:6;3168:15;3226:42;3221:2;3215:9;3211:58;3203:6;3196:74;3317:2;3313;3309:11;3303:18;3361:1;3347:12;3344:19;3334:227;;3405:77;3402:1;3395:88;3510:4;3507:1;3500:15;3542:4;3539:1;3532:15;3334:227;3581:15;;;3574:37;3634:4;3679:11;;;3673:18;3711:15;;;3704:27;;;3792:21;;3826:24;;;;3916:23;;;;-1:-1:-1;;3872:15:11;;;;3977:282;3993:8;3988:3;3985:17;3977:282;;;4074:15;;4091:66;4070:88;4056:103;;4228:17;;;;4021:1;4012:11;;;;;4185:14;;;;3977:282;;;-1:-1:-1;4345:12:11;;;;4282:5;-1:-1:-1;;;4310:15:11;;;;2970:1;2963:9;2934:1433;;;-1:-1:-1;;1627:42:11;1616:54;;4403:18;;;1604:67;4460:22;;;4453:4;4438:20;;4431:52;4500:32;4464:6;4517;4500:32;:::i;:::-;4492:40;2266:2272;-1:-1:-1;;;;;;;;;;2266:2272:11:o;5790:217::-;5828:3;5856:26;5917:2;5910:5;5906:14;5944:2;5935:7;5932:15;5929:41;;;5950:18;;:::i;:::-;5999:1;5986:15;;5790:217;-1:-1:-1;;;5790:217:11:o;7719:274::-;7848:3;7886:6;7880:13;7902:53;7948:6;7943:3;7936:4;7928:6;7924:17;7902:53;:::i;:::-;7971:16;;;;;7719:274;-1:-1:-1;;7719:274:11:o;7998:219::-;8147:2;8136:9;8129:21;8110:4;8167:44;8207:2;8196:9;8192:18;8184:6;8167:44;:::i;:::-;8159:52;7998:219;-1:-1:-1;;;7998:219:11:o;9468:125::-;9508:4;9536:1;9533;9530:8;9527:34;;;9541:18;;:::i;:::-;-1:-1:-1;9578:9:11;;9468:125::o;9598:184::-;9650:77;9647:1;9640:88;9747:4;9744:1;9737:15;9771:4;9768:1;9761:15" }, "gasEstimates": { "creation": { - "codeDepositCost": "1262200", + "codeDepositCost": "1345800", "executionCost": "infinite", "totalCost": "infinite" }, @@ -13040,7 +15745,7 @@ }, "methodIdentifiers": {} }, - "metadata": "{\"compiler\":{\"version\":\"0.7.6+commit.7338295f\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"facetAddress\",\"type\":\"address\"},{\"internalType\":\"enum IDiamondCut.FacetCutAction\",\"name\":\"action\",\"type\":\"uint8\"},{\"internalType\":\"bytes4[]\",\"name\":\"functionSelectors\",\"type\":\"bytes4[]\"}],\"internalType\":\"struct IDiamondCut.FacetCut[]\",\"name\":\"_diamondCut\",\"type\":\"tuple[]\"},{\"components\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"}],\"internalType\":\"struct Diamond.DiamondArgs\",\"name\":\"_args\",\"type\":\"tuple\"}],\"stateMutability\":\"payable\",\"type\":\"constructor\"},{\"stateMutability\":\"payable\",\"type\":\"fallback\"},{\"stateMutability\":\"payable\",\"type\":\"receive\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"solc_0.7/diamond/Diamond.sol\":\"Diamond\"},\"evmVersion\":\"istanbul\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\",\"useLiteralContent\":true},\"optimizer\":{\"enabled\":true,\"runs\":999999},\"remappings\":[]},\"sources\":{\"solc_0.7/diamond/Diamond.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\npragma solidity ^0.7.6;\\npragma experimental ABIEncoderV2;\\n\\n/******************************************************************************\\\\\\n* Author: Nick Mudge (https://twitter.com/mudgen)\\n* EIP-2535 Diamond Standard: https://eips.ethereum.org/EIPS/eip-2535\\n* \\n* Implementation of a diamond.\\n/******************************************************************************/\\n\\nimport \\\"./libraries/LibDiamond.sol\\\";\\nimport \\\"./interfaces/IDiamondLoupe.sol\\\";\\nimport \\\"./interfaces/IDiamondCut.sol\\\";\\nimport \\\"./interfaces/IERC173.sol\\\";\\nimport \\\"./interfaces/IERC165.sol\\\";\\n\\ncontract Diamond {\\n // more arguments are added to this struct\\n // this avoids stack too deep errors\\n struct DiamondArgs {\\n address owner;\\n }\\n\\n constructor(IDiamondCut.FacetCut[] memory _diamondCut, DiamondArgs memory _args) payable {\\n LibDiamond.diamondCut(_diamondCut, address(0), new bytes(0));\\n LibDiamond.setContractOwner(_args.owner);\\n\\n LibDiamond.DiamondStorage storage ds = LibDiamond.diamondStorage();\\n\\n // adding ERC165 data\\n ds.supportedInterfaces[type(IERC165).interfaceId] = true;\\n ds.supportedInterfaces[type(IDiamondCut).interfaceId] = true;\\n ds.supportedInterfaces[type(IDiamondLoupe).interfaceId] = true;\\n ds.supportedInterfaces[type(IERC173).interfaceId] = true;\\n }\\n\\n // Find facet for function that is called and execute the\\n // function if a facet is found and return any value.\\n fallback() external payable {\\n LibDiamond.DiamondStorage storage ds;\\n bytes32 position = LibDiamond.DIAMOND_STORAGE_POSITION;\\n assembly {\\n ds.slot := position\\n }\\n address facet = ds.selectorToFacetAndPosition[msg.sig].facetAddress;\\n require(facet != address(0), \\\"Diamond: Function does not exist\\\");\\n assembly {\\n calldatacopy(0, 0, calldatasize())\\n let result := delegatecall(gas(), facet, 0, calldatasize(), 0, 0)\\n returndatacopy(0, 0, returndatasize())\\n switch result\\n case 0 {\\n revert(0, returndatasize())\\n }\\n default {\\n return(0, returndatasize())\\n }\\n }\\n }\\n\\n receive() external payable {}\\n}\\n\",\"keccak256\":\"0x968d41f1fbb08e012a0617f3a8b865c06f60d783e043b675280741b791216202\",\"license\":\"MIT\"},\"solc_0.7/diamond/interfaces/IDiamondCut.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\npragma solidity ^0.7.6;\\npragma experimental ABIEncoderV2;\\n\\n/******************************************************************************\\\\\\n* Author: Nick Mudge (https://twitter.com/mudgen)\\n* EIP-2535 Diamond Standard: https://eips.ethereum.org/EIPS/eip-2535\\n/******************************************************************************/\\n\\ninterface IDiamondCut {\\n enum FacetCutAction {Add, Replace, Remove}\\n // Add=0, Replace=1, Remove=2\\n\\n struct FacetCut {\\n address facetAddress;\\n FacetCutAction action;\\n bytes4[] functionSelectors;\\n }\\n\\n /// @notice Add/replace/remove any number of functions and optionally execute\\n /// a function with delegatecall\\n /// @param _diamondCut Contains the facet addresses and function selectors\\n /// @param _init The address of the contract or facet to execute _calldata\\n /// @param _calldata A function call, including function selector and arguments\\n /// _calldata is executed with delegatecall on _init\\n function diamondCut(\\n FacetCut[] calldata _diamondCut,\\n address _init,\\n bytes calldata _calldata\\n ) external;\\n\\n event DiamondCut(FacetCut[] _diamondCut, address _init, bytes _calldata);\\n}\\n\",\"keccak256\":\"0xfb3c1af58cd19e1e49f065e33c7c68045ce451c3e16920614979624c44faf892\",\"license\":\"MIT\"},\"solc_0.7/diamond/interfaces/IDiamondLoupe.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\npragma solidity ^0.7.6;\\npragma experimental ABIEncoderV2;\\n\\n/******************************************************************************\\\\\\n* Author: Nick Mudge (https://twitter.com/mudgen)\\n* EIP-2535 Diamond Standard: https://eips.ethereum.org/EIPS/eip-2535\\n/******************************************************************************/\\n\\n// A loupe is a small magnifying glass used to look at diamonds.\\n// These functions look at diamonds\\ninterface IDiamondLoupe {\\n /// These functions are expected to be called frequently\\n /// by tools.\\n\\n struct Facet {\\n address facetAddress;\\n bytes4[] functionSelectors;\\n }\\n\\n /// @notice Gets all facet addresses and their four byte function selectors.\\n /// @return facets_ Facet\\n function facets() external view returns (Facet[] memory facets_);\\n\\n /// @notice Gets all the function selectors supported by a specific facet.\\n /// @param _facet The facet address.\\n /// @return facetFunctionSelectors_\\n function facetFunctionSelectors(address _facet) external view returns (bytes4[] memory facetFunctionSelectors_);\\n\\n /// @notice Get all the facet addresses used by a diamond.\\n /// @return facetAddresses_\\n function facetAddresses() external view returns (address[] memory facetAddresses_);\\n\\n /// @notice Gets the facet that supports the given selector.\\n /// @dev If facet is not found return address(0).\\n /// @param _functionSelector The function selector.\\n /// @return facetAddress_ The facet address.\\n function facetAddress(bytes4 _functionSelector) external view returns (address facetAddress_);\\n}\\n\",\"keccak256\":\"0xf4bc76153335588e7cb5fe1c9701857fd2ae0340ad94976adbf1c49054f82dfe\",\"license\":\"MIT\"},\"solc_0.7/diamond/interfaces/IERC165.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\npragma solidity ^0.7.6;\\npragma experimental ABIEncoderV2;\\n\\ninterface IERC165 {\\n /// @notice Query if a contract implements an interface\\n /// @param interfaceId The interface identifier, as specified in ERC-165\\n /// @dev Interface identification is specified in ERC-165. This function\\n /// uses less than 30,000 gas.\\n /// @return `true` if the contract implements `interfaceID` and\\n /// `interfaceID` is not 0xffffffff, `false` otherwise\\n function supportsInterface(bytes4 interfaceId) external view returns (bool);\\n}\\n\",\"keccak256\":\"0xe3ccc62939f8e880bdd4d5a34b05ccb9576810b8e999df6d16124e51019a0603\",\"license\":\"MIT\"},\"solc_0.7/diamond/interfaces/IERC173.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\npragma solidity ^0.7.6;\\n\\n/// @title ERC-173 Contract Ownership Standard\\n/// Note: the ERC-165 identifier for this interface is 0x7f5828d0\\n/* is ERC165 */\\ninterface IERC173 {\\n /// @dev This emits when ownership of a contract changes.\\n event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);\\n\\n /// @notice Get the address of the owner\\n /// @return owner_ The address of the owner.\\n function owner() external view returns (address owner_);\\n\\n /// @notice Set the address of the new owner of the contract\\n /// @dev Set _newOwner to address(0) to renounce any ownership.\\n /// @param _newOwner The address of the new owner of the contract\\n function transferOwnership(address _newOwner) external;\\n}\\n\",\"keccak256\":\"0xa4023156092d7cb99c69e21bc95b910e13c54e582d6814601579bc2fb594ecf8\",\"license\":\"MIT\"},\"solc_0.7/diamond/libraries/LibDiamond.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\npragma solidity ^0.7.6;\\npragma experimental ABIEncoderV2;\\n\\n/******************************************************************************\\\\\\n* Author: Nick Mudge (https://twitter.com/mudgen)\\n* EIP-2535 Diamond Standard: https://eips.ethereum.org/EIPS/eip-2535\\n/******************************************************************************/\\n\\nimport \\\"../interfaces/IDiamondCut.sol\\\";\\n\\nlibrary LibDiamond {\\n bytes32 constant DIAMOND_STORAGE_POSITION = keccak256(\\\"diamond.standard.diamond.storage\\\");\\n\\n struct FacetAddressAndPosition {\\n address facetAddress;\\n uint16 functionSelectorPosition; // position in facetFunctionSelectors.functionSelectors array\\n }\\n\\n struct FacetFunctionSelectors {\\n bytes4[] functionSelectors;\\n uint16 facetAddressPosition; // position of facetAddress in facetAddresses array\\n }\\n\\n struct DiamondStorage {\\n // maps function selector to the facet address and\\n // the position of the selector in the facetFunctionSelectors.selectors array\\n mapping(bytes4 => FacetAddressAndPosition) selectorToFacetAndPosition;\\n // maps facet addresses to function selectors\\n mapping(address => FacetFunctionSelectors) facetFunctionSelectors;\\n // facet addresses\\n address[] facetAddresses;\\n // Used to query if a contract implements an interface.\\n // Used to implement ERC-165.\\n mapping(bytes4 => bool) supportedInterfaces;\\n // owner of the contract\\n address contractOwner;\\n }\\n\\n function diamondStorage() internal pure returns (DiamondStorage storage ds) {\\n bytes32 position = DIAMOND_STORAGE_POSITION;\\n assembly {\\n ds.slot := position\\n }\\n }\\n\\n event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);\\n\\n function setContractOwner(address _newOwner) internal {\\n DiamondStorage storage ds = diamondStorage();\\n address previousOwner = ds.contractOwner;\\n ds.contractOwner = _newOwner;\\n emit OwnershipTransferred(previousOwner, _newOwner);\\n }\\n\\n function contractOwner() internal view returns (address contractOwner_) {\\n contractOwner_ = diamondStorage().contractOwner;\\n }\\n\\n function enforceIsContractOwner() internal view {\\n require(msg.sender == diamondStorage().contractOwner, \\\"LibDiamond: Must be contract owner\\\");\\n }\\n\\n event DiamondCut(IDiamondCut.FacetCut[] _diamondCut, address _init, bytes _calldata);\\n\\n // Internal function version of diamondCut\\n function diamondCut(\\n IDiamondCut.FacetCut[] memory _diamondCut,\\n address _init,\\n bytes memory _calldata\\n ) internal {\\n for (uint256 facetIndex; facetIndex < _diamondCut.length; facetIndex++) {\\n IDiamondCut.FacetCutAction action = _diamondCut[facetIndex].action;\\n if (action == IDiamondCut.FacetCutAction.Add) {\\n addFunctions(_diamondCut[facetIndex].facetAddress, _diamondCut[facetIndex].functionSelectors);\\n } else if (action == IDiamondCut.FacetCutAction.Replace) {\\n replaceFunctions(_diamondCut[facetIndex].facetAddress, _diamondCut[facetIndex].functionSelectors);\\n } else if (action == IDiamondCut.FacetCutAction.Remove) {\\n removeFunctions(_diamondCut[facetIndex].facetAddress, _diamondCut[facetIndex].functionSelectors);\\n } else {\\n revert(\\\"LibDiamondCut: Incorrect FacetCutAction\\\");\\n }\\n }\\n emit DiamondCut(_diamondCut, _init, _calldata);\\n initializeDiamondCut(_init, _calldata);\\n }\\n\\n function addFunctions(address _facetAddress, bytes4[] memory _functionSelectors) internal {\\n require(_functionSelectors.length > 0, \\\"LibDiamondCut: No selectors in facet to cut\\\");\\n DiamondStorage storage ds = diamondStorage();\\n // uint16 selectorCount = uint16(diamondStorage().selectors.length);\\n require(_facetAddress != address(0), \\\"LibDiamondCut: Add facet can't be address(0)\\\");\\n uint16 selectorPosition = uint16(ds.facetFunctionSelectors[_facetAddress].functionSelectors.length);\\n // add new facet address if it does not exist\\n if (selectorPosition == 0) {\\n enforceHasContractCode(_facetAddress, \\\"LibDiamondCut: New facet has no code\\\");\\n ds.facetFunctionSelectors[_facetAddress].facetAddressPosition = uint16(ds.facetAddresses.length);\\n ds.facetAddresses.push(_facetAddress);\\n }\\n for (uint256 selectorIndex; selectorIndex < _functionSelectors.length; selectorIndex++) {\\n bytes4 selector = _functionSelectors[selectorIndex];\\n address oldFacetAddress = ds.selectorToFacetAndPosition[selector].facetAddress;\\n require(oldFacetAddress == address(0), \\\"LibDiamondCut: Can't add function that already exists\\\");\\n ds.facetFunctionSelectors[_facetAddress].functionSelectors.push(selector);\\n ds.selectorToFacetAndPosition[selector].facetAddress = _facetAddress;\\n ds.selectorToFacetAndPosition[selector].functionSelectorPosition = selectorPosition;\\n selectorPosition++;\\n }\\n }\\n\\n function replaceFunctions(address _facetAddress, bytes4[] memory _functionSelectors) internal {\\n require(_functionSelectors.length > 0, \\\"LibDiamondCut: No selectors in facet to cut\\\");\\n DiamondStorage storage ds = diamondStorage();\\n require(_facetAddress != address(0), \\\"LibDiamondCut: Add facet can't be address(0)\\\");\\n uint16 selectorPosition = uint16(ds.facetFunctionSelectors[_facetAddress].functionSelectors.length);\\n // add new facet address if it does not exist\\n if (selectorPosition == 0) {\\n enforceHasContractCode(_facetAddress, \\\"LibDiamondCut: New facet has no code\\\");\\n ds.facetFunctionSelectors[_facetAddress].facetAddressPosition = uint16(ds.facetAddresses.length);\\n ds.facetAddresses.push(_facetAddress);\\n }\\n for (uint256 selectorIndex; selectorIndex < _functionSelectors.length; selectorIndex++) {\\n bytes4 selector = _functionSelectors[selectorIndex];\\n address oldFacetAddress = ds.selectorToFacetAndPosition[selector].facetAddress;\\n require(oldFacetAddress != _facetAddress, \\\"LibDiamondCut: Can't replace function with same function\\\");\\n removeFunction(oldFacetAddress, selector);\\n // add function\\n ds.selectorToFacetAndPosition[selector].functionSelectorPosition = selectorPosition;\\n ds.facetFunctionSelectors[_facetAddress].functionSelectors.push(selector);\\n ds.selectorToFacetAndPosition[selector].facetAddress = _facetAddress;\\n selectorPosition++;\\n }\\n }\\n\\n function removeFunctions(address _facetAddress, bytes4[] memory _functionSelectors) internal {\\n require(_functionSelectors.length > 0, \\\"LibDiamondCut: No selectors in facet to cut\\\");\\n DiamondStorage storage ds = diamondStorage();\\n // if function does not exist then do nothing and return\\n require(_facetAddress == address(0), \\\"LibDiamondCut: Remove facet address must be address(0)\\\");\\n for (uint256 selectorIndex; selectorIndex < _functionSelectors.length; selectorIndex++) {\\n bytes4 selector = _functionSelectors[selectorIndex];\\n address oldFacetAddress = ds.selectorToFacetAndPosition[selector].facetAddress;\\n removeFunction(oldFacetAddress, selector);\\n }\\n }\\n\\n function removeFunction(address _facetAddress, bytes4 _selector) internal {\\n DiamondStorage storage ds = diamondStorage();\\n require(_facetAddress != address(0), \\\"LibDiamondCut: Can't remove function that doesn't exist\\\");\\n // an immutable function is a function defined directly in a diamond\\n require(_facetAddress != address(this), \\\"LibDiamondCut: Can't remove immutable function\\\");\\n // replace selector with last selector, then delete last selector\\n uint256 selectorPosition = ds.selectorToFacetAndPosition[_selector].functionSelectorPosition;\\n uint256 lastSelectorPosition = ds.facetFunctionSelectors[_facetAddress].functionSelectors.length - 1;\\n // if not the same then replace _selector with lastSelector\\n if (selectorPosition != lastSelectorPosition) {\\n bytes4 lastSelector = ds.facetFunctionSelectors[_facetAddress].functionSelectors[lastSelectorPosition];\\n ds.facetFunctionSelectors[_facetAddress].functionSelectors[selectorPosition] = lastSelector;\\n ds.selectorToFacetAndPosition[lastSelector].functionSelectorPosition = uint16(selectorPosition);\\n }\\n // delete the last selector\\n ds.facetFunctionSelectors[_facetAddress].functionSelectors.pop();\\n delete ds.selectorToFacetAndPosition[_selector];\\n\\n // if no more selectors for facet address then delete the facet address\\n if (lastSelectorPosition == 0) {\\n // replace facet address with last facet address and delete last facet address\\n uint256 lastFacetAddressPosition = ds.facetAddresses.length - 1;\\n uint256 facetAddressPosition = ds.facetFunctionSelectors[_facetAddress].facetAddressPosition;\\n if (facetAddressPosition != lastFacetAddressPosition) {\\n address lastFacetAddress = ds.facetAddresses[lastFacetAddressPosition];\\n ds.facetAddresses[facetAddressPosition] = lastFacetAddress;\\n ds.facetFunctionSelectors[lastFacetAddress].facetAddressPosition = uint16(facetAddressPosition);\\n }\\n ds.facetAddresses.pop();\\n delete ds.facetFunctionSelectors[_facetAddress].facetAddressPosition;\\n }\\n }\\n\\n function initializeDiamondCut(address _init, bytes memory _calldata) internal {\\n if (_init == address(0)) {\\n require(_calldata.length == 0, \\\"LibDiamondCut: _init is address(0) but_calldata is not empty\\\");\\n } else {\\n require(_calldata.length > 0, \\\"LibDiamondCut: _calldata is empty but _init is not address(0)\\\");\\n if (_init != address(this)) {\\n enforceHasContractCode(_init, \\\"LibDiamondCut: _init address has no code\\\");\\n }\\n (bool success, bytes memory error) = _init.delegatecall(_calldata);\\n if (!success) {\\n if (error.length > 0) {\\n // bubble up the error\\n revert(string(error));\\n } else {\\n revert(\\\"LibDiamondCut: _init function reverted\\\");\\n }\\n }\\n }\\n }\\n\\n function enforceHasContractCode(address _contract, string memory _errorMessage) internal view {\\n uint256 contractSize;\\n assembly {\\n contractSize := extcodesize(_contract)\\n }\\n require(contractSize > 0, _errorMessage);\\n }\\n}\\n\",\"keccak256\":\"0x4eac03abb9864ad822b50481746c975a8e3e3278e179032cfc1b4b9c8e2320bc\",\"license\":\"MIT\"}},\"version\":1}", + "metadata": "{\"compiler\":{\"version\":\"0.8.9+commit.e5eed63a\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"facetAddress\",\"type\":\"address\"},{\"internalType\":\"enum IDiamondCut.FacetCutAction\",\"name\":\"action\",\"type\":\"uint8\"},{\"internalType\":\"bytes4[]\",\"name\":\"functionSelectors\",\"type\":\"bytes4[]\"}],\"internalType\":\"struct IDiamondCut.FacetCut[]\",\"name\":\"_diamondCut\",\"type\":\"tuple[]\"},{\"components\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"}],\"internalType\":\"struct Diamond.DiamondArgs\",\"name\":\"_args\",\"type\":\"tuple\"}],\"stateMutability\":\"payable\",\"type\":\"constructor\"},{\"stateMutability\":\"payable\",\"type\":\"fallback\"},{\"stateMutability\":\"payable\",\"type\":\"receive\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"solc_0.8/diamond/Diamond.sol\":\"Diamond\"},\"evmVersion\":\"london\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\",\"useLiteralContent\":true},\"optimizer\":{\"enabled\":true,\"runs\":999999},\"remappings\":[]},\"sources\":{\"solc_0.8/diamond/Diamond.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.0;\\n\\n/******************************************************************************\\\\\\n* Author: Nick Mudge (https://twitter.com/mudgen)\\n* EIP-2535 Diamonds: https://eips.ethereum.org/EIPS/eip-2535\\n*\\n* Implementation of a diamond.\\n/******************************************************************************/\\n\\nimport { LibDiamond } from \\\"./libraries/LibDiamond.sol\\\";\\nimport { IDiamondCut } from \\\"./interfaces/IDiamondCut.sol\\\";\\nimport { IDiamondLoupe } from \\\"./interfaces/IDiamondLoupe.sol\\\";\\nimport { IERC173 } from \\\"./interfaces/IERC173.sol\\\";\\nimport { IERC165 } from \\\"./interfaces/IERC165.sol\\\";\\n\\ncontract Diamond {\\n // more arguments are added to this struct\\n // this avoids stack too deep errors\\n struct DiamondArgs {\\n address owner;\\n }\\n\\n constructor(IDiamondCut.FacetCut[] memory _diamondCut, DiamondArgs memory _args) payable {\\n LibDiamond.diamondCut(_diamondCut, address(0), new bytes(0));\\n LibDiamond.setContractOwner(_args.owner);\\n\\n LibDiamond.DiamondStorage storage ds = LibDiamond.diamondStorage();\\n\\n // adding ERC165 data\\n ds.supportedInterfaces[type(IERC165).interfaceId] = true;\\n ds.supportedInterfaces[type(IDiamondCut).interfaceId] = true;\\n ds.supportedInterfaces[type(IDiamondLoupe).interfaceId] = true;\\n ds.supportedInterfaces[type(IERC173).interfaceId] = true;\\n }\\n\\n// constructor(address _contractOwner, address _diamondCutFacet) payable {\\n// LibDiamond.setContractOwner(_contractOwner);\\n//\\n// // Add the diamondCut external function from the diamondCutFacet\\n// IDiamondCut.FacetCut[] memory cut = new IDiamondCut.FacetCut[](1);\\n// bytes4[] memory functionSelectors = new bytes4[](1);\\n// functionSelectors[0] = IDiamondCut.diamondCut.selector;\\n// cut[0] = IDiamondCut.FacetCut({\\n// facetAddress: _diamondCutFacet,\\n// action: IDiamondCut.FacetCutAction.Add,\\n// functionSelectors: functionSelectors\\n// });\\n// LibDiamond.diamondCut(cut, address(0), \\\"\\\");\\n// }\\n\\n // Find facet for function that is called and execute the\\n // function if a facet is found and return any value.\\n fallback() external payable {\\n LibDiamond.DiamondStorage storage ds;\\n bytes32 position = LibDiamond.DIAMOND_STORAGE_POSITION;\\n // get diamond storage\\n assembly {\\n ds.slot := position\\n }\\n // get facet from function selector\\n address facet = ds.selectorToFacetAndPosition[msg.sig].facetAddress;\\n require(facet != address(0), \\\"Diamond: Function does not exist\\\");\\n // Execute external function from facet using delegatecall and return any value.\\n assembly {\\n // copy function selector and any arguments\\n calldatacopy(0, 0, calldatasize())\\n // execute function call using the facet\\n let result := delegatecall(gas(), facet, 0, calldatasize(), 0, 0)\\n // get any return value\\n returndatacopy(0, 0, returndatasize())\\n // return any return value or error back to the caller\\n switch result\\n case 0 {\\n revert(0, returndatasize())\\n }\\n default {\\n return(0, returndatasize())\\n }\\n }\\n }\\n\\n receive() external payable {}\\n}\\n\",\"keccak256\":\"0x2896fd2fc3e5181aeff52abac8a9761d5b9ea8429a3792a8208496b39b3de4dd\",\"license\":\"MIT\"},\"solc_0.8/diamond/interfaces/IDiamondCut.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.0;\\n\\n/******************************************************************************\\\\\\n* Author: Nick Mudge (https://twitter.com/mudgen)\\n* EIP-2535 Diamonds: https://eips.ethereum.org/EIPS/eip-2535\\n/******************************************************************************/\\n\\ninterface IDiamondCut {\\n enum FacetCutAction {Add, Replace, Remove}\\n // Add=0, Replace=1, Remove=2\\n\\n struct FacetCut {\\n address facetAddress;\\n FacetCutAction action;\\n bytes4[] functionSelectors;\\n }\\n\\n /// @notice Add/replace/remove any number of functions and optionally execute\\n /// a function with delegatecall\\n /// @param _diamondCut Contains the facet addresses and function selectors\\n /// @param _init The address of the contract or facet to execute _calldata\\n /// @param _calldata A function call, including function selector and arguments\\n /// _calldata is executed with delegatecall on _init\\n function diamondCut(\\n FacetCut[] calldata _diamondCut,\\n address _init,\\n bytes calldata _calldata\\n ) external;\\n\\n event DiamondCut(FacetCut[] _diamondCut, address _init, bytes _calldata);\\n}\\n\",\"keccak256\":\"0xc00c16bfa30a3fa5f3dc684f7f8ba62c259962b25f647d9588739458989717fc\",\"license\":\"MIT\"},\"solc_0.8/diamond/interfaces/IDiamondLoupe.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.0;\\n\\n/******************************************************************************\\\\\\n* Author: Nick Mudge (https://twitter.com/mudgen)\\n* EIP-2535 Diamonds: https://eips.ethereum.org/EIPS/eip-2535\\n/******************************************************************************/\\n\\n// A loupe is a small magnifying glass used to look at diamonds.\\n// These functions look at diamonds\\ninterface IDiamondLoupe {\\n /// These functions are expected to be called frequently\\n /// by tools.\\n\\n struct Facet {\\n address facetAddress;\\n bytes4[] functionSelectors;\\n }\\n\\n /// @notice Gets all facet addresses and their four byte function selectors.\\n /// @return facets_ Facet\\n function facets() external view returns (Facet[] memory facets_);\\n\\n /// @notice Gets all the function selectors supported by a specific facet.\\n /// @param _facet The facet address.\\n /// @return facetFunctionSelectors_\\n function facetFunctionSelectors(address _facet) external view returns (bytes4[] memory facetFunctionSelectors_);\\n\\n /// @notice Get all the facet addresses used by a diamond.\\n /// @return facetAddresses_\\n function facetAddresses() external view returns (address[] memory facetAddresses_);\\n\\n /// @notice Gets the facet that supports the given selector.\\n /// @dev If facet is not found return address(0).\\n /// @param _functionSelector The function selector.\\n /// @return facetAddress_ The facet address.\\n function facetAddress(bytes4 _functionSelector) external view returns (address facetAddress_);\\n}\\n\",\"keccak256\":\"0x10884024af2c0f7deca0fac4ddf84e76da5dba35b6e02fabeac8ea54c1a5c6f7\",\"license\":\"MIT\"},\"solc_0.8/diamond/interfaces/IERC165.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.0;\\n\\ninterface IERC165 {\\n /// @notice Query if a contract implements an interface\\n /// @param interfaceId The interface identifier, as specified in ERC-165\\n /// @dev Interface identification is specified in ERC-165. This function\\n /// uses less than 30,000 gas.\\n /// @return `true` if the contract implements `interfaceID` and\\n /// `interfaceID` is not 0xffffffff, `false` otherwise\\n function supportsInterface(bytes4 interfaceId) external view returns (bool);\\n}\\n\",\"keccak256\":\"0x7541f7408d0f74162bc4664d5e012427f2ceaab2abadca0353269ef15ee03d8b\",\"license\":\"MIT\"},\"solc_0.8/diamond/interfaces/IERC173.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.0;\\n\\n/// @title ERC-173 Contract Ownership Standard\\n/// Note: the ERC-165 identifier for this interface is 0x7f5828d0\\n/* is ERC165 */\\ninterface IERC173 {\\n /// @dev This emits when ownership of a contract changes.\\n event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);\\n\\n /// @notice Get the address of the owner\\n /// @return owner_ The address of the owner.\\n function owner() external view returns (address owner_);\\n\\n /// @notice Set the address of the new owner of the contract\\n /// @dev Set _newOwner to address(0) to renounce any ownership.\\n /// @param _newOwner The address of the new owner of the contract\\n function transferOwnership(address _newOwner) external;\\n}\\n\",\"keccak256\":\"0x001e07b0fbc894300b939d496ffb005abe398b5bc609802d319b8cdeafe5d36b\",\"license\":\"MIT\"},\"solc_0.8/diamond/libraries/LibDiamond.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.0;\\n\\n/******************************************************************************\\\\\\n* Author: Nick Mudge (https://twitter.com/mudgen)\\n* EIP-2535 Diamonds: https://eips.ethereum.org/EIPS/eip-2535\\n/******************************************************************************/\\nimport { IDiamondCut } from \\\"../interfaces/IDiamondCut.sol\\\";\\n\\nlibrary LibDiamond {\\n bytes32 constant DIAMOND_STORAGE_POSITION = keccak256(\\\"diamond.standard.diamond.storage\\\");\\n\\n struct FacetAddressAndPosition {\\n address facetAddress;\\n uint96 functionSelectorPosition; // position in facetFunctionSelectors.functionSelectors array\\n }\\n\\n struct FacetFunctionSelectors {\\n bytes4[] functionSelectors;\\n uint256 facetAddressPosition; // position of facetAddress in facetAddresses array\\n }\\n\\n struct DiamondStorage {\\n // maps function selector to the facet address and\\n // the position of the selector in the facetFunctionSelectors.selectors array\\n mapping(bytes4 => FacetAddressAndPosition) selectorToFacetAndPosition;\\n // maps facet addresses to function selectors\\n mapping(address => FacetFunctionSelectors) facetFunctionSelectors;\\n // facet addresses\\n address[] facetAddresses;\\n // Used to query if a contract implements an interface.\\n // Used to implement ERC-165.\\n mapping(bytes4 => bool) supportedInterfaces;\\n // owner of the contract\\n address contractOwner;\\n }\\n\\n function diamondStorage() internal pure returns (DiamondStorage storage ds) {\\n bytes32 position = DIAMOND_STORAGE_POSITION;\\n assembly {\\n ds.slot := position\\n }\\n }\\n\\n event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);\\n\\n function setContractOwner(address _newOwner) internal {\\n DiamondStorage storage ds = diamondStorage();\\n address previousOwner = ds.contractOwner;\\n ds.contractOwner = _newOwner;\\n emit OwnershipTransferred(previousOwner, _newOwner);\\n }\\n\\n function contractOwner() internal view returns (address contractOwner_) {\\n contractOwner_ = diamondStorage().contractOwner;\\n }\\n\\n function enforceIsContractOwner() internal view {\\n require(msg.sender == diamondStorage().contractOwner, \\\"LibDiamond: Must be contract owner\\\");\\n }\\n\\n event DiamondCut(IDiamondCut.FacetCut[] _diamondCut, address _init, bytes _calldata);\\n\\n // Internal function version of diamondCut\\n function diamondCut(\\n IDiamondCut.FacetCut[] memory _diamondCut,\\n address _init,\\n bytes memory _calldata\\n ) internal {\\n for (uint256 facetIndex; facetIndex < _diamondCut.length; facetIndex++) {\\n IDiamondCut.FacetCutAction action = _diamondCut[facetIndex].action;\\n if (action == IDiamondCut.FacetCutAction.Add) {\\n addFunctions(_diamondCut[facetIndex].facetAddress, _diamondCut[facetIndex].functionSelectors);\\n } else if (action == IDiamondCut.FacetCutAction.Replace) {\\n replaceFunctions(_diamondCut[facetIndex].facetAddress, _diamondCut[facetIndex].functionSelectors);\\n } else if (action == IDiamondCut.FacetCutAction.Remove) {\\n removeFunctions(_diamondCut[facetIndex].facetAddress, _diamondCut[facetIndex].functionSelectors);\\n } else {\\n revert(\\\"LibDiamondCut: Incorrect FacetCutAction\\\");\\n }\\n }\\n emit DiamondCut(_diamondCut, _init, _calldata);\\n initializeDiamondCut(_init, _calldata);\\n }\\n\\n function addFunctions(address _facetAddress, bytes4[] memory _functionSelectors) internal {\\n require(_functionSelectors.length > 0, \\\"LibDiamondCut: No selectors in facet to cut\\\");\\n DiamondStorage storage ds = diamondStorage(); \\n require(_facetAddress != address(0), \\\"LibDiamondCut: Add facet can't be address(0)\\\");\\n uint96 selectorPosition = uint96(ds.facetFunctionSelectors[_facetAddress].functionSelectors.length);\\n // add new facet address if it does not exist\\n if (selectorPosition == 0) {\\n addFacet(ds, _facetAddress); \\n }\\n for (uint256 selectorIndex; selectorIndex < _functionSelectors.length; selectorIndex++) {\\n bytes4 selector = _functionSelectors[selectorIndex];\\n address oldFacetAddress = ds.selectorToFacetAndPosition[selector].facetAddress;\\n require(oldFacetAddress == address(0), \\\"LibDiamondCut: Can't add function that already exists\\\");\\n addFunction(ds, selector, selectorPosition, _facetAddress);\\n selectorPosition++;\\n }\\n }\\n\\n function replaceFunctions(address _facetAddress, bytes4[] memory _functionSelectors) internal {\\n require(_functionSelectors.length > 0, \\\"LibDiamondCut: No selectors in facet to cut\\\");\\n DiamondStorage storage ds = diamondStorage();\\n require(_facetAddress != address(0), \\\"LibDiamondCut: Add facet can't be address(0)\\\");\\n uint96 selectorPosition = uint96(ds.facetFunctionSelectors[_facetAddress].functionSelectors.length);\\n // add new facet address if it does not exist\\n if (selectorPosition == 0) {\\n addFacet(ds, _facetAddress);\\n }\\n for (uint256 selectorIndex; selectorIndex < _functionSelectors.length; selectorIndex++) {\\n bytes4 selector = _functionSelectors[selectorIndex];\\n address oldFacetAddress = ds.selectorToFacetAndPosition[selector].facetAddress;\\n require(oldFacetAddress != _facetAddress, \\\"LibDiamondCut: Can't replace function with same function\\\");\\n removeFunction(ds, oldFacetAddress, selector);\\n addFunction(ds, selector, selectorPosition, _facetAddress);\\n selectorPosition++;\\n }\\n }\\n\\n function removeFunctions(address _facetAddress, bytes4[] memory _functionSelectors) internal {\\n require(_functionSelectors.length > 0, \\\"LibDiamondCut: No selectors in facet to cut\\\");\\n DiamondStorage storage ds = diamondStorage();\\n // if function does not exist then do nothing and return\\n require(_facetAddress == address(0), \\\"LibDiamondCut: Remove facet address must be address(0)\\\");\\n for (uint256 selectorIndex; selectorIndex < _functionSelectors.length; selectorIndex++) {\\n bytes4 selector = _functionSelectors[selectorIndex];\\n address oldFacetAddress = ds.selectorToFacetAndPosition[selector].facetAddress;\\n removeFunction(ds, oldFacetAddress, selector);\\n }\\n }\\n\\n function addFacet(DiamondStorage storage ds, address _facetAddress) internal {\\n enforceHasContractCode(_facetAddress, \\\"LibDiamondCut: New facet has no code\\\");\\n ds.facetFunctionSelectors[_facetAddress].facetAddressPosition = ds.facetAddresses.length;\\n ds.facetAddresses.push(_facetAddress);\\n } \\n\\n\\n function addFunction(DiamondStorage storage ds, bytes4 _selector, uint96 _selectorPosition, address _facetAddress) internal {\\n ds.selectorToFacetAndPosition[_selector].functionSelectorPosition = _selectorPosition;\\n ds.facetFunctionSelectors[_facetAddress].functionSelectors.push(_selector);\\n ds.selectorToFacetAndPosition[_selector].facetAddress = _facetAddress;\\n }\\n\\n function removeFunction(DiamondStorage storage ds, address _facetAddress, bytes4 _selector) internal { \\n require(_facetAddress != address(0), \\\"LibDiamondCut: Can't remove function that doesn't exist\\\");\\n // an immutable function is a function defined directly in a diamond\\n require(_facetAddress != address(this), \\\"LibDiamondCut: Can't remove immutable function\\\");\\n // replace selector with last selector, then delete last selector\\n uint256 selectorPosition = ds.selectorToFacetAndPosition[_selector].functionSelectorPosition;\\n uint256 lastSelectorPosition = ds.facetFunctionSelectors[_facetAddress].functionSelectors.length - 1;\\n // if not the same then replace _selector with lastSelector\\n if (selectorPosition != lastSelectorPosition) {\\n bytes4 lastSelector = ds.facetFunctionSelectors[_facetAddress].functionSelectors[lastSelectorPosition];\\n ds.facetFunctionSelectors[_facetAddress].functionSelectors[selectorPosition] = lastSelector;\\n ds.selectorToFacetAndPosition[lastSelector].functionSelectorPosition = uint96(selectorPosition);\\n }\\n // delete the last selector\\n ds.facetFunctionSelectors[_facetAddress].functionSelectors.pop();\\n delete ds.selectorToFacetAndPosition[_selector];\\n\\n // if no more selectors for facet address then delete the facet address\\n if (lastSelectorPosition == 0) {\\n // replace facet address with last facet address and delete last facet address\\n uint256 lastFacetAddressPosition = ds.facetAddresses.length - 1;\\n uint256 facetAddressPosition = ds.facetFunctionSelectors[_facetAddress].facetAddressPosition;\\n if (facetAddressPosition != lastFacetAddressPosition) {\\n address lastFacetAddress = ds.facetAddresses[lastFacetAddressPosition];\\n ds.facetAddresses[facetAddressPosition] = lastFacetAddress;\\n ds.facetFunctionSelectors[lastFacetAddress].facetAddressPosition = facetAddressPosition;\\n }\\n ds.facetAddresses.pop();\\n delete ds.facetFunctionSelectors[_facetAddress].facetAddressPosition;\\n }\\n }\\n\\n function initializeDiamondCut(address _init, bytes memory _calldata) internal {\\n if (_init == address(0)) {\\n require(_calldata.length == 0, \\\"LibDiamondCut: _init is address(0) but_calldata is not empty\\\");\\n } else {\\n require(_calldata.length > 0, \\\"LibDiamondCut: _calldata is empty but _init is not address(0)\\\");\\n if (_init != address(this)) {\\n enforceHasContractCode(_init, \\\"LibDiamondCut: _init address has no code\\\");\\n }\\n (bool success, bytes memory error) = _init.delegatecall(_calldata);\\n if (!success) {\\n if (error.length > 0) {\\n // bubble up the error\\n revert(string(error));\\n } else {\\n revert(\\\"LibDiamondCut: _init function reverted\\\");\\n }\\n }\\n }\\n }\\n\\n function enforceHasContractCode(address _contract, string memory _errorMessage) internal view {\\n uint256 contractSize;\\n assembly {\\n contractSize := extcodesize(_contract)\\n }\\n require(contractSize > 0, _errorMessage);\\n }\\n}\\n\",\"keccak256\":\"0x2205345e83eb86f5281f159a9215a096cb6d404782619f9b8e9d7a4a46c32a37\",\"license\":\"MIT\"}},\"version\":1}", "storageLayout": { "storage": [], "types": null @@ -13050,6 +15755,6 @@ "methods": {}, "version": 1 }, - "solcInput": "{\n \"language\": \"Solidity\",\n \"sources\": {\n \"solc_0.7/diamond/Diamantaire.sol\": {\n \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity ^0.7.1;\\npragma experimental ABIEncoderV2;\\n\\nimport \\\"./interfaces/IDiamondCut.sol\\\";\\nimport \\\"./Diamond.sol\\\";\\nimport \\\"./facets/DiamondCutFacet.sol\\\";\\nimport \\\"./facets/DiamondLoupeFacet.sol\\\";\\nimport \\\"./facets/OwnershipFacet.sol\\\";\\n\\ncontract Diamantaire {\\n event DiamondCreated(Diamond diamond);\\n\\n IDiamondCut.FacetCut[] internal _builtinDiamondCut;\\n\\n constructor() {\\n bytes4[] memory functionSelectors;\\n\\n // -------------------------------------------------------------------------\\n // adding diamondCut function\\n // -------------------------------------------------------------------------\\n DiamondCutFacet diamondCutFacet = new DiamondCutFacet();\\n\\n functionSelectors = new bytes4[](1);\\n functionSelectors[0] = DiamondCutFacet.diamondCut.selector;\\n _builtinDiamondCut.push(IDiamondCut.FacetCut({\\n facetAddress:address(diamondCutFacet),\\n action: IDiamondCut.FacetCutAction.Add,\\n functionSelectors: functionSelectors\\n }));\\n\\n\\n // -------------------------------------------------------------------------\\n // adding diamond loupe functions\\n // -------------------------------------------------------------------------\\n DiamondLoupeFacet diamondLoupeFacet = new DiamondLoupeFacet();\\n\\n functionSelectors = new bytes4[](5);\\n functionSelectors[0] = DiamondLoupeFacet.facetFunctionSelectors.selector;\\n functionSelectors[1] = DiamondLoupeFacet.facets.selector;\\n functionSelectors[2] = DiamondLoupeFacet.facetAddress.selector;\\n functionSelectors[3] = DiamondLoupeFacet.facetAddresses.selector;\\n functionSelectors[4] = DiamondLoupeFacet.supportsInterface.selector;\\n _builtinDiamondCut.push(IDiamondCut.FacetCut({\\n facetAddress:address(diamondLoupeFacet),\\n action: IDiamondCut.FacetCutAction.Add,\\n functionSelectors: functionSelectors\\n }));\\n\\n\\n // -------------------------------------------------------------------------\\n // adding ownership functions\\n // -------------------------------------------------------------------------\\n OwnershipFacet ownershipFacet = new OwnershipFacet();\\n\\n functionSelectors = new bytes4[](2);\\n functionSelectors[0] = OwnershipFacet.transferOwnership.selector;\\n functionSelectors[1] = OwnershipFacet.owner.selector;\\n _builtinDiamondCut.push(IDiamondCut.FacetCut({\\n facetAddress:address(ownershipFacet),\\n action: IDiamondCut.FacetCutAction.Add,\\n functionSelectors: functionSelectors\\n }));\\n }\\n\\n function createDiamond(\\n address owner,\\n IDiamondCut.FacetCut[] calldata _diamondCut,\\n bytes calldata data,\\n bytes32 salt\\n ) external payable returns (Diamond diamond) {\\n if (salt != 0x0000000000000000000000000000000000000000000000000000000000000000) {\\n salt = keccak256(abi.encodePacked(salt, owner));\\n diamond = new Diamond{value: msg.value, salt: salt}(\\n _builtinDiamondCut,\\n Diamond.DiamondArgs({owner:address(this)})\\n );\\n } else {\\n diamond = new Diamond{value: msg.value}(_builtinDiamondCut, Diamond.DiamondArgs({owner:address(this)}));\\n }\\n emit DiamondCreated(diamond);\\n\\n IDiamondCut(address(diamond)).diamondCut(_diamondCut, data.length > 0 ? address(diamond) : address(0), data);\\n IERC173(address(diamond)).transferOwnership(owner);\\n }\\n}\\n\"\n },\n \"solc_0.7/diamond/interfaces/IDiamondCut.sol\": {\n \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity ^0.7.6;\\npragma experimental ABIEncoderV2;\\n\\n/******************************************************************************\\\\\\n* Author: Nick Mudge (https://twitter.com/mudgen)\\n* EIP-2535 Diamond Standard: https://eips.ethereum.org/EIPS/eip-2535\\n/******************************************************************************/\\n\\ninterface IDiamondCut {\\n enum FacetCutAction {Add, Replace, Remove}\\n // Add=0, Replace=1, Remove=2\\n\\n struct FacetCut {\\n address facetAddress;\\n FacetCutAction action;\\n bytes4[] functionSelectors;\\n }\\n\\n /// @notice Add/replace/remove any number of functions and optionally execute\\n /// a function with delegatecall\\n /// @param _diamondCut Contains the facet addresses and function selectors\\n /// @param _init The address of the contract or facet to execute _calldata\\n /// @param _calldata A function call, including function selector and arguments\\n /// _calldata is executed with delegatecall on _init\\n function diamondCut(\\n FacetCut[] calldata _diamondCut,\\n address _init,\\n bytes calldata _calldata\\n ) external;\\n\\n event DiamondCut(FacetCut[] _diamondCut, address _init, bytes _calldata);\\n}\\n\"\n },\n \"solc_0.7/diamond/Diamond.sol\": {\n \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity ^0.7.6;\\npragma experimental ABIEncoderV2;\\n\\n/******************************************************************************\\\\\\n* Author: Nick Mudge (https://twitter.com/mudgen)\\n* EIP-2535 Diamond Standard: https://eips.ethereum.org/EIPS/eip-2535\\n* \\n* Implementation of a diamond.\\n/******************************************************************************/\\n\\nimport \\\"./libraries/LibDiamond.sol\\\";\\nimport \\\"./interfaces/IDiamondLoupe.sol\\\";\\nimport \\\"./interfaces/IDiamondCut.sol\\\";\\nimport \\\"./interfaces/IERC173.sol\\\";\\nimport \\\"./interfaces/IERC165.sol\\\";\\n\\ncontract Diamond {\\n // more arguments are added to this struct\\n // this avoids stack too deep errors\\n struct DiamondArgs {\\n address owner;\\n }\\n\\n constructor(IDiamondCut.FacetCut[] memory _diamondCut, DiamondArgs memory _args) payable {\\n LibDiamond.diamondCut(_diamondCut, address(0), new bytes(0));\\n LibDiamond.setContractOwner(_args.owner);\\n\\n LibDiamond.DiamondStorage storage ds = LibDiamond.diamondStorage();\\n\\n // adding ERC165 data\\n ds.supportedInterfaces[type(IERC165).interfaceId] = true;\\n ds.supportedInterfaces[type(IDiamondCut).interfaceId] = true;\\n ds.supportedInterfaces[type(IDiamondLoupe).interfaceId] = true;\\n ds.supportedInterfaces[type(IERC173).interfaceId] = true;\\n }\\n\\n // Find facet for function that is called and execute the\\n // function if a facet is found and return any value.\\n fallback() external payable {\\n LibDiamond.DiamondStorage storage ds;\\n bytes32 position = LibDiamond.DIAMOND_STORAGE_POSITION;\\n assembly {\\n ds.slot := position\\n }\\n address facet = ds.selectorToFacetAndPosition[msg.sig].facetAddress;\\n require(facet != address(0), \\\"Diamond: Function does not exist\\\");\\n assembly {\\n calldatacopy(0, 0, calldatasize())\\n let result := delegatecall(gas(), facet, 0, calldatasize(), 0, 0)\\n returndatacopy(0, 0, returndatasize())\\n switch result\\n case 0 {\\n revert(0, returndatasize())\\n }\\n default {\\n return(0, returndatasize())\\n }\\n }\\n }\\n\\n receive() external payable {}\\n}\\n\"\n },\n \"solc_0.7/diamond/facets/DiamondCutFacet.sol\": {\n \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity ^0.7.6;\\npragma experimental ABIEncoderV2;\\n\\n/******************************************************************************\\\\\\n* Author: Nick Mudge (https://twitter.com/mudgen)\\n* EIP-2535 Diamond Standard: https://eips.ethereum.org/EIPS/eip-2535\\n/******************************************************************************/\\n\\nimport \\\"../interfaces/IDiamondCut.sol\\\";\\nimport \\\"../libraries/LibDiamond.sol\\\";\\n\\ncontract DiamondCutFacet is IDiamondCut {\\n /// @notice Add/replace/remove any number of functions and optionally execute\\n /// a function with delegatecall\\n /// @param _diamondCut Contains the facet addresses and function selectors\\n /// @param _init The address of the contract or facet to execute _calldata\\n /// @param _calldata A function call, including function selector and arguments\\n /// _calldata is executed with delegatecall on _init\\n function diamondCut(\\n FacetCut[] calldata _diamondCut,\\n address _init,\\n bytes calldata _calldata\\n ) external override {\\n LibDiamond.enforceIsContractOwner();\\n LibDiamond.diamondCut(_diamondCut, _init, _calldata);\\n }\\n}\\n\"\n },\n \"solc_0.7/diamond/facets/DiamondLoupeFacet.sol\": {\n \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity ^0.7.6;\\npragma experimental ABIEncoderV2;\\n\\n/******************************************************************************\\\\\\n* Author: Nick Mudge (https://twitter.com/mudgen)\\n* EIP-2535 Diamond Standard: https://eips.ethereum.org/EIPS/eip-2535\\n/******************************************************************************/\\n\\nimport \\\"../libraries/LibDiamond.sol\\\";\\nimport \\\"../interfaces/IDiamondCut.sol\\\";\\nimport \\\"../interfaces/IDiamondLoupe.sol\\\";\\nimport \\\"../interfaces/IERC165.sol\\\";\\n\\ncontract DiamondLoupeFacet is IDiamondLoupe, IERC165 {\\n // Diamond Loupe Functions\\n ////////////////////////////////////////////////////////////////////\\n /// These functions are expected to be called frequently by tools.\\n //\\n // struct Facet {\\n // address facetAddress;\\n // bytes4[] functionSelectors;\\n // }\\n\\n /// @notice Gets all facets and their selectors.\\n /// @return facets_ Facet\\n function facets() external override view returns (Facet[] memory facets_) {\\n LibDiamond.DiamondStorage storage ds = LibDiamond.diamondStorage();\\n uint256 numFacets = ds.facetAddresses.length;\\n facets_ = new Facet[](numFacets);\\n for (uint256 i; i < numFacets; i++) {\\n address facetAddress_ = ds.facetAddresses[i];\\n facets_[i].facetAddress = facetAddress_;\\n facets_[i].functionSelectors = ds.facetFunctionSelectors[facetAddress_].functionSelectors;\\n }\\n }\\n\\n /// @notice Gets all the function selectors provided by a facet.\\n /// @param _facet The facet address.\\n /// @return facetFunctionSelectors_\\n function facetFunctionSelectors(address _facet) external override view returns (bytes4[] memory facetFunctionSelectors_) {\\n LibDiamond.DiamondStorage storage ds = LibDiamond.diamondStorage();\\n facetFunctionSelectors_ = ds.facetFunctionSelectors[_facet].functionSelectors;\\n }\\n\\n /// @notice Get all the facet addresses used by a diamond.\\n /// @return facetAddresses_\\n function facetAddresses() external override view returns (address[] memory facetAddresses_) {\\n LibDiamond.DiamondStorage storage ds = LibDiamond.diamondStorage();\\n facetAddresses_ = ds.facetAddresses;\\n }\\n\\n /// @notice Gets the facet that supports the given selector.\\n /// @dev If facet is not found return address(0).\\n /// @param _functionSelector The function selector.\\n /// @return facetAddress_ The facet address.\\n function facetAddress(bytes4 _functionSelector) external override view returns (address facetAddress_) {\\n LibDiamond.DiamondStorage storage ds = LibDiamond.diamondStorage();\\n facetAddress_ = ds.selectorToFacetAndPosition[_functionSelector].facetAddress;\\n }\\n\\n // This implements ERC-165.\\n function supportsInterface(bytes4 _interfaceId) external override view returns (bool) {\\n LibDiamond.DiamondStorage storage ds = LibDiamond.diamondStorage();\\n return ds.supportedInterfaces[_interfaceId];\\n }\\n}\\n\"\n },\n \"solc_0.7/diamond/facets/OwnershipFacet.sol\": {\n \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity ^0.7.6;\\n\\nimport \\\"../libraries/LibDiamond.sol\\\";\\nimport \\\"../interfaces/IERC173.sol\\\";\\n\\ncontract OwnershipFacet is IERC173 {\\n function transferOwnership(address _newOwner) external override {\\n LibDiamond.enforceIsContractOwner();\\n LibDiamond.setContractOwner(_newOwner);\\n }\\n\\n function owner() external override view returns (address owner_) {\\n owner_ = LibDiamond.contractOwner();\\n }\\n}\\n\"\n },\n \"solc_0.7/diamond/libraries/LibDiamond.sol\": {\n \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity ^0.7.6;\\npragma experimental ABIEncoderV2;\\n\\n/******************************************************************************\\\\\\n* Author: Nick Mudge (https://twitter.com/mudgen)\\n* EIP-2535 Diamond Standard: https://eips.ethereum.org/EIPS/eip-2535\\n/******************************************************************************/\\n\\nimport \\\"../interfaces/IDiamondCut.sol\\\";\\n\\nlibrary LibDiamond {\\n bytes32 constant DIAMOND_STORAGE_POSITION = keccak256(\\\"diamond.standard.diamond.storage\\\");\\n\\n struct FacetAddressAndPosition {\\n address facetAddress;\\n uint16 functionSelectorPosition; // position in facetFunctionSelectors.functionSelectors array\\n }\\n\\n struct FacetFunctionSelectors {\\n bytes4[] functionSelectors;\\n uint16 facetAddressPosition; // position of facetAddress in facetAddresses array\\n }\\n\\n struct DiamondStorage {\\n // maps function selector to the facet address and\\n // the position of the selector in the facetFunctionSelectors.selectors array\\n mapping(bytes4 => FacetAddressAndPosition) selectorToFacetAndPosition;\\n // maps facet addresses to function selectors\\n mapping(address => FacetFunctionSelectors) facetFunctionSelectors;\\n // facet addresses\\n address[] facetAddresses;\\n // Used to query if a contract implements an interface.\\n // Used to implement ERC-165.\\n mapping(bytes4 => bool) supportedInterfaces;\\n // owner of the contract\\n address contractOwner;\\n }\\n\\n function diamondStorage() internal pure returns (DiamondStorage storage ds) {\\n bytes32 position = DIAMOND_STORAGE_POSITION;\\n assembly {\\n ds.slot := position\\n }\\n }\\n\\n event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);\\n\\n function setContractOwner(address _newOwner) internal {\\n DiamondStorage storage ds = diamondStorage();\\n address previousOwner = ds.contractOwner;\\n ds.contractOwner = _newOwner;\\n emit OwnershipTransferred(previousOwner, _newOwner);\\n }\\n\\n function contractOwner() internal view returns (address contractOwner_) {\\n contractOwner_ = diamondStorage().contractOwner;\\n }\\n\\n function enforceIsContractOwner() internal view {\\n require(msg.sender == diamondStorage().contractOwner, \\\"LibDiamond: Must be contract owner\\\");\\n }\\n\\n event DiamondCut(IDiamondCut.FacetCut[] _diamondCut, address _init, bytes _calldata);\\n\\n // Internal function version of diamondCut\\n function diamondCut(\\n IDiamondCut.FacetCut[] memory _diamondCut,\\n address _init,\\n bytes memory _calldata\\n ) internal {\\n for (uint256 facetIndex; facetIndex < _diamondCut.length; facetIndex++) {\\n IDiamondCut.FacetCutAction action = _diamondCut[facetIndex].action;\\n if (action == IDiamondCut.FacetCutAction.Add) {\\n addFunctions(_diamondCut[facetIndex].facetAddress, _diamondCut[facetIndex].functionSelectors);\\n } else if (action == IDiamondCut.FacetCutAction.Replace) {\\n replaceFunctions(_diamondCut[facetIndex].facetAddress, _diamondCut[facetIndex].functionSelectors);\\n } else if (action == IDiamondCut.FacetCutAction.Remove) {\\n removeFunctions(_diamondCut[facetIndex].facetAddress, _diamondCut[facetIndex].functionSelectors);\\n } else {\\n revert(\\\"LibDiamondCut: Incorrect FacetCutAction\\\");\\n }\\n }\\n emit DiamondCut(_diamondCut, _init, _calldata);\\n initializeDiamondCut(_init, _calldata);\\n }\\n\\n function addFunctions(address _facetAddress, bytes4[] memory _functionSelectors) internal {\\n require(_functionSelectors.length > 0, \\\"LibDiamondCut: No selectors in facet to cut\\\");\\n DiamondStorage storage ds = diamondStorage();\\n // uint16 selectorCount = uint16(diamondStorage().selectors.length);\\n require(_facetAddress != address(0), \\\"LibDiamondCut: Add facet can't be address(0)\\\");\\n uint16 selectorPosition = uint16(ds.facetFunctionSelectors[_facetAddress].functionSelectors.length);\\n // add new facet address if it does not exist\\n if (selectorPosition == 0) {\\n enforceHasContractCode(_facetAddress, \\\"LibDiamondCut: New facet has no code\\\");\\n ds.facetFunctionSelectors[_facetAddress].facetAddressPosition = uint16(ds.facetAddresses.length);\\n ds.facetAddresses.push(_facetAddress);\\n }\\n for (uint256 selectorIndex; selectorIndex < _functionSelectors.length; selectorIndex++) {\\n bytes4 selector = _functionSelectors[selectorIndex];\\n address oldFacetAddress = ds.selectorToFacetAndPosition[selector].facetAddress;\\n require(oldFacetAddress == address(0), \\\"LibDiamondCut: Can't add function that already exists\\\");\\n ds.facetFunctionSelectors[_facetAddress].functionSelectors.push(selector);\\n ds.selectorToFacetAndPosition[selector].facetAddress = _facetAddress;\\n ds.selectorToFacetAndPosition[selector].functionSelectorPosition = selectorPosition;\\n selectorPosition++;\\n }\\n }\\n\\n function replaceFunctions(address _facetAddress, bytes4[] memory _functionSelectors) internal {\\n require(_functionSelectors.length > 0, \\\"LibDiamondCut: No selectors in facet to cut\\\");\\n DiamondStorage storage ds = diamondStorage();\\n require(_facetAddress != address(0), \\\"LibDiamondCut: Add facet can't be address(0)\\\");\\n uint16 selectorPosition = uint16(ds.facetFunctionSelectors[_facetAddress].functionSelectors.length);\\n // add new facet address if it does not exist\\n if (selectorPosition == 0) {\\n enforceHasContractCode(_facetAddress, \\\"LibDiamondCut: New facet has no code\\\");\\n ds.facetFunctionSelectors[_facetAddress].facetAddressPosition = uint16(ds.facetAddresses.length);\\n ds.facetAddresses.push(_facetAddress);\\n }\\n for (uint256 selectorIndex; selectorIndex < _functionSelectors.length; selectorIndex++) {\\n bytes4 selector = _functionSelectors[selectorIndex];\\n address oldFacetAddress = ds.selectorToFacetAndPosition[selector].facetAddress;\\n require(oldFacetAddress != _facetAddress, \\\"LibDiamondCut: Can't replace function with same function\\\");\\n removeFunction(oldFacetAddress, selector);\\n // add function\\n ds.selectorToFacetAndPosition[selector].functionSelectorPosition = selectorPosition;\\n ds.facetFunctionSelectors[_facetAddress].functionSelectors.push(selector);\\n ds.selectorToFacetAndPosition[selector].facetAddress = _facetAddress;\\n selectorPosition++;\\n }\\n }\\n\\n function removeFunctions(address _facetAddress, bytes4[] memory _functionSelectors) internal {\\n require(_functionSelectors.length > 0, \\\"LibDiamondCut: No selectors in facet to cut\\\");\\n DiamondStorage storage ds = diamondStorage();\\n // if function does not exist then do nothing and return\\n require(_facetAddress == address(0), \\\"LibDiamondCut: Remove facet address must be address(0)\\\");\\n for (uint256 selectorIndex; selectorIndex < _functionSelectors.length; selectorIndex++) {\\n bytes4 selector = _functionSelectors[selectorIndex];\\n address oldFacetAddress = ds.selectorToFacetAndPosition[selector].facetAddress;\\n removeFunction(oldFacetAddress, selector);\\n }\\n }\\n\\n function removeFunction(address _facetAddress, bytes4 _selector) internal {\\n DiamondStorage storage ds = diamondStorage();\\n require(_facetAddress != address(0), \\\"LibDiamondCut: Can't remove function that doesn't exist\\\");\\n // an immutable function is a function defined directly in a diamond\\n require(_facetAddress != address(this), \\\"LibDiamondCut: Can't remove immutable function\\\");\\n // replace selector with last selector, then delete last selector\\n uint256 selectorPosition = ds.selectorToFacetAndPosition[_selector].functionSelectorPosition;\\n uint256 lastSelectorPosition = ds.facetFunctionSelectors[_facetAddress].functionSelectors.length - 1;\\n // if not the same then replace _selector with lastSelector\\n if (selectorPosition != lastSelectorPosition) {\\n bytes4 lastSelector = ds.facetFunctionSelectors[_facetAddress].functionSelectors[lastSelectorPosition];\\n ds.facetFunctionSelectors[_facetAddress].functionSelectors[selectorPosition] = lastSelector;\\n ds.selectorToFacetAndPosition[lastSelector].functionSelectorPosition = uint16(selectorPosition);\\n }\\n // delete the last selector\\n ds.facetFunctionSelectors[_facetAddress].functionSelectors.pop();\\n delete ds.selectorToFacetAndPosition[_selector];\\n\\n // if no more selectors for facet address then delete the facet address\\n if (lastSelectorPosition == 0) {\\n // replace facet address with last facet address and delete last facet address\\n uint256 lastFacetAddressPosition = ds.facetAddresses.length - 1;\\n uint256 facetAddressPosition = ds.facetFunctionSelectors[_facetAddress].facetAddressPosition;\\n if (facetAddressPosition != lastFacetAddressPosition) {\\n address lastFacetAddress = ds.facetAddresses[lastFacetAddressPosition];\\n ds.facetAddresses[facetAddressPosition] = lastFacetAddress;\\n ds.facetFunctionSelectors[lastFacetAddress].facetAddressPosition = uint16(facetAddressPosition);\\n }\\n ds.facetAddresses.pop();\\n delete ds.facetFunctionSelectors[_facetAddress].facetAddressPosition;\\n }\\n }\\n\\n function initializeDiamondCut(address _init, bytes memory _calldata) internal {\\n if (_init == address(0)) {\\n require(_calldata.length == 0, \\\"LibDiamondCut: _init is address(0) but_calldata is not empty\\\");\\n } else {\\n require(_calldata.length > 0, \\\"LibDiamondCut: _calldata is empty but _init is not address(0)\\\");\\n if (_init != address(this)) {\\n enforceHasContractCode(_init, \\\"LibDiamondCut: _init address has no code\\\");\\n }\\n (bool success, bytes memory error) = _init.delegatecall(_calldata);\\n if (!success) {\\n if (error.length > 0) {\\n // bubble up the error\\n revert(string(error));\\n } else {\\n revert(\\\"LibDiamondCut: _init function reverted\\\");\\n }\\n }\\n }\\n }\\n\\n function enforceHasContractCode(address _contract, string memory _errorMessage) internal view {\\n uint256 contractSize;\\n assembly {\\n contractSize := extcodesize(_contract)\\n }\\n require(contractSize > 0, _errorMessage);\\n }\\n}\\n\"\n },\n \"solc_0.7/diamond/interfaces/IDiamondLoupe.sol\": {\n \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity ^0.7.6;\\npragma experimental ABIEncoderV2;\\n\\n/******************************************************************************\\\\\\n* Author: Nick Mudge (https://twitter.com/mudgen)\\n* EIP-2535 Diamond Standard: https://eips.ethereum.org/EIPS/eip-2535\\n/******************************************************************************/\\n\\n// A loupe is a small magnifying glass used to look at diamonds.\\n// These functions look at diamonds\\ninterface IDiamondLoupe {\\n /// These functions are expected to be called frequently\\n /// by tools.\\n\\n struct Facet {\\n address facetAddress;\\n bytes4[] functionSelectors;\\n }\\n\\n /// @notice Gets all facet addresses and their four byte function selectors.\\n /// @return facets_ Facet\\n function facets() external view returns (Facet[] memory facets_);\\n\\n /// @notice Gets all the function selectors supported by a specific facet.\\n /// @param _facet The facet address.\\n /// @return facetFunctionSelectors_\\n function facetFunctionSelectors(address _facet) external view returns (bytes4[] memory facetFunctionSelectors_);\\n\\n /// @notice Get all the facet addresses used by a diamond.\\n /// @return facetAddresses_\\n function facetAddresses() external view returns (address[] memory facetAddresses_);\\n\\n /// @notice Gets the facet that supports the given selector.\\n /// @dev If facet is not found return address(0).\\n /// @param _functionSelector The function selector.\\n /// @return facetAddress_ The facet address.\\n function facetAddress(bytes4 _functionSelector) external view returns (address facetAddress_);\\n}\\n\"\n },\n \"solc_0.7/diamond/interfaces/IERC173.sol\": {\n \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity ^0.7.6;\\n\\n/// @title ERC-173 Contract Ownership Standard\\n/// Note: the ERC-165 identifier for this interface is 0x7f5828d0\\n/* is ERC165 */\\ninterface IERC173 {\\n /// @dev This emits when ownership of a contract changes.\\n event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);\\n\\n /// @notice Get the address of the owner\\n /// @return owner_ The address of the owner.\\n function owner() external view returns (address owner_);\\n\\n /// @notice Set the address of the new owner of the contract\\n /// @dev Set _newOwner to address(0) to renounce any ownership.\\n /// @param _newOwner The address of the new owner of the contract\\n function transferOwnership(address _newOwner) external;\\n}\\n\"\n },\n \"solc_0.7/diamond/interfaces/IERC165.sol\": {\n \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity ^0.7.6;\\npragma experimental ABIEncoderV2;\\n\\ninterface IERC165 {\\n /// @notice Query if a contract implements an interface\\n /// @param interfaceId The interface identifier, as specified in ERC-165\\n /// @dev Interface identification is specified in ERC-165. This function\\n /// uses less than 30,000 gas.\\n /// @return `true` if the contract implements `interfaceID` and\\n /// `interfaceID` is not 0xffffffff, `false` otherwise\\n function supportsInterface(bytes4 interfaceId) external view returns (bool);\\n}\\n\"\n }\n },\n \"settings\": {\n \"optimizer\": {\n \"enabled\": true,\n \"runs\": 999999\n },\n \"outputSelection\": {\n \"*\": {\n \"*\": [\n \"abi\",\n \"evm.bytecode\",\n \"evm.deployedBytecode\",\n \"evm.methodIdentifiers\",\n \"metadata\",\n \"devdoc\",\n \"userdoc\",\n \"storageLayout\",\n \"evm.gasEstimates\"\n ],\n \"\": [\n \"ast\"\n ]\n }\n },\n \"metadata\": {\n \"useLiteralContent\": true\n }\n }\n}", - "solcInputHash": "1d060b65b8264d57d416f20cb1fe798a" + "solcInput": "{\n \"language\": \"Solidity\",\n \"sources\": {\n \"solc_0.8/diamond/Diamantaire.sol\": {\n \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.0;\\npragma experimental ABIEncoderV2;\\n\\nimport \\\"./interfaces/IDiamondCut.sol\\\";\\nimport \\\"./Diamond.sol\\\";\\nimport \\\"./facets/DiamondCutFacet.sol\\\";\\nimport \\\"./facets/DiamondLoupeFacet.sol\\\";\\nimport \\\"./facets/OwnershipFacet.sol\\\";\\n\\ncontract Diamantaire {\\n event DiamondCreated(Diamond diamond);\\n\\n IDiamondCut.FacetCut[] internal _builtinDiamondCut;\\n\\n constructor() {\\n bytes4[] memory functionSelectors;\\n\\n // -------------------------------------------------------------------------\\n // adding diamondCut function\\n // -------------------------------------------------------------------------\\n DiamondCutFacet diamondCutFacet = new DiamondCutFacet();\\n\\n functionSelectors = new bytes4[](1);\\n functionSelectors[0] = DiamondCutFacet.diamondCut.selector;\\n _builtinDiamondCut.push(IDiamondCut.FacetCut({\\n facetAddress:address(diamondCutFacet),\\n action: IDiamondCut.FacetCutAction.Add,\\n functionSelectors: functionSelectors\\n }));\\n\\n\\n // -------------------------------------------------------------------------\\n // adding diamond loupe functions\\n // -------------------------------------------------------------------------\\n DiamondLoupeFacet diamondLoupeFacet = new DiamondLoupeFacet();\\n\\n functionSelectors = new bytes4[](5);\\n functionSelectors[0] = DiamondLoupeFacet.facetFunctionSelectors.selector;\\n functionSelectors[1] = DiamondLoupeFacet.facets.selector;\\n functionSelectors[2] = DiamondLoupeFacet.facetAddress.selector;\\n functionSelectors[3] = DiamondLoupeFacet.facetAddresses.selector;\\n functionSelectors[4] = DiamondLoupeFacet.supportsInterface.selector;\\n _builtinDiamondCut.push(IDiamondCut.FacetCut({\\n facetAddress:address(diamondLoupeFacet),\\n action: IDiamondCut.FacetCutAction.Add,\\n functionSelectors: functionSelectors\\n }));\\n\\n\\n // -------------------------------------------------------------------------\\n // adding ownership functions\\n // -------------------------------------------------------------------------\\n OwnershipFacet ownershipFacet = new OwnershipFacet();\\n\\n functionSelectors = new bytes4[](2);\\n functionSelectors[0] = OwnershipFacet.transferOwnership.selector;\\n functionSelectors[1] = OwnershipFacet.owner.selector;\\n _builtinDiamondCut.push(IDiamondCut.FacetCut({\\n facetAddress:address(ownershipFacet),\\n action: IDiamondCut.FacetCutAction.Add,\\n functionSelectors: functionSelectors\\n }));\\n }\\n\\n function createDiamond(\\n address owner,\\n IDiamondCut.FacetCut[] calldata _diamondCut,\\n bytes calldata data,\\n bytes32 salt\\n ) external payable returns (Diamond diamond) {\\n if (salt != 0x0000000000000000000000000000000000000000000000000000000000000000) {\\n salt = keccak256(abi.encodePacked(salt, owner));\\n diamond = new Diamond{value: msg.value, salt: salt}(\\n _builtinDiamondCut,\\n Diamond.DiamondArgs({owner:address(this)})\\n );\\n } else {\\n diamond = new Diamond{value: msg.value}(_builtinDiamondCut, Diamond.DiamondArgs({owner:address(this)}));\\n }\\n emit DiamondCreated(diamond);\\n\\n IDiamondCut(address(diamond)).diamondCut(_diamondCut, data.length > 0 ? address(diamond) : address(0), data);\\n IERC173(address(diamond)).transferOwnership(owner);\\n }\\n}\\n\"\n },\n \"solc_0.8/diamond/interfaces/IDiamondCut.sol\": {\n \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.0;\\n\\n/******************************************************************************\\\\\\n* Author: Nick Mudge (https://twitter.com/mudgen)\\n* EIP-2535 Diamonds: https://eips.ethereum.org/EIPS/eip-2535\\n/******************************************************************************/\\n\\ninterface IDiamondCut {\\n enum FacetCutAction {Add, Replace, Remove}\\n // Add=0, Replace=1, Remove=2\\n\\n struct FacetCut {\\n address facetAddress;\\n FacetCutAction action;\\n bytes4[] functionSelectors;\\n }\\n\\n /// @notice Add/replace/remove any number of functions and optionally execute\\n /// a function with delegatecall\\n /// @param _diamondCut Contains the facet addresses and function selectors\\n /// @param _init The address of the contract or facet to execute _calldata\\n /// @param _calldata A function call, including function selector and arguments\\n /// _calldata is executed with delegatecall on _init\\n function diamondCut(\\n FacetCut[] calldata _diamondCut,\\n address _init,\\n bytes calldata _calldata\\n ) external;\\n\\n event DiamondCut(FacetCut[] _diamondCut, address _init, bytes _calldata);\\n}\\n\"\n },\n \"solc_0.8/diamond/Diamond.sol\": {\n \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.0;\\n\\n/******************************************************************************\\\\\\n* Author: Nick Mudge (https://twitter.com/mudgen)\\n* EIP-2535 Diamonds: https://eips.ethereum.org/EIPS/eip-2535\\n*\\n* Implementation of a diamond.\\n/******************************************************************************/\\n\\nimport { LibDiamond } from \\\"./libraries/LibDiamond.sol\\\";\\nimport { IDiamondCut } from \\\"./interfaces/IDiamondCut.sol\\\";\\nimport { IDiamondLoupe } from \\\"./interfaces/IDiamondLoupe.sol\\\";\\nimport { IERC173 } from \\\"./interfaces/IERC173.sol\\\";\\nimport { IERC165 } from \\\"./interfaces/IERC165.sol\\\";\\n\\ncontract Diamond {\\n // more arguments are added to this struct\\n // this avoids stack too deep errors\\n struct DiamondArgs {\\n address owner;\\n }\\n\\n constructor(IDiamondCut.FacetCut[] memory _diamondCut, DiamondArgs memory _args) payable {\\n LibDiamond.diamondCut(_diamondCut, address(0), new bytes(0));\\n LibDiamond.setContractOwner(_args.owner);\\n\\n LibDiamond.DiamondStorage storage ds = LibDiamond.diamondStorage();\\n\\n // adding ERC165 data\\n ds.supportedInterfaces[type(IERC165).interfaceId] = true;\\n ds.supportedInterfaces[type(IDiamondCut).interfaceId] = true;\\n ds.supportedInterfaces[type(IDiamondLoupe).interfaceId] = true;\\n ds.supportedInterfaces[type(IERC173).interfaceId] = true;\\n }\\n\\n// constructor(address _contractOwner, address _diamondCutFacet) payable {\\n// LibDiamond.setContractOwner(_contractOwner);\\n//\\n// // Add the diamondCut external function from the diamondCutFacet\\n// IDiamondCut.FacetCut[] memory cut = new IDiamondCut.FacetCut[](1);\\n// bytes4[] memory functionSelectors = new bytes4[](1);\\n// functionSelectors[0] = IDiamondCut.diamondCut.selector;\\n// cut[0] = IDiamondCut.FacetCut({\\n// facetAddress: _diamondCutFacet,\\n// action: IDiamondCut.FacetCutAction.Add,\\n// functionSelectors: functionSelectors\\n// });\\n// LibDiamond.diamondCut(cut, address(0), \\\"\\\");\\n// }\\n\\n // Find facet for function that is called and execute the\\n // function if a facet is found and return any value.\\n fallback() external payable {\\n LibDiamond.DiamondStorage storage ds;\\n bytes32 position = LibDiamond.DIAMOND_STORAGE_POSITION;\\n // get diamond storage\\n assembly {\\n ds.slot := position\\n }\\n // get facet from function selector\\n address facet = ds.selectorToFacetAndPosition[msg.sig].facetAddress;\\n require(facet != address(0), \\\"Diamond: Function does not exist\\\");\\n // Execute external function from facet using delegatecall and return any value.\\n assembly {\\n // copy function selector and any arguments\\n calldatacopy(0, 0, calldatasize())\\n // execute function call using the facet\\n let result := delegatecall(gas(), facet, 0, calldatasize(), 0, 0)\\n // get any return value\\n returndatacopy(0, 0, returndatasize())\\n // return any return value or error back to the caller\\n switch result\\n case 0 {\\n revert(0, returndatasize())\\n }\\n default {\\n return(0, returndatasize())\\n }\\n }\\n }\\n\\n receive() external payable {}\\n}\\n\"\n },\n \"solc_0.8/diamond/facets/DiamondCutFacet.sol\": {\n \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.0;\\n\\n/******************************************************************************\\\\\\n* Author: Nick Mudge (https://twitter.com/mudgen)\\n* EIP-2535 Diamonds: https://eips.ethereum.org/EIPS/eip-2535\\n/******************************************************************************/\\n\\nimport { IDiamondCut } from \\\"../interfaces/IDiamondCut.sol\\\";\\nimport { LibDiamond } from \\\"../libraries/LibDiamond.sol\\\";\\n\\ncontract DiamondCutFacet is IDiamondCut {\\n /// @notice Add/replace/remove any number of functions and optionally execute\\n /// a function with delegatecall\\n /// @param _diamondCut Contains the facet addresses and function selectors\\n /// @param _init The address of the contract or facet to execute _calldata\\n /// @param _calldata A function call, including function selector and arguments\\n /// _calldata is executed with delegatecall on _init\\n function diamondCut(\\n FacetCut[] calldata _diamondCut,\\n address _init,\\n bytes calldata _calldata\\n ) external override {\\n LibDiamond.enforceIsContractOwner();\\n LibDiamond.diamondCut(_diamondCut, _init, _calldata);\\n }\\n}\\n\"\n },\n \"solc_0.8/diamond/facets/DiamondLoupeFacet.sol\": {\n \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.0;\\n/******************************************************************************\\\\\\n* Author: Nick Mudge (https://twitter.com/mudgen)\\n* EIP-2535 Diamonds: https://eips.ethereum.org/EIPS/eip-2535\\n/******************************************************************************/\\n\\nimport { LibDiamond } from \\\"../libraries/LibDiamond.sol\\\";\\nimport { IDiamondLoupe } from \\\"../interfaces/IDiamondLoupe.sol\\\";\\nimport { IERC165 } from \\\"../interfaces/IERC165.sol\\\";\\n\\ncontract DiamondLoupeFacet is IDiamondLoupe, IERC165 {\\n // Diamond Loupe Functions\\n ////////////////////////////////////////////////////////////////////\\n /// These functions are expected to be called frequently by tools.\\n //\\n // struct Facet {\\n // address facetAddress;\\n // bytes4[] functionSelectors;\\n // }\\n\\n /// @notice Gets all facets and their selectors.\\n /// @return facets_ Facet\\n function facets() external override view returns (Facet[] memory facets_) {\\n LibDiamond.DiamondStorage storage ds = LibDiamond.diamondStorage();\\n uint256 numFacets = ds.facetAddresses.length;\\n facets_ = new Facet[](numFacets);\\n for (uint256 i; i < numFacets; i++) {\\n address facetAddress_ = ds.facetAddresses[i];\\n facets_[i].facetAddress = facetAddress_;\\n facets_[i].functionSelectors = ds.facetFunctionSelectors[facetAddress_].functionSelectors;\\n }\\n }\\n\\n /// @notice Gets all the function selectors provided by a facet.\\n /// @param _facet The facet address.\\n /// @return facetFunctionSelectors_\\n function facetFunctionSelectors(address _facet) external override view returns (bytes4[] memory facetFunctionSelectors_) {\\n LibDiamond.DiamondStorage storage ds = LibDiamond.diamondStorage();\\n facetFunctionSelectors_ = ds.facetFunctionSelectors[_facet].functionSelectors;\\n }\\n\\n /// @notice Get all the facet addresses used by a diamond.\\n /// @return facetAddresses_\\n function facetAddresses() external override view returns (address[] memory facetAddresses_) {\\n LibDiamond.DiamondStorage storage ds = LibDiamond.diamondStorage();\\n facetAddresses_ = ds.facetAddresses;\\n }\\n\\n /// @notice Gets the facet that supports the given selector.\\n /// @dev If facet is not found return address(0).\\n /// @param _functionSelector The function selector.\\n /// @return facetAddress_ The facet address.\\n function facetAddress(bytes4 _functionSelector) external override view returns (address facetAddress_) {\\n LibDiamond.DiamondStorage storage ds = LibDiamond.diamondStorage();\\n facetAddress_ = ds.selectorToFacetAndPosition[_functionSelector].facetAddress;\\n }\\n\\n // This implements ERC-165.\\n function supportsInterface(bytes4 _interfaceId) external override view returns (bool) {\\n LibDiamond.DiamondStorage storage ds = LibDiamond.diamondStorage();\\n return ds.supportedInterfaces[_interfaceId];\\n }\\n}\\n\"\n },\n \"solc_0.8/diamond/facets/OwnershipFacet.sol\": {\n \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.0;\\n\\nimport { LibDiamond } from \\\"../libraries/LibDiamond.sol\\\";\\nimport { IERC173 } from \\\"../interfaces/IERC173.sol\\\";\\n\\ncontract OwnershipFacet is IERC173 {\\n function transferOwnership(address _newOwner) external override {\\n LibDiamond.enforceIsContractOwner();\\n LibDiamond.setContractOwner(_newOwner);\\n }\\n\\n function owner() external override view returns (address owner_) {\\n owner_ = LibDiamond.contractOwner();\\n }\\n}\\n\"\n },\n \"solc_0.8/diamond/libraries/LibDiamond.sol\": {\n \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.0;\\n\\n/******************************************************************************\\\\\\n* Author: Nick Mudge (https://twitter.com/mudgen)\\n* EIP-2535 Diamonds: https://eips.ethereum.org/EIPS/eip-2535\\n/******************************************************************************/\\nimport { IDiamondCut } from \\\"../interfaces/IDiamondCut.sol\\\";\\n\\nlibrary LibDiamond {\\n bytes32 constant DIAMOND_STORAGE_POSITION = keccak256(\\\"diamond.standard.diamond.storage\\\");\\n\\n struct FacetAddressAndPosition {\\n address facetAddress;\\n uint96 functionSelectorPosition; // position in facetFunctionSelectors.functionSelectors array\\n }\\n\\n struct FacetFunctionSelectors {\\n bytes4[] functionSelectors;\\n uint256 facetAddressPosition; // position of facetAddress in facetAddresses array\\n }\\n\\n struct DiamondStorage {\\n // maps function selector to the facet address and\\n // the position of the selector in the facetFunctionSelectors.selectors array\\n mapping(bytes4 => FacetAddressAndPosition) selectorToFacetAndPosition;\\n // maps facet addresses to function selectors\\n mapping(address => FacetFunctionSelectors) facetFunctionSelectors;\\n // facet addresses\\n address[] facetAddresses;\\n // Used to query if a contract implements an interface.\\n // Used to implement ERC-165.\\n mapping(bytes4 => bool) supportedInterfaces;\\n // owner of the contract\\n address contractOwner;\\n }\\n\\n function diamondStorage() internal pure returns (DiamondStorage storage ds) {\\n bytes32 position = DIAMOND_STORAGE_POSITION;\\n assembly {\\n ds.slot := position\\n }\\n }\\n\\n event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);\\n\\n function setContractOwner(address _newOwner) internal {\\n DiamondStorage storage ds = diamondStorage();\\n address previousOwner = ds.contractOwner;\\n ds.contractOwner = _newOwner;\\n emit OwnershipTransferred(previousOwner, _newOwner);\\n }\\n\\n function contractOwner() internal view returns (address contractOwner_) {\\n contractOwner_ = diamondStorage().contractOwner;\\n }\\n\\n function enforceIsContractOwner() internal view {\\n require(msg.sender == diamondStorage().contractOwner, \\\"LibDiamond: Must be contract owner\\\");\\n }\\n\\n event DiamondCut(IDiamondCut.FacetCut[] _diamondCut, address _init, bytes _calldata);\\n\\n // Internal function version of diamondCut\\n function diamondCut(\\n IDiamondCut.FacetCut[] memory _diamondCut,\\n address _init,\\n bytes memory _calldata\\n ) internal {\\n for (uint256 facetIndex; facetIndex < _diamondCut.length; facetIndex++) {\\n IDiamondCut.FacetCutAction action = _diamondCut[facetIndex].action;\\n if (action == IDiamondCut.FacetCutAction.Add) {\\n addFunctions(_diamondCut[facetIndex].facetAddress, _diamondCut[facetIndex].functionSelectors);\\n } else if (action == IDiamondCut.FacetCutAction.Replace) {\\n replaceFunctions(_diamondCut[facetIndex].facetAddress, _diamondCut[facetIndex].functionSelectors);\\n } else if (action == IDiamondCut.FacetCutAction.Remove) {\\n removeFunctions(_diamondCut[facetIndex].facetAddress, _diamondCut[facetIndex].functionSelectors);\\n } else {\\n revert(\\\"LibDiamondCut: Incorrect FacetCutAction\\\");\\n }\\n }\\n emit DiamondCut(_diamondCut, _init, _calldata);\\n initializeDiamondCut(_init, _calldata);\\n }\\n\\n function addFunctions(address _facetAddress, bytes4[] memory _functionSelectors) internal {\\n require(_functionSelectors.length > 0, \\\"LibDiamondCut: No selectors in facet to cut\\\");\\n DiamondStorage storage ds = diamondStorage(); \\n require(_facetAddress != address(0), \\\"LibDiamondCut: Add facet can't be address(0)\\\");\\n uint96 selectorPosition = uint96(ds.facetFunctionSelectors[_facetAddress].functionSelectors.length);\\n // add new facet address if it does not exist\\n if (selectorPosition == 0) {\\n addFacet(ds, _facetAddress); \\n }\\n for (uint256 selectorIndex; selectorIndex < _functionSelectors.length; selectorIndex++) {\\n bytes4 selector = _functionSelectors[selectorIndex];\\n address oldFacetAddress = ds.selectorToFacetAndPosition[selector].facetAddress;\\n require(oldFacetAddress == address(0), \\\"LibDiamondCut: Can't add function that already exists\\\");\\n addFunction(ds, selector, selectorPosition, _facetAddress);\\n selectorPosition++;\\n }\\n }\\n\\n function replaceFunctions(address _facetAddress, bytes4[] memory _functionSelectors) internal {\\n require(_functionSelectors.length > 0, \\\"LibDiamondCut: No selectors in facet to cut\\\");\\n DiamondStorage storage ds = diamondStorage();\\n require(_facetAddress != address(0), \\\"LibDiamondCut: Add facet can't be address(0)\\\");\\n uint96 selectorPosition = uint96(ds.facetFunctionSelectors[_facetAddress].functionSelectors.length);\\n // add new facet address if it does not exist\\n if (selectorPosition == 0) {\\n addFacet(ds, _facetAddress);\\n }\\n for (uint256 selectorIndex; selectorIndex < _functionSelectors.length; selectorIndex++) {\\n bytes4 selector = _functionSelectors[selectorIndex];\\n address oldFacetAddress = ds.selectorToFacetAndPosition[selector].facetAddress;\\n require(oldFacetAddress != _facetAddress, \\\"LibDiamondCut: Can't replace function with same function\\\");\\n removeFunction(ds, oldFacetAddress, selector);\\n addFunction(ds, selector, selectorPosition, _facetAddress);\\n selectorPosition++;\\n }\\n }\\n\\n function removeFunctions(address _facetAddress, bytes4[] memory _functionSelectors) internal {\\n require(_functionSelectors.length > 0, \\\"LibDiamondCut: No selectors in facet to cut\\\");\\n DiamondStorage storage ds = diamondStorage();\\n // if function does not exist then do nothing and return\\n require(_facetAddress == address(0), \\\"LibDiamondCut: Remove facet address must be address(0)\\\");\\n for (uint256 selectorIndex; selectorIndex < _functionSelectors.length; selectorIndex++) {\\n bytes4 selector = _functionSelectors[selectorIndex];\\n address oldFacetAddress = ds.selectorToFacetAndPosition[selector].facetAddress;\\n removeFunction(ds, oldFacetAddress, selector);\\n }\\n }\\n\\n function addFacet(DiamondStorage storage ds, address _facetAddress) internal {\\n enforceHasContractCode(_facetAddress, \\\"LibDiamondCut: New facet has no code\\\");\\n ds.facetFunctionSelectors[_facetAddress].facetAddressPosition = ds.facetAddresses.length;\\n ds.facetAddresses.push(_facetAddress);\\n } \\n\\n\\n function addFunction(DiamondStorage storage ds, bytes4 _selector, uint96 _selectorPosition, address _facetAddress) internal {\\n ds.selectorToFacetAndPosition[_selector].functionSelectorPosition = _selectorPosition;\\n ds.facetFunctionSelectors[_facetAddress].functionSelectors.push(_selector);\\n ds.selectorToFacetAndPosition[_selector].facetAddress = _facetAddress;\\n }\\n\\n function removeFunction(DiamondStorage storage ds, address _facetAddress, bytes4 _selector) internal { \\n require(_facetAddress != address(0), \\\"LibDiamondCut: Can't remove function that doesn't exist\\\");\\n // an immutable function is a function defined directly in a diamond\\n require(_facetAddress != address(this), \\\"LibDiamondCut: Can't remove immutable function\\\");\\n // replace selector with last selector, then delete last selector\\n uint256 selectorPosition = ds.selectorToFacetAndPosition[_selector].functionSelectorPosition;\\n uint256 lastSelectorPosition = ds.facetFunctionSelectors[_facetAddress].functionSelectors.length - 1;\\n // if not the same then replace _selector with lastSelector\\n if (selectorPosition != lastSelectorPosition) {\\n bytes4 lastSelector = ds.facetFunctionSelectors[_facetAddress].functionSelectors[lastSelectorPosition];\\n ds.facetFunctionSelectors[_facetAddress].functionSelectors[selectorPosition] = lastSelector;\\n ds.selectorToFacetAndPosition[lastSelector].functionSelectorPosition = uint96(selectorPosition);\\n }\\n // delete the last selector\\n ds.facetFunctionSelectors[_facetAddress].functionSelectors.pop();\\n delete ds.selectorToFacetAndPosition[_selector];\\n\\n // if no more selectors for facet address then delete the facet address\\n if (lastSelectorPosition == 0) {\\n // replace facet address with last facet address and delete last facet address\\n uint256 lastFacetAddressPosition = ds.facetAddresses.length - 1;\\n uint256 facetAddressPosition = ds.facetFunctionSelectors[_facetAddress].facetAddressPosition;\\n if (facetAddressPosition != lastFacetAddressPosition) {\\n address lastFacetAddress = ds.facetAddresses[lastFacetAddressPosition];\\n ds.facetAddresses[facetAddressPosition] = lastFacetAddress;\\n ds.facetFunctionSelectors[lastFacetAddress].facetAddressPosition = facetAddressPosition;\\n }\\n ds.facetAddresses.pop();\\n delete ds.facetFunctionSelectors[_facetAddress].facetAddressPosition;\\n }\\n }\\n\\n function initializeDiamondCut(address _init, bytes memory _calldata) internal {\\n if (_init == address(0)) {\\n require(_calldata.length == 0, \\\"LibDiamondCut: _init is address(0) but_calldata is not empty\\\");\\n } else {\\n require(_calldata.length > 0, \\\"LibDiamondCut: _calldata is empty but _init is not address(0)\\\");\\n if (_init != address(this)) {\\n enforceHasContractCode(_init, \\\"LibDiamondCut: _init address has no code\\\");\\n }\\n (bool success, bytes memory error) = _init.delegatecall(_calldata);\\n if (!success) {\\n if (error.length > 0) {\\n // bubble up the error\\n revert(string(error));\\n } else {\\n revert(\\\"LibDiamondCut: _init function reverted\\\");\\n }\\n }\\n }\\n }\\n\\n function enforceHasContractCode(address _contract, string memory _errorMessage) internal view {\\n uint256 contractSize;\\n assembly {\\n contractSize := extcodesize(_contract)\\n }\\n require(contractSize > 0, _errorMessage);\\n }\\n}\\n\"\n },\n \"solc_0.8/diamond/interfaces/IDiamondLoupe.sol\": {\n \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.0;\\n\\n/******************************************************************************\\\\\\n* Author: Nick Mudge (https://twitter.com/mudgen)\\n* EIP-2535 Diamonds: https://eips.ethereum.org/EIPS/eip-2535\\n/******************************************************************************/\\n\\n// A loupe is a small magnifying glass used to look at diamonds.\\n// These functions look at diamonds\\ninterface IDiamondLoupe {\\n /// These functions are expected to be called frequently\\n /// by tools.\\n\\n struct Facet {\\n address facetAddress;\\n bytes4[] functionSelectors;\\n }\\n\\n /// @notice Gets all facet addresses and their four byte function selectors.\\n /// @return facets_ Facet\\n function facets() external view returns (Facet[] memory facets_);\\n\\n /// @notice Gets all the function selectors supported by a specific facet.\\n /// @param _facet The facet address.\\n /// @return facetFunctionSelectors_\\n function facetFunctionSelectors(address _facet) external view returns (bytes4[] memory facetFunctionSelectors_);\\n\\n /// @notice Get all the facet addresses used by a diamond.\\n /// @return facetAddresses_\\n function facetAddresses() external view returns (address[] memory facetAddresses_);\\n\\n /// @notice Gets the facet that supports the given selector.\\n /// @dev If facet is not found return address(0).\\n /// @param _functionSelector The function selector.\\n /// @return facetAddress_ The facet address.\\n function facetAddress(bytes4 _functionSelector) external view returns (address facetAddress_);\\n}\\n\"\n },\n \"solc_0.8/diamond/interfaces/IERC173.sol\": {\n \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.0;\\n\\n/// @title ERC-173 Contract Ownership Standard\\n/// Note: the ERC-165 identifier for this interface is 0x7f5828d0\\n/* is ERC165 */\\ninterface IERC173 {\\n /// @dev This emits when ownership of a contract changes.\\n event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);\\n\\n /// @notice Get the address of the owner\\n /// @return owner_ The address of the owner.\\n function owner() external view returns (address owner_);\\n\\n /// @notice Set the address of the new owner of the contract\\n /// @dev Set _newOwner to address(0) to renounce any ownership.\\n /// @param _newOwner The address of the new owner of the contract\\n function transferOwnership(address _newOwner) external;\\n}\\n\"\n },\n \"solc_0.8/diamond/interfaces/IERC165.sol\": {\n \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.0;\\n\\ninterface IERC165 {\\n /// @notice Query if a contract implements an interface\\n /// @param interfaceId The interface identifier, as specified in ERC-165\\n /// @dev Interface identification is specified in ERC-165. This function\\n /// uses less than 30,000 gas.\\n /// @return `true` if the contract implements `interfaceID` and\\n /// `interfaceID` is not 0xffffffff, `false` otherwise\\n function supportsInterface(bytes4 interfaceId) external view returns (bool);\\n}\\n\"\n },\n \"solc_0.8/diamond/upgradeInitializers/DiamondInit.sol\": {\n \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.0;\\n\\n/******************************************************************************\\\\\\n* Author: Nick Mudge (https://twitter.com/mudgen)\\n* EIP-2535 Diamonds: https://eips.ethereum.org/EIPS/eip-2535\\n*\\n* Implementation of a diamond.\\n/******************************************************************************/\\n\\nimport {LibDiamond} from \\\"../libraries/LibDiamond.sol\\\";\\nimport { IDiamondLoupe } from \\\"../interfaces/IDiamondLoupe.sol\\\";\\nimport { IDiamondCut } from \\\"../interfaces/IDiamondCut.sol\\\";\\nimport { IERC173 } from \\\"../interfaces/IERC173.sol\\\";\\nimport { IERC165 } from \\\"../interfaces/IERC165.sol\\\";\\n\\n// It is exapected that this contract is customized if you want to deploy your diamond\\n// with data from a deployment script. Use the init function to initialize state variables\\n// of your diamond. Add parameters to the init funciton if you need to.\\n\\ncontract DiamondInit { \\n\\n // You can add parameters to this function in order to pass in \\n // data to set your own state variables\\n function init() external {\\n // adding ERC165 data\\n LibDiamond.DiamondStorage storage ds = LibDiamond.diamondStorage();\\n ds.supportedInterfaces[type(IERC165).interfaceId] = true;\\n ds.supportedInterfaces[type(IDiamondCut).interfaceId] = true;\\n ds.supportedInterfaces[type(IDiamondLoupe).interfaceId] = true;\\n ds.supportedInterfaces[type(IERC173).interfaceId] = true;\\n\\n // add your own state variables \\n // EIP-2535 specifies that the `diamondCut` function takes two optional \\n // arguments: address _init and bytes calldata _calldata\\n // These arguments are used to execute an arbitrary function using delegatecall\\n // in order to set state variables in the diamond during deployment or an upgrade\\n // More info here: https://eips.ethereum.org/EIPS/eip-2535#diamond-interface \\n }\\n\\n\\n}\"\n }\n },\n \"settings\": {\n \"optimizer\": {\n \"enabled\": true,\n \"runs\": 999999\n },\n \"outputSelection\": {\n \"*\": {\n \"*\": [\n \"abi\",\n \"evm.bytecode\",\n \"evm.deployedBytecode\",\n \"evm.methodIdentifiers\",\n \"metadata\",\n \"devdoc\",\n \"userdoc\",\n \"storageLayout\",\n \"evm.gasEstimates\"\n ],\n \"\": [\n \"ast\"\n ]\n }\n },\n \"metadata\": {\n \"useLiteralContent\": true\n }\n }\n}", + "solcInputHash": "91f18d120de6fe2bcaa5a3bff0ad9fe7" } \ No newline at end of file diff --git a/extendedArtifacts/DiamondCutFacet.json b/extendedArtifacts/DiamondCutFacet.json index f58c61ad..c4b85bd1 100644 --- a/extendedArtifacts/DiamondCutFacet.json +++ b/extendedArtifacts/DiamondCutFacet.json @@ -1,6 +1,6 @@ { "contractName": "DiamondCutFacet", - "sourceName": "solc_0.7/diamond/facets/DiamondCutFacet.sol", + "sourceName": "solc_0.8/diamond/facets/DiamondCutFacet.sol", "abi": [ { "anonymous": false, @@ -85,8 +85,8 @@ "type": "function" } ], - "bytecode": "0x608060405234801561001057600080fd5b50611b02806100206000396000f3fe608060405234801561001057600080fd5b506004361061002b5760003560e01c80631f931c1c14610030575b600080fd5b61004361003e366004611260565b610045565b005b61004d61009e565b61009761005a8587611993565b8484848080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525061010392505050565b5050505050565b6100a66102a5565b6004015473ffffffffffffffffffffffffffffffffffffffff163314610101576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016100f8906115af565b60405180910390fd5b565b60005b835181101561025a57600084828151811061011d57fe5b60200260200101516020015190506000600281111561013857fe5b81600281111561014457fe5b14156101875761018285838151811061015957fe5b60200260200101516000015186848151811061017157fe5b6020026020010151604001516102c9565b610251565b600181600281111561019557fe5b14156101d3576101828583815181106101aa57fe5b6020026020010151600001518684815181106101c257fe5b6020026020010151604001516105fa565b60028160028111156101e157fe5b141561021f576101828583815181106101f657fe5b60200260200101516000015186848151811061020e57fe5b602002602001015160400151610947565b6040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016100f8906116c6565b50600101610106565b507f8faa70878671ccd212d20771b795c50af8fd3ff6cf27f4bde57e5d4de0aeb67383838360405161028e939291906113b2565b60405180910390a16102a08282610a67565b505050565b7fc8fcad8db84d3cc18b4c41d551ea0ee66dd599cde068d998e57d5e09332c131c90565b6000815111610304576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016100f89061160c565b600061030e6102a5565b905073ffffffffffffffffffffffffffffffffffffffff831661035d576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016100f890611723565b73ffffffffffffffffffffffffffffffffffffffff8316600090815260018201602052604090205461ffff811661044e576103b084604051806060016040528060248152602001611aa960249139610c1d565b60028201805473ffffffffffffffffffffffffffffffffffffffff861660008181526001808701602090815260408320820180547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00001661ffff90961695909517909455845490810185559381529190912090910180547fffffffffffffffffffffffff00000000000000000000000000000000000000001690911790555b60005b835181101561009757600084828151811061046857fe5b6020908102919091018101517fffffffff00000000000000000000000000000000000000000000000000000000811660009081529186905260409091205490915073ffffffffffffffffffffffffffffffffffffffff1680156104f7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016100f89061183a565b5073ffffffffffffffffffffffffffffffffffffffff86166000818152600186810160209081526040808420805480850182559085528285206008820401805463ffffffff60079093166004026101000a928302191660e089901c929092029190911790557fffffffff00000000000000000000000000000000000000000000000000000000909516835287905292902080547fffffffffffffffffffffffff0000000000000000000000000000000000000000169091177fffffffffffffffffffff0000ffffffffffffffffffffffffffffffffffffffff167401000000000000000000000000000000000000000061ffff8616021790559182019101610451565b6000815111610635576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016100f89061160c565b600061063f6102a5565b905073ffffffffffffffffffffffffffffffffffffffff831661068e576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016100f890611723565b73ffffffffffffffffffffffffffffffffffffffff8316600090815260018201602052604090205461ffff811661077f576106e184604051806060016040528060248152602001611aa960249139610c1d565b60028201805473ffffffffffffffffffffffffffffffffffffffff861660008181526001808701602090815260408320820180547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00001661ffff90961695909517909455845490810185559381529190912090910180547fffffffffffffffffffffffff00000000000000000000000000000000000000001690911790555b60005b835181101561009757600084828151811061079957fe5b6020908102919091018101517fffffffff00000000000000000000000000000000000000000000000000000000811660009081529186905260409091205490915073ffffffffffffffffffffffffffffffffffffffff90811690871681141561082e576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016100f890611897565b6108388183610c58565b507fffffffff00000000000000000000000000000000000000000000000000000000811660008181526020868152604080832080547fffffffffffffffffffff0000ffffffffffffffffffffffffffffffffffffffff167401000000000000000000000000000000000000000061ffff8a160217815573ffffffffffffffffffffffffffffffffffffffff8b168085526001808b018552928520805480850182559086528486206008820401805463ffffffff60079093166004026101000a928302191660e09990991c91909102979097179096559390925286905281547fffffffffffffffffffffffff00000000000000000000000000000000000000001690921790559182019101610782565b6000815111610982576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016100f89061160c565b600061098c6102a5565b905073ffffffffffffffffffffffffffffffffffffffff8316156109dc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016100f8906118f4565b60005b8251811015610a615760008382815181106109f657fe5b6020908102919091018101517fffffffff00000000000000000000000000000000000000000000000000000000811660009081529185905260409091205490915073ffffffffffffffffffffffffffffffffffffffff16610a578183610c58565b50506001016109df565b50505050565b73ffffffffffffffffffffffffffffffffffffffff8216610ac057805115610abb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016100f8906114f5565b610c19565b6000815111610afb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016100f890611780565b73ffffffffffffffffffffffffffffffffffffffff82163014610b3a57610b3a82604051806060016040528060288152602001611a8160289139610c1d565b6000808373ffffffffffffffffffffffffffffffffffffffff1683604051610b629190611396565b600060405180830381855af49150503d8060008114610b9d576040519150601f19603f3d011682016040523d82523d6000602084013e610ba2565b606091505b509150915081610a6157805115610be757806040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016100f891906114db565b6040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016100f890611552565b5050565b813b8181610a61576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016100f891906114db565b6000610c626102a5565b905073ffffffffffffffffffffffffffffffffffffffff8316610cb1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016100f890611669565b73ffffffffffffffffffffffffffffffffffffffff8316301415610d01576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016100f8906117dd565b7fffffffff0000000000000000000000000000000000000000000000000000000082166000908152602082815260408083205473ffffffffffffffffffffffffffffffffffffffff8716845260018501909252909120547401000000000000000000000000000000000000000090910461ffff16907fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff01808214610ed35773ffffffffffffffffffffffffffffffffffffffff851660009081526001840160205260408120805483908110610dd257fe5b6000918252602080832060088304015473ffffffffffffffffffffffffffffffffffffffff8a168452600188019091526040909220805460079092166004026101000a90920460e01b925082919085908110610e2a57fe5b600091825260208083206008830401805463ffffffff60079094166004026101000a938402191660e09590951c929092029390931790557fffffffff000000000000000000000000000000000000000000000000000000009290921682528490526040902080547fffffffffffffffffffff0000ffffffffffffffffffffffffffffffffffffffff167401000000000000000000000000000000000000000061ffff8516021790555b73ffffffffffffffffffffffffffffffffffffffff851660009081526001840160205260409020805480610f0357fe5b6000828152602080822060087fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff90940193840401805463ffffffff600460078716026101000a0219169055919092557fffffffff00000000000000000000000000000000000000000000000000000000861682528490526040902080547fffffffffffffffffffff000000000000000000000000000000000000000000001690558061009757600283015473ffffffffffffffffffffffffffffffffffffffff861660009081526001858101602052604090912001547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff9091019061ffff168082146110df57600085600201838154811061101a57fe5b60009182526020909120015460028701805473ffffffffffffffffffffffffffffffffffffffff909216925082918490811061105257fe5b600091825260208083209190910180547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff9485161790559290911681526001878101909252604090200180547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00001661ffff83161790555b846002018054806110ec57fe5b6000828152602080822083017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff90810180547fffffffffffffffffffffffff000000000000000000000000000000000000000016905590920190925573ffffffffffffffffffffffffffffffffffffffff89168252600187810190915260409091200180547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff000016905550505050505050565b803573ffffffffffffffffffffffffffffffffffffffff811681146111c257600080fd5b919050565b600082601f8301126111d7578081fd5b813560206111ec6111e783611975565b611951565b8281528181019085830183850287018401881015611208578586fd5b855b858110156112535781357fffffffff0000000000000000000000000000000000000000000000000000000081168114611241578788fd5b8452928401929084019060010161120a565b5090979650505050505050565b600080600080600060608688031215611277578081fd5b853567ffffffffffffffff8082111561128e578283fd5b818801915088601f8301126112a1578283fd5b8135818111156112af578384fd5b60208a8182840286010111156112c3578485fd5b80840198508197506112d6818b0161119e565b965060408a01359350828411156112eb578485fd5b838a0193508a601f8501126112fe578485fd5b833591508282111561130e578485fd5b8a8183860101111561131e578485fd5b979a96995094975050909401935090919050565b73ffffffffffffffffffffffffffffffffffffffff169052565b60008151808452611364816020860160208601611a54565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160200192915050565b600082516113a8818460208701611a54565b9190910192915050565b606080825284518282018190526000919060809081850190602080820287018401818b01875b848110156114ac577fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff808a8403018652815188840173ffffffffffffffffffffffffffffffffffffffff8251168552858201516003811061143457fe5b858701526040918201519185018a9052815190819052908501908a90898601905b808310156114975783517fffffffff00000000000000000000000000000000000000000000000000000000168252928701926001929092019190870190611455565b509786019794505050908301906001016113d8565b50506114ba8289018b611332565b87810360408901526114cc818a61134c565b9b9a5050505050505050505050565b6000602082526114ee602083018461134c565b9392505050565b6020808252603c908201527f4c69624469616d6f6e644375743a205f696e697420697320616464726573732860408201527f3029206275745f63616c6c64617461206973206e6f7420656d70747900000000606082015260800190565b60208082526026908201527f4c69624469616d6f6e644375743a205f696e69742066756e6374696f6e20726560408201527f7665727465640000000000000000000000000000000000000000000000000000606082015260800190565b60208082526022908201527f4c69624469616d6f6e643a204d75737420626520636f6e7472616374206f776e60408201527f6572000000000000000000000000000000000000000000000000000000000000606082015260800190565b6020808252602b908201527f4c69624469616d6f6e644375743a204e6f2073656c6563746f727320696e206660408201527f6163657420746f20637574000000000000000000000000000000000000000000606082015260800190565b60208082526037908201527f4c69624469616d6f6e644375743a2043616e27742072656d6f76652066756e6360408201527f74696f6e207468617420646f65736e2774206578697374000000000000000000606082015260800190565b60208082526027908201527f4c69624469616d6f6e644375743a20496e636f7272656374204661636574437560408201527f74416374696f6e00000000000000000000000000000000000000000000000000606082015260800190565b6020808252602c908201527f4c69624469616d6f6e644375743a204164642066616365742063616e2774206260408201527f6520616464726573732830290000000000000000000000000000000000000000606082015260800190565b6020808252603d908201527f4c69624469616d6f6e644375743a205f63616c6c6461746120697320656d707460408201527f7920627574205f696e6974206973206e6f742061646472657373283029000000606082015260800190565b6020808252602e908201527f4c69624469616d6f6e644375743a2043616e27742072656d6f766520696d6d7560408201527f7461626c652066756e6374696f6e000000000000000000000000000000000000606082015260800190565b60208082526035908201527f4c69624469616d6f6e644375743a2043616e2774206164642066756e6374696f60408201527f6e207468617420616c7265616479206578697374730000000000000000000000606082015260800190565b60208082526038908201527f4c69624469616d6f6e644375743a2043616e2774207265706c6163652066756e60408201527f6374696f6e20776974682073616d652066756e6374696f6e0000000000000000606082015260800190565b60208082526036908201527f4c69624469616d6f6e644375743a2052656d6f7665206661636574206164647260408201527f657373206d757374206265206164647265737328302900000000000000000000606082015260800190565b60405181810167ffffffffffffffff8111828210171561196d57fe5b604052919050565b600067ffffffffffffffff82111561198957fe5b5060209081020190565b60006119a16111e784611975565b8381526020808201919084845b87811015611a48578135870160608082360312156119ca578788fd5b604080519182019167ffffffffffffffff80841182851017156119e957fe5b8383526119f58561119e565b825287850135935060038410611a09578a8bfd5b838883015282850135935080841115611a20578a8bfd5b50611a2d368486016111c7565b918101919091528752505093820193908201906001016119ae565b50919695505050505050565b60005b83811015611a6f578181015183820152602001611a57565b83811115610a61575050600091015256fe4c69624469616d6f6e644375743a205f696e6974206164647265737320686173206e6f20636f64654c69624469616d6f6e644375743a204e657720666163657420686173206e6f20636f6465a26469706673582212201054dec537d95010fa7c5e1911dd66af99cadad1565cb9a7dc56139c3d2c40f164736f6c63430007060033", - "deployedBytecode": "0x608060405234801561001057600080fd5b506004361061002b5760003560e01c80631f931c1c14610030575b600080fd5b61004361003e366004611260565b610045565b005b61004d61009e565b61009761005a8587611993565b8484848080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525061010392505050565b5050505050565b6100a66102a5565b6004015473ffffffffffffffffffffffffffffffffffffffff163314610101576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016100f8906115af565b60405180910390fd5b565b60005b835181101561025a57600084828151811061011d57fe5b60200260200101516020015190506000600281111561013857fe5b81600281111561014457fe5b14156101875761018285838151811061015957fe5b60200260200101516000015186848151811061017157fe5b6020026020010151604001516102c9565b610251565b600181600281111561019557fe5b14156101d3576101828583815181106101aa57fe5b6020026020010151600001518684815181106101c257fe5b6020026020010151604001516105fa565b60028160028111156101e157fe5b141561021f576101828583815181106101f657fe5b60200260200101516000015186848151811061020e57fe5b602002602001015160400151610947565b6040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016100f8906116c6565b50600101610106565b507f8faa70878671ccd212d20771b795c50af8fd3ff6cf27f4bde57e5d4de0aeb67383838360405161028e939291906113b2565b60405180910390a16102a08282610a67565b505050565b7fc8fcad8db84d3cc18b4c41d551ea0ee66dd599cde068d998e57d5e09332c131c90565b6000815111610304576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016100f89061160c565b600061030e6102a5565b905073ffffffffffffffffffffffffffffffffffffffff831661035d576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016100f890611723565b73ffffffffffffffffffffffffffffffffffffffff8316600090815260018201602052604090205461ffff811661044e576103b084604051806060016040528060248152602001611aa960249139610c1d565b60028201805473ffffffffffffffffffffffffffffffffffffffff861660008181526001808701602090815260408320820180547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00001661ffff90961695909517909455845490810185559381529190912090910180547fffffffffffffffffffffffff00000000000000000000000000000000000000001690911790555b60005b835181101561009757600084828151811061046857fe5b6020908102919091018101517fffffffff00000000000000000000000000000000000000000000000000000000811660009081529186905260409091205490915073ffffffffffffffffffffffffffffffffffffffff1680156104f7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016100f89061183a565b5073ffffffffffffffffffffffffffffffffffffffff86166000818152600186810160209081526040808420805480850182559085528285206008820401805463ffffffff60079093166004026101000a928302191660e089901c929092029190911790557fffffffff00000000000000000000000000000000000000000000000000000000909516835287905292902080547fffffffffffffffffffffffff0000000000000000000000000000000000000000169091177fffffffffffffffffffff0000ffffffffffffffffffffffffffffffffffffffff167401000000000000000000000000000000000000000061ffff8616021790559182019101610451565b6000815111610635576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016100f89061160c565b600061063f6102a5565b905073ffffffffffffffffffffffffffffffffffffffff831661068e576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016100f890611723565b73ffffffffffffffffffffffffffffffffffffffff8316600090815260018201602052604090205461ffff811661077f576106e184604051806060016040528060248152602001611aa960249139610c1d565b60028201805473ffffffffffffffffffffffffffffffffffffffff861660008181526001808701602090815260408320820180547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00001661ffff90961695909517909455845490810185559381529190912090910180547fffffffffffffffffffffffff00000000000000000000000000000000000000001690911790555b60005b835181101561009757600084828151811061079957fe5b6020908102919091018101517fffffffff00000000000000000000000000000000000000000000000000000000811660009081529186905260409091205490915073ffffffffffffffffffffffffffffffffffffffff90811690871681141561082e576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016100f890611897565b6108388183610c58565b507fffffffff00000000000000000000000000000000000000000000000000000000811660008181526020868152604080832080547fffffffffffffffffffff0000ffffffffffffffffffffffffffffffffffffffff167401000000000000000000000000000000000000000061ffff8a160217815573ffffffffffffffffffffffffffffffffffffffff8b168085526001808b018552928520805480850182559086528486206008820401805463ffffffff60079093166004026101000a928302191660e09990991c91909102979097179096559390925286905281547fffffffffffffffffffffffff00000000000000000000000000000000000000001690921790559182019101610782565b6000815111610982576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016100f89061160c565b600061098c6102a5565b905073ffffffffffffffffffffffffffffffffffffffff8316156109dc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016100f8906118f4565b60005b8251811015610a615760008382815181106109f657fe5b6020908102919091018101517fffffffff00000000000000000000000000000000000000000000000000000000811660009081529185905260409091205490915073ffffffffffffffffffffffffffffffffffffffff16610a578183610c58565b50506001016109df565b50505050565b73ffffffffffffffffffffffffffffffffffffffff8216610ac057805115610abb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016100f8906114f5565b610c19565b6000815111610afb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016100f890611780565b73ffffffffffffffffffffffffffffffffffffffff82163014610b3a57610b3a82604051806060016040528060288152602001611a8160289139610c1d565b6000808373ffffffffffffffffffffffffffffffffffffffff1683604051610b629190611396565b600060405180830381855af49150503d8060008114610b9d576040519150601f19603f3d011682016040523d82523d6000602084013e610ba2565b606091505b509150915081610a6157805115610be757806040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016100f891906114db565b6040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016100f890611552565b5050565b813b8181610a61576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016100f891906114db565b6000610c626102a5565b905073ffffffffffffffffffffffffffffffffffffffff8316610cb1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016100f890611669565b73ffffffffffffffffffffffffffffffffffffffff8316301415610d01576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016100f8906117dd565b7fffffffff0000000000000000000000000000000000000000000000000000000082166000908152602082815260408083205473ffffffffffffffffffffffffffffffffffffffff8716845260018501909252909120547401000000000000000000000000000000000000000090910461ffff16907fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff01808214610ed35773ffffffffffffffffffffffffffffffffffffffff851660009081526001840160205260408120805483908110610dd257fe5b6000918252602080832060088304015473ffffffffffffffffffffffffffffffffffffffff8a168452600188019091526040909220805460079092166004026101000a90920460e01b925082919085908110610e2a57fe5b600091825260208083206008830401805463ffffffff60079094166004026101000a938402191660e09590951c929092029390931790557fffffffff000000000000000000000000000000000000000000000000000000009290921682528490526040902080547fffffffffffffffffffff0000ffffffffffffffffffffffffffffffffffffffff167401000000000000000000000000000000000000000061ffff8516021790555b73ffffffffffffffffffffffffffffffffffffffff851660009081526001840160205260409020805480610f0357fe5b6000828152602080822060087fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff90940193840401805463ffffffff600460078716026101000a0219169055919092557fffffffff00000000000000000000000000000000000000000000000000000000861682528490526040902080547fffffffffffffffffffff000000000000000000000000000000000000000000001690558061009757600283015473ffffffffffffffffffffffffffffffffffffffff861660009081526001858101602052604090912001547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff9091019061ffff168082146110df57600085600201838154811061101a57fe5b60009182526020909120015460028701805473ffffffffffffffffffffffffffffffffffffffff909216925082918490811061105257fe5b600091825260208083209190910180547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff9485161790559290911681526001878101909252604090200180547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00001661ffff83161790555b846002018054806110ec57fe5b6000828152602080822083017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff90810180547fffffffffffffffffffffffff000000000000000000000000000000000000000016905590920190925573ffffffffffffffffffffffffffffffffffffffff89168252600187810190915260409091200180547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff000016905550505050505050565b803573ffffffffffffffffffffffffffffffffffffffff811681146111c257600080fd5b919050565b600082601f8301126111d7578081fd5b813560206111ec6111e783611975565b611951565b8281528181019085830183850287018401881015611208578586fd5b855b858110156112535781357fffffffff0000000000000000000000000000000000000000000000000000000081168114611241578788fd5b8452928401929084019060010161120a565b5090979650505050505050565b600080600080600060608688031215611277578081fd5b853567ffffffffffffffff8082111561128e578283fd5b818801915088601f8301126112a1578283fd5b8135818111156112af578384fd5b60208a8182840286010111156112c3578485fd5b80840198508197506112d6818b0161119e565b965060408a01359350828411156112eb578485fd5b838a0193508a601f8501126112fe578485fd5b833591508282111561130e578485fd5b8a8183860101111561131e578485fd5b979a96995094975050909401935090919050565b73ffffffffffffffffffffffffffffffffffffffff169052565b60008151808452611364816020860160208601611a54565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160200192915050565b600082516113a8818460208701611a54565b9190910192915050565b606080825284518282018190526000919060809081850190602080820287018401818b01875b848110156114ac577fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff808a8403018652815188840173ffffffffffffffffffffffffffffffffffffffff8251168552858201516003811061143457fe5b858701526040918201519185018a9052815190819052908501908a90898601905b808310156114975783517fffffffff00000000000000000000000000000000000000000000000000000000168252928701926001929092019190870190611455565b509786019794505050908301906001016113d8565b50506114ba8289018b611332565b87810360408901526114cc818a61134c565b9b9a5050505050505050505050565b6000602082526114ee602083018461134c565b9392505050565b6020808252603c908201527f4c69624469616d6f6e644375743a205f696e697420697320616464726573732860408201527f3029206275745f63616c6c64617461206973206e6f7420656d70747900000000606082015260800190565b60208082526026908201527f4c69624469616d6f6e644375743a205f696e69742066756e6374696f6e20726560408201527f7665727465640000000000000000000000000000000000000000000000000000606082015260800190565b60208082526022908201527f4c69624469616d6f6e643a204d75737420626520636f6e7472616374206f776e60408201527f6572000000000000000000000000000000000000000000000000000000000000606082015260800190565b6020808252602b908201527f4c69624469616d6f6e644375743a204e6f2073656c6563746f727320696e206660408201527f6163657420746f20637574000000000000000000000000000000000000000000606082015260800190565b60208082526037908201527f4c69624469616d6f6e644375743a2043616e27742072656d6f76652066756e6360408201527f74696f6e207468617420646f65736e2774206578697374000000000000000000606082015260800190565b60208082526027908201527f4c69624469616d6f6e644375743a20496e636f7272656374204661636574437560408201527f74416374696f6e00000000000000000000000000000000000000000000000000606082015260800190565b6020808252602c908201527f4c69624469616d6f6e644375743a204164642066616365742063616e2774206260408201527f6520616464726573732830290000000000000000000000000000000000000000606082015260800190565b6020808252603d908201527f4c69624469616d6f6e644375743a205f63616c6c6461746120697320656d707460408201527f7920627574205f696e6974206973206e6f742061646472657373283029000000606082015260800190565b6020808252602e908201527f4c69624469616d6f6e644375743a2043616e27742072656d6f766520696d6d7560408201527f7461626c652066756e6374696f6e000000000000000000000000000000000000606082015260800190565b60208082526035908201527f4c69624469616d6f6e644375743a2043616e2774206164642066756e6374696f60408201527f6e207468617420616c7265616479206578697374730000000000000000000000606082015260800190565b60208082526038908201527f4c69624469616d6f6e644375743a2043616e2774207265706c6163652066756e60408201527f6374696f6e20776974682073616d652066756e6374696f6e0000000000000000606082015260800190565b60208082526036908201527f4c69624469616d6f6e644375743a2052656d6f7665206661636574206164647260408201527f657373206d757374206265206164647265737328302900000000000000000000606082015260800190565b60405181810167ffffffffffffffff8111828210171561196d57fe5b604052919050565b600067ffffffffffffffff82111561198957fe5b5060209081020190565b60006119a16111e784611975565b8381526020808201919084845b87811015611a48578135870160608082360312156119ca578788fd5b604080519182019167ffffffffffffffff80841182851017156119e957fe5b8383526119f58561119e565b825287850135935060038410611a09578a8bfd5b838883015282850135935080841115611a20578a8bfd5b50611a2d368486016111c7565b918101919091528752505093820193908201906001016119ae565b50919695505050505050565b60005b83811015611a6f578181015183820152602001611a57565b83811115610a61575050600091015256fe4c69624469616d6f6e644375743a205f696e6974206164647265737320686173206e6f20636f64654c69624469616d6f6e644375743a204e657720666163657420686173206e6f20636f6465a26469706673582212201054dec537d95010fa7c5e1911dd66af99cadad1565cb9a7dc56139c3d2c40f164736f6c63430007060033", + "bytecode": "0x608060405234801561001057600080fd5b50611d16806100206000396000f3fe608060405234801561001057600080fd5b506004361061002b5760003560e01c80631f931c1c14610030575b600080fd5b61004361003e36600461166f565b610045565b005b61004d61009e565b61009761005a85876117ec565b8484848080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525061016e92505050565b5050505050565b7fc8fcad8db84d3cc18b4c41d551ea0ee66dd599cde068d998e57d5e09332c131c6004015473ffffffffffffffffffffffffffffffffffffffff16331461016c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602260248201527f4c69624469616d6f6e643a204d75737420626520636f6e7472616374206f776e60448201527f657200000000000000000000000000000000000000000000000000000000000060648201526084015b60405180910390fd5b565b60005b835181101561036757600084828151811061018e5761018e611948565b6020026020010151602001519050600060028111156101af576101af611977565b8160028111156101c1576101c1611977565b14156102105761020b8583815181106101dc576101dc611948565b6020026020010151600001518684815181106101fa576101fa611948565b6020026020010151604001516103b2565b610354565b600181600281111561022457610224611977565b141561026e5761020b85838151811061023f5761023f611948565b60200260200101516000015186848151811061025d5761025d611948565b60200260200101516040015161075e565b600281600281111561028257610282611977565b14156102cc5761020b85838151811061029d5761029d611948565b6020026020010151600001518684815181106102bb576102bb611948565b602002602001015160400151610b1b565b6040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602760248201527f4c69624469616d6f6e644375743a20496e636f7272656374204661636574437560448201527f74416374696f6e000000000000000000000000000000000000000000000000006064820152608401610163565b508061035f816119d5565b915050610171565b507f8faa70878671ccd212d20771b795c50af8fd3ff6cf27f4bde57e5d4de0aeb67383838360405161039b93929190611a84565b60405180910390a16103ad8282610d0e565b505050565b6000815111610443576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602b60248201527f4c69624469616d6f6e644375743a204e6f2073656c6563746f727320696e206660448201527f6163657420746f206375740000000000000000000000000000000000000000006064820152608401610163565b7fc8fcad8db84d3cc18b4c41d551ea0ee66dd599cde068d998e57d5e09332c131c73ffffffffffffffffffffffffffffffffffffffff8316610507576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602c60248201527f4c69624469616d6f6e644375743a204164642066616365742063616e2774206260448201527f65206164647265737328302900000000000000000000000000000000000000006064820152608401610163565b73ffffffffffffffffffffffffffffffffffffffff831660009081526001820160205260409020546bffffffffffffffffffffffff811661054c5761054c8285610fc1565b60005b835181101561009757600084828151811061056c5761056c611948565b6020908102919091018101517fffffffff00000000000000000000000000000000000000000000000000000000811660009081529186905260409091205490915073ffffffffffffffffffffffffffffffffffffffff168015610651576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603560248201527f4c69624469616d6f6e644375743a2043616e2774206164642066756e6374696f60448201527f6e207468617420616c72656164792065786973747300000000000000000000006064820152608401610163565b7fffffffff000000000000000000000000000000000000000000000000000000008216600081815260208781526040808320805473ffffffffffffffffffffffffffffffffffffffff908116740100000000000000000000000000000000000000006bffffffffffffffffffffffff8c16021782558c168085526001808c0185529285208054938401815585528385206008840401805463ffffffff60079095166004026101000a948502191660e08a901c94909402939093179092559390925287905281547fffffffffffffffffffffffff0000000000000000000000000000000000000000161790558361074681611bec565b94505050508080610756906119d5565b91505061054f565b60008151116107ef576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602b60248201527f4c69624469616d6f6e644375743a204e6f2073656c6563746f727320696e206660448201527f6163657420746f206375740000000000000000000000000000000000000000006064820152608401610163565b7fc8fcad8db84d3cc18b4c41d551ea0ee66dd599cde068d998e57d5e09332c131c73ffffffffffffffffffffffffffffffffffffffff83166108b3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602c60248201527f4c69624469616d6f6e644375743a204164642066616365742063616e2774206260448201527f65206164647265737328302900000000000000000000000000000000000000006064820152608401610163565b73ffffffffffffffffffffffffffffffffffffffff831660009081526001820160205260409020546bffffffffffffffffffffffff81166108f8576108f88285610fc1565b60005b835181101561009757600084828151811061091857610918611948565b6020908102919091018101517fffffffff00000000000000000000000000000000000000000000000000000000811660009081529186905260409091205490915073ffffffffffffffffffffffffffffffffffffffff908116908716811415610a03576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603860248201527f4c69624469616d6f6e644375743a2043616e2774207265706c6163652066756e60448201527f6374696f6e20776974682073616d652066756e6374696f6e00000000000000006064820152608401610163565b610a0e858284611050565b7fffffffff000000000000000000000000000000000000000000000000000000008216600081815260208781526040808320805473ffffffffffffffffffffffffffffffffffffffff908116740100000000000000000000000000000000000000006bffffffffffffffffffffffff8c16021782558c168085526001808c0185529285208054938401815585528385206008840401805463ffffffff60079095166004026101000a948502191660e08a901c94909402939093179092559390925287905281547fffffffffffffffffffffffff00000000000000000000000000000000000000001617905583610b0381611bec565b94505050508080610b13906119d5565b9150506108fb565b6000815111610bac576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602b60248201527f4c69624469616d6f6e644375743a204e6f2073656c6563746f727320696e206660448201527f6163657420746f206375740000000000000000000000000000000000000000006064820152608401610163565b7fc8fcad8db84d3cc18b4c41d551ea0ee66dd599cde068d998e57d5e09332c131c73ffffffffffffffffffffffffffffffffffffffff831615610c71576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603660248201527f4c69624469616d6f6e644375743a2052656d6f7665206661636574206164647260448201527f657373206d7573742062652061646472657373283029000000000000000000006064820152608401610163565b60005b8251811015610d08576000838281518110610c9157610c91611948565b6020908102919091018101517fffffffff00000000000000000000000000000000000000000000000000000000811660009081529185905260409091205490915073ffffffffffffffffffffffffffffffffffffffff16610cf3848284611050565b50508080610d00906119d5565b915050610c74565b50505050565b73ffffffffffffffffffffffffffffffffffffffff8216610dbc57805115610db8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603c60248201527f4c69624469616d6f6e644375743a205f696e697420697320616464726573732860448201527f3029206275745f63616c6c64617461206973206e6f7420656d707479000000006064820152608401610163565b5050565b6000815111610e4d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603d60248201527f4c69624469616d6f6e644375743a205f63616c6c6461746120697320656d707460448201527f7920627574205f696e6974206973206e6f7420616464726573732830290000006064820152608401610163565b73ffffffffffffffffffffffffffffffffffffffff82163014610e8c57610e8c82604051806060016040528060288152602001611c95602891396115c2565b6000808373ffffffffffffffffffffffffffffffffffffffff1683604051610eb49190611c18565b600060405180830381855af49150503d8060008114610eef576040519150601f19603f3d011682016040523d82523d6000602084013e610ef4565b606091505b509150915081610d0857805115610f3957806040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016101639190611c34565b6040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f4c69624469616d6f6e644375743a205f696e69742066756e6374696f6e20726560448201527f76657274656400000000000000000000000000000000000000000000000000006064820152608401610163565b610fe381604051806060016040528060248152602001611cbd602491396115c2565b60028201805473ffffffffffffffffffffffffffffffffffffffff90921660008181526001948501602090815260408220860185905594840183559182529290200180547fffffffffffffffffffffffff0000000000000000000000000000000000000000169091179055565b73ffffffffffffffffffffffffffffffffffffffff82166110f3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603760248201527f4c69624469616d6f6e644375743a2043616e27742072656d6f76652066756e6360448201527f74696f6e207468617420646f65736e27742065786973740000000000000000006064820152608401610163565b73ffffffffffffffffffffffffffffffffffffffff8216301415611199576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602e60248201527f4c69624469616d6f6e644375743a2043616e27742072656d6f766520696d6d7560448201527f7461626c652066756e6374696f6e0000000000000000000000000000000000006064820152608401610163565b7fffffffff0000000000000000000000000000000000000000000000000000000081166000908152602084815260408083205473ffffffffffffffffffffffffffffffffffffffff86168452600180880190935290832054740100000000000000000000000000000000000000009091046bffffffffffffffffffffffff16929161122391611c4e565b905080821461136a5773ffffffffffffffffffffffffffffffffffffffff84166000908152600186016020526040812080548390811061126557611265611948565b6000918252602080832060088304015473ffffffffffffffffffffffffffffffffffffffff8916845260018a019091526040909220805460079092166004026101000a90920460e01b9250829190859081106112c3576112c3611948565b600091825260208083206008830401805463ffffffff60079094166004026101000a938402191660e09590951c929092029390931790557fffffffff0000000000000000000000000000000000000000000000000000000092909216825286905260409020805473ffffffffffffffffffffffffffffffffffffffff16740100000000000000000000000000000000000000006bffffffffffffffffffffffff8516021790555b73ffffffffffffffffffffffffffffffffffffffff8416600090815260018601602052604090208054806113a0576113a0611c65565b6000828152602080822060087fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff90940193840401805463ffffffff600460078716026101000a0219169055919092557fffffffff000000000000000000000000000000000000000000000000000000008516825286905260408120558061009757600285015460009061143590600190611c4e565b73ffffffffffffffffffffffffffffffffffffffff8616600090815260018089016020526040909120015490915080821461152357600087600201838154811061148157611481611948565b60009182526020909120015460028901805473ffffffffffffffffffffffffffffffffffffffff90921692508291849081106114bf576114bf611948565b600091825260208083209190910180547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff948516179055929091168152600189810190925260409020018190555b8660020180548061153657611536611c65565b6000828152602080822083017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff90810180547fffffffffffffffffffffffff000000000000000000000000000000000000000016905590920190925573ffffffffffffffffffffffffffffffffffffffff88168252600189810190915260408220015550505050505050565b813b8181610d08576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016101639190611c34565b803573ffffffffffffffffffffffffffffffffffffffff8116811461162157600080fd5b919050565b60008083601f84011261163857600080fd5b50813567ffffffffffffffff81111561165057600080fd5b60208301915083602082850101111561166857600080fd5b9250929050565b60008060008060006060868803121561168757600080fd5b853567ffffffffffffffff8082111561169f57600080fd5b818801915088601f8301126116b357600080fd5b8135818111156116c257600080fd5b8960208260051b85010111156116d757600080fd5b602083019750809650506116ed602089016115fd565b9450604088013591508082111561170357600080fd5b5061171088828901611626565b969995985093965092949392505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040516060810167ffffffffffffffff8111828210171561177357611773611721565b60405290565b604051601f82017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016810167ffffffffffffffff811182821017156117c0576117c0611721565b604052919050565b600067ffffffffffffffff8211156117e2576117e2611721565b5060051b60200190565b60006117ff6117fa846117c8565b611779565b83815260208082019190600586811b86013681111561181d57600080fd5b865b8181101561193b57803567ffffffffffffffff808211156118405760008081fd5b818a019150606082360312156118565760008081fd5b61185e611750565b611867836115fd565b8152868301356003811061187b5760008081fd5b81880152604083810135838111156118935760008081fd5b939093019236601f8501126118aa57600092508283fd5b833592506118ba6117fa846117c8565b83815292871b840188019288810190368511156118d75760008081fd5b948901945b848610156119245785357fffffffff00000000000000000000000000000000000000000000000000000000811681146119155760008081fd5b825294890194908901906118dc565b91830191909152508852505094830194830161181f565b5092979650505050505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415611a0757611a076119a6565b5060010190565b60005b83811015611a29578181015183820152602001611a11565b83811115610d085750506000910152565b60008151808452611a52816020860160208601611a0e565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160200192915050565b60006060808301818452808751808352608092508286019150828160051b8701016020808b0160005b84811015611baf577fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff808a8503018652815188850173ffffffffffffffffffffffffffffffffffffffff82511686528482015160038110611b36577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b868601526040918201519186018a905281519081905290840190600090898701905b80831015611b9a5783517fffffffff00000000000000000000000000000000000000000000000000000000168252928601926001929092019190860190611b58565b50978501979550505090820190600101611aad565b505073ffffffffffffffffffffffffffffffffffffffff8a16908801528681036040880152611bde8189611a3a565b9a9950505050505050505050565b60006bffffffffffffffffffffffff80831681811415611c0e57611c0e6119a6565b6001019392505050565b60008251611c2a818460208701611a0e565b9190910192915050565b602081526000611c476020830184611a3a565b9392505050565b600082821015611c6057611c606119a6565b500390565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fdfe4c69624469616d6f6e644375743a205f696e6974206164647265737320686173206e6f20636f64654c69624469616d6f6e644375743a204e657720666163657420686173206e6f20636f6465a2646970667358221220e81a298b706af5e6f506858188273bb2ce25676985300bfa08ae6101051ec9bf64736f6c63430008090033", + "deployedBytecode": "0x608060405234801561001057600080fd5b506004361061002b5760003560e01c80631f931c1c14610030575b600080fd5b61004361003e36600461166f565b610045565b005b61004d61009e565b61009761005a85876117ec565b8484848080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525061016e92505050565b5050505050565b7fc8fcad8db84d3cc18b4c41d551ea0ee66dd599cde068d998e57d5e09332c131c6004015473ffffffffffffffffffffffffffffffffffffffff16331461016c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602260248201527f4c69624469616d6f6e643a204d75737420626520636f6e7472616374206f776e60448201527f657200000000000000000000000000000000000000000000000000000000000060648201526084015b60405180910390fd5b565b60005b835181101561036757600084828151811061018e5761018e611948565b6020026020010151602001519050600060028111156101af576101af611977565b8160028111156101c1576101c1611977565b14156102105761020b8583815181106101dc576101dc611948565b6020026020010151600001518684815181106101fa576101fa611948565b6020026020010151604001516103b2565b610354565b600181600281111561022457610224611977565b141561026e5761020b85838151811061023f5761023f611948565b60200260200101516000015186848151811061025d5761025d611948565b60200260200101516040015161075e565b600281600281111561028257610282611977565b14156102cc5761020b85838151811061029d5761029d611948565b6020026020010151600001518684815181106102bb576102bb611948565b602002602001015160400151610b1b565b6040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602760248201527f4c69624469616d6f6e644375743a20496e636f7272656374204661636574437560448201527f74416374696f6e000000000000000000000000000000000000000000000000006064820152608401610163565b508061035f816119d5565b915050610171565b507f8faa70878671ccd212d20771b795c50af8fd3ff6cf27f4bde57e5d4de0aeb67383838360405161039b93929190611a84565b60405180910390a16103ad8282610d0e565b505050565b6000815111610443576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602b60248201527f4c69624469616d6f6e644375743a204e6f2073656c6563746f727320696e206660448201527f6163657420746f206375740000000000000000000000000000000000000000006064820152608401610163565b7fc8fcad8db84d3cc18b4c41d551ea0ee66dd599cde068d998e57d5e09332c131c73ffffffffffffffffffffffffffffffffffffffff8316610507576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602c60248201527f4c69624469616d6f6e644375743a204164642066616365742063616e2774206260448201527f65206164647265737328302900000000000000000000000000000000000000006064820152608401610163565b73ffffffffffffffffffffffffffffffffffffffff831660009081526001820160205260409020546bffffffffffffffffffffffff811661054c5761054c8285610fc1565b60005b835181101561009757600084828151811061056c5761056c611948565b6020908102919091018101517fffffffff00000000000000000000000000000000000000000000000000000000811660009081529186905260409091205490915073ffffffffffffffffffffffffffffffffffffffff168015610651576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603560248201527f4c69624469616d6f6e644375743a2043616e2774206164642066756e6374696f60448201527f6e207468617420616c72656164792065786973747300000000000000000000006064820152608401610163565b7fffffffff000000000000000000000000000000000000000000000000000000008216600081815260208781526040808320805473ffffffffffffffffffffffffffffffffffffffff908116740100000000000000000000000000000000000000006bffffffffffffffffffffffff8c16021782558c168085526001808c0185529285208054938401815585528385206008840401805463ffffffff60079095166004026101000a948502191660e08a901c94909402939093179092559390925287905281547fffffffffffffffffffffffff0000000000000000000000000000000000000000161790558361074681611bec565b94505050508080610756906119d5565b91505061054f565b60008151116107ef576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602b60248201527f4c69624469616d6f6e644375743a204e6f2073656c6563746f727320696e206660448201527f6163657420746f206375740000000000000000000000000000000000000000006064820152608401610163565b7fc8fcad8db84d3cc18b4c41d551ea0ee66dd599cde068d998e57d5e09332c131c73ffffffffffffffffffffffffffffffffffffffff83166108b3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602c60248201527f4c69624469616d6f6e644375743a204164642066616365742063616e2774206260448201527f65206164647265737328302900000000000000000000000000000000000000006064820152608401610163565b73ffffffffffffffffffffffffffffffffffffffff831660009081526001820160205260409020546bffffffffffffffffffffffff81166108f8576108f88285610fc1565b60005b835181101561009757600084828151811061091857610918611948565b6020908102919091018101517fffffffff00000000000000000000000000000000000000000000000000000000811660009081529186905260409091205490915073ffffffffffffffffffffffffffffffffffffffff908116908716811415610a03576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603860248201527f4c69624469616d6f6e644375743a2043616e2774207265706c6163652066756e60448201527f6374696f6e20776974682073616d652066756e6374696f6e00000000000000006064820152608401610163565b610a0e858284611050565b7fffffffff000000000000000000000000000000000000000000000000000000008216600081815260208781526040808320805473ffffffffffffffffffffffffffffffffffffffff908116740100000000000000000000000000000000000000006bffffffffffffffffffffffff8c16021782558c168085526001808c0185529285208054938401815585528385206008840401805463ffffffff60079095166004026101000a948502191660e08a901c94909402939093179092559390925287905281547fffffffffffffffffffffffff00000000000000000000000000000000000000001617905583610b0381611bec565b94505050508080610b13906119d5565b9150506108fb565b6000815111610bac576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602b60248201527f4c69624469616d6f6e644375743a204e6f2073656c6563746f727320696e206660448201527f6163657420746f206375740000000000000000000000000000000000000000006064820152608401610163565b7fc8fcad8db84d3cc18b4c41d551ea0ee66dd599cde068d998e57d5e09332c131c73ffffffffffffffffffffffffffffffffffffffff831615610c71576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603660248201527f4c69624469616d6f6e644375743a2052656d6f7665206661636574206164647260448201527f657373206d7573742062652061646472657373283029000000000000000000006064820152608401610163565b60005b8251811015610d08576000838281518110610c9157610c91611948565b6020908102919091018101517fffffffff00000000000000000000000000000000000000000000000000000000811660009081529185905260409091205490915073ffffffffffffffffffffffffffffffffffffffff16610cf3848284611050565b50508080610d00906119d5565b915050610c74565b50505050565b73ffffffffffffffffffffffffffffffffffffffff8216610dbc57805115610db8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603c60248201527f4c69624469616d6f6e644375743a205f696e697420697320616464726573732860448201527f3029206275745f63616c6c64617461206973206e6f7420656d707479000000006064820152608401610163565b5050565b6000815111610e4d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603d60248201527f4c69624469616d6f6e644375743a205f63616c6c6461746120697320656d707460448201527f7920627574205f696e6974206973206e6f7420616464726573732830290000006064820152608401610163565b73ffffffffffffffffffffffffffffffffffffffff82163014610e8c57610e8c82604051806060016040528060288152602001611c95602891396115c2565b6000808373ffffffffffffffffffffffffffffffffffffffff1683604051610eb49190611c18565b600060405180830381855af49150503d8060008114610eef576040519150601f19603f3d011682016040523d82523d6000602084013e610ef4565b606091505b509150915081610d0857805115610f3957806040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016101639190611c34565b6040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f4c69624469616d6f6e644375743a205f696e69742066756e6374696f6e20726560448201527f76657274656400000000000000000000000000000000000000000000000000006064820152608401610163565b610fe381604051806060016040528060248152602001611cbd602491396115c2565b60028201805473ffffffffffffffffffffffffffffffffffffffff90921660008181526001948501602090815260408220860185905594840183559182529290200180547fffffffffffffffffffffffff0000000000000000000000000000000000000000169091179055565b73ffffffffffffffffffffffffffffffffffffffff82166110f3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603760248201527f4c69624469616d6f6e644375743a2043616e27742072656d6f76652066756e6360448201527f74696f6e207468617420646f65736e27742065786973740000000000000000006064820152608401610163565b73ffffffffffffffffffffffffffffffffffffffff8216301415611199576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602e60248201527f4c69624469616d6f6e644375743a2043616e27742072656d6f766520696d6d7560448201527f7461626c652066756e6374696f6e0000000000000000000000000000000000006064820152608401610163565b7fffffffff0000000000000000000000000000000000000000000000000000000081166000908152602084815260408083205473ffffffffffffffffffffffffffffffffffffffff86168452600180880190935290832054740100000000000000000000000000000000000000009091046bffffffffffffffffffffffff16929161122391611c4e565b905080821461136a5773ffffffffffffffffffffffffffffffffffffffff84166000908152600186016020526040812080548390811061126557611265611948565b6000918252602080832060088304015473ffffffffffffffffffffffffffffffffffffffff8916845260018a019091526040909220805460079092166004026101000a90920460e01b9250829190859081106112c3576112c3611948565b600091825260208083206008830401805463ffffffff60079094166004026101000a938402191660e09590951c929092029390931790557fffffffff0000000000000000000000000000000000000000000000000000000092909216825286905260409020805473ffffffffffffffffffffffffffffffffffffffff16740100000000000000000000000000000000000000006bffffffffffffffffffffffff8516021790555b73ffffffffffffffffffffffffffffffffffffffff8416600090815260018601602052604090208054806113a0576113a0611c65565b6000828152602080822060087fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff90940193840401805463ffffffff600460078716026101000a0219169055919092557fffffffff000000000000000000000000000000000000000000000000000000008516825286905260408120558061009757600285015460009061143590600190611c4e565b73ffffffffffffffffffffffffffffffffffffffff8616600090815260018089016020526040909120015490915080821461152357600087600201838154811061148157611481611948565b60009182526020909120015460028901805473ffffffffffffffffffffffffffffffffffffffff90921692508291849081106114bf576114bf611948565b600091825260208083209190910180547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff948516179055929091168152600189810190925260409020018190555b8660020180548061153657611536611c65565b6000828152602080822083017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff90810180547fffffffffffffffffffffffff000000000000000000000000000000000000000016905590920190925573ffffffffffffffffffffffffffffffffffffffff88168252600189810190915260408220015550505050505050565b813b8181610d08576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016101639190611c34565b803573ffffffffffffffffffffffffffffffffffffffff8116811461162157600080fd5b919050565b60008083601f84011261163857600080fd5b50813567ffffffffffffffff81111561165057600080fd5b60208301915083602082850101111561166857600080fd5b9250929050565b60008060008060006060868803121561168757600080fd5b853567ffffffffffffffff8082111561169f57600080fd5b818801915088601f8301126116b357600080fd5b8135818111156116c257600080fd5b8960208260051b85010111156116d757600080fd5b602083019750809650506116ed602089016115fd565b9450604088013591508082111561170357600080fd5b5061171088828901611626565b969995985093965092949392505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040516060810167ffffffffffffffff8111828210171561177357611773611721565b60405290565b604051601f82017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016810167ffffffffffffffff811182821017156117c0576117c0611721565b604052919050565b600067ffffffffffffffff8211156117e2576117e2611721565b5060051b60200190565b60006117ff6117fa846117c8565b611779565b83815260208082019190600586811b86013681111561181d57600080fd5b865b8181101561193b57803567ffffffffffffffff808211156118405760008081fd5b818a019150606082360312156118565760008081fd5b61185e611750565b611867836115fd565b8152868301356003811061187b5760008081fd5b81880152604083810135838111156118935760008081fd5b939093019236601f8501126118aa57600092508283fd5b833592506118ba6117fa846117c8565b83815292871b840188019288810190368511156118d75760008081fd5b948901945b848610156119245785357fffffffff00000000000000000000000000000000000000000000000000000000811681146119155760008081fd5b825294890194908901906118dc565b91830191909152508852505094830194830161181f565b5092979650505050505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415611a0757611a076119a6565b5060010190565b60005b83811015611a29578181015183820152602001611a11565b83811115610d085750506000910152565b60008151808452611a52816020860160208601611a0e565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160200192915050565b60006060808301818452808751808352608092508286019150828160051b8701016020808b0160005b84811015611baf577fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff808a8503018652815188850173ffffffffffffffffffffffffffffffffffffffff82511686528482015160038110611b36577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b868601526040918201519186018a905281519081905290840190600090898701905b80831015611b9a5783517fffffffff00000000000000000000000000000000000000000000000000000000168252928601926001929092019190860190611b58565b50978501979550505090820190600101611aad565b505073ffffffffffffffffffffffffffffffffffffffff8a16908801528681036040880152611bde8189611a3a565b9a9950505050505050505050565b60006bffffffffffffffffffffffff80831681811415611c0e57611c0e6119a6565b6001019392505050565b60008251611c2a818460208701611a0e565b9190910192915050565b602081526000611c476020830184611a3a565b9392505050565b600082821015611c6057611c606119a6565b500390565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fdfe4c69624469616d6f6e644375743a205f696e6974206164647265737320686173206e6f20636f64654c69624469616d6f6e644375743a204e657720666163657420686173206e6f20636f6465a2646970667358221220e81a298b706af5e6f506858188273bb2ce25676985300bfa08ae6101051ec9bf64736f6c63430008090033", "linkReferences": {}, "deployedLinkReferences": {}, "devdoc": { @@ -104,59 +104,332 @@ }, "evm": { "bytecode": { + "functionDebugData": {}, "generatedSources": [], "linkReferences": {}, - "opcodes": "PUSH1 0x80 PUSH1 0x40 MSTORE CALLVALUE DUP1 ISZERO PUSH2 0x10 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH2 0x1B02 DUP1 PUSH2 0x20 PUSH1 0x0 CODECOPY PUSH1 0x0 RETURN INVALID PUSH1 0x80 PUSH1 0x40 MSTORE CALLVALUE DUP1 ISZERO PUSH2 0x10 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH1 0x4 CALLDATASIZE LT PUSH2 0x2B JUMPI PUSH1 0x0 CALLDATALOAD PUSH1 0xE0 SHR DUP1 PUSH4 0x1F931C1C EQ PUSH2 0x30 JUMPI JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x43 PUSH2 0x3E CALLDATASIZE PUSH1 0x4 PUSH2 0x1260 JUMP JUMPDEST PUSH2 0x45 JUMP JUMPDEST STOP JUMPDEST PUSH2 0x4D PUSH2 0x9E JUMP JUMPDEST PUSH2 0x97 PUSH2 0x5A DUP6 DUP8 PUSH2 0x1993 JUMP JUMPDEST DUP5 DUP5 DUP5 DUP1 DUP1 PUSH1 0x1F ADD PUSH1 0x20 DUP1 SWAP2 DIV MUL PUSH1 0x20 ADD PUSH1 0x40 MLOAD SWAP1 DUP2 ADD PUSH1 0x40 MSTORE DUP1 SWAP4 SWAP3 SWAP2 SWAP1 DUP2 DUP2 MSTORE PUSH1 0x20 ADD DUP4 DUP4 DUP1 DUP3 DUP5 CALLDATACOPY PUSH1 0x0 SWAP3 ADD SWAP2 SWAP1 SWAP2 MSTORE POP PUSH2 0x103 SWAP3 POP POP POP JUMP JUMPDEST POP POP POP POP POP JUMP JUMPDEST PUSH2 0xA6 PUSH2 0x2A5 JUMP JUMPDEST PUSH1 0x4 ADD SLOAD PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND CALLER EQ PUSH2 0x101 JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0xF8 SWAP1 PUSH2 0x15AF JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST JUMP JUMPDEST PUSH1 0x0 JUMPDEST DUP4 MLOAD DUP2 LT ISZERO PUSH2 0x25A JUMPI PUSH1 0x0 DUP5 DUP3 DUP2 MLOAD DUP2 LT PUSH2 0x11D JUMPI INVALID JUMPDEST PUSH1 0x20 MUL PUSH1 0x20 ADD ADD MLOAD PUSH1 0x20 ADD MLOAD SWAP1 POP PUSH1 0x0 PUSH1 0x2 DUP2 GT ISZERO PUSH2 0x138 JUMPI INVALID JUMPDEST DUP2 PUSH1 0x2 DUP2 GT ISZERO PUSH2 0x144 JUMPI INVALID JUMPDEST EQ ISZERO PUSH2 0x187 JUMPI PUSH2 0x182 DUP6 DUP4 DUP2 MLOAD DUP2 LT PUSH2 0x159 JUMPI INVALID JUMPDEST PUSH1 0x20 MUL PUSH1 0x20 ADD ADD MLOAD PUSH1 0x0 ADD MLOAD DUP7 DUP5 DUP2 MLOAD DUP2 LT PUSH2 0x171 JUMPI INVALID JUMPDEST PUSH1 0x20 MUL PUSH1 0x20 ADD ADD MLOAD PUSH1 0x40 ADD MLOAD PUSH2 0x2C9 JUMP JUMPDEST PUSH2 0x251 JUMP JUMPDEST PUSH1 0x1 DUP2 PUSH1 0x2 DUP2 GT ISZERO PUSH2 0x195 JUMPI INVALID JUMPDEST EQ ISZERO PUSH2 0x1D3 JUMPI PUSH2 0x182 DUP6 DUP4 DUP2 MLOAD DUP2 LT PUSH2 0x1AA JUMPI INVALID JUMPDEST PUSH1 0x20 MUL PUSH1 0x20 ADD ADD MLOAD PUSH1 0x0 ADD MLOAD DUP7 DUP5 DUP2 MLOAD DUP2 LT PUSH2 0x1C2 JUMPI INVALID JUMPDEST PUSH1 0x20 MUL PUSH1 0x20 ADD ADD MLOAD PUSH1 0x40 ADD MLOAD PUSH2 0x5FA JUMP JUMPDEST PUSH1 0x2 DUP2 PUSH1 0x2 DUP2 GT ISZERO PUSH2 0x1E1 JUMPI INVALID JUMPDEST EQ ISZERO PUSH2 0x21F JUMPI PUSH2 0x182 DUP6 DUP4 DUP2 MLOAD DUP2 LT PUSH2 0x1F6 JUMPI INVALID JUMPDEST PUSH1 0x20 MUL PUSH1 0x20 ADD ADD MLOAD PUSH1 0x0 ADD MLOAD DUP7 DUP5 DUP2 MLOAD DUP2 LT PUSH2 0x20E JUMPI INVALID JUMPDEST PUSH1 0x20 MUL PUSH1 0x20 ADD ADD MLOAD PUSH1 0x40 ADD MLOAD PUSH2 0x947 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0xF8 SWAP1 PUSH2 0x16C6 JUMP JUMPDEST POP PUSH1 0x1 ADD PUSH2 0x106 JUMP JUMPDEST POP PUSH32 0x8FAA70878671CCD212D20771B795C50AF8FD3FF6CF27F4BDE57E5D4DE0AEB673 DUP4 DUP4 DUP4 PUSH1 0x40 MLOAD PUSH2 0x28E SWAP4 SWAP3 SWAP2 SWAP1 PUSH2 0x13B2 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 LOG1 PUSH2 0x2A0 DUP3 DUP3 PUSH2 0xA67 JUMP JUMPDEST POP POP POP JUMP JUMPDEST PUSH32 0xC8FCAD8DB84D3CC18B4C41D551EA0EE66DD599CDE068D998E57D5E09332C131C SWAP1 JUMP JUMPDEST PUSH1 0x0 DUP2 MLOAD GT PUSH2 0x304 JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0xF8 SWAP1 PUSH2 0x160C JUMP JUMPDEST PUSH1 0x0 PUSH2 0x30E PUSH2 0x2A5 JUMP JUMPDEST SWAP1 POP PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP4 AND PUSH2 0x35D JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0xF8 SWAP1 PUSH2 0x1723 JUMP JUMPDEST PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP4 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x1 DUP3 ADD PUSH1 0x20 MSTORE PUSH1 0x40 SWAP1 KECCAK256 SLOAD PUSH2 0xFFFF DUP2 AND PUSH2 0x44E JUMPI PUSH2 0x3B0 DUP5 PUSH1 0x40 MLOAD DUP1 PUSH1 0x60 ADD PUSH1 0x40 MSTORE DUP1 PUSH1 0x24 DUP2 MSTORE PUSH1 0x20 ADD PUSH2 0x1AA9 PUSH1 0x24 SWAP2 CODECOPY PUSH2 0xC1D JUMP JUMPDEST PUSH1 0x2 DUP3 ADD DUP1 SLOAD PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP7 AND PUSH1 0x0 DUP2 DUP2 MSTORE PUSH1 0x1 DUP1 DUP8 ADD PUSH1 0x20 SWAP1 DUP2 MSTORE PUSH1 0x40 DUP4 KECCAK256 DUP3 ADD DUP1 SLOAD PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF0000 AND PUSH2 0xFFFF SWAP1 SWAP7 AND SWAP6 SWAP1 SWAP6 OR SWAP1 SWAP5 SSTORE DUP5 SLOAD SWAP1 DUP2 ADD DUP6 SSTORE SWAP4 DUP2 MSTORE SWAP2 SWAP1 SWAP2 KECCAK256 SWAP1 SWAP2 ADD DUP1 SLOAD PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFF0000000000000000000000000000000000000000 AND SWAP1 SWAP2 OR SWAP1 SSTORE JUMPDEST PUSH1 0x0 JUMPDEST DUP4 MLOAD DUP2 LT ISZERO PUSH2 0x97 JUMPI PUSH1 0x0 DUP5 DUP3 DUP2 MLOAD DUP2 LT PUSH2 0x468 JUMPI INVALID JUMPDEST PUSH1 0x20 SWAP1 DUP2 MUL SWAP2 SWAP1 SWAP2 ADD DUP2 ADD MLOAD PUSH32 0xFFFFFFFF00000000000000000000000000000000000000000000000000000000 DUP2 AND PUSH1 0x0 SWAP1 DUP2 MSTORE SWAP2 DUP7 SWAP1 MSTORE PUSH1 0x40 SWAP1 SWAP2 KECCAK256 SLOAD SWAP1 SWAP2 POP PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP1 ISZERO PUSH2 0x4F7 JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0xF8 SWAP1 PUSH2 0x183A JUMP JUMPDEST POP PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP7 AND PUSH1 0x0 DUP2 DUP2 MSTORE PUSH1 0x1 DUP7 DUP2 ADD PUSH1 0x20 SWAP1 DUP2 MSTORE PUSH1 0x40 DUP1 DUP5 KECCAK256 DUP1 SLOAD DUP1 DUP6 ADD DUP3 SSTORE SWAP1 DUP6 MSTORE DUP3 DUP6 KECCAK256 PUSH1 0x8 DUP3 DIV ADD DUP1 SLOAD PUSH4 0xFFFFFFFF PUSH1 0x7 SWAP1 SWAP4 AND PUSH1 0x4 MUL PUSH2 0x100 EXP SWAP3 DUP4 MUL NOT AND PUSH1 0xE0 DUP10 SWAP1 SHR SWAP3 SWAP1 SWAP3 MUL SWAP2 SWAP1 SWAP2 OR SWAP1 SSTORE PUSH32 0xFFFFFFFF00000000000000000000000000000000000000000000000000000000 SWAP1 SWAP6 AND DUP4 MSTORE DUP8 SWAP1 MSTORE SWAP3 SWAP1 KECCAK256 DUP1 SLOAD PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFF0000000000000000000000000000000000000000 AND SWAP1 SWAP2 OR PUSH32 0xFFFFFFFFFFFFFFFFFFFF0000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH21 0x10000000000000000000000000000000000000000 PUSH2 0xFFFF DUP7 AND MUL OR SWAP1 SSTORE SWAP2 DUP3 ADD SWAP2 ADD PUSH2 0x451 JUMP JUMPDEST PUSH1 0x0 DUP2 MLOAD GT PUSH2 0x635 JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0xF8 SWAP1 PUSH2 0x160C JUMP JUMPDEST PUSH1 0x0 PUSH2 0x63F PUSH2 0x2A5 JUMP JUMPDEST SWAP1 POP PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP4 AND PUSH2 0x68E JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0xF8 SWAP1 PUSH2 0x1723 JUMP JUMPDEST PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP4 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x1 DUP3 ADD PUSH1 0x20 MSTORE PUSH1 0x40 SWAP1 KECCAK256 SLOAD PUSH2 0xFFFF DUP2 AND PUSH2 0x77F JUMPI PUSH2 0x6E1 DUP5 PUSH1 0x40 MLOAD DUP1 PUSH1 0x60 ADD PUSH1 0x40 MSTORE DUP1 PUSH1 0x24 DUP2 MSTORE PUSH1 0x20 ADD PUSH2 0x1AA9 PUSH1 0x24 SWAP2 CODECOPY PUSH2 0xC1D JUMP JUMPDEST PUSH1 0x2 DUP3 ADD DUP1 SLOAD PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP7 AND PUSH1 0x0 DUP2 DUP2 MSTORE PUSH1 0x1 DUP1 DUP8 ADD PUSH1 0x20 SWAP1 DUP2 MSTORE PUSH1 0x40 DUP4 KECCAK256 DUP3 ADD DUP1 SLOAD PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF0000 AND PUSH2 0xFFFF SWAP1 SWAP7 AND SWAP6 SWAP1 SWAP6 OR SWAP1 SWAP5 SSTORE DUP5 SLOAD SWAP1 DUP2 ADD DUP6 SSTORE SWAP4 DUP2 MSTORE SWAP2 SWAP1 SWAP2 KECCAK256 SWAP1 SWAP2 ADD DUP1 SLOAD PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFF0000000000000000000000000000000000000000 AND SWAP1 SWAP2 OR SWAP1 SSTORE JUMPDEST PUSH1 0x0 JUMPDEST DUP4 MLOAD DUP2 LT ISZERO PUSH2 0x97 JUMPI PUSH1 0x0 DUP5 DUP3 DUP2 MLOAD DUP2 LT PUSH2 0x799 JUMPI INVALID JUMPDEST PUSH1 0x20 SWAP1 DUP2 MUL SWAP2 SWAP1 SWAP2 ADD DUP2 ADD MLOAD PUSH32 0xFFFFFFFF00000000000000000000000000000000000000000000000000000000 DUP2 AND PUSH1 0x0 SWAP1 DUP2 MSTORE SWAP2 DUP7 SWAP1 MSTORE PUSH1 0x40 SWAP1 SWAP2 KECCAK256 SLOAD SWAP1 SWAP2 POP PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF SWAP1 DUP2 AND SWAP1 DUP8 AND DUP2 EQ ISZERO PUSH2 0x82E JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0xF8 SWAP1 PUSH2 0x1897 JUMP JUMPDEST PUSH2 0x838 DUP2 DUP4 PUSH2 0xC58 JUMP JUMPDEST POP PUSH32 0xFFFFFFFF00000000000000000000000000000000000000000000000000000000 DUP2 AND PUSH1 0x0 DUP2 DUP2 MSTORE PUSH1 0x20 DUP7 DUP2 MSTORE PUSH1 0x40 DUP1 DUP4 KECCAK256 DUP1 SLOAD PUSH32 0xFFFFFFFFFFFFFFFFFFFF0000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH21 0x10000000000000000000000000000000000000000 PUSH2 0xFFFF DUP11 AND MUL OR DUP2 SSTORE PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP12 AND DUP1 DUP6 MSTORE PUSH1 0x1 DUP1 DUP12 ADD DUP6 MSTORE SWAP3 DUP6 KECCAK256 DUP1 SLOAD DUP1 DUP6 ADD DUP3 SSTORE SWAP1 DUP7 MSTORE DUP5 DUP7 KECCAK256 PUSH1 0x8 DUP3 DIV ADD DUP1 SLOAD PUSH4 0xFFFFFFFF PUSH1 0x7 SWAP1 SWAP4 AND PUSH1 0x4 MUL PUSH2 0x100 EXP SWAP3 DUP4 MUL NOT AND PUSH1 0xE0 SWAP10 SWAP1 SWAP10 SHR SWAP2 SWAP1 SWAP2 MUL SWAP8 SWAP1 SWAP8 OR SWAP1 SWAP7 SSTORE SWAP4 SWAP1 SWAP3 MSTORE DUP7 SWAP1 MSTORE DUP2 SLOAD PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFF0000000000000000000000000000000000000000 AND SWAP1 SWAP3 OR SWAP1 SSTORE SWAP2 DUP3 ADD SWAP2 ADD PUSH2 0x782 JUMP JUMPDEST PUSH1 0x0 DUP2 MLOAD GT PUSH2 0x982 JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0xF8 SWAP1 PUSH2 0x160C JUMP JUMPDEST PUSH1 0x0 PUSH2 0x98C PUSH2 0x2A5 JUMP JUMPDEST SWAP1 POP PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP4 AND ISZERO PUSH2 0x9DC JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0xF8 SWAP1 PUSH2 0x18F4 JUMP JUMPDEST PUSH1 0x0 JUMPDEST DUP3 MLOAD DUP2 LT ISZERO PUSH2 0xA61 JUMPI PUSH1 0x0 DUP4 DUP3 DUP2 MLOAD DUP2 LT PUSH2 0x9F6 JUMPI INVALID JUMPDEST PUSH1 0x20 SWAP1 DUP2 MUL SWAP2 SWAP1 SWAP2 ADD DUP2 ADD MLOAD PUSH32 0xFFFFFFFF00000000000000000000000000000000000000000000000000000000 DUP2 AND PUSH1 0x0 SWAP1 DUP2 MSTORE SWAP2 DUP6 SWAP1 MSTORE PUSH1 0x40 SWAP1 SWAP2 KECCAK256 SLOAD SWAP1 SWAP2 POP PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH2 0xA57 DUP2 DUP4 PUSH2 0xC58 JUMP JUMPDEST POP POP PUSH1 0x1 ADD PUSH2 0x9DF JUMP JUMPDEST POP POP POP POP JUMP JUMPDEST PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP3 AND PUSH2 0xAC0 JUMPI DUP1 MLOAD ISZERO PUSH2 0xABB JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0xF8 SWAP1 PUSH2 0x14F5 JUMP JUMPDEST PUSH2 0xC19 JUMP JUMPDEST PUSH1 0x0 DUP2 MLOAD GT PUSH2 0xAFB JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0xF8 SWAP1 PUSH2 0x1780 JUMP JUMPDEST PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP3 AND ADDRESS EQ PUSH2 0xB3A JUMPI PUSH2 0xB3A DUP3 PUSH1 0x40 MLOAD DUP1 PUSH1 0x60 ADD PUSH1 0x40 MSTORE DUP1 PUSH1 0x28 DUP2 MSTORE PUSH1 0x20 ADD PUSH2 0x1A81 PUSH1 0x28 SWAP2 CODECOPY PUSH2 0xC1D JUMP JUMPDEST PUSH1 0x0 DUP1 DUP4 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP4 PUSH1 0x40 MLOAD PUSH2 0xB62 SWAP2 SWAP1 PUSH2 0x1396 JUMP JUMPDEST PUSH1 0x0 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP6 GAS DELEGATECALL SWAP2 POP POP RETURNDATASIZE DUP1 PUSH1 0x0 DUP2 EQ PUSH2 0xB9D JUMPI PUSH1 0x40 MLOAD SWAP2 POP PUSH1 0x1F NOT PUSH1 0x3F RETURNDATASIZE ADD AND DUP3 ADD PUSH1 0x40 MSTORE RETURNDATASIZE DUP3 MSTORE RETURNDATASIZE PUSH1 0x0 PUSH1 0x20 DUP5 ADD RETURNDATACOPY PUSH2 0xBA2 JUMP JUMPDEST PUSH1 0x60 SWAP2 POP JUMPDEST POP SWAP2 POP SWAP2 POP DUP2 PUSH2 0xA61 JUMPI DUP1 MLOAD ISZERO PUSH2 0xBE7 JUMPI DUP1 PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0xF8 SWAP2 SWAP1 PUSH2 0x14DB JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0xF8 SWAP1 PUSH2 0x1552 JUMP JUMPDEST POP POP JUMP JUMPDEST DUP2 EXTCODESIZE DUP2 DUP2 PUSH2 0xA61 JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0xF8 SWAP2 SWAP1 PUSH2 0x14DB JUMP JUMPDEST PUSH1 0x0 PUSH2 0xC62 PUSH2 0x2A5 JUMP JUMPDEST SWAP1 POP PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP4 AND PUSH2 0xCB1 JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0xF8 SWAP1 PUSH2 0x1669 JUMP JUMPDEST PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP4 AND ADDRESS EQ ISZERO PUSH2 0xD01 JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0xF8 SWAP1 PUSH2 0x17DD JUMP JUMPDEST PUSH32 0xFFFFFFFF00000000000000000000000000000000000000000000000000000000 DUP3 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x20 DUP3 DUP2 MSTORE PUSH1 0x40 DUP1 DUP4 KECCAK256 SLOAD PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP8 AND DUP5 MSTORE PUSH1 0x1 DUP6 ADD SWAP1 SWAP3 MSTORE SWAP1 SWAP2 KECCAK256 SLOAD PUSH21 0x10000000000000000000000000000000000000000 SWAP1 SWAP2 DIV PUSH2 0xFFFF AND SWAP1 PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF ADD DUP1 DUP3 EQ PUSH2 0xED3 JUMPI PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP6 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x1 DUP5 ADD PUSH1 0x20 MSTORE PUSH1 0x40 DUP2 KECCAK256 DUP1 SLOAD DUP4 SWAP1 DUP2 LT PUSH2 0xDD2 JUMPI INVALID JUMPDEST PUSH1 0x0 SWAP2 DUP3 MSTORE PUSH1 0x20 DUP1 DUP4 KECCAK256 PUSH1 0x8 DUP4 DIV ADD SLOAD PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP11 AND DUP5 MSTORE PUSH1 0x1 DUP9 ADD SWAP1 SWAP2 MSTORE PUSH1 0x40 SWAP1 SWAP3 KECCAK256 DUP1 SLOAD PUSH1 0x7 SWAP1 SWAP3 AND PUSH1 0x4 MUL PUSH2 0x100 EXP SWAP1 SWAP3 DIV PUSH1 0xE0 SHL SWAP3 POP DUP3 SWAP2 SWAP1 DUP6 SWAP1 DUP2 LT PUSH2 0xE2A JUMPI INVALID JUMPDEST PUSH1 0x0 SWAP2 DUP3 MSTORE PUSH1 0x20 DUP1 DUP4 KECCAK256 PUSH1 0x8 DUP4 DIV ADD DUP1 SLOAD PUSH4 0xFFFFFFFF PUSH1 0x7 SWAP1 SWAP5 AND PUSH1 0x4 MUL PUSH2 0x100 EXP SWAP4 DUP5 MUL NOT AND PUSH1 0xE0 SWAP6 SWAP1 SWAP6 SHR SWAP3 SWAP1 SWAP3 MUL SWAP4 SWAP1 SWAP4 OR SWAP1 SSTORE PUSH32 0xFFFFFFFF00000000000000000000000000000000000000000000000000000000 SWAP3 SWAP1 SWAP3 AND DUP3 MSTORE DUP5 SWAP1 MSTORE PUSH1 0x40 SWAP1 KECCAK256 DUP1 SLOAD PUSH32 0xFFFFFFFFFFFFFFFFFFFF0000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH21 0x10000000000000000000000000000000000000000 PUSH2 0xFFFF DUP6 AND MUL OR SWAP1 SSTORE JUMPDEST PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP6 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x1 DUP5 ADD PUSH1 0x20 MSTORE PUSH1 0x40 SWAP1 KECCAK256 DUP1 SLOAD DUP1 PUSH2 0xF03 JUMPI INVALID JUMPDEST PUSH1 0x0 DUP3 DUP2 MSTORE PUSH1 0x20 DUP1 DUP3 KECCAK256 PUSH1 0x8 PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF SWAP1 SWAP5 ADD SWAP4 DUP5 DIV ADD DUP1 SLOAD PUSH4 0xFFFFFFFF PUSH1 0x4 PUSH1 0x7 DUP8 AND MUL PUSH2 0x100 EXP MUL NOT AND SWAP1 SSTORE SWAP2 SWAP1 SWAP3 SSTORE PUSH32 0xFFFFFFFF00000000000000000000000000000000000000000000000000000000 DUP7 AND DUP3 MSTORE DUP5 SWAP1 MSTORE PUSH1 0x40 SWAP1 KECCAK256 DUP1 SLOAD PUSH32 0xFFFFFFFFFFFFFFFFFFFF00000000000000000000000000000000000000000000 AND SWAP1 SSTORE DUP1 PUSH2 0x97 JUMPI PUSH1 0x2 DUP4 ADD SLOAD PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP7 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x1 DUP6 DUP2 ADD PUSH1 0x20 MSTORE PUSH1 0x40 SWAP1 SWAP2 KECCAK256 ADD SLOAD PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF SWAP1 SWAP2 ADD SWAP1 PUSH2 0xFFFF AND DUP1 DUP3 EQ PUSH2 0x10DF JUMPI PUSH1 0x0 DUP6 PUSH1 0x2 ADD DUP4 DUP2 SLOAD DUP2 LT PUSH2 0x101A JUMPI INVALID JUMPDEST PUSH1 0x0 SWAP2 DUP3 MSTORE PUSH1 0x20 SWAP1 SWAP2 KECCAK256 ADD SLOAD PUSH1 0x2 DUP8 ADD DUP1 SLOAD PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF SWAP1 SWAP3 AND SWAP3 POP DUP3 SWAP2 DUP5 SWAP1 DUP2 LT PUSH2 0x1052 JUMPI INVALID JUMPDEST PUSH1 0x0 SWAP2 DUP3 MSTORE PUSH1 0x20 DUP1 DUP4 KECCAK256 SWAP2 SWAP1 SWAP2 ADD DUP1 SLOAD PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFF0000000000000000000000000000000000000000 AND PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF SWAP5 DUP6 AND OR SWAP1 SSTORE SWAP3 SWAP1 SWAP2 AND DUP2 MSTORE PUSH1 0x1 DUP8 DUP2 ADD SWAP1 SWAP3 MSTORE PUSH1 0x40 SWAP1 KECCAK256 ADD DUP1 SLOAD PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF0000 AND PUSH2 0xFFFF DUP4 AND OR SWAP1 SSTORE JUMPDEST DUP5 PUSH1 0x2 ADD DUP1 SLOAD DUP1 PUSH2 0x10EC JUMPI INVALID JUMPDEST PUSH1 0x0 DUP3 DUP2 MSTORE PUSH1 0x20 DUP1 DUP3 KECCAK256 DUP4 ADD PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF SWAP1 DUP2 ADD DUP1 SLOAD PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFF0000000000000000000000000000000000000000 AND SWAP1 SSTORE SWAP1 SWAP3 ADD SWAP1 SWAP3 SSTORE PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP10 AND DUP3 MSTORE PUSH1 0x1 DUP8 DUP2 ADD SWAP1 SWAP2 MSTORE PUSH1 0x40 SWAP1 SWAP2 KECCAK256 ADD DUP1 SLOAD PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF0000 AND SWAP1 SSTORE POP POP POP POP POP POP POP JUMP JUMPDEST DUP1 CALLDATALOAD PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP2 AND DUP2 EQ PUSH2 0x11C2 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 DUP3 PUSH1 0x1F DUP4 ADD SLT PUSH2 0x11D7 JUMPI DUP1 DUP2 REVERT JUMPDEST DUP2 CALLDATALOAD PUSH1 0x20 PUSH2 0x11EC PUSH2 0x11E7 DUP4 PUSH2 0x1975 JUMP JUMPDEST PUSH2 0x1951 JUMP JUMPDEST DUP3 DUP2 MSTORE DUP2 DUP2 ADD SWAP1 DUP6 DUP4 ADD DUP4 DUP6 MUL DUP8 ADD DUP5 ADD DUP9 LT ISZERO PUSH2 0x1208 JUMPI DUP6 DUP7 REVERT JUMPDEST DUP6 JUMPDEST DUP6 DUP2 LT ISZERO PUSH2 0x1253 JUMPI DUP2 CALLDATALOAD PUSH32 0xFFFFFFFF00000000000000000000000000000000000000000000000000000000 DUP2 AND DUP2 EQ PUSH2 0x1241 JUMPI DUP8 DUP9 REVERT JUMPDEST DUP5 MSTORE SWAP3 DUP5 ADD SWAP3 SWAP1 DUP5 ADD SWAP1 PUSH1 0x1 ADD PUSH2 0x120A JUMP JUMPDEST POP SWAP1 SWAP8 SWAP7 POP POP POP POP POP POP POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x0 DUP1 PUSH1 0x0 PUSH1 0x60 DUP7 DUP9 SUB SLT ISZERO PUSH2 0x1277 JUMPI DUP1 DUP2 REVERT JUMPDEST DUP6 CALLDATALOAD PUSH8 0xFFFFFFFFFFFFFFFF DUP1 DUP3 GT ISZERO PUSH2 0x128E JUMPI DUP3 DUP4 REVERT JUMPDEST DUP2 DUP9 ADD SWAP2 POP DUP9 PUSH1 0x1F DUP4 ADD SLT PUSH2 0x12A1 JUMPI DUP3 DUP4 REVERT JUMPDEST DUP2 CALLDATALOAD DUP2 DUP2 GT ISZERO PUSH2 0x12AF JUMPI DUP4 DUP5 REVERT JUMPDEST PUSH1 0x20 DUP11 DUP2 DUP3 DUP5 MUL DUP7 ADD ADD GT ISZERO PUSH2 0x12C3 JUMPI DUP5 DUP6 REVERT JUMPDEST DUP1 DUP5 ADD SWAP9 POP DUP2 SWAP8 POP PUSH2 0x12D6 DUP2 DUP12 ADD PUSH2 0x119E JUMP JUMPDEST SWAP7 POP PUSH1 0x40 DUP11 ADD CALLDATALOAD SWAP4 POP DUP3 DUP5 GT ISZERO PUSH2 0x12EB JUMPI DUP5 DUP6 REVERT JUMPDEST DUP4 DUP11 ADD SWAP4 POP DUP11 PUSH1 0x1F DUP6 ADD SLT PUSH2 0x12FE JUMPI DUP5 DUP6 REVERT JUMPDEST DUP4 CALLDATALOAD SWAP2 POP DUP3 DUP3 GT ISZERO PUSH2 0x130E JUMPI DUP5 DUP6 REVERT JUMPDEST DUP11 DUP2 DUP4 DUP7 ADD ADD GT ISZERO PUSH2 0x131E JUMPI DUP5 DUP6 REVERT JUMPDEST SWAP8 SWAP11 SWAP7 SWAP10 POP SWAP5 SWAP8 POP POP SWAP1 SWAP5 ADD SWAP4 POP SWAP1 SWAP2 SWAP1 POP JUMP JUMPDEST PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND SWAP1 MSTORE JUMP JUMPDEST PUSH1 0x0 DUP2 MLOAD DUP1 DUP5 MSTORE PUSH2 0x1364 DUP2 PUSH1 0x20 DUP7 ADD PUSH1 0x20 DUP7 ADD PUSH2 0x1A54 JUMP JUMPDEST PUSH1 0x1F ADD PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFE0 AND SWAP3 SWAP1 SWAP3 ADD PUSH1 0x20 ADD SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP3 MLOAD PUSH2 0x13A8 DUP2 DUP5 PUSH1 0x20 DUP8 ADD PUSH2 0x1A54 JUMP JUMPDEST SWAP2 SWAP1 SWAP2 ADD SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x60 DUP1 DUP3 MSTORE DUP5 MLOAD DUP3 DUP3 ADD DUP2 SWAP1 MSTORE PUSH1 0x0 SWAP2 SWAP1 PUSH1 0x80 SWAP1 DUP2 DUP6 ADD SWAP1 PUSH1 0x20 DUP1 DUP3 MUL DUP8 ADD DUP5 ADD DUP2 DUP12 ADD DUP8 JUMPDEST DUP5 DUP2 LT ISZERO PUSH2 0x14AC JUMPI PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF80 DUP11 DUP5 SUB ADD DUP7 MSTORE DUP2 MLOAD DUP9 DUP5 ADD PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP3 MLOAD AND DUP6 MSTORE DUP6 DUP3 ADD MLOAD PUSH1 0x3 DUP2 LT PUSH2 0x1434 JUMPI INVALID JUMPDEST DUP6 DUP8 ADD MSTORE PUSH1 0x40 SWAP2 DUP3 ADD MLOAD SWAP2 DUP6 ADD DUP11 SWAP1 MSTORE DUP2 MLOAD SWAP1 DUP2 SWAP1 MSTORE SWAP1 DUP6 ADD SWAP1 DUP11 SWAP1 DUP10 DUP7 ADD SWAP1 JUMPDEST DUP1 DUP4 LT ISZERO PUSH2 0x1497 JUMPI DUP4 MLOAD PUSH32 0xFFFFFFFF00000000000000000000000000000000000000000000000000000000 AND DUP3 MSTORE SWAP3 DUP8 ADD SWAP3 PUSH1 0x1 SWAP3 SWAP1 SWAP3 ADD SWAP2 SWAP1 DUP8 ADD SWAP1 PUSH2 0x1455 JUMP JUMPDEST POP SWAP8 DUP7 ADD SWAP8 SWAP5 POP POP POP SWAP1 DUP4 ADD SWAP1 PUSH1 0x1 ADD PUSH2 0x13D8 JUMP JUMPDEST POP POP PUSH2 0x14BA DUP3 DUP10 ADD DUP12 PUSH2 0x1332 JUMP JUMPDEST DUP8 DUP2 SUB PUSH1 0x40 DUP10 ADD MSTORE PUSH2 0x14CC DUP2 DUP11 PUSH2 0x134C JUMP JUMPDEST SWAP12 SWAP11 POP POP POP POP POP POP POP POP POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 MSTORE PUSH2 0x14EE PUSH1 0x20 DUP4 ADD DUP5 PUSH2 0x134C JUMP JUMPDEST SWAP4 SWAP3 POP POP POP JUMP JUMPDEST PUSH1 0x20 DUP1 DUP3 MSTORE PUSH1 0x3C SWAP1 DUP3 ADD MSTORE PUSH32 0x4C69624469616D6F6E644375743A205F696E6974206973206164647265737328 PUSH1 0x40 DUP3 ADD MSTORE PUSH32 0x3029206275745F63616C6C64617461206973206E6F7420656D70747900000000 PUSH1 0x60 DUP3 ADD MSTORE PUSH1 0x80 ADD SWAP1 JUMP JUMPDEST PUSH1 0x20 DUP1 DUP3 MSTORE PUSH1 0x26 SWAP1 DUP3 ADD MSTORE PUSH32 0x4C69624469616D6F6E644375743A205F696E69742066756E6374696F6E207265 PUSH1 0x40 DUP3 ADD MSTORE PUSH32 0x7665727465640000000000000000000000000000000000000000000000000000 PUSH1 0x60 DUP3 ADD MSTORE PUSH1 0x80 ADD SWAP1 JUMP JUMPDEST PUSH1 0x20 DUP1 DUP3 MSTORE PUSH1 0x22 SWAP1 DUP3 ADD MSTORE PUSH32 0x4C69624469616D6F6E643A204D75737420626520636F6E7472616374206F776E PUSH1 0x40 DUP3 ADD MSTORE PUSH32 0x6572000000000000000000000000000000000000000000000000000000000000 PUSH1 0x60 DUP3 ADD MSTORE PUSH1 0x80 ADD SWAP1 JUMP JUMPDEST PUSH1 0x20 DUP1 DUP3 MSTORE PUSH1 0x2B SWAP1 DUP3 ADD MSTORE PUSH32 0x4C69624469616D6F6E644375743A204E6F2073656C6563746F727320696E2066 PUSH1 0x40 DUP3 ADD MSTORE PUSH32 0x6163657420746F20637574000000000000000000000000000000000000000000 PUSH1 0x60 DUP3 ADD MSTORE PUSH1 0x80 ADD SWAP1 JUMP JUMPDEST PUSH1 0x20 DUP1 DUP3 MSTORE PUSH1 0x37 SWAP1 DUP3 ADD MSTORE PUSH32 0x4C69624469616D6F6E644375743A2043616E27742072656D6F76652066756E63 PUSH1 0x40 DUP3 ADD MSTORE PUSH32 0x74696F6E207468617420646F65736E2774206578697374000000000000000000 PUSH1 0x60 DUP3 ADD MSTORE PUSH1 0x80 ADD SWAP1 JUMP JUMPDEST PUSH1 0x20 DUP1 DUP3 MSTORE PUSH1 0x27 SWAP1 DUP3 ADD MSTORE PUSH32 0x4C69624469616D6F6E644375743A20496E636F72726563742046616365744375 PUSH1 0x40 DUP3 ADD MSTORE PUSH32 0x74416374696F6E00000000000000000000000000000000000000000000000000 PUSH1 0x60 DUP3 ADD MSTORE PUSH1 0x80 ADD SWAP1 JUMP JUMPDEST PUSH1 0x20 DUP1 DUP3 MSTORE PUSH1 0x2C SWAP1 DUP3 ADD MSTORE PUSH32 0x4C69624469616D6F6E644375743A204164642066616365742063616E27742062 PUSH1 0x40 DUP3 ADD MSTORE PUSH32 0x6520616464726573732830290000000000000000000000000000000000000000 PUSH1 0x60 DUP3 ADD MSTORE PUSH1 0x80 ADD SWAP1 JUMP JUMPDEST PUSH1 0x20 DUP1 DUP3 MSTORE PUSH1 0x3D SWAP1 DUP3 ADD MSTORE PUSH32 0x4C69624469616D6F6E644375743A205F63616C6C6461746120697320656D7074 PUSH1 0x40 DUP3 ADD MSTORE PUSH32 0x7920627574205F696E6974206973206E6F742061646472657373283029000000 PUSH1 0x60 DUP3 ADD MSTORE PUSH1 0x80 ADD SWAP1 JUMP JUMPDEST PUSH1 0x20 DUP1 DUP3 MSTORE PUSH1 0x2E SWAP1 DUP3 ADD MSTORE PUSH32 0x4C69624469616D6F6E644375743A2043616E27742072656D6F766520696D6D75 PUSH1 0x40 DUP3 ADD MSTORE PUSH32 0x7461626C652066756E6374696F6E000000000000000000000000000000000000 PUSH1 0x60 DUP3 ADD MSTORE PUSH1 0x80 ADD SWAP1 JUMP JUMPDEST PUSH1 0x20 DUP1 DUP3 MSTORE PUSH1 0x35 SWAP1 DUP3 ADD MSTORE PUSH32 0x4C69624469616D6F6E644375743A2043616E2774206164642066756E6374696F PUSH1 0x40 DUP3 ADD MSTORE PUSH32 0x6E207468617420616C7265616479206578697374730000000000000000000000 PUSH1 0x60 DUP3 ADD MSTORE PUSH1 0x80 ADD SWAP1 JUMP JUMPDEST PUSH1 0x20 DUP1 DUP3 MSTORE PUSH1 0x38 SWAP1 DUP3 ADD MSTORE PUSH32 0x4C69624469616D6F6E644375743A2043616E2774207265706C6163652066756E PUSH1 0x40 DUP3 ADD MSTORE PUSH32 0x6374696F6E20776974682073616D652066756E6374696F6E0000000000000000 PUSH1 0x60 DUP3 ADD MSTORE PUSH1 0x80 ADD SWAP1 JUMP JUMPDEST PUSH1 0x20 DUP1 DUP3 MSTORE PUSH1 0x36 SWAP1 DUP3 ADD MSTORE PUSH32 0x4C69624469616D6F6E644375743A2052656D6F76652066616365742061646472 PUSH1 0x40 DUP3 ADD MSTORE PUSH32 0x657373206D757374206265206164647265737328302900000000000000000000 PUSH1 0x60 DUP3 ADD MSTORE PUSH1 0x80 ADD SWAP1 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP2 DUP2 ADD PUSH8 0xFFFFFFFFFFFFFFFF DUP2 GT DUP3 DUP3 LT OR ISZERO PUSH2 0x196D JUMPI INVALID JUMPDEST PUSH1 0x40 MSTORE SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH8 0xFFFFFFFFFFFFFFFF DUP3 GT ISZERO PUSH2 0x1989 JUMPI INVALID JUMPDEST POP PUSH1 0x20 SWAP1 DUP2 MUL ADD SWAP1 JUMP JUMPDEST PUSH1 0x0 PUSH2 0x19A1 PUSH2 0x11E7 DUP5 PUSH2 0x1975 JUMP JUMPDEST DUP4 DUP2 MSTORE PUSH1 0x20 DUP1 DUP3 ADD SWAP2 SWAP1 DUP5 DUP5 JUMPDEST DUP8 DUP2 LT ISZERO PUSH2 0x1A48 JUMPI DUP2 CALLDATALOAD DUP8 ADD PUSH1 0x60 DUP1 DUP3 CALLDATASIZE SUB SLT ISZERO PUSH2 0x19CA JUMPI DUP8 DUP9 REVERT JUMPDEST PUSH1 0x40 DUP1 MLOAD SWAP2 DUP3 ADD SWAP2 PUSH8 0xFFFFFFFFFFFFFFFF DUP1 DUP5 GT DUP3 DUP6 LT OR ISZERO PUSH2 0x19E9 JUMPI INVALID JUMPDEST DUP4 DUP4 MSTORE PUSH2 0x19F5 DUP6 PUSH2 0x119E JUMP JUMPDEST DUP3 MSTORE DUP8 DUP6 ADD CALLDATALOAD SWAP4 POP PUSH1 0x3 DUP5 LT PUSH2 0x1A09 JUMPI DUP11 DUP12 REVERT JUMPDEST DUP4 DUP9 DUP4 ADD MSTORE DUP3 DUP6 ADD CALLDATALOAD SWAP4 POP DUP1 DUP5 GT ISZERO PUSH2 0x1A20 JUMPI DUP11 DUP12 REVERT JUMPDEST POP PUSH2 0x1A2D CALLDATASIZE DUP5 DUP7 ADD PUSH2 0x11C7 JUMP JUMPDEST SWAP2 DUP2 ADD SWAP2 SWAP1 SWAP2 MSTORE DUP8 MSTORE POP POP SWAP4 DUP3 ADD SWAP4 SWAP1 DUP3 ADD SWAP1 PUSH1 0x1 ADD PUSH2 0x19AE JUMP JUMPDEST POP SWAP2 SWAP7 SWAP6 POP POP POP POP POP POP JUMP JUMPDEST PUSH1 0x0 JUMPDEST DUP4 DUP2 LT ISZERO PUSH2 0x1A6F JUMPI DUP2 DUP2 ADD MLOAD DUP4 DUP3 ADD MSTORE PUSH1 0x20 ADD PUSH2 0x1A57 JUMP JUMPDEST DUP4 DUP2 GT ISZERO PUSH2 0xA61 JUMPI POP POP PUSH1 0x0 SWAP2 ADD MSTORE JUMP INVALID 0x4C PUSH10 0x624469616D6F6E644375 PUSH21 0x3A205F696E6974206164647265737320686173206E PUSH16 0x20636F64654C69624469616D6F6E6443 PUSH22 0x743A204E657720666163657420686173206E6F20636F PUSH5 0x65A2646970 PUSH7 0x73582212201054 0xDE 0xC5 CALLDATACOPY 0xD9 POP LT STATICCALL PUSH29 0x5E1911DD66AF99CADAD1565CB9A7DC56139C3D2C40F164736F6C634300 SMOD MOD STOP CALLER ", - "sourceMap": "483:747:2:-:0;;;;;;;;;;;;;;;;;;;" + "opcodes": "PUSH1 0x80 PUSH1 0x40 MSTORE CALLVALUE DUP1 ISZERO PUSH2 0x10 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH2 0x1D16 DUP1 PUSH2 0x20 PUSH1 0x0 CODECOPY PUSH1 0x0 RETURN INVALID PUSH1 0x80 PUSH1 0x40 MSTORE CALLVALUE DUP1 ISZERO PUSH2 0x10 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH1 0x4 CALLDATASIZE LT PUSH2 0x2B JUMPI PUSH1 0x0 CALLDATALOAD PUSH1 0xE0 SHR DUP1 PUSH4 0x1F931C1C EQ PUSH2 0x30 JUMPI JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x43 PUSH2 0x3E CALLDATASIZE PUSH1 0x4 PUSH2 0x166F JUMP JUMPDEST PUSH2 0x45 JUMP JUMPDEST STOP JUMPDEST PUSH2 0x4D PUSH2 0x9E JUMP JUMPDEST PUSH2 0x97 PUSH2 0x5A DUP6 DUP8 PUSH2 0x17EC JUMP JUMPDEST DUP5 DUP5 DUP5 DUP1 DUP1 PUSH1 0x1F ADD PUSH1 0x20 DUP1 SWAP2 DIV MUL PUSH1 0x20 ADD PUSH1 0x40 MLOAD SWAP1 DUP2 ADD PUSH1 0x40 MSTORE DUP1 SWAP4 SWAP3 SWAP2 SWAP1 DUP2 DUP2 MSTORE PUSH1 0x20 ADD DUP4 DUP4 DUP1 DUP3 DUP5 CALLDATACOPY PUSH1 0x0 SWAP3 ADD SWAP2 SWAP1 SWAP2 MSTORE POP PUSH2 0x16E SWAP3 POP POP POP JUMP JUMPDEST POP POP POP POP POP JUMP JUMPDEST PUSH32 0xC8FCAD8DB84D3CC18B4C41D551EA0EE66DD599CDE068D998E57D5E09332C131C PUSH1 0x4 ADD SLOAD PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND CALLER EQ PUSH2 0x16C JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x22 PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x4C69624469616D6F6E643A204D75737420626520636F6E7472616374206F776E PUSH1 0x44 DUP3 ADD MSTORE PUSH32 0x6572000000000000000000000000000000000000000000000000000000000000 PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 ADD JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST JUMP JUMPDEST PUSH1 0x0 JUMPDEST DUP4 MLOAD DUP2 LT ISZERO PUSH2 0x367 JUMPI PUSH1 0x0 DUP5 DUP3 DUP2 MLOAD DUP2 LT PUSH2 0x18E JUMPI PUSH2 0x18E PUSH2 0x1948 JUMP JUMPDEST PUSH1 0x20 MUL PUSH1 0x20 ADD ADD MLOAD PUSH1 0x20 ADD MLOAD SWAP1 POP PUSH1 0x0 PUSH1 0x2 DUP2 GT ISZERO PUSH2 0x1AF JUMPI PUSH2 0x1AF PUSH2 0x1977 JUMP JUMPDEST DUP2 PUSH1 0x2 DUP2 GT ISZERO PUSH2 0x1C1 JUMPI PUSH2 0x1C1 PUSH2 0x1977 JUMP JUMPDEST EQ ISZERO PUSH2 0x210 JUMPI PUSH2 0x20B DUP6 DUP4 DUP2 MLOAD DUP2 LT PUSH2 0x1DC JUMPI PUSH2 0x1DC PUSH2 0x1948 JUMP JUMPDEST PUSH1 0x20 MUL PUSH1 0x20 ADD ADD MLOAD PUSH1 0x0 ADD MLOAD DUP7 DUP5 DUP2 MLOAD DUP2 LT PUSH2 0x1FA JUMPI PUSH2 0x1FA PUSH2 0x1948 JUMP JUMPDEST PUSH1 0x20 MUL PUSH1 0x20 ADD ADD MLOAD PUSH1 0x40 ADD MLOAD PUSH2 0x3B2 JUMP JUMPDEST PUSH2 0x354 JUMP JUMPDEST PUSH1 0x1 DUP2 PUSH1 0x2 DUP2 GT ISZERO PUSH2 0x224 JUMPI PUSH2 0x224 PUSH2 0x1977 JUMP JUMPDEST EQ ISZERO PUSH2 0x26E JUMPI PUSH2 0x20B DUP6 DUP4 DUP2 MLOAD DUP2 LT PUSH2 0x23F JUMPI PUSH2 0x23F PUSH2 0x1948 JUMP JUMPDEST PUSH1 0x20 MUL PUSH1 0x20 ADD ADD MLOAD PUSH1 0x0 ADD MLOAD DUP7 DUP5 DUP2 MLOAD DUP2 LT PUSH2 0x25D JUMPI PUSH2 0x25D PUSH2 0x1948 JUMP JUMPDEST PUSH1 0x20 MUL PUSH1 0x20 ADD ADD MLOAD PUSH1 0x40 ADD MLOAD PUSH2 0x75E JUMP JUMPDEST PUSH1 0x2 DUP2 PUSH1 0x2 DUP2 GT ISZERO PUSH2 0x282 JUMPI PUSH2 0x282 PUSH2 0x1977 JUMP JUMPDEST EQ ISZERO PUSH2 0x2CC JUMPI PUSH2 0x20B DUP6 DUP4 DUP2 MLOAD DUP2 LT PUSH2 0x29D JUMPI PUSH2 0x29D PUSH2 0x1948 JUMP JUMPDEST PUSH1 0x20 MUL PUSH1 0x20 ADD ADD MLOAD PUSH1 0x0 ADD MLOAD DUP7 DUP5 DUP2 MLOAD DUP2 LT PUSH2 0x2BB JUMPI PUSH2 0x2BB PUSH2 0x1948 JUMP JUMPDEST PUSH1 0x20 MUL PUSH1 0x20 ADD ADD MLOAD PUSH1 0x40 ADD MLOAD PUSH2 0xB1B JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x27 PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x4C69624469616D6F6E644375743A20496E636F72726563742046616365744375 PUSH1 0x44 DUP3 ADD MSTORE PUSH32 0x74416374696F6E00000000000000000000000000000000000000000000000000 PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 ADD PUSH2 0x163 JUMP JUMPDEST POP DUP1 PUSH2 0x35F DUP2 PUSH2 0x19D5 JUMP JUMPDEST SWAP2 POP POP PUSH2 0x171 JUMP JUMPDEST POP PUSH32 0x8FAA70878671CCD212D20771B795C50AF8FD3FF6CF27F4BDE57E5D4DE0AEB673 DUP4 DUP4 DUP4 PUSH1 0x40 MLOAD PUSH2 0x39B SWAP4 SWAP3 SWAP2 SWAP1 PUSH2 0x1A84 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 LOG1 PUSH2 0x3AD DUP3 DUP3 PUSH2 0xD0E JUMP JUMPDEST POP POP POP JUMP JUMPDEST PUSH1 0x0 DUP2 MLOAD GT PUSH2 0x443 JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x2B PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x4C69624469616D6F6E644375743A204E6F2073656C6563746F727320696E2066 PUSH1 0x44 DUP3 ADD MSTORE PUSH32 0x6163657420746F20637574000000000000000000000000000000000000000000 PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 ADD PUSH2 0x163 JUMP JUMPDEST PUSH32 0xC8FCAD8DB84D3CC18B4C41D551EA0EE66DD599CDE068D998E57D5E09332C131C PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP4 AND PUSH2 0x507 JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x2C PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x4C69624469616D6F6E644375743A204164642066616365742063616E27742062 PUSH1 0x44 DUP3 ADD MSTORE PUSH32 0x6520616464726573732830290000000000000000000000000000000000000000 PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 ADD PUSH2 0x163 JUMP JUMPDEST PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP4 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x1 DUP3 ADD PUSH1 0x20 MSTORE PUSH1 0x40 SWAP1 KECCAK256 SLOAD PUSH12 0xFFFFFFFFFFFFFFFFFFFFFFFF DUP2 AND PUSH2 0x54C JUMPI PUSH2 0x54C DUP3 DUP6 PUSH2 0xFC1 JUMP JUMPDEST PUSH1 0x0 JUMPDEST DUP4 MLOAD DUP2 LT ISZERO PUSH2 0x97 JUMPI PUSH1 0x0 DUP5 DUP3 DUP2 MLOAD DUP2 LT PUSH2 0x56C JUMPI PUSH2 0x56C PUSH2 0x1948 JUMP JUMPDEST PUSH1 0x20 SWAP1 DUP2 MUL SWAP2 SWAP1 SWAP2 ADD DUP2 ADD MLOAD PUSH32 0xFFFFFFFF00000000000000000000000000000000000000000000000000000000 DUP2 AND PUSH1 0x0 SWAP1 DUP2 MSTORE SWAP2 DUP7 SWAP1 MSTORE PUSH1 0x40 SWAP1 SWAP2 KECCAK256 SLOAD SWAP1 SWAP2 POP PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP1 ISZERO PUSH2 0x651 JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x35 PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x4C69624469616D6F6E644375743A2043616E2774206164642066756E6374696F PUSH1 0x44 DUP3 ADD MSTORE PUSH32 0x6E207468617420616C7265616479206578697374730000000000000000000000 PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 ADD PUSH2 0x163 JUMP JUMPDEST PUSH32 0xFFFFFFFF00000000000000000000000000000000000000000000000000000000 DUP3 AND PUSH1 0x0 DUP2 DUP2 MSTORE PUSH1 0x20 DUP8 DUP2 MSTORE PUSH1 0x40 DUP1 DUP4 KECCAK256 DUP1 SLOAD PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF SWAP1 DUP2 AND PUSH21 0x10000000000000000000000000000000000000000 PUSH12 0xFFFFFFFFFFFFFFFFFFFFFFFF DUP13 AND MUL OR DUP3 SSTORE DUP13 AND DUP1 DUP6 MSTORE PUSH1 0x1 DUP1 DUP13 ADD DUP6 MSTORE SWAP3 DUP6 KECCAK256 DUP1 SLOAD SWAP4 DUP5 ADD DUP2 SSTORE DUP6 MSTORE DUP4 DUP6 KECCAK256 PUSH1 0x8 DUP5 DIV ADD DUP1 SLOAD PUSH4 0xFFFFFFFF PUSH1 0x7 SWAP1 SWAP6 AND PUSH1 0x4 MUL PUSH2 0x100 EXP SWAP5 DUP6 MUL NOT AND PUSH1 0xE0 DUP11 SWAP1 SHR SWAP5 SWAP1 SWAP5 MUL SWAP4 SWAP1 SWAP4 OR SWAP1 SWAP3 SSTORE SWAP4 SWAP1 SWAP3 MSTORE DUP8 SWAP1 MSTORE DUP2 SLOAD PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFF0000000000000000000000000000000000000000 AND OR SWAP1 SSTORE DUP4 PUSH2 0x746 DUP2 PUSH2 0x1BEC JUMP JUMPDEST SWAP5 POP POP POP POP DUP1 DUP1 PUSH2 0x756 SWAP1 PUSH2 0x19D5 JUMP JUMPDEST SWAP2 POP POP PUSH2 0x54F JUMP JUMPDEST PUSH1 0x0 DUP2 MLOAD GT PUSH2 0x7EF JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x2B PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x4C69624469616D6F6E644375743A204E6F2073656C6563746F727320696E2066 PUSH1 0x44 DUP3 ADD MSTORE PUSH32 0x6163657420746F20637574000000000000000000000000000000000000000000 PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 ADD PUSH2 0x163 JUMP JUMPDEST PUSH32 0xC8FCAD8DB84D3CC18B4C41D551EA0EE66DD599CDE068D998E57D5E09332C131C PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP4 AND PUSH2 0x8B3 JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x2C PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x4C69624469616D6F6E644375743A204164642066616365742063616E27742062 PUSH1 0x44 DUP3 ADD MSTORE PUSH32 0x6520616464726573732830290000000000000000000000000000000000000000 PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 ADD PUSH2 0x163 JUMP JUMPDEST PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP4 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x1 DUP3 ADD PUSH1 0x20 MSTORE PUSH1 0x40 SWAP1 KECCAK256 SLOAD PUSH12 0xFFFFFFFFFFFFFFFFFFFFFFFF DUP2 AND PUSH2 0x8F8 JUMPI PUSH2 0x8F8 DUP3 DUP6 PUSH2 0xFC1 JUMP JUMPDEST PUSH1 0x0 JUMPDEST DUP4 MLOAD DUP2 LT ISZERO PUSH2 0x97 JUMPI PUSH1 0x0 DUP5 DUP3 DUP2 MLOAD DUP2 LT PUSH2 0x918 JUMPI PUSH2 0x918 PUSH2 0x1948 JUMP JUMPDEST PUSH1 0x20 SWAP1 DUP2 MUL SWAP2 SWAP1 SWAP2 ADD DUP2 ADD MLOAD PUSH32 0xFFFFFFFF00000000000000000000000000000000000000000000000000000000 DUP2 AND PUSH1 0x0 SWAP1 DUP2 MSTORE SWAP2 DUP7 SWAP1 MSTORE PUSH1 0x40 SWAP1 SWAP2 KECCAK256 SLOAD SWAP1 SWAP2 POP PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF SWAP1 DUP2 AND SWAP1 DUP8 AND DUP2 EQ ISZERO PUSH2 0xA03 JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x38 PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x4C69624469616D6F6E644375743A2043616E2774207265706C6163652066756E PUSH1 0x44 DUP3 ADD MSTORE PUSH32 0x6374696F6E20776974682073616D652066756E6374696F6E0000000000000000 PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 ADD PUSH2 0x163 JUMP JUMPDEST PUSH2 0xA0E DUP6 DUP3 DUP5 PUSH2 0x1050 JUMP JUMPDEST PUSH32 0xFFFFFFFF00000000000000000000000000000000000000000000000000000000 DUP3 AND PUSH1 0x0 DUP2 DUP2 MSTORE PUSH1 0x20 DUP8 DUP2 MSTORE PUSH1 0x40 DUP1 DUP4 KECCAK256 DUP1 SLOAD PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF SWAP1 DUP2 AND PUSH21 0x10000000000000000000000000000000000000000 PUSH12 0xFFFFFFFFFFFFFFFFFFFFFFFF DUP13 AND MUL OR DUP3 SSTORE DUP13 AND DUP1 DUP6 MSTORE PUSH1 0x1 DUP1 DUP13 ADD DUP6 MSTORE SWAP3 DUP6 KECCAK256 DUP1 SLOAD SWAP4 DUP5 ADD DUP2 SSTORE DUP6 MSTORE DUP4 DUP6 KECCAK256 PUSH1 0x8 DUP5 DIV ADD DUP1 SLOAD PUSH4 0xFFFFFFFF PUSH1 0x7 SWAP1 SWAP6 AND PUSH1 0x4 MUL PUSH2 0x100 EXP SWAP5 DUP6 MUL NOT AND PUSH1 0xE0 DUP11 SWAP1 SHR SWAP5 SWAP1 SWAP5 MUL SWAP4 SWAP1 SWAP4 OR SWAP1 SWAP3 SSTORE SWAP4 SWAP1 SWAP3 MSTORE DUP8 SWAP1 MSTORE DUP2 SLOAD PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFF0000000000000000000000000000000000000000 AND OR SWAP1 SSTORE DUP4 PUSH2 0xB03 DUP2 PUSH2 0x1BEC JUMP JUMPDEST SWAP5 POP POP POP POP DUP1 DUP1 PUSH2 0xB13 SWAP1 PUSH2 0x19D5 JUMP JUMPDEST SWAP2 POP POP PUSH2 0x8FB JUMP JUMPDEST PUSH1 0x0 DUP2 MLOAD GT PUSH2 0xBAC JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x2B PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x4C69624469616D6F6E644375743A204E6F2073656C6563746F727320696E2066 PUSH1 0x44 DUP3 ADD MSTORE PUSH32 0x6163657420746F20637574000000000000000000000000000000000000000000 PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 ADD PUSH2 0x163 JUMP JUMPDEST PUSH32 0xC8FCAD8DB84D3CC18B4C41D551EA0EE66DD599CDE068D998E57D5E09332C131C PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP4 AND ISZERO PUSH2 0xC71 JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x36 PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x4C69624469616D6F6E644375743A2052656D6F76652066616365742061646472 PUSH1 0x44 DUP3 ADD MSTORE PUSH32 0x657373206D757374206265206164647265737328302900000000000000000000 PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 ADD PUSH2 0x163 JUMP JUMPDEST PUSH1 0x0 JUMPDEST DUP3 MLOAD DUP2 LT ISZERO PUSH2 0xD08 JUMPI PUSH1 0x0 DUP4 DUP3 DUP2 MLOAD DUP2 LT PUSH2 0xC91 JUMPI PUSH2 0xC91 PUSH2 0x1948 JUMP JUMPDEST PUSH1 0x20 SWAP1 DUP2 MUL SWAP2 SWAP1 SWAP2 ADD DUP2 ADD MLOAD PUSH32 0xFFFFFFFF00000000000000000000000000000000000000000000000000000000 DUP2 AND PUSH1 0x0 SWAP1 DUP2 MSTORE SWAP2 DUP6 SWAP1 MSTORE PUSH1 0x40 SWAP1 SWAP2 KECCAK256 SLOAD SWAP1 SWAP2 POP PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH2 0xCF3 DUP5 DUP3 DUP5 PUSH2 0x1050 JUMP JUMPDEST POP POP DUP1 DUP1 PUSH2 0xD00 SWAP1 PUSH2 0x19D5 JUMP JUMPDEST SWAP2 POP POP PUSH2 0xC74 JUMP JUMPDEST POP POP POP POP JUMP JUMPDEST PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP3 AND PUSH2 0xDBC JUMPI DUP1 MLOAD ISZERO PUSH2 0xDB8 JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x3C PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x4C69624469616D6F6E644375743A205F696E6974206973206164647265737328 PUSH1 0x44 DUP3 ADD MSTORE PUSH32 0x3029206275745F63616C6C64617461206973206E6F7420656D70747900000000 PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 ADD PUSH2 0x163 JUMP JUMPDEST POP POP JUMP JUMPDEST PUSH1 0x0 DUP2 MLOAD GT PUSH2 0xE4D JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x3D PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x4C69624469616D6F6E644375743A205F63616C6C6461746120697320656D7074 PUSH1 0x44 DUP3 ADD MSTORE PUSH32 0x7920627574205F696E6974206973206E6F742061646472657373283029000000 PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 ADD PUSH2 0x163 JUMP JUMPDEST PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP3 AND ADDRESS EQ PUSH2 0xE8C JUMPI PUSH2 0xE8C DUP3 PUSH1 0x40 MLOAD DUP1 PUSH1 0x60 ADD PUSH1 0x40 MSTORE DUP1 PUSH1 0x28 DUP2 MSTORE PUSH1 0x20 ADD PUSH2 0x1C95 PUSH1 0x28 SWAP2 CODECOPY PUSH2 0x15C2 JUMP JUMPDEST PUSH1 0x0 DUP1 DUP4 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP4 PUSH1 0x40 MLOAD PUSH2 0xEB4 SWAP2 SWAP1 PUSH2 0x1C18 JUMP JUMPDEST PUSH1 0x0 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP6 GAS DELEGATECALL SWAP2 POP POP RETURNDATASIZE DUP1 PUSH1 0x0 DUP2 EQ PUSH2 0xEEF JUMPI PUSH1 0x40 MLOAD SWAP2 POP PUSH1 0x1F NOT PUSH1 0x3F RETURNDATASIZE ADD AND DUP3 ADD PUSH1 0x40 MSTORE RETURNDATASIZE DUP3 MSTORE RETURNDATASIZE PUSH1 0x0 PUSH1 0x20 DUP5 ADD RETURNDATACOPY PUSH2 0xEF4 JUMP JUMPDEST PUSH1 0x60 SWAP2 POP JUMPDEST POP SWAP2 POP SWAP2 POP DUP2 PUSH2 0xD08 JUMPI DUP1 MLOAD ISZERO PUSH2 0xF39 JUMPI DUP1 PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x163 SWAP2 SWAP1 PUSH2 0x1C34 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x26 PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x4C69624469616D6F6E644375743A205F696E69742066756E6374696F6E207265 PUSH1 0x44 DUP3 ADD MSTORE PUSH32 0x7665727465640000000000000000000000000000000000000000000000000000 PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 ADD PUSH2 0x163 JUMP JUMPDEST PUSH2 0xFE3 DUP2 PUSH1 0x40 MLOAD DUP1 PUSH1 0x60 ADD PUSH1 0x40 MSTORE DUP1 PUSH1 0x24 DUP2 MSTORE PUSH1 0x20 ADD PUSH2 0x1CBD PUSH1 0x24 SWAP2 CODECOPY PUSH2 0x15C2 JUMP JUMPDEST PUSH1 0x2 DUP3 ADD DUP1 SLOAD PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF SWAP1 SWAP3 AND PUSH1 0x0 DUP2 DUP2 MSTORE PUSH1 0x1 SWAP5 DUP6 ADD PUSH1 0x20 SWAP1 DUP2 MSTORE PUSH1 0x40 DUP3 KECCAK256 DUP7 ADD DUP6 SWAP1 SSTORE SWAP5 DUP5 ADD DUP4 SSTORE SWAP2 DUP3 MSTORE SWAP3 SWAP1 KECCAK256 ADD DUP1 SLOAD PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFF0000000000000000000000000000000000000000 AND SWAP1 SWAP2 OR SWAP1 SSTORE JUMP JUMPDEST PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP3 AND PUSH2 0x10F3 JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x37 PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x4C69624469616D6F6E644375743A2043616E27742072656D6F76652066756E63 PUSH1 0x44 DUP3 ADD MSTORE PUSH32 0x74696F6E207468617420646F65736E2774206578697374000000000000000000 PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 ADD PUSH2 0x163 JUMP JUMPDEST PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP3 AND ADDRESS EQ ISZERO PUSH2 0x1199 JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x2E PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x4C69624469616D6F6E644375743A2043616E27742072656D6F766520696D6D75 PUSH1 0x44 DUP3 ADD MSTORE PUSH32 0x7461626C652066756E6374696F6E000000000000000000000000000000000000 PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 ADD PUSH2 0x163 JUMP JUMPDEST PUSH32 0xFFFFFFFF00000000000000000000000000000000000000000000000000000000 DUP2 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x20 DUP5 DUP2 MSTORE PUSH1 0x40 DUP1 DUP4 KECCAK256 SLOAD PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP7 AND DUP5 MSTORE PUSH1 0x1 DUP1 DUP9 ADD SWAP1 SWAP4 MSTORE SWAP1 DUP4 KECCAK256 SLOAD PUSH21 0x10000000000000000000000000000000000000000 SWAP1 SWAP2 DIV PUSH12 0xFFFFFFFFFFFFFFFFFFFFFFFF AND SWAP3 SWAP2 PUSH2 0x1223 SWAP2 PUSH2 0x1C4E JUMP JUMPDEST SWAP1 POP DUP1 DUP3 EQ PUSH2 0x136A JUMPI PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP5 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x1 DUP7 ADD PUSH1 0x20 MSTORE PUSH1 0x40 DUP2 KECCAK256 DUP1 SLOAD DUP4 SWAP1 DUP2 LT PUSH2 0x1265 JUMPI PUSH2 0x1265 PUSH2 0x1948 JUMP JUMPDEST PUSH1 0x0 SWAP2 DUP3 MSTORE PUSH1 0x20 DUP1 DUP4 KECCAK256 PUSH1 0x8 DUP4 DIV ADD SLOAD PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP10 AND DUP5 MSTORE PUSH1 0x1 DUP11 ADD SWAP1 SWAP2 MSTORE PUSH1 0x40 SWAP1 SWAP3 KECCAK256 DUP1 SLOAD PUSH1 0x7 SWAP1 SWAP3 AND PUSH1 0x4 MUL PUSH2 0x100 EXP SWAP1 SWAP3 DIV PUSH1 0xE0 SHL SWAP3 POP DUP3 SWAP2 SWAP1 DUP6 SWAP1 DUP2 LT PUSH2 0x12C3 JUMPI PUSH2 0x12C3 PUSH2 0x1948 JUMP JUMPDEST PUSH1 0x0 SWAP2 DUP3 MSTORE PUSH1 0x20 DUP1 DUP4 KECCAK256 PUSH1 0x8 DUP4 DIV ADD DUP1 SLOAD PUSH4 0xFFFFFFFF PUSH1 0x7 SWAP1 SWAP5 AND PUSH1 0x4 MUL PUSH2 0x100 EXP SWAP4 DUP5 MUL NOT AND PUSH1 0xE0 SWAP6 SWAP1 SWAP6 SHR SWAP3 SWAP1 SWAP3 MUL SWAP4 SWAP1 SWAP4 OR SWAP1 SSTORE PUSH32 0xFFFFFFFF00000000000000000000000000000000000000000000000000000000 SWAP3 SWAP1 SWAP3 AND DUP3 MSTORE DUP7 SWAP1 MSTORE PUSH1 0x40 SWAP1 KECCAK256 DUP1 SLOAD PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH21 0x10000000000000000000000000000000000000000 PUSH12 0xFFFFFFFFFFFFFFFFFFFFFFFF DUP6 AND MUL OR SWAP1 SSTORE JUMPDEST PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP5 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x1 DUP7 ADD PUSH1 0x20 MSTORE PUSH1 0x40 SWAP1 KECCAK256 DUP1 SLOAD DUP1 PUSH2 0x13A0 JUMPI PUSH2 0x13A0 PUSH2 0x1C65 JUMP JUMPDEST PUSH1 0x0 DUP3 DUP2 MSTORE PUSH1 0x20 DUP1 DUP3 KECCAK256 PUSH1 0x8 PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF SWAP1 SWAP5 ADD SWAP4 DUP5 DIV ADD DUP1 SLOAD PUSH4 0xFFFFFFFF PUSH1 0x4 PUSH1 0x7 DUP8 AND MUL PUSH2 0x100 EXP MUL NOT AND SWAP1 SSTORE SWAP2 SWAP1 SWAP3 SSTORE PUSH32 0xFFFFFFFF00000000000000000000000000000000000000000000000000000000 DUP6 AND DUP3 MSTORE DUP7 SWAP1 MSTORE PUSH1 0x40 DUP2 KECCAK256 SSTORE DUP1 PUSH2 0x97 JUMPI PUSH1 0x2 DUP6 ADD SLOAD PUSH1 0x0 SWAP1 PUSH2 0x1435 SWAP1 PUSH1 0x1 SWAP1 PUSH2 0x1C4E JUMP JUMPDEST PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP7 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x1 DUP1 DUP10 ADD PUSH1 0x20 MSTORE PUSH1 0x40 SWAP1 SWAP2 KECCAK256 ADD SLOAD SWAP1 SWAP2 POP DUP1 DUP3 EQ PUSH2 0x1523 JUMPI PUSH1 0x0 DUP8 PUSH1 0x2 ADD DUP4 DUP2 SLOAD DUP2 LT PUSH2 0x1481 JUMPI PUSH2 0x1481 PUSH2 0x1948 JUMP JUMPDEST PUSH1 0x0 SWAP2 DUP3 MSTORE PUSH1 0x20 SWAP1 SWAP2 KECCAK256 ADD SLOAD PUSH1 0x2 DUP10 ADD DUP1 SLOAD PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF SWAP1 SWAP3 AND SWAP3 POP DUP3 SWAP2 DUP5 SWAP1 DUP2 LT PUSH2 0x14BF JUMPI PUSH2 0x14BF PUSH2 0x1948 JUMP JUMPDEST PUSH1 0x0 SWAP2 DUP3 MSTORE PUSH1 0x20 DUP1 DUP4 KECCAK256 SWAP2 SWAP1 SWAP2 ADD DUP1 SLOAD PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFF0000000000000000000000000000000000000000 AND PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF SWAP5 DUP6 AND OR SWAP1 SSTORE SWAP3 SWAP1 SWAP2 AND DUP2 MSTORE PUSH1 0x1 DUP10 DUP2 ADD SWAP1 SWAP3 MSTORE PUSH1 0x40 SWAP1 KECCAK256 ADD DUP2 SWAP1 SSTORE JUMPDEST DUP7 PUSH1 0x2 ADD DUP1 SLOAD DUP1 PUSH2 0x1536 JUMPI PUSH2 0x1536 PUSH2 0x1C65 JUMP JUMPDEST PUSH1 0x0 DUP3 DUP2 MSTORE PUSH1 0x20 DUP1 DUP3 KECCAK256 DUP4 ADD PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF SWAP1 DUP2 ADD DUP1 SLOAD PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFF0000000000000000000000000000000000000000 AND SWAP1 SSTORE SWAP1 SWAP3 ADD SWAP1 SWAP3 SSTORE PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP9 AND DUP3 MSTORE PUSH1 0x1 DUP10 DUP2 ADD SWAP1 SWAP2 MSTORE PUSH1 0x40 DUP3 KECCAK256 ADD SSTORE POP POP POP POP POP POP POP JUMP JUMPDEST DUP2 EXTCODESIZE DUP2 DUP2 PUSH2 0xD08 JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x163 SWAP2 SWAP1 PUSH2 0x1C34 JUMP JUMPDEST DUP1 CALLDATALOAD PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP2 AND DUP2 EQ PUSH2 0x1621 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 DUP1 DUP4 PUSH1 0x1F DUP5 ADD SLT PUSH2 0x1638 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP DUP2 CALLDATALOAD PUSH8 0xFFFFFFFFFFFFFFFF DUP2 GT ISZERO PUSH2 0x1650 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x20 DUP4 ADD SWAP2 POP DUP4 PUSH1 0x20 DUP3 DUP6 ADD ADD GT ISZERO PUSH2 0x1668 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST SWAP3 POP SWAP3 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x0 DUP1 PUSH1 0x0 PUSH1 0x60 DUP7 DUP9 SUB SLT ISZERO PUSH2 0x1687 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP6 CALLDATALOAD PUSH8 0xFFFFFFFFFFFFFFFF DUP1 DUP3 GT ISZERO PUSH2 0x169F JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP2 DUP9 ADD SWAP2 POP DUP9 PUSH1 0x1F DUP4 ADD SLT PUSH2 0x16B3 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP2 CALLDATALOAD DUP2 DUP2 GT ISZERO PUSH2 0x16C2 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP10 PUSH1 0x20 DUP3 PUSH1 0x5 SHL DUP6 ADD ADD GT ISZERO PUSH2 0x16D7 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x20 DUP4 ADD SWAP8 POP DUP1 SWAP7 POP POP PUSH2 0x16ED PUSH1 0x20 DUP10 ADD PUSH2 0x15FD JUMP JUMPDEST SWAP5 POP PUSH1 0x40 DUP9 ADD CALLDATALOAD SWAP2 POP DUP1 DUP3 GT ISZERO PUSH2 0x1703 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH2 0x1710 DUP9 DUP3 DUP10 ADD PUSH2 0x1626 JUMP JUMPDEST SWAP7 SWAP10 SWAP6 SWAP9 POP SWAP4 SWAP7 POP SWAP3 SWAP5 SWAP4 SWAP3 POP POP POP JUMP JUMPDEST PUSH32 0x4E487B7100000000000000000000000000000000000000000000000000000000 PUSH1 0x0 MSTORE PUSH1 0x41 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST PUSH1 0x40 MLOAD PUSH1 0x60 DUP2 ADD PUSH8 0xFFFFFFFFFFFFFFFF DUP2 GT DUP3 DUP3 LT OR ISZERO PUSH2 0x1773 JUMPI PUSH2 0x1773 PUSH2 0x1721 JUMP JUMPDEST PUSH1 0x40 MSTORE SWAP1 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH1 0x1F DUP3 ADD PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFE0 AND DUP2 ADD PUSH8 0xFFFFFFFFFFFFFFFF DUP2 GT DUP3 DUP3 LT OR ISZERO PUSH2 0x17C0 JUMPI PUSH2 0x17C0 PUSH2 0x1721 JUMP JUMPDEST PUSH1 0x40 MSTORE SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH8 0xFFFFFFFFFFFFFFFF DUP3 GT ISZERO PUSH2 0x17E2 JUMPI PUSH2 0x17E2 PUSH2 0x1721 JUMP JUMPDEST POP PUSH1 0x5 SHL PUSH1 0x20 ADD SWAP1 JUMP JUMPDEST PUSH1 0x0 PUSH2 0x17FF PUSH2 0x17FA DUP5 PUSH2 0x17C8 JUMP JUMPDEST PUSH2 0x1779 JUMP JUMPDEST DUP4 DUP2 MSTORE PUSH1 0x20 DUP1 DUP3 ADD SWAP2 SWAP1 PUSH1 0x5 DUP7 DUP2 SHL DUP7 ADD CALLDATASIZE DUP2 GT ISZERO PUSH2 0x181D JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP7 JUMPDEST DUP2 DUP2 LT ISZERO PUSH2 0x193B JUMPI DUP1 CALLDATALOAD PUSH8 0xFFFFFFFFFFFFFFFF DUP1 DUP3 GT ISZERO PUSH2 0x1840 JUMPI PUSH1 0x0 DUP1 DUP2 REVERT JUMPDEST DUP2 DUP11 ADD SWAP2 POP PUSH1 0x60 DUP3 CALLDATASIZE SUB SLT ISZERO PUSH2 0x1856 JUMPI PUSH1 0x0 DUP1 DUP2 REVERT JUMPDEST PUSH2 0x185E PUSH2 0x1750 JUMP JUMPDEST PUSH2 0x1867 DUP4 PUSH2 0x15FD JUMP JUMPDEST DUP2 MSTORE DUP7 DUP4 ADD CALLDATALOAD PUSH1 0x3 DUP2 LT PUSH2 0x187B JUMPI PUSH1 0x0 DUP1 DUP2 REVERT JUMPDEST DUP2 DUP9 ADD MSTORE PUSH1 0x40 DUP4 DUP2 ADD CALLDATALOAD DUP4 DUP2 GT ISZERO PUSH2 0x1893 JUMPI PUSH1 0x0 DUP1 DUP2 REVERT JUMPDEST SWAP4 SWAP1 SWAP4 ADD SWAP3 CALLDATASIZE PUSH1 0x1F DUP6 ADD SLT PUSH2 0x18AA JUMPI PUSH1 0x0 SWAP3 POP DUP3 DUP4 REVERT JUMPDEST DUP4 CALLDATALOAD SWAP3 POP PUSH2 0x18BA PUSH2 0x17FA DUP5 PUSH2 0x17C8 JUMP JUMPDEST DUP4 DUP2 MSTORE SWAP3 DUP8 SHL DUP5 ADD DUP9 ADD SWAP3 DUP9 DUP2 ADD SWAP1 CALLDATASIZE DUP6 GT ISZERO PUSH2 0x18D7 JUMPI PUSH1 0x0 DUP1 DUP2 REVERT JUMPDEST SWAP5 DUP10 ADD SWAP5 JUMPDEST DUP5 DUP7 LT ISZERO PUSH2 0x1924 JUMPI DUP6 CALLDATALOAD PUSH32 0xFFFFFFFF00000000000000000000000000000000000000000000000000000000 DUP2 AND DUP2 EQ PUSH2 0x1915 JUMPI PUSH1 0x0 DUP1 DUP2 REVERT JUMPDEST DUP3 MSTORE SWAP5 DUP10 ADD SWAP5 SWAP1 DUP10 ADD SWAP1 PUSH2 0x18DC JUMP JUMPDEST SWAP2 DUP4 ADD SWAP2 SWAP1 SWAP2 MSTORE POP DUP9 MSTORE POP POP SWAP5 DUP4 ADD SWAP5 DUP4 ADD PUSH2 0x181F JUMP JUMPDEST POP SWAP3 SWAP8 SWAP7 POP POP POP POP POP POP POP JUMP JUMPDEST PUSH32 0x4E487B7100000000000000000000000000000000000000000000000000000000 PUSH1 0x0 MSTORE PUSH1 0x32 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST PUSH32 0x4E487B7100000000000000000000000000000000000000000000000000000000 PUSH1 0x0 MSTORE PUSH1 0x21 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST PUSH32 0x4E487B7100000000000000000000000000000000000000000000000000000000 PUSH1 0x0 MSTORE PUSH1 0x11 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST PUSH1 0x0 PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP3 EQ ISZERO PUSH2 0x1A07 JUMPI PUSH2 0x1A07 PUSH2 0x19A6 JUMP JUMPDEST POP PUSH1 0x1 ADD SWAP1 JUMP JUMPDEST PUSH1 0x0 JUMPDEST DUP4 DUP2 LT ISZERO PUSH2 0x1A29 JUMPI DUP2 DUP2 ADD MLOAD DUP4 DUP3 ADD MSTORE PUSH1 0x20 ADD PUSH2 0x1A11 JUMP JUMPDEST DUP4 DUP2 GT ISZERO PUSH2 0xD08 JUMPI POP POP PUSH1 0x0 SWAP2 ADD MSTORE JUMP JUMPDEST PUSH1 0x0 DUP2 MLOAD DUP1 DUP5 MSTORE PUSH2 0x1A52 DUP2 PUSH1 0x20 DUP7 ADD PUSH1 0x20 DUP7 ADD PUSH2 0x1A0E JUMP JUMPDEST PUSH1 0x1F ADD PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFE0 AND SWAP3 SWAP1 SWAP3 ADD PUSH1 0x20 ADD SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x60 DUP1 DUP4 ADD DUP2 DUP5 MSTORE DUP1 DUP8 MLOAD DUP1 DUP4 MSTORE PUSH1 0x80 SWAP3 POP DUP3 DUP7 ADD SWAP2 POP DUP3 DUP2 PUSH1 0x5 SHL DUP8 ADD ADD PUSH1 0x20 DUP1 DUP12 ADD PUSH1 0x0 JUMPDEST DUP5 DUP2 LT ISZERO PUSH2 0x1BAF JUMPI PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF80 DUP11 DUP6 SUB ADD DUP7 MSTORE DUP2 MLOAD DUP9 DUP6 ADD PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP3 MLOAD AND DUP7 MSTORE DUP5 DUP3 ADD MLOAD PUSH1 0x3 DUP2 LT PUSH2 0x1B36 JUMPI PUSH32 0x4E487B7100000000000000000000000000000000000000000000000000000000 PUSH1 0x0 MSTORE PUSH1 0x21 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST DUP7 DUP7 ADD MSTORE PUSH1 0x40 SWAP2 DUP3 ADD MLOAD SWAP2 DUP7 ADD DUP11 SWAP1 MSTORE DUP2 MLOAD SWAP1 DUP2 SWAP1 MSTORE SWAP1 DUP5 ADD SWAP1 PUSH1 0x0 SWAP1 DUP10 DUP8 ADD SWAP1 JUMPDEST DUP1 DUP4 LT ISZERO PUSH2 0x1B9A JUMPI DUP4 MLOAD PUSH32 0xFFFFFFFF00000000000000000000000000000000000000000000000000000000 AND DUP3 MSTORE SWAP3 DUP7 ADD SWAP3 PUSH1 0x1 SWAP3 SWAP1 SWAP3 ADD SWAP2 SWAP1 DUP7 ADD SWAP1 PUSH2 0x1B58 JUMP JUMPDEST POP SWAP8 DUP6 ADD SWAP8 SWAP6 POP POP POP SWAP1 DUP3 ADD SWAP1 PUSH1 0x1 ADD PUSH2 0x1AAD JUMP JUMPDEST POP POP PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP11 AND SWAP1 DUP9 ADD MSTORE DUP7 DUP2 SUB PUSH1 0x40 DUP9 ADD MSTORE PUSH2 0x1BDE DUP2 DUP10 PUSH2 0x1A3A JUMP JUMPDEST SWAP11 SWAP10 POP POP POP POP POP POP POP POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH12 0xFFFFFFFFFFFFFFFFFFFFFFFF DUP1 DUP4 AND DUP2 DUP2 EQ ISZERO PUSH2 0x1C0E JUMPI PUSH2 0x1C0E PUSH2 0x19A6 JUMP JUMPDEST PUSH1 0x1 ADD SWAP4 SWAP3 POP POP POP JUMP JUMPDEST PUSH1 0x0 DUP3 MLOAD PUSH2 0x1C2A DUP2 DUP5 PUSH1 0x20 DUP8 ADD PUSH2 0x1A0E JUMP JUMPDEST SWAP2 SWAP1 SWAP2 ADD SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x20 DUP2 MSTORE PUSH1 0x0 PUSH2 0x1C47 PUSH1 0x20 DUP4 ADD DUP5 PUSH2 0x1A3A JUMP JUMPDEST SWAP4 SWAP3 POP POP POP JUMP JUMPDEST PUSH1 0x0 DUP3 DUP3 LT ISZERO PUSH2 0x1C60 JUMPI PUSH2 0x1C60 PUSH2 0x19A6 JUMP JUMPDEST POP SUB SWAP1 JUMP JUMPDEST PUSH32 0x4E487B7100000000000000000000000000000000000000000000000000000000 PUSH1 0x0 MSTORE PUSH1 0x31 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT INVALID 0x4C PUSH10 0x624469616D6F6E644375 PUSH21 0x3A205F696E6974206164647265737320686173206E PUSH16 0x20636F64654C69624469616D6F6E6443 PUSH22 0x743A204E657720666163657420686173206E6F20636F PUSH5 0x65A2646970 PUSH7 0x7358221220E81A 0x29 DUP12 PUSH17 0x6AF5E6F506858188273BB2CE2567698530 SIGNEXTEND STATICCALL ADDMOD 0xAE PUSH2 0x105 0x1E 0xC9 0xBF PUSH5 0x736F6C6343 STOP ADDMOD MULMOD STOP CALLER ", + "sourceMap": "482:747:2:-:0;;;;;;;;;;;;;;;;;;;" }, "deployedBytecode": { + "functionDebugData": { + "@addFacet_1338": { + "entryPoint": 4033, + "id": 1338, + "parameterSlots": 2, + "returnSlots": 0 + }, + "@addFunction_1379": { + "entryPoint": null, + "id": 1379, + "parameterSlots": 4, + "returnSlots": 0 + }, + "@addFunctions_1136": { + "entryPoint": 946, + "id": 1136, + "parameterSlots": 2, + "returnSlots": 0 + }, + "@diamondCut_1035": { + "entryPoint": 366, + "id": 1035, + "parameterSlots": 3, + "returnSlots": 0 + }, + "@diamondCut_471": { + "entryPoint": 69, + "id": 471, + "parameterSlots": 5, + "returnSlots": 0 + }, + "@diamondStorage_861": { + "entryPoint": null, + "id": 861, + "parameterSlots": 0, + "returnSlots": 1 + }, + "@enforceHasContractCode_1642": { + "entryPoint": 5570, + "id": 1642, + "parameterSlots": 2, + "returnSlots": 0 + }, + "@enforceIsContractOwner_921": { + "entryPoint": 158, + "id": 921, + "parameterSlots": 0, + "returnSlots": 0 + }, + "@initializeDiamondCut_1623": { + "entryPoint": 3342, + "id": 1623, + "parameterSlots": 2, + "returnSlots": 0 + }, + "@removeFunction_1546": { + "entryPoint": 4176, + "id": 1546, + "parameterSlots": 3, + "returnSlots": 0 + }, + "@removeFunctions_1305": { + "entryPoint": 2843, + "id": 1305, + "parameterSlots": 2, + "returnSlots": 0 + }, + "@replaceFunctions_1240": { + "entryPoint": 1886, + "id": 1240, + "parameterSlots": 2, + "returnSlots": 0 + }, + "abi_decode_address": { + "entryPoint": 5629, + "id": null, + "parameterSlots": 1, + "returnSlots": 1 + }, + "abi_decode_bytes_calldata": { + "entryPoint": 5670, + "id": null, + "parameterSlots": 2, + "returnSlots": 2 + }, + "abi_decode_tuple_t_array$_t_struct$_FacetCut_$711_calldata_ptr_$dyn_calldata_ptrt_addresst_bytes_calldata_ptr": { + "entryPoint": 5743, + "id": null, + "parameterSlots": 2, + "returnSlots": 5 + }, + "abi_encode_address": { + "entryPoint": null, + "id": null, + "parameterSlots": 2, + "returnSlots": 0 + }, + "abi_encode_bytes": { + "entryPoint": 6714, + "id": null, + "parameterSlots": 2, + "returnSlots": 1 + }, + "abi_encode_tuple_packed_t_bytes_memory_ptr__to_t_bytes_memory_ptr__nonPadded_inplace_fromStack_reversed": { + "entryPoint": 7192, + "id": null, + "parameterSlots": 2, + "returnSlots": 1 + }, + "abi_encode_tuple_t_array$_t_struct$_FacetCut_$711_memory_ptr_$dyn_memory_ptr_t_address_t_bytes_memory_ptr__to_t_array$_t_struct$_FacetCut_$711_memory_ptr_$dyn_memory_ptr_t_address_t_bytes_memory_ptr__fromStack_reversed": { + "entryPoint": 6788, + "id": null, + "parameterSlots": 4, + "returnSlots": 1 + }, + "abi_encode_tuple_t_string_memory_ptr__to_t_string_memory_ptr__fromStack_reversed": { + "entryPoint": 7220, + "id": null, + "parameterSlots": 2, + "returnSlots": 1 + }, + "abi_encode_tuple_t_stringliteral_046c761a688d1dc3c500562bc5aaa3544f01f394f9bb3b69aa2a950a45afb1f8__to_t_string_memory_ptr__fromStack_reversed": { + "entryPoint": null, + "id": null, + "parameterSlots": 1, + "returnSlots": 1 + }, + "abi_encode_tuple_t_stringliteral_080b2fe78815767d522290509c8fce2af708c8a54455ca1b0cc978c92822465d__to_t_string_memory_ptr__fromStack_reversed": { + "entryPoint": null, + "id": null, + "parameterSlots": 1, + "returnSlots": 1 + }, + "abi_encode_tuple_t_stringliteral_0d4ae41009c51fd276653a54d7793c24f266ddc8c56ce21f8be5e2c6595ab3ac__to_t_string_memory_ptr__fromStack_reversed": { + "entryPoint": null, + "id": null, + "parameterSlots": 1, + "returnSlots": 1 + }, + "abi_encode_tuple_t_stringliteral_1ffc682bcfedefd5e93ba9ed0c2d1bc0b18319886e3b4bd28a03a3d3729f85c0__to_t_string_memory_ptr__fromStack_reversed": { + "entryPoint": null, + "id": null, + "parameterSlots": 1, + "returnSlots": 1 + }, + "abi_encode_tuple_t_stringliteral_2c590e498c4d56c984a7092fd5e89a68b9f4541ce9f97252fb74e44a00ffbb71__to_t_string_memory_ptr__fromStack_reversed": { + "entryPoint": null, + "id": null, + "parameterSlots": 1, + "returnSlots": 1 + }, + "abi_encode_tuple_t_stringliteral_48267d8daf5ea9c6bbad1fe9c53dc4c04a2a01b2b85bad432956cf42f45b2f54__to_t_string_memory_ptr__fromStack_reversed": { + "entryPoint": null, + "id": null, + "parameterSlots": 1, + "returnSlots": 1 + }, + "abi_encode_tuple_t_stringliteral_64609d8b93c93a06b98d7db7a87b04044cd4a52c5661d603bb9b90ad8b914a3a__to_t_string_memory_ptr__fromStack_reversed": { + "entryPoint": null, + "id": null, + "parameterSlots": 1, + "returnSlots": 1 + }, + "abi_encode_tuple_t_stringliteral_868d165ec2461661b624442252aed6a645399bfae7b60083a77ea1b61b084042__to_t_string_memory_ptr__fromStack_reversed": { + "entryPoint": null, + "id": null, + "parameterSlots": 1, + "returnSlots": 1 + }, + "abi_encode_tuple_t_stringliteral_8ba063dfaa4be2d2cbe73dbb1364728b0f7031ac048441d5fad19e9541992b21__to_t_string_memory_ptr__fromStack_reversed": { + "entryPoint": null, + "id": null, + "parameterSlots": 1, + "returnSlots": 1 + }, + "abi_encode_tuple_t_stringliteral_99a7418ee014d613f46da44561258cdbb58064508097483a319062b99fa37700__to_t_string_memory_ptr__fromStack_reversed": { + "entryPoint": null, + "id": null, + "parameterSlots": 1, + "returnSlots": 1 + }, + "abi_encode_tuple_t_stringliteral_b5a7112edf707196456f338fdcc19cd849be6cb8c0d166bcd035f4cfb00e7078__to_t_string_memory_ptr__fromStack_reversed": { + "entryPoint": null, + "id": null, + "parameterSlots": 1, + "returnSlots": 1 + }, + "abi_encode_tuple_t_stringliteral_b739aae768f79b96e91d9f66398733516895e39eb09ee54a795b49dcc77504d4__to_t_string_memory_ptr__fromStack_reversed": { + "entryPoint": null, + "id": null, + "parameterSlots": 1, + "returnSlots": 1 + }, + "allocate_memory": { + "entryPoint": 6009, + "id": null, + "parameterSlots": 1, + "returnSlots": 1 + }, + "allocate_memory_2940": { + "entryPoint": 5968, + "id": null, + "parameterSlots": 0, + "returnSlots": 1 + }, + "array_allocation_size_array_struct_FacetCut_dyn": { + "entryPoint": 6088, + "id": null, + "parameterSlots": 1, + "returnSlots": 1 + }, + "checked_sub_t_uint256": { + "entryPoint": 7246, + "id": null, + "parameterSlots": 2, + "returnSlots": 1 + }, + "convert_array_t_array$_t_struct$_FacetCut_$711_calldata_ptr_$dyn_calldata_ptr_to_t_array$_t_struct$_FacetCut_$711_memory_ptr_$dyn_memory_ptr": { + "entryPoint": 6124, + "id": null, + "parameterSlots": 2, + "returnSlots": 1 + }, + "copy_memory_to_memory": { + "entryPoint": 6670, + "id": null, + "parameterSlots": 3, + "returnSlots": 0 + }, + "increment_t_uint256": { + "entryPoint": 6613, + "id": null, + "parameterSlots": 1, + "returnSlots": 1 + }, + "increment_t_uint96": { + "entryPoint": 7148, + "id": null, + "parameterSlots": 1, + "returnSlots": 1 + }, + "panic_error_0x11": { + "entryPoint": 6566, + "id": null, + "parameterSlots": 0, + "returnSlots": 0 + }, + "panic_error_0x21": { + "entryPoint": 6519, + "id": null, + "parameterSlots": 0, + "returnSlots": 0 + }, + "panic_error_0x31": { + "entryPoint": 7269, + "id": null, + "parameterSlots": 0, + "returnSlots": 0 + }, + "panic_error_0x32": { + "entryPoint": 6472, + "id": null, + "parameterSlots": 0, + "returnSlots": 0 + }, + "panic_error_0x41": { + "entryPoint": 5921, + "id": null, + "parameterSlots": 0, + "returnSlots": 0 + } + }, "generatedSources": [ { "ast": { "nodeType": "YulBlock", - "src": "0:12649:10", + "src": "0:15149:11", "statements": [ { "nodeType": "YulBlock", - "src": "6:3:10", + "src": "6:3:11", "statements": [] }, { "body": { "nodeType": "YulBlock", - "src": "65:147:10", + "src": "63:147:11", "statements": [ { "nodeType": "YulAssignment", - "src": "75:29:10", + "src": "73:29:11", "value": { "arguments": [ { "name": "offset", "nodeType": "YulIdentifier", - "src": "97:6:10" + "src": "95:6:11" } ], "functionName": { "name": "calldataload", "nodeType": "YulIdentifier", - "src": "84:12:10" + "src": "82:12:11" }, "nodeType": "YulFunctionCall", - "src": "84:20:10" + "src": "82:20:11" }, "variableNames": [ { "name": "value", "nodeType": "YulIdentifier", - "src": "75:5:10" + "src": "73:5:11" } ] }, { "body": { "nodeType": "YulBlock", - "src": "190:16:10", + "src": "188:16:11", "statements": [ { "expression": { @@ -164,14 +437,14 @@ { "kind": "number", "nodeType": "YulLiteral", - "src": "199:1:10", + "src": "197:1:11", "type": "", "value": "0" }, { "kind": "number", "nodeType": "YulLiteral", - "src": "202:1:10", + "src": "200:1:11", "type": "", "value": "0" } @@ -179,13 +452,13 @@ "functionName": { "name": "revert", "nodeType": "YulIdentifier", - "src": "192:6:10" + "src": "190:6:11" }, "nodeType": "YulFunctionCall", - "src": "192:12:10" + "src": "190:12:11" }, "nodeType": "YulExpressionStatement", - "src": "192:12:10" + "src": "190:12:11" } ] }, @@ -196,19 +469,19 @@ { "name": "value", "nodeType": "YulIdentifier", - "src": "126:5:10" + "src": "124:5:11" }, { "arguments": [ { "name": "value", "nodeType": "YulIdentifier", - "src": "137:5:10" + "src": "135:5:11" }, { "kind": "number", "nodeType": "YulLiteral", - "src": "144:42:10", + "src": "142:42:11", "type": "", "value": "0xffffffffffffffffffffffffffffffffffffffff" } @@ -216,41 +489,41 @@ "functionName": { "name": "and", "nodeType": "YulIdentifier", - "src": "133:3:10" + "src": "131:3:11" }, "nodeType": "YulFunctionCall", - "src": "133:54:10" + "src": "131:54:11" } ], "functionName": { "name": "eq", "nodeType": "YulIdentifier", - "src": "123:2:10" + "src": "121:2:11" }, "nodeType": "YulFunctionCall", - "src": "123:65:10" + "src": "121:65:11" } ], "functionName": { "name": "iszero", "nodeType": "YulIdentifier", - "src": "116:6:10" + "src": "114:6:11" }, "nodeType": "YulFunctionCall", - "src": "116:73:10" + "src": "114:73:11" }, "nodeType": "YulIf", - "src": "113:2:10" + "src": "111:93:11" } ] }, - "name": "abi_decode_t_address", + "name": "abi_decode_address", "nodeType": "YulFunctionDefinition", "parameters": [ { "name": "offset", "nodeType": "YulTypedName", - "src": "44:6:10", + "src": "42:6:11", "type": "" } ], @@ -258,46 +531,50 @@ { "name": "value", "nodeType": "YulTypedName", - "src": "55:5:10", + "src": "53:5:11", "type": "" } ], - "src": "14:198:10" + "src": "14:196:11" }, { "body": { "nodeType": "YulBlock", - "src": "286:803:10", + "src": "287:275:11", "statements": [ { "body": { "nodeType": "YulBlock", - "src": "335:24:10", + "src": "336:16:11", "statements": [ { "expression": { "arguments": [ { - "name": "array", - "nodeType": "YulIdentifier", - "src": "344:5:10" + "kind": "number", + "nodeType": "YulLiteral", + "src": "345:1:11", + "type": "", + "value": "0" }, { - "name": "array", - "nodeType": "YulIdentifier", - "src": "351:5:10" + "kind": "number", + "nodeType": "YulLiteral", + "src": "348:1:11", + "type": "", + "value": "0" } ], "functionName": { "name": "revert", "nodeType": "YulIdentifier", - "src": "337:6:10" + "src": "338:6:11" }, "nodeType": "YulFunctionCall", - "src": "337:20:10" + "src": "338:12:11" }, "nodeType": "YulExpressionStatement", - "src": "337:20:10" + "src": "338:12:11" } ] }, @@ -310,12 +587,12 @@ { "name": "offset", "nodeType": "YulIdentifier", - "src": "314:6:10" + "src": "315:6:11" }, { "kind": "number", "nodeType": "YulLiteral", - "src": "322:4:10", + "src": "323:4:11", "type": "", "value": "0x1f" } @@ -323,259 +600,193 @@ "functionName": { "name": "add", "nodeType": "YulIdentifier", - "src": "310:3:10" + "src": "311:3:11" }, "nodeType": "YulFunctionCall", - "src": "310:17:10" + "src": "311:17:11" }, { "name": "end", "nodeType": "YulIdentifier", - "src": "329:3:10" + "src": "330:3:11" } ], "functionName": { "name": "slt", "nodeType": "YulIdentifier", - "src": "306:3:10" + "src": "307:3:11" }, "nodeType": "YulFunctionCall", - "src": "306:27:10" + "src": "307:27:11" } ], "functionName": { "name": "iszero", "nodeType": "YulIdentifier", - "src": "299:6:10" + "src": "300:6:11" }, "nodeType": "YulFunctionCall", - "src": "299:35:10" + "src": "300:35:11" }, "nodeType": "YulIf", - "src": "296:2:10" + "src": "297:55:11" }, { - "nodeType": "YulVariableDeclaration", - "src": "368:30:10", + "nodeType": "YulAssignment", + "src": "361:30:11", "value": { "arguments": [ { "name": "offset", "nodeType": "YulIdentifier", - "src": "391:6:10" + "src": "384:6:11" } ], "functionName": { "name": "calldataload", "nodeType": "YulIdentifier", - "src": "378:12:10" + "src": "371:12:11" }, "nodeType": "YulFunctionCall", - "src": "378:20:10" - }, - "variables": [ - { - "name": "_1", - "nodeType": "YulTypedName", - "src": "372:2:10", - "type": "" - } - ] - }, - { - "nodeType": "YulVariableDeclaration", - "src": "407:14:10", - "value": { - "kind": "number", - "nodeType": "YulLiteral", - "src": "417:4:10", - "type": "", - "value": "0x20" + "src": "371:20:11" }, - "variables": [ + "variableNames": [ { - "name": "_2", - "nodeType": "YulTypedName", - "src": "411:2:10", - "type": "" + "name": "length", + "nodeType": "YulIdentifier", + "src": "361:6:11" } ] }, { - "nodeType": "YulVariableDeclaration", - "src": "430:75:10", - "value": { - "arguments": [ + "body": { + "nodeType": "YulBlock", + "src": "434:16:11", + "statements": [ { - "arguments": [ - { - "name": "_1", + "expression": { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "443:1:11", + "type": "", + "value": "0" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "446:1:11", + "type": "", + "value": "0" + } + ], + "functionName": { + "name": "revert", "nodeType": "YulIdentifier", - "src": "501:2:10" - } - ], - "functionName": { - "name": "array_allocation_size_t_array$_t_bytes4_$dyn", - "nodeType": "YulIdentifier", - "src": "456:44:10" + "src": "436:6:11" + }, + "nodeType": "YulFunctionCall", + "src": "436:12:11" }, - "nodeType": "YulFunctionCall", - "src": "456:48:10" + "nodeType": "YulExpressionStatement", + "src": "436:12:11" } - ], - "functionName": { - "name": "allocateMemory", - "nodeType": "YulIdentifier", - "src": "441:14:10" - }, - "nodeType": "YulFunctionCall", - "src": "441:64:10" - }, - "variables": [ - { - "name": "dst", - "nodeType": "YulTypedName", - "src": "434:3:10", - "type": "" - } - ] - }, - { - "nodeType": "YulVariableDeclaration", - "src": "514:16:10", - "value": { - "name": "dst", - "nodeType": "YulIdentifier", - "src": "527:3:10" + ] }, - "variables": [ - { - "name": "dst_1", - "nodeType": "YulTypedName", - "src": "518:5:10", - "type": "" - } - ] - }, - { - "expression": { + "condition": { "arguments": [ { - "name": "dst", + "name": "length", "nodeType": "YulIdentifier", - "src": "546:3:10" + "src": "406:6:11" }, { - "name": "_1", - "nodeType": "YulIdentifier", - "src": "551:2:10" + "kind": "number", + "nodeType": "YulLiteral", + "src": "414:18:11", + "type": "", + "value": "0xffffffffffffffff" } ], "functionName": { - "name": "mstore", + "name": "gt", "nodeType": "YulIdentifier", - "src": "539:6:10" + "src": "403:2:11" }, "nodeType": "YulFunctionCall", - "src": "539:15:10" + "src": "403:30:11" }, - "nodeType": "YulExpressionStatement", - "src": "539:15:10" + "nodeType": "YulIf", + "src": "400:50:11" }, { "nodeType": "YulAssignment", - "src": "563:19:10", + "src": "459:29:11", "value": { "arguments": [ { - "name": "dst", + "name": "offset", "nodeType": "YulIdentifier", - "src": "574:3:10" + "src": "475:6:11" }, { - "name": "_2", - "nodeType": "YulIdentifier", - "src": "579:2:10" + "kind": "number", + "nodeType": "YulLiteral", + "src": "483:4:11", + "type": "", + "value": "0x20" } ], "functionName": { "name": "add", "nodeType": "YulIdentifier", - "src": "570:3:10" + "src": "471:3:11" }, "nodeType": "YulFunctionCall", - "src": "570:12:10" + "src": "471:17:11" }, "variableNames": [ { - "name": "dst", - "nodeType": "YulIdentifier", - "src": "563:3:10" - } - ] - }, - { - "nodeType": "YulVariableDeclaration", - "src": "591:26:10", - "value": { - "arguments": [ - { - "name": "offset", - "nodeType": "YulIdentifier", - "src": "606:6:10" - }, - { - "name": "_2", - "nodeType": "YulIdentifier", - "src": "614:2:10" - } - ], - "functionName": { - "name": "add", + "name": "arrayPos", "nodeType": "YulIdentifier", - "src": "602:3:10" - }, - "nodeType": "YulFunctionCall", - "src": "602:15:10" - }, - "variables": [ - { - "name": "src", - "nodeType": "YulTypedName", - "src": "595:3:10", - "type": "" + "src": "459:8:11" } ] }, { "body": { "nodeType": "YulBlock", - "src": "672:24:10", + "src": "540:16:11", "statements": [ { "expression": { "arguments": [ { - "name": "array", - "nodeType": "YulIdentifier", - "src": "681:5:10" + "kind": "number", + "nodeType": "YulLiteral", + "src": "549:1:11", + "type": "", + "value": "0" }, { - "name": "array", - "nodeType": "YulIdentifier", - "src": "688:5:10" + "kind": "number", + "nodeType": "YulLiteral", + "src": "552:1:11", + "type": "", + "value": "0" } ], "functionName": { "name": "revert", "nodeType": "YulIdentifier", - "src": "674:6:10" + "src": "542:6:11" }, "nodeType": "YulFunctionCall", - "src": "674:20:10" + "src": "542:12:11" }, "nodeType": "YulExpressionStatement", - "src": "674:20:10" + "src": "542:12:11" } ] }, @@ -588,442 +799,127 @@ { "name": "offset", "nodeType": "YulIdentifier", - "src": "640:6:10" + "src": "511:6:11" }, { - "arguments": [ - { - "name": "_1", - "nodeType": "YulIdentifier", - "src": "652:2:10" - }, - { - "name": "_2", - "nodeType": "YulIdentifier", - "src": "656:2:10" - } - ], - "functionName": { - "name": "mul", - "nodeType": "YulIdentifier", - "src": "648:3:10" - }, - "nodeType": "YulFunctionCall", - "src": "648:11:10" + "name": "length", + "nodeType": "YulIdentifier", + "src": "519:6:11" } ], "functionName": { "name": "add", "nodeType": "YulIdentifier", - "src": "636:3:10" + "src": "507:3:11" }, "nodeType": "YulFunctionCall", - "src": "636:24:10" + "src": "507:19:11" }, { - "name": "_2", - "nodeType": "YulIdentifier", - "src": "662:2:10" + "kind": "number", + "nodeType": "YulLiteral", + "src": "528:4:11", + "type": "", + "value": "0x20" } ], "functionName": { "name": "add", "nodeType": "YulIdentifier", - "src": "632:3:10" + "src": "503:3:11" }, "nodeType": "YulFunctionCall", - "src": "632:33:10" + "src": "503:30:11" }, { "name": "end", "nodeType": "YulIdentifier", - "src": "667:3:10" + "src": "535:3:11" } ], "functionName": { "name": "gt", "nodeType": "YulIdentifier", - "src": "629:2:10" + "src": "500:2:11" }, "nodeType": "YulFunctionCall", - "src": "629:42:10" + "src": "500:39:11" }, "nodeType": "YulIf", - "src": "626:2:10" - }, - { - "nodeType": "YulVariableDeclaration", - "src": "705:14:10", - "value": { - "name": "array", - "nodeType": "YulIdentifier", - "src": "714:5:10" - }, - "variables": [ - { - "name": "i", - "nodeType": "YulTypedName", - "src": "709:1:10", - "type": "" - } - ] - }, - { - "body": { - "nodeType": "YulBlock", - "src": "773:287:10", - "statements": [ - { - "nodeType": "YulVariableDeclaration", - "src": "787:30:10", - "value": { - "arguments": [ - { - "name": "src", - "nodeType": "YulIdentifier", - "src": "813:3:10" - } - ], - "functionName": { - "name": "calldataload", - "nodeType": "YulIdentifier", - "src": "800:12:10" - }, - "nodeType": "YulFunctionCall", - "src": "800:17:10" - }, - "variables": [ - { - "name": "value", - "nodeType": "YulTypedName", - "src": "791:5:10", - "type": "" - } - ] - }, - { - "body": { - "nodeType": "YulBlock", - "src": "931:24:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "name": "array", - "nodeType": "YulIdentifier", - "src": "940:5:10" - }, - { - "name": "array", - "nodeType": "YulIdentifier", - "src": "947:5:10" - } - ], - "functionName": { - "name": "revert", - "nodeType": "YulIdentifier", - "src": "933:6:10" - }, - "nodeType": "YulFunctionCall", - "src": "933:20:10" - }, - "nodeType": "YulExpressionStatement", - "src": "933:20:10" - } - ] - }, - "condition": { - "arguments": [ - { - "arguments": [ - { - "name": "value", - "nodeType": "YulIdentifier", - "src": "843:5:10" - }, - { - "arguments": [ - { - "name": "value", - "nodeType": "YulIdentifier", - "src": "854:5:10" - }, - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "861:66:10", - "type": "", - "value": "0xffffffff00000000000000000000000000000000000000000000000000000000" - } - ], - "functionName": { - "name": "and", - "nodeType": "YulIdentifier", - "src": "850:3:10" - }, - "nodeType": "YulFunctionCall", - "src": "850:78:10" - } - ], - "functionName": { - "name": "eq", - "nodeType": "YulIdentifier", - "src": "840:2:10" - }, - "nodeType": "YulFunctionCall", - "src": "840:89:10" - } - ], - "functionName": { - "name": "iszero", - "nodeType": "YulIdentifier", - "src": "833:6:10" - }, - "nodeType": "YulFunctionCall", - "src": "833:97:10" - }, - "nodeType": "YulIf", - "src": "830:2:10" - }, - { - "expression": { - "arguments": [ - { - "name": "dst", - "nodeType": "YulIdentifier", - "src": "975:3:10" - }, - { - "name": "value", - "nodeType": "YulIdentifier", - "src": "980:5:10" - } - ], - "functionName": { - "name": "mstore", - "nodeType": "YulIdentifier", - "src": "968:6:10" - }, - "nodeType": "YulFunctionCall", - "src": "968:18:10" - }, - "nodeType": "YulExpressionStatement", - "src": "968:18:10" - }, - { - "nodeType": "YulAssignment", - "src": "999:19:10", - "value": { - "arguments": [ - { - "name": "dst", - "nodeType": "YulIdentifier", - "src": "1010:3:10" - }, - { - "name": "_2", - "nodeType": "YulIdentifier", - "src": "1015:2:10" - } - ], - "functionName": { - "name": "add", - "nodeType": "YulIdentifier", - "src": "1006:3:10" - }, - "nodeType": "YulFunctionCall", - "src": "1006:12:10" - }, - "variableNames": [ - { - "name": "dst", - "nodeType": "YulIdentifier", - "src": "999:3:10" - } - ] - }, - { - "nodeType": "YulAssignment", - "src": "1031:19:10", - "value": { - "arguments": [ - { - "name": "src", - "nodeType": "YulIdentifier", - "src": "1042:3:10" - }, - { - "name": "_2", - "nodeType": "YulIdentifier", - "src": "1047:2:10" - } - ], - "functionName": { - "name": "add", - "nodeType": "YulIdentifier", - "src": "1038:3:10" - }, - "nodeType": "YulFunctionCall", - "src": "1038:12:10" - }, - "variableNames": [ - { - "name": "src", - "nodeType": "YulIdentifier", - "src": "1031:3:10" - } - ] - } - ] - }, - "condition": { - "arguments": [ - { - "name": "i", - "nodeType": "YulIdentifier", - "src": "739:1:10" - }, - { - "name": "_1", - "nodeType": "YulIdentifier", - "src": "742:2:10" - } - ], - "functionName": { - "name": "lt", - "nodeType": "YulIdentifier", - "src": "736:2:10" - }, - "nodeType": "YulFunctionCall", - "src": "736:9:10" - }, - "nodeType": "YulForLoop", - "post": { - "nodeType": "YulBlock", - "src": "746:18:10", - "statements": [ - { - "nodeType": "YulAssignment", - "src": "748:14:10", - "value": { - "arguments": [ - { - "name": "i", - "nodeType": "YulIdentifier", - "src": "757:1:10" - }, - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "760:1:10", - "type": "", - "value": "1" - } - ], - "functionName": { - "name": "add", - "nodeType": "YulIdentifier", - "src": "753:3:10" - }, - "nodeType": "YulFunctionCall", - "src": "753:9:10" - }, - "variableNames": [ - { - "name": "i", - "nodeType": "YulIdentifier", - "src": "748:1:10" - } - ] - } - ] - }, - "pre": { - "nodeType": "YulBlock", - "src": "732:3:10", - "statements": [] - }, - "src": "728:332:10" - }, - { - "nodeType": "YulAssignment", - "src": "1069:14:10", - "value": { - "name": "dst_1", - "nodeType": "YulIdentifier", - "src": "1078:5:10" - }, - "variableNames": [ - { - "name": "array", - "nodeType": "YulIdentifier", - "src": "1069:5:10" - } - ] + "src": "497:59:11" } ] }, - "name": "abi_decode_t_array$_t_bytes4_$dyn", + "name": "abi_decode_bytes_calldata", "nodeType": "YulFunctionDefinition", "parameters": [ { "name": "offset", "nodeType": "YulTypedName", - "src": "260:6:10", + "src": "250:6:11", "type": "" }, { "name": "end", "nodeType": "YulTypedName", - "src": "268:3:10", + "src": "258:3:11", "type": "" } ], "returnVariables": [ { - "name": "array", + "name": "arrayPos", + "nodeType": "YulTypedName", + "src": "266:8:11", + "type": "" + }, + { + "name": "length", "nodeType": "YulTypedName", - "src": "276:5:10", + "src": "276:6:11", "type": "" } ], - "src": "217:872:10" + "src": "215:347:11" }, { "body": { "nodeType": "YulBlock", - "src": "1279:1103:10", + "src": "752:824:11", "statements": [ { "body": { "nodeType": "YulBlock", - "src": "1325:26:10", + "src": "798:16:11", "statements": [ { "expression": { "arguments": [ { - "name": "value4", - "nodeType": "YulIdentifier", - "src": "1334:6:10" + "kind": "number", + "nodeType": "YulLiteral", + "src": "807:1:11", + "type": "", + "value": "0" }, { - "name": "value4", - "nodeType": "YulIdentifier", - "src": "1342:6:10" + "kind": "number", + "nodeType": "YulLiteral", + "src": "810:1:11", + "type": "", + "value": "0" } ], "functionName": { "name": "revert", "nodeType": "YulIdentifier", - "src": "1327:6:10" + "src": "800:6:11" }, "nodeType": "YulFunctionCall", - "src": "1327:22:10" + "src": "800:12:11" }, "nodeType": "YulExpressionStatement", - "src": "1327:22:10" + "src": "800:12:11" } ] }, @@ -1034,26 +930,26 @@ { "name": "dataEnd", "nodeType": "YulIdentifier", - "src": "1300:7:10" + "src": "773:7:11" }, { "name": "headStart", "nodeType": "YulIdentifier", - "src": "1309:9:10" + "src": "782:9:11" } ], "functionName": { "name": "sub", "nodeType": "YulIdentifier", - "src": "1296:3:10" + "src": "769:3:11" }, "nodeType": "YulFunctionCall", - "src": "1296:23:10" + "src": "769:23:11" }, { "kind": "number", "nodeType": "YulLiteral", - "src": "1321:2:10", + "src": "794:2:11", "type": "", "value": "96" } @@ -1061,49 +957,49 @@ "functionName": { "name": "slt", "nodeType": "YulIdentifier", - "src": "1292:3:10" + "src": "765:3:11" }, "nodeType": "YulFunctionCall", - "src": "1292:32:10" + "src": "765:32:11" }, "nodeType": "YulIf", - "src": "1289:2:10" + "src": "762:52:11" }, { "nodeType": "YulVariableDeclaration", - "src": "1360:37:10", + "src": "823:37:11", "value": { "arguments": [ { "name": "headStart", "nodeType": "YulIdentifier", - "src": "1387:9:10" + "src": "850:9:11" } ], "functionName": { "name": "calldataload", "nodeType": "YulIdentifier", - "src": "1374:12:10" + "src": "837:12:11" }, "nodeType": "YulFunctionCall", - "src": "1374:23:10" + "src": "837:23:11" }, "variables": [ { "name": "offset", "nodeType": "YulTypedName", - "src": "1364:6:10", + "src": "827:6:11", "type": "" } ] }, { "nodeType": "YulVariableDeclaration", - "src": "1406:28:10", + "src": "869:28:11", "value": { "kind": "number", "nodeType": "YulLiteral", - "src": "1416:18:10", + "src": "879:18:11", "type": "", "value": "0xffffffffffffffff" }, @@ -1111,7 +1007,7 @@ { "name": "_1", "nodeType": "YulTypedName", - "src": "1410:2:10", + "src": "873:2:11", "type": "" } ] @@ -1119,32 +1015,36 @@ { "body": { "nodeType": "YulBlock", - "src": "1461:26:10", + "src": "924:16:11", "statements": [ { "expression": { "arguments": [ { - "name": "value4", - "nodeType": "YulIdentifier", - "src": "1470:6:10" + "kind": "number", + "nodeType": "YulLiteral", + "src": "933:1:11", + "type": "", + "value": "0" }, { - "name": "value4", - "nodeType": "YulIdentifier", - "src": "1478:6:10" + "kind": "number", + "nodeType": "YulLiteral", + "src": "936:1:11", + "type": "", + "value": "0" } ], "functionName": { "name": "revert", "nodeType": "YulIdentifier", - "src": "1463:6:10" + "src": "926:6:11" }, "nodeType": "YulFunctionCall", - "src": "1463:22:10" + "src": "926:12:11" }, "nodeType": "YulExpressionStatement", - "src": "1463:22:10" + "src": "926:12:11" } ] }, @@ -1153,54 +1053,54 @@ { "name": "offset", "nodeType": "YulIdentifier", - "src": "1449:6:10" + "src": "912:6:11" }, { "name": "_1", "nodeType": "YulIdentifier", - "src": "1457:2:10" + "src": "920:2:11" } ], "functionName": { "name": "gt", "nodeType": "YulIdentifier", - "src": "1446:2:10" + "src": "909:2:11" }, "nodeType": "YulFunctionCall", - "src": "1446:14:10" + "src": "909:14:11" }, "nodeType": "YulIf", - "src": "1443:2:10" + "src": "906:34:11" }, { "nodeType": "YulVariableDeclaration", - "src": "1496:32:10", + "src": "949:32:11", "value": { "arguments": [ { "name": "headStart", "nodeType": "YulIdentifier", - "src": "1510:9:10" + "src": "963:9:11" }, { "name": "offset", "nodeType": "YulIdentifier", - "src": "1521:6:10" + "src": "974:6:11" } ], "functionName": { "name": "add", "nodeType": "YulIdentifier", - "src": "1506:3:10" + "src": "959:3:11" }, "nodeType": "YulFunctionCall", - "src": "1506:22:10" + "src": "959:22:11" }, "variables": [ { "name": "_2", "nodeType": "YulTypedName", - "src": "1500:2:10", + "src": "953:2:11", "type": "" } ] @@ -1208,32 +1108,36 @@ { "body": { "nodeType": "YulBlock", - "src": "1576:26:10", + "src": "1029:16:11", "statements": [ { "expression": { "arguments": [ { - "name": "value4", - "nodeType": "YulIdentifier", - "src": "1585:6:10" + "kind": "number", + "nodeType": "YulLiteral", + "src": "1038:1:11", + "type": "", + "value": "0" }, { - "name": "value4", - "nodeType": "YulIdentifier", - "src": "1593:6:10" + "kind": "number", + "nodeType": "YulLiteral", + "src": "1041:1:11", + "type": "", + "value": "0" } ], "functionName": { "name": "revert", "nodeType": "YulIdentifier", - "src": "1578:6:10" + "src": "1031:6:11" }, "nodeType": "YulFunctionCall", - "src": "1578:22:10" + "src": "1031:12:11" }, "nodeType": "YulExpressionStatement", - "src": "1578:22:10" + "src": "1031:12:11" } ] }, @@ -1246,12 +1150,12 @@ { "name": "_2", "nodeType": "YulIdentifier", - "src": "1555:2:10" + "src": "1008:2:11" }, { "kind": "number", "nodeType": "YulLiteral", - "src": "1559:4:10", + "src": "1012:4:11", "type": "", "value": "0x1f" } @@ -1259,61 +1163,61 @@ "functionName": { "name": "add", "nodeType": "YulIdentifier", - "src": "1551:3:10" + "src": "1004:3:11" }, "nodeType": "YulFunctionCall", - "src": "1551:13:10" + "src": "1004:13:11" }, { "name": "dataEnd", "nodeType": "YulIdentifier", - "src": "1566:7:10" + "src": "1019:7:11" } ], "functionName": { "name": "slt", "nodeType": "YulIdentifier", - "src": "1547:3:10" + "src": "1000:3:11" }, "nodeType": "YulFunctionCall", - "src": "1547:27:10" + "src": "1000:27:11" } ], "functionName": { "name": "iszero", "nodeType": "YulIdentifier", - "src": "1540:6:10" + "src": "993:6:11" }, "nodeType": "YulFunctionCall", - "src": "1540:35:10" + "src": "993:35:11" }, "nodeType": "YulIf", - "src": "1537:2:10" + "src": "990:55:11" }, { "nodeType": "YulVariableDeclaration", - "src": "1611:30:10", + "src": "1054:30:11", "value": { "arguments": [ { "name": "_2", "nodeType": "YulIdentifier", - "src": "1638:2:10" + "src": "1081:2:11" } ], "functionName": { "name": "calldataload", "nodeType": "YulIdentifier", - "src": "1625:12:10" + "src": "1068:12:11" }, "nodeType": "YulFunctionCall", - "src": "1625:16:10" + "src": "1068:16:11" }, "variables": [ { "name": "length", "nodeType": "YulTypedName", - "src": "1615:6:10", + "src": "1058:6:11", "type": "" } ] @@ -1321,32 +1225,36 @@ { "body": { "nodeType": "YulBlock", - "src": "1668:26:10", + "src": "1111:16:11", "statements": [ { "expression": { "arguments": [ { - "name": "value4", - "nodeType": "YulIdentifier", - "src": "1677:6:10" + "kind": "number", + "nodeType": "YulLiteral", + "src": "1120:1:11", + "type": "", + "value": "0" }, { - "name": "value4", - "nodeType": "YulIdentifier", - "src": "1685:6:10" - } - ], - "functionName": { + "kind": "number", + "nodeType": "YulLiteral", + "src": "1123:1:11", + "type": "", + "value": "0" + } + ], + "functionName": { "name": "revert", "nodeType": "YulIdentifier", - "src": "1670:6:10" + "src": "1113:6:11" }, "nodeType": "YulFunctionCall", - "src": "1670:22:10" + "src": "1113:12:11" }, "nodeType": "YulExpressionStatement", - "src": "1670:22:10" + "src": "1113:12:11" } ] }, @@ -1355,73 +1263,58 @@ { "name": "length", "nodeType": "YulIdentifier", - "src": "1656:6:10" + "src": "1099:6:11" }, { "name": "_1", "nodeType": "YulIdentifier", - "src": "1664:2:10" + "src": "1107:2:11" } ], "functionName": { "name": "gt", "nodeType": "YulIdentifier", - "src": "1653:2:10" + "src": "1096:2:11" }, "nodeType": "YulFunctionCall", - "src": "1653:14:10" + "src": "1096:14:11" }, "nodeType": "YulIf", - "src": "1650:2:10" - }, - { - "nodeType": "YulVariableDeclaration", - "src": "1703:14:10", - "value": { - "kind": "number", - "nodeType": "YulLiteral", - "src": "1713:4:10", - "type": "", - "value": "0x20" - }, - "variables": [ - { - "name": "_3", - "nodeType": "YulTypedName", - "src": "1707:2:10", - "type": "" - } - ] + "src": "1093:34:11" }, { "body": { "nodeType": "YulBlock", - "src": "1776:26:10", + "src": "1187:16:11", "statements": [ { "expression": { "arguments": [ { - "name": "value4", - "nodeType": "YulIdentifier", - "src": "1785:6:10" + "kind": "number", + "nodeType": "YulLiteral", + "src": "1196:1:11", + "type": "", + "value": "0" }, { - "name": "value4", - "nodeType": "YulIdentifier", - "src": "1793:6:10" + "kind": "number", + "nodeType": "YulLiteral", + "src": "1199:1:11", + "type": "", + "value": "0" } ], "functionName": { "name": "revert", "nodeType": "YulIdentifier", - "src": "1778:6:10" + "src": "1189:6:11" }, "nodeType": "YulFunctionCall", - "src": "1778:22:10" + "src": "1189:12:11" }, "nodeType": "YulExpressionStatement", - "src": "1778:22:10" + "src": "1189:12:11" } ] }, @@ -1434,120 +1327,126 @@ { "name": "_2", "nodeType": "YulIdentifier", - "src": "1740:2:10" + "src": "1150:2:11" }, { "arguments": [ { - "name": "length", - "nodeType": "YulIdentifier", - "src": "1748:6:10" + "kind": "number", + "nodeType": "YulLiteral", + "src": "1158:1:11", + "type": "", + "value": "5" }, { - "name": "_3", + "name": "length", "nodeType": "YulIdentifier", - "src": "1756:2:10" + "src": "1161:6:11" } ], "functionName": { - "name": "mul", + "name": "shl", "nodeType": "YulIdentifier", - "src": "1744:3:10" + "src": "1154:3:11" }, "nodeType": "YulFunctionCall", - "src": "1744:15:10" + "src": "1154:14:11" } ], "functionName": { "name": "add", "nodeType": "YulIdentifier", - "src": "1736:3:10" + "src": "1146:3:11" }, "nodeType": "YulFunctionCall", - "src": "1736:24:10" + "src": "1146:23:11" }, { - "name": "_3", - "nodeType": "YulIdentifier", - "src": "1762:2:10" + "kind": "number", + "nodeType": "YulLiteral", + "src": "1171:4:11", + "type": "", + "value": "0x20" } ], "functionName": { "name": "add", "nodeType": "YulIdentifier", - "src": "1732:3:10" + "src": "1142:3:11" }, "nodeType": "YulFunctionCall", - "src": "1732:33:10" + "src": "1142:34:11" }, { "name": "dataEnd", "nodeType": "YulIdentifier", - "src": "1767:7:10" + "src": "1178:7:11" } ], "functionName": { "name": "gt", "nodeType": "YulIdentifier", - "src": "1729:2:10" + "src": "1139:2:11" }, "nodeType": "YulFunctionCall", - "src": "1729:46:10" + "src": "1139:47:11" }, "nodeType": "YulIf", - "src": "1726:2:10" + "src": "1136:67:11" }, { "nodeType": "YulAssignment", - "src": "1811:21:10", + "src": "1212:23:11", "value": { "arguments": [ { "name": "_2", "nodeType": "YulIdentifier", - "src": "1825:2:10" + "src": "1226:2:11" }, { - "name": "_3", - "nodeType": "YulIdentifier", - "src": "1829:2:10" + "kind": "number", + "nodeType": "YulLiteral", + "src": "1230:4:11", + "type": "", + "value": "0x20" } ], "functionName": { "name": "add", "nodeType": "YulIdentifier", - "src": "1821:3:10" + "src": "1222:3:11" }, "nodeType": "YulFunctionCall", - "src": "1821:11:10" + "src": "1222:13:11" }, "variableNames": [ { "name": "value0", "nodeType": "YulIdentifier", - "src": "1811:6:10" + "src": "1212:6:11" } ] }, { "nodeType": "YulAssignment", - "src": "1841:16:10", + "src": "1244:16:11", "value": { "name": "length", "nodeType": "YulIdentifier", - "src": "1851:6:10" + "src": "1254:6:11" }, "variableNames": [ { "name": "value1", "nodeType": "YulIdentifier", - "src": "1841:6:10" + "src": "1244:6:11" } ] }, { "nodeType": "YulAssignment", - "src": "1866:50:10", + "src": "1269:50:11", "value": { "arguments": [ { @@ -1555,42 +1454,44 @@ { "name": "headStart", "nodeType": "YulIdentifier", - "src": "1901:9:10" + "src": "1302:9:11" }, { - "name": "_3", - "nodeType": "YulIdentifier", - "src": "1912:2:10" + "kind": "number", + "nodeType": "YulLiteral", + "src": "1313:4:11", + "type": "", + "value": "0x20" } ], "functionName": { "name": "add", "nodeType": "YulIdentifier", - "src": "1897:3:10" + "src": "1298:3:11" }, "nodeType": "YulFunctionCall", - "src": "1897:18:10" + "src": "1298:20:11" } ], "functionName": { - "name": "abi_decode_t_address", + "name": "abi_decode_address", "nodeType": "YulIdentifier", - "src": "1876:20:10" + "src": "1279:18:11" }, "nodeType": "YulFunctionCall", - "src": "1876:40:10" + "src": "1279:40:11" }, "variableNames": [ { "name": "value2", "nodeType": "YulIdentifier", - "src": "1866:6:10" + "src": "1269:6:11" } ] }, { "nodeType": "YulVariableDeclaration", - "src": "1925:48:10", + "src": "1328:48:11", "value": { "arguments": [ { @@ -1598,12 +1499,12 @@ { "name": "headStart", "nodeType": "YulIdentifier", - "src": "1958:9:10" + "src": "1361:9:11" }, { "kind": "number", "nodeType": "YulLiteral", - "src": "1969:2:10", + "src": "1372:2:11", "type": "", "value": "64" } @@ -1611,25 +1512,25 @@ "functionName": { "name": "add", "nodeType": "YulIdentifier", - "src": "1954:3:10" + "src": "1357:3:11" }, "nodeType": "YulFunctionCall", - "src": "1954:18:10" + "src": "1357:18:11" } ], "functionName": { "name": "calldataload", "nodeType": "YulIdentifier", - "src": "1941:12:10" + "src": "1344:12:11" }, "nodeType": "YulFunctionCall", - "src": "1941:32:10" + "src": "1344:32:11" }, "variables": [ { "name": "offset_1", "nodeType": "YulTypedName", - "src": "1929:8:10", + "src": "1332:8:11", "type": "" } ] @@ -1637,32 +1538,36 @@ { "body": { "nodeType": "YulBlock", - "src": "2002:26:10", + "src": "1405:16:11", "statements": [ { "expression": { "arguments": [ { - "name": "value4", - "nodeType": "YulIdentifier", - "src": "2011:6:10" + "kind": "number", + "nodeType": "YulLiteral", + "src": "1414:1:11", + "type": "", + "value": "0" }, { - "name": "value4", - "nodeType": "YulIdentifier", - "src": "2019:6:10" + "kind": "number", + "nodeType": "YulLiteral", + "src": "1417:1:11", + "type": "", + "value": "0" } ], "functionName": { "name": "revert", "nodeType": "YulIdentifier", - "src": "2004:6:10" + "src": "1407:6:11" }, "nodeType": "YulFunctionCall", - "src": "2004:22:10" + "src": "1407:12:11" }, "nodeType": "YulExpressionStatement", - "src": "2004:22:10" + "src": "1407:12:11" } ] }, @@ -1671,256 +1576,349 @@ { "name": "offset_1", "nodeType": "YulIdentifier", - "src": "1988:8:10" + "src": "1391:8:11" }, { "name": "_1", "nodeType": "YulIdentifier", - "src": "1998:2:10" + "src": "1401:2:11" } ], "functionName": { "name": "gt", "nodeType": "YulIdentifier", - "src": "1985:2:10" + "src": "1388:2:11" }, "nodeType": "YulFunctionCall", - "src": "1985:16:10" + "src": "1388:16:11" }, "nodeType": "YulIf", - "src": "1982:2:10" + "src": "1385:36:11" }, { "nodeType": "YulVariableDeclaration", - "src": "2037:34:10", + "src": "1430:86:11", "value": { "arguments": [ { - "name": "headStart", - "nodeType": "YulIdentifier", - "src": "2051:9:10" + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "1486:9:11" + }, + { + "name": "offset_1", + "nodeType": "YulIdentifier", + "src": "1497:8:11" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "1482:3:11" + }, + "nodeType": "YulFunctionCall", + "src": "1482:24:11" }, { - "name": "offset_1", + "name": "dataEnd", "nodeType": "YulIdentifier", - "src": "2062:8:10" + "src": "1508:7:11" } ], "functionName": { - "name": "add", + "name": "abi_decode_bytes_calldata", "nodeType": "YulIdentifier", - "src": "2047:3:10" + "src": "1456:25:11" }, "nodeType": "YulFunctionCall", - "src": "2047:24:10" + "src": "1456:60:11" }, "variables": [ { - "name": "_4", + "name": "value3_1", + "nodeType": "YulTypedName", + "src": "1434:8:11", + "type": "" + }, + { + "name": "value4_1", "nodeType": "YulTypedName", - "src": "2041:2:10", + "src": "1444:8:11", "type": "" } ] }, { - "body": { - "nodeType": "YulBlock", - "src": "2119:26:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "name": "value4", - "nodeType": "YulIdentifier", - "src": "2128:6:10" - }, - { - "name": "value4", - "nodeType": "YulIdentifier", - "src": "2136:6:10" - } - ], - "functionName": { - "name": "revert", - "nodeType": "YulIdentifier", - "src": "2121:6:10" - }, - "nodeType": "YulFunctionCall", - "src": "2121:22:10" - }, - "nodeType": "YulExpressionStatement", - "src": "2121:22:10" - } - ] + "nodeType": "YulAssignment", + "src": "1525:18:11", + "value": { + "name": "value3_1", + "nodeType": "YulIdentifier", + "src": "1535:8:11" }, - "condition": { + "variableNames": [ + { + "name": "value3", + "nodeType": "YulIdentifier", + "src": "1525:6:11" + } + ] + }, + { + "nodeType": "YulAssignment", + "src": "1552:18:11", + "value": { + "name": "value4_1", + "nodeType": "YulIdentifier", + "src": "1562:8:11" + }, + "variableNames": [ + { + "name": "value4", + "nodeType": "YulIdentifier", + "src": "1552:6:11" + } + ] + } + ] + }, + "name": "abi_decode_tuple_t_array$_t_struct$_FacetCut_$711_calldata_ptr_$dyn_calldata_ptrt_addresst_bytes_calldata_ptr", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "headStart", + "nodeType": "YulTypedName", + "src": "686:9:11", + "type": "" + }, + { + "name": "dataEnd", + "nodeType": "YulTypedName", + "src": "697:7:11", + "type": "" + } + ], + "returnVariables": [ + { + "name": "value0", + "nodeType": "YulTypedName", + "src": "709:6:11", + "type": "" + }, + { + "name": "value1", + "nodeType": "YulTypedName", + "src": "717:6:11", + "type": "" + }, + { + "name": "value2", + "nodeType": "YulTypedName", + "src": "725:6:11", + "type": "" + }, + { + "name": "value3", + "nodeType": "YulTypedName", + "src": "733:6:11", + "type": "" + }, + { + "name": "value4", + "nodeType": "YulTypedName", + "src": "741:6:11", + "type": "" + } + ], + "src": "567:1009:11" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "1613:152:11", + "statements": [ + { + "expression": { "arguments": [ { - "arguments": [ - { - "arguments": [ - { - "name": "_4", - "nodeType": "YulIdentifier", - "src": "2098:2:10" - }, - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "2102:4:10", - "type": "", - "value": "0x1f" - } - ], - "functionName": { - "name": "add", - "nodeType": "YulIdentifier", - "src": "2094:3:10" - }, - "nodeType": "YulFunctionCall", - "src": "2094:13:10" - }, - { - "name": "dataEnd", - "nodeType": "YulIdentifier", - "src": "2109:7:10" - } - ], - "functionName": { - "name": "slt", - "nodeType": "YulIdentifier", - "src": "2090:3:10" - }, - "nodeType": "YulFunctionCall", - "src": "2090:27:10" + "kind": "number", + "nodeType": "YulLiteral", + "src": "1630:1:11", + "type": "", + "value": "0" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "1633:77:11", + "type": "", + "value": "35408467139433450592217433187231851964531694900788300625387963629091585785856" } ], "functionName": { - "name": "iszero", + "name": "mstore", "nodeType": "YulIdentifier", - "src": "2083:6:10" + "src": "1623:6:11" }, "nodeType": "YulFunctionCall", - "src": "2083:35:10" + "src": "1623:88:11" }, - "nodeType": "YulIf", - "src": "2080:2:10" + "nodeType": "YulExpressionStatement", + "src": "1623:88:11" }, { - "nodeType": "YulVariableDeclaration", - "src": "2154:32:10", - "value": { + "expression": { "arguments": [ { - "name": "_4", - "nodeType": "YulIdentifier", - "src": "2183:2:10" + "kind": "number", + "nodeType": "YulLiteral", + "src": "1727:1:11", + "type": "", + "value": "4" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "1730:4:11", + "type": "", + "value": "0x41" } ], "functionName": { - "name": "calldataload", + "name": "mstore", "nodeType": "YulIdentifier", - "src": "2170:12:10" + "src": "1720:6:11" }, "nodeType": "YulFunctionCall", - "src": "2170:16:10" + "src": "1720:15:11" }, - "variables": [ - { - "name": "length_1", - "nodeType": "YulTypedName", - "src": "2158:8:10", - "type": "" - } - ] + "nodeType": "YulExpressionStatement", + "src": "1720:15:11" }, { - "body": { - "nodeType": "YulBlock", - "src": "2215:26:10", - "statements": [ + "expression": { + "arguments": [ { - "expression": { - "arguments": [ - { - "name": "value4", - "nodeType": "YulIdentifier", - "src": "2224:6:10" - }, - { - "name": "value4", - "nodeType": "YulIdentifier", - "src": "2232:6:10" - } - ], - "functionName": { - "name": "revert", - "nodeType": "YulIdentifier", - "src": "2217:6:10" - }, - "nodeType": "YulFunctionCall", - "src": "2217:22:10" - }, - "nodeType": "YulExpressionStatement", - "src": "2217:22:10" + "kind": "number", + "nodeType": "YulLiteral", + "src": "1751:1:11", + "type": "", + "value": "0" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "1754:4:11", + "type": "", + "value": "0x24" } - ] + ], + "functionName": { + "name": "revert", + "nodeType": "YulIdentifier", + "src": "1744:6:11" + }, + "nodeType": "YulFunctionCall", + "src": "1744:15:11" }, - "condition": { + "nodeType": "YulExpressionStatement", + "src": "1744:15:11" + } + ] + }, + "name": "panic_error_0x41", + "nodeType": "YulFunctionDefinition", + "src": "1581:184:11" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "1816:207:11", + "statements": [ + { + "nodeType": "YulAssignment", + "src": "1826:19:11", + "value": { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "1842:2:11", + "type": "", + "value": "64" + } + ], + "functionName": { + "name": "mload", + "nodeType": "YulIdentifier", + "src": "1836:5:11" + }, + "nodeType": "YulFunctionCall", + "src": "1836:9:11" + }, + "variableNames": [ + { + "name": "memPtr", + "nodeType": "YulIdentifier", + "src": "1826:6:11" + } + ] + }, + { + "nodeType": "YulVariableDeclaration", + "src": "1854:35:11", + "value": { "arguments": [ { - "name": "length_1", + "name": "memPtr", "nodeType": "YulIdentifier", - "src": "2201:8:10" + "src": "1876:6:11" }, { - "name": "_1", - "nodeType": "YulIdentifier", - "src": "2211:2:10" + "kind": "number", + "nodeType": "YulLiteral", + "src": "1884:4:11", + "type": "", + "value": "0x60" } ], "functionName": { - "name": "gt", + "name": "add", "nodeType": "YulIdentifier", - "src": "2198:2:10" + "src": "1872:3:11" }, "nodeType": "YulFunctionCall", - "src": "2198:16:10" + "src": "1872:17:11" }, - "nodeType": "YulIf", - "src": "2195:2:10" + "variables": [ + { + "name": "newFreePtr", + "nodeType": "YulTypedName", + "src": "1858:10:11", + "type": "" + } + ] }, { "body": { "nodeType": "YulBlock", - "src": "2293:26:10", + "src": "1964:22:11", "statements": [ { "expression": { - "arguments": [ - { - "name": "value4", - "nodeType": "YulIdentifier", - "src": "2302:6:10" - }, - { - "name": "value4", - "nodeType": "YulIdentifier", - "src": "2310:6:10" - } - ], + "arguments": [], "functionName": { - "name": "revert", + "name": "panic_error_0x41", "nodeType": "YulIdentifier", - "src": "2295:6:10" + "src": "1966:16:11" }, "nodeType": "YulFunctionCall", - "src": "2295:22:10" + "src": "1966:18:11" }, "nodeType": "YulExpressionStatement", - "src": "2295:22:10" + "src": "1966:18:11" } ] }, @@ -1929,727 +1927,514 @@ { "arguments": [ { - "arguments": [ - { - "name": "_4", - "nodeType": "YulIdentifier", - "src": "2264:2:10" - }, - { - "name": "length_1", - "nodeType": "YulIdentifier", - "src": "2268:8:10" - } - ], - "functionName": { - "name": "add", - "nodeType": "YulIdentifier", - "src": "2260:3:10" - }, - "nodeType": "YulFunctionCall", - "src": "2260:17:10" + "name": "newFreePtr", + "nodeType": "YulIdentifier", + "src": "1907:10:11" }, { - "name": "_3", - "nodeType": "YulIdentifier", - "src": "2279:2:10" + "kind": "number", + "nodeType": "YulLiteral", + "src": "1919:18:11", + "type": "", + "value": "0xffffffffffffffff" } ], "functionName": { - "name": "add", + "name": "gt", "nodeType": "YulIdentifier", - "src": "2256:3:10" + "src": "1904:2:11" }, "nodeType": "YulFunctionCall", - "src": "2256:26:10" + "src": "1904:34:11" }, { - "name": "dataEnd", - "nodeType": "YulIdentifier", - "src": "2284:7:10" + "arguments": [ + { + "name": "newFreePtr", + "nodeType": "YulIdentifier", + "src": "1943:10:11" + }, + { + "name": "memPtr", + "nodeType": "YulIdentifier", + "src": "1955:6:11" + } + ], + "functionName": { + "name": "lt", + "nodeType": "YulIdentifier", + "src": "1940:2:11" + }, + "nodeType": "YulFunctionCall", + "src": "1940:22:11" } ], "functionName": { - "name": "gt", + "name": "or", "nodeType": "YulIdentifier", - "src": "2253:2:10" + "src": "1901:2:11" }, "nodeType": "YulFunctionCall", - "src": "2253:39:10" + "src": "1901:62:11" }, "nodeType": "YulIf", - "src": "2250:2:10" + "src": "1898:88:11" }, { - "nodeType": "YulAssignment", - "src": "2328:21:10", - "value": { + "expression": { "arguments": [ { - "name": "_4", - "nodeType": "YulIdentifier", - "src": "2342:2:10" + "kind": "number", + "nodeType": "YulLiteral", + "src": "2002:2:11", + "type": "", + "value": "64" }, { - "name": "_3", + "name": "newFreePtr", "nodeType": "YulIdentifier", - "src": "2346:2:10" + "src": "2006:10:11" } ], "functionName": { - "name": "add", + "name": "mstore", "nodeType": "YulIdentifier", - "src": "2338:3:10" + "src": "1995:6:11" }, "nodeType": "YulFunctionCall", - "src": "2338:11:10" + "src": "1995:22:11" }, - "variableNames": [ - { - "name": "value3", - "nodeType": "YulIdentifier", - "src": "2328:6:10" - } - ] - }, - { - "nodeType": "YulAssignment", - "src": "2358:18:10", - "value": { - "name": "length_1", - "nodeType": "YulIdentifier", - "src": "2368:8:10" - }, - "variableNames": [ - { - "name": "value4", - "nodeType": "YulIdentifier", - "src": "2358:6:10" - } - ] + "nodeType": "YulExpressionStatement", + "src": "1995:22:11" } ] }, - "name": "abi_decode_tuple_t_array$_t_struct$_FacetCut_$679_calldata_ptr_$dyn_calldata_ptrt_addresst_bytes_calldata_ptr", + "name": "allocate_memory_2940", "nodeType": "YulFunctionDefinition", - "parameters": [ - { - "name": "headStart", - "nodeType": "YulTypedName", - "src": "1213:9:10", - "type": "" - }, - { - "name": "dataEnd", - "nodeType": "YulTypedName", - "src": "1224:7:10", - "type": "" - } - ], "returnVariables": [ { - "name": "value0", - "nodeType": "YulTypedName", - "src": "1236:6:10", - "type": "" - }, - { - "name": "value1", - "nodeType": "YulTypedName", - "src": "1244:6:10", - "type": "" - }, - { - "name": "value2", - "nodeType": "YulTypedName", - "src": "1252:6:10", - "type": "" - }, - { - "name": "value3", - "nodeType": "YulTypedName", - "src": "1260:6:10", - "type": "" - }, - { - "name": "value4", + "name": "memPtr", "nodeType": "YulTypedName", - "src": "1268:6:10", + "src": "1805:6:11", "type": "" } ], - "src": "1094:1288:10" + "src": "1770:253:11" }, { "body": { "nodeType": "YulBlock", - "src": "2433:83:10", + "src": "2073:289:11", "statements": [ { - "expression": { + "nodeType": "YulAssignment", + "src": "2083:19:11", + "value": { "arguments": [ { - "name": "pos", + "kind": "number", + "nodeType": "YulLiteral", + "src": "2099:2:11", + "type": "", + "value": "64" + } + ], + "functionName": { + "name": "mload", + "nodeType": "YulIdentifier", + "src": "2093:5:11" + }, + "nodeType": "YulFunctionCall", + "src": "2093:9:11" + }, + "variableNames": [ + { + "name": "memPtr", + "nodeType": "YulIdentifier", + "src": "2083:6:11" + } + ] + }, + { + "nodeType": "YulVariableDeclaration", + "src": "2111:117:11", + "value": { + "arguments": [ + { + "name": "memPtr", "nodeType": "YulIdentifier", - "src": "2450:3:10" + "src": "2133:6:11" }, { "arguments": [ { - "name": "value", - "nodeType": "YulIdentifier", - "src": "2459:5:10" + "arguments": [ + { + "name": "size", + "nodeType": "YulIdentifier", + "src": "2149:4:11" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "2155:2:11", + "type": "", + "value": "31" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "2145:3:11" + }, + "nodeType": "YulFunctionCall", + "src": "2145:13:11" }, { "kind": "number", "nodeType": "YulLiteral", - "src": "2466:42:10", + "src": "2160:66:11", "type": "", - "value": "0xffffffffffffffffffffffffffffffffffffffff" + "value": "0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0" } ], "functionName": { "name": "and", "nodeType": "YulIdentifier", - "src": "2455:3:10" + "src": "2141:3:11" }, "nodeType": "YulFunctionCall", - "src": "2455:54:10" + "src": "2141:86:11" } ], "functionName": { - "name": "mstore", + "name": "add", "nodeType": "YulIdentifier", - "src": "2443:6:10" + "src": "2129:3:11" }, "nodeType": "YulFunctionCall", - "src": "2443:67:10" - }, - "nodeType": "YulExpressionStatement", - "src": "2443:67:10" - } - ] - }, - "name": "abi_encode_t_address", - "nodeType": "YulFunctionDefinition", - "parameters": [ - { - "name": "value", - "nodeType": "YulTypedName", - "src": "2417:5:10", - "type": "" - }, - { - "name": "pos", - "nodeType": "YulTypedName", - "src": "2424:3:10", - "type": "" - } - ], - "src": "2387:129:10" - }, - { - "body": { - "nodeType": "YulBlock", - "src": "2572:267:10", - "statements": [ - { - "nodeType": "YulVariableDeclaration", - "src": "2582:26:10", - "value": { - "arguments": [ - { - "name": "value", - "nodeType": "YulIdentifier", - "src": "2602:5:10" - } - ], - "functionName": { - "name": "mload", - "nodeType": "YulIdentifier", - "src": "2596:5:10" - }, - "nodeType": "YulFunctionCall", - "src": "2596:12:10" + "src": "2129:99:11" }, "variables": [ { - "name": "length", + "name": "newFreePtr", "nodeType": "YulTypedName", - "src": "2586:6:10", + "src": "2115:10:11", "type": "" } ] }, { - "expression": { - "arguments": [ - { - "name": "pos", - "nodeType": "YulIdentifier", - "src": "2624:3:10" - }, + "body": { + "nodeType": "YulBlock", + "src": "2303:22:11", + "statements": [ { - "name": "length", - "nodeType": "YulIdentifier", - "src": "2629:6:10" + "expression": { + "arguments": [], + "functionName": { + "name": "panic_error_0x41", + "nodeType": "YulIdentifier", + "src": "2305:16:11" + }, + "nodeType": "YulFunctionCall", + "src": "2305:18:11" + }, + "nodeType": "YulExpressionStatement", + "src": "2305:18:11" } - ], - "functionName": { - "name": "mstore", - "nodeType": "YulIdentifier", - "src": "2617:6:10" - }, - "nodeType": "YulFunctionCall", - "src": "2617:19:10" + ] }, - "nodeType": "YulExpressionStatement", - "src": "2617:19:10" - }, - { - "expression": { + "condition": { "arguments": [ { "arguments": [ { - "name": "value", + "name": "newFreePtr", "nodeType": "YulIdentifier", - "src": "2671:5:10" + "src": "2246:10:11" }, { "kind": "number", "nodeType": "YulLiteral", - "src": "2678:4:10", + "src": "2258:18:11", "type": "", - "value": "0x20" + "value": "0xffffffffffffffff" } ], "functionName": { - "name": "add", + "name": "gt", "nodeType": "YulIdentifier", - "src": "2667:3:10" + "src": "2243:2:11" }, "nodeType": "YulFunctionCall", - "src": "2667:16:10" + "src": "2243:34:11" }, { "arguments": [ { - "name": "pos", + "name": "newFreePtr", "nodeType": "YulIdentifier", - "src": "2689:3:10" + "src": "2282:10:11" }, { - "kind": "number", - "nodeType": "YulLiteral", - "src": "2694:4:10", - "type": "", - "value": "0x20" + "name": "memPtr", + "nodeType": "YulIdentifier", + "src": "2294:6:11" } ], "functionName": { - "name": "add", + "name": "lt", "nodeType": "YulIdentifier", - "src": "2685:3:10" + "src": "2279:2:11" }, "nodeType": "YulFunctionCall", - "src": "2685:14:10" - }, - { - "name": "length", - "nodeType": "YulIdentifier", - "src": "2701:6:10" + "src": "2279:22:11" } ], "functionName": { - "name": "copy_memory_to_memory", + "name": "or", "nodeType": "YulIdentifier", - "src": "2645:21:10" + "src": "2240:2:11" }, "nodeType": "YulFunctionCall", - "src": "2645:63:10" + "src": "2240:62:11" }, - "nodeType": "YulExpressionStatement", - "src": "2645:63:10" + "nodeType": "YulIf", + "src": "2237:88:11" }, { - "nodeType": "YulAssignment", - "src": "2717:116:10", - "value": { + "expression": { "arguments": [ - { - "arguments": [ - { - "name": "pos", - "nodeType": "YulIdentifier", - "src": "2732:3:10" - }, - { - "arguments": [ - { - "arguments": [ - { - "name": "length", - "nodeType": "YulIdentifier", - "src": "2745:6:10" - }, - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "2753:2:10", - "type": "", - "value": "31" - } - ], - "functionName": { - "name": "add", - "nodeType": "YulIdentifier", - "src": "2741:3:10" - }, - "nodeType": "YulFunctionCall", - "src": "2741:15:10" - }, - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "2758:66:10", - "type": "", - "value": "0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0" - } - ], - "functionName": { - "name": "and", - "nodeType": "YulIdentifier", - "src": "2737:3:10" - }, - "nodeType": "YulFunctionCall", - "src": "2737:88:10" - } - ], - "functionName": { - "name": "add", - "nodeType": "YulIdentifier", - "src": "2728:3:10" - }, - "nodeType": "YulFunctionCall", - "src": "2728:98:10" - }, { "kind": "number", "nodeType": "YulLiteral", - "src": "2828:4:10", + "src": "2341:2:11", "type": "", - "value": "0x20" + "value": "64" + }, + { + "name": "newFreePtr", + "nodeType": "YulIdentifier", + "src": "2345:10:11" } ], "functionName": { - "name": "add", + "name": "mstore", "nodeType": "YulIdentifier", - "src": "2724:3:10" + "src": "2334:6:11" }, "nodeType": "YulFunctionCall", - "src": "2724:109:10" + "src": "2334:22:11" }, - "variableNames": [ - { - "name": "end", - "nodeType": "YulIdentifier", - "src": "2717:3:10" - } - ] + "nodeType": "YulExpressionStatement", + "src": "2334:22:11" } ] }, - "name": "abi_encode_t_bytes", + "name": "allocate_memory", "nodeType": "YulFunctionDefinition", "parameters": [ { - "name": "value", - "nodeType": "YulTypedName", - "src": "2549:5:10", - "type": "" - }, - { - "name": "pos", + "name": "size", "nodeType": "YulTypedName", - "src": "2556:3:10", + "src": "2053:4:11", "type": "" } ], "returnVariables": [ { - "name": "end", + "name": "memPtr", "nodeType": "YulTypedName", - "src": "2564:3:10", + "src": "2062:6:11", "type": "" } ], - "src": "2521:318:10" + "src": "2028:334:11" }, { "body": { "nodeType": "YulBlock", - "src": "2981:137:10", + "src": "2444:114:11", "statements": [ { - "nodeType": "YulVariableDeclaration", - "src": "2991:27:10", - "value": { + "body": { + "nodeType": "YulBlock", + "src": "2488:22:11", + "statements": [ + { + "expression": { + "arguments": [], + "functionName": { + "name": "panic_error_0x41", + "nodeType": "YulIdentifier", + "src": "2490:16:11" + }, + "nodeType": "YulFunctionCall", + "src": "2490:18:11" + }, + "nodeType": "YulExpressionStatement", + "src": "2490:18:11" + } + ] + }, + "condition": { "arguments": [ { - "name": "value0", + "name": "length", "nodeType": "YulIdentifier", - "src": "3011:6:10" + "src": "2460:6:11" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "2468:18:11", + "type": "", + "value": "0xffffffffffffffff" } ], "functionName": { - "name": "mload", + "name": "gt", "nodeType": "YulIdentifier", - "src": "3005:5:10" + "src": "2457:2:11" }, "nodeType": "YulFunctionCall", - "src": "3005:13:10" + "src": "2457:30:11" }, - "variables": [ - { - "name": "length", - "nodeType": "YulTypedName", - "src": "2995:6:10", - "type": "" - } - ] + "nodeType": "YulIf", + "src": "2454:56:11" }, { - "expression": { + "nodeType": "YulAssignment", + "src": "2519:33:11", + "value": { "arguments": [ { "arguments": [ - { - "name": "value0", - "nodeType": "YulIdentifier", - "src": "3053:6:10" - }, { "kind": "number", "nodeType": "YulLiteral", - "src": "3061:4:10", + "src": "2535:1:11", "type": "", - "value": "0x20" + "value": "5" + }, + { + "name": "length", + "nodeType": "YulIdentifier", + "src": "2538:6:11" } ], "functionName": { - "name": "add", + "name": "shl", "nodeType": "YulIdentifier", - "src": "3049:3:10" + "src": "2531:3:11" }, "nodeType": "YulFunctionCall", - "src": "3049:17:10" - }, - { - "name": "pos", - "nodeType": "YulIdentifier", - "src": "3068:3:10" - }, - { - "name": "length", - "nodeType": "YulIdentifier", - "src": "3073:6:10" - } - ], - "functionName": { - "name": "copy_memory_to_memory", - "nodeType": "YulIdentifier", - "src": "3027:21:10" - }, - "nodeType": "YulFunctionCall", - "src": "3027:53:10" - }, - "nodeType": "YulExpressionStatement", - "src": "3027:53:10" - }, - { - "nodeType": "YulAssignment", - "src": "3089:23:10", - "value": { - "arguments": [ - { - "name": "pos", - "nodeType": "YulIdentifier", - "src": "3100:3:10" + "src": "2531:14:11" }, { - "name": "length", - "nodeType": "YulIdentifier", - "src": "3105:6:10" + "kind": "number", + "nodeType": "YulLiteral", + "src": "2547:4:11", + "type": "", + "value": "0x20" } ], "functionName": { "name": "add", "nodeType": "YulIdentifier", - "src": "3096:3:10" + "src": "2527:3:11" }, "nodeType": "YulFunctionCall", - "src": "3096:16:10" + "src": "2527:25:11" }, "variableNames": [ { - "name": "end", + "name": "size", "nodeType": "YulIdentifier", - "src": "3089:3:10" + "src": "2519:4:11" } ] } ] }, - "name": "abi_encode_tuple_packed_t_bytes_memory_ptr__to_t_bytes_memory_ptr__nonPadded_inplace_fromStack_reversed", + "name": "array_allocation_size_array_struct_FacetCut_dyn", "nodeType": "YulFunctionDefinition", "parameters": [ { - "name": "pos", - "nodeType": "YulTypedName", - "src": "2957:3:10", - "type": "" - }, - { - "name": "value0", + "name": "length", "nodeType": "YulTypedName", - "src": "2962:6:10", + "src": "2424:6:11", "type": "" } ], "returnVariables": [ { - "name": "end", + "name": "size", "nodeType": "YulTypedName", - "src": "2973:3:10", + "src": "2435:4:11", "type": "" } ], - "src": "2844:274:10" + "src": "2367:191:11" }, { "body": { "nodeType": "YulBlock", - "src": "3398:1825:10", + "src": "2745:2587:11", "statements": [ { "nodeType": "YulVariableDeclaration", - "src": "3408:12:10", - "value": { - "kind": "number", - "nodeType": "YulLiteral", - "src": "3418:2:10", - "type": "", - "value": "96" - }, - "variables": [ - { - "name": "_1", - "nodeType": "YulTypedName", - "src": "3412:2:10", - "type": "" - } - ] - }, - { - "nodeType": "YulVariableDeclaration", - "src": "3429:32:10", + "src": "2755:83:11", "value": { "arguments": [ { - "name": "headStart", - "nodeType": "YulIdentifier", - "src": "3447:9:10" - }, - { - "name": "_1", - "nodeType": "YulIdentifier", - "src": "3458:2:10" + "arguments": [ + { + "name": "length", + "nodeType": "YulIdentifier", + "src": "2830:6:11" + } + ], + "functionName": { + "name": "array_allocation_size_array_struct_FacetCut_dyn", + "nodeType": "YulIdentifier", + "src": "2782:47:11" + }, + "nodeType": "YulFunctionCall", + "src": "2782:55:11" } ], "functionName": { - "name": "add", + "name": "allocate_memory", "nodeType": "YulIdentifier", - "src": "3443:3:10" + "src": "2766:15:11" }, "nodeType": "YulFunctionCall", - "src": "3443:18:10" + "src": "2766:72:11" }, "variables": [ { - "name": "tail_1", + "name": "dst", "nodeType": "YulTypedName", - "src": "3433:6:10", + "src": "2759:3:11", "type": "" } ] }, - { - "expression": { - "arguments": [ - { - "name": "headStart", - "nodeType": "YulIdentifier", - "src": "3477:9:10" - }, - { - "name": "_1", - "nodeType": "YulIdentifier", - "src": "3488:2:10" - } - ], - "functionName": { - "name": "mstore", - "nodeType": "YulIdentifier", - "src": "3470:6:10" - }, - "nodeType": "YulFunctionCall", - "src": "3470:21:10" - }, - "nodeType": "YulExpressionStatement", - "src": "3470:21:10" - }, { "nodeType": "YulVariableDeclaration", - "src": "3500:17:10", + "src": "2847:16:11", "value": { - "name": "tail_1", + "name": "dst", "nodeType": "YulIdentifier", - "src": "3511:6:10" - }, - "variables": [ - { - "name": "pos", - "nodeType": "YulTypedName", - "src": "3504:3:10", - "type": "" - } - ] - }, - { - "nodeType": "YulVariableDeclaration", - "src": "3526:27:10", - "value": { - "arguments": [ - { - "name": "value0", - "nodeType": "YulIdentifier", - "src": "3546:6:10" - } - ], - "functionName": { - "name": "mload", - "nodeType": "YulIdentifier", - "src": "3540:5:10" - }, - "nodeType": "YulFunctionCall", - "src": "3540:13:10" + "src": "2860:3:11" }, "variables": [ { - "name": "length", + "name": "dst_1", "nodeType": "YulTypedName", - "src": "3530:6:10", + "src": "2851:5:11", "type": "" } ] @@ -2658,208 +2443,224 @@ "expression": { "arguments": [ { - "name": "tail_1", + "name": "dst", "nodeType": "YulIdentifier", - "src": "3569:6:10" + "src": "2879:3:11" }, { "name": "length", "nodeType": "YulIdentifier", - "src": "3577:6:10" + "src": "2884:6:11" } ], "functionName": { "name": "mstore", "nodeType": "YulIdentifier", - "src": "3562:6:10" + "src": "2872:6:11" }, "nodeType": "YulFunctionCall", - "src": "3562:22:10" + "src": "2872:19:11" }, "nodeType": "YulExpressionStatement", - "src": "3562:22:10" + "src": "2872:19:11" }, { "nodeType": "YulVariableDeclaration", - "src": "3593:13:10", + "src": "2900:14:11", "value": { "kind": "number", "nodeType": "YulLiteral", - "src": "3603:3:10", + "src": "2910:4:11", "type": "", - "value": "128" + "value": "0x20" }, "variables": [ { - "name": "_2", + "name": "_1", "nodeType": "YulTypedName", - "src": "3597:2:10", + "src": "2904:2:11", "type": "" } ] }, { "nodeType": "YulAssignment", - "src": "3615:25:10", + "src": "2923:19:11", "value": { "arguments": [ { - "name": "headStart", + "name": "dst", "nodeType": "YulIdentifier", - "src": "3626:9:10" + "src": "2934:3:11" }, { - "name": "_2", + "name": "_1", "nodeType": "YulIdentifier", - "src": "3637:2:10" + "src": "2939:2:11" } ], "functionName": { "name": "add", "nodeType": "YulIdentifier", - "src": "3622:3:10" + "src": "2930:3:11" }, "nodeType": "YulFunctionCall", - "src": "3622:18:10" + "src": "2930:12:11" }, "variableNames": [ { - "name": "pos", + "name": "dst", "nodeType": "YulIdentifier", - "src": "3615:3:10" + "src": "2923:3:11" } ] }, { "nodeType": "YulVariableDeclaration", - "src": "3649:14:10", + "src": "2951:11:11", "value": { "kind": "number", "nodeType": "YulLiteral", - "src": "3659:4:10", + "src": "2961:1:11", "type": "", - "value": "0x20" + "value": "5" }, "variables": [ { - "name": "_3", + "name": "_2", "nodeType": "YulTypedName", - "src": "3653:2:10", + "src": "2955:2:11", "type": "" } ] }, { "nodeType": "YulVariableDeclaration", - "src": "3672:54:10", + "src": "2971:41:11", "value": { "arguments": [ + { + "name": "value", + "nodeType": "YulIdentifier", + "src": "2989:5:11" + }, { "arguments": [ { - "name": "headStart", + "name": "_2", "nodeType": "YulIdentifier", - "src": "3694:9:10" + "src": "3000:2:11" }, { - "arguments": [ - { - "name": "length", - "nodeType": "YulIdentifier", - "src": "3709:6:10" - }, - { - "name": "_3", - "nodeType": "YulIdentifier", - "src": "3717:2:10" - } - ], - "functionName": { - "name": "mul", - "nodeType": "YulIdentifier", - "src": "3705:3:10" - }, - "nodeType": "YulFunctionCall", - "src": "3705:15:10" + "name": "length", + "nodeType": "YulIdentifier", + "src": "3004:6:11" } ], "functionName": { - "name": "add", + "name": "shl", "nodeType": "YulIdentifier", - "src": "3690:3:10" + "src": "2996:3:11" }, "nodeType": "YulFunctionCall", - "src": "3690:31:10" - }, - { - "name": "_2", - "nodeType": "YulIdentifier", - "src": "3723:2:10" + "src": "2996:15:11" } ], "functionName": { "name": "add", "nodeType": "YulIdentifier", - "src": "3686:3:10" + "src": "2985:3:11" }, "nodeType": "YulFunctionCall", - "src": "3686:40:10" + "src": "2985:27:11" }, "variables": [ { - "name": "tail_2", + "name": "srcEnd", "nodeType": "YulTypedName", - "src": "3676:6:10", + "src": "2975:6:11", "type": "" } ] }, { - "nodeType": "YulVariableDeclaration", - "src": "3735:29:10", - "value": { + "body": { + "nodeType": "YulBlock", + "src": "3051:16:11", + "statements": [ + { + "expression": { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "3060:1:11", + "type": "", + "value": "0" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "3063:1:11", + "type": "", + "value": "0" + } + ], + "functionName": { + "name": "revert", + "nodeType": "YulIdentifier", + "src": "3053:6:11" + }, + "nodeType": "YulFunctionCall", + "src": "3053:12:11" + }, + "nodeType": "YulExpressionStatement", + "src": "3053:12:11" + } + ] + }, + "condition": { "arguments": [ { - "name": "value0", + "name": "srcEnd", "nodeType": "YulIdentifier", - "src": "3753:6:10" + "src": "3027:6:11" }, { - "name": "_3", - "nodeType": "YulIdentifier", - "src": "3761:2:10" + "arguments": [], + "functionName": { + "name": "calldatasize", + "nodeType": "YulIdentifier", + "src": "3035:12:11" + }, + "nodeType": "YulFunctionCall", + "src": "3035:14:11" } ], "functionName": { - "name": "add", + "name": "gt", "nodeType": "YulIdentifier", - "src": "3749:3:10" + "src": "3024:2:11" }, "nodeType": "YulFunctionCall", - "src": "3749:15:10" + "src": "3024:26:11" }, - "variables": [ - { - "name": "srcPtr", - "nodeType": "YulTypedName", - "src": "3739:6:10", - "type": "" - } - ] + "nodeType": "YulIf", + "src": "3021:46:11" }, { "nodeType": "YulVariableDeclaration", - "src": "3773:13:10", + "src": "3076:16:11", "value": { - "name": "tail", + "name": "value", "nodeType": "YulIdentifier", - "src": "3782:4:10" + "src": "3087:5:11" }, "variables": [ { - "name": "i", + "name": "src", "nodeType": "YulTypedName", - "src": "3777:1:10", + "src": "3080:3:11", "type": "" } ] @@ -2867,222 +2668,359 @@ { "body": { "nodeType": "YulBlock", - "src": "3844:1204:10", + "src": "3157:2142:11", "statements": [ - { - "expression": { - "arguments": [ - { - "name": "pos", - "nodeType": "YulIdentifier", - "src": "3865:3:10" - }, - { - "arguments": [ - { - "arguments": [ - { - "name": "tail_2", - "nodeType": "YulIdentifier", - "src": "3878:6:10" - }, - { - "name": "headStart", - "nodeType": "YulIdentifier", - "src": "3886:9:10" - } - ], - "functionName": { - "name": "sub", - "nodeType": "YulIdentifier", - "src": "3874:3:10" - }, - "nodeType": "YulFunctionCall", - "src": "3874:22:10" - }, - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "3898:66:10", - "type": "", - "value": "0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff80" - } - ], - "functionName": { - "name": "add", - "nodeType": "YulIdentifier", - "src": "3870:3:10" - }, - "nodeType": "YulFunctionCall", - "src": "3870:95:10" - } - ], - "functionName": { - "name": "mstore", - "nodeType": "YulIdentifier", - "src": "3858:6:10" - }, - "nodeType": "YulFunctionCall", - "src": "3858:108:10" - }, - "nodeType": "YulExpressionStatement", - "src": "3858:108:10" - }, { "nodeType": "YulVariableDeclaration", - "src": "3979:23:10", + "src": "3171:36:11", "value": { "arguments": [ { - "name": "srcPtr", + "name": "src", "nodeType": "YulIdentifier", - "src": "3995:6:10" + "src": "3203:3:11" } ], "functionName": { - "name": "mload", + "name": "calldataload", "nodeType": "YulIdentifier", - "src": "3989:5:10" + "src": "3190:12:11" }, "nodeType": "YulFunctionCall", - "src": "3989:13:10" + "src": "3190:17:11" }, "variables": [ { - "name": "_4", + "name": "innerOffset", "nodeType": "YulTypedName", - "src": "3983:2:10", + "src": "3175:11:11", "type": "" } ] }, { "nodeType": "YulVariableDeclaration", - "src": "4015:29:10", + "src": "3220:28:11", "value": { - "arguments": [ - { - "name": "tail_2", - "nodeType": "YulIdentifier", - "src": "4033:6:10" - }, - { - "name": "_1", - "nodeType": "YulIdentifier", - "src": "4041:2:10" - } - ], - "functionName": { - "name": "add", - "nodeType": "YulIdentifier", - "src": "4029:3:10" - }, - "nodeType": "YulFunctionCall", - "src": "4029:15:10" + "kind": "number", + "nodeType": "YulLiteral", + "src": "3230:18:11", + "type": "", + "value": "0xffffffffffffffff" }, "variables": [ { - "name": "tail_3", + "name": "_3", "nodeType": "YulTypedName", - "src": "4019:6:10", + "src": "3224:2:11", "type": "" } ] }, { - "expression": { - "arguments": [ - { - "name": "tail_2", - "nodeType": "YulIdentifier", - "src": "4064:6:10" - }, + "body": { + "nodeType": "YulBlock", + "src": "3296:74:11", + "statements": [ { - "arguments": [ - { - "arguments": [ - { - "name": "_4", - "nodeType": "YulIdentifier", - "src": "4082:2:10" - } - ], + "nodeType": "YulVariableDeclaration", + "src": "3314:11:11", + "value": { + "kind": "number", + "nodeType": "YulLiteral", + "src": "3324:1:11", + "type": "", + "value": "0" + }, + "variables": [ + { + "name": "_4", + "nodeType": "YulTypedName", + "src": "3318:2:11", + "type": "" + } + ] + }, + { + "expression": { + "arguments": [ + { + "name": "_4", + "nodeType": "YulIdentifier", + "src": "3349:2:11" + }, + { + "name": "_4", + "nodeType": "YulIdentifier", + "src": "3353:2:11" + } + ], + "functionName": { + "name": "revert", + "nodeType": "YulIdentifier", + "src": "3342:6:11" + }, + "nodeType": "YulFunctionCall", + "src": "3342:14:11" + }, + "nodeType": "YulExpressionStatement", + "src": "3342:14:11" + } + ] + }, + "condition": { + "arguments": [ + { + "name": "innerOffset", + "nodeType": "YulIdentifier", + "src": "3267:11:11" + }, + { + "name": "_3", + "nodeType": "YulIdentifier", + "src": "3280:2:11" + } + ], + "functionName": { + "name": "gt", + "nodeType": "YulIdentifier", + "src": "3264:2:11" + }, + "nodeType": "YulFunctionCall", + "src": "3264:19:11" + }, + "nodeType": "YulIf", + "src": "3261:109:11" + }, + { + "nodeType": "YulVariableDeclaration", + "src": "3383:33:11", + "value": { + "arguments": [ + { + "name": "value", + "nodeType": "YulIdentifier", + "src": "3397:5:11" + }, + { + "name": "innerOffset", + "nodeType": "YulIdentifier", + "src": "3404:11:11" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "3393:3:11" + }, + "nodeType": "YulFunctionCall", + "src": "3393:23:11" + }, + "variables": [ + { + "name": "_5", + "nodeType": "YulTypedName", + "src": "3387:2:11", + "type": "" + } + ] + }, + { + "body": { + "nodeType": "YulBlock", + "src": "3479:74:11", + "statements": [ + { + "nodeType": "YulVariableDeclaration", + "src": "3497:11:11", + "value": { + "kind": "number", + "nodeType": "YulLiteral", + "src": "3507:1:11", + "type": "", + "value": "0" + }, + "variables": [ + { + "name": "_6", + "nodeType": "YulTypedName", + "src": "3501:2:11", + "type": "" + } + ] + }, + { + "expression": { + "arguments": [ + { + "name": "_6", + "nodeType": "YulIdentifier", + "src": "3532:2:11" + }, + { + "name": "_6", + "nodeType": "YulIdentifier", + "src": "3536:2:11" + } + ], + "functionName": { + "name": "revert", + "nodeType": "YulIdentifier", + "src": "3525:6:11" + }, + "nodeType": "YulFunctionCall", + "src": "3525:14:11" + }, + "nodeType": "YulExpressionStatement", + "src": "3525:14:11" + } + ] + }, + "condition": { + "arguments": [ + { + "arguments": [ + { + "arguments": [], "functionName": { - "name": "mload", + "name": "calldatasize", "nodeType": "YulIdentifier", - "src": "4076:5:10" + "src": "3440:12:11" }, "nodeType": "YulFunctionCall", - "src": "4076:9:10" + "src": "3440:14:11" }, { - "kind": "number", - "nodeType": "YulLiteral", - "src": "4087:42:10", - "type": "", - "value": "0xffffffffffffffffffffffffffffffffffffffff" + "name": "_5", + "nodeType": "YulIdentifier", + "src": "3456:2:11" } ], "functionName": { - "name": "and", + "name": "sub", + "nodeType": "YulIdentifier", + "src": "3436:3:11" + }, + "nodeType": "YulFunctionCall", + "src": "3436:23:11" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "3461:4:11", + "type": "", + "value": "0x60" + } + ], + "functionName": { + "name": "slt", + "nodeType": "YulIdentifier", + "src": "3432:3:11" + }, + "nodeType": "YulFunctionCall", + "src": "3432:34:11" + }, + "nodeType": "YulIf", + "src": "3429:124:11" + }, + { + "nodeType": "YulVariableDeclaration", + "src": "3566:37:11", + "value": { + "arguments": [], + "functionName": { + "name": "allocate_memory_2940", + "nodeType": "YulIdentifier", + "src": "3581:20:11" + }, + "nodeType": "YulFunctionCall", + "src": "3581:22:11" + }, + "variables": [ + { + "name": "value_1", + "nodeType": "YulTypedName", + "src": "3570:7:11", + "type": "" + } + ] + }, + { + "expression": { + "arguments": [ + { + "name": "value_1", + "nodeType": "YulIdentifier", + "src": "3623:7:11" + }, + { + "arguments": [ + { + "name": "_5", + "nodeType": "YulIdentifier", + "src": "3651:2:11" + } + ], + "functionName": { + "name": "abi_decode_address", "nodeType": "YulIdentifier", - "src": "4072:3:10" + "src": "3632:18:11" }, "nodeType": "YulFunctionCall", - "src": "4072:58:10" + "src": "3632:22:11" } ], "functionName": { "name": "mstore", "nodeType": "YulIdentifier", - "src": "4057:6:10" + "src": "3616:6:11" }, "nodeType": "YulFunctionCall", - "src": "4057:74:10" + "src": "3616:39:11" }, "nodeType": "YulExpressionStatement", - "src": "4057:74:10" + "src": "3616:39:11" }, { "nodeType": "YulVariableDeclaration", - "src": "4144:38:10", + "src": "3668:40:11", "value": { "arguments": [ { "arguments": [ { - "name": "_4", + "name": "_5", "nodeType": "YulIdentifier", - "src": "4174:2:10" + "src": "3700:2:11" }, { - "name": "_3", + "name": "_1", "nodeType": "YulIdentifier", - "src": "4178:2:10" + "src": "3704:2:11" } ], "functionName": { "name": "add", "nodeType": "YulIdentifier", - "src": "4170:3:10" + "src": "3696:3:11" }, "nodeType": "YulFunctionCall", - "src": "4170:11:10" + "src": "3696:11:11" } ], "functionName": { - "name": "mload", + "name": "calldataload", "nodeType": "YulIdentifier", - "src": "4164:5:10" + "src": "3683:12:11" }, "nodeType": "YulFunctionCall", - "src": "4164:18:10" + "src": "3683:25:11" }, "variables": [ { - "name": "memberValue0", + "name": "value_2", "nodeType": "YulTypedName", - "src": "4148:12:10", + "src": "3672:7:11", "type": "" } ] @@ -3090,21 +3028,51 @@ { "body": { "nodeType": "YulBlock", - "src": "4226:13:10", + "src": "3759:74:11", "statements": [ + { + "nodeType": "YulVariableDeclaration", + "src": "3777:11:11", + "value": { + "kind": "number", + "nodeType": "YulLiteral", + "src": "3787:1:11", + "type": "", + "value": "0" + }, + "variables": [ + { + "name": "_7", + "nodeType": "YulTypedName", + "src": "3781:2:11", + "type": "" + } + ] + }, { "expression": { - "arguments": [], + "arguments": [ + { + "name": "_7", + "nodeType": "YulIdentifier", + "src": "3812:2:11" + }, + { + "name": "_7", + "nodeType": "YulIdentifier", + "src": "3816:2:11" + } + ], "functionName": { - "name": "invalid", + "name": "revert", "nodeType": "YulIdentifier", - "src": "4228:7:10" + "src": "3805:6:11" }, "nodeType": "YulFunctionCall", - "src": "4228:9:10" + "src": "3805:14:11" }, "nodeType": "YulExpressionStatement", - "src": "4228:9:10" + "src": "3805:14:11" } ] }, @@ -3113,14 +3081,14 @@ { "arguments": [ { - "name": "memberValue0", + "name": "value_2", "nodeType": "YulIdentifier", - "src": "4208:12:10" + "src": "3734:7:11" }, { "kind": "number", "nodeType": "YulLiteral", - "src": "4222:1:10", + "src": "3743:1:11", "type": "", "value": "3" } @@ -3128,22 +3096,22 @@ "functionName": { "name": "lt", "nodeType": "YulIdentifier", - "src": "4205:2:10" + "src": "3731:2:11" }, "nodeType": "YulFunctionCall", - "src": "4205:19:10" + "src": "3731:14:11" } ], "functionName": { "name": "iszero", "nodeType": "YulIdentifier", - "src": "4198:6:10" + "src": "3724:6:11" }, "nodeType": "YulFunctionCall", - "src": "4198:27:10" + "src": "3724:22:11" }, "nodeType": "YulIf", - "src": "4195:2:10" + "src": "3721:112:11" }, { "expression": { @@ -3151,186 +3119,401 @@ { "arguments": [ { - "name": "tail_2", + "name": "value_1", "nodeType": "YulIdentifier", - "src": "4263:6:10" + "src": "3857:7:11" }, { - "name": "_3", + "name": "_1", "nodeType": "YulIdentifier", - "src": "4271:2:10" + "src": "3866:2:11" } ], "functionName": { "name": "add", "nodeType": "YulIdentifier", - "src": "4259:3:10" + "src": "3853:3:11" }, "nodeType": "YulFunctionCall", - "src": "4259:15:10" + "src": "3853:16:11" }, { - "name": "memberValue0", + "name": "value_2", "nodeType": "YulIdentifier", - "src": "4276:12:10" + "src": "3871:7:11" } ], "functionName": { "name": "mstore", "nodeType": "YulIdentifier", - "src": "4252:6:10" + "src": "3846:6:11" }, "nodeType": "YulFunctionCall", - "src": "4252:37:10" + "src": "3846:33:11" }, "nodeType": "YulExpressionStatement", - "src": "4252:37:10" + "src": "3846:33:11" }, { "nodeType": "YulVariableDeclaration", - "src": "4302:14:10", + "src": "3892:12:11", "value": { "kind": "number", "nodeType": "YulLiteral", - "src": "4312:4:10", + "src": "3902:2:11", "type": "", - "value": "0x40" + "value": "64" }, "variables": [ { - "name": "_5", + "name": "_8", "nodeType": "YulTypedName", - "src": "4306:2:10", + "src": "3896:2:11", "type": "" } ] }, { "nodeType": "YulVariableDeclaration", - "src": "4329:40:10", + "src": "3917:39:11", "value": { "arguments": [ { "arguments": [ { - "name": "_4", + "name": "_5", "nodeType": "YulIdentifier", - "src": "4361:2:10" + "src": "3948:2:11" }, { - "name": "_5", + "name": "_8", "nodeType": "YulIdentifier", - "src": "4365:2:10" + "src": "3952:2:11" } ], "functionName": { "name": "add", "nodeType": "YulIdentifier", - "src": "4357:3:10" + "src": "3944:3:11" }, "nodeType": "YulFunctionCall", - "src": "4357:11:10" + "src": "3944:11:11" } ], "functionName": { - "name": "mload", + "name": "calldataload", "nodeType": "YulIdentifier", - "src": "4351:5:10" + "src": "3931:12:11" }, "nodeType": "YulFunctionCall", - "src": "4351:18:10" + "src": "3931:25:11" }, "variables": [ { - "name": "memberValue0_1", + "name": "offset", "nodeType": "YulTypedName", - "src": "4333:14:10", + "src": "3921:6:11", "type": "" } ] }, { - "expression": { - "arguments": [ + "body": { + "nodeType": "YulBlock", + "src": "3999:74:11", + "statements": [ { - "arguments": [ - { - "name": "tail_2", - "nodeType": "YulIdentifier", - "src": "4393:6:10" - }, + "nodeType": "YulVariableDeclaration", + "src": "4017:11:11", + "value": { + "kind": "number", + "nodeType": "YulLiteral", + "src": "4027:1:11", + "type": "", + "value": "0" + }, + "variables": [ { - "name": "_5", - "nodeType": "YulIdentifier", - "src": "4401:2:10" + "name": "_9", + "nodeType": "YulTypedName", + "src": "4021:2:11", + "type": "" } - ], - "functionName": { - "name": "add", - "nodeType": "YulIdentifier", - "src": "4389:3:10" - }, - "nodeType": "YulFunctionCall", - "src": "4389:15:10" + ] }, { - "name": "_1", - "nodeType": "YulIdentifier", - "src": "4406:2:10" - } - ], - "functionName": { - "name": "mstore", - "nodeType": "YulIdentifier", - "src": "4382:6:10" - }, - "nodeType": "YulFunctionCall", - "src": "4382:27:10" - }, - "nodeType": "YulExpressionStatement", - "src": "4382:27:10" + "expression": { + "arguments": [ + { + "name": "_9", + "nodeType": "YulIdentifier", + "src": "4052:2:11" + }, + { + "name": "_9", + "nodeType": "YulIdentifier", + "src": "4056:2:11" + } + ], + "functionName": { + "name": "revert", + "nodeType": "YulIdentifier", + "src": "4045:6:11" + }, + "nodeType": "YulFunctionCall", + "src": "4045:14:11" + }, + "nodeType": "YulExpressionStatement", + "src": "4045:14:11" + } + ] + }, + "condition": { + "arguments": [ + { + "name": "offset", + "nodeType": "YulIdentifier", + "src": "3975:6:11" + }, + { + "name": "_3", + "nodeType": "YulIdentifier", + "src": "3983:2:11" + } + ], + "functionName": { + "name": "gt", + "nodeType": "YulIdentifier", + "src": "3972:2:11" + }, + "nodeType": "YulFunctionCall", + "src": "3972:14:11" + }, + "nodeType": "YulIf", + "src": "3969:104:11" }, { "nodeType": "YulVariableDeclaration", - "src": "4422:19:10", + "src": "4086:26:11", "value": { - "name": "tail_3", - "nodeType": "YulIdentifier", - "src": "4435:6:10" + "arguments": [ + { + "name": "_5", + "nodeType": "YulIdentifier", + "src": "4101:2:11" + }, + { + "name": "offset", + "nodeType": "YulIdentifier", + "src": "4105:6:11" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "4097:3:11" + }, + "nodeType": "YulFunctionCall", + "src": "4097:15:11" }, "variables": [ { - "name": "pos_1", + "name": "_10", "nodeType": "YulTypedName", - "src": "4426:5:10", + "src": "4090:3:11", "type": "" } ] }, + { + "body": { + "nodeType": "YulBlock", + "src": "4184:77:11", + "statements": [ + { + "nodeType": "YulVariableDeclaration", + "src": "4202:12:11", + "value": { + "kind": "number", + "nodeType": "YulLiteral", + "src": "4213:1:11", + "type": "", + "value": "0" + }, + "variables": [ + { + "name": "_11", + "nodeType": "YulTypedName", + "src": "4206:3:11", + "type": "" + } + ] + }, + { + "expression": { + "arguments": [ + { + "name": "_11", + "nodeType": "YulIdentifier", + "src": "4238:3:11" + }, + { + "name": "_11", + "nodeType": "YulIdentifier", + "src": "4243:3:11" + } + ], + "functionName": { + "name": "revert", + "nodeType": "YulIdentifier", + "src": "4231:6:11" + }, + "nodeType": "YulFunctionCall", + "src": "4231:16:11" + }, + "nodeType": "YulExpressionStatement", + "src": "4231:16:11" + } + ] + }, + "condition": { + "arguments": [ + { + "arguments": [ + { + "arguments": [ + { + "name": "_10", + "nodeType": "YulIdentifier", + "src": "4143:3:11" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "4148:4:11", + "type": "", + "value": "0x1f" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "4139:3:11" + }, + "nodeType": "YulFunctionCall", + "src": "4139:14:11" + }, + { + "arguments": [], + "functionName": { + "name": "calldatasize", + "nodeType": "YulIdentifier", + "src": "4155:12:11" + }, + "nodeType": "YulFunctionCall", + "src": "4155:14:11" + } + ], + "functionName": { + "name": "slt", + "nodeType": "YulIdentifier", + "src": "4135:3:11" + }, + "nodeType": "YulFunctionCall", + "src": "4135:35:11" + } + ], + "functionName": { + "name": "iszero", + "nodeType": "YulIdentifier", + "src": "4128:6:11" + }, + "nodeType": "YulFunctionCall", + "src": "4128:43:11" + }, + "nodeType": "YulIf", + "src": "4125:136:11" + }, { "nodeType": "YulVariableDeclaration", - "src": "4454:37:10", + "src": "4274:28:11", "value": { "arguments": [ { - "name": "memberValue0_1", + "name": "_10", "nodeType": "YulIdentifier", - "src": "4476:14:10" + "src": "4298:3:11" } ], "functionName": { - "name": "mload", + "name": "calldataload", "nodeType": "YulIdentifier", - "src": "4470:5:10" + "src": "4285:12:11" }, "nodeType": "YulFunctionCall", - "src": "4470:21:10" + "src": "4285:17:11" }, "variables": [ { - "name": "length_1", + "name": "_12", + "nodeType": "YulTypedName", + "src": "4278:3:11", + "type": "" + } + ] + }, + { + "nodeType": "YulVariableDeclaration", + "src": "4315:82:11", + "value": { + "arguments": [ + { + "arguments": [ + { + "name": "_12", + "nodeType": "YulIdentifier", + "src": "4392:3:11" + } + ], + "functionName": { + "name": "array_allocation_size_array_struct_FacetCut_dyn", + "nodeType": "YulIdentifier", + "src": "4344:47:11" + }, + "nodeType": "YulFunctionCall", + "src": "4344:52:11" + } + ], + "functionName": { + "name": "allocate_memory", + "nodeType": "YulIdentifier", + "src": "4328:15:11" + }, + "nodeType": "YulFunctionCall", + "src": "4328:69:11" + }, + "variables": [ + { + "name": "dst_2", + "nodeType": "YulTypedName", + "src": "4319:5:11", + "type": "" + } + ] + }, + { + "nodeType": "YulVariableDeclaration", + "src": "4410:18:11", + "value": { + "name": "dst_2", + "nodeType": "YulIdentifier", + "src": "4423:5:11" + }, + "variables": [ + { + "name": "dst_3", "nodeType": "YulTypedName", - "src": "4458:8:10", + "src": "4414:5:11", "type": "" } ] @@ -3339,105 +3522,120 @@ "expression": { "arguments": [ { - "name": "tail_3", + "name": "dst_2", "nodeType": "YulIdentifier", - "src": "4511:6:10" + "src": "4448:5:11" }, { - "name": "length_1", + "name": "_12", "nodeType": "YulIdentifier", - "src": "4519:8:10" + "src": "4455:3:11" } ], "functionName": { "name": "mstore", "nodeType": "YulIdentifier", - "src": "4504:6:10" + "src": "4441:6:11" }, "nodeType": "YulFunctionCall", - "src": "4504:24:10" + "src": "4441:18:11" }, "nodeType": "YulExpressionStatement", - "src": "4504:24:10" + "src": "4441:18:11" }, { "nodeType": "YulAssignment", - "src": "4541:24:10", + "src": "4472:23:11", "value": { "arguments": [ { - "name": "tail_2", + "name": "dst_2", "nodeType": "YulIdentifier", - "src": "4554:6:10" + "src": "4485:5:11" }, { - "name": "_2", + "name": "_1", "nodeType": "YulIdentifier", - "src": "4562:2:10" + "src": "4492:2:11" } ], "functionName": { "name": "add", "nodeType": "YulIdentifier", - "src": "4550:3:10" + "src": "4481:3:11" }, "nodeType": "YulFunctionCall", - "src": "4550:15:10" + "src": "4481:14:11" }, "variableNames": [ { - "name": "pos_1", + "name": "dst_2", "nodeType": "YulIdentifier", - "src": "4541:5:10" + "src": "4472:5:11" } ] }, { "nodeType": "YulVariableDeclaration", - "src": "4578:39:10", + "src": "4508:47:11", "value": { "arguments": [ { - "name": "memberValue0_1", - "nodeType": "YulIdentifier", - "src": "4598:14:10" + "arguments": [ + { + "name": "_10", + "nodeType": "YulIdentifier", + "src": "4532:3:11" + }, + { + "arguments": [ + { + "name": "_2", + "nodeType": "YulIdentifier", + "src": "4541:2:11" + }, + { + "name": "_12", + "nodeType": "YulIdentifier", + "src": "4545:3:11" + } + ], + "functionName": { + "name": "shl", + "nodeType": "YulIdentifier", + "src": "4537:3:11" + }, + "nodeType": "YulFunctionCall", + "src": "4537:12:11" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "4528:3:11" + }, + "nodeType": "YulFunctionCall", + "src": "4528:22:11" }, { - "name": "_3", + "name": "_1", "nodeType": "YulIdentifier", - "src": "4614:2:10" + "src": "4552:2:11" } ], "functionName": { "name": "add", "nodeType": "YulIdentifier", - "src": "4594:3:10" + "src": "4524:3:11" }, "nodeType": "YulFunctionCall", - "src": "4594:23:10" - }, - "variables": [ - { - "name": "srcPtr_1", - "nodeType": "YulTypedName", - "src": "4582:8:10", - "type": "" - } - ] - }, - { - "nodeType": "YulVariableDeclaration", - "src": "4630:15:10", - "value": { - "name": "tail", - "nodeType": "YulIdentifier", - "src": "4641:4:10" + "src": "4524:31:11" }, "variables": [ { - "name": "i_1", + "name": "srcEnd_1", "nodeType": "YulTypedName", - "src": "4634:3:10", + "src": "4512:8:11", "type": "" } ] @@ -3445,123 +3643,307 @@ { "body": { "nodeType": "YulBlock", - "src": "4719:221:10", + "src": "4612:77:11", "statements": [ + { + "nodeType": "YulVariableDeclaration", + "src": "4630:12:11", + "value": { + "kind": "number", + "nodeType": "YulLiteral", + "src": "4641:1:11", + "type": "", + "value": "0" + }, + "variables": [ + { + "name": "_13", + "nodeType": "YulTypedName", + "src": "4634:3:11", + "type": "" + } + ] + }, { "expression": { "arguments": [ { - "name": "pos_1", + "name": "_13", "nodeType": "YulIdentifier", - "src": "4744:5:10" + "src": "4666:3:11" }, { - "arguments": [ - { - "arguments": [ - { - "name": "srcPtr_1", - "nodeType": "YulIdentifier", - "src": "4761:8:10" - } - ], - "functionName": { - "name": "mload", - "nodeType": "YulIdentifier", - "src": "4755:5:10" - }, - "nodeType": "YulFunctionCall", - "src": "4755:15:10" - }, - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "4772:66:10", - "type": "", - "value": "0xffffffff00000000000000000000000000000000000000000000000000000000" + "name": "_13", + "nodeType": "YulIdentifier", + "src": "4671:3:11" + } + ], + "functionName": { + "name": "revert", + "nodeType": "YulIdentifier", + "src": "4659:6:11" + }, + "nodeType": "YulFunctionCall", + "src": "4659:16:11" + }, + "nodeType": "YulExpressionStatement", + "src": "4659:16:11" + } + ] + }, + "condition": { + "arguments": [ + { + "name": "srcEnd_1", + "nodeType": "YulIdentifier", + "src": "4574:8:11" + }, + { + "arguments": [], + "functionName": { + "name": "calldatasize", + "nodeType": "YulIdentifier", + "src": "4584:12:11" + }, + "nodeType": "YulFunctionCall", + "src": "4584:14:11" + } + ], + "functionName": { + "name": "gt", + "nodeType": "YulIdentifier", + "src": "4571:2:11" + }, + "nodeType": "YulFunctionCall", + "src": "4571:28:11" + }, + "nodeType": "YulIf", + "src": "4568:121:11" + }, + { + "nodeType": "YulVariableDeclaration", + "src": "4702:25:11", + "value": { + "arguments": [ + { + "name": "_10", + "nodeType": "YulIdentifier", + "src": "4719:3:11" + }, + { + "name": "_1", + "nodeType": "YulIdentifier", + "src": "4724:2:11" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "4715:3:11" + }, + "nodeType": "YulFunctionCall", + "src": "4715:12:11" + }, + "variables": [ + { + "name": "src_1", + "nodeType": "YulTypedName", + "src": "4706:5:11", + "type": "" + } + ] + }, + { + "body": { + "nodeType": "YulBlock", + "src": "4808:372:11", + "statements": [ + { + "nodeType": "YulVariableDeclaration", + "src": "4826:34:11", + "value": { + "arguments": [ + { + "name": "src_1", + "nodeType": "YulIdentifier", + "src": "4854:5:11" + } + ], + "functionName": { + "name": "calldataload", + "nodeType": "YulIdentifier", + "src": "4841:12:11" + }, + "nodeType": "YulFunctionCall", + "src": "4841:19:11" + }, + "variables": [ + { + "name": "value_3", + "nodeType": "YulTypedName", + "src": "4830:7:11", + "type": "" + } + ] + }, + { + "body": { + "nodeType": "YulBlock", + "src": "4998:89:11", + "statements": [ + { + "nodeType": "YulVariableDeclaration", + "src": "5020:12:11", + "value": { + "kind": "number", + "nodeType": "YulLiteral", + "src": "5031:1:11", + "type": "", + "value": "0" + }, + "variables": [ + { + "name": "_14", + "nodeType": "YulTypedName", + "src": "5024:3:11", + "type": "" + } + ] + }, + { + "expression": { + "arguments": [ + { + "name": "_14", + "nodeType": "YulIdentifier", + "src": "5060:3:11" + }, + { + "name": "_14", + "nodeType": "YulIdentifier", + "src": "5065:3:11" + } + ], + "functionName": { + "name": "revert", + "nodeType": "YulIdentifier", + "src": "5053:6:11" + }, + "nodeType": "YulFunctionCall", + "src": "5053:16:11" + }, + "nodeType": "YulExpressionStatement", + "src": "5053:16:11" + } + ] + }, + "condition": { + "arguments": [ + { + "arguments": [ + { + "name": "value_3", + "nodeType": "YulIdentifier", + "src": "4890:7:11" + }, + { + "arguments": [ + { + "name": "value_3", + "nodeType": "YulIdentifier", + "src": "4903:7:11" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "4912:66:11", + "type": "", + "value": "0xffffffff00000000000000000000000000000000000000000000000000000000" + } + ], + "functionName": { + "name": "and", + "nodeType": "YulIdentifier", + "src": "4899:3:11" + }, + "nodeType": "YulFunctionCall", + "src": "4899:80:11" } ], "functionName": { - "name": "and", + "name": "eq", "nodeType": "YulIdentifier", - "src": "4751:3:10" + "src": "4887:2:11" }, "nodeType": "YulFunctionCall", - "src": "4751:88:10" + "src": "4887:93:11" } ], "functionName": { - "name": "mstore", + "name": "iszero", "nodeType": "YulIdentifier", - "src": "4737:6:10" + "src": "4880:6:11" }, "nodeType": "YulFunctionCall", - "src": "4737:103:10" + "src": "4880:101:11" }, - "nodeType": "YulExpressionStatement", - "src": "4737:103:10" + "nodeType": "YulIf", + "src": "4877:210:11" }, { - "nodeType": "YulAssignment", - "src": "4857:23:10", - "value": { + "expression": { "arguments": [ { - "name": "pos_1", + "name": "dst_2", "nodeType": "YulIdentifier", - "src": "4870:5:10" + "src": "5111:5:11" }, { - "name": "_3", + "name": "value_3", "nodeType": "YulIdentifier", - "src": "4877:2:10" + "src": "5118:7:11" } ], "functionName": { - "name": "add", + "name": "mstore", "nodeType": "YulIdentifier", - "src": "4866:3:10" + "src": "5104:6:11" }, "nodeType": "YulFunctionCall", - "src": "4866:14:10" + "src": "5104:22:11" }, - "variableNames": [ - { - "name": "pos_1", - "nodeType": "YulIdentifier", - "src": "4857:5:10" - } - ] + "nodeType": "YulExpressionStatement", + "src": "5104:22:11" }, { "nodeType": "YulAssignment", - "src": "4897:29:10", + "src": "5143:23:11", "value": { "arguments": [ { - "name": "srcPtr_1", + "name": "dst_2", "nodeType": "YulIdentifier", - "src": "4913:8:10" + "src": "5156:5:11" }, { - "name": "_3", + "name": "_1", "nodeType": "YulIdentifier", - "src": "4923:2:10" + "src": "5163:2:11" } ], "functionName": { "name": "add", "nodeType": "YulIdentifier", - "src": "4909:3:10" + "src": "5152:3:11" }, "nodeType": "YulFunctionCall", - "src": "4909:17:10" + "src": "5152:14:11" }, "variableNames": [ { - "name": "srcPtr_1", + "name": "dst_2", "nodeType": "YulIdentifier", - "src": "4897:8:10" + "src": "5143:5:11" } ] } @@ -3570,60 +3952,58 @@ "condition": { "arguments": [ { - "name": "i_1", + "name": "src_1", "nodeType": "YulIdentifier", - "src": "4669:3:10" + "src": "4751:5:11" }, { - "name": "length_1", + "name": "srcEnd_1", "nodeType": "YulIdentifier", - "src": "4674:8:10" + "src": "4758:8:11" } ], "functionName": { "name": "lt", "nodeType": "YulIdentifier", - "src": "4666:2:10" + "src": "4748:2:11" }, "nodeType": "YulFunctionCall", - "src": "4666:17:10" + "src": "4748:19:11" }, "nodeType": "YulForLoop", "post": { "nodeType": "YulBlock", - "src": "4684:22:10", + "src": "4768:27:11", "statements": [ { "nodeType": "YulAssignment", - "src": "4686:18:10", + "src": "4770:23:11", "value": { "arguments": [ { - "name": "i_1", + "name": "src_1", "nodeType": "YulIdentifier", - "src": "4697:3:10" + "src": "4783:5:11" }, { - "kind": "number", - "nodeType": "YulLiteral", - "src": "4702:1:10", - "type": "", - "value": "1" + "name": "_1", + "nodeType": "YulIdentifier", + "src": "4790:2:11" } ], "functionName": { "name": "add", "nodeType": "YulIdentifier", - "src": "4693:3:10" + "src": "4779:3:11" }, "nodeType": "YulFunctionCall", - "src": "4693:11:10" + "src": "4779:14:11" }, "variableNames": [ { - "name": "i_1", + "name": "src_1", "nodeType": "YulIdentifier", - "src": "4686:3:10" + "src": "4770:5:11" } ] } @@ -3631,88 +4011,106 @@ }, "pre": { "nodeType": "YulBlock", - "src": "4662:3:10", + "src": "4744:3:11", "statements": [] }, - "src": "4658:282:10" + "src": "4740:440:11" }, { - "nodeType": "YulAssignment", - "src": "4953:15:10", - "value": { - "name": "pos_1", - "nodeType": "YulIdentifier", - "src": "4963:5:10" - }, - "variableNames": [ - { - "name": "tail_2", + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "value_1", + "nodeType": "YulIdentifier", + "src": "5204:7:11" + }, + { + "name": "_8", + "nodeType": "YulIdentifier", + "src": "5213:2:11" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "5200:3:11" + }, + "nodeType": "YulFunctionCall", + "src": "5200:16:11" + }, + { + "name": "dst_3", + "nodeType": "YulIdentifier", + "src": "5218:5:11" + } + ], + "functionName": { + "name": "mstore", "nodeType": "YulIdentifier", - "src": "4953:6:10" - } - ] + "src": "5193:6:11" + }, + "nodeType": "YulFunctionCall", + "src": "5193:31:11" + }, + "nodeType": "YulExpressionStatement", + "src": "5193:31:11" }, { - "nodeType": "YulAssignment", - "src": "4981:25:10", - "value": { + "expression": { "arguments": [ { - "name": "srcPtr", + "name": "dst", "nodeType": "YulIdentifier", - "src": "4995:6:10" + "src": "5244:3:11" }, { - "name": "_3", + "name": "value_1", "nodeType": "YulIdentifier", - "src": "5003:2:10" + "src": "5249:7:11" } ], "functionName": { - "name": "add", + "name": "mstore", "nodeType": "YulIdentifier", - "src": "4991:3:10" + "src": "5237:6:11" }, "nodeType": "YulFunctionCall", - "src": "4991:15:10" + "src": "5237:20:11" }, - "variableNames": [ - { - "name": "srcPtr", - "nodeType": "YulIdentifier", - "src": "4981:6:10" - } - ] + "nodeType": "YulExpressionStatement", + "src": "5237:20:11" }, { "nodeType": "YulAssignment", - "src": "5019:19:10", + "src": "5270:19:11", "value": { "arguments": [ { - "name": "pos", + "name": "dst", "nodeType": "YulIdentifier", - "src": "5030:3:10" + "src": "5281:3:11" }, { - "name": "_3", + "name": "_1", "nodeType": "YulIdentifier", - "src": "5035:2:10" + "src": "5286:2:11" } ], "functionName": { "name": "add", "nodeType": "YulIdentifier", - "src": "5026:3:10" + "src": "5277:3:11" }, "nodeType": "YulFunctionCall", - "src": "5026:12:10" + "src": "5277:12:11" }, "variableNames": [ { - "name": "pos", + "name": "dst", "nodeType": "YulIdentifier", - "src": "5019:3:10" + "src": "5270:3:11" } ] } @@ -3721,60 +4119,58 @@ "condition": { "arguments": [ { - "name": "i", + "name": "src", "nodeType": "YulIdentifier", - "src": "3806:1:10" + "src": "3112:3:11" }, { - "name": "length", + "name": "srcEnd", "nodeType": "YulIdentifier", - "src": "3809:6:10" + "src": "3117:6:11" } ], "functionName": { "name": "lt", "nodeType": "YulIdentifier", - "src": "3803:2:10" + "src": "3109:2:11" }, "nodeType": "YulFunctionCall", - "src": "3803:13:10" + "src": "3109:15:11" }, "nodeType": "YulForLoop", "post": { "nodeType": "YulBlock", - "src": "3817:18:10", + "src": "3125:23:11", "statements": [ { "nodeType": "YulAssignment", - "src": "3819:14:10", + "src": "3127:19:11", "value": { "arguments": [ { - "name": "i", + "name": "src", "nodeType": "YulIdentifier", - "src": "3828:1:10" + "src": "3138:3:11" }, { - "kind": "number", - "nodeType": "YulLiteral", - "src": "3831:1:10", - "type": "", - "value": "1" + "name": "_1", + "nodeType": "YulIdentifier", + "src": "3143:2:11" } ], "functionName": { "name": "add", "nodeType": "YulIdentifier", - "src": "3824:3:10" + "src": "3134:3:11" }, "nodeType": "YulFunctionCall", - "src": "3824:9:10" + "src": "3134:12:11" }, "variableNames": [ { - "name": "i", + "name": "src", "nodeType": "YulIdentifier", - "src": "3819:1:10" + "src": "3127:3:11" } ] } @@ -3782,51 +4178,131 @@ }, "pre": { "nodeType": "YulBlock", - "src": "3799:3:10", + "src": "3105:3:11", "statements": [] }, - "src": "3795:1253:10" + "src": "3101:2198:11" }, + { + "nodeType": "YulAssignment", + "src": "5308:18:11", + "value": { + "name": "dst_1", + "nodeType": "YulIdentifier", + "src": "5321:5:11" + }, + "variableNames": [ + { + "name": "converted", + "nodeType": "YulIdentifier", + "src": "5308:9:11" + } + ] + } + ] + }, + "name": "convert_array_t_array$_t_struct$_FacetCut_$711_calldata_ptr_$dyn_calldata_ptr_to_t_array$_t_struct$_FacetCut_$711_memory_ptr_$dyn_memory_ptr", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "value", + "nodeType": "YulTypedName", + "src": "2713:5:11", + "type": "" + }, + { + "name": "length", + "nodeType": "YulTypedName", + "src": "2720:6:11", + "type": "" + } + ], + "returnVariables": [ + { + "name": "converted", + "nodeType": "YulTypedName", + "src": "2731:9:11", + "type": "" + } + ], + "src": "2563:2769:11" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "5511:224:11", + "statements": [ { "expression": { "arguments": [ { - "name": "value1", + "name": "headStart", "nodeType": "YulIdentifier", - "src": "5078:6:10" + "src": "5528:9:11" }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "5539:2:11", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "5521:6:11" + }, + "nodeType": "YulFunctionCall", + "src": "5521:21:11" + }, + "nodeType": "YulExpressionStatement", + "src": "5521:21:11" + }, + { + "expression": { + "arguments": [ { "arguments": [ { "name": "headStart", "nodeType": "YulIdentifier", - "src": "5090:9:10" + "src": "5562:9:11" }, { - "name": "_3", - "nodeType": "YulIdentifier", - "src": "5101:2:10" + "kind": "number", + "nodeType": "YulLiteral", + "src": "5573:2:11", + "type": "", + "value": "32" } ], "functionName": { "name": "add", "nodeType": "YulIdentifier", - "src": "5086:3:10" + "src": "5558:3:11" }, "nodeType": "YulFunctionCall", - "src": "5086:18:10" + "src": "5558:18:11" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "5578:2:11", + "type": "", + "value": "34" } ], "functionName": { - "name": "abi_encode_t_address", + "name": "mstore", "nodeType": "YulIdentifier", - "src": "5057:20:10" + "src": "5551:6:11" }, "nodeType": "YulFunctionCall", - "src": "5057:48:10" + "src": "5551:30:11" }, "nodeType": "YulExpressionStatement", - "src": "5057:48:10" + "src": "5551:30:11" }, { "expression": { @@ -3836,116 +4312,133 @@ { "name": "headStart", "nodeType": "YulIdentifier", - "src": "5125:9:10" + "src": "5601:9:11" }, { "kind": "number", "nodeType": "YulLiteral", - "src": "5136:4:10", + "src": "5612:2:11", "type": "", - "value": "0x40" + "value": "64" } ], "functionName": { "name": "add", "nodeType": "YulIdentifier", - "src": "5121:3:10" + "src": "5597:3:11" }, "nodeType": "YulFunctionCall", - "src": "5121:20:10" + "src": "5597:18:11" }, + { + "hexValue": "4c69624469616d6f6e643a204d75737420626520636f6e7472616374206f776e", + "kind": "string", + "nodeType": "YulLiteral", + "src": "5617:34:11", + "type": "", + "value": "LibDiamond: Must be contract own" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "5590:6:11" + }, + "nodeType": "YulFunctionCall", + "src": "5590:62:11" + }, + "nodeType": "YulExpressionStatement", + "src": "5590:62:11" + }, + { + "expression": { + "arguments": [ { "arguments": [ { - "name": "tail_2", + "name": "headStart", "nodeType": "YulIdentifier", - "src": "5147:6:10" + "src": "5672:9:11" }, { - "name": "headStart", - "nodeType": "YulIdentifier", - "src": "5155:9:10" + "kind": "number", + "nodeType": "YulLiteral", + "src": "5683:2:11", + "type": "", + "value": "96" } ], "functionName": { - "name": "sub", + "name": "add", "nodeType": "YulIdentifier", - "src": "5143:3:10" + "src": "5668:3:11" }, "nodeType": "YulFunctionCall", - "src": "5143:22:10" + "src": "5668:18:11" + }, + { + "hexValue": "6572", + "kind": "string", + "nodeType": "YulLiteral", + "src": "5688:4:11", + "type": "", + "value": "er" } ], "functionName": { "name": "mstore", "nodeType": "YulIdentifier", - "src": "5114:6:10" + "src": "5661:6:11" }, "nodeType": "YulFunctionCall", - "src": "5114:52:10" + "src": "5661:32:11" }, "nodeType": "YulExpressionStatement", - "src": "5114:52:10" + "src": "5661:32:11" }, { "nodeType": "YulAssignment", - "src": "5175:42:10", + "src": "5702:27:11", "value": { "arguments": [ { - "name": "value2", + "name": "headStart", "nodeType": "YulIdentifier", - "src": "5202:6:10" + "src": "5714:9:11" }, { - "name": "tail_2", - "nodeType": "YulIdentifier", - "src": "5210:6:10" + "kind": "number", + "nodeType": "YulLiteral", + "src": "5725:3:11", + "type": "", + "value": "128" } ], "functionName": { - "name": "abi_encode_t_bytes", + "name": "add", "nodeType": "YulIdentifier", - "src": "5183:18:10" + "src": "5710:3:11" }, "nodeType": "YulFunctionCall", - "src": "5183:34:10" + "src": "5710:19:11" }, "variableNames": [ { "name": "tail", "nodeType": "YulIdentifier", - "src": "5175:4:10" + "src": "5702:4:11" } ] } ] }, - "name": "abi_encode_tuple_t_array$_t_struct$_FacetCut_$679_memory_ptr_$dyn_memory_ptr_t_address_t_bytes_memory_ptr__to_t_array$_t_struct$_FacetCut_$679_memory_ptr_$dyn_memory_ptr_t_address_t_bytes_memory_ptr__fromStack_reversed", + "name": "abi_encode_tuple_t_stringliteral_0d4ae41009c51fd276653a54d7793c24f266ddc8c56ce21f8be5e2c6595ab3ac__to_t_string_memory_ptr__fromStack_reversed", "nodeType": "YulFunctionDefinition", "parameters": [ { "name": "headStart", "nodeType": "YulTypedName", - "src": "3351:9:10", - "type": "" - }, - { - "name": "value2", - "nodeType": "YulTypedName", - "src": "3362:6:10", - "type": "" - }, - { - "name": "value1", - "nodeType": "YulTypedName", - "src": "3370:6:10", - "type": "" - }, - { - "name": "value0", - "nodeType": "YulTypedName", - "src": "3378:6:10", + "src": "5488:9:11", "type": "" } ], @@ -3953,126 +4446,212 @@ { "name": "tail", "nodeType": "YulTypedName", - "src": "3389:4:10", + "src": "5502:4:11", "type": "" } ], - "src": "3123:2100:10" + "src": "5337:398:11" }, { "body": { "nodeType": "YulBlock", - "src": "5349:100:10", + "src": "5772:152:11", "statements": [ { "expression": { "arguments": [ { - "name": "headStart", - "nodeType": "YulIdentifier", - "src": "5366:9:10" + "kind": "number", + "nodeType": "YulLiteral", + "src": "5789:1:11", + "type": "", + "value": "0" }, { "kind": "number", "nodeType": "YulLiteral", - "src": "5377:2:10", + "src": "5792:77:11", "type": "", - "value": "32" + "value": "35408467139433450592217433187231851964531694900788300625387963629091585785856" } ], "functionName": { "name": "mstore", "nodeType": "YulIdentifier", - "src": "5359:6:10" + "src": "5782:6:11" }, "nodeType": "YulFunctionCall", - "src": "5359:21:10" + "src": "5782:88:11" }, "nodeType": "YulExpressionStatement", - "src": "5359:21:10" + "src": "5782:88:11" }, { - "nodeType": "YulAssignment", - "src": "5389:54:10", - "value": { + "expression": { "arguments": [ { - "name": "value0", - "nodeType": "YulIdentifier", - "src": "5416:6:10" + "kind": "number", + "nodeType": "YulLiteral", + "src": "5886:1:11", + "type": "", + "value": "4" }, { - "arguments": [ - { - "name": "headStart", - "nodeType": "YulIdentifier", - "src": "5428:9:10" - }, - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "5439:2:10", - "type": "", - "value": "32" - } - ], - "functionName": { - "name": "add", - "nodeType": "YulIdentifier", - "src": "5424:3:10" - }, - "nodeType": "YulFunctionCall", - "src": "5424:18:10" + "kind": "number", + "nodeType": "YulLiteral", + "src": "5889:4:11", + "type": "", + "value": "0x32" } ], "functionName": { - "name": "abi_encode_t_bytes", + "name": "mstore", "nodeType": "YulIdentifier", - "src": "5397:18:10" + "src": "5879:6:11" }, "nodeType": "YulFunctionCall", - "src": "5397:46:10" + "src": "5879:15:11" }, - "variableNames": [ - { - "name": "tail", + "nodeType": "YulExpressionStatement", + "src": "5879:15:11" + }, + { + "expression": { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "5910:1:11", + "type": "", + "value": "0" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "5913:4:11", + "type": "", + "value": "0x24" + } + ], + "functionName": { + "name": "revert", "nodeType": "YulIdentifier", - "src": "5389:4:10" - } - ] + "src": "5903:6:11" + }, + "nodeType": "YulFunctionCall", + "src": "5903:15:11" + }, + "nodeType": "YulExpressionStatement", + "src": "5903:15:11" } ] }, - "name": "abi_encode_tuple_t_string_memory_ptr__to_t_string_memory_ptr__fromStack_reversed", + "name": "panic_error_0x32", "nodeType": "YulFunctionDefinition", - "parameters": [ - { - "name": "headStart", - "nodeType": "YulTypedName", - "src": "5318:9:10", - "type": "" - }, - { - "name": "value0", - "nodeType": "YulTypedName", - "src": "5329:6:10", - "type": "" - } - ], - "returnVariables": [ - { - "name": "tail", - "nodeType": "YulTypedName", - "src": "5340:4:10", - "type": "" - } - ], - "src": "5228:221:10" + "src": "5740:184:11" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "5961:152:11", + "statements": [ + { + "expression": { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "5978:1:11", + "type": "", + "value": "0" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "5981:77:11", + "type": "", + "value": "35408467139433450592217433187231851964531694900788300625387963629091585785856" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "5971:6:11" + }, + "nodeType": "YulFunctionCall", + "src": "5971:88:11" + }, + "nodeType": "YulExpressionStatement", + "src": "5971:88:11" + }, + { + "expression": { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "6075:1:11", + "type": "", + "value": "4" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "6078:4:11", + "type": "", + "value": "0x21" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "6068:6:11" + }, + "nodeType": "YulFunctionCall", + "src": "6068:15:11" + }, + "nodeType": "YulExpressionStatement", + "src": "6068:15:11" + }, + { + "expression": { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "6099:1:11", + "type": "", + "value": "0" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "6102:4:11", + "type": "", + "value": "0x24" + } + ], + "functionName": { + "name": "revert", + "nodeType": "YulIdentifier", + "src": "6092:6:11" + }, + "nodeType": "YulFunctionCall", + "src": "6092:15:11" + }, + "nodeType": "YulExpressionStatement", + "src": "6092:15:11" + } + ] + }, + "name": "panic_error_0x21", + "nodeType": "YulFunctionDefinition", + "src": "5929:184:11" }, { "body": { "nodeType": "YulBlock", - "src": "5628:250:10", + "src": "6292:229:11", "statements": [ { "expression": { @@ -4080,12 +4659,12 @@ { "name": "headStart", "nodeType": "YulIdentifier", - "src": "5645:9:10" + "src": "6309:9:11" }, { "kind": "number", "nodeType": "YulLiteral", - "src": "5656:2:10", + "src": "6320:2:11", "type": "", "value": "32" } @@ -4093,13 +4672,13 @@ "functionName": { "name": "mstore", "nodeType": "YulIdentifier", - "src": "5638:6:10" + "src": "6302:6:11" }, "nodeType": "YulFunctionCall", - "src": "5638:21:10" + "src": "6302:21:11" }, "nodeType": "YulExpressionStatement", - "src": "5638:21:10" + "src": "6302:21:11" }, { "expression": { @@ -4109,12 +4688,12 @@ { "name": "headStart", "nodeType": "YulIdentifier", - "src": "5679:9:10" + "src": "6343:9:11" }, { "kind": "number", "nodeType": "YulLiteral", - "src": "5690:2:10", + "src": "6354:2:11", "type": "", "value": "32" } @@ -4122,29 +4701,29 @@ "functionName": { "name": "add", "nodeType": "YulIdentifier", - "src": "5675:3:10" + "src": "6339:3:11" }, "nodeType": "YulFunctionCall", - "src": "5675:18:10" + "src": "6339:18:11" }, { "kind": "number", "nodeType": "YulLiteral", - "src": "5695:2:10", + "src": "6359:2:11", "type": "", - "value": "60" + "value": "39" } ], "functionName": { "name": "mstore", "nodeType": "YulIdentifier", - "src": "5668:6:10" + "src": "6332:6:11" }, "nodeType": "YulFunctionCall", - "src": "5668:30:10" + "src": "6332:30:11" }, "nodeType": "YulExpressionStatement", - "src": "5668:30:10" + "src": "6332:30:11" }, { "expression": { @@ -4154,12 +4733,12 @@ { "name": "headStart", "nodeType": "YulIdentifier", - "src": "5718:9:10" + "src": "6382:9:11" }, { "kind": "number", "nodeType": "YulLiteral", - "src": "5729:2:10", + "src": "6393:2:11", "type": "", "value": "64" } @@ -4167,29 +4746,30 @@ "functionName": { "name": "add", "nodeType": "YulIdentifier", - "src": "5714:3:10" + "src": "6378:3:11" }, "nodeType": "YulFunctionCall", - "src": "5714:18:10" + "src": "6378:18:11" }, { + "hexValue": "4c69624469616d6f6e644375743a20496e636f72726563742046616365744375", "kind": "string", "nodeType": "YulLiteral", - "src": "5734:34:10", + "src": "6398:34:11", "type": "", - "value": "LibDiamondCut: _init is address(" + "value": "LibDiamondCut: Incorrect FacetCu" } ], "functionName": { "name": "mstore", "nodeType": "YulIdentifier", - "src": "5707:6:10" + "src": "6371:6:11" }, "nodeType": "YulFunctionCall", - "src": "5707:62:10" + "src": "6371:62:11" }, "nodeType": "YulExpressionStatement", - "src": "5707:62:10" + "src": "6371:62:11" }, { "expression": { @@ -4199,12 +4779,12 @@ { "name": "headStart", "nodeType": "YulIdentifier", - "src": "5789:9:10" + "src": "6453:9:11" }, { "kind": "number", "nodeType": "YulLiteral", - "src": "5800:2:10", + "src": "6464:2:11", "type": "", "value": "96" } @@ -4212,44 +4792,45 @@ "functionName": { "name": "add", "nodeType": "YulIdentifier", - "src": "5785:3:10" + "src": "6449:3:11" }, "nodeType": "YulFunctionCall", - "src": "5785:18:10" + "src": "6449:18:11" }, { + "hexValue": "74416374696f6e", "kind": "string", "nodeType": "YulLiteral", - "src": "5805:30:10", + "src": "6469:9:11", "type": "", - "value": "0) but_calldata is not empty" + "value": "tAction" } ], "functionName": { "name": "mstore", "nodeType": "YulIdentifier", - "src": "5778:6:10" + "src": "6442:6:11" }, "nodeType": "YulFunctionCall", - "src": "5778:58:10" + "src": "6442:37:11" }, "nodeType": "YulExpressionStatement", - "src": "5778:58:10" + "src": "6442:37:11" }, { "nodeType": "YulAssignment", - "src": "5845:27:10", + "src": "6488:27:11", "value": { "arguments": [ { "name": "headStart", "nodeType": "YulIdentifier", - "src": "5857:9:10" + "src": "6500:9:11" }, { "kind": "number", "nodeType": "YulLiteral", - "src": "5868:3:10", + "src": "6511:3:11", "type": "", "value": "128" } @@ -4257,28 +4838,28 @@ "functionName": { "name": "add", "nodeType": "YulIdentifier", - "src": "5853:3:10" + "src": "6496:3:11" }, "nodeType": "YulFunctionCall", - "src": "5853:19:10" + "src": "6496:19:11" }, "variableNames": [ { "name": "tail", "nodeType": "YulIdentifier", - "src": "5845:4:10" + "src": "6488:4:11" } ] } ] }, - "name": "abi_encode_tuple_t_stringliteral_046c761a688d1dc3c500562bc5aaa3544f01f394f9bb3b69aa2a950a45afb1f8__to_t_string_memory_ptr__fromStack_reversed", + "name": "abi_encode_tuple_t_stringliteral_48267d8daf5ea9c6bbad1fe9c53dc4c04a2a01b2b85bad432956cf42f45b2f54__to_t_string_memory_ptr__fromStack_reversed", "nodeType": "YulFunctionDefinition", "parameters": [ { "name": "headStart", "nodeType": "YulTypedName", - "src": "5605:9:10", + "src": "6269:9:11", "type": "" } ], @@ -4286,757 +4867,611 @@ { "name": "tail", "nodeType": "YulTypedName", - "src": "5619:4:10", + "src": "6283:4:11", "type": "" } ], - "src": "5454:424:10" + "src": "6118:403:11" }, { "body": { "nodeType": "YulBlock", - "src": "6057:228:10", + "src": "6558:152:11", "statements": [ { "expression": { "arguments": [ { - "name": "headStart", - "nodeType": "YulIdentifier", - "src": "6074:9:10" + "kind": "number", + "nodeType": "YulLiteral", + "src": "6575:1:11", + "type": "", + "value": "0" }, { "kind": "number", "nodeType": "YulLiteral", - "src": "6085:2:10", + "src": "6578:77:11", "type": "", - "value": "32" + "value": "35408467139433450592217433187231851964531694900788300625387963629091585785856" } ], "functionName": { "name": "mstore", "nodeType": "YulIdentifier", - "src": "6067:6:10" + "src": "6568:6:11" }, "nodeType": "YulFunctionCall", - "src": "6067:21:10" + "src": "6568:88:11" }, "nodeType": "YulExpressionStatement", - "src": "6067:21:10" + "src": "6568:88:11" }, { "expression": { "arguments": [ { - "arguments": [ - { - "name": "headStart", - "nodeType": "YulIdentifier", - "src": "6108:9:10" - }, - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "6119:2:10", - "type": "", - "value": "32" - } - ], - "functionName": { - "name": "add", - "nodeType": "YulIdentifier", - "src": "6104:3:10" - }, - "nodeType": "YulFunctionCall", - "src": "6104:18:10" + "kind": "number", + "nodeType": "YulLiteral", + "src": "6672:1:11", + "type": "", + "value": "4" }, { "kind": "number", "nodeType": "YulLiteral", - "src": "6124:2:10", + "src": "6675:4:11", "type": "", - "value": "38" + "value": "0x11" } ], "functionName": { "name": "mstore", "nodeType": "YulIdentifier", - "src": "6097:6:10" + "src": "6665:6:11" }, "nodeType": "YulFunctionCall", - "src": "6097:30:10" + "src": "6665:15:11" }, "nodeType": "YulExpressionStatement", - "src": "6097:30:10" + "src": "6665:15:11" }, { "expression": { "arguments": [ { - "arguments": [ - { - "name": "headStart", - "nodeType": "YulIdentifier", - "src": "6147:9:10" - }, - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "6158:2:10", - "type": "", - "value": "64" - } - ], - "functionName": { - "name": "add", - "nodeType": "YulIdentifier", - "src": "6143:3:10" - }, - "nodeType": "YulFunctionCall", - "src": "6143:18:10" + "kind": "number", + "nodeType": "YulLiteral", + "src": "6696:1:11", + "type": "", + "value": "0" }, { - "kind": "string", + "kind": "number", "nodeType": "YulLiteral", - "src": "6163:34:10", + "src": "6699:4:11", "type": "", - "value": "LibDiamondCut: _init function re" + "value": "0x24" } ], "functionName": { - "name": "mstore", + "name": "revert", "nodeType": "YulIdentifier", - "src": "6136:6:10" + "src": "6689:6:11" }, "nodeType": "YulFunctionCall", - "src": "6136:62:10" + "src": "6689:15:11" }, "nodeType": "YulExpressionStatement", - "src": "6136:62:10" - }, + "src": "6689:15:11" + } + ] + }, + "name": "panic_error_0x11", + "nodeType": "YulFunctionDefinition", + "src": "6526:184:11" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "6762:148:11", + "statements": [ { - "expression": { - "arguments": [ + "body": { + "nodeType": "YulBlock", + "src": "6853:22:11", + "statements": [ { - "arguments": [ - { - "name": "headStart", + "expression": { + "arguments": [], + "functionName": { + "name": "panic_error_0x11", "nodeType": "YulIdentifier", - "src": "6218:9:10" + "src": "6855:16:11" }, - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "6229:2:10", - "type": "", - "value": "96" - } - ], - "functionName": { - "name": "add", - "nodeType": "YulIdentifier", - "src": "6214:3:10" + "nodeType": "YulFunctionCall", + "src": "6855:18:11" }, - "nodeType": "YulFunctionCall", - "src": "6214:18:10" + "nodeType": "YulExpressionStatement", + "src": "6855:18:11" + } + ] + }, + "condition": { + "arguments": [ + { + "name": "value", + "nodeType": "YulIdentifier", + "src": "6778:5:11" }, { - "kind": "string", + "kind": "number", "nodeType": "YulLiteral", - "src": "6234:8:10", + "src": "6785:66:11", "type": "", - "value": "verted" + "value": "0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff" } ], "functionName": { - "name": "mstore", + "name": "eq", "nodeType": "YulIdentifier", - "src": "6207:6:10" + "src": "6775:2:11" }, "nodeType": "YulFunctionCall", - "src": "6207:36:10" + "src": "6775:77:11" }, - "nodeType": "YulExpressionStatement", - "src": "6207:36:10" + "nodeType": "YulIf", + "src": "6772:103:11" }, { "nodeType": "YulAssignment", - "src": "6252:27:10", + "src": "6884:20:11", "value": { "arguments": [ { - "name": "headStart", + "name": "value", "nodeType": "YulIdentifier", - "src": "6264:9:10" + "src": "6895:5:11" }, { "kind": "number", "nodeType": "YulLiteral", - "src": "6275:3:10", + "src": "6902:1:11", "type": "", - "value": "128" + "value": "1" } ], "functionName": { "name": "add", "nodeType": "YulIdentifier", - "src": "6260:3:10" + "src": "6891:3:11" }, "nodeType": "YulFunctionCall", - "src": "6260:19:10" + "src": "6891:13:11" }, "variableNames": [ { - "name": "tail", + "name": "ret", "nodeType": "YulIdentifier", - "src": "6252:4:10" + "src": "6884:3:11" } ] } ] }, - "name": "abi_encode_tuple_t_stringliteral_080b2fe78815767d522290509c8fce2af708c8a54455ca1b0cc978c92822465d__to_t_string_memory_ptr__fromStack_reversed", + "name": "increment_t_uint256", "nodeType": "YulFunctionDefinition", "parameters": [ { - "name": "headStart", + "name": "value", "nodeType": "YulTypedName", - "src": "6034:9:10", + "src": "6744:5:11", "type": "" } ], "returnVariables": [ { - "name": "tail", + "name": "ret", "nodeType": "YulTypedName", - "src": "6048:4:10", + "src": "6754:3:11", "type": "" } ], - "src": "5883:402:10" + "src": "6715:195:11" }, { "body": { "nodeType": "YulBlock", - "src": "6464:224:10", + "src": "6959:83:11", "statements": [ { "expression": { "arguments": [ { - "name": "headStart", + "name": "pos", "nodeType": "YulIdentifier", - "src": "6481:9:10" - }, - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "6492:2:10", - "type": "", - "value": "32" - } - ], - "functionName": { - "name": "mstore", - "nodeType": "YulIdentifier", - "src": "6474:6:10" - }, - "nodeType": "YulFunctionCall", - "src": "6474:21:10" - }, - "nodeType": "YulExpressionStatement", - "src": "6474:21:10" - }, - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "name": "headStart", - "nodeType": "YulIdentifier", - "src": "6515:9:10" - }, - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "6526:2:10", - "type": "", - "value": "32" - } - ], - "functionName": { - "name": "add", - "nodeType": "YulIdentifier", - "src": "6511:3:10" - }, - "nodeType": "YulFunctionCall", - "src": "6511:18:10" - }, - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "6531:2:10", - "type": "", - "value": "34" - } - ], - "functionName": { - "name": "mstore", - "nodeType": "YulIdentifier", - "src": "6504:6:10" - }, - "nodeType": "YulFunctionCall", - "src": "6504:30:10" - }, - "nodeType": "YulExpressionStatement", - "src": "6504:30:10" - }, - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "name": "headStart", - "nodeType": "YulIdentifier", - "src": "6554:9:10" - }, - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "6565:2:10", - "type": "", - "value": "64" - } - ], - "functionName": { - "name": "add", - "nodeType": "YulIdentifier", - "src": "6550:3:10" - }, - "nodeType": "YulFunctionCall", - "src": "6550:18:10" + "src": "6976:3:11" }, - { - "kind": "string", - "nodeType": "YulLiteral", - "src": "6570:34:10", - "type": "", - "value": "LibDiamond: Must be contract own" - } - ], - "functionName": { - "name": "mstore", - "nodeType": "YulIdentifier", - "src": "6543:6:10" - }, - "nodeType": "YulFunctionCall", - "src": "6543:62:10" - }, - "nodeType": "YulExpressionStatement", - "src": "6543:62:10" - }, - { - "expression": { - "arguments": [ { "arguments": [ { - "name": "headStart", + "name": "value", "nodeType": "YulIdentifier", - "src": "6625:9:10" + "src": "6985:5:11" }, { "kind": "number", "nodeType": "YulLiteral", - "src": "6636:2:10", + "src": "6992:42:11", "type": "", - "value": "96" + "value": "0xffffffffffffffffffffffffffffffffffffffff" } ], "functionName": { - "name": "add", + "name": "and", "nodeType": "YulIdentifier", - "src": "6621:3:10" + "src": "6981:3:11" }, "nodeType": "YulFunctionCall", - "src": "6621:18:10" - }, - { - "kind": "string", - "nodeType": "YulLiteral", - "src": "6641:4:10", - "type": "", - "value": "er" + "src": "6981:54:11" } ], "functionName": { "name": "mstore", "nodeType": "YulIdentifier", - "src": "6614:6:10" + "src": "6969:6:11" }, "nodeType": "YulFunctionCall", - "src": "6614:32:10" + "src": "6969:67:11" }, "nodeType": "YulExpressionStatement", - "src": "6614:32:10" - }, - { - "nodeType": "YulAssignment", - "src": "6655:27:10", - "value": { - "arguments": [ - { - "name": "headStart", - "nodeType": "YulIdentifier", - "src": "6667:9:10" - }, - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "6678:3:10", - "type": "", - "value": "128" - } - ], - "functionName": { - "name": "add", - "nodeType": "YulIdentifier", - "src": "6663:3:10" - }, - "nodeType": "YulFunctionCall", - "src": "6663:19:10" - }, - "variableNames": [ - { - "name": "tail", - "nodeType": "YulIdentifier", - "src": "6655:4:10" - } - ] + "src": "6969:67:11" } ] }, - "name": "abi_encode_tuple_t_stringliteral_0d4ae41009c51fd276653a54d7793c24f266ddc8c56ce21f8be5e2c6595ab3ac__to_t_string_memory_ptr__fromStack_reversed", + "name": "abi_encode_address", "nodeType": "YulFunctionDefinition", "parameters": [ { - "name": "headStart", + "name": "value", "nodeType": "YulTypedName", - "src": "6441:9:10", + "src": "6943:5:11", "type": "" - } - ], - "returnVariables": [ + }, { - "name": "tail", + "name": "pos", "nodeType": "YulTypedName", - "src": "6455:4:10", + "src": "6950:3:11", "type": "" } ], - "src": "6290:398:10" + "src": "6915:127:11" }, { "body": { "nodeType": "YulBlock", - "src": "6867:233:10", + "src": "7100:205:11", "statements": [ { - "expression": { - "arguments": [ - { - "name": "headStart", - "nodeType": "YulIdentifier", - "src": "6884:9:10" - }, - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "6895:2:10", - "type": "", - "value": "32" - } - ], - "functionName": { - "name": "mstore", - "nodeType": "YulIdentifier", - "src": "6877:6:10" - }, - "nodeType": "YulFunctionCall", - "src": "6877:21:10" + "nodeType": "YulVariableDeclaration", + "src": "7110:10:11", + "value": { + "kind": "number", + "nodeType": "YulLiteral", + "src": "7119:1:11", + "type": "", + "value": "0" }, - "nodeType": "YulExpressionStatement", - "src": "6877:21:10" + "variables": [ + { + "name": "i", + "nodeType": "YulTypedName", + "src": "7114:1:11", + "type": "" + } + ] }, { - "expression": { - "arguments": [ + "body": { + "nodeType": "YulBlock", + "src": "7179:63:11", + "statements": [ { - "arguments": [ - { - "name": "headStart", + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "dst", + "nodeType": "YulIdentifier", + "src": "7204:3:11" + }, + { + "name": "i", + "nodeType": "YulIdentifier", + "src": "7209:1:11" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "7200:3:11" + }, + "nodeType": "YulFunctionCall", + "src": "7200:11:11" + }, + { + "arguments": [ + { + "arguments": [ + { + "name": "src", + "nodeType": "YulIdentifier", + "src": "7223:3:11" + }, + { + "name": "i", + "nodeType": "YulIdentifier", + "src": "7228:1:11" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "7219:3:11" + }, + "nodeType": "YulFunctionCall", + "src": "7219:11:11" + } + ], + "functionName": { + "name": "mload", + "nodeType": "YulIdentifier", + "src": "7213:5:11" + }, + "nodeType": "YulFunctionCall", + "src": "7213:18:11" + } + ], + "functionName": { + "name": "mstore", "nodeType": "YulIdentifier", - "src": "6918:9:10" + "src": "7193:6:11" }, - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "6929:2:10", - "type": "", - "value": "32" - } - ], - "functionName": { - "name": "add", - "nodeType": "YulIdentifier", - "src": "6914:3:10" + "nodeType": "YulFunctionCall", + "src": "7193:39:11" }, - "nodeType": "YulFunctionCall", - "src": "6914:18:10" + "nodeType": "YulExpressionStatement", + "src": "7193:39:11" + } + ] + }, + "condition": { + "arguments": [ + { + "name": "i", + "nodeType": "YulIdentifier", + "src": "7140:1:11" }, { - "kind": "number", - "nodeType": "YulLiteral", - "src": "6934:2:10", - "type": "", - "value": "43" + "name": "length", + "nodeType": "YulIdentifier", + "src": "7143:6:11" } ], "functionName": { - "name": "mstore", + "name": "lt", "nodeType": "YulIdentifier", - "src": "6907:6:10" + "src": "7137:2:11" }, "nodeType": "YulFunctionCall", - "src": "6907:30:10" + "src": "7137:13:11" }, - "nodeType": "YulExpressionStatement", - "src": "6907:30:10" - }, - { - "expression": { - "arguments": [ + "nodeType": "YulForLoop", + "post": { + "nodeType": "YulBlock", + "src": "7151:19:11", + "statements": [ { - "arguments": [ - { - "name": "headStart", + "nodeType": "YulAssignment", + "src": "7153:15:11", + "value": { + "arguments": [ + { + "name": "i", + "nodeType": "YulIdentifier", + "src": "7162:1:11" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "7165:2:11", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "add", "nodeType": "YulIdentifier", - "src": "6957:9:10" + "src": "7158:3:11" }, + "nodeType": "YulFunctionCall", + "src": "7158:10:11" + }, + "variableNames": [ { - "kind": "number", - "nodeType": "YulLiteral", - "src": "6968:2:10", - "type": "", - "value": "64" + "name": "i", + "nodeType": "YulIdentifier", + "src": "7153:1:11" } - ], - "functionName": { - "name": "add", - "nodeType": "YulIdentifier", - "src": "6953:3:10" - }, - "nodeType": "YulFunctionCall", - "src": "6953:18:10" - }, - { - "kind": "string", - "nodeType": "YulLiteral", - "src": "6973:34:10", - "type": "", - "value": "LibDiamondCut: No selectors in f" + ] } - ], - "functionName": { - "name": "mstore", - "nodeType": "YulIdentifier", - "src": "6946:6:10" - }, - "nodeType": "YulFunctionCall", - "src": "6946:62:10" + ] }, - "nodeType": "YulExpressionStatement", - "src": "6946:62:10" + "pre": { + "nodeType": "YulBlock", + "src": "7133:3:11", + "statements": [] + }, + "src": "7129:113:11" }, { - "expression": { - "arguments": [ + "body": { + "nodeType": "YulBlock", + "src": "7268:31:11", + "statements": [ { - "arguments": [ - { - "name": "headStart", + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "dst", + "nodeType": "YulIdentifier", + "src": "7281:3:11" + }, + { + "name": "length", + "nodeType": "YulIdentifier", + "src": "7286:6:11" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "7277:3:11" + }, + "nodeType": "YulFunctionCall", + "src": "7277:16:11" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "7295:1:11", + "type": "", + "value": "0" + } + ], + "functionName": { + "name": "mstore", "nodeType": "YulIdentifier", - "src": "7028:9:10" + "src": "7270:6:11" }, - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "7039:2:10", - "type": "", - "value": "96" - } - ], - "functionName": { - "name": "add", - "nodeType": "YulIdentifier", - "src": "7024:3:10" + "nodeType": "YulFunctionCall", + "src": "7270:27:11" }, - "nodeType": "YulFunctionCall", - "src": "7024:18:10" - }, - { - "kind": "string", - "nodeType": "YulLiteral", - "src": "7044:13:10", - "type": "", - "value": "acet to cut" + "nodeType": "YulExpressionStatement", + "src": "7270:27:11" } - ], - "functionName": { - "name": "mstore", - "nodeType": "YulIdentifier", - "src": "7017:6:10" - }, - "nodeType": "YulFunctionCall", - "src": "7017:41:10" + ] }, - "nodeType": "YulExpressionStatement", - "src": "7017:41:10" - }, - { - "nodeType": "YulAssignment", - "src": "7067:27:10", - "value": { + "condition": { "arguments": [ { - "name": "headStart", + "name": "i", "nodeType": "YulIdentifier", - "src": "7079:9:10" + "src": "7257:1:11" }, { - "kind": "number", - "nodeType": "YulLiteral", - "src": "7090:3:10", - "type": "", - "value": "128" + "name": "length", + "nodeType": "YulIdentifier", + "src": "7260:6:11" } ], "functionName": { - "name": "add", + "name": "gt", "nodeType": "YulIdentifier", - "src": "7075:3:10" + "src": "7254:2:11" }, "nodeType": "YulFunctionCall", - "src": "7075:19:10" + "src": "7254:13:11" }, - "variableNames": [ - { - "name": "tail", - "nodeType": "YulIdentifier", - "src": "7067:4:10" - } - ] + "nodeType": "YulIf", + "src": "7251:48:11" } ] }, - "name": "abi_encode_tuple_t_stringliteral_1ffc682bcfedefd5e93ba9ed0c2d1bc0b18319886e3b4bd28a03a3d3729f85c0__to_t_string_memory_ptr__fromStack_reversed", + "name": "copy_memory_to_memory", "nodeType": "YulFunctionDefinition", "parameters": [ { - "name": "headStart", + "name": "src", "nodeType": "YulTypedName", - "src": "6844:9:10", + "src": "7078:3:11", "type": "" - } - ], - "returnVariables": [ + }, { - "name": "tail", + "name": "dst", + "nodeType": "YulTypedName", + "src": "7083:3:11", + "type": "" + }, + { + "name": "length", "nodeType": "YulTypedName", - "src": "6858:4:10", + "src": "7088:6:11", "type": "" } ], - "src": "6693:407:10" + "src": "7047:258:11" }, { "body": { "nodeType": "YulBlock", - "src": "7279:245:10", + "src": "7359:267:11", "statements": [ { - "expression": { + "nodeType": "YulVariableDeclaration", + "src": "7369:26:11", + "value": { "arguments": [ { - "name": "headStart", + "name": "value", "nodeType": "YulIdentifier", - "src": "7296:9:10" - }, - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "7307:2:10", - "type": "", - "value": "32" + "src": "7389:5:11" } ], "functionName": { - "name": "mstore", + "name": "mload", "nodeType": "YulIdentifier", - "src": "7289:6:10" + "src": "7383:5:11" }, "nodeType": "YulFunctionCall", - "src": "7289:21:10" + "src": "7383:12:11" }, - "nodeType": "YulExpressionStatement", - "src": "7289:21:10" + "variables": [ + { + "name": "length", + "nodeType": "YulTypedName", + "src": "7373:6:11", + "type": "" + } + ] }, { "expression": { "arguments": [ { - "arguments": [ - { - "name": "headStart", - "nodeType": "YulIdentifier", - "src": "7330:9:10" - }, - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "7341:2:10", - "type": "", - "value": "32" - } - ], - "functionName": { - "name": "add", - "nodeType": "YulIdentifier", - "src": "7326:3:10" - }, - "nodeType": "YulFunctionCall", - "src": "7326:18:10" + "name": "pos", + "nodeType": "YulIdentifier", + "src": "7411:3:11" }, { - "kind": "number", - "nodeType": "YulLiteral", - "src": "7346:2:10", - "type": "", - "value": "55" + "name": "length", + "nodeType": "YulIdentifier", + "src": "7416:6:11" } ], "functionName": { "name": "mstore", "nodeType": "YulIdentifier", - "src": "7319:6:10" + "src": "7404:6:11" }, "nodeType": "YulFunctionCall", - "src": "7319:30:10" + "src": "7404:19:11" }, "nodeType": "YulExpressionStatement", - "src": "7319:30:10" + "src": "7404:19:11" }, { "expression": { @@ -5044,1665 +5479,2707 @@ { "arguments": [ { - "name": "headStart", + "name": "value", "nodeType": "YulIdentifier", - "src": "7369:9:10" + "src": "7458:5:11" }, { "kind": "number", "nodeType": "YulLiteral", - "src": "7380:2:10", + "src": "7465:4:11", "type": "", - "value": "64" + "value": "0x20" } ], "functionName": { "name": "add", "nodeType": "YulIdentifier", - "src": "7365:3:10" + "src": "7454:3:11" }, "nodeType": "YulFunctionCall", - "src": "7365:18:10" + "src": "7454:16:11" }, - { - "kind": "string", - "nodeType": "YulLiteral", - "src": "7385:34:10", - "type": "", - "value": "LibDiamondCut: Can't remove func" - } - ], - "functionName": { - "name": "mstore", - "nodeType": "YulIdentifier", - "src": "7358:6:10" - }, - "nodeType": "YulFunctionCall", - "src": "7358:62:10" - }, - "nodeType": "YulExpressionStatement", - "src": "7358:62:10" - }, - { - "expression": { - "arguments": [ { "arguments": [ { - "name": "headStart", + "name": "pos", "nodeType": "YulIdentifier", - "src": "7440:9:10" + "src": "7476:3:11" }, { "kind": "number", "nodeType": "YulLiteral", - "src": "7451:2:10", + "src": "7481:4:11", "type": "", - "value": "96" + "value": "0x20" } ], "functionName": { "name": "add", "nodeType": "YulIdentifier", - "src": "7436:3:10" + "src": "7472:3:11" }, "nodeType": "YulFunctionCall", - "src": "7436:18:10" + "src": "7472:14:11" }, { - "kind": "string", - "nodeType": "YulLiteral", - "src": "7456:25:10", - "type": "", - "value": "tion that doesn't exist" + "name": "length", + "nodeType": "YulIdentifier", + "src": "7488:6:11" } ], "functionName": { - "name": "mstore", + "name": "copy_memory_to_memory", "nodeType": "YulIdentifier", - "src": "7429:6:10" + "src": "7432:21:11" }, "nodeType": "YulFunctionCall", - "src": "7429:53:10" + "src": "7432:63:11" }, "nodeType": "YulExpressionStatement", - "src": "7429:53:10" + "src": "7432:63:11" }, { "nodeType": "YulAssignment", - "src": "7491:27:10", + "src": "7504:116:11", "value": { "arguments": [ { - "name": "headStart", - "nodeType": "YulIdentifier", - "src": "7503:9:10" + "arguments": [ + { + "name": "pos", + "nodeType": "YulIdentifier", + "src": "7519:3:11" + }, + { + "arguments": [ + { + "arguments": [ + { + "name": "length", + "nodeType": "YulIdentifier", + "src": "7532:6:11" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "7540:2:11", + "type": "", + "value": "31" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "7528:3:11" + }, + "nodeType": "YulFunctionCall", + "src": "7528:15:11" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "7545:66:11", + "type": "", + "value": "0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0" + } + ], + "functionName": { + "name": "and", + "nodeType": "YulIdentifier", + "src": "7524:3:11" + }, + "nodeType": "YulFunctionCall", + "src": "7524:88:11" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "7515:3:11" + }, + "nodeType": "YulFunctionCall", + "src": "7515:98:11" }, { "kind": "number", "nodeType": "YulLiteral", - "src": "7514:3:10", + "src": "7615:4:11", "type": "", - "value": "128" + "value": "0x20" } ], "functionName": { "name": "add", "nodeType": "YulIdentifier", - "src": "7499:3:10" + "src": "7511:3:11" }, "nodeType": "YulFunctionCall", - "src": "7499:19:10" + "src": "7511:109:11" }, "variableNames": [ { - "name": "tail", + "name": "end", "nodeType": "YulIdentifier", - "src": "7491:4:10" + "src": "7504:3:11" } ] } ] }, - "name": "abi_encode_tuple_t_stringliteral_2c590e498c4d56c984a7092fd5e89a68b9f4541ce9f97252fb74e44a00ffbb71__to_t_string_memory_ptr__fromStack_reversed", + "name": "abi_encode_bytes", "nodeType": "YulFunctionDefinition", "parameters": [ { - "name": "headStart", + "name": "value", + "nodeType": "YulTypedName", + "src": "7336:5:11", + "type": "" + }, + { + "name": "pos", "nodeType": "YulTypedName", - "src": "7256:9:10", + "src": "7343:3:11", "type": "" } ], "returnVariables": [ { - "name": "tail", + "name": "end", "nodeType": "YulTypedName", - "src": "7270:4:10", + "src": "7351:3:11", "type": "" } ], - "src": "7105:419:10" + "src": "7310:316:11" }, { "body": { "nodeType": "YulBlock", - "src": "7703:229:10", + "src": "7906:1997:11", "statements": [ { - "expression": { + "nodeType": "YulVariableDeclaration", + "src": "7916:12:11", + "value": { + "kind": "number", + "nodeType": "YulLiteral", + "src": "7926:2:11", + "type": "", + "value": "96" + }, + "variables": [ + { + "name": "_1", + "nodeType": "YulTypedName", + "src": "7920:2:11", + "type": "" + } + ] + }, + { + "nodeType": "YulVariableDeclaration", + "src": "7937:32:11", + "value": { "arguments": [ { "name": "headStart", "nodeType": "YulIdentifier", - "src": "7720:9:10" + "src": "7955:9:11" }, { - "kind": "number", - "nodeType": "YulLiteral", - "src": "7731:2:10", - "type": "", - "value": "32" + "name": "_1", + "nodeType": "YulIdentifier", + "src": "7966:2:11" } ], "functionName": { - "name": "mstore", + "name": "add", "nodeType": "YulIdentifier", - "src": "7713:6:10" + "src": "7951:3:11" }, "nodeType": "YulFunctionCall", - "src": "7713:21:10" + "src": "7951:18:11" }, - "nodeType": "YulExpressionStatement", - "src": "7713:21:10" + "variables": [ + { + "name": "tail_1", + "nodeType": "YulTypedName", + "src": "7941:6:11", + "type": "" + } + ] }, { "expression": { "arguments": [ { - "arguments": [ - { - "name": "headStart", - "nodeType": "YulIdentifier", - "src": "7754:9:10" - }, - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "7765:2:10", - "type": "", - "value": "32" - } - ], - "functionName": { - "name": "add", - "nodeType": "YulIdentifier", - "src": "7750:3:10" - }, - "nodeType": "YulFunctionCall", - "src": "7750:18:10" + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "7985:9:11" }, { - "kind": "number", - "nodeType": "YulLiteral", - "src": "7770:2:10", - "type": "", - "value": "39" + "name": "_1", + "nodeType": "YulIdentifier", + "src": "7996:2:11" } ], "functionName": { "name": "mstore", "nodeType": "YulIdentifier", - "src": "7743:6:10" + "src": "7978:6:11" }, "nodeType": "YulFunctionCall", - "src": "7743:30:10" + "src": "7978:21:11" }, "nodeType": "YulExpressionStatement", - "src": "7743:30:10" + "src": "7978:21:11" + }, + { + "nodeType": "YulVariableDeclaration", + "src": "8008:17:11", + "value": { + "name": "tail_1", + "nodeType": "YulIdentifier", + "src": "8019:6:11" + }, + "variables": [ + { + "name": "pos", + "nodeType": "YulTypedName", + "src": "8012:3:11", + "type": "" + } + ] + }, + { + "nodeType": "YulVariableDeclaration", + "src": "8034:27:11", + "value": { + "arguments": [ + { + "name": "value0", + "nodeType": "YulIdentifier", + "src": "8054:6:11" + } + ], + "functionName": { + "name": "mload", + "nodeType": "YulIdentifier", + "src": "8048:5:11" + }, + "nodeType": "YulFunctionCall", + "src": "8048:13:11" + }, + "variables": [ + { + "name": "length", + "nodeType": "YulTypedName", + "src": "8038:6:11", + "type": "" + } + ] }, { "expression": { "arguments": [ { - "arguments": [ - { - "name": "headStart", - "nodeType": "YulIdentifier", - "src": "7793:9:10" - }, - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "7804:2:10", - "type": "", - "value": "64" - } - ], - "functionName": { - "name": "add", - "nodeType": "YulIdentifier", - "src": "7789:3:10" - }, - "nodeType": "YulFunctionCall", - "src": "7789:18:10" + "name": "tail_1", + "nodeType": "YulIdentifier", + "src": "8077:6:11" }, { - "kind": "string", - "nodeType": "YulLiteral", - "src": "7809:34:10", - "type": "", - "value": "LibDiamondCut: Incorrect FacetCu" + "name": "length", + "nodeType": "YulIdentifier", + "src": "8085:6:11" } ], "functionName": { "name": "mstore", "nodeType": "YulIdentifier", - "src": "7782:6:10" + "src": "8070:6:11" }, "nodeType": "YulFunctionCall", - "src": "7782:62:10" + "src": "8070:22:11" }, "nodeType": "YulExpressionStatement", - "src": "7782:62:10" + "src": "8070:22:11" }, { - "expression": { - "arguments": [ - { - "arguments": [ - { - "name": "headStart", - "nodeType": "YulIdentifier", - "src": "7864:9:10" - }, - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "7875:2:10", - "type": "", - "value": "96" - } - ], - "functionName": { - "name": "add", - "nodeType": "YulIdentifier", - "src": "7860:3:10" - }, - "nodeType": "YulFunctionCall", - "src": "7860:18:10" - }, - { - "kind": "string", - "nodeType": "YulLiteral", - "src": "7880:9:10", - "type": "", - "value": "tAction" - } - ], - "functionName": { - "name": "mstore", - "nodeType": "YulIdentifier", - "src": "7853:6:10" - }, - "nodeType": "YulFunctionCall", - "src": "7853:37:10" + "nodeType": "YulVariableDeclaration", + "src": "8101:13:11", + "value": { + "kind": "number", + "nodeType": "YulLiteral", + "src": "8111:3:11", + "type": "", + "value": "128" }, - "nodeType": "YulExpressionStatement", - "src": "7853:37:10" + "variables": [ + { + "name": "_2", + "nodeType": "YulTypedName", + "src": "8105:2:11", + "type": "" + } + ] }, { "nodeType": "YulAssignment", - "src": "7899:27:10", + "src": "8123:25:11", "value": { "arguments": [ { "name": "headStart", "nodeType": "YulIdentifier", - "src": "7911:9:10" + "src": "8134:9:11" }, { - "kind": "number", - "nodeType": "YulLiteral", - "src": "7922:3:10", - "type": "", - "value": "128" + "name": "_2", + "nodeType": "YulIdentifier", + "src": "8145:2:11" } ], "functionName": { "name": "add", "nodeType": "YulIdentifier", - "src": "7907:3:10" + "src": "8130:3:11" }, "nodeType": "YulFunctionCall", - "src": "7907:19:10" + "src": "8130:18:11" }, "variableNames": [ { - "name": "tail", + "name": "pos", "nodeType": "YulIdentifier", - "src": "7899:4:10" + "src": "8123:3:11" } ] - } - ] - }, - "name": "abi_encode_tuple_t_stringliteral_48267d8daf5ea9c6bbad1fe9c53dc4c04a2a01b2b85bad432956cf42f45b2f54__to_t_string_memory_ptr__fromStack_reversed", - "nodeType": "YulFunctionDefinition", - "parameters": [ - { - "name": "headStart", - "nodeType": "YulTypedName", - "src": "7680:9:10", - "type": "" - } - ], - "returnVariables": [ - { - "name": "tail", - "nodeType": "YulTypedName", - "src": "7694:4:10", - "type": "" - } - ], - "src": "7529:403:10" - }, - { - "body": { - "nodeType": "YulBlock", - "src": "8111:234:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "name": "headStart", - "nodeType": "YulIdentifier", - "src": "8128:9:10" - }, - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "8139:2:10", - "type": "", - "value": "32" - } - ], - "functionName": { - "name": "mstore", - "nodeType": "YulIdentifier", - "src": "8121:6:10" - }, - "nodeType": "YulFunctionCall", - "src": "8121:21:10" - }, - "nodeType": "YulExpressionStatement", - "src": "8121:21:10" - }, - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "name": "headStart", - "nodeType": "YulIdentifier", - "src": "8162:9:10" - }, - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "8173:2:10", - "type": "", - "value": "32" - } - ], - "functionName": { - "name": "add", - "nodeType": "YulIdentifier", - "src": "8158:3:10" - }, - "nodeType": "YulFunctionCall", - "src": "8158:18:10" - }, - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "8178:2:10", - "type": "", - "value": "44" - } - ], - "functionName": { - "name": "mstore", - "nodeType": "YulIdentifier", - "src": "8151:6:10" - }, - "nodeType": "YulFunctionCall", - "src": "8151:30:10" - }, - "nodeType": "YulExpressionStatement", - "src": "8151:30:10" }, { - "expression": { + "nodeType": "YulVariableDeclaration", + "src": "8157:53:11", + "value": { "arguments": [ { "arguments": [ { "name": "headStart", "nodeType": "YulIdentifier", - "src": "8201:9:10" + "src": "8179:9:11" }, { - "kind": "number", - "nodeType": "YulLiteral", - "src": "8212:2:10", - "type": "", - "value": "64" + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "8194:1:11", + "type": "", + "value": "5" + }, + { + "name": "length", + "nodeType": "YulIdentifier", + "src": "8197:6:11" + } + ], + "functionName": { + "name": "shl", + "nodeType": "YulIdentifier", + "src": "8190:3:11" + }, + "nodeType": "YulFunctionCall", + "src": "8190:14:11" } ], "functionName": { "name": "add", "nodeType": "YulIdentifier", - "src": "8197:3:10" + "src": "8175:3:11" }, "nodeType": "YulFunctionCall", - "src": "8197:18:10" + "src": "8175:30:11" }, { - "kind": "string", - "nodeType": "YulLiteral", - "src": "8217:34:10", - "type": "", - "value": "LibDiamondCut: Add facet can't b" + "name": "_2", + "nodeType": "YulIdentifier", + "src": "8207:2:11" } ], "functionName": { - "name": "mstore", + "name": "add", "nodeType": "YulIdentifier", - "src": "8190:6:10" + "src": "8171:3:11" }, "nodeType": "YulFunctionCall", - "src": "8190:62:10" + "src": "8171:39:11" }, - "nodeType": "YulExpressionStatement", - "src": "8190:62:10" + "variables": [ + { + "name": "tail_2", + "nodeType": "YulTypedName", + "src": "8161:6:11", + "type": "" + } + ] }, { - "expression": { - "arguments": [ - { - "arguments": [ - { - "name": "headStart", - "nodeType": "YulIdentifier", - "src": "8272:9:10" - }, - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "8283:2:10", - "type": "", - "value": "96" - } - ], - "functionName": { - "name": "add", - "nodeType": "YulIdentifier", - "src": "8268:3:10" - }, - "nodeType": "YulFunctionCall", - "src": "8268:18:10" - }, - { - "kind": "string", - "nodeType": "YulLiteral", - "src": "8288:14:10", - "type": "", - "value": "e address(0)" - } - ], - "functionName": { - "name": "mstore", - "nodeType": "YulIdentifier", - "src": "8261:6:10" - }, - "nodeType": "YulFunctionCall", - "src": "8261:42:10" + "nodeType": "YulVariableDeclaration", + "src": "8219:14:11", + "value": { + "kind": "number", + "nodeType": "YulLiteral", + "src": "8229:4:11", + "type": "", + "value": "0x20" }, - "nodeType": "YulExpressionStatement", - "src": "8261:42:10" + "variables": [ + { + "name": "_3", + "nodeType": "YulTypedName", + "src": "8223:2:11", + "type": "" + } + ] }, { - "nodeType": "YulAssignment", - "src": "8312:27:10", + "nodeType": "YulVariableDeclaration", + "src": "8242:29:11", "value": { "arguments": [ { - "name": "headStart", + "name": "value0", "nodeType": "YulIdentifier", - "src": "8324:9:10" + "src": "8260:6:11" }, { - "kind": "number", - "nodeType": "YulLiteral", - "src": "8335:3:10", - "type": "", - "value": "128" + "name": "_3", + "nodeType": "YulIdentifier", + "src": "8268:2:11" } ], "functionName": { "name": "add", "nodeType": "YulIdentifier", - "src": "8320:3:10" + "src": "8256:3:11" }, "nodeType": "YulFunctionCall", - "src": "8320:19:10" + "src": "8256:15:11" }, - "variableNames": [ + "variables": [ { - "name": "tail", - "nodeType": "YulIdentifier", - "src": "8312:4:10" + "name": "srcPtr", + "nodeType": "YulTypedName", + "src": "8246:6:11", + "type": "" } ] - } - ] - }, - "name": "abi_encode_tuple_t_stringliteral_64609d8b93c93a06b98d7db7a87b04044cd4a52c5661d603bb9b90ad8b914a3a__to_t_string_memory_ptr__fromStack_reversed", - "nodeType": "YulFunctionDefinition", - "parameters": [ - { - "name": "headStart", - "nodeType": "YulTypedName", - "src": "8088:9:10", - "type": "" - } - ], - "returnVariables": [ - { - "name": "tail", - "nodeType": "YulTypedName", - "src": "8102:4:10", - "type": "" - } - ], - "src": "7937:408:10" - }, - { - "body": { - "nodeType": "YulBlock", - "src": "8524:251:10", - "statements": [ + }, { - "expression": { - "arguments": [ - { - "name": "headStart", - "nodeType": "YulIdentifier", - "src": "8541:9:10" - }, - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "8552:2:10", - "type": "", - "value": "32" - } - ], - "functionName": { - "name": "mstore", - "nodeType": "YulIdentifier", - "src": "8534:6:10" - }, - "nodeType": "YulFunctionCall", - "src": "8534:21:10" + "nodeType": "YulVariableDeclaration", + "src": "8280:10:11", + "value": { + "kind": "number", + "nodeType": "YulLiteral", + "src": "8289:1:11", + "type": "", + "value": "0" }, - "nodeType": "YulExpressionStatement", - "src": "8534:21:10" + "variables": [ + { + "name": "i", + "nodeType": "YulTypedName", + "src": "8284:1:11", + "type": "" + } + ] }, { - "expression": { - "arguments": [ + "body": { + "nodeType": "YulBlock", + "src": "8348:1384:11", + "statements": [ { - "arguments": [ - { - "name": "headStart", + "expression": { + "arguments": [ + { + "name": "pos", + "nodeType": "YulIdentifier", + "src": "8369:3:11" + }, + { + "arguments": [ + { + "arguments": [ + { + "name": "tail_2", + "nodeType": "YulIdentifier", + "src": "8382:6:11" + }, + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "8390:9:11" + } + ], + "functionName": { + "name": "sub", + "nodeType": "YulIdentifier", + "src": "8378:3:11" + }, + "nodeType": "YulFunctionCall", + "src": "8378:22:11" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "8402:66:11", + "type": "", + "value": "0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff80" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "8374:3:11" + }, + "nodeType": "YulFunctionCall", + "src": "8374:95:11" + } + ], + "functionName": { + "name": "mstore", "nodeType": "YulIdentifier", - "src": "8575:9:10" + "src": "8362:6:11" }, - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "8586:2:10", - "type": "", - "value": "32" - } - ], - "functionName": { - "name": "add", - "nodeType": "YulIdentifier", - "src": "8571:3:10" + "nodeType": "YulFunctionCall", + "src": "8362:108:11" }, - "nodeType": "YulFunctionCall", - "src": "8571:18:10" + "nodeType": "YulExpressionStatement", + "src": "8362:108:11" }, { - "kind": "number", - "nodeType": "YulLiteral", - "src": "8591:2:10", - "type": "", - "value": "61" - } - ], - "functionName": { - "name": "mstore", - "nodeType": "YulIdentifier", - "src": "8564:6:10" - }, - "nodeType": "YulFunctionCall", - "src": "8564:30:10" - }, - "nodeType": "YulExpressionStatement", - "src": "8564:30:10" - }, - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "name": "headStart", + "nodeType": "YulVariableDeclaration", + "src": "8483:23:11", + "value": { + "arguments": [ + { + "name": "srcPtr", + "nodeType": "YulIdentifier", + "src": "8499:6:11" + } + ], + "functionName": { + "name": "mload", "nodeType": "YulIdentifier", - "src": "8614:9:10" + "src": "8493:5:11" }, + "nodeType": "YulFunctionCall", + "src": "8493:13:11" + }, + "variables": [ { - "kind": "number", - "nodeType": "YulLiteral", - "src": "8625:2:10", - "type": "", - "value": "64" + "name": "_4", + "nodeType": "YulTypedName", + "src": "8487:2:11", + "type": "" } - ], - "functionName": { - "name": "add", - "nodeType": "YulIdentifier", - "src": "8610:3:10" - }, - "nodeType": "YulFunctionCall", - "src": "8610:18:10" + ] }, { - "kind": "string", - "nodeType": "YulLiteral", - "src": "8630:34:10", - "type": "", - "value": "LibDiamondCut: _calldata is empt" - } - ], - "functionName": { - "name": "mstore", - "nodeType": "YulIdentifier", - "src": "8603:6:10" - }, - "nodeType": "YulFunctionCall", - "src": "8603:62:10" - }, - "nodeType": "YulExpressionStatement", - "src": "8603:62:10" - }, - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "name": "headStart", + "nodeType": "YulVariableDeclaration", + "src": "8519:29:11", + "value": { + "arguments": [ + { + "name": "tail_2", + "nodeType": "YulIdentifier", + "src": "8537:6:11" + }, + { + "name": "_1", + "nodeType": "YulIdentifier", + "src": "8545:2:11" + } + ], + "functionName": { + "name": "add", "nodeType": "YulIdentifier", - "src": "8685:9:10" + "src": "8533:3:11" }, + "nodeType": "YulFunctionCall", + "src": "8533:15:11" + }, + "variables": [ { - "kind": "number", - "nodeType": "YulLiteral", - "src": "8696:2:10", - "type": "", - "value": "96" + "name": "tail_3", + "nodeType": "YulTypedName", + "src": "8523:6:11", + "type": "" } - ], - "functionName": { - "name": "add", - "nodeType": "YulIdentifier", - "src": "8681:3:10" - }, - "nodeType": "YulFunctionCall", - "src": "8681:18:10" - }, - { - "kind": "string", - "nodeType": "YulLiteral", - "src": "8701:31:10", - "type": "", - "value": "y but _init is not address(0)" - } - ], - "functionName": { - "name": "mstore", - "nodeType": "YulIdentifier", - "src": "8674:6:10" - }, - "nodeType": "YulFunctionCall", - "src": "8674:59:10" - }, - "nodeType": "YulExpressionStatement", - "src": "8674:59:10" - }, - { - "nodeType": "YulAssignment", - "src": "8742:27:10", - "value": { - "arguments": [ - { - "name": "headStart", - "nodeType": "YulIdentifier", - "src": "8754:9:10" + ] }, { - "kind": "number", - "nodeType": "YulLiteral", - "src": "8765:3:10", - "type": "", - "value": "128" - } - ], - "functionName": { - "name": "add", - "nodeType": "YulIdentifier", - "src": "8750:3:10" - }, - "nodeType": "YulFunctionCall", - "src": "8750:19:10" - }, - "variableNames": [ - { - "name": "tail", - "nodeType": "YulIdentifier", - "src": "8742:4:10" - } - ] - } - ] - }, - "name": "abi_encode_tuple_t_stringliteral_868d165ec2461661b624442252aed6a645399bfae7b60083a77ea1b61b084042__to_t_string_memory_ptr__fromStack_reversed", - "nodeType": "YulFunctionDefinition", - "parameters": [ - { - "name": "headStart", - "nodeType": "YulTypedName", - "src": "8501:9:10", - "type": "" - } - ], - "returnVariables": [ - { - "name": "tail", - "nodeType": "YulTypedName", - "src": "8515:4:10", - "type": "" - } - ], - "src": "8350:425:10" - }, - { - "body": { - "nodeType": "YulBlock", - "src": "8954:236:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "name": "headStart", - "nodeType": "YulIdentifier", - "src": "8971:9:10" - }, - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "8982:2:10", - "type": "", - "value": "32" - } - ], - "functionName": { - "name": "mstore", - "nodeType": "YulIdentifier", - "src": "8964:6:10" - }, - "nodeType": "YulFunctionCall", - "src": "8964:21:10" - }, - "nodeType": "YulExpressionStatement", - "src": "8964:21:10" - }, - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "name": "headStart", + "expression": { + "arguments": [ + { + "name": "tail_2", + "nodeType": "YulIdentifier", + "src": "8568:6:11" + }, + { + "arguments": [ + { + "arguments": [ + { + "name": "_4", + "nodeType": "YulIdentifier", + "src": "8586:2:11" + } + ], + "functionName": { + "name": "mload", + "nodeType": "YulIdentifier", + "src": "8580:5:11" + }, + "nodeType": "YulFunctionCall", + "src": "8580:9:11" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "8591:42:11", + "type": "", + "value": "0xffffffffffffffffffffffffffffffffffffffff" + } + ], + "functionName": { + "name": "and", + "nodeType": "YulIdentifier", + "src": "8576:3:11" + }, + "nodeType": "YulFunctionCall", + "src": "8576:58:11" + } + ], + "functionName": { + "name": "mstore", "nodeType": "YulIdentifier", - "src": "9005:9:10" + "src": "8561:6:11" }, - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "9016:2:10", - "type": "", - "value": "32" - } - ], - "functionName": { - "name": "add", - "nodeType": "YulIdentifier", - "src": "9001:3:10" + "nodeType": "YulFunctionCall", + "src": "8561:74:11" }, - "nodeType": "YulFunctionCall", - "src": "9001:18:10" + "nodeType": "YulExpressionStatement", + "src": "8561:74:11" }, { - "kind": "number", - "nodeType": "YulLiteral", - "src": "9021:2:10", - "type": "", - "value": "46" - } - ], - "functionName": { - "name": "mstore", - "nodeType": "YulIdentifier", - "src": "8994:6:10" - }, - "nodeType": "YulFunctionCall", - "src": "8994:30:10" - }, - "nodeType": "YulExpressionStatement", - "src": "8994:30:10" - }, - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "name": "headStart", + "nodeType": "YulVariableDeclaration", + "src": "8648:38:11", + "value": { + "arguments": [ + { + "arguments": [ + { + "name": "_4", + "nodeType": "YulIdentifier", + "src": "8678:2:11" + }, + { + "name": "_3", + "nodeType": "YulIdentifier", + "src": "8682:2:11" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "8674:3:11" + }, + "nodeType": "YulFunctionCall", + "src": "8674:11:11" + } + ], + "functionName": { + "name": "mload", "nodeType": "YulIdentifier", - "src": "9044:9:10" + "src": "8668:5:11" }, - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "9055:2:10", - "type": "", - "value": "64" - } - ], - "functionName": { - "name": "add", - "nodeType": "YulIdentifier", - "src": "9040:3:10" + "nodeType": "YulFunctionCall", + "src": "8668:18:11" }, - "nodeType": "YulFunctionCall", - "src": "9040:18:10" - }, - { - "kind": "string", - "nodeType": "YulLiteral", - "src": "9060:34:10", - "type": "", - "value": "LibDiamondCut: Can't remove immu" - } - ], - "functionName": { - "name": "mstore", - "nodeType": "YulIdentifier", - "src": "9033:6:10" - }, - "nodeType": "YulFunctionCall", - "src": "9033:62:10" - }, - "nodeType": "YulExpressionStatement", - "src": "9033:62:10" - }, - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "name": "headStart", - "nodeType": "YulIdentifier", - "src": "9115:9:10" - }, + "variables": [ { - "kind": "number", - "nodeType": "YulLiteral", - "src": "9126:2:10", - "type": "", - "value": "96" + "name": "memberValue0", + "nodeType": "YulTypedName", + "src": "8652:12:11", + "type": "" } - ], - "functionName": { - "name": "add", - "nodeType": "YulIdentifier", - "src": "9111:3:10" - }, - "nodeType": "YulFunctionCall", - "src": "9111:18:10" - }, - { - "kind": "string", - "nodeType": "YulLiteral", - "src": "9131:16:10", - "type": "", - "value": "table function" - } - ], - "functionName": { - "name": "mstore", - "nodeType": "YulIdentifier", - "src": "9104:6:10" - }, - "nodeType": "YulFunctionCall", - "src": "9104:44:10" - }, - "nodeType": "YulExpressionStatement", - "src": "9104:44:10" - }, - { - "nodeType": "YulAssignment", - "src": "9157:27:10", - "value": { - "arguments": [ - { - "name": "headStart", - "nodeType": "YulIdentifier", - "src": "9169:9:10" + ] }, { - "kind": "number", - "nodeType": "YulLiteral", - "src": "9180:3:10", - "type": "", - "value": "128" - } - ], - "functionName": { - "name": "add", - "nodeType": "YulIdentifier", - "src": "9165:3:10" - }, - "nodeType": "YulFunctionCall", - "src": "9165:19:10" - }, - "variableNames": [ - { - "name": "tail", - "nodeType": "YulIdentifier", - "src": "9157:4:10" - } - ] - } - ] - }, - "name": "abi_encode_tuple_t_stringliteral_8ba063dfaa4be2d2cbe73dbb1364728b0f7031ac048441d5fad19e9541992b21__to_t_string_memory_ptr__fromStack_reversed", - "nodeType": "YulFunctionDefinition", - "parameters": [ - { - "name": "headStart", - "nodeType": "YulTypedName", - "src": "8931:9:10", - "type": "" - } - ], - "returnVariables": [ - { - "name": "tail", - "nodeType": "YulTypedName", - "src": "8945:4:10", - "type": "" - } - ], - "src": "8780:410:10" - }, - { - "body": { - "nodeType": "YulBlock", - "src": "9369:243:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "name": "headStart", - "nodeType": "YulIdentifier", - "src": "9386:9:10" - }, - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "9397:2:10", - "type": "", - "value": "32" - } - ], - "functionName": { - "name": "mstore", - "nodeType": "YulIdentifier", - "src": "9379:6:10" - }, - "nodeType": "YulFunctionCall", - "src": "9379:21:10" - }, - "nodeType": "YulExpressionStatement", - "src": "9379:21:10" - }, - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "name": "headStart", + "body": { + "nodeType": "YulBlock", + "src": "8742:184:11", + "statements": [ + { + "expression": { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "8767:1:11", + "type": "", + "value": "0" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "8770:77:11", + "type": "", + "value": "35408467139433450592217433187231851964531694900788300625387963629091585785856" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "8760:6:11" + }, + "nodeType": "YulFunctionCall", + "src": "8760:88:11" + }, + "nodeType": "YulExpressionStatement", + "src": "8760:88:11" + }, + { + "expression": { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "8872:1:11", + "type": "", + "value": "4" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "8875:4:11", + "type": "", + "value": "0x21" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "8865:6:11" + }, + "nodeType": "YulFunctionCall", + "src": "8865:15:11" + }, + "nodeType": "YulExpressionStatement", + "src": "8865:15:11" + }, + { + "expression": { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "8904:1:11", + "type": "", + "value": "0" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "8907:4:11", + "type": "", + "value": "0x24" + } + ], + "functionName": { + "name": "revert", + "nodeType": "YulIdentifier", + "src": "8897:6:11" + }, + "nodeType": "YulFunctionCall", + "src": "8897:15:11" + }, + "nodeType": "YulExpressionStatement", + "src": "8897:15:11" + } + ] + }, + "condition": { + "arguments": [ + { + "arguments": [ + { + "name": "memberValue0", + "nodeType": "YulIdentifier", + "src": "8712:12:11" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "8726:1:11", + "type": "", + "value": "3" + } + ], + "functionName": { + "name": "lt", + "nodeType": "YulIdentifier", + "src": "8709:2:11" + }, + "nodeType": "YulFunctionCall", + "src": "8709:19:11" + } + ], + "functionName": { + "name": "iszero", "nodeType": "YulIdentifier", - "src": "9420:9:10" + "src": "8702:6:11" }, - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "9431:2:10", - "type": "", - "value": "32" - } - ], - "functionName": { - "name": "add", - "nodeType": "YulIdentifier", - "src": "9416:3:10" + "nodeType": "YulFunctionCall", + "src": "8702:27:11" }, - "nodeType": "YulFunctionCall", - "src": "9416:18:10" + "nodeType": "YulIf", + "src": "8699:227:11" }, { - "kind": "number", - "nodeType": "YulLiteral", - "src": "9436:2:10", - "type": "", - "value": "53" - } - ], - "functionName": { - "name": "mstore", - "nodeType": "YulIdentifier", - "src": "9409:6:10" - }, - "nodeType": "YulFunctionCall", - "src": "9409:30:10" - }, - "nodeType": "YulExpressionStatement", - "src": "9409:30:10" - }, - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "name": "headStart", + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "tail_2", + "nodeType": "YulIdentifier", + "src": "8950:6:11" + }, + { + "name": "_3", + "nodeType": "YulIdentifier", + "src": "8958:2:11" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "8946:3:11" + }, + "nodeType": "YulFunctionCall", + "src": "8946:15:11" + }, + { + "name": "memberValue0", + "nodeType": "YulIdentifier", + "src": "8963:12:11" + } + ], + "functionName": { + "name": "mstore", "nodeType": "YulIdentifier", - "src": "9459:9:10" + "src": "8939:6:11" }, - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "9470:2:10", - "type": "", - "value": "64" - } - ], - "functionName": { - "name": "add", - "nodeType": "YulIdentifier", - "src": "9455:3:10" + "nodeType": "YulFunctionCall", + "src": "8939:37:11" }, - "nodeType": "YulFunctionCall", - "src": "9455:18:10" + "nodeType": "YulExpressionStatement", + "src": "8939:37:11" }, { - "kind": "string", - "nodeType": "YulLiteral", - "src": "9475:34:10", - "type": "", - "value": "LibDiamondCut: Can't add functio" - } - ], - "functionName": { - "name": "mstore", - "nodeType": "YulIdentifier", - "src": "9448:6:10" - }, - "nodeType": "YulFunctionCall", - "src": "9448:62:10" - }, - "nodeType": "YulExpressionStatement", - "src": "9448:62:10" - }, - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "name": "headStart", - "nodeType": "YulIdentifier", - "src": "9530:9:10" - }, + "nodeType": "YulVariableDeclaration", + "src": "8989:14:11", + "value": { + "kind": "number", + "nodeType": "YulLiteral", + "src": "8999:4:11", + "type": "", + "value": "0x40" + }, + "variables": [ { - "kind": "number", - "nodeType": "YulLiteral", - "src": "9541:2:10", - "type": "", - "value": "96" + "name": "_5", + "nodeType": "YulTypedName", + "src": "8993:2:11", + "type": "" } - ], - "functionName": { - "name": "add", - "nodeType": "YulIdentifier", - "src": "9526:3:10" - }, - "nodeType": "YulFunctionCall", - "src": "9526:18:10" - }, - { - "kind": "string", - "nodeType": "YulLiteral", - "src": "9546:23:10", - "type": "", - "value": "n that already exists" - } - ], - "functionName": { - "name": "mstore", - "nodeType": "YulIdentifier", - "src": "9519:6:10" - }, - "nodeType": "YulFunctionCall", - "src": "9519:51:10" - }, - "nodeType": "YulExpressionStatement", - "src": "9519:51:10" - }, - { - "nodeType": "YulAssignment", - "src": "9579:27:10", - "value": { - "arguments": [ - { - "name": "headStart", - "nodeType": "YulIdentifier", - "src": "9591:9:10" - }, - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "9602:3:10", - "type": "", - "value": "128" - } - ], - "functionName": { - "name": "add", - "nodeType": "YulIdentifier", - "src": "9587:3:10" - }, - "nodeType": "YulFunctionCall", - "src": "9587:19:10" - }, - "variableNames": [ - { - "name": "tail", - "nodeType": "YulIdentifier", - "src": "9579:4:10" - } - ] - } - ] - }, - "name": "abi_encode_tuple_t_stringliteral_99a7418ee014d613f46da44561258cdbb58064508097483a319062b99fa37700__to_t_string_memory_ptr__fromStack_reversed", - "nodeType": "YulFunctionDefinition", - "parameters": [ - { - "name": "headStart", - "nodeType": "YulTypedName", - "src": "9346:9:10", - "type": "" - } - ], - "returnVariables": [ - { - "name": "tail", - "nodeType": "YulTypedName", - "src": "9360:4:10", - "type": "" - } - ], - "src": "9195:417:10" - }, - { - "body": { - "nodeType": "YulBlock", - "src": "9791:246:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "name": "headStart", - "nodeType": "YulIdentifier", - "src": "9808:9:10" + ] }, { - "kind": "number", - "nodeType": "YulLiteral", - "src": "9819:2:10", - "type": "", - "value": "32" - } - ], - "functionName": { - "name": "mstore", - "nodeType": "YulIdentifier", - "src": "9801:6:10" - }, - "nodeType": "YulFunctionCall", - "src": "9801:21:10" - }, - "nodeType": "YulExpressionStatement", - "src": "9801:21:10" - }, - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "name": "headStart", + "nodeType": "YulVariableDeclaration", + "src": "9016:40:11", + "value": { + "arguments": [ + { + "arguments": [ + { + "name": "_4", + "nodeType": "YulIdentifier", + "src": "9048:2:11" + }, + { + "name": "_5", + "nodeType": "YulIdentifier", + "src": "9052:2:11" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "9044:3:11" + }, + "nodeType": "YulFunctionCall", + "src": "9044:11:11" + } + ], + "functionName": { + "name": "mload", "nodeType": "YulIdentifier", - "src": "9842:9:10" + "src": "9038:5:11" }, + "nodeType": "YulFunctionCall", + "src": "9038:18:11" + }, + "variables": [ { - "kind": "number", - "nodeType": "YulLiteral", - "src": "9853:2:10", - "type": "", - "value": "32" + "name": "memberValue0_1", + "nodeType": "YulTypedName", + "src": "9020:14:11", + "type": "" } - ], - "functionName": { - "name": "add", - "nodeType": "YulIdentifier", - "src": "9838:3:10" - }, - "nodeType": "YulFunctionCall", - "src": "9838:18:10" + ] }, { - "kind": "number", - "nodeType": "YulLiteral", - "src": "9858:2:10", - "type": "", - "value": "56" - } - ], - "functionName": { - "name": "mstore", - "nodeType": "YulIdentifier", - "src": "9831:6:10" - }, - "nodeType": "YulFunctionCall", - "src": "9831:30:10" - }, - "nodeType": "YulExpressionStatement", - "src": "9831:30:10" - }, - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "name": "headStart", + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "tail_2", + "nodeType": "YulIdentifier", + "src": "9080:6:11" + }, + { + "name": "_5", + "nodeType": "YulIdentifier", + "src": "9088:2:11" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "9076:3:11" + }, + "nodeType": "YulFunctionCall", + "src": "9076:15:11" + }, + { + "name": "_1", + "nodeType": "YulIdentifier", + "src": "9093:2:11" + } + ], + "functionName": { + "name": "mstore", "nodeType": "YulIdentifier", - "src": "9881:9:10" + "src": "9069:6:11" }, - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "9892:2:10", - "type": "", - "value": "64" - } - ], - "functionName": { - "name": "add", - "nodeType": "YulIdentifier", - "src": "9877:3:10" + "nodeType": "YulFunctionCall", + "src": "9069:27:11" }, - "nodeType": "YulFunctionCall", - "src": "9877:18:10" + "nodeType": "YulExpressionStatement", + "src": "9069:27:11" }, { - "kind": "string", - "nodeType": "YulLiteral", - "src": "9897:34:10", - "type": "", - "value": "LibDiamondCut: Can't replace fun" - } - ], - "functionName": { - "name": "mstore", - "nodeType": "YulIdentifier", - "src": "9870:6:10" - }, - "nodeType": "YulFunctionCall", - "src": "9870:62:10" - }, - "nodeType": "YulExpressionStatement", - "src": "9870:62:10" - }, - { - "expression": { - "arguments": [ - { - "arguments": [ + "nodeType": "YulVariableDeclaration", + "src": "9109:19:11", + "value": { + "name": "tail_3", + "nodeType": "YulIdentifier", + "src": "9122:6:11" + }, + "variables": [ { - "name": "headStart", + "name": "pos_1", + "nodeType": "YulTypedName", + "src": "9113:5:11", + "type": "" + } + ] + }, + { + "nodeType": "YulVariableDeclaration", + "src": "9141:37:11", + "value": { + "arguments": [ + { + "name": "memberValue0_1", + "nodeType": "YulIdentifier", + "src": "9163:14:11" + } + ], + "functionName": { + "name": "mload", "nodeType": "YulIdentifier", - "src": "9952:9:10" + "src": "9157:5:11" }, + "nodeType": "YulFunctionCall", + "src": "9157:21:11" + }, + "variables": [ { - "kind": "number", - "nodeType": "YulLiteral", - "src": "9963:2:10", - "type": "", - "value": "96" + "name": "length_1", + "nodeType": "YulTypedName", + "src": "9145:8:11", + "type": "" } - ], - "functionName": { - "name": "add", - "nodeType": "YulIdentifier", - "src": "9948:3:10" - }, - "nodeType": "YulFunctionCall", - "src": "9948:18:10" - }, - { - "kind": "string", - "nodeType": "YulLiteral", - "src": "9968:26:10", - "type": "", - "value": "ction with same function" - } - ], - "functionName": { - "name": "mstore", - "nodeType": "YulIdentifier", - "src": "9941:6:10" - }, - "nodeType": "YulFunctionCall", - "src": "9941:54:10" - }, - "nodeType": "YulExpressionStatement", - "src": "9941:54:10" - }, - { - "nodeType": "YulAssignment", - "src": "10004:27:10", - "value": { - "arguments": [ - { - "name": "headStart", - "nodeType": "YulIdentifier", - "src": "10016:9:10" - }, - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "10027:3:10", - "type": "", - "value": "128" - } - ], - "functionName": { - "name": "add", - "nodeType": "YulIdentifier", - "src": "10012:3:10" - }, - "nodeType": "YulFunctionCall", - "src": "10012:19:10" - }, - "variableNames": [ - { - "name": "tail", - "nodeType": "YulIdentifier", - "src": "10004:4:10" - } - ] - } - ] - }, - "name": "abi_encode_tuple_t_stringliteral_b5a7112edf707196456f338fdcc19cd849be6cb8c0d166bcd035f4cfb00e7078__to_t_string_memory_ptr__fromStack_reversed", - "nodeType": "YulFunctionDefinition", - "parameters": [ - { - "name": "headStart", - "nodeType": "YulTypedName", - "src": "9768:9:10", - "type": "" - } - ], - "returnVariables": [ - { - "name": "tail", - "nodeType": "YulTypedName", - "src": "9782:4:10", - "type": "" - } - ], - "src": "9617:420:10" - }, - { - "body": { - "nodeType": "YulBlock", - "src": "10216:244:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "name": "headStart", - "nodeType": "YulIdentifier", - "src": "10233:9:10" + ] }, { - "kind": "number", - "nodeType": "YulLiteral", - "src": "10244:2:10", - "type": "", - "value": "32" - } - ], - "functionName": { - "name": "mstore", - "nodeType": "YulIdentifier", - "src": "10226:6:10" - }, - "nodeType": "YulFunctionCall", - "src": "10226:21:10" - }, - "nodeType": "YulExpressionStatement", - "src": "10226:21:10" - }, - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "name": "headStart", + "expression": { + "arguments": [ + { + "name": "tail_3", + "nodeType": "YulIdentifier", + "src": "9198:6:11" + }, + { + "name": "length_1", + "nodeType": "YulIdentifier", + "src": "9206:8:11" + } + ], + "functionName": { + "name": "mstore", "nodeType": "YulIdentifier", - "src": "10267:9:10" + "src": "9191:6:11" }, - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "10278:2:10", - "type": "", - "value": "32" - } - ], - "functionName": { - "name": "add", - "nodeType": "YulIdentifier", - "src": "10263:3:10" + "nodeType": "YulFunctionCall", + "src": "9191:24:11" }, - "nodeType": "YulFunctionCall", - "src": "10263:18:10" + "nodeType": "YulExpressionStatement", + "src": "9191:24:11" }, { - "kind": "number", - "nodeType": "YulLiteral", - "src": "10283:2:10", - "type": "", - "value": "54" - } - ], - "functionName": { - "name": "mstore", - "nodeType": "YulIdentifier", - "src": "10256:6:10" - }, - "nodeType": "YulFunctionCall", - "src": "10256:30:10" - }, - "nodeType": "YulExpressionStatement", - "src": "10256:30:10" - }, - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "name": "headStart", + "nodeType": "YulAssignment", + "src": "9228:24:11", + "value": { + "arguments": [ + { + "name": "tail_2", + "nodeType": "YulIdentifier", + "src": "9241:6:11" + }, + { + "name": "_2", + "nodeType": "YulIdentifier", + "src": "9249:2:11" + } + ], + "functionName": { + "name": "add", "nodeType": "YulIdentifier", - "src": "10306:9:10" + "src": "9237:3:11" }, + "nodeType": "YulFunctionCall", + "src": "9237:15:11" + }, + "variableNames": [ { - "kind": "number", - "nodeType": "YulLiteral", - "src": "10317:2:10", - "type": "", - "value": "64" + "name": "pos_1", + "nodeType": "YulIdentifier", + "src": "9228:5:11" } - ], - "functionName": { - "name": "add", - "nodeType": "YulIdentifier", - "src": "10302:3:10" - }, - "nodeType": "YulFunctionCall", - "src": "10302:18:10" + ] }, { - "kind": "string", - "nodeType": "YulLiteral", - "src": "10322:34:10", - "type": "", - "value": "LibDiamondCut: Remove facet addr" - } - ], - "functionName": { - "name": "mstore", - "nodeType": "YulIdentifier", - "src": "10295:6:10" - }, - "nodeType": "YulFunctionCall", - "src": "10295:62:10" - }, - "nodeType": "YulExpressionStatement", - "src": "10295:62:10" - }, - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "name": "headStart", + "nodeType": "YulVariableDeclaration", + "src": "9265:39:11", + "value": { + "arguments": [ + { + "name": "memberValue0_1", + "nodeType": "YulIdentifier", + "src": "9285:14:11" + }, + { + "name": "_3", + "nodeType": "YulIdentifier", + "src": "9301:2:11" + } + ], + "functionName": { + "name": "add", "nodeType": "YulIdentifier", - "src": "10377:9:10" + "src": "9281:3:11" }, + "nodeType": "YulFunctionCall", + "src": "9281:23:11" + }, + "variables": [ { - "kind": "number", - "nodeType": "YulLiteral", - "src": "10388:2:10", - "type": "", - "value": "96" + "name": "srcPtr_1", + "nodeType": "YulTypedName", + "src": "9269:8:11", + "type": "" } - ], - "functionName": { - "name": "add", - "nodeType": "YulIdentifier", - "src": "10373:3:10" - }, - "nodeType": "YulFunctionCall", - "src": "10373:18:10" + ] }, { - "kind": "string", - "nodeType": "YulLiteral", - "src": "10393:24:10", - "type": "", - "value": "ess must be address(0)" - } - ], - "functionName": { - "name": "mstore", - "nodeType": "YulIdentifier", - "src": "10366:6:10" - }, - "nodeType": "YulFunctionCall", - "src": "10366:52:10" - }, - "nodeType": "YulExpressionStatement", - "src": "10366:52:10" - }, - { - "nodeType": "YulAssignment", - "src": "10427:27:10", - "value": { - "arguments": [ + "nodeType": "YulVariableDeclaration", + "src": "9317:12:11", + "value": { + "kind": "number", + "nodeType": "YulLiteral", + "src": "9328:1:11", + "type": "", + "value": "0" + }, + "variables": [ + { + "name": "i_1", + "nodeType": "YulTypedName", + "src": "9321:3:11", + "type": "" + } + ] + }, + { + "body": { + "nodeType": "YulBlock", + "src": "9403:221:11", + "statements": [ + { + "expression": { + "arguments": [ + { + "name": "pos_1", + "nodeType": "YulIdentifier", + "src": "9428:5:11" + }, + { + "arguments": [ + { + "arguments": [ + { + "name": "srcPtr_1", + "nodeType": "YulIdentifier", + "src": "9445:8:11" + } + ], + "functionName": { + "name": "mload", + "nodeType": "YulIdentifier", + "src": "9439:5:11" + }, + "nodeType": "YulFunctionCall", + "src": "9439:15:11" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "9456:66:11", + "type": "", + "value": "0xffffffff00000000000000000000000000000000000000000000000000000000" + } + ], + "functionName": { + "name": "and", + "nodeType": "YulIdentifier", + "src": "9435:3:11" + }, + "nodeType": "YulFunctionCall", + "src": "9435:88:11" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "9421:6:11" + }, + "nodeType": "YulFunctionCall", + "src": "9421:103:11" + }, + "nodeType": "YulExpressionStatement", + "src": "9421:103:11" + }, + { + "nodeType": "YulAssignment", + "src": "9541:23:11", + "value": { + "arguments": [ + { + "name": "pos_1", + "nodeType": "YulIdentifier", + "src": "9554:5:11" + }, + { + "name": "_3", + "nodeType": "YulIdentifier", + "src": "9561:2:11" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "9550:3:11" + }, + "nodeType": "YulFunctionCall", + "src": "9550:14:11" + }, + "variableNames": [ + { + "name": "pos_1", + "nodeType": "YulIdentifier", + "src": "9541:5:11" + } + ] + }, + { + "nodeType": "YulAssignment", + "src": "9581:29:11", + "value": { + "arguments": [ + { + "name": "srcPtr_1", + "nodeType": "YulIdentifier", + "src": "9597:8:11" + }, + { + "name": "_3", + "nodeType": "YulIdentifier", + "src": "9607:2:11" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "9593:3:11" + }, + "nodeType": "YulFunctionCall", + "src": "9593:17:11" + }, + "variableNames": [ + { + "name": "srcPtr_1", + "nodeType": "YulIdentifier", + "src": "9581:8:11" + } + ] + } + ] + }, + "condition": { + "arguments": [ + { + "name": "i_1", + "nodeType": "YulIdentifier", + "src": "9353:3:11" + }, + { + "name": "length_1", + "nodeType": "YulIdentifier", + "src": "9358:8:11" + } + ], + "functionName": { + "name": "lt", + "nodeType": "YulIdentifier", + "src": "9350:2:11" + }, + "nodeType": "YulFunctionCall", + "src": "9350:17:11" + }, + "nodeType": "YulForLoop", + "post": { + "nodeType": "YulBlock", + "src": "9368:22:11", + "statements": [ + { + "nodeType": "YulAssignment", + "src": "9370:18:11", + "value": { + "arguments": [ + { + "name": "i_1", + "nodeType": "YulIdentifier", + "src": "9381:3:11" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "9386:1:11", + "type": "", + "value": "1" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "9377:3:11" + }, + "nodeType": "YulFunctionCall", + "src": "9377:11:11" + }, + "variableNames": [ + { + "name": "i_1", + "nodeType": "YulIdentifier", + "src": "9370:3:11" + } + ] + } + ] + }, + "pre": { + "nodeType": "YulBlock", + "src": "9346:3:11", + "statements": [] + }, + "src": "9342:282:11" + }, + { + "nodeType": "YulAssignment", + "src": "9637:15:11", + "value": { + "name": "pos_1", + "nodeType": "YulIdentifier", + "src": "9647:5:11" + }, + "variableNames": [ + { + "name": "tail_2", + "nodeType": "YulIdentifier", + "src": "9637:6:11" + } + ] + }, + { + "nodeType": "YulAssignment", + "src": "9665:25:11", + "value": { + "arguments": [ + { + "name": "srcPtr", + "nodeType": "YulIdentifier", + "src": "9679:6:11" + }, + { + "name": "_3", + "nodeType": "YulIdentifier", + "src": "9687:2:11" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "9675:3:11" + }, + "nodeType": "YulFunctionCall", + "src": "9675:15:11" + }, + "variableNames": [ + { + "name": "srcPtr", + "nodeType": "YulIdentifier", + "src": "9665:6:11" + } + ] + }, + { + "nodeType": "YulAssignment", + "src": "9703:19:11", + "value": { + "arguments": [ + { + "name": "pos", + "nodeType": "YulIdentifier", + "src": "9714:3:11" + }, + { + "name": "_3", + "nodeType": "YulIdentifier", + "src": "9719:2:11" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "9710:3:11" + }, + "nodeType": "YulFunctionCall", + "src": "9710:12:11" + }, + "variableNames": [ + { + "name": "pos", + "nodeType": "YulIdentifier", + "src": "9703:3:11" + } + ] + } + ] + }, + "condition": { + "arguments": [ + { + "name": "i", + "nodeType": "YulIdentifier", + "src": "8310:1:11" + }, + { + "name": "length", + "nodeType": "YulIdentifier", + "src": "8313:6:11" + } + ], + "functionName": { + "name": "lt", + "nodeType": "YulIdentifier", + "src": "8307:2:11" + }, + "nodeType": "YulFunctionCall", + "src": "8307:13:11" + }, + "nodeType": "YulForLoop", + "post": { + "nodeType": "YulBlock", + "src": "8321:18:11", + "statements": [ + { + "nodeType": "YulAssignment", + "src": "8323:14:11", + "value": { + "arguments": [ + { + "name": "i", + "nodeType": "YulIdentifier", + "src": "8332:1:11" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "8335:1:11", + "type": "", + "value": "1" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "8328:3:11" + }, + "nodeType": "YulFunctionCall", + "src": "8328:9:11" + }, + "variableNames": [ + { + "name": "i", + "nodeType": "YulIdentifier", + "src": "8323:1:11" + } + ] + } + ] + }, + "pre": { + "nodeType": "YulBlock", + "src": "8303:3:11", + "statements": [] + }, + "src": "8299:1433:11" + }, + { + "expression": { + "arguments": [ + { + "name": "value1", + "nodeType": "YulIdentifier", + "src": "9760:6:11" + }, + { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "9772:9:11" + }, + { + "name": "_3", + "nodeType": "YulIdentifier", + "src": "9783:2:11" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "9768:3:11" + }, + "nodeType": "YulFunctionCall", + "src": "9768:18:11" + } + ], + "functionName": { + "name": "abi_encode_address", + "nodeType": "YulIdentifier", + "src": "9741:18:11" + }, + "nodeType": "YulFunctionCall", + "src": "9741:46:11" + }, + "nodeType": "YulExpressionStatement", + "src": "9741:46:11" + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "9807:9:11" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "9818:4:11", + "type": "", + "value": "0x40" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "9803:3:11" + }, + "nodeType": "YulFunctionCall", + "src": "9803:20:11" + }, + { + "arguments": [ + { + "name": "tail_2", + "nodeType": "YulIdentifier", + "src": "9829:6:11" + }, + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "9837:9:11" + } + ], + "functionName": { + "name": "sub", + "nodeType": "YulIdentifier", + "src": "9825:3:11" + }, + "nodeType": "YulFunctionCall", + "src": "9825:22:11" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "9796:6:11" + }, + "nodeType": "YulFunctionCall", + "src": "9796:52:11" + }, + "nodeType": "YulExpressionStatement", + "src": "9796:52:11" + }, + { + "nodeType": "YulAssignment", + "src": "9857:40:11", + "value": { + "arguments": [ + { + "name": "value2", + "nodeType": "YulIdentifier", + "src": "9882:6:11" + }, + { + "name": "tail_2", + "nodeType": "YulIdentifier", + "src": "9890:6:11" + } + ], + "functionName": { + "name": "abi_encode_bytes", + "nodeType": "YulIdentifier", + "src": "9865:16:11" + }, + "nodeType": "YulFunctionCall", + "src": "9865:32:11" + }, + "variableNames": [ + { + "name": "tail", + "nodeType": "YulIdentifier", + "src": "9857:4:11" + } + ] + } + ] + }, + "name": "abi_encode_tuple_t_array$_t_struct$_FacetCut_$711_memory_ptr_$dyn_memory_ptr_t_address_t_bytes_memory_ptr__to_t_array$_t_struct$_FacetCut_$711_memory_ptr_$dyn_memory_ptr_t_address_t_bytes_memory_ptr__fromStack_reversed", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "headStart", + "nodeType": "YulTypedName", + "src": "7859:9:11", + "type": "" + }, + { + "name": "value2", + "nodeType": "YulTypedName", + "src": "7870:6:11", + "type": "" + }, + { + "name": "value1", + "nodeType": "YulTypedName", + "src": "7878:6:11", + "type": "" + }, + { + "name": "value0", + "nodeType": "YulTypedName", + "src": "7886:6:11", + "type": "" + } + ], + "returnVariables": [ + { + "name": "tail", + "nodeType": "YulTypedName", + "src": "7897:4:11", + "type": "" + } + ], + "src": "7631:2272:11" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "10082:233:11", + "statements": [ + { + "expression": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "10099:9:11" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "10110:2:11", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "10092:6:11" + }, + "nodeType": "YulFunctionCall", + "src": "10092:21:11" + }, + "nodeType": "YulExpressionStatement", + "src": "10092:21:11" + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "10133:9:11" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "10144:2:11", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "10129:3:11" + }, + "nodeType": "YulFunctionCall", + "src": "10129:18:11" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "10149:2:11", + "type": "", + "value": "43" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "10122:6:11" + }, + "nodeType": "YulFunctionCall", + "src": "10122:30:11" + }, + "nodeType": "YulExpressionStatement", + "src": "10122:30:11" + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "10172:9:11" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "10183:2:11", + "type": "", + "value": "64" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "10168:3:11" + }, + "nodeType": "YulFunctionCall", + "src": "10168:18:11" + }, + { + "hexValue": "4c69624469616d6f6e644375743a204e6f2073656c6563746f727320696e2066", + "kind": "string", + "nodeType": "YulLiteral", + "src": "10188:34:11", + "type": "", + "value": "LibDiamondCut: No selectors in f" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "10161:6:11" + }, + "nodeType": "YulFunctionCall", + "src": "10161:62:11" + }, + "nodeType": "YulExpressionStatement", + "src": "10161:62:11" + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "10243:9:11" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "10254:2:11", + "type": "", + "value": "96" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "10239:3:11" + }, + "nodeType": "YulFunctionCall", + "src": "10239:18:11" + }, + { + "hexValue": "6163657420746f20637574", + "kind": "string", + "nodeType": "YulLiteral", + "src": "10259:13:11", + "type": "", + "value": "acet to cut" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "10232:6:11" + }, + "nodeType": "YulFunctionCall", + "src": "10232:41:11" + }, + "nodeType": "YulExpressionStatement", + "src": "10232:41:11" + }, + { + "nodeType": "YulAssignment", + "src": "10282:27:11", + "value": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "10294:9:11" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "10305:3:11", + "type": "", + "value": "128" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "10290:3:11" + }, + "nodeType": "YulFunctionCall", + "src": "10290:19:11" + }, + "variableNames": [ + { + "name": "tail", + "nodeType": "YulIdentifier", + "src": "10282:4:11" + } + ] + } + ] + }, + "name": "abi_encode_tuple_t_stringliteral_1ffc682bcfedefd5e93ba9ed0c2d1bc0b18319886e3b4bd28a03a3d3729f85c0__to_t_string_memory_ptr__fromStack_reversed", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "headStart", + "nodeType": "YulTypedName", + "src": "10059:9:11", + "type": "" + } + ], + "returnVariables": [ + { + "name": "tail", + "nodeType": "YulTypedName", + "src": "10073:4:11", + "type": "" + } + ], + "src": "9908:407:11" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "10494:234:11", + "statements": [ + { + "expression": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "10511:9:11" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "10522:2:11", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "10504:6:11" + }, + "nodeType": "YulFunctionCall", + "src": "10504:21:11" + }, + "nodeType": "YulExpressionStatement", + "src": "10504:21:11" + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "10545:9:11" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "10556:2:11", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "10541:3:11" + }, + "nodeType": "YulFunctionCall", + "src": "10541:18:11" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "10561:2:11", + "type": "", + "value": "44" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "10534:6:11" + }, + "nodeType": "YulFunctionCall", + "src": "10534:30:11" + }, + "nodeType": "YulExpressionStatement", + "src": "10534:30:11" + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "10584:9:11" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "10595:2:11", + "type": "", + "value": "64" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "10580:3:11" + }, + "nodeType": "YulFunctionCall", + "src": "10580:18:11" + }, + { + "hexValue": "4c69624469616d6f6e644375743a204164642066616365742063616e27742062", + "kind": "string", + "nodeType": "YulLiteral", + "src": "10600:34:11", + "type": "", + "value": "LibDiamondCut: Add facet can't b" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "10573:6:11" + }, + "nodeType": "YulFunctionCall", + "src": "10573:62:11" + }, + "nodeType": "YulExpressionStatement", + "src": "10573:62:11" + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "10655:9:11" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "10666:2:11", + "type": "", + "value": "96" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "10651:3:11" + }, + "nodeType": "YulFunctionCall", + "src": "10651:18:11" + }, + { + "hexValue": "652061646472657373283029", + "kind": "string", + "nodeType": "YulLiteral", + "src": "10671:14:11", + "type": "", + "value": "e address(0)" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "10644:6:11" + }, + "nodeType": "YulFunctionCall", + "src": "10644:42:11" + }, + "nodeType": "YulExpressionStatement", + "src": "10644:42:11" + }, + { + "nodeType": "YulAssignment", + "src": "10695:27:11", + "value": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "10707:9:11" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "10718:3:11", + "type": "", + "value": "128" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "10703:3:11" + }, + "nodeType": "YulFunctionCall", + "src": "10703:19:11" + }, + "variableNames": [ + { + "name": "tail", + "nodeType": "YulIdentifier", + "src": "10695:4:11" + } + ] + } + ] + }, + "name": "abi_encode_tuple_t_stringliteral_64609d8b93c93a06b98d7db7a87b04044cd4a52c5661d603bb9b90ad8b914a3a__to_t_string_memory_ptr__fromStack_reversed", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "headStart", + "nodeType": "YulTypedName", + "src": "10471:9:11", + "type": "" + } + ], + "returnVariables": [ + { + "name": "tail", + "nodeType": "YulTypedName", + "src": "10485:4:11", + "type": "" + } + ], + "src": "10320:408:11" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "10907:243:11", + "statements": [ + { + "expression": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "10924:9:11" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "10935:2:11", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "10917:6:11" + }, + "nodeType": "YulFunctionCall", + "src": "10917:21:11" + }, + "nodeType": "YulExpressionStatement", + "src": "10917:21:11" + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "10958:9:11" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "10969:2:11", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "10954:3:11" + }, + "nodeType": "YulFunctionCall", + "src": "10954:18:11" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "10974:2:11", + "type": "", + "value": "53" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "10947:6:11" + }, + "nodeType": "YulFunctionCall", + "src": "10947:30:11" + }, + "nodeType": "YulExpressionStatement", + "src": "10947:30:11" + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "10997:9:11" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "11008:2:11", + "type": "", + "value": "64" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "10993:3:11" + }, + "nodeType": "YulFunctionCall", + "src": "10993:18:11" + }, + { + "hexValue": "4c69624469616d6f6e644375743a2043616e2774206164642066756e6374696f", + "kind": "string", + "nodeType": "YulLiteral", + "src": "11013:34:11", + "type": "", + "value": "LibDiamondCut: Can't add functio" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "10986:6:11" + }, + "nodeType": "YulFunctionCall", + "src": "10986:62:11" + }, + "nodeType": "YulExpressionStatement", + "src": "10986:62:11" + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "11068:9:11" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "11079:2:11", + "type": "", + "value": "96" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "11064:3:11" + }, + "nodeType": "YulFunctionCall", + "src": "11064:18:11" + }, + { + "hexValue": "6e207468617420616c726561647920657869737473", + "kind": "string", + "nodeType": "YulLiteral", + "src": "11084:23:11", + "type": "", + "value": "n that already exists" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "11057:6:11" + }, + "nodeType": "YulFunctionCall", + "src": "11057:51:11" + }, + "nodeType": "YulExpressionStatement", + "src": "11057:51:11" + }, + { + "nodeType": "YulAssignment", + "src": "11117:27:11", + "value": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "11129:9:11" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "11140:3:11", + "type": "", + "value": "128" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "11125:3:11" + }, + "nodeType": "YulFunctionCall", + "src": "11125:19:11" + }, + "variableNames": [ + { + "name": "tail", + "nodeType": "YulIdentifier", + "src": "11117:4:11" + } + ] + } + ] + }, + "name": "abi_encode_tuple_t_stringliteral_99a7418ee014d613f46da44561258cdbb58064508097483a319062b99fa37700__to_t_string_memory_ptr__fromStack_reversed", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "headStart", + "nodeType": "YulTypedName", + "src": "10884:9:11", + "type": "" + } + ], + "returnVariables": [ + { + "name": "tail", + "nodeType": "YulTypedName", + "src": "10898:4:11", + "type": "" + } + ], + "src": "10733:417:11" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "11201:171:11", + "statements": [ + { + "nodeType": "YulVariableDeclaration", + "src": "11211:36:11", + "value": { + "kind": "number", + "nodeType": "YulLiteral", + "src": "11221:26:11", + "type": "", + "value": "0xffffffffffffffffffffffff" + }, + "variables": [ + { + "name": "_1", + "nodeType": "YulTypedName", + "src": "11215:2:11", + "type": "" + } + ] + }, + { + "nodeType": "YulVariableDeclaration", + "src": "11256:29:11", + "value": { + "arguments": [ + { + "name": "value", + "nodeType": "YulIdentifier", + "src": "11275:5:11" + }, + { + "name": "_1", + "nodeType": "YulIdentifier", + "src": "11282:2:11" + } + ], + "functionName": { + "name": "and", + "nodeType": "YulIdentifier", + "src": "11271:3:11" + }, + "nodeType": "YulFunctionCall", + "src": "11271:14:11" + }, + "variables": [ + { + "name": "value_1", + "nodeType": "YulTypedName", + "src": "11260:7:11", + "type": "" + } + ] + }, + { + "body": { + "nodeType": "YulBlock", + "src": "11313:22:11", + "statements": [ + { + "expression": { + "arguments": [], + "functionName": { + "name": "panic_error_0x11", + "nodeType": "YulIdentifier", + "src": "11315:16:11" + }, + "nodeType": "YulFunctionCall", + "src": "11315:18:11" + }, + "nodeType": "YulExpressionStatement", + "src": "11315:18:11" + } + ] + }, + "condition": { + "arguments": [ + { + "name": "value_1", + "nodeType": "YulIdentifier", + "src": "11300:7:11" + }, + { + "name": "_1", + "nodeType": "YulIdentifier", + "src": "11309:2:11" + } + ], + "functionName": { + "name": "eq", + "nodeType": "YulIdentifier", + "src": "11297:2:11" + }, + "nodeType": "YulFunctionCall", + "src": "11297:15:11" + }, + "nodeType": "YulIf", + "src": "11294:41:11" + }, + { + "nodeType": "YulAssignment", + "src": "11344:22:11", + "value": { + "arguments": [ + { + "name": "value_1", + "nodeType": "YulIdentifier", + "src": "11355:7:11" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "11364:1:11", + "type": "", + "value": "1" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "11351:3:11" + }, + "nodeType": "YulFunctionCall", + "src": "11351:15:11" + }, + "variableNames": [ + { + "name": "ret", + "nodeType": "YulIdentifier", + "src": "11344:3:11" + } + ] + } + ] + }, + "name": "increment_t_uint96", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "value", + "nodeType": "YulTypedName", + "src": "11183:5:11", + "type": "" + } + ], + "returnVariables": [ + { + "name": "ret", + "nodeType": "YulTypedName", + "src": "11193:3:11", + "type": "" + } + ], + "src": "11155:217:11" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "11551:246:11", + "statements": [ + { + "expression": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "11568:9:11" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "11579:2:11", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "11561:6:11" + }, + "nodeType": "YulFunctionCall", + "src": "11561:21:11" + }, + "nodeType": "YulExpressionStatement", + "src": "11561:21:11" + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "11602:9:11" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "11613:2:11", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "11598:3:11" + }, + "nodeType": "YulFunctionCall", + "src": "11598:18:11" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "11618:2:11", + "type": "", + "value": "56" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "11591:6:11" + }, + "nodeType": "YulFunctionCall", + "src": "11591:30:11" + }, + "nodeType": "YulExpressionStatement", + "src": "11591:30:11" + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "11641:9:11" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "11652:2:11", + "type": "", + "value": "64" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "11637:3:11" + }, + "nodeType": "YulFunctionCall", + "src": "11637:18:11" + }, + { + "hexValue": "4c69624469616d6f6e644375743a2043616e2774207265706c6163652066756e", + "kind": "string", + "nodeType": "YulLiteral", + "src": "11657:34:11", + "type": "", + "value": "LibDiamondCut: Can't replace fun" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "11630:6:11" + }, + "nodeType": "YulFunctionCall", + "src": "11630:62:11" + }, + "nodeType": "YulExpressionStatement", + "src": "11630:62:11" + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "11712:9:11" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "11723:2:11", + "type": "", + "value": "96" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "11708:3:11" + }, + "nodeType": "YulFunctionCall", + "src": "11708:18:11" + }, + { + "hexValue": "6374696f6e20776974682073616d652066756e6374696f6e", + "kind": "string", + "nodeType": "YulLiteral", + "src": "11728:26:11", + "type": "", + "value": "ction with same function" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "11701:6:11" + }, + "nodeType": "YulFunctionCall", + "src": "11701:54:11" + }, + "nodeType": "YulExpressionStatement", + "src": "11701:54:11" + }, + { + "nodeType": "YulAssignment", + "src": "11764:27:11", + "value": { + "arguments": [ { "name": "headStart", "nodeType": "YulIdentifier", - "src": "10439:9:10" + "src": "11776:9:11" }, { "kind": "number", "nodeType": "YulLiteral", - "src": "10450:3:10", + "src": "11787:3:11", "type": "", "value": "128" } @@ -6710,28 +8187,28 @@ "functionName": { "name": "add", "nodeType": "YulIdentifier", - "src": "10435:3:10" + "src": "11772:3:11" }, "nodeType": "YulFunctionCall", - "src": "10435:19:10" + "src": "11772:19:11" }, "variableNames": [ { "name": "tail", "nodeType": "YulIdentifier", - "src": "10427:4:10" + "src": "11764:4:11" } ] } ] }, - "name": "abi_encode_tuple_t_stringliteral_b739aae768f79b96e91d9f66398733516895e39eb09ee54a795b49dcc77504d4__to_t_string_memory_ptr__fromStack_reversed", + "name": "abi_encode_tuple_t_stringliteral_b5a7112edf707196456f338fdcc19cd849be6cb8c0d166bcd035f4cfb00e7078__to_t_string_memory_ptr__fromStack_reversed", "nodeType": "YulFunctionDefinition", "parameters": [ { "name": "headStart", "nodeType": "YulTypedName", - "src": "10193:9:10", + "src": "11528:9:11", "type": "" } ], @@ -6739,1708 +8216,1839 @@ { "name": "tail", "nodeType": "YulTypedName", - "src": "10207:4:10", + "src": "11542:4:11", "type": "" } ], - "src": "10042:418:10" + "src": "11377:420:11" }, { "body": { "nodeType": "YulBlock", - "src": "10509:198:10", + "src": "11976:244:11", "statements": [ { - "nodeType": "YulAssignment", - "src": "10519:19:10", - "value": { + "expression": { "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "11993:9:11" + }, { "kind": "number", "nodeType": "YulLiteral", - "src": "10535:2:10", + "src": "12004:2:11", "type": "", - "value": "64" + "value": "32" } ], "functionName": { - "name": "mload", + "name": "mstore", "nodeType": "YulIdentifier", - "src": "10529:5:10" + "src": "11986:6:11" }, "nodeType": "YulFunctionCall", - "src": "10529:9:10" + "src": "11986:21:11" }, - "variableNames": [ - { - "name": "memPtr", - "nodeType": "YulIdentifier", - "src": "10519:6:10" - } - ] + "nodeType": "YulExpressionStatement", + "src": "11986:21:11" }, { - "nodeType": "YulVariableDeclaration", - "src": "10547:35:10", - "value": { + "expression": { "arguments": [ { - "name": "memPtr", - "nodeType": "YulIdentifier", - "src": "10569:6:10" + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "12027:9:11" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "12038:2:11", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "12023:3:11" + }, + "nodeType": "YulFunctionCall", + "src": "12023:18:11" }, { - "name": "size", - "nodeType": "YulIdentifier", - "src": "10577:4:10" + "kind": "number", + "nodeType": "YulLiteral", + "src": "12043:2:11", + "type": "", + "value": "54" } ], "functionName": { - "name": "add", + "name": "mstore", "nodeType": "YulIdentifier", - "src": "10565:3:10" + "src": "12016:6:11" }, "nodeType": "YulFunctionCall", - "src": "10565:17:10" + "src": "12016:30:11" }, - "variables": [ - { - "name": "newFreePtr", - "nodeType": "YulTypedName", - "src": "10551:10:10", - "type": "" - } - ] + "nodeType": "YulExpressionStatement", + "src": "12016:30:11" }, { - "body": { - "nodeType": "YulBlock", - "src": "10657:13:10", - "statements": [ - { - "expression": { - "arguments": [], - "functionName": { - "name": "invalid", - "nodeType": "YulIdentifier", - "src": "10659:7:10" - }, - "nodeType": "YulFunctionCall", - "src": "10659:9:10" - }, - "nodeType": "YulExpressionStatement", - "src": "10659:9:10" - } - ] - }, - "condition": { + "expression": { "arguments": [ { "arguments": [ { - "name": "newFreePtr", + "name": "headStart", "nodeType": "YulIdentifier", - "src": "10600:10:10" + "src": "12066:9:11" }, { "kind": "number", "nodeType": "YulLiteral", - "src": "10612:18:10", + "src": "12077:2:11", "type": "", - "value": "0xffffffffffffffff" + "value": "64" } ], "functionName": { - "name": "gt", + "name": "add", "nodeType": "YulIdentifier", - "src": "10597:2:10" + "src": "12062:3:11" }, "nodeType": "YulFunctionCall", - "src": "10597:34:10" + "src": "12062:18:11" }, + { + "hexValue": "4c69624469616d6f6e644375743a2052656d6f76652066616365742061646472", + "kind": "string", + "nodeType": "YulLiteral", + "src": "12082:34:11", + "type": "", + "value": "LibDiamondCut: Remove facet addr" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "12055:6:11" + }, + "nodeType": "YulFunctionCall", + "src": "12055:62:11" + }, + "nodeType": "YulExpressionStatement", + "src": "12055:62:11" + }, + { + "expression": { + "arguments": [ { "arguments": [ { - "name": "newFreePtr", + "name": "headStart", "nodeType": "YulIdentifier", - "src": "10636:10:10" + "src": "12137:9:11" }, { - "name": "memPtr", - "nodeType": "YulIdentifier", - "src": "10648:6:10" + "kind": "number", + "nodeType": "YulLiteral", + "src": "12148:2:11", + "type": "", + "value": "96" } ], "functionName": { - "name": "lt", + "name": "add", "nodeType": "YulIdentifier", - "src": "10633:2:10" + "src": "12133:3:11" }, "nodeType": "YulFunctionCall", - "src": "10633:22:10" + "src": "12133:18:11" + }, + { + "hexValue": "657373206d7573742062652061646472657373283029", + "kind": "string", + "nodeType": "YulLiteral", + "src": "12153:24:11", + "type": "", + "value": "ess must be address(0)" } ], "functionName": { - "name": "or", + "name": "mstore", "nodeType": "YulIdentifier", - "src": "10594:2:10" + "src": "12126:6:11" }, "nodeType": "YulFunctionCall", - "src": "10594:62:10" + "src": "12126:52:11" }, - "nodeType": "YulIf", - "src": "10591:2:10" + "nodeType": "YulExpressionStatement", + "src": "12126:52:11" }, { - "expression": { + "nodeType": "YulAssignment", + "src": "12187:27:11", + "value": { "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "12199:9:11" + }, { "kind": "number", "nodeType": "YulLiteral", - "src": "10686:2:10", + "src": "12210:3:11", "type": "", - "value": "64" - }, - { - "name": "newFreePtr", - "nodeType": "YulIdentifier", - "src": "10690:10:10" + "value": "128" } ], "functionName": { - "name": "mstore", + "name": "add", "nodeType": "YulIdentifier", - "src": "10679:6:10" + "src": "12195:3:11" }, "nodeType": "YulFunctionCall", - "src": "10679:22:10" + "src": "12195:19:11" }, - "nodeType": "YulExpressionStatement", - "src": "10679:22:10" + "variableNames": [ + { + "name": "tail", + "nodeType": "YulIdentifier", + "src": "12187:4:11" + } + ] } ] }, - "name": "allocateMemory", + "name": "abi_encode_tuple_t_stringliteral_b739aae768f79b96e91d9f66398733516895e39eb09ee54a795b49dcc77504d4__to_t_string_memory_ptr__fromStack_reversed", "nodeType": "YulFunctionDefinition", "parameters": [ { - "name": "size", + "name": "headStart", "nodeType": "YulTypedName", - "src": "10489:4:10", + "src": "11953:9:11", "type": "" } ], "returnVariables": [ { - "name": "memPtr", + "name": "tail", "nodeType": "YulTypedName", - "src": "10498:6:10", + "src": "11967:4:11", "type": "" } ], - "src": "10465:242:10" + "src": "11802:418:11" }, { "body": { "nodeType": "YulBlock", - "src": "10786:108:10", + "src": "12399:250:11", "statements": [ { - "body": { - "nodeType": "YulBlock", - "src": "10830:13:10", - "statements": [ - { - "expression": { - "arguments": [], - "functionName": { - "name": "invalid", - "nodeType": "YulIdentifier", - "src": "10832:7:10" - }, - "nodeType": "YulFunctionCall", - "src": "10832:9:10" - }, - "nodeType": "YulExpressionStatement", - "src": "10832:9:10" - } - ] - }, - "condition": { + "expression": { "arguments": [ { - "name": "length", + "name": "headStart", "nodeType": "YulIdentifier", - "src": "10802:6:10" + "src": "12416:9:11" }, { "kind": "number", "nodeType": "YulLiteral", - "src": "10810:18:10", + "src": "12427:2:11", "type": "", - "value": "0xffffffffffffffff" + "value": "32" } ], "functionName": { - "name": "gt", + "name": "mstore", "nodeType": "YulIdentifier", - "src": "10799:2:10" + "src": "12409:6:11" }, "nodeType": "YulFunctionCall", - "src": "10799:30:10" + "src": "12409:21:11" }, - "nodeType": "YulIf", - "src": "10796:2:10" + "nodeType": "YulExpressionStatement", + "src": "12409:21:11" }, { - "nodeType": "YulAssignment", - "src": "10852:36:10", - "value": { + "expression": { "arguments": [ { "arguments": [ { - "name": "length", + "name": "headStart", "nodeType": "YulIdentifier", - "src": "10868:6:10" + "src": "12450:9:11" }, { "kind": "number", "nodeType": "YulLiteral", - "src": "10876:4:10", + "src": "12461:2:11", "type": "", - "value": "0x20" + "value": "32" } ], "functionName": { - "name": "mul", + "name": "add", "nodeType": "YulIdentifier", - "src": "10864:3:10" + "src": "12446:3:11" }, "nodeType": "YulFunctionCall", - "src": "10864:17:10" + "src": "12446:18:11" }, { "kind": "number", "nodeType": "YulLiteral", - "src": "10883:4:10", + "src": "12466:2:11", "type": "", - "value": "0x20" + "value": "60" } ], "functionName": { - "name": "add", + "name": "mstore", "nodeType": "YulIdentifier", - "src": "10860:3:10" + "src": "12439:6:11" }, "nodeType": "YulFunctionCall", - "src": "10860:28:10" + "src": "12439:30:11" }, - "variableNames": [ - { - "name": "size", - "nodeType": "YulIdentifier", - "src": "10852:4:10" - } - ] - } - ] - }, - "name": "array_allocation_size_t_array$_t_bytes4_$dyn", - "nodeType": "YulFunctionDefinition", - "parameters": [ - { - "name": "length", - "nodeType": "YulTypedName", - "src": "10766:6:10", - "type": "" - } - ], - "returnVariables": [ - { - "name": "size", - "nodeType": "YulTypedName", - "src": "10777:4:10", - "type": "" - } - ], - "src": "10712:182:10" - }, - { - "body": { - "nodeType": "YulBlock", - "src": "11081:1303:10", - "statements": [ + "nodeType": "YulExpressionStatement", + "src": "12439:30:11" + }, { - "nodeType": "YulVariableDeclaration", - "src": "11091:79:10", - "value": { + "expression": { "arguments": [ { "arguments": [ { - "name": "length", + "name": "headStart", "nodeType": "YulIdentifier", - "src": "11162:6:10" + "src": "12489:9:11" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "12500:2:11", + "type": "", + "value": "64" } ], "functionName": { - "name": "array_allocation_size_t_array$_t_bytes4_$dyn", + "name": "add", "nodeType": "YulIdentifier", - "src": "11117:44:10" + "src": "12485:3:11" }, "nodeType": "YulFunctionCall", - "src": "11117:52:10" + "src": "12485:18:11" + }, + { + "hexValue": "4c69624469616d6f6e644375743a205f696e6974206973206164647265737328", + "kind": "string", + "nodeType": "YulLiteral", + "src": "12505:34:11", + "type": "", + "value": "LibDiamondCut: _init is address(" } ], "functionName": { - "name": "allocateMemory", + "name": "mstore", "nodeType": "YulIdentifier", - "src": "11102:14:10" + "src": "12478:6:11" }, "nodeType": "YulFunctionCall", - "src": "11102:68:10" - }, - "variables": [ - { - "name": "dst", - "nodeType": "YulTypedName", - "src": "11095:3:10", - "type": "" - } - ] - }, - { - "nodeType": "YulVariableDeclaration", - "src": "11179:16:10", - "value": { - "name": "dst", - "nodeType": "YulIdentifier", - "src": "11192:3:10" + "src": "12478:62:11" }, - "variables": [ - { - "name": "dst_1", - "nodeType": "YulTypedName", - "src": "11183:5:10", - "type": "" - } - ] + "nodeType": "YulExpressionStatement", + "src": "12478:62:11" }, { "expression": { "arguments": [ { - "name": "dst", - "nodeType": "YulIdentifier", - "src": "11211:3:10" + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "12560:9:11" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "12571:2:11", + "type": "", + "value": "96" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "12556:3:11" + }, + "nodeType": "YulFunctionCall", + "src": "12556:18:11" }, { - "name": "length", - "nodeType": "YulIdentifier", - "src": "11216:6:10" + "hexValue": "3029206275745f63616c6c64617461206973206e6f7420656d707479", + "kind": "string", + "nodeType": "YulLiteral", + "src": "12576:30:11", + "type": "", + "value": "0) but_calldata is not empty" } ], "functionName": { "name": "mstore", "nodeType": "YulIdentifier", - "src": "11204:6:10" + "src": "12549:6:11" }, "nodeType": "YulFunctionCall", - "src": "11204:19:10" + "src": "12549:58:11" }, "nodeType": "YulExpressionStatement", - "src": "11204:19:10" - }, - { - "nodeType": "YulVariableDeclaration", - "src": "11232:14:10", - "value": { - "kind": "number", - "nodeType": "YulLiteral", - "src": "11242:4:10", - "type": "", - "value": "0x20" - }, - "variables": [ - { - "name": "_1", - "nodeType": "YulTypedName", - "src": "11236:2:10", - "type": "" - } - ] + "src": "12549:58:11" }, { "nodeType": "YulAssignment", - "src": "11255:19:10", + "src": "12616:27:11", "value": { "arguments": [ { - "name": "dst", + "name": "headStart", "nodeType": "YulIdentifier", - "src": "11266:3:10" + "src": "12628:9:11" }, { - "name": "_1", - "nodeType": "YulIdentifier", - "src": "11271:2:10" + "kind": "number", + "nodeType": "YulLiteral", + "src": "12639:3:11", + "type": "", + "value": "128" } ], "functionName": { "name": "add", "nodeType": "YulIdentifier", - "src": "11262:3:10" + "src": "12624:3:11" }, "nodeType": "YulFunctionCall", - "src": "11262:12:10" + "src": "12624:19:11" }, "variableNames": [ { - "name": "dst", + "name": "tail", "nodeType": "YulIdentifier", - "src": "11255:3:10" - } - ] - }, - { - "nodeType": "YulVariableDeclaration", - "src": "11283:16:10", - "value": { - "name": "value", - "nodeType": "YulIdentifier", - "src": "11294:5:10" - }, - "variables": [ - { - "name": "src", - "nodeType": "YulTypedName", - "src": "11287:3:10", - "type": "" - } - ] - }, - { - "nodeType": "YulVariableDeclaration", - "src": "11308:18:10", - "value": { - "name": "converted", - "nodeType": "YulIdentifier", - "src": "11317:9:10" - }, - "variables": [ - { - "name": "i", - "nodeType": "YulTypedName", - "src": "11312:1:10", - "type": "" + "src": "12616:4:11" } ] - }, + } + ] + }, + "name": "abi_encode_tuple_t_stringliteral_046c761a688d1dc3c500562bc5aaa3544f01f394f9bb3b69aa2a950a45afb1f8__to_t_string_memory_ptr__fromStack_reversed", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "headStart", + "nodeType": "YulTypedName", + "src": "12376:9:11", + "type": "" + } + ], + "returnVariables": [ + { + "name": "tail", + "nodeType": "YulTypedName", + "src": "12390:4:11", + "type": "" + } + ], + "src": "12225:424:11" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "12828:251:11", + "statements": [ { - "body": { - "nodeType": "YulBlock", - "src": "11384:967:10", - "statements": [ - { - "nodeType": "YulVariableDeclaration", - "src": "11398:39:10", - "value": { - "arguments": [ - { - "name": "value", - "nodeType": "YulIdentifier", - "src": "11412:5:10" - }, - { - "arguments": [ - { - "name": "src", - "nodeType": "YulIdentifier", - "src": "11432:3:10" - } - ], - "functionName": { - "name": "calldataload", - "nodeType": "YulIdentifier", - "src": "11419:12:10" - }, - "nodeType": "YulFunctionCall", - "src": "11419:17:10" - } - ], - "functionName": { - "name": "add", - "nodeType": "YulIdentifier", - "src": "11408:3:10" - }, - "nodeType": "YulFunctionCall", - "src": "11408:29:10" - }, - "variables": [ - { - "name": "_2", - "nodeType": "YulTypedName", - "src": "11402:2:10", - "type": "" - } - ] - }, + "expression": { + "arguments": [ { - "nodeType": "YulVariableDeclaration", - "src": "11450:14:10", - "value": { - "kind": "number", - "nodeType": "YulLiteral", - "src": "11460:4:10", - "type": "", - "value": "0x60" - }, - "variables": [ - { - "name": "_3", - "nodeType": "YulTypedName", - "src": "11454:2:10", - "type": "" - } - ] + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "12845:9:11" }, { - "body": { - "nodeType": "YulBlock", - "src": "11513:32:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "name": "converted", - "nodeType": "YulIdentifier", - "src": "11522:9:10" - }, - { - "name": "converted", - "nodeType": "YulIdentifier", - "src": "11533:9:10" - } - ], - "functionName": { - "name": "revert", - "nodeType": "YulIdentifier", - "src": "11515:6:10" - }, - "nodeType": "YulFunctionCall", - "src": "11515:28:10" - }, - "nodeType": "YulExpressionStatement", - "src": "11515:28:10" - } - ] - }, - "condition": { - "arguments": [ - { - "arguments": [ - { - "arguments": [], - "functionName": { - "name": "calldatasize", - "nodeType": "YulIdentifier", - "src": "11488:12:10" - }, - "nodeType": "YulFunctionCall", - "src": "11488:14:10" - }, - { - "name": "_2", - "nodeType": "YulIdentifier", - "src": "11504:2:10" - } - ], - "functionName": { - "name": "sub", - "nodeType": "YulIdentifier", - "src": "11484:3:10" - }, - "nodeType": "YulFunctionCall", - "src": "11484:23:10" - }, - { - "name": "_3", - "nodeType": "YulIdentifier", - "src": "11509:2:10" - } - ], - "functionName": { - "name": "slt", + "kind": "number", + "nodeType": "YulLiteral", + "src": "12856:2:11", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "12838:6:11" + }, + "nodeType": "YulFunctionCall", + "src": "12838:21:11" + }, + "nodeType": "YulExpressionStatement", + "src": "12838:21:11" + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", "nodeType": "YulIdentifier", - "src": "11480:3:10" + "src": "12879:9:11" }, - "nodeType": "YulFunctionCall", - "src": "11480:32:10" - }, - "nodeType": "YulIf", - "src": "11477:2:10" - }, - { - "nodeType": "YulVariableDeclaration", - "src": "11558:12:10", - "value": { - "kind": "number", - "nodeType": "YulLiteral", - "src": "11568:2:10", - "type": "", - "value": "64" - }, - "variables": [ { - "name": "_4", - "nodeType": "YulTypedName", - "src": "11562:2:10", - "type": "" + "kind": "number", + "nodeType": "YulLiteral", + "src": "12890:2:11", + "type": "", + "value": "32" } - ] + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "12875:3:11" + }, + "nodeType": "YulFunctionCall", + "src": "12875:18:11" }, { - "nodeType": "YulVariableDeclaration", - "src": "11583:23:10", - "value": { - "arguments": [ - { - "name": "_4", - "nodeType": "YulIdentifier", - "src": "11603:2:10" - } - ], - "functionName": { - "name": "mload", + "kind": "number", + "nodeType": "YulLiteral", + "src": "12895:2:11", + "type": "", + "value": "61" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "12868:6:11" + }, + "nodeType": "YulFunctionCall", + "src": "12868:30:11" + }, + "nodeType": "YulExpressionStatement", + "src": "12868:30:11" + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", "nodeType": "YulIdentifier", - "src": "11597:5:10" + "src": "12918:9:11" }, - "nodeType": "YulFunctionCall", - "src": "11597:9:10" - }, - "variables": [ { - "name": "memPtr", - "nodeType": "YulTypedName", - "src": "11587:6:10", - "type": "" + "kind": "number", + "nodeType": "YulLiteral", + "src": "12929:2:11", + "type": "", + "value": "64" } - ] + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "12914:3:11" + }, + "nodeType": "YulFunctionCall", + "src": "12914:18:11" }, { - "nodeType": "YulVariableDeclaration", - "src": "11619:33:10", - "value": { - "arguments": [ - { - "name": "memPtr", - "nodeType": "YulIdentifier", - "src": "11641:6:10" - }, - { - "name": "_3", - "nodeType": "YulIdentifier", - "src": "11649:2:10" - } - ], - "functionName": { - "name": "add", + "hexValue": "4c69624469616d6f6e644375743a205f63616c6c6461746120697320656d7074", + "kind": "string", + "nodeType": "YulLiteral", + "src": "12934:34:11", + "type": "", + "value": "LibDiamondCut: _calldata is empt" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "12907:6:11" + }, + "nodeType": "YulFunctionCall", + "src": "12907:62:11" + }, + "nodeType": "YulExpressionStatement", + "src": "12907:62:11" + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", "nodeType": "YulIdentifier", - "src": "11637:3:10" + "src": "12989:9:11" }, - "nodeType": "YulFunctionCall", - "src": "11637:15:10" - }, - "variables": [ { - "name": "newFreePtr", - "nodeType": "YulTypedName", - "src": "11623:10:10", - "type": "" + "kind": "number", + "nodeType": "YulLiteral", + "src": "13000:2:11", + "type": "", + "value": "96" } - ] - }, - { - "nodeType": "YulVariableDeclaration", - "src": "11665:28:10", - "value": { - "kind": "number", - "nodeType": "YulLiteral", - "src": "11675:18:10", - "type": "", - "value": "0xffffffffffffffff" + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "12985:3:11" }, - "variables": [ - { - "name": "_5", - "nodeType": "YulTypedName", - "src": "11669:2:10", - "type": "" - } - ] + "nodeType": "YulFunctionCall", + "src": "12985:18:11" }, { - "body": { - "nodeType": "YulBlock", - "src": "11756:13:10", - "statements": [ - { - "expression": { - "arguments": [], - "functionName": { - "name": "invalid", - "nodeType": "YulIdentifier", - "src": "11758:7:10" - }, - "nodeType": "YulFunctionCall", - "src": "11758:9:10" - }, - "nodeType": "YulExpressionStatement", - "src": "11758:9:10" - } - ] - }, - "condition": { - "arguments": [ - { - "arguments": [ - { - "name": "newFreePtr", - "nodeType": "YulIdentifier", - "src": "11715:10:10" - }, - { - "name": "_5", - "nodeType": "YulIdentifier", - "src": "11727:2:10" - } - ], - "functionName": { - "name": "gt", - "nodeType": "YulIdentifier", - "src": "11712:2:10" - }, - "nodeType": "YulFunctionCall", - "src": "11712:18:10" - }, - { - "arguments": [ - { - "name": "newFreePtr", - "nodeType": "YulIdentifier", - "src": "11735:10:10" - }, - { - "name": "memPtr", - "nodeType": "YulIdentifier", - "src": "11747:6:10" - } - ], - "functionName": { - "name": "lt", - "nodeType": "YulIdentifier", - "src": "11732:2:10" - }, - "nodeType": "YulFunctionCall", - "src": "11732:22:10" - } - ], - "functionName": { - "name": "or", - "nodeType": "YulIdentifier", - "src": "11709:2:10" - }, - "nodeType": "YulFunctionCall", - "src": "11709:46:10" - }, - "nodeType": "YulIf", - "src": "11706:2:10" + "hexValue": "7920627574205f696e6974206973206e6f742061646472657373283029", + "kind": "string", + "nodeType": "YulLiteral", + "src": "13005:31:11", + "type": "", + "value": "y but _init is not address(0)" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "12978:6:11" + }, + "nodeType": "YulFunctionCall", + "src": "12978:59:11" + }, + "nodeType": "YulExpressionStatement", + "src": "12978:59:11" + }, + { + "nodeType": "YulAssignment", + "src": "13046:27:11", + "value": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "13058:9:11" }, { - "expression": { - "arguments": [ - { - "name": "_4", - "nodeType": "YulIdentifier", - "src": "11789:2:10" - }, - { - "name": "newFreePtr", - "nodeType": "YulIdentifier", - "src": "11793:10:10" - } - ], - "functionName": { - "name": "mstore", + "kind": "number", + "nodeType": "YulLiteral", + "src": "13069:3:11", + "type": "", + "value": "128" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "13054:3:11" + }, + "nodeType": "YulFunctionCall", + "src": "13054:19:11" + }, + "variableNames": [ + { + "name": "tail", + "nodeType": "YulIdentifier", + "src": "13046:4:11" + } + ] + } + ] + }, + "name": "abi_encode_tuple_t_stringliteral_868d165ec2461661b624442252aed6a645399bfae7b60083a77ea1b61b084042__to_t_string_memory_ptr__fromStack_reversed", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "headStart", + "nodeType": "YulTypedName", + "src": "12805:9:11", + "type": "" + } + ], + "returnVariables": [ + { + "name": "tail", + "nodeType": "YulTypedName", + "src": "12819:4:11", + "type": "" + } + ], + "src": "12654:425:11" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "13221:137:11", + "statements": [ + { + "nodeType": "YulVariableDeclaration", + "src": "13231:27:11", + "value": { + "arguments": [ + { + "name": "value0", + "nodeType": "YulIdentifier", + "src": "13251:6:11" + } + ], + "functionName": { + "name": "mload", + "nodeType": "YulIdentifier", + "src": "13245:5:11" + }, + "nodeType": "YulFunctionCall", + "src": "13245:13:11" + }, + "variables": [ + { + "name": "length", + "nodeType": "YulTypedName", + "src": "13235:6:11", + "type": "" + } + ] + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "value0", "nodeType": "YulIdentifier", - "src": "11782:6:10" + "src": "13293:6:11" }, - "nodeType": "YulFunctionCall", - "src": "11782:22:10" + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "13301:4:11", + "type": "", + "value": "0x20" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "13289:3:11" }, - "nodeType": "YulExpressionStatement", - "src": "11782:22:10" + "nodeType": "YulFunctionCall", + "src": "13289:17:11" }, { - "expression": { - "arguments": [ - { - "name": "memPtr", - "nodeType": "YulIdentifier", - "src": "11824:6:10" - }, - { - "arguments": [ - { - "name": "_2", - "nodeType": "YulIdentifier", - "src": "11853:2:10" - } - ], - "functionName": { - "name": "abi_decode_t_address", - "nodeType": "YulIdentifier", - "src": "11832:20:10" - }, - "nodeType": "YulFunctionCall", - "src": "11832:24:10" - } - ], - "functionName": { - "name": "mstore", - "nodeType": "YulIdentifier", - "src": "11817:6:10" - }, - "nodeType": "YulFunctionCall", - "src": "11817:40:10" - }, - "nodeType": "YulExpressionStatement", - "src": "11817:40:10" + "name": "pos", + "nodeType": "YulIdentifier", + "src": "13308:3:11" }, { - "nodeType": "YulVariableDeclaration", - "src": "11870:40:10", - "value": { - "arguments": [ - { - "arguments": [ - { - "name": "_2", - "nodeType": "YulIdentifier", - "src": "11902:2:10" - }, - { - "name": "_1", - "nodeType": "YulIdentifier", - "src": "11906:2:10" - } - ], - "functionName": { - "name": "add", - "nodeType": "YulIdentifier", - "src": "11898:3:10" - }, - "nodeType": "YulFunctionCall", - "src": "11898:11:10" - } - ], - "functionName": { - "name": "calldataload", - "nodeType": "YulIdentifier", - "src": "11885:12:10" - }, - "nodeType": "YulFunctionCall", - "src": "11885:25:10" - }, - "variables": [ - { - "name": "value_1", - "nodeType": "YulTypedName", - "src": "11874:7:10", - "type": "" - } - ] + "name": "length", + "nodeType": "YulIdentifier", + "src": "13313:6:11" + } + ], + "functionName": { + "name": "copy_memory_to_memory", + "nodeType": "YulIdentifier", + "src": "13267:21:11" + }, + "nodeType": "YulFunctionCall", + "src": "13267:53:11" + }, + "nodeType": "YulExpressionStatement", + "src": "13267:53:11" + }, + { + "nodeType": "YulAssignment", + "src": "13329:23:11", + "value": { + "arguments": [ + { + "name": "pos", + "nodeType": "YulIdentifier", + "src": "13340:3:11" }, { - "body": { - "nodeType": "YulBlock", - "src": "11949:32:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "name": "converted", - "nodeType": "YulIdentifier", - "src": "11958:9:10" - }, - { - "name": "converted", - "nodeType": "YulIdentifier", - "src": "11969:9:10" - } - ], - "functionName": { - "name": "revert", - "nodeType": "YulIdentifier", - "src": "11951:6:10" - }, - "nodeType": "YulFunctionCall", - "src": "11951:28:10" - }, - "nodeType": "YulExpressionStatement", - "src": "11951:28:10" - } - ] - }, - "condition": { - "arguments": [ - { - "arguments": [ - { - "name": "value_1", - "nodeType": "YulIdentifier", - "src": "11936:7:10" - }, - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "11945:1:10", - "type": "", - "value": "3" - } - ], - "functionName": { - "name": "lt", - "nodeType": "YulIdentifier", - "src": "11933:2:10" - }, - "nodeType": "YulFunctionCall", - "src": "11933:14:10" - } - ], - "functionName": { - "name": "iszero", - "nodeType": "YulIdentifier", - "src": "11926:6:10" - }, - "nodeType": "YulFunctionCall", - "src": "11926:22:10" - }, - "nodeType": "YulIf", - "src": "11923:2:10" + "name": "length", + "nodeType": "YulIdentifier", + "src": "13345:6:11" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "13336:3:11" + }, + "nodeType": "YulFunctionCall", + "src": "13336:16:11" + }, + "variableNames": [ + { + "name": "end", + "nodeType": "YulIdentifier", + "src": "13329:3:11" + } + ] + } + ] + }, + "name": "abi_encode_tuple_packed_t_bytes_memory_ptr__to_t_bytes_memory_ptr__nonPadded_inplace_fromStack_reversed", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "pos", + "nodeType": "YulTypedName", + "src": "13197:3:11", + "type": "" + }, + { + "name": "value0", + "nodeType": "YulTypedName", + "src": "13202:6:11", + "type": "" + } + ], + "returnVariables": [ + { + "name": "end", + "nodeType": "YulTypedName", + "src": "13213:3:11", + "type": "" + } + ], + "src": "13084:274:11" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "13484:98:11", + "statements": [ + { + "expression": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "13501:9:11" }, { - "expression": { - "arguments": [ - { - "arguments": [ - { - "name": "memPtr", - "nodeType": "YulIdentifier", - "src": "12005:6:10" - }, - { - "name": "_1", - "nodeType": "YulIdentifier", - "src": "12013:2:10" - } - ], - "functionName": { - "name": "add", - "nodeType": "YulIdentifier", - "src": "12001:3:10" - }, - "nodeType": "YulFunctionCall", - "src": "12001:15:10" - }, - { - "name": "value_1", - "nodeType": "YulIdentifier", - "src": "12018:7:10" - } - ], - "functionName": { - "name": "mstore", - "nodeType": "YulIdentifier", - "src": "11994:6:10" - }, - "nodeType": "YulFunctionCall", - "src": "11994:32:10" - }, - "nodeType": "YulExpressionStatement", - "src": "11994:32:10" + "kind": "number", + "nodeType": "YulLiteral", + "src": "13512:2:11", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "13494:6:11" + }, + "nodeType": "YulFunctionCall", + "src": "13494:21:11" + }, + "nodeType": "YulExpressionStatement", + "src": "13494:21:11" + }, + { + "nodeType": "YulAssignment", + "src": "13524:52:11", + "value": { + "arguments": [ + { + "name": "value0", + "nodeType": "YulIdentifier", + "src": "13549:6:11" }, { - "nodeType": "YulVariableDeclaration", - "src": "12039:39:10", - "value": { - "arguments": [ - { - "arguments": [ - { - "name": "_2", - "nodeType": "YulIdentifier", - "src": "12070:2:10" - }, - { - "name": "_4", - "nodeType": "YulIdentifier", - "src": "12074:2:10" - } - ], - "functionName": { - "name": "add", - "nodeType": "YulIdentifier", - "src": "12066:3:10" - }, - "nodeType": "YulFunctionCall", - "src": "12066:11:10" - } - ], - "functionName": { - "name": "calldataload", + "arguments": [ + { + "name": "headStart", "nodeType": "YulIdentifier", - "src": "12053:12:10" + "src": "13561:9:11" }, - "nodeType": "YulFunctionCall", - "src": "12053:25:10" - }, - "variables": [ { - "name": "offset", - "nodeType": "YulTypedName", - "src": "12043:6:10", - "type": "" + "kind": "number", + "nodeType": "YulLiteral", + "src": "13572:2:11", + "type": "", + "value": "32" } - ] + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "13557:3:11" + }, + "nodeType": "YulFunctionCall", + "src": "13557:18:11" + } + ], + "functionName": { + "name": "abi_encode_bytes", + "nodeType": "YulIdentifier", + "src": "13532:16:11" + }, + "nodeType": "YulFunctionCall", + "src": "13532:44:11" + }, + "variableNames": [ + { + "name": "tail", + "nodeType": "YulIdentifier", + "src": "13524:4:11" + } + ] + } + ] + }, + "name": "abi_encode_tuple_t_string_memory_ptr__to_t_string_memory_ptr__fromStack_reversed", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "headStart", + "nodeType": "YulTypedName", + "src": "13453:9:11", + "type": "" + }, + { + "name": "value0", + "nodeType": "YulTypedName", + "src": "13464:6:11", + "type": "" + } + ], + "returnVariables": [ + { + "name": "tail", + "nodeType": "YulTypedName", + "src": "13475:4:11", + "type": "" + } + ], + "src": "13363:219:11" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "13761:228:11", + "statements": [ + { + "expression": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "13778:9:11" }, { - "body": { - "nodeType": "YulBlock", - "src": "12109:32:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "name": "converted", - "nodeType": "YulIdentifier", - "src": "12118:9:10" - }, - { - "name": "converted", - "nodeType": "YulIdentifier", - "src": "12129:9:10" - } - ], - "functionName": { - "name": "revert", - "nodeType": "YulIdentifier", - "src": "12111:6:10" - }, - "nodeType": "YulFunctionCall", - "src": "12111:28:10" - }, - "nodeType": "YulExpressionStatement", - "src": "12111:28:10" - } - ] - }, - "condition": { - "arguments": [ - { - "name": "offset", - "nodeType": "YulIdentifier", - "src": "12097:6:10" - }, - { - "name": "_5", - "nodeType": "YulIdentifier", - "src": "12105:2:10" - } - ], - "functionName": { - "name": "gt", + "kind": "number", + "nodeType": "YulLiteral", + "src": "13789:2:11", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "13771:6:11" + }, + "nodeType": "YulFunctionCall", + "src": "13771:21:11" + }, + "nodeType": "YulExpressionStatement", + "src": "13771:21:11" + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", "nodeType": "YulIdentifier", - "src": "12094:2:10" + "src": "13812:9:11" }, - "nodeType": "YulFunctionCall", - "src": "12094:14:10" - }, - "nodeType": "YulIf", - "src": "12091:2:10" - }, - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "name": "memPtr", - "nodeType": "YulIdentifier", - "src": "12165:6:10" - }, - { - "name": "_4", - "nodeType": "YulIdentifier", - "src": "12173:2:10" - } - ], - "functionName": { - "name": "add", - "nodeType": "YulIdentifier", - "src": "12161:3:10" - }, - "nodeType": "YulFunctionCall", - "src": "12161:15:10" - }, - { - "arguments": [ - { - "arguments": [ - { - "name": "_2", - "nodeType": "YulIdentifier", - "src": "12216:2:10" - }, - { - "name": "offset", - "nodeType": "YulIdentifier", - "src": "12220:6:10" - } - ], - "functionName": { - "name": "add", - "nodeType": "YulIdentifier", - "src": "12212:3:10" - }, - "nodeType": "YulFunctionCall", - "src": "12212:15:10" - }, - { - "arguments": [], - "functionName": { - "name": "calldatasize", - "nodeType": "YulIdentifier", - "src": "12229:12:10" - }, - "nodeType": "YulFunctionCall", - "src": "12229:14:10" - } - ], - "functionName": { - "name": "abi_decode_t_array$_t_bytes4_$dyn", - "nodeType": "YulIdentifier", - "src": "12178:33:10" - }, - "nodeType": "YulFunctionCall", - "src": "12178:66:10" - } - ], - "functionName": { - "name": "mstore", + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "13823:2:11", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "13808:3:11" + }, + "nodeType": "YulFunctionCall", + "src": "13808:18:11" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "13828:2:11", + "type": "", + "value": "38" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "13801:6:11" + }, + "nodeType": "YulFunctionCall", + "src": "13801:30:11" + }, + "nodeType": "YulExpressionStatement", + "src": "13801:30:11" + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", "nodeType": "YulIdentifier", - "src": "12154:6:10" + "src": "13851:9:11" }, - "nodeType": "YulFunctionCall", - "src": "12154:91:10" + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "13862:2:11", + "type": "", + "value": "64" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "13847:3:11" }, - "nodeType": "YulExpressionStatement", - "src": "12154:91:10" + "nodeType": "YulFunctionCall", + "src": "13847:18:11" }, { - "expression": { - "arguments": [ - { - "name": "dst", - "nodeType": "YulIdentifier", - "src": "12265:3:10" - }, - { - "name": "memPtr", - "nodeType": "YulIdentifier", - "src": "12270:6:10" - } - ], - "functionName": { - "name": "mstore", + "hexValue": "4c69624469616d6f6e644375743a205f696e69742066756e6374696f6e207265", + "kind": "string", + "nodeType": "YulLiteral", + "src": "13867:34:11", + "type": "", + "value": "LibDiamondCut: _init function re" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "13840:6:11" + }, + "nodeType": "YulFunctionCall", + "src": "13840:62:11" + }, + "nodeType": "YulExpressionStatement", + "src": "13840:62:11" + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", "nodeType": "YulIdentifier", - "src": "12258:6:10" + "src": "13922:9:11" }, - "nodeType": "YulFunctionCall", - "src": "12258:19:10" + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "13933:2:11", + "type": "", + "value": "96" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "13918:3:11" }, - "nodeType": "YulExpressionStatement", - "src": "12258:19:10" + "nodeType": "YulFunctionCall", + "src": "13918:18:11" }, { - "nodeType": "YulAssignment", - "src": "12290:19:10", - "value": { - "arguments": [ - { - "name": "dst", - "nodeType": "YulIdentifier", - "src": "12301:3:10" - }, - { - "name": "_1", - "nodeType": "YulIdentifier", - "src": "12306:2:10" - } - ], - "functionName": { - "name": "add", + "hexValue": "766572746564", + "kind": "string", + "nodeType": "YulLiteral", + "src": "13938:8:11", + "type": "", + "value": "verted" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "13911:6:11" + }, + "nodeType": "YulFunctionCall", + "src": "13911:36:11" + }, + "nodeType": "YulExpressionStatement", + "src": "13911:36:11" + }, + { + "nodeType": "YulAssignment", + "src": "13956:27:11", + "value": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "13968:9:11" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "13979:3:11", + "type": "", + "value": "128" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "13964:3:11" + }, + "nodeType": "YulFunctionCall", + "src": "13964:19:11" + }, + "variableNames": [ + { + "name": "tail", + "nodeType": "YulIdentifier", + "src": "13956:4:11" + } + ] + } + ] + }, + "name": "abi_encode_tuple_t_stringliteral_080b2fe78815767d522290509c8fce2af708c8a54455ca1b0cc978c92822465d__to_t_string_memory_ptr__fromStack_reversed", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "headStart", + "nodeType": "YulTypedName", + "src": "13738:9:11", + "type": "" + } + ], + "returnVariables": [ + { + "name": "tail", + "nodeType": "YulTypedName", + "src": "13752:4:11", + "type": "" + } + ], + "src": "13587:402:11" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "14168:245:11", + "statements": [ + { + "expression": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "14185:9:11" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "14196:2:11", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "14178:6:11" + }, + "nodeType": "YulFunctionCall", + "src": "14178:21:11" + }, + "nodeType": "YulExpressionStatement", + "src": "14178:21:11" + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", "nodeType": "YulIdentifier", - "src": "12297:3:10" + "src": "14219:9:11" }, - "nodeType": "YulFunctionCall", - "src": "12297:12:10" + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "14230:2:11", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "14215:3:11" }, - "variableNames": [ + "nodeType": "YulFunctionCall", + "src": "14215:18:11" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "14235:2:11", + "type": "", + "value": "55" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "14208:6:11" + }, + "nodeType": "YulFunctionCall", + "src": "14208:30:11" + }, + "nodeType": "YulExpressionStatement", + "src": "14208:30:11" + }, + { + "expression": { + "arguments": [ + { + "arguments": [ { - "name": "dst", + "name": "headStart", "nodeType": "YulIdentifier", - "src": "12290:3:10" + "src": "14258:9:11" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "14269:2:11", + "type": "", + "value": "64" } - ] + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "14254:3:11" + }, + "nodeType": "YulFunctionCall", + "src": "14254:18:11" }, { - "nodeType": "YulAssignment", - "src": "12322:19:10", - "value": { - "arguments": [ - { - "name": "src", - "nodeType": "YulIdentifier", - "src": "12333:3:10" - }, - { - "name": "_1", - "nodeType": "YulIdentifier", - "src": "12338:2:10" - } - ], - "functionName": { - "name": "add", + "hexValue": "4c69624469616d6f6e644375743a2043616e27742072656d6f76652066756e63", + "kind": "string", + "nodeType": "YulLiteral", + "src": "14274:34:11", + "type": "", + "value": "LibDiamondCut: Can't remove func" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "14247:6:11" + }, + "nodeType": "YulFunctionCall", + "src": "14247:62:11" + }, + "nodeType": "YulExpressionStatement", + "src": "14247:62:11" + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", "nodeType": "YulIdentifier", - "src": "12329:3:10" + "src": "14329:9:11" }, - "nodeType": "YulFunctionCall", - "src": "12329:12:10" - }, - "variableNames": [ { - "name": "src", - "nodeType": "YulIdentifier", - "src": "12322:3:10" + "kind": "number", + "nodeType": "YulLiteral", + "src": "14340:2:11", + "type": "", + "value": "96" } - ] + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "14325:3:11" + }, + "nodeType": "YulFunctionCall", + "src": "14325:18:11" + }, + { + "hexValue": "74696f6e207468617420646f65736e2774206578697374", + "kind": "string", + "nodeType": "YulLiteral", + "src": "14345:25:11", + "type": "", + "value": "tion that doesn't exist" } - ] + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "14318:6:11" + }, + "nodeType": "YulFunctionCall", + "src": "14318:53:11" }, - "condition": { + "nodeType": "YulExpressionStatement", + "src": "14318:53:11" + }, + { + "nodeType": "YulAssignment", + "src": "14380:27:11", + "value": { "arguments": [ { - "name": "i", + "name": "headStart", "nodeType": "YulIdentifier", - "src": "11346:1:10" + "src": "14392:9:11" }, { - "name": "length", + "kind": "number", + "nodeType": "YulLiteral", + "src": "14403:3:11", + "type": "", + "value": "128" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "14388:3:11" + }, + "nodeType": "YulFunctionCall", + "src": "14388:19:11" + }, + "variableNames": [ + { + "name": "tail", + "nodeType": "YulIdentifier", + "src": "14380:4:11" + } + ] + } + ] + }, + "name": "abi_encode_tuple_t_stringliteral_2c590e498c4d56c984a7092fd5e89a68b9f4541ce9f97252fb74e44a00ffbb71__to_t_string_memory_ptr__fromStack_reversed", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "headStart", + "nodeType": "YulTypedName", + "src": "14145:9:11", + "type": "" + } + ], + "returnVariables": [ + { + "name": "tail", + "nodeType": "YulTypedName", + "src": "14159:4:11", + "type": "" + } + ], + "src": "13994:419:11" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "14592:236:11", + "statements": [ + { + "expression": { + "arguments": [ + { + "name": "headStart", "nodeType": "YulIdentifier", - "src": "11349:6:10" + "src": "14609:9:11" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "14620:2:11", + "type": "", + "value": "32" } ], "functionName": { - "name": "lt", + "name": "mstore", "nodeType": "YulIdentifier", - "src": "11343:2:10" + "src": "14602:6:11" }, "nodeType": "YulFunctionCall", - "src": "11343:13:10" + "src": "14602:21:11" }, - "nodeType": "YulForLoop", - "post": { - "nodeType": "YulBlock", - "src": "11357:18:10", - "statements": [ + "nodeType": "YulExpressionStatement", + "src": "14602:21:11" + }, + { + "expression": { + "arguments": [ { - "nodeType": "YulAssignment", - "src": "11359:14:10", - "value": { - "arguments": [ - { - "name": "i", - "nodeType": "YulIdentifier", - "src": "11368:1:10" - }, - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "11371:1:10", - "type": "", - "value": "1" - } - ], - "functionName": { - "name": "add", + "arguments": [ + { + "name": "headStart", "nodeType": "YulIdentifier", - "src": "11364:3:10" + "src": "14643:9:11" }, - "nodeType": "YulFunctionCall", - "src": "11364:9:10" + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "14654:2:11", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "14639:3:11" }, - "variableNames": [ + "nodeType": "YulFunctionCall", + "src": "14639:18:11" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "14659:2:11", + "type": "", + "value": "46" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "14632:6:11" + }, + "nodeType": "YulFunctionCall", + "src": "14632:30:11" + }, + "nodeType": "YulExpressionStatement", + "src": "14632:30:11" + }, + { + "expression": { + "arguments": [ + { + "arguments": [ { - "name": "i", + "name": "headStart", "nodeType": "YulIdentifier", - "src": "11359:1:10" + "src": "14682:9:11" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "14693:2:11", + "type": "", + "value": "64" } - ] + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "14678:3:11" + }, + "nodeType": "YulFunctionCall", + "src": "14678:18:11" + }, + { + "hexValue": "4c69624469616d6f6e644375743a2043616e27742072656d6f766520696d6d75", + "kind": "string", + "nodeType": "YulLiteral", + "src": "14698:34:11", + "type": "", + "value": "LibDiamondCut: Can't remove immu" } - ] + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "14671:6:11" + }, + "nodeType": "YulFunctionCall", + "src": "14671:62:11" }, - "pre": { - "nodeType": "YulBlock", - "src": "11339:3:10", - "statements": [] + "nodeType": "YulExpressionStatement", + "src": "14671:62:11" + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "14753:9:11" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "14764:2:11", + "type": "", + "value": "96" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "14749:3:11" + }, + "nodeType": "YulFunctionCall", + "src": "14749:18:11" + }, + { + "hexValue": "7461626c652066756e6374696f6e", + "kind": "string", + "nodeType": "YulLiteral", + "src": "14769:16:11", + "type": "", + "value": "table function" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "14742:6:11" + }, + "nodeType": "YulFunctionCall", + "src": "14742:44:11" }, - "src": "11335:1016:10" + "nodeType": "YulExpressionStatement", + "src": "14742:44:11" }, { "nodeType": "YulAssignment", - "src": "12360:18:10", + "src": "14795:27:11", "value": { - "name": "dst_1", - "nodeType": "YulIdentifier", - "src": "12373:5:10" + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "14807:9:11" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "14818:3:11", + "type": "", + "value": "128" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "14803:3:11" + }, + "nodeType": "YulFunctionCall", + "src": "14803:19:11" }, "variableNames": [ { - "name": "converted", + "name": "tail", "nodeType": "YulIdentifier", - "src": "12360:9:10" + "src": "14795:4:11" } ] } ] }, - "name": "convert_array_t_array$_t_struct$_FacetCut_$679_calldata_ptr_$dyn_calldata_ptr_to_t_array$_t_struct$_FacetCut_$679_memory_ptr_$dyn_memory_ptr", + "name": "abi_encode_tuple_t_stringliteral_8ba063dfaa4be2d2cbe73dbb1364728b0f7031ac048441d5fad19e9541992b21__to_t_string_memory_ptr__fromStack_reversed", "nodeType": "YulFunctionDefinition", "parameters": [ { - "name": "value", - "nodeType": "YulTypedName", - "src": "11049:5:10", - "type": "" - }, - { - "name": "length", + "name": "headStart", "nodeType": "YulTypedName", - "src": "11056:6:10", + "src": "14569:9:11", "type": "" } ], "returnVariables": [ { - "name": "converted", + "name": "tail", "nodeType": "YulTypedName", - "src": "11067:9:10", + "src": "14583:4:11", "type": "" } ], - "src": "10899:1485:10" + "src": "14418:410:11" }, { "body": { "nodeType": "YulBlock", - "src": "12442:205:10", + "src": "14882:76:11", "statements": [ - { - "nodeType": "YulVariableDeclaration", - "src": "12452:10:10", - "value": { - "kind": "number", - "nodeType": "YulLiteral", - "src": "12461:1:10", - "type": "", - "value": "0" - }, - "variables": [ - { - "name": "i", - "nodeType": "YulTypedName", - "src": "12456:1:10", - "type": "" - } - ] - }, { "body": { "nodeType": "YulBlock", - "src": "12521:63:10", + "src": "14904:22:11", "statements": [ { "expression": { - "arguments": [ - { - "arguments": [ - { - "name": "dst", - "nodeType": "YulIdentifier", - "src": "12546:3:10" - }, - { - "name": "i", - "nodeType": "YulIdentifier", - "src": "12551:1:10" - } - ], - "functionName": { - "name": "add", - "nodeType": "YulIdentifier", - "src": "12542:3:10" - }, - "nodeType": "YulFunctionCall", - "src": "12542:11:10" - }, - { - "arguments": [ - { - "arguments": [ - { - "name": "src", - "nodeType": "YulIdentifier", - "src": "12565:3:10" - }, - { - "name": "i", - "nodeType": "YulIdentifier", - "src": "12570:1:10" - } - ], - "functionName": { - "name": "add", - "nodeType": "YulIdentifier", - "src": "12561:3:10" - }, - "nodeType": "YulFunctionCall", - "src": "12561:11:10" - } - ], - "functionName": { - "name": "mload", - "nodeType": "YulIdentifier", - "src": "12555:5:10" - }, - "nodeType": "YulFunctionCall", - "src": "12555:18:10" - } - ], + "arguments": [], "functionName": { - "name": "mstore", + "name": "panic_error_0x11", "nodeType": "YulIdentifier", - "src": "12535:6:10" + "src": "14906:16:11" }, "nodeType": "YulFunctionCall", - "src": "12535:39:10" + "src": "14906:18:11" }, "nodeType": "YulExpressionStatement", - "src": "12535:39:10" + "src": "14906:18:11" } ] }, "condition": { "arguments": [ { - "name": "i", + "name": "x", "nodeType": "YulIdentifier", - "src": "12482:1:10" + "src": "14898:1:11" }, { - "name": "length", + "name": "y", "nodeType": "YulIdentifier", - "src": "12485:6:10" + "src": "14901:1:11" } ], "functionName": { "name": "lt", "nodeType": "YulIdentifier", - "src": "12479:2:10" + "src": "14895:2:11" }, "nodeType": "YulFunctionCall", - "src": "12479:13:10" - }, - "nodeType": "YulForLoop", - "post": { - "nodeType": "YulBlock", - "src": "12493:19:10", - "statements": [ - { - "nodeType": "YulAssignment", - "src": "12495:15:10", - "value": { - "arguments": [ - { - "name": "i", - "nodeType": "YulIdentifier", - "src": "12504:1:10" - }, - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "12507:2:10", - "type": "", - "value": "32" - } - ], - "functionName": { - "name": "add", - "nodeType": "YulIdentifier", - "src": "12500:3:10" - }, - "nodeType": "YulFunctionCall", - "src": "12500:10:10" - }, - "variableNames": [ - { - "name": "i", - "nodeType": "YulIdentifier", - "src": "12495:1:10" - } - ] - } - ] - }, - "pre": { - "nodeType": "YulBlock", - "src": "12475:3:10", - "statements": [] + "src": "14895:8:11" }, - "src": "12471:113:10" + "nodeType": "YulIf", + "src": "14892:34:11" }, { - "body": { - "nodeType": "YulBlock", - "src": "12610:31:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "name": "dst", - "nodeType": "YulIdentifier", - "src": "12623:3:10" - }, - { - "name": "length", - "nodeType": "YulIdentifier", - "src": "12628:6:10" - } - ], - "functionName": { - "name": "add", - "nodeType": "YulIdentifier", - "src": "12619:3:10" - }, - "nodeType": "YulFunctionCall", - "src": "12619:16:10" - }, - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "12637:1:10", - "type": "", - "value": "0" - } - ], - "functionName": { - "name": "mstore", - "nodeType": "YulIdentifier", - "src": "12612:6:10" - }, - "nodeType": "YulFunctionCall", - "src": "12612:27:10" - }, - "nodeType": "YulExpressionStatement", - "src": "12612:27:10" - } - ] - }, - "condition": { + "nodeType": "YulAssignment", + "src": "14935:17:11", + "value": { "arguments": [ { - "name": "i", + "name": "x", "nodeType": "YulIdentifier", - "src": "12599:1:10" + "src": "14947:1:11" }, { - "name": "length", + "name": "y", "nodeType": "YulIdentifier", - "src": "12602:6:10" + "src": "14950:1:11" } ], "functionName": { - "name": "gt", + "name": "sub", "nodeType": "YulIdentifier", - "src": "12596:2:10" + "src": "14943:3:11" }, "nodeType": "YulFunctionCall", - "src": "12596:13:10" + "src": "14943:9:11" }, - "nodeType": "YulIf", - "src": "12593:2:10" + "variableNames": [ + { + "name": "diff", + "nodeType": "YulIdentifier", + "src": "14935:4:11" + } + ] } ] }, - "name": "copy_memory_to_memory", + "name": "checked_sub_t_uint256", "nodeType": "YulFunctionDefinition", "parameters": [ { - "name": "src", + "name": "x", "nodeType": "YulTypedName", - "src": "12420:3:10", + "src": "14864:1:11", "type": "" }, { - "name": "dst", + "name": "y", "nodeType": "YulTypedName", - "src": "12425:3:10", + "src": "14867:1:11", "type": "" - }, + } + ], + "returnVariables": [ { - "name": "length", + "name": "diff", "nodeType": "YulTypedName", - "src": "12430:6:10", + "src": "14873:4:11", "type": "" } ], - "src": "12389:258:10" + "src": "14833:125:11" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "14995:152:11", + "statements": [ + { + "expression": { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "15012:1:11", + "type": "", + "value": "0" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "15015:77:11", + "type": "", + "value": "35408467139433450592217433187231851964531694900788300625387963629091585785856" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "15005:6:11" + }, + "nodeType": "YulFunctionCall", + "src": "15005:88:11" + }, + "nodeType": "YulExpressionStatement", + "src": "15005:88:11" + }, + { + "expression": { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "15109:1:11", + "type": "", + "value": "4" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "15112:4:11", + "type": "", + "value": "0x31" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "15102:6:11" + }, + "nodeType": "YulFunctionCall", + "src": "15102:15:11" + }, + "nodeType": "YulExpressionStatement", + "src": "15102:15:11" + }, + { + "expression": { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "15133:1:11", + "type": "", + "value": "0" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "15136:4:11", + "type": "", + "value": "0x24" + } + ], + "functionName": { + "name": "revert", + "nodeType": "YulIdentifier", + "src": "15126:6:11" + }, + "nodeType": "YulFunctionCall", + "src": "15126:15:11" + }, + "nodeType": "YulExpressionStatement", + "src": "15126:15:11" + } + ] + }, + "name": "panic_error_0x31", + "nodeType": "YulFunctionDefinition", + "src": "14963:184:11" } ] }, - "contents": "{\n { }\n function abi_decode_t_address(offset) -> value\n {\n value := calldataload(offset)\n if iszero(eq(value, and(value, 0xffffffffffffffffffffffffffffffffffffffff))) { revert(0, 0) }\n }\n function abi_decode_t_array$_t_bytes4_$dyn(offset, end) -> array\n {\n if iszero(slt(add(offset, 0x1f), end)) { revert(array, array) }\n let _1 := calldataload(offset)\n let _2 := 0x20\n let dst := allocateMemory(array_allocation_size_t_array$_t_bytes4_$dyn(_1))\n let dst_1 := dst\n mstore(dst, _1)\n dst := add(dst, _2)\n let src := add(offset, _2)\n if gt(add(add(offset, mul(_1, _2)), _2), end) { revert(array, array) }\n let i := array\n for { } lt(i, _1) { i := add(i, 1) }\n {\n let value := calldataload(src)\n if iszero(eq(value, and(value, 0xffffffff00000000000000000000000000000000000000000000000000000000))) { revert(array, array) }\n mstore(dst, value)\n dst := add(dst, _2)\n src := add(src, _2)\n }\n array := dst_1\n }\n function abi_decode_tuple_t_array$_t_struct$_FacetCut_$679_calldata_ptr_$dyn_calldata_ptrt_addresst_bytes_calldata_ptr(headStart, dataEnd) -> value0, value1, value2, value3, value4\n {\n if slt(sub(dataEnd, headStart), 96) { revert(value4, value4) }\n let offset := calldataload(headStart)\n let _1 := 0xffffffffffffffff\n if gt(offset, _1) { revert(value4, value4) }\n let _2 := add(headStart, offset)\n if iszero(slt(add(_2, 0x1f), dataEnd)) { revert(value4, value4) }\n let length := calldataload(_2)\n if gt(length, _1) { revert(value4, value4) }\n let _3 := 0x20\n if gt(add(add(_2, mul(length, _3)), _3), dataEnd) { revert(value4, value4) }\n value0 := add(_2, _3)\n value1 := length\n value2 := abi_decode_t_address(add(headStart, _3))\n let offset_1 := calldataload(add(headStart, 64))\n if gt(offset_1, _1) { revert(value4, value4) }\n let _4 := add(headStart, offset_1)\n if iszero(slt(add(_4, 0x1f), dataEnd)) { revert(value4, value4) }\n let length_1 := calldataload(_4)\n if gt(length_1, _1) { revert(value4, value4) }\n if gt(add(add(_4, length_1), _3), dataEnd) { revert(value4, value4) }\n value3 := add(_4, _3)\n value4 := length_1\n }\n function abi_encode_t_address(value, pos)\n {\n mstore(pos, and(value, 0xffffffffffffffffffffffffffffffffffffffff))\n }\n function abi_encode_t_bytes(value, pos) -> end\n {\n let length := mload(value)\n mstore(pos, length)\n copy_memory_to_memory(add(value, 0x20), add(pos, 0x20), length)\n end := add(add(pos, and(add(length, 31), 0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0)), 0x20)\n }\n function abi_encode_tuple_packed_t_bytes_memory_ptr__to_t_bytes_memory_ptr__nonPadded_inplace_fromStack_reversed(pos, value0) -> end\n {\n let length := mload(value0)\n copy_memory_to_memory(add(value0, 0x20), pos, length)\n end := add(pos, length)\n }\n function abi_encode_tuple_t_array$_t_struct$_FacetCut_$679_memory_ptr_$dyn_memory_ptr_t_address_t_bytes_memory_ptr__to_t_array$_t_struct$_FacetCut_$679_memory_ptr_$dyn_memory_ptr_t_address_t_bytes_memory_ptr__fromStack_reversed(headStart, value2, value1, value0) -> tail\n {\n let _1 := 96\n let tail_1 := add(headStart, _1)\n mstore(headStart, _1)\n let pos := tail_1\n let length := mload(value0)\n mstore(tail_1, length)\n let _2 := 128\n pos := add(headStart, _2)\n let _3 := 0x20\n let tail_2 := add(add(headStart, mul(length, _3)), _2)\n let srcPtr := add(value0, _3)\n let i := tail\n for { } lt(i, length) { i := add(i, 1) }\n {\n mstore(pos, add(sub(tail_2, headStart), 0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff80))\n let _4 := mload(srcPtr)\n let tail_3 := add(tail_2, _1)\n mstore(tail_2, and(mload(_4), 0xffffffffffffffffffffffffffffffffffffffff))\n let memberValue0 := mload(add(_4, _3))\n if iszero(lt(memberValue0, 3)) { invalid() }\n mstore(add(tail_2, _3), memberValue0)\n let _5 := 0x40\n let memberValue0_1 := mload(add(_4, _5))\n mstore(add(tail_2, _5), _1)\n let pos_1 := tail_3\n let length_1 := mload(memberValue0_1)\n mstore(tail_3, length_1)\n pos_1 := add(tail_2, _2)\n let srcPtr_1 := add(memberValue0_1, _3)\n let i_1 := tail\n for { } lt(i_1, length_1) { i_1 := add(i_1, 1) }\n {\n mstore(pos_1, and(mload(srcPtr_1), 0xffffffff00000000000000000000000000000000000000000000000000000000))\n pos_1 := add(pos_1, _3)\n srcPtr_1 := add(srcPtr_1, _3)\n }\n tail_2 := pos_1\n srcPtr := add(srcPtr, _3)\n pos := add(pos, _3)\n }\n abi_encode_t_address(value1, add(headStart, _3))\n mstore(add(headStart, 0x40), sub(tail_2, headStart))\n tail := abi_encode_t_bytes(value2, tail_2)\n }\n function abi_encode_tuple_t_string_memory_ptr__to_t_string_memory_ptr__fromStack_reversed(headStart, value0) -> tail\n {\n mstore(headStart, 32)\n tail := abi_encode_t_bytes(value0, add(headStart, 32))\n }\n function abi_encode_tuple_t_stringliteral_046c761a688d1dc3c500562bc5aaa3544f01f394f9bb3b69aa2a950a45afb1f8__to_t_string_memory_ptr__fromStack_reversed(headStart) -> tail\n {\n mstore(headStart, 32)\n mstore(add(headStart, 32), 60)\n mstore(add(headStart, 64), \"LibDiamondCut: _init is address(\")\n mstore(add(headStart, 96), \"0) but_calldata is not empty\")\n tail := add(headStart, 128)\n }\n function abi_encode_tuple_t_stringliteral_080b2fe78815767d522290509c8fce2af708c8a54455ca1b0cc978c92822465d__to_t_string_memory_ptr__fromStack_reversed(headStart) -> tail\n {\n mstore(headStart, 32)\n mstore(add(headStart, 32), 38)\n mstore(add(headStart, 64), \"LibDiamondCut: _init function re\")\n mstore(add(headStart, 96), \"verted\")\n tail := add(headStart, 128)\n }\n function abi_encode_tuple_t_stringliteral_0d4ae41009c51fd276653a54d7793c24f266ddc8c56ce21f8be5e2c6595ab3ac__to_t_string_memory_ptr__fromStack_reversed(headStart) -> tail\n {\n mstore(headStart, 32)\n mstore(add(headStart, 32), 34)\n mstore(add(headStart, 64), \"LibDiamond: Must be contract own\")\n mstore(add(headStart, 96), \"er\")\n tail := add(headStart, 128)\n }\n function abi_encode_tuple_t_stringliteral_1ffc682bcfedefd5e93ba9ed0c2d1bc0b18319886e3b4bd28a03a3d3729f85c0__to_t_string_memory_ptr__fromStack_reversed(headStart) -> tail\n {\n mstore(headStart, 32)\n mstore(add(headStart, 32), 43)\n mstore(add(headStart, 64), \"LibDiamondCut: No selectors in f\")\n mstore(add(headStart, 96), \"acet to cut\")\n tail := add(headStart, 128)\n }\n function abi_encode_tuple_t_stringliteral_2c590e498c4d56c984a7092fd5e89a68b9f4541ce9f97252fb74e44a00ffbb71__to_t_string_memory_ptr__fromStack_reversed(headStart) -> tail\n {\n mstore(headStart, 32)\n mstore(add(headStart, 32), 55)\n mstore(add(headStart, 64), \"LibDiamondCut: Can't remove func\")\n mstore(add(headStart, 96), \"tion that doesn't exist\")\n tail := add(headStart, 128)\n }\n function abi_encode_tuple_t_stringliteral_48267d8daf5ea9c6bbad1fe9c53dc4c04a2a01b2b85bad432956cf42f45b2f54__to_t_string_memory_ptr__fromStack_reversed(headStart) -> tail\n {\n mstore(headStart, 32)\n mstore(add(headStart, 32), 39)\n mstore(add(headStart, 64), \"LibDiamondCut: Incorrect FacetCu\")\n mstore(add(headStart, 96), \"tAction\")\n tail := add(headStart, 128)\n }\n function abi_encode_tuple_t_stringliteral_64609d8b93c93a06b98d7db7a87b04044cd4a52c5661d603bb9b90ad8b914a3a__to_t_string_memory_ptr__fromStack_reversed(headStart) -> tail\n {\n mstore(headStart, 32)\n mstore(add(headStart, 32), 44)\n mstore(add(headStart, 64), \"LibDiamondCut: Add facet can't b\")\n mstore(add(headStart, 96), \"e address(0)\")\n tail := add(headStart, 128)\n }\n function abi_encode_tuple_t_stringliteral_868d165ec2461661b624442252aed6a645399bfae7b60083a77ea1b61b084042__to_t_string_memory_ptr__fromStack_reversed(headStart) -> tail\n {\n mstore(headStart, 32)\n mstore(add(headStart, 32), 61)\n mstore(add(headStart, 64), \"LibDiamondCut: _calldata is empt\")\n mstore(add(headStart, 96), \"y but _init is not address(0)\")\n tail := add(headStart, 128)\n }\n function abi_encode_tuple_t_stringliteral_8ba063dfaa4be2d2cbe73dbb1364728b0f7031ac048441d5fad19e9541992b21__to_t_string_memory_ptr__fromStack_reversed(headStart) -> tail\n {\n mstore(headStart, 32)\n mstore(add(headStart, 32), 46)\n mstore(add(headStart, 64), \"LibDiamondCut: Can't remove immu\")\n mstore(add(headStart, 96), \"table function\")\n tail := add(headStart, 128)\n }\n function abi_encode_tuple_t_stringliteral_99a7418ee014d613f46da44561258cdbb58064508097483a319062b99fa37700__to_t_string_memory_ptr__fromStack_reversed(headStart) -> tail\n {\n mstore(headStart, 32)\n mstore(add(headStart, 32), 53)\n mstore(add(headStart, 64), \"LibDiamondCut: Can't add functio\")\n mstore(add(headStart, 96), \"n that already exists\")\n tail := add(headStart, 128)\n }\n function abi_encode_tuple_t_stringliteral_b5a7112edf707196456f338fdcc19cd849be6cb8c0d166bcd035f4cfb00e7078__to_t_string_memory_ptr__fromStack_reversed(headStart) -> tail\n {\n mstore(headStart, 32)\n mstore(add(headStart, 32), 56)\n mstore(add(headStart, 64), \"LibDiamondCut: Can't replace fun\")\n mstore(add(headStart, 96), \"ction with same function\")\n tail := add(headStart, 128)\n }\n function abi_encode_tuple_t_stringliteral_b739aae768f79b96e91d9f66398733516895e39eb09ee54a795b49dcc77504d4__to_t_string_memory_ptr__fromStack_reversed(headStart) -> tail\n {\n mstore(headStart, 32)\n mstore(add(headStart, 32), 54)\n mstore(add(headStart, 64), \"LibDiamondCut: Remove facet addr\")\n mstore(add(headStart, 96), \"ess must be address(0)\")\n tail := add(headStart, 128)\n }\n function allocateMemory(size) -> memPtr\n {\n memPtr := mload(64)\n let newFreePtr := add(memPtr, size)\n if or(gt(newFreePtr, 0xffffffffffffffff), lt(newFreePtr, memPtr)) { invalid() }\n mstore(64, newFreePtr)\n }\n function array_allocation_size_t_array$_t_bytes4_$dyn(length) -> size\n {\n if gt(length, 0xffffffffffffffff) { invalid() }\n size := add(mul(length, 0x20), 0x20)\n }\n function convert_array_t_array$_t_struct$_FacetCut_$679_calldata_ptr_$dyn_calldata_ptr_to_t_array$_t_struct$_FacetCut_$679_memory_ptr_$dyn_memory_ptr(value, length) -> converted\n {\n let dst := allocateMemory(array_allocation_size_t_array$_t_bytes4_$dyn(length))\n let dst_1 := dst\n mstore(dst, length)\n let _1 := 0x20\n dst := add(dst, _1)\n let src := value\n let i := converted\n for { } lt(i, length) { i := add(i, 1) }\n {\n let _2 := add(value, calldataload(src))\n let _3 := 0x60\n if slt(sub(calldatasize(), _2), _3) { revert(converted, converted) }\n let _4 := 64\n let memPtr := mload(_4)\n let newFreePtr := add(memPtr, _3)\n let _5 := 0xffffffffffffffff\n if or(gt(newFreePtr, _5), lt(newFreePtr, memPtr)) { invalid() }\n mstore(_4, newFreePtr)\n mstore(memPtr, abi_decode_t_address(_2))\n let value_1 := calldataload(add(_2, _1))\n if iszero(lt(value_1, 3)) { revert(converted, converted) }\n mstore(add(memPtr, _1), value_1)\n let offset := calldataload(add(_2, _4))\n if gt(offset, _5) { revert(converted, converted) }\n mstore(add(memPtr, _4), abi_decode_t_array$_t_bytes4_$dyn(add(_2, offset), calldatasize()))\n mstore(dst, memPtr)\n dst := add(dst, _1)\n src := add(src, _1)\n }\n converted := dst_1\n }\n function copy_memory_to_memory(src, dst, length)\n {\n let i := 0\n for { } lt(i, length) { i := add(i, 32) }\n {\n mstore(add(dst, i), mload(add(src, i)))\n }\n if gt(i, length) { mstore(add(dst, length), 0) }\n }\n}", - "id": 10, + "contents": "{\n { }\n function abi_decode_address(offset) -> value\n {\n value := calldataload(offset)\n if iszero(eq(value, and(value, 0xffffffffffffffffffffffffffffffffffffffff))) { revert(0, 0) }\n }\n function abi_decode_bytes_calldata(offset, end) -> arrayPos, length\n {\n if iszero(slt(add(offset, 0x1f), end)) { revert(0, 0) }\n length := calldataload(offset)\n if gt(length, 0xffffffffffffffff) { revert(0, 0) }\n arrayPos := add(offset, 0x20)\n if gt(add(add(offset, length), 0x20), end) { revert(0, 0) }\n }\n function abi_decode_tuple_t_array$_t_struct$_FacetCut_$711_calldata_ptr_$dyn_calldata_ptrt_addresst_bytes_calldata_ptr(headStart, dataEnd) -> value0, value1, value2, value3, value4\n {\n if slt(sub(dataEnd, headStart), 96) { revert(0, 0) }\n let offset := calldataload(headStart)\n let _1 := 0xffffffffffffffff\n if gt(offset, _1) { revert(0, 0) }\n let _2 := add(headStart, offset)\n if iszero(slt(add(_2, 0x1f), dataEnd)) { revert(0, 0) }\n let length := calldataload(_2)\n if gt(length, _1) { revert(0, 0) }\n if gt(add(add(_2, shl(5, length)), 0x20), dataEnd) { revert(0, 0) }\n value0 := add(_2, 0x20)\n value1 := length\n value2 := abi_decode_address(add(headStart, 0x20))\n let offset_1 := calldataload(add(headStart, 64))\n if gt(offset_1, _1) { revert(0, 0) }\n let value3_1, value4_1 := abi_decode_bytes_calldata(add(headStart, offset_1), dataEnd)\n value3 := value3_1\n value4 := value4_1\n }\n function panic_error_0x41()\n {\n mstore(0, 35408467139433450592217433187231851964531694900788300625387963629091585785856)\n mstore(4, 0x41)\n revert(0, 0x24)\n }\n function allocate_memory_2940() -> memPtr\n {\n memPtr := mload(64)\n let newFreePtr := add(memPtr, 0x60)\n if or(gt(newFreePtr, 0xffffffffffffffff), lt(newFreePtr, memPtr)) { panic_error_0x41() }\n mstore(64, newFreePtr)\n }\n function allocate_memory(size) -> memPtr\n {\n memPtr := mload(64)\n let newFreePtr := add(memPtr, and(add(size, 31), 0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0))\n if or(gt(newFreePtr, 0xffffffffffffffff), lt(newFreePtr, memPtr)) { panic_error_0x41() }\n mstore(64, newFreePtr)\n }\n function array_allocation_size_array_struct_FacetCut_dyn(length) -> size\n {\n if gt(length, 0xffffffffffffffff) { panic_error_0x41() }\n size := add(shl(5, length), 0x20)\n }\n function convert_array_t_array$_t_struct$_FacetCut_$711_calldata_ptr_$dyn_calldata_ptr_to_t_array$_t_struct$_FacetCut_$711_memory_ptr_$dyn_memory_ptr(value, length) -> converted\n {\n let dst := allocate_memory(array_allocation_size_array_struct_FacetCut_dyn(length))\n let dst_1 := dst\n mstore(dst, length)\n let _1 := 0x20\n dst := add(dst, _1)\n let _2 := 5\n let srcEnd := add(value, shl(_2, length))\n if gt(srcEnd, calldatasize()) { revert(0, 0) }\n let src := value\n for { } lt(src, srcEnd) { src := add(src, _1) }\n {\n let innerOffset := calldataload(src)\n let _3 := 0xffffffffffffffff\n if gt(innerOffset, _3)\n {\n let _4 := 0\n revert(_4, _4)\n }\n let _5 := add(value, innerOffset)\n if slt(sub(calldatasize(), _5), 0x60)\n {\n let _6 := 0\n revert(_6, _6)\n }\n let value_1 := allocate_memory_2940()\n mstore(value_1, abi_decode_address(_5))\n let value_2 := calldataload(add(_5, _1))\n if iszero(lt(value_2, 3))\n {\n let _7 := 0\n revert(_7, _7)\n }\n mstore(add(value_1, _1), value_2)\n let _8 := 64\n let offset := calldataload(add(_5, _8))\n if gt(offset, _3)\n {\n let _9 := 0\n revert(_9, _9)\n }\n let _10 := add(_5, offset)\n if iszero(slt(add(_10, 0x1f), calldatasize()))\n {\n let _11 := 0\n revert(_11, _11)\n }\n let _12 := calldataload(_10)\n let dst_2 := allocate_memory(array_allocation_size_array_struct_FacetCut_dyn(_12))\n let dst_3 := dst_2\n mstore(dst_2, _12)\n dst_2 := add(dst_2, _1)\n let srcEnd_1 := add(add(_10, shl(_2, _12)), _1)\n if gt(srcEnd_1, calldatasize())\n {\n let _13 := 0\n revert(_13, _13)\n }\n let src_1 := add(_10, _1)\n for { } lt(src_1, srcEnd_1) { src_1 := add(src_1, _1) }\n {\n let value_3 := calldataload(src_1)\n if iszero(eq(value_3, and(value_3, 0xffffffff00000000000000000000000000000000000000000000000000000000)))\n {\n let _14 := 0\n revert(_14, _14)\n }\n mstore(dst_2, value_3)\n dst_2 := add(dst_2, _1)\n }\n mstore(add(value_1, _8), dst_3)\n mstore(dst, value_1)\n dst := add(dst, _1)\n }\n converted := dst_1\n }\n function abi_encode_tuple_t_stringliteral_0d4ae41009c51fd276653a54d7793c24f266ddc8c56ce21f8be5e2c6595ab3ac__to_t_string_memory_ptr__fromStack_reversed(headStart) -> tail\n {\n mstore(headStart, 32)\n mstore(add(headStart, 32), 34)\n mstore(add(headStart, 64), \"LibDiamond: Must be contract own\")\n mstore(add(headStart, 96), \"er\")\n tail := add(headStart, 128)\n }\n function panic_error_0x32()\n {\n mstore(0, 35408467139433450592217433187231851964531694900788300625387963629091585785856)\n mstore(4, 0x32)\n revert(0, 0x24)\n }\n function panic_error_0x21()\n {\n mstore(0, 35408467139433450592217433187231851964531694900788300625387963629091585785856)\n mstore(4, 0x21)\n revert(0, 0x24)\n }\n function abi_encode_tuple_t_stringliteral_48267d8daf5ea9c6bbad1fe9c53dc4c04a2a01b2b85bad432956cf42f45b2f54__to_t_string_memory_ptr__fromStack_reversed(headStart) -> tail\n {\n mstore(headStart, 32)\n mstore(add(headStart, 32), 39)\n mstore(add(headStart, 64), \"LibDiamondCut: Incorrect FacetCu\")\n mstore(add(headStart, 96), \"tAction\")\n tail := add(headStart, 128)\n }\n function panic_error_0x11()\n {\n mstore(0, 35408467139433450592217433187231851964531694900788300625387963629091585785856)\n mstore(4, 0x11)\n revert(0, 0x24)\n }\n function increment_t_uint256(value) -> ret\n {\n if eq(value, 0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff) { panic_error_0x11() }\n ret := add(value, 1)\n }\n function abi_encode_address(value, pos)\n {\n mstore(pos, and(value, 0xffffffffffffffffffffffffffffffffffffffff))\n }\n function copy_memory_to_memory(src, dst, length)\n {\n let i := 0\n for { } lt(i, length) { i := add(i, 32) }\n {\n mstore(add(dst, i), mload(add(src, i)))\n }\n if gt(i, length) { mstore(add(dst, length), 0) }\n }\n function abi_encode_bytes(value, pos) -> end\n {\n let length := mload(value)\n mstore(pos, length)\n copy_memory_to_memory(add(value, 0x20), add(pos, 0x20), length)\n end := add(add(pos, and(add(length, 31), 0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0)), 0x20)\n }\n function abi_encode_tuple_t_array$_t_struct$_FacetCut_$711_memory_ptr_$dyn_memory_ptr_t_address_t_bytes_memory_ptr__to_t_array$_t_struct$_FacetCut_$711_memory_ptr_$dyn_memory_ptr_t_address_t_bytes_memory_ptr__fromStack_reversed(headStart, value2, value1, value0) -> tail\n {\n let _1 := 96\n let tail_1 := add(headStart, _1)\n mstore(headStart, _1)\n let pos := tail_1\n let length := mload(value0)\n mstore(tail_1, length)\n let _2 := 128\n pos := add(headStart, _2)\n let tail_2 := add(add(headStart, shl(5, length)), _2)\n let _3 := 0x20\n let srcPtr := add(value0, _3)\n let i := 0\n for { } lt(i, length) { i := add(i, 1) }\n {\n mstore(pos, add(sub(tail_2, headStart), 0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff80))\n let _4 := mload(srcPtr)\n let tail_3 := add(tail_2, _1)\n mstore(tail_2, and(mload(_4), 0xffffffffffffffffffffffffffffffffffffffff))\n let memberValue0 := mload(add(_4, _3))\n if iszero(lt(memberValue0, 3))\n {\n mstore(0, 35408467139433450592217433187231851964531694900788300625387963629091585785856)\n mstore(4, 0x21)\n revert(0, 0x24)\n }\n mstore(add(tail_2, _3), memberValue0)\n let _5 := 0x40\n let memberValue0_1 := mload(add(_4, _5))\n mstore(add(tail_2, _5), _1)\n let pos_1 := tail_3\n let length_1 := mload(memberValue0_1)\n mstore(tail_3, length_1)\n pos_1 := add(tail_2, _2)\n let srcPtr_1 := add(memberValue0_1, _3)\n let i_1 := 0\n for { } lt(i_1, length_1) { i_1 := add(i_1, 1) }\n {\n mstore(pos_1, and(mload(srcPtr_1), 0xffffffff00000000000000000000000000000000000000000000000000000000))\n pos_1 := add(pos_1, _3)\n srcPtr_1 := add(srcPtr_1, _3)\n }\n tail_2 := pos_1\n srcPtr := add(srcPtr, _3)\n pos := add(pos, _3)\n }\n abi_encode_address(value1, add(headStart, _3))\n mstore(add(headStart, 0x40), sub(tail_2, headStart))\n tail := abi_encode_bytes(value2, tail_2)\n }\n function abi_encode_tuple_t_stringliteral_1ffc682bcfedefd5e93ba9ed0c2d1bc0b18319886e3b4bd28a03a3d3729f85c0__to_t_string_memory_ptr__fromStack_reversed(headStart) -> tail\n {\n mstore(headStart, 32)\n mstore(add(headStart, 32), 43)\n mstore(add(headStart, 64), \"LibDiamondCut: No selectors in f\")\n mstore(add(headStart, 96), \"acet to cut\")\n tail := add(headStart, 128)\n }\n function abi_encode_tuple_t_stringliteral_64609d8b93c93a06b98d7db7a87b04044cd4a52c5661d603bb9b90ad8b914a3a__to_t_string_memory_ptr__fromStack_reversed(headStart) -> tail\n {\n mstore(headStart, 32)\n mstore(add(headStart, 32), 44)\n mstore(add(headStart, 64), \"LibDiamondCut: Add facet can't b\")\n mstore(add(headStart, 96), \"e address(0)\")\n tail := add(headStart, 128)\n }\n function abi_encode_tuple_t_stringliteral_99a7418ee014d613f46da44561258cdbb58064508097483a319062b99fa37700__to_t_string_memory_ptr__fromStack_reversed(headStart) -> tail\n {\n mstore(headStart, 32)\n mstore(add(headStart, 32), 53)\n mstore(add(headStart, 64), \"LibDiamondCut: Can't add functio\")\n mstore(add(headStart, 96), \"n that already exists\")\n tail := add(headStart, 128)\n }\n function increment_t_uint96(value) -> ret\n {\n let _1 := 0xffffffffffffffffffffffff\n let value_1 := and(value, _1)\n if eq(value_1, _1) { panic_error_0x11() }\n ret := add(value_1, 1)\n }\n function abi_encode_tuple_t_stringliteral_b5a7112edf707196456f338fdcc19cd849be6cb8c0d166bcd035f4cfb00e7078__to_t_string_memory_ptr__fromStack_reversed(headStart) -> tail\n {\n mstore(headStart, 32)\n mstore(add(headStart, 32), 56)\n mstore(add(headStart, 64), \"LibDiamondCut: Can't replace fun\")\n mstore(add(headStart, 96), \"ction with same function\")\n tail := add(headStart, 128)\n }\n function abi_encode_tuple_t_stringliteral_b739aae768f79b96e91d9f66398733516895e39eb09ee54a795b49dcc77504d4__to_t_string_memory_ptr__fromStack_reversed(headStart) -> tail\n {\n mstore(headStart, 32)\n mstore(add(headStart, 32), 54)\n mstore(add(headStart, 64), \"LibDiamondCut: Remove facet addr\")\n mstore(add(headStart, 96), \"ess must be address(0)\")\n tail := add(headStart, 128)\n }\n function abi_encode_tuple_t_stringliteral_046c761a688d1dc3c500562bc5aaa3544f01f394f9bb3b69aa2a950a45afb1f8__to_t_string_memory_ptr__fromStack_reversed(headStart) -> tail\n {\n mstore(headStart, 32)\n mstore(add(headStart, 32), 60)\n mstore(add(headStart, 64), \"LibDiamondCut: _init is address(\")\n mstore(add(headStart, 96), \"0) but_calldata is not empty\")\n tail := add(headStart, 128)\n }\n function abi_encode_tuple_t_stringliteral_868d165ec2461661b624442252aed6a645399bfae7b60083a77ea1b61b084042__to_t_string_memory_ptr__fromStack_reversed(headStart) -> tail\n {\n mstore(headStart, 32)\n mstore(add(headStart, 32), 61)\n mstore(add(headStart, 64), \"LibDiamondCut: _calldata is empt\")\n mstore(add(headStart, 96), \"y but _init is not address(0)\")\n tail := add(headStart, 128)\n }\n function abi_encode_tuple_packed_t_bytes_memory_ptr__to_t_bytes_memory_ptr__nonPadded_inplace_fromStack_reversed(pos, value0) -> end\n {\n let length := mload(value0)\n copy_memory_to_memory(add(value0, 0x20), pos, length)\n end := add(pos, length)\n }\n function abi_encode_tuple_t_string_memory_ptr__to_t_string_memory_ptr__fromStack_reversed(headStart, value0) -> tail\n {\n mstore(headStart, 32)\n tail := abi_encode_bytes(value0, add(headStart, 32))\n }\n function abi_encode_tuple_t_stringliteral_080b2fe78815767d522290509c8fce2af708c8a54455ca1b0cc978c92822465d__to_t_string_memory_ptr__fromStack_reversed(headStart) -> tail\n {\n mstore(headStart, 32)\n mstore(add(headStart, 32), 38)\n mstore(add(headStart, 64), \"LibDiamondCut: _init function re\")\n mstore(add(headStart, 96), \"verted\")\n tail := add(headStart, 128)\n }\n function abi_encode_tuple_t_stringliteral_2c590e498c4d56c984a7092fd5e89a68b9f4541ce9f97252fb74e44a00ffbb71__to_t_string_memory_ptr__fromStack_reversed(headStart) -> tail\n {\n mstore(headStart, 32)\n mstore(add(headStart, 32), 55)\n mstore(add(headStart, 64), \"LibDiamondCut: Can't remove func\")\n mstore(add(headStart, 96), \"tion that doesn't exist\")\n tail := add(headStart, 128)\n }\n function abi_encode_tuple_t_stringliteral_8ba063dfaa4be2d2cbe73dbb1364728b0f7031ac048441d5fad19e9541992b21__to_t_string_memory_ptr__fromStack_reversed(headStart) -> tail\n {\n mstore(headStart, 32)\n mstore(add(headStart, 32), 46)\n mstore(add(headStart, 64), \"LibDiamondCut: Can't remove immu\")\n mstore(add(headStart, 96), \"table function\")\n tail := add(headStart, 128)\n }\n function checked_sub_t_uint256(x, y) -> diff\n {\n if lt(x, y) { panic_error_0x11() }\n diff := sub(x, y)\n }\n function panic_error_0x31()\n {\n mstore(0, 35408467139433450592217433187231851964531694900788300625387963629091585785856)\n mstore(4, 0x31)\n revert(0, 0x24)\n }\n}", + "id": 11, "language": "Yul", "name": "#utility.yul" } ], "immutableReferences": {}, "linkReferences": {}, - "opcodes": "PUSH1 0x80 PUSH1 0x40 MSTORE CALLVALUE DUP1 ISZERO PUSH2 0x10 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH1 0x4 CALLDATASIZE LT PUSH2 0x2B JUMPI PUSH1 0x0 CALLDATALOAD PUSH1 0xE0 SHR DUP1 PUSH4 0x1F931C1C EQ PUSH2 0x30 JUMPI JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x43 PUSH2 0x3E CALLDATASIZE PUSH1 0x4 PUSH2 0x1260 JUMP JUMPDEST PUSH2 0x45 JUMP JUMPDEST STOP JUMPDEST PUSH2 0x4D PUSH2 0x9E JUMP JUMPDEST PUSH2 0x97 PUSH2 0x5A DUP6 DUP8 PUSH2 0x1993 JUMP JUMPDEST DUP5 DUP5 DUP5 DUP1 DUP1 PUSH1 0x1F ADD PUSH1 0x20 DUP1 SWAP2 DIV MUL PUSH1 0x20 ADD PUSH1 0x40 MLOAD SWAP1 DUP2 ADD PUSH1 0x40 MSTORE DUP1 SWAP4 SWAP3 SWAP2 SWAP1 DUP2 DUP2 MSTORE PUSH1 0x20 ADD DUP4 DUP4 DUP1 DUP3 DUP5 CALLDATACOPY PUSH1 0x0 SWAP3 ADD SWAP2 SWAP1 SWAP2 MSTORE POP PUSH2 0x103 SWAP3 POP POP POP JUMP JUMPDEST POP POP POP POP POP JUMP JUMPDEST PUSH2 0xA6 PUSH2 0x2A5 JUMP JUMPDEST PUSH1 0x4 ADD SLOAD PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND CALLER EQ PUSH2 0x101 JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0xF8 SWAP1 PUSH2 0x15AF JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST JUMP JUMPDEST PUSH1 0x0 JUMPDEST DUP4 MLOAD DUP2 LT ISZERO PUSH2 0x25A JUMPI PUSH1 0x0 DUP5 DUP3 DUP2 MLOAD DUP2 LT PUSH2 0x11D JUMPI INVALID JUMPDEST PUSH1 0x20 MUL PUSH1 0x20 ADD ADD MLOAD PUSH1 0x20 ADD MLOAD SWAP1 POP PUSH1 0x0 PUSH1 0x2 DUP2 GT ISZERO PUSH2 0x138 JUMPI INVALID JUMPDEST DUP2 PUSH1 0x2 DUP2 GT ISZERO PUSH2 0x144 JUMPI INVALID JUMPDEST EQ ISZERO PUSH2 0x187 JUMPI PUSH2 0x182 DUP6 DUP4 DUP2 MLOAD DUP2 LT PUSH2 0x159 JUMPI INVALID JUMPDEST PUSH1 0x20 MUL PUSH1 0x20 ADD ADD MLOAD PUSH1 0x0 ADD MLOAD DUP7 DUP5 DUP2 MLOAD DUP2 LT PUSH2 0x171 JUMPI INVALID JUMPDEST PUSH1 0x20 MUL PUSH1 0x20 ADD ADD MLOAD PUSH1 0x40 ADD MLOAD PUSH2 0x2C9 JUMP JUMPDEST PUSH2 0x251 JUMP JUMPDEST PUSH1 0x1 DUP2 PUSH1 0x2 DUP2 GT ISZERO PUSH2 0x195 JUMPI INVALID JUMPDEST EQ ISZERO PUSH2 0x1D3 JUMPI PUSH2 0x182 DUP6 DUP4 DUP2 MLOAD DUP2 LT PUSH2 0x1AA JUMPI INVALID JUMPDEST PUSH1 0x20 MUL PUSH1 0x20 ADD ADD MLOAD PUSH1 0x0 ADD MLOAD DUP7 DUP5 DUP2 MLOAD DUP2 LT PUSH2 0x1C2 JUMPI INVALID JUMPDEST PUSH1 0x20 MUL PUSH1 0x20 ADD ADD MLOAD PUSH1 0x40 ADD MLOAD PUSH2 0x5FA JUMP JUMPDEST PUSH1 0x2 DUP2 PUSH1 0x2 DUP2 GT ISZERO PUSH2 0x1E1 JUMPI INVALID JUMPDEST EQ ISZERO PUSH2 0x21F JUMPI PUSH2 0x182 DUP6 DUP4 DUP2 MLOAD DUP2 LT PUSH2 0x1F6 JUMPI INVALID JUMPDEST PUSH1 0x20 MUL PUSH1 0x20 ADD ADD MLOAD PUSH1 0x0 ADD MLOAD DUP7 DUP5 DUP2 MLOAD DUP2 LT PUSH2 0x20E JUMPI INVALID JUMPDEST PUSH1 0x20 MUL PUSH1 0x20 ADD ADD MLOAD PUSH1 0x40 ADD MLOAD PUSH2 0x947 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0xF8 SWAP1 PUSH2 0x16C6 JUMP JUMPDEST POP PUSH1 0x1 ADD PUSH2 0x106 JUMP JUMPDEST POP PUSH32 0x8FAA70878671CCD212D20771B795C50AF8FD3FF6CF27F4BDE57E5D4DE0AEB673 DUP4 DUP4 DUP4 PUSH1 0x40 MLOAD PUSH2 0x28E SWAP4 SWAP3 SWAP2 SWAP1 PUSH2 0x13B2 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 LOG1 PUSH2 0x2A0 DUP3 DUP3 PUSH2 0xA67 JUMP JUMPDEST POP POP POP JUMP JUMPDEST PUSH32 0xC8FCAD8DB84D3CC18B4C41D551EA0EE66DD599CDE068D998E57D5E09332C131C SWAP1 JUMP JUMPDEST PUSH1 0x0 DUP2 MLOAD GT PUSH2 0x304 JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0xF8 SWAP1 PUSH2 0x160C JUMP JUMPDEST PUSH1 0x0 PUSH2 0x30E PUSH2 0x2A5 JUMP JUMPDEST SWAP1 POP PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP4 AND PUSH2 0x35D JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0xF8 SWAP1 PUSH2 0x1723 JUMP JUMPDEST PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP4 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x1 DUP3 ADD PUSH1 0x20 MSTORE PUSH1 0x40 SWAP1 KECCAK256 SLOAD PUSH2 0xFFFF DUP2 AND PUSH2 0x44E JUMPI PUSH2 0x3B0 DUP5 PUSH1 0x40 MLOAD DUP1 PUSH1 0x60 ADD PUSH1 0x40 MSTORE DUP1 PUSH1 0x24 DUP2 MSTORE PUSH1 0x20 ADD PUSH2 0x1AA9 PUSH1 0x24 SWAP2 CODECOPY PUSH2 0xC1D JUMP JUMPDEST PUSH1 0x2 DUP3 ADD DUP1 SLOAD PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP7 AND PUSH1 0x0 DUP2 DUP2 MSTORE PUSH1 0x1 DUP1 DUP8 ADD PUSH1 0x20 SWAP1 DUP2 MSTORE PUSH1 0x40 DUP4 KECCAK256 DUP3 ADD DUP1 SLOAD PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF0000 AND PUSH2 0xFFFF SWAP1 SWAP7 AND SWAP6 SWAP1 SWAP6 OR SWAP1 SWAP5 SSTORE DUP5 SLOAD SWAP1 DUP2 ADD DUP6 SSTORE SWAP4 DUP2 MSTORE SWAP2 SWAP1 SWAP2 KECCAK256 SWAP1 SWAP2 ADD DUP1 SLOAD PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFF0000000000000000000000000000000000000000 AND SWAP1 SWAP2 OR SWAP1 SSTORE JUMPDEST PUSH1 0x0 JUMPDEST DUP4 MLOAD DUP2 LT ISZERO PUSH2 0x97 JUMPI PUSH1 0x0 DUP5 DUP3 DUP2 MLOAD DUP2 LT PUSH2 0x468 JUMPI INVALID JUMPDEST PUSH1 0x20 SWAP1 DUP2 MUL SWAP2 SWAP1 SWAP2 ADD DUP2 ADD MLOAD PUSH32 0xFFFFFFFF00000000000000000000000000000000000000000000000000000000 DUP2 AND PUSH1 0x0 SWAP1 DUP2 MSTORE SWAP2 DUP7 SWAP1 MSTORE PUSH1 0x40 SWAP1 SWAP2 KECCAK256 SLOAD SWAP1 SWAP2 POP PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP1 ISZERO PUSH2 0x4F7 JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0xF8 SWAP1 PUSH2 0x183A JUMP JUMPDEST POP PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP7 AND PUSH1 0x0 DUP2 DUP2 MSTORE PUSH1 0x1 DUP7 DUP2 ADD PUSH1 0x20 SWAP1 DUP2 MSTORE PUSH1 0x40 DUP1 DUP5 KECCAK256 DUP1 SLOAD DUP1 DUP6 ADD DUP3 SSTORE SWAP1 DUP6 MSTORE DUP3 DUP6 KECCAK256 PUSH1 0x8 DUP3 DIV ADD DUP1 SLOAD PUSH4 0xFFFFFFFF PUSH1 0x7 SWAP1 SWAP4 AND PUSH1 0x4 MUL PUSH2 0x100 EXP SWAP3 DUP4 MUL NOT AND PUSH1 0xE0 DUP10 SWAP1 SHR SWAP3 SWAP1 SWAP3 MUL SWAP2 SWAP1 SWAP2 OR SWAP1 SSTORE PUSH32 0xFFFFFFFF00000000000000000000000000000000000000000000000000000000 SWAP1 SWAP6 AND DUP4 MSTORE DUP8 SWAP1 MSTORE SWAP3 SWAP1 KECCAK256 DUP1 SLOAD PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFF0000000000000000000000000000000000000000 AND SWAP1 SWAP2 OR PUSH32 0xFFFFFFFFFFFFFFFFFFFF0000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH21 0x10000000000000000000000000000000000000000 PUSH2 0xFFFF DUP7 AND MUL OR SWAP1 SSTORE SWAP2 DUP3 ADD SWAP2 ADD PUSH2 0x451 JUMP JUMPDEST PUSH1 0x0 DUP2 MLOAD GT PUSH2 0x635 JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0xF8 SWAP1 PUSH2 0x160C JUMP JUMPDEST PUSH1 0x0 PUSH2 0x63F PUSH2 0x2A5 JUMP JUMPDEST SWAP1 POP PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP4 AND PUSH2 0x68E JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0xF8 SWAP1 PUSH2 0x1723 JUMP JUMPDEST PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP4 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x1 DUP3 ADD PUSH1 0x20 MSTORE PUSH1 0x40 SWAP1 KECCAK256 SLOAD PUSH2 0xFFFF DUP2 AND PUSH2 0x77F JUMPI PUSH2 0x6E1 DUP5 PUSH1 0x40 MLOAD DUP1 PUSH1 0x60 ADD PUSH1 0x40 MSTORE DUP1 PUSH1 0x24 DUP2 MSTORE PUSH1 0x20 ADD PUSH2 0x1AA9 PUSH1 0x24 SWAP2 CODECOPY PUSH2 0xC1D JUMP JUMPDEST PUSH1 0x2 DUP3 ADD DUP1 SLOAD PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP7 AND PUSH1 0x0 DUP2 DUP2 MSTORE PUSH1 0x1 DUP1 DUP8 ADD PUSH1 0x20 SWAP1 DUP2 MSTORE PUSH1 0x40 DUP4 KECCAK256 DUP3 ADD DUP1 SLOAD PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF0000 AND PUSH2 0xFFFF SWAP1 SWAP7 AND SWAP6 SWAP1 SWAP6 OR SWAP1 SWAP5 SSTORE DUP5 SLOAD SWAP1 DUP2 ADD DUP6 SSTORE SWAP4 DUP2 MSTORE SWAP2 SWAP1 SWAP2 KECCAK256 SWAP1 SWAP2 ADD DUP1 SLOAD PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFF0000000000000000000000000000000000000000 AND SWAP1 SWAP2 OR SWAP1 SSTORE JUMPDEST PUSH1 0x0 JUMPDEST DUP4 MLOAD DUP2 LT ISZERO PUSH2 0x97 JUMPI PUSH1 0x0 DUP5 DUP3 DUP2 MLOAD DUP2 LT PUSH2 0x799 JUMPI INVALID JUMPDEST PUSH1 0x20 SWAP1 DUP2 MUL SWAP2 SWAP1 SWAP2 ADD DUP2 ADD MLOAD PUSH32 0xFFFFFFFF00000000000000000000000000000000000000000000000000000000 DUP2 AND PUSH1 0x0 SWAP1 DUP2 MSTORE SWAP2 DUP7 SWAP1 MSTORE PUSH1 0x40 SWAP1 SWAP2 KECCAK256 SLOAD SWAP1 SWAP2 POP PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF SWAP1 DUP2 AND SWAP1 DUP8 AND DUP2 EQ ISZERO PUSH2 0x82E JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0xF8 SWAP1 PUSH2 0x1897 JUMP JUMPDEST PUSH2 0x838 DUP2 DUP4 PUSH2 0xC58 JUMP JUMPDEST POP PUSH32 0xFFFFFFFF00000000000000000000000000000000000000000000000000000000 DUP2 AND PUSH1 0x0 DUP2 DUP2 MSTORE PUSH1 0x20 DUP7 DUP2 MSTORE PUSH1 0x40 DUP1 DUP4 KECCAK256 DUP1 SLOAD PUSH32 0xFFFFFFFFFFFFFFFFFFFF0000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH21 0x10000000000000000000000000000000000000000 PUSH2 0xFFFF DUP11 AND MUL OR DUP2 SSTORE PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP12 AND DUP1 DUP6 MSTORE PUSH1 0x1 DUP1 DUP12 ADD DUP6 MSTORE SWAP3 DUP6 KECCAK256 DUP1 SLOAD DUP1 DUP6 ADD DUP3 SSTORE SWAP1 DUP7 MSTORE DUP5 DUP7 KECCAK256 PUSH1 0x8 DUP3 DIV ADD DUP1 SLOAD PUSH4 0xFFFFFFFF PUSH1 0x7 SWAP1 SWAP4 AND PUSH1 0x4 MUL PUSH2 0x100 EXP SWAP3 DUP4 MUL NOT AND PUSH1 0xE0 SWAP10 SWAP1 SWAP10 SHR SWAP2 SWAP1 SWAP2 MUL SWAP8 SWAP1 SWAP8 OR SWAP1 SWAP7 SSTORE SWAP4 SWAP1 SWAP3 MSTORE DUP7 SWAP1 MSTORE DUP2 SLOAD PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFF0000000000000000000000000000000000000000 AND SWAP1 SWAP3 OR SWAP1 SSTORE SWAP2 DUP3 ADD SWAP2 ADD PUSH2 0x782 JUMP JUMPDEST PUSH1 0x0 DUP2 MLOAD GT PUSH2 0x982 JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0xF8 SWAP1 PUSH2 0x160C JUMP JUMPDEST PUSH1 0x0 PUSH2 0x98C PUSH2 0x2A5 JUMP JUMPDEST SWAP1 POP PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP4 AND ISZERO PUSH2 0x9DC JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0xF8 SWAP1 PUSH2 0x18F4 JUMP JUMPDEST PUSH1 0x0 JUMPDEST DUP3 MLOAD DUP2 LT ISZERO PUSH2 0xA61 JUMPI PUSH1 0x0 DUP4 DUP3 DUP2 MLOAD DUP2 LT PUSH2 0x9F6 JUMPI INVALID JUMPDEST PUSH1 0x20 SWAP1 DUP2 MUL SWAP2 SWAP1 SWAP2 ADD DUP2 ADD MLOAD PUSH32 0xFFFFFFFF00000000000000000000000000000000000000000000000000000000 DUP2 AND PUSH1 0x0 SWAP1 DUP2 MSTORE SWAP2 DUP6 SWAP1 MSTORE PUSH1 0x40 SWAP1 SWAP2 KECCAK256 SLOAD SWAP1 SWAP2 POP PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH2 0xA57 DUP2 DUP4 PUSH2 0xC58 JUMP JUMPDEST POP POP PUSH1 0x1 ADD PUSH2 0x9DF JUMP JUMPDEST POP POP POP POP JUMP JUMPDEST PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP3 AND PUSH2 0xAC0 JUMPI DUP1 MLOAD ISZERO PUSH2 0xABB JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0xF8 SWAP1 PUSH2 0x14F5 JUMP JUMPDEST PUSH2 0xC19 JUMP JUMPDEST PUSH1 0x0 DUP2 MLOAD GT PUSH2 0xAFB JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0xF8 SWAP1 PUSH2 0x1780 JUMP JUMPDEST PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP3 AND ADDRESS EQ PUSH2 0xB3A JUMPI PUSH2 0xB3A DUP3 PUSH1 0x40 MLOAD DUP1 PUSH1 0x60 ADD PUSH1 0x40 MSTORE DUP1 PUSH1 0x28 DUP2 MSTORE PUSH1 0x20 ADD PUSH2 0x1A81 PUSH1 0x28 SWAP2 CODECOPY PUSH2 0xC1D JUMP JUMPDEST PUSH1 0x0 DUP1 DUP4 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP4 PUSH1 0x40 MLOAD PUSH2 0xB62 SWAP2 SWAP1 PUSH2 0x1396 JUMP JUMPDEST PUSH1 0x0 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP6 GAS DELEGATECALL SWAP2 POP POP RETURNDATASIZE DUP1 PUSH1 0x0 DUP2 EQ PUSH2 0xB9D JUMPI PUSH1 0x40 MLOAD SWAP2 POP PUSH1 0x1F NOT PUSH1 0x3F RETURNDATASIZE ADD AND DUP3 ADD PUSH1 0x40 MSTORE RETURNDATASIZE DUP3 MSTORE RETURNDATASIZE PUSH1 0x0 PUSH1 0x20 DUP5 ADD RETURNDATACOPY PUSH2 0xBA2 JUMP JUMPDEST PUSH1 0x60 SWAP2 POP JUMPDEST POP SWAP2 POP SWAP2 POP DUP2 PUSH2 0xA61 JUMPI DUP1 MLOAD ISZERO PUSH2 0xBE7 JUMPI DUP1 PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0xF8 SWAP2 SWAP1 PUSH2 0x14DB JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0xF8 SWAP1 PUSH2 0x1552 JUMP JUMPDEST POP POP JUMP JUMPDEST DUP2 EXTCODESIZE DUP2 DUP2 PUSH2 0xA61 JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0xF8 SWAP2 SWAP1 PUSH2 0x14DB JUMP JUMPDEST PUSH1 0x0 PUSH2 0xC62 PUSH2 0x2A5 JUMP JUMPDEST SWAP1 POP PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP4 AND PUSH2 0xCB1 JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0xF8 SWAP1 PUSH2 0x1669 JUMP JUMPDEST PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP4 AND ADDRESS EQ ISZERO PUSH2 0xD01 JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0xF8 SWAP1 PUSH2 0x17DD JUMP JUMPDEST PUSH32 0xFFFFFFFF00000000000000000000000000000000000000000000000000000000 DUP3 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x20 DUP3 DUP2 MSTORE PUSH1 0x40 DUP1 DUP4 KECCAK256 SLOAD PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP8 AND DUP5 MSTORE PUSH1 0x1 DUP6 ADD SWAP1 SWAP3 MSTORE SWAP1 SWAP2 KECCAK256 SLOAD PUSH21 0x10000000000000000000000000000000000000000 SWAP1 SWAP2 DIV PUSH2 0xFFFF AND SWAP1 PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF ADD DUP1 DUP3 EQ PUSH2 0xED3 JUMPI PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP6 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x1 DUP5 ADD PUSH1 0x20 MSTORE PUSH1 0x40 DUP2 KECCAK256 DUP1 SLOAD DUP4 SWAP1 DUP2 LT PUSH2 0xDD2 JUMPI INVALID JUMPDEST PUSH1 0x0 SWAP2 DUP3 MSTORE PUSH1 0x20 DUP1 DUP4 KECCAK256 PUSH1 0x8 DUP4 DIV ADD SLOAD PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP11 AND DUP5 MSTORE PUSH1 0x1 DUP9 ADD SWAP1 SWAP2 MSTORE PUSH1 0x40 SWAP1 SWAP3 KECCAK256 DUP1 SLOAD PUSH1 0x7 SWAP1 SWAP3 AND PUSH1 0x4 MUL PUSH2 0x100 EXP SWAP1 SWAP3 DIV PUSH1 0xE0 SHL SWAP3 POP DUP3 SWAP2 SWAP1 DUP6 SWAP1 DUP2 LT PUSH2 0xE2A JUMPI INVALID JUMPDEST PUSH1 0x0 SWAP2 DUP3 MSTORE PUSH1 0x20 DUP1 DUP4 KECCAK256 PUSH1 0x8 DUP4 DIV ADD DUP1 SLOAD PUSH4 0xFFFFFFFF PUSH1 0x7 SWAP1 SWAP5 AND PUSH1 0x4 MUL PUSH2 0x100 EXP SWAP4 DUP5 MUL NOT AND PUSH1 0xE0 SWAP6 SWAP1 SWAP6 SHR SWAP3 SWAP1 SWAP3 MUL SWAP4 SWAP1 SWAP4 OR SWAP1 SSTORE PUSH32 0xFFFFFFFF00000000000000000000000000000000000000000000000000000000 SWAP3 SWAP1 SWAP3 AND DUP3 MSTORE DUP5 SWAP1 MSTORE PUSH1 0x40 SWAP1 KECCAK256 DUP1 SLOAD PUSH32 0xFFFFFFFFFFFFFFFFFFFF0000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH21 0x10000000000000000000000000000000000000000 PUSH2 0xFFFF DUP6 AND MUL OR SWAP1 SSTORE JUMPDEST PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP6 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x1 DUP5 ADD PUSH1 0x20 MSTORE PUSH1 0x40 SWAP1 KECCAK256 DUP1 SLOAD DUP1 PUSH2 0xF03 JUMPI INVALID JUMPDEST PUSH1 0x0 DUP3 DUP2 MSTORE PUSH1 0x20 DUP1 DUP3 KECCAK256 PUSH1 0x8 PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF SWAP1 SWAP5 ADD SWAP4 DUP5 DIV ADD DUP1 SLOAD PUSH4 0xFFFFFFFF PUSH1 0x4 PUSH1 0x7 DUP8 AND MUL PUSH2 0x100 EXP MUL NOT AND SWAP1 SSTORE SWAP2 SWAP1 SWAP3 SSTORE PUSH32 0xFFFFFFFF00000000000000000000000000000000000000000000000000000000 DUP7 AND DUP3 MSTORE DUP5 SWAP1 MSTORE PUSH1 0x40 SWAP1 KECCAK256 DUP1 SLOAD PUSH32 0xFFFFFFFFFFFFFFFFFFFF00000000000000000000000000000000000000000000 AND SWAP1 SSTORE DUP1 PUSH2 0x97 JUMPI PUSH1 0x2 DUP4 ADD SLOAD PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP7 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x1 DUP6 DUP2 ADD PUSH1 0x20 MSTORE PUSH1 0x40 SWAP1 SWAP2 KECCAK256 ADD SLOAD PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF SWAP1 SWAP2 ADD SWAP1 PUSH2 0xFFFF AND DUP1 DUP3 EQ PUSH2 0x10DF JUMPI PUSH1 0x0 DUP6 PUSH1 0x2 ADD DUP4 DUP2 SLOAD DUP2 LT PUSH2 0x101A JUMPI INVALID JUMPDEST PUSH1 0x0 SWAP2 DUP3 MSTORE PUSH1 0x20 SWAP1 SWAP2 KECCAK256 ADD SLOAD PUSH1 0x2 DUP8 ADD DUP1 SLOAD PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF SWAP1 SWAP3 AND SWAP3 POP DUP3 SWAP2 DUP5 SWAP1 DUP2 LT PUSH2 0x1052 JUMPI INVALID JUMPDEST PUSH1 0x0 SWAP2 DUP3 MSTORE PUSH1 0x20 DUP1 DUP4 KECCAK256 SWAP2 SWAP1 SWAP2 ADD DUP1 SLOAD PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFF0000000000000000000000000000000000000000 AND PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF SWAP5 DUP6 AND OR SWAP1 SSTORE SWAP3 SWAP1 SWAP2 AND DUP2 MSTORE PUSH1 0x1 DUP8 DUP2 ADD SWAP1 SWAP3 MSTORE PUSH1 0x40 SWAP1 KECCAK256 ADD DUP1 SLOAD PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF0000 AND PUSH2 0xFFFF DUP4 AND OR SWAP1 SSTORE JUMPDEST DUP5 PUSH1 0x2 ADD DUP1 SLOAD DUP1 PUSH2 0x10EC JUMPI INVALID JUMPDEST PUSH1 0x0 DUP3 DUP2 MSTORE PUSH1 0x20 DUP1 DUP3 KECCAK256 DUP4 ADD PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF SWAP1 DUP2 ADD DUP1 SLOAD PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFF0000000000000000000000000000000000000000 AND SWAP1 SSTORE SWAP1 SWAP3 ADD SWAP1 SWAP3 SSTORE PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP10 AND DUP3 MSTORE PUSH1 0x1 DUP8 DUP2 ADD SWAP1 SWAP2 MSTORE PUSH1 0x40 SWAP1 SWAP2 KECCAK256 ADD DUP1 SLOAD PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF0000 AND SWAP1 SSTORE POP POP POP POP POP POP POP JUMP JUMPDEST DUP1 CALLDATALOAD PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP2 AND DUP2 EQ PUSH2 0x11C2 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 DUP3 PUSH1 0x1F DUP4 ADD SLT PUSH2 0x11D7 JUMPI DUP1 DUP2 REVERT JUMPDEST DUP2 CALLDATALOAD PUSH1 0x20 PUSH2 0x11EC PUSH2 0x11E7 DUP4 PUSH2 0x1975 JUMP JUMPDEST PUSH2 0x1951 JUMP JUMPDEST DUP3 DUP2 MSTORE DUP2 DUP2 ADD SWAP1 DUP6 DUP4 ADD DUP4 DUP6 MUL DUP8 ADD DUP5 ADD DUP9 LT ISZERO PUSH2 0x1208 JUMPI DUP6 DUP7 REVERT JUMPDEST DUP6 JUMPDEST DUP6 DUP2 LT ISZERO PUSH2 0x1253 JUMPI DUP2 CALLDATALOAD PUSH32 0xFFFFFFFF00000000000000000000000000000000000000000000000000000000 DUP2 AND DUP2 EQ PUSH2 0x1241 JUMPI DUP8 DUP9 REVERT JUMPDEST DUP5 MSTORE SWAP3 DUP5 ADD SWAP3 SWAP1 DUP5 ADD SWAP1 PUSH1 0x1 ADD PUSH2 0x120A JUMP JUMPDEST POP SWAP1 SWAP8 SWAP7 POP POP POP POP POP POP POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x0 DUP1 PUSH1 0x0 PUSH1 0x60 DUP7 DUP9 SUB SLT ISZERO PUSH2 0x1277 JUMPI DUP1 DUP2 REVERT JUMPDEST DUP6 CALLDATALOAD PUSH8 0xFFFFFFFFFFFFFFFF DUP1 DUP3 GT ISZERO PUSH2 0x128E JUMPI DUP3 DUP4 REVERT JUMPDEST DUP2 DUP9 ADD SWAP2 POP DUP9 PUSH1 0x1F DUP4 ADD SLT PUSH2 0x12A1 JUMPI DUP3 DUP4 REVERT JUMPDEST DUP2 CALLDATALOAD DUP2 DUP2 GT ISZERO PUSH2 0x12AF JUMPI DUP4 DUP5 REVERT JUMPDEST PUSH1 0x20 DUP11 DUP2 DUP3 DUP5 MUL DUP7 ADD ADD GT ISZERO PUSH2 0x12C3 JUMPI DUP5 DUP6 REVERT JUMPDEST DUP1 DUP5 ADD SWAP9 POP DUP2 SWAP8 POP PUSH2 0x12D6 DUP2 DUP12 ADD PUSH2 0x119E JUMP JUMPDEST SWAP7 POP PUSH1 0x40 DUP11 ADD CALLDATALOAD SWAP4 POP DUP3 DUP5 GT ISZERO PUSH2 0x12EB JUMPI DUP5 DUP6 REVERT JUMPDEST DUP4 DUP11 ADD SWAP4 POP DUP11 PUSH1 0x1F DUP6 ADD SLT PUSH2 0x12FE JUMPI DUP5 DUP6 REVERT JUMPDEST DUP4 CALLDATALOAD SWAP2 POP DUP3 DUP3 GT ISZERO PUSH2 0x130E JUMPI DUP5 DUP6 REVERT JUMPDEST DUP11 DUP2 DUP4 DUP7 ADD ADD GT ISZERO PUSH2 0x131E JUMPI DUP5 DUP6 REVERT JUMPDEST SWAP8 SWAP11 SWAP7 SWAP10 POP SWAP5 SWAP8 POP POP SWAP1 SWAP5 ADD SWAP4 POP SWAP1 SWAP2 SWAP1 POP JUMP JUMPDEST PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND SWAP1 MSTORE JUMP JUMPDEST PUSH1 0x0 DUP2 MLOAD DUP1 DUP5 MSTORE PUSH2 0x1364 DUP2 PUSH1 0x20 DUP7 ADD PUSH1 0x20 DUP7 ADD PUSH2 0x1A54 JUMP JUMPDEST PUSH1 0x1F ADD PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFE0 AND SWAP3 SWAP1 SWAP3 ADD PUSH1 0x20 ADD SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP3 MLOAD PUSH2 0x13A8 DUP2 DUP5 PUSH1 0x20 DUP8 ADD PUSH2 0x1A54 JUMP JUMPDEST SWAP2 SWAP1 SWAP2 ADD SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x60 DUP1 DUP3 MSTORE DUP5 MLOAD DUP3 DUP3 ADD DUP2 SWAP1 MSTORE PUSH1 0x0 SWAP2 SWAP1 PUSH1 0x80 SWAP1 DUP2 DUP6 ADD SWAP1 PUSH1 0x20 DUP1 DUP3 MUL DUP8 ADD DUP5 ADD DUP2 DUP12 ADD DUP8 JUMPDEST DUP5 DUP2 LT ISZERO PUSH2 0x14AC JUMPI PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF80 DUP11 DUP5 SUB ADD DUP7 MSTORE DUP2 MLOAD DUP9 DUP5 ADD PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP3 MLOAD AND DUP6 MSTORE DUP6 DUP3 ADD MLOAD PUSH1 0x3 DUP2 LT PUSH2 0x1434 JUMPI INVALID JUMPDEST DUP6 DUP8 ADD MSTORE PUSH1 0x40 SWAP2 DUP3 ADD MLOAD SWAP2 DUP6 ADD DUP11 SWAP1 MSTORE DUP2 MLOAD SWAP1 DUP2 SWAP1 MSTORE SWAP1 DUP6 ADD SWAP1 DUP11 SWAP1 DUP10 DUP7 ADD SWAP1 JUMPDEST DUP1 DUP4 LT ISZERO PUSH2 0x1497 JUMPI DUP4 MLOAD PUSH32 0xFFFFFFFF00000000000000000000000000000000000000000000000000000000 AND DUP3 MSTORE SWAP3 DUP8 ADD SWAP3 PUSH1 0x1 SWAP3 SWAP1 SWAP3 ADD SWAP2 SWAP1 DUP8 ADD SWAP1 PUSH2 0x1455 JUMP JUMPDEST POP SWAP8 DUP7 ADD SWAP8 SWAP5 POP POP POP SWAP1 DUP4 ADD SWAP1 PUSH1 0x1 ADD PUSH2 0x13D8 JUMP JUMPDEST POP POP PUSH2 0x14BA DUP3 DUP10 ADD DUP12 PUSH2 0x1332 JUMP JUMPDEST DUP8 DUP2 SUB PUSH1 0x40 DUP10 ADD MSTORE PUSH2 0x14CC DUP2 DUP11 PUSH2 0x134C JUMP JUMPDEST SWAP12 SWAP11 POP POP POP POP POP POP POP POP POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 MSTORE PUSH2 0x14EE PUSH1 0x20 DUP4 ADD DUP5 PUSH2 0x134C JUMP JUMPDEST SWAP4 SWAP3 POP POP POP JUMP JUMPDEST PUSH1 0x20 DUP1 DUP3 MSTORE PUSH1 0x3C SWAP1 DUP3 ADD MSTORE PUSH32 0x4C69624469616D6F6E644375743A205F696E6974206973206164647265737328 PUSH1 0x40 DUP3 ADD MSTORE PUSH32 0x3029206275745F63616C6C64617461206973206E6F7420656D70747900000000 PUSH1 0x60 DUP3 ADD MSTORE PUSH1 0x80 ADD SWAP1 JUMP JUMPDEST PUSH1 0x20 DUP1 DUP3 MSTORE PUSH1 0x26 SWAP1 DUP3 ADD MSTORE PUSH32 0x4C69624469616D6F6E644375743A205F696E69742066756E6374696F6E207265 PUSH1 0x40 DUP3 ADD MSTORE PUSH32 0x7665727465640000000000000000000000000000000000000000000000000000 PUSH1 0x60 DUP3 ADD MSTORE PUSH1 0x80 ADD SWAP1 JUMP JUMPDEST PUSH1 0x20 DUP1 DUP3 MSTORE PUSH1 0x22 SWAP1 DUP3 ADD MSTORE PUSH32 0x4C69624469616D6F6E643A204D75737420626520636F6E7472616374206F776E PUSH1 0x40 DUP3 ADD MSTORE PUSH32 0x6572000000000000000000000000000000000000000000000000000000000000 PUSH1 0x60 DUP3 ADD MSTORE PUSH1 0x80 ADD SWAP1 JUMP JUMPDEST PUSH1 0x20 DUP1 DUP3 MSTORE PUSH1 0x2B SWAP1 DUP3 ADD MSTORE PUSH32 0x4C69624469616D6F6E644375743A204E6F2073656C6563746F727320696E2066 PUSH1 0x40 DUP3 ADD MSTORE PUSH32 0x6163657420746F20637574000000000000000000000000000000000000000000 PUSH1 0x60 DUP3 ADD MSTORE PUSH1 0x80 ADD SWAP1 JUMP JUMPDEST PUSH1 0x20 DUP1 DUP3 MSTORE PUSH1 0x37 SWAP1 DUP3 ADD MSTORE PUSH32 0x4C69624469616D6F6E644375743A2043616E27742072656D6F76652066756E63 PUSH1 0x40 DUP3 ADD MSTORE PUSH32 0x74696F6E207468617420646F65736E2774206578697374000000000000000000 PUSH1 0x60 DUP3 ADD MSTORE PUSH1 0x80 ADD SWAP1 JUMP JUMPDEST PUSH1 0x20 DUP1 DUP3 MSTORE PUSH1 0x27 SWAP1 DUP3 ADD MSTORE PUSH32 0x4C69624469616D6F6E644375743A20496E636F72726563742046616365744375 PUSH1 0x40 DUP3 ADD MSTORE PUSH32 0x74416374696F6E00000000000000000000000000000000000000000000000000 PUSH1 0x60 DUP3 ADD MSTORE PUSH1 0x80 ADD SWAP1 JUMP JUMPDEST PUSH1 0x20 DUP1 DUP3 MSTORE PUSH1 0x2C SWAP1 DUP3 ADD MSTORE PUSH32 0x4C69624469616D6F6E644375743A204164642066616365742063616E27742062 PUSH1 0x40 DUP3 ADD MSTORE PUSH32 0x6520616464726573732830290000000000000000000000000000000000000000 PUSH1 0x60 DUP3 ADD MSTORE PUSH1 0x80 ADD SWAP1 JUMP JUMPDEST PUSH1 0x20 DUP1 DUP3 MSTORE PUSH1 0x3D SWAP1 DUP3 ADD MSTORE PUSH32 0x4C69624469616D6F6E644375743A205F63616C6C6461746120697320656D7074 PUSH1 0x40 DUP3 ADD MSTORE PUSH32 0x7920627574205F696E6974206973206E6F742061646472657373283029000000 PUSH1 0x60 DUP3 ADD MSTORE PUSH1 0x80 ADD SWAP1 JUMP JUMPDEST PUSH1 0x20 DUP1 DUP3 MSTORE PUSH1 0x2E SWAP1 DUP3 ADD MSTORE PUSH32 0x4C69624469616D6F6E644375743A2043616E27742072656D6F766520696D6D75 PUSH1 0x40 DUP3 ADD MSTORE PUSH32 0x7461626C652066756E6374696F6E000000000000000000000000000000000000 PUSH1 0x60 DUP3 ADD MSTORE PUSH1 0x80 ADD SWAP1 JUMP JUMPDEST PUSH1 0x20 DUP1 DUP3 MSTORE PUSH1 0x35 SWAP1 DUP3 ADD MSTORE PUSH32 0x4C69624469616D6F6E644375743A2043616E2774206164642066756E6374696F PUSH1 0x40 DUP3 ADD MSTORE PUSH32 0x6E207468617420616C7265616479206578697374730000000000000000000000 PUSH1 0x60 DUP3 ADD MSTORE PUSH1 0x80 ADD SWAP1 JUMP JUMPDEST PUSH1 0x20 DUP1 DUP3 MSTORE PUSH1 0x38 SWAP1 DUP3 ADD MSTORE PUSH32 0x4C69624469616D6F6E644375743A2043616E2774207265706C6163652066756E PUSH1 0x40 DUP3 ADD MSTORE PUSH32 0x6374696F6E20776974682073616D652066756E6374696F6E0000000000000000 PUSH1 0x60 DUP3 ADD MSTORE PUSH1 0x80 ADD SWAP1 JUMP JUMPDEST PUSH1 0x20 DUP1 DUP3 MSTORE PUSH1 0x36 SWAP1 DUP3 ADD MSTORE PUSH32 0x4C69624469616D6F6E644375743A2052656D6F76652066616365742061646472 PUSH1 0x40 DUP3 ADD MSTORE PUSH32 0x657373206D757374206265206164647265737328302900000000000000000000 PUSH1 0x60 DUP3 ADD MSTORE PUSH1 0x80 ADD SWAP1 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP2 DUP2 ADD PUSH8 0xFFFFFFFFFFFFFFFF DUP2 GT DUP3 DUP3 LT OR ISZERO PUSH2 0x196D JUMPI INVALID JUMPDEST PUSH1 0x40 MSTORE SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH8 0xFFFFFFFFFFFFFFFF DUP3 GT ISZERO PUSH2 0x1989 JUMPI INVALID JUMPDEST POP PUSH1 0x20 SWAP1 DUP2 MUL ADD SWAP1 JUMP JUMPDEST PUSH1 0x0 PUSH2 0x19A1 PUSH2 0x11E7 DUP5 PUSH2 0x1975 JUMP JUMPDEST DUP4 DUP2 MSTORE PUSH1 0x20 DUP1 DUP3 ADD SWAP2 SWAP1 DUP5 DUP5 JUMPDEST DUP8 DUP2 LT ISZERO PUSH2 0x1A48 JUMPI DUP2 CALLDATALOAD DUP8 ADD PUSH1 0x60 DUP1 DUP3 CALLDATASIZE SUB SLT ISZERO PUSH2 0x19CA JUMPI DUP8 DUP9 REVERT JUMPDEST PUSH1 0x40 DUP1 MLOAD SWAP2 DUP3 ADD SWAP2 PUSH8 0xFFFFFFFFFFFFFFFF DUP1 DUP5 GT DUP3 DUP6 LT OR ISZERO PUSH2 0x19E9 JUMPI INVALID JUMPDEST DUP4 DUP4 MSTORE PUSH2 0x19F5 DUP6 PUSH2 0x119E JUMP JUMPDEST DUP3 MSTORE DUP8 DUP6 ADD CALLDATALOAD SWAP4 POP PUSH1 0x3 DUP5 LT PUSH2 0x1A09 JUMPI DUP11 DUP12 REVERT JUMPDEST DUP4 DUP9 DUP4 ADD MSTORE DUP3 DUP6 ADD CALLDATALOAD SWAP4 POP DUP1 DUP5 GT ISZERO PUSH2 0x1A20 JUMPI DUP11 DUP12 REVERT JUMPDEST POP PUSH2 0x1A2D CALLDATASIZE DUP5 DUP7 ADD PUSH2 0x11C7 JUMP JUMPDEST SWAP2 DUP2 ADD SWAP2 SWAP1 SWAP2 MSTORE DUP8 MSTORE POP POP SWAP4 DUP3 ADD SWAP4 SWAP1 DUP3 ADD SWAP1 PUSH1 0x1 ADD PUSH2 0x19AE JUMP JUMPDEST POP SWAP2 SWAP7 SWAP6 POP POP POP POP POP POP JUMP JUMPDEST PUSH1 0x0 JUMPDEST DUP4 DUP2 LT ISZERO PUSH2 0x1A6F JUMPI DUP2 DUP2 ADD MLOAD DUP4 DUP3 ADD MSTORE PUSH1 0x20 ADD PUSH2 0x1A57 JUMP JUMPDEST DUP4 DUP2 GT ISZERO PUSH2 0xA61 JUMPI POP POP PUSH1 0x0 SWAP2 ADD MSTORE JUMP INVALID 0x4C PUSH10 0x624469616D6F6E644375 PUSH21 0x3A205F696E6974206164647265737320686173206E PUSH16 0x20636F64654C69624469616D6F6E6443 PUSH22 0x743A204E657720666163657420686173206E6F20636F PUSH5 0x65A2646970 PUSH7 0x73582212201054 0xDE 0xC5 CALLDATACOPY 0xD9 POP LT STATICCALL PUSH29 0x5E1911DD66AF99CADAD1565CB9A7DC56139C3D2C40F164736F6C634300 SMOD MOD STOP CALLER ", - "sourceMap": "483:747:2:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;972:256;;;;;;:::i;:::-;;:::i;:::-;;;1124:35;:33;:35::i;:::-;1169:52;;1191:11;;1169:52;:::i;:::-;1204:5;1211:9;;1169:52;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;1169:21:2;;-1:-1:-1;;;1169:52:2:i;:::-;972:256;;;;;:::o;2284:156:9:-;2364:16;:14;:16::i;:::-;:30;;;;;2350:10;:44;2342:91;;;;;;;;;;;;:::i;:::-;;;;;;;;;2284:156::o;2584:1067::-;2740:18;2735:806;2773:11;:18;2760:10;:31;2735:806;;;2821:33;2857:11;2869:10;2857:23;;;;;;;;;;;;;;:30;;;2821:66;;2915:30;2905:40;;;;;;;;:6;:40;;;;;;;;;2901:630;;;2965:93;2978:11;2990:10;2978:23;;;;;;;;;;;;;;:36;;;3016:11;3028:10;3016:23;;;;;;;;;;;;;;:41;;;2965:12;:93::i;:::-;2901:630;;;3093:34;3083:6;:44;;;;;;;;;3079:452;;;3147:97;3164:11;3176:10;3164:23;;;;;;;;;;;;;;:36;;;3202:11;3214:10;3202:23;;;;;;;;;;;;;;:41;;;3147:16;:97::i;3079:452::-;3279:33;3269:6;:43;;;;;;;;;3265:266;;;3332:96;3348:11;3360:10;3348:23;;;;;;;;;;;;;;:36;;;3386:11;3398:10;3386:23;;;;;;;;;;;;;;:41;;;3332:15;:96::i;3265:266::-;3467:49;;;;;;;;;;:::i;3265:266::-;-1:-1:-1;2793:12:9;;2735:806;;;;3555:41;3566:11;3579:5;3586:9;3555:41;;;;;;;;:::i;:::-;;;;;;;;3606:38;3627:5;3634:9;3606:20;:38::i;:::-;2584:1067;;;:::o;1579:197::-;514:45;;1727:43::o;3657:1551::-;3793:1;3765:18;:25;:29;3757:85;;;;;;;;;;;;:::i;:::-;3852:25;3880:16;:14;:16::i;:::-;3852:44;-1:-1:-1;3991:27:9;;;3983:84;;;;;;;;;;;;:::i;:::-;4110:40;;;4077:23;4110:40;;;:25;;;:40;;;;;:65;4244:21;;;4240:290;;4281:77;4304:13;4281:77;;;;;;;;;;;;;;;;;:22;:77::i;:::-;4443:17;;;:24;;4372:40;;;;;;;:25;;;;:40;;;;;;;:61;;:96;;;;;;;;;;;;;;;4482:37;;;;;;;;;;;;;;;;;;;;;;;;;;4240:290;4544:21;4539:663;4583:18;:25;4567:13;:41;4539:663;;;4641:15;4659:18;4678:13;4659:33;;;;;;;;;;;;;;;;;;;4732:39;;;4706:23;4732:39;;;;;;;;;;;:52;4659:33;;-1:-1:-1;4732:52:9;;4806:29;;4798:95;;;;;;;;;;;;:::i;:::-;-1:-1:-1;4907:40:9;;;;;;;:25;;;;:40;;;;;;;;:73;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4994:39;;;;;;;;;;;;:68;;;;;;;5076:83;;;;;;;;;;5173:18;;;;4610:15;4539:663;;5214:1567;5354:1;5326:18;:25;:29;5318:85;;;;;;;;;;;;:::i;:::-;5413:25;5441:16;:14;:16::i;:::-;5413:44;-1:-1:-1;5475:27:9;;;5467:84;;;;;;;;;;;;:::i;:::-;5594:40;;;5561:23;5594:40;;;:25;;;:40;;;;;:65;5728:21;;;5724:290;;5765:77;5788:13;5765:77;;;;;;;;;;;;;;;;;:22;:77::i;:::-;5927:17;;;:24;;5856:40;;;;;;;:25;;;;:40;;;;;;;:61;;:96;;;;;;;;;;;;;;;5966:37;;;;;;;;;;;;;;;;;;;;;;;;;;5724:290;6028:21;6023:752;6067:18;:25;6051:13;:41;6023:752;;;6125:15;6143:18;6162:13;6143:33;;;;;;;;;;;;;;;;;;;6216:39;;;6190:23;6216:39;;;;;;;;;;;:52;6143:33;;-1:-1:-1;6216:52:9;;;;;6290:32;;;;;6282:101;;;;;;;;;;;;:::i;:::-;6397:41;6412:15;6429:8;6397:14;:41::i;:::-;-1:-1:-1;6480:39:9;;;:29;:39;;;;;;;;;;;:83;;;;;;;;;;;;6577:40;;;;;;-1:-1:-1;6577:25:9;;;:40;;;;;:73;;;;;;;;;;;;;;;;;;;;;;;;;;6480:83;6577:73;;;;;;;;;;;;;;;;;;;;;;6664:39;;;;;;;:68;;;;;;;;;6746:18;;;;6094:15;6023:752;;6787:738;6926:1;6898:18;:25;:29;6890:85;;;;;;;;;;;;:::i;:::-;6985:25;7013:16;:14;:16::i;:::-;6985:44;-1:-1:-1;7112:27:9;;;;7104:94;;;;;;;;;;;;:::i;:::-;7213:21;7208:311;7252:18;:25;7236:13;:41;7208:311;;;7310:15;7328:18;7347:13;7328:33;;;;;;;;;;;;;;;;;;;7401:39;;;7375:23;7401:39;;;;;;;;;;;:52;7328:33;;-1:-1:-1;7401:52:9;;7467:41;7401:52;7328:33;7467:14;:41::i;:::-;-1:-1:-1;;7279:15:9;;7208:311;;;;6787:738;;;:::o;9754:871::-;9846:19;;;9842:777;;9889:16;;:21;9881:94;;;;;;;;;;;;:::i;:::-;9842:777;;;10033:1;10014:9;:16;:20;10006:94;;;;;;;;;;;;:::i;:::-;10118:22;;;10135:4;10118:22;10114:134;;10160:73;10183:5;10160:73;;;;;;;;;;;;;;;;;:22;:73::i;:::-;10262:12;10276:18;10298:5;:18;;10317:9;10298:29;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;10261:66;;;;10346:7;10341:268;;10377:12;;:16;10373:222;;10474:5;10460:21;;;;;;;;;;;:::i;10373:222::-;10528:48;;;;;;;;;;:::i;9842:777::-;9754:871;;:::o;10631:261::-;10804:22;;10871:13;10853:16;10845:40;;;;;;;;;;;;;:::i;7531:2217::-;7615:25;7643:16;:14;:16::i;:::-;7615:44;-1:-1:-1;7677:27:9;;;7669:95;;;;;;;;;;;;:::i;:::-;7859:30;;;7884:4;7859:30;;7851:89;;;;;;;;;;;;:::i;:::-;8051:40;;;8024:24;8051:40;;;;;;;;;;;:65;8157:40;;;;;8225:1;8157:25;;:40;;;;;;:65;8051;;;;;;;8157:69;;8308:40;;;8304:387;;8386:40;;;8364:19;8386:40;;;:25;;;:40;;;;;:80;;8445:20;;8386:80;;;;;;;;;;;;;;;;;;;8480:40;;;;;:25;;;:40;;;;;;;:76;;8386:80;;;;;;;;;;;;;;-1:-1:-1;8386:80:9;;8480:40;8539:16;;8480:76;;;;;;;;;;;;;;;;;;:91;;;:76;;;;;;:91;;;;;;;;;;;;;;;;;;;;;;8585:43;;;;;;;;;;;;;:95;;;;;;;;;;;;8304:387;8736:40;;;;;;;:25;;;:40;;;;;:64;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8817:40;;;;;;;;;;;8810:47;;;;;;8952:25;8948:794;;9119:17;;;:24;9192:40;;;9084:32;9192:40;;;9146:1;9192:25;;;:40;;;;;;:61;;9119:28;;;;;9192:61;;9271:48;;;9267:346;;9339:24;9366:2;:17;;9384:24;9366:43;;;;;;;;;;;;;;;;;;9427:17;;;:39;;9366:43;;;;;-1:-1:-1;9366:43:9;;9445:20;;9427:39;;;;;;;;;;;;;;;;;;:58;;;;;;;;;;;9503:43;;;;;;-1:-1:-1;9503:25:9;;;:43;;;;;;:64;:95;;;;;;;;;;9267:346;9626:2;:17;;:23;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;9670:40;;;;9626:23;9670:25;;;:40;;;;;;;:61;9663:68;;;;;;-1:-1:-1;;7531:2217:9;;;;;:::o;14:198:10:-;84:20;;144:42;133:54;;123:65;;113:2;;202:1;199;192:12;113:2;65:147;;;:::o;217:872::-;;329:3;322:4;314:6;310:17;306:27;296:2;;351:5;344;337:20;296:2;391:6;378:20;417:4;441:64;456:48;501:2;456:48;:::i;:::-;441:64;:::i;:::-;539:15;;;570:12;;;;602:15;;;648:11;;;636:24;;632:33;;629:42;-1:-1:-1;626:2:10;;;688:5;681;674:20;626:2;714:5;728:332;742:2;739:1;736:9;728:332;;;813:3;800:17;861:66;854:5;850:78;843:5;840:89;830:2;;947:5;940;933:20;830:2;968:18;;1006:12;;;;1038;;;;760:1;753:9;728:332;;;-1:-1:-1;1078:5:10;;286:803;-1:-1:-1;;;;;;;286:803:10:o;1094:1288::-;;;;;;1321:2;1309:9;1300:7;1296:23;1292:32;1289:2;;;1342:6;1334;1327:22;1289:2;1387:9;1374:23;1416:18;1457:2;1449:6;1446:14;1443:2;;;1478:6;1470;1463:22;1443:2;1521:6;1510:9;1506:22;1496:32;;1566:7;1559:4;1555:2;1551:13;1547:27;1537:2;;1593:6;1585;1578:22;1537:2;1638;1625:16;1664:2;1656:6;1653:14;1650:2;;;1685:6;1677;1670:22;1650:2;1713:4;1767:7;1762:2;1756;1748:6;1744:15;1740:2;1736:24;1732:33;1729:46;1726:2;;;1793:6;1785;1778:22;1726:2;1829;1825;1821:11;1811:21;;1851:6;1841:16;;1876:40;1912:2;1901:9;1897:18;1876:40;:::i;:::-;1866:50;;1969:2;1958:9;1954:18;1941:32;1925:48;;1998:2;1988:8;1985:16;1982:2;;;2019:6;2011;2004:22;1982:2;2062:8;2051:9;2047:24;2037:34;;2109:7;2102:4;2098:2;2094:13;2090:27;2080:2;;2136:6;2128;2121:22;2080:2;2183;2170:16;2154:32;;2211:2;2201:8;2198:16;2195:2;;;2232:6;2224;2217:22;2195:2;2284:7;2279:2;2268:8;2264:2;2260:17;2256:26;2253:39;2250:2;;;2310:6;2302;2295:22;2250:2;1279:1103;;;;-1:-1:-1;1279:1103:10;;-1:-1:-1;;2338:11:10;;;;-1:-1:-1;2368:8:10;;1279:1103;-1:-1:-1;1279:1103:10:o;2387:129::-;2466:42;2455:54;2443:67;;2433:83::o;2521:318::-;;2602:5;2596:12;2629:6;2624:3;2617:19;2645:63;2701:6;2694:4;2689:3;2685:14;2678:4;2671:5;2667:16;2645:63;:::i;:::-;2753:2;2741:15;2758:66;2737:88;2728:98;;;;2828:4;2724:109;;2572:267;-1:-1:-1;;2572:267:10:o;2844:274::-;;3011:6;3005:13;3027:53;3073:6;3068:3;3061:4;3053:6;3049:17;3027:53;:::i;:::-;3096:16;;;;;2981:137;-1:-1:-1;;2981:137:10:o;3123:2100::-;3418:2;3470:21;;;3540:13;;3443:18;;;3562:22;;;3123:2100;;3418:2;3603:3;;3622:18;;;;3659:4;3705:15;;;3690:31;;3686:40;;3749:15;;;3123:2100;3795:1253;3809:6;3806:1;3803:13;3795:1253;;;3898:66;3886:9;3878:6;3874:22;3870:95;3865:3;3858:108;3995:6;3989:13;4041:2;4033:6;4029:15;4087:42;4082:2;4076:9;4072:58;4064:6;4057:74;4178:2;4174;4170:11;4164:18;4222:1;4208:12;4205:19;4195:2;;4228:9;4195:2;4259:15;;;4252:37;4312:4;4357:11;;;4351:18;4389:15;;;4382:27;;;4470:21;;4504:24;;;;4594:23;;;;4641:4;;4550:15;;;;4658:282;4674:8;4669:3;4666:17;4658:282;;;4755:15;;4772:66;4751:88;4737:103;;4909:17;;;;4702:1;4693:11;;;;;4866:14;;;;4658:282;;;-1:-1:-1;5026:12:10;;;;4963:5;-1:-1:-1;;;4991:15:10;;;;3831:1;3824:9;3795:1253;;;3799:3;;5057:48;5101:2;5090:9;5086:18;5078:6;5057:48;:::i;:::-;5155:9;5147:6;5143:22;5136:4;5125:9;5121:20;5114:52;5183:34;5210:6;5202;5183:34;:::i;:::-;5175:42;3398:1825;-1:-1:-1;;;;;;;;;;;3398:1825:10:o;5228:221::-;;5377:2;5366:9;5359:21;5397:46;5439:2;5428:9;5424:18;5416:6;5397:46;:::i;:::-;5389:54;5349:100;-1:-1:-1;;;5349:100:10:o;5454:424::-;5656:2;5638:21;;;5695:2;5675:18;;;5668:30;5734:34;5729:2;5714:18;;5707:62;5805:30;5800:2;5785:18;;5778:58;5868:3;5853:19;;5628:250::o;5883:402::-;6085:2;6067:21;;;6124:2;6104:18;;;6097:30;6163:34;6158:2;6143:18;;6136:62;6234:8;6229:2;6214:18;;6207:36;6275:3;6260:19;;6057:228::o;6290:398::-;6492:2;6474:21;;;6531:2;6511:18;;;6504:30;6570:34;6565:2;6550:18;;6543:62;6641:4;6636:2;6621:18;;6614:32;6678:3;6663:19;;6464:224::o;6693:407::-;6895:2;6877:21;;;6934:2;6914:18;;;6907:30;6973:34;6968:2;6953:18;;6946:62;7044:13;7039:2;7024:18;;7017:41;7090:3;7075:19;;6867:233::o;7105:419::-;7307:2;7289:21;;;7346:2;7326:18;;;7319:30;7385:34;7380:2;7365:18;;7358:62;7456:25;7451:2;7436:18;;7429:53;7514:3;7499:19;;7279:245::o;7529:403::-;7731:2;7713:21;;;7770:2;7750:18;;;7743:30;7809:34;7804:2;7789:18;;7782:62;7880:9;7875:2;7860:18;;7853:37;7922:3;7907:19;;7703:229::o;7937:408::-;8139:2;8121:21;;;8178:2;8158:18;;;8151:30;8217:34;8212:2;8197:18;;8190:62;8288:14;8283:2;8268:18;;8261:42;8335:3;8320:19;;8111:234::o;8350:425::-;8552:2;8534:21;;;8591:2;8571:18;;;8564:30;8630:34;8625:2;8610:18;;8603:62;8701:31;8696:2;8681:18;;8674:59;8765:3;8750:19;;8524:251::o;8780:410::-;8982:2;8964:21;;;9021:2;9001:18;;;8994:30;9060:34;9055:2;9040:18;;9033:62;9131:16;9126:2;9111:18;;9104:44;9180:3;9165:19;;8954:236::o;9195:417::-;9397:2;9379:21;;;9436:2;9416:18;;;9409:30;9475:34;9470:2;9455:18;;9448:62;9546:23;9541:2;9526:18;;9519:51;9602:3;9587:19;;9369:243::o;9617:420::-;9819:2;9801:21;;;9858:2;9838:18;;;9831:30;9897:34;9892:2;9877:18;;9870:62;9968:26;9963:2;9948:18;;9941:54;10027:3;10012:19;;9791:246::o;10042:418::-;10244:2;10226:21;;;10283:2;10263:18;;;10256:30;10322:34;10317:2;10302:18;;10295:62;10393:24;10388:2;10373:18;;10366:52;10450:3;10435:19;;10216:244::o;10465:242::-;10535:2;10529:9;10565:17;;;10612:18;10597:34;;10633:22;;;10594:62;10591:2;;;10659:9;10591:2;10686;10679:22;10509:198;;-1:-1:-1;10509:198:10:o;10712:182::-;;10810:18;10802:6;10799:30;10796:2;;;10832:9;10796:2;-1:-1:-1;10883:4:10;10864:17;;;10860:28;;10786:108::o;10899:1485::-;;11102:68;11117:52;11162:6;11117:52;:::i;11102:68::-;11204:19;;;11242:4;11262:12;;;;11192:3;11294:5;11317:9;11335:1016;11349:6;11346:1;11343:13;11335:1016;;;11432:3;11419:17;11412:5;11408:29;11460:4;11509:2;11504;11488:14;11484:23;11480:32;11477:2;;;11533:9;11522;11515:28;11477:2;11568;11597:9;;11637:15;;;;11675:18;11712;;;11732:22;;;11709:46;11706:2;;;11758:9;11706:2;11793:10;11789:2;11782:22;11832:24;11853:2;11832:24;:::i;:::-;11824:6;11817:40;11906:2;11902;11898:11;11885:25;11870:40;;11945:1;11936:7;11933:14;11923:2;;11969:9;11958;11951:28;11923:2;12018:7;12013:2;12005:6;12001:15;11994:32;12074:2;12070;12066:11;12053:25;12039:39;;12105:2;12097:6;12094:14;12091:2;;;12129:9;12118;12111:28;12091:2;;12178:66;12229:14;12220:6;12216:2;12212:15;12178:66;:::i;:::-;12161:15;;;12154:91;;;;12258:19;;-1:-1:-1;;12297:12:10;;;;12329;;;;11371:1;11364:9;11335:1016;;;-1:-1:-1;12373:5:10;;11081:1303;-1:-1:-1;;;;;;11081:1303:10:o;12389:258::-;12461:1;12471:113;12485:6;12482:1;12479:13;12471:113;;;12561:11;;;12555:18;12542:11;;;12535:39;12507:2;12500:10;12471:113;;;12602:6;12599:1;12596:13;12593:2;;;-1:-1:-1;;12637:1:10;12619:16;;12612:27;12442:205::o" + "opcodes": "PUSH1 0x80 PUSH1 0x40 MSTORE CALLVALUE DUP1 ISZERO PUSH2 0x10 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH1 0x4 CALLDATASIZE LT PUSH2 0x2B JUMPI PUSH1 0x0 CALLDATALOAD PUSH1 0xE0 SHR DUP1 PUSH4 0x1F931C1C EQ PUSH2 0x30 JUMPI JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x43 PUSH2 0x3E CALLDATASIZE PUSH1 0x4 PUSH2 0x166F JUMP JUMPDEST PUSH2 0x45 JUMP JUMPDEST STOP JUMPDEST PUSH2 0x4D PUSH2 0x9E JUMP JUMPDEST PUSH2 0x97 PUSH2 0x5A DUP6 DUP8 PUSH2 0x17EC JUMP JUMPDEST DUP5 DUP5 DUP5 DUP1 DUP1 PUSH1 0x1F ADD PUSH1 0x20 DUP1 SWAP2 DIV MUL PUSH1 0x20 ADD PUSH1 0x40 MLOAD SWAP1 DUP2 ADD PUSH1 0x40 MSTORE DUP1 SWAP4 SWAP3 SWAP2 SWAP1 DUP2 DUP2 MSTORE PUSH1 0x20 ADD DUP4 DUP4 DUP1 DUP3 DUP5 CALLDATACOPY PUSH1 0x0 SWAP3 ADD SWAP2 SWAP1 SWAP2 MSTORE POP PUSH2 0x16E SWAP3 POP POP POP JUMP JUMPDEST POP POP POP POP POP JUMP JUMPDEST PUSH32 0xC8FCAD8DB84D3CC18B4C41D551EA0EE66DD599CDE068D998E57D5E09332C131C PUSH1 0x4 ADD SLOAD PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND CALLER EQ PUSH2 0x16C JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x22 PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x4C69624469616D6F6E643A204D75737420626520636F6E7472616374206F776E PUSH1 0x44 DUP3 ADD MSTORE PUSH32 0x6572000000000000000000000000000000000000000000000000000000000000 PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 ADD JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST JUMP JUMPDEST PUSH1 0x0 JUMPDEST DUP4 MLOAD DUP2 LT ISZERO PUSH2 0x367 JUMPI PUSH1 0x0 DUP5 DUP3 DUP2 MLOAD DUP2 LT PUSH2 0x18E JUMPI PUSH2 0x18E PUSH2 0x1948 JUMP JUMPDEST PUSH1 0x20 MUL PUSH1 0x20 ADD ADD MLOAD PUSH1 0x20 ADD MLOAD SWAP1 POP PUSH1 0x0 PUSH1 0x2 DUP2 GT ISZERO PUSH2 0x1AF JUMPI PUSH2 0x1AF PUSH2 0x1977 JUMP JUMPDEST DUP2 PUSH1 0x2 DUP2 GT ISZERO PUSH2 0x1C1 JUMPI PUSH2 0x1C1 PUSH2 0x1977 JUMP JUMPDEST EQ ISZERO PUSH2 0x210 JUMPI PUSH2 0x20B DUP6 DUP4 DUP2 MLOAD DUP2 LT PUSH2 0x1DC JUMPI PUSH2 0x1DC PUSH2 0x1948 JUMP JUMPDEST PUSH1 0x20 MUL PUSH1 0x20 ADD ADD MLOAD PUSH1 0x0 ADD MLOAD DUP7 DUP5 DUP2 MLOAD DUP2 LT PUSH2 0x1FA JUMPI PUSH2 0x1FA PUSH2 0x1948 JUMP JUMPDEST PUSH1 0x20 MUL PUSH1 0x20 ADD ADD MLOAD PUSH1 0x40 ADD MLOAD PUSH2 0x3B2 JUMP JUMPDEST PUSH2 0x354 JUMP JUMPDEST PUSH1 0x1 DUP2 PUSH1 0x2 DUP2 GT ISZERO PUSH2 0x224 JUMPI PUSH2 0x224 PUSH2 0x1977 JUMP JUMPDEST EQ ISZERO PUSH2 0x26E JUMPI PUSH2 0x20B DUP6 DUP4 DUP2 MLOAD DUP2 LT PUSH2 0x23F JUMPI PUSH2 0x23F PUSH2 0x1948 JUMP JUMPDEST PUSH1 0x20 MUL PUSH1 0x20 ADD ADD MLOAD PUSH1 0x0 ADD MLOAD DUP7 DUP5 DUP2 MLOAD DUP2 LT PUSH2 0x25D JUMPI PUSH2 0x25D PUSH2 0x1948 JUMP JUMPDEST PUSH1 0x20 MUL PUSH1 0x20 ADD ADD MLOAD PUSH1 0x40 ADD MLOAD PUSH2 0x75E JUMP JUMPDEST PUSH1 0x2 DUP2 PUSH1 0x2 DUP2 GT ISZERO PUSH2 0x282 JUMPI PUSH2 0x282 PUSH2 0x1977 JUMP JUMPDEST EQ ISZERO PUSH2 0x2CC JUMPI PUSH2 0x20B DUP6 DUP4 DUP2 MLOAD DUP2 LT PUSH2 0x29D JUMPI PUSH2 0x29D PUSH2 0x1948 JUMP JUMPDEST PUSH1 0x20 MUL PUSH1 0x20 ADD ADD MLOAD PUSH1 0x0 ADD MLOAD DUP7 DUP5 DUP2 MLOAD DUP2 LT PUSH2 0x2BB JUMPI PUSH2 0x2BB PUSH2 0x1948 JUMP JUMPDEST PUSH1 0x20 MUL PUSH1 0x20 ADD ADD MLOAD PUSH1 0x40 ADD MLOAD PUSH2 0xB1B JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x27 PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x4C69624469616D6F6E644375743A20496E636F72726563742046616365744375 PUSH1 0x44 DUP3 ADD MSTORE PUSH32 0x74416374696F6E00000000000000000000000000000000000000000000000000 PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 ADD PUSH2 0x163 JUMP JUMPDEST POP DUP1 PUSH2 0x35F DUP2 PUSH2 0x19D5 JUMP JUMPDEST SWAP2 POP POP PUSH2 0x171 JUMP JUMPDEST POP PUSH32 0x8FAA70878671CCD212D20771B795C50AF8FD3FF6CF27F4BDE57E5D4DE0AEB673 DUP4 DUP4 DUP4 PUSH1 0x40 MLOAD PUSH2 0x39B SWAP4 SWAP3 SWAP2 SWAP1 PUSH2 0x1A84 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 LOG1 PUSH2 0x3AD DUP3 DUP3 PUSH2 0xD0E JUMP JUMPDEST POP POP POP JUMP JUMPDEST PUSH1 0x0 DUP2 MLOAD GT PUSH2 0x443 JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x2B PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x4C69624469616D6F6E644375743A204E6F2073656C6563746F727320696E2066 PUSH1 0x44 DUP3 ADD MSTORE PUSH32 0x6163657420746F20637574000000000000000000000000000000000000000000 PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 ADD PUSH2 0x163 JUMP JUMPDEST PUSH32 0xC8FCAD8DB84D3CC18B4C41D551EA0EE66DD599CDE068D998E57D5E09332C131C PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP4 AND PUSH2 0x507 JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x2C PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x4C69624469616D6F6E644375743A204164642066616365742063616E27742062 PUSH1 0x44 DUP3 ADD MSTORE PUSH32 0x6520616464726573732830290000000000000000000000000000000000000000 PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 ADD PUSH2 0x163 JUMP JUMPDEST PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP4 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x1 DUP3 ADD PUSH1 0x20 MSTORE PUSH1 0x40 SWAP1 KECCAK256 SLOAD PUSH12 0xFFFFFFFFFFFFFFFFFFFFFFFF DUP2 AND PUSH2 0x54C JUMPI PUSH2 0x54C DUP3 DUP6 PUSH2 0xFC1 JUMP JUMPDEST PUSH1 0x0 JUMPDEST DUP4 MLOAD DUP2 LT ISZERO PUSH2 0x97 JUMPI PUSH1 0x0 DUP5 DUP3 DUP2 MLOAD DUP2 LT PUSH2 0x56C JUMPI PUSH2 0x56C PUSH2 0x1948 JUMP JUMPDEST PUSH1 0x20 SWAP1 DUP2 MUL SWAP2 SWAP1 SWAP2 ADD DUP2 ADD MLOAD PUSH32 0xFFFFFFFF00000000000000000000000000000000000000000000000000000000 DUP2 AND PUSH1 0x0 SWAP1 DUP2 MSTORE SWAP2 DUP7 SWAP1 MSTORE PUSH1 0x40 SWAP1 SWAP2 KECCAK256 SLOAD SWAP1 SWAP2 POP PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP1 ISZERO PUSH2 0x651 JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x35 PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x4C69624469616D6F6E644375743A2043616E2774206164642066756E6374696F PUSH1 0x44 DUP3 ADD MSTORE PUSH32 0x6E207468617420616C7265616479206578697374730000000000000000000000 PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 ADD PUSH2 0x163 JUMP JUMPDEST PUSH32 0xFFFFFFFF00000000000000000000000000000000000000000000000000000000 DUP3 AND PUSH1 0x0 DUP2 DUP2 MSTORE PUSH1 0x20 DUP8 DUP2 MSTORE PUSH1 0x40 DUP1 DUP4 KECCAK256 DUP1 SLOAD PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF SWAP1 DUP2 AND PUSH21 0x10000000000000000000000000000000000000000 PUSH12 0xFFFFFFFFFFFFFFFFFFFFFFFF DUP13 AND MUL OR DUP3 SSTORE DUP13 AND DUP1 DUP6 MSTORE PUSH1 0x1 DUP1 DUP13 ADD DUP6 MSTORE SWAP3 DUP6 KECCAK256 DUP1 SLOAD SWAP4 DUP5 ADD DUP2 SSTORE DUP6 MSTORE DUP4 DUP6 KECCAK256 PUSH1 0x8 DUP5 DIV ADD DUP1 SLOAD PUSH4 0xFFFFFFFF PUSH1 0x7 SWAP1 SWAP6 AND PUSH1 0x4 MUL PUSH2 0x100 EXP SWAP5 DUP6 MUL NOT AND PUSH1 0xE0 DUP11 SWAP1 SHR SWAP5 SWAP1 SWAP5 MUL SWAP4 SWAP1 SWAP4 OR SWAP1 SWAP3 SSTORE SWAP4 SWAP1 SWAP3 MSTORE DUP8 SWAP1 MSTORE DUP2 SLOAD PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFF0000000000000000000000000000000000000000 AND OR SWAP1 SSTORE DUP4 PUSH2 0x746 DUP2 PUSH2 0x1BEC JUMP JUMPDEST SWAP5 POP POP POP POP DUP1 DUP1 PUSH2 0x756 SWAP1 PUSH2 0x19D5 JUMP JUMPDEST SWAP2 POP POP PUSH2 0x54F JUMP JUMPDEST PUSH1 0x0 DUP2 MLOAD GT PUSH2 0x7EF JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x2B PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x4C69624469616D6F6E644375743A204E6F2073656C6563746F727320696E2066 PUSH1 0x44 DUP3 ADD MSTORE PUSH32 0x6163657420746F20637574000000000000000000000000000000000000000000 PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 ADD PUSH2 0x163 JUMP JUMPDEST PUSH32 0xC8FCAD8DB84D3CC18B4C41D551EA0EE66DD599CDE068D998E57D5E09332C131C PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP4 AND PUSH2 0x8B3 JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x2C PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x4C69624469616D6F6E644375743A204164642066616365742063616E27742062 PUSH1 0x44 DUP3 ADD MSTORE PUSH32 0x6520616464726573732830290000000000000000000000000000000000000000 PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 ADD PUSH2 0x163 JUMP JUMPDEST PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP4 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x1 DUP3 ADD PUSH1 0x20 MSTORE PUSH1 0x40 SWAP1 KECCAK256 SLOAD PUSH12 0xFFFFFFFFFFFFFFFFFFFFFFFF DUP2 AND PUSH2 0x8F8 JUMPI PUSH2 0x8F8 DUP3 DUP6 PUSH2 0xFC1 JUMP JUMPDEST PUSH1 0x0 JUMPDEST DUP4 MLOAD DUP2 LT ISZERO PUSH2 0x97 JUMPI PUSH1 0x0 DUP5 DUP3 DUP2 MLOAD DUP2 LT PUSH2 0x918 JUMPI PUSH2 0x918 PUSH2 0x1948 JUMP JUMPDEST PUSH1 0x20 SWAP1 DUP2 MUL SWAP2 SWAP1 SWAP2 ADD DUP2 ADD MLOAD PUSH32 0xFFFFFFFF00000000000000000000000000000000000000000000000000000000 DUP2 AND PUSH1 0x0 SWAP1 DUP2 MSTORE SWAP2 DUP7 SWAP1 MSTORE PUSH1 0x40 SWAP1 SWAP2 KECCAK256 SLOAD SWAP1 SWAP2 POP PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF SWAP1 DUP2 AND SWAP1 DUP8 AND DUP2 EQ ISZERO PUSH2 0xA03 JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x38 PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x4C69624469616D6F6E644375743A2043616E2774207265706C6163652066756E PUSH1 0x44 DUP3 ADD MSTORE PUSH32 0x6374696F6E20776974682073616D652066756E6374696F6E0000000000000000 PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 ADD PUSH2 0x163 JUMP JUMPDEST PUSH2 0xA0E DUP6 DUP3 DUP5 PUSH2 0x1050 JUMP JUMPDEST PUSH32 0xFFFFFFFF00000000000000000000000000000000000000000000000000000000 DUP3 AND PUSH1 0x0 DUP2 DUP2 MSTORE PUSH1 0x20 DUP8 DUP2 MSTORE PUSH1 0x40 DUP1 DUP4 KECCAK256 DUP1 SLOAD PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF SWAP1 DUP2 AND PUSH21 0x10000000000000000000000000000000000000000 PUSH12 0xFFFFFFFFFFFFFFFFFFFFFFFF DUP13 AND MUL OR DUP3 SSTORE DUP13 AND DUP1 DUP6 MSTORE PUSH1 0x1 DUP1 DUP13 ADD DUP6 MSTORE SWAP3 DUP6 KECCAK256 DUP1 SLOAD SWAP4 DUP5 ADD DUP2 SSTORE DUP6 MSTORE DUP4 DUP6 KECCAK256 PUSH1 0x8 DUP5 DIV ADD DUP1 SLOAD PUSH4 0xFFFFFFFF PUSH1 0x7 SWAP1 SWAP6 AND PUSH1 0x4 MUL PUSH2 0x100 EXP SWAP5 DUP6 MUL NOT AND PUSH1 0xE0 DUP11 SWAP1 SHR SWAP5 SWAP1 SWAP5 MUL SWAP4 SWAP1 SWAP4 OR SWAP1 SWAP3 SSTORE SWAP4 SWAP1 SWAP3 MSTORE DUP8 SWAP1 MSTORE DUP2 SLOAD PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFF0000000000000000000000000000000000000000 AND OR SWAP1 SSTORE DUP4 PUSH2 0xB03 DUP2 PUSH2 0x1BEC JUMP JUMPDEST SWAP5 POP POP POP POP DUP1 DUP1 PUSH2 0xB13 SWAP1 PUSH2 0x19D5 JUMP JUMPDEST SWAP2 POP POP PUSH2 0x8FB JUMP JUMPDEST PUSH1 0x0 DUP2 MLOAD GT PUSH2 0xBAC JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x2B PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x4C69624469616D6F6E644375743A204E6F2073656C6563746F727320696E2066 PUSH1 0x44 DUP3 ADD MSTORE PUSH32 0x6163657420746F20637574000000000000000000000000000000000000000000 PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 ADD PUSH2 0x163 JUMP JUMPDEST PUSH32 0xC8FCAD8DB84D3CC18B4C41D551EA0EE66DD599CDE068D998E57D5E09332C131C PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP4 AND ISZERO PUSH2 0xC71 JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x36 PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x4C69624469616D6F6E644375743A2052656D6F76652066616365742061646472 PUSH1 0x44 DUP3 ADD MSTORE PUSH32 0x657373206D757374206265206164647265737328302900000000000000000000 PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 ADD PUSH2 0x163 JUMP JUMPDEST PUSH1 0x0 JUMPDEST DUP3 MLOAD DUP2 LT ISZERO PUSH2 0xD08 JUMPI PUSH1 0x0 DUP4 DUP3 DUP2 MLOAD DUP2 LT PUSH2 0xC91 JUMPI PUSH2 0xC91 PUSH2 0x1948 JUMP JUMPDEST PUSH1 0x20 SWAP1 DUP2 MUL SWAP2 SWAP1 SWAP2 ADD DUP2 ADD MLOAD PUSH32 0xFFFFFFFF00000000000000000000000000000000000000000000000000000000 DUP2 AND PUSH1 0x0 SWAP1 DUP2 MSTORE SWAP2 DUP6 SWAP1 MSTORE PUSH1 0x40 SWAP1 SWAP2 KECCAK256 SLOAD SWAP1 SWAP2 POP PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH2 0xCF3 DUP5 DUP3 DUP5 PUSH2 0x1050 JUMP JUMPDEST POP POP DUP1 DUP1 PUSH2 0xD00 SWAP1 PUSH2 0x19D5 JUMP JUMPDEST SWAP2 POP POP PUSH2 0xC74 JUMP JUMPDEST POP POP POP POP JUMP JUMPDEST PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP3 AND PUSH2 0xDBC JUMPI DUP1 MLOAD ISZERO PUSH2 0xDB8 JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x3C PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x4C69624469616D6F6E644375743A205F696E6974206973206164647265737328 PUSH1 0x44 DUP3 ADD MSTORE PUSH32 0x3029206275745F63616C6C64617461206973206E6F7420656D70747900000000 PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 ADD PUSH2 0x163 JUMP JUMPDEST POP POP JUMP JUMPDEST PUSH1 0x0 DUP2 MLOAD GT PUSH2 0xE4D JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x3D PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x4C69624469616D6F6E644375743A205F63616C6C6461746120697320656D7074 PUSH1 0x44 DUP3 ADD MSTORE PUSH32 0x7920627574205F696E6974206973206E6F742061646472657373283029000000 PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 ADD PUSH2 0x163 JUMP JUMPDEST PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP3 AND ADDRESS EQ PUSH2 0xE8C JUMPI PUSH2 0xE8C DUP3 PUSH1 0x40 MLOAD DUP1 PUSH1 0x60 ADD PUSH1 0x40 MSTORE DUP1 PUSH1 0x28 DUP2 MSTORE PUSH1 0x20 ADD PUSH2 0x1C95 PUSH1 0x28 SWAP2 CODECOPY PUSH2 0x15C2 JUMP JUMPDEST PUSH1 0x0 DUP1 DUP4 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP4 PUSH1 0x40 MLOAD PUSH2 0xEB4 SWAP2 SWAP1 PUSH2 0x1C18 JUMP JUMPDEST PUSH1 0x0 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP6 GAS DELEGATECALL SWAP2 POP POP RETURNDATASIZE DUP1 PUSH1 0x0 DUP2 EQ PUSH2 0xEEF JUMPI PUSH1 0x40 MLOAD SWAP2 POP PUSH1 0x1F NOT PUSH1 0x3F RETURNDATASIZE ADD AND DUP3 ADD PUSH1 0x40 MSTORE RETURNDATASIZE DUP3 MSTORE RETURNDATASIZE PUSH1 0x0 PUSH1 0x20 DUP5 ADD RETURNDATACOPY PUSH2 0xEF4 JUMP JUMPDEST PUSH1 0x60 SWAP2 POP JUMPDEST POP SWAP2 POP SWAP2 POP DUP2 PUSH2 0xD08 JUMPI DUP1 MLOAD ISZERO PUSH2 0xF39 JUMPI DUP1 PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x163 SWAP2 SWAP1 PUSH2 0x1C34 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x26 PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x4C69624469616D6F6E644375743A205F696E69742066756E6374696F6E207265 PUSH1 0x44 DUP3 ADD MSTORE PUSH32 0x7665727465640000000000000000000000000000000000000000000000000000 PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 ADD PUSH2 0x163 JUMP JUMPDEST PUSH2 0xFE3 DUP2 PUSH1 0x40 MLOAD DUP1 PUSH1 0x60 ADD PUSH1 0x40 MSTORE DUP1 PUSH1 0x24 DUP2 MSTORE PUSH1 0x20 ADD PUSH2 0x1CBD PUSH1 0x24 SWAP2 CODECOPY PUSH2 0x15C2 JUMP JUMPDEST PUSH1 0x2 DUP3 ADD DUP1 SLOAD PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF SWAP1 SWAP3 AND PUSH1 0x0 DUP2 DUP2 MSTORE PUSH1 0x1 SWAP5 DUP6 ADD PUSH1 0x20 SWAP1 DUP2 MSTORE PUSH1 0x40 DUP3 KECCAK256 DUP7 ADD DUP6 SWAP1 SSTORE SWAP5 DUP5 ADD DUP4 SSTORE SWAP2 DUP3 MSTORE SWAP3 SWAP1 KECCAK256 ADD DUP1 SLOAD PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFF0000000000000000000000000000000000000000 AND SWAP1 SWAP2 OR SWAP1 SSTORE JUMP JUMPDEST PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP3 AND PUSH2 0x10F3 JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x37 PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x4C69624469616D6F6E644375743A2043616E27742072656D6F76652066756E63 PUSH1 0x44 DUP3 ADD MSTORE PUSH32 0x74696F6E207468617420646F65736E2774206578697374000000000000000000 PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 ADD PUSH2 0x163 JUMP JUMPDEST PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP3 AND ADDRESS EQ ISZERO PUSH2 0x1199 JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x2E PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x4C69624469616D6F6E644375743A2043616E27742072656D6F766520696D6D75 PUSH1 0x44 DUP3 ADD MSTORE PUSH32 0x7461626C652066756E6374696F6E000000000000000000000000000000000000 PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 ADD PUSH2 0x163 JUMP JUMPDEST PUSH32 0xFFFFFFFF00000000000000000000000000000000000000000000000000000000 DUP2 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x20 DUP5 DUP2 MSTORE PUSH1 0x40 DUP1 DUP4 KECCAK256 SLOAD PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP7 AND DUP5 MSTORE PUSH1 0x1 DUP1 DUP9 ADD SWAP1 SWAP4 MSTORE SWAP1 DUP4 KECCAK256 SLOAD PUSH21 0x10000000000000000000000000000000000000000 SWAP1 SWAP2 DIV PUSH12 0xFFFFFFFFFFFFFFFFFFFFFFFF AND SWAP3 SWAP2 PUSH2 0x1223 SWAP2 PUSH2 0x1C4E JUMP JUMPDEST SWAP1 POP DUP1 DUP3 EQ PUSH2 0x136A JUMPI PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP5 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x1 DUP7 ADD PUSH1 0x20 MSTORE PUSH1 0x40 DUP2 KECCAK256 DUP1 SLOAD DUP4 SWAP1 DUP2 LT PUSH2 0x1265 JUMPI PUSH2 0x1265 PUSH2 0x1948 JUMP JUMPDEST PUSH1 0x0 SWAP2 DUP3 MSTORE PUSH1 0x20 DUP1 DUP4 KECCAK256 PUSH1 0x8 DUP4 DIV ADD SLOAD PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP10 AND DUP5 MSTORE PUSH1 0x1 DUP11 ADD SWAP1 SWAP2 MSTORE PUSH1 0x40 SWAP1 SWAP3 KECCAK256 DUP1 SLOAD PUSH1 0x7 SWAP1 SWAP3 AND PUSH1 0x4 MUL PUSH2 0x100 EXP SWAP1 SWAP3 DIV PUSH1 0xE0 SHL SWAP3 POP DUP3 SWAP2 SWAP1 DUP6 SWAP1 DUP2 LT PUSH2 0x12C3 JUMPI PUSH2 0x12C3 PUSH2 0x1948 JUMP JUMPDEST PUSH1 0x0 SWAP2 DUP3 MSTORE PUSH1 0x20 DUP1 DUP4 KECCAK256 PUSH1 0x8 DUP4 DIV ADD DUP1 SLOAD PUSH4 0xFFFFFFFF PUSH1 0x7 SWAP1 SWAP5 AND PUSH1 0x4 MUL PUSH2 0x100 EXP SWAP4 DUP5 MUL NOT AND PUSH1 0xE0 SWAP6 SWAP1 SWAP6 SHR SWAP3 SWAP1 SWAP3 MUL SWAP4 SWAP1 SWAP4 OR SWAP1 SSTORE PUSH32 0xFFFFFFFF00000000000000000000000000000000000000000000000000000000 SWAP3 SWAP1 SWAP3 AND DUP3 MSTORE DUP7 SWAP1 MSTORE PUSH1 0x40 SWAP1 KECCAK256 DUP1 SLOAD PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH21 0x10000000000000000000000000000000000000000 PUSH12 0xFFFFFFFFFFFFFFFFFFFFFFFF DUP6 AND MUL OR SWAP1 SSTORE JUMPDEST PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP5 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x1 DUP7 ADD PUSH1 0x20 MSTORE PUSH1 0x40 SWAP1 KECCAK256 DUP1 SLOAD DUP1 PUSH2 0x13A0 JUMPI PUSH2 0x13A0 PUSH2 0x1C65 JUMP JUMPDEST PUSH1 0x0 DUP3 DUP2 MSTORE PUSH1 0x20 DUP1 DUP3 KECCAK256 PUSH1 0x8 PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF SWAP1 SWAP5 ADD SWAP4 DUP5 DIV ADD DUP1 SLOAD PUSH4 0xFFFFFFFF PUSH1 0x4 PUSH1 0x7 DUP8 AND MUL PUSH2 0x100 EXP MUL NOT AND SWAP1 SSTORE SWAP2 SWAP1 SWAP3 SSTORE PUSH32 0xFFFFFFFF00000000000000000000000000000000000000000000000000000000 DUP6 AND DUP3 MSTORE DUP7 SWAP1 MSTORE PUSH1 0x40 DUP2 KECCAK256 SSTORE DUP1 PUSH2 0x97 JUMPI PUSH1 0x2 DUP6 ADD SLOAD PUSH1 0x0 SWAP1 PUSH2 0x1435 SWAP1 PUSH1 0x1 SWAP1 PUSH2 0x1C4E JUMP JUMPDEST PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP7 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x1 DUP1 DUP10 ADD PUSH1 0x20 MSTORE PUSH1 0x40 SWAP1 SWAP2 KECCAK256 ADD SLOAD SWAP1 SWAP2 POP DUP1 DUP3 EQ PUSH2 0x1523 JUMPI PUSH1 0x0 DUP8 PUSH1 0x2 ADD DUP4 DUP2 SLOAD DUP2 LT PUSH2 0x1481 JUMPI PUSH2 0x1481 PUSH2 0x1948 JUMP JUMPDEST PUSH1 0x0 SWAP2 DUP3 MSTORE PUSH1 0x20 SWAP1 SWAP2 KECCAK256 ADD SLOAD PUSH1 0x2 DUP10 ADD DUP1 SLOAD PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF SWAP1 SWAP3 AND SWAP3 POP DUP3 SWAP2 DUP5 SWAP1 DUP2 LT PUSH2 0x14BF JUMPI PUSH2 0x14BF PUSH2 0x1948 JUMP JUMPDEST PUSH1 0x0 SWAP2 DUP3 MSTORE PUSH1 0x20 DUP1 DUP4 KECCAK256 SWAP2 SWAP1 SWAP2 ADD DUP1 SLOAD PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFF0000000000000000000000000000000000000000 AND PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF SWAP5 DUP6 AND OR SWAP1 SSTORE SWAP3 SWAP1 SWAP2 AND DUP2 MSTORE PUSH1 0x1 DUP10 DUP2 ADD SWAP1 SWAP3 MSTORE PUSH1 0x40 SWAP1 KECCAK256 ADD DUP2 SWAP1 SSTORE JUMPDEST DUP7 PUSH1 0x2 ADD DUP1 SLOAD DUP1 PUSH2 0x1536 JUMPI PUSH2 0x1536 PUSH2 0x1C65 JUMP JUMPDEST PUSH1 0x0 DUP3 DUP2 MSTORE PUSH1 0x20 DUP1 DUP3 KECCAK256 DUP4 ADD PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF SWAP1 DUP2 ADD DUP1 SLOAD PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFF0000000000000000000000000000000000000000 AND SWAP1 SSTORE SWAP1 SWAP3 ADD SWAP1 SWAP3 SSTORE PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP9 AND DUP3 MSTORE PUSH1 0x1 DUP10 DUP2 ADD SWAP1 SWAP2 MSTORE PUSH1 0x40 DUP3 KECCAK256 ADD SSTORE POP POP POP POP POP POP POP JUMP JUMPDEST DUP2 EXTCODESIZE DUP2 DUP2 PUSH2 0xD08 JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x163 SWAP2 SWAP1 PUSH2 0x1C34 JUMP JUMPDEST DUP1 CALLDATALOAD PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP2 AND DUP2 EQ PUSH2 0x1621 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 DUP1 DUP4 PUSH1 0x1F DUP5 ADD SLT PUSH2 0x1638 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP DUP2 CALLDATALOAD PUSH8 0xFFFFFFFFFFFFFFFF DUP2 GT ISZERO PUSH2 0x1650 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x20 DUP4 ADD SWAP2 POP DUP4 PUSH1 0x20 DUP3 DUP6 ADD ADD GT ISZERO PUSH2 0x1668 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST SWAP3 POP SWAP3 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x0 DUP1 PUSH1 0x0 PUSH1 0x60 DUP7 DUP9 SUB SLT ISZERO PUSH2 0x1687 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP6 CALLDATALOAD PUSH8 0xFFFFFFFFFFFFFFFF DUP1 DUP3 GT ISZERO PUSH2 0x169F JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP2 DUP9 ADD SWAP2 POP DUP9 PUSH1 0x1F DUP4 ADD SLT PUSH2 0x16B3 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP2 CALLDATALOAD DUP2 DUP2 GT ISZERO PUSH2 0x16C2 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP10 PUSH1 0x20 DUP3 PUSH1 0x5 SHL DUP6 ADD ADD GT ISZERO PUSH2 0x16D7 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x20 DUP4 ADD SWAP8 POP DUP1 SWAP7 POP POP PUSH2 0x16ED PUSH1 0x20 DUP10 ADD PUSH2 0x15FD JUMP JUMPDEST SWAP5 POP PUSH1 0x40 DUP9 ADD CALLDATALOAD SWAP2 POP DUP1 DUP3 GT ISZERO PUSH2 0x1703 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH2 0x1710 DUP9 DUP3 DUP10 ADD PUSH2 0x1626 JUMP JUMPDEST SWAP7 SWAP10 SWAP6 SWAP9 POP SWAP4 SWAP7 POP SWAP3 SWAP5 SWAP4 SWAP3 POP POP POP JUMP JUMPDEST PUSH32 0x4E487B7100000000000000000000000000000000000000000000000000000000 PUSH1 0x0 MSTORE PUSH1 0x41 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST PUSH1 0x40 MLOAD PUSH1 0x60 DUP2 ADD PUSH8 0xFFFFFFFFFFFFFFFF DUP2 GT DUP3 DUP3 LT OR ISZERO PUSH2 0x1773 JUMPI PUSH2 0x1773 PUSH2 0x1721 JUMP JUMPDEST PUSH1 0x40 MSTORE SWAP1 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH1 0x1F DUP3 ADD PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFE0 AND DUP2 ADD PUSH8 0xFFFFFFFFFFFFFFFF DUP2 GT DUP3 DUP3 LT OR ISZERO PUSH2 0x17C0 JUMPI PUSH2 0x17C0 PUSH2 0x1721 JUMP JUMPDEST PUSH1 0x40 MSTORE SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH8 0xFFFFFFFFFFFFFFFF DUP3 GT ISZERO PUSH2 0x17E2 JUMPI PUSH2 0x17E2 PUSH2 0x1721 JUMP JUMPDEST POP PUSH1 0x5 SHL PUSH1 0x20 ADD SWAP1 JUMP JUMPDEST PUSH1 0x0 PUSH2 0x17FF PUSH2 0x17FA DUP5 PUSH2 0x17C8 JUMP JUMPDEST PUSH2 0x1779 JUMP JUMPDEST DUP4 DUP2 MSTORE PUSH1 0x20 DUP1 DUP3 ADD SWAP2 SWAP1 PUSH1 0x5 DUP7 DUP2 SHL DUP7 ADD CALLDATASIZE DUP2 GT ISZERO PUSH2 0x181D JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP7 JUMPDEST DUP2 DUP2 LT ISZERO PUSH2 0x193B JUMPI DUP1 CALLDATALOAD PUSH8 0xFFFFFFFFFFFFFFFF DUP1 DUP3 GT ISZERO PUSH2 0x1840 JUMPI PUSH1 0x0 DUP1 DUP2 REVERT JUMPDEST DUP2 DUP11 ADD SWAP2 POP PUSH1 0x60 DUP3 CALLDATASIZE SUB SLT ISZERO PUSH2 0x1856 JUMPI PUSH1 0x0 DUP1 DUP2 REVERT JUMPDEST PUSH2 0x185E PUSH2 0x1750 JUMP JUMPDEST PUSH2 0x1867 DUP4 PUSH2 0x15FD JUMP JUMPDEST DUP2 MSTORE DUP7 DUP4 ADD CALLDATALOAD PUSH1 0x3 DUP2 LT PUSH2 0x187B JUMPI PUSH1 0x0 DUP1 DUP2 REVERT JUMPDEST DUP2 DUP9 ADD MSTORE PUSH1 0x40 DUP4 DUP2 ADD CALLDATALOAD DUP4 DUP2 GT ISZERO PUSH2 0x1893 JUMPI PUSH1 0x0 DUP1 DUP2 REVERT JUMPDEST SWAP4 SWAP1 SWAP4 ADD SWAP3 CALLDATASIZE PUSH1 0x1F DUP6 ADD SLT PUSH2 0x18AA JUMPI PUSH1 0x0 SWAP3 POP DUP3 DUP4 REVERT JUMPDEST DUP4 CALLDATALOAD SWAP3 POP PUSH2 0x18BA PUSH2 0x17FA DUP5 PUSH2 0x17C8 JUMP JUMPDEST DUP4 DUP2 MSTORE SWAP3 DUP8 SHL DUP5 ADD DUP9 ADD SWAP3 DUP9 DUP2 ADD SWAP1 CALLDATASIZE DUP6 GT ISZERO PUSH2 0x18D7 JUMPI PUSH1 0x0 DUP1 DUP2 REVERT JUMPDEST SWAP5 DUP10 ADD SWAP5 JUMPDEST DUP5 DUP7 LT ISZERO PUSH2 0x1924 JUMPI DUP6 CALLDATALOAD PUSH32 0xFFFFFFFF00000000000000000000000000000000000000000000000000000000 DUP2 AND DUP2 EQ PUSH2 0x1915 JUMPI PUSH1 0x0 DUP1 DUP2 REVERT JUMPDEST DUP3 MSTORE SWAP5 DUP10 ADD SWAP5 SWAP1 DUP10 ADD SWAP1 PUSH2 0x18DC JUMP JUMPDEST SWAP2 DUP4 ADD SWAP2 SWAP1 SWAP2 MSTORE POP DUP9 MSTORE POP POP SWAP5 DUP4 ADD SWAP5 DUP4 ADD PUSH2 0x181F JUMP JUMPDEST POP SWAP3 SWAP8 SWAP7 POP POP POP POP POP POP POP JUMP JUMPDEST PUSH32 0x4E487B7100000000000000000000000000000000000000000000000000000000 PUSH1 0x0 MSTORE PUSH1 0x32 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST PUSH32 0x4E487B7100000000000000000000000000000000000000000000000000000000 PUSH1 0x0 MSTORE PUSH1 0x21 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST PUSH32 0x4E487B7100000000000000000000000000000000000000000000000000000000 PUSH1 0x0 MSTORE PUSH1 0x11 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST PUSH1 0x0 PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP3 EQ ISZERO PUSH2 0x1A07 JUMPI PUSH2 0x1A07 PUSH2 0x19A6 JUMP JUMPDEST POP PUSH1 0x1 ADD SWAP1 JUMP JUMPDEST PUSH1 0x0 JUMPDEST DUP4 DUP2 LT ISZERO PUSH2 0x1A29 JUMPI DUP2 DUP2 ADD MLOAD DUP4 DUP3 ADD MSTORE PUSH1 0x20 ADD PUSH2 0x1A11 JUMP JUMPDEST DUP4 DUP2 GT ISZERO PUSH2 0xD08 JUMPI POP POP PUSH1 0x0 SWAP2 ADD MSTORE JUMP JUMPDEST PUSH1 0x0 DUP2 MLOAD DUP1 DUP5 MSTORE PUSH2 0x1A52 DUP2 PUSH1 0x20 DUP7 ADD PUSH1 0x20 DUP7 ADD PUSH2 0x1A0E JUMP JUMPDEST PUSH1 0x1F ADD PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFE0 AND SWAP3 SWAP1 SWAP3 ADD PUSH1 0x20 ADD SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x60 DUP1 DUP4 ADD DUP2 DUP5 MSTORE DUP1 DUP8 MLOAD DUP1 DUP4 MSTORE PUSH1 0x80 SWAP3 POP DUP3 DUP7 ADD SWAP2 POP DUP3 DUP2 PUSH1 0x5 SHL DUP8 ADD ADD PUSH1 0x20 DUP1 DUP12 ADD PUSH1 0x0 JUMPDEST DUP5 DUP2 LT ISZERO PUSH2 0x1BAF JUMPI PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF80 DUP11 DUP6 SUB ADD DUP7 MSTORE DUP2 MLOAD DUP9 DUP6 ADD PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP3 MLOAD AND DUP7 MSTORE DUP5 DUP3 ADD MLOAD PUSH1 0x3 DUP2 LT PUSH2 0x1B36 JUMPI PUSH32 0x4E487B7100000000000000000000000000000000000000000000000000000000 PUSH1 0x0 MSTORE PUSH1 0x21 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST DUP7 DUP7 ADD MSTORE PUSH1 0x40 SWAP2 DUP3 ADD MLOAD SWAP2 DUP7 ADD DUP11 SWAP1 MSTORE DUP2 MLOAD SWAP1 DUP2 SWAP1 MSTORE SWAP1 DUP5 ADD SWAP1 PUSH1 0x0 SWAP1 DUP10 DUP8 ADD SWAP1 JUMPDEST DUP1 DUP4 LT ISZERO PUSH2 0x1B9A JUMPI DUP4 MLOAD PUSH32 0xFFFFFFFF00000000000000000000000000000000000000000000000000000000 AND DUP3 MSTORE SWAP3 DUP7 ADD SWAP3 PUSH1 0x1 SWAP3 SWAP1 SWAP3 ADD SWAP2 SWAP1 DUP7 ADD SWAP1 PUSH2 0x1B58 JUMP JUMPDEST POP SWAP8 DUP6 ADD SWAP8 SWAP6 POP POP POP SWAP1 DUP3 ADD SWAP1 PUSH1 0x1 ADD PUSH2 0x1AAD JUMP JUMPDEST POP POP PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP11 AND SWAP1 DUP9 ADD MSTORE DUP7 DUP2 SUB PUSH1 0x40 DUP9 ADD MSTORE PUSH2 0x1BDE DUP2 DUP10 PUSH2 0x1A3A JUMP JUMPDEST SWAP11 SWAP10 POP POP POP POP POP POP POP POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH12 0xFFFFFFFFFFFFFFFFFFFFFFFF DUP1 DUP4 AND DUP2 DUP2 EQ ISZERO PUSH2 0x1C0E JUMPI PUSH2 0x1C0E PUSH2 0x19A6 JUMP JUMPDEST PUSH1 0x1 ADD SWAP4 SWAP3 POP POP POP JUMP JUMPDEST PUSH1 0x0 DUP3 MLOAD PUSH2 0x1C2A DUP2 DUP5 PUSH1 0x20 DUP8 ADD PUSH2 0x1A0E JUMP JUMPDEST SWAP2 SWAP1 SWAP2 ADD SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x20 DUP2 MSTORE PUSH1 0x0 PUSH2 0x1C47 PUSH1 0x20 DUP4 ADD DUP5 PUSH2 0x1A3A JUMP JUMPDEST SWAP4 SWAP3 POP POP POP JUMP JUMPDEST PUSH1 0x0 DUP3 DUP3 LT ISZERO PUSH2 0x1C60 JUMPI PUSH2 0x1C60 PUSH2 0x19A6 JUMP JUMPDEST POP SUB SWAP1 JUMP JUMPDEST PUSH32 0x4E487B7100000000000000000000000000000000000000000000000000000000 PUSH1 0x0 MSTORE PUSH1 0x31 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT INVALID 0x4C PUSH10 0x624469616D6F6E644375 PUSH21 0x3A205F696E6974206164647265737320686173206E PUSH16 0x20636F64654C69624469616D6F6E6443 PUSH22 0x743A204E657720666163657420686173206E6F20636F PUSH5 0x65A2646970 PUSH7 0x7358221220E81A 0x29 DUP12 PUSH17 0x6AF5E6F506858188273BB2CE2567698530 SIGNEXTEND STATICCALL ADDMOD 0xAE PUSH2 0x105 0x1E 0xC9 0xBF PUSH5 0x736F6C6343 STOP ADDMOD MULMOD STOP CALLER ", + "sourceMap": "482:747:2:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;971:256;;;;;;:::i;:::-;;:::i;:::-;;;1123:35;:33;:35::i;:::-;1168:52;;1190:11;;1168:52;:::i;:::-;1203:5;1210:9;;1168:52;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;1168:21:2;;-1:-1:-1;;;1168:52:2:i;:::-;971:256;;;;;:::o;2263:156:9:-;492:45;2343:30;;;;;2329:10;:44;2321:91;;;;;;;5539:2:11;2321:91:9;;;5521:21:11;5578:2;5558:18;;;5551:30;5617:34;5597:18;;;5590:62;5688:4;5668:18;;;5661:32;5710:19;;2321:91:9;;;;;;;;;2263:156::o;2563:1067::-;2719:18;2714:806;2752:11;:18;2739:10;:31;2714:806;;;2800:33;2836:11;2848:10;2836:23;;;;;;;;:::i;:::-;;;;;;;:30;;;2800:66;;2894:30;2884:40;;;;;;;;:::i;:::-;:6;:40;;;;;;;;:::i;:::-;;2880:630;;;2944:93;2957:11;2969:10;2957:23;;;;;;;;:::i;:::-;;;;;;;:36;;;2995:11;3007:10;2995:23;;;;;;;;:::i;:::-;;;;;;;:41;;;2944:12;:93::i;:::-;2880:630;;;3072:34;3062:6;:44;;;;;;;;:::i;:::-;;3058:452;;;3126:97;3143:11;3155:10;3143:23;;;;;;;;:::i;:::-;;;;;;;:36;;;3181:11;3193:10;3181:23;;;;;;;;:::i;:::-;;;;;;;:41;;;3126:16;:97::i;3058:452::-;3258:33;3248:6;:43;;;;;;;;:::i;:::-;;3244:266;;;3311:96;3327:11;3339:10;3327:23;;;;;;;;:::i;:::-;;;;;;;:36;;;3365:11;3377:10;3365:23;;;;;;;;:::i;:::-;;;;;;;:41;;;3311:15;:96::i;3244:266::-;3446:49;;;;;6320:2:11;3446:49:9;;;6302:21:11;6359:2;6339:18;;;6332:30;6398:34;6378:18;;;6371:62;6469:9;6449:18;;;6442:37;6496:19;;3446:49:9;6118:403:11;3244:266:9;-1:-1:-1;2772:12:9;;;;:::i;:::-;;;;2714:806;;;;3534:41;3545:11;3558:5;3565:9;3534:41;;;;;;;;:::i;:::-;;;;;;;;3585:38;3606:5;3613:9;3585:20;:38::i;:::-;2563:1067;;;:::o;3636:1089::-;3772:1;3744:18;:25;:29;3736:85;;;;;;;10110:2:11;3736:85:9;;;10092:21:11;10149:2;10129:18;;;10122:30;10188:34;10168:18;;;10161:62;10259:13;10239:18;;;10232:41;10290:19;;3736:85:9;9908:407:11;3736:85:9;492:45;3901:27;;;3893:84;;;;;;;10522:2:11;3893:84:9;;;10504:21:11;10561:2;10541:18;;;10534:30;10600:34;10580:18;;;10573:62;10671:14;10651:18;;;10644:42;10703:19;;3893:84:9;10320:408:11;3893:84:9;4020:40;;;3987:23;4020:40;;;:25;;;:40;;;;;:65;4154:21;;;4150:91;;4191:27;4200:2;4204:13;4191:8;:27::i;:::-;4255:21;4250:469;4294:18;:25;4278:13;:41;4250:469;;;4352:15;4370:18;4389:13;4370:33;;;;;;;;:::i;:::-;;;;;;;;;;;;4443:39;;;4417:23;4443:39;;;;;;;;;;;:52;4370:33;;-1:-1:-1;4443:52:9;;4517:29;;4509:95;;;;;;;10935:2:11;4509:95:9;;;10917:21:11;10974:2;10954:18;;;10947:30;11013:34;10993:18;;;10986:62;11084:23;11064:18;;;11057:51;11125:19;;4509:95:9;10733:417:11;4509:95:9;7084:40;;;:29;:40;;;;;;;;;;;:85;;;;;;;;;;;;;;7179:40;;;;;-1:-1:-1;7179:25:9;;;:40;;;;;:74;;;;;;;;;;;;;;;;;;;;;;;;;7084:85;7179:74;;;;;;;;;;;;;;;;;;;;;7263:40;;;;;;;:69;;7084:85;7263:69;;;;4690:18;;;;:::i;:::-;;;;4338:381;;4321:15;;;;;:::i;:::-;;;;4250:469;;4731:1138;4871:1;4843:18;:25;:29;4835:85;;;;;;;10110:2:11;4835:85:9;;;10092:21:11;10149:2;10129:18;;;10122:30;10188:34;10168:18;;;10161:62;10259:13;10239:18;;;10232:41;10290:19;;4835:85:9;9908:407:11;4835:85:9;492:45;4992:27;;;4984:84;;;;;;;10522:2:11;4984:84:9;;;10504:21:11;10561:2;10541:18;;;10534:30;10600:34;10580:18;;;10573:62;10671:14;10651:18;;;10644:42;10703:19;;4984:84:9;10320:408:11;4984:84:9;5111:40;;;5078:23;5111:40;;;:25;;;:40;;;;;:65;5245:21;;;5241:79;;5282:27;5291:2;5295:13;5282:8;:27::i;:::-;5334:21;5329:534;5373:18;:25;5357:13;:41;5329:534;;;5431:15;5449:18;5468:13;5449:33;;;;;;;;:::i;:::-;;;;;;;;;;;;5522:39;;;5496:23;5522:39;;;;;;;;;;;:52;5449:33;;-1:-1:-1;5522:52:9;;;;;5596:32;;;;;5588:101;;;;;;;11579:2:11;5588:101:9;;;11561:21:11;11618:2;11598:18;;;11591:30;11657:34;11637:18;;;11630:62;11728:26;11708:18;;;11701:54;11772:19;;5588:101:9;11377:420:11;5588:101:9;5703:45;5718:2;5722:15;5739:8;5703:14;:45::i;:::-;7084:40;;;:29;:40;;;;;;;;;;;:85;;;;;;;;;;;;;;7179:40;;;;;-1:-1:-1;7179:25:9;;;:40;;;;;:74;;;;;;;;;;;;;;;;;;;;;;;;;7084:85;7179:74;;;;;;;;;;;;;;;;;;;;;7263:40;;;;;;;:69;;7084:85;7263:69;;;;5834:18;;;;:::i;:::-;;;;5417:446;;5400:15;;;;;:::i;:::-;;;;5329:534;;5875:742;6014:1;5986:18;:25;:29;5978:85;;;;;;;10110:2:11;5978:85:9;;;10092:21:11;10149:2;10129:18;;;10122:30;10188:34;10168:18;;;10161:62;10259:13;10239:18;;;10232:41;10290:19;;5978:85:9;9908:407:11;5978:85:9;492:45;6200:27;;;;6192:94;;;;;;;12004:2:11;6192:94:9;;;11986:21:11;12043:2;12023:18;;;12016:30;12082:34;12062:18;;;12055:62;12153:24;12133:18;;;12126:52;12195:19;;6192:94:9;11802:418:11;6192:94:9;6301:21;6296:315;6340:18;:25;6324:13;:41;6296:315;;;6398:15;6416:18;6435:13;6416:33;;;;;;;;:::i;:::-;;;;;;;;;;;;6489:39;;;6463:23;6489:39;;;;;;;;;;;:52;6416:33;;-1:-1:-1;6489:52:9;;6555:45;6489:2;:52;6416:33;6555:14;:45::i;:::-;6384:227;;6367:15;;;;;:::i;:::-;;;;6296:315;;;;5968:649;5875:742;;:::o;9541:871::-;9633:19;;;9629:777;;9676:16;;:21;9668:94;;;;;;;12427:2:11;9668:94:9;;;12409:21:11;12466:2;12446:18;;;12439:30;12505:34;12485:18;;;12478:62;12576:30;12556:18;;;12549:58;12624:19;;9668:94:9;12225:424:11;9668:94:9;9541:871;;:::o;9629:777::-;9820:1;9801:9;:16;:20;9793:94;;;;;;;12856:2:11;9793:94:9;;;12838:21:11;12895:2;12875:18;;;12868:30;12934:34;12914:18;;;12907:62;13005:31;12985:18;;;12978:59;13054:19;;9793:94:9;12654:425:11;9793:94:9;9905:22;;;9922:4;9905:22;9901:134;;9947:73;9970:5;9947:73;;;;;;;;;;;;;;;;;:22;:73::i;:::-;10049:12;10063:18;10085:5;:18;;10104:9;10085:29;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;10048:66;;;;10133:7;10128:268;;10164:12;;:16;10160:222;;10261:5;10247:21;;;;;;;;;;;:::i;10160:222::-;10315:48;;;;;13789:2:11;10315:48:9;;;13771:21:11;13828:2;13808:18;;;13801:30;13867:34;13847:18;;;13840:62;13938:8;13918:18;;;13911:36;13964:19;;10315:48:9;13587:402:11;6623:316:9;6710:77;6733:13;6710:77;;;;;;;;;;;;;;;;;:22;:77::i;:::-;6861:17;;;:24;;6797:40;;;;;;;;:25;;;;:40;;;;;;;:61;;:88;;;6895:37;;;;;;;;;;;;;;;;;;;;;6623:316::o;7345:2190::-;7472:27;;;7464:95;;;;;;;14196:2:11;7464:95:9;;;14178:21:11;14235:2;14215:18;;;14208:30;14274:34;14254:18;;;14247:62;14345:25;14325:18;;;14318:53;14388:19;;7464:95:9;13994:419:11;7464:95:9;7654:30;;;7679:4;7654:30;;7646:89;;;;;;;14620:2:11;7646:89:9;;;14602:21:11;14659:2;14639:18;;;14632:30;14698:34;14678:18;;;14671:62;14769:16;14749:18;;;14742:44;14803:19;;7646:89:9;14418:410:11;7646:89:9;7846:40;;;7819:24;7846:40;;;;;;;;;;;:65;7952:40;;;;;8020:1;7952:25;;;:40;;;;;;:65;7846;;;;;;;7819:24;7952:69;;;:::i;:::-;7921:100;;8123:20;8103:16;:40;8099:387;;8181:40;;;8159:19;8181:40;;;:25;;;:40;;;;;:80;;8240:20;;8181:80;;;;;;:::i;:::-;;;;;;;;;;;;;;8275:40;;;;;:25;;;:40;;;;;;;:76;;8181:80;;;;;;;;;;;;;;-1:-1:-1;8181:80:9;;8275:40;8334:16;;8275:76;;;;;;:::i;:::-;;;;;;;;;;;;;:91;;;:76;;;;;;:91;;;;;;;;;;;;;;;;;;;;;;8380:43;;;;;;;;;;;;;:95;;;;;;;;;;;;8099:387;8531:40;;;;;;;:25;;;:40;;;;;:64;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8612:40;;;;;;;;;;;8605:47;8747:25;8743:786;;8914:17;;;:24;8879:32;;8914:28;;8941:1;;8914:28;:::i;:::-;8987:40;;;8956:28;8987:40;;;:25;;;;:40;;;;;;:61;;8879:63;;-1:-1:-1;9066:48:9;;;9062:338;;9134:24;9161:2;:17;;9179:24;9161:43;;;;;;;;:::i;:::-;;;;;;;;;;;9222:17;;;:39;;9161:43;;;;;-1:-1:-1;9161:43:9;;9240:20;;9222:39;;;;;;:::i;:::-;;;;;;;;;;;;;:58;;;;;;;;;;;9298:43;;;;;;-1:-1:-1;9298:25:9;;;:43;;;;;;:64;:87;;;9062:338;9413:2;:17;;:23;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;9457:40;;;;9413:23;9457:25;;;:40;;;;;;:61;9450:68;-1:-1:-1;;7446:2089:9;;7345:2190;;;:::o;10418:261::-;10591:22;;10658:13;10640:16;10632:40;;;;;;;;;;;;;:::i;14:196:11:-;82:20;;142:42;131:54;;121:65;;111:93;;200:1;197;190:12;111:93;14:196;;;:::o;215:347::-;266:8;276:6;330:3;323:4;315:6;311:17;307:27;297:55;;348:1;345;338:12;297:55;-1:-1:-1;371:20:11;;414:18;403:30;;400:50;;;446:1;443;436:12;400:50;483:4;475:6;471:17;459:29;;535:3;528:4;519:6;511;507:19;503:30;500:39;497:59;;;552:1;549;542:12;497:59;215:347;;;;;:::o;567:1009::-;709:6;717;725;733;741;794:2;782:9;773:7;769:23;765:32;762:52;;;810:1;807;800:12;762:52;850:9;837:23;879:18;920:2;912:6;909:14;906:34;;;936:1;933;926:12;906:34;974:6;963:9;959:22;949:32;;1019:7;1012:4;1008:2;1004:13;1000:27;990:55;;1041:1;1038;1031:12;990:55;1081:2;1068:16;1107:2;1099:6;1096:14;1093:34;;;1123:1;1120;1113:12;1093:34;1178:7;1171:4;1161:6;1158:1;1154:14;1150:2;1146:23;1142:34;1139:47;1136:67;;;1199:1;1196;1189:12;1136:67;1230:4;1226:2;1222:13;1212:23;;1254:6;1244:16;;;1279:40;1313:4;1302:9;1298:20;1279:40;:::i;:::-;1269:50;;1372:2;1361:9;1357:18;1344:32;1328:48;;1401:2;1391:8;1388:16;1385:36;;;1417:1;1414;1407:12;1385:36;;1456:60;1508:7;1497:8;1486:9;1482:24;1456:60;:::i;:::-;567:1009;;;;-1:-1:-1;567:1009:11;;-1:-1:-1;1535:8:11;;1430:86;567:1009;-1:-1:-1;;;567:1009:11:o;1581:184::-;1633:77;1630:1;1623:88;1730:4;1727:1;1720:15;1754:4;1751:1;1744:15;1770:253;1842:2;1836:9;1884:4;1872:17;;1919:18;1904:34;;1940:22;;;1901:62;1898:88;;;1966:18;;:::i;:::-;2002:2;1995:22;1770:253;:::o;2028:334::-;2099:2;2093:9;2155:2;2145:13;;2160:66;2141:86;2129:99;;2258:18;2243:34;;2279:22;;;2240:62;2237:88;;;2305:18;;:::i;:::-;2341:2;2334:22;2028:334;;-1:-1:-1;2028:334:11:o;2367:191::-;2435:4;2468:18;2460:6;2457:30;2454:56;;;2490:18;;:::i;:::-;-1:-1:-1;2535:1:11;2531:14;2547:4;2527:25;;2367:191::o;2563:2769::-;2731:9;2766:72;2782:55;2830:6;2782:55;:::i;:::-;2766:72;:::i;:::-;2872:19;;;2910:4;2930:12;;;;2860:3;2961:1;2996:15;;;2985:27;;3035:14;3024:26;;3021:46;;;3063:1;3060;3053:12;3021:46;3087:5;3101:2198;3117:6;3112:3;3109:15;3101:2198;;;3203:3;3190:17;3230:18;3280:2;3267:11;3264:19;3261:109;;;3324:1;3353:2;3349;3342:14;3261:109;3404:11;3397:5;3393:23;3383:33;;3461:4;3456:2;3440:14;3436:23;3432:34;3429:124;;;3507:1;3536:2;3532;3525:14;3429:124;3581:22;;:::i;:::-;3632;3651:2;3632:22;:::i;:::-;3623:7;3616:39;3704:2;3700;3696:11;3683:25;3743:1;3734:7;3731:14;3721:112;;3787:1;3816:2;3812;3805:14;3721:112;3853:16;;;3846:33;3902:2;3944:11;;;3931:25;3972:14;;;3969:104;;;4027:1;4056:2;4052;4045:14;3969:104;4097:15;;;;;4155:14;4148:4;4139:14;;4135:35;4125:136;;4213:1;4202:12;;4243:3;4238;4231:16;4125:136;4298:3;4285:17;4274:28;;4328:69;4344:52;4392:3;4344:52;:::i;4328:69::-;4441:18;;;4537:12;;;4528:22;;4524:31;;;4481:14;;;;4584;4571:28;;4568:121;;;4641:1;4671:3;4666;4659:16;4568:121;4715:12;;;;4740:440;4758:8;4751:5;4748:19;4740:440;;;4854:5;4841:19;4912:66;4903:7;4899:80;4890:7;4887:93;4877:210;;5031:1;5065:3;5060;5053:16;4877:210;5104:22;;4779:14;;;;5152;;;;4740:440;;;5200:16;;;5193:31;;;;-1:-1:-1;5237:20:11;;-1:-1:-1;;5277:12:11;;;;3134;;3101:2198;;;-1:-1:-1;5321:5:11;;2563:2769;-1:-1:-1;;;;;;;2563:2769:11:o;5740:184::-;5792:77;5789:1;5782:88;5889:4;5886:1;5879:15;5913:4;5910:1;5903:15;5929:184;5981:77;5978:1;5971:88;6078:4;6075:1;6068:15;6102:4;6099:1;6092:15;6526:184;6578:77;6575:1;6568:88;6675:4;6672:1;6665:15;6699:4;6696:1;6689:15;6715:195;6754:3;6785:66;6778:5;6775:77;6772:103;;;6855:18;;:::i;:::-;-1:-1:-1;6902:1:11;6891:13;;6715:195::o;7047:258::-;7119:1;7129:113;7143:6;7140:1;7137:13;7129:113;;;7219:11;;;7213:18;7200:11;;;7193:39;7165:2;7158:10;7129:113;;;7260:6;7257:1;7254:13;7251:48;;;-1:-1:-1;;7295:1:11;7277:16;;7270:27;7047:258::o;7310:316::-;7351:3;7389:5;7383:12;7416:6;7411:3;7404:19;7432:63;7488:6;7481:4;7476:3;7472:14;7465:4;7458:5;7454:16;7432:63;:::i;:::-;7540:2;7528:15;7545:66;7524:88;7515:98;;;;7615:4;7511:109;;7310:316;-1:-1:-1;;7310:316:11:o;7631:2272::-;7897:4;7926:2;7966;7955:9;7951:18;7996:2;7985:9;7978:21;8019:6;8054;8048:13;8085:6;8077;8070:22;8111:3;8101:13;;8145:2;8134:9;8130:18;8123:25;;8207:2;8197:6;8194:1;8190:14;8179:9;8175:30;8171:39;8229:4;8268:2;8260:6;8256:15;8289:1;8299:1433;8313:6;8310:1;8307:13;8299:1433;;;8402:66;8390:9;8382:6;8378:22;8374:95;8369:3;8362:108;8499:6;8493:13;8545:2;8537:6;8533:15;8591:42;8586:2;8580:9;8576:58;8568:6;8561:74;8682:2;8678;8674:11;8668:18;8726:1;8712:12;8709:19;8699:227;;8770:77;8767:1;8760:88;8875:4;8872:1;8865:15;8907:4;8904:1;8897:15;8699:227;8946:15;;;8939:37;8999:4;9044:11;;;9038:18;9076:15;;;9069:27;;;9157:21;;9191:24;;;;9281:23;;;;-1:-1:-1;;9237:15:11;;;;9342:282;9358:8;9353:3;9350:17;9342:282;;;9439:15;;9456:66;9435:88;9421:103;;9593:17;;;;9386:1;9377:11;;;;;9550:14;;;;9342:282;;;-1:-1:-1;9710:12:11;;;;9647:5;-1:-1:-1;;;9675:15:11;;;;8335:1;8328:9;8299:1433;;;-1:-1:-1;;6992:42:11;6981:54;;9768:18;;;6969:67;9825:22;;;9818:4;9803:20;;9796:52;9865:32;9829:6;9882;9865:32;:::i;:::-;9857:40;7631:2272;-1:-1:-1;;;;;;;;;;7631:2272:11:o;11155:217::-;11193:3;11221:26;11282:2;11275:5;11271:14;11309:2;11300:7;11297:15;11294:41;;;11315:18;;:::i;:::-;11364:1;11351:15;;11155:217;-1:-1:-1;;;11155:217:11:o;13084:274::-;13213:3;13251:6;13245:13;13267:53;13313:6;13308:3;13301:4;13293:6;13289:17;13267:53;:::i;:::-;13336:16;;;;;13084:274;-1:-1:-1;;13084:274:11:o;13363:219::-;13512:2;13501:9;13494:21;13475:4;13532:44;13572:2;13561:9;13557:18;13549:6;13532:44;:::i;:::-;13524:52;13363:219;-1:-1:-1;;;13363:219:11:o;14833:125::-;14873:4;14901:1;14898;14895:8;14892:34;;;14906:18;;:::i;:::-;-1:-1:-1;14943:9:11;;14833:125::o;14963:184::-;15015:77;15012:1;15005:88;15112:4;15109:1;15102:15;15136:4;15133:1;15126:15" }, "gasEstimates": { "creation": { - "codeDepositCost": "1382800", - "executionCost": "1444", - "totalCost": "1384244" + "codeDepositCost": "1489200", + "executionCost": "1555", + "totalCost": "1490755" }, "external": { "diamondCut((address,uint8,bytes4[])[],address,bytes)": "infinite" @@ -8450,7 +10058,7 @@ "diamondCut((address,uint8,bytes4[])[],address,bytes)": "1f931c1c" } }, - "metadata": "{\"compiler\":{\"version\":\"0.7.6+commit.7338295f\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"anonymous\":false,\"inputs\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"facetAddress\",\"type\":\"address\"},{\"internalType\":\"enum IDiamondCut.FacetCutAction\",\"name\":\"action\",\"type\":\"uint8\"},{\"internalType\":\"bytes4[]\",\"name\":\"functionSelectors\",\"type\":\"bytes4[]\"}],\"indexed\":false,\"internalType\":\"struct IDiamondCut.FacetCut[]\",\"name\":\"_diamondCut\",\"type\":\"tuple[]\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"_init\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"bytes\",\"name\":\"_calldata\",\"type\":\"bytes\"}],\"name\":\"DiamondCut\",\"type\":\"event\"},{\"inputs\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"facetAddress\",\"type\":\"address\"},{\"internalType\":\"enum IDiamondCut.FacetCutAction\",\"name\":\"action\",\"type\":\"uint8\"},{\"internalType\":\"bytes4[]\",\"name\":\"functionSelectors\",\"type\":\"bytes4[]\"}],\"internalType\":\"struct IDiamondCut.FacetCut[]\",\"name\":\"_diamondCut\",\"type\":\"tuple[]\"},{\"internalType\":\"address\",\"name\":\"_init\",\"type\":\"address\"},{\"internalType\":\"bytes\",\"name\":\"_calldata\",\"type\":\"bytes\"}],\"name\":\"diamondCut\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{\"diamondCut((address,uint8,bytes4[])[],address,bytes)\":{\"params\":{\"_calldata\":\"A function call, including function selector and arguments _calldata is executed with delegatecall on _init\",\"_diamondCut\":\"Contains the facet addresses and function selectors\",\"_init\":\"The address of the contract or facet to execute _calldata\"}}},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{\"diamondCut((address,uint8,bytes4[])[],address,bytes)\":{\"notice\":\"Add/replace/remove any number of functions and optionally execute a function with delegatecall\"}},\"version\":1}},\"settings\":{\"compilationTarget\":{\"solc_0.7/diamond/facets/DiamondCutFacet.sol\":\"DiamondCutFacet\"},\"evmVersion\":\"istanbul\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\",\"useLiteralContent\":true},\"optimizer\":{\"enabled\":true,\"runs\":999999},\"remappings\":[]},\"sources\":{\"solc_0.7/diamond/facets/DiamondCutFacet.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\npragma solidity ^0.7.6;\\npragma experimental ABIEncoderV2;\\n\\n/******************************************************************************\\\\\\n* Author: Nick Mudge (https://twitter.com/mudgen)\\n* EIP-2535 Diamond Standard: https://eips.ethereum.org/EIPS/eip-2535\\n/******************************************************************************/\\n\\nimport \\\"../interfaces/IDiamondCut.sol\\\";\\nimport \\\"../libraries/LibDiamond.sol\\\";\\n\\ncontract DiamondCutFacet is IDiamondCut {\\n /// @notice Add/replace/remove any number of functions and optionally execute\\n /// a function with delegatecall\\n /// @param _diamondCut Contains the facet addresses and function selectors\\n /// @param _init The address of the contract or facet to execute _calldata\\n /// @param _calldata A function call, including function selector and arguments\\n /// _calldata is executed with delegatecall on _init\\n function diamondCut(\\n FacetCut[] calldata _diamondCut,\\n address _init,\\n bytes calldata _calldata\\n ) external override {\\n LibDiamond.enforceIsContractOwner();\\n LibDiamond.diamondCut(_diamondCut, _init, _calldata);\\n }\\n}\\n\",\"keccak256\":\"0x5ba6b5339797ec786263a4f7027f0248868dee5e75174a643d09e10197502ce4\",\"license\":\"MIT\"},\"solc_0.7/diamond/interfaces/IDiamondCut.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\npragma solidity ^0.7.6;\\npragma experimental ABIEncoderV2;\\n\\n/******************************************************************************\\\\\\n* Author: Nick Mudge (https://twitter.com/mudgen)\\n* EIP-2535 Diamond Standard: https://eips.ethereum.org/EIPS/eip-2535\\n/******************************************************************************/\\n\\ninterface IDiamondCut {\\n enum FacetCutAction {Add, Replace, Remove}\\n // Add=0, Replace=1, Remove=2\\n\\n struct FacetCut {\\n address facetAddress;\\n FacetCutAction action;\\n bytes4[] functionSelectors;\\n }\\n\\n /// @notice Add/replace/remove any number of functions and optionally execute\\n /// a function with delegatecall\\n /// @param _diamondCut Contains the facet addresses and function selectors\\n /// @param _init The address of the contract or facet to execute _calldata\\n /// @param _calldata A function call, including function selector and arguments\\n /// _calldata is executed with delegatecall on _init\\n function diamondCut(\\n FacetCut[] calldata _diamondCut,\\n address _init,\\n bytes calldata _calldata\\n ) external;\\n\\n event DiamondCut(FacetCut[] _diamondCut, address _init, bytes _calldata);\\n}\\n\",\"keccak256\":\"0xfb3c1af58cd19e1e49f065e33c7c68045ce451c3e16920614979624c44faf892\",\"license\":\"MIT\"},\"solc_0.7/diamond/libraries/LibDiamond.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\npragma solidity ^0.7.6;\\npragma experimental ABIEncoderV2;\\n\\n/******************************************************************************\\\\\\n* Author: Nick Mudge (https://twitter.com/mudgen)\\n* EIP-2535 Diamond Standard: https://eips.ethereum.org/EIPS/eip-2535\\n/******************************************************************************/\\n\\nimport \\\"../interfaces/IDiamondCut.sol\\\";\\n\\nlibrary LibDiamond {\\n bytes32 constant DIAMOND_STORAGE_POSITION = keccak256(\\\"diamond.standard.diamond.storage\\\");\\n\\n struct FacetAddressAndPosition {\\n address facetAddress;\\n uint16 functionSelectorPosition; // position in facetFunctionSelectors.functionSelectors array\\n }\\n\\n struct FacetFunctionSelectors {\\n bytes4[] functionSelectors;\\n uint16 facetAddressPosition; // position of facetAddress in facetAddresses array\\n }\\n\\n struct DiamondStorage {\\n // maps function selector to the facet address and\\n // the position of the selector in the facetFunctionSelectors.selectors array\\n mapping(bytes4 => FacetAddressAndPosition) selectorToFacetAndPosition;\\n // maps facet addresses to function selectors\\n mapping(address => FacetFunctionSelectors) facetFunctionSelectors;\\n // facet addresses\\n address[] facetAddresses;\\n // Used to query if a contract implements an interface.\\n // Used to implement ERC-165.\\n mapping(bytes4 => bool) supportedInterfaces;\\n // owner of the contract\\n address contractOwner;\\n }\\n\\n function diamondStorage() internal pure returns (DiamondStorage storage ds) {\\n bytes32 position = DIAMOND_STORAGE_POSITION;\\n assembly {\\n ds.slot := position\\n }\\n }\\n\\n event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);\\n\\n function setContractOwner(address _newOwner) internal {\\n DiamondStorage storage ds = diamondStorage();\\n address previousOwner = ds.contractOwner;\\n ds.contractOwner = _newOwner;\\n emit OwnershipTransferred(previousOwner, _newOwner);\\n }\\n\\n function contractOwner() internal view returns (address contractOwner_) {\\n contractOwner_ = diamondStorage().contractOwner;\\n }\\n\\n function enforceIsContractOwner() internal view {\\n require(msg.sender == diamondStorage().contractOwner, \\\"LibDiamond: Must be contract owner\\\");\\n }\\n\\n event DiamondCut(IDiamondCut.FacetCut[] _diamondCut, address _init, bytes _calldata);\\n\\n // Internal function version of diamondCut\\n function diamondCut(\\n IDiamondCut.FacetCut[] memory _diamondCut,\\n address _init,\\n bytes memory _calldata\\n ) internal {\\n for (uint256 facetIndex; facetIndex < _diamondCut.length; facetIndex++) {\\n IDiamondCut.FacetCutAction action = _diamondCut[facetIndex].action;\\n if (action == IDiamondCut.FacetCutAction.Add) {\\n addFunctions(_diamondCut[facetIndex].facetAddress, _diamondCut[facetIndex].functionSelectors);\\n } else if (action == IDiamondCut.FacetCutAction.Replace) {\\n replaceFunctions(_diamondCut[facetIndex].facetAddress, _diamondCut[facetIndex].functionSelectors);\\n } else if (action == IDiamondCut.FacetCutAction.Remove) {\\n removeFunctions(_diamondCut[facetIndex].facetAddress, _diamondCut[facetIndex].functionSelectors);\\n } else {\\n revert(\\\"LibDiamondCut: Incorrect FacetCutAction\\\");\\n }\\n }\\n emit DiamondCut(_diamondCut, _init, _calldata);\\n initializeDiamondCut(_init, _calldata);\\n }\\n\\n function addFunctions(address _facetAddress, bytes4[] memory _functionSelectors) internal {\\n require(_functionSelectors.length > 0, \\\"LibDiamondCut: No selectors in facet to cut\\\");\\n DiamondStorage storage ds = diamondStorage();\\n // uint16 selectorCount = uint16(diamondStorage().selectors.length);\\n require(_facetAddress != address(0), \\\"LibDiamondCut: Add facet can't be address(0)\\\");\\n uint16 selectorPosition = uint16(ds.facetFunctionSelectors[_facetAddress].functionSelectors.length);\\n // add new facet address if it does not exist\\n if (selectorPosition == 0) {\\n enforceHasContractCode(_facetAddress, \\\"LibDiamondCut: New facet has no code\\\");\\n ds.facetFunctionSelectors[_facetAddress].facetAddressPosition = uint16(ds.facetAddresses.length);\\n ds.facetAddresses.push(_facetAddress);\\n }\\n for (uint256 selectorIndex; selectorIndex < _functionSelectors.length; selectorIndex++) {\\n bytes4 selector = _functionSelectors[selectorIndex];\\n address oldFacetAddress = ds.selectorToFacetAndPosition[selector].facetAddress;\\n require(oldFacetAddress == address(0), \\\"LibDiamondCut: Can't add function that already exists\\\");\\n ds.facetFunctionSelectors[_facetAddress].functionSelectors.push(selector);\\n ds.selectorToFacetAndPosition[selector].facetAddress = _facetAddress;\\n ds.selectorToFacetAndPosition[selector].functionSelectorPosition = selectorPosition;\\n selectorPosition++;\\n }\\n }\\n\\n function replaceFunctions(address _facetAddress, bytes4[] memory _functionSelectors) internal {\\n require(_functionSelectors.length > 0, \\\"LibDiamondCut: No selectors in facet to cut\\\");\\n DiamondStorage storage ds = diamondStorage();\\n require(_facetAddress != address(0), \\\"LibDiamondCut: Add facet can't be address(0)\\\");\\n uint16 selectorPosition = uint16(ds.facetFunctionSelectors[_facetAddress].functionSelectors.length);\\n // add new facet address if it does not exist\\n if (selectorPosition == 0) {\\n enforceHasContractCode(_facetAddress, \\\"LibDiamondCut: New facet has no code\\\");\\n ds.facetFunctionSelectors[_facetAddress].facetAddressPosition = uint16(ds.facetAddresses.length);\\n ds.facetAddresses.push(_facetAddress);\\n }\\n for (uint256 selectorIndex; selectorIndex < _functionSelectors.length; selectorIndex++) {\\n bytes4 selector = _functionSelectors[selectorIndex];\\n address oldFacetAddress = ds.selectorToFacetAndPosition[selector].facetAddress;\\n require(oldFacetAddress != _facetAddress, \\\"LibDiamondCut: Can't replace function with same function\\\");\\n removeFunction(oldFacetAddress, selector);\\n // add function\\n ds.selectorToFacetAndPosition[selector].functionSelectorPosition = selectorPosition;\\n ds.facetFunctionSelectors[_facetAddress].functionSelectors.push(selector);\\n ds.selectorToFacetAndPosition[selector].facetAddress = _facetAddress;\\n selectorPosition++;\\n }\\n }\\n\\n function removeFunctions(address _facetAddress, bytes4[] memory _functionSelectors) internal {\\n require(_functionSelectors.length > 0, \\\"LibDiamondCut: No selectors in facet to cut\\\");\\n DiamondStorage storage ds = diamondStorage();\\n // if function does not exist then do nothing and return\\n require(_facetAddress == address(0), \\\"LibDiamondCut: Remove facet address must be address(0)\\\");\\n for (uint256 selectorIndex; selectorIndex < _functionSelectors.length; selectorIndex++) {\\n bytes4 selector = _functionSelectors[selectorIndex];\\n address oldFacetAddress = ds.selectorToFacetAndPosition[selector].facetAddress;\\n removeFunction(oldFacetAddress, selector);\\n }\\n }\\n\\n function removeFunction(address _facetAddress, bytes4 _selector) internal {\\n DiamondStorage storage ds = diamondStorage();\\n require(_facetAddress != address(0), \\\"LibDiamondCut: Can't remove function that doesn't exist\\\");\\n // an immutable function is a function defined directly in a diamond\\n require(_facetAddress != address(this), \\\"LibDiamondCut: Can't remove immutable function\\\");\\n // replace selector with last selector, then delete last selector\\n uint256 selectorPosition = ds.selectorToFacetAndPosition[_selector].functionSelectorPosition;\\n uint256 lastSelectorPosition = ds.facetFunctionSelectors[_facetAddress].functionSelectors.length - 1;\\n // if not the same then replace _selector with lastSelector\\n if (selectorPosition != lastSelectorPosition) {\\n bytes4 lastSelector = ds.facetFunctionSelectors[_facetAddress].functionSelectors[lastSelectorPosition];\\n ds.facetFunctionSelectors[_facetAddress].functionSelectors[selectorPosition] = lastSelector;\\n ds.selectorToFacetAndPosition[lastSelector].functionSelectorPosition = uint16(selectorPosition);\\n }\\n // delete the last selector\\n ds.facetFunctionSelectors[_facetAddress].functionSelectors.pop();\\n delete ds.selectorToFacetAndPosition[_selector];\\n\\n // if no more selectors for facet address then delete the facet address\\n if (lastSelectorPosition == 0) {\\n // replace facet address with last facet address and delete last facet address\\n uint256 lastFacetAddressPosition = ds.facetAddresses.length - 1;\\n uint256 facetAddressPosition = ds.facetFunctionSelectors[_facetAddress].facetAddressPosition;\\n if (facetAddressPosition != lastFacetAddressPosition) {\\n address lastFacetAddress = ds.facetAddresses[lastFacetAddressPosition];\\n ds.facetAddresses[facetAddressPosition] = lastFacetAddress;\\n ds.facetFunctionSelectors[lastFacetAddress].facetAddressPosition = uint16(facetAddressPosition);\\n }\\n ds.facetAddresses.pop();\\n delete ds.facetFunctionSelectors[_facetAddress].facetAddressPosition;\\n }\\n }\\n\\n function initializeDiamondCut(address _init, bytes memory _calldata) internal {\\n if (_init == address(0)) {\\n require(_calldata.length == 0, \\\"LibDiamondCut: _init is address(0) but_calldata is not empty\\\");\\n } else {\\n require(_calldata.length > 0, \\\"LibDiamondCut: _calldata is empty but _init is not address(0)\\\");\\n if (_init != address(this)) {\\n enforceHasContractCode(_init, \\\"LibDiamondCut: _init address has no code\\\");\\n }\\n (bool success, bytes memory error) = _init.delegatecall(_calldata);\\n if (!success) {\\n if (error.length > 0) {\\n // bubble up the error\\n revert(string(error));\\n } else {\\n revert(\\\"LibDiamondCut: _init function reverted\\\");\\n }\\n }\\n }\\n }\\n\\n function enforceHasContractCode(address _contract, string memory _errorMessage) internal view {\\n uint256 contractSize;\\n assembly {\\n contractSize := extcodesize(_contract)\\n }\\n require(contractSize > 0, _errorMessage);\\n }\\n}\\n\",\"keccak256\":\"0x4eac03abb9864ad822b50481746c975a8e3e3278e179032cfc1b4b9c8e2320bc\",\"license\":\"MIT\"}},\"version\":1}", + "metadata": "{\"compiler\":{\"version\":\"0.8.9+commit.e5eed63a\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"anonymous\":false,\"inputs\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"facetAddress\",\"type\":\"address\"},{\"internalType\":\"enum IDiamondCut.FacetCutAction\",\"name\":\"action\",\"type\":\"uint8\"},{\"internalType\":\"bytes4[]\",\"name\":\"functionSelectors\",\"type\":\"bytes4[]\"}],\"indexed\":false,\"internalType\":\"struct IDiamondCut.FacetCut[]\",\"name\":\"_diamondCut\",\"type\":\"tuple[]\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"_init\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"bytes\",\"name\":\"_calldata\",\"type\":\"bytes\"}],\"name\":\"DiamondCut\",\"type\":\"event\"},{\"inputs\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"facetAddress\",\"type\":\"address\"},{\"internalType\":\"enum IDiamondCut.FacetCutAction\",\"name\":\"action\",\"type\":\"uint8\"},{\"internalType\":\"bytes4[]\",\"name\":\"functionSelectors\",\"type\":\"bytes4[]\"}],\"internalType\":\"struct IDiamondCut.FacetCut[]\",\"name\":\"_diamondCut\",\"type\":\"tuple[]\"},{\"internalType\":\"address\",\"name\":\"_init\",\"type\":\"address\"},{\"internalType\":\"bytes\",\"name\":\"_calldata\",\"type\":\"bytes\"}],\"name\":\"diamondCut\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{\"diamondCut((address,uint8,bytes4[])[],address,bytes)\":{\"params\":{\"_calldata\":\"A function call, including function selector and arguments _calldata is executed with delegatecall on _init\",\"_diamondCut\":\"Contains the facet addresses and function selectors\",\"_init\":\"The address of the contract or facet to execute _calldata\"}}},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{\"diamondCut((address,uint8,bytes4[])[],address,bytes)\":{\"notice\":\"Add/replace/remove any number of functions and optionally execute a function with delegatecall\"}},\"version\":1}},\"settings\":{\"compilationTarget\":{\"solc_0.8/diamond/facets/DiamondCutFacet.sol\":\"DiamondCutFacet\"},\"evmVersion\":\"london\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\",\"useLiteralContent\":true},\"optimizer\":{\"enabled\":true,\"runs\":999999},\"remappings\":[]},\"sources\":{\"solc_0.8/diamond/facets/DiamondCutFacet.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.0;\\n\\n/******************************************************************************\\\\\\n* Author: Nick Mudge (https://twitter.com/mudgen)\\n* EIP-2535 Diamonds: https://eips.ethereum.org/EIPS/eip-2535\\n/******************************************************************************/\\n\\nimport { IDiamondCut } from \\\"../interfaces/IDiamondCut.sol\\\";\\nimport { LibDiamond } from \\\"../libraries/LibDiamond.sol\\\";\\n\\ncontract DiamondCutFacet is IDiamondCut {\\n /// @notice Add/replace/remove any number of functions and optionally execute\\n /// a function with delegatecall\\n /// @param _diamondCut Contains the facet addresses and function selectors\\n /// @param _init The address of the contract or facet to execute _calldata\\n /// @param _calldata A function call, including function selector and arguments\\n /// _calldata is executed with delegatecall on _init\\n function diamondCut(\\n FacetCut[] calldata _diamondCut,\\n address _init,\\n bytes calldata _calldata\\n ) external override {\\n LibDiamond.enforceIsContractOwner();\\n LibDiamond.diamondCut(_diamondCut, _init, _calldata);\\n }\\n}\\n\",\"keccak256\":\"0x58fc18b268fa5d1956c0e677f3fe91e2dd9d86fc73bb43527110d8afbbcd733e\",\"license\":\"MIT\"},\"solc_0.8/diamond/interfaces/IDiamondCut.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.0;\\n\\n/******************************************************************************\\\\\\n* Author: Nick Mudge (https://twitter.com/mudgen)\\n* EIP-2535 Diamonds: https://eips.ethereum.org/EIPS/eip-2535\\n/******************************************************************************/\\n\\ninterface IDiamondCut {\\n enum FacetCutAction {Add, Replace, Remove}\\n // Add=0, Replace=1, Remove=2\\n\\n struct FacetCut {\\n address facetAddress;\\n FacetCutAction action;\\n bytes4[] functionSelectors;\\n }\\n\\n /// @notice Add/replace/remove any number of functions and optionally execute\\n /// a function with delegatecall\\n /// @param _diamondCut Contains the facet addresses and function selectors\\n /// @param _init The address of the contract or facet to execute _calldata\\n /// @param _calldata A function call, including function selector and arguments\\n /// _calldata is executed with delegatecall on _init\\n function diamondCut(\\n FacetCut[] calldata _diamondCut,\\n address _init,\\n bytes calldata _calldata\\n ) external;\\n\\n event DiamondCut(FacetCut[] _diamondCut, address _init, bytes _calldata);\\n}\\n\",\"keccak256\":\"0xc00c16bfa30a3fa5f3dc684f7f8ba62c259962b25f647d9588739458989717fc\",\"license\":\"MIT\"},\"solc_0.8/diamond/libraries/LibDiamond.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.0;\\n\\n/******************************************************************************\\\\\\n* Author: Nick Mudge (https://twitter.com/mudgen)\\n* EIP-2535 Diamonds: https://eips.ethereum.org/EIPS/eip-2535\\n/******************************************************************************/\\nimport { IDiamondCut } from \\\"../interfaces/IDiamondCut.sol\\\";\\n\\nlibrary LibDiamond {\\n bytes32 constant DIAMOND_STORAGE_POSITION = keccak256(\\\"diamond.standard.diamond.storage\\\");\\n\\n struct FacetAddressAndPosition {\\n address facetAddress;\\n uint96 functionSelectorPosition; // position in facetFunctionSelectors.functionSelectors array\\n }\\n\\n struct FacetFunctionSelectors {\\n bytes4[] functionSelectors;\\n uint256 facetAddressPosition; // position of facetAddress in facetAddresses array\\n }\\n\\n struct DiamondStorage {\\n // maps function selector to the facet address and\\n // the position of the selector in the facetFunctionSelectors.selectors array\\n mapping(bytes4 => FacetAddressAndPosition) selectorToFacetAndPosition;\\n // maps facet addresses to function selectors\\n mapping(address => FacetFunctionSelectors) facetFunctionSelectors;\\n // facet addresses\\n address[] facetAddresses;\\n // Used to query if a contract implements an interface.\\n // Used to implement ERC-165.\\n mapping(bytes4 => bool) supportedInterfaces;\\n // owner of the contract\\n address contractOwner;\\n }\\n\\n function diamondStorage() internal pure returns (DiamondStorage storage ds) {\\n bytes32 position = DIAMOND_STORAGE_POSITION;\\n assembly {\\n ds.slot := position\\n }\\n }\\n\\n event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);\\n\\n function setContractOwner(address _newOwner) internal {\\n DiamondStorage storage ds = diamondStorage();\\n address previousOwner = ds.contractOwner;\\n ds.contractOwner = _newOwner;\\n emit OwnershipTransferred(previousOwner, _newOwner);\\n }\\n\\n function contractOwner() internal view returns (address contractOwner_) {\\n contractOwner_ = diamondStorage().contractOwner;\\n }\\n\\n function enforceIsContractOwner() internal view {\\n require(msg.sender == diamondStorage().contractOwner, \\\"LibDiamond: Must be contract owner\\\");\\n }\\n\\n event DiamondCut(IDiamondCut.FacetCut[] _diamondCut, address _init, bytes _calldata);\\n\\n // Internal function version of diamondCut\\n function diamondCut(\\n IDiamondCut.FacetCut[] memory _diamondCut,\\n address _init,\\n bytes memory _calldata\\n ) internal {\\n for (uint256 facetIndex; facetIndex < _diamondCut.length; facetIndex++) {\\n IDiamondCut.FacetCutAction action = _diamondCut[facetIndex].action;\\n if (action == IDiamondCut.FacetCutAction.Add) {\\n addFunctions(_diamondCut[facetIndex].facetAddress, _diamondCut[facetIndex].functionSelectors);\\n } else if (action == IDiamondCut.FacetCutAction.Replace) {\\n replaceFunctions(_diamondCut[facetIndex].facetAddress, _diamondCut[facetIndex].functionSelectors);\\n } else if (action == IDiamondCut.FacetCutAction.Remove) {\\n removeFunctions(_diamondCut[facetIndex].facetAddress, _diamondCut[facetIndex].functionSelectors);\\n } else {\\n revert(\\\"LibDiamondCut: Incorrect FacetCutAction\\\");\\n }\\n }\\n emit DiamondCut(_diamondCut, _init, _calldata);\\n initializeDiamondCut(_init, _calldata);\\n }\\n\\n function addFunctions(address _facetAddress, bytes4[] memory _functionSelectors) internal {\\n require(_functionSelectors.length > 0, \\\"LibDiamondCut: No selectors in facet to cut\\\");\\n DiamondStorage storage ds = diamondStorage(); \\n require(_facetAddress != address(0), \\\"LibDiamondCut: Add facet can't be address(0)\\\");\\n uint96 selectorPosition = uint96(ds.facetFunctionSelectors[_facetAddress].functionSelectors.length);\\n // add new facet address if it does not exist\\n if (selectorPosition == 0) {\\n addFacet(ds, _facetAddress); \\n }\\n for (uint256 selectorIndex; selectorIndex < _functionSelectors.length; selectorIndex++) {\\n bytes4 selector = _functionSelectors[selectorIndex];\\n address oldFacetAddress = ds.selectorToFacetAndPosition[selector].facetAddress;\\n require(oldFacetAddress == address(0), \\\"LibDiamondCut: Can't add function that already exists\\\");\\n addFunction(ds, selector, selectorPosition, _facetAddress);\\n selectorPosition++;\\n }\\n }\\n\\n function replaceFunctions(address _facetAddress, bytes4[] memory _functionSelectors) internal {\\n require(_functionSelectors.length > 0, \\\"LibDiamondCut: No selectors in facet to cut\\\");\\n DiamondStorage storage ds = diamondStorage();\\n require(_facetAddress != address(0), \\\"LibDiamondCut: Add facet can't be address(0)\\\");\\n uint96 selectorPosition = uint96(ds.facetFunctionSelectors[_facetAddress].functionSelectors.length);\\n // add new facet address if it does not exist\\n if (selectorPosition == 0) {\\n addFacet(ds, _facetAddress);\\n }\\n for (uint256 selectorIndex; selectorIndex < _functionSelectors.length; selectorIndex++) {\\n bytes4 selector = _functionSelectors[selectorIndex];\\n address oldFacetAddress = ds.selectorToFacetAndPosition[selector].facetAddress;\\n require(oldFacetAddress != _facetAddress, \\\"LibDiamondCut: Can't replace function with same function\\\");\\n removeFunction(ds, oldFacetAddress, selector);\\n addFunction(ds, selector, selectorPosition, _facetAddress);\\n selectorPosition++;\\n }\\n }\\n\\n function removeFunctions(address _facetAddress, bytes4[] memory _functionSelectors) internal {\\n require(_functionSelectors.length > 0, \\\"LibDiamondCut: No selectors in facet to cut\\\");\\n DiamondStorage storage ds = diamondStorage();\\n // if function does not exist then do nothing and return\\n require(_facetAddress == address(0), \\\"LibDiamondCut: Remove facet address must be address(0)\\\");\\n for (uint256 selectorIndex; selectorIndex < _functionSelectors.length; selectorIndex++) {\\n bytes4 selector = _functionSelectors[selectorIndex];\\n address oldFacetAddress = ds.selectorToFacetAndPosition[selector].facetAddress;\\n removeFunction(ds, oldFacetAddress, selector);\\n }\\n }\\n\\n function addFacet(DiamondStorage storage ds, address _facetAddress) internal {\\n enforceHasContractCode(_facetAddress, \\\"LibDiamondCut: New facet has no code\\\");\\n ds.facetFunctionSelectors[_facetAddress].facetAddressPosition = ds.facetAddresses.length;\\n ds.facetAddresses.push(_facetAddress);\\n } \\n\\n\\n function addFunction(DiamondStorage storage ds, bytes4 _selector, uint96 _selectorPosition, address _facetAddress) internal {\\n ds.selectorToFacetAndPosition[_selector].functionSelectorPosition = _selectorPosition;\\n ds.facetFunctionSelectors[_facetAddress].functionSelectors.push(_selector);\\n ds.selectorToFacetAndPosition[_selector].facetAddress = _facetAddress;\\n }\\n\\n function removeFunction(DiamondStorage storage ds, address _facetAddress, bytes4 _selector) internal { \\n require(_facetAddress != address(0), \\\"LibDiamondCut: Can't remove function that doesn't exist\\\");\\n // an immutable function is a function defined directly in a diamond\\n require(_facetAddress != address(this), \\\"LibDiamondCut: Can't remove immutable function\\\");\\n // replace selector with last selector, then delete last selector\\n uint256 selectorPosition = ds.selectorToFacetAndPosition[_selector].functionSelectorPosition;\\n uint256 lastSelectorPosition = ds.facetFunctionSelectors[_facetAddress].functionSelectors.length - 1;\\n // if not the same then replace _selector with lastSelector\\n if (selectorPosition != lastSelectorPosition) {\\n bytes4 lastSelector = ds.facetFunctionSelectors[_facetAddress].functionSelectors[lastSelectorPosition];\\n ds.facetFunctionSelectors[_facetAddress].functionSelectors[selectorPosition] = lastSelector;\\n ds.selectorToFacetAndPosition[lastSelector].functionSelectorPosition = uint96(selectorPosition);\\n }\\n // delete the last selector\\n ds.facetFunctionSelectors[_facetAddress].functionSelectors.pop();\\n delete ds.selectorToFacetAndPosition[_selector];\\n\\n // if no more selectors for facet address then delete the facet address\\n if (lastSelectorPosition == 0) {\\n // replace facet address with last facet address and delete last facet address\\n uint256 lastFacetAddressPosition = ds.facetAddresses.length - 1;\\n uint256 facetAddressPosition = ds.facetFunctionSelectors[_facetAddress].facetAddressPosition;\\n if (facetAddressPosition != lastFacetAddressPosition) {\\n address lastFacetAddress = ds.facetAddresses[lastFacetAddressPosition];\\n ds.facetAddresses[facetAddressPosition] = lastFacetAddress;\\n ds.facetFunctionSelectors[lastFacetAddress].facetAddressPosition = facetAddressPosition;\\n }\\n ds.facetAddresses.pop();\\n delete ds.facetFunctionSelectors[_facetAddress].facetAddressPosition;\\n }\\n }\\n\\n function initializeDiamondCut(address _init, bytes memory _calldata) internal {\\n if (_init == address(0)) {\\n require(_calldata.length == 0, \\\"LibDiamondCut: _init is address(0) but_calldata is not empty\\\");\\n } else {\\n require(_calldata.length > 0, \\\"LibDiamondCut: _calldata is empty but _init is not address(0)\\\");\\n if (_init != address(this)) {\\n enforceHasContractCode(_init, \\\"LibDiamondCut: _init address has no code\\\");\\n }\\n (bool success, bytes memory error) = _init.delegatecall(_calldata);\\n if (!success) {\\n if (error.length > 0) {\\n // bubble up the error\\n revert(string(error));\\n } else {\\n revert(\\\"LibDiamondCut: _init function reverted\\\");\\n }\\n }\\n }\\n }\\n\\n function enforceHasContractCode(address _contract, string memory _errorMessage) internal view {\\n uint256 contractSize;\\n assembly {\\n contractSize := extcodesize(_contract)\\n }\\n require(contractSize > 0, _errorMessage);\\n }\\n}\\n\",\"keccak256\":\"0x2205345e83eb86f5281f159a9215a096cb6d404782619f9b8e9d7a4a46c32a37\",\"license\":\"MIT\"}},\"version\":1}", "storageLayout": { "storage": [], "types": null @@ -8464,6 +10072,6 @@ }, "version": 1 }, - "solcInput": "{\n \"language\": \"Solidity\",\n \"sources\": {\n \"solc_0.7/diamond/Diamantaire.sol\": {\n \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity ^0.7.1;\\npragma experimental ABIEncoderV2;\\n\\nimport \\\"./interfaces/IDiamondCut.sol\\\";\\nimport \\\"./Diamond.sol\\\";\\nimport \\\"./facets/DiamondCutFacet.sol\\\";\\nimport \\\"./facets/DiamondLoupeFacet.sol\\\";\\nimport \\\"./facets/OwnershipFacet.sol\\\";\\n\\ncontract Diamantaire {\\n event DiamondCreated(Diamond diamond);\\n\\n IDiamondCut.FacetCut[] internal _builtinDiamondCut;\\n\\n constructor() {\\n bytes4[] memory functionSelectors;\\n\\n // -------------------------------------------------------------------------\\n // adding diamondCut function\\n // -------------------------------------------------------------------------\\n DiamondCutFacet diamondCutFacet = new DiamondCutFacet();\\n\\n functionSelectors = new bytes4[](1);\\n functionSelectors[0] = DiamondCutFacet.diamondCut.selector;\\n _builtinDiamondCut.push(IDiamondCut.FacetCut({\\n facetAddress:address(diamondCutFacet),\\n action: IDiamondCut.FacetCutAction.Add,\\n functionSelectors: functionSelectors\\n }));\\n\\n\\n // -------------------------------------------------------------------------\\n // adding diamond loupe functions\\n // -------------------------------------------------------------------------\\n DiamondLoupeFacet diamondLoupeFacet = new DiamondLoupeFacet();\\n\\n functionSelectors = new bytes4[](5);\\n functionSelectors[0] = DiamondLoupeFacet.facetFunctionSelectors.selector;\\n functionSelectors[1] = DiamondLoupeFacet.facets.selector;\\n functionSelectors[2] = DiamondLoupeFacet.facetAddress.selector;\\n functionSelectors[3] = DiamondLoupeFacet.facetAddresses.selector;\\n functionSelectors[4] = DiamondLoupeFacet.supportsInterface.selector;\\n _builtinDiamondCut.push(IDiamondCut.FacetCut({\\n facetAddress:address(diamondLoupeFacet),\\n action: IDiamondCut.FacetCutAction.Add,\\n functionSelectors: functionSelectors\\n }));\\n\\n\\n // -------------------------------------------------------------------------\\n // adding ownership functions\\n // -------------------------------------------------------------------------\\n OwnershipFacet ownershipFacet = new OwnershipFacet();\\n\\n functionSelectors = new bytes4[](2);\\n functionSelectors[0] = OwnershipFacet.transferOwnership.selector;\\n functionSelectors[1] = OwnershipFacet.owner.selector;\\n _builtinDiamondCut.push(IDiamondCut.FacetCut({\\n facetAddress:address(ownershipFacet),\\n action: IDiamondCut.FacetCutAction.Add,\\n functionSelectors: functionSelectors\\n }));\\n }\\n\\n function createDiamond(\\n address owner,\\n IDiamondCut.FacetCut[] calldata _diamondCut,\\n bytes calldata data,\\n bytes32 salt\\n ) external payable returns (Diamond diamond) {\\n if (salt != 0x0000000000000000000000000000000000000000000000000000000000000000) {\\n salt = keccak256(abi.encodePacked(salt, owner));\\n diamond = new Diamond{value: msg.value, salt: salt}(\\n _builtinDiamondCut,\\n Diamond.DiamondArgs({owner:address(this)})\\n );\\n } else {\\n diamond = new Diamond{value: msg.value}(_builtinDiamondCut, Diamond.DiamondArgs({owner:address(this)}));\\n }\\n emit DiamondCreated(diamond);\\n\\n IDiamondCut(address(diamond)).diamondCut(_diamondCut, data.length > 0 ? address(diamond) : address(0), data);\\n IERC173(address(diamond)).transferOwnership(owner);\\n }\\n}\\n\"\n },\n \"solc_0.7/diamond/interfaces/IDiamondCut.sol\": {\n \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity ^0.7.6;\\npragma experimental ABIEncoderV2;\\n\\n/******************************************************************************\\\\\\n* Author: Nick Mudge (https://twitter.com/mudgen)\\n* EIP-2535 Diamond Standard: https://eips.ethereum.org/EIPS/eip-2535\\n/******************************************************************************/\\n\\ninterface IDiamondCut {\\n enum FacetCutAction {Add, Replace, Remove}\\n // Add=0, Replace=1, Remove=2\\n\\n struct FacetCut {\\n address facetAddress;\\n FacetCutAction action;\\n bytes4[] functionSelectors;\\n }\\n\\n /// @notice Add/replace/remove any number of functions and optionally execute\\n /// a function with delegatecall\\n /// @param _diamondCut Contains the facet addresses and function selectors\\n /// @param _init The address of the contract or facet to execute _calldata\\n /// @param _calldata A function call, including function selector and arguments\\n /// _calldata is executed with delegatecall on _init\\n function diamondCut(\\n FacetCut[] calldata _diamondCut,\\n address _init,\\n bytes calldata _calldata\\n ) external;\\n\\n event DiamondCut(FacetCut[] _diamondCut, address _init, bytes _calldata);\\n}\\n\"\n },\n \"solc_0.7/diamond/Diamond.sol\": {\n \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity ^0.7.6;\\npragma experimental ABIEncoderV2;\\n\\n/******************************************************************************\\\\\\n* Author: Nick Mudge (https://twitter.com/mudgen)\\n* EIP-2535 Diamond Standard: https://eips.ethereum.org/EIPS/eip-2535\\n* \\n* Implementation of a diamond.\\n/******************************************************************************/\\n\\nimport \\\"./libraries/LibDiamond.sol\\\";\\nimport \\\"./interfaces/IDiamondLoupe.sol\\\";\\nimport \\\"./interfaces/IDiamondCut.sol\\\";\\nimport \\\"./interfaces/IERC173.sol\\\";\\nimport \\\"./interfaces/IERC165.sol\\\";\\n\\ncontract Diamond {\\n // more arguments are added to this struct\\n // this avoids stack too deep errors\\n struct DiamondArgs {\\n address owner;\\n }\\n\\n constructor(IDiamondCut.FacetCut[] memory _diamondCut, DiamondArgs memory _args) payable {\\n LibDiamond.diamondCut(_diamondCut, address(0), new bytes(0));\\n LibDiamond.setContractOwner(_args.owner);\\n\\n LibDiamond.DiamondStorage storage ds = LibDiamond.diamondStorage();\\n\\n // adding ERC165 data\\n ds.supportedInterfaces[type(IERC165).interfaceId] = true;\\n ds.supportedInterfaces[type(IDiamondCut).interfaceId] = true;\\n ds.supportedInterfaces[type(IDiamondLoupe).interfaceId] = true;\\n ds.supportedInterfaces[type(IERC173).interfaceId] = true;\\n }\\n\\n // Find facet for function that is called and execute the\\n // function if a facet is found and return any value.\\n fallback() external payable {\\n LibDiamond.DiamondStorage storage ds;\\n bytes32 position = LibDiamond.DIAMOND_STORAGE_POSITION;\\n assembly {\\n ds.slot := position\\n }\\n address facet = ds.selectorToFacetAndPosition[msg.sig].facetAddress;\\n require(facet != address(0), \\\"Diamond: Function does not exist\\\");\\n assembly {\\n calldatacopy(0, 0, calldatasize())\\n let result := delegatecall(gas(), facet, 0, calldatasize(), 0, 0)\\n returndatacopy(0, 0, returndatasize())\\n switch result\\n case 0 {\\n revert(0, returndatasize())\\n }\\n default {\\n return(0, returndatasize())\\n }\\n }\\n }\\n\\n receive() external payable {}\\n}\\n\"\n },\n \"solc_0.7/diamond/facets/DiamondCutFacet.sol\": {\n \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity ^0.7.6;\\npragma experimental ABIEncoderV2;\\n\\n/******************************************************************************\\\\\\n* Author: Nick Mudge (https://twitter.com/mudgen)\\n* EIP-2535 Diamond Standard: https://eips.ethereum.org/EIPS/eip-2535\\n/******************************************************************************/\\n\\nimport \\\"../interfaces/IDiamondCut.sol\\\";\\nimport \\\"../libraries/LibDiamond.sol\\\";\\n\\ncontract DiamondCutFacet is IDiamondCut {\\n /// @notice Add/replace/remove any number of functions and optionally execute\\n /// a function with delegatecall\\n /// @param _diamondCut Contains the facet addresses and function selectors\\n /// @param _init The address of the contract or facet to execute _calldata\\n /// @param _calldata A function call, including function selector and arguments\\n /// _calldata is executed with delegatecall on _init\\n function diamondCut(\\n FacetCut[] calldata _diamondCut,\\n address _init,\\n bytes calldata _calldata\\n ) external override {\\n LibDiamond.enforceIsContractOwner();\\n LibDiamond.diamondCut(_diamondCut, _init, _calldata);\\n }\\n}\\n\"\n },\n \"solc_0.7/diamond/facets/DiamondLoupeFacet.sol\": {\n \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity ^0.7.6;\\npragma experimental ABIEncoderV2;\\n\\n/******************************************************************************\\\\\\n* Author: Nick Mudge (https://twitter.com/mudgen)\\n* EIP-2535 Diamond Standard: https://eips.ethereum.org/EIPS/eip-2535\\n/******************************************************************************/\\n\\nimport \\\"../libraries/LibDiamond.sol\\\";\\nimport \\\"../interfaces/IDiamondCut.sol\\\";\\nimport \\\"../interfaces/IDiamondLoupe.sol\\\";\\nimport \\\"../interfaces/IERC165.sol\\\";\\n\\ncontract DiamondLoupeFacet is IDiamondLoupe, IERC165 {\\n // Diamond Loupe Functions\\n ////////////////////////////////////////////////////////////////////\\n /// These functions are expected to be called frequently by tools.\\n //\\n // struct Facet {\\n // address facetAddress;\\n // bytes4[] functionSelectors;\\n // }\\n\\n /// @notice Gets all facets and their selectors.\\n /// @return facets_ Facet\\n function facets() external override view returns (Facet[] memory facets_) {\\n LibDiamond.DiamondStorage storage ds = LibDiamond.diamondStorage();\\n uint256 numFacets = ds.facetAddresses.length;\\n facets_ = new Facet[](numFacets);\\n for (uint256 i; i < numFacets; i++) {\\n address facetAddress_ = ds.facetAddresses[i];\\n facets_[i].facetAddress = facetAddress_;\\n facets_[i].functionSelectors = ds.facetFunctionSelectors[facetAddress_].functionSelectors;\\n }\\n }\\n\\n /// @notice Gets all the function selectors provided by a facet.\\n /// @param _facet The facet address.\\n /// @return facetFunctionSelectors_\\n function facetFunctionSelectors(address _facet) external override view returns (bytes4[] memory facetFunctionSelectors_) {\\n LibDiamond.DiamondStorage storage ds = LibDiamond.diamondStorage();\\n facetFunctionSelectors_ = ds.facetFunctionSelectors[_facet].functionSelectors;\\n }\\n\\n /// @notice Get all the facet addresses used by a diamond.\\n /// @return facetAddresses_\\n function facetAddresses() external override view returns (address[] memory facetAddresses_) {\\n LibDiamond.DiamondStorage storage ds = LibDiamond.diamondStorage();\\n facetAddresses_ = ds.facetAddresses;\\n }\\n\\n /// @notice Gets the facet that supports the given selector.\\n /// @dev If facet is not found return address(0).\\n /// @param _functionSelector The function selector.\\n /// @return facetAddress_ The facet address.\\n function facetAddress(bytes4 _functionSelector) external override view returns (address facetAddress_) {\\n LibDiamond.DiamondStorage storage ds = LibDiamond.diamondStorage();\\n facetAddress_ = ds.selectorToFacetAndPosition[_functionSelector].facetAddress;\\n }\\n\\n // This implements ERC-165.\\n function supportsInterface(bytes4 _interfaceId) external override view returns (bool) {\\n LibDiamond.DiamondStorage storage ds = LibDiamond.diamondStorage();\\n return ds.supportedInterfaces[_interfaceId];\\n }\\n}\\n\"\n },\n \"solc_0.7/diamond/facets/OwnershipFacet.sol\": {\n \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity ^0.7.6;\\n\\nimport \\\"../libraries/LibDiamond.sol\\\";\\nimport \\\"../interfaces/IERC173.sol\\\";\\n\\ncontract OwnershipFacet is IERC173 {\\n function transferOwnership(address _newOwner) external override {\\n LibDiamond.enforceIsContractOwner();\\n LibDiamond.setContractOwner(_newOwner);\\n }\\n\\n function owner() external override view returns (address owner_) {\\n owner_ = LibDiamond.contractOwner();\\n }\\n}\\n\"\n },\n \"solc_0.7/diamond/libraries/LibDiamond.sol\": {\n \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity ^0.7.6;\\npragma experimental ABIEncoderV2;\\n\\n/******************************************************************************\\\\\\n* Author: Nick Mudge (https://twitter.com/mudgen)\\n* EIP-2535 Diamond Standard: https://eips.ethereum.org/EIPS/eip-2535\\n/******************************************************************************/\\n\\nimport \\\"../interfaces/IDiamondCut.sol\\\";\\n\\nlibrary LibDiamond {\\n bytes32 constant DIAMOND_STORAGE_POSITION = keccak256(\\\"diamond.standard.diamond.storage\\\");\\n\\n struct FacetAddressAndPosition {\\n address facetAddress;\\n uint16 functionSelectorPosition; // position in facetFunctionSelectors.functionSelectors array\\n }\\n\\n struct FacetFunctionSelectors {\\n bytes4[] functionSelectors;\\n uint16 facetAddressPosition; // position of facetAddress in facetAddresses array\\n }\\n\\n struct DiamondStorage {\\n // maps function selector to the facet address and\\n // the position of the selector in the facetFunctionSelectors.selectors array\\n mapping(bytes4 => FacetAddressAndPosition) selectorToFacetAndPosition;\\n // maps facet addresses to function selectors\\n mapping(address => FacetFunctionSelectors) facetFunctionSelectors;\\n // facet addresses\\n address[] facetAddresses;\\n // Used to query if a contract implements an interface.\\n // Used to implement ERC-165.\\n mapping(bytes4 => bool) supportedInterfaces;\\n // owner of the contract\\n address contractOwner;\\n }\\n\\n function diamondStorage() internal pure returns (DiamondStorage storage ds) {\\n bytes32 position = DIAMOND_STORAGE_POSITION;\\n assembly {\\n ds.slot := position\\n }\\n }\\n\\n event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);\\n\\n function setContractOwner(address _newOwner) internal {\\n DiamondStorage storage ds = diamondStorage();\\n address previousOwner = ds.contractOwner;\\n ds.contractOwner = _newOwner;\\n emit OwnershipTransferred(previousOwner, _newOwner);\\n }\\n\\n function contractOwner() internal view returns (address contractOwner_) {\\n contractOwner_ = diamondStorage().contractOwner;\\n }\\n\\n function enforceIsContractOwner() internal view {\\n require(msg.sender == diamondStorage().contractOwner, \\\"LibDiamond: Must be contract owner\\\");\\n }\\n\\n event DiamondCut(IDiamondCut.FacetCut[] _diamondCut, address _init, bytes _calldata);\\n\\n // Internal function version of diamondCut\\n function diamondCut(\\n IDiamondCut.FacetCut[] memory _diamondCut,\\n address _init,\\n bytes memory _calldata\\n ) internal {\\n for (uint256 facetIndex; facetIndex < _diamondCut.length; facetIndex++) {\\n IDiamondCut.FacetCutAction action = _diamondCut[facetIndex].action;\\n if (action == IDiamondCut.FacetCutAction.Add) {\\n addFunctions(_diamondCut[facetIndex].facetAddress, _diamondCut[facetIndex].functionSelectors);\\n } else if (action == IDiamondCut.FacetCutAction.Replace) {\\n replaceFunctions(_diamondCut[facetIndex].facetAddress, _diamondCut[facetIndex].functionSelectors);\\n } else if (action == IDiamondCut.FacetCutAction.Remove) {\\n removeFunctions(_diamondCut[facetIndex].facetAddress, _diamondCut[facetIndex].functionSelectors);\\n } else {\\n revert(\\\"LibDiamondCut: Incorrect FacetCutAction\\\");\\n }\\n }\\n emit DiamondCut(_diamondCut, _init, _calldata);\\n initializeDiamondCut(_init, _calldata);\\n }\\n\\n function addFunctions(address _facetAddress, bytes4[] memory _functionSelectors) internal {\\n require(_functionSelectors.length > 0, \\\"LibDiamondCut: No selectors in facet to cut\\\");\\n DiamondStorage storage ds = diamondStorage();\\n // uint16 selectorCount = uint16(diamondStorage().selectors.length);\\n require(_facetAddress != address(0), \\\"LibDiamondCut: Add facet can't be address(0)\\\");\\n uint16 selectorPosition = uint16(ds.facetFunctionSelectors[_facetAddress].functionSelectors.length);\\n // add new facet address if it does not exist\\n if (selectorPosition == 0) {\\n enforceHasContractCode(_facetAddress, \\\"LibDiamondCut: New facet has no code\\\");\\n ds.facetFunctionSelectors[_facetAddress].facetAddressPosition = uint16(ds.facetAddresses.length);\\n ds.facetAddresses.push(_facetAddress);\\n }\\n for (uint256 selectorIndex; selectorIndex < _functionSelectors.length; selectorIndex++) {\\n bytes4 selector = _functionSelectors[selectorIndex];\\n address oldFacetAddress = ds.selectorToFacetAndPosition[selector].facetAddress;\\n require(oldFacetAddress == address(0), \\\"LibDiamondCut: Can't add function that already exists\\\");\\n ds.facetFunctionSelectors[_facetAddress].functionSelectors.push(selector);\\n ds.selectorToFacetAndPosition[selector].facetAddress = _facetAddress;\\n ds.selectorToFacetAndPosition[selector].functionSelectorPosition = selectorPosition;\\n selectorPosition++;\\n }\\n }\\n\\n function replaceFunctions(address _facetAddress, bytes4[] memory _functionSelectors) internal {\\n require(_functionSelectors.length > 0, \\\"LibDiamondCut: No selectors in facet to cut\\\");\\n DiamondStorage storage ds = diamondStorage();\\n require(_facetAddress != address(0), \\\"LibDiamondCut: Add facet can't be address(0)\\\");\\n uint16 selectorPosition = uint16(ds.facetFunctionSelectors[_facetAddress].functionSelectors.length);\\n // add new facet address if it does not exist\\n if (selectorPosition == 0) {\\n enforceHasContractCode(_facetAddress, \\\"LibDiamondCut: New facet has no code\\\");\\n ds.facetFunctionSelectors[_facetAddress].facetAddressPosition = uint16(ds.facetAddresses.length);\\n ds.facetAddresses.push(_facetAddress);\\n }\\n for (uint256 selectorIndex; selectorIndex < _functionSelectors.length; selectorIndex++) {\\n bytes4 selector = _functionSelectors[selectorIndex];\\n address oldFacetAddress = ds.selectorToFacetAndPosition[selector].facetAddress;\\n require(oldFacetAddress != _facetAddress, \\\"LibDiamondCut: Can't replace function with same function\\\");\\n removeFunction(oldFacetAddress, selector);\\n // add function\\n ds.selectorToFacetAndPosition[selector].functionSelectorPosition = selectorPosition;\\n ds.facetFunctionSelectors[_facetAddress].functionSelectors.push(selector);\\n ds.selectorToFacetAndPosition[selector].facetAddress = _facetAddress;\\n selectorPosition++;\\n }\\n }\\n\\n function removeFunctions(address _facetAddress, bytes4[] memory _functionSelectors) internal {\\n require(_functionSelectors.length > 0, \\\"LibDiamondCut: No selectors in facet to cut\\\");\\n DiamondStorage storage ds = diamondStorage();\\n // if function does not exist then do nothing and return\\n require(_facetAddress == address(0), \\\"LibDiamondCut: Remove facet address must be address(0)\\\");\\n for (uint256 selectorIndex; selectorIndex < _functionSelectors.length; selectorIndex++) {\\n bytes4 selector = _functionSelectors[selectorIndex];\\n address oldFacetAddress = ds.selectorToFacetAndPosition[selector].facetAddress;\\n removeFunction(oldFacetAddress, selector);\\n }\\n }\\n\\n function removeFunction(address _facetAddress, bytes4 _selector) internal {\\n DiamondStorage storage ds = diamondStorage();\\n require(_facetAddress != address(0), \\\"LibDiamondCut: Can't remove function that doesn't exist\\\");\\n // an immutable function is a function defined directly in a diamond\\n require(_facetAddress != address(this), \\\"LibDiamondCut: Can't remove immutable function\\\");\\n // replace selector with last selector, then delete last selector\\n uint256 selectorPosition = ds.selectorToFacetAndPosition[_selector].functionSelectorPosition;\\n uint256 lastSelectorPosition = ds.facetFunctionSelectors[_facetAddress].functionSelectors.length - 1;\\n // if not the same then replace _selector with lastSelector\\n if (selectorPosition != lastSelectorPosition) {\\n bytes4 lastSelector = ds.facetFunctionSelectors[_facetAddress].functionSelectors[lastSelectorPosition];\\n ds.facetFunctionSelectors[_facetAddress].functionSelectors[selectorPosition] = lastSelector;\\n ds.selectorToFacetAndPosition[lastSelector].functionSelectorPosition = uint16(selectorPosition);\\n }\\n // delete the last selector\\n ds.facetFunctionSelectors[_facetAddress].functionSelectors.pop();\\n delete ds.selectorToFacetAndPosition[_selector];\\n\\n // if no more selectors for facet address then delete the facet address\\n if (lastSelectorPosition == 0) {\\n // replace facet address with last facet address and delete last facet address\\n uint256 lastFacetAddressPosition = ds.facetAddresses.length - 1;\\n uint256 facetAddressPosition = ds.facetFunctionSelectors[_facetAddress].facetAddressPosition;\\n if (facetAddressPosition != lastFacetAddressPosition) {\\n address lastFacetAddress = ds.facetAddresses[lastFacetAddressPosition];\\n ds.facetAddresses[facetAddressPosition] = lastFacetAddress;\\n ds.facetFunctionSelectors[lastFacetAddress].facetAddressPosition = uint16(facetAddressPosition);\\n }\\n ds.facetAddresses.pop();\\n delete ds.facetFunctionSelectors[_facetAddress].facetAddressPosition;\\n }\\n }\\n\\n function initializeDiamondCut(address _init, bytes memory _calldata) internal {\\n if (_init == address(0)) {\\n require(_calldata.length == 0, \\\"LibDiamondCut: _init is address(0) but_calldata is not empty\\\");\\n } else {\\n require(_calldata.length > 0, \\\"LibDiamondCut: _calldata is empty but _init is not address(0)\\\");\\n if (_init != address(this)) {\\n enforceHasContractCode(_init, \\\"LibDiamondCut: _init address has no code\\\");\\n }\\n (bool success, bytes memory error) = _init.delegatecall(_calldata);\\n if (!success) {\\n if (error.length > 0) {\\n // bubble up the error\\n revert(string(error));\\n } else {\\n revert(\\\"LibDiamondCut: _init function reverted\\\");\\n }\\n }\\n }\\n }\\n\\n function enforceHasContractCode(address _contract, string memory _errorMessage) internal view {\\n uint256 contractSize;\\n assembly {\\n contractSize := extcodesize(_contract)\\n }\\n require(contractSize > 0, _errorMessage);\\n }\\n}\\n\"\n },\n \"solc_0.7/diamond/interfaces/IDiamondLoupe.sol\": {\n \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity ^0.7.6;\\npragma experimental ABIEncoderV2;\\n\\n/******************************************************************************\\\\\\n* Author: Nick Mudge (https://twitter.com/mudgen)\\n* EIP-2535 Diamond Standard: https://eips.ethereum.org/EIPS/eip-2535\\n/******************************************************************************/\\n\\n// A loupe is a small magnifying glass used to look at diamonds.\\n// These functions look at diamonds\\ninterface IDiamondLoupe {\\n /// These functions are expected to be called frequently\\n /// by tools.\\n\\n struct Facet {\\n address facetAddress;\\n bytes4[] functionSelectors;\\n }\\n\\n /// @notice Gets all facet addresses and their four byte function selectors.\\n /// @return facets_ Facet\\n function facets() external view returns (Facet[] memory facets_);\\n\\n /// @notice Gets all the function selectors supported by a specific facet.\\n /// @param _facet The facet address.\\n /// @return facetFunctionSelectors_\\n function facetFunctionSelectors(address _facet) external view returns (bytes4[] memory facetFunctionSelectors_);\\n\\n /// @notice Get all the facet addresses used by a diamond.\\n /// @return facetAddresses_\\n function facetAddresses() external view returns (address[] memory facetAddresses_);\\n\\n /// @notice Gets the facet that supports the given selector.\\n /// @dev If facet is not found return address(0).\\n /// @param _functionSelector The function selector.\\n /// @return facetAddress_ The facet address.\\n function facetAddress(bytes4 _functionSelector) external view returns (address facetAddress_);\\n}\\n\"\n },\n \"solc_0.7/diamond/interfaces/IERC173.sol\": {\n \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity ^0.7.6;\\n\\n/// @title ERC-173 Contract Ownership Standard\\n/// Note: the ERC-165 identifier for this interface is 0x7f5828d0\\n/* is ERC165 */\\ninterface IERC173 {\\n /// @dev This emits when ownership of a contract changes.\\n event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);\\n\\n /// @notice Get the address of the owner\\n /// @return owner_ The address of the owner.\\n function owner() external view returns (address owner_);\\n\\n /// @notice Set the address of the new owner of the contract\\n /// @dev Set _newOwner to address(0) to renounce any ownership.\\n /// @param _newOwner The address of the new owner of the contract\\n function transferOwnership(address _newOwner) external;\\n}\\n\"\n },\n \"solc_0.7/diamond/interfaces/IERC165.sol\": {\n \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity ^0.7.6;\\npragma experimental ABIEncoderV2;\\n\\ninterface IERC165 {\\n /// @notice Query if a contract implements an interface\\n /// @param interfaceId The interface identifier, as specified in ERC-165\\n /// @dev Interface identification is specified in ERC-165. This function\\n /// uses less than 30,000 gas.\\n /// @return `true` if the contract implements `interfaceID` and\\n /// `interfaceID` is not 0xffffffff, `false` otherwise\\n function supportsInterface(bytes4 interfaceId) external view returns (bool);\\n}\\n\"\n }\n },\n \"settings\": {\n \"optimizer\": {\n \"enabled\": true,\n \"runs\": 999999\n },\n \"outputSelection\": {\n \"*\": {\n \"*\": [\n \"abi\",\n \"evm.bytecode\",\n \"evm.deployedBytecode\",\n \"evm.methodIdentifiers\",\n \"metadata\",\n \"devdoc\",\n \"userdoc\",\n \"storageLayout\",\n \"evm.gasEstimates\"\n ],\n \"\": [\n \"ast\"\n ]\n }\n },\n \"metadata\": {\n \"useLiteralContent\": true\n }\n }\n}", - "solcInputHash": "1d060b65b8264d57d416f20cb1fe798a" + "solcInput": "{\n \"language\": \"Solidity\",\n \"sources\": {\n \"solc_0.8/diamond/Diamantaire.sol\": {\n \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.0;\\npragma experimental ABIEncoderV2;\\n\\nimport \\\"./interfaces/IDiamondCut.sol\\\";\\nimport \\\"./Diamond.sol\\\";\\nimport \\\"./facets/DiamondCutFacet.sol\\\";\\nimport \\\"./facets/DiamondLoupeFacet.sol\\\";\\nimport \\\"./facets/OwnershipFacet.sol\\\";\\n\\ncontract Diamantaire {\\n event DiamondCreated(Diamond diamond);\\n\\n IDiamondCut.FacetCut[] internal _builtinDiamondCut;\\n\\n constructor() {\\n bytes4[] memory functionSelectors;\\n\\n // -------------------------------------------------------------------------\\n // adding diamondCut function\\n // -------------------------------------------------------------------------\\n DiamondCutFacet diamondCutFacet = new DiamondCutFacet();\\n\\n functionSelectors = new bytes4[](1);\\n functionSelectors[0] = DiamondCutFacet.diamondCut.selector;\\n _builtinDiamondCut.push(IDiamondCut.FacetCut({\\n facetAddress:address(diamondCutFacet),\\n action: IDiamondCut.FacetCutAction.Add,\\n functionSelectors: functionSelectors\\n }));\\n\\n\\n // -------------------------------------------------------------------------\\n // adding diamond loupe functions\\n // -------------------------------------------------------------------------\\n DiamondLoupeFacet diamondLoupeFacet = new DiamondLoupeFacet();\\n\\n functionSelectors = new bytes4[](5);\\n functionSelectors[0] = DiamondLoupeFacet.facetFunctionSelectors.selector;\\n functionSelectors[1] = DiamondLoupeFacet.facets.selector;\\n functionSelectors[2] = DiamondLoupeFacet.facetAddress.selector;\\n functionSelectors[3] = DiamondLoupeFacet.facetAddresses.selector;\\n functionSelectors[4] = DiamondLoupeFacet.supportsInterface.selector;\\n _builtinDiamondCut.push(IDiamondCut.FacetCut({\\n facetAddress:address(diamondLoupeFacet),\\n action: IDiamondCut.FacetCutAction.Add,\\n functionSelectors: functionSelectors\\n }));\\n\\n\\n // -------------------------------------------------------------------------\\n // adding ownership functions\\n // -------------------------------------------------------------------------\\n OwnershipFacet ownershipFacet = new OwnershipFacet();\\n\\n functionSelectors = new bytes4[](2);\\n functionSelectors[0] = OwnershipFacet.transferOwnership.selector;\\n functionSelectors[1] = OwnershipFacet.owner.selector;\\n _builtinDiamondCut.push(IDiamondCut.FacetCut({\\n facetAddress:address(ownershipFacet),\\n action: IDiamondCut.FacetCutAction.Add,\\n functionSelectors: functionSelectors\\n }));\\n }\\n\\n function createDiamond(\\n address owner,\\n IDiamondCut.FacetCut[] calldata _diamondCut,\\n bytes calldata data,\\n bytes32 salt\\n ) external payable returns (Diamond diamond) {\\n if (salt != 0x0000000000000000000000000000000000000000000000000000000000000000) {\\n salt = keccak256(abi.encodePacked(salt, owner));\\n diamond = new Diamond{value: msg.value, salt: salt}(\\n _builtinDiamondCut,\\n Diamond.DiamondArgs({owner:address(this)})\\n );\\n } else {\\n diamond = new Diamond{value: msg.value}(_builtinDiamondCut, Diamond.DiamondArgs({owner:address(this)}));\\n }\\n emit DiamondCreated(diamond);\\n\\n IDiamondCut(address(diamond)).diamondCut(_diamondCut, data.length > 0 ? address(diamond) : address(0), data);\\n IERC173(address(diamond)).transferOwnership(owner);\\n }\\n}\\n\"\n },\n \"solc_0.8/diamond/interfaces/IDiamondCut.sol\": {\n \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.0;\\n\\n/******************************************************************************\\\\\\n* Author: Nick Mudge (https://twitter.com/mudgen)\\n* EIP-2535 Diamonds: https://eips.ethereum.org/EIPS/eip-2535\\n/******************************************************************************/\\n\\ninterface IDiamondCut {\\n enum FacetCutAction {Add, Replace, Remove}\\n // Add=0, Replace=1, Remove=2\\n\\n struct FacetCut {\\n address facetAddress;\\n FacetCutAction action;\\n bytes4[] functionSelectors;\\n }\\n\\n /// @notice Add/replace/remove any number of functions and optionally execute\\n /// a function with delegatecall\\n /// @param _diamondCut Contains the facet addresses and function selectors\\n /// @param _init The address of the contract or facet to execute _calldata\\n /// @param _calldata A function call, including function selector and arguments\\n /// _calldata is executed with delegatecall on _init\\n function diamondCut(\\n FacetCut[] calldata _diamondCut,\\n address _init,\\n bytes calldata _calldata\\n ) external;\\n\\n event DiamondCut(FacetCut[] _diamondCut, address _init, bytes _calldata);\\n}\\n\"\n },\n \"solc_0.8/diamond/Diamond.sol\": {\n \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.0;\\n\\n/******************************************************************************\\\\\\n* Author: Nick Mudge (https://twitter.com/mudgen)\\n* EIP-2535 Diamonds: https://eips.ethereum.org/EIPS/eip-2535\\n*\\n* Implementation of a diamond.\\n/******************************************************************************/\\n\\nimport { LibDiamond } from \\\"./libraries/LibDiamond.sol\\\";\\nimport { IDiamondCut } from \\\"./interfaces/IDiamondCut.sol\\\";\\nimport { IDiamondLoupe } from \\\"./interfaces/IDiamondLoupe.sol\\\";\\nimport { IERC173 } from \\\"./interfaces/IERC173.sol\\\";\\nimport { IERC165 } from \\\"./interfaces/IERC165.sol\\\";\\n\\ncontract Diamond {\\n // more arguments are added to this struct\\n // this avoids stack too deep errors\\n struct DiamondArgs {\\n address owner;\\n }\\n\\n constructor(IDiamondCut.FacetCut[] memory _diamondCut, DiamondArgs memory _args) payable {\\n LibDiamond.diamondCut(_diamondCut, address(0), new bytes(0));\\n LibDiamond.setContractOwner(_args.owner);\\n\\n LibDiamond.DiamondStorage storage ds = LibDiamond.diamondStorage();\\n\\n // adding ERC165 data\\n ds.supportedInterfaces[type(IERC165).interfaceId] = true;\\n ds.supportedInterfaces[type(IDiamondCut).interfaceId] = true;\\n ds.supportedInterfaces[type(IDiamondLoupe).interfaceId] = true;\\n ds.supportedInterfaces[type(IERC173).interfaceId] = true;\\n }\\n\\n// constructor(address _contractOwner, address _diamondCutFacet) payable {\\n// LibDiamond.setContractOwner(_contractOwner);\\n//\\n// // Add the diamondCut external function from the diamondCutFacet\\n// IDiamondCut.FacetCut[] memory cut = new IDiamondCut.FacetCut[](1);\\n// bytes4[] memory functionSelectors = new bytes4[](1);\\n// functionSelectors[0] = IDiamondCut.diamondCut.selector;\\n// cut[0] = IDiamondCut.FacetCut({\\n// facetAddress: _diamondCutFacet,\\n// action: IDiamondCut.FacetCutAction.Add,\\n// functionSelectors: functionSelectors\\n// });\\n// LibDiamond.diamondCut(cut, address(0), \\\"\\\");\\n// }\\n\\n // Find facet for function that is called and execute the\\n // function if a facet is found and return any value.\\n fallback() external payable {\\n LibDiamond.DiamondStorage storage ds;\\n bytes32 position = LibDiamond.DIAMOND_STORAGE_POSITION;\\n // get diamond storage\\n assembly {\\n ds.slot := position\\n }\\n // get facet from function selector\\n address facet = ds.selectorToFacetAndPosition[msg.sig].facetAddress;\\n require(facet != address(0), \\\"Diamond: Function does not exist\\\");\\n // Execute external function from facet using delegatecall and return any value.\\n assembly {\\n // copy function selector and any arguments\\n calldatacopy(0, 0, calldatasize())\\n // execute function call using the facet\\n let result := delegatecall(gas(), facet, 0, calldatasize(), 0, 0)\\n // get any return value\\n returndatacopy(0, 0, returndatasize())\\n // return any return value or error back to the caller\\n switch result\\n case 0 {\\n revert(0, returndatasize())\\n }\\n default {\\n return(0, returndatasize())\\n }\\n }\\n }\\n\\n receive() external payable {}\\n}\\n\"\n },\n \"solc_0.8/diamond/facets/DiamondCutFacet.sol\": {\n \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.0;\\n\\n/******************************************************************************\\\\\\n* Author: Nick Mudge (https://twitter.com/mudgen)\\n* EIP-2535 Diamonds: https://eips.ethereum.org/EIPS/eip-2535\\n/******************************************************************************/\\n\\nimport { IDiamondCut } from \\\"../interfaces/IDiamondCut.sol\\\";\\nimport { LibDiamond } from \\\"../libraries/LibDiamond.sol\\\";\\n\\ncontract DiamondCutFacet is IDiamondCut {\\n /// @notice Add/replace/remove any number of functions and optionally execute\\n /// a function with delegatecall\\n /// @param _diamondCut Contains the facet addresses and function selectors\\n /// @param _init The address of the contract or facet to execute _calldata\\n /// @param _calldata A function call, including function selector and arguments\\n /// _calldata is executed with delegatecall on _init\\n function diamondCut(\\n FacetCut[] calldata _diamondCut,\\n address _init,\\n bytes calldata _calldata\\n ) external override {\\n LibDiamond.enforceIsContractOwner();\\n LibDiamond.diamondCut(_diamondCut, _init, _calldata);\\n }\\n}\\n\"\n },\n \"solc_0.8/diamond/facets/DiamondLoupeFacet.sol\": {\n \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.0;\\n/******************************************************************************\\\\\\n* Author: Nick Mudge (https://twitter.com/mudgen)\\n* EIP-2535 Diamonds: https://eips.ethereum.org/EIPS/eip-2535\\n/******************************************************************************/\\n\\nimport { LibDiamond } from \\\"../libraries/LibDiamond.sol\\\";\\nimport { IDiamondLoupe } from \\\"../interfaces/IDiamondLoupe.sol\\\";\\nimport { IERC165 } from \\\"../interfaces/IERC165.sol\\\";\\n\\ncontract DiamondLoupeFacet is IDiamondLoupe, IERC165 {\\n // Diamond Loupe Functions\\n ////////////////////////////////////////////////////////////////////\\n /// These functions are expected to be called frequently by tools.\\n //\\n // struct Facet {\\n // address facetAddress;\\n // bytes4[] functionSelectors;\\n // }\\n\\n /// @notice Gets all facets and their selectors.\\n /// @return facets_ Facet\\n function facets() external override view returns (Facet[] memory facets_) {\\n LibDiamond.DiamondStorage storage ds = LibDiamond.diamondStorage();\\n uint256 numFacets = ds.facetAddresses.length;\\n facets_ = new Facet[](numFacets);\\n for (uint256 i; i < numFacets; i++) {\\n address facetAddress_ = ds.facetAddresses[i];\\n facets_[i].facetAddress = facetAddress_;\\n facets_[i].functionSelectors = ds.facetFunctionSelectors[facetAddress_].functionSelectors;\\n }\\n }\\n\\n /// @notice Gets all the function selectors provided by a facet.\\n /// @param _facet The facet address.\\n /// @return facetFunctionSelectors_\\n function facetFunctionSelectors(address _facet) external override view returns (bytes4[] memory facetFunctionSelectors_) {\\n LibDiamond.DiamondStorage storage ds = LibDiamond.diamondStorage();\\n facetFunctionSelectors_ = ds.facetFunctionSelectors[_facet].functionSelectors;\\n }\\n\\n /// @notice Get all the facet addresses used by a diamond.\\n /// @return facetAddresses_\\n function facetAddresses() external override view returns (address[] memory facetAddresses_) {\\n LibDiamond.DiamondStorage storage ds = LibDiamond.diamondStorage();\\n facetAddresses_ = ds.facetAddresses;\\n }\\n\\n /// @notice Gets the facet that supports the given selector.\\n /// @dev If facet is not found return address(0).\\n /// @param _functionSelector The function selector.\\n /// @return facetAddress_ The facet address.\\n function facetAddress(bytes4 _functionSelector) external override view returns (address facetAddress_) {\\n LibDiamond.DiamondStorage storage ds = LibDiamond.diamondStorage();\\n facetAddress_ = ds.selectorToFacetAndPosition[_functionSelector].facetAddress;\\n }\\n\\n // This implements ERC-165.\\n function supportsInterface(bytes4 _interfaceId) external override view returns (bool) {\\n LibDiamond.DiamondStorage storage ds = LibDiamond.diamondStorage();\\n return ds.supportedInterfaces[_interfaceId];\\n }\\n}\\n\"\n },\n \"solc_0.8/diamond/facets/OwnershipFacet.sol\": {\n \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.0;\\n\\nimport { LibDiamond } from \\\"../libraries/LibDiamond.sol\\\";\\nimport { IERC173 } from \\\"../interfaces/IERC173.sol\\\";\\n\\ncontract OwnershipFacet is IERC173 {\\n function transferOwnership(address _newOwner) external override {\\n LibDiamond.enforceIsContractOwner();\\n LibDiamond.setContractOwner(_newOwner);\\n }\\n\\n function owner() external override view returns (address owner_) {\\n owner_ = LibDiamond.contractOwner();\\n }\\n}\\n\"\n },\n \"solc_0.8/diamond/libraries/LibDiamond.sol\": {\n \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.0;\\n\\n/******************************************************************************\\\\\\n* Author: Nick Mudge (https://twitter.com/mudgen)\\n* EIP-2535 Diamonds: https://eips.ethereum.org/EIPS/eip-2535\\n/******************************************************************************/\\nimport { IDiamondCut } from \\\"../interfaces/IDiamondCut.sol\\\";\\n\\nlibrary LibDiamond {\\n bytes32 constant DIAMOND_STORAGE_POSITION = keccak256(\\\"diamond.standard.diamond.storage\\\");\\n\\n struct FacetAddressAndPosition {\\n address facetAddress;\\n uint96 functionSelectorPosition; // position in facetFunctionSelectors.functionSelectors array\\n }\\n\\n struct FacetFunctionSelectors {\\n bytes4[] functionSelectors;\\n uint256 facetAddressPosition; // position of facetAddress in facetAddresses array\\n }\\n\\n struct DiamondStorage {\\n // maps function selector to the facet address and\\n // the position of the selector in the facetFunctionSelectors.selectors array\\n mapping(bytes4 => FacetAddressAndPosition) selectorToFacetAndPosition;\\n // maps facet addresses to function selectors\\n mapping(address => FacetFunctionSelectors) facetFunctionSelectors;\\n // facet addresses\\n address[] facetAddresses;\\n // Used to query if a contract implements an interface.\\n // Used to implement ERC-165.\\n mapping(bytes4 => bool) supportedInterfaces;\\n // owner of the contract\\n address contractOwner;\\n }\\n\\n function diamondStorage() internal pure returns (DiamondStorage storage ds) {\\n bytes32 position = DIAMOND_STORAGE_POSITION;\\n assembly {\\n ds.slot := position\\n }\\n }\\n\\n event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);\\n\\n function setContractOwner(address _newOwner) internal {\\n DiamondStorage storage ds = diamondStorage();\\n address previousOwner = ds.contractOwner;\\n ds.contractOwner = _newOwner;\\n emit OwnershipTransferred(previousOwner, _newOwner);\\n }\\n\\n function contractOwner() internal view returns (address contractOwner_) {\\n contractOwner_ = diamondStorage().contractOwner;\\n }\\n\\n function enforceIsContractOwner() internal view {\\n require(msg.sender == diamondStorage().contractOwner, \\\"LibDiamond: Must be contract owner\\\");\\n }\\n\\n event DiamondCut(IDiamondCut.FacetCut[] _diamondCut, address _init, bytes _calldata);\\n\\n // Internal function version of diamondCut\\n function diamondCut(\\n IDiamondCut.FacetCut[] memory _diamondCut,\\n address _init,\\n bytes memory _calldata\\n ) internal {\\n for (uint256 facetIndex; facetIndex < _diamondCut.length; facetIndex++) {\\n IDiamondCut.FacetCutAction action = _diamondCut[facetIndex].action;\\n if (action == IDiamondCut.FacetCutAction.Add) {\\n addFunctions(_diamondCut[facetIndex].facetAddress, _diamondCut[facetIndex].functionSelectors);\\n } else if (action == IDiamondCut.FacetCutAction.Replace) {\\n replaceFunctions(_diamondCut[facetIndex].facetAddress, _diamondCut[facetIndex].functionSelectors);\\n } else if (action == IDiamondCut.FacetCutAction.Remove) {\\n removeFunctions(_diamondCut[facetIndex].facetAddress, _diamondCut[facetIndex].functionSelectors);\\n } else {\\n revert(\\\"LibDiamondCut: Incorrect FacetCutAction\\\");\\n }\\n }\\n emit DiamondCut(_diamondCut, _init, _calldata);\\n initializeDiamondCut(_init, _calldata);\\n }\\n\\n function addFunctions(address _facetAddress, bytes4[] memory _functionSelectors) internal {\\n require(_functionSelectors.length > 0, \\\"LibDiamondCut: No selectors in facet to cut\\\");\\n DiamondStorage storage ds = diamondStorage(); \\n require(_facetAddress != address(0), \\\"LibDiamondCut: Add facet can't be address(0)\\\");\\n uint96 selectorPosition = uint96(ds.facetFunctionSelectors[_facetAddress].functionSelectors.length);\\n // add new facet address if it does not exist\\n if (selectorPosition == 0) {\\n addFacet(ds, _facetAddress); \\n }\\n for (uint256 selectorIndex; selectorIndex < _functionSelectors.length; selectorIndex++) {\\n bytes4 selector = _functionSelectors[selectorIndex];\\n address oldFacetAddress = ds.selectorToFacetAndPosition[selector].facetAddress;\\n require(oldFacetAddress == address(0), \\\"LibDiamondCut: Can't add function that already exists\\\");\\n addFunction(ds, selector, selectorPosition, _facetAddress);\\n selectorPosition++;\\n }\\n }\\n\\n function replaceFunctions(address _facetAddress, bytes4[] memory _functionSelectors) internal {\\n require(_functionSelectors.length > 0, \\\"LibDiamondCut: No selectors in facet to cut\\\");\\n DiamondStorage storage ds = diamondStorage();\\n require(_facetAddress != address(0), \\\"LibDiamondCut: Add facet can't be address(0)\\\");\\n uint96 selectorPosition = uint96(ds.facetFunctionSelectors[_facetAddress].functionSelectors.length);\\n // add new facet address if it does not exist\\n if (selectorPosition == 0) {\\n addFacet(ds, _facetAddress);\\n }\\n for (uint256 selectorIndex; selectorIndex < _functionSelectors.length; selectorIndex++) {\\n bytes4 selector = _functionSelectors[selectorIndex];\\n address oldFacetAddress = ds.selectorToFacetAndPosition[selector].facetAddress;\\n require(oldFacetAddress != _facetAddress, \\\"LibDiamondCut: Can't replace function with same function\\\");\\n removeFunction(ds, oldFacetAddress, selector);\\n addFunction(ds, selector, selectorPosition, _facetAddress);\\n selectorPosition++;\\n }\\n }\\n\\n function removeFunctions(address _facetAddress, bytes4[] memory _functionSelectors) internal {\\n require(_functionSelectors.length > 0, \\\"LibDiamondCut: No selectors in facet to cut\\\");\\n DiamondStorage storage ds = diamondStorage();\\n // if function does not exist then do nothing and return\\n require(_facetAddress == address(0), \\\"LibDiamondCut: Remove facet address must be address(0)\\\");\\n for (uint256 selectorIndex; selectorIndex < _functionSelectors.length; selectorIndex++) {\\n bytes4 selector = _functionSelectors[selectorIndex];\\n address oldFacetAddress = ds.selectorToFacetAndPosition[selector].facetAddress;\\n removeFunction(ds, oldFacetAddress, selector);\\n }\\n }\\n\\n function addFacet(DiamondStorage storage ds, address _facetAddress) internal {\\n enforceHasContractCode(_facetAddress, \\\"LibDiamondCut: New facet has no code\\\");\\n ds.facetFunctionSelectors[_facetAddress].facetAddressPosition = ds.facetAddresses.length;\\n ds.facetAddresses.push(_facetAddress);\\n } \\n\\n\\n function addFunction(DiamondStorage storage ds, bytes4 _selector, uint96 _selectorPosition, address _facetAddress) internal {\\n ds.selectorToFacetAndPosition[_selector].functionSelectorPosition = _selectorPosition;\\n ds.facetFunctionSelectors[_facetAddress].functionSelectors.push(_selector);\\n ds.selectorToFacetAndPosition[_selector].facetAddress = _facetAddress;\\n }\\n\\n function removeFunction(DiamondStorage storage ds, address _facetAddress, bytes4 _selector) internal { \\n require(_facetAddress != address(0), \\\"LibDiamondCut: Can't remove function that doesn't exist\\\");\\n // an immutable function is a function defined directly in a diamond\\n require(_facetAddress != address(this), \\\"LibDiamondCut: Can't remove immutable function\\\");\\n // replace selector with last selector, then delete last selector\\n uint256 selectorPosition = ds.selectorToFacetAndPosition[_selector].functionSelectorPosition;\\n uint256 lastSelectorPosition = ds.facetFunctionSelectors[_facetAddress].functionSelectors.length - 1;\\n // if not the same then replace _selector with lastSelector\\n if (selectorPosition != lastSelectorPosition) {\\n bytes4 lastSelector = ds.facetFunctionSelectors[_facetAddress].functionSelectors[lastSelectorPosition];\\n ds.facetFunctionSelectors[_facetAddress].functionSelectors[selectorPosition] = lastSelector;\\n ds.selectorToFacetAndPosition[lastSelector].functionSelectorPosition = uint96(selectorPosition);\\n }\\n // delete the last selector\\n ds.facetFunctionSelectors[_facetAddress].functionSelectors.pop();\\n delete ds.selectorToFacetAndPosition[_selector];\\n\\n // if no more selectors for facet address then delete the facet address\\n if (lastSelectorPosition == 0) {\\n // replace facet address with last facet address and delete last facet address\\n uint256 lastFacetAddressPosition = ds.facetAddresses.length - 1;\\n uint256 facetAddressPosition = ds.facetFunctionSelectors[_facetAddress].facetAddressPosition;\\n if (facetAddressPosition != lastFacetAddressPosition) {\\n address lastFacetAddress = ds.facetAddresses[lastFacetAddressPosition];\\n ds.facetAddresses[facetAddressPosition] = lastFacetAddress;\\n ds.facetFunctionSelectors[lastFacetAddress].facetAddressPosition = facetAddressPosition;\\n }\\n ds.facetAddresses.pop();\\n delete ds.facetFunctionSelectors[_facetAddress].facetAddressPosition;\\n }\\n }\\n\\n function initializeDiamondCut(address _init, bytes memory _calldata) internal {\\n if (_init == address(0)) {\\n require(_calldata.length == 0, \\\"LibDiamondCut: _init is address(0) but_calldata is not empty\\\");\\n } else {\\n require(_calldata.length > 0, \\\"LibDiamondCut: _calldata is empty but _init is not address(0)\\\");\\n if (_init != address(this)) {\\n enforceHasContractCode(_init, \\\"LibDiamondCut: _init address has no code\\\");\\n }\\n (bool success, bytes memory error) = _init.delegatecall(_calldata);\\n if (!success) {\\n if (error.length > 0) {\\n // bubble up the error\\n revert(string(error));\\n } else {\\n revert(\\\"LibDiamondCut: _init function reverted\\\");\\n }\\n }\\n }\\n }\\n\\n function enforceHasContractCode(address _contract, string memory _errorMessage) internal view {\\n uint256 contractSize;\\n assembly {\\n contractSize := extcodesize(_contract)\\n }\\n require(contractSize > 0, _errorMessage);\\n }\\n}\\n\"\n },\n \"solc_0.8/diamond/interfaces/IDiamondLoupe.sol\": {\n \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.0;\\n\\n/******************************************************************************\\\\\\n* Author: Nick Mudge (https://twitter.com/mudgen)\\n* EIP-2535 Diamonds: https://eips.ethereum.org/EIPS/eip-2535\\n/******************************************************************************/\\n\\n// A loupe is a small magnifying glass used to look at diamonds.\\n// These functions look at diamonds\\ninterface IDiamondLoupe {\\n /// These functions are expected to be called frequently\\n /// by tools.\\n\\n struct Facet {\\n address facetAddress;\\n bytes4[] functionSelectors;\\n }\\n\\n /// @notice Gets all facet addresses and their four byte function selectors.\\n /// @return facets_ Facet\\n function facets() external view returns (Facet[] memory facets_);\\n\\n /// @notice Gets all the function selectors supported by a specific facet.\\n /// @param _facet The facet address.\\n /// @return facetFunctionSelectors_\\n function facetFunctionSelectors(address _facet) external view returns (bytes4[] memory facetFunctionSelectors_);\\n\\n /// @notice Get all the facet addresses used by a diamond.\\n /// @return facetAddresses_\\n function facetAddresses() external view returns (address[] memory facetAddresses_);\\n\\n /// @notice Gets the facet that supports the given selector.\\n /// @dev If facet is not found return address(0).\\n /// @param _functionSelector The function selector.\\n /// @return facetAddress_ The facet address.\\n function facetAddress(bytes4 _functionSelector) external view returns (address facetAddress_);\\n}\\n\"\n },\n \"solc_0.8/diamond/interfaces/IERC173.sol\": {\n \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.0;\\n\\n/// @title ERC-173 Contract Ownership Standard\\n/// Note: the ERC-165 identifier for this interface is 0x7f5828d0\\n/* is ERC165 */\\ninterface IERC173 {\\n /// @dev This emits when ownership of a contract changes.\\n event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);\\n\\n /// @notice Get the address of the owner\\n /// @return owner_ The address of the owner.\\n function owner() external view returns (address owner_);\\n\\n /// @notice Set the address of the new owner of the contract\\n /// @dev Set _newOwner to address(0) to renounce any ownership.\\n /// @param _newOwner The address of the new owner of the contract\\n function transferOwnership(address _newOwner) external;\\n}\\n\"\n },\n \"solc_0.8/diamond/interfaces/IERC165.sol\": {\n \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.0;\\n\\ninterface IERC165 {\\n /// @notice Query if a contract implements an interface\\n /// @param interfaceId The interface identifier, as specified in ERC-165\\n /// @dev Interface identification is specified in ERC-165. This function\\n /// uses less than 30,000 gas.\\n /// @return `true` if the contract implements `interfaceID` and\\n /// `interfaceID` is not 0xffffffff, `false` otherwise\\n function supportsInterface(bytes4 interfaceId) external view returns (bool);\\n}\\n\"\n },\n \"solc_0.8/diamond/upgradeInitializers/DiamondInit.sol\": {\n \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.0;\\n\\n/******************************************************************************\\\\\\n* Author: Nick Mudge (https://twitter.com/mudgen)\\n* EIP-2535 Diamonds: https://eips.ethereum.org/EIPS/eip-2535\\n*\\n* Implementation of a diamond.\\n/******************************************************************************/\\n\\nimport {LibDiamond} from \\\"../libraries/LibDiamond.sol\\\";\\nimport { IDiamondLoupe } from \\\"../interfaces/IDiamondLoupe.sol\\\";\\nimport { IDiamondCut } from \\\"../interfaces/IDiamondCut.sol\\\";\\nimport { IERC173 } from \\\"../interfaces/IERC173.sol\\\";\\nimport { IERC165 } from \\\"../interfaces/IERC165.sol\\\";\\n\\n// It is exapected that this contract is customized if you want to deploy your diamond\\n// with data from a deployment script. Use the init function to initialize state variables\\n// of your diamond. Add parameters to the init funciton if you need to.\\n\\ncontract DiamondInit { \\n\\n // You can add parameters to this function in order to pass in \\n // data to set your own state variables\\n function init() external {\\n // adding ERC165 data\\n LibDiamond.DiamondStorage storage ds = LibDiamond.diamondStorage();\\n ds.supportedInterfaces[type(IERC165).interfaceId] = true;\\n ds.supportedInterfaces[type(IDiamondCut).interfaceId] = true;\\n ds.supportedInterfaces[type(IDiamondLoupe).interfaceId] = true;\\n ds.supportedInterfaces[type(IERC173).interfaceId] = true;\\n\\n // add your own state variables \\n // EIP-2535 specifies that the `diamondCut` function takes two optional \\n // arguments: address _init and bytes calldata _calldata\\n // These arguments are used to execute an arbitrary function using delegatecall\\n // in order to set state variables in the diamond during deployment or an upgrade\\n // More info here: https://eips.ethereum.org/EIPS/eip-2535#diamond-interface \\n }\\n\\n\\n}\"\n }\n },\n \"settings\": {\n \"optimizer\": {\n \"enabled\": true,\n \"runs\": 999999\n },\n \"outputSelection\": {\n \"*\": {\n \"*\": [\n \"abi\",\n \"evm.bytecode\",\n \"evm.deployedBytecode\",\n \"evm.methodIdentifiers\",\n \"metadata\",\n \"devdoc\",\n \"userdoc\",\n \"storageLayout\",\n \"evm.gasEstimates\"\n ],\n \"\": [\n \"ast\"\n ]\n }\n },\n \"metadata\": {\n \"useLiteralContent\": true\n }\n }\n}", + "solcInputHash": "91f18d120de6fe2bcaa5a3bff0ad9fe7" } \ No newline at end of file diff --git a/extendedArtifacts/DiamondInit.json b/extendedArtifacts/DiamondInit.json new file mode 100644 index 00000000..1151b19e --- /dev/null +++ b/extendedArtifacts/DiamondInit.json @@ -0,0 +1,77 @@ +{ + "contractName": "DiamondInit", + "sourceName": "solc_0.8/diamond/upgradeInitializers/DiamondInit.sol", + "abi": [ + { + "inputs": [], + "name": "init", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + } + ], + "bytecode": "0x608060405234801561001057600080fd5b50610180806100206000396000f3fe608060405234801561001057600080fd5b506004361061002b5760003560e01c8063e1c7392a14610030575b600080fd5b6101487fc8fcad8db84d3cc18b4c41d551ea0ee66dd599cde068d998e57d5e09332c131f6020527f699d9daa71b280d05a152715774afa0a81a312594b2d731d6b0b2552b7d6f69f805460017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0091821681179092557ff97e938d8af42f52387bb74b8b526fda8f184cc2aa534340a8d75a88fbecc77580548216831790557f65d510a5d8f7ef134ec444f7f34ee808c8eeb5177cdfd16be0c40fe1ab43369580548216831790557f7f5828d0000000000000000000000000000000000000000000000000000000006000527f5622121b47b8cd0120c4efe45dd5483242f54a3d49bd7679be565d47694918c380549091169091179055565b00fea264697066735822122090fa352fadcb5a42d8fb61920082d355cbe51ccc3d1084c928d783cc496ba19164736f6c63430008090033", + "deployedBytecode": "0x608060405234801561001057600080fd5b506004361061002b5760003560e01c8063e1c7392a14610030575b600080fd5b6101487fc8fcad8db84d3cc18b4c41d551ea0ee66dd599cde068d998e57d5e09332c131f6020527f699d9daa71b280d05a152715774afa0a81a312594b2d731d6b0b2552b7d6f69f805460017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0091821681179092557ff97e938d8af42f52387bb74b8b526fda8f184cc2aa534340a8d75a88fbecc77580548216831790557f65d510a5d8f7ef134ec444f7f34ee808c8eeb5177cdfd16be0c40fe1ab43369580548216831790557f7f5828d0000000000000000000000000000000000000000000000000000000006000527f5622121b47b8cd0120c4efe45dd5483242f54a3d49bd7679be565d47694918c380549091169091179055565b00fea264697066735822122090fa352fadcb5a42d8fb61920082d355cbe51ccc3d1084c928d783cc496ba19164736f6c63430008090033", + "linkReferences": {}, + "deployedLinkReferences": {}, + "devdoc": { + "kind": "dev", + "methods": {}, + "version": 1 + }, + "evm": { + "bytecode": { + "functionDebugData": {}, + "generatedSources": [], + "linkReferences": {}, + "opcodes": "PUSH1 0x80 PUSH1 0x40 MSTORE CALLVALUE DUP1 ISZERO PUSH2 0x10 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH2 0x180 DUP1 PUSH2 0x20 PUSH1 0x0 CODECOPY PUSH1 0x0 RETURN INVALID PUSH1 0x80 PUSH1 0x40 MSTORE CALLVALUE DUP1 ISZERO PUSH2 0x10 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH1 0x4 CALLDATASIZE LT PUSH2 0x2B JUMPI PUSH1 0x0 CALLDATALOAD PUSH1 0xE0 SHR DUP1 PUSH4 0xE1C7392A EQ PUSH2 0x30 JUMPI JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x148 PUSH32 0xC8FCAD8DB84D3CC18B4C41D551EA0EE66DD599CDE068D998E57D5E09332C131F PUSH1 0x20 MSTORE PUSH32 0x699D9DAA71B280D05A152715774AFA0A81A312594B2D731D6B0B2552B7D6F69F DUP1 SLOAD PUSH1 0x1 PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF00 SWAP2 DUP3 AND DUP2 OR SWAP1 SWAP3 SSTORE PUSH32 0xF97E938D8AF42F52387BB74B8B526FDA8F184CC2AA534340A8D75A88FBECC775 DUP1 SLOAD DUP3 AND DUP4 OR SWAP1 SSTORE PUSH32 0x65D510A5D8F7EF134EC444F7F34EE808C8EEB5177CDFD16BE0C40FE1AB433695 DUP1 SLOAD DUP3 AND DUP4 OR SWAP1 SSTORE PUSH32 0x7F5828D000000000000000000000000000000000000000000000000000000000 PUSH1 0x0 MSTORE PUSH32 0x5622121B47B8CD0120C4EFE45DD5483242F54A3D49BD7679BE565D47694918C3 DUP1 SLOAD SWAP1 SWAP2 AND SWAP1 SWAP2 OR SWAP1 SSTORE JUMP JUMPDEST STOP INVALID LOG2 PUSH5 0x6970667358 0x22 SLT KECCAK256 SWAP1 STATICCALL CALLDATALOAD 0x2F 0xAD 0xCB GAS TIMESTAMP 0xD8 0xFB PUSH2 0x9200 DUP3 0xD3 SSTORE 0xCB 0xE5 SHR 0xCC RETURNDATASIZE LT DUP5 0xC9 0x28 0xD7 DUP4 0xCC 0x49 PUSH12 0xA19164736F6C634300080900 CALLER ", + "sourceMap": "935:1012:10:-:0;;;;;;;;;;;;;;;;;;;" + }, + "deployedBytecode": { + "functionDebugData": { + "@diamondStorage_861": { + "entryPoint": null, + "id": 861, + "parameterSlots": 0, + "returnSlots": 1 + }, + "@init_1712": { + "entryPoint": null, + "id": 1712, + "parameterSlots": 0, + "returnSlots": 0 + } + }, + "generatedSources": [], + "immutableReferences": {}, + "linkReferences": {}, + "opcodes": "PUSH1 0x80 PUSH1 0x40 MSTORE CALLVALUE DUP1 ISZERO PUSH2 0x10 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH1 0x4 CALLDATASIZE LT PUSH2 0x2B JUMPI PUSH1 0x0 CALLDATALOAD PUSH1 0xE0 SHR DUP1 PUSH4 0xE1C7392A EQ PUSH2 0x30 JUMPI JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x148 PUSH32 0xC8FCAD8DB84D3CC18B4C41D551EA0EE66DD599CDE068D998E57D5E09332C131F PUSH1 0x20 MSTORE PUSH32 0x699D9DAA71B280D05A152715774AFA0A81A312594B2D731D6B0B2552B7D6F69F DUP1 SLOAD PUSH1 0x1 PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF00 SWAP2 DUP3 AND DUP2 OR SWAP1 SWAP3 SSTORE PUSH32 0xF97E938D8AF42F52387BB74B8B526FDA8F184CC2AA534340A8D75A88FBECC775 DUP1 SLOAD DUP3 AND DUP4 OR SWAP1 SSTORE PUSH32 0x65D510A5D8F7EF134EC444F7F34EE808C8EEB5177CDFD16BE0C40FE1AB433695 DUP1 SLOAD DUP3 AND DUP4 OR SWAP1 SSTORE PUSH32 0x7F5828D000000000000000000000000000000000000000000000000000000000 PUSH1 0x0 MSTORE PUSH32 0x5622121B47B8CD0120C4EFE45DD5483242F54A3D49BD7679BE565D47694918C3 DUP1 SLOAD SWAP1 SWAP2 AND SWAP1 SWAP2 OR SWAP1 SSTORE JUMP JUMPDEST STOP INVALID LOG2 PUSH5 0x6970667358 0x22 SLT KECCAK256 SWAP1 STATICCALL CALLDATALOAD 0x2F 0xAD 0xCB GAS TIMESTAMP 0xD8 0xFB PUSH2 0x9200 DUP3 0xD3 SSTORE 0xCB 0xE5 SHR 0xCC RETURNDATASIZE LT DUP5 0xC9 0x28 0xD7 DUP4 0xCC 0x49 PUSH12 0xA19164736F6C634300080900 CALLER ", + "sourceMap": "935:1012:10:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1079:864;;1220:22;:49;;;:56;;1272:4;1220:56;;;;;;;;;1286:53;:60;;;;;;;;1356:55;:62;;;;;;;;1451:25;1144:36;1428:49;;:56;;;;;;;;;;1079:864;;" + }, + "gasEstimates": { + "creation": { + "codeDepositCost": "76800", + "executionCost": "123", + "totalCost": "76923" + }, + "external": { + "init()": "97030" + } + }, + "methodIdentifiers": { + "init()": "e1c7392a" + } + }, + "metadata": "{\"compiler\":{\"version\":\"0.8.9+commit.e5eed63a\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[],\"name\":\"init\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"solc_0.8/diamond/upgradeInitializers/DiamondInit.sol\":\"DiamondInit\"},\"evmVersion\":\"london\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\",\"useLiteralContent\":true},\"optimizer\":{\"enabled\":true,\"runs\":999999},\"remappings\":[]},\"sources\":{\"solc_0.8/diamond/interfaces/IDiamondCut.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.0;\\n\\n/******************************************************************************\\\\\\n* Author: Nick Mudge (https://twitter.com/mudgen)\\n* EIP-2535 Diamonds: https://eips.ethereum.org/EIPS/eip-2535\\n/******************************************************************************/\\n\\ninterface IDiamondCut {\\n enum FacetCutAction {Add, Replace, Remove}\\n // Add=0, Replace=1, Remove=2\\n\\n struct FacetCut {\\n address facetAddress;\\n FacetCutAction action;\\n bytes4[] functionSelectors;\\n }\\n\\n /// @notice Add/replace/remove any number of functions and optionally execute\\n /// a function with delegatecall\\n /// @param _diamondCut Contains the facet addresses and function selectors\\n /// @param _init The address of the contract or facet to execute _calldata\\n /// @param _calldata A function call, including function selector and arguments\\n /// _calldata is executed with delegatecall on _init\\n function diamondCut(\\n FacetCut[] calldata _diamondCut,\\n address _init,\\n bytes calldata _calldata\\n ) external;\\n\\n event DiamondCut(FacetCut[] _diamondCut, address _init, bytes _calldata);\\n}\\n\",\"keccak256\":\"0xc00c16bfa30a3fa5f3dc684f7f8ba62c259962b25f647d9588739458989717fc\",\"license\":\"MIT\"},\"solc_0.8/diamond/interfaces/IDiamondLoupe.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.0;\\n\\n/******************************************************************************\\\\\\n* Author: Nick Mudge (https://twitter.com/mudgen)\\n* EIP-2535 Diamonds: https://eips.ethereum.org/EIPS/eip-2535\\n/******************************************************************************/\\n\\n// A loupe is a small magnifying glass used to look at diamonds.\\n// These functions look at diamonds\\ninterface IDiamondLoupe {\\n /// These functions are expected to be called frequently\\n /// by tools.\\n\\n struct Facet {\\n address facetAddress;\\n bytes4[] functionSelectors;\\n }\\n\\n /// @notice Gets all facet addresses and their four byte function selectors.\\n /// @return facets_ Facet\\n function facets() external view returns (Facet[] memory facets_);\\n\\n /// @notice Gets all the function selectors supported by a specific facet.\\n /// @param _facet The facet address.\\n /// @return facetFunctionSelectors_\\n function facetFunctionSelectors(address _facet) external view returns (bytes4[] memory facetFunctionSelectors_);\\n\\n /// @notice Get all the facet addresses used by a diamond.\\n /// @return facetAddresses_\\n function facetAddresses() external view returns (address[] memory facetAddresses_);\\n\\n /// @notice Gets the facet that supports the given selector.\\n /// @dev If facet is not found return address(0).\\n /// @param _functionSelector The function selector.\\n /// @return facetAddress_ The facet address.\\n function facetAddress(bytes4 _functionSelector) external view returns (address facetAddress_);\\n}\\n\",\"keccak256\":\"0x10884024af2c0f7deca0fac4ddf84e76da5dba35b6e02fabeac8ea54c1a5c6f7\",\"license\":\"MIT\"},\"solc_0.8/diamond/interfaces/IERC165.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.0;\\n\\ninterface IERC165 {\\n /// @notice Query if a contract implements an interface\\n /// @param interfaceId The interface identifier, as specified in ERC-165\\n /// @dev Interface identification is specified in ERC-165. This function\\n /// uses less than 30,000 gas.\\n /// @return `true` if the contract implements `interfaceID` and\\n /// `interfaceID` is not 0xffffffff, `false` otherwise\\n function supportsInterface(bytes4 interfaceId) external view returns (bool);\\n}\\n\",\"keccak256\":\"0x7541f7408d0f74162bc4664d5e012427f2ceaab2abadca0353269ef15ee03d8b\",\"license\":\"MIT\"},\"solc_0.8/diamond/interfaces/IERC173.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.0;\\n\\n/// @title ERC-173 Contract Ownership Standard\\n/// Note: the ERC-165 identifier for this interface is 0x7f5828d0\\n/* is ERC165 */\\ninterface IERC173 {\\n /// @dev This emits when ownership of a contract changes.\\n event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);\\n\\n /// @notice Get the address of the owner\\n /// @return owner_ The address of the owner.\\n function owner() external view returns (address owner_);\\n\\n /// @notice Set the address of the new owner of the contract\\n /// @dev Set _newOwner to address(0) to renounce any ownership.\\n /// @param _newOwner The address of the new owner of the contract\\n function transferOwnership(address _newOwner) external;\\n}\\n\",\"keccak256\":\"0x001e07b0fbc894300b939d496ffb005abe398b5bc609802d319b8cdeafe5d36b\",\"license\":\"MIT\"},\"solc_0.8/diamond/libraries/LibDiamond.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.0;\\n\\n/******************************************************************************\\\\\\n* Author: Nick Mudge (https://twitter.com/mudgen)\\n* EIP-2535 Diamonds: https://eips.ethereum.org/EIPS/eip-2535\\n/******************************************************************************/\\nimport { IDiamondCut } from \\\"../interfaces/IDiamondCut.sol\\\";\\n\\nlibrary LibDiamond {\\n bytes32 constant DIAMOND_STORAGE_POSITION = keccak256(\\\"diamond.standard.diamond.storage\\\");\\n\\n struct FacetAddressAndPosition {\\n address facetAddress;\\n uint96 functionSelectorPosition; // position in facetFunctionSelectors.functionSelectors array\\n }\\n\\n struct FacetFunctionSelectors {\\n bytes4[] functionSelectors;\\n uint256 facetAddressPosition; // position of facetAddress in facetAddresses array\\n }\\n\\n struct DiamondStorage {\\n // maps function selector to the facet address and\\n // the position of the selector in the facetFunctionSelectors.selectors array\\n mapping(bytes4 => FacetAddressAndPosition) selectorToFacetAndPosition;\\n // maps facet addresses to function selectors\\n mapping(address => FacetFunctionSelectors) facetFunctionSelectors;\\n // facet addresses\\n address[] facetAddresses;\\n // Used to query if a contract implements an interface.\\n // Used to implement ERC-165.\\n mapping(bytes4 => bool) supportedInterfaces;\\n // owner of the contract\\n address contractOwner;\\n }\\n\\n function diamondStorage() internal pure returns (DiamondStorage storage ds) {\\n bytes32 position = DIAMOND_STORAGE_POSITION;\\n assembly {\\n ds.slot := position\\n }\\n }\\n\\n event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);\\n\\n function setContractOwner(address _newOwner) internal {\\n DiamondStorage storage ds = diamondStorage();\\n address previousOwner = ds.contractOwner;\\n ds.contractOwner = _newOwner;\\n emit OwnershipTransferred(previousOwner, _newOwner);\\n }\\n\\n function contractOwner() internal view returns (address contractOwner_) {\\n contractOwner_ = diamondStorage().contractOwner;\\n }\\n\\n function enforceIsContractOwner() internal view {\\n require(msg.sender == diamondStorage().contractOwner, \\\"LibDiamond: Must be contract owner\\\");\\n }\\n\\n event DiamondCut(IDiamondCut.FacetCut[] _diamondCut, address _init, bytes _calldata);\\n\\n // Internal function version of diamondCut\\n function diamondCut(\\n IDiamondCut.FacetCut[] memory _diamondCut,\\n address _init,\\n bytes memory _calldata\\n ) internal {\\n for (uint256 facetIndex; facetIndex < _diamondCut.length; facetIndex++) {\\n IDiamondCut.FacetCutAction action = _diamondCut[facetIndex].action;\\n if (action == IDiamondCut.FacetCutAction.Add) {\\n addFunctions(_diamondCut[facetIndex].facetAddress, _diamondCut[facetIndex].functionSelectors);\\n } else if (action == IDiamondCut.FacetCutAction.Replace) {\\n replaceFunctions(_diamondCut[facetIndex].facetAddress, _diamondCut[facetIndex].functionSelectors);\\n } else if (action == IDiamondCut.FacetCutAction.Remove) {\\n removeFunctions(_diamondCut[facetIndex].facetAddress, _diamondCut[facetIndex].functionSelectors);\\n } else {\\n revert(\\\"LibDiamondCut: Incorrect FacetCutAction\\\");\\n }\\n }\\n emit DiamondCut(_diamondCut, _init, _calldata);\\n initializeDiamondCut(_init, _calldata);\\n }\\n\\n function addFunctions(address _facetAddress, bytes4[] memory _functionSelectors) internal {\\n require(_functionSelectors.length > 0, \\\"LibDiamondCut: No selectors in facet to cut\\\");\\n DiamondStorage storage ds = diamondStorage(); \\n require(_facetAddress != address(0), \\\"LibDiamondCut: Add facet can't be address(0)\\\");\\n uint96 selectorPosition = uint96(ds.facetFunctionSelectors[_facetAddress].functionSelectors.length);\\n // add new facet address if it does not exist\\n if (selectorPosition == 0) {\\n addFacet(ds, _facetAddress); \\n }\\n for (uint256 selectorIndex; selectorIndex < _functionSelectors.length; selectorIndex++) {\\n bytes4 selector = _functionSelectors[selectorIndex];\\n address oldFacetAddress = ds.selectorToFacetAndPosition[selector].facetAddress;\\n require(oldFacetAddress == address(0), \\\"LibDiamondCut: Can't add function that already exists\\\");\\n addFunction(ds, selector, selectorPosition, _facetAddress);\\n selectorPosition++;\\n }\\n }\\n\\n function replaceFunctions(address _facetAddress, bytes4[] memory _functionSelectors) internal {\\n require(_functionSelectors.length > 0, \\\"LibDiamondCut: No selectors in facet to cut\\\");\\n DiamondStorage storage ds = diamondStorage();\\n require(_facetAddress != address(0), \\\"LibDiamondCut: Add facet can't be address(0)\\\");\\n uint96 selectorPosition = uint96(ds.facetFunctionSelectors[_facetAddress].functionSelectors.length);\\n // add new facet address if it does not exist\\n if (selectorPosition == 0) {\\n addFacet(ds, _facetAddress);\\n }\\n for (uint256 selectorIndex; selectorIndex < _functionSelectors.length; selectorIndex++) {\\n bytes4 selector = _functionSelectors[selectorIndex];\\n address oldFacetAddress = ds.selectorToFacetAndPosition[selector].facetAddress;\\n require(oldFacetAddress != _facetAddress, \\\"LibDiamondCut: Can't replace function with same function\\\");\\n removeFunction(ds, oldFacetAddress, selector);\\n addFunction(ds, selector, selectorPosition, _facetAddress);\\n selectorPosition++;\\n }\\n }\\n\\n function removeFunctions(address _facetAddress, bytes4[] memory _functionSelectors) internal {\\n require(_functionSelectors.length > 0, \\\"LibDiamondCut: No selectors in facet to cut\\\");\\n DiamondStorage storage ds = diamondStorage();\\n // if function does not exist then do nothing and return\\n require(_facetAddress == address(0), \\\"LibDiamondCut: Remove facet address must be address(0)\\\");\\n for (uint256 selectorIndex; selectorIndex < _functionSelectors.length; selectorIndex++) {\\n bytes4 selector = _functionSelectors[selectorIndex];\\n address oldFacetAddress = ds.selectorToFacetAndPosition[selector].facetAddress;\\n removeFunction(ds, oldFacetAddress, selector);\\n }\\n }\\n\\n function addFacet(DiamondStorage storage ds, address _facetAddress) internal {\\n enforceHasContractCode(_facetAddress, \\\"LibDiamondCut: New facet has no code\\\");\\n ds.facetFunctionSelectors[_facetAddress].facetAddressPosition = ds.facetAddresses.length;\\n ds.facetAddresses.push(_facetAddress);\\n } \\n\\n\\n function addFunction(DiamondStorage storage ds, bytes4 _selector, uint96 _selectorPosition, address _facetAddress) internal {\\n ds.selectorToFacetAndPosition[_selector].functionSelectorPosition = _selectorPosition;\\n ds.facetFunctionSelectors[_facetAddress].functionSelectors.push(_selector);\\n ds.selectorToFacetAndPosition[_selector].facetAddress = _facetAddress;\\n }\\n\\n function removeFunction(DiamondStorage storage ds, address _facetAddress, bytes4 _selector) internal { \\n require(_facetAddress != address(0), \\\"LibDiamondCut: Can't remove function that doesn't exist\\\");\\n // an immutable function is a function defined directly in a diamond\\n require(_facetAddress != address(this), \\\"LibDiamondCut: Can't remove immutable function\\\");\\n // replace selector with last selector, then delete last selector\\n uint256 selectorPosition = ds.selectorToFacetAndPosition[_selector].functionSelectorPosition;\\n uint256 lastSelectorPosition = ds.facetFunctionSelectors[_facetAddress].functionSelectors.length - 1;\\n // if not the same then replace _selector with lastSelector\\n if (selectorPosition != lastSelectorPosition) {\\n bytes4 lastSelector = ds.facetFunctionSelectors[_facetAddress].functionSelectors[lastSelectorPosition];\\n ds.facetFunctionSelectors[_facetAddress].functionSelectors[selectorPosition] = lastSelector;\\n ds.selectorToFacetAndPosition[lastSelector].functionSelectorPosition = uint96(selectorPosition);\\n }\\n // delete the last selector\\n ds.facetFunctionSelectors[_facetAddress].functionSelectors.pop();\\n delete ds.selectorToFacetAndPosition[_selector];\\n\\n // if no more selectors for facet address then delete the facet address\\n if (lastSelectorPosition == 0) {\\n // replace facet address with last facet address and delete last facet address\\n uint256 lastFacetAddressPosition = ds.facetAddresses.length - 1;\\n uint256 facetAddressPosition = ds.facetFunctionSelectors[_facetAddress].facetAddressPosition;\\n if (facetAddressPosition != lastFacetAddressPosition) {\\n address lastFacetAddress = ds.facetAddresses[lastFacetAddressPosition];\\n ds.facetAddresses[facetAddressPosition] = lastFacetAddress;\\n ds.facetFunctionSelectors[lastFacetAddress].facetAddressPosition = facetAddressPosition;\\n }\\n ds.facetAddresses.pop();\\n delete ds.facetFunctionSelectors[_facetAddress].facetAddressPosition;\\n }\\n }\\n\\n function initializeDiamondCut(address _init, bytes memory _calldata) internal {\\n if (_init == address(0)) {\\n require(_calldata.length == 0, \\\"LibDiamondCut: _init is address(0) but_calldata is not empty\\\");\\n } else {\\n require(_calldata.length > 0, \\\"LibDiamondCut: _calldata is empty but _init is not address(0)\\\");\\n if (_init != address(this)) {\\n enforceHasContractCode(_init, \\\"LibDiamondCut: _init address has no code\\\");\\n }\\n (bool success, bytes memory error) = _init.delegatecall(_calldata);\\n if (!success) {\\n if (error.length > 0) {\\n // bubble up the error\\n revert(string(error));\\n } else {\\n revert(\\\"LibDiamondCut: _init function reverted\\\");\\n }\\n }\\n }\\n }\\n\\n function enforceHasContractCode(address _contract, string memory _errorMessage) internal view {\\n uint256 contractSize;\\n assembly {\\n contractSize := extcodesize(_contract)\\n }\\n require(contractSize > 0, _errorMessage);\\n }\\n}\\n\",\"keccak256\":\"0x2205345e83eb86f5281f159a9215a096cb6d404782619f9b8e9d7a4a46c32a37\",\"license\":\"MIT\"},\"solc_0.8/diamond/upgradeInitializers/DiamondInit.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.0;\\n\\n/******************************************************************************\\\\\\n* Author: Nick Mudge (https://twitter.com/mudgen)\\n* EIP-2535 Diamonds: https://eips.ethereum.org/EIPS/eip-2535\\n*\\n* Implementation of a diamond.\\n/******************************************************************************/\\n\\nimport {LibDiamond} from \\\"../libraries/LibDiamond.sol\\\";\\nimport { IDiamondLoupe } from \\\"../interfaces/IDiamondLoupe.sol\\\";\\nimport { IDiamondCut } from \\\"../interfaces/IDiamondCut.sol\\\";\\nimport { IERC173 } from \\\"../interfaces/IERC173.sol\\\";\\nimport { IERC165 } from \\\"../interfaces/IERC165.sol\\\";\\n\\n// It is exapected that this contract is customized if you want to deploy your diamond\\n// with data from a deployment script. Use the init function to initialize state variables\\n// of your diamond. Add parameters to the init funciton if you need to.\\n\\ncontract DiamondInit { \\n\\n // You can add parameters to this function in order to pass in \\n // data to set your own state variables\\n function init() external {\\n // adding ERC165 data\\n LibDiamond.DiamondStorage storage ds = LibDiamond.diamondStorage();\\n ds.supportedInterfaces[type(IERC165).interfaceId] = true;\\n ds.supportedInterfaces[type(IDiamondCut).interfaceId] = true;\\n ds.supportedInterfaces[type(IDiamondLoupe).interfaceId] = true;\\n ds.supportedInterfaces[type(IERC173).interfaceId] = true;\\n\\n // add your own state variables \\n // EIP-2535 specifies that the `diamondCut` function takes two optional \\n // arguments: address _init and bytes calldata _calldata\\n // These arguments are used to execute an arbitrary function using delegatecall\\n // in order to set state variables in the diamond during deployment or an upgrade\\n // More info here: https://eips.ethereum.org/EIPS/eip-2535#diamond-interface \\n }\\n\\n\\n}\",\"keccak256\":\"0x42571437a4aa5ebdf0c7b7fce576c99d4c405d04e899216a950432ac9436bbb0\",\"license\":\"MIT\"}},\"version\":1}", + "storageLayout": { + "storage": [], + "types": null + }, + "userdoc": { + "kind": "user", + "methods": {}, + "version": 1 + }, + "solcInput": "{\n \"language\": \"Solidity\",\n \"sources\": {\n \"solc_0.8/diamond/Diamantaire.sol\": {\n \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.0;\\npragma experimental ABIEncoderV2;\\n\\nimport \\\"./interfaces/IDiamondCut.sol\\\";\\nimport \\\"./Diamond.sol\\\";\\nimport \\\"./facets/DiamondCutFacet.sol\\\";\\nimport \\\"./facets/DiamondLoupeFacet.sol\\\";\\nimport \\\"./facets/OwnershipFacet.sol\\\";\\n\\ncontract Diamantaire {\\n event DiamondCreated(Diamond diamond);\\n\\n IDiamondCut.FacetCut[] internal _builtinDiamondCut;\\n\\n constructor() {\\n bytes4[] memory functionSelectors;\\n\\n // -------------------------------------------------------------------------\\n // adding diamondCut function\\n // -------------------------------------------------------------------------\\n DiamondCutFacet diamondCutFacet = new DiamondCutFacet();\\n\\n functionSelectors = new bytes4[](1);\\n functionSelectors[0] = DiamondCutFacet.diamondCut.selector;\\n _builtinDiamondCut.push(IDiamondCut.FacetCut({\\n facetAddress:address(diamondCutFacet),\\n action: IDiamondCut.FacetCutAction.Add,\\n functionSelectors: functionSelectors\\n }));\\n\\n\\n // -------------------------------------------------------------------------\\n // adding diamond loupe functions\\n // -------------------------------------------------------------------------\\n DiamondLoupeFacet diamondLoupeFacet = new DiamondLoupeFacet();\\n\\n functionSelectors = new bytes4[](5);\\n functionSelectors[0] = DiamondLoupeFacet.facetFunctionSelectors.selector;\\n functionSelectors[1] = DiamondLoupeFacet.facets.selector;\\n functionSelectors[2] = DiamondLoupeFacet.facetAddress.selector;\\n functionSelectors[3] = DiamondLoupeFacet.facetAddresses.selector;\\n functionSelectors[4] = DiamondLoupeFacet.supportsInterface.selector;\\n _builtinDiamondCut.push(IDiamondCut.FacetCut({\\n facetAddress:address(diamondLoupeFacet),\\n action: IDiamondCut.FacetCutAction.Add,\\n functionSelectors: functionSelectors\\n }));\\n\\n\\n // -------------------------------------------------------------------------\\n // adding ownership functions\\n // -------------------------------------------------------------------------\\n OwnershipFacet ownershipFacet = new OwnershipFacet();\\n\\n functionSelectors = new bytes4[](2);\\n functionSelectors[0] = OwnershipFacet.transferOwnership.selector;\\n functionSelectors[1] = OwnershipFacet.owner.selector;\\n _builtinDiamondCut.push(IDiamondCut.FacetCut({\\n facetAddress:address(ownershipFacet),\\n action: IDiamondCut.FacetCutAction.Add,\\n functionSelectors: functionSelectors\\n }));\\n }\\n\\n function createDiamond(\\n address owner,\\n IDiamondCut.FacetCut[] calldata _diamondCut,\\n bytes calldata data,\\n bytes32 salt\\n ) external payable returns (Diamond diamond) {\\n if (salt != 0x0000000000000000000000000000000000000000000000000000000000000000) {\\n salt = keccak256(abi.encodePacked(salt, owner));\\n diamond = new Diamond{value: msg.value, salt: salt}(\\n _builtinDiamondCut,\\n Diamond.DiamondArgs({owner:address(this)})\\n );\\n } else {\\n diamond = new Diamond{value: msg.value}(_builtinDiamondCut, Diamond.DiamondArgs({owner:address(this)}));\\n }\\n emit DiamondCreated(diamond);\\n\\n IDiamondCut(address(diamond)).diamondCut(_diamondCut, data.length > 0 ? address(diamond) : address(0), data);\\n IERC173(address(diamond)).transferOwnership(owner);\\n }\\n}\\n\"\n },\n \"solc_0.8/diamond/interfaces/IDiamondCut.sol\": {\n \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.0;\\n\\n/******************************************************************************\\\\\\n* Author: Nick Mudge (https://twitter.com/mudgen)\\n* EIP-2535 Diamonds: https://eips.ethereum.org/EIPS/eip-2535\\n/******************************************************************************/\\n\\ninterface IDiamondCut {\\n enum FacetCutAction {Add, Replace, Remove}\\n // Add=0, Replace=1, Remove=2\\n\\n struct FacetCut {\\n address facetAddress;\\n FacetCutAction action;\\n bytes4[] functionSelectors;\\n }\\n\\n /// @notice Add/replace/remove any number of functions and optionally execute\\n /// a function with delegatecall\\n /// @param _diamondCut Contains the facet addresses and function selectors\\n /// @param _init The address of the contract or facet to execute _calldata\\n /// @param _calldata A function call, including function selector and arguments\\n /// _calldata is executed with delegatecall on _init\\n function diamondCut(\\n FacetCut[] calldata _diamondCut,\\n address _init,\\n bytes calldata _calldata\\n ) external;\\n\\n event DiamondCut(FacetCut[] _diamondCut, address _init, bytes _calldata);\\n}\\n\"\n },\n \"solc_0.8/diamond/Diamond.sol\": {\n \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.0;\\n\\n/******************************************************************************\\\\\\n* Author: Nick Mudge (https://twitter.com/mudgen)\\n* EIP-2535 Diamonds: https://eips.ethereum.org/EIPS/eip-2535\\n*\\n* Implementation of a diamond.\\n/******************************************************************************/\\n\\nimport { LibDiamond } from \\\"./libraries/LibDiamond.sol\\\";\\nimport { IDiamondCut } from \\\"./interfaces/IDiamondCut.sol\\\";\\nimport { IDiamondLoupe } from \\\"./interfaces/IDiamondLoupe.sol\\\";\\nimport { IERC173 } from \\\"./interfaces/IERC173.sol\\\";\\nimport { IERC165 } from \\\"./interfaces/IERC165.sol\\\";\\n\\ncontract Diamond {\\n // more arguments are added to this struct\\n // this avoids stack too deep errors\\n struct DiamondArgs {\\n address owner;\\n }\\n\\n constructor(IDiamondCut.FacetCut[] memory _diamondCut, DiamondArgs memory _args) payable {\\n LibDiamond.diamondCut(_diamondCut, address(0), new bytes(0));\\n LibDiamond.setContractOwner(_args.owner);\\n\\n LibDiamond.DiamondStorage storage ds = LibDiamond.diamondStorage();\\n\\n // adding ERC165 data\\n ds.supportedInterfaces[type(IERC165).interfaceId] = true;\\n ds.supportedInterfaces[type(IDiamondCut).interfaceId] = true;\\n ds.supportedInterfaces[type(IDiamondLoupe).interfaceId] = true;\\n ds.supportedInterfaces[type(IERC173).interfaceId] = true;\\n }\\n\\n// constructor(address _contractOwner, address _diamondCutFacet) payable {\\n// LibDiamond.setContractOwner(_contractOwner);\\n//\\n// // Add the diamondCut external function from the diamondCutFacet\\n// IDiamondCut.FacetCut[] memory cut = new IDiamondCut.FacetCut[](1);\\n// bytes4[] memory functionSelectors = new bytes4[](1);\\n// functionSelectors[0] = IDiamondCut.diamondCut.selector;\\n// cut[0] = IDiamondCut.FacetCut({\\n// facetAddress: _diamondCutFacet,\\n// action: IDiamondCut.FacetCutAction.Add,\\n// functionSelectors: functionSelectors\\n// });\\n// LibDiamond.diamondCut(cut, address(0), \\\"\\\");\\n// }\\n\\n // Find facet for function that is called and execute the\\n // function if a facet is found and return any value.\\n fallback() external payable {\\n LibDiamond.DiamondStorage storage ds;\\n bytes32 position = LibDiamond.DIAMOND_STORAGE_POSITION;\\n // get diamond storage\\n assembly {\\n ds.slot := position\\n }\\n // get facet from function selector\\n address facet = ds.selectorToFacetAndPosition[msg.sig].facetAddress;\\n require(facet != address(0), \\\"Diamond: Function does not exist\\\");\\n // Execute external function from facet using delegatecall and return any value.\\n assembly {\\n // copy function selector and any arguments\\n calldatacopy(0, 0, calldatasize())\\n // execute function call using the facet\\n let result := delegatecall(gas(), facet, 0, calldatasize(), 0, 0)\\n // get any return value\\n returndatacopy(0, 0, returndatasize())\\n // return any return value or error back to the caller\\n switch result\\n case 0 {\\n revert(0, returndatasize())\\n }\\n default {\\n return(0, returndatasize())\\n }\\n }\\n }\\n\\n receive() external payable {}\\n}\\n\"\n },\n \"solc_0.8/diamond/facets/DiamondCutFacet.sol\": {\n \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.0;\\n\\n/******************************************************************************\\\\\\n* Author: Nick Mudge (https://twitter.com/mudgen)\\n* EIP-2535 Diamonds: https://eips.ethereum.org/EIPS/eip-2535\\n/******************************************************************************/\\n\\nimport { IDiamondCut } from \\\"../interfaces/IDiamondCut.sol\\\";\\nimport { LibDiamond } from \\\"../libraries/LibDiamond.sol\\\";\\n\\ncontract DiamondCutFacet is IDiamondCut {\\n /// @notice Add/replace/remove any number of functions and optionally execute\\n /// a function with delegatecall\\n /// @param _diamondCut Contains the facet addresses and function selectors\\n /// @param _init The address of the contract or facet to execute _calldata\\n /// @param _calldata A function call, including function selector and arguments\\n /// _calldata is executed with delegatecall on _init\\n function diamondCut(\\n FacetCut[] calldata _diamondCut,\\n address _init,\\n bytes calldata _calldata\\n ) external override {\\n LibDiamond.enforceIsContractOwner();\\n LibDiamond.diamondCut(_diamondCut, _init, _calldata);\\n }\\n}\\n\"\n },\n \"solc_0.8/diamond/facets/DiamondLoupeFacet.sol\": {\n \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.0;\\n/******************************************************************************\\\\\\n* Author: Nick Mudge (https://twitter.com/mudgen)\\n* EIP-2535 Diamonds: https://eips.ethereum.org/EIPS/eip-2535\\n/******************************************************************************/\\n\\nimport { LibDiamond } from \\\"../libraries/LibDiamond.sol\\\";\\nimport { IDiamondLoupe } from \\\"../interfaces/IDiamondLoupe.sol\\\";\\nimport { IERC165 } from \\\"../interfaces/IERC165.sol\\\";\\n\\ncontract DiamondLoupeFacet is IDiamondLoupe, IERC165 {\\n // Diamond Loupe Functions\\n ////////////////////////////////////////////////////////////////////\\n /// These functions are expected to be called frequently by tools.\\n //\\n // struct Facet {\\n // address facetAddress;\\n // bytes4[] functionSelectors;\\n // }\\n\\n /// @notice Gets all facets and their selectors.\\n /// @return facets_ Facet\\n function facets() external override view returns (Facet[] memory facets_) {\\n LibDiamond.DiamondStorage storage ds = LibDiamond.diamondStorage();\\n uint256 numFacets = ds.facetAddresses.length;\\n facets_ = new Facet[](numFacets);\\n for (uint256 i; i < numFacets; i++) {\\n address facetAddress_ = ds.facetAddresses[i];\\n facets_[i].facetAddress = facetAddress_;\\n facets_[i].functionSelectors = ds.facetFunctionSelectors[facetAddress_].functionSelectors;\\n }\\n }\\n\\n /// @notice Gets all the function selectors provided by a facet.\\n /// @param _facet The facet address.\\n /// @return facetFunctionSelectors_\\n function facetFunctionSelectors(address _facet) external override view returns (bytes4[] memory facetFunctionSelectors_) {\\n LibDiamond.DiamondStorage storage ds = LibDiamond.diamondStorage();\\n facetFunctionSelectors_ = ds.facetFunctionSelectors[_facet].functionSelectors;\\n }\\n\\n /// @notice Get all the facet addresses used by a diamond.\\n /// @return facetAddresses_\\n function facetAddresses() external override view returns (address[] memory facetAddresses_) {\\n LibDiamond.DiamondStorage storage ds = LibDiamond.diamondStorage();\\n facetAddresses_ = ds.facetAddresses;\\n }\\n\\n /// @notice Gets the facet that supports the given selector.\\n /// @dev If facet is not found return address(0).\\n /// @param _functionSelector The function selector.\\n /// @return facetAddress_ The facet address.\\n function facetAddress(bytes4 _functionSelector) external override view returns (address facetAddress_) {\\n LibDiamond.DiamondStorage storage ds = LibDiamond.diamondStorage();\\n facetAddress_ = ds.selectorToFacetAndPosition[_functionSelector].facetAddress;\\n }\\n\\n // This implements ERC-165.\\n function supportsInterface(bytes4 _interfaceId) external override view returns (bool) {\\n LibDiamond.DiamondStorage storage ds = LibDiamond.diamondStorage();\\n return ds.supportedInterfaces[_interfaceId];\\n }\\n}\\n\"\n },\n \"solc_0.8/diamond/facets/OwnershipFacet.sol\": {\n \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.0;\\n\\nimport { LibDiamond } from \\\"../libraries/LibDiamond.sol\\\";\\nimport { IERC173 } from \\\"../interfaces/IERC173.sol\\\";\\n\\ncontract OwnershipFacet is IERC173 {\\n function transferOwnership(address _newOwner) external override {\\n LibDiamond.enforceIsContractOwner();\\n LibDiamond.setContractOwner(_newOwner);\\n }\\n\\n function owner() external override view returns (address owner_) {\\n owner_ = LibDiamond.contractOwner();\\n }\\n}\\n\"\n },\n \"solc_0.8/diamond/libraries/LibDiamond.sol\": {\n \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.0;\\n\\n/******************************************************************************\\\\\\n* Author: Nick Mudge (https://twitter.com/mudgen)\\n* EIP-2535 Diamonds: https://eips.ethereum.org/EIPS/eip-2535\\n/******************************************************************************/\\nimport { IDiamondCut } from \\\"../interfaces/IDiamondCut.sol\\\";\\n\\nlibrary LibDiamond {\\n bytes32 constant DIAMOND_STORAGE_POSITION = keccak256(\\\"diamond.standard.diamond.storage\\\");\\n\\n struct FacetAddressAndPosition {\\n address facetAddress;\\n uint96 functionSelectorPosition; // position in facetFunctionSelectors.functionSelectors array\\n }\\n\\n struct FacetFunctionSelectors {\\n bytes4[] functionSelectors;\\n uint256 facetAddressPosition; // position of facetAddress in facetAddresses array\\n }\\n\\n struct DiamondStorage {\\n // maps function selector to the facet address and\\n // the position of the selector in the facetFunctionSelectors.selectors array\\n mapping(bytes4 => FacetAddressAndPosition) selectorToFacetAndPosition;\\n // maps facet addresses to function selectors\\n mapping(address => FacetFunctionSelectors) facetFunctionSelectors;\\n // facet addresses\\n address[] facetAddresses;\\n // Used to query if a contract implements an interface.\\n // Used to implement ERC-165.\\n mapping(bytes4 => bool) supportedInterfaces;\\n // owner of the contract\\n address contractOwner;\\n }\\n\\n function diamondStorage() internal pure returns (DiamondStorage storage ds) {\\n bytes32 position = DIAMOND_STORAGE_POSITION;\\n assembly {\\n ds.slot := position\\n }\\n }\\n\\n event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);\\n\\n function setContractOwner(address _newOwner) internal {\\n DiamondStorage storage ds = diamondStorage();\\n address previousOwner = ds.contractOwner;\\n ds.contractOwner = _newOwner;\\n emit OwnershipTransferred(previousOwner, _newOwner);\\n }\\n\\n function contractOwner() internal view returns (address contractOwner_) {\\n contractOwner_ = diamondStorage().contractOwner;\\n }\\n\\n function enforceIsContractOwner() internal view {\\n require(msg.sender == diamondStorage().contractOwner, \\\"LibDiamond: Must be contract owner\\\");\\n }\\n\\n event DiamondCut(IDiamondCut.FacetCut[] _diamondCut, address _init, bytes _calldata);\\n\\n // Internal function version of diamondCut\\n function diamondCut(\\n IDiamondCut.FacetCut[] memory _diamondCut,\\n address _init,\\n bytes memory _calldata\\n ) internal {\\n for (uint256 facetIndex; facetIndex < _diamondCut.length; facetIndex++) {\\n IDiamondCut.FacetCutAction action = _diamondCut[facetIndex].action;\\n if (action == IDiamondCut.FacetCutAction.Add) {\\n addFunctions(_diamondCut[facetIndex].facetAddress, _diamondCut[facetIndex].functionSelectors);\\n } else if (action == IDiamondCut.FacetCutAction.Replace) {\\n replaceFunctions(_diamondCut[facetIndex].facetAddress, _diamondCut[facetIndex].functionSelectors);\\n } else if (action == IDiamondCut.FacetCutAction.Remove) {\\n removeFunctions(_diamondCut[facetIndex].facetAddress, _diamondCut[facetIndex].functionSelectors);\\n } else {\\n revert(\\\"LibDiamondCut: Incorrect FacetCutAction\\\");\\n }\\n }\\n emit DiamondCut(_diamondCut, _init, _calldata);\\n initializeDiamondCut(_init, _calldata);\\n }\\n\\n function addFunctions(address _facetAddress, bytes4[] memory _functionSelectors) internal {\\n require(_functionSelectors.length > 0, \\\"LibDiamondCut: No selectors in facet to cut\\\");\\n DiamondStorage storage ds = diamondStorage(); \\n require(_facetAddress != address(0), \\\"LibDiamondCut: Add facet can't be address(0)\\\");\\n uint96 selectorPosition = uint96(ds.facetFunctionSelectors[_facetAddress].functionSelectors.length);\\n // add new facet address if it does not exist\\n if (selectorPosition == 0) {\\n addFacet(ds, _facetAddress); \\n }\\n for (uint256 selectorIndex; selectorIndex < _functionSelectors.length; selectorIndex++) {\\n bytes4 selector = _functionSelectors[selectorIndex];\\n address oldFacetAddress = ds.selectorToFacetAndPosition[selector].facetAddress;\\n require(oldFacetAddress == address(0), \\\"LibDiamondCut: Can't add function that already exists\\\");\\n addFunction(ds, selector, selectorPosition, _facetAddress);\\n selectorPosition++;\\n }\\n }\\n\\n function replaceFunctions(address _facetAddress, bytes4[] memory _functionSelectors) internal {\\n require(_functionSelectors.length > 0, \\\"LibDiamondCut: No selectors in facet to cut\\\");\\n DiamondStorage storage ds = diamondStorage();\\n require(_facetAddress != address(0), \\\"LibDiamondCut: Add facet can't be address(0)\\\");\\n uint96 selectorPosition = uint96(ds.facetFunctionSelectors[_facetAddress].functionSelectors.length);\\n // add new facet address if it does not exist\\n if (selectorPosition == 0) {\\n addFacet(ds, _facetAddress);\\n }\\n for (uint256 selectorIndex; selectorIndex < _functionSelectors.length; selectorIndex++) {\\n bytes4 selector = _functionSelectors[selectorIndex];\\n address oldFacetAddress = ds.selectorToFacetAndPosition[selector].facetAddress;\\n require(oldFacetAddress != _facetAddress, \\\"LibDiamondCut: Can't replace function with same function\\\");\\n removeFunction(ds, oldFacetAddress, selector);\\n addFunction(ds, selector, selectorPosition, _facetAddress);\\n selectorPosition++;\\n }\\n }\\n\\n function removeFunctions(address _facetAddress, bytes4[] memory _functionSelectors) internal {\\n require(_functionSelectors.length > 0, \\\"LibDiamondCut: No selectors in facet to cut\\\");\\n DiamondStorage storage ds = diamondStorage();\\n // if function does not exist then do nothing and return\\n require(_facetAddress == address(0), \\\"LibDiamondCut: Remove facet address must be address(0)\\\");\\n for (uint256 selectorIndex; selectorIndex < _functionSelectors.length; selectorIndex++) {\\n bytes4 selector = _functionSelectors[selectorIndex];\\n address oldFacetAddress = ds.selectorToFacetAndPosition[selector].facetAddress;\\n removeFunction(ds, oldFacetAddress, selector);\\n }\\n }\\n\\n function addFacet(DiamondStorage storage ds, address _facetAddress) internal {\\n enforceHasContractCode(_facetAddress, \\\"LibDiamondCut: New facet has no code\\\");\\n ds.facetFunctionSelectors[_facetAddress].facetAddressPosition = ds.facetAddresses.length;\\n ds.facetAddresses.push(_facetAddress);\\n } \\n\\n\\n function addFunction(DiamondStorage storage ds, bytes4 _selector, uint96 _selectorPosition, address _facetAddress) internal {\\n ds.selectorToFacetAndPosition[_selector].functionSelectorPosition = _selectorPosition;\\n ds.facetFunctionSelectors[_facetAddress].functionSelectors.push(_selector);\\n ds.selectorToFacetAndPosition[_selector].facetAddress = _facetAddress;\\n }\\n\\n function removeFunction(DiamondStorage storage ds, address _facetAddress, bytes4 _selector) internal { \\n require(_facetAddress != address(0), \\\"LibDiamondCut: Can't remove function that doesn't exist\\\");\\n // an immutable function is a function defined directly in a diamond\\n require(_facetAddress != address(this), \\\"LibDiamondCut: Can't remove immutable function\\\");\\n // replace selector with last selector, then delete last selector\\n uint256 selectorPosition = ds.selectorToFacetAndPosition[_selector].functionSelectorPosition;\\n uint256 lastSelectorPosition = ds.facetFunctionSelectors[_facetAddress].functionSelectors.length - 1;\\n // if not the same then replace _selector with lastSelector\\n if (selectorPosition != lastSelectorPosition) {\\n bytes4 lastSelector = ds.facetFunctionSelectors[_facetAddress].functionSelectors[lastSelectorPosition];\\n ds.facetFunctionSelectors[_facetAddress].functionSelectors[selectorPosition] = lastSelector;\\n ds.selectorToFacetAndPosition[lastSelector].functionSelectorPosition = uint96(selectorPosition);\\n }\\n // delete the last selector\\n ds.facetFunctionSelectors[_facetAddress].functionSelectors.pop();\\n delete ds.selectorToFacetAndPosition[_selector];\\n\\n // if no more selectors for facet address then delete the facet address\\n if (lastSelectorPosition == 0) {\\n // replace facet address with last facet address and delete last facet address\\n uint256 lastFacetAddressPosition = ds.facetAddresses.length - 1;\\n uint256 facetAddressPosition = ds.facetFunctionSelectors[_facetAddress].facetAddressPosition;\\n if (facetAddressPosition != lastFacetAddressPosition) {\\n address lastFacetAddress = ds.facetAddresses[lastFacetAddressPosition];\\n ds.facetAddresses[facetAddressPosition] = lastFacetAddress;\\n ds.facetFunctionSelectors[lastFacetAddress].facetAddressPosition = facetAddressPosition;\\n }\\n ds.facetAddresses.pop();\\n delete ds.facetFunctionSelectors[_facetAddress].facetAddressPosition;\\n }\\n }\\n\\n function initializeDiamondCut(address _init, bytes memory _calldata) internal {\\n if (_init == address(0)) {\\n require(_calldata.length == 0, \\\"LibDiamondCut: _init is address(0) but_calldata is not empty\\\");\\n } else {\\n require(_calldata.length > 0, \\\"LibDiamondCut: _calldata is empty but _init is not address(0)\\\");\\n if (_init != address(this)) {\\n enforceHasContractCode(_init, \\\"LibDiamondCut: _init address has no code\\\");\\n }\\n (bool success, bytes memory error) = _init.delegatecall(_calldata);\\n if (!success) {\\n if (error.length > 0) {\\n // bubble up the error\\n revert(string(error));\\n } else {\\n revert(\\\"LibDiamondCut: _init function reverted\\\");\\n }\\n }\\n }\\n }\\n\\n function enforceHasContractCode(address _contract, string memory _errorMessage) internal view {\\n uint256 contractSize;\\n assembly {\\n contractSize := extcodesize(_contract)\\n }\\n require(contractSize > 0, _errorMessage);\\n }\\n}\\n\"\n },\n \"solc_0.8/diamond/interfaces/IDiamondLoupe.sol\": {\n \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.0;\\n\\n/******************************************************************************\\\\\\n* Author: Nick Mudge (https://twitter.com/mudgen)\\n* EIP-2535 Diamonds: https://eips.ethereum.org/EIPS/eip-2535\\n/******************************************************************************/\\n\\n// A loupe is a small magnifying glass used to look at diamonds.\\n// These functions look at diamonds\\ninterface IDiamondLoupe {\\n /// These functions are expected to be called frequently\\n /// by tools.\\n\\n struct Facet {\\n address facetAddress;\\n bytes4[] functionSelectors;\\n }\\n\\n /// @notice Gets all facet addresses and their four byte function selectors.\\n /// @return facets_ Facet\\n function facets() external view returns (Facet[] memory facets_);\\n\\n /// @notice Gets all the function selectors supported by a specific facet.\\n /// @param _facet The facet address.\\n /// @return facetFunctionSelectors_\\n function facetFunctionSelectors(address _facet) external view returns (bytes4[] memory facetFunctionSelectors_);\\n\\n /// @notice Get all the facet addresses used by a diamond.\\n /// @return facetAddresses_\\n function facetAddresses() external view returns (address[] memory facetAddresses_);\\n\\n /// @notice Gets the facet that supports the given selector.\\n /// @dev If facet is not found return address(0).\\n /// @param _functionSelector The function selector.\\n /// @return facetAddress_ The facet address.\\n function facetAddress(bytes4 _functionSelector) external view returns (address facetAddress_);\\n}\\n\"\n },\n \"solc_0.8/diamond/interfaces/IERC173.sol\": {\n \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.0;\\n\\n/// @title ERC-173 Contract Ownership Standard\\n/// Note: the ERC-165 identifier for this interface is 0x7f5828d0\\n/* is ERC165 */\\ninterface IERC173 {\\n /// @dev This emits when ownership of a contract changes.\\n event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);\\n\\n /// @notice Get the address of the owner\\n /// @return owner_ The address of the owner.\\n function owner() external view returns (address owner_);\\n\\n /// @notice Set the address of the new owner of the contract\\n /// @dev Set _newOwner to address(0) to renounce any ownership.\\n /// @param _newOwner The address of the new owner of the contract\\n function transferOwnership(address _newOwner) external;\\n}\\n\"\n },\n \"solc_0.8/diamond/interfaces/IERC165.sol\": {\n \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.0;\\n\\ninterface IERC165 {\\n /// @notice Query if a contract implements an interface\\n /// @param interfaceId The interface identifier, as specified in ERC-165\\n /// @dev Interface identification is specified in ERC-165. This function\\n /// uses less than 30,000 gas.\\n /// @return `true` if the contract implements `interfaceID` and\\n /// `interfaceID` is not 0xffffffff, `false` otherwise\\n function supportsInterface(bytes4 interfaceId) external view returns (bool);\\n}\\n\"\n },\n \"solc_0.8/diamond/upgradeInitializers/DiamondInit.sol\": {\n \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.0;\\n\\n/******************************************************************************\\\\\\n* Author: Nick Mudge (https://twitter.com/mudgen)\\n* EIP-2535 Diamonds: https://eips.ethereum.org/EIPS/eip-2535\\n*\\n* Implementation of a diamond.\\n/******************************************************************************/\\n\\nimport {LibDiamond} from \\\"../libraries/LibDiamond.sol\\\";\\nimport { IDiamondLoupe } from \\\"../interfaces/IDiamondLoupe.sol\\\";\\nimport { IDiamondCut } from \\\"../interfaces/IDiamondCut.sol\\\";\\nimport { IERC173 } from \\\"../interfaces/IERC173.sol\\\";\\nimport { IERC165 } from \\\"../interfaces/IERC165.sol\\\";\\n\\n// It is exapected that this contract is customized if you want to deploy your diamond\\n// with data from a deployment script. Use the init function to initialize state variables\\n// of your diamond. Add parameters to the init funciton if you need to.\\n\\ncontract DiamondInit { \\n\\n // You can add parameters to this function in order to pass in \\n // data to set your own state variables\\n function init() external {\\n // adding ERC165 data\\n LibDiamond.DiamondStorage storage ds = LibDiamond.diamondStorage();\\n ds.supportedInterfaces[type(IERC165).interfaceId] = true;\\n ds.supportedInterfaces[type(IDiamondCut).interfaceId] = true;\\n ds.supportedInterfaces[type(IDiamondLoupe).interfaceId] = true;\\n ds.supportedInterfaces[type(IERC173).interfaceId] = true;\\n\\n // add your own state variables \\n // EIP-2535 specifies that the `diamondCut` function takes two optional \\n // arguments: address _init and bytes calldata _calldata\\n // These arguments are used to execute an arbitrary function using delegatecall\\n // in order to set state variables in the diamond during deployment or an upgrade\\n // More info here: https://eips.ethereum.org/EIPS/eip-2535#diamond-interface \\n }\\n\\n\\n}\"\n }\n },\n \"settings\": {\n \"optimizer\": {\n \"enabled\": true,\n \"runs\": 999999\n },\n \"outputSelection\": {\n \"*\": {\n \"*\": [\n \"abi\",\n \"evm.bytecode\",\n \"evm.deployedBytecode\",\n \"evm.methodIdentifiers\",\n \"metadata\",\n \"devdoc\",\n \"userdoc\",\n \"storageLayout\",\n \"evm.gasEstimates\"\n ],\n \"\": [\n \"ast\"\n ]\n }\n },\n \"metadata\": {\n \"useLiteralContent\": true\n }\n }\n}", + "solcInputHash": "91f18d120de6fe2bcaa5a3bff0ad9fe7" +} \ No newline at end of file diff --git a/extendedArtifacts/DiamondLoupeFacet.json b/extendedArtifacts/DiamondLoupeFacet.json index 44c7775b..c653f2be 100644 --- a/extendedArtifacts/DiamondLoupeFacet.json +++ b/extendedArtifacts/DiamondLoupeFacet.json @@ -1,6 +1,6 @@ { "contractName": "DiamondLoupeFacet", - "sourceName": "solc_0.7/diamond/facets/DiamondLoupeFacet.sol", + "sourceName": "solc_0.8/diamond/facets/DiamondLoupeFacet.sol", "abi": [ { "inputs": [ @@ -98,8 +98,8 @@ "type": "function" } ], - "bytecode": "0x608060405234801561001057600080fd5b5061071d806100206000396000f3fe608060405234801561001057600080fd5b50600436106100675760003560e01c80637a0ed627116100505780637a0ed627146100aa578063adfca15e146100bf578063cdffacc6146100df57610067565b806301ffc9a71461006c57806352ef6b2c14610095575b600080fd5b61007f61007a36600461050d565b6100ff565b60405161008c91906106dc565b60405180910390f35b61009d61014a565b60405161008c91906105ca565b6100b26101c3565b60405161008c9190610637565b6100d26100cd3660046104d2565b610370565b60405161008c9190610624565b6100f26100ed36600461050d565b61043c565b60405161008c91906105a9565b60008061010a610496565b7fffffffff00000000000000000000000000000000000000000000000000000000841660009081526003909101602052604090205460ff16915050919050565b60606000610156610496565b600281018054604080516020808402820181019092528281529394508301828280156101b857602002820191906000526020600020905b815473ffffffffffffffffffffffffffffffffffffffff16815260019091019060200180831161018d575b505050505091505090565b606060006101cf610496565b60028101549091508067ffffffffffffffff811180156101ee57600080fd5b5060405190808252806020026020018201604052801561022857816020015b6102156104ba565b81526020019060019003908161020d5790505b50925060005b8181101561036a57600083600201828154811061024757fe5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690508085838151811061028157fe5b60209081029190910181015173ffffffffffffffffffffffffffffffffffffffff928316905290821660009081526001860182526040908190208054825181850281018501909352808352919290919083018282801561034257602002820191906000526020600020906000905b82829054906101000a900460e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916815260200190600401906020826003010492830192600103820291508084116102ef5790505b505050505085838151811061035357fe5b60209081029190910181015101525060010161022e565b50505090565b6060600061037c610496565b73ffffffffffffffffffffffffffffffffffffffff84166000908152600182016020908152604091829020805483518184028101840190945280845293945091929083018282801561042f57602002820191906000526020600020906000905b82829054906101000a900460e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916815260200190600401906020826003010492830192600103820291508084116103dc5790505b5050505050915050919050565b600080610447610496565b7fffffffff0000000000000000000000000000000000000000000000000000000090931660009081526020939093525050604090205473ffffffffffffffffffffffffffffffffffffffff1690565b7fc8fcad8db84d3cc18b4c41d551ea0ee66dd599cde068d998e57d5e09332c131c90565b60408051808201909152600081526060602082015290565b6000602082840312156104e3578081fd5b813573ffffffffffffffffffffffffffffffffffffffff81168114610506578182fd5b9392505050565b60006020828403121561051e578081fd5b81357fffffffff0000000000000000000000000000000000000000000000000000000081168114610506578182fd5b6000815180845260208085019450808401835b8381101561059e5781517fffffffff000000000000000000000000000000000000000000000000000000001687529582019590820190600101610560565b509495945050505050565b73ffffffffffffffffffffffffffffffffffffffff91909116815260200190565b6020808252825182820181905260009190848201906040850190845b8181101561061857835173ffffffffffffffffffffffffffffffffffffffff16835292840192918401916001016105e6565b50909695505050505050565b600060208252610506602083018461054d565b60208082528251828201819052600091906040908185019080840286018301878501865b838110156106ce578883037fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc00185528151805173ffffffffffffffffffffffffffffffffffffffff1684528701518784018790526106bb8785018261054d565b958801959350509086019060010161065b565b509098975050505050505050565b90151581526020019056fea264697066735822122089d5ce8d99710bef242a45f969bf2ca524b5bdf0488783bd8b69c2fea19e15ed64736f6c63430007060033", - "deployedBytecode": "0x608060405234801561001057600080fd5b50600436106100675760003560e01c80637a0ed627116100505780637a0ed627146100aa578063adfca15e146100bf578063cdffacc6146100df57610067565b806301ffc9a71461006c57806352ef6b2c14610095575b600080fd5b61007f61007a36600461050d565b6100ff565b60405161008c91906106dc565b60405180910390f35b61009d61014a565b60405161008c91906105ca565b6100b26101c3565b60405161008c9190610637565b6100d26100cd3660046104d2565b610370565b60405161008c9190610624565b6100f26100ed36600461050d565b61043c565b60405161008c91906105a9565b60008061010a610496565b7fffffffff00000000000000000000000000000000000000000000000000000000841660009081526003909101602052604090205460ff16915050919050565b60606000610156610496565b600281018054604080516020808402820181019092528281529394508301828280156101b857602002820191906000526020600020905b815473ffffffffffffffffffffffffffffffffffffffff16815260019091019060200180831161018d575b505050505091505090565b606060006101cf610496565b60028101549091508067ffffffffffffffff811180156101ee57600080fd5b5060405190808252806020026020018201604052801561022857816020015b6102156104ba565b81526020019060019003908161020d5790505b50925060005b8181101561036a57600083600201828154811061024757fe5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690508085838151811061028157fe5b60209081029190910181015173ffffffffffffffffffffffffffffffffffffffff928316905290821660009081526001860182526040908190208054825181850281018501909352808352919290919083018282801561034257602002820191906000526020600020906000905b82829054906101000a900460e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916815260200190600401906020826003010492830192600103820291508084116102ef5790505b505050505085838151811061035357fe5b60209081029190910181015101525060010161022e565b50505090565b6060600061037c610496565b73ffffffffffffffffffffffffffffffffffffffff84166000908152600182016020908152604091829020805483518184028101840190945280845293945091929083018282801561042f57602002820191906000526020600020906000905b82829054906101000a900460e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916815260200190600401906020826003010492830192600103820291508084116103dc5790505b5050505050915050919050565b600080610447610496565b7fffffffff0000000000000000000000000000000000000000000000000000000090931660009081526020939093525050604090205473ffffffffffffffffffffffffffffffffffffffff1690565b7fc8fcad8db84d3cc18b4c41d551ea0ee66dd599cde068d998e57d5e09332c131c90565b60408051808201909152600081526060602082015290565b6000602082840312156104e3578081fd5b813573ffffffffffffffffffffffffffffffffffffffff81168114610506578182fd5b9392505050565b60006020828403121561051e578081fd5b81357fffffffff0000000000000000000000000000000000000000000000000000000081168114610506578182fd5b6000815180845260208085019450808401835b8381101561059e5781517fffffffff000000000000000000000000000000000000000000000000000000001687529582019590820190600101610560565b509495945050505050565b73ffffffffffffffffffffffffffffffffffffffff91909116815260200190565b6020808252825182820181905260009190848201906040850190845b8181101561061857835173ffffffffffffffffffffffffffffffffffffffff16835292840192918401916001016105e6565b50909695505050505050565b600060208252610506602083018461054d565b60208082528251828201819052600091906040908185019080840286018301878501865b838110156106ce578883037fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc00185528151805173ffffffffffffffffffffffffffffffffffffffff1684528701518784018790526106bb8785018261054d565b958801959350509086019060010161065b565b509098975050505050505050565b90151581526020019056fea264697066735822122089d5ce8d99710bef242a45f969bf2ca524b5bdf0488783bd8b69c2fea19e15ed64736f6c63430007060033", + "bytecode": "0x608060405234801561001057600080fd5b5061084e806100206000396000f3fe608060405234801561001057600080fd5b50600436106100675760003560e01c80637a0ed627116100505780637a0ed627146100fa578063adfca15e1461010f578063cdffacc61461012f57600080fd5b806301ffc9a71461006c57806352ef6b2c146100e5575b600080fd5b6100d061007a366004610569565b7fffffffff000000000000000000000000000000000000000000000000000000001660009081527fc8fcad8db84d3cc18b4c41d551ea0ee66dd599cde068d998e57d5e09332c131f602052604090205460ff1690565b60405190151581526020015b60405180910390f35b6100ed6101cb565b6040516100dc91906105b2565b61010261025d565b6040516100dc9190610669565b61012261011d366004610711565b610469565b6040516100dc9190610747565b6101a661013d366004610569565b7fffffffff000000000000000000000000000000000000000000000000000000001660009081527fc8fcad8db84d3cc18b4c41d551ea0ee66dd599cde068d998e57d5e09332c131c602052604090205473ffffffffffffffffffffffffffffffffffffffff1690565b60405173ffffffffffffffffffffffffffffffffffffffff90911681526020016100dc565b606060007fc8fcad8db84d3cc18b4c41d551ea0ee66dd599cde068d998e57d5e09332c131c6002810180546040805160208084028201810190925282815293945083018282801561025257602002820191906000526020600020905b815473ffffffffffffffffffffffffffffffffffffffff168152600190910190602001808311610227575b505050505091505090565b7fc8fcad8db84d3cc18b4c41d551ea0ee66dd599cde068d998e57d5e09332c131e546060907fc8fcad8db84d3cc18b4c41d551ea0ee66dd599cde068d998e57d5e09332c131c908067ffffffffffffffff8111156102bd576102bd61075a565b60405190808252806020026020018201604052801561030357816020015b6040805180820190915260008152606060208201528152602001906001900390816102db5790505b50925060005b8181101561046357600083600201828154811061032857610328610789565b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690508085838151811061036857610368610789565b60209081029190910181015173ffffffffffffffffffffffffffffffffffffffff928316905290821660009081526001860182526040908190208054825181850281018501909352808352919290919083018282801561042957602002820191906000526020600020906000905b82829054906101000a900460e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916815260200190600401906020826003010492830192600103820291508084116103d65790505b505050505085838151811061044057610440610789565b60200260200101516020018190525050808061045b906107b8565b915050610309565b50505090565b73ffffffffffffffffffffffffffffffffffffffff811660009081527fc8fcad8db84d3cc18b4c41d551ea0ee66dd599cde068d998e57d5e09332c131d602090815260409182902080548351818402810184019094528084526060937fc8fcad8db84d3cc18b4c41d551ea0ee66dd599cde068d998e57d5e09332c131c939092919083018282801561055c57602002820191906000526020600020906000905b82829054906101000a900460e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916815260200190600401906020826003010492830192600103820291508084116105095790505b5050505050915050919050565b60006020828403121561057b57600080fd5b81357fffffffff00000000000000000000000000000000000000000000000000000000811681146105ab57600080fd5b9392505050565b6020808252825182820181905260009190848201906040850190845b8181101561060057835173ffffffffffffffffffffffffffffffffffffffff16835292840192918401916001016105ce565b50909695505050505050565b600081518084526020808501945080840160005b8381101561065e5781517fffffffff000000000000000000000000000000000000000000000000000000001687529582019590820190600101610620565b509495945050505050565b60006020808301818452808551808352604092508286019150828160051b87010184880160005b83811015610703578883037fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc00185528151805173ffffffffffffffffffffffffffffffffffffffff1684528701518784018790526106f08785018261060c565b9588019593505090860190600101610690565b509098975050505050505050565b60006020828403121561072357600080fd5b813573ffffffffffffffffffffffffffffffffffffffff811681146105ab57600080fd5b6020815260006105ab602083018461060c565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415610811577f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b506001019056fea26469706673582212200c5b177de2aed4874ebd4bc1dd3a8af2d25547fdd59ba0c61e502f7a15c95e1a64736f6c63430008090033", + "deployedBytecode": "0x608060405234801561001057600080fd5b50600436106100675760003560e01c80637a0ed627116100505780637a0ed627146100fa578063adfca15e1461010f578063cdffacc61461012f57600080fd5b806301ffc9a71461006c57806352ef6b2c146100e5575b600080fd5b6100d061007a366004610569565b7fffffffff000000000000000000000000000000000000000000000000000000001660009081527fc8fcad8db84d3cc18b4c41d551ea0ee66dd599cde068d998e57d5e09332c131f602052604090205460ff1690565b60405190151581526020015b60405180910390f35b6100ed6101cb565b6040516100dc91906105b2565b61010261025d565b6040516100dc9190610669565b61012261011d366004610711565b610469565b6040516100dc9190610747565b6101a661013d366004610569565b7fffffffff000000000000000000000000000000000000000000000000000000001660009081527fc8fcad8db84d3cc18b4c41d551ea0ee66dd599cde068d998e57d5e09332c131c602052604090205473ffffffffffffffffffffffffffffffffffffffff1690565b60405173ffffffffffffffffffffffffffffffffffffffff90911681526020016100dc565b606060007fc8fcad8db84d3cc18b4c41d551ea0ee66dd599cde068d998e57d5e09332c131c6002810180546040805160208084028201810190925282815293945083018282801561025257602002820191906000526020600020905b815473ffffffffffffffffffffffffffffffffffffffff168152600190910190602001808311610227575b505050505091505090565b7fc8fcad8db84d3cc18b4c41d551ea0ee66dd599cde068d998e57d5e09332c131e546060907fc8fcad8db84d3cc18b4c41d551ea0ee66dd599cde068d998e57d5e09332c131c908067ffffffffffffffff8111156102bd576102bd61075a565b60405190808252806020026020018201604052801561030357816020015b6040805180820190915260008152606060208201528152602001906001900390816102db5790505b50925060005b8181101561046357600083600201828154811061032857610328610789565b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690508085838151811061036857610368610789565b60209081029190910181015173ffffffffffffffffffffffffffffffffffffffff928316905290821660009081526001860182526040908190208054825181850281018501909352808352919290919083018282801561042957602002820191906000526020600020906000905b82829054906101000a900460e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916815260200190600401906020826003010492830192600103820291508084116103d65790505b505050505085838151811061044057610440610789565b60200260200101516020018190525050808061045b906107b8565b915050610309565b50505090565b73ffffffffffffffffffffffffffffffffffffffff811660009081527fc8fcad8db84d3cc18b4c41d551ea0ee66dd599cde068d998e57d5e09332c131d602090815260409182902080548351818402810184019094528084526060937fc8fcad8db84d3cc18b4c41d551ea0ee66dd599cde068d998e57d5e09332c131c939092919083018282801561055c57602002820191906000526020600020906000905b82829054906101000a900460e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916815260200190600401906020826003010492830192600103820291508084116105095790505b5050505050915050919050565b60006020828403121561057b57600080fd5b81357fffffffff00000000000000000000000000000000000000000000000000000000811681146105ab57600080fd5b9392505050565b6020808252825182820181905260009190848201906040850190845b8181101561060057835173ffffffffffffffffffffffffffffffffffffffff16835292840192918401916001016105ce565b50909695505050505050565b600081518084526020808501945080840160005b8381101561065e5781517fffffffff000000000000000000000000000000000000000000000000000000001687529582019590820190600101610620565b509495945050505050565b60006020808301818452808551808352604092508286019150828160051b87010184880160005b83811015610703578883037fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc00185528151805173ffffffffffffffffffffffffffffffffffffffff1684528701518784018790526106f08785018261060c565b9588019593505090860190600101610690565b509098975050505050505050565b60006020828403121561072357600080fd5b813573ffffffffffffffffffffffffffffffffffffffff811681146105ab57600080fd5b6020815260006105ab602083018461060c565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415610811577f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b506001019056fea26469706673582212200c5b177de2aed4874ebd4bc1dd3a8af2d25547fdd59ba0c61e502f7a15c95e1a64736f6c63430008090033", "linkReferences": {}, "deployedLinkReferences": {}, "devdoc": { @@ -137,57 +137,166 @@ }, "evm": { "bytecode": { + "functionDebugData": {}, "generatedSources": [], "linkReferences": {}, - "opcodes": "PUSH1 0x80 PUSH1 0x40 MSTORE CALLVALUE DUP1 ISZERO PUSH2 0x10 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH2 0x71D DUP1 PUSH2 0x20 PUSH1 0x0 CODECOPY PUSH1 0x0 RETURN INVALID PUSH1 0x80 PUSH1 0x40 MSTORE CALLVALUE DUP1 ISZERO PUSH2 0x10 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH1 0x4 CALLDATASIZE LT PUSH2 0x67 JUMPI PUSH1 0x0 CALLDATALOAD PUSH1 0xE0 SHR DUP1 PUSH4 0x7A0ED627 GT PUSH2 0x50 JUMPI DUP1 PUSH4 0x7A0ED627 EQ PUSH2 0xAA JUMPI DUP1 PUSH4 0xADFCA15E EQ PUSH2 0xBF JUMPI DUP1 PUSH4 0xCDFFACC6 EQ PUSH2 0xDF JUMPI PUSH2 0x67 JUMP JUMPDEST DUP1 PUSH4 0x1FFC9A7 EQ PUSH2 0x6C JUMPI DUP1 PUSH4 0x52EF6B2C EQ PUSH2 0x95 JUMPI JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x7F PUSH2 0x7A CALLDATASIZE PUSH1 0x4 PUSH2 0x50D JUMP JUMPDEST PUSH2 0xFF JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x8C SWAP2 SWAP1 PUSH2 0x6DC JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH2 0x9D PUSH2 0x14A JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x8C SWAP2 SWAP1 PUSH2 0x5CA JUMP JUMPDEST PUSH2 0xB2 PUSH2 0x1C3 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x8C SWAP2 SWAP1 PUSH2 0x637 JUMP JUMPDEST PUSH2 0xD2 PUSH2 0xCD CALLDATASIZE PUSH1 0x4 PUSH2 0x4D2 JUMP JUMPDEST PUSH2 0x370 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x8C SWAP2 SWAP1 PUSH2 0x624 JUMP JUMPDEST PUSH2 0xF2 PUSH2 0xED CALLDATASIZE PUSH1 0x4 PUSH2 0x50D JUMP JUMPDEST PUSH2 0x43C JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x8C SWAP2 SWAP1 PUSH2 0x5A9 JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH2 0x10A PUSH2 0x496 JUMP JUMPDEST PUSH32 0xFFFFFFFF00000000000000000000000000000000000000000000000000000000 DUP5 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x3 SWAP1 SWAP2 ADD PUSH1 0x20 MSTORE PUSH1 0x40 SWAP1 KECCAK256 SLOAD PUSH1 0xFF AND SWAP2 POP POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x60 PUSH1 0x0 PUSH2 0x156 PUSH2 0x496 JUMP JUMPDEST PUSH1 0x2 DUP2 ADD DUP1 SLOAD PUSH1 0x40 DUP1 MLOAD PUSH1 0x20 DUP1 DUP5 MUL DUP3 ADD DUP2 ADD SWAP1 SWAP3 MSTORE DUP3 DUP2 MSTORE SWAP4 SWAP5 POP DUP4 ADD DUP3 DUP3 DUP1 ISZERO PUSH2 0x1B8 JUMPI PUSH1 0x20 MUL DUP3 ADD SWAP2 SWAP1 PUSH1 0x0 MSTORE PUSH1 0x20 PUSH1 0x0 KECCAK256 SWAP1 JUMPDEST DUP2 SLOAD PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP2 MSTORE PUSH1 0x1 SWAP1 SWAP2 ADD SWAP1 PUSH1 0x20 ADD DUP1 DUP4 GT PUSH2 0x18D JUMPI JUMPDEST POP POP POP POP POP SWAP2 POP POP SWAP1 JUMP JUMPDEST PUSH1 0x60 PUSH1 0x0 PUSH2 0x1CF PUSH2 0x496 JUMP JUMPDEST PUSH1 0x2 DUP2 ADD SLOAD SWAP1 SWAP2 POP DUP1 PUSH8 0xFFFFFFFFFFFFFFFF DUP2 GT DUP1 ISZERO PUSH2 0x1EE JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH1 0x40 MLOAD SWAP1 DUP1 DUP3 MSTORE DUP1 PUSH1 0x20 MUL PUSH1 0x20 ADD DUP3 ADD PUSH1 0x40 MSTORE DUP1 ISZERO PUSH2 0x228 JUMPI DUP2 PUSH1 0x20 ADD JUMPDEST PUSH2 0x215 PUSH2 0x4BA JUMP JUMPDEST DUP2 MSTORE PUSH1 0x20 ADD SWAP1 PUSH1 0x1 SWAP1 SUB SWAP1 DUP2 PUSH2 0x20D JUMPI SWAP1 POP JUMPDEST POP SWAP3 POP PUSH1 0x0 JUMPDEST DUP2 DUP2 LT ISZERO PUSH2 0x36A JUMPI PUSH1 0x0 DUP4 PUSH1 0x2 ADD DUP3 DUP2 SLOAD DUP2 LT PUSH2 0x247 JUMPI INVALID JUMPDEST SWAP1 PUSH1 0x0 MSTORE PUSH1 0x20 PUSH1 0x0 KECCAK256 ADD PUSH1 0x0 SWAP1 SLOAD SWAP1 PUSH2 0x100 EXP SWAP1 DIV PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND SWAP1 POP DUP1 DUP6 DUP4 DUP2 MLOAD DUP2 LT PUSH2 0x281 JUMPI INVALID JUMPDEST PUSH1 0x20 SWAP1 DUP2 MUL SWAP2 SWAP1 SWAP2 ADD DUP2 ADD MLOAD PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF SWAP3 DUP4 AND SWAP1 MSTORE SWAP1 DUP3 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x1 DUP7 ADD DUP3 MSTORE PUSH1 0x40 SWAP1 DUP2 SWAP1 KECCAK256 DUP1 SLOAD DUP3 MLOAD DUP2 DUP6 MUL DUP2 ADD DUP6 ADD SWAP1 SWAP4 MSTORE DUP1 DUP4 MSTORE SWAP2 SWAP3 SWAP1 SWAP2 SWAP1 DUP4 ADD DUP3 DUP3 DUP1 ISZERO PUSH2 0x342 JUMPI PUSH1 0x20 MUL DUP3 ADD SWAP2 SWAP1 PUSH1 0x0 MSTORE PUSH1 0x20 PUSH1 0x0 KECCAK256 SWAP1 PUSH1 0x0 SWAP1 JUMPDEST DUP3 DUP3 SWAP1 SLOAD SWAP1 PUSH2 0x100 EXP SWAP1 DIV PUSH1 0xE0 SHL PUSH28 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF NOT AND DUP2 MSTORE PUSH1 0x20 ADD SWAP1 PUSH1 0x4 ADD SWAP1 PUSH1 0x20 DUP3 PUSH1 0x3 ADD DIV SWAP3 DUP4 ADD SWAP3 PUSH1 0x1 SUB DUP3 MUL SWAP2 POP DUP1 DUP5 GT PUSH2 0x2EF JUMPI SWAP1 POP JUMPDEST POP POP POP POP POP DUP6 DUP4 DUP2 MLOAD DUP2 LT PUSH2 0x353 JUMPI INVALID JUMPDEST PUSH1 0x20 SWAP1 DUP2 MUL SWAP2 SWAP1 SWAP2 ADD DUP2 ADD MLOAD ADD MSTORE POP PUSH1 0x1 ADD PUSH2 0x22E JUMP JUMPDEST POP POP POP SWAP1 JUMP JUMPDEST PUSH1 0x60 PUSH1 0x0 PUSH2 0x37C PUSH2 0x496 JUMP JUMPDEST PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP5 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x1 DUP3 ADD PUSH1 0x20 SWAP1 DUP2 MSTORE PUSH1 0x40 SWAP2 DUP3 SWAP1 KECCAK256 DUP1 SLOAD DUP4 MLOAD DUP2 DUP5 MUL DUP2 ADD DUP5 ADD SWAP1 SWAP5 MSTORE DUP1 DUP5 MSTORE SWAP4 SWAP5 POP SWAP2 SWAP3 SWAP1 DUP4 ADD DUP3 DUP3 DUP1 ISZERO PUSH2 0x42F JUMPI PUSH1 0x20 MUL DUP3 ADD SWAP2 SWAP1 PUSH1 0x0 MSTORE PUSH1 0x20 PUSH1 0x0 KECCAK256 SWAP1 PUSH1 0x0 SWAP1 JUMPDEST DUP3 DUP3 SWAP1 SLOAD SWAP1 PUSH2 0x100 EXP SWAP1 DIV PUSH1 0xE0 SHL PUSH28 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF NOT AND DUP2 MSTORE PUSH1 0x20 ADD SWAP1 PUSH1 0x4 ADD SWAP1 PUSH1 0x20 DUP3 PUSH1 0x3 ADD DIV SWAP3 DUP4 ADD SWAP3 PUSH1 0x1 SUB DUP3 MUL SWAP2 POP DUP1 DUP5 GT PUSH2 0x3DC JUMPI SWAP1 POP JUMPDEST POP POP POP POP POP SWAP2 POP POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH2 0x447 PUSH2 0x496 JUMP JUMPDEST PUSH32 0xFFFFFFFF00000000000000000000000000000000000000000000000000000000 SWAP1 SWAP4 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x20 SWAP4 SWAP1 SWAP4 MSTORE POP POP PUSH1 0x40 SWAP1 KECCAK256 SLOAD PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND SWAP1 JUMP JUMPDEST PUSH32 0xC8FCAD8DB84D3CC18B4C41D551EA0EE66DD599CDE068D998E57D5E09332C131C SWAP1 JUMP JUMPDEST PUSH1 0x40 DUP1 MLOAD DUP1 DUP3 ADD SWAP1 SWAP2 MSTORE PUSH1 0x0 DUP2 MSTORE PUSH1 0x60 PUSH1 0x20 DUP3 ADD MSTORE SWAP1 JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x4E3 JUMPI DUP1 DUP2 REVERT JUMPDEST DUP2 CALLDATALOAD PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP2 AND DUP2 EQ PUSH2 0x506 JUMPI DUP2 DUP3 REVERT JUMPDEST SWAP4 SWAP3 POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x51E JUMPI DUP1 DUP2 REVERT JUMPDEST DUP2 CALLDATALOAD PUSH32 0xFFFFFFFF00000000000000000000000000000000000000000000000000000000 DUP2 AND DUP2 EQ PUSH2 0x506 JUMPI DUP2 DUP3 REVERT JUMPDEST PUSH1 0x0 DUP2 MLOAD DUP1 DUP5 MSTORE PUSH1 0x20 DUP1 DUP6 ADD SWAP5 POP DUP1 DUP5 ADD DUP4 JUMPDEST DUP4 DUP2 LT ISZERO PUSH2 0x59E JUMPI DUP2 MLOAD PUSH32 0xFFFFFFFF00000000000000000000000000000000000000000000000000000000 AND DUP8 MSTORE SWAP6 DUP3 ADD SWAP6 SWAP1 DUP3 ADD SWAP1 PUSH1 0x1 ADD PUSH2 0x560 JUMP JUMPDEST POP SWAP5 SWAP6 SWAP5 POP POP POP POP POP JUMP JUMPDEST PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF SWAP2 SWAP1 SWAP2 AND DUP2 MSTORE PUSH1 0x20 ADD SWAP1 JUMP JUMPDEST PUSH1 0x20 DUP1 DUP3 MSTORE DUP3 MLOAD DUP3 DUP3 ADD DUP2 SWAP1 MSTORE PUSH1 0x0 SWAP2 SWAP1 DUP5 DUP3 ADD SWAP1 PUSH1 0x40 DUP6 ADD SWAP1 DUP5 JUMPDEST DUP2 DUP2 LT ISZERO PUSH2 0x618 JUMPI DUP4 MLOAD PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP4 MSTORE SWAP3 DUP5 ADD SWAP3 SWAP2 DUP5 ADD SWAP2 PUSH1 0x1 ADD PUSH2 0x5E6 JUMP JUMPDEST POP SWAP1 SWAP7 SWAP6 POP POP POP POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 MSTORE PUSH2 0x506 PUSH1 0x20 DUP4 ADD DUP5 PUSH2 0x54D JUMP JUMPDEST PUSH1 0x20 DUP1 DUP3 MSTORE DUP3 MLOAD DUP3 DUP3 ADD DUP2 SWAP1 MSTORE PUSH1 0x0 SWAP2 SWAP1 PUSH1 0x40 SWAP1 DUP2 DUP6 ADD SWAP1 DUP1 DUP5 MUL DUP7 ADD DUP4 ADD DUP8 DUP6 ADD DUP7 JUMPDEST DUP4 DUP2 LT ISZERO PUSH2 0x6CE JUMPI DUP9 DUP4 SUB PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFC0 ADD DUP6 MSTORE DUP2 MLOAD DUP1 MLOAD PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP5 MSTORE DUP8 ADD MLOAD DUP8 DUP5 ADD DUP8 SWAP1 MSTORE PUSH2 0x6BB DUP8 DUP6 ADD DUP3 PUSH2 0x54D JUMP JUMPDEST SWAP6 DUP9 ADD SWAP6 SWAP4 POP POP SWAP1 DUP7 ADD SWAP1 PUSH1 0x1 ADD PUSH2 0x65B JUMP JUMPDEST POP SWAP1 SWAP9 SWAP8 POP POP POP POP POP POP POP POP JUMP JUMPDEST SWAP1 ISZERO ISZERO DUP2 MSTORE PUSH1 0x20 ADD SWAP1 JUMP INVALID LOG2 PUSH5 0x6970667358 0x22 SLT KECCAK256 DUP10 0xD5 0xCE DUP14 SWAP10 PUSH18 0xBEF242A45F969BF2CA524B5BDF0488783BD DUP12 PUSH10 0xC2FEA19E15ED64736F6C PUSH4 0x43000706 STOP CALLER ", - "sourceMap": "561:2484:3:-:0;;;;;;;;;;;;;;;;;;;" + "opcodes": "PUSH1 0x80 PUSH1 0x40 MSTORE CALLVALUE DUP1 ISZERO PUSH2 0x10 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH2 0x84E DUP1 PUSH2 0x20 PUSH1 0x0 CODECOPY PUSH1 0x0 RETURN INVALID PUSH1 0x80 PUSH1 0x40 MSTORE CALLVALUE DUP1 ISZERO PUSH2 0x10 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH1 0x4 CALLDATASIZE LT PUSH2 0x67 JUMPI PUSH1 0x0 CALLDATALOAD PUSH1 0xE0 SHR DUP1 PUSH4 0x7A0ED627 GT PUSH2 0x50 JUMPI DUP1 PUSH4 0x7A0ED627 EQ PUSH2 0xFA JUMPI DUP1 PUSH4 0xADFCA15E EQ PUSH2 0x10F JUMPI DUP1 PUSH4 0xCDFFACC6 EQ PUSH2 0x12F JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP1 PUSH4 0x1FFC9A7 EQ PUSH2 0x6C JUMPI DUP1 PUSH4 0x52EF6B2C EQ PUSH2 0xE5 JUMPI JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0xD0 PUSH2 0x7A CALLDATASIZE PUSH1 0x4 PUSH2 0x569 JUMP JUMPDEST PUSH32 0xFFFFFFFF00000000000000000000000000000000000000000000000000000000 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH32 0xC8FCAD8DB84D3CC18B4C41D551EA0EE66DD599CDE068D998E57D5E09332C131F PUSH1 0x20 MSTORE PUSH1 0x40 SWAP1 KECCAK256 SLOAD PUSH1 0xFF AND SWAP1 JUMP JUMPDEST PUSH1 0x40 MLOAD SWAP1 ISZERO ISZERO DUP2 MSTORE PUSH1 0x20 ADD JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH2 0xED PUSH2 0x1CB JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0xDC SWAP2 SWAP1 PUSH2 0x5B2 JUMP JUMPDEST PUSH2 0x102 PUSH2 0x25D JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0xDC SWAP2 SWAP1 PUSH2 0x669 JUMP JUMPDEST PUSH2 0x122 PUSH2 0x11D CALLDATASIZE PUSH1 0x4 PUSH2 0x711 JUMP JUMPDEST PUSH2 0x469 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0xDC SWAP2 SWAP1 PUSH2 0x747 JUMP JUMPDEST PUSH2 0x1A6 PUSH2 0x13D CALLDATASIZE PUSH1 0x4 PUSH2 0x569 JUMP JUMPDEST PUSH32 0xFFFFFFFF00000000000000000000000000000000000000000000000000000000 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH32 0xC8FCAD8DB84D3CC18B4C41D551EA0EE66DD599CDE068D998E57D5E09332C131C PUSH1 0x20 MSTORE PUSH1 0x40 SWAP1 KECCAK256 SLOAD PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND SWAP1 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF SWAP1 SWAP2 AND DUP2 MSTORE PUSH1 0x20 ADD PUSH2 0xDC JUMP JUMPDEST PUSH1 0x60 PUSH1 0x0 PUSH32 0xC8FCAD8DB84D3CC18B4C41D551EA0EE66DD599CDE068D998E57D5E09332C131C PUSH1 0x2 DUP2 ADD DUP1 SLOAD PUSH1 0x40 DUP1 MLOAD PUSH1 0x20 DUP1 DUP5 MUL DUP3 ADD DUP2 ADD SWAP1 SWAP3 MSTORE DUP3 DUP2 MSTORE SWAP4 SWAP5 POP DUP4 ADD DUP3 DUP3 DUP1 ISZERO PUSH2 0x252 JUMPI PUSH1 0x20 MUL DUP3 ADD SWAP2 SWAP1 PUSH1 0x0 MSTORE PUSH1 0x20 PUSH1 0x0 KECCAK256 SWAP1 JUMPDEST DUP2 SLOAD PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP2 MSTORE PUSH1 0x1 SWAP1 SWAP2 ADD SWAP1 PUSH1 0x20 ADD DUP1 DUP4 GT PUSH2 0x227 JUMPI JUMPDEST POP POP POP POP POP SWAP2 POP POP SWAP1 JUMP JUMPDEST PUSH32 0xC8FCAD8DB84D3CC18B4C41D551EA0EE66DD599CDE068D998E57D5E09332C131E SLOAD PUSH1 0x60 SWAP1 PUSH32 0xC8FCAD8DB84D3CC18B4C41D551EA0EE66DD599CDE068D998E57D5E09332C131C SWAP1 DUP1 PUSH8 0xFFFFFFFFFFFFFFFF DUP2 GT ISZERO PUSH2 0x2BD JUMPI PUSH2 0x2BD PUSH2 0x75A JUMP JUMPDEST PUSH1 0x40 MLOAD SWAP1 DUP1 DUP3 MSTORE DUP1 PUSH1 0x20 MUL PUSH1 0x20 ADD DUP3 ADD PUSH1 0x40 MSTORE DUP1 ISZERO PUSH2 0x303 JUMPI DUP2 PUSH1 0x20 ADD JUMPDEST PUSH1 0x40 DUP1 MLOAD DUP1 DUP3 ADD SWAP1 SWAP2 MSTORE PUSH1 0x0 DUP2 MSTORE PUSH1 0x60 PUSH1 0x20 DUP3 ADD MSTORE DUP2 MSTORE PUSH1 0x20 ADD SWAP1 PUSH1 0x1 SWAP1 SUB SWAP1 DUP2 PUSH2 0x2DB JUMPI SWAP1 POP JUMPDEST POP SWAP3 POP PUSH1 0x0 JUMPDEST DUP2 DUP2 LT ISZERO PUSH2 0x463 JUMPI PUSH1 0x0 DUP4 PUSH1 0x2 ADD DUP3 DUP2 SLOAD DUP2 LT PUSH2 0x328 JUMPI PUSH2 0x328 PUSH2 0x789 JUMP JUMPDEST SWAP1 PUSH1 0x0 MSTORE PUSH1 0x20 PUSH1 0x0 KECCAK256 ADD PUSH1 0x0 SWAP1 SLOAD SWAP1 PUSH2 0x100 EXP SWAP1 DIV PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND SWAP1 POP DUP1 DUP6 DUP4 DUP2 MLOAD DUP2 LT PUSH2 0x368 JUMPI PUSH2 0x368 PUSH2 0x789 JUMP JUMPDEST PUSH1 0x20 SWAP1 DUP2 MUL SWAP2 SWAP1 SWAP2 ADD DUP2 ADD MLOAD PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF SWAP3 DUP4 AND SWAP1 MSTORE SWAP1 DUP3 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x1 DUP7 ADD DUP3 MSTORE PUSH1 0x40 SWAP1 DUP2 SWAP1 KECCAK256 DUP1 SLOAD DUP3 MLOAD DUP2 DUP6 MUL DUP2 ADD DUP6 ADD SWAP1 SWAP4 MSTORE DUP1 DUP4 MSTORE SWAP2 SWAP3 SWAP1 SWAP2 SWAP1 DUP4 ADD DUP3 DUP3 DUP1 ISZERO PUSH2 0x429 JUMPI PUSH1 0x20 MUL DUP3 ADD SWAP2 SWAP1 PUSH1 0x0 MSTORE PUSH1 0x20 PUSH1 0x0 KECCAK256 SWAP1 PUSH1 0x0 SWAP1 JUMPDEST DUP3 DUP3 SWAP1 SLOAD SWAP1 PUSH2 0x100 EXP SWAP1 DIV PUSH1 0xE0 SHL PUSH28 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF NOT AND DUP2 MSTORE PUSH1 0x20 ADD SWAP1 PUSH1 0x4 ADD SWAP1 PUSH1 0x20 DUP3 PUSH1 0x3 ADD DIV SWAP3 DUP4 ADD SWAP3 PUSH1 0x1 SUB DUP3 MUL SWAP2 POP DUP1 DUP5 GT PUSH2 0x3D6 JUMPI SWAP1 POP JUMPDEST POP POP POP POP POP DUP6 DUP4 DUP2 MLOAD DUP2 LT PUSH2 0x440 JUMPI PUSH2 0x440 PUSH2 0x789 JUMP JUMPDEST PUSH1 0x20 MUL PUSH1 0x20 ADD ADD MLOAD PUSH1 0x20 ADD DUP2 SWAP1 MSTORE POP POP DUP1 DUP1 PUSH2 0x45B SWAP1 PUSH2 0x7B8 JUMP JUMPDEST SWAP2 POP POP PUSH2 0x309 JUMP JUMPDEST POP POP POP SWAP1 JUMP JUMPDEST PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP2 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH32 0xC8FCAD8DB84D3CC18B4C41D551EA0EE66DD599CDE068D998E57D5E09332C131D PUSH1 0x20 SWAP1 DUP2 MSTORE PUSH1 0x40 SWAP2 DUP3 SWAP1 KECCAK256 DUP1 SLOAD DUP4 MLOAD DUP2 DUP5 MUL DUP2 ADD DUP5 ADD SWAP1 SWAP5 MSTORE DUP1 DUP5 MSTORE PUSH1 0x60 SWAP4 PUSH32 0xC8FCAD8DB84D3CC18B4C41D551EA0EE66DD599CDE068D998E57D5E09332C131C SWAP4 SWAP1 SWAP3 SWAP2 SWAP1 DUP4 ADD DUP3 DUP3 DUP1 ISZERO PUSH2 0x55C JUMPI PUSH1 0x20 MUL DUP3 ADD SWAP2 SWAP1 PUSH1 0x0 MSTORE PUSH1 0x20 PUSH1 0x0 KECCAK256 SWAP1 PUSH1 0x0 SWAP1 JUMPDEST DUP3 DUP3 SWAP1 SLOAD SWAP1 PUSH2 0x100 EXP SWAP1 DIV PUSH1 0xE0 SHL PUSH28 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF NOT AND DUP2 MSTORE PUSH1 0x20 ADD SWAP1 PUSH1 0x4 ADD SWAP1 PUSH1 0x20 DUP3 PUSH1 0x3 ADD DIV SWAP3 DUP4 ADD SWAP3 PUSH1 0x1 SUB DUP3 MUL SWAP2 POP DUP1 DUP5 GT PUSH2 0x509 JUMPI SWAP1 POP JUMPDEST POP POP POP POP POP SWAP2 POP POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x57B JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP2 CALLDATALOAD PUSH32 0xFFFFFFFF00000000000000000000000000000000000000000000000000000000 DUP2 AND DUP2 EQ PUSH2 0x5AB JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST SWAP4 SWAP3 POP POP POP JUMP JUMPDEST PUSH1 0x20 DUP1 DUP3 MSTORE DUP3 MLOAD DUP3 DUP3 ADD DUP2 SWAP1 MSTORE PUSH1 0x0 SWAP2 SWAP1 DUP5 DUP3 ADD SWAP1 PUSH1 0x40 DUP6 ADD SWAP1 DUP5 JUMPDEST DUP2 DUP2 LT ISZERO PUSH2 0x600 JUMPI DUP4 MLOAD PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP4 MSTORE SWAP3 DUP5 ADD SWAP3 SWAP2 DUP5 ADD SWAP2 PUSH1 0x1 ADD PUSH2 0x5CE JUMP JUMPDEST POP SWAP1 SWAP7 SWAP6 POP POP POP POP POP POP JUMP JUMPDEST PUSH1 0x0 DUP2 MLOAD DUP1 DUP5 MSTORE PUSH1 0x20 DUP1 DUP6 ADD SWAP5 POP DUP1 DUP5 ADD PUSH1 0x0 JUMPDEST DUP4 DUP2 LT ISZERO PUSH2 0x65E JUMPI DUP2 MLOAD PUSH32 0xFFFFFFFF00000000000000000000000000000000000000000000000000000000 AND DUP8 MSTORE SWAP6 DUP3 ADD SWAP6 SWAP1 DUP3 ADD SWAP1 PUSH1 0x1 ADD PUSH2 0x620 JUMP JUMPDEST POP SWAP5 SWAP6 SWAP5 POP POP POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP1 DUP4 ADD DUP2 DUP5 MSTORE DUP1 DUP6 MLOAD DUP1 DUP4 MSTORE PUSH1 0x40 SWAP3 POP DUP3 DUP7 ADD SWAP2 POP DUP3 DUP2 PUSH1 0x5 SHL DUP8 ADD ADD DUP5 DUP9 ADD PUSH1 0x0 JUMPDEST DUP4 DUP2 LT ISZERO PUSH2 0x703 JUMPI DUP9 DUP4 SUB PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFC0 ADD DUP6 MSTORE DUP2 MLOAD DUP1 MLOAD PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP5 MSTORE DUP8 ADD MLOAD DUP8 DUP5 ADD DUP8 SWAP1 MSTORE PUSH2 0x6F0 DUP8 DUP6 ADD DUP3 PUSH2 0x60C JUMP JUMPDEST SWAP6 DUP9 ADD SWAP6 SWAP4 POP POP SWAP1 DUP7 ADD SWAP1 PUSH1 0x1 ADD PUSH2 0x690 JUMP JUMPDEST POP SWAP1 SWAP9 SWAP8 POP POP POP POP POP POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x723 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP2 CALLDATALOAD PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP2 AND DUP2 EQ PUSH2 0x5AB JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x20 DUP2 MSTORE PUSH1 0x0 PUSH2 0x5AB PUSH1 0x20 DUP4 ADD DUP5 PUSH2 0x60C JUMP JUMPDEST PUSH32 0x4E487B7100000000000000000000000000000000000000000000000000000000 PUSH1 0x0 MSTORE PUSH1 0x41 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST PUSH32 0x4E487B7100000000000000000000000000000000000000000000000000000000 PUSH1 0x0 MSTORE PUSH1 0x32 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST PUSH1 0x0 PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP3 EQ ISZERO PUSH2 0x811 JUMPI PUSH32 0x4E487B7100000000000000000000000000000000000000000000000000000000 PUSH1 0x0 MSTORE PUSH1 0x11 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST POP PUSH1 0x1 ADD SWAP1 JUMP INVALID LOG2 PUSH5 0x6970667358 0x22 SLT KECCAK256 0xC JUMPDEST OR PUSH30 0xE2AED4874EBD4BC1DD3A8AF2D25547FDD59BA0C61E502F7A15C95E1A6473 PUSH16 0x6C634300080900330000000000000000 ", + "sourceMap": "539:2484:3:-:0;;;;;;;;;;;;;;;;;;;" }, "deployedBytecode": { + "functionDebugData": { + "@diamondStorage_861": { + "entryPoint": null, + "id": 861, + "parameterSlots": 0, + "returnSlots": 1 + }, + "@facetAddress_632": { + "entryPoint": null, + "id": 632, + "parameterSlots": 1, + "returnSlots": 1 + }, + "@facetAddresses_605": { + "entryPoint": 459, + "id": 605, + "parameterSlots": 0, + "returnSlots": 1 + }, + "@facetFunctionSelectors_582": { + "entryPoint": 1129, + "id": 582, + "parameterSlots": 1, + "returnSlots": 1 + }, + "@facets_554": { + "entryPoint": 605, + "id": 554, + "parameterSlots": 0, + "returnSlots": 1 + }, + "@supportsInterface_655": { + "entryPoint": null, + "id": 655, + "parameterSlots": 1, + "returnSlots": 1 + }, + "abi_decode_tuple_t_address": { + "entryPoint": 1809, + "id": null, + "parameterSlots": 2, + "returnSlots": 1 + }, + "abi_decode_tuple_t_bytes4": { + "entryPoint": 1385, + "id": null, + "parameterSlots": 2, + "returnSlots": 1 + }, + "abi_encode_array_bytes4_dyn": { + "entryPoint": 1548, + "id": null, + "parameterSlots": 2, + "returnSlots": 1 + }, + "abi_encode_tuple_t_address__to_t_address__fromStack_reversed": { + "entryPoint": null, + "id": null, + "parameterSlots": 2, + "returnSlots": 1 + }, + "abi_encode_tuple_t_array$_t_address_$dyn_memory_ptr__to_t_array$_t_address_$dyn_memory_ptr__fromStack_reversed": { + "entryPoint": 1458, + "id": null, + "parameterSlots": 2, + "returnSlots": 1 + }, + "abi_encode_tuple_t_array$_t_bytes4_$dyn_memory_ptr__to_t_array$_t_bytes4_$dyn_memory_ptr__fromStack_reversed": { + "entryPoint": 1863, + "id": null, + "parameterSlots": 2, + "returnSlots": 1 + }, + "abi_encode_tuple_t_array$_t_struct$_Facet_$742_memory_ptr_$dyn_memory_ptr__to_t_array$_t_struct$_Facet_$742_memory_ptr_$dyn_memory_ptr__fromStack_reversed": { + "entryPoint": 1641, + "id": null, + "parameterSlots": 2, + "returnSlots": 1 + }, + "abi_encode_tuple_t_bool__to_t_bool__fromStack_reversed": { + "entryPoint": null, + "id": null, + "parameterSlots": 2, + "returnSlots": 1 + }, + "increment_t_uint256": { + "entryPoint": 1976, + "id": null, + "parameterSlots": 1, + "returnSlots": 1 + }, + "panic_error_0x32": { + "entryPoint": 1929, + "id": null, + "parameterSlots": 0, + "returnSlots": 0 + }, + "panic_error_0x41": { + "entryPoint": 1882, + "id": null, + "parameterSlots": 0, + "returnSlots": 0 + } + }, "generatedSources": [ { "ast": { "nodeType": "YulBlock", - "src": "0:3757:10", + "src": "0:4422:11", "statements": [ { "nodeType": "YulBlock", - "src": "6:3:10", + "src": "6:3:11", "statements": [] }, { "body": { "nodeType": "YulBlock", - "src": "84:259:10", + "src": "83:263:11", "statements": [ { "body": { "nodeType": "YulBlock", - "src": "130:26:10", + "src": "129:16:11", "statements": [ { "expression": { "arguments": [ { - "name": "value0", - "nodeType": "YulIdentifier", - "src": "139:6:10" + "kind": "number", + "nodeType": "YulLiteral", + "src": "138:1:11", + "type": "", + "value": "0" }, { - "name": "value0", - "nodeType": "YulIdentifier", - "src": "147:6:10" + "kind": "number", + "nodeType": "YulLiteral", + "src": "141:1:11", + "type": "", + "value": "0" } ], "functionName": { "name": "revert", "nodeType": "YulIdentifier", - "src": "132:6:10" + "src": "131:6:11" }, "nodeType": "YulFunctionCall", - "src": "132:22:10" + "src": "131:12:11" }, "nodeType": "YulExpressionStatement", - "src": "132:22:10" + "src": "131:12:11" } ] }, @@ -198,26 +307,26 @@ { "name": "dataEnd", "nodeType": "YulIdentifier", - "src": "105:7:10" + "src": "104:7:11" }, { "name": "headStart", "nodeType": "YulIdentifier", - "src": "114:9:10" + "src": "113:9:11" } ], "functionName": { "name": "sub", "nodeType": "YulIdentifier", - "src": "101:3:10" + "src": "100:3:11" }, "nodeType": "YulFunctionCall", - "src": "101:23:10" + "src": "100:23:11" }, { "kind": "number", "nodeType": "YulLiteral", - "src": "126:2:10", + "src": "125:2:11", "type": "", "value": "32" } @@ -225,38 +334,38 @@ "functionName": { "name": "slt", "nodeType": "YulIdentifier", - "src": "97:3:10" + "src": "96:3:11" }, "nodeType": "YulFunctionCall", - "src": "97:32:10" + "src": "96:32:11" }, "nodeType": "YulIf", - "src": "94:2:10" + "src": "93:52:11" }, { "nodeType": "YulVariableDeclaration", - "src": "165:36:10", + "src": "154:36:11", "value": { "arguments": [ { "name": "headStart", "nodeType": "YulIdentifier", - "src": "191:9:10" + "src": "180:9:11" } ], "functionName": { "name": "calldataload", "nodeType": "YulIdentifier", - "src": "178:12:10" + "src": "167:12:11" }, "nodeType": "YulFunctionCall", - "src": "178:23:10" + "src": "167:23:11" }, "variables": [ { "name": "value", "nodeType": "YulTypedName", - "src": "169:5:10", + "src": "158:5:11", "type": "" } ] @@ -264,32 +373,36 @@ { "body": { "nodeType": "YulBlock", - "src": "287:26:10", + "src": "300:16:11", "statements": [ { "expression": { "arguments": [ { - "name": "value0", - "nodeType": "YulIdentifier", - "src": "296:6:10" + "kind": "number", + "nodeType": "YulLiteral", + "src": "309:1:11", + "type": "", + "value": "0" }, { - "name": "value0", - "nodeType": "YulIdentifier", - "src": "304:6:10" + "kind": "number", + "nodeType": "YulLiteral", + "src": "312:1:11", + "type": "", + "value": "0" } ], "functionName": { "name": "revert", "nodeType": "YulIdentifier", - "src": "289:6:10" + "src": "302:6:11" }, "nodeType": "YulFunctionCall", - "src": "289:22:10" + "src": "302:12:11" }, "nodeType": "YulExpressionStatement", - "src": "289:22:10" + "src": "302:12:11" } ] }, @@ -300,83 +413,83 @@ { "name": "value", "nodeType": "YulIdentifier", - "src": "223:5:10" + "src": "212:5:11" }, { "arguments": [ { "name": "value", "nodeType": "YulIdentifier", - "src": "234:5:10" + "src": "223:5:11" }, { "kind": "number", "nodeType": "YulLiteral", - "src": "241:42:10", + "src": "230:66:11", "type": "", - "value": "0xffffffffffffffffffffffffffffffffffffffff" + "value": "0xffffffff00000000000000000000000000000000000000000000000000000000" } ], "functionName": { "name": "and", "nodeType": "YulIdentifier", - "src": "230:3:10" + "src": "219:3:11" }, "nodeType": "YulFunctionCall", - "src": "230:54:10" + "src": "219:78:11" } ], "functionName": { "name": "eq", "nodeType": "YulIdentifier", - "src": "220:2:10" + "src": "209:2:11" }, "nodeType": "YulFunctionCall", - "src": "220:65:10" + "src": "209:89:11" } ], "functionName": { "name": "iszero", "nodeType": "YulIdentifier", - "src": "213:6:10" + "src": "202:6:11" }, "nodeType": "YulFunctionCall", - "src": "213:73:10" + "src": "202:97:11" }, "nodeType": "YulIf", - "src": "210:2:10" + "src": "199:117:11" }, { "nodeType": "YulAssignment", - "src": "322:15:10", + "src": "325:15:11", "value": { "name": "value", "nodeType": "YulIdentifier", - "src": "332:5:10" + "src": "335:5:11" }, "variableNames": [ { "name": "value0", "nodeType": "YulIdentifier", - "src": "322:6:10" + "src": "325:6:11" } ] } ] }, - "name": "abi_decode_tuple_t_address", + "name": "abi_decode_tuple_t_bytes4", "nodeType": "YulFunctionDefinition", "parameters": [ { "name": "headStart", "nodeType": "YulTypedName", - "src": "50:9:10", + "src": "49:9:11", "type": "" }, { "name": "dataEnd", "nodeType": "YulTypedName", - "src": "61:7:10", + "src": "60:7:11", "type": "" } ], @@ -384,277 +497,179 @@ { "name": "value0", "nodeType": "YulTypedName", - "src": "73:6:10", + "src": "72:6:11", "type": "" } ], - "src": "14:329:10" + "src": "14:332:11" }, { "body": { "nodeType": "YulBlock", - "src": "417:283:10", + "src": "446:92:11", "statements": [ { - "body": { - "nodeType": "YulBlock", - "src": "463:26:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "name": "value0", - "nodeType": "YulIdentifier", - "src": "472:6:10" - }, - { - "name": "value0", - "nodeType": "YulIdentifier", - "src": "480:6:10" - } - ], - "functionName": { - "name": "revert", - "nodeType": "YulIdentifier", - "src": "465:6:10" - }, - "nodeType": "YulFunctionCall", - "src": "465:22:10" - }, - "nodeType": "YulExpressionStatement", - "src": "465:22:10" - } - ] - }, - "condition": { + "nodeType": "YulAssignment", + "src": "456:26:11", + "value": { "arguments": [ { - "arguments": [ - { - "name": "dataEnd", - "nodeType": "YulIdentifier", - "src": "438:7:10" - }, - { - "name": "headStart", - "nodeType": "YulIdentifier", - "src": "447:9:10" - } - ], - "functionName": { - "name": "sub", - "nodeType": "YulIdentifier", - "src": "434:3:10" - }, - "nodeType": "YulFunctionCall", - "src": "434:23:10" + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "468:9:11" }, { "kind": "number", "nodeType": "YulLiteral", - "src": "459:2:10", + "src": "479:2:11", "type": "", "value": "32" } ], "functionName": { - "name": "slt", - "nodeType": "YulIdentifier", - "src": "430:3:10" - }, - "nodeType": "YulFunctionCall", - "src": "430:32:10" - }, - "nodeType": "YulIf", - "src": "427:2:10" - }, - { - "nodeType": "YulVariableDeclaration", - "src": "498:36:10", - "value": { - "arguments": [ - { - "name": "headStart", - "nodeType": "YulIdentifier", - "src": "524:9:10" - } - ], - "functionName": { - "name": "calldataload", + "name": "add", "nodeType": "YulIdentifier", - "src": "511:12:10" + "src": "464:3:11" }, "nodeType": "YulFunctionCall", - "src": "511:23:10" + "src": "464:18:11" }, - "variables": [ + "variableNames": [ { - "name": "value", - "nodeType": "YulTypedName", - "src": "502:5:10", - "type": "" + "name": "tail", + "nodeType": "YulIdentifier", + "src": "456:4:11" } ] }, { - "body": { - "nodeType": "YulBlock", - "src": "644:26:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "name": "value0", - "nodeType": "YulIdentifier", - "src": "653:6:10" - }, - { - "name": "value0", - "nodeType": "YulIdentifier", - "src": "661:6:10" - } - ], - "functionName": { - "name": "revert", - "nodeType": "YulIdentifier", - "src": "646:6:10" - }, - "nodeType": "YulFunctionCall", - "src": "646:22:10" - }, - "nodeType": "YulExpressionStatement", - "src": "646:22:10" - } - ] - }, - "condition": { + "expression": { "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "498:9:11" + }, { "arguments": [ - { - "name": "value", - "nodeType": "YulIdentifier", - "src": "556:5:10" - }, { "arguments": [ { - "name": "value", + "name": "value0", "nodeType": "YulIdentifier", - "src": "567:5:10" - }, - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "574:66:10", - "type": "", - "value": "0xffffffff00000000000000000000000000000000000000000000000000000000" + "src": "523:6:11" } ], "functionName": { - "name": "and", + "name": "iszero", "nodeType": "YulIdentifier", - "src": "563:3:10" + "src": "516:6:11" }, "nodeType": "YulFunctionCall", - "src": "563:78:10" + "src": "516:14:11" } ], "functionName": { - "name": "eq", + "name": "iszero", "nodeType": "YulIdentifier", - "src": "553:2:10" + "src": "509:6:11" }, "nodeType": "YulFunctionCall", - "src": "553:89:10" + "src": "509:22:11" } ], "functionName": { - "name": "iszero", + "name": "mstore", "nodeType": "YulIdentifier", - "src": "546:6:10" + "src": "491:6:11" }, "nodeType": "YulFunctionCall", - "src": "546:97:10" - }, - "nodeType": "YulIf", - "src": "543:2:10" - }, - { - "nodeType": "YulAssignment", - "src": "679:15:10", - "value": { - "name": "value", - "nodeType": "YulIdentifier", - "src": "689:5:10" + "src": "491:41:11" }, - "variableNames": [ - { - "name": "value0", - "nodeType": "YulIdentifier", - "src": "679:6:10" - } - ] + "nodeType": "YulExpressionStatement", + "src": "491:41:11" } ] }, - "name": "abi_decode_tuple_t_bytes4", + "name": "abi_encode_tuple_t_bool__to_t_bool__fromStack_reversed", "nodeType": "YulFunctionDefinition", "parameters": [ { "name": "headStart", "nodeType": "YulTypedName", - "src": "383:9:10", + "src": "415:9:11", "type": "" }, { - "name": "dataEnd", + "name": "value0", "nodeType": "YulTypedName", - "src": "394:7:10", + "src": "426:6:11", "type": "" } ], "returnVariables": [ { - "name": "value0", + "name": "tail", "nodeType": "YulTypedName", - "src": "406:6:10", + "src": "437:4:11", "type": "" } ], - "src": "348:352:10" + "src": "351:187:11" }, { "body": { "nodeType": "YulBlock", - "src": "771:449:10", + "src": "694:530:11", "statements": [ { "nodeType": "YulVariableDeclaration", - "src": "781:26:10", + "src": "704:12:11", + "value": { + "kind": "number", + "nodeType": "YulLiteral", + "src": "714:2:11", + "type": "", + "value": "32" + }, + "variables": [ + { + "name": "_1", + "nodeType": "YulTypedName", + "src": "708:2:11", + "type": "" + } + ] + }, + { + "nodeType": "YulVariableDeclaration", + "src": "725:32:11", "value": { "arguments": [ { - "name": "value", + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "743:9:11" + }, + { + "name": "_1", "nodeType": "YulIdentifier", - "src": "801:5:10" + "src": "754:2:11" } ], "functionName": { - "name": "mload", + "name": "add", "nodeType": "YulIdentifier", - "src": "795:5:10" + "src": "739:3:11" }, "nodeType": "YulFunctionCall", - "src": "795:12:10" + "src": "739:18:11" }, "variables": [ { - "name": "length", + "name": "tail_1", "nodeType": "YulTypedName", - "src": "785:6:10", + "src": "729:6:11", "type": "" } ] @@ -663,132 +678,187 @@ "expression": { "arguments": [ { - "name": "pos", + "name": "headStart", "nodeType": "YulIdentifier", - "src": "823:3:10" + "src": "773:9:11" }, { - "name": "length", + "name": "_1", "nodeType": "YulIdentifier", - "src": "828:6:10" + "src": "784:2:11" } ], "functionName": { "name": "mstore", "nodeType": "YulIdentifier", - "src": "816:6:10" + "src": "766:6:11" }, "nodeType": "YulFunctionCall", - "src": "816:19:10" + "src": "766:21:11" }, "nodeType": "YulExpressionStatement", - "src": "816:19:10" + "src": "766:21:11" }, { "nodeType": "YulVariableDeclaration", - "src": "844:14:10", + "src": "796:17:11", "value": { - "kind": "number", - "nodeType": "YulLiteral", - "src": "854:4:10", - "type": "", - "value": "0x20" + "name": "tail_1", + "nodeType": "YulIdentifier", + "src": "807:6:11" }, "variables": [ { - "name": "_1", + "name": "pos", "nodeType": "YulTypedName", - "src": "848:2:10", + "src": "800:3:11", "type": "" } ] }, { - "nodeType": "YulAssignment", - "src": "867:19:10", + "nodeType": "YulVariableDeclaration", + "src": "822:27:11", "value": { "arguments": [ { - "name": "pos", - "nodeType": "YulIdentifier", - "src": "878:3:10" - }, - { - "name": "_1", + "name": "value0", "nodeType": "YulIdentifier", - "src": "883:2:10" + "src": "842:6:11" } ], "functionName": { - "name": "add", + "name": "mload", "nodeType": "YulIdentifier", - "src": "874:3:10" + "src": "836:5:11" }, "nodeType": "YulFunctionCall", - "src": "874:12:10" + "src": "836:13:11" }, - "variableNames": [ + "variables": [ { - "name": "pos", - "nodeType": "YulIdentifier", - "src": "867:3:10" + "name": "length", + "nodeType": "YulTypedName", + "src": "826:6:11", + "type": "" } ] }, { - "nodeType": "YulVariableDeclaration", - "src": "895:28:10", - "value": { + "expression": { "arguments": [ { - "name": "value", + "name": "tail_1", "nodeType": "YulIdentifier", - "src": "913:5:10" + "src": "865:6:11" }, { - "name": "_1", + "name": "length", "nodeType": "YulIdentifier", - "src": "920:2:10" + "src": "873:6:11" } ], "functionName": { - "name": "add", + "name": "mstore", "nodeType": "YulIdentifier", - "src": "909:3:10" + "src": "858:6:11" }, "nodeType": "YulFunctionCall", - "src": "909:14:10" + "src": "858:22:11" }, - "variables": [ - { - "name": "srcPtr", - "nodeType": "YulTypedName", - "src": "899:6:10", - "type": "" - } - ] + "nodeType": "YulExpressionStatement", + "src": "858:22:11" }, { - "nodeType": "YulVariableDeclaration", - "src": "932:12:10", + "nodeType": "YulAssignment", + "src": "889:25:11", "value": { - "name": "end", - "nodeType": "YulIdentifier", - "src": "941:3:10" - }, - "variables": [ - { - "name": "i", - "nodeType": "YulTypedName", - "src": "936:1:10", - "type": "" + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "900:9:11" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "911:2:11", + "type": "", + "value": "64" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "896:3:11" + }, + "nodeType": "YulFunctionCall", + "src": "896:18:11" + }, + "variableNames": [ + { + "name": "pos", + "nodeType": "YulIdentifier", + "src": "889:3:11" + } + ] + }, + { + "nodeType": "YulVariableDeclaration", + "src": "923:29:11", + "value": { + "arguments": [ + { + "name": "value0", + "nodeType": "YulIdentifier", + "src": "941:6:11" + }, + { + "name": "_1", + "nodeType": "YulIdentifier", + "src": "949:2:11" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "937:3:11" + }, + "nodeType": "YulFunctionCall", + "src": "937:15:11" + }, + "variables": [ + { + "name": "srcPtr", + "nodeType": "YulTypedName", + "src": "927:6:11", + "type": "" + } + ] + }, + { + "nodeType": "YulVariableDeclaration", + "src": "961:10:11", + "value": { + "kind": "number", + "nodeType": "YulLiteral", + "src": "970:1:11", + "type": "", + "value": "0" + }, + "variables": [ + { + "name": "i", + "nodeType": "YulTypedName", + "src": "965:1:11", + "type": "" } ] }, { "body": { "nodeType": "YulBlock", - "src": "1002:193:10", + "src": "1029:169:11", "statements": [ { "expression": { @@ -796,7 +866,7 @@ { "name": "pos", "nodeType": "YulIdentifier", - "src": "1023:3:10" + "src": "1050:3:11" }, { "arguments": [ @@ -805,106 +875,106 @@ { "name": "srcPtr", "nodeType": "YulIdentifier", - "src": "1038:6:10" + "src": "1065:6:11" } ], "functionName": { "name": "mload", "nodeType": "YulIdentifier", - "src": "1032:5:10" + "src": "1059:5:11" }, "nodeType": "YulFunctionCall", - "src": "1032:13:10" + "src": "1059:13:11" }, { "kind": "number", "nodeType": "YulLiteral", - "src": "1047:66:10", + "src": "1074:42:11", "type": "", - "value": "0xffffffff00000000000000000000000000000000000000000000000000000000" + "value": "0xffffffffffffffffffffffffffffffffffffffff" } ], "functionName": { "name": "and", "nodeType": "YulIdentifier", - "src": "1028:3:10" + "src": "1055:3:11" }, "nodeType": "YulFunctionCall", - "src": "1028:86:10" + "src": "1055:62:11" } ], "functionName": { "name": "mstore", "nodeType": "YulIdentifier", - "src": "1016:6:10" + "src": "1043:6:11" }, "nodeType": "YulFunctionCall", - "src": "1016:99:10" + "src": "1043:75:11" }, "nodeType": "YulExpressionStatement", - "src": "1016:99:10" + "src": "1043:75:11" }, { "nodeType": "YulAssignment", - "src": "1128:19:10", + "src": "1131:19:11", "value": { "arguments": [ { "name": "pos", "nodeType": "YulIdentifier", - "src": "1139:3:10" + "src": "1142:3:11" }, { "name": "_1", "nodeType": "YulIdentifier", - "src": "1144:2:10" + "src": "1147:2:11" } ], "functionName": { "name": "add", "nodeType": "YulIdentifier", - "src": "1135:3:10" + "src": "1138:3:11" }, "nodeType": "YulFunctionCall", - "src": "1135:12:10" + "src": "1138:12:11" }, "variableNames": [ { "name": "pos", "nodeType": "YulIdentifier", - "src": "1128:3:10" + "src": "1131:3:11" } ] }, { "nodeType": "YulAssignment", - "src": "1160:25:10", + "src": "1163:25:11", "value": { "arguments": [ { "name": "srcPtr", "nodeType": "YulIdentifier", - "src": "1174:6:10" + "src": "1177:6:11" }, { "name": "_1", "nodeType": "YulIdentifier", - "src": "1182:2:10" + "src": "1185:2:11" } ], "functionName": { "name": "add", "nodeType": "YulIdentifier", - "src": "1170:3:10" + "src": "1173:3:11" }, "nodeType": "YulFunctionCall", - "src": "1170:15:10" + "src": "1173:15:11" }, "variableNames": [ { "name": "srcPtr", "nodeType": "YulIdentifier", - "src": "1160:6:10" + "src": "1163:6:11" } ] } @@ -915,41 +985,41 @@ { "name": "i", "nodeType": "YulIdentifier", - "src": "964:1:10" + "src": "991:1:11" }, { "name": "length", "nodeType": "YulIdentifier", - "src": "967:6:10" + "src": "994:6:11" } ], "functionName": { "name": "lt", "nodeType": "YulIdentifier", - "src": "961:2:10" + "src": "988:2:11" }, "nodeType": "YulFunctionCall", - "src": "961:13:10" + "src": "988:13:11" }, "nodeType": "YulForLoop", "post": { "nodeType": "YulBlock", - "src": "975:18:10", + "src": "1002:18:11", "statements": [ { "nodeType": "YulAssignment", - "src": "977:14:10", + "src": "1004:14:11", "value": { "arguments": [ { "name": "i", "nodeType": "YulIdentifier", - "src": "986:1:10" + "src": "1013:1:11" }, { "kind": "number", "nodeType": "YulLiteral", - "src": "989:1:10", + "src": "1016:1:11", "type": "", "value": "1" } @@ -957,16 +1027,16 @@ "functionName": { "name": "add", "nodeType": "YulIdentifier", - "src": "982:3:10" + "src": "1009:3:11" }, "nodeType": "YulFunctionCall", - "src": "982:9:10" + "src": "1009:9:11" }, "variableNames": [ { "name": "i", "nodeType": "YulIdentifier", - "src": "977:1:10" + "src": "1004:1:11" } ] } @@ -974,152 +1044,42 @@ }, "pre": { "nodeType": "YulBlock", - "src": "957:3:10", + "src": "984:3:11", "statements": [] }, - "src": "953:242:10" + "src": "980:218:11" }, { "nodeType": "YulAssignment", - "src": "1204:10:10", + "src": "1207:11:11", "value": { "name": "pos", "nodeType": "YulIdentifier", - "src": "1211:3:10" - }, - "variableNames": [ - { - "name": "end", - "nodeType": "YulIdentifier", - "src": "1204:3:10" - } - ] - } - ] - }, - "name": "abi_encode_t_array$_t_bytes4_$dyn", - "nodeType": "YulFunctionDefinition", - "parameters": [ - { - "name": "value", - "nodeType": "YulTypedName", - "src": "748:5:10", - "type": "" - }, - { - "name": "pos", - "nodeType": "YulTypedName", - "src": "755:3:10", - "type": "" - } - ], - "returnVariables": [ - { - "name": "end", - "nodeType": "YulTypedName", - "src": "763:3:10", - "type": "" - } - ], - "src": "705:515:10" - }, - { - "body": { - "nodeType": "YulBlock", - "src": "1326:125:10", - "statements": [ - { - "nodeType": "YulAssignment", - "src": "1336:26:10", - "value": { - "arguments": [ - { - "name": "headStart", - "nodeType": "YulIdentifier", - "src": "1348:9:10" - }, - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "1359:2:10", - "type": "", - "value": "32" - } - ], - "functionName": { - "name": "add", - "nodeType": "YulIdentifier", - "src": "1344:3:10" - }, - "nodeType": "YulFunctionCall", - "src": "1344:18:10" + "src": "1215:3:11" }, "variableNames": [ { "name": "tail", "nodeType": "YulIdentifier", - "src": "1336:4:10" + "src": "1207:4:11" } ] - }, - { - "expression": { - "arguments": [ - { - "name": "headStart", - "nodeType": "YulIdentifier", - "src": "1378:9:10" - }, - { - "arguments": [ - { - "name": "value0", - "nodeType": "YulIdentifier", - "src": "1393:6:10" - }, - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "1401:42:10", - "type": "", - "value": "0xffffffffffffffffffffffffffffffffffffffff" - } - ], - "functionName": { - "name": "and", - "nodeType": "YulIdentifier", - "src": "1389:3:10" - }, - "nodeType": "YulFunctionCall", - "src": "1389:55:10" - } - ], - "functionName": { - "name": "mstore", - "nodeType": "YulIdentifier", - "src": "1371:6:10" - }, - "nodeType": "YulFunctionCall", - "src": "1371:74:10" - }, - "nodeType": "YulExpressionStatement", - "src": "1371:74:10" } ] }, - "name": "abi_encode_tuple_t_address__to_t_address__fromStack_reversed", + "name": "abi_encode_tuple_t_array$_t_address_$dyn_memory_ptr__to_t_array$_t_address_$dyn_memory_ptr__fromStack_reversed", "nodeType": "YulFunctionDefinition", "parameters": [ { "name": "headStart", "nodeType": "YulTypedName", - "src": "1295:9:10", + "src": "663:9:11", "type": "" }, { "name": "value0", "nodeType": "YulTypedName", - "src": "1306:6:10", + "src": "674:6:11", "type": "" } ], @@ -1127,65 +1087,41 @@ { "name": "tail", "nodeType": "YulTypedName", - "src": "1317:4:10", + "src": "685:4:11", "type": "" } ], - "src": "1225:226:10" + "src": "543:681:11" }, { "body": { "nodeType": "YulBlock", - "src": "1607:533:10", + "src": "1289:447:11", "statements": [ { "nodeType": "YulVariableDeclaration", - "src": "1617:12:10", - "value": { - "kind": "number", - "nodeType": "YulLiteral", - "src": "1627:2:10", - "type": "", - "value": "32" - }, - "variables": [ - { - "name": "_1", - "nodeType": "YulTypedName", - "src": "1621:2:10", - "type": "" - } - ] - }, - { - "nodeType": "YulVariableDeclaration", - "src": "1638:32:10", + "src": "1299:26:11", "value": { "arguments": [ { - "name": "headStart", - "nodeType": "YulIdentifier", - "src": "1656:9:10" - }, - { - "name": "_1", + "name": "value", "nodeType": "YulIdentifier", - "src": "1667:2:10" + "src": "1319:5:11" } ], "functionName": { - "name": "add", + "name": "mload", "nodeType": "YulIdentifier", - "src": "1652:3:10" + "src": "1313:5:11" }, "nodeType": "YulFunctionCall", - "src": "1652:18:10" + "src": "1313:12:11" }, "variables": [ { - "name": "tail_1", + "name": "length", "nodeType": "YulTypedName", - "src": "1642:6:10", + "src": "1303:6:11", "type": "" } ] @@ -1194,177 +1130,126 @@ "expression": { "arguments": [ { - "name": "headStart", + "name": "pos", "nodeType": "YulIdentifier", - "src": "1686:9:10" + "src": "1341:3:11" }, { - "name": "_1", + "name": "length", "nodeType": "YulIdentifier", - "src": "1697:2:10" + "src": "1346:6:11" } ], "functionName": { "name": "mstore", "nodeType": "YulIdentifier", - "src": "1679:6:10" + "src": "1334:6:11" }, "nodeType": "YulFunctionCall", - "src": "1679:21:10" + "src": "1334:19:11" }, "nodeType": "YulExpressionStatement", - "src": "1679:21:10" - }, - { - "nodeType": "YulVariableDeclaration", - "src": "1709:17:10", - "value": { - "name": "tail_1", - "nodeType": "YulIdentifier", - "src": "1720:6:10" - }, - "variables": [ - { - "name": "pos", - "nodeType": "YulTypedName", - "src": "1713:3:10", - "type": "" - } - ] + "src": "1334:19:11" }, { "nodeType": "YulVariableDeclaration", - "src": "1735:27:10", + "src": "1362:14:11", "value": { - "arguments": [ - { - "name": "value0", - "nodeType": "YulIdentifier", - "src": "1755:6:10" - } - ], - "functionName": { - "name": "mload", - "nodeType": "YulIdentifier", - "src": "1749:5:10" - }, - "nodeType": "YulFunctionCall", - "src": "1749:13:10" + "kind": "number", + "nodeType": "YulLiteral", + "src": "1372:4:11", + "type": "", + "value": "0x20" }, "variables": [ { - "name": "length", + "name": "_1", "nodeType": "YulTypedName", - "src": "1739:6:10", + "src": "1366:2:11", "type": "" } ] }, - { - "expression": { - "arguments": [ - { - "name": "tail_1", - "nodeType": "YulIdentifier", - "src": "1778:6:10" - }, - { - "name": "length", - "nodeType": "YulIdentifier", - "src": "1786:6:10" - } - ], - "functionName": { - "name": "mstore", - "nodeType": "YulIdentifier", - "src": "1771:6:10" - }, - "nodeType": "YulFunctionCall", - "src": "1771:22:10" - }, - "nodeType": "YulExpressionStatement", - "src": "1771:22:10" - }, { "nodeType": "YulAssignment", - "src": "1802:25:10", + "src": "1385:19:11", "value": { "arguments": [ { - "name": "headStart", + "name": "pos", "nodeType": "YulIdentifier", - "src": "1813:9:10" + "src": "1396:3:11" }, { - "kind": "number", - "nodeType": "YulLiteral", - "src": "1824:2:10", - "type": "", - "value": "64" + "name": "_1", + "nodeType": "YulIdentifier", + "src": "1401:2:11" } ], "functionName": { "name": "add", "nodeType": "YulIdentifier", - "src": "1809:3:10" + "src": "1392:3:11" }, "nodeType": "YulFunctionCall", - "src": "1809:18:10" + "src": "1392:12:11" }, "variableNames": [ { "name": "pos", "nodeType": "YulIdentifier", - "src": "1802:3:10" + "src": "1385:3:11" } ] }, { "nodeType": "YulVariableDeclaration", - "src": "1836:29:10", + "src": "1413:28:11", "value": { "arguments": [ { - "name": "value0", + "name": "value", "nodeType": "YulIdentifier", - "src": "1854:6:10" + "src": "1431:5:11" }, { "name": "_1", "nodeType": "YulIdentifier", - "src": "1862:2:10" + "src": "1438:2:11" } ], "functionName": { "name": "add", "nodeType": "YulIdentifier", - "src": "1850:3:10" + "src": "1427:3:11" }, "nodeType": "YulFunctionCall", - "src": "1850:15:10" + "src": "1427:14:11" }, "variables": [ { "name": "srcPtr", "nodeType": "YulTypedName", - "src": "1840:6:10", + "src": "1417:6:11", "type": "" } ] }, { "nodeType": "YulVariableDeclaration", - "src": "1874:13:10", + "src": "1450:10:11", "value": { - "name": "tail", - "nodeType": "YulIdentifier", - "src": "1883:4:10" + "kind": "number", + "nodeType": "YulLiteral", + "src": "1459:1:11", + "type": "", + "value": "0" }, "variables": [ { "name": "i", "nodeType": "YulTypedName", - "src": "1878:1:10", + "src": "1454:1:11", "type": "" } ] @@ -1372,7 +1257,7 @@ { "body": { "nodeType": "YulBlock", - "src": "1945:169:10", + "src": "1518:193:11", "statements": [ { "expression": { @@ -1380,7 +1265,7 @@ { "name": "pos", "nodeType": "YulIdentifier", - "src": "1966:3:10" + "src": "1539:3:11" }, { "arguments": [ @@ -1389,106 +1274,106 @@ { "name": "srcPtr", "nodeType": "YulIdentifier", - "src": "1981:6:10" + "src": "1554:6:11" } ], "functionName": { "name": "mload", "nodeType": "YulIdentifier", - "src": "1975:5:10" + "src": "1548:5:11" }, "nodeType": "YulFunctionCall", - "src": "1975:13:10" + "src": "1548:13:11" }, { "kind": "number", "nodeType": "YulLiteral", - "src": "1990:42:10", + "src": "1563:66:11", "type": "", - "value": "0xffffffffffffffffffffffffffffffffffffffff" + "value": "0xffffffff00000000000000000000000000000000000000000000000000000000" } ], "functionName": { "name": "and", "nodeType": "YulIdentifier", - "src": "1971:3:10" + "src": "1544:3:11" }, "nodeType": "YulFunctionCall", - "src": "1971:62:10" + "src": "1544:86:11" } ], "functionName": { "name": "mstore", "nodeType": "YulIdentifier", - "src": "1959:6:10" + "src": "1532:6:11" }, "nodeType": "YulFunctionCall", - "src": "1959:75:10" + "src": "1532:99:11" }, "nodeType": "YulExpressionStatement", - "src": "1959:75:10" + "src": "1532:99:11" }, { "nodeType": "YulAssignment", - "src": "2047:19:10", + "src": "1644:19:11", "value": { "arguments": [ { "name": "pos", "nodeType": "YulIdentifier", - "src": "2058:3:10" + "src": "1655:3:11" }, { "name": "_1", "nodeType": "YulIdentifier", - "src": "2063:2:10" + "src": "1660:2:11" } ], "functionName": { "name": "add", "nodeType": "YulIdentifier", - "src": "2054:3:10" + "src": "1651:3:11" }, "nodeType": "YulFunctionCall", - "src": "2054:12:10" + "src": "1651:12:11" }, "variableNames": [ { "name": "pos", "nodeType": "YulIdentifier", - "src": "2047:3:10" + "src": "1644:3:11" } ] }, { "nodeType": "YulAssignment", - "src": "2079:25:10", + "src": "1676:25:11", "value": { "arguments": [ { "name": "srcPtr", "nodeType": "YulIdentifier", - "src": "2093:6:10" + "src": "1690:6:11" }, { "name": "_1", "nodeType": "YulIdentifier", - "src": "2101:2:10" + "src": "1698:2:11" } ], "functionName": { "name": "add", "nodeType": "YulIdentifier", - "src": "2089:3:10" + "src": "1686:3:11" }, "nodeType": "YulFunctionCall", - "src": "2089:15:10" + "src": "1686:15:11" }, "variableNames": [ { "name": "srcPtr", "nodeType": "YulIdentifier", - "src": "2079:6:10" + "src": "1676:6:11" } ] } @@ -1499,41 +1384,41 @@ { "name": "i", "nodeType": "YulIdentifier", - "src": "1907:1:10" + "src": "1480:1:11" }, { "name": "length", "nodeType": "YulIdentifier", - "src": "1910:6:10" + "src": "1483:6:11" } ], "functionName": { "name": "lt", "nodeType": "YulIdentifier", - "src": "1904:2:10" + "src": "1477:2:11" }, "nodeType": "YulFunctionCall", - "src": "1904:13:10" + "src": "1477:13:11" }, "nodeType": "YulForLoop", "post": { "nodeType": "YulBlock", - "src": "1918:18:10", + "src": "1491:18:11", "statements": [ { "nodeType": "YulAssignment", - "src": "1920:14:10", + "src": "1493:14:11", "value": { "arguments": [ { "name": "i", "nodeType": "YulIdentifier", - "src": "1929:1:10" + "src": "1502:1:11" }, { "kind": "number", "nodeType": "YulLiteral", - "src": "1932:1:10", + "src": "1505:1:11", "type": "", "value": "1" } @@ -1541,16 +1426,16 @@ "functionName": { "name": "add", "nodeType": "YulIdentifier", - "src": "1925:3:10" + "src": "1498:3:11" }, "nodeType": "YulFunctionCall", - "src": "1925:9:10" + "src": "1498:9:11" }, "variableNames": [ { "name": "i", "nodeType": "YulIdentifier", - "src": "1920:1:10" + "src": "1493:1:11" } ] } @@ -1558,177 +1443,67 @@ }, "pre": { "nodeType": "YulBlock", - "src": "1900:3:10", + "src": "1473:3:11", "statements": [] }, - "src": "1896:218:10" + "src": "1469:242:11" }, { "nodeType": "YulAssignment", - "src": "2123:11:10", + "src": "1720:10:11", "value": { "name": "pos", "nodeType": "YulIdentifier", - "src": "2131:3:10" + "src": "1727:3:11" }, "variableNames": [ { - "name": "tail", - "nodeType": "YulIdentifier", - "src": "2123:4:10" - } - ] - } - ] - }, - "name": "abi_encode_tuple_t_array$_t_address_$dyn_memory_ptr__to_t_array$_t_address_$dyn_memory_ptr__fromStack_reversed", - "nodeType": "YulFunctionDefinition", - "parameters": [ - { - "name": "headStart", - "nodeType": "YulTypedName", - "src": "1576:9:10", - "type": "" - }, - { - "name": "value0", - "nodeType": "YulTypedName", - "src": "1587:6:10", - "type": "" - } - ], - "returnVariables": [ - { - "name": "tail", - "nodeType": "YulTypedName", - "src": "1598:4:10", - "type": "" - } - ], - "src": "1456:684:10" - }, - { - "body": { - "nodeType": "YulBlock", - "src": "2294:115:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "name": "headStart", - "nodeType": "YulIdentifier", - "src": "2311:9:10" - }, - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "2322:2:10", - "type": "", - "value": "32" - } - ], - "functionName": { - "name": "mstore", - "nodeType": "YulIdentifier", - "src": "2304:6:10" - }, - "nodeType": "YulFunctionCall", - "src": "2304:21:10" - }, - "nodeType": "YulExpressionStatement", - "src": "2304:21:10" - }, - { - "nodeType": "YulAssignment", - "src": "2334:69:10", - "value": { - "arguments": [ - { - "name": "value0", - "nodeType": "YulIdentifier", - "src": "2376:6:10" - }, - { - "arguments": [ - { - "name": "headStart", - "nodeType": "YulIdentifier", - "src": "2388:9:10" - }, - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "2399:2:10", - "type": "", - "value": "32" - } - ], - "functionName": { - "name": "add", - "nodeType": "YulIdentifier", - "src": "2384:3:10" - }, - "nodeType": "YulFunctionCall", - "src": "2384:18:10" - } - ], - "functionName": { - "name": "abi_encode_t_array$_t_bytes4_$dyn", - "nodeType": "YulIdentifier", - "src": "2342:33:10" - }, - "nodeType": "YulFunctionCall", - "src": "2342:61:10" - }, - "variableNames": [ - { - "name": "tail", + "name": "end", "nodeType": "YulIdentifier", - "src": "2334:4:10" + "src": "1720:3:11" } ] } ] }, - "name": "abi_encode_tuple_t_array$_t_bytes4_$dyn_memory_ptr__to_t_array$_t_bytes4_$dyn_memory_ptr__fromStack_reversed", + "name": "abi_encode_array_bytes4_dyn", "nodeType": "YulFunctionDefinition", "parameters": [ { - "name": "headStart", + "name": "value", "nodeType": "YulTypedName", - "src": "2263:9:10", + "src": "1266:5:11", "type": "" }, { - "name": "value0", + "name": "pos", "nodeType": "YulTypedName", - "src": "2274:6:10", + "src": "1273:3:11", "type": "" } ], "returnVariables": [ { - "name": "tail", + "name": "end", "nodeType": "YulTypedName", - "src": "2285:4:10", + "src": "1281:3:11", "type": "" } ], - "src": "2145:264:10" + "src": "1229:507:11" }, { "body": { "nodeType": "YulBlock", - "src": "2609:954:10", + "src": "1936:944:11", "statements": [ { "nodeType": "YulVariableDeclaration", - "src": "2619:12:10", + "src": "1946:12:11", "value": { "kind": "number", "nodeType": "YulLiteral", - "src": "2629:2:10", + "src": "1956:2:11", "type": "", "value": "32" }, @@ -1736,40 +1511,40 @@ { "name": "_1", "nodeType": "YulTypedName", - "src": "2623:2:10", + "src": "1950:2:11", "type": "" } ] }, { "nodeType": "YulVariableDeclaration", - "src": "2640:32:10", + "src": "1967:32:11", "value": { "arguments": [ { "name": "headStart", "nodeType": "YulIdentifier", - "src": "2658:9:10" + "src": "1985:9:11" }, { "name": "_1", "nodeType": "YulIdentifier", - "src": "2669:2:10" + "src": "1996:2:11" } ], "functionName": { "name": "add", "nodeType": "YulIdentifier", - "src": "2654:3:10" + "src": "1981:3:11" }, "nodeType": "YulFunctionCall", - "src": "2654:18:10" + "src": "1981:18:11" }, "variables": [ { "name": "tail_1", "nodeType": "YulTypedName", - "src": "2644:6:10", + "src": "1971:6:11", "type": "" } ] @@ -1780,66 +1555,66 @@ { "name": "headStart", "nodeType": "YulIdentifier", - "src": "2688:9:10" + "src": "2015:9:11" }, { "name": "_1", "nodeType": "YulIdentifier", - "src": "2699:2:10" + "src": "2026:2:11" } ], "functionName": { "name": "mstore", "nodeType": "YulIdentifier", - "src": "2681:6:10" + "src": "2008:6:11" }, "nodeType": "YulFunctionCall", - "src": "2681:21:10" + "src": "2008:21:11" }, "nodeType": "YulExpressionStatement", - "src": "2681:21:10" + "src": "2008:21:11" }, { "nodeType": "YulVariableDeclaration", - "src": "2711:17:10", + "src": "2038:17:11", "value": { "name": "tail_1", "nodeType": "YulIdentifier", - "src": "2722:6:10" + "src": "2049:6:11" }, "variables": [ { "name": "pos", "nodeType": "YulTypedName", - "src": "2715:3:10", + "src": "2042:3:11", "type": "" } ] }, { "nodeType": "YulVariableDeclaration", - "src": "2737:27:10", + "src": "2064:27:11", "value": { "arguments": [ { "name": "value0", "nodeType": "YulIdentifier", - "src": "2757:6:10" + "src": "2084:6:11" } ], "functionName": { "name": "mload", "nodeType": "YulIdentifier", - "src": "2751:5:10" + "src": "2078:5:11" }, "nodeType": "YulFunctionCall", - "src": "2751:13:10" + "src": "2078:13:11" }, "variables": [ { "name": "length", "nodeType": "YulTypedName", - "src": "2741:6:10", + "src": "2068:6:11", "type": "" } ] @@ -1850,32 +1625,32 @@ { "name": "tail_1", "nodeType": "YulIdentifier", - "src": "2780:6:10" + "src": "2107:6:11" }, { "name": "length", "nodeType": "YulIdentifier", - "src": "2788:6:10" + "src": "2115:6:11" } ], "functionName": { "name": "mstore", "nodeType": "YulIdentifier", - "src": "2773:6:10" + "src": "2100:6:11" }, "nodeType": "YulFunctionCall", - "src": "2773:22:10" + "src": "2100:22:11" }, "nodeType": "YulExpressionStatement", - "src": "2773:22:10" + "src": "2100:22:11" }, { "nodeType": "YulVariableDeclaration", - "src": "2804:12:10", + "src": "2131:12:11", "value": { "kind": "number", "nodeType": "YulLiteral", - "src": "2814:2:10", + "src": "2141:2:11", "type": "", "value": "64" }, @@ -1883,46 +1658,46 @@ { "name": "_2", "nodeType": "YulTypedName", - "src": "2808:2:10", + "src": "2135:2:11", "type": "" } ] }, { "nodeType": "YulAssignment", - "src": "2825:25:10", + "src": "2152:25:11", "value": { "arguments": [ { "name": "headStart", "nodeType": "YulIdentifier", - "src": "2836:9:10" + "src": "2163:9:11" }, { "name": "_2", "nodeType": "YulIdentifier", - "src": "2847:2:10" + "src": "2174:2:11" } ], "functionName": { "name": "add", "nodeType": "YulIdentifier", - "src": "2832:3:10" + "src": "2159:3:11" }, "nodeType": "YulFunctionCall", - "src": "2832:18:10" + "src": "2159:18:11" }, "variableNames": [ { "name": "pos", "nodeType": "YulIdentifier", - "src": "2825:3:10" + "src": "2152:3:11" } ] }, { "nodeType": "YulVariableDeclaration", - "src": "2859:54:10", + "src": "2186:53:11", "value": { "arguments": [ { @@ -1930,107 +1705,111 @@ { "name": "headStart", "nodeType": "YulIdentifier", - "src": "2881:9:10" + "src": "2208:9:11" }, { "arguments": [ { - "name": "length", - "nodeType": "YulIdentifier", - "src": "2896:6:10" + "kind": "number", + "nodeType": "YulLiteral", + "src": "2223:1:11", + "type": "", + "value": "5" }, { - "name": "_1", + "name": "length", "nodeType": "YulIdentifier", - "src": "2904:2:10" + "src": "2226:6:11" } ], "functionName": { - "name": "mul", + "name": "shl", "nodeType": "YulIdentifier", - "src": "2892:3:10" + "src": "2219:3:11" }, "nodeType": "YulFunctionCall", - "src": "2892:15:10" + "src": "2219:14:11" } ], "functionName": { "name": "add", "nodeType": "YulIdentifier", - "src": "2877:3:10" + "src": "2204:3:11" }, "nodeType": "YulFunctionCall", - "src": "2877:31:10" + "src": "2204:30:11" }, { "name": "_2", "nodeType": "YulIdentifier", - "src": "2910:2:10" + "src": "2236:2:11" } ], "functionName": { "name": "add", "nodeType": "YulIdentifier", - "src": "2873:3:10" + "src": "2200:3:11" }, "nodeType": "YulFunctionCall", - "src": "2873:40:10" + "src": "2200:39:11" }, "variables": [ { "name": "tail_2", "nodeType": "YulTypedName", - "src": "2863:6:10", + "src": "2190:6:11", "type": "" } ] }, { "nodeType": "YulVariableDeclaration", - "src": "2922:29:10", + "src": "2248:29:11", "value": { "arguments": [ { "name": "value0", "nodeType": "YulIdentifier", - "src": "2940:6:10" + "src": "2266:6:11" }, { "name": "_1", "nodeType": "YulIdentifier", - "src": "2948:2:10" + "src": "2274:2:11" } ], "functionName": { "name": "add", "nodeType": "YulIdentifier", - "src": "2936:3:10" + "src": "2262:3:11" }, "nodeType": "YulFunctionCall", - "src": "2936:15:10" + "src": "2262:15:11" }, "variables": [ { "name": "srcPtr", "nodeType": "YulTypedName", - "src": "2926:6:10", + "src": "2252:6:11", "type": "" } ] }, { "nodeType": "YulVariableDeclaration", - "src": "2960:13:10", + "src": "2286:10:11", "value": { - "name": "tail", - "nodeType": "YulIdentifier", - "src": "2969:4:10" + "kind": "number", + "nodeType": "YulLiteral", + "src": "2295:1:11", + "type": "", + "value": "0" }, "variables": [ { "name": "i", "nodeType": "YulTypedName", - "src": "2964:1:10", + "src": "2290:1:11", "type": "" } ] @@ -2038,7 +1817,7 @@ { "body": { "nodeType": "YulBlock", - "src": "3031:503:10", + "src": "2354:497:11", "statements": [ { "expression": { @@ -2046,7 +1825,7 @@ { "name": "pos", "nodeType": "YulIdentifier", - "src": "3052:3:10" + "src": "2375:3:11" }, { "arguments": [ @@ -2055,26 +1834,26 @@ { "name": "tail_2", "nodeType": "YulIdentifier", - "src": "3065:6:10" + "src": "2388:6:11" }, { "name": "headStart", "nodeType": "YulIdentifier", - "src": "3073:9:10" + "src": "2396:9:11" } ], "functionName": { "name": "sub", "nodeType": "YulIdentifier", - "src": "3061:3:10" + "src": "2384:3:11" }, "nodeType": "YulFunctionCall", - "src": "3061:22:10" + "src": "2384:22:11" }, { "kind": "number", "nodeType": "YulLiteral", - "src": "3085:66:10", + "src": "2408:66:11", "type": "", "value": "0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc0" } @@ -2082,47 +1861,47 @@ "functionName": { "name": "add", "nodeType": "YulIdentifier", - "src": "3057:3:10" + "src": "2380:3:11" }, "nodeType": "YulFunctionCall", - "src": "3057:95:10" + "src": "2380:95:11" } ], "functionName": { "name": "mstore", "nodeType": "YulIdentifier", - "src": "3045:6:10" + "src": "2368:6:11" }, "nodeType": "YulFunctionCall", - "src": "3045:108:10" + "src": "2368:108:11" }, "nodeType": "YulExpressionStatement", - "src": "3045:108:10" + "src": "2368:108:11" }, { "nodeType": "YulVariableDeclaration", - "src": "3166:23:10", + "src": "2489:23:11", "value": { "arguments": [ { "name": "srcPtr", "nodeType": "YulIdentifier", - "src": "3182:6:10" + "src": "2505:6:11" } ], "functionName": { "name": "mload", "nodeType": "YulIdentifier", - "src": "3176:5:10" + "src": "2499:5:11" }, "nodeType": "YulFunctionCall", - "src": "3176:13:10" + "src": "2499:13:11" }, "variables": [ { "name": "_3", "nodeType": "YulTypedName", - "src": "3170:2:10", + "src": "2493:2:11", "type": "" } ] @@ -2133,7 +1912,7 @@ { "name": "tail_2", "nodeType": "YulIdentifier", - "src": "3209:6:10" + "src": "2532:6:11" }, { "arguments": [ @@ -2142,21 +1921,21 @@ { "name": "_3", "nodeType": "YulIdentifier", - "src": "3227:2:10" + "src": "2550:2:11" } ], "functionName": { "name": "mload", "nodeType": "YulIdentifier", - "src": "3221:5:10" + "src": "2544:5:11" }, "nodeType": "YulFunctionCall", - "src": "3221:9:10" + "src": "2544:9:11" }, { "kind": "number", "nodeType": "YulLiteral", - "src": "3232:42:10", + "src": "2555:42:11", "type": "", "value": "0xffffffffffffffffffffffffffffffffffffffff" } @@ -2164,26 +1943,26 @@ "functionName": { "name": "and", "nodeType": "YulIdentifier", - "src": "3217:3:10" + "src": "2540:3:11" }, "nodeType": "YulFunctionCall", - "src": "3217:58:10" + "src": "2540:58:11" } ], "functionName": { "name": "mstore", "nodeType": "YulIdentifier", - "src": "3202:6:10" + "src": "2525:6:11" }, "nodeType": "YulFunctionCall", - "src": "3202:74:10" + "src": "2525:74:11" }, "nodeType": "YulExpressionStatement", - "src": "3202:74:10" + "src": "2525:74:11" }, { "nodeType": "YulVariableDeclaration", - "src": "3289:38:10", + "src": "2612:38:11", "value": { "arguments": [ { @@ -2191,36 +1970,36 @@ { "name": "_3", "nodeType": "YulIdentifier", - "src": "3319:2:10" + "src": "2642:2:11" }, { "name": "_1", "nodeType": "YulIdentifier", - "src": "3323:2:10" + "src": "2646:2:11" } ], "functionName": { "name": "add", "nodeType": "YulIdentifier", - "src": "3315:3:10" + "src": "2638:3:11" }, "nodeType": "YulFunctionCall", - "src": "3315:11:10" + "src": "2638:11:11" } ], "functionName": { "name": "mload", "nodeType": "YulIdentifier", - "src": "3309:5:10" + "src": "2632:5:11" }, "nodeType": "YulFunctionCall", - "src": "3309:18:10" + "src": "2632:18:11" }, "variables": [ { "name": "memberValue0", "nodeType": "YulTypedName", - "src": "3293:12:10", + "src": "2616:12:11", "type": "" } ] @@ -2233,148 +2012,148 @@ { "name": "tail_2", "nodeType": "YulIdentifier", - "src": "3351:6:10" + "src": "2674:6:11" }, { "name": "_1", "nodeType": "YulIdentifier", - "src": "3359:2:10" + "src": "2682:2:11" } ], "functionName": { "name": "add", "nodeType": "YulIdentifier", - "src": "3347:3:10" + "src": "2670:3:11" }, "nodeType": "YulFunctionCall", - "src": "3347:15:10" + "src": "2670:15:11" }, { "name": "_2", "nodeType": "YulIdentifier", - "src": "3364:2:10" + "src": "2687:2:11" } ], "functionName": { "name": "mstore", "nodeType": "YulIdentifier", - "src": "3340:6:10" + "src": "2663:6:11" }, "nodeType": "YulFunctionCall", - "src": "3340:27:10" + "src": "2663:27:11" }, "nodeType": "YulExpressionStatement", - "src": "3340:27:10" + "src": "2663:27:11" }, { "nodeType": "YulAssignment", - "src": "3380:74:10", + "src": "2703:68:11", "value": { "arguments": [ { "name": "memberValue0", "nodeType": "YulIdentifier", - "src": "3424:12:10" + "src": "2741:12:11" }, { "arguments": [ { "name": "tail_2", "nodeType": "YulIdentifier", - "src": "3442:6:10" + "src": "2759:6:11" }, { "name": "_2", "nodeType": "YulIdentifier", - "src": "3450:2:10" + "src": "2767:2:11" } ], "functionName": { "name": "add", "nodeType": "YulIdentifier", - "src": "3438:3:10" + "src": "2755:3:11" }, "nodeType": "YulFunctionCall", - "src": "3438:15:10" + "src": "2755:15:11" } ], "functionName": { - "name": "abi_encode_t_array$_t_bytes4_$dyn", + "name": "abi_encode_array_bytes4_dyn", "nodeType": "YulIdentifier", - "src": "3390:33:10" + "src": "2713:27:11" }, "nodeType": "YulFunctionCall", - "src": "3390:64:10" + "src": "2713:58:11" }, "variableNames": [ { "name": "tail_2", "nodeType": "YulIdentifier", - "src": "3380:6:10" + "src": "2703:6:11" } ] }, { "nodeType": "YulAssignment", - "src": "3467:25:10", + "src": "2784:25:11", "value": { "arguments": [ { "name": "srcPtr", "nodeType": "YulIdentifier", - "src": "3481:6:10" + "src": "2798:6:11" }, { "name": "_1", "nodeType": "YulIdentifier", - "src": "3489:2:10" + "src": "2806:2:11" } ], "functionName": { "name": "add", "nodeType": "YulIdentifier", - "src": "3477:3:10" + "src": "2794:3:11" }, "nodeType": "YulFunctionCall", - "src": "3477:15:10" + "src": "2794:15:11" }, "variableNames": [ { "name": "srcPtr", "nodeType": "YulIdentifier", - "src": "3467:6:10" + "src": "2784:6:11" } ] }, { "nodeType": "YulAssignment", - "src": "3505:19:10", + "src": "2822:19:11", "value": { "arguments": [ { "name": "pos", "nodeType": "YulIdentifier", - "src": "3516:3:10" + "src": "2833:3:11" }, { "name": "_1", "nodeType": "YulIdentifier", - "src": "3521:2:10" + "src": "2838:2:11" } ], "functionName": { "name": "add", "nodeType": "YulIdentifier", - "src": "3512:3:10" + "src": "2829:3:11" }, "nodeType": "YulFunctionCall", - "src": "3512:12:10" + "src": "2829:12:11" }, "variableNames": [ { "name": "pos", "nodeType": "YulIdentifier", - "src": "3505:3:10" + "src": "2822:3:11" } ] } @@ -2385,41 +2164,41 @@ { "name": "i", "nodeType": "YulIdentifier", - "src": "2993:1:10" + "src": "2316:1:11" }, { "name": "length", "nodeType": "YulIdentifier", - "src": "2996:6:10" + "src": "2319:6:11" } ], "functionName": { "name": "lt", "nodeType": "YulIdentifier", - "src": "2990:2:10" + "src": "2313:2:11" }, "nodeType": "YulFunctionCall", - "src": "2990:13:10" + "src": "2313:13:11" }, "nodeType": "YulForLoop", "post": { "nodeType": "YulBlock", - "src": "3004:18:10", + "src": "2327:18:11", "statements": [ { "nodeType": "YulAssignment", - "src": "3006:14:10", + "src": "2329:14:11", "value": { "arguments": [ { "name": "i", "nodeType": "YulIdentifier", - "src": "3015:1:10" + "src": "2338:1:11" }, { "kind": "number", "nodeType": "YulLiteral", - "src": "3018:1:10", + "src": "2341:1:11", "type": "", "value": "1" } @@ -2427,16 +2206,16 @@ "functionName": { "name": "add", "nodeType": "YulIdentifier", - "src": "3011:3:10" + "src": "2334:3:11" }, "nodeType": "YulFunctionCall", - "src": "3011:9:10" + "src": "2334:9:11" }, "variableNames": [ { "name": "i", "nodeType": "YulIdentifier", - "src": "3006:1:10" + "src": "2329:1:11" } ] } @@ -2444,42 +2223,42 @@ }, "pre": { "nodeType": "YulBlock", - "src": "2986:3:10", + "src": "2309:3:11", "statements": [] }, - "src": "2982:552:10" + "src": "2305:546:11" }, { "nodeType": "YulAssignment", - "src": "3543:14:10", + "src": "2860:14:11", "value": { "name": "tail_2", "nodeType": "YulIdentifier", - "src": "3551:6:10" + "src": "2868:6:11" }, "variableNames": [ { "name": "tail", "nodeType": "YulIdentifier", - "src": "3543:4:10" + "src": "2860:4:11" } ] } ] }, - "name": "abi_encode_tuple_t_array$_t_struct$_Facet_$709_memory_ptr_$dyn_memory_ptr__to_t_array$_t_struct$_Facet_$709_memory_ptr_$dyn_memory_ptr__fromStack_reversed", + "name": "abi_encode_tuple_t_array$_t_struct$_Facet_$742_memory_ptr_$dyn_memory_ptr__to_t_array$_t_struct$_Facet_$742_memory_ptr_$dyn_memory_ptr__fromStack_reversed", "nodeType": "YulFunctionDefinition", "parameters": [ { "name": "headStart", "nodeType": "YulTypedName", - "src": "2578:9:10", + "src": "1905:9:11", "type": "" }, { "name": "value0", "nodeType": "YulTypedName", - "src": "2589:6:10", + "src": "1916:6:11", "type": "" } ], @@ -2487,151 +2266,878 @@ { "name": "tail", "nodeType": "YulTypedName", - "src": "2600:4:10", + "src": "1927:4:11", "type": "" } ], - "src": "2414:1149:10" + "src": "1741:1139:11" }, { "body": { "nodeType": "YulBlock", - "src": "3663:92:10", + "src": "2955:239:11", "statements": [ { - "nodeType": "YulAssignment", - "src": "3673:26:10", - "value": { + "body": { + "nodeType": "YulBlock", + "src": "3001:16:11", + "statements": [ + { + "expression": { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "3010:1:11", + "type": "", + "value": "0" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "3013:1:11", + "type": "", + "value": "0" + } + ], + "functionName": { + "name": "revert", + "nodeType": "YulIdentifier", + "src": "3003:6:11" + }, + "nodeType": "YulFunctionCall", + "src": "3003:12:11" + }, + "nodeType": "YulExpressionStatement", + "src": "3003:12:11" + } + ] + }, + "condition": { "arguments": [ { - "name": "headStart", - "nodeType": "YulIdentifier", - "src": "3685:9:10" + "arguments": [ + { + "name": "dataEnd", + "nodeType": "YulIdentifier", + "src": "2976:7:11" + }, + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "2985:9:11" + } + ], + "functionName": { + "name": "sub", + "nodeType": "YulIdentifier", + "src": "2972:3:11" + }, + "nodeType": "YulFunctionCall", + "src": "2972:23:11" }, { "kind": "number", "nodeType": "YulLiteral", - "src": "3696:2:10", + "src": "2997:2:11", "type": "", "value": "32" } ], "functionName": { - "name": "add", + "name": "slt", "nodeType": "YulIdentifier", - "src": "3681:3:10" + "src": "2968:3:11" }, "nodeType": "YulFunctionCall", - "src": "3681:18:10" + "src": "2968:32:11" }, - "variableNames": [ - { - "name": "tail", - "nodeType": "YulIdentifier", - "src": "3673:4:10" - } - ] + "nodeType": "YulIf", + "src": "2965:52:11" }, { - "expression": { + "nodeType": "YulVariableDeclaration", + "src": "3026:36:11", + "value": { "arguments": [ { "name": "headStart", "nodeType": "YulIdentifier", - "src": "3715:9:10" - }, + "src": "3052:9:11" + } + ], + "functionName": { + "name": "calldataload", + "nodeType": "YulIdentifier", + "src": "3039:12:11" + }, + "nodeType": "YulFunctionCall", + "src": "3039:23:11" + }, + "variables": [ + { + "name": "value", + "nodeType": "YulTypedName", + "src": "3030:5:11", + "type": "" + } + ] + }, + { + "body": { + "nodeType": "YulBlock", + "src": "3148:16:11", + "statements": [ + { + "expression": { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "3157:1:11", + "type": "", + "value": "0" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "3160:1:11", + "type": "", + "value": "0" + } + ], + "functionName": { + "name": "revert", + "nodeType": "YulIdentifier", + "src": "3150:6:11" + }, + "nodeType": "YulFunctionCall", + "src": "3150:12:11" + }, + "nodeType": "YulExpressionStatement", + "src": "3150:12:11" + } + ] + }, + "condition": { + "arguments": [ { "arguments": [ + { + "name": "value", + "nodeType": "YulIdentifier", + "src": "3084:5:11" + }, { "arguments": [ { - "name": "value0", + "name": "value", "nodeType": "YulIdentifier", - "src": "3740:6:10" + "src": "3095:5:11" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "3102:42:11", + "type": "", + "value": "0xffffffffffffffffffffffffffffffffffffffff" } ], "functionName": { - "name": "iszero", + "name": "and", "nodeType": "YulIdentifier", - "src": "3733:6:10" + "src": "3091:3:11" }, "nodeType": "YulFunctionCall", - "src": "3733:14:10" + "src": "3091:54:11" } ], "functionName": { - "name": "iszero", + "name": "eq", "nodeType": "YulIdentifier", - "src": "3726:6:10" + "src": "3081:2:11" }, "nodeType": "YulFunctionCall", - "src": "3726:22:10" + "src": "3081:65:11" } ], "functionName": { - "name": "mstore", + "name": "iszero", "nodeType": "YulIdentifier", - "src": "3708:6:10" + "src": "3074:6:11" }, "nodeType": "YulFunctionCall", - "src": "3708:41:10" + "src": "3074:73:11" }, - "nodeType": "YulExpressionStatement", - "src": "3708:41:10" + "nodeType": "YulIf", + "src": "3071:93:11" + }, + { + "nodeType": "YulAssignment", + "src": "3173:15:11", + "value": { + "name": "value", + "nodeType": "YulIdentifier", + "src": "3183:5:11" + }, + "variableNames": [ + { + "name": "value0", + "nodeType": "YulIdentifier", + "src": "3173:6:11" + } + ] } ] }, - "name": "abi_encode_tuple_t_bool__to_t_bool__fromStack_reversed", + "name": "abi_decode_tuple_t_address", "nodeType": "YulFunctionDefinition", "parameters": [ { "name": "headStart", "nodeType": "YulTypedName", - "src": "3632:9:10", + "src": "2921:9:11", "type": "" }, { - "name": "value0", + "name": "dataEnd", "nodeType": "YulTypedName", - "src": "3643:6:10", + "src": "2932:7:11", "type": "" } ], "returnVariables": [ { - "name": "tail", + "name": "value0", + "nodeType": "YulTypedName", + "src": "2944:6:11", + "type": "" + } + ], + "src": "2885:309:11" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "3348:109:11", + "statements": [ + { + "expression": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "3365:9:11" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "3376:2:11", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "3358:6:11" + }, + "nodeType": "YulFunctionCall", + "src": "3358:21:11" + }, + "nodeType": "YulExpressionStatement", + "src": "3358:21:11" + }, + { + "nodeType": "YulAssignment", + "src": "3388:63:11", + "value": { + "arguments": [ + { + "name": "value0", + "nodeType": "YulIdentifier", + "src": "3424:6:11" + }, + { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "3436:9:11" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "3447:2:11", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "3432:3:11" + }, + "nodeType": "YulFunctionCall", + "src": "3432:18:11" + } + ], + "functionName": { + "name": "abi_encode_array_bytes4_dyn", + "nodeType": "YulIdentifier", + "src": "3396:27:11" + }, + "nodeType": "YulFunctionCall", + "src": "3396:55:11" + }, + "variableNames": [ + { + "name": "tail", + "nodeType": "YulIdentifier", + "src": "3388:4:11" + } + ] + } + ] + }, + "name": "abi_encode_tuple_t_array$_t_bytes4_$dyn_memory_ptr__to_t_array$_t_bytes4_$dyn_memory_ptr__fromStack_reversed", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "headStart", + "nodeType": "YulTypedName", + "src": "3317:9:11", + "type": "" + }, + { + "name": "value0", + "nodeType": "YulTypedName", + "src": "3328:6:11", + "type": "" + } + ], + "returnVariables": [ + { + "name": "tail", + "nodeType": "YulTypedName", + "src": "3339:4:11", + "type": "" + } + ], + "src": "3199:258:11" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "3563:125:11", + "statements": [ + { + "nodeType": "YulAssignment", + "src": "3573:26:11", + "value": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "3585:9:11" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "3596:2:11", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "3581:3:11" + }, + "nodeType": "YulFunctionCall", + "src": "3581:18:11" + }, + "variableNames": [ + { + "name": "tail", + "nodeType": "YulIdentifier", + "src": "3573:4:11" + } + ] + }, + { + "expression": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "3615:9:11" + }, + { + "arguments": [ + { + "name": "value0", + "nodeType": "YulIdentifier", + "src": "3630:6:11" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "3638:42:11", + "type": "", + "value": "0xffffffffffffffffffffffffffffffffffffffff" + } + ], + "functionName": { + "name": "and", + "nodeType": "YulIdentifier", + "src": "3626:3:11" + }, + "nodeType": "YulFunctionCall", + "src": "3626:55:11" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "3608:6:11" + }, + "nodeType": "YulFunctionCall", + "src": "3608:74:11" + }, + "nodeType": "YulExpressionStatement", + "src": "3608:74:11" + } + ] + }, + "name": "abi_encode_tuple_t_address__to_t_address__fromStack_reversed", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "headStart", + "nodeType": "YulTypedName", + "src": "3532:9:11", + "type": "" + }, + { + "name": "value0", + "nodeType": "YulTypedName", + "src": "3543:6:11", + "type": "" + } + ], + "returnVariables": [ + { + "name": "tail", + "nodeType": "YulTypedName", + "src": "3554:4:11", + "type": "" + } + ], + "src": "3462:226:11" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "3725:152:11", + "statements": [ + { + "expression": { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "3742:1:11", + "type": "", + "value": "0" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "3745:77:11", + "type": "", + "value": "35408467139433450592217433187231851964531694900788300625387963629091585785856" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "3735:6:11" + }, + "nodeType": "YulFunctionCall", + "src": "3735:88:11" + }, + "nodeType": "YulExpressionStatement", + "src": "3735:88:11" + }, + { + "expression": { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "3839:1:11", + "type": "", + "value": "4" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "3842:4:11", + "type": "", + "value": "0x41" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "3832:6:11" + }, + "nodeType": "YulFunctionCall", + "src": "3832:15:11" + }, + "nodeType": "YulExpressionStatement", + "src": "3832:15:11" + }, + { + "expression": { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "3863:1:11", + "type": "", + "value": "0" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "3866:4:11", + "type": "", + "value": "0x24" + } + ], + "functionName": { + "name": "revert", + "nodeType": "YulIdentifier", + "src": "3856:6:11" + }, + "nodeType": "YulFunctionCall", + "src": "3856:15:11" + }, + "nodeType": "YulExpressionStatement", + "src": "3856:15:11" + } + ] + }, + "name": "panic_error_0x41", + "nodeType": "YulFunctionDefinition", + "src": "3693:184:11" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "3914:152:11", + "statements": [ + { + "expression": { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "3931:1:11", + "type": "", + "value": "0" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "3934:77:11", + "type": "", + "value": "35408467139433450592217433187231851964531694900788300625387963629091585785856" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "3924:6:11" + }, + "nodeType": "YulFunctionCall", + "src": "3924:88:11" + }, + "nodeType": "YulExpressionStatement", + "src": "3924:88:11" + }, + { + "expression": { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "4028:1:11", + "type": "", + "value": "4" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "4031:4:11", + "type": "", + "value": "0x32" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "4021:6:11" + }, + "nodeType": "YulFunctionCall", + "src": "4021:15:11" + }, + "nodeType": "YulExpressionStatement", + "src": "4021:15:11" + }, + { + "expression": { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "4052:1:11", + "type": "", + "value": "0" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "4055:4:11", + "type": "", + "value": "0x24" + } + ], + "functionName": { + "name": "revert", + "nodeType": "YulIdentifier", + "src": "4045:6:11" + }, + "nodeType": "YulFunctionCall", + "src": "4045:15:11" + }, + "nodeType": "YulExpressionStatement", + "src": "4045:15:11" + } + ] + }, + "name": "panic_error_0x32", + "nodeType": "YulFunctionDefinition", + "src": "3882:184:11" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "4118:302:11", + "statements": [ + { + "body": { + "nodeType": "YulBlock", + "src": "4217:168:11", + "statements": [ + { + "expression": { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "4238:1:11", + "type": "", + "value": "0" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "4241:77:11", + "type": "", + "value": "35408467139433450592217433187231851964531694900788300625387963629091585785856" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "4231:6:11" + }, + "nodeType": "YulFunctionCall", + "src": "4231:88:11" + }, + "nodeType": "YulExpressionStatement", + "src": "4231:88:11" + }, + { + "expression": { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "4339:1:11", + "type": "", + "value": "4" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "4342:4:11", + "type": "", + "value": "0x11" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "4332:6:11" + }, + "nodeType": "YulFunctionCall", + "src": "4332:15:11" + }, + "nodeType": "YulExpressionStatement", + "src": "4332:15:11" + }, + { + "expression": { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "4367:1:11", + "type": "", + "value": "0" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "4370:4:11", + "type": "", + "value": "0x24" + } + ], + "functionName": { + "name": "revert", + "nodeType": "YulIdentifier", + "src": "4360:6:11" + }, + "nodeType": "YulFunctionCall", + "src": "4360:15:11" + }, + "nodeType": "YulExpressionStatement", + "src": "4360:15:11" + } + ] + }, + "condition": { + "arguments": [ + { + "name": "value", + "nodeType": "YulIdentifier", + "src": "4134:5:11" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "4141:66:11", + "type": "", + "value": "0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff" + } + ], + "functionName": { + "name": "eq", + "nodeType": "YulIdentifier", + "src": "4131:2:11" + }, + "nodeType": "YulFunctionCall", + "src": "4131:77:11" + }, + "nodeType": "YulIf", + "src": "4128:257:11" + }, + { + "nodeType": "YulAssignment", + "src": "4394:20:11", + "value": { + "arguments": [ + { + "name": "value", + "nodeType": "YulIdentifier", + "src": "4405:5:11" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "4412:1:11", + "type": "", + "value": "1" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "4401:3:11" + }, + "nodeType": "YulFunctionCall", + "src": "4401:13:11" + }, + "variableNames": [ + { + "name": "ret", + "nodeType": "YulIdentifier", + "src": "4394:3:11" + } + ] + } + ] + }, + "name": "increment_t_uint256", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "value", + "nodeType": "YulTypedName", + "src": "4100:5:11", + "type": "" + } + ], + "returnVariables": [ + { + "name": "ret", "nodeType": "YulTypedName", - "src": "3654:4:10", + "src": "4110:3:11", "type": "" } ], - "src": "3568:187:10" + "src": "4071:349:11" } ] }, - "contents": "{\n { }\n function abi_decode_tuple_t_address(headStart, dataEnd) -> value0\n {\n if slt(sub(dataEnd, headStart), 32) { revert(value0, value0) }\n let value := calldataload(headStart)\n if iszero(eq(value, and(value, 0xffffffffffffffffffffffffffffffffffffffff))) { revert(value0, value0) }\n value0 := value\n }\n function abi_decode_tuple_t_bytes4(headStart, dataEnd) -> value0\n {\n if slt(sub(dataEnd, headStart), 32) { revert(value0, value0) }\n let value := calldataload(headStart)\n if iszero(eq(value, and(value, 0xffffffff00000000000000000000000000000000000000000000000000000000))) { revert(value0, value0) }\n value0 := value\n }\n function abi_encode_t_array$_t_bytes4_$dyn(value, pos) -> end\n {\n let length := mload(value)\n mstore(pos, length)\n let _1 := 0x20\n pos := add(pos, _1)\n let srcPtr := add(value, _1)\n let i := end\n for { } lt(i, length) { i := add(i, 1) }\n {\n mstore(pos, and(mload(srcPtr), 0xffffffff00000000000000000000000000000000000000000000000000000000))\n pos := add(pos, _1)\n srcPtr := add(srcPtr, _1)\n }\n end := pos\n }\n function abi_encode_tuple_t_address__to_t_address__fromStack_reversed(headStart, value0) -> tail\n {\n tail := add(headStart, 32)\n mstore(headStart, and(value0, 0xffffffffffffffffffffffffffffffffffffffff))\n }\n function abi_encode_tuple_t_array$_t_address_$dyn_memory_ptr__to_t_array$_t_address_$dyn_memory_ptr__fromStack_reversed(headStart, value0) -> tail\n {\n let _1 := 32\n let tail_1 := add(headStart, _1)\n mstore(headStart, _1)\n let pos := tail_1\n let length := mload(value0)\n mstore(tail_1, length)\n pos := add(headStart, 64)\n let srcPtr := add(value0, _1)\n let i := tail\n for { } lt(i, length) { i := add(i, 1) }\n {\n mstore(pos, and(mload(srcPtr), 0xffffffffffffffffffffffffffffffffffffffff))\n pos := add(pos, _1)\n srcPtr := add(srcPtr, _1)\n }\n tail := pos\n }\n function abi_encode_tuple_t_array$_t_bytes4_$dyn_memory_ptr__to_t_array$_t_bytes4_$dyn_memory_ptr__fromStack_reversed(headStart, value0) -> tail\n {\n mstore(headStart, 32)\n tail := abi_encode_t_array$_t_bytes4_$dyn(value0, add(headStart, 32))\n }\n function abi_encode_tuple_t_array$_t_struct$_Facet_$709_memory_ptr_$dyn_memory_ptr__to_t_array$_t_struct$_Facet_$709_memory_ptr_$dyn_memory_ptr__fromStack_reversed(headStart, value0) -> tail\n {\n let _1 := 32\n let tail_1 := add(headStart, _1)\n mstore(headStart, _1)\n let pos := tail_1\n let length := mload(value0)\n mstore(tail_1, length)\n let _2 := 64\n pos := add(headStart, _2)\n let tail_2 := add(add(headStart, mul(length, _1)), _2)\n let srcPtr := add(value0, _1)\n let i := tail\n for { } lt(i, length) { i := add(i, 1) }\n {\n mstore(pos, add(sub(tail_2, headStart), 0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc0))\n let _3 := mload(srcPtr)\n mstore(tail_2, and(mload(_3), 0xffffffffffffffffffffffffffffffffffffffff))\n let memberValue0 := mload(add(_3, _1))\n mstore(add(tail_2, _1), _2)\n tail_2 := abi_encode_t_array$_t_bytes4_$dyn(memberValue0, add(tail_2, _2))\n srcPtr := add(srcPtr, _1)\n pos := add(pos, _1)\n }\n tail := tail_2\n }\n function abi_encode_tuple_t_bool__to_t_bool__fromStack_reversed(headStart, value0) -> tail\n {\n tail := add(headStart, 32)\n mstore(headStart, iszero(iszero(value0)))\n }\n}", - "id": 10, + "contents": "{\n { }\n function abi_decode_tuple_t_bytes4(headStart, dataEnd) -> value0\n {\n if slt(sub(dataEnd, headStart), 32) { revert(0, 0) }\n let value := calldataload(headStart)\n if iszero(eq(value, and(value, 0xffffffff00000000000000000000000000000000000000000000000000000000))) { revert(0, 0) }\n value0 := value\n }\n function abi_encode_tuple_t_bool__to_t_bool__fromStack_reversed(headStart, value0) -> tail\n {\n tail := add(headStart, 32)\n mstore(headStart, iszero(iszero(value0)))\n }\n function abi_encode_tuple_t_array$_t_address_$dyn_memory_ptr__to_t_array$_t_address_$dyn_memory_ptr__fromStack_reversed(headStart, value0) -> tail\n {\n let _1 := 32\n let tail_1 := add(headStart, _1)\n mstore(headStart, _1)\n let pos := tail_1\n let length := mload(value0)\n mstore(tail_1, length)\n pos := add(headStart, 64)\n let srcPtr := add(value0, _1)\n let i := 0\n for { } lt(i, length) { i := add(i, 1) }\n {\n mstore(pos, and(mload(srcPtr), 0xffffffffffffffffffffffffffffffffffffffff))\n pos := add(pos, _1)\n srcPtr := add(srcPtr, _1)\n }\n tail := pos\n }\n function abi_encode_array_bytes4_dyn(value, pos) -> end\n {\n let length := mload(value)\n mstore(pos, length)\n let _1 := 0x20\n pos := add(pos, _1)\n let srcPtr := add(value, _1)\n let i := 0\n for { } lt(i, length) { i := add(i, 1) }\n {\n mstore(pos, and(mload(srcPtr), 0xffffffff00000000000000000000000000000000000000000000000000000000))\n pos := add(pos, _1)\n srcPtr := add(srcPtr, _1)\n }\n end := pos\n }\n function abi_encode_tuple_t_array$_t_struct$_Facet_$742_memory_ptr_$dyn_memory_ptr__to_t_array$_t_struct$_Facet_$742_memory_ptr_$dyn_memory_ptr__fromStack_reversed(headStart, value0) -> tail\n {\n let _1 := 32\n let tail_1 := add(headStart, _1)\n mstore(headStart, _1)\n let pos := tail_1\n let length := mload(value0)\n mstore(tail_1, length)\n let _2 := 64\n pos := add(headStart, _2)\n let tail_2 := add(add(headStart, shl(5, length)), _2)\n let srcPtr := add(value0, _1)\n let i := 0\n for { } lt(i, length) { i := add(i, 1) }\n {\n mstore(pos, add(sub(tail_2, headStart), 0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc0))\n let _3 := mload(srcPtr)\n mstore(tail_2, and(mload(_3), 0xffffffffffffffffffffffffffffffffffffffff))\n let memberValue0 := mload(add(_3, _1))\n mstore(add(tail_2, _1), _2)\n tail_2 := abi_encode_array_bytes4_dyn(memberValue0, add(tail_2, _2))\n srcPtr := add(srcPtr, _1)\n pos := add(pos, _1)\n }\n tail := tail_2\n }\n function abi_decode_tuple_t_address(headStart, dataEnd) -> value0\n {\n if slt(sub(dataEnd, headStart), 32) { revert(0, 0) }\n let value := calldataload(headStart)\n if iszero(eq(value, and(value, 0xffffffffffffffffffffffffffffffffffffffff))) { revert(0, 0) }\n value0 := value\n }\n function abi_encode_tuple_t_array$_t_bytes4_$dyn_memory_ptr__to_t_array$_t_bytes4_$dyn_memory_ptr__fromStack_reversed(headStart, value0) -> tail\n {\n mstore(headStart, 32)\n tail := abi_encode_array_bytes4_dyn(value0, add(headStart, 32))\n }\n function abi_encode_tuple_t_address__to_t_address__fromStack_reversed(headStart, value0) -> tail\n {\n tail := add(headStart, 32)\n mstore(headStart, and(value0, 0xffffffffffffffffffffffffffffffffffffffff))\n }\n function panic_error_0x41()\n {\n mstore(0, 35408467139433450592217433187231851964531694900788300625387963629091585785856)\n mstore(4, 0x41)\n revert(0, 0x24)\n }\n function panic_error_0x32()\n {\n mstore(0, 35408467139433450592217433187231851964531694900788300625387963629091585785856)\n mstore(4, 0x32)\n revert(0, 0x24)\n }\n function increment_t_uint256(value) -> ret\n {\n if eq(value, 0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff)\n {\n mstore(0, 35408467139433450592217433187231851964531694900788300625387963629091585785856)\n mstore(4, 0x11)\n revert(0, 0x24)\n }\n ret := add(value, 1)\n }\n}", + "id": 11, "language": "Yul", "name": "#utility.yul" } ], "immutableReferences": {}, "linkReferences": {}, - "opcodes": "PUSH1 0x80 PUSH1 0x40 MSTORE CALLVALUE DUP1 ISZERO PUSH2 0x10 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH1 0x4 CALLDATASIZE LT PUSH2 0x67 JUMPI PUSH1 0x0 CALLDATALOAD PUSH1 0xE0 SHR DUP1 PUSH4 0x7A0ED627 GT PUSH2 0x50 JUMPI DUP1 PUSH4 0x7A0ED627 EQ PUSH2 0xAA JUMPI DUP1 PUSH4 0xADFCA15E EQ PUSH2 0xBF JUMPI DUP1 PUSH4 0xCDFFACC6 EQ PUSH2 0xDF JUMPI PUSH2 0x67 JUMP JUMPDEST DUP1 PUSH4 0x1FFC9A7 EQ PUSH2 0x6C JUMPI DUP1 PUSH4 0x52EF6B2C EQ PUSH2 0x95 JUMPI JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x7F PUSH2 0x7A CALLDATASIZE PUSH1 0x4 PUSH2 0x50D JUMP JUMPDEST PUSH2 0xFF JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x8C SWAP2 SWAP1 PUSH2 0x6DC JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH2 0x9D PUSH2 0x14A JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x8C SWAP2 SWAP1 PUSH2 0x5CA JUMP JUMPDEST PUSH2 0xB2 PUSH2 0x1C3 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x8C SWAP2 SWAP1 PUSH2 0x637 JUMP JUMPDEST PUSH2 0xD2 PUSH2 0xCD CALLDATASIZE PUSH1 0x4 PUSH2 0x4D2 JUMP JUMPDEST PUSH2 0x370 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x8C SWAP2 SWAP1 PUSH2 0x624 JUMP JUMPDEST PUSH2 0xF2 PUSH2 0xED CALLDATASIZE PUSH1 0x4 PUSH2 0x50D JUMP JUMPDEST PUSH2 0x43C JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x8C SWAP2 SWAP1 PUSH2 0x5A9 JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH2 0x10A PUSH2 0x496 JUMP JUMPDEST PUSH32 0xFFFFFFFF00000000000000000000000000000000000000000000000000000000 DUP5 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x3 SWAP1 SWAP2 ADD PUSH1 0x20 MSTORE PUSH1 0x40 SWAP1 KECCAK256 SLOAD PUSH1 0xFF AND SWAP2 POP POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x60 PUSH1 0x0 PUSH2 0x156 PUSH2 0x496 JUMP JUMPDEST PUSH1 0x2 DUP2 ADD DUP1 SLOAD PUSH1 0x40 DUP1 MLOAD PUSH1 0x20 DUP1 DUP5 MUL DUP3 ADD DUP2 ADD SWAP1 SWAP3 MSTORE DUP3 DUP2 MSTORE SWAP4 SWAP5 POP DUP4 ADD DUP3 DUP3 DUP1 ISZERO PUSH2 0x1B8 JUMPI PUSH1 0x20 MUL DUP3 ADD SWAP2 SWAP1 PUSH1 0x0 MSTORE PUSH1 0x20 PUSH1 0x0 KECCAK256 SWAP1 JUMPDEST DUP2 SLOAD PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP2 MSTORE PUSH1 0x1 SWAP1 SWAP2 ADD SWAP1 PUSH1 0x20 ADD DUP1 DUP4 GT PUSH2 0x18D JUMPI JUMPDEST POP POP POP POP POP SWAP2 POP POP SWAP1 JUMP JUMPDEST PUSH1 0x60 PUSH1 0x0 PUSH2 0x1CF PUSH2 0x496 JUMP JUMPDEST PUSH1 0x2 DUP2 ADD SLOAD SWAP1 SWAP2 POP DUP1 PUSH8 0xFFFFFFFFFFFFFFFF DUP2 GT DUP1 ISZERO PUSH2 0x1EE JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH1 0x40 MLOAD SWAP1 DUP1 DUP3 MSTORE DUP1 PUSH1 0x20 MUL PUSH1 0x20 ADD DUP3 ADD PUSH1 0x40 MSTORE DUP1 ISZERO PUSH2 0x228 JUMPI DUP2 PUSH1 0x20 ADD JUMPDEST PUSH2 0x215 PUSH2 0x4BA JUMP JUMPDEST DUP2 MSTORE PUSH1 0x20 ADD SWAP1 PUSH1 0x1 SWAP1 SUB SWAP1 DUP2 PUSH2 0x20D JUMPI SWAP1 POP JUMPDEST POP SWAP3 POP PUSH1 0x0 JUMPDEST DUP2 DUP2 LT ISZERO PUSH2 0x36A JUMPI PUSH1 0x0 DUP4 PUSH1 0x2 ADD DUP3 DUP2 SLOAD DUP2 LT PUSH2 0x247 JUMPI INVALID JUMPDEST SWAP1 PUSH1 0x0 MSTORE PUSH1 0x20 PUSH1 0x0 KECCAK256 ADD PUSH1 0x0 SWAP1 SLOAD SWAP1 PUSH2 0x100 EXP SWAP1 DIV PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND SWAP1 POP DUP1 DUP6 DUP4 DUP2 MLOAD DUP2 LT PUSH2 0x281 JUMPI INVALID JUMPDEST PUSH1 0x20 SWAP1 DUP2 MUL SWAP2 SWAP1 SWAP2 ADD DUP2 ADD MLOAD PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF SWAP3 DUP4 AND SWAP1 MSTORE SWAP1 DUP3 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x1 DUP7 ADD DUP3 MSTORE PUSH1 0x40 SWAP1 DUP2 SWAP1 KECCAK256 DUP1 SLOAD DUP3 MLOAD DUP2 DUP6 MUL DUP2 ADD DUP6 ADD SWAP1 SWAP4 MSTORE DUP1 DUP4 MSTORE SWAP2 SWAP3 SWAP1 SWAP2 SWAP1 DUP4 ADD DUP3 DUP3 DUP1 ISZERO PUSH2 0x342 JUMPI PUSH1 0x20 MUL DUP3 ADD SWAP2 SWAP1 PUSH1 0x0 MSTORE PUSH1 0x20 PUSH1 0x0 KECCAK256 SWAP1 PUSH1 0x0 SWAP1 JUMPDEST DUP3 DUP3 SWAP1 SLOAD SWAP1 PUSH2 0x100 EXP SWAP1 DIV PUSH1 0xE0 SHL PUSH28 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF NOT AND DUP2 MSTORE PUSH1 0x20 ADD SWAP1 PUSH1 0x4 ADD SWAP1 PUSH1 0x20 DUP3 PUSH1 0x3 ADD DIV SWAP3 DUP4 ADD SWAP3 PUSH1 0x1 SUB DUP3 MUL SWAP2 POP DUP1 DUP5 GT PUSH2 0x2EF JUMPI SWAP1 POP JUMPDEST POP POP POP POP POP DUP6 DUP4 DUP2 MLOAD DUP2 LT PUSH2 0x353 JUMPI INVALID JUMPDEST PUSH1 0x20 SWAP1 DUP2 MUL SWAP2 SWAP1 SWAP2 ADD DUP2 ADD MLOAD ADD MSTORE POP PUSH1 0x1 ADD PUSH2 0x22E JUMP JUMPDEST POP POP POP SWAP1 JUMP JUMPDEST PUSH1 0x60 PUSH1 0x0 PUSH2 0x37C PUSH2 0x496 JUMP JUMPDEST PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP5 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x1 DUP3 ADD PUSH1 0x20 SWAP1 DUP2 MSTORE PUSH1 0x40 SWAP2 DUP3 SWAP1 KECCAK256 DUP1 SLOAD DUP4 MLOAD DUP2 DUP5 MUL DUP2 ADD DUP5 ADD SWAP1 SWAP5 MSTORE DUP1 DUP5 MSTORE SWAP4 SWAP5 POP SWAP2 SWAP3 SWAP1 DUP4 ADD DUP3 DUP3 DUP1 ISZERO PUSH2 0x42F JUMPI PUSH1 0x20 MUL DUP3 ADD SWAP2 SWAP1 PUSH1 0x0 MSTORE PUSH1 0x20 PUSH1 0x0 KECCAK256 SWAP1 PUSH1 0x0 SWAP1 JUMPDEST DUP3 DUP3 SWAP1 SLOAD SWAP1 PUSH2 0x100 EXP SWAP1 DIV PUSH1 0xE0 SHL PUSH28 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF NOT AND DUP2 MSTORE PUSH1 0x20 ADD SWAP1 PUSH1 0x4 ADD SWAP1 PUSH1 0x20 DUP3 PUSH1 0x3 ADD DIV SWAP3 DUP4 ADD SWAP3 PUSH1 0x1 SUB DUP3 MUL SWAP2 POP DUP1 DUP5 GT PUSH2 0x3DC JUMPI SWAP1 POP JUMPDEST POP POP POP POP POP SWAP2 POP POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH2 0x447 PUSH2 0x496 JUMP JUMPDEST PUSH32 0xFFFFFFFF00000000000000000000000000000000000000000000000000000000 SWAP1 SWAP4 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x20 SWAP4 SWAP1 SWAP4 MSTORE POP POP PUSH1 0x40 SWAP1 KECCAK256 SLOAD PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND SWAP1 JUMP JUMPDEST PUSH32 0xC8FCAD8DB84D3CC18B4C41D551EA0EE66DD599CDE068D998E57D5E09332C131C SWAP1 JUMP JUMPDEST PUSH1 0x40 DUP1 MLOAD DUP1 DUP3 ADD SWAP1 SWAP2 MSTORE PUSH1 0x0 DUP2 MSTORE PUSH1 0x60 PUSH1 0x20 DUP3 ADD MSTORE SWAP1 JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x4E3 JUMPI DUP1 DUP2 REVERT JUMPDEST DUP2 CALLDATALOAD PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP2 AND DUP2 EQ PUSH2 0x506 JUMPI DUP2 DUP3 REVERT JUMPDEST SWAP4 SWAP3 POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x51E JUMPI DUP1 DUP2 REVERT JUMPDEST DUP2 CALLDATALOAD PUSH32 0xFFFFFFFF00000000000000000000000000000000000000000000000000000000 DUP2 AND DUP2 EQ PUSH2 0x506 JUMPI DUP2 DUP3 REVERT JUMPDEST PUSH1 0x0 DUP2 MLOAD DUP1 DUP5 MSTORE PUSH1 0x20 DUP1 DUP6 ADD SWAP5 POP DUP1 DUP5 ADD DUP4 JUMPDEST DUP4 DUP2 LT ISZERO PUSH2 0x59E JUMPI DUP2 MLOAD PUSH32 0xFFFFFFFF00000000000000000000000000000000000000000000000000000000 AND DUP8 MSTORE SWAP6 DUP3 ADD SWAP6 SWAP1 DUP3 ADD SWAP1 PUSH1 0x1 ADD PUSH2 0x560 JUMP JUMPDEST POP SWAP5 SWAP6 SWAP5 POP POP POP POP POP JUMP JUMPDEST PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF SWAP2 SWAP1 SWAP2 AND DUP2 MSTORE PUSH1 0x20 ADD SWAP1 JUMP JUMPDEST PUSH1 0x20 DUP1 DUP3 MSTORE DUP3 MLOAD DUP3 DUP3 ADD DUP2 SWAP1 MSTORE PUSH1 0x0 SWAP2 SWAP1 DUP5 DUP3 ADD SWAP1 PUSH1 0x40 DUP6 ADD SWAP1 DUP5 JUMPDEST DUP2 DUP2 LT ISZERO PUSH2 0x618 JUMPI DUP4 MLOAD PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP4 MSTORE SWAP3 DUP5 ADD SWAP3 SWAP2 DUP5 ADD SWAP2 PUSH1 0x1 ADD PUSH2 0x5E6 JUMP JUMPDEST POP SWAP1 SWAP7 SWAP6 POP POP POP POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 MSTORE PUSH2 0x506 PUSH1 0x20 DUP4 ADD DUP5 PUSH2 0x54D JUMP JUMPDEST PUSH1 0x20 DUP1 DUP3 MSTORE DUP3 MLOAD DUP3 DUP3 ADD DUP2 SWAP1 MSTORE PUSH1 0x0 SWAP2 SWAP1 PUSH1 0x40 SWAP1 DUP2 DUP6 ADD SWAP1 DUP1 DUP5 MUL DUP7 ADD DUP4 ADD DUP8 DUP6 ADD DUP7 JUMPDEST DUP4 DUP2 LT ISZERO PUSH2 0x6CE JUMPI DUP9 DUP4 SUB PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFC0 ADD DUP6 MSTORE DUP2 MLOAD DUP1 MLOAD PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP5 MSTORE DUP8 ADD MLOAD DUP8 DUP5 ADD DUP8 SWAP1 MSTORE PUSH2 0x6BB DUP8 DUP6 ADD DUP3 PUSH2 0x54D JUMP JUMPDEST SWAP6 DUP9 ADD SWAP6 SWAP4 POP POP SWAP1 DUP7 ADD SWAP1 PUSH1 0x1 ADD PUSH2 0x65B JUMP JUMPDEST POP SWAP1 SWAP9 SWAP8 POP POP POP POP POP POP POP POP JUMP JUMPDEST SWAP1 ISZERO ISZERO DUP2 MSTORE PUSH1 0x20 ADD SWAP1 JUMP INVALID LOG2 PUSH5 0x6970667358 0x22 SLT KECCAK256 DUP10 0xD5 0xCE DUP14 SWAP10 PUSH18 0xBEF242A45F969BF2CA524B5BDF0488783BD DUP12 PUSH10 0xC2FEA19E15ED64736F6C PUSH4 0x43000706 STOP CALLER ", - "sourceMap": "561:2484:3:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2821:222;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;2060:220;;;:::i;:::-;;;;;;;:::i;989:523::-;;;:::i;:::-;;;;;;;:::i;1668:291::-;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;2510:273::-;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;2821:222::-;2901:4;2917:36;2956:27;:25;:27::i;:::-;3000:36;;;;;;;:22;;;;:36;;;;;;;;;-1:-1:-1;;2821:222:3;;;:::o;2060:220::-;2118:32;2162:36;2201:27;:25;:27::i;:::-;2256:17;;;2238:35;;;;;;;;;;;;;;;;;;;2162:66;;-1:-1:-1;2238:35:3;;2256:17;2238:35;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2060:220;;:::o;989:523::-;1039:22;1073:36;1112:27;:25;:27::i;:::-;1169:17;;;:24;1073:66;;-1:-1:-1;1169:24:3;1213:22;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;1203:32;;1250:9;1245:261;1265:9;1261:1;:13;1245:261;;;1295:21;1319:2;:17;;1337:1;1319:20;;;;;;;;;;;;;;;;;;;;;;;;;1295:44;;1379:13;1353:7;1361:1;1353:10;;;;;;;;;;;;;;;;;;;:39;;;;;;1437:40;;;1353:23;1437:40;;;:25;;;:40;;;;;;;1406:89;;;;;;;;;;;;;;;;;;;1437:40;;1406:89;;;1437:40;1406:89;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:7;1414:1;1406:10;;;;;;;;;;;;;;;;;;;:28;:89;-1:-1:-1;1276:3:3;;1245:261;;;;989:523;;;:::o;1668:291::-;1748:39;1799:36;1838:27;:25;:27::i;:::-;1901:33;;;;;;;:25;;;:33;;;;;;;;;1875:77;;;;;;;;;;;;;;;;;1799:66;;-1:-1:-1;1875:77:3;;;;;1901:33;1875:77;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1668:291;;;;:::o;2510:273::-;2590:21;2623:36;2662:27;:25;:27::i;:::-;2715:48;;;;:29;:48;;;;;;;;-1:-1:-1;;2715:48:3;;;:61;;;;2510:273::o;1579:197:9:-;514:45;;1727:43::o;-1:-1:-1:-;;;;;;;;;;;;;;;;;;;:::o;14:329:10:-;;126:2;114:9;105:7;101:23;97:32;94:2;;;147:6;139;132:22;94:2;191:9;178:23;241:42;234:5;230:54;223:5;220:65;210:2;;304:6;296;289:22;210:2;332:5;84:259;-1:-1:-1;;;84:259:10:o;348:352::-;;459:2;447:9;438:7;434:23;430:32;427:2;;;480:6;472;465:22;427:2;524:9;511:23;574:66;567:5;563:78;556:5;553:89;543:2;;661:6;653;646:22;705:515;;801:5;795:12;828:6;823:3;816:19;854:4;883:2;878:3;874:12;867:19;;920:2;913:5;909:14;941:3;953:242;967:6;964:1;961:13;953:242;;;1032:13;;1047:66;1028:86;1016:99;;1135:12;;;;1170:15;;;;989:1;982:9;953:242;;;-1:-1:-1;1211:3:10;;771:449;-1:-1:-1;;;;;771:449:10:o;1225:226::-;1401:42;1389:55;;;;1371:74;;1359:2;1344:18;;1326:125::o;1456:684::-;1627:2;1679:21;;;1749:13;;1652:18;;;1771:22;;;1456:684;;1627:2;1850:15;;;;1824:2;1809:18;;;1456:684;1896:218;1910:6;1907:1;1904:13;1896:218;;;1975:13;;1990:42;1971:62;1959:75;;2089:15;;;;2054:12;;;;1932:1;1925:9;1896:218;;;-1:-1:-1;2131:3:10;;1607:533;-1:-1:-1;;;;;;1607:533:10:o;2145:264::-;;2322:2;2311:9;2304:21;2342:61;2399:2;2388:9;2384:18;2376:6;2342:61;:::i;2414:1149::-;2629:2;2681:21;;;2751:13;;2654:18;;;2773:22;;;2414:1149;;2629:2;2814;;2832:18;;;;2892:15;;;2877:31;;2873:40;;2936:15;;;2414:1149;2982:552;2996:6;2993:1;2990:13;2982:552;;;3061:22;;;3085:66;3057:95;3045:108;;3176:13;;3221:9;;3232:42;3217:58;3202:74;;3315:11;;3309:18;3347:15;;;3340:27;;;3390:64;3438:15;;;3309:18;3390:64;:::i;:::-;3512:12;;;;3380:74;-1:-1:-1;;3477:15:10;;;;3018:1;3011:9;2982:552;;;-1:-1:-1;3551:6:10;;2609:954;-1:-1:-1;;;;;;;;2609:954:10:o;3568:187::-;3733:14;;3726:22;3708:41;;3696:2;3681:18;;3663:92::o" + "opcodes": "PUSH1 0x80 PUSH1 0x40 MSTORE CALLVALUE DUP1 ISZERO PUSH2 0x10 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH1 0x4 CALLDATASIZE LT PUSH2 0x67 JUMPI PUSH1 0x0 CALLDATALOAD PUSH1 0xE0 SHR DUP1 PUSH4 0x7A0ED627 GT PUSH2 0x50 JUMPI DUP1 PUSH4 0x7A0ED627 EQ PUSH2 0xFA JUMPI DUP1 PUSH4 0xADFCA15E EQ PUSH2 0x10F JUMPI DUP1 PUSH4 0xCDFFACC6 EQ PUSH2 0x12F JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP1 PUSH4 0x1FFC9A7 EQ PUSH2 0x6C JUMPI DUP1 PUSH4 0x52EF6B2C EQ PUSH2 0xE5 JUMPI JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0xD0 PUSH2 0x7A CALLDATASIZE PUSH1 0x4 PUSH2 0x569 JUMP JUMPDEST PUSH32 0xFFFFFFFF00000000000000000000000000000000000000000000000000000000 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH32 0xC8FCAD8DB84D3CC18B4C41D551EA0EE66DD599CDE068D998E57D5E09332C131F PUSH1 0x20 MSTORE PUSH1 0x40 SWAP1 KECCAK256 SLOAD PUSH1 0xFF AND SWAP1 JUMP JUMPDEST PUSH1 0x40 MLOAD SWAP1 ISZERO ISZERO DUP2 MSTORE PUSH1 0x20 ADD JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH2 0xED PUSH2 0x1CB JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0xDC SWAP2 SWAP1 PUSH2 0x5B2 JUMP JUMPDEST PUSH2 0x102 PUSH2 0x25D JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0xDC SWAP2 SWAP1 PUSH2 0x669 JUMP JUMPDEST PUSH2 0x122 PUSH2 0x11D CALLDATASIZE PUSH1 0x4 PUSH2 0x711 JUMP JUMPDEST PUSH2 0x469 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0xDC SWAP2 SWAP1 PUSH2 0x747 JUMP JUMPDEST PUSH2 0x1A6 PUSH2 0x13D CALLDATASIZE PUSH1 0x4 PUSH2 0x569 JUMP JUMPDEST PUSH32 0xFFFFFFFF00000000000000000000000000000000000000000000000000000000 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH32 0xC8FCAD8DB84D3CC18B4C41D551EA0EE66DD599CDE068D998E57D5E09332C131C PUSH1 0x20 MSTORE PUSH1 0x40 SWAP1 KECCAK256 SLOAD PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND SWAP1 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF SWAP1 SWAP2 AND DUP2 MSTORE PUSH1 0x20 ADD PUSH2 0xDC JUMP JUMPDEST PUSH1 0x60 PUSH1 0x0 PUSH32 0xC8FCAD8DB84D3CC18B4C41D551EA0EE66DD599CDE068D998E57D5E09332C131C PUSH1 0x2 DUP2 ADD DUP1 SLOAD PUSH1 0x40 DUP1 MLOAD PUSH1 0x20 DUP1 DUP5 MUL DUP3 ADD DUP2 ADD SWAP1 SWAP3 MSTORE DUP3 DUP2 MSTORE SWAP4 SWAP5 POP DUP4 ADD DUP3 DUP3 DUP1 ISZERO PUSH2 0x252 JUMPI PUSH1 0x20 MUL DUP3 ADD SWAP2 SWAP1 PUSH1 0x0 MSTORE PUSH1 0x20 PUSH1 0x0 KECCAK256 SWAP1 JUMPDEST DUP2 SLOAD PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP2 MSTORE PUSH1 0x1 SWAP1 SWAP2 ADD SWAP1 PUSH1 0x20 ADD DUP1 DUP4 GT PUSH2 0x227 JUMPI JUMPDEST POP POP POP POP POP SWAP2 POP POP SWAP1 JUMP JUMPDEST PUSH32 0xC8FCAD8DB84D3CC18B4C41D551EA0EE66DD599CDE068D998E57D5E09332C131E SLOAD PUSH1 0x60 SWAP1 PUSH32 0xC8FCAD8DB84D3CC18B4C41D551EA0EE66DD599CDE068D998E57D5E09332C131C SWAP1 DUP1 PUSH8 0xFFFFFFFFFFFFFFFF DUP2 GT ISZERO PUSH2 0x2BD JUMPI PUSH2 0x2BD PUSH2 0x75A JUMP JUMPDEST PUSH1 0x40 MLOAD SWAP1 DUP1 DUP3 MSTORE DUP1 PUSH1 0x20 MUL PUSH1 0x20 ADD DUP3 ADD PUSH1 0x40 MSTORE DUP1 ISZERO PUSH2 0x303 JUMPI DUP2 PUSH1 0x20 ADD JUMPDEST PUSH1 0x40 DUP1 MLOAD DUP1 DUP3 ADD SWAP1 SWAP2 MSTORE PUSH1 0x0 DUP2 MSTORE PUSH1 0x60 PUSH1 0x20 DUP3 ADD MSTORE DUP2 MSTORE PUSH1 0x20 ADD SWAP1 PUSH1 0x1 SWAP1 SUB SWAP1 DUP2 PUSH2 0x2DB JUMPI SWAP1 POP JUMPDEST POP SWAP3 POP PUSH1 0x0 JUMPDEST DUP2 DUP2 LT ISZERO PUSH2 0x463 JUMPI PUSH1 0x0 DUP4 PUSH1 0x2 ADD DUP3 DUP2 SLOAD DUP2 LT PUSH2 0x328 JUMPI PUSH2 0x328 PUSH2 0x789 JUMP JUMPDEST SWAP1 PUSH1 0x0 MSTORE PUSH1 0x20 PUSH1 0x0 KECCAK256 ADD PUSH1 0x0 SWAP1 SLOAD SWAP1 PUSH2 0x100 EXP SWAP1 DIV PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND SWAP1 POP DUP1 DUP6 DUP4 DUP2 MLOAD DUP2 LT PUSH2 0x368 JUMPI PUSH2 0x368 PUSH2 0x789 JUMP JUMPDEST PUSH1 0x20 SWAP1 DUP2 MUL SWAP2 SWAP1 SWAP2 ADD DUP2 ADD MLOAD PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF SWAP3 DUP4 AND SWAP1 MSTORE SWAP1 DUP3 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x1 DUP7 ADD DUP3 MSTORE PUSH1 0x40 SWAP1 DUP2 SWAP1 KECCAK256 DUP1 SLOAD DUP3 MLOAD DUP2 DUP6 MUL DUP2 ADD DUP6 ADD SWAP1 SWAP4 MSTORE DUP1 DUP4 MSTORE SWAP2 SWAP3 SWAP1 SWAP2 SWAP1 DUP4 ADD DUP3 DUP3 DUP1 ISZERO PUSH2 0x429 JUMPI PUSH1 0x20 MUL DUP3 ADD SWAP2 SWAP1 PUSH1 0x0 MSTORE PUSH1 0x20 PUSH1 0x0 KECCAK256 SWAP1 PUSH1 0x0 SWAP1 JUMPDEST DUP3 DUP3 SWAP1 SLOAD SWAP1 PUSH2 0x100 EXP SWAP1 DIV PUSH1 0xE0 SHL PUSH28 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF NOT AND DUP2 MSTORE PUSH1 0x20 ADD SWAP1 PUSH1 0x4 ADD SWAP1 PUSH1 0x20 DUP3 PUSH1 0x3 ADD DIV SWAP3 DUP4 ADD SWAP3 PUSH1 0x1 SUB DUP3 MUL SWAP2 POP DUP1 DUP5 GT PUSH2 0x3D6 JUMPI SWAP1 POP JUMPDEST POP POP POP POP POP DUP6 DUP4 DUP2 MLOAD DUP2 LT PUSH2 0x440 JUMPI PUSH2 0x440 PUSH2 0x789 JUMP JUMPDEST PUSH1 0x20 MUL PUSH1 0x20 ADD ADD MLOAD PUSH1 0x20 ADD DUP2 SWAP1 MSTORE POP POP DUP1 DUP1 PUSH2 0x45B SWAP1 PUSH2 0x7B8 JUMP JUMPDEST SWAP2 POP POP PUSH2 0x309 JUMP JUMPDEST POP POP POP SWAP1 JUMP JUMPDEST PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP2 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH32 0xC8FCAD8DB84D3CC18B4C41D551EA0EE66DD599CDE068D998E57D5E09332C131D PUSH1 0x20 SWAP1 DUP2 MSTORE PUSH1 0x40 SWAP2 DUP3 SWAP1 KECCAK256 DUP1 SLOAD DUP4 MLOAD DUP2 DUP5 MUL DUP2 ADD DUP5 ADD SWAP1 SWAP5 MSTORE DUP1 DUP5 MSTORE PUSH1 0x60 SWAP4 PUSH32 0xC8FCAD8DB84D3CC18B4C41D551EA0EE66DD599CDE068D998E57D5E09332C131C SWAP4 SWAP1 SWAP3 SWAP2 SWAP1 DUP4 ADD DUP3 DUP3 DUP1 ISZERO PUSH2 0x55C JUMPI PUSH1 0x20 MUL DUP3 ADD SWAP2 SWAP1 PUSH1 0x0 MSTORE PUSH1 0x20 PUSH1 0x0 KECCAK256 SWAP1 PUSH1 0x0 SWAP1 JUMPDEST DUP3 DUP3 SWAP1 SLOAD SWAP1 PUSH2 0x100 EXP SWAP1 DIV PUSH1 0xE0 SHL PUSH28 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF NOT AND DUP2 MSTORE PUSH1 0x20 ADD SWAP1 PUSH1 0x4 ADD SWAP1 PUSH1 0x20 DUP3 PUSH1 0x3 ADD DIV SWAP3 DUP4 ADD SWAP3 PUSH1 0x1 SUB DUP3 MUL SWAP2 POP DUP1 DUP5 GT PUSH2 0x509 JUMPI SWAP1 POP JUMPDEST POP POP POP POP POP SWAP2 POP POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x57B JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP2 CALLDATALOAD PUSH32 0xFFFFFFFF00000000000000000000000000000000000000000000000000000000 DUP2 AND DUP2 EQ PUSH2 0x5AB JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST SWAP4 SWAP3 POP POP POP JUMP JUMPDEST PUSH1 0x20 DUP1 DUP3 MSTORE DUP3 MLOAD DUP3 DUP3 ADD DUP2 SWAP1 MSTORE PUSH1 0x0 SWAP2 SWAP1 DUP5 DUP3 ADD SWAP1 PUSH1 0x40 DUP6 ADD SWAP1 DUP5 JUMPDEST DUP2 DUP2 LT ISZERO PUSH2 0x600 JUMPI DUP4 MLOAD PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP4 MSTORE SWAP3 DUP5 ADD SWAP3 SWAP2 DUP5 ADD SWAP2 PUSH1 0x1 ADD PUSH2 0x5CE JUMP JUMPDEST POP SWAP1 SWAP7 SWAP6 POP POP POP POP POP POP JUMP JUMPDEST PUSH1 0x0 DUP2 MLOAD DUP1 DUP5 MSTORE PUSH1 0x20 DUP1 DUP6 ADD SWAP5 POP DUP1 DUP5 ADD PUSH1 0x0 JUMPDEST DUP4 DUP2 LT ISZERO PUSH2 0x65E JUMPI DUP2 MLOAD PUSH32 0xFFFFFFFF00000000000000000000000000000000000000000000000000000000 AND DUP8 MSTORE SWAP6 DUP3 ADD SWAP6 SWAP1 DUP3 ADD SWAP1 PUSH1 0x1 ADD PUSH2 0x620 JUMP JUMPDEST POP SWAP5 SWAP6 SWAP5 POP POP POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP1 DUP4 ADD DUP2 DUP5 MSTORE DUP1 DUP6 MLOAD DUP1 DUP4 MSTORE PUSH1 0x40 SWAP3 POP DUP3 DUP7 ADD SWAP2 POP DUP3 DUP2 PUSH1 0x5 SHL DUP8 ADD ADD DUP5 DUP9 ADD PUSH1 0x0 JUMPDEST DUP4 DUP2 LT ISZERO PUSH2 0x703 JUMPI DUP9 DUP4 SUB PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFC0 ADD DUP6 MSTORE DUP2 MLOAD DUP1 MLOAD PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP5 MSTORE DUP8 ADD MLOAD DUP8 DUP5 ADD DUP8 SWAP1 MSTORE PUSH2 0x6F0 DUP8 DUP6 ADD DUP3 PUSH2 0x60C JUMP JUMPDEST SWAP6 DUP9 ADD SWAP6 SWAP4 POP POP SWAP1 DUP7 ADD SWAP1 PUSH1 0x1 ADD PUSH2 0x690 JUMP JUMPDEST POP SWAP1 SWAP9 SWAP8 POP POP POP POP POP POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x723 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP2 CALLDATALOAD PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP2 AND DUP2 EQ PUSH2 0x5AB JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x20 DUP2 MSTORE PUSH1 0x0 PUSH2 0x5AB PUSH1 0x20 DUP4 ADD DUP5 PUSH2 0x60C JUMP JUMPDEST PUSH32 0x4E487B7100000000000000000000000000000000000000000000000000000000 PUSH1 0x0 MSTORE PUSH1 0x41 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST PUSH32 0x4E487B7100000000000000000000000000000000000000000000000000000000 PUSH1 0x0 MSTORE PUSH1 0x32 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST PUSH1 0x0 PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP3 EQ ISZERO PUSH2 0x811 JUMPI PUSH32 0x4E487B7100000000000000000000000000000000000000000000000000000000 PUSH1 0x0 MSTORE PUSH1 0x11 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST POP PUSH1 0x1 ADD SWAP1 JUMP INVALID LOG2 PUSH5 0x6970667358 0x22 SLT KECCAK256 0xC JUMPDEST OR PUSH30 0xE2AED4874EBD4BC1DD3A8AF2D25547FDD59BA0C61E502F7A15C95E1A6473 PUSH16 0x6C634300080900330000000000000000 ", + "sourceMap": "539:2484:3:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2799:222;;;;;;:::i;:::-;2978:36;;2879:4;2978:36;;;:22;:36;;;;;;;;;2799:222;;;;516:14:11;;509:22;491:41;;479:2;464:18;2799:222:3;;;;;;;;2038:220;;;:::i;:::-;;;;;;;:::i;967:523::-;;;:::i;:::-;;;;;;;:::i;1646:291::-;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;2488:273::-;;;;;;:::i;:::-;2693:48;;2568:21;2693:48;;;492:45:9;2693:48:3;;;;;:61;;;;2488:273;;;;3638:42:11;3626:55;;;3608:74;;3596:2;3581:18;2488:273:3;3462:226:11;2038:220:3;2096:32;2140:36;492:45:9;2234:17:3;;;2216:35;;;;;;;;;;;;;;;;;;;2140:66;;-1:-1:-1;2216:35:3;;2234:17;2216:35;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2130:128;2038:220;:::o;967:523::-;1147:17;:24;1017:22;;492:45:9;;1147:24:3;1191:22;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;;;;;;;1191:22:3;;;;;;;;;;;;;;;;1181:32;;1228:9;1223:261;1243:9;1239:1;:13;1223:261;;;1273:21;1297:2;:17;;1315:1;1297:20;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;1273:44;;1357:13;1331:7;1339:1;1331:10;;;;;;;;:::i;:::-;;;;;;;;;;;;:39;;;;;;1415:40;;;1331:23;1415:40;;;:25;;;:40;;;;;;;1384:89;;;;;;;;;;;;;;;;;;;1415:40;;1384:89;;;1415:40;1384:89;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:7;1392:1;1384:10;;;;;;;;:::i;:::-;;;;;;;:28;;:89;;;;1259:225;1254:3;;;;;:::i;:::-;;;;1223:261;;;;1041:449;;967:523;:::o;1646:291::-;1879:33;;;1777:36;1879:33;;;:25;:33;;;;;;;;;1853:77;;;;;;;;;;;;;;;;;1726:39;;492:45:9;;1853:77:3;;1879:33;1853:77;;;1879:33;1853:77;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1767:170;1646:291;;;:::o;14:332:11:-;72:6;125:2;113:9;104:7;100:23;96:32;93:52;;;141:1;138;131:12;93:52;180:9;167:23;230:66;223:5;219:78;212:5;209:89;199:117;;312:1;309;302:12;199:117;335:5;14:332;-1:-1:-1;;;14:332:11:o;543:681::-;714:2;766:21;;;836:13;;739:18;;;858:22;;;685:4;;714:2;937:15;;;;911:2;896:18;;;685:4;980:218;994:6;991:1;988:13;980:218;;;1059:13;;1074:42;1055:62;1043:75;;1173:15;;;;1138:12;;;;1016:1;1009:9;980:218;;;-1:-1:-1;1215:3:11;;543:681;-1:-1:-1;;;;;;543:681:11:o;1229:507::-;1281:3;1319:5;1313:12;1346:6;1341:3;1334:19;1372:4;1401:2;1396:3;1392:12;1385:19;;1438:2;1431:5;1427:14;1459:1;1469:242;1483:6;1480:1;1477:13;1469:242;;;1548:13;;1563:66;1544:86;1532:99;;1651:12;;;;1686:15;;;;1505:1;1498:9;1469:242;;;-1:-1:-1;1727:3:11;;1229:507;-1:-1:-1;;;;;1229:507:11:o;1741:1139::-;1927:4;1956:2;1996;1985:9;1981:18;2026:2;2015:9;2008:21;2049:6;2084;2078:13;2115:6;2107;2100:22;2141:2;2131:12;;2174:2;2163:9;2159:18;2152:25;;2236:2;2226:6;2223:1;2219:14;2208:9;2204:30;2200:39;2274:2;2266:6;2262:15;2295:1;2305:546;2319:6;2316:1;2313:13;2305:546;;;2384:22;;;2408:66;2380:95;2368:108;;2499:13;;2544:9;;2555:42;2540:58;2525:74;;2638:11;;2632:18;2670:15;;;2663:27;;;2713:58;2755:15;;;2632:18;2713:58;:::i;:::-;2829:12;;;;2703:68;-1:-1:-1;;2794:15:11;;;;2341:1;2334:9;2305:546;;;-1:-1:-1;2868:6:11;;1741:1139;-1:-1:-1;;;;;;;;1741:1139:11:o;2885:309::-;2944:6;2997:2;2985:9;2976:7;2972:23;2968:32;2965:52;;;3013:1;3010;3003:12;2965:52;3052:9;3039:23;3102:42;3095:5;3091:54;3084:5;3081:65;3071:93;;3160:1;3157;3150:12;3199:258;3376:2;3365:9;3358:21;3339:4;3396:55;3447:2;3436:9;3432:18;3424:6;3396:55;:::i;3693:184::-;3745:77;3742:1;3735:88;3842:4;3839:1;3832:15;3866:4;3863:1;3856:15;3882:184;3934:77;3931:1;3924:88;4031:4;4028:1;4021:15;4055:4;4052:1;4045:15;4071:349;4110:3;4141:66;4134:5;4131:77;4128:257;;;4241:77;4238:1;4231:88;4342:4;4339:1;4332:15;4370:4;4367:1;4360:15;4128:257;-1:-1:-1;4412:1:11;4401:13;;4071:349::o" }, "gasEstimates": { "creation": { - "codeDepositCost": "364200", - "executionCost": "399", - "totalCost": "364599" + "codeDepositCost": "425200", + "executionCost": "461", + "totalCost": "425661" }, "external": { - "facetAddress(bytes4)": "1325", + "facetAddress(bytes4)": "2537", "facetAddresses()": "infinite", "facetFunctionSelectors(address)": "infinite", "facets()": "infinite", - "supportsInterface(bytes4)": "1284" + "supportsInterface(bytes4)": "2480" } }, "methodIdentifiers": { @@ -2642,7 +3148,7 @@ "supportsInterface(bytes4)": "01ffc9a7" } }, - "metadata": "{\"compiler\":{\"version\":\"0.7.6+commit.7338295f\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"internalType\":\"bytes4\",\"name\":\"_functionSelector\",\"type\":\"bytes4\"}],\"name\":\"facetAddress\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"facetAddress_\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"facetAddresses\",\"outputs\":[{\"internalType\":\"address[]\",\"name\":\"facetAddresses_\",\"type\":\"address[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_facet\",\"type\":\"address\"}],\"name\":\"facetFunctionSelectors\",\"outputs\":[{\"internalType\":\"bytes4[]\",\"name\":\"facetFunctionSelectors_\",\"type\":\"bytes4[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"facets\",\"outputs\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"facetAddress\",\"type\":\"address\"},{\"internalType\":\"bytes4[]\",\"name\":\"functionSelectors\",\"type\":\"bytes4[]\"}],\"internalType\":\"struct IDiamondLoupe.Facet[]\",\"name\":\"facets_\",\"type\":\"tuple[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes4\",\"name\":\"_interfaceId\",\"type\":\"bytes4\"}],\"name\":\"supportsInterface\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{\"facetAddress(bytes4)\":{\"details\":\"If facet is not found return address(0).\",\"params\":{\"_functionSelector\":\"The function selector.\"},\"returns\":{\"facetAddress_\":\"The facet address.\"}},\"facetAddresses()\":{\"returns\":{\"facetAddresses_\":\"facetAddresses_\"}},\"facetFunctionSelectors(address)\":{\"params\":{\"_facet\":\"The facet address.\"},\"returns\":{\"facetFunctionSelectors_\":\"facetFunctionSelectors_\"}},\"facets()\":{\"returns\":{\"facets_\":\"Facet\"}}},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{\"facetAddress(bytes4)\":{\"notice\":\"Gets the facet that supports the given selector.\"},\"facetAddresses()\":{\"notice\":\"Get all the facet addresses used by a diamond.\"},\"facetFunctionSelectors(address)\":{\"notice\":\"Gets all the function selectors provided by a facet.\"},\"facets()\":{\"notice\":\"Gets all facets and their selectors.\"}},\"version\":1}},\"settings\":{\"compilationTarget\":{\"solc_0.7/diamond/facets/DiamondLoupeFacet.sol\":\"DiamondLoupeFacet\"},\"evmVersion\":\"istanbul\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\",\"useLiteralContent\":true},\"optimizer\":{\"enabled\":true,\"runs\":999999},\"remappings\":[]},\"sources\":{\"solc_0.7/diamond/facets/DiamondLoupeFacet.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\npragma solidity ^0.7.6;\\npragma experimental ABIEncoderV2;\\n\\n/******************************************************************************\\\\\\n* Author: Nick Mudge (https://twitter.com/mudgen)\\n* EIP-2535 Diamond Standard: https://eips.ethereum.org/EIPS/eip-2535\\n/******************************************************************************/\\n\\nimport \\\"../libraries/LibDiamond.sol\\\";\\nimport \\\"../interfaces/IDiamondCut.sol\\\";\\nimport \\\"../interfaces/IDiamondLoupe.sol\\\";\\nimport \\\"../interfaces/IERC165.sol\\\";\\n\\ncontract DiamondLoupeFacet is IDiamondLoupe, IERC165 {\\n // Diamond Loupe Functions\\n ////////////////////////////////////////////////////////////////////\\n /// These functions are expected to be called frequently by tools.\\n //\\n // struct Facet {\\n // address facetAddress;\\n // bytes4[] functionSelectors;\\n // }\\n\\n /// @notice Gets all facets and their selectors.\\n /// @return facets_ Facet\\n function facets() external override view returns (Facet[] memory facets_) {\\n LibDiamond.DiamondStorage storage ds = LibDiamond.diamondStorage();\\n uint256 numFacets = ds.facetAddresses.length;\\n facets_ = new Facet[](numFacets);\\n for (uint256 i; i < numFacets; i++) {\\n address facetAddress_ = ds.facetAddresses[i];\\n facets_[i].facetAddress = facetAddress_;\\n facets_[i].functionSelectors = ds.facetFunctionSelectors[facetAddress_].functionSelectors;\\n }\\n }\\n\\n /// @notice Gets all the function selectors provided by a facet.\\n /// @param _facet The facet address.\\n /// @return facetFunctionSelectors_\\n function facetFunctionSelectors(address _facet) external override view returns (bytes4[] memory facetFunctionSelectors_) {\\n LibDiamond.DiamondStorage storage ds = LibDiamond.diamondStorage();\\n facetFunctionSelectors_ = ds.facetFunctionSelectors[_facet].functionSelectors;\\n }\\n\\n /// @notice Get all the facet addresses used by a diamond.\\n /// @return facetAddresses_\\n function facetAddresses() external override view returns (address[] memory facetAddresses_) {\\n LibDiamond.DiamondStorage storage ds = LibDiamond.diamondStorage();\\n facetAddresses_ = ds.facetAddresses;\\n }\\n\\n /// @notice Gets the facet that supports the given selector.\\n /// @dev If facet is not found return address(0).\\n /// @param _functionSelector The function selector.\\n /// @return facetAddress_ The facet address.\\n function facetAddress(bytes4 _functionSelector) external override view returns (address facetAddress_) {\\n LibDiamond.DiamondStorage storage ds = LibDiamond.diamondStorage();\\n facetAddress_ = ds.selectorToFacetAndPosition[_functionSelector].facetAddress;\\n }\\n\\n // This implements ERC-165.\\n function supportsInterface(bytes4 _interfaceId) external override view returns (bool) {\\n LibDiamond.DiamondStorage storage ds = LibDiamond.diamondStorage();\\n return ds.supportedInterfaces[_interfaceId];\\n }\\n}\\n\",\"keccak256\":\"0x0d7e901df775b4518d6a9805cbe226e19f8f3b1050cb8d3edccee1f382efdc00\",\"license\":\"MIT\"},\"solc_0.7/diamond/interfaces/IDiamondCut.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\npragma solidity ^0.7.6;\\npragma experimental ABIEncoderV2;\\n\\n/******************************************************************************\\\\\\n* Author: Nick Mudge (https://twitter.com/mudgen)\\n* EIP-2535 Diamond Standard: https://eips.ethereum.org/EIPS/eip-2535\\n/******************************************************************************/\\n\\ninterface IDiamondCut {\\n enum FacetCutAction {Add, Replace, Remove}\\n // Add=0, Replace=1, Remove=2\\n\\n struct FacetCut {\\n address facetAddress;\\n FacetCutAction action;\\n bytes4[] functionSelectors;\\n }\\n\\n /// @notice Add/replace/remove any number of functions and optionally execute\\n /// a function with delegatecall\\n /// @param _diamondCut Contains the facet addresses and function selectors\\n /// @param _init The address of the contract or facet to execute _calldata\\n /// @param _calldata A function call, including function selector and arguments\\n /// _calldata is executed with delegatecall on _init\\n function diamondCut(\\n FacetCut[] calldata _diamondCut,\\n address _init,\\n bytes calldata _calldata\\n ) external;\\n\\n event DiamondCut(FacetCut[] _diamondCut, address _init, bytes _calldata);\\n}\\n\",\"keccak256\":\"0xfb3c1af58cd19e1e49f065e33c7c68045ce451c3e16920614979624c44faf892\",\"license\":\"MIT\"},\"solc_0.7/diamond/interfaces/IDiamondLoupe.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\npragma solidity ^0.7.6;\\npragma experimental ABIEncoderV2;\\n\\n/******************************************************************************\\\\\\n* Author: Nick Mudge (https://twitter.com/mudgen)\\n* EIP-2535 Diamond Standard: https://eips.ethereum.org/EIPS/eip-2535\\n/******************************************************************************/\\n\\n// A loupe is a small magnifying glass used to look at diamonds.\\n// These functions look at diamonds\\ninterface IDiamondLoupe {\\n /// These functions are expected to be called frequently\\n /// by tools.\\n\\n struct Facet {\\n address facetAddress;\\n bytes4[] functionSelectors;\\n }\\n\\n /// @notice Gets all facet addresses and their four byte function selectors.\\n /// @return facets_ Facet\\n function facets() external view returns (Facet[] memory facets_);\\n\\n /// @notice Gets all the function selectors supported by a specific facet.\\n /// @param _facet The facet address.\\n /// @return facetFunctionSelectors_\\n function facetFunctionSelectors(address _facet) external view returns (bytes4[] memory facetFunctionSelectors_);\\n\\n /// @notice Get all the facet addresses used by a diamond.\\n /// @return facetAddresses_\\n function facetAddresses() external view returns (address[] memory facetAddresses_);\\n\\n /// @notice Gets the facet that supports the given selector.\\n /// @dev If facet is not found return address(0).\\n /// @param _functionSelector The function selector.\\n /// @return facetAddress_ The facet address.\\n function facetAddress(bytes4 _functionSelector) external view returns (address facetAddress_);\\n}\\n\",\"keccak256\":\"0xf4bc76153335588e7cb5fe1c9701857fd2ae0340ad94976adbf1c49054f82dfe\",\"license\":\"MIT\"},\"solc_0.7/diamond/interfaces/IERC165.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\npragma solidity ^0.7.6;\\npragma experimental ABIEncoderV2;\\n\\ninterface IERC165 {\\n /// @notice Query if a contract implements an interface\\n /// @param interfaceId The interface identifier, as specified in ERC-165\\n /// @dev Interface identification is specified in ERC-165. This function\\n /// uses less than 30,000 gas.\\n /// @return `true` if the contract implements `interfaceID` and\\n /// `interfaceID` is not 0xffffffff, `false` otherwise\\n function supportsInterface(bytes4 interfaceId) external view returns (bool);\\n}\\n\",\"keccak256\":\"0xe3ccc62939f8e880bdd4d5a34b05ccb9576810b8e999df6d16124e51019a0603\",\"license\":\"MIT\"},\"solc_0.7/diamond/libraries/LibDiamond.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\npragma solidity ^0.7.6;\\npragma experimental ABIEncoderV2;\\n\\n/******************************************************************************\\\\\\n* Author: Nick Mudge (https://twitter.com/mudgen)\\n* EIP-2535 Diamond Standard: https://eips.ethereum.org/EIPS/eip-2535\\n/******************************************************************************/\\n\\nimport \\\"../interfaces/IDiamondCut.sol\\\";\\n\\nlibrary LibDiamond {\\n bytes32 constant DIAMOND_STORAGE_POSITION = keccak256(\\\"diamond.standard.diamond.storage\\\");\\n\\n struct FacetAddressAndPosition {\\n address facetAddress;\\n uint16 functionSelectorPosition; // position in facetFunctionSelectors.functionSelectors array\\n }\\n\\n struct FacetFunctionSelectors {\\n bytes4[] functionSelectors;\\n uint16 facetAddressPosition; // position of facetAddress in facetAddresses array\\n }\\n\\n struct DiamondStorage {\\n // maps function selector to the facet address and\\n // the position of the selector in the facetFunctionSelectors.selectors array\\n mapping(bytes4 => FacetAddressAndPosition) selectorToFacetAndPosition;\\n // maps facet addresses to function selectors\\n mapping(address => FacetFunctionSelectors) facetFunctionSelectors;\\n // facet addresses\\n address[] facetAddresses;\\n // Used to query if a contract implements an interface.\\n // Used to implement ERC-165.\\n mapping(bytes4 => bool) supportedInterfaces;\\n // owner of the contract\\n address contractOwner;\\n }\\n\\n function diamondStorage() internal pure returns (DiamondStorage storage ds) {\\n bytes32 position = DIAMOND_STORAGE_POSITION;\\n assembly {\\n ds.slot := position\\n }\\n }\\n\\n event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);\\n\\n function setContractOwner(address _newOwner) internal {\\n DiamondStorage storage ds = diamondStorage();\\n address previousOwner = ds.contractOwner;\\n ds.contractOwner = _newOwner;\\n emit OwnershipTransferred(previousOwner, _newOwner);\\n }\\n\\n function contractOwner() internal view returns (address contractOwner_) {\\n contractOwner_ = diamondStorage().contractOwner;\\n }\\n\\n function enforceIsContractOwner() internal view {\\n require(msg.sender == diamondStorage().contractOwner, \\\"LibDiamond: Must be contract owner\\\");\\n }\\n\\n event DiamondCut(IDiamondCut.FacetCut[] _diamondCut, address _init, bytes _calldata);\\n\\n // Internal function version of diamondCut\\n function diamondCut(\\n IDiamondCut.FacetCut[] memory _diamondCut,\\n address _init,\\n bytes memory _calldata\\n ) internal {\\n for (uint256 facetIndex; facetIndex < _diamondCut.length; facetIndex++) {\\n IDiamondCut.FacetCutAction action = _diamondCut[facetIndex].action;\\n if (action == IDiamondCut.FacetCutAction.Add) {\\n addFunctions(_diamondCut[facetIndex].facetAddress, _diamondCut[facetIndex].functionSelectors);\\n } else if (action == IDiamondCut.FacetCutAction.Replace) {\\n replaceFunctions(_diamondCut[facetIndex].facetAddress, _diamondCut[facetIndex].functionSelectors);\\n } else if (action == IDiamondCut.FacetCutAction.Remove) {\\n removeFunctions(_diamondCut[facetIndex].facetAddress, _diamondCut[facetIndex].functionSelectors);\\n } else {\\n revert(\\\"LibDiamondCut: Incorrect FacetCutAction\\\");\\n }\\n }\\n emit DiamondCut(_diamondCut, _init, _calldata);\\n initializeDiamondCut(_init, _calldata);\\n }\\n\\n function addFunctions(address _facetAddress, bytes4[] memory _functionSelectors) internal {\\n require(_functionSelectors.length > 0, \\\"LibDiamondCut: No selectors in facet to cut\\\");\\n DiamondStorage storage ds = diamondStorage();\\n // uint16 selectorCount = uint16(diamondStorage().selectors.length);\\n require(_facetAddress != address(0), \\\"LibDiamondCut: Add facet can't be address(0)\\\");\\n uint16 selectorPosition = uint16(ds.facetFunctionSelectors[_facetAddress].functionSelectors.length);\\n // add new facet address if it does not exist\\n if (selectorPosition == 0) {\\n enforceHasContractCode(_facetAddress, \\\"LibDiamondCut: New facet has no code\\\");\\n ds.facetFunctionSelectors[_facetAddress].facetAddressPosition = uint16(ds.facetAddresses.length);\\n ds.facetAddresses.push(_facetAddress);\\n }\\n for (uint256 selectorIndex; selectorIndex < _functionSelectors.length; selectorIndex++) {\\n bytes4 selector = _functionSelectors[selectorIndex];\\n address oldFacetAddress = ds.selectorToFacetAndPosition[selector].facetAddress;\\n require(oldFacetAddress == address(0), \\\"LibDiamondCut: Can't add function that already exists\\\");\\n ds.facetFunctionSelectors[_facetAddress].functionSelectors.push(selector);\\n ds.selectorToFacetAndPosition[selector].facetAddress = _facetAddress;\\n ds.selectorToFacetAndPosition[selector].functionSelectorPosition = selectorPosition;\\n selectorPosition++;\\n }\\n }\\n\\n function replaceFunctions(address _facetAddress, bytes4[] memory _functionSelectors) internal {\\n require(_functionSelectors.length > 0, \\\"LibDiamondCut: No selectors in facet to cut\\\");\\n DiamondStorage storage ds = diamondStorage();\\n require(_facetAddress != address(0), \\\"LibDiamondCut: Add facet can't be address(0)\\\");\\n uint16 selectorPosition = uint16(ds.facetFunctionSelectors[_facetAddress].functionSelectors.length);\\n // add new facet address if it does not exist\\n if (selectorPosition == 0) {\\n enforceHasContractCode(_facetAddress, \\\"LibDiamondCut: New facet has no code\\\");\\n ds.facetFunctionSelectors[_facetAddress].facetAddressPosition = uint16(ds.facetAddresses.length);\\n ds.facetAddresses.push(_facetAddress);\\n }\\n for (uint256 selectorIndex; selectorIndex < _functionSelectors.length; selectorIndex++) {\\n bytes4 selector = _functionSelectors[selectorIndex];\\n address oldFacetAddress = ds.selectorToFacetAndPosition[selector].facetAddress;\\n require(oldFacetAddress != _facetAddress, \\\"LibDiamondCut: Can't replace function with same function\\\");\\n removeFunction(oldFacetAddress, selector);\\n // add function\\n ds.selectorToFacetAndPosition[selector].functionSelectorPosition = selectorPosition;\\n ds.facetFunctionSelectors[_facetAddress].functionSelectors.push(selector);\\n ds.selectorToFacetAndPosition[selector].facetAddress = _facetAddress;\\n selectorPosition++;\\n }\\n }\\n\\n function removeFunctions(address _facetAddress, bytes4[] memory _functionSelectors) internal {\\n require(_functionSelectors.length > 0, \\\"LibDiamondCut: No selectors in facet to cut\\\");\\n DiamondStorage storage ds = diamondStorage();\\n // if function does not exist then do nothing and return\\n require(_facetAddress == address(0), \\\"LibDiamondCut: Remove facet address must be address(0)\\\");\\n for (uint256 selectorIndex; selectorIndex < _functionSelectors.length; selectorIndex++) {\\n bytes4 selector = _functionSelectors[selectorIndex];\\n address oldFacetAddress = ds.selectorToFacetAndPosition[selector].facetAddress;\\n removeFunction(oldFacetAddress, selector);\\n }\\n }\\n\\n function removeFunction(address _facetAddress, bytes4 _selector) internal {\\n DiamondStorage storage ds = diamondStorage();\\n require(_facetAddress != address(0), \\\"LibDiamondCut: Can't remove function that doesn't exist\\\");\\n // an immutable function is a function defined directly in a diamond\\n require(_facetAddress != address(this), \\\"LibDiamondCut: Can't remove immutable function\\\");\\n // replace selector with last selector, then delete last selector\\n uint256 selectorPosition = ds.selectorToFacetAndPosition[_selector].functionSelectorPosition;\\n uint256 lastSelectorPosition = ds.facetFunctionSelectors[_facetAddress].functionSelectors.length - 1;\\n // if not the same then replace _selector with lastSelector\\n if (selectorPosition != lastSelectorPosition) {\\n bytes4 lastSelector = ds.facetFunctionSelectors[_facetAddress].functionSelectors[lastSelectorPosition];\\n ds.facetFunctionSelectors[_facetAddress].functionSelectors[selectorPosition] = lastSelector;\\n ds.selectorToFacetAndPosition[lastSelector].functionSelectorPosition = uint16(selectorPosition);\\n }\\n // delete the last selector\\n ds.facetFunctionSelectors[_facetAddress].functionSelectors.pop();\\n delete ds.selectorToFacetAndPosition[_selector];\\n\\n // if no more selectors for facet address then delete the facet address\\n if (lastSelectorPosition == 0) {\\n // replace facet address with last facet address and delete last facet address\\n uint256 lastFacetAddressPosition = ds.facetAddresses.length - 1;\\n uint256 facetAddressPosition = ds.facetFunctionSelectors[_facetAddress].facetAddressPosition;\\n if (facetAddressPosition != lastFacetAddressPosition) {\\n address lastFacetAddress = ds.facetAddresses[lastFacetAddressPosition];\\n ds.facetAddresses[facetAddressPosition] = lastFacetAddress;\\n ds.facetFunctionSelectors[lastFacetAddress].facetAddressPosition = uint16(facetAddressPosition);\\n }\\n ds.facetAddresses.pop();\\n delete ds.facetFunctionSelectors[_facetAddress].facetAddressPosition;\\n }\\n }\\n\\n function initializeDiamondCut(address _init, bytes memory _calldata) internal {\\n if (_init == address(0)) {\\n require(_calldata.length == 0, \\\"LibDiamondCut: _init is address(0) but_calldata is not empty\\\");\\n } else {\\n require(_calldata.length > 0, \\\"LibDiamondCut: _calldata is empty but _init is not address(0)\\\");\\n if (_init != address(this)) {\\n enforceHasContractCode(_init, \\\"LibDiamondCut: _init address has no code\\\");\\n }\\n (bool success, bytes memory error) = _init.delegatecall(_calldata);\\n if (!success) {\\n if (error.length > 0) {\\n // bubble up the error\\n revert(string(error));\\n } else {\\n revert(\\\"LibDiamondCut: _init function reverted\\\");\\n }\\n }\\n }\\n }\\n\\n function enforceHasContractCode(address _contract, string memory _errorMessage) internal view {\\n uint256 contractSize;\\n assembly {\\n contractSize := extcodesize(_contract)\\n }\\n require(contractSize > 0, _errorMessage);\\n }\\n}\\n\",\"keccak256\":\"0x4eac03abb9864ad822b50481746c975a8e3e3278e179032cfc1b4b9c8e2320bc\",\"license\":\"MIT\"}},\"version\":1}", + "metadata": "{\"compiler\":{\"version\":\"0.8.9+commit.e5eed63a\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"internalType\":\"bytes4\",\"name\":\"_functionSelector\",\"type\":\"bytes4\"}],\"name\":\"facetAddress\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"facetAddress_\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"facetAddresses\",\"outputs\":[{\"internalType\":\"address[]\",\"name\":\"facetAddresses_\",\"type\":\"address[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_facet\",\"type\":\"address\"}],\"name\":\"facetFunctionSelectors\",\"outputs\":[{\"internalType\":\"bytes4[]\",\"name\":\"facetFunctionSelectors_\",\"type\":\"bytes4[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"facets\",\"outputs\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"facetAddress\",\"type\":\"address\"},{\"internalType\":\"bytes4[]\",\"name\":\"functionSelectors\",\"type\":\"bytes4[]\"}],\"internalType\":\"struct IDiamondLoupe.Facet[]\",\"name\":\"facets_\",\"type\":\"tuple[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes4\",\"name\":\"_interfaceId\",\"type\":\"bytes4\"}],\"name\":\"supportsInterface\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{\"facetAddress(bytes4)\":{\"details\":\"If facet is not found return address(0).\",\"params\":{\"_functionSelector\":\"The function selector.\"},\"returns\":{\"facetAddress_\":\"The facet address.\"}},\"facetAddresses()\":{\"returns\":{\"facetAddresses_\":\"facetAddresses_\"}},\"facetFunctionSelectors(address)\":{\"params\":{\"_facet\":\"The facet address.\"},\"returns\":{\"facetFunctionSelectors_\":\"facetFunctionSelectors_\"}},\"facets()\":{\"returns\":{\"facets_\":\"Facet\"}}},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{\"facetAddress(bytes4)\":{\"notice\":\"Gets the facet that supports the given selector.\"},\"facetAddresses()\":{\"notice\":\"Get all the facet addresses used by a diamond.\"},\"facetFunctionSelectors(address)\":{\"notice\":\"Gets all the function selectors provided by a facet.\"},\"facets()\":{\"notice\":\"Gets all facets and their selectors.\"}},\"version\":1}},\"settings\":{\"compilationTarget\":{\"solc_0.8/diamond/facets/DiamondLoupeFacet.sol\":\"DiamondLoupeFacet\"},\"evmVersion\":\"london\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\",\"useLiteralContent\":true},\"optimizer\":{\"enabled\":true,\"runs\":999999},\"remappings\":[]},\"sources\":{\"solc_0.8/diamond/facets/DiamondLoupeFacet.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.0;\\n/******************************************************************************\\\\\\n* Author: Nick Mudge (https://twitter.com/mudgen)\\n* EIP-2535 Diamonds: https://eips.ethereum.org/EIPS/eip-2535\\n/******************************************************************************/\\n\\nimport { LibDiamond } from \\\"../libraries/LibDiamond.sol\\\";\\nimport { IDiamondLoupe } from \\\"../interfaces/IDiamondLoupe.sol\\\";\\nimport { IERC165 } from \\\"../interfaces/IERC165.sol\\\";\\n\\ncontract DiamondLoupeFacet is IDiamondLoupe, IERC165 {\\n // Diamond Loupe Functions\\n ////////////////////////////////////////////////////////////////////\\n /// These functions are expected to be called frequently by tools.\\n //\\n // struct Facet {\\n // address facetAddress;\\n // bytes4[] functionSelectors;\\n // }\\n\\n /// @notice Gets all facets and their selectors.\\n /// @return facets_ Facet\\n function facets() external override view returns (Facet[] memory facets_) {\\n LibDiamond.DiamondStorage storage ds = LibDiamond.diamondStorage();\\n uint256 numFacets = ds.facetAddresses.length;\\n facets_ = new Facet[](numFacets);\\n for (uint256 i; i < numFacets; i++) {\\n address facetAddress_ = ds.facetAddresses[i];\\n facets_[i].facetAddress = facetAddress_;\\n facets_[i].functionSelectors = ds.facetFunctionSelectors[facetAddress_].functionSelectors;\\n }\\n }\\n\\n /// @notice Gets all the function selectors provided by a facet.\\n /// @param _facet The facet address.\\n /// @return facetFunctionSelectors_\\n function facetFunctionSelectors(address _facet) external override view returns (bytes4[] memory facetFunctionSelectors_) {\\n LibDiamond.DiamondStorage storage ds = LibDiamond.diamondStorage();\\n facetFunctionSelectors_ = ds.facetFunctionSelectors[_facet].functionSelectors;\\n }\\n\\n /// @notice Get all the facet addresses used by a diamond.\\n /// @return facetAddresses_\\n function facetAddresses() external override view returns (address[] memory facetAddresses_) {\\n LibDiamond.DiamondStorage storage ds = LibDiamond.diamondStorage();\\n facetAddresses_ = ds.facetAddresses;\\n }\\n\\n /// @notice Gets the facet that supports the given selector.\\n /// @dev If facet is not found return address(0).\\n /// @param _functionSelector The function selector.\\n /// @return facetAddress_ The facet address.\\n function facetAddress(bytes4 _functionSelector) external override view returns (address facetAddress_) {\\n LibDiamond.DiamondStorage storage ds = LibDiamond.diamondStorage();\\n facetAddress_ = ds.selectorToFacetAndPosition[_functionSelector].facetAddress;\\n }\\n\\n // This implements ERC-165.\\n function supportsInterface(bytes4 _interfaceId) external override view returns (bool) {\\n LibDiamond.DiamondStorage storage ds = LibDiamond.diamondStorage();\\n return ds.supportedInterfaces[_interfaceId];\\n }\\n}\\n\",\"keccak256\":\"0x40116a553fb6b8e25371199648a526d61eefee47ba24f0909b00c7301dec612e\",\"license\":\"MIT\"},\"solc_0.8/diamond/interfaces/IDiamondCut.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.0;\\n\\n/******************************************************************************\\\\\\n* Author: Nick Mudge (https://twitter.com/mudgen)\\n* EIP-2535 Diamonds: https://eips.ethereum.org/EIPS/eip-2535\\n/******************************************************************************/\\n\\ninterface IDiamondCut {\\n enum FacetCutAction {Add, Replace, Remove}\\n // Add=0, Replace=1, Remove=2\\n\\n struct FacetCut {\\n address facetAddress;\\n FacetCutAction action;\\n bytes4[] functionSelectors;\\n }\\n\\n /// @notice Add/replace/remove any number of functions and optionally execute\\n /// a function with delegatecall\\n /// @param _diamondCut Contains the facet addresses and function selectors\\n /// @param _init The address of the contract or facet to execute _calldata\\n /// @param _calldata A function call, including function selector and arguments\\n /// _calldata is executed with delegatecall on _init\\n function diamondCut(\\n FacetCut[] calldata _diamondCut,\\n address _init,\\n bytes calldata _calldata\\n ) external;\\n\\n event DiamondCut(FacetCut[] _diamondCut, address _init, bytes _calldata);\\n}\\n\",\"keccak256\":\"0xc00c16bfa30a3fa5f3dc684f7f8ba62c259962b25f647d9588739458989717fc\",\"license\":\"MIT\"},\"solc_0.8/diamond/interfaces/IDiamondLoupe.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.0;\\n\\n/******************************************************************************\\\\\\n* Author: Nick Mudge (https://twitter.com/mudgen)\\n* EIP-2535 Diamonds: https://eips.ethereum.org/EIPS/eip-2535\\n/******************************************************************************/\\n\\n// A loupe is a small magnifying glass used to look at diamonds.\\n// These functions look at diamonds\\ninterface IDiamondLoupe {\\n /// These functions are expected to be called frequently\\n /// by tools.\\n\\n struct Facet {\\n address facetAddress;\\n bytes4[] functionSelectors;\\n }\\n\\n /// @notice Gets all facet addresses and their four byte function selectors.\\n /// @return facets_ Facet\\n function facets() external view returns (Facet[] memory facets_);\\n\\n /// @notice Gets all the function selectors supported by a specific facet.\\n /// @param _facet The facet address.\\n /// @return facetFunctionSelectors_\\n function facetFunctionSelectors(address _facet) external view returns (bytes4[] memory facetFunctionSelectors_);\\n\\n /// @notice Get all the facet addresses used by a diamond.\\n /// @return facetAddresses_\\n function facetAddresses() external view returns (address[] memory facetAddresses_);\\n\\n /// @notice Gets the facet that supports the given selector.\\n /// @dev If facet is not found return address(0).\\n /// @param _functionSelector The function selector.\\n /// @return facetAddress_ The facet address.\\n function facetAddress(bytes4 _functionSelector) external view returns (address facetAddress_);\\n}\\n\",\"keccak256\":\"0x10884024af2c0f7deca0fac4ddf84e76da5dba35b6e02fabeac8ea54c1a5c6f7\",\"license\":\"MIT\"},\"solc_0.8/diamond/interfaces/IERC165.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.0;\\n\\ninterface IERC165 {\\n /// @notice Query if a contract implements an interface\\n /// @param interfaceId The interface identifier, as specified in ERC-165\\n /// @dev Interface identification is specified in ERC-165. This function\\n /// uses less than 30,000 gas.\\n /// @return `true` if the contract implements `interfaceID` and\\n /// `interfaceID` is not 0xffffffff, `false` otherwise\\n function supportsInterface(bytes4 interfaceId) external view returns (bool);\\n}\\n\",\"keccak256\":\"0x7541f7408d0f74162bc4664d5e012427f2ceaab2abadca0353269ef15ee03d8b\",\"license\":\"MIT\"},\"solc_0.8/diamond/libraries/LibDiamond.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.0;\\n\\n/******************************************************************************\\\\\\n* Author: Nick Mudge (https://twitter.com/mudgen)\\n* EIP-2535 Diamonds: https://eips.ethereum.org/EIPS/eip-2535\\n/******************************************************************************/\\nimport { IDiamondCut } from \\\"../interfaces/IDiamondCut.sol\\\";\\n\\nlibrary LibDiamond {\\n bytes32 constant DIAMOND_STORAGE_POSITION = keccak256(\\\"diamond.standard.diamond.storage\\\");\\n\\n struct FacetAddressAndPosition {\\n address facetAddress;\\n uint96 functionSelectorPosition; // position in facetFunctionSelectors.functionSelectors array\\n }\\n\\n struct FacetFunctionSelectors {\\n bytes4[] functionSelectors;\\n uint256 facetAddressPosition; // position of facetAddress in facetAddresses array\\n }\\n\\n struct DiamondStorage {\\n // maps function selector to the facet address and\\n // the position of the selector in the facetFunctionSelectors.selectors array\\n mapping(bytes4 => FacetAddressAndPosition) selectorToFacetAndPosition;\\n // maps facet addresses to function selectors\\n mapping(address => FacetFunctionSelectors) facetFunctionSelectors;\\n // facet addresses\\n address[] facetAddresses;\\n // Used to query if a contract implements an interface.\\n // Used to implement ERC-165.\\n mapping(bytes4 => bool) supportedInterfaces;\\n // owner of the contract\\n address contractOwner;\\n }\\n\\n function diamondStorage() internal pure returns (DiamondStorage storage ds) {\\n bytes32 position = DIAMOND_STORAGE_POSITION;\\n assembly {\\n ds.slot := position\\n }\\n }\\n\\n event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);\\n\\n function setContractOwner(address _newOwner) internal {\\n DiamondStorage storage ds = diamondStorage();\\n address previousOwner = ds.contractOwner;\\n ds.contractOwner = _newOwner;\\n emit OwnershipTransferred(previousOwner, _newOwner);\\n }\\n\\n function contractOwner() internal view returns (address contractOwner_) {\\n contractOwner_ = diamondStorage().contractOwner;\\n }\\n\\n function enforceIsContractOwner() internal view {\\n require(msg.sender == diamondStorage().contractOwner, \\\"LibDiamond: Must be contract owner\\\");\\n }\\n\\n event DiamondCut(IDiamondCut.FacetCut[] _diamondCut, address _init, bytes _calldata);\\n\\n // Internal function version of diamondCut\\n function diamondCut(\\n IDiamondCut.FacetCut[] memory _diamondCut,\\n address _init,\\n bytes memory _calldata\\n ) internal {\\n for (uint256 facetIndex; facetIndex < _diamondCut.length; facetIndex++) {\\n IDiamondCut.FacetCutAction action = _diamondCut[facetIndex].action;\\n if (action == IDiamondCut.FacetCutAction.Add) {\\n addFunctions(_diamondCut[facetIndex].facetAddress, _diamondCut[facetIndex].functionSelectors);\\n } else if (action == IDiamondCut.FacetCutAction.Replace) {\\n replaceFunctions(_diamondCut[facetIndex].facetAddress, _diamondCut[facetIndex].functionSelectors);\\n } else if (action == IDiamondCut.FacetCutAction.Remove) {\\n removeFunctions(_diamondCut[facetIndex].facetAddress, _diamondCut[facetIndex].functionSelectors);\\n } else {\\n revert(\\\"LibDiamondCut: Incorrect FacetCutAction\\\");\\n }\\n }\\n emit DiamondCut(_diamondCut, _init, _calldata);\\n initializeDiamondCut(_init, _calldata);\\n }\\n\\n function addFunctions(address _facetAddress, bytes4[] memory _functionSelectors) internal {\\n require(_functionSelectors.length > 0, \\\"LibDiamondCut: No selectors in facet to cut\\\");\\n DiamondStorage storage ds = diamondStorage(); \\n require(_facetAddress != address(0), \\\"LibDiamondCut: Add facet can't be address(0)\\\");\\n uint96 selectorPosition = uint96(ds.facetFunctionSelectors[_facetAddress].functionSelectors.length);\\n // add new facet address if it does not exist\\n if (selectorPosition == 0) {\\n addFacet(ds, _facetAddress); \\n }\\n for (uint256 selectorIndex; selectorIndex < _functionSelectors.length; selectorIndex++) {\\n bytes4 selector = _functionSelectors[selectorIndex];\\n address oldFacetAddress = ds.selectorToFacetAndPosition[selector].facetAddress;\\n require(oldFacetAddress == address(0), \\\"LibDiamondCut: Can't add function that already exists\\\");\\n addFunction(ds, selector, selectorPosition, _facetAddress);\\n selectorPosition++;\\n }\\n }\\n\\n function replaceFunctions(address _facetAddress, bytes4[] memory _functionSelectors) internal {\\n require(_functionSelectors.length > 0, \\\"LibDiamondCut: No selectors in facet to cut\\\");\\n DiamondStorage storage ds = diamondStorage();\\n require(_facetAddress != address(0), \\\"LibDiamondCut: Add facet can't be address(0)\\\");\\n uint96 selectorPosition = uint96(ds.facetFunctionSelectors[_facetAddress].functionSelectors.length);\\n // add new facet address if it does not exist\\n if (selectorPosition == 0) {\\n addFacet(ds, _facetAddress);\\n }\\n for (uint256 selectorIndex; selectorIndex < _functionSelectors.length; selectorIndex++) {\\n bytes4 selector = _functionSelectors[selectorIndex];\\n address oldFacetAddress = ds.selectorToFacetAndPosition[selector].facetAddress;\\n require(oldFacetAddress != _facetAddress, \\\"LibDiamondCut: Can't replace function with same function\\\");\\n removeFunction(ds, oldFacetAddress, selector);\\n addFunction(ds, selector, selectorPosition, _facetAddress);\\n selectorPosition++;\\n }\\n }\\n\\n function removeFunctions(address _facetAddress, bytes4[] memory _functionSelectors) internal {\\n require(_functionSelectors.length > 0, \\\"LibDiamondCut: No selectors in facet to cut\\\");\\n DiamondStorage storage ds = diamondStorage();\\n // if function does not exist then do nothing and return\\n require(_facetAddress == address(0), \\\"LibDiamondCut: Remove facet address must be address(0)\\\");\\n for (uint256 selectorIndex; selectorIndex < _functionSelectors.length; selectorIndex++) {\\n bytes4 selector = _functionSelectors[selectorIndex];\\n address oldFacetAddress = ds.selectorToFacetAndPosition[selector].facetAddress;\\n removeFunction(ds, oldFacetAddress, selector);\\n }\\n }\\n\\n function addFacet(DiamondStorage storage ds, address _facetAddress) internal {\\n enforceHasContractCode(_facetAddress, \\\"LibDiamondCut: New facet has no code\\\");\\n ds.facetFunctionSelectors[_facetAddress].facetAddressPosition = ds.facetAddresses.length;\\n ds.facetAddresses.push(_facetAddress);\\n } \\n\\n\\n function addFunction(DiamondStorage storage ds, bytes4 _selector, uint96 _selectorPosition, address _facetAddress) internal {\\n ds.selectorToFacetAndPosition[_selector].functionSelectorPosition = _selectorPosition;\\n ds.facetFunctionSelectors[_facetAddress].functionSelectors.push(_selector);\\n ds.selectorToFacetAndPosition[_selector].facetAddress = _facetAddress;\\n }\\n\\n function removeFunction(DiamondStorage storage ds, address _facetAddress, bytes4 _selector) internal { \\n require(_facetAddress != address(0), \\\"LibDiamondCut: Can't remove function that doesn't exist\\\");\\n // an immutable function is a function defined directly in a diamond\\n require(_facetAddress != address(this), \\\"LibDiamondCut: Can't remove immutable function\\\");\\n // replace selector with last selector, then delete last selector\\n uint256 selectorPosition = ds.selectorToFacetAndPosition[_selector].functionSelectorPosition;\\n uint256 lastSelectorPosition = ds.facetFunctionSelectors[_facetAddress].functionSelectors.length - 1;\\n // if not the same then replace _selector with lastSelector\\n if (selectorPosition != lastSelectorPosition) {\\n bytes4 lastSelector = ds.facetFunctionSelectors[_facetAddress].functionSelectors[lastSelectorPosition];\\n ds.facetFunctionSelectors[_facetAddress].functionSelectors[selectorPosition] = lastSelector;\\n ds.selectorToFacetAndPosition[lastSelector].functionSelectorPosition = uint96(selectorPosition);\\n }\\n // delete the last selector\\n ds.facetFunctionSelectors[_facetAddress].functionSelectors.pop();\\n delete ds.selectorToFacetAndPosition[_selector];\\n\\n // if no more selectors for facet address then delete the facet address\\n if (lastSelectorPosition == 0) {\\n // replace facet address with last facet address and delete last facet address\\n uint256 lastFacetAddressPosition = ds.facetAddresses.length - 1;\\n uint256 facetAddressPosition = ds.facetFunctionSelectors[_facetAddress].facetAddressPosition;\\n if (facetAddressPosition != lastFacetAddressPosition) {\\n address lastFacetAddress = ds.facetAddresses[lastFacetAddressPosition];\\n ds.facetAddresses[facetAddressPosition] = lastFacetAddress;\\n ds.facetFunctionSelectors[lastFacetAddress].facetAddressPosition = facetAddressPosition;\\n }\\n ds.facetAddresses.pop();\\n delete ds.facetFunctionSelectors[_facetAddress].facetAddressPosition;\\n }\\n }\\n\\n function initializeDiamondCut(address _init, bytes memory _calldata) internal {\\n if (_init == address(0)) {\\n require(_calldata.length == 0, \\\"LibDiamondCut: _init is address(0) but_calldata is not empty\\\");\\n } else {\\n require(_calldata.length > 0, \\\"LibDiamondCut: _calldata is empty but _init is not address(0)\\\");\\n if (_init != address(this)) {\\n enforceHasContractCode(_init, \\\"LibDiamondCut: _init address has no code\\\");\\n }\\n (bool success, bytes memory error) = _init.delegatecall(_calldata);\\n if (!success) {\\n if (error.length > 0) {\\n // bubble up the error\\n revert(string(error));\\n } else {\\n revert(\\\"LibDiamondCut: _init function reverted\\\");\\n }\\n }\\n }\\n }\\n\\n function enforceHasContractCode(address _contract, string memory _errorMessage) internal view {\\n uint256 contractSize;\\n assembly {\\n contractSize := extcodesize(_contract)\\n }\\n require(contractSize > 0, _errorMessage);\\n }\\n}\\n\",\"keccak256\":\"0x2205345e83eb86f5281f159a9215a096cb6d404782619f9b8e9d7a4a46c32a37\",\"license\":\"MIT\"}},\"version\":1}", "storageLayout": { "storage": [], "types": null @@ -2665,6 +3171,6 @@ }, "version": 1 }, - "solcInput": "{\n \"language\": \"Solidity\",\n \"sources\": {\n \"solc_0.7/diamond/Diamantaire.sol\": {\n \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity ^0.7.1;\\npragma experimental ABIEncoderV2;\\n\\nimport \\\"./interfaces/IDiamondCut.sol\\\";\\nimport \\\"./Diamond.sol\\\";\\nimport \\\"./facets/DiamondCutFacet.sol\\\";\\nimport \\\"./facets/DiamondLoupeFacet.sol\\\";\\nimport \\\"./facets/OwnershipFacet.sol\\\";\\n\\ncontract Diamantaire {\\n event DiamondCreated(Diamond diamond);\\n\\n IDiamondCut.FacetCut[] internal _builtinDiamondCut;\\n\\n constructor() {\\n bytes4[] memory functionSelectors;\\n\\n // -------------------------------------------------------------------------\\n // adding diamondCut function\\n // -------------------------------------------------------------------------\\n DiamondCutFacet diamondCutFacet = new DiamondCutFacet();\\n\\n functionSelectors = new bytes4[](1);\\n functionSelectors[0] = DiamondCutFacet.diamondCut.selector;\\n _builtinDiamondCut.push(IDiamondCut.FacetCut({\\n facetAddress:address(diamondCutFacet),\\n action: IDiamondCut.FacetCutAction.Add,\\n functionSelectors: functionSelectors\\n }));\\n\\n\\n // -------------------------------------------------------------------------\\n // adding diamond loupe functions\\n // -------------------------------------------------------------------------\\n DiamondLoupeFacet diamondLoupeFacet = new DiamondLoupeFacet();\\n\\n functionSelectors = new bytes4[](5);\\n functionSelectors[0] = DiamondLoupeFacet.facetFunctionSelectors.selector;\\n functionSelectors[1] = DiamondLoupeFacet.facets.selector;\\n functionSelectors[2] = DiamondLoupeFacet.facetAddress.selector;\\n functionSelectors[3] = DiamondLoupeFacet.facetAddresses.selector;\\n functionSelectors[4] = DiamondLoupeFacet.supportsInterface.selector;\\n _builtinDiamondCut.push(IDiamondCut.FacetCut({\\n facetAddress:address(diamondLoupeFacet),\\n action: IDiamondCut.FacetCutAction.Add,\\n functionSelectors: functionSelectors\\n }));\\n\\n\\n // -------------------------------------------------------------------------\\n // adding ownership functions\\n // -------------------------------------------------------------------------\\n OwnershipFacet ownershipFacet = new OwnershipFacet();\\n\\n functionSelectors = new bytes4[](2);\\n functionSelectors[0] = OwnershipFacet.transferOwnership.selector;\\n functionSelectors[1] = OwnershipFacet.owner.selector;\\n _builtinDiamondCut.push(IDiamondCut.FacetCut({\\n facetAddress:address(ownershipFacet),\\n action: IDiamondCut.FacetCutAction.Add,\\n functionSelectors: functionSelectors\\n }));\\n }\\n\\n function createDiamond(\\n address owner,\\n IDiamondCut.FacetCut[] calldata _diamondCut,\\n bytes calldata data,\\n bytes32 salt\\n ) external payable returns (Diamond diamond) {\\n if (salt != 0x0000000000000000000000000000000000000000000000000000000000000000) {\\n salt = keccak256(abi.encodePacked(salt, owner));\\n diamond = new Diamond{value: msg.value, salt: salt}(\\n _builtinDiamondCut,\\n Diamond.DiamondArgs({owner:address(this)})\\n );\\n } else {\\n diamond = new Diamond{value: msg.value}(_builtinDiamondCut, Diamond.DiamondArgs({owner:address(this)}));\\n }\\n emit DiamondCreated(diamond);\\n\\n IDiamondCut(address(diamond)).diamondCut(_diamondCut, data.length > 0 ? address(diamond) : address(0), data);\\n IERC173(address(diamond)).transferOwnership(owner);\\n }\\n}\\n\"\n },\n \"solc_0.7/diamond/interfaces/IDiamondCut.sol\": {\n \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity ^0.7.6;\\npragma experimental ABIEncoderV2;\\n\\n/******************************************************************************\\\\\\n* Author: Nick Mudge (https://twitter.com/mudgen)\\n* EIP-2535 Diamond Standard: https://eips.ethereum.org/EIPS/eip-2535\\n/******************************************************************************/\\n\\ninterface IDiamondCut {\\n enum FacetCutAction {Add, Replace, Remove}\\n // Add=0, Replace=1, Remove=2\\n\\n struct FacetCut {\\n address facetAddress;\\n FacetCutAction action;\\n bytes4[] functionSelectors;\\n }\\n\\n /// @notice Add/replace/remove any number of functions and optionally execute\\n /// a function with delegatecall\\n /// @param _diamondCut Contains the facet addresses and function selectors\\n /// @param _init The address of the contract or facet to execute _calldata\\n /// @param _calldata A function call, including function selector and arguments\\n /// _calldata is executed with delegatecall on _init\\n function diamondCut(\\n FacetCut[] calldata _diamondCut,\\n address _init,\\n bytes calldata _calldata\\n ) external;\\n\\n event DiamondCut(FacetCut[] _diamondCut, address _init, bytes _calldata);\\n}\\n\"\n },\n \"solc_0.7/diamond/Diamond.sol\": {\n \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity ^0.7.6;\\npragma experimental ABIEncoderV2;\\n\\n/******************************************************************************\\\\\\n* Author: Nick Mudge (https://twitter.com/mudgen)\\n* EIP-2535 Diamond Standard: https://eips.ethereum.org/EIPS/eip-2535\\n* \\n* Implementation of a diamond.\\n/******************************************************************************/\\n\\nimport \\\"./libraries/LibDiamond.sol\\\";\\nimport \\\"./interfaces/IDiamondLoupe.sol\\\";\\nimport \\\"./interfaces/IDiamondCut.sol\\\";\\nimport \\\"./interfaces/IERC173.sol\\\";\\nimport \\\"./interfaces/IERC165.sol\\\";\\n\\ncontract Diamond {\\n // more arguments are added to this struct\\n // this avoids stack too deep errors\\n struct DiamondArgs {\\n address owner;\\n }\\n\\n constructor(IDiamondCut.FacetCut[] memory _diamondCut, DiamondArgs memory _args) payable {\\n LibDiamond.diamondCut(_diamondCut, address(0), new bytes(0));\\n LibDiamond.setContractOwner(_args.owner);\\n\\n LibDiamond.DiamondStorage storage ds = LibDiamond.diamondStorage();\\n\\n // adding ERC165 data\\n ds.supportedInterfaces[type(IERC165).interfaceId] = true;\\n ds.supportedInterfaces[type(IDiamondCut).interfaceId] = true;\\n ds.supportedInterfaces[type(IDiamondLoupe).interfaceId] = true;\\n ds.supportedInterfaces[type(IERC173).interfaceId] = true;\\n }\\n\\n // Find facet for function that is called and execute the\\n // function if a facet is found and return any value.\\n fallback() external payable {\\n LibDiamond.DiamondStorage storage ds;\\n bytes32 position = LibDiamond.DIAMOND_STORAGE_POSITION;\\n assembly {\\n ds.slot := position\\n }\\n address facet = ds.selectorToFacetAndPosition[msg.sig].facetAddress;\\n require(facet != address(0), \\\"Diamond: Function does not exist\\\");\\n assembly {\\n calldatacopy(0, 0, calldatasize())\\n let result := delegatecall(gas(), facet, 0, calldatasize(), 0, 0)\\n returndatacopy(0, 0, returndatasize())\\n switch result\\n case 0 {\\n revert(0, returndatasize())\\n }\\n default {\\n return(0, returndatasize())\\n }\\n }\\n }\\n\\n receive() external payable {}\\n}\\n\"\n },\n \"solc_0.7/diamond/facets/DiamondCutFacet.sol\": {\n \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity ^0.7.6;\\npragma experimental ABIEncoderV2;\\n\\n/******************************************************************************\\\\\\n* Author: Nick Mudge (https://twitter.com/mudgen)\\n* EIP-2535 Diamond Standard: https://eips.ethereum.org/EIPS/eip-2535\\n/******************************************************************************/\\n\\nimport \\\"../interfaces/IDiamondCut.sol\\\";\\nimport \\\"../libraries/LibDiamond.sol\\\";\\n\\ncontract DiamondCutFacet is IDiamondCut {\\n /// @notice Add/replace/remove any number of functions and optionally execute\\n /// a function with delegatecall\\n /// @param _diamondCut Contains the facet addresses and function selectors\\n /// @param _init The address of the contract or facet to execute _calldata\\n /// @param _calldata A function call, including function selector and arguments\\n /// _calldata is executed with delegatecall on _init\\n function diamondCut(\\n FacetCut[] calldata _diamondCut,\\n address _init,\\n bytes calldata _calldata\\n ) external override {\\n LibDiamond.enforceIsContractOwner();\\n LibDiamond.diamondCut(_diamondCut, _init, _calldata);\\n }\\n}\\n\"\n },\n \"solc_0.7/diamond/facets/DiamondLoupeFacet.sol\": {\n \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity ^0.7.6;\\npragma experimental ABIEncoderV2;\\n\\n/******************************************************************************\\\\\\n* Author: Nick Mudge (https://twitter.com/mudgen)\\n* EIP-2535 Diamond Standard: https://eips.ethereum.org/EIPS/eip-2535\\n/******************************************************************************/\\n\\nimport \\\"../libraries/LibDiamond.sol\\\";\\nimport \\\"../interfaces/IDiamondCut.sol\\\";\\nimport \\\"../interfaces/IDiamondLoupe.sol\\\";\\nimport \\\"../interfaces/IERC165.sol\\\";\\n\\ncontract DiamondLoupeFacet is IDiamondLoupe, IERC165 {\\n // Diamond Loupe Functions\\n ////////////////////////////////////////////////////////////////////\\n /// These functions are expected to be called frequently by tools.\\n //\\n // struct Facet {\\n // address facetAddress;\\n // bytes4[] functionSelectors;\\n // }\\n\\n /// @notice Gets all facets and their selectors.\\n /// @return facets_ Facet\\n function facets() external override view returns (Facet[] memory facets_) {\\n LibDiamond.DiamondStorage storage ds = LibDiamond.diamondStorage();\\n uint256 numFacets = ds.facetAddresses.length;\\n facets_ = new Facet[](numFacets);\\n for (uint256 i; i < numFacets; i++) {\\n address facetAddress_ = ds.facetAddresses[i];\\n facets_[i].facetAddress = facetAddress_;\\n facets_[i].functionSelectors = ds.facetFunctionSelectors[facetAddress_].functionSelectors;\\n }\\n }\\n\\n /// @notice Gets all the function selectors provided by a facet.\\n /// @param _facet The facet address.\\n /// @return facetFunctionSelectors_\\n function facetFunctionSelectors(address _facet) external override view returns (bytes4[] memory facetFunctionSelectors_) {\\n LibDiamond.DiamondStorage storage ds = LibDiamond.diamondStorage();\\n facetFunctionSelectors_ = ds.facetFunctionSelectors[_facet].functionSelectors;\\n }\\n\\n /// @notice Get all the facet addresses used by a diamond.\\n /// @return facetAddresses_\\n function facetAddresses() external override view returns (address[] memory facetAddresses_) {\\n LibDiamond.DiamondStorage storage ds = LibDiamond.diamondStorage();\\n facetAddresses_ = ds.facetAddresses;\\n }\\n\\n /// @notice Gets the facet that supports the given selector.\\n /// @dev If facet is not found return address(0).\\n /// @param _functionSelector The function selector.\\n /// @return facetAddress_ The facet address.\\n function facetAddress(bytes4 _functionSelector) external override view returns (address facetAddress_) {\\n LibDiamond.DiamondStorage storage ds = LibDiamond.diamondStorage();\\n facetAddress_ = ds.selectorToFacetAndPosition[_functionSelector].facetAddress;\\n }\\n\\n // This implements ERC-165.\\n function supportsInterface(bytes4 _interfaceId) external override view returns (bool) {\\n LibDiamond.DiamondStorage storage ds = LibDiamond.diamondStorage();\\n return ds.supportedInterfaces[_interfaceId];\\n }\\n}\\n\"\n },\n \"solc_0.7/diamond/facets/OwnershipFacet.sol\": {\n \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity ^0.7.6;\\n\\nimport \\\"../libraries/LibDiamond.sol\\\";\\nimport \\\"../interfaces/IERC173.sol\\\";\\n\\ncontract OwnershipFacet is IERC173 {\\n function transferOwnership(address _newOwner) external override {\\n LibDiamond.enforceIsContractOwner();\\n LibDiamond.setContractOwner(_newOwner);\\n }\\n\\n function owner() external override view returns (address owner_) {\\n owner_ = LibDiamond.contractOwner();\\n }\\n}\\n\"\n },\n \"solc_0.7/diamond/libraries/LibDiamond.sol\": {\n \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity ^0.7.6;\\npragma experimental ABIEncoderV2;\\n\\n/******************************************************************************\\\\\\n* Author: Nick Mudge (https://twitter.com/mudgen)\\n* EIP-2535 Diamond Standard: https://eips.ethereum.org/EIPS/eip-2535\\n/******************************************************************************/\\n\\nimport \\\"../interfaces/IDiamondCut.sol\\\";\\n\\nlibrary LibDiamond {\\n bytes32 constant DIAMOND_STORAGE_POSITION = keccak256(\\\"diamond.standard.diamond.storage\\\");\\n\\n struct FacetAddressAndPosition {\\n address facetAddress;\\n uint16 functionSelectorPosition; // position in facetFunctionSelectors.functionSelectors array\\n }\\n\\n struct FacetFunctionSelectors {\\n bytes4[] functionSelectors;\\n uint16 facetAddressPosition; // position of facetAddress in facetAddresses array\\n }\\n\\n struct DiamondStorage {\\n // maps function selector to the facet address and\\n // the position of the selector in the facetFunctionSelectors.selectors array\\n mapping(bytes4 => FacetAddressAndPosition) selectorToFacetAndPosition;\\n // maps facet addresses to function selectors\\n mapping(address => FacetFunctionSelectors) facetFunctionSelectors;\\n // facet addresses\\n address[] facetAddresses;\\n // Used to query if a contract implements an interface.\\n // Used to implement ERC-165.\\n mapping(bytes4 => bool) supportedInterfaces;\\n // owner of the contract\\n address contractOwner;\\n }\\n\\n function diamondStorage() internal pure returns (DiamondStorage storage ds) {\\n bytes32 position = DIAMOND_STORAGE_POSITION;\\n assembly {\\n ds.slot := position\\n }\\n }\\n\\n event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);\\n\\n function setContractOwner(address _newOwner) internal {\\n DiamondStorage storage ds = diamondStorage();\\n address previousOwner = ds.contractOwner;\\n ds.contractOwner = _newOwner;\\n emit OwnershipTransferred(previousOwner, _newOwner);\\n }\\n\\n function contractOwner() internal view returns (address contractOwner_) {\\n contractOwner_ = diamondStorage().contractOwner;\\n }\\n\\n function enforceIsContractOwner() internal view {\\n require(msg.sender == diamondStorage().contractOwner, \\\"LibDiamond: Must be contract owner\\\");\\n }\\n\\n event DiamondCut(IDiamondCut.FacetCut[] _diamondCut, address _init, bytes _calldata);\\n\\n // Internal function version of diamondCut\\n function diamondCut(\\n IDiamondCut.FacetCut[] memory _diamondCut,\\n address _init,\\n bytes memory _calldata\\n ) internal {\\n for (uint256 facetIndex; facetIndex < _diamondCut.length; facetIndex++) {\\n IDiamondCut.FacetCutAction action = _diamondCut[facetIndex].action;\\n if (action == IDiamondCut.FacetCutAction.Add) {\\n addFunctions(_diamondCut[facetIndex].facetAddress, _diamondCut[facetIndex].functionSelectors);\\n } else if (action == IDiamondCut.FacetCutAction.Replace) {\\n replaceFunctions(_diamondCut[facetIndex].facetAddress, _diamondCut[facetIndex].functionSelectors);\\n } else if (action == IDiamondCut.FacetCutAction.Remove) {\\n removeFunctions(_diamondCut[facetIndex].facetAddress, _diamondCut[facetIndex].functionSelectors);\\n } else {\\n revert(\\\"LibDiamondCut: Incorrect FacetCutAction\\\");\\n }\\n }\\n emit DiamondCut(_diamondCut, _init, _calldata);\\n initializeDiamondCut(_init, _calldata);\\n }\\n\\n function addFunctions(address _facetAddress, bytes4[] memory _functionSelectors) internal {\\n require(_functionSelectors.length > 0, \\\"LibDiamondCut: No selectors in facet to cut\\\");\\n DiamondStorage storage ds = diamondStorage();\\n // uint16 selectorCount = uint16(diamondStorage().selectors.length);\\n require(_facetAddress != address(0), \\\"LibDiamondCut: Add facet can't be address(0)\\\");\\n uint16 selectorPosition = uint16(ds.facetFunctionSelectors[_facetAddress].functionSelectors.length);\\n // add new facet address if it does not exist\\n if (selectorPosition == 0) {\\n enforceHasContractCode(_facetAddress, \\\"LibDiamondCut: New facet has no code\\\");\\n ds.facetFunctionSelectors[_facetAddress].facetAddressPosition = uint16(ds.facetAddresses.length);\\n ds.facetAddresses.push(_facetAddress);\\n }\\n for (uint256 selectorIndex; selectorIndex < _functionSelectors.length; selectorIndex++) {\\n bytes4 selector = _functionSelectors[selectorIndex];\\n address oldFacetAddress = ds.selectorToFacetAndPosition[selector].facetAddress;\\n require(oldFacetAddress == address(0), \\\"LibDiamondCut: Can't add function that already exists\\\");\\n ds.facetFunctionSelectors[_facetAddress].functionSelectors.push(selector);\\n ds.selectorToFacetAndPosition[selector].facetAddress = _facetAddress;\\n ds.selectorToFacetAndPosition[selector].functionSelectorPosition = selectorPosition;\\n selectorPosition++;\\n }\\n }\\n\\n function replaceFunctions(address _facetAddress, bytes4[] memory _functionSelectors) internal {\\n require(_functionSelectors.length > 0, \\\"LibDiamondCut: No selectors in facet to cut\\\");\\n DiamondStorage storage ds = diamondStorage();\\n require(_facetAddress != address(0), \\\"LibDiamondCut: Add facet can't be address(0)\\\");\\n uint16 selectorPosition = uint16(ds.facetFunctionSelectors[_facetAddress].functionSelectors.length);\\n // add new facet address if it does not exist\\n if (selectorPosition == 0) {\\n enforceHasContractCode(_facetAddress, \\\"LibDiamondCut: New facet has no code\\\");\\n ds.facetFunctionSelectors[_facetAddress].facetAddressPosition = uint16(ds.facetAddresses.length);\\n ds.facetAddresses.push(_facetAddress);\\n }\\n for (uint256 selectorIndex; selectorIndex < _functionSelectors.length; selectorIndex++) {\\n bytes4 selector = _functionSelectors[selectorIndex];\\n address oldFacetAddress = ds.selectorToFacetAndPosition[selector].facetAddress;\\n require(oldFacetAddress != _facetAddress, \\\"LibDiamondCut: Can't replace function with same function\\\");\\n removeFunction(oldFacetAddress, selector);\\n // add function\\n ds.selectorToFacetAndPosition[selector].functionSelectorPosition = selectorPosition;\\n ds.facetFunctionSelectors[_facetAddress].functionSelectors.push(selector);\\n ds.selectorToFacetAndPosition[selector].facetAddress = _facetAddress;\\n selectorPosition++;\\n }\\n }\\n\\n function removeFunctions(address _facetAddress, bytes4[] memory _functionSelectors) internal {\\n require(_functionSelectors.length > 0, \\\"LibDiamondCut: No selectors in facet to cut\\\");\\n DiamondStorage storage ds = diamondStorage();\\n // if function does not exist then do nothing and return\\n require(_facetAddress == address(0), \\\"LibDiamondCut: Remove facet address must be address(0)\\\");\\n for (uint256 selectorIndex; selectorIndex < _functionSelectors.length; selectorIndex++) {\\n bytes4 selector = _functionSelectors[selectorIndex];\\n address oldFacetAddress = ds.selectorToFacetAndPosition[selector].facetAddress;\\n removeFunction(oldFacetAddress, selector);\\n }\\n }\\n\\n function removeFunction(address _facetAddress, bytes4 _selector) internal {\\n DiamondStorage storage ds = diamondStorage();\\n require(_facetAddress != address(0), \\\"LibDiamondCut: Can't remove function that doesn't exist\\\");\\n // an immutable function is a function defined directly in a diamond\\n require(_facetAddress != address(this), \\\"LibDiamondCut: Can't remove immutable function\\\");\\n // replace selector with last selector, then delete last selector\\n uint256 selectorPosition = ds.selectorToFacetAndPosition[_selector].functionSelectorPosition;\\n uint256 lastSelectorPosition = ds.facetFunctionSelectors[_facetAddress].functionSelectors.length - 1;\\n // if not the same then replace _selector with lastSelector\\n if (selectorPosition != lastSelectorPosition) {\\n bytes4 lastSelector = ds.facetFunctionSelectors[_facetAddress].functionSelectors[lastSelectorPosition];\\n ds.facetFunctionSelectors[_facetAddress].functionSelectors[selectorPosition] = lastSelector;\\n ds.selectorToFacetAndPosition[lastSelector].functionSelectorPosition = uint16(selectorPosition);\\n }\\n // delete the last selector\\n ds.facetFunctionSelectors[_facetAddress].functionSelectors.pop();\\n delete ds.selectorToFacetAndPosition[_selector];\\n\\n // if no more selectors for facet address then delete the facet address\\n if (lastSelectorPosition == 0) {\\n // replace facet address with last facet address and delete last facet address\\n uint256 lastFacetAddressPosition = ds.facetAddresses.length - 1;\\n uint256 facetAddressPosition = ds.facetFunctionSelectors[_facetAddress].facetAddressPosition;\\n if (facetAddressPosition != lastFacetAddressPosition) {\\n address lastFacetAddress = ds.facetAddresses[lastFacetAddressPosition];\\n ds.facetAddresses[facetAddressPosition] = lastFacetAddress;\\n ds.facetFunctionSelectors[lastFacetAddress].facetAddressPosition = uint16(facetAddressPosition);\\n }\\n ds.facetAddresses.pop();\\n delete ds.facetFunctionSelectors[_facetAddress].facetAddressPosition;\\n }\\n }\\n\\n function initializeDiamondCut(address _init, bytes memory _calldata) internal {\\n if (_init == address(0)) {\\n require(_calldata.length == 0, \\\"LibDiamondCut: _init is address(0) but_calldata is not empty\\\");\\n } else {\\n require(_calldata.length > 0, \\\"LibDiamondCut: _calldata is empty but _init is not address(0)\\\");\\n if (_init != address(this)) {\\n enforceHasContractCode(_init, \\\"LibDiamondCut: _init address has no code\\\");\\n }\\n (bool success, bytes memory error) = _init.delegatecall(_calldata);\\n if (!success) {\\n if (error.length > 0) {\\n // bubble up the error\\n revert(string(error));\\n } else {\\n revert(\\\"LibDiamondCut: _init function reverted\\\");\\n }\\n }\\n }\\n }\\n\\n function enforceHasContractCode(address _contract, string memory _errorMessage) internal view {\\n uint256 contractSize;\\n assembly {\\n contractSize := extcodesize(_contract)\\n }\\n require(contractSize > 0, _errorMessage);\\n }\\n}\\n\"\n },\n \"solc_0.7/diamond/interfaces/IDiamondLoupe.sol\": {\n \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity ^0.7.6;\\npragma experimental ABIEncoderV2;\\n\\n/******************************************************************************\\\\\\n* Author: Nick Mudge (https://twitter.com/mudgen)\\n* EIP-2535 Diamond Standard: https://eips.ethereum.org/EIPS/eip-2535\\n/******************************************************************************/\\n\\n// A loupe is a small magnifying glass used to look at diamonds.\\n// These functions look at diamonds\\ninterface IDiamondLoupe {\\n /// These functions are expected to be called frequently\\n /// by tools.\\n\\n struct Facet {\\n address facetAddress;\\n bytes4[] functionSelectors;\\n }\\n\\n /// @notice Gets all facet addresses and their four byte function selectors.\\n /// @return facets_ Facet\\n function facets() external view returns (Facet[] memory facets_);\\n\\n /// @notice Gets all the function selectors supported by a specific facet.\\n /// @param _facet The facet address.\\n /// @return facetFunctionSelectors_\\n function facetFunctionSelectors(address _facet) external view returns (bytes4[] memory facetFunctionSelectors_);\\n\\n /// @notice Get all the facet addresses used by a diamond.\\n /// @return facetAddresses_\\n function facetAddresses() external view returns (address[] memory facetAddresses_);\\n\\n /// @notice Gets the facet that supports the given selector.\\n /// @dev If facet is not found return address(0).\\n /// @param _functionSelector The function selector.\\n /// @return facetAddress_ The facet address.\\n function facetAddress(bytes4 _functionSelector) external view returns (address facetAddress_);\\n}\\n\"\n },\n \"solc_0.7/diamond/interfaces/IERC173.sol\": {\n \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity ^0.7.6;\\n\\n/// @title ERC-173 Contract Ownership Standard\\n/// Note: the ERC-165 identifier for this interface is 0x7f5828d0\\n/* is ERC165 */\\ninterface IERC173 {\\n /// @dev This emits when ownership of a contract changes.\\n event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);\\n\\n /// @notice Get the address of the owner\\n /// @return owner_ The address of the owner.\\n function owner() external view returns (address owner_);\\n\\n /// @notice Set the address of the new owner of the contract\\n /// @dev Set _newOwner to address(0) to renounce any ownership.\\n /// @param _newOwner The address of the new owner of the contract\\n function transferOwnership(address _newOwner) external;\\n}\\n\"\n },\n \"solc_0.7/diamond/interfaces/IERC165.sol\": {\n \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity ^0.7.6;\\npragma experimental ABIEncoderV2;\\n\\ninterface IERC165 {\\n /// @notice Query if a contract implements an interface\\n /// @param interfaceId The interface identifier, as specified in ERC-165\\n /// @dev Interface identification is specified in ERC-165. This function\\n /// uses less than 30,000 gas.\\n /// @return `true` if the contract implements `interfaceID` and\\n /// `interfaceID` is not 0xffffffff, `false` otherwise\\n function supportsInterface(bytes4 interfaceId) external view returns (bool);\\n}\\n\"\n }\n },\n \"settings\": {\n \"optimizer\": {\n \"enabled\": true,\n \"runs\": 999999\n },\n \"outputSelection\": {\n \"*\": {\n \"*\": [\n \"abi\",\n \"evm.bytecode\",\n \"evm.deployedBytecode\",\n \"evm.methodIdentifiers\",\n \"metadata\",\n \"devdoc\",\n \"userdoc\",\n \"storageLayout\",\n \"evm.gasEstimates\"\n ],\n \"\": [\n \"ast\"\n ]\n }\n },\n \"metadata\": {\n \"useLiteralContent\": true\n }\n }\n}", - "solcInputHash": "1d060b65b8264d57d416f20cb1fe798a" + "solcInput": "{\n \"language\": \"Solidity\",\n \"sources\": {\n \"solc_0.8/diamond/Diamantaire.sol\": {\n \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.0;\\npragma experimental ABIEncoderV2;\\n\\nimport \\\"./interfaces/IDiamondCut.sol\\\";\\nimport \\\"./Diamond.sol\\\";\\nimport \\\"./facets/DiamondCutFacet.sol\\\";\\nimport \\\"./facets/DiamondLoupeFacet.sol\\\";\\nimport \\\"./facets/OwnershipFacet.sol\\\";\\n\\ncontract Diamantaire {\\n event DiamondCreated(Diamond diamond);\\n\\n IDiamondCut.FacetCut[] internal _builtinDiamondCut;\\n\\n constructor() {\\n bytes4[] memory functionSelectors;\\n\\n // -------------------------------------------------------------------------\\n // adding diamondCut function\\n // -------------------------------------------------------------------------\\n DiamondCutFacet diamondCutFacet = new DiamondCutFacet();\\n\\n functionSelectors = new bytes4[](1);\\n functionSelectors[0] = DiamondCutFacet.diamondCut.selector;\\n _builtinDiamondCut.push(IDiamondCut.FacetCut({\\n facetAddress:address(diamondCutFacet),\\n action: IDiamondCut.FacetCutAction.Add,\\n functionSelectors: functionSelectors\\n }));\\n\\n\\n // -------------------------------------------------------------------------\\n // adding diamond loupe functions\\n // -------------------------------------------------------------------------\\n DiamondLoupeFacet diamondLoupeFacet = new DiamondLoupeFacet();\\n\\n functionSelectors = new bytes4[](5);\\n functionSelectors[0] = DiamondLoupeFacet.facetFunctionSelectors.selector;\\n functionSelectors[1] = DiamondLoupeFacet.facets.selector;\\n functionSelectors[2] = DiamondLoupeFacet.facetAddress.selector;\\n functionSelectors[3] = DiamondLoupeFacet.facetAddresses.selector;\\n functionSelectors[4] = DiamondLoupeFacet.supportsInterface.selector;\\n _builtinDiamondCut.push(IDiamondCut.FacetCut({\\n facetAddress:address(diamondLoupeFacet),\\n action: IDiamondCut.FacetCutAction.Add,\\n functionSelectors: functionSelectors\\n }));\\n\\n\\n // -------------------------------------------------------------------------\\n // adding ownership functions\\n // -------------------------------------------------------------------------\\n OwnershipFacet ownershipFacet = new OwnershipFacet();\\n\\n functionSelectors = new bytes4[](2);\\n functionSelectors[0] = OwnershipFacet.transferOwnership.selector;\\n functionSelectors[1] = OwnershipFacet.owner.selector;\\n _builtinDiamondCut.push(IDiamondCut.FacetCut({\\n facetAddress:address(ownershipFacet),\\n action: IDiamondCut.FacetCutAction.Add,\\n functionSelectors: functionSelectors\\n }));\\n }\\n\\n function createDiamond(\\n address owner,\\n IDiamondCut.FacetCut[] calldata _diamondCut,\\n bytes calldata data,\\n bytes32 salt\\n ) external payable returns (Diamond diamond) {\\n if (salt != 0x0000000000000000000000000000000000000000000000000000000000000000) {\\n salt = keccak256(abi.encodePacked(salt, owner));\\n diamond = new Diamond{value: msg.value, salt: salt}(\\n _builtinDiamondCut,\\n Diamond.DiamondArgs({owner:address(this)})\\n );\\n } else {\\n diamond = new Diamond{value: msg.value}(_builtinDiamondCut, Diamond.DiamondArgs({owner:address(this)}));\\n }\\n emit DiamondCreated(diamond);\\n\\n IDiamondCut(address(diamond)).diamondCut(_diamondCut, data.length > 0 ? address(diamond) : address(0), data);\\n IERC173(address(diamond)).transferOwnership(owner);\\n }\\n}\\n\"\n },\n \"solc_0.8/diamond/interfaces/IDiamondCut.sol\": {\n \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.0;\\n\\n/******************************************************************************\\\\\\n* Author: Nick Mudge (https://twitter.com/mudgen)\\n* EIP-2535 Diamonds: https://eips.ethereum.org/EIPS/eip-2535\\n/******************************************************************************/\\n\\ninterface IDiamondCut {\\n enum FacetCutAction {Add, Replace, Remove}\\n // Add=0, Replace=1, Remove=2\\n\\n struct FacetCut {\\n address facetAddress;\\n FacetCutAction action;\\n bytes4[] functionSelectors;\\n }\\n\\n /// @notice Add/replace/remove any number of functions and optionally execute\\n /// a function with delegatecall\\n /// @param _diamondCut Contains the facet addresses and function selectors\\n /// @param _init The address of the contract or facet to execute _calldata\\n /// @param _calldata A function call, including function selector and arguments\\n /// _calldata is executed with delegatecall on _init\\n function diamondCut(\\n FacetCut[] calldata _diamondCut,\\n address _init,\\n bytes calldata _calldata\\n ) external;\\n\\n event DiamondCut(FacetCut[] _diamondCut, address _init, bytes _calldata);\\n}\\n\"\n },\n \"solc_0.8/diamond/Diamond.sol\": {\n \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.0;\\n\\n/******************************************************************************\\\\\\n* Author: Nick Mudge (https://twitter.com/mudgen)\\n* EIP-2535 Diamonds: https://eips.ethereum.org/EIPS/eip-2535\\n*\\n* Implementation of a diamond.\\n/******************************************************************************/\\n\\nimport { LibDiamond } from \\\"./libraries/LibDiamond.sol\\\";\\nimport { IDiamondCut } from \\\"./interfaces/IDiamondCut.sol\\\";\\nimport { IDiamondLoupe } from \\\"./interfaces/IDiamondLoupe.sol\\\";\\nimport { IERC173 } from \\\"./interfaces/IERC173.sol\\\";\\nimport { IERC165 } from \\\"./interfaces/IERC165.sol\\\";\\n\\ncontract Diamond {\\n // more arguments are added to this struct\\n // this avoids stack too deep errors\\n struct DiamondArgs {\\n address owner;\\n }\\n\\n constructor(IDiamondCut.FacetCut[] memory _diamondCut, DiamondArgs memory _args) payable {\\n LibDiamond.diamondCut(_diamondCut, address(0), new bytes(0));\\n LibDiamond.setContractOwner(_args.owner);\\n\\n LibDiamond.DiamondStorage storage ds = LibDiamond.diamondStorage();\\n\\n // adding ERC165 data\\n ds.supportedInterfaces[type(IERC165).interfaceId] = true;\\n ds.supportedInterfaces[type(IDiamondCut).interfaceId] = true;\\n ds.supportedInterfaces[type(IDiamondLoupe).interfaceId] = true;\\n ds.supportedInterfaces[type(IERC173).interfaceId] = true;\\n }\\n\\n// constructor(address _contractOwner, address _diamondCutFacet) payable {\\n// LibDiamond.setContractOwner(_contractOwner);\\n//\\n// // Add the diamondCut external function from the diamondCutFacet\\n// IDiamondCut.FacetCut[] memory cut = new IDiamondCut.FacetCut[](1);\\n// bytes4[] memory functionSelectors = new bytes4[](1);\\n// functionSelectors[0] = IDiamondCut.diamondCut.selector;\\n// cut[0] = IDiamondCut.FacetCut({\\n// facetAddress: _diamondCutFacet,\\n// action: IDiamondCut.FacetCutAction.Add,\\n// functionSelectors: functionSelectors\\n// });\\n// LibDiamond.diamondCut(cut, address(0), \\\"\\\");\\n// }\\n\\n // Find facet for function that is called and execute the\\n // function if a facet is found and return any value.\\n fallback() external payable {\\n LibDiamond.DiamondStorage storage ds;\\n bytes32 position = LibDiamond.DIAMOND_STORAGE_POSITION;\\n // get diamond storage\\n assembly {\\n ds.slot := position\\n }\\n // get facet from function selector\\n address facet = ds.selectorToFacetAndPosition[msg.sig].facetAddress;\\n require(facet != address(0), \\\"Diamond: Function does not exist\\\");\\n // Execute external function from facet using delegatecall and return any value.\\n assembly {\\n // copy function selector and any arguments\\n calldatacopy(0, 0, calldatasize())\\n // execute function call using the facet\\n let result := delegatecall(gas(), facet, 0, calldatasize(), 0, 0)\\n // get any return value\\n returndatacopy(0, 0, returndatasize())\\n // return any return value or error back to the caller\\n switch result\\n case 0 {\\n revert(0, returndatasize())\\n }\\n default {\\n return(0, returndatasize())\\n }\\n }\\n }\\n\\n receive() external payable {}\\n}\\n\"\n },\n \"solc_0.8/diamond/facets/DiamondCutFacet.sol\": {\n \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.0;\\n\\n/******************************************************************************\\\\\\n* Author: Nick Mudge (https://twitter.com/mudgen)\\n* EIP-2535 Diamonds: https://eips.ethereum.org/EIPS/eip-2535\\n/******************************************************************************/\\n\\nimport { IDiamondCut } from \\\"../interfaces/IDiamondCut.sol\\\";\\nimport { LibDiamond } from \\\"../libraries/LibDiamond.sol\\\";\\n\\ncontract DiamondCutFacet is IDiamondCut {\\n /// @notice Add/replace/remove any number of functions and optionally execute\\n /// a function with delegatecall\\n /// @param _diamondCut Contains the facet addresses and function selectors\\n /// @param _init The address of the contract or facet to execute _calldata\\n /// @param _calldata A function call, including function selector and arguments\\n /// _calldata is executed with delegatecall on _init\\n function diamondCut(\\n FacetCut[] calldata _diamondCut,\\n address _init,\\n bytes calldata _calldata\\n ) external override {\\n LibDiamond.enforceIsContractOwner();\\n LibDiamond.diamondCut(_diamondCut, _init, _calldata);\\n }\\n}\\n\"\n },\n \"solc_0.8/diamond/facets/DiamondLoupeFacet.sol\": {\n \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.0;\\n/******************************************************************************\\\\\\n* Author: Nick Mudge (https://twitter.com/mudgen)\\n* EIP-2535 Diamonds: https://eips.ethereum.org/EIPS/eip-2535\\n/******************************************************************************/\\n\\nimport { LibDiamond } from \\\"../libraries/LibDiamond.sol\\\";\\nimport { IDiamondLoupe } from \\\"../interfaces/IDiamondLoupe.sol\\\";\\nimport { IERC165 } from \\\"../interfaces/IERC165.sol\\\";\\n\\ncontract DiamondLoupeFacet is IDiamondLoupe, IERC165 {\\n // Diamond Loupe Functions\\n ////////////////////////////////////////////////////////////////////\\n /// These functions are expected to be called frequently by tools.\\n //\\n // struct Facet {\\n // address facetAddress;\\n // bytes4[] functionSelectors;\\n // }\\n\\n /// @notice Gets all facets and their selectors.\\n /// @return facets_ Facet\\n function facets() external override view returns (Facet[] memory facets_) {\\n LibDiamond.DiamondStorage storage ds = LibDiamond.diamondStorage();\\n uint256 numFacets = ds.facetAddresses.length;\\n facets_ = new Facet[](numFacets);\\n for (uint256 i; i < numFacets; i++) {\\n address facetAddress_ = ds.facetAddresses[i];\\n facets_[i].facetAddress = facetAddress_;\\n facets_[i].functionSelectors = ds.facetFunctionSelectors[facetAddress_].functionSelectors;\\n }\\n }\\n\\n /// @notice Gets all the function selectors provided by a facet.\\n /// @param _facet The facet address.\\n /// @return facetFunctionSelectors_\\n function facetFunctionSelectors(address _facet) external override view returns (bytes4[] memory facetFunctionSelectors_) {\\n LibDiamond.DiamondStorage storage ds = LibDiamond.diamondStorage();\\n facetFunctionSelectors_ = ds.facetFunctionSelectors[_facet].functionSelectors;\\n }\\n\\n /// @notice Get all the facet addresses used by a diamond.\\n /// @return facetAddresses_\\n function facetAddresses() external override view returns (address[] memory facetAddresses_) {\\n LibDiamond.DiamondStorage storage ds = LibDiamond.diamondStorage();\\n facetAddresses_ = ds.facetAddresses;\\n }\\n\\n /// @notice Gets the facet that supports the given selector.\\n /// @dev If facet is not found return address(0).\\n /// @param _functionSelector The function selector.\\n /// @return facetAddress_ The facet address.\\n function facetAddress(bytes4 _functionSelector) external override view returns (address facetAddress_) {\\n LibDiamond.DiamondStorage storage ds = LibDiamond.diamondStorage();\\n facetAddress_ = ds.selectorToFacetAndPosition[_functionSelector].facetAddress;\\n }\\n\\n // This implements ERC-165.\\n function supportsInterface(bytes4 _interfaceId) external override view returns (bool) {\\n LibDiamond.DiamondStorage storage ds = LibDiamond.diamondStorage();\\n return ds.supportedInterfaces[_interfaceId];\\n }\\n}\\n\"\n },\n \"solc_0.8/diamond/facets/OwnershipFacet.sol\": {\n \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.0;\\n\\nimport { LibDiamond } from \\\"../libraries/LibDiamond.sol\\\";\\nimport { IERC173 } from \\\"../interfaces/IERC173.sol\\\";\\n\\ncontract OwnershipFacet is IERC173 {\\n function transferOwnership(address _newOwner) external override {\\n LibDiamond.enforceIsContractOwner();\\n LibDiamond.setContractOwner(_newOwner);\\n }\\n\\n function owner() external override view returns (address owner_) {\\n owner_ = LibDiamond.contractOwner();\\n }\\n}\\n\"\n },\n \"solc_0.8/diamond/libraries/LibDiamond.sol\": {\n \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.0;\\n\\n/******************************************************************************\\\\\\n* Author: Nick Mudge (https://twitter.com/mudgen)\\n* EIP-2535 Diamonds: https://eips.ethereum.org/EIPS/eip-2535\\n/******************************************************************************/\\nimport { IDiamondCut } from \\\"../interfaces/IDiamondCut.sol\\\";\\n\\nlibrary LibDiamond {\\n bytes32 constant DIAMOND_STORAGE_POSITION = keccak256(\\\"diamond.standard.diamond.storage\\\");\\n\\n struct FacetAddressAndPosition {\\n address facetAddress;\\n uint96 functionSelectorPosition; // position in facetFunctionSelectors.functionSelectors array\\n }\\n\\n struct FacetFunctionSelectors {\\n bytes4[] functionSelectors;\\n uint256 facetAddressPosition; // position of facetAddress in facetAddresses array\\n }\\n\\n struct DiamondStorage {\\n // maps function selector to the facet address and\\n // the position of the selector in the facetFunctionSelectors.selectors array\\n mapping(bytes4 => FacetAddressAndPosition) selectorToFacetAndPosition;\\n // maps facet addresses to function selectors\\n mapping(address => FacetFunctionSelectors) facetFunctionSelectors;\\n // facet addresses\\n address[] facetAddresses;\\n // Used to query if a contract implements an interface.\\n // Used to implement ERC-165.\\n mapping(bytes4 => bool) supportedInterfaces;\\n // owner of the contract\\n address contractOwner;\\n }\\n\\n function diamondStorage() internal pure returns (DiamondStorage storage ds) {\\n bytes32 position = DIAMOND_STORAGE_POSITION;\\n assembly {\\n ds.slot := position\\n }\\n }\\n\\n event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);\\n\\n function setContractOwner(address _newOwner) internal {\\n DiamondStorage storage ds = diamondStorage();\\n address previousOwner = ds.contractOwner;\\n ds.contractOwner = _newOwner;\\n emit OwnershipTransferred(previousOwner, _newOwner);\\n }\\n\\n function contractOwner() internal view returns (address contractOwner_) {\\n contractOwner_ = diamondStorage().contractOwner;\\n }\\n\\n function enforceIsContractOwner() internal view {\\n require(msg.sender == diamondStorage().contractOwner, \\\"LibDiamond: Must be contract owner\\\");\\n }\\n\\n event DiamondCut(IDiamondCut.FacetCut[] _diamondCut, address _init, bytes _calldata);\\n\\n // Internal function version of diamondCut\\n function diamondCut(\\n IDiamondCut.FacetCut[] memory _diamondCut,\\n address _init,\\n bytes memory _calldata\\n ) internal {\\n for (uint256 facetIndex; facetIndex < _diamondCut.length; facetIndex++) {\\n IDiamondCut.FacetCutAction action = _diamondCut[facetIndex].action;\\n if (action == IDiamondCut.FacetCutAction.Add) {\\n addFunctions(_diamondCut[facetIndex].facetAddress, _diamondCut[facetIndex].functionSelectors);\\n } else if (action == IDiamondCut.FacetCutAction.Replace) {\\n replaceFunctions(_diamondCut[facetIndex].facetAddress, _diamondCut[facetIndex].functionSelectors);\\n } else if (action == IDiamondCut.FacetCutAction.Remove) {\\n removeFunctions(_diamondCut[facetIndex].facetAddress, _diamondCut[facetIndex].functionSelectors);\\n } else {\\n revert(\\\"LibDiamondCut: Incorrect FacetCutAction\\\");\\n }\\n }\\n emit DiamondCut(_diamondCut, _init, _calldata);\\n initializeDiamondCut(_init, _calldata);\\n }\\n\\n function addFunctions(address _facetAddress, bytes4[] memory _functionSelectors) internal {\\n require(_functionSelectors.length > 0, \\\"LibDiamondCut: No selectors in facet to cut\\\");\\n DiamondStorage storage ds = diamondStorage(); \\n require(_facetAddress != address(0), \\\"LibDiamondCut: Add facet can't be address(0)\\\");\\n uint96 selectorPosition = uint96(ds.facetFunctionSelectors[_facetAddress].functionSelectors.length);\\n // add new facet address if it does not exist\\n if (selectorPosition == 0) {\\n addFacet(ds, _facetAddress); \\n }\\n for (uint256 selectorIndex; selectorIndex < _functionSelectors.length; selectorIndex++) {\\n bytes4 selector = _functionSelectors[selectorIndex];\\n address oldFacetAddress = ds.selectorToFacetAndPosition[selector].facetAddress;\\n require(oldFacetAddress == address(0), \\\"LibDiamondCut: Can't add function that already exists\\\");\\n addFunction(ds, selector, selectorPosition, _facetAddress);\\n selectorPosition++;\\n }\\n }\\n\\n function replaceFunctions(address _facetAddress, bytes4[] memory _functionSelectors) internal {\\n require(_functionSelectors.length > 0, \\\"LibDiamondCut: No selectors in facet to cut\\\");\\n DiamondStorage storage ds = diamondStorage();\\n require(_facetAddress != address(0), \\\"LibDiamondCut: Add facet can't be address(0)\\\");\\n uint96 selectorPosition = uint96(ds.facetFunctionSelectors[_facetAddress].functionSelectors.length);\\n // add new facet address if it does not exist\\n if (selectorPosition == 0) {\\n addFacet(ds, _facetAddress);\\n }\\n for (uint256 selectorIndex; selectorIndex < _functionSelectors.length; selectorIndex++) {\\n bytes4 selector = _functionSelectors[selectorIndex];\\n address oldFacetAddress = ds.selectorToFacetAndPosition[selector].facetAddress;\\n require(oldFacetAddress != _facetAddress, \\\"LibDiamondCut: Can't replace function with same function\\\");\\n removeFunction(ds, oldFacetAddress, selector);\\n addFunction(ds, selector, selectorPosition, _facetAddress);\\n selectorPosition++;\\n }\\n }\\n\\n function removeFunctions(address _facetAddress, bytes4[] memory _functionSelectors) internal {\\n require(_functionSelectors.length > 0, \\\"LibDiamondCut: No selectors in facet to cut\\\");\\n DiamondStorage storage ds = diamondStorage();\\n // if function does not exist then do nothing and return\\n require(_facetAddress == address(0), \\\"LibDiamondCut: Remove facet address must be address(0)\\\");\\n for (uint256 selectorIndex; selectorIndex < _functionSelectors.length; selectorIndex++) {\\n bytes4 selector = _functionSelectors[selectorIndex];\\n address oldFacetAddress = ds.selectorToFacetAndPosition[selector].facetAddress;\\n removeFunction(ds, oldFacetAddress, selector);\\n }\\n }\\n\\n function addFacet(DiamondStorage storage ds, address _facetAddress) internal {\\n enforceHasContractCode(_facetAddress, \\\"LibDiamondCut: New facet has no code\\\");\\n ds.facetFunctionSelectors[_facetAddress].facetAddressPosition = ds.facetAddresses.length;\\n ds.facetAddresses.push(_facetAddress);\\n } \\n\\n\\n function addFunction(DiamondStorage storage ds, bytes4 _selector, uint96 _selectorPosition, address _facetAddress) internal {\\n ds.selectorToFacetAndPosition[_selector].functionSelectorPosition = _selectorPosition;\\n ds.facetFunctionSelectors[_facetAddress].functionSelectors.push(_selector);\\n ds.selectorToFacetAndPosition[_selector].facetAddress = _facetAddress;\\n }\\n\\n function removeFunction(DiamondStorage storage ds, address _facetAddress, bytes4 _selector) internal { \\n require(_facetAddress != address(0), \\\"LibDiamondCut: Can't remove function that doesn't exist\\\");\\n // an immutable function is a function defined directly in a diamond\\n require(_facetAddress != address(this), \\\"LibDiamondCut: Can't remove immutable function\\\");\\n // replace selector with last selector, then delete last selector\\n uint256 selectorPosition = ds.selectorToFacetAndPosition[_selector].functionSelectorPosition;\\n uint256 lastSelectorPosition = ds.facetFunctionSelectors[_facetAddress].functionSelectors.length - 1;\\n // if not the same then replace _selector with lastSelector\\n if (selectorPosition != lastSelectorPosition) {\\n bytes4 lastSelector = ds.facetFunctionSelectors[_facetAddress].functionSelectors[lastSelectorPosition];\\n ds.facetFunctionSelectors[_facetAddress].functionSelectors[selectorPosition] = lastSelector;\\n ds.selectorToFacetAndPosition[lastSelector].functionSelectorPosition = uint96(selectorPosition);\\n }\\n // delete the last selector\\n ds.facetFunctionSelectors[_facetAddress].functionSelectors.pop();\\n delete ds.selectorToFacetAndPosition[_selector];\\n\\n // if no more selectors for facet address then delete the facet address\\n if (lastSelectorPosition == 0) {\\n // replace facet address with last facet address and delete last facet address\\n uint256 lastFacetAddressPosition = ds.facetAddresses.length - 1;\\n uint256 facetAddressPosition = ds.facetFunctionSelectors[_facetAddress].facetAddressPosition;\\n if (facetAddressPosition != lastFacetAddressPosition) {\\n address lastFacetAddress = ds.facetAddresses[lastFacetAddressPosition];\\n ds.facetAddresses[facetAddressPosition] = lastFacetAddress;\\n ds.facetFunctionSelectors[lastFacetAddress].facetAddressPosition = facetAddressPosition;\\n }\\n ds.facetAddresses.pop();\\n delete ds.facetFunctionSelectors[_facetAddress].facetAddressPosition;\\n }\\n }\\n\\n function initializeDiamondCut(address _init, bytes memory _calldata) internal {\\n if (_init == address(0)) {\\n require(_calldata.length == 0, \\\"LibDiamondCut: _init is address(0) but_calldata is not empty\\\");\\n } else {\\n require(_calldata.length > 0, \\\"LibDiamondCut: _calldata is empty but _init is not address(0)\\\");\\n if (_init != address(this)) {\\n enforceHasContractCode(_init, \\\"LibDiamondCut: _init address has no code\\\");\\n }\\n (bool success, bytes memory error) = _init.delegatecall(_calldata);\\n if (!success) {\\n if (error.length > 0) {\\n // bubble up the error\\n revert(string(error));\\n } else {\\n revert(\\\"LibDiamondCut: _init function reverted\\\");\\n }\\n }\\n }\\n }\\n\\n function enforceHasContractCode(address _contract, string memory _errorMessage) internal view {\\n uint256 contractSize;\\n assembly {\\n contractSize := extcodesize(_contract)\\n }\\n require(contractSize > 0, _errorMessage);\\n }\\n}\\n\"\n },\n \"solc_0.8/diamond/interfaces/IDiamondLoupe.sol\": {\n \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.0;\\n\\n/******************************************************************************\\\\\\n* Author: Nick Mudge (https://twitter.com/mudgen)\\n* EIP-2535 Diamonds: https://eips.ethereum.org/EIPS/eip-2535\\n/******************************************************************************/\\n\\n// A loupe is a small magnifying glass used to look at diamonds.\\n// These functions look at diamonds\\ninterface IDiamondLoupe {\\n /// These functions are expected to be called frequently\\n /// by tools.\\n\\n struct Facet {\\n address facetAddress;\\n bytes4[] functionSelectors;\\n }\\n\\n /// @notice Gets all facet addresses and their four byte function selectors.\\n /// @return facets_ Facet\\n function facets() external view returns (Facet[] memory facets_);\\n\\n /// @notice Gets all the function selectors supported by a specific facet.\\n /// @param _facet The facet address.\\n /// @return facetFunctionSelectors_\\n function facetFunctionSelectors(address _facet) external view returns (bytes4[] memory facetFunctionSelectors_);\\n\\n /// @notice Get all the facet addresses used by a diamond.\\n /// @return facetAddresses_\\n function facetAddresses() external view returns (address[] memory facetAddresses_);\\n\\n /// @notice Gets the facet that supports the given selector.\\n /// @dev If facet is not found return address(0).\\n /// @param _functionSelector The function selector.\\n /// @return facetAddress_ The facet address.\\n function facetAddress(bytes4 _functionSelector) external view returns (address facetAddress_);\\n}\\n\"\n },\n \"solc_0.8/diamond/interfaces/IERC173.sol\": {\n \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.0;\\n\\n/// @title ERC-173 Contract Ownership Standard\\n/// Note: the ERC-165 identifier for this interface is 0x7f5828d0\\n/* is ERC165 */\\ninterface IERC173 {\\n /// @dev This emits when ownership of a contract changes.\\n event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);\\n\\n /// @notice Get the address of the owner\\n /// @return owner_ The address of the owner.\\n function owner() external view returns (address owner_);\\n\\n /// @notice Set the address of the new owner of the contract\\n /// @dev Set _newOwner to address(0) to renounce any ownership.\\n /// @param _newOwner The address of the new owner of the contract\\n function transferOwnership(address _newOwner) external;\\n}\\n\"\n },\n \"solc_0.8/diamond/interfaces/IERC165.sol\": {\n \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.0;\\n\\ninterface IERC165 {\\n /// @notice Query if a contract implements an interface\\n /// @param interfaceId The interface identifier, as specified in ERC-165\\n /// @dev Interface identification is specified in ERC-165. This function\\n /// uses less than 30,000 gas.\\n /// @return `true` if the contract implements `interfaceID` and\\n /// `interfaceID` is not 0xffffffff, `false` otherwise\\n function supportsInterface(bytes4 interfaceId) external view returns (bool);\\n}\\n\"\n },\n \"solc_0.8/diamond/upgradeInitializers/DiamondInit.sol\": {\n \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.0;\\n\\n/******************************************************************************\\\\\\n* Author: Nick Mudge (https://twitter.com/mudgen)\\n* EIP-2535 Diamonds: https://eips.ethereum.org/EIPS/eip-2535\\n*\\n* Implementation of a diamond.\\n/******************************************************************************/\\n\\nimport {LibDiamond} from \\\"../libraries/LibDiamond.sol\\\";\\nimport { IDiamondLoupe } from \\\"../interfaces/IDiamondLoupe.sol\\\";\\nimport { IDiamondCut } from \\\"../interfaces/IDiamondCut.sol\\\";\\nimport { IERC173 } from \\\"../interfaces/IERC173.sol\\\";\\nimport { IERC165 } from \\\"../interfaces/IERC165.sol\\\";\\n\\n// It is exapected that this contract is customized if you want to deploy your diamond\\n// with data from a deployment script. Use the init function to initialize state variables\\n// of your diamond. Add parameters to the init funciton if you need to.\\n\\ncontract DiamondInit { \\n\\n // You can add parameters to this function in order to pass in \\n // data to set your own state variables\\n function init() external {\\n // adding ERC165 data\\n LibDiamond.DiamondStorage storage ds = LibDiamond.diamondStorage();\\n ds.supportedInterfaces[type(IERC165).interfaceId] = true;\\n ds.supportedInterfaces[type(IDiamondCut).interfaceId] = true;\\n ds.supportedInterfaces[type(IDiamondLoupe).interfaceId] = true;\\n ds.supportedInterfaces[type(IERC173).interfaceId] = true;\\n\\n // add your own state variables \\n // EIP-2535 specifies that the `diamondCut` function takes two optional \\n // arguments: address _init and bytes calldata _calldata\\n // These arguments are used to execute an arbitrary function using delegatecall\\n // in order to set state variables in the diamond during deployment or an upgrade\\n // More info here: https://eips.ethereum.org/EIPS/eip-2535#diamond-interface \\n }\\n\\n\\n}\"\n }\n },\n \"settings\": {\n \"optimizer\": {\n \"enabled\": true,\n \"runs\": 999999\n },\n \"outputSelection\": {\n \"*\": {\n \"*\": [\n \"abi\",\n \"evm.bytecode\",\n \"evm.deployedBytecode\",\n \"evm.methodIdentifiers\",\n \"metadata\",\n \"devdoc\",\n \"userdoc\",\n \"storageLayout\",\n \"evm.gasEstimates\"\n ],\n \"\": [\n \"ast\"\n ]\n }\n },\n \"metadata\": {\n \"useLiteralContent\": true\n }\n }\n}", + "solcInputHash": "91f18d120de6fe2bcaa5a3bff0ad9fe7" } \ No newline at end of file diff --git a/extendedArtifacts/IDiamondCut.json b/extendedArtifacts/IDiamondCut.json index ada0bf7a..b34f5ce9 100644 --- a/extendedArtifacts/IDiamondCut.json +++ b/extendedArtifacts/IDiamondCut.json @@ -1,6 +1,6 @@ { "contractName": "IDiamondCut", - "sourceName": "solc_0.7/diamond/interfaces/IDiamondCut.sol", + "sourceName": "solc_0.8/diamond/interfaces/IDiamondCut.sol", "abi": [ { "anonymous": false, @@ -104,6 +104,7 @@ }, "evm": { "bytecode": { + "functionDebugData": {}, "generatedSources": [], "linkReferences": {}, "object": "", @@ -111,6 +112,7 @@ "sourceMap": "" }, "deployedBytecode": { + "functionDebugData": {}, "generatedSources": [], "immutableReferences": {}, "linkReferences": {}, @@ -123,7 +125,7 @@ "diamondCut((address,uint8,bytes4[])[],address,bytes)": "1f931c1c" } }, - "metadata": "{\"compiler\":{\"version\":\"0.7.6+commit.7338295f\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"anonymous\":false,\"inputs\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"facetAddress\",\"type\":\"address\"},{\"internalType\":\"enum IDiamondCut.FacetCutAction\",\"name\":\"action\",\"type\":\"uint8\"},{\"internalType\":\"bytes4[]\",\"name\":\"functionSelectors\",\"type\":\"bytes4[]\"}],\"indexed\":false,\"internalType\":\"struct IDiamondCut.FacetCut[]\",\"name\":\"_diamondCut\",\"type\":\"tuple[]\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"_init\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"bytes\",\"name\":\"_calldata\",\"type\":\"bytes\"}],\"name\":\"DiamondCut\",\"type\":\"event\"},{\"inputs\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"facetAddress\",\"type\":\"address\"},{\"internalType\":\"enum IDiamondCut.FacetCutAction\",\"name\":\"action\",\"type\":\"uint8\"},{\"internalType\":\"bytes4[]\",\"name\":\"functionSelectors\",\"type\":\"bytes4[]\"}],\"internalType\":\"struct IDiamondCut.FacetCut[]\",\"name\":\"_diamondCut\",\"type\":\"tuple[]\"},{\"internalType\":\"address\",\"name\":\"_init\",\"type\":\"address\"},{\"internalType\":\"bytes\",\"name\":\"_calldata\",\"type\":\"bytes\"}],\"name\":\"diamondCut\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{\"diamondCut((address,uint8,bytes4[])[],address,bytes)\":{\"params\":{\"_calldata\":\"A function call, including function selector and arguments _calldata is executed with delegatecall on _init\",\"_diamondCut\":\"Contains the facet addresses and function selectors\",\"_init\":\"The address of the contract or facet to execute _calldata\"}}},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{\"diamondCut((address,uint8,bytes4[])[],address,bytes)\":{\"notice\":\"Add/replace/remove any number of functions and optionally execute a function with delegatecall\"}},\"version\":1}},\"settings\":{\"compilationTarget\":{\"solc_0.7/diamond/interfaces/IDiamondCut.sol\":\"IDiamondCut\"},\"evmVersion\":\"istanbul\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\",\"useLiteralContent\":true},\"optimizer\":{\"enabled\":true,\"runs\":999999},\"remappings\":[]},\"sources\":{\"solc_0.7/diamond/interfaces/IDiamondCut.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\npragma solidity ^0.7.6;\\npragma experimental ABIEncoderV2;\\n\\n/******************************************************************************\\\\\\n* Author: Nick Mudge (https://twitter.com/mudgen)\\n* EIP-2535 Diamond Standard: https://eips.ethereum.org/EIPS/eip-2535\\n/******************************************************************************/\\n\\ninterface IDiamondCut {\\n enum FacetCutAction {Add, Replace, Remove}\\n // Add=0, Replace=1, Remove=2\\n\\n struct FacetCut {\\n address facetAddress;\\n FacetCutAction action;\\n bytes4[] functionSelectors;\\n }\\n\\n /// @notice Add/replace/remove any number of functions and optionally execute\\n /// a function with delegatecall\\n /// @param _diamondCut Contains the facet addresses and function selectors\\n /// @param _init The address of the contract or facet to execute _calldata\\n /// @param _calldata A function call, including function selector and arguments\\n /// _calldata is executed with delegatecall on _init\\n function diamondCut(\\n FacetCut[] calldata _diamondCut,\\n address _init,\\n bytes calldata _calldata\\n ) external;\\n\\n event DiamondCut(FacetCut[] _diamondCut, address _init, bytes _calldata);\\n}\\n\",\"keccak256\":\"0xfb3c1af58cd19e1e49f065e33c7c68045ce451c3e16920614979624c44faf892\",\"license\":\"MIT\"}},\"version\":1}", + "metadata": "{\"compiler\":{\"version\":\"0.8.9+commit.e5eed63a\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"anonymous\":false,\"inputs\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"facetAddress\",\"type\":\"address\"},{\"internalType\":\"enum IDiamondCut.FacetCutAction\",\"name\":\"action\",\"type\":\"uint8\"},{\"internalType\":\"bytes4[]\",\"name\":\"functionSelectors\",\"type\":\"bytes4[]\"}],\"indexed\":false,\"internalType\":\"struct IDiamondCut.FacetCut[]\",\"name\":\"_diamondCut\",\"type\":\"tuple[]\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"_init\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"bytes\",\"name\":\"_calldata\",\"type\":\"bytes\"}],\"name\":\"DiamondCut\",\"type\":\"event\"},{\"inputs\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"facetAddress\",\"type\":\"address\"},{\"internalType\":\"enum IDiamondCut.FacetCutAction\",\"name\":\"action\",\"type\":\"uint8\"},{\"internalType\":\"bytes4[]\",\"name\":\"functionSelectors\",\"type\":\"bytes4[]\"}],\"internalType\":\"struct IDiamondCut.FacetCut[]\",\"name\":\"_diamondCut\",\"type\":\"tuple[]\"},{\"internalType\":\"address\",\"name\":\"_init\",\"type\":\"address\"},{\"internalType\":\"bytes\",\"name\":\"_calldata\",\"type\":\"bytes\"}],\"name\":\"diamondCut\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{\"diamondCut((address,uint8,bytes4[])[],address,bytes)\":{\"params\":{\"_calldata\":\"A function call, including function selector and arguments _calldata is executed with delegatecall on _init\",\"_diamondCut\":\"Contains the facet addresses and function selectors\",\"_init\":\"The address of the contract or facet to execute _calldata\"}}},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{\"diamondCut((address,uint8,bytes4[])[],address,bytes)\":{\"notice\":\"Add/replace/remove any number of functions and optionally execute a function with delegatecall\"}},\"version\":1}},\"settings\":{\"compilationTarget\":{\"solc_0.8/diamond/interfaces/IDiamondCut.sol\":\"IDiamondCut\"},\"evmVersion\":\"london\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\",\"useLiteralContent\":true},\"optimizer\":{\"enabled\":true,\"runs\":999999},\"remappings\":[]},\"sources\":{\"solc_0.8/diamond/interfaces/IDiamondCut.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.0;\\n\\n/******************************************************************************\\\\\\n* Author: Nick Mudge (https://twitter.com/mudgen)\\n* EIP-2535 Diamonds: https://eips.ethereum.org/EIPS/eip-2535\\n/******************************************************************************/\\n\\ninterface IDiamondCut {\\n enum FacetCutAction {Add, Replace, Remove}\\n // Add=0, Replace=1, Remove=2\\n\\n struct FacetCut {\\n address facetAddress;\\n FacetCutAction action;\\n bytes4[] functionSelectors;\\n }\\n\\n /// @notice Add/replace/remove any number of functions and optionally execute\\n /// a function with delegatecall\\n /// @param _diamondCut Contains the facet addresses and function selectors\\n /// @param _init The address of the contract or facet to execute _calldata\\n /// @param _calldata A function call, including function selector and arguments\\n /// _calldata is executed with delegatecall on _init\\n function diamondCut(\\n FacetCut[] calldata _diamondCut,\\n address _init,\\n bytes calldata _calldata\\n ) external;\\n\\n event DiamondCut(FacetCut[] _diamondCut, address _init, bytes _calldata);\\n}\\n\",\"keccak256\":\"0xc00c16bfa30a3fa5f3dc684f7f8ba62c259962b25f647d9588739458989717fc\",\"license\":\"MIT\"}},\"version\":1}", "storageLayout": { "storage": [], "types": null @@ -137,6 +139,6 @@ }, "version": 1 }, - "solcInput": "{\n \"language\": \"Solidity\",\n \"sources\": {\n \"solc_0.7/diamond/Diamantaire.sol\": {\n \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity ^0.7.1;\\npragma experimental ABIEncoderV2;\\n\\nimport \\\"./interfaces/IDiamondCut.sol\\\";\\nimport \\\"./Diamond.sol\\\";\\nimport \\\"./facets/DiamondCutFacet.sol\\\";\\nimport \\\"./facets/DiamondLoupeFacet.sol\\\";\\nimport \\\"./facets/OwnershipFacet.sol\\\";\\n\\ncontract Diamantaire {\\n event DiamondCreated(Diamond diamond);\\n\\n IDiamondCut.FacetCut[] internal _builtinDiamondCut;\\n\\n constructor() {\\n bytes4[] memory functionSelectors;\\n\\n // -------------------------------------------------------------------------\\n // adding diamondCut function\\n // -------------------------------------------------------------------------\\n DiamondCutFacet diamondCutFacet = new DiamondCutFacet();\\n\\n functionSelectors = new bytes4[](1);\\n functionSelectors[0] = DiamondCutFacet.diamondCut.selector;\\n _builtinDiamondCut.push(IDiamondCut.FacetCut({\\n facetAddress:address(diamondCutFacet),\\n action: IDiamondCut.FacetCutAction.Add,\\n functionSelectors: functionSelectors\\n }));\\n\\n\\n // -------------------------------------------------------------------------\\n // adding diamond loupe functions\\n // -------------------------------------------------------------------------\\n DiamondLoupeFacet diamondLoupeFacet = new DiamondLoupeFacet();\\n\\n functionSelectors = new bytes4[](5);\\n functionSelectors[0] = DiamondLoupeFacet.facetFunctionSelectors.selector;\\n functionSelectors[1] = DiamondLoupeFacet.facets.selector;\\n functionSelectors[2] = DiamondLoupeFacet.facetAddress.selector;\\n functionSelectors[3] = DiamondLoupeFacet.facetAddresses.selector;\\n functionSelectors[4] = DiamondLoupeFacet.supportsInterface.selector;\\n _builtinDiamondCut.push(IDiamondCut.FacetCut({\\n facetAddress:address(diamondLoupeFacet),\\n action: IDiamondCut.FacetCutAction.Add,\\n functionSelectors: functionSelectors\\n }));\\n\\n\\n // -------------------------------------------------------------------------\\n // adding ownership functions\\n // -------------------------------------------------------------------------\\n OwnershipFacet ownershipFacet = new OwnershipFacet();\\n\\n functionSelectors = new bytes4[](2);\\n functionSelectors[0] = OwnershipFacet.transferOwnership.selector;\\n functionSelectors[1] = OwnershipFacet.owner.selector;\\n _builtinDiamondCut.push(IDiamondCut.FacetCut({\\n facetAddress:address(ownershipFacet),\\n action: IDiamondCut.FacetCutAction.Add,\\n functionSelectors: functionSelectors\\n }));\\n }\\n\\n function createDiamond(\\n address owner,\\n IDiamondCut.FacetCut[] calldata _diamondCut,\\n bytes calldata data,\\n bytes32 salt\\n ) external payable returns (Diamond diamond) {\\n if (salt != 0x0000000000000000000000000000000000000000000000000000000000000000) {\\n salt = keccak256(abi.encodePacked(salt, owner));\\n diamond = new Diamond{value: msg.value, salt: salt}(\\n _builtinDiamondCut,\\n Diamond.DiamondArgs({owner:address(this)})\\n );\\n } else {\\n diamond = new Diamond{value: msg.value}(_builtinDiamondCut, Diamond.DiamondArgs({owner:address(this)}));\\n }\\n emit DiamondCreated(diamond);\\n\\n IDiamondCut(address(diamond)).diamondCut(_diamondCut, data.length > 0 ? address(diamond) : address(0), data);\\n IERC173(address(diamond)).transferOwnership(owner);\\n }\\n}\\n\"\n },\n \"solc_0.7/diamond/interfaces/IDiamondCut.sol\": {\n \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity ^0.7.6;\\npragma experimental ABIEncoderV2;\\n\\n/******************************************************************************\\\\\\n* Author: Nick Mudge (https://twitter.com/mudgen)\\n* EIP-2535 Diamond Standard: https://eips.ethereum.org/EIPS/eip-2535\\n/******************************************************************************/\\n\\ninterface IDiamondCut {\\n enum FacetCutAction {Add, Replace, Remove}\\n // Add=0, Replace=1, Remove=2\\n\\n struct FacetCut {\\n address facetAddress;\\n FacetCutAction action;\\n bytes4[] functionSelectors;\\n }\\n\\n /// @notice Add/replace/remove any number of functions and optionally execute\\n /// a function with delegatecall\\n /// @param _diamondCut Contains the facet addresses and function selectors\\n /// @param _init The address of the contract or facet to execute _calldata\\n /// @param _calldata A function call, including function selector and arguments\\n /// _calldata is executed with delegatecall on _init\\n function diamondCut(\\n FacetCut[] calldata _diamondCut,\\n address _init,\\n bytes calldata _calldata\\n ) external;\\n\\n event DiamondCut(FacetCut[] _diamondCut, address _init, bytes _calldata);\\n}\\n\"\n },\n \"solc_0.7/diamond/Diamond.sol\": {\n \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity ^0.7.6;\\npragma experimental ABIEncoderV2;\\n\\n/******************************************************************************\\\\\\n* Author: Nick Mudge (https://twitter.com/mudgen)\\n* EIP-2535 Diamond Standard: https://eips.ethereum.org/EIPS/eip-2535\\n* \\n* Implementation of a diamond.\\n/******************************************************************************/\\n\\nimport \\\"./libraries/LibDiamond.sol\\\";\\nimport \\\"./interfaces/IDiamondLoupe.sol\\\";\\nimport \\\"./interfaces/IDiamondCut.sol\\\";\\nimport \\\"./interfaces/IERC173.sol\\\";\\nimport \\\"./interfaces/IERC165.sol\\\";\\n\\ncontract Diamond {\\n // more arguments are added to this struct\\n // this avoids stack too deep errors\\n struct DiamondArgs {\\n address owner;\\n }\\n\\n constructor(IDiamondCut.FacetCut[] memory _diamondCut, DiamondArgs memory _args) payable {\\n LibDiamond.diamondCut(_diamondCut, address(0), new bytes(0));\\n LibDiamond.setContractOwner(_args.owner);\\n\\n LibDiamond.DiamondStorage storage ds = LibDiamond.diamondStorage();\\n\\n // adding ERC165 data\\n ds.supportedInterfaces[type(IERC165).interfaceId] = true;\\n ds.supportedInterfaces[type(IDiamondCut).interfaceId] = true;\\n ds.supportedInterfaces[type(IDiamondLoupe).interfaceId] = true;\\n ds.supportedInterfaces[type(IERC173).interfaceId] = true;\\n }\\n\\n // Find facet for function that is called and execute the\\n // function if a facet is found and return any value.\\n fallback() external payable {\\n LibDiamond.DiamondStorage storage ds;\\n bytes32 position = LibDiamond.DIAMOND_STORAGE_POSITION;\\n assembly {\\n ds.slot := position\\n }\\n address facet = ds.selectorToFacetAndPosition[msg.sig].facetAddress;\\n require(facet != address(0), \\\"Diamond: Function does not exist\\\");\\n assembly {\\n calldatacopy(0, 0, calldatasize())\\n let result := delegatecall(gas(), facet, 0, calldatasize(), 0, 0)\\n returndatacopy(0, 0, returndatasize())\\n switch result\\n case 0 {\\n revert(0, returndatasize())\\n }\\n default {\\n return(0, returndatasize())\\n }\\n }\\n }\\n\\n receive() external payable {}\\n}\\n\"\n },\n \"solc_0.7/diamond/facets/DiamondCutFacet.sol\": {\n \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity ^0.7.6;\\npragma experimental ABIEncoderV2;\\n\\n/******************************************************************************\\\\\\n* Author: Nick Mudge (https://twitter.com/mudgen)\\n* EIP-2535 Diamond Standard: https://eips.ethereum.org/EIPS/eip-2535\\n/******************************************************************************/\\n\\nimport \\\"../interfaces/IDiamondCut.sol\\\";\\nimport \\\"../libraries/LibDiamond.sol\\\";\\n\\ncontract DiamondCutFacet is IDiamondCut {\\n /// @notice Add/replace/remove any number of functions and optionally execute\\n /// a function with delegatecall\\n /// @param _diamondCut Contains the facet addresses and function selectors\\n /// @param _init The address of the contract or facet to execute _calldata\\n /// @param _calldata A function call, including function selector and arguments\\n /// _calldata is executed with delegatecall on _init\\n function diamondCut(\\n FacetCut[] calldata _diamondCut,\\n address _init,\\n bytes calldata _calldata\\n ) external override {\\n LibDiamond.enforceIsContractOwner();\\n LibDiamond.diamondCut(_diamondCut, _init, _calldata);\\n }\\n}\\n\"\n },\n \"solc_0.7/diamond/facets/DiamondLoupeFacet.sol\": {\n \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity ^0.7.6;\\npragma experimental ABIEncoderV2;\\n\\n/******************************************************************************\\\\\\n* Author: Nick Mudge (https://twitter.com/mudgen)\\n* EIP-2535 Diamond Standard: https://eips.ethereum.org/EIPS/eip-2535\\n/******************************************************************************/\\n\\nimport \\\"../libraries/LibDiamond.sol\\\";\\nimport \\\"../interfaces/IDiamondCut.sol\\\";\\nimport \\\"../interfaces/IDiamondLoupe.sol\\\";\\nimport \\\"../interfaces/IERC165.sol\\\";\\n\\ncontract DiamondLoupeFacet is IDiamondLoupe, IERC165 {\\n // Diamond Loupe Functions\\n ////////////////////////////////////////////////////////////////////\\n /// These functions are expected to be called frequently by tools.\\n //\\n // struct Facet {\\n // address facetAddress;\\n // bytes4[] functionSelectors;\\n // }\\n\\n /// @notice Gets all facets and their selectors.\\n /// @return facets_ Facet\\n function facets() external override view returns (Facet[] memory facets_) {\\n LibDiamond.DiamondStorage storage ds = LibDiamond.diamondStorage();\\n uint256 numFacets = ds.facetAddresses.length;\\n facets_ = new Facet[](numFacets);\\n for (uint256 i; i < numFacets; i++) {\\n address facetAddress_ = ds.facetAddresses[i];\\n facets_[i].facetAddress = facetAddress_;\\n facets_[i].functionSelectors = ds.facetFunctionSelectors[facetAddress_].functionSelectors;\\n }\\n }\\n\\n /// @notice Gets all the function selectors provided by a facet.\\n /// @param _facet The facet address.\\n /// @return facetFunctionSelectors_\\n function facetFunctionSelectors(address _facet) external override view returns (bytes4[] memory facetFunctionSelectors_) {\\n LibDiamond.DiamondStorage storage ds = LibDiamond.diamondStorage();\\n facetFunctionSelectors_ = ds.facetFunctionSelectors[_facet].functionSelectors;\\n }\\n\\n /// @notice Get all the facet addresses used by a diamond.\\n /// @return facetAddresses_\\n function facetAddresses() external override view returns (address[] memory facetAddresses_) {\\n LibDiamond.DiamondStorage storage ds = LibDiamond.diamondStorage();\\n facetAddresses_ = ds.facetAddresses;\\n }\\n\\n /// @notice Gets the facet that supports the given selector.\\n /// @dev If facet is not found return address(0).\\n /// @param _functionSelector The function selector.\\n /// @return facetAddress_ The facet address.\\n function facetAddress(bytes4 _functionSelector) external override view returns (address facetAddress_) {\\n LibDiamond.DiamondStorage storage ds = LibDiamond.diamondStorage();\\n facetAddress_ = ds.selectorToFacetAndPosition[_functionSelector].facetAddress;\\n }\\n\\n // This implements ERC-165.\\n function supportsInterface(bytes4 _interfaceId) external override view returns (bool) {\\n LibDiamond.DiamondStorage storage ds = LibDiamond.diamondStorage();\\n return ds.supportedInterfaces[_interfaceId];\\n }\\n}\\n\"\n },\n \"solc_0.7/diamond/facets/OwnershipFacet.sol\": {\n \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity ^0.7.6;\\n\\nimport \\\"../libraries/LibDiamond.sol\\\";\\nimport \\\"../interfaces/IERC173.sol\\\";\\n\\ncontract OwnershipFacet is IERC173 {\\n function transferOwnership(address _newOwner) external override {\\n LibDiamond.enforceIsContractOwner();\\n LibDiamond.setContractOwner(_newOwner);\\n }\\n\\n function owner() external override view returns (address owner_) {\\n owner_ = LibDiamond.contractOwner();\\n }\\n}\\n\"\n },\n \"solc_0.7/diamond/libraries/LibDiamond.sol\": {\n \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity ^0.7.6;\\npragma experimental ABIEncoderV2;\\n\\n/******************************************************************************\\\\\\n* Author: Nick Mudge (https://twitter.com/mudgen)\\n* EIP-2535 Diamond Standard: https://eips.ethereum.org/EIPS/eip-2535\\n/******************************************************************************/\\n\\nimport \\\"../interfaces/IDiamondCut.sol\\\";\\n\\nlibrary LibDiamond {\\n bytes32 constant DIAMOND_STORAGE_POSITION = keccak256(\\\"diamond.standard.diamond.storage\\\");\\n\\n struct FacetAddressAndPosition {\\n address facetAddress;\\n uint16 functionSelectorPosition; // position in facetFunctionSelectors.functionSelectors array\\n }\\n\\n struct FacetFunctionSelectors {\\n bytes4[] functionSelectors;\\n uint16 facetAddressPosition; // position of facetAddress in facetAddresses array\\n }\\n\\n struct DiamondStorage {\\n // maps function selector to the facet address and\\n // the position of the selector in the facetFunctionSelectors.selectors array\\n mapping(bytes4 => FacetAddressAndPosition) selectorToFacetAndPosition;\\n // maps facet addresses to function selectors\\n mapping(address => FacetFunctionSelectors) facetFunctionSelectors;\\n // facet addresses\\n address[] facetAddresses;\\n // Used to query if a contract implements an interface.\\n // Used to implement ERC-165.\\n mapping(bytes4 => bool) supportedInterfaces;\\n // owner of the contract\\n address contractOwner;\\n }\\n\\n function diamondStorage() internal pure returns (DiamondStorage storage ds) {\\n bytes32 position = DIAMOND_STORAGE_POSITION;\\n assembly {\\n ds.slot := position\\n }\\n }\\n\\n event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);\\n\\n function setContractOwner(address _newOwner) internal {\\n DiamondStorage storage ds = diamondStorage();\\n address previousOwner = ds.contractOwner;\\n ds.contractOwner = _newOwner;\\n emit OwnershipTransferred(previousOwner, _newOwner);\\n }\\n\\n function contractOwner() internal view returns (address contractOwner_) {\\n contractOwner_ = diamondStorage().contractOwner;\\n }\\n\\n function enforceIsContractOwner() internal view {\\n require(msg.sender == diamondStorage().contractOwner, \\\"LibDiamond: Must be contract owner\\\");\\n }\\n\\n event DiamondCut(IDiamondCut.FacetCut[] _diamondCut, address _init, bytes _calldata);\\n\\n // Internal function version of diamondCut\\n function diamondCut(\\n IDiamondCut.FacetCut[] memory _diamondCut,\\n address _init,\\n bytes memory _calldata\\n ) internal {\\n for (uint256 facetIndex; facetIndex < _diamondCut.length; facetIndex++) {\\n IDiamondCut.FacetCutAction action = _diamondCut[facetIndex].action;\\n if (action == IDiamondCut.FacetCutAction.Add) {\\n addFunctions(_diamondCut[facetIndex].facetAddress, _diamondCut[facetIndex].functionSelectors);\\n } else if (action == IDiamondCut.FacetCutAction.Replace) {\\n replaceFunctions(_diamondCut[facetIndex].facetAddress, _diamondCut[facetIndex].functionSelectors);\\n } else if (action == IDiamondCut.FacetCutAction.Remove) {\\n removeFunctions(_diamondCut[facetIndex].facetAddress, _diamondCut[facetIndex].functionSelectors);\\n } else {\\n revert(\\\"LibDiamondCut: Incorrect FacetCutAction\\\");\\n }\\n }\\n emit DiamondCut(_diamondCut, _init, _calldata);\\n initializeDiamondCut(_init, _calldata);\\n }\\n\\n function addFunctions(address _facetAddress, bytes4[] memory _functionSelectors) internal {\\n require(_functionSelectors.length > 0, \\\"LibDiamondCut: No selectors in facet to cut\\\");\\n DiamondStorage storage ds = diamondStorage();\\n // uint16 selectorCount = uint16(diamondStorage().selectors.length);\\n require(_facetAddress != address(0), \\\"LibDiamondCut: Add facet can't be address(0)\\\");\\n uint16 selectorPosition = uint16(ds.facetFunctionSelectors[_facetAddress].functionSelectors.length);\\n // add new facet address if it does not exist\\n if (selectorPosition == 0) {\\n enforceHasContractCode(_facetAddress, \\\"LibDiamondCut: New facet has no code\\\");\\n ds.facetFunctionSelectors[_facetAddress].facetAddressPosition = uint16(ds.facetAddresses.length);\\n ds.facetAddresses.push(_facetAddress);\\n }\\n for (uint256 selectorIndex; selectorIndex < _functionSelectors.length; selectorIndex++) {\\n bytes4 selector = _functionSelectors[selectorIndex];\\n address oldFacetAddress = ds.selectorToFacetAndPosition[selector].facetAddress;\\n require(oldFacetAddress == address(0), \\\"LibDiamondCut: Can't add function that already exists\\\");\\n ds.facetFunctionSelectors[_facetAddress].functionSelectors.push(selector);\\n ds.selectorToFacetAndPosition[selector].facetAddress = _facetAddress;\\n ds.selectorToFacetAndPosition[selector].functionSelectorPosition = selectorPosition;\\n selectorPosition++;\\n }\\n }\\n\\n function replaceFunctions(address _facetAddress, bytes4[] memory _functionSelectors) internal {\\n require(_functionSelectors.length > 0, \\\"LibDiamondCut: No selectors in facet to cut\\\");\\n DiamondStorage storage ds = diamondStorage();\\n require(_facetAddress != address(0), \\\"LibDiamondCut: Add facet can't be address(0)\\\");\\n uint16 selectorPosition = uint16(ds.facetFunctionSelectors[_facetAddress].functionSelectors.length);\\n // add new facet address if it does not exist\\n if (selectorPosition == 0) {\\n enforceHasContractCode(_facetAddress, \\\"LibDiamondCut: New facet has no code\\\");\\n ds.facetFunctionSelectors[_facetAddress].facetAddressPosition = uint16(ds.facetAddresses.length);\\n ds.facetAddresses.push(_facetAddress);\\n }\\n for (uint256 selectorIndex; selectorIndex < _functionSelectors.length; selectorIndex++) {\\n bytes4 selector = _functionSelectors[selectorIndex];\\n address oldFacetAddress = ds.selectorToFacetAndPosition[selector].facetAddress;\\n require(oldFacetAddress != _facetAddress, \\\"LibDiamondCut: Can't replace function with same function\\\");\\n removeFunction(oldFacetAddress, selector);\\n // add function\\n ds.selectorToFacetAndPosition[selector].functionSelectorPosition = selectorPosition;\\n ds.facetFunctionSelectors[_facetAddress].functionSelectors.push(selector);\\n ds.selectorToFacetAndPosition[selector].facetAddress = _facetAddress;\\n selectorPosition++;\\n }\\n }\\n\\n function removeFunctions(address _facetAddress, bytes4[] memory _functionSelectors) internal {\\n require(_functionSelectors.length > 0, \\\"LibDiamondCut: No selectors in facet to cut\\\");\\n DiamondStorage storage ds = diamondStorage();\\n // if function does not exist then do nothing and return\\n require(_facetAddress == address(0), \\\"LibDiamondCut: Remove facet address must be address(0)\\\");\\n for (uint256 selectorIndex; selectorIndex < _functionSelectors.length; selectorIndex++) {\\n bytes4 selector = _functionSelectors[selectorIndex];\\n address oldFacetAddress = ds.selectorToFacetAndPosition[selector].facetAddress;\\n removeFunction(oldFacetAddress, selector);\\n }\\n }\\n\\n function removeFunction(address _facetAddress, bytes4 _selector) internal {\\n DiamondStorage storage ds = diamondStorage();\\n require(_facetAddress != address(0), \\\"LibDiamondCut: Can't remove function that doesn't exist\\\");\\n // an immutable function is a function defined directly in a diamond\\n require(_facetAddress != address(this), \\\"LibDiamondCut: Can't remove immutable function\\\");\\n // replace selector with last selector, then delete last selector\\n uint256 selectorPosition = ds.selectorToFacetAndPosition[_selector].functionSelectorPosition;\\n uint256 lastSelectorPosition = ds.facetFunctionSelectors[_facetAddress].functionSelectors.length - 1;\\n // if not the same then replace _selector with lastSelector\\n if (selectorPosition != lastSelectorPosition) {\\n bytes4 lastSelector = ds.facetFunctionSelectors[_facetAddress].functionSelectors[lastSelectorPosition];\\n ds.facetFunctionSelectors[_facetAddress].functionSelectors[selectorPosition] = lastSelector;\\n ds.selectorToFacetAndPosition[lastSelector].functionSelectorPosition = uint16(selectorPosition);\\n }\\n // delete the last selector\\n ds.facetFunctionSelectors[_facetAddress].functionSelectors.pop();\\n delete ds.selectorToFacetAndPosition[_selector];\\n\\n // if no more selectors for facet address then delete the facet address\\n if (lastSelectorPosition == 0) {\\n // replace facet address with last facet address and delete last facet address\\n uint256 lastFacetAddressPosition = ds.facetAddresses.length - 1;\\n uint256 facetAddressPosition = ds.facetFunctionSelectors[_facetAddress].facetAddressPosition;\\n if (facetAddressPosition != lastFacetAddressPosition) {\\n address lastFacetAddress = ds.facetAddresses[lastFacetAddressPosition];\\n ds.facetAddresses[facetAddressPosition] = lastFacetAddress;\\n ds.facetFunctionSelectors[lastFacetAddress].facetAddressPosition = uint16(facetAddressPosition);\\n }\\n ds.facetAddresses.pop();\\n delete ds.facetFunctionSelectors[_facetAddress].facetAddressPosition;\\n }\\n }\\n\\n function initializeDiamondCut(address _init, bytes memory _calldata) internal {\\n if (_init == address(0)) {\\n require(_calldata.length == 0, \\\"LibDiamondCut: _init is address(0) but_calldata is not empty\\\");\\n } else {\\n require(_calldata.length > 0, \\\"LibDiamondCut: _calldata is empty but _init is not address(0)\\\");\\n if (_init != address(this)) {\\n enforceHasContractCode(_init, \\\"LibDiamondCut: _init address has no code\\\");\\n }\\n (bool success, bytes memory error) = _init.delegatecall(_calldata);\\n if (!success) {\\n if (error.length > 0) {\\n // bubble up the error\\n revert(string(error));\\n } else {\\n revert(\\\"LibDiamondCut: _init function reverted\\\");\\n }\\n }\\n }\\n }\\n\\n function enforceHasContractCode(address _contract, string memory _errorMessage) internal view {\\n uint256 contractSize;\\n assembly {\\n contractSize := extcodesize(_contract)\\n }\\n require(contractSize > 0, _errorMessage);\\n }\\n}\\n\"\n },\n \"solc_0.7/diamond/interfaces/IDiamondLoupe.sol\": {\n \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity ^0.7.6;\\npragma experimental ABIEncoderV2;\\n\\n/******************************************************************************\\\\\\n* Author: Nick Mudge (https://twitter.com/mudgen)\\n* EIP-2535 Diamond Standard: https://eips.ethereum.org/EIPS/eip-2535\\n/******************************************************************************/\\n\\n// A loupe is a small magnifying glass used to look at diamonds.\\n// These functions look at diamonds\\ninterface IDiamondLoupe {\\n /// These functions are expected to be called frequently\\n /// by tools.\\n\\n struct Facet {\\n address facetAddress;\\n bytes4[] functionSelectors;\\n }\\n\\n /// @notice Gets all facet addresses and their four byte function selectors.\\n /// @return facets_ Facet\\n function facets() external view returns (Facet[] memory facets_);\\n\\n /// @notice Gets all the function selectors supported by a specific facet.\\n /// @param _facet The facet address.\\n /// @return facetFunctionSelectors_\\n function facetFunctionSelectors(address _facet) external view returns (bytes4[] memory facetFunctionSelectors_);\\n\\n /// @notice Get all the facet addresses used by a diamond.\\n /// @return facetAddresses_\\n function facetAddresses() external view returns (address[] memory facetAddresses_);\\n\\n /// @notice Gets the facet that supports the given selector.\\n /// @dev If facet is not found return address(0).\\n /// @param _functionSelector The function selector.\\n /// @return facetAddress_ The facet address.\\n function facetAddress(bytes4 _functionSelector) external view returns (address facetAddress_);\\n}\\n\"\n },\n \"solc_0.7/diamond/interfaces/IERC173.sol\": {\n \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity ^0.7.6;\\n\\n/// @title ERC-173 Contract Ownership Standard\\n/// Note: the ERC-165 identifier for this interface is 0x7f5828d0\\n/* is ERC165 */\\ninterface IERC173 {\\n /// @dev This emits when ownership of a contract changes.\\n event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);\\n\\n /// @notice Get the address of the owner\\n /// @return owner_ The address of the owner.\\n function owner() external view returns (address owner_);\\n\\n /// @notice Set the address of the new owner of the contract\\n /// @dev Set _newOwner to address(0) to renounce any ownership.\\n /// @param _newOwner The address of the new owner of the contract\\n function transferOwnership(address _newOwner) external;\\n}\\n\"\n },\n \"solc_0.7/diamond/interfaces/IERC165.sol\": {\n \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity ^0.7.6;\\npragma experimental ABIEncoderV2;\\n\\ninterface IERC165 {\\n /// @notice Query if a contract implements an interface\\n /// @param interfaceId The interface identifier, as specified in ERC-165\\n /// @dev Interface identification is specified in ERC-165. This function\\n /// uses less than 30,000 gas.\\n /// @return `true` if the contract implements `interfaceID` and\\n /// `interfaceID` is not 0xffffffff, `false` otherwise\\n function supportsInterface(bytes4 interfaceId) external view returns (bool);\\n}\\n\"\n }\n },\n \"settings\": {\n \"optimizer\": {\n \"enabled\": true,\n \"runs\": 999999\n },\n \"outputSelection\": {\n \"*\": {\n \"*\": [\n \"abi\",\n \"evm.bytecode\",\n \"evm.deployedBytecode\",\n \"evm.methodIdentifiers\",\n \"metadata\",\n \"devdoc\",\n \"userdoc\",\n \"storageLayout\",\n \"evm.gasEstimates\"\n ],\n \"\": [\n \"ast\"\n ]\n }\n },\n \"metadata\": {\n \"useLiteralContent\": true\n }\n }\n}", - "solcInputHash": "1d060b65b8264d57d416f20cb1fe798a" + "solcInput": "{\n \"language\": \"Solidity\",\n \"sources\": {\n \"solc_0.8/diamond/Diamantaire.sol\": {\n \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.0;\\npragma experimental ABIEncoderV2;\\n\\nimport \\\"./interfaces/IDiamondCut.sol\\\";\\nimport \\\"./Diamond.sol\\\";\\nimport \\\"./facets/DiamondCutFacet.sol\\\";\\nimport \\\"./facets/DiamondLoupeFacet.sol\\\";\\nimport \\\"./facets/OwnershipFacet.sol\\\";\\n\\ncontract Diamantaire {\\n event DiamondCreated(Diamond diamond);\\n\\n IDiamondCut.FacetCut[] internal _builtinDiamondCut;\\n\\n constructor() {\\n bytes4[] memory functionSelectors;\\n\\n // -------------------------------------------------------------------------\\n // adding diamondCut function\\n // -------------------------------------------------------------------------\\n DiamondCutFacet diamondCutFacet = new DiamondCutFacet();\\n\\n functionSelectors = new bytes4[](1);\\n functionSelectors[0] = DiamondCutFacet.diamondCut.selector;\\n _builtinDiamondCut.push(IDiamondCut.FacetCut({\\n facetAddress:address(diamondCutFacet),\\n action: IDiamondCut.FacetCutAction.Add,\\n functionSelectors: functionSelectors\\n }));\\n\\n\\n // -------------------------------------------------------------------------\\n // adding diamond loupe functions\\n // -------------------------------------------------------------------------\\n DiamondLoupeFacet diamondLoupeFacet = new DiamondLoupeFacet();\\n\\n functionSelectors = new bytes4[](5);\\n functionSelectors[0] = DiamondLoupeFacet.facetFunctionSelectors.selector;\\n functionSelectors[1] = DiamondLoupeFacet.facets.selector;\\n functionSelectors[2] = DiamondLoupeFacet.facetAddress.selector;\\n functionSelectors[3] = DiamondLoupeFacet.facetAddresses.selector;\\n functionSelectors[4] = DiamondLoupeFacet.supportsInterface.selector;\\n _builtinDiamondCut.push(IDiamondCut.FacetCut({\\n facetAddress:address(diamondLoupeFacet),\\n action: IDiamondCut.FacetCutAction.Add,\\n functionSelectors: functionSelectors\\n }));\\n\\n\\n // -------------------------------------------------------------------------\\n // adding ownership functions\\n // -------------------------------------------------------------------------\\n OwnershipFacet ownershipFacet = new OwnershipFacet();\\n\\n functionSelectors = new bytes4[](2);\\n functionSelectors[0] = OwnershipFacet.transferOwnership.selector;\\n functionSelectors[1] = OwnershipFacet.owner.selector;\\n _builtinDiamondCut.push(IDiamondCut.FacetCut({\\n facetAddress:address(ownershipFacet),\\n action: IDiamondCut.FacetCutAction.Add,\\n functionSelectors: functionSelectors\\n }));\\n }\\n\\n function createDiamond(\\n address owner,\\n IDiamondCut.FacetCut[] calldata _diamondCut,\\n bytes calldata data,\\n bytes32 salt\\n ) external payable returns (Diamond diamond) {\\n if (salt != 0x0000000000000000000000000000000000000000000000000000000000000000) {\\n salt = keccak256(abi.encodePacked(salt, owner));\\n diamond = new Diamond{value: msg.value, salt: salt}(\\n _builtinDiamondCut,\\n Diamond.DiamondArgs({owner:address(this)})\\n );\\n } else {\\n diamond = new Diamond{value: msg.value}(_builtinDiamondCut, Diamond.DiamondArgs({owner:address(this)}));\\n }\\n emit DiamondCreated(diamond);\\n\\n IDiamondCut(address(diamond)).diamondCut(_diamondCut, data.length > 0 ? address(diamond) : address(0), data);\\n IERC173(address(diamond)).transferOwnership(owner);\\n }\\n}\\n\"\n },\n \"solc_0.8/diamond/interfaces/IDiamondCut.sol\": {\n \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.0;\\n\\n/******************************************************************************\\\\\\n* Author: Nick Mudge (https://twitter.com/mudgen)\\n* EIP-2535 Diamonds: https://eips.ethereum.org/EIPS/eip-2535\\n/******************************************************************************/\\n\\ninterface IDiamondCut {\\n enum FacetCutAction {Add, Replace, Remove}\\n // Add=0, Replace=1, Remove=2\\n\\n struct FacetCut {\\n address facetAddress;\\n FacetCutAction action;\\n bytes4[] functionSelectors;\\n }\\n\\n /// @notice Add/replace/remove any number of functions and optionally execute\\n /// a function with delegatecall\\n /// @param _diamondCut Contains the facet addresses and function selectors\\n /// @param _init The address of the contract or facet to execute _calldata\\n /// @param _calldata A function call, including function selector and arguments\\n /// _calldata is executed with delegatecall on _init\\n function diamondCut(\\n FacetCut[] calldata _diamondCut,\\n address _init,\\n bytes calldata _calldata\\n ) external;\\n\\n event DiamondCut(FacetCut[] _diamondCut, address _init, bytes _calldata);\\n}\\n\"\n },\n \"solc_0.8/diamond/Diamond.sol\": {\n \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.0;\\n\\n/******************************************************************************\\\\\\n* Author: Nick Mudge (https://twitter.com/mudgen)\\n* EIP-2535 Diamonds: https://eips.ethereum.org/EIPS/eip-2535\\n*\\n* Implementation of a diamond.\\n/******************************************************************************/\\n\\nimport { LibDiamond } from \\\"./libraries/LibDiamond.sol\\\";\\nimport { IDiamondCut } from \\\"./interfaces/IDiamondCut.sol\\\";\\nimport { IDiamondLoupe } from \\\"./interfaces/IDiamondLoupe.sol\\\";\\nimport { IERC173 } from \\\"./interfaces/IERC173.sol\\\";\\nimport { IERC165 } from \\\"./interfaces/IERC165.sol\\\";\\n\\ncontract Diamond {\\n // more arguments are added to this struct\\n // this avoids stack too deep errors\\n struct DiamondArgs {\\n address owner;\\n }\\n\\n constructor(IDiamondCut.FacetCut[] memory _diamondCut, DiamondArgs memory _args) payable {\\n LibDiamond.diamondCut(_diamondCut, address(0), new bytes(0));\\n LibDiamond.setContractOwner(_args.owner);\\n\\n LibDiamond.DiamondStorage storage ds = LibDiamond.diamondStorage();\\n\\n // adding ERC165 data\\n ds.supportedInterfaces[type(IERC165).interfaceId] = true;\\n ds.supportedInterfaces[type(IDiamondCut).interfaceId] = true;\\n ds.supportedInterfaces[type(IDiamondLoupe).interfaceId] = true;\\n ds.supportedInterfaces[type(IERC173).interfaceId] = true;\\n }\\n\\n// constructor(address _contractOwner, address _diamondCutFacet) payable {\\n// LibDiamond.setContractOwner(_contractOwner);\\n//\\n// // Add the diamondCut external function from the diamondCutFacet\\n// IDiamondCut.FacetCut[] memory cut = new IDiamondCut.FacetCut[](1);\\n// bytes4[] memory functionSelectors = new bytes4[](1);\\n// functionSelectors[0] = IDiamondCut.diamondCut.selector;\\n// cut[0] = IDiamondCut.FacetCut({\\n// facetAddress: _diamondCutFacet,\\n// action: IDiamondCut.FacetCutAction.Add,\\n// functionSelectors: functionSelectors\\n// });\\n// LibDiamond.diamondCut(cut, address(0), \\\"\\\");\\n// }\\n\\n // Find facet for function that is called and execute the\\n // function if a facet is found and return any value.\\n fallback() external payable {\\n LibDiamond.DiamondStorage storage ds;\\n bytes32 position = LibDiamond.DIAMOND_STORAGE_POSITION;\\n // get diamond storage\\n assembly {\\n ds.slot := position\\n }\\n // get facet from function selector\\n address facet = ds.selectorToFacetAndPosition[msg.sig].facetAddress;\\n require(facet != address(0), \\\"Diamond: Function does not exist\\\");\\n // Execute external function from facet using delegatecall and return any value.\\n assembly {\\n // copy function selector and any arguments\\n calldatacopy(0, 0, calldatasize())\\n // execute function call using the facet\\n let result := delegatecall(gas(), facet, 0, calldatasize(), 0, 0)\\n // get any return value\\n returndatacopy(0, 0, returndatasize())\\n // return any return value or error back to the caller\\n switch result\\n case 0 {\\n revert(0, returndatasize())\\n }\\n default {\\n return(0, returndatasize())\\n }\\n }\\n }\\n\\n receive() external payable {}\\n}\\n\"\n },\n \"solc_0.8/diamond/facets/DiamondCutFacet.sol\": {\n \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.0;\\n\\n/******************************************************************************\\\\\\n* Author: Nick Mudge (https://twitter.com/mudgen)\\n* EIP-2535 Diamonds: https://eips.ethereum.org/EIPS/eip-2535\\n/******************************************************************************/\\n\\nimport { IDiamondCut } from \\\"../interfaces/IDiamondCut.sol\\\";\\nimport { LibDiamond } from \\\"../libraries/LibDiamond.sol\\\";\\n\\ncontract DiamondCutFacet is IDiamondCut {\\n /// @notice Add/replace/remove any number of functions and optionally execute\\n /// a function with delegatecall\\n /// @param _diamondCut Contains the facet addresses and function selectors\\n /// @param _init The address of the contract or facet to execute _calldata\\n /// @param _calldata A function call, including function selector and arguments\\n /// _calldata is executed with delegatecall on _init\\n function diamondCut(\\n FacetCut[] calldata _diamondCut,\\n address _init,\\n bytes calldata _calldata\\n ) external override {\\n LibDiamond.enforceIsContractOwner();\\n LibDiamond.diamondCut(_diamondCut, _init, _calldata);\\n }\\n}\\n\"\n },\n \"solc_0.8/diamond/facets/DiamondLoupeFacet.sol\": {\n \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.0;\\n/******************************************************************************\\\\\\n* Author: Nick Mudge (https://twitter.com/mudgen)\\n* EIP-2535 Diamonds: https://eips.ethereum.org/EIPS/eip-2535\\n/******************************************************************************/\\n\\nimport { LibDiamond } from \\\"../libraries/LibDiamond.sol\\\";\\nimport { IDiamondLoupe } from \\\"../interfaces/IDiamondLoupe.sol\\\";\\nimport { IERC165 } from \\\"../interfaces/IERC165.sol\\\";\\n\\ncontract DiamondLoupeFacet is IDiamondLoupe, IERC165 {\\n // Diamond Loupe Functions\\n ////////////////////////////////////////////////////////////////////\\n /// These functions are expected to be called frequently by tools.\\n //\\n // struct Facet {\\n // address facetAddress;\\n // bytes4[] functionSelectors;\\n // }\\n\\n /// @notice Gets all facets and their selectors.\\n /// @return facets_ Facet\\n function facets() external override view returns (Facet[] memory facets_) {\\n LibDiamond.DiamondStorage storage ds = LibDiamond.diamondStorage();\\n uint256 numFacets = ds.facetAddresses.length;\\n facets_ = new Facet[](numFacets);\\n for (uint256 i; i < numFacets; i++) {\\n address facetAddress_ = ds.facetAddresses[i];\\n facets_[i].facetAddress = facetAddress_;\\n facets_[i].functionSelectors = ds.facetFunctionSelectors[facetAddress_].functionSelectors;\\n }\\n }\\n\\n /// @notice Gets all the function selectors provided by a facet.\\n /// @param _facet The facet address.\\n /// @return facetFunctionSelectors_\\n function facetFunctionSelectors(address _facet) external override view returns (bytes4[] memory facetFunctionSelectors_) {\\n LibDiamond.DiamondStorage storage ds = LibDiamond.diamondStorage();\\n facetFunctionSelectors_ = ds.facetFunctionSelectors[_facet].functionSelectors;\\n }\\n\\n /// @notice Get all the facet addresses used by a diamond.\\n /// @return facetAddresses_\\n function facetAddresses() external override view returns (address[] memory facetAddresses_) {\\n LibDiamond.DiamondStorage storage ds = LibDiamond.diamondStorage();\\n facetAddresses_ = ds.facetAddresses;\\n }\\n\\n /// @notice Gets the facet that supports the given selector.\\n /// @dev If facet is not found return address(0).\\n /// @param _functionSelector The function selector.\\n /// @return facetAddress_ The facet address.\\n function facetAddress(bytes4 _functionSelector) external override view returns (address facetAddress_) {\\n LibDiamond.DiamondStorage storage ds = LibDiamond.diamondStorage();\\n facetAddress_ = ds.selectorToFacetAndPosition[_functionSelector].facetAddress;\\n }\\n\\n // This implements ERC-165.\\n function supportsInterface(bytes4 _interfaceId) external override view returns (bool) {\\n LibDiamond.DiamondStorage storage ds = LibDiamond.diamondStorage();\\n return ds.supportedInterfaces[_interfaceId];\\n }\\n}\\n\"\n },\n \"solc_0.8/diamond/facets/OwnershipFacet.sol\": {\n \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.0;\\n\\nimport { LibDiamond } from \\\"../libraries/LibDiamond.sol\\\";\\nimport { IERC173 } from \\\"../interfaces/IERC173.sol\\\";\\n\\ncontract OwnershipFacet is IERC173 {\\n function transferOwnership(address _newOwner) external override {\\n LibDiamond.enforceIsContractOwner();\\n LibDiamond.setContractOwner(_newOwner);\\n }\\n\\n function owner() external override view returns (address owner_) {\\n owner_ = LibDiamond.contractOwner();\\n }\\n}\\n\"\n },\n \"solc_0.8/diamond/libraries/LibDiamond.sol\": {\n \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.0;\\n\\n/******************************************************************************\\\\\\n* Author: Nick Mudge (https://twitter.com/mudgen)\\n* EIP-2535 Diamonds: https://eips.ethereum.org/EIPS/eip-2535\\n/******************************************************************************/\\nimport { IDiamondCut } from \\\"../interfaces/IDiamondCut.sol\\\";\\n\\nlibrary LibDiamond {\\n bytes32 constant DIAMOND_STORAGE_POSITION = keccak256(\\\"diamond.standard.diamond.storage\\\");\\n\\n struct FacetAddressAndPosition {\\n address facetAddress;\\n uint96 functionSelectorPosition; // position in facetFunctionSelectors.functionSelectors array\\n }\\n\\n struct FacetFunctionSelectors {\\n bytes4[] functionSelectors;\\n uint256 facetAddressPosition; // position of facetAddress in facetAddresses array\\n }\\n\\n struct DiamondStorage {\\n // maps function selector to the facet address and\\n // the position of the selector in the facetFunctionSelectors.selectors array\\n mapping(bytes4 => FacetAddressAndPosition) selectorToFacetAndPosition;\\n // maps facet addresses to function selectors\\n mapping(address => FacetFunctionSelectors) facetFunctionSelectors;\\n // facet addresses\\n address[] facetAddresses;\\n // Used to query if a contract implements an interface.\\n // Used to implement ERC-165.\\n mapping(bytes4 => bool) supportedInterfaces;\\n // owner of the contract\\n address contractOwner;\\n }\\n\\n function diamondStorage() internal pure returns (DiamondStorage storage ds) {\\n bytes32 position = DIAMOND_STORAGE_POSITION;\\n assembly {\\n ds.slot := position\\n }\\n }\\n\\n event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);\\n\\n function setContractOwner(address _newOwner) internal {\\n DiamondStorage storage ds = diamondStorage();\\n address previousOwner = ds.contractOwner;\\n ds.contractOwner = _newOwner;\\n emit OwnershipTransferred(previousOwner, _newOwner);\\n }\\n\\n function contractOwner() internal view returns (address contractOwner_) {\\n contractOwner_ = diamondStorage().contractOwner;\\n }\\n\\n function enforceIsContractOwner() internal view {\\n require(msg.sender == diamondStorage().contractOwner, \\\"LibDiamond: Must be contract owner\\\");\\n }\\n\\n event DiamondCut(IDiamondCut.FacetCut[] _diamondCut, address _init, bytes _calldata);\\n\\n // Internal function version of diamondCut\\n function diamondCut(\\n IDiamondCut.FacetCut[] memory _diamondCut,\\n address _init,\\n bytes memory _calldata\\n ) internal {\\n for (uint256 facetIndex; facetIndex < _diamondCut.length; facetIndex++) {\\n IDiamondCut.FacetCutAction action = _diamondCut[facetIndex].action;\\n if (action == IDiamondCut.FacetCutAction.Add) {\\n addFunctions(_diamondCut[facetIndex].facetAddress, _diamondCut[facetIndex].functionSelectors);\\n } else if (action == IDiamondCut.FacetCutAction.Replace) {\\n replaceFunctions(_diamondCut[facetIndex].facetAddress, _diamondCut[facetIndex].functionSelectors);\\n } else if (action == IDiamondCut.FacetCutAction.Remove) {\\n removeFunctions(_diamondCut[facetIndex].facetAddress, _diamondCut[facetIndex].functionSelectors);\\n } else {\\n revert(\\\"LibDiamondCut: Incorrect FacetCutAction\\\");\\n }\\n }\\n emit DiamondCut(_diamondCut, _init, _calldata);\\n initializeDiamondCut(_init, _calldata);\\n }\\n\\n function addFunctions(address _facetAddress, bytes4[] memory _functionSelectors) internal {\\n require(_functionSelectors.length > 0, \\\"LibDiamondCut: No selectors in facet to cut\\\");\\n DiamondStorage storage ds = diamondStorage(); \\n require(_facetAddress != address(0), \\\"LibDiamondCut: Add facet can't be address(0)\\\");\\n uint96 selectorPosition = uint96(ds.facetFunctionSelectors[_facetAddress].functionSelectors.length);\\n // add new facet address if it does not exist\\n if (selectorPosition == 0) {\\n addFacet(ds, _facetAddress); \\n }\\n for (uint256 selectorIndex; selectorIndex < _functionSelectors.length; selectorIndex++) {\\n bytes4 selector = _functionSelectors[selectorIndex];\\n address oldFacetAddress = ds.selectorToFacetAndPosition[selector].facetAddress;\\n require(oldFacetAddress == address(0), \\\"LibDiamondCut: Can't add function that already exists\\\");\\n addFunction(ds, selector, selectorPosition, _facetAddress);\\n selectorPosition++;\\n }\\n }\\n\\n function replaceFunctions(address _facetAddress, bytes4[] memory _functionSelectors) internal {\\n require(_functionSelectors.length > 0, \\\"LibDiamondCut: No selectors in facet to cut\\\");\\n DiamondStorage storage ds = diamondStorage();\\n require(_facetAddress != address(0), \\\"LibDiamondCut: Add facet can't be address(0)\\\");\\n uint96 selectorPosition = uint96(ds.facetFunctionSelectors[_facetAddress].functionSelectors.length);\\n // add new facet address if it does not exist\\n if (selectorPosition == 0) {\\n addFacet(ds, _facetAddress);\\n }\\n for (uint256 selectorIndex; selectorIndex < _functionSelectors.length; selectorIndex++) {\\n bytes4 selector = _functionSelectors[selectorIndex];\\n address oldFacetAddress = ds.selectorToFacetAndPosition[selector].facetAddress;\\n require(oldFacetAddress != _facetAddress, \\\"LibDiamondCut: Can't replace function with same function\\\");\\n removeFunction(ds, oldFacetAddress, selector);\\n addFunction(ds, selector, selectorPosition, _facetAddress);\\n selectorPosition++;\\n }\\n }\\n\\n function removeFunctions(address _facetAddress, bytes4[] memory _functionSelectors) internal {\\n require(_functionSelectors.length > 0, \\\"LibDiamondCut: No selectors in facet to cut\\\");\\n DiamondStorage storage ds = diamondStorage();\\n // if function does not exist then do nothing and return\\n require(_facetAddress == address(0), \\\"LibDiamondCut: Remove facet address must be address(0)\\\");\\n for (uint256 selectorIndex; selectorIndex < _functionSelectors.length; selectorIndex++) {\\n bytes4 selector = _functionSelectors[selectorIndex];\\n address oldFacetAddress = ds.selectorToFacetAndPosition[selector].facetAddress;\\n removeFunction(ds, oldFacetAddress, selector);\\n }\\n }\\n\\n function addFacet(DiamondStorage storage ds, address _facetAddress) internal {\\n enforceHasContractCode(_facetAddress, \\\"LibDiamondCut: New facet has no code\\\");\\n ds.facetFunctionSelectors[_facetAddress].facetAddressPosition = ds.facetAddresses.length;\\n ds.facetAddresses.push(_facetAddress);\\n } \\n\\n\\n function addFunction(DiamondStorage storage ds, bytes4 _selector, uint96 _selectorPosition, address _facetAddress) internal {\\n ds.selectorToFacetAndPosition[_selector].functionSelectorPosition = _selectorPosition;\\n ds.facetFunctionSelectors[_facetAddress].functionSelectors.push(_selector);\\n ds.selectorToFacetAndPosition[_selector].facetAddress = _facetAddress;\\n }\\n\\n function removeFunction(DiamondStorage storage ds, address _facetAddress, bytes4 _selector) internal { \\n require(_facetAddress != address(0), \\\"LibDiamondCut: Can't remove function that doesn't exist\\\");\\n // an immutable function is a function defined directly in a diamond\\n require(_facetAddress != address(this), \\\"LibDiamondCut: Can't remove immutable function\\\");\\n // replace selector with last selector, then delete last selector\\n uint256 selectorPosition = ds.selectorToFacetAndPosition[_selector].functionSelectorPosition;\\n uint256 lastSelectorPosition = ds.facetFunctionSelectors[_facetAddress].functionSelectors.length - 1;\\n // if not the same then replace _selector with lastSelector\\n if (selectorPosition != lastSelectorPosition) {\\n bytes4 lastSelector = ds.facetFunctionSelectors[_facetAddress].functionSelectors[lastSelectorPosition];\\n ds.facetFunctionSelectors[_facetAddress].functionSelectors[selectorPosition] = lastSelector;\\n ds.selectorToFacetAndPosition[lastSelector].functionSelectorPosition = uint96(selectorPosition);\\n }\\n // delete the last selector\\n ds.facetFunctionSelectors[_facetAddress].functionSelectors.pop();\\n delete ds.selectorToFacetAndPosition[_selector];\\n\\n // if no more selectors for facet address then delete the facet address\\n if (lastSelectorPosition == 0) {\\n // replace facet address with last facet address and delete last facet address\\n uint256 lastFacetAddressPosition = ds.facetAddresses.length - 1;\\n uint256 facetAddressPosition = ds.facetFunctionSelectors[_facetAddress].facetAddressPosition;\\n if (facetAddressPosition != lastFacetAddressPosition) {\\n address lastFacetAddress = ds.facetAddresses[lastFacetAddressPosition];\\n ds.facetAddresses[facetAddressPosition] = lastFacetAddress;\\n ds.facetFunctionSelectors[lastFacetAddress].facetAddressPosition = facetAddressPosition;\\n }\\n ds.facetAddresses.pop();\\n delete ds.facetFunctionSelectors[_facetAddress].facetAddressPosition;\\n }\\n }\\n\\n function initializeDiamondCut(address _init, bytes memory _calldata) internal {\\n if (_init == address(0)) {\\n require(_calldata.length == 0, \\\"LibDiamondCut: _init is address(0) but_calldata is not empty\\\");\\n } else {\\n require(_calldata.length > 0, \\\"LibDiamondCut: _calldata is empty but _init is not address(0)\\\");\\n if (_init != address(this)) {\\n enforceHasContractCode(_init, \\\"LibDiamondCut: _init address has no code\\\");\\n }\\n (bool success, bytes memory error) = _init.delegatecall(_calldata);\\n if (!success) {\\n if (error.length > 0) {\\n // bubble up the error\\n revert(string(error));\\n } else {\\n revert(\\\"LibDiamondCut: _init function reverted\\\");\\n }\\n }\\n }\\n }\\n\\n function enforceHasContractCode(address _contract, string memory _errorMessage) internal view {\\n uint256 contractSize;\\n assembly {\\n contractSize := extcodesize(_contract)\\n }\\n require(contractSize > 0, _errorMessage);\\n }\\n}\\n\"\n },\n \"solc_0.8/diamond/interfaces/IDiamondLoupe.sol\": {\n \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.0;\\n\\n/******************************************************************************\\\\\\n* Author: Nick Mudge (https://twitter.com/mudgen)\\n* EIP-2535 Diamonds: https://eips.ethereum.org/EIPS/eip-2535\\n/******************************************************************************/\\n\\n// A loupe is a small magnifying glass used to look at diamonds.\\n// These functions look at diamonds\\ninterface IDiamondLoupe {\\n /// These functions are expected to be called frequently\\n /// by tools.\\n\\n struct Facet {\\n address facetAddress;\\n bytes4[] functionSelectors;\\n }\\n\\n /// @notice Gets all facet addresses and their four byte function selectors.\\n /// @return facets_ Facet\\n function facets() external view returns (Facet[] memory facets_);\\n\\n /// @notice Gets all the function selectors supported by a specific facet.\\n /// @param _facet The facet address.\\n /// @return facetFunctionSelectors_\\n function facetFunctionSelectors(address _facet) external view returns (bytes4[] memory facetFunctionSelectors_);\\n\\n /// @notice Get all the facet addresses used by a diamond.\\n /// @return facetAddresses_\\n function facetAddresses() external view returns (address[] memory facetAddresses_);\\n\\n /// @notice Gets the facet that supports the given selector.\\n /// @dev If facet is not found return address(0).\\n /// @param _functionSelector The function selector.\\n /// @return facetAddress_ The facet address.\\n function facetAddress(bytes4 _functionSelector) external view returns (address facetAddress_);\\n}\\n\"\n },\n \"solc_0.8/diamond/interfaces/IERC173.sol\": {\n \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.0;\\n\\n/// @title ERC-173 Contract Ownership Standard\\n/// Note: the ERC-165 identifier for this interface is 0x7f5828d0\\n/* is ERC165 */\\ninterface IERC173 {\\n /// @dev This emits when ownership of a contract changes.\\n event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);\\n\\n /// @notice Get the address of the owner\\n /// @return owner_ The address of the owner.\\n function owner() external view returns (address owner_);\\n\\n /// @notice Set the address of the new owner of the contract\\n /// @dev Set _newOwner to address(0) to renounce any ownership.\\n /// @param _newOwner The address of the new owner of the contract\\n function transferOwnership(address _newOwner) external;\\n}\\n\"\n },\n \"solc_0.8/diamond/interfaces/IERC165.sol\": {\n \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.0;\\n\\ninterface IERC165 {\\n /// @notice Query if a contract implements an interface\\n /// @param interfaceId The interface identifier, as specified in ERC-165\\n /// @dev Interface identification is specified in ERC-165. This function\\n /// uses less than 30,000 gas.\\n /// @return `true` if the contract implements `interfaceID` and\\n /// `interfaceID` is not 0xffffffff, `false` otherwise\\n function supportsInterface(bytes4 interfaceId) external view returns (bool);\\n}\\n\"\n },\n \"solc_0.8/diamond/upgradeInitializers/DiamondInit.sol\": {\n \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.0;\\n\\n/******************************************************************************\\\\\\n* Author: Nick Mudge (https://twitter.com/mudgen)\\n* EIP-2535 Diamonds: https://eips.ethereum.org/EIPS/eip-2535\\n*\\n* Implementation of a diamond.\\n/******************************************************************************/\\n\\nimport {LibDiamond} from \\\"../libraries/LibDiamond.sol\\\";\\nimport { IDiamondLoupe } from \\\"../interfaces/IDiamondLoupe.sol\\\";\\nimport { IDiamondCut } from \\\"../interfaces/IDiamondCut.sol\\\";\\nimport { IERC173 } from \\\"../interfaces/IERC173.sol\\\";\\nimport { IERC165 } from \\\"../interfaces/IERC165.sol\\\";\\n\\n// It is exapected that this contract is customized if you want to deploy your diamond\\n// with data from a deployment script. Use the init function to initialize state variables\\n// of your diamond. Add parameters to the init funciton if you need to.\\n\\ncontract DiamondInit { \\n\\n // You can add parameters to this function in order to pass in \\n // data to set your own state variables\\n function init() external {\\n // adding ERC165 data\\n LibDiamond.DiamondStorage storage ds = LibDiamond.diamondStorage();\\n ds.supportedInterfaces[type(IERC165).interfaceId] = true;\\n ds.supportedInterfaces[type(IDiamondCut).interfaceId] = true;\\n ds.supportedInterfaces[type(IDiamondLoupe).interfaceId] = true;\\n ds.supportedInterfaces[type(IERC173).interfaceId] = true;\\n\\n // add your own state variables \\n // EIP-2535 specifies that the `diamondCut` function takes two optional \\n // arguments: address _init and bytes calldata _calldata\\n // These arguments are used to execute an arbitrary function using delegatecall\\n // in order to set state variables in the diamond during deployment or an upgrade\\n // More info here: https://eips.ethereum.org/EIPS/eip-2535#diamond-interface \\n }\\n\\n\\n}\"\n }\n },\n \"settings\": {\n \"optimizer\": {\n \"enabled\": true,\n \"runs\": 999999\n },\n \"outputSelection\": {\n \"*\": {\n \"*\": [\n \"abi\",\n \"evm.bytecode\",\n \"evm.deployedBytecode\",\n \"evm.methodIdentifiers\",\n \"metadata\",\n \"devdoc\",\n \"userdoc\",\n \"storageLayout\",\n \"evm.gasEstimates\"\n ],\n \"\": [\n \"ast\"\n ]\n }\n },\n \"metadata\": {\n \"useLiteralContent\": true\n }\n }\n}", + "solcInputHash": "91f18d120de6fe2bcaa5a3bff0ad9fe7" } \ No newline at end of file diff --git a/extendedArtifacts/IDiamondLoupe.json b/extendedArtifacts/IDiamondLoupe.json index a728cf6e..7326e410 100644 --- a/extendedArtifacts/IDiamondLoupe.json +++ b/extendedArtifacts/IDiamondLoupe.json @@ -1,6 +1,6 @@ { "contractName": "IDiamondLoupe", - "sourceName": "solc_0.7/diamond/interfaces/IDiamondLoupe.sol", + "sourceName": "solc_0.8/diamond/interfaces/IDiamondLoupe.sol", "abi": [ { "inputs": [ @@ -118,6 +118,7 @@ }, "evm": { "bytecode": { + "functionDebugData": {}, "generatedSources": [], "linkReferences": {}, "object": "", @@ -125,6 +126,7 @@ "sourceMap": "" }, "deployedBytecode": { + "functionDebugData": {}, "generatedSources": [], "immutableReferences": {}, "linkReferences": {}, @@ -140,7 +142,7 @@ "facets()": "7a0ed627" } }, - "metadata": "{\"compiler\":{\"version\":\"0.7.6+commit.7338295f\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"internalType\":\"bytes4\",\"name\":\"_functionSelector\",\"type\":\"bytes4\"}],\"name\":\"facetAddress\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"facetAddress_\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"facetAddresses\",\"outputs\":[{\"internalType\":\"address[]\",\"name\":\"facetAddresses_\",\"type\":\"address[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_facet\",\"type\":\"address\"}],\"name\":\"facetFunctionSelectors\",\"outputs\":[{\"internalType\":\"bytes4[]\",\"name\":\"facetFunctionSelectors_\",\"type\":\"bytes4[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"facets\",\"outputs\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"facetAddress\",\"type\":\"address\"},{\"internalType\":\"bytes4[]\",\"name\":\"functionSelectors\",\"type\":\"bytes4[]\"}],\"internalType\":\"struct IDiamondLoupe.Facet[]\",\"name\":\"facets_\",\"type\":\"tuple[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{\"facetAddress(bytes4)\":{\"details\":\"If facet is not found return address(0).\",\"params\":{\"_functionSelector\":\"The function selector.\"},\"returns\":{\"facetAddress_\":\"The facet address.\"}},\"facetAddresses()\":{\"returns\":{\"facetAddresses_\":\"facetAddresses_\"}},\"facetFunctionSelectors(address)\":{\"params\":{\"_facet\":\"The facet address.\"},\"returns\":{\"facetFunctionSelectors_\":\"facetFunctionSelectors_\"}},\"facets()\":{\"returns\":{\"facets_\":\"Facet\"}}},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{\"facetAddress(bytes4)\":{\"notice\":\"Gets the facet that supports the given selector.\"},\"facetAddresses()\":{\"notice\":\"Get all the facet addresses used by a diamond.\"},\"facetFunctionSelectors(address)\":{\"notice\":\"Gets all the function selectors supported by a specific facet.\"},\"facets()\":{\"notice\":\"Gets all facet addresses and their four byte function selectors.\"}},\"version\":1}},\"settings\":{\"compilationTarget\":{\"solc_0.7/diamond/interfaces/IDiamondLoupe.sol\":\"IDiamondLoupe\"},\"evmVersion\":\"istanbul\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\",\"useLiteralContent\":true},\"optimizer\":{\"enabled\":true,\"runs\":999999},\"remappings\":[]},\"sources\":{\"solc_0.7/diamond/interfaces/IDiamondLoupe.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\npragma solidity ^0.7.6;\\npragma experimental ABIEncoderV2;\\n\\n/******************************************************************************\\\\\\n* Author: Nick Mudge (https://twitter.com/mudgen)\\n* EIP-2535 Diamond Standard: https://eips.ethereum.org/EIPS/eip-2535\\n/******************************************************************************/\\n\\n// A loupe is a small magnifying glass used to look at diamonds.\\n// These functions look at diamonds\\ninterface IDiamondLoupe {\\n /// These functions are expected to be called frequently\\n /// by tools.\\n\\n struct Facet {\\n address facetAddress;\\n bytes4[] functionSelectors;\\n }\\n\\n /// @notice Gets all facet addresses and their four byte function selectors.\\n /// @return facets_ Facet\\n function facets() external view returns (Facet[] memory facets_);\\n\\n /// @notice Gets all the function selectors supported by a specific facet.\\n /// @param _facet The facet address.\\n /// @return facetFunctionSelectors_\\n function facetFunctionSelectors(address _facet) external view returns (bytes4[] memory facetFunctionSelectors_);\\n\\n /// @notice Get all the facet addresses used by a diamond.\\n /// @return facetAddresses_\\n function facetAddresses() external view returns (address[] memory facetAddresses_);\\n\\n /// @notice Gets the facet that supports the given selector.\\n /// @dev If facet is not found return address(0).\\n /// @param _functionSelector The function selector.\\n /// @return facetAddress_ The facet address.\\n function facetAddress(bytes4 _functionSelector) external view returns (address facetAddress_);\\n}\\n\",\"keccak256\":\"0xf4bc76153335588e7cb5fe1c9701857fd2ae0340ad94976adbf1c49054f82dfe\",\"license\":\"MIT\"}},\"version\":1}", + "metadata": "{\"compiler\":{\"version\":\"0.8.9+commit.e5eed63a\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"internalType\":\"bytes4\",\"name\":\"_functionSelector\",\"type\":\"bytes4\"}],\"name\":\"facetAddress\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"facetAddress_\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"facetAddresses\",\"outputs\":[{\"internalType\":\"address[]\",\"name\":\"facetAddresses_\",\"type\":\"address[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_facet\",\"type\":\"address\"}],\"name\":\"facetFunctionSelectors\",\"outputs\":[{\"internalType\":\"bytes4[]\",\"name\":\"facetFunctionSelectors_\",\"type\":\"bytes4[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"facets\",\"outputs\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"facetAddress\",\"type\":\"address\"},{\"internalType\":\"bytes4[]\",\"name\":\"functionSelectors\",\"type\":\"bytes4[]\"}],\"internalType\":\"struct IDiamondLoupe.Facet[]\",\"name\":\"facets_\",\"type\":\"tuple[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{\"facetAddress(bytes4)\":{\"details\":\"If facet is not found return address(0).\",\"params\":{\"_functionSelector\":\"The function selector.\"},\"returns\":{\"facetAddress_\":\"The facet address.\"}},\"facetAddresses()\":{\"returns\":{\"facetAddresses_\":\"facetAddresses_\"}},\"facetFunctionSelectors(address)\":{\"params\":{\"_facet\":\"The facet address.\"},\"returns\":{\"facetFunctionSelectors_\":\"facetFunctionSelectors_\"}},\"facets()\":{\"returns\":{\"facets_\":\"Facet\"}}},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{\"facetAddress(bytes4)\":{\"notice\":\"Gets the facet that supports the given selector.\"},\"facetAddresses()\":{\"notice\":\"Get all the facet addresses used by a diamond.\"},\"facetFunctionSelectors(address)\":{\"notice\":\"Gets all the function selectors supported by a specific facet.\"},\"facets()\":{\"notice\":\"Gets all facet addresses and their four byte function selectors.\"}},\"version\":1}},\"settings\":{\"compilationTarget\":{\"solc_0.8/diamond/interfaces/IDiamondLoupe.sol\":\"IDiamondLoupe\"},\"evmVersion\":\"london\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\",\"useLiteralContent\":true},\"optimizer\":{\"enabled\":true,\"runs\":999999},\"remappings\":[]},\"sources\":{\"solc_0.8/diamond/interfaces/IDiamondLoupe.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.0;\\n\\n/******************************************************************************\\\\\\n* Author: Nick Mudge (https://twitter.com/mudgen)\\n* EIP-2535 Diamonds: https://eips.ethereum.org/EIPS/eip-2535\\n/******************************************************************************/\\n\\n// A loupe is a small magnifying glass used to look at diamonds.\\n// These functions look at diamonds\\ninterface IDiamondLoupe {\\n /// These functions are expected to be called frequently\\n /// by tools.\\n\\n struct Facet {\\n address facetAddress;\\n bytes4[] functionSelectors;\\n }\\n\\n /// @notice Gets all facet addresses and their four byte function selectors.\\n /// @return facets_ Facet\\n function facets() external view returns (Facet[] memory facets_);\\n\\n /// @notice Gets all the function selectors supported by a specific facet.\\n /// @param _facet The facet address.\\n /// @return facetFunctionSelectors_\\n function facetFunctionSelectors(address _facet) external view returns (bytes4[] memory facetFunctionSelectors_);\\n\\n /// @notice Get all the facet addresses used by a diamond.\\n /// @return facetAddresses_\\n function facetAddresses() external view returns (address[] memory facetAddresses_);\\n\\n /// @notice Gets the facet that supports the given selector.\\n /// @dev If facet is not found return address(0).\\n /// @param _functionSelector The function selector.\\n /// @return facetAddress_ The facet address.\\n function facetAddress(bytes4 _functionSelector) external view returns (address facetAddress_);\\n}\\n\",\"keccak256\":\"0x10884024af2c0f7deca0fac4ddf84e76da5dba35b6e02fabeac8ea54c1a5c6f7\",\"license\":\"MIT\"}},\"version\":1}", "storageLayout": { "storage": [], "types": null @@ -163,6 +165,6 @@ }, "version": 1 }, - "solcInput": "{\n \"language\": \"Solidity\",\n \"sources\": {\n \"solc_0.7/diamond/Diamantaire.sol\": {\n \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity ^0.7.1;\\npragma experimental ABIEncoderV2;\\n\\nimport \\\"./interfaces/IDiamondCut.sol\\\";\\nimport \\\"./Diamond.sol\\\";\\nimport \\\"./facets/DiamondCutFacet.sol\\\";\\nimport \\\"./facets/DiamondLoupeFacet.sol\\\";\\nimport \\\"./facets/OwnershipFacet.sol\\\";\\n\\ncontract Diamantaire {\\n event DiamondCreated(Diamond diamond);\\n\\n IDiamondCut.FacetCut[] internal _builtinDiamondCut;\\n\\n constructor() {\\n bytes4[] memory functionSelectors;\\n\\n // -------------------------------------------------------------------------\\n // adding diamondCut function\\n // -------------------------------------------------------------------------\\n DiamondCutFacet diamondCutFacet = new DiamondCutFacet();\\n\\n functionSelectors = new bytes4[](1);\\n functionSelectors[0] = DiamondCutFacet.diamondCut.selector;\\n _builtinDiamondCut.push(IDiamondCut.FacetCut({\\n facetAddress:address(diamondCutFacet),\\n action: IDiamondCut.FacetCutAction.Add,\\n functionSelectors: functionSelectors\\n }));\\n\\n\\n // -------------------------------------------------------------------------\\n // adding diamond loupe functions\\n // -------------------------------------------------------------------------\\n DiamondLoupeFacet diamondLoupeFacet = new DiamondLoupeFacet();\\n\\n functionSelectors = new bytes4[](5);\\n functionSelectors[0] = DiamondLoupeFacet.facetFunctionSelectors.selector;\\n functionSelectors[1] = DiamondLoupeFacet.facets.selector;\\n functionSelectors[2] = DiamondLoupeFacet.facetAddress.selector;\\n functionSelectors[3] = DiamondLoupeFacet.facetAddresses.selector;\\n functionSelectors[4] = DiamondLoupeFacet.supportsInterface.selector;\\n _builtinDiamondCut.push(IDiamondCut.FacetCut({\\n facetAddress:address(diamondLoupeFacet),\\n action: IDiamondCut.FacetCutAction.Add,\\n functionSelectors: functionSelectors\\n }));\\n\\n\\n // -------------------------------------------------------------------------\\n // adding ownership functions\\n // -------------------------------------------------------------------------\\n OwnershipFacet ownershipFacet = new OwnershipFacet();\\n\\n functionSelectors = new bytes4[](2);\\n functionSelectors[0] = OwnershipFacet.transferOwnership.selector;\\n functionSelectors[1] = OwnershipFacet.owner.selector;\\n _builtinDiamondCut.push(IDiamondCut.FacetCut({\\n facetAddress:address(ownershipFacet),\\n action: IDiamondCut.FacetCutAction.Add,\\n functionSelectors: functionSelectors\\n }));\\n }\\n\\n function createDiamond(\\n address owner,\\n IDiamondCut.FacetCut[] calldata _diamondCut,\\n bytes calldata data,\\n bytes32 salt\\n ) external payable returns (Diamond diamond) {\\n if (salt != 0x0000000000000000000000000000000000000000000000000000000000000000) {\\n salt = keccak256(abi.encodePacked(salt, owner));\\n diamond = new Diamond{value: msg.value, salt: salt}(\\n _builtinDiamondCut,\\n Diamond.DiamondArgs({owner:address(this)})\\n );\\n } else {\\n diamond = new Diamond{value: msg.value}(_builtinDiamondCut, Diamond.DiamondArgs({owner:address(this)}));\\n }\\n emit DiamondCreated(diamond);\\n\\n IDiamondCut(address(diamond)).diamondCut(_diamondCut, data.length > 0 ? address(diamond) : address(0), data);\\n IERC173(address(diamond)).transferOwnership(owner);\\n }\\n}\\n\"\n },\n \"solc_0.7/diamond/interfaces/IDiamondCut.sol\": {\n \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity ^0.7.6;\\npragma experimental ABIEncoderV2;\\n\\n/******************************************************************************\\\\\\n* Author: Nick Mudge (https://twitter.com/mudgen)\\n* EIP-2535 Diamond Standard: https://eips.ethereum.org/EIPS/eip-2535\\n/******************************************************************************/\\n\\ninterface IDiamondCut {\\n enum FacetCutAction {Add, Replace, Remove}\\n // Add=0, Replace=1, Remove=2\\n\\n struct FacetCut {\\n address facetAddress;\\n FacetCutAction action;\\n bytes4[] functionSelectors;\\n }\\n\\n /// @notice Add/replace/remove any number of functions and optionally execute\\n /// a function with delegatecall\\n /// @param _diamondCut Contains the facet addresses and function selectors\\n /// @param _init The address of the contract or facet to execute _calldata\\n /// @param _calldata A function call, including function selector and arguments\\n /// _calldata is executed with delegatecall on _init\\n function diamondCut(\\n FacetCut[] calldata _diamondCut,\\n address _init,\\n bytes calldata _calldata\\n ) external;\\n\\n event DiamondCut(FacetCut[] _diamondCut, address _init, bytes _calldata);\\n}\\n\"\n },\n \"solc_0.7/diamond/Diamond.sol\": {\n \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity ^0.7.6;\\npragma experimental ABIEncoderV2;\\n\\n/******************************************************************************\\\\\\n* Author: Nick Mudge (https://twitter.com/mudgen)\\n* EIP-2535 Diamond Standard: https://eips.ethereum.org/EIPS/eip-2535\\n* \\n* Implementation of a diamond.\\n/******************************************************************************/\\n\\nimport \\\"./libraries/LibDiamond.sol\\\";\\nimport \\\"./interfaces/IDiamondLoupe.sol\\\";\\nimport \\\"./interfaces/IDiamondCut.sol\\\";\\nimport \\\"./interfaces/IERC173.sol\\\";\\nimport \\\"./interfaces/IERC165.sol\\\";\\n\\ncontract Diamond {\\n // more arguments are added to this struct\\n // this avoids stack too deep errors\\n struct DiamondArgs {\\n address owner;\\n }\\n\\n constructor(IDiamondCut.FacetCut[] memory _diamondCut, DiamondArgs memory _args) payable {\\n LibDiamond.diamondCut(_diamondCut, address(0), new bytes(0));\\n LibDiamond.setContractOwner(_args.owner);\\n\\n LibDiamond.DiamondStorage storage ds = LibDiamond.diamondStorage();\\n\\n // adding ERC165 data\\n ds.supportedInterfaces[type(IERC165).interfaceId] = true;\\n ds.supportedInterfaces[type(IDiamondCut).interfaceId] = true;\\n ds.supportedInterfaces[type(IDiamondLoupe).interfaceId] = true;\\n ds.supportedInterfaces[type(IERC173).interfaceId] = true;\\n }\\n\\n // Find facet for function that is called and execute the\\n // function if a facet is found and return any value.\\n fallback() external payable {\\n LibDiamond.DiamondStorage storage ds;\\n bytes32 position = LibDiamond.DIAMOND_STORAGE_POSITION;\\n assembly {\\n ds.slot := position\\n }\\n address facet = ds.selectorToFacetAndPosition[msg.sig].facetAddress;\\n require(facet != address(0), \\\"Diamond: Function does not exist\\\");\\n assembly {\\n calldatacopy(0, 0, calldatasize())\\n let result := delegatecall(gas(), facet, 0, calldatasize(), 0, 0)\\n returndatacopy(0, 0, returndatasize())\\n switch result\\n case 0 {\\n revert(0, returndatasize())\\n }\\n default {\\n return(0, returndatasize())\\n }\\n }\\n }\\n\\n receive() external payable {}\\n}\\n\"\n },\n \"solc_0.7/diamond/facets/DiamondCutFacet.sol\": {\n \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity ^0.7.6;\\npragma experimental ABIEncoderV2;\\n\\n/******************************************************************************\\\\\\n* Author: Nick Mudge (https://twitter.com/mudgen)\\n* EIP-2535 Diamond Standard: https://eips.ethereum.org/EIPS/eip-2535\\n/******************************************************************************/\\n\\nimport \\\"../interfaces/IDiamondCut.sol\\\";\\nimport \\\"../libraries/LibDiamond.sol\\\";\\n\\ncontract DiamondCutFacet is IDiamondCut {\\n /// @notice Add/replace/remove any number of functions and optionally execute\\n /// a function with delegatecall\\n /// @param _diamondCut Contains the facet addresses and function selectors\\n /// @param _init The address of the contract or facet to execute _calldata\\n /// @param _calldata A function call, including function selector and arguments\\n /// _calldata is executed with delegatecall on _init\\n function diamondCut(\\n FacetCut[] calldata _diamondCut,\\n address _init,\\n bytes calldata _calldata\\n ) external override {\\n LibDiamond.enforceIsContractOwner();\\n LibDiamond.diamondCut(_diamondCut, _init, _calldata);\\n }\\n}\\n\"\n },\n \"solc_0.7/diamond/facets/DiamondLoupeFacet.sol\": {\n \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity ^0.7.6;\\npragma experimental ABIEncoderV2;\\n\\n/******************************************************************************\\\\\\n* Author: Nick Mudge (https://twitter.com/mudgen)\\n* EIP-2535 Diamond Standard: https://eips.ethereum.org/EIPS/eip-2535\\n/******************************************************************************/\\n\\nimport \\\"../libraries/LibDiamond.sol\\\";\\nimport \\\"../interfaces/IDiamondCut.sol\\\";\\nimport \\\"../interfaces/IDiamondLoupe.sol\\\";\\nimport \\\"../interfaces/IERC165.sol\\\";\\n\\ncontract DiamondLoupeFacet is IDiamondLoupe, IERC165 {\\n // Diamond Loupe Functions\\n ////////////////////////////////////////////////////////////////////\\n /// These functions are expected to be called frequently by tools.\\n //\\n // struct Facet {\\n // address facetAddress;\\n // bytes4[] functionSelectors;\\n // }\\n\\n /// @notice Gets all facets and their selectors.\\n /// @return facets_ Facet\\n function facets() external override view returns (Facet[] memory facets_) {\\n LibDiamond.DiamondStorage storage ds = LibDiamond.diamondStorage();\\n uint256 numFacets = ds.facetAddresses.length;\\n facets_ = new Facet[](numFacets);\\n for (uint256 i; i < numFacets; i++) {\\n address facetAddress_ = ds.facetAddresses[i];\\n facets_[i].facetAddress = facetAddress_;\\n facets_[i].functionSelectors = ds.facetFunctionSelectors[facetAddress_].functionSelectors;\\n }\\n }\\n\\n /// @notice Gets all the function selectors provided by a facet.\\n /// @param _facet The facet address.\\n /// @return facetFunctionSelectors_\\n function facetFunctionSelectors(address _facet) external override view returns (bytes4[] memory facetFunctionSelectors_) {\\n LibDiamond.DiamondStorage storage ds = LibDiamond.diamondStorage();\\n facetFunctionSelectors_ = ds.facetFunctionSelectors[_facet].functionSelectors;\\n }\\n\\n /// @notice Get all the facet addresses used by a diamond.\\n /// @return facetAddresses_\\n function facetAddresses() external override view returns (address[] memory facetAddresses_) {\\n LibDiamond.DiamondStorage storage ds = LibDiamond.diamondStorage();\\n facetAddresses_ = ds.facetAddresses;\\n }\\n\\n /// @notice Gets the facet that supports the given selector.\\n /// @dev If facet is not found return address(0).\\n /// @param _functionSelector The function selector.\\n /// @return facetAddress_ The facet address.\\n function facetAddress(bytes4 _functionSelector) external override view returns (address facetAddress_) {\\n LibDiamond.DiamondStorage storage ds = LibDiamond.diamondStorage();\\n facetAddress_ = ds.selectorToFacetAndPosition[_functionSelector].facetAddress;\\n }\\n\\n // This implements ERC-165.\\n function supportsInterface(bytes4 _interfaceId) external override view returns (bool) {\\n LibDiamond.DiamondStorage storage ds = LibDiamond.diamondStorage();\\n return ds.supportedInterfaces[_interfaceId];\\n }\\n}\\n\"\n },\n \"solc_0.7/diamond/facets/OwnershipFacet.sol\": {\n \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity ^0.7.6;\\n\\nimport \\\"../libraries/LibDiamond.sol\\\";\\nimport \\\"../interfaces/IERC173.sol\\\";\\n\\ncontract OwnershipFacet is IERC173 {\\n function transferOwnership(address _newOwner) external override {\\n LibDiamond.enforceIsContractOwner();\\n LibDiamond.setContractOwner(_newOwner);\\n }\\n\\n function owner() external override view returns (address owner_) {\\n owner_ = LibDiamond.contractOwner();\\n }\\n}\\n\"\n },\n \"solc_0.7/diamond/libraries/LibDiamond.sol\": {\n \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity ^0.7.6;\\npragma experimental ABIEncoderV2;\\n\\n/******************************************************************************\\\\\\n* Author: Nick Mudge (https://twitter.com/mudgen)\\n* EIP-2535 Diamond Standard: https://eips.ethereum.org/EIPS/eip-2535\\n/******************************************************************************/\\n\\nimport \\\"../interfaces/IDiamondCut.sol\\\";\\n\\nlibrary LibDiamond {\\n bytes32 constant DIAMOND_STORAGE_POSITION = keccak256(\\\"diamond.standard.diamond.storage\\\");\\n\\n struct FacetAddressAndPosition {\\n address facetAddress;\\n uint16 functionSelectorPosition; // position in facetFunctionSelectors.functionSelectors array\\n }\\n\\n struct FacetFunctionSelectors {\\n bytes4[] functionSelectors;\\n uint16 facetAddressPosition; // position of facetAddress in facetAddresses array\\n }\\n\\n struct DiamondStorage {\\n // maps function selector to the facet address and\\n // the position of the selector in the facetFunctionSelectors.selectors array\\n mapping(bytes4 => FacetAddressAndPosition) selectorToFacetAndPosition;\\n // maps facet addresses to function selectors\\n mapping(address => FacetFunctionSelectors) facetFunctionSelectors;\\n // facet addresses\\n address[] facetAddresses;\\n // Used to query if a contract implements an interface.\\n // Used to implement ERC-165.\\n mapping(bytes4 => bool) supportedInterfaces;\\n // owner of the contract\\n address contractOwner;\\n }\\n\\n function diamondStorage() internal pure returns (DiamondStorage storage ds) {\\n bytes32 position = DIAMOND_STORAGE_POSITION;\\n assembly {\\n ds.slot := position\\n }\\n }\\n\\n event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);\\n\\n function setContractOwner(address _newOwner) internal {\\n DiamondStorage storage ds = diamondStorage();\\n address previousOwner = ds.contractOwner;\\n ds.contractOwner = _newOwner;\\n emit OwnershipTransferred(previousOwner, _newOwner);\\n }\\n\\n function contractOwner() internal view returns (address contractOwner_) {\\n contractOwner_ = diamondStorage().contractOwner;\\n }\\n\\n function enforceIsContractOwner() internal view {\\n require(msg.sender == diamondStorage().contractOwner, \\\"LibDiamond: Must be contract owner\\\");\\n }\\n\\n event DiamondCut(IDiamondCut.FacetCut[] _diamondCut, address _init, bytes _calldata);\\n\\n // Internal function version of diamondCut\\n function diamondCut(\\n IDiamondCut.FacetCut[] memory _diamondCut,\\n address _init,\\n bytes memory _calldata\\n ) internal {\\n for (uint256 facetIndex; facetIndex < _diamondCut.length; facetIndex++) {\\n IDiamondCut.FacetCutAction action = _diamondCut[facetIndex].action;\\n if (action == IDiamondCut.FacetCutAction.Add) {\\n addFunctions(_diamondCut[facetIndex].facetAddress, _diamondCut[facetIndex].functionSelectors);\\n } else if (action == IDiamondCut.FacetCutAction.Replace) {\\n replaceFunctions(_diamondCut[facetIndex].facetAddress, _diamondCut[facetIndex].functionSelectors);\\n } else if (action == IDiamondCut.FacetCutAction.Remove) {\\n removeFunctions(_diamondCut[facetIndex].facetAddress, _diamondCut[facetIndex].functionSelectors);\\n } else {\\n revert(\\\"LibDiamondCut: Incorrect FacetCutAction\\\");\\n }\\n }\\n emit DiamondCut(_diamondCut, _init, _calldata);\\n initializeDiamondCut(_init, _calldata);\\n }\\n\\n function addFunctions(address _facetAddress, bytes4[] memory _functionSelectors) internal {\\n require(_functionSelectors.length > 0, \\\"LibDiamondCut: No selectors in facet to cut\\\");\\n DiamondStorage storage ds = diamondStorage();\\n // uint16 selectorCount = uint16(diamondStorage().selectors.length);\\n require(_facetAddress != address(0), \\\"LibDiamondCut: Add facet can't be address(0)\\\");\\n uint16 selectorPosition = uint16(ds.facetFunctionSelectors[_facetAddress].functionSelectors.length);\\n // add new facet address if it does not exist\\n if (selectorPosition == 0) {\\n enforceHasContractCode(_facetAddress, \\\"LibDiamondCut: New facet has no code\\\");\\n ds.facetFunctionSelectors[_facetAddress].facetAddressPosition = uint16(ds.facetAddresses.length);\\n ds.facetAddresses.push(_facetAddress);\\n }\\n for (uint256 selectorIndex; selectorIndex < _functionSelectors.length; selectorIndex++) {\\n bytes4 selector = _functionSelectors[selectorIndex];\\n address oldFacetAddress = ds.selectorToFacetAndPosition[selector].facetAddress;\\n require(oldFacetAddress == address(0), \\\"LibDiamondCut: Can't add function that already exists\\\");\\n ds.facetFunctionSelectors[_facetAddress].functionSelectors.push(selector);\\n ds.selectorToFacetAndPosition[selector].facetAddress = _facetAddress;\\n ds.selectorToFacetAndPosition[selector].functionSelectorPosition = selectorPosition;\\n selectorPosition++;\\n }\\n }\\n\\n function replaceFunctions(address _facetAddress, bytes4[] memory _functionSelectors) internal {\\n require(_functionSelectors.length > 0, \\\"LibDiamondCut: No selectors in facet to cut\\\");\\n DiamondStorage storage ds = diamondStorage();\\n require(_facetAddress != address(0), \\\"LibDiamondCut: Add facet can't be address(0)\\\");\\n uint16 selectorPosition = uint16(ds.facetFunctionSelectors[_facetAddress].functionSelectors.length);\\n // add new facet address if it does not exist\\n if (selectorPosition == 0) {\\n enforceHasContractCode(_facetAddress, \\\"LibDiamondCut: New facet has no code\\\");\\n ds.facetFunctionSelectors[_facetAddress].facetAddressPosition = uint16(ds.facetAddresses.length);\\n ds.facetAddresses.push(_facetAddress);\\n }\\n for (uint256 selectorIndex; selectorIndex < _functionSelectors.length; selectorIndex++) {\\n bytes4 selector = _functionSelectors[selectorIndex];\\n address oldFacetAddress = ds.selectorToFacetAndPosition[selector].facetAddress;\\n require(oldFacetAddress != _facetAddress, \\\"LibDiamondCut: Can't replace function with same function\\\");\\n removeFunction(oldFacetAddress, selector);\\n // add function\\n ds.selectorToFacetAndPosition[selector].functionSelectorPosition = selectorPosition;\\n ds.facetFunctionSelectors[_facetAddress].functionSelectors.push(selector);\\n ds.selectorToFacetAndPosition[selector].facetAddress = _facetAddress;\\n selectorPosition++;\\n }\\n }\\n\\n function removeFunctions(address _facetAddress, bytes4[] memory _functionSelectors) internal {\\n require(_functionSelectors.length > 0, \\\"LibDiamondCut: No selectors in facet to cut\\\");\\n DiamondStorage storage ds = diamondStorage();\\n // if function does not exist then do nothing and return\\n require(_facetAddress == address(0), \\\"LibDiamondCut: Remove facet address must be address(0)\\\");\\n for (uint256 selectorIndex; selectorIndex < _functionSelectors.length; selectorIndex++) {\\n bytes4 selector = _functionSelectors[selectorIndex];\\n address oldFacetAddress = ds.selectorToFacetAndPosition[selector].facetAddress;\\n removeFunction(oldFacetAddress, selector);\\n }\\n }\\n\\n function removeFunction(address _facetAddress, bytes4 _selector) internal {\\n DiamondStorage storage ds = diamondStorage();\\n require(_facetAddress != address(0), \\\"LibDiamondCut: Can't remove function that doesn't exist\\\");\\n // an immutable function is a function defined directly in a diamond\\n require(_facetAddress != address(this), \\\"LibDiamondCut: Can't remove immutable function\\\");\\n // replace selector with last selector, then delete last selector\\n uint256 selectorPosition = ds.selectorToFacetAndPosition[_selector].functionSelectorPosition;\\n uint256 lastSelectorPosition = ds.facetFunctionSelectors[_facetAddress].functionSelectors.length - 1;\\n // if not the same then replace _selector with lastSelector\\n if (selectorPosition != lastSelectorPosition) {\\n bytes4 lastSelector = ds.facetFunctionSelectors[_facetAddress].functionSelectors[lastSelectorPosition];\\n ds.facetFunctionSelectors[_facetAddress].functionSelectors[selectorPosition] = lastSelector;\\n ds.selectorToFacetAndPosition[lastSelector].functionSelectorPosition = uint16(selectorPosition);\\n }\\n // delete the last selector\\n ds.facetFunctionSelectors[_facetAddress].functionSelectors.pop();\\n delete ds.selectorToFacetAndPosition[_selector];\\n\\n // if no more selectors for facet address then delete the facet address\\n if (lastSelectorPosition == 0) {\\n // replace facet address with last facet address and delete last facet address\\n uint256 lastFacetAddressPosition = ds.facetAddresses.length - 1;\\n uint256 facetAddressPosition = ds.facetFunctionSelectors[_facetAddress].facetAddressPosition;\\n if (facetAddressPosition != lastFacetAddressPosition) {\\n address lastFacetAddress = ds.facetAddresses[lastFacetAddressPosition];\\n ds.facetAddresses[facetAddressPosition] = lastFacetAddress;\\n ds.facetFunctionSelectors[lastFacetAddress].facetAddressPosition = uint16(facetAddressPosition);\\n }\\n ds.facetAddresses.pop();\\n delete ds.facetFunctionSelectors[_facetAddress].facetAddressPosition;\\n }\\n }\\n\\n function initializeDiamondCut(address _init, bytes memory _calldata) internal {\\n if (_init == address(0)) {\\n require(_calldata.length == 0, \\\"LibDiamondCut: _init is address(0) but_calldata is not empty\\\");\\n } else {\\n require(_calldata.length > 0, \\\"LibDiamondCut: _calldata is empty but _init is not address(0)\\\");\\n if (_init != address(this)) {\\n enforceHasContractCode(_init, \\\"LibDiamondCut: _init address has no code\\\");\\n }\\n (bool success, bytes memory error) = _init.delegatecall(_calldata);\\n if (!success) {\\n if (error.length > 0) {\\n // bubble up the error\\n revert(string(error));\\n } else {\\n revert(\\\"LibDiamondCut: _init function reverted\\\");\\n }\\n }\\n }\\n }\\n\\n function enforceHasContractCode(address _contract, string memory _errorMessage) internal view {\\n uint256 contractSize;\\n assembly {\\n contractSize := extcodesize(_contract)\\n }\\n require(contractSize > 0, _errorMessage);\\n }\\n}\\n\"\n },\n \"solc_0.7/diamond/interfaces/IDiamondLoupe.sol\": {\n \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity ^0.7.6;\\npragma experimental ABIEncoderV2;\\n\\n/******************************************************************************\\\\\\n* Author: Nick Mudge (https://twitter.com/mudgen)\\n* EIP-2535 Diamond Standard: https://eips.ethereum.org/EIPS/eip-2535\\n/******************************************************************************/\\n\\n// A loupe is a small magnifying glass used to look at diamonds.\\n// These functions look at diamonds\\ninterface IDiamondLoupe {\\n /// These functions are expected to be called frequently\\n /// by tools.\\n\\n struct Facet {\\n address facetAddress;\\n bytes4[] functionSelectors;\\n }\\n\\n /// @notice Gets all facet addresses and their four byte function selectors.\\n /// @return facets_ Facet\\n function facets() external view returns (Facet[] memory facets_);\\n\\n /// @notice Gets all the function selectors supported by a specific facet.\\n /// @param _facet The facet address.\\n /// @return facetFunctionSelectors_\\n function facetFunctionSelectors(address _facet) external view returns (bytes4[] memory facetFunctionSelectors_);\\n\\n /// @notice Get all the facet addresses used by a diamond.\\n /// @return facetAddresses_\\n function facetAddresses() external view returns (address[] memory facetAddresses_);\\n\\n /// @notice Gets the facet that supports the given selector.\\n /// @dev If facet is not found return address(0).\\n /// @param _functionSelector The function selector.\\n /// @return facetAddress_ The facet address.\\n function facetAddress(bytes4 _functionSelector) external view returns (address facetAddress_);\\n}\\n\"\n },\n \"solc_0.7/diamond/interfaces/IERC173.sol\": {\n \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity ^0.7.6;\\n\\n/// @title ERC-173 Contract Ownership Standard\\n/// Note: the ERC-165 identifier for this interface is 0x7f5828d0\\n/* is ERC165 */\\ninterface IERC173 {\\n /// @dev This emits when ownership of a contract changes.\\n event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);\\n\\n /// @notice Get the address of the owner\\n /// @return owner_ The address of the owner.\\n function owner() external view returns (address owner_);\\n\\n /// @notice Set the address of the new owner of the contract\\n /// @dev Set _newOwner to address(0) to renounce any ownership.\\n /// @param _newOwner The address of the new owner of the contract\\n function transferOwnership(address _newOwner) external;\\n}\\n\"\n },\n \"solc_0.7/diamond/interfaces/IERC165.sol\": {\n \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity ^0.7.6;\\npragma experimental ABIEncoderV2;\\n\\ninterface IERC165 {\\n /// @notice Query if a contract implements an interface\\n /// @param interfaceId The interface identifier, as specified in ERC-165\\n /// @dev Interface identification is specified in ERC-165. This function\\n /// uses less than 30,000 gas.\\n /// @return `true` if the contract implements `interfaceID` and\\n /// `interfaceID` is not 0xffffffff, `false` otherwise\\n function supportsInterface(bytes4 interfaceId) external view returns (bool);\\n}\\n\"\n }\n },\n \"settings\": {\n \"optimizer\": {\n \"enabled\": true,\n \"runs\": 999999\n },\n \"outputSelection\": {\n \"*\": {\n \"*\": [\n \"abi\",\n \"evm.bytecode\",\n \"evm.deployedBytecode\",\n \"evm.methodIdentifiers\",\n \"metadata\",\n \"devdoc\",\n \"userdoc\",\n \"storageLayout\",\n \"evm.gasEstimates\"\n ],\n \"\": [\n \"ast\"\n ]\n }\n },\n \"metadata\": {\n \"useLiteralContent\": true\n }\n }\n}", - "solcInputHash": "1d060b65b8264d57d416f20cb1fe798a" + "solcInput": "{\n \"language\": \"Solidity\",\n \"sources\": {\n \"solc_0.8/diamond/Diamantaire.sol\": {\n \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.0;\\npragma experimental ABIEncoderV2;\\n\\nimport \\\"./interfaces/IDiamondCut.sol\\\";\\nimport \\\"./Diamond.sol\\\";\\nimport \\\"./facets/DiamondCutFacet.sol\\\";\\nimport \\\"./facets/DiamondLoupeFacet.sol\\\";\\nimport \\\"./facets/OwnershipFacet.sol\\\";\\n\\ncontract Diamantaire {\\n event DiamondCreated(Diamond diamond);\\n\\n IDiamondCut.FacetCut[] internal _builtinDiamondCut;\\n\\n constructor() {\\n bytes4[] memory functionSelectors;\\n\\n // -------------------------------------------------------------------------\\n // adding diamondCut function\\n // -------------------------------------------------------------------------\\n DiamondCutFacet diamondCutFacet = new DiamondCutFacet();\\n\\n functionSelectors = new bytes4[](1);\\n functionSelectors[0] = DiamondCutFacet.diamondCut.selector;\\n _builtinDiamondCut.push(IDiamondCut.FacetCut({\\n facetAddress:address(diamondCutFacet),\\n action: IDiamondCut.FacetCutAction.Add,\\n functionSelectors: functionSelectors\\n }));\\n\\n\\n // -------------------------------------------------------------------------\\n // adding diamond loupe functions\\n // -------------------------------------------------------------------------\\n DiamondLoupeFacet diamondLoupeFacet = new DiamondLoupeFacet();\\n\\n functionSelectors = new bytes4[](5);\\n functionSelectors[0] = DiamondLoupeFacet.facetFunctionSelectors.selector;\\n functionSelectors[1] = DiamondLoupeFacet.facets.selector;\\n functionSelectors[2] = DiamondLoupeFacet.facetAddress.selector;\\n functionSelectors[3] = DiamondLoupeFacet.facetAddresses.selector;\\n functionSelectors[4] = DiamondLoupeFacet.supportsInterface.selector;\\n _builtinDiamondCut.push(IDiamondCut.FacetCut({\\n facetAddress:address(diamondLoupeFacet),\\n action: IDiamondCut.FacetCutAction.Add,\\n functionSelectors: functionSelectors\\n }));\\n\\n\\n // -------------------------------------------------------------------------\\n // adding ownership functions\\n // -------------------------------------------------------------------------\\n OwnershipFacet ownershipFacet = new OwnershipFacet();\\n\\n functionSelectors = new bytes4[](2);\\n functionSelectors[0] = OwnershipFacet.transferOwnership.selector;\\n functionSelectors[1] = OwnershipFacet.owner.selector;\\n _builtinDiamondCut.push(IDiamondCut.FacetCut({\\n facetAddress:address(ownershipFacet),\\n action: IDiamondCut.FacetCutAction.Add,\\n functionSelectors: functionSelectors\\n }));\\n }\\n\\n function createDiamond(\\n address owner,\\n IDiamondCut.FacetCut[] calldata _diamondCut,\\n bytes calldata data,\\n bytes32 salt\\n ) external payable returns (Diamond diamond) {\\n if (salt != 0x0000000000000000000000000000000000000000000000000000000000000000) {\\n salt = keccak256(abi.encodePacked(salt, owner));\\n diamond = new Diamond{value: msg.value, salt: salt}(\\n _builtinDiamondCut,\\n Diamond.DiamondArgs({owner:address(this)})\\n );\\n } else {\\n diamond = new Diamond{value: msg.value}(_builtinDiamondCut, Diamond.DiamondArgs({owner:address(this)}));\\n }\\n emit DiamondCreated(diamond);\\n\\n IDiamondCut(address(diamond)).diamondCut(_diamondCut, data.length > 0 ? address(diamond) : address(0), data);\\n IERC173(address(diamond)).transferOwnership(owner);\\n }\\n}\\n\"\n },\n \"solc_0.8/diamond/interfaces/IDiamondCut.sol\": {\n \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.0;\\n\\n/******************************************************************************\\\\\\n* Author: Nick Mudge (https://twitter.com/mudgen)\\n* EIP-2535 Diamonds: https://eips.ethereum.org/EIPS/eip-2535\\n/******************************************************************************/\\n\\ninterface IDiamondCut {\\n enum FacetCutAction {Add, Replace, Remove}\\n // Add=0, Replace=1, Remove=2\\n\\n struct FacetCut {\\n address facetAddress;\\n FacetCutAction action;\\n bytes4[] functionSelectors;\\n }\\n\\n /// @notice Add/replace/remove any number of functions and optionally execute\\n /// a function with delegatecall\\n /// @param _diamondCut Contains the facet addresses and function selectors\\n /// @param _init The address of the contract or facet to execute _calldata\\n /// @param _calldata A function call, including function selector and arguments\\n /// _calldata is executed with delegatecall on _init\\n function diamondCut(\\n FacetCut[] calldata _diamondCut,\\n address _init,\\n bytes calldata _calldata\\n ) external;\\n\\n event DiamondCut(FacetCut[] _diamondCut, address _init, bytes _calldata);\\n}\\n\"\n },\n \"solc_0.8/diamond/Diamond.sol\": {\n \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.0;\\n\\n/******************************************************************************\\\\\\n* Author: Nick Mudge (https://twitter.com/mudgen)\\n* EIP-2535 Diamonds: https://eips.ethereum.org/EIPS/eip-2535\\n*\\n* Implementation of a diamond.\\n/******************************************************************************/\\n\\nimport { LibDiamond } from \\\"./libraries/LibDiamond.sol\\\";\\nimport { IDiamondCut } from \\\"./interfaces/IDiamondCut.sol\\\";\\nimport { IDiamondLoupe } from \\\"./interfaces/IDiamondLoupe.sol\\\";\\nimport { IERC173 } from \\\"./interfaces/IERC173.sol\\\";\\nimport { IERC165 } from \\\"./interfaces/IERC165.sol\\\";\\n\\ncontract Diamond {\\n // more arguments are added to this struct\\n // this avoids stack too deep errors\\n struct DiamondArgs {\\n address owner;\\n }\\n\\n constructor(IDiamondCut.FacetCut[] memory _diamondCut, DiamondArgs memory _args) payable {\\n LibDiamond.diamondCut(_diamondCut, address(0), new bytes(0));\\n LibDiamond.setContractOwner(_args.owner);\\n\\n LibDiamond.DiamondStorage storage ds = LibDiamond.diamondStorage();\\n\\n // adding ERC165 data\\n ds.supportedInterfaces[type(IERC165).interfaceId] = true;\\n ds.supportedInterfaces[type(IDiamondCut).interfaceId] = true;\\n ds.supportedInterfaces[type(IDiamondLoupe).interfaceId] = true;\\n ds.supportedInterfaces[type(IERC173).interfaceId] = true;\\n }\\n\\n// constructor(address _contractOwner, address _diamondCutFacet) payable {\\n// LibDiamond.setContractOwner(_contractOwner);\\n//\\n// // Add the diamondCut external function from the diamondCutFacet\\n// IDiamondCut.FacetCut[] memory cut = new IDiamondCut.FacetCut[](1);\\n// bytes4[] memory functionSelectors = new bytes4[](1);\\n// functionSelectors[0] = IDiamondCut.diamondCut.selector;\\n// cut[0] = IDiamondCut.FacetCut({\\n// facetAddress: _diamondCutFacet,\\n// action: IDiamondCut.FacetCutAction.Add,\\n// functionSelectors: functionSelectors\\n// });\\n// LibDiamond.diamondCut(cut, address(0), \\\"\\\");\\n// }\\n\\n // Find facet for function that is called and execute the\\n // function if a facet is found and return any value.\\n fallback() external payable {\\n LibDiamond.DiamondStorage storage ds;\\n bytes32 position = LibDiamond.DIAMOND_STORAGE_POSITION;\\n // get diamond storage\\n assembly {\\n ds.slot := position\\n }\\n // get facet from function selector\\n address facet = ds.selectorToFacetAndPosition[msg.sig].facetAddress;\\n require(facet != address(0), \\\"Diamond: Function does not exist\\\");\\n // Execute external function from facet using delegatecall and return any value.\\n assembly {\\n // copy function selector and any arguments\\n calldatacopy(0, 0, calldatasize())\\n // execute function call using the facet\\n let result := delegatecall(gas(), facet, 0, calldatasize(), 0, 0)\\n // get any return value\\n returndatacopy(0, 0, returndatasize())\\n // return any return value or error back to the caller\\n switch result\\n case 0 {\\n revert(0, returndatasize())\\n }\\n default {\\n return(0, returndatasize())\\n }\\n }\\n }\\n\\n receive() external payable {}\\n}\\n\"\n },\n \"solc_0.8/diamond/facets/DiamondCutFacet.sol\": {\n \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.0;\\n\\n/******************************************************************************\\\\\\n* Author: Nick Mudge (https://twitter.com/mudgen)\\n* EIP-2535 Diamonds: https://eips.ethereum.org/EIPS/eip-2535\\n/******************************************************************************/\\n\\nimport { IDiamondCut } from \\\"../interfaces/IDiamondCut.sol\\\";\\nimport { LibDiamond } from \\\"../libraries/LibDiamond.sol\\\";\\n\\ncontract DiamondCutFacet is IDiamondCut {\\n /// @notice Add/replace/remove any number of functions and optionally execute\\n /// a function with delegatecall\\n /// @param _diamondCut Contains the facet addresses and function selectors\\n /// @param _init The address of the contract or facet to execute _calldata\\n /// @param _calldata A function call, including function selector and arguments\\n /// _calldata is executed with delegatecall on _init\\n function diamondCut(\\n FacetCut[] calldata _diamondCut,\\n address _init,\\n bytes calldata _calldata\\n ) external override {\\n LibDiamond.enforceIsContractOwner();\\n LibDiamond.diamondCut(_diamondCut, _init, _calldata);\\n }\\n}\\n\"\n },\n \"solc_0.8/diamond/facets/DiamondLoupeFacet.sol\": {\n \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.0;\\n/******************************************************************************\\\\\\n* Author: Nick Mudge (https://twitter.com/mudgen)\\n* EIP-2535 Diamonds: https://eips.ethereum.org/EIPS/eip-2535\\n/******************************************************************************/\\n\\nimport { LibDiamond } from \\\"../libraries/LibDiamond.sol\\\";\\nimport { IDiamondLoupe } from \\\"../interfaces/IDiamondLoupe.sol\\\";\\nimport { IERC165 } from \\\"../interfaces/IERC165.sol\\\";\\n\\ncontract DiamondLoupeFacet is IDiamondLoupe, IERC165 {\\n // Diamond Loupe Functions\\n ////////////////////////////////////////////////////////////////////\\n /// These functions are expected to be called frequently by tools.\\n //\\n // struct Facet {\\n // address facetAddress;\\n // bytes4[] functionSelectors;\\n // }\\n\\n /// @notice Gets all facets and their selectors.\\n /// @return facets_ Facet\\n function facets() external override view returns (Facet[] memory facets_) {\\n LibDiamond.DiamondStorage storage ds = LibDiamond.diamondStorage();\\n uint256 numFacets = ds.facetAddresses.length;\\n facets_ = new Facet[](numFacets);\\n for (uint256 i; i < numFacets; i++) {\\n address facetAddress_ = ds.facetAddresses[i];\\n facets_[i].facetAddress = facetAddress_;\\n facets_[i].functionSelectors = ds.facetFunctionSelectors[facetAddress_].functionSelectors;\\n }\\n }\\n\\n /// @notice Gets all the function selectors provided by a facet.\\n /// @param _facet The facet address.\\n /// @return facetFunctionSelectors_\\n function facetFunctionSelectors(address _facet) external override view returns (bytes4[] memory facetFunctionSelectors_) {\\n LibDiamond.DiamondStorage storage ds = LibDiamond.diamondStorage();\\n facetFunctionSelectors_ = ds.facetFunctionSelectors[_facet].functionSelectors;\\n }\\n\\n /// @notice Get all the facet addresses used by a diamond.\\n /// @return facetAddresses_\\n function facetAddresses() external override view returns (address[] memory facetAddresses_) {\\n LibDiamond.DiamondStorage storage ds = LibDiamond.diamondStorage();\\n facetAddresses_ = ds.facetAddresses;\\n }\\n\\n /// @notice Gets the facet that supports the given selector.\\n /// @dev If facet is not found return address(0).\\n /// @param _functionSelector The function selector.\\n /// @return facetAddress_ The facet address.\\n function facetAddress(bytes4 _functionSelector) external override view returns (address facetAddress_) {\\n LibDiamond.DiamondStorage storage ds = LibDiamond.diamondStorage();\\n facetAddress_ = ds.selectorToFacetAndPosition[_functionSelector].facetAddress;\\n }\\n\\n // This implements ERC-165.\\n function supportsInterface(bytes4 _interfaceId) external override view returns (bool) {\\n LibDiamond.DiamondStorage storage ds = LibDiamond.diamondStorage();\\n return ds.supportedInterfaces[_interfaceId];\\n }\\n}\\n\"\n },\n \"solc_0.8/diamond/facets/OwnershipFacet.sol\": {\n \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.0;\\n\\nimport { LibDiamond } from \\\"../libraries/LibDiamond.sol\\\";\\nimport { IERC173 } from \\\"../interfaces/IERC173.sol\\\";\\n\\ncontract OwnershipFacet is IERC173 {\\n function transferOwnership(address _newOwner) external override {\\n LibDiamond.enforceIsContractOwner();\\n LibDiamond.setContractOwner(_newOwner);\\n }\\n\\n function owner() external override view returns (address owner_) {\\n owner_ = LibDiamond.contractOwner();\\n }\\n}\\n\"\n },\n \"solc_0.8/diamond/libraries/LibDiamond.sol\": {\n \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.0;\\n\\n/******************************************************************************\\\\\\n* Author: Nick Mudge (https://twitter.com/mudgen)\\n* EIP-2535 Diamonds: https://eips.ethereum.org/EIPS/eip-2535\\n/******************************************************************************/\\nimport { IDiamondCut } from \\\"../interfaces/IDiamondCut.sol\\\";\\n\\nlibrary LibDiamond {\\n bytes32 constant DIAMOND_STORAGE_POSITION = keccak256(\\\"diamond.standard.diamond.storage\\\");\\n\\n struct FacetAddressAndPosition {\\n address facetAddress;\\n uint96 functionSelectorPosition; // position in facetFunctionSelectors.functionSelectors array\\n }\\n\\n struct FacetFunctionSelectors {\\n bytes4[] functionSelectors;\\n uint256 facetAddressPosition; // position of facetAddress in facetAddresses array\\n }\\n\\n struct DiamondStorage {\\n // maps function selector to the facet address and\\n // the position of the selector in the facetFunctionSelectors.selectors array\\n mapping(bytes4 => FacetAddressAndPosition) selectorToFacetAndPosition;\\n // maps facet addresses to function selectors\\n mapping(address => FacetFunctionSelectors) facetFunctionSelectors;\\n // facet addresses\\n address[] facetAddresses;\\n // Used to query if a contract implements an interface.\\n // Used to implement ERC-165.\\n mapping(bytes4 => bool) supportedInterfaces;\\n // owner of the contract\\n address contractOwner;\\n }\\n\\n function diamondStorage() internal pure returns (DiamondStorage storage ds) {\\n bytes32 position = DIAMOND_STORAGE_POSITION;\\n assembly {\\n ds.slot := position\\n }\\n }\\n\\n event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);\\n\\n function setContractOwner(address _newOwner) internal {\\n DiamondStorage storage ds = diamondStorage();\\n address previousOwner = ds.contractOwner;\\n ds.contractOwner = _newOwner;\\n emit OwnershipTransferred(previousOwner, _newOwner);\\n }\\n\\n function contractOwner() internal view returns (address contractOwner_) {\\n contractOwner_ = diamondStorage().contractOwner;\\n }\\n\\n function enforceIsContractOwner() internal view {\\n require(msg.sender == diamondStorage().contractOwner, \\\"LibDiamond: Must be contract owner\\\");\\n }\\n\\n event DiamondCut(IDiamondCut.FacetCut[] _diamondCut, address _init, bytes _calldata);\\n\\n // Internal function version of diamondCut\\n function diamondCut(\\n IDiamondCut.FacetCut[] memory _diamondCut,\\n address _init,\\n bytes memory _calldata\\n ) internal {\\n for (uint256 facetIndex; facetIndex < _diamondCut.length; facetIndex++) {\\n IDiamondCut.FacetCutAction action = _diamondCut[facetIndex].action;\\n if (action == IDiamondCut.FacetCutAction.Add) {\\n addFunctions(_diamondCut[facetIndex].facetAddress, _diamondCut[facetIndex].functionSelectors);\\n } else if (action == IDiamondCut.FacetCutAction.Replace) {\\n replaceFunctions(_diamondCut[facetIndex].facetAddress, _diamondCut[facetIndex].functionSelectors);\\n } else if (action == IDiamondCut.FacetCutAction.Remove) {\\n removeFunctions(_diamondCut[facetIndex].facetAddress, _diamondCut[facetIndex].functionSelectors);\\n } else {\\n revert(\\\"LibDiamondCut: Incorrect FacetCutAction\\\");\\n }\\n }\\n emit DiamondCut(_diamondCut, _init, _calldata);\\n initializeDiamondCut(_init, _calldata);\\n }\\n\\n function addFunctions(address _facetAddress, bytes4[] memory _functionSelectors) internal {\\n require(_functionSelectors.length > 0, \\\"LibDiamondCut: No selectors in facet to cut\\\");\\n DiamondStorage storage ds = diamondStorage(); \\n require(_facetAddress != address(0), \\\"LibDiamondCut: Add facet can't be address(0)\\\");\\n uint96 selectorPosition = uint96(ds.facetFunctionSelectors[_facetAddress].functionSelectors.length);\\n // add new facet address if it does not exist\\n if (selectorPosition == 0) {\\n addFacet(ds, _facetAddress); \\n }\\n for (uint256 selectorIndex; selectorIndex < _functionSelectors.length; selectorIndex++) {\\n bytes4 selector = _functionSelectors[selectorIndex];\\n address oldFacetAddress = ds.selectorToFacetAndPosition[selector].facetAddress;\\n require(oldFacetAddress == address(0), \\\"LibDiamondCut: Can't add function that already exists\\\");\\n addFunction(ds, selector, selectorPosition, _facetAddress);\\n selectorPosition++;\\n }\\n }\\n\\n function replaceFunctions(address _facetAddress, bytes4[] memory _functionSelectors) internal {\\n require(_functionSelectors.length > 0, \\\"LibDiamondCut: No selectors in facet to cut\\\");\\n DiamondStorage storage ds = diamondStorage();\\n require(_facetAddress != address(0), \\\"LibDiamondCut: Add facet can't be address(0)\\\");\\n uint96 selectorPosition = uint96(ds.facetFunctionSelectors[_facetAddress].functionSelectors.length);\\n // add new facet address if it does not exist\\n if (selectorPosition == 0) {\\n addFacet(ds, _facetAddress);\\n }\\n for (uint256 selectorIndex; selectorIndex < _functionSelectors.length; selectorIndex++) {\\n bytes4 selector = _functionSelectors[selectorIndex];\\n address oldFacetAddress = ds.selectorToFacetAndPosition[selector].facetAddress;\\n require(oldFacetAddress != _facetAddress, \\\"LibDiamondCut: Can't replace function with same function\\\");\\n removeFunction(ds, oldFacetAddress, selector);\\n addFunction(ds, selector, selectorPosition, _facetAddress);\\n selectorPosition++;\\n }\\n }\\n\\n function removeFunctions(address _facetAddress, bytes4[] memory _functionSelectors) internal {\\n require(_functionSelectors.length > 0, \\\"LibDiamondCut: No selectors in facet to cut\\\");\\n DiamondStorage storage ds = diamondStorage();\\n // if function does not exist then do nothing and return\\n require(_facetAddress == address(0), \\\"LibDiamondCut: Remove facet address must be address(0)\\\");\\n for (uint256 selectorIndex; selectorIndex < _functionSelectors.length; selectorIndex++) {\\n bytes4 selector = _functionSelectors[selectorIndex];\\n address oldFacetAddress = ds.selectorToFacetAndPosition[selector].facetAddress;\\n removeFunction(ds, oldFacetAddress, selector);\\n }\\n }\\n\\n function addFacet(DiamondStorage storage ds, address _facetAddress) internal {\\n enforceHasContractCode(_facetAddress, \\\"LibDiamondCut: New facet has no code\\\");\\n ds.facetFunctionSelectors[_facetAddress].facetAddressPosition = ds.facetAddresses.length;\\n ds.facetAddresses.push(_facetAddress);\\n } \\n\\n\\n function addFunction(DiamondStorage storage ds, bytes4 _selector, uint96 _selectorPosition, address _facetAddress) internal {\\n ds.selectorToFacetAndPosition[_selector].functionSelectorPosition = _selectorPosition;\\n ds.facetFunctionSelectors[_facetAddress].functionSelectors.push(_selector);\\n ds.selectorToFacetAndPosition[_selector].facetAddress = _facetAddress;\\n }\\n\\n function removeFunction(DiamondStorage storage ds, address _facetAddress, bytes4 _selector) internal { \\n require(_facetAddress != address(0), \\\"LibDiamondCut: Can't remove function that doesn't exist\\\");\\n // an immutable function is a function defined directly in a diamond\\n require(_facetAddress != address(this), \\\"LibDiamondCut: Can't remove immutable function\\\");\\n // replace selector with last selector, then delete last selector\\n uint256 selectorPosition = ds.selectorToFacetAndPosition[_selector].functionSelectorPosition;\\n uint256 lastSelectorPosition = ds.facetFunctionSelectors[_facetAddress].functionSelectors.length - 1;\\n // if not the same then replace _selector with lastSelector\\n if (selectorPosition != lastSelectorPosition) {\\n bytes4 lastSelector = ds.facetFunctionSelectors[_facetAddress].functionSelectors[lastSelectorPosition];\\n ds.facetFunctionSelectors[_facetAddress].functionSelectors[selectorPosition] = lastSelector;\\n ds.selectorToFacetAndPosition[lastSelector].functionSelectorPosition = uint96(selectorPosition);\\n }\\n // delete the last selector\\n ds.facetFunctionSelectors[_facetAddress].functionSelectors.pop();\\n delete ds.selectorToFacetAndPosition[_selector];\\n\\n // if no more selectors for facet address then delete the facet address\\n if (lastSelectorPosition == 0) {\\n // replace facet address with last facet address and delete last facet address\\n uint256 lastFacetAddressPosition = ds.facetAddresses.length - 1;\\n uint256 facetAddressPosition = ds.facetFunctionSelectors[_facetAddress].facetAddressPosition;\\n if (facetAddressPosition != lastFacetAddressPosition) {\\n address lastFacetAddress = ds.facetAddresses[lastFacetAddressPosition];\\n ds.facetAddresses[facetAddressPosition] = lastFacetAddress;\\n ds.facetFunctionSelectors[lastFacetAddress].facetAddressPosition = facetAddressPosition;\\n }\\n ds.facetAddresses.pop();\\n delete ds.facetFunctionSelectors[_facetAddress].facetAddressPosition;\\n }\\n }\\n\\n function initializeDiamondCut(address _init, bytes memory _calldata) internal {\\n if (_init == address(0)) {\\n require(_calldata.length == 0, \\\"LibDiamondCut: _init is address(0) but_calldata is not empty\\\");\\n } else {\\n require(_calldata.length > 0, \\\"LibDiamondCut: _calldata is empty but _init is not address(0)\\\");\\n if (_init != address(this)) {\\n enforceHasContractCode(_init, \\\"LibDiamondCut: _init address has no code\\\");\\n }\\n (bool success, bytes memory error) = _init.delegatecall(_calldata);\\n if (!success) {\\n if (error.length > 0) {\\n // bubble up the error\\n revert(string(error));\\n } else {\\n revert(\\\"LibDiamondCut: _init function reverted\\\");\\n }\\n }\\n }\\n }\\n\\n function enforceHasContractCode(address _contract, string memory _errorMessage) internal view {\\n uint256 contractSize;\\n assembly {\\n contractSize := extcodesize(_contract)\\n }\\n require(contractSize > 0, _errorMessage);\\n }\\n}\\n\"\n },\n \"solc_0.8/diamond/interfaces/IDiamondLoupe.sol\": {\n \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.0;\\n\\n/******************************************************************************\\\\\\n* Author: Nick Mudge (https://twitter.com/mudgen)\\n* EIP-2535 Diamonds: https://eips.ethereum.org/EIPS/eip-2535\\n/******************************************************************************/\\n\\n// A loupe is a small magnifying glass used to look at diamonds.\\n// These functions look at diamonds\\ninterface IDiamondLoupe {\\n /// These functions are expected to be called frequently\\n /// by tools.\\n\\n struct Facet {\\n address facetAddress;\\n bytes4[] functionSelectors;\\n }\\n\\n /// @notice Gets all facet addresses and their four byte function selectors.\\n /// @return facets_ Facet\\n function facets() external view returns (Facet[] memory facets_);\\n\\n /// @notice Gets all the function selectors supported by a specific facet.\\n /// @param _facet The facet address.\\n /// @return facetFunctionSelectors_\\n function facetFunctionSelectors(address _facet) external view returns (bytes4[] memory facetFunctionSelectors_);\\n\\n /// @notice Get all the facet addresses used by a diamond.\\n /// @return facetAddresses_\\n function facetAddresses() external view returns (address[] memory facetAddresses_);\\n\\n /// @notice Gets the facet that supports the given selector.\\n /// @dev If facet is not found return address(0).\\n /// @param _functionSelector The function selector.\\n /// @return facetAddress_ The facet address.\\n function facetAddress(bytes4 _functionSelector) external view returns (address facetAddress_);\\n}\\n\"\n },\n \"solc_0.8/diamond/interfaces/IERC173.sol\": {\n \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.0;\\n\\n/// @title ERC-173 Contract Ownership Standard\\n/// Note: the ERC-165 identifier for this interface is 0x7f5828d0\\n/* is ERC165 */\\ninterface IERC173 {\\n /// @dev This emits when ownership of a contract changes.\\n event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);\\n\\n /// @notice Get the address of the owner\\n /// @return owner_ The address of the owner.\\n function owner() external view returns (address owner_);\\n\\n /// @notice Set the address of the new owner of the contract\\n /// @dev Set _newOwner to address(0) to renounce any ownership.\\n /// @param _newOwner The address of the new owner of the contract\\n function transferOwnership(address _newOwner) external;\\n}\\n\"\n },\n \"solc_0.8/diamond/interfaces/IERC165.sol\": {\n \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.0;\\n\\ninterface IERC165 {\\n /// @notice Query if a contract implements an interface\\n /// @param interfaceId The interface identifier, as specified in ERC-165\\n /// @dev Interface identification is specified in ERC-165. This function\\n /// uses less than 30,000 gas.\\n /// @return `true` if the contract implements `interfaceID` and\\n /// `interfaceID` is not 0xffffffff, `false` otherwise\\n function supportsInterface(bytes4 interfaceId) external view returns (bool);\\n}\\n\"\n },\n \"solc_0.8/diamond/upgradeInitializers/DiamondInit.sol\": {\n \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.0;\\n\\n/******************************************************************************\\\\\\n* Author: Nick Mudge (https://twitter.com/mudgen)\\n* EIP-2535 Diamonds: https://eips.ethereum.org/EIPS/eip-2535\\n*\\n* Implementation of a diamond.\\n/******************************************************************************/\\n\\nimport {LibDiamond} from \\\"../libraries/LibDiamond.sol\\\";\\nimport { IDiamondLoupe } from \\\"../interfaces/IDiamondLoupe.sol\\\";\\nimport { IDiamondCut } from \\\"../interfaces/IDiamondCut.sol\\\";\\nimport { IERC173 } from \\\"../interfaces/IERC173.sol\\\";\\nimport { IERC165 } from \\\"../interfaces/IERC165.sol\\\";\\n\\n// It is exapected that this contract is customized if you want to deploy your diamond\\n// with data from a deployment script. Use the init function to initialize state variables\\n// of your diamond. Add parameters to the init funciton if you need to.\\n\\ncontract DiamondInit { \\n\\n // You can add parameters to this function in order to pass in \\n // data to set your own state variables\\n function init() external {\\n // adding ERC165 data\\n LibDiamond.DiamondStorage storage ds = LibDiamond.diamondStorage();\\n ds.supportedInterfaces[type(IERC165).interfaceId] = true;\\n ds.supportedInterfaces[type(IDiamondCut).interfaceId] = true;\\n ds.supportedInterfaces[type(IDiamondLoupe).interfaceId] = true;\\n ds.supportedInterfaces[type(IERC173).interfaceId] = true;\\n\\n // add your own state variables \\n // EIP-2535 specifies that the `diamondCut` function takes two optional \\n // arguments: address _init and bytes calldata _calldata\\n // These arguments are used to execute an arbitrary function using delegatecall\\n // in order to set state variables in the diamond during deployment or an upgrade\\n // More info here: https://eips.ethereum.org/EIPS/eip-2535#diamond-interface \\n }\\n\\n\\n}\"\n }\n },\n \"settings\": {\n \"optimizer\": {\n \"enabled\": true,\n \"runs\": 999999\n },\n \"outputSelection\": {\n \"*\": {\n \"*\": [\n \"abi\",\n \"evm.bytecode\",\n \"evm.deployedBytecode\",\n \"evm.methodIdentifiers\",\n \"metadata\",\n \"devdoc\",\n \"userdoc\",\n \"storageLayout\",\n \"evm.gasEstimates\"\n ],\n \"\": [\n \"ast\"\n ]\n }\n },\n \"metadata\": {\n \"useLiteralContent\": true\n }\n }\n}", + "solcInputHash": "91f18d120de6fe2bcaa5a3bff0ad9fe7" } \ No newline at end of file diff --git a/extendedArtifacts/IERC165.json b/extendedArtifacts/IERC165.json index 77a5a249..f48a8292 100644 --- a/extendedArtifacts/IERC165.json +++ b/extendedArtifacts/IERC165.json @@ -1,6 +1,6 @@ { "contractName": "IERC165", - "sourceName": "solc_0.7/diamond/interfaces/IERC165.sol", + "sourceName": "solc_0.8/diamond/interfaces/IERC165.sol", "abi": [ { "inputs": [ @@ -43,6 +43,7 @@ }, "evm": { "bytecode": { + "functionDebugData": {}, "generatedSources": [], "linkReferences": {}, "object": "", @@ -50,6 +51,7 @@ "sourceMap": "" }, "deployedBytecode": { + "functionDebugData": {}, "generatedSources": [], "immutableReferences": {}, "linkReferences": {}, @@ -62,7 +64,7 @@ "supportsInterface(bytes4)": "01ffc9a7" } }, - "metadata": "{\"compiler\":{\"version\":\"0.7.6+commit.7338295f\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"internalType\":\"bytes4\",\"name\":\"interfaceId\",\"type\":\"bytes4\"}],\"name\":\"supportsInterface\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{\"supportsInterface(bytes4)\":{\"details\":\"Interface identification is specified in ERC-165. This function uses less than 30,000 gas.\",\"params\":{\"interfaceId\":\"The interface identifier, as specified in ERC-165\"},\"returns\":{\"_0\":\"`true` if the contract implements `interfaceID` and `interfaceID` is not 0xffffffff, `false` otherwise\"}}},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{\"supportsInterface(bytes4)\":{\"notice\":\"Query if a contract implements an interface\"}},\"version\":1}},\"settings\":{\"compilationTarget\":{\"solc_0.7/diamond/interfaces/IERC165.sol\":\"IERC165\"},\"evmVersion\":\"istanbul\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\",\"useLiteralContent\":true},\"optimizer\":{\"enabled\":true,\"runs\":999999},\"remappings\":[]},\"sources\":{\"solc_0.7/diamond/interfaces/IERC165.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\npragma solidity ^0.7.6;\\npragma experimental ABIEncoderV2;\\n\\ninterface IERC165 {\\n /// @notice Query if a contract implements an interface\\n /// @param interfaceId The interface identifier, as specified in ERC-165\\n /// @dev Interface identification is specified in ERC-165. This function\\n /// uses less than 30,000 gas.\\n /// @return `true` if the contract implements `interfaceID` and\\n /// `interfaceID` is not 0xffffffff, `false` otherwise\\n function supportsInterface(bytes4 interfaceId) external view returns (bool);\\n}\\n\",\"keccak256\":\"0xe3ccc62939f8e880bdd4d5a34b05ccb9576810b8e999df6d16124e51019a0603\",\"license\":\"MIT\"}},\"version\":1}", + "metadata": "{\"compiler\":{\"version\":\"0.8.9+commit.e5eed63a\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"internalType\":\"bytes4\",\"name\":\"interfaceId\",\"type\":\"bytes4\"}],\"name\":\"supportsInterface\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{\"supportsInterface(bytes4)\":{\"details\":\"Interface identification is specified in ERC-165. This function uses less than 30,000 gas.\",\"params\":{\"interfaceId\":\"The interface identifier, as specified in ERC-165\"},\"returns\":{\"_0\":\"`true` if the contract implements `interfaceID` and `interfaceID` is not 0xffffffff, `false` otherwise\"}}},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{\"supportsInterface(bytes4)\":{\"notice\":\"Query if a contract implements an interface\"}},\"version\":1}},\"settings\":{\"compilationTarget\":{\"solc_0.8/diamond/interfaces/IERC165.sol\":\"IERC165\"},\"evmVersion\":\"london\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\",\"useLiteralContent\":true},\"optimizer\":{\"enabled\":true,\"runs\":999999},\"remappings\":[]},\"sources\":{\"solc_0.8/diamond/interfaces/IERC165.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.0;\\n\\ninterface IERC165 {\\n /// @notice Query if a contract implements an interface\\n /// @param interfaceId The interface identifier, as specified in ERC-165\\n /// @dev Interface identification is specified in ERC-165. This function\\n /// uses less than 30,000 gas.\\n /// @return `true` if the contract implements `interfaceID` and\\n /// `interfaceID` is not 0xffffffff, `false` otherwise\\n function supportsInterface(bytes4 interfaceId) external view returns (bool);\\n}\\n\",\"keccak256\":\"0x7541f7408d0f74162bc4664d5e012427f2ceaab2abadca0353269ef15ee03d8b\",\"license\":\"MIT\"}},\"version\":1}", "storageLayout": { "storage": [], "types": null @@ -76,6 +78,6 @@ }, "version": 1 }, - "solcInput": "{\n \"language\": \"Solidity\",\n \"sources\": {\n \"solc_0.7/diamond/Diamantaire.sol\": {\n \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity ^0.7.1;\\npragma experimental ABIEncoderV2;\\n\\nimport \\\"./interfaces/IDiamondCut.sol\\\";\\nimport \\\"./Diamond.sol\\\";\\nimport \\\"./facets/DiamondCutFacet.sol\\\";\\nimport \\\"./facets/DiamondLoupeFacet.sol\\\";\\nimport \\\"./facets/OwnershipFacet.sol\\\";\\n\\ncontract Diamantaire {\\n event DiamondCreated(Diamond diamond);\\n\\n IDiamondCut.FacetCut[] internal _builtinDiamondCut;\\n\\n constructor() {\\n bytes4[] memory functionSelectors;\\n\\n // -------------------------------------------------------------------------\\n // adding diamondCut function\\n // -------------------------------------------------------------------------\\n DiamondCutFacet diamondCutFacet = new DiamondCutFacet();\\n\\n functionSelectors = new bytes4[](1);\\n functionSelectors[0] = DiamondCutFacet.diamondCut.selector;\\n _builtinDiamondCut.push(IDiamondCut.FacetCut({\\n facetAddress:address(diamondCutFacet),\\n action: IDiamondCut.FacetCutAction.Add,\\n functionSelectors: functionSelectors\\n }));\\n\\n\\n // -------------------------------------------------------------------------\\n // adding diamond loupe functions\\n // -------------------------------------------------------------------------\\n DiamondLoupeFacet diamondLoupeFacet = new DiamondLoupeFacet();\\n\\n functionSelectors = new bytes4[](5);\\n functionSelectors[0] = DiamondLoupeFacet.facetFunctionSelectors.selector;\\n functionSelectors[1] = DiamondLoupeFacet.facets.selector;\\n functionSelectors[2] = DiamondLoupeFacet.facetAddress.selector;\\n functionSelectors[3] = DiamondLoupeFacet.facetAddresses.selector;\\n functionSelectors[4] = DiamondLoupeFacet.supportsInterface.selector;\\n _builtinDiamondCut.push(IDiamondCut.FacetCut({\\n facetAddress:address(diamondLoupeFacet),\\n action: IDiamondCut.FacetCutAction.Add,\\n functionSelectors: functionSelectors\\n }));\\n\\n\\n // -------------------------------------------------------------------------\\n // adding ownership functions\\n // -------------------------------------------------------------------------\\n OwnershipFacet ownershipFacet = new OwnershipFacet();\\n\\n functionSelectors = new bytes4[](2);\\n functionSelectors[0] = OwnershipFacet.transferOwnership.selector;\\n functionSelectors[1] = OwnershipFacet.owner.selector;\\n _builtinDiamondCut.push(IDiamondCut.FacetCut({\\n facetAddress:address(ownershipFacet),\\n action: IDiamondCut.FacetCutAction.Add,\\n functionSelectors: functionSelectors\\n }));\\n }\\n\\n function createDiamond(\\n address owner,\\n IDiamondCut.FacetCut[] calldata _diamondCut,\\n bytes calldata data,\\n bytes32 salt\\n ) external payable returns (Diamond diamond) {\\n if (salt != 0x0000000000000000000000000000000000000000000000000000000000000000) {\\n salt = keccak256(abi.encodePacked(salt, owner));\\n diamond = new Diamond{value: msg.value, salt: salt}(\\n _builtinDiamondCut,\\n Diamond.DiamondArgs({owner:address(this)})\\n );\\n } else {\\n diamond = new Diamond{value: msg.value}(_builtinDiamondCut, Diamond.DiamondArgs({owner:address(this)}));\\n }\\n emit DiamondCreated(diamond);\\n\\n IDiamondCut(address(diamond)).diamondCut(_diamondCut, data.length > 0 ? address(diamond) : address(0), data);\\n IERC173(address(diamond)).transferOwnership(owner);\\n }\\n}\\n\"\n },\n \"solc_0.7/diamond/interfaces/IDiamondCut.sol\": {\n \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity ^0.7.6;\\npragma experimental ABIEncoderV2;\\n\\n/******************************************************************************\\\\\\n* Author: Nick Mudge (https://twitter.com/mudgen)\\n* EIP-2535 Diamond Standard: https://eips.ethereum.org/EIPS/eip-2535\\n/******************************************************************************/\\n\\ninterface IDiamondCut {\\n enum FacetCutAction {Add, Replace, Remove}\\n // Add=0, Replace=1, Remove=2\\n\\n struct FacetCut {\\n address facetAddress;\\n FacetCutAction action;\\n bytes4[] functionSelectors;\\n }\\n\\n /// @notice Add/replace/remove any number of functions and optionally execute\\n /// a function with delegatecall\\n /// @param _diamondCut Contains the facet addresses and function selectors\\n /// @param _init The address of the contract or facet to execute _calldata\\n /// @param _calldata A function call, including function selector and arguments\\n /// _calldata is executed with delegatecall on _init\\n function diamondCut(\\n FacetCut[] calldata _diamondCut,\\n address _init,\\n bytes calldata _calldata\\n ) external;\\n\\n event DiamondCut(FacetCut[] _diamondCut, address _init, bytes _calldata);\\n}\\n\"\n },\n \"solc_0.7/diamond/Diamond.sol\": {\n \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity ^0.7.6;\\npragma experimental ABIEncoderV2;\\n\\n/******************************************************************************\\\\\\n* Author: Nick Mudge (https://twitter.com/mudgen)\\n* EIP-2535 Diamond Standard: https://eips.ethereum.org/EIPS/eip-2535\\n* \\n* Implementation of a diamond.\\n/******************************************************************************/\\n\\nimport \\\"./libraries/LibDiamond.sol\\\";\\nimport \\\"./interfaces/IDiamondLoupe.sol\\\";\\nimport \\\"./interfaces/IDiamondCut.sol\\\";\\nimport \\\"./interfaces/IERC173.sol\\\";\\nimport \\\"./interfaces/IERC165.sol\\\";\\n\\ncontract Diamond {\\n // more arguments are added to this struct\\n // this avoids stack too deep errors\\n struct DiamondArgs {\\n address owner;\\n }\\n\\n constructor(IDiamondCut.FacetCut[] memory _diamondCut, DiamondArgs memory _args) payable {\\n LibDiamond.diamondCut(_diamondCut, address(0), new bytes(0));\\n LibDiamond.setContractOwner(_args.owner);\\n\\n LibDiamond.DiamondStorage storage ds = LibDiamond.diamondStorage();\\n\\n // adding ERC165 data\\n ds.supportedInterfaces[type(IERC165).interfaceId] = true;\\n ds.supportedInterfaces[type(IDiamondCut).interfaceId] = true;\\n ds.supportedInterfaces[type(IDiamondLoupe).interfaceId] = true;\\n ds.supportedInterfaces[type(IERC173).interfaceId] = true;\\n }\\n\\n // Find facet for function that is called and execute the\\n // function if a facet is found and return any value.\\n fallback() external payable {\\n LibDiamond.DiamondStorage storage ds;\\n bytes32 position = LibDiamond.DIAMOND_STORAGE_POSITION;\\n assembly {\\n ds.slot := position\\n }\\n address facet = ds.selectorToFacetAndPosition[msg.sig].facetAddress;\\n require(facet != address(0), \\\"Diamond: Function does not exist\\\");\\n assembly {\\n calldatacopy(0, 0, calldatasize())\\n let result := delegatecall(gas(), facet, 0, calldatasize(), 0, 0)\\n returndatacopy(0, 0, returndatasize())\\n switch result\\n case 0 {\\n revert(0, returndatasize())\\n }\\n default {\\n return(0, returndatasize())\\n }\\n }\\n }\\n\\n receive() external payable {}\\n}\\n\"\n },\n \"solc_0.7/diamond/facets/DiamondCutFacet.sol\": {\n \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity ^0.7.6;\\npragma experimental ABIEncoderV2;\\n\\n/******************************************************************************\\\\\\n* Author: Nick Mudge (https://twitter.com/mudgen)\\n* EIP-2535 Diamond Standard: https://eips.ethereum.org/EIPS/eip-2535\\n/******************************************************************************/\\n\\nimport \\\"../interfaces/IDiamondCut.sol\\\";\\nimport \\\"../libraries/LibDiamond.sol\\\";\\n\\ncontract DiamondCutFacet is IDiamondCut {\\n /// @notice Add/replace/remove any number of functions and optionally execute\\n /// a function with delegatecall\\n /// @param _diamondCut Contains the facet addresses and function selectors\\n /// @param _init The address of the contract or facet to execute _calldata\\n /// @param _calldata A function call, including function selector and arguments\\n /// _calldata is executed with delegatecall on _init\\n function diamondCut(\\n FacetCut[] calldata _diamondCut,\\n address _init,\\n bytes calldata _calldata\\n ) external override {\\n LibDiamond.enforceIsContractOwner();\\n LibDiamond.diamondCut(_diamondCut, _init, _calldata);\\n }\\n}\\n\"\n },\n \"solc_0.7/diamond/facets/DiamondLoupeFacet.sol\": {\n \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity ^0.7.6;\\npragma experimental ABIEncoderV2;\\n\\n/******************************************************************************\\\\\\n* Author: Nick Mudge (https://twitter.com/mudgen)\\n* EIP-2535 Diamond Standard: https://eips.ethereum.org/EIPS/eip-2535\\n/******************************************************************************/\\n\\nimport \\\"../libraries/LibDiamond.sol\\\";\\nimport \\\"../interfaces/IDiamondCut.sol\\\";\\nimport \\\"../interfaces/IDiamondLoupe.sol\\\";\\nimport \\\"../interfaces/IERC165.sol\\\";\\n\\ncontract DiamondLoupeFacet is IDiamondLoupe, IERC165 {\\n // Diamond Loupe Functions\\n ////////////////////////////////////////////////////////////////////\\n /// These functions are expected to be called frequently by tools.\\n //\\n // struct Facet {\\n // address facetAddress;\\n // bytes4[] functionSelectors;\\n // }\\n\\n /// @notice Gets all facets and their selectors.\\n /// @return facets_ Facet\\n function facets() external override view returns (Facet[] memory facets_) {\\n LibDiamond.DiamondStorage storage ds = LibDiamond.diamondStorage();\\n uint256 numFacets = ds.facetAddresses.length;\\n facets_ = new Facet[](numFacets);\\n for (uint256 i; i < numFacets; i++) {\\n address facetAddress_ = ds.facetAddresses[i];\\n facets_[i].facetAddress = facetAddress_;\\n facets_[i].functionSelectors = ds.facetFunctionSelectors[facetAddress_].functionSelectors;\\n }\\n }\\n\\n /// @notice Gets all the function selectors provided by a facet.\\n /// @param _facet The facet address.\\n /// @return facetFunctionSelectors_\\n function facetFunctionSelectors(address _facet) external override view returns (bytes4[] memory facetFunctionSelectors_) {\\n LibDiamond.DiamondStorage storage ds = LibDiamond.diamondStorage();\\n facetFunctionSelectors_ = ds.facetFunctionSelectors[_facet].functionSelectors;\\n }\\n\\n /// @notice Get all the facet addresses used by a diamond.\\n /// @return facetAddresses_\\n function facetAddresses() external override view returns (address[] memory facetAddresses_) {\\n LibDiamond.DiamondStorage storage ds = LibDiamond.diamondStorage();\\n facetAddresses_ = ds.facetAddresses;\\n }\\n\\n /// @notice Gets the facet that supports the given selector.\\n /// @dev If facet is not found return address(0).\\n /// @param _functionSelector The function selector.\\n /// @return facetAddress_ The facet address.\\n function facetAddress(bytes4 _functionSelector) external override view returns (address facetAddress_) {\\n LibDiamond.DiamondStorage storage ds = LibDiamond.diamondStorage();\\n facetAddress_ = ds.selectorToFacetAndPosition[_functionSelector].facetAddress;\\n }\\n\\n // This implements ERC-165.\\n function supportsInterface(bytes4 _interfaceId) external override view returns (bool) {\\n LibDiamond.DiamondStorage storage ds = LibDiamond.diamondStorage();\\n return ds.supportedInterfaces[_interfaceId];\\n }\\n}\\n\"\n },\n \"solc_0.7/diamond/facets/OwnershipFacet.sol\": {\n \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity ^0.7.6;\\n\\nimport \\\"../libraries/LibDiamond.sol\\\";\\nimport \\\"../interfaces/IERC173.sol\\\";\\n\\ncontract OwnershipFacet is IERC173 {\\n function transferOwnership(address _newOwner) external override {\\n LibDiamond.enforceIsContractOwner();\\n LibDiamond.setContractOwner(_newOwner);\\n }\\n\\n function owner() external override view returns (address owner_) {\\n owner_ = LibDiamond.contractOwner();\\n }\\n}\\n\"\n },\n \"solc_0.7/diamond/libraries/LibDiamond.sol\": {\n \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity ^0.7.6;\\npragma experimental ABIEncoderV2;\\n\\n/******************************************************************************\\\\\\n* Author: Nick Mudge (https://twitter.com/mudgen)\\n* EIP-2535 Diamond Standard: https://eips.ethereum.org/EIPS/eip-2535\\n/******************************************************************************/\\n\\nimport \\\"../interfaces/IDiamondCut.sol\\\";\\n\\nlibrary LibDiamond {\\n bytes32 constant DIAMOND_STORAGE_POSITION = keccak256(\\\"diamond.standard.diamond.storage\\\");\\n\\n struct FacetAddressAndPosition {\\n address facetAddress;\\n uint16 functionSelectorPosition; // position in facetFunctionSelectors.functionSelectors array\\n }\\n\\n struct FacetFunctionSelectors {\\n bytes4[] functionSelectors;\\n uint16 facetAddressPosition; // position of facetAddress in facetAddresses array\\n }\\n\\n struct DiamondStorage {\\n // maps function selector to the facet address and\\n // the position of the selector in the facetFunctionSelectors.selectors array\\n mapping(bytes4 => FacetAddressAndPosition) selectorToFacetAndPosition;\\n // maps facet addresses to function selectors\\n mapping(address => FacetFunctionSelectors) facetFunctionSelectors;\\n // facet addresses\\n address[] facetAddresses;\\n // Used to query if a contract implements an interface.\\n // Used to implement ERC-165.\\n mapping(bytes4 => bool) supportedInterfaces;\\n // owner of the contract\\n address contractOwner;\\n }\\n\\n function diamondStorage() internal pure returns (DiamondStorage storage ds) {\\n bytes32 position = DIAMOND_STORAGE_POSITION;\\n assembly {\\n ds.slot := position\\n }\\n }\\n\\n event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);\\n\\n function setContractOwner(address _newOwner) internal {\\n DiamondStorage storage ds = diamondStorage();\\n address previousOwner = ds.contractOwner;\\n ds.contractOwner = _newOwner;\\n emit OwnershipTransferred(previousOwner, _newOwner);\\n }\\n\\n function contractOwner() internal view returns (address contractOwner_) {\\n contractOwner_ = diamondStorage().contractOwner;\\n }\\n\\n function enforceIsContractOwner() internal view {\\n require(msg.sender == diamondStorage().contractOwner, \\\"LibDiamond: Must be contract owner\\\");\\n }\\n\\n event DiamondCut(IDiamondCut.FacetCut[] _diamondCut, address _init, bytes _calldata);\\n\\n // Internal function version of diamondCut\\n function diamondCut(\\n IDiamondCut.FacetCut[] memory _diamondCut,\\n address _init,\\n bytes memory _calldata\\n ) internal {\\n for (uint256 facetIndex; facetIndex < _diamondCut.length; facetIndex++) {\\n IDiamondCut.FacetCutAction action = _diamondCut[facetIndex].action;\\n if (action == IDiamondCut.FacetCutAction.Add) {\\n addFunctions(_diamondCut[facetIndex].facetAddress, _diamondCut[facetIndex].functionSelectors);\\n } else if (action == IDiamondCut.FacetCutAction.Replace) {\\n replaceFunctions(_diamondCut[facetIndex].facetAddress, _diamondCut[facetIndex].functionSelectors);\\n } else if (action == IDiamondCut.FacetCutAction.Remove) {\\n removeFunctions(_diamondCut[facetIndex].facetAddress, _diamondCut[facetIndex].functionSelectors);\\n } else {\\n revert(\\\"LibDiamondCut: Incorrect FacetCutAction\\\");\\n }\\n }\\n emit DiamondCut(_diamondCut, _init, _calldata);\\n initializeDiamondCut(_init, _calldata);\\n }\\n\\n function addFunctions(address _facetAddress, bytes4[] memory _functionSelectors) internal {\\n require(_functionSelectors.length > 0, \\\"LibDiamondCut: No selectors in facet to cut\\\");\\n DiamondStorage storage ds = diamondStorage();\\n // uint16 selectorCount = uint16(diamondStorage().selectors.length);\\n require(_facetAddress != address(0), \\\"LibDiamondCut: Add facet can't be address(0)\\\");\\n uint16 selectorPosition = uint16(ds.facetFunctionSelectors[_facetAddress].functionSelectors.length);\\n // add new facet address if it does not exist\\n if (selectorPosition == 0) {\\n enforceHasContractCode(_facetAddress, \\\"LibDiamondCut: New facet has no code\\\");\\n ds.facetFunctionSelectors[_facetAddress].facetAddressPosition = uint16(ds.facetAddresses.length);\\n ds.facetAddresses.push(_facetAddress);\\n }\\n for (uint256 selectorIndex; selectorIndex < _functionSelectors.length; selectorIndex++) {\\n bytes4 selector = _functionSelectors[selectorIndex];\\n address oldFacetAddress = ds.selectorToFacetAndPosition[selector].facetAddress;\\n require(oldFacetAddress == address(0), \\\"LibDiamondCut: Can't add function that already exists\\\");\\n ds.facetFunctionSelectors[_facetAddress].functionSelectors.push(selector);\\n ds.selectorToFacetAndPosition[selector].facetAddress = _facetAddress;\\n ds.selectorToFacetAndPosition[selector].functionSelectorPosition = selectorPosition;\\n selectorPosition++;\\n }\\n }\\n\\n function replaceFunctions(address _facetAddress, bytes4[] memory _functionSelectors) internal {\\n require(_functionSelectors.length > 0, \\\"LibDiamondCut: No selectors in facet to cut\\\");\\n DiamondStorage storage ds = diamondStorage();\\n require(_facetAddress != address(0), \\\"LibDiamondCut: Add facet can't be address(0)\\\");\\n uint16 selectorPosition = uint16(ds.facetFunctionSelectors[_facetAddress].functionSelectors.length);\\n // add new facet address if it does not exist\\n if (selectorPosition == 0) {\\n enforceHasContractCode(_facetAddress, \\\"LibDiamondCut: New facet has no code\\\");\\n ds.facetFunctionSelectors[_facetAddress].facetAddressPosition = uint16(ds.facetAddresses.length);\\n ds.facetAddresses.push(_facetAddress);\\n }\\n for (uint256 selectorIndex; selectorIndex < _functionSelectors.length; selectorIndex++) {\\n bytes4 selector = _functionSelectors[selectorIndex];\\n address oldFacetAddress = ds.selectorToFacetAndPosition[selector].facetAddress;\\n require(oldFacetAddress != _facetAddress, \\\"LibDiamondCut: Can't replace function with same function\\\");\\n removeFunction(oldFacetAddress, selector);\\n // add function\\n ds.selectorToFacetAndPosition[selector].functionSelectorPosition = selectorPosition;\\n ds.facetFunctionSelectors[_facetAddress].functionSelectors.push(selector);\\n ds.selectorToFacetAndPosition[selector].facetAddress = _facetAddress;\\n selectorPosition++;\\n }\\n }\\n\\n function removeFunctions(address _facetAddress, bytes4[] memory _functionSelectors) internal {\\n require(_functionSelectors.length > 0, \\\"LibDiamondCut: No selectors in facet to cut\\\");\\n DiamondStorage storage ds = diamondStorage();\\n // if function does not exist then do nothing and return\\n require(_facetAddress == address(0), \\\"LibDiamondCut: Remove facet address must be address(0)\\\");\\n for (uint256 selectorIndex; selectorIndex < _functionSelectors.length; selectorIndex++) {\\n bytes4 selector = _functionSelectors[selectorIndex];\\n address oldFacetAddress = ds.selectorToFacetAndPosition[selector].facetAddress;\\n removeFunction(oldFacetAddress, selector);\\n }\\n }\\n\\n function removeFunction(address _facetAddress, bytes4 _selector) internal {\\n DiamondStorage storage ds = diamondStorage();\\n require(_facetAddress != address(0), \\\"LibDiamondCut: Can't remove function that doesn't exist\\\");\\n // an immutable function is a function defined directly in a diamond\\n require(_facetAddress != address(this), \\\"LibDiamondCut: Can't remove immutable function\\\");\\n // replace selector with last selector, then delete last selector\\n uint256 selectorPosition = ds.selectorToFacetAndPosition[_selector].functionSelectorPosition;\\n uint256 lastSelectorPosition = ds.facetFunctionSelectors[_facetAddress].functionSelectors.length - 1;\\n // if not the same then replace _selector with lastSelector\\n if (selectorPosition != lastSelectorPosition) {\\n bytes4 lastSelector = ds.facetFunctionSelectors[_facetAddress].functionSelectors[lastSelectorPosition];\\n ds.facetFunctionSelectors[_facetAddress].functionSelectors[selectorPosition] = lastSelector;\\n ds.selectorToFacetAndPosition[lastSelector].functionSelectorPosition = uint16(selectorPosition);\\n }\\n // delete the last selector\\n ds.facetFunctionSelectors[_facetAddress].functionSelectors.pop();\\n delete ds.selectorToFacetAndPosition[_selector];\\n\\n // if no more selectors for facet address then delete the facet address\\n if (lastSelectorPosition == 0) {\\n // replace facet address with last facet address and delete last facet address\\n uint256 lastFacetAddressPosition = ds.facetAddresses.length - 1;\\n uint256 facetAddressPosition = ds.facetFunctionSelectors[_facetAddress].facetAddressPosition;\\n if (facetAddressPosition != lastFacetAddressPosition) {\\n address lastFacetAddress = ds.facetAddresses[lastFacetAddressPosition];\\n ds.facetAddresses[facetAddressPosition] = lastFacetAddress;\\n ds.facetFunctionSelectors[lastFacetAddress].facetAddressPosition = uint16(facetAddressPosition);\\n }\\n ds.facetAddresses.pop();\\n delete ds.facetFunctionSelectors[_facetAddress].facetAddressPosition;\\n }\\n }\\n\\n function initializeDiamondCut(address _init, bytes memory _calldata) internal {\\n if (_init == address(0)) {\\n require(_calldata.length == 0, \\\"LibDiamondCut: _init is address(0) but_calldata is not empty\\\");\\n } else {\\n require(_calldata.length > 0, \\\"LibDiamondCut: _calldata is empty but _init is not address(0)\\\");\\n if (_init != address(this)) {\\n enforceHasContractCode(_init, \\\"LibDiamondCut: _init address has no code\\\");\\n }\\n (bool success, bytes memory error) = _init.delegatecall(_calldata);\\n if (!success) {\\n if (error.length > 0) {\\n // bubble up the error\\n revert(string(error));\\n } else {\\n revert(\\\"LibDiamondCut: _init function reverted\\\");\\n }\\n }\\n }\\n }\\n\\n function enforceHasContractCode(address _contract, string memory _errorMessage) internal view {\\n uint256 contractSize;\\n assembly {\\n contractSize := extcodesize(_contract)\\n }\\n require(contractSize > 0, _errorMessage);\\n }\\n}\\n\"\n },\n \"solc_0.7/diamond/interfaces/IDiamondLoupe.sol\": {\n \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity ^0.7.6;\\npragma experimental ABIEncoderV2;\\n\\n/******************************************************************************\\\\\\n* Author: Nick Mudge (https://twitter.com/mudgen)\\n* EIP-2535 Diamond Standard: https://eips.ethereum.org/EIPS/eip-2535\\n/******************************************************************************/\\n\\n// A loupe is a small magnifying glass used to look at diamonds.\\n// These functions look at diamonds\\ninterface IDiamondLoupe {\\n /// These functions are expected to be called frequently\\n /// by tools.\\n\\n struct Facet {\\n address facetAddress;\\n bytes4[] functionSelectors;\\n }\\n\\n /// @notice Gets all facet addresses and their four byte function selectors.\\n /// @return facets_ Facet\\n function facets() external view returns (Facet[] memory facets_);\\n\\n /// @notice Gets all the function selectors supported by a specific facet.\\n /// @param _facet The facet address.\\n /// @return facetFunctionSelectors_\\n function facetFunctionSelectors(address _facet) external view returns (bytes4[] memory facetFunctionSelectors_);\\n\\n /// @notice Get all the facet addresses used by a diamond.\\n /// @return facetAddresses_\\n function facetAddresses() external view returns (address[] memory facetAddresses_);\\n\\n /// @notice Gets the facet that supports the given selector.\\n /// @dev If facet is not found return address(0).\\n /// @param _functionSelector The function selector.\\n /// @return facetAddress_ The facet address.\\n function facetAddress(bytes4 _functionSelector) external view returns (address facetAddress_);\\n}\\n\"\n },\n \"solc_0.7/diamond/interfaces/IERC173.sol\": {\n \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity ^0.7.6;\\n\\n/// @title ERC-173 Contract Ownership Standard\\n/// Note: the ERC-165 identifier for this interface is 0x7f5828d0\\n/* is ERC165 */\\ninterface IERC173 {\\n /// @dev This emits when ownership of a contract changes.\\n event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);\\n\\n /// @notice Get the address of the owner\\n /// @return owner_ The address of the owner.\\n function owner() external view returns (address owner_);\\n\\n /// @notice Set the address of the new owner of the contract\\n /// @dev Set _newOwner to address(0) to renounce any ownership.\\n /// @param _newOwner The address of the new owner of the contract\\n function transferOwnership(address _newOwner) external;\\n}\\n\"\n },\n \"solc_0.7/diamond/interfaces/IERC165.sol\": {\n \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity ^0.7.6;\\npragma experimental ABIEncoderV2;\\n\\ninterface IERC165 {\\n /// @notice Query if a contract implements an interface\\n /// @param interfaceId The interface identifier, as specified in ERC-165\\n /// @dev Interface identification is specified in ERC-165. This function\\n /// uses less than 30,000 gas.\\n /// @return `true` if the contract implements `interfaceID` and\\n /// `interfaceID` is not 0xffffffff, `false` otherwise\\n function supportsInterface(bytes4 interfaceId) external view returns (bool);\\n}\\n\"\n }\n },\n \"settings\": {\n \"optimizer\": {\n \"enabled\": true,\n \"runs\": 999999\n },\n \"outputSelection\": {\n \"*\": {\n \"*\": [\n \"abi\",\n \"evm.bytecode\",\n \"evm.deployedBytecode\",\n \"evm.methodIdentifiers\",\n \"metadata\",\n \"devdoc\",\n \"userdoc\",\n \"storageLayout\",\n \"evm.gasEstimates\"\n ],\n \"\": [\n \"ast\"\n ]\n }\n },\n \"metadata\": {\n \"useLiteralContent\": true\n }\n }\n}", - "solcInputHash": "1d060b65b8264d57d416f20cb1fe798a" + "solcInput": "{\n \"language\": \"Solidity\",\n \"sources\": {\n \"solc_0.8/diamond/Diamantaire.sol\": {\n \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.0;\\npragma experimental ABIEncoderV2;\\n\\nimport \\\"./interfaces/IDiamondCut.sol\\\";\\nimport \\\"./Diamond.sol\\\";\\nimport \\\"./facets/DiamondCutFacet.sol\\\";\\nimport \\\"./facets/DiamondLoupeFacet.sol\\\";\\nimport \\\"./facets/OwnershipFacet.sol\\\";\\n\\ncontract Diamantaire {\\n event DiamondCreated(Diamond diamond);\\n\\n IDiamondCut.FacetCut[] internal _builtinDiamondCut;\\n\\n constructor() {\\n bytes4[] memory functionSelectors;\\n\\n // -------------------------------------------------------------------------\\n // adding diamondCut function\\n // -------------------------------------------------------------------------\\n DiamondCutFacet diamondCutFacet = new DiamondCutFacet();\\n\\n functionSelectors = new bytes4[](1);\\n functionSelectors[0] = DiamondCutFacet.diamondCut.selector;\\n _builtinDiamondCut.push(IDiamondCut.FacetCut({\\n facetAddress:address(diamondCutFacet),\\n action: IDiamondCut.FacetCutAction.Add,\\n functionSelectors: functionSelectors\\n }));\\n\\n\\n // -------------------------------------------------------------------------\\n // adding diamond loupe functions\\n // -------------------------------------------------------------------------\\n DiamondLoupeFacet diamondLoupeFacet = new DiamondLoupeFacet();\\n\\n functionSelectors = new bytes4[](5);\\n functionSelectors[0] = DiamondLoupeFacet.facetFunctionSelectors.selector;\\n functionSelectors[1] = DiamondLoupeFacet.facets.selector;\\n functionSelectors[2] = DiamondLoupeFacet.facetAddress.selector;\\n functionSelectors[3] = DiamondLoupeFacet.facetAddresses.selector;\\n functionSelectors[4] = DiamondLoupeFacet.supportsInterface.selector;\\n _builtinDiamondCut.push(IDiamondCut.FacetCut({\\n facetAddress:address(diamondLoupeFacet),\\n action: IDiamondCut.FacetCutAction.Add,\\n functionSelectors: functionSelectors\\n }));\\n\\n\\n // -------------------------------------------------------------------------\\n // adding ownership functions\\n // -------------------------------------------------------------------------\\n OwnershipFacet ownershipFacet = new OwnershipFacet();\\n\\n functionSelectors = new bytes4[](2);\\n functionSelectors[0] = OwnershipFacet.transferOwnership.selector;\\n functionSelectors[1] = OwnershipFacet.owner.selector;\\n _builtinDiamondCut.push(IDiamondCut.FacetCut({\\n facetAddress:address(ownershipFacet),\\n action: IDiamondCut.FacetCutAction.Add,\\n functionSelectors: functionSelectors\\n }));\\n }\\n\\n function createDiamond(\\n address owner,\\n IDiamondCut.FacetCut[] calldata _diamondCut,\\n bytes calldata data,\\n bytes32 salt\\n ) external payable returns (Diamond diamond) {\\n if (salt != 0x0000000000000000000000000000000000000000000000000000000000000000) {\\n salt = keccak256(abi.encodePacked(salt, owner));\\n diamond = new Diamond{value: msg.value, salt: salt}(\\n _builtinDiamondCut,\\n Diamond.DiamondArgs({owner:address(this)})\\n );\\n } else {\\n diamond = new Diamond{value: msg.value}(_builtinDiamondCut, Diamond.DiamondArgs({owner:address(this)}));\\n }\\n emit DiamondCreated(diamond);\\n\\n IDiamondCut(address(diamond)).diamondCut(_diamondCut, data.length > 0 ? address(diamond) : address(0), data);\\n IERC173(address(diamond)).transferOwnership(owner);\\n }\\n}\\n\"\n },\n \"solc_0.8/diamond/interfaces/IDiamondCut.sol\": {\n \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.0;\\n\\n/******************************************************************************\\\\\\n* Author: Nick Mudge (https://twitter.com/mudgen)\\n* EIP-2535 Diamonds: https://eips.ethereum.org/EIPS/eip-2535\\n/******************************************************************************/\\n\\ninterface IDiamondCut {\\n enum FacetCutAction {Add, Replace, Remove}\\n // Add=0, Replace=1, Remove=2\\n\\n struct FacetCut {\\n address facetAddress;\\n FacetCutAction action;\\n bytes4[] functionSelectors;\\n }\\n\\n /// @notice Add/replace/remove any number of functions and optionally execute\\n /// a function with delegatecall\\n /// @param _diamondCut Contains the facet addresses and function selectors\\n /// @param _init The address of the contract or facet to execute _calldata\\n /// @param _calldata A function call, including function selector and arguments\\n /// _calldata is executed with delegatecall on _init\\n function diamondCut(\\n FacetCut[] calldata _diamondCut,\\n address _init,\\n bytes calldata _calldata\\n ) external;\\n\\n event DiamondCut(FacetCut[] _diamondCut, address _init, bytes _calldata);\\n}\\n\"\n },\n \"solc_0.8/diamond/Diamond.sol\": {\n \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.0;\\n\\n/******************************************************************************\\\\\\n* Author: Nick Mudge (https://twitter.com/mudgen)\\n* EIP-2535 Diamonds: https://eips.ethereum.org/EIPS/eip-2535\\n*\\n* Implementation of a diamond.\\n/******************************************************************************/\\n\\nimport { LibDiamond } from \\\"./libraries/LibDiamond.sol\\\";\\nimport { IDiamondCut } from \\\"./interfaces/IDiamondCut.sol\\\";\\nimport { IDiamondLoupe } from \\\"./interfaces/IDiamondLoupe.sol\\\";\\nimport { IERC173 } from \\\"./interfaces/IERC173.sol\\\";\\nimport { IERC165 } from \\\"./interfaces/IERC165.sol\\\";\\n\\ncontract Diamond {\\n // more arguments are added to this struct\\n // this avoids stack too deep errors\\n struct DiamondArgs {\\n address owner;\\n }\\n\\n constructor(IDiamondCut.FacetCut[] memory _diamondCut, DiamondArgs memory _args) payable {\\n LibDiamond.diamondCut(_diamondCut, address(0), new bytes(0));\\n LibDiamond.setContractOwner(_args.owner);\\n\\n LibDiamond.DiamondStorage storage ds = LibDiamond.diamondStorage();\\n\\n // adding ERC165 data\\n ds.supportedInterfaces[type(IERC165).interfaceId] = true;\\n ds.supportedInterfaces[type(IDiamondCut).interfaceId] = true;\\n ds.supportedInterfaces[type(IDiamondLoupe).interfaceId] = true;\\n ds.supportedInterfaces[type(IERC173).interfaceId] = true;\\n }\\n\\n// constructor(address _contractOwner, address _diamondCutFacet) payable {\\n// LibDiamond.setContractOwner(_contractOwner);\\n//\\n// // Add the diamondCut external function from the diamondCutFacet\\n// IDiamondCut.FacetCut[] memory cut = new IDiamondCut.FacetCut[](1);\\n// bytes4[] memory functionSelectors = new bytes4[](1);\\n// functionSelectors[0] = IDiamondCut.diamondCut.selector;\\n// cut[0] = IDiamondCut.FacetCut({\\n// facetAddress: _diamondCutFacet,\\n// action: IDiamondCut.FacetCutAction.Add,\\n// functionSelectors: functionSelectors\\n// });\\n// LibDiamond.diamondCut(cut, address(0), \\\"\\\");\\n// }\\n\\n // Find facet for function that is called and execute the\\n // function if a facet is found and return any value.\\n fallback() external payable {\\n LibDiamond.DiamondStorage storage ds;\\n bytes32 position = LibDiamond.DIAMOND_STORAGE_POSITION;\\n // get diamond storage\\n assembly {\\n ds.slot := position\\n }\\n // get facet from function selector\\n address facet = ds.selectorToFacetAndPosition[msg.sig].facetAddress;\\n require(facet != address(0), \\\"Diamond: Function does not exist\\\");\\n // Execute external function from facet using delegatecall and return any value.\\n assembly {\\n // copy function selector and any arguments\\n calldatacopy(0, 0, calldatasize())\\n // execute function call using the facet\\n let result := delegatecall(gas(), facet, 0, calldatasize(), 0, 0)\\n // get any return value\\n returndatacopy(0, 0, returndatasize())\\n // return any return value or error back to the caller\\n switch result\\n case 0 {\\n revert(0, returndatasize())\\n }\\n default {\\n return(0, returndatasize())\\n }\\n }\\n }\\n\\n receive() external payable {}\\n}\\n\"\n },\n \"solc_0.8/diamond/facets/DiamondCutFacet.sol\": {\n \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.0;\\n\\n/******************************************************************************\\\\\\n* Author: Nick Mudge (https://twitter.com/mudgen)\\n* EIP-2535 Diamonds: https://eips.ethereum.org/EIPS/eip-2535\\n/******************************************************************************/\\n\\nimport { IDiamondCut } from \\\"../interfaces/IDiamondCut.sol\\\";\\nimport { LibDiamond } from \\\"../libraries/LibDiamond.sol\\\";\\n\\ncontract DiamondCutFacet is IDiamondCut {\\n /// @notice Add/replace/remove any number of functions and optionally execute\\n /// a function with delegatecall\\n /// @param _diamondCut Contains the facet addresses and function selectors\\n /// @param _init The address of the contract or facet to execute _calldata\\n /// @param _calldata A function call, including function selector and arguments\\n /// _calldata is executed with delegatecall on _init\\n function diamondCut(\\n FacetCut[] calldata _diamondCut,\\n address _init,\\n bytes calldata _calldata\\n ) external override {\\n LibDiamond.enforceIsContractOwner();\\n LibDiamond.diamondCut(_diamondCut, _init, _calldata);\\n }\\n}\\n\"\n },\n \"solc_0.8/diamond/facets/DiamondLoupeFacet.sol\": {\n \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.0;\\n/******************************************************************************\\\\\\n* Author: Nick Mudge (https://twitter.com/mudgen)\\n* EIP-2535 Diamonds: https://eips.ethereum.org/EIPS/eip-2535\\n/******************************************************************************/\\n\\nimport { LibDiamond } from \\\"../libraries/LibDiamond.sol\\\";\\nimport { IDiamondLoupe } from \\\"../interfaces/IDiamondLoupe.sol\\\";\\nimport { IERC165 } from \\\"../interfaces/IERC165.sol\\\";\\n\\ncontract DiamondLoupeFacet is IDiamondLoupe, IERC165 {\\n // Diamond Loupe Functions\\n ////////////////////////////////////////////////////////////////////\\n /// These functions are expected to be called frequently by tools.\\n //\\n // struct Facet {\\n // address facetAddress;\\n // bytes4[] functionSelectors;\\n // }\\n\\n /// @notice Gets all facets and their selectors.\\n /// @return facets_ Facet\\n function facets() external override view returns (Facet[] memory facets_) {\\n LibDiamond.DiamondStorage storage ds = LibDiamond.diamondStorage();\\n uint256 numFacets = ds.facetAddresses.length;\\n facets_ = new Facet[](numFacets);\\n for (uint256 i; i < numFacets; i++) {\\n address facetAddress_ = ds.facetAddresses[i];\\n facets_[i].facetAddress = facetAddress_;\\n facets_[i].functionSelectors = ds.facetFunctionSelectors[facetAddress_].functionSelectors;\\n }\\n }\\n\\n /// @notice Gets all the function selectors provided by a facet.\\n /// @param _facet The facet address.\\n /// @return facetFunctionSelectors_\\n function facetFunctionSelectors(address _facet) external override view returns (bytes4[] memory facetFunctionSelectors_) {\\n LibDiamond.DiamondStorage storage ds = LibDiamond.diamondStorage();\\n facetFunctionSelectors_ = ds.facetFunctionSelectors[_facet].functionSelectors;\\n }\\n\\n /// @notice Get all the facet addresses used by a diamond.\\n /// @return facetAddresses_\\n function facetAddresses() external override view returns (address[] memory facetAddresses_) {\\n LibDiamond.DiamondStorage storage ds = LibDiamond.diamondStorage();\\n facetAddresses_ = ds.facetAddresses;\\n }\\n\\n /// @notice Gets the facet that supports the given selector.\\n /// @dev If facet is not found return address(0).\\n /// @param _functionSelector The function selector.\\n /// @return facetAddress_ The facet address.\\n function facetAddress(bytes4 _functionSelector) external override view returns (address facetAddress_) {\\n LibDiamond.DiamondStorage storage ds = LibDiamond.diamondStorage();\\n facetAddress_ = ds.selectorToFacetAndPosition[_functionSelector].facetAddress;\\n }\\n\\n // This implements ERC-165.\\n function supportsInterface(bytes4 _interfaceId) external override view returns (bool) {\\n LibDiamond.DiamondStorage storage ds = LibDiamond.diamondStorage();\\n return ds.supportedInterfaces[_interfaceId];\\n }\\n}\\n\"\n },\n \"solc_0.8/diamond/facets/OwnershipFacet.sol\": {\n \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.0;\\n\\nimport { LibDiamond } from \\\"../libraries/LibDiamond.sol\\\";\\nimport { IERC173 } from \\\"../interfaces/IERC173.sol\\\";\\n\\ncontract OwnershipFacet is IERC173 {\\n function transferOwnership(address _newOwner) external override {\\n LibDiamond.enforceIsContractOwner();\\n LibDiamond.setContractOwner(_newOwner);\\n }\\n\\n function owner() external override view returns (address owner_) {\\n owner_ = LibDiamond.contractOwner();\\n }\\n}\\n\"\n },\n \"solc_0.8/diamond/libraries/LibDiamond.sol\": {\n \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.0;\\n\\n/******************************************************************************\\\\\\n* Author: Nick Mudge (https://twitter.com/mudgen)\\n* EIP-2535 Diamonds: https://eips.ethereum.org/EIPS/eip-2535\\n/******************************************************************************/\\nimport { IDiamondCut } from \\\"../interfaces/IDiamondCut.sol\\\";\\n\\nlibrary LibDiamond {\\n bytes32 constant DIAMOND_STORAGE_POSITION = keccak256(\\\"diamond.standard.diamond.storage\\\");\\n\\n struct FacetAddressAndPosition {\\n address facetAddress;\\n uint96 functionSelectorPosition; // position in facetFunctionSelectors.functionSelectors array\\n }\\n\\n struct FacetFunctionSelectors {\\n bytes4[] functionSelectors;\\n uint256 facetAddressPosition; // position of facetAddress in facetAddresses array\\n }\\n\\n struct DiamondStorage {\\n // maps function selector to the facet address and\\n // the position of the selector in the facetFunctionSelectors.selectors array\\n mapping(bytes4 => FacetAddressAndPosition) selectorToFacetAndPosition;\\n // maps facet addresses to function selectors\\n mapping(address => FacetFunctionSelectors) facetFunctionSelectors;\\n // facet addresses\\n address[] facetAddresses;\\n // Used to query if a contract implements an interface.\\n // Used to implement ERC-165.\\n mapping(bytes4 => bool) supportedInterfaces;\\n // owner of the contract\\n address contractOwner;\\n }\\n\\n function diamondStorage() internal pure returns (DiamondStorage storage ds) {\\n bytes32 position = DIAMOND_STORAGE_POSITION;\\n assembly {\\n ds.slot := position\\n }\\n }\\n\\n event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);\\n\\n function setContractOwner(address _newOwner) internal {\\n DiamondStorage storage ds = diamondStorage();\\n address previousOwner = ds.contractOwner;\\n ds.contractOwner = _newOwner;\\n emit OwnershipTransferred(previousOwner, _newOwner);\\n }\\n\\n function contractOwner() internal view returns (address contractOwner_) {\\n contractOwner_ = diamondStorage().contractOwner;\\n }\\n\\n function enforceIsContractOwner() internal view {\\n require(msg.sender == diamondStorage().contractOwner, \\\"LibDiamond: Must be contract owner\\\");\\n }\\n\\n event DiamondCut(IDiamondCut.FacetCut[] _diamondCut, address _init, bytes _calldata);\\n\\n // Internal function version of diamondCut\\n function diamondCut(\\n IDiamondCut.FacetCut[] memory _diamondCut,\\n address _init,\\n bytes memory _calldata\\n ) internal {\\n for (uint256 facetIndex; facetIndex < _diamondCut.length; facetIndex++) {\\n IDiamondCut.FacetCutAction action = _diamondCut[facetIndex].action;\\n if (action == IDiamondCut.FacetCutAction.Add) {\\n addFunctions(_diamondCut[facetIndex].facetAddress, _diamondCut[facetIndex].functionSelectors);\\n } else if (action == IDiamondCut.FacetCutAction.Replace) {\\n replaceFunctions(_diamondCut[facetIndex].facetAddress, _diamondCut[facetIndex].functionSelectors);\\n } else if (action == IDiamondCut.FacetCutAction.Remove) {\\n removeFunctions(_diamondCut[facetIndex].facetAddress, _diamondCut[facetIndex].functionSelectors);\\n } else {\\n revert(\\\"LibDiamondCut: Incorrect FacetCutAction\\\");\\n }\\n }\\n emit DiamondCut(_diamondCut, _init, _calldata);\\n initializeDiamondCut(_init, _calldata);\\n }\\n\\n function addFunctions(address _facetAddress, bytes4[] memory _functionSelectors) internal {\\n require(_functionSelectors.length > 0, \\\"LibDiamondCut: No selectors in facet to cut\\\");\\n DiamondStorage storage ds = diamondStorage(); \\n require(_facetAddress != address(0), \\\"LibDiamondCut: Add facet can't be address(0)\\\");\\n uint96 selectorPosition = uint96(ds.facetFunctionSelectors[_facetAddress].functionSelectors.length);\\n // add new facet address if it does not exist\\n if (selectorPosition == 0) {\\n addFacet(ds, _facetAddress); \\n }\\n for (uint256 selectorIndex; selectorIndex < _functionSelectors.length; selectorIndex++) {\\n bytes4 selector = _functionSelectors[selectorIndex];\\n address oldFacetAddress = ds.selectorToFacetAndPosition[selector].facetAddress;\\n require(oldFacetAddress == address(0), \\\"LibDiamondCut: Can't add function that already exists\\\");\\n addFunction(ds, selector, selectorPosition, _facetAddress);\\n selectorPosition++;\\n }\\n }\\n\\n function replaceFunctions(address _facetAddress, bytes4[] memory _functionSelectors) internal {\\n require(_functionSelectors.length > 0, \\\"LibDiamondCut: No selectors in facet to cut\\\");\\n DiamondStorage storage ds = diamondStorage();\\n require(_facetAddress != address(0), \\\"LibDiamondCut: Add facet can't be address(0)\\\");\\n uint96 selectorPosition = uint96(ds.facetFunctionSelectors[_facetAddress].functionSelectors.length);\\n // add new facet address if it does not exist\\n if (selectorPosition == 0) {\\n addFacet(ds, _facetAddress);\\n }\\n for (uint256 selectorIndex; selectorIndex < _functionSelectors.length; selectorIndex++) {\\n bytes4 selector = _functionSelectors[selectorIndex];\\n address oldFacetAddress = ds.selectorToFacetAndPosition[selector].facetAddress;\\n require(oldFacetAddress != _facetAddress, \\\"LibDiamondCut: Can't replace function with same function\\\");\\n removeFunction(ds, oldFacetAddress, selector);\\n addFunction(ds, selector, selectorPosition, _facetAddress);\\n selectorPosition++;\\n }\\n }\\n\\n function removeFunctions(address _facetAddress, bytes4[] memory _functionSelectors) internal {\\n require(_functionSelectors.length > 0, \\\"LibDiamondCut: No selectors in facet to cut\\\");\\n DiamondStorage storage ds = diamondStorage();\\n // if function does not exist then do nothing and return\\n require(_facetAddress == address(0), \\\"LibDiamondCut: Remove facet address must be address(0)\\\");\\n for (uint256 selectorIndex; selectorIndex < _functionSelectors.length; selectorIndex++) {\\n bytes4 selector = _functionSelectors[selectorIndex];\\n address oldFacetAddress = ds.selectorToFacetAndPosition[selector].facetAddress;\\n removeFunction(ds, oldFacetAddress, selector);\\n }\\n }\\n\\n function addFacet(DiamondStorage storage ds, address _facetAddress) internal {\\n enforceHasContractCode(_facetAddress, \\\"LibDiamondCut: New facet has no code\\\");\\n ds.facetFunctionSelectors[_facetAddress].facetAddressPosition = ds.facetAddresses.length;\\n ds.facetAddresses.push(_facetAddress);\\n } \\n\\n\\n function addFunction(DiamondStorage storage ds, bytes4 _selector, uint96 _selectorPosition, address _facetAddress) internal {\\n ds.selectorToFacetAndPosition[_selector].functionSelectorPosition = _selectorPosition;\\n ds.facetFunctionSelectors[_facetAddress].functionSelectors.push(_selector);\\n ds.selectorToFacetAndPosition[_selector].facetAddress = _facetAddress;\\n }\\n\\n function removeFunction(DiamondStorage storage ds, address _facetAddress, bytes4 _selector) internal { \\n require(_facetAddress != address(0), \\\"LibDiamondCut: Can't remove function that doesn't exist\\\");\\n // an immutable function is a function defined directly in a diamond\\n require(_facetAddress != address(this), \\\"LibDiamondCut: Can't remove immutable function\\\");\\n // replace selector with last selector, then delete last selector\\n uint256 selectorPosition = ds.selectorToFacetAndPosition[_selector].functionSelectorPosition;\\n uint256 lastSelectorPosition = ds.facetFunctionSelectors[_facetAddress].functionSelectors.length - 1;\\n // if not the same then replace _selector with lastSelector\\n if (selectorPosition != lastSelectorPosition) {\\n bytes4 lastSelector = ds.facetFunctionSelectors[_facetAddress].functionSelectors[lastSelectorPosition];\\n ds.facetFunctionSelectors[_facetAddress].functionSelectors[selectorPosition] = lastSelector;\\n ds.selectorToFacetAndPosition[lastSelector].functionSelectorPosition = uint96(selectorPosition);\\n }\\n // delete the last selector\\n ds.facetFunctionSelectors[_facetAddress].functionSelectors.pop();\\n delete ds.selectorToFacetAndPosition[_selector];\\n\\n // if no more selectors for facet address then delete the facet address\\n if (lastSelectorPosition == 0) {\\n // replace facet address with last facet address and delete last facet address\\n uint256 lastFacetAddressPosition = ds.facetAddresses.length - 1;\\n uint256 facetAddressPosition = ds.facetFunctionSelectors[_facetAddress].facetAddressPosition;\\n if (facetAddressPosition != lastFacetAddressPosition) {\\n address lastFacetAddress = ds.facetAddresses[lastFacetAddressPosition];\\n ds.facetAddresses[facetAddressPosition] = lastFacetAddress;\\n ds.facetFunctionSelectors[lastFacetAddress].facetAddressPosition = facetAddressPosition;\\n }\\n ds.facetAddresses.pop();\\n delete ds.facetFunctionSelectors[_facetAddress].facetAddressPosition;\\n }\\n }\\n\\n function initializeDiamondCut(address _init, bytes memory _calldata) internal {\\n if (_init == address(0)) {\\n require(_calldata.length == 0, \\\"LibDiamondCut: _init is address(0) but_calldata is not empty\\\");\\n } else {\\n require(_calldata.length > 0, \\\"LibDiamondCut: _calldata is empty but _init is not address(0)\\\");\\n if (_init != address(this)) {\\n enforceHasContractCode(_init, \\\"LibDiamondCut: _init address has no code\\\");\\n }\\n (bool success, bytes memory error) = _init.delegatecall(_calldata);\\n if (!success) {\\n if (error.length > 0) {\\n // bubble up the error\\n revert(string(error));\\n } else {\\n revert(\\\"LibDiamondCut: _init function reverted\\\");\\n }\\n }\\n }\\n }\\n\\n function enforceHasContractCode(address _contract, string memory _errorMessage) internal view {\\n uint256 contractSize;\\n assembly {\\n contractSize := extcodesize(_contract)\\n }\\n require(contractSize > 0, _errorMessage);\\n }\\n}\\n\"\n },\n \"solc_0.8/diamond/interfaces/IDiamondLoupe.sol\": {\n \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.0;\\n\\n/******************************************************************************\\\\\\n* Author: Nick Mudge (https://twitter.com/mudgen)\\n* EIP-2535 Diamonds: https://eips.ethereum.org/EIPS/eip-2535\\n/******************************************************************************/\\n\\n// A loupe is a small magnifying glass used to look at diamonds.\\n// These functions look at diamonds\\ninterface IDiamondLoupe {\\n /// These functions are expected to be called frequently\\n /// by tools.\\n\\n struct Facet {\\n address facetAddress;\\n bytes4[] functionSelectors;\\n }\\n\\n /// @notice Gets all facet addresses and their four byte function selectors.\\n /// @return facets_ Facet\\n function facets() external view returns (Facet[] memory facets_);\\n\\n /// @notice Gets all the function selectors supported by a specific facet.\\n /// @param _facet The facet address.\\n /// @return facetFunctionSelectors_\\n function facetFunctionSelectors(address _facet) external view returns (bytes4[] memory facetFunctionSelectors_);\\n\\n /// @notice Get all the facet addresses used by a diamond.\\n /// @return facetAddresses_\\n function facetAddresses() external view returns (address[] memory facetAddresses_);\\n\\n /// @notice Gets the facet that supports the given selector.\\n /// @dev If facet is not found return address(0).\\n /// @param _functionSelector The function selector.\\n /// @return facetAddress_ The facet address.\\n function facetAddress(bytes4 _functionSelector) external view returns (address facetAddress_);\\n}\\n\"\n },\n \"solc_0.8/diamond/interfaces/IERC173.sol\": {\n \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.0;\\n\\n/// @title ERC-173 Contract Ownership Standard\\n/// Note: the ERC-165 identifier for this interface is 0x7f5828d0\\n/* is ERC165 */\\ninterface IERC173 {\\n /// @dev This emits when ownership of a contract changes.\\n event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);\\n\\n /// @notice Get the address of the owner\\n /// @return owner_ The address of the owner.\\n function owner() external view returns (address owner_);\\n\\n /// @notice Set the address of the new owner of the contract\\n /// @dev Set _newOwner to address(0) to renounce any ownership.\\n /// @param _newOwner The address of the new owner of the contract\\n function transferOwnership(address _newOwner) external;\\n}\\n\"\n },\n \"solc_0.8/diamond/interfaces/IERC165.sol\": {\n \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.0;\\n\\ninterface IERC165 {\\n /// @notice Query if a contract implements an interface\\n /// @param interfaceId The interface identifier, as specified in ERC-165\\n /// @dev Interface identification is specified in ERC-165. This function\\n /// uses less than 30,000 gas.\\n /// @return `true` if the contract implements `interfaceID` and\\n /// `interfaceID` is not 0xffffffff, `false` otherwise\\n function supportsInterface(bytes4 interfaceId) external view returns (bool);\\n}\\n\"\n },\n \"solc_0.8/diamond/upgradeInitializers/DiamondInit.sol\": {\n \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.0;\\n\\n/******************************************************************************\\\\\\n* Author: Nick Mudge (https://twitter.com/mudgen)\\n* EIP-2535 Diamonds: https://eips.ethereum.org/EIPS/eip-2535\\n*\\n* Implementation of a diamond.\\n/******************************************************************************/\\n\\nimport {LibDiamond} from \\\"../libraries/LibDiamond.sol\\\";\\nimport { IDiamondLoupe } from \\\"../interfaces/IDiamondLoupe.sol\\\";\\nimport { IDiamondCut } from \\\"../interfaces/IDiamondCut.sol\\\";\\nimport { IERC173 } from \\\"../interfaces/IERC173.sol\\\";\\nimport { IERC165 } from \\\"../interfaces/IERC165.sol\\\";\\n\\n// It is exapected that this contract is customized if you want to deploy your diamond\\n// with data from a deployment script. Use the init function to initialize state variables\\n// of your diamond. Add parameters to the init funciton if you need to.\\n\\ncontract DiamondInit { \\n\\n // You can add parameters to this function in order to pass in \\n // data to set your own state variables\\n function init() external {\\n // adding ERC165 data\\n LibDiamond.DiamondStorage storage ds = LibDiamond.diamondStorage();\\n ds.supportedInterfaces[type(IERC165).interfaceId] = true;\\n ds.supportedInterfaces[type(IDiamondCut).interfaceId] = true;\\n ds.supportedInterfaces[type(IDiamondLoupe).interfaceId] = true;\\n ds.supportedInterfaces[type(IERC173).interfaceId] = true;\\n\\n // add your own state variables \\n // EIP-2535 specifies that the `diamondCut` function takes two optional \\n // arguments: address _init and bytes calldata _calldata\\n // These arguments are used to execute an arbitrary function using delegatecall\\n // in order to set state variables in the diamond during deployment or an upgrade\\n // More info here: https://eips.ethereum.org/EIPS/eip-2535#diamond-interface \\n }\\n\\n\\n}\"\n }\n },\n \"settings\": {\n \"optimizer\": {\n \"enabled\": true,\n \"runs\": 999999\n },\n \"outputSelection\": {\n \"*\": {\n \"*\": [\n \"abi\",\n \"evm.bytecode\",\n \"evm.deployedBytecode\",\n \"evm.methodIdentifiers\",\n \"metadata\",\n \"devdoc\",\n \"userdoc\",\n \"storageLayout\",\n \"evm.gasEstimates\"\n ],\n \"\": [\n \"ast\"\n ]\n }\n },\n \"metadata\": {\n \"useLiteralContent\": true\n }\n }\n}", + "solcInputHash": "91f18d120de6fe2bcaa5a3bff0ad9fe7" } \ No newline at end of file diff --git a/extendedArtifacts/IERC173.json b/extendedArtifacts/IERC173.json index 451151d8..d5680c48 100644 --- a/extendedArtifacts/IERC173.json +++ b/extendedArtifacts/IERC173.json @@ -1,6 +1,6 @@ { "contractName": "IERC173", - "sourceName": "solc_0.7/diamond/interfaces/IERC173.sol", + "sourceName": "solc_0.8/diamond/interfaces/IERC173.sol", "abi": [ { "anonymous": false, @@ -77,6 +77,7 @@ }, "evm": { "bytecode": { + "functionDebugData": {}, "generatedSources": [], "linkReferences": {}, "object": "", @@ -84,6 +85,7 @@ "sourceMap": "" }, "deployedBytecode": { + "functionDebugData": {}, "generatedSources": [], "immutableReferences": {}, "linkReferences": {}, @@ -97,7 +99,7 @@ "transferOwnership(address)": "f2fde38b" } }, - "metadata": "{\"compiler\":{\"version\":\"0.7.6+commit.7338295f\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"previousOwner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"OwnershipTransferred\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"owner_\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_newOwner\",\"type\":\"address\"}],\"name\":\"transferOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}],\"devdoc\":{\"events\":{\"OwnershipTransferred(address,address)\":{\"details\":\"This emits when ownership of a contract changes.\"}},\"kind\":\"dev\",\"methods\":{\"owner()\":{\"returns\":{\"owner_\":\"The address of the owner.\"}},\"transferOwnership(address)\":{\"details\":\"Set _newOwner to address(0) to renounce any ownership.\",\"params\":{\"_newOwner\":\"The address of the new owner of the contract\"}}},\"title\":\"ERC-173 Contract Ownership Standard Note: the ERC-165 identifier for this interface is 0x7f5828d0\",\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{\"owner()\":{\"notice\":\"Get the address of the owner\"},\"transferOwnership(address)\":{\"notice\":\"Set the address of the new owner of the contract\"}},\"version\":1}},\"settings\":{\"compilationTarget\":{\"solc_0.7/diamond/interfaces/IERC173.sol\":\"IERC173\"},\"evmVersion\":\"istanbul\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\",\"useLiteralContent\":true},\"optimizer\":{\"enabled\":true,\"runs\":999999},\"remappings\":[]},\"sources\":{\"solc_0.7/diamond/interfaces/IERC173.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\npragma solidity ^0.7.6;\\n\\n/// @title ERC-173 Contract Ownership Standard\\n/// Note: the ERC-165 identifier for this interface is 0x7f5828d0\\n/* is ERC165 */\\ninterface IERC173 {\\n /// @dev This emits when ownership of a contract changes.\\n event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);\\n\\n /// @notice Get the address of the owner\\n /// @return owner_ The address of the owner.\\n function owner() external view returns (address owner_);\\n\\n /// @notice Set the address of the new owner of the contract\\n /// @dev Set _newOwner to address(0) to renounce any ownership.\\n /// @param _newOwner The address of the new owner of the contract\\n function transferOwnership(address _newOwner) external;\\n}\\n\",\"keccak256\":\"0xa4023156092d7cb99c69e21bc95b910e13c54e582d6814601579bc2fb594ecf8\",\"license\":\"MIT\"}},\"version\":1}", + "metadata": "{\"compiler\":{\"version\":\"0.8.9+commit.e5eed63a\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"previousOwner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"OwnershipTransferred\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"owner_\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_newOwner\",\"type\":\"address\"}],\"name\":\"transferOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}],\"devdoc\":{\"events\":{\"OwnershipTransferred(address,address)\":{\"details\":\"This emits when ownership of a contract changes.\"}},\"kind\":\"dev\",\"methods\":{\"owner()\":{\"returns\":{\"owner_\":\"The address of the owner.\"}},\"transferOwnership(address)\":{\"details\":\"Set _newOwner to address(0) to renounce any ownership.\",\"params\":{\"_newOwner\":\"The address of the new owner of the contract\"}}},\"title\":\"ERC-173 Contract Ownership Standard Note: the ERC-165 identifier for this interface is 0x7f5828d0\",\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{\"owner()\":{\"notice\":\"Get the address of the owner\"},\"transferOwnership(address)\":{\"notice\":\"Set the address of the new owner of the contract\"}},\"version\":1}},\"settings\":{\"compilationTarget\":{\"solc_0.8/diamond/interfaces/IERC173.sol\":\"IERC173\"},\"evmVersion\":\"london\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\",\"useLiteralContent\":true},\"optimizer\":{\"enabled\":true,\"runs\":999999},\"remappings\":[]},\"sources\":{\"solc_0.8/diamond/interfaces/IERC173.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.0;\\n\\n/// @title ERC-173 Contract Ownership Standard\\n/// Note: the ERC-165 identifier for this interface is 0x7f5828d0\\n/* is ERC165 */\\ninterface IERC173 {\\n /// @dev This emits when ownership of a contract changes.\\n event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);\\n\\n /// @notice Get the address of the owner\\n /// @return owner_ The address of the owner.\\n function owner() external view returns (address owner_);\\n\\n /// @notice Set the address of the new owner of the contract\\n /// @dev Set _newOwner to address(0) to renounce any ownership.\\n /// @param _newOwner The address of the new owner of the contract\\n function transferOwnership(address _newOwner) external;\\n}\\n\",\"keccak256\":\"0x001e07b0fbc894300b939d496ffb005abe398b5bc609802d319b8cdeafe5d36b\",\"license\":\"MIT\"}},\"version\":1}", "storageLayout": { "storage": [], "types": null @@ -114,6 +116,6 @@ }, "version": 1 }, - "solcInput": "{\n \"language\": \"Solidity\",\n \"sources\": {\n \"solc_0.7/diamond/Diamantaire.sol\": {\n \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity ^0.7.1;\\npragma experimental ABIEncoderV2;\\n\\nimport \\\"./interfaces/IDiamondCut.sol\\\";\\nimport \\\"./Diamond.sol\\\";\\nimport \\\"./facets/DiamondCutFacet.sol\\\";\\nimport \\\"./facets/DiamondLoupeFacet.sol\\\";\\nimport \\\"./facets/OwnershipFacet.sol\\\";\\n\\ncontract Diamantaire {\\n event DiamondCreated(Diamond diamond);\\n\\n IDiamondCut.FacetCut[] internal _builtinDiamondCut;\\n\\n constructor() {\\n bytes4[] memory functionSelectors;\\n\\n // -------------------------------------------------------------------------\\n // adding diamondCut function\\n // -------------------------------------------------------------------------\\n DiamondCutFacet diamondCutFacet = new DiamondCutFacet();\\n\\n functionSelectors = new bytes4[](1);\\n functionSelectors[0] = DiamondCutFacet.diamondCut.selector;\\n _builtinDiamondCut.push(IDiamondCut.FacetCut({\\n facetAddress:address(diamondCutFacet),\\n action: IDiamondCut.FacetCutAction.Add,\\n functionSelectors: functionSelectors\\n }));\\n\\n\\n // -------------------------------------------------------------------------\\n // adding diamond loupe functions\\n // -------------------------------------------------------------------------\\n DiamondLoupeFacet diamondLoupeFacet = new DiamondLoupeFacet();\\n\\n functionSelectors = new bytes4[](5);\\n functionSelectors[0] = DiamondLoupeFacet.facetFunctionSelectors.selector;\\n functionSelectors[1] = DiamondLoupeFacet.facets.selector;\\n functionSelectors[2] = DiamondLoupeFacet.facetAddress.selector;\\n functionSelectors[3] = DiamondLoupeFacet.facetAddresses.selector;\\n functionSelectors[4] = DiamondLoupeFacet.supportsInterface.selector;\\n _builtinDiamondCut.push(IDiamondCut.FacetCut({\\n facetAddress:address(diamondLoupeFacet),\\n action: IDiamondCut.FacetCutAction.Add,\\n functionSelectors: functionSelectors\\n }));\\n\\n\\n // -------------------------------------------------------------------------\\n // adding ownership functions\\n // -------------------------------------------------------------------------\\n OwnershipFacet ownershipFacet = new OwnershipFacet();\\n\\n functionSelectors = new bytes4[](2);\\n functionSelectors[0] = OwnershipFacet.transferOwnership.selector;\\n functionSelectors[1] = OwnershipFacet.owner.selector;\\n _builtinDiamondCut.push(IDiamondCut.FacetCut({\\n facetAddress:address(ownershipFacet),\\n action: IDiamondCut.FacetCutAction.Add,\\n functionSelectors: functionSelectors\\n }));\\n }\\n\\n function createDiamond(\\n address owner,\\n IDiamondCut.FacetCut[] calldata _diamondCut,\\n bytes calldata data,\\n bytes32 salt\\n ) external payable returns (Diamond diamond) {\\n if (salt != 0x0000000000000000000000000000000000000000000000000000000000000000) {\\n salt = keccak256(abi.encodePacked(salt, owner));\\n diamond = new Diamond{value: msg.value, salt: salt}(\\n _builtinDiamondCut,\\n Diamond.DiamondArgs({owner:address(this)})\\n );\\n } else {\\n diamond = new Diamond{value: msg.value}(_builtinDiamondCut, Diamond.DiamondArgs({owner:address(this)}));\\n }\\n emit DiamondCreated(diamond);\\n\\n IDiamondCut(address(diamond)).diamondCut(_diamondCut, data.length > 0 ? address(diamond) : address(0), data);\\n IERC173(address(diamond)).transferOwnership(owner);\\n }\\n}\\n\"\n },\n \"solc_0.7/diamond/interfaces/IDiamondCut.sol\": {\n \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity ^0.7.6;\\npragma experimental ABIEncoderV2;\\n\\n/******************************************************************************\\\\\\n* Author: Nick Mudge (https://twitter.com/mudgen)\\n* EIP-2535 Diamond Standard: https://eips.ethereum.org/EIPS/eip-2535\\n/******************************************************************************/\\n\\ninterface IDiamondCut {\\n enum FacetCutAction {Add, Replace, Remove}\\n // Add=0, Replace=1, Remove=2\\n\\n struct FacetCut {\\n address facetAddress;\\n FacetCutAction action;\\n bytes4[] functionSelectors;\\n }\\n\\n /// @notice Add/replace/remove any number of functions and optionally execute\\n /// a function with delegatecall\\n /// @param _diamondCut Contains the facet addresses and function selectors\\n /// @param _init The address of the contract or facet to execute _calldata\\n /// @param _calldata A function call, including function selector and arguments\\n /// _calldata is executed with delegatecall on _init\\n function diamondCut(\\n FacetCut[] calldata _diamondCut,\\n address _init,\\n bytes calldata _calldata\\n ) external;\\n\\n event DiamondCut(FacetCut[] _diamondCut, address _init, bytes _calldata);\\n}\\n\"\n },\n \"solc_0.7/diamond/Diamond.sol\": {\n \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity ^0.7.6;\\npragma experimental ABIEncoderV2;\\n\\n/******************************************************************************\\\\\\n* Author: Nick Mudge (https://twitter.com/mudgen)\\n* EIP-2535 Diamond Standard: https://eips.ethereum.org/EIPS/eip-2535\\n* \\n* Implementation of a diamond.\\n/******************************************************************************/\\n\\nimport \\\"./libraries/LibDiamond.sol\\\";\\nimport \\\"./interfaces/IDiamondLoupe.sol\\\";\\nimport \\\"./interfaces/IDiamondCut.sol\\\";\\nimport \\\"./interfaces/IERC173.sol\\\";\\nimport \\\"./interfaces/IERC165.sol\\\";\\n\\ncontract Diamond {\\n // more arguments are added to this struct\\n // this avoids stack too deep errors\\n struct DiamondArgs {\\n address owner;\\n }\\n\\n constructor(IDiamondCut.FacetCut[] memory _diamondCut, DiamondArgs memory _args) payable {\\n LibDiamond.diamondCut(_diamondCut, address(0), new bytes(0));\\n LibDiamond.setContractOwner(_args.owner);\\n\\n LibDiamond.DiamondStorage storage ds = LibDiamond.diamondStorage();\\n\\n // adding ERC165 data\\n ds.supportedInterfaces[type(IERC165).interfaceId] = true;\\n ds.supportedInterfaces[type(IDiamondCut).interfaceId] = true;\\n ds.supportedInterfaces[type(IDiamondLoupe).interfaceId] = true;\\n ds.supportedInterfaces[type(IERC173).interfaceId] = true;\\n }\\n\\n // Find facet for function that is called and execute the\\n // function if a facet is found and return any value.\\n fallback() external payable {\\n LibDiamond.DiamondStorage storage ds;\\n bytes32 position = LibDiamond.DIAMOND_STORAGE_POSITION;\\n assembly {\\n ds.slot := position\\n }\\n address facet = ds.selectorToFacetAndPosition[msg.sig].facetAddress;\\n require(facet != address(0), \\\"Diamond: Function does not exist\\\");\\n assembly {\\n calldatacopy(0, 0, calldatasize())\\n let result := delegatecall(gas(), facet, 0, calldatasize(), 0, 0)\\n returndatacopy(0, 0, returndatasize())\\n switch result\\n case 0 {\\n revert(0, returndatasize())\\n }\\n default {\\n return(0, returndatasize())\\n }\\n }\\n }\\n\\n receive() external payable {}\\n}\\n\"\n },\n \"solc_0.7/diamond/facets/DiamondCutFacet.sol\": {\n \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity ^0.7.6;\\npragma experimental ABIEncoderV2;\\n\\n/******************************************************************************\\\\\\n* Author: Nick Mudge (https://twitter.com/mudgen)\\n* EIP-2535 Diamond Standard: https://eips.ethereum.org/EIPS/eip-2535\\n/******************************************************************************/\\n\\nimport \\\"../interfaces/IDiamondCut.sol\\\";\\nimport \\\"../libraries/LibDiamond.sol\\\";\\n\\ncontract DiamondCutFacet is IDiamondCut {\\n /// @notice Add/replace/remove any number of functions and optionally execute\\n /// a function with delegatecall\\n /// @param _diamondCut Contains the facet addresses and function selectors\\n /// @param _init The address of the contract or facet to execute _calldata\\n /// @param _calldata A function call, including function selector and arguments\\n /// _calldata is executed with delegatecall on _init\\n function diamondCut(\\n FacetCut[] calldata _diamondCut,\\n address _init,\\n bytes calldata _calldata\\n ) external override {\\n LibDiamond.enforceIsContractOwner();\\n LibDiamond.diamondCut(_diamondCut, _init, _calldata);\\n }\\n}\\n\"\n },\n \"solc_0.7/diamond/facets/DiamondLoupeFacet.sol\": {\n \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity ^0.7.6;\\npragma experimental ABIEncoderV2;\\n\\n/******************************************************************************\\\\\\n* Author: Nick Mudge (https://twitter.com/mudgen)\\n* EIP-2535 Diamond Standard: https://eips.ethereum.org/EIPS/eip-2535\\n/******************************************************************************/\\n\\nimport \\\"../libraries/LibDiamond.sol\\\";\\nimport \\\"../interfaces/IDiamondCut.sol\\\";\\nimport \\\"../interfaces/IDiamondLoupe.sol\\\";\\nimport \\\"../interfaces/IERC165.sol\\\";\\n\\ncontract DiamondLoupeFacet is IDiamondLoupe, IERC165 {\\n // Diamond Loupe Functions\\n ////////////////////////////////////////////////////////////////////\\n /// These functions are expected to be called frequently by tools.\\n //\\n // struct Facet {\\n // address facetAddress;\\n // bytes4[] functionSelectors;\\n // }\\n\\n /// @notice Gets all facets and their selectors.\\n /// @return facets_ Facet\\n function facets() external override view returns (Facet[] memory facets_) {\\n LibDiamond.DiamondStorage storage ds = LibDiamond.diamondStorage();\\n uint256 numFacets = ds.facetAddresses.length;\\n facets_ = new Facet[](numFacets);\\n for (uint256 i; i < numFacets; i++) {\\n address facetAddress_ = ds.facetAddresses[i];\\n facets_[i].facetAddress = facetAddress_;\\n facets_[i].functionSelectors = ds.facetFunctionSelectors[facetAddress_].functionSelectors;\\n }\\n }\\n\\n /// @notice Gets all the function selectors provided by a facet.\\n /// @param _facet The facet address.\\n /// @return facetFunctionSelectors_\\n function facetFunctionSelectors(address _facet) external override view returns (bytes4[] memory facetFunctionSelectors_) {\\n LibDiamond.DiamondStorage storage ds = LibDiamond.diamondStorage();\\n facetFunctionSelectors_ = ds.facetFunctionSelectors[_facet].functionSelectors;\\n }\\n\\n /// @notice Get all the facet addresses used by a diamond.\\n /// @return facetAddresses_\\n function facetAddresses() external override view returns (address[] memory facetAddresses_) {\\n LibDiamond.DiamondStorage storage ds = LibDiamond.diamondStorage();\\n facetAddresses_ = ds.facetAddresses;\\n }\\n\\n /// @notice Gets the facet that supports the given selector.\\n /// @dev If facet is not found return address(0).\\n /// @param _functionSelector The function selector.\\n /// @return facetAddress_ The facet address.\\n function facetAddress(bytes4 _functionSelector) external override view returns (address facetAddress_) {\\n LibDiamond.DiamondStorage storage ds = LibDiamond.diamondStorage();\\n facetAddress_ = ds.selectorToFacetAndPosition[_functionSelector].facetAddress;\\n }\\n\\n // This implements ERC-165.\\n function supportsInterface(bytes4 _interfaceId) external override view returns (bool) {\\n LibDiamond.DiamondStorage storage ds = LibDiamond.diamondStorage();\\n return ds.supportedInterfaces[_interfaceId];\\n }\\n}\\n\"\n },\n \"solc_0.7/diamond/facets/OwnershipFacet.sol\": {\n \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity ^0.7.6;\\n\\nimport \\\"../libraries/LibDiamond.sol\\\";\\nimport \\\"../interfaces/IERC173.sol\\\";\\n\\ncontract OwnershipFacet is IERC173 {\\n function transferOwnership(address _newOwner) external override {\\n LibDiamond.enforceIsContractOwner();\\n LibDiamond.setContractOwner(_newOwner);\\n }\\n\\n function owner() external override view returns (address owner_) {\\n owner_ = LibDiamond.contractOwner();\\n }\\n}\\n\"\n },\n \"solc_0.7/diamond/libraries/LibDiamond.sol\": {\n \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity ^0.7.6;\\npragma experimental ABIEncoderV2;\\n\\n/******************************************************************************\\\\\\n* Author: Nick Mudge (https://twitter.com/mudgen)\\n* EIP-2535 Diamond Standard: https://eips.ethereum.org/EIPS/eip-2535\\n/******************************************************************************/\\n\\nimport \\\"../interfaces/IDiamondCut.sol\\\";\\n\\nlibrary LibDiamond {\\n bytes32 constant DIAMOND_STORAGE_POSITION = keccak256(\\\"diamond.standard.diamond.storage\\\");\\n\\n struct FacetAddressAndPosition {\\n address facetAddress;\\n uint16 functionSelectorPosition; // position in facetFunctionSelectors.functionSelectors array\\n }\\n\\n struct FacetFunctionSelectors {\\n bytes4[] functionSelectors;\\n uint16 facetAddressPosition; // position of facetAddress in facetAddresses array\\n }\\n\\n struct DiamondStorage {\\n // maps function selector to the facet address and\\n // the position of the selector in the facetFunctionSelectors.selectors array\\n mapping(bytes4 => FacetAddressAndPosition) selectorToFacetAndPosition;\\n // maps facet addresses to function selectors\\n mapping(address => FacetFunctionSelectors) facetFunctionSelectors;\\n // facet addresses\\n address[] facetAddresses;\\n // Used to query if a contract implements an interface.\\n // Used to implement ERC-165.\\n mapping(bytes4 => bool) supportedInterfaces;\\n // owner of the contract\\n address contractOwner;\\n }\\n\\n function diamondStorage() internal pure returns (DiamondStorage storage ds) {\\n bytes32 position = DIAMOND_STORAGE_POSITION;\\n assembly {\\n ds.slot := position\\n }\\n }\\n\\n event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);\\n\\n function setContractOwner(address _newOwner) internal {\\n DiamondStorage storage ds = diamondStorage();\\n address previousOwner = ds.contractOwner;\\n ds.contractOwner = _newOwner;\\n emit OwnershipTransferred(previousOwner, _newOwner);\\n }\\n\\n function contractOwner() internal view returns (address contractOwner_) {\\n contractOwner_ = diamondStorage().contractOwner;\\n }\\n\\n function enforceIsContractOwner() internal view {\\n require(msg.sender == diamondStorage().contractOwner, \\\"LibDiamond: Must be contract owner\\\");\\n }\\n\\n event DiamondCut(IDiamondCut.FacetCut[] _diamondCut, address _init, bytes _calldata);\\n\\n // Internal function version of diamondCut\\n function diamondCut(\\n IDiamondCut.FacetCut[] memory _diamondCut,\\n address _init,\\n bytes memory _calldata\\n ) internal {\\n for (uint256 facetIndex; facetIndex < _diamondCut.length; facetIndex++) {\\n IDiamondCut.FacetCutAction action = _diamondCut[facetIndex].action;\\n if (action == IDiamondCut.FacetCutAction.Add) {\\n addFunctions(_diamondCut[facetIndex].facetAddress, _diamondCut[facetIndex].functionSelectors);\\n } else if (action == IDiamondCut.FacetCutAction.Replace) {\\n replaceFunctions(_diamondCut[facetIndex].facetAddress, _diamondCut[facetIndex].functionSelectors);\\n } else if (action == IDiamondCut.FacetCutAction.Remove) {\\n removeFunctions(_diamondCut[facetIndex].facetAddress, _diamondCut[facetIndex].functionSelectors);\\n } else {\\n revert(\\\"LibDiamondCut: Incorrect FacetCutAction\\\");\\n }\\n }\\n emit DiamondCut(_diamondCut, _init, _calldata);\\n initializeDiamondCut(_init, _calldata);\\n }\\n\\n function addFunctions(address _facetAddress, bytes4[] memory _functionSelectors) internal {\\n require(_functionSelectors.length > 0, \\\"LibDiamondCut: No selectors in facet to cut\\\");\\n DiamondStorage storage ds = diamondStorage();\\n // uint16 selectorCount = uint16(diamondStorage().selectors.length);\\n require(_facetAddress != address(0), \\\"LibDiamondCut: Add facet can't be address(0)\\\");\\n uint16 selectorPosition = uint16(ds.facetFunctionSelectors[_facetAddress].functionSelectors.length);\\n // add new facet address if it does not exist\\n if (selectorPosition == 0) {\\n enforceHasContractCode(_facetAddress, \\\"LibDiamondCut: New facet has no code\\\");\\n ds.facetFunctionSelectors[_facetAddress].facetAddressPosition = uint16(ds.facetAddresses.length);\\n ds.facetAddresses.push(_facetAddress);\\n }\\n for (uint256 selectorIndex; selectorIndex < _functionSelectors.length; selectorIndex++) {\\n bytes4 selector = _functionSelectors[selectorIndex];\\n address oldFacetAddress = ds.selectorToFacetAndPosition[selector].facetAddress;\\n require(oldFacetAddress == address(0), \\\"LibDiamondCut: Can't add function that already exists\\\");\\n ds.facetFunctionSelectors[_facetAddress].functionSelectors.push(selector);\\n ds.selectorToFacetAndPosition[selector].facetAddress = _facetAddress;\\n ds.selectorToFacetAndPosition[selector].functionSelectorPosition = selectorPosition;\\n selectorPosition++;\\n }\\n }\\n\\n function replaceFunctions(address _facetAddress, bytes4[] memory _functionSelectors) internal {\\n require(_functionSelectors.length > 0, \\\"LibDiamondCut: No selectors in facet to cut\\\");\\n DiamondStorage storage ds = diamondStorage();\\n require(_facetAddress != address(0), \\\"LibDiamondCut: Add facet can't be address(0)\\\");\\n uint16 selectorPosition = uint16(ds.facetFunctionSelectors[_facetAddress].functionSelectors.length);\\n // add new facet address if it does not exist\\n if (selectorPosition == 0) {\\n enforceHasContractCode(_facetAddress, \\\"LibDiamondCut: New facet has no code\\\");\\n ds.facetFunctionSelectors[_facetAddress].facetAddressPosition = uint16(ds.facetAddresses.length);\\n ds.facetAddresses.push(_facetAddress);\\n }\\n for (uint256 selectorIndex; selectorIndex < _functionSelectors.length; selectorIndex++) {\\n bytes4 selector = _functionSelectors[selectorIndex];\\n address oldFacetAddress = ds.selectorToFacetAndPosition[selector].facetAddress;\\n require(oldFacetAddress != _facetAddress, \\\"LibDiamondCut: Can't replace function with same function\\\");\\n removeFunction(oldFacetAddress, selector);\\n // add function\\n ds.selectorToFacetAndPosition[selector].functionSelectorPosition = selectorPosition;\\n ds.facetFunctionSelectors[_facetAddress].functionSelectors.push(selector);\\n ds.selectorToFacetAndPosition[selector].facetAddress = _facetAddress;\\n selectorPosition++;\\n }\\n }\\n\\n function removeFunctions(address _facetAddress, bytes4[] memory _functionSelectors) internal {\\n require(_functionSelectors.length > 0, \\\"LibDiamondCut: No selectors in facet to cut\\\");\\n DiamondStorage storage ds = diamondStorage();\\n // if function does not exist then do nothing and return\\n require(_facetAddress == address(0), \\\"LibDiamondCut: Remove facet address must be address(0)\\\");\\n for (uint256 selectorIndex; selectorIndex < _functionSelectors.length; selectorIndex++) {\\n bytes4 selector = _functionSelectors[selectorIndex];\\n address oldFacetAddress = ds.selectorToFacetAndPosition[selector].facetAddress;\\n removeFunction(oldFacetAddress, selector);\\n }\\n }\\n\\n function removeFunction(address _facetAddress, bytes4 _selector) internal {\\n DiamondStorage storage ds = diamondStorage();\\n require(_facetAddress != address(0), \\\"LibDiamondCut: Can't remove function that doesn't exist\\\");\\n // an immutable function is a function defined directly in a diamond\\n require(_facetAddress != address(this), \\\"LibDiamondCut: Can't remove immutable function\\\");\\n // replace selector with last selector, then delete last selector\\n uint256 selectorPosition = ds.selectorToFacetAndPosition[_selector].functionSelectorPosition;\\n uint256 lastSelectorPosition = ds.facetFunctionSelectors[_facetAddress].functionSelectors.length - 1;\\n // if not the same then replace _selector with lastSelector\\n if (selectorPosition != lastSelectorPosition) {\\n bytes4 lastSelector = ds.facetFunctionSelectors[_facetAddress].functionSelectors[lastSelectorPosition];\\n ds.facetFunctionSelectors[_facetAddress].functionSelectors[selectorPosition] = lastSelector;\\n ds.selectorToFacetAndPosition[lastSelector].functionSelectorPosition = uint16(selectorPosition);\\n }\\n // delete the last selector\\n ds.facetFunctionSelectors[_facetAddress].functionSelectors.pop();\\n delete ds.selectorToFacetAndPosition[_selector];\\n\\n // if no more selectors for facet address then delete the facet address\\n if (lastSelectorPosition == 0) {\\n // replace facet address with last facet address and delete last facet address\\n uint256 lastFacetAddressPosition = ds.facetAddresses.length - 1;\\n uint256 facetAddressPosition = ds.facetFunctionSelectors[_facetAddress].facetAddressPosition;\\n if (facetAddressPosition != lastFacetAddressPosition) {\\n address lastFacetAddress = ds.facetAddresses[lastFacetAddressPosition];\\n ds.facetAddresses[facetAddressPosition] = lastFacetAddress;\\n ds.facetFunctionSelectors[lastFacetAddress].facetAddressPosition = uint16(facetAddressPosition);\\n }\\n ds.facetAddresses.pop();\\n delete ds.facetFunctionSelectors[_facetAddress].facetAddressPosition;\\n }\\n }\\n\\n function initializeDiamondCut(address _init, bytes memory _calldata) internal {\\n if (_init == address(0)) {\\n require(_calldata.length == 0, \\\"LibDiamondCut: _init is address(0) but_calldata is not empty\\\");\\n } else {\\n require(_calldata.length > 0, \\\"LibDiamondCut: _calldata is empty but _init is not address(0)\\\");\\n if (_init != address(this)) {\\n enforceHasContractCode(_init, \\\"LibDiamondCut: _init address has no code\\\");\\n }\\n (bool success, bytes memory error) = _init.delegatecall(_calldata);\\n if (!success) {\\n if (error.length > 0) {\\n // bubble up the error\\n revert(string(error));\\n } else {\\n revert(\\\"LibDiamondCut: _init function reverted\\\");\\n }\\n }\\n }\\n }\\n\\n function enforceHasContractCode(address _contract, string memory _errorMessage) internal view {\\n uint256 contractSize;\\n assembly {\\n contractSize := extcodesize(_contract)\\n }\\n require(contractSize > 0, _errorMessage);\\n }\\n}\\n\"\n },\n \"solc_0.7/diamond/interfaces/IDiamondLoupe.sol\": {\n \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity ^0.7.6;\\npragma experimental ABIEncoderV2;\\n\\n/******************************************************************************\\\\\\n* Author: Nick Mudge (https://twitter.com/mudgen)\\n* EIP-2535 Diamond Standard: https://eips.ethereum.org/EIPS/eip-2535\\n/******************************************************************************/\\n\\n// A loupe is a small magnifying glass used to look at diamonds.\\n// These functions look at diamonds\\ninterface IDiamondLoupe {\\n /// These functions are expected to be called frequently\\n /// by tools.\\n\\n struct Facet {\\n address facetAddress;\\n bytes4[] functionSelectors;\\n }\\n\\n /// @notice Gets all facet addresses and their four byte function selectors.\\n /// @return facets_ Facet\\n function facets() external view returns (Facet[] memory facets_);\\n\\n /// @notice Gets all the function selectors supported by a specific facet.\\n /// @param _facet The facet address.\\n /// @return facetFunctionSelectors_\\n function facetFunctionSelectors(address _facet) external view returns (bytes4[] memory facetFunctionSelectors_);\\n\\n /// @notice Get all the facet addresses used by a diamond.\\n /// @return facetAddresses_\\n function facetAddresses() external view returns (address[] memory facetAddresses_);\\n\\n /// @notice Gets the facet that supports the given selector.\\n /// @dev If facet is not found return address(0).\\n /// @param _functionSelector The function selector.\\n /// @return facetAddress_ The facet address.\\n function facetAddress(bytes4 _functionSelector) external view returns (address facetAddress_);\\n}\\n\"\n },\n \"solc_0.7/diamond/interfaces/IERC173.sol\": {\n \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity ^0.7.6;\\n\\n/// @title ERC-173 Contract Ownership Standard\\n/// Note: the ERC-165 identifier for this interface is 0x7f5828d0\\n/* is ERC165 */\\ninterface IERC173 {\\n /// @dev This emits when ownership of a contract changes.\\n event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);\\n\\n /// @notice Get the address of the owner\\n /// @return owner_ The address of the owner.\\n function owner() external view returns (address owner_);\\n\\n /// @notice Set the address of the new owner of the contract\\n /// @dev Set _newOwner to address(0) to renounce any ownership.\\n /// @param _newOwner The address of the new owner of the contract\\n function transferOwnership(address _newOwner) external;\\n}\\n\"\n },\n \"solc_0.7/diamond/interfaces/IERC165.sol\": {\n \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity ^0.7.6;\\npragma experimental ABIEncoderV2;\\n\\ninterface IERC165 {\\n /// @notice Query if a contract implements an interface\\n /// @param interfaceId The interface identifier, as specified in ERC-165\\n /// @dev Interface identification is specified in ERC-165. This function\\n /// uses less than 30,000 gas.\\n /// @return `true` if the contract implements `interfaceID` and\\n /// `interfaceID` is not 0xffffffff, `false` otherwise\\n function supportsInterface(bytes4 interfaceId) external view returns (bool);\\n}\\n\"\n }\n },\n \"settings\": {\n \"optimizer\": {\n \"enabled\": true,\n \"runs\": 999999\n },\n \"outputSelection\": {\n \"*\": {\n \"*\": [\n \"abi\",\n \"evm.bytecode\",\n \"evm.deployedBytecode\",\n \"evm.methodIdentifiers\",\n \"metadata\",\n \"devdoc\",\n \"userdoc\",\n \"storageLayout\",\n \"evm.gasEstimates\"\n ],\n \"\": [\n \"ast\"\n ]\n }\n },\n \"metadata\": {\n \"useLiteralContent\": true\n }\n }\n}", - "solcInputHash": "1d060b65b8264d57d416f20cb1fe798a" + "solcInput": "{\n \"language\": \"Solidity\",\n \"sources\": {\n \"solc_0.8/diamond/Diamantaire.sol\": {\n \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.0;\\npragma experimental ABIEncoderV2;\\n\\nimport \\\"./interfaces/IDiamondCut.sol\\\";\\nimport \\\"./Diamond.sol\\\";\\nimport \\\"./facets/DiamondCutFacet.sol\\\";\\nimport \\\"./facets/DiamondLoupeFacet.sol\\\";\\nimport \\\"./facets/OwnershipFacet.sol\\\";\\n\\ncontract Diamantaire {\\n event DiamondCreated(Diamond diamond);\\n\\n IDiamondCut.FacetCut[] internal _builtinDiamondCut;\\n\\n constructor() {\\n bytes4[] memory functionSelectors;\\n\\n // -------------------------------------------------------------------------\\n // adding diamondCut function\\n // -------------------------------------------------------------------------\\n DiamondCutFacet diamondCutFacet = new DiamondCutFacet();\\n\\n functionSelectors = new bytes4[](1);\\n functionSelectors[0] = DiamondCutFacet.diamondCut.selector;\\n _builtinDiamondCut.push(IDiamondCut.FacetCut({\\n facetAddress:address(diamondCutFacet),\\n action: IDiamondCut.FacetCutAction.Add,\\n functionSelectors: functionSelectors\\n }));\\n\\n\\n // -------------------------------------------------------------------------\\n // adding diamond loupe functions\\n // -------------------------------------------------------------------------\\n DiamondLoupeFacet diamondLoupeFacet = new DiamondLoupeFacet();\\n\\n functionSelectors = new bytes4[](5);\\n functionSelectors[0] = DiamondLoupeFacet.facetFunctionSelectors.selector;\\n functionSelectors[1] = DiamondLoupeFacet.facets.selector;\\n functionSelectors[2] = DiamondLoupeFacet.facetAddress.selector;\\n functionSelectors[3] = DiamondLoupeFacet.facetAddresses.selector;\\n functionSelectors[4] = DiamondLoupeFacet.supportsInterface.selector;\\n _builtinDiamondCut.push(IDiamondCut.FacetCut({\\n facetAddress:address(diamondLoupeFacet),\\n action: IDiamondCut.FacetCutAction.Add,\\n functionSelectors: functionSelectors\\n }));\\n\\n\\n // -------------------------------------------------------------------------\\n // adding ownership functions\\n // -------------------------------------------------------------------------\\n OwnershipFacet ownershipFacet = new OwnershipFacet();\\n\\n functionSelectors = new bytes4[](2);\\n functionSelectors[0] = OwnershipFacet.transferOwnership.selector;\\n functionSelectors[1] = OwnershipFacet.owner.selector;\\n _builtinDiamondCut.push(IDiamondCut.FacetCut({\\n facetAddress:address(ownershipFacet),\\n action: IDiamondCut.FacetCutAction.Add,\\n functionSelectors: functionSelectors\\n }));\\n }\\n\\n function createDiamond(\\n address owner,\\n IDiamondCut.FacetCut[] calldata _diamondCut,\\n bytes calldata data,\\n bytes32 salt\\n ) external payable returns (Diamond diamond) {\\n if (salt != 0x0000000000000000000000000000000000000000000000000000000000000000) {\\n salt = keccak256(abi.encodePacked(salt, owner));\\n diamond = new Diamond{value: msg.value, salt: salt}(\\n _builtinDiamondCut,\\n Diamond.DiamondArgs({owner:address(this)})\\n );\\n } else {\\n diamond = new Diamond{value: msg.value}(_builtinDiamondCut, Diamond.DiamondArgs({owner:address(this)}));\\n }\\n emit DiamondCreated(diamond);\\n\\n IDiamondCut(address(diamond)).diamondCut(_diamondCut, data.length > 0 ? address(diamond) : address(0), data);\\n IERC173(address(diamond)).transferOwnership(owner);\\n }\\n}\\n\"\n },\n \"solc_0.8/diamond/interfaces/IDiamondCut.sol\": {\n \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.0;\\n\\n/******************************************************************************\\\\\\n* Author: Nick Mudge (https://twitter.com/mudgen)\\n* EIP-2535 Diamonds: https://eips.ethereum.org/EIPS/eip-2535\\n/******************************************************************************/\\n\\ninterface IDiamondCut {\\n enum FacetCutAction {Add, Replace, Remove}\\n // Add=0, Replace=1, Remove=2\\n\\n struct FacetCut {\\n address facetAddress;\\n FacetCutAction action;\\n bytes4[] functionSelectors;\\n }\\n\\n /// @notice Add/replace/remove any number of functions and optionally execute\\n /// a function with delegatecall\\n /// @param _diamondCut Contains the facet addresses and function selectors\\n /// @param _init The address of the contract or facet to execute _calldata\\n /// @param _calldata A function call, including function selector and arguments\\n /// _calldata is executed with delegatecall on _init\\n function diamondCut(\\n FacetCut[] calldata _diamondCut,\\n address _init,\\n bytes calldata _calldata\\n ) external;\\n\\n event DiamondCut(FacetCut[] _diamondCut, address _init, bytes _calldata);\\n}\\n\"\n },\n \"solc_0.8/diamond/Diamond.sol\": {\n \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.0;\\n\\n/******************************************************************************\\\\\\n* Author: Nick Mudge (https://twitter.com/mudgen)\\n* EIP-2535 Diamonds: https://eips.ethereum.org/EIPS/eip-2535\\n*\\n* Implementation of a diamond.\\n/******************************************************************************/\\n\\nimport { LibDiamond } from \\\"./libraries/LibDiamond.sol\\\";\\nimport { IDiamondCut } from \\\"./interfaces/IDiamondCut.sol\\\";\\nimport { IDiamondLoupe } from \\\"./interfaces/IDiamondLoupe.sol\\\";\\nimport { IERC173 } from \\\"./interfaces/IERC173.sol\\\";\\nimport { IERC165 } from \\\"./interfaces/IERC165.sol\\\";\\n\\ncontract Diamond {\\n // more arguments are added to this struct\\n // this avoids stack too deep errors\\n struct DiamondArgs {\\n address owner;\\n }\\n\\n constructor(IDiamondCut.FacetCut[] memory _diamondCut, DiamondArgs memory _args) payable {\\n LibDiamond.diamondCut(_diamondCut, address(0), new bytes(0));\\n LibDiamond.setContractOwner(_args.owner);\\n\\n LibDiamond.DiamondStorage storage ds = LibDiamond.diamondStorage();\\n\\n // adding ERC165 data\\n ds.supportedInterfaces[type(IERC165).interfaceId] = true;\\n ds.supportedInterfaces[type(IDiamondCut).interfaceId] = true;\\n ds.supportedInterfaces[type(IDiamondLoupe).interfaceId] = true;\\n ds.supportedInterfaces[type(IERC173).interfaceId] = true;\\n }\\n\\n// constructor(address _contractOwner, address _diamondCutFacet) payable {\\n// LibDiamond.setContractOwner(_contractOwner);\\n//\\n// // Add the diamondCut external function from the diamondCutFacet\\n// IDiamondCut.FacetCut[] memory cut = new IDiamondCut.FacetCut[](1);\\n// bytes4[] memory functionSelectors = new bytes4[](1);\\n// functionSelectors[0] = IDiamondCut.diamondCut.selector;\\n// cut[0] = IDiamondCut.FacetCut({\\n// facetAddress: _diamondCutFacet,\\n// action: IDiamondCut.FacetCutAction.Add,\\n// functionSelectors: functionSelectors\\n// });\\n// LibDiamond.diamondCut(cut, address(0), \\\"\\\");\\n// }\\n\\n // Find facet for function that is called and execute the\\n // function if a facet is found and return any value.\\n fallback() external payable {\\n LibDiamond.DiamondStorage storage ds;\\n bytes32 position = LibDiamond.DIAMOND_STORAGE_POSITION;\\n // get diamond storage\\n assembly {\\n ds.slot := position\\n }\\n // get facet from function selector\\n address facet = ds.selectorToFacetAndPosition[msg.sig].facetAddress;\\n require(facet != address(0), \\\"Diamond: Function does not exist\\\");\\n // Execute external function from facet using delegatecall and return any value.\\n assembly {\\n // copy function selector and any arguments\\n calldatacopy(0, 0, calldatasize())\\n // execute function call using the facet\\n let result := delegatecall(gas(), facet, 0, calldatasize(), 0, 0)\\n // get any return value\\n returndatacopy(0, 0, returndatasize())\\n // return any return value or error back to the caller\\n switch result\\n case 0 {\\n revert(0, returndatasize())\\n }\\n default {\\n return(0, returndatasize())\\n }\\n }\\n }\\n\\n receive() external payable {}\\n}\\n\"\n },\n \"solc_0.8/diamond/facets/DiamondCutFacet.sol\": {\n \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.0;\\n\\n/******************************************************************************\\\\\\n* Author: Nick Mudge (https://twitter.com/mudgen)\\n* EIP-2535 Diamonds: https://eips.ethereum.org/EIPS/eip-2535\\n/******************************************************************************/\\n\\nimport { IDiamondCut } from \\\"../interfaces/IDiamondCut.sol\\\";\\nimport { LibDiamond } from \\\"../libraries/LibDiamond.sol\\\";\\n\\ncontract DiamondCutFacet is IDiamondCut {\\n /// @notice Add/replace/remove any number of functions and optionally execute\\n /// a function with delegatecall\\n /// @param _diamondCut Contains the facet addresses and function selectors\\n /// @param _init The address of the contract or facet to execute _calldata\\n /// @param _calldata A function call, including function selector and arguments\\n /// _calldata is executed with delegatecall on _init\\n function diamondCut(\\n FacetCut[] calldata _diamondCut,\\n address _init,\\n bytes calldata _calldata\\n ) external override {\\n LibDiamond.enforceIsContractOwner();\\n LibDiamond.diamondCut(_diamondCut, _init, _calldata);\\n }\\n}\\n\"\n },\n \"solc_0.8/diamond/facets/DiamondLoupeFacet.sol\": {\n \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.0;\\n/******************************************************************************\\\\\\n* Author: Nick Mudge (https://twitter.com/mudgen)\\n* EIP-2535 Diamonds: https://eips.ethereum.org/EIPS/eip-2535\\n/******************************************************************************/\\n\\nimport { LibDiamond } from \\\"../libraries/LibDiamond.sol\\\";\\nimport { IDiamondLoupe } from \\\"../interfaces/IDiamondLoupe.sol\\\";\\nimport { IERC165 } from \\\"../interfaces/IERC165.sol\\\";\\n\\ncontract DiamondLoupeFacet is IDiamondLoupe, IERC165 {\\n // Diamond Loupe Functions\\n ////////////////////////////////////////////////////////////////////\\n /// These functions are expected to be called frequently by tools.\\n //\\n // struct Facet {\\n // address facetAddress;\\n // bytes4[] functionSelectors;\\n // }\\n\\n /// @notice Gets all facets and their selectors.\\n /// @return facets_ Facet\\n function facets() external override view returns (Facet[] memory facets_) {\\n LibDiamond.DiamondStorage storage ds = LibDiamond.diamondStorage();\\n uint256 numFacets = ds.facetAddresses.length;\\n facets_ = new Facet[](numFacets);\\n for (uint256 i; i < numFacets; i++) {\\n address facetAddress_ = ds.facetAddresses[i];\\n facets_[i].facetAddress = facetAddress_;\\n facets_[i].functionSelectors = ds.facetFunctionSelectors[facetAddress_].functionSelectors;\\n }\\n }\\n\\n /// @notice Gets all the function selectors provided by a facet.\\n /// @param _facet The facet address.\\n /// @return facetFunctionSelectors_\\n function facetFunctionSelectors(address _facet) external override view returns (bytes4[] memory facetFunctionSelectors_) {\\n LibDiamond.DiamondStorage storage ds = LibDiamond.diamondStorage();\\n facetFunctionSelectors_ = ds.facetFunctionSelectors[_facet].functionSelectors;\\n }\\n\\n /// @notice Get all the facet addresses used by a diamond.\\n /// @return facetAddresses_\\n function facetAddresses() external override view returns (address[] memory facetAddresses_) {\\n LibDiamond.DiamondStorage storage ds = LibDiamond.diamondStorage();\\n facetAddresses_ = ds.facetAddresses;\\n }\\n\\n /// @notice Gets the facet that supports the given selector.\\n /// @dev If facet is not found return address(0).\\n /// @param _functionSelector The function selector.\\n /// @return facetAddress_ The facet address.\\n function facetAddress(bytes4 _functionSelector) external override view returns (address facetAddress_) {\\n LibDiamond.DiamondStorage storage ds = LibDiamond.diamondStorage();\\n facetAddress_ = ds.selectorToFacetAndPosition[_functionSelector].facetAddress;\\n }\\n\\n // This implements ERC-165.\\n function supportsInterface(bytes4 _interfaceId) external override view returns (bool) {\\n LibDiamond.DiamondStorage storage ds = LibDiamond.diamondStorage();\\n return ds.supportedInterfaces[_interfaceId];\\n }\\n}\\n\"\n },\n \"solc_0.8/diamond/facets/OwnershipFacet.sol\": {\n \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.0;\\n\\nimport { LibDiamond } from \\\"../libraries/LibDiamond.sol\\\";\\nimport { IERC173 } from \\\"../interfaces/IERC173.sol\\\";\\n\\ncontract OwnershipFacet is IERC173 {\\n function transferOwnership(address _newOwner) external override {\\n LibDiamond.enforceIsContractOwner();\\n LibDiamond.setContractOwner(_newOwner);\\n }\\n\\n function owner() external override view returns (address owner_) {\\n owner_ = LibDiamond.contractOwner();\\n }\\n}\\n\"\n },\n \"solc_0.8/diamond/libraries/LibDiamond.sol\": {\n \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.0;\\n\\n/******************************************************************************\\\\\\n* Author: Nick Mudge (https://twitter.com/mudgen)\\n* EIP-2535 Diamonds: https://eips.ethereum.org/EIPS/eip-2535\\n/******************************************************************************/\\nimport { IDiamondCut } from \\\"../interfaces/IDiamondCut.sol\\\";\\n\\nlibrary LibDiamond {\\n bytes32 constant DIAMOND_STORAGE_POSITION = keccak256(\\\"diamond.standard.diamond.storage\\\");\\n\\n struct FacetAddressAndPosition {\\n address facetAddress;\\n uint96 functionSelectorPosition; // position in facetFunctionSelectors.functionSelectors array\\n }\\n\\n struct FacetFunctionSelectors {\\n bytes4[] functionSelectors;\\n uint256 facetAddressPosition; // position of facetAddress in facetAddresses array\\n }\\n\\n struct DiamondStorage {\\n // maps function selector to the facet address and\\n // the position of the selector in the facetFunctionSelectors.selectors array\\n mapping(bytes4 => FacetAddressAndPosition) selectorToFacetAndPosition;\\n // maps facet addresses to function selectors\\n mapping(address => FacetFunctionSelectors) facetFunctionSelectors;\\n // facet addresses\\n address[] facetAddresses;\\n // Used to query if a contract implements an interface.\\n // Used to implement ERC-165.\\n mapping(bytes4 => bool) supportedInterfaces;\\n // owner of the contract\\n address contractOwner;\\n }\\n\\n function diamondStorage() internal pure returns (DiamondStorage storage ds) {\\n bytes32 position = DIAMOND_STORAGE_POSITION;\\n assembly {\\n ds.slot := position\\n }\\n }\\n\\n event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);\\n\\n function setContractOwner(address _newOwner) internal {\\n DiamondStorage storage ds = diamondStorage();\\n address previousOwner = ds.contractOwner;\\n ds.contractOwner = _newOwner;\\n emit OwnershipTransferred(previousOwner, _newOwner);\\n }\\n\\n function contractOwner() internal view returns (address contractOwner_) {\\n contractOwner_ = diamondStorage().contractOwner;\\n }\\n\\n function enforceIsContractOwner() internal view {\\n require(msg.sender == diamondStorage().contractOwner, \\\"LibDiamond: Must be contract owner\\\");\\n }\\n\\n event DiamondCut(IDiamondCut.FacetCut[] _diamondCut, address _init, bytes _calldata);\\n\\n // Internal function version of diamondCut\\n function diamondCut(\\n IDiamondCut.FacetCut[] memory _diamondCut,\\n address _init,\\n bytes memory _calldata\\n ) internal {\\n for (uint256 facetIndex; facetIndex < _diamondCut.length; facetIndex++) {\\n IDiamondCut.FacetCutAction action = _diamondCut[facetIndex].action;\\n if (action == IDiamondCut.FacetCutAction.Add) {\\n addFunctions(_diamondCut[facetIndex].facetAddress, _diamondCut[facetIndex].functionSelectors);\\n } else if (action == IDiamondCut.FacetCutAction.Replace) {\\n replaceFunctions(_diamondCut[facetIndex].facetAddress, _diamondCut[facetIndex].functionSelectors);\\n } else if (action == IDiamondCut.FacetCutAction.Remove) {\\n removeFunctions(_diamondCut[facetIndex].facetAddress, _diamondCut[facetIndex].functionSelectors);\\n } else {\\n revert(\\\"LibDiamondCut: Incorrect FacetCutAction\\\");\\n }\\n }\\n emit DiamondCut(_diamondCut, _init, _calldata);\\n initializeDiamondCut(_init, _calldata);\\n }\\n\\n function addFunctions(address _facetAddress, bytes4[] memory _functionSelectors) internal {\\n require(_functionSelectors.length > 0, \\\"LibDiamondCut: No selectors in facet to cut\\\");\\n DiamondStorage storage ds = diamondStorage(); \\n require(_facetAddress != address(0), \\\"LibDiamondCut: Add facet can't be address(0)\\\");\\n uint96 selectorPosition = uint96(ds.facetFunctionSelectors[_facetAddress].functionSelectors.length);\\n // add new facet address if it does not exist\\n if (selectorPosition == 0) {\\n addFacet(ds, _facetAddress); \\n }\\n for (uint256 selectorIndex; selectorIndex < _functionSelectors.length; selectorIndex++) {\\n bytes4 selector = _functionSelectors[selectorIndex];\\n address oldFacetAddress = ds.selectorToFacetAndPosition[selector].facetAddress;\\n require(oldFacetAddress == address(0), \\\"LibDiamondCut: Can't add function that already exists\\\");\\n addFunction(ds, selector, selectorPosition, _facetAddress);\\n selectorPosition++;\\n }\\n }\\n\\n function replaceFunctions(address _facetAddress, bytes4[] memory _functionSelectors) internal {\\n require(_functionSelectors.length > 0, \\\"LibDiamondCut: No selectors in facet to cut\\\");\\n DiamondStorage storage ds = diamondStorage();\\n require(_facetAddress != address(0), \\\"LibDiamondCut: Add facet can't be address(0)\\\");\\n uint96 selectorPosition = uint96(ds.facetFunctionSelectors[_facetAddress].functionSelectors.length);\\n // add new facet address if it does not exist\\n if (selectorPosition == 0) {\\n addFacet(ds, _facetAddress);\\n }\\n for (uint256 selectorIndex; selectorIndex < _functionSelectors.length; selectorIndex++) {\\n bytes4 selector = _functionSelectors[selectorIndex];\\n address oldFacetAddress = ds.selectorToFacetAndPosition[selector].facetAddress;\\n require(oldFacetAddress != _facetAddress, \\\"LibDiamondCut: Can't replace function with same function\\\");\\n removeFunction(ds, oldFacetAddress, selector);\\n addFunction(ds, selector, selectorPosition, _facetAddress);\\n selectorPosition++;\\n }\\n }\\n\\n function removeFunctions(address _facetAddress, bytes4[] memory _functionSelectors) internal {\\n require(_functionSelectors.length > 0, \\\"LibDiamondCut: No selectors in facet to cut\\\");\\n DiamondStorage storage ds = diamondStorage();\\n // if function does not exist then do nothing and return\\n require(_facetAddress == address(0), \\\"LibDiamondCut: Remove facet address must be address(0)\\\");\\n for (uint256 selectorIndex; selectorIndex < _functionSelectors.length; selectorIndex++) {\\n bytes4 selector = _functionSelectors[selectorIndex];\\n address oldFacetAddress = ds.selectorToFacetAndPosition[selector].facetAddress;\\n removeFunction(ds, oldFacetAddress, selector);\\n }\\n }\\n\\n function addFacet(DiamondStorage storage ds, address _facetAddress) internal {\\n enforceHasContractCode(_facetAddress, \\\"LibDiamondCut: New facet has no code\\\");\\n ds.facetFunctionSelectors[_facetAddress].facetAddressPosition = ds.facetAddresses.length;\\n ds.facetAddresses.push(_facetAddress);\\n } \\n\\n\\n function addFunction(DiamondStorage storage ds, bytes4 _selector, uint96 _selectorPosition, address _facetAddress) internal {\\n ds.selectorToFacetAndPosition[_selector].functionSelectorPosition = _selectorPosition;\\n ds.facetFunctionSelectors[_facetAddress].functionSelectors.push(_selector);\\n ds.selectorToFacetAndPosition[_selector].facetAddress = _facetAddress;\\n }\\n\\n function removeFunction(DiamondStorage storage ds, address _facetAddress, bytes4 _selector) internal { \\n require(_facetAddress != address(0), \\\"LibDiamondCut: Can't remove function that doesn't exist\\\");\\n // an immutable function is a function defined directly in a diamond\\n require(_facetAddress != address(this), \\\"LibDiamondCut: Can't remove immutable function\\\");\\n // replace selector with last selector, then delete last selector\\n uint256 selectorPosition = ds.selectorToFacetAndPosition[_selector].functionSelectorPosition;\\n uint256 lastSelectorPosition = ds.facetFunctionSelectors[_facetAddress].functionSelectors.length - 1;\\n // if not the same then replace _selector with lastSelector\\n if (selectorPosition != lastSelectorPosition) {\\n bytes4 lastSelector = ds.facetFunctionSelectors[_facetAddress].functionSelectors[lastSelectorPosition];\\n ds.facetFunctionSelectors[_facetAddress].functionSelectors[selectorPosition] = lastSelector;\\n ds.selectorToFacetAndPosition[lastSelector].functionSelectorPosition = uint96(selectorPosition);\\n }\\n // delete the last selector\\n ds.facetFunctionSelectors[_facetAddress].functionSelectors.pop();\\n delete ds.selectorToFacetAndPosition[_selector];\\n\\n // if no more selectors for facet address then delete the facet address\\n if (lastSelectorPosition == 0) {\\n // replace facet address with last facet address and delete last facet address\\n uint256 lastFacetAddressPosition = ds.facetAddresses.length - 1;\\n uint256 facetAddressPosition = ds.facetFunctionSelectors[_facetAddress].facetAddressPosition;\\n if (facetAddressPosition != lastFacetAddressPosition) {\\n address lastFacetAddress = ds.facetAddresses[lastFacetAddressPosition];\\n ds.facetAddresses[facetAddressPosition] = lastFacetAddress;\\n ds.facetFunctionSelectors[lastFacetAddress].facetAddressPosition = facetAddressPosition;\\n }\\n ds.facetAddresses.pop();\\n delete ds.facetFunctionSelectors[_facetAddress].facetAddressPosition;\\n }\\n }\\n\\n function initializeDiamondCut(address _init, bytes memory _calldata) internal {\\n if (_init == address(0)) {\\n require(_calldata.length == 0, \\\"LibDiamondCut: _init is address(0) but_calldata is not empty\\\");\\n } else {\\n require(_calldata.length > 0, \\\"LibDiamondCut: _calldata is empty but _init is not address(0)\\\");\\n if (_init != address(this)) {\\n enforceHasContractCode(_init, \\\"LibDiamondCut: _init address has no code\\\");\\n }\\n (bool success, bytes memory error) = _init.delegatecall(_calldata);\\n if (!success) {\\n if (error.length > 0) {\\n // bubble up the error\\n revert(string(error));\\n } else {\\n revert(\\\"LibDiamondCut: _init function reverted\\\");\\n }\\n }\\n }\\n }\\n\\n function enforceHasContractCode(address _contract, string memory _errorMessage) internal view {\\n uint256 contractSize;\\n assembly {\\n contractSize := extcodesize(_contract)\\n }\\n require(contractSize > 0, _errorMessage);\\n }\\n}\\n\"\n },\n \"solc_0.8/diamond/interfaces/IDiamondLoupe.sol\": {\n \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.0;\\n\\n/******************************************************************************\\\\\\n* Author: Nick Mudge (https://twitter.com/mudgen)\\n* EIP-2535 Diamonds: https://eips.ethereum.org/EIPS/eip-2535\\n/******************************************************************************/\\n\\n// A loupe is a small magnifying glass used to look at diamonds.\\n// These functions look at diamonds\\ninterface IDiamondLoupe {\\n /// These functions are expected to be called frequently\\n /// by tools.\\n\\n struct Facet {\\n address facetAddress;\\n bytes4[] functionSelectors;\\n }\\n\\n /// @notice Gets all facet addresses and their four byte function selectors.\\n /// @return facets_ Facet\\n function facets() external view returns (Facet[] memory facets_);\\n\\n /// @notice Gets all the function selectors supported by a specific facet.\\n /// @param _facet The facet address.\\n /// @return facetFunctionSelectors_\\n function facetFunctionSelectors(address _facet) external view returns (bytes4[] memory facetFunctionSelectors_);\\n\\n /// @notice Get all the facet addresses used by a diamond.\\n /// @return facetAddresses_\\n function facetAddresses() external view returns (address[] memory facetAddresses_);\\n\\n /// @notice Gets the facet that supports the given selector.\\n /// @dev If facet is not found return address(0).\\n /// @param _functionSelector The function selector.\\n /// @return facetAddress_ The facet address.\\n function facetAddress(bytes4 _functionSelector) external view returns (address facetAddress_);\\n}\\n\"\n },\n \"solc_0.8/diamond/interfaces/IERC173.sol\": {\n \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.0;\\n\\n/// @title ERC-173 Contract Ownership Standard\\n/// Note: the ERC-165 identifier for this interface is 0x7f5828d0\\n/* is ERC165 */\\ninterface IERC173 {\\n /// @dev This emits when ownership of a contract changes.\\n event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);\\n\\n /// @notice Get the address of the owner\\n /// @return owner_ The address of the owner.\\n function owner() external view returns (address owner_);\\n\\n /// @notice Set the address of the new owner of the contract\\n /// @dev Set _newOwner to address(0) to renounce any ownership.\\n /// @param _newOwner The address of the new owner of the contract\\n function transferOwnership(address _newOwner) external;\\n}\\n\"\n },\n \"solc_0.8/diamond/interfaces/IERC165.sol\": {\n \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.0;\\n\\ninterface IERC165 {\\n /// @notice Query if a contract implements an interface\\n /// @param interfaceId The interface identifier, as specified in ERC-165\\n /// @dev Interface identification is specified in ERC-165. This function\\n /// uses less than 30,000 gas.\\n /// @return `true` if the contract implements `interfaceID` and\\n /// `interfaceID` is not 0xffffffff, `false` otherwise\\n function supportsInterface(bytes4 interfaceId) external view returns (bool);\\n}\\n\"\n },\n \"solc_0.8/diamond/upgradeInitializers/DiamondInit.sol\": {\n \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.0;\\n\\n/******************************************************************************\\\\\\n* Author: Nick Mudge (https://twitter.com/mudgen)\\n* EIP-2535 Diamonds: https://eips.ethereum.org/EIPS/eip-2535\\n*\\n* Implementation of a diamond.\\n/******************************************************************************/\\n\\nimport {LibDiamond} from \\\"../libraries/LibDiamond.sol\\\";\\nimport { IDiamondLoupe } from \\\"../interfaces/IDiamondLoupe.sol\\\";\\nimport { IDiamondCut } from \\\"../interfaces/IDiamondCut.sol\\\";\\nimport { IERC173 } from \\\"../interfaces/IERC173.sol\\\";\\nimport { IERC165 } from \\\"../interfaces/IERC165.sol\\\";\\n\\n// It is exapected that this contract is customized if you want to deploy your diamond\\n// with data from a deployment script. Use the init function to initialize state variables\\n// of your diamond. Add parameters to the init funciton if you need to.\\n\\ncontract DiamondInit { \\n\\n // You can add parameters to this function in order to pass in \\n // data to set your own state variables\\n function init() external {\\n // adding ERC165 data\\n LibDiamond.DiamondStorage storage ds = LibDiamond.diamondStorage();\\n ds.supportedInterfaces[type(IERC165).interfaceId] = true;\\n ds.supportedInterfaces[type(IDiamondCut).interfaceId] = true;\\n ds.supportedInterfaces[type(IDiamondLoupe).interfaceId] = true;\\n ds.supportedInterfaces[type(IERC173).interfaceId] = true;\\n\\n // add your own state variables \\n // EIP-2535 specifies that the `diamondCut` function takes two optional \\n // arguments: address _init and bytes calldata _calldata\\n // These arguments are used to execute an arbitrary function using delegatecall\\n // in order to set state variables in the diamond during deployment or an upgrade\\n // More info here: https://eips.ethereum.org/EIPS/eip-2535#diamond-interface \\n }\\n\\n\\n}\"\n }\n },\n \"settings\": {\n \"optimizer\": {\n \"enabled\": true,\n \"runs\": 999999\n },\n \"outputSelection\": {\n \"*\": {\n \"*\": [\n \"abi\",\n \"evm.bytecode\",\n \"evm.deployedBytecode\",\n \"evm.methodIdentifiers\",\n \"metadata\",\n \"devdoc\",\n \"userdoc\",\n \"storageLayout\",\n \"evm.gasEstimates\"\n ],\n \"\": [\n \"ast\"\n ]\n }\n },\n \"metadata\": {\n \"useLiteralContent\": true\n }\n }\n}", + "solcInputHash": "91f18d120de6fe2bcaa5a3bff0ad9fe7" } \ No newline at end of file diff --git a/extendedArtifacts/LibDiamond.json b/extendedArtifacts/LibDiamond.json index e6200227..85a069d8 100644 --- a/extendedArtifacts/LibDiamond.json +++ b/extendedArtifacts/LibDiamond.json @@ -1,6 +1,6 @@ { "contractName": "LibDiamond", - "sourceName": "solc_0.7/diamond/libraries/LibDiamond.sol", + "sourceName": "solc_0.8/diamond/libraries/LibDiamond.sol", "abi": [ { "anonymous": false, @@ -64,8 +64,8 @@ "type": "event" } ], - "bytecode": "0x60566023600b82828239805160001a607314601657fe5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea2646970667358221220a50ca1c9ff108d2a8d60d39b505778dcb7d1e8a5dec6477fe0a2d89aa17ccf8664736f6c63430007060033", - "deployedBytecode": "0x73000000000000000000000000000000000000000030146080604052600080fdfea2646970667358221220a50ca1c9ff108d2a8d60d39b505778dcb7d1e8a5dec6477fe0a2d89aa17ccf8664736f6c63430007060033", + "bytecode": "0x60566037600b82828239805160001a607314602a57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea2646970667358221220cc5319d28a55e673397831481f8715a1fa2834a1d45424ed1f41a135d8aa5d8964736f6c63430008090033", + "deployedBytecode": "0x73000000000000000000000000000000000000000030146080604052600080fdfea2646970667358221220cc5319d28a55e673397831481f8715a1fa2834a1d45424ed1f41a135d8aa5d8964736f6c63430008090033", "linkReferences": {}, "deployedLinkReferences": {}, "devdoc": { @@ -75,25 +75,29 @@ }, "evm": { "bytecode": { + "functionDebugData": {}, "generatedSources": [], "linkReferences": {}, - "opcodes": "PUSH1 0x56 PUSH1 0x23 PUSH1 0xB DUP3 DUP3 DUP3 CODECOPY DUP1 MLOAD PUSH1 0x0 BYTE PUSH1 0x73 EQ PUSH1 0x16 JUMPI INVALID JUMPDEST ADDRESS PUSH1 0x0 MSTORE PUSH1 0x73 DUP2 MSTORE8 DUP3 DUP2 RETURN INVALID PUSH20 0x0 ADDRESS EQ PUSH1 0x80 PUSH1 0x40 MSTORE PUSH1 0x0 DUP1 REVERT INVALID LOG2 PUSH5 0x6970667358 0x22 SLT KECCAK256 0xA5 0xC LOG1 0xC9 SELFDESTRUCT LT DUP14 0x2A DUP14 PUSH1 0xD3 SWAP12 POP JUMPI PUSH25 0xDCB7D1E8A5DEC6477FE0A2D89AA17CCF8664736F6C63430007 MOD STOP CALLER ", - "sourceMap": "445:10449:9:-:0;;;;;;;;;;;;;;;;;;;;;;;;;" + "opcodes": "PUSH1 0x56 PUSH1 0x37 PUSH1 0xB DUP3 DUP3 DUP3 CODECOPY DUP1 MLOAD PUSH1 0x0 BYTE PUSH1 0x73 EQ PUSH1 0x2A JUMPI PUSH4 0x4E487B71 PUSH1 0xE0 SHL PUSH1 0x0 MSTORE PUSH1 0x0 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST ADDRESS PUSH1 0x0 MSTORE PUSH1 0x73 DUP2 MSTORE8 DUP3 DUP2 RETURN INVALID PUSH20 0x0 ADDRESS EQ PUSH1 0x80 PUSH1 0x40 MSTORE PUSH1 0x0 DUP1 REVERT INVALID LOG2 PUSH5 0x6970667358 0x22 SLT KECCAK256 0xCC MSTORE8 NOT 0xD2 DUP11 SSTORE 0xE6 PUSH20 0x397831481F8715A1FA2834A1D45424ED1F41A135 0xD8 0xAA 0x5D DUP10 PUSH5 0x736F6C6343 STOP ADDMOD MULMOD STOP CALLER ", + "sourceMap": "423:10258:9:-:0;;;;;;;;;;;;;;;-1:-1:-1;;;423:10258:9;;;;;;;;;;;;;;;;;" }, "deployedBytecode": { + "functionDebugData": {}, "generatedSources": [], "immutableReferences": {}, "linkReferences": {}, - "opcodes": "PUSH20 0x0 ADDRESS EQ PUSH1 0x80 PUSH1 0x40 MSTORE PUSH1 0x0 DUP1 REVERT INVALID LOG2 PUSH5 0x6970667358 0x22 SLT KECCAK256 0xA5 0xC LOG1 0xC9 SELFDESTRUCT LT DUP14 0x2A DUP14 PUSH1 0xD3 SWAP12 POP JUMPI PUSH25 0xDCB7D1E8A5DEC6477FE0A2D89AA17CCF8664736F6C63430007 MOD STOP CALLER ", - "sourceMap": "445:10449:9:-:0;;;;;;;;" + "opcodes": "PUSH20 0x0 ADDRESS EQ PUSH1 0x80 PUSH1 0x40 MSTORE PUSH1 0x0 DUP1 REVERT INVALID LOG2 PUSH5 0x6970667358 0x22 SLT KECCAK256 0xCC MSTORE8 NOT 0xD2 DUP11 SSTORE 0xE6 PUSH20 0x397831481F8715A1FA2834A1D45424ED1F41A135 0xD8 0xAA 0x5D DUP10 PUSH5 0x736F6C6343 STOP ADDMOD MULMOD STOP CALLER ", + "sourceMap": "423:10258:9:-:0;;;;;;;;" }, "gasEstimates": { "creation": { "codeDepositCost": "17200", - "executionCost": "97", - "totalCost": "17297" + "executionCost": "103", + "totalCost": "17303" }, "internal": { + "addFacet(struct LibDiamond.DiamondStorage storage pointer,address)": "infinite", + "addFunction(struct LibDiamond.DiamondStorage storage pointer,bytes4,uint96,address)": "infinite", "addFunctions(address,bytes4[] memory)": "infinite", "contractOwner()": "infinite", "diamondCut(struct IDiamondCut.FacetCut memory[] memory,address,bytes memory)": "infinite", @@ -101,7 +105,7 @@ "enforceHasContractCode(address,string memory)": "infinite", "enforceIsContractOwner()": "infinite", "initializeDiamondCut(address,bytes memory)": "infinite", - "removeFunction(address,bytes4)": "infinite", + "removeFunction(struct LibDiamond.DiamondStorage storage pointer,address,bytes4)": "infinite", "removeFunctions(address,bytes4[] memory)": "infinite", "replaceFunctions(address,bytes4[] memory)": "infinite", "setContractOwner(address)": "infinite" @@ -109,7 +113,7 @@ }, "methodIdentifiers": {} }, - "metadata": "{\"compiler\":{\"version\":\"0.7.6+commit.7338295f\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"anonymous\":false,\"inputs\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"facetAddress\",\"type\":\"address\"},{\"internalType\":\"enum IDiamondCut.FacetCutAction\",\"name\":\"action\",\"type\":\"uint8\"},{\"internalType\":\"bytes4[]\",\"name\":\"functionSelectors\",\"type\":\"bytes4[]\"}],\"indexed\":false,\"internalType\":\"struct IDiamondCut.FacetCut[]\",\"name\":\"_diamondCut\",\"type\":\"tuple[]\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"_init\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"bytes\",\"name\":\"_calldata\",\"type\":\"bytes\"}],\"name\":\"DiamondCut\",\"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\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"solc_0.7/diamond/libraries/LibDiamond.sol\":\"LibDiamond\"},\"evmVersion\":\"istanbul\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\",\"useLiteralContent\":true},\"optimizer\":{\"enabled\":true,\"runs\":999999},\"remappings\":[]},\"sources\":{\"solc_0.7/diamond/interfaces/IDiamondCut.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\npragma solidity ^0.7.6;\\npragma experimental ABIEncoderV2;\\n\\n/******************************************************************************\\\\\\n* Author: Nick Mudge (https://twitter.com/mudgen)\\n* EIP-2535 Diamond Standard: https://eips.ethereum.org/EIPS/eip-2535\\n/******************************************************************************/\\n\\ninterface IDiamondCut {\\n enum FacetCutAction {Add, Replace, Remove}\\n // Add=0, Replace=1, Remove=2\\n\\n struct FacetCut {\\n address facetAddress;\\n FacetCutAction action;\\n bytes4[] functionSelectors;\\n }\\n\\n /// @notice Add/replace/remove any number of functions and optionally execute\\n /// a function with delegatecall\\n /// @param _diamondCut Contains the facet addresses and function selectors\\n /// @param _init The address of the contract or facet to execute _calldata\\n /// @param _calldata A function call, including function selector and arguments\\n /// _calldata is executed with delegatecall on _init\\n function diamondCut(\\n FacetCut[] calldata _diamondCut,\\n address _init,\\n bytes calldata _calldata\\n ) external;\\n\\n event DiamondCut(FacetCut[] _diamondCut, address _init, bytes _calldata);\\n}\\n\",\"keccak256\":\"0xfb3c1af58cd19e1e49f065e33c7c68045ce451c3e16920614979624c44faf892\",\"license\":\"MIT\"},\"solc_0.7/diamond/libraries/LibDiamond.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\npragma solidity ^0.7.6;\\npragma experimental ABIEncoderV2;\\n\\n/******************************************************************************\\\\\\n* Author: Nick Mudge (https://twitter.com/mudgen)\\n* EIP-2535 Diamond Standard: https://eips.ethereum.org/EIPS/eip-2535\\n/******************************************************************************/\\n\\nimport \\\"../interfaces/IDiamondCut.sol\\\";\\n\\nlibrary LibDiamond {\\n bytes32 constant DIAMOND_STORAGE_POSITION = keccak256(\\\"diamond.standard.diamond.storage\\\");\\n\\n struct FacetAddressAndPosition {\\n address facetAddress;\\n uint16 functionSelectorPosition; // position in facetFunctionSelectors.functionSelectors array\\n }\\n\\n struct FacetFunctionSelectors {\\n bytes4[] functionSelectors;\\n uint16 facetAddressPosition; // position of facetAddress in facetAddresses array\\n }\\n\\n struct DiamondStorage {\\n // maps function selector to the facet address and\\n // the position of the selector in the facetFunctionSelectors.selectors array\\n mapping(bytes4 => FacetAddressAndPosition) selectorToFacetAndPosition;\\n // maps facet addresses to function selectors\\n mapping(address => FacetFunctionSelectors) facetFunctionSelectors;\\n // facet addresses\\n address[] facetAddresses;\\n // Used to query if a contract implements an interface.\\n // Used to implement ERC-165.\\n mapping(bytes4 => bool) supportedInterfaces;\\n // owner of the contract\\n address contractOwner;\\n }\\n\\n function diamondStorage() internal pure returns (DiamondStorage storage ds) {\\n bytes32 position = DIAMOND_STORAGE_POSITION;\\n assembly {\\n ds.slot := position\\n }\\n }\\n\\n event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);\\n\\n function setContractOwner(address _newOwner) internal {\\n DiamondStorage storage ds = diamondStorage();\\n address previousOwner = ds.contractOwner;\\n ds.contractOwner = _newOwner;\\n emit OwnershipTransferred(previousOwner, _newOwner);\\n }\\n\\n function contractOwner() internal view returns (address contractOwner_) {\\n contractOwner_ = diamondStorage().contractOwner;\\n }\\n\\n function enforceIsContractOwner() internal view {\\n require(msg.sender == diamondStorage().contractOwner, \\\"LibDiamond: Must be contract owner\\\");\\n }\\n\\n event DiamondCut(IDiamondCut.FacetCut[] _diamondCut, address _init, bytes _calldata);\\n\\n // Internal function version of diamondCut\\n function diamondCut(\\n IDiamondCut.FacetCut[] memory _diamondCut,\\n address _init,\\n bytes memory _calldata\\n ) internal {\\n for (uint256 facetIndex; facetIndex < _diamondCut.length; facetIndex++) {\\n IDiamondCut.FacetCutAction action = _diamondCut[facetIndex].action;\\n if (action == IDiamondCut.FacetCutAction.Add) {\\n addFunctions(_diamondCut[facetIndex].facetAddress, _diamondCut[facetIndex].functionSelectors);\\n } else if (action == IDiamondCut.FacetCutAction.Replace) {\\n replaceFunctions(_diamondCut[facetIndex].facetAddress, _diamondCut[facetIndex].functionSelectors);\\n } else if (action == IDiamondCut.FacetCutAction.Remove) {\\n removeFunctions(_diamondCut[facetIndex].facetAddress, _diamondCut[facetIndex].functionSelectors);\\n } else {\\n revert(\\\"LibDiamondCut: Incorrect FacetCutAction\\\");\\n }\\n }\\n emit DiamondCut(_diamondCut, _init, _calldata);\\n initializeDiamondCut(_init, _calldata);\\n }\\n\\n function addFunctions(address _facetAddress, bytes4[] memory _functionSelectors) internal {\\n require(_functionSelectors.length > 0, \\\"LibDiamondCut: No selectors in facet to cut\\\");\\n DiamondStorage storage ds = diamondStorage();\\n // uint16 selectorCount = uint16(diamondStorage().selectors.length);\\n require(_facetAddress != address(0), \\\"LibDiamondCut: Add facet can't be address(0)\\\");\\n uint16 selectorPosition = uint16(ds.facetFunctionSelectors[_facetAddress].functionSelectors.length);\\n // add new facet address if it does not exist\\n if (selectorPosition == 0) {\\n enforceHasContractCode(_facetAddress, \\\"LibDiamondCut: New facet has no code\\\");\\n ds.facetFunctionSelectors[_facetAddress].facetAddressPosition = uint16(ds.facetAddresses.length);\\n ds.facetAddresses.push(_facetAddress);\\n }\\n for (uint256 selectorIndex; selectorIndex < _functionSelectors.length; selectorIndex++) {\\n bytes4 selector = _functionSelectors[selectorIndex];\\n address oldFacetAddress = ds.selectorToFacetAndPosition[selector].facetAddress;\\n require(oldFacetAddress == address(0), \\\"LibDiamondCut: Can't add function that already exists\\\");\\n ds.facetFunctionSelectors[_facetAddress].functionSelectors.push(selector);\\n ds.selectorToFacetAndPosition[selector].facetAddress = _facetAddress;\\n ds.selectorToFacetAndPosition[selector].functionSelectorPosition = selectorPosition;\\n selectorPosition++;\\n }\\n }\\n\\n function replaceFunctions(address _facetAddress, bytes4[] memory _functionSelectors) internal {\\n require(_functionSelectors.length > 0, \\\"LibDiamondCut: No selectors in facet to cut\\\");\\n DiamondStorage storage ds = diamondStorage();\\n require(_facetAddress != address(0), \\\"LibDiamondCut: Add facet can't be address(0)\\\");\\n uint16 selectorPosition = uint16(ds.facetFunctionSelectors[_facetAddress].functionSelectors.length);\\n // add new facet address if it does not exist\\n if (selectorPosition == 0) {\\n enforceHasContractCode(_facetAddress, \\\"LibDiamondCut: New facet has no code\\\");\\n ds.facetFunctionSelectors[_facetAddress].facetAddressPosition = uint16(ds.facetAddresses.length);\\n ds.facetAddresses.push(_facetAddress);\\n }\\n for (uint256 selectorIndex; selectorIndex < _functionSelectors.length; selectorIndex++) {\\n bytes4 selector = _functionSelectors[selectorIndex];\\n address oldFacetAddress = ds.selectorToFacetAndPosition[selector].facetAddress;\\n require(oldFacetAddress != _facetAddress, \\\"LibDiamondCut: Can't replace function with same function\\\");\\n removeFunction(oldFacetAddress, selector);\\n // add function\\n ds.selectorToFacetAndPosition[selector].functionSelectorPosition = selectorPosition;\\n ds.facetFunctionSelectors[_facetAddress].functionSelectors.push(selector);\\n ds.selectorToFacetAndPosition[selector].facetAddress = _facetAddress;\\n selectorPosition++;\\n }\\n }\\n\\n function removeFunctions(address _facetAddress, bytes4[] memory _functionSelectors) internal {\\n require(_functionSelectors.length > 0, \\\"LibDiamondCut: No selectors in facet to cut\\\");\\n DiamondStorage storage ds = diamondStorage();\\n // if function does not exist then do nothing and return\\n require(_facetAddress == address(0), \\\"LibDiamondCut: Remove facet address must be address(0)\\\");\\n for (uint256 selectorIndex; selectorIndex < _functionSelectors.length; selectorIndex++) {\\n bytes4 selector = _functionSelectors[selectorIndex];\\n address oldFacetAddress = ds.selectorToFacetAndPosition[selector].facetAddress;\\n removeFunction(oldFacetAddress, selector);\\n }\\n }\\n\\n function removeFunction(address _facetAddress, bytes4 _selector) internal {\\n DiamondStorage storage ds = diamondStorage();\\n require(_facetAddress != address(0), \\\"LibDiamondCut: Can't remove function that doesn't exist\\\");\\n // an immutable function is a function defined directly in a diamond\\n require(_facetAddress != address(this), \\\"LibDiamondCut: Can't remove immutable function\\\");\\n // replace selector with last selector, then delete last selector\\n uint256 selectorPosition = ds.selectorToFacetAndPosition[_selector].functionSelectorPosition;\\n uint256 lastSelectorPosition = ds.facetFunctionSelectors[_facetAddress].functionSelectors.length - 1;\\n // if not the same then replace _selector with lastSelector\\n if (selectorPosition != lastSelectorPosition) {\\n bytes4 lastSelector = ds.facetFunctionSelectors[_facetAddress].functionSelectors[lastSelectorPosition];\\n ds.facetFunctionSelectors[_facetAddress].functionSelectors[selectorPosition] = lastSelector;\\n ds.selectorToFacetAndPosition[lastSelector].functionSelectorPosition = uint16(selectorPosition);\\n }\\n // delete the last selector\\n ds.facetFunctionSelectors[_facetAddress].functionSelectors.pop();\\n delete ds.selectorToFacetAndPosition[_selector];\\n\\n // if no more selectors for facet address then delete the facet address\\n if (lastSelectorPosition == 0) {\\n // replace facet address with last facet address and delete last facet address\\n uint256 lastFacetAddressPosition = ds.facetAddresses.length - 1;\\n uint256 facetAddressPosition = ds.facetFunctionSelectors[_facetAddress].facetAddressPosition;\\n if (facetAddressPosition != lastFacetAddressPosition) {\\n address lastFacetAddress = ds.facetAddresses[lastFacetAddressPosition];\\n ds.facetAddresses[facetAddressPosition] = lastFacetAddress;\\n ds.facetFunctionSelectors[lastFacetAddress].facetAddressPosition = uint16(facetAddressPosition);\\n }\\n ds.facetAddresses.pop();\\n delete ds.facetFunctionSelectors[_facetAddress].facetAddressPosition;\\n }\\n }\\n\\n function initializeDiamondCut(address _init, bytes memory _calldata) internal {\\n if (_init == address(0)) {\\n require(_calldata.length == 0, \\\"LibDiamondCut: _init is address(0) but_calldata is not empty\\\");\\n } else {\\n require(_calldata.length > 0, \\\"LibDiamondCut: _calldata is empty but _init is not address(0)\\\");\\n if (_init != address(this)) {\\n enforceHasContractCode(_init, \\\"LibDiamondCut: _init address has no code\\\");\\n }\\n (bool success, bytes memory error) = _init.delegatecall(_calldata);\\n if (!success) {\\n if (error.length > 0) {\\n // bubble up the error\\n revert(string(error));\\n } else {\\n revert(\\\"LibDiamondCut: _init function reverted\\\");\\n }\\n }\\n }\\n }\\n\\n function enforceHasContractCode(address _contract, string memory _errorMessage) internal view {\\n uint256 contractSize;\\n assembly {\\n contractSize := extcodesize(_contract)\\n }\\n require(contractSize > 0, _errorMessage);\\n }\\n}\\n\",\"keccak256\":\"0x4eac03abb9864ad822b50481746c975a8e3e3278e179032cfc1b4b9c8e2320bc\",\"license\":\"MIT\"}},\"version\":1}", + "metadata": "{\"compiler\":{\"version\":\"0.8.9+commit.e5eed63a\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"anonymous\":false,\"inputs\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"facetAddress\",\"type\":\"address\"},{\"internalType\":\"enum IDiamondCut.FacetCutAction\",\"name\":\"action\",\"type\":\"uint8\"},{\"internalType\":\"bytes4[]\",\"name\":\"functionSelectors\",\"type\":\"bytes4[]\"}],\"indexed\":false,\"internalType\":\"struct IDiamondCut.FacetCut[]\",\"name\":\"_diamondCut\",\"type\":\"tuple[]\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"_init\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"bytes\",\"name\":\"_calldata\",\"type\":\"bytes\"}],\"name\":\"DiamondCut\",\"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\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"solc_0.8/diamond/libraries/LibDiamond.sol\":\"LibDiamond\"},\"evmVersion\":\"london\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\",\"useLiteralContent\":true},\"optimizer\":{\"enabled\":true,\"runs\":999999},\"remappings\":[]},\"sources\":{\"solc_0.8/diamond/interfaces/IDiamondCut.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.0;\\n\\n/******************************************************************************\\\\\\n* Author: Nick Mudge (https://twitter.com/mudgen)\\n* EIP-2535 Diamonds: https://eips.ethereum.org/EIPS/eip-2535\\n/******************************************************************************/\\n\\ninterface IDiamondCut {\\n enum FacetCutAction {Add, Replace, Remove}\\n // Add=0, Replace=1, Remove=2\\n\\n struct FacetCut {\\n address facetAddress;\\n FacetCutAction action;\\n bytes4[] functionSelectors;\\n }\\n\\n /// @notice Add/replace/remove any number of functions and optionally execute\\n /// a function with delegatecall\\n /// @param _diamondCut Contains the facet addresses and function selectors\\n /// @param _init The address of the contract or facet to execute _calldata\\n /// @param _calldata A function call, including function selector and arguments\\n /// _calldata is executed with delegatecall on _init\\n function diamondCut(\\n FacetCut[] calldata _diamondCut,\\n address _init,\\n bytes calldata _calldata\\n ) external;\\n\\n event DiamondCut(FacetCut[] _diamondCut, address _init, bytes _calldata);\\n}\\n\",\"keccak256\":\"0xc00c16bfa30a3fa5f3dc684f7f8ba62c259962b25f647d9588739458989717fc\",\"license\":\"MIT\"},\"solc_0.8/diamond/libraries/LibDiamond.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.0;\\n\\n/******************************************************************************\\\\\\n* Author: Nick Mudge (https://twitter.com/mudgen)\\n* EIP-2535 Diamonds: https://eips.ethereum.org/EIPS/eip-2535\\n/******************************************************************************/\\nimport { IDiamondCut } from \\\"../interfaces/IDiamondCut.sol\\\";\\n\\nlibrary LibDiamond {\\n bytes32 constant DIAMOND_STORAGE_POSITION = keccak256(\\\"diamond.standard.diamond.storage\\\");\\n\\n struct FacetAddressAndPosition {\\n address facetAddress;\\n uint96 functionSelectorPosition; // position in facetFunctionSelectors.functionSelectors array\\n }\\n\\n struct FacetFunctionSelectors {\\n bytes4[] functionSelectors;\\n uint256 facetAddressPosition; // position of facetAddress in facetAddresses array\\n }\\n\\n struct DiamondStorage {\\n // maps function selector to the facet address and\\n // the position of the selector in the facetFunctionSelectors.selectors array\\n mapping(bytes4 => FacetAddressAndPosition) selectorToFacetAndPosition;\\n // maps facet addresses to function selectors\\n mapping(address => FacetFunctionSelectors) facetFunctionSelectors;\\n // facet addresses\\n address[] facetAddresses;\\n // Used to query if a contract implements an interface.\\n // Used to implement ERC-165.\\n mapping(bytes4 => bool) supportedInterfaces;\\n // owner of the contract\\n address contractOwner;\\n }\\n\\n function diamondStorage() internal pure returns (DiamondStorage storage ds) {\\n bytes32 position = DIAMOND_STORAGE_POSITION;\\n assembly {\\n ds.slot := position\\n }\\n }\\n\\n event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);\\n\\n function setContractOwner(address _newOwner) internal {\\n DiamondStorage storage ds = diamondStorage();\\n address previousOwner = ds.contractOwner;\\n ds.contractOwner = _newOwner;\\n emit OwnershipTransferred(previousOwner, _newOwner);\\n }\\n\\n function contractOwner() internal view returns (address contractOwner_) {\\n contractOwner_ = diamondStorage().contractOwner;\\n }\\n\\n function enforceIsContractOwner() internal view {\\n require(msg.sender == diamondStorage().contractOwner, \\\"LibDiamond: Must be contract owner\\\");\\n }\\n\\n event DiamondCut(IDiamondCut.FacetCut[] _diamondCut, address _init, bytes _calldata);\\n\\n // Internal function version of diamondCut\\n function diamondCut(\\n IDiamondCut.FacetCut[] memory _diamondCut,\\n address _init,\\n bytes memory _calldata\\n ) internal {\\n for (uint256 facetIndex; facetIndex < _diamondCut.length; facetIndex++) {\\n IDiamondCut.FacetCutAction action = _diamondCut[facetIndex].action;\\n if (action == IDiamondCut.FacetCutAction.Add) {\\n addFunctions(_diamondCut[facetIndex].facetAddress, _diamondCut[facetIndex].functionSelectors);\\n } else if (action == IDiamondCut.FacetCutAction.Replace) {\\n replaceFunctions(_diamondCut[facetIndex].facetAddress, _diamondCut[facetIndex].functionSelectors);\\n } else if (action == IDiamondCut.FacetCutAction.Remove) {\\n removeFunctions(_diamondCut[facetIndex].facetAddress, _diamondCut[facetIndex].functionSelectors);\\n } else {\\n revert(\\\"LibDiamondCut: Incorrect FacetCutAction\\\");\\n }\\n }\\n emit DiamondCut(_diamondCut, _init, _calldata);\\n initializeDiamondCut(_init, _calldata);\\n }\\n\\n function addFunctions(address _facetAddress, bytes4[] memory _functionSelectors) internal {\\n require(_functionSelectors.length > 0, \\\"LibDiamondCut: No selectors in facet to cut\\\");\\n DiamondStorage storage ds = diamondStorage(); \\n require(_facetAddress != address(0), \\\"LibDiamondCut: Add facet can't be address(0)\\\");\\n uint96 selectorPosition = uint96(ds.facetFunctionSelectors[_facetAddress].functionSelectors.length);\\n // add new facet address if it does not exist\\n if (selectorPosition == 0) {\\n addFacet(ds, _facetAddress); \\n }\\n for (uint256 selectorIndex; selectorIndex < _functionSelectors.length; selectorIndex++) {\\n bytes4 selector = _functionSelectors[selectorIndex];\\n address oldFacetAddress = ds.selectorToFacetAndPosition[selector].facetAddress;\\n require(oldFacetAddress == address(0), \\\"LibDiamondCut: Can't add function that already exists\\\");\\n addFunction(ds, selector, selectorPosition, _facetAddress);\\n selectorPosition++;\\n }\\n }\\n\\n function replaceFunctions(address _facetAddress, bytes4[] memory _functionSelectors) internal {\\n require(_functionSelectors.length > 0, \\\"LibDiamondCut: No selectors in facet to cut\\\");\\n DiamondStorage storage ds = diamondStorage();\\n require(_facetAddress != address(0), \\\"LibDiamondCut: Add facet can't be address(0)\\\");\\n uint96 selectorPosition = uint96(ds.facetFunctionSelectors[_facetAddress].functionSelectors.length);\\n // add new facet address if it does not exist\\n if (selectorPosition == 0) {\\n addFacet(ds, _facetAddress);\\n }\\n for (uint256 selectorIndex; selectorIndex < _functionSelectors.length; selectorIndex++) {\\n bytes4 selector = _functionSelectors[selectorIndex];\\n address oldFacetAddress = ds.selectorToFacetAndPosition[selector].facetAddress;\\n require(oldFacetAddress != _facetAddress, \\\"LibDiamondCut: Can't replace function with same function\\\");\\n removeFunction(ds, oldFacetAddress, selector);\\n addFunction(ds, selector, selectorPosition, _facetAddress);\\n selectorPosition++;\\n }\\n }\\n\\n function removeFunctions(address _facetAddress, bytes4[] memory _functionSelectors) internal {\\n require(_functionSelectors.length > 0, \\\"LibDiamondCut: No selectors in facet to cut\\\");\\n DiamondStorage storage ds = diamondStorage();\\n // if function does not exist then do nothing and return\\n require(_facetAddress == address(0), \\\"LibDiamondCut: Remove facet address must be address(0)\\\");\\n for (uint256 selectorIndex; selectorIndex < _functionSelectors.length; selectorIndex++) {\\n bytes4 selector = _functionSelectors[selectorIndex];\\n address oldFacetAddress = ds.selectorToFacetAndPosition[selector].facetAddress;\\n removeFunction(ds, oldFacetAddress, selector);\\n }\\n }\\n\\n function addFacet(DiamondStorage storage ds, address _facetAddress) internal {\\n enforceHasContractCode(_facetAddress, \\\"LibDiamondCut: New facet has no code\\\");\\n ds.facetFunctionSelectors[_facetAddress].facetAddressPosition = ds.facetAddresses.length;\\n ds.facetAddresses.push(_facetAddress);\\n } \\n\\n\\n function addFunction(DiamondStorage storage ds, bytes4 _selector, uint96 _selectorPosition, address _facetAddress) internal {\\n ds.selectorToFacetAndPosition[_selector].functionSelectorPosition = _selectorPosition;\\n ds.facetFunctionSelectors[_facetAddress].functionSelectors.push(_selector);\\n ds.selectorToFacetAndPosition[_selector].facetAddress = _facetAddress;\\n }\\n\\n function removeFunction(DiamondStorage storage ds, address _facetAddress, bytes4 _selector) internal { \\n require(_facetAddress != address(0), \\\"LibDiamondCut: Can't remove function that doesn't exist\\\");\\n // an immutable function is a function defined directly in a diamond\\n require(_facetAddress != address(this), \\\"LibDiamondCut: Can't remove immutable function\\\");\\n // replace selector with last selector, then delete last selector\\n uint256 selectorPosition = ds.selectorToFacetAndPosition[_selector].functionSelectorPosition;\\n uint256 lastSelectorPosition = ds.facetFunctionSelectors[_facetAddress].functionSelectors.length - 1;\\n // if not the same then replace _selector with lastSelector\\n if (selectorPosition != lastSelectorPosition) {\\n bytes4 lastSelector = ds.facetFunctionSelectors[_facetAddress].functionSelectors[lastSelectorPosition];\\n ds.facetFunctionSelectors[_facetAddress].functionSelectors[selectorPosition] = lastSelector;\\n ds.selectorToFacetAndPosition[lastSelector].functionSelectorPosition = uint96(selectorPosition);\\n }\\n // delete the last selector\\n ds.facetFunctionSelectors[_facetAddress].functionSelectors.pop();\\n delete ds.selectorToFacetAndPosition[_selector];\\n\\n // if no more selectors for facet address then delete the facet address\\n if (lastSelectorPosition == 0) {\\n // replace facet address with last facet address and delete last facet address\\n uint256 lastFacetAddressPosition = ds.facetAddresses.length - 1;\\n uint256 facetAddressPosition = ds.facetFunctionSelectors[_facetAddress].facetAddressPosition;\\n if (facetAddressPosition != lastFacetAddressPosition) {\\n address lastFacetAddress = ds.facetAddresses[lastFacetAddressPosition];\\n ds.facetAddresses[facetAddressPosition] = lastFacetAddress;\\n ds.facetFunctionSelectors[lastFacetAddress].facetAddressPosition = facetAddressPosition;\\n }\\n ds.facetAddresses.pop();\\n delete ds.facetFunctionSelectors[_facetAddress].facetAddressPosition;\\n }\\n }\\n\\n function initializeDiamondCut(address _init, bytes memory _calldata) internal {\\n if (_init == address(0)) {\\n require(_calldata.length == 0, \\\"LibDiamondCut: _init is address(0) but_calldata is not empty\\\");\\n } else {\\n require(_calldata.length > 0, \\\"LibDiamondCut: _calldata is empty but _init is not address(0)\\\");\\n if (_init != address(this)) {\\n enforceHasContractCode(_init, \\\"LibDiamondCut: _init address has no code\\\");\\n }\\n (bool success, bytes memory error) = _init.delegatecall(_calldata);\\n if (!success) {\\n if (error.length > 0) {\\n // bubble up the error\\n revert(string(error));\\n } else {\\n revert(\\\"LibDiamondCut: _init function reverted\\\");\\n }\\n }\\n }\\n }\\n\\n function enforceHasContractCode(address _contract, string memory _errorMessage) internal view {\\n uint256 contractSize;\\n assembly {\\n contractSize := extcodesize(_contract)\\n }\\n require(contractSize > 0, _errorMessage);\\n }\\n}\\n\",\"keccak256\":\"0x2205345e83eb86f5281f159a9215a096cb6d404782619f9b8e9d7a4a46c32a37\",\"license\":\"MIT\"}},\"version\":1}", "storageLayout": { "storage": [], "types": null @@ -119,6 +123,6 @@ "methods": {}, "version": 1 }, - "solcInput": "{\n \"language\": \"Solidity\",\n \"sources\": {\n \"solc_0.7/diamond/Diamantaire.sol\": {\n \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity ^0.7.1;\\npragma experimental ABIEncoderV2;\\n\\nimport \\\"./interfaces/IDiamondCut.sol\\\";\\nimport \\\"./Diamond.sol\\\";\\nimport \\\"./facets/DiamondCutFacet.sol\\\";\\nimport \\\"./facets/DiamondLoupeFacet.sol\\\";\\nimport \\\"./facets/OwnershipFacet.sol\\\";\\n\\ncontract Diamantaire {\\n event DiamondCreated(Diamond diamond);\\n\\n IDiamondCut.FacetCut[] internal _builtinDiamondCut;\\n\\n constructor() {\\n bytes4[] memory functionSelectors;\\n\\n // -------------------------------------------------------------------------\\n // adding diamondCut function\\n // -------------------------------------------------------------------------\\n DiamondCutFacet diamondCutFacet = new DiamondCutFacet();\\n\\n functionSelectors = new bytes4[](1);\\n functionSelectors[0] = DiamondCutFacet.diamondCut.selector;\\n _builtinDiamondCut.push(IDiamondCut.FacetCut({\\n facetAddress:address(diamondCutFacet),\\n action: IDiamondCut.FacetCutAction.Add,\\n functionSelectors: functionSelectors\\n }));\\n\\n\\n // -------------------------------------------------------------------------\\n // adding diamond loupe functions\\n // -------------------------------------------------------------------------\\n DiamondLoupeFacet diamondLoupeFacet = new DiamondLoupeFacet();\\n\\n functionSelectors = new bytes4[](5);\\n functionSelectors[0] = DiamondLoupeFacet.facetFunctionSelectors.selector;\\n functionSelectors[1] = DiamondLoupeFacet.facets.selector;\\n functionSelectors[2] = DiamondLoupeFacet.facetAddress.selector;\\n functionSelectors[3] = DiamondLoupeFacet.facetAddresses.selector;\\n functionSelectors[4] = DiamondLoupeFacet.supportsInterface.selector;\\n _builtinDiamondCut.push(IDiamondCut.FacetCut({\\n facetAddress:address(diamondLoupeFacet),\\n action: IDiamondCut.FacetCutAction.Add,\\n functionSelectors: functionSelectors\\n }));\\n\\n\\n // -------------------------------------------------------------------------\\n // adding ownership functions\\n // -------------------------------------------------------------------------\\n OwnershipFacet ownershipFacet = new OwnershipFacet();\\n\\n functionSelectors = new bytes4[](2);\\n functionSelectors[0] = OwnershipFacet.transferOwnership.selector;\\n functionSelectors[1] = OwnershipFacet.owner.selector;\\n _builtinDiamondCut.push(IDiamondCut.FacetCut({\\n facetAddress:address(ownershipFacet),\\n action: IDiamondCut.FacetCutAction.Add,\\n functionSelectors: functionSelectors\\n }));\\n }\\n\\n function createDiamond(\\n address owner,\\n IDiamondCut.FacetCut[] calldata _diamondCut,\\n bytes calldata data,\\n bytes32 salt\\n ) external payable returns (Diamond diamond) {\\n if (salt != 0x0000000000000000000000000000000000000000000000000000000000000000) {\\n salt = keccak256(abi.encodePacked(salt, owner));\\n diamond = new Diamond{value: msg.value, salt: salt}(\\n _builtinDiamondCut,\\n Diamond.DiamondArgs({owner:address(this)})\\n );\\n } else {\\n diamond = new Diamond{value: msg.value}(_builtinDiamondCut, Diamond.DiamondArgs({owner:address(this)}));\\n }\\n emit DiamondCreated(diamond);\\n\\n IDiamondCut(address(diamond)).diamondCut(_diamondCut, data.length > 0 ? address(diamond) : address(0), data);\\n IERC173(address(diamond)).transferOwnership(owner);\\n }\\n}\\n\"\n },\n \"solc_0.7/diamond/interfaces/IDiamondCut.sol\": {\n \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity ^0.7.6;\\npragma experimental ABIEncoderV2;\\n\\n/******************************************************************************\\\\\\n* Author: Nick Mudge (https://twitter.com/mudgen)\\n* EIP-2535 Diamond Standard: https://eips.ethereum.org/EIPS/eip-2535\\n/******************************************************************************/\\n\\ninterface IDiamondCut {\\n enum FacetCutAction {Add, Replace, Remove}\\n // Add=0, Replace=1, Remove=2\\n\\n struct FacetCut {\\n address facetAddress;\\n FacetCutAction action;\\n bytes4[] functionSelectors;\\n }\\n\\n /// @notice Add/replace/remove any number of functions and optionally execute\\n /// a function with delegatecall\\n /// @param _diamondCut Contains the facet addresses and function selectors\\n /// @param _init The address of the contract or facet to execute _calldata\\n /// @param _calldata A function call, including function selector and arguments\\n /// _calldata is executed with delegatecall on _init\\n function diamondCut(\\n FacetCut[] calldata _diamondCut,\\n address _init,\\n bytes calldata _calldata\\n ) external;\\n\\n event DiamondCut(FacetCut[] _diamondCut, address _init, bytes _calldata);\\n}\\n\"\n },\n \"solc_0.7/diamond/Diamond.sol\": {\n \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity ^0.7.6;\\npragma experimental ABIEncoderV2;\\n\\n/******************************************************************************\\\\\\n* Author: Nick Mudge (https://twitter.com/mudgen)\\n* EIP-2535 Diamond Standard: https://eips.ethereum.org/EIPS/eip-2535\\n* \\n* Implementation of a diamond.\\n/******************************************************************************/\\n\\nimport \\\"./libraries/LibDiamond.sol\\\";\\nimport \\\"./interfaces/IDiamondLoupe.sol\\\";\\nimport \\\"./interfaces/IDiamondCut.sol\\\";\\nimport \\\"./interfaces/IERC173.sol\\\";\\nimport \\\"./interfaces/IERC165.sol\\\";\\n\\ncontract Diamond {\\n // more arguments are added to this struct\\n // this avoids stack too deep errors\\n struct DiamondArgs {\\n address owner;\\n }\\n\\n constructor(IDiamondCut.FacetCut[] memory _diamondCut, DiamondArgs memory _args) payable {\\n LibDiamond.diamondCut(_diamondCut, address(0), new bytes(0));\\n LibDiamond.setContractOwner(_args.owner);\\n\\n LibDiamond.DiamondStorage storage ds = LibDiamond.diamondStorage();\\n\\n // adding ERC165 data\\n ds.supportedInterfaces[type(IERC165).interfaceId] = true;\\n ds.supportedInterfaces[type(IDiamondCut).interfaceId] = true;\\n ds.supportedInterfaces[type(IDiamondLoupe).interfaceId] = true;\\n ds.supportedInterfaces[type(IERC173).interfaceId] = true;\\n }\\n\\n // Find facet for function that is called and execute the\\n // function if a facet is found and return any value.\\n fallback() external payable {\\n LibDiamond.DiamondStorage storage ds;\\n bytes32 position = LibDiamond.DIAMOND_STORAGE_POSITION;\\n assembly {\\n ds.slot := position\\n }\\n address facet = ds.selectorToFacetAndPosition[msg.sig].facetAddress;\\n require(facet != address(0), \\\"Diamond: Function does not exist\\\");\\n assembly {\\n calldatacopy(0, 0, calldatasize())\\n let result := delegatecall(gas(), facet, 0, calldatasize(), 0, 0)\\n returndatacopy(0, 0, returndatasize())\\n switch result\\n case 0 {\\n revert(0, returndatasize())\\n }\\n default {\\n return(0, returndatasize())\\n }\\n }\\n }\\n\\n receive() external payable {}\\n}\\n\"\n },\n \"solc_0.7/diamond/facets/DiamondCutFacet.sol\": {\n \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity ^0.7.6;\\npragma experimental ABIEncoderV2;\\n\\n/******************************************************************************\\\\\\n* Author: Nick Mudge (https://twitter.com/mudgen)\\n* EIP-2535 Diamond Standard: https://eips.ethereum.org/EIPS/eip-2535\\n/******************************************************************************/\\n\\nimport \\\"../interfaces/IDiamondCut.sol\\\";\\nimport \\\"../libraries/LibDiamond.sol\\\";\\n\\ncontract DiamondCutFacet is IDiamondCut {\\n /// @notice Add/replace/remove any number of functions and optionally execute\\n /// a function with delegatecall\\n /// @param _diamondCut Contains the facet addresses and function selectors\\n /// @param _init The address of the contract or facet to execute _calldata\\n /// @param _calldata A function call, including function selector and arguments\\n /// _calldata is executed with delegatecall on _init\\n function diamondCut(\\n FacetCut[] calldata _diamondCut,\\n address _init,\\n bytes calldata _calldata\\n ) external override {\\n LibDiamond.enforceIsContractOwner();\\n LibDiamond.diamondCut(_diamondCut, _init, _calldata);\\n }\\n}\\n\"\n },\n \"solc_0.7/diamond/facets/DiamondLoupeFacet.sol\": {\n \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity ^0.7.6;\\npragma experimental ABIEncoderV2;\\n\\n/******************************************************************************\\\\\\n* Author: Nick Mudge (https://twitter.com/mudgen)\\n* EIP-2535 Diamond Standard: https://eips.ethereum.org/EIPS/eip-2535\\n/******************************************************************************/\\n\\nimport \\\"../libraries/LibDiamond.sol\\\";\\nimport \\\"../interfaces/IDiamondCut.sol\\\";\\nimport \\\"../interfaces/IDiamondLoupe.sol\\\";\\nimport \\\"../interfaces/IERC165.sol\\\";\\n\\ncontract DiamondLoupeFacet is IDiamondLoupe, IERC165 {\\n // Diamond Loupe Functions\\n ////////////////////////////////////////////////////////////////////\\n /// These functions are expected to be called frequently by tools.\\n //\\n // struct Facet {\\n // address facetAddress;\\n // bytes4[] functionSelectors;\\n // }\\n\\n /// @notice Gets all facets and their selectors.\\n /// @return facets_ Facet\\n function facets() external override view returns (Facet[] memory facets_) {\\n LibDiamond.DiamondStorage storage ds = LibDiamond.diamondStorage();\\n uint256 numFacets = ds.facetAddresses.length;\\n facets_ = new Facet[](numFacets);\\n for (uint256 i; i < numFacets; i++) {\\n address facetAddress_ = ds.facetAddresses[i];\\n facets_[i].facetAddress = facetAddress_;\\n facets_[i].functionSelectors = ds.facetFunctionSelectors[facetAddress_].functionSelectors;\\n }\\n }\\n\\n /// @notice Gets all the function selectors provided by a facet.\\n /// @param _facet The facet address.\\n /// @return facetFunctionSelectors_\\n function facetFunctionSelectors(address _facet) external override view returns (bytes4[] memory facetFunctionSelectors_) {\\n LibDiamond.DiamondStorage storage ds = LibDiamond.diamondStorage();\\n facetFunctionSelectors_ = ds.facetFunctionSelectors[_facet].functionSelectors;\\n }\\n\\n /// @notice Get all the facet addresses used by a diamond.\\n /// @return facetAddresses_\\n function facetAddresses() external override view returns (address[] memory facetAddresses_) {\\n LibDiamond.DiamondStorage storage ds = LibDiamond.diamondStorage();\\n facetAddresses_ = ds.facetAddresses;\\n }\\n\\n /// @notice Gets the facet that supports the given selector.\\n /// @dev If facet is not found return address(0).\\n /// @param _functionSelector The function selector.\\n /// @return facetAddress_ The facet address.\\n function facetAddress(bytes4 _functionSelector) external override view returns (address facetAddress_) {\\n LibDiamond.DiamondStorage storage ds = LibDiamond.diamondStorage();\\n facetAddress_ = ds.selectorToFacetAndPosition[_functionSelector].facetAddress;\\n }\\n\\n // This implements ERC-165.\\n function supportsInterface(bytes4 _interfaceId) external override view returns (bool) {\\n LibDiamond.DiamondStorage storage ds = LibDiamond.diamondStorage();\\n return ds.supportedInterfaces[_interfaceId];\\n }\\n}\\n\"\n },\n \"solc_0.7/diamond/facets/OwnershipFacet.sol\": {\n \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity ^0.7.6;\\n\\nimport \\\"../libraries/LibDiamond.sol\\\";\\nimport \\\"../interfaces/IERC173.sol\\\";\\n\\ncontract OwnershipFacet is IERC173 {\\n function transferOwnership(address _newOwner) external override {\\n LibDiamond.enforceIsContractOwner();\\n LibDiamond.setContractOwner(_newOwner);\\n }\\n\\n function owner() external override view returns (address owner_) {\\n owner_ = LibDiamond.contractOwner();\\n }\\n}\\n\"\n },\n \"solc_0.7/diamond/libraries/LibDiamond.sol\": {\n \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity ^0.7.6;\\npragma experimental ABIEncoderV2;\\n\\n/******************************************************************************\\\\\\n* Author: Nick Mudge (https://twitter.com/mudgen)\\n* EIP-2535 Diamond Standard: https://eips.ethereum.org/EIPS/eip-2535\\n/******************************************************************************/\\n\\nimport \\\"../interfaces/IDiamondCut.sol\\\";\\n\\nlibrary LibDiamond {\\n bytes32 constant DIAMOND_STORAGE_POSITION = keccak256(\\\"diamond.standard.diamond.storage\\\");\\n\\n struct FacetAddressAndPosition {\\n address facetAddress;\\n uint16 functionSelectorPosition; // position in facetFunctionSelectors.functionSelectors array\\n }\\n\\n struct FacetFunctionSelectors {\\n bytes4[] functionSelectors;\\n uint16 facetAddressPosition; // position of facetAddress in facetAddresses array\\n }\\n\\n struct DiamondStorage {\\n // maps function selector to the facet address and\\n // the position of the selector in the facetFunctionSelectors.selectors array\\n mapping(bytes4 => FacetAddressAndPosition) selectorToFacetAndPosition;\\n // maps facet addresses to function selectors\\n mapping(address => FacetFunctionSelectors) facetFunctionSelectors;\\n // facet addresses\\n address[] facetAddresses;\\n // Used to query if a contract implements an interface.\\n // Used to implement ERC-165.\\n mapping(bytes4 => bool) supportedInterfaces;\\n // owner of the contract\\n address contractOwner;\\n }\\n\\n function diamondStorage() internal pure returns (DiamondStorage storage ds) {\\n bytes32 position = DIAMOND_STORAGE_POSITION;\\n assembly {\\n ds.slot := position\\n }\\n }\\n\\n event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);\\n\\n function setContractOwner(address _newOwner) internal {\\n DiamondStorage storage ds = diamondStorage();\\n address previousOwner = ds.contractOwner;\\n ds.contractOwner = _newOwner;\\n emit OwnershipTransferred(previousOwner, _newOwner);\\n }\\n\\n function contractOwner() internal view returns (address contractOwner_) {\\n contractOwner_ = diamondStorage().contractOwner;\\n }\\n\\n function enforceIsContractOwner() internal view {\\n require(msg.sender == diamondStorage().contractOwner, \\\"LibDiamond: Must be contract owner\\\");\\n }\\n\\n event DiamondCut(IDiamondCut.FacetCut[] _diamondCut, address _init, bytes _calldata);\\n\\n // Internal function version of diamondCut\\n function diamondCut(\\n IDiamondCut.FacetCut[] memory _diamondCut,\\n address _init,\\n bytes memory _calldata\\n ) internal {\\n for (uint256 facetIndex; facetIndex < _diamondCut.length; facetIndex++) {\\n IDiamondCut.FacetCutAction action = _diamondCut[facetIndex].action;\\n if (action == IDiamondCut.FacetCutAction.Add) {\\n addFunctions(_diamondCut[facetIndex].facetAddress, _diamondCut[facetIndex].functionSelectors);\\n } else if (action == IDiamondCut.FacetCutAction.Replace) {\\n replaceFunctions(_diamondCut[facetIndex].facetAddress, _diamondCut[facetIndex].functionSelectors);\\n } else if (action == IDiamondCut.FacetCutAction.Remove) {\\n removeFunctions(_diamondCut[facetIndex].facetAddress, _diamondCut[facetIndex].functionSelectors);\\n } else {\\n revert(\\\"LibDiamondCut: Incorrect FacetCutAction\\\");\\n }\\n }\\n emit DiamondCut(_diamondCut, _init, _calldata);\\n initializeDiamondCut(_init, _calldata);\\n }\\n\\n function addFunctions(address _facetAddress, bytes4[] memory _functionSelectors) internal {\\n require(_functionSelectors.length > 0, \\\"LibDiamondCut: No selectors in facet to cut\\\");\\n DiamondStorage storage ds = diamondStorage();\\n // uint16 selectorCount = uint16(diamondStorage().selectors.length);\\n require(_facetAddress != address(0), \\\"LibDiamondCut: Add facet can't be address(0)\\\");\\n uint16 selectorPosition = uint16(ds.facetFunctionSelectors[_facetAddress].functionSelectors.length);\\n // add new facet address if it does not exist\\n if (selectorPosition == 0) {\\n enforceHasContractCode(_facetAddress, \\\"LibDiamondCut: New facet has no code\\\");\\n ds.facetFunctionSelectors[_facetAddress].facetAddressPosition = uint16(ds.facetAddresses.length);\\n ds.facetAddresses.push(_facetAddress);\\n }\\n for (uint256 selectorIndex; selectorIndex < _functionSelectors.length; selectorIndex++) {\\n bytes4 selector = _functionSelectors[selectorIndex];\\n address oldFacetAddress = ds.selectorToFacetAndPosition[selector].facetAddress;\\n require(oldFacetAddress == address(0), \\\"LibDiamondCut: Can't add function that already exists\\\");\\n ds.facetFunctionSelectors[_facetAddress].functionSelectors.push(selector);\\n ds.selectorToFacetAndPosition[selector].facetAddress = _facetAddress;\\n ds.selectorToFacetAndPosition[selector].functionSelectorPosition = selectorPosition;\\n selectorPosition++;\\n }\\n }\\n\\n function replaceFunctions(address _facetAddress, bytes4[] memory _functionSelectors) internal {\\n require(_functionSelectors.length > 0, \\\"LibDiamondCut: No selectors in facet to cut\\\");\\n DiamondStorage storage ds = diamondStorage();\\n require(_facetAddress != address(0), \\\"LibDiamondCut: Add facet can't be address(0)\\\");\\n uint16 selectorPosition = uint16(ds.facetFunctionSelectors[_facetAddress].functionSelectors.length);\\n // add new facet address if it does not exist\\n if (selectorPosition == 0) {\\n enforceHasContractCode(_facetAddress, \\\"LibDiamondCut: New facet has no code\\\");\\n ds.facetFunctionSelectors[_facetAddress].facetAddressPosition = uint16(ds.facetAddresses.length);\\n ds.facetAddresses.push(_facetAddress);\\n }\\n for (uint256 selectorIndex; selectorIndex < _functionSelectors.length; selectorIndex++) {\\n bytes4 selector = _functionSelectors[selectorIndex];\\n address oldFacetAddress = ds.selectorToFacetAndPosition[selector].facetAddress;\\n require(oldFacetAddress != _facetAddress, \\\"LibDiamondCut: Can't replace function with same function\\\");\\n removeFunction(oldFacetAddress, selector);\\n // add function\\n ds.selectorToFacetAndPosition[selector].functionSelectorPosition = selectorPosition;\\n ds.facetFunctionSelectors[_facetAddress].functionSelectors.push(selector);\\n ds.selectorToFacetAndPosition[selector].facetAddress = _facetAddress;\\n selectorPosition++;\\n }\\n }\\n\\n function removeFunctions(address _facetAddress, bytes4[] memory _functionSelectors) internal {\\n require(_functionSelectors.length > 0, \\\"LibDiamondCut: No selectors in facet to cut\\\");\\n DiamondStorage storage ds = diamondStorage();\\n // if function does not exist then do nothing and return\\n require(_facetAddress == address(0), \\\"LibDiamondCut: Remove facet address must be address(0)\\\");\\n for (uint256 selectorIndex; selectorIndex < _functionSelectors.length; selectorIndex++) {\\n bytes4 selector = _functionSelectors[selectorIndex];\\n address oldFacetAddress = ds.selectorToFacetAndPosition[selector].facetAddress;\\n removeFunction(oldFacetAddress, selector);\\n }\\n }\\n\\n function removeFunction(address _facetAddress, bytes4 _selector) internal {\\n DiamondStorage storage ds = diamondStorage();\\n require(_facetAddress != address(0), \\\"LibDiamondCut: Can't remove function that doesn't exist\\\");\\n // an immutable function is a function defined directly in a diamond\\n require(_facetAddress != address(this), \\\"LibDiamondCut: Can't remove immutable function\\\");\\n // replace selector with last selector, then delete last selector\\n uint256 selectorPosition = ds.selectorToFacetAndPosition[_selector].functionSelectorPosition;\\n uint256 lastSelectorPosition = ds.facetFunctionSelectors[_facetAddress].functionSelectors.length - 1;\\n // if not the same then replace _selector with lastSelector\\n if (selectorPosition != lastSelectorPosition) {\\n bytes4 lastSelector = ds.facetFunctionSelectors[_facetAddress].functionSelectors[lastSelectorPosition];\\n ds.facetFunctionSelectors[_facetAddress].functionSelectors[selectorPosition] = lastSelector;\\n ds.selectorToFacetAndPosition[lastSelector].functionSelectorPosition = uint16(selectorPosition);\\n }\\n // delete the last selector\\n ds.facetFunctionSelectors[_facetAddress].functionSelectors.pop();\\n delete ds.selectorToFacetAndPosition[_selector];\\n\\n // if no more selectors for facet address then delete the facet address\\n if (lastSelectorPosition == 0) {\\n // replace facet address with last facet address and delete last facet address\\n uint256 lastFacetAddressPosition = ds.facetAddresses.length - 1;\\n uint256 facetAddressPosition = ds.facetFunctionSelectors[_facetAddress].facetAddressPosition;\\n if (facetAddressPosition != lastFacetAddressPosition) {\\n address lastFacetAddress = ds.facetAddresses[lastFacetAddressPosition];\\n ds.facetAddresses[facetAddressPosition] = lastFacetAddress;\\n ds.facetFunctionSelectors[lastFacetAddress].facetAddressPosition = uint16(facetAddressPosition);\\n }\\n ds.facetAddresses.pop();\\n delete ds.facetFunctionSelectors[_facetAddress].facetAddressPosition;\\n }\\n }\\n\\n function initializeDiamondCut(address _init, bytes memory _calldata) internal {\\n if (_init == address(0)) {\\n require(_calldata.length == 0, \\\"LibDiamondCut: _init is address(0) but_calldata is not empty\\\");\\n } else {\\n require(_calldata.length > 0, \\\"LibDiamondCut: _calldata is empty but _init is not address(0)\\\");\\n if (_init != address(this)) {\\n enforceHasContractCode(_init, \\\"LibDiamondCut: _init address has no code\\\");\\n }\\n (bool success, bytes memory error) = _init.delegatecall(_calldata);\\n if (!success) {\\n if (error.length > 0) {\\n // bubble up the error\\n revert(string(error));\\n } else {\\n revert(\\\"LibDiamondCut: _init function reverted\\\");\\n }\\n }\\n }\\n }\\n\\n function enforceHasContractCode(address _contract, string memory _errorMessage) internal view {\\n uint256 contractSize;\\n assembly {\\n contractSize := extcodesize(_contract)\\n }\\n require(contractSize > 0, _errorMessage);\\n }\\n}\\n\"\n },\n \"solc_0.7/diamond/interfaces/IDiamondLoupe.sol\": {\n \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity ^0.7.6;\\npragma experimental ABIEncoderV2;\\n\\n/******************************************************************************\\\\\\n* Author: Nick Mudge (https://twitter.com/mudgen)\\n* EIP-2535 Diamond Standard: https://eips.ethereum.org/EIPS/eip-2535\\n/******************************************************************************/\\n\\n// A loupe is a small magnifying glass used to look at diamonds.\\n// These functions look at diamonds\\ninterface IDiamondLoupe {\\n /// These functions are expected to be called frequently\\n /// by tools.\\n\\n struct Facet {\\n address facetAddress;\\n bytes4[] functionSelectors;\\n }\\n\\n /// @notice Gets all facet addresses and their four byte function selectors.\\n /// @return facets_ Facet\\n function facets() external view returns (Facet[] memory facets_);\\n\\n /// @notice Gets all the function selectors supported by a specific facet.\\n /// @param _facet The facet address.\\n /// @return facetFunctionSelectors_\\n function facetFunctionSelectors(address _facet) external view returns (bytes4[] memory facetFunctionSelectors_);\\n\\n /// @notice Get all the facet addresses used by a diamond.\\n /// @return facetAddresses_\\n function facetAddresses() external view returns (address[] memory facetAddresses_);\\n\\n /// @notice Gets the facet that supports the given selector.\\n /// @dev If facet is not found return address(0).\\n /// @param _functionSelector The function selector.\\n /// @return facetAddress_ The facet address.\\n function facetAddress(bytes4 _functionSelector) external view returns (address facetAddress_);\\n}\\n\"\n },\n \"solc_0.7/diamond/interfaces/IERC173.sol\": {\n \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity ^0.7.6;\\n\\n/// @title ERC-173 Contract Ownership Standard\\n/// Note: the ERC-165 identifier for this interface is 0x7f5828d0\\n/* is ERC165 */\\ninterface IERC173 {\\n /// @dev This emits when ownership of a contract changes.\\n event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);\\n\\n /// @notice Get the address of the owner\\n /// @return owner_ The address of the owner.\\n function owner() external view returns (address owner_);\\n\\n /// @notice Set the address of the new owner of the contract\\n /// @dev Set _newOwner to address(0) to renounce any ownership.\\n /// @param _newOwner The address of the new owner of the contract\\n function transferOwnership(address _newOwner) external;\\n}\\n\"\n },\n \"solc_0.7/diamond/interfaces/IERC165.sol\": {\n \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity ^0.7.6;\\npragma experimental ABIEncoderV2;\\n\\ninterface IERC165 {\\n /// @notice Query if a contract implements an interface\\n /// @param interfaceId The interface identifier, as specified in ERC-165\\n /// @dev Interface identification is specified in ERC-165. This function\\n /// uses less than 30,000 gas.\\n /// @return `true` if the contract implements `interfaceID` and\\n /// `interfaceID` is not 0xffffffff, `false` otherwise\\n function supportsInterface(bytes4 interfaceId) external view returns (bool);\\n}\\n\"\n }\n },\n \"settings\": {\n \"optimizer\": {\n \"enabled\": true,\n \"runs\": 999999\n },\n \"outputSelection\": {\n \"*\": {\n \"*\": [\n \"abi\",\n \"evm.bytecode\",\n \"evm.deployedBytecode\",\n \"evm.methodIdentifiers\",\n \"metadata\",\n \"devdoc\",\n \"userdoc\",\n \"storageLayout\",\n \"evm.gasEstimates\"\n ],\n \"\": [\n \"ast\"\n ]\n }\n },\n \"metadata\": {\n \"useLiteralContent\": true\n }\n }\n}", - "solcInputHash": "1d060b65b8264d57d416f20cb1fe798a" + "solcInput": "{\n \"language\": \"Solidity\",\n \"sources\": {\n \"solc_0.8/diamond/Diamantaire.sol\": {\n \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.0;\\npragma experimental ABIEncoderV2;\\n\\nimport \\\"./interfaces/IDiamondCut.sol\\\";\\nimport \\\"./Diamond.sol\\\";\\nimport \\\"./facets/DiamondCutFacet.sol\\\";\\nimport \\\"./facets/DiamondLoupeFacet.sol\\\";\\nimport \\\"./facets/OwnershipFacet.sol\\\";\\n\\ncontract Diamantaire {\\n event DiamondCreated(Diamond diamond);\\n\\n IDiamondCut.FacetCut[] internal _builtinDiamondCut;\\n\\n constructor() {\\n bytes4[] memory functionSelectors;\\n\\n // -------------------------------------------------------------------------\\n // adding diamondCut function\\n // -------------------------------------------------------------------------\\n DiamondCutFacet diamondCutFacet = new DiamondCutFacet();\\n\\n functionSelectors = new bytes4[](1);\\n functionSelectors[0] = DiamondCutFacet.diamondCut.selector;\\n _builtinDiamondCut.push(IDiamondCut.FacetCut({\\n facetAddress:address(diamondCutFacet),\\n action: IDiamondCut.FacetCutAction.Add,\\n functionSelectors: functionSelectors\\n }));\\n\\n\\n // -------------------------------------------------------------------------\\n // adding diamond loupe functions\\n // -------------------------------------------------------------------------\\n DiamondLoupeFacet diamondLoupeFacet = new DiamondLoupeFacet();\\n\\n functionSelectors = new bytes4[](5);\\n functionSelectors[0] = DiamondLoupeFacet.facetFunctionSelectors.selector;\\n functionSelectors[1] = DiamondLoupeFacet.facets.selector;\\n functionSelectors[2] = DiamondLoupeFacet.facetAddress.selector;\\n functionSelectors[3] = DiamondLoupeFacet.facetAddresses.selector;\\n functionSelectors[4] = DiamondLoupeFacet.supportsInterface.selector;\\n _builtinDiamondCut.push(IDiamondCut.FacetCut({\\n facetAddress:address(diamondLoupeFacet),\\n action: IDiamondCut.FacetCutAction.Add,\\n functionSelectors: functionSelectors\\n }));\\n\\n\\n // -------------------------------------------------------------------------\\n // adding ownership functions\\n // -------------------------------------------------------------------------\\n OwnershipFacet ownershipFacet = new OwnershipFacet();\\n\\n functionSelectors = new bytes4[](2);\\n functionSelectors[0] = OwnershipFacet.transferOwnership.selector;\\n functionSelectors[1] = OwnershipFacet.owner.selector;\\n _builtinDiamondCut.push(IDiamondCut.FacetCut({\\n facetAddress:address(ownershipFacet),\\n action: IDiamondCut.FacetCutAction.Add,\\n functionSelectors: functionSelectors\\n }));\\n }\\n\\n function createDiamond(\\n address owner,\\n IDiamondCut.FacetCut[] calldata _diamondCut,\\n bytes calldata data,\\n bytes32 salt\\n ) external payable returns (Diamond diamond) {\\n if (salt != 0x0000000000000000000000000000000000000000000000000000000000000000) {\\n salt = keccak256(abi.encodePacked(salt, owner));\\n diamond = new Diamond{value: msg.value, salt: salt}(\\n _builtinDiamondCut,\\n Diamond.DiamondArgs({owner:address(this)})\\n );\\n } else {\\n diamond = new Diamond{value: msg.value}(_builtinDiamondCut, Diamond.DiamondArgs({owner:address(this)}));\\n }\\n emit DiamondCreated(diamond);\\n\\n IDiamondCut(address(diamond)).diamondCut(_diamondCut, data.length > 0 ? address(diamond) : address(0), data);\\n IERC173(address(diamond)).transferOwnership(owner);\\n }\\n}\\n\"\n },\n \"solc_0.8/diamond/interfaces/IDiamondCut.sol\": {\n \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.0;\\n\\n/******************************************************************************\\\\\\n* Author: Nick Mudge (https://twitter.com/mudgen)\\n* EIP-2535 Diamonds: https://eips.ethereum.org/EIPS/eip-2535\\n/******************************************************************************/\\n\\ninterface IDiamondCut {\\n enum FacetCutAction {Add, Replace, Remove}\\n // Add=0, Replace=1, Remove=2\\n\\n struct FacetCut {\\n address facetAddress;\\n FacetCutAction action;\\n bytes4[] functionSelectors;\\n }\\n\\n /// @notice Add/replace/remove any number of functions and optionally execute\\n /// a function with delegatecall\\n /// @param _diamondCut Contains the facet addresses and function selectors\\n /// @param _init The address of the contract or facet to execute _calldata\\n /// @param _calldata A function call, including function selector and arguments\\n /// _calldata is executed with delegatecall on _init\\n function diamondCut(\\n FacetCut[] calldata _diamondCut,\\n address _init,\\n bytes calldata _calldata\\n ) external;\\n\\n event DiamondCut(FacetCut[] _diamondCut, address _init, bytes _calldata);\\n}\\n\"\n },\n \"solc_0.8/diamond/Diamond.sol\": {\n \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.0;\\n\\n/******************************************************************************\\\\\\n* Author: Nick Mudge (https://twitter.com/mudgen)\\n* EIP-2535 Diamonds: https://eips.ethereum.org/EIPS/eip-2535\\n*\\n* Implementation of a diamond.\\n/******************************************************************************/\\n\\nimport { LibDiamond } from \\\"./libraries/LibDiamond.sol\\\";\\nimport { IDiamondCut } from \\\"./interfaces/IDiamondCut.sol\\\";\\nimport { IDiamondLoupe } from \\\"./interfaces/IDiamondLoupe.sol\\\";\\nimport { IERC173 } from \\\"./interfaces/IERC173.sol\\\";\\nimport { IERC165 } from \\\"./interfaces/IERC165.sol\\\";\\n\\ncontract Diamond {\\n // more arguments are added to this struct\\n // this avoids stack too deep errors\\n struct DiamondArgs {\\n address owner;\\n }\\n\\n constructor(IDiamondCut.FacetCut[] memory _diamondCut, DiamondArgs memory _args) payable {\\n LibDiamond.diamondCut(_diamondCut, address(0), new bytes(0));\\n LibDiamond.setContractOwner(_args.owner);\\n\\n LibDiamond.DiamondStorage storage ds = LibDiamond.diamondStorage();\\n\\n // adding ERC165 data\\n ds.supportedInterfaces[type(IERC165).interfaceId] = true;\\n ds.supportedInterfaces[type(IDiamondCut).interfaceId] = true;\\n ds.supportedInterfaces[type(IDiamondLoupe).interfaceId] = true;\\n ds.supportedInterfaces[type(IERC173).interfaceId] = true;\\n }\\n\\n// constructor(address _contractOwner, address _diamondCutFacet) payable {\\n// LibDiamond.setContractOwner(_contractOwner);\\n//\\n// // Add the diamondCut external function from the diamondCutFacet\\n// IDiamondCut.FacetCut[] memory cut = new IDiamondCut.FacetCut[](1);\\n// bytes4[] memory functionSelectors = new bytes4[](1);\\n// functionSelectors[0] = IDiamondCut.diamondCut.selector;\\n// cut[0] = IDiamondCut.FacetCut({\\n// facetAddress: _diamondCutFacet,\\n// action: IDiamondCut.FacetCutAction.Add,\\n// functionSelectors: functionSelectors\\n// });\\n// LibDiamond.diamondCut(cut, address(0), \\\"\\\");\\n// }\\n\\n // Find facet for function that is called and execute the\\n // function if a facet is found and return any value.\\n fallback() external payable {\\n LibDiamond.DiamondStorage storage ds;\\n bytes32 position = LibDiamond.DIAMOND_STORAGE_POSITION;\\n // get diamond storage\\n assembly {\\n ds.slot := position\\n }\\n // get facet from function selector\\n address facet = ds.selectorToFacetAndPosition[msg.sig].facetAddress;\\n require(facet != address(0), \\\"Diamond: Function does not exist\\\");\\n // Execute external function from facet using delegatecall and return any value.\\n assembly {\\n // copy function selector and any arguments\\n calldatacopy(0, 0, calldatasize())\\n // execute function call using the facet\\n let result := delegatecall(gas(), facet, 0, calldatasize(), 0, 0)\\n // get any return value\\n returndatacopy(0, 0, returndatasize())\\n // return any return value or error back to the caller\\n switch result\\n case 0 {\\n revert(0, returndatasize())\\n }\\n default {\\n return(0, returndatasize())\\n }\\n }\\n }\\n\\n receive() external payable {}\\n}\\n\"\n },\n \"solc_0.8/diamond/facets/DiamondCutFacet.sol\": {\n \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.0;\\n\\n/******************************************************************************\\\\\\n* Author: Nick Mudge (https://twitter.com/mudgen)\\n* EIP-2535 Diamonds: https://eips.ethereum.org/EIPS/eip-2535\\n/******************************************************************************/\\n\\nimport { IDiamondCut } from \\\"../interfaces/IDiamondCut.sol\\\";\\nimport { LibDiamond } from \\\"../libraries/LibDiamond.sol\\\";\\n\\ncontract DiamondCutFacet is IDiamondCut {\\n /// @notice Add/replace/remove any number of functions and optionally execute\\n /// a function with delegatecall\\n /// @param _diamondCut Contains the facet addresses and function selectors\\n /// @param _init The address of the contract or facet to execute _calldata\\n /// @param _calldata A function call, including function selector and arguments\\n /// _calldata is executed with delegatecall on _init\\n function diamondCut(\\n FacetCut[] calldata _diamondCut,\\n address _init,\\n bytes calldata _calldata\\n ) external override {\\n LibDiamond.enforceIsContractOwner();\\n LibDiamond.diamondCut(_diamondCut, _init, _calldata);\\n }\\n}\\n\"\n },\n \"solc_0.8/diamond/facets/DiamondLoupeFacet.sol\": {\n \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.0;\\n/******************************************************************************\\\\\\n* Author: Nick Mudge (https://twitter.com/mudgen)\\n* EIP-2535 Diamonds: https://eips.ethereum.org/EIPS/eip-2535\\n/******************************************************************************/\\n\\nimport { LibDiamond } from \\\"../libraries/LibDiamond.sol\\\";\\nimport { IDiamondLoupe } from \\\"../interfaces/IDiamondLoupe.sol\\\";\\nimport { IERC165 } from \\\"../interfaces/IERC165.sol\\\";\\n\\ncontract DiamondLoupeFacet is IDiamondLoupe, IERC165 {\\n // Diamond Loupe Functions\\n ////////////////////////////////////////////////////////////////////\\n /// These functions are expected to be called frequently by tools.\\n //\\n // struct Facet {\\n // address facetAddress;\\n // bytes4[] functionSelectors;\\n // }\\n\\n /// @notice Gets all facets and their selectors.\\n /// @return facets_ Facet\\n function facets() external override view returns (Facet[] memory facets_) {\\n LibDiamond.DiamondStorage storage ds = LibDiamond.diamondStorage();\\n uint256 numFacets = ds.facetAddresses.length;\\n facets_ = new Facet[](numFacets);\\n for (uint256 i; i < numFacets; i++) {\\n address facetAddress_ = ds.facetAddresses[i];\\n facets_[i].facetAddress = facetAddress_;\\n facets_[i].functionSelectors = ds.facetFunctionSelectors[facetAddress_].functionSelectors;\\n }\\n }\\n\\n /// @notice Gets all the function selectors provided by a facet.\\n /// @param _facet The facet address.\\n /// @return facetFunctionSelectors_\\n function facetFunctionSelectors(address _facet) external override view returns (bytes4[] memory facetFunctionSelectors_) {\\n LibDiamond.DiamondStorage storage ds = LibDiamond.diamondStorage();\\n facetFunctionSelectors_ = ds.facetFunctionSelectors[_facet].functionSelectors;\\n }\\n\\n /// @notice Get all the facet addresses used by a diamond.\\n /// @return facetAddresses_\\n function facetAddresses() external override view returns (address[] memory facetAddresses_) {\\n LibDiamond.DiamondStorage storage ds = LibDiamond.diamondStorage();\\n facetAddresses_ = ds.facetAddresses;\\n }\\n\\n /// @notice Gets the facet that supports the given selector.\\n /// @dev If facet is not found return address(0).\\n /// @param _functionSelector The function selector.\\n /// @return facetAddress_ The facet address.\\n function facetAddress(bytes4 _functionSelector) external override view returns (address facetAddress_) {\\n LibDiamond.DiamondStorage storage ds = LibDiamond.diamondStorage();\\n facetAddress_ = ds.selectorToFacetAndPosition[_functionSelector].facetAddress;\\n }\\n\\n // This implements ERC-165.\\n function supportsInterface(bytes4 _interfaceId) external override view returns (bool) {\\n LibDiamond.DiamondStorage storage ds = LibDiamond.diamondStorage();\\n return ds.supportedInterfaces[_interfaceId];\\n }\\n}\\n\"\n },\n \"solc_0.8/diamond/facets/OwnershipFacet.sol\": {\n \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.0;\\n\\nimport { LibDiamond } from \\\"../libraries/LibDiamond.sol\\\";\\nimport { IERC173 } from \\\"../interfaces/IERC173.sol\\\";\\n\\ncontract OwnershipFacet is IERC173 {\\n function transferOwnership(address _newOwner) external override {\\n LibDiamond.enforceIsContractOwner();\\n LibDiamond.setContractOwner(_newOwner);\\n }\\n\\n function owner() external override view returns (address owner_) {\\n owner_ = LibDiamond.contractOwner();\\n }\\n}\\n\"\n },\n \"solc_0.8/diamond/libraries/LibDiamond.sol\": {\n \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.0;\\n\\n/******************************************************************************\\\\\\n* Author: Nick Mudge (https://twitter.com/mudgen)\\n* EIP-2535 Diamonds: https://eips.ethereum.org/EIPS/eip-2535\\n/******************************************************************************/\\nimport { IDiamondCut } from \\\"../interfaces/IDiamondCut.sol\\\";\\n\\nlibrary LibDiamond {\\n bytes32 constant DIAMOND_STORAGE_POSITION = keccak256(\\\"diamond.standard.diamond.storage\\\");\\n\\n struct FacetAddressAndPosition {\\n address facetAddress;\\n uint96 functionSelectorPosition; // position in facetFunctionSelectors.functionSelectors array\\n }\\n\\n struct FacetFunctionSelectors {\\n bytes4[] functionSelectors;\\n uint256 facetAddressPosition; // position of facetAddress in facetAddresses array\\n }\\n\\n struct DiamondStorage {\\n // maps function selector to the facet address and\\n // the position of the selector in the facetFunctionSelectors.selectors array\\n mapping(bytes4 => FacetAddressAndPosition) selectorToFacetAndPosition;\\n // maps facet addresses to function selectors\\n mapping(address => FacetFunctionSelectors) facetFunctionSelectors;\\n // facet addresses\\n address[] facetAddresses;\\n // Used to query if a contract implements an interface.\\n // Used to implement ERC-165.\\n mapping(bytes4 => bool) supportedInterfaces;\\n // owner of the contract\\n address contractOwner;\\n }\\n\\n function diamondStorage() internal pure returns (DiamondStorage storage ds) {\\n bytes32 position = DIAMOND_STORAGE_POSITION;\\n assembly {\\n ds.slot := position\\n }\\n }\\n\\n event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);\\n\\n function setContractOwner(address _newOwner) internal {\\n DiamondStorage storage ds = diamondStorage();\\n address previousOwner = ds.contractOwner;\\n ds.contractOwner = _newOwner;\\n emit OwnershipTransferred(previousOwner, _newOwner);\\n }\\n\\n function contractOwner() internal view returns (address contractOwner_) {\\n contractOwner_ = diamondStorage().contractOwner;\\n }\\n\\n function enforceIsContractOwner() internal view {\\n require(msg.sender == diamondStorage().contractOwner, \\\"LibDiamond: Must be contract owner\\\");\\n }\\n\\n event DiamondCut(IDiamondCut.FacetCut[] _diamondCut, address _init, bytes _calldata);\\n\\n // Internal function version of diamondCut\\n function diamondCut(\\n IDiamondCut.FacetCut[] memory _diamondCut,\\n address _init,\\n bytes memory _calldata\\n ) internal {\\n for (uint256 facetIndex; facetIndex < _diamondCut.length; facetIndex++) {\\n IDiamondCut.FacetCutAction action = _diamondCut[facetIndex].action;\\n if (action == IDiamondCut.FacetCutAction.Add) {\\n addFunctions(_diamondCut[facetIndex].facetAddress, _diamondCut[facetIndex].functionSelectors);\\n } else if (action == IDiamondCut.FacetCutAction.Replace) {\\n replaceFunctions(_diamondCut[facetIndex].facetAddress, _diamondCut[facetIndex].functionSelectors);\\n } else if (action == IDiamondCut.FacetCutAction.Remove) {\\n removeFunctions(_diamondCut[facetIndex].facetAddress, _diamondCut[facetIndex].functionSelectors);\\n } else {\\n revert(\\\"LibDiamondCut: Incorrect FacetCutAction\\\");\\n }\\n }\\n emit DiamondCut(_diamondCut, _init, _calldata);\\n initializeDiamondCut(_init, _calldata);\\n }\\n\\n function addFunctions(address _facetAddress, bytes4[] memory _functionSelectors) internal {\\n require(_functionSelectors.length > 0, \\\"LibDiamondCut: No selectors in facet to cut\\\");\\n DiamondStorage storage ds = diamondStorage(); \\n require(_facetAddress != address(0), \\\"LibDiamondCut: Add facet can't be address(0)\\\");\\n uint96 selectorPosition = uint96(ds.facetFunctionSelectors[_facetAddress].functionSelectors.length);\\n // add new facet address if it does not exist\\n if (selectorPosition == 0) {\\n addFacet(ds, _facetAddress); \\n }\\n for (uint256 selectorIndex; selectorIndex < _functionSelectors.length; selectorIndex++) {\\n bytes4 selector = _functionSelectors[selectorIndex];\\n address oldFacetAddress = ds.selectorToFacetAndPosition[selector].facetAddress;\\n require(oldFacetAddress == address(0), \\\"LibDiamondCut: Can't add function that already exists\\\");\\n addFunction(ds, selector, selectorPosition, _facetAddress);\\n selectorPosition++;\\n }\\n }\\n\\n function replaceFunctions(address _facetAddress, bytes4[] memory _functionSelectors) internal {\\n require(_functionSelectors.length > 0, \\\"LibDiamondCut: No selectors in facet to cut\\\");\\n DiamondStorage storage ds = diamondStorage();\\n require(_facetAddress != address(0), \\\"LibDiamondCut: Add facet can't be address(0)\\\");\\n uint96 selectorPosition = uint96(ds.facetFunctionSelectors[_facetAddress].functionSelectors.length);\\n // add new facet address if it does not exist\\n if (selectorPosition == 0) {\\n addFacet(ds, _facetAddress);\\n }\\n for (uint256 selectorIndex; selectorIndex < _functionSelectors.length; selectorIndex++) {\\n bytes4 selector = _functionSelectors[selectorIndex];\\n address oldFacetAddress = ds.selectorToFacetAndPosition[selector].facetAddress;\\n require(oldFacetAddress != _facetAddress, \\\"LibDiamondCut: Can't replace function with same function\\\");\\n removeFunction(ds, oldFacetAddress, selector);\\n addFunction(ds, selector, selectorPosition, _facetAddress);\\n selectorPosition++;\\n }\\n }\\n\\n function removeFunctions(address _facetAddress, bytes4[] memory _functionSelectors) internal {\\n require(_functionSelectors.length > 0, \\\"LibDiamondCut: No selectors in facet to cut\\\");\\n DiamondStorage storage ds = diamondStorage();\\n // if function does not exist then do nothing and return\\n require(_facetAddress == address(0), \\\"LibDiamondCut: Remove facet address must be address(0)\\\");\\n for (uint256 selectorIndex; selectorIndex < _functionSelectors.length; selectorIndex++) {\\n bytes4 selector = _functionSelectors[selectorIndex];\\n address oldFacetAddress = ds.selectorToFacetAndPosition[selector].facetAddress;\\n removeFunction(ds, oldFacetAddress, selector);\\n }\\n }\\n\\n function addFacet(DiamondStorage storage ds, address _facetAddress) internal {\\n enforceHasContractCode(_facetAddress, \\\"LibDiamondCut: New facet has no code\\\");\\n ds.facetFunctionSelectors[_facetAddress].facetAddressPosition = ds.facetAddresses.length;\\n ds.facetAddresses.push(_facetAddress);\\n } \\n\\n\\n function addFunction(DiamondStorage storage ds, bytes4 _selector, uint96 _selectorPosition, address _facetAddress) internal {\\n ds.selectorToFacetAndPosition[_selector].functionSelectorPosition = _selectorPosition;\\n ds.facetFunctionSelectors[_facetAddress].functionSelectors.push(_selector);\\n ds.selectorToFacetAndPosition[_selector].facetAddress = _facetAddress;\\n }\\n\\n function removeFunction(DiamondStorage storage ds, address _facetAddress, bytes4 _selector) internal { \\n require(_facetAddress != address(0), \\\"LibDiamondCut: Can't remove function that doesn't exist\\\");\\n // an immutable function is a function defined directly in a diamond\\n require(_facetAddress != address(this), \\\"LibDiamondCut: Can't remove immutable function\\\");\\n // replace selector with last selector, then delete last selector\\n uint256 selectorPosition = ds.selectorToFacetAndPosition[_selector].functionSelectorPosition;\\n uint256 lastSelectorPosition = ds.facetFunctionSelectors[_facetAddress].functionSelectors.length - 1;\\n // if not the same then replace _selector with lastSelector\\n if (selectorPosition != lastSelectorPosition) {\\n bytes4 lastSelector = ds.facetFunctionSelectors[_facetAddress].functionSelectors[lastSelectorPosition];\\n ds.facetFunctionSelectors[_facetAddress].functionSelectors[selectorPosition] = lastSelector;\\n ds.selectorToFacetAndPosition[lastSelector].functionSelectorPosition = uint96(selectorPosition);\\n }\\n // delete the last selector\\n ds.facetFunctionSelectors[_facetAddress].functionSelectors.pop();\\n delete ds.selectorToFacetAndPosition[_selector];\\n\\n // if no more selectors for facet address then delete the facet address\\n if (lastSelectorPosition == 0) {\\n // replace facet address with last facet address and delete last facet address\\n uint256 lastFacetAddressPosition = ds.facetAddresses.length - 1;\\n uint256 facetAddressPosition = ds.facetFunctionSelectors[_facetAddress].facetAddressPosition;\\n if (facetAddressPosition != lastFacetAddressPosition) {\\n address lastFacetAddress = ds.facetAddresses[lastFacetAddressPosition];\\n ds.facetAddresses[facetAddressPosition] = lastFacetAddress;\\n ds.facetFunctionSelectors[lastFacetAddress].facetAddressPosition = facetAddressPosition;\\n }\\n ds.facetAddresses.pop();\\n delete ds.facetFunctionSelectors[_facetAddress].facetAddressPosition;\\n }\\n }\\n\\n function initializeDiamondCut(address _init, bytes memory _calldata) internal {\\n if (_init == address(0)) {\\n require(_calldata.length == 0, \\\"LibDiamondCut: _init is address(0) but_calldata is not empty\\\");\\n } else {\\n require(_calldata.length > 0, \\\"LibDiamondCut: _calldata is empty but _init is not address(0)\\\");\\n if (_init != address(this)) {\\n enforceHasContractCode(_init, \\\"LibDiamondCut: _init address has no code\\\");\\n }\\n (bool success, bytes memory error) = _init.delegatecall(_calldata);\\n if (!success) {\\n if (error.length > 0) {\\n // bubble up the error\\n revert(string(error));\\n } else {\\n revert(\\\"LibDiamondCut: _init function reverted\\\");\\n }\\n }\\n }\\n }\\n\\n function enforceHasContractCode(address _contract, string memory _errorMessage) internal view {\\n uint256 contractSize;\\n assembly {\\n contractSize := extcodesize(_contract)\\n }\\n require(contractSize > 0, _errorMessage);\\n }\\n}\\n\"\n },\n \"solc_0.8/diamond/interfaces/IDiamondLoupe.sol\": {\n \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.0;\\n\\n/******************************************************************************\\\\\\n* Author: Nick Mudge (https://twitter.com/mudgen)\\n* EIP-2535 Diamonds: https://eips.ethereum.org/EIPS/eip-2535\\n/******************************************************************************/\\n\\n// A loupe is a small magnifying glass used to look at diamonds.\\n// These functions look at diamonds\\ninterface IDiamondLoupe {\\n /// These functions are expected to be called frequently\\n /// by tools.\\n\\n struct Facet {\\n address facetAddress;\\n bytes4[] functionSelectors;\\n }\\n\\n /// @notice Gets all facet addresses and their four byte function selectors.\\n /// @return facets_ Facet\\n function facets() external view returns (Facet[] memory facets_);\\n\\n /// @notice Gets all the function selectors supported by a specific facet.\\n /// @param _facet The facet address.\\n /// @return facetFunctionSelectors_\\n function facetFunctionSelectors(address _facet) external view returns (bytes4[] memory facetFunctionSelectors_);\\n\\n /// @notice Get all the facet addresses used by a diamond.\\n /// @return facetAddresses_\\n function facetAddresses() external view returns (address[] memory facetAddresses_);\\n\\n /// @notice Gets the facet that supports the given selector.\\n /// @dev If facet is not found return address(0).\\n /// @param _functionSelector The function selector.\\n /// @return facetAddress_ The facet address.\\n function facetAddress(bytes4 _functionSelector) external view returns (address facetAddress_);\\n}\\n\"\n },\n \"solc_0.8/diamond/interfaces/IERC173.sol\": {\n \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.0;\\n\\n/// @title ERC-173 Contract Ownership Standard\\n/// Note: the ERC-165 identifier for this interface is 0x7f5828d0\\n/* is ERC165 */\\ninterface IERC173 {\\n /// @dev This emits when ownership of a contract changes.\\n event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);\\n\\n /// @notice Get the address of the owner\\n /// @return owner_ The address of the owner.\\n function owner() external view returns (address owner_);\\n\\n /// @notice Set the address of the new owner of the contract\\n /// @dev Set _newOwner to address(0) to renounce any ownership.\\n /// @param _newOwner The address of the new owner of the contract\\n function transferOwnership(address _newOwner) external;\\n}\\n\"\n },\n \"solc_0.8/diamond/interfaces/IERC165.sol\": {\n \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.0;\\n\\ninterface IERC165 {\\n /// @notice Query if a contract implements an interface\\n /// @param interfaceId The interface identifier, as specified in ERC-165\\n /// @dev Interface identification is specified in ERC-165. This function\\n /// uses less than 30,000 gas.\\n /// @return `true` if the contract implements `interfaceID` and\\n /// `interfaceID` is not 0xffffffff, `false` otherwise\\n function supportsInterface(bytes4 interfaceId) external view returns (bool);\\n}\\n\"\n },\n \"solc_0.8/diamond/upgradeInitializers/DiamondInit.sol\": {\n \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.0;\\n\\n/******************************************************************************\\\\\\n* Author: Nick Mudge (https://twitter.com/mudgen)\\n* EIP-2535 Diamonds: https://eips.ethereum.org/EIPS/eip-2535\\n*\\n* Implementation of a diamond.\\n/******************************************************************************/\\n\\nimport {LibDiamond} from \\\"../libraries/LibDiamond.sol\\\";\\nimport { IDiamondLoupe } from \\\"../interfaces/IDiamondLoupe.sol\\\";\\nimport { IDiamondCut } from \\\"../interfaces/IDiamondCut.sol\\\";\\nimport { IERC173 } from \\\"../interfaces/IERC173.sol\\\";\\nimport { IERC165 } from \\\"../interfaces/IERC165.sol\\\";\\n\\n// It is exapected that this contract is customized if you want to deploy your diamond\\n// with data from a deployment script. Use the init function to initialize state variables\\n// of your diamond. Add parameters to the init funciton if you need to.\\n\\ncontract DiamondInit { \\n\\n // You can add parameters to this function in order to pass in \\n // data to set your own state variables\\n function init() external {\\n // adding ERC165 data\\n LibDiamond.DiamondStorage storage ds = LibDiamond.diamondStorage();\\n ds.supportedInterfaces[type(IERC165).interfaceId] = true;\\n ds.supportedInterfaces[type(IDiamondCut).interfaceId] = true;\\n ds.supportedInterfaces[type(IDiamondLoupe).interfaceId] = true;\\n ds.supportedInterfaces[type(IERC173).interfaceId] = true;\\n\\n // add your own state variables \\n // EIP-2535 specifies that the `diamondCut` function takes two optional \\n // arguments: address _init and bytes calldata _calldata\\n // These arguments are used to execute an arbitrary function using delegatecall\\n // in order to set state variables in the diamond during deployment or an upgrade\\n // More info here: https://eips.ethereum.org/EIPS/eip-2535#diamond-interface \\n }\\n\\n\\n}\"\n }\n },\n \"settings\": {\n \"optimizer\": {\n \"enabled\": true,\n \"runs\": 999999\n },\n \"outputSelection\": {\n \"*\": {\n \"*\": [\n \"abi\",\n \"evm.bytecode\",\n \"evm.deployedBytecode\",\n \"evm.methodIdentifiers\",\n \"metadata\",\n \"devdoc\",\n \"userdoc\",\n \"storageLayout\",\n \"evm.gasEstimates\"\n ],\n \"\": [\n \"ast\"\n ]\n }\n },\n \"metadata\": {\n \"useLiteralContent\": true\n }\n }\n}", + "solcInputHash": "91f18d120de6fe2bcaa5a3bff0ad9fe7" } \ No newline at end of file diff --git a/extendedArtifacts/OwnershipFacet.json b/extendedArtifacts/OwnershipFacet.json index ef56ce77..4e4b34a6 100644 --- a/extendedArtifacts/OwnershipFacet.json +++ b/extendedArtifacts/OwnershipFacet.json @@ -1,6 +1,6 @@ { "contractName": "OwnershipFacet", - "sourceName": "solc_0.7/diamond/facets/OwnershipFacet.sol", + "sourceName": "solc_0.8/diamond/facets/OwnershipFacet.sol", "abi": [ { "anonymous": false, @@ -48,8 +48,8 @@ "type": "function" } ], - "bytecode": "0x608060405234801561001057600080fd5b5061028e806100206000396000f3fe608060405234801561001057600080fd5b50600436106100365760003560e01c80638da5cb5b1461003b578063f2fde38b1461006c575b600080fd5b6100436100a1565b6040805173ffffffffffffffffffffffffffffffffffffffff9092168252519081900360200190f35b61009f6004803603602081101561008257600080fd5b503573ffffffffffffffffffffffffffffffffffffffff166100b0565b005b60006100ab6100c4565b905090565b6100b86100ed565b6100c181610152565b50565b60006100ce6101d7565b6004015473ffffffffffffffffffffffffffffffffffffffff16919050565b6100f56101d7565b6004015473ffffffffffffffffffffffffffffffffffffffff163314610150576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610147906101fb565b60405180910390fd5b565b600061015c6101d7565b60048101805473ffffffffffffffffffffffffffffffffffffffff8581167fffffffffffffffffffffffff000000000000000000000000000000000000000083168117909355604051939450169182907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3505050565b7fc8fcad8db84d3cc18b4c41d551ea0ee66dd599cde068d998e57d5e09332c131c90565b60208082526022908201527f4c69624469616d6f6e643a204d75737420626520636f6e7472616374206f776e60408201527f657200000000000000000000000000000000000000000000000000000000000060608201526080019056fea264697066735822122079ec72c8755f7643c02e0e5cbe49008e7623fffe4b39b7289aaf42f538b75bd664736f6c63430007060033", - "deployedBytecode": "0x608060405234801561001057600080fd5b50600436106100365760003560e01c80638da5cb5b1461003b578063f2fde38b1461006c575b600080fd5b6100436100a1565b6040805173ffffffffffffffffffffffffffffffffffffffff9092168252519081900360200190f35b61009f6004803603602081101561008257600080fd5b503573ffffffffffffffffffffffffffffffffffffffff166100b0565b005b60006100ab6100c4565b905090565b6100b86100ed565b6100c181610152565b50565b60006100ce6101d7565b6004015473ffffffffffffffffffffffffffffffffffffffff16919050565b6100f56101d7565b6004015473ffffffffffffffffffffffffffffffffffffffff163314610150576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610147906101fb565b60405180910390fd5b565b600061015c6101d7565b60048101805473ffffffffffffffffffffffffffffffffffffffff8581167fffffffffffffffffffffffff000000000000000000000000000000000000000083168117909355604051939450169182907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3505050565b7fc8fcad8db84d3cc18b4c41d551ea0ee66dd599cde068d998e57d5e09332c131c90565b60208082526022908201527f4c69624469616d6f6e643a204d75737420626520636f6e7472616374206f776e60408201527f657200000000000000000000000000000000000000000000000000000000000060608201526080019056fea264697066735822122079ec72c8755f7643c02e0e5cbe49008e7623fffe4b39b7289aaf42f538b75bd664736f6c63430007060033", + "bytecode": "0x608060405234801561001057600080fd5b506102d6806100206000396000f3fe608060405234801561001057600080fd5b50600436106100365760003560e01c80638da5cb5b1461003b578063f2fde38b1461006c575b600080fd5b610043610081565b60405173ffffffffffffffffffffffffffffffffffffffff909116815260200160405180910390f35b61007f61007a366004610263565b6100c6565b005b60006100c17fc8fcad8db84d3cc18b4c41d551ea0ee66dd599cde068d998e57d5e09332c13205473ffffffffffffffffffffffffffffffffffffffff1690565b905090565b6100ce6100da565b6100d7816101a9565b50565b7fc8fcad8db84d3cc18b4c41d551ea0ee66dd599cde068d998e57d5e09332c131c6004015473ffffffffffffffffffffffffffffffffffffffff1633146101a7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602260248201527f4c69624469616d6f6e643a204d75737420626520636f6e7472616374206f776e60448201527f6572000000000000000000000000000000000000000000000000000000000000606482015260840160405180910390fd5b565b7fc8fcad8db84d3cc18b4c41d551ea0ee66dd599cde068d998e57d5e09332c132080547fffffffffffffffffffffffff0000000000000000000000000000000000000000811673ffffffffffffffffffffffffffffffffffffffff8481169182179093556040517fc8fcad8db84d3cc18b4c41d551ea0ee66dd599cde068d998e57d5e09332c131c939092169182907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3505050565b60006020828403121561027557600080fd5b813573ffffffffffffffffffffffffffffffffffffffff8116811461029957600080fd5b939250505056fea2646970667358221220afe54a74df56254d54c0c99e01edfbc48ce57bd7975a687bcd11cf46bd6ef5ae64736f6c63430008090033", + "deployedBytecode": "0x608060405234801561001057600080fd5b50600436106100365760003560e01c80638da5cb5b1461003b578063f2fde38b1461006c575b600080fd5b610043610081565b60405173ffffffffffffffffffffffffffffffffffffffff909116815260200160405180910390f35b61007f61007a366004610263565b6100c6565b005b60006100c17fc8fcad8db84d3cc18b4c41d551ea0ee66dd599cde068d998e57d5e09332c13205473ffffffffffffffffffffffffffffffffffffffff1690565b905090565b6100ce6100da565b6100d7816101a9565b50565b7fc8fcad8db84d3cc18b4c41d551ea0ee66dd599cde068d998e57d5e09332c131c6004015473ffffffffffffffffffffffffffffffffffffffff1633146101a7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602260248201527f4c69624469616d6f6e643a204d75737420626520636f6e7472616374206f776e60448201527f6572000000000000000000000000000000000000000000000000000000000000606482015260840160405180910390fd5b565b7fc8fcad8db84d3cc18b4c41d551ea0ee66dd599cde068d998e57d5e09332c132080547fffffffffffffffffffffffff0000000000000000000000000000000000000000811673ffffffffffffffffffffffffffffffffffffffff8481169182179093556040517fc8fcad8db84d3cc18b4c41d551ea0ee66dd599cde068d998e57d5e09332c131c939092169182907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3505050565b60006020828403121561027557600080fd5b813573ffffffffffffffffffffffffffffffffffffffff8116811461029957600080fd5b939250505056fea2646970667358221220afe54a74df56254d54c0c99e01edfbc48ce57bd7975a687bcd11cf46bd6ef5ae64736f6c63430008090033", "linkReferences": {}, "deployedLinkReferences": {}, "devdoc": { @@ -71,27 +71,438 @@ }, "evm": { "bytecode": { + "functionDebugData": {}, "generatedSources": [], "linkReferences": {}, - "opcodes": "PUSH1 0x80 PUSH1 0x40 MSTORE CALLVALUE DUP1 ISZERO PUSH2 0x10 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH2 0x28E DUP1 PUSH2 0x20 PUSH1 0x0 CODECOPY PUSH1 0x0 RETURN INVALID PUSH1 0x80 PUSH1 0x40 MSTORE CALLVALUE DUP1 ISZERO PUSH2 0x10 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH1 0x4 CALLDATASIZE LT PUSH2 0x36 JUMPI PUSH1 0x0 CALLDATALOAD PUSH1 0xE0 SHR DUP1 PUSH4 0x8DA5CB5B EQ PUSH2 0x3B JUMPI DUP1 PUSH4 0xF2FDE38B EQ PUSH2 0x6C JUMPI JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x43 PUSH2 0xA1 JUMP JUMPDEST PUSH1 0x40 DUP1 MLOAD PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF SWAP1 SWAP3 AND DUP3 MSTORE MLOAD SWAP1 DUP2 SWAP1 SUB PUSH1 0x20 ADD SWAP1 RETURN JUMPDEST PUSH2 0x9F PUSH1 0x4 DUP1 CALLDATASIZE SUB PUSH1 0x20 DUP2 LT ISZERO PUSH2 0x82 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP CALLDATALOAD PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH2 0xB0 JUMP JUMPDEST STOP JUMPDEST PUSH1 0x0 PUSH2 0xAB PUSH2 0xC4 JUMP JUMPDEST SWAP1 POP SWAP1 JUMP JUMPDEST PUSH2 0xB8 PUSH2 0xED JUMP JUMPDEST PUSH2 0xC1 DUP2 PUSH2 0x152 JUMP JUMPDEST POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0xCE PUSH2 0x1D7 JUMP JUMPDEST PUSH1 0x4 ADD SLOAD PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND SWAP2 SWAP1 POP JUMP JUMPDEST PUSH2 0xF5 PUSH2 0x1D7 JUMP JUMPDEST PUSH1 0x4 ADD SLOAD PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND CALLER EQ PUSH2 0x150 JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x147 SWAP1 PUSH2 0x1FB JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST JUMP JUMPDEST PUSH1 0x0 PUSH2 0x15C PUSH2 0x1D7 JUMP JUMPDEST PUSH1 0x4 DUP2 ADD DUP1 SLOAD PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP6 DUP2 AND PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFF0000000000000000000000000000000000000000 DUP4 AND DUP2 OR SWAP1 SWAP4 SSTORE PUSH1 0x40 MLOAD SWAP4 SWAP5 POP AND SWAP2 DUP3 SWAP1 PUSH32 0x8BE0079C531659141344CD1FD0A4F28419497F9722A3DAAFE3B4186F6B6457E0 SWAP1 PUSH1 0x0 SWAP1 LOG3 POP POP POP JUMP JUMPDEST PUSH32 0xC8FCAD8DB84D3CC18B4C41D551EA0EE66DD599CDE068D998E57D5E09332C131C SWAP1 JUMP JUMPDEST PUSH1 0x20 DUP1 DUP3 MSTORE PUSH1 0x22 SWAP1 DUP3 ADD MSTORE PUSH32 0x4C69624469616D6F6E643A204D75737420626520636F6E7472616374206F776E PUSH1 0x40 DUP3 ADD MSTORE PUSH32 0x6572000000000000000000000000000000000000000000000000000000000000 PUSH1 0x60 DUP3 ADD MSTORE PUSH1 0x80 ADD SWAP1 JUMP INVALID LOG2 PUSH5 0x6970667358 0x22 SLT KECCAK256 PUSH26 0xEC72C8755F7643C02E0E5CBE49008E7623FFFE4B39B7289AAF42 CREATE2 CODESIZE 0xB7 JUMPDEST 0xD6 PUSH5 0x736F6C6343 STOP SMOD MOD STOP CALLER ", - "sourceMap": "132:330:4:-:0;;;;;;;;;;;;;;;;;;;" + "opcodes": "PUSH1 0x80 PUSH1 0x40 MSTORE CALLVALUE DUP1 ISZERO PUSH2 0x10 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH2 0x2D6 DUP1 PUSH2 0x20 PUSH1 0x0 CODECOPY PUSH1 0x0 RETURN INVALID PUSH1 0x80 PUSH1 0x40 MSTORE CALLVALUE DUP1 ISZERO PUSH2 0x10 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH1 0x4 CALLDATASIZE LT PUSH2 0x36 JUMPI PUSH1 0x0 CALLDATALOAD PUSH1 0xE0 SHR DUP1 PUSH4 0x8DA5CB5B EQ PUSH2 0x3B JUMPI DUP1 PUSH4 0xF2FDE38B EQ PUSH2 0x6C JUMPI JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x43 PUSH2 0x81 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF SWAP1 SWAP2 AND DUP2 MSTORE PUSH1 0x20 ADD PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH2 0x7F PUSH2 0x7A CALLDATASIZE PUSH1 0x4 PUSH2 0x263 JUMP JUMPDEST PUSH2 0xC6 JUMP JUMPDEST STOP JUMPDEST PUSH1 0x0 PUSH2 0xC1 PUSH32 0xC8FCAD8DB84D3CC18B4C41D551EA0EE66DD599CDE068D998E57D5E09332C1320 SLOAD PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND SWAP1 JUMP JUMPDEST SWAP1 POP SWAP1 JUMP JUMPDEST PUSH2 0xCE PUSH2 0xDA JUMP JUMPDEST PUSH2 0xD7 DUP2 PUSH2 0x1A9 JUMP JUMPDEST POP JUMP JUMPDEST PUSH32 0xC8FCAD8DB84D3CC18B4C41D551EA0EE66DD599CDE068D998E57D5E09332C131C PUSH1 0x4 ADD SLOAD PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND CALLER EQ PUSH2 0x1A7 JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x22 PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x4C69624469616D6F6E643A204D75737420626520636F6E7472616374206F776E PUSH1 0x44 DUP3 ADD MSTORE PUSH32 0x6572000000000000000000000000000000000000000000000000000000000000 PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 ADD PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST JUMP JUMPDEST PUSH32 0xC8FCAD8DB84D3CC18B4C41D551EA0EE66DD599CDE068D998E57D5E09332C1320 DUP1 SLOAD PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFF0000000000000000000000000000000000000000 DUP2 AND PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP5 DUP2 AND SWAP2 DUP3 OR SWAP1 SWAP4 SSTORE PUSH1 0x40 MLOAD PUSH32 0xC8FCAD8DB84D3CC18B4C41D551EA0EE66DD599CDE068D998E57D5E09332C131C SWAP4 SWAP1 SWAP3 AND SWAP2 DUP3 SWAP1 PUSH32 0x8BE0079C531659141344CD1FD0A4F28419497F9722A3DAAFE3B4186F6B6457E0 SWAP1 PUSH1 0x0 SWAP1 LOG3 POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x275 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP2 CALLDATALOAD PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP2 AND DUP2 EQ PUSH2 0x299 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST SWAP4 SWAP3 POP POP POP JUMP INVALID LOG2 PUSH5 0x6970667358 0x22 SLT KECCAK256 0xAF 0xE5 0x4A PUSH21 0xDF56254D54C0C99E01EDFBC48CE57BD7975A687BCD GT 0xCF CHAINID 0xBD PUSH15 0xF5AE64736F6C634300080900330000 ", + "sourceMap": "169:330:4:-:0;;;;;;;;;;;;;;;;;;;" }, "deployedBytecode": { + "functionDebugData": { + "@contractOwner_907": { + "entryPoint": null, + "id": 907, + "parameterSlots": 0, + "returnSlots": 1 + }, + "@diamondStorage_861": { + "entryPoint": null, + "id": 861, + "parameterSlots": 0, + "returnSlots": 1 + }, + "@enforceIsContractOwner_921": { + "entryPoint": 218, + "id": 921, + "parameterSlots": 0, + "returnSlots": 0 + }, + "@owner_695": { + "entryPoint": 129, + "id": 695, + "parameterSlots": 0, + "returnSlots": 1 + }, + "@setContractOwner_895": { + "entryPoint": 425, + "id": 895, + "parameterSlots": 1, + "returnSlots": 0 + }, + "@transferOwnership_682": { + "entryPoint": 198, + "id": 682, + "parameterSlots": 1, + "returnSlots": 0 + }, + "abi_decode_tuple_t_address": { + "entryPoint": 611, + "id": null, + "parameterSlots": 2, + "returnSlots": 1 + }, + "abi_encode_tuple_t_address__to_t_address__fromStack_reversed": { + "entryPoint": null, + "id": null, + "parameterSlots": 2, + "returnSlots": 1 + }, + "abi_encode_tuple_t_stringliteral_0d4ae41009c51fd276653a54d7793c24f266ddc8c56ce21f8be5e2c6595ab3ac__to_t_string_memory_ptr__fromStack_reversed": { + "entryPoint": null, + "id": null, + "parameterSlots": 1, + "returnSlots": 1 + } + }, "generatedSources": [ { "ast": { "nodeType": "YulBlock", - "src": "0:414:10", + "src": "0:959:11", "statements": [ { "nodeType": "YulBlock", - "src": "6:3:10", + "src": "6:3:11", "statements": [] }, { "body": { "nodeType": "YulBlock", - "src": "188:224:10", + "src": "115:125:11", + "statements": [ + { + "nodeType": "YulAssignment", + "src": "125:26:11", + "value": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "137:9:11" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "148:2:11", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "133:3:11" + }, + "nodeType": "YulFunctionCall", + "src": "133:18:11" + }, + "variableNames": [ + { + "name": "tail", + "nodeType": "YulIdentifier", + "src": "125:4:11" + } + ] + }, + { + "expression": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "167:9:11" + }, + { + "arguments": [ + { + "name": "value0", + "nodeType": "YulIdentifier", + "src": "182:6:11" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "190:42:11", + "type": "", + "value": "0xffffffffffffffffffffffffffffffffffffffff" + } + ], + "functionName": { + "name": "and", + "nodeType": "YulIdentifier", + "src": "178:3:11" + }, + "nodeType": "YulFunctionCall", + "src": "178:55:11" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "160:6:11" + }, + "nodeType": "YulFunctionCall", + "src": "160:74:11" + }, + "nodeType": "YulExpressionStatement", + "src": "160:74:11" + } + ] + }, + "name": "abi_encode_tuple_t_address__to_t_address__fromStack_reversed", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "headStart", + "nodeType": "YulTypedName", + "src": "84:9:11", + "type": "" + }, + { + "name": "value0", + "nodeType": "YulTypedName", + "src": "95:6:11", + "type": "" + } + ], + "returnVariables": [ + { + "name": "tail", + "nodeType": "YulTypedName", + "src": "106:4:11", + "type": "" + } + ], + "src": "14:226:11" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "315:239:11", + "statements": [ + { + "body": { + "nodeType": "YulBlock", + "src": "361:16:11", + "statements": [ + { + "expression": { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "370:1:11", + "type": "", + "value": "0" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "373:1:11", + "type": "", + "value": "0" + } + ], + "functionName": { + "name": "revert", + "nodeType": "YulIdentifier", + "src": "363:6:11" + }, + "nodeType": "YulFunctionCall", + "src": "363:12:11" + }, + "nodeType": "YulExpressionStatement", + "src": "363:12:11" + } + ] + }, + "condition": { + "arguments": [ + { + "arguments": [ + { + "name": "dataEnd", + "nodeType": "YulIdentifier", + "src": "336:7:11" + }, + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "345:9:11" + } + ], + "functionName": { + "name": "sub", + "nodeType": "YulIdentifier", + "src": "332:3:11" + }, + "nodeType": "YulFunctionCall", + "src": "332:23:11" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "357:2:11", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "slt", + "nodeType": "YulIdentifier", + "src": "328:3:11" + }, + "nodeType": "YulFunctionCall", + "src": "328:32:11" + }, + "nodeType": "YulIf", + "src": "325:52:11" + }, + { + "nodeType": "YulVariableDeclaration", + "src": "386:36:11", + "value": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "412:9:11" + } + ], + "functionName": { + "name": "calldataload", + "nodeType": "YulIdentifier", + "src": "399:12:11" + }, + "nodeType": "YulFunctionCall", + "src": "399:23:11" + }, + "variables": [ + { + "name": "value", + "nodeType": "YulTypedName", + "src": "390:5:11", + "type": "" + } + ] + }, + { + "body": { + "nodeType": "YulBlock", + "src": "508:16:11", + "statements": [ + { + "expression": { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "517:1:11", + "type": "", + "value": "0" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "520:1:11", + "type": "", + "value": "0" + } + ], + "functionName": { + "name": "revert", + "nodeType": "YulIdentifier", + "src": "510:6:11" + }, + "nodeType": "YulFunctionCall", + "src": "510:12:11" + }, + "nodeType": "YulExpressionStatement", + "src": "510:12:11" + } + ] + }, + "condition": { + "arguments": [ + { + "arguments": [ + { + "name": "value", + "nodeType": "YulIdentifier", + "src": "444:5:11" + }, + { + "arguments": [ + { + "name": "value", + "nodeType": "YulIdentifier", + "src": "455:5:11" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "462:42:11", + "type": "", + "value": "0xffffffffffffffffffffffffffffffffffffffff" + } + ], + "functionName": { + "name": "and", + "nodeType": "YulIdentifier", + "src": "451:3:11" + }, + "nodeType": "YulFunctionCall", + "src": "451:54:11" + } + ], + "functionName": { + "name": "eq", + "nodeType": "YulIdentifier", + "src": "441:2:11" + }, + "nodeType": "YulFunctionCall", + "src": "441:65:11" + } + ], + "functionName": { + "name": "iszero", + "nodeType": "YulIdentifier", + "src": "434:6:11" + }, + "nodeType": "YulFunctionCall", + "src": "434:73:11" + }, + "nodeType": "YulIf", + "src": "431:93:11" + }, + { + "nodeType": "YulAssignment", + "src": "533:15:11", + "value": { + "name": "value", + "nodeType": "YulIdentifier", + "src": "543:5:11" + }, + "variableNames": [ + { + "name": "value0", + "nodeType": "YulIdentifier", + "src": "533:6:11" + } + ] + } + ] + }, + "name": "abi_decode_tuple_t_address", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "headStart", + "nodeType": "YulTypedName", + "src": "281:9:11", + "type": "" + }, + { + "name": "dataEnd", + "nodeType": "YulTypedName", + "src": "292:7:11", + "type": "" + } + ], + "returnVariables": [ + { + "name": "value0", + "nodeType": "YulTypedName", + "src": "304:6:11", + "type": "" + } + ], + "src": "245:309:11" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "733:224:11", "statements": [ { "expression": { @@ -99,12 +510,12 @@ { "name": "headStart", "nodeType": "YulIdentifier", - "src": "205:9:10" + "src": "750:9:11" }, { "kind": "number", "nodeType": "YulLiteral", - "src": "216:2:10", + "src": "761:2:11", "type": "", "value": "32" } @@ -112,13 +523,13 @@ "functionName": { "name": "mstore", "nodeType": "YulIdentifier", - "src": "198:6:10" + "src": "743:6:11" }, "nodeType": "YulFunctionCall", - "src": "198:21:10" + "src": "743:21:11" }, "nodeType": "YulExpressionStatement", - "src": "198:21:10" + "src": "743:21:11" }, { "expression": { @@ -128,12 +539,12 @@ { "name": "headStart", "nodeType": "YulIdentifier", - "src": "239:9:10" + "src": "784:9:11" }, { "kind": "number", "nodeType": "YulLiteral", - "src": "250:2:10", + "src": "795:2:11", "type": "", "value": "32" } @@ -141,15 +552,15 @@ "functionName": { "name": "add", "nodeType": "YulIdentifier", - "src": "235:3:10" + "src": "780:3:11" }, "nodeType": "YulFunctionCall", - "src": "235:18:10" + "src": "780:18:11" }, { "kind": "number", "nodeType": "YulLiteral", - "src": "255:2:10", + "src": "800:2:11", "type": "", "value": "34" } @@ -157,13 +568,13 @@ "functionName": { "name": "mstore", "nodeType": "YulIdentifier", - "src": "228:6:10" + "src": "773:6:11" }, "nodeType": "YulFunctionCall", - "src": "228:30:10" + "src": "773:30:11" }, "nodeType": "YulExpressionStatement", - "src": "228:30:10" + "src": "773:30:11" }, { "expression": { @@ -173,12 +584,12 @@ { "name": "headStart", "nodeType": "YulIdentifier", - "src": "278:9:10" + "src": "823:9:11" }, { "kind": "number", "nodeType": "YulLiteral", - "src": "289:2:10", + "src": "834:2:11", "type": "", "value": "64" } @@ -186,15 +597,16 @@ "functionName": { "name": "add", "nodeType": "YulIdentifier", - "src": "274:3:10" + "src": "819:3:11" }, "nodeType": "YulFunctionCall", - "src": "274:18:10" + "src": "819:18:11" }, { + "hexValue": "4c69624469616d6f6e643a204d75737420626520636f6e7472616374206f776e", "kind": "string", "nodeType": "YulLiteral", - "src": "294:34:10", + "src": "839:34:11", "type": "", "value": "LibDiamond: Must be contract own" } @@ -202,13 +614,13 @@ "functionName": { "name": "mstore", "nodeType": "YulIdentifier", - "src": "267:6:10" + "src": "812:6:11" }, "nodeType": "YulFunctionCall", - "src": "267:62:10" + "src": "812:62:11" }, "nodeType": "YulExpressionStatement", - "src": "267:62:10" + "src": "812:62:11" }, { "expression": { @@ -218,12 +630,12 @@ { "name": "headStart", "nodeType": "YulIdentifier", - "src": "349:9:10" + "src": "894:9:11" }, { "kind": "number", "nodeType": "YulLiteral", - "src": "360:2:10", + "src": "905:2:11", "type": "", "value": "96" } @@ -231,15 +643,16 @@ "functionName": { "name": "add", "nodeType": "YulIdentifier", - "src": "345:3:10" + "src": "890:3:11" }, "nodeType": "YulFunctionCall", - "src": "345:18:10" + "src": "890:18:11" }, { + "hexValue": "6572", "kind": "string", "nodeType": "YulLiteral", - "src": "365:4:10", + "src": "910:4:11", "type": "", "value": "er" } @@ -247,28 +660,28 @@ "functionName": { "name": "mstore", "nodeType": "YulIdentifier", - "src": "338:6:10" + "src": "883:6:11" }, "nodeType": "YulFunctionCall", - "src": "338:32:10" + "src": "883:32:11" }, "nodeType": "YulExpressionStatement", - "src": "338:32:10" + "src": "883:32:11" }, { "nodeType": "YulAssignment", - "src": "379:27:10", + "src": "924:27:11", "value": { "arguments": [ { "name": "headStart", "nodeType": "YulIdentifier", - "src": "391:9:10" + "src": "936:9:11" }, { "kind": "number", "nodeType": "YulLiteral", - "src": "402:3:10", + "src": "947:3:11", "type": "", "value": "128" } @@ -276,16 +689,16 @@ "functionName": { "name": "add", "nodeType": "YulIdentifier", - "src": "387:3:10" + "src": "932:3:11" }, "nodeType": "YulFunctionCall", - "src": "387:19:10" + "src": "932:19:11" }, "variableNames": [ { "name": "tail", "nodeType": "YulIdentifier", - "src": "379:4:10" + "src": "924:4:11" } ] } @@ -297,7 +710,7 @@ { "name": "headStart", "nodeType": "YulTypedName", - "src": "165:9:10", + "src": "710:9:11", "type": "" } ], @@ -305,34 +718,34 @@ { "name": "tail", "nodeType": "YulTypedName", - "src": "179:4:10", + "src": "724:4:11", "type": "" } ], - "src": "14:398:10" + "src": "559:398:11" } ] }, - "contents": "{\n { }\n function abi_encode_tuple_t_stringliteral_0d4ae41009c51fd276653a54d7793c24f266ddc8c56ce21f8be5e2c6595ab3ac__to_t_string_memory_ptr__fromStack_reversed(headStart) -> tail\n {\n mstore(headStart, 32)\n mstore(add(headStart, 32), 34)\n mstore(add(headStart, 64), \"LibDiamond: Must be contract own\")\n mstore(add(headStart, 96), \"er\")\n tail := add(headStart, 128)\n }\n}", - "id": 10, + "contents": "{\n { }\n function abi_encode_tuple_t_address__to_t_address__fromStack_reversed(headStart, value0) -> tail\n {\n tail := add(headStart, 32)\n mstore(headStart, and(value0, 0xffffffffffffffffffffffffffffffffffffffff))\n }\n function abi_decode_tuple_t_address(headStart, dataEnd) -> value0\n {\n if slt(sub(dataEnd, headStart), 32) { revert(0, 0) }\n let value := calldataload(headStart)\n if iszero(eq(value, and(value, 0xffffffffffffffffffffffffffffffffffffffff))) { revert(0, 0) }\n value0 := value\n }\n function abi_encode_tuple_t_stringliteral_0d4ae41009c51fd276653a54d7793c24f266ddc8c56ce21f8be5e2c6595ab3ac__to_t_string_memory_ptr__fromStack_reversed(headStart) -> tail\n {\n mstore(headStart, 32)\n mstore(add(headStart, 32), 34)\n mstore(add(headStart, 64), \"LibDiamond: Must be contract own\")\n mstore(add(headStart, 96), \"er\")\n tail := add(headStart, 128)\n }\n}", + "id": 11, "language": "Yul", "name": "#utility.yul" } ], "immutableReferences": {}, "linkReferences": {}, - "opcodes": "PUSH1 0x80 PUSH1 0x40 MSTORE CALLVALUE DUP1 ISZERO PUSH2 0x10 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH1 0x4 CALLDATASIZE LT PUSH2 0x36 JUMPI PUSH1 0x0 CALLDATALOAD PUSH1 0xE0 SHR DUP1 PUSH4 0x8DA5CB5B EQ PUSH2 0x3B JUMPI DUP1 PUSH4 0xF2FDE38B EQ PUSH2 0x6C JUMPI JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x43 PUSH2 0xA1 JUMP JUMPDEST PUSH1 0x40 DUP1 MLOAD PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF SWAP1 SWAP3 AND DUP3 MSTORE MLOAD SWAP1 DUP2 SWAP1 SUB PUSH1 0x20 ADD SWAP1 RETURN JUMPDEST PUSH2 0x9F PUSH1 0x4 DUP1 CALLDATASIZE SUB PUSH1 0x20 DUP2 LT ISZERO PUSH2 0x82 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP CALLDATALOAD PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH2 0xB0 JUMP JUMPDEST STOP JUMPDEST PUSH1 0x0 PUSH2 0xAB PUSH2 0xC4 JUMP JUMPDEST SWAP1 POP SWAP1 JUMP JUMPDEST PUSH2 0xB8 PUSH2 0xED JUMP JUMPDEST PUSH2 0xC1 DUP2 PUSH2 0x152 JUMP JUMPDEST POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0xCE PUSH2 0x1D7 JUMP JUMPDEST PUSH1 0x4 ADD SLOAD PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND SWAP2 SWAP1 POP JUMP JUMPDEST PUSH2 0xF5 PUSH2 0x1D7 JUMP JUMPDEST PUSH1 0x4 ADD SLOAD PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND CALLER EQ PUSH2 0x150 JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x147 SWAP1 PUSH2 0x1FB JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST JUMP JUMPDEST PUSH1 0x0 PUSH2 0x15C PUSH2 0x1D7 JUMP JUMPDEST PUSH1 0x4 DUP2 ADD DUP1 SLOAD PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP6 DUP2 AND PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFF0000000000000000000000000000000000000000 DUP4 AND DUP2 OR SWAP1 SWAP4 SSTORE PUSH1 0x40 MLOAD SWAP4 SWAP5 POP AND SWAP2 DUP3 SWAP1 PUSH32 0x8BE0079C531659141344CD1FD0A4F28419497F9722A3DAAFE3B4186F6B6457E0 SWAP1 PUSH1 0x0 SWAP1 LOG3 POP POP POP JUMP JUMPDEST PUSH32 0xC8FCAD8DB84D3CC18B4C41D551EA0EE66DD599CDE068D998E57D5E09332C131C SWAP1 JUMP JUMPDEST PUSH1 0x20 DUP1 DUP3 MSTORE PUSH1 0x22 SWAP1 DUP3 ADD MSTORE PUSH32 0x4C69624469616D6F6E643A204D75737420626520636F6E7472616374206F776E PUSH1 0x40 DUP3 ADD MSTORE PUSH32 0x6572000000000000000000000000000000000000000000000000000000000000 PUSH1 0x60 DUP3 ADD MSTORE PUSH1 0x80 ADD SWAP1 JUMP INVALID LOG2 PUSH5 0x6970667358 0x22 SLT KECCAK256 PUSH26 0xEC72C8755F7643C02E0E5CBE49008E7623FFFE4B39B7289AAF42 CREATE2 CODESIZE 0xB7 JUMPDEST 0xD6 PUSH5 0x736F6C6343 STOP SMOD MOD STOP CALLER ", - "sourceMap": "132:330:4:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;343:117;;;:::i;:::-;;;;;;;;;;;;;;;;;;;173:164;;;;;;;;;;;;;;;;-1:-1:-1;173:164:4;;;;:::i;:::-;;343:117;392:14;427:26;:24;:26::i;:::-;418:35;;343:117;:::o;173:164::-;247:35;:33;:35::i;:::-;292:38;320:9;292:27;:38::i;:::-;173:164;:::o;2142:136:9:-;2190:22;2241:16;:14;:16::i;:::-;:30;;;;;;2142:136;-1:-1:-1;2142:136:9:o;2284:156::-;2364:16;:14;:16::i;:::-;:30;;;;;2350:10;:44;2342:91;;;;;;;;;;;;:::i;:::-;;;;;;;;;2284:156::o;1872:264::-;1936:25;1964:16;:14;:16::i;:::-;2014;;;;;;2040:28;;;;;;;;;;;2083:46;;1936:44;;-1:-1:-1;2014:16:9;;;;2083:46;;1990:21;;2083:46;1872:264;;;:::o;1579:197::-;514:45;;1727:43::o;14:398:10:-;216:2;198:21;;;255:2;235:18;;;228:30;294:34;289:2;274:18;;267:62;365:4;360:2;345:18;;338:32;402:3;387:19;;188:224::o" + "opcodes": "PUSH1 0x80 PUSH1 0x40 MSTORE CALLVALUE DUP1 ISZERO PUSH2 0x10 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH1 0x4 CALLDATASIZE LT PUSH2 0x36 JUMPI PUSH1 0x0 CALLDATALOAD PUSH1 0xE0 SHR DUP1 PUSH4 0x8DA5CB5B EQ PUSH2 0x3B JUMPI DUP1 PUSH4 0xF2FDE38B EQ PUSH2 0x6C JUMPI JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x43 PUSH2 0x81 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF SWAP1 SWAP2 AND DUP2 MSTORE PUSH1 0x20 ADD PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH2 0x7F PUSH2 0x7A CALLDATASIZE PUSH1 0x4 PUSH2 0x263 JUMP JUMPDEST PUSH2 0xC6 JUMP JUMPDEST STOP JUMPDEST PUSH1 0x0 PUSH2 0xC1 PUSH32 0xC8FCAD8DB84D3CC18B4C41D551EA0EE66DD599CDE068D998E57D5E09332C1320 SLOAD PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND SWAP1 JUMP JUMPDEST SWAP1 POP SWAP1 JUMP JUMPDEST PUSH2 0xCE PUSH2 0xDA JUMP JUMPDEST PUSH2 0xD7 DUP2 PUSH2 0x1A9 JUMP JUMPDEST POP JUMP JUMPDEST PUSH32 0xC8FCAD8DB84D3CC18B4C41D551EA0EE66DD599CDE068D998E57D5E09332C131C PUSH1 0x4 ADD SLOAD PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND CALLER EQ PUSH2 0x1A7 JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x22 PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x4C69624469616D6F6E643A204D75737420626520636F6E7472616374206F776E PUSH1 0x44 DUP3 ADD MSTORE PUSH32 0x6572000000000000000000000000000000000000000000000000000000000000 PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 ADD PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST JUMP JUMPDEST PUSH32 0xC8FCAD8DB84D3CC18B4C41D551EA0EE66DD599CDE068D998E57D5E09332C1320 DUP1 SLOAD PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFF0000000000000000000000000000000000000000 DUP2 AND PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP5 DUP2 AND SWAP2 DUP3 OR SWAP1 SWAP4 SSTORE PUSH1 0x40 MLOAD PUSH32 0xC8FCAD8DB84D3CC18B4C41D551EA0EE66DD599CDE068D998E57D5E09332C131C SWAP4 SWAP1 SWAP3 AND SWAP2 DUP3 SWAP1 PUSH32 0x8BE0079C531659141344CD1FD0A4F28419497F9722A3DAAFE3B4186F6B6457E0 SWAP1 PUSH1 0x0 SWAP1 LOG3 POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x275 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP2 CALLDATALOAD PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP2 AND DUP2 EQ PUSH2 0x299 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST SWAP4 SWAP3 POP POP POP JUMP INVALID LOG2 PUSH5 0x6970667358 0x22 SLT KECCAK256 0xAF 0xE5 0x4A PUSH21 0xDF56254D54C0C99E01EDFBC48CE57BD7975A687BCD GT 0xCF CHAINID 0xBD PUSH15 0xF5AE64736F6C634300080900330000 ", + "sourceMap": "169:330:4:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;380:117;;;:::i;:::-;;;190:42:11;178:55;;;160:74;;148:2;133:18;380:117:4;;;;;;;210:164;;;;;;:::i;:::-;;:::i;:::-;;380:117;429:14;464:26;2220:30:9;;;;;2121:136;464:26:4;455:35;;380:117;:::o;210:164::-;284:35;:33;:35::i;:::-;329:38;357:9;329:27;:38::i;:::-;210:164;:::o;2263:156:9:-;492:45;2343:30;;;;;2329:10;:44;2321:91;;;;;;;761:2:11;2321:91:9;;;743:21:11;800:2;780:18;;;773:30;839:34;819:18;;;812:62;910:4;890:18;;;883:32;932:19;;2321:91:9;;;;;;;;2263:156::o;1851:264::-;1993:16;;;2019:28;;;1993:16;2019:28;;;;;;;;;2062:46;;492:45;;1993:16;;;;;;2062:46;;1915:25;;2062:46;1905:210;;1851:264;:::o;245:309:11:-;304:6;357:2;345:9;336:7;332:23;328:32;325:52;;;373:1;370;363:12;325:52;412:9;399:23;462:42;455:5;451:54;444:5;441:65;431:93;;520:1;517;510:12;431:93;543:5;245:309;-1:-1:-1;;;245:309:11:o" }, "gasEstimates": { "creation": { - "codeDepositCost": "130800", - "executionCost": "177", - "totalCost": "130977" + "codeDepositCost": "145200", + "executionCost": "190", + "totalCost": "145390" }, "external": { - "owner()": "1067", - "transferOwnership(address)": "infinite" + "owner()": "2311", + "transferOwnership(address)": "28232" } }, "methodIdentifiers": { @@ -340,7 +753,7 @@ "transferOwnership(address)": "f2fde38b" } }, - "metadata": "{\"compiler\":{\"version\":\"0.7.6+commit.7338295f\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"previousOwner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"OwnershipTransferred\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"owner_\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_newOwner\",\"type\":\"address\"}],\"name\":\"transferOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{\"owner()\":{\"returns\":{\"owner_\":\"The address of the owner.\"}},\"transferOwnership(address)\":{\"details\":\"Set _newOwner to address(0) to renounce any ownership.\",\"params\":{\"_newOwner\":\"The address of the new owner of the contract\"}}},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{\"owner()\":{\"notice\":\"Get the address of the owner\"},\"transferOwnership(address)\":{\"notice\":\"Set the address of the new owner of the contract\"}},\"version\":1}},\"settings\":{\"compilationTarget\":{\"solc_0.7/diamond/facets/OwnershipFacet.sol\":\"OwnershipFacet\"},\"evmVersion\":\"istanbul\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\",\"useLiteralContent\":true},\"optimizer\":{\"enabled\":true,\"runs\":999999},\"remappings\":[]},\"sources\":{\"solc_0.7/diamond/facets/OwnershipFacet.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\npragma solidity ^0.7.6;\\n\\nimport \\\"../libraries/LibDiamond.sol\\\";\\nimport \\\"../interfaces/IERC173.sol\\\";\\n\\ncontract OwnershipFacet is IERC173 {\\n function transferOwnership(address _newOwner) external override {\\n LibDiamond.enforceIsContractOwner();\\n LibDiamond.setContractOwner(_newOwner);\\n }\\n\\n function owner() external override view returns (address owner_) {\\n owner_ = LibDiamond.contractOwner();\\n }\\n}\\n\",\"keccak256\":\"0x9ffdb0b88ad708052930bb61b44cd178843eb66a08de48722f7d4cb94eedfaf5\",\"license\":\"MIT\"},\"solc_0.7/diamond/interfaces/IDiamondCut.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\npragma solidity ^0.7.6;\\npragma experimental ABIEncoderV2;\\n\\n/******************************************************************************\\\\\\n* Author: Nick Mudge (https://twitter.com/mudgen)\\n* EIP-2535 Diamond Standard: https://eips.ethereum.org/EIPS/eip-2535\\n/******************************************************************************/\\n\\ninterface IDiamondCut {\\n enum FacetCutAction {Add, Replace, Remove}\\n // Add=0, Replace=1, Remove=2\\n\\n struct FacetCut {\\n address facetAddress;\\n FacetCutAction action;\\n bytes4[] functionSelectors;\\n }\\n\\n /// @notice Add/replace/remove any number of functions and optionally execute\\n /// a function with delegatecall\\n /// @param _diamondCut Contains the facet addresses and function selectors\\n /// @param _init The address of the contract or facet to execute _calldata\\n /// @param _calldata A function call, including function selector and arguments\\n /// _calldata is executed with delegatecall on _init\\n function diamondCut(\\n FacetCut[] calldata _diamondCut,\\n address _init,\\n bytes calldata _calldata\\n ) external;\\n\\n event DiamondCut(FacetCut[] _diamondCut, address _init, bytes _calldata);\\n}\\n\",\"keccak256\":\"0xfb3c1af58cd19e1e49f065e33c7c68045ce451c3e16920614979624c44faf892\",\"license\":\"MIT\"},\"solc_0.7/diamond/interfaces/IERC173.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\npragma solidity ^0.7.6;\\n\\n/// @title ERC-173 Contract Ownership Standard\\n/// Note: the ERC-165 identifier for this interface is 0x7f5828d0\\n/* is ERC165 */\\ninterface IERC173 {\\n /// @dev This emits when ownership of a contract changes.\\n event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);\\n\\n /// @notice Get the address of the owner\\n /// @return owner_ The address of the owner.\\n function owner() external view returns (address owner_);\\n\\n /// @notice Set the address of the new owner of the contract\\n /// @dev Set _newOwner to address(0) to renounce any ownership.\\n /// @param _newOwner The address of the new owner of the contract\\n function transferOwnership(address _newOwner) external;\\n}\\n\",\"keccak256\":\"0xa4023156092d7cb99c69e21bc95b910e13c54e582d6814601579bc2fb594ecf8\",\"license\":\"MIT\"},\"solc_0.7/diamond/libraries/LibDiamond.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\npragma solidity ^0.7.6;\\npragma experimental ABIEncoderV2;\\n\\n/******************************************************************************\\\\\\n* Author: Nick Mudge (https://twitter.com/mudgen)\\n* EIP-2535 Diamond Standard: https://eips.ethereum.org/EIPS/eip-2535\\n/******************************************************************************/\\n\\nimport \\\"../interfaces/IDiamondCut.sol\\\";\\n\\nlibrary LibDiamond {\\n bytes32 constant DIAMOND_STORAGE_POSITION = keccak256(\\\"diamond.standard.diamond.storage\\\");\\n\\n struct FacetAddressAndPosition {\\n address facetAddress;\\n uint16 functionSelectorPosition; // position in facetFunctionSelectors.functionSelectors array\\n }\\n\\n struct FacetFunctionSelectors {\\n bytes4[] functionSelectors;\\n uint16 facetAddressPosition; // position of facetAddress in facetAddresses array\\n }\\n\\n struct DiamondStorage {\\n // maps function selector to the facet address and\\n // the position of the selector in the facetFunctionSelectors.selectors array\\n mapping(bytes4 => FacetAddressAndPosition) selectorToFacetAndPosition;\\n // maps facet addresses to function selectors\\n mapping(address => FacetFunctionSelectors) facetFunctionSelectors;\\n // facet addresses\\n address[] facetAddresses;\\n // Used to query if a contract implements an interface.\\n // Used to implement ERC-165.\\n mapping(bytes4 => bool) supportedInterfaces;\\n // owner of the contract\\n address contractOwner;\\n }\\n\\n function diamondStorage() internal pure returns (DiamondStorage storage ds) {\\n bytes32 position = DIAMOND_STORAGE_POSITION;\\n assembly {\\n ds.slot := position\\n }\\n }\\n\\n event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);\\n\\n function setContractOwner(address _newOwner) internal {\\n DiamondStorage storage ds = diamondStorage();\\n address previousOwner = ds.contractOwner;\\n ds.contractOwner = _newOwner;\\n emit OwnershipTransferred(previousOwner, _newOwner);\\n }\\n\\n function contractOwner() internal view returns (address contractOwner_) {\\n contractOwner_ = diamondStorage().contractOwner;\\n }\\n\\n function enforceIsContractOwner() internal view {\\n require(msg.sender == diamondStorage().contractOwner, \\\"LibDiamond: Must be contract owner\\\");\\n }\\n\\n event DiamondCut(IDiamondCut.FacetCut[] _diamondCut, address _init, bytes _calldata);\\n\\n // Internal function version of diamondCut\\n function diamondCut(\\n IDiamondCut.FacetCut[] memory _diamondCut,\\n address _init,\\n bytes memory _calldata\\n ) internal {\\n for (uint256 facetIndex; facetIndex < _diamondCut.length; facetIndex++) {\\n IDiamondCut.FacetCutAction action = _diamondCut[facetIndex].action;\\n if (action == IDiamondCut.FacetCutAction.Add) {\\n addFunctions(_diamondCut[facetIndex].facetAddress, _diamondCut[facetIndex].functionSelectors);\\n } else if (action == IDiamondCut.FacetCutAction.Replace) {\\n replaceFunctions(_diamondCut[facetIndex].facetAddress, _diamondCut[facetIndex].functionSelectors);\\n } else if (action == IDiamondCut.FacetCutAction.Remove) {\\n removeFunctions(_diamondCut[facetIndex].facetAddress, _diamondCut[facetIndex].functionSelectors);\\n } else {\\n revert(\\\"LibDiamondCut: Incorrect FacetCutAction\\\");\\n }\\n }\\n emit DiamondCut(_diamondCut, _init, _calldata);\\n initializeDiamondCut(_init, _calldata);\\n }\\n\\n function addFunctions(address _facetAddress, bytes4[] memory _functionSelectors) internal {\\n require(_functionSelectors.length > 0, \\\"LibDiamondCut: No selectors in facet to cut\\\");\\n DiamondStorage storage ds = diamondStorage();\\n // uint16 selectorCount = uint16(diamondStorage().selectors.length);\\n require(_facetAddress != address(0), \\\"LibDiamondCut: Add facet can't be address(0)\\\");\\n uint16 selectorPosition = uint16(ds.facetFunctionSelectors[_facetAddress].functionSelectors.length);\\n // add new facet address if it does not exist\\n if (selectorPosition == 0) {\\n enforceHasContractCode(_facetAddress, \\\"LibDiamondCut: New facet has no code\\\");\\n ds.facetFunctionSelectors[_facetAddress].facetAddressPosition = uint16(ds.facetAddresses.length);\\n ds.facetAddresses.push(_facetAddress);\\n }\\n for (uint256 selectorIndex; selectorIndex < _functionSelectors.length; selectorIndex++) {\\n bytes4 selector = _functionSelectors[selectorIndex];\\n address oldFacetAddress = ds.selectorToFacetAndPosition[selector].facetAddress;\\n require(oldFacetAddress == address(0), \\\"LibDiamondCut: Can't add function that already exists\\\");\\n ds.facetFunctionSelectors[_facetAddress].functionSelectors.push(selector);\\n ds.selectorToFacetAndPosition[selector].facetAddress = _facetAddress;\\n ds.selectorToFacetAndPosition[selector].functionSelectorPosition = selectorPosition;\\n selectorPosition++;\\n }\\n }\\n\\n function replaceFunctions(address _facetAddress, bytes4[] memory _functionSelectors) internal {\\n require(_functionSelectors.length > 0, \\\"LibDiamondCut: No selectors in facet to cut\\\");\\n DiamondStorage storage ds = diamondStorage();\\n require(_facetAddress != address(0), \\\"LibDiamondCut: Add facet can't be address(0)\\\");\\n uint16 selectorPosition = uint16(ds.facetFunctionSelectors[_facetAddress].functionSelectors.length);\\n // add new facet address if it does not exist\\n if (selectorPosition == 0) {\\n enforceHasContractCode(_facetAddress, \\\"LibDiamondCut: New facet has no code\\\");\\n ds.facetFunctionSelectors[_facetAddress].facetAddressPosition = uint16(ds.facetAddresses.length);\\n ds.facetAddresses.push(_facetAddress);\\n }\\n for (uint256 selectorIndex; selectorIndex < _functionSelectors.length; selectorIndex++) {\\n bytes4 selector = _functionSelectors[selectorIndex];\\n address oldFacetAddress = ds.selectorToFacetAndPosition[selector].facetAddress;\\n require(oldFacetAddress != _facetAddress, \\\"LibDiamondCut: Can't replace function with same function\\\");\\n removeFunction(oldFacetAddress, selector);\\n // add function\\n ds.selectorToFacetAndPosition[selector].functionSelectorPosition = selectorPosition;\\n ds.facetFunctionSelectors[_facetAddress].functionSelectors.push(selector);\\n ds.selectorToFacetAndPosition[selector].facetAddress = _facetAddress;\\n selectorPosition++;\\n }\\n }\\n\\n function removeFunctions(address _facetAddress, bytes4[] memory _functionSelectors) internal {\\n require(_functionSelectors.length > 0, \\\"LibDiamondCut: No selectors in facet to cut\\\");\\n DiamondStorage storage ds = diamondStorage();\\n // if function does not exist then do nothing and return\\n require(_facetAddress == address(0), \\\"LibDiamondCut: Remove facet address must be address(0)\\\");\\n for (uint256 selectorIndex; selectorIndex < _functionSelectors.length; selectorIndex++) {\\n bytes4 selector = _functionSelectors[selectorIndex];\\n address oldFacetAddress = ds.selectorToFacetAndPosition[selector].facetAddress;\\n removeFunction(oldFacetAddress, selector);\\n }\\n }\\n\\n function removeFunction(address _facetAddress, bytes4 _selector) internal {\\n DiamondStorage storage ds = diamondStorage();\\n require(_facetAddress != address(0), \\\"LibDiamondCut: Can't remove function that doesn't exist\\\");\\n // an immutable function is a function defined directly in a diamond\\n require(_facetAddress != address(this), \\\"LibDiamondCut: Can't remove immutable function\\\");\\n // replace selector with last selector, then delete last selector\\n uint256 selectorPosition = ds.selectorToFacetAndPosition[_selector].functionSelectorPosition;\\n uint256 lastSelectorPosition = ds.facetFunctionSelectors[_facetAddress].functionSelectors.length - 1;\\n // if not the same then replace _selector with lastSelector\\n if (selectorPosition != lastSelectorPosition) {\\n bytes4 lastSelector = ds.facetFunctionSelectors[_facetAddress].functionSelectors[lastSelectorPosition];\\n ds.facetFunctionSelectors[_facetAddress].functionSelectors[selectorPosition] = lastSelector;\\n ds.selectorToFacetAndPosition[lastSelector].functionSelectorPosition = uint16(selectorPosition);\\n }\\n // delete the last selector\\n ds.facetFunctionSelectors[_facetAddress].functionSelectors.pop();\\n delete ds.selectorToFacetAndPosition[_selector];\\n\\n // if no more selectors for facet address then delete the facet address\\n if (lastSelectorPosition == 0) {\\n // replace facet address with last facet address and delete last facet address\\n uint256 lastFacetAddressPosition = ds.facetAddresses.length - 1;\\n uint256 facetAddressPosition = ds.facetFunctionSelectors[_facetAddress].facetAddressPosition;\\n if (facetAddressPosition != lastFacetAddressPosition) {\\n address lastFacetAddress = ds.facetAddresses[lastFacetAddressPosition];\\n ds.facetAddresses[facetAddressPosition] = lastFacetAddress;\\n ds.facetFunctionSelectors[lastFacetAddress].facetAddressPosition = uint16(facetAddressPosition);\\n }\\n ds.facetAddresses.pop();\\n delete ds.facetFunctionSelectors[_facetAddress].facetAddressPosition;\\n }\\n }\\n\\n function initializeDiamondCut(address _init, bytes memory _calldata) internal {\\n if (_init == address(0)) {\\n require(_calldata.length == 0, \\\"LibDiamondCut: _init is address(0) but_calldata is not empty\\\");\\n } else {\\n require(_calldata.length > 0, \\\"LibDiamondCut: _calldata is empty but _init is not address(0)\\\");\\n if (_init != address(this)) {\\n enforceHasContractCode(_init, \\\"LibDiamondCut: _init address has no code\\\");\\n }\\n (bool success, bytes memory error) = _init.delegatecall(_calldata);\\n if (!success) {\\n if (error.length > 0) {\\n // bubble up the error\\n revert(string(error));\\n } else {\\n revert(\\\"LibDiamondCut: _init function reverted\\\");\\n }\\n }\\n }\\n }\\n\\n function enforceHasContractCode(address _contract, string memory _errorMessage) internal view {\\n uint256 contractSize;\\n assembly {\\n contractSize := extcodesize(_contract)\\n }\\n require(contractSize > 0, _errorMessage);\\n }\\n}\\n\",\"keccak256\":\"0x4eac03abb9864ad822b50481746c975a8e3e3278e179032cfc1b4b9c8e2320bc\",\"license\":\"MIT\"}},\"version\":1}", + "metadata": "{\"compiler\":{\"version\":\"0.8.9+commit.e5eed63a\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"previousOwner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"OwnershipTransferred\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"owner_\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_newOwner\",\"type\":\"address\"}],\"name\":\"transferOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{\"owner()\":{\"returns\":{\"owner_\":\"The address of the owner.\"}},\"transferOwnership(address)\":{\"details\":\"Set _newOwner to address(0) to renounce any ownership.\",\"params\":{\"_newOwner\":\"The address of the new owner of the contract\"}}},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{\"owner()\":{\"notice\":\"Get the address of the owner\"},\"transferOwnership(address)\":{\"notice\":\"Set the address of the new owner of the contract\"}},\"version\":1}},\"settings\":{\"compilationTarget\":{\"solc_0.8/diamond/facets/OwnershipFacet.sol\":\"OwnershipFacet\"},\"evmVersion\":\"london\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\",\"useLiteralContent\":true},\"optimizer\":{\"enabled\":true,\"runs\":999999},\"remappings\":[]},\"sources\":{\"solc_0.8/diamond/facets/OwnershipFacet.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.0;\\n\\nimport { LibDiamond } from \\\"../libraries/LibDiamond.sol\\\";\\nimport { IERC173 } from \\\"../interfaces/IERC173.sol\\\";\\n\\ncontract OwnershipFacet is IERC173 {\\n function transferOwnership(address _newOwner) external override {\\n LibDiamond.enforceIsContractOwner();\\n LibDiamond.setContractOwner(_newOwner);\\n }\\n\\n function owner() external override view returns (address owner_) {\\n owner_ = LibDiamond.contractOwner();\\n }\\n}\\n\",\"keccak256\":\"0x6502a171801d68e68de6c5a2b879d5e12a3a1539cdc568c2bfcc268fbdf6c5a9\",\"license\":\"MIT\"},\"solc_0.8/diamond/interfaces/IDiamondCut.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.0;\\n\\n/******************************************************************************\\\\\\n* Author: Nick Mudge (https://twitter.com/mudgen)\\n* EIP-2535 Diamonds: https://eips.ethereum.org/EIPS/eip-2535\\n/******************************************************************************/\\n\\ninterface IDiamondCut {\\n enum FacetCutAction {Add, Replace, Remove}\\n // Add=0, Replace=1, Remove=2\\n\\n struct FacetCut {\\n address facetAddress;\\n FacetCutAction action;\\n bytes4[] functionSelectors;\\n }\\n\\n /// @notice Add/replace/remove any number of functions and optionally execute\\n /// a function with delegatecall\\n /// @param _diamondCut Contains the facet addresses and function selectors\\n /// @param _init The address of the contract or facet to execute _calldata\\n /// @param _calldata A function call, including function selector and arguments\\n /// _calldata is executed with delegatecall on _init\\n function diamondCut(\\n FacetCut[] calldata _diamondCut,\\n address _init,\\n bytes calldata _calldata\\n ) external;\\n\\n event DiamondCut(FacetCut[] _diamondCut, address _init, bytes _calldata);\\n}\\n\",\"keccak256\":\"0xc00c16bfa30a3fa5f3dc684f7f8ba62c259962b25f647d9588739458989717fc\",\"license\":\"MIT\"},\"solc_0.8/diamond/interfaces/IERC173.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.0;\\n\\n/// @title ERC-173 Contract Ownership Standard\\n/// Note: the ERC-165 identifier for this interface is 0x7f5828d0\\n/* is ERC165 */\\ninterface IERC173 {\\n /// @dev This emits when ownership of a contract changes.\\n event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);\\n\\n /// @notice Get the address of the owner\\n /// @return owner_ The address of the owner.\\n function owner() external view returns (address owner_);\\n\\n /// @notice Set the address of the new owner of the contract\\n /// @dev Set _newOwner to address(0) to renounce any ownership.\\n /// @param _newOwner The address of the new owner of the contract\\n function transferOwnership(address _newOwner) external;\\n}\\n\",\"keccak256\":\"0x001e07b0fbc894300b939d496ffb005abe398b5bc609802d319b8cdeafe5d36b\",\"license\":\"MIT\"},\"solc_0.8/diamond/libraries/LibDiamond.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.0;\\n\\n/******************************************************************************\\\\\\n* Author: Nick Mudge (https://twitter.com/mudgen)\\n* EIP-2535 Diamonds: https://eips.ethereum.org/EIPS/eip-2535\\n/******************************************************************************/\\nimport { IDiamondCut } from \\\"../interfaces/IDiamondCut.sol\\\";\\n\\nlibrary LibDiamond {\\n bytes32 constant DIAMOND_STORAGE_POSITION = keccak256(\\\"diamond.standard.diamond.storage\\\");\\n\\n struct FacetAddressAndPosition {\\n address facetAddress;\\n uint96 functionSelectorPosition; // position in facetFunctionSelectors.functionSelectors array\\n }\\n\\n struct FacetFunctionSelectors {\\n bytes4[] functionSelectors;\\n uint256 facetAddressPosition; // position of facetAddress in facetAddresses array\\n }\\n\\n struct DiamondStorage {\\n // maps function selector to the facet address and\\n // the position of the selector in the facetFunctionSelectors.selectors array\\n mapping(bytes4 => FacetAddressAndPosition) selectorToFacetAndPosition;\\n // maps facet addresses to function selectors\\n mapping(address => FacetFunctionSelectors) facetFunctionSelectors;\\n // facet addresses\\n address[] facetAddresses;\\n // Used to query if a contract implements an interface.\\n // Used to implement ERC-165.\\n mapping(bytes4 => bool) supportedInterfaces;\\n // owner of the contract\\n address contractOwner;\\n }\\n\\n function diamondStorage() internal pure returns (DiamondStorage storage ds) {\\n bytes32 position = DIAMOND_STORAGE_POSITION;\\n assembly {\\n ds.slot := position\\n }\\n }\\n\\n event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);\\n\\n function setContractOwner(address _newOwner) internal {\\n DiamondStorage storage ds = diamondStorage();\\n address previousOwner = ds.contractOwner;\\n ds.contractOwner = _newOwner;\\n emit OwnershipTransferred(previousOwner, _newOwner);\\n }\\n\\n function contractOwner() internal view returns (address contractOwner_) {\\n contractOwner_ = diamondStorage().contractOwner;\\n }\\n\\n function enforceIsContractOwner() internal view {\\n require(msg.sender == diamondStorage().contractOwner, \\\"LibDiamond: Must be contract owner\\\");\\n }\\n\\n event DiamondCut(IDiamondCut.FacetCut[] _diamondCut, address _init, bytes _calldata);\\n\\n // Internal function version of diamondCut\\n function diamondCut(\\n IDiamondCut.FacetCut[] memory _diamondCut,\\n address _init,\\n bytes memory _calldata\\n ) internal {\\n for (uint256 facetIndex; facetIndex < _diamondCut.length; facetIndex++) {\\n IDiamondCut.FacetCutAction action = _diamondCut[facetIndex].action;\\n if (action == IDiamondCut.FacetCutAction.Add) {\\n addFunctions(_diamondCut[facetIndex].facetAddress, _diamondCut[facetIndex].functionSelectors);\\n } else if (action == IDiamondCut.FacetCutAction.Replace) {\\n replaceFunctions(_diamondCut[facetIndex].facetAddress, _diamondCut[facetIndex].functionSelectors);\\n } else if (action == IDiamondCut.FacetCutAction.Remove) {\\n removeFunctions(_diamondCut[facetIndex].facetAddress, _diamondCut[facetIndex].functionSelectors);\\n } else {\\n revert(\\\"LibDiamondCut: Incorrect FacetCutAction\\\");\\n }\\n }\\n emit DiamondCut(_diamondCut, _init, _calldata);\\n initializeDiamondCut(_init, _calldata);\\n }\\n\\n function addFunctions(address _facetAddress, bytes4[] memory _functionSelectors) internal {\\n require(_functionSelectors.length > 0, \\\"LibDiamondCut: No selectors in facet to cut\\\");\\n DiamondStorage storage ds = diamondStorage(); \\n require(_facetAddress != address(0), \\\"LibDiamondCut: Add facet can't be address(0)\\\");\\n uint96 selectorPosition = uint96(ds.facetFunctionSelectors[_facetAddress].functionSelectors.length);\\n // add new facet address if it does not exist\\n if (selectorPosition == 0) {\\n addFacet(ds, _facetAddress); \\n }\\n for (uint256 selectorIndex; selectorIndex < _functionSelectors.length; selectorIndex++) {\\n bytes4 selector = _functionSelectors[selectorIndex];\\n address oldFacetAddress = ds.selectorToFacetAndPosition[selector].facetAddress;\\n require(oldFacetAddress == address(0), \\\"LibDiamondCut: Can't add function that already exists\\\");\\n addFunction(ds, selector, selectorPosition, _facetAddress);\\n selectorPosition++;\\n }\\n }\\n\\n function replaceFunctions(address _facetAddress, bytes4[] memory _functionSelectors) internal {\\n require(_functionSelectors.length > 0, \\\"LibDiamondCut: No selectors in facet to cut\\\");\\n DiamondStorage storage ds = diamondStorage();\\n require(_facetAddress != address(0), \\\"LibDiamondCut: Add facet can't be address(0)\\\");\\n uint96 selectorPosition = uint96(ds.facetFunctionSelectors[_facetAddress].functionSelectors.length);\\n // add new facet address if it does not exist\\n if (selectorPosition == 0) {\\n addFacet(ds, _facetAddress);\\n }\\n for (uint256 selectorIndex; selectorIndex < _functionSelectors.length; selectorIndex++) {\\n bytes4 selector = _functionSelectors[selectorIndex];\\n address oldFacetAddress = ds.selectorToFacetAndPosition[selector].facetAddress;\\n require(oldFacetAddress != _facetAddress, \\\"LibDiamondCut: Can't replace function with same function\\\");\\n removeFunction(ds, oldFacetAddress, selector);\\n addFunction(ds, selector, selectorPosition, _facetAddress);\\n selectorPosition++;\\n }\\n }\\n\\n function removeFunctions(address _facetAddress, bytes4[] memory _functionSelectors) internal {\\n require(_functionSelectors.length > 0, \\\"LibDiamondCut: No selectors in facet to cut\\\");\\n DiamondStorage storage ds = diamondStorage();\\n // if function does not exist then do nothing and return\\n require(_facetAddress == address(0), \\\"LibDiamondCut: Remove facet address must be address(0)\\\");\\n for (uint256 selectorIndex; selectorIndex < _functionSelectors.length; selectorIndex++) {\\n bytes4 selector = _functionSelectors[selectorIndex];\\n address oldFacetAddress = ds.selectorToFacetAndPosition[selector].facetAddress;\\n removeFunction(ds, oldFacetAddress, selector);\\n }\\n }\\n\\n function addFacet(DiamondStorage storage ds, address _facetAddress) internal {\\n enforceHasContractCode(_facetAddress, \\\"LibDiamondCut: New facet has no code\\\");\\n ds.facetFunctionSelectors[_facetAddress].facetAddressPosition = ds.facetAddresses.length;\\n ds.facetAddresses.push(_facetAddress);\\n } \\n\\n\\n function addFunction(DiamondStorage storage ds, bytes4 _selector, uint96 _selectorPosition, address _facetAddress) internal {\\n ds.selectorToFacetAndPosition[_selector].functionSelectorPosition = _selectorPosition;\\n ds.facetFunctionSelectors[_facetAddress].functionSelectors.push(_selector);\\n ds.selectorToFacetAndPosition[_selector].facetAddress = _facetAddress;\\n }\\n\\n function removeFunction(DiamondStorage storage ds, address _facetAddress, bytes4 _selector) internal { \\n require(_facetAddress != address(0), \\\"LibDiamondCut: Can't remove function that doesn't exist\\\");\\n // an immutable function is a function defined directly in a diamond\\n require(_facetAddress != address(this), \\\"LibDiamondCut: Can't remove immutable function\\\");\\n // replace selector with last selector, then delete last selector\\n uint256 selectorPosition = ds.selectorToFacetAndPosition[_selector].functionSelectorPosition;\\n uint256 lastSelectorPosition = ds.facetFunctionSelectors[_facetAddress].functionSelectors.length - 1;\\n // if not the same then replace _selector with lastSelector\\n if (selectorPosition != lastSelectorPosition) {\\n bytes4 lastSelector = ds.facetFunctionSelectors[_facetAddress].functionSelectors[lastSelectorPosition];\\n ds.facetFunctionSelectors[_facetAddress].functionSelectors[selectorPosition] = lastSelector;\\n ds.selectorToFacetAndPosition[lastSelector].functionSelectorPosition = uint96(selectorPosition);\\n }\\n // delete the last selector\\n ds.facetFunctionSelectors[_facetAddress].functionSelectors.pop();\\n delete ds.selectorToFacetAndPosition[_selector];\\n\\n // if no more selectors for facet address then delete the facet address\\n if (lastSelectorPosition == 0) {\\n // replace facet address with last facet address and delete last facet address\\n uint256 lastFacetAddressPosition = ds.facetAddresses.length - 1;\\n uint256 facetAddressPosition = ds.facetFunctionSelectors[_facetAddress].facetAddressPosition;\\n if (facetAddressPosition != lastFacetAddressPosition) {\\n address lastFacetAddress = ds.facetAddresses[lastFacetAddressPosition];\\n ds.facetAddresses[facetAddressPosition] = lastFacetAddress;\\n ds.facetFunctionSelectors[lastFacetAddress].facetAddressPosition = facetAddressPosition;\\n }\\n ds.facetAddresses.pop();\\n delete ds.facetFunctionSelectors[_facetAddress].facetAddressPosition;\\n }\\n }\\n\\n function initializeDiamondCut(address _init, bytes memory _calldata) internal {\\n if (_init == address(0)) {\\n require(_calldata.length == 0, \\\"LibDiamondCut: _init is address(0) but_calldata is not empty\\\");\\n } else {\\n require(_calldata.length > 0, \\\"LibDiamondCut: _calldata is empty but _init is not address(0)\\\");\\n if (_init != address(this)) {\\n enforceHasContractCode(_init, \\\"LibDiamondCut: _init address has no code\\\");\\n }\\n (bool success, bytes memory error) = _init.delegatecall(_calldata);\\n if (!success) {\\n if (error.length > 0) {\\n // bubble up the error\\n revert(string(error));\\n } else {\\n revert(\\\"LibDiamondCut: _init function reverted\\\");\\n }\\n }\\n }\\n }\\n\\n function enforceHasContractCode(address _contract, string memory _errorMessage) internal view {\\n uint256 contractSize;\\n assembly {\\n contractSize := extcodesize(_contract)\\n }\\n require(contractSize > 0, _errorMessage);\\n }\\n}\\n\",\"keccak256\":\"0x2205345e83eb86f5281f159a9215a096cb6d404782619f9b8e9d7a4a46c32a37\",\"license\":\"MIT\"}},\"version\":1}", "storageLayout": { "storage": [], "types": null @@ -357,6 +770,6 @@ }, "version": 1 }, - "solcInput": "{\n \"language\": \"Solidity\",\n \"sources\": {\n \"solc_0.7/diamond/Diamantaire.sol\": {\n \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity ^0.7.1;\\npragma experimental ABIEncoderV2;\\n\\nimport \\\"./interfaces/IDiamondCut.sol\\\";\\nimport \\\"./Diamond.sol\\\";\\nimport \\\"./facets/DiamondCutFacet.sol\\\";\\nimport \\\"./facets/DiamondLoupeFacet.sol\\\";\\nimport \\\"./facets/OwnershipFacet.sol\\\";\\n\\ncontract Diamantaire {\\n event DiamondCreated(Diamond diamond);\\n\\n IDiamondCut.FacetCut[] internal _builtinDiamondCut;\\n\\n constructor() {\\n bytes4[] memory functionSelectors;\\n\\n // -------------------------------------------------------------------------\\n // adding diamondCut function\\n // -------------------------------------------------------------------------\\n DiamondCutFacet diamondCutFacet = new DiamondCutFacet();\\n\\n functionSelectors = new bytes4[](1);\\n functionSelectors[0] = DiamondCutFacet.diamondCut.selector;\\n _builtinDiamondCut.push(IDiamondCut.FacetCut({\\n facetAddress:address(diamondCutFacet),\\n action: IDiamondCut.FacetCutAction.Add,\\n functionSelectors: functionSelectors\\n }));\\n\\n\\n // -------------------------------------------------------------------------\\n // adding diamond loupe functions\\n // -------------------------------------------------------------------------\\n DiamondLoupeFacet diamondLoupeFacet = new DiamondLoupeFacet();\\n\\n functionSelectors = new bytes4[](5);\\n functionSelectors[0] = DiamondLoupeFacet.facetFunctionSelectors.selector;\\n functionSelectors[1] = DiamondLoupeFacet.facets.selector;\\n functionSelectors[2] = DiamondLoupeFacet.facetAddress.selector;\\n functionSelectors[3] = DiamondLoupeFacet.facetAddresses.selector;\\n functionSelectors[4] = DiamondLoupeFacet.supportsInterface.selector;\\n _builtinDiamondCut.push(IDiamondCut.FacetCut({\\n facetAddress:address(diamondLoupeFacet),\\n action: IDiamondCut.FacetCutAction.Add,\\n functionSelectors: functionSelectors\\n }));\\n\\n\\n // -------------------------------------------------------------------------\\n // adding ownership functions\\n // -------------------------------------------------------------------------\\n OwnershipFacet ownershipFacet = new OwnershipFacet();\\n\\n functionSelectors = new bytes4[](2);\\n functionSelectors[0] = OwnershipFacet.transferOwnership.selector;\\n functionSelectors[1] = OwnershipFacet.owner.selector;\\n _builtinDiamondCut.push(IDiamondCut.FacetCut({\\n facetAddress:address(ownershipFacet),\\n action: IDiamondCut.FacetCutAction.Add,\\n functionSelectors: functionSelectors\\n }));\\n }\\n\\n function createDiamond(\\n address owner,\\n IDiamondCut.FacetCut[] calldata _diamondCut,\\n bytes calldata data,\\n bytes32 salt\\n ) external payable returns (Diamond diamond) {\\n if (salt != 0x0000000000000000000000000000000000000000000000000000000000000000) {\\n salt = keccak256(abi.encodePacked(salt, owner));\\n diamond = new Diamond{value: msg.value, salt: salt}(\\n _builtinDiamondCut,\\n Diamond.DiamondArgs({owner:address(this)})\\n );\\n } else {\\n diamond = new Diamond{value: msg.value}(_builtinDiamondCut, Diamond.DiamondArgs({owner:address(this)}));\\n }\\n emit DiamondCreated(diamond);\\n\\n IDiamondCut(address(diamond)).diamondCut(_diamondCut, data.length > 0 ? address(diamond) : address(0), data);\\n IERC173(address(diamond)).transferOwnership(owner);\\n }\\n}\\n\"\n },\n \"solc_0.7/diamond/interfaces/IDiamondCut.sol\": {\n \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity ^0.7.6;\\npragma experimental ABIEncoderV2;\\n\\n/******************************************************************************\\\\\\n* Author: Nick Mudge (https://twitter.com/mudgen)\\n* EIP-2535 Diamond Standard: https://eips.ethereum.org/EIPS/eip-2535\\n/******************************************************************************/\\n\\ninterface IDiamondCut {\\n enum FacetCutAction {Add, Replace, Remove}\\n // Add=0, Replace=1, Remove=2\\n\\n struct FacetCut {\\n address facetAddress;\\n FacetCutAction action;\\n bytes4[] functionSelectors;\\n }\\n\\n /// @notice Add/replace/remove any number of functions and optionally execute\\n /// a function with delegatecall\\n /// @param _diamondCut Contains the facet addresses and function selectors\\n /// @param _init The address of the contract or facet to execute _calldata\\n /// @param _calldata A function call, including function selector and arguments\\n /// _calldata is executed with delegatecall on _init\\n function diamondCut(\\n FacetCut[] calldata _diamondCut,\\n address _init,\\n bytes calldata _calldata\\n ) external;\\n\\n event DiamondCut(FacetCut[] _diamondCut, address _init, bytes _calldata);\\n}\\n\"\n },\n \"solc_0.7/diamond/Diamond.sol\": {\n \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity ^0.7.6;\\npragma experimental ABIEncoderV2;\\n\\n/******************************************************************************\\\\\\n* Author: Nick Mudge (https://twitter.com/mudgen)\\n* EIP-2535 Diamond Standard: https://eips.ethereum.org/EIPS/eip-2535\\n* \\n* Implementation of a diamond.\\n/******************************************************************************/\\n\\nimport \\\"./libraries/LibDiamond.sol\\\";\\nimport \\\"./interfaces/IDiamondLoupe.sol\\\";\\nimport \\\"./interfaces/IDiamondCut.sol\\\";\\nimport \\\"./interfaces/IERC173.sol\\\";\\nimport \\\"./interfaces/IERC165.sol\\\";\\n\\ncontract Diamond {\\n // more arguments are added to this struct\\n // this avoids stack too deep errors\\n struct DiamondArgs {\\n address owner;\\n }\\n\\n constructor(IDiamondCut.FacetCut[] memory _diamondCut, DiamondArgs memory _args) payable {\\n LibDiamond.diamondCut(_diamondCut, address(0), new bytes(0));\\n LibDiamond.setContractOwner(_args.owner);\\n\\n LibDiamond.DiamondStorage storage ds = LibDiamond.diamondStorage();\\n\\n // adding ERC165 data\\n ds.supportedInterfaces[type(IERC165).interfaceId] = true;\\n ds.supportedInterfaces[type(IDiamondCut).interfaceId] = true;\\n ds.supportedInterfaces[type(IDiamondLoupe).interfaceId] = true;\\n ds.supportedInterfaces[type(IERC173).interfaceId] = true;\\n }\\n\\n // Find facet for function that is called and execute the\\n // function if a facet is found and return any value.\\n fallback() external payable {\\n LibDiamond.DiamondStorage storage ds;\\n bytes32 position = LibDiamond.DIAMOND_STORAGE_POSITION;\\n assembly {\\n ds.slot := position\\n }\\n address facet = ds.selectorToFacetAndPosition[msg.sig].facetAddress;\\n require(facet != address(0), \\\"Diamond: Function does not exist\\\");\\n assembly {\\n calldatacopy(0, 0, calldatasize())\\n let result := delegatecall(gas(), facet, 0, calldatasize(), 0, 0)\\n returndatacopy(0, 0, returndatasize())\\n switch result\\n case 0 {\\n revert(0, returndatasize())\\n }\\n default {\\n return(0, returndatasize())\\n }\\n }\\n }\\n\\n receive() external payable {}\\n}\\n\"\n },\n \"solc_0.7/diamond/facets/DiamondCutFacet.sol\": {\n \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity ^0.7.6;\\npragma experimental ABIEncoderV2;\\n\\n/******************************************************************************\\\\\\n* Author: Nick Mudge (https://twitter.com/mudgen)\\n* EIP-2535 Diamond Standard: https://eips.ethereum.org/EIPS/eip-2535\\n/******************************************************************************/\\n\\nimport \\\"../interfaces/IDiamondCut.sol\\\";\\nimport \\\"../libraries/LibDiamond.sol\\\";\\n\\ncontract DiamondCutFacet is IDiamondCut {\\n /// @notice Add/replace/remove any number of functions and optionally execute\\n /// a function with delegatecall\\n /// @param _diamondCut Contains the facet addresses and function selectors\\n /// @param _init The address of the contract or facet to execute _calldata\\n /// @param _calldata A function call, including function selector and arguments\\n /// _calldata is executed with delegatecall on _init\\n function diamondCut(\\n FacetCut[] calldata _diamondCut,\\n address _init,\\n bytes calldata _calldata\\n ) external override {\\n LibDiamond.enforceIsContractOwner();\\n LibDiamond.diamondCut(_diamondCut, _init, _calldata);\\n }\\n}\\n\"\n },\n \"solc_0.7/diamond/facets/DiamondLoupeFacet.sol\": {\n \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity ^0.7.6;\\npragma experimental ABIEncoderV2;\\n\\n/******************************************************************************\\\\\\n* Author: Nick Mudge (https://twitter.com/mudgen)\\n* EIP-2535 Diamond Standard: https://eips.ethereum.org/EIPS/eip-2535\\n/******************************************************************************/\\n\\nimport \\\"../libraries/LibDiamond.sol\\\";\\nimport \\\"../interfaces/IDiamondCut.sol\\\";\\nimport \\\"../interfaces/IDiamondLoupe.sol\\\";\\nimport \\\"../interfaces/IERC165.sol\\\";\\n\\ncontract DiamondLoupeFacet is IDiamondLoupe, IERC165 {\\n // Diamond Loupe Functions\\n ////////////////////////////////////////////////////////////////////\\n /// These functions are expected to be called frequently by tools.\\n //\\n // struct Facet {\\n // address facetAddress;\\n // bytes4[] functionSelectors;\\n // }\\n\\n /// @notice Gets all facets and their selectors.\\n /// @return facets_ Facet\\n function facets() external override view returns (Facet[] memory facets_) {\\n LibDiamond.DiamondStorage storage ds = LibDiamond.diamondStorage();\\n uint256 numFacets = ds.facetAddresses.length;\\n facets_ = new Facet[](numFacets);\\n for (uint256 i; i < numFacets; i++) {\\n address facetAddress_ = ds.facetAddresses[i];\\n facets_[i].facetAddress = facetAddress_;\\n facets_[i].functionSelectors = ds.facetFunctionSelectors[facetAddress_].functionSelectors;\\n }\\n }\\n\\n /// @notice Gets all the function selectors provided by a facet.\\n /// @param _facet The facet address.\\n /// @return facetFunctionSelectors_\\n function facetFunctionSelectors(address _facet) external override view returns (bytes4[] memory facetFunctionSelectors_) {\\n LibDiamond.DiamondStorage storage ds = LibDiamond.diamondStorage();\\n facetFunctionSelectors_ = ds.facetFunctionSelectors[_facet].functionSelectors;\\n }\\n\\n /// @notice Get all the facet addresses used by a diamond.\\n /// @return facetAddresses_\\n function facetAddresses() external override view returns (address[] memory facetAddresses_) {\\n LibDiamond.DiamondStorage storage ds = LibDiamond.diamondStorage();\\n facetAddresses_ = ds.facetAddresses;\\n }\\n\\n /// @notice Gets the facet that supports the given selector.\\n /// @dev If facet is not found return address(0).\\n /// @param _functionSelector The function selector.\\n /// @return facetAddress_ The facet address.\\n function facetAddress(bytes4 _functionSelector) external override view returns (address facetAddress_) {\\n LibDiamond.DiamondStorage storage ds = LibDiamond.diamondStorage();\\n facetAddress_ = ds.selectorToFacetAndPosition[_functionSelector].facetAddress;\\n }\\n\\n // This implements ERC-165.\\n function supportsInterface(bytes4 _interfaceId) external override view returns (bool) {\\n LibDiamond.DiamondStorage storage ds = LibDiamond.diamondStorage();\\n return ds.supportedInterfaces[_interfaceId];\\n }\\n}\\n\"\n },\n \"solc_0.7/diamond/facets/OwnershipFacet.sol\": {\n \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity ^0.7.6;\\n\\nimport \\\"../libraries/LibDiamond.sol\\\";\\nimport \\\"../interfaces/IERC173.sol\\\";\\n\\ncontract OwnershipFacet is IERC173 {\\n function transferOwnership(address _newOwner) external override {\\n LibDiamond.enforceIsContractOwner();\\n LibDiamond.setContractOwner(_newOwner);\\n }\\n\\n function owner() external override view returns (address owner_) {\\n owner_ = LibDiamond.contractOwner();\\n }\\n}\\n\"\n },\n \"solc_0.7/diamond/libraries/LibDiamond.sol\": {\n \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity ^0.7.6;\\npragma experimental ABIEncoderV2;\\n\\n/******************************************************************************\\\\\\n* Author: Nick Mudge (https://twitter.com/mudgen)\\n* EIP-2535 Diamond Standard: https://eips.ethereum.org/EIPS/eip-2535\\n/******************************************************************************/\\n\\nimport \\\"../interfaces/IDiamondCut.sol\\\";\\n\\nlibrary LibDiamond {\\n bytes32 constant DIAMOND_STORAGE_POSITION = keccak256(\\\"diamond.standard.diamond.storage\\\");\\n\\n struct FacetAddressAndPosition {\\n address facetAddress;\\n uint16 functionSelectorPosition; // position in facetFunctionSelectors.functionSelectors array\\n }\\n\\n struct FacetFunctionSelectors {\\n bytes4[] functionSelectors;\\n uint16 facetAddressPosition; // position of facetAddress in facetAddresses array\\n }\\n\\n struct DiamondStorage {\\n // maps function selector to the facet address and\\n // the position of the selector in the facetFunctionSelectors.selectors array\\n mapping(bytes4 => FacetAddressAndPosition) selectorToFacetAndPosition;\\n // maps facet addresses to function selectors\\n mapping(address => FacetFunctionSelectors) facetFunctionSelectors;\\n // facet addresses\\n address[] facetAddresses;\\n // Used to query if a contract implements an interface.\\n // Used to implement ERC-165.\\n mapping(bytes4 => bool) supportedInterfaces;\\n // owner of the contract\\n address contractOwner;\\n }\\n\\n function diamondStorage() internal pure returns (DiamondStorage storage ds) {\\n bytes32 position = DIAMOND_STORAGE_POSITION;\\n assembly {\\n ds.slot := position\\n }\\n }\\n\\n event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);\\n\\n function setContractOwner(address _newOwner) internal {\\n DiamondStorage storage ds = diamondStorage();\\n address previousOwner = ds.contractOwner;\\n ds.contractOwner = _newOwner;\\n emit OwnershipTransferred(previousOwner, _newOwner);\\n }\\n\\n function contractOwner() internal view returns (address contractOwner_) {\\n contractOwner_ = diamondStorage().contractOwner;\\n }\\n\\n function enforceIsContractOwner() internal view {\\n require(msg.sender == diamondStorage().contractOwner, \\\"LibDiamond: Must be contract owner\\\");\\n }\\n\\n event DiamondCut(IDiamondCut.FacetCut[] _diamondCut, address _init, bytes _calldata);\\n\\n // Internal function version of diamondCut\\n function diamondCut(\\n IDiamondCut.FacetCut[] memory _diamondCut,\\n address _init,\\n bytes memory _calldata\\n ) internal {\\n for (uint256 facetIndex; facetIndex < _diamondCut.length; facetIndex++) {\\n IDiamondCut.FacetCutAction action = _diamondCut[facetIndex].action;\\n if (action == IDiamondCut.FacetCutAction.Add) {\\n addFunctions(_diamondCut[facetIndex].facetAddress, _diamondCut[facetIndex].functionSelectors);\\n } else if (action == IDiamondCut.FacetCutAction.Replace) {\\n replaceFunctions(_diamondCut[facetIndex].facetAddress, _diamondCut[facetIndex].functionSelectors);\\n } else if (action == IDiamondCut.FacetCutAction.Remove) {\\n removeFunctions(_diamondCut[facetIndex].facetAddress, _diamondCut[facetIndex].functionSelectors);\\n } else {\\n revert(\\\"LibDiamondCut: Incorrect FacetCutAction\\\");\\n }\\n }\\n emit DiamondCut(_diamondCut, _init, _calldata);\\n initializeDiamondCut(_init, _calldata);\\n }\\n\\n function addFunctions(address _facetAddress, bytes4[] memory _functionSelectors) internal {\\n require(_functionSelectors.length > 0, \\\"LibDiamondCut: No selectors in facet to cut\\\");\\n DiamondStorage storage ds = diamondStorage();\\n // uint16 selectorCount = uint16(diamondStorage().selectors.length);\\n require(_facetAddress != address(0), \\\"LibDiamondCut: Add facet can't be address(0)\\\");\\n uint16 selectorPosition = uint16(ds.facetFunctionSelectors[_facetAddress].functionSelectors.length);\\n // add new facet address if it does not exist\\n if (selectorPosition == 0) {\\n enforceHasContractCode(_facetAddress, \\\"LibDiamondCut: New facet has no code\\\");\\n ds.facetFunctionSelectors[_facetAddress].facetAddressPosition = uint16(ds.facetAddresses.length);\\n ds.facetAddresses.push(_facetAddress);\\n }\\n for (uint256 selectorIndex; selectorIndex < _functionSelectors.length; selectorIndex++) {\\n bytes4 selector = _functionSelectors[selectorIndex];\\n address oldFacetAddress = ds.selectorToFacetAndPosition[selector].facetAddress;\\n require(oldFacetAddress == address(0), \\\"LibDiamondCut: Can't add function that already exists\\\");\\n ds.facetFunctionSelectors[_facetAddress].functionSelectors.push(selector);\\n ds.selectorToFacetAndPosition[selector].facetAddress = _facetAddress;\\n ds.selectorToFacetAndPosition[selector].functionSelectorPosition = selectorPosition;\\n selectorPosition++;\\n }\\n }\\n\\n function replaceFunctions(address _facetAddress, bytes4[] memory _functionSelectors) internal {\\n require(_functionSelectors.length > 0, \\\"LibDiamondCut: No selectors in facet to cut\\\");\\n DiamondStorage storage ds = diamondStorage();\\n require(_facetAddress != address(0), \\\"LibDiamondCut: Add facet can't be address(0)\\\");\\n uint16 selectorPosition = uint16(ds.facetFunctionSelectors[_facetAddress].functionSelectors.length);\\n // add new facet address if it does not exist\\n if (selectorPosition == 0) {\\n enforceHasContractCode(_facetAddress, \\\"LibDiamondCut: New facet has no code\\\");\\n ds.facetFunctionSelectors[_facetAddress].facetAddressPosition = uint16(ds.facetAddresses.length);\\n ds.facetAddresses.push(_facetAddress);\\n }\\n for (uint256 selectorIndex; selectorIndex < _functionSelectors.length; selectorIndex++) {\\n bytes4 selector = _functionSelectors[selectorIndex];\\n address oldFacetAddress = ds.selectorToFacetAndPosition[selector].facetAddress;\\n require(oldFacetAddress != _facetAddress, \\\"LibDiamondCut: Can't replace function with same function\\\");\\n removeFunction(oldFacetAddress, selector);\\n // add function\\n ds.selectorToFacetAndPosition[selector].functionSelectorPosition = selectorPosition;\\n ds.facetFunctionSelectors[_facetAddress].functionSelectors.push(selector);\\n ds.selectorToFacetAndPosition[selector].facetAddress = _facetAddress;\\n selectorPosition++;\\n }\\n }\\n\\n function removeFunctions(address _facetAddress, bytes4[] memory _functionSelectors) internal {\\n require(_functionSelectors.length > 0, \\\"LibDiamondCut: No selectors in facet to cut\\\");\\n DiamondStorage storage ds = diamondStorage();\\n // if function does not exist then do nothing and return\\n require(_facetAddress == address(0), \\\"LibDiamondCut: Remove facet address must be address(0)\\\");\\n for (uint256 selectorIndex; selectorIndex < _functionSelectors.length; selectorIndex++) {\\n bytes4 selector = _functionSelectors[selectorIndex];\\n address oldFacetAddress = ds.selectorToFacetAndPosition[selector].facetAddress;\\n removeFunction(oldFacetAddress, selector);\\n }\\n }\\n\\n function removeFunction(address _facetAddress, bytes4 _selector) internal {\\n DiamondStorage storage ds = diamondStorage();\\n require(_facetAddress != address(0), \\\"LibDiamondCut: Can't remove function that doesn't exist\\\");\\n // an immutable function is a function defined directly in a diamond\\n require(_facetAddress != address(this), \\\"LibDiamondCut: Can't remove immutable function\\\");\\n // replace selector with last selector, then delete last selector\\n uint256 selectorPosition = ds.selectorToFacetAndPosition[_selector].functionSelectorPosition;\\n uint256 lastSelectorPosition = ds.facetFunctionSelectors[_facetAddress].functionSelectors.length - 1;\\n // if not the same then replace _selector with lastSelector\\n if (selectorPosition != lastSelectorPosition) {\\n bytes4 lastSelector = ds.facetFunctionSelectors[_facetAddress].functionSelectors[lastSelectorPosition];\\n ds.facetFunctionSelectors[_facetAddress].functionSelectors[selectorPosition] = lastSelector;\\n ds.selectorToFacetAndPosition[lastSelector].functionSelectorPosition = uint16(selectorPosition);\\n }\\n // delete the last selector\\n ds.facetFunctionSelectors[_facetAddress].functionSelectors.pop();\\n delete ds.selectorToFacetAndPosition[_selector];\\n\\n // if no more selectors for facet address then delete the facet address\\n if (lastSelectorPosition == 0) {\\n // replace facet address with last facet address and delete last facet address\\n uint256 lastFacetAddressPosition = ds.facetAddresses.length - 1;\\n uint256 facetAddressPosition = ds.facetFunctionSelectors[_facetAddress].facetAddressPosition;\\n if (facetAddressPosition != lastFacetAddressPosition) {\\n address lastFacetAddress = ds.facetAddresses[lastFacetAddressPosition];\\n ds.facetAddresses[facetAddressPosition] = lastFacetAddress;\\n ds.facetFunctionSelectors[lastFacetAddress].facetAddressPosition = uint16(facetAddressPosition);\\n }\\n ds.facetAddresses.pop();\\n delete ds.facetFunctionSelectors[_facetAddress].facetAddressPosition;\\n }\\n }\\n\\n function initializeDiamondCut(address _init, bytes memory _calldata) internal {\\n if (_init == address(0)) {\\n require(_calldata.length == 0, \\\"LibDiamondCut: _init is address(0) but_calldata is not empty\\\");\\n } else {\\n require(_calldata.length > 0, \\\"LibDiamondCut: _calldata is empty but _init is not address(0)\\\");\\n if (_init != address(this)) {\\n enforceHasContractCode(_init, \\\"LibDiamondCut: _init address has no code\\\");\\n }\\n (bool success, bytes memory error) = _init.delegatecall(_calldata);\\n if (!success) {\\n if (error.length > 0) {\\n // bubble up the error\\n revert(string(error));\\n } else {\\n revert(\\\"LibDiamondCut: _init function reverted\\\");\\n }\\n }\\n }\\n }\\n\\n function enforceHasContractCode(address _contract, string memory _errorMessage) internal view {\\n uint256 contractSize;\\n assembly {\\n contractSize := extcodesize(_contract)\\n }\\n require(contractSize > 0, _errorMessage);\\n }\\n}\\n\"\n },\n \"solc_0.7/diamond/interfaces/IDiamondLoupe.sol\": {\n \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity ^0.7.6;\\npragma experimental ABIEncoderV2;\\n\\n/******************************************************************************\\\\\\n* Author: Nick Mudge (https://twitter.com/mudgen)\\n* EIP-2535 Diamond Standard: https://eips.ethereum.org/EIPS/eip-2535\\n/******************************************************************************/\\n\\n// A loupe is a small magnifying glass used to look at diamonds.\\n// These functions look at diamonds\\ninterface IDiamondLoupe {\\n /// These functions are expected to be called frequently\\n /// by tools.\\n\\n struct Facet {\\n address facetAddress;\\n bytes4[] functionSelectors;\\n }\\n\\n /// @notice Gets all facet addresses and their four byte function selectors.\\n /// @return facets_ Facet\\n function facets() external view returns (Facet[] memory facets_);\\n\\n /// @notice Gets all the function selectors supported by a specific facet.\\n /// @param _facet The facet address.\\n /// @return facetFunctionSelectors_\\n function facetFunctionSelectors(address _facet) external view returns (bytes4[] memory facetFunctionSelectors_);\\n\\n /// @notice Get all the facet addresses used by a diamond.\\n /// @return facetAddresses_\\n function facetAddresses() external view returns (address[] memory facetAddresses_);\\n\\n /// @notice Gets the facet that supports the given selector.\\n /// @dev If facet is not found return address(0).\\n /// @param _functionSelector The function selector.\\n /// @return facetAddress_ The facet address.\\n function facetAddress(bytes4 _functionSelector) external view returns (address facetAddress_);\\n}\\n\"\n },\n \"solc_0.7/diamond/interfaces/IERC173.sol\": {\n \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity ^0.7.6;\\n\\n/// @title ERC-173 Contract Ownership Standard\\n/// Note: the ERC-165 identifier for this interface is 0x7f5828d0\\n/* is ERC165 */\\ninterface IERC173 {\\n /// @dev This emits when ownership of a contract changes.\\n event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);\\n\\n /// @notice Get the address of the owner\\n /// @return owner_ The address of the owner.\\n function owner() external view returns (address owner_);\\n\\n /// @notice Set the address of the new owner of the contract\\n /// @dev Set _newOwner to address(0) to renounce any ownership.\\n /// @param _newOwner The address of the new owner of the contract\\n function transferOwnership(address _newOwner) external;\\n}\\n\"\n },\n \"solc_0.7/diamond/interfaces/IERC165.sol\": {\n \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity ^0.7.6;\\npragma experimental ABIEncoderV2;\\n\\ninterface IERC165 {\\n /// @notice Query if a contract implements an interface\\n /// @param interfaceId The interface identifier, as specified in ERC-165\\n /// @dev Interface identification is specified in ERC-165. This function\\n /// uses less than 30,000 gas.\\n /// @return `true` if the contract implements `interfaceID` and\\n /// `interfaceID` is not 0xffffffff, `false` otherwise\\n function supportsInterface(bytes4 interfaceId) external view returns (bool);\\n}\\n\"\n }\n },\n \"settings\": {\n \"optimizer\": {\n \"enabled\": true,\n \"runs\": 999999\n },\n \"outputSelection\": {\n \"*\": {\n \"*\": [\n \"abi\",\n \"evm.bytecode\",\n \"evm.deployedBytecode\",\n \"evm.methodIdentifiers\",\n \"metadata\",\n \"devdoc\",\n \"userdoc\",\n \"storageLayout\",\n \"evm.gasEstimates\"\n ],\n \"\": [\n \"ast\"\n ]\n }\n },\n \"metadata\": {\n \"useLiteralContent\": true\n }\n }\n}", - "solcInputHash": "1d060b65b8264d57d416f20cb1fe798a" + "solcInput": "{\n \"language\": \"Solidity\",\n \"sources\": {\n \"solc_0.8/diamond/Diamantaire.sol\": {\n \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.0;\\npragma experimental ABIEncoderV2;\\n\\nimport \\\"./interfaces/IDiamondCut.sol\\\";\\nimport \\\"./Diamond.sol\\\";\\nimport \\\"./facets/DiamondCutFacet.sol\\\";\\nimport \\\"./facets/DiamondLoupeFacet.sol\\\";\\nimport \\\"./facets/OwnershipFacet.sol\\\";\\n\\ncontract Diamantaire {\\n event DiamondCreated(Diamond diamond);\\n\\n IDiamondCut.FacetCut[] internal _builtinDiamondCut;\\n\\n constructor() {\\n bytes4[] memory functionSelectors;\\n\\n // -------------------------------------------------------------------------\\n // adding diamondCut function\\n // -------------------------------------------------------------------------\\n DiamondCutFacet diamondCutFacet = new DiamondCutFacet();\\n\\n functionSelectors = new bytes4[](1);\\n functionSelectors[0] = DiamondCutFacet.diamondCut.selector;\\n _builtinDiamondCut.push(IDiamondCut.FacetCut({\\n facetAddress:address(diamondCutFacet),\\n action: IDiamondCut.FacetCutAction.Add,\\n functionSelectors: functionSelectors\\n }));\\n\\n\\n // -------------------------------------------------------------------------\\n // adding diamond loupe functions\\n // -------------------------------------------------------------------------\\n DiamondLoupeFacet diamondLoupeFacet = new DiamondLoupeFacet();\\n\\n functionSelectors = new bytes4[](5);\\n functionSelectors[0] = DiamondLoupeFacet.facetFunctionSelectors.selector;\\n functionSelectors[1] = DiamondLoupeFacet.facets.selector;\\n functionSelectors[2] = DiamondLoupeFacet.facetAddress.selector;\\n functionSelectors[3] = DiamondLoupeFacet.facetAddresses.selector;\\n functionSelectors[4] = DiamondLoupeFacet.supportsInterface.selector;\\n _builtinDiamondCut.push(IDiamondCut.FacetCut({\\n facetAddress:address(diamondLoupeFacet),\\n action: IDiamondCut.FacetCutAction.Add,\\n functionSelectors: functionSelectors\\n }));\\n\\n\\n // -------------------------------------------------------------------------\\n // adding ownership functions\\n // -------------------------------------------------------------------------\\n OwnershipFacet ownershipFacet = new OwnershipFacet();\\n\\n functionSelectors = new bytes4[](2);\\n functionSelectors[0] = OwnershipFacet.transferOwnership.selector;\\n functionSelectors[1] = OwnershipFacet.owner.selector;\\n _builtinDiamondCut.push(IDiamondCut.FacetCut({\\n facetAddress:address(ownershipFacet),\\n action: IDiamondCut.FacetCutAction.Add,\\n functionSelectors: functionSelectors\\n }));\\n }\\n\\n function createDiamond(\\n address owner,\\n IDiamondCut.FacetCut[] calldata _diamondCut,\\n bytes calldata data,\\n bytes32 salt\\n ) external payable returns (Diamond diamond) {\\n if (salt != 0x0000000000000000000000000000000000000000000000000000000000000000) {\\n salt = keccak256(abi.encodePacked(salt, owner));\\n diamond = new Diamond{value: msg.value, salt: salt}(\\n _builtinDiamondCut,\\n Diamond.DiamondArgs({owner:address(this)})\\n );\\n } else {\\n diamond = new Diamond{value: msg.value}(_builtinDiamondCut, Diamond.DiamondArgs({owner:address(this)}));\\n }\\n emit DiamondCreated(diamond);\\n\\n IDiamondCut(address(diamond)).diamondCut(_diamondCut, data.length > 0 ? address(diamond) : address(0), data);\\n IERC173(address(diamond)).transferOwnership(owner);\\n }\\n}\\n\"\n },\n \"solc_0.8/diamond/interfaces/IDiamondCut.sol\": {\n \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.0;\\n\\n/******************************************************************************\\\\\\n* Author: Nick Mudge (https://twitter.com/mudgen)\\n* EIP-2535 Diamonds: https://eips.ethereum.org/EIPS/eip-2535\\n/******************************************************************************/\\n\\ninterface IDiamondCut {\\n enum FacetCutAction {Add, Replace, Remove}\\n // Add=0, Replace=1, Remove=2\\n\\n struct FacetCut {\\n address facetAddress;\\n FacetCutAction action;\\n bytes4[] functionSelectors;\\n }\\n\\n /// @notice Add/replace/remove any number of functions and optionally execute\\n /// a function with delegatecall\\n /// @param _diamondCut Contains the facet addresses and function selectors\\n /// @param _init The address of the contract or facet to execute _calldata\\n /// @param _calldata A function call, including function selector and arguments\\n /// _calldata is executed with delegatecall on _init\\n function diamondCut(\\n FacetCut[] calldata _diamondCut,\\n address _init,\\n bytes calldata _calldata\\n ) external;\\n\\n event DiamondCut(FacetCut[] _diamondCut, address _init, bytes _calldata);\\n}\\n\"\n },\n \"solc_0.8/diamond/Diamond.sol\": {\n \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.0;\\n\\n/******************************************************************************\\\\\\n* Author: Nick Mudge (https://twitter.com/mudgen)\\n* EIP-2535 Diamonds: https://eips.ethereum.org/EIPS/eip-2535\\n*\\n* Implementation of a diamond.\\n/******************************************************************************/\\n\\nimport { LibDiamond } from \\\"./libraries/LibDiamond.sol\\\";\\nimport { IDiamondCut } from \\\"./interfaces/IDiamondCut.sol\\\";\\nimport { IDiamondLoupe } from \\\"./interfaces/IDiamondLoupe.sol\\\";\\nimport { IERC173 } from \\\"./interfaces/IERC173.sol\\\";\\nimport { IERC165 } from \\\"./interfaces/IERC165.sol\\\";\\n\\ncontract Diamond {\\n // more arguments are added to this struct\\n // this avoids stack too deep errors\\n struct DiamondArgs {\\n address owner;\\n }\\n\\n constructor(IDiamondCut.FacetCut[] memory _diamondCut, DiamondArgs memory _args) payable {\\n LibDiamond.diamondCut(_diamondCut, address(0), new bytes(0));\\n LibDiamond.setContractOwner(_args.owner);\\n\\n LibDiamond.DiamondStorage storage ds = LibDiamond.diamondStorage();\\n\\n // adding ERC165 data\\n ds.supportedInterfaces[type(IERC165).interfaceId] = true;\\n ds.supportedInterfaces[type(IDiamondCut).interfaceId] = true;\\n ds.supportedInterfaces[type(IDiamondLoupe).interfaceId] = true;\\n ds.supportedInterfaces[type(IERC173).interfaceId] = true;\\n }\\n\\n// constructor(address _contractOwner, address _diamondCutFacet) payable {\\n// LibDiamond.setContractOwner(_contractOwner);\\n//\\n// // Add the diamondCut external function from the diamondCutFacet\\n// IDiamondCut.FacetCut[] memory cut = new IDiamondCut.FacetCut[](1);\\n// bytes4[] memory functionSelectors = new bytes4[](1);\\n// functionSelectors[0] = IDiamondCut.diamondCut.selector;\\n// cut[0] = IDiamondCut.FacetCut({\\n// facetAddress: _diamondCutFacet,\\n// action: IDiamondCut.FacetCutAction.Add,\\n// functionSelectors: functionSelectors\\n// });\\n// LibDiamond.diamondCut(cut, address(0), \\\"\\\");\\n// }\\n\\n // Find facet for function that is called and execute the\\n // function if a facet is found and return any value.\\n fallback() external payable {\\n LibDiamond.DiamondStorage storage ds;\\n bytes32 position = LibDiamond.DIAMOND_STORAGE_POSITION;\\n // get diamond storage\\n assembly {\\n ds.slot := position\\n }\\n // get facet from function selector\\n address facet = ds.selectorToFacetAndPosition[msg.sig].facetAddress;\\n require(facet != address(0), \\\"Diamond: Function does not exist\\\");\\n // Execute external function from facet using delegatecall and return any value.\\n assembly {\\n // copy function selector and any arguments\\n calldatacopy(0, 0, calldatasize())\\n // execute function call using the facet\\n let result := delegatecall(gas(), facet, 0, calldatasize(), 0, 0)\\n // get any return value\\n returndatacopy(0, 0, returndatasize())\\n // return any return value or error back to the caller\\n switch result\\n case 0 {\\n revert(0, returndatasize())\\n }\\n default {\\n return(0, returndatasize())\\n }\\n }\\n }\\n\\n receive() external payable {}\\n}\\n\"\n },\n \"solc_0.8/diamond/facets/DiamondCutFacet.sol\": {\n \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.0;\\n\\n/******************************************************************************\\\\\\n* Author: Nick Mudge (https://twitter.com/mudgen)\\n* EIP-2535 Diamonds: https://eips.ethereum.org/EIPS/eip-2535\\n/******************************************************************************/\\n\\nimport { IDiamondCut } from \\\"../interfaces/IDiamondCut.sol\\\";\\nimport { LibDiamond } from \\\"../libraries/LibDiamond.sol\\\";\\n\\ncontract DiamondCutFacet is IDiamondCut {\\n /// @notice Add/replace/remove any number of functions and optionally execute\\n /// a function with delegatecall\\n /// @param _diamondCut Contains the facet addresses and function selectors\\n /// @param _init The address of the contract or facet to execute _calldata\\n /// @param _calldata A function call, including function selector and arguments\\n /// _calldata is executed with delegatecall on _init\\n function diamondCut(\\n FacetCut[] calldata _diamondCut,\\n address _init,\\n bytes calldata _calldata\\n ) external override {\\n LibDiamond.enforceIsContractOwner();\\n LibDiamond.diamondCut(_diamondCut, _init, _calldata);\\n }\\n}\\n\"\n },\n \"solc_0.8/diamond/facets/DiamondLoupeFacet.sol\": {\n \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.0;\\n/******************************************************************************\\\\\\n* Author: Nick Mudge (https://twitter.com/mudgen)\\n* EIP-2535 Diamonds: https://eips.ethereum.org/EIPS/eip-2535\\n/******************************************************************************/\\n\\nimport { LibDiamond } from \\\"../libraries/LibDiamond.sol\\\";\\nimport { IDiamondLoupe } from \\\"../interfaces/IDiamondLoupe.sol\\\";\\nimport { IERC165 } from \\\"../interfaces/IERC165.sol\\\";\\n\\ncontract DiamondLoupeFacet is IDiamondLoupe, IERC165 {\\n // Diamond Loupe Functions\\n ////////////////////////////////////////////////////////////////////\\n /// These functions are expected to be called frequently by tools.\\n //\\n // struct Facet {\\n // address facetAddress;\\n // bytes4[] functionSelectors;\\n // }\\n\\n /// @notice Gets all facets and their selectors.\\n /// @return facets_ Facet\\n function facets() external override view returns (Facet[] memory facets_) {\\n LibDiamond.DiamondStorage storage ds = LibDiamond.diamondStorage();\\n uint256 numFacets = ds.facetAddresses.length;\\n facets_ = new Facet[](numFacets);\\n for (uint256 i; i < numFacets; i++) {\\n address facetAddress_ = ds.facetAddresses[i];\\n facets_[i].facetAddress = facetAddress_;\\n facets_[i].functionSelectors = ds.facetFunctionSelectors[facetAddress_].functionSelectors;\\n }\\n }\\n\\n /// @notice Gets all the function selectors provided by a facet.\\n /// @param _facet The facet address.\\n /// @return facetFunctionSelectors_\\n function facetFunctionSelectors(address _facet) external override view returns (bytes4[] memory facetFunctionSelectors_) {\\n LibDiamond.DiamondStorage storage ds = LibDiamond.diamondStorage();\\n facetFunctionSelectors_ = ds.facetFunctionSelectors[_facet].functionSelectors;\\n }\\n\\n /// @notice Get all the facet addresses used by a diamond.\\n /// @return facetAddresses_\\n function facetAddresses() external override view returns (address[] memory facetAddresses_) {\\n LibDiamond.DiamondStorage storage ds = LibDiamond.diamondStorage();\\n facetAddresses_ = ds.facetAddresses;\\n }\\n\\n /// @notice Gets the facet that supports the given selector.\\n /// @dev If facet is not found return address(0).\\n /// @param _functionSelector The function selector.\\n /// @return facetAddress_ The facet address.\\n function facetAddress(bytes4 _functionSelector) external override view returns (address facetAddress_) {\\n LibDiamond.DiamondStorage storage ds = LibDiamond.diamondStorage();\\n facetAddress_ = ds.selectorToFacetAndPosition[_functionSelector].facetAddress;\\n }\\n\\n // This implements ERC-165.\\n function supportsInterface(bytes4 _interfaceId) external override view returns (bool) {\\n LibDiamond.DiamondStorage storage ds = LibDiamond.diamondStorage();\\n return ds.supportedInterfaces[_interfaceId];\\n }\\n}\\n\"\n },\n \"solc_0.8/diamond/facets/OwnershipFacet.sol\": {\n \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.0;\\n\\nimport { LibDiamond } from \\\"../libraries/LibDiamond.sol\\\";\\nimport { IERC173 } from \\\"../interfaces/IERC173.sol\\\";\\n\\ncontract OwnershipFacet is IERC173 {\\n function transferOwnership(address _newOwner) external override {\\n LibDiamond.enforceIsContractOwner();\\n LibDiamond.setContractOwner(_newOwner);\\n }\\n\\n function owner() external override view returns (address owner_) {\\n owner_ = LibDiamond.contractOwner();\\n }\\n}\\n\"\n },\n \"solc_0.8/diamond/libraries/LibDiamond.sol\": {\n \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.0;\\n\\n/******************************************************************************\\\\\\n* Author: Nick Mudge (https://twitter.com/mudgen)\\n* EIP-2535 Diamonds: https://eips.ethereum.org/EIPS/eip-2535\\n/******************************************************************************/\\nimport { IDiamondCut } from \\\"../interfaces/IDiamondCut.sol\\\";\\n\\nlibrary LibDiamond {\\n bytes32 constant DIAMOND_STORAGE_POSITION = keccak256(\\\"diamond.standard.diamond.storage\\\");\\n\\n struct FacetAddressAndPosition {\\n address facetAddress;\\n uint96 functionSelectorPosition; // position in facetFunctionSelectors.functionSelectors array\\n }\\n\\n struct FacetFunctionSelectors {\\n bytes4[] functionSelectors;\\n uint256 facetAddressPosition; // position of facetAddress in facetAddresses array\\n }\\n\\n struct DiamondStorage {\\n // maps function selector to the facet address and\\n // the position of the selector in the facetFunctionSelectors.selectors array\\n mapping(bytes4 => FacetAddressAndPosition) selectorToFacetAndPosition;\\n // maps facet addresses to function selectors\\n mapping(address => FacetFunctionSelectors) facetFunctionSelectors;\\n // facet addresses\\n address[] facetAddresses;\\n // Used to query if a contract implements an interface.\\n // Used to implement ERC-165.\\n mapping(bytes4 => bool) supportedInterfaces;\\n // owner of the contract\\n address contractOwner;\\n }\\n\\n function diamondStorage() internal pure returns (DiamondStorage storage ds) {\\n bytes32 position = DIAMOND_STORAGE_POSITION;\\n assembly {\\n ds.slot := position\\n }\\n }\\n\\n event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);\\n\\n function setContractOwner(address _newOwner) internal {\\n DiamondStorage storage ds = diamondStorage();\\n address previousOwner = ds.contractOwner;\\n ds.contractOwner = _newOwner;\\n emit OwnershipTransferred(previousOwner, _newOwner);\\n }\\n\\n function contractOwner() internal view returns (address contractOwner_) {\\n contractOwner_ = diamondStorage().contractOwner;\\n }\\n\\n function enforceIsContractOwner() internal view {\\n require(msg.sender == diamondStorage().contractOwner, \\\"LibDiamond: Must be contract owner\\\");\\n }\\n\\n event DiamondCut(IDiamondCut.FacetCut[] _diamondCut, address _init, bytes _calldata);\\n\\n // Internal function version of diamondCut\\n function diamondCut(\\n IDiamondCut.FacetCut[] memory _diamondCut,\\n address _init,\\n bytes memory _calldata\\n ) internal {\\n for (uint256 facetIndex; facetIndex < _diamondCut.length; facetIndex++) {\\n IDiamondCut.FacetCutAction action = _diamondCut[facetIndex].action;\\n if (action == IDiamondCut.FacetCutAction.Add) {\\n addFunctions(_diamondCut[facetIndex].facetAddress, _diamondCut[facetIndex].functionSelectors);\\n } else if (action == IDiamondCut.FacetCutAction.Replace) {\\n replaceFunctions(_diamondCut[facetIndex].facetAddress, _diamondCut[facetIndex].functionSelectors);\\n } else if (action == IDiamondCut.FacetCutAction.Remove) {\\n removeFunctions(_diamondCut[facetIndex].facetAddress, _diamondCut[facetIndex].functionSelectors);\\n } else {\\n revert(\\\"LibDiamondCut: Incorrect FacetCutAction\\\");\\n }\\n }\\n emit DiamondCut(_diamondCut, _init, _calldata);\\n initializeDiamondCut(_init, _calldata);\\n }\\n\\n function addFunctions(address _facetAddress, bytes4[] memory _functionSelectors) internal {\\n require(_functionSelectors.length > 0, \\\"LibDiamondCut: No selectors in facet to cut\\\");\\n DiamondStorage storage ds = diamondStorage(); \\n require(_facetAddress != address(0), \\\"LibDiamondCut: Add facet can't be address(0)\\\");\\n uint96 selectorPosition = uint96(ds.facetFunctionSelectors[_facetAddress].functionSelectors.length);\\n // add new facet address if it does not exist\\n if (selectorPosition == 0) {\\n addFacet(ds, _facetAddress); \\n }\\n for (uint256 selectorIndex; selectorIndex < _functionSelectors.length; selectorIndex++) {\\n bytes4 selector = _functionSelectors[selectorIndex];\\n address oldFacetAddress = ds.selectorToFacetAndPosition[selector].facetAddress;\\n require(oldFacetAddress == address(0), \\\"LibDiamondCut: Can't add function that already exists\\\");\\n addFunction(ds, selector, selectorPosition, _facetAddress);\\n selectorPosition++;\\n }\\n }\\n\\n function replaceFunctions(address _facetAddress, bytes4[] memory _functionSelectors) internal {\\n require(_functionSelectors.length > 0, \\\"LibDiamondCut: No selectors in facet to cut\\\");\\n DiamondStorage storage ds = diamondStorage();\\n require(_facetAddress != address(0), \\\"LibDiamondCut: Add facet can't be address(0)\\\");\\n uint96 selectorPosition = uint96(ds.facetFunctionSelectors[_facetAddress].functionSelectors.length);\\n // add new facet address if it does not exist\\n if (selectorPosition == 0) {\\n addFacet(ds, _facetAddress);\\n }\\n for (uint256 selectorIndex; selectorIndex < _functionSelectors.length; selectorIndex++) {\\n bytes4 selector = _functionSelectors[selectorIndex];\\n address oldFacetAddress = ds.selectorToFacetAndPosition[selector].facetAddress;\\n require(oldFacetAddress != _facetAddress, \\\"LibDiamondCut: Can't replace function with same function\\\");\\n removeFunction(ds, oldFacetAddress, selector);\\n addFunction(ds, selector, selectorPosition, _facetAddress);\\n selectorPosition++;\\n }\\n }\\n\\n function removeFunctions(address _facetAddress, bytes4[] memory _functionSelectors) internal {\\n require(_functionSelectors.length > 0, \\\"LibDiamondCut: No selectors in facet to cut\\\");\\n DiamondStorage storage ds = diamondStorage();\\n // if function does not exist then do nothing and return\\n require(_facetAddress == address(0), \\\"LibDiamondCut: Remove facet address must be address(0)\\\");\\n for (uint256 selectorIndex; selectorIndex < _functionSelectors.length; selectorIndex++) {\\n bytes4 selector = _functionSelectors[selectorIndex];\\n address oldFacetAddress = ds.selectorToFacetAndPosition[selector].facetAddress;\\n removeFunction(ds, oldFacetAddress, selector);\\n }\\n }\\n\\n function addFacet(DiamondStorage storage ds, address _facetAddress) internal {\\n enforceHasContractCode(_facetAddress, \\\"LibDiamondCut: New facet has no code\\\");\\n ds.facetFunctionSelectors[_facetAddress].facetAddressPosition = ds.facetAddresses.length;\\n ds.facetAddresses.push(_facetAddress);\\n } \\n\\n\\n function addFunction(DiamondStorage storage ds, bytes4 _selector, uint96 _selectorPosition, address _facetAddress) internal {\\n ds.selectorToFacetAndPosition[_selector].functionSelectorPosition = _selectorPosition;\\n ds.facetFunctionSelectors[_facetAddress].functionSelectors.push(_selector);\\n ds.selectorToFacetAndPosition[_selector].facetAddress = _facetAddress;\\n }\\n\\n function removeFunction(DiamondStorage storage ds, address _facetAddress, bytes4 _selector) internal { \\n require(_facetAddress != address(0), \\\"LibDiamondCut: Can't remove function that doesn't exist\\\");\\n // an immutable function is a function defined directly in a diamond\\n require(_facetAddress != address(this), \\\"LibDiamondCut: Can't remove immutable function\\\");\\n // replace selector with last selector, then delete last selector\\n uint256 selectorPosition = ds.selectorToFacetAndPosition[_selector].functionSelectorPosition;\\n uint256 lastSelectorPosition = ds.facetFunctionSelectors[_facetAddress].functionSelectors.length - 1;\\n // if not the same then replace _selector with lastSelector\\n if (selectorPosition != lastSelectorPosition) {\\n bytes4 lastSelector = ds.facetFunctionSelectors[_facetAddress].functionSelectors[lastSelectorPosition];\\n ds.facetFunctionSelectors[_facetAddress].functionSelectors[selectorPosition] = lastSelector;\\n ds.selectorToFacetAndPosition[lastSelector].functionSelectorPosition = uint96(selectorPosition);\\n }\\n // delete the last selector\\n ds.facetFunctionSelectors[_facetAddress].functionSelectors.pop();\\n delete ds.selectorToFacetAndPosition[_selector];\\n\\n // if no more selectors for facet address then delete the facet address\\n if (lastSelectorPosition == 0) {\\n // replace facet address with last facet address and delete last facet address\\n uint256 lastFacetAddressPosition = ds.facetAddresses.length - 1;\\n uint256 facetAddressPosition = ds.facetFunctionSelectors[_facetAddress].facetAddressPosition;\\n if (facetAddressPosition != lastFacetAddressPosition) {\\n address lastFacetAddress = ds.facetAddresses[lastFacetAddressPosition];\\n ds.facetAddresses[facetAddressPosition] = lastFacetAddress;\\n ds.facetFunctionSelectors[lastFacetAddress].facetAddressPosition = facetAddressPosition;\\n }\\n ds.facetAddresses.pop();\\n delete ds.facetFunctionSelectors[_facetAddress].facetAddressPosition;\\n }\\n }\\n\\n function initializeDiamondCut(address _init, bytes memory _calldata) internal {\\n if (_init == address(0)) {\\n require(_calldata.length == 0, \\\"LibDiamondCut: _init is address(0) but_calldata is not empty\\\");\\n } else {\\n require(_calldata.length > 0, \\\"LibDiamondCut: _calldata is empty but _init is not address(0)\\\");\\n if (_init != address(this)) {\\n enforceHasContractCode(_init, \\\"LibDiamondCut: _init address has no code\\\");\\n }\\n (bool success, bytes memory error) = _init.delegatecall(_calldata);\\n if (!success) {\\n if (error.length > 0) {\\n // bubble up the error\\n revert(string(error));\\n } else {\\n revert(\\\"LibDiamondCut: _init function reverted\\\");\\n }\\n }\\n }\\n }\\n\\n function enforceHasContractCode(address _contract, string memory _errorMessage) internal view {\\n uint256 contractSize;\\n assembly {\\n contractSize := extcodesize(_contract)\\n }\\n require(contractSize > 0, _errorMessage);\\n }\\n}\\n\"\n },\n \"solc_0.8/diamond/interfaces/IDiamondLoupe.sol\": {\n \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.0;\\n\\n/******************************************************************************\\\\\\n* Author: Nick Mudge (https://twitter.com/mudgen)\\n* EIP-2535 Diamonds: https://eips.ethereum.org/EIPS/eip-2535\\n/******************************************************************************/\\n\\n// A loupe is a small magnifying glass used to look at diamonds.\\n// These functions look at diamonds\\ninterface IDiamondLoupe {\\n /// These functions are expected to be called frequently\\n /// by tools.\\n\\n struct Facet {\\n address facetAddress;\\n bytes4[] functionSelectors;\\n }\\n\\n /// @notice Gets all facet addresses and their four byte function selectors.\\n /// @return facets_ Facet\\n function facets() external view returns (Facet[] memory facets_);\\n\\n /// @notice Gets all the function selectors supported by a specific facet.\\n /// @param _facet The facet address.\\n /// @return facetFunctionSelectors_\\n function facetFunctionSelectors(address _facet) external view returns (bytes4[] memory facetFunctionSelectors_);\\n\\n /// @notice Get all the facet addresses used by a diamond.\\n /// @return facetAddresses_\\n function facetAddresses() external view returns (address[] memory facetAddresses_);\\n\\n /// @notice Gets the facet that supports the given selector.\\n /// @dev If facet is not found return address(0).\\n /// @param _functionSelector The function selector.\\n /// @return facetAddress_ The facet address.\\n function facetAddress(bytes4 _functionSelector) external view returns (address facetAddress_);\\n}\\n\"\n },\n \"solc_0.8/diamond/interfaces/IERC173.sol\": {\n \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.0;\\n\\n/// @title ERC-173 Contract Ownership Standard\\n/// Note: the ERC-165 identifier for this interface is 0x7f5828d0\\n/* is ERC165 */\\ninterface IERC173 {\\n /// @dev This emits when ownership of a contract changes.\\n event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);\\n\\n /// @notice Get the address of the owner\\n /// @return owner_ The address of the owner.\\n function owner() external view returns (address owner_);\\n\\n /// @notice Set the address of the new owner of the contract\\n /// @dev Set _newOwner to address(0) to renounce any ownership.\\n /// @param _newOwner The address of the new owner of the contract\\n function transferOwnership(address _newOwner) external;\\n}\\n\"\n },\n \"solc_0.8/diamond/interfaces/IERC165.sol\": {\n \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.0;\\n\\ninterface IERC165 {\\n /// @notice Query if a contract implements an interface\\n /// @param interfaceId The interface identifier, as specified in ERC-165\\n /// @dev Interface identification is specified in ERC-165. This function\\n /// uses less than 30,000 gas.\\n /// @return `true` if the contract implements `interfaceID` and\\n /// `interfaceID` is not 0xffffffff, `false` otherwise\\n function supportsInterface(bytes4 interfaceId) external view returns (bool);\\n}\\n\"\n },\n \"solc_0.8/diamond/upgradeInitializers/DiamondInit.sol\": {\n \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.0;\\n\\n/******************************************************************************\\\\\\n* Author: Nick Mudge (https://twitter.com/mudgen)\\n* EIP-2535 Diamonds: https://eips.ethereum.org/EIPS/eip-2535\\n*\\n* Implementation of a diamond.\\n/******************************************************************************/\\n\\nimport {LibDiamond} from \\\"../libraries/LibDiamond.sol\\\";\\nimport { IDiamondLoupe } from \\\"../interfaces/IDiamondLoupe.sol\\\";\\nimport { IDiamondCut } from \\\"../interfaces/IDiamondCut.sol\\\";\\nimport { IERC173 } from \\\"../interfaces/IERC173.sol\\\";\\nimport { IERC165 } from \\\"../interfaces/IERC165.sol\\\";\\n\\n// It is exapected that this contract is customized if you want to deploy your diamond\\n// with data from a deployment script. Use the init function to initialize state variables\\n// of your diamond. Add parameters to the init funciton if you need to.\\n\\ncontract DiamondInit { \\n\\n // You can add parameters to this function in order to pass in \\n // data to set your own state variables\\n function init() external {\\n // adding ERC165 data\\n LibDiamond.DiamondStorage storage ds = LibDiamond.diamondStorage();\\n ds.supportedInterfaces[type(IERC165).interfaceId] = true;\\n ds.supportedInterfaces[type(IDiamondCut).interfaceId] = true;\\n ds.supportedInterfaces[type(IDiamondLoupe).interfaceId] = true;\\n ds.supportedInterfaces[type(IERC173).interfaceId] = true;\\n\\n // add your own state variables \\n // EIP-2535 specifies that the `diamondCut` function takes two optional \\n // arguments: address _init and bytes calldata _calldata\\n // These arguments are used to execute an arbitrary function using delegatecall\\n // in order to set state variables in the diamond during deployment or an upgrade\\n // More info here: https://eips.ethereum.org/EIPS/eip-2535#diamond-interface \\n }\\n\\n\\n}\"\n }\n },\n \"settings\": {\n \"optimizer\": {\n \"enabled\": true,\n \"runs\": 999999\n },\n \"outputSelection\": {\n \"*\": {\n \"*\": [\n \"abi\",\n \"evm.bytecode\",\n \"evm.deployedBytecode\",\n \"evm.methodIdentifiers\",\n \"metadata\",\n \"devdoc\",\n \"userdoc\",\n \"storageLayout\",\n \"evm.gasEstimates\"\n ],\n \"\": [\n \"ast\"\n ]\n }\n },\n \"metadata\": {\n \"useLiteralContent\": true\n }\n }\n}", + "solcInputHash": "91f18d120de6fe2bcaa5a3bff0ad9fe7" } \ No newline at end of file diff --git a/extendedArtifacts/Proxied.json b/extendedArtifacts/Proxied.json index d3b73040..8f7446a7 100644 --- a/extendedArtifacts/Proxied.json +++ b/extendedArtifacts/Proxied.json @@ -1,6 +1,6 @@ { "contractName": "Proxied", - "sourceName": "solc_0.7/proxy/Proxied.sol", + "sourceName": "solc_0.8/proxy/Proxied.sol", "abi": [], "bytecode": "0x", "deployedBytecode": "0x", @@ -13,6 +13,7 @@ }, "evm": { "bytecode": { + "functionDebugData": {}, "generatedSources": [], "linkReferences": {}, "object": "", @@ -20,6 +21,7 @@ "sourceMap": "" }, "deployedBytecode": { + "functionDebugData": {}, "generatedSources": [], "immutableReferences": {}, "linkReferences": {}, @@ -30,7 +32,7 @@ "gasEstimates": null, "methodIdentifiers": {} }, - "metadata": "{\"compiler\":{\"version\":\"0.7.6+commit.7338295f\"},\"language\":\"Solidity\",\"output\":{\"abi\":[],\"devdoc\":{\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"solc_0.7/proxy/Proxied.sol\":\"Proxied\"},\"evmVersion\":\"istanbul\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\",\"useLiteralContent\":true},\"optimizer\":{\"enabled\":true,\"runs\":999999},\"remappings\":[]},\"sources\":{\"solc_0.7/proxy/Proxied.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\npragma solidity ^0.7.0;\\n\\nabstract contract Proxied {\\n /// @notice to be used by initialisation / postUpgrade function so that only the proxy's admin can execute them\\n /// It also allows these functions to be called inside a contructor\\n /// even if the contract is meant to be used without proxy\\n modifier proxied() {\\n address proxyAdminAddress = _proxyAdmin();\\n // With hardhat-deploy proxies\\n // the proxyAdminAddress is zero only for the implementation contract\\n // if the implementation contract want to be used as a standalone/immutable contract\\n // it simply has to execute the `proxied` function\\n // This ensure the proxyAdminAddress is never zero post deployment\\n // And allow you to keep the same code for both proxied contract and immutable contract\\n if (proxyAdminAddress == address(0)) {\\n // ensure can not be called twice when used outside of proxy : no admin\\n // solhint-disable-next-line security/no-inline-assembly\\n assembly {\\n sstore(\\n 0xb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d6103,\\n 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF\\n )\\n }\\n } else {\\n require(msg.sender == proxyAdminAddress);\\n }\\n _;\\n }\\n\\n modifier onlyProxyAdmin() {\\n require(msg.sender == _proxyAdmin(), \\\"NOT_AUTHORIZED\\\");\\n _;\\n }\\n\\n function _proxyAdmin() internal view returns (address ownerAddress) {\\n // solhint-disable-next-line security/no-inline-assembly\\n assembly {\\n ownerAddress := sload(0xb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d6103)\\n }\\n }\\n}\\n\",\"keccak256\":\"0x760a00cd889372a2358732403723d8a13cb8b02bb82450a9bf5488177828aa79\",\"license\":\"MIT\"}},\"version\":1}", + "metadata": "{\"compiler\":{\"version\":\"0.8.9+commit.e5eed63a\"},\"language\":\"Solidity\",\"output\":{\"abi\":[],\"devdoc\":{\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"solc_0.8/proxy/Proxied.sol\":\"Proxied\"},\"evmVersion\":\"london\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\",\"useLiteralContent\":true},\"optimizer\":{\"enabled\":true,\"runs\":999999},\"remappings\":[]},\"sources\":{\"solc_0.8/proxy/Proxied.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.0;\\n\\nabstract contract Proxied {\\n /// @notice to be used by initialisation / postUpgrade function so that only the proxy's admin can execute them\\n /// It also allows these functions to be called inside a contructor\\n /// even if the contract is meant to be used without proxy\\n modifier proxied() {\\n address proxyAdminAddress = _proxyAdmin();\\n // With hardhat-deploy proxies\\n // the proxyAdminAddress is zero only for the implementation contract\\n // if the implementation contract want to be used as a standalone/immutable contract\\n // it simply has to execute the `proxied` function\\n // This ensure the proxyAdminAddress is never zero post deployment\\n // And allow you to keep the same code for both proxied contract and immutable contract\\n if (proxyAdminAddress == address(0)) {\\n // ensure can not be called twice when used outside of proxy : no admin\\n // solhint-disable-next-line security/no-inline-assembly\\n assembly {\\n sstore(\\n 0xb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d6103,\\n 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF\\n )\\n }\\n } else {\\n require(msg.sender == proxyAdminAddress);\\n }\\n _;\\n }\\n\\n modifier onlyProxyAdmin() {\\n require(msg.sender == _proxyAdmin(), \\\"NOT_AUTHORIZED\\\");\\n _;\\n }\\n\\n function _proxyAdmin() internal view returns (address ownerAddress) {\\n // solhint-disable-next-line security/no-inline-assembly\\n assembly {\\n ownerAddress := sload(0xb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d6103)\\n }\\n }\\n}\\n\",\"keccak256\":\"0xaaceeafeeaf0d200ca3942d8bf14c1c4f787a77f79cc87c08bb668e65acdee29\",\"license\":\"MIT\"}},\"version\":1}", "storageLayout": { "storage": [], "types": null @@ -40,6 +42,6 @@ "methods": {}, "version": 1 }, - "solcInput": "{\n \"language\": \"Solidity\",\n \"sources\": {\n \"solc_0.7/proxy/Proxied.sol\": {\n \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity ^0.7.0;\\n\\nabstract contract Proxied {\\n /// @notice to be used by initialisation / postUpgrade function so that only the proxy's admin can execute them\\n /// It also allows these functions to be called inside a contructor\\n /// even if the contract is meant to be used without proxy\\n modifier proxied() {\\n address proxyAdminAddress = _proxyAdmin();\\n // With hardhat-deploy proxies\\n // the proxyAdminAddress is zero only for the implementation contract\\n // if the implementation contract want to be used as a standalone/immutable contract\\n // it simply has to execute the `proxied` function\\n // This ensure the proxyAdminAddress is never zero post deployment\\n // And allow you to keep the same code for both proxied contract and immutable contract\\n if (proxyAdminAddress == address(0)) {\\n // ensure can not be called twice when used outside of proxy : no admin\\n // solhint-disable-next-line security/no-inline-assembly\\n assembly {\\n sstore(\\n 0xb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d6103,\\n 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF\\n )\\n }\\n } else {\\n require(msg.sender == proxyAdminAddress);\\n }\\n _;\\n }\\n\\n modifier onlyProxyAdmin() {\\n require(msg.sender == _proxyAdmin(), \\\"NOT_AUTHORIZED\\\");\\n _;\\n }\\n\\n function _proxyAdmin() internal view returns (address ownerAddress) {\\n // solhint-disable-next-line security/no-inline-assembly\\n assembly {\\n ownerAddress := sload(0xb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d6103)\\n }\\n }\\n}\\n\"\n }\n },\n \"settings\": {\n \"optimizer\": {\n \"enabled\": true,\n \"runs\": 999999\n },\n \"outputSelection\": {\n \"*\": {\n \"*\": [\n \"abi\",\n \"evm.bytecode\",\n \"evm.deployedBytecode\",\n \"evm.methodIdentifiers\",\n \"metadata\",\n \"devdoc\",\n \"userdoc\",\n \"storageLayout\",\n \"evm.gasEstimates\"\n ],\n \"\": [\n \"ast\"\n ]\n }\n },\n \"metadata\": {\n \"useLiteralContent\": true\n }\n }\n}", - "solcInputHash": "9a092dc08b6ce1d4cefe366abe0295ec" + "solcInput": "{\n \"language\": \"Solidity\",\n \"sources\": {\n \"solc_0.8/proxy/Proxied.sol\": {\n \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.0;\\n\\nabstract contract Proxied {\\n /// @notice to be used by initialisation / postUpgrade function so that only the proxy's admin can execute them\\n /// It also allows these functions to be called inside a contructor\\n /// even if the contract is meant to be used without proxy\\n modifier proxied() {\\n address proxyAdminAddress = _proxyAdmin();\\n // With hardhat-deploy proxies\\n // the proxyAdminAddress is zero only for the implementation contract\\n // if the implementation contract want to be used as a standalone/immutable contract\\n // it simply has to execute the `proxied` function\\n // This ensure the proxyAdminAddress is never zero post deployment\\n // And allow you to keep the same code for both proxied contract and immutable contract\\n if (proxyAdminAddress == address(0)) {\\n // ensure can not be called twice when used outside of proxy : no admin\\n // solhint-disable-next-line security/no-inline-assembly\\n assembly {\\n sstore(\\n 0xb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d6103,\\n 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF\\n )\\n }\\n } else {\\n require(msg.sender == proxyAdminAddress);\\n }\\n _;\\n }\\n\\n modifier onlyProxyAdmin() {\\n require(msg.sender == _proxyAdmin(), \\\"NOT_AUTHORIZED\\\");\\n _;\\n }\\n\\n function _proxyAdmin() internal view returns (address ownerAddress) {\\n // solhint-disable-next-line security/no-inline-assembly\\n assembly {\\n ownerAddress := sload(0xb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d6103)\\n }\\n }\\n}\\n\"\n }\n },\n \"settings\": {\n \"optimizer\": {\n \"enabled\": true,\n \"runs\": 999999\n },\n \"outputSelection\": {\n \"*\": {\n \"*\": [\n \"abi\",\n \"evm.bytecode\",\n \"evm.deployedBytecode\",\n \"evm.methodIdentifiers\",\n \"metadata\",\n \"devdoc\",\n \"userdoc\",\n \"storageLayout\",\n \"evm.gasEstimates\"\n ],\n \"\": [\n \"ast\"\n ]\n }\n },\n \"metadata\": {\n \"useLiteralContent\": true\n }\n }\n}", + "solcInputHash": "671af58dff9d96540fbd6480e1e9a256" } \ No newline at end of file diff --git a/extendedArtifacts/Test1Facet.json b/extendedArtifacts/Test1Facet.json new file mode 100644 index 00000000..5803f89c --- /dev/null +++ b/extendedArtifacts/Test1Facet.json @@ -0,0 +1,784 @@ +{ + "contractName": "Test1Facet", + "sourceName": "solc_0.8/diamond/facets/Test1Facet.sol", + "abi": [ + { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "address", + "name": "something", + "type": "address" + } + ], + "name": "TestEvent", + "type": "event" + }, + { + "inputs": [ + { + "internalType": "bytes4", + "name": "_interfaceID", + "type": "bytes4" + } + ], + "name": "supportsInterface", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "test1Func1", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [], + "name": "test1Func10", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [], + "name": "test1Func11", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [], + "name": "test1Func12", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [], + "name": "test1Func13", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [], + "name": "test1Func14", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [], + "name": "test1Func15", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [], + "name": "test1Func16", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [], + "name": "test1Func17", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [], + "name": "test1Func18", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [], + "name": "test1Func19", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [], + "name": "test1Func2", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [], + "name": "test1Func20", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [], + "name": "test1Func3", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [], + "name": "test1Func4", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [], + "name": "test1Func5", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [], + "name": "test1Func6", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [], + "name": "test1Func7", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [], + "name": "test1Func8", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [], + "name": "test1Func9", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + } + ], + "bytecode": "0x608060405234801561001057600080fd5b50610225806100206000396000f3fe608060405234801561001057600080fd5b50600436106101775760003560e01c806351b68a4d116100d85780639abf97aa1161008c578063cd0bae0911610066578063cd0bae09146101a4578063cf3bbe18146101a4578063db32da15146101a457600080fd5b80639abf97aa146101a4578063b0e8fcc7146101a4578063cbb835f6146101a457600080fd5b806377e9d0d6116100bd57806377e9d0d6146101a457806381b5207d146101a457806387952d22146101a457600080fd5b806351b68a4d146101a457806371a99d6f146101a457600080fd5b806324c1d5a71161012f5780632cb83248116101145780632cb83248146101a45780634484b3b9146101a457806350eb3f43146101a457600080fd5b806324c1d5a7146101a4578063292c460d146101a457600080fd5b8063110460471161016057806311046047146101a457806319c841ab146101a457806319e3b533146101a457600080fd5b806301ffc9a71461017c5780630716c2ae146101a4575b600080fd5b61019061018a3660046101a6565b50600090565b604051901515815260200160405180910390f35b005b6000602082840312156101b857600080fd5b81357fffffffff00000000000000000000000000000000000000000000000000000000811681146101e857600080fd5b939250505056fea2646970667358221220890e8e3fb140110b29f90f1c659a0d23989482eff2fe1edeb2a03c74de11844b64736f6c63430008090033", + "deployedBytecode": "0x608060405234801561001057600080fd5b50600436106101775760003560e01c806351b68a4d116100d85780639abf97aa1161008c578063cd0bae0911610066578063cd0bae09146101a4578063cf3bbe18146101a4578063db32da15146101a457600080fd5b80639abf97aa146101a4578063b0e8fcc7146101a4578063cbb835f6146101a457600080fd5b806377e9d0d6116100bd57806377e9d0d6146101a457806381b5207d146101a457806387952d22146101a457600080fd5b806351b68a4d146101a457806371a99d6f146101a457600080fd5b806324c1d5a71161012f5780632cb83248116101145780632cb83248146101a45780634484b3b9146101a457806350eb3f43146101a457600080fd5b806324c1d5a7146101a4578063292c460d146101a457600080fd5b8063110460471161016057806311046047146101a457806319c841ab146101a457806319e3b533146101a457600080fd5b806301ffc9a71461017c5780630716c2ae146101a4575b600080fd5b61019061018a3660046101a6565b50600090565b604051901515815260200160405180910390f35b005b6000602082840312156101b857600080fd5b81357fffffffff00000000000000000000000000000000000000000000000000000000811681146101e857600080fd5b939250505056fea2646970667358221220890e8e3fb140110b29f90f1c659a0d23989482eff2fe1edeb2a03c74de11844b64736f6c63430008090033", + "linkReferences": {}, + "deployedLinkReferences": {}, + "devdoc": { + "kind": "dev", + "methods": {}, + "version": 1 + }, + "evm": { + "bytecode": { + "functionDebugData": {}, + "generatedSources": [], + "linkReferences": {}, + "opcodes": "PUSH1 0x80 PUSH1 0x40 MSTORE CALLVALUE DUP1 ISZERO PUSH2 0x10 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH2 0x225 DUP1 PUSH2 0x20 PUSH1 0x0 CODECOPY PUSH1 0x0 RETURN INVALID PUSH1 0x80 PUSH1 0x40 MSTORE CALLVALUE DUP1 ISZERO PUSH2 0x10 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH1 0x4 CALLDATASIZE LT PUSH2 0x177 JUMPI PUSH1 0x0 CALLDATALOAD PUSH1 0xE0 SHR DUP1 PUSH4 0x51B68A4D GT PUSH2 0xD8 JUMPI DUP1 PUSH4 0x9ABF97AA GT PUSH2 0x8C JUMPI DUP1 PUSH4 0xCD0BAE09 GT PUSH2 0x66 JUMPI DUP1 PUSH4 0xCD0BAE09 EQ PUSH2 0x1A4 JUMPI DUP1 PUSH4 0xCF3BBE18 EQ PUSH2 0x1A4 JUMPI DUP1 PUSH4 0xDB32DA15 EQ PUSH2 0x1A4 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP1 PUSH4 0x9ABF97AA EQ PUSH2 0x1A4 JUMPI DUP1 PUSH4 0xB0E8FCC7 EQ PUSH2 0x1A4 JUMPI DUP1 PUSH4 0xCBB835F6 EQ PUSH2 0x1A4 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP1 PUSH4 0x77E9D0D6 GT PUSH2 0xBD JUMPI DUP1 PUSH4 0x77E9D0D6 EQ PUSH2 0x1A4 JUMPI DUP1 PUSH4 0x81B5207D EQ PUSH2 0x1A4 JUMPI DUP1 PUSH4 0x87952D22 EQ PUSH2 0x1A4 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP1 PUSH4 0x51B68A4D EQ PUSH2 0x1A4 JUMPI DUP1 PUSH4 0x71A99D6F EQ PUSH2 0x1A4 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP1 PUSH4 0x24C1D5A7 GT PUSH2 0x12F JUMPI DUP1 PUSH4 0x2CB83248 GT PUSH2 0x114 JUMPI DUP1 PUSH4 0x2CB83248 EQ PUSH2 0x1A4 JUMPI DUP1 PUSH4 0x4484B3B9 EQ PUSH2 0x1A4 JUMPI DUP1 PUSH4 0x50EB3F43 EQ PUSH2 0x1A4 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP1 PUSH4 0x24C1D5A7 EQ PUSH2 0x1A4 JUMPI DUP1 PUSH4 0x292C460D EQ PUSH2 0x1A4 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP1 PUSH4 0x11046047 GT PUSH2 0x160 JUMPI DUP1 PUSH4 0x11046047 EQ PUSH2 0x1A4 JUMPI DUP1 PUSH4 0x19C841AB EQ PUSH2 0x1A4 JUMPI DUP1 PUSH4 0x19E3B533 EQ PUSH2 0x1A4 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP1 PUSH4 0x1FFC9A7 EQ PUSH2 0x17C JUMPI DUP1 PUSH4 0x716C2AE EQ PUSH2 0x1A4 JUMPI JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x190 PUSH2 0x18A CALLDATASIZE PUSH1 0x4 PUSH2 0x1A6 JUMP JUMPDEST POP PUSH1 0x0 SWAP1 JUMP JUMPDEST PUSH1 0x40 MLOAD SWAP1 ISZERO ISZERO DUP2 MSTORE PUSH1 0x20 ADD PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST STOP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x1B8 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP2 CALLDATALOAD PUSH32 0xFFFFFFFF00000000000000000000000000000000000000000000000000000000 DUP2 AND DUP2 EQ PUSH2 0x1E8 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST SWAP4 SWAP3 POP POP POP JUMP INVALID LOG2 PUSH5 0x6970667358 0x22 SLT KECCAK256 DUP10 0xE DUP15 EXTCODEHASH 0xB1 BLOCKHASH GT SIGNEXTEND 0x29 0xF9 0xF SHR PUSH6 0x9A0D23989482 0xEF CALLCODE INVALID 0x1E 0xDE 0xB2 LOG0 EXTCODECOPY PUSH21 0xDE11844B64736F6C63430008090033000000000000 ", + "sourceMap": "57:939:0:-:0;;;;;;;;;;;;;;;;;;;" + }, + "deployedBytecode": { + "functionDebugData": { + "@supportsInterface_93": { + "entryPoint": null, + "id": 93, + "parameterSlots": 1, + "returnSlots": 1 + }, + "@test1Func10_45": { + "entryPoint": null, + "id": 45, + "parameterSlots": 0, + "returnSlots": 0 + }, + "@test1Func11_49": { + "entryPoint": null, + "id": 49, + "parameterSlots": 0, + "returnSlots": 0 + }, + "@test1Func12_53": { + "entryPoint": null, + "id": 53, + "parameterSlots": 0, + "returnSlots": 0 + }, + "@test1Func13_57": { + "entryPoint": null, + "id": 57, + "parameterSlots": 0, + "returnSlots": 0 + }, + "@test1Func14_61": { + "entryPoint": null, + "id": 61, + "parameterSlots": 0, + "returnSlots": 0 + }, + "@test1Func15_65": { + "entryPoint": null, + "id": 65, + "parameterSlots": 0, + "returnSlots": 0 + }, + "@test1Func16_69": { + "entryPoint": null, + "id": 69, + "parameterSlots": 0, + "returnSlots": 0 + }, + "@test1Func17_73": { + "entryPoint": null, + "id": 73, + "parameterSlots": 0, + "returnSlots": 0 + }, + "@test1Func18_77": { + "entryPoint": null, + "id": 77, + "parameterSlots": 0, + "returnSlots": 0 + }, + "@test1Func19_81": { + "entryPoint": null, + "id": 81, + "parameterSlots": 0, + "returnSlots": 0 + }, + "@test1Func1_9": { + "entryPoint": null, + "id": 9, + "parameterSlots": 0, + "returnSlots": 0 + }, + "@test1Func20_85": { + "entryPoint": null, + "id": 85, + "parameterSlots": 0, + "returnSlots": 0 + }, + "@test1Func2_13": { + "entryPoint": null, + "id": 13, + "parameterSlots": 0, + "returnSlots": 0 + }, + "@test1Func3_17": { + "entryPoint": null, + "id": 17, + "parameterSlots": 0, + "returnSlots": 0 + }, + "@test1Func4_21": { + "entryPoint": null, + "id": 21, + "parameterSlots": 0, + "returnSlots": 0 + }, + "@test1Func5_25": { + "entryPoint": null, + "id": 25, + "parameterSlots": 0, + "returnSlots": 0 + }, + "@test1Func6_29": { + "entryPoint": null, + "id": 29, + "parameterSlots": 0, + "returnSlots": 0 + }, + "@test1Func7_33": { + "entryPoint": null, + "id": 33, + "parameterSlots": 0, + "returnSlots": 0 + }, + "@test1Func8_37": { + "entryPoint": null, + "id": 37, + "parameterSlots": 0, + "returnSlots": 0 + }, + "@test1Func9_41": { + "entryPoint": null, + "id": 41, + "parameterSlots": 0, + "returnSlots": 0 + }, + "abi_decode_tuple_t_bytes4": { + "entryPoint": 422, + "id": null, + "parameterSlots": 2, + "returnSlots": 1 + }, + "abi_encode_tuple_t_bool__to_t_bool__fromStack_reversed": { + "entryPoint": null, + "id": null, + "parameterSlots": 2, + "returnSlots": 1 + } + }, + "generatedSources": [ + { + "ast": { + "nodeType": "YulBlock", + "src": "0:540:1", + "statements": [ + { + "nodeType": "YulBlock", + "src": "6:3:1", + "statements": [] + }, + { + "body": { + "nodeType": "YulBlock", + "src": "83:263:1", + "statements": [ + { + "body": { + "nodeType": "YulBlock", + "src": "129:16:1", + "statements": [ + { + "expression": { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "138:1:1", + "type": "", + "value": "0" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "141:1:1", + "type": "", + "value": "0" + } + ], + "functionName": { + "name": "revert", + "nodeType": "YulIdentifier", + "src": "131:6:1" + }, + "nodeType": "YulFunctionCall", + "src": "131:12:1" + }, + "nodeType": "YulExpressionStatement", + "src": "131:12:1" + } + ] + }, + "condition": { + "arguments": [ + { + "arguments": [ + { + "name": "dataEnd", + "nodeType": "YulIdentifier", + "src": "104:7:1" + }, + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "113:9:1" + } + ], + "functionName": { + "name": "sub", + "nodeType": "YulIdentifier", + "src": "100:3:1" + }, + "nodeType": "YulFunctionCall", + "src": "100:23:1" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "125:2:1", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "slt", + "nodeType": "YulIdentifier", + "src": "96:3:1" + }, + "nodeType": "YulFunctionCall", + "src": "96:32:1" + }, + "nodeType": "YulIf", + "src": "93:52:1" + }, + { + "nodeType": "YulVariableDeclaration", + "src": "154:36:1", + "value": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "180:9:1" + } + ], + "functionName": { + "name": "calldataload", + "nodeType": "YulIdentifier", + "src": "167:12:1" + }, + "nodeType": "YulFunctionCall", + "src": "167:23:1" + }, + "variables": [ + { + "name": "value", + "nodeType": "YulTypedName", + "src": "158:5:1", + "type": "" + } + ] + }, + { + "body": { + "nodeType": "YulBlock", + "src": "300:16:1", + "statements": [ + { + "expression": { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "309:1:1", + "type": "", + "value": "0" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "312:1:1", + "type": "", + "value": "0" + } + ], + "functionName": { + "name": "revert", + "nodeType": "YulIdentifier", + "src": "302:6:1" + }, + "nodeType": "YulFunctionCall", + "src": "302:12:1" + }, + "nodeType": "YulExpressionStatement", + "src": "302:12:1" + } + ] + }, + "condition": { + "arguments": [ + { + "arguments": [ + { + "name": "value", + "nodeType": "YulIdentifier", + "src": "212:5:1" + }, + { + "arguments": [ + { + "name": "value", + "nodeType": "YulIdentifier", + "src": "223:5:1" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "230:66:1", + "type": "", + "value": "0xffffffff00000000000000000000000000000000000000000000000000000000" + } + ], + "functionName": { + "name": "and", + "nodeType": "YulIdentifier", + "src": "219:3:1" + }, + "nodeType": "YulFunctionCall", + "src": "219:78:1" + } + ], + "functionName": { + "name": "eq", + "nodeType": "YulIdentifier", + "src": "209:2:1" + }, + "nodeType": "YulFunctionCall", + "src": "209:89:1" + } + ], + "functionName": { + "name": "iszero", + "nodeType": "YulIdentifier", + "src": "202:6:1" + }, + "nodeType": "YulFunctionCall", + "src": "202:97:1" + }, + "nodeType": "YulIf", + "src": "199:117:1" + }, + { + "nodeType": "YulAssignment", + "src": "325:15:1", + "value": { + "name": "value", + "nodeType": "YulIdentifier", + "src": "335:5:1" + }, + "variableNames": [ + { + "name": "value0", + "nodeType": "YulIdentifier", + "src": "325:6:1" + } + ] + } + ] + }, + "name": "abi_decode_tuple_t_bytes4", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "headStart", + "nodeType": "YulTypedName", + "src": "49:9:1", + "type": "" + }, + { + "name": "dataEnd", + "nodeType": "YulTypedName", + "src": "60:7:1", + "type": "" + } + ], + "returnVariables": [ + { + "name": "value0", + "nodeType": "YulTypedName", + "src": "72:6:1", + "type": "" + } + ], + "src": "14:332:1" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "446:92:1", + "statements": [ + { + "nodeType": "YulAssignment", + "src": "456:26:1", + "value": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "468:9:1" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "479:2:1", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "464:3:1" + }, + "nodeType": "YulFunctionCall", + "src": "464:18:1" + }, + "variableNames": [ + { + "name": "tail", + "nodeType": "YulIdentifier", + "src": "456:4:1" + } + ] + }, + { + "expression": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "498:9:1" + }, + { + "arguments": [ + { + "arguments": [ + { + "name": "value0", + "nodeType": "YulIdentifier", + "src": "523:6:1" + } + ], + "functionName": { + "name": "iszero", + "nodeType": "YulIdentifier", + "src": "516:6:1" + }, + "nodeType": "YulFunctionCall", + "src": "516:14:1" + } + ], + "functionName": { + "name": "iszero", + "nodeType": "YulIdentifier", + "src": "509:6:1" + }, + "nodeType": "YulFunctionCall", + "src": "509:22:1" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "491:6:1" + }, + "nodeType": "YulFunctionCall", + "src": "491:41:1" + }, + "nodeType": "YulExpressionStatement", + "src": "491:41:1" + } + ] + }, + "name": "abi_encode_tuple_t_bool__to_t_bool__fromStack_reversed", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "headStart", + "nodeType": "YulTypedName", + "src": "415:9:1", + "type": "" + }, + { + "name": "value0", + "nodeType": "YulTypedName", + "src": "426:6:1", + "type": "" + } + ], + "returnVariables": [ + { + "name": "tail", + "nodeType": "YulTypedName", + "src": "437:4:1", + "type": "" + } + ], + "src": "351:187:1" + } + ] + }, + "contents": "{\n { }\n function abi_decode_tuple_t_bytes4(headStart, dataEnd) -> value0\n {\n if slt(sub(dataEnd, headStart), 32) { revert(0, 0) }\n let value := calldataload(headStart)\n if iszero(eq(value, and(value, 0xffffffff00000000000000000000000000000000000000000000000000000000))) { revert(0, 0) }\n value0 := value\n }\n function abi_encode_tuple_t_bool__to_t_bool__fromStack_reversed(headStart, value0) -> tail\n {\n tail := add(headStart, 32)\n mstore(headStart, iszero(iszero(value0)))\n }\n}", + "id": 1, + "language": "Yul", + "name": "#utility.yul" + } + ], + "immutableReferences": {}, + "linkReferences": {}, + "opcodes": "PUSH1 0x80 PUSH1 0x40 MSTORE CALLVALUE DUP1 ISZERO PUSH2 0x10 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH1 0x4 CALLDATASIZE LT PUSH2 0x177 JUMPI PUSH1 0x0 CALLDATALOAD PUSH1 0xE0 SHR DUP1 PUSH4 0x51B68A4D GT PUSH2 0xD8 JUMPI DUP1 PUSH4 0x9ABF97AA GT PUSH2 0x8C JUMPI DUP1 PUSH4 0xCD0BAE09 GT PUSH2 0x66 JUMPI DUP1 PUSH4 0xCD0BAE09 EQ PUSH2 0x1A4 JUMPI DUP1 PUSH4 0xCF3BBE18 EQ PUSH2 0x1A4 JUMPI DUP1 PUSH4 0xDB32DA15 EQ PUSH2 0x1A4 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP1 PUSH4 0x9ABF97AA EQ PUSH2 0x1A4 JUMPI DUP1 PUSH4 0xB0E8FCC7 EQ PUSH2 0x1A4 JUMPI DUP1 PUSH4 0xCBB835F6 EQ PUSH2 0x1A4 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP1 PUSH4 0x77E9D0D6 GT PUSH2 0xBD JUMPI DUP1 PUSH4 0x77E9D0D6 EQ PUSH2 0x1A4 JUMPI DUP1 PUSH4 0x81B5207D EQ PUSH2 0x1A4 JUMPI DUP1 PUSH4 0x87952D22 EQ PUSH2 0x1A4 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP1 PUSH4 0x51B68A4D EQ PUSH2 0x1A4 JUMPI DUP1 PUSH4 0x71A99D6F EQ PUSH2 0x1A4 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP1 PUSH4 0x24C1D5A7 GT PUSH2 0x12F JUMPI DUP1 PUSH4 0x2CB83248 GT PUSH2 0x114 JUMPI DUP1 PUSH4 0x2CB83248 EQ PUSH2 0x1A4 JUMPI DUP1 PUSH4 0x4484B3B9 EQ PUSH2 0x1A4 JUMPI DUP1 PUSH4 0x50EB3F43 EQ PUSH2 0x1A4 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP1 PUSH4 0x24C1D5A7 EQ PUSH2 0x1A4 JUMPI DUP1 PUSH4 0x292C460D EQ PUSH2 0x1A4 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP1 PUSH4 0x11046047 GT PUSH2 0x160 JUMPI DUP1 PUSH4 0x11046047 EQ PUSH2 0x1A4 JUMPI DUP1 PUSH4 0x19C841AB EQ PUSH2 0x1A4 JUMPI DUP1 PUSH4 0x19E3B533 EQ PUSH2 0x1A4 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP1 PUSH4 0x1FFC9A7 EQ PUSH2 0x17C JUMPI DUP1 PUSH4 0x716C2AE EQ PUSH2 0x1A4 JUMPI JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x190 PUSH2 0x18A CALLDATASIZE PUSH1 0x4 PUSH2 0x1A6 JUMP JUMPDEST POP PUSH1 0x0 SWAP1 JUMP JUMPDEST PUSH1 0x40 MLOAD SWAP1 ISZERO ISZERO DUP2 MSTORE PUSH1 0x20 ADD PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST STOP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x1B8 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP2 CALLDATALOAD PUSH32 0xFFFFFFFF00000000000000000000000000000000000000000000000000000000 DUP2 AND DUP2 EQ PUSH2 0x1E8 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST SWAP4 SWAP3 POP POP POP JUMP INVALID LOG2 PUSH5 0x6970667358 0x22 SLT KECCAK256 DUP10 0xE DUP15 EXTCODEHASH 0xB1 BLOCKHASH GT SIGNEXTEND 0x29 0xF9 0xF SHR PUSH6 0x9A0D23989482 0xEF CALLCODE INVALID 0x1E 0xDE 0xB2 LOG0 EXTCODECOPY PUSH21 0xDE11844B64736F6C63430008090033000000000000 ", + "sourceMap": "57:939:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;915:79;;;;;;:::i;:::-;-1:-1:-1;986:4:0;;915:79;;;;516:14:1;;509:22;491:41;;479:2;464:18;915:79:0;;;;;;;163:33;;14:332:1;72:6;125:2;113:9;104:7;100:23;96:32;93:52;;;141:1;138;131:12;93:52;180:9;167:23;230:66;223:5;219:78;212:5;209:89;199:117;;312:1;309;302:12;199:117;335:5;14:332;-1:-1:-1;;;14:332:1:o" + }, + "gasEstimates": { + "creation": { + "codeDepositCost": "109800", + "executionCost": "159", + "totalCost": "109959" + }, + "external": { + "supportsInterface(bytes4)": "349", + "test1Func1()": "210", + "test1Func10()": "209", + "test1Func11()": "209", + "test1Func12()": "187", + "test1Func13()": "188", + "test1Func14()": "166", + "test1Func15()": "165", + "test1Func16()": "165", + "test1Func17()": "187", + "test1Func18()": "165", + "test1Func19()": "188", + "test1Func2()": "189", + "test1Func20()": "187", + "test1Func3()": "166", + "test1Func4()": "186", + "test1Func5()": "166", + "test1Func6()": "209", + "test1Func7()": "188", + "test1Func8()": "208", + "test1Func9()": "164" + } + }, + "methodIdentifiers": { + "supportsInterface(bytes4)": "01ffc9a7", + "test1Func1()": "19e3b533", + "test1Func10()": "87952d22", + "test1Func11()": "50eb3f43", + "test1Func12()": "81b5207d", + "test1Func13()": "19c841ab", + "test1Func14()": "51b68a4d", + "test1Func15()": "2cb83248", + "test1Func16()": "77e9d0d6", + "test1Func17()": "4484b3b9", + "test1Func18()": "9abf97aa", + "test1Func19()": "292c460d", + "test1Func2()": "0716c2ae", + "test1Func20()": "b0e8fcc7", + "test1Func3()": "11046047", + "test1Func4()": "cf3bbe18", + "test1Func5()": "24c1d5a7", + "test1Func6()": "cbb835f6", + "test1Func7()": "71a99d6f", + "test1Func8()": "db32da15", + "test1Func9()": "cd0bae09" + } + }, + "metadata": "{\"compiler\":{\"version\":\"0.8.9+commit.e5eed63a\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"something\",\"type\":\"address\"}],\"name\":\"TestEvent\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"bytes4\",\"name\":\"_interfaceID\",\"type\":\"bytes4\"}],\"name\":\"supportsInterface\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"test1Func1\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"test1Func10\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"test1Func11\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"test1Func12\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"test1Func13\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"test1Func14\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"test1Func15\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"test1Func16\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"test1Func17\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"test1Func18\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"test1Func19\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"test1Func2\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"test1Func20\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"test1Func3\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"test1Func4\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"test1Func5\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"test1Func6\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"test1Func7\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"test1Func8\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"test1Func9\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"solc_0.8/diamond/facets/Test1Facet.sol\":\"Test1Facet\"},\"evmVersion\":\"london\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\",\"useLiteralContent\":true},\"optimizer\":{\"enabled\":true,\"runs\":999999},\"remappings\":[]},\"sources\":{\"solc_0.8/diamond/facets/Test1Facet.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.0;\\n\\ncontract Test1Facet {\\n event TestEvent(address something);\\n\\n function test1Func1() external {}\\n\\n function test1Func2() external {}\\n\\n function test1Func3() external {}\\n\\n function test1Func4() external {}\\n\\n function test1Func5() external {}\\n\\n function test1Func6() external {}\\n\\n function test1Func7() external {}\\n\\n function test1Func8() external {}\\n\\n function test1Func9() external {}\\n\\n function test1Func10() external {}\\n\\n function test1Func11() external {}\\n\\n function test1Func12() external {}\\n\\n function test1Func13() external {}\\n\\n function test1Func14() external {}\\n\\n function test1Func15() external {}\\n\\n function test1Func16() external {}\\n\\n function test1Func17() external {}\\n\\n function test1Func18() external {}\\n\\n function test1Func19() external {}\\n\\n function test1Func20() external {}\\n\\n function supportsInterface(bytes4 _interfaceID) external view returns (bool) {}\\n}\\n\",\"keccak256\":\"0xf3f45c4394e8574c631d3ae46541d1df316a1bd8b2e24fef23a1e40ed3c3a2fe\",\"license\":\"MIT\"}},\"version\":1}", + "storageLayout": { + "storage": [], + "types": null + }, + "userdoc": { + "kind": "user", + "methods": {}, + "version": 1 + }, + "solcInput": "{\n \"language\": \"Solidity\",\n \"sources\": {\n \"solc_0.8/diamond/facets/Test1Facet.sol\": {\n \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.0;\\n\\ncontract Test1Facet {\\n event TestEvent(address something);\\n\\n function test1Func1() external {}\\n\\n function test1Func2() external {}\\n\\n function test1Func3() external {}\\n\\n function test1Func4() external {}\\n\\n function test1Func5() external {}\\n\\n function test1Func6() external {}\\n\\n function test1Func7() external {}\\n\\n function test1Func8() external {}\\n\\n function test1Func9() external {}\\n\\n function test1Func10() external {}\\n\\n function test1Func11() external {}\\n\\n function test1Func12() external {}\\n\\n function test1Func13() external {}\\n\\n function test1Func14() external {}\\n\\n function test1Func15() external {}\\n\\n function test1Func16() external {}\\n\\n function test1Func17() external {}\\n\\n function test1Func18() external {}\\n\\n function test1Func19() external {}\\n\\n function test1Func20() external {}\\n\\n function supportsInterface(bytes4 _interfaceID) external view returns (bool) {}\\n}\\n\"\n }\n },\n \"settings\": {\n \"optimizer\": {\n \"enabled\": true,\n \"runs\": 999999\n },\n \"outputSelection\": {\n \"*\": {\n \"*\": [\n \"abi\",\n \"evm.bytecode\",\n \"evm.deployedBytecode\",\n \"evm.methodIdentifiers\",\n \"metadata\",\n \"devdoc\",\n \"userdoc\",\n \"storageLayout\",\n \"evm.gasEstimates\"\n ],\n \"\": [\n \"ast\"\n ]\n }\n },\n \"metadata\": {\n \"useLiteralContent\": true\n }\n }\n}", + "solcInputHash": "406fb70f8529802d39492a292955dfd4" +} \ No newline at end of file diff --git a/extendedArtifacts/Test2Facet.json b/extendedArtifacts/Test2Facet.json new file mode 100644 index 00000000..34d9eab6 --- /dev/null +++ b/extendedArtifacts/Test2Facet.json @@ -0,0 +1,356 @@ +{ + "contractName": "Test2Facet", + "sourceName": "solc_0.8/diamond/facets/Test2Facet.sol", + "abi": [ + { + "inputs": [], + "name": "test2Func1", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [], + "name": "test2Func10", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [], + "name": "test2Func11", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [], + "name": "test2Func12", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [], + "name": "test2Func13", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [], + "name": "test2Func14", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [], + "name": "test2Func15", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [], + "name": "test2Func16", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [], + "name": "test2Func17", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [], + "name": "test2Func18", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [], + "name": "test2Func19", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [], + "name": "test2Func2", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [], + "name": "test2Func20", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [], + "name": "test2Func3", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [], + "name": "test2Func4", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [], + "name": "test2Func5", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [], + "name": "test2Func6", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [], + "name": "test2Func7", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [], + "name": "test2Func8", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [], + "name": "test2Func9", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + } + ], + "bytecode": "0x608060405234801561001057600080fd5b506101a9806100206000396000f3fe608060405234801561001057600080fd5b506004361061016c5760003560e01c80638ee8be30116100cd578063d2f0c73e11610081578063e7de23a411610066578063e7de23a414610171578063ea36b55814610171578063ef3f4d781461017157600080fd5b8063d2f0c73e14610171578063e5f687b21461017157600080fd5b8063c670641d116100b2578063c670641d14610171578063ca5fa5c014610171578063caae8f231461017157600080fd5b80638ee8be301461017157806391d0396b1461017157600080fd5b80632e463958116101245780636dc16b01116101095780636dc16b0114610171578063792a8e2e14610171578063884280a61461017157600080fd5b80632e463958146101715780635fd6312b1461017157600080fd5b80630e4cd7fc116101555780630e4cd7fc14610171578063148843091461017157806317fd06e71461017157600080fd5b806303feeeae146101715780630c103a9314610171575b600080fd5b00fea2646970667358221220ebd0b06a32c7dee1820ff2aa3a7f70ffe06f370cfb837e448cf3fae2f09dcc8064736f6c63430008090033", + "deployedBytecode": "0x608060405234801561001057600080fd5b506004361061016c5760003560e01c80638ee8be30116100cd578063d2f0c73e11610081578063e7de23a411610066578063e7de23a414610171578063ea36b55814610171578063ef3f4d781461017157600080fd5b8063d2f0c73e14610171578063e5f687b21461017157600080fd5b8063c670641d116100b2578063c670641d14610171578063ca5fa5c014610171578063caae8f231461017157600080fd5b80638ee8be301461017157806391d0396b1461017157600080fd5b80632e463958116101245780636dc16b01116101095780636dc16b0114610171578063792a8e2e14610171578063884280a61461017157600080fd5b80632e463958146101715780635fd6312b1461017157600080fd5b80630e4cd7fc116101555780630e4cd7fc14610171578063148843091461017157806317fd06e71461017157600080fd5b806303feeeae146101715780630c103a9314610171575b600080fd5b00fea2646970667358221220ebd0b06a32c7dee1820ff2aa3a7f70ffe06f370cfb837e448cf3fae2f09dcc8064736f6c63430008090033", + "linkReferences": {}, + "deployedLinkReferences": {}, + "devdoc": { + "kind": "dev", + "methods": {}, + "version": 1 + }, + "evm": { + "bytecode": { + "functionDebugData": {}, + "generatedSources": [], + "linkReferences": {}, + "opcodes": "PUSH1 0x80 PUSH1 0x40 MSTORE CALLVALUE DUP1 ISZERO PUSH2 0x10 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH2 0x1A9 DUP1 PUSH2 0x20 PUSH1 0x0 CODECOPY PUSH1 0x0 RETURN INVALID PUSH1 0x80 PUSH1 0x40 MSTORE CALLVALUE DUP1 ISZERO PUSH2 0x10 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH1 0x4 CALLDATASIZE LT PUSH2 0x16C JUMPI PUSH1 0x0 CALLDATALOAD PUSH1 0xE0 SHR DUP1 PUSH4 0x8EE8BE30 GT PUSH2 0xCD JUMPI DUP1 PUSH4 0xD2F0C73E GT PUSH2 0x81 JUMPI DUP1 PUSH4 0xE7DE23A4 GT PUSH2 0x66 JUMPI DUP1 PUSH4 0xE7DE23A4 EQ PUSH2 0x171 JUMPI DUP1 PUSH4 0xEA36B558 EQ PUSH2 0x171 JUMPI DUP1 PUSH4 0xEF3F4D78 EQ PUSH2 0x171 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP1 PUSH4 0xD2F0C73E EQ PUSH2 0x171 JUMPI DUP1 PUSH4 0xE5F687B2 EQ PUSH2 0x171 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP1 PUSH4 0xC670641D GT PUSH2 0xB2 JUMPI DUP1 PUSH4 0xC670641D EQ PUSH2 0x171 JUMPI DUP1 PUSH4 0xCA5FA5C0 EQ PUSH2 0x171 JUMPI DUP1 PUSH4 0xCAAE8F23 EQ PUSH2 0x171 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP1 PUSH4 0x8EE8BE30 EQ PUSH2 0x171 JUMPI DUP1 PUSH4 0x91D0396B EQ PUSH2 0x171 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP1 PUSH4 0x2E463958 GT PUSH2 0x124 JUMPI DUP1 PUSH4 0x6DC16B01 GT PUSH2 0x109 JUMPI DUP1 PUSH4 0x6DC16B01 EQ PUSH2 0x171 JUMPI DUP1 PUSH4 0x792A8E2E EQ PUSH2 0x171 JUMPI DUP1 PUSH4 0x884280A6 EQ PUSH2 0x171 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP1 PUSH4 0x2E463958 EQ PUSH2 0x171 JUMPI DUP1 PUSH4 0x5FD6312B EQ PUSH2 0x171 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP1 PUSH4 0xE4CD7FC GT PUSH2 0x155 JUMPI DUP1 PUSH4 0xE4CD7FC EQ PUSH2 0x171 JUMPI DUP1 PUSH4 0x14884309 EQ PUSH2 0x171 JUMPI DUP1 PUSH4 0x17FD06E7 EQ PUSH2 0x171 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP1 PUSH4 0x3FEEEAE EQ PUSH2 0x171 JUMPI DUP1 PUSH4 0xC103A93 EQ PUSH2 0x171 JUMPI JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST STOP INVALID LOG2 PUSH5 0x6970667358 0x22 SLT KECCAK256 0xEB 0xD0 0xB0 PUSH11 0x32C7DEE1820FF2AA3A7F70 SELFDESTRUCT 0xE0 PUSH16 0x370CFB837E448CF3FAE2F09DCC806473 PUSH16 0x6C634300080900330000000000000000 ", + "sourceMap": "57:813:0:-:0;;;;;;;;;;;;;;;;;;;" + }, + "deployedBytecode": { + "functionDebugData": { + "@test2Func10_41": { + "entryPoint": null, + "id": 41, + "parameterSlots": 0, + "returnSlots": 0 + }, + "@test2Func11_45": { + "entryPoint": null, + "id": 45, + "parameterSlots": 0, + "returnSlots": 0 + }, + "@test2Func12_49": { + "entryPoint": null, + "id": 49, + "parameterSlots": 0, + "returnSlots": 0 + }, + "@test2Func13_53": { + "entryPoint": null, + "id": 53, + "parameterSlots": 0, + "returnSlots": 0 + }, + "@test2Func14_57": { + "entryPoint": null, + "id": 57, + "parameterSlots": 0, + "returnSlots": 0 + }, + "@test2Func15_61": { + "entryPoint": null, + "id": 61, + "parameterSlots": 0, + "returnSlots": 0 + }, + "@test2Func16_65": { + "entryPoint": null, + "id": 65, + "parameterSlots": 0, + "returnSlots": 0 + }, + "@test2Func17_69": { + "entryPoint": null, + "id": 69, + "parameterSlots": 0, + "returnSlots": 0 + }, + "@test2Func18_73": { + "entryPoint": null, + "id": 73, + "parameterSlots": 0, + "returnSlots": 0 + }, + "@test2Func19_77": { + "entryPoint": null, + "id": 77, + "parameterSlots": 0, + "returnSlots": 0 + }, + "@test2Func1_5": { + "entryPoint": null, + "id": 5, + "parameterSlots": 0, + "returnSlots": 0 + }, + "@test2Func20_81": { + "entryPoint": null, + "id": 81, + "parameterSlots": 0, + "returnSlots": 0 + }, + "@test2Func2_9": { + "entryPoint": null, + "id": 9, + "parameterSlots": 0, + "returnSlots": 0 + }, + "@test2Func3_13": { + "entryPoint": null, + "id": 13, + "parameterSlots": 0, + "returnSlots": 0 + }, + "@test2Func4_17": { + "entryPoint": null, + "id": 17, + "parameterSlots": 0, + "returnSlots": 0 + }, + "@test2Func5_21": { + "entryPoint": null, + "id": 21, + "parameterSlots": 0, + "returnSlots": 0 + }, + "@test2Func6_25": { + "entryPoint": null, + "id": 25, + "parameterSlots": 0, + "returnSlots": 0 + }, + "@test2Func7_29": { + "entryPoint": null, + "id": 29, + "parameterSlots": 0, + "returnSlots": 0 + }, + "@test2Func8_33": { + "entryPoint": null, + "id": 33, + "parameterSlots": 0, + "returnSlots": 0 + }, + "@test2Func9_37": { + "entryPoint": null, + "id": 37, + "parameterSlots": 0, + "returnSlots": 0 + } + }, + "generatedSources": [], + "immutableReferences": {}, + "linkReferences": {}, + "opcodes": "PUSH1 0x80 PUSH1 0x40 MSTORE CALLVALUE DUP1 ISZERO PUSH2 0x10 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH1 0x4 CALLDATASIZE LT PUSH2 0x16C JUMPI PUSH1 0x0 CALLDATALOAD PUSH1 0xE0 SHR DUP1 PUSH4 0x8EE8BE30 GT PUSH2 0xCD JUMPI DUP1 PUSH4 0xD2F0C73E GT PUSH2 0x81 JUMPI DUP1 PUSH4 0xE7DE23A4 GT PUSH2 0x66 JUMPI DUP1 PUSH4 0xE7DE23A4 EQ PUSH2 0x171 JUMPI DUP1 PUSH4 0xEA36B558 EQ PUSH2 0x171 JUMPI DUP1 PUSH4 0xEF3F4D78 EQ PUSH2 0x171 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP1 PUSH4 0xD2F0C73E EQ PUSH2 0x171 JUMPI DUP1 PUSH4 0xE5F687B2 EQ PUSH2 0x171 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP1 PUSH4 0xC670641D GT PUSH2 0xB2 JUMPI DUP1 PUSH4 0xC670641D EQ PUSH2 0x171 JUMPI DUP1 PUSH4 0xCA5FA5C0 EQ PUSH2 0x171 JUMPI DUP1 PUSH4 0xCAAE8F23 EQ PUSH2 0x171 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP1 PUSH4 0x8EE8BE30 EQ PUSH2 0x171 JUMPI DUP1 PUSH4 0x91D0396B EQ PUSH2 0x171 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP1 PUSH4 0x2E463958 GT PUSH2 0x124 JUMPI DUP1 PUSH4 0x6DC16B01 GT PUSH2 0x109 JUMPI DUP1 PUSH4 0x6DC16B01 EQ PUSH2 0x171 JUMPI DUP1 PUSH4 0x792A8E2E EQ PUSH2 0x171 JUMPI DUP1 PUSH4 0x884280A6 EQ PUSH2 0x171 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP1 PUSH4 0x2E463958 EQ PUSH2 0x171 JUMPI DUP1 PUSH4 0x5FD6312B EQ PUSH2 0x171 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP1 PUSH4 0xE4CD7FC GT PUSH2 0x155 JUMPI DUP1 PUSH4 0xE4CD7FC EQ PUSH2 0x171 JUMPI DUP1 PUSH4 0x14884309 EQ PUSH2 0x171 JUMPI DUP1 PUSH4 0x17FD06E7 EQ PUSH2 0x171 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP1 PUSH4 0x3FEEEAE EQ PUSH2 0x171 JUMPI DUP1 PUSH4 0xC103A93 EQ PUSH2 0x171 JUMPI JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST STOP INVALID LOG2 PUSH5 0x6970667358 0x22 SLT KECCAK256 0xEB 0xD0 0xB0 PUSH11 0x32C7DEE1820FF2AA3A7F70 SELFDESTRUCT 0xE0 PUSH16 0x370CFB837E448CF3FAE2F09DCC806473 PUSH16 0x6C634300080900330000000000000000 ", + "sourceMap": "57:813:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;634:34;" + }, + "gasEstimates": { + "creation": { + "codeDepositCost": "85000", + "executionCost": "135", + "totalCost": "85135" + }, + "external": { + "test2Func1()": "186", + "test2Func10()": "166", + "test2Func11()": "209", + "test2Func12()": "187", + "test2Func13()": "165", + "test2Func14()": "188", + "test2Func15()": "167", + "test2Func16()": "166", + "test2Func17()": "188", + "test2Func18()": "189", + "test2Func19()": "188", + "test2Func2()": "164", + "test2Func20()": "187", + "test2Func3()": "166", + "test2Func4()": "165", + "test2Func5()": "165", + "test2Func6()": "210", + "test2Func7()": "208", + "test2Func8()": "187", + "test2Func9()": "209" + } + }, + "methodIdentifiers": { + "test2Func1()": "ea36b558", + "test2Func10()": "8ee8be30", + "test2Func11()": "884280a6", + "test2Func12()": "ca5fa5c0", + "test2Func13()": "6dc16b01", + "test2Func14()": "91d0396b", + "test2Func15()": "03feeeae", + "test2Func16()": "2e463958", + "test2Func17()": "14884309", + "test2Func18()": "0c103a93", + "test2Func19()": "5fd6312b", + "test2Func2()": "e7de23a4", + "test2Func20()": "792a8e2e", + "test2Func3()": "0e4cd7fc", + "test2Func4()": "c670641d", + "test2Func5()": "d2f0c73e", + "test2Func6()": "17fd06e7", + "test2Func7()": "ef3f4d78", + "test2Func8()": "e5f687b2", + "test2Func9()": "caae8f23" + } + }, + "metadata": "{\"compiler\":{\"version\":\"0.8.9+commit.e5eed63a\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[],\"name\":\"test2Func1\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"test2Func10\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"test2Func11\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"test2Func12\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"test2Func13\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"test2Func14\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"test2Func15\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"test2Func16\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"test2Func17\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"test2Func18\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"test2Func19\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"test2Func2\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"test2Func20\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"test2Func3\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"test2Func4\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"test2Func5\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"test2Func6\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"test2Func7\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"test2Func8\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"test2Func9\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"solc_0.8/diamond/facets/Test2Facet.sol\":\"Test2Facet\"},\"evmVersion\":\"london\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\",\"useLiteralContent\":true},\"optimizer\":{\"enabled\":true,\"runs\":999999},\"remappings\":[]},\"sources\":{\"solc_0.8/diamond/facets/Test2Facet.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.0;\\n\\ncontract Test2Facet {\\n function test2Func1() external {}\\n\\n function test2Func2() external {}\\n\\n function test2Func3() external {}\\n\\n function test2Func4() external {}\\n\\n function test2Func5() external {}\\n\\n function test2Func6() external {}\\n\\n function test2Func7() external {}\\n\\n function test2Func8() external {}\\n\\n function test2Func9() external {}\\n\\n function test2Func10() external {}\\n\\n function test2Func11() external {}\\n\\n function test2Func12() external {}\\n\\n function test2Func13() external {}\\n\\n function test2Func14() external {}\\n\\n function test2Func15() external {}\\n\\n function test2Func16() external {}\\n\\n function test2Func17() external {}\\n\\n function test2Func18() external {}\\n\\n function test2Func19() external {}\\n\\n function test2Func20() external {}\\n}\\n\",\"keccak256\":\"0x014d2432bdcb6028294e232c51878e2741eeab90ab6db609932df5d6e2bb7c65\",\"license\":\"MIT\"}},\"version\":1}", + "storageLayout": { + "storage": [], + "types": null + }, + "userdoc": { + "kind": "user", + "methods": {}, + "version": 1 + }, + "solcInput": "{\n \"language\": \"Solidity\",\n \"sources\": {\n \"solc_0.8/diamond/facets/Test2Facet.sol\": {\n \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.0;\\n\\ncontract Test2Facet {\\n function test2Func1() external {}\\n\\n function test2Func2() external {}\\n\\n function test2Func3() external {}\\n\\n function test2Func4() external {}\\n\\n function test2Func5() external {}\\n\\n function test2Func6() external {}\\n\\n function test2Func7() external {}\\n\\n function test2Func8() external {}\\n\\n function test2Func9() external {}\\n\\n function test2Func10() external {}\\n\\n function test2Func11() external {}\\n\\n function test2Func12() external {}\\n\\n function test2Func13() external {}\\n\\n function test2Func14() external {}\\n\\n function test2Func15() external {}\\n\\n function test2Func16() external {}\\n\\n function test2Func17() external {}\\n\\n function test2Func18() external {}\\n\\n function test2Func19() external {}\\n\\n function test2Func20() external {}\\n}\\n\"\n }\n },\n \"settings\": {\n \"optimizer\": {\n \"enabled\": true,\n \"runs\": 999999\n },\n \"outputSelection\": {\n \"*\": {\n \"*\": [\n \"abi\",\n \"evm.bytecode\",\n \"evm.deployedBytecode\",\n \"evm.methodIdentifiers\",\n \"metadata\",\n \"devdoc\",\n \"userdoc\",\n \"storageLayout\",\n \"evm.gasEstimates\"\n ],\n \"\": [\n \"ast\"\n ]\n }\n },\n \"metadata\": {\n \"useLiteralContent\": true\n }\n }\n}", + "solcInputHash": "5028437bacdd3c5bc871986e5ae5a3ec" +} \ No newline at end of file diff --git a/hardhat.config.ts b/hardhat.config.ts index 729af2a9..fcbee70c 100644 --- a/hardhat.config.ts +++ b/hardhat.config.ts @@ -117,7 +117,7 @@ task(TASK_COMPILE).setAction(async (args, hre, runSuper) => { const config: HardhatUserConfig = { solidity: { - version: '0.7.6', + version: '0.8.9', settings: { optimizer: { enabled: true, @@ -126,7 +126,7 @@ const config: HardhatUserConfig = { }, }, paths: { - sources: 'solc_0.7', + sources: 'solc_0.8', }, }; diff --git a/package.json b/package.json index b273920e..c07df673 100644 --- a/package.json +++ b/package.json @@ -47,7 +47,7 @@ "dotenv": "^10.0.0", "eslint": "^7.32.0", "eslint-config-prettier": "^8.3.0", - "hardhat": "^2.6.1", + "hardhat": "^2.6.8", "mocha": "^9.1.0", "prettier": "^2.3.2", "prettier-plugin-solidity": "^1.0.0-beta.17", diff --git a/solc_0.8/diamond/Diamantaire.sol b/solc_0.8/diamond/Diamantaire.sol new file mode 100644 index 00000000..b1d55ad4 --- /dev/null +++ b/solc_0.8/diamond/Diamantaire.sol @@ -0,0 +1,86 @@ +// SPDX-License-Identifier: MIT +pragma solidity ^0.8.0; +pragma experimental ABIEncoderV2; + +import "./interfaces/IDiamondCut.sol"; +import "./Diamond.sol"; +import "./facets/DiamondCutFacet.sol"; +import "./facets/DiamondLoupeFacet.sol"; +import "./facets/OwnershipFacet.sol"; + +contract Diamantaire { + event DiamondCreated(Diamond diamond); + + IDiamondCut.FacetCut[] internal _builtinDiamondCut; + + constructor() { + bytes4[] memory functionSelectors; + + // ------------------------------------------------------------------------- + // adding diamondCut function + // ------------------------------------------------------------------------- + DiamondCutFacet diamondCutFacet = new DiamondCutFacet(); + + functionSelectors = new bytes4[](1); + functionSelectors[0] = DiamondCutFacet.diamondCut.selector; + _builtinDiamondCut.push(IDiamondCut.FacetCut({ + facetAddress:address(diamondCutFacet), + action: IDiamondCut.FacetCutAction.Add, + functionSelectors: functionSelectors + })); + + + // ------------------------------------------------------------------------- + // adding diamond loupe functions + // ------------------------------------------------------------------------- + DiamondLoupeFacet diamondLoupeFacet = new DiamondLoupeFacet(); + + functionSelectors = new bytes4[](5); + functionSelectors[0] = DiamondLoupeFacet.facetFunctionSelectors.selector; + functionSelectors[1] = DiamondLoupeFacet.facets.selector; + functionSelectors[2] = DiamondLoupeFacet.facetAddress.selector; + functionSelectors[3] = DiamondLoupeFacet.facetAddresses.selector; + functionSelectors[4] = DiamondLoupeFacet.supportsInterface.selector; + _builtinDiamondCut.push(IDiamondCut.FacetCut({ + facetAddress:address(diamondLoupeFacet), + action: IDiamondCut.FacetCutAction.Add, + functionSelectors: functionSelectors + })); + + + // ------------------------------------------------------------------------- + // adding ownership functions + // ------------------------------------------------------------------------- + OwnershipFacet ownershipFacet = new OwnershipFacet(); + + functionSelectors = new bytes4[](2); + functionSelectors[0] = OwnershipFacet.transferOwnership.selector; + functionSelectors[1] = OwnershipFacet.owner.selector; + _builtinDiamondCut.push(IDiamondCut.FacetCut({ + facetAddress:address(ownershipFacet), + action: IDiamondCut.FacetCutAction.Add, + functionSelectors: functionSelectors + })); + } + + function createDiamond( + address owner, + IDiamondCut.FacetCut[] calldata _diamondCut, + bytes calldata data, + bytes32 salt + ) external payable returns (Diamond diamond) { + if (salt != 0x0000000000000000000000000000000000000000000000000000000000000000) { + salt = keccak256(abi.encodePacked(salt, owner)); + diamond = new Diamond{value: msg.value, salt: salt}( + _builtinDiamondCut, + Diamond.DiamondArgs({owner:address(this)}) + ); + } else { + diamond = new Diamond{value: msg.value}(_builtinDiamondCut, Diamond.DiamondArgs({owner:address(this)})); + } + emit DiamondCreated(diamond); + + IDiamondCut(address(diamond)).diamondCut(_diamondCut, data.length > 0 ? address(diamond) : address(0), data); + IERC173(address(diamond)).transferOwnership(owner); + } +} diff --git a/solc_0.8/diamond/Diamond.sol b/solc_0.8/diamond/Diamond.sol new file mode 100644 index 00000000..27a112d8 --- /dev/null +++ b/solc_0.8/diamond/Diamond.sol @@ -0,0 +1,69 @@ +// SPDX-License-Identifier: MIT +pragma solidity ^0.8.0; + +/******************************************************************************\ +* Author: Nick Mudge (https://twitter.com/mudgen) +* EIP-2535 Diamonds: https://eips.ethereum.org/EIPS/eip-2535 +* +* Implementation of a diamond. +/******************************************************************************/ + +import { LibDiamond } from "./libraries/LibDiamond.sol"; +import { IDiamondCut } from "./interfaces/IDiamondCut.sol"; +import { IDiamondLoupe } from "./interfaces/IDiamondLoupe.sol"; +import { IERC173 } from "./interfaces/IERC173.sol"; +import { IERC165 } from "./interfaces/IERC165.sol"; + +contract Diamond { + // more arguments are added to this struct + // this avoids stack too deep errors + struct DiamondArgs { + address owner; + } + + constructor(IDiamondCut.FacetCut[] memory _diamondCut, DiamondArgs memory _args) payable { + LibDiamond.diamondCut(_diamondCut, address(0), new bytes(0)); + LibDiamond.setContractOwner(_args.owner); + + LibDiamond.DiamondStorage storage ds = LibDiamond.diamondStorage(); + + // adding ERC165 data + ds.supportedInterfaces[type(IERC165).interfaceId] = true; + ds.supportedInterfaces[type(IDiamondCut).interfaceId] = true; + ds.supportedInterfaces[type(IDiamondLoupe).interfaceId] = true; + ds.supportedInterfaces[type(IERC173).interfaceId] = true; + } + + // Find facet for function that is called and execute the + // function if a facet is found and return any value. + fallback() external payable { + LibDiamond.DiamondStorage storage ds; + bytes32 position = LibDiamond.DIAMOND_STORAGE_POSITION; + // get diamond storage + assembly { + ds.slot := position + } + // get facet from function selector + address facet = ds.selectorToFacetAndPosition[msg.sig].facetAddress; + require(facet != address(0), "Diamond: Function does not exist"); + // Execute external function from facet using delegatecall and return any value. + assembly { + // copy function selector and any arguments + calldatacopy(0, 0, calldatasize()) + // execute function call using the facet + let result := delegatecall(gas(), facet, 0, calldatasize(), 0, 0) + // get any return value + returndatacopy(0, 0, returndatasize()) + // return any return value or error back to the caller + switch result + case 0 { + revert(0, returndatasize()) + } + default { + return(0, returndatasize()) + } + } + } + + receive() external payable {} +} diff --git a/solc_0.8/diamond/facets/DiamondCutFacet.sol b/solc_0.8/diamond/facets/DiamondCutFacet.sol new file mode 100644 index 00000000..bc0a69a9 --- /dev/null +++ b/solc_0.8/diamond/facets/DiamondCutFacet.sol @@ -0,0 +1,27 @@ +// SPDX-License-Identifier: MIT +pragma solidity ^0.8.0; + +/******************************************************************************\ +* Author: Nick Mudge (https://twitter.com/mudgen) +* EIP-2535 Diamonds: https://eips.ethereum.org/EIPS/eip-2535 +/******************************************************************************/ + +import { IDiamondCut } from "../interfaces/IDiamondCut.sol"; +import { LibDiamond } from "../libraries/LibDiamond.sol"; + +contract DiamondCutFacet is IDiamondCut { + /// @notice Add/replace/remove any number of functions and optionally execute + /// a function with delegatecall + /// @param _diamondCut Contains the facet addresses and function selectors + /// @param _init The address of the contract or facet to execute _calldata + /// @param _calldata A function call, including function selector and arguments + /// _calldata is executed with delegatecall on _init + function diamondCut( + FacetCut[] calldata _diamondCut, + address _init, + bytes calldata _calldata + ) external override { + LibDiamond.enforceIsContractOwner(); + LibDiamond.diamondCut(_diamondCut, _init, _calldata); + } +} diff --git a/solc_0.8/diamond/facets/DiamondLoupeFacet.sol b/solc_0.8/diamond/facets/DiamondLoupeFacet.sol new file mode 100644 index 00000000..7bd9ce52 --- /dev/null +++ b/solc_0.8/diamond/facets/DiamondLoupeFacet.sol @@ -0,0 +1,64 @@ +// SPDX-License-Identifier: MIT +pragma solidity ^0.8.0; +/******************************************************************************\ +* Author: Nick Mudge (https://twitter.com/mudgen) +* EIP-2535 Diamonds: https://eips.ethereum.org/EIPS/eip-2535 +/******************************************************************************/ + +import { LibDiamond } from "../libraries/LibDiamond.sol"; +import { IDiamondLoupe } from "../interfaces/IDiamondLoupe.sol"; +import { IERC165 } from "../interfaces/IERC165.sol"; + +contract DiamondLoupeFacet is IDiamondLoupe, IERC165 { + // Diamond Loupe Functions + //////////////////////////////////////////////////////////////////// + /// These functions are expected to be called frequently by tools. + // + // struct Facet { + // address facetAddress; + // bytes4[] functionSelectors; + // } + + /// @notice Gets all facets and their selectors. + /// @return facets_ Facet + function facets() external override view returns (Facet[] memory facets_) { + LibDiamond.DiamondStorage storage ds = LibDiamond.diamondStorage(); + uint256 numFacets = ds.facetAddresses.length; + facets_ = new Facet[](numFacets); + for (uint256 i; i < numFacets; i++) { + address facetAddress_ = ds.facetAddresses[i]; + facets_[i].facetAddress = facetAddress_; + facets_[i].functionSelectors = ds.facetFunctionSelectors[facetAddress_].functionSelectors; + } + } + + /// @notice Gets all the function selectors provided by a facet. + /// @param _facet The facet address. + /// @return facetFunctionSelectors_ + function facetFunctionSelectors(address _facet) external override view returns (bytes4[] memory facetFunctionSelectors_) { + LibDiamond.DiamondStorage storage ds = LibDiamond.diamondStorage(); + facetFunctionSelectors_ = ds.facetFunctionSelectors[_facet].functionSelectors; + } + + /// @notice Get all the facet addresses used by a diamond. + /// @return facetAddresses_ + function facetAddresses() external override view returns (address[] memory facetAddresses_) { + LibDiamond.DiamondStorage storage ds = LibDiamond.diamondStorage(); + facetAddresses_ = ds.facetAddresses; + } + + /// @notice Gets the facet that supports the given selector. + /// @dev If facet is not found return address(0). + /// @param _functionSelector The function selector. + /// @return facetAddress_ The facet address. + function facetAddress(bytes4 _functionSelector) external override view returns (address facetAddress_) { + LibDiamond.DiamondStorage storage ds = LibDiamond.diamondStorage(); + facetAddress_ = ds.selectorToFacetAndPosition[_functionSelector].facetAddress; + } + + // This implements ERC-165. + function supportsInterface(bytes4 _interfaceId) external override view returns (bool) { + LibDiamond.DiamondStorage storage ds = LibDiamond.diamondStorage(); + return ds.supportedInterfaces[_interfaceId]; + } +} diff --git a/solc_0.8/diamond/facets/OwnershipFacet.sol b/solc_0.8/diamond/facets/OwnershipFacet.sol new file mode 100644 index 00000000..45cba09b --- /dev/null +++ b/solc_0.8/diamond/facets/OwnershipFacet.sol @@ -0,0 +1,16 @@ +// SPDX-License-Identifier: MIT +pragma solidity ^0.8.0; + +import { LibDiamond } from "../libraries/LibDiamond.sol"; +import { IERC173 } from "../interfaces/IERC173.sol"; + +contract OwnershipFacet is IERC173 { + function transferOwnership(address _newOwner) external override { + LibDiamond.enforceIsContractOwner(); + LibDiamond.setContractOwner(_newOwner); + } + + function owner() external override view returns (address owner_) { + owner_ = LibDiamond.contractOwner(); + } +} diff --git a/solc_0.8/diamond/facets/Test1Facet.sol b/solc_0.8/diamond/facets/Test1Facet.sol new file mode 100644 index 00000000..3e7f5c65 --- /dev/null +++ b/solc_0.8/diamond/facets/Test1Facet.sol @@ -0,0 +1,48 @@ +// SPDX-License-Identifier: MIT +pragma solidity ^0.8.0; + +contract Test1Facet { + event TestEvent(address something); + + function test1Func1() external {} + + function test1Func2() external {} + + function test1Func3() external {} + + function test1Func4() external {} + + function test1Func5() external {} + + function test1Func6() external {} + + function test1Func7() external {} + + function test1Func8() external {} + + function test1Func9() external {} + + function test1Func10() external {} + + function test1Func11() external {} + + function test1Func12() external {} + + function test1Func13() external {} + + function test1Func14() external {} + + function test1Func15() external {} + + function test1Func16() external {} + + function test1Func17() external {} + + function test1Func18() external {} + + function test1Func19() external {} + + function test1Func20() external {} + + function supportsInterface(bytes4 _interfaceID) external view returns (bool) {} +} diff --git a/solc_0.8/diamond/facets/Test2Facet.sol b/solc_0.8/diamond/facets/Test2Facet.sol new file mode 100644 index 00000000..d0b893e1 --- /dev/null +++ b/solc_0.8/diamond/facets/Test2Facet.sol @@ -0,0 +1,44 @@ +// SPDX-License-Identifier: MIT +pragma solidity ^0.8.0; + +contract Test2Facet { + function test2Func1() external {} + + function test2Func2() external {} + + function test2Func3() external {} + + function test2Func4() external {} + + function test2Func5() external {} + + function test2Func6() external {} + + function test2Func7() external {} + + function test2Func8() external {} + + function test2Func9() external {} + + function test2Func10() external {} + + function test2Func11() external {} + + function test2Func12() external {} + + function test2Func13() external {} + + function test2Func14() external {} + + function test2Func15() external {} + + function test2Func16() external {} + + function test2Func17() external {} + + function test2Func18() external {} + + function test2Func19() external {} + + function test2Func20() external {} +} diff --git a/solc_0.8/diamond/interfaces/IDiamondCut.sol b/solc_0.8/diamond/interfaces/IDiamondCut.sol new file mode 100644 index 00000000..2972f695 --- /dev/null +++ b/solc_0.8/diamond/interfaces/IDiamondCut.sol @@ -0,0 +1,32 @@ +// SPDX-License-Identifier: MIT +pragma solidity ^0.8.0; + +/******************************************************************************\ +* Author: Nick Mudge (https://twitter.com/mudgen) +* EIP-2535 Diamonds: https://eips.ethereum.org/EIPS/eip-2535 +/******************************************************************************/ + +interface IDiamondCut { + enum FacetCutAction {Add, Replace, Remove} + // Add=0, Replace=1, Remove=2 + + struct FacetCut { + address facetAddress; + FacetCutAction action; + bytes4[] functionSelectors; + } + + /// @notice Add/replace/remove any number of functions and optionally execute + /// a function with delegatecall + /// @param _diamondCut Contains the facet addresses and function selectors + /// @param _init The address of the contract or facet to execute _calldata + /// @param _calldata A function call, including function selector and arguments + /// _calldata is executed with delegatecall on _init + function diamondCut( + FacetCut[] calldata _diamondCut, + address _init, + bytes calldata _calldata + ) external; + + event DiamondCut(FacetCut[] _diamondCut, address _init, bytes _calldata); +} diff --git a/solc_0.8/diamond/interfaces/IDiamondLoupe.sol b/solc_0.8/diamond/interfaces/IDiamondLoupe.sol new file mode 100644 index 00000000..c3b2570f --- /dev/null +++ b/solc_0.8/diamond/interfaces/IDiamondLoupe.sol @@ -0,0 +1,38 @@ +// SPDX-License-Identifier: MIT +pragma solidity ^0.8.0; + +/******************************************************************************\ +* Author: Nick Mudge (https://twitter.com/mudgen) +* EIP-2535 Diamonds: https://eips.ethereum.org/EIPS/eip-2535 +/******************************************************************************/ + +// A loupe is a small magnifying glass used to look at diamonds. +// These functions look at diamonds +interface IDiamondLoupe { + /// These functions are expected to be called frequently + /// by tools. + + struct Facet { + address facetAddress; + bytes4[] functionSelectors; + } + + /// @notice Gets all facet addresses and their four byte function selectors. + /// @return facets_ Facet + function facets() external view returns (Facet[] memory facets_); + + /// @notice Gets all the function selectors supported by a specific facet. + /// @param _facet The facet address. + /// @return facetFunctionSelectors_ + function facetFunctionSelectors(address _facet) external view returns (bytes4[] memory facetFunctionSelectors_); + + /// @notice Get all the facet addresses used by a diamond. + /// @return facetAddresses_ + function facetAddresses() external view returns (address[] memory facetAddresses_); + + /// @notice Gets the facet that supports the given selector. + /// @dev If facet is not found return address(0). + /// @param _functionSelector The function selector. + /// @return facetAddress_ The facet address. + function facetAddress(bytes4 _functionSelector) external view returns (address facetAddress_); +} diff --git a/solc_0.8/diamond/interfaces/IERC165.sol b/solc_0.8/diamond/interfaces/IERC165.sol new file mode 100644 index 00000000..04b7bcc9 --- /dev/null +++ b/solc_0.8/diamond/interfaces/IERC165.sol @@ -0,0 +1,12 @@ +// SPDX-License-Identifier: MIT +pragma solidity ^0.8.0; + +interface IERC165 { + /// @notice Query if a contract implements an interface + /// @param interfaceId The interface identifier, as specified in ERC-165 + /// @dev Interface identification is specified in ERC-165. This function + /// uses less than 30,000 gas. + /// @return `true` if the contract implements `interfaceID` and + /// `interfaceID` is not 0xffffffff, `false` otherwise + function supportsInterface(bytes4 interfaceId) external view returns (bool); +} diff --git a/solc_0.8/diamond/interfaces/IERC173.sol b/solc_0.8/diamond/interfaces/IERC173.sol new file mode 100644 index 00000000..a7080484 --- /dev/null +++ b/solc_0.8/diamond/interfaces/IERC173.sol @@ -0,0 +1,19 @@ +// SPDX-License-Identifier: MIT +pragma solidity ^0.8.0; + +/// @title ERC-173 Contract Ownership Standard +/// Note: the ERC-165 identifier for this interface is 0x7f5828d0 +/* is ERC165 */ +interface IERC173 { + /// @dev This emits when ownership of a contract changes. + event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); + + /// @notice Get the address of the owner + /// @return owner_ The address of the owner. + function owner() external view returns (address owner_); + + /// @notice Set the address of the new owner of the contract + /// @dev Set _newOwner to address(0) to renounce any ownership. + /// @param _newOwner The address of the new owner of the contract + function transferOwnership(address _newOwner) external; +} diff --git a/solc_0.8/diamond/libraries/LibDiamond.sol b/solc_0.8/diamond/libraries/LibDiamond.sol new file mode 100644 index 00000000..a58e69ad --- /dev/null +++ b/solc_0.8/diamond/libraries/LibDiamond.sol @@ -0,0 +1,207 @@ +// SPDX-License-Identifier: MIT +pragma solidity ^0.8.0; + +/******************************************************************************\ +* Author: Nick Mudge (https://twitter.com/mudgen) +* EIP-2535 Diamonds: https://eips.ethereum.org/EIPS/eip-2535 +/******************************************************************************/ +import { IDiamondCut } from "../interfaces/IDiamondCut.sol"; + +library LibDiamond { + bytes32 constant DIAMOND_STORAGE_POSITION = keccak256("diamond.standard.diamond.storage"); + + struct FacetAddressAndPosition { + address facetAddress; + uint96 functionSelectorPosition; // position in facetFunctionSelectors.functionSelectors array + } + + struct FacetFunctionSelectors { + bytes4[] functionSelectors; + uint256 facetAddressPosition; // position of facetAddress in facetAddresses array + } + + struct DiamondStorage { + // maps function selector to the facet address and + // the position of the selector in the facetFunctionSelectors.selectors array + mapping(bytes4 => FacetAddressAndPosition) selectorToFacetAndPosition; + // maps facet addresses to function selectors + mapping(address => FacetFunctionSelectors) facetFunctionSelectors; + // facet addresses + address[] facetAddresses; + // Used to query if a contract implements an interface. + // Used to implement ERC-165. + mapping(bytes4 => bool) supportedInterfaces; + // owner of the contract + address contractOwner; + } + + function diamondStorage() internal pure returns (DiamondStorage storage ds) { + bytes32 position = DIAMOND_STORAGE_POSITION; + assembly { + ds.slot := position + } + } + + event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); + + function setContractOwner(address _newOwner) internal { + DiamondStorage storage ds = diamondStorage(); + address previousOwner = ds.contractOwner; + ds.contractOwner = _newOwner; + emit OwnershipTransferred(previousOwner, _newOwner); + } + + function contractOwner() internal view returns (address contractOwner_) { + contractOwner_ = diamondStorage().contractOwner; + } + + function enforceIsContractOwner() internal view { + require(msg.sender == diamondStorage().contractOwner, "LibDiamond: Must be contract owner"); + } + + event DiamondCut(IDiamondCut.FacetCut[] _diamondCut, address _init, bytes _calldata); + + // Internal function version of diamondCut + function diamondCut( + IDiamondCut.FacetCut[] memory _diamondCut, + address _init, + bytes memory _calldata + ) internal { + for (uint256 facetIndex; facetIndex < _diamondCut.length; facetIndex++) { + IDiamondCut.FacetCutAction action = _diamondCut[facetIndex].action; + if (action == IDiamondCut.FacetCutAction.Add) { + addFunctions(_diamondCut[facetIndex].facetAddress, _diamondCut[facetIndex].functionSelectors); + } else if (action == IDiamondCut.FacetCutAction.Replace) { + replaceFunctions(_diamondCut[facetIndex].facetAddress, _diamondCut[facetIndex].functionSelectors); + } else if (action == IDiamondCut.FacetCutAction.Remove) { + removeFunctions(_diamondCut[facetIndex].facetAddress, _diamondCut[facetIndex].functionSelectors); + } else { + revert("LibDiamondCut: Incorrect FacetCutAction"); + } + } + emit DiamondCut(_diamondCut, _init, _calldata); + initializeDiamondCut(_init, _calldata); + } + + function addFunctions(address _facetAddress, bytes4[] memory _functionSelectors) internal { + require(_functionSelectors.length > 0, "LibDiamondCut: No selectors in facet to cut"); + DiamondStorage storage ds = diamondStorage(); + require(_facetAddress != address(0), "LibDiamondCut: Add facet can't be address(0)"); + uint96 selectorPosition = uint96(ds.facetFunctionSelectors[_facetAddress].functionSelectors.length); + // add new facet address if it does not exist + if (selectorPosition == 0) { + addFacet(ds, _facetAddress); + } + for (uint256 selectorIndex; selectorIndex < _functionSelectors.length; selectorIndex++) { + bytes4 selector = _functionSelectors[selectorIndex]; + address oldFacetAddress = ds.selectorToFacetAndPosition[selector].facetAddress; + require(oldFacetAddress == address(0), "LibDiamondCut: Can't add function that already exists"); + addFunction(ds, selector, selectorPosition, _facetAddress); + selectorPosition++; + } + } + + function replaceFunctions(address _facetAddress, bytes4[] memory _functionSelectors) internal { + require(_functionSelectors.length > 0, "LibDiamondCut: No selectors in facet to cut"); + DiamondStorage storage ds = diamondStorage(); + require(_facetAddress != address(0), "LibDiamondCut: Add facet can't be address(0)"); + uint96 selectorPosition = uint96(ds.facetFunctionSelectors[_facetAddress].functionSelectors.length); + // add new facet address if it does not exist + if (selectorPosition == 0) { + addFacet(ds, _facetAddress); + } + for (uint256 selectorIndex; selectorIndex < _functionSelectors.length; selectorIndex++) { + bytes4 selector = _functionSelectors[selectorIndex]; + address oldFacetAddress = ds.selectorToFacetAndPosition[selector].facetAddress; + require(oldFacetAddress != _facetAddress, "LibDiamondCut: Can't replace function with same function"); + removeFunction(ds, oldFacetAddress, selector); + addFunction(ds, selector, selectorPosition, _facetAddress); + selectorPosition++; + } + } + + function removeFunctions(address _facetAddress, bytes4[] memory _functionSelectors) internal { + require(_functionSelectors.length > 0, "LibDiamondCut: No selectors in facet to cut"); + DiamondStorage storage ds = diamondStorage(); + // if function does not exist then do nothing and return + require(_facetAddress == address(0), "LibDiamondCut: Remove facet address must be address(0)"); + for (uint256 selectorIndex; selectorIndex < _functionSelectors.length; selectorIndex++) { + bytes4 selector = _functionSelectors[selectorIndex]; + address oldFacetAddress = ds.selectorToFacetAndPosition[selector].facetAddress; + removeFunction(ds, oldFacetAddress, selector); + } + } + + function addFacet(DiamondStorage storage ds, address _facetAddress) internal { + enforceHasContractCode(_facetAddress, "LibDiamondCut: New facet has no code"); + ds.facetFunctionSelectors[_facetAddress].facetAddressPosition = ds.facetAddresses.length; + ds.facetAddresses.push(_facetAddress); + } + + + function addFunction(DiamondStorage storage ds, bytes4 _selector, uint96 _selectorPosition, address _facetAddress) internal { + ds.selectorToFacetAndPosition[_selector].functionSelectorPosition = _selectorPosition; + ds.facetFunctionSelectors[_facetAddress].functionSelectors.push(_selector); + ds.selectorToFacetAndPosition[_selector].facetAddress = _facetAddress; + } + + function removeFunction(DiamondStorage storage ds, address _facetAddress, bytes4 _selector) internal { + require(_facetAddress != address(0), "LibDiamondCut: Can't remove function that doesn't exist"); + // an immutable function is a function defined directly in a diamond + require(_facetAddress != address(this), "LibDiamondCut: Can't remove immutable function"); + // replace selector with last selector, then delete last selector + uint256 selectorPosition = ds.selectorToFacetAndPosition[_selector].functionSelectorPosition; + uint256 lastSelectorPosition = ds.facetFunctionSelectors[_facetAddress].functionSelectors.length - 1; + // if not the same then replace _selector with lastSelector + if (selectorPosition != lastSelectorPosition) { + bytes4 lastSelector = ds.facetFunctionSelectors[_facetAddress].functionSelectors[lastSelectorPosition]; + ds.facetFunctionSelectors[_facetAddress].functionSelectors[selectorPosition] = lastSelector; + ds.selectorToFacetAndPosition[lastSelector].functionSelectorPosition = uint96(selectorPosition); + } + // delete the last selector + ds.facetFunctionSelectors[_facetAddress].functionSelectors.pop(); + delete ds.selectorToFacetAndPosition[_selector]; + + // if no more selectors for facet address then delete the facet address + if (lastSelectorPosition == 0) { + // replace facet address with last facet address and delete last facet address + uint256 lastFacetAddressPosition = ds.facetAddresses.length - 1; + uint256 facetAddressPosition = ds.facetFunctionSelectors[_facetAddress].facetAddressPosition; + if (facetAddressPosition != lastFacetAddressPosition) { + address lastFacetAddress = ds.facetAddresses[lastFacetAddressPosition]; + ds.facetAddresses[facetAddressPosition] = lastFacetAddress; + ds.facetFunctionSelectors[lastFacetAddress].facetAddressPosition = facetAddressPosition; + } + ds.facetAddresses.pop(); + delete ds.facetFunctionSelectors[_facetAddress].facetAddressPosition; + } + } + + function initializeDiamondCut(address _init, bytes memory _calldata) internal { + if (_init == address(0)) { + require(_calldata.length == 0, "LibDiamondCut: _init is address(0) but_calldata is not empty"); + } else { + require(_calldata.length > 0, "LibDiamondCut: _calldata is empty but _init is not address(0)"); + if (_init != address(this)) { + enforceHasContractCode(_init, "LibDiamondCut: _init address has no code"); + } + (bool success, bytes memory error) = _init.delegatecall(_calldata); + if (!success) { + if (error.length > 0) { + // bubble up the error + revert(string(error)); + } else { + revert("LibDiamondCut: _init function reverted"); + } + } + } + } + + function enforceHasContractCode(address _contract, string memory _errorMessage) internal view { + uint256 contractSize; + assembly { + contractSize := extcodesize(_contract) + } + require(contractSize > 0, _errorMessage); + } +} diff --git a/solc_0.8/diamond/upgradeInitializers/DiamondInit.sol b/solc_0.8/diamond/upgradeInitializers/DiamondInit.sol new file mode 100644 index 00000000..1a9ed485 --- /dev/null +++ b/solc_0.8/diamond/upgradeInitializers/DiamondInit.sol @@ -0,0 +1,42 @@ +// SPDX-License-Identifier: MIT +pragma solidity ^0.8.0; + +/******************************************************************************\ +* Author: Nick Mudge (https://twitter.com/mudgen) +* EIP-2535 Diamonds: https://eips.ethereum.org/EIPS/eip-2535 +* +* Implementation of a diamond. +/******************************************************************************/ + +import {LibDiamond} from "../libraries/LibDiamond.sol"; +import { IDiamondLoupe } from "../interfaces/IDiamondLoupe.sol"; +import { IDiamondCut } from "../interfaces/IDiamondCut.sol"; +import { IERC173 } from "../interfaces/IERC173.sol"; +import { IERC165 } from "../interfaces/IERC165.sol"; + +// It is exapected that this contract is customized if you want to deploy your diamond +// with data from a deployment script. Use the init function to initialize state variables +// of your diamond. Add parameters to the init funciton if you need to. + +contract DiamondInit { + + // You can add parameters to this function in order to pass in + // data to set your own state variables + function init() external { + // adding ERC165 data + LibDiamond.DiamondStorage storage ds = LibDiamond.diamondStorage(); + ds.supportedInterfaces[type(IERC165).interfaceId] = true; + ds.supportedInterfaces[type(IDiamondCut).interfaceId] = true; + ds.supportedInterfaces[type(IDiamondLoupe).interfaceId] = true; + ds.supportedInterfaces[type(IERC173).interfaceId] = true; + + // add your own state variables + // EIP-2535 specifies that the `diamondCut` function takes two optional + // arguments: address _init and bytes calldata _calldata + // These arguments are used to execute an arbitrary function using delegatecall + // in order to set state variables in the diamond during deployment or an upgrade + // More info here: https://eips.ethereum.org/EIPS/eip-2535#diamond-interface + } + + +} \ No newline at end of file diff --git a/yarn.lock b/yarn.lock index c9d895fa..0e433c90 100644 --- a/yarn.lock +++ b/yarn.lock @@ -10,43 +10,43 @@ "@babel/highlight" "^7.10.4" "@babel/code-frame@^7.0.0": - version "7.12.13" - resolved "https://registry.yarnpkg.com/@babel/code-frame/-/code-frame-7.12.13.tgz#dcfc826beef65e75c50e21d3837d7d95798dd658" - integrity sha512-HV1Cm0Q3ZrpCR93tkWOYiuYIgLxZXZFVG2VgK+MBWjUqZTundupbfx2aXarXuw5Ko5aMcjtJgbSs4vUGBS5v6g== + version "7.16.0" + resolved "https://registry.yarnpkg.com/@babel/code-frame/-/code-frame-7.16.0.tgz#0dfc80309beec8411e65e706461c408b0bb9b431" + integrity sha512-IF4EOMEV+bfYwOmNxGzSnjR2EmQod7f1UXOpZM3l4i4o4QNwzjtJAu/HxdjHq0aYBvdqMuQEY1eg0nqW9ZPORA== dependencies: - "@babel/highlight" "^7.12.13" + "@babel/highlight" "^7.16.0" -"@babel/helper-validator-identifier@^7.12.11": - version "7.12.11" - resolved "https://registry.yarnpkg.com/@babel/helper-validator-identifier/-/helper-validator-identifier-7.12.11.tgz#c9a1f021917dcb5ccf0d4e453e399022981fc9ed" - integrity sha512-np/lG3uARFybkoHokJUmf1QfEvRVCPbmQeUQpKow5cQ3xWrV9i3rUHodKDJPQfTVX61qKi+UdYk8kik84n7XOw== +"@babel/helper-validator-identifier@^7.15.7": + version "7.15.7" + resolved "https://registry.yarnpkg.com/@babel/helper-validator-identifier/-/helper-validator-identifier-7.15.7.tgz#220df993bfe904a4a6b02ab4f3385a5ebf6e2389" + integrity sha512-K4JvCtQqad9OY2+yTU8w+E82ywk/fe+ELNlt1G8z3bVGlZfn/hOcQQsUhGhW/N+tb3fxK800wLtKOE/aM0m72w== -"@babel/highlight@^7.10.4", "@babel/highlight@^7.12.13": - version "7.13.10" - resolved "https://registry.yarnpkg.com/@babel/highlight/-/highlight-7.13.10.tgz#a8b2a66148f5b27d666b15d81774347a731d52d1" - integrity sha512-5aPpe5XQPzflQrFwL1/QoeHkP2MsA4JCntcXHRhEsdsfPVkvPi2w7Qix4iV7t5S/oC9OodGrggd8aco1g3SZFg== +"@babel/highlight@^7.10.4", "@babel/highlight@^7.16.0": + version "7.16.0" + resolved "https://registry.yarnpkg.com/@babel/highlight/-/highlight-7.16.0.tgz#6ceb32b2ca4b8f5f361fb7fd821e3fddf4a1725a" + integrity sha512-t8MH41kUQylBtu2+4IQA3atqevA2lRgqA2wyVB/YiWmsDSuylZZuXOUy9ric30hfzauEFfdsuk/eXTRrGrfd0g== dependencies: - "@babel/helper-validator-identifier" "^7.12.11" + "@babel/helper-validator-identifier" "^7.15.7" chalk "^2.0.0" js-tokens "^4.0.0" "@babel/runtime@^7.10.4", "@babel/runtime@^7.5.5": - version "7.13.10" - resolved "https://registry.yarnpkg.com/@babel/runtime/-/runtime-7.13.10.tgz#47d42a57b6095f4468da440388fdbad8bebf0d7d" - integrity sha512-4QPkjJq6Ns3V/RgpEahRk+AGfL0eO6RHHtTWoNNr5mO49G6B5+X6d6THgWEAvTrznU5xYpbAlVKRYcsCgh/Akw== + version "7.16.3" + resolved "https://registry.yarnpkg.com/@babel/runtime/-/runtime-7.16.3.tgz#b86f0db02a04187a3c17caa77de69840165d42d5" + integrity sha512-WBwekcqacdY2e9AF/Q7WLFUWmdJGJTkbjqTjoMDgXkVZ3ZRUvOPsLb5KdwISoQVsbP+DQzVZW4Zhci0DvpbNTQ== dependencies: regenerator-runtime "^0.13.4" -"@changesets/apply-release-plan@^5.0.0": - version "5.0.0" - resolved "https://registry.yarnpkg.com/@changesets/apply-release-plan/-/apply-release-plan-5.0.0.tgz#11bf168acecbf4cfa2b0e6425160bac5ceeec1c3" - integrity sha512-SE+5nPNSKUyUociPnAvnjYSVF+diciEhX9ZHSqKWMlydswCDjiaq9gz67qwWCmwgEgEOz0TS7VrQBoOlzbitvA== +"@changesets/apply-release-plan@^5.0.2": + version "5.0.2" + resolved "https://registry.yarnpkg.com/@changesets/apply-release-plan/-/apply-release-plan-5.0.2.tgz#8abcbbce338a0ac10d67b1cc777b0b893b452198" + integrity sha512-grNaIzOjAd34VV5493hyL7a9Y5P2v0dLXWaSfcUUIREemzkkpuVtsqAQRtot2JIjOcpGMyTn3tnaMpErJ1ZByw== dependencies: "@babel/runtime" "^7.10.4" - "@changesets/config" "^1.6.0" + "@changesets/config" "^1.6.2" "@changesets/get-version-range-type" "^0.3.2" - "@changesets/git" "^1.1.1" - "@changesets/types" "^4.0.0" + "@changesets/git" "^1.2.0" + "@changesets/types" "^4.0.1" "@manypkg/get-packages" "^1.0.1" detect-indent "^6.0.0" fs-extra "^7.0.1" @@ -56,36 +56,36 @@ resolve-from "^5.0.0" semver "^5.4.1" -"@changesets/assemble-release-plan@^5.0.0": - version "5.0.0" - resolved "https://registry.yarnpkg.com/@changesets/assemble-release-plan/-/assemble-release-plan-5.0.0.tgz#3e57405e5c375e2d933f62e74d1874915e60cd61" - integrity sha512-LElDXTCBUkPSmdXlCisoUWw2paX48snatBmw/hKnGiSvnyZqdTIylLojAGQWG0/vOO9v3s/DvJ4hdagIquxJjg== +"@changesets/assemble-release-plan@^5.0.2": + version "5.0.2" + resolved "https://registry.yarnpkg.com/@changesets/assemble-release-plan/-/assemble-release-plan-5.0.2.tgz#81063d2e01f967851063f5689f80374aa35175e9" + integrity sha512-4Q7w0ZeeNCv6sxUywL2bc8D2id9nyq2SB0LK+WY6ocg9/m4b3giKcbcGYxczgFbJvdcgxowqXPPAyETI9RpqBg== dependencies: "@babel/runtime" "^7.10.4" "@changesets/errors" "^0.1.4" - "@changesets/get-dependents-graph" "^1.2.1" - "@changesets/types" "^4.0.0" + "@changesets/get-dependents-graph" "^1.2.3" + "@changesets/types" "^4.0.1" "@manypkg/get-packages" "^1.0.1" semver "^5.4.1" "@changesets/cli@^2.11.1": - version "2.16.0" - resolved "https://registry.yarnpkg.com/@changesets/cli/-/cli-2.16.0.tgz#9f794005d0503efba5e348b929821a1732fd0f0d" - integrity sha512-VFkXSyyk/WRjjUoBI7g7cDy09qBjPbBQOloPMEshTzMo/NY9muWHl2yB/FSSkV/6PxGimPtJ7aEJPYfk8HCfXw== + version "2.18.0" + resolved "https://registry.yarnpkg.com/@changesets/cli/-/cli-2.18.0.tgz#662e27c78897cf948ca61177df9c915d750b8221" + integrity sha512-WJj0g0BvTxsVfAnHJrOTORRTTP6CG5yT4gxVGW3og8B1SquEwL3KhIXIbpA+o3BnkBlm/hRoIrkRivrgX7GOJA== dependencies: "@babel/runtime" "^7.10.4" - "@changesets/apply-release-plan" "^5.0.0" - "@changesets/assemble-release-plan" "^5.0.0" - "@changesets/config" "^1.6.0" + "@changesets/apply-release-plan" "^5.0.2" + "@changesets/assemble-release-plan" "^5.0.2" + "@changesets/config" "^1.6.2" "@changesets/errors" "^0.1.4" - "@changesets/get-dependents-graph" "^1.2.1" - "@changesets/get-release-plan" "^3.0.0" - "@changesets/git" "^1.1.1" + "@changesets/get-dependents-graph" "^1.2.3" + "@changesets/get-release-plan" "^3.0.2" + "@changesets/git" "^1.2.0" "@changesets/logger" "^0.0.5" - "@changesets/pre" "^1.0.6" - "@changesets/read" "^0.4.7" - "@changesets/types" "^4.0.0" - "@changesets/write" "^0.1.4" + "@changesets/pre" "^1.0.7" + "@changesets/read" "^0.5.1" + "@changesets/types" "^4.0.1" + "@changesets/write" "^0.1.5" "@manypkg/get-packages" "^1.0.1" "@types/semver" "^6.0.0" boxen "^1.3.0" @@ -104,15 +104,15 @@ term-size "^2.1.0" tty-table "^2.8.10" -"@changesets/config@^1.6.0": - version "1.6.0" - resolved "https://registry.yarnpkg.com/@changesets/config/-/config-1.6.0.tgz#2cd9426b9d4212534d2b31c51de43280b76d3df4" - integrity sha512-vMY/OpMFSDC2crDKb5Nq2kMX9hozcXL4dY5Rr+a1JQ044Rz+jqjJPpdTP2yQ+j7qmeGcUTvwjJoEMeekYwfqhg== +"@changesets/config@^1.6.2": + version "1.6.2" + resolved "https://registry.yarnpkg.com/@changesets/config/-/config-1.6.2.tgz#42ade5ec516560e33698f207804b3560223ea334" + integrity sha512-CJV71tDz/A4TmpyYRIdT4pwGg0GWuem7ahNR01VnOHhmXoXFbXrISX1TYGYo611N7vO9RQHmV8cnhmlHU0LlNA== dependencies: "@changesets/errors" "^0.1.4" - "@changesets/get-dependents-graph" "^1.2.1" + "@changesets/get-dependents-graph" "^1.2.3" "@changesets/logger" "^0.0.5" - "@changesets/types" "^4.0.0" + "@changesets/types" "^4.0.1" "@manypkg/get-packages" "^1.0.1" fs-extra "^7.0.1" micromatch "^4.0.2" @@ -124,28 +124,28 @@ dependencies: extendable-error "^0.1.5" -"@changesets/get-dependents-graph@^1.2.1": - version "1.2.1" - resolved "https://registry.yarnpkg.com/@changesets/get-dependents-graph/-/get-dependents-graph-1.2.1.tgz#462908693dc3a354622e43f85a764b74b5bb53af" - integrity sha512-vJOibo9SkqhVbgfq5AHIlQ7tzkYQIXh3tPAnlNLy2bPZsU+SByd74GaxHYWt1zOBlncU25WKrIM6J7XBB+GVUg== +"@changesets/get-dependents-graph@^1.2.3": + version "1.2.3" + resolved "https://registry.yarnpkg.com/@changesets/get-dependents-graph/-/get-dependents-graph-1.2.3.tgz#593c292cd4a1543606817d818f0d8c753ac26411" + integrity sha512-+Fyf+L+4rck9au5zIZcIJX+8zBMGRdgZwD5DGGt37hP011R/46fahnpJ6imNB9cV+HTMNX/QMAFrkWqt1hy73A== dependencies: - "@changesets/types" "^4.0.0" + "@changesets/types" "^4.0.1" "@manypkg/get-packages" "^1.0.1" chalk "^2.1.0" fs-extra "^7.0.1" semver "^5.4.1" -"@changesets/get-release-plan@^3.0.0": - version "3.0.0" - resolved "https://registry.yarnpkg.com/@changesets/get-release-plan/-/get-release-plan-3.0.0.tgz#55efc01db2e24bd7a88e703956eb2f6c4a79054f" - integrity sha512-7VLiqpcWZyjwIXYgkubBC/9cdwqUJEhLMRT9/Y9+ctHqrpsXmJg15QQPTOh3HT9yGN5fJPL1WwuZkc1HXUhK0g== +"@changesets/get-release-plan@^3.0.2": + version "3.0.2" + resolved "https://registry.yarnpkg.com/@changesets/get-release-plan/-/get-release-plan-3.0.2.tgz#7e5b264838032b226263f8bfeff4706c255f6d4f" + integrity sha512-jAWHQfaDOUKEcrnx6GZyYM7oKmbI+vQ+wbYowIeYpiojprQC0P7I6asbzk4fpGM2xyzP4EjRMErRGH91VVzBSg== dependencies: "@babel/runtime" "^7.10.4" - "@changesets/assemble-release-plan" "^5.0.0" - "@changesets/config" "^1.6.0" - "@changesets/pre" "^1.0.6" - "@changesets/read" "^0.4.7" - "@changesets/types" "^4.0.0" + "@changesets/assemble-release-plan" "^5.0.2" + "@changesets/config" "^1.6.2" + "@changesets/pre" "^1.0.7" + "@changesets/read" "^0.5.1" + "@changesets/types" "^4.0.1" "@manypkg/get-packages" "^1.0.1" "@changesets/get-version-range-type@^0.3.2": @@ -153,14 +153,14 @@ resolved "https://registry.yarnpkg.com/@changesets/get-version-range-type/-/get-version-range-type-0.3.2.tgz#8131a99035edd11aa7a44c341cbb05e668618c67" integrity sha512-SVqwYs5pULYjYT4op21F2pVbcrca4qA/bAA3FmFXKMN7Y+HcO8sbZUTx3TAy2VXulP2FACd1aC7f2nTuqSPbqg== -"@changesets/git@^1.1.1": - version "1.1.1" - resolved "https://registry.yarnpkg.com/@changesets/git/-/git-1.1.1.tgz#f444d3ff3604acb6949560656c9ef330485a5fa3" - integrity sha512-Z12TcKwgU33YE3r76cyU+X81RchOXljDZ5s3G2u0Zd+ODyrwlDb91IO55+6R0Ha6ouPz8ioont0gA70c1RFngg== +"@changesets/git@^1.2.0": + version "1.2.0" + resolved "https://registry.yarnpkg.com/@changesets/git/-/git-1.2.0.tgz#9b6c4bcf101ecf2f870df6771bb1ca12d863984e" + integrity sha512-9EM+04/6TIImnNTgagxrwtimITtHEDaBYKubPPA6WDzd+KiTOf9g7i/6aUhhdwbwqQQfPAn5gzgfFB0KvwEHeA== dependencies: "@babel/runtime" "^7.10.4" "@changesets/errors" "^0.1.4" - "@changesets/types" "^4.0.0" + "@changesets/types" "^4.0.1" "@manypkg/get-packages" "^1.0.1" is-subdir "^1.1.1" spawndamnit "^2.0.0" @@ -172,51 +172,51 @@ dependencies: chalk "^2.1.0" -"@changesets/parse@^0.3.8": - version "0.3.8" - resolved "https://registry.yarnpkg.com/@changesets/parse/-/parse-0.3.8.tgz#0bb244eccb35cb301168f85684bb03389c59341d" - integrity sha512-0S7Dc7XbMOKamBtd48vVuWL2aFZyaglw6lJsXNddn9forFf8oMKMmdyJ/HQPyeEChDDOhDF1/ya7m/zpt4Dk4w== +"@changesets/parse@^0.3.9": + version "0.3.9" + resolved "https://registry.yarnpkg.com/@changesets/parse/-/parse-0.3.9.tgz#c518792b05f15ab418d58dc1cea81601556e845e" + integrity sha512-XoTEkMpvRRVxSlhvOaK4YSFM+RZhYFTksxRh7ieNkb6pMxkpq8MOYSi/07BuqkODn4dJEMOoSy3RzL99P6FyqA== dependencies: - "@changesets/types" "^4.0.0" + "@changesets/types" "^4.0.1" js-yaml "^3.13.1" -"@changesets/pre@^1.0.6": - version "1.0.6" - resolved "https://registry.yarnpkg.com/@changesets/pre/-/pre-1.0.6.tgz#45700cf18274b35b2296000befe7fe4df8ff046f" - integrity sha512-ZwFFQLjhTmA4hj8+Cf9pm6nD9Tp+AiBz1wJLaGum4Ae1fPXMwDnJfHknFUTytqZBlC0gHkiGSj6QkUuetWvckg== +"@changesets/pre@^1.0.7": + version "1.0.7" + resolved "https://registry.yarnpkg.com/@changesets/pre/-/pre-1.0.7.tgz#caf6430c90b8ac6d58c9cd90a19558ab06b19b88" + integrity sha512-oUU6EL4z0AIyCv/EscQFxxJsQfc9/AcSpqAGbdZrLXwshUWTXsJHMWlE3/+iSIyQ+I+/xtxbBxnqDUpUU3TOOg== dependencies: "@babel/runtime" "^7.10.4" "@changesets/errors" "^0.1.4" - "@changesets/types" "^4.0.0" + "@changesets/types" "^4.0.1" "@manypkg/get-packages" "^1.0.1" fs-extra "^7.0.1" -"@changesets/read@^0.4.7": - version "0.4.7" - resolved "https://registry.yarnpkg.com/@changesets/read/-/read-0.4.7.tgz#5a32ae7092330fba31eaec4c83321bb936605766" - integrity sha512-E70QrYQpSCMF0nC0dlPU7i6A9zht+8zkQczrKMbOUwDVrfidcvgojxfuJSQbzptYSb9OKYh8GOLd+bsq9+uO9Q== +"@changesets/read@^0.5.1": + version "0.5.1" + resolved "https://registry.yarnpkg.com/@changesets/read/-/read-0.5.1.tgz#89635bf2b84e5fd5d49e1d685adb9c47b5e679a1" + integrity sha512-QJ3rVS+L0Y3yLk3cAOglNh4tuMUfQl8cJjyAnNnJHS9nCXZUiZjYiJc+34XpZT5vUb+4+0FY1wWtzlkAKuLR2g== dependencies: "@babel/runtime" "^7.10.4" - "@changesets/git" "^1.1.1" + "@changesets/git" "^1.2.0" "@changesets/logger" "^0.0.5" - "@changesets/parse" "^0.3.8" - "@changesets/types" "^4.0.0" + "@changesets/parse" "^0.3.9" + "@changesets/types" "^4.0.1" chalk "^2.1.0" fs-extra "^7.0.1" p-filter "^2.1.0" -"@changesets/types@^4.0.0": - version "4.0.0" - resolved "https://registry.yarnpkg.com/@changesets/types/-/types-4.0.0.tgz#635f804546b0a96ecc0ca3f26403a6782a3dc938" - integrity sha512-whLmPx2wgJRoOtxVZop+DJ71z1gTSkij7osiHgN+pe//FiE6bb4ffvBBb0rACs2cUPfAkWxgSPzqkECgKS1jvQ== +"@changesets/types@^4.0.1": + version "4.0.1" + resolved "https://registry.yarnpkg.com/@changesets/types/-/types-4.0.1.tgz#85cf3cc32baff0691112d9d15fc21fbe022c9f0a" + integrity sha512-zVfv752D8K2tjyFmxU/vnntQ+dPu+9NupOSguA/2Zuym4tVxRh0ylArgKZ1bOAi2eXfGlZMxJU/kj7uCSI15RQ== -"@changesets/write@^0.1.4": - version "0.1.4" - resolved "https://registry.yarnpkg.com/@changesets/write/-/write-0.1.4.tgz#5828ecc70c48d0e8696c5f13fe06b730cdfde6f2" - integrity sha512-uco+vS3mo2JqflLciIU707har+6AEFOeP8pgu3vVC1M2WcKukQgR1KylHFqZJxKQWahf8mQnuUSbgR4yJQuhmA== +"@changesets/write@^0.1.5": + version "0.1.5" + resolved "https://registry.yarnpkg.com/@changesets/write/-/write-0.1.5.tgz#97574d95c8e48c3bbb1173802672f9a64d1b7fef" + integrity sha512-AYVSCH7on/Cyzo/8lVfqlsXmyKl3JhbNu9yHApdLPhHAzv5wqoHiZlMDkmd+AA67SRqzK2lDs4BcIojK+uWeIA== dependencies: "@babel/runtime" "^7.10.4" - "@changesets/types" "^4.0.0" + "@changesets/types" "^4.0.1" fs-extra "^7.0.1" human-id "^1.0.2" prettier "^1.19.1" @@ -226,10 +226,10 @@ resolved "https://registry.yarnpkg.com/@cspotcode/source-map-consumer/-/source-map-consumer-0.8.0.tgz#33bf4b7b39c178821606f669bbc447a6a629786b" integrity sha512-41qniHzTU8yAGbCp04ohlmSrZf8bkf/iJsl3V0dRGsQN/5GFfx+LbCSsCpp2gqrqjTVg/K6O8ycoV35JIwAzAg== -"@cspotcode/source-map-support@0.6.1": - version "0.6.1" - resolved "https://registry.yarnpkg.com/@cspotcode/source-map-support/-/source-map-support-0.6.1.tgz#118511f316e2e87ee4294761868e254d3da47960" - integrity sha512-DX3Z+T5dt1ockmPdobJS/FAsQPW4V4SrWEhD2iYQT2Cb2tQsiMnYxrcUH9By/Z3B+v0S5LMBkQtV/XOBbpLEOg== +"@cspotcode/source-map-support@0.7.0": + version "0.7.0" + resolved "https://registry.yarnpkg.com/@cspotcode/source-map-support/-/source-map-support-0.7.0.tgz#4789840aa859e46d2f3173727ab707c66bf344f5" + integrity sha512-X4xqRHqN8ACt2aHVe51OxeA2HjbcL4MqFqXkrmQszJ1NOUuUu5u6Vqx/0lZSVNku7velL5FC/s5uEAj1lsBMhA== dependencies: "@cspotcode/source-map-consumer" "0.8.0" @@ -248,405 +248,405 @@ minimatch "^3.0.4" strip-json-comments "^3.1.1" -"@ethereumjs/block@^3.4.0": - version "3.4.0" - resolved "https://registry.yarnpkg.com/@ethereumjs/block/-/block-3.4.0.tgz#4747b0c06220ee10cbdfe1cbde8cbb0677b1b074" - integrity sha512-umKAoTX32yXzErpIksPHodFc/5y8bmZMnOl6hWy5Vd8xId4+HKFUOyEiN16Y97zMwFRysRpcrR6wBejfqc6Bmg== +"@ethereumjs/block@^3.4.0", "@ethereumjs/block@^3.5.0", "@ethereumjs/block@^3.6.0": + version "3.6.0" + resolved "https://registry.yarnpkg.com/@ethereumjs/block/-/block-3.6.0.tgz#5cf89ea748607597a3f8b038abc986e4ac0b05db" + integrity sha512-dqLo1LtsLG+Oelu5S5tWUDG0pah3QUwV5TJZy2cm19BXDr4ka/S9XBSgao0i09gTcuPlovlHgcs6d7EZ37urjQ== dependencies: - "@ethereumjs/common" "^2.4.0" - "@ethereumjs/tx" "^3.3.0" - ethereumjs-util "^7.1.0" - merkle-patricia-tree "^4.2.0" + "@ethereumjs/common" "^2.6.0" + "@ethereumjs/tx" "^3.4.0" + ethereumjs-util "^7.1.3" + merkle-patricia-tree "^4.2.2" -"@ethereumjs/blockchain@^5.4.0": - version "5.4.0" - resolved "https://registry.yarnpkg.com/@ethereumjs/blockchain/-/blockchain-5.4.0.tgz#28d712627d3442b2bb1f50dd5acba7cde1021993" - integrity sha512-wAuKLaew6PL52kH8YPXO7PbjjKV12jivRSyHQehkESw4slSLLfYA6Jv7n5YxyT2ajD7KNMPVh7oyF/MU6HcOvg== +"@ethereumjs/blockchain@^5.4.0", "@ethereumjs/blockchain@^5.5.0": + version "5.5.0" + resolved "https://registry.yarnpkg.com/@ethereumjs/blockchain/-/blockchain-5.5.0.tgz#c07ed8a6a148ed0c5a112cec5bad6bdaa95ccc07" + integrity sha512-879YVmWbM8OUKLVj+OuEZ+sZFkQOnXYGeak5oi7O1hOjaRv//je+fK2axGP04cbttu7sPCp41zy7O6xw4cut8A== dependencies: - "@ethereumjs/block" "^3.4.0" - "@ethereumjs/common" "^2.4.0" - "@ethereumjs/ethash" "^1.0.0" + "@ethereumjs/block" "^3.6.0" + "@ethereumjs/common" "^2.6.0" + "@ethereumjs/ethash" "^1.1.0" debug "^2.2.0" - ethereumjs-util "^7.1.0" + ethereumjs-util "^7.1.3" level-mem "^5.0.1" lru-cache "^5.1.1" - rlp "^2.2.4" semaphore-async-await "^1.5.1" -"@ethereumjs/common@^2.4.0": - version "2.4.0" - resolved "https://registry.yarnpkg.com/@ethereumjs/common/-/common-2.4.0.tgz#2d67f6e6ba22246c5c89104e6b9a119fb3039766" - integrity sha512-UdkhFWzWcJCZVsj1O/H8/oqj/0RVYjLc1OhPjBrQdALAkQHpCp8xXI4WLnuGTADqTdJZww0NtgwG+TRPkXt27w== +"@ethereumjs/common@^2.4.0", "@ethereumjs/common@^2.6.0": + version "2.6.0" + resolved "https://registry.yarnpkg.com/@ethereumjs/common/-/common-2.6.0.tgz#feb96fb154da41ee2cc2c5df667621a440f36348" + integrity sha512-Cq2qS0FTu6O2VU1sgg+WyU9Ps0M6j/BEMHN+hRaECXCV/r0aI78u4N6p52QW/BDVhwWZpCdrvG8X7NJdzlpNUA== dependencies: crc-32 "^1.2.0" - ethereumjs-util "^7.1.0" + ethereumjs-util "^7.1.3" -"@ethereumjs/ethash@^1.0.0": - version "1.0.0" - resolved "https://registry.yarnpkg.com/@ethereumjs/ethash/-/ethash-1.0.0.tgz#4e77f85b37be1ade5393e8719bdabac3e796ddaa" - integrity sha512-iIqnGG6NMKesyOxv2YctB2guOVX18qMAWlj3QlZyrc+GqfzLqoihti+cVNQnyNxr7eYuPdqwLQOFuPe6g/uKjw== +"@ethereumjs/ethash@^1.1.0": + version "1.1.0" + resolved "https://registry.yarnpkg.com/@ethereumjs/ethash/-/ethash-1.1.0.tgz#7c5918ffcaa9cb9c1dc7d12f77ef038c11fb83fb" + integrity sha512-/U7UOKW6BzpA+Vt+kISAoeDie1vAvY4Zy2KF5JJb+So7+1yKmJeJEHOGSnQIj330e9Zyl3L5Nae6VZyh2TJnAA== dependencies: + "@ethereumjs/block" "^3.5.0" "@types/levelup" "^4.3.0" buffer-xor "^2.0.1" - ethereumjs-util "^7.0.7" + ethereumjs-util "^7.1.1" miller-rabin "^4.0.0" -"@ethereumjs/tx@^3.3.0": - version "3.3.0" - resolved "https://registry.yarnpkg.com/@ethereumjs/tx/-/tx-3.3.0.tgz#14ed1b7fa0f28e1cd61e3ecbdab824205f6a4378" - integrity sha512-yTwEj2lVzSMgE6Hjw9Oa1DZks/nKTWM8Wn4ykDNapBPua2f4nXO3qKnni86O6lgDj5fVNRqbDsD0yy7/XNGDEA== +"@ethereumjs/tx@^3.3.0", "@ethereumjs/tx@^3.4.0": + version "3.4.0" + resolved "https://registry.yarnpkg.com/@ethereumjs/tx/-/tx-3.4.0.tgz#7eb1947eefa55eb9cf05b3ca116fb7a3dbd0bce7" + integrity sha512-WWUwg1PdjHKZZxPPo274ZuPsJCWV3SqATrEKQP1n2DrVYVP1aZIYpo/mFaA0BDoE0tIQmBeimRCEA0Lgil+yYw== dependencies: - "@ethereumjs/common" "^2.4.0" - ethereumjs-util "^7.1.0" + "@ethereumjs/common" "^2.6.0" + ethereumjs-util "^7.1.3" "@ethereumjs/vm@^5.5.2": - version "5.5.2" - resolved "https://registry.yarnpkg.com/@ethereumjs/vm/-/vm-5.5.2.tgz#918a2c1000aaa9fdbe6007a4fdc2c62833122adf" - integrity sha512-AydZ4wfvZAsBuFzs3xVSA2iU0hxhL8anXco3UW3oh9maVC34kTEytOfjHf06LTEfN0MF9LDQ4ciLa7If6ZN/sg== - dependencies: - "@ethereumjs/block" "^3.4.0" - "@ethereumjs/blockchain" "^5.4.0" - "@ethereumjs/common" "^2.4.0" - "@ethereumjs/tx" "^3.3.0" + version "5.6.0" + resolved "https://registry.yarnpkg.com/@ethereumjs/vm/-/vm-5.6.0.tgz#e0ca62af07de820143674c30b776b86c1983a464" + integrity sha512-J2m/OgjjiGdWF2P9bj/4LnZQ1zRoZhY8mRNVw/N3tXliGI8ai1sI1mlDPkLpeUUM4vq54gH6n0ZlSpz8U/qlYQ== + dependencies: + "@ethereumjs/block" "^3.6.0" + "@ethereumjs/blockchain" "^5.5.0" + "@ethereumjs/common" "^2.6.0" + "@ethereumjs/tx" "^3.4.0" async-eventemitter "^0.2.4" core-js-pure "^3.0.1" debug "^2.2.0" - ethereumjs-util "^7.1.0" + ethereumjs-util "^7.1.3" functional-red-black-tree "^1.0.1" mcl-wasm "^0.7.1" - merkle-patricia-tree "^4.2.0" + merkle-patricia-tree "^4.2.2" rustbn.js "~0.2.0" - util.promisify "^1.0.1" - -"@ethersproject/abi@^5.1.2", "@ethersproject/abi@^5.4.0": - version "5.4.0" - resolved "https://registry.yarnpkg.com/@ethersproject/abi/-/abi-5.4.0.tgz#a6d63bdb3672f738398846d4279fa6b6c9818242" - integrity sha512-9gU2H+/yK1j2eVMdzm6xvHSnMxk8waIHQGYCZg5uvAyH0rsAzxkModzBSpbAkAuhKFEovC2S9hM4nPuLym8IZw== - dependencies: - "@ethersproject/address" "^5.4.0" - "@ethersproject/bignumber" "^5.4.0" - "@ethersproject/bytes" "^5.4.0" - "@ethersproject/constants" "^5.4.0" - "@ethersproject/hash" "^5.4.0" - "@ethersproject/keccak256" "^5.4.0" - "@ethersproject/logger" "^5.4.0" - "@ethersproject/properties" "^5.4.0" - "@ethersproject/strings" "^5.4.0" - -"@ethersproject/abstract-provider@^5.4.0": - version "5.4.1" - resolved "https://registry.yarnpkg.com/@ethersproject/abstract-provider/-/abstract-provider-5.4.1.tgz#e404309a29f771bd4d28dbafadcaa184668c2a6e" - integrity sha512-3EedfKI3LVpjSKgAxoUaI+gB27frKsxzm+r21w9G60Ugk+3wVLQwhi1LsEJAKNV7WoZc8CIpNrATlL1QFABjtQ== - dependencies: - "@ethersproject/bignumber" "^5.4.0" - "@ethersproject/bytes" "^5.4.0" - "@ethersproject/logger" "^5.4.0" - "@ethersproject/networks" "^5.4.0" - "@ethersproject/properties" "^5.4.0" - "@ethersproject/transactions" "^5.4.0" - "@ethersproject/web" "^5.4.0" - -"@ethersproject/abstract-signer@^5.4.0", "@ethersproject/abstract-signer@^5.4.1": - version "5.4.1" - resolved "https://registry.yarnpkg.com/@ethersproject/abstract-signer/-/abstract-signer-5.4.1.tgz#e4e9abcf4dd4f1ba0db7dff9746a5f78f355ea81" - integrity sha512-SkkFL5HVq1k4/25dM+NWP9MILgohJCgGv5xT5AcRruGz4ILpfHeBtO/y6j+Z3UN/PAjDeb4P7E51Yh8wcGNLGA== - dependencies: - "@ethersproject/abstract-provider" "^5.4.0" - "@ethersproject/bignumber" "^5.4.0" - "@ethersproject/bytes" "^5.4.0" - "@ethersproject/logger" "^5.4.0" - "@ethersproject/properties" "^5.4.0" - -"@ethersproject/address@^5.4.0": - version "5.4.0" - resolved "https://registry.yarnpkg.com/@ethersproject/address/-/address-5.4.0.tgz#ba2d00a0f8c4c0854933b963b9a3a9f6eb4a37a3" - integrity sha512-SD0VgOEkcACEG/C6xavlU1Hy3m5DGSXW3CUHkaaEHbAPPsgi0coP5oNPsxau8eTlZOk/bpa/hKeCNoK5IzVI2Q== - dependencies: - "@ethersproject/bignumber" "^5.4.0" - "@ethersproject/bytes" "^5.4.0" - "@ethersproject/keccak256" "^5.4.0" - "@ethersproject/logger" "^5.4.0" - "@ethersproject/rlp" "^5.4.0" - -"@ethersproject/base64@^5.4.0": - version "5.4.0" - resolved "https://registry.yarnpkg.com/@ethersproject/base64/-/base64-5.4.0.tgz#7252bf65295954c9048c7ca5f43e5c86441b2a9a" - integrity sha512-CjQw6E17QDSSC5jiM9YpF7N1aSCHmYGMt9bWD8PWv6YPMxjsys2/Q8xLrROKI3IWJ7sFfZ8B3flKDTM5wlWuZQ== - dependencies: - "@ethersproject/bytes" "^5.4.0" - -"@ethersproject/basex@^5.4.0": - version "5.4.0" - resolved "https://registry.yarnpkg.com/@ethersproject/basex/-/basex-5.4.0.tgz#0a2da0f4e76c504a94f2b21d3161ed9438c7f8a6" - integrity sha512-J07+QCVJ7np2bcpxydFVf/CuYo9mZ7T73Pe7KQY4c1lRlrixMeblauMxHXD0MPwFmUHZIILDNViVkykFBZylbg== - dependencies: - "@ethersproject/bytes" "^5.4.0" - "@ethersproject/properties" "^5.4.0" - -"@ethersproject/bignumber@^5.4.0", "@ethersproject/bignumber@^5.4.1": - version "5.4.1" - resolved "https://registry.yarnpkg.com/@ethersproject/bignumber/-/bignumber-5.4.1.tgz#64399d3b9ae80aa83d483e550ba57ea062c1042d" - integrity sha512-fJhdxqoQNuDOk6epfM7yD6J8Pol4NUCy1vkaGAkuujZm0+lNow//MKu1hLhRiYV4BsOHyBv5/lsTjF+7hWwhJg== - dependencies: - "@ethersproject/bytes" "^5.4.0" - "@ethersproject/logger" "^5.4.0" + +"@ethersproject/abi@^5.1.2", "@ethersproject/abi@^5.4.0", "@ethersproject/abi@^5.5.0": + version "5.5.0" + resolved "https://registry.yarnpkg.com/@ethersproject/abi/-/abi-5.5.0.tgz#fb52820e22e50b854ff15ce1647cc508d6660613" + integrity sha512-loW7I4AohP5KycATvc0MgujU6JyCHPqHdeoo9z3Nr9xEiNioxa65ccdm1+fsoJhkuhdRtfcL8cfyGamz2AxZ5w== + dependencies: + "@ethersproject/address" "^5.5.0" + "@ethersproject/bignumber" "^5.5.0" + "@ethersproject/bytes" "^5.5.0" + "@ethersproject/constants" "^5.5.0" + "@ethersproject/hash" "^5.5.0" + "@ethersproject/keccak256" "^5.5.0" + "@ethersproject/logger" "^5.5.0" + "@ethersproject/properties" "^5.5.0" + "@ethersproject/strings" "^5.5.0" + +"@ethersproject/abstract-provider@^5.5.0": + version "5.5.1" + resolved "https://registry.yarnpkg.com/@ethersproject/abstract-provider/-/abstract-provider-5.5.1.tgz#2f1f6e8a3ab7d378d8ad0b5718460f85649710c5" + integrity sha512-m+MA/ful6eKbxpr99xUYeRvLkfnlqzrF8SZ46d/xFB1A7ZVknYc/sXJG0RcufF52Qn2jeFj1hhcoQ7IXjNKUqg== + dependencies: + "@ethersproject/bignumber" "^5.5.0" + "@ethersproject/bytes" "^5.5.0" + "@ethersproject/logger" "^5.5.0" + "@ethersproject/networks" "^5.5.0" + "@ethersproject/properties" "^5.5.0" + "@ethersproject/transactions" "^5.5.0" + "@ethersproject/web" "^5.5.0" + +"@ethersproject/abstract-signer@^5.4.1", "@ethersproject/abstract-signer@^5.5.0": + version "5.5.0" + resolved "https://registry.yarnpkg.com/@ethersproject/abstract-signer/-/abstract-signer-5.5.0.tgz#590ff6693370c60ae376bf1c7ada59eb2a8dd08d" + integrity sha512-lj//7r250MXVLKI7sVarXAbZXbv9P50lgmJQGr2/is82EwEb8r7HrxsmMqAjTsztMYy7ohrIhGMIml+Gx4D3mA== + dependencies: + "@ethersproject/abstract-provider" "^5.5.0" + "@ethersproject/bignumber" "^5.5.0" + "@ethersproject/bytes" "^5.5.0" + "@ethersproject/logger" "^5.5.0" + "@ethersproject/properties" "^5.5.0" + +"@ethersproject/address@^5.4.0", "@ethersproject/address@^5.5.0": + version "5.5.0" + resolved "https://registry.yarnpkg.com/@ethersproject/address/-/address-5.5.0.tgz#bcc6f576a553f21f3dd7ba17248f81b473c9c78f" + integrity sha512-l4Nj0eWlTUh6ro5IbPTgbpT4wRbdH5l8CQf7icF7sb/SI3Nhd9Y9HzhonTSTi6CefI0necIw7LJqQPopPLZyWw== + dependencies: + "@ethersproject/bignumber" "^5.5.0" + "@ethersproject/bytes" "^5.5.0" + "@ethersproject/keccak256" "^5.5.0" + "@ethersproject/logger" "^5.5.0" + "@ethersproject/rlp" "^5.5.0" + +"@ethersproject/base64@^5.5.0": + version "5.5.0" + resolved "https://registry.yarnpkg.com/@ethersproject/base64/-/base64-5.5.0.tgz#881e8544e47ed976930836986e5eb8fab259c090" + integrity sha512-tdayUKhU1ljrlHzEWbStXazDpsx4eg1dBXUSI6+mHlYklOXoXF6lZvw8tnD6oVaWfnMxAgRSKROg3cVKtCcppA== + dependencies: + "@ethersproject/bytes" "^5.5.0" + +"@ethersproject/basex@^5.5.0": + version "5.5.0" + resolved "https://registry.yarnpkg.com/@ethersproject/basex/-/basex-5.5.0.tgz#e40a53ae6d6b09ab4d977bd037010d4bed21b4d3" + integrity sha512-ZIodwhHpVJ0Y3hUCfUucmxKsWQA5TMnavp5j/UOuDdzZWzJlRmuOjcTMIGgHCYuZmHt36BfiSyQPSRskPxbfaQ== + dependencies: + "@ethersproject/bytes" "^5.5.0" + "@ethersproject/properties" "^5.5.0" + +"@ethersproject/bignumber@^5.4.1", "@ethersproject/bignumber@^5.5.0": + version "5.5.0" + resolved "https://registry.yarnpkg.com/@ethersproject/bignumber/-/bignumber-5.5.0.tgz#875b143f04a216f4f8b96245bde942d42d279527" + integrity sha512-6Xytlwvy6Rn3U3gKEc1vP7nR92frHkv6wtVr95LFR3jREXiCPzdWxKQ1cx4JGQBXxcguAwjA8murlYN2TSiEbg== + dependencies: + "@ethersproject/bytes" "^5.5.0" + "@ethersproject/logger" "^5.5.0" bn.js "^4.11.9" -"@ethersproject/bytes@^5.4.0": - version "5.4.0" - resolved "https://registry.yarnpkg.com/@ethersproject/bytes/-/bytes-5.4.0.tgz#56fa32ce3bf67153756dbaefda921d1d4774404e" - integrity sha512-H60ceqgTHbhzOj4uRc/83SCN9d+BSUnOkrr2intevqdtEMO1JFVZ1XL84OEZV+QjV36OaZYxtnt4lGmxcGsPfA== +"@ethersproject/bytes@^5.4.0", "@ethersproject/bytes@^5.5.0": + version "5.5.0" + resolved "https://registry.yarnpkg.com/@ethersproject/bytes/-/bytes-5.5.0.tgz#cb11c526de657e7b45d2e0f0246fb3b9d29a601c" + integrity sha512-ABvc7BHWhZU9PNM/tANm/Qx4ostPGadAuQzWTr3doklZOhDlmcBqclrQe/ZXUIj3K8wC28oYeuRa+A37tX9kog== dependencies: - "@ethersproject/logger" "^5.4.0" + "@ethersproject/logger" "^5.5.0" -"@ethersproject/constants@^5.4.0": - version "5.4.0" - resolved "https://registry.yarnpkg.com/@ethersproject/constants/-/constants-5.4.0.tgz#ee0bdcb30bf1b532d2353c977bf2ef1ee117958a" - integrity sha512-tzjn6S7sj9+DIIeKTJLjK9WGN2Tj0P++Z8ONEIlZjyoTkBuODN+0VfhAyYksKi43l1Sx9tX2VlFfzjfmr5Wl3Q== +"@ethersproject/constants@^5.4.0", "@ethersproject/constants@^5.5.0": + version "5.5.0" + resolved "https://registry.yarnpkg.com/@ethersproject/constants/-/constants-5.5.0.tgz#d2a2cd7d94bd1d58377d1d66c4f53c9be4d0a45e" + integrity sha512-2MsRRVChkvMWR+GyMGY4N1sAX9Mt3J9KykCsgUFd/1mwS0UH1qw+Bv9k1UJb3X3YJYFco9H20pjSlOIfCG5HYQ== dependencies: - "@ethersproject/bignumber" "^5.4.0" + "@ethersproject/bignumber" "^5.5.0" "@ethersproject/contracts@^5.4.1": - version "5.4.1" - resolved "https://registry.yarnpkg.com/@ethersproject/contracts/-/contracts-5.4.1.tgz#3eb4f35b7fe60a962a75804ada2746494df3e470" - integrity sha512-m+z2ZgPy4pyR15Je//dUaymRUZq5MtDajF6GwFbGAVmKz/RF+DNIPwF0k5qEcL3wPGVqUjFg2/krlCRVTU4T5w== - dependencies: - "@ethersproject/abi" "^5.4.0" - "@ethersproject/abstract-provider" "^5.4.0" - "@ethersproject/abstract-signer" "^5.4.0" - "@ethersproject/address" "^5.4.0" - "@ethersproject/bignumber" "^5.4.0" - "@ethersproject/bytes" "^5.4.0" - "@ethersproject/constants" "^5.4.0" - "@ethersproject/logger" "^5.4.0" - "@ethersproject/properties" "^5.4.0" - "@ethersproject/transactions" "^5.4.0" - -"@ethersproject/hash@^5.4.0": - version "5.4.0" - resolved "https://registry.yarnpkg.com/@ethersproject/hash/-/hash-5.4.0.tgz#d18a8e927e828e22860a011f39e429d388344ae0" - integrity sha512-xymAM9tmikKgbktOCjW60Z5sdouiIIurkZUr9oW5NOex5uwxrbsYG09kb5bMcNjlVeJD3yPivTNzViIs1GCbqA== - dependencies: - "@ethersproject/abstract-signer" "^5.4.0" - "@ethersproject/address" "^5.4.0" - "@ethersproject/bignumber" "^5.4.0" - "@ethersproject/bytes" "^5.4.0" - "@ethersproject/keccak256" "^5.4.0" - "@ethersproject/logger" "^5.4.0" - "@ethersproject/properties" "^5.4.0" - "@ethersproject/strings" "^5.4.0" - -"@ethersproject/hdnode@^5.4.0": - version "5.4.0" - resolved "https://registry.yarnpkg.com/@ethersproject/hdnode/-/hdnode-5.4.0.tgz#4bc9999b9a12eb5ce80c5faa83114a57e4107cac" - integrity sha512-pKxdS0KAaeVGfZPp1KOiDLB0jba11tG6OP1u11QnYfb7pXn6IZx0xceqWRr6ygke8+Kw74IpOoSi7/DwANhy8Q== - dependencies: - "@ethersproject/abstract-signer" "^5.4.0" - "@ethersproject/basex" "^5.4.0" - "@ethersproject/bignumber" "^5.4.0" - "@ethersproject/bytes" "^5.4.0" - "@ethersproject/logger" "^5.4.0" - "@ethersproject/pbkdf2" "^5.4.0" - "@ethersproject/properties" "^5.4.0" - "@ethersproject/sha2" "^5.4.0" - "@ethersproject/signing-key" "^5.4.0" - "@ethersproject/strings" "^5.4.0" - "@ethersproject/transactions" "^5.4.0" - "@ethersproject/wordlists" "^5.4.0" - -"@ethersproject/json-wallets@^5.4.0": - version "5.4.0" - resolved "https://registry.yarnpkg.com/@ethersproject/json-wallets/-/json-wallets-5.4.0.tgz#2583341cfe313fc9856642e8ace3080154145e95" - integrity sha512-igWcu3fx4aiczrzEHwG1xJZo9l1cFfQOWzTqwRw/xcvxTk58q4f9M7cjh51EKphMHvrJtcezJ1gf1q1AUOfEQQ== - dependencies: - "@ethersproject/abstract-signer" "^5.4.0" - "@ethersproject/address" "^5.4.0" - "@ethersproject/bytes" "^5.4.0" - "@ethersproject/hdnode" "^5.4.0" - "@ethersproject/keccak256" "^5.4.0" - "@ethersproject/logger" "^5.4.0" - "@ethersproject/pbkdf2" "^5.4.0" - "@ethersproject/properties" "^5.4.0" - "@ethersproject/random" "^5.4.0" - "@ethersproject/strings" "^5.4.0" - "@ethersproject/transactions" "^5.4.0" + version "5.5.0" + resolved "https://registry.yarnpkg.com/@ethersproject/contracts/-/contracts-5.5.0.tgz#b735260d4bd61283a670a82d5275e2a38892c197" + integrity sha512-2viY7NzyvJkh+Ug17v7g3/IJC8HqZBDcOjYARZLdzRxrfGlRgmYgl6xPRKVbEzy1dWKw/iv7chDcS83pg6cLxg== + dependencies: + "@ethersproject/abi" "^5.5.0" + "@ethersproject/abstract-provider" "^5.5.0" + "@ethersproject/abstract-signer" "^5.5.0" + "@ethersproject/address" "^5.5.0" + "@ethersproject/bignumber" "^5.5.0" + "@ethersproject/bytes" "^5.5.0" + "@ethersproject/constants" "^5.5.0" + "@ethersproject/logger" "^5.5.0" + "@ethersproject/properties" "^5.5.0" + "@ethersproject/transactions" "^5.5.0" + +"@ethersproject/hash@^5.5.0": + version "5.5.0" + resolved "https://registry.yarnpkg.com/@ethersproject/hash/-/hash-5.5.0.tgz#7cee76d08f88d1873574c849e0207dcb32380cc9" + integrity sha512-dnGVpK1WtBjmnp3mUT0PlU2MpapnwWI0PibldQEq1408tQBAbZpPidkWoVVuNMOl/lISO3+4hXZWCL3YV7qzfg== + dependencies: + "@ethersproject/abstract-signer" "^5.5.0" + "@ethersproject/address" "^5.5.0" + "@ethersproject/bignumber" "^5.5.0" + "@ethersproject/bytes" "^5.5.0" + "@ethersproject/keccak256" "^5.5.0" + "@ethersproject/logger" "^5.5.0" + "@ethersproject/properties" "^5.5.0" + "@ethersproject/strings" "^5.5.0" + +"@ethersproject/hdnode@^5.5.0": + version "5.5.0" + resolved "https://registry.yarnpkg.com/@ethersproject/hdnode/-/hdnode-5.5.0.tgz#4a04e28f41c546f7c978528ea1575206a200ddf6" + integrity sha512-mcSOo9zeUg1L0CoJH7zmxwUG5ggQHU1UrRf8jyTYy6HxdZV+r0PBoL1bxr+JHIPXRzS6u/UW4mEn43y0tmyF8Q== + dependencies: + "@ethersproject/abstract-signer" "^5.5.0" + "@ethersproject/basex" "^5.5.0" + "@ethersproject/bignumber" "^5.5.0" + "@ethersproject/bytes" "^5.5.0" + "@ethersproject/logger" "^5.5.0" + "@ethersproject/pbkdf2" "^5.5.0" + "@ethersproject/properties" "^5.5.0" + "@ethersproject/sha2" "^5.5.0" + "@ethersproject/signing-key" "^5.5.0" + "@ethersproject/strings" "^5.5.0" + "@ethersproject/transactions" "^5.5.0" + "@ethersproject/wordlists" "^5.5.0" + +"@ethersproject/json-wallets@^5.5.0": + version "5.5.0" + resolved "https://registry.yarnpkg.com/@ethersproject/json-wallets/-/json-wallets-5.5.0.tgz#dd522d4297e15bccc8e1427d247ec8376b60e325" + integrity sha512-9lA21XQnCdcS72xlBn1jfQdj2A1VUxZzOzi9UkNdnokNKke/9Ya2xA9aIK1SC3PQyBDLt4C+dfps7ULpkvKikQ== + dependencies: + "@ethersproject/abstract-signer" "^5.5.0" + "@ethersproject/address" "^5.5.0" + "@ethersproject/bytes" "^5.5.0" + "@ethersproject/hdnode" "^5.5.0" + "@ethersproject/keccak256" "^5.5.0" + "@ethersproject/logger" "^5.5.0" + "@ethersproject/pbkdf2" "^5.5.0" + "@ethersproject/properties" "^5.5.0" + "@ethersproject/random" "^5.5.0" + "@ethersproject/strings" "^5.5.0" + "@ethersproject/transactions" "^5.5.0" aes-js "3.0.0" scrypt-js "3.0.1" -"@ethersproject/keccak256@^5.4.0": - version "5.4.0" - resolved "https://registry.yarnpkg.com/@ethersproject/keccak256/-/keccak256-5.4.0.tgz#7143b8eea4976080241d2bd92e3b1f1bf7025318" - integrity sha512-FBI1plWet+dPUvAzPAeHzRKiPpETQzqSUWR1wXJGHVWi4i8bOSrpC3NwpkPjgeXG7MnugVc1B42VbfnQikyC/A== +"@ethersproject/keccak256@^5.5.0": + version "5.5.0" + resolved "https://registry.yarnpkg.com/@ethersproject/keccak256/-/keccak256-5.5.0.tgz#e4b1f9d7701da87c564ffe336f86dcee82983492" + integrity sha512-5VoFCTjo2rYbBe1l2f4mccaRFN/4VQEYFwwn04aJV2h7qf4ZvI2wFxUE1XOX+snbwCLRzIeikOqtAoPwMza9kg== dependencies: - "@ethersproject/bytes" "^5.4.0" - js-sha3 "0.5.7" + "@ethersproject/bytes" "^5.5.0" + js-sha3 "0.8.0" -"@ethersproject/logger@^5.4.0": - version "5.4.0" - resolved "https://registry.yarnpkg.com/@ethersproject/logger/-/logger-5.4.0.tgz#f39adadf62ad610c420bcd156fd41270e91b3ca9" - integrity sha512-xYdWGGQ9P2cxBayt64d8LC8aPFJk6yWCawQi/4eJ4+oJdMMjEBMrIcIMZ9AxhwpPVmnBPrsB10PcXGmGAqgUEQ== +"@ethersproject/logger@^5.5.0": + version "5.5.0" + resolved "https://registry.yarnpkg.com/@ethersproject/logger/-/logger-5.5.0.tgz#0c2caebeff98e10aefa5aef27d7441c7fd18cf5d" + integrity sha512-rIY/6WPm7T8n3qS2vuHTUBPdXHl+rGxWxW5okDfo9J4Z0+gRRZT0msvUdIJkE4/HS29GUMziwGaaKO2bWONBrg== -"@ethersproject/networks@^5.4.0": - version "5.4.2" - resolved "https://registry.yarnpkg.com/@ethersproject/networks/-/networks-5.4.2.tgz#2247d977626e97e2c3b8ee73cd2457babde0ce35" - integrity sha512-eekOhvJyBnuibfJnhtK46b8HimBc5+4gqpvd1/H9LEl7Q7/qhsIhM81dI9Fcnjpk3jB1aTy6bj0hz3cifhNeYw== +"@ethersproject/networks@^5.5.0": + version "5.5.0" + resolved "https://registry.yarnpkg.com/@ethersproject/networks/-/networks-5.5.0.tgz#babec47cab892c51f8dd652ce7f2e3e14283981a" + integrity sha512-KWfP3xOnJeF89Uf/FCJdV1a2aDJe5XTN2N52p4fcQ34QhDqQFkgQKZ39VGtiqUgHcLI8DfT0l9azC3KFTunqtA== dependencies: - "@ethersproject/logger" "^5.4.0" + "@ethersproject/logger" "^5.5.0" -"@ethersproject/pbkdf2@^5.4.0": - version "5.4.0" - resolved "https://registry.yarnpkg.com/@ethersproject/pbkdf2/-/pbkdf2-5.4.0.tgz#ed88782a67fda1594c22d60d0ca911a9d669641c" - integrity sha512-x94aIv6tiA04g6BnazZSLoRXqyusawRyZWlUhKip2jvoLpzJuLb//KtMM6PEovE47pMbW+Qe1uw+68ameJjB7g== +"@ethersproject/pbkdf2@^5.5.0": + version "5.5.0" + resolved "https://registry.yarnpkg.com/@ethersproject/pbkdf2/-/pbkdf2-5.5.0.tgz#e25032cdf02f31505d47afbf9c3e000d95c4a050" + integrity sha512-SaDvQFvXPnz1QGpzr6/HToLifftSXGoXrbpZ6BvoZhmx4bNLHrxDe8MZisuecyOziP1aVEwzC2Hasj+86TgWVg== dependencies: - "@ethersproject/bytes" "^5.4.0" - "@ethersproject/sha2" "^5.4.0" + "@ethersproject/bytes" "^5.5.0" + "@ethersproject/sha2" "^5.5.0" -"@ethersproject/properties@^5.4.0": - version "5.4.0" - resolved "https://registry.yarnpkg.com/@ethersproject/properties/-/properties-5.4.0.tgz#38ba20539b44dcc5d5f80c45ad902017dcdbefe7" - integrity sha512-7jczalGVRAJ+XSRvNA6D5sAwT4gavLq3OXPuV/74o3Rd2wuzSL035IMpIMgei4CYyBdialJMrTqkOnzccLHn4A== +"@ethersproject/properties@^5.5.0": + version "5.5.0" + resolved "https://registry.yarnpkg.com/@ethersproject/properties/-/properties-5.5.0.tgz#61f00f2bb83376d2071baab02245f92070c59995" + integrity sha512-l3zRQg3JkD8EL3CPjNK5g7kMx4qSwiR60/uk5IVjd3oq1MZR5qUg40CNOoEJoX5wc3DyY5bt9EbMk86C7x0DNA== dependencies: - "@ethersproject/logger" "^5.4.0" + "@ethersproject/logger" "^5.5.0" "@ethersproject/providers@^5.4.4": - version "5.4.4" - resolved "https://registry.yarnpkg.com/@ethersproject/providers/-/providers-5.4.4.tgz#6729120317942fc0ab0ecdb35e944ec6bbedb795" - integrity sha512-mQevyXj2X2D3l8p/JGDYFZbODhZjW6On15DnCK4Xc9y6b+P0vqorQC/j46omWSm4cyo7BQ/rgfhXNYmvAfyZoQ== - dependencies: - "@ethersproject/abstract-provider" "^5.4.0" - "@ethersproject/abstract-signer" "^5.4.0" - "@ethersproject/address" "^5.4.0" - "@ethersproject/basex" "^5.4.0" - "@ethersproject/bignumber" "^5.4.0" - "@ethersproject/bytes" "^5.4.0" - "@ethersproject/constants" "^5.4.0" - "@ethersproject/hash" "^5.4.0" - "@ethersproject/logger" "^5.4.0" - "@ethersproject/networks" "^5.4.0" - "@ethersproject/properties" "^5.4.0" - "@ethersproject/random" "^5.4.0" - "@ethersproject/rlp" "^5.4.0" - "@ethersproject/sha2" "^5.4.0" - "@ethersproject/strings" "^5.4.0" - "@ethersproject/transactions" "^5.4.0" - "@ethersproject/web" "^5.4.0" + version "5.5.0" + resolved "https://registry.yarnpkg.com/@ethersproject/providers/-/providers-5.5.0.tgz#bc2876a8fe5e0053ed9828b1f3767ae46e43758b" + integrity sha512-xqMbDnS/FPy+J/9mBLKddzyLLAQFjrVff5g00efqxPzcAwXiR+SiCGVy6eJ5iAIirBOATjx7QLhDNPGV+AEQsw== + dependencies: + "@ethersproject/abstract-provider" "^5.5.0" + "@ethersproject/abstract-signer" "^5.5.0" + "@ethersproject/address" "^5.5.0" + "@ethersproject/basex" "^5.5.0" + "@ethersproject/bignumber" "^5.5.0" + "@ethersproject/bytes" "^5.5.0" + "@ethersproject/constants" "^5.5.0" + "@ethersproject/hash" "^5.5.0" + "@ethersproject/logger" "^5.5.0" + "@ethersproject/networks" "^5.5.0" + "@ethersproject/properties" "^5.5.0" + "@ethersproject/random" "^5.5.0" + "@ethersproject/rlp" "^5.5.0" + "@ethersproject/sha2" "^5.5.0" + "@ethersproject/strings" "^5.5.0" + "@ethersproject/transactions" "^5.5.0" + "@ethersproject/web" "^5.5.0" bech32 "1.1.4" ws "7.4.6" -"@ethersproject/random@^5.4.0": - version "5.4.0" - resolved "https://registry.yarnpkg.com/@ethersproject/random/-/random-5.4.0.tgz#9cdde60e160d024be39cc16f8de3b9ce39191e16" - integrity sha512-pnpWNQlf0VAZDEOVp1rsYQosmv2o0ITS/PecNw+mS2/btF8eYdspkN0vIXrCMtkX09EAh9bdk8GoXmFXM1eAKw== +"@ethersproject/random@^5.5.0": + version "5.5.0" + resolved "https://registry.yarnpkg.com/@ethersproject/random/-/random-5.5.0.tgz#305ed9e033ca537735365ac12eed88580b0f81f9" + integrity sha512-egGYZwZ/YIFKMHcoBUo8t3a8Hb/TKYX8BCBoLjudVCZh892welR3jOxgOmb48xznc9bTcMm7Tpwc1gHC1PFNFQ== dependencies: - "@ethersproject/bytes" "^5.4.0" - "@ethersproject/logger" "^5.4.0" + "@ethersproject/bytes" "^5.5.0" + "@ethersproject/logger" "^5.5.0" -"@ethersproject/rlp@^5.4.0": - version "5.4.0" - resolved "https://registry.yarnpkg.com/@ethersproject/rlp/-/rlp-5.4.0.tgz#de61afda5ff979454e76d3b3310a6c32ad060931" - integrity sha512-0I7MZKfi+T5+G8atId9QaQKHRvvasM/kqLyAH4XxBCBchAooH2EX5rL9kYZWwcm3awYV+XC7VF6nLhfeQFKVPg== +"@ethersproject/rlp@^5.5.0": + version "5.5.0" + resolved "https://registry.yarnpkg.com/@ethersproject/rlp/-/rlp-5.5.0.tgz#530f4f608f9ca9d4f89c24ab95db58ab56ab99a0" + integrity sha512-hLv8XaQ8PTI9g2RHoQGf/WSxBfTB/NudRacbzdxmst5VHAqd1sMibWG7SENzT5Dj3yZ3kJYx+WiRYEcQTAkcYA== dependencies: - "@ethersproject/bytes" "^5.4.0" - "@ethersproject/logger" "^5.4.0" + "@ethersproject/bytes" "^5.5.0" + "@ethersproject/logger" "^5.5.0" -"@ethersproject/sha2@^5.4.0": - version "5.4.0" - resolved "https://registry.yarnpkg.com/@ethersproject/sha2/-/sha2-5.4.0.tgz#c9a8db1037014cbc4e9482bd662f86c090440371" - integrity sha512-siheo36r1WD7Cy+bDdE1BJ8y0bDtqXCOxRMzPa4bV1TGt/eTUUt03BHoJNB6reWJD8A30E/pdJ8WFkq+/uz4Gg== +"@ethersproject/sha2@^5.5.0": + version "5.5.0" + resolved "https://registry.yarnpkg.com/@ethersproject/sha2/-/sha2-5.5.0.tgz#a40a054c61f98fd9eee99af2c3cc6ff57ec24db7" + integrity sha512-B5UBoglbCiHamRVPLA110J+2uqsifpZaTmid2/7W5rbtYVz6gus6/hSDieIU/6gaKIDcOj12WnOdiymEUHIAOA== dependencies: - "@ethersproject/bytes" "^5.4.0" - "@ethersproject/logger" "^5.4.0" + "@ethersproject/bytes" "^5.5.0" + "@ethersproject/logger" "^5.5.0" hash.js "1.1.7" -"@ethersproject/signing-key@^5.4.0": - version "5.4.0" - resolved "https://registry.yarnpkg.com/@ethersproject/signing-key/-/signing-key-5.4.0.tgz#2f05120984e81cf89a3d5f6dec5c68ee0894fbec" - integrity sha512-q8POUeywx6AKg2/jX9qBYZIAmKSB4ubGXdQ88l40hmATj29JnG5pp331nAWwwxPn2Qao4JpWHNZsQN+bPiSW9A== +"@ethersproject/signing-key@^5.5.0": + version "5.5.0" + resolved "https://registry.yarnpkg.com/@ethersproject/signing-key/-/signing-key-5.5.0.tgz#2aa37169ce7e01e3e80f2c14325f624c29cedbe0" + integrity sha512-5VmseH7qjtNmDdZBswavhotYbWB0bOwKIlOTSlX14rKn5c11QmJwGt4GHeo7NrL/Ycl7uo9AHvEqs5xZgFBTng== dependencies: - "@ethersproject/bytes" "^5.4.0" - "@ethersproject/logger" "^5.4.0" - "@ethersproject/properties" "^5.4.0" + "@ethersproject/bytes" "^5.5.0" + "@ethersproject/logger" "^5.5.0" + "@ethersproject/properties" "^5.5.0" bn.js "^4.11.9" elliptic "6.5.4" hash.js "1.1.7" "@ethersproject/solidity@^5.4.0": - version "5.4.0" - resolved "https://registry.yarnpkg.com/@ethersproject/solidity/-/solidity-5.4.0.tgz#1305e058ea02dc4891df18b33232b11a14ece9ec" - integrity sha512-XFQTZ7wFSHOhHcV1DpcWj7VXECEiSrBuv7JErJvB9Uo+KfCdc3QtUZV+Vjh/AAaYgezUEKbCtE6Khjm44seevQ== - dependencies: - "@ethersproject/bignumber" "^5.4.0" - "@ethersproject/bytes" "^5.4.0" - "@ethersproject/keccak256" "^5.4.0" - "@ethersproject/sha2" "^5.4.0" - "@ethersproject/strings" "^5.4.0" - -"@ethersproject/strings@^5.4.0": - version "5.4.0" - resolved "https://registry.yarnpkg.com/@ethersproject/strings/-/strings-5.4.0.tgz#fb12270132dd84b02906a8d895ae7e7fa3d07d9a" - integrity sha512-k/9DkH5UGDhv7aReXLluFG5ExurwtIpUfnDNhQA29w896Dw3i4uDTz01Quaptbks1Uj9kI8wo9tmW73wcIEaWA== - dependencies: - "@ethersproject/bytes" "^5.4.0" - "@ethersproject/constants" "^5.4.0" - "@ethersproject/logger" "^5.4.0" - -"@ethersproject/transactions@^5.4.0": - version "5.4.0" - resolved "https://registry.yarnpkg.com/@ethersproject/transactions/-/transactions-5.4.0.tgz#a159d035179334bd92f340ce0f77e83e9e1522e0" - integrity sha512-s3EjZZt7xa4BkLknJZ98QGoIza94rVjaEed0rzZ/jB9WrIuu/1+tjvYCWzVrystXtDswy7TPBeIepyXwSYa4WQ== - dependencies: - "@ethersproject/address" "^5.4.0" - "@ethersproject/bignumber" "^5.4.0" - "@ethersproject/bytes" "^5.4.0" - "@ethersproject/constants" "^5.4.0" - "@ethersproject/keccak256" "^5.4.0" - "@ethersproject/logger" "^5.4.0" - "@ethersproject/properties" "^5.4.0" - "@ethersproject/rlp" "^5.4.0" - "@ethersproject/signing-key" "^5.4.0" + version "5.5.0" + resolved "https://registry.yarnpkg.com/@ethersproject/solidity/-/solidity-5.5.0.tgz#2662eb3e5da471b85a20531e420054278362f93f" + integrity sha512-9NgZs9LhGMj6aCtHXhtmFQ4AN4sth5HuFXVvAQtzmm0jpSCNOTGtrHZJAeYTh7MBjRR8brylWZxBZR9zDStXbw== + dependencies: + "@ethersproject/bignumber" "^5.5.0" + "@ethersproject/bytes" "^5.5.0" + "@ethersproject/keccak256" "^5.5.0" + "@ethersproject/logger" "^5.5.0" + "@ethersproject/sha2" "^5.5.0" + "@ethersproject/strings" "^5.5.0" + +"@ethersproject/strings@^5.5.0": + version "5.5.0" + resolved "https://registry.yarnpkg.com/@ethersproject/strings/-/strings-5.5.0.tgz#e6784d00ec6c57710755699003bc747e98c5d549" + integrity sha512-9fy3TtF5LrX/wTrBaT8FGE6TDJyVjOvXynXJz5MT5azq+E6D92zuKNx7i29sWW2FjVOaWjAsiZ1ZWznuduTIIQ== + dependencies: + "@ethersproject/bytes" "^5.5.0" + "@ethersproject/constants" "^5.5.0" + "@ethersproject/logger" "^5.5.0" + +"@ethersproject/transactions@^5.4.0", "@ethersproject/transactions@^5.5.0": + version "5.5.0" + resolved "https://registry.yarnpkg.com/@ethersproject/transactions/-/transactions-5.5.0.tgz#7e9bf72e97bcdf69db34fe0d59e2f4203c7a2908" + integrity sha512-9RZYSKX26KfzEd/1eqvv8pLauCKzDTub0Ko4LfIgaERvRuwyaNV78mJs7cpIgZaDl6RJui4o49lHwwCM0526zA== + dependencies: + "@ethersproject/address" "^5.5.0" + "@ethersproject/bignumber" "^5.5.0" + "@ethersproject/bytes" "^5.5.0" + "@ethersproject/constants" "^5.5.0" + "@ethersproject/keccak256" "^5.5.0" + "@ethersproject/logger" "^5.5.0" + "@ethersproject/properties" "^5.5.0" + "@ethersproject/rlp" "^5.5.0" + "@ethersproject/signing-key" "^5.5.0" "@ethersproject/wallet@^5.4.0": - version "5.4.0" - resolved "https://registry.yarnpkg.com/@ethersproject/wallet/-/wallet-5.4.0.tgz#fa5b59830b42e9be56eadd45a16a2e0933ad9353" - integrity sha512-wU29majLjM6AjCjpat21mPPviG+EpK7wY1+jzKD0fg3ui5fgedf2zEu1RDgpfIMsfn8fJHJuzM4zXZ2+hSHaSQ== - dependencies: - "@ethersproject/abstract-provider" "^5.4.0" - "@ethersproject/abstract-signer" "^5.4.0" - "@ethersproject/address" "^5.4.0" - "@ethersproject/bignumber" "^5.4.0" - "@ethersproject/bytes" "^5.4.0" - "@ethersproject/hash" "^5.4.0" - "@ethersproject/hdnode" "^5.4.0" - "@ethersproject/json-wallets" "^5.4.0" - "@ethersproject/keccak256" "^5.4.0" - "@ethersproject/logger" "^5.4.0" - "@ethersproject/properties" "^5.4.0" - "@ethersproject/random" "^5.4.0" - "@ethersproject/signing-key" "^5.4.0" - "@ethersproject/transactions" "^5.4.0" - "@ethersproject/wordlists" "^5.4.0" - -"@ethersproject/web@^5.4.0": - version "5.4.0" - resolved "https://registry.yarnpkg.com/@ethersproject/web/-/web-5.4.0.tgz#49fac173b96992334ed36a175538ba07a7413d1f" - integrity sha512-1bUusGmcoRLYgMn6c1BLk1tOKUIFuTg8j+6N8lYlbMpDesnle+i3pGSagGNvwjaiLo4Y5gBibwctpPRmjrh4Og== - dependencies: - "@ethersproject/base64" "^5.4.0" - "@ethersproject/bytes" "^5.4.0" - "@ethersproject/logger" "^5.4.0" - "@ethersproject/properties" "^5.4.0" - "@ethersproject/strings" "^5.4.0" - -"@ethersproject/wordlists@^5.4.0": - version "5.4.0" - resolved "https://registry.yarnpkg.com/@ethersproject/wordlists/-/wordlists-5.4.0.tgz#f34205ec3bbc9e2c49cadaee774cf0b07e7573d7" - integrity sha512-FemEkf6a+EBKEPxlzeVgUaVSodU7G0Na89jqKjmWMlDB0tomoU8RlEMgUvXyqtrg8N4cwpLh8nyRnm1Nay1isA== - dependencies: - "@ethersproject/bytes" "^5.4.0" - "@ethersproject/hash" "^5.4.0" - "@ethersproject/logger" "^5.4.0" - "@ethersproject/properties" "^5.4.0" - "@ethersproject/strings" "^5.4.0" + version "5.5.0" + resolved "https://registry.yarnpkg.com/@ethersproject/wallet/-/wallet-5.5.0.tgz#322a10527a440ece593980dca6182f17d54eae75" + integrity sha512-Mlu13hIctSYaZmUOo7r2PhNSd8eaMPVXe1wxrz4w4FCE4tDYBywDH+bAR1Xz2ADyXGwqYMwstzTrtUVIsKDO0Q== + dependencies: + "@ethersproject/abstract-provider" "^5.5.0" + "@ethersproject/abstract-signer" "^5.5.0" + "@ethersproject/address" "^5.5.0" + "@ethersproject/bignumber" "^5.5.0" + "@ethersproject/bytes" "^5.5.0" + "@ethersproject/hash" "^5.5.0" + "@ethersproject/hdnode" "^5.5.0" + "@ethersproject/json-wallets" "^5.5.0" + "@ethersproject/keccak256" "^5.5.0" + "@ethersproject/logger" "^5.5.0" + "@ethersproject/properties" "^5.5.0" + "@ethersproject/random" "^5.5.0" + "@ethersproject/signing-key" "^5.5.0" + "@ethersproject/transactions" "^5.5.0" + "@ethersproject/wordlists" "^5.5.0" + +"@ethersproject/web@^5.5.0": + version "5.5.0" + resolved "https://registry.yarnpkg.com/@ethersproject/web/-/web-5.5.0.tgz#0e5bb21a2b58fb4960a705bfc6522a6acf461e28" + integrity sha512-BEgY0eL5oH4mAo37TNYVrFeHsIXLRxggCRG/ksRIxI2X5uj5IsjGmcNiRN/VirQOlBxcUhCgHhaDLG4m6XAVoA== + dependencies: + "@ethersproject/base64" "^5.5.0" + "@ethersproject/bytes" "^5.5.0" + "@ethersproject/logger" "^5.5.0" + "@ethersproject/properties" "^5.5.0" + "@ethersproject/strings" "^5.5.0" + +"@ethersproject/wordlists@^5.5.0": + version "5.5.0" + resolved "https://registry.yarnpkg.com/@ethersproject/wordlists/-/wordlists-5.5.0.tgz#aac74963aa43e643638e5172353d931b347d584f" + integrity sha512-bL0UTReWDiaQJJYOC9sh/XcRu/9i2jMrzf8VLRmPKx58ckSlOJiohODkECCO50dtLZHcGU6MLXQ4OOrgBwP77Q== + dependencies: + "@ethersproject/bytes" "^5.5.0" + "@ethersproject/hash" "^5.5.0" + "@ethersproject/logger" "^5.5.0" + "@ethersproject/properties" "^5.5.0" + "@ethersproject/strings" "^5.5.0" "@humanwhocodes/config-array@^0.5.0": version "0.5.0" @@ -658,9 +658,9 @@ minimatch "^3.0.4" "@humanwhocodes/object-schema@^1.2.0": - version "1.2.0" - resolved "https://registry.yarnpkg.com/@humanwhocodes/object-schema/-/object-schema-1.2.0.tgz#87de7af9c231826fdd68ac7258f77c429e0e5fcf" - integrity sha512-wdppn25U8z/2yiaT6YGquE6X8sSv7hNMWSXYSSU1jGv/yd6XqjXgTDJ8KP4NgjTXfJ3GbRjeeb8RTV7a/VpM+w== + version "1.2.1" + resolved "https://registry.yarnpkg.com/@humanwhocodes/object-schema/-/object-schema-1.2.1.tgz#b520529ec21d8e5945a1851dfd1c32e94e39ff45" + integrity sha512-ZnQMnLV4e7hDlUvw8H+U8ASL02SS2Gn6+9Ac3wGGLIe7+je2AeAOxPY+izIPJDfFDb7eDjev0Us8MO1iFRN8hA== "@manypkg/find-root@^1.1.0": version "1.1.0" @@ -673,35 +673,36 @@ fs-extra "^8.1.0" "@manypkg/get-packages@^1.0.1": - version "1.1.1" - resolved "https://registry.yarnpkg.com/@manypkg/get-packages/-/get-packages-1.1.1.tgz#7c7e72d0061ab2e61d2ce4da58ce91290a60ac8d" - integrity sha512-J6VClfQSVgR6958eIDTGjfdCrELy1eT+SHeoSMomnvRQVktZMnEA5edIr5ovRFNw5y+Bk/jyoevPzGYod96mhw== + version "1.1.3" + resolved "https://registry.yarnpkg.com/@manypkg/get-packages/-/get-packages-1.1.3.tgz#e184db9bba792fa4693de4658cfb1463ac2c9c47" + integrity sha512-fo+QhuU3qE/2TQMQmbVMqaQ6EWbMhi4ABWP+O4AM1NqPBuy0OrApV5LO6BrrgnhtAHS2NH6RrVk9OL181tTi8A== dependencies: "@babel/runtime" "^7.5.5" + "@changesets/types" "^4.0.1" "@manypkg/find-root" "^1.1.0" fs-extra "^8.1.0" globby "^11.0.0" read-yaml-file "^1.1.0" -"@nodelib/fs.scandir@2.1.4": - version "2.1.4" - resolved "https://registry.yarnpkg.com/@nodelib/fs.scandir/-/fs.scandir-2.1.4.tgz#d4b3549a5db5de2683e0c1071ab4f140904bbf69" - integrity sha512-33g3pMJk3bg5nXbL/+CY6I2eJDzZAni49PfJnL5fghPTggPvBd/pFNSgJsdAgWptuFu7qq/ERvOYFlhvsLTCKA== +"@nodelib/fs.scandir@2.1.5": + version "2.1.5" + resolved "https://registry.yarnpkg.com/@nodelib/fs.scandir/-/fs.scandir-2.1.5.tgz#7619c2eb21b25483f6d167548b4cfd5a7488c3d5" + integrity sha512-vq24Bq3ym5HEQm2NKCr3yXDwjc7vTsEThRDnkp2DK9p1uqLR+DHurm/NOTo0KG7HYHU7eppKZj3MyqYuMBf62g== dependencies: - "@nodelib/fs.stat" "2.0.4" + "@nodelib/fs.stat" "2.0.5" run-parallel "^1.1.9" -"@nodelib/fs.stat@2.0.4", "@nodelib/fs.stat@^2.0.2": - version "2.0.4" - resolved "https://registry.yarnpkg.com/@nodelib/fs.stat/-/fs.stat-2.0.4.tgz#a3f2dd61bab43b8db8fa108a121cfffe4c676655" - integrity sha512-IYlHJA0clt2+Vg7bccq+TzRdJvv19c2INqBSsoOLp1je7xjtr7J26+WXR72MCdvU9q1qTzIWDfhMf+DRvQJK4Q== +"@nodelib/fs.stat@2.0.5", "@nodelib/fs.stat@^2.0.2": + version "2.0.5" + resolved "https://registry.yarnpkg.com/@nodelib/fs.stat/-/fs.stat-2.0.5.tgz#5bd262af94e9d25bd1e71b05deed44876a222e8b" + integrity sha512-RkhPPp2zrqDAQA/2jNhnztcPAlv64XdhIp7a7454A5ovI7Bukxgt7MX7udwAu3zg1DcpPU0rz3VV1SeaqvY4+A== "@nodelib/fs.walk@^1.2.3": - version "1.2.6" - resolved "https://registry.yarnpkg.com/@nodelib/fs.walk/-/fs.walk-1.2.6.tgz#cce9396b30aa5afe9e3756608f5831adcb53d063" - integrity sha512-8Broas6vTtW4GIXTAHDoE32hnN2M5ykgCpWGbuXHQ15vEMqr23pB76e/GZcYsZCHALv50ktd24qhEyKr6wBtow== + version "1.2.8" + resolved "https://registry.yarnpkg.com/@nodelib/fs.walk/-/fs.walk-1.2.8.tgz#e95737e8bb6746ddedf69c556953494f196fe69a" + integrity sha512-oGB+UxlgWcgQkgwo8GcEGwemoTFt3FIO9ababBmaGwXIoBKZ+GTy0pP185beGg7Llih/NSHSV2XAs1lnznocSg== dependencies: - "@nodelib/fs.scandir" "2.1.4" + "@nodelib/fs.scandir" "2.1.5" fastq "^1.6.0" "@sentry/core@5.30.0": @@ -772,11 +773,6 @@ "@sentry/types" "5.30.0" tslib "^1.9.3" -"@solidity-parser/parser@^0.11.0": - version "0.11.1" - resolved "https://registry.yarnpkg.com/@solidity-parser/parser/-/parser-0.11.1.tgz#fa840af64840c930f24a9c82c08d4a092a068add" - integrity sha512-H8BSBoKE8EubJa0ONqecA2TviT3TnHeC4NpgnAHSUiuhZoQBfPB4L2P9bs8R6AoTW10Endvh3vc+fomVMIDIYQ== - "@solidity-parser/parser@^0.13.2": version "0.13.2" resolved "https://registry.yarnpkg.com/@solidity-parser/parser/-/parser-0.13.2.tgz#b6c71d8ca0b382d90a7bbed241f9bc110af65cbe" @@ -784,15 +780,22 @@ dependencies: antlr4ts "^0.5.0-alpha.4" +"@solidity-parser/parser@^0.14.0": + version "0.14.0" + resolved "https://registry.yarnpkg.com/@solidity-parser/parser/-/parser-0.14.0.tgz#d51f074efb0acce0e953ec48133561ed710cebc0" + integrity sha512-cX0JJRcmPtNUJpzD2K7FdA7qQsTOk1UZnFx2k7qAg9ZRvuaH5NBe5IEdBMXGlmf2+FmjhqbygJ26H8l2SV7aKQ== + dependencies: + antlr4ts "^0.5.0-alpha.4" + "@tsconfig/node10@^1.0.7": version "1.0.8" resolved "https://registry.yarnpkg.com/@tsconfig/node10/-/node10-1.0.8.tgz#c1e4e80d6f964fbecb3359c43bd48b40f7cadad9" integrity sha512-6XFfSQmMgq0CFLY1MslA/CPUfhIL919M1rMsa5lP2P097N2Wd1sSX0tx1u4olM16fLNhtHZpRhedZJphNJqmZg== "@tsconfig/node12@^1.0.7": - version "1.0.8" - resolved "https://registry.yarnpkg.com/@tsconfig/node12/-/node12-1.0.8.tgz#a883d62f049a64fea1e56a6bbe66828d11c6241b" - integrity sha512-LM6XwBhjZRls1qJGpiM/It09SntEwe9M0riXRfQ9s6XlJQG0JPGl92ET18LtGeYh/GuOtafIXqwZeqLOd0FNFQ== + version "1.0.9" + resolved "https://registry.yarnpkg.com/@tsconfig/node12/-/node12-1.0.9.tgz#62c1f6dee2ebd9aead80dc3afa56810e58e1a04c" + integrity sha512-/yBMcem+fbvhSREH+s14YJi18sp7J9jpuhYByADT2rypfajMZZN4WQ6zBGgBKp53NKmqI36wFYDb3yaMPurITw== "@tsconfig/node14@^1.0.0": version "1.0.1" @@ -805,9 +808,9 @@ integrity sha512-eZxlbI8GZscaGS7kkc/trHTT5xgrjH3/1n2JDwusC9iahPKWMRvRjJSAN5mCXviuTGQ/lHnhvv8Q1YTpnfz9gA== "@types/abstract-leveldown@*": - version "5.0.1" - resolved "https://registry.yarnpkg.com/@types/abstract-leveldown/-/abstract-leveldown-5.0.1.tgz#3c7750d0186b954c7f2d2f6acc8c3c7ba0c3412e" - integrity sha512-wYxU3kp5zItbxKmeRYCEplS2MW7DzyBnxPGj+GJVHZEUZiK/nn5Ei1sUFgURDh+X051+zsGe28iud3oHjrYWQQ== + version "5.0.2" + resolved "https://registry.yarnpkg.com/@types/abstract-leveldown/-/abstract-leveldown-5.0.2.tgz#ee81917fe38f770e29eec8139b6f16ee4a8b0a5f" + integrity sha512-+jA1XXF3jsz+Z7FcuiNqgK53hTa/luglT2TyTpKPqoYbxVY+mCPF22Rm+q3KPBrMHJwNXFrTViHszBOfU4vftQ== "@types/bn.js@^4.11.3": version "4.11.6" @@ -824,9 +827,9 @@ "@types/node" "*" "@types/chai@^4.2.21": - version "4.2.21" - resolved "https://registry.yarnpkg.com/@types/chai/-/chai-4.2.21.tgz#9f35a5643129df132cf3b5c1ec64046ea1af0650" - integrity sha512-yd+9qKmJxm496BOV9CMNaey8TWsikaZOwMRwPHQIjcOJM9oV+fi9ZMNw3JsVnbEEbo2gRTDnGEBv8pjyn67hNg== + version "4.2.22" + resolved "https://registry.yarnpkg.com/@types/chai/-/chai-4.2.22.tgz#47020d7e4cf19194d43b5202f35f75bd2ad35ce7" + integrity sha512-tFfcE+DSTzWAgifkjik9AySNqIyNoYwmR+uecPwwD/XRNfvOjmC/FjCxpiUGDkDVDphPfCUecSQVFw+lN3M3kQ== "@types/debug@^4.1.7": version "4.1.7" @@ -836,34 +839,40 @@ "@types/ms" "*" "@types/fs-extra@^9.0.12": - version "9.0.12" - resolved "https://registry.yarnpkg.com/@types/fs-extra/-/fs-extra-9.0.12.tgz#9b8f27973df8a7a3920e8461517ebf8a7d4fdfaf" - integrity sha512-I+bsBr67CurCGnSenZZ7v94gd3tc3+Aj2taxMT4yu4ABLuOgOjeFxX3dokG24ztSRg5tnT00sL8BszO7gSMoIw== + version "9.0.13" + resolved "https://registry.yarnpkg.com/@types/fs-extra/-/fs-extra-9.0.13.tgz#7594fbae04fe7f1918ce8b3d213f74ff44ac1f45" + integrity sha512-nEnwB++1u5lVDM2UI4c1+5R+FYaKfaAzS4OococimjVm3nQw3TuzH5UNsocrcTBbhnerblyHj4A49qXbIiZdpA== dependencies: "@types/node" "*" "@types/json-schema@^7.0.7": - version "7.0.7" - resolved "https://registry.yarnpkg.com/@types/json-schema/-/json-schema-7.0.7.tgz#98a993516c859eb0d5c4c8f098317a9ea68db9ad" - integrity sha512-cxWFQVseBm6O9Gbw1IWb8r6OS4OhSt3hPZLkFApLjM8TEXROBuQGLAH2i2gZpcXdLBIrpXuTDhH7Vbm1iXmNGA== + version "7.0.9" + resolved "https://registry.yarnpkg.com/@types/json-schema/-/json-schema-7.0.9.tgz#97edc9037ea0c38585320b28964dde3b39e4660d" + integrity sha512-qcUXuemtEu+E5wZSJHNxUXeCZhAfXKQ41D+duX+VYPde7xyEVZci+/oXKJL13tnRs9lR2pr4fod59GT6/X1/yQ== + +"@types/level-errors@*": + version "3.0.0" + resolved "https://registry.yarnpkg.com/@types/level-errors/-/level-errors-3.0.0.tgz#15c1f4915a5ef763b51651b15e90f6dc081b96a8" + integrity sha512-/lMtoq/Cf/2DVOm6zE6ORyOM+3ZVm/BvzEZVxUhf6bgh8ZHglXlBqxbxSlJeVp8FCbD3IVvk/VbsaNmDjrQvqQ== "@types/levelup@^4.3.0": - version "4.3.1" - resolved "https://registry.yarnpkg.com/@types/levelup/-/levelup-4.3.1.tgz#7a53b9fd510716e11b2065332790fdf5f9b950b9" - integrity sha512-n//PeTpbHLjMLTIgW5B/g06W/6iuTBHuvUka2nFL9APMSVMNe2r4enADfu3CIE9IyV9E+uquf9OEQQqrDeg24A== + version "4.3.3" + resolved "https://registry.yarnpkg.com/@types/levelup/-/levelup-4.3.3.tgz#4dc2b77db079b1cf855562ad52321aa4241b8ef4" + integrity sha512-K+OTIjJcZHVlZQN1HmU64VtrC0jC3dXWQozuEIR9zVvltIk90zaGPM2AgT+fIkChpzHhFE3YnvFLCbLtzAmexA== dependencies: "@types/abstract-leveldown" "*" + "@types/level-errors" "*" "@types/node" "*" "@types/lru-cache@^5.1.0": - version "5.1.0" - resolved "https://registry.yarnpkg.com/@types/lru-cache/-/lru-cache-5.1.0.tgz#57f228f2b80c046b4a1bd5cac031f81f207f4f03" - integrity sha512-RaE0B+14ToE4l6UqdarKPnXwVDuigfFv+5j9Dze/Nqr23yyuqdNvzcZi3xB+3Agvi5R4EOgAksfv3lXX4vBt9w== + version "5.1.1" + resolved "https://registry.yarnpkg.com/@types/lru-cache/-/lru-cache-5.1.1.tgz#c48c2e27b65d2a153b19bfc1a317e30872e01eef" + integrity sha512-ssE3Vlrys7sdIzs5LOxCzTVMsU7i9oa/IaW92wF32JFb3CVczqOkru2xspuKczHEbG3nvmPY7IFqVmGGHdNbYw== "@types/minimist@^1.2.0": - version "1.2.1" - resolved "https://registry.yarnpkg.com/@types/minimist/-/minimist-1.2.1.tgz#283f669ff76d7b8260df8ab7a4262cc83d988256" - integrity sha512-fZQQafSREFyuZcdWFAExYjBiCL7AUCdgsk80iO0q4yihYYdcIiH28CcuPTGFgLOCC8RlW49GSQxdHwZP+I7CNg== + version "1.2.2" + resolved "https://registry.yarnpkg.com/@types/minimist/-/minimist-1.2.2.tgz#ee771e2ba4b3dc5b372935d549fd9617bf345b8c" + integrity sha512-jhuKLIRrhvCPLqwPcx6INqmKeiA5EWrsCOPhrlFSrbrmU4ZMPjj5Ul/oLCMDO98XRUIwVm78xICz4EPCektzeQ== "@types/mocha@^9.0.0": version "9.0.0" @@ -875,25 +884,20 @@ resolved "https://registry.yarnpkg.com/@types/ms/-/ms-0.7.31.tgz#31b7ca6407128a3d2bbc27fe2d21b345397f6197" integrity sha512-iiUgKzV9AuaEkZqkOLDIvlQiL6ltuZd9tGcW3gwpnX8JbuiuhFlEGmmFXEXkN50Cvq7Os88IY2v0dkDqXYWVgA== -"@types/node@*": - version "14.14.41" - resolved "https://registry.yarnpkg.com/@types/node/-/node-14.14.41.tgz#d0b939d94c1d7bd53d04824af45f1139b8c45615" - integrity sha512-dueRKfaJL4RTtSa7bWeTK1M+VH+Gns73oCgzvYfHZywRCoPSd8EkXBL0mZ9unPTveBn+D9phZBaxuzpwjWkW0g== +"@types/node@*", "@types/node@^16.6.2": + version "16.11.7" + resolved "https://registry.yarnpkg.com/@types/node/-/node-16.11.7.tgz#36820945061326978c42a01e56b61cd223dfdc42" + integrity sha512-QB5D2sqfSjCmTuWcBWyJ+/44bcjO7VbjSbOE0ucoVbAsSNQc4Lt6QkgkVXkTDwkL4z/beecZNDvVX15D4P8Jbw== "@types/node@^12.7.1": - version "12.20.10" - resolved "https://registry.yarnpkg.com/@types/node/-/node-12.20.10.tgz#4dcb8a85a8f1211acafb88d72fafc7e3d2685583" - integrity sha512-TxCmnSSppKBBOzYzPR2BR25YlX5Oay8z2XGwFBInuA/Co0V9xJhLlW4kjbxKtgeNo3NOMbQP1A5Rc03y+XecPw== - -"@types/node@^16.6.2": - version "16.6.2" - resolved "https://registry.yarnpkg.com/@types/node/-/node-16.6.2.tgz#331b7b9f8621c638284787c5559423822fdffc50" - integrity sha512-LSw8TZt12ZudbpHc6EkIyDM3nHVWKYrAvGy6EAJfNfjusbwnThqjqxUKKRwuV3iWYeW/LYMzNgaq3MaLffQ2xA== + version "12.20.37" + resolved "https://registry.yarnpkg.com/@types/node/-/node-12.20.37.tgz#abb38afa9d6e8a2f627a8cb52290b3c80fbe61ed" + integrity sha512-i1KGxqcvJaLQali+WuypQnXwcplhtNtjs66eNsZpp2P2FL/trJJxx/VWsM0YCL2iMoIJrbXje48lvIQAQ4p2ZA== "@types/normalize-package-data@^2.4.0": - version "2.4.0" - resolved "https://registry.yarnpkg.com/@types/normalize-package-data/-/normalize-package-data-2.4.0.tgz#e486d0d97396d79beedd0a6e33f4534ff6b4973e" - integrity sha512-f5j5b/Gf71L+dbqxIpQ4Z2WlmI/mPJ0fOkGGmFgtb6sAu97EPczzbS3/tJKxmcYDj55OX6ssqwDAWOHIYDRDGA== + version "2.4.1" + resolved "https://registry.yarnpkg.com/@types/normalize-package-data/-/normalize-package-data-2.4.1.tgz#d3357479a0fdfdd5907fe67e17e0a85c906e1301" + integrity sha512-Gj7cI7z+98M282Tqmp2K5EIsoouUEzbBJhQQzDE3jSIRk6r9gsz0oUokqIUR4u1R3dMHo0pDHM7sNOHyhulypw== "@types/pbkdf2@^3.0.0": version "3.1.0" @@ -908,84 +912,85 @@ integrity sha512-FGa1F62FT09qcrueBA6qYTrJPVDzah9a+493+o2PCXsesWHIn27G98TsSMs3WPNbZIEj4+VJf6saSFpvD+3Zsw== "@types/secp256k1@^4.0.1": - version "4.0.2" - resolved "https://registry.yarnpkg.com/@types/secp256k1/-/secp256k1-4.0.2.tgz#20c29a87149d980f64464e56539bf4810fdb5d1d" - integrity sha512-QMg+9v0bbNJ2peLuHRWxzmy0HRJIG6gFZNhaRSp7S3ggSbCCxiqQB2/ybvhXyhHOCequpNkrx7OavNhrWOsW0A== + version "4.0.3" + resolved "https://registry.yarnpkg.com/@types/secp256k1/-/secp256k1-4.0.3.tgz#1b8e55d8e00f08ee7220b4d59a6abe89c37a901c" + integrity sha512-Da66lEIFeIz9ltsdMZcpQvmrmmoqrfju8pm1BH8WbYjZSwUgCwXLb9C+9XYogwBITnbsSaMdVPb2ekf7TV+03w== dependencies: "@types/node" "*" "@types/semver@^6.0.0": - version "6.2.2" - resolved "https://registry.yarnpkg.com/@types/semver/-/semver-6.2.2.tgz#5c27df09ca39e3c9beb4fae6b95f4d71426df0a9" - integrity sha512-RxAwYt4rGwK5GyoRwuP0jT6ZHAVTdz2EqgsHmX0PYNjGsko+OeT4WFXXTs/lM3teJUJodM+SNtAL5/pXIJ61IQ== + version "6.2.3" + resolved "https://registry.yarnpkg.com/@types/semver/-/semver-6.2.3.tgz#5798ecf1bec94eaa64db39ee52808ec0693315aa" + integrity sha512-KQf+QAMWKMrtBMsB8/24w53tEsxllMj6TuA80TT/5igJalLI/zm0L3oXRbIAl4Ohfc85gyHX/jhMwsVkmhLU4A== "@typescript-eslint/eslint-plugin@^4.29.2": - version "4.29.2" - resolved "https://registry.yarnpkg.com/@typescript-eslint/eslint-plugin/-/eslint-plugin-4.29.2.tgz#f54dc0a32b8f61c6024ab8755da05363b733838d" - integrity sha512-x4EMgn4BTfVd9+Z+r+6rmWxoAzBaapt4QFqE+d8L8sUtYZYLDTK6VG/y/SMMWA5t1/BVU5Kf+20rX4PtWzUYZg== + version "4.33.0" + resolved "https://registry.yarnpkg.com/@typescript-eslint/eslint-plugin/-/eslint-plugin-4.33.0.tgz#c24dc7c8069c7706bc40d99f6fa87edcb2005276" + integrity sha512-aINiAxGVdOl1eJyVjaWn/YcVAq4Gi/Yo35qHGCnqbWVz61g39D0h23veY/MA0rFFGfxK7TySg2uwDeNv+JgVpg== dependencies: - "@typescript-eslint/experimental-utils" "4.29.2" - "@typescript-eslint/scope-manager" "4.29.2" + "@typescript-eslint/experimental-utils" "4.33.0" + "@typescript-eslint/scope-manager" "4.33.0" debug "^4.3.1" functional-red-black-tree "^1.0.1" + ignore "^5.1.8" regexpp "^3.1.0" semver "^7.3.5" tsutils "^3.21.0" -"@typescript-eslint/experimental-utils@4.29.2": - version "4.29.2" - resolved "https://registry.yarnpkg.com/@typescript-eslint/experimental-utils/-/experimental-utils-4.29.2.tgz#5f67fb5c5757ef2cb3be64817468ba35c9d4e3b7" - integrity sha512-P6mn4pqObhftBBPAv4GQtEK7Yos1fz/MlpT7+YjH9fTxZcALbiiPKuSIfYP/j13CeOjfq8/fr9Thr2glM9ub7A== +"@typescript-eslint/experimental-utils@4.33.0": + version "4.33.0" + resolved "https://registry.yarnpkg.com/@typescript-eslint/experimental-utils/-/experimental-utils-4.33.0.tgz#6f2a786a4209fa2222989e9380b5331b2810f7fd" + integrity sha512-zeQjOoES5JFjTnAhI5QY7ZviczMzDptls15GFsI6jyUOq0kOf9+WonkhtlIhh0RgHRnqj5gdNxW5j1EvAyYg6Q== dependencies: "@types/json-schema" "^7.0.7" - "@typescript-eslint/scope-manager" "4.29.2" - "@typescript-eslint/types" "4.29.2" - "@typescript-eslint/typescript-estree" "4.29.2" + "@typescript-eslint/scope-manager" "4.33.0" + "@typescript-eslint/types" "4.33.0" + "@typescript-eslint/typescript-estree" "4.33.0" eslint-scope "^5.1.1" eslint-utils "^3.0.0" "@typescript-eslint/parser@^4.29.2": - version "4.29.2" - resolved "https://registry.yarnpkg.com/@typescript-eslint/parser/-/parser-4.29.2.tgz#1c7744f4c27aeb74610c955d3dce9250e95c370a" - integrity sha512-WQ6BPf+lNuwteUuyk1jD/aHKqMQ9jrdCn7Gxt9vvBnzbpj7aWEf+aZsJ1zvTjx5zFxGCt000lsbD9tQPEL8u6g== + version "4.33.0" + resolved "https://registry.yarnpkg.com/@typescript-eslint/parser/-/parser-4.33.0.tgz#dfe797570d9694e560528d18eecad86c8c744899" + integrity sha512-ZohdsbXadjGBSK0/r+d87X0SBmKzOq4/S5nzK6SBgJspFo9/CUDJ7hjayuze+JK7CZQLDMroqytp7pOcFKTxZA== dependencies: - "@typescript-eslint/scope-manager" "4.29.2" - "@typescript-eslint/types" "4.29.2" - "@typescript-eslint/typescript-estree" "4.29.2" + "@typescript-eslint/scope-manager" "4.33.0" + "@typescript-eslint/types" "4.33.0" + "@typescript-eslint/typescript-estree" "4.33.0" debug "^4.3.1" -"@typescript-eslint/scope-manager@4.29.2": - version "4.29.2" - resolved "https://registry.yarnpkg.com/@typescript-eslint/scope-manager/-/scope-manager-4.29.2.tgz#442b0f029d981fa402942715b1718ac7fcd5aa1b" - integrity sha512-mfHmvlQxmfkU8D55CkZO2sQOueTxLqGvzV+mG6S/6fIunDiD2ouwsAoiYCZYDDK73QCibYjIZmGhpvKwAB5BOA== +"@typescript-eslint/scope-manager@4.33.0": + version "4.33.0" + resolved "https://registry.yarnpkg.com/@typescript-eslint/scope-manager/-/scope-manager-4.33.0.tgz#d38e49280d983e8772e29121cf8c6e9221f280a3" + integrity sha512-5IfJHpgTsTZuONKbODctL4kKuQje/bzBRkwHE8UOZ4f89Zeddg+EGZs8PD8NcN4LdM3ygHWYB3ukPAYjvl/qbQ== dependencies: - "@typescript-eslint/types" "4.29.2" - "@typescript-eslint/visitor-keys" "4.29.2" + "@typescript-eslint/types" "4.33.0" + "@typescript-eslint/visitor-keys" "4.33.0" -"@typescript-eslint/types@4.29.2": - version "4.29.2" - resolved "https://registry.yarnpkg.com/@typescript-eslint/types/-/types-4.29.2.tgz#fc0489c6b89773f99109fb0aa0aaddff21f52fcd" - integrity sha512-K6ApnEXId+WTGxqnda8z4LhNMa/pZmbTFkDxEBLQAbhLZL50DjeY0VIDCml/0Y3FlcbqXZrABqrcKxq+n0LwzQ== +"@typescript-eslint/types@4.33.0": + version "4.33.0" + resolved "https://registry.yarnpkg.com/@typescript-eslint/types/-/types-4.33.0.tgz#a1e59036a3b53ae8430ceebf2a919dc7f9af6d72" + integrity sha512-zKp7CjQzLQImXEpLt2BUw1tvOMPfNoTAfb8l51evhYbOEEzdWyQNmHWWGPR6hwKJDAi+1VXSBmnhL9kyVTTOuQ== -"@typescript-eslint/typescript-estree@4.29.2": - version "4.29.2" - resolved "https://registry.yarnpkg.com/@typescript-eslint/typescript-estree/-/typescript-estree-4.29.2.tgz#a0ea8b98b274adbb2577100ba545ddf8bf7dc219" - integrity sha512-TJ0/hEnYxapYn9SGn3dCnETO0r+MjaxtlWZ2xU+EvytF0g4CqTpZL48SqSNn2hXsPolnewF30pdzR9a5Lj3DNg== +"@typescript-eslint/typescript-estree@4.33.0": + version "4.33.0" + resolved "https://registry.yarnpkg.com/@typescript-eslint/typescript-estree/-/typescript-estree-4.33.0.tgz#0dfb51c2908f68c5c08d82aefeaf166a17c24609" + integrity sha512-rkWRY1MPFzjwnEVHsxGemDzqqddw2QbTJlICPD9p9I9LfsO8fdmfQPOX3uKfUaGRDFJbfrtm/sXhVXN4E+bzCA== dependencies: - "@typescript-eslint/types" "4.29.2" - "@typescript-eslint/visitor-keys" "4.29.2" + "@typescript-eslint/types" "4.33.0" + "@typescript-eslint/visitor-keys" "4.33.0" debug "^4.3.1" globby "^11.0.3" is-glob "^4.0.1" semver "^7.3.5" tsutils "^3.21.0" -"@typescript-eslint/visitor-keys@4.29.2": - version "4.29.2" - resolved "https://registry.yarnpkg.com/@typescript-eslint/visitor-keys/-/visitor-keys-4.29.2.tgz#d2da7341f3519486f50655159f4e5ecdcb2cd1df" - integrity sha512-bDgJLQ86oWHJoZ1ai4TZdgXzJxsea3Ee9u9wsTAvjChdj2WLcVsgWYAPeY7RQMn16tKrlQaBnpKv7KBfs4EQag== +"@typescript-eslint/visitor-keys@4.33.0": + version "4.33.0" + resolved "https://registry.yarnpkg.com/@typescript-eslint/visitor-keys/-/visitor-keys-4.33.0.tgz#2a22f77a41604289b7a186586e9ec48ca92ef1dd" + integrity sha512-uqi/2aSz9g2ftcHWf8uLPJA70rUv6yuMW5Bohw+bwcuzaxQIHaKFZCKGoGXIrc9vkTJ3+0txM73K0Hq3d5wgIg== dependencies: - "@typescript-eslint/types" "4.29.2" + "@typescript-eslint/types" "4.33.0" eslint-visitor-keys "^2.0.0" "@ungap/promise-all-settled@1.1.2": @@ -1023,14 +1028,14 @@ abstract-leveldown@~6.2.1: xtend "~4.0.0" acorn-jsx@^5.0.0, acorn-jsx@^5.3.1: - version "5.3.1" - resolved "https://registry.yarnpkg.com/acorn-jsx/-/acorn-jsx-5.3.1.tgz#fc8661e11b7ac1539c47dbfea2e72b3af34d267b" - integrity sha512-K0Ptm/47OKfQRpNQ2J/oIN/3QYiK6FwW+eJbILhsdxh2WTLdl+30o8aGdTbm5JbffpFFAg/g+zi1E+jvJha5ng== + version "5.3.2" + resolved "https://registry.yarnpkg.com/acorn-jsx/-/acorn-jsx-5.3.2.tgz#7ed5bb55908b3b2f1bc55c6af1653bada7f07937" + integrity sha512-rq9s+JNhf0IChjtDXxllJ7g41oZk5SlXtp0LHwyA5cejwn7vKmKp4pPri6YEePv2PU65sAsegbXtIinmDFDXgQ== acorn-walk@^8.1.1: - version "8.1.1" - resolved "https://registry.yarnpkg.com/acorn-walk/-/acorn-walk-8.1.1.tgz#3ddab7f84e4a7e2313f6c414c5b7dac85f4e3ebc" - integrity sha512-FbJdceMlPHEAWJOILDk1fXD8lnTlEIWFkqtfk+MvmL5q/qlHfN7GEHcsFZWt/Tea9jRNPWUZG4G976nqAAmU9w== + version "8.2.0" + resolved "https://registry.yarnpkg.com/acorn-walk/-/acorn-walk-8.2.0.tgz#741210f2e2426454508853a2f44d0ab83b7f69c1" + integrity sha512-k+iyHEuPgSw6SbuDpGQM+06HQUa04DZ3o+F6CSzXMvvI5KMvnaEqXe+YVe555R9nn6GPt404fos4wcgpw12SDA== acorn@^6.0.7: version "6.4.2" @@ -1043,9 +1048,9 @@ acorn@^7.4.0: integrity sha512-nQyp0o1/mNdbTO1PO6kHkwSrmgZ0MT/jCCpNiwbUjGoRN4dlBhqJtoQuCnEOKzgTVwg0ZWiCoQy6SxMebQVh8A== acorn@^8.4.1: - version "8.4.1" - resolved "https://registry.yarnpkg.com/acorn/-/acorn-8.4.1.tgz#56c36251fc7cabc7096adc18f05afe814321a28c" - integrity sha512-asabaBSkEKosYKMITunzX177CXxQ4Q8BSSzMTKD+FefUhipQC70gfW5SiUDhYQ3vk8G+81HqQk7Fv9OXwwn9KA== + version "8.5.0" + resolved "https://registry.yarnpkg.com/acorn/-/acorn-8.5.0.tgz#4512ccb99b3698c752591e9bb4472e38ad43cee2" + integrity sha512-yXbYeFy+jUuYd3/CDcg2NkIYE991XYX/bje7LmjJigUciaeO1JR4XxXgCIV1/Zc/dRuFEyw1L0pbA+qynJkW5Q== adm-zip@^0.4.16: version "0.4.16" @@ -1075,9 +1080,9 @@ ajv@^6.10.0, ajv@^6.10.2, ajv@^6.12.4, ajv@^6.6.1, ajv@^6.9.1: uri-js "^4.2.2" ajv@^8.0.1: - version "8.1.0" - resolved "https://registry.yarnpkg.com/ajv/-/ajv-8.1.0.tgz#45d5d3d36c7cdd808930cc3e603cf6200dbeb736" - integrity sha512-B/Sk2Ix7A36fs/ZkuGLIR86EdjbgR6fsAcbx9lOP/QBSXujDNbVmIS/U4Itz5k8fPFDeVZl/zQ/gJW4Jrq6XjQ== + version "8.7.1" + resolved "https://registry.yarnpkg.com/ajv/-/ajv-8.7.1.tgz#52be6f1736b076074798124293618f132ad07a7e" + integrity sha512-gPpOObTO1QjbnN1sVMjJcp1TF9nggMfO4MBR5uQl6ZVTOaEPq5i4oq/6R9q2alMMPB3eg53wFv1RuJBLuxf3Hw== dependencies: fast-deep-equal "^3.1.1" json-schema-traverse "^1.0.0" @@ -1123,10 +1128,10 @@ ansi-regex@^4.1.0: resolved "https://registry.yarnpkg.com/ansi-regex/-/ansi-regex-4.1.0.tgz#8b9f8f08cf1acb843756a839ca8c7e3168c51997" integrity sha512-1apePfXM1UOSqw0o9IiFAovVz9M5S1Dg+4TrDwfMewQ6p/rmMueb7tWZjQ1rx4Loy1ArBggoqGpfqqdI4rondg== -ansi-regex@^5.0.0: - version "5.0.0" - resolved "https://registry.yarnpkg.com/ansi-regex/-/ansi-regex-5.0.0.tgz#388539f55179bf39339c81af30a654d69f87cb75" - integrity sha512-bY6fj56OUQ0hU1KjFNDQuJFezqKdrAyFdIevADiqrWHwSlbmBNMHp5ak2f40Pm8JTFyM2mqxkG6ngkHO11f/lg== +ansi-regex@^5.0.1: + version "5.0.1" + resolved "https://registry.yarnpkg.com/ansi-regex/-/ansi-regex-5.0.1.tgz#082cb2c89c9fe8659a311a53bd6a4dc5301db304" + integrity sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ== ansi-styles@^3.2.0, ansi-styles@^3.2.1: version "3.2.1" @@ -1227,11 +1232,11 @@ asynckit@^0.4.0: integrity sha1-x57Zf380y48robyXkLzDZkdLS3k= axios@^0.21.1: - version "0.21.1" - resolved "https://registry.yarnpkg.com/axios/-/axios-0.21.1.tgz#22563481962f4d6bde9a76d516ef0e5d3c09b2b8" - integrity sha512-dKQiRHxGD9PPRIUNIWvZhPTPpl1rf/OxTYKsqKUDjBwYylTvV7SjSHJb9ratfyzM6wCdLCOYLzs73qpg5c4iGA== + version "0.21.4" + resolved "https://registry.yarnpkg.com/axios/-/axios-0.21.4.tgz#c67b90dc0568e5c1cf2b0b858c43ba28e2eda575" + integrity sha512-ut5vewkiu8jjGBdqpM44XxjuCjq9LAKeHVmoVfHVzy8eHgxxq8SbAVQNovDA8mVi05kP0Ea/n/UzcSHcTJQfNg== dependencies: - follow-redirects "^1.10.0" + follow-redirects "^1.14.0" balanced-match@^1.0.0: version "1.0.2" @@ -1239,9 +1244,9 @@ balanced-match@^1.0.0: integrity sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw== base-x@^3.0.2: - version "3.0.8" - resolved "https://registry.yarnpkg.com/base-x/-/base-x-3.0.8.tgz#1e1106c2537f0162e8b52474a557ebb09000018d" - integrity sha512-Rl/1AWP4J/zRrk54hhlxH4drNxPJXYUaKffODVI53/dAsV4t9fBxyxYKAVPU1XBHxYwOWP9h9H0hM2MVw4YfJA== + version "3.0.9" + resolved "https://registry.yarnpkg.com/base-x/-/base-x-3.0.9.tgz#6349aaabb58526332de9f60995e548a53fe21320" + integrity sha512-H7JU6iBHTal1gp56aKoaa//YUxEaAOUiydvrV/pILqIHXTtqxSkATOnDA2u+jZ/61sD+L/412+7kzXRtWukhpQ== dependencies: safe-buffer "^5.0.1" @@ -1268,16 +1273,16 @@ binary-extensions@^2.0.0: integrity sha512-jDctJ/IVQbZoJykoeHbhXpOlNBqGNcwXJKJog42E5HDPUwQTSdjCHdihjj0DlnheQ7blbT6dHOafNAiS8ooQKA== blakejs@^1.1.0: - version "1.1.0" - resolved "https://registry.yarnpkg.com/blakejs/-/blakejs-1.1.0.tgz#69df92ef953aa88ca51a32df6ab1c54a155fc7a5" - integrity sha1-ad+S75U6qIylGjLfarHFShVfx6U= + version "1.1.1" + resolved "https://registry.yarnpkg.com/blakejs/-/blakejs-1.1.1.tgz#bf313053978b2cd4c444a48795710be05c785702" + integrity sha512-bLG6PHOCZJKNshTjGRBvET0vTciwQE6zFKOKKXPDJfwFBd4Ac0yBfPZqcGvGJap50l7ktvlpFqc2jGVaUgbJgg== -bn.js@^4.0.0, bn.js@^4.11.0, bn.js@^4.11.1, bn.js@^4.11.8, bn.js@^4.11.9: +bn.js@^4.0.0, bn.js@^4.11.0, bn.js@^4.11.8, bn.js@^4.11.9: version "4.12.0" resolved "https://registry.yarnpkg.com/bn.js/-/bn.js-4.12.0.tgz#775b3f278efbb9718eec7361f483fb36fbbfea88" integrity sha512-c98Bf3tPniI+scsdk237ku1Dc3ujXQTSgyiPUDEOe7tRkhrqridvh8klBv0HCEso1OLOYcHuCv/cS6DNxKH+ZA== -bn.js@^5.1.2: +bn.js@^5.1.2, bn.js@^5.2.0: version "5.2.0" resolved "https://registry.yarnpkg.com/bn.js/-/bn.js-5.2.0.tgz#358860674396c6997771a9d051fcc1b57d4ae002" integrity sha512-D7iWRBvnZE8ecXiLj/9wbxH7Tk79fAh8IHaTNq1RWRixsS02W+5qS+iE9yq6RYl0asXx5tw0bLhmT5pIfbSquw== @@ -1356,9 +1361,9 @@ bs58check@^2.1.2: safe-buffer "^5.1.2" buffer-from@^1.0.0: - version "1.1.1" - resolved "https://registry.yarnpkg.com/buffer-from/-/buffer-from-1.1.1.tgz#32713bc028f75c02fdb710d7c7bcec1f2c6070ef" - integrity sha512-MQcXEUbCKtEo7bhqEs6560Hyd4XaovZlO/k9V3hjVUF/zwW7KBVdSK4gIt/bzwS9MbR5qob+F5jusZsb0YQK2A== + version "1.1.2" + resolved "https://registry.yarnpkg.com/buffer-from/-/buffer-from-1.1.2.tgz#2b146a6fd72e80b4f55d255f35ed59a3a9a41bd5" + integrity sha512-E+XQCRwSbaaiChtv6k6Dwgc+bx+Bs6vuKJHHl5kox/BaKbhiXzqQOwK4cO22yElGp2OCmjwVhT3HmxgyPGnJfQ== buffer-xor@^1.0.3: version "1.0.3" @@ -1470,15 +1475,7 @@ chalk@^3.0.0: ansi-styles "^4.1.0" supports-color "^7.1.0" -chalk@^4.0.0, chalk@^4.1.0: - version "4.1.0" - resolved "https://registry.yarnpkg.com/chalk/-/chalk-4.1.0.tgz#4e14870a618d9e2edd97dd8345fd9d9dc315646a" - integrity sha512-qwx12AxXe2Q5xQ43Ac//I6v5aXTipYrSESdOgzrN+9XjgEpyjpKuvSGaN4qE93f7TQTlerQQ8S+EQ0EyDoVL1A== - dependencies: - ansi-styles "^4.1.0" - supports-color "^7.1.0" - -chalk@^4.1.2: +chalk@^4.0.0, chalk@^4.1.0, chalk@^4.1.2: version "4.1.2" resolved "https://registry.yarnpkg.com/chalk/-/chalk-4.1.2.tgz#aac4e2b7734a740867aeb16bf02aad556a1e7a01" integrity sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA== @@ -1511,7 +1508,7 @@ chokidar@3.3.0: optionalDependencies: fsevents "~2.1.1" -chokidar@3.5.2, chokidar@^3.5.2: +chokidar@3.5.2, chokidar@^3.4.0, chokidar@^3.5.2: version "3.5.2" resolved "https://registry.yarnpkg.com/chokidar/-/chokidar-3.5.2.tgz#dba3976fcadb016f66fd365021d91600d01c1e75" integrity sha512-ekGhOnNVPgT77r4K/U3GDhu+FQ2S8TnK/s2KbIGXi0SZWuwkZ2QNyfWdZW+TVfn84DpEP7rLeCt2UI6bJ8GwbQ== @@ -1526,21 +1523,6 @@ chokidar@3.5.2, chokidar@^3.5.2: optionalDependencies: fsevents "~2.3.2" -chokidar@^3.4.0: - version "3.5.1" - resolved "https://registry.yarnpkg.com/chokidar/-/chokidar-3.5.1.tgz#ee9ce7bbebd2b79f49f304799d5468e31e14e68a" - integrity sha512-9+s+Od+W0VJJzawDma/gvBNQqkTiqYTWLuZoyAsivsI4AaWTCzHG06/TMjsf1cYe9Cb97UCEhjz7HvnPk2p/tw== - dependencies: - anymatch "~3.1.1" - braces "~3.0.2" - glob-parent "~5.1.0" - is-binary-path "~2.1.0" - is-glob "~4.0.1" - normalize-path "~3.0.0" - readdirp "~3.5.0" - optionalDependencies: - fsevents "~2.3.1" - ci-info@^2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/ci-info/-/ci-info-2.0.0.tgz#67a9e964be31a51e15e5010d58e6f12834002f46" @@ -1660,9 +1642,9 @@ cookie@^0.4.1: integrity sha512-ZwrFkGJxUR3EIoXtO+yVE69Eb7KlixbaeAWfBQB9vVsNn/o+Yw69gBWSSDK825hQNdN+wF8zELf3dFNl/kxkUA== core-js-pure@^3.0.1: - version "3.10.1" - resolved "https://registry.yarnpkg.com/core-js-pure/-/core-js-pure-3.10.1.tgz#28642697dfcf02e0fd9f4d9891bd03a22df28ecf" - integrity sha512-PeyJH2SE0KuxY5eCGNWA+W+CeDpB6M1PN3S7Am7jSv/Ttuxz2SnWbIiVQOn/TDaGaGtxo8CRWHkXwJscbUHtVw== + version "3.19.1" + resolved "https://registry.yarnpkg.com/core-js-pure/-/core-js-pure-3.19.1.tgz#edffc1fc7634000a55ba05e95b3f0fe9587a5aa4" + integrity sha512-Q0Knr8Es84vtv62ei6/6jXH/7izKmOrtrxH9WJTHLCMAVeU+8TF8z8Nr08CsH4Ot0oJKzBzJJL9SJBYIv7WlfQ== cosmiconfig@^5.0.7: version "5.2.1" @@ -1739,30 +1721,30 @@ cross-spawn@^7.0.2: shebang-command "^2.0.0" which "^2.0.1" -csv-generate@^3.4.0: - version "3.4.0" - resolved "https://registry.yarnpkg.com/csv-generate/-/csv-generate-3.4.0.tgz#360ed73ef8ec7119515a47c3bd5970ac4b988f00" - integrity sha512-D6yi7c6lL70cpTx3TQIVWKrfxuLiKa0pBizu0zi7fSRXlhmE7u674gk9k1IjCEnxKq2t6xzbXnxcOmSdBbE8vQ== +csv-generate@^3.4.3: + version "3.4.3" + resolved "https://registry.yarnpkg.com/csv-generate/-/csv-generate-3.4.3.tgz#bc42d943b45aea52afa896874291da4b9108ffff" + integrity sha512-w/T+rqR0vwvHqWs/1ZyMDWtHHSJaN06klRqJXBEpDJaM/+dZkso0OKh1VcuuYvK3XM53KysVNq8Ko/epCK8wOw== -csv-parse@^4.15.3: - version "4.15.4" - resolved "https://registry.yarnpkg.com/csv-parse/-/csv-parse-4.15.4.tgz#ad1ec62aaf71a642982dfcb81f1848184d691db5" - integrity sha512-OdBbFc0yZhOm17lSxqkirrHlFFVpKRT0wp4DAGoJelsP3LbGzV9LNr7XmM/lrr0uGkCtaqac9UhP8PDHXOAbMg== +csv-parse@^4.16.3: + version "4.16.3" + resolved "https://registry.yarnpkg.com/csv-parse/-/csv-parse-4.16.3.tgz#7ca624d517212ebc520a36873c3478fa66efbaf7" + integrity sha512-cO1I/zmz4w2dcKHVvpCr7JVRu8/FymG5OEpmvsZYlccYolPBLoVGKUHgNoc4ZGkFeFlWGEDmMyBM+TTqRdW/wg== -csv-stringify@^5.6.2: - version "5.6.2" - resolved "https://registry.yarnpkg.com/csv-stringify/-/csv-stringify-5.6.2.tgz#e653783e2189c4c797fbb12abf7f4943c787caa9" - integrity sha512-n3rIVbX6ylm1YsX2NEug9IaPV8xRnT+9/NNZbrA/bcHgOSSeqtWla6XnI/xmyu57wIw+ASCAoX1oM6EZtqJV0A== +csv-stringify@^5.6.5: + version "5.6.5" + resolved "https://registry.yarnpkg.com/csv-stringify/-/csv-stringify-5.6.5.tgz#c6d74badda4b49a79bf4e72f91cce1e33b94de00" + integrity sha512-PjiQ659aQ+fUTQqSrd1XEDnOr52jh30RBurfzkscaE2tPaFsDH5wOAHJiw8XAHphRknCwMUE9KRayc4K/NbO8A== csv@^5.3.1: - version "5.5.0" - resolved "https://registry.yarnpkg.com/csv/-/csv-5.5.0.tgz#8ef89e9ac22559064aedf3cbbb912ed4c2aaf9ac" - integrity sha512-32tcuxdb4HW3zbk8NBcVQb8/7xuJB5sv+q4BuQ6++E/K6JvHvWoCHcGzB5Au95vVikNH4ztE0XNC/Bws950cfA== + version "5.5.3" + resolved "https://registry.yarnpkg.com/csv/-/csv-5.5.3.tgz#cd26c1e45eae00ce6a9b7b27dcb94955ec95207d" + integrity sha512-QTaY0XjjhTQOdguARF0lGKm5/mEq9PD9/VhZZegHDIBq2tQwgNpHc3dneD4mGo2iJs+fTKv5Bp0fZ+BRuY3Z0g== dependencies: - csv-generate "^3.4.0" - csv-parse "^4.15.3" - csv-stringify "^5.6.2" - stream-transform "^2.1.0" + csv-generate "^3.4.3" + csv-parse "^4.16.3" + csv-stringify "^5.6.5" + stream-transform "^2.1.3" debug@3.2.6: version "3.2.6" @@ -1771,10 +1753,10 @@ debug@3.2.6: dependencies: ms "^2.1.1" -debug@4, debug@4.3.1, debug@^4.0.1, debug@^4.1.1, debug@^4.3.1: - version "4.3.1" - resolved "https://registry.yarnpkg.com/debug/-/debug-4.3.1.tgz#f0d229c505e0c6d8c49ac553d1b13dc183f6b2ee" - integrity sha512-doEwdvm4PCeK4K3RQN2ZC2BYUBaxwLARCqZmMjtF8a51J2Rb0xpVloFRnCODwqjpwnAoao4pelN8l3RJdv3gRQ== +debug@4, debug@4.3.2, debug@^4.0.1, debug@^4.1.1, debug@^4.3.1, debug@^4.3.2: + version "4.3.2" + resolved "https://registry.yarnpkg.com/debug/-/debug-4.3.2.tgz#f0a49c18ac8779e31d4a0c6029dfb76873c7428b" + integrity sha512-mOp8wKcvj7XxC78zLgw/ZA+6TSgkoE2C/ienthhRD298T7UNwAg9diBpLRxC0mOezLl4B0xV7M0cCO6P/O0Xhw== dependencies: ms "2.1.2" @@ -1785,13 +1767,6 @@ debug@^2.2.0: dependencies: ms "2.0.0" -debug@^4.3.2: - version "4.3.2" - resolved "https://registry.yarnpkg.com/debug/-/debug-4.3.2.tgz#f0a49c18ac8779e31d4a0c6029dfb76873c7428b" - integrity sha512-mOp8wKcvj7XxC78zLgw/ZA+6TSgkoE2C/ienthhRD298T7UNwAg9diBpLRxC0mOezLl4B0xV7M0cCO6P/O0Xhw== - dependencies: - ms "2.1.2" - decamelize-keys@^1.1.0: version "1.1.0" resolved "https://registry.yarnpkg.com/decamelize-keys/-/decamelize-keys-1.1.0.tgz#d171a87933252807eb3cb61dc1c1445d078df2d9" @@ -1818,9 +1793,9 @@ deep-eql@^3.0.1: type-detect "^4.0.0" deep-is@^0.1.3, deep-is@~0.1.3: - version "0.1.3" - resolved "https://registry.yarnpkg.com/deep-is/-/deep-is-0.1.3.tgz#b369d6fb5dbc13eecf524f91b070feedc357cf34" - integrity sha1-s2nW+128E+7PUk+RsHD+7cNXzzQ= + version "0.1.4" + resolved "https://registry.yarnpkg.com/deep-is/-/deep-is-0.1.4.tgz#a6f2dce612fadd2ef1f519b73551f17e85199831" + integrity sha512-oIPzksmTg4/MriiaYGO+okXDT7ztn/w3Eptv/+gSIdMdKsJo0u4CfYNFJPy+4SKMuCqGw2wxnA+URMg3t8a/bQ== defaults@^1.0.3: version "1.0.3" @@ -1855,9 +1830,9 @@ depd@~1.1.2: integrity sha1-m81S4UwJd2PnSbJ0xDRu0uVgtak= detect-indent@^6.0.0: - version "6.0.0" - resolved "https://registry.yarnpkg.com/detect-indent/-/detect-indent-6.0.0.tgz#0abd0f549f69fc6659a254fe96786186b6f528fd" - integrity sha512-oSyFlqaTHCItVRGK5RmrmjB+CmaMOW7IaNA/kdxqhoa6d17j/5ce9O9eWXmV/KEdRwqpQA+Vqe8a8Bsybu4YnA== + version "6.1.0" + resolved "https://registry.yarnpkg.com/detect-indent/-/detect-indent-6.1.0.tgz#592485ebbbf6b3b1ab2be175c8393d04ca0d57e6" + integrity sha512-reYkTUJAZb9gUuZ2RvVCNhVHdg62RHnJ7WJl8ftMi4diZ6NWlciOzQN88pUhSELEwflJht4oQDv0F0BMlwaYtA== diff@3.5.0: version "3.5.0" @@ -1962,27 +1937,31 @@ error-ex@^1.3.1: dependencies: is-arrayish "^0.2.1" -es-abstract@^1.18.0-next.2: - version "1.18.0" - resolved "https://registry.yarnpkg.com/es-abstract/-/es-abstract-1.18.0.tgz#ab80b359eecb7ede4c298000390bc5ac3ec7b5a4" - integrity sha512-LJzK7MrQa8TS0ja2w3YNLzUgJCGPdPOV1yVvezjNnS89D+VR08+Szt2mz3YB2Dck/+w5tfIq/RoUAFqJJGM2yw== +es-abstract@^1.19.1: + version "1.19.1" + resolved "https://registry.yarnpkg.com/es-abstract/-/es-abstract-1.19.1.tgz#d4885796876916959de78edaa0df456627115ec3" + integrity sha512-2vJ6tjA/UfqLm2MPs7jxVybLoB8i1t1Jd9R3kISld20sIxPcTbLuggQOUxeWeAvIUkduv/CfMjuh4WmiXr2v9w== dependencies: call-bind "^1.0.2" es-to-primitive "^1.2.1" function-bind "^1.1.1" get-intrinsic "^1.1.1" + get-symbol-description "^1.0.0" has "^1.0.3" has-symbols "^1.0.2" - is-callable "^1.2.3" + internal-slot "^1.0.3" + is-callable "^1.2.4" is-negative-zero "^2.0.1" - is-regex "^1.1.2" - is-string "^1.0.5" - object-inspect "^1.9.0" + is-regex "^1.1.4" + is-shared-array-buffer "^1.0.1" + is-string "^1.0.7" + is-weakref "^1.0.1" + object-inspect "^1.11.0" object-keys "^1.1.1" object.assign "^4.1.2" string.prototype.trimend "^1.0.4" string.prototype.trimstart "^1.0.4" - unbox-primitive "^1.0.0" + unbox-primitive "^1.0.1" es-to-primitive@^1.2.1: version "1.2.1" @@ -2056,9 +2035,9 @@ eslint-visitor-keys@^1.0.0, eslint-visitor-keys@^1.1.0, eslint-visitor-keys@^1.3 integrity sha512-6J72N8UNa462wa/KFODt/PJ3IU60SDpC3QXC1Hjc1BXXpfL2C9R5+AU7jhe0F6GREqVMh4Juu+NY7xn+6dipUQ== eslint-visitor-keys@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/eslint-visitor-keys/-/eslint-visitor-keys-2.0.0.tgz#21fdc8fbcd9c795cc0321f0563702095751511a8" - integrity sha512-QudtT6av5WXels9WjIM7qz1XD1cWGvX4gGXvp/zBn9nXG02D0utdU3Em2m/QjTnrsk6bBjmCygl3rmj118msQQ== + version "2.1.0" + resolved "https://registry.yarnpkg.com/eslint-visitor-keys/-/eslint-visitor-keys-2.1.0.tgz#f65328259305927392c938ed44eb0a5c9b2bd303" + integrity sha512-0rSmRBzXgDzIsD6mGdJgevzgezI534Cer5L/vyMX0kHzT/jiB43jRhd9YUlMGYLQy2zprNmoT8qasCGtY+QaKw== eslint@^5.6.0: version "5.16.0" @@ -2191,9 +2170,9 @@ estraverse@^4.1.1: integrity sha512-39nnKffWz8xN1BU/2c79n9nB9HDzo0niYUqx6xyqUnyoAnQyyWpOTdZEeiCch8BBu515t4wp9ZmgVfVhn9EBpw== estraverse@^5.1.0, estraverse@^5.2.0: - version "5.2.0" - resolved "https://registry.yarnpkg.com/estraverse/-/estraverse-5.2.0.tgz#307df42547e6cc7324d3cf03c155d5cdb8c53880" - integrity sha512-BxbNGGNm0RyRYvUdHpIwv9IWzeM9XClbOxwoATuFdOE7ZE6wHL+HQ5T8hoPM+zHvmKzzsEqhgy0GrQ5X13afiQ== + version "5.3.0" + resolved "https://registry.yarnpkg.com/estraverse/-/estraverse-5.3.0.tgz#2eea5290702f26ab8fe5370370ff86c965d21123" + integrity sha512-MMdARuVEQziNTeJD8DgMqmhwR11BRQ/cBP+pLtYdSTnf3MIO8fFeiINEbX36ZdNlfU/7A9f3gUw49B3oQsvwBA== esutils@^2.0.2: version "2.0.3" @@ -2265,28 +2244,15 @@ ethereumjs-util@^6.0.0: ethjs-util "0.1.6" rlp "^2.2.3" -ethereumjs-util@^7.0.10, ethereumjs-util@^7.0.7: - version "7.0.10" - resolved "https://registry.yarnpkg.com/ethereumjs-util/-/ethereumjs-util-7.0.10.tgz#5fb7b69fa1fda0acc59634cf39d6b0291180fc1f" - integrity sha512-c/xThw6A+EAnej5Xk5kOzFzyoSnw0WX0tSlZ6pAsfGVvQj3TItaDg9b1+Fz1RJXA+y2YksKwQnuzgt1eY6LKzw== - dependencies: - "@types/bn.js" "^5.1.0" - bn.js "^5.1.2" - create-hash "^1.1.2" - ethereum-cryptography "^0.1.3" - ethjs-util "0.1.6" - rlp "^2.2.4" - -ethereumjs-util@^7.1.0: - version "7.1.0" - resolved "https://registry.yarnpkg.com/ethereumjs-util/-/ethereumjs-util-7.1.0.tgz#e2b43a30bfcdbcb432a4eb42bd5f2393209b3fd5" - integrity sha512-kR+vhu++mUDARrsMMhsjjzPduRVAeundLGXucGRHF3B4oEltOUspfgCVco4kckucj3FMlLaZHUl9n7/kdmr6Tw== +ethereumjs-util@^7.1.0, ethereumjs-util@^7.1.1, ethereumjs-util@^7.1.2, ethereumjs-util@^7.1.3: + version "7.1.3" + resolved "https://registry.yarnpkg.com/ethereumjs-util/-/ethereumjs-util-7.1.3.tgz#b55d7b64dde3e3e45749e4c41288238edec32d23" + integrity sha512-y+82tEbyASO0K0X1/SRhbJJoAlfcvq8JbrG4a5cjrOks7HS/36efU/0j2flxCPOUM++HFahk33kr/ZxyC4vNuw== dependencies: "@types/bn.js" "^5.1.0" bn.js "^5.1.2" create-hash "^1.1.2" ethereum-cryptography "^0.1.3" - ethjs-util "0.1.6" rlp "^2.2.4" ethjs-util@0.1.6, ethjs-util@^0.1.3: @@ -2353,16 +2319,15 @@ fast-diff@^1.1.2: integrity sha512-xJuoT5+L99XlZ8twedaRf6Ax2TgQVxvgZOYoPKqZufmJib0tL2tegPBOZb1pVNgIhlqDlA0eO0c3wBvQcmzx4w== fast-glob@^3.1.1: - version "3.2.5" - resolved "https://registry.yarnpkg.com/fast-glob/-/fast-glob-3.2.5.tgz#7939af2a656de79a4f1901903ee8adcaa7cb9661" - integrity sha512-2DtFcgT68wiTTiwZ2hNdJfcHNke9XOfnwmBRWXhmeKM8rF0TGwmC/Qto3S7RoZKp5cilZbxzO5iTNTQsJ+EeDg== + version "3.2.7" + resolved "https://registry.yarnpkg.com/fast-glob/-/fast-glob-3.2.7.tgz#fd6cb7a2d7e9aa7a7846111e85a196d6b2f766a1" + integrity sha512-rYGMRwip6lUMvYD3BTScMwT1HtAs2d71SMv66Vrxs0IekGZEjhM0pcMfjQPnknBt2zeCwQMEupiN02ZP4DiT1Q== dependencies: "@nodelib/fs.stat" "^2.0.2" "@nodelib/fs.walk" "^1.2.3" - glob-parent "^5.1.0" + glob-parent "^5.1.2" merge2 "^1.3.0" - micromatch "^4.0.2" - picomatch "^2.2.1" + micromatch "^4.0.4" fast-json-stable-stringify@^2.0.0: version "2.1.0" @@ -2375,9 +2340,9 @@ fast-levenshtein@^2.0.6, fast-levenshtein@~2.0.6: integrity sha1-PYpcZog6FqMMqGQ+hR8Zuqd5eRc= fastq@^1.6.0: - version "1.11.0" - resolved "https://registry.yarnpkg.com/fastq/-/fastq-1.11.0.tgz#bb9fb955a07130a918eb63c1f5161cc32a5d0858" - integrity sha512-7Eczs8gIPDrVzT+EksYBcupqMyxSHXXrHOLRRxU2/DicV8789MRBRR8+Hc2uWzUupOs4YS4JzBmBxjjCVBxD/g== + version "1.13.0" + resolved "https://registry.yarnpkg.com/fastq/-/fastq-1.13.0.tgz#616760f88a7526bdfc596b7cab8c18938c36b98c" + integrity sha512-YpkpUnK8od0o1hmeSc7UUs/eB/vIPWJYjKck2QKIzAf71Vm1AAQ3EbuZB3g2JIy+pg+ERD0vqI79KyZiB2e2Nw== dependencies: reusify "^1.0.4" @@ -2482,9 +2447,9 @@ flatted@^2.0.0: integrity sha512-r5wGx7YeOwNWNlCA0wQ86zKyDLMQr+/RB8xy74M4hTphfmjlijTSSXGuH8rnvKZnfT9i+75zmd8jcKdMR4O6jA== flatted@^3.1.0: - version "3.1.1" - resolved "https://registry.yarnpkg.com/flatted/-/flatted-3.1.1.tgz#c4b489e80096d9df1dfc97c79871aea7c617c469" - integrity sha512-zAoAQiudy+r5SvnSw3KJy5os/oRJYHzrzja/tBDqrZtNhUw8bt6y8OBzMWcjWr+8liV8Eb6yOhw8WZ7VFZ5ZzA== + version "3.2.4" + resolved "https://registry.yarnpkg.com/flatted/-/flatted-3.2.4.tgz#28d9969ea90661b5134259f312ab6aa7929ac5e2" + integrity sha512-8/sOawo8tJ4QOBX8YlQBMxL8+RLZfxMQOif9o0KUKTNTjMYElWPE0r/m5VNFxTRd0NSw8qSy8dajrwX4RYI1Hw== fmix@^0.1.0: version "0.1.0" @@ -2493,17 +2458,10 @@ fmix@^0.1.0: dependencies: imul "^1.0.0" -follow-redirects@^1.10.0, follow-redirects@^1.12.1: - version "1.13.3" - resolved "https://registry.yarnpkg.com/follow-redirects/-/follow-redirects-1.13.3.tgz#e5598ad50174c1bc4e872301e82ac2cd97f90267" - integrity sha512-DUgl6+HDzB0iEptNQEXLx/KhTmDb8tZUHSeLqpnjpknR70H0nC2t9N73BK6fN4hOvJ84pKlIQVQ4k5FFlBedKA== - -for-each@^0.3.3: - version "0.3.3" - resolved "https://registry.yarnpkg.com/for-each/-/for-each-0.3.3.tgz#69b447e88a0a5d32c3e7084f3f1710034b21376e" - integrity sha512-jqYfLp7mo9vIyQf8ykW2v7A+2N4QjeCeI5+Dz9XraiO1ign81wjiH7Fb9vSOWvQfNtmSa4H2RoQTrrXivdUZmw== - dependencies: - is-callable "^1.1.3" +follow-redirects@^1.12.1, follow-redirects@^1.14.0: + version "1.14.5" + resolved "https://registry.yarnpkg.com/follow-redirects/-/follow-redirects-1.14.5.tgz#f09a5848981d3c772b5392309778523f8d85c381" + integrity sha512-wtphSXy7d4/OR+MvIFbCVBDzZ5520qV8XfPklSN5QtxuMUJZ+b0Wnst1e1lCDocfzuCkHqj8k0FpZqO+UIaKNA== form-data@^4.0.0: version "4.0.0" @@ -2572,7 +2530,7 @@ fsevents@~2.1.1: resolved "https://registry.yarnpkg.com/fsevents/-/fsevents-2.1.3.tgz#fb738703ae8d2f9fe900c33836ddebee8b97f23e" integrity sha512-Auw9a4AxqWpa9GUfj370BMPzzyncfBABW8Mab7BGWBYDj4Isgq+cDKtx0i6u9jcX9pQDnswsaaOTgTmA5pEjuQ== -fsevents@~2.3.1, fsevents@~2.3.2: +fsevents@~2.3.2: version "2.3.2" resolved "https://registry.yarnpkg.com/fsevents/-/fsevents-2.3.2.tgz#8a526f78b8fdf4623b709e0b975c52c24c02fd1a" integrity sha512-xiqMQR4xAeHTuB9uWm+fFRcIOgKBMiOBP+eXiyT7jsgVCq1bkVygt00oASowB7EdtpOHaaPgKt812P9ab+DDKA== @@ -2597,7 +2555,7 @@ get-func-name@^2.0.0: resolved "https://registry.yarnpkg.com/get-func-name/-/get-func-name-2.0.0.tgz#ead774abee72e20409433a066366023dd6887a41" integrity sha1-6td0q+5y4gQJQzoGY2YCPdaIekE= -get-intrinsic@^1.0.2, get-intrinsic@^1.1.1: +get-intrinsic@^1.0.2, get-intrinsic@^1.1.0, get-intrinsic@^1.1.1: version "1.1.1" resolved "https://registry.yarnpkg.com/get-intrinsic/-/get-intrinsic-1.1.1.tgz#15f59f376f855c446963948f0d24cd3637b4abc6" integrity sha512-kWZrnVM42QCiEA2Ig1bG8zjoIMOgxWwYCEeNdwY6Tv/cOSeGpcoX4pXHfKUxNKVoArnrEr2e9srnAxxGIraS9Q== @@ -2611,7 +2569,15 @@ get-stream@^3.0.0: resolved "https://registry.yarnpkg.com/get-stream/-/get-stream-3.0.0.tgz#8e943d1358dc37555054ecbe2edb05aa174ede14" integrity sha1-jpQ9E1jcN1VQVOy+LtsFqhdO3hQ= -glob-parent@^5.1.0, glob-parent@^5.1.2, glob-parent@~5.1.0, glob-parent@~5.1.2: +get-symbol-description@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/get-symbol-description/-/get-symbol-description-1.0.0.tgz#7fdb81c900101fbd564dd5f1a30af5aadc1e58d6" + integrity sha512-2EmdH1YvIQiZpltCNgkuiUnyukzxM/R6NDJX31Ke3BG1Nq5b0S2PhX59UKi9vZpPDQVdqn+1IcaAwnzTT5vCjw== + dependencies: + call-bind "^1.0.2" + get-intrinsic "^1.1.1" + +glob-parent@^5.1.2, glob-parent@~5.1.0, glob-parent@~5.1.2: version "5.1.2" resolved "https://registry.yarnpkg.com/glob-parent/-/glob-parent-5.1.2.tgz#869832c58034fe68a4093c17dc15e8340d8401c4" integrity sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow== @@ -2643,9 +2609,9 @@ glob@7.1.7: path-is-absolute "^1.0.0" glob@^7.1.2, glob@^7.1.3: - version "7.1.6" - resolved "https://registry.yarnpkg.com/glob/-/glob-7.1.6.tgz#141f33b81a7c2492e125594307480c46679278a6" - integrity sha512-LwaxwyZ72Lk7vZINtNNrywX0ZuLyStrdDtabefZKAY5ZGJhVtgdznluResxNmPitE0SAO+O26sWTHeKSI2wMBA== + version "7.2.0" + resolved "https://registry.yarnpkg.com/glob/-/glob-7.2.0.tgz#d15535af7732e02e948f4c41628bd910293f6023" + integrity sha512-lmLf6gtyrPq8tTjSmrO94wBeQbFR3HbLHbuyD69wuyQkImp2hWqMGB47OX65FBkPffO641IP9jWa1z4ivqG26Q== dependencies: fs.realpath "^1.0.0" inflight "^1.0.4" @@ -2659,24 +2625,17 @@ globals@^11.7.0: resolved "https://registry.yarnpkg.com/globals/-/globals-11.12.0.tgz#ab8795338868a0babd8525758018c2a7eb95c42e" integrity sha512-WOBp/EEGUiIsJSp7wcv/y6MO+lV9UoncWqxuFfm8eBwzWNgyfBd6Gz+IeKQ9jCmyhoH99g15M3T+QaVHFjizVA== -globals@^13.6.0: - version "13.8.0" - resolved "https://registry.yarnpkg.com/globals/-/globals-13.8.0.tgz#3e20f504810ce87a8d72e55aecf8435b50f4c1b3" - integrity sha512-rHtdA6+PDBIjeEvA91rpqzEvk/k3/i7EeNQiryiWuJH0Hw9cpyJMAt2jtbAwUaRdhD+573X4vWw6IcjKPasi9Q== - dependencies: - type-fest "^0.20.2" - -globals@^13.9.0: - version "13.9.0" - resolved "https://registry.yarnpkg.com/globals/-/globals-13.9.0.tgz#4bf2bf635b334a173fb1daf7c5e6b218ecdc06cb" - integrity sha512-74/FduwI/JaIrr1H8e71UbDE+5x7pIPs1C2rrwC52SszOo043CsWOZEMW7o2Y58xwm9b+0RBKDxY5n2sUpEFxA== +globals@^13.6.0, globals@^13.9.0: + version "13.12.0" + resolved "https://registry.yarnpkg.com/globals/-/globals-13.12.0.tgz#4d733760304230a0082ed96e21e5c565f898089e" + integrity sha512-uS8X6lSKN2JumVoXrbUz+uG4BYG+eiawqm3qFcT7ammfbUHeCBoJMlHcec/S3krSk73/AE/f0szYFmgAA3kYZg== dependencies: type-fest "^0.20.2" globby@^11.0.0, globby@^11.0.3: - version "11.0.3" - resolved "https://registry.yarnpkg.com/globby/-/globby-11.0.3.tgz#9b1f0cb523e171dd1ad8c7b2a9fb4b644b9593cb" - integrity sha512-ffdmosjA807y7+lA1NM0jELARVmYul/715xiILEjo3hBLPTcirgQNnXECn5g3mtR8TOLCVbkfua1Hpen25/Xcg== + version "11.0.4" + resolved "https://registry.yarnpkg.com/globby/-/globby-11.0.4.tgz#2cbaff77c2f2a62e71e9b2813a67b97a3a3001a5" + integrity sha512-9O4MVG9ioZJ08ffbcyVYyLOJLk5JQ688pJ4eMGLpdWLHq/Wr1D9BlriLQyL0E+jbkuePVZXYFj47QM/v093wHg== dependencies: array-union "^2.1.0" dir-glob "^3.0.1" @@ -2686,9 +2645,9 @@ globby@^11.0.0, globby@^11.0.3: slash "^3.0.0" graceful-fs@^4.1.2, graceful-fs@^4.1.5, graceful-fs@^4.1.6, graceful-fs@^4.1.9, graceful-fs@^4.2.0: - version "4.2.6" - resolved "https://registry.yarnpkg.com/graceful-fs/-/graceful-fs-4.2.6.tgz#ff040b2b0853b23c3d31027523706f1885d76bee" - integrity sha512-nTnJ528pbqxYanhpDYsi4Rd8MAeaBA67+RZ10CM1m3bTAVFEDcd5AuA4a6W5YkGZ1iNXHzZz8T6TBKLeBuNriQ== + version "4.2.8" + resolved "https://registry.yarnpkg.com/graceful-fs/-/graceful-fs-4.2.8.tgz#e412b8d33f5e006593cbd3cee6df9f2cebbe802a" + integrity sha512-qkIilPUYcNhJpd33n0GBXTB1MMPp14TxEsEs0pTrsSVucApsYzW5V+Q8Qxhik6KU3evy+qkAAowTByymK0avdg== grapheme-splitter@^1.0.4: version "1.0.4" @@ -2705,10 +2664,10 @@ hard-rejection@^2.1.0: resolved "https://registry.yarnpkg.com/hard-rejection/-/hard-rejection-2.1.0.tgz#1c6eda5c1685c63942766d79bb40ae773cecd883" integrity sha512-VIZB+ibDhx7ObhAe7OVtoEbuP4h/MuOTHJ+J8h/eBXotJYl0fBgR72xDFCKgIh22OJZIOVNxBMWuhAr10r8HdA== -hardhat@^2.6.1: - version "2.6.1" - resolved "https://registry.yarnpkg.com/hardhat/-/hardhat-2.6.1.tgz#4553ca555c1ba8ed7c3c5a5a93e6082a2869b3ae" - integrity sha512-0LozdYbPsiTc6ZXsfDQUTV3L0p4CMO5TRbd5qmeWiCYGmhd+7Mvdg4N+nA8w0g3gZ2OKFUmHIYlAbExI488ceQ== +hardhat@^2.6.8: + version "2.6.8" + resolved "https://registry.yarnpkg.com/hardhat/-/hardhat-2.6.8.tgz#9ef6f8c16f9044acb95609d15a760b89177b8181" + integrity sha512-iRVd5DgcIVV3rNXMlogOfwlXAhHp7Wy/OjjFiUhTey8Unvo6oq5+Is5ANiKVN+Iw07Pcb/HpkGt7jCB6a4ITgg== dependencies: "@ethereumjs/block" "^3.4.0" "@ethereumjs/blockchain" "^5.4.0" @@ -2717,7 +2676,7 @@ hardhat@^2.6.1: "@ethereumjs/vm" "^5.5.2" "@ethersproject/abi" "^5.1.2" "@sentry/node" "^5.18.1" - "@solidity-parser/parser" "^0.11.0" + "@solidity-parser/parser" "^0.14.0" "@types/bn.js" "^5.1.0" "@types/lru-cache" "^5.1.0" abort-controller "^3.0.0" @@ -2778,6 +2737,13 @@ has-symbols@^1.0.0, has-symbols@^1.0.1, has-symbols@^1.0.2: resolved "https://registry.yarnpkg.com/has-symbols/-/has-symbols-1.0.2.tgz#165d3070c00309752a1236a479331e3ac56f1423" integrity sha512-chXa79rL/UC2KlX17jo3vRGz0azaWEx5tGqZg5pO3NUyEJVB17dMruQlzCCOfUvElghKcm5194+BCRvi2Rv/Gw== +has-tostringtag@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/has-tostringtag/-/has-tostringtag-1.0.0.tgz#7e133818a7d394734f941e73c3d3f9291e658b25" + integrity sha512-kFjcSNhnlGV1kyoGk7OXKSawH5JOb/LzUc5w9B02hOTO0dfFRjbHQKvg1d6cf3HbeUmtU9VbbV3qzZ2Teh97WQ== + dependencies: + has-symbols "^1.0.2" + has@^1.0.3: version "1.0.3" resolved "https://registry.yarnpkg.com/has/-/has-1.0.3.tgz#722d7cbfc1f6aa8241f16dd814e011e1f41e8796" @@ -2862,10 +2828,10 @@ ignore@^4.0.6: resolved "https://registry.yarnpkg.com/ignore/-/ignore-4.0.6.tgz#750e3db5862087b4737ebac8207ffd1ef27b25fc" integrity sha512-cyFDKrqc/YdcWFniJhzI42+AzS+gNwmUzOSFcRCQYwySuBBBy/KjuxWLZ/FHEH6Moq1NizMOBWyTcv8O4OZIMg== -ignore@^5.1.4: - version "5.1.8" - resolved "https://registry.yarnpkg.com/ignore/-/ignore-5.1.8.tgz#f150a8b50a34289b33e22f5889abd4d8016f0e57" - integrity sha512-BMpfD7PpiETpBl/A6S498BaIJ6Y/ABT93ETbby2fP00v4EbvPBXWEoaR1UBPKs3iR53pJY7EtZk5KACI57i1Uw== +ignore@^5.1.4, ignore@^5.1.8: + version "5.1.9" + resolved "https://registry.yarnpkg.com/ignore/-/ignore-5.1.9.tgz#9ec1a5cbe8e1446ec60d4420060d43aa6e7382fb" + integrity sha512-2zeMQpbKz5dhZ9IwL0gbxSW5w0NK/MSAMtNuhgIHEPmaU3vPdKPL0UdvUCXs5SS4JAwsBxysK5sFMW8ocFiVjQ== immediate@^3.2.3: version "3.3.0" @@ -2878,9 +2844,9 @@ immediate@~3.2.3: integrity sha1-0UD6j2FGWb1lQSMwl92qwlzdmRw= immutable@^4.0.0-rc.12: - version "4.0.0-rc.12" - resolved "https://registry.yarnpkg.com/immutable/-/immutable-4.0.0-rc.12.tgz#ca59a7e4c19ae8d9bf74a97bdf0f6e2f2a5d0217" - integrity sha512-0M2XxkZLx/mi3t8NVwIm1g8nHoEmM9p9UBl/G9k4+hm0kBgOVdMV/B3CY5dQ8qG8qc80NN4gDV4HQv6FTJ5q7A== + version "4.0.0" + resolved "https://registry.yarnpkg.com/immutable/-/immutable-4.0.0.tgz#b86f78de6adef3608395efb269a91462797e2c23" + integrity sha512-zIE9hX70qew5qTUjSS7wi1iwj/l7+m54KWU247nhM3v806UdGj1yDndXj+IOYxxtW9zyLI+xqFNZjTuDaLUqFw== import-fresh@^2.0.0: version "2.0.0" @@ -2945,6 +2911,15 @@ inquirer@^6.2.2: strip-ansi "^5.1.0" through "^2.3.6" +internal-slot@^1.0.3: + version "1.0.3" + resolved "https://registry.yarnpkg.com/internal-slot/-/internal-slot-1.0.3.tgz#7347e307deeea2faac2ac6205d4bc7d34967f59c" + integrity sha512-O0DB1JC/sPyZl7cIo78n5dR7eUSwwpYPiXRhTzNxZVAMUuB8vlnRFyLxdrVToks6XPLVnFfbzaVd5WLjhgg+vA== + dependencies: + get-intrinsic "^1.1.0" + has "^1.0.3" + side-channel "^1.0.4" + io-ts@1.10.4: version "1.10.4" resolved "https://registry.yarnpkg.com/io-ts/-/io-ts-1.10.4.tgz#cd5401b138de88e4f920adbcb7026e2d1967e6e2" @@ -2958,9 +2933,11 @@ is-arrayish@^0.2.1: integrity sha1-d8mYQFJ6qOyxqLppe4BkWnqSap0= is-bigint@^1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/is-bigint/-/is-bigint-1.0.1.tgz#6923051dfcbc764278540b9ce0e6b3213aa5ebc2" - integrity sha512-J0ELF4yHFxHy0cmSxZuheDOz2luOdVvqjwmEcj8H/L1JHeuEDSDbeRP+Dk9kFVk5RTFzbucJ2Kb9F7ixY2QaCg== + version "1.0.4" + resolved "https://registry.yarnpkg.com/is-bigint/-/is-bigint-1.0.4.tgz#08147a1875bc2b32005d41ccd8291dffc6691df3" + integrity sha512-zB9CruMamjym81i2JZ3UMn54PKGsQzsJeo6xvN3HJJ4CAsQNB6iRutp2To77OfCNuoxspsIhzaPoO1zyCEhFOg== + dependencies: + has-bigints "^1.0.1" is-binary-path@~2.1.0: version "2.1.0" @@ -2970,21 +2947,22 @@ is-binary-path@~2.1.0: binary-extensions "^2.0.0" is-boolean-object@^1.1.0: - version "1.1.0" - resolved "https://registry.yarnpkg.com/is-boolean-object/-/is-boolean-object-1.1.0.tgz#e2aaad3a3a8fca34c28f6eee135b156ed2587ff0" - integrity sha512-a7Uprx8UtD+HWdyYwnD1+ExtTgqQtD2k/1yJgtXP6wnMm8byhkoTZRl+95LLThpzNZJ5aEvi46cdH+ayMFRwmA== + version "1.1.2" + resolved "https://registry.yarnpkg.com/is-boolean-object/-/is-boolean-object-1.1.2.tgz#5c6dc200246dd9321ae4b885a114bb1f75f63719" + integrity sha512-gDYaKHJmnj4aWxyj6YHyXVpdQawtVLHU5cb+eztPGczf6cjuTdwve5ZIEfgXqH4e57An1D1AKf8CZ3kYrQRqYA== dependencies: - call-bind "^1.0.0" + call-bind "^1.0.2" + has-tostringtag "^1.0.0" is-buffer@~2.0.3: version "2.0.5" resolved "https://registry.yarnpkg.com/is-buffer/-/is-buffer-2.0.5.tgz#ebc252e400d22ff8d77fa09888821a24a658c191" integrity sha512-i2R6zNFDwgEHJyQUtJEk0XFi1i0dPFn/oqjK3/vPCcDeJvW5NQ83V8QbicfF1SupOaB0h8ntgBC2YiE7dfyctQ== -is-callable@^1.1.3, is-callable@^1.1.4, is-callable@^1.2.3: - version "1.2.3" - resolved "https://registry.yarnpkg.com/is-callable/-/is-callable-1.2.3.tgz#8b1e0500b73a1d76c70487636f368e519de8db8e" - integrity sha512-J1DcMe8UYTBSrKezuIUTUwjXsho29693unXM2YhJUTR2txK/eG47bvNa/wipPFmZFgr/N6f1GA66dv0mEyTIyQ== +is-callable@^1.1.4, is-callable@^1.2.4: + version "1.2.4" + resolved "https://registry.yarnpkg.com/is-callable/-/is-callable-1.2.4.tgz#47301d58dd0259407865547853df6d61fe471945" + integrity sha512-nsuwtxZfMX67Oryl9LCQ+upnC0Z0BgpwntpS89m1H/TLF0zNfzfLMV/9Wa/6MZsj0acpEjAO0KF1xT6ZdLl95w== is-ci@^2.0.0: version "2.0.0" @@ -2994,16 +2972,18 @@ is-ci@^2.0.0: ci-info "^2.0.0" is-core-module@^2.2.0: - version "2.2.0" - resolved "https://registry.yarnpkg.com/is-core-module/-/is-core-module-2.2.0.tgz#97037ef3d52224d85163f5597b2b63d9afed981a" - integrity sha512-XRAfAdyyY5F5cOXn7hYQDqh2Xmii+DEfIcQGxK/uNwMHhIkPWO0g8msXcbzLe+MpGoR951MlqM/2iIlU4vKDdQ== + version "2.8.0" + resolved "https://registry.yarnpkg.com/is-core-module/-/is-core-module-2.8.0.tgz#0321336c3d0925e497fd97f5d95cb114a5ccd548" + integrity sha512-vd15qHsaqrRL7dtH6QNuy0ndJmRDrS9HAM1CAiSifNUFv4x1a0CCVsj18hJ1mShxIG6T2i1sO78MkP56r0nYRw== dependencies: has "^1.0.3" is-date-object@^1.0.1: - version "1.0.2" - resolved "https://registry.yarnpkg.com/is-date-object/-/is-date-object-1.0.2.tgz#bda736f2cd8fd06d32844e7743bfa7494c3bfd7e" - integrity sha512-USlDT524woQ08aoZFzh3/Z6ch9Y/EWXEHQ/AaRN0SkKq4t2Jw2R2339tSXmwuVoY7LLlBCbOIlx2myP/L5zk0g== + version "1.0.5" + resolved "https://registry.yarnpkg.com/is-date-object/-/is-date-object-1.0.5.tgz#0841d5536e724c25597bf6ea62e1bd38298df31f" + integrity sha512-9YQaSxsAiSwcvS33MBk3wTCVnWK+HhF8VZR2jRxehM16QcVOdHqPn4VPHmRK4lSr38n9JriurInLcP90xsYNfQ== + dependencies: + has-tostringtag "^1.0.0" is-directory@^0.3.1: version "0.3.1" @@ -3026,9 +3006,9 @@ is-fullwidth-code-point@^3.0.0: integrity sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg== is-glob@^4.0.0, is-glob@^4.0.1, is-glob@~4.0.1: - version "4.0.1" - resolved "https://registry.yarnpkg.com/is-glob/-/is-glob-4.0.1.tgz#7567dbe9f2f5e2467bc77ab83c4a29482407a5dc" - integrity sha512-5G0tKtBTFImOqDnLB2hG6Bp2qcKEFduo4tZu9MT/H6NQv/ghhy30o55ufafxJ/LdH79LLs2Kfrn85TLKyA7BUg== + version "4.0.3" + resolved "https://registry.yarnpkg.com/is-glob/-/is-glob-4.0.3.tgz#64f61e42cbbb2eec2071a9dac0b28ba1e65d5084" + integrity sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg== dependencies: is-extglob "^2.1.1" @@ -3043,9 +3023,11 @@ is-negative-zero@^2.0.1: integrity sha512-2z6JzQvZRa9A2Y7xC6dQQm4FSTSTNWjKIYYTt4246eMTJmIo0Q+ZyOsU66X8lxK1AbB92dFeglPLrhwpeRKO6w== is-number-object@^1.0.4: - version "1.0.4" - resolved "https://registry.yarnpkg.com/is-number-object/-/is-number-object-1.0.4.tgz#36ac95e741cf18b283fc1ddf5e83da798e3ec197" - integrity sha512-zohwelOAur+5uXtk8O3GPQ1eAcu4ZX3UwxQhUlfFFMNpUd83gXgjbhJh6HmB6LUNV/ieOLQuDwJO3dWJosUeMw== + version "1.0.6" + resolved "https://registry.yarnpkg.com/is-number-object/-/is-number-object-1.0.6.tgz#6a7aaf838c7f0686a50b4553f7e54a96494e89f0" + integrity sha512-bEVOqiRcvo3zO1+G2lVMy+gkkEm9Yh7cDMRusKKu5ZJKPUYSJwICTKZrNKHA2EbSP0Tu0+6B/emsYNHZyn6K8g== + dependencies: + has-tostringtag "^1.0.0" is-number@^7.0.0: version "7.0.0" @@ -3062,23 +3044,30 @@ is-plain-obj@^2.1.0: resolved "https://registry.yarnpkg.com/is-plain-obj/-/is-plain-obj-2.1.0.tgz#45e42e37fccf1f40da8e5f76ee21515840c09287" integrity sha512-YWnfyRwxL/+SsrWYfOpUtz5b3YD+nyfkHvjbcanzk8zgyO4ASD67uVMRt8k5bM4lLMDnXfriRhOpemw+NfT1eA== -is-regex@^1.1.2: - version "1.1.2" - resolved "https://registry.yarnpkg.com/is-regex/-/is-regex-1.1.2.tgz#81c8ebde4db142f2cf1c53fc86d6a45788266251" - integrity sha512-axvdhb5pdhEVThqJzYXwMlVuZwC+FF2DpcOhTS+y/8jVq4trxyPgfcwIxIKiyeuLlSQYKkmUaPQJ8ZE4yNKXDg== +is-regex@^1.1.4: + version "1.1.4" + resolved "https://registry.yarnpkg.com/is-regex/-/is-regex-1.1.4.tgz#eef5663cd59fa4c0ae339505323df6854bb15958" + integrity sha512-kvRdxDsxZjhzUX07ZnLydzS1TU/TJlTUHHY4YLL87e37oUA49DfkLqgy+VjFocowy29cKvcSiu+kIv728jTTVg== dependencies: call-bind "^1.0.2" - has-symbols "^1.0.1" + has-tostringtag "^1.0.0" + +is-shared-array-buffer@^1.0.1: + version "1.0.1" + resolved "https://registry.yarnpkg.com/is-shared-array-buffer/-/is-shared-array-buffer-1.0.1.tgz#97b0c85fbdacb59c9c446fe653b82cf2b5b7cfe6" + integrity sha512-IU0NmyknYZN0rChcKhRO1X8LYz5Isj/Fsqh8NJOSf+N/hCOTwy29F32Ik7a+QszE63IdvmwdTPDd6cZ5pg4cwA== is-stream@^1.1.0: version "1.1.0" resolved "https://registry.yarnpkg.com/is-stream/-/is-stream-1.1.0.tgz#12d4a3dd4e68e0b79ceb8dbc84173ae80d91ca44" integrity sha1-EtSj3U5o4Lec6428hBc66A2RykQ= -is-string@^1.0.5: - version "1.0.5" - resolved "https://registry.yarnpkg.com/is-string/-/is-string-1.0.5.tgz#40493ed198ef3ff477b8c7f92f644ec82a5cd3a6" - integrity sha512-buY6VNRjhQMiF1qWDouloZlQbRhDPCebwxSjxMjxgemYT46YMd2NR0/H+fBhEfWX4A/w9TBJ+ol+okqJKFE6vQ== +is-string@^1.0.5, is-string@^1.0.7: + version "1.0.7" + resolved "https://registry.yarnpkg.com/is-string/-/is-string-1.0.7.tgz#0dd12bf2006f255bb58f695110eff7491eebc0fd" + integrity sha512-tE2UXzivje6ofPW7l23cjDOMa09gb7xlAqG6jG5ej6uPV32TlWP3NKPigtaGeHNu9fohccRYvIiZMfOOnOYUtg== + dependencies: + has-tostringtag "^1.0.0" is-subdir@^1.1.1: version "1.2.0" @@ -3088,17 +3077,24 @@ is-subdir@^1.1.1: better-path-resolve "1.0.0" is-symbol@^1.0.2, is-symbol@^1.0.3: - version "1.0.3" - resolved "https://registry.yarnpkg.com/is-symbol/-/is-symbol-1.0.3.tgz#38e1014b9e6329be0de9d24a414fd7441ec61937" - integrity sha512-OwijhaRSgqvhm/0ZdAcXNZt9lYdKFpcRDT5ULUuYXPoT794UNOdU+gpT6Rzo7b4V2HUl/op6GqY894AZwv9faQ== + version "1.0.4" + resolved "https://registry.yarnpkg.com/is-symbol/-/is-symbol-1.0.4.tgz#a6dac93b635b063ca6872236de88910a57af139c" + integrity sha512-C/CPBqKWnvdcxqIARxyOh4v1UUEOCHpgDa0WYgpKDFMszcrPcffg5uhwSgPCLD2WWxmq6isisz87tzT01tuGhg== dependencies: - has-symbols "^1.0.1" + has-symbols "^1.0.2" is-unicode-supported@^0.1.0: version "0.1.0" resolved "https://registry.yarnpkg.com/is-unicode-supported/-/is-unicode-supported-0.1.0.tgz#3f26c76a809593b52bfa2ecb5710ed2779b522a7" integrity sha512-knxG2q4UC3u8stRGyAVJCOdxFmv5DZiRcdlIaAQXAbSfJya+OhopNotLQrstBhququ4ZpuKbDc/8S6mgXgPFPw== +is-weakref@^1.0.1: + version "1.0.1" + resolved "https://registry.yarnpkg.com/is-weakref/-/is-weakref-1.0.1.tgz#842dba4ec17fa9ac9850df2d6efbc1737274f2a2" + integrity sha512-b2jKc2pQZjaeFYWEf7ScFj+Be1I+PXmlu572Q8coTXZ+LD/QQZ7ShPMst8h16riVgyXTQwUsFEl74mDvc/3MHQ== + dependencies: + call-bind "^1.0.0" + is-windows@^1.0.0: version "1.0.2" resolved "https://registry.yarnpkg.com/is-windows/-/is-windows-1.0.2.tgz#d1850eb9791ecd18e6182ce12a30f396634bb19d" @@ -3109,11 +3105,6 @@ isexe@^2.0.0: resolved "https://registry.yarnpkg.com/isexe/-/isexe-2.0.0.tgz#e8fbf374dc556ff8947a10dcb0572d633f2cfa10" integrity sha1-6PvzdNxVb/iUehDcsFctYz8s+hA= -js-sha3@0.5.7: - version "0.5.7" - resolved "https://registry.yarnpkg.com/js-sha3/-/js-sha3-0.5.7.tgz#0d4ffd8002d5333aabaf4a23eed2f6374c9f28e7" - integrity sha1-DU/9gALVMzqrr0oj7tL2N0yfKOc= - js-sha3@0.8.0: version "0.8.0" resolved "https://registry.yarnpkg.com/js-sha3/-/js-sha3-0.8.0.tgz#b9b7a5da73afad7dedd0f8c463954cbde6818840" @@ -3196,12 +3187,13 @@ jsonfile@^6.0.1: graceful-fs "^4.1.6" keccak@^3.0.0: - version "3.0.1" - resolved "https://registry.yarnpkg.com/keccak/-/keccak-3.0.1.tgz#ae30a0e94dbe43414f741375cff6d64c8bea0bff" - integrity sha512-epq90L9jlFWCW7+pQa6JOnKn2Xgl2mtI664seYR6MHskvI9agt7AnDqmAlp9TqU4/caMYbA08Hi5DMZAl5zdkA== + version "3.0.2" + resolved "https://registry.yarnpkg.com/keccak/-/keccak-3.0.2.tgz#4c2c6e8c54e04f2670ee49fa734eb9da152206e0" + integrity sha512-PyKKjkH53wDMLGrvmRGSNWgmSxZOUqbnXwKL9tmgbFYA1iAYqW21kfR7mZXV0MlESiefxQQE9X9fTa3X+2MPDQ== dependencies: node-addon-api "^2.0.0" node-gyp-build "^4.2.0" + readable-stream "^3.6.0" kind-of@^6.0.3: version "6.0.3" @@ -3347,11 +3339,6 @@ locate-path@^6.0.0: dependencies: p-locate "^5.0.0" -lodash.clonedeep@^4.5.0: - version "4.5.0" - resolved "https://registry.yarnpkg.com/lodash.clonedeep/-/lodash.clonedeep-4.5.0.tgz#e23f3f9c4f8fbdde872529c1071857a086e5ccef" - integrity sha1-4j8/nE+Pvd6HJSnBBxhXoIblzO8= - lodash.merge@^4.6.2: version "4.6.2" resolved "https://registry.yarnpkg.com/lodash.merge/-/lodash.merge-4.6.2.tgz#558aa53b43b661e1925a0afdfa36a9a1085fe57a" @@ -3430,9 +3417,9 @@ map-obj@^1.0.0: integrity sha1-2TPOuSBdgr3PSIb2dCvcK03qFG0= map-obj@^4.0.0: - version "4.2.1" - resolved "https://registry.yarnpkg.com/map-obj/-/map-obj-4.2.1.tgz#e4ea399dbc979ae735c83c863dd31bdf364277b7" - integrity sha512-+WA2/1sPmDj1dlvvJmB5G6JKfY9dpn7EVBUL06+y6PoljPkh+6V1QihwxNkbcGxCRjt2b0F9K0taiCuo7MbdFQ== + version "4.3.0" + resolved "https://registry.yarnpkg.com/map-obj/-/map-obj-4.3.0.tgz#9304f906e93faae70880da102a9f1df0ea8bb05a" + integrity sha512-hdN1wVrZbb29eBGiGjJbeP8JbKjq1urkHJ/LIP/NY48MZ1QVXUsQBV1G1zvYFHn1XE06cwjBsOI2K3Ulnj1YXQ== match-all@^1.2.6: version "1.2.6" @@ -3440,9 +3427,9 @@ match-all@^1.2.6: integrity sha512-0EESkXiTkWzrQQntBu2uzKvLu6vVkUGz40nGPbSZuegcfE5UuSzNjLaIu76zJWuaT/2I3Z/8M06OlUOZLGwLlQ== mcl-wasm@^0.7.1: - version "0.7.6" - resolved "https://registry.yarnpkg.com/mcl-wasm/-/mcl-wasm-0.7.6.tgz#c1789ebda5565d49b77d2ee195ff3e4d282f1554" - integrity sha512-cbRl3sUOkBeRY2hsM4t1EIln2TIdQBkSiTOqNTv/4Hu5KOECnMWCgjIf+a9Ebunyn22VKqkMF3zj6ejRzz7YBw== + version "0.7.9" + resolved "https://registry.yarnpkg.com/mcl-wasm/-/mcl-wasm-0.7.9.tgz#c1588ce90042a8700c3b60e40efb339fc07ab87f" + integrity sha512-iJIUcQWA88IJB/5L15GnJVnSQJmf/YaxxV6zRavv83HILHaJQb6y0iFyDMdDO0gN8X37tdxmAOrH/P8B6RB8sQ== md5.js@^1.3.4: version "1.3.5" @@ -3492,20 +3479,20 @@ merge2@^1.3.0: resolved "https://registry.yarnpkg.com/merge2/-/merge2-1.4.1.tgz#4368892f885e907455a6fd7dc55c0c9d404990ae" integrity sha512-8q7VEgMJW4J8tcfVPy8g09NcQwZdbwFEqhe/WZkoIzjn/3TGDwtOCYtXGxA3O8tPzpczCCDgv+P2P5y00ZJOOg== -merkle-patricia-tree@^4.2.0: - version "4.2.0" - resolved "https://registry.yarnpkg.com/merkle-patricia-tree/-/merkle-patricia-tree-4.2.0.tgz#a204b9041be5c25e8d14f0ff47021de090e811a1" - integrity sha512-0sBVXs7z1Q1/kxzWZ3nPnxSPiaHKF/f497UQzt9O7isRcS10tel9jM/4TivF6Jv7V1yFq4bWyoATxbDUOen5vQ== +merkle-patricia-tree@^4.2.0, merkle-patricia-tree@^4.2.2: + version "4.2.2" + resolved "https://registry.yarnpkg.com/merkle-patricia-tree/-/merkle-patricia-tree-4.2.2.tgz#6dec17855370172458244c2f42c989dd60b773a3" + integrity sha512-eqZYNTshcYx9aESkSPr71EqwsR/QmpnObDEV4iLxkt/x/IoLYZYjJvKY72voP/27Vy61iMOrfOG6jrn7ttXD+Q== dependencies: "@types/levelup" "^4.3.0" - ethereumjs-util "^7.0.10" + ethereumjs-util "^7.1.2" level-mem "^5.0.1" level-ws "^2.0.0" readable-stream "^3.6.0" rlp "^2.2.4" semaphore-async-await "^1.5.1" -micromatch@^4.0.2: +micromatch@^4.0.2, micromatch@^4.0.4: version "4.0.4" resolved "https://registry.yarnpkg.com/micromatch/-/micromatch-4.0.4.tgz#896d519dfe9db25fce94ceb7a500919bf881ebf9" integrity sha512-pRmzw/XUcwXGpD9aI9q/0XOwLNygjETJ8y0ao0wdqprrzDa4YnxLcz7fQRZr8voh8V10kGhABbNcHVk5wHgWwg== @@ -3521,17 +3508,17 @@ miller-rabin@^4.0.0: bn.js "^4.0.0" brorand "^1.0.1" -mime-db@1.47.0: - version "1.47.0" - resolved "https://registry.yarnpkg.com/mime-db/-/mime-db-1.47.0.tgz#8cb313e59965d3c05cfbf898915a267af46a335c" - integrity sha512-QBmA/G2y+IfeS4oktet3qRZ+P5kPhCKRXxXnQEudYqUaEioAU1/Lq2us3D/t1Jfo4hE9REQPrbB7K5sOczJVIw== +mime-db@1.51.0: + version "1.51.0" + resolved "https://registry.yarnpkg.com/mime-db/-/mime-db-1.51.0.tgz#d9ff62451859b18342d960850dc3cfb77e63fb0c" + integrity sha512-5y8A56jg7XVQx2mbv1lu49NR4dokRnhZYTtL+KGfaa27uq4pSTXkwQkFJl4pkRMyNFz/EtYDSkiiEHx3F7UN6g== mime-types@^2.1.12: - version "2.1.30" - resolved "https://registry.yarnpkg.com/mime-types/-/mime-types-2.1.30.tgz#6e7be8b4c479825f85ed6326695db73f9305d62d" - integrity sha512-crmjA4bLtR8m9qLpHvgxSChT+XoSlZi8J4n/aIdn3z92e/U47Z0V/yl+Wh9W046GgFVAmoNR/fmdbZYcSSIUeg== + version "2.1.34" + resolved "https://registry.yarnpkg.com/mime-types/-/mime-types-2.1.34.tgz#5a712f9ec1503511a945803640fafe09d3793c24" + integrity sha512-6cP692WwGIs9XXdOO4++N+7qjqv0rqxxVvJ3VHPh/Sc9mVZcQP+ZGhkKiTvWMQRr2tbHkJP/Yn7Y0npb3ZBs4A== dependencies: - mime-db "1.47.0" + mime-db "1.51.0" mimic-fn@^1.0.0: version "1.2.0" @@ -3574,10 +3561,10 @@ minimist@^1.2.5: resolved "https://registry.yarnpkg.com/minimist/-/minimist-1.2.5.tgz#67d66014b66a6a8aaa0c083c5fd58df4e4e97602" integrity sha512-FM9nNUYrRBAELZQT3xeZQ7fmMOBg6nWNmJKTcgsJeaLstP/UODVpGsr5OhXhhXg6f+qtJ8uiZ+PUxkDWcgIXLw== -mixme@^0.5.0: - version "0.5.0" - resolved "https://registry.yarnpkg.com/mixme/-/mixme-0.5.0.tgz#7a7ebbb51251724b18054c63c91f5487c0b030ab" - integrity sha512-YyyBIzqe6EEi5xcnN66LXVVvwijMF51liPT9ZqsrHim9s2MgEg4jxI8gsSF6R7pzAotjvBiERC90bbnwAqiDHg== +mixme@^0.5.1: + version "0.5.4" + resolved "https://registry.yarnpkg.com/mixme/-/mixme-0.5.4.tgz#8cb3bd0cd32a513c161bf1ca99d143f0bcf2eff3" + integrity sha512-3KYa4m4Vlqx98GPdOHghxSdNtTvcP8E0kkaJ5Dlh+h2DRzF7zpuVVcA8B0QpKd11YJeP9QQ7ASkKzOeu195Wzw== mkdirp@0.5.5, mkdirp@^0.5.1: version "0.5.5" @@ -3587,11 +3574,11 @@ mkdirp@0.5.5, mkdirp@^0.5.1: minimist "^1.2.5" mnemonist@^0.38.0: - version "0.38.3" - resolved "https://registry.yarnpkg.com/mnemonist/-/mnemonist-0.38.3.tgz#35ec79c1c1f4357cfda2fe264659c2775ccd7d9d" - integrity sha512-2K9QYubXx/NAjv4VLq1d1Ly8pWNC5L3BrixtdkyTegXWJIqY+zLNDhhX/A+ZwWt70tB1S8H4BE8FLYEFyNoOBw== + version "0.38.5" + resolved "https://registry.yarnpkg.com/mnemonist/-/mnemonist-0.38.5.tgz#4adc7f4200491237fe0fa689ac0b86539685cade" + integrity sha512-bZTFT5rrPKtPJxj8KSV0WkPyNxl72vQepqqVUAW2ARUpUSF2qXMB6jZj7hW5/k7C1rtpzqbD/IIbJwLXUjCHeg== dependencies: - obliterator "^1.6.1" + obliterator "^2.0.0" mocha@^7.1.2: version "7.2.0" @@ -3624,15 +3611,15 @@ mocha@^7.1.2: yargs-unparser "1.6.0" mocha@^9.1.0: - version "9.1.0" - resolved "https://registry.yarnpkg.com/mocha/-/mocha-9.1.0.tgz#0a7aa6fc4f59d1015d4e11747d9104b752553c67" - integrity sha512-Kjg/XxYOFFUi0h/FwMOeb6RoroiZ+P1yOfya6NK7h3dNhahrJx1r2XIT3ge4ZQvJM86mdjNA+W5phqRQh7DwCg== + version "9.1.3" + resolved "https://registry.yarnpkg.com/mocha/-/mocha-9.1.3.tgz#8a623be6b323810493d8c8f6f7667440fa469fdb" + integrity sha512-Xcpl9FqXOAYqI3j79pEtHBBnQgVXIhpULjGQa7DVb0Po+VzmSIK9kanAiWLHoRR/dbZ2qpdPshuXr8l1VaHCzw== dependencies: "@ungap/promise-all-settled" "1.1.2" ansi-colors "4.1.1" browser-stdout "1.3.1" chokidar "3.5.2" - debug "4.3.1" + debug "4.3.2" diff "5.0.0" escape-string-regexp "4.0.0" find-up "5.0.0" @@ -3643,12 +3630,11 @@ mocha@^9.1.0: log-symbols "4.1.0" minimatch "3.0.4" ms "2.1.3" - nanoid "3.1.23" + nanoid "3.1.25" serialize-javascript "6.0.0" strip-json-comments "3.1.1" supports-color "8.1.1" which "2.0.2" - wide-align "1.1.3" workerpool "6.1.5" yargs "16.2.0" yargs-parser "20.2.4" @@ -3688,10 +3674,10 @@ mute-stream@0.0.7: resolved "https://registry.yarnpkg.com/mute-stream/-/mute-stream-0.0.7.tgz#3075ce93bc21b8fab43e1bc4da7e8115ed1e7bab" integrity sha1-MHXOk7whuPq0PhvE2n6BFe0ee6s= -nanoid@3.1.23: - version "3.1.23" - resolved "https://registry.yarnpkg.com/nanoid/-/nanoid-3.1.23.tgz#f744086ce7c2bc47ee0a8472574d5c78e4183a81" - integrity sha512-FiB0kzdP0FFVGDKlRLEQ1BgDzU87dy5NnzjeW9YZNt+/c3+q82EQDUwniSAUxp/F0gFNI1ZhKU1FqYsMuqZVnw== +nanoid@3.1.25: + version "3.1.25" + resolved "https://registry.yarnpkg.com/nanoid/-/nanoid-3.1.25.tgz#09ca32747c0e543f0e1814b7d3793477f9c8e152" + integrity sha512-rdwtIXaXCLFAQbnfqDRnI6jaRHp9fTcYBjtFKE8eezcZ7LuLjhUaQGNeMXf1HmRoCH32CLz6XwX0TtxEOS/A3Q== natural-compare@^1.4.0: version "1.4.0" @@ -3717,14 +3703,16 @@ node-environment-flags@1.0.6: semver "^5.7.0" node-fetch@^2.6.0: - version "2.6.1" - resolved "https://registry.yarnpkg.com/node-fetch/-/node-fetch-2.6.1.tgz#045bd323631f76ed2e2b55573394416b639a0052" - integrity sha512-V4aYg89jEoVRxRb2fJdAg8FHvI7cEyYdVAh94HH0UIK8oJxUfkjlDQN9RbMx+bEjP7+ggMiFRprSti032Oipxw== + version "2.6.6" + resolved "https://registry.yarnpkg.com/node-fetch/-/node-fetch-2.6.6.tgz#1751a7c01834e8e1697758732e9efb6eeadfaf89" + integrity sha512-Z8/6vRlTUChSdIgMa51jxQ4lrw/Jy5SOW10ObaA47/RElsAN2c5Pn8bTgFGWn/ibwzXTE8qwr1Yzx28vsecXEA== + dependencies: + whatwg-url "^5.0.0" node-gyp-build@^4.2.0: - version "4.2.3" - resolved "https://registry.yarnpkg.com/node-gyp-build/-/node-gyp-build-4.2.3.tgz#ce6277f853835f718829efb47db20f3e4d9c4739" - integrity sha512-MN6ZpzmfNCRM+3t57PTJHgHyw/h4OWnZ6mR8P5j/uZtqQr46RRuDE/P+g3n0YR/AiYXeWixZZzaip77gdICfRg== + version "4.3.0" + resolved "https://registry.yarnpkg.com/node-gyp-build/-/node-gyp-build-4.3.0.tgz#9f256b03e5826150be39c764bf51e993946d71a3" + integrity sha512-iWjXZvmboq0ja1pUGULQBexmxq8CV4xBhX7VDOTbL7ZR4FOowwY/VOtRxBN/yKxmdGoIp4j5ysNT4u3S2pDQ3Q== normalize-package-data@^2.5.0: version "2.5.0" @@ -3748,10 +3736,10 @@ npm-run-path@^2.0.0: dependencies: path-key "^2.0.0" -object-inspect@^1.9.0: - version "1.10.2" - resolved "https://registry.yarnpkg.com/object-inspect/-/object-inspect-1.10.2.tgz#b6385a3e2b7cae0b5eafcf90cddf85d128767f30" - integrity sha512-gz58rdPpadwztRrPjZE9DZLOABUpTGdcANUgOwBFO1C+HZZhePoP83M65WGDmbpwFYJSWqavbl4SgDn4k8RYTA== +object-inspect@^1.11.0, object-inspect@^1.9.0: + version "1.11.0" + resolved "https://registry.yarnpkg.com/object-inspect/-/object-inspect-1.11.0.tgz#9dceb146cedd4148a0d9e51ab88d34cf509922b1" + integrity sha512-jp7ikS6Sd3GxQfZJPyH3cjcbJF6GZPClgdV+EFygjFLQ5FmW/dRUnTd9PQ9k0JhoNDabWFbpF1yCdSWCC6gexg== object-keys@^1.0.11, object-keys@^1.0.12, object-keys@^1.1.1: version "1.1.1" @@ -3778,19 +3766,19 @@ object.assign@^4.1.2: has-symbols "^1.0.1" object-keys "^1.1.1" -object.getownpropertydescriptors@^2.0.3, object.getownpropertydescriptors@^2.1.1: - version "2.1.2" - resolved "https://registry.yarnpkg.com/object.getownpropertydescriptors/-/object.getownpropertydescriptors-2.1.2.tgz#1bd63aeacf0d5d2d2f31b5e393b03a7c601a23f7" - integrity sha512-WtxeKSzfBjlzL+F9b7M7hewDzMwy+C8NRssHd1YrNlzHzIDrXcXiNOMrezdAEM4UXixgV+vvnyBeN7Rygl2ttQ== +object.getownpropertydescriptors@^2.0.3: + version "2.1.3" + resolved "https://registry.yarnpkg.com/object.getownpropertydescriptors/-/object.getownpropertydescriptors-2.1.3.tgz#b223cf38e17fefb97a63c10c91df72ccb386df9e" + integrity sha512-VdDoCwvJI4QdC6ndjpqFmoL3/+HxffFBbcJzKi5hwLLqqx3mdbedRpfZDdK0SrOSauj8X4GzBvnDZl4vTN7dOw== dependencies: call-bind "^1.0.2" define-properties "^1.1.3" - es-abstract "^1.18.0-next.2" + es-abstract "^1.19.1" -obliterator@^1.6.1: - version "1.6.1" - resolved "https://registry.yarnpkg.com/obliterator/-/obliterator-1.6.1.tgz#dea03e8ab821f6c4d96a299e17aef6a3af994ef3" - integrity sha512-9WXswnqINnnhOG/5SLimUlzuU1hFJUc8zkwyD59Sd+dPOMf05PmnYG/d6Q7HZ+KmgkZJa1PxRso6QdM3sTNHig== +obliterator@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/obliterator/-/obliterator-2.0.0.tgz#fdff649d1131a1a90b51cc97c865b5560dcb3dfa" + integrity sha512-DJaXYKqe9Rs7c2+Xu08Knkt8P60rTeByyy7IWoXLqyc6ln9ph9NAo6ZbiylDpAshsygzBr81pZL5q6/dqi0RtQ== once@^1.3.0: version "1.4.0" @@ -3972,9 +3960,9 @@ path-key@^3.1.0: integrity sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q== path-parse@^1.0.6: - version "1.0.6" - resolved "https://registry.yarnpkg.com/path-parse/-/path-parse-1.0.6.tgz#d62dbb5679405d72c4737ec58600e9ddcf06d24c" - integrity sha512-GSmOT2EbHrINBf9SR7CDELwlJ8AENk3Qn7OikK4nFYAu3Ote2+JYNVvkpAEQm3/TLNEJFD/xZJjzyxg3KBWOzw== + version "1.0.7" + resolved "https://registry.yarnpkg.com/path-parse/-/path-parse-1.0.7.tgz#fbc114b60ca42b30d9daf5858e4bd68bbedb6735" + integrity sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw== path-type@^4.0.0: version "4.0.0" @@ -3998,9 +3986,9 @@ pbkdf2@^3.0.17: sha.js "^2.4.8" picomatch@^2.0.4, picomatch@^2.2.1, picomatch@^2.2.3: - version "2.2.3" - resolved "https://registry.yarnpkg.com/picomatch/-/picomatch-2.2.3.tgz#465547f359ccc206d3c48e46a1bcb89bf7ee619d" - integrity sha512-KpELjfwcCDUb9PeigTs2mBJzXUPzAuP2oPcA989He8Rte0+YUAjw1JVedDhuTKPkHjSYzMN3npC9luThGYEKdg== + version "2.3.0" + resolved "https://registry.yarnpkg.com/picomatch/-/picomatch-2.3.0.tgz#f1f061de8f6a4bf022892e2d128234fb98302972" + integrity sha512-lY1Q/PiJGC2zOv/z391WOTD+Z02bCgsFfvxoXXf6h7kv9o+WmsmzYqrAwY63sNgOxE4xEdq0WyUnXfKeBrSvYw== pify@^4.0.1: version "4.0.1" @@ -4042,9 +4030,9 @@ prettier-linter-helpers@^1.0.0: fast-diff "^1.1.2" prettier-plugin-solidity@^1.0.0-beta.17: - version "1.0.0-beta.17" - resolved "https://registry.yarnpkg.com/prettier-plugin-solidity/-/prettier-plugin-solidity-1.0.0-beta.17.tgz#fc0fe977202b6503763a338383efeceaa6c7661e" - integrity sha512-YFkxV/rHi1mphi17/XKcJ9QjZlb+L/J0yY2erix21BZfzPv2BN9dfmSRGr/poDp/FBOFSW+jteP2BCMe7HndVQ== + version "1.0.0-beta.18" + resolved "https://registry.yarnpkg.com/prettier-plugin-solidity/-/prettier-plugin-solidity-1.0.0-beta.18.tgz#9705453bacd55b3242110d472f23f624ae6777fc" + integrity sha512-ezWdsG/jIeClmYBzg8V9Voy8jujt+VxWF8OS3Vld+C3c+3cPVib8D9l8ahTod7O5Df1anK9zo+WiiS5wb1mLmg== dependencies: "@solidity-parser/parser" "^0.13.2" emoji-regex "^9.2.2" @@ -4059,9 +4047,9 @@ prettier@^1.14.3, prettier@^1.19.1: integrity sha512-s7PoyDv/II1ObgQunCbB9PdLmUcBZcnWOcxDh7O0N/UwDEsHyqkW+Qh28jW+mVuCdx7gLB0BotYI1Y6uI9iyew== prettier@^2.3.2: - version "2.3.2" - resolved "https://registry.yarnpkg.com/prettier/-/prettier-2.3.2.tgz#ef280a05ec253712e486233db5c6f23441e7342d" - integrity sha512-lnJzDfJ66zkMy58OL5/NY5zp70S7Nz6KqcKkXYzn2tMVrNxvbqaBpg7H3qHaLxCJ5lNMsGuM8+ohS7cZrthdLQ== + version "2.4.1" + resolved "https://registry.yarnpkg.com/prettier/-/prettier-2.4.1.tgz#671e11c89c14a4cfc876ce564106c4a6726c9f5c" + integrity sha512-9fbDAXSBcc6Bs1mZrDYb3XKzDLm4EXXL9sC1LqKP5rZkT6KRr/rf9amVUcODVXgguK/isJz0d0hP72WeaKWsvA== printj@~1.1.0: version "1.1.2" @@ -4167,13 +4155,6 @@ readdirp@~3.2.0: dependencies: picomatch "^2.0.4" -readdirp@~3.5.0: - version "3.5.0" - resolved "https://registry.yarnpkg.com/readdirp/-/readdirp-3.5.0.tgz#9ba74c019b15d365278d2e91bb8c48d7b4d42c9e" - integrity sha512-cMhu7c/8rdhkHXWsY+osBhfSy0JikwpHK/5+imo+LpeasTF8ouErHrlYkwT0++njiyuDvc7OFY5T3ukvZ8qmFQ== - dependencies: - picomatch "^2.2.1" - readdirp@~3.6.0: version "3.6.0" resolved "https://registry.yarnpkg.com/readdirp/-/readdirp-3.6.0.tgz#74a370bd857116e245b29cc97340cd431a02a6c7" @@ -4190,9 +4171,9 @@ redent@^3.0.0: strip-indent "^3.0.0" regenerator-runtime@^0.13.4: - version "0.13.7" - resolved "https://registry.yarnpkg.com/regenerator-runtime/-/regenerator-runtime-0.13.7.tgz#cac2dacc8a1ea675feaabaeb8ae833898ae46f55" - integrity sha512-a54FxoJDIr27pgf7IgeQGxmqUNYrcV338lf/6gH456HZ/PhX+5BcwHXG9ajESmwe6WRO0tAzRUrRmNONWgkrew== + version "0.13.9" + resolved "https://registry.yarnpkg.com/regenerator-runtime/-/regenerator-runtime-0.13.9.tgz#8925742a98ffd90814988d7566ad30ca3b263b52" + integrity sha512-p3VT+cOEgxFsRRA9X4lkI1E+k2/CtnKtU4gcxyaCUreilL/vqI6CdZ3wxVUx3UOUg+gnUOQQcRI7BmSI656MYA== regexpp@^2.0.1: version "2.0.1" @@ -4200,9 +4181,9 @@ regexpp@^2.0.1: integrity sha512-lv0M6+TkDVniA3aD1Eg0DVpfU/booSu7Eev3TDO/mZKHBfVjgCGTV4t4buppESEYDtkArYFOxTJWv6S5C+iaNw== regexpp@^3.1.0: - version "3.1.0" - resolved "https://registry.yarnpkg.com/regexpp/-/regexpp-3.1.0.tgz#206d0ad0a5648cffbdb8ae46438f3dc51c9f78e2" - integrity sha512-ZOIzd8yVsQQA7j8GCSlPGXwg5PfmA1mrq0JP4nGhh54LaKN3xdai/vHUDu74pKwV8OxseMS65u2NImosQcSD0Q== + version "3.2.0" + resolved "https://registry.yarnpkg.com/regexpp/-/regexpp-3.2.0.tgz#0425a2768d8f23bad70ca4b90461fa2f1213e1b2" + integrity sha512-pq2bWo9mVD43nbts2wGv17XLiNLya+GklZ8kaDLV2Z08gDCsGpnKn9BFMepvWuHCbyVvY7J5o5+BVvoQbmlJLg== require-directory@^2.1.1: version "2.1.1" @@ -4292,11 +4273,11 @@ ripemd160@^2.0.0, ripemd160@^2.0.1: inherits "^2.0.1" rlp@^2.0.0, rlp@^2.2.3, rlp@^2.2.4: - version "2.2.6" - resolved "https://registry.yarnpkg.com/rlp/-/rlp-2.2.6.tgz#c80ba6266ac7a483ef1e69e8e2f056656de2fb2c" - integrity sha512-HAfAmL6SDYNWPUOJNrM500x4Thn4PZsEy5pijPh40U9WfNk0z15hUYzO9xVIMAdIHdFtD8CBDHd75Td1g36Mjg== + version "2.2.7" + resolved "https://registry.yarnpkg.com/rlp/-/rlp-2.2.7.tgz#33f31c4afac81124ac4b283e2bd4d9720b30beaf" + integrity sha512-d5gdPmgQ0Z+AklL2NVXr/IoSjNZFfTVvQWzL/AM2AOcSzYP2xjlb0AC8YyCLc41MSNf6P6QVtjgPdmVtzb+4lQ== dependencies: - bn.js "^4.11.1" + bn.js "^5.2.0" run-async@^2.2.0: version "2.4.1" @@ -4432,9 +4413,9 @@ side-channel@^1.0.4: object-inspect "^1.9.0" signal-exit@^3.0.0, signal-exit@^3.0.2: - version "3.0.3" - resolved "https://registry.yarnpkg.com/signal-exit/-/signal-exit-3.0.3.tgz#a1410c2edd8f077b08b4e253c8eacfcaf057461c" - integrity sha512-VUJ49FC8U1OxwZLxIbTTrDvLnf/6TDgxZcK8wxR8zs13xpx7xbG60ndBlhNrFi2EMuFRoeDoJO7wthSLq42EjA== + version "3.0.5" + resolved "https://registry.yarnpkg.com/signal-exit/-/signal-exit-3.0.5.tgz#9e3e8cc0c75a99472b44321033a7702e7738252f" + integrity sha512-KWcOiKeQj6ZyXx7zq4YxSMgHRlod4czeBQZrPb8OKcohcqAXShm7E20kEMle9WBt26hFcAf0qLOcp5zmY7kOqQ== slash@^3.0.0: version "3.0.0" @@ -4520,9 +4501,9 @@ solidity-comments-extractor@^0.0.7: integrity sha512-wciNMLg/Irp8OKGrh3S2tfvZiZ0NEyILfcRCXCD4mp7SgK/i9gzLfhY2hY7VMCQJ3kH9UB9BzNdibIVMchzyYw== source-map-support@^0.5.12, source-map-support@^0.5.13: - version "0.5.19" - resolved "https://registry.yarnpkg.com/source-map-support/-/source-map-support-0.5.19.tgz#a98b62f86dcaf4f67399648c085291ab9e8fed61" - integrity sha512-Wonm7zOCIJzBGQdB+thsPar0kYuCIzYvxZwlBa87yi/Mdjv7Tip2cyVbLj5o0cFPN4EVkuTwb3GDDyUx2DGnGw== + version "0.5.20" + resolved "https://registry.yarnpkg.com/source-map-support/-/source-map-support-0.5.20.tgz#12166089f8f5e5e8c56926b377633392dd2cb6c9" + integrity sha512-n1lZZ8Ve4ksRqizaBQgxXDgKwttHDhyfQjA6YZZn8+AroHbsIz+JjwxQDxbp+7y5OYCI8t1Yk7etjD9CRd2hIw== dependencies: buffer-from "^1.0.0" source-map "^0.6.0" @@ -4562,9 +4543,9 @@ spdx-expression-parse@^3.0.0: spdx-license-ids "^3.0.0" spdx-license-ids@^3.0.0: - version "3.0.7" - resolved "https://registry.yarnpkg.com/spdx-license-ids/-/spdx-license-ids-3.0.7.tgz#e9c18a410e5ed7e12442a549fbd8afa767038d65" - integrity sha512-U+MTEOO0AiDzxwFvoa4JVnMV6mZlJKk2sBLt90s7G0Gd0Mlknc7kxEn3nuDPNZRta7O2uy8oLcZLVT+4sqNZHQ== + version "3.0.10" + resolved "https://registry.yarnpkg.com/spdx-license-ids/-/spdx-license-ids-3.0.10.tgz#0d9becccde7003d6c658d487dd48a32f0bf3014b" + integrity sha512-oie3/+gKf7QtpitB0LYLETe+k8SifzsX4KixvpOsbI6S0kRiRQ5MKOio8eMSAKQ17N06+wdEOXRiId+zOxo0hA== sprintf-js@~1.0.2: version "1.0.3" @@ -4583,12 +4564,12 @@ stacktrace-parser@^0.1.10: resolved "https://registry.yarnpkg.com/statuses/-/statuses-1.5.0.tgz#161c7dac177659fd9811f43771fa99381478628c" integrity sha1-Fhx9rBd2Wf2YEfQ3cfqZOBR4Yow= -stream-transform@^2.1.0: - version "2.1.0" - resolved "https://registry.yarnpkg.com/stream-transform/-/stream-transform-2.1.0.tgz#e68cc062cced5b8ee669ae97f4be473eee5d9227" - integrity sha512-bwQO+75rzQbug7e5OOHnOR3FgbJ0fCjHmDIdynkwUaFzleBXugGmv2dx3sX3aIHUQRLjrcisRPgN9BWl63uGgw== +stream-transform@^2.1.3: + version "2.1.3" + resolved "https://registry.yarnpkg.com/stream-transform/-/stream-transform-2.1.3.tgz#a1c3ecd72ddbf500aa8d342b0b9df38f5aa598e3" + integrity sha512-9GHUiM5hMiCi6Y03jD2ARC1ettBXkQBoQAe7nJsPknnI0ow10aXjTnew8QtYQmLjzn974BnmWEAJgCY6ZP1DeQ== dependencies: - mixme "^0.5.0" + mixme "^0.5.1" "string-width@^1.0.2 || 2", string-width@^2.0.0, string-width@^2.1.0, string-width@^2.1.1: version "2.1.1" @@ -4607,14 +4588,14 @@ string-width@^3.0.0, string-width@^3.1.0: is-fullwidth-code-point "^2.0.0" strip-ansi "^5.1.0" -string-width@^4.1.0, string-width@^4.2.0, string-width@^4.2.2: - version "4.2.2" - resolved "https://registry.yarnpkg.com/string-width/-/string-width-4.2.2.tgz#dafd4f9559a7585cfba529c6a0a4f73488ebd4c5" - integrity sha512-XBJbT3N4JhVumXE0eoLU9DCjcaF92KLNqTmFCnG1pf8duUxFGwtP6AD6nkjw9a3IdiRtL3E2w3JDiE/xi3vOeA== +string-width@^4.1.0, string-width@^4.2.0, string-width@^4.2.2, string-width@^4.2.3: + version "4.2.3" + resolved "https://registry.yarnpkg.com/string-width/-/string-width-4.2.3.tgz#269c7117d27b05ad2e536830a8ec895ef9c6d010" + integrity sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g== dependencies: emoji-regex "^8.0.0" is-fullwidth-code-point "^3.0.0" - strip-ansi "^6.0.0" + strip-ansi "^6.0.1" string.prototype.trimend@^1.0.4: version "1.0.4" @@ -4653,12 +4634,12 @@ strip-ansi@^5.0.0, strip-ansi@^5.1.0, strip-ansi@^5.2.0: dependencies: ansi-regex "^4.1.0" -strip-ansi@^6.0.0: - version "6.0.0" - resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-6.0.0.tgz#0b1571dd7669ccd4f3e06e14ef1eed26225ae532" - integrity sha512-AuvKTrTfQNYNIctbR1K/YGTR1756GycPsg7b9bdV9Duqur4gv6aKqHXah67Z8ImS7WEz5QVcOtlfW2rZEugt6w== +strip-ansi@^6.0.0, strip-ansi@^6.0.1: + version "6.0.1" + resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-6.0.1.tgz#9e26c63d30f53443e9489495b2105d37b67a85d9" + integrity sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A== dependencies: - ansi-regex "^5.0.0" + ansi-regex "^5.0.1" strip-bom@^3.0.0: version "3.0.0" @@ -4733,16 +4714,15 @@ table@^5.2.3: string-width "^3.0.0" table@^6.0.9: - version "6.7.1" - resolved "https://registry.yarnpkg.com/table/-/table-6.7.1.tgz#ee05592b7143831a8c94f3cee6aae4c1ccef33e2" - integrity sha512-ZGum47Yi6KOOFDE8m223td53ath2enHcYLgOCjGr5ngu8bdIARQk6mN/wRMv4yMRcHnCSnHbCEha4sobQx5yWg== + version "6.7.3" + resolved "https://registry.yarnpkg.com/table/-/table-6.7.3.tgz#255388439715a738391bd2ee4cbca89a4d05a9b7" + integrity sha512-5DkIxeA7XERBqMwJq0aHZOdMadBx4e6eDoFRuyT5VR82J0Ycg2DwM6GfA/EQAhJ+toRTaS1lIdSQCqgrmhPnlw== dependencies: ajv "^8.0.1" - lodash.clonedeep "^4.5.0" lodash.truncate "^4.4.2" slice-ansi "^4.0.0" - string-width "^4.2.0" - strip-ansi "^6.0.0" + string-width "^4.2.3" + strip-ansi "^6.0.1" term-size@^1.2.0: version "1.2.0" @@ -4785,10 +4765,15 @@ toidentifier@1.0.0: resolved "https://registry.yarnpkg.com/toidentifier/-/toidentifier-1.0.0.tgz#7e1be3470f1e77948bc43d94a3c8f4d7752ba553" integrity sha512-yaOH/Pk/VEhBWWTlhI+qXxDFXlejDGcQipMlyxda9nthulaxLZUNcUqFxokp0vcYnvteJln5FNQDRrxj3YcbVw== +tr46@~0.0.3: + version "0.0.3" + resolved "https://registry.yarnpkg.com/tr46/-/tr46-0.0.3.tgz#8184fd347dac9cdc185992f3a6622e14b9d9ab6a" + integrity sha1-gYT9NH2snNwYWZLzpmIuFLnZq2o= + trim-newlines@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/trim-newlines/-/trim-newlines-3.0.0.tgz#79726304a6a898aa8373427298d54c2ee8b1cb30" - integrity sha512-C4+gOpvmxaSMKuEf9Qc134F1ZuOHVXKRbtEflf4NTtuuJDEIJ9p5PXsalL8SkeRw+qit1Mo+yuvMPAKwWg/1hA== + version "3.0.1" + resolved "https://registry.yarnpkg.com/trim-newlines/-/trim-newlines-3.0.1.tgz#260a5d962d8b752425b32f3a7db0dcacd176c144" + integrity sha512-c1PTsA3tYrIsLGkJkzHF+w9F2EyxfXGo4UyJc4pFL++FMjnq0HJS69T3M7d//gKrFKwy429bouPescbjecU+Zw== "true-case-path@^2.2.1": version "2.2.1" @@ -4796,11 +4781,11 @@ trim-newlines@^3.0.0: integrity sha512-0z3j8R7MCjy10kc/g+qg7Ln3alJTodw9aDuVWZa3uiWqfuBMKeAeP2ocWcxoyM3D73yz3Jt/Pu4qPr4wHSdB/Q== ts-node@^10.2.1: - version "10.2.1" - resolved "https://registry.yarnpkg.com/ts-node/-/ts-node-10.2.1.tgz#4cc93bea0a7aba2179497e65bb08ddfc198b3ab5" - integrity sha512-hCnyOyuGmD5wHleOQX6NIjJtYVIO8bPP8F2acWkB4W06wdlkgyvJtubO/I9NkI88hCFECbsEgoLc0VNkYmcSfw== + version "10.4.0" + resolved "https://registry.yarnpkg.com/ts-node/-/ts-node-10.4.0.tgz#680f88945885f4e6cf450e7f0d6223dd404895f7" + integrity sha512-g0FlPvvCXSIO1JDF6S232P5jPYqBkRL9qly81ZgAOSU7rwI0stphCgd2kLiCrU9DjQCrJMWEqcNSjQL02s6d8A== dependencies: - "@cspotcode/source-map-support" "0.6.1" + "@cspotcode/source-map-support" "0.7.0" "@tsconfig/node10" "^1.0.7" "@tsconfig/node12" "^1.0.7" "@tsconfig/node14" "^1.0.0" @@ -4902,11 +4887,11 @@ type-fest@^0.8.1: integrity sha512-4dbzIzqvjtgiM5rw1k5rEHtBANKmdudhGyBEajN01fEyhaAIhsoKNy6y7+IN93IfpFtwY9iqi7kD+xwKhQsNJA== typescript@^4.3.5: - version "4.3.5" - resolved "https://registry.yarnpkg.com/typescript/-/typescript-4.3.5.tgz#4d1c37cc16e893973c45a06886b7113234f119f4" - integrity sha512-DqQgihaQ9cUrskJo9kIyW/+g0Vxsk8cDtZ52a3NGh0YNTfpUSArXSohyUGnvbPazEPLu398C0UxmKSOrPumUzA== + version "4.4.4" + resolved "https://registry.yarnpkg.com/typescript/-/typescript-4.4.4.tgz#2cd01a1a1f160704d3101fd5a58ff0f9fcb8030c" + integrity sha512-DqGhF5IKoBl8WNf8C1gu8q0xZSInh9j1kJJMqT3a94w1JzVaBU4EXOSMrz9yDqMT0xt3selp83fuFMQ0uzv6qA== -unbox-primitive@^1.0.0: +unbox-primitive@^1.0.1: version "1.0.1" resolved "https://registry.yarnpkg.com/unbox-primitive/-/unbox-primitive-1.0.1.tgz#085e215625ec3162574dc8859abee78a59b14471" integrity sha512-tZU/3NqK3dA5gpE1KtyiJUrEB0lxnGkMFHptJ7q6ewdZ8s12QrODwNbhIJStmJkd1QDXa1NRA8aF2A1zk/Ypyw== @@ -4943,17 +4928,6 @@ util-deprecate@^1.0.1: resolved "https://registry.yarnpkg.com/util-deprecate/-/util-deprecate-1.0.2.tgz#450d4dc9fa70de732762fbd2d4a28981419a0ccf" integrity sha1-RQ1Nyfpw3nMnYvvS1KKJgUGaDM8= -util.promisify@^1.0.1: - version "1.1.1" - resolved "https://registry.yarnpkg.com/util.promisify/-/util.promisify-1.1.1.tgz#77832f57ced2c9478174149cae9b96e9918cd54b" - integrity sha512-/s3UsZUrIfa6xDhr7zZhnE9SLQ5RIXyYfiVnMMyMDzOc8WhWN4Nbh36H842OyurKbCDAesZOJaVyvmSl6fhGQw== - dependencies: - call-bind "^1.0.0" - define-properties "^1.1.3" - for-each "^0.3.3" - has-symbols "^1.0.1" - object.getownpropertydescriptors "^2.1.1" - uuid@^3.3.2: version "3.4.0" resolved "https://registry.yarnpkg.com/uuid/-/uuid-3.4.0.tgz#b23e4358afa8a202fe7a100af1f5f883f02007ee" @@ -4979,6 +4953,19 @@ wcwidth@^1.0.1: dependencies: defaults "^1.0.3" +webidl-conversions@^3.0.0: + version "3.0.1" + resolved "https://registry.yarnpkg.com/webidl-conversions/-/webidl-conversions-3.0.1.tgz#24534275e2a7bc6be7bc86611cc16ae0a5654871" + integrity sha1-JFNCdeKnvGvnvIZhHMFq4KVlSHE= + +whatwg-url@^5.0.0: + version "5.0.0" + resolved "https://registry.yarnpkg.com/whatwg-url/-/whatwg-url-5.0.0.tgz#966454e8765462e37644d3626f6742ce8b70965d" + integrity sha1-lmRU6HZUYuN2RNNib2dCzotwll0= + dependencies: + tr46 "~0.0.3" + webidl-conversions "^3.0.0" + which-boxed-primitive@^1.0.2: version "1.0.2" resolved "https://registry.yarnpkg.com/which-boxed-primitive/-/which-boxed-primitive-1.0.2.tgz#13757bc89b209b049fe5d86430e21cf40a89a8e6" @@ -5086,9 +5073,9 @@ ws@7.4.6: integrity sha512-YmhHDO4MzaDLB+M9ym/mDA5z0naX8j7SIlT8f8z+I0VtzsRbekxEutHSme7NPS2qE8StCYQNUnfWdXta/Yu85A== ws@^7.4.6: - version "7.5.3" - resolved "https://registry.yarnpkg.com/ws/-/ws-7.5.3.tgz#160835b63c7d97bfab418fc1b8a9fced2ac01a74" - integrity sha512-kQ/dHIzuLrS6Je9+uv81ueZomEwH0qVYstcAQ4/Z93K8zeko9gtAbttJWzoC5ukqXY1PpoouV3+VSOqEAFt5wg== + version "7.5.5" + resolved "https://registry.yarnpkg.com/ws/-/ws-7.5.5.tgz#8b4bc4af518cfabd0473ae4f99144287b33eb881" + integrity sha512-BAkMFcAzl8as1G/hArkxOxq3G7pjUqQ3gzYbLL0/5zNkph70e+lCoxBGnm6AW1+/aiNeV4fnKqZ8m4GZewmH2w== xtend@^4.0.1, xtend@^4.0.2, xtend@~4.0.0: version "4.0.2" @@ -5142,9 +5129,9 @@ yargs-parser@^18.1.2, yargs-parser@^18.1.3: decamelize "^1.2.0" yargs-parser@^20.2.2: - version "20.2.7" - resolved "https://registry.yarnpkg.com/yargs-parser/-/yargs-parser-20.2.7.tgz#61df85c113edfb5a7a4e36eb8aa60ef423cbc90a" - integrity sha512-FiNkvbeHzB/syOjIUxFDCnhSfzAL8R5vs40MgLFBorXACCOAEaWu0gRZl14vG8MR9AOJIZbmkjhusqBYZ3HTHw== + version "20.2.9" + resolved "https://registry.yarnpkg.com/yargs-parser/-/yargs-parser-20.2.9.tgz#2eb7dc3b0289718fc295f362753845c41a0c94ee" + integrity sha512-y11nGElTIV+CT3Zv9t7VKl+Q3hTQoT9a1Qzezhhl6Rp21gJ/IVTW7Z3y9EWXhuUBC2Shnf+DX0antecpAwSP8w== yargs-unparser@1.6.0: version "1.6.0"