@bannynet/core-v6 0.0.1 → 0.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (35) hide show
  1. package/foundry.lock +14 -0
  2. package/foundry.toml +2 -1
  3. package/package.json +7 -26
  4. package/script/Add.Denver.s.sol +9 -6
  5. package/script/Deploy.s.sol +65 -62
  6. package/script/Drop1.s.sol +150 -56
  7. package/script/helpers/BannyverseDeploymentLib.sol +2 -2
  8. package/script/helpers/MigrationHelper.sol +3 -3
  9. package/script/outfit_drop/generate-migration.js +6 -6
  10. package/src/Banny721TokenUriResolver.sol +90 -47
  11. package/src/interfaces/IBanny721TokenUriResolver.sol +14 -3
  12. package/test/Banny721TokenUriResolver.t.sol +42 -21
  13. package/test/BannyAttacks.t.sol +6 -5
  14. package/test/DecorateFlow.t.sol +6 -5
  15. package/script/1.Fix.s.sol +0 -290
  16. package/script/AirdropOutfits.s.sol +0 -2302
  17. package/script/MigrationContractArbitrum.sol +0 -494
  18. package/script/MigrationContractArbitrum1.sol +0 -170
  19. package/script/MigrationContractArbitrum2.sol +0 -204
  20. package/script/MigrationContractArbitrum3.sol +0 -174
  21. package/script/MigrationContractArbitrum4.sol +0 -478
  22. package/script/MigrationContractBase1.sol +0 -444
  23. package/script/MigrationContractBase2.sol +0 -175
  24. package/script/MigrationContractBase3.sol +0 -309
  25. package/script/MigrationContractBase4.sol +0 -350
  26. package/script/MigrationContractBase5.sol +0 -259
  27. package/script/MigrationContractEthereum1.sol +0 -468
  28. package/script/MigrationContractEthereum2.sol +0 -306
  29. package/script/MigrationContractEthereum3.sol +0 -349
  30. package/script/MigrationContractEthereum4.sol +0 -352
  31. package/script/MigrationContractEthereum5.sol +0 -354
  32. package/script/MigrationContractEthereum6.sol +0 -270
  33. package/script/MigrationContractEthereum7.sol +0 -439
  34. package/script/MigrationContractEthereum8.sol +0 -385
  35. package/script/MigrationContractOptimism.sol +0 -196
@@ -1,11 +1,12 @@
1
1
  // SPDX-License-Identifier: MIT
2
- pragma solidity 0.8.23;
2
+ pragma solidity 0.8.26;
3
3
 
4
- import {JB721TierConfig} from "@bananapus/721-hook-v5/src/structs/JB721TierConfig.sol";
5
- import {JB721TiersHook} from "@bananapus/721-hook-v5/src/JB721TiersHook.sol";
4
+ import {JB721TierConfig} from "@bananapus/721-hook-v6/src/structs/JB721TierConfig.sol";
5
+ import {JBSplit} from "@bananapus/core-v6/src/structs/JBSplit.sol";
6
+ import {JB721TiersHook} from "@bananapus/721-hook-v6/src/JB721TiersHook.sol";
6
7
 
7
8
  import "./helpers/BannyverseDeploymentLib.sol";
8
- import "@rev-net/core-v5/script/helpers/RevnetCoreDeploymentLib.sol";
9
+ import "@rev-net/core-v6/script/helpers/RevnetCoreDeploymentLib.sol";
9
10
  import "@openzeppelin/contracts/utils/Strings.sol";
10
11
 
11
12
  import {Sphinx} from "@sphinx-labs/contracts/SphinxPlugin.sol";
@@ -22,7 +23,7 @@ contract Drop1Script is Script, Sphinx {
22
23
 
23
24
  function configureSphinx() public override {
24
25
  // TODO: Update to contain revnet devs.
25
- sphinxConfig.projectName = "banny-core-v5";
26
+ sphinxConfig.projectName = "banny-core-v6";
26
27
  sphinxConfig.mainnets = ["ethereum", "optimism", "base", "arbitrum"];
27
28
  sphinxConfig.testnets = ["ethereum_sepolia", "optimism_sepolia", "base_sepolia", "arbitrum_sepolia"];
28
29
  }
@@ -32,7 +33,7 @@ contract Drop1Script is Script, Sphinx {
32
33
 
33
34
  // Get the deployment addresses for the revnet contracts for this chain.
34
35
  revnet = RevnetCoreDeploymentLib.getDeployment(
35
- vm.envOr("REVNET_CORE_DEPLOYMENT_PATH", string("node_modules/@rev-net/core-v5/deployments/"))
36
+ vm.envOr("REVNET_CORE_DEPLOYMENT_PATH", string("node_modules/@rev-net/core-v6/deployments/"))
36
37
  );
37
38
 
38
39
  // Get the deployment addresses for the 721 hook contracts for this chain.
@@ -68,7 +69,9 @@ contract Drop1Script is Script, Sphinx {
68
69
  useReserveBeneficiaryAsDefault: false,
69
70
  transfersPausable: false,
70
71
  useVotingUnits: false,
71
- cannotBeRemoved: false
72
+ cannotBeRemoved: false,
73
+ splitPercent: 0,
74
+ splits: new JBSplit[](0)
72
75
  });
73
76
  // Hay field
74
77
  names[1] = "Hay Field";
@@ -87,7 +90,9 @@ contract Drop1Script is Script, Sphinx {
87
90
  useReserveBeneficiaryAsDefault: false,
88
91
  transfersPausable: false,
89
92
  useVotingUnits: false,
90
- cannotBeRemoved: false
93
+ cannotBeRemoved: false,
94
+ splitPercent: 0,
95
+ splits: new JBSplit[](0)
91
96
  });
92
97
  // Pew pew
93
98
  names[2] = "Pew Pew";
@@ -106,7 +111,9 @@ contract Drop1Script is Script, Sphinx {
106
111
  useReserveBeneficiaryAsDefault: false,
107
112
  transfersPausable: false,
108
113
  useVotingUnits: false,
109
- cannotBeRemoved: false
114
+ cannotBeRemoved: false,
115
+ splitPercent: 0,
116
+ splits: new JBSplit[](0)
110
117
  });
111
118
  // Bandolph staff
112
119
  names[3] = "Bandolph Staff";
@@ -125,7 +132,9 @@ contract Drop1Script is Script, Sphinx {
125
132
  useReserveBeneficiaryAsDefault: false,
126
133
  transfersPausable: false,
127
134
  useVotingUnits: false,
128
- cannotBeRemoved: false
135
+ cannotBeRemoved: false,
136
+ splitPercent: 0,
137
+ splits: new JBSplit[](0)
129
138
  });
130
139
  // Block chain
131
140
  names[4] = "Block Chain";
@@ -144,7 +153,9 @@ contract Drop1Script is Script, Sphinx {
144
153
  useReserveBeneficiaryAsDefault: false,
145
154
  transfersPausable: false,
146
155
  useVotingUnits: false,
147
- cannotBeRemoved: false
156
+ cannotBeRemoved: false,
157
+ splitPercent: 0,
158
+ splits: new JBSplit[](0)
148
159
  });
149
160
  // Astronaut Head
150
161
  names[5] = "Astronaut Head";
@@ -163,7 +174,9 @@ contract Drop1Script is Script, Sphinx {
163
174
  useReserveBeneficiaryAsDefault: false,
164
175
  transfersPausable: false,
165
176
  useVotingUnits: false,
166
- cannotBeRemoved: false
177
+ cannotBeRemoved: false,
178
+ splitPercent: 0,
179
+ splits: new JBSplit[](0)
167
180
  });
168
181
  // Nerd
169
182
  names[6] = "Nerd Glasses";
@@ -182,7 +195,9 @@ contract Drop1Script is Script, Sphinx {
182
195
  useReserveBeneficiaryAsDefault: false,
183
196
  transfersPausable: false,
184
197
  useVotingUnits: false,
185
- cannotBeRemoved: false
198
+ cannotBeRemoved: false,
199
+ splitPercent: 0,
200
+ splits: new JBSplit[](0)
186
201
  });
187
202
  // Banny vision pro
188
203
  names[7] = "Banny Vision Pro";
@@ -201,7 +216,9 @@ contract Drop1Script is Script, Sphinx {
201
216
  useReserveBeneficiaryAsDefault: true,
202
217
  transfersPausable: false,
203
218
  useVotingUnits: false,
204
- cannotBeRemoved: false
219
+ cannotBeRemoved: false,
220
+ splitPercent: 0,
221
+ splits: new JBSplit[](0)
205
222
  });
206
223
  // Cyberpunk glasses
207
224
  names[8] = "Cyberpunk Glasses";
@@ -220,7 +237,9 @@ contract Drop1Script is Script, Sphinx {
220
237
  useReserveBeneficiaryAsDefault: false,
221
238
  transfersPausable: false,
222
239
  useVotingUnits: false,
223
- cannotBeRemoved: false
240
+ cannotBeRemoved: false,
241
+ splitPercent: 0,
242
+ splits: new JBSplit[](0)
224
243
  });
225
244
  // Investor shades
226
245
  names[9] = "Investor Shades";
@@ -239,7 +258,9 @@ contract Drop1Script is Script, Sphinx {
239
258
  useReserveBeneficiaryAsDefault: false,
240
259
  transfersPausable: false,
241
260
  useVotingUnits: false,
242
- cannotBeRemoved: false
261
+ cannotBeRemoved: false,
262
+ splitPercent: 0,
263
+ splits: new JBSplit[](0)
243
264
  });
244
265
  // Proff glasses
245
266
  names[10] = "Proff Glasses";
@@ -258,7 +279,9 @@ contract Drop1Script is Script, Sphinx {
258
279
  useReserveBeneficiaryAsDefault: false,
259
280
  transfersPausable: false,
260
281
  useVotingUnits: false,
261
- cannotBeRemoved: false
282
+ cannotBeRemoved: false,
283
+ splitPercent: 0,
284
+ splits: new JBSplit[](0)
262
285
  });
263
286
  // Gap tooth
264
287
  names[11] = "Gap Teeth";
@@ -277,7 +300,9 @@ contract Drop1Script is Script, Sphinx {
277
300
  useReserveBeneficiaryAsDefault: false,
278
301
  transfersPausable: false,
279
302
  useVotingUnits: false,
280
- cannotBeRemoved: false
303
+ cannotBeRemoved: false,
304
+ splitPercent: 0,
305
+ splits: new JBSplit[](0)
281
306
  });
282
307
  // Dorthy shoes
283
308
  names[12] = "Dorthy Shoes";
@@ -296,7 +321,9 @@ contract Drop1Script is Script, Sphinx {
296
321
  useReserveBeneficiaryAsDefault: false,
297
322
  transfersPausable: false,
298
323
  useVotingUnits: false,
299
- cannotBeRemoved: false
324
+ cannotBeRemoved: false,
325
+ splitPercent: 0,
326
+ splits: new JBSplit[](0)
300
327
  });
301
328
  // Astronaut boots
302
329
  names[13] = "Astronaut Boots";
@@ -315,7 +342,9 @@ contract Drop1Script is Script, Sphinx {
315
342
  useReserveBeneficiaryAsDefault: false,
316
343
  transfersPausable: false,
317
344
  useVotingUnits: false,
318
- cannotBeRemoved: false
345
+ cannotBeRemoved: false,
346
+ splitPercent: 0,
347
+ splits: new JBSplit[](0)
319
348
  });
320
349
  // Flops
321
350
  names[14] = "Flops";
@@ -334,7 +363,9 @@ contract Drop1Script is Script, Sphinx {
334
363
  useReserveBeneficiaryAsDefault: false,
335
364
  transfersPausable: false,
336
365
  useVotingUnits: false,
337
- cannotBeRemoved: false
366
+ cannotBeRemoved: false,
367
+ splitPercent: 0,
368
+ splits: new JBSplit[](0)
338
369
  });
339
370
  // Astronaut Body
340
371
  names[15] = "Astronaut Suit";
@@ -353,7 +384,9 @@ contract Drop1Script is Script, Sphinx {
353
384
  useReserveBeneficiaryAsDefault: false,
354
385
  transfersPausable: false,
355
386
  useVotingUnits: false,
356
- cannotBeRemoved: false
387
+ cannotBeRemoved: false,
388
+ splitPercent: 0,
389
+ splits: new JBSplit[](0)
357
390
  });
358
391
  // Sweatsuit
359
392
  names[16] = "Sweatsuit";
@@ -372,7 +405,9 @@ contract Drop1Script is Script, Sphinx {
372
405
  useReserveBeneficiaryAsDefault: false,
373
406
  transfersPausable: false,
374
407
  useVotingUnits: false,
375
- cannotBeRemoved: false
408
+ cannotBeRemoved: false,
409
+ splitPercent: 0,
410
+ splits: new JBSplit[](0)
376
411
  });
377
412
  // Dorthy dress
378
413
  names[17] = "Dorthy Dress";
@@ -391,7 +426,9 @@ contract Drop1Script is Script, Sphinx {
391
426
  useReserveBeneficiaryAsDefault: false,
392
427
  transfersPausable: false,
393
428
  useVotingUnits: false,
394
- cannotBeRemoved: false
429
+ cannotBeRemoved: false,
430
+ splitPercent: 0,
431
+ splits: new JBSplit[](0)
395
432
  });
396
433
  // Geisha body
397
434
  names[18] = "Geisha Gown";
@@ -410,7 +447,9 @@ contract Drop1Script is Script, Sphinx {
410
447
  useReserveBeneficiaryAsDefault: false,
411
448
  transfersPausable: false,
412
449
  useVotingUnits: false,
413
- cannotBeRemoved: false
450
+ cannotBeRemoved: false,
451
+ splitPercent: 0,
452
+ splits: new JBSplit[](0)
414
453
  });
415
454
  // Baggies
416
455
  names[19] = "Baggies";
@@ -429,7 +468,9 @@ contract Drop1Script is Script, Sphinx {
429
468
  useReserveBeneficiaryAsDefault: false,
430
469
  transfersPausable: false,
431
470
  useVotingUnits: false,
432
- cannotBeRemoved: false
471
+ cannotBeRemoved: false,
472
+ splitPercent: 0,
473
+ splits: new JBSplit[](0)
433
474
  });
434
475
  // Jonny utah shirt
435
476
  names[20] = "Jonny Utah Shirt";
@@ -448,7 +489,9 @@ contract Drop1Script is Script, Sphinx {
448
489
  useReserveBeneficiaryAsDefault: false,
449
490
  transfersPausable: false,
450
491
  useVotingUnits: false,
451
- cannotBeRemoved: false
492
+ cannotBeRemoved: false,
493
+ splitPercent: 0,
494
+ splits: new JBSplit[](0)
452
495
  });
453
496
  // Doc coat
454
497
  names[21] = "Doc Coat";
@@ -467,7 +510,9 @@ contract Drop1Script is Script, Sphinx {
467
510
  useReserveBeneficiaryAsDefault: false,
468
511
  transfersPausable: false,
469
512
  useVotingUnits: false,
470
- cannotBeRemoved: false
513
+ cannotBeRemoved: false,
514
+ splitPercent: 0,
515
+ splits: new JBSplit[](0)
471
516
  });
472
517
  // Goat jersey
473
518
  names[22] = "Goat Jersey";
@@ -486,7 +531,9 @@ contract Drop1Script is Script, Sphinx {
486
531
  useReserveBeneficiaryAsDefault: false,
487
532
  transfersPausable: false,
488
533
  useVotingUnits: false,
489
- cannotBeRemoved: false
534
+ cannotBeRemoved: false,
535
+ splitPercent: 0,
536
+ splits: new JBSplit[](0)
490
537
  });
491
538
  // Irie tshirt
492
539
  names[23] = "Irie Shirt";
@@ -505,7 +552,9 @@ contract Drop1Script is Script, Sphinx {
505
552
  useReserveBeneficiaryAsDefault: false,
506
553
  transfersPausable: false,
507
554
  useVotingUnits: false,
508
- cannotBeRemoved: false
555
+ cannotBeRemoved: false,
556
+ splitPercent: 0,
557
+ splits: new JBSplit[](0)
509
558
  });
510
559
  // Punk jacket
511
560
  names[24] = "Punk Jacket";
@@ -524,7 +573,9 @@ contract Drop1Script is Script, Sphinx {
524
573
  useReserveBeneficiaryAsDefault: false,
525
574
  transfersPausable: false,
526
575
  useVotingUnits: false,
527
- cannotBeRemoved: false
576
+ cannotBeRemoved: false,
577
+ splitPercent: 0,
578
+ splits: new JBSplit[](0)
528
579
  });
529
580
  // Zipper jacket
530
581
  names[25] = "Zipper Jacket";
@@ -543,7 +594,9 @@ contract Drop1Script is Script, Sphinx {
543
594
  useReserveBeneficiaryAsDefault: false,
544
595
  transfersPausable: false,
545
596
  useVotingUnits: false,
546
- cannotBeRemoved: false
597
+ cannotBeRemoved: false,
598
+ splitPercent: 0,
599
+ splits: new JBSplit[](0)
547
600
  });
548
601
  // Zucco tshirt
549
602
  names[26] = "Zucco Tshirt";
@@ -562,7 +615,9 @@ contract Drop1Script is Script, Sphinx {
562
615
  useReserveBeneficiaryAsDefault: false,
563
616
  transfersPausable: false,
564
617
  useVotingUnits: false,
565
- cannotBeRemoved: false
618
+ cannotBeRemoved: false,
619
+ splitPercent: 0,
620
+ splits: new JBSplit[](0)
566
621
  });
567
622
  // Ice Cube
568
623
  names[27] = "Ice Cube";
@@ -581,7 +636,9 @@ contract Drop1Script is Script, Sphinx {
581
636
  useReserveBeneficiaryAsDefault: false,
582
637
  transfersPausable: false,
583
638
  useVotingUnits: false,
584
- cannotBeRemoved: false
639
+ cannotBeRemoved: false,
640
+ splitPercent: 0,
641
+ splits: new JBSplit[](0)
585
642
  });
586
643
  // Club beanie
587
644
  names[28] = "Club Beanie";
@@ -600,7 +657,9 @@ contract Drop1Script is Script, Sphinx {
600
657
  useReserveBeneficiaryAsDefault: false,
601
658
  transfersPausable: false,
602
659
  useVotingUnits: false,
603
- cannotBeRemoved: false
660
+ cannotBeRemoved: false,
661
+ splitPercent: 0,
662
+ splits: new JBSplit[](0)
604
663
  });
605
664
  // Dorthy hair
606
665
  names[29] = "Dorthy Hair";
@@ -619,7 +678,9 @@ contract Drop1Script is Script, Sphinx {
619
678
  useReserveBeneficiaryAsDefault: false,
620
679
  transfersPausable: false,
621
680
  useVotingUnits: false,
622
- cannotBeRemoved: false
681
+ cannotBeRemoved: false,
682
+ splitPercent: 0,
683
+ splits: new JBSplit[](0)
623
684
  });
624
685
  // Farmer hat
625
686
  names[30] = "Farmer Hat";
@@ -638,7 +699,9 @@ contract Drop1Script is Script, Sphinx {
638
699
  useReserveBeneficiaryAsDefault: false,
639
700
  transfersPausable: false,
640
701
  useVotingUnits: false,
641
- cannotBeRemoved: false
702
+ cannotBeRemoved: false,
703
+ splitPercent: 0,
704
+ splits: new JBSplit[](0)
642
705
  });
643
706
  // Geisha hair
644
707
  names[31] = "Geisha Hair";
@@ -657,7 +720,9 @@ contract Drop1Script is Script, Sphinx {
657
720
  useReserveBeneficiaryAsDefault: false,
658
721
  transfersPausable: false,
659
722
  useVotingUnits: false,
660
- cannotBeRemoved: false
723
+ cannotBeRemoved: false,
724
+ splitPercent: 0,
725
+ splits: new JBSplit[](0)
661
726
  });
662
727
  // Headphones
663
728
  names[32] = "Headphones";
@@ -676,7 +741,9 @@ contract Drop1Script is Script, Sphinx {
676
741
  useReserveBeneficiaryAsDefault: false,
677
742
  transfersPausable: false,
678
743
  useVotingUnits: false,
679
- cannotBeRemoved: false
744
+ cannotBeRemoved: false,
745
+ splitPercent: 0,
746
+ splits: new JBSplit[](0)
680
747
  });
681
748
  // Natty dread
682
749
  names[33] = "Natty Dred";
@@ -695,7 +762,9 @@ contract Drop1Script is Script, Sphinx {
695
762
  useReserveBeneficiaryAsDefault: false,
696
763
  transfersPausable: false,
697
764
  useVotingUnits: false,
698
- cannotBeRemoved: false
765
+ cannotBeRemoved: false,
766
+ splitPercent: 0,
767
+ splits: new JBSplit[](0)
699
768
  });
700
769
  // Peachhair
701
770
  names[34] = "Peach Hair";
@@ -714,7 +783,9 @@ contract Drop1Script is Script, Sphinx {
714
783
  useReserveBeneficiaryAsDefault: false,
715
784
  transfersPausable: false,
716
785
  useVotingUnits: false,
717
- cannotBeRemoved: false
786
+ cannotBeRemoved: false,
787
+ splitPercent: 0,
788
+ splits: new JBSplit[](0)
718
789
  });
719
790
  // Proff hair
720
791
  names[35] = "Proff Hair";
@@ -733,7 +804,9 @@ contract Drop1Script is Script, Sphinx {
733
804
  useReserveBeneficiaryAsDefault: false,
734
805
  transfersPausable: false,
735
806
  useVotingUnits: false,
736
- cannotBeRemoved: false
807
+ cannotBeRemoved: false,
808
+ splitPercent: 0,
809
+ splits: new JBSplit[](0)
737
810
  });
738
811
  // Catana
739
812
  names[36] = "Catana";
@@ -752,7 +825,9 @@ contract Drop1Script is Script, Sphinx {
752
825
  useReserveBeneficiaryAsDefault: false,
753
826
  transfersPausable: false,
754
827
  useVotingUnits: false,
755
- cannotBeRemoved: false
828
+ cannotBeRemoved: false,
829
+ splitPercent: 0,
830
+ splits: new JBSplit[](0)
756
831
  });
757
832
  // Chefs knife
758
833
  names[37] = "Chefs Knife";
@@ -771,7 +846,9 @@ contract Drop1Script is Script, Sphinx {
771
846
  useReserveBeneficiaryAsDefault: false,
772
847
  transfersPausable: false,
773
848
  useVotingUnits: false,
774
- cannotBeRemoved: false
849
+ cannotBeRemoved: false,
850
+ splitPercent: 0,
851
+ splits: new JBSplit[](0)
775
852
  });
776
853
  // Cheap beer
777
854
  names[38] = "Cheap Beer";
@@ -790,7 +867,9 @@ contract Drop1Script is Script, Sphinx {
790
867
  useReserveBeneficiaryAsDefault: false,
791
868
  transfersPausable: false,
792
869
  useVotingUnits: false,
793
- cannotBeRemoved: false
870
+ cannotBeRemoved: false,
871
+ splitPercent: 0,
872
+ splits: new JBSplit[](0)
794
873
  });
795
874
  // Constitution
796
875
  names[39] = "Constitution";
@@ -809,7 +888,9 @@ contract Drop1Script is Script, Sphinx {
809
888
  useReserveBeneficiaryAsDefault: false,
810
889
  transfersPausable: false,
811
890
  useVotingUnits: false,
812
- cannotBeRemoved: false
891
+ cannotBeRemoved: false,
892
+ splitPercent: 0,
893
+ splits: new JBSplit[](0)
813
894
  });
814
895
  // DJ booth
815
896
  names[40] = "DJ Deck";
@@ -828,7 +909,9 @@ contract Drop1Script is Script, Sphinx {
828
909
  useReserveBeneficiaryAsDefault: false,
829
910
  transfersPausable: false,
830
911
  useVotingUnits: false,
831
- cannotBeRemoved: false
912
+ cannotBeRemoved: false,
913
+ splitPercent: 0,
914
+ splits: new JBSplit[](0)
832
915
  });
833
916
  // Gas can
834
917
  names[41] = "Gas Can";
@@ -847,7 +930,9 @@ contract Drop1Script is Script, Sphinx {
847
930
  useReserveBeneficiaryAsDefault: false,
848
931
  transfersPausable: false,
849
932
  useVotingUnits: false,
850
- cannotBeRemoved: false
933
+ cannotBeRemoved: false,
934
+ splitPercent: 0,
935
+ splits: new JBSplit[](0)
851
936
  });
852
937
  // Lightsaber
853
938
  names[42] = "Lightsaber";
@@ -866,7 +951,9 @@ contract Drop1Script is Script, Sphinx {
866
951
  useReserveBeneficiaryAsDefault: false,
867
952
  transfersPausable: false,
868
953
  useVotingUnits: false,
869
- cannotBeRemoved: false
954
+ cannotBeRemoved: false,
955
+ splitPercent: 0,
956
+ splits: new JBSplit[](0)
870
957
  });
871
958
  // Potion
872
959
  names[43] = "Potion";
@@ -885,7 +972,9 @@ contract Drop1Script is Script, Sphinx {
885
972
  useReserveBeneficiaryAsDefault: false,
886
973
  transfersPausable: false,
887
974
  useVotingUnits: false,
888
- cannotBeRemoved: false
975
+ cannotBeRemoved: false,
976
+ splitPercent: 0,
977
+ splits: new JBSplit[](0)
889
978
  });
890
979
  // Dagger
891
980
  names[44] = "Dagger";
@@ -904,7 +993,9 @@ contract Drop1Script is Script, Sphinx {
904
993
  useReserveBeneficiaryAsDefault: false,
905
994
  transfersPausable: false,
906
995
  useVotingUnits: false,
907
- cannotBeRemoved: false
996
+ cannotBeRemoved: false,
997
+ splitPercent: 0,
998
+ splits: new JBSplit[](0)
908
999
  });
909
1000
  // Duct Tape
910
1001
  names[45] = "Duct Tape";
@@ -923,7 +1014,9 @@ contract Drop1Script is Script, Sphinx {
923
1014
  useReserveBeneficiaryAsDefault: false,
924
1015
  transfersPausable: false,
925
1016
  useVotingUnits: false,
926
- cannotBeRemoved: false
1017
+ cannotBeRemoved: false,
1018
+ splitPercent: 0,
1019
+ splits: new JBSplit[](0)
927
1020
  });
928
1021
  // Mouthstraw
929
1022
  names[46] = "Wheat Straw";
@@ -942,7 +1035,9 @@ contract Drop1Script is Script, Sphinx {
942
1035
  useReserveBeneficiaryAsDefault: false,
943
1036
  transfersPausable: false,
944
1037
  useVotingUnits: false,
945
- cannotBeRemoved: false
1038
+ cannotBeRemoved: false,
1039
+ splitPercent: 0,
1040
+ splits: new JBSplit[](0)
946
1041
  });
947
1042
 
948
1043
  uint256[] memory productIds = new uint256[](47);
@@ -957,7 +1052,7 @@ contract Drop1Script is Script, Sphinx {
957
1052
  );
958
1053
 
959
1054
  bytes memory setSvgHashData =
960
- abi.encodeCall(Banny721TokenUriResolver.setSvgHashsOf, (productIds, svgHashes));
1055
+ abi.encodeCall(Banny721TokenUriResolver.setSvgHashesOf, (productIds, svgHashes));
961
1056
 
962
1057
  vm.writeFile(
963
1058
  string.concat("./", vm.toString(block.chainid), "-setSvgHashOf.hex.txt"), vm.toString(setSvgHashData)
@@ -971,9 +1066,8 @@ contract Drop1Script is Script, Sphinx {
971
1066
  );
972
1067
  } else {
973
1068
  hook.adjustTiers(products, new uint256[](0));
974
- bannyverse.resolver.setSvgHashsOf(productIds, svgHashes);
1069
+ bannyverse.resolver.setSvgHashesOf(productIds, svgHashes);
975
1070
  bannyverse.resolver.setProductNames(productIds, names);
976
- bannyverse.resolver.setSvgBaseUri("https://bannyverse.infura-ipfs.io/ipfs/");
977
1071
  }
978
1072
  }
979
1073
  }
@@ -1,5 +1,5 @@
1
1
  // SPDX-License-Identifier: MIT
2
- pragma solidity 0.8.23;
2
+ pragma solidity 0.8.26;
3
3
 
4
4
  import {stdJson} from "forge-std/Script.sol";
5
5
  import {Vm} from "forge-std/Vm.sol";
@@ -45,7 +45,7 @@ library BannyverseDeploymentLib {
45
45
  returns (BannyverseDeployment memory deployment)
46
46
  {
47
47
  deployment.resolver = Banny721TokenUriResolver(
48
- _getDeploymentAddress(path, "banny-core-v5", network_name, "Banny721TokenUriResolver")
48
+ _getDeploymentAddress(path, "banny-core-v6", network_name, "Banny721TokenUriResolver")
49
49
  );
50
50
 
51
51
  deployment.revnetId = 4;
@@ -1,9 +1,9 @@
1
1
  // SPDX-License-Identifier: MIT
2
- pragma solidity 0.8.23;
2
+ pragma solidity 0.8.26;
3
3
 
4
4
  import {Banny721TokenUriResolver} from "../../src/Banny721TokenUriResolver.sol";
5
- import {JB721TiersHook} from "@bananapus/721-hook-v5/src/JB721TiersHook.sol";
6
- import {IJB721TiersHookStore} from "@bananapus/721-hook-v5/src/interfaces/IJB721TiersHookStore.sol";
5
+ import {JB721TiersHook} from "@bananapus/721-hook-v6/src/JB721TiersHook.sol";
6
+ import {IJB721TiersHookStore} from "@bananapus/721-hook-v6/src/interfaces/IJB721TiersHookStore.sol";
7
7
 
8
8
  library MigrationHelper {
9
9
  /// @notice Get the UPC (tier ID) from a token ID
@@ -1023,7 +1023,7 @@ ${generatePriceMap(items)}
1023
1023
  }
1024
1024
 
1025
1025
  const script = `// SPDX-License-Identifier: MIT
1026
- pragma solidity 0.8.23;
1026
+ pragma solidity 0.8.26;
1027
1027
 
1028
1028
  import {Script} from "forge-std/Script.sol";
1029
1029
  import {console} from "forge-std/console.sol";
@@ -1572,7 +1572,7 @@ function generateContractVersion(items, tierIds = null) {
1572
1572
  // Generate a contract-based version that deploys a migration contract
1573
1573
  // and makes a single call to it
1574
1574
  return `// SPDX-License-Identifier: MIT
1575
- pragma solidity 0.8.23;
1575
+ pragma solidity 0.8.26;
1576
1576
 
1577
1577
  import {Script} from "forge-std/Script.sol";
1578
1578
  import {console} from "forge-std/console.sol";
@@ -2339,7 +2339,7 @@ function generateChunkContract(chain, chainItems, chunk, chunkIndex, totalChunks
2339
2339
  });
2340
2340
 
2341
2341
  let contract = `// SPDX-License-Identifier: MIT
2342
- pragma solidity 0.8.23;
2342
+ pragma solidity 0.8.26;
2343
2343
 
2344
2344
  import {IERC721} from "@openzeppelin/contracts/token/ERC721/IERC721.sol";
2345
2345
  import {JB721TiersHook} from "@bananapus/721-hook-v5/src/JB721TiersHook.sol";
@@ -2723,7 +2723,7 @@ function generateSingleChainContract(chain, chainItems) {
2723
2723
  });
2724
2724
 
2725
2725
  let contract = `// SPDX-License-Identifier: MIT
2726
- pragma solidity 0.8.23;
2726
+ pragma solidity 0.8.26;
2727
2727
 
2728
2728
  import {IERC721} from "@openzeppelin/contracts/token/ERC721/IERC721.sol";
2729
2729
  import {JB721TiersHook} from "@bananapus/721-hook-v5/src/JB721TiersHook.sol";
@@ -3142,7 +3142,7 @@ function generateUnusedAssetsContract(chain, chainItems, upcStartingUnitNumbers
3142
3142
  }));
3143
3143
 
3144
3144
  let contract = `// SPDX-License-Identifier: MIT
3145
- pragma solidity 0.8.23;
3145
+ pragma solidity 0.8.26;
3146
3146
 
3147
3147
  import {IERC721} from "@openzeppelin/contracts/token/ERC721/IERC721.sol";
3148
3148
  import {JB721TiersHook} from "@bananapus/721-hook-v5/src/JB721TiersHook.sol";
@@ -3287,7 +3287,7 @@ function generateUnusedAssetsContractFromItems(chain, unusedItems, upcStartingUn
3287
3287
  }));
3288
3288
 
3289
3289
  let contract = `// SPDX-License-Identifier: MIT
3290
- pragma solidity 0.8.23;
3290
+ pragma solidity 0.8.26;
3291
3291
 
3292
3292
  import {IERC721} from "@openzeppelin/contracts/token/ERC721/IERC721.sol";
3293
3293
  import {JB721TiersHook} from "@bananapus/721-hook-v5/src/JB721TiersHook.sol";