From 762936805bd34ad22894937133ef77ee6be6d4a0 Mon Sep 17 00:00:00 2001
From: erhant
+
+ An NFT with Huff, using polynomials over a finite field of the largest 20-byte prime, instead of mappings.
+
+
+ huffd1
+
GEssM;mAKWc2z~L ze{4{N%WDbr-0P}l6{c2>XEPq@TnYWnWsFrc=Fbyg*F4W{q`l26#Sgd3I?pW(zCv-3 z39goyS>C1BuAdsMRUEqKg^jUw^Ew<}Yc7_S*v4oMMTSlK;+WHd9|pRRKQ1}k8L*sn z)oqk*&!H8;%lZ6!JRO>g+lar$F0t_H!6$WGcjok3ax_|hOjrEbG_Ikj?)rh)u!5ZX zv>(8)q#suOrjKW=)^ELuvDQ@D3>oD0osmU3uMX-s?y@!8`e)v{32lTW5YJ6aHueC4 z(FCUnnrDrv6F51}K2K%#CtP)pE&l8zezQP}k=r8ljSP88*gMRR{V&%zNK~ zl0KhtqmCSS)6Lp18Il8EO{W~YH0HSJMTsBOu*NvH5NikK_!DKZJ4aoYht~x$1{72G zqYt&l 2fq|z2$qaP)n3brt|_8MGyF%afxm6zy(LMERQb&b3>C_0{f zMrJ#B)9v^kueVlrwCphQu1@*i7gn6)evSRbRoiosH&b2Lc8bR`CHlJCVWxqms(#e0 z?>$)q-c=bs@r-u(+3yo1D(ABV4eGj&bE~q*YL)Bl1#rn5gWg9#-(@5^`=uh;pkI*> zLBHRwC=Uoqful+PBTlx~^}c`KX26g!n$oL;a#?e6a9Lf~dP)SC2<2XnE`4(Ps^@x4 zePCjshoKeOD7+FKfLNrx8K?RDFBYcMui-bosfEZxBv;nhwbf;JdlrI8l%96Bq_w67 zUlj &Gg6bV{=6QgYvi)Qx5_X^7bWu{Bz}oI zNFR#QR_zgg8#si6NTzESfNGC8RLL7#h<8vazdN&8&HD57qhSH#A76!6-{vZH*!Ui1 zN18mVKwsjbyG(2Fe<&yN&3W1pW`PLquyei;IgVTk<-(C~^7 $k>h)Y!4ANOalh z2)r(i;ZkiFV@6=VMHp`1cTUj2=C#nQsC(b3;7a@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vrdaEo6h}anC--4dZ zJ>)|N>*iBXR=OUs{e!kIxSmTb=I1!lCRTpiIGi8op%{SHZ=S-QUo `Hgp zH(qwP`M-_vbc+iT^4VKEFGy!vQ7tcJr=}d!4 Hofb~Xqo?4(U z;Bj&M^0}Vj|DLe^f98;RQ=Z3{gwI_0|LhTnUcGun?JlX~Zf@dk!Efej0sMKz!N$SC z%*Mma{z-#_lb?-)pPh@5jg6m;?Wy!C`~Ne*!O7gl(&ztwK>ULO4KU!9tfZ1et(bA> F{{xequ;>5) diff --git a/script/Deploy.s.sol b/script/Deploy.s.sol deleted file mode 100644 index 1b204c8..0000000 --- a/script/Deploy.s.sol +++ /dev/null @@ -1,16 +0,0 @@ -// SPDX-License-Identifier: Unlicense -pragma solidity ^0.8.15; - -import "foundry-huff/HuffDeployer.sol"; -import "forge-std/Script.sol"; - -interface SimpleStore { - function setValue(uint256) external; - function getValue() external returns (uint256); -} - -contract Deploy is Script { - function run() public returns (SimpleStore simpleStore) { - simpleStore = SimpleStore(HuffDeployer.deploy("SimpleStore")); - } -}