@medialane/sdk 0.168.0 → 0.169.0
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/{chunk-BILJIXSP.cjs → chunk-4SZV7J2R.cjs} +17 -12
- package/dist/chunk-4SZV7J2R.cjs.map +1 -0
- package/dist/{chunk-H7I6TEOA.cjs → chunk-VJVBWHAD.cjs} +5 -4
- package/dist/chunk-VJVBWHAD.cjs.map +1 -0
- package/dist/{chunk-PBJLHXDB.js → chunk-WYKCGQPN.js} +5 -4
- package/dist/chunk-WYKCGQPN.js.map +1 -0
- package/dist/{chunk-3QGECZBS.js → chunk-X5RNNPDU.js} +12 -9
- package/dist/chunk-X5RNNPDU.js.map +1 -0
- package/dist/{errors-CWbsAodQ.d.ts → errors-D6S2d0Oy.d.ts} +41 -22
- package/dist/{errors-CwqwX-vA.d.cts → errors-GfSlToOh.d.cts} +41 -22
- package/dist/evm/index.cjs +3 -3
- package/dist/evm/index.d.cts +1 -1
- package/dist/evm/index.d.ts +1 -1
- package/dist/evm/index.js +1 -1
- package/dist/index.cjs +86 -78
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +15 -8
- package/dist/index.d.ts +15 -8
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/dist/solana/index.cjs +2 -2
- package/dist/solana/index.d.cts +1 -1
- package/dist/solana/index.d.ts +1 -1
- package/dist/solana/index.js +1 -1
- package/dist/starknet/index.cjs +1105 -372
- package/dist/starknet/index.cjs.map +1 -1
- package/dist/starknet/index.d.cts +780 -399
- package/dist/starknet/index.d.ts +780 -399
- package/dist/starknet/index.js +1021 -297
- package/dist/starknet/index.js.map +1 -1
- package/dist/stellar/index.cjs +2 -2
- package/dist/stellar/index.d.cts +1 -1
- package/dist/stellar/index.d.ts +1 -1
- package/dist/stellar/index.js +1 -1
- package/dist/{types-C-y68Ut2.d.cts → types-BTNjkUst.d.cts} +1 -0
- package/dist/{types-C-y68Ut2.d.ts → types-BTNjkUst.d.ts} +1 -0
- package/package.json +1 -1
- package/dist/chunk-3QGECZBS.js.map +0 -1
- package/dist/chunk-BILJIXSP.cjs.map +0 -1
- package/dist/chunk-H7I6TEOA.cjs.map +0 -1
- package/dist/chunk-PBJLHXDB.js.map +0 -1
package/dist/starknet/index.d.ts
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
import { bS as ResolvedConfig,
|
|
2
|
-
export { ca as InvalidRecoveryKeyError, cb as OwnerSigner, bK as PasskeyCancelledError, cc as PasskeyConfig, bL as PasskeyUnsupportedError, bM as PasskeyUnsupportedReason, cd as RecoveryKey, b$ as UserFacingError, ce as createPasskeyOwner, cf as encodeRecoveryKey, cg as parseRecoveryKey } from '../errors-
|
|
1
|
+
import { bS as ResolvedConfig, b3 as CreatePopCollectionParams, bZ as TxResult, aX as CreateDropParams, ba as CreateTicketParams, bC as MintTicketsParams, a$ as CreateMembershipParams, bB as MintMembershipsParams, b7 as CreateSponsorshipOfferParams, bP as ProposeSponsorshipParams, k as ApiClient, bz as MedialaneConfig, bA as MedialaneErrorCode, bH as OrderDetails, R as ResolvedFeeConfig, I as ApiFundingIntent, H as ApiFundingInstructions, L as ApiFundingSubmit, N as ApiIntentCreated, bi as DropTerms, c4 as SealedOwner, c5 as ReceiptProviderLike, c6 as WalletExecutor, c7 as ExecutedTransaction, c8 as PasskeyOwner, bf as CreateWalletManageIntentParams, c9 as CreatedOwner } from '../errors-D6S2d0Oy.js';
|
|
2
|
+
export { ca as InvalidRecoveryKeyError, cb as OwnerSigner, bK as PasskeyCancelledError, cc as PasskeyConfig, bL as PasskeyUnsupportedError, bM as PasskeyUnsupportedReason, cd as RecoveryKey, b$ as UserFacingError, ce as createPasskeyOwner, cf as encodeRecoveryKey, cg as parseRecoveryKey } from '../errors-D6S2d0Oy.js';
|
|
3
|
+
import * as starknet from 'starknet';
|
|
3
4
|
import { AccountInterface, ProviderInterface, Call, TypedData, constants, BigNumberish, DeployAccountContractPayload, Account } from 'starknet';
|
|
4
|
-
import { V as VenueAdapter, O as OrderRef, A as AdapterTxResult, R as RegisterOrderParams, j as VenueSigner } from '../types-
|
|
5
|
+
import { V as VenueAdapter, O as OrderRef, A as AdapterTxResult, R as RegisterOrderParams, j as VenueSigner } from '../types-BTNjkUst.js';
|
|
5
6
|
import 'zod';
|
|
6
7
|
|
|
7
8
|
declare class PopService {
|
|
@@ -30,49 +31,27 @@ declare class PopService {
|
|
|
30
31
|
/** Whether `address` already holds this collection's credential (read from chain). */
|
|
31
32
|
declare function popHasClaimed(provider: Pick<ProviderInterface, "callContract">, collection: string, address: string): Promise<boolean>;
|
|
32
33
|
|
|
33
|
-
declare function toContractConditions(c: ClaimConditions): {
|
|
34
|
-
start_time: number;
|
|
35
|
-
end_time: number;
|
|
36
|
-
price: bigint;
|
|
37
|
-
payment_token: string;
|
|
38
|
-
max_quantity_per_wallet: bigint;
|
|
39
|
-
};
|
|
40
34
|
declare class DropService {
|
|
41
35
|
private readonly factoryAddress;
|
|
42
36
|
private readonly config;
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
recipient: string;
|
|
49
|
-
quantity?: bigint | string | number;
|
|
50
|
-
customUri?: string;
|
|
51
|
-
}): Promise<TxResult>;
|
|
52
|
-
setClaimConditions(account: AccountInterface, params: {
|
|
53
|
-
collection: string;
|
|
54
|
-
conditions: ClaimConditions;
|
|
55
|
-
}): Promise<TxResult>;
|
|
56
|
-
setAllowlistEnabled(account: AccountInterface, params: {
|
|
57
|
-
collection: string;
|
|
58
|
-
enabled: boolean;
|
|
59
|
-
}): Promise<TxResult>;
|
|
60
|
-
addToAllowlist(account: AccountInterface, params: {
|
|
61
|
-
collection: string;
|
|
62
|
-
address: string;
|
|
63
|
-
}): Promise<TxResult>;
|
|
64
|
-
batchAddToAllowlist(account: AccountInterface, params: {
|
|
37
|
+
private readonly reader;
|
|
38
|
+
constructor(config: ResolvedConfig, reader?: Pick<ProviderInterface, "callContract">);
|
|
39
|
+
createDrop(account: AccountInterface, params: CreateDropParams): Promise<TxResult>;
|
|
40
|
+
/** Mints `quantity` to the account, paying the drop's price and the platform fee. */
|
|
41
|
+
claim(account: AccountInterface, params: {
|
|
65
42
|
collection: string;
|
|
66
|
-
|
|
43
|
+
quantity: bigint | string | number;
|
|
44
|
+
proof?: string[];
|
|
67
45
|
}): Promise<TxResult>;
|
|
68
|
-
|
|
46
|
+
issue(account: AccountInterface, params: {
|
|
69
47
|
collection: string;
|
|
70
|
-
|
|
48
|
+
recipient: string;
|
|
49
|
+
quantity: bigint | string | number;
|
|
71
50
|
}): Promise<TxResult>;
|
|
72
|
-
|
|
51
|
+
setAllowlistRoot(account: AccountInterface, params: {
|
|
73
52
|
collection: string;
|
|
53
|
+
root: string;
|
|
74
54
|
}): Promise<TxResult>;
|
|
75
|
-
createDrop(account: AccountInterface, params: CreateDropParams): Promise<TxResult>;
|
|
76
55
|
}
|
|
77
56
|
|
|
78
57
|
interface DeployCollectionParams {
|
|
@@ -433,6 +412,9 @@ interface BuildFeeCallParams {
|
|
|
433
412
|
token: string;
|
|
434
413
|
grossAmount: bigint;
|
|
435
414
|
}
|
|
415
|
+
/** Basis points charged on `surface`; 0 when the fee is off or has nowhere to go. */
|
|
416
|
+
declare function feeBps(surface: FeeSurface, cfg: ResolvedFeeConfig): number;
|
|
417
|
+
declare function feeAmount(grossAmount: bigint, bps: number): bigint;
|
|
436
418
|
declare function buildFeeCall(p: BuildFeeCallParams, cfg: ResolvedFeeConfig): Call | null;
|
|
437
419
|
|
|
438
420
|
interface SiwsSigner {
|
|
@@ -1360,15 +1342,668 @@ declare const POPFactoryABI: readonly [{
|
|
|
1360
1342
|
readonly name: "low";
|
|
1361
1343
|
readonly type: "core::integer::u128";
|
|
1362
1344
|
}, {
|
|
1363
|
-
readonly name: "high";
|
|
1364
|
-
readonly type: "core::integer::u128";
|
|
1345
|
+
readonly name: "high";
|
|
1346
|
+
readonly type: "core::integer::u128";
|
|
1347
|
+
}];
|
|
1348
|
+
}, {
|
|
1349
|
+
readonly type: "interface";
|
|
1350
|
+
readonly name: "pop_protocol::interfaces::IPOPFactory";
|
|
1351
|
+
readonly items: readonly [{
|
|
1352
|
+
readonly type: "function";
|
|
1353
|
+
readonly name: "create_collection";
|
|
1354
|
+
readonly inputs: readonly [{
|
|
1355
|
+
readonly name: "name";
|
|
1356
|
+
readonly type: "core::byte_array::ByteArray";
|
|
1357
|
+
}, {
|
|
1358
|
+
readonly name: "symbol";
|
|
1359
|
+
readonly type: "core::byte_array::ByteArray";
|
|
1360
|
+
}, {
|
|
1361
|
+
readonly name: "base_uri";
|
|
1362
|
+
readonly type: "core::byte_array::ByteArray";
|
|
1363
|
+
}, {
|
|
1364
|
+
readonly name: "claim_end_time";
|
|
1365
|
+
readonly type: "core::integer::u64";
|
|
1366
|
+
}];
|
|
1367
|
+
readonly outputs: readonly [{
|
|
1368
|
+
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
1369
|
+
}];
|
|
1370
|
+
readonly state_mutability: "external";
|
|
1371
|
+
}, {
|
|
1372
|
+
readonly type: "function";
|
|
1373
|
+
readonly name: "get_collection_address";
|
|
1374
|
+
readonly inputs: readonly [{
|
|
1375
|
+
readonly name: "collection_id";
|
|
1376
|
+
readonly type: "core::integer::u256";
|
|
1377
|
+
}];
|
|
1378
|
+
readonly outputs: readonly [{
|
|
1379
|
+
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
1380
|
+
}];
|
|
1381
|
+
readonly state_mutability: "view";
|
|
1382
|
+
}, {
|
|
1383
|
+
readonly type: "function";
|
|
1384
|
+
readonly name: "get_last_collection_id";
|
|
1385
|
+
readonly inputs: readonly [];
|
|
1386
|
+
readonly outputs: readonly [{
|
|
1387
|
+
readonly type: "core::integer::u256";
|
|
1388
|
+
}];
|
|
1389
|
+
readonly state_mutability: "view";
|
|
1390
|
+
}, {
|
|
1391
|
+
readonly type: "function";
|
|
1392
|
+
readonly name: "get_collection_class_hash";
|
|
1393
|
+
readonly inputs: readonly [];
|
|
1394
|
+
readonly outputs: readonly [{
|
|
1395
|
+
readonly type: "core::starknet::class_hash::ClassHash";
|
|
1396
|
+
}];
|
|
1397
|
+
readonly state_mutability: "view";
|
|
1398
|
+
}, {
|
|
1399
|
+
readonly type: "function";
|
|
1400
|
+
readonly name: "version";
|
|
1401
|
+
readonly inputs: readonly [];
|
|
1402
|
+
readonly outputs: readonly [{
|
|
1403
|
+
readonly type: "core::felt252";
|
|
1404
|
+
}];
|
|
1405
|
+
readonly state_mutability: "view";
|
|
1406
|
+
}];
|
|
1407
|
+
}, {
|
|
1408
|
+
readonly type: "constructor";
|
|
1409
|
+
readonly name: "constructor";
|
|
1410
|
+
readonly inputs: readonly [{
|
|
1411
|
+
readonly name: "collection_class_hash";
|
|
1412
|
+
readonly type: "core::starknet::class_hash::ClassHash";
|
|
1413
|
+
}];
|
|
1414
|
+
}, {
|
|
1415
|
+
readonly type: "event";
|
|
1416
|
+
readonly name: "pop_protocol::events::CollectionCreated";
|
|
1417
|
+
readonly kind: "struct";
|
|
1418
|
+
readonly members: readonly [{
|
|
1419
|
+
readonly name: "collection_id";
|
|
1420
|
+
readonly type: "core::integer::u256";
|
|
1421
|
+
readonly kind: "key";
|
|
1422
|
+
}, {
|
|
1423
|
+
readonly name: "organizer";
|
|
1424
|
+
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
1425
|
+
readonly kind: "key";
|
|
1426
|
+
}, {
|
|
1427
|
+
readonly name: "collection_address";
|
|
1428
|
+
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
1429
|
+
readonly kind: "data";
|
|
1430
|
+
}, {
|
|
1431
|
+
readonly name: "name";
|
|
1432
|
+
readonly type: "core::byte_array::ByteArray";
|
|
1433
|
+
readonly kind: "data";
|
|
1434
|
+
}, {
|
|
1435
|
+
readonly name: "symbol";
|
|
1436
|
+
readonly type: "core::byte_array::ByteArray";
|
|
1437
|
+
readonly kind: "data";
|
|
1438
|
+
}, {
|
|
1439
|
+
readonly name: "base_uri";
|
|
1440
|
+
readonly type: "core::byte_array::ByteArray";
|
|
1441
|
+
readonly kind: "data";
|
|
1442
|
+
}, {
|
|
1443
|
+
readonly name: "claim_end_time";
|
|
1444
|
+
readonly type: "core::integer::u64";
|
|
1445
|
+
readonly kind: "data";
|
|
1446
|
+
}];
|
|
1447
|
+
}, {
|
|
1448
|
+
readonly type: "event";
|
|
1449
|
+
readonly name: "pop_protocol::pop_factory::POPFactory::Event";
|
|
1450
|
+
readonly kind: "enum";
|
|
1451
|
+
readonly variants: readonly [{
|
|
1452
|
+
readonly name: "CollectionCreated";
|
|
1453
|
+
readonly type: "pop_protocol::events::CollectionCreated";
|
|
1454
|
+
readonly kind: "nested";
|
|
1455
|
+
}];
|
|
1456
|
+
}];
|
|
1457
|
+
|
|
1458
|
+
declare const DropCollectionABI: readonly [{
|
|
1459
|
+
readonly type: "impl";
|
|
1460
|
+
readonly name: "ERC721MetadataImpl";
|
|
1461
|
+
readonly interface_name: "openzeppelin_interfaces::token::erc721::IERC721Metadata";
|
|
1462
|
+
}, {
|
|
1463
|
+
readonly type: "struct";
|
|
1464
|
+
readonly name: "core::byte_array::ByteArray";
|
|
1465
|
+
readonly members: readonly [{
|
|
1466
|
+
readonly name: "data";
|
|
1467
|
+
readonly type: "core::array::Array::<core::bytes_31::bytes31>";
|
|
1468
|
+
}, {
|
|
1469
|
+
readonly name: "pending_word";
|
|
1470
|
+
readonly type: "core::felt252";
|
|
1471
|
+
}, {
|
|
1472
|
+
readonly name: "pending_word_len";
|
|
1473
|
+
readonly type: "core::internal::bounded_int::BoundedInt::<0, 30>";
|
|
1474
|
+
}];
|
|
1475
|
+
}, {
|
|
1476
|
+
readonly type: "struct";
|
|
1477
|
+
readonly name: "core::integer::u256";
|
|
1478
|
+
readonly members: readonly [{
|
|
1479
|
+
readonly name: "low";
|
|
1480
|
+
readonly type: "core::integer::u128";
|
|
1481
|
+
}, {
|
|
1482
|
+
readonly name: "high";
|
|
1483
|
+
readonly type: "core::integer::u128";
|
|
1484
|
+
}];
|
|
1485
|
+
}, {
|
|
1486
|
+
readonly type: "interface";
|
|
1487
|
+
readonly name: "openzeppelin_interfaces::token::erc721::IERC721Metadata";
|
|
1488
|
+
readonly items: readonly [{
|
|
1489
|
+
readonly type: "function";
|
|
1490
|
+
readonly name: "name";
|
|
1491
|
+
readonly inputs: readonly [];
|
|
1492
|
+
readonly outputs: readonly [{
|
|
1493
|
+
readonly type: "core::byte_array::ByteArray";
|
|
1494
|
+
}];
|
|
1495
|
+
readonly state_mutability: "view";
|
|
1496
|
+
}, {
|
|
1497
|
+
readonly type: "function";
|
|
1498
|
+
readonly name: "symbol";
|
|
1499
|
+
readonly inputs: readonly [];
|
|
1500
|
+
readonly outputs: readonly [{
|
|
1501
|
+
readonly type: "core::byte_array::ByteArray";
|
|
1502
|
+
}];
|
|
1503
|
+
readonly state_mutability: "view";
|
|
1504
|
+
}, {
|
|
1505
|
+
readonly type: "function";
|
|
1506
|
+
readonly name: "token_uri";
|
|
1507
|
+
readonly inputs: readonly [{
|
|
1508
|
+
readonly name: "token_id";
|
|
1509
|
+
readonly type: "core::integer::u256";
|
|
1510
|
+
}];
|
|
1511
|
+
readonly outputs: readonly [{
|
|
1512
|
+
readonly type: "core::byte_array::ByteArray";
|
|
1513
|
+
}];
|
|
1514
|
+
readonly state_mutability: "view";
|
|
1515
|
+
}];
|
|
1516
|
+
}, {
|
|
1517
|
+
readonly type: "impl";
|
|
1518
|
+
readonly name: "DropCollectionImpl";
|
|
1519
|
+
readonly interface_name: "collection_drop::interfaces::IDropCollection";
|
|
1520
|
+
}, {
|
|
1521
|
+
readonly type: "struct";
|
|
1522
|
+
readonly name: "core::array::Span::<core::felt252>";
|
|
1523
|
+
readonly members: readonly [{
|
|
1524
|
+
readonly name: "snapshot";
|
|
1525
|
+
readonly type: "@core::array::Array::<core::felt252>";
|
|
1526
|
+
}];
|
|
1527
|
+
}, {
|
|
1528
|
+
readonly type: "struct";
|
|
1529
|
+
readonly name: "collection_drop::types::SaleTerms";
|
|
1530
|
+
readonly members: readonly [{
|
|
1531
|
+
readonly name: "start_time";
|
|
1532
|
+
readonly type: "core::integer::u64";
|
|
1533
|
+
}, {
|
|
1534
|
+
readonly name: "end_time";
|
|
1535
|
+
readonly type: "core::integer::u64";
|
|
1536
|
+
}, {
|
|
1537
|
+
readonly name: "price";
|
|
1538
|
+
readonly type: "core::integer::u256";
|
|
1539
|
+
}, {
|
|
1540
|
+
readonly name: "payment_token";
|
|
1541
|
+
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
1542
|
+
}, {
|
|
1543
|
+
readonly name: "max_per_wallet";
|
|
1544
|
+
readonly type: "core::integer::u256";
|
|
1545
|
+
}];
|
|
1546
|
+
}, {
|
|
1547
|
+
readonly type: "interface";
|
|
1548
|
+
readonly name: "collection_drop::interfaces::IDropCollection";
|
|
1549
|
+
readonly items: readonly [{
|
|
1550
|
+
readonly type: "function";
|
|
1551
|
+
readonly name: "claim";
|
|
1552
|
+
readonly inputs: readonly [{
|
|
1553
|
+
readonly name: "quantity";
|
|
1554
|
+
readonly type: "core::integer::u256";
|
|
1555
|
+
}, {
|
|
1556
|
+
readonly name: "proof";
|
|
1557
|
+
readonly type: "core::array::Span::<core::felt252>";
|
|
1558
|
+
}];
|
|
1559
|
+
readonly outputs: readonly [];
|
|
1560
|
+
readonly state_mutability: "external";
|
|
1561
|
+
}, {
|
|
1562
|
+
readonly type: "function";
|
|
1563
|
+
readonly name: "issue";
|
|
1564
|
+
readonly inputs: readonly [{
|
|
1565
|
+
readonly name: "recipient";
|
|
1566
|
+
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
1567
|
+
}, {
|
|
1568
|
+
readonly name: "quantity";
|
|
1569
|
+
readonly type: "core::integer::u256";
|
|
1570
|
+
}];
|
|
1571
|
+
readonly outputs: readonly [];
|
|
1572
|
+
readonly state_mutability: "external";
|
|
1573
|
+
}, {
|
|
1574
|
+
readonly type: "function";
|
|
1575
|
+
readonly name: "set_allowlist_root";
|
|
1576
|
+
readonly inputs: readonly [{
|
|
1577
|
+
readonly name: "root";
|
|
1578
|
+
readonly type: "core::felt252";
|
|
1579
|
+
}];
|
|
1580
|
+
readonly outputs: readonly [];
|
|
1581
|
+
readonly state_mutability: "external";
|
|
1582
|
+
}, {
|
|
1583
|
+
readonly type: "function";
|
|
1584
|
+
readonly name: "organizer";
|
|
1585
|
+
readonly inputs: readonly [];
|
|
1586
|
+
readonly outputs: readonly [{
|
|
1587
|
+
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
1588
|
+
}];
|
|
1589
|
+
readonly state_mutability: "view";
|
|
1590
|
+
}, {
|
|
1591
|
+
readonly type: "function";
|
|
1592
|
+
readonly name: "terms";
|
|
1593
|
+
readonly inputs: readonly [];
|
|
1594
|
+
readonly outputs: readonly [{
|
|
1595
|
+
readonly type: "collection_drop::types::SaleTerms";
|
|
1596
|
+
}];
|
|
1597
|
+
readonly state_mutability: "view";
|
|
1598
|
+
}, {
|
|
1599
|
+
readonly type: "function";
|
|
1600
|
+
readonly name: "allowlist_root";
|
|
1601
|
+
readonly inputs: readonly [];
|
|
1602
|
+
readonly outputs: readonly [{
|
|
1603
|
+
readonly type: "core::felt252";
|
|
1604
|
+
}];
|
|
1605
|
+
readonly state_mutability: "view";
|
|
1606
|
+
}, {
|
|
1607
|
+
readonly type: "function";
|
|
1608
|
+
readonly name: "max_supply";
|
|
1609
|
+
readonly inputs: readonly [];
|
|
1610
|
+
readonly outputs: readonly [{
|
|
1611
|
+
readonly type: "core::integer::u256";
|
|
1612
|
+
}];
|
|
1613
|
+
readonly state_mutability: "view";
|
|
1614
|
+
}, {
|
|
1615
|
+
readonly type: "function";
|
|
1616
|
+
readonly name: "total_minted";
|
|
1617
|
+
readonly inputs: readonly [];
|
|
1618
|
+
readonly outputs: readonly [{
|
|
1619
|
+
readonly type: "core::integer::u256";
|
|
1620
|
+
}];
|
|
1621
|
+
readonly state_mutability: "view";
|
|
1622
|
+
}, {
|
|
1623
|
+
readonly type: "function";
|
|
1624
|
+
readonly name: "claimed_by";
|
|
1625
|
+
readonly inputs: readonly [{
|
|
1626
|
+
readonly name: "wallet";
|
|
1627
|
+
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
1628
|
+
}];
|
|
1629
|
+
readonly outputs: readonly [{
|
|
1630
|
+
readonly type: "core::integer::u256";
|
|
1631
|
+
}];
|
|
1632
|
+
readonly state_mutability: "view";
|
|
1633
|
+
}, {
|
|
1634
|
+
readonly type: "function";
|
|
1635
|
+
readonly name: "version";
|
|
1636
|
+
readonly inputs: readonly [];
|
|
1637
|
+
readonly outputs: readonly [{
|
|
1638
|
+
readonly type: "core::felt252";
|
|
1639
|
+
}];
|
|
1640
|
+
readonly state_mutability: "view";
|
|
1641
|
+
}];
|
|
1642
|
+
}, {
|
|
1643
|
+
readonly type: "impl";
|
|
1644
|
+
readonly name: "ERC721Impl";
|
|
1645
|
+
readonly interface_name: "openzeppelin_interfaces::token::erc721::IERC721";
|
|
1646
|
+
}, {
|
|
1647
|
+
readonly type: "enum";
|
|
1648
|
+
readonly name: "core::bool";
|
|
1649
|
+
readonly variants: readonly [{
|
|
1650
|
+
readonly name: "False";
|
|
1651
|
+
readonly type: "()";
|
|
1652
|
+
}, {
|
|
1653
|
+
readonly name: "True";
|
|
1654
|
+
readonly type: "()";
|
|
1655
|
+
}];
|
|
1656
|
+
}, {
|
|
1657
|
+
readonly type: "interface";
|
|
1658
|
+
readonly name: "openzeppelin_interfaces::token::erc721::IERC721";
|
|
1659
|
+
readonly items: readonly [{
|
|
1660
|
+
readonly type: "function";
|
|
1661
|
+
readonly name: "balance_of";
|
|
1662
|
+
readonly inputs: readonly [{
|
|
1663
|
+
readonly name: "account";
|
|
1664
|
+
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
1665
|
+
}];
|
|
1666
|
+
readonly outputs: readonly [{
|
|
1667
|
+
readonly type: "core::integer::u256";
|
|
1668
|
+
}];
|
|
1669
|
+
readonly state_mutability: "view";
|
|
1670
|
+
}, {
|
|
1671
|
+
readonly type: "function";
|
|
1672
|
+
readonly name: "owner_of";
|
|
1673
|
+
readonly inputs: readonly [{
|
|
1674
|
+
readonly name: "token_id";
|
|
1675
|
+
readonly type: "core::integer::u256";
|
|
1676
|
+
}];
|
|
1677
|
+
readonly outputs: readonly [{
|
|
1678
|
+
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
1679
|
+
}];
|
|
1680
|
+
readonly state_mutability: "view";
|
|
1681
|
+
}, {
|
|
1682
|
+
readonly type: "function";
|
|
1683
|
+
readonly name: "safe_transfer_from";
|
|
1684
|
+
readonly inputs: readonly [{
|
|
1685
|
+
readonly name: "from";
|
|
1686
|
+
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
1687
|
+
}, {
|
|
1688
|
+
readonly name: "to";
|
|
1689
|
+
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
1690
|
+
}, {
|
|
1691
|
+
readonly name: "token_id";
|
|
1692
|
+
readonly type: "core::integer::u256";
|
|
1693
|
+
}, {
|
|
1694
|
+
readonly name: "data";
|
|
1695
|
+
readonly type: "core::array::Span::<core::felt252>";
|
|
1696
|
+
}];
|
|
1697
|
+
readonly outputs: readonly [];
|
|
1698
|
+
readonly state_mutability: "external";
|
|
1699
|
+
}, {
|
|
1700
|
+
readonly type: "function";
|
|
1701
|
+
readonly name: "transfer_from";
|
|
1702
|
+
readonly inputs: readonly [{
|
|
1703
|
+
readonly name: "from";
|
|
1704
|
+
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
1705
|
+
}, {
|
|
1706
|
+
readonly name: "to";
|
|
1707
|
+
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
1708
|
+
}, {
|
|
1709
|
+
readonly name: "token_id";
|
|
1710
|
+
readonly type: "core::integer::u256";
|
|
1711
|
+
}];
|
|
1712
|
+
readonly outputs: readonly [];
|
|
1713
|
+
readonly state_mutability: "external";
|
|
1714
|
+
}, {
|
|
1715
|
+
readonly type: "function";
|
|
1716
|
+
readonly name: "approve";
|
|
1717
|
+
readonly inputs: readonly [{
|
|
1718
|
+
readonly name: "to";
|
|
1719
|
+
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
1720
|
+
}, {
|
|
1721
|
+
readonly name: "token_id";
|
|
1722
|
+
readonly type: "core::integer::u256";
|
|
1723
|
+
}];
|
|
1724
|
+
readonly outputs: readonly [];
|
|
1725
|
+
readonly state_mutability: "external";
|
|
1726
|
+
}, {
|
|
1727
|
+
readonly type: "function";
|
|
1728
|
+
readonly name: "set_approval_for_all";
|
|
1729
|
+
readonly inputs: readonly [{
|
|
1730
|
+
readonly name: "operator";
|
|
1731
|
+
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
1732
|
+
}, {
|
|
1733
|
+
readonly name: "approved";
|
|
1734
|
+
readonly type: "core::bool";
|
|
1735
|
+
}];
|
|
1736
|
+
readonly outputs: readonly [];
|
|
1737
|
+
readonly state_mutability: "external";
|
|
1738
|
+
}, {
|
|
1739
|
+
readonly type: "function";
|
|
1740
|
+
readonly name: "get_approved";
|
|
1741
|
+
readonly inputs: readonly [{
|
|
1742
|
+
readonly name: "token_id";
|
|
1743
|
+
readonly type: "core::integer::u256";
|
|
1744
|
+
}];
|
|
1745
|
+
readonly outputs: readonly [{
|
|
1746
|
+
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
1747
|
+
}];
|
|
1748
|
+
readonly state_mutability: "view";
|
|
1749
|
+
}, {
|
|
1750
|
+
readonly type: "function";
|
|
1751
|
+
readonly name: "is_approved_for_all";
|
|
1752
|
+
readonly inputs: readonly [{
|
|
1753
|
+
readonly name: "owner";
|
|
1754
|
+
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
1755
|
+
}, {
|
|
1756
|
+
readonly name: "operator";
|
|
1757
|
+
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
1758
|
+
}];
|
|
1759
|
+
readonly outputs: readonly [{
|
|
1760
|
+
readonly type: "core::bool";
|
|
1761
|
+
}];
|
|
1762
|
+
readonly state_mutability: "view";
|
|
1763
|
+
}];
|
|
1764
|
+
}, {
|
|
1765
|
+
readonly type: "impl";
|
|
1766
|
+
readonly name: "SRC5Impl";
|
|
1767
|
+
readonly interface_name: "openzeppelin_interfaces::introspection::ISRC5";
|
|
1768
|
+
}, {
|
|
1769
|
+
readonly type: "interface";
|
|
1770
|
+
readonly name: "openzeppelin_interfaces::introspection::ISRC5";
|
|
1771
|
+
readonly items: readonly [{
|
|
1772
|
+
readonly type: "function";
|
|
1773
|
+
readonly name: "supports_interface";
|
|
1774
|
+
readonly inputs: readonly [{
|
|
1775
|
+
readonly name: "interface_id";
|
|
1776
|
+
readonly type: "core::felt252";
|
|
1777
|
+
}];
|
|
1778
|
+
readonly outputs: readonly [{
|
|
1779
|
+
readonly type: "core::bool";
|
|
1780
|
+
}];
|
|
1781
|
+
readonly state_mutability: "view";
|
|
1782
|
+
}];
|
|
1783
|
+
}, {
|
|
1784
|
+
readonly type: "constructor";
|
|
1785
|
+
readonly name: "constructor";
|
|
1786
|
+
readonly inputs: readonly [{
|
|
1787
|
+
readonly name: "name";
|
|
1788
|
+
readonly type: "core::byte_array::ByteArray";
|
|
1789
|
+
}, {
|
|
1790
|
+
readonly name: "symbol";
|
|
1791
|
+
readonly type: "core::byte_array::ByteArray";
|
|
1792
|
+
}, {
|
|
1793
|
+
readonly name: "base_uri";
|
|
1794
|
+
readonly type: "core::byte_array::ByteArray";
|
|
1795
|
+
}, {
|
|
1796
|
+
readonly name: "organizer";
|
|
1797
|
+
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
1798
|
+
}, {
|
|
1799
|
+
readonly name: "max_supply";
|
|
1800
|
+
readonly type: "core::integer::u256";
|
|
1801
|
+
}, {
|
|
1802
|
+
readonly name: "terms";
|
|
1803
|
+
readonly type: "collection_drop::types::SaleTerms";
|
|
1804
|
+
}, {
|
|
1805
|
+
readonly name: "allowlist_root";
|
|
1806
|
+
readonly type: "core::felt252";
|
|
1807
|
+
}];
|
|
1808
|
+
}, {
|
|
1809
|
+
readonly type: "event";
|
|
1810
|
+
readonly name: "openzeppelin_token::erc721::erc721::ERC721Component::Transfer";
|
|
1811
|
+
readonly kind: "struct";
|
|
1812
|
+
readonly members: readonly [{
|
|
1813
|
+
readonly name: "from";
|
|
1814
|
+
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
1815
|
+
readonly kind: "key";
|
|
1816
|
+
}, {
|
|
1817
|
+
readonly name: "to";
|
|
1818
|
+
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
1819
|
+
readonly kind: "key";
|
|
1820
|
+
}, {
|
|
1821
|
+
readonly name: "token_id";
|
|
1822
|
+
readonly type: "core::integer::u256";
|
|
1823
|
+
readonly kind: "key";
|
|
1824
|
+
}];
|
|
1825
|
+
}, {
|
|
1826
|
+
readonly type: "event";
|
|
1827
|
+
readonly name: "openzeppelin_token::erc721::erc721::ERC721Component::Approval";
|
|
1828
|
+
readonly kind: "struct";
|
|
1829
|
+
readonly members: readonly [{
|
|
1830
|
+
readonly name: "owner";
|
|
1831
|
+
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
1832
|
+
readonly kind: "key";
|
|
1833
|
+
}, {
|
|
1834
|
+
readonly name: "approved";
|
|
1835
|
+
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
1836
|
+
readonly kind: "key";
|
|
1837
|
+
}, {
|
|
1838
|
+
readonly name: "token_id";
|
|
1839
|
+
readonly type: "core::integer::u256";
|
|
1840
|
+
readonly kind: "key";
|
|
1841
|
+
}];
|
|
1842
|
+
}, {
|
|
1843
|
+
readonly type: "event";
|
|
1844
|
+
readonly name: "openzeppelin_token::erc721::erc721::ERC721Component::ApprovalForAll";
|
|
1845
|
+
readonly kind: "struct";
|
|
1846
|
+
readonly members: readonly [{
|
|
1847
|
+
readonly name: "owner";
|
|
1848
|
+
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
1849
|
+
readonly kind: "key";
|
|
1850
|
+
}, {
|
|
1851
|
+
readonly name: "operator";
|
|
1852
|
+
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
1853
|
+
readonly kind: "key";
|
|
1854
|
+
}, {
|
|
1855
|
+
readonly name: "approved";
|
|
1856
|
+
readonly type: "core::bool";
|
|
1857
|
+
readonly kind: "data";
|
|
1858
|
+
}];
|
|
1859
|
+
}, {
|
|
1860
|
+
readonly type: "event";
|
|
1861
|
+
readonly name: "openzeppelin_token::erc721::erc721::ERC721Component::Event";
|
|
1862
|
+
readonly kind: "enum";
|
|
1863
|
+
readonly variants: readonly [{
|
|
1864
|
+
readonly name: "Transfer";
|
|
1865
|
+
readonly type: "openzeppelin_token::erc721::erc721::ERC721Component::Transfer";
|
|
1866
|
+
readonly kind: "nested";
|
|
1867
|
+
}, {
|
|
1868
|
+
readonly name: "Approval";
|
|
1869
|
+
readonly type: "openzeppelin_token::erc721::erc721::ERC721Component::Approval";
|
|
1870
|
+
readonly kind: "nested";
|
|
1871
|
+
}, {
|
|
1872
|
+
readonly name: "ApprovalForAll";
|
|
1873
|
+
readonly type: "openzeppelin_token::erc721::erc721::ERC721Component::ApprovalForAll";
|
|
1874
|
+
readonly kind: "nested";
|
|
1875
|
+
}];
|
|
1876
|
+
}, {
|
|
1877
|
+
readonly type: "event";
|
|
1878
|
+
readonly name: "openzeppelin_introspection::src5::SRC5Component::Event";
|
|
1879
|
+
readonly kind: "enum";
|
|
1880
|
+
readonly variants: readonly [];
|
|
1881
|
+
}, {
|
|
1882
|
+
readonly type: "event";
|
|
1883
|
+
readonly name: "collection_drop::events::Claimed";
|
|
1884
|
+
readonly kind: "struct";
|
|
1885
|
+
readonly members: readonly [{
|
|
1886
|
+
readonly name: "claimer";
|
|
1887
|
+
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
1888
|
+
readonly kind: "key";
|
|
1889
|
+
}, {
|
|
1890
|
+
readonly name: "quantity";
|
|
1891
|
+
readonly type: "core::integer::u256";
|
|
1892
|
+
readonly kind: "data";
|
|
1893
|
+
}, {
|
|
1894
|
+
readonly name: "first_token_id";
|
|
1895
|
+
readonly type: "core::integer::u256";
|
|
1896
|
+
readonly kind: "data";
|
|
1897
|
+
}, {
|
|
1898
|
+
readonly name: "total_paid";
|
|
1899
|
+
readonly type: "core::integer::u256";
|
|
1900
|
+
readonly kind: "data";
|
|
1901
|
+
}];
|
|
1902
|
+
}, {
|
|
1903
|
+
readonly type: "event";
|
|
1904
|
+
readonly name: "collection_drop::events::Issued";
|
|
1905
|
+
readonly kind: "struct";
|
|
1906
|
+
readonly members: readonly [{
|
|
1907
|
+
readonly name: "recipient";
|
|
1908
|
+
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
1909
|
+
readonly kind: "key";
|
|
1910
|
+
}, {
|
|
1911
|
+
readonly name: "quantity";
|
|
1912
|
+
readonly type: "core::integer::u256";
|
|
1913
|
+
readonly kind: "data";
|
|
1914
|
+
}, {
|
|
1915
|
+
readonly name: "first_token_id";
|
|
1916
|
+
readonly type: "core::integer::u256";
|
|
1917
|
+
readonly kind: "data";
|
|
1918
|
+
}];
|
|
1919
|
+
}, {
|
|
1920
|
+
readonly type: "event";
|
|
1921
|
+
readonly name: "collection_drop::events::AllowlistRootSet";
|
|
1922
|
+
readonly kind: "struct";
|
|
1923
|
+
readonly members: readonly [{
|
|
1924
|
+
readonly name: "root";
|
|
1925
|
+
readonly type: "core::felt252";
|
|
1926
|
+
readonly kind: "data";
|
|
1927
|
+
}];
|
|
1928
|
+
}, {
|
|
1929
|
+
readonly type: "event";
|
|
1930
|
+
readonly name: "collection_drop::drop_collection::DropCollection::Event";
|
|
1931
|
+
readonly kind: "enum";
|
|
1932
|
+
readonly variants: readonly [{
|
|
1933
|
+
readonly name: "ERC721Event";
|
|
1934
|
+
readonly type: "openzeppelin_token::erc721::erc721::ERC721Component::Event";
|
|
1935
|
+
readonly kind: "flat";
|
|
1936
|
+
}, {
|
|
1937
|
+
readonly name: "SRC5Event";
|
|
1938
|
+
readonly type: "openzeppelin_introspection::src5::SRC5Component::Event";
|
|
1939
|
+
readonly kind: "flat";
|
|
1940
|
+
}, {
|
|
1941
|
+
readonly name: "Claimed";
|
|
1942
|
+
readonly type: "collection_drop::events::Claimed";
|
|
1943
|
+
readonly kind: "nested";
|
|
1944
|
+
}, {
|
|
1945
|
+
readonly name: "Issued";
|
|
1946
|
+
readonly type: "collection_drop::events::Issued";
|
|
1947
|
+
readonly kind: "nested";
|
|
1948
|
+
}, {
|
|
1949
|
+
readonly name: "AllowlistRootSet";
|
|
1950
|
+
readonly type: "collection_drop::events::AllowlistRootSet";
|
|
1951
|
+
readonly kind: "nested";
|
|
1952
|
+
}];
|
|
1953
|
+
}];
|
|
1954
|
+
|
|
1955
|
+
declare const DropFactoryABI: readonly [{
|
|
1956
|
+
readonly type: "impl";
|
|
1957
|
+
readonly name: "DropFactoryImpl";
|
|
1958
|
+
readonly interface_name: "collection_drop::interfaces::IDropFactory";
|
|
1959
|
+
}, {
|
|
1960
|
+
readonly type: "struct";
|
|
1961
|
+
readonly name: "core::byte_array::ByteArray";
|
|
1962
|
+
readonly members: readonly [{
|
|
1963
|
+
readonly name: "data";
|
|
1964
|
+
readonly type: "core::array::Array::<core::bytes_31::bytes31>";
|
|
1965
|
+
}, {
|
|
1966
|
+
readonly name: "pending_word";
|
|
1967
|
+
readonly type: "core::felt252";
|
|
1968
|
+
}, {
|
|
1969
|
+
readonly name: "pending_word_len";
|
|
1970
|
+
readonly type: "core::internal::bounded_int::BoundedInt::<0, 30>";
|
|
1971
|
+
}];
|
|
1972
|
+
}, {
|
|
1973
|
+
readonly type: "struct";
|
|
1974
|
+
readonly name: "core::integer::u256";
|
|
1975
|
+
readonly members: readonly [{
|
|
1976
|
+
readonly name: "low";
|
|
1977
|
+
readonly type: "core::integer::u128";
|
|
1978
|
+
}, {
|
|
1979
|
+
readonly name: "high";
|
|
1980
|
+
readonly type: "core::integer::u128";
|
|
1981
|
+
}];
|
|
1982
|
+
}, {
|
|
1983
|
+
readonly type: "struct";
|
|
1984
|
+
readonly name: "collection_drop::types::SaleTerms";
|
|
1985
|
+
readonly members: readonly [{
|
|
1986
|
+
readonly name: "start_time";
|
|
1987
|
+
readonly type: "core::integer::u64";
|
|
1988
|
+
}, {
|
|
1989
|
+
readonly name: "end_time";
|
|
1990
|
+
readonly type: "core::integer::u64";
|
|
1991
|
+
}, {
|
|
1992
|
+
readonly name: "price";
|
|
1993
|
+
readonly type: "core::integer::u256";
|
|
1994
|
+
}, {
|
|
1995
|
+
readonly name: "payment_token";
|
|
1996
|
+
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
1997
|
+
}, {
|
|
1998
|
+
readonly name: "max_per_wallet";
|
|
1999
|
+
readonly type: "core::integer::u256";
|
|
1365
2000
|
}];
|
|
1366
2001
|
}, {
|
|
1367
2002
|
readonly type: "interface";
|
|
1368
|
-
readonly name: "
|
|
2003
|
+
readonly name: "collection_drop::interfaces::IDropFactory";
|
|
1369
2004
|
readonly items: readonly [{
|
|
1370
2005
|
readonly type: "function";
|
|
1371
|
-
readonly name: "
|
|
2006
|
+
readonly name: "create_drop";
|
|
1372
2007
|
readonly inputs: readonly [{
|
|
1373
2008
|
readonly name: "name";
|
|
1374
2009
|
readonly type: "core::byte_array::ByteArray";
|
|
@@ -1379,8 +2014,14 @@ declare const POPFactoryABI: readonly [{
|
|
|
1379
2014
|
readonly name: "base_uri";
|
|
1380
2015
|
readonly type: "core::byte_array::ByteArray";
|
|
1381
2016
|
}, {
|
|
1382
|
-
readonly name: "
|
|
1383
|
-
readonly type: "core::integer::
|
|
2017
|
+
readonly name: "max_supply";
|
|
2018
|
+
readonly type: "core::integer::u256";
|
|
2019
|
+
}, {
|
|
2020
|
+
readonly name: "terms";
|
|
2021
|
+
readonly type: "collection_drop::types::SaleTerms";
|
|
2022
|
+
}, {
|
|
2023
|
+
readonly name: "allowlist_root";
|
|
2024
|
+
readonly type: "core::felt252";
|
|
1384
2025
|
}];
|
|
1385
2026
|
readonly outputs: readonly [{
|
|
1386
2027
|
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
@@ -1388,9 +2029,9 @@ declare const POPFactoryABI: readonly [{
|
|
|
1388
2029
|
readonly state_mutability: "external";
|
|
1389
2030
|
}, {
|
|
1390
2031
|
readonly type: "function";
|
|
1391
|
-
readonly name: "
|
|
2032
|
+
readonly name: "get_drop_address";
|
|
1392
2033
|
readonly inputs: readonly [{
|
|
1393
|
-
readonly name: "
|
|
2034
|
+
readonly name: "drop_id";
|
|
1394
2035
|
readonly type: "core::integer::u256";
|
|
1395
2036
|
}];
|
|
1396
2037
|
readonly outputs: readonly [{
|
|
@@ -1399,7 +2040,7 @@ declare const POPFactoryABI: readonly [{
|
|
|
1399
2040
|
readonly state_mutability: "view";
|
|
1400
2041
|
}, {
|
|
1401
2042
|
readonly type: "function";
|
|
1402
|
-
readonly name: "
|
|
2043
|
+
readonly name: "get_last_drop_id";
|
|
1403
2044
|
readonly inputs: readonly [];
|
|
1404
2045
|
readonly outputs: readonly [{
|
|
1405
2046
|
readonly type: "core::integer::u256";
|
|
@@ -1431,10 +2072,10 @@ declare const POPFactoryABI: readonly [{
|
|
|
1431
2072
|
}];
|
|
1432
2073
|
}, {
|
|
1433
2074
|
readonly type: "event";
|
|
1434
|
-
readonly name: "
|
|
2075
|
+
readonly name: "collection_drop::events::DropCreated";
|
|
1435
2076
|
readonly kind: "struct";
|
|
1436
2077
|
readonly members: readonly [{
|
|
1437
|
-
readonly name: "
|
|
2078
|
+
readonly name: "drop_id";
|
|
1438
2079
|
readonly type: "core::integer::u256";
|
|
1439
2080
|
readonly kind: "key";
|
|
1440
2081
|
}, {
|
|
@@ -1458,366 +2099,29 @@ declare const POPFactoryABI: readonly [{
|
|
|
1458
2099
|
readonly type: "core::byte_array::ByteArray";
|
|
1459
2100
|
readonly kind: "data";
|
|
1460
2101
|
}, {
|
|
1461
|
-
readonly name: "
|
|
1462
|
-
readonly type: "core::integer::
|
|
2102
|
+
readonly name: "max_supply";
|
|
2103
|
+
readonly type: "core::integer::u256";
|
|
2104
|
+
readonly kind: "data";
|
|
2105
|
+
}, {
|
|
2106
|
+
readonly name: "terms";
|
|
2107
|
+
readonly type: "collection_drop::types::SaleTerms";
|
|
2108
|
+
readonly kind: "data";
|
|
2109
|
+
}, {
|
|
2110
|
+
readonly name: "allowlist_root";
|
|
2111
|
+
readonly type: "core::felt252";
|
|
1463
2112
|
readonly kind: "data";
|
|
1464
2113
|
}];
|
|
1465
2114
|
}, {
|
|
1466
2115
|
readonly type: "event";
|
|
1467
|
-
readonly name: "
|
|
2116
|
+
readonly name: "collection_drop::drop_factory::DropFactory::Event";
|
|
1468
2117
|
readonly kind: "enum";
|
|
1469
2118
|
readonly variants: readonly [{
|
|
1470
|
-
readonly name: "
|
|
1471
|
-
readonly type: "
|
|
2119
|
+
readonly name: "DropCreated";
|
|
2120
|
+
readonly type: "collection_drop::events::DropCreated";
|
|
1472
2121
|
readonly kind: "nested";
|
|
1473
2122
|
}];
|
|
1474
2123
|
}];
|
|
1475
2124
|
|
|
1476
|
-
declare const DropCollectionABI: readonly [{
|
|
1477
|
-
readonly type: "struct";
|
|
1478
|
-
readonly name: "core::byte_array::ByteArray";
|
|
1479
|
-
readonly members: readonly [{
|
|
1480
|
-
readonly name: "data";
|
|
1481
|
-
readonly type: "core::array::Array::<core::felt252>";
|
|
1482
|
-
}, {
|
|
1483
|
-
readonly name: "pending_word";
|
|
1484
|
-
readonly type: "core::felt252";
|
|
1485
|
-
}, {
|
|
1486
|
-
readonly name: "pending_word_len";
|
|
1487
|
-
readonly type: "core::integer::u32";
|
|
1488
|
-
}];
|
|
1489
|
-
}, {
|
|
1490
|
-
readonly type: "struct";
|
|
1491
|
-
readonly name: "collection_drop::types::ClaimConditions";
|
|
1492
|
-
readonly members: readonly [{
|
|
1493
|
-
readonly name: "start_time";
|
|
1494
|
-
readonly type: "core::integer::u64";
|
|
1495
|
-
}, {
|
|
1496
|
-
readonly name: "end_time";
|
|
1497
|
-
readonly type: "core::integer::u64";
|
|
1498
|
-
}, {
|
|
1499
|
-
readonly name: "price";
|
|
1500
|
-
readonly type: "core::integer::u256";
|
|
1501
|
-
}, {
|
|
1502
|
-
readonly name: "payment_token";
|
|
1503
|
-
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
1504
|
-
}, {
|
|
1505
|
-
readonly name: "max_quantity_per_wallet";
|
|
1506
|
-
readonly type: "core::integer::u256";
|
|
1507
|
-
}];
|
|
1508
|
-
}, {
|
|
1509
|
-
readonly type: "function";
|
|
1510
|
-
readonly name: "claim";
|
|
1511
|
-
readonly inputs: readonly [{
|
|
1512
|
-
readonly name: "quantity";
|
|
1513
|
-
readonly type: "core::integer::u256";
|
|
1514
|
-
}];
|
|
1515
|
-
readonly outputs: readonly [];
|
|
1516
|
-
readonly state_mutability: "external";
|
|
1517
|
-
}, {
|
|
1518
|
-
readonly type: "function";
|
|
1519
|
-
readonly name: "admin_mint";
|
|
1520
|
-
readonly inputs: readonly [{
|
|
1521
|
-
readonly name: "recipient";
|
|
1522
|
-
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
1523
|
-
}, {
|
|
1524
|
-
readonly name: "quantity";
|
|
1525
|
-
readonly type: "core::integer::u256";
|
|
1526
|
-
}, {
|
|
1527
|
-
readonly name: "custom_uri";
|
|
1528
|
-
readonly type: "core::byte_array::ByteArray";
|
|
1529
|
-
}];
|
|
1530
|
-
readonly outputs: readonly [];
|
|
1531
|
-
readonly state_mutability: "external";
|
|
1532
|
-
}, {
|
|
1533
|
-
readonly type: "function";
|
|
1534
|
-
readonly name: "set_claim_conditions";
|
|
1535
|
-
readonly inputs: readonly [{
|
|
1536
|
-
readonly name: "conditions";
|
|
1537
|
-
readonly type: "collection_drop::types::ClaimConditions";
|
|
1538
|
-
}];
|
|
1539
|
-
readonly outputs: readonly [];
|
|
1540
|
-
readonly state_mutability: "external";
|
|
1541
|
-
}, {
|
|
1542
|
-
readonly type: "function";
|
|
1543
|
-
readonly name: "get_claim_conditions";
|
|
1544
|
-
readonly inputs: readonly [];
|
|
1545
|
-
readonly outputs: readonly [{
|
|
1546
|
-
readonly type: "collection_drop::types::ClaimConditions";
|
|
1547
|
-
}];
|
|
1548
|
-
readonly state_mutability: "view";
|
|
1549
|
-
}, {
|
|
1550
|
-
readonly type: "function";
|
|
1551
|
-
readonly name: "set_allowlist_enabled";
|
|
1552
|
-
readonly inputs: readonly [{
|
|
1553
|
-
readonly name: "enabled";
|
|
1554
|
-
readonly type: "core::bool";
|
|
1555
|
-
}];
|
|
1556
|
-
readonly outputs: readonly [];
|
|
1557
|
-
readonly state_mutability: "external";
|
|
1558
|
-
}, {
|
|
1559
|
-
readonly type: "function";
|
|
1560
|
-
readonly name: "is_allowlist_enabled";
|
|
1561
|
-
readonly inputs: readonly [];
|
|
1562
|
-
readonly outputs: readonly [{
|
|
1563
|
-
readonly type: "core::bool";
|
|
1564
|
-
}];
|
|
1565
|
-
readonly state_mutability: "view";
|
|
1566
|
-
}, {
|
|
1567
|
-
readonly type: "function";
|
|
1568
|
-
readonly name: "add_to_allowlist";
|
|
1569
|
-
readonly inputs: readonly [{
|
|
1570
|
-
readonly name: "address";
|
|
1571
|
-
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
1572
|
-
}];
|
|
1573
|
-
readonly outputs: readonly [];
|
|
1574
|
-
readonly state_mutability: "external";
|
|
1575
|
-
}, {
|
|
1576
|
-
readonly type: "function";
|
|
1577
|
-
readonly name: "batch_add_to_allowlist";
|
|
1578
|
-
readonly inputs: readonly [{
|
|
1579
|
-
readonly name: "addresses";
|
|
1580
|
-
readonly type: "core::array::Array::<core::starknet::contract_address::ContractAddress>";
|
|
1581
|
-
}];
|
|
1582
|
-
readonly outputs: readonly [];
|
|
1583
|
-
readonly state_mutability: "external";
|
|
1584
|
-
}, {
|
|
1585
|
-
readonly type: "function";
|
|
1586
|
-
readonly name: "remove_from_allowlist";
|
|
1587
|
-
readonly inputs: readonly [{
|
|
1588
|
-
readonly name: "address";
|
|
1589
|
-
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
1590
|
-
}];
|
|
1591
|
-
readonly outputs: readonly [];
|
|
1592
|
-
readonly state_mutability: "external";
|
|
1593
|
-
}, {
|
|
1594
|
-
readonly type: "function";
|
|
1595
|
-
readonly name: "is_allowlisted";
|
|
1596
|
-
readonly inputs: readonly [{
|
|
1597
|
-
readonly name: "address";
|
|
1598
|
-
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
1599
|
-
}];
|
|
1600
|
-
readonly outputs: readonly [{
|
|
1601
|
-
readonly type: "core::bool";
|
|
1602
|
-
}];
|
|
1603
|
-
readonly state_mutability: "view";
|
|
1604
|
-
}, {
|
|
1605
|
-
readonly type: "function";
|
|
1606
|
-
readonly name: "set_base_uri";
|
|
1607
|
-
readonly inputs: readonly [{
|
|
1608
|
-
readonly name: "new_uri";
|
|
1609
|
-
readonly type: "core::byte_array::ByteArray";
|
|
1610
|
-
}];
|
|
1611
|
-
readonly outputs: readonly [];
|
|
1612
|
-
readonly state_mutability: "external";
|
|
1613
|
-
}, {
|
|
1614
|
-
readonly type: "function";
|
|
1615
|
-
readonly name: "set_token_uri";
|
|
1616
|
-
readonly inputs: readonly [{
|
|
1617
|
-
readonly name: "token_id";
|
|
1618
|
-
readonly type: "core::integer::u256";
|
|
1619
|
-
}, {
|
|
1620
|
-
readonly name: "uri";
|
|
1621
|
-
readonly type: "core::byte_array::ByteArray";
|
|
1622
|
-
}];
|
|
1623
|
-
readonly outputs: readonly [];
|
|
1624
|
-
readonly state_mutability: "external";
|
|
1625
|
-
}, {
|
|
1626
|
-
readonly type: "function";
|
|
1627
|
-
readonly name: "set_paused";
|
|
1628
|
-
readonly inputs: readonly [{
|
|
1629
|
-
readonly name: "paused";
|
|
1630
|
-
readonly type: "core::bool";
|
|
1631
|
-
}];
|
|
1632
|
-
readonly outputs: readonly [];
|
|
1633
|
-
readonly state_mutability: "external";
|
|
1634
|
-
}, {
|
|
1635
|
-
readonly type: "function";
|
|
1636
|
-
readonly name: "withdraw_payments";
|
|
1637
|
-
readonly inputs: readonly [];
|
|
1638
|
-
readonly outputs: readonly [];
|
|
1639
|
-
readonly state_mutability: "external";
|
|
1640
|
-
}, {
|
|
1641
|
-
readonly type: "function";
|
|
1642
|
-
readonly name: "get_drop_id";
|
|
1643
|
-
readonly inputs: readonly [];
|
|
1644
|
-
readonly outputs: readonly [{
|
|
1645
|
-
readonly type: "core::integer::u256";
|
|
1646
|
-
}];
|
|
1647
|
-
readonly state_mutability: "view";
|
|
1648
|
-
}, {
|
|
1649
|
-
readonly type: "function";
|
|
1650
|
-
readonly name: "get_max_supply";
|
|
1651
|
-
readonly inputs: readonly [];
|
|
1652
|
-
readonly outputs: readonly [{
|
|
1653
|
-
readonly type: "core::integer::u256";
|
|
1654
|
-
}];
|
|
1655
|
-
readonly state_mutability: "view";
|
|
1656
|
-
}, {
|
|
1657
|
-
readonly type: "function";
|
|
1658
|
-
readonly name: "total_minted";
|
|
1659
|
-
readonly inputs: readonly [];
|
|
1660
|
-
readonly outputs: readonly [{
|
|
1661
|
-
readonly type: "core::integer::u256";
|
|
1662
|
-
}];
|
|
1663
|
-
readonly state_mutability: "view";
|
|
1664
|
-
}, {
|
|
1665
|
-
readonly type: "function";
|
|
1666
|
-
readonly name: "remaining_supply";
|
|
1667
|
-
readonly inputs: readonly [];
|
|
1668
|
-
readonly outputs: readonly [{
|
|
1669
|
-
readonly type: "core::integer::u256";
|
|
1670
|
-
}];
|
|
1671
|
-
readonly state_mutability: "view";
|
|
1672
|
-
}, {
|
|
1673
|
-
readonly type: "function";
|
|
1674
|
-
readonly name: "minted_by_wallet";
|
|
1675
|
-
readonly inputs: readonly [{
|
|
1676
|
-
readonly name: "wallet";
|
|
1677
|
-
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
1678
|
-
}];
|
|
1679
|
-
readonly outputs: readonly [{
|
|
1680
|
-
readonly type: "core::integer::u256";
|
|
1681
|
-
}];
|
|
1682
|
-
readonly state_mutability: "view";
|
|
1683
|
-
}, {
|
|
1684
|
-
readonly type: "function";
|
|
1685
|
-
readonly name: "is_paused";
|
|
1686
|
-
readonly inputs: readonly [];
|
|
1687
|
-
readonly outputs: readonly [{
|
|
1688
|
-
readonly type: "core::bool";
|
|
1689
|
-
}];
|
|
1690
|
-
readonly state_mutability: "view";
|
|
1691
|
-
}];
|
|
1692
|
-
|
|
1693
|
-
declare const DropFactoryABI: readonly [{
|
|
1694
|
-
readonly type: "struct";
|
|
1695
|
-
readonly name: "core::byte_array::ByteArray";
|
|
1696
|
-
readonly members: readonly [{
|
|
1697
|
-
readonly name: "data";
|
|
1698
|
-
readonly type: "core::array::Array::<core::felt252>";
|
|
1699
|
-
}, {
|
|
1700
|
-
readonly name: "pending_word";
|
|
1701
|
-
readonly type: "core::felt252";
|
|
1702
|
-
}, {
|
|
1703
|
-
readonly name: "pending_word_len";
|
|
1704
|
-
readonly type: "core::integer::u32";
|
|
1705
|
-
}];
|
|
1706
|
-
}, {
|
|
1707
|
-
readonly type: "struct";
|
|
1708
|
-
readonly name: "collection_drop::types::ClaimConditions";
|
|
1709
|
-
readonly members: readonly [{
|
|
1710
|
-
readonly name: "start_time";
|
|
1711
|
-
readonly type: "core::integer::u64";
|
|
1712
|
-
}, {
|
|
1713
|
-
readonly name: "end_time";
|
|
1714
|
-
readonly type: "core::integer::u64";
|
|
1715
|
-
}, {
|
|
1716
|
-
readonly name: "price";
|
|
1717
|
-
readonly type: "core::integer::u256";
|
|
1718
|
-
}, {
|
|
1719
|
-
readonly name: "payment_token";
|
|
1720
|
-
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
1721
|
-
}, {
|
|
1722
|
-
readonly name: "max_quantity_per_wallet";
|
|
1723
|
-
readonly type: "core::integer::u256";
|
|
1724
|
-
}];
|
|
1725
|
-
}, {
|
|
1726
|
-
readonly type: "function";
|
|
1727
|
-
readonly name: "register_organizer";
|
|
1728
|
-
readonly inputs: readonly [{
|
|
1729
|
-
readonly name: "organizer";
|
|
1730
|
-
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
1731
|
-
}, {
|
|
1732
|
-
readonly name: "name";
|
|
1733
|
-
readonly type: "core::byte_array::ByteArray";
|
|
1734
|
-
}];
|
|
1735
|
-
readonly outputs: readonly [];
|
|
1736
|
-
readonly state_mutability: "external";
|
|
1737
|
-
}, {
|
|
1738
|
-
readonly type: "function";
|
|
1739
|
-
readonly name: "revoke_organizer";
|
|
1740
|
-
readonly inputs: readonly [{
|
|
1741
|
-
readonly name: "organizer";
|
|
1742
|
-
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
1743
|
-
}];
|
|
1744
|
-
readonly outputs: readonly [];
|
|
1745
|
-
readonly state_mutability: "external";
|
|
1746
|
-
}, {
|
|
1747
|
-
readonly type: "function";
|
|
1748
|
-
readonly name: "is_active_organizer";
|
|
1749
|
-
readonly inputs: readonly [{
|
|
1750
|
-
readonly name: "organizer";
|
|
1751
|
-
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
1752
|
-
}];
|
|
1753
|
-
readonly outputs: readonly [{
|
|
1754
|
-
readonly type: "core::bool";
|
|
1755
|
-
}];
|
|
1756
|
-
readonly state_mutability: "view";
|
|
1757
|
-
}, {
|
|
1758
|
-
readonly type: "function";
|
|
1759
|
-
readonly name: "create_drop";
|
|
1760
|
-
readonly inputs: readonly [{
|
|
1761
|
-
readonly name: "name";
|
|
1762
|
-
readonly type: "core::byte_array::ByteArray";
|
|
1763
|
-
}, {
|
|
1764
|
-
readonly name: "symbol";
|
|
1765
|
-
readonly type: "core::byte_array::ByteArray";
|
|
1766
|
-
}, {
|
|
1767
|
-
readonly name: "base_uri";
|
|
1768
|
-
readonly type: "core::byte_array::ByteArray";
|
|
1769
|
-
}, {
|
|
1770
|
-
readonly name: "max_supply";
|
|
1771
|
-
readonly type: "core::integer::u256";
|
|
1772
|
-
}, {
|
|
1773
|
-
readonly name: "initial_conditions";
|
|
1774
|
-
readonly type: "collection_drop::types::ClaimConditions";
|
|
1775
|
-
}];
|
|
1776
|
-
readonly outputs: readonly [{
|
|
1777
|
-
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
1778
|
-
}];
|
|
1779
|
-
readonly state_mutability: "external";
|
|
1780
|
-
}, {
|
|
1781
|
-
readonly type: "function";
|
|
1782
|
-
readonly name: "get_drop_address";
|
|
1783
|
-
readonly inputs: readonly [{
|
|
1784
|
-
readonly name: "drop_id";
|
|
1785
|
-
readonly type: "core::integer::u256";
|
|
1786
|
-
}];
|
|
1787
|
-
readonly outputs: readonly [{
|
|
1788
|
-
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
1789
|
-
}];
|
|
1790
|
-
readonly state_mutability: "view";
|
|
1791
|
-
}, {
|
|
1792
|
-
readonly type: "function";
|
|
1793
|
-
readonly name: "get_last_drop_id";
|
|
1794
|
-
readonly inputs: readonly [];
|
|
1795
|
-
readonly outputs: readonly [{
|
|
1796
|
-
readonly type: "core::integer::u256";
|
|
1797
|
-
}];
|
|
1798
|
-
readonly state_mutability: "view";
|
|
1799
|
-
}, {
|
|
1800
|
-
readonly type: "function";
|
|
1801
|
-
readonly name: "get_organizer_drop_count";
|
|
1802
|
-
readonly inputs: readonly [{
|
|
1803
|
-
readonly name: "organizer";
|
|
1804
|
-
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
1805
|
-
}];
|
|
1806
|
-
readonly outputs: readonly [{
|
|
1807
|
-
readonly type: "core::integer::u32";
|
|
1808
|
-
}];
|
|
1809
|
-
readonly state_mutability: "view";
|
|
1810
|
-
}, {
|
|
1811
|
-
readonly type: "function";
|
|
1812
|
-
readonly name: "set_drop_collection_class_hash";
|
|
1813
|
-
readonly inputs: readonly [{
|
|
1814
|
-
readonly name: "new_class_hash";
|
|
1815
|
-
readonly type: "core::starknet::class_hash::ClassHash";
|
|
1816
|
-
}];
|
|
1817
|
-
readonly outputs: readonly [];
|
|
1818
|
-
readonly state_mutability: "external";
|
|
1819
|
-
}];
|
|
1820
|
-
|
|
1821
2125
|
declare const Medialane1155ABI: readonly [{
|
|
1822
2126
|
readonly type: "impl";
|
|
1823
2127
|
readonly name: "Medialane1155Impl";
|
|
@@ -8243,6 +8547,83 @@ declare const popCalls: {
|
|
|
8243
8547
|
setAllowlistRoot(collection: string, root: string): Call;
|
|
8244
8548
|
};
|
|
8245
8549
|
|
|
8550
|
+
/** Sale terms as the contract's `SaleTerms` struct. A free drop names no token. */
|
|
8551
|
+
declare function toContractTerms(t: DropTerms): {
|
|
8552
|
+
start_time: number;
|
|
8553
|
+
end_time: number;
|
|
8554
|
+
price: starknet.Uint256;
|
|
8555
|
+
payment_token: string;
|
|
8556
|
+
max_per_wallet: starknet.Uint256;
|
|
8557
|
+
};
|
|
8558
|
+
/** Calls on the drop factory and drop collections, ready for `account.execute` or an intent. */
|
|
8559
|
+
declare const dropCalls: {
|
|
8560
|
+
create(factory: string, p: CreateDropParams): Call;
|
|
8561
|
+
/** Approve (paid drops) and claim. The platform fee call is added by the caller. */
|
|
8562
|
+
claim(collection: string, p: {
|
|
8563
|
+
quantity: bigint | string | number;
|
|
8564
|
+
proof?: string[];
|
|
8565
|
+
price: bigint | string;
|
|
8566
|
+
paymentToken: string;
|
|
8567
|
+
}): Call[];
|
|
8568
|
+
/** Organizer only: free mint within the supply cap. */
|
|
8569
|
+
issue(collection: string, recipient: string, quantity: bigint | string | number): Call;
|
|
8570
|
+
/** Organizer only. 0 opens the drop to everyone. */
|
|
8571
|
+
setAllowlistRoot(collection: string, root: string): Call;
|
|
8572
|
+
};
|
|
8573
|
+
interface DropMintCost {
|
|
8574
|
+
/** price × quantity — paid to the organizer. */
|
|
8575
|
+
subtotal: bigint;
|
|
8576
|
+
/** Platform fee on the subtotal. */
|
|
8577
|
+
fee: bigint;
|
|
8578
|
+
total: bigint;
|
|
8579
|
+
}
|
|
8580
|
+
declare function dropMintCost(price: bigint | string, quantity: bigint | string | number, cfg: ResolvedFeeConfig): DropMintCost;
|
|
8581
|
+
|
|
8582
|
+
interface DropOnchain {
|
|
8583
|
+
organizer: string;
|
|
8584
|
+
/** Unix seconds; 0 = open from creation. */
|
|
8585
|
+
startTime: number;
|
|
8586
|
+
/** Unix seconds; 0 = never closes. */
|
|
8587
|
+
endTime: number;
|
|
8588
|
+
price: bigint;
|
|
8589
|
+
paymentToken: string;
|
|
8590
|
+
/** 0 = unlimited. */
|
|
8591
|
+
maxPerWallet: bigint;
|
|
8592
|
+
/** 0x0 = open to everyone. */
|
|
8593
|
+
allowlistRoot: string;
|
|
8594
|
+
/** 0 = no cap. */
|
|
8595
|
+
maxSupply: bigint;
|
|
8596
|
+
totalMinted: bigint;
|
|
8597
|
+
}
|
|
8598
|
+
/** A drop's organizer, terms, allowlist root and supply, read from chain. */
|
|
8599
|
+
declare function readDrop(provider: Pick<ProviderInterface, "callContract">, collection: string): Promise<DropOnchain>;
|
|
8600
|
+
/** How many tokens `wallet` has claimed from this drop (gifts not included). */
|
|
8601
|
+
declare function dropClaimedBy(provider: Pick<ProviderInterface, "callContract">, collection: string, wallet: string): Promise<bigint>;
|
|
8602
|
+
/** Most tokens one claim transaction mints. */
|
|
8603
|
+
declare const DROP_MAX_CLAIM_QUANTITY = 50n;
|
|
8604
|
+
type DropMintStateKind = "loading" | "upcoming" | "ended" | "sold-out" | "no-wallet" | "no-link" | "not-on-list" | "limit-reached" | "insufficient-balance" | "ready";
|
|
8605
|
+
interface DropMintState {
|
|
8606
|
+
state: DropMintStateKind;
|
|
8607
|
+
/** Largest quantity this wallet can claim now; 0 unless `ready`. */
|
|
8608
|
+
maxQuantity: bigint;
|
|
8609
|
+
}
|
|
8610
|
+
/** What the mint button should show, decided before any transaction is sent. */
|
|
8611
|
+
declare function dropMintState(input: {
|
|
8612
|
+
drop: DropOnchain | null;
|
|
8613
|
+
wallet: string | null;
|
|
8614
|
+
/** `claimed_by(wallet)`; null while loading. */
|
|
8615
|
+
claimed: bigint | null;
|
|
8616
|
+
/** From the claim link; null when the page was opened without one. */
|
|
8617
|
+
proof: string[] | null;
|
|
8618
|
+
/** Wallet balance of the payment token; null while loading (ignored for free drops). */
|
|
8619
|
+
balance: bigint | null;
|
|
8620
|
+
feeConfig: ResolvedFeeConfig;
|
|
8621
|
+
/** Unix seconds. */
|
|
8622
|
+
now: number;
|
|
8623
|
+
}): DropMintState;
|
|
8624
|
+
/** One claim link per allowlisted address: the drop page with the proof in its fragment. */
|
|
8625
|
+
declare function dropClaimLinks(origin: string, collection: string, list: PopAllowlist): PopClaimLink[];
|
|
8626
|
+
|
|
8246
8627
|
declare const SUGGESTED_DEFAULT_PRICE = 0.01;
|
|
8247
8628
|
declare const MIN_SUPPLY = 1000n;
|
|
8248
8629
|
declare const MAX_SUPPLY = 1000000000000n;
|
|
@@ -8530,4 +8911,4 @@ declare function claimSessionWallet(api: Pick<ApiClient, "setupWalletKey">, wall
|
|
|
8530
8911
|
|
|
8531
8912
|
type StarknetVenueSigner = VenueSigner<TypedData, Call>;
|
|
8532
8913
|
|
|
8533
|
-
export { type AddSupplyParams, type BatchMintEditionParams, type BuildFeeCallParams, MAX_SUPPLY as COIN_MAX_SUPPLY, MIN_SUPPLY as COIN_MIN_SUPPLY,
|
|
8914
|
+
export { type AddSupplyParams, type BatchMintEditionParams, type BuildFeeCallParams, MAX_SUPPLY as COIN_MAX_SUPPLY, MIN_SUPPLY as COIN_MIN_SUPPLY, ClubService, type CreateCreatorCoinParams, CreateDropParams, CreatePopCollectionParams, CreatedOwner, CreatorCoinFactoryABI, type CreatorCoinGuarantees, type CreatorCoinReceiptLike, CreatorCoinService, DROP_MAX_CLAIM_QUANTITY, type DeployCollectionParams, type DeployingServiceId, type DeploymentCoordinator, type DeploymentDeps, type DeploymentResult, type DeploymentStep, type DeviceEntry, DropCollectionABI, DropFactoryABI, type DropMintCost, type DropMintState, type DropMintStateKind, type DropOnchain, DropService, DropTerms, ERC1155CollectionService, type EkuboLaunchParams, type EkuboPoolParams, type EscapeInfo, type EscapeStatusName, type EscapeTypeName, type ExecuteIntentOpts, ExecutedTransaction, type FeeSurface, type FundWithTransferOptions, type FundingApi, type FundingResult, type FundingStep, type FundingTransferCall, FundingTransferNotSentError, type FundingWallet, type GuardianInfo, type GuardianStatus, IPClubCollectionABI, IPClubFactoryABI, IPCollection1155ABI, IPCollection1155FactoryABI, IPCollectionABI, IPGenesisABI, IPMarketplaceABI, IPNftABI, IPSponsorshipABI, IPTicketCollectionABI, IPTicketCollectionFactoryABI, InvalidPairingPayloadError, InvalidStarkPrivateKeyError, MAX_HOLDERS_AT_LAUNCH, MAX_TEAM_ALLOCATION_PERCENT, type MediaWallet, type MediaWalletConfig, Medialane1155ABI, MedialaneClient, MedialaneError, type MintEditionParams, type OwnerStore, POPCollectionABI, POPFactoryABI, type PairingPayload, PasskeyOwner, type PopAllowlist, type PopClaimInfo, type PopClaimLink, type PopClaimState, PopService, type ReceiptLike, type ReceiptProvider, ReceiptProviderLike, type RecoveryAction, type RequestSiwsTokenArgs, type ResolvedOrder, SUGGESTED_DEFAULT_PRICE, SealedOwner, type SelfFundConsent, type SelfFundConsentHandler, type SelfFundFeeEstimate, type SelfFundedDeps, type SessionWallet, type SessionWalletClaimDeps, type SiwsSigner, SponsoredCallRejectedError, type SponsoredDeps, type SponsoredExecuteConfig, type SponsoredExecuteResult, type SponsorshipFailureCode, SponsorshipService, StarknetVenue, type StarknetVenueDeps, type StarknetVenueSigner, TicketService, type TypedDataSigner, VALIDATED_EKUBO_PARAMS, VenueSigner, WalletExecutor, accountFor, allowsFallbackFunding, assertTransactionSucceeded, build1155CancellationTypedData, build1155OrderTypedData, buildAddOwnerCall, buildCancelEscapeCall, buildCancellationTypedData, buildCompleteEscapeOwnerCall, buildCreateCreatorCoinCall, buildDeployAccountParams, buildFeeCall, buildFundingTransferCall, buildLaunchOnEkuboCalls, buildOrderTypedData, buildPopAllowlist, buildRemoveOwnerByGuidCall, buildRemoveOwnerCall, buildSetFirstGuardianCall, buildTriggerEscapeOwnerCall, buybackQuoteRaw, canRemoveDevice, claimSessionWallet, toRaw as coinToRaw, completeDeployment, computeAccountAddress, computeOwnerGuid, confirmIntentBestEffort, createDeploymentCoordinator, createMediaWallet, createOwnerStore, createSelfFundConsent, decodeEscapeAndStatus, decodeGuardiansInfo, decodePopClaimFragment, deploySelfFunded, deploySponsored, deployedCollectionFromReceipt, deriveAesKey, deriveOwnerKeyPair, describeDevices, describeGuardianStatus, describeRecoveryAction, dropCalls, dropClaimLinks, dropClaimedBy, dropMintCost, dropMintState, encodeByteArray, encodePairingPayload, encodePopClaimFragment, estimateSelfFundedFee, executeIntent, executeIntents, executeSponsored, fdvHuman, feeAmount, feeBps, fundWithChainTransfer, fundingApiFor, generateStarkKeyPair, getCounter, getCounter1155, getCreatorCoinGuarantees, getEscape, getEscapeSecurityPeriod, getGuardians, getOrderDetails, getOrderDetails1155, getOwners, getSiwsStorageKey, getStoredSiwsToken, isDeployed, isSiwsTokenValid, isValidStarknetAddress, mintedTokenIdFromReceipt, normalizeSiwsSignature, normalizeWalletAddress, ownerConstructorCalldata, parseAccountAddress, parseCreatorCoinCreated, parsePairingPayload, popCalls, popClaimInfo, popClaimLinks, popClaimLinksCsv, popClaimState, popHasClaimed, priceToEkuboParams, readDrop, requestSiwsToken, sealPrivateKey, selfFundedExecutor, signWithPrivateKey, sponsoredExecutor, starkKeyPairFromPrivateKey, storeSiwsToken, syncTransactionBestEffort, teamCoinsRaw, toContractTerms as toDropContractTerms, unsealPrivateKey, validateName as validateCoinName, validateSupply as validateCoinSupply, validateSymbol as validateCoinSymbol, validatePrice, verifyPopProof, waitUntilDeployed };
|