@gitmyabi/presale 1.0.1 → 1.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +3 -3
- package/contracts/{PresaleV2_json.d.ts → PresaleV3_json.d.ts} +160 -159
- package/contracts/{PresaleV2_json.js → PresaleV3_json.js} +194 -166
- package/contracts/{PresaleV2_json.ts → PresaleV3_json.ts} +226 -218
- package/contracts/index.d.ts +2 -2
- package/contracts/index.js +4 -4
- package/contracts/index.ts +2 -2
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
|
|
3
3
|
Auto-generated TypeScript type bindings for **Presale**
|
|
4
4
|
|
|
5
|
-
- **Build ID**: `etherscan-presale-
|
|
5
|
+
- **Build ID**: `etherscan-presale-4775f480-1785938549711`
|
|
6
6
|
- **Build Number**: 1
|
|
7
|
-
- **Commit**: `
|
|
7
|
+
- **Commit**: `68df81c`
|
|
8
8
|
- **Branch**: `etherscan`
|
|
9
9
|
- **Target**: `ethers-v6`
|
|
10
10
|
- **Contracts**: 2
|
|
@@ -12,7 +12,7 @@ Auto-generated TypeScript type bindings for **Presale**
|
|
|
12
12
|
## Installation
|
|
13
13
|
|
|
14
14
|
```bash
|
|
15
|
-
npm install @gitmyabi/presale@1.0.
|
|
15
|
+
npm install @gitmyabi/presale@1.0.2
|
|
16
16
|
```
|
|
17
17
|
|
|
18
18
|
## Usage
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import type { Address, PublicClient, WalletClient } from 'viem';
|
|
2
2
|
/**
|
|
3
|
-
*
|
|
3
|
+
* PresaleV3_json ABI
|
|
4
4
|
*
|
|
5
5
|
* This ABI is typed using viem's type system for full type safety.
|
|
6
6
|
*/
|
|
7
|
-
export declare const
|
|
7
|
+
export declare const PresaleV3_jsonAbi: readonly [{
|
|
8
8
|
readonly inputs: readonly [];
|
|
9
9
|
readonly stateMutability: "nonpayable";
|
|
10
10
|
readonly type: "constructor";
|
|
@@ -308,6 +308,16 @@ export declare const PresaleV2_jsonAbi: readonly [{
|
|
|
308
308
|
}];
|
|
309
309
|
readonly stateMutability: "view";
|
|
310
310
|
readonly type: "function";
|
|
311
|
+
}, {
|
|
312
|
+
readonly inputs: readonly [];
|
|
313
|
+
readonly name: "applySanctions";
|
|
314
|
+
readonly outputs: readonly [{
|
|
315
|
+
readonly internalType: "bool";
|
|
316
|
+
readonly name: "";
|
|
317
|
+
readonly type: "bool";
|
|
318
|
+
}];
|
|
319
|
+
readonly stateMutability: "view";
|
|
320
|
+
readonly type: "function";
|
|
311
321
|
}, {
|
|
312
322
|
readonly inputs: readonly [];
|
|
313
323
|
readonly name: "baseDecimals";
|
|
@@ -386,6 +396,28 @@ export declare const PresaleV2_jsonAbi: readonly [{
|
|
|
386
396
|
}];
|
|
387
397
|
readonly stateMutability: "nonpayable";
|
|
388
398
|
readonly type: "function";
|
|
399
|
+
}, {
|
|
400
|
+
readonly inputs: readonly [{
|
|
401
|
+
readonly internalType: "address";
|
|
402
|
+
readonly name: "_user";
|
|
403
|
+
readonly type: "address";
|
|
404
|
+
}, {
|
|
405
|
+
readonly internalType: "uint256";
|
|
406
|
+
readonly name: "_amount";
|
|
407
|
+
readonly type: "uint256";
|
|
408
|
+
}, {
|
|
409
|
+
readonly internalType: "bool";
|
|
410
|
+
readonly name: "stake";
|
|
411
|
+
readonly type: "bool";
|
|
412
|
+
}];
|
|
413
|
+
readonly name: "buyWithUSDCWERT";
|
|
414
|
+
readonly outputs: readonly [{
|
|
415
|
+
readonly internalType: "bool";
|
|
416
|
+
readonly name: "";
|
|
417
|
+
readonly type: "bool";
|
|
418
|
+
}];
|
|
419
|
+
readonly stateMutability: "nonpayable";
|
|
420
|
+
readonly type: "function";
|
|
389
421
|
}, {
|
|
390
422
|
readonly inputs: readonly [{
|
|
391
423
|
readonly internalType: "uint256";
|
|
@@ -628,6 +660,16 @@ export declare const PresaleV2_jsonAbi: readonly [{
|
|
|
628
660
|
}];
|
|
629
661
|
readonly stateMutability: "view";
|
|
630
662
|
readonly type: "function";
|
|
663
|
+
}, {
|
|
664
|
+
readonly inputs: readonly [];
|
|
665
|
+
readonly name: "nftToken";
|
|
666
|
+
readonly outputs: readonly [{
|
|
667
|
+
readonly internalType: "contract INFT";
|
|
668
|
+
readonly name: "";
|
|
669
|
+
readonly type: "address";
|
|
670
|
+
}];
|
|
671
|
+
readonly stateMutability: "view";
|
|
672
|
+
readonly type: "function";
|
|
631
673
|
}, {
|
|
632
674
|
readonly inputs: readonly [];
|
|
633
675
|
readonly name: "owner";
|
|
@@ -784,6 +826,16 @@ export declare const PresaleV2_jsonAbi: readonly [{
|
|
|
784
826
|
}];
|
|
785
827
|
readonly stateMutability: "view";
|
|
786
828
|
readonly type: "function";
|
|
829
|
+
}, {
|
|
830
|
+
readonly inputs: readonly [];
|
|
831
|
+
readonly name: "sanctionsList";
|
|
832
|
+
readonly outputs: readonly [{
|
|
833
|
+
readonly internalType: "contract ISanctionsList";
|
|
834
|
+
readonly name: "";
|
|
835
|
+
readonly type: "address";
|
|
836
|
+
}];
|
|
837
|
+
readonly stateMutability: "view";
|
|
838
|
+
readonly type: "function";
|
|
787
839
|
}, {
|
|
788
840
|
readonly inputs: readonly [{
|
|
789
841
|
readonly internalType: "address";
|
|
@@ -828,6 +880,16 @@ export declare const PresaleV2_jsonAbi: readonly [{
|
|
|
828
880
|
readonly outputs: readonly [];
|
|
829
881
|
readonly stateMutability: "nonpayable";
|
|
830
882
|
readonly type: "function";
|
|
883
|
+
}, {
|
|
884
|
+
readonly inputs: readonly [{
|
|
885
|
+
readonly internalType: "address";
|
|
886
|
+
readonly name: "_nftToken";
|
|
887
|
+
readonly type: "address";
|
|
888
|
+
}];
|
|
889
|
+
readonly name: "setNFTToken";
|
|
890
|
+
readonly outputs: readonly [];
|
|
891
|
+
readonly stateMutability: "nonpayable";
|
|
892
|
+
readonly type: "function";
|
|
831
893
|
}, {
|
|
832
894
|
readonly inputs: readonly [{
|
|
833
895
|
readonly internalType: "uint256[]";
|
|
@@ -838,6 +900,20 @@ export declare const PresaleV2_jsonAbi: readonly [{
|
|
|
838
900
|
readonly outputs: readonly [];
|
|
839
901
|
readonly stateMutability: "nonpayable";
|
|
840
902
|
readonly type: "function";
|
|
903
|
+
}, {
|
|
904
|
+
readonly inputs: readonly [{
|
|
905
|
+
readonly internalType: "address";
|
|
906
|
+
readonly name: "_sanctionContract";
|
|
907
|
+
readonly type: "address";
|
|
908
|
+
}, {
|
|
909
|
+
readonly internalType: "bool";
|
|
910
|
+
readonly name: "_applySanction";
|
|
911
|
+
readonly type: "bool";
|
|
912
|
+
}];
|
|
913
|
+
readonly name: "setSanctions";
|
|
914
|
+
readonly outputs: readonly [];
|
|
915
|
+
readonly stateMutability: "nonpayable";
|
|
916
|
+
readonly type: "function";
|
|
841
917
|
}, {
|
|
842
918
|
readonly inputs: readonly [{
|
|
843
919
|
readonly internalType: "address[]";
|
|
@@ -862,16 +938,6 @@ export declare const PresaleV2_jsonAbi: readonly [{
|
|
|
862
938
|
readonly outputs: readonly [];
|
|
863
939
|
readonly stateMutability: "nonpayable";
|
|
864
940
|
readonly type: "function";
|
|
865
|
-
}, {
|
|
866
|
-
readonly inputs: readonly [{
|
|
867
|
-
readonly internalType: "address";
|
|
868
|
-
readonly name: "_stakingManagerAddress";
|
|
869
|
-
readonly type: "address";
|
|
870
|
-
}];
|
|
871
|
-
readonly name: "setStakingManager";
|
|
872
|
-
readonly outputs: readonly [];
|
|
873
|
-
readonly stateMutability: "nonpayable";
|
|
874
|
-
readonly type: "function";
|
|
875
941
|
}, {
|
|
876
942
|
readonly inputs: readonly [{
|
|
877
943
|
readonly internalType: "uint256";
|
|
@@ -882,16 +948,6 @@ export declare const PresaleV2_jsonAbi: readonly [{
|
|
|
882
948
|
readonly outputs: readonly [];
|
|
883
949
|
readonly stateMutability: "nonpayable";
|
|
884
950
|
readonly type: "function";
|
|
885
|
-
}, {
|
|
886
|
-
readonly inputs: readonly [{
|
|
887
|
-
readonly internalType: "address";
|
|
888
|
-
readonly name: "_usdc";
|
|
889
|
-
readonly type: "address";
|
|
890
|
-
}];
|
|
891
|
-
readonly name: "setUSDCInterface";
|
|
892
|
-
readonly outputs: readonly [];
|
|
893
|
-
readonly stateMutability: "nonpayable";
|
|
894
|
-
readonly type: "function";
|
|
895
951
|
}, {
|
|
896
952
|
readonly inputs: readonly [];
|
|
897
953
|
readonly name: "stakeingWhitelistStatus";
|
|
@@ -912,32 +968,6 @@ export declare const PresaleV2_jsonAbi: readonly [{
|
|
|
912
968
|
}];
|
|
913
969
|
readonly stateMutability: "view";
|
|
914
970
|
readonly type: "function";
|
|
915
|
-
}, {
|
|
916
|
-
readonly inputs: readonly [{
|
|
917
|
-
readonly internalType: "uint256";
|
|
918
|
-
readonly name: "_claimStart";
|
|
919
|
-
readonly type: "uint256";
|
|
920
|
-
}, {
|
|
921
|
-
readonly internalType: "uint256";
|
|
922
|
-
readonly name: "noOfTokens";
|
|
923
|
-
readonly type: "uint256";
|
|
924
|
-
}, {
|
|
925
|
-
readonly internalType: "address";
|
|
926
|
-
readonly name: "_saleToken";
|
|
927
|
-
readonly type: "address";
|
|
928
|
-
}, {
|
|
929
|
-
readonly internalType: "address";
|
|
930
|
-
readonly name: "_stakingManagerAddress";
|
|
931
|
-
readonly type: "address";
|
|
932
|
-
}];
|
|
933
|
-
readonly name: "startClaim";
|
|
934
|
-
readonly outputs: readonly [{
|
|
935
|
-
readonly internalType: "bool";
|
|
936
|
-
readonly name: "";
|
|
937
|
-
readonly type: "bool";
|
|
938
|
-
}];
|
|
939
|
-
readonly stateMutability: "nonpayable";
|
|
940
|
-
readonly type: "function";
|
|
941
971
|
}, {
|
|
942
972
|
readonly inputs: readonly [];
|
|
943
973
|
readonly name: "startTime";
|
|
@@ -958,16 +988,6 @@ export declare const PresaleV2_jsonAbi: readonly [{
|
|
|
958
988
|
}];
|
|
959
989
|
readonly stateMutability: "view";
|
|
960
990
|
readonly type: "function";
|
|
961
|
-
}, {
|
|
962
|
-
readonly inputs: readonly [{
|
|
963
|
-
readonly internalType: "uint256";
|
|
964
|
-
readonly name: "amount";
|
|
965
|
-
readonly type: "uint256";
|
|
966
|
-
}];
|
|
967
|
-
readonly name: "tokenTransfer";
|
|
968
|
-
readonly outputs: readonly [];
|
|
969
|
-
readonly stateMutability: "nonpayable";
|
|
970
|
-
readonly type: "function";
|
|
971
991
|
}, {
|
|
972
992
|
readonly inputs: readonly [];
|
|
973
993
|
readonly name: "totalBoughtAndStaked";
|
|
@@ -1126,15 +1146,15 @@ export declare const PresaleV2_jsonAbi: readonly [{
|
|
|
1126
1146
|
readonly type: "function";
|
|
1127
1147
|
}];
|
|
1128
1148
|
/**
|
|
1129
|
-
* Type-safe ABI for
|
|
1149
|
+
* Type-safe ABI for PresaleV3_json
|
|
1130
1150
|
*/
|
|
1131
|
-
export type
|
|
1151
|
+
export type PresaleV3_jsonAbi = typeof PresaleV3_jsonAbi;
|
|
1132
1152
|
/**
|
|
1133
|
-
* Contract instance type for
|
|
1153
|
+
* Contract instance type for PresaleV3_json
|
|
1134
1154
|
*/
|
|
1135
|
-
export type
|
|
1155
|
+
export type PresaleV3_jsonContract = any;
|
|
1136
1156
|
/**
|
|
1137
|
-
*
|
|
1157
|
+
* PresaleV3_json Contract Class
|
|
1138
1158
|
*
|
|
1139
1159
|
* Provides a class-based API similar to TypeChain for interacting with the contract.
|
|
1140
1160
|
*
|
|
@@ -1142,12 +1162,12 @@ export type PresaleV2_jsonContract = any;
|
|
|
1142
1162
|
* ```typescript
|
|
1143
1163
|
* import { createPublicClient, createWalletClient, http } from 'viem';
|
|
1144
1164
|
* import { mainnet } from 'viem/chains';
|
|
1145
|
-
* import {
|
|
1165
|
+
* import { PresaleV3_json } from 'PresaleV3_json';
|
|
1146
1166
|
*
|
|
1147
1167
|
* const publicClient = createPublicClient({ chain: mainnet, transport: http() });
|
|
1148
1168
|
* const walletClient = createWalletClient({ chain: mainnet, transport: http() });
|
|
1149
1169
|
*
|
|
1150
|
-
* const contract = new
|
|
1170
|
+
* const contract = new PresaleV3_json('0x...', { publicClient, walletClient });
|
|
1151
1171
|
*
|
|
1152
1172
|
* // Read functions
|
|
1153
1173
|
* const result = await contract.balanceOf('0x...');
|
|
@@ -1165,7 +1185,7 @@ export type PresaleV2_jsonContract = any;
|
|
|
1165
1185
|
* });
|
|
1166
1186
|
* ```
|
|
1167
1187
|
*/
|
|
1168
|
-
export declare class
|
|
1188
|
+
export declare class PresaleV3_json {
|
|
1169
1189
|
private contract;
|
|
1170
1190
|
private contractAddress;
|
|
1171
1191
|
private publicClient;
|
|
@@ -1180,7 +1200,7 @@ export declare class PresaleV2_json {
|
|
|
1180
1200
|
/**
|
|
1181
1201
|
* Get the underlying viem contract instance
|
|
1182
1202
|
*/
|
|
1183
|
-
getContract():
|
|
1203
|
+
getContract(): PresaleV3_jsonContract;
|
|
1184
1204
|
/**
|
|
1185
1205
|
* USDCInterface
|
|
1186
1206
|
* view
|
|
@@ -1201,6 +1221,11 @@ export declare class PresaleV2_json {
|
|
|
1201
1221
|
* view
|
|
1202
1222
|
*/
|
|
1203
1223
|
aggregatorInterface(): Promise<`0x${string}`>;
|
|
1224
|
+
/**
|
|
1225
|
+
* applySanctions
|
|
1226
|
+
* view
|
|
1227
|
+
*/
|
|
1228
|
+
applySanctions(): Promise<boolean>;
|
|
1204
1229
|
/**
|
|
1205
1230
|
* baseDecimals
|
|
1206
1231
|
* view
|
|
@@ -1266,6 +1291,11 @@ export declare class PresaleV2_json {
|
|
|
1266
1291
|
* view
|
|
1267
1292
|
*/
|
|
1268
1293
|
maxTokensToBuy(): Promise<bigint>;
|
|
1294
|
+
/**
|
|
1295
|
+
* nftToken
|
|
1296
|
+
* view
|
|
1297
|
+
*/
|
|
1298
|
+
nftToken(): Promise<`0x${string}`>;
|
|
1269
1299
|
/**
|
|
1270
1300
|
* owner
|
|
1271
1301
|
* view
|
|
@@ -1311,6 +1341,11 @@ export declare class PresaleV2_json {
|
|
|
1311
1341
|
* view
|
|
1312
1342
|
*/
|
|
1313
1343
|
saleToken(): Promise<`0x${string}`>;
|
|
1344
|
+
/**
|
|
1345
|
+
* sanctionsList
|
|
1346
|
+
* view
|
|
1347
|
+
*/
|
|
1348
|
+
sanctionsList(): Promise<`0x${string}`>;
|
|
1314
1349
|
/**
|
|
1315
1350
|
* stakeingWhitelistStatus
|
|
1316
1351
|
* view
|
|
@@ -1444,6 +1479,23 @@ export declare class PresaleV2_json {
|
|
|
1444
1479
|
nonce?: number;
|
|
1445
1480
|
value?: bigint;
|
|
1446
1481
|
}): Promise<`0x${string}`>;
|
|
1482
|
+
/**
|
|
1483
|
+
* buyWithUSDCWERT
|
|
1484
|
+
* nonpayable
|
|
1485
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1486
|
+
*/
|
|
1487
|
+
buyWithUSDCWERT(_user: `0x${string}`, _amount: bigint, stake: boolean, options?: {
|
|
1488
|
+
accessList?: import('viem').AccessList;
|
|
1489
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
1490
|
+
chain?: import('viem').Chain | null;
|
|
1491
|
+
dataSuffix?: `0x${string}`;
|
|
1492
|
+
gas?: bigint;
|
|
1493
|
+
gasPrice?: bigint;
|
|
1494
|
+
maxFeePerGas?: bigint;
|
|
1495
|
+
maxPriorityFeePerGas?: bigint;
|
|
1496
|
+
nonce?: number;
|
|
1497
|
+
value?: bigint;
|
|
1498
|
+
}): Promise<`0x${string}`>;
|
|
1447
1499
|
/**
|
|
1448
1500
|
* buyWithUSDT
|
|
1449
1501
|
* nonpayable
|
|
@@ -1751,11 +1803,11 @@ export declare class PresaleV2_json {
|
|
|
1751
1803
|
value?: bigint;
|
|
1752
1804
|
}): Promise<`0x${string}`>;
|
|
1753
1805
|
/**
|
|
1754
|
-
*
|
|
1806
|
+
* setNFTToken
|
|
1755
1807
|
* nonpayable
|
|
1756
1808
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1757
1809
|
*/
|
|
1758
|
-
|
|
1810
|
+
setNFTToken(_nftToken: `0x${string}`, options?: {
|
|
1759
1811
|
accessList?: import('viem').AccessList;
|
|
1760
1812
|
authorizationList?: import('viem').AuthorizationList;
|
|
1761
1813
|
chain?: import('viem').Chain | null;
|
|
@@ -1768,45 +1820,11 @@ export declare class PresaleV2_json {
|
|
|
1768
1820
|
value?: bigint;
|
|
1769
1821
|
}): Promise<`0x${string}`>;
|
|
1770
1822
|
/**
|
|
1771
|
-
*
|
|
1772
|
-
* nonpayable
|
|
1773
|
-
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1774
|
-
*/
|
|
1775
|
-
setSplits(_wallets: `0x${string}`[], _percentages: bigint[], options?: {
|
|
1776
|
-
accessList?: import('viem').AccessList;
|
|
1777
|
-
authorizationList?: import('viem').AuthorizationList;
|
|
1778
|
-
chain?: import('viem').Chain | null;
|
|
1779
|
-
dataSuffix?: `0x${string}`;
|
|
1780
|
-
gas?: bigint;
|
|
1781
|
-
gasPrice?: bigint;
|
|
1782
|
-
maxFeePerGas?: bigint;
|
|
1783
|
-
maxPriorityFeePerGas?: bigint;
|
|
1784
|
-
nonce?: number;
|
|
1785
|
-
value?: bigint;
|
|
1786
|
-
}): Promise<`0x${string}`>;
|
|
1787
|
-
/**
|
|
1788
|
-
* setStakeingWhitelistStatus
|
|
1789
|
-
* nonpayable
|
|
1790
|
-
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1791
|
-
*/
|
|
1792
|
-
setStakeingWhitelistStatus(_status: boolean, options?: {
|
|
1793
|
-
accessList?: import('viem').AccessList;
|
|
1794
|
-
authorizationList?: import('viem').AuthorizationList;
|
|
1795
|
-
chain?: import('viem').Chain | null;
|
|
1796
|
-
dataSuffix?: `0x${string}`;
|
|
1797
|
-
gas?: bigint;
|
|
1798
|
-
gasPrice?: bigint;
|
|
1799
|
-
maxFeePerGas?: bigint;
|
|
1800
|
-
maxPriorityFeePerGas?: bigint;
|
|
1801
|
-
nonce?: number;
|
|
1802
|
-
value?: bigint;
|
|
1803
|
-
}): Promise<`0x${string}`>;
|
|
1804
|
-
/**
|
|
1805
|
-
* setStakingManager
|
|
1823
|
+
* setRemainingTokensArray
|
|
1806
1824
|
* nonpayable
|
|
1807
1825
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1808
1826
|
*/
|
|
1809
|
-
|
|
1827
|
+
setRemainingTokensArray(_unsoldTokens: bigint[], options?: {
|
|
1810
1828
|
accessList?: import('viem').AccessList;
|
|
1811
1829
|
authorizationList?: import('viem').AuthorizationList;
|
|
1812
1830
|
chain?: import('viem').Chain | null;
|
|
@@ -1819,11 +1837,11 @@ export declare class PresaleV2_json {
|
|
|
1819
1837
|
value?: bigint;
|
|
1820
1838
|
}): Promise<`0x${string}`>;
|
|
1821
1839
|
/**
|
|
1822
|
-
*
|
|
1840
|
+
* setSanctions
|
|
1823
1841
|
* nonpayable
|
|
1824
1842
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1825
1843
|
*/
|
|
1826
|
-
|
|
1844
|
+
setSanctions(_sanctionContract: `0x${string}`, _applySanction: boolean, options?: {
|
|
1827
1845
|
accessList?: import('viem').AccessList;
|
|
1828
1846
|
authorizationList?: import('viem').AuthorizationList;
|
|
1829
1847
|
chain?: import('viem').Chain | null;
|
|
@@ -1836,11 +1854,11 @@ export declare class PresaleV2_json {
|
|
|
1836
1854
|
value?: bigint;
|
|
1837
1855
|
}): Promise<`0x${string}`>;
|
|
1838
1856
|
/**
|
|
1839
|
-
*
|
|
1857
|
+
* setSplits
|
|
1840
1858
|
* nonpayable
|
|
1841
1859
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1842
1860
|
*/
|
|
1843
|
-
|
|
1861
|
+
setSplits(_wallets: `0x${string}`[], _percentages: bigint[], options?: {
|
|
1844
1862
|
accessList?: import('viem').AccessList;
|
|
1845
1863
|
authorizationList?: import('viem').AuthorizationList;
|
|
1846
1864
|
chain?: import('viem').Chain | null;
|
|
@@ -1853,11 +1871,11 @@ export declare class PresaleV2_json {
|
|
|
1853
1871
|
value?: bigint;
|
|
1854
1872
|
}): Promise<`0x${string}`>;
|
|
1855
1873
|
/**
|
|
1856
|
-
*
|
|
1874
|
+
* setStakeingWhitelistStatus
|
|
1857
1875
|
* nonpayable
|
|
1858
1876
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1859
1877
|
*/
|
|
1860
|
-
|
|
1878
|
+
setStakeingWhitelistStatus(_status: boolean, options?: {
|
|
1861
1879
|
accessList?: import('viem').AccessList;
|
|
1862
1880
|
authorizationList?: import('viem').AuthorizationList;
|
|
1863
1881
|
chain?: import('viem').Chain | null;
|
|
@@ -1870,11 +1888,11 @@ export declare class PresaleV2_json {
|
|
|
1870
1888
|
value?: bigint;
|
|
1871
1889
|
}): Promise<`0x${string}`>;
|
|
1872
1890
|
/**
|
|
1873
|
-
*
|
|
1891
|
+
* setTimeConstant
|
|
1874
1892
|
* nonpayable
|
|
1875
1893
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1876
1894
|
*/
|
|
1877
|
-
|
|
1895
|
+
setTimeConstant(_timeConstant: bigint, options?: {
|
|
1878
1896
|
accessList?: import('viem').AccessList;
|
|
1879
1897
|
authorizationList?: import('viem').AuthorizationList;
|
|
1880
1898
|
chain?: import('viem').Chain | null;
|
|
@@ -2048,6 +2066,23 @@ export declare class PresaleV2_json {
|
|
|
2048
2066
|
nonce?: number;
|
|
2049
2067
|
value?: bigint;
|
|
2050
2068
|
}): Promise<boolean>;
|
|
2069
|
+
/**
|
|
2070
|
+
* Simulate buyWithUSDCWERT
|
|
2071
|
+
* Returns gas estimate and result without sending transaction
|
|
2072
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
2073
|
+
*/
|
|
2074
|
+
buyWithUSDCWERT(_user: `0x${string}`, _amount: bigint, stake: boolean, options?: {
|
|
2075
|
+
accessList?: import("viem").AccessList;
|
|
2076
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
2077
|
+
chain?: import("viem").Chain | null;
|
|
2078
|
+
dataSuffix?: `0x${string}`;
|
|
2079
|
+
gas?: bigint;
|
|
2080
|
+
gasPrice?: bigint;
|
|
2081
|
+
maxFeePerGas?: bigint;
|
|
2082
|
+
maxPriorityFeePerGas?: bigint;
|
|
2083
|
+
nonce?: number;
|
|
2084
|
+
value?: bigint;
|
|
2085
|
+
}): Promise<boolean>;
|
|
2051
2086
|
/**
|
|
2052
2087
|
* Simulate buyWithUSDT
|
|
2053
2088
|
* Returns gas estimate and result without sending transaction
|
|
@@ -2355,11 +2390,11 @@ export declare class PresaleV2_json {
|
|
|
2355
2390
|
value?: bigint;
|
|
2356
2391
|
}): Promise<void>;
|
|
2357
2392
|
/**
|
|
2358
|
-
* Simulate
|
|
2393
|
+
* Simulate setNFTToken
|
|
2359
2394
|
* Returns gas estimate and result without sending transaction
|
|
2360
2395
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
2361
2396
|
*/
|
|
2362
|
-
|
|
2397
|
+
setNFTToken(_nftToken: `0x${string}`, options?: {
|
|
2363
2398
|
accessList?: import("viem").AccessList;
|
|
2364
2399
|
authorizationList?: import("viem").AuthorizationList;
|
|
2365
2400
|
chain?: import("viem").Chain | null;
|
|
@@ -2372,28 +2407,11 @@ export declare class PresaleV2_json {
|
|
|
2372
2407
|
value?: bigint;
|
|
2373
2408
|
}): Promise<void>;
|
|
2374
2409
|
/**
|
|
2375
|
-
* Simulate
|
|
2376
|
-
* Returns gas estimate and result without sending transaction
|
|
2377
|
-
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
2378
|
-
*/
|
|
2379
|
-
setSplits(_wallets: `0x${string}`[], _percentages: bigint[], options?: {
|
|
2380
|
-
accessList?: import("viem").AccessList;
|
|
2381
|
-
authorizationList?: import("viem").AuthorizationList;
|
|
2382
|
-
chain?: import("viem").Chain | null;
|
|
2383
|
-
dataSuffix?: `0x${string}`;
|
|
2384
|
-
gas?: bigint;
|
|
2385
|
-
gasPrice?: bigint;
|
|
2386
|
-
maxFeePerGas?: bigint;
|
|
2387
|
-
maxPriorityFeePerGas?: bigint;
|
|
2388
|
-
nonce?: number;
|
|
2389
|
-
value?: bigint;
|
|
2390
|
-
}): Promise<void>;
|
|
2391
|
-
/**
|
|
2392
|
-
* Simulate setStakeingWhitelistStatus
|
|
2410
|
+
* Simulate setRemainingTokensArray
|
|
2393
2411
|
* Returns gas estimate and result without sending transaction
|
|
2394
2412
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
2395
2413
|
*/
|
|
2396
|
-
|
|
2414
|
+
setRemainingTokensArray(_unsoldTokens: bigint[], options?: {
|
|
2397
2415
|
accessList?: import("viem").AccessList;
|
|
2398
2416
|
authorizationList?: import("viem").AuthorizationList;
|
|
2399
2417
|
chain?: import("viem").Chain | null;
|
|
@@ -2406,11 +2424,11 @@ export declare class PresaleV2_json {
|
|
|
2406
2424
|
value?: bigint;
|
|
2407
2425
|
}): Promise<void>;
|
|
2408
2426
|
/**
|
|
2409
|
-
* Simulate
|
|
2427
|
+
* Simulate setSanctions
|
|
2410
2428
|
* Returns gas estimate and result without sending transaction
|
|
2411
2429
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
2412
2430
|
*/
|
|
2413
|
-
|
|
2431
|
+
setSanctions(_sanctionContract: `0x${string}`, _applySanction: boolean, options?: {
|
|
2414
2432
|
accessList?: import("viem").AccessList;
|
|
2415
2433
|
authorizationList?: import("viem").AuthorizationList;
|
|
2416
2434
|
chain?: import("viem").Chain | null;
|
|
@@ -2423,11 +2441,11 @@ export declare class PresaleV2_json {
|
|
|
2423
2441
|
value?: bigint;
|
|
2424
2442
|
}): Promise<void>;
|
|
2425
2443
|
/**
|
|
2426
|
-
* Simulate
|
|
2444
|
+
* Simulate setSplits
|
|
2427
2445
|
* Returns gas estimate and result without sending transaction
|
|
2428
2446
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
2429
2447
|
*/
|
|
2430
|
-
|
|
2448
|
+
setSplits(_wallets: `0x${string}`[], _percentages: bigint[], options?: {
|
|
2431
2449
|
accessList?: import("viem").AccessList;
|
|
2432
2450
|
authorizationList?: import("viem").AuthorizationList;
|
|
2433
2451
|
chain?: import("viem").Chain | null;
|
|
@@ -2440,11 +2458,11 @@ export declare class PresaleV2_json {
|
|
|
2440
2458
|
value?: bigint;
|
|
2441
2459
|
}): Promise<void>;
|
|
2442
2460
|
/**
|
|
2443
|
-
* Simulate
|
|
2461
|
+
* Simulate setStakeingWhitelistStatus
|
|
2444
2462
|
* Returns gas estimate and result without sending transaction
|
|
2445
2463
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
2446
2464
|
*/
|
|
2447
|
-
|
|
2465
|
+
setStakeingWhitelistStatus(_status: boolean, options?: {
|
|
2448
2466
|
accessList?: import("viem").AccessList;
|
|
2449
2467
|
authorizationList?: import("viem").AuthorizationList;
|
|
2450
2468
|
chain?: import("viem").Chain | null;
|
|
@@ -2457,28 +2475,11 @@ export declare class PresaleV2_json {
|
|
|
2457
2475
|
value?: bigint;
|
|
2458
2476
|
}): Promise<void>;
|
|
2459
2477
|
/**
|
|
2460
|
-
* Simulate
|
|
2461
|
-
* Returns gas estimate and result without sending transaction
|
|
2462
|
-
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
2463
|
-
*/
|
|
2464
|
-
startClaim(_claimStart: bigint, noOfTokens: bigint, _saleToken: `0x${string}`, _stakingManagerAddress: `0x${string}`, options?: {
|
|
2465
|
-
accessList?: import("viem").AccessList;
|
|
2466
|
-
authorizationList?: import("viem").AuthorizationList;
|
|
2467
|
-
chain?: import("viem").Chain | null;
|
|
2468
|
-
dataSuffix?: `0x${string}`;
|
|
2469
|
-
gas?: bigint;
|
|
2470
|
-
gasPrice?: bigint;
|
|
2471
|
-
maxFeePerGas?: bigint;
|
|
2472
|
-
maxPriorityFeePerGas?: bigint;
|
|
2473
|
-
nonce?: number;
|
|
2474
|
-
value?: bigint;
|
|
2475
|
-
}): Promise<boolean>;
|
|
2476
|
-
/**
|
|
2477
|
-
* Simulate tokenTransfer
|
|
2478
|
+
* Simulate setTimeConstant
|
|
2478
2479
|
* Returns gas estimate and result without sending transaction
|
|
2479
2480
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
2480
2481
|
*/
|
|
2481
|
-
|
|
2482
|
+
setTimeConstant(_timeConstant: bigint, options?: {
|
|
2482
2483
|
accessList?: import("viem").AccessList;
|
|
2483
2484
|
authorizationList?: import("viem").AuthorizationList;
|
|
2484
2485
|
chain?: import("viem").Chain | null;
|