@gitmyabi/popo 1.0.0 → 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/{popo.d.ts → POPO.d.ts} +357 -328
- package/contracts/{popo.js → POPO.js} +451 -389
- package/contracts/{popo.ts → POPO.ts} +478 -415
- package/contracts/index.d.ts +2 -2
- package/contracts/index.js +4 -4
- package/contracts/index.ts +2 -2
- package/package.json +3 -3
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import type { Address, PublicClient, WalletClient } from 'viem';
|
|
2
2
|
/**
|
|
3
|
-
*
|
|
3
|
+
* POPO 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 POPOAbi: readonly [{
|
|
8
8
|
readonly inputs: readonly [];
|
|
9
|
-
readonly stateMutability: "
|
|
9
|
+
readonly stateMutability: "nonpayable";
|
|
10
10
|
readonly type: "constructor";
|
|
11
11
|
}, {
|
|
12
12
|
readonly anonymous: false;
|
|
@@ -31,214 +31,123 @@ export declare const popoAbi: readonly [{
|
|
|
31
31
|
}, {
|
|
32
32
|
readonly anonymous: false;
|
|
33
33
|
readonly inputs: readonly [{
|
|
34
|
-
readonly indexed:
|
|
34
|
+
readonly indexed: false;
|
|
35
35
|
readonly internalType: "address";
|
|
36
36
|
readonly name: "account";
|
|
37
37
|
readonly type: "address";
|
|
38
|
+
}, {
|
|
39
|
+
readonly indexed: false;
|
|
40
|
+
readonly internalType: "bool";
|
|
41
|
+
readonly name: "status";
|
|
42
|
+
readonly type: "bool";
|
|
38
43
|
}];
|
|
39
|
-
readonly name: "
|
|
44
|
+
readonly name: "ExcludedFromFee";
|
|
40
45
|
readonly type: "event";
|
|
41
46
|
}, {
|
|
42
47
|
readonly anonymous: false;
|
|
43
48
|
readonly inputs: readonly [{
|
|
44
49
|
readonly indexed: false;
|
|
45
|
-
readonly internalType: "
|
|
46
|
-
readonly name: "
|
|
47
|
-
readonly type: "
|
|
50
|
+
readonly internalType: "address";
|
|
51
|
+
readonly name: "_taxWallet";
|
|
52
|
+
readonly type: "address";
|
|
48
53
|
}];
|
|
49
|
-
readonly name: "
|
|
54
|
+
readonly name: "FeeReceiverUpdated";
|
|
50
55
|
readonly type: "event";
|
|
51
56
|
}, {
|
|
52
57
|
readonly anonymous: false;
|
|
53
58
|
readonly inputs: readonly [{
|
|
54
|
-
readonly indexed:
|
|
55
|
-
readonly internalType: "
|
|
56
|
-
readonly name: "
|
|
57
|
-
readonly type: "
|
|
59
|
+
readonly indexed: false;
|
|
60
|
+
readonly internalType: "uint256";
|
|
61
|
+
readonly name: "buyFee";
|
|
62
|
+
readonly type: "uint256";
|
|
58
63
|
}, {
|
|
59
|
-
readonly indexed:
|
|
60
|
-
readonly internalType: "
|
|
61
|
-
readonly name: "
|
|
62
|
-
readonly type: "
|
|
64
|
+
readonly indexed: false;
|
|
65
|
+
readonly internalType: "uint256";
|
|
66
|
+
readonly name: "sellFee";
|
|
67
|
+
readonly type: "uint256";
|
|
63
68
|
}];
|
|
64
|
-
readonly name: "
|
|
69
|
+
readonly name: "FeesUpdated";
|
|
65
70
|
readonly type: "event";
|
|
66
71
|
}, {
|
|
67
72
|
readonly anonymous: false;
|
|
68
|
-
readonly inputs: readonly [
|
|
69
|
-
|
|
70
|
-
readonly internalType: "address";
|
|
71
|
-
readonly name: "devWallet";
|
|
72
|
-
readonly type: "address";
|
|
73
|
-
}];
|
|
74
|
-
readonly name: "OwnershipTransferredToDev";
|
|
73
|
+
readonly inputs: readonly [];
|
|
74
|
+
readonly name: "LimitsRemoved";
|
|
75
75
|
readonly type: "event";
|
|
76
76
|
}, {
|
|
77
77
|
readonly anonymous: false;
|
|
78
78
|
readonly inputs: readonly [{
|
|
79
|
-
readonly indexed: true;
|
|
80
|
-
readonly internalType: "address";
|
|
81
|
-
readonly name: "from";
|
|
82
|
-
readonly type: "address";
|
|
83
|
-
}, {
|
|
84
|
-
readonly indexed: true;
|
|
85
|
-
readonly internalType: "address";
|
|
86
|
-
readonly name: "to";
|
|
87
|
-
readonly type: "address";
|
|
88
|
-
}, {
|
|
89
79
|
readonly indexed: false;
|
|
90
80
|
readonly internalType: "uint256";
|
|
91
|
-
readonly name: "
|
|
81
|
+
readonly name: "_txAmountLimit";
|
|
92
82
|
readonly type: "uint256";
|
|
93
83
|
}];
|
|
94
|
-
readonly name: "
|
|
84
|
+
readonly name: "MaxTxAmountUpdated";
|
|
95
85
|
readonly type: "event";
|
|
96
86
|
}, {
|
|
97
87
|
readonly anonymous: false;
|
|
98
88
|
readonly inputs: readonly [{
|
|
99
89
|
readonly indexed: false;
|
|
100
90
|
readonly internalType: "uint256";
|
|
101
|
-
readonly name: "
|
|
91
|
+
readonly name: "_walletAmountLimit";
|
|
102
92
|
readonly type: "uint256";
|
|
103
93
|
}];
|
|
104
|
-
readonly name: "
|
|
94
|
+
readonly name: "MaxWalletAmountUpdated";
|
|
105
95
|
readonly type: "event";
|
|
106
96
|
}, {
|
|
107
|
-
readonly
|
|
108
|
-
readonly name: "ManualSwap";
|
|
109
|
-
readonly outputs: readonly [];
|
|
110
|
-
readonly stateMutability: "nonpayable";
|
|
111
|
-
readonly type: "function";
|
|
112
|
-
}, {
|
|
113
|
-
readonly inputs: readonly [{
|
|
114
|
-
readonly internalType: "uint256";
|
|
115
|
-
readonly name: "percentage";
|
|
116
|
-
readonly type: "uint256";
|
|
117
|
-
}];
|
|
118
|
-
readonly name: "PercentTransfer";
|
|
119
|
-
readonly outputs: readonly [];
|
|
120
|
-
readonly stateMutability: "nonpayable";
|
|
121
|
-
readonly type: "function";
|
|
122
|
-
}, {
|
|
97
|
+
readonly anonymous: false;
|
|
123
98
|
readonly inputs: readonly [{
|
|
99
|
+
readonly indexed: true;
|
|
124
100
|
readonly internalType: "address";
|
|
125
|
-
readonly name: "
|
|
101
|
+
readonly name: "previousOwner";
|
|
126
102
|
readonly type: "address";
|
|
127
103
|
}, {
|
|
128
|
-
readonly
|
|
129
|
-
readonly
|
|
130
|
-
readonly
|
|
131
|
-
|
|
132
|
-
readonly name: "RecoverERC20";
|
|
133
|
-
readonly outputs: readonly [];
|
|
134
|
-
readonly stateMutability: "nonpayable";
|
|
135
|
-
readonly type: "function";
|
|
136
|
-
}, {
|
|
137
|
-
readonly inputs: readonly [{
|
|
138
|
-
readonly internalType: "uint256";
|
|
139
|
-
readonly name: "amount";
|
|
140
|
-
readonly type: "uint256";
|
|
104
|
+
readonly indexed: true;
|
|
105
|
+
readonly internalType: "address";
|
|
106
|
+
readonly name: "newOwner";
|
|
107
|
+
readonly type: "address";
|
|
141
108
|
}];
|
|
142
|
-
readonly name: "
|
|
143
|
-
readonly
|
|
144
|
-
readonly stateMutability: "nonpayable";
|
|
145
|
-
readonly type: "function";
|
|
146
|
-
}, {
|
|
147
|
-
readonly inputs: readonly [];
|
|
148
|
-
readonly name: "RemoveAllLimits";
|
|
149
|
-
readonly outputs: readonly [];
|
|
150
|
-
readonly stateMutability: "nonpayable";
|
|
151
|
-
readonly type: "function";
|
|
152
|
-
}, {
|
|
153
|
-
readonly inputs: readonly [];
|
|
154
|
-
readonly name: "RemoveTransfer";
|
|
155
|
-
readonly outputs: readonly [];
|
|
156
|
-
readonly stateMutability: "nonpayable";
|
|
157
|
-
readonly type: "function";
|
|
158
|
-
}, {
|
|
159
|
-
readonly inputs: readonly [];
|
|
160
|
-
readonly name: "Removefees";
|
|
161
|
-
readonly outputs: readonly [];
|
|
162
|
-
readonly stateMutability: "nonpayable";
|
|
163
|
-
readonly type: "function";
|
|
109
|
+
readonly name: "OwnershipTransferred";
|
|
110
|
+
readonly type: "event";
|
|
164
111
|
}, {
|
|
112
|
+
readonly anonymous: false;
|
|
165
113
|
readonly inputs: readonly [{
|
|
114
|
+
readonly indexed: false;
|
|
166
115
|
readonly internalType: "uint256";
|
|
167
|
-
readonly name: "
|
|
116
|
+
readonly name: "_swapbackMin";
|
|
168
117
|
readonly type: "uint256";
|
|
169
118
|
}, {
|
|
119
|
+
readonly indexed: false;
|
|
170
120
|
readonly internalType: "uint256";
|
|
171
|
-
readonly name: "
|
|
121
|
+
readonly name: "_swapbackMax";
|
|
172
122
|
readonly type: "uint256";
|
|
173
123
|
}];
|
|
174
|
-
readonly name: "
|
|
175
|
-
readonly
|
|
176
|
-
readonly stateMutability: "nonpayable";
|
|
177
|
-
readonly type: "function";
|
|
124
|
+
readonly name: "SwapbackUpdated";
|
|
125
|
+
readonly type: "event";
|
|
178
126
|
}, {
|
|
179
|
-
readonly
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
}];
|
|
184
|
-
readonly name: "UpdateMarketingWallet";
|
|
185
|
-
readonly outputs: readonly [];
|
|
186
|
-
readonly stateMutability: "nonpayable";
|
|
187
|
-
readonly type: "function";
|
|
127
|
+
readonly anonymous: false;
|
|
128
|
+
readonly inputs: readonly [];
|
|
129
|
+
readonly name: "TradingOpened";
|
|
130
|
+
readonly type: "event";
|
|
188
131
|
}, {
|
|
132
|
+
readonly anonymous: false;
|
|
189
133
|
readonly inputs: readonly [{
|
|
134
|
+
readonly indexed: true;
|
|
190
135
|
readonly internalType: "address";
|
|
191
|
-
readonly name: "";
|
|
136
|
+
readonly name: "from";
|
|
192
137
|
readonly type: "address";
|
|
193
|
-
}
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
readonly
|
|
197
|
-
readonly
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
readonly stateMutability: "view";
|
|
201
|
-
readonly type: "function";
|
|
202
|
-
}, {
|
|
203
|
-
readonly inputs: readonly [];
|
|
204
|
-
readonly name: "_feeSwapThreshold";
|
|
205
|
-
readonly outputs: readonly [{
|
|
206
|
-
readonly internalType: "uint256";
|
|
207
|
-
readonly name: "";
|
|
208
|
-
readonly type: "uint256";
|
|
209
|
-
}];
|
|
210
|
-
readonly stateMutability: "view";
|
|
211
|
-
readonly type: "function";
|
|
212
|
-
}, {
|
|
213
|
-
readonly inputs: readonly [];
|
|
214
|
-
readonly name: "_maxTxAmount";
|
|
215
|
-
readonly outputs: readonly [{
|
|
216
|
-
readonly internalType: "uint256";
|
|
217
|
-
readonly name: "";
|
|
218
|
-
readonly type: "uint256";
|
|
219
|
-
}];
|
|
220
|
-
readonly stateMutability: "view";
|
|
221
|
-
readonly type: "function";
|
|
222
|
-
}, {
|
|
223
|
-
readonly inputs: readonly [];
|
|
224
|
-
readonly name: "_maxWalletSize";
|
|
225
|
-
readonly outputs: readonly [{
|
|
226
|
-
readonly internalType: "uint256";
|
|
227
|
-
readonly name: "";
|
|
228
|
-
readonly type: "uint256";
|
|
229
|
-
}];
|
|
230
|
-
readonly stateMutability: "view";
|
|
231
|
-
readonly type: "function";
|
|
232
|
-
}, {
|
|
233
|
-
readonly inputs: readonly [];
|
|
234
|
-
readonly name: "_maxfeeSwap";
|
|
235
|
-
readonly outputs: readonly [{
|
|
138
|
+
}, {
|
|
139
|
+
readonly indexed: true;
|
|
140
|
+
readonly internalType: "address";
|
|
141
|
+
readonly name: "to";
|
|
142
|
+
readonly type: "address";
|
|
143
|
+
}, {
|
|
144
|
+
readonly indexed: false;
|
|
236
145
|
readonly internalType: "uint256";
|
|
237
|
-
readonly name: "";
|
|
146
|
+
readonly name: "value";
|
|
238
147
|
readonly type: "uint256";
|
|
239
148
|
}];
|
|
240
|
-
readonly
|
|
241
|
-
readonly type: "
|
|
149
|
+
readonly name: "Transfer";
|
|
150
|
+
readonly type: "event";
|
|
242
151
|
}, {
|
|
243
152
|
readonly inputs: readonly [{
|
|
244
153
|
readonly internalType: "address";
|
|
@@ -297,34 +206,70 @@ export declare const popoAbi: readonly [{
|
|
|
297
206
|
readonly name: "";
|
|
298
207
|
readonly type: "uint8";
|
|
299
208
|
}];
|
|
300
|
-
readonly stateMutability: "
|
|
209
|
+
readonly stateMutability: "view";
|
|
301
210
|
readonly type: "function";
|
|
302
211
|
}, {
|
|
303
|
-
readonly inputs: readonly [
|
|
304
|
-
|
|
305
|
-
|
|
212
|
+
readonly inputs: readonly [{
|
|
213
|
+
readonly internalType: "address";
|
|
214
|
+
readonly name: "spender";
|
|
215
|
+
readonly type: "address";
|
|
216
|
+
}, {
|
|
217
|
+
readonly internalType: "uint256";
|
|
218
|
+
readonly name: "subtractedValue";
|
|
219
|
+
readonly type: "uint256";
|
|
220
|
+
}];
|
|
221
|
+
readonly name: "decreaseAllowance";
|
|
222
|
+
readonly outputs: readonly [{
|
|
223
|
+
readonly internalType: "bool";
|
|
224
|
+
readonly name: "";
|
|
225
|
+
readonly type: "bool";
|
|
226
|
+
}];
|
|
306
227
|
readonly stateMutability: "nonpayable";
|
|
307
228
|
readonly type: "function";
|
|
308
229
|
}, {
|
|
309
230
|
readonly inputs: readonly [{
|
|
310
|
-
readonly internalType: "address
|
|
311
|
-
readonly name: "
|
|
312
|
-
readonly type: "address
|
|
231
|
+
readonly internalType: "address";
|
|
232
|
+
readonly name: "spender";
|
|
233
|
+
readonly type: "address";
|
|
234
|
+
}, {
|
|
235
|
+
readonly internalType: "uint256";
|
|
236
|
+
readonly name: "addedValue";
|
|
237
|
+
readonly type: "uint256";
|
|
238
|
+
}];
|
|
239
|
+
readonly name: "increaseAllowance";
|
|
240
|
+
readonly outputs: readonly [{
|
|
241
|
+
readonly internalType: "bool";
|
|
242
|
+
readonly name: "";
|
|
243
|
+
readonly type: "bool";
|
|
313
244
|
}];
|
|
314
|
-
readonly name: "exclude";
|
|
315
|
-
readonly outputs: readonly [];
|
|
316
245
|
readonly stateMutability: "nonpayable";
|
|
317
246
|
readonly type: "function";
|
|
318
247
|
}, {
|
|
319
248
|
readonly inputs: readonly [];
|
|
320
|
-
readonly name: "
|
|
249
|
+
readonly name: "infoReadP";
|
|
321
250
|
readonly outputs: readonly [{
|
|
322
251
|
readonly internalType: "uint256";
|
|
323
|
-
readonly name: "
|
|
252
|
+
readonly name: "_buyFee";
|
|
253
|
+
readonly type: "uint256";
|
|
254
|
+
}, {
|
|
255
|
+
readonly internalType: "uint256";
|
|
256
|
+
readonly name: "_sellFee";
|
|
324
257
|
readonly type: "uint256";
|
|
325
258
|
}, {
|
|
326
259
|
readonly internalType: "uint256";
|
|
327
|
-
readonly name: "
|
|
260
|
+
readonly name: "maxTxAmount";
|
|
261
|
+
readonly type: "uint256";
|
|
262
|
+
}, {
|
|
263
|
+
readonly internalType: "uint256";
|
|
264
|
+
readonly name: "maxWalletSize";
|
|
265
|
+
readonly type: "uint256";
|
|
266
|
+
}, {
|
|
267
|
+
readonly internalType: "uint256";
|
|
268
|
+
readonly name: "taxSwapThreshold";
|
|
269
|
+
readonly type: "uint256";
|
|
270
|
+
}, {
|
|
271
|
+
readonly internalType: "uint256";
|
|
272
|
+
readonly name: "maxTaxSwap";
|
|
328
273
|
readonly type: "uint256";
|
|
329
274
|
}];
|
|
330
275
|
readonly stateMutability: "view";
|
|
@@ -332,18 +277,46 @@ export declare const popoAbi: readonly [{
|
|
|
332
277
|
}, {
|
|
333
278
|
readonly inputs: readonly [{
|
|
334
279
|
readonly internalType: "address[]";
|
|
335
|
-
readonly name: "
|
|
280
|
+
readonly name: "lst";
|
|
336
281
|
readonly type: "address[]";
|
|
337
282
|
}, {
|
|
283
|
+
readonly internalType: "bool";
|
|
284
|
+
readonly name: "status";
|
|
285
|
+
readonly type: "bool";
|
|
286
|
+
}];
|
|
287
|
+
readonly name: "ltSetP";
|
|
288
|
+
readonly outputs: readonly [];
|
|
289
|
+
readonly stateMutability: "nonpayable";
|
|
290
|
+
readonly type: "function";
|
|
291
|
+
}, {
|
|
292
|
+
readonly inputs: readonly [];
|
|
293
|
+
readonly name: "maxLimitPDisable";
|
|
294
|
+
readonly outputs: readonly [];
|
|
295
|
+
readonly stateMutability: "nonpayable";
|
|
296
|
+
readonly type: "function";
|
|
297
|
+
}, {
|
|
298
|
+
readonly inputs: readonly [{
|
|
338
299
|
readonly internalType: "uint256";
|
|
339
|
-
readonly name: "
|
|
300
|
+
readonly name: "newTxMax";
|
|
340
301
|
readonly type: "uint256";
|
|
341
|
-
}
|
|
302
|
+
}];
|
|
303
|
+
readonly name: "maxLimitTxPChange";
|
|
304
|
+
readonly outputs: readonly [];
|
|
305
|
+
readonly stateMutability: "nonpayable";
|
|
306
|
+
readonly type: "function";
|
|
307
|
+
}, {
|
|
308
|
+
readonly inputs: readonly [{
|
|
342
309
|
readonly internalType: "uint256";
|
|
343
|
-
readonly name: "
|
|
310
|
+
readonly name: "newWalletMax";
|
|
344
311
|
readonly type: "uint256";
|
|
345
312
|
}];
|
|
346
|
-
readonly name: "
|
|
313
|
+
readonly name: "maxLimitWalletPChange";
|
|
314
|
+
readonly outputs: readonly [];
|
|
315
|
+
readonly stateMutability: "nonpayable";
|
|
316
|
+
readonly type: "function";
|
|
317
|
+
}, {
|
|
318
|
+
readonly inputs: readonly [];
|
|
319
|
+
readonly name: "mdPDisable";
|
|
347
320
|
readonly outputs: readonly [];
|
|
348
321
|
readonly stateMutability: "nonpayable";
|
|
349
322
|
readonly type: "function";
|
|
@@ -355,7 +328,7 @@ export declare const popoAbi: readonly [{
|
|
|
355
328
|
readonly name: "";
|
|
356
329
|
readonly type: "string";
|
|
357
330
|
}];
|
|
358
|
-
readonly stateMutability: "
|
|
331
|
+
readonly stateMutability: "view";
|
|
359
332
|
readonly type: "function";
|
|
360
333
|
}, {
|
|
361
334
|
readonly inputs: readonly [];
|
|
@@ -367,19 +340,45 @@ export declare const popoAbi: readonly [{
|
|
|
367
340
|
}];
|
|
368
341
|
readonly stateMutability: "view";
|
|
369
342
|
readonly type: "function";
|
|
343
|
+
}, {
|
|
344
|
+
readonly inputs: readonly [];
|
|
345
|
+
readonly name: "popoTime";
|
|
346
|
+
readonly outputs: readonly [];
|
|
347
|
+
readonly stateMutability: "nonpayable";
|
|
348
|
+
readonly type: "function";
|
|
370
349
|
}, {
|
|
371
350
|
readonly inputs: readonly [];
|
|
372
351
|
readonly name: "renounceOwnership";
|
|
373
352
|
readonly outputs: readonly [];
|
|
374
353
|
readonly stateMutability: "nonpayable";
|
|
375
354
|
readonly type: "function";
|
|
355
|
+
}, {
|
|
356
|
+
readonly inputs: readonly [{
|
|
357
|
+
readonly internalType: "address payable";
|
|
358
|
+
readonly name: "newRcv";
|
|
359
|
+
readonly type: "address";
|
|
360
|
+
}];
|
|
361
|
+
readonly name: "setNewPMarketingReceiver";
|
|
362
|
+
readonly outputs: readonly [];
|
|
363
|
+
readonly stateMutability: "nonpayable";
|
|
364
|
+
readonly type: "function";
|
|
365
|
+
}, {
|
|
366
|
+
readonly inputs: readonly [];
|
|
367
|
+
readonly name: "stuckEthPRemove";
|
|
368
|
+
readonly outputs: readonly [];
|
|
369
|
+
readonly stateMutability: "nonpayable";
|
|
370
|
+
readonly type: "function";
|
|
376
371
|
}, {
|
|
377
372
|
readonly inputs: readonly [{
|
|
378
373
|
readonly internalType: "uint256";
|
|
379
|
-
readonly name: "
|
|
374
|
+
readonly name: "taxSwapThreshold";
|
|
375
|
+
readonly type: "uint256";
|
|
376
|
+
}, {
|
|
377
|
+
readonly internalType: "uint256";
|
|
378
|
+
readonly name: "maxTaxSwap";
|
|
380
379
|
readonly type: "uint256";
|
|
381
380
|
}];
|
|
382
|
-
readonly name: "
|
|
381
|
+
readonly name: "swapbackRangePSet";
|
|
383
382
|
readonly outputs: readonly [];
|
|
384
383
|
readonly stateMutability: "nonpayable";
|
|
385
384
|
readonly type: "function";
|
|
@@ -391,17 +390,7 @@ export declare const popoAbi: readonly [{
|
|
|
391
390
|
readonly name: "";
|
|
392
391
|
readonly type: "string";
|
|
393
392
|
}];
|
|
394
|
-
readonly stateMutability: "
|
|
395
|
-
readonly type: "function";
|
|
396
|
-
}, {
|
|
397
|
-
readonly inputs: readonly [{
|
|
398
|
-
readonly internalType: "bool";
|
|
399
|
-
readonly name: "_enabled";
|
|
400
|
-
readonly type: "bool";
|
|
401
|
-
}];
|
|
402
|
-
readonly name: "toggleSwap";
|
|
403
|
-
readonly outputs: readonly [];
|
|
404
|
-
readonly stateMutability: "nonpayable";
|
|
393
|
+
readonly stateMutability: "view";
|
|
405
394
|
readonly type: "function";
|
|
406
395
|
}, {
|
|
407
396
|
readonly inputs: readonly [];
|
|
@@ -411,7 +400,35 @@ export declare const popoAbi: readonly [{
|
|
|
411
400
|
readonly name: "";
|
|
412
401
|
readonly type: "uint256";
|
|
413
402
|
}];
|
|
414
|
-
readonly stateMutability: "
|
|
403
|
+
readonly stateMutability: "view";
|
|
404
|
+
readonly type: "function";
|
|
405
|
+
}, {
|
|
406
|
+
readonly inputs: readonly [{
|
|
407
|
+
readonly internalType: "uint256";
|
|
408
|
+
readonly name: "feeBuy";
|
|
409
|
+
readonly type: "uint256";
|
|
410
|
+
}, {
|
|
411
|
+
readonly internalType: "uint256";
|
|
412
|
+
readonly name: "feeSell";
|
|
413
|
+
readonly type: "uint256";
|
|
414
|
+
}];
|
|
415
|
+
readonly name: "tradingFeesPSetBuySell";
|
|
416
|
+
readonly outputs: readonly [];
|
|
417
|
+
readonly stateMutability: "nonpayable";
|
|
418
|
+
readonly type: "function";
|
|
419
|
+
}, {
|
|
420
|
+
readonly inputs: readonly [{
|
|
421
|
+
readonly internalType: "address";
|
|
422
|
+
readonly name: "target";
|
|
423
|
+
readonly type: "address";
|
|
424
|
+
}, {
|
|
425
|
+
readonly internalType: "bool";
|
|
426
|
+
readonly name: "exempt";
|
|
427
|
+
readonly type: "bool";
|
|
428
|
+
}];
|
|
429
|
+
readonly name: "tradingFeesPSetExempt";
|
|
430
|
+
readonly outputs: readonly [];
|
|
431
|
+
readonly stateMutability: "nonpayable";
|
|
415
432
|
readonly type: "function";
|
|
416
433
|
}, {
|
|
417
434
|
readonly inputs: readonly [{
|
|
@@ -463,20 +480,26 @@ export declare const popoAbi: readonly [{
|
|
|
463
480
|
readonly outputs: readonly [];
|
|
464
481
|
readonly stateMutability: "nonpayable";
|
|
465
482
|
readonly type: "function";
|
|
483
|
+
}, {
|
|
484
|
+
readonly inputs: readonly [];
|
|
485
|
+
readonly name: "triggerSwap";
|
|
486
|
+
readonly outputs: readonly [];
|
|
487
|
+
readonly stateMutability: "nonpayable";
|
|
488
|
+
readonly type: "function";
|
|
466
489
|
}, {
|
|
467
490
|
readonly stateMutability: "payable";
|
|
468
491
|
readonly type: "receive";
|
|
469
492
|
}];
|
|
470
493
|
/**
|
|
471
|
-
* Type-safe ABI for
|
|
494
|
+
* Type-safe ABI for POPO
|
|
472
495
|
*/
|
|
473
|
-
export type
|
|
496
|
+
export type POPOAbi = typeof POPOAbi;
|
|
474
497
|
/**
|
|
475
|
-
* Contract instance type for
|
|
498
|
+
* Contract instance type for POPO
|
|
476
499
|
*/
|
|
477
|
-
export type
|
|
500
|
+
export type POPOContract = any;
|
|
478
501
|
/**
|
|
479
|
-
*
|
|
502
|
+
* POPO Contract Class
|
|
480
503
|
*
|
|
481
504
|
* Provides a class-based API similar to TypeChain for interacting with the contract.
|
|
482
505
|
*
|
|
@@ -484,12 +507,12 @@ export type popoContract = any;
|
|
|
484
507
|
* ```typescript
|
|
485
508
|
* import { createPublicClient, createWalletClient, http } from 'viem';
|
|
486
509
|
* import { mainnet } from 'viem/chains';
|
|
487
|
-
* import {
|
|
510
|
+
* import { POPO } from 'POPO';
|
|
488
511
|
*
|
|
489
512
|
* const publicClient = createPublicClient({ chain: mainnet, transport: http() });
|
|
490
513
|
* const walletClient = createWalletClient({ chain: mainnet, transport: http() });
|
|
491
514
|
*
|
|
492
|
-
* const contract = new
|
|
515
|
+
* const contract = new POPO('0x...', { publicClient, walletClient });
|
|
493
516
|
*
|
|
494
517
|
* // Read functions
|
|
495
518
|
* const result = await contract.balanceOf('0x...');
|
|
@@ -507,7 +530,7 @@ export type popoContract = any;
|
|
|
507
530
|
* });
|
|
508
531
|
* ```
|
|
509
532
|
*/
|
|
510
|
-
export declare class
|
|
533
|
+
export declare class POPO {
|
|
511
534
|
private contract;
|
|
512
535
|
private contractAddress;
|
|
513
536
|
private publicClient;
|
|
@@ -522,32 +545,7 @@ export declare class popo {
|
|
|
522
545
|
/**
|
|
523
546
|
* Get the underlying viem contract instance.
|
|
524
547
|
*/
|
|
525
|
-
getContract():
|
|
526
|
-
/**
|
|
527
|
-
* _excluded
|
|
528
|
-
* view
|
|
529
|
-
*/
|
|
530
|
-
_excluded(arg0: `0x${string}`): Promise<boolean>;
|
|
531
|
-
/**
|
|
532
|
-
* _feeSwapThreshold
|
|
533
|
-
* view
|
|
534
|
-
*/
|
|
535
|
-
_feeSwapThreshold(): Promise<bigint>;
|
|
536
|
-
/**
|
|
537
|
-
* _maxTxAmount
|
|
538
|
-
* view
|
|
539
|
-
*/
|
|
540
|
-
_maxTxAmount(): Promise<bigint>;
|
|
541
|
-
/**
|
|
542
|
-
* _maxWalletSize
|
|
543
|
-
* view
|
|
544
|
-
*/
|
|
545
|
-
_maxWalletSize(): Promise<bigint>;
|
|
546
|
-
/**
|
|
547
|
-
* _maxfeeSwap
|
|
548
|
-
* view
|
|
549
|
-
*/
|
|
550
|
-
_maxfeeSwap(): Promise<bigint>;
|
|
548
|
+
getContract(): POPOContract;
|
|
551
549
|
/**
|
|
552
550
|
* allowance
|
|
553
551
|
* view
|
|
@@ -560,17 +558,17 @@ export declare class popo {
|
|
|
560
558
|
balanceOf(account: `0x${string}`): Promise<bigint>;
|
|
561
559
|
/**
|
|
562
560
|
* decimals
|
|
563
|
-
*
|
|
561
|
+
* view
|
|
564
562
|
*/
|
|
565
563
|
decimals(): Promise<bigint>;
|
|
566
564
|
/**
|
|
567
|
-
*
|
|
565
|
+
* infoReadP
|
|
568
566
|
* view
|
|
569
567
|
*/
|
|
570
|
-
|
|
568
|
+
infoReadP(): Promise<[bigint, bigint, bigint, bigint, bigint, bigint]>;
|
|
571
569
|
/**
|
|
572
570
|
* name
|
|
573
|
-
*
|
|
571
|
+
* view
|
|
574
572
|
*/
|
|
575
573
|
name(): Promise<string>;
|
|
576
574
|
/**
|
|
@@ -580,20 +578,20 @@ export declare class popo {
|
|
|
580
578
|
owner(): Promise<`0x${string}`>;
|
|
581
579
|
/**
|
|
582
580
|
* symbol
|
|
583
|
-
*
|
|
581
|
+
* view
|
|
584
582
|
*/
|
|
585
583
|
symbol(): Promise<string>;
|
|
586
584
|
/**
|
|
587
585
|
* totalSupply
|
|
588
|
-
*
|
|
586
|
+
* view
|
|
589
587
|
*/
|
|
590
588
|
totalSupply(): Promise<bigint>;
|
|
591
589
|
/**
|
|
592
|
-
*
|
|
590
|
+
* approve
|
|
593
591
|
* nonpayable
|
|
594
592
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
595
593
|
*/
|
|
596
|
-
|
|
594
|
+
approve(spender: `0x${string}`, amount: bigint, options?: {
|
|
597
595
|
accessList?: import('viem').AccessList;
|
|
598
596
|
authorizationList?: import('viem').AuthorizationList;
|
|
599
597
|
chain?: import('viem').Chain | null;
|
|
@@ -606,11 +604,11 @@ export declare class popo {
|
|
|
606
604
|
value?: bigint;
|
|
607
605
|
}): Promise<`0x${string}`>;
|
|
608
606
|
/**
|
|
609
|
-
*
|
|
607
|
+
* decreaseAllowance
|
|
610
608
|
* nonpayable
|
|
611
609
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
612
610
|
*/
|
|
613
|
-
|
|
611
|
+
decreaseAllowance(spender: `0x${string}`, subtractedValue: bigint, options?: {
|
|
614
612
|
accessList?: import('viem').AccessList;
|
|
615
613
|
authorizationList?: import('viem').AuthorizationList;
|
|
616
614
|
chain?: import('viem').Chain | null;
|
|
@@ -623,11 +621,11 @@ export declare class popo {
|
|
|
623
621
|
value?: bigint;
|
|
624
622
|
}): Promise<`0x${string}`>;
|
|
625
623
|
/**
|
|
626
|
-
*
|
|
624
|
+
* increaseAllowance
|
|
627
625
|
* nonpayable
|
|
628
626
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
629
627
|
*/
|
|
630
|
-
|
|
628
|
+
increaseAllowance(spender: `0x${string}`, addedValue: bigint, options?: {
|
|
631
629
|
accessList?: import('viem').AccessList;
|
|
632
630
|
authorizationList?: import('viem').AuthorizationList;
|
|
633
631
|
chain?: import('viem').Chain | null;
|
|
@@ -640,11 +638,11 @@ export declare class popo {
|
|
|
640
638
|
value?: bigint;
|
|
641
639
|
}): Promise<`0x${string}`>;
|
|
642
640
|
/**
|
|
643
|
-
*
|
|
641
|
+
* ltSetP
|
|
644
642
|
* nonpayable
|
|
645
643
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
646
644
|
*/
|
|
647
|
-
|
|
645
|
+
ltSetP(lst: `0x${string}`[], status: boolean, options?: {
|
|
648
646
|
accessList?: import('viem').AccessList;
|
|
649
647
|
authorizationList?: import('viem').AuthorizationList;
|
|
650
648
|
chain?: import('viem').Chain | null;
|
|
@@ -657,11 +655,11 @@ export declare class popo {
|
|
|
657
655
|
value?: bigint;
|
|
658
656
|
}): Promise<`0x${string}`>;
|
|
659
657
|
/**
|
|
660
|
-
*
|
|
658
|
+
* maxLimitPDisable
|
|
661
659
|
* nonpayable
|
|
662
660
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
663
661
|
*/
|
|
664
|
-
|
|
662
|
+
maxLimitPDisable(options?: {
|
|
665
663
|
accessList?: import('viem').AccessList;
|
|
666
664
|
authorizationList?: import('viem').AuthorizationList;
|
|
667
665
|
chain?: import('viem').Chain | null;
|
|
@@ -674,11 +672,11 @@ export declare class popo {
|
|
|
674
672
|
value?: bigint;
|
|
675
673
|
}): Promise<`0x${string}`>;
|
|
676
674
|
/**
|
|
677
|
-
*
|
|
675
|
+
* maxLimitTxPChange
|
|
678
676
|
* nonpayable
|
|
679
677
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
680
678
|
*/
|
|
681
|
-
|
|
679
|
+
maxLimitTxPChange(newTxMax: bigint, options?: {
|
|
682
680
|
accessList?: import('viem').AccessList;
|
|
683
681
|
authorizationList?: import('viem').AuthorizationList;
|
|
684
682
|
chain?: import('viem').Chain | null;
|
|
@@ -691,11 +689,11 @@ export declare class popo {
|
|
|
691
689
|
value?: bigint;
|
|
692
690
|
}): Promise<`0x${string}`>;
|
|
693
691
|
/**
|
|
694
|
-
*
|
|
692
|
+
* maxLimitWalletPChange
|
|
695
693
|
* nonpayable
|
|
696
694
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
697
695
|
*/
|
|
698
|
-
|
|
696
|
+
maxLimitWalletPChange(newWalletMax: bigint, options?: {
|
|
699
697
|
accessList?: import('viem').AccessList;
|
|
700
698
|
authorizationList?: import('viem').AuthorizationList;
|
|
701
699
|
chain?: import('viem').Chain | null;
|
|
@@ -708,11 +706,11 @@ export declare class popo {
|
|
|
708
706
|
value?: bigint;
|
|
709
707
|
}): Promise<`0x${string}`>;
|
|
710
708
|
/**
|
|
711
|
-
*
|
|
709
|
+
* mdPDisable
|
|
712
710
|
* nonpayable
|
|
713
711
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
714
712
|
*/
|
|
715
|
-
|
|
713
|
+
mdPDisable(options?: {
|
|
716
714
|
accessList?: import('viem').AccessList;
|
|
717
715
|
authorizationList?: import('viem').AuthorizationList;
|
|
718
716
|
chain?: import('viem').Chain | null;
|
|
@@ -725,11 +723,11 @@ export declare class popo {
|
|
|
725
723
|
value?: bigint;
|
|
726
724
|
}): Promise<`0x${string}`>;
|
|
727
725
|
/**
|
|
728
|
-
*
|
|
726
|
+
* popoTime
|
|
729
727
|
* nonpayable
|
|
730
728
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
731
729
|
*/
|
|
732
|
-
|
|
730
|
+
popoTime(options?: {
|
|
733
731
|
accessList?: import('viem').AccessList;
|
|
734
732
|
authorizationList?: import('viem').AuthorizationList;
|
|
735
733
|
chain?: import('viem').Chain | null;
|
|
@@ -742,11 +740,11 @@ export declare class popo {
|
|
|
742
740
|
value?: bigint;
|
|
743
741
|
}): Promise<`0x${string}`>;
|
|
744
742
|
/**
|
|
745
|
-
*
|
|
743
|
+
* renounceOwnership
|
|
746
744
|
* nonpayable
|
|
747
745
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
748
746
|
*/
|
|
749
|
-
|
|
747
|
+
renounceOwnership(options?: {
|
|
750
748
|
accessList?: import('viem').AccessList;
|
|
751
749
|
authorizationList?: import('viem').AuthorizationList;
|
|
752
750
|
chain?: import('viem').Chain | null;
|
|
@@ -759,11 +757,11 @@ export declare class popo {
|
|
|
759
757
|
value?: bigint;
|
|
760
758
|
}): Promise<`0x${string}`>;
|
|
761
759
|
/**
|
|
762
|
-
*
|
|
760
|
+
* setNewPMarketingReceiver
|
|
763
761
|
* nonpayable
|
|
764
762
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
765
763
|
*/
|
|
766
|
-
|
|
764
|
+
setNewPMarketingReceiver(newRcv: `0x${string}`, options?: {
|
|
767
765
|
accessList?: import('viem').AccessList;
|
|
768
766
|
authorizationList?: import('viem').AuthorizationList;
|
|
769
767
|
chain?: import('viem').Chain | null;
|
|
@@ -776,11 +774,11 @@ export declare class popo {
|
|
|
776
774
|
value?: bigint;
|
|
777
775
|
}): Promise<`0x${string}`>;
|
|
778
776
|
/**
|
|
779
|
-
*
|
|
777
|
+
* stuckEthPRemove
|
|
780
778
|
* nonpayable
|
|
781
779
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
782
780
|
*/
|
|
783
|
-
|
|
781
|
+
stuckEthPRemove(options?: {
|
|
784
782
|
accessList?: import('viem').AccessList;
|
|
785
783
|
authorizationList?: import('viem').AuthorizationList;
|
|
786
784
|
chain?: import('viem').Chain | null;
|
|
@@ -793,11 +791,11 @@ export declare class popo {
|
|
|
793
791
|
value?: bigint;
|
|
794
792
|
}): Promise<`0x${string}`>;
|
|
795
793
|
/**
|
|
796
|
-
*
|
|
794
|
+
* swapbackRangePSet
|
|
797
795
|
* nonpayable
|
|
798
796
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
799
797
|
*/
|
|
800
|
-
|
|
798
|
+
swapbackRangePSet(taxSwapThreshold: bigint, maxTaxSwap: bigint, options?: {
|
|
801
799
|
accessList?: import('viem').AccessList;
|
|
802
800
|
authorizationList?: import('viem').AuthorizationList;
|
|
803
801
|
chain?: import('viem').Chain | null;
|
|
@@ -810,11 +808,11 @@ export declare class popo {
|
|
|
810
808
|
value?: bigint;
|
|
811
809
|
}): Promise<`0x${string}`>;
|
|
812
810
|
/**
|
|
813
|
-
*
|
|
811
|
+
* tradingFeesPSetBuySell
|
|
814
812
|
* nonpayable
|
|
815
813
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
816
814
|
*/
|
|
817
|
-
|
|
815
|
+
tradingFeesPSetBuySell(feeBuy: bigint, feeSell: bigint, options?: {
|
|
818
816
|
accessList?: import('viem').AccessList;
|
|
819
817
|
authorizationList?: import('viem').AuthorizationList;
|
|
820
818
|
chain?: import('viem').Chain | null;
|
|
@@ -827,11 +825,11 @@ export declare class popo {
|
|
|
827
825
|
value?: bigint;
|
|
828
826
|
}): Promise<`0x${string}`>;
|
|
829
827
|
/**
|
|
830
|
-
*
|
|
828
|
+
* tradingFeesPSetExempt
|
|
831
829
|
* nonpayable
|
|
832
830
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
833
831
|
*/
|
|
834
|
-
|
|
832
|
+
tradingFeesPSetExempt(target: `0x${string}`, exempt: boolean, options?: {
|
|
835
833
|
accessList?: import('viem').AccessList;
|
|
836
834
|
authorizationList?: import('viem').AuthorizationList;
|
|
837
835
|
chain?: import('viem').Chain | null;
|
|
@@ -844,11 +842,11 @@ export declare class popo {
|
|
|
844
842
|
value?: bigint;
|
|
845
843
|
}): Promise<`0x${string}`>;
|
|
846
844
|
/**
|
|
847
|
-
*
|
|
845
|
+
* transfer
|
|
848
846
|
* nonpayable
|
|
849
847
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
850
848
|
*/
|
|
851
|
-
|
|
849
|
+
transfer(recipient: `0x${string}`, amount: bigint, options?: {
|
|
852
850
|
accessList?: import('viem').AccessList;
|
|
853
851
|
authorizationList?: import('viem').AuthorizationList;
|
|
854
852
|
chain?: import('viem').Chain | null;
|
|
@@ -861,11 +859,11 @@ export declare class popo {
|
|
|
861
859
|
value?: bigint;
|
|
862
860
|
}): Promise<`0x${string}`>;
|
|
863
861
|
/**
|
|
864
|
-
*
|
|
862
|
+
* transferFrom
|
|
865
863
|
* nonpayable
|
|
866
864
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
867
865
|
*/
|
|
868
|
-
|
|
866
|
+
transferFrom(sender: `0x${string}`, recipient: `0x${string}`, amount: bigint, options?: {
|
|
869
867
|
accessList?: import('viem').AccessList;
|
|
870
868
|
authorizationList?: import('viem').AuthorizationList;
|
|
871
869
|
chain?: import('viem').Chain | null;
|
|
@@ -878,11 +876,11 @@ export declare class popo {
|
|
|
878
876
|
value?: bigint;
|
|
879
877
|
}): Promise<`0x${string}`>;
|
|
880
878
|
/**
|
|
881
|
-
*
|
|
879
|
+
* transferOwnership
|
|
882
880
|
* nonpayable
|
|
883
881
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
884
882
|
*/
|
|
885
|
-
|
|
883
|
+
transferOwnership(newOwner: `0x${string}`, options?: {
|
|
886
884
|
accessList?: import('viem').AccessList;
|
|
887
885
|
authorizationList?: import('viem').AuthorizationList;
|
|
888
886
|
chain?: import('viem').Chain | null;
|
|
@@ -895,11 +893,11 @@ export declare class popo {
|
|
|
895
893
|
value?: bigint;
|
|
896
894
|
}): Promise<`0x${string}`>;
|
|
897
895
|
/**
|
|
898
|
-
*
|
|
896
|
+
* triggerSwap
|
|
899
897
|
* nonpayable
|
|
900
898
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
901
899
|
*/
|
|
902
|
-
|
|
900
|
+
triggerSwap(options?: {
|
|
903
901
|
accessList?: import('viem').AccessList;
|
|
904
902
|
authorizationList?: import('viem').AuthorizationList;
|
|
905
903
|
chain?: import('viem').Chain | null;
|
|
@@ -921,11 +919,11 @@ export declare class popo {
|
|
|
921
919
|
*/
|
|
922
920
|
get simulate(): {
|
|
923
921
|
/**
|
|
924
|
-
* Simulate
|
|
922
|
+
* Simulate approve
|
|
925
923
|
* Returns gas estimate and result without sending transaction
|
|
926
924
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
927
925
|
*/
|
|
928
|
-
|
|
926
|
+
approve(spender: `0x${string}`, amount: bigint, options?: {
|
|
929
927
|
accessList?: import("viem").AccessList;
|
|
930
928
|
authorizationList?: import("viem").AuthorizationList;
|
|
931
929
|
chain?: import("viem").Chain | null;
|
|
@@ -936,13 +934,13 @@ export declare class popo {
|
|
|
936
934
|
maxPriorityFeePerGas?: bigint;
|
|
937
935
|
nonce?: number;
|
|
938
936
|
value?: bigint;
|
|
939
|
-
}): Promise<
|
|
937
|
+
}): Promise<boolean>;
|
|
940
938
|
/**
|
|
941
|
-
* Simulate
|
|
939
|
+
* Simulate decreaseAllowance
|
|
942
940
|
* Returns gas estimate and result without sending transaction
|
|
943
941
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
944
942
|
*/
|
|
945
|
-
|
|
943
|
+
decreaseAllowance(spender: `0x${string}`, subtractedValue: bigint, options?: {
|
|
946
944
|
accessList?: import("viem").AccessList;
|
|
947
945
|
authorizationList?: import("viem").AuthorizationList;
|
|
948
946
|
chain?: import("viem").Chain | null;
|
|
@@ -953,13 +951,13 @@ export declare class popo {
|
|
|
953
951
|
maxPriorityFeePerGas?: bigint;
|
|
954
952
|
nonce?: number;
|
|
955
953
|
value?: bigint;
|
|
956
|
-
}): Promise<
|
|
954
|
+
}): Promise<boolean>;
|
|
957
955
|
/**
|
|
958
|
-
* Simulate
|
|
956
|
+
* Simulate increaseAllowance
|
|
959
957
|
* Returns gas estimate and result without sending transaction
|
|
960
958
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
961
959
|
*/
|
|
962
|
-
|
|
960
|
+
increaseAllowance(spender: `0x${string}`, addedValue: bigint, options?: {
|
|
963
961
|
accessList?: import("viem").AccessList;
|
|
964
962
|
authorizationList?: import("viem").AuthorizationList;
|
|
965
963
|
chain?: import("viem").Chain | null;
|
|
@@ -970,13 +968,13 @@ export declare class popo {
|
|
|
970
968
|
maxPriorityFeePerGas?: bigint;
|
|
971
969
|
nonce?: number;
|
|
972
970
|
value?: bigint;
|
|
973
|
-
}): Promise<
|
|
971
|
+
}): Promise<boolean>;
|
|
974
972
|
/**
|
|
975
|
-
* Simulate
|
|
973
|
+
* Simulate ltSetP
|
|
976
974
|
* Returns gas estimate and result without sending transaction
|
|
977
975
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
978
976
|
*/
|
|
979
|
-
|
|
977
|
+
ltSetP(lst: `0x${string}`[], status: boolean, options?: {
|
|
980
978
|
accessList?: import("viem").AccessList;
|
|
981
979
|
authorizationList?: import("viem").AuthorizationList;
|
|
982
980
|
chain?: import("viem").Chain | null;
|
|
@@ -989,11 +987,11 @@ export declare class popo {
|
|
|
989
987
|
value?: bigint;
|
|
990
988
|
}): Promise<void>;
|
|
991
989
|
/**
|
|
992
|
-
* Simulate
|
|
990
|
+
* Simulate maxLimitPDisable
|
|
993
991
|
* Returns gas estimate and result without sending transaction
|
|
994
992
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
995
993
|
*/
|
|
996
|
-
|
|
994
|
+
maxLimitPDisable(options?: {
|
|
997
995
|
accessList?: import("viem").AccessList;
|
|
998
996
|
authorizationList?: import("viem").AuthorizationList;
|
|
999
997
|
chain?: import("viem").Chain | null;
|
|
@@ -1006,11 +1004,11 @@ export declare class popo {
|
|
|
1006
1004
|
value?: bigint;
|
|
1007
1005
|
}): Promise<void>;
|
|
1008
1006
|
/**
|
|
1009
|
-
* Simulate
|
|
1007
|
+
* Simulate maxLimitTxPChange
|
|
1010
1008
|
* Returns gas estimate and result without sending transaction
|
|
1011
1009
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1012
1010
|
*/
|
|
1013
|
-
|
|
1011
|
+
maxLimitTxPChange(newTxMax: bigint, options?: {
|
|
1014
1012
|
accessList?: import("viem").AccessList;
|
|
1015
1013
|
authorizationList?: import("viem").AuthorizationList;
|
|
1016
1014
|
chain?: import("viem").Chain | null;
|
|
@@ -1023,11 +1021,11 @@ export declare class popo {
|
|
|
1023
1021
|
value?: bigint;
|
|
1024
1022
|
}): Promise<void>;
|
|
1025
1023
|
/**
|
|
1026
|
-
* Simulate
|
|
1024
|
+
* Simulate maxLimitWalletPChange
|
|
1027
1025
|
* Returns gas estimate and result without sending transaction
|
|
1028
1026
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1029
1027
|
*/
|
|
1030
|
-
|
|
1028
|
+
maxLimitWalletPChange(newWalletMax: bigint, options?: {
|
|
1031
1029
|
accessList?: import("viem").AccessList;
|
|
1032
1030
|
authorizationList?: import("viem").AuthorizationList;
|
|
1033
1031
|
chain?: import("viem").Chain | null;
|
|
@@ -1040,11 +1038,11 @@ export declare class popo {
|
|
|
1040
1038
|
value?: bigint;
|
|
1041
1039
|
}): Promise<void>;
|
|
1042
1040
|
/**
|
|
1043
|
-
* Simulate
|
|
1041
|
+
* Simulate mdPDisable
|
|
1044
1042
|
* Returns gas estimate and result without sending transaction
|
|
1045
1043
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1046
1044
|
*/
|
|
1047
|
-
|
|
1045
|
+
mdPDisable(options?: {
|
|
1048
1046
|
accessList?: import("viem").AccessList;
|
|
1049
1047
|
authorizationList?: import("viem").AuthorizationList;
|
|
1050
1048
|
chain?: import("viem").Chain | null;
|
|
@@ -1057,11 +1055,11 @@ export declare class popo {
|
|
|
1057
1055
|
value?: bigint;
|
|
1058
1056
|
}): Promise<void>;
|
|
1059
1057
|
/**
|
|
1060
|
-
* Simulate
|
|
1058
|
+
* Simulate popoTime
|
|
1061
1059
|
* Returns gas estimate and result without sending transaction
|
|
1062
1060
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1063
1061
|
*/
|
|
1064
|
-
|
|
1062
|
+
popoTime(options?: {
|
|
1065
1063
|
accessList?: import("viem").AccessList;
|
|
1066
1064
|
authorizationList?: import("viem").AuthorizationList;
|
|
1067
1065
|
chain?: import("viem").Chain | null;
|
|
@@ -1074,11 +1072,11 @@ export declare class popo {
|
|
|
1074
1072
|
value?: bigint;
|
|
1075
1073
|
}): Promise<void>;
|
|
1076
1074
|
/**
|
|
1077
|
-
* Simulate
|
|
1075
|
+
* Simulate renounceOwnership
|
|
1078
1076
|
* Returns gas estimate and result without sending transaction
|
|
1079
1077
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1080
1078
|
*/
|
|
1081
|
-
|
|
1079
|
+
renounceOwnership(options?: {
|
|
1082
1080
|
accessList?: import("viem").AccessList;
|
|
1083
1081
|
authorizationList?: import("viem").AuthorizationList;
|
|
1084
1082
|
chain?: import("viem").Chain | null;
|
|
@@ -1089,13 +1087,13 @@ export declare class popo {
|
|
|
1089
1087
|
maxPriorityFeePerGas?: bigint;
|
|
1090
1088
|
nonce?: number;
|
|
1091
1089
|
value?: bigint;
|
|
1092
|
-
}): Promise<
|
|
1090
|
+
}): Promise<void>;
|
|
1093
1091
|
/**
|
|
1094
|
-
* Simulate
|
|
1092
|
+
* Simulate setNewPMarketingReceiver
|
|
1095
1093
|
* Returns gas estimate and result without sending transaction
|
|
1096
1094
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1097
1095
|
*/
|
|
1098
|
-
|
|
1096
|
+
setNewPMarketingReceiver(newRcv: `0x${string}`, options?: {
|
|
1099
1097
|
accessList?: import("viem").AccessList;
|
|
1100
1098
|
authorizationList?: import("viem").AuthorizationList;
|
|
1101
1099
|
chain?: import("viem").Chain | null;
|
|
@@ -1108,11 +1106,11 @@ export declare class popo {
|
|
|
1108
1106
|
value?: bigint;
|
|
1109
1107
|
}): Promise<void>;
|
|
1110
1108
|
/**
|
|
1111
|
-
* Simulate
|
|
1109
|
+
* Simulate stuckEthPRemove
|
|
1112
1110
|
* Returns gas estimate and result without sending transaction
|
|
1113
1111
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1114
1112
|
*/
|
|
1115
|
-
|
|
1113
|
+
stuckEthPRemove(options?: {
|
|
1116
1114
|
accessList?: import("viem").AccessList;
|
|
1117
1115
|
authorizationList?: import("viem").AuthorizationList;
|
|
1118
1116
|
chain?: import("viem").Chain | null;
|
|
@@ -1125,11 +1123,11 @@ export declare class popo {
|
|
|
1125
1123
|
value?: bigint;
|
|
1126
1124
|
}): Promise<void>;
|
|
1127
1125
|
/**
|
|
1128
|
-
* Simulate
|
|
1126
|
+
* Simulate swapbackRangePSet
|
|
1129
1127
|
* Returns gas estimate and result without sending transaction
|
|
1130
1128
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1131
1129
|
*/
|
|
1132
|
-
|
|
1130
|
+
swapbackRangePSet(taxSwapThreshold: bigint, maxTaxSwap: bigint, options?: {
|
|
1133
1131
|
accessList?: import("viem").AccessList;
|
|
1134
1132
|
authorizationList?: import("viem").AuthorizationList;
|
|
1135
1133
|
chain?: import("viem").Chain | null;
|
|
@@ -1142,11 +1140,11 @@ export declare class popo {
|
|
|
1142
1140
|
value?: bigint;
|
|
1143
1141
|
}): Promise<void>;
|
|
1144
1142
|
/**
|
|
1145
|
-
* Simulate
|
|
1143
|
+
* Simulate tradingFeesPSetBuySell
|
|
1146
1144
|
* Returns gas estimate and result without sending transaction
|
|
1147
1145
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1148
1146
|
*/
|
|
1149
|
-
|
|
1147
|
+
tradingFeesPSetBuySell(feeBuy: bigint, feeSell: bigint, options?: {
|
|
1150
1148
|
accessList?: import("viem").AccessList;
|
|
1151
1149
|
authorizationList?: import("viem").AuthorizationList;
|
|
1152
1150
|
chain?: import("viem").Chain | null;
|
|
@@ -1159,11 +1157,11 @@ export declare class popo {
|
|
|
1159
1157
|
value?: bigint;
|
|
1160
1158
|
}): Promise<void>;
|
|
1161
1159
|
/**
|
|
1162
|
-
* Simulate
|
|
1160
|
+
* Simulate tradingFeesPSetExempt
|
|
1163
1161
|
* Returns gas estimate and result without sending transaction
|
|
1164
1162
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1165
1163
|
*/
|
|
1166
|
-
|
|
1164
|
+
tradingFeesPSetExempt(target: `0x${string}`, exempt: boolean, options?: {
|
|
1167
1165
|
accessList?: import("viem").AccessList;
|
|
1168
1166
|
authorizationList?: import("viem").AuthorizationList;
|
|
1169
1167
|
chain?: import("viem").Chain | null;
|
|
@@ -1176,11 +1174,11 @@ export declare class popo {
|
|
|
1176
1174
|
value?: bigint;
|
|
1177
1175
|
}): Promise<void>;
|
|
1178
1176
|
/**
|
|
1179
|
-
* Simulate
|
|
1177
|
+
* Simulate transfer
|
|
1180
1178
|
* Returns gas estimate and result without sending transaction
|
|
1181
1179
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1182
1180
|
*/
|
|
1183
|
-
|
|
1181
|
+
transfer(recipient: `0x${string}`, amount: bigint, options?: {
|
|
1184
1182
|
accessList?: import("viem").AccessList;
|
|
1185
1183
|
authorizationList?: import("viem").AuthorizationList;
|
|
1186
1184
|
chain?: import("viem").Chain | null;
|
|
@@ -1191,13 +1189,13 @@ export declare class popo {
|
|
|
1191
1189
|
maxPriorityFeePerGas?: bigint;
|
|
1192
1190
|
nonce?: number;
|
|
1193
1191
|
value?: bigint;
|
|
1194
|
-
}): Promise<
|
|
1192
|
+
}): Promise<boolean>;
|
|
1195
1193
|
/**
|
|
1196
|
-
* Simulate
|
|
1194
|
+
* Simulate transferFrom
|
|
1197
1195
|
* Returns gas estimate and result without sending transaction
|
|
1198
1196
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1199
1197
|
*/
|
|
1200
|
-
|
|
1198
|
+
transferFrom(sender: `0x${string}`, recipient: `0x${string}`, amount: bigint, options?: {
|
|
1201
1199
|
accessList?: import("viem").AccessList;
|
|
1202
1200
|
authorizationList?: import("viem").AuthorizationList;
|
|
1203
1201
|
chain?: import("viem").Chain | null;
|
|
@@ -1210,11 +1208,11 @@ export declare class popo {
|
|
|
1210
1208
|
value?: bigint;
|
|
1211
1209
|
}): Promise<boolean>;
|
|
1212
1210
|
/**
|
|
1213
|
-
* Simulate
|
|
1211
|
+
* Simulate transferOwnership
|
|
1214
1212
|
* Returns gas estimate and result without sending transaction
|
|
1215
1213
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1216
1214
|
*/
|
|
1217
|
-
|
|
1215
|
+
transferOwnership(newOwner: `0x${string}`, options?: {
|
|
1218
1216
|
accessList?: import("viem").AccessList;
|
|
1219
1217
|
authorizationList?: import("viem").AuthorizationList;
|
|
1220
1218
|
chain?: import("viem").Chain | null;
|
|
@@ -1225,13 +1223,13 @@ export declare class popo {
|
|
|
1225
1223
|
maxPriorityFeePerGas?: bigint;
|
|
1226
1224
|
nonce?: number;
|
|
1227
1225
|
value?: bigint;
|
|
1228
|
-
}): Promise<
|
|
1226
|
+
}): Promise<void>;
|
|
1229
1227
|
/**
|
|
1230
|
-
* Simulate
|
|
1228
|
+
* Simulate triggerSwap
|
|
1231
1229
|
* Returns gas estimate and result without sending transaction
|
|
1232
1230
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1233
1231
|
*/
|
|
1234
|
-
|
|
1232
|
+
triggerSwap(options?: {
|
|
1235
1233
|
accessList?: import("viem").AccessList;
|
|
1236
1234
|
authorizationList?: import("viem").AuthorizationList;
|
|
1237
1235
|
chain?: import("viem").Chain | null;
|
|
@@ -1272,16 +1270,41 @@ export declare class popo {
|
|
|
1272
1270
|
spender?: `0x${string}` | `0x${string}`[] | null;
|
|
1273
1271
|
}) => () => void;
|
|
1274
1272
|
/**
|
|
1275
|
-
* Watch
|
|
1273
|
+
* Watch ExcludedFromFee events
|
|
1276
1274
|
* @param callback Function to call when event is emitted
|
|
1277
1275
|
* @param filter Optional filter for indexed parameters
|
|
1278
1276
|
* @returns Unwatch function to stop listening
|
|
1279
1277
|
*/
|
|
1280
|
-
|
|
1278
|
+
ExcludedFromFee: (callback: (event: {
|
|
1281
1279
|
account: `0x${string}`;
|
|
1282
|
-
|
|
1283
|
-
|
|
1284
|
-
|
|
1280
|
+
status: boolean;
|
|
1281
|
+
}) => void) => () => void;
|
|
1282
|
+
/**
|
|
1283
|
+
* Watch FeeReceiverUpdated events
|
|
1284
|
+
* @param callback Function to call when event is emitted
|
|
1285
|
+
* @param filter Optional filter for indexed parameters
|
|
1286
|
+
* @returns Unwatch function to stop listening
|
|
1287
|
+
*/
|
|
1288
|
+
FeeReceiverUpdated: (callback: (event: {
|
|
1289
|
+
_taxWallet: `0x${string}`;
|
|
1290
|
+
}) => void) => () => void;
|
|
1291
|
+
/**
|
|
1292
|
+
* Watch FeesUpdated events
|
|
1293
|
+
* @param callback Function to call when event is emitted
|
|
1294
|
+
* @param filter Optional filter for indexed parameters
|
|
1295
|
+
* @returns Unwatch function to stop listening
|
|
1296
|
+
*/
|
|
1297
|
+
FeesUpdated: (callback: (event: {
|
|
1298
|
+
buyFee: bigint;
|
|
1299
|
+
sellFee: bigint;
|
|
1300
|
+
}) => void) => () => void;
|
|
1301
|
+
/**
|
|
1302
|
+
* Watch LimitsRemoved events
|
|
1303
|
+
* @param callback Function to call when event is emitted
|
|
1304
|
+
* @param filter Optional filter for indexed parameters
|
|
1305
|
+
* @returns Unwatch function to stop listening
|
|
1306
|
+
*/
|
|
1307
|
+
LimitsRemoved: (callback: (event: {}) => void) => () => void;
|
|
1285
1308
|
/**
|
|
1286
1309
|
* Watch MaxTxAmountUpdated events
|
|
1287
1310
|
* @param callback Function to call when event is emitted
|
|
@@ -1289,7 +1312,16 @@ export declare class popo {
|
|
|
1289
1312
|
* @returns Unwatch function to stop listening
|
|
1290
1313
|
*/
|
|
1291
1314
|
MaxTxAmountUpdated: (callback: (event: {
|
|
1292
|
-
|
|
1315
|
+
_txAmountLimit: bigint;
|
|
1316
|
+
}) => void) => () => void;
|
|
1317
|
+
/**
|
|
1318
|
+
* Watch MaxWalletAmountUpdated events
|
|
1319
|
+
* @param callback Function to call when event is emitted
|
|
1320
|
+
* @param filter Optional filter for indexed parameters
|
|
1321
|
+
* @returns Unwatch function to stop listening
|
|
1322
|
+
*/
|
|
1323
|
+
MaxWalletAmountUpdated: (callback: (event: {
|
|
1324
|
+
_walletAmountLimit: bigint;
|
|
1293
1325
|
}) => void) => () => void;
|
|
1294
1326
|
/**
|
|
1295
1327
|
* Watch OwnershipTransferred events
|
|
@@ -1305,16 +1337,22 @@ export declare class popo {
|
|
|
1305
1337
|
newOwner?: `0x${string}` | `0x${string}`[] | null;
|
|
1306
1338
|
}) => () => void;
|
|
1307
1339
|
/**
|
|
1308
|
-
* Watch
|
|
1340
|
+
* Watch SwapbackUpdated events
|
|
1309
1341
|
* @param callback Function to call when event is emitted
|
|
1310
1342
|
* @param filter Optional filter for indexed parameters
|
|
1311
1343
|
* @returns Unwatch function to stop listening
|
|
1312
1344
|
*/
|
|
1313
|
-
|
|
1314
|
-
|
|
1315
|
-
|
|
1316
|
-
|
|
1317
|
-
|
|
1345
|
+
SwapbackUpdated: (callback: (event: {
|
|
1346
|
+
_swapbackMin: bigint;
|
|
1347
|
+
_swapbackMax: bigint;
|
|
1348
|
+
}) => void) => () => void;
|
|
1349
|
+
/**
|
|
1350
|
+
* Watch TradingOpened events
|
|
1351
|
+
* @param callback Function to call when event is emitted
|
|
1352
|
+
* @param filter Optional filter for indexed parameters
|
|
1353
|
+
* @returns Unwatch function to stop listening
|
|
1354
|
+
*/
|
|
1355
|
+
TradingOpened: (callback: (event: {}) => void) => () => void;
|
|
1318
1356
|
/**
|
|
1319
1357
|
* Watch Transfer events
|
|
1320
1358
|
* @param callback Function to call when event is emitted
|
|
@@ -1329,14 +1367,5 @@ export declare class popo {
|
|
|
1329
1367
|
from?: `0x${string}` | `0x${string}`[] | null;
|
|
1330
1368
|
to?: `0x${string}` | `0x${string}`[] | null;
|
|
1331
1369
|
}) => () => void;
|
|
1332
|
-
/**
|
|
1333
|
-
* Watch TransferfeeUpdated events
|
|
1334
|
-
* @param callback Function to call when event is emitted
|
|
1335
|
-
* @param filter Optional filter for indexed parameters
|
|
1336
|
-
* @returns Unwatch function to stop listening
|
|
1337
|
-
*/
|
|
1338
|
-
TransferfeeUpdated: (callback: (event: {
|
|
1339
|
-
_fee: bigint;
|
|
1340
|
-
}) => void) => () => void;
|
|
1341
1370
|
};
|
|
1342
1371
|
}
|