forked from thirdweb-dev/contracts
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathres-test.txt
More file actions
3212 lines (2916 loc) · 193 KB
/
Copy pathres-test.txt
File metadata and controls
3212 lines (2916 loc) · 193 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
Compiling 2 files with Solc 0.8.23
Solc 0.8.23 finished in 1.98s
Compiler run successful with warnings:
Warning (2519): This declaration shadows an existing declaration.
--> src/test/smart-wallet/utils/AATestBase.sol:83:9:
|
83 | address paymaster,
| ^^^^^^^^^^^^^^^^^
Note: The shadowed declaration is here:
--> src/test/smart-wallet/utils/AATestBase.sol:51:5:
|
51 | VerifyingPaymaster public paymaster;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Warning (2519): This declaration shadows an existing declaration.
--> src/test/smart-wallet/utils/AATestBase.sol:116:9:
|
116 | bytes memory paymasterData = packPaymasterStaticFields(
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
Note: The shadowed declaration is here:
--> src/test/smart-wallet/utils/AATestBase.sol:56:5:
|
56 | function(PackedUserOperation memory) internal view returns (bytes memory) paymasterData;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Warning (2072): Unused local variable.
--> src/test/smart-wallet/utils/AATestBase.sol:62:9:
|
62 | address _testEntrypoint = address(new EntryPoint());
| ^^^^^^^^^^^^^^^^^^^^^^^
Warning (5667): Unused function parameter. Remove or comment out the variable name to silence this warning.
--> src/test/smart-wallet/utils/AATestBase.sol:278:39:
|
278 | function getDummyPaymasterAndData(PackedUserOperation memory _op) internal view returns (bytes memory ret) {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Warning (5667): Unused function parameter. Remove or comment out the variable name to silence this warning.
--> src/test/smart-wallet/utils/AABenchmarkTest.t.sol:40:26:
|
40 | function getDummySig(PackedUserOperation memory _op) internal pure override returns (bytes memory) {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Warning (2018): Function state mutability can be restricted to pure
--> src/test/smart-wallet/utils/VerifyingPaymaster.sol:105:5:
|
105 | function parsePaymasterAndData(
| ^ (Relevant source part starts here and spans across multiple lines).
Warning (2018): Function state mutability can be restricted to pure
--> src/test/smart-wallet/utils/AATestBase.sol:302:5:
|
302 | function calldataCost(bytes memory packed) internal view returns (uint256) {
| ^ (Relevant source part starts here and spans across multiple lines).
Warning (2018): Function state mutability can be restricted to pure
--> src/test/smart-wallet/utils/AABenchmarkTest.t.sol:18:5:
|
18 | function fillData(address _to, uint256 _value, bytes memory _data) internal view override returns (bytes memory) {
| ^ (Relevant source part starts here and spans across multiple lines).
Ran 2 tests for src/test/sdk/extension/drop/claim/claim.t.sol:Drop_Claim
[PASS] test_claim() (gas: 345554)
[PASS] test_claim_noConditionsSet() (gas: 31249)
Suite result: ok. 2 passed; 0 failed; 0 skipped; finished in 6.62ms (548.04µs CPU time)
Ran 3 tests for src/test/sdk/extension/upgradeable/batch-mint-metadata/freeze-base-uri/_freezeBaseURI.t.sol:UpgradeableBatchMintMetadata_FreezeBaseURI
[PASS] test_freezeBaseURI() (gas: 39493)
[PASS] test_freezeBaseURI_event() (gas: 41576)
[PASS] test_freezeBaseURI_invalidBatch() (gas: 17803)
Suite result: ok. 3 passed; 0 failed; 0 skipped; finished in 6.93ms (841.29µs CPU time)
Ran 3 tests for src/test/sdk/extension/contract-metadata/set-contract-uri/setContractURI.t.sol:ContractMetadata_SetContractURI
[PASS] test_setContractURI() (gas: 49601)
[PASS] test_setContractURI_callerNotAuthorized() (gas: 16254)
[PASS] test_setContractURI_event() (gas: 49220)
Suite result: ok. 3 passed; 0 failed; 0 skipped; finished in 6.91ms (825.96µs CPU time)
Ran 4 tests for src/test/Multicall.t.sol:MulticallTest
[PASS] test_multicall_tokenerc721_viaForwarder_attemptSpoof() (gas: 155767)
[PASS] test_multicall_viaDirectCall() (gas: 53700)
[PASS] test_multicall_viaForwarder() (gas: 98753)
[PASS] test_multicall_viaForwarder_attemptSpoof() (gas: 105387)
Suite result: ok. 4 passed; 0 failed; 0 skipped; finished in 7.59ms (1.52ms CPU time)
Ran 2 tests for src/test/sdk/extension/upgradeable/drop/claim/claim.t.sol:UpgradeableDrop_Claim
[PASS] test_claim() (gas: 352773)
[PASS] test_claim_noConditionsSet() (gas: 31870)
Suite result: ok. 2 passed; 0 failed; 0 skipped; finished in 952.96µs (208.96µs CPU time)
Ran 5 tests for src/test/sdk/base/ERC721SignatureMint.t.sol:BaseERC721SignatureMintTest
[PASS] test_revert_mintWithSignature_MustSendTotalPrice() (gas: 140021)
[PASS] test_revert_mintWithSignature_QuantityNotOne() (gas: 61339)
[PASS] test_state_mintWithSignature_NonZeroPrice_ERC20() (gas: 351036)
[PASS] test_state_mintWithSignature_NonZeroPrice_NativeToken() (gas: 338060)
[PASS] test_state_mintWithSignature_ZeroPrice() (gas: 240675)
Suite result: ok. 5 passed; 0 failed; 0 skipped; finished in 8.79ms (1.95ms CPU time)
Ran 2 tests for src/test/sdk/extension/batch-mint-metadata/get-base-uri/_getBaseURI.t.sol:BatchMintMetadata_GetBaseURI
[PASS] test_getBaseURI() (gas: 983190)
[PASS] test_getBaseURI_invalidTokenId() (gas: 29688)
Suite result: ok. 2 passed; 0 failed; 0 skipped; finished in 2.51ms (1.94ms CPU time)
Ran 2 tests for src/test/sdk/extension/upgradeable/batch-mint-metadata/get-base-uri/_getBaseURI.t.sol:UpgradeableBatchMintMetadata_GetBaseURI
[PASS] test_getBaseURI() (gas: 984690)
[PASS] test_getBaseURI_invalidTokenId() (gas: 29244)
Suite result: ok. 2 passed; 0 failed; 0 skipped; finished in 2.84ms (1.93ms CPU time)
Ran 2 tests for src/test/sdk/extension/batch-mint-metadata/get-batch-id/_getBatchId.t.sol:BatchMintMetadata_GetBatchId
[PASS] test_getBatchId() (gas: 575768)
[PASS] test_getBatchId_invalidTokenId() (gas: 27555)
Suite result: ok. 2 passed; 0 failed; 0 skipped; finished in 1.46ms (914.71µs CPU time)
Ran 2 tests for src/test/sdk/extension/upgradeable/batch-mint-metadata/get-batch-id/_getBatchId.t.sol:UpgradeableBatchMintMetadata_GetBatchId
[PASS] test_getBatchId() (gas: 572318)
[PASS] test_getBatchId_invalidTokenId() (gas: 27114)
Suite result: ok. 2 passed; 0 failed; 0 skipped; finished in 1.48ms (940.33µs CPU time)
Ran 2 tests for src/test/sdk/extension/batch-mint-metadata/get-batch-start-id/_getBatchStartId.t.sol:BatchMintMetadata_GetBatchStartId
[PASS] test_getBatchStartId() (gas: 45696)
[PASS] test_getBatchStartId_invalidBatchId() (gas: 27378)
Suite result: ok. 2 passed; 0 failed; 0 skipped; finished in 590.00µs (53.54µs CPU time)
Ran 2 tests for src/test/sdk/extension/upgradeable/batch-mint-metadata/get-batch-start-id/_getBatchStartId.t.sol:UpgradeableBatchMintMetadata_GetBatchStartId
[PASS] test_getBatchStartId() (gas: 45471)
[PASS] test_getBatchStartId_invalidBatchId() (gas: 26912)
Suite result: ok. 2 passed; 0 failed; 0 skipped; finished in 587.13µs (50.79µs CPU time)
Ran 5 tests for src/test/marketplace/english-auctions/collectAuctionPayout/collectAuctionPayout.t.sol:CollectAuctionPayoutTest
[PASS] test_collectAuctionPayout_whenAuctionIsActive() (gas: 87034)
[PASS] test_collectAuctionPayout_whenAuctionIsCancelled() (gas: 125386)
[PASS] test_collectAuctionPayout_whenAuctionTokensAlreadyPaidOut() (gas: 266824)
[PASS] test_collectAuctionPayout_whenAuctionTokensNotYetPaidOut() (gas: 300090)
[PASS] test_collectAuctionPayout_whenNoWinningBid() (gas: 87440)
Suite result: ok. 5 passed; 0 failed; 0 skipped; finished in 223.45ms (525.04µs CPU time)
Ran 4 tests for src/test/tokenerc721-BTT/set-default-royalty-info/setDefaultRoyaltyInfo.t.sol:TokenERC721Test_SetDefaultRoyaltyInfo
[PASS] test_setDefaultRoyaltyInfo() (gas: 149670)
[PASS] test_setDefaultRoyaltyInfo_callerNotAuthorized() (gas: 84782)
[PASS] test_setDefaultRoyaltyInfo_event() (gas: 140196)
[PASS] test_setDefaultRoyaltyInfo_exceedMaxBps() (gas: 129715)
Suite result: ok. 4 passed; 0 failed; 0 skipped; finished in 232.05ms (318.83µs CPU time)
Ran 4 tests for src/test/sdk/extension/upgradeable/royalty/set-default-royalty-info/setDefaultRoyaltyInfo.t.sol:UpgradeableRoyalty_SetDefaultRoyaltyInfo
[PASS] test_setDefaultRoyaltyInfo() (gas: 76473)
[PASS] test_setDefaultRoyaltyInfo_callerNotAuthorized() (gas: 17785)
[PASS] test_setDefaultRoyaltyInfo_event() (gas: 68649)
[PASS] test_setDefaultRoyaltyInfo_exceedMaxBps() (gas: 43015)
Suite result: ok. 4 passed; 0 failed; 0 skipped; finished in 620.67µs (75.21µs CPU time)
Ran 7 tests for src/test/vote-BTT/propose/propose.t.sol:VoteERC20Test_Propose
[PASS] test_propose() (gas: 736204)
[PASS] test_propose_emptyTargets() (gas: 36537)
[PASS] test_propose_event_ProposalCreated() (gas: 658732)
[PASS] test_propose_lengthMismatchTargetsCalldatas() (gas: 245359)
[PASS] test_propose_lengthMismatchTargetsValues() (gas: 247636)
[PASS] test_propose_proposalAlreadyExists() (gas: 64633)
[PASS] test_propose_votesBelowThreshold() (gas: 240894)
Suite result: ok. 7 passed; 0 failed; 0 skipped; finished in 232.88ms (621.08µs CPU time)
Ran 1 test for src/test/smart-wallet/AccountVulnPOC.t.sol:SimpleAccountVulnPOCTest
[PASS] test_POC() (gas: 932396)
Suite result: ok. 1 passed; 0 failed; 0 skipped; finished in 234.21ms (1.42ms CPU time)
Ran 3 tests for src/test/marketplace/english-auctions/_payout/_payout.t.sol:EnglishAuctionsPayoutTest
[PASS] test_payout_whenInsufficientFundsToPayRoyaltyAfterPlatformFeePayout() (gas: 929964)
[PASS] test_payout_whenSufficientFundsToPayRoyaltyAfterPlatformFeePayout() (gas: 1008472)
[PASS] test_payout_whenZeroRoyaltyRecipients() (gas: 335672)
Suite result: ok. 3 passed; 0 failed; 0 skipped; finished in 217.42ms (597.87µs CPU time)
Ran 3 tests for src/test/split-BTT/set-contract-uri/setContractURI.t.sol:SplitTest_SetContractURI
[PASS] test_setContractURI_callerNotAuthorized() (gas: 82641)
[PASS] test_setContractURI_empty() (gas: 108380)
[PASS] test_setContractURI_notEmpty() (gas: 116521)
Suite result: ok. 3 passed; 0 failed; 0 skipped; finished in 227.45ms (268.63µs CPU time)
Ran 3 tests for src/test/open-edition-flat-fee/_transferTokensOnClaim/_transferTokensOnClaim.t.sol:OpenEditionERC721FlatFeeTest_transferTokensOnClaim
[PASS] test_revert_TransferToNonReceiverContract() (gas: 78315)
[PASS] test_state_transferToEOA() (gas: 75133)
[PASS] test_state_transferToReceiverContract() (gas: 84466)
Suite result: ok. 3 passed; 0 failed; 0 skipped; finished in 234.54ms (144.21µs CPU time)
Ran 4 tests for src/test/airdrop/AirdropERC20.t.sol:AirdropERC20GasTest
[PASS] test_transferNativeToken_toContract() (gas: 12424)
[PASS] test_transferNativeToken_toContract_gasOverride() (gas: 15481)
[PASS] test_transferNativeToken_toEOA() (gas: 39738)
[PASS] test_transferNativeToken_toEOA_gasOverride() (gas: 43316)
Suite result: ok. 4 passed; 0 failed; 0 skipped; finished in 237.56ms (349.58µs CPU time)
Ran 29 tests for src/test/tokenerc1155-BTT/mint-with-signature/mintWithSignature.t.sol:TokenERC1155Test_MintWithSignature
[PASS] test_mintWithSignature_invalidEndTimestamp() (gas: 160446)
[PASS] test_mintWithSignature_invalidStartTimestamp() (gas: 165007)
[PASS] test_mintWithSignature_invalidUID() (gas: 196193)
[PASS] test_mintWithSignature_nonZeroPrice_ERC20() (gas: 510991)
[PASS] test_mintWithSignature_nonZeroPrice_ERC20_MetadataUpdateEvent() (gas: 488462)
[PASS] test_mintWithSignature_nonZeroPrice_ERC20_TokensMintedWithSignatureEvent() (gas: 495365)
[PASS] test_mintWithSignature_nonZeroPrice_ERC20_nonZeroMsgValue() (gas: 387132)
[PASS] test_mintWithSignature_nonZeroPrice_flatFee() (gas: 508554)
[PASS] test_mintWithSignature_nonZeroPrice_flatFee_exceedsTotalPrice() (gas: 434095)
[PASS] test_mintWithSignature_nonZeroPrice_nativeToken() (gas: 518688)
[PASS] test_mintWithSignature_nonZeroPrice_nativeToken_MetadataUpdateEvent() (gas: 500346)
[PASS] test_mintWithSignature_nonZeroPrice_nativeToken_TokensMintedWithSignatureEvent() (gas: 507360)
[PASS] test_mintWithSignature_nonZeroPrice_nativeToken_incorrectMsgValue() (gas: 385072)
[PASS] test_mintWithSignature_nonZeroPrice_notMaxTokenId() (gas: 528814)
[PASS] test_mintWithSignature_nonZeroPrice_notMaxTokenId_invalidId() (gas: 362693)
[PASS] test_mintWithSignature_nonZeroRoyaltyRecipient() (gas: 343519)
[PASS] test_mintWithSignature_notMinterRole() (gas: 75641)
[PASS] test_mintWithSignature_recipientAddressZero() (gas: 160396)
[PASS] test_mintWithSignature_reentrantRecipientContract() (gas: 474610)
[PASS] test_mintWithSignature_royaltyRecipientZeroAddress() (gas: 302827)
[PASS] test_mintWithSignature_zeroPrice_EOA() (gas: 348078)
[PASS] test_mintWithSignature_zeroPrice_EOA_MetadataUpdateEvent() (gas: 340041)
[PASS] test_mintWithSignature_zeroPrice_EOA_TokensMintedWithSignatureEvent() (gas: 347341)
[PASS] test_mintWithSignature_zeroPrice_contract() (gas: 355032)
[PASS] test_mintWithSignature_zeroPrice_contract_MetadataUpdateEvent() (gas: 346928)
[PASS] test_mintWithSignature_zeroPrice_contract_TokensMintedWithSignatureEvent() (gas: 353854)
[PASS] test_mintWithSignature_zeroPrice_msgValueNonZero() (gas: 339780)
[PASS] test_mintWithSignature_zeroPrice_nonERC1155ReceiverContract() (gas: 331397)
[PASS] test_mintWithSignature_zeroQuantity() (gas: 160324)
Suite result: ok. 29 passed; 0 failed; 0 skipped; finished in 241.61ms (7.22ms CPU time)
Ran 19 tests for src/test/staking/EditionStake.t.sol:EditionStakeTest
[PASS] test_Macro_EditionDirectSafeTransferLocksToken() (gas: 52778)
[PASS] test_revert_claimRewards_noRewards() (gas: 270928)
[PASS] test_revert_setRewardsPerUnitTime_notAuthorized() (gas: 16187)
[PASS] test_revert_setTimeUnit_notAuthorized() (gas: 16546)
[PASS] test_revert_stake_notBalanceOrApproved() (gas: 109697)
[PASS] test_revert_stake_stakingZeroTokens() (gas: 19141)
[PASS] test_revert_withdraw_withdrawingMoreThanStaked() (gas: 546719)
[PASS] test_revert_withdraw_withdrawingZeroTokens() (gas: 21235)
[PASS] test_revert_zeroTimeUnit_adminLockTokens() (gas: 194182)
[PASS] test_state_claimRewards_defaults_differentTokens() (gas: 485822)
[PASS] test_state_claimRewards_defaults_sameToken() (gas: 395263)
[PASS] test_state_setRewardsPerUnitTime_bothTokens() (gas: 686434)
[PASS] test_state_setRewardsPerUnitTime_token0() (gas: 616766)
[PASS] test_state_setTimeUnit_bothTokens() (gas: 686596)
[PASS] test_state_setTimeUnit_token0() (gas: 617065)
[PASS] test_state_stake_defaults_differentTokens() (gas: 399801)
[PASS] test_state_stake_defaults_sameToken() (gas: 309288)
[PASS] test_state_withdraw_differentTokens() (gas: 487742)
[PASS] test_state_withdraw_sameToken() (gas: 394511)
Suite result: ok. 19 passed; 0 failed; 0 skipped; finished in 233.09ms (4.44ms CPU time)
Ran 1 test for src/test/smart-wallet/utils/AABenchmarkPrepare.sol:AABenchmarkPrepare
[PASS] test_prepareBenchmarkFile() (gas: 2954619)
Suite result: ok. 1 passed; 0 failed; 0 skipped; finished in 242.19ms (10.73ms CPU time)
Ran 19 tests for src/test/smart-wallet/DynamicAccount.t.sol:DynamicAccountTest
[PASS] test_deploy_dynamicAccount() (gas: 9742646)
[PASS] test_revert_executeTransaction_nonSigner_viaDirectCall() (gas: 2157804)
[PASS] test_revert_executeTransaction_nonSigner_viaEntrypoint() (gas: 1886111)
[PASS] test_revert_onRegister_nonFactoryChildContract() (gas: 12283)
[PASS] test_scenario_changeExtensionForFunction() (gas: 2291595)
[PASS] test_state_accountReceivesNativeTokens() (gas: 1850194)
[PASS] test_state_addAndWithdrawDeposit() (gas: 1933653)
[PASS] test_state_createAccount_viaEntrypoint() (gas: 1844090)
[PASS] test_state_createAccount_viaEntrypoint_multipleAccountSameAdmin() (gas: 1844725)
[PASS] test_state_createAccount_viaFactory() (gas: 1721141)
[PASS] test_state_executeBatchTransaction() (gas: 1890037)
[PASS] test_state_executeBatchTransaction_viaAccountSigner() (gas: 2242672)
[PASS] test_state_executeBatchTransaction_viaEntrypoint() (gas: 1929593)
[PASS] test_state_executeTransaction() (gas: 1881512)
[PASS] test_state_executeTransaction_viaAccountSigner() (gas: 2225939)
[PASS] test_state_executeTransaction_viaEntrypoint() (gas: 1917268)
[PASS] test_state_receiveERC1155NFT() (gas: 1883758)
[PASS] test_state_receiveERC721NFT() (gas: 1919886)
[PASS] test_state_transferOutsNativeTokens() (gas: 1933414)
Suite result: ok. 19 passed; 0 failed; 0 skipped; finished in 248.44ms (15.50ms CPU time)
Ran 18 tests for src/test/sdk/base/ERC1155Base.t.sol:ERC1155BaseTest
[PASS] test_revert_batchMintTo_invalidId() (gas: 24055)
[PASS] test_revert_batchMintTo_lengthMismatch() (gas: 24257)
[PASS] test_revert_batchMintTo_mintingZeroTokens() (gas: 22684)
[PASS] test_revert_batchMintTo_unauthorizedCaller() (gas: 21918)
[PASS] test_revert_burnBatch_lengthMismatch() (gas: 269386)
[PASS] test_revert_burnBatch_notEnoughTokensOwned() (gas: 260779)
[PASS] test_revert_burnBatch_unapprovedCaller() (gas: 270861)
[PASS] test_revert_burn_notEnoughTokensOwned() (gas: 118759)
[PASS] test_revert_burn_unapprovedCaller() (gas: 121008)
[PASS] test_revert_mintTo_invalidId() (gas: 19999)
[PASS] test_revert_mintTo_unauthorizedCaller() (gas: 14914)
[PASS] test_state_batchMintTo_existingNFTs() (gas: 403933)
[PASS] test_state_batchMintTo_newAndExistingNFTs() (gas: 511273)
[PASS] test_state_batchMintTo_newNFTs() (gas: 290596)
[PASS] test_state_burn() (gas: 96091)
[PASS] test_state_burnBatch() (gas: 226596)
[PASS] test_state_mintTo_existingNFTs() (gas: 153452)
[PASS] test_state_mintTo_newNFTs() (gas: 120285)
Suite result: ok. 18 passed; 0 failed; 0 skipped; finished in 2.06ms (1.67ms CPU time)
Ran 2 tests for src/test/sdk/base/ERC1155DelayedReveal.t.sol:ERC1155DelayedRevealTest
[PASS] test_state_reveal() (gas: 186330)
[PASS] test_state_reveal_additionalBatch() (gas: 297843)
Suite result: ok. 2 passed; 0 failed; 0 skipped; finished in 2.32ms (1.73ms CPU time)
Ran 3 tests for src/test/airdrop/AirdropERC1155.t.sol:AirdropERC1155Test
[PASS] test_revert_airdrop_notApproved() (gas: 6537686)
[PASS] test_revert_airdrop_notOwner() (gas: 6517663)
[PASS] test_state_airdrop() (gas: 39872560)
Suite result: ok. 3 passed; 0 failed; 0 skipped; finished in 253.72ms (17.49ms CPU time)
Ran 3 tests for src/test/smart-wallet/utils/AABenchmarkTest.t.sol:ProfileThirdwebAccount
[PASS] testBenchmark1Vanila() (gas: 3950305)
[PASS] testBenchmark2Paymaster() (gas: 4059844)
[PASS] testBenchmark3Deposit() (gas: 3981859)
Suite result: ok. 3 passed; 0 failed; 0 skipped; finished in 14.95ms (13.29ms CPU time)
Ran 3 tests for src/test/airdrop/AirdropERC721.t.sol:AirdropERC721Test
[PASS] test_revert_airdrop_notApproved() (gas: 4395261)
[PASS] test_revert_airdrop_notOwner() (gas: 4368080)
[PASS] test_state_airdrop() (gas: 43653638)
Suite result: ok. 3 passed; 0 failed; 0 skipped; finished in 259.78ms (19.99ms CPU time)
Ran 3 tests for src/test/tokenerc1155-BTT/set-flat-platform-fee-info/setFlatPlatformFeeInfo.t.sol:TokenERC1155Test_SetFlatPlatformFeeInfo
[PASS] test_setFlatPlatformFeeInfo() (gas: 141317)
[PASS] test_setFlatPlatformFeeInfo_callerNotAuthorized() (gas: 84561)
[PASS] test_setFlatPlatformFeeInfo_event() (gas: 139558)
Suite result: ok. 3 passed; 0 failed; 0 skipped; finished in 152.63ms (287.96µs CPU time)
Ran 15 tests for src/test/tokenerc20-BTT/mint-with-signature/mintWithSignature.t.sol:TokenERC20Test_MintWithSignature
[PASS] test_mintWithSignature_invalidEndTimestamp() (gas: 146596)
[PASS] test_mintWithSignature_invalidStartTimestamp() (gas: 151151)
[PASS] test_mintWithSignature_invalidUID() (gas: 180078)
[PASS] test_mintWithSignature_nonZeroPrice_ERC20() (gas: 380239)
[PASS] test_mintWithSignature_nonZeroPrice_ERC20_TokensMintedWithSignatureEvent() (gas: 368174)
[PASS] test_mintWithSignature_nonZeroPrice_ERC20_nonZeroMsgValue() (gas: 220622)
[PASS] test_mintWithSignature_nonZeroPrice_nativeToken() (gas: 375943)
[PASS] test_mintWithSignature_nonZeroPrice_nativeToken_TokensMintedWithSignatureEvent() (gas: 366381)
[PASS] test_mintWithSignature_nonZeroPrice_nativeToken_incorrectMsgValue() (gas: 218500)
[PASS] test_mintWithSignature_notMinterRole() (gas: 62026)
[PASS] test_mintWithSignature_recipientAddressZero() (gas: 146321)
[PASS] test_mintWithSignature_zeroPrice() (gas: 274500)
[PASS] test_mintWithSignature_zeroPrice_TokensMintedWithSignatureEvent() (gas: 276202)
[PASS] test_mintWithSignature_zeroPrice_msgValueNonZero() (gas: 175785)
[PASS] test_mintWithSignature_zeroQuantity() (gas: 146502)
Suite result: ok. 15 passed; 0 failed; 0 skipped; finished in 147.31ms (3.27ms CPU time)
Ran 3 tests for src/test/open-edition/_transferTokensOnClaim/_transferTokensOnClaim.t.sol:OpenEditionERC721Test_transferTokensOnClaim
[PASS] test_revert_TransferToNonReceiverContract() (gas: 78315)
[PASS] test_state_transferToEOA() (gas: 75045)
[PASS] test_state_transferToReceiverContract() (gas: 84378)
Suite result: ok. 3 passed; 0 failed; 0 skipped; finished in 156.14ms (140.04µs CPU time)
Ran 5 tests for src/test/marketplace/english-auctions/collectAuctionTokens/collectAuctionTokens.t.sol:CollectAuctionTokensTest
[PASS] test_collectAuctionTokens_whenAuctionIsActive() (gas: 64024)
[PASS] test_collectAuctionTokens_whenAuctionIsCancelled() (gas: 104444)
[PASS] test_collectAuctionTokens_whenAuctionTokensAlreadyPaidOut() (gas: 258427)
[PASS] test_collectAuctionTokens_whenAuctionTokensNotYetPaidOut() (gas: 295776)
[PASS] test_collectAuctionTokens_whenNoWinningBid() (gas: 64517)
Suite result: ok. 5 passed; 0 failed; 0 skipped; finished in 159.29ms (479.50µs CPU time)
Ran 3 tests for src/test/marketplace/direct-listings/_payout/_payout.t.sol:PayoutTest
[PASS] test_payout_whenInsufficientFundsToPayRoyaltyAfterPlatformFeePayout() (gas: 1115829)
[PASS] test_payout_whenSufficientFundsToPayRoyaltyAfterPlatformFeePayout() (gas: 1184862)
[PASS] test_payout_whenZeroRoyaltyRecipients() (gas: 473525)
Suite result: ok. 3 passed; 0 failed; 0 skipped; finished in 158.63ms (822.96µs CPU time)
Ran 3 tests for src/test/sdk/extension/batch-mint-metadata/set-base-uri/_setBaseURI.t.sol:BatchMintMetadata_SetBaseURI
[PASS] test_setBaseURI() (gas: 43434)
[PASS] test_setBaseURI_event() (gas: 44420)
[PASS] test_setBaseURI_frozenBatchId() (gas: 21036)
Suite result: ok. 3 passed; 0 failed; 0 skipped; finished in 673.71µs (77.79µs CPU time)
Ran 3 tests for src/test/tokenerc1155-BTT/set-contract-uri/setContractURI.t.sol:TokenERC1155Test_SetContractURI
[PASS] test_setContractURI_callerNotAuthorized() (gas: 82406)
[PASS] test_setContractURI_empty() (gas: 108147)
[PASS] test_setContractURI_notEmpty() (gas: 116310)
Suite result: ok. 3 passed; 0 failed; 0 skipped; finished in 159.72ms (264.46µs CPU time)
Ran 4 tests for src/test/split-BTT/release-erc20/release.t.sol:SplitTest_ReleaseERC20
[PASS] test_release() (gas: 256341)
[PASS] test_release_event_PaymentReleased() (gas: 183099)
[PASS] test_release_pendingPaymentZero() (gas: 57622)
[PASS] test_release_zeroShares() (gas: 40433)
Suite result: ok. 4 passed; 0 failed; 0 skipped; finished in 161.36ms (240.00µs CPU time)
Ran 3 tests for src/test/sdk/extension/upgradeable/batch-mint-metadata/set-base-uri/_setBaseURI.t.sol:UpgradeableBatchMintMetadata_SetBaseURI
[PASS] test_setBaseURI() (gas: 41455)
[PASS] test_setBaseURI_event() (gas: 44540)
[PASS] test_setBaseURI_frozenBatchId() (gas: 20217)
Suite result: ok. 3 passed; 0 failed; 0 skipped; finished in 646.50µs (69.79µs CPU time)
Ran 1 test for src/test/sdk/extension/delayed-reveal/set-encrypted-data/_setEncryptedData.t.sol:DelayedReveal_SetEncryptedData
[PASS] test_setEncryptedData() (gas: 38700)
Suite result: ok. 1 passed; 0 failed; 0 skipped; finished in 542.13µs (26.04µs CPU time)
Ran 1 test for src/test/sdk/extension/upgradeable/delayed-reveal/set-encrypted-data/_setEncryptedData.t.sol:UpgradeableDelayedReveal_SetEncryptedData
[PASS] test_setEncryptedData() (gas: 38815)
Suite result: ok. 1 passed; 0 failed; 0 skipped; finished in 1.26ms (82.58µs CPU time)
Ran 2 tests for src/test/staking/EditionStake.t.sol:Macro_EditionStakeTest
[PASS] testEdition_adminLockTokens() (gas: 401920)
[PASS] testEdition_demostrate_adminRewardsLock() (gas: 435408)
Suite result: ok. 2 passed; 0 failed; 0 skipped; finished in 159.86ms (400.83µs CPU time)
Ran 4 tests for src/test/airdrop/AirdropERC20.t.sol:AirdropERC20Test
[PASS] test_revert_airdrop_insufficientValue() (gas: 4405618)
[PASS] test_revert_airdrop_notApproved() (gas: 4386782)
[PASS] test_revert_airdrop_notOwner() (gas: 4368343)
[PASS] test_state_airdrop() (gas: 33971930)
Suite result: ok. 4 passed; 0 failed; 0 skipped; finished in 175.88ms (16.38ms CPU time)
Ran 1 test for src/test/benchmark/AirdropERC1155Benchmark.t.sol:AirdropERC1155BenchmarkTest
[PASS] test_benchmark_airdropERC1155_airdrop() (gas: 38083569)
Suite result: ok. 1 passed; 0 failed; 0 skipped; finished in 167.93ms (11.89ms CPU time)
Ran 1 test for src/test/benchmark/AirdropERC721Benchmark.t.sol:AirdropERC721BenchmarkTest
[PASS] test_benchmark_airdropERC721_airdrop() (gas: 41912533)
Suite result: ok. 1 passed; 0 failed; 0 skipped; finished in 173.74ms (10.09ms CPU time)
Ran 18 tests for src/test/smart-wallet/Account.t.sol:SimpleAccountTest
[PASS] test_revert_executeTransaction_nonSigner_viaDirectCall() (gas: 750091)
[PASS] test_revert_executeTransaction_nonSigner_viaEntrypoint() (gas: 485826)
[PASS] test_revert_onRegister_nonFactoryChildContract() (gas: 12255)
[PASS] test_state_accountReceivesNativeTokens() (gas: 446674)
[PASS] test_state_addAndWithdrawDeposit() (gas: 522030)
[PASS] test_state_contractMetadata() (gas: 797927)
[PASS] test_state_createAccount_viaEntrypoint() (gas: 440554)
[PASS] test_state_createAccount_viaEntrypoint_multipleAccountSameAdmin() (gas: 37572694)
[PASS] test_state_createAccount_viaFactory() (gas: 343034)
[PASS] test_state_executeBatchTransaction() (gas: 480962)
[PASS] test_state_executeBatchTransaction_viaAccountSigner() (gas: 834112)
[PASS] test_state_executeBatchTransaction_viaEntrypoint() (gas: 520931)
[PASS] test_state_executeTransaction() (gas: 472562)
[PASS] test_state_executeTransaction_viaAccountSigner() (gas: 817469)
[PASS] test_state_executeTransaction_viaEntrypoint() (gas: 508731)
[PASS] test_state_receiveERC1155NFT() (gas: 477151)
[PASS] test_state_receiveERC721NFT() (gas: 516347)
[PASS] test_state_transferOutsNativeTokens() (gas: 524875)
Suite result: ok. 18 passed; 0 failed; 0 skipped; finished in 240.13ms (86.19ms CPU time)
Ran 9 tests for src/test/drop/drop-erc1155/collectPriceOnClaim/collectPriceOnClaim.t.sol:DropERC1155Test_collectPrice
[PASS] test_msgValueZero_return() (gas: 42297)
[PASS] test_revert_msgValueNotZero() (gas: 72028)
[PASS] test_revert_priceValueMismatchNativeCurrency() (gas: 67829)
[FAIL] test_transferERC20ToPrimarySaleRecipient() (gas: 229692)
[FAIL] test_transferERC20ToSaleRecipient() (gas: 225425)
[FAIL] test_transferERC20ToTokenIdSaleRecipient() (gas: 255671)
[FAIL] test_transferNativeCurrencyToPrimarySaleRecipient() (gas: 200427)
[FAIL] test_transferNativeCurrencyToSaleRecipient() (gas: 195921)
[FAIL] test_transferNativeCurrencyToTokenIdSaleRecipient() (gas: 227101)
Suite result: FAILED. 3 passed; 6 failed; 0 skipped; finished in 131.02ms (519.42µs CPU time)
Ran 4 tests for src/test/split-BTT/release-native-token/release.t.sol:SplitTest_ReleaseNativeToken
[PASS] test_release() (gas: 202516)
[PASS] test_release_event_PaymentReleased() (gas: 128202)
[PASS] test_release_pendingPaymentZero() (gas: 49588)
[PASS] test_release_zeroShares() (gas: 38064)
Suite result: ok. 4 passed; 0 failed; 0 skipped; finished in 129.78ms (181.46µs CPU time)
Ran 3 tests for src/test/marketplace/direct-listings/_validateERC20BalAndAllowance/_validateERC20BalAndAllowance.t.sol:ValidateERC20BalAndAllowanceTest
[PASS] test_validateERC20BalAndAllowance_whenInsufficientTokensOwned() (gas: 81422)
[PASS] test_validateERC20BalAndAllowance_whenTokensNotApprovedToTransfer() (gas: 49448)
[PASS] test_validateERC20BalAndAllowance_whenTokensOwnedAndApproved() (gas: 68923)
Suite result: ok. 3 passed; 0 failed; 0 skipped; finished in 134.72ms (145.13µs CPU time)
Ran 3 tests for src/test/tokenerc20-BTT/set-contract-uri/setContractURI.t.sol:TokenERC20Test_SetContractURI
[PASS] test_setContractURI_callerNotAuthorized() (gas: 82560)
[PASS] test_setContractURI_empty() (gas: 108301)
[PASS] test_setContractURI_notEmpty() (gas: 116464)
Suite result: ok. 3 passed; 0 failed; 0 skipped; finished in 131.89ms (266.88µs CPU time)
Ran 25 tests for src/test/tokenerc721-BTT/mint-with-signature/mintWithSignature.t.sol:TokenERC721Test_MintWithSignature
[PASS] test_mintWithSignature_emptyUri() (gas: 196439)
[PASS] test_mintWithSignature_invalidEndTimestamp() (gas: 153260)
[PASS] test_mintWithSignature_invalidStartTimestamp() (gas: 157821)
[PASS] test_mintWithSignature_invalidUID() (gas: 187871)
[PASS] test_mintWithSignature_nonZeroPrice_ERC20() (gas: 473101)
[PASS] test_mintWithSignature_nonZeroPrice_ERC20_MetadataUpdateEvent() (gas: 452448)
[PASS] test_mintWithSignature_nonZeroPrice_ERC20_TokensMintedWithSignatureEvent() (gas: 459016)
[PASS] test_mintWithSignature_nonZeroPrice_ERC20_nonZeroMsgValue() (gas: 405391)
[PASS] test_mintWithSignature_nonZeroPrice_nativeToken() (gas: 468747)
[PASS] test_mintWithSignature_nonZeroPrice_nativeToken_MetadataUpdateEvent() (gas: 450983)
[PASS] test_mintWithSignature_nonZeroPrice_nativeToken_TokensMintedWithSignatureEvent() (gas: 457221)
[PASS] test_mintWithSignature_nonZeroPrice_nativeToken_incorrectMsgValue() (gas: 403181)
[PASS] test_mintWithSignature_nonZeroRoyaltyRecipient() (gas: 363869)
[PASS] test_mintWithSignature_notMinterRole() (gas: 68808)
[PASS] test_mintWithSignature_recipientAddressZero() (gas: 153585)
[PASS] test_mintWithSignature_reentrantRecipientContract() (gas: 453608)
[PASS] test_mintWithSignature_royaltyRecipientZeroAddress() (gas: 323244)
[PASS] test_mintWithSignature_zeroPrice_EOA() (gas: 367414)
[PASS] test_mintWithSignature_zeroPrice_EOA_MetadataUpdateEvent() (gas: 360339)
[PASS] test_mintWithSignature_zeroPrice_EOA_TokensMintedWithSignatureEvent() (gas: 366819)
[PASS] test_mintWithSignature_zeroPrice_contract() (gas: 376111)
[PASS] test_mintWithSignature_zeroPrice_contract_MetadataUpdateEvent() (gas: 369343)
[PASS] test_mintWithSignature_zeroPrice_contract_TokensMintedWithSignatureEvent() (gas: 375449)
[PASS] test_mintWithSignature_zeroPrice_msgValueNonZero() (gas: 360502)
[PASS] test_mintWithSignature_zeroPrice_nonERC721ReceiverContract() (gas: 309967)
Suite result: ok. 25 passed; 0 failed; 0 skipped; finished in 141.65ms (5.87ms CPU time)
Ran 3 tests for src/test/tokenerc721-BTT/set-contract-uri/setContractURI.t.sol:TokenERC721Test_SetContractURI
[PASS] test_setContractURI_callerNotAuthorized() (gas: 82560)
[PASS] test_setContractURI_empty() (gas: 108455)
[PASS] test_setContractURI_notEmpty() (gas: 116618)
Suite result: ok. 3 passed; 0 failed; 0 skipped; finished in 132.64ms (287.79µs CPU time)
Ran 3 tests for src/test/sdk/extension/upgradeable/contract-metadata/set-contract-uri/setContractURI.t.sol:UpgradeableContractMetadata_SetContractURI
[PASS] test_setContractURI() (gas: 49687)
[PASS] test_setContractURI_callerNotAuthorized() (gas: 15972)
[PASS] test_setContractURI_event() (gas: 49271)
Suite result: ok. 3 passed; 0 failed; 0 skipped; finished in 615.50µs (67.38µs CPU time)
Ran 3 tests for src/test/drop/drop-erc1155/setMaxTotalSupply/setMaxTotalSupply.t.sol:DropERC1155Test_setMaxTotalSupply
[PASS] test_event() (gas: 43824)
[PASS] test_revert_NoAdminRole() (gas: 19620)
[PASS] test_state() (gas: 43228)
Suite result: ok. 3 passed; 0 failed; 0 skipped; finished in 175.10ms (97.96µs CPU time)
Ran 3 tests for src/test/benchmark/EditionStakeBenchmark.t.sol:EditionStakeBenchmarkTest
[PASS] test_benchmark_editionStake_claimRewards() (gas: 65073)
[PASS] test_benchmark_editionStake_stake() (gas: 185141)
[PASS] test_benchmark_editionStake_withdraw() (gas: 48864)
Suite result: ok. 3 passed; 0 failed; 0 skipped; finished in 164.98ms (308.25µs CPU time)
Ran 2 tests for src/test/marketplace/english-auctions/_transferAuctionTokens/_transferAuctionTokens.t.sol:TransferAuctionTokensTest
[PASS] test_transferAuctionTokens_erc1155() (gas: 104531)
[PASS] test_transferAuctionTokens_erc721() (gas: 106576)
Suite result: ok. 2 passed; 0 failed; 0 skipped; finished in 170.21ms (344.42µs CPU time)
Ran 1 test for src/test/benchmark/AirdropERC20Benchmark.t.sol:AirdropERC20BenchmarkTest
[PASS] test_benchmark_airdropERC20_airdrop() (gas: 32068410)
Suite result: ok. 1 passed; 0 failed; 0 skipped; finished in 159.11ms (9.82ms CPU time)
Ran 7 tests for src/test/marketplace/english-auctions/_validateNewAuction/_validateNewAuction.t.sol:ValidateNewAuctionTest
[PASS] test_validateNewAuction_buyoutGteMinimumBidAmt() (gas: 335668)
[PASS] test_validateNewAuction_whenBidBufferIsZero() (gas: 99174)
[PASS] test_validateNewAuction_whenBuyoutLtMinimumBidAmt() (gas: 100218)
[PASS] test_validateNewAuction_whenInvalidTimestamps() (gas: 172482)
[PASS] test_validateNewAuction_whenQuantityGtOneAndAssetERC721() (gas: 99278)
[PASS] test_validateNewAuction_whenQuantityIsZero() (gas: 91978)
[PASS] test_validateNewAuction_whenTimeBufferIsZero() (gas: 99096)
Suite result: ok. 7 passed; 0 failed; 0 skipped; finished in 126.05ms (564.37µs CPU time)
Ran 5 tests for src/test/marketplace/english-auctions/createAuction/createAuction.t.sol:CreateAuctionTest
[PASS] test_createAuction_whenAssetDoesnHaveAssetRole() (gas: 148175)
[PASS] test_createAuction_whenAuctionParamsAreInvalid() (gas: 258150)
[PASS] test_createAuction_whenAuctionParamsAreValid() (gas: 701009)
[PASS] test_createAuction_whenCallerDoesntHaveListerRole() (gas: 54882)
[PASS] test_createAuction_whenTokenIsInvalid() (gas: 402411)
Suite result: ok. 5 passed; 0 failed; 0 skipped; finished in 136.09ms (876.92µs CPU time)
Ran 22 tests for src/test/token/TokenERC20.t.sol:TokenERC20Test
[PASS] test_event_mintTo() (gas: 125218)
[PASS] test_event_mintWithSignature() (gas: 190084)
[PASS] test_event_platformFeeInfo() (gas: 31832)
[PASS] test_event_setPrimarySaleRecipient() (gas: 26617)
[PASS] test_revert_mintTo_NotAuthorized() (gas: 24096)
[PASS] test_revert_mintWithSignature_InvalidSignature() (gas: 74129)
[PASS] test_revert_mintWithSignature_MsgValueNotZero() (gas: 148831)
[PASS] test_revert_mintWithSignature_MustSendTotalPrice() (gas: 142544)
[PASS] test_revert_mintWithSignature_RecipientUndefined() (gas: 74785)
[PASS] test_revert_mintWithSignature_RequestExpired() (gas: 70714)
[PASS] test_revert_mintWithSignature_ZeroQuantity() (gas: 77542)
[PASS] test_revert_setContractURI_NotAuthorized() (gas: 76783)
[PASS] test_revert_setPlatformFeeInfo_ExceedsMaxBps() (gas: 18986)
[PASS] test_revert_setPlatformFeeInfo_NotAuthorized() (gas: 76696)
[PASS] test_revert_setPrimarySaleRecipient_NotAuthorized() (gas: 76871)
[PASS] test_state_mintTo() (gas: 129137)
[PASS] test_state_mintWithSignature_NonZeroPrice_ERC20() (gas: 313103)
[PASS] test_state_mintWithSignature_NonZeroPrice_NativeToken() (gas: 306079)
[PASS] test_state_mintWithSignature_ZeroPrice() (gas: 188704)
[PASS] test_state_setContractURI() (gas: 27763)
[PASS] test_state_setPlatformFeeInfo() (gas: 31744)
[PASS] test_state_setPrimarySaleRecipient() (gas: 25863)
Suite result: ok. 22 passed; 0 failed; 0 skipped; finished in 152.14ms (2.70ms CPU time)
Ran 6 tests for src/test/burn-to-claim-drop-BTT/logic/reveal/reveal.t.sol:BurnToClaimDropERC721Logic_Reveal
[PASS] test_reveal() (gas: 1809236)
[PASS] test_reveal_callerNotAuthorized() (gas: 37869)
[PASS] test_reveal_event() (gas: 110925)
[PASS] test_reveal_incorrectKey() (gas: 97238)
[PASS] test_reveal_invalidIndex() (gas: 59823)
[PASS] test_reveal_noEncryptedURI() (gas: 86684)
Suite result: ok. 6 passed; 0 failed; 0 skipped; finished in 155.35ms (3.80ms CPU time)
Ran 14 tests for src/test/benchmark/AccountBenchmark.t.sol:AccountBenchmarkTest
[PASS] test_state_accountReceivesNativeTokens() (gas: 11037)
[PASS] test_state_addAndWithdrawDeposit() (gas: 82691)
[PASS] test_state_contractMetadata() (gas: 56003)
[PASS] test_state_createAccount_viaEntrypoint() (gas: 430658)
[PASS] test_state_createAccount_viaFactory() (gas: 334122)
[PASS] test_state_executeBatchTransaction() (gas: 39592)
[PASS] test_state_executeBatchTransaction_viaAccountSigner() (gas: 392306)
[PASS] test_state_executeBatchTransaction_viaEntrypoint() (gas: 82440)
[PASS] test_state_executeTransaction() (gas: 35713)
[PASS] test_state_executeTransaction_viaAccountSigner() (gas: 378150)
[PASS] test_state_executeTransaction_viaEntrypoint() (gas: 75112)
[PASS] test_state_receiveERC1155NFT() (gas: 39343)
[PASS] test_state_receiveERC721NFT() (gas: 78624)
[PASS] test_state_transferOutsNativeTokens() (gas: 81231)
Suite result: ok. 14 passed; 0 failed; 0 skipped; finished in 203.52ms (8.12ms CPU time)
Ran 4 tests for src/test/sdk/extension/PlatformFee.t.sol:ExtensionPlatformFee
[PASS] test_event_platformFeeInfo() (gas: 56756)
[PASS] test_revert_setPlatformFeeInfo_ExceedsMaxBps() (gas: 32277)
[PASS] test_revert_setPlatformFeeInfo_NotAuthorized() (gas: 11123)
[PASS] test_state_setPlatformFeeInfo() (gas: 53409)
Suite result: ok. 4 passed; 0 failed; 0 skipped; finished in 136.96µs (59.67µs CPU time)
Ran 3 tests for src/test/sdk/extension/PrimarySale.t.sol:ExtensionPrimarySale
[PASS] test_event_setPrimarySaleRecipient() (gas: 34097)
[PASS] test_revert_setPrimarySaleRecipient_NotAuthorized() (gas: 10839)
[PASS] test_state_setPrimarySaleRecipient() (gas: 31163)
Suite result: ok. 3 passed; 0 failed; 0 skipped; finished in 95.71µs (40.37µs CPU time)
Ran 2 tests for src/test/vote-BTT/set-contract-uri/setContractURI.t.sol:VoteERC20Test_SetContractURI
[PASS] test_setContractURI_callerNotAuthorized() (gas: 19081)
[PASS] test_setContractURI_empty() (gas: 812317)
Suite result: ok. 2 passed; 0 failed; 0 skipped; finished in 156.98ms (239.92µs CPU time)
Ran 4 tests for src/test/sdk/extension/royalty/set-default-royalty-info/setDefaultRoyaltyInfo.t.sol:Royalty_SetDefaultRoyaltyInfo
[PASS] test_setDefaultRoyaltyInfo() (gas: 75569)
[PASS] test_setDefaultRoyaltyInfo_callerNotAuthorized() (gas: 18033)
[PASS] test_setDefaultRoyaltyInfo_event() (gas: 68317)
[PASS] test_setDefaultRoyaltyInfo_exceedMaxBps() (gas: 43598)
Suite result: ok. 4 passed; 0 failed; 0 skipped; finished in 626.92µs (76.79µs CPU time)
Ran 3 tests for src/test/drop/drop-erc20/setMaxTotalSupply/setMaxTotalSupply.t.sol:DropERC20Test_setMaxTotalSupply
[PASS] test_event_callerHasDefaultAdminRole() (gas: 40380)
[PASS] test_revert_doesNotHaveAdminRole() (gas: 14402)
[PASS] test_state_callerHasDefaultAdminRole() (gas: 40130)
Suite result: ok. 3 passed; 0 failed; 0 skipped; finished in 153.20ms (92.46µs CPU time)
Ran 2 tests for src/test/marketplace/direct-listings/_transferListingTokens/_transferListingTokens.t.sol:TransferListingTokensTest
[PASS] test_transferListingTokens_erc1155() (gas: 110524)
[PASS] test_transferListingTokens_erc721() (gas: 112809)
Suite result: ok. 2 passed; 0 failed; 0 skipped; finished in 148.48ms (167.25µs CPU time)
Ran 19 tests for src/test/staking/EditionStake_EthReward.t.sol:EditionStakeEthRewardTest
[PASS] test_Macro_EditionDirectSafeTransferLocksToken() (gas: 52778)
[PASS] test_revert_claimRewards_noRewards() (gas: 284838)
[PASS] test_revert_setRewardsPerUnitTime_notAuthorized() (gas: 16187)
[PASS] test_revert_setTimeUnit_notAuthorized() (gas: 16546)
[PASS] test_revert_stake_notBalanceOrApproved() (gas: 109697)
[PASS] test_revert_stake_stakingZeroTokens() (gas: 19141)
[PASS] test_revert_withdraw_withdrawingMoreThanStaked() (gas: 546719)
[PASS] test_revert_withdraw_withdrawingZeroTokens() (gas: 21235)
[PASS] test_revert_zeroTimeUnit_adminLockTokens() (gas: 194182)
[PASS] test_state_claimRewards_defaults_differentTokens() (gas: 520916)
[PASS] test_state_claimRewards_defaults_sameToken() (gas: 430357)
[PASS] test_state_setRewardsPerUnitTime_bothTokens() (gas: 686434)
[PASS] test_state_setRewardsPerUnitTime_token0() (gas: 616766)
[PASS] test_state_setTimeUnit_bothTokens() (gas: 686596)
[PASS] test_state_setTimeUnit_token0() (gas: 617065)
[PASS] test_state_stake_defaults_differentTokens() (gas: 399801)
[PASS] test_state_stake_defaults_sameToken() (gas: 309288)
[PASS] test_state_withdraw_differentTokens() (gas: 487742)
[PASS] test_state_withdraw_sameToken() (gas: 394511)
Suite result: ok. 19 passed; 0 failed; 0 skipped; finished in 149.63ms (2.78ms CPU time)
Ran 11 tests for src/test/marketplace/direct-listings/_validateNewListing/_validateNewListing.t.sol:ValidateNewListingTest
[PASS] test_validateNewListing_whenQuantityIsZero() (gas: 39595)
[PASS] test_validateNewListing_whenTokenIsERC721() (gas: 44789)
[PASS] test_validateNewListing_whenTokenOwnerDoesntOwnSufficientTokens_1() (gas: 94209)
[PASS] test_validateNewListing_whenTokenOwnerDoesntOwnSufficientTokens_2a() (gas: 91042)
[PASS] test_validateNewListing_whenTokenOwnerDoesntOwnSufficientTokens_2b() (gas: 87490)
[PASS] test_validateNewListing_whenTokensNotApprovedForTransfer_1() (gas: 69771)
[PASS] test_validateNewListing_whenTokensNotApprovedForTransfer_2a() (gas: 67303)
[PASS] test_validateNewListing_whenTokensNotApprovedForTransfer_2b() (gas: 67285)
[PASS] test_validateNewListing_whenTokensOwnedAndApproved_1() (gas: 89120)
[PASS] test_validateNewListing_whenTokensOwnedAndApproved_2a() (gas: 86233)
[PASS] test_validateNewListing_whenTokensOwnedAndApproved_2b() (gas: 87258)
Suite result: ok. 11 passed; 0 failed; 0 skipped; finished in 126.56ms (621.12µs CPU time)
Ran 8 tests for src/test/marketplace/direct-listings/createListing/createListing.t.sol:CreateListingTest
[PASS] test_createListing_startTimeGteEndTime() (gas: 313204)
[PASS] test_createListing_whenAssetDoesNotHaveAssetRole() (gas: 146274)
[PASS] test_createListing_whenCallerDoesNotHaveListerRole() (gas: 55457)
[PASS] test_createListing_whenListingParamsAreInvalid_1() (gas: 254378)
[PASS] test_createListing_whenListingParamsAreInvalid_2() (gas: 252570)
[PASS] test_createListing_whenListingParamsAreValid_1() (gas: 527334)
[PASS] test_createListing_whenListingParamsAreValid_2() (gas: 513822)
[PASS] test_createListing_whenStartTimeMoreThanHourBeforeBlockTimestamp() (gas: 254686)
Suite result: ok. 8 passed; 0 failed; 0 skipped; finished in 153.13ms (1.08ms CPU time)
Ran 13 tests for src/test/sdk/base/ERC1155Drop.t.sol:ERC1155DropTest
[PASS] test_revert_claim_exceedsMaxSupply() (gas: 314087)
[PASS] test_revert_claim_insufficientPrice() (gas: 356284)
[PASS] test_revert_claim_invalidCurrency() (gas: 313927)
[PASS] test_revert_claim_invalidPrice() (gas: 313791)
[PASS] test_revert_claim_invalidQtyProof() (gas: 379867)
[PASS] test_revert_claim_invalidQuantity() (gas: 314329)
[PASS] test_revert_setClaimConditions_supplyClaimedAlready() (gas: 363674)
[PASS] test_revert_setClaimConditions_unauthorizedCaller() (gas: 134143)
[PASS] test_state_claim() (gas: 368750)
[PASS] test_state_claim_withAllowlist() (gas: 481069)
[PASS] test_state_claim_withPrice() (gas: 445829)
[PASS] test_state_setClaimConditions() (gas: 248651)
[PASS] test_state_setClaimConditions_resetEligibility() (gas: 378409)
Suite result: ok. 13 passed; 0 failed; 0 skipped; finished in 562.26ms (561.85ms CPU time)
Ran 2 tests for src/test/sdk/base/ERC1155LazyMint.t.sol:ERC1155LazyMintTest
[PASS] test_revert_mintTo_invalidId() (gas: 19493)
[PASS] test_state_claim() (gas: 84415)
Suite result: ok. 2 passed; 0 failed; 0 skipped; finished in 283.17µs (61.33µs CPU time)
Ran 6 tests for src/test/sdk/base/ERC1155SignatureMint.t.sol:ERC1155SignatureMintTest
[PASS] test_revert_mintWithSignature_invalidId() (gas: 222190)
[PASS] test_revert_mintWithSignature_mintingZeroTokens() (gas: 218964)
[PASS] test_revert_mintWithSignature_withPrice_incorrectPrice() (gas: 321660)
[PASS] test_state_mintWithSignature_existingNFTs() (gas: 448742)
[PASS] test_state_mintWithSignature_newNFTs() (gas: 408164)
[PASS] test_state_mintWithSignature_withPrice() (gas: 459340)
Suite result: ok. 6 passed; 0 failed; 0 skipped; finished in 1.53ms (1.21ms CPU time)
Ran 6 tests for src/test/drop/drop-erc721/reveal/reveal.t.sol:DropERC721Test_reveal
[PASS] test_event() (gas: 405687)
[PASS] test_revert_InvalidIndex() (gas: 512289)
[PASS] test_revert_InvalidKey() (gas: 501809)
[PASS] test_revert_NoEncryptedData() (gas: 178373)
[PASS] test_revert_NoMetadataRole() (gas: 26470)
[PASS] test_state() (gas: 555735)
Suite result: ok. 6 passed; 0 failed; 0 skipped; finished in 137.92ms (787.29µs CPU time)
Ran 10 tests for src/test/sdk/base/ERC20Base.t.sol:BaseERC20BaseTest
[PASS] test_revert_burn_NotEnoughBalance() (gas: 64148)
[PASS] test_revert_mint_MintToZeroAddress() (gas: 14011)
[PASS] test_revert_mint_MintingZeroTokens() (gas: 16053)
[PASS] test_revert_mint_NotAuthorized() (gas: 13582)
[PASS] test_revert_permit_ExpiredDeadline() (gas: 102057)
[PASS] test_revert_permit_IncorrectKey() (gas: 124022)
[PASS] test_revert_permit_UsedNonce() (gas: 157456)
[PASS] test_state_burn() (gas: 56227)
[PASS] test_state_mint() (gas: 66417)
[PASS] test_state_permit() (gas: 152842)
Suite result: ok. 10 passed; 0 failed; 0 skipped; finished in 1.41ms (847.17µs CPU time)
Ran 3 tests for src/test/benchmark/TokenERC20Benchmark.t.sol:TokenERC20BenchmarkTest
[PASS] test_benchmark_tokenERC20_mintTo() (gas: 120954)
[PASS] test_benchmark_tokenERC20_mintWithSignature_pay_with_ERC20() (gas: 183756)
[PASS] test_benchmark_tokenERC20_mintWithSignature_pay_with_native_token() (gas: 208421)
Suite result: ok. 3 passed; 0 failed; 0 skipped; finished in 140.97ms (503.33µs CPU time)
Ran 4 tests for src/test/sdk/extension/burn-to-claim/set-burn-to-claim-info/setBurnToClaimInfo.t.sol:BurnToClaim_SetBurnToClaimInfo
[PASS] test_setBurnToClaimInfo() (gas: 122968)
[PASS] test_setBurnToClaimInfo_callerNotAuthorized() (gas: 21702)
[PASS] test_setBurnToClaimInfo_invalidCurrency_addressZero() (gas: 49368)
[PASS] test_setBurnToClaimInfo_invalidOriginContract_addressZero() (gas: 27286)
Suite result: ok. 4 passed; 0 failed; 0 skipped; finished in 629.38µs (72.96µs CPU time)
Ran 4 tests for src/test/sdk/extension/upgradeable/burn-to-claim/set-burn-to-claim-info/setBurnToClaimInfo.t.sol:UpgradeableBurnToClaim_SetBurnToClaimInfo
[PASS] test_setBurnToClaimInfo() (gas: 123031)
[PASS] test_setBurnToClaimInfo_callerNotAuthorized() (gas: 21702)
[PASS] test_setBurnToClaimInfo_invalidCurrency_addressZero() (gas: 49368)
[PASS] test_setBurnToClaimInfo_invalidOriginContract_addressZero() (gas: 27286)
Suite result: ok. 4 passed; 0 failed; 0 skipped; finished in 585.17µs (59.83µs CPU time)
Ran 9 tests for src/test/sdk/base/ERC20Drop.t.sol:BaseERC20DropTest
[PASS] test_revert_burn_NotEnoughBalance() (gas: 13733)
[PASS] test_revert_permit_ExpiredDeadline() (gas: 49817)
[PASS] test_revert_permit_IncorrectKey() (gas: 71784)
[PASS] test_revert_permit_UsedNonce() (gas: 105290)
[PASS] test_state_burn() (gas: 150341)
[PASS] test_state_claim_NonZeroPrice_ERC20() (gas: 301368)
[PASS] test_state_claim_NonZeroPrice_NativeToken() (gas: 268181)
[PASS] test_state_claim_ZeroPrice() (gas: 183686)
[PASS] test_state_permit() (gas: 100825)
Suite result: ok. 9 passed; 0 failed; 0 skipped; finished in 2.13ms (961.21µs CPU time)
Ran 13 tests for src/test/sdk/extension/drop/set-claim-conditions/setClaimConditions.t.sol:Drop_SetClaimConditions
[PASS] test_setClaimConditions_incorrectStartTimestamps() (gas: 238803)
[PASS] test_setClaimConditions_noReset_conditionCount() (gas: 124387)
[PASS] test_setClaimConditions_noReset_conditionState() (gas: 143271)
[PASS] test_setClaimConditions_noReset_event() (gas: 129860)
[PASS] test_setClaimConditions_noReset_maxClaimableLessThanClaimed() (gas: 82221)
[PASS] test_setClaimConditions_noReset_startIndex() (gas: 122255)
[PASS] test_setClaimConditions_notAuthorized() (gas: 55429)
[PASS] test_setClaimConditions_resetEligibility_conditionCount() (gas: 351750)
[PASS] test_setClaimConditions_resetEligibility_conditionState() (gas: 357964)
[PASS] test_setClaimConditions_resetEligibility_event() (gas: 357685)
[PASS] test_setClaimConditions_resetEligibility_oldConditionsDeleted() (gas: 365622)
[PASS] test_setClaimConditions_resetEligibility_oldConditionsDeletedOrReplaced() (gas: 144577)
[PASS] test_setClaimConditions_resetEligibility_startIndex() (gas: 349134)
Suite result: ok. 13 passed; 0 failed; 0 skipped; finished in 1.39ms (719.96µs CPU time)
Ran 13 tests for src/test/sdk/extension/upgradeable/drop/set-claim-conditions/setClaimConditions.t.sol:UpgradeableDrop_SetClaimConditions
[PASS] test_setClaimConditions_incorrectStartTimestamps() (gas: 243089)
[PASS] test_setClaimConditions_noReset_conditionCount() (gas: 129025)
[PASS] test_setClaimConditions_noReset_conditionState() (gas: 149514)
[PASS] test_setClaimConditions_noReset_event() (gas: 133230)
[PASS] test_setClaimConditions_noReset_maxClaimableLessThanClaimed() (gas: 83806)
[PASS] test_setClaimConditions_noReset_startIndex() (gas: 126893)
[PASS] test_setClaimConditions_notAuthorized() (gas: 54949)
[PASS] test_setClaimConditions_resetEligibility_conditionCount() (gas: 356992)
[PASS] test_setClaimConditions_resetEligibility_conditionState() (gas: 363214)
[PASS] test_setClaimConditions_resetEligibility_event() (gas: 361659)
[PASS] test_setClaimConditions_resetEligibility_oldConditionsDeleted() (gas: 371193)
[PASS] test_setClaimConditions_resetEligibility_oldConditionsDeletedOrReplaced() (gas: 150178)
[PASS] test_setClaimConditions_resetEligibility_startIndex() (gas: 354376)
Suite result: ok. 13 passed; 0 failed; 0 skipped; finished in 1.57ms (879.13µs CPU time)
Ran 12 tests for src/test/sdk/base/ERC20DropVote.t.sol:BaseERC20DropVoteTest
[PASS] test_revert_burn_NotEnoughBalance() (gas: 13779)
[PASS] test_revert_delegateBySig_InvalidNonce() (gas: 73415)
[PASS] test_revert_delegateBySig_SignatureExpired() (gas: 49060)
[PASS] test_revert_permit_ExpiredDeadline() (gas: 49386)
[PASS] test_revert_permit_IncorrectKey() (gas: 71331)
[PASS] test_revert_permit_UsedNonce() (gas: 104163)
[PASS] test_state_burn() (gas: 201722)
[PASS] test_state_claim_NonZeroPrice_ERC20() (gas: 370024)
[PASS] test_state_claim_NonZeroPrice_NativeToken() (gas: 317243)
[PASS] test_state_claim_ZeroPrice() (gas: 232748)
[PASS] test_state_delegateBySig() (gas: 100883)
[PASS] test_state_permit() (gas: 99866)
Suite result: ok. 12 passed; 0 failed; 0 skipped; finished in 3.56ms (1.88ms CPU time)
Ran 5 tests for src/test/sdk/base/ERC20SignatureMint.t.sol:BaseERC20SignatureMintTest
[PASS] test_revert_mintWithSignature_MintingZeroTokens() (gas: 52983)
[PASS] test_revert_mintWithSignature_MustSendTotalPrice() (gas: 131711)
[PASS] test_state_mintWithSignature_NonZeroPrice_ERC20() (gas: 241170)
[PASS] test_state_mintWithSignature_NonZeroPrice_NativeToken() (gas: 231407)
[PASS] test_state_mintWithSignature_ZeroPrice() (gas: 127443)
Suite result: ok. 5 passed; 0 failed; 0 skipped; finished in 1.44ms (797.04µs CPU time)
Ran 5 tests for src/test/sdk/base/ERC20SignatureMintVote.t.sol:BaseERC20SignatureMintVoteTest
[PASS] test_revert_mintWithSignature_MintingZeroTokens() (gas: 52741)
[PASS] test_revert_mintWithSignature_MustSendTotalPrice() (gas: 131683)
[PASS] test_state_mintWithSignature_NonZeroPrice_ERC20() (gas: 291151)
[PASS] test_state_mintWithSignature_NonZeroPrice_NativeToken() (gas: 281388)
[PASS] test_state_mintWithSignature_ZeroPrice() (gas: 177424)
Suite result: ok. 5 passed; 0 failed; 0 skipped; finished in 2.06ms (832.29µs CPU time)
Ran 13 tests for src/test/sdk/base/ERC20Vote.t.sol:BaseERC20VoteTest
[PASS] test_revert_burn_NotEnoughBalance() (gas: 113974)
[PASS] test_revert_delegateBySig_InvalidNonce() (gas: 73972)
[PASS] test_revert_delegateBySig_SignatureExpired() (gas: 49632)
[PASS] test_revert_mint_MintToZeroAddress() (gas: 14120)
[PASS] test_revert_mint_MintingZeroTokens() (gas: 16119)
[PASS] test_revert_mint_NotAuthorized() (gas: 13648)
[PASS] test_revert_permit_ExpiredDeadline() (gas: 150039)
[PASS] test_revert_permit_IncorrectKey() (gas: 174099)
[PASS] test_revert_permit_UsedNonce() (gas: 207740)
[PASS] test_state_burn() (gas: 98381)
[PASS] test_state_delegateBySig() (gas: 101371)
[PASS] test_state_mint() (gas: 116397)
[PASS] test_state_permit() (gas: 203139)
Suite result: ok. 13 passed; 0 failed; 0 skipped; finished in 2.27ms (1.67ms CPU time)
Ran 1 test for src/test/marketplace/EnglishAuctions.t.sol:BreitwieserTheBidder
[PASS] test_rob_as_bidder() (gas: 934003)
Suite result: ok. 1 passed; 0 failed; 0 skipped; finished in 120.09ms (330.92µs CPU time)
Ran 10 tests for src/test/sdk/base/ERC721Base.t.sol:BaseERC721BaseTest
[PASS] test_isApprovedOrOwner() (gas: 146349)
[PASS] test_revert_batchMintTo_MintToZeroAddress() (gas: 84311)
[PASS] test_revert_batchMintTo_NotAuthorized() (gas: 12766)
[PASS] test_revert_burn_NotOwnerNorApproved() (gas: 117152)
[PASS] test_revert_mintTo_MintToZeroAddress() (gas: 39766)
[PASS] test_revert_mintTo_NotAuthorized() (gas: 12198)
[PASS] test_state_batchMintTo() (gas: 3680154)
[PASS] test_state_burn_Approved() (gas: 180799)
[PASS] test_state_burn_Owner() (gas: 154614)
[PASS] test_state_mintTo() (gas: 122329)
Suite result: ok. 10 passed; 0 failed; 0 skipped; finished in 6.77ms (6.53ms CPU time)
Ran 4 tests for src/test/tokenerc1155-BTT/set-default-royalty-info/setDefaultRoyaltyInfo.t.sol:TokenERC1155Test_SetDefaultRoyaltyInfo
[PASS] test_setDefaultRoyaltyInfo() (gas: 149186)
[PASS] test_setDefaultRoyaltyInfo_callerNotAuthorized() (gas: 84650)
[PASS] test_setDefaultRoyaltyInfo_event() (gas: 139998)
[PASS] test_setDefaultRoyaltyInfo_exceedMaxBps() (gas: 129517)
Suite result: ok. 4 passed; 0 failed; 0 skipped; finished in 131.70ms (307.25µs CPU time)
Ran 5 tests for src/test/sdk/base/ERC721DelayedReveal.t.sol:BaseERC721DelayedRevealTest
[PASS] test_revert_lazyMint_URIForNonExistentId() (gas: 230716)
[PASS] test_revert_reveal_NotAuthorized() (gas: 849846)
[PASS] test_state_lazyMint_noEncryptedURI() (gas: 958399)
[PASS] test_state_lazyMint_withEncryptedURI() (gas: 846578)
[PASS] test_state_reveal() (gas: 1610367)
Suite result: ok. 5 passed; 0 failed; 0 skipped; finished in 8.06ms (7.84ms CPU time)
Ran 4 tests for src/test/sdk/base/ERC721Drop.t.sol:BaseERC721DropTest
[PASS] test_revert_claim_NotEnoughMintedTokens() (gas: 181057)
[PASS] test_state_claim_NonZeroPrice_ERC20() (gas: 592048)
[PASS] test_state_claim_NonZeroPrice_NativeToken() (gas: 541855)
[PASS] test_state_claim_ZeroPrice() (gas: 457699)
Suite result: ok. 4 passed; 0 failed; 0 skipped; finished in 1.78ms (1.08ms CPU time)
Ran 2 tests for src/test/sdk/base/ERC721LazyMint.t.sol:BaseERC721LazyMintTest
[PASS] test_revert_claim_NotEnoughTokens() (gas: 21156)
[PASS] test_state_claim() (gas: 164578)
Suite result: ok. 2 passed; 0 failed; 0 skipped; finished in 367.50µs (153.71µs CPU time)
Ran 1 test for src/test/sdk/base/ERC721Multiwrap.t.sol:BaseERC721MultiwrapTest
[PASS] test_state_wrap() (gas: 458891)
Suite result: ok. 1 passed; 0 failed; 0 skipped; finished in 839.54µs (159.83µs CPU time)
Ran 11 tests for src/test/plugin/Router.t.sol:RouterTest
[PASS] test_revert_addPlugin_defaultExists() (gas: 17832)
[PASS] test_revert_addPlugin_pluginAlreadyExists() (gas: 226239)
[PASS] test_revert_addPlugin_selectorSignatureMismatch() (gas: 84828)
[PASS] test_revert_removePlugin_pluginDNE() (gas: 11369)
[PASS] test_revert_updatePlugin_functionDNE() (gas: 20277)
[PASS] test_revert_updatePlugin_selectorSignatureMismatch() (gas: 20977)
[PASS] test_state_addPlugin() (gas: 312069)
[PASS] test_state_getAllFunctionsOfPlugin() (gas: 444419)
[PASS] test_state_getPluginForFunction() (gas: 412007)
[PASS] test_state_removePlugin() (gas: 181988)
[PASS] test_state_updatePlugin() (gas: 324363)
Suite result: ok. 11 passed; 0 failed; 0 skipped; finished in 152.18ms (1.07ms CPU time)
Ran 3 tests for src/test/drop-flat-fee/_transferTokensOnClaim/_transferTokensOnClaim.t.sol:DropERC721FlatFeeTest_transferTokensOnClaim
[PASS] test_revert_TransferToNonReceiverContract() (gas: 75135)
[PASS] test_state_transferToEOA() (gas: 91483)
[PASS] test_state_transferToReceiverContract() (gas: 100561)
Suite result: ok. 3 passed; 0 failed; 0 skipped; finished in 140.37ms (132.04µs CPU time)
Ran 3 tests for src/test/drop/drop-erc721/setMaxTotalSupply/setMaxTotalSupply.t.sol:DropERC721Test_setMaxTotalSupply
[PASS] test_event() (gas: 20351)
[PASS] test_revert_CallerNotAdmin() (gas: 17162)
[PASS] test_state() (gas: 20010)
Suite result: ok. 3 passed; 0 failed; 0 skipped; finished in 141.88ms (91.42µs CPU time)
Ran 3 tests for src/test/sdk/extension/ownable/set-owner/setOwner.t.sol:Ownable_SetOwner
[PASS] test_setOwner() (gas: 27694)
[PASS] test_setOwner_callerNotAuthorized() (gas: 15922)
[PASS] test_setOwner_event() (gas: 30882)
Suite result: ok. 3 passed; 0 failed; 0 skipped; finished in 577.08µs (44.75µs CPU time)
Ran 8 tests for src/test/airdrop/AirdropERC1155Claimable.t.sol:AirdropERC1155ClaimableTest
[PASS] test_revert_claim_allowlistedClaimer_airdropExpired() (gas: 36875)
[PASS] test_revert_claim_allowlistedClaimer_proofClaimed() (gas: 130986)
[PASS] test_revert_claim_nonAllowlistedClaimer_exceedsAvailable() (gas: 6398918)
[PASS] test_revert_claim_nonAllowlistedClaimer_invalidQuantity() (gas: 33848)
[PASS] test_revert_claim_notInAllowlist_invalidQty() (gas: 39089)
[PASS] test_state_claim_allowlistedClaimer() (gas: 114561)
[PASS] test_state_claim_allowlistedClaimer_invalidQuantity() (gas: 37068)
[PASS] test_state_claim_nonAllowlistedClaimer() (gas: 111034)
Suite result: ok. 8 passed; 0 failed; 0 skipped; finished in 947.54ms (713.79ms CPU time)
Ran 6 tests for src/test/marketplace/direct-listings/_validateOwnershipAndApproval/_validateOwnershipAndApproval.t.sol:ValidateOwnershipAndApprovalTest
[PASS] test_validateOwnershipAndApproval_whenInsufficientTokensOwned_erc1155() (gas: 86461)
[PASS] test_validateOwnershipAndApproval_whenInsufficientTokensOwned_erc721() (gas: 80264)
[PASS] test_validateOwnershipAndApproval_whenTokensNotApprovedToTransfer_erc1155() (gas: 63377)
[PASS] test_validateOwnershipAndApproval_whenTokensNotApprovedToTransfer_erc721() (gas: 61450)
[PASS] test_validateOwnershipAndApproval_whenTokensOwnedAndApproved_erc1155() (gas: 82133)
[PASS] test_validateOwnershipAndApproval_whenTokensOwnedAndApproved_erc721() (gas: 79759)
Suite result: ok. 6 passed; 0 failed; 0 skipped; finished in 185.92ms (322.92µs CPU time)
Ran 1 test for src/test/split-BTT/distribute-erc20/distribute.t.sol:SplitTest_DistributeERC20
[PASS] test_distribute() (gas: 423135)
Suite result: ok. 1 passed; 0 failed; 0 skipped; finished in 154.72ms (229.25µs CPU time)
Ran 4 tests for src/test/tokenerc1155-BTT/set-owner/setOwner.t.sol:TokenERC1155Test_SetOwner
[PASS] test_setOwner() (gas: 188647)
[PASS] test_setOwner_callerNotAuthorized() (gas: 82466)
[PASS] test_setOwner_event() (gas: 188461)
[PASS] test_setOwner_newOwnerNotAdmin() (gas: 109001)
Suite result: ok. 4 passed; 0 failed; 0 skipped; finished in 115.02ms (329.25µs CPU time)
Ran 39 tests for src/test/token/TokenERC721.t.sol:TokenERC721Test
[PASS] test_event_defaultRoyalty() (gas: 32193)
[PASS] test_event_mintTo() (gas: 159309)
[PASS] test_event_mintWithSignature() (gas: 277943)
[PASS] test_event_platformFeeInfo() (gas: 31951)
[PASS] test_event_royaltyForToken() (gas: 66965)
[PASS] test_event_setOwner() (gas: 107528)
[PASS] test_event_setPrimarySaleRecipient() (gas: 26264)
[PASS] test_revert_burn_NotOwnerNorApproved() (gas: 167454)
[PASS] test_revert_mintTo_NotAuthorized() (gas: 83395)
[PASS] test_revert_mintTo_emptyURI() (gas: 48184)
[PASS] test_revert_mintWithSignature_InvalidSignature() (gas: 80854)
[PASS] test_revert_mintWithSignature_MsgValueNotZero() (gas: 331014)
[PASS] test_revert_mintWithSignature_MustSendTotalPrice() (gas: 324355)
[PASS] test_revert_mintWithSignature_RecipientUndefined() (gas: 81498)
[PASS] test_revert_mintWithSignature_RequestExpired() (gas: 77361)
[PASS] test_revert_setContractURI() (gas: 76816)
[PASS] test_revert_setDefaultRoyaltyInfo_ExceedsRoyaltyBps() (gas: 19502)
[PASS] test_revert_setDefaultRoyaltyInfo_NotAuthorized() (gas: 77130)
[PASS] test_revert_setOwner_NotModuleAdmin() (gas: 21155)
[PASS] test_revert_setPlatformFeeInfo_ExceedsMaxBps() (gas: 19140)
[PASS] test_revert_setPlatformFeeInfo_NotAuthorized() (gas: 76751)
[PASS] test_revert_setPrimarySaleRecipient_NotAuthorized() (gas: 76419)
[PASS] test_revert_setRoyaltyInfoForToken_ExceedsRoyaltyBps() (gas: 19140)
[PASS] test_revert_setRoyaltyInfo_NotAuthorized() (gas: 76979)
[PASS] test_setTokenURI_revert_Frozen() (gas: 45114)
[PASS] test_setTokenURI_revert_NotAuthorized() (gas: 17694)
[PASS] test_setTokenURI_state() (gas: 48351)
[PASS] test_state_burn_TokenOperator() (gas: 167942)
[PASS] test_state_burn_TokenOwner() (gas: 145113)
[PASS] test_state_mintTo() (gas: 169841)
[PASS] test_state_mintWithSignature_NonZeroPrice_ERC20() (gas: 408205)
[PASS] test_state_mintWithSignature_NonZeroPrice_NativeToken() (gas: 395756)
[PASS] test_state_mintWithSignature_ZeroPrice() (gas: 282555)
[PASS] test_state_setContractURI() (gas: 27763)
[PASS] test_state_setDefaultRoyaltyInfo() (gas: 38733)
[PASS] test_state_setOwner() (gas: 107304)
[PASS] test_state_setPlatformFeeInfo() (gas: 31981)
[PASS] test_state_setPrimarySaleRecipient() (gas: 25444)
[PASS] test_state_setRoyaltyInfoForToken() (gas: 66938)
Suite result: ok. 39 passed; 0 failed; 0 skipped; finished in 152.60ms (5.39ms CPU time)
Ran 2 tests for src/test/plugin/RouterImmutable.t.sol:RouterImmutableTest
[PASS] test_revert_callWithRouter() (gas: 16750)
[PASS] test_state_callWithRouter() (gas: 45357)
Suite result: ok. 2 passed; 0 failed; 0 skipped; finished in 124.57ms (79.79µs CPU time)
Ran 7 tests for src/test/sdk/extension/Royalty.t.sol:ExtensionRoyaltyTest
[PASS] test_event_defaultRoyalty() (gas: 56900)
[PASS] test_event_royaltyForToken() (gas: 80185)