gondi 0.50.0 → 0.52.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/index.mjs +308 -60
- package/dist/index.mjs.map +4 -4
- package/dist/src/clients/api/index.d.ts +3 -1
- package/dist/src/clients/contracts/index.d.ts +329 -0
- package/dist/src/deploys.d.ts +1 -0
- package/dist/src/generated/blockchain/cryptopunks721.d.ts +329 -0
- package/dist/src/generated/graphql/index.d.ts +231 -21
- package/dist/src/gondi.d.ts +57 -9
- package/dist/src/index.d.ts +1 -1
- package/dist/src/utils/creditPurchase.d.ts +16 -0
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
|
@@ -9,6 +9,8 @@ export type Props = {
|
|
|
9
9
|
wallet: Wallet;
|
|
10
10
|
onStepChange?: OnStepChange;
|
|
11
11
|
};
|
|
12
|
+
/** A bid or listing `publishOrder` accepts: one NFT, a collection, some traits or a set of NFTs. */
|
|
13
|
+
export type OrderInput = SingleNftOrderInput | CollectionOrderInput | TraitOrderInput | NftSetOrderInput;
|
|
12
14
|
export declare const apiDomain: () => string;
|
|
13
15
|
export declare const lendingApiDomain: () => string;
|
|
14
16
|
export declare class Api {
|
|
@@ -162,7 +164,7 @@ export declare class Api {
|
|
|
162
164
|
nftCollateralAddress: `0x${string}`;
|
|
163
165
|
nftCollateralTokenId: bigint;
|
|
164
166
|
}>;
|
|
165
|
-
publishOrder(orderInput:
|
|
167
|
+
publishOrder(orderInput: OrderInput): Promise<{
|
|
166
168
|
__typename?: "MultipleTraitOrder";
|
|
167
169
|
id: string;
|
|
168
170
|
status: string;
|
|
@@ -1334,6 +1334,335 @@ export declare class Contracts {
|
|
|
1334
1334
|
readonly name: "PunkNoLongerForSale";
|
|
1335
1335
|
readonly type: "event";
|
|
1336
1336
|
}]>;
|
|
1337
|
+
Cryptopunks721(address: Address): BaseContract<readonly [{
|
|
1338
|
+
readonly type: "function";
|
|
1339
|
+
readonly inputs: readonly [{
|
|
1340
|
+
readonly name: "to";
|
|
1341
|
+
readonly internalType: "address";
|
|
1342
|
+
readonly type: "address";
|
|
1343
|
+
}, {
|
|
1344
|
+
readonly name: "tokenId";
|
|
1345
|
+
readonly internalType: "uint256";
|
|
1346
|
+
readonly type: "uint256";
|
|
1347
|
+
}];
|
|
1348
|
+
readonly name: "approve";
|
|
1349
|
+
readonly outputs: readonly [];
|
|
1350
|
+
readonly stateMutability: "nonpayable";
|
|
1351
|
+
}, {
|
|
1352
|
+
readonly type: "function";
|
|
1353
|
+
readonly inputs: readonly [{
|
|
1354
|
+
readonly name: "owner";
|
|
1355
|
+
readonly internalType: "address";
|
|
1356
|
+
readonly type: "address";
|
|
1357
|
+
}];
|
|
1358
|
+
readonly name: "balanceOf";
|
|
1359
|
+
readonly outputs: readonly [{
|
|
1360
|
+
readonly name: "balance";
|
|
1361
|
+
readonly internalType: "uint256";
|
|
1362
|
+
readonly type: "uint256";
|
|
1363
|
+
}];
|
|
1364
|
+
readonly stateMutability: "view";
|
|
1365
|
+
}, {
|
|
1366
|
+
readonly type: "function";
|
|
1367
|
+
readonly inputs: readonly [{
|
|
1368
|
+
readonly name: "tokenId";
|
|
1369
|
+
readonly internalType: "uint256";
|
|
1370
|
+
readonly type: "uint256";
|
|
1371
|
+
}];
|
|
1372
|
+
readonly name: "getApproved";
|
|
1373
|
+
readonly outputs: readonly [{
|
|
1374
|
+
readonly name: "operator";
|
|
1375
|
+
readonly internalType: "address";
|
|
1376
|
+
readonly type: "address";
|
|
1377
|
+
}];
|
|
1378
|
+
readonly stateMutability: "view";
|
|
1379
|
+
}, {
|
|
1380
|
+
readonly type: "function";
|
|
1381
|
+
readonly inputs: readonly [{
|
|
1382
|
+
readonly name: "owner";
|
|
1383
|
+
readonly internalType: "address";
|
|
1384
|
+
readonly type: "address";
|
|
1385
|
+
}, {
|
|
1386
|
+
readonly name: "operator";
|
|
1387
|
+
readonly internalType: "address";
|
|
1388
|
+
readonly type: "address";
|
|
1389
|
+
}];
|
|
1390
|
+
readonly name: "isApprovedForAll";
|
|
1391
|
+
readonly outputs: readonly [{
|
|
1392
|
+
readonly name: "";
|
|
1393
|
+
readonly internalType: "bool";
|
|
1394
|
+
readonly type: "bool";
|
|
1395
|
+
}];
|
|
1396
|
+
readonly stateMutability: "view";
|
|
1397
|
+
}, {
|
|
1398
|
+
readonly type: "function";
|
|
1399
|
+
readonly inputs: readonly [];
|
|
1400
|
+
readonly name: "licensingTerms";
|
|
1401
|
+
readonly outputs: readonly [{
|
|
1402
|
+
readonly name: "";
|
|
1403
|
+
readonly internalType: "string";
|
|
1404
|
+
readonly type: "string";
|
|
1405
|
+
}];
|
|
1406
|
+
readonly stateMutability: "pure";
|
|
1407
|
+
}, {
|
|
1408
|
+
readonly type: "function";
|
|
1409
|
+
readonly inputs: readonly [{
|
|
1410
|
+
readonly name: "punkIndexes";
|
|
1411
|
+
readonly internalType: "uint256[]";
|
|
1412
|
+
readonly type: "uint256[]";
|
|
1413
|
+
}];
|
|
1414
|
+
readonly name: "migrateLegacyWrappedPunks";
|
|
1415
|
+
readonly outputs: readonly [];
|
|
1416
|
+
readonly stateMutability: "nonpayable";
|
|
1417
|
+
}, {
|
|
1418
|
+
readonly type: "function";
|
|
1419
|
+
readonly inputs: readonly [{
|
|
1420
|
+
readonly name: "tokenId";
|
|
1421
|
+
readonly internalType: "uint256";
|
|
1422
|
+
readonly type: "uint256";
|
|
1423
|
+
}];
|
|
1424
|
+
readonly name: "ownerOf";
|
|
1425
|
+
readonly outputs: readonly [{
|
|
1426
|
+
readonly name: "owner";
|
|
1427
|
+
readonly internalType: "address";
|
|
1428
|
+
readonly type: "address";
|
|
1429
|
+
}];
|
|
1430
|
+
readonly stateMutability: "view";
|
|
1431
|
+
}, {
|
|
1432
|
+
readonly type: "function";
|
|
1433
|
+
readonly inputs: readonly [{
|
|
1434
|
+
readonly name: "user";
|
|
1435
|
+
readonly internalType: "address";
|
|
1436
|
+
readonly type: "address";
|
|
1437
|
+
}];
|
|
1438
|
+
readonly name: "punkProxyForUser";
|
|
1439
|
+
readonly outputs: readonly [{
|
|
1440
|
+
readonly name: "";
|
|
1441
|
+
readonly internalType: "address";
|
|
1442
|
+
readonly type: "address";
|
|
1443
|
+
}];
|
|
1444
|
+
readonly stateMutability: "view";
|
|
1445
|
+
}, {
|
|
1446
|
+
readonly type: "function";
|
|
1447
|
+
readonly inputs: readonly [{
|
|
1448
|
+
readonly name: "punkIndex";
|
|
1449
|
+
readonly internalType: "uint256";
|
|
1450
|
+
readonly type: "uint256";
|
|
1451
|
+
}];
|
|
1452
|
+
readonly name: "rescuePunk";
|
|
1453
|
+
readonly outputs: readonly [];
|
|
1454
|
+
readonly stateMutability: "nonpayable";
|
|
1455
|
+
}, {
|
|
1456
|
+
readonly type: "function";
|
|
1457
|
+
readonly inputs: readonly [{
|
|
1458
|
+
readonly name: "from";
|
|
1459
|
+
readonly internalType: "address";
|
|
1460
|
+
readonly type: "address";
|
|
1461
|
+
}, {
|
|
1462
|
+
readonly name: "to";
|
|
1463
|
+
readonly internalType: "address";
|
|
1464
|
+
readonly type: "address";
|
|
1465
|
+
}, {
|
|
1466
|
+
readonly name: "tokenId";
|
|
1467
|
+
readonly internalType: "uint256";
|
|
1468
|
+
readonly type: "uint256";
|
|
1469
|
+
}];
|
|
1470
|
+
readonly name: "safeTransferFrom";
|
|
1471
|
+
readonly outputs: readonly [];
|
|
1472
|
+
readonly stateMutability: "nonpayable";
|
|
1473
|
+
}, {
|
|
1474
|
+
readonly type: "function";
|
|
1475
|
+
readonly inputs: readonly [{
|
|
1476
|
+
readonly name: "from";
|
|
1477
|
+
readonly internalType: "address";
|
|
1478
|
+
readonly type: "address";
|
|
1479
|
+
}, {
|
|
1480
|
+
readonly name: "to";
|
|
1481
|
+
readonly internalType: "address";
|
|
1482
|
+
readonly type: "address";
|
|
1483
|
+
}, {
|
|
1484
|
+
readonly name: "tokenId";
|
|
1485
|
+
readonly internalType: "uint256";
|
|
1486
|
+
readonly type: "uint256";
|
|
1487
|
+
}, {
|
|
1488
|
+
readonly name: "data";
|
|
1489
|
+
readonly internalType: "bytes";
|
|
1490
|
+
readonly type: "bytes";
|
|
1491
|
+
}];
|
|
1492
|
+
readonly name: "safeTransferFrom";
|
|
1493
|
+
readonly outputs: readonly [];
|
|
1494
|
+
readonly stateMutability: "nonpayable";
|
|
1495
|
+
}, {
|
|
1496
|
+
readonly type: "function";
|
|
1497
|
+
readonly inputs: readonly [{
|
|
1498
|
+
readonly name: "operator";
|
|
1499
|
+
readonly internalType: "address";
|
|
1500
|
+
readonly type: "address";
|
|
1501
|
+
}, {
|
|
1502
|
+
readonly name: "approved";
|
|
1503
|
+
readonly internalType: "bool";
|
|
1504
|
+
readonly type: "bool";
|
|
1505
|
+
}];
|
|
1506
|
+
readonly name: "setApprovalForAll";
|
|
1507
|
+
readonly outputs: readonly [];
|
|
1508
|
+
readonly stateMutability: "nonpayable";
|
|
1509
|
+
}, {
|
|
1510
|
+
readonly type: "function";
|
|
1511
|
+
readonly inputs: readonly [{
|
|
1512
|
+
readonly name: "interfaceId";
|
|
1513
|
+
readonly internalType: "bytes4";
|
|
1514
|
+
readonly type: "bytes4";
|
|
1515
|
+
}];
|
|
1516
|
+
readonly name: "supportsInterface";
|
|
1517
|
+
readonly outputs: readonly [{
|
|
1518
|
+
readonly name: "";
|
|
1519
|
+
readonly internalType: "bool";
|
|
1520
|
+
readonly type: "bool";
|
|
1521
|
+
}];
|
|
1522
|
+
readonly stateMutability: "view";
|
|
1523
|
+
}, {
|
|
1524
|
+
readonly type: "function";
|
|
1525
|
+
readonly inputs: readonly [{
|
|
1526
|
+
readonly name: "owner";
|
|
1527
|
+
readonly internalType: "address";
|
|
1528
|
+
readonly type: "address";
|
|
1529
|
+
}];
|
|
1530
|
+
readonly name: "tokensOfOwner";
|
|
1531
|
+
readonly outputs: readonly [{
|
|
1532
|
+
readonly name: "";
|
|
1533
|
+
readonly internalType: "uint256[]";
|
|
1534
|
+
readonly type: "uint256[]";
|
|
1535
|
+
}];
|
|
1536
|
+
readonly stateMutability: "view";
|
|
1537
|
+
}, {
|
|
1538
|
+
readonly type: "function";
|
|
1539
|
+
readonly inputs: readonly [];
|
|
1540
|
+
readonly name: "totalSupply";
|
|
1541
|
+
readonly outputs: readonly [{
|
|
1542
|
+
readonly name: "";
|
|
1543
|
+
readonly internalType: "uint256";
|
|
1544
|
+
readonly type: "uint256";
|
|
1545
|
+
}];
|
|
1546
|
+
readonly stateMutability: "view";
|
|
1547
|
+
}, {
|
|
1548
|
+
readonly type: "function";
|
|
1549
|
+
readonly inputs: readonly [{
|
|
1550
|
+
readonly name: "from";
|
|
1551
|
+
readonly internalType: "address";
|
|
1552
|
+
readonly type: "address";
|
|
1553
|
+
}, {
|
|
1554
|
+
readonly name: "to";
|
|
1555
|
+
readonly internalType: "address";
|
|
1556
|
+
readonly type: "address";
|
|
1557
|
+
}, {
|
|
1558
|
+
readonly name: "tokenId";
|
|
1559
|
+
readonly internalType: "uint256";
|
|
1560
|
+
readonly type: "uint256";
|
|
1561
|
+
}];
|
|
1562
|
+
readonly name: "transferFrom";
|
|
1563
|
+
readonly outputs: readonly [];
|
|
1564
|
+
readonly stateMutability: "nonpayable";
|
|
1565
|
+
}, {
|
|
1566
|
+
readonly type: "function";
|
|
1567
|
+
readonly inputs: readonly [{
|
|
1568
|
+
readonly name: "punkIndex";
|
|
1569
|
+
readonly internalType: "uint256";
|
|
1570
|
+
readonly type: "uint256";
|
|
1571
|
+
}];
|
|
1572
|
+
readonly name: "unwrapPunk";
|
|
1573
|
+
readonly outputs: readonly [];
|
|
1574
|
+
readonly stateMutability: "nonpayable";
|
|
1575
|
+
}, {
|
|
1576
|
+
readonly type: "function";
|
|
1577
|
+
readonly inputs: readonly [{
|
|
1578
|
+
readonly name: "punkIndexes";
|
|
1579
|
+
readonly internalType: "uint256[]";
|
|
1580
|
+
readonly type: "uint256[]";
|
|
1581
|
+
}];
|
|
1582
|
+
readonly name: "unwrapPunkBatch";
|
|
1583
|
+
readonly outputs: readonly [];
|
|
1584
|
+
readonly stateMutability: "nonpayable";
|
|
1585
|
+
}, {
|
|
1586
|
+
readonly type: "function";
|
|
1587
|
+
readonly inputs: readonly [{
|
|
1588
|
+
readonly name: "punkIndex";
|
|
1589
|
+
readonly internalType: "uint256";
|
|
1590
|
+
readonly type: "uint256";
|
|
1591
|
+
}];
|
|
1592
|
+
readonly name: "wrapPunk";
|
|
1593
|
+
readonly outputs: readonly [];
|
|
1594
|
+
readonly stateMutability: "nonpayable";
|
|
1595
|
+
}, {
|
|
1596
|
+
readonly type: "function";
|
|
1597
|
+
readonly inputs: readonly [{
|
|
1598
|
+
readonly name: "punkIndexes";
|
|
1599
|
+
readonly internalType: "uint256[]";
|
|
1600
|
+
readonly type: "uint256[]";
|
|
1601
|
+
}];
|
|
1602
|
+
readonly name: "wrapPunkBatch";
|
|
1603
|
+
readonly outputs: readonly [];
|
|
1604
|
+
readonly stateMutability: "nonpayable";
|
|
1605
|
+
}, {
|
|
1606
|
+
readonly type: "event";
|
|
1607
|
+
readonly anonymous: false;
|
|
1608
|
+
readonly inputs: readonly [{
|
|
1609
|
+
readonly name: "owner";
|
|
1610
|
+
readonly internalType: "address";
|
|
1611
|
+
readonly type: "address";
|
|
1612
|
+
readonly indexed: true;
|
|
1613
|
+
}, {
|
|
1614
|
+
readonly name: "approved";
|
|
1615
|
+
readonly internalType: "address";
|
|
1616
|
+
readonly type: "address";
|
|
1617
|
+
readonly indexed: true;
|
|
1618
|
+
}, {
|
|
1619
|
+
readonly name: "tokenId";
|
|
1620
|
+
readonly internalType: "uint256";
|
|
1621
|
+
readonly type: "uint256";
|
|
1622
|
+
readonly indexed: true;
|
|
1623
|
+
}];
|
|
1624
|
+
readonly name: "Approval";
|
|
1625
|
+
}, {
|
|
1626
|
+
readonly type: "event";
|
|
1627
|
+
readonly anonymous: false;
|
|
1628
|
+
readonly inputs: readonly [{
|
|
1629
|
+
readonly name: "owner";
|
|
1630
|
+
readonly internalType: "address";
|
|
1631
|
+
readonly type: "address";
|
|
1632
|
+
readonly indexed: true;
|
|
1633
|
+
}, {
|
|
1634
|
+
readonly name: "operator";
|
|
1635
|
+
readonly internalType: "address";
|
|
1636
|
+
readonly type: "address";
|
|
1637
|
+
readonly indexed: true;
|
|
1638
|
+
}, {
|
|
1639
|
+
readonly name: "approved";
|
|
1640
|
+
readonly internalType: "bool";
|
|
1641
|
+
readonly type: "bool";
|
|
1642
|
+
readonly indexed: false;
|
|
1643
|
+
}];
|
|
1644
|
+
readonly name: "ApprovalForAll";
|
|
1645
|
+
}, {
|
|
1646
|
+
readonly type: "event";
|
|
1647
|
+
readonly anonymous: false;
|
|
1648
|
+
readonly inputs: readonly [{
|
|
1649
|
+
readonly name: "from";
|
|
1650
|
+
readonly internalType: "address";
|
|
1651
|
+
readonly type: "address";
|
|
1652
|
+
readonly indexed: true;
|
|
1653
|
+
}, {
|
|
1654
|
+
readonly name: "to";
|
|
1655
|
+
readonly internalType: "address";
|
|
1656
|
+
readonly type: "address";
|
|
1657
|
+
readonly indexed: true;
|
|
1658
|
+
}, {
|
|
1659
|
+
readonly name: "tokenId";
|
|
1660
|
+
readonly internalType: "uint256";
|
|
1661
|
+
readonly type: "uint256";
|
|
1662
|
+
readonly indexed: true;
|
|
1663
|
+
}];
|
|
1664
|
+
readonly name: "Transfer";
|
|
1665
|
+
}]>;
|
|
1337
1666
|
ERC1155(address: Address): BaseContract<readonly [{
|
|
1338
1667
|
readonly type: "function";
|
|
1339
1668
|
readonly inputs: readonly [{
|
package/dist/src/deploys.d.ts
CHANGED
|
@@ -0,0 +1,329 @@
|
|
|
1
|
+
export declare const iCryptoPunks721Abi: readonly [{
|
|
2
|
+
readonly type: "function";
|
|
3
|
+
readonly inputs: readonly [{
|
|
4
|
+
readonly name: "to";
|
|
5
|
+
readonly internalType: "address";
|
|
6
|
+
readonly type: "address";
|
|
7
|
+
}, {
|
|
8
|
+
readonly name: "tokenId";
|
|
9
|
+
readonly internalType: "uint256";
|
|
10
|
+
readonly type: "uint256";
|
|
11
|
+
}];
|
|
12
|
+
readonly name: "approve";
|
|
13
|
+
readonly outputs: readonly [];
|
|
14
|
+
readonly stateMutability: "nonpayable";
|
|
15
|
+
}, {
|
|
16
|
+
readonly type: "function";
|
|
17
|
+
readonly inputs: readonly [{
|
|
18
|
+
readonly name: "owner";
|
|
19
|
+
readonly internalType: "address";
|
|
20
|
+
readonly type: "address";
|
|
21
|
+
}];
|
|
22
|
+
readonly name: "balanceOf";
|
|
23
|
+
readonly outputs: readonly [{
|
|
24
|
+
readonly name: "balance";
|
|
25
|
+
readonly internalType: "uint256";
|
|
26
|
+
readonly type: "uint256";
|
|
27
|
+
}];
|
|
28
|
+
readonly stateMutability: "view";
|
|
29
|
+
}, {
|
|
30
|
+
readonly type: "function";
|
|
31
|
+
readonly inputs: readonly [{
|
|
32
|
+
readonly name: "tokenId";
|
|
33
|
+
readonly internalType: "uint256";
|
|
34
|
+
readonly type: "uint256";
|
|
35
|
+
}];
|
|
36
|
+
readonly name: "getApproved";
|
|
37
|
+
readonly outputs: readonly [{
|
|
38
|
+
readonly name: "operator";
|
|
39
|
+
readonly internalType: "address";
|
|
40
|
+
readonly type: "address";
|
|
41
|
+
}];
|
|
42
|
+
readonly stateMutability: "view";
|
|
43
|
+
}, {
|
|
44
|
+
readonly type: "function";
|
|
45
|
+
readonly inputs: readonly [{
|
|
46
|
+
readonly name: "owner";
|
|
47
|
+
readonly internalType: "address";
|
|
48
|
+
readonly type: "address";
|
|
49
|
+
}, {
|
|
50
|
+
readonly name: "operator";
|
|
51
|
+
readonly internalType: "address";
|
|
52
|
+
readonly type: "address";
|
|
53
|
+
}];
|
|
54
|
+
readonly name: "isApprovedForAll";
|
|
55
|
+
readonly outputs: readonly [{
|
|
56
|
+
readonly name: "";
|
|
57
|
+
readonly internalType: "bool";
|
|
58
|
+
readonly type: "bool";
|
|
59
|
+
}];
|
|
60
|
+
readonly stateMutability: "view";
|
|
61
|
+
}, {
|
|
62
|
+
readonly type: "function";
|
|
63
|
+
readonly inputs: readonly [];
|
|
64
|
+
readonly name: "licensingTerms";
|
|
65
|
+
readonly outputs: readonly [{
|
|
66
|
+
readonly name: "";
|
|
67
|
+
readonly internalType: "string";
|
|
68
|
+
readonly type: "string";
|
|
69
|
+
}];
|
|
70
|
+
readonly stateMutability: "pure";
|
|
71
|
+
}, {
|
|
72
|
+
readonly type: "function";
|
|
73
|
+
readonly inputs: readonly [{
|
|
74
|
+
readonly name: "punkIndexes";
|
|
75
|
+
readonly internalType: "uint256[]";
|
|
76
|
+
readonly type: "uint256[]";
|
|
77
|
+
}];
|
|
78
|
+
readonly name: "migrateLegacyWrappedPunks";
|
|
79
|
+
readonly outputs: readonly [];
|
|
80
|
+
readonly stateMutability: "nonpayable";
|
|
81
|
+
}, {
|
|
82
|
+
readonly type: "function";
|
|
83
|
+
readonly inputs: readonly [{
|
|
84
|
+
readonly name: "tokenId";
|
|
85
|
+
readonly internalType: "uint256";
|
|
86
|
+
readonly type: "uint256";
|
|
87
|
+
}];
|
|
88
|
+
readonly name: "ownerOf";
|
|
89
|
+
readonly outputs: readonly [{
|
|
90
|
+
readonly name: "owner";
|
|
91
|
+
readonly internalType: "address";
|
|
92
|
+
readonly type: "address";
|
|
93
|
+
}];
|
|
94
|
+
readonly stateMutability: "view";
|
|
95
|
+
}, {
|
|
96
|
+
readonly type: "function";
|
|
97
|
+
readonly inputs: readonly [{
|
|
98
|
+
readonly name: "user";
|
|
99
|
+
readonly internalType: "address";
|
|
100
|
+
readonly type: "address";
|
|
101
|
+
}];
|
|
102
|
+
readonly name: "punkProxyForUser";
|
|
103
|
+
readonly outputs: readonly [{
|
|
104
|
+
readonly name: "";
|
|
105
|
+
readonly internalType: "address";
|
|
106
|
+
readonly type: "address";
|
|
107
|
+
}];
|
|
108
|
+
readonly stateMutability: "view";
|
|
109
|
+
}, {
|
|
110
|
+
readonly type: "function";
|
|
111
|
+
readonly inputs: readonly [{
|
|
112
|
+
readonly name: "punkIndex";
|
|
113
|
+
readonly internalType: "uint256";
|
|
114
|
+
readonly type: "uint256";
|
|
115
|
+
}];
|
|
116
|
+
readonly name: "rescuePunk";
|
|
117
|
+
readonly outputs: readonly [];
|
|
118
|
+
readonly stateMutability: "nonpayable";
|
|
119
|
+
}, {
|
|
120
|
+
readonly type: "function";
|
|
121
|
+
readonly inputs: readonly [{
|
|
122
|
+
readonly name: "from";
|
|
123
|
+
readonly internalType: "address";
|
|
124
|
+
readonly type: "address";
|
|
125
|
+
}, {
|
|
126
|
+
readonly name: "to";
|
|
127
|
+
readonly internalType: "address";
|
|
128
|
+
readonly type: "address";
|
|
129
|
+
}, {
|
|
130
|
+
readonly name: "tokenId";
|
|
131
|
+
readonly internalType: "uint256";
|
|
132
|
+
readonly type: "uint256";
|
|
133
|
+
}];
|
|
134
|
+
readonly name: "safeTransferFrom";
|
|
135
|
+
readonly outputs: readonly [];
|
|
136
|
+
readonly stateMutability: "nonpayable";
|
|
137
|
+
}, {
|
|
138
|
+
readonly type: "function";
|
|
139
|
+
readonly inputs: readonly [{
|
|
140
|
+
readonly name: "from";
|
|
141
|
+
readonly internalType: "address";
|
|
142
|
+
readonly type: "address";
|
|
143
|
+
}, {
|
|
144
|
+
readonly name: "to";
|
|
145
|
+
readonly internalType: "address";
|
|
146
|
+
readonly type: "address";
|
|
147
|
+
}, {
|
|
148
|
+
readonly name: "tokenId";
|
|
149
|
+
readonly internalType: "uint256";
|
|
150
|
+
readonly type: "uint256";
|
|
151
|
+
}, {
|
|
152
|
+
readonly name: "data";
|
|
153
|
+
readonly internalType: "bytes";
|
|
154
|
+
readonly type: "bytes";
|
|
155
|
+
}];
|
|
156
|
+
readonly name: "safeTransferFrom";
|
|
157
|
+
readonly outputs: readonly [];
|
|
158
|
+
readonly stateMutability: "nonpayable";
|
|
159
|
+
}, {
|
|
160
|
+
readonly type: "function";
|
|
161
|
+
readonly inputs: readonly [{
|
|
162
|
+
readonly name: "operator";
|
|
163
|
+
readonly internalType: "address";
|
|
164
|
+
readonly type: "address";
|
|
165
|
+
}, {
|
|
166
|
+
readonly name: "approved";
|
|
167
|
+
readonly internalType: "bool";
|
|
168
|
+
readonly type: "bool";
|
|
169
|
+
}];
|
|
170
|
+
readonly name: "setApprovalForAll";
|
|
171
|
+
readonly outputs: readonly [];
|
|
172
|
+
readonly stateMutability: "nonpayable";
|
|
173
|
+
}, {
|
|
174
|
+
readonly type: "function";
|
|
175
|
+
readonly inputs: readonly [{
|
|
176
|
+
readonly name: "interfaceId";
|
|
177
|
+
readonly internalType: "bytes4";
|
|
178
|
+
readonly type: "bytes4";
|
|
179
|
+
}];
|
|
180
|
+
readonly name: "supportsInterface";
|
|
181
|
+
readonly outputs: readonly [{
|
|
182
|
+
readonly name: "";
|
|
183
|
+
readonly internalType: "bool";
|
|
184
|
+
readonly type: "bool";
|
|
185
|
+
}];
|
|
186
|
+
readonly stateMutability: "view";
|
|
187
|
+
}, {
|
|
188
|
+
readonly type: "function";
|
|
189
|
+
readonly inputs: readonly [{
|
|
190
|
+
readonly name: "owner";
|
|
191
|
+
readonly internalType: "address";
|
|
192
|
+
readonly type: "address";
|
|
193
|
+
}];
|
|
194
|
+
readonly name: "tokensOfOwner";
|
|
195
|
+
readonly outputs: readonly [{
|
|
196
|
+
readonly name: "";
|
|
197
|
+
readonly internalType: "uint256[]";
|
|
198
|
+
readonly type: "uint256[]";
|
|
199
|
+
}];
|
|
200
|
+
readonly stateMutability: "view";
|
|
201
|
+
}, {
|
|
202
|
+
readonly type: "function";
|
|
203
|
+
readonly inputs: readonly [];
|
|
204
|
+
readonly name: "totalSupply";
|
|
205
|
+
readonly outputs: readonly [{
|
|
206
|
+
readonly name: "";
|
|
207
|
+
readonly internalType: "uint256";
|
|
208
|
+
readonly type: "uint256";
|
|
209
|
+
}];
|
|
210
|
+
readonly stateMutability: "view";
|
|
211
|
+
}, {
|
|
212
|
+
readonly type: "function";
|
|
213
|
+
readonly inputs: readonly [{
|
|
214
|
+
readonly name: "from";
|
|
215
|
+
readonly internalType: "address";
|
|
216
|
+
readonly type: "address";
|
|
217
|
+
}, {
|
|
218
|
+
readonly name: "to";
|
|
219
|
+
readonly internalType: "address";
|
|
220
|
+
readonly type: "address";
|
|
221
|
+
}, {
|
|
222
|
+
readonly name: "tokenId";
|
|
223
|
+
readonly internalType: "uint256";
|
|
224
|
+
readonly type: "uint256";
|
|
225
|
+
}];
|
|
226
|
+
readonly name: "transferFrom";
|
|
227
|
+
readonly outputs: readonly [];
|
|
228
|
+
readonly stateMutability: "nonpayable";
|
|
229
|
+
}, {
|
|
230
|
+
readonly type: "function";
|
|
231
|
+
readonly inputs: readonly [{
|
|
232
|
+
readonly name: "punkIndex";
|
|
233
|
+
readonly internalType: "uint256";
|
|
234
|
+
readonly type: "uint256";
|
|
235
|
+
}];
|
|
236
|
+
readonly name: "unwrapPunk";
|
|
237
|
+
readonly outputs: readonly [];
|
|
238
|
+
readonly stateMutability: "nonpayable";
|
|
239
|
+
}, {
|
|
240
|
+
readonly type: "function";
|
|
241
|
+
readonly inputs: readonly [{
|
|
242
|
+
readonly name: "punkIndexes";
|
|
243
|
+
readonly internalType: "uint256[]";
|
|
244
|
+
readonly type: "uint256[]";
|
|
245
|
+
}];
|
|
246
|
+
readonly name: "unwrapPunkBatch";
|
|
247
|
+
readonly outputs: readonly [];
|
|
248
|
+
readonly stateMutability: "nonpayable";
|
|
249
|
+
}, {
|
|
250
|
+
readonly type: "function";
|
|
251
|
+
readonly inputs: readonly [{
|
|
252
|
+
readonly name: "punkIndex";
|
|
253
|
+
readonly internalType: "uint256";
|
|
254
|
+
readonly type: "uint256";
|
|
255
|
+
}];
|
|
256
|
+
readonly name: "wrapPunk";
|
|
257
|
+
readonly outputs: readonly [];
|
|
258
|
+
readonly stateMutability: "nonpayable";
|
|
259
|
+
}, {
|
|
260
|
+
readonly type: "function";
|
|
261
|
+
readonly inputs: readonly [{
|
|
262
|
+
readonly name: "punkIndexes";
|
|
263
|
+
readonly internalType: "uint256[]";
|
|
264
|
+
readonly type: "uint256[]";
|
|
265
|
+
}];
|
|
266
|
+
readonly name: "wrapPunkBatch";
|
|
267
|
+
readonly outputs: readonly [];
|
|
268
|
+
readonly stateMutability: "nonpayable";
|
|
269
|
+
}, {
|
|
270
|
+
readonly type: "event";
|
|
271
|
+
readonly anonymous: false;
|
|
272
|
+
readonly inputs: readonly [{
|
|
273
|
+
readonly name: "owner";
|
|
274
|
+
readonly internalType: "address";
|
|
275
|
+
readonly type: "address";
|
|
276
|
+
readonly indexed: true;
|
|
277
|
+
}, {
|
|
278
|
+
readonly name: "approved";
|
|
279
|
+
readonly internalType: "address";
|
|
280
|
+
readonly type: "address";
|
|
281
|
+
readonly indexed: true;
|
|
282
|
+
}, {
|
|
283
|
+
readonly name: "tokenId";
|
|
284
|
+
readonly internalType: "uint256";
|
|
285
|
+
readonly type: "uint256";
|
|
286
|
+
readonly indexed: true;
|
|
287
|
+
}];
|
|
288
|
+
readonly name: "Approval";
|
|
289
|
+
}, {
|
|
290
|
+
readonly type: "event";
|
|
291
|
+
readonly anonymous: false;
|
|
292
|
+
readonly inputs: readonly [{
|
|
293
|
+
readonly name: "owner";
|
|
294
|
+
readonly internalType: "address";
|
|
295
|
+
readonly type: "address";
|
|
296
|
+
readonly indexed: true;
|
|
297
|
+
}, {
|
|
298
|
+
readonly name: "operator";
|
|
299
|
+
readonly internalType: "address";
|
|
300
|
+
readonly type: "address";
|
|
301
|
+
readonly indexed: true;
|
|
302
|
+
}, {
|
|
303
|
+
readonly name: "approved";
|
|
304
|
+
readonly internalType: "bool";
|
|
305
|
+
readonly type: "bool";
|
|
306
|
+
readonly indexed: false;
|
|
307
|
+
}];
|
|
308
|
+
readonly name: "ApprovalForAll";
|
|
309
|
+
}, {
|
|
310
|
+
readonly type: "event";
|
|
311
|
+
readonly anonymous: false;
|
|
312
|
+
readonly inputs: readonly [{
|
|
313
|
+
readonly name: "from";
|
|
314
|
+
readonly internalType: "address";
|
|
315
|
+
readonly type: "address";
|
|
316
|
+
readonly indexed: true;
|
|
317
|
+
}, {
|
|
318
|
+
readonly name: "to";
|
|
319
|
+
readonly internalType: "address";
|
|
320
|
+
readonly type: "address";
|
|
321
|
+
readonly indexed: true;
|
|
322
|
+
}, {
|
|
323
|
+
readonly name: "tokenId";
|
|
324
|
+
readonly internalType: "uint256";
|
|
325
|
+
readonly type: "uint256";
|
|
326
|
+
readonly indexed: true;
|
|
327
|
+
}];
|
|
328
|
+
readonly name: "Transfer";
|
|
329
|
+
}];
|