@cloakely/sdk 0.8.0 → 0.8.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.
package/dist/abis.js CHANGED
@@ -10093,3 +10093,2453 @@ export const sharedBatcherAbi = [
10093
10093
  "inputs": []
10094
10094
  }
10095
10095
  ];
10096
+ export const cloakDropAbi = [
10097
+ {
10098
+ "type": "constructor",
10099
+ "inputs": [
10100
+ {
10101
+ "name": "p",
10102
+ "type": "tuple",
10103
+ "internalType": "struct CloakDrop.Params",
10104
+ "components": [
10105
+ {
10106
+ "name": "creator",
10107
+ "type": "address",
10108
+ "internalType": "address"
10109
+ },
10110
+ {
10111
+ "name": "supply",
10112
+ "type": "uint32",
10113
+ "internalType": "uint32"
10114
+ },
10115
+ {
10116
+ "name": "maxPerBid",
10117
+ "type": "uint32",
10118
+ "internalType": "uint32"
10119
+ },
10120
+ {
10121
+ "name": "numTicks",
10122
+ "type": "uint16",
10123
+ "internalType": "uint16"
10124
+ },
10125
+ {
10126
+ "name": "wlBoostBps",
10127
+ "type": "uint16",
10128
+ "internalType": "uint16"
10129
+ },
10130
+ {
10131
+ "name": "royaltyBps",
10132
+ "type": "uint16",
10133
+ "internalType": "uint16"
10134
+ },
10135
+ {
10136
+ "name": "gtdEnd",
10137
+ "type": "uint64",
10138
+ "internalType": "uint64"
10139
+ },
10140
+ {
10141
+ "name": "commitEnd",
10142
+ "type": "uint64",
10143
+ "internalType": "uint64"
10144
+ },
10145
+ {
10146
+ "name": "revealEnd",
10147
+ "type": "uint64",
10148
+ "internalType": "uint64"
10149
+ },
10150
+ {
10151
+ "name": "tlockRound",
10152
+ "type": "uint64",
10153
+ "internalType": "uint64"
10154
+ },
10155
+ {
10156
+ "name": "floor",
10157
+ "type": "uint128",
10158
+ "internalType": "uint128"
10159
+ },
10160
+ {
10161
+ "name": "tickSize",
10162
+ "type": "uint128",
10163
+ "internalType": "uint128"
10164
+ },
10165
+ {
10166
+ "name": "gtdPrice",
10167
+ "type": "uint128",
10168
+ "internalType": "uint128"
10169
+ },
10170
+ {
10171
+ "name": "gtdRoot",
10172
+ "type": "bytes32",
10173
+ "internalType": "bytes32"
10174
+ },
10175
+ {
10176
+ "name": "wlRoot",
10177
+ "type": "bytes32",
10178
+ "internalType": "bytes32"
10179
+ }
10180
+ ]
10181
+ },
10182
+ {
10183
+ "name": "name_",
10184
+ "type": "string",
10185
+ "internalType": "string"
10186
+ },
10187
+ {
10188
+ "name": "symbol_",
10189
+ "type": "string",
10190
+ "internalType": "string"
10191
+ },
10192
+ {
10193
+ "name": "baseURI_",
10194
+ "type": "string",
10195
+ "internalType": "string"
10196
+ },
10197
+ {
10198
+ "name": "config_",
10199
+ "type": "address",
10200
+ "internalType": "contract CloakConfig"
10201
+ }
10202
+ ],
10203
+ "stateMutability": "nonpayable"
10204
+ },
10205
+ {
10206
+ "type": "function",
10207
+ "name": "DEAD",
10208
+ "inputs": [],
10209
+ "outputs": [
10210
+ {
10211
+ "name": "",
10212
+ "type": "address",
10213
+ "internalType": "address"
10214
+ }
10215
+ ],
10216
+ "stateMutability": "view"
10217
+ },
10218
+ {
10219
+ "type": "function",
10220
+ "name": "DRAND_GENESIS",
10221
+ "inputs": [],
10222
+ "outputs": [
10223
+ {
10224
+ "name": "",
10225
+ "type": "uint256",
10226
+ "internalType": "uint256"
10227
+ }
10228
+ ],
10229
+ "stateMutability": "view"
10230
+ },
10231
+ {
10232
+ "type": "function",
10233
+ "name": "DRAND_PERIOD",
10234
+ "inputs": [],
10235
+ "outputs": [
10236
+ {
10237
+ "name": "",
10238
+ "type": "uint256",
10239
+ "internalType": "uint256"
10240
+ }
10241
+ ],
10242
+ "stateMutability": "view"
10243
+ },
10244
+ {
10245
+ "type": "function",
10246
+ "name": "MAX_BOOST_BPS",
10247
+ "inputs": [],
10248
+ "outputs": [
10249
+ {
10250
+ "name": "",
10251
+ "type": "uint16",
10252
+ "internalType": "uint16"
10253
+ }
10254
+ ],
10255
+ "stateMutability": "view"
10256
+ },
10257
+ {
10258
+ "type": "function",
10259
+ "name": "MAX_PER_BID",
10260
+ "inputs": [],
10261
+ "outputs": [
10262
+ {
10263
+ "name": "",
10264
+ "type": "uint32",
10265
+ "internalType": "uint32"
10266
+ }
10267
+ ],
10268
+ "stateMutability": "view"
10269
+ },
10270
+ {
10271
+ "type": "function",
10272
+ "name": "MAX_ROYALTY_BPS",
10273
+ "inputs": [],
10274
+ "outputs": [
10275
+ {
10276
+ "name": "",
10277
+ "type": "uint16",
10278
+ "internalType": "uint16"
10279
+ }
10280
+ ],
10281
+ "stateMutability": "view"
10282
+ },
10283
+ {
10284
+ "type": "function",
10285
+ "name": "MAX_SUPPLY",
10286
+ "inputs": [],
10287
+ "outputs": [
10288
+ {
10289
+ "name": "",
10290
+ "type": "uint32",
10291
+ "internalType": "uint32"
10292
+ }
10293
+ ],
10294
+ "stateMutability": "view"
10295
+ },
10296
+ {
10297
+ "type": "function",
10298
+ "name": "MAX_TICKS",
10299
+ "inputs": [],
10300
+ "outputs": [
10301
+ {
10302
+ "name": "",
10303
+ "type": "uint256",
10304
+ "internalType": "uint256"
10305
+ }
10306
+ ],
10307
+ "stateMutability": "view"
10308
+ },
10309
+ {
10310
+ "type": "function",
10311
+ "name": "NO_REVEAL_PENALTY_BPS",
10312
+ "inputs": [],
10313
+ "outputs": [
10314
+ {
10315
+ "name": "",
10316
+ "type": "uint16",
10317
+ "internalType": "uint16"
10318
+ }
10319
+ ],
10320
+ "stateMutability": "view"
10321
+ },
10322
+ {
10323
+ "type": "function",
10324
+ "name": "REVEAL_MARGIN",
10325
+ "inputs": [],
10326
+ "outputs": [
10327
+ {
10328
+ "name": "",
10329
+ "type": "uint256",
10330
+ "internalType": "uint256"
10331
+ }
10332
+ ],
10333
+ "stateMutability": "view"
10334
+ },
10335
+ {
10336
+ "type": "function",
10337
+ "name": "allocationOf",
10338
+ "inputs": [
10339
+ {
10340
+ "name": "id",
10341
+ "type": "uint256",
10342
+ "internalType": "uint256"
10343
+ }
10344
+ ],
10345
+ "outputs": [
10346
+ {
10347
+ "name": "nfts",
10348
+ "type": "uint32",
10349
+ "internalType": "uint32"
10350
+ },
10351
+ {
10352
+ "name": "paid",
10353
+ "type": "uint256",
10354
+ "internalType": "uint256"
10355
+ },
10356
+ {
10357
+ "name": "refund",
10358
+ "type": "uint256",
10359
+ "internalType": "uint256"
10360
+ },
10361
+ {
10362
+ "name": "penalty",
10363
+ "type": "uint256",
10364
+ "internalType": "uint256"
10365
+ }
10366
+ ],
10367
+ "stateMutability": "view"
10368
+ },
10369
+ {
10370
+ "type": "function",
10371
+ "name": "approve",
10372
+ "inputs": [
10373
+ {
10374
+ "name": "spender",
10375
+ "type": "address",
10376
+ "internalType": "address"
10377
+ },
10378
+ {
10379
+ "name": "tokenId",
10380
+ "type": "uint256",
10381
+ "internalType": "uint256"
10382
+ }
10383
+ ],
10384
+ "outputs": [],
10385
+ "stateMutability": "nonpayable"
10386
+ },
10387
+ {
10388
+ "type": "function",
10389
+ "name": "auctionSupply",
10390
+ "inputs": [],
10391
+ "outputs": [
10392
+ {
10393
+ "name": "",
10394
+ "type": "uint32",
10395
+ "internalType": "uint32"
10396
+ }
10397
+ ],
10398
+ "stateMutability": "view"
10399
+ },
10400
+ {
10401
+ "type": "function",
10402
+ "name": "balanceOf",
10403
+ "inputs": [
10404
+ {
10405
+ "name": "",
10406
+ "type": "address",
10407
+ "internalType": "address"
10408
+ }
10409
+ ],
10410
+ "outputs": [
10411
+ {
10412
+ "name": "",
10413
+ "type": "uint256",
10414
+ "internalType": "uint256"
10415
+ }
10416
+ ],
10417
+ "stateMutability": "view"
10418
+ },
10419
+ {
10420
+ "type": "function",
10421
+ "name": "baseURI",
10422
+ "inputs": [],
10423
+ "outputs": [
10424
+ {
10425
+ "name": "",
10426
+ "type": "string",
10427
+ "internalType": "string"
10428
+ }
10429
+ ],
10430
+ "stateMutability": "view"
10431
+ },
10432
+ {
10433
+ "type": "function",
10434
+ "name": "bidCap",
10435
+ "inputs": [],
10436
+ "outputs": [
10437
+ {
10438
+ "name": "",
10439
+ "type": "uint256",
10440
+ "internalType": "uint256"
10441
+ }
10442
+ ],
10443
+ "stateMutability": "view"
10444
+ },
10445
+ {
10446
+ "type": "function",
10447
+ "name": "bidsCount",
10448
+ "inputs": [],
10449
+ "outputs": [
10450
+ {
10451
+ "name": "",
10452
+ "type": "uint256",
10453
+ "internalType": "uint256"
10454
+ }
10455
+ ],
10456
+ "stateMutability": "view"
10457
+ },
10458
+ {
10459
+ "type": "function",
10460
+ "name": "claim",
10461
+ "inputs": [
10462
+ {
10463
+ "name": "id",
10464
+ "type": "uint256",
10465
+ "internalType": "uint256"
10466
+ }
10467
+ ],
10468
+ "outputs": [],
10469
+ "stateMutability": "nonpayable"
10470
+ },
10471
+ {
10472
+ "type": "function",
10473
+ "name": "claimBatch",
10474
+ "inputs": [
10475
+ {
10476
+ "name": "ids",
10477
+ "type": "uint256[]",
10478
+ "internalType": "uint256[]"
10479
+ }
10480
+ ],
10481
+ "outputs": [],
10482
+ "stateMutability": "nonpayable"
10483
+ },
10484
+ {
10485
+ "type": "function",
10486
+ "name": "claimTo",
10487
+ "inputs": [
10488
+ {
10489
+ "name": "id",
10490
+ "type": "uint256",
10491
+ "internalType": "uint256"
10492
+ },
10493
+ {
10494
+ "name": "to",
10495
+ "type": "address",
10496
+ "internalType": "address"
10497
+ }
10498
+ ],
10499
+ "outputs": [],
10500
+ "stateMutability": "nonpayable"
10501
+ },
10502
+ {
10503
+ "type": "function",
10504
+ "name": "claimedCount",
10505
+ "inputs": [],
10506
+ "outputs": [
10507
+ {
10508
+ "name": "",
10509
+ "type": "uint256",
10510
+ "internalType": "uint256"
10511
+ }
10512
+ ],
10513
+ "stateMutability": "view"
10514
+ },
10515
+ {
10516
+ "type": "function",
10517
+ "name": "clearingScore",
10518
+ "inputs": [],
10519
+ "outputs": [
10520
+ {
10521
+ "name": "",
10522
+ "type": "uint256",
10523
+ "internalType": "uint256"
10524
+ }
10525
+ ],
10526
+ "stateMutability": "view"
10527
+ },
10528
+ {
10529
+ "type": "function",
10530
+ "name": "collectFees",
10531
+ "inputs": [],
10532
+ "outputs": [],
10533
+ "stateMutability": "nonpayable"
10534
+ },
10535
+ {
10536
+ "type": "function",
10537
+ "name": "commit",
10538
+ "inputs": [
10539
+ {
10540
+ "name": "commitment",
10541
+ "type": "bytes32",
10542
+ "internalType": "bytes32"
10543
+ },
10544
+ {
10545
+ "name": "sealedBid",
10546
+ "type": "bytes",
10547
+ "internalType": "bytes"
10548
+ },
10549
+ {
10550
+ "name": "wl",
10551
+ "type": "bool",
10552
+ "internalType": "bool"
10553
+ },
10554
+ {
10555
+ "name": "wlProof",
10556
+ "type": "bytes32[]",
10557
+ "internalType": "bytes32[]"
10558
+ }
10559
+ ],
10560
+ "outputs": [
10561
+ {
10562
+ "name": "id",
10563
+ "type": "uint256",
10564
+ "internalType": "uint256"
10565
+ }
10566
+ ],
10567
+ "stateMutability": "payable"
10568
+ },
10569
+ {
10570
+ "type": "function",
10571
+ "name": "commitmentOf",
10572
+ "inputs": [
10573
+ {
10574
+ "name": "bidder",
10575
+ "type": "address",
10576
+ "internalType": "address"
10577
+ },
10578
+ {
10579
+ "name": "tick",
10580
+ "type": "uint16",
10581
+ "internalType": "uint16"
10582
+ },
10583
+ {
10584
+ "name": "quantity",
10585
+ "type": "uint128",
10586
+ "internalType": "uint128"
10587
+ },
10588
+ {
10589
+ "name": "salt",
10590
+ "type": "bytes32",
10591
+ "internalType": "bytes32"
10592
+ }
10593
+ ],
10594
+ "outputs": [
10595
+ {
10596
+ "name": "",
10597
+ "type": "bytes32",
10598
+ "internalType": "bytes32"
10599
+ }
10600
+ ],
10601
+ "stateMutability": "view"
10602
+ },
10603
+ {
10604
+ "type": "function",
10605
+ "name": "config",
10606
+ "inputs": [],
10607
+ "outputs": [
10608
+ {
10609
+ "name": "",
10610
+ "type": "address",
10611
+ "internalType": "contract CloakConfig"
10612
+ }
10613
+ ],
10614
+ "stateMutability": "view"
10615
+ },
10616
+ {
10617
+ "type": "function",
10618
+ "name": "costOf",
10619
+ "inputs": [
10620
+ {
10621
+ "name": "tick",
10622
+ "type": "uint16",
10623
+ "internalType": "uint16"
10624
+ },
10625
+ {
10626
+ "name": "quantity",
10627
+ "type": "uint256",
10628
+ "internalType": "uint256"
10629
+ }
10630
+ ],
10631
+ "outputs": [
10632
+ {
10633
+ "name": "",
10634
+ "type": "uint256",
10635
+ "internalType": "uint256"
10636
+ }
10637
+ ],
10638
+ "stateMutability": "view"
10639
+ },
10640
+ {
10641
+ "type": "function",
10642
+ "name": "creatorOwed",
10643
+ "inputs": [],
10644
+ "outputs": [
10645
+ {
10646
+ "name": "",
10647
+ "type": "uint256",
10648
+ "internalType": "uint256"
10649
+ }
10650
+ ],
10651
+ "stateMutability": "view"
10652
+ },
10653
+ {
10654
+ "type": "function",
10655
+ "name": "demandPublic",
10656
+ "inputs": [
10657
+ {
10658
+ "name": "",
10659
+ "type": "uint256",
10660
+ "internalType": "uint256"
10661
+ }
10662
+ ],
10663
+ "outputs": [
10664
+ {
10665
+ "name": "",
10666
+ "type": "uint32",
10667
+ "internalType": "uint32"
10668
+ }
10669
+ ],
10670
+ "stateMutability": "view"
10671
+ },
10672
+ {
10673
+ "type": "function",
10674
+ "name": "demandWl",
10675
+ "inputs": [
10676
+ {
10677
+ "name": "",
10678
+ "type": "uint256",
10679
+ "internalType": "uint256"
10680
+ }
10681
+ ],
10682
+ "outputs": [
10683
+ {
10684
+ "name": "",
10685
+ "type": "uint32",
10686
+ "internalType": "uint32"
10687
+ }
10688
+ ],
10689
+ "stateMutability": "view"
10690
+ },
10691
+ {
10692
+ "type": "function",
10693
+ "name": "depositCap",
10694
+ "inputs": [],
10695
+ "outputs": [
10696
+ {
10697
+ "name": "",
10698
+ "type": "uint256",
10699
+ "internalType": "uint256"
10700
+ }
10701
+ ],
10702
+ "stateMutability": "view"
10703
+ },
10704
+ {
10705
+ "type": "function",
10706
+ "name": "factory",
10707
+ "inputs": [],
10708
+ "outputs": [
10709
+ {
10710
+ "name": "",
10711
+ "type": "address",
10712
+ "internalType": "address"
10713
+ }
10714
+ ],
10715
+ "stateMutability": "view"
10716
+ },
10717
+ {
10718
+ "type": "function",
10719
+ "name": "failed",
10720
+ "inputs": [],
10721
+ "outputs": [
10722
+ {
10723
+ "name": "",
10724
+ "type": "bool",
10725
+ "internalType": "bool"
10726
+ }
10727
+ ],
10728
+ "stateMutability": "view"
10729
+ },
10730
+ {
10731
+ "type": "function",
10732
+ "name": "feesOwed",
10733
+ "inputs": [],
10734
+ "outputs": [
10735
+ {
10736
+ "name": "",
10737
+ "type": "uint256",
10738
+ "internalType": "uint256"
10739
+ }
10740
+ ],
10741
+ "stateMutability": "view"
10742
+ },
10743
+ {
10744
+ "type": "function",
10745
+ "name": "getApproved",
10746
+ "inputs": [
10747
+ {
10748
+ "name": "",
10749
+ "type": "uint256",
10750
+ "internalType": "uint256"
10751
+ }
10752
+ ],
10753
+ "outputs": [
10754
+ {
10755
+ "name": "",
10756
+ "type": "address",
10757
+ "internalType": "address"
10758
+ }
10759
+ ],
10760
+ "stateMutability": "view"
10761
+ },
10762
+ {
10763
+ "type": "function",
10764
+ "name": "getBid",
10765
+ "inputs": [
10766
+ {
10767
+ "name": "id",
10768
+ "type": "uint256",
10769
+ "internalType": "uint256"
10770
+ }
10771
+ ],
10772
+ "outputs": [
10773
+ {
10774
+ "name": "",
10775
+ "type": "tuple",
10776
+ "internalType": "struct CloakDrop.Bid",
10777
+ "components": [
10778
+ {
10779
+ "name": "bidder",
10780
+ "type": "address",
10781
+ "internalType": "address"
10782
+ },
10783
+ {
10784
+ "name": "tick",
10785
+ "type": "uint16",
10786
+ "internalType": "uint16"
10787
+ },
10788
+ {
10789
+ "name": "wl",
10790
+ "type": "bool",
10791
+ "internalType": "bool"
10792
+ },
10793
+ {
10794
+ "name": "revealed",
10795
+ "type": "bool",
10796
+ "internalType": "bool"
10797
+ },
10798
+ {
10799
+ "name": "claimed",
10800
+ "type": "bool",
10801
+ "internalType": "bool"
10802
+ },
10803
+ {
10804
+ "name": "quantity",
10805
+ "type": "uint32",
10806
+ "internalType": "uint32"
10807
+ },
10808
+ {
10809
+ "name": "tieStart",
10810
+ "type": "uint32",
10811
+ "internalType": "uint32"
10812
+ },
10813
+ {
10814
+ "name": "deposit",
10815
+ "type": "uint128",
10816
+ "internalType": "uint128"
10817
+ },
10818
+ {
10819
+ "name": "commitment",
10820
+ "type": "bytes32",
10821
+ "internalType": "bytes32"
10822
+ }
10823
+ ]
10824
+ }
10825
+ ],
10826
+ "stateMutability": "view"
10827
+ },
10828
+ {
10829
+ "type": "function",
10830
+ "name": "gtdMint",
10831
+ "inputs": [
10832
+ {
10833
+ "name": "spots",
10834
+ "type": "uint32",
10835
+ "internalType": "uint32"
10836
+ },
10837
+ {
10838
+ "name": "proof",
10839
+ "type": "bytes32[]",
10840
+ "internalType": "bytes32[]"
10841
+ },
10842
+ {
10843
+ "name": "quantity",
10844
+ "type": "uint32",
10845
+ "internalType": "uint32"
10846
+ }
10847
+ ],
10848
+ "outputs": [],
10849
+ "stateMutability": "payable"
10850
+ },
10851
+ {
10852
+ "type": "function",
10853
+ "name": "gtdMinted",
10854
+ "inputs": [],
10855
+ "outputs": [
10856
+ {
10857
+ "name": "",
10858
+ "type": "uint32",
10859
+ "internalType": "uint32"
10860
+ }
10861
+ ],
10862
+ "stateMutability": "view"
10863
+ },
10864
+ {
10865
+ "type": "function",
10866
+ "name": "gtdMintedBy",
10867
+ "inputs": [
10868
+ {
10869
+ "name": "",
10870
+ "type": "address",
10871
+ "internalType": "address"
10872
+ }
10873
+ ],
10874
+ "outputs": [
10875
+ {
10876
+ "name": "",
10877
+ "type": "uint32",
10878
+ "internalType": "uint32"
10879
+ }
10880
+ ],
10881
+ "stateMutability": "view"
10882
+ },
10883
+ {
10884
+ "type": "function",
10885
+ "name": "isApprovedForAll",
10886
+ "inputs": [
10887
+ {
10888
+ "name": "",
10889
+ "type": "address",
10890
+ "internalType": "address"
10891
+ },
10892
+ {
10893
+ "name": "",
10894
+ "type": "address",
10895
+ "internalType": "address"
10896
+ }
10897
+ ],
10898
+ "outputs": [
10899
+ {
10900
+ "name": "",
10901
+ "type": "bool",
10902
+ "internalType": "bool"
10903
+ }
10904
+ ],
10905
+ "stateMutability": "view"
10906
+ },
10907
+ {
10908
+ "type": "function",
10909
+ "name": "launchFeeBps",
10910
+ "inputs": [],
10911
+ "outputs": [
10912
+ {
10913
+ "name": "",
10914
+ "type": "uint16",
10915
+ "internalType": "uint16"
10916
+ }
10917
+ ],
10918
+ "stateMutability": "view"
10919
+ },
10920
+ {
10921
+ "type": "function",
10922
+ "name": "mintUnsold",
10923
+ "inputs": [
10924
+ {
10925
+ "name": "to",
10926
+ "type": "address",
10927
+ "internalType": "address"
10928
+ },
10929
+ {
10930
+ "name": "quantity",
10931
+ "type": "uint32",
10932
+ "internalType": "uint32"
10933
+ }
10934
+ ],
10935
+ "outputs": [],
10936
+ "stateMutability": "nonpayable"
10937
+ },
10938
+ {
10939
+ "type": "function",
10940
+ "name": "name",
10941
+ "inputs": [],
10942
+ "outputs": [
10943
+ {
10944
+ "name": "",
10945
+ "type": "string",
10946
+ "internalType": "string"
10947
+ }
10948
+ ],
10949
+ "stateMutability": "view"
10950
+ },
10951
+ {
10952
+ "type": "function",
10953
+ "name": "numberTies",
10954
+ "inputs": [
10955
+ {
10956
+ "name": "maxSteps",
10957
+ "type": "uint256",
10958
+ "internalType": "uint256"
10959
+ }
10960
+ ],
10961
+ "outputs": [],
10962
+ "stateMutability": "nonpayable"
10963
+ },
10964
+ {
10965
+ "type": "function",
10966
+ "name": "ownerOf",
10967
+ "inputs": [
10968
+ {
10969
+ "name": "tokenId",
10970
+ "type": "uint256",
10971
+ "internalType": "uint256"
10972
+ }
10973
+ ],
10974
+ "outputs": [
10975
+ {
10976
+ "name": "o",
10977
+ "type": "address",
10978
+ "internalType": "address"
10979
+ }
10980
+ ],
10981
+ "stateMutability": "view"
10982
+ },
10983
+ {
10984
+ "type": "function",
10985
+ "name": "params",
10986
+ "inputs": [],
10987
+ "outputs": [
10988
+ {
10989
+ "name": "",
10990
+ "type": "tuple",
10991
+ "internalType": "struct CloakDrop.Params",
10992
+ "components": [
10993
+ {
10994
+ "name": "creator",
10995
+ "type": "address",
10996
+ "internalType": "address"
10997
+ },
10998
+ {
10999
+ "name": "supply",
11000
+ "type": "uint32",
11001
+ "internalType": "uint32"
11002
+ },
11003
+ {
11004
+ "name": "maxPerBid",
11005
+ "type": "uint32",
11006
+ "internalType": "uint32"
11007
+ },
11008
+ {
11009
+ "name": "numTicks",
11010
+ "type": "uint16",
11011
+ "internalType": "uint16"
11012
+ },
11013
+ {
11014
+ "name": "wlBoostBps",
11015
+ "type": "uint16",
11016
+ "internalType": "uint16"
11017
+ },
11018
+ {
11019
+ "name": "royaltyBps",
11020
+ "type": "uint16",
11021
+ "internalType": "uint16"
11022
+ },
11023
+ {
11024
+ "name": "gtdEnd",
11025
+ "type": "uint64",
11026
+ "internalType": "uint64"
11027
+ },
11028
+ {
11029
+ "name": "commitEnd",
11030
+ "type": "uint64",
11031
+ "internalType": "uint64"
11032
+ },
11033
+ {
11034
+ "name": "revealEnd",
11035
+ "type": "uint64",
11036
+ "internalType": "uint64"
11037
+ },
11038
+ {
11039
+ "name": "tlockRound",
11040
+ "type": "uint64",
11041
+ "internalType": "uint64"
11042
+ },
11043
+ {
11044
+ "name": "floor",
11045
+ "type": "uint128",
11046
+ "internalType": "uint128"
11047
+ },
11048
+ {
11049
+ "name": "tickSize",
11050
+ "type": "uint128",
11051
+ "internalType": "uint128"
11052
+ },
11053
+ {
11054
+ "name": "gtdPrice",
11055
+ "type": "uint128",
11056
+ "internalType": "uint128"
11057
+ },
11058
+ {
11059
+ "name": "gtdRoot",
11060
+ "type": "bytes32",
11061
+ "internalType": "bytes32"
11062
+ },
11063
+ {
11064
+ "name": "wlRoot",
11065
+ "type": "bytes32",
11066
+ "internalType": "bytes32"
11067
+ }
11068
+ ]
11069
+ }
11070
+ ],
11071
+ "stateMutability": "view"
11072
+ },
11073
+ {
11074
+ "type": "function",
11075
+ "name": "phase",
11076
+ "inputs": [],
11077
+ "outputs": [
11078
+ {
11079
+ "name": "",
11080
+ "type": "uint8",
11081
+ "internalType": "uint8"
11082
+ }
11083
+ ],
11084
+ "stateMutability": "view"
11085
+ },
11086
+ {
11087
+ "type": "function",
11088
+ "name": "priceAt",
11089
+ "inputs": [
11090
+ {
11091
+ "name": "tick",
11092
+ "type": "uint16",
11093
+ "internalType": "uint16"
11094
+ }
11095
+ ],
11096
+ "outputs": [
11097
+ {
11098
+ "name": "",
11099
+ "type": "uint256",
11100
+ "internalType": "uint256"
11101
+ }
11102
+ ],
11103
+ "stateMutability": "view"
11104
+ },
11105
+ {
11106
+ "type": "function",
11107
+ "name": "refundOwed",
11108
+ "inputs": [
11109
+ {
11110
+ "name": "",
11111
+ "type": "address",
11112
+ "internalType": "address"
11113
+ }
11114
+ ],
11115
+ "outputs": [
11116
+ {
11117
+ "name": "",
11118
+ "type": "uint256",
11119
+ "internalType": "uint256"
11120
+ }
11121
+ ],
11122
+ "stateMutability": "view"
11123
+ },
11124
+ {
11125
+ "type": "function",
11126
+ "name": "reveal",
11127
+ "inputs": [
11128
+ {
11129
+ "name": "id",
11130
+ "type": "uint256",
11131
+ "internalType": "uint256"
11132
+ },
11133
+ {
11134
+ "name": "tick",
11135
+ "type": "uint16",
11136
+ "internalType": "uint16"
11137
+ },
11138
+ {
11139
+ "name": "quantity",
11140
+ "type": "uint128",
11141
+ "internalType": "uint128"
11142
+ },
11143
+ {
11144
+ "name": "salt",
11145
+ "type": "bytes32",
11146
+ "internalType": "bytes32"
11147
+ }
11148
+ ],
11149
+ "outputs": [],
11150
+ "stateMutability": "nonpayable"
11151
+ },
11152
+ {
11153
+ "type": "function",
11154
+ "name": "revealBatch",
11155
+ "inputs": [
11156
+ {
11157
+ "name": "reveals",
11158
+ "type": "tuple[]",
11159
+ "internalType": "struct CloakDrop.Reveal[]",
11160
+ "components": [
11161
+ {
11162
+ "name": "id",
11163
+ "type": "uint256",
11164
+ "internalType": "uint256"
11165
+ },
11166
+ {
11167
+ "name": "tick",
11168
+ "type": "uint16",
11169
+ "internalType": "uint16"
11170
+ },
11171
+ {
11172
+ "name": "quantity",
11173
+ "type": "uint128",
11174
+ "internalType": "uint128"
11175
+ },
11176
+ {
11177
+ "name": "salt",
11178
+ "type": "bytes32",
11179
+ "internalType": "bytes32"
11180
+ }
11181
+ ]
11182
+ }
11183
+ ],
11184
+ "outputs": [
11185
+ {
11186
+ "name": "ok",
11187
+ "type": "uint256",
11188
+ "internalType": "uint256"
11189
+ }
11190
+ ],
11191
+ "stateMutability": "nonpayable"
11192
+ },
11193
+ {
11194
+ "type": "function",
11195
+ "name": "revealCount",
11196
+ "inputs": [],
11197
+ "outputs": [
11198
+ {
11199
+ "name": "",
11200
+ "type": "uint256",
11201
+ "internalType": "uint256"
11202
+ }
11203
+ ],
11204
+ "stateMutability": "view"
11205
+ },
11206
+ {
11207
+ "type": "function",
11208
+ "name": "royaltyInfo",
11209
+ "inputs": [
11210
+ {
11211
+ "name": "",
11212
+ "type": "uint256",
11213
+ "internalType": "uint256"
11214
+ },
11215
+ {
11216
+ "name": "salePrice",
11217
+ "type": "uint256",
11218
+ "internalType": "uint256"
11219
+ }
11220
+ ],
11221
+ "outputs": [
11222
+ {
11223
+ "name": "",
11224
+ "type": "address",
11225
+ "internalType": "address"
11226
+ },
11227
+ {
11228
+ "name": "",
11229
+ "type": "uint256",
11230
+ "internalType": "uint256"
11231
+ }
11232
+ ],
11233
+ "stateMutability": "view"
11234
+ },
11235
+ {
11236
+ "type": "function",
11237
+ "name": "safeTransferFrom",
11238
+ "inputs": [
11239
+ {
11240
+ "name": "from",
11241
+ "type": "address",
11242
+ "internalType": "address"
11243
+ },
11244
+ {
11245
+ "name": "to",
11246
+ "type": "address",
11247
+ "internalType": "address"
11248
+ },
11249
+ {
11250
+ "name": "tokenId",
11251
+ "type": "uint256",
11252
+ "internalType": "uint256"
11253
+ }
11254
+ ],
11255
+ "outputs": [],
11256
+ "stateMutability": "nonpayable"
11257
+ },
11258
+ {
11259
+ "type": "function",
11260
+ "name": "safeTransferFrom",
11261
+ "inputs": [
11262
+ {
11263
+ "name": "from",
11264
+ "type": "address",
11265
+ "internalType": "address"
11266
+ },
11267
+ {
11268
+ "name": "to",
11269
+ "type": "address",
11270
+ "internalType": "address"
11271
+ },
11272
+ {
11273
+ "name": "tokenId",
11274
+ "type": "uint256",
11275
+ "internalType": "uint256"
11276
+ },
11277
+ {
11278
+ "name": "data",
11279
+ "type": "bytes",
11280
+ "internalType": "bytes"
11281
+ }
11282
+ ],
11283
+ "outputs": [],
11284
+ "stateMutability": "nonpayable"
11285
+ },
11286
+ {
11287
+ "type": "function",
11288
+ "name": "scoreOf",
11289
+ "inputs": [
11290
+ {
11291
+ "name": "tick",
11292
+ "type": "uint16",
11293
+ "internalType": "uint16"
11294
+ },
11295
+ {
11296
+ "name": "wl",
11297
+ "type": "bool",
11298
+ "internalType": "bool"
11299
+ }
11300
+ ],
11301
+ "outputs": [
11302
+ {
11303
+ "name": "",
11304
+ "type": "uint256",
11305
+ "internalType": "uint256"
11306
+ }
11307
+ ],
11308
+ "stateMutability": "view"
11309
+ },
11310
+ {
11311
+ "type": "function",
11312
+ "name": "setApprovalForAll",
11313
+ "inputs": [
11314
+ {
11315
+ "name": "operator",
11316
+ "type": "address",
11317
+ "internalType": "address"
11318
+ },
11319
+ {
11320
+ "name": "approved",
11321
+ "type": "bool",
11322
+ "internalType": "bool"
11323
+ }
11324
+ ],
11325
+ "outputs": [],
11326
+ "stateMutability": "nonpayable"
11327
+ },
11328
+ {
11329
+ "type": "function",
11330
+ "name": "settle",
11331
+ "inputs": [],
11332
+ "outputs": [],
11333
+ "stateMutability": "nonpayable"
11334
+ },
11335
+ {
11336
+ "type": "function",
11337
+ "name": "settled",
11338
+ "inputs": [],
11339
+ "outputs": [
11340
+ {
11341
+ "name": "",
11342
+ "type": "bool",
11343
+ "internalType": "bool"
11344
+ }
11345
+ ],
11346
+ "stateMutability": "view"
11347
+ },
11348
+ {
11349
+ "type": "function",
11350
+ "name": "sold",
11351
+ "inputs": [],
11352
+ "outputs": [
11353
+ {
11354
+ "name": "",
11355
+ "type": "uint32",
11356
+ "internalType": "uint32"
11357
+ }
11358
+ ],
11359
+ "stateMutability": "view"
11360
+ },
11361
+ {
11362
+ "type": "function",
11363
+ "name": "supportsInterface",
11364
+ "inputs": [
11365
+ {
11366
+ "name": "id",
11367
+ "type": "bytes4",
11368
+ "internalType": "bytes4"
11369
+ }
11370
+ ],
11371
+ "outputs": [
11372
+ {
11373
+ "name": "",
11374
+ "type": "bool",
11375
+ "internalType": "bool"
11376
+ }
11377
+ ],
11378
+ "stateMutability": "pure"
11379
+ },
11380
+ {
11381
+ "type": "function",
11382
+ "name": "symbol",
11383
+ "inputs": [],
11384
+ "outputs": [
11385
+ {
11386
+ "name": "",
11387
+ "type": "string",
11388
+ "internalType": "string"
11389
+ }
11390
+ ],
11391
+ "stateMutability": "view"
11392
+ },
11393
+ {
11394
+ "type": "function",
11395
+ "name": "tieAssigned",
11396
+ "inputs": [],
11397
+ "outputs": [
11398
+ {
11399
+ "name": "",
11400
+ "type": "uint32",
11401
+ "internalType": "uint32"
11402
+ }
11403
+ ],
11404
+ "stateMutability": "view"
11405
+ },
11406
+ {
11407
+ "type": "function",
11408
+ "name": "tieCursor",
11409
+ "inputs": [],
11410
+ "outputs": [
11411
+ {
11412
+ "name": "",
11413
+ "type": "uint256",
11414
+ "internalType": "uint256"
11415
+ }
11416
+ ],
11417
+ "stateMutability": "view"
11418
+ },
11419
+ {
11420
+ "type": "function",
11421
+ "name": "tieDemand",
11422
+ "inputs": [],
11423
+ "outputs": [
11424
+ {
11425
+ "name": "",
11426
+ "type": "uint32",
11427
+ "internalType": "uint32"
11428
+ }
11429
+ ],
11430
+ "stateMutability": "view"
11431
+ },
11432
+ {
11433
+ "type": "function",
11434
+ "name": "tieRandom",
11435
+ "inputs": [],
11436
+ "outputs": [
11437
+ {
11438
+ "name": "",
11439
+ "type": "uint256",
11440
+ "internalType": "uint256"
11441
+ }
11442
+ ],
11443
+ "stateMutability": "view"
11444
+ },
11445
+ {
11446
+ "type": "function",
11447
+ "name": "tieSupply",
11448
+ "inputs": [],
11449
+ "outputs": [
11450
+ {
11451
+ "name": "",
11452
+ "type": "uint32",
11453
+ "internalType": "uint32"
11454
+ }
11455
+ ],
11456
+ "stateMutability": "view"
11457
+ },
11458
+ {
11459
+ "type": "function",
11460
+ "name": "tiesReady",
11461
+ "inputs": [],
11462
+ "outputs": [
11463
+ {
11464
+ "name": "",
11465
+ "type": "bool",
11466
+ "internalType": "bool"
11467
+ }
11468
+ ],
11469
+ "stateMutability": "view"
11470
+ },
11471
+ {
11472
+ "type": "function",
11473
+ "name": "tokenURI",
11474
+ "inputs": [
11475
+ {
11476
+ "name": "tokenId",
11477
+ "type": "uint256",
11478
+ "internalType": "uint256"
11479
+ }
11480
+ ],
11481
+ "outputs": [
11482
+ {
11483
+ "name": "",
11484
+ "type": "string",
11485
+ "internalType": "string"
11486
+ }
11487
+ ],
11488
+ "stateMutability": "view"
11489
+ },
11490
+ {
11491
+ "type": "function",
11492
+ "name": "totalDemand",
11493
+ "inputs": [],
11494
+ "outputs": [
11495
+ {
11496
+ "name": "",
11497
+ "type": "uint256",
11498
+ "internalType": "uint256"
11499
+ }
11500
+ ],
11501
+ "stateMutability": "view"
11502
+ },
11503
+ {
11504
+ "type": "function",
11505
+ "name": "totalDeposits",
11506
+ "inputs": [],
11507
+ "outputs": [
11508
+ {
11509
+ "name": "",
11510
+ "type": "uint256",
11511
+ "internalType": "uint256"
11512
+ }
11513
+ ],
11514
+ "stateMutability": "view"
11515
+ },
11516
+ {
11517
+ "type": "function",
11518
+ "name": "totalSupply",
11519
+ "inputs": [],
11520
+ "outputs": [
11521
+ {
11522
+ "name": "",
11523
+ "type": "uint256",
11524
+ "internalType": "uint256"
11525
+ }
11526
+ ],
11527
+ "stateMutability": "view"
11528
+ },
11529
+ {
11530
+ "type": "function",
11531
+ "name": "transferFrom",
11532
+ "inputs": [
11533
+ {
11534
+ "name": "from",
11535
+ "type": "address",
11536
+ "internalType": "address"
11537
+ },
11538
+ {
11539
+ "name": "to",
11540
+ "type": "address",
11541
+ "internalType": "address"
11542
+ },
11543
+ {
11544
+ "name": "tokenId",
11545
+ "type": "uint256",
11546
+ "internalType": "uint256"
11547
+ }
11548
+ ],
11549
+ "outputs": [],
11550
+ "stateMutability": "nonpayable"
11551
+ },
11552
+ {
11553
+ "type": "function",
11554
+ "name": "unitPrice",
11555
+ "inputs": [
11556
+ {
11557
+ "name": "wl",
11558
+ "type": "bool",
11559
+ "internalType": "bool"
11560
+ }
11561
+ ],
11562
+ "outputs": [
11563
+ {
11564
+ "name": "",
11565
+ "type": "uint256",
11566
+ "internalType": "uint256"
11567
+ }
11568
+ ],
11569
+ "stateMutability": "view"
11570
+ },
11571
+ {
11572
+ "type": "function",
11573
+ "name": "unsoldMinted",
11574
+ "inputs": [],
11575
+ "outputs": [
11576
+ {
11577
+ "name": "",
11578
+ "type": "uint32",
11579
+ "internalType": "uint32"
11580
+ }
11581
+ ],
11582
+ "stateMutability": "view"
11583
+ },
11584
+ {
11585
+ "type": "function",
11586
+ "name": "withdrawProceeds",
11587
+ "inputs": [],
11588
+ "outputs": [],
11589
+ "stateMutability": "nonpayable"
11590
+ },
11591
+ {
11592
+ "type": "function",
11593
+ "name": "withdrawRefund",
11594
+ "inputs": [
11595
+ {
11596
+ "name": "to",
11597
+ "type": "address",
11598
+ "internalType": "address"
11599
+ }
11600
+ ],
11601
+ "outputs": [],
11602
+ "stateMutability": "nonpayable"
11603
+ },
11604
+ {
11605
+ "type": "event",
11606
+ "name": "Approval",
11607
+ "inputs": [
11608
+ {
11609
+ "name": "owner",
11610
+ "type": "address",
11611
+ "indexed": true,
11612
+ "internalType": "address"
11613
+ },
11614
+ {
11615
+ "name": "approved",
11616
+ "type": "address",
11617
+ "indexed": true,
11618
+ "internalType": "address"
11619
+ },
11620
+ {
11621
+ "name": "tokenId",
11622
+ "type": "uint256",
11623
+ "indexed": true,
11624
+ "internalType": "uint256"
11625
+ }
11626
+ ],
11627
+ "anonymous": false
11628
+ },
11629
+ {
11630
+ "type": "event",
11631
+ "name": "ApprovalForAll",
11632
+ "inputs": [
11633
+ {
11634
+ "name": "owner",
11635
+ "type": "address",
11636
+ "indexed": true,
11637
+ "internalType": "address"
11638
+ },
11639
+ {
11640
+ "name": "operator",
11641
+ "type": "address",
11642
+ "indexed": true,
11643
+ "internalType": "address"
11644
+ },
11645
+ {
11646
+ "name": "approved",
11647
+ "type": "bool",
11648
+ "indexed": false,
11649
+ "internalType": "bool"
11650
+ }
11651
+ ],
11652
+ "anonymous": false
11653
+ },
11654
+ {
11655
+ "type": "event",
11656
+ "name": "Claimed",
11657
+ "inputs": [
11658
+ {
11659
+ "name": "id",
11660
+ "type": "uint256",
11661
+ "indexed": true,
11662
+ "internalType": "uint256"
11663
+ },
11664
+ {
11665
+ "name": "bidder",
11666
+ "type": "address",
11667
+ "indexed": true,
11668
+ "internalType": "address"
11669
+ },
11670
+ {
11671
+ "name": "to",
11672
+ "type": "address",
11673
+ "indexed": false,
11674
+ "internalType": "address"
11675
+ },
11676
+ {
11677
+ "name": "nfts",
11678
+ "type": "uint32",
11679
+ "indexed": false,
11680
+ "internalType": "uint32"
11681
+ },
11682
+ {
11683
+ "name": "paid",
11684
+ "type": "uint256",
11685
+ "indexed": false,
11686
+ "internalType": "uint256"
11687
+ },
11688
+ {
11689
+ "name": "refund",
11690
+ "type": "uint256",
11691
+ "indexed": false,
11692
+ "internalType": "uint256"
11693
+ },
11694
+ {
11695
+ "name": "penalty",
11696
+ "type": "uint256",
11697
+ "indexed": false,
11698
+ "internalType": "uint256"
11699
+ }
11700
+ ],
11701
+ "anonymous": false
11702
+ },
11703
+ {
11704
+ "type": "event",
11705
+ "name": "Committed",
11706
+ "inputs": [
11707
+ {
11708
+ "name": "id",
11709
+ "type": "uint256",
11710
+ "indexed": true,
11711
+ "internalType": "uint256"
11712
+ },
11713
+ {
11714
+ "name": "bidder",
11715
+ "type": "address",
11716
+ "indexed": true,
11717
+ "internalType": "address"
11718
+ },
11719
+ {
11720
+ "name": "deposit",
11721
+ "type": "uint256",
11722
+ "indexed": false,
11723
+ "internalType": "uint256"
11724
+ },
11725
+ {
11726
+ "name": "wl",
11727
+ "type": "bool",
11728
+ "indexed": false,
11729
+ "internalType": "bool"
11730
+ },
11731
+ {
11732
+ "name": "commitment",
11733
+ "type": "bytes32",
11734
+ "indexed": false,
11735
+ "internalType": "bytes32"
11736
+ },
11737
+ {
11738
+ "name": "sealedBid",
11739
+ "type": "bytes",
11740
+ "indexed": false,
11741
+ "internalType": "bytes"
11742
+ }
11743
+ ],
11744
+ "anonymous": false
11745
+ },
11746
+ {
11747
+ "type": "event",
11748
+ "name": "Failed",
11749
+ "inputs": [],
11750
+ "anonymous": false
11751
+ },
11752
+ {
11753
+ "type": "event",
11754
+ "name": "FeesCollected",
11755
+ "inputs": [
11756
+ {
11757
+ "name": "to",
11758
+ "type": "address",
11759
+ "indexed": false,
11760
+ "internalType": "address"
11761
+ },
11762
+ {
11763
+ "name": "amount",
11764
+ "type": "uint256",
11765
+ "indexed": false,
11766
+ "internalType": "uint256"
11767
+ }
11768
+ ],
11769
+ "anonymous": false
11770
+ },
11771
+ {
11772
+ "type": "event",
11773
+ "name": "GtdMinted",
11774
+ "inputs": [
11775
+ {
11776
+ "name": "wallet",
11777
+ "type": "address",
11778
+ "indexed": true,
11779
+ "internalType": "address"
11780
+ },
11781
+ {
11782
+ "name": "quantity",
11783
+ "type": "uint32",
11784
+ "indexed": false,
11785
+ "internalType": "uint32"
11786
+ },
11787
+ {
11788
+ "name": "paid",
11789
+ "type": "uint256",
11790
+ "indexed": false,
11791
+ "internalType": "uint256"
11792
+ }
11793
+ ],
11794
+ "anonymous": false
11795
+ },
11796
+ {
11797
+ "type": "event",
11798
+ "name": "ProceedsWithdrawn",
11799
+ "inputs": [
11800
+ {
11801
+ "name": "to",
11802
+ "type": "address",
11803
+ "indexed": false,
11804
+ "internalType": "address"
11805
+ },
11806
+ {
11807
+ "name": "amount",
11808
+ "type": "uint256",
11809
+ "indexed": false,
11810
+ "internalType": "uint256"
11811
+ }
11812
+ ],
11813
+ "anonymous": false
11814
+ },
11815
+ {
11816
+ "type": "event",
11817
+ "name": "RefundHeld",
11818
+ "inputs": [
11819
+ {
11820
+ "name": "bidder",
11821
+ "type": "address",
11822
+ "indexed": true,
11823
+ "internalType": "address"
11824
+ },
11825
+ {
11826
+ "name": "amount",
11827
+ "type": "uint256",
11828
+ "indexed": false,
11829
+ "internalType": "uint256"
11830
+ }
11831
+ ],
11832
+ "anonymous": false
11833
+ },
11834
+ {
11835
+ "type": "event",
11836
+ "name": "RefundWithdrawn",
11837
+ "inputs": [
11838
+ {
11839
+ "name": "bidder",
11840
+ "type": "address",
11841
+ "indexed": true,
11842
+ "internalType": "address"
11843
+ },
11844
+ {
11845
+ "name": "to",
11846
+ "type": "address",
11847
+ "indexed": false,
11848
+ "internalType": "address"
11849
+ },
11850
+ {
11851
+ "name": "amount",
11852
+ "type": "uint256",
11853
+ "indexed": false,
11854
+ "internalType": "uint256"
11855
+ }
11856
+ ],
11857
+ "anonymous": false
11858
+ },
11859
+ {
11860
+ "type": "event",
11861
+ "name": "Revealed",
11862
+ "inputs": [
11863
+ {
11864
+ "name": "id",
11865
+ "type": "uint256",
11866
+ "indexed": true,
11867
+ "internalType": "uint256"
11868
+ },
11869
+ {
11870
+ "name": "bidder",
11871
+ "type": "address",
11872
+ "indexed": true,
11873
+ "internalType": "address"
11874
+ },
11875
+ {
11876
+ "name": "tick",
11877
+ "type": "uint16",
11878
+ "indexed": false,
11879
+ "internalType": "uint16"
11880
+ },
11881
+ {
11882
+ "name": "quantity",
11883
+ "type": "uint256",
11884
+ "indexed": false,
11885
+ "internalType": "uint256"
11886
+ }
11887
+ ],
11888
+ "anonymous": false
11889
+ },
11890
+ {
11891
+ "type": "event",
11892
+ "name": "Settled",
11893
+ "inputs": [
11894
+ {
11895
+ "name": "clearingScore",
11896
+ "type": "uint256",
11897
+ "indexed": false,
11898
+ "internalType": "uint256"
11899
+ },
11900
+ {
11901
+ "name": "sold",
11902
+ "type": "uint32",
11903
+ "indexed": false,
11904
+ "internalType": "uint32"
11905
+ },
11906
+ {
11907
+ "name": "tieSupply",
11908
+ "type": "uint32",
11909
+ "indexed": false,
11910
+ "internalType": "uint32"
11911
+ },
11912
+ {
11913
+ "name": "tieDemand",
11914
+ "type": "uint32",
11915
+ "indexed": false,
11916
+ "internalType": "uint32"
11917
+ }
11918
+ ],
11919
+ "anonymous": false
11920
+ },
11921
+ {
11922
+ "type": "event",
11923
+ "name": "TiesReady",
11924
+ "inputs": [
11925
+ {
11926
+ "name": "random",
11927
+ "type": "uint256",
11928
+ "indexed": false,
11929
+ "internalType": "uint256"
11930
+ }
11931
+ ],
11932
+ "anonymous": false
11933
+ },
11934
+ {
11935
+ "type": "event",
11936
+ "name": "Transfer",
11937
+ "inputs": [
11938
+ {
11939
+ "name": "from",
11940
+ "type": "address",
11941
+ "indexed": true,
11942
+ "internalType": "address"
11943
+ },
11944
+ {
11945
+ "name": "to",
11946
+ "type": "address",
11947
+ "indexed": true,
11948
+ "internalType": "address"
11949
+ },
11950
+ {
11951
+ "name": "tokenId",
11952
+ "type": "uint256",
11953
+ "indexed": true,
11954
+ "internalType": "uint256"
11955
+ }
11956
+ ],
11957
+ "anonymous": false
11958
+ },
11959
+ {
11960
+ "type": "event",
11961
+ "name": "UnsoldMinted",
11962
+ "inputs": [
11963
+ {
11964
+ "name": "to",
11965
+ "type": "address",
11966
+ "indexed": false,
11967
+ "internalType": "address"
11968
+ },
11969
+ {
11970
+ "name": "quantity",
11971
+ "type": "uint32",
11972
+ "indexed": false,
11973
+ "internalType": "uint32"
11974
+ }
11975
+ ],
11976
+ "anonymous": false
11977
+ }
11978
+ ];
11979
+ export const cloakDropFactoryAbi = [
11980
+ {
11981
+ "type": "constructor",
11982
+ "inputs": [
11983
+ {
11984
+ "name": "config_",
11985
+ "type": "address",
11986
+ "internalType": "contract CloakConfig"
11987
+ },
11988
+ {
11989
+ "name": "defaultBaseURI_",
11990
+ "type": "string",
11991
+ "internalType": "string"
11992
+ }
11993
+ ],
11994
+ "stateMutability": "nonpayable"
11995
+ },
11996
+ {
11997
+ "type": "function",
11998
+ "name": "MAX_DETAILS",
11999
+ "inputs": [],
12000
+ "outputs": [
12001
+ {
12002
+ "name": "",
12003
+ "type": "uint256",
12004
+ "internalType": "uint256"
12005
+ }
12006
+ ],
12007
+ "stateMutability": "view"
12008
+ },
12009
+ {
12010
+ "type": "function",
12011
+ "name": "config",
12012
+ "inputs": [],
12013
+ "outputs": [
12014
+ {
12015
+ "name": "",
12016
+ "type": "address",
12017
+ "internalType": "contract CloakConfig"
12018
+ }
12019
+ ],
12020
+ "stateMutability": "view"
12021
+ },
12022
+ {
12023
+ "type": "function",
12024
+ "name": "createDrop",
12025
+ "inputs": [
12026
+ {
12027
+ "name": "p",
12028
+ "type": "tuple",
12029
+ "internalType": "struct CloakDrop.Params",
12030
+ "components": [
12031
+ {
12032
+ "name": "creator",
12033
+ "type": "address",
12034
+ "internalType": "address"
12035
+ },
12036
+ {
12037
+ "name": "supply",
12038
+ "type": "uint32",
12039
+ "internalType": "uint32"
12040
+ },
12041
+ {
12042
+ "name": "maxPerBid",
12043
+ "type": "uint32",
12044
+ "internalType": "uint32"
12045
+ },
12046
+ {
12047
+ "name": "numTicks",
12048
+ "type": "uint16",
12049
+ "internalType": "uint16"
12050
+ },
12051
+ {
12052
+ "name": "wlBoostBps",
12053
+ "type": "uint16",
12054
+ "internalType": "uint16"
12055
+ },
12056
+ {
12057
+ "name": "royaltyBps",
12058
+ "type": "uint16",
12059
+ "internalType": "uint16"
12060
+ },
12061
+ {
12062
+ "name": "gtdEnd",
12063
+ "type": "uint64",
12064
+ "internalType": "uint64"
12065
+ },
12066
+ {
12067
+ "name": "commitEnd",
12068
+ "type": "uint64",
12069
+ "internalType": "uint64"
12070
+ },
12071
+ {
12072
+ "name": "revealEnd",
12073
+ "type": "uint64",
12074
+ "internalType": "uint64"
12075
+ },
12076
+ {
12077
+ "name": "tlockRound",
12078
+ "type": "uint64",
12079
+ "internalType": "uint64"
12080
+ },
12081
+ {
12082
+ "name": "floor",
12083
+ "type": "uint128",
12084
+ "internalType": "uint128"
12085
+ },
12086
+ {
12087
+ "name": "tickSize",
12088
+ "type": "uint128",
12089
+ "internalType": "uint128"
12090
+ },
12091
+ {
12092
+ "name": "gtdPrice",
12093
+ "type": "uint128",
12094
+ "internalType": "uint128"
12095
+ },
12096
+ {
12097
+ "name": "gtdRoot",
12098
+ "type": "bytes32",
12099
+ "internalType": "bytes32"
12100
+ },
12101
+ {
12102
+ "name": "wlRoot",
12103
+ "type": "bytes32",
12104
+ "internalType": "bytes32"
12105
+ }
12106
+ ]
12107
+ },
12108
+ {
12109
+ "name": "name",
12110
+ "type": "string",
12111
+ "internalType": "string"
12112
+ },
12113
+ {
12114
+ "name": "symbol",
12115
+ "type": "string",
12116
+ "internalType": "string"
12117
+ },
12118
+ {
12119
+ "name": "baseURI",
12120
+ "type": "string",
12121
+ "internalType": "string"
12122
+ },
12123
+ {
12124
+ "name": "details",
12125
+ "type": "string",
12126
+ "internalType": "string"
12127
+ }
12128
+ ],
12129
+ "outputs": [
12130
+ {
12131
+ "name": "d",
12132
+ "type": "address",
12133
+ "internalType": "contract CloakDrop"
12134
+ }
12135
+ ],
12136
+ "stateMutability": "nonpayable"
12137
+ },
12138
+ {
12139
+ "type": "function",
12140
+ "name": "defaultBaseURI",
12141
+ "inputs": [],
12142
+ "outputs": [
12143
+ {
12144
+ "name": "",
12145
+ "type": "string",
12146
+ "internalType": "string"
12147
+ }
12148
+ ],
12149
+ "stateMutability": "view"
12150
+ },
12151
+ {
12152
+ "type": "function",
12153
+ "name": "drops",
12154
+ "inputs": [
12155
+ {
12156
+ "name": "",
12157
+ "type": "uint256",
12158
+ "internalType": "uint256"
12159
+ }
12160
+ ],
12161
+ "outputs": [
12162
+ {
12163
+ "name": "",
12164
+ "type": "address",
12165
+ "internalType": "address"
12166
+ }
12167
+ ],
12168
+ "stateMutability": "view"
12169
+ },
12170
+ {
12171
+ "type": "function",
12172
+ "name": "dropsCount",
12173
+ "inputs": [],
12174
+ "outputs": [
12175
+ {
12176
+ "name": "",
12177
+ "type": "uint256",
12178
+ "internalType": "uint256"
12179
+ }
12180
+ ],
12181
+ "stateMutability": "view"
12182
+ },
12183
+ {
12184
+ "type": "event",
12185
+ "name": "DropCreated",
12186
+ "inputs": [
12187
+ {
12188
+ "name": "index",
12189
+ "type": "uint256",
12190
+ "indexed": true,
12191
+ "internalType": "uint256"
12192
+ },
12193
+ {
12194
+ "name": "drop",
12195
+ "type": "address",
12196
+ "indexed": true,
12197
+ "internalType": "address"
12198
+ },
12199
+ {
12200
+ "name": "creator",
12201
+ "type": "address",
12202
+ "indexed": true,
12203
+ "internalType": "address"
12204
+ },
12205
+ {
12206
+ "name": "name",
12207
+ "type": "string",
12208
+ "indexed": false,
12209
+ "internalType": "string"
12210
+ },
12211
+ {
12212
+ "name": "symbol",
12213
+ "type": "string",
12214
+ "indexed": false,
12215
+ "internalType": "string"
12216
+ }
12217
+ ],
12218
+ "anonymous": false
12219
+ },
12220
+ {
12221
+ "type": "event",
12222
+ "name": "DropDetails",
12223
+ "inputs": [
12224
+ {
12225
+ "name": "drop",
12226
+ "type": "address",
12227
+ "indexed": true,
12228
+ "internalType": "address"
12229
+ },
12230
+ {
12231
+ "name": "details",
12232
+ "type": "string",
12233
+ "indexed": false,
12234
+ "internalType": "string"
12235
+ }
12236
+ ],
12237
+ "anonymous": false
12238
+ }
12239
+ ];
12240
+ export const cloakSpotBookAbi = [
12241
+ {
12242
+ "type": "constructor",
12243
+ "inputs": [
12244
+ {
12245
+ "name": "factory_",
12246
+ "type": "address",
12247
+ "internalType": "contract CloakDropFactory"
12248
+ }
12249
+ ],
12250
+ "stateMutability": "nonpayable"
12251
+ },
12252
+ {
12253
+ "type": "function",
12254
+ "name": "MAX_PARTNER",
12255
+ "inputs": [],
12256
+ "outputs": [
12257
+ {
12258
+ "name": "",
12259
+ "type": "uint256",
12260
+ "internalType": "uint256"
12261
+ }
12262
+ ],
12263
+ "stateMutability": "view"
12264
+ },
12265
+ {
12266
+ "type": "function",
12267
+ "name": "MAX_WALLET_WINDOW",
12268
+ "inputs": [],
12269
+ "outputs": [
12270
+ {
12271
+ "name": "",
12272
+ "type": "uint256",
12273
+ "internalType": "uint256"
12274
+ }
12275
+ ],
12276
+ "stateMutability": "view"
12277
+ },
12278
+ {
12279
+ "type": "function",
12280
+ "name": "factory",
12281
+ "inputs": [],
12282
+ "outputs": [
12283
+ {
12284
+ "name": "",
12285
+ "type": "address",
12286
+ "internalType": "contract CloakDropFactory"
12287
+ }
12288
+ ],
12289
+ "stateMutability": "view"
12290
+ },
12291
+ {
12292
+ "type": "function",
12293
+ "name": "list",
12294
+ "inputs": [
12295
+ {
12296
+ "name": "drop",
12297
+ "type": "address",
12298
+ "internalType": "address"
12299
+ }
12300
+ ],
12301
+ "outputs": [
12302
+ {
12303
+ "name": "bidIds",
12304
+ "type": "uint256[]",
12305
+ "internalType": "uint256[]"
12306
+ },
12307
+ {
12308
+ "name": "wallets",
12309
+ "type": "address[]",
12310
+ "internalType": "address[]"
12311
+ }
12312
+ ],
12313
+ "stateMutability": "view"
12314
+ },
12315
+ {
12316
+ "type": "function",
12317
+ "name": "open",
12318
+ "inputs": [
12319
+ {
12320
+ "name": "dropIndex",
12321
+ "type": "uint256",
12322
+ "internalType": "uint256"
12323
+ },
12324
+ {
12325
+ "name": "partner",
12326
+ "type": "string",
12327
+ "internalType": "string"
12328
+ },
12329
+ {
12330
+ "name": "deadline",
12331
+ "type": "uint64",
12332
+ "internalType": "uint64"
12333
+ }
12334
+ ],
12335
+ "outputs": [
12336
+ {
12337
+ "name": "drop",
12338
+ "type": "address",
12339
+ "internalType": "address"
12340
+ }
12341
+ ],
12342
+ "stateMutability": "nonpayable"
12343
+ },
12344
+ {
12345
+ "type": "function",
12346
+ "name": "sale",
12347
+ "inputs": [
12348
+ {
12349
+ "name": "drop",
12350
+ "type": "address",
12351
+ "internalType": "address"
12352
+ }
12353
+ ],
12354
+ "outputs": [
12355
+ {
12356
+ "name": "",
12357
+ "type": "tuple",
12358
+ "internalType": "struct CloakSpotBook.Sale",
12359
+ "components": [
12360
+ {
12361
+ "name": "open",
12362
+ "type": "bool",
12363
+ "internalType": "bool"
12364
+ },
12365
+ {
12366
+ "name": "deadline",
12367
+ "type": "uint64",
12368
+ "internalType": "uint64"
12369
+ },
12370
+ {
12371
+ "name": "partner",
12372
+ "type": "string",
12373
+ "internalType": "string"
12374
+ }
12375
+ ]
12376
+ }
12377
+ ],
12378
+ "stateMutability": "view"
12379
+ },
12380
+ {
12381
+ "type": "function",
12382
+ "name": "sales",
12383
+ "inputs": [
12384
+ {
12385
+ "name": "",
12386
+ "type": "uint256",
12387
+ "internalType": "uint256"
12388
+ }
12389
+ ],
12390
+ "outputs": [
12391
+ {
12392
+ "name": "",
12393
+ "type": "address",
12394
+ "internalType": "address"
12395
+ }
12396
+ ],
12397
+ "stateMutability": "view"
12398
+ },
12399
+ {
12400
+ "type": "function",
12401
+ "name": "salesCount",
12402
+ "inputs": [],
12403
+ "outputs": [
12404
+ {
12405
+ "name": "",
12406
+ "type": "uint256",
12407
+ "internalType": "uint256"
12408
+ }
12409
+ ],
12410
+ "stateMutability": "view"
12411
+ },
12412
+ {
12413
+ "type": "function",
12414
+ "name": "setWallets",
12415
+ "inputs": [
12416
+ {
12417
+ "name": "drop",
12418
+ "type": "address",
12419
+ "internalType": "address"
12420
+ },
12421
+ {
12422
+ "name": "bidId",
12423
+ "type": "uint256",
12424
+ "internalType": "uint256"
12425
+ },
12426
+ {
12427
+ "name": "wallets",
12428
+ "type": "address[]",
12429
+ "internalType": "address[]"
12430
+ }
12431
+ ],
12432
+ "outputs": [],
12433
+ "stateMutability": "nonpayable"
12434
+ },
12435
+ {
12436
+ "type": "function",
12437
+ "name": "spotOf",
12438
+ "inputs": [
12439
+ {
12440
+ "name": "",
12441
+ "type": "address",
12442
+ "internalType": "address"
12443
+ },
12444
+ {
12445
+ "name": "",
12446
+ "type": "address",
12447
+ "internalType": "address"
12448
+ }
12449
+ ],
12450
+ "outputs": [
12451
+ {
12452
+ "name": "",
12453
+ "type": "uint256",
12454
+ "internalType": "uint256"
12455
+ }
12456
+ ],
12457
+ "stateMutability": "view"
12458
+ },
12459
+ {
12460
+ "type": "function",
12461
+ "name": "walletsOf",
12462
+ "inputs": [
12463
+ {
12464
+ "name": "drop",
12465
+ "type": "address",
12466
+ "internalType": "address"
12467
+ },
12468
+ {
12469
+ "name": "bidId",
12470
+ "type": "uint256",
12471
+ "internalType": "uint256"
12472
+ }
12473
+ ],
12474
+ "outputs": [
12475
+ {
12476
+ "name": "",
12477
+ "type": "address[]",
12478
+ "internalType": "address[]"
12479
+ }
12480
+ ],
12481
+ "stateMutability": "view"
12482
+ },
12483
+ {
12484
+ "type": "event",
12485
+ "name": "SaleOpened",
12486
+ "inputs": [
12487
+ {
12488
+ "name": "drop",
12489
+ "type": "address",
12490
+ "indexed": true,
12491
+ "internalType": "address"
12492
+ },
12493
+ {
12494
+ "name": "creator",
12495
+ "type": "address",
12496
+ "indexed": true,
12497
+ "internalType": "address"
12498
+ },
12499
+ {
12500
+ "name": "partner",
12501
+ "type": "string",
12502
+ "indexed": false,
12503
+ "internalType": "string"
12504
+ },
12505
+ {
12506
+ "name": "deadline",
12507
+ "type": "uint64",
12508
+ "indexed": false,
12509
+ "internalType": "uint64"
12510
+ }
12511
+ ],
12512
+ "anonymous": false
12513
+ },
12514
+ {
12515
+ "type": "event",
12516
+ "name": "WalletsSet",
12517
+ "inputs": [
12518
+ {
12519
+ "name": "drop",
12520
+ "type": "address",
12521
+ "indexed": true,
12522
+ "internalType": "address"
12523
+ },
12524
+ {
12525
+ "name": "bidId",
12526
+ "type": "uint256",
12527
+ "indexed": true,
12528
+ "internalType": "uint256"
12529
+ },
12530
+ {
12531
+ "name": "bidder",
12532
+ "type": "address",
12533
+ "indexed": true,
12534
+ "internalType": "address"
12535
+ },
12536
+ {
12537
+ "name": "wallets",
12538
+ "type": "address[]",
12539
+ "indexed": false,
12540
+ "internalType": "address[]"
12541
+ }
12542
+ ],
12543
+ "anonymous": false
12544
+ }
12545
+ ];