@gitmyabi/presale 1.0.3 → 1.0.5

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.
@@ -1,13 +1,13 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.PresaleV3_json = exports.PresaleV3_jsonAbi = void 0;
3
+ exports.PresaleV1_json = exports.PresaleV1_jsonAbi = void 0;
4
4
  const viem_1 = require("viem");
5
5
  /**
6
- * PresaleV3_json ABI
6
+ * PresaleV1_json ABI
7
7
  *
8
8
  * This ABI is typed using viem's type system for full type safety.
9
9
  */
10
- exports.PresaleV3_jsonAbi = [
10
+ exports.PresaleV1_jsonAbi = [
11
11
  {
12
12
  "inputs": [],
13
13
  "stateMutability": "nonpayable",
@@ -338,19 +338,6 @@ exports.PresaleV3_jsonAbi = [
338
338
  "name": "Unpaused",
339
339
  "type": "event"
340
340
  },
341
- {
342
- "inputs": [],
343
- "name": "USDCInterface",
344
- "outputs": [
345
- {
346
- "internalType": "contract IERC20Upgradeable",
347
- "name": "",
348
- "type": "address"
349
- }
350
- ],
351
- "stateMutability": "view",
352
- "type": "function"
353
- },
354
341
  {
355
342
  "inputs": [],
356
343
  "name": "USDTInterface",
@@ -390,19 +377,6 @@ exports.PresaleV3_jsonAbi = [
390
377
  "stateMutability": "view",
391
378
  "type": "function"
392
379
  },
393
- {
394
- "inputs": [],
395
- "name": "applySanctions",
396
- "outputs": [
397
- {
398
- "internalType": "bool",
399
- "name": "",
400
- "type": "bool"
401
- }
402
- ],
403
- "stateMutability": "view",
404
- "type": "function"
405
- },
406
380
  {
407
381
  "inputs": [],
408
382
  "name": "baseDecimals",
@@ -482,59 +456,6 @@ exports.PresaleV3_jsonAbi = [
482
456
  "stateMutability": "payable",
483
457
  "type": "function"
484
458
  },
485
- {
486
- "inputs": [
487
- {
488
- "internalType": "uint256",
489
- "name": "amount",
490
- "type": "uint256"
491
- },
492
- {
493
- "internalType": "bool",
494
- "name": "stake",
495
- "type": "bool"
496
- }
497
- ],
498
- "name": "buyWithUSDC",
499
- "outputs": [
500
- {
501
- "internalType": "bool",
502
- "name": "",
503
- "type": "bool"
504
- }
505
- ],
506
- "stateMutability": "nonpayable",
507
- "type": "function"
508
- },
509
- {
510
- "inputs": [
511
- {
512
- "internalType": "address",
513
- "name": "_user",
514
- "type": "address"
515
- },
516
- {
517
- "internalType": "uint256",
518
- "name": "_amount",
519
- "type": "uint256"
520
- },
521
- {
522
- "internalType": "bool",
523
- "name": "stake",
524
- "type": "bool"
525
- }
526
- ],
527
- "name": "buyWithUSDCWERT",
528
- "outputs": [
529
- {
530
- "internalType": "bool",
531
- "name": "",
532
- "type": "bool"
533
- }
534
- ],
535
- "stateMutability": "nonpayable",
536
- "type": "function"
537
- },
538
459
  {
539
460
  "inputs": [
540
461
  {
@@ -803,6 +724,59 @@ exports.PresaleV3_jsonAbi = [
803
724
  "stateMutability": "nonpayable",
804
725
  "type": "function"
805
726
  },
727
+ {
728
+ "inputs": [
729
+ {
730
+ "internalType": "address",
731
+ "name": "_oracle",
732
+ "type": "address"
733
+ },
734
+ {
735
+ "internalType": "address",
736
+ "name": "_usdt",
737
+ "type": "address"
738
+ },
739
+ {
740
+ "internalType": "uint256",
741
+ "name": "_startTime",
742
+ "type": "uint256"
743
+ },
744
+ {
745
+ "internalType": "uint256",
746
+ "name": "_endTime",
747
+ "type": "uint256"
748
+ },
749
+ {
750
+ "internalType": "uint256[][3]",
751
+ "name": "_rounds",
752
+ "type": "uint256[][3]"
753
+ },
754
+ {
755
+ "internalType": "uint256",
756
+ "name": "_maxTokensToBuy",
757
+ "type": "uint256"
758
+ },
759
+ {
760
+ "internalType": "address",
761
+ "name": "_paymentWallet",
762
+ "type": "address"
763
+ },
764
+ {
765
+ "internalType": "bool",
766
+ "name": "_dynamicTimeFlag",
767
+ "type": "bool"
768
+ },
769
+ {
770
+ "internalType": "uint256",
771
+ "name": "_timeConstant",
772
+ "type": "uint256"
773
+ }
774
+ ],
775
+ "name": "initialize",
776
+ "outputs": [],
777
+ "stateMutability": "nonpayable",
778
+ "type": "function"
779
+ },
806
780
  {
807
781
  "inputs": [
808
782
  {
@@ -1059,19 +1033,6 @@ exports.PresaleV3_jsonAbi = [
1059
1033
  "stateMutability": "view",
1060
1034
  "type": "function"
1061
1035
  },
1062
- {
1063
- "inputs": [],
1064
- "name": "sanctionsList",
1065
- "outputs": [
1066
- {
1067
- "internalType": "contract ISanctionsList",
1068
- "name": "",
1069
- "type": "address"
1070
- }
1071
- ],
1072
- "stateMutability": "view",
1073
- "type": "function"
1074
- },
1075
1036
  {
1076
1037
  "inputs": [
1077
1038
  {
@@ -1142,37 +1103,6 @@ exports.PresaleV3_jsonAbi = [
1142
1103
  "stateMutability": "nonpayable",
1143
1104
  "type": "function"
1144
1105
  },
1145
- {
1146
- "inputs": [
1147
- {
1148
- "internalType": "address",
1149
- "name": "_saleToken",
1150
- "type": "address"
1151
- }
1152
- ],
1153
- "name": "setSaleToken",
1154
- "outputs": [],
1155
- "stateMutability": "nonpayable",
1156
- "type": "function"
1157
- },
1158
- {
1159
- "inputs": [
1160
- {
1161
- "internalType": "address",
1162
- "name": "_sanctionContract",
1163
- "type": "address"
1164
- },
1165
- {
1166
- "internalType": "bool",
1167
- "name": "_applySanction",
1168
- "type": "bool"
1169
- }
1170
- ],
1171
- "name": "setSanctions",
1172
- "outputs": [],
1173
- "stateMutability": "nonpayable",
1174
- "type": "function"
1175
- },
1176
1106
  {
1177
1107
  "inputs": [
1178
1108
  {
@@ -1316,24 +1246,6 @@ exports.PresaleV3_jsonAbi = [
1316
1246
  "stateMutability": "view",
1317
1247
  "type": "function"
1318
1248
  },
1319
- {
1320
- "inputs": [
1321
- {
1322
- "internalType": "address",
1323
- "name": "_token",
1324
- "type": "address"
1325
- },
1326
- {
1327
- "internalType": "uint256",
1328
- "name": "_amount",
1329
- "type": "uint256"
1330
- }
1331
- ],
1332
- "name": "tokenTransfer",
1333
- "outputs": [],
1334
- "stateMutability": "nonpayable",
1335
- "type": "function"
1336
- },
1337
1249
  {
1338
1250
  "inputs": [],
1339
1251
  "name": "totalBoughtAndStaked",
@@ -1541,7 +1453,7 @@ exports.PresaleV3_jsonAbi = [
1541
1453
  }
1542
1454
  ];
1543
1455
  /**
1544
- * PresaleV3_json Contract Class
1456
+ * PresaleV1_json Contract Class
1545
1457
  *
1546
1458
  * Provides a class-based API similar to TypeChain for interacting with the contract.
1547
1459
  *
@@ -1549,12 +1461,12 @@ exports.PresaleV3_jsonAbi = [
1549
1461
  * ```typescript
1550
1462
  * import { createPublicClient, createWalletClient, http } from 'viem';
1551
1463
  * import { mainnet } from 'viem/chains';
1552
- * import { PresaleV3_json } from 'PresaleV3_json';
1464
+ * import { PresaleV1_json } from 'PresaleV1_json';
1553
1465
  *
1554
1466
  * const publicClient = createPublicClient({ chain: mainnet, transport: http() });
1555
1467
  * const walletClient = createWalletClient({ chain: mainnet, transport: http() });
1556
1468
  *
1557
- * const contract = new PresaleV3_json('0x...', { publicClient, walletClient });
1469
+ * const contract = new PresaleV1_json('0x...', { publicClient, walletClient });
1558
1470
  *
1559
1471
  * // Read functions
1560
1472
  * const result = await contract.balanceOf('0x...');
@@ -1572,13 +1484,13 @@ exports.PresaleV3_jsonAbi = [
1572
1484
  * });
1573
1485
  * ```
1574
1486
  */
1575
- class PresaleV3_json {
1487
+ class PresaleV1_json {
1576
1488
  constructor(address, clients) {
1577
1489
  this.contractAddress = address;
1578
1490
  this.publicClient = clients.publicClient;
1579
1491
  this.contract = (0, viem_1.getContract)({
1580
1492
  address,
1581
- abi: exports.PresaleV3_jsonAbi,
1493
+ abi: exports.PresaleV1_jsonAbi,
1582
1494
  client: {
1583
1495
  public: clients.publicClient,
1584
1496
  wallet: clients.walletClient,
@@ -1597,13 +1509,6 @@ class PresaleV3_json {
1597
1509
  getContract() {
1598
1510
  return this.contract;
1599
1511
  }
1600
- /**
1601
- * USDCInterface
1602
- * view
1603
- */
1604
- async USDCInterface() {
1605
- return this.contract.read.USDCInterface();
1606
- }
1607
1512
  /**
1608
1513
  * USDTInterface
1609
1514
  * view
@@ -1625,13 +1530,6 @@ class PresaleV3_json {
1625
1530
  async aggregatorInterface() {
1626
1531
  return this.contract.read.aggregatorInterface();
1627
1532
  }
1628
- /**
1629
- * applySanctions
1630
- * view
1631
- */
1632
- async applySanctions() {
1633
- return this.contract.read.applySanctions();
1634
- }
1635
1533
  /**
1636
1534
  * baseDecimals
1637
1535
  * view
@@ -1786,13 +1684,6 @@ class PresaleV3_json {
1786
1684
  async saleToken() {
1787
1685
  return this.contract.read.saleToken();
1788
1686
  }
1789
- /**
1790
- * sanctionsList
1791
- * view
1792
- */
1793
- async sanctionsList() {
1794
- return this.contract.read.sanctionsList();
1795
- }
1796
1687
  /**
1797
1688
  * stakeingWhitelistStatus
1798
1689
  * view
@@ -1917,28 +1808,6 @@ class PresaleV3_json {
1917
1808
  }
1918
1809
  return this.contract.write.buyWithEth([amount, stake], options);
1919
1810
  }
1920
- /**
1921
- * buyWithUSDC
1922
- * nonpayable
1923
- * @param options Optional transaction parameters (value, gas, nonce, etc.)
1924
- */
1925
- async buyWithUSDC(amount, stake, options) {
1926
- if (!this.contract.write) {
1927
- throw new Error('Wallet client is required for write operations');
1928
- }
1929
- return this.contract.write.buyWithUSDC([amount, stake], options);
1930
- }
1931
- /**
1932
- * buyWithUSDCWERT
1933
- * nonpayable
1934
- * @param options Optional transaction parameters (value, gas, nonce, etc.)
1935
- */
1936
- async buyWithUSDCWERT(_user, _amount, stake, options) {
1937
- if (!this.contract.write) {
1938
- throw new Error('Wallet client is required for write operations');
1939
- }
1940
- return this.contract.write.buyWithUSDCWERT([_user, _amount, stake], options);
1941
- }
1942
1811
  /**
1943
1812
  * buyWithUSDT
1944
1813
  * nonpayable
@@ -2038,6 +1907,17 @@ class PresaleV3_json {
2038
1907
  }
2039
1908
  return this.contract.write.incrementCurrentStep(options);
2040
1909
  }
1910
+ /**
1911
+ * initialize
1912
+ * nonpayable
1913
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1914
+ */
1915
+ async initialize(_oracle, _usdt, _startTime, _endTime, _rounds, _maxTokensToBuy, _paymentWallet, _dynamicTimeFlag, _timeConstant, options) {
1916
+ if (!this.contract.write) {
1917
+ throw new Error('Wallet client is required for write operations');
1918
+ }
1919
+ return this.contract.write.initialize([_oracle, _usdt, _startTime, _endTime, _rounds, _maxTokensToBuy, _paymentWallet, _dynamicTimeFlag, _timeConstant], options);
1920
+ }
2041
1921
  /**
2042
1922
  * pause
2043
1923
  * nonpayable
@@ -2148,28 +2028,6 @@ class PresaleV3_json {
2148
2028
  }
2149
2029
  return this.contract.write.setRemainingTokensArray([_unsoldTokens], options);
2150
2030
  }
2151
- /**
2152
- * setSaleToken
2153
- * nonpayable
2154
- * @param options Optional transaction parameters (value, gas, nonce, etc.)
2155
- */
2156
- async setSaleToken(_saleToken, options) {
2157
- if (!this.contract.write) {
2158
- throw new Error('Wallet client is required for write operations');
2159
- }
2160
- return this.contract.write.setSaleToken([_saleToken], options);
2161
- }
2162
- /**
2163
- * setSanctions
2164
- * nonpayable
2165
- * @param options Optional transaction parameters (value, gas, nonce, etc.)
2166
- */
2167
- async setSanctions(_sanctionContract, _applySanction, options) {
2168
- if (!this.contract.write) {
2169
- throw new Error('Wallet client is required for write operations');
2170
- }
2171
- return this.contract.write.setSanctions([_sanctionContract, _applySanction], options);
2172
- }
2173
2031
  /**
2174
2032
  * setSplits
2175
2033
  * nonpayable
@@ -2225,17 +2083,6 @@ class PresaleV3_json {
2225
2083
  }
2226
2084
  return this.contract.write.startClaim([_claimStart, noOfTokens, _saleToken, _stakingManagerAddress], options);
2227
2085
  }
2228
- /**
2229
- * tokenTransfer
2230
- * nonpayable
2231
- * @param options Optional transaction parameters (value, gas, nonce, etc.)
2232
- */
2233
- async tokenTransfer(_token, _amount, options) {
2234
- if (!this.contract.write) {
2235
- throw new Error('Wallet client is required for write operations');
2236
- }
2237
- return this.contract.write.tokenTransfer([_token, _amount], options);
2238
- }
2239
2086
  /**
2240
2087
  * transferOwnership
2241
2088
  * nonpayable
@@ -2329,22 +2176,6 @@ class PresaleV3_json {
2329
2176
  async buyWithEth(amount, stake, options) {
2330
2177
  return contract.simulate.buyWithEth([amount, stake], options);
2331
2178
  },
2332
- /**
2333
- * Simulate buyWithUSDC
2334
- * Returns gas estimate and result without sending transaction
2335
- * @param options Optional transaction parameters (value, gas, nonce, etc.)
2336
- */
2337
- async buyWithUSDC(amount, stake, options) {
2338
- return contract.simulate.buyWithUSDC([amount, stake], options);
2339
- },
2340
- /**
2341
- * Simulate buyWithUSDCWERT
2342
- * Returns gas estimate and result without sending transaction
2343
- * @param options Optional transaction parameters (value, gas, nonce, etc.)
2344
- */
2345
- async buyWithUSDCWERT(_user, _amount, stake, options) {
2346
- return contract.simulate.buyWithUSDCWERT([_user, _amount, stake], options);
2347
- },
2348
2179
  /**
2349
2180
  * Simulate buyWithUSDT
2350
2181
  * Returns gas estimate and result without sending transaction
@@ -2417,6 +2248,14 @@ class PresaleV3_json {
2417
2248
  async incrementCurrentStep(options) {
2418
2249
  return contract.simulate.incrementCurrentStep(options);
2419
2250
  },
2251
+ /**
2252
+ * Simulate initialize
2253
+ * Returns gas estimate and result without sending transaction
2254
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
2255
+ */
2256
+ async initialize(_oracle, _usdt, _startTime, _endTime, _rounds, _maxTokensToBuy, _paymentWallet, _dynamicTimeFlag, _timeConstant, options) {
2257
+ return contract.simulate.initialize([_oracle, _usdt, _startTime, _endTime, _rounds, _maxTokensToBuy, _paymentWallet, _dynamicTimeFlag, _timeConstant], options);
2258
+ },
2420
2259
  /**
2421
2260
  * Simulate pause
2422
2261
  * Returns gas estimate and result without sending transaction
@@ -2497,22 +2336,6 @@ class PresaleV3_json {
2497
2336
  async setRemainingTokensArray(_unsoldTokens, options) {
2498
2337
  return contract.simulate.setRemainingTokensArray([_unsoldTokens], options);
2499
2338
  },
2500
- /**
2501
- * Simulate setSaleToken
2502
- * Returns gas estimate and result without sending transaction
2503
- * @param options Optional transaction parameters (value, gas, nonce, etc.)
2504
- */
2505
- async setSaleToken(_saleToken, options) {
2506
- return contract.simulate.setSaleToken([_saleToken], options);
2507
- },
2508
- /**
2509
- * Simulate setSanctions
2510
- * Returns gas estimate and result without sending transaction
2511
- * @param options Optional transaction parameters (value, gas, nonce, etc.)
2512
- */
2513
- async setSanctions(_sanctionContract, _applySanction, options) {
2514
- return contract.simulate.setSanctions([_sanctionContract, _applySanction], options);
2515
- },
2516
2339
  /**
2517
2340
  * Simulate setSplits
2518
2341
  * Returns gas estimate and result without sending transaction
@@ -2553,14 +2376,6 @@ class PresaleV3_json {
2553
2376
  async startClaim(_claimStart, noOfTokens, _saleToken, _stakingManagerAddress, options) {
2554
2377
  return contract.simulate.startClaim([_claimStart, noOfTokens, _saleToken, _stakingManagerAddress], options);
2555
2378
  },
2556
- /**
2557
- * Simulate tokenTransfer
2558
- * Returns gas estimate and result without sending transaction
2559
- * @param options Optional transaction parameters (value, gas, nonce, etc.)
2560
- */
2561
- async tokenTransfer(_token, _amount, options) {
2562
- return contract.simulate.tokenTransfer([_token, _amount], options);
2563
- },
2564
2379
  /**
2565
2380
  * Simulate transferOwnership
2566
2381
  * Returns gas estimate and result without sending transaction
@@ -2626,7 +2441,7 @@ class PresaleV3_json {
2626
2441
  ClaimStartUpdated: (callback) => {
2627
2442
  return this.publicClient.watchContractEvent({
2628
2443
  address: this.contractAddress,
2629
- abi: exports.PresaleV3_jsonAbi,
2444
+ abi: exports.PresaleV1_jsonAbi,
2630
2445
  eventName: 'ClaimStartUpdated',
2631
2446
  onLogs: (logs) => {
2632
2447
  logs.forEach((log) => {
@@ -2644,7 +2459,7 @@ class PresaleV3_json {
2644
2459
  Initialized: (callback) => {
2645
2460
  return this.publicClient.watchContractEvent({
2646
2461
  address: this.contractAddress,
2647
- abi: exports.PresaleV3_jsonAbi,
2462
+ abi: exports.PresaleV1_jsonAbi,
2648
2463
  eventName: 'Initialized',
2649
2464
  onLogs: (logs) => {
2650
2465
  logs.forEach((log) => {
@@ -2662,7 +2477,7 @@ class PresaleV3_json {
2662
2477
  MaxTokensUpdated: (callback) => {
2663
2478
  return this.publicClient.watchContractEvent({
2664
2479
  address: this.contractAddress,
2665
- abi: exports.PresaleV3_jsonAbi,
2480
+ abi: exports.PresaleV1_jsonAbi,
2666
2481
  eventName: 'MaxTokensUpdated',
2667
2482
  onLogs: (logs) => {
2668
2483
  logs.forEach((log) => {
@@ -2680,7 +2495,7 @@ class PresaleV3_json {
2680
2495
  OwnershipTransferred: (callback, filter) => {
2681
2496
  return this.publicClient.watchContractEvent({
2682
2497
  address: this.contractAddress,
2683
- abi: exports.PresaleV3_jsonAbi,
2498
+ abi: exports.PresaleV1_jsonAbi,
2684
2499
  eventName: 'OwnershipTransferred',
2685
2500
  args: filter,
2686
2501
  onLogs: (logs) => {
@@ -2699,7 +2514,7 @@ class PresaleV3_json {
2699
2514
  Paused: (callback) => {
2700
2515
  return this.publicClient.watchContractEvent({
2701
2516
  address: this.contractAddress,
2702
- abi: exports.PresaleV3_jsonAbi,
2517
+ abi: exports.PresaleV1_jsonAbi,
2703
2518
  eventName: 'Paused',
2704
2519
  onLogs: (logs) => {
2705
2520
  logs.forEach((log) => {
@@ -2717,7 +2532,7 @@ class PresaleV3_json {
2717
2532
  SaleTimeSet: (callback) => {
2718
2533
  return this.publicClient.watchContractEvent({
2719
2534
  address: this.contractAddress,
2720
- abi: exports.PresaleV3_jsonAbi,
2535
+ abi: exports.PresaleV1_jsonAbi,
2721
2536
  eventName: 'SaleTimeSet',
2722
2537
  onLogs: (logs) => {
2723
2538
  logs.forEach((log) => {
@@ -2735,7 +2550,7 @@ class PresaleV3_json {
2735
2550
  SaleTimeUpdated: (callback, filter) => {
2736
2551
  return this.publicClient.watchContractEvent({
2737
2552
  address: this.contractAddress,
2738
- abi: exports.PresaleV3_jsonAbi,
2553
+ abi: exports.PresaleV1_jsonAbi,
2739
2554
  eventName: 'SaleTimeUpdated',
2740
2555
  args: filter,
2741
2556
  onLogs: (logs) => {
@@ -2754,7 +2569,7 @@ class PresaleV3_json {
2754
2569
  TokensAdded: (callback, filter) => {
2755
2570
  return this.publicClient.watchContractEvent({
2756
2571
  address: this.contractAddress,
2757
- abi: exports.PresaleV3_jsonAbi,
2572
+ abi: exports.PresaleV1_jsonAbi,
2758
2573
  eventName: 'TokensAdded',
2759
2574
  args: filter,
2760
2575
  onLogs: (logs) => {
@@ -2773,7 +2588,7 @@ class PresaleV3_json {
2773
2588
  TokensBought: (callback, filter) => {
2774
2589
  return this.publicClient.watchContractEvent({
2775
2590
  address: this.contractAddress,
2776
- abi: exports.PresaleV3_jsonAbi,
2591
+ abi: exports.PresaleV1_jsonAbi,
2777
2592
  eventName: 'TokensBought',
2778
2593
  args: filter,
2779
2594
  onLogs: (logs) => {
@@ -2792,7 +2607,7 @@ class PresaleV3_json {
2792
2607
  TokensBoughtAndStaked: (callback, filter) => {
2793
2608
  return this.publicClient.watchContractEvent({
2794
2609
  address: this.contractAddress,
2795
- abi: exports.PresaleV3_jsonAbi,
2610
+ abi: exports.PresaleV1_jsonAbi,
2796
2611
  eventName: 'TokensBoughtAndStaked',
2797
2612
  args: filter,
2798
2613
  onLogs: (logs) => {
@@ -2811,7 +2626,7 @@ class PresaleV3_json {
2811
2626
  TokensClaimed: (callback, filter) => {
2812
2627
  return this.publicClient.watchContractEvent({
2813
2628
  address: this.contractAddress,
2814
- abi: exports.PresaleV3_jsonAbi,
2629
+ abi: exports.PresaleV1_jsonAbi,
2815
2630
  eventName: 'TokensClaimed',
2816
2631
  args: filter,
2817
2632
  onLogs: (logs) => {
@@ -2830,7 +2645,7 @@ class PresaleV3_json {
2830
2645
  TokensClaimedAndStaked: (callback, filter) => {
2831
2646
  return this.publicClient.watchContractEvent({
2832
2647
  address: this.contractAddress,
2833
- abi: exports.PresaleV3_jsonAbi,
2648
+ abi: exports.PresaleV1_jsonAbi,
2834
2649
  eventName: 'TokensClaimedAndStaked',
2835
2650
  args: filter,
2836
2651
  onLogs: (logs) => {
@@ -2849,7 +2664,7 @@ class PresaleV3_json {
2849
2664
  Unpaused: (callback) => {
2850
2665
  return this.publicClient.watchContractEvent({
2851
2666
  address: this.contractAddress,
2852
- abi: exports.PresaleV3_jsonAbi,
2667
+ abi: exports.PresaleV1_jsonAbi,
2853
2668
  eventName: 'Unpaused',
2854
2669
  onLogs: (logs) => {
2855
2670
  logs.forEach((log) => {
@@ -2861,4 +2676,4 @@ class PresaleV3_json {
2861
2676
  };
2862
2677
  }
2863
2678
  }
2864
- exports.PresaleV3_json = PresaleV3_json;
2679
+ exports.PresaleV1_json = PresaleV1_json;