From f99eb2aa0d62bb27631f6ffb4c6161ceb334d2a3 Mon Sep 17 00:00:00 2001 From: rymnc <43716372+rymnc@users.noreply.github.com> Date: Thu, 30 Mar 2023 18:29:06 +0530 Subject: [PATCH] feat: sepolia deployment --- README.md | 30 +- deployments/allDeployments.json | 110 +++++-- deployments/sepolia/PoseidonHasher.json | 55 ++-- deployments/sepolia/RLN.json | 276 +++++++++++++++--- .../b1509b5db56df56b3944fa20992a2034.json | 40 +++ .../d5475cf869d23da2a838dd607679cc44.json | 40 +++ 6 files changed, 447 insertions(+), 104 deletions(-) create mode 100644 deployments/sepolia/solcInputs/b1509b5db56df56b3944fa20992a2034.json create mode 100644 deployments/sepolia/solcInputs/d5475cf869d23da2a838dd607679cc44.json diff --git a/README.md b/README.md index 88945e8..bf5248e 100644 --- a/README.md +++ b/README.md @@ -4,14 +4,13 @@ The following will need to be installed in order to use this repo. Please follow the links and instructions. -- [Git](https://git-scm.com/book/en/v2/Getting-Started-Installing-Git) - - You'll know you've done it right if you can run `git --version` -- [Foundry / Foundryup](https://github.com/gakonst/foundry) - - This will install `forge`, `cast`, and `anvil` - - You can test you've installed them right by running `forge --version` and get an output like: `forge 0.2.0 (92f8951 2022-08-06T00:09:32.96582Z)` - - To get the latest of each, just run `foundryup` -- [Yarn](https://classic.yarnpkg.com/lang/en/docs/install) - +- [Git](https://git-scm.com/book/en/v2/Getting-Started-Installing-Git) + - You'll know you've done it right if you can run `git --version` +- [Foundry / Foundryup](https://github.com/gakonst/foundry) + - This will install `forge`, `cast`, and `anvil` + - You can test you've installed them right by running `forge --version` and get an output like: `forge 0.2.0 (92f8951 2022-08-06T00:09:32.96582Z)` + - To get the latest of each, just run `foundryup` +- [Yarn](https://classic.yarnpkg.com/lang/en/docs/install) ## Compilation @@ -20,33 +19,42 @@ yarn compile ``` ## Testing with Hardhat + ```shell yarn test:hardhat ``` ## Testing with Foundry + ```shell yarn test:foundry ``` ## Deploying -- To deploy on local node, first start the local node and then run the deploy script +### Locally + +- To deploy on a local node, first start the local node and then run the deploy script ```shell yarn node -npx deploy:localhost +yarn deploy:localhost ``` +### Sepolia + - To deploy to an target network (like Sepolia), use the name as mentioned in the Hardhat config file. ```shell yarn deploy:sepolia +# You may verify the contract using +yarn verify:sepolia # Ensure you have set ETHERSCAN_API_KEY in your env ``` + ## References For more information, see https://hardhat.org/hardhat-runner/docs/guides/project-setup ## License -Dual-licensed under MIT or Apache 2.0, refer to [LICENSE-MIT](LICENSE-MIT) or [LICENSE-APACHE](LICENSE-APACHE) for more information. \ No newline at end of file +Dual-licensed under MIT or Apache 2.0, refer to [LICENSE-MIT](LICENSE-MIT) or [LICENSE-APACHE](LICENSE-APACHE) for more information. diff --git a/deployments/allDeployments.json b/deployments/allDeployments.json index fe94d6d..cddf70e 100644 --- a/deployments/allDeployments.json +++ b/deployments/allDeployments.json @@ -5,7 +5,7 @@ "chainId": "11155111", "contracts": { "PoseidonHasher": { - "address": "0xfa72Ce89D60d085B8FdB445fF6edC47475D58d1E", + "address": "0xa1554EAF0DF18C05956249aac375e212edeD2CcF", "abi": [ { "inputs": [ @@ -25,24 +25,11 @@ ], "stateMutability": "pure", "type": "function" - }, - { - "inputs": [], - "name": "identity", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "pure", - "type": "function" } ] }, "RLN": { - "address": "0x4B11778822690DefA80934B3203C170ed6B5d317", + "address": "0x9C09146844C1326c2dBC41c451766C7138F88155", "abi": [ { "inputs": [ @@ -65,6 +52,86 @@ "stateMutability": "nonpayable", "type": "constructor" }, + { + "inputs": [], + "name": "DuplicateIdCommitment", + "type": "error" + }, + { + "inputs": [], + "name": "EmptyBatch", + "type": "error" + }, + { + "inputs": [], + "name": "FullBatch", + "type": "error" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "required", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "provided", + "type": "uint256" + } + ], + "name": "InsufficientDeposit", + "type": "error" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "to", + "type": "address" + } + ], + "name": "InvalidWithdrawalAddress", + "type": "error" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "idCommitment", + "type": "uint256" + } + ], + "name": "MemberHasNoStake", + "type": "error" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "idCommitment", + "type": "uint256" + } + ], + "name": "MemberNotRegistered", + "type": "error" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "givenSecretsLen", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "givenReceiversLen", + "type": "uint256" + } + ], + "name": "MismatchedBatchSize", + "type": "error" + }, { "anonymous": false, "inputs": [ @@ -244,19 +311,6 @@ "stateMutability": "nonpayable", "type": "function" }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "secret", - "type": "uint256" - } - ], - "name": "withdraw", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, { "inputs": [ { diff --git a/deployments/sepolia/PoseidonHasher.json b/deployments/sepolia/PoseidonHasher.json index aaa1877..3b3627e 100644 --- a/deployments/sepolia/PoseidonHasher.json +++ b/deployments/sepolia/PoseidonHasher.json @@ -1,5 +1,5 @@ { - "address": "0xfa72Ce89D60d085B8FdB445fF6edC47475D58d1E", + "address": "0xa1554EAF0DF18C05956249aac375e212edeD2CcF", "abi": [ { "inputs": [ @@ -19,51 +19,48 @@ ], "stateMutability": "pure", "type": "function" - }, - { - "inputs": [], - "name": "identity", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "pure", - "type": "function" } ], - "transactionHash": "0x0bb77d7fcec6cd9c74ef1cf2dcdefdfd1288231b89c79a6651ffd7d9ccc89985", + "transactionHash": "0x6dec9da454c44cc5b4e0a1cf2fe6637253cfa1a7aaa37526b7cbe7a35b8a14d4", "receipt": { "to": null, "from": "0xc2eB015aCb170177F726626707C82f994736ef15", - "contractAddress": "0xfa72Ce89D60d085B8FdB445fF6edC47475D58d1E", - "transactionIndex": 22, - "gasUsed": "3508977", + "contractAddress": "0xa1554EAF0DF18C05956249aac375e212edeD2CcF", + "transactionIndex": 30, + "gasUsed": "3488307", "logsBloom": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", - "blockHash": "0xe24220a5a35eacd876da500a774b818711ca16eb1760f660b59fdfc738982163", - "transactionHash": "0x0bb77d7fcec6cd9c74ef1cf2dcdefdfd1288231b89c79a6651ffd7d9ccc89985", + "blockHash": "0x1f955aba5bf7056bdb643bd6dc31cb0923439ec5eb811db8e0ff01bed0d886d5", + "transactionHash": "0x6dec9da454c44cc5b4e0a1cf2fe6637253cfa1a7aaa37526b7cbe7a35b8a14d4", "logs": [], - "blockNumber": 3184935, - "cumulativeGasUsed": "5521057", + "blockNumber": 3193047, + "cumulativeGasUsed": "6488158", "status": 1, "byzantium": true }, "args": [], - "numDeployments": 1, - "solcInputHash": "3d22925ef26b2c95bb2dc86b2f9e06ed", - "metadata": "{\"compiler\":{\"version\":\"0.8.15+commit.e14f2714\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"input\",\"type\":\"uint256\"}],\"name\":\"hash\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"result\",\"type\":\"uint256\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"identity\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"pure\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"contracts/PoseidonHasher.sol\":\"PoseidonHasher\"},\"evmVersion\":\"london\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\",\"useLiteralContent\":true},\"optimizer\":{\"enabled\":false,\"runs\":200},\"remappings\":[\":ds-test/=lib/forge-std/lib/ds-test/src/\",\":forge-std/=lib/forge-std/src/\"]},\"sources\":{\"contracts/PoseidonHasher.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\n\\n// Forked from https://github.com/kilic/rlnapp/\\n\\npragma solidity 0.8.15;\\n\\ninterface IPoseidonHasher {\\n function hash(uint256 input) external pure returns (uint256 result);\\n\\n function identity() external pure returns (uint256);\\n}\\n\\ncontract PoseidonHasher is IPoseidonHasher {\\n uint256 constant Q =\\n 21888242871839275222246405745257275088548364400416034343698204186575808495617;\\n uint256 constant C0 =\\n 4417881134626180770308697923359573201005643519861877412381846989312604493735;\\n uint256 constant C1 =\\n 5433650512959517612316327474713065966758808864213826738576266661723522780033;\\n uint256 constant C2 =\\n 13641176377184356099764086973022553863760045607496549923679278773208775739952;\\n uint256 constant C3 =\\n 17949713444224994136330421782109149544629237834775211751417461773584374506783;\\n uint256 constant C4 =\\n 13765628375339178273710281891027109699578766420463125835325926111705201856003;\\n uint256 constant C5 =\\n 19179513468172002314585757290678967643352171735526887944518845346318719730387;\\n uint256 constant C6 =\\n 5157412437176756884543472904098424903141745259452875378101256928559722612176;\\n uint256 constant C7 =\\n 535160875740282236955320458485730000677124519901643397458212725410971557409;\\n uint256 constant C8 =\\n 1050793453380762984940163090920066886770841063557081906093018330633089036729;\\n uint256 constant C9 =\\n 10665495010329663932664894101216428400933984666065399374198502106997623173873;\\n uint256 constant C10 =\\n 19965634623406616956648724894636666805991993496469370618546874926025059150737;\\n uint256 constant C11 =\\n 13007250030070838431593222885902415182312449212965120303174723305710127422213;\\n uint256 constant C12 =\\n 16877538715074991604507979123743768693428157847423939051086744213162455276374;\\n uint256 constant C13 =\\n 18211747749504876135588847560312685184956239426147543810126553367063157141465;\\n uint256 constant C14 =\\n 18151553319826126919739798892854572062191241985315767086020821632812331245635;\\n uint256 constant C15 =\\n 19957033149976712666746140949846950406660099037474791840946955175819555930825;\\n uint256 constant C16 =\\n 3469514863538261843186854830917934449567467100548474599735384052339577040841;\\n uint256 constant C17 =\\n 989698510043911779243192466312362856042600749099921773896924315611668507708;\\n uint256 constant C18 =\\n 12568377015646290945235387813564567111330046038050864455358059568128000172201;\\n uint256 constant C19 =\\n 20856104135605479600325529349246932565148587186338606236677138505306779314172;\\n uint256 constant C20 =\\n 8206918720503535523121349917159924938835810381723474192155637697065780938424;\\n uint256 constant C21 =\\n 1309058477013932989380617265069188723120054926187607548493110334522527703566;\\n uint256 constant C22 =\\n 14076116939332667074621703729512195584105250395163383769419390236426287710606;\\n uint256 constant C23 =\\n 10153498892749751942204288991871286290442690932856658983589258153608012428674;\\n uint256 constant C24 =\\n 18202499207234128286137597834010475797175973146805180988367589376893530181575;\\n uint256 constant C25 =\\n 12739388830157083522877690211447248168864006284243907142044329113461613743052;\\n uint256 constant C26 =\\n 15123358710467780770838026754240340042441262572309759635224051333176022613949;\\n uint256 constant C27 =\\n 19925004701844594370904593774447343836015483888496504201331110250494635362184;\\n uint256 constant C28 =\\n 10352416606816998476681131583320899030072315953910679608943150613208329645891;\\n uint256 constant C29 =\\n 10567371822366244361703342347428230537114808440249611395507235283708966113221;\\n uint256 constant C30 =\\n 5635498582763880627392290206431559361272660937399944184533035305989295959602;\\n uint256 constant C31 =\\n 11866432933224219174041051738704352719163271639958083608224676028593315904909;\\n uint256 constant C32 =\\n 5795020705294401441272215064554385591292330721703923167136157291459784140431;\\n uint256 constant C33 =\\n 9482202378699252817564375087302794636287866584767523335624368774856230692758;\\n uint256 constant C34 =\\n 4245237636894546151746468406560945873445548423466753843402086544922216329298;\\n uint256 constant C35 =\\n 12000500941313982757584712677991730019124834399479314697467598397927435905133;\\n uint256 constant C36 =\\n 7596790274058425558167520209857956363736666939016807569082239187494363541787;\\n uint256 constant C37 =\\n 2484867918246116343205467273440098378820186751202461278013576281097918148877;\\n uint256 constant C38 =\\n 18312645949449997391810445935615409295369169383463185688973803378104013950190;\\n uint256 constant C39 =\\n 15320686572748723004980855263301182130424010735782762814513954166519592552733;\\n uint256 constant C40 =\\n 12618438900597948888520621062416758747872180395546164387827245287017031303859;\\n uint256 constant C41 =\\n 17438141672027706116733201008397064011774368832458707512367404736905021019585;\\n uint256 constant C42 =\\n 6374197807230665998865688675365359100400438034755781666913068586172586548950;\\n uint256 constant C43 =\\n 2189398913433273865510950346186699930188746169476472274335177556702504595264;\\n uint256 constant C44 =\\n 6268495580028970231803791523870131137294646402347399003576649137450213034606;\\n uint256 constant C45 =\\n 17896250365994900261202920044129628104272791547990619503076839618914047059275;\\n uint256 constant C46 =\\n 13692156312448722528008862371944543449350293305158722920787736248435893008873;\\n uint256 constant C47 =\\n 15234446864368744483209945022439268713300180233589581910497691316744177619376;\\n uint256 constant C48 =\\n 1572426502623310766593681563281600503979671244997798691029595521622402217227;\\n uint256 constant C49 =\\n 80103447810215150918585162168214870083573048458555897999822831203653996617;\\n uint256 constant C50 =\\n 8228820324013669567851850635126713973797711779951230446503353812192849106342;\\n uint256 constant C51 =\\n 5375851433746509614045812476958526065449377558695752132494533666370449415873;\\n uint256 constant C52 =\\n 12115998939203497346386774317892338270561208357481805380546938146796257365018;\\n uint256 constant C53 =\\n 9764067909645821279940531410531154041386008396840887338272986634350423466622;\\n uint256 constant C54 =\\n 8538708244538850542384936174629541085495830544298260335345008245230827876882;\\n uint256 constant C55 =\\n 7140127896620013355910287215441004676619168261422440177712039790284719613114;\\n uint256 constant C56 =\\n 14297402962228458726038826185823085337698917275385741292940049024977027409762;\\n uint256 constant C57 =\\n 6667115556431351074165934212337261254608231545257434281887966406956835140819;\\n uint256 constant C58 =\\n 20226761165244293291042617464655196752671169026542832236139342122602741090001;\\n uint256 constant C59 =\\n 12038289506489256655759141386763477208196694421666339040483042079632134429119;\\n uint256 constant C60 =\\n 19027757334170818571203982241812412991528769934917288000224335655934473717551;\\n uint256 constant C61 =\\n 16272152964456553579565580463468069884359929612321610357528838696790370074720;\\n uint256 constant C62 =\\n 2500392889689246014710135696485946334448570271481948765283016105301740284071;\\n uint256 constant C63 =\\n 8595254970528530312401637448610398388203855633951264114100575485022581946023;\\n uint256 constant C64 =\\n 11635945688914011450976408058407206367914559009113158286982919675551688078198;\\n uint256 constant C65 =\\n 614739068603482619581328040478536306925147663946742687395148680260956671871;\\n uint256 constant C66 =\\n 18692271780377861570175282183255720350972693125537599213951106550953176268753;\\n uint256 constant C67 =\\n 4987059230784976306647166378298632695585915319042844495357753339378260807164;\\n uint256 constant C68 =\\n 21851403978498723616722415377430107676258664746210815234490134600998983955497;\\n uint256 constant C69 =\\n 9830635451186415300891533983087800047564037813328875992115573428596207326204;\\n uint256 constant C70 =\\n 4842706106434537116860242620706030229206345167233200482994958847436425185478;\\n uint256 constant C71 =\\n 6422235064906823218421386871122109085799298052314922856340127798647926126490;\\n uint256 constant C72 =\\n 4564364104986856861943331689105797031330091877115997069096365671501473357846;\\n uint256 constant C73 =\\n 1944043894089780613038197112872830569538541856657037469098448708685350671343;\\n uint256 constant C74 =\\n 21179865974855950600518216085229498748425990426231530451599322283119880194955;\\n uint256 constant C75 =\\n 14296697761894107574369608843560006996183955751502547883167824879840894933162;\\n uint256 constant C76 =\\n 12274619649702218570450581712439138337725246879938860735460378251639845671898;\\n uint256 constant C77 =\\n 16371396450276899401411886674029075408418848209575273031725505038938314070356;\\n uint256 constant C78 =\\n 3702561221750983937578095019779188631407216522704543451228773892695044653565;\\n uint256 constant C79 =\\n 19721616877735564664624984774636557499099875603996426215495516594530838681980;\\n uint256 constant C80 =\\n 6383350109027696789969911008057747025018308755462287526819231672217685282429;\\n uint256 constant C81 =\\n 20860583956177367265984596617324237471765572961978977333122281041544719622905;\\n uint256 constant C82 =\\n 5766390934595026947545001478457407504285452477687752470140790011329357286275;\\n uint256 constant C83 =\\n 4043175758319898049344746138515323336207420888499903387536875603879441092484;\\n uint256 constant C84 =\\n 15579382179133608217098622223834161692266188678101563820988612253342538956534;\\n uint256 constant C85 =\\n 1864640783252634743892105383926602930909039567065240010338908865509831749824;\\n uint256 constant C86 =\\n 15943719865023133586707144161652035291705809358178262514871056013754142625673;\\n uint256 constant C87 =\\n 2326415993032390211558498780803238091925402878871059708106213703504162832999;\\n uint256 constant C88 =\\n 19995326402773833553207196590622808505547443523750970375738981396588337910289;\\n uint256 constant C89 =\\n 5143583711361588952673350526320181330406047695593201009385718506918735286622;\\n uint256 constant C90 =\\n 15436006486881920976813738625999473183944244531070780793506388892313517319583;\\n uint256 constant C91 =\\n 16660446760173633166698660166238066533278664023818938868110282615200613695857;\\n uint256 constant C92 =\\n 4966065365695755376133119391352131079892396024584848298231004326013366253934;\\n uint256 constant C93 =\\n 20683781957411705574951987677641476019618457561419278856689645563561076926702;\\n uint256 constant C94 =\\n 17280836839165902792086432296371645107551519324565649849400948918605456875699;\\n uint256 constant C95 =\\n 17045635513701208892073056357048619435743564064921155892004135325530808465371;\\n uint256 constant C96 =\\n 17055032967194400710390142791334572297458033582458169295920670679093585707295;\\n uint256 constant C97 =\\n 15727174639569115300068198908071514334002742825679221638729902577962862163505;\\n uint256 constant C98 =\\n 1001755657610446661315902885492677747789366510875120894840818704741370398633;\\n uint256 constant C99 =\\n 18638547332826171619311285502376343504539399518545103511265465604926625041234;\\n uint256 constant C100 =\\n 6751954224763196429755298529194402870632445298969935050224267844020826420799;\\n uint256 constant C101 =\\n 3526747115904224771452549517614107688674036840088422555827581348280834879405;\\n uint256 constant C102 =\\n 15705897908180497062880001271426561999724005008972544196300715293701537574122;\\n uint256 constant C103 =\\n 574386695213920937259007343820417029802510752426579750428758189312416867750;\\n uint256 constant C104 =\\n 15973040855000600860816974646787367136127946402908768408978806375685439868553;\\n uint256 constant C105 =\\n 20934130413948796333037139460875996342810005558806621330680156931816867321122;\\n uint256 constant C106 =\\n 6918585327145564636398173845411579411526758237572034236476079610890705810764;\\n uint256 constant C107 =\\n 14158163500813182062258176233162498241310167509137716527054939926126453647182;\\n uint256 constant C108 =\\n 4164602626597695668474100217150111342272610479949122406544277384862187287433;\\n uint256 constant C109 =\\n 12146526846507496913615390662823936206892812880963914267275606265272996025304;\\n uint256 constant C110 =\\n 10153527926900017763244212043512822363696541810586522108597162891799345289938;\\n uint256 constant C111 =\\n 13564663485965299104296214940873270349072051793008946663855767889066202733588;\\n uint256 constant C112 =\\n 5612449256997576125867742696783020582952387615430650198777254717398552960096;\\n uint256 constant C113 =\\n 12151885480032032868507892738683067544172874895736290365318623681886999930120;\\n uint256 constant C114 =\\n 380452237704664384810613424095477896605414037288009963200982915188629772177;\\n uint256 constant C115 =\\n 9067557551252570188533509616805287919563636482030947363841198066124642069518;\\n uint256 constant C116 =\\n 21280306817619711661335268484199763923870315733198162896599997188206277056900;\\n uint256 constant C117 =\\n 5567165819557297006750252582140767993422097822227408837378089569369734876257;\\n uint256 constant C118 =\\n 10411936321072105429908396649383171465939606386380071222095155850987201580137;\\n uint256 constant C119 =\\n 21338390051413922944780864872652000187403217966653363270851298678606449622266;\\n uint256 constant C120 =\\n 12156296560457833712186127325312904760045212412680904475497938949653569234473;\\n uint256 constant C121 =\\n 4271647814574748734312113971565139132510281260328947438246615707172526380757;\\n uint256 constant C122 =\\n 9061738206062369647211128232833114177054715885442782773131292534862178874950;\\n uint256 constant C123 =\\n 10134551893627587797380445583959894183158393780166496661696555422178052339133;\\n uint256 constant C124 =\\n 8932270237664043612366044102088319242789325050842783721780970129656616386103;\\n uint256 constant C125 =\\n 3339412934966886386194449782756711637636784424032779155216609410591712750636;\\n uint256 constant C126 =\\n 9704903972004596791086522314847373103670545861209569267884026709445485704400;\\n uint256 constant C127 =\\n 17467570179597572575614276429760169990940929887711661192333523245667228809456;\\n uint256 constant M00 =\\n 2910766817845651019878574839501801340070030115151021261302834310722729507541;\\n uint256 constant M01 =\\n 19727366863391167538122140361473584127147630672623100827934084310230022599144;\\n uint256 constant M10 =\\n 5776684794125549462448597414050232243778680302179439492664047328281728356345;\\n uint256 constant M11 =\\n 8348174920934122550483593999453880006756108121341067172388445916328941978568;\\n\\n function hash(\\n uint256 input\\n ) external pure override returns (uint256 result) {\\n return _hash(input);\\n }\\n\\n function _hash(uint256 input) internal pure returns (uint256 result) {\\n assembly {\\n // Poseidon parameters should be t = 2, RF = 8, RP = 56\\n\\n // We load the characteristic\\n let q := Q\\n\\n // In zerokit implementation, if we pass inp = [a0,a1,..,an] to Poseidon what is effectively hashed is [0,a0,a1,..,an]\\n // Note that a sequence of MIX-ARK involves 3 Bn254 field additions before the mulmod happens. Worst case we have a value corresponding to 2*(p-1) which is less than 2^256 and hence doesn't overflow\\n //ROUND 0 - FULL\\n let s0 := C0\\n let s1 := add(input, C1)\\n // SBOX\\n let t := mulmod(s0, s0, q)\\n s0 := mulmod(mulmod(t, t, q), s0, q)\\n t := mulmod(s1, s1, q)\\n s1 := mulmod(mulmod(t, t, q), s1, q)\\n // MIX\\n t := add(mulmod(s0, M00, q), mulmod(s1, M01, q))\\n s1 := add(mulmod(s0, M10, q), mulmod(s1, M11, q))\\n s0 := t\\n\\n //ROUND 1 - FULL\\n s0 := add(s0, C2)\\n s1 := add(s1, C3)\\n // SBOX\\n t := mulmod(s0, s0, q)\\n s0 := mulmod(mulmod(t, t, q), s0, q)\\n t := mulmod(s1, s1, q)\\n s1 := mulmod(mulmod(t, t, q), s1, q)\\n // MIX\\n t := add(mulmod(s0, M00, q), mulmod(s1, M01, q))\\n s1 := add(mulmod(s0, M10, q), mulmod(s1, M11, q))\\n s0 := t\\n\\n //ROUND 2 - FULL\\n s0 := add(s0, C4)\\n s1 := add(s1, C5)\\n // SBOX\\n t := mulmod(s0, s0, q)\\n s0 := mulmod(mulmod(t, t, q), s0, q)\\n t := mulmod(s1, s1, q)\\n s1 := mulmod(mulmod(t, t, q), s1, q)\\n // MIX\\n t := add(mulmod(s0, M00, q), mulmod(s1, M01, q))\\n s1 := add(mulmod(s0, M10, q), mulmod(s1, M11, q))\\n s0 := t\\n\\n //ROUND 3 - FULL\\n s0 := add(s0, C6)\\n s1 := add(s1, C7)\\n // SBOX\\n t := mulmod(s0, s0, q)\\n s0 := mulmod(mulmod(t, t, q), s0, q)\\n t := mulmod(s1, s1, q)\\n s1 := mulmod(mulmod(t, t, q), s1, q)\\n // MIX\\n t := add(mulmod(s0, M00, q), mulmod(s1, M01, q))\\n s1 := add(mulmod(s0, M10, q), mulmod(s1, M11, q))\\n s0 := t\\n\\n //ROUND 4 - PARTIAL\\n s0 := add(s0, C8)\\n s1 := add(s1, C9)\\n // SBOX\\n t := mulmod(s0, s0, q)\\n s0 := mulmod(mulmod(t, t, q), s0, q)\\n // MIX\\n t := add(mulmod(s0, M00, q), mulmod(s1, M01, q))\\n s1 := add(mulmod(s0, M10, q), mulmod(s1, M11, q))\\n s0 := t\\n\\n //ROUND 5 - PARTIAL\\n s0 := add(s0, C10)\\n s1 := add(s1, C11)\\n // SBOX\\n t := mulmod(s0, s0, q)\\n s0 := mulmod(mulmod(t, t, q), s0, q)\\n // MIX\\n t := add(mulmod(s0, M00, q), mulmod(s1, M01, q))\\n s1 := add(mulmod(s0, M10, q), mulmod(s1, M11, q))\\n s0 := t\\n\\n //ROUND 6 - PARTIAL\\n s0 := add(s0, C12)\\n s1 := add(s1, C13)\\n // SBOX\\n t := mulmod(s0, s0, q)\\n s0 := mulmod(mulmod(t, t, q), s0, q)\\n // MIX\\n t := add(mulmod(s0, M00, q), mulmod(s1, M01, q))\\n s1 := add(mulmod(s0, M10, q), mulmod(s1, M11, q))\\n s0 := t\\n\\n //ROUND 7 - PARTIAL\\n s0 := add(s0, C14)\\n s1 := add(s1, C15)\\n // SBOX\\n t := mulmod(s0, s0, q)\\n s0 := mulmod(mulmod(t, t, q), s0, q)\\n // MIX\\n t := add(mulmod(s0, M00, q), mulmod(s1, M01, q))\\n s1 := add(mulmod(s0, M10, q), mulmod(s1, M11, q))\\n s0 := t\\n\\n //ROUND 8 - PARTIAL\\n s0 := add(s0, C16)\\n s1 := add(s1, C17)\\n // SBOX\\n t := mulmod(s0, s0, q)\\n s0 := mulmod(mulmod(t, t, q), s0, q)\\n // MIX\\n t := add(mulmod(s0, M00, q), mulmod(s1, M01, q))\\n s1 := add(mulmod(s0, M10, q), mulmod(s1, M11, q))\\n s0 := t\\n\\n //ROUND 9 - PARTIAL\\n s0 := add(s0, C18)\\n s1 := add(s1, C19)\\n // SBOX\\n t := mulmod(s0, s0, q)\\n s0 := mulmod(mulmod(t, t, q), s0, q)\\n // MIX\\n t := add(mulmod(s0, M00, q), mulmod(s1, M01, q))\\n s1 := add(mulmod(s0, M10, q), mulmod(s1, M11, q))\\n s0 := t\\n\\n //ROUND 10 - PARTIAL\\n s0 := add(s0, C20)\\n s1 := add(s1, C21)\\n // SBOX\\n t := mulmod(s0, s0, q)\\n s0 := mulmod(mulmod(t, t, q), s0, q)\\n // MIX\\n t := add(mulmod(s0, M00, q), mulmod(s1, M01, q))\\n s1 := add(mulmod(s0, M10, q), mulmod(s1, M11, q))\\n s0 := t\\n\\n //ROUND 11 - PARTIAL\\n s0 := add(s0, C22)\\n s1 := add(s1, C23)\\n // SBOX\\n t := mulmod(s0, s0, q)\\n s0 := mulmod(mulmod(t, t, q), s0, q)\\n // MIX\\n t := add(mulmod(s0, M00, q), mulmod(s1, M01, q))\\n s1 := add(mulmod(s0, M10, q), mulmod(s1, M11, q))\\n s0 := t\\n\\n //ROUND 12 - PARTIAL\\n s0 := add(s0, C24)\\n s1 := add(s1, C25)\\n // SBOX\\n t := mulmod(s0, s0, q)\\n s0 := mulmod(mulmod(t, t, q), s0, q)\\n // MIX\\n t := add(mulmod(s0, M00, q), mulmod(s1, M01, q))\\n s1 := add(mulmod(s0, M10, q), mulmod(s1, M11, q))\\n s0 := t\\n\\n //ROUND 13 - PARTIAL\\n s0 := add(s0, C26)\\n s1 := add(s1, C27)\\n // SBOX\\n t := mulmod(s0, s0, q)\\n s0 := mulmod(mulmod(t, t, q), s0, q)\\n // MIX\\n t := add(mulmod(s0, M00, q), mulmod(s1, M01, q))\\n s1 := add(mulmod(s0, M10, q), mulmod(s1, M11, q))\\n s0 := t\\n\\n //ROUND 14 - PARTIAL\\n s0 := add(s0, C28)\\n s1 := add(s1, C29)\\n // SBOX\\n t := mulmod(s0, s0, q)\\n s0 := mulmod(mulmod(t, t, q), s0, q)\\n // MIX\\n t := add(mulmod(s0, M00, q), mulmod(s1, M01, q))\\n s1 := add(mulmod(s0, M10, q), mulmod(s1, M11, q))\\n s0 := t\\n\\n //ROUND 15 - PARTIAL\\n s0 := add(s0, C30)\\n s1 := add(s1, C31)\\n // SBOX\\n t := mulmod(s0, s0, q)\\n s0 := mulmod(mulmod(t, t, q), s0, q)\\n // MIX\\n t := add(mulmod(s0, M00, q), mulmod(s1, M01, q))\\n s1 := add(mulmod(s0, M10, q), mulmod(s1, M11, q))\\n s0 := t\\n\\n //ROUND 16 - PARTIAL\\n s0 := add(s0, C32)\\n s1 := add(s1, C33)\\n // SBOX\\n t := mulmod(s0, s0, q)\\n s0 := mulmod(mulmod(t, t, q), s0, q)\\n // MIX\\n t := add(mulmod(s0, M00, q), mulmod(s1, M01, q))\\n s1 := add(mulmod(s0, M10, q), mulmod(s1, M11, q))\\n s0 := t\\n\\n //ROUND 17 - PARTIAL\\n s0 := add(s0, C34)\\n s1 := add(s1, C35)\\n // SBOX\\n t := mulmod(s0, s0, q)\\n s0 := mulmod(mulmod(t, t, q), s0, q)\\n // MIX\\n t := add(mulmod(s0, M00, q), mulmod(s1, M01, q))\\n s1 := add(mulmod(s0, M10, q), mulmod(s1, M11, q))\\n s0 := t\\n\\n //ROUND 18 - PARTIAL\\n s0 := add(s0, C36)\\n s1 := add(s1, C37)\\n // SBOX\\n t := mulmod(s0, s0, q)\\n s0 := mulmod(mulmod(t, t, q), s0, q)\\n // MIX\\n t := add(mulmod(s0, M00, q), mulmod(s1, M01, q))\\n s1 := add(mulmod(s0, M10, q), mulmod(s1, M11, q))\\n s0 := t\\n\\n //ROUND 19 - PARTIAL\\n s0 := add(s0, C38)\\n s1 := add(s1, C39)\\n // SBOX\\n t := mulmod(s0, s0, q)\\n s0 := mulmod(mulmod(t, t, q), s0, q)\\n // MIX\\n t := add(mulmod(s0, M00, q), mulmod(s1, M01, q))\\n s1 := add(mulmod(s0, M10, q), mulmod(s1, M11, q))\\n s0 := t\\n\\n //ROUND 20 - PARTIAL\\n s0 := add(s0, C40)\\n s1 := add(s1, C41)\\n // SBOX\\n t := mulmod(s0, s0, q)\\n s0 := mulmod(mulmod(t, t, q), s0, q)\\n // MIX\\n t := add(mulmod(s0, M00, q), mulmod(s1, M01, q))\\n s1 := add(mulmod(s0, M10, q), mulmod(s1, M11, q))\\n s0 := t\\n\\n //ROUND 21 - PARTIAL\\n s0 := add(s0, C42)\\n s1 := add(s1, C43)\\n // SBOX\\n t := mulmod(s0, s0, q)\\n s0 := mulmod(mulmod(t, t, q), s0, q)\\n // MIX\\n t := add(mulmod(s0, M00, q), mulmod(s1, M01, q))\\n s1 := add(mulmod(s0, M10, q), mulmod(s1, M11, q))\\n s0 := t\\n\\n //ROUND 22 - PARTIAL\\n s0 := add(s0, C44)\\n s1 := add(s1, C45)\\n // SBOX\\n t := mulmod(s0, s0, q)\\n s0 := mulmod(mulmod(t, t, q), s0, q)\\n // MIX\\n t := add(mulmod(s0, M00, q), mulmod(s1, M01, q))\\n s1 := add(mulmod(s0, M10, q), mulmod(s1, M11, q))\\n s0 := t\\n\\n //ROUND 23 - PARTIAL\\n s0 := add(s0, C46)\\n s1 := add(s1, C47)\\n // SBOX\\n t := mulmod(s0, s0, q)\\n s0 := mulmod(mulmod(t, t, q), s0, q)\\n // MIX\\n t := add(mulmod(s0, M00, q), mulmod(s1, M01, q))\\n s1 := add(mulmod(s0, M10, q), mulmod(s1, M11, q))\\n s0 := t\\n\\n //ROUND 24 - PARTIAL\\n s0 := add(s0, C48)\\n s1 := add(s1, C49)\\n // SBOX\\n t := mulmod(s0, s0, q)\\n s0 := mulmod(mulmod(t, t, q), s0, q)\\n // MIX\\n t := add(mulmod(s0, M00, q), mulmod(s1, M01, q))\\n s1 := add(mulmod(s0, M10, q), mulmod(s1, M11, q))\\n s0 := t\\n\\n //ROUND 25 - PARTIAL\\n s0 := add(s0, C50)\\n s1 := add(s1, C51)\\n // SBOX\\n t := mulmod(s0, s0, q)\\n s0 := mulmod(mulmod(t, t, q), s0, q)\\n // MIX\\n t := add(mulmod(s0, M00, q), mulmod(s1, M01, q))\\n s1 := add(mulmod(s0, M10, q), mulmod(s1, M11, q))\\n s0 := t\\n\\n //ROUND 26 - PARTIAL\\n s0 := add(s0, C52)\\n s1 := add(s1, C53)\\n // SBOX\\n t := mulmod(s0, s0, q)\\n s0 := mulmod(mulmod(t, t, q), s0, q)\\n // MIX\\n t := add(mulmod(s0, M00, q), mulmod(s1, M01, q))\\n s1 := add(mulmod(s0, M10, q), mulmod(s1, M11, q))\\n s0 := t\\n\\n //ROUND 27 - PARTIAL\\n s0 := add(s0, C54)\\n s1 := add(s1, C55)\\n // SBOX\\n t := mulmod(s0, s0, q)\\n s0 := mulmod(mulmod(t, t, q), s0, q)\\n // MIX\\n t := add(mulmod(s0, M00, q), mulmod(s1, M01, q))\\n s1 := add(mulmod(s0, M10, q), mulmod(s1, M11, q))\\n s0 := t\\n\\n //ROUND 28 - PARTIAL\\n s0 := add(s0, C56)\\n s1 := add(s1, C57)\\n // SBOX\\n t := mulmod(s0, s0, q)\\n s0 := mulmod(mulmod(t, t, q), s0, q)\\n // MIX\\n t := add(mulmod(s0, M00, q), mulmod(s1, M01, q))\\n s1 := add(mulmod(s0, M10, q), mulmod(s1, M11, q))\\n s0 := t\\n\\n //ROUND 29 - PARTIAL\\n s0 := add(s0, C58)\\n s1 := add(s1, C59)\\n // SBOX\\n t := mulmod(s0, s0, q)\\n s0 := mulmod(mulmod(t, t, q), s0, q)\\n // MIX\\n t := add(mulmod(s0, M00, q), mulmod(s1, M01, q))\\n s1 := add(mulmod(s0, M10, q), mulmod(s1, M11, q))\\n s0 := t\\n\\n //ROUND 30 - PARTIAL\\n s0 := add(s0, C60)\\n s1 := add(s1, C61)\\n // SBOX\\n t := mulmod(s0, s0, q)\\n s0 := mulmod(mulmod(t, t, q), s0, q)\\n // MIX\\n t := add(mulmod(s0, M00, q), mulmod(s1, M01, q))\\n s1 := add(mulmod(s0, M10, q), mulmod(s1, M11, q))\\n s0 := t\\n\\n //ROUND 31 - PARTIAL\\n s0 := add(s0, C62)\\n s1 := add(s1, C63)\\n // SBOX\\n t := mulmod(s0, s0, q)\\n s0 := mulmod(mulmod(t, t, q), s0, q)\\n // MIX\\n t := add(mulmod(s0, M00, q), mulmod(s1, M01, q))\\n s1 := add(mulmod(s0, M10, q), mulmod(s1, M11, q))\\n s0 := t\\n\\n //ROUND 32 - PARTIAL\\n s0 := add(s0, C64)\\n s1 := add(s1, C65)\\n // SBOX\\n t := mulmod(s0, s0, q)\\n s0 := mulmod(mulmod(t, t, q), s0, q)\\n // MIX\\n t := add(mulmod(s0, M00, q), mulmod(s1, M01, q))\\n s1 := add(mulmod(s0, M10, q), mulmod(s1, M11, q))\\n s0 := t\\n\\n //ROUND 33 - PARTIAL\\n s0 := add(s0, C66)\\n s1 := add(s1, C67)\\n // SBOX\\n t := mulmod(s0, s0, q)\\n s0 := mulmod(mulmod(t, t, q), s0, q)\\n // MIX\\n t := add(mulmod(s0, M00, q), mulmod(s1, M01, q))\\n s1 := add(mulmod(s0, M10, q), mulmod(s1, M11, q))\\n s0 := t\\n\\n //ROUND 34 - PARTIAL\\n s0 := add(s0, C68)\\n s1 := add(s1, C69)\\n // SBOX\\n t := mulmod(s0, s0, q)\\n s0 := mulmod(mulmod(t, t, q), s0, q)\\n // MIX\\n t := add(mulmod(s0, M00, q), mulmod(s1, M01, q))\\n s1 := add(mulmod(s0, M10, q), mulmod(s1, M11, q))\\n s0 := t\\n\\n //ROUND 35 - PARTIAL\\n s0 := add(s0, C70)\\n s1 := add(s1, C71)\\n // SBOX\\n t := mulmod(s0, s0, q)\\n s0 := mulmod(mulmod(t, t, q), s0, q)\\n // MIX\\n t := add(mulmod(s0, M00, q), mulmod(s1, M01, q))\\n s1 := add(mulmod(s0, M10, q), mulmod(s1, M11, q))\\n s0 := t\\n\\n //ROUND 36 - PARTIAL\\n s0 := add(s0, C72)\\n s1 := add(s1, C73)\\n // SBOX\\n t := mulmod(s0, s0, q)\\n s0 := mulmod(mulmod(t, t, q), s0, q)\\n // MIX\\n t := add(mulmod(s0, M00, q), mulmod(s1, M01, q))\\n s1 := add(mulmod(s0, M10, q), mulmod(s1, M11, q))\\n s0 := t\\n\\n //ROUND 37 - PARTIAL\\n s0 := add(s0, C74)\\n s1 := add(s1, C75)\\n // SBOX\\n t := mulmod(s0, s0, q)\\n s0 := mulmod(mulmod(t, t, q), s0, q)\\n // MIX\\n t := add(mulmod(s0, M00, q), mulmod(s1, M01, q))\\n s1 := add(mulmod(s0, M10, q), mulmod(s1, M11, q))\\n s0 := t\\n\\n //ROUND 38 - PARTIAL\\n s0 := add(s0, C76)\\n s1 := add(s1, C77)\\n // SBOX\\n t := mulmod(s0, s0, q)\\n s0 := mulmod(mulmod(t, t, q), s0, q)\\n // MIX\\n t := add(mulmod(s0, M00, q), mulmod(s1, M01, q))\\n s1 := add(mulmod(s0, M10, q), mulmod(s1, M11, q))\\n s0 := t\\n\\n //ROUND 39 - PARTIAL\\n s0 := add(s0, C78)\\n s1 := add(s1, C79)\\n // SBOX\\n t := mulmod(s0, s0, q)\\n s0 := mulmod(mulmod(t, t, q), s0, q)\\n // MIX\\n t := add(mulmod(s0, M00, q), mulmod(s1, M01, q))\\n s1 := add(mulmod(s0, M10, q), mulmod(s1, M11, q))\\n s0 := t\\n\\n //ROUND 40 - PARTIAL\\n s0 := add(s0, C80)\\n s1 := add(s1, C81)\\n // SBOX\\n t := mulmod(s0, s0, q)\\n s0 := mulmod(mulmod(t, t, q), s0, q)\\n // MIX\\n t := add(mulmod(s0, M00, q), mulmod(s1, M01, q))\\n s1 := add(mulmod(s0, M10, q), mulmod(s1, M11, q))\\n s0 := t\\n\\n //ROUND 41 - PARTIAL\\n s0 := add(s0, C82)\\n s1 := add(s1, C83)\\n // SBOX\\n t := mulmod(s0, s0, q)\\n s0 := mulmod(mulmod(t, t, q), s0, q)\\n // MIX\\n t := add(mulmod(s0, M00, q), mulmod(s1, M01, q))\\n s1 := add(mulmod(s0, M10, q), mulmod(s1, M11, q))\\n s0 := t\\n\\n //ROUND 42 - PARTIAL\\n s0 := add(s0, C84)\\n s1 := add(s1, C85)\\n // SBOX\\n t := mulmod(s0, s0, q)\\n s0 := mulmod(mulmod(t, t, q), s0, q)\\n // MIX\\n t := add(mulmod(s0, M00, q), mulmod(s1, M01, q))\\n s1 := add(mulmod(s0, M10, q), mulmod(s1, M11, q))\\n s0 := t\\n\\n //ROUND 43 - PARTIAL\\n s0 := add(s0, C86)\\n s1 := add(s1, C87)\\n // SBOX\\n t := mulmod(s0, s0, q)\\n s0 := mulmod(mulmod(t, t, q), s0, q)\\n // MIX\\n t := add(mulmod(s0, M00, q), mulmod(s1, M01, q))\\n s1 := add(mulmod(s0, M10, q), mulmod(s1, M11, q))\\n s0 := t\\n\\n //ROUND 44 - PARTIAL\\n s0 := add(s0, C88)\\n s1 := add(s1, C89)\\n // SBOX\\n t := mulmod(s0, s0, q)\\n s0 := mulmod(mulmod(t, t, q), s0, q)\\n // MIX\\n t := add(mulmod(s0, M00, q), mulmod(s1, M01, q))\\n s1 := add(mulmod(s0, M10, q), mulmod(s1, M11, q))\\n s0 := t\\n\\n //ROUND 45 - PARTIAL\\n s0 := add(s0, C90)\\n s1 := add(s1, C91)\\n // SBOX\\n t := mulmod(s0, s0, q)\\n s0 := mulmod(mulmod(t, t, q), s0, q)\\n // MIX\\n t := add(mulmod(s0, M00, q), mulmod(s1, M01, q))\\n s1 := add(mulmod(s0, M10, q), mulmod(s1, M11, q))\\n s0 := t\\n\\n //ROUND 46 - PARTIAL\\n s0 := add(s0, C92)\\n s1 := add(s1, C93)\\n // SBOX\\n t := mulmod(s0, s0, q)\\n s0 := mulmod(mulmod(t, t, q), s0, q)\\n // MIX\\n t := add(mulmod(s0, M00, q), mulmod(s1, M01, q))\\n s1 := add(mulmod(s0, M10, q), mulmod(s1, M11, q))\\n s0 := t\\n\\n //ROUND 47 - PARTIAL\\n s0 := add(s0, C94)\\n s1 := add(s1, C95)\\n // SBOX\\n t := mulmod(s0, s0, q)\\n s0 := mulmod(mulmod(t, t, q), s0, q)\\n // MIX\\n t := add(mulmod(s0, M00, q), mulmod(s1, M01, q))\\n s1 := add(mulmod(s0, M10, q), mulmod(s1, M11, q))\\n s0 := t\\n\\n //ROUND 48 - PARTIAL\\n s0 := add(s0, C96)\\n s1 := add(s1, C97)\\n // SBOX\\n t := mulmod(s0, s0, q)\\n s0 := mulmod(mulmod(t, t, q), s0, q)\\n // MIX\\n t := add(mulmod(s0, M00, q), mulmod(s1, M01, q))\\n s1 := add(mulmod(s0, M10, q), mulmod(s1, M11, q))\\n s0 := t\\n\\n //ROUND 49 - PARTIAL\\n s0 := add(s0, C98)\\n s1 := add(s1, C99)\\n // SBOX\\n t := mulmod(s0, s0, q)\\n s0 := mulmod(mulmod(t, t, q), s0, q)\\n // MIX\\n t := add(mulmod(s0, M00, q), mulmod(s1, M01, q))\\n s1 := add(mulmod(s0, M10, q), mulmod(s1, M11, q))\\n s0 := t\\n\\n //ROUND 50 - PARTIAL\\n s0 := add(s0, C100)\\n s1 := add(s1, C101)\\n // SBOX\\n t := mulmod(s0, s0, q)\\n s0 := mulmod(mulmod(t, t, q), s0, q)\\n // MIX\\n t := add(mulmod(s0, M00, q), mulmod(s1, M01, q))\\n s1 := add(mulmod(s0, M10, q), mulmod(s1, M11, q))\\n s0 := t\\n\\n //ROUND 51 - PARTIAL\\n s0 := add(s0, C102)\\n s1 := add(s1, C103)\\n // SBOX\\n t := mulmod(s0, s0, q)\\n s0 := mulmod(mulmod(t, t, q), s0, q)\\n // MIX\\n t := add(mulmod(s0, M00, q), mulmod(s1, M01, q))\\n s1 := add(mulmod(s0, M10, q), mulmod(s1, M11, q))\\n s0 := t\\n\\n //ROUND 52 - PARTIAL\\n s0 := add(s0, C104)\\n s1 := add(s1, C105)\\n // SBOX\\n t := mulmod(s0, s0, q)\\n s0 := mulmod(mulmod(t, t, q), s0, q)\\n // MIX\\n t := add(mulmod(s0, M00, q), mulmod(s1, M01, q))\\n s1 := add(mulmod(s0, M10, q), mulmod(s1, M11, q))\\n s0 := t\\n\\n //ROUND 53 - PARTIAL\\n s0 := add(s0, C106)\\n s1 := add(s1, C107)\\n // SBOX\\n t := mulmod(s0, s0, q)\\n s0 := mulmod(mulmod(t, t, q), s0, q)\\n // MIX\\n t := add(mulmod(s0, M00, q), mulmod(s1, M01, q))\\n s1 := add(mulmod(s0, M10, q), mulmod(s1, M11, q))\\n s0 := t\\n\\n //ROUND 54 - PARTIAL\\n s0 := add(s0, C108)\\n s1 := add(s1, C109)\\n // SBOX\\n t := mulmod(s0, s0, q)\\n s0 := mulmod(mulmod(t, t, q), s0, q)\\n // MIX\\n t := add(mulmod(s0, M00, q), mulmod(s1, M01, q))\\n s1 := add(mulmod(s0, M10, q), mulmod(s1, M11, q))\\n s0 := t\\n\\n //ROUND 55 - PARTIAL\\n s0 := add(s0, C110)\\n s1 := add(s1, C111)\\n // SBOX\\n t := mulmod(s0, s0, q)\\n s0 := mulmod(mulmod(t, t, q), s0, q)\\n // MIX\\n t := add(mulmod(s0, M00, q), mulmod(s1, M01, q))\\n s1 := add(mulmod(s0, M10, q), mulmod(s1, M11, q))\\n s0 := t\\n\\n //ROUND 56 - PARTIAL\\n s0 := add(s0, C112)\\n s1 := add(s1, C113)\\n // SBOX\\n t := mulmod(s0, s0, q)\\n s0 := mulmod(mulmod(t, t, q), s0, q)\\n // MIX\\n t := add(mulmod(s0, M00, q), mulmod(s1, M01, q))\\n s1 := add(mulmod(s0, M10, q), mulmod(s1, M11, q))\\n s0 := t\\n\\n //ROUND 57 - PARTIAL\\n s0 := add(s0, C114)\\n s1 := add(s1, C115)\\n // SBOX\\n t := mulmod(s0, s0, q)\\n s0 := mulmod(mulmod(t, t, q), s0, q)\\n // MIX\\n t := add(mulmod(s0, M00, q), mulmod(s1, M01, q))\\n s1 := add(mulmod(s0, M10, q), mulmod(s1, M11, q))\\n s0 := t\\n\\n //ROUND 58 - PARTIAL\\n s0 := add(s0, C116)\\n s1 := add(s1, C117)\\n // SBOX\\n t := mulmod(s0, s0, q)\\n s0 := mulmod(mulmod(t, t, q), s0, q)\\n // MIX\\n t := add(mulmod(s0, M00, q), mulmod(s1, M01, q))\\n s1 := add(mulmod(s0, M10, q), mulmod(s1, M11, q))\\n s0 := t\\n\\n //ROUND 59 - PARTIAL\\n s0 := add(s0, C118)\\n s1 := add(s1, C119)\\n // SBOX\\n t := mulmod(s0, s0, q)\\n s0 := mulmod(mulmod(t, t, q), s0, q)\\n // MIX\\n t := add(mulmod(s0, M00, q), mulmod(s1, M01, q))\\n s1 := add(mulmod(s0, M10, q), mulmod(s1, M11, q))\\n s0 := t\\n\\n //ROUND 60 - FULL\\n s0 := add(s0, C120)\\n s1 := add(s1, C121)\\n // SBOX\\n t := mulmod(s0, s0, q)\\n s0 := mulmod(mulmod(t, t, q), s0, q)\\n t := mulmod(s1, s1, q)\\n s1 := mulmod(mulmod(t, t, q), s1, q)\\n // MIX\\n t := add(mulmod(s0, M00, q), mulmod(s1, M01, q))\\n s1 := add(mulmod(s0, M10, q), mulmod(s1, M11, q))\\n s0 := t\\n\\n //ROUND 61 - FULL\\n s0 := add(s0, C122)\\n s1 := add(s1, C123)\\n // SBOX\\n t := mulmod(s0, s0, q)\\n s0 := mulmod(mulmod(t, t, q), s0, q)\\n t := mulmod(s1, s1, q)\\n s1 := mulmod(mulmod(t, t, q), s1, q)\\n // MIX\\n t := add(mulmod(s0, M00, q), mulmod(s1, M01, q))\\n s1 := add(mulmod(s0, M10, q), mulmod(s1, M11, q))\\n s0 := t\\n\\n //ROUND 62 - FULL\\n s0 := add(s0, C124)\\n s1 := add(s1, C125)\\n // SBOX\\n t := mulmod(s0, s0, q)\\n s0 := mulmod(mulmod(t, t, q), s0, q)\\n t := mulmod(s1, s1, q)\\n s1 := mulmod(mulmod(t, t, q), s1, q)\\n // MIX\\n t := add(mulmod(s0, M00, q), mulmod(s1, M01, q))\\n s1 := add(mulmod(s0, M10, q), mulmod(s1, M11, q))\\n s0 := t\\n\\n //ROUND 63 - FULL\\n s0 := add(s0, C126)\\n s1 := add(s1, C127)\\n // SBOX\\n t := mulmod(s0, s0, q)\\n s0 := mulmod(mulmod(t, t, q), s0, q)\\n t := mulmod(s1, s1, q)\\n s1 := mulmod(mulmod(t, t, q), s1, q)\\n // MIX\\n s0 := mod(add(mulmod(s0, M00, q), mulmod(s1, M01, q)), q)\\n\\n result := s0\\n }\\n }\\n\\n function identity() external pure override returns (uint256) {\\n return _identity();\\n }\\n\\n // The hash of 0\\n function _identity() internal pure returns (uint256) {\\n return\\n 0x2a09a9fd93c590c26b91effbb2499f07e8f7aa12e2b4940a3aed2411cb65e11c;\\n }\\n}\\n\",\"keccak256\":\"0x9bb58fba201568f7ec88973f36225cc37775bb6337bc57e854a3e4a20af39edc\",\"license\":\"MIT\"}},\"version\":1}", - "bytecode": "0x608060405234801561001057600080fd5b50613e6b806100206000396000f3fe608060405234801561001057600080fd5b50600436106100365760003560e01c80632c159a1a1461003b578063b189fd4c14610059575b600080fd5b610043610089565b6040516100509190613dbc565b60405180910390f35b610073600480360381019061006e9190613e08565b610098565b6040516100809190613dbc565b60405180910390f35b60006100936100aa565b905090565b60006100a3826100d2565b9050919050565b60007f2a09a9fd93c590c26b91effbb2499f07e8f7aa12e2b4940a3aed2411cb65e11c905090565b60007f30644e72e131a029b85045b68181585d2833e84879b9709143e1f593f00000017f09c46e9ec68e9bd4fe1faaba294cba38a71aa177534cdd1b6c7dc0dbd0abd7a77f0c0356530896eec42a97ed937f3135cfc5142b3ae405b8343c1d83ffa604cb81840182828309838385838409099250838283099050838285838409099150837f2b9d4b4110c9ae997782e1509b1d0fdb20a7c02bbd8bea7305462b9f8125b1e88309847f066f6f85d6f68a85ec10345351a23a3aaf07f38af8c952a7bceca70bd2af7ad58509019050837f1274e649a32ed355a31a6ed69724e1adade857e86eb5c3a121bcd147943203c88309847f0cc57cdbb08507d62bf67a4493cc262fb6c09d557013fff1f573f431221f8ff985090191508092507f1e28a1d935698ad1142e51182bb54cf4a00ea5aabd6268bd317ea977cc154a30830192507f27af2d831a9d2748080965db30e298e40e5757c3e008db964cf9e2b12b91251f82019150838384099050838385838409099250838283099050838285838409099150837f2b9d4b4110c9ae997782e1509b1d0fdb20a7c02bbd8bea7305462b9f8125b1e88309847f066f6f85d6f68a85ec10345351a23a3aaf07f38af8c952a7bceca70bd2af7ad58509019050837f1274e649a32ed355a31a6ed69724e1adade857e86eb5c3a121bcd147943203c88309847f0cc57cdbb08507d62bf67a4493cc262fb6c09d557013fff1f573f431221f8ff985090191508092507f1e6f11ce60fc8f513a6a3cfe16ae175a41291462f214cd0879aaf43545b74e03830192507f2a67384d3bbd5e438541819cb681f0be04462ed14c3613d8f719206268d142d382019150838384099050838385838409099250838283099050838285838409099150837f2b9d4b4110c9ae997782e1509b1d0fdb20a7c02bbd8bea7305462b9f8125b1e88309847f066f6f85d6f68a85ec10345351a23a3aaf07f38af8c952a7bceca70bd2af7ad58509019050837f1274e649a32ed355a31a6ed69724e1adade857e86eb5c3a121bcd147943203c88309847f0cc57cdbb08507d62bf67a4493cc262fb6c09d557013fff1f573f431221f8ff985090191508092507f0b66fdf356093a611609f8e12fbfecf0b985e381f025188936408f5d5c9f45d0830192507f012ee3ec1e78d470830c61093c2ade370b26c83cc5cebeeddaa6852dbdb09e2182019150838384099050838385838409099250838283099050838285838409099150837f2b9d4b4110c9ae997782e1509b1d0fdb20a7c02bbd8bea7305462b9f8125b1e88309847f066f6f85d6f68a85ec10345351a23a3aaf07f38af8c952a7bceca70bd2af7ad58509019050837f1274e649a32ed355a31a6ed69724e1adade857e86eb5c3a121bcd147943203c88309847f0cc57cdbb08507d62bf67a4493cc262fb6c09d557013fff1f573f431221f8ff985090191508092507f0252ba5f6760bfbdfd88f67f8175e3fd6cd1c431b099b6bb2d108e7b445bb1b9830192507f179474cceca5ff676c6bec3cef54296354391a8935ff71d6ef5aeaad7ca932f182019150838384099050838385838409099250837f2b9d4b4110c9ae997782e1509b1d0fdb20a7c02bbd8bea7305462b9f8125b1e88309847f066f6f85d6f68a85ec10345351a23a3aaf07f38af8c952a7bceca70bd2af7ad58509019050837f1274e649a32ed355a31a6ed69724e1adade857e86eb5c3a121bcd147943203c88309847f0cc57cdbb08507d62bf67a4493cc262fb6c09d557013fff1f573f431221f8ff985090191508092507f2c24261379a51bfa9228ff4a503fd4ed9c1f974a264969b37e1a2589bbed2b91830192507f1cc1d7b62692e63eac2f288bd0695b43c2f63f5001fc0fc553e66c0551801b0582019150838384099050838385838409099250837f2b9d4b4110c9ae997782e1509b1d0fdb20a7c02bbd8bea7305462b9f8125b1e88309847f066f6f85d6f68a85ec10345351a23a3aaf07f38af8c952a7bceca70bd2af7ad58509019050837f1274e649a32ed355a31a6ed69724e1adade857e86eb5c3a121bcd147943203c88309847f0cc57cdbb08507d62bf67a4493cc262fb6c09d557013fff1f573f431221f8ff985090191508092507f255059301aada98bb2ed55f852979e9600784dbf17fbacd05d9eff5fd9c91b56830192507f28437be3ac1cb2e479e1f5c0eccd32b3aea24234970a8193b11c29ce7e59efd982019150838384099050838385838409099250837f2b9d4b4110c9ae997782e1509b1d0fdb20a7c02bbd8bea7305462b9f8125b1e88309847f066f6f85d6f68a85ec10345351a23a3aaf07f38af8c952a7bceca70bd2af7ad58509019050837f1274e649a32ed355a31a6ed69724e1adade857e86eb5c3a121bcd147943203c88309847f0cc57cdbb08507d62bf67a4493cc262fb6c09d557013fff1f573f431221f8ff985090191508092507f28216a442f2e1f711ca4fa6b53766eb118548da8fb4f78d4338762c37f5f2043830192507f2c1f47cd17fa5adf1f39f4e7056dd03feee1efce03094581131f2377323482c982019150838384099050838385838409099250837f2b9d4b4110c9ae997782e1509b1d0fdb20a7c02bbd8bea7305462b9f8125b1e88309847f066f6f85d6f68a85ec10345351a23a3aaf07f38af8c952a7bceca70bd2af7ad58509019050837f1274e649a32ed355a31a6ed69724e1adade857e86eb5c3a121bcd147943203c88309847f0cc57cdbb08507d62bf67a4493cc262fb6c09d557013fff1f573f431221f8ff985090191508092507f07abad02b7a5ebc48632bcc9356ceb7dd9dafca276638a63646b8566a621afc9830192507f0230264601ffdf29275b33ffaab51dfe9429f90880a69cd137da0c4d15f96c3c82019150838384099050838385838409099250837f2b9d4b4110c9ae997782e1509b1d0fdb20a7c02bbd8bea7305462b9f8125b1e88309847f066f6f85d6f68a85ec10345351a23a3aaf07f38af8c952a7bceca70bd2af7ad58509019050837f1274e649a32ed355a31a6ed69724e1adade857e86eb5c3a121bcd147943203c88309847f0cc57cdbb08507d62bf67a4493cc262fb6c09d557013fff1f573f431221f8ff985090191508092507f1bc973054e51d905a0f168656497ca40a864414557ee289e717e5d66899aa0a9830192507f2e1c22f964435008206c3157e86341edd249aff5c2d8421f2a6b22288f0a67fc82019150838384099050838385838409099250837f2b9d4b4110c9ae997782e1509b1d0fdb20a7c02bbd8bea7305462b9f8125b1e88309847f066f6f85d6f68a85ec10345351a23a3aaf07f38af8c952a7bceca70bd2af7ad58509019050837f1274e649a32ed355a31a6ed69724e1adade857e86eb5c3a121bcd147943203c88309847f0cc57cdbb08507d62bf67a4493cc262fb6c09d557013fff1f573f431221f8ff985090191508092507f1224f38df67c5378121c1d5f461bbc509e8ea1598e46c9f7a70452bc2bba86b8830192507f02e4e69d8ba59e519280b4bd9ed0068fd7bfe8cd9dfeda1969d2989186cde20e82019150838384099050838385838409099250837f2b9d4b4110c9ae997782e1509b1d0fdb20a7c02bbd8bea7305462b9f8125b1e88309847f066f6f85d6f68a85ec10345351a23a3aaf07f38af8c952a7bceca70bd2af7ad58509019050837f1274e649a32ed355a31a6ed69724e1adade857e86eb5c3a121bcd147943203c88309847f0cc57cdbb08507d62bf67a4493cc262fb6c09d557013fff1f573f431221f8ff985090191508092507f1f1eccc34aaba0137f5df81fc04ff3ee4f19ee364e653f076d47e9735d98018e830192507f1672ad3d709a353974266c3039a9a7311424448032cd1819eacb8a4d4284f58282019150838384099050838385838409099250837f2b9d4b4110c9ae997782e1509b1d0fdb20a7c02bbd8bea7305462b9f8125b1e88309847f066f6f85d6f68a85ec10345351a23a3aaf07f38af8c952a7bceca70bd2af7ad58509019050837f1274e649a32ed355a31a6ed69724e1adade857e86eb5c3a121bcd147943203c88309847f0cc57cdbb08507d62bf67a4493cc262fb6c09d557013fff1f573f431221f8ff985090191508092507f283e3fdc2c6e420c56f44af5192b4ae9cda6961f284d24991d2ed602df8c8fc7830192507f1c2a3d120c550ecfd0db0957170fa013683751f8fdff59d6614fbd69ff394bcc82019150838384099050838385838409099250837f2b9d4b4110c9ae997782e1509b1d0fdb20a7c02bbd8bea7305462b9f8125b1e88309847f066f6f85d6f68a85ec10345351a23a3aaf07f38af8c952a7bceca70bd2af7ad58509019050837f1274e649a32ed355a31a6ed69724e1adade857e86eb5c3a121bcd147943203c88309847f0cc57cdbb08507d62bf67a4493cc262fb6c09d557013fff1f573f431221f8ff985090191508092507f216f84877aac6172f7897a7323456efe143a9a43773ea6f296cb6b8177653fbd830192507f2c0d272becf2a75764ba7e8e3e28d12bceaa47ea61ca59a411a1f51552f9478882019150838384099050838385838409099250837f2b9d4b4110c9ae997782e1509b1d0fdb20a7c02bbd8bea7305462b9f8125b1e88309847f066f6f85d6f68a85ec10345351a23a3aaf07f38af8c952a7bceca70bd2af7ad58509019050837f1274e649a32ed355a31a6ed69724e1adade857e86eb5c3a121bcd147943203c88309847f0cc57cdbb08507d62bf67a4493cc262fb6c09d557013fff1f573f431221f8ff985090191508092507f16e34299865c0e28484ee7a74c454e9f170a5480abe0508fcb4a6c3d89546f43830192507f175ceba599e96f5b375a232a6fb9cc71772047765802290f48cd939755488fc582019150838384099050838385838409099250837f2b9d4b4110c9ae997782e1509b1d0fdb20a7c02bbd8bea7305462b9f8125b1e88309847f066f6f85d6f68a85ec10345351a23a3aaf07f38af8c952a7bceca70bd2af7ad58509019050837f1274e649a32ed355a31a6ed69724e1adade857e86eb5c3a121bcd147943203c88309847f0cc57cdbb08507d62bf67a4493cc262fb6c09d557013fff1f573f431221f8ff985090191508092507f0c7594440dc48c16fead9e1758b028066aa410bfbc354f54d8c5ffbb44a1ee32830192507f1a3c29bc39f21bb5c466db7d7eb6fd8f760e20013ccf912c92479882d919fd8d82019150838384099050838385838409099250837f2b9d4b4110c9ae997782e1509b1d0fdb20a7c02bbd8bea7305462b9f8125b1e88309847f066f6f85d6f68a85ec10345351a23a3aaf07f38af8c952a7bceca70bd2af7ad58509019050837f1274e649a32ed355a31a6ed69724e1adade857e86eb5c3a121bcd147943203c88309847f0cc57cdbb08507d62bf67a4493cc262fb6c09d557013fff1f573f431221f8ff985090191508092507f0ccfdd906f3426e5c0986ea049b253400855d349074f5a6695c8eeabcd22e68f830192507f14f6bc81d9f186f62bdb475ce6c9411866a7a8a3fd065b3ce0e699b67dd9e79682019150838384099050838385838409099250837f2b9d4b4110c9ae997782e1509b1d0fdb20a7c02bbd8bea7305462b9f8125b1e88309847f066f6f85d6f68a85ec10345351a23a3aaf07f38af8c952a7bceca70bd2af7ad58509019050837f1274e649a32ed355a31a6ed69724e1adade857e86eb5c3a121bcd147943203c88309847f0cc57cdbb08507d62bf67a4493cc262fb6c09d557013fff1f573f431221f8ff985090191508092507f0962b82789fb3d129702ca70b2f6c5aacc099810c9c495c888edeb7386b97052830192507f1a880af7074d18b3bf20c79de25127bc13284ab01ef02575afef0c8f6a31a86d82019150838384099050838385838409099250837f2b9d4b4110c9ae997782e1509b1d0fdb20a7c02bbd8bea7305462b9f8125b1e88309847f066f6f85d6f68a85ec10345351a23a3aaf07f38af8c952a7bceca70bd2af7ad58509019050837f1274e649a32ed355a31a6ed69724e1adade857e86eb5c3a121bcd147943203c88309847f0cc57cdbb08507d62bf67a4493cc262fb6c09d557013fff1f573f431221f8ff985090191508092507f10cba18419a6a332cd5e77f0211c154b20af2924fc20ff3f4c3012bb7ae9311b830192507f057e62a9a8f89b3ebdc76ba63a9eaca8fa27b7319cae3406756a2849f302f10d82019150838384099050838385838409099250837f2b9d4b4110c9ae997782e1509b1d0fdb20a7c02bbd8bea7305462b9f8125b1e88309847f066f6f85d6f68a85ec10345351a23a3aaf07f38af8c952a7bceca70bd2af7ad58509019050837f1274e649a32ed355a31a6ed69724e1adade857e86eb5c3a121bcd147943203c88309847f0cc57cdbb08507d62bf67a4493cc262fb6c09d557013fff1f573f431221f8ff985090191508092507f287c971de91dc0abd44adf5384b4988cb961303bbf65cff5afa0413b44280cee830192507f21df3388af1687bbb3bca9da0cca908f1e562bc46d4aba4e6f7f7960e306891d82019150838384099050838385838409099250837f2b9d4b4110c9ae997782e1509b1d0fdb20a7c02bbd8bea7305462b9f8125b1e88309847f066f6f85d6f68a85ec10345351a23a3aaf07f38af8c952a7bceca70bd2af7ad58509019050837f1274e649a32ed355a31a6ed69724e1adade857e86eb5c3a121bcd147943203c88309847f0cc57cdbb08507d62bf67a4493cc262fb6c09d557013fff1f573f431221f8ff985090191508092507f1be5c887d25bce703e25cc974d0934cd789df8f70b498fd83eff8b560e1682b3830192507f268da36f76e568fb68117175cea2cd0dd2cb5d42fda5acea48d59c2706a0d5c182019150838384099050838385838409099250837f2b9d4b4110c9ae997782e1509b1d0fdb20a7c02bbd8bea7305462b9f8125b1e88309847f066f6f85d6f68a85ec10345351a23a3aaf07f38af8c952a7bceca70bd2af7ad58509019050837f1274e649a32ed355a31a6ed69724e1adade857e86eb5c3a121bcd147943203c88309847f0cc57cdbb08507d62bf67a4493cc262fb6c09d557013fff1f573f431221f8ff985090191508092507f0e17ab091f6eae50c609beaf5510ececc5d8bb74135ebd05bd06460cc26a5ed6830192507f04d727e728ffa0a67aee535ab074a43091ef62d8cf83d270040f5caa1f62af4082019150838384099050838385838409099250837f2b9d4b4110c9ae997782e1509b1d0fdb20a7c02bbd8bea7305462b9f8125b1e88309847f066f6f85d6f68a85ec10345351a23a3aaf07f38af8c952a7bceca70bd2af7ad58509019050837f1274e649a32ed355a31a6ed69724e1adade857e86eb5c3a121bcd147943203c88309847f0cc57cdbb08507d62bf67a4493cc262fb6c09d557013fff1f573f431221f8ff985090191508092507f0ddbd7bf9c29341581b549762bc022ed33702ac10f1bfd862b15417d7e39ca6e830192507f2790eb3351621752768162e82989c6c234f5b0d1d3af9b588a29c49c8789654b82019150838384099050838385838409099250837f2b9d4b4110c9ae997782e1509b1d0fdb20a7c02bbd8bea7305462b9f8125b1e88309847f066f6f85d6f68a85ec10345351a23a3aaf07f38af8c952a7bceca70bd2af7ad58509019050837f1274e649a32ed355a31a6ed69724e1adade857e86eb5c3a121bcd147943203c88309847f0cc57cdbb08507d62bf67a4493cc262fb6c09d557013fff1f573f431221f8ff985090191508092507f1e457c601a63b73e4471950193d8a570395f3d9ab8b2fd0984b764206142f9e9830192507f21ae64301dca9625638d6ab2bbe7135ffa90ecd0c43ff91fc4c686fc46e091b082019150838384099050838385838409099250837f2b9d4b4110c9ae997782e1509b1d0fdb20a7c02bbd8bea7305462b9f8125b1e88309847f066f6f85d6f68a85ec10345351a23a3aaf07f38af8c952a7bceca70bd2af7ad58509019050837f1274e649a32ed355a31a6ed69724e1adade857e86eb5c3a121bcd147943203c88309847f0cc57cdbb08507d62bf67a4493cc262fb6c09d557013fff1f573f431221f8ff985090191508092507f0379f63c8ce3468d4da293166f494928854be9e3432e09555858534eed8d350b830192507e2d56420359d0266a744a080809e054ca0e4921a46686ac8c9f58a324c3504982019150838384099050838385838409099250837f2b9d4b4110c9ae997782e1509b1d0fdb20a7c02bbd8bea7305462b9f8125b1e88309847f066f6f85d6f68a85ec10345351a23a3aaf07f38af8c952a7bceca70bd2af7ad58509019050837f1274e649a32ed355a31a6ed69724e1adade857e86eb5c3a121bcd147943203c88309847f0cc57cdbb08507d62bf67a4493cc262fb6c09d557013fff1f573f431221f8ff985090191508092507f123158e5965b5d9b1d68b3cd32e10bbeda8d62459e21f4090fc2c5af963515a6830192507f0be29fc40847a941661d14bbf6cbe0420fbb2b6f52836d4e60c80eb49cad9ec182019150838384099050838385838409099250837f2b9d4b4110c9ae997782e1509b1d0fdb20a7c02bbd8bea7305462b9f8125b1e88309847f066f6f85d6f68a85ec10345351a23a3aaf07f38af8c952a7bceca70bd2af7ad58509019050837f1274e649a32ed355a31a6ed69724e1adade857e86eb5c3a121bcd147943203c88309847f0cc57cdbb08507d62bf67a4493cc262fb6c09d557013fff1f573f431221f8ff985090191508092507f1ac96991dec2bb0557716142015a453c36db9d859cad5f9a233802f24fdf4c1a830192507f1596443f763dbcc25f4964fc61d23b3e5e12c9fa97f18a9251ca3355bcb0627e82019150838384099050838385838409099250837f2b9d4b4110c9ae997782e1509b1d0fdb20a7c02bbd8bea7305462b9f8125b1e88309847f066f6f85d6f68a85ec10345351a23a3aaf07f38af8c952a7bceca70bd2af7ad58509019050837f1274e649a32ed355a31a6ed69724e1adade857e86eb5c3a121bcd147943203c88309847f0cc57cdbb08507d62bf67a4493cc262fb6c09d557013fff1f573f431221f8ff985090191508092507f12e0bcd3654bdfa76b2861d4ec3aeae0f1857d9f17e715aed6d049eae3ba3212830192507f0fc92b4f1bbea82b9ea73d4af9af2a50ceabac7f37154b1904e6c76c7cf964ba82019150838384099050838385838409099250837f2b9d4b4110c9ae997782e1509b1d0fdb20a7c02bbd8bea7305462b9f8125b1e88309847f066f6f85d6f68a85ec10345351a23a3aaf07f38af8c952a7bceca70bd2af7ad58509019050837f1274e649a32ed355a31a6ed69724e1adade857e86eb5c3a121bcd147943203c88309847f0cc57cdbb08507d62bf67a4493cc262fb6c09d557013fff1f573f431221f8ff985090191508092507f1f9c0b1610446442d6f2e592a8013f40b14f7c7722236f4f9c7e965233872762830192507f0ebd74244ae72675f8cde06157a782f4050d914da38b4c058d159f643dbbf4d382019150838384099050838385838409099250837f2b9d4b4110c9ae997782e1509b1d0fdb20a7c02bbd8bea7305462b9f8125b1e88309847f066f6f85d6f68a85ec10345351a23a3aaf07f38af8c952a7bceca70bd2af7ad58509019050837f1274e649a32ed355a31a6ed69724e1adade857e86eb5c3a121bcd147943203c88309847f0cc57cdbb08507d62bf67a4493cc262fb6c09d557013fff1f573f431221f8ff985090191508092507f2cb7f0ed39e16e9f69a9fafd4ab951c03b0671e97346ee397a839839dccfc6d1830192507f1a9d6e2ecff022cc5605443ee41bab20ce761d0514ce526690c72bca7352d9bf82019150838384099050838385838409099250837f2b9d4b4110c9ae997782e1509b1d0fdb20a7c02bbd8bea7305462b9f8125b1e88309847f066f6f85d6f68a85ec10345351a23a3aaf07f38af8c952a7bceca70bd2af7ad58509019050837f1274e649a32ed355a31a6ed69724e1adade857e86eb5c3a121bcd147943203c88309847f0cc57cdbb08507d62bf67a4493cc262fb6c09d557013fff1f573f431221f8ff985090191508092507f2a115439607f335a5ea83c3bc44a9331d0c13326a9a7ba3087da182d648ec72f830192507f23f9b6529b5d040d15b8fa7aee3e3410e738b56305cd44f29535c115c5a4c06082019150838384099050838385838409099250837f2b9d4b4110c9ae997782e1509b1d0fdb20a7c02bbd8bea7305462b9f8125b1e88309847f066f6f85d6f68a85ec10345351a23a3aaf07f38af8c952a7bceca70bd2af7ad58509019050837f1274e649a32ed355a31a6ed69724e1adade857e86eb5c3a121bcd147943203c88309847f0cc57cdbb08507d62bf67a4493cc262fb6c09d557013fff1f573f431221f8ff985090191508092507f05872c16db0f72a2249ac6ba484bb9c3a3ce97c16d58b68b260eb939f0e6e8a7830192507f1300bdee08bb7824ca20fb80118075f40219b6151d55b5c52b624a7cdeddf6a782019150838384099050838385838409099250837f2b9d4b4110c9ae997782e1509b1d0fdb20a7c02bbd8bea7305462b9f8125b1e88309847f066f6f85d6f68a85ec10345351a23a3aaf07f38af8c952a7bceca70bd2af7ad58509019050837f1274e649a32ed355a31a6ed69724e1adade857e86eb5c3a121bcd147943203c88309847f0cc57cdbb08507d62bf67a4493cc262fb6c09d557013fff1f573f431221f8ff985090191508092507f19b9b63d2f108e17e63817863a8f6c288d7ad29916d98cb1072e4e7b7d52b376830192507f015bee1357e3c015b5bda237668522f613d1c88726b5ec4224a20128481b4f7f82019150838384099050838385838409099250837f2b9d4b4110c9ae997782e1509b1d0fdb20a7c02bbd8bea7305462b9f8125b1e88309847f066f6f85d6f68a85ec10345351a23a3aaf07f38af8c952a7bceca70bd2af7ad58509019050837f1274e649a32ed355a31a6ed69724e1adade857e86eb5c3a121bcd147943203c88309847f0cc57cdbb08507d62bf67a4493cc262fb6c09d557013fff1f573f431221f8ff985090191508092507f2953736e94bb6b9f1b9707a4f1615e4efe1e1ce4bab218cbea92c785b128ffd1830192507f0b069353ba091618862f806180c0385f851b98d372b45f544ce7266ed6608dfc82019150838384099050838385838409099250837f2b9d4b4110c9ae997782e1509b1d0fdb20a7c02bbd8bea7305462b9f8125b1e88309847f066f6f85d6f68a85ec10345351a23a3aaf07f38af8c952a7bceca70bd2af7ad58509019050837f1274e649a32ed355a31a6ed69724e1adade857e86eb5c3a121bcd147943203c88309847f0cc57cdbb08507d62bf67a4493cc262fb6c09d557013fff1f573f431221f8ff985090191508092507f304f74d461ccc13115e4e0bcfb93817e55aeb7eb9306b64e4f588ac97d81f429830192507f15bbf146ce9bca09e8a33f5e77dfe4f5aad2a164a4617a4cb8ee5415cde913fc82019150838384099050838385838409099250837f2b9d4b4110c9ae997782e1509b1d0fdb20a7c02bbd8bea7305462b9f8125b1e88309847f066f6f85d6f68a85ec10345351a23a3aaf07f38af8c952a7bceca70bd2af7ad58509019050837f1274e649a32ed355a31a6ed69724e1adade857e86eb5c3a121bcd147943203c88309847f0cc57cdbb08507d62bf67a4493cc262fb6c09d557013fff1f573f431221f8ff985090191508092507f0ab4dfe0c2742cde44901031487964ed9b8f4b850405c10ca9ff23859572c8c6830192507f0e32db320a044e3197f45f7649a19675ef5eedfea546dea9251de39f9639779a82019150838384099050838385838409099250837f2b9d4b4110c9ae997782e1509b1d0fdb20a7c02bbd8bea7305462b9f8125b1e88309847f066f6f85d6f68a85ec10345351a23a3aaf07f38af8c952a7bceca70bd2af7ad58509019050837f1274e649a32ed355a31a6ed69724e1adade857e86eb5c3a121bcd147943203c88309847f0cc57cdbb08507d62bf67a4493cc262fb6c09d557013fff1f573f431221f8ff985090191508092507f0a1756aa1f378ca4b27635a78b6888e66797733a82774896a3078efa516da016830192507f044c4a33b10f693447fd17177f952ef895e61d328f85efa94254d6a2a25d93ef82019150838384099050838385838409099250837f2b9d4b4110c9ae997782e1509b1d0fdb20a7c02bbd8bea7305462b9f8125b1e88309847f066f6f85d6f68a85ec10345351a23a3aaf07f38af8c952a7bceca70bd2af7ad58509019050837f1274e649a32ed355a31a6ed69724e1adade857e86eb5c3a121bcd147943203c88309847f0cc57cdbb08507d62bf67a4493cc262fb6c09d557013fff1f573f431221f8ff985090191508092507f2ed3611b725b8a70be655b537f66f700fe0879d79a496891d37b07b5466c4b8b830192507f1f9ba4e8bab7ce42c8ecc3d722aa2e0eadfdeb9cfdd347b5d8339ea7120858aa82019150838384099050838385838409099250837f2b9d4b4110c9ae997782e1509b1d0fdb20a7c02bbd8bea7305462b9f8125b1e88309847f066f6f85d6f68a85ec10345351a23a3aaf07f38af8c952a7bceca70bd2af7ad58509019050837f1274e649a32ed355a31a6ed69724e1adade857e86eb5c3a121bcd147943203c88309847f0cc57cdbb08507d62bf67a4493cc262fb6c09d557013fff1f573f431221f8ff985090191508092507f1b233043052e8c288f7ee907a84e518aa38e82ac4502066db74056f865c5d3da830192507f2431e1cc164bb8d074031ab72bd55b4c902053bfc0f14db0ca2f97b02087595482019150838384099050838385838409099250837f2b9d4b4110c9ae997782e1509b1d0fdb20a7c02bbd8bea7305462b9f8125b1e88309847f066f6f85d6f68a85ec10345351a23a3aaf07f38af8c952a7bceca70bd2af7ad58509019050837f1274e649a32ed355a31a6ed69724e1adade857e86eb5c3a121bcd147943203c88309847f0cc57cdbb08507d62bf67a4493cc262fb6c09d557013fff1f573f431221f8ff985090191508092507f082f934c91f5aac330cd6953a0a7db45a13e322097583319a791f273965801fd830192507f2b9a0a223e7538b0a34be074315542a3c77245e2ae7cbe999ad6bb930c48997c82019150838384099050838385838409099250837f2b9d4b4110c9ae997782e1509b1d0fdb20a7c02bbd8bea7305462b9f8125b1e88309847f066f6f85d6f68a85ec10345351a23a3aaf07f38af8c952a7bceca70bd2af7ad58509019050837f1274e649a32ed355a31a6ed69724e1adade857e86eb5c3a121bcd147943203c88309847f0cc57cdbb08507d62bf67a4493cc262fb6c09d557013fff1f573f431221f8ff985090191508092507f0e1cd91edd2cfa2cceb85483b887a9be8164163e75a8a00eb0b589cc70214e7d830192507f2e1eac0f2bfdfd63c951f61477e3698999774f19854d00f588d324601cebe2f982019150838384099050838385838409099250837f2b9d4b4110c9ae997782e1509b1d0fdb20a7c02bbd8bea7305462b9f8125b1e88309847f066f6f85d6f68a85ec10345351a23a3aaf07f38af8c952a7bceca70bd2af7ad58509019050837f1274e649a32ed355a31a6ed69724e1adade857e86eb5c3a121bcd147943203c88309847f0cc57cdbb08507d62bf67a4493cc262fb6c09d557013fff1f573f431221f8ff985090191508092507f0cbfa95f37fb74060c76158e769d6d157345784d8efdb33c23d748115b500b83830192507f08f05b3be923ed44d65ad49d8a61e9a676d991e3a77513d9980c232dfa4a4f8482019150838384099050838385838409099250837f2b9d4b4110c9ae997782e1509b1d0fdb20a7c02bbd8bea7305462b9f8125b1e88309847f066f6f85d6f68a85ec10345351a23a3aaf07f38af8c952a7bceca70bd2af7ad58509019050837f1274e649a32ed355a31a6ed69724e1adade857e86eb5c3a121bcd147943203c88309847f0cc57cdbb08507d62bf67a4493cc262fb6c09d557013fff1f573f431221f8ff985090191508092507f22719e2a070bcd0852bf8e21984d0443e7284925dc0758a325a2dd510c047ef6830192507f041f596a9ee1cb2bc060f7fcc3a1ab4c7bdbf036119982c0f41f62b2f26830c082019150838384099050838385838409099250837f2b9d4b4110c9ae997782e1509b1d0fdb20a7c02bbd8bea7305462b9f8125b1e88309847f066f6f85d6f68a85ec10345351a23a3aaf07f38af8c952a7bceca70bd2af7ad58509019050837f1274e649a32ed355a31a6ed69724e1adade857e86eb5c3a121bcd147943203c88309847f0cc57cdbb08507d62bf67a4493cc262fb6c09d557013fff1f573f431221f8ff985090191508092507f233fd35de1be520a87628eb06f6b1d4c021be1c2d0dc464a19fcdd0986b10f89830192507f0524b46d1aa87a5e4325e0a423ebc810d31e078aa1b4707eefcb453c61c9c26782019150838384099050838385838409099250837f2b9d4b4110c9ae997782e1509b1d0fdb20a7c02bbd8bea7305462b9f8125b1e88309847f066f6f85d6f68a85ec10345351a23a3aaf07f38af8c952a7bceca70bd2af7ad58509019050837f1274e649a32ed355a31a6ed69724e1adade857e86eb5c3a121bcd147943203c88309847f0cc57cdbb08507d62bf67a4493cc262fb6c09d557013fff1f573f431221f8ff985090191508092507f2c34f424c81e5716ce47fcac894b85824227bb954b0f3199cc4486237c515211830192507f0b5f2a4b63387819207effc2b5541fb72dd2025b5457cc97f33010327de4915e82019150838384099050838385838409099250837f2b9d4b4110c9ae997782e1509b1d0fdb20a7c02bbd8bea7305462b9f8125b1e88309847f066f6f85d6f68a85ec10345351a23a3aaf07f38af8c952a7bceca70bd2af7ad58509019050837f1274e649a32ed355a31a6ed69724e1adade857e86eb5c3a121bcd147943203c88309847f0cc57cdbb08507d62bf67a4493cc262fb6c09d557013fff1f573f431221f8ff985090191508092507f22207856082ccc54c5b72fe439d2cfd6c17435d2f57af6ceaefac41fe05c659f830192507f24d57a8bf5da63fe4e24159b7f8950b5cdfb210194caf79f27854048ce2c817182019150838384099050838385838409099250837f2b9d4b4110c9ae997782e1509b1d0fdb20a7c02bbd8bea7305462b9f8125b1e88309847f066f6f85d6f68a85ec10345351a23a3aaf07f38af8c952a7bceca70bd2af7ad58509019050837f1274e649a32ed355a31a6ed69724e1adade857e86eb5c3a121bcd147943203c88309847f0cc57cdbb08507d62bf67a4493cc262fb6c09d557013fff1f573f431221f8ff985090191508092507f0afab181fdd5e0583b371d75bd693f98374ad7097bb01a8573919bb23b79396e830192507f2dba9b108f208772998a52efac7cbd5676c0057194c16c0bf16290d62b1128ee82019150838384099050838385838409099250837f2b9d4b4110c9ae997782e1509b1d0fdb20a7c02bbd8bea7305462b9f8125b1e88309847f066f6f85d6f68a85ec10345351a23a3aaf07f38af8c952a7bceca70bd2af7ad58509019050837f1274e649a32ed355a31a6ed69724e1adade857e86eb5c3a121bcd147943203c88309847f0cc57cdbb08507d62bf67a4493cc262fb6c09d557013fff1f573f431221f8ff985090191508092507f26349b66edb8b16f56f881c788f53f83cbb83de0bd592b255aff13e6bce420b3830192507f25af7ce0e5e10357685e95f92339753ad81a56d28ecc193b235288a3e6f137db82019150838384099050838385838409099250837f2b9d4b4110c9ae997782e1509b1d0fdb20a7c02bbd8bea7305462b9f8125b1e88309847f066f6f85d6f68a85ec10345351a23a3aaf07f38af8c952a7bceca70bd2af7ad58509019050837f1274e649a32ed355a31a6ed69724e1adade857e86eb5c3a121bcd147943203c88309847f0cc57cdbb08507d62bf67a4493cc262fb6c09d557013fff1f573f431221f8ff985090191508092507f25b4ce7bd2294390c094d6a55edd68b970eed7aae88b2bff1f7c0187fe35011f830192507f22c543f10f6c89ec387e53f1908a88e5de9cef28ebdf30b18cb9d54c1e02b63182019150838384099050838385838409099250837f2b9d4b4110c9ae997782e1509b1d0fdb20a7c02bbd8bea7305462b9f8125b1e88309847f066f6f85d6f68a85ec10345351a23a3aaf07f38af8c952a7bceca70bd2af7ad58509019050837f1274e649a32ed355a31a6ed69724e1adade857e86eb5c3a121bcd147943203c88309847f0cc57cdbb08507d62bf67a4493cc262fb6c09d557013fff1f573f431221f8ff985090191508092507f0236f93e7789c4724fc7908a9f191e1e425e906a919d7a34df668e74882f87a9830192507f29350b401166ca010e7d27e37d05da99652bdae114eb01659cb497af980c4b5282019150838384099050838385838409099250837f2b9d4b4110c9ae997782e1509b1d0fdb20a7c02bbd8bea7305462b9f8125b1e88309847f066f6f85d6f68a85ec10345351a23a3aaf07f38af8c952a7bceca70bd2af7ad58509019050837f1274e649a32ed355a31a6ed69724e1adade857e86eb5c3a121bcd147943203c88309847f0cc57cdbb08507d62bf67a4493cc262fb6c09d557013fff1f573f431221f8ff985090191508092507f0eed787d65820d3f6bd31bbab547f75a65edb75d844ebb89ee1260916652363f830192507f07cc1170f13b46f2036a753f520b3291fdcd0e99bd94297d1906f656f4de6fad82019150838384099050838385838409099250837f2b9d4b4110c9ae997782e1509b1d0fdb20a7c02bbd8bea7305462b9f8125b1e88309847f066f6f85d6f68a85ec10345351a23a3aaf07f38af8c952a7bceca70bd2af7ad58509019050837f1274e649a32ed355a31a6ed69724e1adade857e86eb5c3a121bcd147943203c88309847f0cc57cdbb08507d62bf67a4493cc262fb6c09d557013fff1f573f431221f8ff985090191508092507f22b939233b1d7205f49bcf613a3d30b1908786d7f9f5d10c2059435689e8acea830192507f01451762a0aab81c8aad1dc8bc33e870740f083a5aa85438add650ace60ae5a682019150838384099050838385838409099250837f2b9d4b4110c9ae997782e1509b1d0fdb20a7c02bbd8bea7305462b9f8125b1e88309847f066f6f85d6f68a85ec10345351a23a3aaf07f38af8c952a7bceca70bd2af7ad58509019050837f1274e649a32ed355a31a6ed69724e1adade857e86eb5c3a121bcd147943203c88309847f0cc57cdbb08507d62bf67a4493cc262fb6c09d557013fff1f573f431221f8ff985090191508092507f23506bb5d8727d4461fabf1025d46d1fe32eaa61dec7da57e704fec0892fce89830192507f2e484c44e838aea0bac06ae3f71bdd092a3709531e1efea97f8bd6890735552282019150838384099050838385838409099250837f2b9d4b4110c9ae997782e1509b1d0fdb20a7c02bbd8bea7305462b9f8125b1e88309847f066f6f85d6f68a85ec10345351a23a3aaf07f38af8c952a7bceca70bd2af7ad58509019050837f1274e649a32ed355a31a6ed69724e1adade857e86eb5c3a121bcd147943203c88309847f0cc57cdbb08507d62bf67a4493cc262fb6c09d557013fff1f573f431221f8ff985090191508092507f0f4bc7d07ebafd64379e78c50bd2e42baf4a594545cedc2545418da26835b54c830192507f1f4d3c8f6583e9e5fa76637862faaee851582388725df460e620996d50d8e74e82019150838384099050838385838409099250837f2b9d4b4110c9ae997782e1509b1d0fdb20a7c02bbd8bea7305462b9f8125b1e88309847f066f6f85d6f68a85ec10345351a23a3aaf07f38af8c952a7bceca70bd2af7ad58509019050837f1274e649a32ed355a31a6ed69724e1adade857e86eb5c3a121bcd147943203c88309847f0cc57cdbb08507d62bf67a4493cc262fb6c09d557013fff1f573f431221f8ff985090191508092507f093514e0c70711f82660d07be0e4a988fae02abc7b681d9153eb9bcb48fe7389830192507f1adab0c8e2b3bad346699a2b5f3bc03643ee83ece47228f24a58e0a347e153d882019150838384099050838385838409099250837f2b9d4b4110c9ae997782e1509b1d0fdb20a7c02bbd8bea7305462b9f8125b1e88309847f066f6f85d6f68a85ec10345351a23a3aaf07f38af8c952a7bceca70bd2af7ad58509019050837f1274e649a32ed355a31a6ed69724e1adade857e86eb5c3a121bcd147943203c88309847f0cc57cdbb08507d62bf67a4493cc262fb6c09d557013fff1f573f431221f8ff985090191508092507f1672b1726057d99dd14709ebb474641a378c1b94b8072bac1a22dbef9e80dad2830192507f1dfd53d4576af2e38f44f53fdcab468cc5d8e2fae0acc4ee30d47b239b479c1482019150838384099050838385838409099250837f2b9d4b4110c9ae997782e1509b1d0fdb20a7c02bbd8bea7305462b9f8125b1e88309847f066f6f85d6f68a85ec10345351a23a3aaf07f38af8c952a7bceca70bd2af7ad58509019050837f1274e649a32ed355a31a6ed69724e1adade857e86eb5c3a121bcd147943203c88309847f0cc57cdbb08507d62bf67a4493cc262fb6c09d557013fff1f573f431221f8ff985090191508092507f0c6888a10b75b0f3a70a36263a37e17fe6d77d640f6fc3debc7f207753205c60830192507f1addb933a65be77092b34a7e77d12fe8611a61e00ee6848b85091ecca9d1e50882019150838384099050838385838409099250837f2b9d4b4110c9ae997782e1509b1d0fdb20a7c02bbd8bea7305462b9f8125b1e88309847f066f6f85d6f68a85ec10345351a23a3aaf07f38af8c952a7bceca70bd2af7ad58509019050837f1274e649a32ed355a31a6ed69724e1adade857e86eb5c3a121bcd147943203c88309847f0cc57cdbb08507d62bf67a4493cc262fb6c09d557013fff1f573f431221f8ff985090191508092507ed7540dcd268a845c10ae18d1de933cf638ff5425f0afff7935628e299d1791830192507f140c0e42687e9ead01b2827a5664ca9c26fedde4acd99db1d316939d20b82c0e82019150838384099050838385838409099250837f2b9d4b4110c9ae997782e1509b1d0fdb20a7c02bbd8bea7305462b9f8125b1e88309847f066f6f85d6f68a85ec10345351a23a3aaf07f38af8c952a7bceca70bd2af7ad58509019050837f1274e649a32ed355a31a6ed69724e1adade857e86eb5c3a121bcd147943203c88309847f0cc57cdbb08507d62bf67a4493cc262fb6c09d557013fff1f573f431221f8ff985090191508092507f2f0c3a115d4317d191ba89b8d13d1806c20a0f9b24f8c5edc091e2ae56565984830192507f0c4ee778ff7c14553006ed220cf9c81008a0cff670b22b82d8c538a1dc958c6182019150838384099050838385838409099250837f2b9d4b4110c9ae997782e1509b1d0fdb20a7c02bbd8bea7305462b9f8125b1e88309847f066f6f85d6f68a85ec10345351a23a3aaf07f38af8c952a7bceca70bd2af7ad58509019050837f1274e649a32ed355a31a6ed69724e1adade857e86eb5c3a121bcd147943203c88309847f0cc57cdbb08507d62bf67a4493cc262fb6c09d557013fff1f573f431221f8ff985090191508092507f1704f2766d46f82c3693f00440ccc3609424ed26c0acc66227c3d7485de74c69830192507f2f2d19cc3ea5d78ea7a02c1b51d244abf0769c9f8544e40239b66fe9009c3cfa82019150838384099050838385838409099250837f2b9d4b4110c9ae997782e1509b1d0fdb20a7c02bbd8bea7305462b9f8125b1e88309847f066f6f85d6f68a85ec10345351a23a3aaf07f38af8c952a7bceca70bd2af7ad58509019050837f1274e649a32ed355a31a6ed69724e1adade857e86eb5c3a121bcd147943203c88309847f0cc57cdbb08507d62bf67a4493cc262fb6c09d557013fff1f573f431221f8ff985090191508092507f1ae03853b75fcaba5053f112e2a8e8dcdd7ee6cb9cfed9c7d6c766a806fc6629830192507f0971aabf795241df51d131d0fa61aa5f3556921b2d6f014e4e41a86ddaf056d582019150838384099050838385838409099250838283099050838285838409099150837f2b9d4b4110c9ae997782e1509b1d0fdb20a7c02bbd8bea7305462b9f8125b1e88309847f066f6f85d6f68a85ec10345351a23a3aaf07f38af8c952a7bceca70bd2af7ad58509019050837f1274e649a32ed355a31a6ed69724e1adade857e86eb5c3a121bcd147943203c88309847f0cc57cdbb08507d62bf67a4493cc262fb6c09d557013fff1f573f431221f8ff985090191508092507f1408c316e6014e1a91d4cf6b6e0de73eda624f8380df1c875f5c29f7bfe2f646830192507f1667f3fe2edbe850248abe42b543093b6c89f1f773ef285341691f39822ef5bd82019150838384099050838385838409099250838283099050838285838409099150837f2b9d4b4110c9ae997782e1509b1d0fdb20a7c02bbd8bea7305462b9f8125b1e88309847f066f6f85d6f68a85ec10345351a23a3aaf07f38af8c952a7bceca70bd2af7ad58509019050837f1274e649a32ed355a31a6ed69724e1adade857e86eb5c3a121bcd147943203c88309847f0cc57cdbb08507d62bf67a4493cc262fb6c09d557013fff1f573f431221f8ff985090191508092507f13bf7c5d0d2c4376a48b0a03557cdf915b81718409e5c133424c69576500fe37830192507f07620a6dfb0b6cec3016adf3d3533c24024b95347856b79719bc0ba743a62c2c82019150838384099050838385838409099250838283099050838285838409099150837f2b9d4b4110c9ae997782e1509b1d0fdb20a7c02bbd8bea7305462b9f8125b1e88309847f066f6f85d6f68a85ec10345351a23a3aaf07f38af8c952a7bceca70bd2af7ad58509019050837f1274e649a32ed355a31a6ed69724e1adade857e86eb5c3a121bcd147943203c88309847f0cc57cdbb08507d62bf67a4493cc262fb6c09d557013fff1f573f431221f8ff985090191508092507f1574c7ef0c43545f36a8ca08bdbdd8b075d2959e2f322b731675de3e1982b4d0830192507f269e4b5b7a2eb21afd567970a717ceec5bd4184571c254fdc06e03a7ff8378f08201915083838409905083838583840909925083828309905083828583840909915083847f2b9d4b4110c9ae997782e1509b1d0fdb20a7c02bbd8bea7305462b9f8125b1e88409857f066f6f85d6f68a85ec10345351a23a3aaf07f38af8c952a7bceca70bd2af7ad586090106925082945050505050919050565b6000819050919050565b613db681613da3565b82525050565b6000602082019050613dd16000830184613dad565b92915050565b600080fd5b613de581613da3565b8114613df057600080fd5b50565b600081359050613e0281613ddc565b92915050565b600060208284031215613e1e57613e1d613dd7565b5b6000613e2c84828501613df3565b9150509291505056fea2646970667358221220700855575bbd5c3e59d835440eff422fb5b41dd58c929b69cdd0810bfdff020964736f6c634300080f0033", - "deployedBytecode": "0x608060405234801561001057600080fd5b50600436106100365760003560e01c80632c159a1a1461003b578063b189fd4c14610059575b600080fd5b610043610089565b6040516100509190613dbc565b60405180910390f35b610073600480360381019061006e9190613e08565b610098565b6040516100809190613dbc565b60405180910390f35b60006100936100aa565b905090565b60006100a3826100d2565b9050919050565b60007f2a09a9fd93c590c26b91effbb2499f07e8f7aa12e2b4940a3aed2411cb65e11c905090565b60007f30644e72e131a029b85045b68181585d2833e84879b9709143e1f593f00000017f09c46e9ec68e9bd4fe1faaba294cba38a71aa177534cdd1b6c7dc0dbd0abd7a77f0c0356530896eec42a97ed937f3135cfc5142b3ae405b8343c1d83ffa604cb81840182828309838385838409099250838283099050838285838409099150837f2b9d4b4110c9ae997782e1509b1d0fdb20a7c02bbd8bea7305462b9f8125b1e88309847f066f6f85d6f68a85ec10345351a23a3aaf07f38af8c952a7bceca70bd2af7ad58509019050837f1274e649a32ed355a31a6ed69724e1adade857e86eb5c3a121bcd147943203c88309847f0cc57cdbb08507d62bf67a4493cc262fb6c09d557013fff1f573f431221f8ff985090191508092507f1e28a1d935698ad1142e51182bb54cf4a00ea5aabd6268bd317ea977cc154a30830192507f27af2d831a9d2748080965db30e298e40e5757c3e008db964cf9e2b12b91251f82019150838384099050838385838409099250838283099050838285838409099150837f2b9d4b4110c9ae997782e1509b1d0fdb20a7c02bbd8bea7305462b9f8125b1e88309847f066f6f85d6f68a85ec10345351a23a3aaf07f38af8c952a7bceca70bd2af7ad58509019050837f1274e649a32ed355a31a6ed69724e1adade857e86eb5c3a121bcd147943203c88309847f0cc57cdbb08507d62bf67a4493cc262fb6c09d557013fff1f573f431221f8ff985090191508092507f1e6f11ce60fc8f513a6a3cfe16ae175a41291462f214cd0879aaf43545b74e03830192507f2a67384d3bbd5e438541819cb681f0be04462ed14c3613d8f719206268d142d382019150838384099050838385838409099250838283099050838285838409099150837f2b9d4b4110c9ae997782e1509b1d0fdb20a7c02bbd8bea7305462b9f8125b1e88309847f066f6f85d6f68a85ec10345351a23a3aaf07f38af8c952a7bceca70bd2af7ad58509019050837f1274e649a32ed355a31a6ed69724e1adade857e86eb5c3a121bcd147943203c88309847f0cc57cdbb08507d62bf67a4493cc262fb6c09d557013fff1f573f431221f8ff985090191508092507f0b66fdf356093a611609f8e12fbfecf0b985e381f025188936408f5d5c9f45d0830192507f012ee3ec1e78d470830c61093c2ade370b26c83cc5cebeeddaa6852dbdb09e2182019150838384099050838385838409099250838283099050838285838409099150837f2b9d4b4110c9ae997782e1509b1d0fdb20a7c02bbd8bea7305462b9f8125b1e88309847f066f6f85d6f68a85ec10345351a23a3aaf07f38af8c952a7bceca70bd2af7ad58509019050837f1274e649a32ed355a31a6ed69724e1adade857e86eb5c3a121bcd147943203c88309847f0cc57cdbb08507d62bf67a4493cc262fb6c09d557013fff1f573f431221f8ff985090191508092507f0252ba5f6760bfbdfd88f67f8175e3fd6cd1c431b099b6bb2d108e7b445bb1b9830192507f179474cceca5ff676c6bec3cef54296354391a8935ff71d6ef5aeaad7ca932f182019150838384099050838385838409099250837f2b9d4b4110c9ae997782e1509b1d0fdb20a7c02bbd8bea7305462b9f8125b1e88309847f066f6f85d6f68a85ec10345351a23a3aaf07f38af8c952a7bceca70bd2af7ad58509019050837f1274e649a32ed355a31a6ed69724e1adade857e86eb5c3a121bcd147943203c88309847f0cc57cdbb08507d62bf67a4493cc262fb6c09d557013fff1f573f431221f8ff985090191508092507f2c24261379a51bfa9228ff4a503fd4ed9c1f974a264969b37e1a2589bbed2b91830192507f1cc1d7b62692e63eac2f288bd0695b43c2f63f5001fc0fc553e66c0551801b0582019150838384099050838385838409099250837f2b9d4b4110c9ae997782e1509b1d0fdb20a7c02bbd8bea7305462b9f8125b1e88309847f066f6f85d6f68a85ec10345351a23a3aaf07f38af8c952a7bceca70bd2af7ad58509019050837f1274e649a32ed355a31a6ed69724e1adade857e86eb5c3a121bcd147943203c88309847f0cc57cdbb08507d62bf67a4493cc262fb6c09d557013fff1f573f431221f8ff985090191508092507f255059301aada98bb2ed55f852979e9600784dbf17fbacd05d9eff5fd9c91b56830192507f28437be3ac1cb2e479e1f5c0eccd32b3aea24234970a8193b11c29ce7e59efd982019150838384099050838385838409099250837f2b9d4b4110c9ae997782e1509b1d0fdb20a7c02bbd8bea7305462b9f8125b1e88309847f066f6f85d6f68a85ec10345351a23a3aaf07f38af8c952a7bceca70bd2af7ad58509019050837f1274e649a32ed355a31a6ed69724e1adade857e86eb5c3a121bcd147943203c88309847f0cc57cdbb08507d62bf67a4493cc262fb6c09d557013fff1f573f431221f8ff985090191508092507f28216a442f2e1f711ca4fa6b53766eb118548da8fb4f78d4338762c37f5f2043830192507f2c1f47cd17fa5adf1f39f4e7056dd03feee1efce03094581131f2377323482c982019150838384099050838385838409099250837f2b9d4b4110c9ae997782e1509b1d0fdb20a7c02bbd8bea7305462b9f8125b1e88309847f066f6f85d6f68a85ec10345351a23a3aaf07f38af8c952a7bceca70bd2af7ad58509019050837f1274e649a32ed355a31a6ed69724e1adade857e86eb5c3a121bcd147943203c88309847f0cc57cdbb08507d62bf67a4493cc262fb6c09d557013fff1f573f431221f8ff985090191508092507f07abad02b7a5ebc48632bcc9356ceb7dd9dafca276638a63646b8566a621afc9830192507f0230264601ffdf29275b33ffaab51dfe9429f90880a69cd137da0c4d15f96c3c82019150838384099050838385838409099250837f2b9d4b4110c9ae997782e1509b1d0fdb20a7c02bbd8bea7305462b9f8125b1e88309847f066f6f85d6f68a85ec10345351a23a3aaf07f38af8c952a7bceca70bd2af7ad58509019050837f1274e649a32ed355a31a6ed69724e1adade857e86eb5c3a121bcd147943203c88309847f0cc57cdbb08507d62bf67a4493cc262fb6c09d557013fff1f573f431221f8ff985090191508092507f1bc973054e51d905a0f168656497ca40a864414557ee289e717e5d66899aa0a9830192507f2e1c22f964435008206c3157e86341edd249aff5c2d8421f2a6b22288f0a67fc82019150838384099050838385838409099250837f2b9d4b4110c9ae997782e1509b1d0fdb20a7c02bbd8bea7305462b9f8125b1e88309847f066f6f85d6f68a85ec10345351a23a3aaf07f38af8c952a7bceca70bd2af7ad58509019050837f1274e649a32ed355a31a6ed69724e1adade857e86eb5c3a121bcd147943203c88309847f0cc57cdbb08507d62bf67a4493cc262fb6c09d557013fff1f573f431221f8ff985090191508092507f1224f38df67c5378121c1d5f461bbc509e8ea1598e46c9f7a70452bc2bba86b8830192507f02e4e69d8ba59e519280b4bd9ed0068fd7bfe8cd9dfeda1969d2989186cde20e82019150838384099050838385838409099250837f2b9d4b4110c9ae997782e1509b1d0fdb20a7c02bbd8bea7305462b9f8125b1e88309847f066f6f85d6f68a85ec10345351a23a3aaf07f38af8c952a7bceca70bd2af7ad58509019050837f1274e649a32ed355a31a6ed69724e1adade857e86eb5c3a121bcd147943203c88309847f0cc57cdbb08507d62bf67a4493cc262fb6c09d557013fff1f573f431221f8ff985090191508092507f1f1eccc34aaba0137f5df81fc04ff3ee4f19ee364e653f076d47e9735d98018e830192507f1672ad3d709a353974266c3039a9a7311424448032cd1819eacb8a4d4284f58282019150838384099050838385838409099250837f2b9d4b4110c9ae997782e1509b1d0fdb20a7c02bbd8bea7305462b9f8125b1e88309847f066f6f85d6f68a85ec10345351a23a3aaf07f38af8c952a7bceca70bd2af7ad58509019050837f1274e649a32ed355a31a6ed69724e1adade857e86eb5c3a121bcd147943203c88309847f0cc57cdbb08507d62bf67a4493cc262fb6c09d557013fff1f573f431221f8ff985090191508092507f283e3fdc2c6e420c56f44af5192b4ae9cda6961f284d24991d2ed602df8c8fc7830192507f1c2a3d120c550ecfd0db0957170fa013683751f8fdff59d6614fbd69ff394bcc82019150838384099050838385838409099250837f2b9d4b4110c9ae997782e1509b1d0fdb20a7c02bbd8bea7305462b9f8125b1e88309847f066f6f85d6f68a85ec10345351a23a3aaf07f38af8c952a7bceca70bd2af7ad58509019050837f1274e649a32ed355a31a6ed69724e1adade857e86eb5c3a121bcd147943203c88309847f0cc57cdbb08507d62bf67a4493cc262fb6c09d557013fff1f573f431221f8ff985090191508092507f216f84877aac6172f7897a7323456efe143a9a43773ea6f296cb6b8177653fbd830192507f2c0d272becf2a75764ba7e8e3e28d12bceaa47ea61ca59a411a1f51552f9478882019150838384099050838385838409099250837f2b9d4b4110c9ae997782e1509b1d0fdb20a7c02bbd8bea7305462b9f8125b1e88309847f066f6f85d6f68a85ec10345351a23a3aaf07f38af8c952a7bceca70bd2af7ad58509019050837f1274e649a32ed355a31a6ed69724e1adade857e86eb5c3a121bcd147943203c88309847f0cc57cdbb08507d62bf67a4493cc262fb6c09d557013fff1f573f431221f8ff985090191508092507f16e34299865c0e28484ee7a74c454e9f170a5480abe0508fcb4a6c3d89546f43830192507f175ceba599e96f5b375a232a6fb9cc71772047765802290f48cd939755488fc582019150838384099050838385838409099250837f2b9d4b4110c9ae997782e1509b1d0fdb20a7c02bbd8bea7305462b9f8125b1e88309847f066f6f85d6f68a85ec10345351a23a3aaf07f38af8c952a7bceca70bd2af7ad58509019050837f1274e649a32ed355a31a6ed69724e1adade857e86eb5c3a121bcd147943203c88309847f0cc57cdbb08507d62bf67a4493cc262fb6c09d557013fff1f573f431221f8ff985090191508092507f0c7594440dc48c16fead9e1758b028066aa410bfbc354f54d8c5ffbb44a1ee32830192507f1a3c29bc39f21bb5c466db7d7eb6fd8f760e20013ccf912c92479882d919fd8d82019150838384099050838385838409099250837f2b9d4b4110c9ae997782e1509b1d0fdb20a7c02bbd8bea7305462b9f8125b1e88309847f066f6f85d6f68a85ec10345351a23a3aaf07f38af8c952a7bceca70bd2af7ad58509019050837f1274e649a32ed355a31a6ed69724e1adade857e86eb5c3a121bcd147943203c88309847f0cc57cdbb08507d62bf67a4493cc262fb6c09d557013fff1f573f431221f8ff985090191508092507f0ccfdd906f3426e5c0986ea049b253400855d349074f5a6695c8eeabcd22e68f830192507f14f6bc81d9f186f62bdb475ce6c9411866a7a8a3fd065b3ce0e699b67dd9e79682019150838384099050838385838409099250837f2b9d4b4110c9ae997782e1509b1d0fdb20a7c02bbd8bea7305462b9f8125b1e88309847f066f6f85d6f68a85ec10345351a23a3aaf07f38af8c952a7bceca70bd2af7ad58509019050837f1274e649a32ed355a31a6ed69724e1adade857e86eb5c3a121bcd147943203c88309847f0cc57cdbb08507d62bf67a4493cc262fb6c09d557013fff1f573f431221f8ff985090191508092507f0962b82789fb3d129702ca70b2f6c5aacc099810c9c495c888edeb7386b97052830192507f1a880af7074d18b3bf20c79de25127bc13284ab01ef02575afef0c8f6a31a86d82019150838384099050838385838409099250837f2b9d4b4110c9ae997782e1509b1d0fdb20a7c02bbd8bea7305462b9f8125b1e88309847f066f6f85d6f68a85ec10345351a23a3aaf07f38af8c952a7bceca70bd2af7ad58509019050837f1274e649a32ed355a31a6ed69724e1adade857e86eb5c3a121bcd147943203c88309847f0cc57cdbb08507d62bf67a4493cc262fb6c09d557013fff1f573f431221f8ff985090191508092507f10cba18419a6a332cd5e77f0211c154b20af2924fc20ff3f4c3012bb7ae9311b830192507f057e62a9a8f89b3ebdc76ba63a9eaca8fa27b7319cae3406756a2849f302f10d82019150838384099050838385838409099250837f2b9d4b4110c9ae997782e1509b1d0fdb20a7c02bbd8bea7305462b9f8125b1e88309847f066f6f85d6f68a85ec10345351a23a3aaf07f38af8c952a7bceca70bd2af7ad58509019050837f1274e649a32ed355a31a6ed69724e1adade857e86eb5c3a121bcd147943203c88309847f0cc57cdbb08507d62bf67a4493cc262fb6c09d557013fff1f573f431221f8ff985090191508092507f287c971de91dc0abd44adf5384b4988cb961303bbf65cff5afa0413b44280cee830192507f21df3388af1687bbb3bca9da0cca908f1e562bc46d4aba4e6f7f7960e306891d82019150838384099050838385838409099250837f2b9d4b4110c9ae997782e1509b1d0fdb20a7c02bbd8bea7305462b9f8125b1e88309847f066f6f85d6f68a85ec10345351a23a3aaf07f38af8c952a7bceca70bd2af7ad58509019050837f1274e649a32ed355a31a6ed69724e1adade857e86eb5c3a121bcd147943203c88309847f0cc57cdbb08507d62bf67a4493cc262fb6c09d557013fff1f573f431221f8ff985090191508092507f1be5c887d25bce703e25cc974d0934cd789df8f70b498fd83eff8b560e1682b3830192507f268da36f76e568fb68117175cea2cd0dd2cb5d42fda5acea48d59c2706a0d5c182019150838384099050838385838409099250837f2b9d4b4110c9ae997782e1509b1d0fdb20a7c02bbd8bea7305462b9f8125b1e88309847f066f6f85d6f68a85ec10345351a23a3aaf07f38af8c952a7bceca70bd2af7ad58509019050837f1274e649a32ed355a31a6ed69724e1adade857e86eb5c3a121bcd147943203c88309847f0cc57cdbb08507d62bf67a4493cc262fb6c09d557013fff1f573f431221f8ff985090191508092507f0e17ab091f6eae50c609beaf5510ececc5d8bb74135ebd05bd06460cc26a5ed6830192507f04d727e728ffa0a67aee535ab074a43091ef62d8cf83d270040f5caa1f62af4082019150838384099050838385838409099250837f2b9d4b4110c9ae997782e1509b1d0fdb20a7c02bbd8bea7305462b9f8125b1e88309847f066f6f85d6f68a85ec10345351a23a3aaf07f38af8c952a7bceca70bd2af7ad58509019050837f1274e649a32ed355a31a6ed69724e1adade857e86eb5c3a121bcd147943203c88309847f0cc57cdbb08507d62bf67a4493cc262fb6c09d557013fff1f573f431221f8ff985090191508092507f0ddbd7bf9c29341581b549762bc022ed33702ac10f1bfd862b15417d7e39ca6e830192507f2790eb3351621752768162e82989c6c234f5b0d1d3af9b588a29c49c8789654b82019150838384099050838385838409099250837f2b9d4b4110c9ae997782e1509b1d0fdb20a7c02bbd8bea7305462b9f8125b1e88309847f066f6f85d6f68a85ec10345351a23a3aaf07f38af8c952a7bceca70bd2af7ad58509019050837f1274e649a32ed355a31a6ed69724e1adade857e86eb5c3a121bcd147943203c88309847f0cc57cdbb08507d62bf67a4493cc262fb6c09d557013fff1f573f431221f8ff985090191508092507f1e457c601a63b73e4471950193d8a570395f3d9ab8b2fd0984b764206142f9e9830192507f21ae64301dca9625638d6ab2bbe7135ffa90ecd0c43ff91fc4c686fc46e091b082019150838384099050838385838409099250837f2b9d4b4110c9ae997782e1509b1d0fdb20a7c02bbd8bea7305462b9f8125b1e88309847f066f6f85d6f68a85ec10345351a23a3aaf07f38af8c952a7bceca70bd2af7ad58509019050837f1274e649a32ed355a31a6ed69724e1adade857e86eb5c3a121bcd147943203c88309847f0cc57cdbb08507d62bf67a4493cc262fb6c09d557013fff1f573f431221f8ff985090191508092507f0379f63c8ce3468d4da293166f494928854be9e3432e09555858534eed8d350b830192507e2d56420359d0266a744a080809e054ca0e4921a46686ac8c9f58a324c3504982019150838384099050838385838409099250837f2b9d4b4110c9ae997782e1509b1d0fdb20a7c02bbd8bea7305462b9f8125b1e88309847f066f6f85d6f68a85ec10345351a23a3aaf07f38af8c952a7bceca70bd2af7ad58509019050837f1274e649a32ed355a31a6ed69724e1adade857e86eb5c3a121bcd147943203c88309847f0cc57cdbb08507d62bf67a4493cc262fb6c09d557013fff1f573f431221f8ff985090191508092507f123158e5965b5d9b1d68b3cd32e10bbeda8d62459e21f4090fc2c5af963515a6830192507f0be29fc40847a941661d14bbf6cbe0420fbb2b6f52836d4e60c80eb49cad9ec182019150838384099050838385838409099250837f2b9d4b4110c9ae997782e1509b1d0fdb20a7c02bbd8bea7305462b9f8125b1e88309847f066f6f85d6f68a85ec10345351a23a3aaf07f38af8c952a7bceca70bd2af7ad58509019050837f1274e649a32ed355a31a6ed69724e1adade857e86eb5c3a121bcd147943203c88309847f0cc57cdbb08507d62bf67a4493cc262fb6c09d557013fff1f573f431221f8ff985090191508092507f1ac96991dec2bb0557716142015a453c36db9d859cad5f9a233802f24fdf4c1a830192507f1596443f763dbcc25f4964fc61d23b3e5e12c9fa97f18a9251ca3355bcb0627e82019150838384099050838385838409099250837f2b9d4b4110c9ae997782e1509b1d0fdb20a7c02bbd8bea7305462b9f8125b1e88309847f066f6f85d6f68a85ec10345351a23a3aaf07f38af8c952a7bceca70bd2af7ad58509019050837f1274e649a32ed355a31a6ed69724e1adade857e86eb5c3a121bcd147943203c88309847f0cc57cdbb08507d62bf67a4493cc262fb6c09d557013fff1f573f431221f8ff985090191508092507f12e0bcd3654bdfa76b2861d4ec3aeae0f1857d9f17e715aed6d049eae3ba3212830192507f0fc92b4f1bbea82b9ea73d4af9af2a50ceabac7f37154b1904e6c76c7cf964ba82019150838384099050838385838409099250837f2b9d4b4110c9ae997782e1509b1d0fdb20a7c02bbd8bea7305462b9f8125b1e88309847f066f6f85d6f68a85ec10345351a23a3aaf07f38af8c952a7bceca70bd2af7ad58509019050837f1274e649a32ed355a31a6ed69724e1adade857e86eb5c3a121bcd147943203c88309847f0cc57cdbb08507d62bf67a4493cc262fb6c09d557013fff1f573f431221f8ff985090191508092507f1f9c0b1610446442d6f2e592a8013f40b14f7c7722236f4f9c7e965233872762830192507f0ebd74244ae72675f8cde06157a782f4050d914da38b4c058d159f643dbbf4d382019150838384099050838385838409099250837f2b9d4b4110c9ae997782e1509b1d0fdb20a7c02bbd8bea7305462b9f8125b1e88309847f066f6f85d6f68a85ec10345351a23a3aaf07f38af8c952a7bceca70bd2af7ad58509019050837f1274e649a32ed355a31a6ed69724e1adade857e86eb5c3a121bcd147943203c88309847f0cc57cdbb08507d62bf67a4493cc262fb6c09d557013fff1f573f431221f8ff985090191508092507f2cb7f0ed39e16e9f69a9fafd4ab951c03b0671e97346ee397a839839dccfc6d1830192507f1a9d6e2ecff022cc5605443ee41bab20ce761d0514ce526690c72bca7352d9bf82019150838384099050838385838409099250837f2b9d4b4110c9ae997782e1509b1d0fdb20a7c02bbd8bea7305462b9f8125b1e88309847f066f6f85d6f68a85ec10345351a23a3aaf07f38af8c952a7bceca70bd2af7ad58509019050837f1274e649a32ed355a31a6ed69724e1adade857e86eb5c3a121bcd147943203c88309847f0cc57cdbb08507d62bf67a4493cc262fb6c09d557013fff1f573f431221f8ff985090191508092507f2a115439607f335a5ea83c3bc44a9331d0c13326a9a7ba3087da182d648ec72f830192507f23f9b6529b5d040d15b8fa7aee3e3410e738b56305cd44f29535c115c5a4c06082019150838384099050838385838409099250837f2b9d4b4110c9ae997782e1509b1d0fdb20a7c02bbd8bea7305462b9f8125b1e88309847f066f6f85d6f68a85ec10345351a23a3aaf07f38af8c952a7bceca70bd2af7ad58509019050837f1274e649a32ed355a31a6ed69724e1adade857e86eb5c3a121bcd147943203c88309847f0cc57cdbb08507d62bf67a4493cc262fb6c09d557013fff1f573f431221f8ff985090191508092507f05872c16db0f72a2249ac6ba484bb9c3a3ce97c16d58b68b260eb939f0e6e8a7830192507f1300bdee08bb7824ca20fb80118075f40219b6151d55b5c52b624a7cdeddf6a782019150838384099050838385838409099250837f2b9d4b4110c9ae997782e1509b1d0fdb20a7c02bbd8bea7305462b9f8125b1e88309847f066f6f85d6f68a85ec10345351a23a3aaf07f38af8c952a7bceca70bd2af7ad58509019050837f1274e649a32ed355a31a6ed69724e1adade857e86eb5c3a121bcd147943203c88309847f0cc57cdbb08507d62bf67a4493cc262fb6c09d557013fff1f573f431221f8ff985090191508092507f19b9b63d2f108e17e63817863a8f6c288d7ad29916d98cb1072e4e7b7d52b376830192507f015bee1357e3c015b5bda237668522f613d1c88726b5ec4224a20128481b4f7f82019150838384099050838385838409099250837f2b9d4b4110c9ae997782e1509b1d0fdb20a7c02bbd8bea7305462b9f8125b1e88309847f066f6f85d6f68a85ec10345351a23a3aaf07f38af8c952a7bceca70bd2af7ad58509019050837f1274e649a32ed355a31a6ed69724e1adade857e86eb5c3a121bcd147943203c88309847f0cc57cdbb08507d62bf67a4493cc262fb6c09d557013fff1f573f431221f8ff985090191508092507f2953736e94bb6b9f1b9707a4f1615e4efe1e1ce4bab218cbea92c785b128ffd1830192507f0b069353ba091618862f806180c0385f851b98d372b45f544ce7266ed6608dfc82019150838384099050838385838409099250837f2b9d4b4110c9ae997782e1509b1d0fdb20a7c02bbd8bea7305462b9f8125b1e88309847f066f6f85d6f68a85ec10345351a23a3aaf07f38af8c952a7bceca70bd2af7ad58509019050837f1274e649a32ed355a31a6ed69724e1adade857e86eb5c3a121bcd147943203c88309847f0cc57cdbb08507d62bf67a4493cc262fb6c09d557013fff1f573f431221f8ff985090191508092507f304f74d461ccc13115e4e0bcfb93817e55aeb7eb9306b64e4f588ac97d81f429830192507f15bbf146ce9bca09e8a33f5e77dfe4f5aad2a164a4617a4cb8ee5415cde913fc82019150838384099050838385838409099250837f2b9d4b4110c9ae997782e1509b1d0fdb20a7c02bbd8bea7305462b9f8125b1e88309847f066f6f85d6f68a85ec10345351a23a3aaf07f38af8c952a7bceca70bd2af7ad58509019050837f1274e649a32ed355a31a6ed69724e1adade857e86eb5c3a121bcd147943203c88309847f0cc57cdbb08507d62bf67a4493cc262fb6c09d557013fff1f573f431221f8ff985090191508092507f0ab4dfe0c2742cde44901031487964ed9b8f4b850405c10ca9ff23859572c8c6830192507f0e32db320a044e3197f45f7649a19675ef5eedfea546dea9251de39f9639779a82019150838384099050838385838409099250837f2b9d4b4110c9ae997782e1509b1d0fdb20a7c02bbd8bea7305462b9f8125b1e88309847f066f6f85d6f68a85ec10345351a23a3aaf07f38af8c952a7bceca70bd2af7ad58509019050837f1274e649a32ed355a31a6ed69724e1adade857e86eb5c3a121bcd147943203c88309847f0cc57cdbb08507d62bf67a4493cc262fb6c09d557013fff1f573f431221f8ff985090191508092507f0a1756aa1f378ca4b27635a78b6888e66797733a82774896a3078efa516da016830192507f044c4a33b10f693447fd17177f952ef895e61d328f85efa94254d6a2a25d93ef82019150838384099050838385838409099250837f2b9d4b4110c9ae997782e1509b1d0fdb20a7c02bbd8bea7305462b9f8125b1e88309847f066f6f85d6f68a85ec10345351a23a3aaf07f38af8c952a7bceca70bd2af7ad58509019050837f1274e649a32ed355a31a6ed69724e1adade857e86eb5c3a121bcd147943203c88309847f0cc57cdbb08507d62bf67a4493cc262fb6c09d557013fff1f573f431221f8ff985090191508092507f2ed3611b725b8a70be655b537f66f700fe0879d79a496891d37b07b5466c4b8b830192507f1f9ba4e8bab7ce42c8ecc3d722aa2e0eadfdeb9cfdd347b5d8339ea7120858aa82019150838384099050838385838409099250837f2b9d4b4110c9ae997782e1509b1d0fdb20a7c02bbd8bea7305462b9f8125b1e88309847f066f6f85d6f68a85ec10345351a23a3aaf07f38af8c952a7bceca70bd2af7ad58509019050837f1274e649a32ed355a31a6ed69724e1adade857e86eb5c3a121bcd147943203c88309847f0cc57cdbb08507d62bf67a4493cc262fb6c09d557013fff1f573f431221f8ff985090191508092507f1b233043052e8c288f7ee907a84e518aa38e82ac4502066db74056f865c5d3da830192507f2431e1cc164bb8d074031ab72bd55b4c902053bfc0f14db0ca2f97b02087595482019150838384099050838385838409099250837f2b9d4b4110c9ae997782e1509b1d0fdb20a7c02bbd8bea7305462b9f8125b1e88309847f066f6f85d6f68a85ec10345351a23a3aaf07f38af8c952a7bceca70bd2af7ad58509019050837f1274e649a32ed355a31a6ed69724e1adade857e86eb5c3a121bcd147943203c88309847f0cc57cdbb08507d62bf67a4493cc262fb6c09d557013fff1f573f431221f8ff985090191508092507f082f934c91f5aac330cd6953a0a7db45a13e322097583319a791f273965801fd830192507f2b9a0a223e7538b0a34be074315542a3c77245e2ae7cbe999ad6bb930c48997c82019150838384099050838385838409099250837f2b9d4b4110c9ae997782e1509b1d0fdb20a7c02bbd8bea7305462b9f8125b1e88309847f066f6f85d6f68a85ec10345351a23a3aaf07f38af8c952a7bceca70bd2af7ad58509019050837f1274e649a32ed355a31a6ed69724e1adade857e86eb5c3a121bcd147943203c88309847f0cc57cdbb08507d62bf67a4493cc262fb6c09d557013fff1f573f431221f8ff985090191508092507f0e1cd91edd2cfa2cceb85483b887a9be8164163e75a8a00eb0b589cc70214e7d830192507f2e1eac0f2bfdfd63c951f61477e3698999774f19854d00f588d324601cebe2f982019150838384099050838385838409099250837f2b9d4b4110c9ae997782e1509b1d0fdb20a7c02bbd8bea7305462b9f8125b1e88309847f066f6f85d6f68a85ec10345351a23a3aaf07f38af8c952a7bceca70bd2af7ad58509019050837f1274e649a32ed355a31a6ed69724e1adade857e86eb5c3a121bcd147943203c88309847f0cc57cdbb08507d62bf67a4493cc262fb6c09d557013fff1f573f431221f8ff985090191508092507f0cbfa95f37fb74060c76158e769d6d157345784d8efdb33c23d748115b500b83830192507f08f05b3be923ed44d65ad49d8a61e9a676d991e3a77513d9980c232dfa4a4f8482019150838384099050838385838409099250837f2b9d4b4110c9ae997782e1509b1d0fdb20a7c02bbd8bea7305462b9f8125b1e88309847f066f6f85d6f68a85ec10345351a23a3aaf07f38af8c952a7bceca70bd2af7ad58509019050837f1274e649a32ed355a31a6ed69724e1adade857e86eb5c3a121bcd147943203c88309847f0cc57cdbb08507d62bf67a4493cc262fb6c09d557013fff1f573f431221f8ff985090191508092507f22719e2a070bcd0852bf8e21984d0443e7284925dc0758a325a2dd510c047ef6830192507f041f596a9ee1cb2bc060f7fcc3a1ab4c7bdbf036119982c0f41f62b2f26830c082019150838384099050838385838409099250837f2b9d4b4110c9ae997782e1509b1d0fdb20a7c02bbd8bea7305462b9f8125b1e88309847f066f6f85d6f68a85ec10345351a23a3aaf07f38af8c952a7bceca70bd2af7ad58509019050837f1274e649a32ed355a31a6ed69724e1adade857e86eb5c3a121bcd147943203c88309847f0cc57cdbb08507d62bf67a4493cc262fb6c09d557013fff1f573f431221f8ff985090191508092507f233fd35de1be520a87628eb06f6b1d4c021be1c2d0dc464a19fcdd0986b10f89830192507f0524b46d1aa87a5e4325e0a423ebc810d31e078aa1b4707eefcb453c61c9c26782019150838384099050838385838409099250837f2b9d4b4110c9ae997782e1509b1d0fdb20a7c02bbd8bea7305462b9f8125b1e88309847f066f6f85d6f68a85ec10345351a23a3aaf07f38af8c952a7bceca70bd2af7ad58509019050837f1274e649a32ed355a31a6ed69724e1adade857e86eb5c3a121bcd147943203c88309847f0cc57cdbb08507d62bf67a4493cc262fb6c09d557013fff1f573f431221f8ff985090191508092507f2c34f424c81e5716ce47fcac894b85824227bb954b0f3199cc4486237c515211830192507f0b5f2a4b63387819207effc2b5541fb72dd2025b5457cc97f33010327de4915e82019150838384099050838385838409099250837f2b9d4b4110c9ae997782e1509b1d0fdb20a7c02bbd8bea7305462b9f8125b1e88309847f066f6f85d6f68a85ec10345351a23a3aaf07f38af8c952a7bceca70bd2af7ad58509019050837f1274e649a32ed355a31a6ed69724e1adade857e86eb5c3a121bcd147943203c88309847f0cc57cdbb08507d62bf67a4493cc262fb6c09d557013fff1f573f431221f8ff985090191508092507f22207856082ccc54c5b72fe439d2cfd6c17435d2f57af6ceaefac41fe05c659f830192507f24d57a8bf5da63fe4e24159b7f8950b5cdfb210194caf79f27854048ce2c817182019150838384099050838385838409099250837f2b9d4b4110c9ae997782e1509b1d0fdb20a7c02bbd8bea7305462b9f8125b1e88309847f066f6f85d6f68a85ec10345351a23a3aaf07f38af8c952a7bceca70bd2af7ad58509019050837f1274e649a32ed355a31a6ed69724e1adade857e86eb5c3a121bcd147943203c88309847f0cc57cdbb08507d62bf67a4493cc262fb6c09d557013fff1f573f431221f8ff985090191508092507f0afab181fdd5e0583b371d75bd693f98374ad7097bb01a8573919bb23b79396e830192507f2dba9b108f208772998a52efac7cbd5676c0057194c16c0bf16290d62b1128ee82019150838384099050838385838409099250837f2b9d4b4110c9ae997782e1509b1d0fdb20a7c02bbd8bea7305462b9f8125b1e88309847f066f6f85d6f68a85ec10345351a23a3aaf07f38af8c952a7bceca70bd2af7ad58509019050837f1274e649a32ed355a31a6ed69724e1adade857e86eb5c3a121bcd147943203c88309847f0cc57cdbb08507d62bf67a4493cc262fb6c09d557013fff1f573f431221f8ff985090191508092507f26349b66edb8b16f56f881c788f53f83cbb83de0bd592b255aff13e6bce420b3830192507f25af7ce0e5e10357685e95f92339753ad81a56d28ecc193b235288a3e6f137db82019150838384099050838385838409099250837f2b9d4b4110c9ae997782e1509b1d0fdb20a7c02bbd8bea7305462b9f8125b1e88309847f066f6f85d6f68a85ec10345351a23a3aaf07f38af8c952a7bceca70bd2af7ad58509019050837f1274e649a32ed355a31a6ed69724e1adade857e86eb5c3a121bcd147943203c88309847f0cc57cdbb08507d62bf67a4493cc262fb6c09d557013fff1f573f431221f8ff985090191508092507f25b4ce7bd2294390c094d6a55edd68b970eed7aae88b2bff1f7c0187fe35011f830192507f22c543f10f6c89ec387e53f1908a88e5de9cef28ebdf30b18cb9d54c1e02b63182019150838384099050838385838409099250837f2b9d4b4110c9ae997782e1509b1d0fdb20a7c02bbd8bea7305462b9f8125b1e88309847f066f6f85d6f68a85ec10345351a23a3aaf07f38af8c952a7bceca70bd2af7ad58509019050837f1274e649a32ed355a31a6ed69724e1adade857e86eb5c3a121bcd147943203c88309847f0cc57cdbb08507d62bf67a4493cc262fb6c09d557013fff1f573f431221f8ff985090191508092507f0236f93e7789c4724fc7908a9f191e1e425e906a919d7a34df668e74882f87a9830192507f29350b401166ca010e7d27e37d05da99652bdae114eb01659cb497af980c4b5282019150838384099050838385838409099250837f2b9d4b4110c9ae997782e1509b1d0fdb20a7c02bbd8bea7305462b9f8125b1e88309847f066f6f85d6f68a85ec10345351a23a3aaf07f38af8c952a7bceca70bd2af7ad58509019050837f1274e649a32ed355a31a6ed69724e1adade857e86eb5c3a121bcd147943203c88309847f0cc57cdbb08507d62bf67a4493cc262fb6c09d557013fff1f573f431221f8ff985090191508092507f0eed787d65820d3f6bd31bbab547f75a65edb75d844ebb89ee1260916652363f830192507f07cc1170f13b46f2036a753f520b3291fdcd0e99bd94297d1906f656f4de6fad82019150838384099050838385838409099250837f2b9d4b4110c9ae997782e1509b1d0fdb20a7c02bbd8bea7305462b9f8125b1e88309847f066f6f85d6f68a85ec10345351a23a3aaf07f38af8c952a7bceca70bd2af7ad58509019050837f1274e649a32ed355a31a6ed69724e1adade857e86eb5c3a121bcd147943203c88309847f0cc57cdbb08507d62bf67a4493cc262fb6c09d557013fff1f573f431221f8ff985090191508092507f22b939233b1d7205f49bcf613a3d30b1908786d7f9f5d10c2059435689e8acea830192507f01451762a0aab81c8aad1dc8bc33e870740f083a5aa85438add650ace60ae5a682019150838384099050838385838409099250837f2b9d4b4110c9ae997782e1509b1d0fdb20a7c02bbd8bea7305462b9f8125b1e88309847f066f6f85d6f68a85ec10345351a23a3aaf07f38af8c952a7bceca70bd2af7ad58509019050837f1274e649a32ed355a31a6ed69724e1adade857e86eb5c3a121bcd147943203c88309847f0cc57cdbb08507d62bf67a4493cc262fb6c09d557013fff1f573f431221f8ff985090191508092507f23506bb5d8727d4461fabf1025d46d1fe32eaa61dec7da57e704fec0892fce89830192507f2e484c44e838aea0bac06ae3f71bdd092a3709531e1efea97f8bd6890735552282019150838384099050838385838409099250837f2b9d4b4110c9ae997782e1509b1d0fdb20a7c02bbd8bea7305462b9f8125b1e88309847f066f6f85d6f68a85ec10345351a23a3aaf07f38af8c952a7bceca70bd2af7ad58509019050837f1274e649a32ed355a31a6ed69724e1adade857e86eb5c3a121bcd147943203c88309847f0cc57cdbb08507d62bf67a4493cc262fb6c09d557013fff1f573f431221f8ff985090191508092507f0f4bc7d07ebafd64379e78c50bd2e42baf4a594545cedc2545418da26835b54c830192507f1f4d3c8f6583e9e5fa76637862faaee851582388725df460e620996d50d8e74e82019150838384099050838385838409099250837f2b9d4b4110c9ae997782e1509b1d0fdb20a7c02bbd8bea7305462b9f8125b1e88309847f066f6f85d6f68a85ec10345351a23a3aaf07f38af8c952a7bceca70bd2af7ad58509019050837f1274e649a32ed355a31a6ed69724e1adade857e86eb5c3a121bcd147943203c88309847f0cc57cdbb08507d62bf67a4493cc262fb6c09d557013fff1f573f431221f8ff985090191508092507f093514e0c70711f82660d07be0e4a988fae02abc7b681d9153eb9bcb48fe7389830192507f1adab0c8e2b3bad346699a2b5f3bc03643ee83ece47228f24a58e0a347e153d882019150838384099050838385838409099250837f2b9d4b4110c9ae997782e1509b1d0fdb20a7c02bbd8bea7305462b9f8125b1e88309847f066f6f85d6f68a85ec10345351a23a3aaf07f38af8c952a7bceca70bd2af7ad58509019050837f1274e649a32ed355a31a6ed69724e1adade857e86eb5c3a121bcd147943203c88309847f0cc57cdbb08507d62bf67a4493cc262fb6c09d557013fff1f573f431221f8ff985090191508092507f1672b1726057d99dd14709ebb474641a378c1b94b8072bac1a22dbef9e80dad2830192507f1dfd53d4576af2e38f44f53fdcab468cc5d8e2fae0acc4ee30d47b239b479c1482019150838384099050838385838409099250837f2b9d4b4110c9ae997782e1509b1d0fdb20a7c02bbd8bea7305462b9f8125b1e88309847f066f6f85d6f68a85ec10345351a23a3aaf07f38af8c952a7bceca70bd2af7ad58509019050837f1274e649a32ed355a31a6ed69724e1adade857e86eb5c3a121bcd147943203c88309847f0cc57cdbb08507d62bf67a4493cc262fb6c09d557013fff1f573f431221f8ff985090191508092507f0c6888a10b75b0f3a70a36263a37e17fe6d77d640f6fc3debc7f207753205c60830192507f1addb933a65be77092b34a7e77d12fe8611a61e00ee6848b85091ecca9d1e50882019150838384099050838385838409099250837f2b9d4b4110c9ae997782e1509b1d0fdb20a7c02bbd8bea7305462b9f8125b1e88309847f066f6f85d6f68a85ec10345351a23a3aaf07f38af8c952a7bceca70bd2af7ad58509019050837f1274e649a32ed355a31a6ed69724e1adade857e86eb5c3a121bcd147943203c88309847f0cc57cdbb08507d62bf67a4493cc262fb6c09d557013fff1f573f431221f8ff985090191508092507ed7540dcd268a845c10ae18d1de933cf638ff5425f0afff7935628e299d1791830192507f140c0e42687e9ead01b2827a5664ca9c26fedde4acd99db1d316939d20b82c0e82019150838384099050838385838409099250837f2b9d4b4110c9ae997782e1509b1d0fdb20a7c02bbd8bea7305462b9f8125b1e88309847f066f6f85d6f68a85ec10345351a23a3aaf07f38af8c952a7bceca70bd2af7ad58509019050837f1274e649a32ed355a31a6ed69724e1adade857e86eb5c3a121bcd147943203c88309847f0cc57cdbb08507d62bf67a4493cc262fb6c09d557013fff1f573f431221f8ff985090191508092507f2f0c3a115d4317d191ba89b8d13d1806c20a0f9b24f8c5edc091e2ae56565984830192507f0c4ee778ff7c14553006ed220cf9c81008a0cff670b22b82d8c538a1dc958c6182019150838384099050838385838409099250837f2b9d4b4110c9ae997782e1509b1d0fdb20a7c02bbd8bea7305462b9f8125b1e88309847f066f6f85d6f68a85ec10345351a23a3aaf07f38af8c952a7bceca70bd2af7ad58509019050837f1274e649a32ed355a31a6ed69724e1adade857e86eb5c3a121bcd147943203c88309847f0cc57cdbb08507d62bf67a4493cc262fb6c09d557013fff1f573f431221f8ff985090191508092507f1704f2766d46f82c3693f00440ccc3609424ed26c0acc66227c3d7485de74c69830192507f2f2d19cc3ea5d78ea7a02c1b51d244abf0769c9f8544e40239b66fe9009c3cfa82019150838384099050838385838409099250837f2b9d4b4110c9ae997782e1509b1d0fdb20a7c02bbd8bea7305462b9f8125b1e88309847f066f6f85d6f68a85ec10345351a23a3aaf07f38af8c952a7bceca70bd2af7ad58509019050837f1274e649a32ed355a31a6ed69724e1adade857e86eb5c3a121bcd147943203c88309847f0cc57cdbb08507d62bf67a4493cc262fb6c09d557013fff1f573f431221f8ff985090191508092507f1ae03853b75fcaba5053f112e2a8e8dcdd7ee6cb9cfed9c7d6c766a806fc6629830192507f0971aabf795241df51d131d0fa61aa5f3556921b2d6f014e4e41a86ddaf056d582019150838384099050838385838409099250838283099050838285838409099150837f2b9d4b4110c9ae997782e1509b1d0fdb20a7c02bbd8bea7305462b9f8125b1e88309847f066f6f85d6f68a85ec10345351a23a3aaf07f38af8c952a7bceca70bd2af7ad58509019050837f1274e649a32ed355a31a6ed69724e1adade857e86eb5c3a121bcd147943203c88309847f0cc57cdbb08507d62bf67a4493cc262fb6c09d557013fff1f573f431221f8ff985090191508092507f1408c316e6014e1a91d4cf6b6e0de73eda624f8380df1c875f5c29f7bfe2f646830192507f1667f3fe2edbe850248abe42b543093b6c89f1f773ef285341691f39822ef5bd82019150838384099050838385838409099250838283099050838285838409099150837f2b9d4b4110c9ae997782e1509b1d0fdb20a7c02bbd8bea7305462b9f8125b1e88309847f066f6f85d6f68a85ec10345351a23a3aaf07f38af8c952a7bceca70bd2af7ad58509019050837f1274e649a32ed355a31a6ed69724e1adade857e86eb5c3a121bcd147943203c88309847f0cc57cdbb08507d62bf67a4493cc262fb6c09d557013fff1f573f431221f8ff985090191508092507f13bf7c5d0d2c4376a48b0a03557cdf915b81718409e5c133424c69576500fe37830192507f07620a6dfb0b6cec3016adf3d3533c24024b95347856b79719bc0ba743a62c2c82019150838384099050838385838409099250838283099050838285838409099150837f2b9d4b4110c9ae997782e1509b1d0fdb20a7c02bbd8bea7305462b9f8125b1e88309847f066f6f85d6f68a85ec10345351a23a3aaf07f38af8c952a7bceca70bd2af7ad58509019050837f1274e649a32ed355a31a6ed69724e1adade857e86eb5c3a121bcd147943203c88309847f0cc57cdbb08507d62bf67a4493cc262fb6c09d557013fff1f573f431221f8ff985090191508092507f1574c7ef0c43545f36a8ca08bdbdd8b075d2959e2f322b731675de3e1982b4d0830192507f269e4b5b7a2eb21afd567970a717ceec5bd4184571c254fdc06e03a7ff8378f08201915083838409905083838583840909925083828309905083828583840909915083847f2b9d4b4110c9ae997782e1509b1d0fdb20a7c02bbd8bea7305462b9f8125b1e88409857f066f6f85d6f68a85ec10345351a23a3aaf07f38af8c952a7bceca70bd2af7ad586090106925082945050505050919050565b6000819050919050565b613db681613da3565b82525050565b6000602082019050613dd16000830184613dad565b92915050565b600080fd5b613de581613da3565b8114613df057600080fd5b50565b600081359050613e0281613ddc565b92915050565b600060208284031215613e1e57613e1d613dd7565b5b6000613e2c84828501613df3565b9150509291505056fea2646970667358221220700855575bbd5c3e59d835440eff422fb5b41dd58c929b69cdd0810bfdff020964736f6c634300080f0033", + "numDeployments": 2, + "solcInputHash": "d5475cf869d23da2a838dd607679cc44", + "metadata": "{\"compiler\":{\"version\":\"0.8.15+commit.e14f2714\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"input\",\"type\":\"uint256\"}],\"name\":\"hash\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"result\",\"type\":\"uint256\"}],\"stateMutability\":\"pure\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{\"hash(uint256)\":{\"params\":{\"input\":\"The input to hash\"}}},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{\"hash(uint256)\":{\"notice\":\"Hashes the input using the Poseidon hash function, n = 2, second input is the constant 0\"}},\"version\":1}},\"settings\":{\"compilationTarget\":{\"contracts/PoseidonHasher.sol\":\"PoseidonHasher\"},\"evmVersion\":\"london\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\",\"useLiteralContent\":true},\"optimizer\":{\"enabled\":false,\"runs\":200},\"remappings\":[\":ds-test/=lib/forge-std/lib/ds-test/src/\",\":forge-std/=lib/forge-std/src/\"]},\"sources\":{\"contracts/PoseidonHasher.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\n\\n// Forked from https://github.com/kilic/rlnapp/\\n\\npragma solidity 0.8.15;\\n\\ninterface IPoseidonHasher {\\n /// @notice Hashes the input using the Poseidon hash function, n = 2, second input is the constant 0\\n /// @param input The input to hash\\n function hash(uint256 input) external pure returns (uint256 result);\\n}\\n\\ncontract PoseidonHasher is IPoseidonHasher {\\n uint256 constant Q =\\n 21888242871839275222246405745257275088548364400416034343698204186575808495617;\\n uint256 constant C0 =\\n 4417881134626180770308697923359573201005643519861877412381846989312604493735;\\n uint256 constant C1 =\\n 5433650512959517612316327474713065966758808864213826738576266661723522780033;\\n uint256 constant C2 =\\n 13641176377184356099764086973022553863760045607496549923679278773208775739952;\\n uint256 constant C3 =\\n 17949713444224994136330421782109149544629237834775211751417461773584374506783;\\n uint256 constant C4 =\\n 13765628375339178273710281891027109699578766420463125835325926111705201856003;\\n uint256 constant C5 =\\n 19179513468172002314585757290678967643352171735526887944518845346318719730387;\\n uint256 constant C6 =\\n 5157412437176756884543472904098424903141745259452875378101256928559722612176;\\n uint256 constant C7 =\\n 535160875740282236955320458485730000677124519901643397458212725410971557409;\\n uint256 constant C8 =\\n 1050793453380762984940163090920066886770841063557081906093018330633089036729;\\n uint256 constant C9 =\\n 10665495010329663932664894101216428400933984666065399374198502106997623173873;\\n uint256 constant C10 =\\n 19965634623406616956648724894636666805991993496469370618546874926025059150737;\\n uint256 constant C11 =\\n 13007250030070838431593222885902415182312449212965120303174723305710127422213;\\n uint256 constant C12 =\\n 16877538715074991604507979123743768693428157847423939051086744213162455276374;\\n uint256 constant C13 =\\n 18211747749504876135588847560312685184956239426147543810126553367063157141465;\\n uint256 constant C14 =\\n 18151553319826126919739798892854572062191241985315767086020821632812331245635;\\n uint256 constant C15 =\\n 19957033149976712666746140949846950406660099037474791840946955175819555930825;\\n uint256 constant C16 =\\n 3469514863538261843186854830917934449567467100548474599735384052339577040841;\\n uint256 constant C17 =\\n 989698510043911779243192466312362856042600749099921773896924315611668507708;\\n uint256 constant C18 =\\n 12568377015646290945235387813564567111330046038050864455358059568128000172201;\\n uint256 constant C19 =\\n 20856104135605479600325529349246932565148587186338606236677138505306779314172;\\n uint256 constant C20 =\\n 8206918720503535523121349917159924938835810381723474192155637697065780938424;\\n uint256 constant C21 =\\n 1309058477013932989380617265069188723120054926187607548493110334522527703566;\\n uint256 constant C22 =\\n 14076116939332667074621703729512195584105250395163383769419390236426287710606;\\n uint256 constant C23 =\\n 10153498892749751942204288991871286290442690932856658983589258153608012428674;\\n uint256 constant C24 =\\n 18202499207234128286137597834010475797175973146805180988367589376893530181575;\\n uint256 constant C25 =\\n 12739388830157083522877690211447248168864006284243907142044329113461613743052;\\n uint256 constant C26 =\\n 15123358710467780770838026754240340042441262572309759635224051333176022613949;\\n uint256 constant C27 =\\n 19925004701844594370904593774447343836015483888496504201331110250494635362184;\\n uint256 constant C28 =\\n 10352416606816998476681131583320899030072315953910679608943150613208329645891;\\n uint256 constant C29 =\\n 10567371822366244361703342347428230537114808440249611395507235283708966113221;\\n uint256 constant C30 =\\n 5635498582763880627392290206431559361272660937399944184533035305989295959602;\\n uint256 constant C31 =\\n 11866432933224219174041051738704352719163271639958083608224676028593315904909;\\n uint256 constant C32 =\\n 5795020705294401441272215064554385591292330721703923167136157291459784140431;\\n uint256 constant C33 =\\n 9482202378699252817564375087302794636287866584767523335624368774856230692758;\\n uint256 constant C34 =\\n 4245237636894546151746468406560945873445548423466753843402086544922216329298;\\n uint256 constant C35 =\\n 12000500941313982757584712677991730019124834399479314697467598397927435905133;\\n uint256 constant C36 =\\n 7596790274058425558167520209857956363736666939016807569082239187494363541787;\\n uint256 constant C37 =\\n 2484867918246116343205467273440098378820186751202461278013576281097918148877;\\n uint256 constant C38 =\\n 18312645949449997391810445935615409295369169383463185688973803378104013950190;\\n uint256 constant C39 =\\n 15320686572748723004980855263301182130424010735782762814513954166519592552733;\\n uint256 constant C40 =\\n 12618438900597948888520621062416758747872180395546164387827245287017031303859;\\n uint256 constant C41 =\\n 17438141672027706116733201008397064011774368832458707512367404736905021019585;\\n uint256 constant C42 =\\n 6374197807230665998865688675365359100400438034755781666913068586172586548950;\\n uint256 constant C43 =\\n 2189398913433273865510950346186699930188746169476472274335177556702504595264;\\n uint256 constant C44 =\\n 6268495580028970231803791523870131137294646402347399003576649137450213034606;\\n uint256 constant C45 =\\n 17896250365994900261202920044129628104272791547990619503076839618914047059275;\\n uint256 constant C46 =\\n 13692156312448722528008862371944543449350293305158722920787736248435893008873;\\n uint256 constant C47 =\\n 15234446864368744483209945022439268713300180233589581910497691316744177619376;\\n uint256 constant C48 =\\n 1572426502623310766593681563281600503979671244997798691029595521622402217227;\\n uint256 constant C49 =\\n 80103447810215150918585162168214870083573048458555897999822831203653996617;\\n uint256 constant C50 =\\n 8228820324013669567851850635126713973797711779951230446503353812192849106342;\\n uint256 constant C51 =\\n 5375851433746509614045812476958526065449377558695752132494533666370449415873;\\n uint256 constant C52 =\\n 12115998939203497346386774317892338270561208357481805380546938146796257365018;\\n uint256 constant C53 =\\n 9764067909645821279940531410531154041386008396840887338272986634350423466622;\\n uint256 constant C54 =\\n 8538708244538850542384936174629541085495830544298260335345008245230827876882;\\n uint256 constant C55 =\\n 7140127896620013355910287215441004676619168261422440177712039790284719613114;\\n uint256 constant C56 =\\n 14297402962228458726038826185823085337698917275385741292940049024977027409762;\\n uint256 constant C57 =\\n 6667115556431351074165934212337261254608231545257434281887966406956835140819;\\n uint256 constant C58 =\\n 20226761165244293291042617464655196752671169026542832236139342122602741090001;\\n uint256 constant C59 =\\n 12038289506489256655759141386763477208196694421666339040483042079632134429119;\\n uint256 constant C60 =\\n 19027757334170818571203982241812412991528769934917288000224335655934473717551;\\n uint256 constant C61 =\\n 16272152964456553579565580463468069884359929612321610357528838696790370074720;\\n uint256 constant C62 =\\n 2500392889689246014710135696485946334448570271481948765283016105301740284071;\\n uint256 constant C63 =\\n 8595254970528530312401637448610398388203855633951264114100575485022581946023;\\n uint256 constant C64 =\\n 11635945688914011450976408058407206367914559009113158286982919675551688078198;\\n uint256 constant C65 =\\n 614739068603482619581328040478536306925147663946742687395148680260956671871;\\n uint256 constant C66 =\\n 18692271780377861570175282183255720350972693125537599213951106550953176268753;\\n uint256 constant C67 =\\n 4987059230784976306647166378298632695585915319042844495357753339378260807164;\\n uint256 constant C68 =\\n 21851403978498723616722415377430107676258664746210815234490134600998983955497;\\n uint256 constant C69 =\\n 9830635451186415300891533983087800047564037813328875992115573428596207326204;\\n uint256 constant C70 =\\n 4842706106434537116860242620706030229206345167233200482994958847436425185478;\\n uint256 constant C71 =\\n 6422235064906823218421386871122109085799298052314922856340127798647926126490;\\n uint256 constant C72 =\\n 4564364104986856861943331689105797031330091877115997069096365671501473357846;\\n uint256 constant C73 =\\n 1944043894089780613038197112872830569538541856657037469098448708685350671343;\\n uint256 constant C74 =\\n 21179865974855950600518216085229498748425990426231530451599322283119880194955;\\n uint256 constant C75 =\\n 14296697761894107574369608843560006996183955751502547883167824879840894933162;\\n uint256 constant C76 =\\n 12274619649702218570450581712439138337725246879938860735460378251639845671898;\\n uint256 constant C77 =\\n 16371396450276899401411886674029075408418848209575273031725505038938314070356;\\n uint256 constant C78 =\\n 3702561221750983937578095019779188631407216522704543451228773892695044653565;\\n uint256 constant C79 =\\n 19721616877735564664624984774636557499099875603996426215495516594530838681980;\\n uint256 constant C80 =\\n 6383350109027696789969911008057747025018308755462287526819231672217685282429;\\n uint256 constant C81 =\\n 20860583956177367265984596617324237471765572961978977333122281041544719622905;\\n uint256 constant C82 =\\n 5766390934595026947545001478457407504285452477687752470140790011329357286275;\\n uint256 constant C83 =\\n 4043175758319898049344746138515323336207420888499903387536875603879441092484;\\n uint256 constant C84 =\\n 15579382179133608217098622223834161692266188678101563820988612253342538956534;\\n uint256 constant C85 =\\n 1864640783252634743892105383926602930909039567065240010338908865509831749824;\\n uint256 constant C86 =\\n 15943719865023133586707144161652035291705809358178262514871056013754142625673;\\n uint256 constant C87 =\\n 2326415993032390211558498780803238091925402878871059708106213703504162832999;\\n uint256 constant C88 =\\n 19995326402773833553207196590622808505547443523750970375738981396588337910289;\\n uint256 constant C89 =\\n 5143583711361588952673350526320181330406047695593201009385718506918735286622;\\n uint256 constant C90 =\\n 15436006486881920976813738625999473183944244531070780793506388892313517319583;\\n uint256 constant C91 =\\n 16660446760173633166698660166238066533278664023818938868110282615200613695857;\\n uint256 constant C92 =\\n 4966065365695755376133119391352131079892396024584848298231004326013366253934;\\n uint256 constant C93 =\\n 20683781957411705574951987677641476019618457561419278856689645563561076926702;\\n uint256 constant C94 =\\n 17280836839165902792086432296371645107551519324565649849400948918605456875699;\\n uint256 constant C95 =\\n 17045635513701208892073056357048619435743564064921155892004135325530808465371;\\n uint256 constant C96 =\\n 17055032967194400710390142791334572297458033582458169295920670679093585707295;\\n uint256 constant C97 =\\n 15727174639569115300068198908071514334002742825679221638729902577962862163505;\\n uint256 constant C98 =\\n 1001755657610446661315902885492677747789366510875120894840818704741370398633;\\n uint256 constant C99 =\\n 18638547332826171619311285502376343504539399518545103511265465604926625041234;\\n uint256 constant C100 =\\n 6751954224763196429755298529194402870632445298969935050224267844020826420799;\\n uint256 constant C101 =\\n 3526747115904224771452549517614107688674036840088422555827581348280834879405;\\n uint256 constant C102 =\\n 15705897908180497062880001271426561999724005008972544196300715293701537574122;\\n uint256 constant C103 =\\n 574386695213920937259007343820417029802510752426579750428758189312416867750;\\n uint256 constant C104 =\\n 15973040855000600860816974646787367136127946402908768408978806375685439868553;\\n uint256 constant C105 =\\n 20934130413948796333037139460875996342810005558806621330680156931816867321122;\\n uint256 constant C106 =\\n 6918585327145564636398173845411579411526758237572034236476079610890705810764;\\n uint256 constant C107 =\\n 14158163500813182062258176233162498241310167509137716527054939926126453647182;\\n uint256 constant C108 =\\n 4164602626597695668474100217150111342272610479949122406544277384862187287433;\\n uint256 constant C109 =\\n 12146526846507496913615390662823936206892812880963914267275606265272996025304;\\n uint256 constant C110 =\\n 10153527926900017763244212043512822363696541810586522108597162891799345289938;\\n uint256 constant C111 =\\n 13564663485965299104296214940873270349072051793008946663855767889066202733588;\\n uint256 constant C112 =\\n 5612449256997576125867742696783020582952387615430650198777254717398552960096;\\n uint256 constant C113 =\\n 12151885480032032868507892738683067544172874895736290365318623681886999930120;\\n uint256 constant C114 =\\n 380452237704664384810613424095477896605414037288009963200982915188629772177;\\n uint256 constant C115 =\\n 9067557551252570188533509616805287919563636482030947363841198066124642069518;\\n uint256 constant C116 =\\n 21280306817619711661335268484199763923870315733198162896599997188206277056900;\\n uint256 constant C117 =\\n 5567165819557297006750252582140767993422097822227408837378089569369734876257;\\n uint256 constant C118 =\\n 10411936321072105429908396649383171465939606386380071222095155850987201580137;\\n uint256 constant C119 =\\n 21338390051413922944780864872652000187403217966653363270851298678606449622266;\\n uint256 constant C120 =\\n 12156296560457833712186127325312904760045212412680904475497938949653569234473;\\n uint256 constant C121 =\\n 4271647814574748734312113971565139132510281260328947438246615707172526380757;\\n uint256 constant C122 =\\n 9061738206062369647211128232833114177054715885442782773131292534862178874950;\\n uint256 constant C123 =\\n 10134551893627587797380445583959894183158393780166496661696555422178052339133;\\n uint256 constant C124 =\\n 8932270237664043612366044102088319242789325050842783721780970129656616386103;\\n uint256 constant C125 =\\n 3339412934966886386194449782756711637636784424032779155216609410591712750636;\\n uint256 constant C126 =\\n 9704903972004596791086522314847373103670545861209569267884026709445485704400;\\n uint256 constant C127 =\\n 17467570179597572575614276429760169990940929887711661192333523245667228809456;\\n uint256 constant M00 =\\n 2910766817845651019878574839501801340070030115151021261302834310722729507541;\\n uint256 constant M01 =\\n 19727366863391167538122140361473584127147630672623100827934084310230022599144;\\n uint256 constant M10 =\\n 5776684794125549462448597414050232243778680302179439492664047328281728356345;\\n uint256 constant M11 =\\n 8348174920934122550483593999453880006756108121341067172388445916328941978568;\\n\\n function hash(\\n uint256 input\\n ) external pure override returns (uint256 result) {\\n return _hash(input);\\n }\\n\\n function _hash(uint256 input) internal pure returns (uint256 result) {\\n assembly {\\n // Poseidon parameters should be t = 2, RF = 8, RP = 56\\n\\n // We load the characteristic\\n let q := Q\\n\\n // In zerokit implementation, if we pass inp = [a0,a1,..,an] to Poseidon what is effectively hashed is [0,a0,a1,..,an]\\n // Note that a sequence of MIX-ARK involves 3 Bn254 field additions before the mulmod happens. Worst case we have a value corresponding to 2*(p-1) which is less than 2^256 and hence doesn't overflow\\n //ROUND 0 - FULL\\n let s0 := C0\\n let s1 := add(input, C1)\\n // SBOX\\n let t := mulmod(s0, s0, q)\\n s0 := mulmod(mulmod(t, t, q), s0, q)\\n t := mulmod(s1, s1, q)\\n s1 := mulmod(mulmod(t, t, q), s1, q)\\n // MIX\\n t := add(mulmod(s0, M00, q), mulmod(s1, M01, q))\\n s1 := add(mulmod(s0, M10, q), mulmod(s1, M11, q))\\n s0 := t\\n\\n //ROUND 1 - FULL\\n s0 := add(s0, C2)\\n s1 := add(s1, C3)\\n // SBOX\\n t := mulmod(s0, s0, q)\\n s0 := mulmod(mulmod(t, t, q), s0, q)\\n t := mulmod(s1, s1, q)\\n s1 := mulmod(mulmod(t, t, q), s1, q)\\n // MIX\\n t := add(mulmod(s0, M00, q), mulmod(s1, M01, q))\\n s1 := add(mulmod(s0, M10, q), mulmod(s1, M11, q))\\n s0 := t\\n\\n //ROUND 2 - FULL\\n s0 := add(s0, C4)\\n s1 := add(s1, C5)\\n // SBOX\\n t := mulmod(s0, s0, q)\\n s0 := mulmod(mulmod(t, t, q), s0, q)\\n t := mulmod(s1, s1, q)\\n s1 := mulmod(mulmod(t, t, q), s1, q)\\n // MIX\\n t := add(mulmod(s0, M00, q), mulmod(s1, M01, q))\\n s1 := add(mulmod(s0, M10, q), mulmod(s1, M11, q))\\n s0 := t\\n\\n //ROUND 3 - FULL\\n s0 := add(s0, C6)\\n s1 := add(s1, C7)\\n // SBOX\\n t := mulmod(s0, s0, q)\\n s0 := mulmod(mulmod(t, t, q), s0, q)\\n t := mulmod(s1, s1, q)\\n s1 := mulmod(mulmod(t, t, q), s1, q)\\n // MIX\\n t := add(mulmod(s0, M00, q), mulmod(s1, M01, q))\\n s1 := add(mulmod(s0, M10, q), mulmod(s1, M11, q))\\n s0 := t\\n\\n //ROUND 4 - PARTIAL\\n s0 := add(s0, C8)\\n s1 := add(s1, C9)\\n // SBOX\\n t := mulmod(s0, s0, q)\\n s0 := mulmod(mulmod(t, t, q), s0, q)\\n // MIX\\n t := add(mulmod(s0, M00, q), mulmod(s1, M01, q))\\n s1 := add(mulmod(s0, M10, q), mulmod(s1, M11, q))\\n s0 := t\\n\\n //ROUND 5 - PARTIAL\\n s0 := add(s0, C10)\\n s1 := add(s1, C11)\\n // SBOX\\n t := mulmod(s0, s0, q)\\n s0 := mulmod(mulmod(t, t, q), s0, q)\\n // MIX\\n t := add(mulmod(s0, M00, q), mulmod(s1, M01, q))\\n s1 := add(mulmod(s0, M10, q), mulmod(s1, M11, q))\\n s0 := t\\n\\n //ROUND 6 - PARTIAL\\n s0 := add(s0, C12)\\n s1 := add(s1, C13)\\n // SBOX\\n t := mulmod(s0, s0, q)\\n s0 := mulmod(mulmod(t, t, q), s0, q)\\n // MIX\\n t := add(mulmod(s0, M00, q), mulmod(s1, M01, q))\\n s1 := add(mulmod(s0, M10, q), mulmod(s1, M11, q))\\n s0 := t\\n\\n //ROUND 7 - PARTIAL\\n s0 := add(s0, C14)\\n s1 := add(s1, C15)\\n // SBOX\\n t := mulmod(s0, s0, q)\\n s0 := mulmod(mulmod(t, t, q), s0, q)\\n // MIX\\n t := add(mulmod(s0, M00, q), mulmod(s1, M01, q))\\n s1 := add(mulmod(s0, M10, q), mulmod(s1, M11, q))\\n s0 := t\\n\\n //ROUND 8 - PARTIAL\\n s0 := add(s0, C16)\\n s1 := add(s1, C17)\\n // SBOX\\n t := mulmod(s0, s0, q)\\n s0 := mulmod(mulmod(t, t, q), s0, q)\\n // MIX\\n t := add(mulmod(s0, M00, q), mulmod(s1, M01, q))\\n s1 := add(mulmod(s0, M10, q), mulmod(s1, M11, q))\\n s0 := t\\n\\n //ROUND 9 - PARTIAL\\n s0 := add(s0, C18)\\n s1 := add(s1, C19)\\n // SBOX\\n t := mulmod(s0, s0, q)\\n s0 := mulmod(mulmod(t, t, q), s0, q)\\n // MIX\\n t := add(mulmod(s0, M00, q), mulmod(s1, M01, q))\\n s1 := add(mulmod(s0, M10, q), mulmod(s1, M11, q))\\n s0 := t\\n\\n //ROUND 10 - PARTIAL\\n s0 := add(s0, C20)\\n s1 := add(s1, C21)\\n // SBOX\\n t := mulmod(s0, s0, q)\\n s0 := mulmod(mulmod(t, t, q), s0, q)\\n // MIX\\n t := add(mulmod(s0, M00, q), mulmod(s1, M01, q))\\n s1 := add(mulmod(s0, M10, q), mulmod(s1, M11, q))\\n s0 := t\\n\\n //ROUND 11 - PARTIAL\\n s0 := add(s0, C22)\\n s1 := add(s1, C23)\\n // SBOX\\n t := mulmod(s0, s0, q)\\n s0 := mulmod(mulmod(t, t, q), s0, q)\\n // MIX\\n t := add(mulmod(s0, M00, q), mulmod(s1, M01, q))\\n s1 := add(mulmod(s0, M10, q), mulmod(s1, M11, q))\\n s0 := t\\n\\n //ROUND 12 - PARTIAL\\n s0 := add(s0, C24)\\n s1 := add(s1, C25)\\n // SBOX\\n t := mulmod(s0, s0, q)\\n s0 := mulmod(mulmod(t, t, q), s0, q)\\n // MIX\\n t := add(mulmod(s0, M00, q), mulmod(s1, M01, q))\\n s1 := add(mulmod(s0, M10, q), mulmod(s1, M11, q))\\n s0 := t\\n\\n //ROUND 13 - PARTIAL\\n s0 := add(s0, C26)\\n s1 := add(s1, C27)\\n // SBOX\\n t := mulmod(s0, s0, q)\\n s0 := mulmod(mulmod(t, t, q), s0, q)\\n // MIX\\n t := add(mulmod(s0, M00, q), mulmod(s1, M01, q))\\n s1 := add(mulmod(s0, M10, q), mulmod(s1, M11, q))\\n s0 := t\\n\\n //ROUND 14 - PARTIAL\\n s0 := add(s0, C28)\\n s1 := add(s1, C29)\\n // SBOX\\n t := mulmod(s0, s0, q)\\n s0 := mulmod(mulmod(t, t, q), s0, q)\\n // MIX\\n t := add(mulmod(s0, M00, q), mulmod(s1, M01, q))\\n s1 := add(mulmod(s0, M10, q), mulmod(s1, M11, q))\\n s0 := t\\n\\n //ROUND 15 - PARTIAL\\n s0 := add(s0, C30)\\n s1 := add(s1, C31)\\n // SBOX\\n t := mulmod(s0, s0, q)\\n s0 := mulmod(mulmod(t, t, q), s0, q)\\n // MIX\\n t := add(mulmod(s0, M00, q), mulmod(s1, M01, q))\\n s1 := add(mulmod(s0, M10, q), mulmod(s1, M11, q))\\n s0 := t\\n\\n //ROUND 16 - PARTIAL\\n s0 := add(s0, C32)\\n s1 := add(s1, C33)\\n // SBOX\\n t := mulmod(s0, s0, q)\\n s0 := mulmod(mulmod(t, t, q), s0, q)\\n // MIX\\n t := add(mulmod(s0, M00, q), mulmod(s1, M01, q))\\n s1 := add(mulmod(s0, M10, q), mulmod(s1, M11, q))\\n s0 := t\\n\\n //ROUND 17 - PARTIAL\\n s0 := add(s0, C34)\\n s1 := add(s1, C35)\\n // SBOX\\n t := mulmod(s0, s0, q)\\n s0 := mulmod(mulmod(t, t, q), s0, q)\\n // MIX\\n t := add(mulmod(s0, M00, q), mulmod(s1, M01, q))\\n s1 := add(mulmod(s0, M10, q), mulmod(s1, M11, q))\\n s0 := t\\n\\n //ROUND 18 - PARTIAL\\n s0 := add(s0, C36)\\n s1 := add(s1, C37)\\n // SBOX\\n t := mulmod(s0, s0, q)\\n s0 := mulmod(mulmod(t, t, q), s0, q)\\n // MIX\\n t := add(mulmod(s0, M00, q), mulmod(s1, M01, q))\\n s1 := add(mulmod(s0, M10, q), mulmod(s1, M11, q))\\n s0 := t\\n\\n //ROUND 19 - PARTIAL\\n s0 := add(s0, C38)\\n s1 := add(s1, C39)\\n // SBOX\\n t := mulmod(s0, s0, q)\\n s0 := mulmod(mulmod(t, t, q), s0, q)\\n // MIX\\n t := add(mulmod(s0, M00, q), mulmod(s1, M01, q))\\n s1 := add(mulmod(s0, M10, q), mulmod(s1, M11, q))\\n s0 := t\\n\\n //ROUND 20 - PARTIAL\\n s0 := add(s0, C40)\\n s1 := add(s1, C41)\\n // SBOX\\n t := mulmod(s0, s0, q)\\n s0 := mulmod(mulmod(t, t, q), s0, q)\\n // MIX\\n t := add(mulmod(s0, M00, q), mulmod(s1, M01, q))\\n s1 := add(mulmod(s0, M10, q), mulmod(s1, M11, q))\\n s0 := t\\n\\n //ROUND 21 - PARTIAL\\n s0 := add(s0, C42)\\n s1 := add(s1, C43)\\n // SBOX\\n t := mulmod(s0, s0, q)\\n s0 := mulmod(mulmod(t, t, q), s0, q)\\n // MIX\\n t := add(mulmod(s0, M00, q), mulmod(s1, M01, q))\\n s1 := add(mulmod(s0, M10, q), mulmod(s1, M11, q))\\n s0 := t\\n\\n //ROUND 22 - PARTIAL\\n s0 := add(s0, C44)\\n s1 := add(s1, C45)\\n // SBOX\\n t := mulmod(s0, s0, q)\\n s0 := mulmod(mulmod(t, t, q), s0, q)\\n // MIX\\n t := add(mulmod(s0, M00, q), mulmod(s1, M01, q))\\n s1 := add(mulmod(s0, M10, q), mulmod(s1, M11, q))\\n s0 := t\\n\\n //ROUND 23 - PARTIAL\\n s0 := add(s0, C46)\\n s1 := add(s1, C47)\\n // SBOX\\n t := mulmod(s0, s0, q)\\n s0 := mulmod(mulmod(t, t, q), s0, q)\\n // MIX\\n t := add(mulmod(s0, M00, q), mulmod(s1, M01, q))\\n s1 := add(mulmod(s0, M10, q), mulmod(s1, M11, q))\\n s0 := t\\n\\n //ROUND 24 - PARTIAL\\n s0 := add(s0, C48)\\n s1 := add(s1, C49)\\n // SBOX\\n t := mulmod(s0, s0, q)\\n s0 := mulmod(mulmod(t, t, q), s0, q)\\n // MIX\\n t := add(mulmod(s0, M00, q), mulmod(s1, M01, q))\\n s1 := add(mulmod(s0, M10, q), mulmod(s1, M11, q))\\n s0 := t\\n\\n //ROUND 25 - PARTIAL\\n s0 := add(s0, C50)\\n s1 := add(s1, C51)\\n // SBOX\\n t := mulmod(s0, s0, q)\\n s0 := mulmod(mulmod(t, t, q), s0, q)\\n // MIX\\n t := add(mulmod(s0, M00, q), mulmod(s1, M01, q))\\n s1 := add(mulmod(s0, M10, q), mulmod(s1, M11, q))\\n s0 := t\\n\\n //ROUND 26 - PARTIAL\\n s0 := add(s0, C52)\\n s1 := add(s1, C53)\\n // SBOX\\n t := mulmod(s0, s0, q)\\n s0 := mulmod(mulmod(t, t, q), s0, q)\\n // MIX\\n t := add(mulmod(s0, M00, q), mulmod(s1, M01, q))\\n s1 := add(mulmod(s0, M10, q), mulmod(s1, M11, q))\\n s0 := t\\n\\n //ROUND 27 - PARTIAL\\n s0 := add(s0, C54)\\n s1 := add(s1, C55)\\n // SBOX\\n t := mulmod(s0, s0, q)\\n s0 := mulmod(mulmod(t, t, q), s0, q)\\n // MIX\\n t := add(mulmod(s0, M00, q), mulmod(s1, M01, q))\\n s1 := add(mulmod(s0, M10, q), mulmod(s1, M11, q))\\n s0 := t\\n\\n //ROUND 28 - PARTIAL\\n s0 := add(s0, C56)\\n s1 := add(s1, C57)\\n // SBOX\\n t := mulmod(s0, s0, q)\\n s0 := mulmod(mulmod(t, t, q), s0, q)\\n // MIX\\n t := add(mulmod(s0, M00, q), mulmod(s1, M01, q))\\n s1 := add(mulmod(s0, M10, q), mulmod(s1, M11, q))\\n s0 := t\\n\\n //ROUND 29 - PARTIAL\\n s0 := add(s0, C58)\\n s1 := add(s1, C59)\\n // SBOX\\n t := mulmod(s0, s0, q)\\n s0 := mulmod(mulmod(t, t, q), s0, q)\\n // MIX\\n t := add(mulmod(s0, M00, q), mulmod(s1, M01, q))\\n s1 := add(mulmod(s0, M10, q), mulmod(s1, M11, q))\\n s0 := t\\n\\n //ROUND 30 - PARTIAL\\n s0 := add(s0, C60)\\n s1 := add(s1, C61)\\n // SBOX\\n t := mulmod(s0, s0, q)\\n s0 := mulmod(mulmod(t, t, q), s0, q)\\n // MIX\\n t := add(mulmod(s0, M00, q), mulmod(s1, M01, q))\\n s1 := add(mulmod(s0, M10, q), mulmod(s1, M11, q))\\n s0 := t\\n\\n //ROUND 31 - PARTIAL\\n s0 := add(s0, C62)\\n s1 := add(s1, C63)\\n // SBOX\\n t := mulmod(s0, s0, q)\\n s0 := mulmod(mulmod(t, t, q), s0, q)\\n // MIX\\n t := add(mulmod(s0, M00, q), mulmod(s1, M01, q))\\n s1 := add(mulmod(s0, M10, q), mulmod(s1, M11, q))\\n s0 := t\\n\\n //ROUND 32 - PARTIAL\\n s0 := add(s0, C64)\\n s1 := add(s1, C65)\\n // SBOX\\n t := mulmod(s0, s0, q)\\n s0 := mulmod(mulmod(t, t, q), s0, q)\\n // MIX\\n t := add(mulmod(s0, M00, q), mulmod(s1, M01, q))\\n s1 := add(mulmod(s0, M10, q), mulmod(s1, M11, q))\\n s0 := t\\n\\n //ROUND 33 - PARTIAL\\n s0 := add(s0, C66)\\n s1 := add(s1, C67)\\n // SBOX\\n t := mulmod(s0, s0, q)\\n s0 := mulmod(mulmod(t, t, q), s0, q)\\n // MIX\\n t := add(mulmod(s0, M00, q), mulmod(s1, M01, q))\\n s1 := add(mulmod(s0, M10, q), mulmod(s1, M11, q))\\n s0 := t\\n\\n //ROUND 34 - PARTIAL\\n s0 := add(s0, C68)\\n s1 := add(s1, C69)\\n // SBOX\\n t := mulmod(s0, s0, q)\\n s0 := mulmod(mulmod(t, t, q), s0, q)\\n // MIX\\n t := add(mulmod(s0, M00, q), mulmod(s1, M01, q))\\n s1 := add(mulmod(s0, M10, q), mulmod(s1, M11, q))\\n s0 := t\\n\\n //ROUND 35 - PARTIAL\\n s0 := add(s0, C70)\\n s1 := add(s1, C71)\\n // SBOX\\n t := mulmod(s0, s0, q)\\n s0 := mulmod(mulmod(t, t, q), s0, q)\\n // MIX\\n t := add(mulmod(s0, M00, q), mulmod(s1, M01, q))\\n s1 := add(mulmod(s0, M10, q), mulmod(s1, M11, q))\\n s0 := t\\n\\n //ROUND 36 - PARTIAL\\n s0 := add(s0, C72)\\n s1 := add(s1, C73)\\n // SBOX\\n t := mulmod(s0, s0, q)\\n s0 := mulmod(mulmod(t, t, q), s0, q)\\n // MIX\\n t := add(mulmod(s0, M00, q), mulmod(s1, M01, q))\\n s1 := add(mulmod(s0, M10, q), mulmod(s1, M11, q))\\n s0 := t\\n\\n //ROUND 37 - PARTIAL\\n s0 := add(s0, C74)\\n s1 := add(s1, C75)\\n // SBOX\\n t := mulmod(s0, s0, q)\\n s0 := mulmod(mulmod(t, t, q), s0, q)\\n // MIX\\n t := add(mulmod(s0, M00, q), mulmod(s1, M01, q))\\n s1 := add(mulmod(s0, M10, q), mulmod(s1, M11, q))\\n s0 := t\\n\\n //ROUND 38 - PARTIAL\\n s0 := add(s0, C76)\\n s1 := add(s1, C77)\\n // SBOX\\n t := mulmod(s0, s0, q)\\n s0 := mulmod(mulmod(t, t, q), s0, q)\\n // MIX\\n t := add(mulmod(s0, M00, q), mulmod(s1, M01, q))\\n s1 := add(mulmod(s0, M10, q), mulmod(s1, M11, q))\\n s0 := t\\n\\n //ROUND 39 - PARTIAL\\n s0 := add(s0, C78)\\n s1 := add(s1, C79)\\n // SBOX\\n t := mulmod(s0, s0, q)\\n s0 := mulmod(mulmod(t, t, q), s0, q)\\n // MIX\\n t := add(mulmod(s0, M00, q), mulmod(s1, M01, q))\\n s1 := add(mulmod(s0, M10, q), mulmod(s1, M11, q))\\n s0 := t\\n\\n //ROUND 40 - PARTIAL\\n s0 := add(s0, C80)\\n s1 := add(s1, C81)\\n // SBOX\\n t := mulmod(s0, s0, q)\\n s0 := mulmod(mulmod(t, t, q), s0, q)\\n // MIX\\n t := add(mulmod(s0, M00, q), mulmod(s1, M01, q))\\n s1 := add(mulmod(s0, M10, q), mulmod(s1, M11, q))\\n s0 := t\\n\\n //ROUND 41 - PARTIAL\\n s0 := add(s0, C82)\\n s1 := add(s1, C83)\\n // SBOX\\n t := mulmod(s0, s0, q)\\n s0 := mulmod(mulmod(t, t, q), s0, q)\\n // MIX\\n t := add(mulmod(s0, M00, q), mulmod(s1, M01, q))\\n s1 := add(mulmod(s0, M10, q), mulmod(s1, M11, q))\\n s0 := t\\n\\n //ROUND 42 - PARTIAL\\n s0 := add(s0, C84)\\n s1 := add(s1, C85)\\n // SBOX\\n t := mulmod(s0, s0, q)\\n s0 := mulmod(mulmod(t, t, q), s0, q)\\n // MIX\\n t := add(mulmod(s0, M00, q), mulmod(s1, M01, q))\\n s1 := add(mulmod(s0, M10, q), mulmod(s1, M11, q))\\n s0 := t\\n\\n //ROUND 43 - PARTIAL\\n s0 := add(s0, C86)\\n s1 := add(s1, C87)\\n // SBOX\\n t := mulmod(s0, s0, q)\\n s0 := mulmod(mulmod(t, t, q), s0, q)\\n // MIX\\n t := add(mulmod(s0, M00, q), mulmod(s1, M01, q))\\n s1 := add(mulmod(s0, M10, q), mulmod(s1, M11, q))\\n s0 := t\\n\\n //ROUND 44 - PARTIAL\\n s0 := add(s0, C88)\\n s1 := add(s1, C89)\\n // SBOX\\n t := mulmod(s0, s0, q)\\n s0 := mulmod(mulmod(t, t, q), s0, q)\\n // MIX\\n t := add(mulmod(s0, M00, q), mulmod(s1, M01, q))\\n s1 := add(mulmod(s0, M10, q), mulmod(s1, M11, q))\\n s0 := t\\n\\n //ROUND 45 - PARTIAL\\n s0 := add(s0, C90)\\n s1 := add(s1, C91)\\n // SBOX\\n t := mulmod(s0, s0, q)\\n s0 := mulmod(mulmod(t, t, q), s0, q)\\n // MIX\\n t := add(mulmod(s0, M00, q), mulmod(s1, M01, q))\\n s1 := add(mulmod(s0, M10, q), mulmod(s1, M11, q))\\n s0 := t\\n\\n //ROUND 46 - PARTIAL\\n s0 := add(s0, C92)\\n s1 := add(s1, C93)\\n // SBOX\\n t := mulmod(s0, s0, q)\\n s0 := mulmod(mulmod(t, t, q), s0, q)\\n // MIX\\n t := add(mulmod(s0, M00, q), mulmod(s1, M01, q))\\n s1 := add(mulmod(s0, M10, q), mulmod(s1, M11, q))\\n s0 := t\\n\\n //ROUND 47 - PARTIAL\\n s0 := add(s0, C94)\\n s1 := add(s1, C95)\\n // SBOX\\n t := mulmod(s0, s0, q)\\n s0 := mulmod(mulmod(t, t, q), s0, q)\\n // MIX\\n t := add(mulmod(s0, M00, q), mulmod(s1, M01, q))\\n s1 := add(mulmod(s0, M10, q), mulmod(s1, M11, q))\\n s0 := t\\n\\n //ROUND 48 - PARTIAL\\n s0 := add(s0, C96)\\n s1 := add(s1, C97)\\n // SBOX\\n t := mulmod(s0, s0, q)\\n s0 := mulmod(mulmod(t, t, q), s0, q)\\n // MIX\\n t := add(mulmod(s0, M00, q), mulmod(s1, M01, q))\\n s1 := add(mulmod(s0, M10, q), mulmod(s1, M11, q))\\n s0 := t\\n\\n //ROUND 49 - PARTIAL\\n s0 := add(s0, C98)\\n s1 := add(s1, C99)\\n // SBOX\\n t := mulmod(s0, s0, q)\\n s0 := mulmod(mulmod(t, t, q), s0, q)\\n // MIX\\n t := add(mulmod(s0, M00, q), mulmod(s1, M01, q))\\n s1 := add(mulmod(s0, M10, q), mulmod(s1, M11, q))\\n s0 := t\\n\\n //ROUND 50 - PARTIAL\\n s0 := add(s0, C100)\\n s1 := add(s1, C101)\\n // SBOX\\n t := mulmod(s0, s0, q)\\n s0 := mulmod(mulmod(t, t, q), s0, q)\\n // MIX\\n t := add(mulmod(s0, M00, q), mulmod(s1, M01, q))\\n s1 := add(mulmod(s0, M10, q), mulmod(s1, M11, q))\\n s0 := t\\n\\n //ROUND 51 - PARTIAL\\n s0 := add(s0, C102)\\n s1 := add(s1, C103)\\n // SBOX\\n t := mulmod(s0, s0, q)\\n s0 := mulmod(mulmod(t, t, q), s0, q)\\n // MIX\\n t := add(mulmod(s0, M00, q), mulmod(s1, M01, q))\\n s1 := add(mulmod(s0, M10, q), mulmod(s1, M11, q))\\n s0 := t\\n\\n //ROUND 52 - PARTIAL\\n s0 := add(s0, C104)\\n s1 := add(s1, C105)\\n // SBOX\\n t := mulmod(s0, s0, q)\\n s0 := mulmod(mulmod(t, t, q), s0, q)\\n // MIX\\n t := add(mulmod(s0, M00, q), mulmod(s1, M01, q))\\n s1 := add(mulmod(s0, M10, q), mulmod(s1, M11, q))\\n s0 := t\\n\\n //ROUND 53 - PARTIAL\\n s0 := add(s0, C106)\\n s1 := add(s1, C107)\\n // SBOX\\n t := mulmod(s0, s0, q)\\n s0 := mulmod(mulmod(t, t, q), s0, q)\\n // MIX\\n t := add(mulmod(s0, M00, q), mulmod(s1, M01, q))\\n s1 := add(mulmod(s0, M10, q), mulmod(s1, M11, q))\\n s0 := t\\n\\n //ROUND 54 - PARTIAL\\n s0 := add(s0, C108)\\n s1 := add(s1, C109)\\n // SBOX\\n t := mulmod(s0, s0, q)\\n s0 := mulmod(mulmod(t, t, q), s0, q)\\n // MIX\\n t := add(mulmod(s0, M00, q), mulmod(s1, M01, q))\\n s1 := add(mulmod(s0, M10, q), mulmod(s1, M11, q))\\n s0 := t\\n\\n //ROUND 55 - PARTIAL\\n s0 := add(s0, C110)\\n s1 := add(s1, C111)\\n // SBOX\\n t := mulmod(s0, s0, q)\\n s0 := mulmod(mulmod(t, t, q), s0, q)\\n // MIX\\n t := add(mulmod(s0, M00, q), mulmod(s1, M01, q))\\n s1 := add(mulmod(s0, M10, q), mulmod(s1, M11, q))\\n s0 := t\\n\\n //ROUND 56 - PARTIAL\\n s0 := add(s0, C112)\\n s1 := add(s1, C113)\\n // SBOX\\n t := mulmod(s0, s0, q)\\n s0 := mulmod(mulmod(t, t, q), s0, q)\\n // MIX\\n t := add(mulmod(s0, M00, q), mulmod(s1, M01, q))\\n s1 := add(mulmod(s0, M10, q), mulmod(s1, M11, q))\\n s0 := t\\n\\n //ROUND 57 - PARTIAL\\n s0 := add(s0, C114)\\n s1 := add(s1, C115)\\n // SBOX\\n t := mulmod(s0, s0, q)\\n s0 := mulmod(mulmod(t, t, q), s0, q)\\n // MIX\\n t := add(mulmod(s0, M00, q), mulmod(s1, M01, q))\\n s1 := add(mulmod(s0, M10, q), mulmod(s1, M11, q))\\n s0 := t\\n\\n //ROUND 58 - PARTIAL\\n s0 := add(s0, C116)\\n s1 := add(s1, C117)\\n // SBOX\\n t := mulmod(s0, s0, q)\\n s0 := mulmod(mulmod(t, t, q), s0, q)\\n // MIX\\n t := add(mulmod(s0, M00, q), mulmod(s1, M01, q))\\n s1 := add(mulmod(s0, M10, q), mulmod(s1, M11, q))\\n s0 := t\\n\\n //ROUND 59 - PARTIAL\\n s0 := add(s0, C118)\\n s1 := add(s1, C119)\\n // SBOX\\n t := mulmod(s0, s0, q)\\n s0 := mulmod(mulmod(t, t, q), s0, q)\\n // MIX\\n t := add(mulmod(s0, M00, q), mulmod(s1, M01, q))\\n s1 := add(mulmod(s0, M10, q), mulmod(s1, M11, q))\\n s0 := t\\n\\n //ROUND 60 - FULL\\n s0 := add(s0, C120)\\n s1 := add(s1, C121)\\n // SBOX\\n t := mulmod(s0, s0, q)\\n s0 := mulmod(mulmod(t, t, q), s0, q)\\n t := mulmod(s1, s1, q)\\n s1 := mulmod(mulmod(t, t, q), s1, q)\\n // MIX\\n t := add(mulmod(s0, M00, q), mulmod(s1, M01, q))\\n s1 := add(mulmod(s0, M10, q), mulmod(s1, M11, q))\\n s0 := t\\n\\n //ROUND 61 - FULL\\n s0 := add(s0, C122)\\n s1 := add(s1, C123)\\n // SBOX\\n t := mulmod(s0, s0, q)\\n s0 := mulmod(mulmod(t, t, q), s0, q)\\n t := mulmod(s1, s1, q)\\n s1 := mulmod(mulmod(t, t, q), s1, q)\\n // MIX\\n t := add(mulmod(s0, M00, q), mulmod(s1, M01, q))\\n s1 := add(mulmod(s0, M10, q), mulmod(s1, M11, q))\\n s0 := t\\n\\n //ROUND 62 - FULL\\n s0 := add(s0, C124)\\n s1 := add(s1, C125)\\n // SBOX\\n t := mulmod(s0, s0, q)\\n s0 := mulmod(mulmod(t, t, q), s0, q)\\n t := mulmod(s1, s1, q)\\n s1 := mulmod(mulmod(t, t, q), s1, q)\\n // MIX\\n t := add(mulmod(s0, M00, q), mulmod(s1, M01, q))\\n s1 := add(mulmod(s0, M10, q), mulmod(s1, M11, q))\\n s0 := t\\n\\n //ROUND 63 - FULL\\n s0 := add(s0, C126)\\n s1 := add(s1, C127)\\n // SBOX\\n t := mulmod(s0, s0, q)\\n s0 := mulmod(mulmod(t, t, q), s0, q)\\n t := mulmod(s1, s1, q)\\n s1 := mulmod(mulmod(t, t, q), s1, q)\\n // MIX\\n s0 := mod(add(mulmod(s0, M00, q), mulmod(s1, M01, q)), q)\\n\\n result := s0\\n }\\n }\\n}\\n\",\"keccak256\":\"0xf351af92fff6ed1dc02f1180c0c4906e79f1b825dd76df186caa787029a8de6a\",\"license\":\"MIT\"}},\"version\":1}", + "bytecode": "0x608060405234801561001057600080fd5b50613e0b806100206000396000f3fe608060405234801561001057600080fd5b506004361061002b5760003560e01c8063b189fd4c14610030575b600080fd5b61004a60048036038101906100459190613d7e565b610060565b6040516100579190613dba565b60405180910390f35b600061006b82610072565b9050919050565b60007f30644e72e131a029b85045b68181585d2833e84879b9709143e1f593f00000017f09c46e9ec68e9bd4fe1faaba294cba38a71aa177534cdd1b6c7dc0dbd0abd7a77f0c0356530896eec42a97ed937f3135cfc5142b3ae405b8343c1d83ffa604cb81840182828309838385838409099250838283099050838285838409099150837f2b9d4b4110c9ae997782e1509b1d0fdb20a7c02bbd8bea7305462b9f8125b1e88309847f066f6f85d6f68a85ec10345351a23a3aaf07f38af8c952a7bceca70bd2af7ad58509019050837f1274e649a32ed355a31a6ed69724e1adade857e86eb5c3a121bcd147943203c88309847f0cc57cdbb08507d62bf67a4493cc262fb6c09d557013fff1f573f431221f8ff985090191508092507f1e28a1d935698ad1142e51182bb54cf4a00ea5aabd6268bd317ea977cc154a30830192507f27af2d831a9d2748080965db30e298e40e5757c3e008db964cf9e2b12b91251f82019150838384099050838385838409099250838283099050838285838409099150837f2b9d4b4110c9ae997782e1509b1d0fdb20a7c02bbd8bea7305462b9f8125b1e88309847f066f6f85d6f68a85ec10345351a23a3aaf07f38af8c952a7bceca70bd2af7ad58509019050837f1274e649a32ed355a31a6ed69724e1adade857e86eb5c3a121bcd147943203c88309847f0cc57cdbb08507d62bf67a4493cc262fb6c09d557013fff1f573f431221f8ff985090191508092507f1e6f11ce60fc8f513a6a3cfe16ae175a41291462f214cd0879aaf43545b74e03830192507f2a67384d3bbd5e438541819cb681f0be04462ed14c3613d8f719206268d142d382019150838384099050838385838409099250838283099050838285838409099150837f2b9d4b4110c9ae997782e1509b1d0fdb20a7c02bbd8bea7305462b9f8125b1e88309847f066f6f85d6f68a85ec10345351a23a3aaf07f38af8c952a7bceca70bd2af7ad58509019050837f1274e649a32ed355a31a6ed69724e1adade857e86eb5c3a121bcd147943203c88309847f0cc57cdbb08507d62bf67a4493cc262fb6c09d557013fff1f573f431221f8ff985090191508092507f0b66fdf356093a611609f8e12fbfecf0b985e381f025188936408f5d5c9f45d0830192507f012ee3ec1e78d470830c61093c2ade370b26c83cc5cebeeddaa6852dbdb09e2182019150838384099050838385838409099250838283099050838285838409099150837f2b9d4b4110c9ae997782e1509b1d0fdb20a7c02bbd8bea7305462b9f8125b1e88309847f066f6f85d6f68a85ec10345351a23a3aaf07f38af8c952a7bceca70bd2af7ad58509019050837f1274e649a32ed355a31a6ed69724e1adade857e86eb5c3a121bcd147943203c88309847f0cc57cdbb08507d62bf67a4493cc262fb6c09d557013fff1f573f431221f8ff985090191508092507f0252ba5f6760bfbdfd88f67f8175e3fd6cd1c431b099b6bb2d108e7b445bb1b9830192507f179474cceca5ff676c6bec3cef54296354391a8935ff71d6ef5aeaad7ca932f182019150838384099050838385838409099250837f2b9d4b4110c9ae997782e1509b1d0fdb20a7c02bbd8bea7305462b9f8125b1e88309847f066f6f85d6f68a85ec10345351a23a3aaf07f38af8c952a7bceca70bd2af7ad58509019050837f1274e649a32ed355a31a6ed69724e1adade857e86eb5c3a121bcd147943203c88309847f0cc57cdbb08507d62bf67a4493cc262fb6c09d557013fff1f573f431221f8ff985090191508092507f2c24261379a51bfa9228ff4a503fd4ed9c1f974a264969b37e1a2589bbed2b91830192507f1cc1d7b62692e63eac2f288bd0695b43c2f63f5001fc0fc553e66c0551801b0582019150838384099050838385838409099250837f2b9d4b4110c9ae997782e1509b1d0fdb20a7c02bbd8bea7305462b9f8125b1e88309847f066f6f85d6f68a85ec10345351a23a3aaf07f38af8c952a7bceca70bd2af7ad58509019050837f1274e649a32ed355a31a6ed69724e1adade857e86eb5c3a121bcd147943203c88309847f0cc57cdbb08507d62bf67a4493cc262fb6c09d557013fff1f573f431221f8ff985090191508092507f255059301aada98bb2ed55f852979e9600784dbf17fbacd05d9eff5fd9c91b56830192507f28437be3ac1cb2e479e1f5c0eccd32b3aea24234970a8193b11c29ce7e59efd982019150838384099050838385838409099250837f2b9d4b4110c9ae997782e1509b1d0fdb20a7c02bbd8bea7305462b9f8125b1e88309847f066f6f85d6f68a85ec10345351a23a3aaf07f38af8c952a7bceca70bd2af7ad58509019050837f1274e649a32ed355a31a6ed69724e1adade857e86eb5c3a121bcd147943203c88309847f0cc57cdbb08507d62bf67a4493cc262fb6c09d557013fff1f573f431221f8ff985090191508092507f28216a442f2e1f711ca4fa6b53766eb118548da8fb4f78d4338762c37f5f2043830192507f2c1f47cd17fa5adf1f39f4e7056dd03feee1efce03094581131f2377323482c982019150838384099050838385838409099250837f2b9d4b4110c9ae997782e1509b1d0fdb20a7c02bbd8bea7305462b9f8125b1e88309847f066f6f85d6f68a85ec10345351a23a3aaf07f38af8c952a7bceca70bd2af7ad58509019050837f1274e649a32ed355a31a6ed69724e1adade857e86eb5c3a121bcd147943203c88309847f0cc57cdbb08507d62bf67a4493cc262fb6c09d557013fff1f573f431221f8ff985090191508092507f07abad02b7a5ebc48632bcc9356ceb7dd9dafca276638a63646b8566a621afc9830192507f0230264601ffdf29275b33ffaab51dfe9429f90880a69cd137da0c4d15f96c3c82019150838384099050838385838409099250837f2b9d4b4110c9ae997782e1509b1d0fdb20a7c02bbd8bea7305462b9f8125b1e88309847f066f6f85d6f68a85ec10345351a23a3aaf07f38af8c952a7bceca70bd2af7ad58509019050837f1274e649a32ed355a31a6ed69724e1adade857e86eb5c3a121bcd147943203c88309847f0cc57cdbb08507d62bf67a4493cc262fb6c09d557013fff1f573f431221f8ff985090191508092507f1bc973054e51d905a0f168656497ca40a864414557ee289e717e5d66899aa0a9830192507f2e1c22f964435008206c3157e86341edd249aff5c2d8421f2a6b22288f0a67fc82019150838384099050838385838409099250837f2b9d4b4110c9ae997782e1509b1d0fdb20a7c02bbd8bea7305462b9f8125b1e88309847f066f6f85d6f68a85ec10345351a23a3aaf07f38af8c952a7bceca70bd2af7ad58509019050837f1274e649a32ed355a31a6ed69724e1adade857e86eb5c3a121bcd147943203c88309847f0cc57cdbb08507d62bf67a4493cc262fb6c09d557013fff1f573f431221f8ff985090191508092507f1224f38df67c5378121c1d5f461bbc509e8ea1598e46c9f7a70452bc2bba86b8830192507f02e4e69d8ba59e519280b4bd9ed0068fd7bfe8cd9dfeda1969d2989186cde20e82019150838384099050838385838409099250837f2b9d4b4110c9ae997782e1509b1d0fdb20a7c02bbd8bea7305462b9f8125b1e88309847f066f6f85d6f68a85ec10345351a23a3aaf07f38af8c952a7bceca70bd2af7ad58509019050837f1274e649a32ed355a31a6ed69724e1adade857e86eb5c3a121bcd147943203c88309847f0cc57cdbb08507d62bf67a4493cc262fb6c09d557013fff1f573f431221f8ff985090191508092507f1f1eccc34aaba0137f5df81fc04ff3ee4f19ee364e653f076d47e9735d98018e830192507f1672ad3d709a353974266c3039a9a7311424448032cd1819eacb8a4d4284f58282019150838384099050838385838409099250837f2b9d4b4110c9ae997782e1509b1d0fdb20a7c02bbd8bea7305462b9f8125b1e88309847f066f6f85d6f68a85ec10345351a23a3aaf07f38af8c952a7bceca70bd2af7ad58509019050837f1274e649a32ed355a31a6ed69724e1adade857e86eb5c3a121bcd147943203c88309847f0cc57cdbb08507d62bf67a4493cc262fb6c09d557013fff1f573f431221f8ff985090191508092507f283e3fdc2c6e420c56f44af5192b4ae9cda6961f284d24991d2ed602df8c8fc7830192507f1c2a3d120c550ecfd0db0957170fa013683751f8fdff59d6614fbd69ff394bcc82019150838384099050838385838409099250837f2b9d4b4110c9ae997782e1509b1d0fdb20a7c02bbd8bea7305462b9f8125b1e88309847f066f6f85d6f68a85ec10345351a23a3aaf07f38af8c952a7bceca70bd2af7ad58509019050837f1274e649a32ed355a31a6ed69724e1adade857e86eb5c3a121bcd147943203c88309847f0cc57cdbb08507d62bf67a4493cc262fb6c09d557013fff1f573f431221f8ff985090191508092507f216f84877aac6172f7897a7323456efe143a9a43773ea6f296cb6b8177653fbd830192507f2c0d272becf2a75764ba7e8e3e28d12bceaa47ea61ca59a411a1f51552f9478882019150838384099050838385838409099250837f2b9d4b4110c9ae997782e1509b1d0fdb20a7c02bbd8bea7305462b9f8125b1e88309847f066f6f85d6f68a85ec10345351a23a3aaf07f38af8c952a7bceca70bd2af7ad58509019050837f1274e649a32ed355a31a6ed69724e1adade857e86eb5c3a121bcd147943203c88309847f0cc57cdbb08507d62bf67a4493cc262fb6c09d557013fff1f573f431221f8ff985090191508092507f16e34299865c0e28484ee7a74c454e9f170a5480abe0508fcb4a6c3d89546f43830192507f175ceba599e96f5b375a232a6fb9cc71772047765802290f48cd939755488fc582019150838384099050838385838409099250837f2b9d4b4110c9ae997782e1509b1d0fdb20a7c02bbd8bea7305462b9f8125b1e88309847f066f6f85d6f68a85ec10345351a23a3aaf07f38af8c952a7bceca70bd2af7ad58509019050837f1274e649a32ed355a31a6ed69724e1adade857e86eb5c3a121bcd147943203c88309847f0cc57cdbb08507d62bf67a4493cc262fb6c09d557013fff1f573f431221f8ff985090191508092507f0c7594440dc48c16fead9e1758b028066aa410bfbc354f54d8c5ffbb44a1ee32830192507f1a3c29bc39f21bb5c466db7d7eb6fd8f760e20013ccf912c92479882d919fd8d82019150838384099050838385838409099250837f2b9d4b4110c9ae997782e1509b1d0fdb20a7c02bbd8bea7305462b9f8125b1e88309847f066f6f85d6f68a85ec10345351a23a3aaf07f38af8c952a7bceca70bd2af7ad58509019050837f1274e649a32ed355a31a6ed69724e1adade857e86eb5c3a121bcd147943203c88309847f0cc57cdbb08507d62bf67a4493cc262fb6c09d557013fff1f573f431221f8ff985090191508092507f0ccfdd906f3426e5c0986ea049b253400855d349074f5a6695c8eeabcd22e68f830192507f14f6bc81d9f186f62bdb475ce6c9411866a7a8a3fd065b3ce0e699b67dd9e79682019150838384099050838385838409099250837f2b9d4b4110c9ae997782e1509b1d0fdb20a7c02bbd8bea7305462b9f8125b1e88309847f066f6f85d6f68a85ec10345351a23a3aaf07f38af8c952a7bceca70bd2af7ad58509019050837f1274e649a32ed355a31a6ed69724e1adade857e86eb5c3a121bcd147943203c88309847f0cc57cdbb08507d62bf67a4493cc262fb6c09d557013fff1f573f431221f8ff985090191508092507f0962b82789fb3d129702ca70b2f6c5aacc099810c9c495c888edeb7386b97052830192507f1a880af7074d18b3bf20c79de25127bc13284ab01ef02575afef0c8f6a31a86d82019150838384099050838385838409099250837f2b9d4b4110c9ae997782e1509b1d0fdb20a7c02bbd8bea7305462b9f8125b1e88309847f066f6f85d6f68a85ec10345351a23a3aaf07f38af8c952a7bceca70bd2af7ad58509019050837f1274e649a32ed355a31a6ed69724e1adade857e86eb5c3a121bcd147943203c88309847f0cc57cdbb08507d62bf67a4493cc262fb6c09d557013fff1f573f431221f8ff985090191508092507f10cba18419a6a332cd5e77f0211c154b20af2924fc20ff3f4c3012bb7ae9311b830192507f057e62a9a8f89b3ebdc76ba63a9eaca8fa27b7319cae3406756a2849f302f10d82019150838384099050838385838409099250837f2b9d4b4110c9ae997782e1509b1d0fdb20a7c02bbd8bea7305462b9f8125b1e88309847f066f6f85d6f68a85ec10345351a23a3aaf07f38af8c952a7bceca70bd2af7ad58509019050837f1274e649a32ed355a31a6ed69724e1adade857e86eb5c3a121bcd147943203c88309847f0cc57cdbb08507d62bf67a4493cc262fb6c09d557013fff1f573f431221f8ff985090191508092507f287c971de91dc0abd44adf5384b4988cb961303bbf65cff5afa0413b44280cee830192507f21df3388af1687bbb3bca9da0cca908f1e562bc46d4aba4e6f7f7960e306891d82019150838384099050838385838409099250837f2b9d4b4110c9ae997782e1509b1d0fdb20a7c02bbd8bea7305462b9f8125b1e88309847f066f6f85d6f68a85ec10345351a23a3aaf07f38af8c952a7bceca70bd2af7ad58509019050837f1274e649a32ed355a31a6ed69724e1adade857e86eb5c3a121bcd147943203c88309847f0cc57cdbb08507d62bf67a4493cc262fb6c09d557013fff1f573f431221f8ff985090191508092507f1be5c887d25bce703e25cc974d0934cd789df8f70b498fd83eff8b560e1682b3830192507f268da36f76e568fb68117175cea2cd0dd2cb5d42fda5acea48d59c2706a0d5c182019150838384099050838385838409099250837f2b9d4b4110c9ae997782e1509b1d0fdb20a7c02bbd8bea7305462b9f8125b1e88309847f066f6f85d6f68a85ec10345351a23a3aaf07f38af8c952a7bceca70bd2af7ad58509019050837f1274e649a32ed355a31a6ed69724e1adade857e86eb5c3a121bcd147943203c88309847f0cc57cdbb08507d62bf67a4493cc262fb6c09d557013fff1f573f431221f8ff985090191508092507f0e17ab091f6eae50c609beaf5510ececc5d8bb74135ebd05bd06460cc26a5ed6830192507f04d727e728ffa0a67aee535ab074a43091ef62d8cf83d270040f5caa1f62af4082019150838384099050838385838409099250837f2b9d4b4110c9ae997782e1509b1d0fdb20a7c02bbd8bea7305462b9f8125b1e88309847f066f6f85d6f68a85ec10345351a23a3aaf07f38af8c952a7bceca70bd2af7ad58509019050837f1274e649a32ed355a31a6ed69724e1adade857e86eb5c3a121bcd147943203c88309847f0cc57cdbb08507d62bf67a4493cc262fb6c09d557013fff1f573f431221f8ff985090191508092507f0ddbd7bf9c29341581b549762bc022ed33702ac10f1bfd862b15417d7e39ca6e830192507f2790eb3351621752768162e82989c6c234f5b0d1d3af9b588a29c49c8789654b82019150838384099050838385838409099250837f2b9d4b4110c9ae997782e1509b1d0fdb20a7c02bbd8bea7305462b9f8125b1e88309847f066f6f85d6f68a85ec10345351a23a3aaf07f38af8c952a7bceca70bd2af7ad58509019050837f1274e649a32ed355a31a6ed69724e1adade857e86eb5c3a121bcd147943203c88309847f0cc57cdbb08507d62bf67a4493cc262fb6c09d557013fff1f573f431221f8ff985090191508092507f1e457c601a63b73e4471950193d8a570395f3d9ab8b2fd0984b764206142f9e9830192507f21ae64301dca9625638d6ab2bbe7135ffa90ecd0c43ff91fc4c686fc46e091b082019150838384099050838385838409099250837f2b9d4b4110c9ae997782e1509b1d0fdb20a7c02bbd8bea7305462b9f8125b1e88309847f066f6f85d6f68a85ec10345351a23a3aaf07f38af8c952a7bceca70bd2af7ad58509019050837f1274e649a32ed355a31a6ed69724e1adade857e86eb5c3a121bcd147943203c88309847f0cc57cdbb08507d62bf67a4493cc262fb6c09d557013fff1f573f431221f8ff985090191508092507f0379f63c8ce3468d4da293166f494928854be9e3432e09555858534eed8d350b830192507e2d56420359d0266a744a080809e054ca0e4921a46686ac8c9f58a324c3504982019150838384099050838385838409099250837f2b9d4b4110c9ae997782e1509b1d0fdb20a7c02bbd8bea7305462b9f8125b1e88309847f066f6f85d6f68a85ec10345351a23a3aaf07f38af8c952a7bceca70bd2af7ad58509019050837f1274e649a32ed355a31a6ed69724e1adade857e86eb5c3a121bcd147943203c88309847f0cc57cdbb08507d62bf67a4493cc262fb6c09d557013fff1f573f431221f8ff985090191508092507f123158e5965b5d9b1d68b3cd32e10bbeda8d62459e21f4090fc2c5af963515a6830192507f0be29fc40847a941661d14bbf6cbe0420fbb2b6f52836d4e60c80eb49cad9ec182019150838384099050838385838409099250837f2b9d4b4110c9ae997782e1509b1d0fdb20a7c02bbd8bea7305462b9f8125b1e88309847f066f6f85d6f68a85ec10345351a23a3aaf07f38af8c952a7bceca70bd2af7ad58509019050837f1274e649a32ed355a31a6ed69724e1adade857e86eb5c3a121bcd147943203c88309847f0cc57cdbb08507d62bf67a4493cc262fb6c09d557013fff1f573f431221f8ff985090191508092507f1ac96991dec2bb0557716142015a453c36db9d859cad5f9a233802f24fdf4c1a830192507f1596443f763dbcc25f4964fc61d23b3e5e12c9fa97f18a9251ca3355bcb0627e82019150838384099050838385838409099250837f2b9d4b4110c9ae997782e1509b1d0fdb20a7c02bbd8bea7305462b9f8125b1e88309847f066f6f85d6f68a85ec10345351a23a3aaf07f38af8c952a7bceca70bd2af7ad58509019050837f1274e649a32ed355a31a6ed69724e1adade857e86eb5c3a121bcd147943203c88309847f0cc57cdbb08507d62bf67a4493cc262fb6c09d557013fff1f573f431221f8ff985090191508092507f12e0bcd3654bdfa76b2861d4ec3aeae0f1857d9f17e715aed6d049eae3ba3212830192507f0fc92b4f1bbea82b9ea73d4af9af2a50ceabac7f37154b1904e6c76c7cf964ba82019150838384099050838385838409099250837f2b9d4b4110c9ae997782e1509b1d0fdb20a7c02bbd8bea7305462b9f8125b1e88309847f066f6f85d6f68a85ec10345351a23a3aaf07f38af8c952a7bceca70bd2af7ad58509019050837f1274e649a32ed355a31a6ed69724e1adade857e86eb5c3a121bcd147943203c88309847f0cc57cdbb08507d62bf67a4493cc262fb6c09d557013fff1f573f431221f8ff985090191508092507f1f9c0b1610446442d6f2e592a8013f40b14f7c7722236f4f9c7e965233872762830192507f0ebd74244ae72675f8cde06157a782f4050d914da38b4c058d159f643dbbf4d382019150838384099050838385838409099250837f2b9d4b4110c9ae997782e1509b1d0fdb20a7c02bbd8bea7305462b9f8125b1e88309847f066f6f85d6f68a85ec10345351a23a3aaf07f38af8c952a7bceca70bd2af7ad58509019050837f1274e649a32ed355a31a6ed69724e1adade857e86eb5c3a121bcd147943203c88309847f0cc57cdbb08507d62bf67a4493cc262fb6c09d557013fff1f573f431221f8ff985090191508092507f2cb7f0ed39e16e9f69a9fafd4ab951c03b0671e97346ee397a839839dccfc6d1830192507f1a9d6e2ecff022cc5605443ee41bab20ce761d0514ce526690c72bca7352d9bf82019150838384099050838385838409099250837f2b9d4b4110c9ae997782e1509b1d0fdb20a7c02bbd8bea7305462b9f8125b1e88309847f066f6f85d6f68a85ec10345351a23a3aaf07f38af8c952a7bceca70bd2af7ad58509019050837f1274e649a32ed355a31a6ed69724e1adade857e86eb5c3a121bcd147943203c88309847f0cc57cdbb08507d62bf67a4493cc262fb6c09d557013fff1f573f431221f8ff985090191508092507f2a115439607f335a5ea83c3bc44a9331d0c13326a9a7ba3087da182d648ec72f830192507f23f9b6529b5d040d15b8fa7aee3e3410e738b56305cd44f29535c115c5a4c06082019150838384099050838385838409099250837f2b9d4b4110c9ae997782e1509b1d0fdb20a7c02bbd8bea7305462b9f8125b1e88309847f066f6f85d6f68a85ec10345351a23a3aaf07f38af8c952a7bceca70bd2af7ad58509019050837f1274e649a32ed355a31a6ed69724e1adade857e86eb5c3a121bcd147943203c88309847f0cc57cdbb08507d62bf67a4493cc262fb6c09d557013fff1f573f431221f8ff985090191508092507f05872c16db0f72a2249ac6ba484bb9c3a3ce97c16d58b68b260eb939f0e6e8a7830192507f1300bdee08bb7824ca20fb80118075f40219b6151d55b5c52b624a7cdeddf6a782019150838384099050838385838409099250837f2b9d4b4110c9ae997782e1509b1d0fdb20a7c02bbd8bea7305462b9f8125b1e88309847f066f6f85d6f68a85ec10345351a23a3aaf07f38af8c952a7bceca70bd2af7ad58509019050837f1274e649a32ed355a31a6ed69724e1adade857e86eb5c3a121bcd147943203c88309847f0cc57cdbb08507d62bf67a4493cc262fb6c09d557013fff1f573f431221f8ff985090191508092507f19b9b63d2f108e17e63817863a8f6c288d7ad29916d98cb1072e4e7b7d52b376830192507f015bee1357e3c015b5bda237668522f613d1c88726b5ec4224a20128481b4f7f82019150838384099050838385838409099250837f2b9d4b4110c9ae997782e1509b1d0fdb20a7c02bbd8bea7305462b9f8125b1e88309847f066f6f85d6f68a85ec10345351a23a3aaf07f38af8c952a7bceca70bd2af7ad58509019050837f1274e649a32ed355a31a6ed69724e1adade857e86eb5c3a121bcd147943203c88309847f0cc57cdbb08507d62bf67a4493cc262fb6c09d557013fff1f573f431221f8ff985090191508092507f2953736e94bb6b9f1b9707a4f1615e4efe1e1ce4bab218cbea92c785b128ffd1830192507f0b069353ba091618862f806180c0385f851b98d372b45f544ce7266ed6608dfc82019150838384099050838385838409099250837f2b9d4b4110c9ae997782e1509b1d0fdb20a7c02bbd8bea7305462b9f8125b1e88309847f066f6f85d6f68a85ec10345351a23a3aaf07f38af8c952a7bceca70bd2af7ad58509019050837f1274e649a32ed355a31a6ed69724e1adade857e86eb5c3a121bcd147943203c88309847f0cc57cdbb08507d62bf67a4493cc262fb6c09d557013fff1f573f431221f8ff985090191508092507f304f74d461ccc13115e4e0bcfb93817e55aeb7eb9306b64e4f588ac97d81f429830192507f15bbf146ce9bca09e8a33f5e77dfe4f5aad2a164a4617a4cb8ee5415cde913fc82019150838384099050838385838409099250837f2b9d4b4110c9ae997782e1509b1d0fdb20a7c02bbd8bea7305462b9f8125b1e88309847f066f6f85d6f68a85ec10345351a23a3aaf07f38af8c952a7bceca70bd2af7ad58509019050837f1274e649a32ed355a31a6ed69724e1adade857e86eb5c3a121bcd147943203c88309847f0cc57cdbb08507d62bf67a4493cc262fb6c09d557013fff1f573f431221f8ff985090191508092507f0ab4dfe0c2742cde44901031487964ed9b8f4b850405c10ca9ff23859572c8c6830192507f0e32db320a044e3197f45f7649a19675ef5eedfea546dea9251de39f9639779a82019150838384099050838385838409099250837f2b9d4b4110c9ae997782e1509b1d0fdb20a7c02bbd8bea7305462b9f8125b1e88309847f066f6f85d6f68a85ec10345351a23a3aaf07f38af8c952a7bceca70bd2af7ad58509019050837f1274e649a32ed355a31a6ed69724e1adade857e86eb5c3a121bcd147943203c88309847f0cc57cdbb08507d62bf67a4493cc262fb6c09d557013fff1f573f431221f8ff985090191508092507f0a1756aa1f378ca4b27635a78b6888e66797733a82774896a3078efa516da016830192507f044c4a33b10f693447fd17177f952ef895e61d328f85efa94254d6a2a25d93ef82019150838384099050838385838409099250837f2b9d4b4110c9ae997782e1509b1d0fdb20a7c02bbd8bea7305462b9f8125b1e88309847f066f6f85d6f68a85ec10345351a23a3aaf07f38af8c952a7bceca70bd2af7ad58509019050837f1274e649a32ed355a31a6ed69724e1adade857e86eb5c3a121bcd147943203c88309847f0cc57cdbb08507d62bf67a4493cc262fb6c09d557013fff1f573f431221f8ff985090191508092507f2ed3611b725b8a70be655b537f66f700fe0879d79a496891d37b07b5466c4b8b830192507f1f9ba4e8bab7ce42c8ecc3d722aa2e0eadfdeb9cfdd347b5d8339ea7120858aa82019150838384099050838385838409099250837f2b9d4b4110c9ae997782e1509b1d0fdb20a7c02bbd8bea7305462b9f8125b1e88309847f066f6f85d6f68a85ec10345351a23a3aaf07f38af8c952a7bceca70bd2af7ad58509019050837f1274e649a32ed355a31a6ed69724e1adade857e86eb5c3a121bcd147943203c88309847f0cc57cdbb08507d62bf67a4493cc262fb6c09d557013fff1f573f431221f8ff985090191508092507f1b233043052e8c288f7ee907a84e518aa38e82ac4502066db74056f865c5d3da830192507f2431e1cc164bb8d074031ab72bd55b4c902053bfc0f14db0ca2f97b02087595482019150838384099050838385838409099250837f2b9d4b4110c9ae997782e1509b1d0fdb20a7c02bbd8bea7305462b9f8125b1e88309847f066f6f85d6f68a85ec10345351a23a3aaf07f38af8c952a7bceca70bd2af7ad58509019050837f1274e649a32ed355a31a6ed69724e1adade857e86eb5c3a121bcd147943203c88309847f0cc57cdbb08507d62bf67a4493cc262fb6c09d557013fff1f573f431221f8ff985090191508092507f082f934c91f5aac330cd6953a0a7db45a13e322097583319a791f273965801fd830192507f2b9a0a223e7538b0a34be074315542a3c77245e2ae7cbe999ad6bb930c48997c82019150838384099050838385838409099250837f2b9d4b4110c9ae997782e1509b1d0fdb20a7c02bbd8bea7305462b9f8125b1e88309847f066f6f85d6f68a85ec10345351a23a3aaf07f38af8c952a7bceca70bd2af7ad58509019050837f1274e649a32ed355a31a6ed69724e1adade857e86eb5c3a121bcd147943203c88309847f0cc57cdbb08507d62bf67a4493cc262fb6c09d557013fff1f573f431221f8ff985090191508092507f0e1cd91edd2cfa2cceb85483b887a9be8164163e75a8a00eb0b589cc70214e7d830192507f2e1eac0f2bfdfd63c951f61477e3698999774f19854d00f588d324601cebe2f982019150838384099050838385838409099250837f2b9d4b4110c9ae997782e1509b1d0fdb20a7c02bbd8bea7305462b9f8125b1e88309847f066f6f85d6f68a85ec10345351a23a3aaf07f38af8c952a7bceca70bd2af7ad58509019050837f1274e649a32ed355a31a6ed69724e1adade857e86eb5c3a121bcd147943203c88309847f0cc57cdbb08507d62bf67a4493cc262fb6c09d557013fff1f573f431221f8ff985090191508092507f0cbfa95f37fb74060c76158e769d6d157345784d8efdb33c23d748115b500b83830192507f08f05b3be923ed44d65ad49d8a61e9a676d991e3a77513d9980c232dfa4a4f8482019150838384099050838385838409099250837f2b9d4b4110c9ae997782e1509b1d0fdb20a7c02bbd8bea7305462b9f8125b1e88309847f066f6f85d6f68a85ec10345351a23a3aaf07f38af8c952a7bceca70bd2af7ad58509019050837f1274e649a32ed355a31a6ed69724e1adade857e86eb5c3a121bcd147943203c88309847f0cc57cdbb08507d62bf67a4493cc262fb6c09d557013fff1f573f431221f8ff985090191508092507f22719e2a070bcd0852bf8e21984d0443e7284925dc0758a325a2dd510c047ef6830192507f041f596a9ee1cb2bc060f7fcc3a1ab4c7bdbf036119982c0f41f62b2f26830c082019150838384099050838385838409099250837f2b9d4b4110c9ae997782e1509b1d0fdb20a7c02bbd8bea7305462b9f8125b1e88309847f066f6f85d6f68a85ec10345351a23a3aaf07f38af8c952a7bceca70bd2af7ad58509019050837f1274e649a32ed355a31a6ed69724e1adade857e86eb5c3a121bcd147943203c88309847f0cc57cdbb08507d62bf67a4493cc262fb6c09d557013fff1f573f431221f8ff985090191508092507f233fd35de1be520a87628eb06f6b1d4c021be1c2d0dc464a19fcdd0986b10f89830192507f0524b46d1aa87a5e4325e0a423ebc810d31e078aa1b4707eefcb453c61c9c26782019150838384099050838385838409099250837f2b9d4b4110c9ae997782e1509b1d0fdb20a7c02bbd8bea7305462b9f8125b1e88309847f066f6f85d6f68a85ec10345351a23a3aaf07f38af8c952a7bceca70bd2af7ad58509019050837f1274e649a32ed355a31a6ed69724e1adade857e86eb5c3a121bcd147943203c88309847f0cc57cdbb08507d62bf67a4493cc262fb6c09d557013fff1f573f431221f8ff985090191508092507f2c34f424c81e5716ce47fcac894b85824227bb954b0f3199cc4486237c515211830192507f0b5f2a4b63387819207effc2b5541fb72dd2025b5457cc97f33010327de4915e82019150838384099050838385838409099250837f2b9d4b4110c9ae997782e1509b1d0fdb20a7c02bbd8bea7305462b9f8125b1e88309847f066f6f85d6f68a85ec10345351a23a3aaf07f38af8c952a7bceca70bd2af7ad58509019050837f1274e649a32ed355a31a6ed69724e1adade857e86eb5c3a121bcd147943203c88309847f0cc57cdbb08507d62bf67a4493cc262fb6c09d557013fff1f573f431221f8ff985090191508092507f22207856082ccc54c5b72fe439d2cfd6c17435d2f57af6ceaefac41fe05c659f830192507f24d57a8bf5da63fe4e24159b7f8950b5cdfb210194caf79f27854048ce2c817182019150838384099050838385838409099250837f2b9d4b4110c9ae997782e1509b1d0fdb20a7c02bbd8bea7305462b9f8125b1e88309847f066f6f85d6f68a85ec10345351a23a3aaf07f38af8c952a7bceca70bd2af7ad58509019050837f1274e649a32ed355a31a6ed69724e1adade857e86eb5c3a121bcd147943203c88309847f0cc57cdbb08507d62bf67a4493cc262fb6c09d557013fff1f573f431221f8ff985090191508092507f0afab181fdd5e0583b371d75bd693f98374ad7097bb01a8573919bb23b79396e830192507f2dba9b108f208772998a52efac7cbd5676c0057194c16c0bf16290d62b1128ee82019150838384099050838385838409099250837f2b9d4b4110c9ae997782e1509b1d0fdb20a7c02bbd8bea7305462b9f8125b1e88309847f066f6f85d6f68a85ec10345351a23a3aaf07f38af8c952a7bceca70bd2af7ad58509019050837f1274e649a32ed355a31a6ed69724e1adade857e86eb5c3a121bcd147943203c88309847f0cc57cdbb08507d62bf67a4493cc262fb6c09d557013fff1f573f431221f8ff985090191508092507f26349b66edb8b16f56f881c788f53f83cbb83de0bd592b255aff13e6bce420b3830192507f25af7ce0e5e10357685e95f92339753ad81a56d28ecc193b235288a3e6f137db82019150838384099050838385838409099250837f2b9d4b4110c9ae997782e1509b1d0fdb20a7c02bbd8bea7305462b9f8125b1e88309847f066f6f85d6f68a85ec10345351a23a3aaf07f38af8c952a7bceca70bd2af7ad58509019050837f1274e649a32ed355a31a6ed69724e1adade857e86eb5c3a121bcd147943203c88309847f0cc57cdbb08507d62bf67a4493cc262fb6c09d557013fff1f573f431221f8ff985090191508092507f25b4ce7bd2294390c094d6a55edd68b970eed7aae88b2bff1f7c0187fe35011f830192507f22c543f10f6c89ec387e53f1908a88e5de9cef28ebdf30b18cb9d54c1e02b63182019150838384099050838385838409099250837f2b9d4b4110c9ae997782e1509b1d0fdb20a7c02bbd8bea7305462b9f8125b1e88309847f066f6f85d6f68a85ec10345351a23a3aaf07f38af8c952a7bceca70bd2af7ad58509019050837f1274e649a32ed355a31a6ed69724e1adade857e86eb5c3a121bcd147943203c88309847f0cc57cdbb08507d62bf67a4493cc262fb6c09d557013fff1f573f431221f8ff985090191508092507f0236f93e7789c4724fc7908a9f191e1e425e906a919d7a34df668e74882f87a9830192507f29350b401166ca010e7d27e37d05da99652bdae114eb01659cb497af980c4b5282019150838384099050838385838409099250837f2b9d4b4110c9ae997782e1509b1d0fdb20a7c02bbd8bea7305462b9f8125b1e88309847f066f6f85d6f68a85ec10345351a23a3aaf07f38af8c952a7bceca70bd2af7ad58509019050837f1274e649a32ed355a31a6ed69724e1adade857e86eb5c3a121bcd147943203c88309847f0cc57cdbb08507d62bf67a4493cc262fb6c09d557013fff1f573f431221f8ff985090191508092507f0eed787d65820d3f6bd31bbab547f75a65edb75d844ebb89ee1260916652363f830192507f07cc1170f13b46f2036a753f520b3291fdcd0e99bd94297d1906f656f4de6fad82019150838384099050838385838409099250837f2b9d4b4110c9ae997782e1509b1d0fdb20a7c02bbd8bea7305462b9f8125b1e88309847f066f6f85d6f68a85ec10345351a23a3aaf07f38af8c952a7bceca70bd2af7ad58509019050837f1274e649a32ed355a31a6ed69724e1adade857e86eb5c3a121bcd147943203c88309847f0cc57cdbb08507d62bf67a4493cc262fb6c09d557013fff1f573f431221f8ff985090191508092507f22b939233b1d7205f49bcf613a3d30b1908786d7f9f5d10c2059435689e8acea830192507f01451762a0aab81c8aad1dc8bc33e870740f083a5aa85438add650ace60ae5a682019150838384099050838385838409099250837f2b9d4b4110c9ae997782e1509b1d0fdb20a7c02bbd8bea7305462b9f8125b1e88309847f066f6f85d6f68a85ec10345351a23a3aaf07f38af8c952a7bceca70bd2af7ad58509019050837f1274e649a32ed355a31a6ed69724e1adade857e86eb5c3a121bcd147943203c88309847f0cc57cdbb08507d62bf67a4493cc262fb6c09d557013fff1f573f431221f8ff985090191508092507f23506bb5d8727d4461fabf1025d46d1fe32eaa61dec7da57e704fec0892fce89830192507f2e484c44e838aea0bac06ae3f71bdd092a3709531e1efea97f8bd6890735552282019150838384099050838385838409099250837f2b9d4b4110c9ae997782e1509b1d0fdb20a7c02bbd8bea7305462b9f8125b1e88309847f066f6f85d6f68a85ec10345351a23a3aaf07f38af8c952a7bceca70bd2af7ad58509019050837f1274e649a32ed355a31a6ed69724e1adade857e86eb5c3a121bcd147943203c88309847f0cc57cdbb08507d62bf67a4493cc262fb6c09d557013fff1f573f431221f8ff985090191508092507f0f4bc7d07ebafd64379e78c50bd2e42baf4a594545cedc2545418da26835b54c830192507f1f4d3c8f6583e9e5fa76637862faaee851582388725df460e620996d50d8e74e82019150838384099050838385838409099250837f2b9d4b4110c9ae997782e1509b1d0fdb20a7c02bbd8bea7305462b9f8125b1e88309847f066f6f85d6f68a85ec10345351a23a3aaf07f38af8c952a7bceca70bd2af7ad58509019050837f1274e649a32ed355a31a6ed69724e1adade857e86eb5c3a121bcd147943203c88309847f0cc57cdbb08507d62bf67a4493cc262fb6c09d557013fff1f573f431221f8ff985090191508092507f093514e0c70711f82660d07be0e4a988fae02abc7b681d9153eb9bcb48fe7389830192507f1adab0c8e2b3bad346699a2b5f3bc03643ee83ece47228f24a58e0a347e153d882019150838384099050838385838409099250837f2b9d4b4110c9ae997782e1509b1d0fdb20a7c02bbd8bea7305462b9f8125b1e88309847f066f6f85d6f68a85ec10345351a23a3aaf07f38af8c952a7bceca70bd2af7ad58509019050837f1274e649a32ed355a31a6ed69724e1adade857e86eb5c3a121bcd147943203c88309847f0cc57cdbb08507d62bf67a4493cc262fb6c09d557013fff1f573f431221f8ff985090191508092507f1672b1726057d99dd14709ebb474641a378c1b94b8072bac1a22dbef9e80dad2830192507f1dfd53d4576af2e38f44f53fdcab468cc5d8e2fae0acc4ee30d47b239b479c1482019150838384099050838385838409099250837f2b9d4b4110c9ae997782e1509b1d0fdb20a7c02bbd8bea7305462b9f8125b1e88309847f066f6f85d6f68a85ec10345351a23a3aaf07f38af8c952a7bceca70bd2af7ad58509019050837f1274e649a32ed355a31a6ed69724e1adade857e86eb5c3a121bcd147943203c88309847f0cc57cdbb08507d62bf67a4493cc262fb6c09d557013fff1f573f431221f8ff985090191508092507f0c6888a10b75b0f3a70a36263a37e17fe6d77d640f6fc3debc7f207753205c60830192507f1addb933a65be77092b34a7e77d12fe8611a61e00ee6848b85091ecca9d1e50882019150838384099050838385838409099250837f2b9d4b4110c9ae997782e1509b1d0fdb20a7c02bbd8bea7305462b9f8125b1e88309847f066f6f85d6f68a85ec10345351a23a3aaf07f38af8c952a7bceca70bd2af7ad58509019050837f1274e649a32ed355a31a6ed69724e1adade857e86eb5c3a121bcd147943203c88309847f0cc57cdbb08507d62bf67a4493cc262fb6c09d557013fff1f573f431221f8ff985090191508092507ed7540dcd268a845c10ae18d1de933cf638ff5425f0afff7935628e299d1791830192507f140c0e42687e9ead01b2827a5664ca9c26fedde4acd99db1d316939d20b82c0e82019150838384099050838385838409099250837f2b9d4b4110c9ae997782e1509b1d0fdb20a7c02bbd8bea7305462b9f8125b1e88309847f066f6f85d6f68a85ec10345351a23a3aaf07f38af8c952a7bceca70bd2af7ad58509019050837f1274e649a32ed355a31a6ed69724e1adade857e86eb5c3a121bcd147943203c88309847f0cc57cdbb08507d62bf67a4493cc262fb6c09d557013fff1f573f431221f8ff985090191508092507f2f0c3a115d4317d191ba89b8d13d1806c20a0f9b24f8c5edc091e2ae56565984830192507f0c4ee778ff7c14553006ed220cf9c81008a0cff670b22b82d8c538a1dc958c6182019150838384099050838385838409099250837f2b9d4b4110c9ae997782e1509b1d0fdb20a7c02bbd8bea7305462b9f8125b1e88309847f066f6f85d6f68a85ec10345351a23a3aaf07f38af8c952a7bceca70bd2af7ad58509019050837f1274e649a32ed355a31a6ed69724e1adade857e86eb5c3a121bcd147943203c88309847f0cc57cdbb08507d62bf67a4493cc262fb6c09d557013fff1f573f431221f8ff985090191508092507f1704f2766d46f82c3693f00440ccc3609424ed26c0acc66227c3d7485de74c69830192507f2f2d19cc3ea5d78ea7a02c1b51d244abf0769c9f8544e40239b66fe9009c3cfa82019150838384099050838385838409099250837f2b9d4b4110c9ae997782e1509b1d0fdb20a7c02bbd8bea7305462b9f8125b1e88309847f066f6f85d6f68a85ec10345351a23a3aaf07f38af8c952a7bceca70bd2af7ad58509019050837f1274e649a32ed355a31a6ed69724e1adade857e86eb5c3a121bcd147943203c88309847f0cc57cdbb08507d62bf67a4493cc262fb6c09d557013fff1f573f431221f8ff985090191508092507f1ae03853b75fcaba5053f112e2a8e8dcdd7ee6cb9cfed9c7d6c766a806fc6629830192507f0971aabf795241df51d131d0fa61aa5f3556921b2d6f014e4e41a86ddaf056d582019150838384099050838385838409099250838283099050838285838409099150837f2b9d4b4110c9ae997782e1509b1d0fdb20a7c02bbd8bea7305462b9f8125b1e88309847f066f6f85d6f68a85ec10345351a23a3aaf07f38af8c952a7bceca70bd2af7ad58509019050837f1274e649a32ed355a31a6ed69724e1adade857e86eb5c3a121bcd147943203c88309847f0cc57cdbb08507d62bf67a4493cc262fb6c09d557013fff1f573f431221f8ff985090191508092507f1408c316e6014e1a91d4cf6b6e0de73eda624f8380df1c875f5c29f7bfe2f646830192507f1667f3fe2edbe850248abe42b543093b6c89f1f773ef285341691f39822ef5bd82019150838384099050838385838409099250838283099050838285838409099150837f2b9d4b4110c9ae997782e1509b1d0fdb20a7c02bbd8bea7305462b9f8125b1e88309847f066f6f85d6f68a85ec10345351a23a3aaf07f38af8c952a7bceca70bd2af7ad58509019050837f1274e649a32ed355a31a6ed69724e1adade857e86eb5c3a121bcd147943203c88309847f0cc57cdbb08507d62bf67a4493cc262fb6c09d557013fff1f573f431221f8ff985090191508092507f13bf7c5d0d2c4376a48b0a03557cdf915b81718409e5c133424c69576500fe37830192507f07620a6dfb0b6cec3016adf3d3533c24024b95347856b79719bc0ba743a62c2c82019150838384099050838385838409099250838283099050838285838409099150837f2b9d4b4110c9ae997782e1509b1d0fdb20a7c02bbd8bea7305462b9f8125b1e88309847f066f6f85d6f68a85ec10345351a23a3aaf07f38af8c952a7bceca70bd2af7ad58509019050837f1274e649a32ed355a31a6ed69724e1adade857e86eb5c3a121bcd147943203c88309847f0cc57cdbb08507d62bf67a4493cc262fb6c09d557013fff1f573f431221f8ff985090191508092507f1574c7ef0c43545f36a8ca08bdbdd8b075d2959e2f322b731675de3e1982b4d0830192507f269e4b5b7a2eb21afd567970a717ceec5bd4184571c254fdc06e03a7ff8378f08201915083838409905083838583840909925083828309905083828583840909915083847f2b9d4b4110c9ae997782e1509b1d0fdb20a7c02bbd8bea7305462b9f8125b1e88409857f066f6f85d6f68a85ec10345351a23a3aaf07f38af8c952a7bceca70bd2af7ad586090106925082945050505050919050565b600080fd5b6000819050919050565b613d5b81613d48565b8114613d6657600080fd5b50565b600081359050613d7881613d52565b92915050565b600060208284031215613d9457613d93613d43565b5b6000613da284828501613d69565b91505092915050565b613db481613d48565b82525050565b6000602082019050613dcf6000830184613dab565b9291505056fea2646970667358221220990df31685b31c63744b01bc207e4768c1c06108de2290d14567b05c11973cb064736f6c634300080f0033", + "deployedBytecode": "0x608060405234801561001057600080fd5b506004361061002b5760003560e01c8063b189fd4c14610030575b600080fd5b61004a60048036038101906100459190613d7e565b610060565b6040516100579190613dba565b60405180910390f35b600061006b82610072565b9050919050565b60007f30644e72e131a029b85045b68181585d2833e84879b9709143e1f593f00000017f09c46e9ec68e9bd4fe1faaba294cba38a71aa177534cdd1b6c7dc0dbd0abd7a77f0c0356530896eec42a97ed937f3135cfc5142b3ae405b8343c1d83ffa604cb81840182828309838385838409099250838283099050838285838409099150837f2b9d4b4110c9ae997782e1509b1d0fdb20a7c02bbd8bea7305462b9f8125b1e88309847f066f6f85d6f68a85ec10345351a23a3aaf07f38af8c952a7bceca70bd2af7ad58509019050837f1274e649a32ed355a31a6ed69724e1adade857e86eb5c3a121bcd147943203c88309847f0cc57cdbb08507d62bf67a4493cc262fb6c09d557013fff1f573f431221f8ff985090191508092507f1e28a1d935698ad1142e51182bb54cf4a00ea5aabd6268bd317ea977cc154a30830192507f27af2d831a9d2748080965db30e298e40e5757c3e008db964cf9e2b12b91251f82019150838384099050838385838409099250838283099050838285838409099150837f2b9d4b4110c9ae997782e1509b1d0fdb20a7c02bbd8bea7305462b9f8125b1e88309847f066f6f85d6f68a85ec10345351a23a3aaf07f38af8c952a7bceca70bd2af7ad58509019050837f1274e649a32ed355a31a6ed69724e1adade857e86eb5c3a121bcd147943203c88309847f0cc57cdbb08507d62bf67a4493cc262fb6c09d557013fff1f573f431221f8ff985090191508092507f1e6f11ce60fc8f513a6a3cfe16ae175a41291462f214cd0879aaf43545b74e03830192507f2a67384d3bbd5e438541819cb681f0be04462ed14c3613d8f719206268d142d382019150838384099050838385838409099250838283099050838285838409099150837f2b9d4b4110c9ae997782e1509b1d0fdb20a7c02bbd8bea7305462b9f8125b1e88309847f066f6f85d6f68a85ec10345351a23a3aaf07f38af8c952a7bceca70bd2af7ad58509019050837f1274e649a32ed355a31a6ed69724e1adade857e86eb5c3a121bcd147943203c88309847f0cc57cdbb08507d62bf67a4493cc262fb6c09d557013fff1f573f431221f8ff985090191508092507f0b66fdf356093a611609f8e12fbfecf0b985e381f025188936408f5d5c9f45d0830192507f012ee3ec1e78d470830c61093c2ade370b26c83cc5cebeeddaa6852dbdb09e2182019150838384099050838385838409099250838283099050838285838409099150837f2b9d4b4110c9ae997782e1509b1d0fdb20a7c02bbd8bea7305462b9f8125b1e88309847f066f6f85d6f68a85ec10345351a23a3aaf07f38af8c952a7bceca70bd2af7ad58509019050837f1274e649a32ed355a31a6ed69724e1adade857e86eb5c3a121bcd147943203c88309847f0cc57cdbb08507d62bf67a4493cc262fb6c09d557013fff1f573f431221f8ff985090191508092507f0252ba5f6760bfbdfd88f67f8175e3fd6cd1c431b099b6bb2d108e7b445bb1b9830192507f179474cceca5ff676c6bec3cef54296354391a8935ff71d6ef5aeaad7ca932f182019150838384099050838385838409099250837f2b9d4b4110c9ae997782e1509b1d0fdb20a7c02bbd8bea7305462b9f8125b1e88309847f066f6f85d6f68a85ec10345351a23a3aaf07f38af8c952a7bceca70bd2af7ad58509019050837f1274e649a32ed355a31a6ed69724e1adade857e86eb5c3a121bcd147943203c88309847f0cc57cdbb08507d62bf67a4493cc262fb6c09d557013fff1f573f431221f8ff985090191508092507f2c24261379a51bfa9228ff4a503fd4ed9c1f974a264969b37e1a2589bbed2b91830192507f1cc1d7b62692e63eac2f288bd0695b43c2f63f5001fc0fc553e66c0551801b0582019150838384099050838385838409099250837f2b9d4b4110c9ae997782e1509b1d0fdb20a7c02bbd8bea7305462b9f8125b1e88309847f066f6f85d6f68a85ec10345351a23a3aaf07f38af8c952a7bceca70bd2af7ad58509019050837f1274e649a32ed355a31a6ed69724e1adade857e86eb5c3a121bcd147943203c88309847f0cc57cdbb08507d62bf67a4493cc262fb6c09d557013fff1f573f431221f8ff985090191508092507f255059301aada98bb2ed55f852979e9600784dbf17fbacd05d9eff5fd9c91b56830192507f28437be3ac1cb2e479e1f5c0eccd32b3aea24234970a8193b11c29ce7e59efd982019150838384099050838385838409099250837f2b9d4b4110c9ae997782e1509b1d0fdb20a7c02bbd8bea7305462b9f8125b1e88309847f066f6f85d6f68a85ec10345351a23a3aaf07f38af8c952a7bceca70bd2af7ad58509019050837f1274e649a32ed355a31a6ed69724e1adade857e86eb5c3a121bcd147943203c88309847f0cc57cdbb08507d62bf67a4493cc262fb6c09d557013fff1f573f431221f8ff985090191508092507f28216a442f2e1f711ca4fa6b53766eb118548da8fb4f78d4338762c37f5f2043830192507f2c1f47cd17fa5adf1f39f4e7056dd03feee1efce03094581131f2377323482c982019150838384099050838385838409099250837f2b9d4b4110c9ae997782e1509b1d0fdb20a7c02bbd8bea7305462b9f8125b1e88309847f066f6f85d6f68a85ec10345351a23a3aaf07f38af8c952a7bceca70bd2af7ad58509019050837f1274e649a32ed355a31a6ed69724e1adade857e86eb5c3a121bcd147943203c88309847f0cc57cdbb08507d62bf67a4493cc262fb6c09d557013fff1f573f431221f8ff985090191508092507f07abad02b7a5ebc48632bcc9356ceb7dd9dafca276638a63646b8566a621afc9830192507f0230264601ffdf29275b33ffaab51dfe9429f90880a69cd137da0c4d15f96c3c82019150838384099050838385838409099250837f2b9d4b4110c9ae997782e1509b1d0fdb20a7c02bbd8bea7305462b9f8125b1e88309847f066f6f85d6f68a85ec10345351a23a3aaf07f38af8c952a7bceca70bd2af7ad58509019050837f1274e649a32ed355a31a6ed69724e1adade857e86eb5c3a121bcd147943203c88309847f0cc57cdbb08507d62bf67a4493cc262fb6c09d557013fff1f573f431221f8ff985090191508092507f1bc973054e51d905a0f168656497ca40a864414557ee289e717e5d66899aa0a9830192507f2e1c22f964435008206c3157e86341edd249aff5c2d8421f2a6b22288f0a67fc82019150838384099050838385838409099250837f2b9d4b4110c9ae997782e1509b1d0fdb20a7c02bbd8bea7305462b9f8125b1e88309847f066f6f85d6f68a85ec10345351a23a3aaf07f38af8c952a7bceca70bd2af7ad58509019050837f1274e649a32ed355a31a6ed69724e1adade857e86eb5c3a121bcd147943203c88309847f0cc57cdbb08507d62bf67a4493cc262fb6c09d557013fff1f573f431221f8ff985090191508092507f1224f38df67c5378121c1d5f461bbc509e8ea1598e46c9f7a70452bc2bba86b8830192507f02e4e69d8ba59e519280b4bd9ed0068fd7bfe8cd9dfeda1969d2989186cde20e82019150838384099050838385838409099250837f2b9d4b4110c9ae997782e1509b1d0fdb20a7c02bbd8bea7305462b9f8125b1e88309847f066f6f85d6f68a85ec10345351a23a3aaf07f38af8c952a7bceca70bd2af7ad58509019050837f1274e649a32ed355a31a6ed69724e1adade857e86eb5c3a121bcd147943203c88309847f0cc57cdbb08507d62bf67a4493cc262fb6c09d557013fff1f573f431221f8ff985090191508092507f1f1eccc34aaba0137f5df81fc04ff3ee4f19ee364e653f076d47e9735d98018e830192507f1672ad3d709a353974266c3039a9a7311424448032cd1819eacb8a4d4284f58282019150838384099050838385838409099250837f2b9d4b4110c9ae997782e1509b1d0fdb20a7c02bbd8bea7305462b9f8125b1e88309847f066f6f85d6f68a85ec10345351a23a3aaf07f38af8c952a7bceca70bd2af7ad58509019050837f1274e649a32ed355a31a6ed69724e1adade857e86eb5c3a121bcd147943203c88309847f0cc57cdbb08507d62bf67a4493cc262fb6c09d557013fff1f573f431221f8ff985090191508092507f283e3fdc2c6e420c56f44af5192b4ae9cda6961f284d24991d2ed602df8c8fc7830192507f1c2a3d120c550ecfd0db0957170fa013683751f8fdff59d6614fbd69ff394bcc82019150838384099050838385838409099250837f2b9d4b4110c9ae997782e1509b1d0fdb20a7c02bbd8bea7305462b9f8125b1e88309847f066f6f85d6f68a85ec10345351a23a3aaf07f38af8c952a7bceca70bd2af7ad58509019050837f1274e649a32ed355a31a6ed69724e1adade857e86eb5c3a121bcd147943203c88309847f0cc57cdbb08507d62bf67a4493cc262fb6c09d557013fff1f573f431221f8ff985090191508092507f216f84877aac6172f7897a7323456efe143a9a43773ea6f296cb6b8177653fbd830192507f2c0d272becf2a75764ba7e8e3e28d12bceaa47ea61ca59a411a1f51552f9478882019150838384099050838385838409099250837f2b9d4b4110c9ae997782e1509b1d0fdb20a7c02bbd8bea7305462b9f8125b1e88309847f066f6f85d6f68a85ec10345351a23a3aaf07f38af8c952a7bceca70bd2af7ad58509019050837f1274e649a32ed355a31a6ed69724e1adade857e86eb5c3a121bcd147943203c88309847f0cc57cdbb08507d62bf67a4493cc262fb6c09d557013fff1f573f431221f8ff985090191508092507f16e34299865c0e28484ee7a74c454e9f170a5480abe0508fcb4a6c3d89546f43830192507f175ceba599e96f5b375a232a6fb9cc71772047765802290f48cd939755488fc582019150838384099050838385838409099250837f2b9d4b4110c9ae997782e1509b1d0fdb20a7c02bbd8bea7305462b9f8125b1e88309847f066f6f85d6f68a85ec10345351a23a3aaf07f38af8c952a7bceca70bd2af7ad58509019050837f1274e649a32ed355a31a6ed69724e1adade857e86eb5c3a121bcd147943203c88309847f0cc57cdbb08507d62bf67a4493cc262fb6c09d557013fff1f573f431221f8ff985090191508092507f0c7594440dc48c16fead9e1758b028066aa410bfbc354f54d8c5ffbb44a1ee32830192507f1a3c29bc39f21bb5c466db7d7eb6fd8f760e20013ccf912c92479882d919fd8d82019150838384099050838385838409099250837f2b9d4b4110c9ae997782e1509b1d0fdb20a7c02bbd8bea7305462b9f8125b1e88309847f066f6f85d6f68a85ec10345351a23a3aaf07f38af8c952a7bceca70bd2af7ad58509019050837f1274e649a32ed355a31a6ed69724e1adade857e86eb5c3a121bcd147943203c88309847f0cc57cdbb08507d62bf67a4493cc262fb6c09d557013fff1f573f431221f8ff985090191508092507f0ccfdd906f3426e5c0986ea049b253400855d349074f5a6695c8eeabcd22e68f830192507f14f6bc81d9f186f62bdb475ce6c9411866a7a8a3fd065b3ce0e699b67dd9e79682019150838384099050838385838409099250837f2b9d4b4110c9ae997782e1509b1d0fdb20a7c02bbd8bea7305462b9f8125b1e88309847f066f6f85d6f68a85ec10345351a23a3aaf07f38af8c952a7bceca70bd2af7ad58509019050837f1274e649a32ed355a31a6ed69724e1adade857e86eb5c3a121bcd147943203c88309847f0cc57cdbb08507d62bf67a4493cc262fb6c09d557013fff1f573f431221f8ff985090191508092507f0962b82789fb3d129702ca70b2f6c5aacc099810c9c495c888edeb7386b97052830192507f1a880af7074d18b3bf20c79de25127bc13284ab01ef02575afef0c8f6a31a86d82019150838384099050838385838409099250837f2b9d4b4110c9ae997782e1509b1d0fdb20a7c02bbd8bea7305462b9f8125b1e88309847f066f6f85d6f68a85ec10345351a23a3aaf07f38af8c952a7bceca70bd2af7ad58509019050837f1274e649a32ed355a31a6ed69724e1adade857e86eb5c3a121bcd147943203c88309847f0cc57cdbb08507d62bf67a4493cc262fb6c09d557013fff1f573f431221f8ff985090191508092507f10cba18419a6a332cd5e77f0211c154b20af2924fc20ff3f4c3012bb7ae9311b830192507f057e62a9a8f89b3ebdc76ba63a9eaca8fa27b7319cae3406756a2849f302f10d82019150838384099050838385838409099250837f2b9d4b4110c9ae997782e1509b1d0fdb20a7c02bbd8bea7305462b9f8125b1e88309847f066f6f85d6f68a85ec10345351a23a3aaf07f38af8c952a7bceca70bd2af7ad58509019050837f1274e649a32ed355a31a6ed69724e1adade857e86eb5c3a121bcd147943203c88309847f0cc57cdbb08507d62bf67a4493cc262fb6c09d557013fff1f573f431221f8ff985090191508092507f287c971de91dc0abd44adf5384b4988cb961303bbf65cff5afa0413b44280cee830192507f21df3388af1687bbb3bca9da0cca908f1e562bc46d4aba4e6f7f7960e306891d82019150838384099050838385838409099250837f2b9d4b4110c9ae997782e1509b1d0fdb20a7c02bbd8bea7305462b9f8125b1e88309847f066f6f85d6f68a85ec10345351a23a3aaf07f38af8c952a7bceca70bd2af7ad58509019050837f1274e649a32ed355a31a6ed69724e1adade857e86eb5c3a121bcd147943203c88309847f0cc57cdbb08507d62bf67a4493cc262fb6c09d557013fff1f573f431221f8ff985090191508092507f1be5c887d25bce703e25cc974d0934cd789df8f70b498fd83eff8b560e1682b3830192507f268da36f76e568fb68117175cea2cd0dd2cb5d42fda5acea48d59c2706a0d5c182019150838384099050838385838409099250837f2b9d4b4110c9ae997782e1509b1d0fdb20a7c02bbd8bea7305462b9f8125b1e88309847f066f6f85d6f68a85ec10345351a23a3aaf07f38af8c952a7bceca70bd2af7ad58509019050837f1274e649a32ed355a31a6ed69724e1adade857e86eb5c3a121bcd147943203c88309847f0cc57cdbb08507d62bf67a4493cc262fb6c09d557013fff1f573f431221f8ff985090191508092507f0e17ab091f6eae50c609beaf5510ececc5d8bb74135ebd05bd06460cc26a5ed6830192507f04d727e728ffa0a67aee535ab074a43091ef62d8cf83d270040f5caa1f62af4082019150838384099050838385838409099250837f2b9d4b4110c9ae997782e1509b1d0fdb20a7c02bbd8bea7305462b9f8125b1e88309847f066f6f85d6f68a85ec10345351a23a3aaf07f38af8c952a7bceca70bd2af7ad58509019050837f1274e649a32ed355a31a6ed69724e1adade857e86eb5c3a121bcd147943203c88309847f0cc57cdbb08507d62bf67a4493cc262fb6c09d557013fff1f573f431221f8ff985090191508092507f0ddbd7bf9c29341581b549762bc022ed33702ac10f1bfd862b15417d7e39ca6e830192507f2790eb3351621752768162e82989c6c234f5b0d1d3af9b588a29c49c8789654b82019150838384099050838385838409099250837f2b9d4b4110c9ae997782e1509b1d0fdb20a7c02bbd8bea7305462b9f8125b1e88309847f066f6f85d6f68a85ec10345351a23a3aaf07f38af8c952a7bceca70bd2af7ad58509019050837f1274e649a32ed355a31a6ed69724e1adade857e86eb5c3a121bcd147943203c88309847f0cc57cdbb08507d62bf67a4493cc262fb6c09d557013fff1f573f431221f8ff985090191508092507f1e457c601a63b73e4471950193d8a570395f3d9ab8b2fd0984b764206142f9e9830192507f21ae64301dca9625638d6ab2bbe7135ffa90ecd0c43ff91fc4c686fc46e091b082019150838384099050838385838409099250837f2b9d4b4110c9ae997782e1509b1d0fdb20a7c02bbd8bea7305462b9f8125b1e88309847f066f6f85d6f68a85ec10345351a23a3aaf07f38af8c952a7bceca70bd2af7ad58509019050837f1274e649a32ed355a31a6ed69724e1adade857e86eb5c3a121bcd147943203c88309847f0cc57cdbb08507d62bf67a4493cc262fb6c09d557013fff1f573f431221f8ff985090191508092507f0379f63c8ce3468d4da293166f494928854be9e3432e09555858534eed8d350b830192507e2d56420359d0266a744a080809e054ca0e4921a46686ac8c9f58a324c3504982019150838384099050838385838409099250837f2b9d4b4110c9ae997782e1509b1d0fdb20a7c02bbd8bea7305462b9f8125b1e88309847f066f6f85d6f68a85ec10345351a23a3aaf07f38af8c952a7bceca70bd2af7ad58509019050837f1274e649a32ed355a31a6ed69724e1adade857e86eb5c3a121bcd147943203c88309847f0cc57cdbb08507d62bf67a4493cc262fb6c09d557013fff1f573f431221f8ff985090191508092507f123158e5965b5d9b1d68b3cd32e10bbeda8d62459e21f4090fc2c5af963515a6830192507f0be29fc40847a941661d14bbf6cbe0420fbb2b6f52836d4e60c80eb49cad9ec182019150838384099050838385838409099250837f2b9d4b4110c9ae997782e1509b1d0fdb20a7c02bbd8bea7305462b9f8125b1e88309847f066f6f85d6f68a85ec10345351a23a3aaf07f38af8c952a7bceca70bd2af7ad58509019050837f1274e649a32ed355a31a6ed69724e1adade857e86eb5c3a121bcd147943203c88309847f0cc57cdbb08507d62bf67a4493cc262fb6c09d557013fff1f573f431221f8ff985090191508092507f1ac96991dec2bb0557716142015a453c36db9d859cad5f9a233802f24fdf4c1a830192507f1596443f763dbcc25f4964fc61d23b3e5e12c9fa97f18a9251ca3355bcb0627e82019150838384099050838385838409099250837f2b9d4b4110c9ae997782e1509b1d0fdb20a7c02bbd8bea7305462b9f8125b1e88309847f066f6f85d6f68a85ec10345351a23a3aaf07f38af8c952a7bceca70bd2af7ad58509019050837f1274e649a32ed355a31a6ed69724e1adade857e86eb5c3a121bcd147943203c88309847f0cc57cdbb08507d62bf67a4493cc262fb6c09d557013fff1f573f431221f8ff985090191508092507f12e0bcd3654bdfa76b2861d4ec3aeae0f1857d9f17e715aed6d049eae3ba3212830192507f0fc92b4f1bbea82b9ea73d4af9af2a50ceabac7f37154b1904e6c76c7cf964ba82019150838384099050838385838409099250837f2b9d4b4110c9ae997782e1509b1d0fdb20a7c02bbd8bea7305462b9f8125b1e88309847f066f6f85d6f68a85ec10345351a23a3aaf07f38af8c952a7bceca70bd2af7ad58509019050837f1274e649a32ed355a31a6ed69724e1adade857e86eb5c3a121bcd147943203c88309847f0cc57cdbb08507d62bf67a4493cc262fb6c09d557013fff1f573f431221f8ff985090191508092507f1f9c0b1610446442d6f2e592a8013f40b14f7c7722236f4f9c7e965233872762830192507f0ebd74244ae72675f8cde06157a782f4050d914da38b4c058d159f643dbbf4d382019150838384099050838385838409099250837f2b9d4b4110c9ae997782e1509b1d0fdb20a7c02bbd8bea7305462b9f8125b1e88309847f066f6f85d6f68a85ec10345351a23a3aaf07f38af8c952a7bceca70bd2af7ad58509019050837f1274e649a32ed355a31a6ed69724e1adade857e86eb5c3a121bcd147943203c88309847f0cc57cdbb08507d62bf67a4493cc262fb6c09d557013fff1f573f431221f8ff985090191508092507f2cb7f0ed39e16e9f69a9fafd4ab951c03b0671e97346ee397a839839dccfc6d1830192507f1a9d6e2ecff022cc5605443ee41bab20ce761d0514ce526690c72bca7352d9bf82019150838384099050838385838409099250837f2b9d4b4110c9ae997782e1509b1d0fdb20a7c02bbd8bea7305462b9f8125b1e88309847f066f6f85d6f68a85ec10345351a23a3aaf07f38af8c952a7bceca70bd2af7ad58509019050837f1274e649a32ed355a31a6ed69724e1adade857e86eb5c3a121bcd147943203c88309847f0cc57cdbb08507d62bf67a4493cc262fb6c09d557013fff1f573f431221f8ff985090191508092507f2a115439607f335a5ea83c3bc44a9331d0c13326a9a7ba3087da182d648ec72f830192507f23f9b6529b5d040d15b8fa7aee3e3410e738b56305cd44f29535c115c5a4c06082019150838384099050838385838409099250837f2b9d4b4110c9ae997782e1509b1d0fdb20a7c02bbd8bea7305462b9f8125b1e88309847f066f6f85d6f68a85ec10345351a23a3aaf07f38af8c952a7bceca70bd2af7ad58509019050837f1274e649a32ed355a31a6ed69724e1adade857e86eb5c3a121bcd147943203c88309847f0cc57cdbb08507d62bf67a4493cc262fb6c09d557013fff1f573f431221f8ff985090191508092507f05872c16db0f72a2249ac6ba484bb9c3a3ce97c16d58b68b260eb939f0e6e8a7830192507f1300bdee08bb7824ca20fb80118075f40219b6151d55b5c52b624a7cdeddf6a782019150838384099050838385838409099250837f2b9d4b4110c9ae997782e1509b1d0fdb20a7c02bbd8bea7305462b9f8125b1e88309847f066f6f85d6f68a85ec10345351a23a3aaf07f38af8c952a7bceca70bd2af7ad58509019050837f1274e649a32ed355a31a6ed69724e1adade857e86eb5c3a121bcd147943203c88309847f0cc57cdbb08507d62bf67a4493cc262fb6c09d557013fff1f573f431221f8ff985090191508092507f19b9b63d2f108e17e63817863a8f6c288d7ad29916d98cb1072e4e7b7d52b376830192507f015bee1357e3c015b5bda237668522f613d1c88726b5ec4224a20128481b4f7f82019150838384099050838385838409099250837f2b9d4b4110c9ae997782e1509b1d0fdb20a7c02bbd8bea7305462b9f8125b1e88309847f066f6f85d6f68a85ec10345351a23a3aaf07f38af8c952a7bceca70bd2af7ad58509019050837f1274e649a32ed355a31a6ed69724e1adade857e86eb5c3a121bcd147943203c88309847f0cc57cdbb08507d62bf67a4493cc262fb6c09d557013fff1f573f431221f8ff985090191508092507f2953736e94bb6b9f1b9707a4f1615e4efe1e1ce4bab218cbea92c785b128ffd1830192507f0b069353ba091618862f806180c0385f851b98d372b45f544ce7266ed6608dfc82019150838384099050838385838409099250837f2b9d4b4110c9ae997782e1509b1d0fdb20a7c02bbd8bea7305462b9f8125b1e88309847f066f6f85d6f68a85ec10345351a23a3aaf07f38af8c952a7bceca70bd2af7ad58509019050837f1274e649a32ed355a31a6ed69724e1adade857e86eb5c3a121bcd147943203c88309847f0cc57cdbb08507d62bf67a4493cc262fb6c09d557013fff1f573f431221f8ff985090191508092507f304f74d461ccc13115e4e0bcfb93817e55aeb7eb9306b64e4f588ac97d81f429830192507f15bbf146ce9bca09e8a33f5e77dfe4f5aad2a164a4617a4cb8ee5415cde913fc82019150838384099050838385838409099250837f2b9d4b4110c9ae997782e1509b1d0fdb20a7c02bbd8bea7305462b9f8125b1e88309847f066f6f85d6f68a85ec10345351a23a3aaf07f38af8c952a7bceca70bd2af7ad58509019050837f1274e649a32ed355a31a6ed69724e1adade857e86eb5c3a121bcd147943203c88309847f0cc57cdbb08507d62bf67a4493cc262fb6c09d557013fff1f573f431221f8ff985090191508092507f0ab4dfe0c2742cde44901031487964ed9b8f4b850405c10ca9ff23859572c8c6830192507f0e32db320a044e3197f45f7649a19675ef5eedfea546dea9251de39f9639779a82019150838384099050838385838409099250837f2b9d4b4110c9ae997782e1509b1d0fdb20a7c02bbd8bea7305462b9f8125b1e88309847f066f6f85d6f68a85ec10345351a23a3aaf07f38af8c952a7bceca70bd2af7ad58509019050837f1274e649a32ed355a31a6ed69724e1adade857e86eb5c3a121bcd147943203c88309847f0cc57cdbb08507d62bf67a4493cc262fb6c09d557013fff1f573f431221f8ff985090191508092507f0a1756aa1f378ca4b27635a78b6888e66797733a82774896a3078efa516da016830192507f044c4a33b10f693447fd17177f952ef895e61d328f85efa94254d6a2a25d93ef82019150838384099050838385838409099250837f2b9d4b4110c9ae997782e1509b1d0fdb20a7c02bbd8bea7305462b9f8125b1e88309847f066f6f85d6f68a85ec10345351a23a3aaf07f38af8c952a7bceca70bd2af7ad58509019050837f1274e649a32ed355a31a6ed69724e1adade857e86eb5c3a121bcd147943203c88309847f0cc57cdbb08507d62bf67a4493cc262fb6c09d557013fff1f573f431221f8ff985090191508092507f2ed3611b725b8a70be655b537f66f700fe0879d79a496891d37b07b5466c4b8b830192507f1f9ba4e8bab7ce42c8ecc3d722aa2e0eadfdeb9cfdd347b5d8339ea7120858aa82019150838384099050838385838409099250837f2b9d4b4110c9ae997782e1509b1d0fdb20a7c02bbd8bea7305462b9f8125b1e88309847f066f6f85d6f68a85ec10345351a23a3aaf07f38af8c952a7bceca70bd2af7ad58509019050837f1274e649a32ed355a31a6ed69724e1adade857e86eb5c3a121bcd147943203c88309847f0cc57cdbb08507d62bf67a4493cc262fb6c09d557013fff1f573f431221f8ff985090191508092507f1b233043052e8c288f7ee907a84e518aa38e82ac4502066db74056f865c5d3da830192507f2431e1cc164bb8d074031ab72bd55b4c902053bfc0f14db0ca2f97b02087595482019150838384099050838385838409099250837f2b9d4b4110c9ae997782e1509b1d0fdb20a7c02bbd8bea7305462b9f8125b1e88309847f066f6f85d6f68a85ec10345351a23a3aaf07f38af8c952a7bceca70bd2af7ad58509019050837f1274e649a32ed355a31a6ed69724e1adade857e86eb5c3a121bcd147943203c88309847f0cc57cdbb08507d62bf67a4493cc262fb6c09d557013fff1f573f431221f8ff985090191508092507f082f934c91f5aac330cd6953a0a7db45a13e322097583319a791f273965801fd830192507f2b9a0a223e7538b0a34be074315542a3c77245e2ae7cbe999ad6bb930c48997c82019150838384099050838385838409099250837f2b9d4b4110c9ae997782e1509b1d0fdb20a7c02bbd8bea7305462b9f8125b1e88309847f066f6f85d6f68a85ec10345351a23a3aaf07f38af8c952a7bceca70bd2af7ad58509019050837f1274e649a32ed355a31a6ed69724e1adade857e86eb5c3a121bcd147943203c88309847f0cc57cdbb08507d62bf67a4493cc262fb6c09d557013fff1f573f431221f8ff985090191508092507f0e1cd91edd2cfa2cceb85483b887a9be8164163e75a8a00eb0b589cc70214e7d830192507f2e1eac0f2bfdfd63c951f61477e3698999774f19854d00f588d324601cebe2f982019150838384099050838385838409099250837f2b9d4b4110c9ae997782e1509b1d0fdb20a7c02bbd8bea7305462b9f8125b1e88309847f066f6f85d6f68a85ec10345351a23a3aaf07f38af8c952a7bceca70bd2af7ad58509019050837f1274e649a32ed355a31a6ed69724e1adade857e86eb5c3a121bcd147943203c88309847f0cc57cdbb08507d62bf67a4493cc262fb6c09d557013fff1f573f431221f8ff985090191508092507f0cbfa95f37fb74060c76158e769d6d157345784d8efdb33c23d748115b500b83830192507f08f05b3be923ed44d65ad49d8a61e9a676d991e3a77513d9980c232dfa4a4f8482019150838384099050838385838409099250837f2b9d4b4110c9ae997782e1509b1d0fdb20a7c02bbd8bea7305462b9f8125b1e88309847f066f6f85d6f68a85ec10345351a23a3aaf07f38af8c952a7bceca70bd2af7ad58509019050837f1274e649a32ed355a31a6ed69724e1adade857e86eb5c3a121bcd147943203c88309847f0cc57cdbb08507d62bf67a4493cc262fb6c09d557013fff1f573f431221f8ff985090191508092507f22719e2a070bcd0852bf8e21984d0443e7284925dc0758a325a2dd510c047ef6830192507f041f596a9ee1cb2bc060f7fcc3a1ab4c7bdbf036119982c0f41f62b2f26830c082019150838384099050838385838409099250837f2b9d4b4110c9ae997782e1509b1d0fdb20a7c02bbd8bea7305462b9f8125b1e88309847f066f6f85d6f68a85ec10345351a23a3aaf07f38af8c952a7bceca70bd2af7ad58509019050837f1274e649a32ed355a31a6ed69724e1adade857e86eb5c3a121bcd147943203c88309847f0cc57cdbb08507d62bf67a4493cc262fb6c09d557013fff1f573f431221f8ff985090191508092507f233fd35de1be520a87628eb06f6b1d4c021be1c2d0dc464a19fcdd0986b10f89830192507f0524b46d1aa87a5e4325e0a423ebc810d31e078aa1b4707eefcb453c61c9c26782019150838384099050838385838409099250837f2b9d4b4110c9ae997782e1509b1d0fdb20a7c02bbd8bea7305462b9f8125b1e88309847f066f6f85d6f68a85ec10345351a23a3aaf07f38af8c952a7bceca70bd2af7ad58509019050837f1274e649a32ed355a31a6ed69724e1adade857e86eb5c3a121bcd147943203c88309847f0cc57cdbb08507d62bf67a4493cc262fb6c09d557013fff1f573f431221f8ff985090191508092507f2c34f424c81e5716ce47fcac894b85824227bb954b0f3199cc4486237c515211830192507f0b5f2a4b63387819207effc2b5541fb72dd2025b5457cc97f33010327de4915e82019150838384099050838385838409099250837f2b9d4b4110c9ae997782e1509b1d0fdb20a7c02bbd8bea7305462b9f8125b1e88309847f066f6f85d6f68a85ec10345351a23a3aaf07f38af8c952a7bceca70bd2af7ad58509019050837f1274e649a32ed355a31a6ed69724e1adade857e86eb5c3a121bcd147943203c88309847f0cc57cdbb08507d62bf67a4493cc262fb6c09d557013fff1f573f431221f8ff985090191508092507f22207856082ccc54c5b72fe439d2cfd6c17435d2f57af6ceaefac41fe05c659f830192507f24d57a8bf5da63fe4e24159b7f8950b5cdfb210194caf79f27854048ce2c817182019150838384099050838385838409099250837f2b9d4b4110c9ae997782e1509b1d0fdb20a7c02bbd8bea7305462b9f8125b1e88309847f066f6f85d6f68a85ec10345351a23a3aaf07f38af8c952a7bceca70bd2af7ad58509019050837f1274e649a32ed355a31a6ed69724e1adade857e86eb5c3a121bcd147943203c88309847f0cc57cdbb08507d62bf67a4493cc262fb6c09d557013fff1f573f431221f8ff985090191508092507f0afab181fdd5e0583b371d75bd693f98374ad7097bb01a8573919bb23b79396e830192507f2dba9b108f208772998a52efac7cbd5676c0057194c16c0bf16290d62b1128ee82019150838384099050838385838409099250837f2b9d4b4110c9ae997782e1509b1d0fdb20a7c02bbd8bea7305462b9f8125b1e88309847f066f6f85d6f68a85ec10345351a23a3aaf07f38af8c952a7bceca70bd2af7ad58509019050837f1274e649a32ed355a31a6ed69724e1adade857e86eb5c3a121bcd147943203c88309847f0cc57cdbb08507d62bf67a4493cc262fb6c09d557013fff1f573f431221f8ff985090191508092507f26349b66edb8b16f56f881c788f53f83cbb83de0bd592b255aff13e6bce420b3830192507f25af7ce0e5e10357685e95f92339753ad81a56d28ecc193b235288a3e6f137db82019150838384099050838385838409099250837f2b9d4b4110c9ae997782e1509b1d0fdb20a7c02bbd8bea7305462b9f8125b1e88309847f066f6f85d6f68a85ec10345351a23a3aaf07f38af8c952a7bceca70bd2af7ad58509019050837f1274e649a32ed355a31a6ed69724e1adade857e86eb5c3a121bcd147943203c88309847f0cc57cdbb08507d62bf67a4493cc262fb6c09d557013fff1f573f431221f8ff985090191508092507f25b4ce7bd2294390c094d6a55edd68b970eed7aae88b2bff1f7c0187fe35011f830192507f22c543f10f6c89ec387e53f1908a88e5de9cef28ebdf30b18cb9d54c1e02b63182019150838384099050838385838409099250837f2b9d4b4110c9ae997782e1509b1d0fdb20a7c02bbd8bea7305462b9f8125b1e88309847f066f6f85d6f68a85ec10345351a23a3aaf07f38af8c952a7bceca70bd2af7ad58509019050837f1274e649a32ed355a31a6ed69724e1adade857e86eb5c3a121bcd147943203c88309847f0cc57cdbb08507d62bf67a4493cc262fb6c09d557013fff1f573f431221f8ff985090191508092507f0236f93e7789c4724fc7908a9f191e1e425e906a919d7a34df668e74882f87a9830192507f29350b401166ca010e7d27e37d05da99652bdae114eb01659cb497af980c4b5282019150838384099050838385838409099250837f2b9d4b4110c9ae997782e1509b1d0fdb20a7c02bbd8bea7305462b9f8125b1e88309847f066f6f85d6f68a85ec10345351a23a3aaf07f38af8c952a7bceca70bd2af7ad58509019050837f1274e649a32ed355a31a6ed69724e1adade857e86eb5c3a121bcd147943203c88309847f0cc57cdbb08507d62bf67a4493cc262fb6c09d557013fff1f573f431221f8ff985090191508092507f0eed787d65820d3f6bd31bbab547f75a65edb75d844ebb89ee1260916652363f830192507f07cc1170f13b46f2036a753f520b3291fdcd0e99bd94297d1906f656f4de6fad82019150838384099050838385838409099250837f2b9d4b4110c9ae997782e1509b1d0fdb20a7c02bbd8bea7305462b9f8125b1e88309847f066f6f85d6f68a85ec10345351a23a3aaf07f38af8c952a7bceca70bd2af7ad58509019050837f1274e649a32ed355a31a6ed69724e1adade857e86eb5c3a121bcd147943203c88309847f0cc57cdbb08507d62bf67a4493cc262fb6c09d557013fff1f573f431221f8ff985090191508092507f22b939233b1d7205f49bcf613a3d30b1908786d7f9f5d10c2059435689e8acea830192507f01451762a0aab81c8aad1dc8bc33e870740f083a5aa85438add650ace60ae5a682019150838384099050838385838409099250837f2b9d4b4110c9ae997782e1509b1d0fdb20a7c02bbd8bea7305462b9f8125b1e88309847f066f6f85d6f68a85ec10345351a23a3aaf07f38af8c952a7bceca70bd2af7ad58509019050837f1274e649a32ed355a31a6ed69724e1adade857e86eb5c3a121bcd147943203c88309847f0cc57cdbb08507d62bf67a4493cc262fb6c09d557013fff1f573f431221f8ff985090191508092507f23506bb5d8727d4461fabf1025d46d1fe32eaa61dec7da57e704fec0892fce89830192507f2e484c44e838aea0bac06ae3f71bdd092a3709531e1efea97f8bd6890735552282019150838384099050838385838409099250837f2b9d4b4110c9ae997782e1509b1d0fdb20a7c02bbd8bea7305462b9f8125b1e88309847f066f6f85d6f68a85ec10345351a23a3aaf07f38af8c952a7bceca70bd2af7ad58509019050837f1274e649a32ed355a31a6ed69724e1adade857e86eb5c3a121bcd147943203c88309847f0cc57cdbb08507d62bf67a4493cc262fb6c09d557013fff1f573f431221f8ff985090191508092507f0f4bc7d07ebafd64379e78c50bd2e42baf4a594545cedc2545418da26835b54c830192507f1f4d3c8f6583e9e5fa76637862faaee851582388725df460e620996d50d8e74e82019150838384099050838385838409099250837f2b9d4b4110c9ae997782e1509b1d0fdb20a7c02bbd8bea7305462b9f8125b1e88309847f066f6f85d6f68a85ec10345351a23a3aaf07f38af8c952a7bceca70bd2af7ad58509019050837f1274e649a32ed355a31a6ed69724e1adade857e86eb5c3a121bcd147943203c88309847f0cc57cdbb08507d62bf67a4493cc262fb6c09d557013fff1f573f431221f8ff985090191508092507f093514e0c70711f82660d07be0e4a988fae02abc7b681d9153eb9bcb48fe7389830192507f1adab0c8e2b3bad346699a2b5f3bc03643ee83ece47228f24a58e0a347e153d882019150838384099050838385838409099250837f2b9d4b4110c9ae997782e1509b1d0fdb20a7c02bbd8bea7305462b9f8125b1e88309847f066f6f85d6f68a85ec10345351a23a3aaf07f38af8c952a7bceca70bd2af7ad58509019050837f1274e649a32ed355a31a6ed69724e1adade857e86eb5c3a121bcd147943203c88309847f0cc57cdbb08507d62bf67a4493cc262fb6c09d557013fff1f573f431221f8ff985090191508092507f1672b1726057d99dd14709ebb474641a378c1b94b8072bac1a22dbef9e80dad2830192507f1dfd53d4576af2e38f44f53fdcab468cc5d8e2fae0acc4ee30d47b239b479c1482019150838384099050838385838409099250837f2b9d4b4110c9ae997782e1509b1d0fdb20a7c02bbd8bea7305462b9f8125b1e88309847f066f6f85d6f68a85ec10345351a23a3aaf07f38af8c952a7bceca70bd2af7ad58509019050837f1274e649a32ed355a31a6ed69724e1adade857e86eb5c3a121bcd147943203c88309847f0cc57cdbb08507d62bf67a4493cc262fb6c09d557013fff1f573f431221f8ff985090191508092507f0c6888a10b75b0f3a70a36263a37e17fe6d77d640f6fc3debc7f207753205c60830192507f1addb933a65be77092b34a7e77d12fe8611a61e00ee6848b85091ecca9d1e50882019150838384099050838385838409099250837f2b9d4b4110c9ae997782e1509b1d0fdb20a7c02bbd8bea7305462b9f8125b1e88309847f066f6f85d6f68a85ec10345351a23a3aaf07f38af8c952a7bceca70bd2af7ad58509019050837f1274e649a32ed355a31a6ed69724e1adade857e86eb5c3a121bcd147943203c88309847f0cc57cdbb08507d62bf67a4493cc262fb6c09d557013fff1f573f431221f8ff985090191508092507ed7540dcd268a845c10ae18d1de933cf638ff5425f0afff7935628e299d1791830192507f140c0e42687e9ead01b2827a5664ca9c26fedde4acd99db1d316939d20b82c0e82019150838384099050838385838409099250837f2b9d4b4110c9ae997782e1509b1d0fdb20a7c02bbd8bea7305462b9f8125b1e88309847f066f6f85d6f68a85ec10345351a23a3aaf07f38af8c952a7bceca70bd2af7ad58509019050837f1274e649a32ed355a31a6ed69724e1adade857e86eb5c3a121bcd147943203c88309847f0cc57cdbb08507d62bf67a4493cc262fb6c09d557013fff1f573f431221f8ff985090191508092507f2f0c3a115d4317d191ba89b8d13d1806c20a0f9b24f8c5edc091e2ae56565984830192507f0c4ee778ff7c14553006ed220cf9c81008a0cff670b22b82d8c538a1dc958c6182019150838384099050838385838409099250837f2b9d4b4110c9ae997782e1509b1d0fdb20a7c02bbd8bea7305462b9f8125b1e88309847f066f6f85d6f68a85ec10345351a23a3aaf07f38af8c952a7bceca70bd2af7ad58509019050837f1274e649a32ed355a31a6ed69724e1adade857e86eb5c3a121bcd147943203c88309847f0cc57cdbb08507d62bf67a4493cc262fb6c09d557013fff1f573f431221f8ff985090191508092507f1704f2766d46f82c3693f00440ccc3609424ed26c0acc66227c3d7485de74c69830192507f2f2d19cc3ea5d78ea7a02c1b51d244abf0769c9f8544e40239b66fe9009c3cfa82019150838384099050838385838409099250837f2b9d4b4110c9ae997782e1509b1d0fdb20a7c02bbd8bea7305462b9f8125b1e88309847f066f6f85d6f68a85ec10345351a23a3aaf07f38af8c952a7bceca70bd2af7ad58509019050837f1274e649a32ed355a31a6ed69724e1adade857e86eb5c3a121bcd147943203c88309847f0cc57cdbb08507d62bf67a4493cc262fb6c09d557013fff1f573f431221f8ff985090191508092507f1ae03853b75fcaba5053f112e2a8e8dcdd7ee6cb9cfed9c7d6c766a806fc6629830192507f0971aabf795241df51d131d0fa61aa5f3556921b2d6f014e4e41a86ddaf056d582019150838384099050838385838409099250838283099050838285838409099150837f2b9d4b4110c9ae997782e1509b1d0fdb20a7c02bbd8bea7305462b9f8125b1e88309847f066f6f85d6f68a85ec10345351a23a3aaf07f38af8c952a7bceca70bd2af7ad58509019050837f1274e649a32ed355a31a6ed69724e1adade857e86eb5c3a121bcd147943203c88309847f0cc57cdbb08507d62bf67a4493cc262fb6c09d557013fff1f573f431221f8ff985090191508092507f1408c316e6014e1a91d4cf6b6e0de73eda624f8380df1c875f5c29f7bfe2f646830192507f1667f3fe2edbe850248abe42b543093b6c89f1f773ef285341691f39822ef5bd82019150838384099050838385838409099250838283099050838285838409099150837f2b9d4b4110c9ae997782e1509b1d0fdb20a7c02bbd8bea7305462b9f8125b1e88309847f066f6f85d6f68a85ec10345351a23a3aaf07f38af8c952a7bceca70bd2af7ad58509019050837f1274e649a32ed355a31a6ed69724e1adade857e86eb5c3a121bcd147943203c88309847f0cc57cdbb08507d62bf67a4493cc262fb6c09d557013fff1f573f431221f8ff985090191508092507f13bf7c5d0d2c4376a48b0a03557cdf915b81718409e5c133424c69576500fe37830192507f07620a6dfb0b6cec3016adf3d3533c24024b95347856b79719bc0ba743a62c2c82019150838384099050838385838409099250838283099050838285838409099150837f2b9d4b4110c9ae997782e1509b1d0fdb20a7c02bbd8bea7305462b9f8125b1e88309847f066f6f85d6f68a85ec10345351a23a3aaf07f38af8c952a7bceca70bd2af7ad58509019050837f1274e649a32ed355a31a6ed69724e1adade857e86eb5c3a121bcd147943203c88309847f0cc57cdbb08507d62bf67a4493cc262fb6c09d557013fff1f573f431221f8ff985090191508092507f1574c7ef0c43545f36a8ca08bdbdd8b075d2959e2f322b731675de3e1982b4d0830192507f269e4b5b7a2eb21afd567970a717ceec5bd4184571c254fdc06e03a7ff8378f08201915083838409905083838583840909925083828309905083828583840909915083847f2b9d4b4110c9ae997782e1509b1d0fdb20a7c02bbd8bea7305462b9f8125b1e88409857f066f6f85d6f68a85ec10345351a23a3aaf07f38af8c952a7bceca70bd2af7ad586090106925082945050505050919050565b600080fd5b6000819050919050565b613d5b81613d48565b8114613d6657600080fd5b50565b600081359050613d7881613d52565b92915050565b600060208284031215613d9457613d93613d43565b5b6000613da284828501613d69565b91505092915050565b613db481613d48565b82525050565b6000602082019050613dcf6000830184613dab565b9291505056fea2646970667358221220990df31685b31c63744b01bc207e4768c1c06108de2290d14567b05c11973cb064736f6c634300080f0033", "devdoc": { "kind": "dev", - "methods": {}, + "methods": { + "hash(uint256)": { + "params": { + "input": "The input to hash" + } + } + }, "version": 1 }, "userdoc": { "kind": "user", - "methods": {}, + "methods": { + "hash(uint256)": { + "notice": "Hashes the input using the Poseidon hash function, n = 2, second input is the constant 0" + } + }, "version": 1 }, "storageLayout": { diff --git a/deployments/sepolia/RLN.json b/deployments/sepolia/RLN.json index 2f883ae..be6a96e 100644 --- a/deployments/sepolia/RLN.json +++ b/deployments/sepolia/RLN.json @@ -1,5 +1,5 @@ { - "address": "0x4B11778822690DefA80934B3203C170ed6B5d317", + "address": "0x9C09146844C1326c2dBC41c451766C7138F88155", "abi": [ { "inputs": [ @@ -22,6 +22,86 @@ "stateMutability": "nonpayable", "type": "constructor" }, + { + "inputs": [], + "name": "DuplicateIdCommitment", + "type": "error" + }, + { + "inputs": [], + "name": "EmptyBatch", + "type": "error" + }, + { + "inputs": [], + "name": "FullBatch", + "type": "error" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "required", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "provided", + "type": "uint256" + } + ], + "name": "InsufficientDeposit", + "type": "error" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "to", + "type": "address" + } + ], + "name": "InvalidWithdrawalAddress", + "type": "error" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "idCommitment", + "type": "uint256" + } + ], + "name": "MemberHasNoStake", + "type": "error" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "idCommitment", + "type": "uint256" + } + ], + "name": "MemberNotRegistered", + "type": "error" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "givenSecretsLen", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "givenReceiversLen", + "type": "uint256" + } + ], + "name": "MismatchedBatchSize", + "type": "error" + }, { "anonymous": false, "inputs": [ @@ -201,19 +281,6 @@ "stateMutability": "nonpayable", "type": "function" }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "secret", - "type": "uint256" - } - ], - "name": "withdraw", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, { "inputs": [ { @@ -233,42 +300,179 @@ "type": "function" } ], - "transactionHash": "0x31c6392afa03be64d9319382a578fdf891d1c158b4a1fc6691577ea18499395d", + "transactionHash": "0x22932746438754cd22feebe99500d9eb17d30dff98e1a6f69087029bdd0ec0da", "receipt": { "to": null, "from": "0xc2eB015aCb170177F726626707C82f994736ef15", - "contractAddress": "0x4B11778822690DefA80934B3203C170ed6B5d317", - "transactionIndex": 23, - "gasUsed": "1486545", + "contractAddress": "0x9C09146844C1326c2dBC41c451766C7138F88155", + "transactionIndex": 21, + "gasUsed": "1005129", "logsBloom": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", - "blockHash": "0x95296b86d82f5f5a7eff052dac6a04ce9d30081bf6b99f40a48330e1b2f1967f", - "transactionHash": "0x31c6392afa03be64d9319382a578fdf891d1c158b4a1fc6691577ea18499395d", + "blockHash": "0x72ab3b6fe8bd65d68924b621959f5d584810701d39de96fa9b1478a67d0dbee5", + "transactionHash": "0x22932746438754cd22feebe99500d9eb17d30dff98e1a6f69087029bdd0ec0da", "logs": [], - "blockNumber": 3184936, - "cumulativeGasUsed": "2751840", + "blockNumber": 3193048, + "cumulativeGasUsed": "5908021", "status": 1, "byzantium": true }, - "args": [1000000000000000, 20, "0xfa72Ce89D60d085B8FdB445fF6edC47475D58d1E"], - "numDeployments": 1, - "solcInputHash": "3d22925ef26b2c95bb2dc86b2f9e06ed", - "metadata": "{\"compiler\":{\"version\":\"0.8.15+commit.e14f2714\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"membershipDeposit\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"depth\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"_poseidonHasher\",\"type\":\"address\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"idCommitment\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"index\",\"type\":\"uint256\"}],\"name\":\"MemberRegistered\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"idCommitment\",\"type\":\"uint256\"}],\"name\":\"MemberWithdrawn\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"DEPTH\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"MEMBERSHIP_DEPOSIT\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"SET_SIZE\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"idCommitmentIndex\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"members\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"poseidonHasher\",\"outputs\":[{\"internalType\":\"contract IPoseidonHasher\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"idCommitment\",\"type\":\"uint256\"}],\"name\":\"register\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256[]\",\"name\":\"idCommitments\",\"type\":\"uint256[]\"}],\"name\":\"registerBatch\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"stakedAmounts\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"secret\",\"type\":\"uint256\"},{\"internalType\":\"address payable\",\"name\":\"receiver\",\"type\":\"address\"}],\"name\":\"withdraw\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"secret\",\"type\":\"uint256\"}],\"name\":\"withdraw\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256[]\",\"name\":\"secrets\",\"type\":\"uint256[]\"},{\"internalType\":\"address payable[]\",\"name\":\"receivers\",\"type\":\"address[]\"}],\"name\":\"withdrawBatch\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"contracts/Rln.sol\":\"RLN\"},\"evmVersion\":\"london\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\",\"useLiteralContent\":true},\"optimizer\":{\"enabled\":false,\"runs\":200},\"remappings\":[\":ds-test/=lib/forge-std/lib/ds-test/src/\",\":forge-std/=lib/forge-std/src/\"]},\"sources\":{\"contracts/PoseidonHasher.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\n\\n// Forked from https://github.com/kilic/rlnapp/\\n\\npragma solidity 0.8.15;\\n\\ninterface IPoseidonHasher {\\n function hash(uint256 input) external pure returns (uint256 result);\\n\\n function identity() external pure returns (uint256);\\n}\\n\\ncontract PoseidonHasher is IPoseidonHasher {\\n uint256 constant Q =\\n 21888242871839275222246405745257275088548364400416034343698204186575808495617;\\n uint256 constant C0 =\\n 4417881134626180770308697923359573201005643519861877412381846989312604493735;\\n uint256 constant C1 =\\n 5433650512959517612316327474713065966758808864213826738576266661723522780033;\\n uint256 constant C2 =\\n 13641176377184356099764086973022553863760045607496549923679278773208775739952;\\n uint256 constant C3 =\\n 17949713444224994136330421782109149544629237834775211751417461773584374506783;\\n uint256 constant C4 =\\n 13765628375339178273710281891027109699578766420463125835325926111705201856003;\\n uint256 constant C5 =\\n 19179513468172002314585757290678967643352171735526887944518845346318719730387;\\n uint256 constant C6 =\\n 5157412437176756884543472904098424903141745259452875378101256928559722612176;\\n uint256 constant C7 =\\n 535160875740282236955320458485730000677124519901643397458212725410971557409;\\n uint256 constant C8 =\\n 1050793453380762984940163090920066886770841063557081906093018330633089036729;\\n uint256 constant C9 =\\n 10665495010329663932664894101216428400933984666065399374198502106997623173873;\\n uint256 constant C10 =\\n 19965634623406616956648724894636666805991993496469370618546874926025059150737;\\n uint256 constant C11 =\\n 13007250030070838431593222885902415182312449212965120303174723305710127422213;\\n uint256 constant C12 =\\n 16877538715074991604507979123743768693428157847423939051086744213162455276374;\\n uint256 constant C13 =\\n 18211747749504876135588847560312685184956239426147543810126553367063157141465;\\n uint256 constant C14 =\\n 18151553319826126919739798892854572062191241985315767086020821632812331245635;\\n uint256 constant C15 =\\n 19957033149976712666746140949846950406660099037474791840946955175819555930825;\\n uint256 constant C16 =\\n 3469514863538261843186854830917934449567467100548474599735384052339577040841;\\n uint256 constant C17 =\\n 989698510043911779243192466312362856042600749099921773896924315611668507708;\\n uint256 constant C18 =\\n 12568377015646290945235387813564567111330046038050864455358059568128000172201;\\n uint256 constant C19 =\\n 20856104135605479600325529349246932565148587186338606236677138505306779314172;\\n uint256 constant C20 =\\n 8206918720503535523121349917159924938835810381723474192155637697065780938424;\\n uint256 constant C21 =\\n 1309058477013932989380617265069188723120054926187607548493110334522527703566;\\n uint256 constant C22 =\\n 14076116939332667074621703729512195584105250395163383769419390236426287710606;\\n uint256 constant C23 =\\n 10153498892749751942204288991871286290442690932856658983589258153608012428674;\\n uint256 constant C24 =\\n 18202499207234128286137597834010475797175973146805180988367589376893530181575;\\n uint256 constant C25 =\\n 12739388830157083522877690211447248168864006284243907142044329113461613743052;\\n uint256 constant C26 =\\n 15123358710467780770838026754240340042441262572309759635224051333176022613949;\\n uint256 constant C27 =\\n 19925004701844594370904593774447343836015483888496504201331110250494635362184;\\n uint256 constant C28 =\\n 10352416606816998476681131583320899030072315953910679608943150613208329645891;\\n uint256 constant C29 =\\n 10567371822366244361703342347428230537114808440249611395507235283708966113221;\\n uint256 constant C30 =\\n 5635498582763880627392290206431559361272660937399944184533035305989295959602;\\n uint256 constant C31 =\\n 11866432933224219174041051738704352719163271639958083608224676028593315904909;\\n uint256 constant C32 =\\n 5795020705294401441272215064554385591292330721703923167136157291459784140431;\\n uint256 constant C33 =\\n 9482202378699252817564375087302794636287866584767523335624368774856230692758;\\n uint256 constant C34 =\\n 4245237636894546151746468406560945873445548423466753843402086544922216329298;\\n uint256 constant C35 =\\n 12000500941313982757584712677991730019124834399479314697467598397927435905133;\\n uint256 constant C36 =\\n 7596790274058425558167520209857956363736666939016807569082239187494363541787;\\n uint256 constant C37 =\\n 2484867918246116343205467273440098378820186751202461278013576281097918148877;\\n uint256 constant C38 =\\n 18312645949449997391810445935615409295369169383463185688973803378104013950190;\\n uint256 constant C39 =\\n 15320686572748723004980855263301182130424010735782762814513954166519592552733;\\n uint256 constant C40 =\\n 12618438900597948888520621062416758747872180395546164387827245287017031303859;\\n uint256 constant C41 =\\n 17438141672027706116733201008397064011774368832458707512367404736905021019585;\\n uint256 constant C42 =\\n 6374197807230665998865688675365359100400438034755781666913068586172586548950;\\n uint256 constant C43 =\\n 2189398913433273865510950346186699930188746169476472274335177556702504595264;\\n uint256 constant C44 =\\n 6268495580028970231803791523870131137294646402347399003576649137450213034606;\\n uint256 constant C45 =\\n 17896250365994900261202920044129628104272791547990619503076839618914047059275;\\n uint256 constant C46 =\\n 13692156312448722528008862371944543449350293305158722920787736248435893008873;\\n uint256 constant C47 =\\n 15234446864368744483209945022439268713300180233589581910497691316744177619376;\\n uint256 constant C48 =\\n 1572426502623310766593681563281600503979671244997798691029595521622402217227;\\n uint256 constant C49 =\\n 80103447810215150918585162168214870083573048458555897999822831203653996617;\\n uint256 constant C50 =\\n 8228820324013669567851850635126713973797711779951230446503353812192849106342;\\n uint256 constant C51 =\\n 5375851433746509614045812476958526065449377558695752132494533666370449415873;\\n uint256 constant C52 =\\n 12115998939203497346386774317892338270561208357481805380546938146796257365018;\\n uint256 constant C53 =\\n 9764067909645821279940531410531154041386008396840887338272986634350423466622;\\n uint256 constant C54 =\\n 8538708244538850542384936174629541085495830544298260335345008245230827876882;\\n uint256 constant C55 =\\n 7140127896620013355910287215441004676619168261422440177712039790284719613114;\\n uint256 constant C56 =\\n 14297402962228458726038826185823085337698917275385741292940049024977027409762;\\n uint256 constant C57 =\\n 6667115556431351074165934212337261254608231545257434281887966406956835140819;\\n uint256 constant C58 =\\n 20226761165244293291042617464655196752671169026542832236139342122602741090001;\\n uint256 constant C59 =\\n 12038289506489256655759141386763477208196694421666339040483042079632134429119;\\n uint256 constant C60 =\\n 19027757334170818571203982241812412991528769934917288000224335655934473717551;\\n uint256 constant C61 =\\n 16272152964456553579565580463468069884359929612321610357528838696790370074720;\\n uint256 constant C62 =\\n 2500392889689246014710135696485946334448570271481948765283016105301740284071;\\n uint256 constant C63 =\\n 8595254970528530312401637448610398388203855633951264114100575485022581946023;\\n uint256 constant C64 =\\n 11635945688914011450976408058407206367914559009113158286982919675551688078198;\\n uint256 constant C65 =\\n 614739068603482619581328040478536306925147663946742687395148680260956671871;\\n uint256 constant C66 =\\n 18692271780377861570175282183255720350972693125537599213951106550953176268753;\\n uint256 constant C67 =\\n 4987059230784976306647166378298632695585915319042844495357753339378260807164;\\n uint256 constant C68 =\\n 21851403978498723616722415377430107676258664746210815234490134600998983955497;\\n uint256 constant C69 =\\n 9830635451186415300891533983087800047564037813328875992115573428596207326204;\\n uint256 constant C70 =\\n 4842706106434537116860242620706030229206345167233200482994958847436425185478;\\n uint256 constant C71 =\\n 6422235064906823218421386871122109085799298052314922856340127798647926126490;\\n uint256 constant C72 =\\n 4564364104986856861943331689105797031330091877115997069096365671501473357846;\\n uint256 constant C73 =\\n 1944043894089780613038197112872830569538541856657037469098448708685350671343;\\n uint256 constant C74 =\\n 21179865974855950600518216085229498748425990426231530451599322283119880194955;\\n uint256 constant C75 =\\n 14296697761894107574369608843560006996183955751502547883167824879840894933162;\\n uint256 constant C76 =\\n 12274619649702218570450581712439138337725246879938860735460378251639845671898;\\n uint256 constant C77 =\\n 16371396450276899401411886674029075408418848209575273031725505038938314070356;\\n uint256 constant C78 =\\n 3702561221750983937578095019779188631407216522704543451228773892695044653565;\\n uint256 constant C79 =\\n 19721616877735564664624984774636557499099875603996426215495516594530838681980;\\n uint256 constant C80 =\\n 6383350109027696789969911008057747025018308755462287526819231672217685282429;\\n uint256 constant C81 =\\n 20860583956177367265984596617324237471765572961978977333122281041544719622905;\\n uint256 constant C82 =\\n 5766390934595026947545001478457407504285452477687752470140790011329357286275;\\n uint256 constant C83 =\\n 4043175758319898049344746138515323336207420888499903387536875603879441092484;\\n uint256 constant C84 =\\n 15579382179133608217098622223834161692266188678101563820988612253342538956534;\\n uint256 constant C85 =\\n 1864640783252634743892105383926602930909039567065240010338908865509831749824;\\n uint256 constant C86 =\\n 15943719865023133586707144161652035291705809358178262514871056013754142625673;\\n uint256 constant C87 =\\n 2326415993032390211558498780803238091925402878871059708106213703504162832999;\\n uint256 constant C88 =\\n 19995326402773833553207196590622808505547443523750970375738981396588337910289;\\n uint256 constant C89 =\\n 5143583711361588952673350526320181330406047695593201009385718506918735286622;\\n uint256 constant C90 =\\n 15436006486881920976813738625999473183944244531070780793506388892313517319583;\\n uint256 constant C91 =\\n 16660446760173633166698660166238066533278664023818938868110282615200613695857;\\n uint256 constant C92 =\\n 4966065365695755376133119391352131079892396024584848298231004326013366253934;\\n uint256 constant C93 =\\n 20683781957411705574951987677641476019618457561419278856689645563561076926702;\\n uint256 constant C94 =\\n 17280836839165902792086432296371645107551519324565649849400948918605456875699;\\n uint256 constant C95 =\\n 17045635513701208892073056357048619435743564064921155892004135325530808465371;\\n uint256 constant C96 =\\n 17055032967194400710390142791334572297458033582458169295920670679093585707295;\\n uint256 constant C97 =\\n 15727174639569115300068198908071514334002742825679221638729902577962862163505;\\n uint256 constant C98 =\\n 1001755657610446661315902885492677747789366510875120894840818704741370398633;\\n uint256 constant C99 =\\n 18638547332826171619311285502376343504539399518545103511265465604926625041234;\\n uint256 constant C100 =\\n 6751954224763196429755298529194402870632445298969935050224267844020826420799;\\n uint256 constant C101 =\\n 3526747115904224771452549517614107688674036840088422555827581348280834879405;\\n uint256 constant C102 =\\n 15705897908180497062880001271426561999724005008972544196300715293701537574122;\\n uint256 constant C103 =\\n 574386695213920937259007343820417029802510752426579750428758189312416867750;\\n uint256 constant C104 =\\n 15973040855000600860816974646787367136127946402908768408978806375685439868553;\\n uint256 constant C105 =\\n 20934130413948796333037139460875996342810005558806621330680156931816867321122;\\n uint256 constant C106 =\\n 6918585327145564636398173845411579411526758237572034236476079610890705810764;\\n uint256 constant C107 =\\n 14158163500813182062258176233162498241310167509137716527054939926126453647182;\\n uint256 constant C108 =\\n 4164602626597695668474100217150111342272610479949122406544277384862187287433;\\n uint256 constant C109 =\\n 12146526846507496913615390662823936206892812880963914267275606265272996025304;\\n uint256 constant C110 =\\n 10153527926900017763244212043512822363696541810586522108597162891799345289938;\\n uint256 constant C111 =\\n 13564663485965299104296214940873270349072051793008946663855767889066202733588;\\n uint256 constant C112 =\\n 5612449256997576125867742696783020582952387615430650198777254717398552960096;\\n uint256 constant C113 =\\n 12151885480032032868507892738683067544172874895736290365318623681886999930120;\\n uint256 constant C114 =\\n 380452237704664384810613424095477896605414037288009963200982915188629772177;\\n uint256 constant C115 =\\n 9067557551252570188533509616805287919563636482030947363841198066124642069518;\\n uint256 constant C116 =\\n 21280306817619711661335268484199763923870315733198162896599997188206277056900;\\n uint256 constant C117 =\\n 5567165819557297006750252582140767993422097822227408837378089569369734876257;\\n uint256 constant C118 =\\n 10411936321072105429908396649383171465939606386380071222095155850987201580137;\\n uint256 constant C119 =\\n 21338390051413922944780864872652000187403217966653363270851298678606449622266;\\n uint256 constant C120 =\\n 12156296560457833712186127325312904760045212412680904475497938949653569234473;\\n uint256 constant C121 =\\n 4271647814574748734312113971565139132510281260328947438246615707172526380757;\\n uint256 constant C122 =\\n 9061738206062369647211128232833114177054715885442782773131292534862178874950;\\n uint256 constant C123 =\\n 10134551893627587797380445583959894183158393780166496661696555422178052339133;\\n uint256 constant C124 =\\n 8932270237664043612366044102088319242789325050842783721780970129656616386103;\\n uint256 constant C125 =\\n 3339412934966886386194449782756711637636784424032779155216609410591712750636;\\n uint256 constant C126 =\\n 9704903972004596791086522314847373103670545861209569267884026709445485704400;\\n uint256 constant C127 =\\n 17467570179597572575614276429760169990940929887711661192333523245667228809456;\\n uint256 constant M00 =\\n 2910766817845651019878574839501801340070030115151021261302834310722729507541;\\n uint256 constant M01 =\\n 19727366863391167538122140361473584127147630672623100827934084310230022599144;\\n uint256 constant M10 =\\n 5776684794125549462448597414050232243778680302179439492664047328281728356345;\\n uint256 constant M11 =\\n 8348174920934122550483593999453880006756108121341067172388445916328941978568;\\n\\n function hash(\\n uint256 input\\n ) external pure override returns (uint256 result) {\\n return _hash(input);\\n }\\n\\n function _hash(uint256 input) internal pure returns (uint256 result) {\\n assembly {\\n // Poseidon parameters should be t = 2, RF = 8, RP = 56\\n\\n // We load the characteristic\\n let q := Q\\n\\n // In zerokit implementation, if we pass inp = [a0,a1,..,an] to Poseidon what is effectively hashed is [0,a0,a1,..,an]\\n // Note that a sequence of MIX-ARK involves 3 Bn254 field additions before the mulmod happens. Worst case we have a value corresponding to 2*(p-1) which is less than 2^256 and hence doesn't overflow\\n //ROUND 0 - FULL\\n let s0 := C0\\n let s1 := add(input, C1)\\n // SBOX\\n let t := mulmod(s0, s0, q)\\n s0 := mulmod(mulmod(t, t, q), s0, q)\\n t := mulmod(s1, s1, q)\\n s1 := mulmod(mulmod(t, t, q), s1, q)\\n // MIX\\n t := add(mulmod(s0, M00, q), mulmod(s1, M01, q))\\n s1 := add(mulmod(s0, M10, q), mulmod(s1, M11, q))\\n s0 := t\\n\\n //ROUND 1 - FULL\\n s0 := add(s0, C2)\\n s1 := add(s1, C3)\\n // SBOX\\n t := mulmod(s0, s0, q)\\n s0 := mulmod(mulmod(t, t, q), s0, q)\\n t := mulmod(s1, s1, q)\\n s1 := mulmod(mulmod(t, t, q), s1, q)\\n // MIX\\n t := add(mulmod(s0, M00, q), mulmod(s1, M01, q))\\n s1 := add(mulmod(s0, M10, q), mulmod(s1, M11, q))\\n s0 := t\\n\\n //ROUND 2 - FULL\\n s0 := add(s0, C4)\\n s1 := add(s1, C5)\\n // SBOX\\n t := mulmod(s0, s0, q)\\n s0 := mulmod(mulmod(t, t, q), s0, q)\\n t := mulmod(s1, s1, q)\\n s1 := mulmod(mulmod(t, t, q), s1, q)\\n // MIX\\n t := add(mulmod(s0, M00, q), mulmod(s1, M01, q))\\n s1 := add(mulmod(s0, M10, q), mulmod(s1, M11, q))\\n s0 := t\\n\\n //ROUND 3 - FULL\\n s0 := add(s0, C6)\\n s1 := add(s1, C7)\\n // SBOX\\n t := mulmod(s0, s0, q)\\n s0 := mulmod(mulmod(t, t, q), s0, q)\\n t := mulmod(s1, s1, q)\\n s1 := mulmod(mulmod(t, t, q), s1, q)\\n // MIX\\n t := add(mulmod(s0, M00, q), mulmod(s1, M01, q))\\n s1 := add(mulmod(s0, M10, q), mulmod(s1, M11, q))\\n s0 := t\\n\\n //ROUND 4 - PARTIAL\\n s0 := add(s0, C8)\\n s1 := add(s1, C9)\\n // SBOX\\n t := mulmod(s0, s0, q)\\n s0 := mulmod(mulmod(t, t, q), s0, q)\\n // MIX\\n t := add(mulmod(s0, M00, q), mulmod(s1, M01, q))\\n s1 := add(mulmod(s0, M10, q), mulmod(s1, M11, q))\\n s0 := t\\n\\n //ROUND 5 - PARTIAL\\n s0 := add(s0, C10)\\n s1 := add(s1, C11)\\n // SBOX\\n t := mulmod(s0, s0, q)\\n s0 := mulmod(mulmod(t, t, q), s0, q)\\n // MIX\\n t := add(mulmod(s0, M00, q), mulmod(s1, M01, q))\\n s1 := add(mulmod(s0, M10, q), mulmod(s1, M11, q))\\n s0 := t\\n\\n //ROUND 6 - PARTIAL\\n s0 := add(s0, C12)\\n s1 := add(s1, C13)\\n // SBOX\\n t := mulmod(s0, s0, q)\\n s0 := mulmod(mulmod(t, t, q), s0, q)\\n // MIX\\n t := add(mulmod(s0, M00, q), mulmod(s1, M01, q))\\n s1 := add(mulmod(s0, M10, q), mulmod(s1, M11, q))\\n s0 := t\\n\\n //ROUND 7 - PARTIAL\\n s0 := add(s0, C14)\\n s1 := add(s1, C15)\\n // SBOX\\n t := mulmod(s0, s0, q)\\n s0 := mulmod(mulmod(t, t, q), s0, q)\\n // MIX\\n t := add(mulmod(s0, M00, q), mulmod(s1, M01, q))\\n s1 := add(mulmod(s0, M10, q), mulmod(s1, M11, q))\\n s0 := t\\n\\n //ROUND 8 - PARTIAL\\n s0 := add(s0, C16)\\n s1 := add(s1, C17)\\n // SBOX\\n t := mulmod(s0, s0, q)\\n s0 := mulmod(mulmod(t, t, q), s0, q)\\n // MIX\\n t := add(mulmod(s0, M00, q), mulmod(s1, M01, q))\\n s1 := add(mulmod(s0, M10, q), mulmod(s1, M11, q))\\n s0 := t\\n\\n //ROUND 9 - PARTIAL\\n s0 := add(s0, C18)\\n s1 := add(s1, C19)\\n // SBOX\\n t := mulmod(s0, s0, q)\\n s0 := mulmod(mulmod(t, t, q), s0, q)\\n // MIX\\n t := add(mulmod(s0, M00, q), mulmod(s1, M01, q))\\n s1 := add(mulmod(s0, M10, q), mulmod(s1, M11, q))\\n s0 := t\\n\\n //ROUND 10 - PARTIAL\\n s0 := add(s0, C20)\\n s1 := add(s1, C21)\\n // SBOX\\n t := mulmod(s0, s0, q)\\n s0 := mulmod(mulmod(t, t, q), s0, q)\\n // MIX\\n t := add(mulmod(s0, M00, q), mulmod(s1, M01, q))\\n s1 := add(mulmod(s0, M10, q), mulmod(s1, M11, q))\\n s0 := t\\n\\n //ROUND 11 - PARTIAL\\n s0 := add(s0, C22)\\n s1 := add(s1, C23)\\n // SBOX\\n t := mulmod(s0, s0, q)\\n s0 := mulmod(mulmod(t, t, q), s0, q)\\n // MIX\\n t := add(mulmod(s0, M00, q), mulmod(s1, M01, q))\\n s1 := add(mulmod(s0, M10, q), mulmod(s1, M11, q))\\n s0 := t\\n\\n //ROUND 12 - PARTIAL\\n s0 := add(s0, C24)\\n s1 := add(s1, C25)\\n // SBOX\\n t := mulmod(s0, s0, q)\\n s0 := mulmod(mulmod(t, t, q), s0, q)\\n // MIX\\n t := add(mulmod(s0, M00, q), mulmod(s1, M01, q))\\n s1 := add(mulmod(s0, M10, q), mulmod(s1, M11, q))\\n s0 := t\\n\\n //ROUND 13 - PARTIAL\\n s0 := add(s0, C26)\\n s1 := add(s1, C27)\\n // SBOX\\n t := mulmod(s0, s0, q)\\n s0 := mulmod(mulmod(t, t, q), s0, q)\\n // MIX\\n t := add(mulmod(s0, M00, q), mulmod(s1, M01, q))\\n s1 := add(mulmod(s0, M10, q), mulmod(s1, M11, q))\\n s0 := t\\n\\n //ROUND 14 - PARTIAL\\n s0 := add(s0, C28)\\n s1 := add(s1, C29)\\n // SBOX\\n t := mulmod(s0, s0, q)\\n s0 := mulmod(mulmod(t, t, q), s0, q)\\n // MIX\\n t := add(mulmod(s0, M00, q), mulmod(s1, M01, q))\\n s1 := add(mulmod(s0, M10, q), mulmod(s1, M11, q))\\n s0 := t\\n\\n //ROUND 15 - PARTIAL\\n s0 := add(s0, C30)\\n s1 := add(s1, C31)\\n // SBOX\\n t := mulmod(s0, s0, q)\\n s0 := mulmod(mulmod(t, t, q), s0, q)\\n // MIX\\n t := add(mulmod(s0, M00, q), mulmod(s1, M01, q))\\n s1 := add(mulmod(s0, M10, q), mulmod(s1, M11, q))\\n s0 := t\\n\\n //ROUND 16 - PARTIAL\\n s0 := add(s0, C32)\\n s1 := add(s1, C33)\\n // SBOX\\n t := mulmod(s0, s0, q)\\n s0 := mulmod(mulmod(t, t, q), s0, q)\\n // MIX\\n t := add(mulmod(s0, M00, q), mulmod(s1, M01, q))\\n s1 := add(mulmod(s0, M10, q), mulmod(s1, M11, q))\\n s0 := t\\n\\n //ROUND 17 - PARTIAL\\n s0 := add(s0, C34)\\n s1 := add(s1, C35)\\n // SBOX\\n t := mulmod(s0, s0, q)\\n s0 := mulmod(mulmod(t, t, q), s0, q)\\n // MIX\\n t := add(mulmod(s0, M00, q), mulmod(s1, M01, q))\\n s1 := add(mulmod(s0, M10, q), mulmod(s1, M11, q))\\n s0 := t\\n\\n //ROUND 18 - PARTIAL\\n s0 := add(s0, C36)\\n s1 := add(s1, C37)\\n // SBOX\\n t := mulmod(s0, s0, q)\\n s0 := mulmod(mulmod(t, t, q), s0, q)\\n // MIX\\n t := add(mulmod(s0, M00, q), mulmod(s1, M01, q))\\n s1 := add(mulmod(s0, M10, q), mulmod(s1, M11, q))\\n s0 := t\\n\\n //ROUND 19 - PARTIAL\\n s0 := add(s0, C38)\\n s1 := add(s1, C39)\\n // SBOX\\n t := mulmod(s0, s0, q)\\n s0 := mulmod(mulmod(t, t, q), s0, q)\\n // MIX\\n t := add(mulmod(s0, M00, q), mulmod(s1, M01, q))\\n s1 := add(mulmod(s0, M10, q), mulmod(s1, M11, q))\\n s0 := t\\n\\n //ROUND 20 - PARTIAL\\n s0 := add(s0, C40)\\n s1 := add(s1, C41)\\n // SBOX\\n t := mulmod(s0, s0, q)\\n s0 := mulmod(mulmod(t, t, q), s0, q)\\n // MIX\\n t := add(mulmod(s0, M00, q), mulmod(s1, M01, q))\\n s1 := add(mulmod(s0, M10, q), mulmod(s1, M11, q))\\n s0 := t\\n\\n //ROUND 21 - PARTIAL\\n s0 := add(s0, C42)\\n s1 := add(s1, C43)\\n // SBOX\\n t := mulmod(s0, s0, q)\\n s0 := mulmod(mulmod(t, t, q), s0, q)\\n // MIX\\n t := add(mulmod(s0, M00, q), mulmod(s1, M01, q))\\n s1 := add(mulmod(s0, M10, q), mulmod(s1, M11, q))\\n s0 := t\\n\\n //ROUND 22 - PARTIAL\\n s0 := add(s0, C44)\\n s1 := add(s1, C45)\\n // SBOX\\n t := mulmod(s0, s0, q)\\n s0 := mulmod(mulmod(t, t, q), s0, q)\\n // MIX\\n t := add(mulmod(s0, M00, q), mulmod(s1, M01, q))\\n s1 := add(mulmod(s0, M10, q), mulmod(s1, M11, q))\\n s0 := t\\n\\n //ROUND 23 - PARTIAL\\n s0 := add(s0, C46)\\n s1 := add(s1, C47)\\n // SBOX\\n t := mulmod(s0, s0, q)\\n s0 := mulmod(mulmod(t, t, q), s0, q)\\n // MIX\\n t := add(mulmod(s0, M00, q), mulmod(s1, M01, q))\\n s1 := add(mulmod(s0, M10, q), mulmod(s1, M11, q))\\n s0 := t\\n\\n //ROUND 24 - PARTIAL\\n s0 := add(s0, C48)\\n s1 := add(s1, C49)\\n // SBOX\\n t := mulmod(s0, s0, q)\\n s0 := mulmod(mulmod(t, t, q), s0, q)\\n // MIX\\n t := add(mulmod(s0, M00, q), mulmod(s1, M01, q))\\n s1 := add(mulmod(s0, M10, q), mulmod(s1, M11, q))\\n s0 := t\\n\\n //ROUND 25 - PARTIAL\\n s0 := add(s0, C50)\\n s1 := add(s1, C51)\\n // SBOX\\n t := mulmod(s0, s0, q)\\n s0 := mulmod(mulmod(t, t, q), s0, q)\\n // MIX\\n t := add(mulmod(s0, M00, q), mulmod(s1, M01, q))\\n s1 := add(mulmod(s0, M10, q), mulmod(s1, M11, q))\\n s0 := t\\n\\n //ROUND 26 - PARTIAL\\n s0 := add(s0, C52)\\n s1 := add(s1, C53)\\n // SBOX\\n t := mulmod(s0, s0, q)\\n s0 := mulmod(mulmod(t, t, q), s0, q)\\n // MIX\\n t := add(mulmod(s0, M00, q), mulmod(s1, M01, q))\\n s1 := add(mulmod(s0, M10, q), mulmod(s1, M11, q))\\n s0 := t\\n\\n //ROUND 27 - PARTIAL\\n s0 := add(s0, C54)\\n s1 := add(s1, C55)\\n // SBOX\\n t := mulmod(s0, s0, q)\\n s0 := mulmod(mulmod(t, t, q), s0, q)\\n // MIX\\n t := add(mulmod(s0, M00, q), mulmod(s1, M01, q))\\n s1 := add(mulmod(s0, M10, q), mulmod(s1, M11, q))\\n s0 := t\\n\\n //ROUND 28 - PARTIAL\\n s0 := add(s0, C56)\\n s1 := add(s1, C57)\\n // SBOX\\n t := mulmod(s0, s0, q)\\n s0 := mulmod(mulmod(t, t, q), s0, q)\\n // MIX\\n t := add(mulmod(s0, M00, q), mulmod(s1, M01, q))\\n s1 := add(mulmod(s0, M10, q), mulmod(s1, M11, q))\\n s0 := t\\n\\n //ROUND 29 - PARTIAL\\n s0 := add(s0, C58)\\n s1 := add(s1, C59)\\n // SBOX\\n t := mulmod(s0, s0, q)\\n s0 := mulmod(mulmod(t, t, q), s0, q)\\n // MIX\\n t := add(mulmod(s0, M00, q), mulmod(s1, M01, q))\\n s1 := add(mulmod(s0, M10, q), mulmod(s1, M11, q))\\n s0 := t\\n\\n //ROUND 30 - PARTIAL\\n s0 := add(s0, C60)\\n s1 := add(s1, C61)\\n // SBOX\\n t := mulmod(s0, s0, q)\\n s0 := mulmod(mulmod(t, t, q), s0, q)\\n // MIX\\n t := add(mulmod(s0, M00, q), mulmod(s1, M01, q))\\n s1 := add(mulmod(s0, M10, q), mulmod(s1, M11, q))\\n s0 := t\\n\\n //ROUND 31 - PARTIAL\\n s0 := add(s0, C62)\\n s1 := add(s1, C63)\\n // SBOX\\n t := mulmod(s0, s0, q)\\n s0 := mulmod(mulmod(t, t, q), s0, q)\\n // MIX\\n t := add(mulmod(s0, M00, q), mulmod(s1, M01, q))\\n s1 := add(mulmod(s0, M10, q), mulmod(s1, M11, q))\\n s0 := t\\n\\n //ROUND 32 - PARTIAL\\n s0 := add(s0, C64)\\n s1 := add(s1, C65)\\n // SBOX\\n t := mulmod(s0, s0, q)\\n s0 := mulmod(mulmod(t, t, q), s0, q)\\n // MIX\\n t := add(mulmod(s0, M00, q), mulmod(s1, M01, q))\\n s1 := add(mulmod(s0, M10, q), mulmod(s1, M11, q))\\n s0 := t\\n\\n //ROUND 33 - PARTIAL\\n s0 := add(s0, C66)\\n s1 := add(s1, C67)\\n // SBOX\\n t := mulmod(s0, s0, q)\\n s0 := mulmod(mulmod(t, t, q), s0, q)\\n // MIX\\n t := add(mulmod(s0, M00, q), mulmod(s1, M01, q))\\n s1 := add(mulmod(s0, M10, q), mulmod(s1, M11, q))\\n s0 := t\\n\\n //ROUND 34 - PARTIAL\\n s0 := add(s0, C68)\\n s1 := add(s1, C69)\\n // SBOX\\n t := mulmod(s0, s0, q)\\n s0 := mulmod(mulmod(t, t, q), s0, q)\\n // MIX\\n t := add(mulmod(s0, M00, q), mulmod(s1, M01, q))\\n s1 := add(mulmod(s0, M10, q), mulmod(s1, M11, q))\\n s0 := t\\n\\n //ROUND 35 - PARTIAL\\n s0 := add(s0, C70)\\n s1 := add(s1, C71)\\n // SBOX\\n t := mulmod(s0, s0, q)\\n s0 := mulmod(mulmod(t, t, q), s0, q)\\n // MIX\\n t := add(mulmod(s0, M00, q), mulmod(s1, M01, q))\\n s1 := add(mulmod(s0, M10, q), mulmod(s1, M11, q))\\n s0 := t\\n\\n //ROUND 36 - PARTIAL\\n s0 := add(s0, C72)\\n s1 := add(s1, C73)\\n // SBOX\\n t := mulmod(s0, s0, q)\\n s0 := mulmod(mulmod(t, t, q), s0, q)\\n // MIX\\n t := add(mulmod(s0, M00, q), mulmod(s1, M01, q))\\n s1 := add(mulmod(s0, M10, q), mulmod(s1, M11, q))\\n s0 := t\\n\\n //ROUND 37 - PARTIAL\\n s0 := add(s0, C74)\\n s1 := add(s1, C75)\\n // SBOX\\n t := mulmod(s0, s0, q)\\n s0 := mulmod(mulmod(t, t, q), s0, q)\\n // MIX\\n t := add(mulmod(s0, M00, q), mulmod(s1, M01, q))\\n s1 := add(mulmod(s0, M10, q), mulmod(s1, M11, q))\\n s0 := t\\n\\n //ROUND 38 - PARTIAL\\n s0 := add(s0, C76)\\n s1 := add(s1, C77)\\n // SBOX\\n t := mulmod(s0, s0, q)\\n s0 := mulmod(mulmod(t, t, q), s0, q)\\n // MIX\\n t := add(mulmod(s0, M00, q), mulmod(s1, M01, q))\\n s1 := add(mulmod(s0, M10, q), mulmod(s1, M11, q))\\n s0 := t\\n\\n //ROUND 39 - PARTIAL\\n s0 := add(s0, C78)\\n s1 := add(s1, C79)\\n // SBOX\\n t := mulmod(s0, s0, q)\\n s0 := mulmod(mulmod(t, t, q), s0, q)\\n // MIX\\n t := add(mulmod(s0, M00, q), mulmod(s1, M01, q))\\n s1 := add(mulmod(s0, M10, q), mulmod(s1, M11, q))\\n s0 := t\\n\\n //ROUND 40 - PARTIAL\\n s0 := add(s0, C80)\\n s1 := add(s1, C81)\\n // SBOX\\n t := mulmod(s0, s0, q)\\n s0 := mulmod(mulmod(t, t, q), s0, q)\\n // MIX\\n t := add(mulmod(s0, M00, q), mulmod(s1, M01, q))\\n s1 := add(mulmod(s0, M10, q), mulmod(s1, M11, q))\\n s0 := t\\n\\n //ROUND 41 - PARTIAL\\n s0 := add(s0, C82)\\n s1 := add(s1, C83)\\n // SBOX\\n t := mulmod(s0, s0, q)\\n s0 := mulmod(mulmod(t, t, q), s0, q)\\n // MIX\\n t := add(mulmod(s0, M00, q), mulmod(s1, M01, q))\\n s1 := add(mulmod(s0, M10, q), mulmod(s1, M11, q))\\n s0 := t\\n\\n //ROUND 42 - PARTIAL\\n s0 := add(s0, C84)\\n s1 := add(s1, C85)\\n // SBOX\\n t := mulmod(s0, s0, q)\\n s0 := mulmod(mulmod(t, t, q), s0, q)\\n // MIX\\n t := add(mulmod(s0, M00, q), mulmod(s1, M01, q))\\n s1 := add(mulmod(s0, M10, q), mulmod(s1, M11, q))\\n s0 := t\\n\\n //ROUND 43 - PARTIAL\\n s0 := add(s0, C86)\\n s1 := add(s1, C87)\\n // SBOX\\n t := mulmod(s0, s0, q)\\n s0 := mulmod(mulmod(t, t, q), s0, q)\\n // MIX\\n t := add(mulmod(s0, M00, q), mulmod(s1, M01, q))\\n s1 := add(mulmod(s0, M10, q), mulmod(s1, M11, q))\\n s0 := t\\n\\n //ROUND 44 - PARTIAL\\n s0 := add(s0, C88)\\n s1 := add(s1, C89)\\n // SBOX\\n t := mulmod(s0, s0, q)\\n s0 := mulmod(mulmod(t, t, q), s0, q)\\n // MIX\\n t := add(mulmod(s0, M00, q), mulmod(s1, M01, q))\\n s1 := add(mulmod(s0, M10, q), mulmod(s1, M11, q))\\n s0 := t\\n\\n //ROUND 45 - PARTIAL\\n s0 := add(s0, C90)\\n s1 := add(s1, C91)\\n // SBOX\\n t := mulmod(s0, s0, q)\\n s0 := mulmod(mulmod(t, t, q), s0, q)\\n // MIX\\n t := add(mulmod(s0, M00, q), mulmod(s1, M01, q))\\n s1 := add(mulmod(s0, M10, q), mulmod(s1, M11, q))\\n s0 := t\\n\\n //ROUND 46 - PARTIAL\\n s0 := add(s0, C92)\\n s1 := add(s1, C93)\\n // SBOX\\n t := mulmod(s0, s0, q)\\n s0 := mulmod(mulmod(t, t, q), s0, q)\\n // MIX\\n t := add(mulmod(s0, M00, q), mulmod(s1, M01, q))\\n s1 := add(mulmod(s0, M10, q), mulmod(s1, M11, q))\\n s0 := t\\n\\n //ROUND 47 - PARTIAL\\n s0 := add(s0, C94)\\n s1 := add(s1, C95)\\n // SBOX\\n t := mulmod(s0, s0, q)\\n s0 := mulmod(mulmod(t, t, q), s0, q)\\n // MIX\\n t := add(mulmod(s0, M00, q), mulmod(s1, M01, q))\\n s1 := add(mulmod(s0, M10, q), mulmod(s1, M11, q))\\n s0 := t\\n\\n //ROUND 48 - PARTIAL\\n s0 := add(s0, C96)\\n s1 := add(s1, C97)\\n // SBOX\\n t := mulmod(s0, s0, q)\\n s0 := mulmod(mulmod(t, t, q), s0, q)\\n // MIX\\n t := add(mulmod(s0, M00, q), mulmod(s1, M01, q))\\n s1 := add(mulmod(s0, M10, q), mulmod(s1, M11, q))\\n s0 := t\\n\\n //ROUND 49 - PARTIAL\\n s0 := add(s0, C98)\\n s1 := add(s1, C99)\\n // SBOX\\n t := mulmod(s0, s0, q)\\n s0 := mulmod(mulmod(t, t, q), s0, q)\\n // MIX\\n t := add(mulmod(s0, M00, q), mulmod(s1, M01, q))\\n s1 := add(mulmod(s0, M10, q), mulmod(s1, M11, q))\\n s0 := t\\n\\n //ROUND 50 - PARTIAL\\n s0 := add(s0, C100)\\n s1 := add(s1, C101)\\n // SBOX\\n t := mulmod(s0, s0, q)\\n s0 := mulmod(mulmod(t, t, q), s0, q)\\n // MIX\\n t := add(mulmod(s0, M00, q), mulmod(s1, M01, q))\\n s1 := add(mulmod(s0, M10, q), mulmod(s1, M11, q))\\n s0 := t\\n\\n //ROUND 51 - PARTIAL\\n s0 := add(s0, C102)\\n s1 := add(s1, C103)\\n // SBOX\\n t := mulmod(s0, s0, q)\\n s0 := mulmod(mulmod(t, t, q), s0, q)\\n // MIX\\n t := add(mulmod(s0, M00, q), mulmod(s1, M01, q))\\n s1 := add(mulmod(s0, M10, q), mulmod(s1, M11, q))\\n s0 := t\\n\\n //ROUND 52 - PARTIAL\\n s0 := add(s0, C104)\\n s1 := add(s1, C105)\\n // SBOX\\n t := mulmod(s0, s0, q)\\n s0 := mulmod(mulmod(t, t, q), s0, q)\\n // MIX\\n t := add(mulmod(s0, M00, q), mulmod(s1, M01, q))\\n s1 := add(mulmod(s0, M10, q), mulmod(s1, M11, q))\\n s0 := t\\n\\n //ROUND 53 - PARTIAL\\n s0 := add(s0, C106)\\n s1 := add(s1, C107)\\n // SBOX\\n t := mulmod(s0, s0, q)\\n s0 := mulmod(mulmod(t, t, q), s0, q)\\n // MIX\\n t := add(mulmod(s0, M00, q), mulmod(s1, M01, q))\\n s1 := add(mulmod(s0, M10, q), mulmod(s1, M11, q))\\n s0 := t\\n\\n //ROUND 54 - PARTIAL\\n s0 := add(s0, C108)\\n s1 := add(s1, C109)\\n // SBOX\\n t := mulmod(s0, s0, q)\\n s0 := mulmod(mulmod(t, t, q), s0, q)\\n // MIX\\n t := add(mulmod(s0, M00, q), mulmod(s1, M01, q))\\n s1 := add(mulmod(s0, M10, q), mulmod(s1, M11, q))\\n s0 := t\\n\\n //ROUND 55 - PARTIAL\\n s0 := add(s0, C110)\\n s1 := add(s1, C111)\\n // SBOX\\n t := mulmod(s0, s0, q)\\n s0 := mulmod(mulmod(t, t, q), s0, q)\\n // MIX\\n t := add(mulmod(s0, M00, q), mulmod(s1, M01, q))\\n s1 := add(mulmod(s0, M10, q), mulmod(s1, M11, q))\\n s0 := t\\n\\n //ROUND 56 - PARTIAL\\n s0 := add(s0, C112)\\n s1 := add(s1, C113)\\n // SBOX\\n t := mulmod(s0, s0, q)\\n s0 := mulmod(mulmod(t, t, q), s0, q)\\n // MIX\\n t := add(mulmod(s0, M00, q), mulmod(s1, M01, q))\\n s1 := add(mulmod(s0, M10, q), mulmod(s1, M11, q))\\n s0 := t\\n\\n //ROUND 57 - PARTIAL\\n s0 := add(s0, C114)\\n s1 := add(s1, C115)\\n // SBOX\\n t := mulmod(s0, s0, q)\\n s0 := mulmod(mulmod(t, t, q), s0, q)\\n // MIX\\n t := add(mulmod(s0, M00, q), mulmod(s1, M01, q))\\n s1 := add(mulmod(s0, M10, q), mulmod(s1, M11, q))\\n s0 := t\\n\\n //ROUND 58 - PARTIAL\\n s0 := add(s0, C116)\\n s1 := add(s1, C117)\\n // SBOX\\n t := mulmod(s0, s0, q)\\n s0 := mulmod(mulmod(t, t, q), s0, q)\\n // MIX\\n t := add(mulmod(s0, M00, q), mulmod(s1, M01, q))\\n s1 := add(mulmod(s0, M10, q), mulmod(s1, M11, q))\\n s0 := t\\n\\n //ROUND 59 - PARTIAL\\n s0 := add(s0, C118)\\n s1 := add(s1, C119)\\n // SBOX\\n t := mulmod(s0, s0, q)\\n s0 := mulmod(mulmod(t, t, q), s0, q)\\n // MIX\\n t := add(mulmod(s0, M00, q), mulmod(s1, M01, q))\\n s1 := add(mulmod(s0, M10, q), mulmod(s1, M11, q))\\n s0 := t\\n\\n //ROUND 60 - FULL\\n s0 := add(s0, C120)\\n s1 := add(s1, C121)\\n // SBOX\\n t := mulmod(s0, s0, q)\\n s0 := mulmod(mulmod(t, t, q), s0, q)\\n t := mulmod(s1, s1, q)\\n s1 := mulmod(mulmod(t, t, q), s1, q)\\n // MIX\\n t := add(mulmod(s0, M00, q), mulmod(s1, M01, q))\\n s1 := add(mulmod(s0, M10, q), mulmod(s1, M11, q))\\n s0 := t\\n\\n //ROUND 61 - FULL\\n s0 := add(s0, C122)\\n s1 := add(s1, C123)\\n // SBOX\\n t := mulmod(s0, s0, q)\\n s0 := mulmod(mulmod(t, t, q), s0, q)\\n t := mulmod(s1, s1, q)\\n s1 := mulmod(mulmod(t, t, q), s1, q)\\n // MIX\\n t := add(mulmod(s0, M00, q), mulmod(s1, M01, q))\\n s1 := add(mulmod(s0, M10, q), mulmod(s1, M11, q))\\n s0 := t\\n\\n //ROUND 62 - FULL\\n s0 := add(s0, C124)\\n s1 := add(s1, C125)\\n // SBOX\\n t := mulmod(s0, s0, q)\\n s0 := mulmod(mulmod(t, t, q), s0, q)\\n t := mulmod(s1, s1, q)\\n s1 := mulmod(mulmod(t, t, q), s1, q)\\n // MIX\\n t := add(mulmod(s0, M00, q), mulmod(s1, M01, q))\\n s1 := add(mulmod(s0, M10, q), mulmod(s1, M11, q))\\n s0 := t\\n\\n //ROUND 63 - FULL\\n s0 := add(s0, C126)\\n s1 := add(s1, C127)\\n // SBOX\\n t := mulmod(s0, s0, q)\\n s0 := mulmod(mulmod(t, t, q), s0, q)\\n t := mulmod(s1, s1, q)\\n s1 := mulmod(mulmod(t, t, q), s1, q)\\n // MIX\\n s0 := mod(add(mulmod(s0, M00, q), mulmod(s1, M01, q)), q)\\n\\n result := s0\\n }\\n }\\n\\n function identity() external pure override returns (uint256) {\\n return _identity();\\n }\\n\\n // The hash of 0\\n function _identity() internal pure returns (uint256) {\\n return\\n 0x2a09a9fd93c590c26b91effbb2499f07e8f7aa12e2b4940a3aed2411cb65e11c;\\n }\\n}\\n\",\"keccak256\":\"0x9bb58fba201568f7ec88973f36225cc37775bb6337bc57e854a3e4a20af39edc\",\"license\":\"MIT\"},\"contracts/Rln.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\n\\npragma solidity 0.8.15;\\n\\nimport {IPoseidonHasher} from \\\"./PoseidonHasher.sol\\\";\\n\\ncontract RLN {\\n uint256 public immutable MEMBERSHIP_DEPOSIT;\\n uint256 public immutable DEPTH;\\n uint256 public immutable SET_SIZE;\\n\\n uint256 public idCommitmentIndex;\\n mapping(uint256 => uint256) public stakedAmounts;\\n mapping(uint256 => bool) public members;\\n\\n IPoseidonHasher public poseidonHasher;\\n\\n event MemberRegistered(uint256 idCommitment, uint256 index);\\n event MemberWithdrawn(uint256 idCommitment);\\n\\n constructor(\\n uint256 membershipDeposit,\\n uint256 depth,\\n address _poseidonHasher\\n ) {\\n MEMBERSHIP_DEPOSIT = membershipDeposit;\\n DEPTH = depth;\\n SET_SIZE = 1 << depth;\\n poseidonHasher = IPoseidonHasher(_poseidonHasher);\\n }\\n\\n function register(uint256 idCommitment) external payable {\\n require(\\n msg.value == MEMBERSHIP_DEPOSIT,\\n \\\"RLN, register: membership deposit is not satisfied\\\"\\n );\\n _register(idCommitment, msg.value);\\n }\\n\\n function registerBatch(uint256[] calldata idCommitments) external payable {\\n uint256 idCommitmentlen = idCommitments.length;\\n require(\\n idCommitmentIndex + idCommitmentlen <= SET_SIZE,\\n \\\"RLN, registerBatch: set is full\\\"\\n );\\n require(\\n msg.value == MEMBERSHIP_DEPOSIT * idCommitmentlen,\\n \\\"RLN, registerBatch: membership deposit is not satisfied\\\"\\n );\\n for (uint256 i = 0; i < idCommitmentlen; i++) {\\n _register(idCommitments[i], msg.value / idCommitmentlen);\\n }\\n }\\n\\n function _register(uint256 idCommitment, uint256 stake) internal {\\n require(\\n !members[idCommitment],\\n \\\"RLN, _register: member already registered\\\"\\n );\\n require(idCommitmentIndex < SET_SIZE, \\\"RLN, register: set is full\\\");\\n if (stake != 0) {\\n members[idCommitment] = true;\\n stakedAmounts[idCommitment] = stake;\\n } else {\\n members[idCommitment] = true;\\n stakedAmounts[idCommitment] = 0;\\n }\\n emit MemberRegistered(idCommitment, idCommitmentIndex);\\n idCommitmentIndex += 1;\\n }\\n\\n function withdrawBatch(\\n uint256[] calldata secrets,\\n address payable[] calldata receivers\\n ) external {\\n uint256 batchSize = secrets.length;\\n require(batchSize != 0, \\\"RLN, withdrawBatch: batch size zero\\\");\\n require(\\n batchSize == secrets.length,\\n \\\"RLN, withdrawBatch: batch size mismatch secrets\\\"\\n );\\n require(\\n batchSize == receivers.length,\\n \\\"RLN, withdrawBatch: batch size mismatch receivers\\\"\\n );\\n for (uint256 i = 0; i < batchSize; i++) {\\n _withdraw(secrets[i], receivers[i]);\\n }\\n }\\n\\n function withdraw(uint256 secret, address payable receiver) external {\\n _withdraw(secret, receiver);\\n }\\n\\n function withdraw(uint256 secret) external {\\n _withdraw(secret);\\n }\\n\\n function _withdraw(uint256 secret, address payable receiver) internal {\\n // derive idCommitment\\n uint256 idCommitment = hash(secret);\\n\\n // check if member is registered\\n require(members[idCommitment], \\\"RLN, _withdraw: member not registered\\\");\\n\\n // check if member has stake\\n require(\\n stakedAmounts[idCommitment] != 0,\\n \\\"RLN, _withdraw: member has no stake\\\"\\n );\\n\\n require(\\n receiver != address(0),\\n \\\"RLN, _withdraw: empty receiver address\\\"\\n );\\n\\n // delete member\\n members[idCommitment] = false;\\n stakedAmounts[idCommitment] = 0;\\n\\n // refund deposit\\n (bool sent, ) = receiver.call{value: stakedAmounts[idCommitment]}(\\\"\\\");\\n require(sent, \\\"transfer failed\\\");\\n\\n emit MemberWithdrawn(idCommitment);\\n }\\n\\n function _withdraw(uint256 secret) internal {\\n // derive idCommitment\\n uint256 idCommitment = hash(secret);\\n\\n // check if member is registered\\n require(members[idCommitment], \\\"RLN, _withdraw: member not registered\\\");\\n\\n require(stakedAmounts[idCommitment] == 0, \\\"RLN, _withdraw: staked\\\");\\n\\n // delete member\\n members[idCommitment] = false;\\n\\n emit MemberWithdrawn(idCommitment);\\n }\\n\\n function hash(uint256 input) internal view returns (uint256) {\\n return poseidonHasher.hash(input);\\n }\\n}\\n\",\"keccak256\":\"0x628a9bfc602719d2d606336074ba2262880c3a8c0c13ec1e3cf477a8019c09e7\",\"license\":\"MIT\"}},\"version\":1}", - "bytecode": "0x60e06040523480156200001157600080fd5b5060405162001b7f38038062001b7f833981810160405281019062000037919062000142565b82608081815250508160a08181525050816001901b60c0818152505080600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505050506200019e565b600080fd5b6000819050919050565b620000b781620000a2565b8114620000c357600080fd5b50565b600081519050620000d781620000ac565b92915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006200010a82620000dd565b9050919050565b6200011c81620000fd565b81146200012857600080fd5b50565b6000815190506200013c8162000111565b92915050565b6000806000606084860312156200015e576200015d6200009d565b5b60006200016e86828701620000c6565b93505060206200018186828701620000c6565b925050604062000194868287016200012b565b9150509250925092565b60805160a05160c051611995620001ea6000396000818161045e015281816105cf0152610a840152600061058d0152600081816104cf015281816105f3015261066201526119956000f3fe6080604052600436106100a65760003560e01c806398366e351161006457806398366e35146101aa578063ae74552a146101d5578063bc49912814610200578063d0383d681461023d578063f207564e14610268578063f220b9ec14610284576100a6565b8062f714ce146100ab5780632e1a7d4d146100d4578063331b6ab3146100fd57806340070712146101285780635daf08ca1461015157806369e4863f1461018e575b600080fd5b3480156100b757600080fd5b506100d260048036038101906100cd9190610d18565b6102af565b005b3480156100e057600080fd5b506100fb60048036038101906100f69190610d58565b6102bd565b005b34801561010957600080fd5b506101126102c9565b60405161011f9190610de4565b60405180910390f35b34801561013457600080fd5b5061014f600480360381019061014a9190610eba565b6102ef565b005b34801561015d57600080fd5b5061017860048036038101906101739190610d58565b610434565b6040516101859190610f56565b60405180910390f35b6101a860048036038101906101a39190610f71565b610454565b005b3480156101b657600080fd5b506101bf61058b565b6040516101cc9190610fcd565b60405180910390f35b3480156101e157600080fd5b506101ea6105af565b6040516101f79190610fcd565b60405180910390f35b34801561020c57600080fd5b5061022760048036038101906102229190610d58565b6105b5565b6040516102349190610fcd565b60405180910390f35b34801561024957600080fd5b506102526105cd565b60405161025f9190610fcd565b60405180910390f35b610282600480360381019061027d9190610d58565b6105f1565b005b34801561029057600080fd5b50610299610660565b6040516102a69190610fcd565b60405180910390f35b6102b98282610684565b5050565b6102c6816108f7565b50565b600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60008484905090506000810361033a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016103319061106b565b60405180910390fd5b84849050811461037f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610376906110fd565b60405180910390fd5b8282905081146103c4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016103bb9061118f565b60405180910390fd5b60005b8181101561042c576104198686838181106103e5576103e46111af565b5b905060200201358585848181106103ff576103fe6111af565b5b905060200201602081019061041491906111de565b610684565b80806104249061123a565b9150506103c7565b505050505050565b60026020528060005260406000206000915054906101000a900460ff1681565b60008282905090507f00000000000000000000000000000000000000000000000000000000000000008160005461048b9190611282565b11156104cc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016104c390611324565b60405180910390fd5b807f00000000000000000000000000000000000000000000000000000000000000006104f89190611344565b3414610539576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161053090611410565b60405180910390fd5b60005b818110156105855761057284848381811061055a576105596111af565b5b90506020020135833461056d919061145f565b610a21565b808061057d9061123a565b91505061053c565b50505050565b7f000000000000000000000000000000000000000000000000000000000000000081565b60005481565b60016020528060005260406000206000915090505481565b7f000000000000000000000000000000000000000000000000000000000000000081565b7f00000000000000000000000000000000000000000000000000000000000000003414610653576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161064a90611502565b60405180910390fd5b61065d8134610a21565b50565b7f000000000000000000000000000000000000000000000000000000000000000081565b600061068f83610bd5565b90506002600082815260200190815260200160002060009054906101000a900460ff166106f1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016106e890611594565b60405180910390fd5b6000600160008381526020019081526020016000205403610747576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161073e90611626565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036107b6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107ad906116b8565b60405180910390fd5b60006002600083815260200190815260200160002060006101000a81548160ff0219169083151502179055506000600160008381526020019081526020016000208190555060008273ffffffffffffffffffffffffffffffffffffffff16600160008481526020019081526020016000205460405161083490611709565b60006040518083038185875af1925050503d8060008114610871576040519150601f19603f3d011682016040523d82523d6000602084013e610876565b606091505b50509050806108ba576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108b19061176a565b60405180910390fd5b7fad2d771c5ad1c1e6f50cc769e53ec1e194002c29f28c3dd2af5639b60d8072a6826040516108e99190610fcd565b60405180910390a150505050565b600061090282610bd5565b90506002600082815260200190815260200160002060009054906101000a900460ff16610964576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161095b90611594565b60405180910390fd5b60006001600083815260200190815260200160002054146109ba576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109b1906117d6565b60405180910390fd5b60006002600083815260200190815260200160002060006101000a81548160ff0219169083151502179055507fad2d771c5ad1c1e6f50cc769e53ec1e194002c29f28c3dd2af5639b60d8072a681604051610a159190610fcd565b60405180910390a15050565b6002600083815260200190815260200160002060009054906101000a900460ff1615610a82576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a7990611868565b60405180910390fd5b7f000000000000000000000000000000000000000000000000000000000000000060005410610ae6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610add906118d4565b60405180910390fd5b60008114610b375760016002600084815260200190815260200160002060006101000a81548160ff021916908315150217905550806001600084815260200190815260200160002081905550610b7d565b60016002600084815260200190815260200160002060006101000a81548160ff021916908315150217905550600060016000848152602001908152602001600020819055505b7f5a92c2530f207992057b9c3e544108ffce3beda4a63719f316967c49bf6159d282600054604051610bb09291906118f4565b60405180910390a16001600080828254610bca9190611282565b925050819055505050565b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663b189fd4c836040518263ffffffff1660e01b8152600401610c329190610fcd565b602060405180830381865afa158015610c4f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c739190611932565b9050919050565b600080fd5b600080fd5b6000819050919050565b610c9781610c84565b8114610ca257600080fd5b50565b600081359050610cb481610c8e565b92915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000610ce582610cba565b9050919050565b610cf581610cda565b8114610d0057600080fd5b50565b600081359050610d1281610cec565b92915050565b60008060408385031215610d2f57610d2e610c7a565b5b6000610d3d85828601610ca5565b9250506020610d4e85828601610d03565b9150509250929050565b600060208284031215610d6e57610d6d610c7a565b5b6000610d7c84828501610ca5565b91505092915050565b6000819050919050565b6000610daa610da5610da084610cba565b610d85565b610cba565b9050919050565b6000610dbc82610d8f565b9050919050565b6000610dce82610db1565b9050919050565b610dde81610dc3565b82525050565b6000602082019050610df96000830184610dd5565b92915050565b600080fd5b600080fd5b600080fd5b60008083601f840112610e2457610e23610dff565b5b8235905067ffffffffffffffff811115610e4157610e40610e04565b5b602083019150836020820283011115610e5d57610e5c610e09565b5b9250929050565b60008083601f840112610e7a57610e79610dff565b5b8235905067ffffffffffffffff811115610e9757610e96610e04565b5b602083019150836020820283011115610eb357610eb2610e09565b5b9250929050565b60008060008060408587031215610ed457610ed3610c7a565b5b600085013567ffffffffffffffff811115610ef257610ef1610c7f565b5b610efe87828801610e0e565b9450945050602085013567ffffffffffffffff811115610f2157610f20610c7f565b5b610f2d87828801610e64565b925092505092959194509250565b60008115159050919050565b610f5081610f3b565b82525050565b6000602082019050610f6b6000830184610f47565b92915050565b60008060208385031215610f8857610f87610c7a565b5b600083013567ffffffffffffffff811115610fa657610fa5610c7f565b5b610fb285828601610e0e565b92509250509250929050565b610fc781610c84565b82525050565b6000602082019050610fe26000830184610fbe565b92915050565b600082825260208201905092915050565b7f524c4e2c20776974686472617742617463683a2062617463682073697a65207a60008201527f65726f0000000000000000000000000000000000000000000000000000000000602082015250565b6000611055602383610fe8565b915061106082610ff9565b604082019050919050565b6000602082019050818103600083015261108481611048565b9050919050565b7f524c4e2c20776974686472617742617463683a2062617463682073697a65206d60008201527f69736d6174636820736563726574730000000000000000000000000000000000602082015250565b60006110e7602f83610fe8565b91506110f28261108b565b604082019050919050565b60006020820190508181036000830152611116816110da565b9050919050565b7f524c4e2c20776974686472617742617463683a2062617463682073697a65206d60008201527f69736d6174636820726563656976657273000000000000000000000000000000602082015250565b6000611179603183610fe8565b91506111848261111d565b604082019050919050565b600060208201905081810360008301526111a88161116c565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6000602082840312156111f4576111f3610c7a565b5b600061120284828501610d03565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061124582610c84565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82036112775761127661120b565b5b600182019050919050565b600061128d82610c84565b915061129883610c84565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156112cd576112cc61120b565b5b828201905092915050565b7f524c4e2c20726567697374657242617463683a207365742069732066756c6c00600082015250565b600061130e601f83610fe8565b9150611319826112d8565b602082019050919050565b6000602082019050818103600083015261133d81611301565b9050919050565b600061134f82610c84565b915061135a83610c84565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156113935761139261120b565b5b828202905092915050565b7f524c4e2c20726567697374657242617463683a206d656d62657273686970206460008201527f65706f736974206973206e6f7420736174697366696564000000000000000000602082015250565b60006113fa603783610fe8565b91506114058261139e565b604082019050919050565b60006020820190508181036000830152611429816113ed565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600061146a82610c84565b915061147583610c84565b92508261148557611484611430565b5b828204905092915050565b7f524c4e2c2072656769737465723a206d656d62657273686970206465706f736960008201527f74206973206e6f74207361746973666965640000000000000000000000000000602082015250565b60006114ec603283610fe8565b91506114f782611490565b604082019050919050565b6000602082019050818103600083015261151b816114df565b9050919050565b7f524c4e2c205f77697468647261773a206d656d626572206e6f7420726567697360008201527f7465726564000000000000000000000000000000000000000000000000000000602082015250565b600061157e602583610fe8565b915061158982611522565b604082019050919050565b600060208201905081810360008301526115ad81611571565b9050919050565b7f524c4e2c205f77697468647261773a206d656d62657220686173206e6f20737460008201527f616b650000000000000000000000000000000000000000000000000000000000602082015250565b6000611610602383610fe8565b915061161b826115b4565b604082019050919050565b6000602082019050818103600083015261163f81611603565b9050919050565b7f524c4e2c205f77697468647261773a20656d707479207265636569766572206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b60006116a2602683610fe8565b91506116ad82611646565b604082019050919050565b600060208201905081810360008301526116d181611695565b9050919050565b600081905092915050565b50565b60006116f36000836116d8565b91506116fe826116e3565b600082019050919050565b6000611714826116e6565b9150819050919050565b7f7472616e73666572206661696c65640000000000000000000000000000000000600082015250565b6000611754600f83610fe8565b915061175f8261171e565b602082019050919050565b6000602082019050818103600083015261178381611747565b9050919050565b7f524c4e2c205f77697468647261773a207374616b656400000000000000000000600082015250565b60006117c0601683610fe8565b91506117cb8261178a565b602082019050919050565b600060208201905081810360008301526117ef816117b3565b9050919050565b7f524c4e2c205f72656769737465723a206d656d62657220616c7265616479207260008201527f6567697374657265640000000000000000000000000000000000000000000000602082015250565b6000611852602983610fe8565b915061185d826117f6565b604082019050919050565b6000602082019050818103600083015261188181611845565b9050919050565b7f524c4e2c2072656769737465723a207365742069732066756c6c000000000000600082015250565b60006118be601a83610fe8565b91506118c982611888565b602082019050919050565b600060208201905081810360008301526118ed816118b1565b9050919050565b60006040820190506119096000830185610fbe565b6119166020830184610fbe565b9392505050565b60008151905061192c81610c8e565b92915050565b60006020828403121561194857611947610c7a565b5b60006119568482850161191d565b9150509291505056fea26469706673582212205902aaff360bf5b9d1c6c604770a56f7c89336c0f79d234253a73b2557b3621564736f6c634300080f0033", - "deployedBytecode": "0x6080604052600436106100a65760003560e01c806398366e351161006457806398366e35146101aa578063ae74552a146101d5578063bc49912814610200578063d0383d681461023d578063f207564e14610268578063f220b9ec14610284576100a6565b8062f714ce146100ab5780632e1a7d4d146100d4578063331b6ab3146100fd57806340070712146101285780635daf08ca1461015157806369e4863f1461018e575b600080fd5b3480156100b757600080fd5b506100d260048036038101906100cd9190610d18565b6102af565b005b3480156100e057600080fd5b506100fb60048036038101906100f69190610d58565b6102bd565b005b34801561010957600080fd5b506101126102c9565b60405161011f9190610de4565b60405180910390f35b34801561013457600080fd5b5061014f600480360381019061014a9190610eba565b6102ef565b005b34801561015d57600080fd5b5061017860048036038101906101739190610d58565b610434565b6040516101859190610f56565b60405180910390f35b6101a860048036038101906101a39190610f71565b610454565b005b3480156101b657600080fd5b506101bf61058b565b6040516101cc9190610fcd565b60405180910390f35b3480156101e157600080fd5b506101ea6105af565b6040516101f79190610fcd565b60405180910390f35b34801561020c57600080fd5b5061022760048036038101906102229190610d58565b6105b5565b6040516102349190610fcd565b60405180910390f35b34801561024957600080fd5b506102526105cd565b60405161025f9190610fcd565b60405180910390f35b610282600480360381019061027d9190610d58565b6105f1565b005b34801561029057600080fd5b50610299610660565b6040516102a69190610fcd565b60405180910390f35b6102b98282610684565b5050565b6102c6816108f7565b50565b600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60008484905090506000810361033a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016103319061106b565b60405180910390fd5b84849050811461037f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610376906110fd565b60405180910390fd5b8282905081146103c4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016103bb9061118f565b60405180910390fd5b60005b8181101561042c576104198686838181106103e5576103e46111af565b5b905060200201358585848181106103ff576103fe6111af565b5b905060200201602081019061041491906111de565b610684565b80806104249061123a565b9150506103c7565b505050505050565b60026020528060005260406000206000915054906101000a900460ff1681565b60008282905090507f00000000000000000000000000000000000000000000000000000000000000008160005461048b9190611282565b11156104cc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016104c390611324565b60405180910390fd5b807f00000000000000000000000000000000000000000000000000000000000000006104f89190611344565b3414610539576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161053090611410565b60405180910390fd5b60005b818110156105855761057284848381811061055a576105596111af565b5b90506020020135833461056d919061145f565b610a21565b808061057d9061123a565b91505061053c565b50505050565b7f000000000000000000000000000000000000000000000000000000000000000081565b60005481565b60016020528060005260406000206000915090505481565b7f000000000000000000000000000000000000000000000000000000000000000081565b7f00000000000000000000000000000000000000000000000000000000000000003414610653576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161064a90611502565b60405180910390fd5b61065d8134610a21565b50565b7f000000000000000000000000000000000000000000000000000000000000000081565b600061068f83610bd5565b90506002600082815260200190815260200160002060009054906101000a900460ff166106f1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016106e890611594565b60405180910390fd5b6000600160008381526020019081526020016000205403610747576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161073e90611626565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036107b6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107ad906116b8565b60405180910390fd5b60006002600083815260200190815260200160002060006101000a81548160ff0219169083151502179055506000600160008381526020019081526020016000208190555060008273ffffffffffffffffffffffffffffffffffffffff16600160008481526020019081526020016000205460405161083490611709565b60006040518083038185875af1925050503d8060008114610871576040519150601f19603f3d011682016040523d82523d6000602084013e610876565b606091505b50509050806108ba576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108b19061176a565b60405180910390fd5b7fad2d771c5ad1c1e6f50cc769e53ec1e194002c29f28c3dd2af5639b60d8072a6826040516108e99190610fcd565b60405180910390a150505050565b600061090282610bd5565b90506002600082815260200190815260200160002060009054906101000a900460ff16610964576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161095b90611594565b60405180910390fd5b60006001600083815260200190815260200160002054146109ba576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109b1906117d6565b60405180910390fd5b60006002600083815260200190815260200160002060006101000a81548160ff0219169083151502179055507fad2d771c5ad1c1e6f50cc769e53ec1e194002c29f28c3dd2af5639b60d8072a681604051610a159190610fcd565b60405180910390a15050565b6002600083815260200190815260200160002060009054906101000a900460ff1615610a82576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a7990611868565b60405180910390fd5b7f000000000000000000000000000000000000000000000000000000000000000060005410610ae6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610add906118d4565b60405180910390fd5b60008114610b375760016002600084815260200190815260200160002060006101000a81548160ff021916908315150217905550806001600084815260200190815260200160002081905550610b7d565b60016002600084815260200190815260200160002060006101000a81548160ff021916908315150217905550600060016000848152602001908152602001600020819055505b7f5a92c2530f207992057b9c3e544108ffce3beda4a63719f316967c49bf6159d282600054604051610bb09291906118f4565b60405180910390a16001600080828254610bca9190611282565b925050819055505050565b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663b189fd4c836040518263ffffffff1660e01b8152600401610c329190610fcd565b602060405180830381865afa158015610c4f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c739190611932565b9050919050565b600080fd5b600080fd5b6000819050919050565b610c9781610c84565b8114610ca257600080fd5b50565b600081359050610cb481610c8e565b92915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000610ce582610cba565b9050919050565b610cf581610cda565b8114610d0057600080fd5b50565b600081359050610d1281610cec565b92915050565b60008060408385031215610d2f57610d2e610c7a565b5b6000610d3d85828601610ca5565b9250506020610d4e85828601610d03565b9150509250929050565b600060208284031215610d6e57610d6d610c7a565b5b6000610d7c84828501610ca5565b91505092915050565b6000819050919050565b6000610daa610da5610da084610cba565b610d85565b610cba565b9050919050565b6000610dbc82610d8f565b9050919050565b6000610dce82610db1565b9050919050565b610dde81610dc3565b82525050565b6000602082019050610df96000830184610dd5565b92915050565b600080fd5b600080fd5b600080fd5b60008083601f840112610e2457610e23610dff565b5b8235905067ffffffffffffffff811115610e4157610e40610e04565b5b602083019150836020820283011115610e5d57610e5c610e09565b5b9250929050565b60008083601f840112610e7a57610e79610dff565b5b8235905067ffffffffffffffff811115610e9757610e96610e04565b5b602083019150836020820283011115610eb357610eb2610e09565b5b9250929050565b60008060008060408587031215610ed457610ed3610c7a565b5b600085013567ffffffffffffffff811115610ef257610ef1610c7f565b5b610efe87828801610e0e565b9450945050602085013567ffffffffffffffff811115610f2157610f20610c7f565b5b610f2d87828801610e64565b925092505092959194509250565b60008115159050919050565b610f5081610f3b565b82525050565b6000602082019050610f6b6000830184610f47565b92915050565b60008060208385031215610f8857610f87610c7a565b5b600083013567ffffffffffffffff811115610fa657610fa5610c7f565b5b610fb285828601610e0e565b92509250509250929050565b610fc781610c84565b82525050565b6000602082019050610fe26000830184610fbe565b92915050565b600082825260208201905092915050565b7f524c4e2c20776974686472617742617463683a2062617463682073697a65207a60008201527f65726f0000000000000000000000000000000000000000000000000000000000602082015250565b6000611055602383610fe8565b915061106082610ff9565b604082019050919050565b6000602082019050818103600083015261108481611048565b9050919050565b7f524c4e2c20776974686472617742617463683a2062617463682073697a65206d60008201527f69736d6174636820736563726574730000000000000000000000000000000000602082015250565b60006110e7602f83610fe8565b91506110f28261108b565b604082019050919050565b60006020820190508181036000830152611116816110da565b9050919050565b7f524c4e2c20776974686472617742617463683a2062617463682073697a65206d60008201527f69736d6174636820726563656976657273000000000000000000000000000000602082015250565b6000611179603183610fe8565b91506111848261111d565b604082019050919050565b600060208201905081810360008301526111a88161116c565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6000602082840312156111f4576111f3610c7a565b5b600061120284828501610d03565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061124582610c84565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82036112775761127661120b565b5b600182019050919050565b600061128d82610c84565b915061129883610c84565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156112cd576112cc61120b565b5b828201905092915050565b7f524c4e2c20726567697374657242617463683a207365742069732066756c6c00600082015250565b600061130e601f83610fe8565b9150611319826112d8565b602082019050919050565b6000602082019050818103600083015261133d81611301565b9050919050565b600061134f82610c84565b915061135a83610c84565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156113935761139261120b565b5b828202905092915050565b7f524c4e2c20726567697374657242617463683a206d656d62657273686970206460008201527f65706f736974206973206e6f7420736174697366696564000000000000000000602082015250565b60006113fa603783610fe8565b91506114058261139e565b604082019050919050565b60006020820190508181036000830152611429816113ed565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600061146a82610c84565b915061147583610c84565b92508261148557611484611430565b5b828204905092915050565b7f524c4e2c2072656769737465723a206d656d62657273686970206465706f736960008201527f74206973206e6f74207361746973666965640000000000000000000000000000602082015250565b60006114ec603283610fe8565b91506114f782611490565b604082019050919050565b6000602082019050818103600083015261151b816114df565b9050919050565b7f524c4e2c205f77697468647261773a206d656d626572206e6f7420726567697360008201527f7465726564000000000000000000000000000000000000000000000000000000602082015250565b600061157e602583610fe8565b915061158982611522565b604082019050919050565b600060208201905081810360008301526115ad81611571565b9050919050565b7f524c4e2c205f77697468647261773a206d656d62657220686173206e6f20737460008201527f616b650000000000000000000000000000000000000000000000000000000000602082015250565b6000611610602383610fe8565b915061161b826115b4565b604082019050919050565b6000602082019050818103600083015261163f81611603565b9050919050565b7f524c4e2c205f77697468647261773a20656d707479207265636569766572206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b60006116a2602683610fe8565b91506116ad82611646565b604082019050919050565b600060208201905081810360008301526116d181611695565b9050919050565b600081905092915050565b50565b60006116f36000836116d8565b91506116fe826116e3565b600082019050919050565b6000611714826116e6565b9150819050919050565b7f7472616e73666572206661696c65640000000000000000000000000000000000600082015250565b6000611754600f83610fe8565b915061175f8261171e565b602082019050919050565b6000602082019050818103600083015261178381611747565b9050919050565b7f524c4e2c205f77697468647261773a207374616b656400000000000000000000600082015250565b60006117c0601683610fe8565b91506117cb8261178a565b602082019050919050565b600060208201905081810360008301526117ef816117b3565b9050919050565b7f524c4e2c205f72656769737465723a206d656d62657220616c7265616479207260008201527f6567697374657265640000000000000000000000000000000000000000000000602082015250565b6000611852602983610fe8565b915061185d826117f6565b604082019050919050565b6000602082019050818103600083015261188181611845565b9050919050565b7f524c4e2c2072656769737465723a207365742069732066756c6c000000000000600082015250565b60006118be601a83610fe8565b91506118c982611888565b602082019050919050565b600060208201905081810360008301526118ed816118b1565b9050919050565b60006040820190506119096000830185610fbe565b6119166020830184610fbe565b9392505050565b60008151905061192c81610c8e565b92915050565b60006020828403121561194857611947610c7a565b5b60006119568482850161191d565b9150509291505056fea26469706673582212205902aaff360bf5b9d1c6c604770a56f7c89336c0f79d234253a73b2557b3621564736f6c634300080f0033", + "args": [1000000000000000, 20, "0xa1554EAF0DF18C05956249aac375e212edeD2CcF"], + "numDeployments": 2, + "solcInputHash": "b1509b5db56df56b3944fa20992a2034", + "metadata": "{\"compiler\":{\"version\":\"0.8.15+commit.e14f2714\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"membershipDeposit\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"depth\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"_poseidonHasher\",\"type\":\"address\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"inputs\":[],\"name\":\"DuplicateIdCommitment\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"EmptyBatch\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"FullBatch\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"required\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"provided\",\"type\":\"uint256\"}],\"name\":\"InsufficientDeposit\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"}],\"name\":\"InvalidWithdrawalAddress\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"idCommitment\",\"type\":\"uint256\"}],\"name\":\"MemberHasNoStake\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"idCommitment\",\"type\":\"uint256\"}],\"name\":\"MemberNotRegistered\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"givenSecretsLen\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"givenReceiversLen\",\"type\":\"uint256\"}],\"name\":\"MismatchedBatchSize\",\"type\":\"error\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"idCommitment\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"index\",\"type\":\"uint256\"}],\"name\":\"MemberRegistered\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"idCommitment\",\"type\":\"uint256\"}],\"name\":\"MemberWithdrawn\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"DEPTH\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"MEMBERSHIP_DEPOSIT\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"SET_SIZE\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"idCommitmentIndex\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"members\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"poseidonHasher\",\"outputs\":[{\"internalType\":\"contract IPoseidonHasher\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"idCommitment\",\"type\":\"uint256\"}],\"name\":\"register\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256[]\",\"name\":\"idCommitments\",\"type\":\"uint256[]\"}],\"name\":\"registerBatch\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"stakedAmounts\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"secret\",\"type\":\"uint256\"},{\"internalType\":\"address payable\",\"name\":\"receiver\",\"type\":\"address\"}],\"name\":\"withdraw\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256[]\",\"name\":\"secrets\",\"type\":\"uint256[]\"},{\"internalType\":\"address payable[]\",\"name\":\"receivers\",\"type\":\"address[]\"}],\"name\":\"withdrawBatch\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}],\"devdoc\":{\"errors\":{\"InsufficientDeposit(uint256,uint256)\":[{\"params\":{\"provided\":\"The provided deposit amount\",\"required\":\"The required deposit amount\"}}],\"MismatchedBatchSize(uint256,uint256)\":[{\"params\":{\"givenReceiversLen\":\"The length of the receivers array\",\"givenSecretsLen\":\"The length of the secrets array\"}}]},\"events\":{\"MemberRegistered(uint256,uint256)\":{\"params\":{\"idCommitment\":\"The idCommitment of the member\",\"index\":\"The index of the member in the set\"}},\"MemberWithdrawn(uint256)\":{\"params\":{\"idCommitment\":\"The idCommitment of the member\"}}},\"kind\":\"dev\",\"methods\":{\"register(uint256)\":{\"params\":{\"idCommitment\":\"The idCommitment of the member\"}},\"registerBatch(uint256[])\":{\"params\":{\"idCommitments\":\"array of idCommitments\"}},\"withdraw(uint256,address)\":{\"params\":{\"secret\":\"The idSecretHash of the member\"}},\"withdrawBatch(uint256[],address[])\":{\"params\":{\"receivers\":\"array of addresses to receive the funds\",\"secrets\":\"array of idSecretHashes\"}}},\"version\":1},\"userdoc\":{\"errors\":{\"DuplicateIdCommitment()\":[{\"notice\":\"Member is already registered\"}],\"EmptyBatch()\":[{\"notice\":\"Provided Batch is empty\"}],\"FullBatch()\":[{\"notice\":\"Batch is full, during batch operations\"}],\"InsufficientDeposit(uint256,uint256)\":[{\"notice\":\"Invalid deposit amount\"}],\"InvalidWithdrawalAddress(address)\":[{\"notice\":\"Invalid withdrawal address, when the receiver is the contract itself or 0x0\"}],\"MemberHasNoStake(uint256)\":[{\"notice\":\"Member has no stake\"}],\"MemberNotRegistered(uint256)\":[{\"notice\":\"Member is not registered\"}],\"MismatchedBatchSize(uint256,uint256)\":[{\"notice\":\"Batch size mismatch, when the length of secrets and receivers are not equal\"}]},\"events\":{\"MemberRegistered(uint256,uint256)\":{\"notice\":\"Emitted when a new member is added to the set\"},\"MemberWithdrawn(uint256)\":{\"notice\":\"Emitted when a member is removed from the set\"}},\"kind\":\"user\",\"methods\":{\"DEPTH()\":{\"notice\":\"The depth of the merkle tree\"},\"MEMBERSHIP_DEPOSIT()\":{\"notice\":\"The deposit amount required to register as a member\"},\"SET_SIZE()\":{\"notice\":\"The size of the merkle tree, i.e 2^depth\"},\"idCommitmentIndex()\":{\"notice\":\"The index of the next member to be registered\"},\"members(uint256)\":{\"notice\":\"The membership status of each member\"},\"poseidonHasher()\":{\"notice\":\"The Poseidon hasher contract\"},\"register(uint256)\":{\"notice\":\"Allows a user to register as a member\"},\"registerBatch(uint256[])\":{\"notice\":\"Allows batch registration of members\"},\"stakedAmounts(uint256)\":{\"notice\":\"The amount of eth staked by each member\"},\"withdraw(uint256,address)\":{\"notice\":\"Allows a user to slash a member\"},\"withdrawBatch(uint256[],address[])\":{\"notice\":\"Allows a user to slash a batch of members\"}},\"version\":1}},\"settings\":{\"compilationTarget\":{\"contracts/Rln.sol\":\"RLN\"},\"evmVersion\":\"london\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\",\"useLiteralContent\":true},\"optimizer\":{\"enabled\":false,\"runs\":200},\"remappings\":[\":ds-test/=lib/forge-std/lib/ds-test/src/\",\":forge-std/=lib/forge-std/src/\"]},\"sources\":{\"contracts/PoseidonHasher.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\n\\n// Forked from https://github.com/kilic/rlnapp/\\n\\npragma solidity 0.8.15;\\n\\ninterface IPoseidonHasher {\\n /// @notice Hashes the input using the Poseidon hash function, n = 2, second input is the constant 0\\n /// @param input The input to hash\\n function hash(uint256 input) external pure returns (uint256 result);\\n}\\n\\ncontract PoseidonHasher is IPoseidonHasher {\\n uint256 constant Q =\\n 21888242871839275222246405745257275088548364400416034343698204186575808495617;\\n uint256 constant C0 =\\n 4417881134626180770308697923359573201005643519861877412381846989312604493735;\\n uint256 constant C1 =\\n 5433650512959517612316327474713065966758808864213826738576266661723522780033;\\n uint256 constant C2 =\\n 13641176377184356099764086973022553863760045607496549923679278773208775739952;\\n uint256 constant C3 =\\n 17949713444224994136330421782109149544629237834775211751417461773584374506783;\\n uint256 constant C4 =\\n 13765628375339178273710281891027109699578766420463125835325926111705201856003;\\n uint256 constant C5 =\\n 19179513468172002314585757290678967643352171735526887944518845346318719730387;\\n uint256 constant C6 =\\n 5157412437176756884543472904098424903141745259452875378101256928559722612176;\\n uint256 constant C7 =\\n 535160875740282236955320458485730000677124519901643397458212725410971557409;\\n uint256 constant C8 =\\n 1050793453380762984940163090920066886770841063557081906093018330633089036729;\\n uint256 constant C9 =\\n 10665495010329663932664894101216428400933984666065399374198502106997623173873;\\n uint256 constant C10 =\\n 19965634623406616956648724894636666805991993496469370618546874926025059150737;\\n uint256 constant C11 =\\n 13007250030070838431593222885902415182312449212965120303174723305710127422213;\\n uint256 constant C12 =\\n 16877538715074991604507979123743768693428157847423939051086744213162455276374;\\n uint256 constant C13 =\\n 18211747749504876135588847560312685184956239426147543810126553367063157141465;\\n uint256 constant C14 =\\n 18151553319826126919739798892854572062191241985315767086020821632812331245635;\\n uint256 constant C15 =\\n 19957033149976712666746140949846950406660099037474791840946955175819555930825;\\n uint256 constant C16 =\\n 3469514863538261843186854830917934449567467100548474599735384052339577040841;\\n uint256 constant C17 =\\n 989698510043911779243192466312362856042600749099921773896924315611668507708;\\n uint256 constant C18 =\\n 12568377015646290945235387813564567111330046038050864455358059568128000172201;\\n uint256 constant C19 =\\n 20856104135605479600325529349246932565148587186338606236677138505306779314172;\\n uint256 constant C20 =\\n 8206918720503535523121349917159924938835810381723474192155637697065780938424;\\n uint256 constant C21 =\\n 1309058477013932989380617265069188723120054926187607548493110334522527703566;\\n uint256 constant C22 =\\n 14076116939332667074621703729512195584105250395163383769419390236426287710606;\\n uint256 constant C23 =\\n 10153498892749751942204288991871286290442690932856658983589258153608012428674;\\n uint256 constant C24 =\\n 18202499207234128286137597834010475797175973146805180988367589376893530181575;\\n uint256 constant C25 =\\n 12739388830157083522877690211447248168864006284243907142044329113461613743052;\\n uint256 constant C26 =\\n 15123358710467780770838026754240340042441262572309759635224051333176022613949;\\n uint256 constant C27 =\\n 19925004701844594370904593774447343836015483888496504201331110250494635362184;\\n uint256 constant C28 =\\n 10352416606816998476681131583320899030072315953910679608943150613208329645891;\\n uint256 constant C29 =\\n 10567371822366244361703342347428230537114808440249611395507235283708966113221;\\n uint256 constant C30 =\\n 5635498582763880627392290206431559361272660937399944184533035305989295959602;\\n uint256 constant C31 =\\n 11866432933224219174041051738704352719163271639958083608224676028593315904909;\\n uint256 constant C32 =\\n 5795020705294401441272215064554385591292330721703923167136157291459784140431;\\n uint256 constant C33 =\\n 9482202378699252817564375087302794636287866584767523335624368774856230692758;\\n uint256 constant C34 =\\n 4245237636894546151746468406560945873445548423466753843402086544922216329298;\\n uint256 constant C35 =\\n 12000500941313982757584712677991730019124834399479314697467598397927435905133;\\n uint256 constant C36 =\\n 7596790274058425558167520209857956363736666939016807569082239187494363541787;\\n uint256 constant C37 =\\n 2484867918246116343205467273440098378820186751202461278013576281097918148877;\\n uint256 constant C38 =\\n 18312645949449997391810445935615409295369169383463185688973803378104013950190;\\n uint256 constant C39 =\\n 15320686572748723004980855263301182130424010735782762814513954166519592552733;\\n uint256 constant C40 =\\n 12618438900597948888520621062416758747872180395546164387827245287017031303859;\\n uint256 constant C41 =\\n 17438141672027706116733201008397064011774368832458707512367404736905021019585;\\n uint256 constant C42 =\\n 6374197807230665998865688675365359100400438034755781666913068586172586548950;\\n uint256 constant C43 =\\n 2189398913433273865510950346186699930188746169476472274335177556702504595264;\\n uint256 constant C44 =\\n 6268495580028970231803791523870131137294646402347399003576649137450213034606;\\n uint256 constant C45 =\\n 17896250365994900261202920044129628104272791547990619503076839618914047059275;\\n uint256 constant C46 =\\n 13692156312448722528008862371944543449350293305158722920787736248435893008873;\\n uint256 constant C47 =\\n 15234446864368744483209945022439268713300180233589581910497691316744177619376;\\n uint256 constant C48 =\\n 1572426502623310766593681563281600503979671244997798691029595521622402217227;\\n uint256 constant C49 =\\n 80103447810215150918585162168214870083573048458555897999822831203653996617;\\n uint256 constant C50 =\\n 8228820324013669567851850635126713973797711779951230446503353812192849106342;\\n uint256 constant C51 =\\n 5375851433746509614045812476958526065449377558695752132494533666370449415873;\\n uint256 constant C52 =\\n 12115998939203497346386774317892338270561208357481805380546938146796257365018;\\n uint256 constant C53 =\\n 9764067909645821279940531410531154041386008396840887338272986634350423466622;\\n uint256 constant C54 =\\n 8538708244538850542384936174629541085495830544298260335345008245230827876882;\\n uint256 constant C55 =\\n 7140127896620013355910287215441004676619168261422440177712039790284719613114;\\n uint256 constant C56 =\\n 14297402962228458726038826185823085337698917275385741292940049024977027409762;\\n uint256 constant C57 =\\n 6667115556431351074165934212337261254608231545257434281887966406956835140819;\\n uint256 constant C58 =\\n 20226761165244293291042617464655196752671169026542832236139342122602741090001;\\n uint256 constant C59 =\\n 12038289506489256655759141386763477208196694421666339040483042079632134429119;\\n uint256 constant C60 =\\n 19027757334170818571203982241812412991528769934917288000224335655934473717551;\\n uint256 constant C61 =\\n 16272152964456553579565580463468069884359929612321610357528838696790370074720;\\n uint256 constant C62 =\\n 2500392889689246014710135696485946334448570271481948765283016105301740284071;\\n uint256 constant C63 =\\n 8595254970528530312401637448610398388203855633951264114100575485022581946023;\\n uint256 constant C64 =\\n 11635945688914011450976408058407206367914559009113158286982919675551688078198;\\n uint256 constant C65 =\\n 614739068603482619581328040478536306925147663946742687395148680260956671871;\\n uint256 constant C66 =\\n 18692271780377861570175282183255720350972693125537599213951106550953176268753;\\n uint256 constant C67 =\\n 4987059230784976306647166378298632695585915319042844495357753339378260807164;\\n uint256 constant C68 =\\n 21851403978498723616722415377430107676258664746210815234490134600998983955497;\\n uint256 constant C69 =\\n 9830635451186415300891533983087800047564037813328875992115573428596207326204;\\n uint256 constant C70 =\\n 4842706106434537116860242620706030229206345167233200482994958847436425185478;\\n uint256 constant C71 =\\n 6422235064906823218421386871122109085799298052314922856340127798647926126490;\\n uint256 constant C72 =\\n 4564364104986856861943331689105797031330091877115997069096365671501473357846;\\n uint256 constant C73 =\\n 1944043894089780613038197112872830569538541856657037469098448708685350671343;\\n uint256 constant C74 =\\n 21179865974855950600518216085229498748425990426231530451599322283119880194955;\\n uint256 constant C75 =\\n 14296697761894107574369608843560006996183955751502547883167824879840894933162;\\n uint256 constant C76 =\\n 12274619649702218570450581712439138337725246879938860735460378251639845671898;\\n uint256 constant C77 =\\n 16371396450276899401411886674029075408418848209575273031725505038938314070356;\\n uint256 constant C78 =\\n 3702561221750983937578095019779188631407216522704543451228773892695044653565;\\n uint256 constant C79 =\\n 19721616877735564664624984774636557499099875603996426215495516594530838681980;\\n uint256 constant C80 =\\n 6383350109027696789969911008057747025018308755462287526819231672217685282429;\\n uint256 constant C81 =\\n 20860583956177367265984596617324237471765572961978977333122281041544719622905;\\n uint256 constant C82 =\\n 5766390934595026947545001478457407504285452477687752470140790011329357286275;\\n uint256 constant C83 =\\n 4043175758319898049344746138515323336207420888499903387536875603879441092484;\\n uint256 constant C84 =\\n 15579382179133608217098622223834161692266188678101563820988612253342538956534;\\n uint256 constant C85 =\\n 1864640783252634743892105383926602930909039567065240010338908865509831749824;\\n uint256 constant C86 =\\n 15943719865023133586707144161652035291705809358178262514871056013754142625673;\\n uint256 constant C87 =\\n 2326415993032390211558498780803238091925402878871059708106213703504162832999;\\n uint256 constant C88 =\\n 19995326402773833553207196590622808505547443523750970375738981396588337910289;\\n uint256 constant C89 =\\n 5143583711361588952673350526320181330406047695593201009385718506918735286622;\\n uint256 constant C90 =\\n 15436006486881920976813738625999473183944244531070780793506388892313517319583;\\n uint256 constant C91 =\\n 16660446760173633166698660166238066533278664023818938868110282615200613695857;\\n uint256 constant C92 =\\n 4966065365695755376133119391352131079892396024584848298231004326013366253934;\\n uint256 constant C93 =\\n 20683781957411705574951987677641476019618457561419278856689645563561076926702;\\n uint256 constant C94 =\\n 17280836839165902792086432296371645107551519324565649849400948918605456875699;\\n uint256 constant C95 =\\n 17045635513701208892073056357048619435743564064921155892004135325530808465371;\\n uint256 constant C96 =\\n 17055032967194400710390142791334572297458033582458169295920670679093585707295;\\n uint256 constant C97 =\\n 15727174639569115300068198908071514334002742825679221638729902577962862163505;\\n uint256 constant C98 =\\n 1001755657610446661315902885492677747789366510875120894840818704741370398633;\\n uint256 constant C99 =\\n 18638547332826171619311285502376343504539399518545103511265465604926625041234;\\n uint256 constant C100 =\\n 6751954224763196429755298529194402870632445298969935050224267844020826420799;\\n uint256 constant C101 =\\n 3526747115904224771452549517614107688674036840088422555827581348280834879405;\\n uint256 constant C102 =\\n 15705897908180497062880001271426561999724005008972544196300715293701537574122;\\n uint256 constant C103 =\\n 574386695213920937259007343820417029802510752426579750428758189312416867750;\\n uint256 constant C104 =\\n 15973040855000600860816974646787367136127946402908768408978806375685439868553;\\n uint256 constant C105 =\\n 20934130413948796333037139460875996342810005558806621330680156931816867321122;\\n uint256 constant C106 =\\n 6918585327145564636398173845411579411526758237572034236476079610890705810764;\\n uint256 constant C107 =\\n 14158163500813182062258176233162498241310167509137716527054939926126453647182;\\n uint256 constant C108 =\\n 4164602626597695668474100217150111342272610479949122406544277384862187287433;\\n uint256 constant C109 =\\n 12146526846507496913615390662823936206892812880963914267275606265272996025304;\\n uint256 constant C110 =\\n 10153527926900017763244212043512822363696541810586522108597162891799345289938;\\n uint256 constant C111 =\\n 13564663485965299104296214940873270349072051793008946663855767889066202733588;\\n uint256 constant C112 =\\n 5612449256997576125867742696783020582952387615430650198777254717398552960096;\\n uint256 constant C113 =\\n 12151885480032032868507892738683067544172874895736290365318623681886999930120;\\n uint256 constant C114 =\\n 380452237704664384810613424095477896605414037288009963200982915188629772177;\\n uint256 constant C115 =\\n 9067557551252570188533509616805287919563636482030947363841198066124642069518;\\n uint256 constant C116 =\\n 21280306817619711661335268484199763923870315733198162896599997188206277056900;\\n uint256 constant C117 =\\n 5567165819557297006750252582140767993422097822227408837378089569369734876257;\\n uint256 constant C118 =\\n 10411936321072105429908396649383171465939606386380071222095155850987201580137;\\n uint256 constant C119 =\\n 21338390051413922944780864872652000187403217966653363270851298678606449622266;\\n uint256 constant C120 =\\n 12156296560457833712186127325312904760045212412680904475497938949653569234473;\\n uint256 constant C121 =\\n 4271647814574748734312113971565139132510281260328947438246615707172526380757;\\n uint256 constant C122 =\\n 9061738206062369647211128232833114177054715885442782773131292534862178874950;\\n uint256 constant C123 =\\n 10134551893627587797380445583959894183158393780166496661696555422178052339133;\\n uint256 constant C124 =\\n 8932270237664043612366044102088319242789325050842783721780970129656616386103;\\n uint256 constant C125 =\\n 3339412934966886386194449782756711637636784424032779155216609410591712750636;\\n uint256 constant C126 =\\n 9704903972004596791086522314847373103670545861209569267884026709445485704400;\\n uint256 constant C127 =\\n 17467570179597572575614276429760169990940929887711661192333523245667228809456;\\n uint256 constant M00 =\\n 2910766817845651019878574839501801340070030115151021261302834310722729507541;\\n uint256 constant M01 =\\n 19727366863391167538122140361473584127147630672623100827934084310230022599144;\\n uint256 constant M10 =\\n 5776684794125549462448597414050232243778680302179439492664047328281728356345;\\n uint256 constant M11 =\\n 8348174920934122550483593999453880006756108121341067172388445916328941978568;\\n\\n function hash(\\n uint256 input\\n ) external pure override returns (uint256 result) {\\n return _hash(input);\\n }\\n\\n function _hash(uint256 input) internal pure returns (uint256 result) {\\n assembly {\\n // Poseidon parameters should be t = 2, RF = 8, RP = 56\\n\\n // We load the characteristic\\n let q := Q\\n\\n // In zerokit implementation, if we pass inp = [a0,a1,..,an] to Poseidon what is effectively hashed is [0,a0,a1,..,an]\\n // Note that a sequence of MIX-ARK involves 3 Bn254 field additions before the mulmod happens. Worst case we have a value corresponding to 2*(p-1) which is less than 2^256 and hence doesn't overflow\\n //ROUND 0 - FULL\\n let s0 := C0\\n let s1 := add(input, C1)\\n // SBOX\\n let t := mulmod(s0, s0, q)\\n s0 := mulmod(mulmod(t, t, q), s0, q)\\n t := mulmod(s1, s1, q)\\n s1 := mulmod(mulmod(t, t, q), s1, q)\\n // MIX\\n t := add(mulmod(s0, M00, q), mulmod(s1, M01, q))\\n s1 := add(mulmod(s0, M10, q), mulmod(s1, M11, q))\\n s0 := t\\n\\n //ROUND 1 - FULL\\n s0 := add(s0, C2)\\n s1 := add(s1, C3)\\n // SBOX\\n t := mulmod(s0, s0, q)\\n s0 := mulmod(mulmod(t, t, q), s0, q)\\n t := mulmod(s1, s1, q)\\n s1 := mulmod(mulmod(t, t, q), s1, q)\\n // MIX\\n t := add(mulmod(s0, M00, q), mulmod(s1, M01, q))\\n s1 := add(mulmod(s0, M10, q), mulmod(s1, M11, q))\\n s0 := t\\n\\n //ROUND 2 - FULL\\n s0 := add(s0, C4)\\n s1 := add(s1, C5)\\n // SBOX\\n t := mulmod(s0, s0, q)\\n s0 := mulmod(mulmod(t, t, q), s0, q)\\n t := mulmod(s1, s1, q)\\n s1 := mulmod(mulmod(t, t, q), s1, q)\\n // MIX\\n t := add(mulmod(s0, M00, q), mulmod(s1, M01, q))\\n s1 := add(mulmod(s0, M10, q), mulmod(s1, M11, q))\\n s0 := t\\n\\n //ROUND 3 - FULL\\n s0 := add(s0, C6)\\n s1 := add(s1, C7)\\n // SBOX\\n t := mulmod(s0, s0, q)\\n s0 := mulmod(mulmod(t, t, q), s0, q)\\n t := mulmod(s1, s1, q)\\n s1 := mulmod(mulmod(t, t, q), s1, q)\\n // MIX\\n t := add(mulmod(s0, M00, q), mulmod(s1, M01, q))\\n s1 := add(mulmod(s0, M10, q), mulmod(s1, M11, q))\\n s0 := t\\n\\n //ROUND 4 - PARTIAL\\n s0 := add(s0, C8)\\n s1 := add(s1, C9)\\n // SBOX\\n t := mulmod(s0, s0, q)\\n s0 := mulmod(mulmod(t, t, q), s0, q)\\n // MIX\\n t := add(mulmod(s0, M00, q), mulmod(s1, M01, q))\\n s1 := add(mulmod(s0, M10, q), mulmod(s1, M11, q))\\n s0 := t\\n\\n //ROUND 5 - PARTIAL\\n s0 := add(s0, C10)\\n s1 := add(s1, C11)\\n // SBOX\\n t := mulmod(s0, s0, q)\\n s0 := mulmod(mulmod(t, t, q), s0, q)\\n // MIX\\n t := add(mulmod(s0, M00, q), mulmod(s1, M01, q))\\n s1 := add(mulmod(s0, M10, q), mulmod(s1, M11, q))\\n s0 := t\\n\\n //ROUND 6 - PARTIAL\\n s0 := add(s0, C12)\\n s1 := add(s1, C13)\\n // SBOX\\n t := mulmod(s0, s0, q)\\n s0 := mulmod(mulmod(t, t, q), s0, q)\\n // MIX\\n t := add(mulmod(s0, M00, q), mulmod(s1, M01, q))\\n s1 := add(mulmod(s0, M10, q), mulmod(s1, M11, q))\\n s0 := t\\n\\n //ROUND 7 - PARTIAL\\n s0 := add(s0, C14)\\n s1 := add(s1, C15)\\n // SBOX\\n t := mulmod(s0, s0, q)\\n s0 := mulmod(mulmod(t, t, q), s0, q)\\n // MIX\\n t := add(mulmod(s0, M00, q), mulmod(s1, M01, q))\\n s1 := add(mulmod(s0, M10, q), mulmod(s1, M11, q))\\n s0 := t\\n\\n //ROUND 8 - PARTIAL\\n s0 := add(s0, C16)\\n s1 := add(s1, C17)\\n // SBOX\\n t := mulmod(s0, s0, q)\\n s0 := mulmod(mulmod(t, t, q), s0, q)\\n // MIX\\n t := add(mulmod(s0, M00, q), mulmod(s1, M01, q))\\n s1 := add(mulmod(s0, M10, q), mulmod(s1, M11, q))\\n s0 := t\\n\\n //ROUND 9 - PARTIAL\\n s0 := add(s0, C18)\\n s1 := add(s1, C19)\\n // SBOX\\n t := mulmod(s0, s0, q)\\n s0 := mulmod(mulmod(t, t, q), s0, q)\\n // MIX\\n t := add(mulmod(s0, M00, q), mulmod(s1, M01, q))\\n s1 := add(mulmod(s0, M10, q), mulmod(s1, M11, q))\\n s0 := t\\n\\n //ROUND 10 - PARTIAL\\n s0 := add(s0, C20)\\n s1 := add(s1, C21)\\n // SBOX\\n t := mulmod(s0, s0, q)\\n s0 := mulmod(mulmod(t, t, q), s0, q)\\n // MIX\\n t := add(mulmod(s0, M00, q), mulmod(s1, M01, q))\\n s1 := add(mulmod(s0, M10, q), mulmod(s1, M11, q))\\n s0 := t\\n\\n //ROUND 11 - PARTIAL\\n s0 := add(s0, C22)\\n s1 := add(s1, C23)\\n // SBOX\\n t := mulmod(s0, s0, q)\\n s0 := mulmod(mulmod(t, t, q), s0, q)\\n // MIX\\n t := add(mulmod(s0, M00, q), mulmod(s1, M01, q))\\n s1 := add(mulmod(s0, M10, q), mulmod(s1, M11, q))\\n s0 := t\\n\\n //ROUND 12 - PARTIAL\\n s0 := add(s0, C24)\\n s1 := add(s1, C25)\\n // SBOX\\n t := mulmod(s0, s0, q)\\n s0 := mulmod(mulmod(t, t, q), s0, q)\\n // MIX\\n t := add(mulmod(s0, M00, q), mulmod(s1, M01, q))\\n s1 := add(mulmod(s0, M10, q), mulmod(s1, M11, q))\\n s0 := t\\n\\n //ROUND 13 - PARTIAL\\n s0 := add(s0, C26)\\n s1 := add(s1, C27)\\n // SBOX\\n t := mulmod(s0, s0, q)\\n s0 := mulmod(mulmod(t, t, q), s0, q)\\n // MIX\\n t := add(mulmod(s0, M00, q), mulmod(s1, M01, q))\\n s1 := add(mulmod(s0, M10, q), mulmod(s1, M11, q))\\n s0 := t\\n\\n //ROUND 14 - PARTIAL\\n s0 := add(s0, C28)\\n s1 := add(s1, C29)\\n // SBOX\\n t := mulmod(s0, s0, q)\\n s0 := mulmod(mulmod(t, t, q), s0, q)\\n // MIX\\n t := add(mulmod(s0, M00, q), mulmod(s1, M01, q))\\n s1 := add(mulmod(s0, M10, q), mulmod(s1, M11, q))\\n s0 := t\\n\\n //ROUND 15 - PARTIAL\\n s0 := add(s0, C30)\\n s1 := add(s1, C31)\\n // SBOX\\n t := mulmod(s0, s0, q)\\n s0 := mulmod(mulmod(t, t, q), s0, q)\\n // MIX\\n t := add(mulmod(s0, M00, q), mulmod(s1, M01, q))\\n s1 := add(mulmod(s0, M10, q), mulmod(s1, M11, q))\\n s0 := t\\n\\n //ROUND 16 - PARTIAL\\n s0 := add(s0, C32)\\n s1 := add(s1, C33)\\n // SBOX\\n t := mulmod(s0, s0, q)\\n s0 := mulmod(mulmod(t, t, q), s0, q)\\n // MIX\\n t := add(mulmod(s0, M00, q), mulmod(s1, M01, q))\\n s1 := add(mulmod(s0, M10, q), mulmod(s1, M11, q))\\n s0 := t\\n\\n //ROUND 17 - PARTIAL\\n s0 := add(s0, C34)\\n s1 := add(s1, C35)\\n // SBOX\\n t := mulmod(s0, s0, q)\\n s0 := mulmod(mulmod(t, t, q), s0, q)\\n // MIX\\n t := add(mulmod(s0, M00, q), mulmod(s1, M01, q))\\n s1 := add(mulmod(s0, M10, q), mulmod(s1, M11, q))\\n s0 := t\\n\\n //ROUND 18 - PARTIAL\\n s0 := add(s0, C36)\\n s1 := add(s1, C37)\\n // SBOX\\n t := mulmod(s0, s0, q)\\n s0 := mulmod(mulmod(t, t, q), s0, q)\\n // MIX\\n t := add(mulmod(s0, M00, q), mulmod(s1, M01, q))\\n s1 := add(mulmod(s0, M10, q), mulmod(s1, M11, q))\\n s0 := t\\n\\n //ROUND 19 - PARTIAL\\n s0 := add(s0, C38)\\n s1 := add(s1, C39)\\n // SBOX\\n t := mulmod(s0, s0, q)\\n s0 := mulmod(mulmod(t, t, q), s0, q)\\n // MIX\\n t := add(mulmod(s0, M00, q), mulmod(s1, M01, q))\\n s1 := add(mulmod(s0, M10, q), mulmod(s1, M11, q))\\n s0 := t\\n\\n //ROUND 20 - PARTIAL\\n s0 := add(s0, C40)\\n s1 := add(s1, C41)\\n // SBOX\\n t := mulmod(s0, s0, q)\\n s0 := mulmod(mulmod(t, t, q), s0, q)\\n // MIX\\n t := add(mulmod(s0, M00, q), mulmod(s1, M01, q))\\n s1 := add(mulmod(s0, M10, q), mulmod(s1, M11, q))\\n s0 := t\\n\\n //ROUND 21 - PARTIAL\\n s0 := add(s0, C42)\\n s1 := add(s1, C43)\\n // SBOX\\n t := mulmod(s0, s0, q)\\n s0 := mulmod(mulmod(t, t, q), s0, q)\\n // MIX\\n t := add(mulmod(s0, M00, q), mulmod(s1, M01, q))\\n s1 := add(mulmod(s0, M10, q), mulmod(s1, M11, q))\\n s0 := t\\n\\n //ROUND 22 - PARTIAL\\n s0 := add(s0, C44)\\n s1 := add(s1, C45)\\n // SBOX\\n t := mulmod(s0, s0, q)\\n s0 := mulmod(mulmod(t, t, q), s0, q)\\n // MIX\\n t := add(mulmod(s0, M00, q), mulmod(s1, M01, q))\\n s1 := add(mulmod(s0, M10, q), mulmod(s1, M11, q))\\n s0 := t\\n\\n //ROUND 23 - PARTIAL\\n s0 := add(s0, C46)\\n s1 := add(s1, C47)\\n // SBOX\\n t := mulmod(s0, s0, q)\\n s0 := mulmod(mulmod(t, t, q), s0, q)\\n // MIX\\n t := add(mulmod(s0, M00, q), mulmod(s1, M01, q))\\n s1 := add(mulmod(s0, M10, q), mulmod(s1, M11, q))\\n s0 := t\\n\\n //ROUND 24 - PARTIAL\\n s0 := add(s0, C48)\\n s1 := add(s1, C49)\\n // SBOX\\n t := mulmod(s0, s0, q)\\n s0 := mulmod(mulmod(t, t, q), s0, q)\\n // MIX\\n t := add(mulmod(s0, M00, q), mulmod(s1, M01, q))\\n s1 := add(mulmod(s0, M10, q), mulmod(s1, M11, q))\\n s0 := t\\n\\n //ROUND 25 - PARTIAL\\n s0 := add(s0, C50)\\n s1 := add(s1, C51)\\n // SBOX\\n t := mulmod(s0, s0, q)\\n s0 := mulmod(mulmod(t, t, q), s0, q)\\n // MIX\\n t := add(mulmod(s0, M00, q), mulmod(s1, M01, q))\\n s1 := add(mulmod(s0, M10, q), mulmod(s1, M11, q))\\n s0 := t\\n\\n //ROUND 26 - PARTIAL\\n s0 := add(s0, C52)\\n s1 := add(s1, C53)\\n // SBOX\\n t := mulmod(s0, s0, q)\\n s0 := mulmod(mulmod(t, t, q), s0, q)\\n // MIX\\n t := add(mulmod(s0, M00, q), mulmod(s1, M01, q))\\n s1 := add(mulmod(s0, M10, q), mulmod(s1, M11, q))\\n s0 := t\\n\\n //ROUND 27 - PARTIAL\\n s0 := add(s0, C54)\\n s1 := add(s1, C55)\\n // SBOX\\n t := mulmod(s0, s0, q)\\n s0 := mulmod(mulmod(t, t, q), s0, q)\\n // MIX\\n t := add(mulmod(s0, M00, q), mulmod(s1, M01, q))\\n s1 := add(mulmod(s0, M10, q), mulmod(s1, M11, q))\\n s0 := t\\n\\n //ROUND 28 - PARTIAL\\n s0 := add(s0, C56)\\n s1 := add(s1, C57)\\n // SBOX\\n t := mulmod(s0, s0, q)\\n s0 := mulmod(mulmod(t, t, q), s0, q)\\n // MIX\\n t := add(mulmod(s0, M00, q), mulmod(s1, M01, q))\\n s1 := add(mulmod(s0, M10, q), mulmod(s1, M11, q))\\n s0 := t\\n\\n //ROUND 29 - PARTIAL\\n s0 := add(s0, C58)\\n s1 := add(s1, C59)\\n // SBOX\\n t := mulmod(s0, s0, q)\\n s0 := mulmod(mulmod(t, t, q), s0, q)\\n // MIX\\n t := add(mulmod(s0, M00, q), mulmod(s1, M01, q))\\n s1 := add(mulmod(s0, M10, q), mulmod(s1, M11, q))\\n s0 := t\\n\\n //ROUND 30 - PARTIAL\\n s0 := add(s0, C60)\\n s1 := add(s1, C61)\\n // SBOX\\n t := mulmod(s0, s0, q)\\n s0 := mulmod(mulmod(t, t, q), s0, q)\\n // MIX\\n t := add(mulmod(s0, M00, q), mulmod(s1, M01, q))\\n s1 := add(mulmod(s0, M10, q), mulmod(s1, M11, q))\\n s0 := t\\n\\n //ROUND 31 - PARTIAL\\n s0 := add(s0, C62)\\n s1 := add(s1, C63)\\n // SBOX\\n t := mulmod(s0, s0, q)\\n s0 := mulmod(mulmod(t, t, q), s0, q)\\n // MIX\\n t := add(mulmod(s0, M00, q), mulmod(s1, M01, q))\\n s1 := add(mulmod(s0, M10, q), mulmod(s1, M11, q))\\n s0 := t\\n\\n //ROUND 32 - PARTIAL\\n s0 := add(s0, C64)\\n s1 := add(s1, C65)\\n // SBOX\\n t := mulmod(s0, s0, q)\\n s0 := mulmod(mulmod(t, t, q), s0, q)\\n // MIX\\n t := add(mulmod(s0, M00, q), mulmod(s1, M01, q))\\n s1 := add(mulmod(s0, M10, q), mulmod(s1, M11, q))\\n s0 := t\\n\\n //ROUND 33 - PARTIAL\\n s0 := add(s0, C66)\\n s1 := add(s1, C67)\\n // SBOX\\n t := mulmod(s0, s0, q)\\n s0 := mulmod(mulmod(t, t, q), s0, q)\\n // MIX\\n t := add(mulmod(s0, M00, q), mulmod(s1, M01, q))\\n s1 := add(mulmod(s0, M10, q), mulmod(s1, M11, q))\\n s0 := t\\n\\n //ROUND 34 - PARTIAL\\n s0 := add(s0, C68)\\n s1 := add(s1, C69)\\n // SBOX\\n t := mulmod(s0, s0, q)\\n s0 := mulmod(mulmod(t, t, q), s0, q)\\n // MIX\\n t := add(mulmod(s0, M00, q), mulmod(s1, M01, q))\\n s1 := add(mulmod(s0, M10, q), mulmod(s1, M11, q))\\n s0 := t\\n\\n //ROUND 35 - PARTIAL\\n s0 := add(s0, C70)\\n s1 := add(s1, C71)\\n // SBOX\\n t := mulmod(s0, s0, q)\\n s0 := mulmod(mulmod(t, t, q), s0, q)\\n // MIX\\n t := add(mulmod(s0, M00, q), mulmod(s1, M01, q))\\n s1 := add(mulmod(s0, M10, q), mulmod(s1, M11, q))\\n s0 := t\\n\\n //ROUND 36 - PARTIAL\\n s0 := add(s0, C72)\\n s1 := add(s1, C73)\\n // SBOX\\n t := mulmod(s0, s0, q)\\n s0 := mulmod(mulmod(t, t, q), s0, q)\\n // MIX\\n t := add(mulmod(s0, M00, q), mulmod(s1, M01, q))\\n s1 := add(mulmod(s0, M10, q), mulmod(s1, M11, q))\\n s0 := t\\n\\n //ROUND 37 - PARTIAL\\n s0 := add(s0, C74)\\n s1 := add(s1, C75)\\n // SBOX\\n t := mulmod(s0, s0, q)\\n s0 := mulmod(mulmod(t, t, q), s0, q)\\n // MIX\\n t := add(mulmod(s0, M00, q), mulmod(s1, M01, q))\\n s1 := add(mulmod(s0, M10, q), mulmod(s1, M11, q))\\n s0 := t\\n\\n //ROUND 38 - PARTIAL\\n s0 := add(s0, C76)\\n s1 := add(s1, C77)\\n // SBOX\\n t := mulmod(s0, s0, q)\\n s0 := mulmod(mulmod(t, t, q), s0, q)\\n // MIX\\n t := add(mulmod(s0, M00, q), mulmod(s1, M01, q))\\n s1 := add(mulmod(s0, M10, q), mulmod(s1, M11, q))\\n s0 := t\\n\\n //ROUND 39 - PARTIAL\\n s0 := add(s0, C78)\\n s1 := add(s1, C79)\\n // SBOX\\n t := mulmod(s0, s0, q)\\n s0 := mulmod(mulmod(t, t, q), s0, q)\\n // MIX\\n t := add(mulmod(s0, M00, q), mulmod(s1, M01, q))\\n s1 := add(mulmod(s0, M10, q), mulmod(s1, M11, q))\\n s0 := t\\n\\n //ROUND 40 - PARTIAL\\n s0 := add(s0, C80)\\n s1 := add(s1, C81)\\n // SBOX\\n t := mulmod(s0, s0, q)\\n s0 := mulmod(mulmod(t, t, q), s0, q)\\n // MIX\\n t := add(mulmod(s0, M00, q), mulmod(s1, M01, q))\\n s1 := add(mulmod(s0, M10, q), mulmod(s1, M11, q))\\n s0 := t\\n\\n //ROUND 41 - PARTIAL\\n s0 := add(s0, C82)\\n s1 := add(s1, C83)\\n // SBOX\\n t := mulmod(s0, s0, q)\\n s0 := mulmod(mulmod(t, t, q), s0, q)\\n // MIX\\n t := add(mulmod(s0, M00, q), mulmod(s1, M01, q))\\n s1 := add(mulmod(s0, M10, q), mulmod(s1, M11, q))\\n s0 := t\\n\\n //ROUND 42 - PARTIAL\\n s0 := add(s0, C84)\\n s1 := add(s1, C85)\\n // SBOX\\n t := mulmod(s0, s0, q)\\n s0 := mulmod(mulmod(t, t, q), s0, q)\\n // MIX\\n t := add(mulmod(s0, M00, q), mulmod(s1, M01, q))\\n s1 := add(mulmod(s0, M10, q), mulmod(s1, M11, q))\\n s0 := t\\n\\n //ROUND 43 - PARTIAL\\n s0 := add(s0, C86)\\n s1 := add(s1, C87)\\n // SBOX\\n t := mulmod(s0, s0, q)\\n s0 := mulmod(mulmod(t, t, q), s0, q)\\n // MIX\\n t := add(mulmod(s0, M00, q), mulmod(s1, M01, q))\\n s1 := add(mulmod(s0, M10, q), mulmod(s1, M11, q))\\n s0 := t\\n\\n //ROUND 44 - PARTIAL\\n s0 := add(s0, C88)\\n s1 := add(s1, C89)\\n // SBOX\\n t := mulmod(s0, s0, q)\\n s0 := mulmod(mulmod(t, t, q), s0, q)\\n // MIX\\n t := add(mulmod(s0, M00, q), mulmod(s1, M01, q))\\n s1 := add(mulmod(s0, M10, q), mulmod(s1, M11, q))\\n s0 := t\\n\\n //ROUND 45 - PARTIAL\\n s0 := add(s0, C90)\\n s1 := add(s1, C91)\\n // SBOX\\n t := mulmod(s0, s0, q)\\n s0 := mulmod(mulmod(t, t, q), s0, q)\\n // MIX\\n t := add(mulmod(s0, M00, q), mulmod(s1, M01, q))\\n s1 := add(mulmod(s0, M10, q), mulmod(s1, M11, q))\\n s0 := t\\n\\n //ROUND 46 - PARTIAL\\n s0 := add(s0, C92)\\n s1 := add(s1, C93)\\n // SBOX\\n t := mulmod(s0, s0, q)\\n s0 := mulmod(mulmod(t, t, q), s0, q)\\n // MIX\\n t := add(mulmod(s0, M00, q), mulmod(s1, M01, q))\\n s1 := add(mulmod(s0, M10, q), mulmod(s1, M11, q))\\n s0 := t\\n\\n //ROUND 47 - PARTIAL\\n s0 := add(s0, C94)\\n s1 := add(s1, C95)\\n // SBOX\\n t := mulmod(s0, s0, q)\\n s0 := mulmod(mulmod(t, t, q), s0, q)\\n // MIX\\n t := add(mulmod(s0, M00, q), mulmod(s1, M01, q))\\n s1 := add(mulmod(s0, M10, q), mulmod(s1, M11, q))\\n s0 := t\\n\\n //ROUND 48 - PARTIAL\\n s0 := add(s0, C96)\\n s1 := add(s1, C97)\\n // SBOX\\n t := mulmod(s0, s0, q)\\n s0 := mulmod(mulmod(t, t, q), s0, q)\\n // MIX\\n t := add(mulmod(s0, M00, q), mulmod(s1, M01, q))\\n s1 := add(mulmod(s0, M10, q), mulmod(s1, M11, q))\\n s0 := t\\n\\n //ROUND 49 - PARTIAL\\n s0 := add(s0, C98)\\n s1 := add(s1, C99)\\n // SBOX\\n t := mulmod(s0, s0, q)\\n s0 := mulmod(mulmod(t, t, q), s0, q)\\n // MIX\\n t := add(mulmod(s0, M00, q), mulmod(s1, M01, q))\\n s1 := add(mulmod(s0, M10, q), mulmod(s1, M11, q))\\n s0 := t\\n\\n //ROUND 50 - PARTIAL\\n s0 := add(s0, C100)\\n s1 := add(s1, C101)\\n // SBOX\\n t := mulmod(s0, s0, q)\\n s0 := mulmod(mulmod(t, t, q), s0, q)\\n // MIX\\n t := add(mulmod(s0, M00, q), mulmod(s1, M01, q))\\n s1 := add(mulmod(s0, M10, q), mulmod(s1, M11, q))\\n s0 := t\\n\\n //ROUND 51 - PARTIAL\\n s0 := add(s0, C102)\\n s1 := add(s1, C103)\\n // SBOX\\n t := mulmod(s0, s0, q)\\n s0 := mulmod(mulmod(t, t, q), s0, q)\\n // MIX\\n t := add(mulmod(s0, M00, q), mulmod(s1, M01, q))\\n s1 := add(mulmod(s0, M10, q), mulmod(s1, M11, q))\\n s0 := t\\n\\n //ROUND 52 - PARTIAL\\n s0 := add(s0, C104)\\n s1 := add(s1, C105)\\n // SBOX\\n t := mulmod(s0, s0, q)\\n s0 := mulmod(mulmod(t, t, q), s0, q)\\n // MIX\\n t := add(mulmod(s0, M00, q), mulmod(s1, M01, q))\\n s1 := add(mulmod(s0, M10, q), mulmod(s1, M11, q))\\n s0 := t\\n\\n //ROUND 53 - PARTIAL\\n s0 := add(s0, C106)\\n s1 := add(s1, C107)\\n // SBOX\\n t := mulmod(s0, s0, q)\\n s0 := mulmod(mulmod(t, t, q), s0, q)\\n // MIX\\n t := add(mulmod(s0, M00, q), mulmod(s1, M01, q))\\n s1 := add(mulmod(s0, M10, q), mulmod(s1, M11, q))\\n s0 := t\\n\\n //ROUND 54 - PARTIAL\\n s0 := add(s0, C108)\\n s1 := add(s1, C109)\\n // SBOX\\n t := mulmod(s0, s0, q)\\n s0 := mulmod(mulmod(t, t, q), s0, q)\\n // MIX\\n t := add(mulmod(s0, M00, q), mulmod(s1, M01, q))\\n s1 := add(mulmod(s0, M10, q), mulmod(s1, M11, q))\\n s0 := t\\n\\n //ROUND 55 - PARTIAL\\n s0 := add(s0, C110)\\n s1 := add(s1, C111)\\n // SBOX\\n t := mulmod(s0, s0, q)\\n s0 := mulmod(mulmod(t, t, q), s0, q)\\n // MIX\\n t := add(mulmod(s0, M00, q), mulmod(s1, M01, q))\\n s1 := add(mulmod(s0, M10, q), mulmod(s1, M11, q))\\n s0 := t\\n\\n //ROUND 56 - PARTIAL\\n s0 := add(s0, C112)\\n s1 := add(s1, C113)\\n // SBOX\\n t := mulmod(s0, s0, q)\\n s0 := mulmod(mulmod(t, t, q), s0, q)\\n // MIX\\n t := add(mulmod(s0, M00, q), mulmod(s1, M01, q))\\n s1 := add(mulmod(s0, M10, q), mulmod(s1, M11, q))\\n s0 := t\\n\\n //ROUND 57 - PARTIAL\\n s0 := add(s0, C114)\\n s1 := add(s1, C115)\\n // SBOX\\n t := mulmod(s0, s0, q)\\n s0 := mulmod(mulmod(t, t, q), s0, q)\\n // MIX\\n t := add(mulmod(s0, M00, q), mulmod(s1, M01, q))\\n s1 := add(mulmod(s0, M10, q), mulmod(s1, M11, q))\\n s0 := t\\n\\n //ROUND 58 - PARTIAL\\n s0 := add(s0, C116)\\n s1 := add(s1, C117)\\n // SBOX\\n t := mulmod(s0, s0, q)\\n s0 := mulmod(mulmod(t, t, q), s0, q)\\n // MIX\\n t := add(mulmod(s0, M00, q), mulmod(s1, M01, q))\\n s1 := add(mulmod(s0, M10, q), mulmod(s1, M11, q))\\n s0 := t\\n\\n //ROUND 59 - PARTIAL\\n s0 := add(s0, C118)\\n s1 := add(s1, C119)\\n // SBOX\\n t := mulmod(s0, s0, q)\\n s0 := mulmod(mulmod(t, t, q), s0, q)\\n // MIX\\n t := add(mulmod(s0, M00, q), mulmod(s1, M01, q))\\n s1 := add(mulmod(s0, M10, q), mulmod(s1, M11, q))\\n s0 := t\\n\\n //ROUND 60 - FULL\\n s0 := add(s0, C120)\\n s1 := add(s1, C121)\\n // SBOX\\n t := mulmod(s0, s0, q)\\n s0 := mulmod(mulmod(t, t, q), s0, q)\\n t := mulmod(s1, s1, q)\\n s1 := mulmod(mulmod(t, t, q), s1, q)\\n // MIX\\n t := add(mulmod(s0, M00, q), mulmod(s1, M01, q))\\n s1 := add(mulmod(s0, M10, q), mulmod(s1, M11, q))\\n s0 := t\\n\\n //ROUND 61 - FULL\\n s0 := add(s0, C122)\\n s1 := add(s1, C123)\\n // SBOX\\n t := mulmod(s0, s0, q)\\n s0 := mulmod(mulmod(t, t, q), s0, q)\\n t := mulmod(s1, s1, q)\\n s1 := mulmod(mulmod(t, t, q), s1, q)\\n // MIX\\n t := add(mulmod(s0, M00, q), mulmod(s1, M01, q))\\n s1 := add(mulmod(s0, M10, q), mulmod(s1, M11, q))\\n s0 := t\\n\\n //ROUND 62 - FULL\\n s0 := add(s0, C124)\\n s1 := add(s1, C125)\\n // SBOX\\n t := mulmod(s0, s0, q)\\n s0 := mulmod(mulmod(t, t, q), s0, q)\\n t := mulmod(s1, s1, q)\\n s1 := mulmod(mulmod(t, t, q), s1, q)\\n // MIX\\n t := add(mulmod(s0, M00, q), mulmod(s1, M01, q))\\n s1 := add(mulmod(s0, M10, q), mulmod(s1, M11, q))\\n s0 := t\\n\\n //ROUND 63 - FULL\\n s0 := add(s0, C126)\\n s1 := add(s1, C127)\\n // SBOX\\n t := mulmod(s0, s0, q)\\n s0 := mulmod(mulmod(t, t, q), s0, q)\\n t := mulmod(s1, s1, q)\\n s1 := mulmod(mulmod(t, t, q), s1, q)\\n // MIX\\n s0 := mod(add(mulmod(s0, M00, q), mulmod(s1, M01, q)), q)\\n\\n result := s0\\n }\\n }\\n}\\n\",\"keccak256\":\"0xf351af92fff6ed1dc02f1180c0c4906e79f1b825dd76df186caa787029a8de6a\",\"license\":\"MIT\"},\"contracts/Rln.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\n\\npragma solidity 0.8.15;\\n\\nimport {IPoseidonHasher} from \\\"./PoseidonHasher.sol\\\";\\n\\n/// Invalid deposit amount\\n/// @param required The required deposit amount\\n/// @param provided The provided deposit amount\\nerror InsufficientDeposit(uint256 required, uint256 provided);\\n\\n/// Provided Batch is empty\\nerror EmptyBatch();\\n\\n/// Batch is full, during batch operations\\nerror FullBatch();\\n\\n/// Member is already registered\\nerror DuplicateIdCommitment();\\n\\n/// Batch size mismatch, when the length of secrets and receivers are not equal\\n/// @param givenSecretsLen The length of the secrets array\\n/// @param givenReceiversLen The length of the receivers array\\nerror MismatchedBatchSize(uint256 givenSecretsLen, uint256 givenReceiversLen);\\n\\n/// Invalid withdrawal address, when the receiver is the contract itself or 0x0\\nerror InvalidWithdrawalAddress(address to);\\n\\n/// Member is not registered\\nerror MemberNotRegistered(uint256 idCommitment);\\n\\n/// Member has no stake\\nerror MemberHasNoStake(uint256 idCommitment);\\n\\ncontract RLN {\\n /// @notice The deposit amount required to register as a member\\n uint256 public immutable MEMBERSHIP_DEPOSIT;\\n\\n /// @notice The depth of the merkle tree\\n uint256 public immutable DEPTH;\\n\\n /// @notice The size of the merkle tree, i.e 2^depth\\n uint256 public immutable SET_SIZE;\\n\\n /// @notice The index of the next member to be registered\\n uint256 public idCommitmentIndex;\\n\\n /// @notice The amount of eth staked by each member\\n mapping(uint256 => uint256) public stakedAmounts;\\n\\n /// @notice The membership status of each member\\n mapping(uint256 => bool) public members;\\n\\n /// @notice The Poseidon hasher contract\\n IPoseidonHasher public poseidonHasher;\\n\\n /// Emitted when a new member is added to the set\\n /// @param idCommitment The idCommitment of the member\\n /// @param index The index of the member in the set\\n event MemberRegistered(uint256 idCommitment, uint256 index);\\n\\n /// Emitted when a member is removed from the set\\n /// @param idCommitment The idCommitment of the member\\n event MemberWithdrawn(uint256 idCommitment);\\n\\n constructor(\\n uint256 membershipDeposit,\\n uint256 depth,\\n address _poseidonHasher\\n ) {\\n MEMBERSHIP_DEPOSIT = membershipDeposit;\\n DEPTH = depth;\\n SET_SIZE = 1 << depth;\\n poseidonHasher = IPoseidonHasher(_poseidonHasher);\\n }\\n\\n /// Allows a user to register as a member\\n /// @param idCommitment The idCommitment of the member\\n function register(uint256 idCommitment) external payable {\\n if (msg.value != MEMBERSHIP_DEPOSIT)\\n revert InsufficientDeposit(MEMBERSHIP_DEPOSIT, msg.value);\\n _register(idCommitment, msg.value);\\n }\\n\\n /// Allows batch registration of members\\n /// @param idCommitments array of idCommitments\\n function registerBatch(uint256[] calldata idCommitments) external payable {\\n uint256 idCommitmentlen = idCommitments.length;\\n if (idCommitmentlen == 0) revert EmptyBatch();\\n if (idCommitmentIndex + idCommitmentlen >= SET_SIZE) revert FullBatch();\\n uint256 requiredDeposit = MEMBERSHIP_DEPOSIT * idCommitmentlen;\\n if (msg.value != requiredDeposit)\\n revert InsufficientDeposit(requiredDeposit, msg.value);\\n for (uint256 i = 0; i < idCommitmentlen; i++) {\\n _register(idCommitments[i], msg.value / idCommitmentlen);\\n }\\n }\\n\\n /// Registers a member\\n /// @param idCommitment The idCommitment of the member\\n /// @param stake The amount of eth staked by the member\\n function _register(uint256 idCommitment, uint256 stake) internal {\\n if (members[idCommitment]) revert DuplicateIdCommitment();\\n if (idCommitmentIndex >= SET_SIZE) revert FullBatch();\\n\\n members[idCommitment] = true;\\n stakedAmounts[idCommitment] = stake;\\n\\n emit MemberRegistered(idCommitment, idCommitmentIndex);\\n idCommitmentIndex += 1;\\n }\\n\\n /// Allows a user to slash a batch of members\\n /// @param secrets array of idSecretHashes\\n /// @param receivers array of addresses to receive the funds\\n function withdrawBatch(\\n uint256[] calldata secrets,\\n address payable[] calldata receivers\\n ) external {\\n uint256 batchSize = secrets.length;\\n if (batchSize == 0) revert EmptyBatch();\\n if (batchSize != receivers.length)\\n revert MismatchedBatchSize(secrets.length, receivers.length);\\n for (uint256 i = 0; i < batchSize; i++) {\\n _withdraw(secrets[i], receivers[i]);\\n }\\n }\\n\\n /// Allows a user to slash a member\\n /// @param secret The idSecretHash of the member\\n function withdraw(uint256 secret, address payable receiver) external {\\n _withdraw(secret, receiver);\\n }\\n\\n /// Slashes a member by removing them from the set, and transferring their\\n /// stake to the receiver\\n /// @param secret The idSecretHash of the member\\n /// @param receiver The address to receive the funds\\n function _withdraw(uint256 secret, address payable receiver) internal {\\n if (receiver == address(this) || receiver == address(0))\\n revert InvalidWithdrawalAddress(receiver);\\n\\n // derive idCommitment\\n uint256 idCommitment = hash(secret);\\n // check if member is registered\\n if (!members[idCommitment]) revert MemberNotRegistered(idCommitment);\\n if (stakedAmounts[idCommitment] == 0)\\n revert MemberHasNoStake(idCommitment);\\n\\n uint256 amountToTransfer = stakedAmounts[idCommitment];\\n\\n // delete member\\n members[idCommitment] = false;\\n stakedAmounts[idCommitment] = 0;\\n\\n // refund deposit\\n receiver.transfer(amountToTransfer);\\n\\n emit MemberWithdrawn(idCommitment);\\n }\\n\\n /// Hashes a value using the Poseidon hasher\\n /// NOTE: The variant of Poseidon we use accepts only 1 input, assume n=2, and the second input is 0\\n /// @param input The value to hash\\n function hash(uint256 input) internal view returns (uint256) {\\n return poseidonHasher.hash(input);\\n }\\n}\\n\",\"keccak256\":\"0xe95340e6c828629e72c212b7e20ff64e52c0e54abfe559d6307bec02c1076b16\",\"license\":\"MIT\"}},\"version\":1}", + "bytecode": "0x60e06040523480156200001157600080fd5b50604051620012c0380380620012c0833981810160405281019062000037919062000142565b82608081815250508160a08181525050816001901b60c0818152505080600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505050506200019e565b600080fd5b6000819050919050565b620000b781620000a2565b8114620000c357600080fd5b50565b600081519050620000d781620000ac565b92915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006200010a82620000dd565b9050919050565b6200011c81620000fd565b81146200012857600080fd5b50565b6000815190506200013c8162000111565b92915050565b6000806000606084860312156200015e576200015d6200009d565b5b60006200016e86828701620000c6565b93505060206200018186828701620000c6565b925050604062000194868287016200012b565b9150509250925092565b60805160a05160c0516110cf620001f1600039600081816104140152818161058501526109070152600061054301526000818161047d015281816105a9015281816105d0015261063c01526110cf6000f3fe60806040526004361061009b5760003560e01c806398366e351161006457806398366e3514610176578063ae74552a146101a1578063bc499128146101cc578063d0383d6814610209578063f207564e14610234578063f220b9ec146102505761009b565b8062f714ce146100a0578063331b6ab3146100c957806340070712146100f45780635daf08ca1461011d57806369e4863f1461015a575b600080fd5b3480156100ac57600080fd5b506100c760048036038101906100c29190610b3f565b61027b565b005b3480156100d557600080fd5b506100de610289565b6040516100eb9190610bde565b60405180910390f35b34801561010057600080fd5b5061011b60048036038101906101169190610cb4565b6102af565b005b34801561012957600080fd5b50610144600480360381019061013f9190610d35565b6103b0565b6040516101519190610d7d565b60405180910390f35b610174600480360381019061016f9190610d98565b6103d0565b005b34801561018257600080fd5b5061018b610541565b6040516101989190610df4565b60405180910390f35b3480156101ad57600080fd5b506101b6610565565b6040516101c39190610df4565b60405180910390f35b3480156101d857600080fd5b506101f360048036038101906101ee9190610d35565b61056b565b6040516102009190610df4565b60405180910390f35b34801561021557600080fd5b5061021e610583565b60405161022b9190610df4565b60405180910390f35b61024e60048036038101906102499190610d35565b6105a7565b005b34801561025c57600080fd5b5061026561063a565b6040516102729190610df4565b60405180910390f35b610285828261065e565b5050565b600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000848490509050600081036102f1576040517fc2e5347d00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8282905081146103405784849050838390506040517f727c6a75000000000000000000000000000000000000000000000000000000008152600401610337929190610e0f565b60405180910390fd5b60005b818110156103a85761039586868381811061036157610360610e38565b5b9050602002013585858481811061037b5761037a610e38565b5b90506020020160208101906103909190610e67565b61065e565b80806103a090610ec3565b915050610343565b505050505050565b60026020528060005260406000206000915054906101000a900460ff1681565b600082829050905060008103610412576040517fc2e5347d00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b7f0000000000000000000000000000000000000000000000000000000000000000816000546104419190610f0b565b10610478576040517f75eb4dbe00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000817f00000000000000000000000000000000000000000000000000000000000000006104a69190610f61565b90508034146104ee5780346040517f25c3f46e0000000000000000000000000000000000000000000000000000000081526004016104e5929190610e0f565b60405180910390fd5b60005b8281101561053a5761052785858381811061050f5761050e610e38565b5b9050602002013584346105229190610fea565b6108ae565b808061053290610ec3565b9150506104f1565b5050505050565b7f000000000000000000000000000000000000000000000000000000000000000081565b60005481565b60016020528060005260406000206000915090505481565b7f000000000000000000000000000000000000000000000000000000000000000081565b7f0000000000000000000000000000000000000000000000000000000000000000341461062d577f0000000000000000000000000000000000000000000000000000000000000000346040517f25c3f46e000000000000000000000000000000000000000000000000000000008152600401610624929190610e0f565b60405180910390fd5b61063781346108ae565b50565b7f000000000000000000000000000000000000000000000000000000000000000081565b3073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614806106c45750600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16145b1561070657806040517f21680a040000000000000000000000000000000000000000000000000000000081526004016106fd919061103c565b60405180910390fd5b6000610711836109fc565b90506002600082815260200190815260200160002060009054906101000a900460ff1661077557806040517f5a971ebb00000000000000000000000000000000000000000000000000000000815260040161076c9190610df4565b60405180910390fd5b60006001600083815260200190815260200160002054036107cd57806040517faabeeba50000000000000000000000000000000000000000000000000000000081526004016107c49190610df4565b60405180910390fd5b60006001600083815260200190815260200160002054905060006002600084815260200190815260200160002060006101000a81548160ff021916908315150217905550600060016000848152602001908152602001600020819055508273ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f19350505050158015610870573d6000803e3d6000fd5b507fad2d771c5ad1c1e6f50cc769e53ec1e194002c29f28c3dd2af5639b60d8072a6826040516108a09190610df4565b60405180910390a150505050565b6002600083815260200190815260200160002060009054906101000a900460ff1615610905576040517e0a60f700000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b7f000000000000000000000000000000000000000000000000000000000000000060005410610960576040517f75eb4dbe00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60016002600084815260200190815260200160002060006101000a81548160ff0219169083151502179055508060016000848152602001908152602001600020819055507f5a92c2530f207992057b9c3e544108ffce3beda4a63719f316967c49bf6159d2826000546040516109d7929190610e0f565b60405180910390a160016000808282546109f19190610f0b565b925050819055505050565b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663b189fd4c836040518263ffffffff1660e01b8152600401610a599190610df4565b602060405180830381865afa158015610a76573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a9a919061106c565b9050919050565b600080fd5b600080fd5b6000819050919050565b610abe81610aab565b8114610ac957600080fd5b50565b600081359050610adb81610ab5565b92915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000610b0c82610ae1565b9050919050565b610b1c81610b01565b8114610b2757600080fd5b50565b600081359050610b3981610b13565b92915050565b60008060408385031215610b5657610b55610aa1565b5b6000610b6485828601610acc565b9250506020610b7585828601610b2a565b9150509250929050565b6000819050919050565b6000610ba4610b9f610b9a84610ae1565b610b7f565b610ae1565b9050919050565b6000610bb682610b89565b9050919050565b6000610bc882610bab565b9050919050565b610bd881610bbd565b82525050565b6000602082019050610bf36000830184610bcf565b92915050565b600080fd5b600080fd5b600080fd5b60008083601f840112610c1e57610c1d610bf9565b5b8235905067ffffffffffffffff811115610c3b57610c3a610bfe565b5b602083019150836020820283011115610c5757610c56610c03565b5b9250929050565b60008083601f840112610c7457610c73610bf9565b5b8235905067ffffffffffffffff811115610c9157610c90610bfe565b5b602083019150836020820283011115610cad57610cac610c03565b5b9250929050565b60008060008060408587031215610cce57610ccd610aa1565b5b600085013567ffffffffffffffff811115610cec57610ceb610aa6565b5b610cf887828801610c08565b9450945050602085013567ffffffffffffffff811115610d1b57610d1a610aa6565b5b610d2787828801610c5e565b925092505092959194509250565b600060208284031215610d4b57610d4a610aa1565b5b6000610d5984828501610acc565b91505092915050565b60008115159050919050565b610d7781610d62565b82525050565b6000602082019050610d926000830184610d6e565b92915050565b60008060208385031215610daf57610dae610aa1565b5b600083013567ffffffffffffffff811115610dcd57610dcc610aa6565b5b610dd985828601610c08565b92509250509250929050565b610dee81610aab565b82525050565b6000602082019050610e096000830184610de5565b92915050565b6000604082019050610e246000830185610de5565b610e316020830184610de5565b9392505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b600060208284031215610e7d57610e7c610aa1565b5b6000610e8b84828501610b2a565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000610ece82610aab565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203610f0057610eff610e94565b5b600182019050919050565b6000610f1682610aab565b9150610f2183610aab565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115610f5657610f55610e94565b5b828201905092915050565b6000610f6c82610aab565b9150610f7783610aab565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615610fb057610faf610e94565b5b828202905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000610ff582610aab565b915061100083610aab565b9250826110105761100f610fbb565b5b828204905092915050565b600061102682610bab565b9050919050565b6110368161101b565b82525050565b6000602082019050611051600083018461102d565b92915050565b60008151905061106681610ab5565b92915050565b60006020828403121561108257611081610aa1565b5b600061109084828501611057565b9150509291505056fea2646970667358221220777869cd8c64b4407af6dc7f29762a99c87ad1cb632af77b557c07f68bb0cac364736f6c634300080f0033", + "deployedBytecode": "0x60806040526004361061009b5760003560e01c806398366e351161006457806398366e3514610176578063ae74552a146101a1578063bc499128146101cc578063d0383d6814610209578063f207564e14610234578063f220b9ec146102505761009b565b8062f714ce146100a0578063331b6ab3146100c957806340070712146100f45780635daf08ca1461011d57806369e4863f1461015a575b600080fd5b3480156100ac57600080fd5b506100c760048036038101906100c29190610b3f565b61027b565b005b3480156100d557600080fd5b506100de610289565b6040516100eb9190610bde565b60405180910390f35b34801561010057600080fd5b5061011b60048036038101906101169190610cb4565b6102af565b005b34801561012957600080fd5b50610144600480360381019061013f9190610d35565b6103b0565b6040516101519190610d7d565b60405180910390f35b610174600480360381019061016f9190610d98565b6103d0565b005b34801561018257600080fd5b5061018b610541565b6040516101989190610df4565b60405180910390f35b3480156101ad57600080fd5b506101b6610565565b6040516101c39190610df4565b60405180910390f35b3480156101d857600080fd5b506101f360048036038101906101ee9190610d35565b61056b565b6040516102009190610df4565b60405180910390f35b34801561021557600080fd5b5061021e610583565b60405161022b9190610df4565b60405180910390f35b61024e60048036038101906102499190610d35565b6105a7565b005b34801561025c57600080fd5b5061026561063a565b6040516102729190610df4565b60405180910390f35b610285828261065e565b5050565b600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000848490509050600081036102f1576040517fc2e5347d00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8282905081146103405784849050838390506040517f727c6a75000000000000000000000000000000000000000000000000000000008152600401610337929190610e0f565b60405180910390fd5b60005b818110156103a85761039586868381811061036157610360610e38565b5b9050602002013585858481811061037b5761037a610e38565b5b90506020020160208101906103909190610e67565b61065e565b80806103a090610ec3565b915050610343565b505050505050565b60026020528060005260406000206000915054906101000a900460ff1681565b600082829050905060008103610412576040517fc2e5347d00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b7f0000000000000000000000000000000000000000000000000000000000000000816000546104419190610f0b565b10610478576040517f75eb4dbe00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000817f00000000000000000000000000000000000000000000000000000000000000006104a69190610f61565b90508034146104ee5780346040517f25c3f46e0000000000000000000000000000000000000000000000000000000081526004016104e5929190610e0f565b60405180910390fd5b60005b8281101561053a5761052785858381811061050f5761050e610e38565b5b9050602002013584346105229190610fea565b6108ae565b808061053290610ec3565b9150506104f1565b5050505050565b7f000000000000000000000000000000000000000000000000000000000000000081565b60005481565b60016020528060005260406000206000915090505481565b7f000000000000000000000000000000000000000000000000000000000000000081565b7f0000000000000000000000000000000000000000000000000000000000000000341461062d577f0000000000000000000000000000000000000000000000000000000000000000346040517f25c3f46e000000000000000000000000000000000000000000000000000000008152600401610624929190610e0f565b60405180910390fd5b61063781346108ae565b50565b7f000000000000000000000000000000000000000000000000000000000000000081565b3073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614806106c45750600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16145b1561070657806040517f21680a040000000000000000000000000000000000000000000000000000000081526004016106fd919061103c565b60405180910390fd5b6000610711836109fc565b90506002600082815260200190815260200160002060009054906101000a900460ff1661077557806040517f5a971ebb00000000000000000000000000000000000000000000000000000000815260040161076c9190610df4565b60405180910390fd5b60006001600083815260200190815260200160002054036107cd57806040517faabeeba50000000000000000000000000000000000000000000000000000000081526004016107c49190610df4565b60405180910390fd5b60006001600083815260200190815260200160002054905060006002600084815260200190815260200160002060006101000a81548160ff021916908315150217905550600060016000848152602001908152602001600020819055508273ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f19350505050158015610870573d6000803e3d6000fd5b507fad2d771c5ad1c1e6f50cc769e53ec1e194002c29f28c3dd2af5639b60d8072a6826040516108a09190610df4565b60405180910390a150505050565b6002600083815260200190815260200160002060009054906101000a900460ff1615610905576040517e0a60f700000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b7f000000000000000000000000000000000000000000000000000000000000000060005410610960576040517f75eb4dbe00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60016002600084815260200190815260200160002060006101000a81548160ff0219169083151502179055508060016000848152602001908152602001600020819055507f5a92c2530f207992057b9c3e544108ffce3beda4a63719f316967c49bf6159d2826000546040516109d7929190610e0f565b60405180910390a160016000808282546109f19190610f0b565b925050819055505050565b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663b189fd4c836040518263ffffffff1660e01b8152600401610a599190610df4565b602060405180830381865afa158015610a76573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a9a919061106c565b9050919050565b600080fd5b600080fd5b6000819050919050565b610abe81610aab565b8114610ac957600080fd5b50565b600081359050610adb81610ab5565b92915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000610b0c82610ae1565b9050919050565b610b1c81610b01565b8114610b2757600080fd5b50565b600081359050610b3981610b13565b92915050565b60008060408385031215610b5657610b55610aa1565b5b6000610b6485828601610acc565b9250506020610b7585828601610b2a565b9150509250929050565b6000819050919050565b6000610ba4610b9f610b9a84610ae1565b610b7f565b610ae1565b9050919050565b6000610bb682610b89565b9050919050565b6000610bc882610bab565b9050919050565b610bd881610bbd565b82525050565b6000602082019050610bf36000830184610bcf565b92915050565b600080fd5b600080fd5b600080fd5b60008083601f840112610c1e57610c1d610bf9565b5b8235905067ffffffffffffffff811115610c3b57610c3a610bfe565b5b602083019150836020820283011115610c5757610c56610c03565b5b9250929050565b60008083601f840112610c7457610c73610bf9565b5b8235905067ffffffffffffffff811115610c9157610c90610bfe565b5b602083019150836020820283011115610cad57610cac610c03565b5b9250929050565b60008060008060408587031215610cce57610ccd610aa1565b5b600085013567ffffffffffffffff811115610cec57610ceb610aa6565b5b610cf887828801610c08565b9450945050602085013567ffffffffffffffff811115610d1b57610d1a610aa6565b5b610d2787828801610c5e565b925092505092959194509250565b600060208284031215610d4b57610d4a610aa1565b5b6000610d5984828501610acc565b91505092915050565b60008115159050919050565b610d7781610d62565b82525050565b6000602082019050610d926000830184610d6e565b92915050565b60008060208385031215610daf57610dae610aa1565b5b600083013567ffffffffffffffff811115610dcd57610dcc610aa6565b5b610dd985828601610c08565b92509250509250929050565b610dee81610aab565b82525050565b6000602082019050610e096000830184610de5565b92915050565b6000604082019050610e246000830185610de5565b610e316020830184610de5565b9392505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b600060208284031215610e7d57610e7c610aa1565b5b6000610e8b84828501610b2a565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000610ece82610aab565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203610f0057610eff610e94565b5b600182019050919050565b6000610f1682610aab565b9150610f2183610aab565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115610f5657610f55610e94565b5b828201905092915050565b6000610f6c82610aab565b9150610f7783610aab565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615610fb057610faf610e94565b5b828202905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000610ff582610aab565b915061100083610aab565b9250826110105761100f610fbb565b5b828204905092915050565b600061102682610bab565b9050919050565b6110368161101b565b82525050565b6000602082019050611051600083018461102d565b92915050565b60008151905061106681610ab5565b92915050565b60006020828403121561108257611081610aa1565b5b600061109084828501611057565b9150509291505056fea2646970667358221220777869cd8c64b4407af6dc7f29762a99c87ad1cb632af77b557c07f68bb0cac364736f6c634300080f0033", "devdoc": { + "errors": { + "InsufficientDeposit(uint256,uint256)": [ + { + "params": { + "provided": "The provided deposit amount", + "required": "The required deposit amount" + } + } + ], + "MismatchedBatchSize(uint256,uint256)": [ + { + "params": { + "givenReceiversLen": "The length of the receivers array", + "givenSecretsLen": "The length of the secrets array" + } + } + ] + }, + "events": { + "MemberRegistered(uint256,uint256)": { + "params": { + "idCommitment": "The idCommitment of the member", + "index": "The index of the member in the set" + } + }, + "MemberWithdrawn(uint256)": { + "params": { + "idCommitment": "The idCommitment of the member" + } + } + }, "kind": "dev", - "methods": {}, + "methods": { + "register(uint256)": { + "params": { + "idCommitment": "The idCommitment of the member" + } + }, + "registerBatch(uint256[])": { + "params": { + "idCommitments": "array of idCommitments" + } + }, + "withdraw(uint256,address)": { + "params": { + "secret": "The idSecretHash of the member" + } + }, + "withdrawBatch(uint256[],address[])": { + "params": { + "receivers": "array of addresses to receive the funds", + "secrets": "array of idSecretHashes" + } + } + }, "version": 1 }, "userdoc": { + "errors": { + "DuplicateIdCommitment()": [ + { + "notice": "Member is already registered" + } + ], + "EmptyBatch()": [ + { + "notice": "Provided Batch is empty" + } + ], + "FullBatch()": [ + { + "notice": "Batch is full, during batch operations" + } + ], + "InsufficientDeposit(uint256,uint256)": [ + { + "notice": "Invalid deposit amount" + } + ], + "InvalidWithdrawalAddress(address)": [ + { + "notice": "Invalid withdrawal address, when the receiver is the contract itself or 0x0" + } + ], + "MemberHasNoStake(uint256)": [ + { + "notice": "Member has no stake" + } + ], + "MemberNotRegistered(uint256)": [ + { + "notice": "Member is not registered" + } + ], + "MismatchedBatchSize(uint256,uint256)": [ + { + "notice": "Batch size mismatch, when the length of secrets and receivers are not equal" + } + ] + }, + "events": { + "MemberRegistered(uint256,uint256)": { + "notice": "Emitted when a new member is added to the set" + }, + "MemberWithdrawn(uint256)": { + "notice": "Emitted when a member is removed from the set" + } + }, "kind": "user", - "methods": {}, + "methods": { + "DEPTH()": { + "notice": "The depth of the merkle tree" + }, + "MEMBERSHIP_DEPOSIT()": { + "notice": "The deposit amount required to register as a member" + }, + "SET_SIZE()": { + "notice": "The size of the merkle tree, i.e 2^depth" + }, + "idCommitmentIndex()": { + "notice": "The index of the next member to be registered" + }, + "members(uint256)": { + "notice": "The membership status of each member" + }, + "poseidonHasher()": { + "notice": "The Poseidon hasher contract" + }, + "register(uint256)": { + "notice": "Allows a user to register as a member" + }, + "registerBatch(uint256[])": { + "notice": "Allows batch registration of members" + }, + "stakedAmounts(uint256)": { + "notice": "The amount of eth staked by each member" + }, + "withdraw(uint256,address)": { + "notice": "Allows a user to slash a member" + }, + "withdrawBatch(uint256[],address[])": { + "notice": "Allows a user to slash a batch of members" + } + }, "version": 1 }, "storageLayout": { "storage": [ { - "astId": 468, + "astId": 488, "contract": "contracts/Rln.sol:RLN", "label": "idCommitmentIndex", "offset": 0, @@ -276,7 +480,7 @@ "type": "t_uint256" }, { - "astId": 472, + "astId": 493, "contract": "contracts/Rln.sol:RLN", "label": "stakedAmounts", "offset": 0, @@ -284,7 +488,7 @@ "type": "t_mapping(t_uint256,t_uint256)" }, { - "astId": 476, + "astId": 498, "contract": "contracts/Rln.sol:RLN", "label": "members", "offset": 0, @@ -292,12 +496,12 @@ "type": "t_mapping(t_uint256,t_bool)" }, { - "astId": 479, + "astId": 502, "contract": "contracts/Rln.sol:RLN", "label": "poseidonHasher", "offset": 0, "slot": "3", - "type": "t_contract(IPoseidonHasher)14" + "type": "t_contract(IPoseidonHasher)10" } ], "types": { @@ -306,7 +510,7 @@ "label": "bool", "numberOfBytes": "1" }, - "t_contract(IPoseidonHasher)14": { + "t_contract(IPoseidonHasher)10": { "encoding": "inplace", "label": "contract IPoseidonHasher", "numberOfBytes": "20" diff --git a/deployments/sepolia/solcInputs/b1509b5db56df56b3944fa20992a2034.json b/deployments/sepolia/solcInputs/b1509b5db56df56b3944fa20992a2034.json new file mode 100644 index 0000000..8ca6cb7 --- /dev/null +++ b/deployments/sepolia/solcInputs/b1509b5db56df56b3944fa20992a2034.json @@ -0,0 +1,40 @@ +{ + "language": "Solidity", + "sources": { + "contracts/PoseidonHasher.sol": { + "content": "// SPDX-License-Identifier: MIT\n\n// Forked from https://github.com/kilic/rlnapp/\n\npragma solidity 0.8.15;\n\ninterface IPoseidonHasher {\n /// @notice Hashes the input using the Poseidon hash function, n = 2, second input is the constant 0\n /// @param input The input to hash\n function hash(uint256 input) external pure returns (uint256 result);\n}\n\ncontract PoseidonHasher is IPoseidonHasher {\n uint256 constant Q =\n 21888242871839275222246405745257275088548364400416034343698204186575808495617;\n uint256 constant C0 =\n 4417881134626180770308697923359573201005643519861877412381846989312604493735;\n uint256 constant C1 =\n 5433650512959517612316327474713065966758808864213826738576266661723522780033;\n uint256 constant C2 =\n 13641176377184356099764086973022553863760045607496549923679278773208775739952;\n uint256 constant C3 =\n 17949713444224994136330421782109149544629237834775211751417461773584374506783;\n uint256 constant C4 =\n 13765628375339178273710281891027109699578766420463125835325926111705201856003;\n uint256 constant C5 =\n 19179513468172002314585757290678967643352171735526887944518845346318719730387;\n uint256 constant C6 =\n 5157412437176756884543472904098424903141745259452875378101256928559722612176;\n uint256 constant C7 =\n 535160875740282236955320458485730000677124519901643397458212725410971557409;\n uint256 constant C8 =\n 1050793453380762984940163090920066886770841063557081906093018330633089036729;\n uint256 constant C9 =\n 10665495010329663932664894101216428400933984666065399374198502106997623173873;\n uint256 constant C10 =\n 19965634623406616956648724894636666805991993496469370618546874926025059150737;\n uint256 constant C11 =\n 13007250030070838431593222885902415182312449212965120303174723305710127422213;\n uint256 constant C12 =\n 16877538715074991604507979123743768693428157847423939051086744213162455276374;\n uint256 constant C13 =\n 18211747749504876135588847560312685184956239426147543810126553367063157141465;\n uint256 constant C14 =\n 18151553319826126919739798892854572062191241985315767086020821632812331245635;\n uint256 constant C15 =\n 19957033149976712666746140949846950406660099037474791840946955175819555930825;\n uint256 constant C16 =\n 3469514863538261843186854830917934449567467100548474599735384052339577040841;\n uint256 constant C17 =\n 989698510043911779243192466312362856042600749099921773896924315611668507708;\n uint256 constant C18 =\n 12568377015646290945235387813564567111330046038050864455358059568128000172201;\n uint256 constant C19 =\n 20856104135605479600325529349246932565148587186338606236677138505306779314172;\n uint256 constant C20 =\n 8206918720503535523121349917159924938835810381723474192155637697065780938424;\n uint256 constant C21 =\n 1309058477013932989380617265069188723120054926187607548493110334522527703566;\n uint256 constant C22 =\n 14076116939332667074621703729512195584105250395163383769419390236426287710606;\n uint256 constant C23 =\n 10153498892749751942204288991871286290442690932856658983589258153608012428674;\n uint256 constant C24 =\n 18202499207234128286137597834010475797175973146805180988367589376893530181575;\n uint256 constant C25 =\n 12739388830157083522877690211447248168864006284243907142044329113461613743052;\n uint256 constant C26 =\n 15123358710467780770838026754240340042441262572309759635224051333176022613949;\n uint256 constant C27 =\n 19925004701844594370904593774447343836015483888496504201331110250494635362184;\n uint256 constant C28 =\n 10352416606816998476681131583320899030072315953910679608943150613208329645891;\n uint256 constant C29 =\n 10567371822366244361703342347428230537114808440249611395507235283708966113221;\n uint256 constant C30 =\n 5635498582763880627392290206431559361272660937399944184533035305989295959602;\n uint256 constant C31 =\n 11866432933224219174041051738704352719163271639958083608224676028593315904909;\n uint256 constant C32 =\n 5795020705294401441272215064554385591292330721703923167136157291459784140431;\n uint256 constant C33 =\n 9482202378699252817564375087302794636287866584767523335624368774856230692758;\n uint256 constant C34 =\n 4245237636894546151746468406560945873445548423466753843402086544922216329298;\n uint256 constant C35 =\n 12000500941313982757584712677991730019124834399479314697467598397927435905133;\n uint256 constant C36 =\n 7596790274058425558167520209857956363736666939016807569082239187494363541787;\n uint256 constant C37 =\n 2484867918246116343205467273440098378820186751202461278013576281097918148877;\n uint256 constant C38 =\n 18312645949449997391810445935615409295369169383463185688973803378104013950190;\n uint256 constant C39 =\n 15320686572748723004980855263301182130424010735782762814513954166519592552733;\n uint256 constant C40 =\n 12618438900597948888520621062416758747872180395546164387827245287017031303859;\n uint256 constant C41 =\n 17438141672027706116733201008397064011774368832458707512367404736905021019585;\n uint256 constant C42 =\n 6374197807230665998865688675365359100400438034755781666913068586172586548950;\n uint256 constant C43 =\n 2189398913433273865510950346186699930188746169476472274335177556702504595264;\n uint256 constant C44 =\n 6268495580028970231803791523870131137294646402347399003576649137450213034606;\n uint256 constant C45 =\n 17896250365994900261202920044129628104272791547990619503076839618914047059275;\n uint256 constant C46 =\n 13692156312448722528008862371944543449350293305158722920787736248435893008873;\n uint256 constant C47 =\n 15234446864368744483209945022439268713300180233589581910497691316744177619376;\n uint256 constant C48 =\n 1572426502623310766593681563281600503979671244997798691029595521622402217227;\n uint256 constant C49 =\n 80103447810215150918585162168214870083573048458555897999822831203653996617;\n uint256 constant C50 =\n 8228820324013669567851850635126713973797711779951230446503353812192849106342;\n uint256 constant C51 =\n 5375851433746509614045812476958526065449377558695752132494533666370449415873;\n uint256 constant C52 =\n 12115998939203497346386774317892338270561208357481805380546938146796257365018;\n uint256 constant C53 =\n 9764067909645821279940531410531154041386008396840887338272986634350423466622;\n uint256 constant C54 =\n 8538708244538850542384936174629541085495830544298260335345008245230827876882;\n uint256 constant C55 =\n 7140127896620013355910287215441004676619168261422440177712039790284719613114;\n uint256 constant C56 =\n 14297402962228458726038826185823085337698917275385741292940049024977027409762;\n uint256 constant C57 =\n 6667115556431351074165934212337261254608231545257434281887966406956835140819;\n uint256 constant C58 =\n 20226761165244293291042617464655196752671169026542832236139342122602741090001;\n uint256 constant C59 =\n 12038289506489256655759141386763477208196694421666339040483042079632134429119;\n uint256 constant C60 =\n 19027757334170818571203982241812412991528769934917288000224335655934473717551;\n uint256 constant C61 =\n 16272152964456553579565580463468069884359929612321610357528838696790370074720;\n uint256 constant C62 =\n 2500392889689246014710135696485946334448570271481948765283016105301740284071;\n uint256 constant C63 =\n 8595254970528530312401637448610398388203855633951264114100575485022581946023;\n uint256 constant C64 =\n 11635945688914011450976408058407206367914559009113158286982919675551688078198;\n uint256 constant C65 =\n 614739068603482619581328040478536306925147663946742687395148680260956671871;\n uint256 constant C66 =\n 18692271780377861570175282183255720350972693125537599213951106550953176268753;\n uint256 constant C67 =\n 4987059230784976306647166378298632695585915319042844495357753339378260807164;\n uint256 constant C68 =\n 21851403978498723616722415377430107676258664746210815234490134600998983955497;\n uint256 constant C69 =\n 9830635451186415300891533983087800047564037813328875992115573428596207326204;\n uint256 constant C70 =\n 4842706106434537116860242620706030229206345167233200482994958847436425185478;\n uint256 constant C71 =\n 6422235064906823218421386871122109085799298052314922856340127798647926126490;\n uint256 constant C72 =\n 4564364104986856861943331689105797031330091877115997069096365671501473357846;\n uint256 constant C73 =\n 1944043894089780613038197112872830569538541856657037469098448708685350671343;\n uint256 constant C74 =\n 21179865974855950600518216085229498748425990426231530451599322283119880194955;\n uint256 constant C75 =\n 14296697761894107574369608843560006996183955751502547883167824879840894933162;\n uint256 constant C76 =\n 12274619649702218570450581712439138337725246879938860735460378251639845671898;\n uint256 constant C77 =\n 16371396450276899401411886674029075408418848209575273031725505038938314070356;\n uint256 constant C78 =\n 3702561221750983937578095019779188631407216522704543451228773892695044653565;\n uint256 constant C79 =\n 19721616877735564664624984774636557499099875603996426215495516594530838681980;\n uint256 constant C80 =\n 6383350109027696789969911008057747025018308755462287526819231672217685282429;\n uint256 constant C81 =\n 20860583956177367265984596617324237471765572961978977333122281041544719622905;\n uint256 constant C82 =\n 5766390934595026947545001478457407504285452477687752470140790011329357286275;\n uint256 constant C83 =\n 4043175758319898049344746138515323336207420888499903387536875603879441092484;\n uint256 constant C84 =\n 15579382179133608217098622223834161692266188678101563820988612253342538956534;\n uint256 constant C85 =\n 1864640783252634743892105383926602930909039567065240010338908865509831749824;\n uint256 constant C86 =\n 15943719865023133586707144161652035291705809358178262514871056013754142625673;\n uint256 constant C87 =\n 2326415993032390211558498780803238091925402878871059708106213703504162832999;\n uint256 constant C88 =\n 19995326402773833553207196590622808505547443523750970375738981396588337910289;\n uint256 constant C89 =\n 5143583711361588952673350526320181330406047695593201009385718506918735286622;\n uint256 constant C90 =\n 15436006486881920976813738625999473183944244531070780793506388892313517319583;\n uint256 constant C91 =\n 16660446760173633166698660166238066533278664023818938868110282615200613695857;\n uint256 constant C92 =\n 4966065365695755376133119391352131079892396024584848298231004326013366253934;\n uint256 constant C93 =\n 20683781957411705574951987677641476019618457561419278856689645563561076926702;\n uint256 constant C94 =\n 17280836839165902792086432296371645107551519324565649849400948918605456875699;\n uint256 constant C95 =\n 17045635513701208892073056357048619435743564064921155892004135325530808465371;\n uint256 constant C96 =\n 17055032967194400710390142791334572297458033582458169295920670679093585707295;\n uint256 constant C97 =\n 15727174639569115300068198908071514334002742825679221638729902577962862163505;\n uint256 constant C98 =\n 1001755657610446661315902885492677747789366510875120894840818704741370398633;\n uint256 constant C99 =\n 18638547332826171619311285502376343504539399518545103511265465604926625041234;\n uint256 constant C100 =\n 6751954224763196429755298529194402870632445298969935050224267844020826420799;\n uint256 constant C101 =\n 3526747115904224771452549517614107688674036840088422555827581348280834879405;\n uint256 constant C102 =\n 15705897908180497062880001271426561999724005008972544196300715293701537574122;\n uint256 constant C103 =\n 574386695213920937259007343820417029802510752426579750428758189312416867750;\n uint256 constant C104 =\n 15973040855000600860816974646787367136127946402908768408978806375685439868553;\n uint256 constant C105 =\n 20934130413948796333037139460875996342810005558806621330680156931816867321122;\n uint256 constant C106 =\n 6918585327145564636398173845411579411526758237572034236476079610890705810764;\n uint256 constant C107 =\n 14158163500813182062258176233162498241310167509137716527054939926126453647182;\n uint256 constant C108 =\n 4164602626597695668474100217150111342272610479949122406544277384862187287433;\n uint256 constant C109 =\n 12146526846507496913615390662823936206892812880963914267275606265272996025304;\n uint256 constant C110 =\n 10153527926900017763244212043512822363696541810586522108597162891799345289938;\n uint256 constant C111 =\n 13564663485965299104296214940873270349072051793008946663855767889066202733588;\n uint256 constant C112 =\n 5612449256997576125867742696783020582952387615430650198777254717398552960096;\n uint256 constant C113 =\n 12151885480032032868507892738683067544172874895736290365318623681886999930120;\n uint256 constant C114 =\n 380452237704664384810613424095477896605414037288009963200982915188629772177;\n uint256 constant C115 =\n 9067557551252570188533509616805287919563636482030947363841198066124642069518;\n uint256 constant C116 =\n 21280306817619711661335268484199763923870315733198162896599997188206277056900;\n uint256 constant C117 =\n 5567165819557297006750252582140767993422097822227408837378089569369734876257;\n uint256 constant C118 =\n 10411936321072105429908396649383171465939606386380071222095155850987201580137;\n uint256 constant C119 =\n 21338390051413922944780864872652000187403217966653363270851298678606449622266;\n uint256 constant C120 =\n 12156296560457833712186127325312904760045212412680904475497938949653569234473;\n uint256 constant C121 =\n 4271647814574748734312113971565139132510281260328947438246615707172526380757;\n uint256 constant C122 =\n 9061738206062369647211128232833114177054715885442782773131292534862178874950;\n uint256 constant C123 =\n 10134551893627587797380445583959894183158393780166496661696555422178052339133;\n uint256 constant C124 =\n 8932270237664043612366044102088319242789325050842783721780970129656616386103;\n uint256 constant C125 =\n 3339412934966886386194449782756711637636784424032779155216609410591712750636;\n uint256 constant C126 =\n 9704903972004596791086522314847373103670545861209569267884026709445485704400;\n uint256 constant C127 =\n 17467570179597572575614276429760169990940929887711661192333523245667228809456;\n uint256 constant M00 =\n 2910766817845651019878574839501801340070030115151021261302834310722729507541;\n uint256 constant M01 =\n 19727366863391167538122140361473584127147630672623100827934084310230022599144;\n uint256 constant M10 =\n 5776684794125549462448597414050232243778680302179439492664047328281728356345;\n uint256 constant M11 =\n 8348174920934122550483593999453880006756108121341067172388445916328941978568;\n\n function hash(\n uint256 input\n ) external pure override returns (uint256 result) {\n return _hash(input);\n }\n\n function _hash(uint256 input) internal pure returns (uint256 result) {\n assembly {\n // Poseidon parameters should be t = 2, RF = 8, RP = 56\n\n // We load the characteristic\n let q := Q\n\n // In zerokit implementation, if we pass inp = [a0,a1,..,an] to Poseidon what is effectively hashed is [0,a0,a1,..,an]\n // Note that a sequence of MIX-ARK involves 3 Bn254 field additions before the mulmod happens. Worst case we have a value corresponding to 2*(p-1) which is less than 2^256 and hence doesn't overflow\n //ROUND 0 - FULL\n let s0 := C0\n let s1 := add(input, C1)\n // SBOX\n let t := mulmod(s0, s0, q)\n s0 := mulmod(mulmod(t, t, q), s0, q)\n t := mulmod(s1, s1, q)\n s1 := mulmod(mulmod(t, t, q), s1, q)\n // MIX\n t := add(mulmod(s0, M00, q), mulmod(s1, M01, q))\n s1 := add(mulmod(s0, M10, q), mulmod(s1, M11, q))\n s0 := t\n\n //ROUND 1 - FULL\n s0 := add(s0, C2)\n s1 := add(s1, C3)\n // SBOX\n t := mulmod(s0, s0, q)\n s0 := mulmod(mulmod(t, t, q), s0, q)\n t := mulmod(s1, s1, q)\n s1 := mulmod(mulmod(t, t, q), s1, q)\n // MIX\n t := add(mulmod(s0, M00, q), mulmod(s1, M01, q))\n s1 := add(mulmod(s0, M10, q), mulmod(s1, M11, q))\n s0 := t\n\n //ROUND 2 - FULL\n s0 := add(s0, C4)\n s1 := add(s1, C5)\n // SBOX\n t := mulmod(s0, s0, q)\n s0 := mulmod(mulmod(t, t, q), s0, q)\n t := mulmod(s1, s1, q)\n s1 := mulmod(mulmod(t, t, q), s1, q)\n // MIX\n t := add(mulmod(s0, M00, q), mulmod(s1, M01, q))\n s1 := add(mulmod(s0, M10, q), mulmod(s1, M11, q))\n s0 := t\n\n //ROUND 3 - FULL\n s0 := add(s0, C6)\n s1 := add(s1, C7)\n // SBOX\n t := mulmod(s0, s0, q)\n s0 := mulmod(mulmod(t, t, q), s0, q)\n t := mulmod(s1, s1, q)\n s1 := mulmod(mulmod(t, t, q), s1, q)\n // MIX\n t := add(mulmod(s0, M00, q), mulmod(s1, M01, q))\n s1 := add(mulmod(s0, M10, q), mulmod(s1, M11, q))\n s0 := t\n\n //ROUND 4 - PARTIAL\n s0 := add(s0, C8)\n s1 := add(s1, C9)\n // SBOX\n t := mulmod(s0, s0, q)\n s0 := mulmod(mulmod(t, t, q), s0, q)\n // MIX\n t := add(mulmod(s0, M00, q), mulmod(s1, M01, q))\n s1 := add(mulmod(s0, M10, q), mulmod(s1, M11, q))\n s0 := t\n\n //ROUND 5 - PARTIAL\n s0 := add(s0, C10)\n s1 := add(s1, C11)\n // SBOX\n t := mulmod(s0, s0, q)\n s0 := mulmod(mulmod(t, t, q), s0, q)\n // MIX\n t := add(mulmod(s0, M00, q), mulmod(s1, M01, q))\n s1 := add(mulmod(s0, M10, q), mulmod(s1, M11, q))\n s0 := t\n\n //ROUND 6 - PARTIAL\n s0 := add(s0, C12)\n s1 := add(s1, C13)\n // SBOX\n t := mulmod(s0, s0, q)\n s0 := mulmod(mulmod(t, t, q), s0, q)\n // MIX\n t := add(mulmod(s0, M00, q), mulmod(s1, M01, q))\n s1 := add(mulmod(s0, M10, q), mulmod(s1, M11, q))\n s0 := t\n\n //ROUND 7 - PARTIAL\n s0 := add(s0, C14)\n s1 := add(s1, C15)\n // SBOX\n t := mulmod(s0, s0, q)\n s0 := mulmod(mulmod(t, t, q), s0, q)\n // MIX\n t := add(mulmod(s0, M00, q), mulmod(s1, M01, q))\n s1 := add(mulmod(s0, M10, q), mulmod(s1, M11, q))\n s0 := t\n\n //ROUND 8 - PARTIAL\n s0 := add(s0, C16)\n s1 := add(s1, C17)\n // SBOX\n t := mulmod(s0, s0, q)\n s0 := mulmod(mulmod(t, t, q), s0, q)\n // MIX\n t := add(mulmod(s0, M00, q), mulmod(s1, M01, q))\n s1 := add(mulmod(s0, M10, q), mulmod(s1, M11, q))\n s0 := t\n\n //ROUND 9 - PARTIAL\n s0 := add(s0, C18)\n s1 := add(s1, C19)\n // SBOX\n t := mulmod(s0, s0, q)\n s0 := mulmod(mulmod(t, t, q), s0, q)\n // MIX\n t := add(mulmod(s0, M00, q), mulmod(s1, M01, q))\n s1 := add(mulmod(s0, M10, q), mulmod(s1, M11, q))\n s0 := t\n\n //ROUND 10 - PARTIAL\n s0 := add(s0, C20)\n s1 := add(s1, C21)\n // SBOX\n t := mulmod(s0, s0, q)\n s0 := mulmod(mulmod(t, t, q), s0, q)\n // MIX\n t := add(mulmod(s0, M00, q), mulmod(s1, M01, q))\n s1 := add(mulmod(s0, M10, q), mulmod(s1, M11, q))\n s0 := t\n\n //ROUND 11 - PARTIAL\n s0 := add(s0, C22)\n s1 := add(s1, C23)\n // SBOX\n t := mulmod(s0, s0, q)\n s0 := mulmod(mulmod(t, t, q), s0, q)\n // MIX\n t := add(mulmod(s0, M00, q), mulmod(s1, M01, q))\n s1 := add(mulmod(s0, M10, q), mulmod(s1, M11, q))\n s0 := t\n\n //ROUND 12 - PARTIAL\n s0 := add(s0, C24)\n s1 := add(s1, C25)\n // SBOX\n t := mulmod(s0, s0, q)\n s0 := mulmod(mulmod(t, t, q), s0, q)\n // MIX\n t := add(mulmod(s0, M00, q), mulmod(s1, M01, q))\n s1 := add(mulmod(s0, M10, q), mulmod(s1, M11, q))\n s0 := t\n\n //ROUND 13 - PARTIAL\n s0 := add(s0, C26)\n s1 := add(s1, C27)\n // SBOX\n t := mulmod(s0, s0, q)\n s0 := mulmod(mulmod(t, t, q), s0, q)\n // MIX\n t := add(mulmod(s0, M00, q), mulmod(s1, M01, q))\n s1 := add(mulmod(s0, M10, q), mulmod(s1, M11, q))\n s0 := t\n\n //ROUND 14 - PARTIAL\n s0 := add(s0, C28)\n s1 := add(s1, C29)\n // SBOX\n t := mulmod(s0, s0, q)\n s0 := mulmod(mulmod(t, t, q), s0, q)\n // MIX\n t := add(mulmod(s0, M00, q), mulmod(s1, M01, q))\n s1 := add(mulmod(s0, M10, q), mulmod(s1, M11, q))\n s0 := t\n\n //ROUND 15 - PARTIAL\n s0 := add(s0, C30)\n s1 := add(s1, C31)\n // SBOX\n t := mulmod(s0, s0, q)\n s0 := mulmod(mulmod(t, t, q), s0, q)\n // MIX\n t := add(mulmod(s0, M00, q), mulmod(s1, M01, q))\n s1 := add(mulmod(s0, M10, q), mulmod(s1, M11, q))\n s0 := t\n\n //ROUND 16 - PARTIAL\n s0 := add(s0, C32)\n s1 := add(s1, C33)\n // SBOX\n t := mulmod(s0, s0, q)\n s0 := mulmod(mulmod(t, t, q), s0, q)\n // MIX\n t := add(mulmod(s0, M00, q), mulmod(s1, M01, q))\n s1 := add(mulmod(s0, M10, q), mulmod(s1, M11, q))\n s0 := t\n\n //ROUND 17 - PARTIAL\n s0 := add(s0, C34)\n s1 := add(s1, C35)\n // SBOX\n t := mulmod(s0, s0, q)\n s0 := mulmod(mulmod(t, t, q), s0, q)\n // MIX\n t := add(mulmod(s0, M00, q), mulmod(s1, M01, q))\n s1 := add(mulmod(s0, M10, q), mulmod(s1, M11, q))\n s0 := t\n\n //ROUND 18 - PARTIAL\n s0 := add(s0, C36)\n s1 := add(s1, C37)\n // SBOX\n t := mulmod(s0, s0, q)\n s0 := mulmod(mulmod(t, t, q), s0, q)\n // MIX\n t := add(mulmod(s0, M00, q), mulmod(s1, M01, q))\n s1 := add(mulmod(s0, M10, q), mulmod(s1, M11, q))\n s0 := t\n\n //ROUND 19 - PARTIAL\n s0 := add(s0, C38)\n s1 := add(s1, C39)\n // SBOX\n t := mulmod(s0, s0, q)\n s0 := mulmod(mulmod(t, t, q), s0, q)\n // MIX\n t := add(mulmod(s0, M00, q), mulmod(s1, M01, q))\n s1 := add(mulmod(s0, M10, q), mulmod(s1, M11, q))\n s0 := t\n\n //ROUND 20 - PARTIAL\n s0 := add(s0, C40)\n s1 := add(s1, C41)\n // SBOX\n t := mulmod(s0, s0, q)\n s0 := mulmod(mulmod(t, t, q), s0, q)\n // MIX\n t := add(mulmod(s0, M00, q), mulmod(s1, M01, q))\n s1 := add(mulmod(s0, M10, q), mulmod(s1, M11, q))\n s0 := t\n\n //ROUND 21 - PARTIAL\n s0 := add(s0, C42)\n s1 := add(s1, C43)\n // SBOX\n t := mulmod(s0, s0, q)\n s0 := mulmod(mulmod(t, t, q), s0, q)\n // MIX\n t := add(mulmod(s0, M00, q), mulmod(s1, M01, q))\n s1 := add(mulmod(s0, M10, q), mulmod(s1, M11, q))\n s0 := t\n\n //ROUND 22 - PARTIAL\n s0 := add(s0, C44)\n s1 := add(s1, C45)\n // SBOX\n t := mulmod(s0, s0, q)\n s0 := mulmod(mulmod(t, t, q), s0, q)\n // MIX\n t := add(mulmod(s0, M00, q), mulmod(s1, M01, q))\n s1 := add(mulmod(s0, M10, q), mulmod(s1, M11, q))\n s0 := t\n\n //ROUND 23 - PARTIAL\n s0 := add(s0, C46)\n s1 := add(s1, C47)\n // SBOX\n t := mulmod(s0, s0, q)\n s0 := mulmod(mulmod(t, t, q), s0, q)\n // MIX\n t := add(mulmod(s0, M00, q), mulmod(s1, M01, q))\n s1 := add(mulmod(s0, M10, q), mulmod(s1, M11, q))\n s0 := t\n\n //ROUND 24 - PARTIAL\n s0 := add(s0, C48)\n s1 := add(s1, C49)\n // SBOX\n t := mulmod(s0, s0, q)\n s0 := mulmod(mulmod(t, t, q), s0, q)\n // MIX\n t := add(mulmod(s0, M00, q), mulmod(s1, M01, q))\n s1 := add(mulmod(s0, M10, q), mulmod(s1, M11, q))\n s0 := t\n\n //ROUND 25 - PARTIAL\n s0 := add(s0, C50)\n s1 := add(s1, C51)\n // SBOX\n t := mulmod(s0, s0, q)\n s0 := mulmod(mulmod(t, t, q), s0, q)\n // MIX\n t := add(mulmod(s0, M00, q), mulmod(s1, M01, q))\n s1 := add(mulmod(s0, M10, q), mulmod(s1, M11, q))\n s0 := t\n\n //ROUND 26 - PARTIAL\n s0 := add(s0, C52)\n s1 := add(s1, C53)\n // SBOX\n t := mulmod(s0, s0, q)\n s0 := mulmod(mulmod(t, t, q), s0, q)\n // MIX\n t := add(mulmod(s0, M00, q), mulmod(s1, M01, q))\n s1 := add(mulmod(s0, M10, q), mulmod(s1, M11, q))\n s0 := t\n\n //ROUND 27 - PARTIAL\n s0 := add(s0, C54)\n s1 := add(s1, C55)\n // SBOX\n t := mulmod(s0, s0, q)\n s0 := mulmod(mulmod(t, t, q), s0, q)\n // MIX\n t := add(mulmod(s0, M00, q), mulmod(s1, M01, q))\n s1 := add(mulmod(s0, M10, q), mulmod(s1, M11, q))\n s0 := t\n\n //ROUND 28 - PARTIAL\n s0 := add(s0, C56)\n s1 := add(s1, C57)\n // SBOX\n t := mulmod(s0, s0, q)\n s0 := mulmod(mulmod(t, t, q), s0, q)\n // MIX\n t := add(mulmod(s0, M00, q), mulmod(s1, M01, q))\n s1 := add(mulmod(s0, M10, q), mulmod(s1, M11, q))\n s0 := t\n\n //ROUND 29 - PARTIAL\n s0 := add(s0, C58)\n s1 := add(s1, C59)\n // SBOX\n t := mulmod(s0, s0, q)\n s0 := mulmod(mulmod(t, t, q), s0, q)\n // MIX\n t := add(mulmod(s0, M00, q), mulmod(s1, M01, q))\n s1 := add(mulmod(s0, M10, q), mulmod(s1, M11, q))\n s0 := t\n\n //ROUND 30 - PARTIAL\n s0 := add(s0, C60)\n s1 := add(s1, C61)\n // SBOX\n t := mulmod(s0, s0, q)\n s0 := mulmod(mulmod(t, t, q), s0, q)\n // MIX\n t := add(mulmod(s0, M00, q), mulmod(s1, M01, q))\n s1 := add(mulmod(s0, M10, q), mulmod(s1, M11, q))\n s0 := t\n\n //ROUND 31 - PARTIAL\n s0 := add(s0, C62)\n s1 := add(s1, C63)\n // SBOX\n t := mulmod(s0, s0, q)\n s0 := mulmod(mulmod(t, t, q), s0, q)\n // MIX\n t := add(mulmod(s0, M00, q), mulmod(s1, M01, q))\n s1 := add(mulmod(s0, M10, q), mulmod(s1, M11, q))\n s0 := t\n\n //ROUND 32 - PARTIAL\n s0 := add(s0, C64)\n s1 := add(s1, C65)\n // SBOX\n t := mulmod(s0, s0, q)\n s0 := mulmod(mulmod(t, t, q), s0, q)\n // MIX\n t := add(mulmod(s0, M00, q), mulmod(s1, M01, q))\n s1 := add(mulmod(s0, M10, q), mulmod(s1, M11, q))\n s0 := t\n\n //ROUND 33 - PARTIAL\n s0 := add(s0, C66)\n s1 := add(s1, C67)\n // SBOX\n t := mulmod(s0, s0, q)\n s0 := mulmod(mulmod(t, t, q), s0, q)\n // MIX\n t := add(mulmod(s0, M00, q), mulmod(s1, M01, q))\n s1 := add(mulmod(s0, M10, q), mulmod(s1, M11, q))\n s0 := t\n\n //ROUND 34 - PARTIAL\n s0 := add(s0, C68)\n s1 := add(s1, C69)\n // SBOX\n t := mulmod(s0, s0, q)\n s0 := mulmod(mulmod(t, t, q), s0, q)\n // MIX\n t := add(mulmod(s0, M00, q), mulmod(s1, M01, q))\n s1 := add(mulmod(s0, M10, q), mulmod(s1, M11, q))\n s0 := t\n\n //ROUND 35 - PARTIAL\n s0 := add(s0, C70)\n s1 := add(s1, C71)\n // SBOX\n t := mulmod(s0, s0, q)\n s0 := mulmod(mulmod(t, t, q), s0, q)\n // MIX\n t := add(mulmod(s0, M00, q), mulmod(s1, M01, q))\n s1 := add(mulmod(s0, M10, q), mulmod(s1, M11, q))\n s0 := t\n\n //ROUND 36 - PARTIAL\n s0 := add(s0, C72)\n s1 := add(s1, C73)\n // SBOX\n t := mulmod(s0, s0, q)\n s0 := mulmod(mulmod(t, t, q), s0, q)\n // MIX\n t := add(mulmod(s0, M00, q), mulmod(s1, M01, q))\n s1 := add(mulmod(s0, M10, q), mulmod(s1, M11, q))\n s0 := t\n\n //ROUND 37 - PARTIAL\n s0 := add(s0, C74)\n s1 := add(s1, C75)\n // SBOX\n t := mulmod(s0, s0, q)\n s0 := mulmod(mulmod(t, t, q), s0, q)\n // MIX\n t := add(mulmod(s0, M00, q), mulmod(s1, M01, q))\n s1 := add(mulmod(s0, M10, q), mulmod(s1, M11, q))\n s0 := t\n\n //ROUND 38 - PARTIAL\n s0 := add(s0, C76)\n s1 := add(s1, C77)\n // SBOX\n t := mulmod(s0, s0, q)\n s0 := mulmod(mulmod(t, t, q), s0, q)\n // MIX\n t := add(mulmod(s0, M00, q), mulmod(s1, M01, q))\n s1 := add(mulmod(s0, M10, q), mulmod(s1, M11, q))\n s0 := t\n\n //ROUND 39 - PARTIAL\n s0 := add(s0, C78)\n s1 := add(s1, C79)\n // SBOX\n t := mulmod(s0, s0, q)\n s0 := mulmod(mulmod(t, t, q), s0, q)\n // MIX\n t := add(mulmod(s0, M00, q), mulmod(s1, M01, q))\n s1 := add(mulmod(s0, M10, q), mulmod(s1, M11, q))\n s0 := t\n\n //ROUND 40 - PARTIAL\n s0 := add(s0, C80)\n s1 := add(s1, C81)\n // SBOX\n t := mulmod(s0, s0, q)\n s0 := mulmod(mulmod(t, t, q), s0, q)\n // MIX\n t := add(mulmod(s0, M00, q), mulmod(s1, M01, q))\n s1 := add(mulmod(s0, M10, q), mulmod(s1, M11, q))\n s0 := t\n\n //ROUND 41 - PARTIAL\n s0 := add(s0, C82)\n s1 := add(s1, C83)\n // SBOX\n t := mulmod(s0, s0, q)\n s0 := mulmod(mulmod(t, t, q), s0, q)\n // MIX\n t := add(mulmod(s0, M00, q), mulmod(s1, M01, q))\n s1 := add(mulmod(s0, M10, q), mulmod(s1, M11, q))\n s0 := t\n\n //ROUND 42 - PARTIAL\n s0 := add(s0, C84)\n s1 := add(s1, C85)\n // SBOX\n t := mulmod(s0, s0, q)\n s0 := mulmod(mulmod(t, t, q), s0, q)\n // MIX\n t := add(mulmod(s0, M00, q), mulmod(s1, M01, q))\n s1 := add(mulmod(s0, M10, q), mulmod(s1, M11, q))\n s0 := t\n\n //ROUND 43 - PARTIAL\n s0 := add(s0, C86)\n s1 := add(s1, C87)\n // SBOX\n t := mulmod(s0, s0, q)\n s0 := mulmod(mulmod(t, t, q), s0, q)\n // MIX\n t := add(mulmod(s0, M00, q), mulmod(s1, M01, q))\n s1 := add(mulmod(s0, M10, q), mulmod(s1, M11, q))\n s0 := t\n\n //ROUND 44 - PARTIAL\n s0 := add(s0, C88)\n s1 := add(s1, C89)\n // SBOX\n t := mulmod(s0, s0, q)\n s0 := mulmod(mulmod(t, t, q), s0, q)\n // MIX\n t := add(mulmod(s0, M00, q), mulmod(s1, M01, q))\n s1 := add(mulmod(s0, M10, q), mulmod(s1, M11, q))\n s0 := t\n\n //ROUND 45 - PARTIAL\n s0 := add(s0, C90)\n s1 := add(s1, C91)\n // SBOX\n t := mulmod(s0, s0, q)\n s0 := mulmod(mulmod(t, t, q), s0, q)\n // MIX\n t := add(mulmod(s0, M00, q), mulmod(s1, M01, q))\n s1 := add(mulmod(s0, M10, q), mulmod(s1, M11, q))\n s0 := t\n\n //ROUND 46 - PARTIAL\n s0 := add(s0, C92)\n s1 := add(s1, C93)\n // SBOX\n t := mulmod(s0, s0, q)\n s0 := mulmod(mulmod(t, t, q), s0, q)\n // MIX\n t := add(mulmod(s0, M00, q), mulmod(s1, M01, q))\n s1 := add(mulmod(s0, M10, q), mulmod(s1, M11, q))\n s0 := t\n\n //ROUND 47 - PARTIAL\n s0 := add(s0, C94)\n s1 := add(s1, C95)\n // SBOX\n t := mulmod(s0, s0, q)\n s0 := mulmod(mulmod(t, t, q), s0, q)\n // MIX\n t := add(mulmod(s0, M00, q), mulmod(s1, M01, q))\n s1 := add(mulmod(s0, M10, q), mulmod(s1, M11, q))\n s0 := t\n\n //ROUND 48 - PARTIAL\n s0 := add(s0, C96)\n s1 := add(s1, C97)\n // SBOX\n t := mulmod(s0, s0, q)\n s0 := mulmod(mulmod(t, t, q), s0, q)\n // MIX\n t := add(mulmod(s0, M00, q), mulmod(s1, M01, q))\n s1 := add(mulmod(s0, M10, q), mulmod(s1, M11, q))\n s0 := t\n\n //ROUND 49 - PARTIAL\n s0 := add(s0, C98)\n s1 := add(s1, C99)\n // SBOX\n t := mulmod(s0, s0, q)\n s0 := mulmod(mulmod(t, t, q), s0, q)\n // MIX\n t := add(mulmod(s0, M00, q), mulmod(s1, M01, q))\n s1 := add(mulmod(s0, M10, q), mulmod(s1, M11, q))\n s0 := t\n\n //ROUND 50 - PARTIAL\n s0 := add(s0, C100)\n s1 := add(s1, C101)\n // SBOX\n t := mulmod(s0, s0, q)\n s0 := mulmod(mulmod(t, t, q), s0, q)\n // MIX\n t := add(mulmod(s0, M00, q), mulmod(s1, M01, q))\n s1 := add(mulmod(s0, M10, q), mulmod(s1, M11, q))\n s0 := t\n\n //ROUND 51 - PARTIAL\n s0 := add(s0, C102)\n s1 := add(s1, C103)\n // SBOX\n t := mulmod(s0, s0, q)\n s0 := mulmod(mulmod(t, t, q), s0, q)\n // MIX\n t := add(mulmod(s0, M00, q), mulmod(s1, M01, q))\n s1 := add(mulmod(s0, M10, q), mulmod(s1, M11, q))\n s0 := t\n\n //ROUND 52 - PARTIAL\n s0 := add(s0, C104)\n s1 := add(s1, C105)\n // SBOX\n t := mulmod(s0, s0, q)\n s0 := mulmod(mulmod(t, t, q), s0, q)\n // MIX\n t := add(mulmod(s0, M00, q), mulmod(s1, M01, q))\n s1 := add(mulmod(s0, M10, q), mulmod(s1, M11, q))\n s0 := t\n\n //ROUND 53 - PARTIAL\n s0 := add(s0, C106)\n s1 := add(s1, C107)\n // SBOX\n t := mulmod(s0, s0, q)\n s0 := mulmod(mulmod(t, t, q), s0, q)\n // MIX\n t := add(mulmod(s0, M00, q), mulmod(s1, M01, q))\n s1 := add(mulmod(s0, M10, q), mulmod(s1, M11, q))\n s0 := t\n\n //ROUND 54 - PARTIAL\n s0 := add(s0, C108)\n s1 := add(s1, C109)\n // SBOX\n t := mulmod(s0, s0, q)\n s0 := mulmod(mulmod(t, t, q), s0, q)\n // MIX\n t := add(mulmod(s0, M00, q), mulmod(s1, M01, q))\n s1 := add(mulmod(s0, M10, q), mulmod(s1, M11, q))\n s0 := t\n\n //ROUND 55 - PARTIAL\n s0 := add(s0, C110)\n s1 := add(s1, C111)\n // SBOX\n t := mulmod(s0, s0, q)\n s0 := mulmod(mulmod(t, t, q), s0, q)\n // MIX\n t := add(mulmod(s0, M00, q), mulmod(s1, M01, q))\n s1 := add(mulmod(s0, M10, q), mulmod(s1, M11, q))\n s0 := t\n\n //ROUND 56 - PARTIAL\n s0 := add(s0, C112)\n s1 := add(s1, C113)\n // SBOX\n t := mulmod(s0, s0, q)\n s0 := mulmod(mulmod(t, t, q), s0, q)\n // MIX\n t := add(mulmod(s0, M00, q), mulmod(s1, M01, q))\n s1 := add(mulmod(s0, M10, q), mulmod(s1, M11, q))\n s0 := t\n\n //ROUND 57 - PARTIAL\n s0 := add(s0, C114)\n s1 := add(s1, C115)\n // SBOX\n t := mulmod(s0, s0, q)\n s0 := mulmod(mulmod(t, t, q), s0, q)\n // MIX\n t := add(mulmod(s0, M00, q), mulmod(s1, M01, q))\n s1 := add(mulmod(s0, M10, q), mulmod(s1, M11, q))\n s0 := t\n\n //ROUND 58 - PARTIAL\n s0 := add(s0, C116)\n s1 := add(s1, C117)\n // SBOX\n t := mulmod(s0, s0, q)\n s0 := mulmod(mulmod(t, t, q), s0, q)\n // MIX\n t := add(mulmod(s0, M00, q), mulmod(s1, M01, q))\n s1 := add(mulmod(s0, M10, q), mulmod(s1, M11, q))\n s0 := t\n\n //ROUND 59 - PARTIAL\n s0 := add(s0, C118)\n s1 := add(s1, C119)\n // SBOX\n t := mulmod(s0, s0, q)\n s0 := mulmod(mulmod(t, t, q), s0, q)\n // MIX\n t := add(mulmod(s0, M00, q), mulmod(s1, M01, q))\n s1 := add(mulmod(s0, M10, q), mulmod(s1, M11, q))\n s0 := t\n\n //ROUND 60 - FULL\n s0 := add(s0, C120)\n s1 := add(s1, C121)\n // SBOX\n t := mulmod(s0, s0, q)\n s0 := mulmod(mulmod(t, t, q), s0, q)\n t := mulmod(s1, s1, q)\n s1 := mulmod(mulmod(t, t, q), s1, q)\n // MIX\n t := add(mulmod(s0, M00, q), mulmod(s1, M01, q))\n s1 := add(mulmod(s0, M10, q), mulmod(s1, M11, q))\n s0 := t\n\n //ROUND 61 - FULL\n s0 := add(s0, C122)\n s1 := add(s1, C123)\n // SBOX\n t := mulmod(s0, s0, q)\n s0 := mulmod(mulmod(t, t, q), s0, q)\n t := mulmod(s1, s1, q)\n s1 := mulmod(mulmod(t, t, q), s1, q)\n // MIX\n t := add(mulmod(s0, M00, q), mulmod(s1, M01, q))\n s1 := add(mulmod(s0, M10, q), mulmod(s1, M11, q))\n s0 := t\n\n //ROUND 62 - FULL\n s0 := add(s0, C124)\n s1 := add(s1, C125)\n // SBOX\n t := mulmod(s0, s0, q)\n s0 := mulmod(mulmod(t, t, q), s0, q)\n t := mulmod(s1, s1, q)\n s1 := mulmod(mulmod(t, t, q), s1, q)\n // MIX\n t := add(mulmod(s0, M00, q), mulmod(s1, M01, q))\n s1 := add(mulmod(s0, M10, q), mulmod(s1, M11, q))\n s0 := t\n\n //ROUND 63 - FULL\n s0 := add(s0, C126)\n s1 := add(s1, C127)\n // SBOX\n t := mulmod(s0, s0, q)\n s0 := mulmod(mulmod(t, t, q), s0, q)\n t := mulmod(s1, s1, q)\n s1 := mulmod(mulmod(t, t, q), s1, q)\n // MIX\n s0 := mod(add(mulmod(s0, M00, q), mulmod(s1, M01, q)), q)\n\n result := s0\n }\n }\n}\n" + }, + "contracts/Rln.sol": { + "content": "// SPDX-License-Identifier: MIT\n\npragma solidity 0.8.15;\n\nimport {IPoseidonHasher} from \"./PoseidonHasher.sol\";\n\n/// Invalid deposit amount\n/// @param required The required deposit amount\n/// @param provided The provided deposit amount\nerror InsufficientDeposit(uint256 required, uint256 provided);\n\n/// Provided Batch is empty\nerror EmptyBatch();\n\n/// Batch is full, during batch operations\nerror FullBatch();\n\n/// Member is already registered\nerror DuplicateIdCommitment();\n\n/// Batch size mismatch, when the length of secrets and receivers are not equal\n/// @param givenSecretsLen The length of the secrets array\n/// @param givenReceiversLen The length of the receivers array\nerror MismatchedBatchSize(uint256 givenSecretsLen, uint256 givenReceiversLen);\n\n/// Invalid withdrawal address, when the receiver is the contract itself or 0x0\nerror InvalidWithdrawalAddress(address to);\n\n/// Member is not registered\nerror MemberNotRegistered(uint256 idCommitment);\n\n/// Member has no stake\nerror MemberHasNoStake(uint256 idCommitment);\n\ncontract RLN {\n /// @notice The deposit amount required to register as a member\n uint256 public immutable MEMBERSHIP_DEPOSIT;\n\n /// @notice The depth of the merkle tree\n uint256 public immutable DEPTH;\n\n /// @notice The size of the merkle tree, i.e 2^depth\n uint256 public immutable SET_SIZE;\n\n /// @notice The index of the next member to be registered\n uint256 public idCommitmentIndex;\n\n /// @notice The amount of eth staked by each member\n mapping(uint256 => uint256) public stakedAmounts;\n\n /// @notice The membership status of each member\n mapping(uint256 => bool) public members;\n\n /// @notice The Poseidon hasher contract\n IPoseidonHasher public poseidonHasher;\n\n /// Emitted when a new member is added to the set\n /// @param idCommitment The idCommitment of the member\n /// @param index The index of the member in the set\n event MemberRegistered(uint256 idCommitment, uint256 index);\n\n /// Emitted when a member is removed from the set\n /// @param idCommitment The idCommitment of the member\n event MemberWithdrawn(uint256 idCommitment);\n\n constructor(\n uint256 membershipDeposit,\n uint256 depth,\n address _poseidonHasher\n ) {\n MEMBERSHIP_DEPOSIT = membershipDeposit;\n DEPTH = depth;\n SET_SIZE = 1 << depth;\n poseidonHasher = IPoseidonHasher(_poseidonHasher);\n }\n\n /// Allows a user to register as a member\n /// @param idCommitment The idCommitment of the member\n function register(uint256 idCommitment) external payable {\n if (msg.value != MEMBERSHIP_DEPOSIT)\n revert InsufficientDeposit(MEMBERSHIP_DEPOSIT, msg.value);\n _register(idCommitment, msg.value);\n }\n\n /// Allows batch registration of members\n /// @param idCommitments array of idCommitments\n function registerBatch(uint256[] calldata idCommitments) external payable {\n uint256 idCommitmentlen = idCommitments.length;\n if (idCommitmentlen == 0) revert EmptyBatch();\n if (idCommitmentIndex + idCommitmentlen >= SET_SIZE) revert FullBatch();\n uint256 requiredDeposit = MEMBERSHIP_DEPOSIT * idCommitmentlen;\n if (msg.value != requiredDeposit)\n revert InsufficientDeposit(requiredDeposit, msg.value);\n for (uint256 i = 0; i < idCommitmentlen; i++) {\n _register(idCommitments[i], msg.value / idCommitmentlen);\n }\n }\n\n /// Registers a member\n /// @param idCommitment The idCommitment of the member\n /// @param stake The amount of eth staked by the member\n function _register(uint256 idCommitment, uint256 stake) internal {\n if (members[idCommitment]) revert DuplicateIdCommitment();\n if (idCommitmentIndex >= SET_SIZE) revert FullBatch();\n\n members[idCommitment] = true;\n stakedAmounts[idCommitment] = stake;\n\n emit MemberRegistered(idCommitment, idCommitmentIndex);\n idCommitmentIndex += 1;\n }\n\n /// Allows a user to slash a batch of members\n /// @param secrets array of idSecretHashes\n /// @param receivers array of addresses to receive the funds\n function withdrawBatch(\n uint256[] calldata secrets,\n address payable[] calldata receivers\n ) external {\n uint256 batchSize = secrets.length;\n if (batchSize == 0) revert EmptyBatch();\n if (batchSize != receivers.length)\n revert MismatchedBatchSize(secrets.length, receivers.length);\n for (uint256 i = 0; i < batchSize; i++) {\n _withdraw(secrets[i], receivers[i]);\n }\n }\n\n /// Allows a user to slash a member\n /// @param secret The idSecretHash of the member\n function withdraw(uint256 secret, address payable receiver) external {\n _withdraw(secret, receiver);\n }\n\n /// Slashes a member by removing them from the set, and transferring their\n /// stake to the receiver\n /// @param secret The idSecretHash of the member\n /// @param receiver The address to receive the funds\n function _withdraw(uint256 secret, address payable receiver) internal {\n if (receiver == address(this) || receiver == address(0))\n revert InvalidWithdrawalAddress(receiver);\n\n // derive idCommitment\n uint256 idCommitment = hash(secret);\n // check if member is registered\n if (!members[idCommitment]) revert MemberNotRegistered(idCommitment);\n if (stakedAmounts[idCommitment] == 0)\n revert MemberHasNoStake(idCommitment);\n\n uint256 amountToTransfer = stakedAmounts[idCommitment];\n\n // delete member\n members[idCommitment] = false;\n stakedAmounts[idCommitment] = 0;\n\n // refund deposit\n receiver.transfer(amountToTransfer);\n\n emit MemberWithdrawn(idCommitment);\n }\n\n /// Hashes a value using the Poseidon hasher\n /// NOTE: The variant of Poseidon we use accepts only 1 input, assume n=2, and the second input is 0\n /// @param input The value to hash\n function hash(uint256 input) internal view returns (uint256) {\n return poseidonHasher.hash(input);\n }\n}\n" + } + }, + "settings": { + "optimizer": { + "enabled": false, + "runs": 200 + }, + "outputSelection": { + "*": { + "*": [ + "abi", + "evm.bytecode", + "evm.deployedBytecode", + "evm.methodIdentifiers", + "metadata", + "devdoc", + "userdoc", + "storageLayout", + "evm.gasEstimates" + ], + "": ["ast"] + } + }, + "metadata": { + "useLiteralContent": true + }, + "remappings": [ + "ds-test/=lib/forge-std/lib/ds-test/src/", + "forge-std/=lib/forge-std/src/" + ] + } +} diff --git a/deployments/sepolia/solcInputs/d5475cf869d23da2a838dd607679cc44.json b/deployments/sepolia/solcInputs/d5475cf869d23da2a838dd607679cc44.json new file mode 100644 index 0000000..543d720 --- /dev/null +++ b/deployments/sepolia/solcInputs/d5475cf869d23da2a838dd607679cc44.json @@ -0,0 +1,40 @@ +{ + "language": "Solidity", + "sources": { + "contracts/PoseidonHasher.sol": { + "content": "// SPDX-License-Identifier: MIT\n\n// Forked from https://github.com/kilic/rlnapp/\n\npragma solidity 0.8.15;\n\ninterface IPoseidonHasher {\n /// @notice Hashes the input using the Poseidon hash function, n = 2, second input is the constant 0\n /// @param input The input to hash\n function hash(uint256 input) external pure returns (uint256 result);\n}\n\ncontract PoseidonHasher is IPoseidonHasher {\n uint256 constant Q =\n 21888242871839275222246405745257275088548364400416034343698204186575808495617;\n uint256 constant C0 =\n 4417881134626180770308697923359573201005643519861877412381846989312604493735;\n uint256 constant C1 =\n 5433650512959517612316327474713065966758808864213826738576266661723522780033;\n uint256 constant C2 =\n 13641176377184356099764086973022553863760045607496549923679278773208775739952;\n uint256 constant C3 =\n 17949713444224994136330421782109149544629237834775211751417461773584374506783;\n uint256 constant C4 =\n 13765628375339178273710281891027109699578766420463125835325926111705201856003;\n uint256 constant C5 =\n 19179513468172002314585757290678967643352171735526887944518845346318719730387;\n uint256 constant C6 =\n 5157412437176756884543472904098424903141745259452875378101256928559722612176;\n uint256 constant C7 =\n 535160875740282236955320458485730000677124519901643397458212725410971557409;\n uint256 constant C8 =\n 1050793453380762984940163090920066886770841063557081906093018330633089036729;\n uint256 constant C9 =\n 10665495010329663932664894101216428400933984666065399374198502106997623173873;\n uint256 constant C10 =\n 19965634623406616956648724894636666805991993496469370618546874926025059150737;\n uint256 constant C11 =\n 13007250030070838431593222885902415182312449212965120303174723305710127422213;\n uint256 constant C12 =\n 16877538715074991604507979123743768693428157847423939051086744213162455276374;\n uint256 constant C13 =\n 18211747749504876135588847560312685184956239426147543810126553367063157141465;\n uint256 constant C14 =\n 18151553319826126919739798892854572062191241985315767086020821632812331245635;\n uint256 constant C15 =\n 19957033149976712666746140949846950406660099037474791840946955175819555930825;\n uint256 constant C16 =\n 3469514863538261843186854830917934449567467100548474599735384052339577040841;\n uint256 constant C17 =\n 989698510043911779243192466312362856042600749099921773896924315611668507708;\n uint256 constant C18 =\n 12568377015646290945235387813564567111330046038050864455358059568128000172201;\n uint256 constant C19 =\n 20856104135605479600325529349246932565148587186338606236677138505306779314172;\n uint256 constant C20 =\n 8206918720503535523121349917159924938835810381723474192155637697065780938424;\n uint256 constant C21 =\n 1309058477013932989380617265069188723120054926187607548493110334522527703566;\n uint256 constant C22 =\n 14076116939332667074621703729512195584105250395163383769419390236426287710606;\n uint256 constant C23 =\n 10153498892749751942204288991871286290442690932856658983589258153608012428674;\n uint256 constant C24 =\n 18202499207234128286137597834010475797175973146805180988367589376893530181575;\n uint256 constant C25 =\n 12739388830157083522877690211447248168864006284243907142044329113461613743052;\n uint256 constant C26 =\n 15123358710467780770838026754240340042441262572309759635224051333176022613949;\n uint256 constant C27 =\n 19925004701844594370904593774447343836015483888496504201331110250494635362184;\n uint256 constant C28 =\n 10352416606816998476681131583320899030072315953910679608943150613208329645891;\n uint256 constant C29 =\n 10567371822366244361703342347428230537114808440249611395507235283708966113221;\n uint256 constant C30 =\n 5635498582763880627392290206431559361272660937399944184533035305989295959602;\n uint256 constant C31 =\n 11866432933224219174041051738704352719163271639958083608224676028593315904909;\n uint256 constant C32 =\n 5795020705294401441272215064554385591292330721703923167136157291459784140431;\n uint256 constant C33 =\n 9482202378699252817564375087302794636287866584767523335624368774856230692758;\n uint256 constant C34 =\n 4245237636894546151746468406560945873445548423466753843402086544922216329298;\n uint256 constant C35 =\n 12000500941313982757584712677991730019124834399479314697467598397927435905133;\n uint256 constant C36 =\n 7596790274058425558167520209857956363736666939016807569082239187494363541787;\n uint256 constant C37 =\n 2484867918246116343205467273440098378820186751202461278013576281097918148877;\n uint256 constant C38 =\n 18312645949449997391810445935615409295369169383463185688973803378104013950190;\n uint256 constant C39 =\n 15320686572748723004980855263301182130424010735782762814513954166519592552733;\n uint256 constant C40 =\n 12618438900597948888520621062416758747872180395546164387827245287017031303859;\n uint256 constant C41 =\n 17438141672027706116733201008397064011774368832458707512367404736905021019585;\n uint256 constant C42 =\n 6374197807230665998865688675365359100400438034755781666913068586172586548950;\n uint256 constant C43 =\n 2189398913433273865510950346186699930188746169476472274335177556702504595264;\n uint256 constant C44 =\n 6268495580028970231803791523870131137294646402347399003576649137450213034606;\n uint256 constant C45 =\n 17896250365994900261202920044129628104272791547990619503076839618914047059275;\n uint256 constant C46 =\n 13692156312448722528008862371944543449350293305158722920787736248435893008873;\n uint256 constant C47 =\n 15234446864368744483209945022439268713300180233589581910497691316744177619376;\n uint256 constant C48 =\n 1572426502623310766593681563281600503979671244997798691029595521622402217227;\n uint256 constant C49 =\n 80103447810215150918585162168214870083573048458555897999822831203653996617;\n uint256 constant C50 =\n 8228820324013669567851850635126713973797711779951230446503353812192849106342;\n uint256 constant C51 =\n 5375851433746509614045812476958526065449377558695752132494533666370449415873;\n uint256 constant C52 =\n 12115998939203497346386774317892338270561208357481805380546938146796257365018;\n uint256 constant C53 =\n 9764067909645821279940531410531154041386008396840887338272986634350423466622;\n uint256 constant C54 =\n 8538708244538850542384936174629541085495830544298260335345008245230827876882;\n uint256 constant C55 =\n 7140127896620013355910287215441004676619168261422440177712039790284719613114;\n uint256 constant C56 =\n 14297402962228458726038826185823085337698917275385741292940049024977027409762;\n uint256 constant C57 =\n 6667115556431351074165934212337261254608231545257434281887966406956835140819;\n uint256 constant C58 =\n 20226761165244293291042617464655196752671169026542832236139342122602741090001;\n uint256 constant C59 =\n 12038289506489256655759141386763477208196694421666339040483042079632134429119;\n uint256 constant C60 =\n 19027757334170818571203982241812412991528769934917288000224335655934473717551;\n uint256 constant C61 =\n 16272152964456553579565580463468069884359929612321610357528838696790370074720;\n uint256 constant C62 =\n 2500392889689246014710135696485946334448570271481948765283016105301740284071;\n uint256 constant C63 =\n 8595254970528530312401637448610398388203855633951264114100575485022581946023;\n uint256 constant C64 =\n 11635945688914011450976408058407206367914559009113158286982919675551688078198;\n uint256 constant C65 =\n 614739068603482619581328040478536306925147663946742687395148680260956671871;\n uint256 constant C66 =\n 18692271780377861570175282183255720350972693125537599213951106550953176268753;\n uint256 constant C67 =\n 4987059230784976306647166378298632695585915319042844495357753339378260807164;\n uint256 constant C68 =\n 21851403978498723616722415377430107676258664746210815234490134600998983955497;\n uint256 constant C69 =\n 9830635451186415300891533983087800047564037813328875992115573428596207326204;\n uint256 constant C70 =\n 4842706106434537116860242620706030229206345167233200482994958847436425185478;\n uint256 constant C71 =\n 6422235064906823218421386871122109085799298052314922856340127798647926126490;\n uint256 constant C72 =\n 4564364104986856861943331689105797031330091877115997069096365671501473357846;\n uint256 constant C73 =\n 1944043894089780613038197112872830569538541856657037469098448708685350671343;\n uint256 constant C74 =\n 21179865974855950600518216085229498748425990426231530451599322283119880194955;\n uint256 constant C75 =\n 14296697761894107574369608843560006996183955751502547883167824879840894933162;\n uint256 constant C76 =\n 12274619649702218570450581712439138337725246879938860735460378251639845671898;\n uint256 constant C77 =\n 16371396450276899401411886674029075408418848209575273031725505038938314070356;\n uint256 constant C78 =\n 3702561221750983937578095019779188631407216522704543451228773892695044653565;\n uint256 constant C79 =\n 19721616877735564664624984774636557499099875603996426215495516594530838681980;\n uint256 constant C80 =\n 6383350109027696789969911008057747025018308755462287526819231672217685282429;\n uint256 constant C81 =\n 20860583956177367265984596617324237471765572961978977333122281041544719622905;\n uint256 constant C82 =\n 5766390934595026947545001478457407504285452477687752470140790011329357286275;\n uint256 constant C83 =\n 4043175758319898049344746138515323336207420888499903387536875603879441092484;\n uint256 constant C84 =\n 15579382179133608217098622223834161692266188678101563820988612253342538956534;\n uint256 constant C85 =\n 1864640783252634743892105383926602930909039567065240010338908865509831749824;\n uint256 constant C86 =\n 15943719865023133586707144161652035291705809358178262514871056013754142625673;\n uint256 constant C87 =\n 2326415993032390211558498780803238091925402878871059708106213703504162832999;\n uint256 constant C88 =\n 19995326402773833553207196590622808505547443523750970375738981396588337910289;\n uint256 constant C89 =\n 5143583711361588952673350526320181330406047695593201009385718506918735286622;\n uint256 constant C90 =\n 15436006486881920976813738625999473183944244531070780793506388892313517319583;\n uint256 constant C91 =\n 16660446760173633166698660166238066533278664023818938868110282615200613695857;\n uint256 constant C92 =\n 4966065365695755376133119391352131079892396024584848298231004326013366253934;\n uint256 constant C93 =\n 20683781957411705574951987677641476019618457561419278856689645563561076926702;\n uint256 constant C94 =\n 17280836839165902792086432296371645107551519324565649849400948918605456875699;\n uint256 constant C95 =\n 17045635513701208892073056357048619435743564064921155892004135325530808465371;\n uint256 constant C96 =\n 17055032967194400710390142791334572297458033582458169295920670679093585707295;\n uint256 constant C97 =\n 15727174639569115300068198908071514334002742825679221638729902577962862163505;\n uint256 constant C98 =\n 1001755657610446661315902885492677747789366510875120894840818704741370398633;\n uint256 constant C99 =\n 18638547332826171619311285502376343504539399518545103511265465604926625041234;\n uint256 constant C100 =\n 6751954224763196429755298529194402870632445298969935050224267844020826420799;\n uint256 constant C101 =\n 3526747115904224771452549517614107688674036840088422555827581348280834879405;\n uint256 constant C102 =\n 15705897908180497062880001271426561999724005008972544196300715293701537574122;\n uint256 constant C103 =\n 574386695213920937259007343820417029802510752426579750428758189312416867750;\n uint256 constant C104 =\n 15973040855000600860816974646787367136127946402908768408978806375685439868553;\n uint256 constant C105 =\n 20934130413948796333037139460875996342810005558806621330680156931816867321122;\n uint256 constant C106 =\n 6918585327145564636398173845411579411526758237572034236476079610890705810764;\n uint256 constant C107 =\n 14158163500813182062258176233162498241310167509137716527054939926126453647182;\n uint256 constant C108 =\n 4164602626597695668474100217150111342272610479949122406544277384862187287433;\n uint256 constant C109 =\n 12146526846507496913615390662823936206892812880963914267275606265272996025304;\n uint256 constant C110 =\n 10153527926900017763244212043512822363696541810586522108597162891799345289938;\n uint256 constant C111 =\n 13564663485965299104296214940873270349072051793008946663855767889066202733588;\n uint256 constant C112 =\n 5612449256997576125867742696783020582952387615430650198777254717398552960096;\n uint256 constant C113 =\n 12151885480032032868507892738683067544172874895736290365318623681886999930120;\n uint256 constant C114 =\n 380452237704664384810613424095477896605414037288009963200982915188629772177;\n uint256 constant C115 =\n 9067557551252570188533509616805287919563636482030947363841198066124642069518;\n uint256 constant C116 =\n 21280306817619711661335268484199763923870315733198162896599997188206277056900;\n uint256 constant C117 =\n 5567165819557297006750252582140767993422097822227408837378089569369734876257;\n uint256 constant C118 =\n 10411936321072105429908396649383171465939606386380071222095155850987201580137;\n uint256 constant C119 =\n 21338390051413922944780864872652000187403217966653363270851298678606449622266;\n uint256 constant C120 =\n 12156296560457833712186127325312904760045212412680904475497938949653569234473;\n uint256 constant C121 =\n 4271647814574748734312113971565139132510281260328947438246615707172526380757;\n uint256 constant C122 =\n 9061738206062369647211128232833114177054715885442782773131292534862178874950;\n uint256 constant C123 =\n 10134551893627587797380445583959894183158393780166496661696555422178052339133;\n uint256 constant C124 =\n 8932270237664043612366044102088319242789325050842783721780970129656616386103;\n uint256 constant C125 =\n 3339412934966886386194449782756711637636784424032779155216609410591712750636;\n uint256 constant C126 =\n 9704903972004596791086522314847373103670545861209569267884026709445485704400;\n uint256 constant C127 =\n 17467570179597572575614276429760169990940929887711661192333523245667228809456;\n uint256 constant M00 =\n 2910766817845651019878574839501801340070030115151021261302834310722729507541;\n uint256 constant M01 =\n 19727366863391167538122140361473584127147630672623100827934084310230022599144;\n uint256 constant M10 =\n 5776684794125549462448597414050232243778680302179439492664047328281728356345;\n uint256 constant M11 =\n 8348174920934122550483593999453880006756108121341067172388445916328941978568;\n\n function hash(\n uint256 input\n ) external pure override returns (uint256 result) {\n return _hash(input);\n }\n\n function _hash(uint256 input) internal pure returns (uint256 result) {\n assembly {\n // Poseidon parameters should be t = 2, RF = 8, RP = 56\n\n // We load the characteristic\n let q := Q\n\n // In zerokit implementation, if we pass inp = [a0,a1,..,an] to Poseidon what is effectively hashed is [0,a0,a1,..,an]\n // Note that a sequence of MIX-ARK involves 3 Bn254 field additions before the mulmod happens. Worst case we have a value corresponding to 2*(p-1) which is less than 2^256 and hence doesn't overflow\n //ROUND 0 - FULL\n let s0 := C0\n let s1 := add(input, C1)\n // SBOX\n let t := mulmod(s0, s0, q)\n s0 := mulmod(mulmod(t, t, q), s0, q)\n t := mulmod(s1, s1, q)\n s1 := mulmod(mulmod(t, t, q), s1, q)\n // MIX\n t := add(mulmod(s0, M00, q), mulmod(s1, M01, q))\n s1 := add(mulmod(s0, M10, q), mulmod(s1, M11, q))\n s0 := t\n\n //ROUND 1 - FULL\n s0 := add(s0, C2)\n s1 := add(s1, C3)\n // SBOX\n t := mulmod(s0, s0, q)\n s0 := mulmod(mulmod(t, t, q), s0, q)\n t := mulmod(s1, s1, q)\n s1 := mulmod(mulmod(t, t, q), s1, q)\n // MIX\n t := add(mulmod(s0, M00, q), mulmod(s1, M01, q))\n s1 := add(mulmod(s0, M10, q), mulmod(s1, M11, q))\n s0 := t\n\n //ROUND 2 - FULL\n s0 := add(s0, C4)\n s1 := add(s1, C5)\n // SBOX\n t := mulmod(s0, s0, q)\n s0 := mulmod(mulmod(t, t, q), s0, q)\n t := mulmod(s1, s1, q)\n s1 := mulmod(mulmod(t, t, q), s1, q)\n // MIX\n t := add(mulmod(s0, M00, q), mulmod(s1, M01, q))\n s1 := add(mulmod(s0, M10, q), mulmod(s1, M11, q))\n s0 := t\n\n //ROUND 3 - FULL\n s0 := add(s0, C6)\n s1 := add(s1, C7)\n // SBOX\n t := mulmod(s0, s0, q)\n s0 := mulmod(mulmod(t, t, q), s0, q)\n t := mulmod(s1, s1, q)\n s1 := mulmod(mulmod(t, t, q), s1, q)\n // MIX\n t := add(mulmod(s0, M00, q), mulmod(s1, M01, q))\n s1 := add(mulmod(s0, M10, q), mulmod(s1, M11, q))\n s0 := t\n\n //ROUND 4 - PARTIAL\n s0 := add(s0, C8)\n s1 := add(s1, C9)\n // SBOX\n t := mulmod(s0, s0, q)\n s0 := mulmod(mulmod(t, t, q), s0, q)\n // MIX\n t := add(mulmod(s0, M00, q), mulmod(s1, M01, q))\n s1 := add(mulmod(s0, M10, q), mulmod(s1, M11, q))\n s0 := t\n\n //ROUND 5 - PARTIAL\n s0 := add(s0, C10)\n s1 := add(s1, C11)\n // SBOX\n t := mulmod(s0, s0, q)\n s0 := mulmod(mulmod(t, t, q), s0, q)\n // MIX\n t := add(mulmod(s0, M00, q), mulmod(s1, M01, q))\n s1 := add(mulmod(s0, M10, q), mulmod(s1, M11, q))\n s0 := t\n\n //ROUND 6 - PARTIAL\n s0 := add(s0, C12)\n s1 := add(s1, C13)\n // SBOX\n t := mulmod(s0, s0, q)\n s0 := mulmod(mulmod(t, t, q), s0, q)\n // MIX\n t := add(mulmod(s0, M00, q), mulmod(s1, M01, q))\n s1 := add(mulmod(s0, M10, q), mulmod(s1, M11, q))\n s0 := t\n\n //ROUND 7 - PARTIAL\n s0 := add(s0, C14)\n s1 := add(s1, C15)\n // SBOX\n t := mulmod(s0, s0, q)\n s0 := mulmod(mulmod(t, t, q), s0, q)\n // MIX\n t := add(mulmod(s0, M00, q), mulmod(s1, M01, q))\n s1 := add(mulmod(s0, M10, q), mulmod(s1, M11, q))\n s0 := t\n\n //ROUND 8 - PARTIAL\n s0 := add(s0, C16)\n s1 := add(s1, C17)\n // SBOX\n t := mulmod(s0, s0, q)\n s0 := mulmod(mulmod(t, t, q), s0, q)\n // MIX\n t := add(mulmod(s0, M00, q), mulmod(s1, M01, q))\n s1 := add(mulmod(s0, M10, q), mulmod(s1, M11, q))\n s0 := t\n\n //ROUND 9 - PARTIAL\n s0 := add(s0, C18)\n s1 := add(s1, C19)\n // SBOX\n t := mulmod(s0, s0, q)\n s0 := mulmod(mulmod(t, t, q), s0, q)\n // MIX\n t := add(mulmod(s0, M00, q), mulmod(s1, M01, q))\n s1 := add(mulmod(s0, M10, q), mulmod(s1, M11, q))\n s0 := t\n\n //ROUND 10 - PARTIAL\n s0 := add(s0, C20)\n s1 := add(s1, C21)\n // SBOX\n t := mulmod(s0, s0, q)\n s0 := mulmod(mulmod(t, t, q), s0, q)\n // MIX\n t := add(mulmod(s0, M00, q), mulmod(s1, M01, q))\n s1 := add(mulmod(s0, M10, q), mulmod(s1, M11, q))\n s0 := t\n\n //ROUND 11 - PARTIAL\n s0 := add(s0, C22)\n s1 := add(s1, C23)\n // SBOX\n t := mulmod(s0, s0, q)\n s0 := mulmod(mulmod(t, t, q), s0, q)\n // MIX\n t := add(mulmod(s0, M00, q), mulmod(s1, M01, q))\n s1 := add(mulmod(s0, M10, q), mulmod(s1, M11, q))\n s0 := t\n\n //ROUND 12 - PARTIAL\n s0 := add(s0, C24)\n s1 := add(s1, C25)\n // SBOX\n t := mulmod(s0, s0, q)\n s0 := mulmod(mulmod(t, t, q), s0, q)\n // MIX\n t := add(mulmod(s0, M00, q), mulmod(s1, M01, q))\n s1 := add(mulmod(s0, M10, q), mulmod(s1, M11, q))\n s0 := t\n\n //ROUND 13 - PARTIAL\n s0 := add(s0, C26)\n s1 := add(s1, C27)\n // SBOX\n t := mulmod(s0, s0, q)\n s0 := mulmod(mulmod(t, t, q), s0, q)\n // MIX\n t := add(mulmod(s0, M00, q), mulmod(s1, M01, q))\n s1 := add(mulmod(s0, M10, q), mulmod(s1, M11, q))\n s0 := t\n\n //ROUND 14 - PARTIAL\n s0 := add(s0, C28)\n s1 := add(s1, C29)\n // SBOX\n t := mulmod(s0, s0, q)\n s0 := mulmod(mulmod(t, t, q), s0, q)\n // MIX\n t := add(mulmod(s0, M00, q), mulmod(s1, M01, q))\n s1 := add(mulmod(s0, M10, q), mulmod(s1, M11, q))\n s0 := t\n\n //ROUND 15 - PARTIAL\n s0 := add(s0, C30)\n s1 := add(s1, C31)\n // SBOX\n t := mulmod(s0, s0, q)\n s0 := mulmod(mulmod(t, t, q), s0, q)\n // MIX\n t := add(mulmod(s0, M00, q), mulmod(s1, M01, q))\n s1 := add(mulmod(s0, M10, q), mulmod(s1, M11, q))\n s0 := t\n\n //ROUND 16 - PARTIAL\n s0 := add(s0, C32)\n s1 := add(s1, C33)\n // SBOX\n t := mulmod(s0, s0, q)\n s0 := mulmod(mulmod(t, t, q), s0, q)\n // MIX\n t := add(mulmod(s0, M00, q), mulmod(s1, M01, q))\n s1 := add(mulmod(s0, M10, q), mulmod(s1, M11, q))\n s0 := t\n\n //ROUND 17 - PARTIAL\n s0 := add(s0, C34)\n s1 := add(s1, C35)\n // SBOX\n t := mulmod(s0, s0, q)\n s0 := mulmod(mulmod(t, t, q), s0, q)\n // MIX\n t := add(mulmod(s0, M00, q), mulmod(s1, M01, q))\n s1 := add(mulmod(s0, M10, q), mulmod(s1, M11, q))\n s0 := t\n\n //ROUND 18 - PARTIAL\n s0 := add(s0, C36)\n s1 := add(s1, C37)\n // SBOX\n t := mulmod(s0, s0, q)\n s0 := mulmod(mulmod(t, t, q), s0, q)\n // MIX\n t := add(mulmod(s0, M00, q), mulmod(s1, M01, q))\n s1 := add(mulmod(s0, M10, q), mulmod(s1, M11, q))\n s0 := t\n\n //ROUND 19 - PARTIAL\n s0 := add(s0, C38)\n s1 := add(s1, C39)\n // SBOX\n t := mulmod(s0, s0, q)\n s0 := mulmod(mulmod(t, t, q), s0, q)\n // MIX\n t := add(mulmod(s0, M00, q), mulmod(s1, M01, q))\n s1 := add(mulmod(s0, M10, q), mulmod(s1, M11, q))\n s0 := t\n\n //ROUND 20 - PARTIAL\n s0 := add(s0, C40)\n s1 := add(s1, C41)\n // SBOX\n t := mulmod(s0, s0, q)\n s0 := mulmod(mulmod(t, t, q), s0, q)\n // MIX\n t := add(mulmod(s0, M00, q), mulmod(s1, M01, q))\n s1 := add(mulmod(s0, M10, q), mulmod(s1, M11, q))\n s0 := t\n\n //ROUND 21 - PARTIAL\n s0 := add(s0, C42)\n s1 := add(s1, C43)\n // SBOX\n t := mulmod(s0, s0, q)\n s0 := mulmod(mulmod(t, t, q), s0, q)\n // MIX\n t := add(mulmod(s0, M00, q), mulmod(s1, M01, q))\n s1 := add(mulmod(s0, M10, q), mulmod(s1, M11, q))\n s0 := t\n\n //ROUND 22 - PARTIAL\n s0 := add(s0, C44)\n s1 := add(s1, C45)\n // SBOX\n t := mulmod(s0, s0, q)\n s0 := mulmod(mulmod(t, t, q), s0, q)\n // MIX\n t := add(mulmod(s0, M00, q), mulmod(s1, M01, q))\n s1 := add(mulmod(s0, M10, q), mulmod(s1, M11, q))\n s0 := t\n\n //ROUND 23 - PARTIAL\n s0 := add(s0, C46)\n s1 := add(s1, C47)\n // SBOX\n t := mulmod(s0, s0, q)\n s0 := mulmod(mulmod(t, t, q), s0, q)\n // MIX\n t := add(mulmod(s0, M00, q), mulmod(s1, M01, q))\n s1 := add(mulmod(s0, M10, q), mulmod(s1, M11, q))\n s0 := t\n\n //ROUND 24 - PARTIAL\n s0 := add(s0, C48)\n s1 := add(s1, C49)\n // SBOX\n t := mulmod(s0, s0, q)\n s0 := mulmod(mulmod(t, t, q), s0, q)\n // MIX\n t := add(mulmod(s0, M00, q), mulmod(s1, M01, q))\n s1 := add(mulmod(s0, M10, q), mulmod(s1, M11, q))\n s0 := t\n\n //ROUND 25 - PARTIAL\n s0 := add(s0, C50)\n s1 := add(s1, C51)\n // SBOX\n t := mulmod(s0, s0, q)\n s0 := mulmod(mulmod(t, t, q), s0, q)\n // MIX\n t := add(mulmod(s0, M00, q), mulmod(s1, M01, q))\n s1 := add(mulmod(s0, M10, q), mulmod(s1, M11, q))\n s0 := t\n\n //ROUND 26 - PARTIAL\n s0 := add(s0, C52)\n s1 := add(s1, C53)\n // SBOX\n t := mulmod(s0, s0, q)\n s0 := mulmod(mulmod(t, t, q), s0, q)\n // MIX\n t := add(mulmod(s0, M00, q), mulmod(s1, M01, q))\n s1 := add(mulmod(s0, M10, q), mulmod(s1, M11, q))\n s0 := t\n\n //ROUND 27 - PARTIAL\n s0 := add(s0, C54)\n s1 := add(s1, C55)\n // SBOX\n t := mulmod(s0, s0, q)\n s0 := mulmod(mulmod(t, t, q), s0, q)\n // MIX\n t := add(mulmod(s0, M00, q), mulmod(s1, M01, q))\n s1 := add(mulmod(s0, M10, q), mulmod(s1, M11, q))\n s0 := t\n\n //ROUND 28 - PARTIAL\n s0 := add(s0, C56)\n s1 := add(s1, C57)\n // SBOX\n t := mulmod(s0, s0, q)\n s0 := mulmod(mulmod(t, t, q), s0, q)\n // MIX\n t := add(mulmod(s0, M00, q), mulmod(s1, M01, q))\n s1 := add(mulmod(s0, M10, q), mulmod(s1, M11, q))\n s0 := t\n\n //ROUND 29 - PARTIAL\n s0 := add(s0, C58)\n s1 := add(s1, C59)\n // SBOX\n t := mulmod(s0, s0, q)\n s0 := mulmod(mulmod(t, t, q), s0, q)\n // MIX\n t := add(mulmod(s0, M00, q), mulmod(s1, M01, q))\n s1 := add(mulmod(s0, M10, q), mulmod(s1, M11, q))\n s0 := t\n\n //ROUND 30 - PARTIAL\n s0 := add(s0, C60)\n s1 := add(s1, C61)\n // SBOX\n t := mulmod(s0, s0, q)\n s0 := mulmod(mulmod(t, t, q), s0, q)\n // MIX\n t := add(mulmod(s0, M00, q), mulmod(s1, M01, q))\n s1 := add(mulmod(s0, M10, q), mulmod(s1, M11, q))\n s0 := t\n\n //ROUND 31 - PARTIAL\n s0 := add(s0, C62)\n s1 := add(s1, C63)\n // SBOX\n t := mulmod(s0, s0, q)\n s0 := mulmod(mulmod(t, t, q), s0, q)\n // MIX\n t := add(mulmod(s0, M00, q), mulmod(s1, M01, q))\n s1 := add(mulmod(s0, M10, q), mulmod(s1, M11, q))\n s0 := t\n\n //ROUND 32 - PARTIAL\n s0 := add(s0, C64)\n s1 := add(s1, C65)\n // SBOX\n t := mulmod(s0, s0, q)\n s0 := mulmod(mulmod(t, t, q), s0, q)\n // MIX\n t := add(mulmod(s0, M00, q), mulmod(s1, M01, q))\n s1 := add(mulmod(s0, M10, q), mulmod(s1, M11, q))\n s0 := t\n\n //ROUND 33 - PARTIAL\n s0 := add(s0, C66)\n s1 := add(s1, C67)\n // SBOX\n t := mulmod(s0, s0, q)\n s0 := mulmod(mulmod(t, t, q), s0, q)\n // MIX\n t := add(mulmod(s0, M00, q), mulmod(s1, M01, q))\n s1 := add(mulmod(s0, M10, q), mulmod(s1, M11, q))\n s0 := t\n\n //ROUND 34 - PARTIAL\n s0 := add(s0, C68)\n s1 := add(s1, C69)\n // SBOX\n t := mulmod(s0, s0, q)\n s0 := mulmod(mulmod(t, t, q), s0, q)\n // MIX\n t := add(mulmod(s0, M00, q), mulmod(s1, M01, q))\n s1 := add(mulmod(s0, M10, q), mulmod(s1, M11, q))\n s0 := t\n\n //ROUND 35 - PARTIAL\n s0 := add(s0, C70)\n s1 := add(s1, C71)\n // SBOX\n t := mulmod(s0, s0, q)\n s0 := mulmod(mulmod(t, t, q), s0, q)\n // MIX\n t := add(mulmod(s0, M00, q), mulmod(s1, M01, q))\n s1 := add(mulmod(s0, M10, q), mulmod(s1, M11, q))\n s0 := t\n\n //ROUND 36 - PARTIAL\n s0 := add(s0, C72)\n s1 := add(s1, C73)\n // SBOX\n t := mulmod(s0, s0, q)\n s0 := mulmod(mulmod(t, t, q), s0, q)\n // MIX\n t := add(mulmod(s0, M00, q), mulmod(s1, M01, q))\n s1 := add(mulmod(s0, M10, q), mulmod(s1, M11, q))\n s0 := t\n\n //ROUND 37 - PARTIAL\n s0 := add(s0, C74)\n s1 := add(s1, C75)\n // SBOX\n t := mulmod(s0, s0, q)\n s0 := mulmod(mulmod(t, t, q), s0, q)\n // MIX\n t := add(mulmod(s0, M00, q), mulmod(s1, M01, q))\n s1 := add(mulmod(s0, M10, q), mulmod(s1, M11, q))\n s0 := t\n\n //ROUND 38 - PARTIAL\n s0 := add(s0, C76)\n s1 := add(s1, C77)\n // SBOX\n t := mulmod(s0, s0, q)\n s0 := mulmod(mulmod(t, t, q), s0, q)\n // MIX\n t := add(mulmod(s0, M00, q), mulmod(s1, M01, q))\n s1 := add(mulmod(s0, M10, q), mulmod(s1, M11, q))\n s0 := t\n\n //ROUND 39 - PARTIAL\n s0 := add(s0, C78)\n s1 := add(s1, C79)\n // SBOX\n t := mulmod(s0, s0, q)\n s0 := mulmod(mulmod(t, t, q), s0, q)\n // MIX\n t := add(mulmod(s0, M00, q), mulmod(s1, M01, q))\n s1 := add(mulmod(s0, M10, q), mulmod(s1, M11, q))\n s0 := t\n\n //ROUND 40 - PARTIAL\n s0 := add(s0, C80)\n s1 := add(s1, C81)\n // SBOX\n t := mulmod(s0, s0, q)\n s0 := mulmod(mulmod(t, t, q), s0, q)\n // MIX\n t := add(mulmod(s0, M00, q), mulmod(s1, M01, q))\n s1 := add(mulmod(s0, M10, q), mulmod(s1, M11, q))\n s0 := t\n\n //ROUND 41 - PARTIAL\n s0 := add(s0, C82)\n s1 := add(s1, C83)\n // SBOX\n t := mulmod(s0, s0, q)\n s0 := mulmod(mulmod(t, t, q), s0, q)\n // MIX\n t := add(mulmod(s0, M00, q), mulmod(s1, M01, q))\n s1 := add(mulmod(s0, M10, q), mulmod(s1, M11, q))\n s0 := t\n\n //ROUND 42 - PARTIAL\n s0 := add(s0, C84)\n s1 := add(s1, C85)\n // SBOX\n t := mulmod(s0, s0, q)\n s0 := mulmod(mulmod(t, t, q), s0, q)\n // MIX\n t := add(mulmod(s0, M00, q), mulmod(s1, M01, q))\n s1 := add(mulmod(s0, M10, q), mulmod(s1, M11, q))\n s0 := t\n\n //ROUND 43 - PARTIAL\n s0 := add(s0, C86)\n s1 := add(s1, C87)\n // SBOX\n t := mulmod(s0, s0, q)\n s0 := mulmod(mulmod(t, t, q), s0, q)\n // MIX\n t := add(mulmod(s0, M00, q), mulmod(s1, M01, q))\n s1 := add(mulmod(s0, M10, q), mulmod(s1, M11, q))\n s0 := t\n\n //ROUND 44 - PARTIAL\n s0 := add(s0, C88)\n s1 := add(s1, C89)\n // SBOX\n t := mulmod(s0, s0, q)\n s0 := mulmod(mulmod(t, t, q), s0, q)\n // MIX\n t := add(mulmod(s0, M00, q), mulmod(s1, M01, q))\n s1 := add(mulmod(s0, M10, q), mulmod(s1, M11, q))\n s0 := t\n\n //ROUND 45 - PARTIAL\n s0 := add(s0, C90)\n s1 := add(s1, C91)\n // SBOX\n t := mulmod(s0, s0, q)\n s0 := mulmod(mulmod(t, t, q), s0, q)\n // MIX\n t := add(mulmod(s0, M00, q), mulmod(s1, M01, q))\n s1 := add(mulmod(s0, M10, q), mulmod(s1, M11, q))\n s0 := t\n\n //ROUND 46 - PARTIAL\n s0 := add(s0, C92)\n s1 := add(s1, C93)\n // SBOX\n t := mulmod(s0, s0, q)\n s0 := mulmod(mulmod(t, t, q), s0, q)\n // MIX\n t := add(mulmod(s0, M00, q), mulmod(s1, M01, q))\n s1 := add(mulmod(s0, M10, q), mulmod(s1, M11, q))\n s0 := t\n\n //ROUND 47 - PARTIAL\n s0 := add(s0, C94)\n s1 := add(s1, C95)\n // SBOX\n t := mulmod(s0, s0, q)\n s0 := mulmod(mulmod(t, t, q), s0, q)\n // MIX\n t := add(mulmod(s0, M00, q), mulmod(s1, M01, q))\n s1 := add(mulmod(s0, M10, q), mulmod(s1, M11, q))\n s0 := t\n\n //ROUND 48 - PARTIAL\n s0 := add(s0, C96)\n s1 := add(s1, C97)\n // SBOX\n t := mulmod(s0, s0, q)\n s0 := mulmod(mulmod(t, t, q), s0, q)\n // MIX\n t := add(mulmod(s0, M00, q), mulmod(s1, M01, q))\n s1 := add(mulmod(s0, M10, q), mulmod(s1, M11, q))\n s0 := t\n\n //ROUND 49 - PARTIAL\n s0 := add(s0, C98)\n s1 := add(s1, C99)\n // SBOX\n t := mulmod(s0, s0, q)\n s0 := mulmod(mulmod(t, t, q), s0, q)\n // MIX\n t := add(mulmod(s0, M00, q), mulmod(s1, M01, q))\n s1 := add(mulmod(s0, M10, q), mulmod(s1, M11, q))\n s0 := t\n\n //ROUND 50 - PARTIAL\n s0 := add(s0, C100)\n s1 := add(s1, C101)\n // SBOX\n t := mulmod(s0, s0, q)\n s0 := mulmod(mulmod(t, t, q), s0, q)\n // MIX\n t := add(mulmod(s0, M00, q), mulmod(s1, M01, q))\n s1 := add(mulmod(s0, M10, q), mulmod(s1, M11, q))\n s0 := t\n\n //ROUND 51 - PARTIAL\n s0 := add(s0, C102)\n s1 := add(s1, C103)\n // SBOX\n t := mulmod(s0, s0, q)\n s0 := mulmod(mulmod(t, t, q), s0, q)\n // MIX\n t := add(mulmod(s0, M00, q), mulmod(s1, M01, q))\n s1 := add(mulmod(s0, M10, q), mulmod(s1, M11, q))\n s0 := t\n\n //ROUND 52 - PARTIAL\n s0 := add(s0, C104)\n s1 := add(s1, C105)\n // SBOX\n t := mulmod(s0, s0, q)\n s0 := mulmod(mulmod(t, t, q), s0, q)\n // MIX\n t := add(mulmod(s0, M00, q), mulmod(s1, M01, q))\n s1 := add(mulmod(s0, M10, q), mulmod(s1, M11, q))\n s0 := t\n\n //ROUND 53 - PARTIAL\n s0 := add(s0, C106)\n s1 := add(s1, C107)\n // SBOX\n t := mulmod(s0, s0, q)\n s0 := mulmod(mulmod(t, t, q), s0, q)\n // MIX\n t := add(mulmod(s0, M00, q), mulmod(s1, M01, q))\n s1 := add(mulmod(s0, M10, q), mulmod(s1, M11, q))\n s0 := t\n\n //ROUND 54 - PARTIAL\n s0 := add(s0, C108)\n s1 := add(s1, C109)\n // SBOX\n t := mulmod(s0, s0, q)\n s0 := mulmod(mulmod(t, t, q), s0, q)\n // MIX\n t := add(mulmod(s0, M00, q), mulmod(s1, M01, q))\n s1 := add(mulmod(s0, M10, q), mulmod(s1, M11, q))\n s0 := t\n\n //ROUND 55 - PARTIAL\n s0 := add(s0, C110)\n s1 := add(s1, C111)\n // SBOX\n t := mulmod(s0, s0, q)\n s0 := mulmod(mulmod(t, t, q), s0, q)\n // MIX\n t := add(mulmod(s0, M00, q), mulmod(s1, M01, q))\n s1 := add(mulmod(s0, M10, q), mulmod(s1, M11, q))\n s0 := t\n\n //ROUND 56 - PARTIAL\n s0 := add(s0, C112)\n s1 := add(s1, C113)\n // SBOX\n t := mulmod(s0, s0, q)\n s0 := mulmod(mulmod(t, t, q), s0, q)\n // MIX\n t := add(mulmod(s0, M00, q), mulmod(s1, M01, q))\n s1 := add(mulmod(s0, M10, q), mulmod(s1, M11, q))\n s0 := t\n\n //ROUND 57 - PARTIAL\n s0 := add(s0, C114)\n s1 := add(s1, C115)\n // SBOX\n t := mulmod(s0, s0, q)\n s0 := mulmod(mulmod(t, t, q), s0, q)\n // MIX\n t := add(mulmod(s0, M00, q), mulmod(s1, M01, q))\n s1 := add(mulmod(s0, M10, q), mulmod(s1, M11, q))\n s0 := t\n\n //ROUND 58 - PARTIAL\n s0 := add(s0, C116)\n s1 := add(s1, C117)\n // SBOX\n t := mulmod(s0, s0, q)\n s0 := mulmod(mulmod(t, t, q), s0, q)\n // MIX\n t := add(mulmod(s0, M00, q), mulmod(s1, M01, q))\n s1 := add(mulmod(s0, M10, q), mulmod(s1, M11, q))\n s0 := t\n\n //ROUND 59 - PARTIAL\n s0 := add(s0, C118)\n s1 := add(s1, C119)\n // SBOX\n t := mulmod(s0, s0, q)\n s0 := mulmod(mulmod(t, t, q), s0, q)\n // MIX\n t := add(mulmod(s0, M00, q), mulmod(s1, M01, q))\n s1 := add(mulmod(s0, M10, q), mulmod(s1, M11, q))\n s0 := t\n\n //ROUND 60 - FULL\n s0 := add(s0, C120)\n s1 := add(s1, C121)\n // SBOX\n t := mulmod(s0, s0, q)\n s0 := mulmod(mulmod(t, t, q), s0, q)\n t := mulmod(s1, s1, q)\n s1 := mulmod(mulmod(t, t, q), s1, q)\n // MIX\n t := add(mulmod(s0, M00, q), mulmod(s1, M01, q))\n s1 := add(mulmod(s0, M10, q), mulmod(s1, M11, q))\n s0 := t\n\n //ROUND 61 - FULL\n s0 := add(s0, C122)\n s1 := add(s1, C123)\n // SBOX\n t := mulmod(s0, s0, q)\n s0 := mulmod(mulmod(t, t, q), s0, q)\n t := mulmod(s1, s1, q)\n s1 := mulmod(mulmod(t, t, q), s1, q)\n // MIX\n t := add(mulmod(s0, M00, q), mulmod(s1, M01, q))\n s1 := add(mulmod(s0, M10, q), mulmod(s1, M11, q))\n s0 := t\n\n //ROUND 62 - FULL\n s0 := add(s0, C124)\n s1 := add(s1, C125)\n // SBOX\n t := mulmod(s0, s0, q)\n s0 := mulmod(mulmod(t, t, q), s0, q)\n t := mulmod(s1, s1, q)\n s1 := mulmod(mulmod(t, t, q), s1, q)\n // MIX\n t := add(mulmod(s0, M00, q), mulmod(s1, M01, q))\n s1 := add(mulmod(s0, M10, q), mulmod(s1, M11, q))\n s0 := t\n\n //ROUND 63 - FULL\n s0 := add(s0, C126)\n s1 := add(s1, C127)\n // SBOX\n t := mulmod(s0, s0, q)\n s0 := mulmod(mulmod(t, t, q), s0, q)\n t := mulmod(s1, s1, q)\n s1 := mulmod(mulmod(t, t, q), s1, q)\n // MIX\n s0 := mod(add(mulmod(s0, M00, q), mulmod(s1, M01, q)), q)\n\n result := s0\n }\n }\n}\n" + }, + "contracts/Rln.sol": { + "content": "// SPDX-License-Identifier: MIT\n\npragma solidity 0.8.15;\n\nimport {IPoseidonHasher} from \"./PoseidonHasher.sol\";\n\ncontract RLN {\n /// @notice The deposit amount required to register as a member\n uint256 public immutable MEMBERSHIP_DEPOSIT;\n\n /// @notice The depth of the merkle tree\n uint256 public immutable DEPTH;\n\n /// @notice The size of the merkle tree, i.e 2^depth\n uint256 public immutable SET_SIZE;\n\n /// @notice The index of the next member to be registered\n uint256 public idCommitmentIndex;\n\n /// @notice The amount of eth staked by each member\n mapping(uint256 => uint256) public stakedAmounts;\n\n /// @notice The membership status of each member\n mapping(uint256 => bool) public members;\n\n /// @notice The Poseidon hasher contract\n IPoseidonHasher public poseidonHasher;\n\n /// Emitted when a new member is added to the set\n /// @param idCommitment The idCommitment of the member\n /// @param index The index of the member in the set\n event MemberRegistered(uint256 idCommitment, uint256 index);\n\n /// Emitted when a member is removed from the set\n /// @param idCommitment The idCommitment of the member\n event MemberWithdrawn(uint256 idCommitment);\n\n constructor(\n uint256 membershipDeposit,\n uint256 depth,\n address _poseidonHasher\n ) {\n MEMBERSHIP_DEPOSIT = membershipDeposit;\n DEPTH = depth;\n SET_SIZE = 1 << depth;\n poseidonHasher = IPoseidonHasher(_poseidonHasher);\n }\n\n /// Allows a user to register as a member\n /// @param idCommitment The idCommitment of the member\n function register(uint256 idCommitment) external payable {\n require(\n msg.value == MEMBERSHIP_DEPOSIT,\n \"RLN, register: membership deposit is not satisfied\"\n );\n _register(idCommitment, msg.value);\n }\n\n /// Allows batch registration of members\n /// @param idCommitments array of idCommitments\n function registerBatch(uint256[] calldata idCommitments) external payable {\n uint256 idCommitmentlen = idCommitments.length;\n require(idCommitmentlen > 0, \"RLN, registerBatch: batch size zero\");\n require(\n idCommitmentIndex + idCommitmentlen <= SET_SIZE,\n \"RLN, registerBatch: set is full\"\n );\n require(\n msg.value == MEMBERSHIP_DEPOSIT * idCommitmentlen,\n \"RLN, registerBatch: membership deposit is not satisfied\"\n );\n for (uint256 i = 0; i < idCommitmentlen; i++) {\n _register(idCommitments[i], msg.value / idCommitmentlen);\n }\n }\n\n /// Registers a member\n /// @param idCommitment The idCommitment of the member\n /// @param stake The amount of eth staked by the member\n function _register(uint256 idCommitment, uint256 stake) internal {\n require(\n !members[idCommitment],\n \"RLN, _register: member already registered\"\n );\n require(idCommitmentIndex < SET_SIZE, \"RLN, register: set is full\");\n\n members[idCommitment] = true;\n stakedAmounts[idCommitment] = stake;\n\n emit MemberRegistered(idCommitment, idCommitmentIndex);\n idCommitmentIndex += 1;\n }\n\n /// Allows a user to slash a batch of members\n /// @param secrets array of idSecretHashes\n /// @param receivers array of addresses to receive the funds\n function withdrawBatch(\n uint256[] calldata secrets,\n address payable[] calldata receivers\n ) external {\n uint256 batchSize = secrets.length;\n require(batchSize != 0, \"RLN, withdrawBatch: batch size zero\");\n require(\n batchSize == receivers.length,\n \"RLN, withdrawBatch: batch size mismatch receivers\"\n );\n for (uint256 i = 0; i < batchSize; i++) {\n _withdraw(secrets[i], receivers[i]);\n }\n }\n\n /// Allows a user to slash a member\n /// @param secret The idSecretHash of the member\n function withdraw(uint256 secret, address payable receiver) external {\n _withdraw(secret, receiver);\n }\n\n /// Slashes a member by removing them from the set, and transferring their\n /// stake to the receiver\n /// @param secret The idSecretHash of the member\n /// @param receiver The address to receive the funds\n function _withdraw(uint256 secret, address payable receiver) internal {\n require(\n receiver != address(0),\n \"RLN, _withdraw: empty receiver address\"\n );\n\n require(\n receiver != address(this),\n \"RLN, _withdraw: cannot withdraw to RLN\"\n );\n\n // derive idCommitment\n uint256 idCommitment = hash(secret);\n // check if member is registered\n require(members[idCommitment], \"RLN, _withdraw: member not registered\");\n\n // check if member has stake\n require(\n stakedAmounts[idCommitment] != 0,\n \"RLN, _withdraw: member has no stake\"\n );\n\n uint256 amountToTransfer = stakedAmounts[idCommitment];\n\n // delete member\n members[idCommitment] = false;\n stakedAmounts[idCommitment] = 0;\n\n // refund deposit\n receiver.transfer(amountToTransfer);\n\n emit MemberWithdrawn(idCommitment);\n }\n\n /// Hashes a value using the Poseidon hasher\n /// NOTE: The variant of Poseidon we use accepts only 1 input, assume n=2, and the second input is 0\n /// @param input The value to hash\n function hash(uint256 input) internal view returns (uint256) {\n return poseidonHasher.hash(input);\n }\n}\n" + } + }, + "settings": { + "optimizer": { + "enabled": false, + "runs": 200 + }, + "outputSelection": { + "*": { + "*": [ + "abi", + "evm.bytecode", + "evm.deployedBytecode", + "evm.methodIdentifiers", + "metadata", + "devdoc", + "userdoc", + "storageLayout", + "evm.gasEstimates" + ], + "": ["ast"] + } + }, + "metadata": { + "useLiteralContent": true + }, + "remappings": [ + "ds-test/=lib/forge-std/lib/ds-test/src/", + "forge-std/=lib/forge-std/src/" + ] + } +}