basememe-v4-contracts-configs 0.0.5 → 0.0.7
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/chainConfigs.d.ts +256 -128
- package/chainConfigs.d.ts.map +1 -1
- package/index.js +1487 -244
- package/index.js.map +1 -1
- package/package.json +1 -1
- package/wagmiGenerated.d.ts +3517 -555
- package/wagmiGenerated.d.ts.map +1 -1
package/wagmiGenerated.d.ts
CHANGED
|
@@ -114,7 +114,7 @@ export declare const basememeFactoryConfig: {
|
|
|
114
114
|
};
|
|
115
115
|
/**
|
|
116
116
|
* - [__View Contract on Base Basescan__](https://basescan.org/address/0x0000000000000000000000000000000000000000)
|
|
117
|
-
* - [__View Contract on Base Sepolia Blockscout__](https://base-sepolia.blockscout.com/address/
|
|
117
|
+
* - [__View Contract on Base Sepolia Blockscout__](https://base-sepolia.blockscout.com/address/0x919ba5579C465f721785547baC86d39d112fae0F)
|
|
118
118
|
*/
|
|
119
119
|
export declare const basememeFactoryImplABI: readonly [{
|
|
120
120
|
readonly stateMutability: "nonpayable";
|
|
@@ -161,6 +161,28 @@ export declare const basememeFactoryImplABI: readonly [{
|
|
|
161
161
|
}];
|
|
162
162
|
readonly name: "buyExactIn";
|
|
163
163
|
readonly outputs: readonly [];
|
|
164
|
+
}, {
|
|
165
|
+
readonly stateMutability: "payable";
|
|
166
|
+
readonly type: "function";
|
|
167
|
+
readonly inputs: readonly [{
|
|
168
|
+
readonly name: "_token";
|
|
169
|
+
readonly internalType: "address";
|
|
170
|
+
readonly type: "address";
|
|
171
|
+
}, {
|
|
172
|
+
readonly name: "_amountOutMin";
|
|
173
|
+
readonly internalType: "uint256";
|
|
174
|
+
readonly type: "uint256";
|
|
175
|
+
}, {
|
|
176
|
+
readonly name: "_tradeReferrer";
|
|
177
|
+
readonly internalType: "address";
|
|
178
|
+
readonly type: "address";
|
|
179
|
+
}, {
|
|
180
|
+
readonly name: "_to";
|
|
181
|
+
readonly internalType: "address";
|
|
182
|
+
readonly type: "address";
|
|
183
|
+
}];
|
|
184
|
+
readonly name: "buyExactInTo";
|
|
185
|
+
readonly outputs: readonly [];
|
|
164
186
|
}, {
|
|
165
187
|
readonly stateMutability: "payable";
|
|
166
188
|
readonly type: "function";
|
|
@@ -183,6 +205,32 @@ export declare const basememeFactoryImplABI: readonly [{
|
|
|
183
205
|
}];
|
|
184
206
|
readonly name: "buyExactInWithCollateral";
|
|
185
207
|
readonly outputs: readonly [];
|
|
208
|
+
}, {
|
|
209
|
+
readonly stateMutability: "payable";
|
|
210
|
+
readonly type: "function";
|
|
211
|
+
readonly inputs: readonly [{
|
|
212
|
+
readonly name: "_token";
|
|
213
|
+
readonly internalType: "address";
|
|
214
|
+
readonly type: "address";
|
|
215
|
+
}, {
|
|
216
|
+
readonly name: "_collateralAmountIn";
|
|
217
|
+
readonly internalType: "uint256";
|
|
218
|
+
readonly type: "uint256";
|
|
219
|
+
}, {
|
|
220
|
+
readonly name: "_amountOutMin";
|
|
221
|
+
readonly internalType: "uint256";
|
|
222
|
+
readonly type: "uint256";
|
|
223
|
+
}, {
|
|
224
|
+
readonly name: "_tradeReferrer";
|
|
225
|
+
readonly internalType: "address";
|
|
226
|
+
readonly type: "address";
|
|
227
|
+
}, {
|
|
228
|
+
readonly name: "_to";
|
|
229
|
+
readonly internalType: "address";
|
|
230
|
+
readonly type: "address";
|
|
231
|
+
}];
|
|
232
|
+
readonly name: "buyExactInWithCollateralTo";
|
|
233
|
+
readonly outputs: readonly [];
|
|
186
234
|
}, {
|
|
187
235
|
readonly stateMutability: "payable";
|
|
188
236
|
readonly type: "function";
|
|
@@ -205,6 +253,32 @@ export declare const basememeFactoryImplABI: readonly [{
|
|
|
205
253
|
}];
|
|
206
254
|
readonly name: "buyExactOut";
|
|
207
255
|
readonly outputs: readonly [];
|
|
256
|
+
}, {
|
|
257
|
+
readonly stateMutability: "payable";
|
|
258
|
+
readonly type: "function";
|
|
259
|
+
readonly inputs: readonly [{
|
|
260
|
+
readonly name: "_token";
|
|
261
|
+
readonly internalType: "address";
|
|
262
|
+
readonly type: "address";
|
|
263
|
+
}, {
|
|
264
|
+
readonly name: "_tokenAmount";
|
|
265
|
+
readonly internalType: "uint256";
|
|
266
|
+
readonly type: "uint256";
|
|
267
|
+
}, {
|
|
268
|
+
readonly name: "_maxCollateralAmount";
|
|
269
|
+
readonly internalType: "uint256";
|
|
270
|
+
readonly type: "uint256";
|
|
271
|
+
}, {
|
|
272
|
+
readonly name: "_tradeReferrer";
|
|
273
|
+
readonly internalType: "address";
|
|
274
|
+
readonly type: "address";
|
|
275
|
+
}, {
|
|
276
|
+
readonly name: "_to";
|
|
277
|
+
readonly internalType: "address";
|
|
278
|
+
readonly type: "address";
|
|
279
|
+
}];
|
|
280
|
+
readonly name: "buyExactOutTo";
|
|
281
|
+
readonly outputs: readonly [];
|
|
208
282
|
}, {
|
|
209
283
|
readonly stateMutability: "view";
|
|
210
284
|
readonly type: "function";
|
|
@@ -225,20 +299,6 @@ export declare const basememeFactoryImplABI: readonly [{
|
|
|
225
299
|
readonly internalType: "bytes";
|
|
226
300
|
readonly type: "bytes";
|
|
227
301
|
}];
|
|
228
|
-
}, {
|
|
229
|
-
readonly stateMutability: "view";
|
|
230
|
-
readonly type: "function";
|
|
231
|
-
readonly inputs: readonly [{
|
|
232
|
-
readonly name: "";
|
|
233
|
-
readonly internalType: "address";
|
|
234
|
-
readonly type: "address";
|
|
235
|
-
}];
|
|
236
|
-
readonly name: "collateralConfigSet";
|
|
237
|
-
readonly outputs: readonly [{
|
|
238
|
-
readonly name: "";
|
|
239
|
-
readonly internalType: "bool";
|
|
240
|
-
readonly type: "bool";
|
|
241
|
-
}];
|
|
242
302
|
}, {
|
|
243
303
|
readonly stateMutability: "view";
|
|
244
304
|
readonly type: "function";
|
|
@@ -314,6 +374,20 @@ export declare const basememeFactoryImplABI: readonly [{
|
|
|
314
374
|
readonly internalType: "uint8";
|
|
315
375
|
readonly type: "uint8";
|
|
316
376
|
}];
|
|
377
|
+
}, {
|
|
378
|
+
readonly stateMutability: "view";
|
|
379
|
+
readonly type: "function";
|
|
380
|
+
readonly inputs: readonly [{
|
|
381
|
+
readonly name: "";
|
|
382
|
+
readonly internalType: "address";
|
|
383
|
+
readonly type: "address";
|
|
384
|
+
}];
|
|
385
|
+
readonly name: "collateralEnabled";
|
|
386
|
+
readonly outputs: readonly [{
|
|
387
|
+
readonly name: "";
|
|
388
|
+
readonly internalType: "bool";
|
|
389
|
+
readonly type: "bool";
|
|
390
|
+
}];
|
|
317
391
|
}, {
|
|
318
392
|
readonly stateMutability: "pure";
|
|
319
393
|
readonly type: "function";
|
|
@@ -650,6 +724,20 @@ export declare const basememeFactoryImplABI: readonly [{
|
|
|
650
724
|
readonly internalType: "bool";
|
|
651
725
|
readonly type: "bool";
|
|
652
726
|
}];
|
|
727
|
+
}, {
|
|
728
|
+
readonly stateMutability: "view";
|
|
729
|
+
readonly type: "function";
|
|
730
|
+
readonly inputs: readonly [{
|
|
731
|
+
readonly name: "";
|
|
732
|
+
readonly internalType: "address";
|
|
733
|
+
readonly type: "address";
|
|
734
|
+
}];
|
|
735
|
+
readonly name: "isTrustedCaller";
|
|
736
|
+
readonly outputs: readonly [{
|
|
737
|
+
readonly name: "";
|
|
738
|
+
readonly internalType: "bool";
|
|
739
|
+
readonly type: "bool";
|
|
740
|
+
}];
|
|
653
741
|
}, {
|
|
654
742
|
readonly stateMutability: "nonpayable";
|
|
655
743
|
readonly type: "function";
|
|
@@ -736,6 +824,32 @@ export declare const basememeFactoryImplABI: readonly [{
|
|
|
736
824
|
}];
|
|
737
825
|
readonly name: "sellExactIn";
|
|
738
826
|
readonly outputs: readonly [];
|
|
827
|
+
}, {
|
|
828
|
+
readonly stateMutability: "nonpayable";
|
|
829
|
+
readonly type: "function";
|
|
830
|
+
readonly inputs: readonly [{
|
|
831
|
+
readonly name: "_token";
|
|
832
|
+
readonly internalType: "address";
|
|
833
|
+
readonly type: "address";
|
|
834
|
+
}, {
|
|
835
|
+
readonly name: "_from";
|
|
836
|
+
readonly internalType: "address";
|
|
837
|
+
readonly type: "address";
|
|
838
|
+
}, {
|
|
839
|
+
readonly name: "_tokenAmount";
|
|
840
|
+
readonly internalType: "uint256";
|
|
841
|
+
readonly type: "uint256";
|
|
842
|
+
}, {
|
|
843
|
+
readonly name: "_amountCollateralMin";
|
|
844
|
+
readonly internalType: "uint256";
|
|
845
|
+
readonly type: "uint256";
|
|
846
|
+
}, {
|
|
847
|
+
readonly name: "_tradeReferrer";
|
|
848
|
+
readonly internalType: "address";
|
|
849
|
+
readonly type: "address";
|
|
850
|
+
}];
|
|
851
|
+
readonly name: "sellExactInFrom";
|
|
852
|
+
readonly outputs: readonly [];
|
|
739
853
|
}, {
|
|
740
854
|
readonly stateMutability: "nonpayable";
|
|
741
855
|
readonly type: "function";
|
|
@@ -758,6 +872,32 @@ export declare const basememeFactoryImplABI: readonly [{
|
|
|
758
872
|
}];
|
|
759
873
|
readonly name: "sellExactOut";
|
|
760
874
|
readonly outputs: readonly [];
|
|
875
|
+
}, {
|
|
876
|
+
readonly stateMutability: "nonpayable";
|
|
877
|
+
readonly type: "function";
|
|
878
|
+
readonly inputs: readonly [{
|
|
879
|
+
readonly name: "_token";
|
|
880
|
+
readonly internalType: "address";
|
|
881
|
+
readonly type: "address";
|
|
882
|
+
}, {
|
|
883
|
+
readonly name: "_from";
|
|
884
|
+
readonly internalType: "address";
|
|
885
|
+
readonly type: "address";
|
|
886
|
+
}, {
|
|
887
|
+
readonly name: "_tokenAmountMax";
|
|
888
|
+
readonly internalType: "uint256";
|
|
889
|
+
readonly type: "uint256";
|
|
890
|
+
}, {
|
|
891
|
+
readonly name: "_amountCollateral";
|
|
892
|
+
readonly internalType: "uint256";
|
|
893
|
+
readonly type: "uint256";
|
|
894
|
+
}, {
|
|
895
|
+
readonly name: "_tradeReferrer";
|
|
896
|
+
readonly internalType: "address";
|
|
897
|
+
readonly type: "address";
|
|
898
|
+
}];
|
|
899
|
+
readonly name: "sellExactOutFrom";
|
|
900
|
+
readonly outputs: readonly [];
|
|
761
901
|
}, {
|
|
762
902
|
readonly stateMutability: "nonpayable";
|
|
763
903
|
readonly type: "function";
|
|
@@ -843,6 +983,20 @@ export declare const basememeFactoryImplABI: readonly [{
|
|
|
843
983
|
}];
|
|
844
984
|
readonly name: "setCollateralConfig";
|
|
845
985
|
readonly outputs: readonly [];
|
|
986
|
+
}, {
|
|
987
|
+
readonly stateMutability: "nonpayable";
|
|
988
|
+
readonly type: "function";
|
|
989
|
+
readonly inputs: readonly [{
|
|
990
|
+
readonly name: "_collateralToken";
|
|
991
|
+
readonly internalType: "address";
|
|
992
|
+
readonly type: "address";
|
|
993
|
+
}, {
|
|
994
|
+
readonly name: "enabled";
|
|
995
|
+
readonly internalType: "bool";
|
|
996
|
+
readonly type: "bool";
|
|
997
|
+
}];
|
|
998
|
+
readonly name: "setCollateralEnabled";
|
|
999
|
+
readonly outputs: readonly [];
|
|
846
1000
|
}, {
|
|
847
1001
|
readonly stateMutability: "nonpayable";
|
|
848
1002
|
readonly type: "function";
|
|
@@ -863,6 +1017,20 @@ export declare const basememeFactoryImplABI: readonly [{
|
|
|
863
1017
|
}];
|
|
864
1018
|
readonly name: "setSigner";
|
|
865
1019
|
readonly outputs: readonly [];
|
|
1020
|
+
}, {
|
|
1021
|
+
readonly stateMutability: "nonpayable";
|
|
1022
|
+
readonly type: "function";
|
|
1023
|
+
readonly inputs: readonly [{
|
|
1024
|
+
readonly name: "caller";
|
|
1025
|
+
readonly internalType: "address";
|
|
1026
|
+
readonly type: "address";
|
|
1027
|
+
}, {
|
|
1028
|
+
readonly name: "allowed";
|
|
1029
|
+
readonly internalType: "bool";
|
|
1030
|
+
readonly type: "bool";
|
|
1031
|
+
}];
|
|
1032
|
+
readonly name: "setTrustedCaller";
|
|
1033
|
+
readonly outputs: readonly [];
|
|
866
1034
|
}, {
|
|
867
1035
|
readonly stateMutability: "nonpayable";
|
|
868
1036
|
readonly type: "function";
|
|
@@ -999,6 +1167,41 @@ export declare const basememeFactoryImplABI: readonly [{
|
|
|
999
1167
|
readonly indexed: false;
|
|
1000
1168
|
}];
|
|
1001
1169
|
readonly name: "Buy";
|
|
1170
|
+
}, {
|
|
1171
|
+
readonly type: "event";
|
|
1172
|
+
readonly anonymous: false;
|
|
1173
|
+
readonly inputs: readonly [{
|
|
1174
|
+
readonly name: "caller";
|
|
1175
|
+
readonly internalType: "address";
|
|
1176
|
+
readonly type: "address";
|
|
1177
|
+
readonly indexed: true;
|
|
1178
|
+
}, {
|
|
1179
|
+
readonly name: "recipient";
|
|
1180
|
+
readonly internalType: "address";
|
|
1181
|
+
readonly type: "address";
|
|
1182
|
+
readonly indexed: true;
|
|
1183
|
+
}, {
|
|
1184
|
+
readonly name: "token";
|
|
1185
|
+
readonly internalType: "address";
|
|
1186
|
+
readonly type: "address";
|
|
1187
|
+
readonly indexed: true;
|
|
1188
|
+
}];
|
|
1189
|
+
readonly name: "BuyRecipient";
|
|
1190
|
+
}, {
|
|
1191
|
+
readonly type: "event";
|
|
1192
|
+
readonly anonymous: false;
|
|
1193
|
+
readonly inputs: readonly [{
|
|
1194
|
+
readonly name: "collateralToken";
|
|
1195
|
+
readonly internalType: "address";
|
|
1196
|
+
readonly type: "address";
|
|
1197
|
+
readonly indexed: true;
|
|
1198
|
+
}, {
|
|
1199
|
+
readonly name: "enabled";
|
|
1200
|
+
readonly internalType: "bool";
|
|
1201
|
+
readonly type: "bool";
|
|
1202
|
+
readonly indexed: false;
|
|
1203
|
+
}];
|
|
1204
|
+
readonly name: "CollateralEnabledUpdated";
|
|
1002
1205
|
}, {
|
|
1003
1206
|
readonly type: "event";
|
|
1004
1207
|
readonly anonymous: false;
|
|
@@ -1123,79 +1326,194 @@ export declare const basememeFactoryImplABI: readonly [{
|
|
|
1123
1326
|
readonly type: "event";
|
|
1124
1327
|
readonly anonymous: false;
|
|
1125
1328
|
readonly inputs: readonly [{
|
|
1126
|
-
readonly name: "
|
|
1329
|
+
readonly name: "addr";
|
|
1127
1330
|
readonly internalType: "address";
|
|
1128
1331
|
readonly type: "address";
|
|
1129
1332
|
readonly indexed: true;
|
|
1130
1333
|
}, {
|
|
1131
|
-
readonly name: "
|
|
1132
|
-
readonly internalType: "address";
|
|
1133
|
-
readonly type: "address";
|
|
1134
|
-
readonly indexed: true;
|
|
1135
|
-
}];
|
|
1136
|
-
readonly name: "OwnershipTransferred";
|
|
1137
|
-
}, {
|
|
1138
|
-
readonly type: "event";
|
|
1139
|
-
readonly anonymous: false;
|
|
1140
|
-
readonly inputs: readonly [{
|
|
1141
|
-
readonly name: "seller";
|
|
1334
|
+
readonly name: "bondingCurve";
|
|
1142
1335
|
readonly internalType: "address";
|
|
1143
1336
|
readonly type: "address";
|
|
1144
1337
|
readonly indexed: true;
|
|
1145
1338
|
}, {
|
|
1146
|
-
readonly name: "
|
|
1147
|
-
readonly internalType: "
|
|
1148
|
-
readonly type: "
|
|
1149
|
-
readonly indexed:
|
|
1339
|
+
readonly name: "initialTokenSupply";
|
|
1340
|
+
readonly internalType: "uint256";
|
|
1341
|
+
readonly type: "uint256";
|
|
1342
|
+
readonly indexed: false;
|
|
1150
1343
|
}, {
|
|
1151
|
-
readonly name: "
|
|
1344
|
+
readonly name: "virtualCollateralReservesInitial";
|
|
1152
1345
|
readonly internalType: "uint256";
|
|
1153
1346
|
readonly type: "uint256";
|
|
1154
1347
|
readonly indexed: false;
|
|
1155
1348
|
}, {
|
|
1156
|
-
readonly name: "
|
|
1349
|
+
readonly name: "virtualTokenReservesInitial";
|
|
1157
1350
|
readonly internalType: "uint256";
|
|
1158
1351
|
readonly type: "uint256";
|
|
1159
1352
|
readonly indexed: false;
|
|
1160
1353
|
}, {
|
|
1161
|
-
readonly name: "
|
|
1354
|
+
readonly name: "feeBPS";
|
|
1162
1355
|
readonly internalType: "uint256";
|
|
1163
1356
|
readonly type: "uint256";
|
|
1164
1357
|
readonly indexed: false;
|
|
1165
1358
|
}, {
|
|
1166
|
-
readonly name: "
|
|
1359
|
+
readonly name: "mcLowerLimit";
|
|
1167
1360
|
readonly internalType: "uint256";
|
|
1168
1361
|
readonly type: "uint256";
|
|
1169
1362
|
readonly indexed: false;
|
|
1170
1363
|
}, {
|
|
1171
|
-
readonly name: "
|
|
1364
|
+
readonly name: "mcUpperLimit";
|
|
1172
1365
|
readonly internalType: "uint256";
|
|
1173
1366
|
readonly type: "uint256";
|
|
1174
1367
|
readonly indexed: false;
|
|
1175
1368
|
}, {
|
|
1176
|
-
readonly name: "
|
|
1369
|
+
readonly name: "tokensMigrationThreshold";
|
|
1177
1370
|
readonly internalType: "uint256";
|
|
1178
1371
|
readonly type: "uint256";
|
|
1179
1372
|
readonly indexed: false;
|
|
1180
1373
|
}, {
|
|
1181
|
-
readonly name: "
|
|
1374
|
+
readonly name: "fixedMigrationFee";
|
|
1182
1375
|
readonly internalType: "uint256";
|
|
1183
1376
|
readonly type: "uint256";
|
|
1184
1377
|
readonly indexed: false;
|
|
1185
1378
|
}, {
|
|
1186
|
-
readonly name: "
|
|
1379
|
+
readonly name: "poolCreationFee";
|
|
1187
1380
|
readonly internalType: "uint256";
|
|
1188
1381
|
readonly type: "uint256";
|
|
1189
1382
|
readonly indexed: false;
|
|
1190
|
-
}
|
|
1191
|
-
|
|
1192
|
-
|
|
1193
|
-
|
|
1194
|
-
|
|
1195
|
-
|
|
1196
|
-
readonly name: "
|
|
1197
|
-
readonly internalType: "
|
|
1198
|
-
readonly type: "
|
|
1383
|
+
}, {
|
|
1384
|
+
readonly name: "firstBuyFee";
|
|
1385
|
+
readonly internalType: "uint256";
|
|
1386
|
+
readonly type: "uint256";
|
|
1387
|
+
readonly indexed: false;
|
|
1388
|
+
}, {
|
|
1389
|
+
readonly name: "targetCollectionAmount";
|
|
1390
|
+
readonly internalType: "uint256";
|
|
1391
|
+
readonly type: "uint256";
|
|
1392
|
+
readonly indexed: false;
|
|
1393
|
+
}, {
|
|
1394
|
+
readonly name: "collateralToken";
|
|
1395
|
+
readonly internalType: "address";
|
|
1396
|
+
readonly type: "address";
|
|
1397
|
+
readonly indexed: false;
|
|
1398
|
+
}, {
|
|
1399
|
+
readonly name: "v4LpFee";
|
|
1400
|
+
readonly internalType: "uint24";
|
|
1401
|
+
readonly type: "uint24";
|
|
1402
|
+
readonly indexed: false;
|
|
1403
|
+
}];
|
|
1404
|
+
readonly name: "NewBasememeTokenCurveParams";
|
|
1405
|
+
}, {
|
|
1406
|
+
readonly type: "event";
|
|
1407
|
+
readonly anonymous: false;
|
|
1408
|
+
readonly inputs: readonly [{
|
|
1409
|
+
readonly name: "previousOwner";
|
|
1410
|
+
readonly internalType: "address";
|
|
1411
|
+
readonly type: "address";
|
|
1412
|
+
readonly indexed: true;
|
|
1413
|
+
}, {
|
|
1414
|
+
readonly name: "newOwner";
|
|
1415
|
+
readonly internalType: "address";
|
|
1416
|
+
readonly type: "address";
|
|
1417
|
+
readonly indexed: true;
|
|
1418
|
+
}];
|
|
1419
|
+
readonly name: "OwnershipTransferred";
|
|
1420
|
+
}, {
|
|
1421
|
+
readonly type: "event";
|
|
1422
|
+
readonly anonymous: false;
|
|
1423
|
+
readonly inputs: readonly [{
|
|
1424
|
+
readonly name: "seller";
|
|
1425
|
+
readonly internalType: "address";
|
|
1426
|
+
readonly type: "address";
|
|
1427
|
+
readonly indexed: true;
|
|
1428
|
+
}, {
|
|
1429
|
+
readonly name: "token";
|
|
1430
|
+
readonly internalType: "address";
|
|
1431
|
+
readonly type: "address";
|
|
1432
|
+
readonly indexed: true;
|
|
1433
|
+
}, {
|
|
1434
|
+
readonly name: "tokenAmount";
|
|
1435
|
+
readonly internalType: "uint256";
|
|
1436
|
+
readonly type: "uint256";
|
|
1437
|
+
readonly indexed: false;
|
|
1438
|
+
}, {
|
|
1439
|
+
readonly name: "collateralAmount";
|
|
1440
|
+
readonly internalType: "uint256";
|
|
1441
|
+
readonly type: "uint256";
|
|
1442
|
+
readonly indexed: false;
|
|
1443
|
+
}, {
|
|
1444
|
+
readonly name: "tradeFee";
|
|
1445
|
+
readonly internalType: "uint256";
|
|
1446
|
+
readonly type: "uint256";
|
|
1447
|
+
readonly indexed: false;
|
|
1448
|
+
}, {
|
|
1449
|
+
readonly name: "curveProgressBps";
|
|
1450
|
+
readonly internalType: "uint256";
|
|
1451
|
+
readonly type: "uint256";
|
|
1452
|
+
readonly indexed: false;
|
|
1453
|
+
}, {
|
|
1454
|
+
readonly name: "virtualCollateralReserves";
|
|
1455
|
+
readonly internalType: "uint256";
|
|
1456
|
+
readonly type: "uint256";
|
|
1457
|
+
readonly indexed: false;
|
|
1458
|
+
}, {
|
|
1459
|
+
readonly name: "virtualTokenReserves";
|
|
1460
|
+
readonly internalType: "uint256";
|
|
1461
|
+
readonly type: "uint256";
|
|
1462
|
+
readonly indexed: false;
|
|
1463
|
+
}, {
|
|
1464
|
+
readonly name: "collateralReserves";
|
|
1465
|
+
readonly internalType: "uint256";
|
|
1466
|
+
readonly type: "uint256";
|
|
1467
|
+
readonly indexed: false;
|
|
1468
|
+
}, {
|
|
1469
|
+
readonly name: "tokenReserves";
|
|
1470
|
+
readonly internalType: "uint256";
|
|
1471
|
+
readonly type: "uint256";
|
|
1472
|
+
readonly indexed: false;
|
|
1473
|
+
}];
|
|
1474
|
+
readonly name: "Sell";
|
|
1475
|
+
}, {
|
|
1476
|
+
readonly type: "event";
|
|
1477
|
+
readonly anonymous: false;
|
|
1478
|
+
readonly inputs: readonly [{
|
|
1479
|
+
readonly name: "caller";
|
|
1480
|
+
readonly internalType: "address";
|
|
1481
|
+
readonly type: "address";
|
|
1482
|
+
readonly indexed: true;
|
|
1483
|
+
}, {
|
|
1484
|
+
readonly name: "recipient";
|
|
1485
|
+
readonly internalType: "address";
|
|
1486
|
+
readonly type: "address";
|
|
1487
|
+
readonly indexed: true;
|
|
1488
|
+
}, {
|
|
1489
|
+
readonly name: "token";
|
|
1490
|
+
readonly internalType: "address";
|
|
1491
|
+
readonly type: "address";
|
|
1492
|
+
readonly indexed: true;
|
|
1493
|
+
}];
|
|
1494
|
+
readonly name: "SellRecipient";
|
|
1495
|
+
}, {
|
|
1496
|
+
readonly type: "event";
|
|
1497
|
+
readonly anonymous: false;
|
|
1498
|
+
readonly inputs: readonly [{
|
|
1499
|
+
readonly name: "caller";
|
|
1500
|
+
readonly internalType: "address";
|
|
1501
|
+
readonly type: "address";
|
|
1502
|
+
readonly indexed: true;
|
|
1503
|
+
}, {
|
|
1504
|
+
readonly name: "allowed";
|
|
1505
|
+
readonly internalType: "bool";
|
|
1506
|
+
readonly type: "bool";
|
|
1507
|
+
readonly indexed: false;
|
|
1508
|
+
}];
|
|
1509
|
+
readonly name: "TrustedCallerUpdated";
|
|
1510
|
+
}, {
|
|
1511
|
+
readonly type: "event";
|
|
1512
|
+
readonly anonymous: false;
|
|
1513
|
+
readonly inputs: readonly [{
|
|
1514
|
+
readonly name: "implementation";
|
|
1515
|
+
readonly internalType: "address";
|
|
1516
|
+
readonly type: "address";
|
|
1199
1517
|
readonly indexed: true;
|
|
1200
1518
|
}];
|
|
1201
1519
|
readonly name: "Upgraded";
|
|
@@ -1287,6 +1605,10 @@ export declare const basememeFactoryImplABI: readonly [{
|
|
|
1287
1605
|
readonly type: "error";
|
|
1288
1606
|
readonly inputs: readonly [];
|
|
1289
1607
|
readonly name: "BuyExactInUnsupportedForErc20Collateral";
|
|
1608
|
+
}, {
|
|
1609
|
+
readonly type: "error";
|
|
1610
|
+
readonly inputs: readonly [];
|
|
1611
|
+
readonly name: "CollateralDisabled";
|
|
1290
1612
|
}, {
|
|
1291
1613
|
readonly type: "error";
|
|
1292
1614
|
readonly inputs: readonly [];
|
|
@@ -1383,6 +1705,10 @@ export declare const basememeFactoryImplABI: readonly [{
|
|
|
1383
1705
|
readonly type: "error";
|
|
1384
1706
|
readonly inputs: readonly [];
|
|
1385
1707
|
readonly name: "NotReadyForMigration";
|
|
1708
|
+
}, {
|
|
1709
|
+
readonly type: "error";
|
|
1710
|
+
readonly inputs: readonly [];
|
|
1711
|
+
readonly name: "NotTrustedCaller";
|
|
1386
1712
|
}, {
|
|
1387
1713
|
readonly type: "error";
|
|
1388
1714
|
readonly inputs: readonly [{
|
|
@@ -1403,6 +1729,14 @@ export declare const basememeFactoryImplABI: readonly [{
|
|
|
1403
1729
|
readonly type: "error";
|
|
1404
1730
|
readonly inputs: readonly [];
|
|
1405
1731
|
readonly name: "ReentrancyGuardReentrantCall";
|
|
1732
|
+
}, {
|
|
1733
|
+
readonly type: "error";
|
|
1734
|
+
readonly inputs: readonly [{
|
|
1735
|
+
readonly name: "token";
|
|
1736
|
+
readonly internalType: "address";
|
|
1737
|
+
readonly type: "address";
|
|
1738
|
+
}];
|
|
1739
|
+
readonly name: "SafeERC20FailedOperation";
|
|
1406
1740
|
}, {
|
|
1407
1741
|
readonly type: "error";
|
|
1408
1742
|
readonly inputs: readonly [];
|
|
@@ -1450,20 +1784,20 @@ export declare const basememeFactoryImplABI: readonly [{
|
|
|
1450
1784
|
}];
|
|
1451
1785
|
/**
|
|
1452
1786
|
* - [__View Contract on Base Basescan__](https://basescan.org/address/0x0000000000000000000000000000000000000000)
|
|
1453
|
-
* - [__View Contract on Base Sepolia Blockscout__](https://base-sepolia.blockscout.com/address/
|
|
1787
|
+
* - [__View Contract on Base Sepolia Blockscout__](https://base-sepolia.blockscout.com/address/0x919ba5579C465f721785547baC86d39d112fae0F)
|
|
1454
1788
|
*/
|
|
1455
1789
|
export declare const basememeFactoryImplAddress: {
|
|
1456
1790
|
readonly 8453: "0x0000000000000000000000000000000000000000";
|
|
1457
|
-
readonly 84532: "
|
|
1791
|
+
readonly 84532: "0x919ba5579C465f721785547baC86d39d112fae0F";
|
|
1458
1792
|
};
|
|
1459
1793
|
/**
|
|
1460
1794
|
* - [__View Contract on Base Basescan__](https://basescan.org/address/0x0000000000000000000000000000000000000000)
|
|
1461
|
-
* - [__View Contract on Base Sepolia Blockscout__](https://base-sepolia.blockscout.com/address/
|
|
1795
|
+
* - [__View Contract on Base Sepolia Blockscout__](https://base-sepolia.blockscout.com/address/0x919ba5579C465f721785547baC86d39d112fae0F)
|
|
1462
1796
|
*/
|
|
1463
1797
|
export declare const basememeFactoryImplConfig: {
|
|
1464
1798
|
readonly address: {
|
|
1465
1799
|
readonly 8453: "0x0000000000000000000000000000000000000000";
|
|
1466
|
-
readonly 84532: "
|
|
1800
|
+
readonly 84532: "0x919ba5579C465f721785547baC86d39d112fae0F";
|
|
1467
1801
|
};
|
|
1468
1802
|
readonly abi: readonly [{
|
|
1469
1803
|
readonly stateMutability: "nonpayable";
|
|
@@ -1510,6 +1844,28 @@ export declare const basememeFactoryImplConfig: {
|
|
|
1510
1844
|
}];
|
|
1511
1845
|
readonly name: "buyExactIn";
|
|
1512
1846
|
readonly outputs: readonly [];
|
|
1847
|
+
}, {
|
|
1848
|
+
readonly stateMutability: "payable";
|
|
1849
|
+
readonly type: "function";
|
|
1850
|
+
readonly inputs: readonly [{
|
|
1851
|
+
readonly name: "_token";
|
|
1852
|
+
readonly internalType: "address";
|
|
1853
|
+
readonly type: "address";
|
|
1854
|
+
}, {
|
|
1855
|
+
readonly name: "_amountOutMin";
|
|
1856
|
+
readonly internalType: "uint256";
|
|
1857
|
+
readonly type: "uint256";
|
|
1858
|
+
}, {
|
|
1859
|
+
readonly name: "_tradeReferrer";
|
|
1860
|
+
readonly internalType: "address";
|
|
1861
|
+
readonly type: "address";
|
|
1862
|
+
}, {
|
|
1863
|
+
readonly name: "_to";
|
|
1864
|
+
readonly internalType: "address";
|
|
1865
|
+
readonly type: "address";
|
|
1866
|
+
}];
|
|
1867
|
+
readonly name: "buyExactInTo";
|
|
1868
|
+
readonly outputs: readonly [];
|
|
1513
1869
|
}, {
|
|
1514
1870
|
readonly stateMutability: "payable";
|
|
1515
1871
|
readonly type: "function";
|
|
@@ -1532,6 +1888,32 @@ export declare const basememeFactoryImplConfig: {
|
|
|
1532
1888
|
}];
|
|
1533
1889
|
readonly name: "buyExactInWithCollateral";
|
|
1534
1890
|
readonly outputs: readonly [];
|
|
1891
|
+
}, {
|
|
1892
|
+
readonly stateMutability: "payable";
|
|
1893
|
+
readonly type: "function";
|
|
1894
|
+
readonly inputs: readonly [{
|
|
1895
|
+
readonly name: "_token";
|
|
1896
|
+
readonly internalType: "address";
|
|
1897
|
+
readonly type: "address";
|
|
1898
|
+
}, {
|
|
1899
|
+
readonly name: "_collateralAmountIn";
|
|
1900
|
+
readonly internalType: "uint256";
|
|
1901
|
+
readonly type: "uint256";
|
|
1902
|
+
}, {
|
|
1903
|
+
readonly name: "_amountOutMin";
|
|
1904
|
+
readonly internalType: "uint256";
|
|
1905
|
+
readonly type: "uint256";
|
|
1906
|
+
}, {
|
|
1907
|
+
readonly name: "_tradeReferrer";
|
|
1908
|
+
readonly internalType: "address";
|
|
1909
|
+
readonly type: "address";
|
|
1910
|
+
}, {
|
|
1911
|
+
readonly name: "_to";
|
|
1912
|
+
readonly internalType: "address";
|
|
1913
|
+
readonly type: "address";
|
|
1914
|
+
}];
|
|
1915
|
+
readonly name: "buyExactInWithCollateralTo";
|
|
1916
|
+
readonly outputs: readonly [];
|
|
1535
1917
|
}, {
|
|
1536
1918
|
readonly stateMutability: "payable";
|
|
1537
1919
|
readonly type: "function";
|
|
@@ -1554,6 +1936,32 @@ export declare const basememeFactoryImplConfig: {
|
|
|
1554
1936
|
}];
|
|
1555
1937
|
readonly name: "buyExactOut";
|
|
1556
1938
|
readonly outputs: readonly [];
|
|
1939
|
+
}, {
|
|
1940
|
+
readonly stateMutability: "payable";
|
|
1941
|
+
readonly type: "function";
|
|
1942
|
+
readonly inputs: readonly [{
|
|
1943
|
+
readonly name: "_token";
|
|
1944
|
+
readonly internalType: "address";
|
|
1945
|
+
readonly type: "address";
|
|
1946
|
+
}, {
|
|
1947
|
+
readonly name: "_tokenAmount";
|
|
1948
|
+
readonly internalType: "uint256";
|
|
1949
|
+
readonly type: "uint256";
|
|
1950
|
+
}, {
|
|
1951
|
+
readonly name: "_maxCollateralAmount";
|
|
1952
|
+
readonly internalType: "uint256";
|
|
1953
|
+
readonly type: "uint256";
|
|
1954
|
+
}, {
|
|
1955
|
+
readonly name: "_tradeReferrer";
|
|
1956
|
+
readonly internalType: "address";
|
|
1957
|
+
readonly type: "address";
|
|
1958
|
+
}, {
|
|
1959
|
+
readonly name: "_to";
|
|
1960
|
+
readonly internalType: "address";
|
|
1961
|
+
readonly type: "address";
|
|
1962
|
+
}];
|
|
1963
|
+
readonly name: "buyExactOutTo";
|
|
1964
|
+
readonly outputs: readonly [];
|
|
1557
1965
|
}, {
|
|
1558
1966
|
readonly stateMutability: "view";
|
|
1559
1967
|
readonly type: "function";
|
|
@@ -1574,20 +1982,6 @@ export declare const basememeFactoryImplConfig: {
|
|
|
1574
1982
|
readonly internalType: "bytes";
|
|
1575
1983
|
readonly type: "bytes";
|
|
1576
1984
|
}];
|
|
1577
|
-
}, {
|
|
1578
|
-
readonly stateMutability: "view";
|
|
1579
|
-
readonly type: "function";
|
|
1580
|
-
readonly inputs: readonly [{
|
|
1581
|
-
readonly name: "";
|
|
1582
|
-
readonly internalType: "address";
|
|
1583
|
-
readonly type: "address";
|
|
1584
|
-
}];
|
|
1585
|
-
readonly name: "collateralConfigSet";
|
|
1586
|
-
readonly outputs: readonly [{
|
|
1587
|
-
readonly name: "";
|
|
1588
|
-
readonly internalType: "bool";
|
|
1589
|
-
readonly type: "bool";
|
|
1590
|
-
}];
|
|
1591
1985
|
}, {
|
|
1592
1986
|
readonly stateMutability: "view";
|
|
1593
1987
|
readonly type: "function";
|
|
@@ -1663,6 +2057,20 @@ export declare const basememeFactoryImplConfig: {
|
|
|
1663
2057
|
readonly internalType: "uint8";
|
|
1664
2058
|
readonly type: "uint8";
|
|
1665
2059
|
}];
|
|
2060
|
+
}, {
|
|
2061
|
+
readonly stateMutability: "view";
|
|
2062
|
+
readonly type: "function";
|
|
2063
|
+
readonly inputs: readonly [{
|
|
2064
|
+
readonly name: "";
|
|
2065
|
+
readonly internalType: "address";
|
|
2066
|
+
readonly type: "address";
|
|
2067
|
+
}];
|
|
2068
|
+
readonly name: "collateralEnabled";
|
|
2069
|
+
readonly outputs: readonly [{
|
|
2070
|
+
readonly name: "";
|
|
2071
|
+
readonly internalType: "bool";
|
|
2072
|
+
readonly type: "bool";
|
|
2073
|
+
}];
|
|
1666
2074
|
}, {
|
|
1667
2075
|
readonly stateMutability: "pure";
|
|
1668
2076
|
readonly type: "function";
|
|
@@ -1999,6 +2407,20 @@ export declare const basememeFactoryImplConfig: {
|
|
|
1999
2407
|
readonly internalType: "bool";
|
|
2000
2408
|
readonly type: "bool";
|
|
2001
2409
|
}];
|
|
2410
|
+
}, {
|
|
2411
|
+
readonly stateMutability: "view";
|
|
2412
|
+
readonly type: "function";
|
|
2413
|
+
readonly inputs: readonly [{
|
|
2414
|
+
readonly name: "";
|
|
2415
|
+
readonly internalType: "address";
|
|
2416
|
+
readonly type: "address";
|
|
2417
|
+
}];
|
|
2418
|
+
readonly name: "isTrustedCaller";
|
|
2419
|
+
readonly outputs: readonly [{
|
|
2420
|
+
readonly name: "";
|
|
2421
|
+
readonly internalType: "bool";
|
|
2422
|
+
readonly type: "bool";
|
|
2423
|
+
}];
|
|
2002
2424
|
}, {
|
|
2003
2425
|
readonly stateMutability: "nonpayable";
|
|
2004
2426
|
readonly type: "function";
|
|
@@ -2093,11 +2515,15 @@ export declare const basememeFactoryImplConfig: {
|
|
|
2093
2515
|
readonly internalType: "address";
|
|
2094
2516
|
readonly type: "address";
|
|
2095
2517
|
}, {
|
|
2096
|
-
readonly name: "
|
|
2518
|
+
readonly name: "_from";
|
|
2519
|
+
readonly internalType: "address";
|
|
2520
|
+
readonly type: "address";
|
|
2521
|
+
}, {
|
|
2522
|
+
readonly name: "_tokenAmount";
|
|
2097
2523
|
readonly internalType: "uint256";
|
|
2098
2524
|
readonly type: "uint256";
|
|
2099
2525
|
}, {
|
|
2100
|
-
readonly name: "
|
|
2526
|
+
readonly name: "_amountCollateralMin";
|
|
2101
2527
|
readonly internalType: "uint256";
|
|
2102
2528
|
readonly type: "uint256";
|
|
2103
2529
|
}, {
|
|
@@ -2105,7 +2531,55 @@ export declare const basememeFactoryImplConfig: {
|
|
|
2105
2531
|
readonly internalType: "address";
|
|
2106
2532
|
readonly type: "address";
|
|
2107
2533
|
}];
|
|
2108
|
-
readonly name: "
|
|
2534
|
+
readonly name: "sellExactInFrom";
|
|
2535
|
+
readonly outputs: readonly [];
|
|
2536
|
+
}, {
|
|
2537
|
+
readonly stateMutability: "nonpayable";
|
|
2538
|
+
readonly type: "function";
|
|
2539
|
+
readonly inputs: readonly [{
|
|
2540
|
+
readonly name: "_token";
|
|
2541
|
+
readonly internalType: "address";
|
|
2542
|
+
readonly type: "address";
|
|
2543
|
+
}, {
|
|
2544
|
+
readonly name: "_tokenAmountMax";
|
|
2545
|
+
readonly internalType: "uint256";
|
|
2546
|
+
readonly type: "uint256";
|
|
2547
|
+
}, {
|
|
2548
|
+
readonly name: "_amountCollateral";
|
|
2549
|
+
readonly internalType: "uint256";
|
|
2550
|
+
readonly type: "uint256";
|
|
2551
|
+
}, {
|
|
2552
|
+
readonly name: "_tradeReferrer";
|
|
2553
|
+
readonly internalType: "address";
|
|
2554
|
+
readonly type: "address";
|
|
2555
|
+
}];
|
|
2556
|
+
readonly name: "sellExactOut";
|
|
2557
|
+
readonly outputs: readonly [];
|
|
2558
|
+
}, {
|
|
2559
|
+
readonly stateMutability: "nonpayable";
|
|
2560
|
+
readonly type: "function";
|
|
2561
|
+
readonly inputs: readonly [{
|
|
2562
|
+
readonly name: "_token";
|
|
2563
|
+
readonly internalType: "address";
|
|
2564
|
+
readonly type: "address";
|
|
2565
|
+
}, {
|
|
2566
|
+
readonly name: "_from";
|
|
2567
|
+
readonly internalType: "address";
|
|
2568
|
+
readonly type: "address";
|
|
2569
|
+
}, {
|
|
2570
|
+
readonly name: "_tokenAmountMax";
|
|
2571
|
+
readonly internalType: "uint256";
|
|
2572
|
+
readonly type: "uint256";
|
|
2573
|
+
}, {
|
|
2574
|
+
readonly name: "_amountCollateral";
|
|
2575
|
+
readonly internalType: "uint256";
|
|
2576
|
+
readonly type: "uint256";
|
|
2577
|
+
}, {
|
|
2578
|
+
readonly name: "_tradeReferrer";
|
|
2579
|
+
readonly internalType: "address";
|
|
2580
|
+
readonly type: "address";
|
|
2581
|
+
}];
|
|
2582
|
+
readonly name: "sellExactOutFrom";
|
|
2109
2583
|
readonly outputs: readonly [];
|
|
2110
2584
|
}, {
|
|
2111
2585
|
readonly stateMutability: "nonpayable";
|
|
@@ -2192,6 +2666,20 @@ export declare const basememeFactoryImplConfig: {
|
|
|
2192
2666
|
}];
|
|
2193
2667
|
readonly name: "setCollateralConfig";
|
|
2194
2668
|
readonly outputs: readonly [];
|
|
2669
|
+
}, {
|
|
2670
|
+
readonly stateMutability: "nonpayable";
|
|
2671
|
+
readonly type: "function";
|
|
2672
|
+
readonly inputs: readonly [{
|
|
2673
|
+
readonly name: "_collateralToken";
|
|
2674
|
+
readonly internalType: "address";
|
|
2675
|
+
readonly type: "address";
|
|
2676
|
+
}, {
|
|
2677
|
+
readonly name: "enabled";
|
|
2678
|
+
readonly internalType: "bool";
|
|
2679
|
+
readonly type: "bool";
|
|
2680
|
+
}];
|
|
2681
|
+
readonly name: "setCollateralEnabled";
|
|
2682
|
+
readonly outputs: readonly [];
|
|
2195
2683
|
}, {
|
|
2196
2684
|
readonly stateMutability: "nonpayable";
|
|
2197
2685
|
readonly type: "function";
|
|
@@ -2212,6 +2700,20 @@ export declare const basememeFactoryImplConfig: {
|
|
|
2212
2700
|
}];
|
|
2213
2701
|
readonly name: "setSigner";
|
|
2214
2702
|
readonly outputs: readonly [];
|
|
2703
|
+
}, {
|
|
2704
|
+
readonly stateMutability: "nonpayable";
|
|
2705
|
+
readonly type: "function";
|
|
2706
|
+
readonly inputs: readonly [{
|
|
2707
|
+
readonly name: "caller";
|
|
2708
|
+
readonly internalType: "address";
|
|
2709
|
+
readonly type: "address";
|
|
2710
|
+
}, {
|
|
2711
|
+
readonly name: "allowed";
|
|
2712
|
+
readonly internalType: "bool";
|
|
2713
|
+
readonly type: "bool";
|
|
2714
|
+
}];
|
|
2715
|
+
readonly name: "setTrustedCaller";
|
|
2716
|
+
readonly outputs: readonly [];
|
|
2215
2717
|
}, {
|
|
2216
2718
|
readonly stateMutability: "nonpayable";
|
|
2217
2719
|
readonly type: "function";
|
|
@@ -2348,6 +2850,41 @@ export declare const basememeFactoryImplConfig: {
|
|
|
2348
2850
|
readonly indexed: false;
|
|
2349
2851
|
}];
|
|
2350
2852
|
readonly name: "Buy";
|
|
2853
|
+
}, {
|
|
2854
|
+
readonly type: "event";
|
|
2855
|
+
readonly anonymous: false;
|
|
2856
|
+
readonly inputs: readonly [{
|
|
2857
|
+
readonly name: "caller";
|
|
2858
|
+
readonly internalType: "address";
|
|
2859
|
+
readonly type: "address";
|
|
2860
|
+
readonly indexed: true;
|
|
2861
|
+
}, {
|
|
2862
|
+
readonly name: "recipient";
|
|
2863
|
+
readonly internalType: "address";
|
|
2864
|
+
readonly type: "address";
|
|
2865
|
+
readonly indexed: true;
|
|
2866
|
+
}, {
|
|
2867
|
+
readonly name: "token";
|
|
2868
|
+
readonly internalType: "address";
|
|
2869
|
+
readonly type: "address";
|
|
2870
|
+
readonly indexed: true;
|
|
2871
|
+
}];
|
|
2872
|
+
readonly name: "BuyRecipient";
|
|
2873
|
+
}, {
|
|
2874
|
+
readonly type: "event";
|
|
2875
|
+
readonly anonymous: false;
|
|
2876
|
+
readonly inputs: readonly [{
|
|
2877
|
+
readonly name: "collateralToken";
|
|
2878
|
+
readonly internalType: "address";
|
|
2879
|
+
readonly type: "address";
|
|
2880
|
+
readonly indexed: true;
|
|
2881
|
+
}, {
|
|
2882
|
+
readonly name: "enabled";
|
|
2883
|
+
readonly internalType: "bool";
|
|
2884
|
+
readonly type: "bool";
|
|
2885
|
+
readonly indexed: false;
|
|
2886
|
+
}];
|
|
2887
|
+
readonly name: "CollateralEnabledUpdated";
|
|
2351
2888
|
}, {
|
|
2352
2889
|
readonly type: "event";
|
|
2353
2890
|
readonly anonymous: false;
|
|
@@ -2468,6 +3005,86 @@ export declare const basememeFactoryImplConfig: {
|
|
|
2468
3005
|
readonly indexed: false;
|
|
2469
3006
|
}];
|
|
2470
3007
|
readonly name: "NewBasememeToken";
|
|
3008
|
+
}, {
|
|
3009
|
+
readonly type: "event";
|
|
3010
|
+
readonly anonymous: false;
|
|
3011
|
+
readonly inputs: readonly [{
|
|
3012
|
+
readonly name: "addr";
|
|
3013
|
+
readonly internalType: "address";
|
|
3014
|
+
readonly type: "address";
|
|
3015
|
+
readonly indexed: true;
|
|
3016
|
+
}, {
|
|
3017
|
+
readonly name: "bondingCurve";
|
|
3018
|
+
readonly internalType: "address";
|
|
3019
|
+
readonly type: "address";
|
|
3020
|
+
readonly indexed: true;
|
|
3021
|
+
}, {
|
|
3022
|
+
readonly name: "initialTokenSupply";
|
|
3023
|
+
readonly internalType: "uint256";
|
|
3024
|
+
readonly type: "uint256";
|
|
3025
|
+
readonly indexed: false;
|
|
3026
|
+
}, {
|
|
3027
|
+
readonly name: "virtualCollateralReservesInitial";
|
|
3028
|
+
readonly internalType: "uint256";
|
|
3029
|
+
readonly type: "uint256";
|
|
3030
|
+
readonly indexed: false;
|
|
3031
|
+
}, {
|
|
3032
|
+
readonly name: "virtualTokenReservesInitial";
|
|
3033
|
+
readonly internalType: "uint256";
|
|
3034
|
+
readonly type: "uint256";
|
|
3035
|
+
readonly indexed: false;
|
|
3036
|
+
}, {
|
|
3037
|
+
readonly name: "feeBPS";
|
|
3038
|
+
readonly internalType: "uint256";
|
|
3039
|
+
readonly type: "uint256";
|
|
3040
|
+
readonly indexed: false;
|
|
3041
|
+
}, {
|
|
3042
|
+
readonly name: "mcLowerLimit";
|
|
3043
|
+
readonly internalType: "uint256";
|
|
3044
|
+
readonly type: "uint256";
|
|
3045
|
+
readonly indexed: false;
|
|
3046
|
+
}, {
|
|
3047
|
+
readonly name: "mcUpperLimit";
|
|
3048
|
+
readonly internalType: "uint256";
|
|
3049
|
+
readonly type: "uint256";
|
|
3050
|
+
readonly indexed: false;
|
|
3051
|
+
}, {
|
|
3052
|
+
readonly name: "tokensMigrationThreshold";
|
|
3053
|
+
readonly internalType: "uint256";
|
|
3054
|
+
readonly type: "uint256";
|
|
3055
|
+
readonly indexed: false;
|
|
3056
|
+
}, {
|
|
3057
|
+
readonly name: "fixedMigrationFee";
|
|
3058
|
+
readonly internalType: "uint256";
|
|
3059
|
+
readonly type: "uint256";
|
|
3060
|
+
readonly indexed: false;
|
|
3061
|
+
}, {
|
|
3062
|
+
readonly name: "poolCreationFee";
|
|
3063
|
+
readonly internalType: "uint256";
|
|
3064
|
+
readonly type: "uint256";
|
|
3065
|
+
readonly indexed: false;
|
|
3066
|
+
}, {
|
|
3067
|
+
readonly name: "firstBuyFee";
|
|
3068
|
+
readonly internalType: "uint256";
|
|
3069
|
+
readonly type: "uint256";
|
|
3070
|
+
readonly indexed: false;
|
|
3071
|
+
}, {
|
|
3072
|
+
readonly name: "targetCollectionAmount";
|
|
3073
|
+
readonly internalType: "uint256";
|
|
3074
|
+
readonly type: "uint256";
|
|
3075
|
+
readonly indexed: false;
|
|
3076
|
+
}, {
|
|
3077
|
+
readonly name: "collateralToken";
|
|
3078
|
+
readonly internalType: "address";
|
|
3079
|
+
readonly type: "address";
|
|
3080
|
+
readonly indexed: false;
|
|
3081
|
+
}, {
|
|
3082
|
+
readonly name: "v4LpFee";
|
|
3083
|
+
readonly internalType: "uint24";
|
|
3084
|
+
readonly type: "uint24";
|
|
3085
|
+
readonly indexed: false;
|
|
3086
|
+
}];
|
|
3087
|
+
readonly name: "NewBasememeTokenCurveParams";
|
|
2471
3088
|
}, {
|
|
2472
3089
|
readonly type: "event";
|
|
2473
3090
|
readonly anonymous: false;
|
|
@@ -2538,6 +3155,41 @@ export declare const basememeFactoryImplConfig: {
|
|
|
2538
3155
|
readonly indexed: false;
|
|
2539
3156
|
}];
|
|
2540
3157
|
readonly name: "Sell";
|
|
3158
|
+
}, {
|
|
3159
|
+
readonly type: "event";
|
|
3160
|
+
readonly anonymous: false;
|
|
3161
|
+
readonly inputs: readonly [{
|
|
3162
|
+
readonly name: "caller";
|
|
3163
|
+
readonly internalType: "address";
|
|
3164
|
+
readonly type: "address";
|
|
3165
|
+
readonly indexed: true;
|
|
3166
|
+
}, {
|
|
3167
|
+
readonly name: "recipient";
|
|
3168
|
+
readonly internalType: "address";
|
|
3169
|
+
readonly type: "address";
|
|
3170
|
+
readonly indexed: true;
|
|
3171
|
+
}, {
|
|
3172
|
+
readonly name: "token";
|
|
3173
|
+
readonly internalType: "address";
|
|
3174
|
+
readonly type: "address";
|
|
3175
|
+
readonly indexed: true;
|
|
3176
|
+
}];
|
|
3177
|
+
readonly name: "SellRecipient";
|
|
3178
|
+
}, {
|
|
3179
|
+
readonly type: "event";
|
|
3180
|
+
readonly anonymous: false;
|
|
3181
|
+
readonly inputs: readonly [{
|
|
3182
|
+
readonly name: "caller";
|
|
3183
|
+
readonly internalType: "address";
|
|
3184
|
+
readonly type: "address";
|
|
3185
|
+
readonly indexed: true;
|
|
3186
|
+
}, {
|
|
3187
|
+
readonly name: "allowed";
|
|
3188
|
+
readonly internalType: "bool";
|
|
3189
|
+
readonly type: "bool";
|
|
3190
|
+
readonly indexed: false;
|
|
3191
|
+
}];
|
|
3192
|
+
readonly name: "TrustedCallerUpdated";
|
|
2541
3193
|
}, {
|
|
2542
3194
|
readonly type: "event";
|
|
2543
3195
|
readonly anonymous: false;
|
|
@@ -2636,6 +3288,10 @@ export declare const basememeFactoryImplConfig: {
|
|
|
2636
3288
|
readonly type: "error";
|
|
2637
3289
|
readonly inputs: readonly [];
|
|
2638
3290
|
readonly name: "BuyExactInUnsupportedForErc20Collateral";
|
|
3291
|
+
}, {
|
|
3292
|
+
readonly type: "error";
|
|
3293
|
+
readonly inputs: readonly [];
|
|
3294
|
+
readonly name: "CollateralDisabled";
|
|
2639
3295
|
}, {
|
|
2640
3296
|
readonly type: "error";
|
|
2641
3297
|
readonly inputs: readonly [];
|
|
@@ -2732,6 +3388,10 @@ export declare const basememeFactoryImplConfig: {
|
|
|
2732
3388
|
readonly type: "error";
|
|
2733
3389
|
readonly inputs: readonly [];
|
|
2734
3390
|
readonly name: "NotReadyForMigration";
|
|
3391
|
+
}, {
|
|
3392
|
+
readonly type: "error";
|
|
3393
|
+
readonly inputs: readonly [];
|
|
3394
|
+
readonly name: "NotTrustedCaller";
|
|
2735
3395
|
}, {
|
|
2736
3396
|
readonly type: "error";
|
|
2737
3397
|
readonly inputs: readonly [{
|
|
@@ -2752,6 +3412,14 @@ export declare const basememeFactoryImplConfig: {
|
|
|
2752
3412
|
readonly type: "error";
|
|
2753
3413
|
readonly inputs: readonly [];
|
|
2754
3414
|
readonly name: "ReentrancyGuardReentrantCall";
|
|
3415
|
+
}, {
|
|
3416
|
+
readonly type: "error";
|
|
3417
|
+
readonly inputs: readonly [{
|
|
3418
|
+
readonly name: "token";
|
|
3419
|
+
readonly internalType: "address";
|
|
3420
|
+
readonly type: "address";
|
|
3421
|
+
}];
|
|
3422
|
+
readonly name: "SafeERC20FailedOperation";
|
|
2755
3423
|
}, {
|
|
2756
3424
|
readonly type: "error";
|
|
2757
3425
|
readonly inputs: readonly [];
|
|
@@ -2799,181 +3467,146 @@ export declare const basememeFactoryImplConfig: {
|
|
|
2799
3467
|
}];
|
|
2800
3468
|
};
|
|
2801
3469
|
/**
|
|
2802
|
-
*
|
|
2803
|
-
* - [__View Contract on Base Sepolia Blockscout__](https://base-sepolia.blockscout.com/address/0x0DCCB05a4FF9C97370Ce954EA4ac1D1d9330408B)
|
|
3470
|
+
* [__View Contract on Base Sepolia Blockscout__](https://base-sepolia.blockscout.com/address/0x0993F0d51aaCaa059c5cC9EF2E285660837540C9)
|
|
2804
3471
|
*/
|
|
2805
|
-
export declare const
|
|
3472
|
+
export declare const basememeFactoryTradeHelperABI: readonly [{
|
|
2806
3473
|
readonly stateMutability: "nonpayable";
|
|
2807
3474
|
readonly type: "constructor";
|
|
2808
3475
|
readonly inputs: readonly [];
|
|
3476
|
+
}, {
|
|
3477
|
+
readonly stateMutability: "payable";
|
|
3478
|
+
readonly type: "receive";
|
|
2809
3479
|
}, {
|
|
2810
3480
|
readonly stateMutability: "view";
|
|
2811
3481
|
readonly type: "function";
|
|
3482
|
+
readonly inputs: readonly [];
|
|
3483
|
+
readonly name: "UPGRADE_INTERFACE_VERSION";
|
|
3484
|
+
readonly outputs: readonly [{
|
|
3485
|
+
readonly name: "";
|
|
3486
|
+
readonly internalType: "string";
|
|
3487
|
+
readonly type: "string";
|
|
3488
|
+
}];
|
|
3489
|
+
}, {
|
|
3490
|
+
readonly stateMutability: "payable";
|
|
3491
|
+
readonly type: "function";
|
|
2812
3492
|
readonly inputs: readonly [{
|
|
2813
|
-
readonly name: "
|
|
3493
|
+
readonly name: "token";
|
|
2814
3494
|
readonly internalType: "address";
|
|
2815
3495
|
readonly type: "address";
|
|
2816
3496
|
}, {
|
|
2817
|
-
readonly name: "
|
|
3497
|
+
readonly name: "funds";
|
|
3498
|
+
readonly internalType: "uint256";
|
|
3499
|
+
readonly type: "uint256";
|
|
3500
|
+
}, {
|
|
3501
|
+
readonly name: "minTokenOut";
|
|
3502
|
+
readonly internalType: "uint256";
|
|
3503
|
+
readonly type: "uint256";
|
|
3504
|
+
}, {
|
|
3505
|
+
readonly name: "tradeReferrer";
|
|
2818
3506
|
readonly internalType: "address";
|
|
2819
3507
|
readonly type: "address";
|
|
2820
3508
|
}];
|
|
2821
|
-
readonly name: "
|
|
3509
|
+
readonly name: "buyWithEth";
|
|
2822
3510
|
readonly outputs: readonly [{
|
|
2823
|
-
readonly name: "";
|
|
3511
|
+
readonly name: "tokenOut";
|
|
3512
|
+
readonly internalType: "uint256";
|
|
3513
|
+
readonly type: "uint256";
|
|
3514
|
+
}, {
|
|
3515
|
+
readonly name: "refundOut";
|
|
2824
3516
|
readonly internalType: "uint256";
|
|
2825
3517
|
readonly type: "uint256";
|
|
2826
3518
|
}];
|
|
2827
3519
|
}, {
|
|
2828
|
-
readonly stateMutability: "
|
|
3520
|
+
readonly stateMutability: "view";
|
|
2829
3521
|
readonly type: "function";
|
|
2830
|
-
readonly inputs: readonly [
|
|
2831
|
-
|
|
2832
|
-
readonly internalType: "address";
|
|
2833
|
-
readonly type: "address";
|
|
2834
|
-
}, {
|
|
2835
|
-
readonly name: "value";
|
|
2836
|
-
readonly internalType: "uint256";
|
|
2837
|
-
readonly type: "uint256";
|
|
2838
|
-
}];
|
|
2839
|
-
readonly name: "approve";
|
|
3522
|
+
readonly inputs: readonly [];
|
|
3523
|
+
readonly name: "factory";
|
|
2840
3524
|
readonly outputs: readonly [{
|
|
2841
3525
|
readonly name: "";
|
|
2842
|
-
readonly internalType: "
|
|
2843
|
-
readonly type: "bool";
|
|
2844
|
-
}];
|
|
2845
|
-
}, {
|
|
2846
|
-
readonly stateMutability: "view";
|
|
2847
|
-
readonly type: "function";
|
|
2848
|
-
readonly inputs: readonly [{
|
|
2849
|
-
readonly name: "account";
|
|
2850
|
-
readonly internalType: "address";
|
|
3526
|
+
readonly internalType: "contract IBasememeFactoryImpl";
|
|
2851
3527
|
readonly type: "address";
|
|
2852
3528
|
}];
|
|
2853
|
-
readonly name: "balanceOf";
|
|
2854
|
-
readonly outputs: readonly [{
|
|
2855
|
-
readonly name: "";
|
|
2856
|
-
readonly internalType: "uint256";
|
|
2857
|
-
readonly type: "uint256";
|
|
2858
|
-
}];
|
|
2859
|
-
}, {
|
|
2860
|
-
readonly stateMutability: "nonpayable";
|
|
2861
|
-
readonly type: "function";
|
|
2862
|
-
readonly inputs: readonly [{
|
|
2863
|
-
readonly name: "value";
|
|
2864
|
-
readonly internalType: "uint256";
|
|
2865
|
-
readonly type: "uint256";
|
|
2866
|
-
}];
|
|
2867
|
-
readonly name: "burn";
|
|
2868
|
-
readonly outputs: readonly [];
|
|
2869
3529
|
}, {
|
|
2870
3530
|
readonly stateMutability: "nonpayable";
|
|
2871
3531
|
readonly type: "function";
|
|
2872
3532
|
readonly inputs: readonly [{
|
|
2873
|
-
readonly name: "
|
|
3533
|
+
readonly name: "owner_";
|
|
2874
3534
|
readonly internalType: "address";
|
|
2875
3535
|
readonly type: "address";
|
|
2876
3536
|
}, {
|
|
2877
|
-
readonly name: "
|
|
2878
|
-
readonly internalType: "
|
|
2879
|
-
readonly type: "
|
|
3537
|
+
readonly name: "factory_";
|
|
3538
|
+
readonly internalType: "address";
|
|
3539
|
+
readonly type: "address";
|
|
3540
|
+
}, {
|
|
3541
|
+
readonly name: "tokenSwap_";
|
|
3542
|
+
readonly internalType: "address";
|
|
3543
|
+
readonly type: "address";
|
|
2880
3544
|
}];
|
|
2881
|
-
readonly name: "
|
|
3545
|
+
readonly name: "initialize";
|
|
2882
3546
|
readonly outputs: readonly [];
|
|
2883
3547
|
}, {
|
|
2884
3548
|
readonly stateMutability: "view";
|
|
2885
3549
|
readonly type: "function";
|
|
2886
3550
|
readonly inputs: readonly [];
|
|
2887
|
-
readonly name: "
|
|
2888
|
-
readonly outputs: readonly [{
|
|
2889
|
-
readonly name: "";
|
|
2890
|
-
readonly internalType: "string";
|
|
2891
|
-
readonly type: "string";
|
|
2892
|
-
}];
|
|
2893
|
-
}, {
|
|
2894
|
-
readonly stateMutability: "pure";
|
|
2895
|
-
readonly type: "function";
|
|
2896
|
-
readonly inputs: readonly [];
|
|
2897
|
-
readonly name: "contractVersion";
|
|
3551
|
+
readonly name: "owner";
|
|
2898
3552
|
readonly outputs: readonly [{
|
|
2899
3553
|
readonly name: "";
|
|
2900
|
-
readonly internalType: "
|
|
2901
|
-
readonly type: "
|
|
3554
|
+
readonly internalType: "address";
|
|
3555
|
+
readonly type: "address";
|
|
2902
3556
|
}];
|
|
2903
3557
|
}, {
|
|
2904
3558
|
readonly stateMutability: "view";
|
|
2905
3559
|
readonly type: "function";
|
|
2906
3560
|
readonly inputs: readonly [];
|
|
2907
|
-
readonly name: "
|
|
3561
|
+
readonly name: "proxiableUUID";
|
|
2908
3562
|
readonly outputs: readonly [{
|
|
2909
3563
|
readonly name: "";
|
|
2910
|
-
readonly internalType: "
|
|
2911
|
-
readonly type: "
|
|
3564
|
+
readonly internalType: "bytes32";
|
|
3565
|
+
readonly type: "bytes32";
|
|
2912
3566
|
}];
|
|
2913
3567
|
}, {
|
|
2914
|
-
readonly stateMutability: "
|
|
3568
|
+
readonly stateMutability: "nonpayable";
|
|
2915
3569
|
readonly type: "function";
|
|
2916
|
-
readonly inputs: readonly [
|
|
2917
|
-
|
|
3570
|
+
readonly inputs: readonly [{
|
|
3571
|
+
readonly name: "token";
|
|
3572
|
+
readonly internalType: "address";
|
|
3573
|
+
readonly type: "address";
|
|
3574
|
+
}, {
|
|
3575
|
+
readonly name: "collateralIn";
|
|
3576
|
+
readonly internalType: "uint256";
|
|
3577
|
+
readonly type: "uint256";
|
|
3578
|
+
}];
|
|
3579
|
+
readonly name: "quoteCollateralToEthForToken";
|
|
2918
3580
|
readonly outputs: readonly [{
|
|
2919
|
-
readonly name: "";
|
|
3581
|
+
readonly name: "collateralToken";
|
|
2920
3582
|
readonly internalType: "address";
|
|
2921
3583
|
readonly type: "address";
|
|
3584
|
+
}, {
|
|
3585
|
+
readonly name: "ethOut";
|
|
3586
|
+
readonly internalType: "uint256";
|
|
3587
|
+
readonly type: "uint256";
|
|
2922
3588
|
}];
|
|
2923
3589
|
}, {
|
|
2924
3590
|
readonly stateMutability: "nonpayable";
|
|
2925
3591
|
readonly type: "function";
|
|
2926
3592
|
readonly inputs: readonly [{
|
|
2927
|
-
readonly name: "
|
|
2928
|
-
readonly internalType: "
|
|
2929
|
-
readonly type: "
|
|
2930
|
-
|
|
2931
|
-
|
|
2932
|
-
|
|
2933
|
-
|
|
2934
|
-
}, {
|
|
2935
|
-
readonly name: "symbol";
|
|
2936
|
-
readonly internalType: "string";
|
|
2937
|
-
readonly type: "string";
|
|
2938
|
-
}, {
|
|
2939
|
-
readonly name: "tokenURI";
|
|
2940
|
-
readonly internalType: "string";
|
|
2941
|
-
readonly type: "string";
|
|
2942
|
-
}, {
|
|
2943
|
-
readonly name: "factory";
|
|
2944
|
-
readonly internalType: "address";
|
|
2945
|
-
readonly type: "address";
|
|
2946
|
-
}, {
|
|
2947
|
-
readonly name: "bondingCurve";
|
|
2948
|
-
readonly internalType: "address";
|
|
2949
|
-
readonly type: "address";
|
|
2950
|
-
}, {
|
|
2951
|
-
readonly name: "initialTokenSupply";
|
|
2952
|
-
readonly internalType: "uint256";
|
|
2953
|
-
readonly type: "uint256";
|
|
2954
|
-
}];
|
|
2955
|
-
}];
|
|
2956
|
-
readonly name: "initialize";
|
|
2957
|
-
readonly outputs: readonly [];
|
|
2958
|
-
}, {
|
|
2959
|
-
readonly stateMutability: "view";
|
|
2960
|
-
readonly type: "function";
|
|
2961
|
-
readonly inputs: readonly [];
|
|
2962
|
-
readonly name: "name";
|
|
2963
|
-
readonly outputs: readonly [{
|
|
2964
|
-
readonly name: "";
|
|
2965
|
-
readonly internalType: "string";
|
|
2966
|
-
readonly type: "string";
|
|
3593
|
+
readonly name: "token";
|
|
3594
|
+
readonly internalType: "address";
|
|
3595
|
+
readonly type: "address";
|
|
3596
|
+
}, {
|
|
3597
|
+
readonly name: "ethIn";
|
|
3598
|
+
readonly internalType: "uint256";
|
|
3599
|
+
readonly type: "uint256";
|
|
2967
3600
|
}];
|
|
2968
|
-
|
|
2969
|
-
readonly stateMutability: "view";
|
|
2970
|
-
readonly type: "function";
|
|
2971
|
-
readonly inputs: readonly [];
|
|
2972
|
-
readonly name: "owner";
|
|
3601
|
+
readonly name: "quoteEthToCollateralForToken";
|
|
2973
3602
|
readonly outputs: readonly [{
|
|
2974
|
-
readonly name: "";
|
|
3603
|
+
readonly name: "collateralToken";
|
|
2975
3604
|
readonly internalType: "address";
|
|
2976
3605
|
readonly type: "address";
|
|
3606
|
+
}, {
|
|
3607
|
+
readonly name: "collateralOut";
|
|
3608
|
+
readonly internalType: "uint256";
|
|
3609
|
+
readonly type: "uint256";
|
|
2977
3610
|
}];
|
|
2978
3611
|
}, {
|
|
2979
3612
|
readonly stateMutability: "nonpayable";
|
|
@@ -2985,105 +3618,47 @@ export declare const basememeTokenABI: readonly [{
|
|
|
2985
3618
|
readonly stateMutability: "nonpayable";
|
|
2986
3619
|
readonly type: "function";
|
|
2987
3620
|
readonly inputs: readonly [{
|
|
2988
|
-
readonly name: "
|
|
2989
|
-
readonly internalType: "enum IBasememeToken.TransferMode";
|
|
2990
|
-
readonly type: "uint8";
|
|
2991
|
-
}];
|
|
2992
|
-
readonly name: "setTransferMode";
|
|
2993
|
-
readonly outputs: readonly [];
|
|
2994
|
-
}, {
|
|
2995
|
-
readonly stateMutability: "pure";
|
|
2996
|
-
readonly type: "function";
|
|
2997
|
-
readonly inputs: readonly [{
|
|
2998
|
-
readonly name: "interfaceId";
|
|
2999
|
-
readonly internalType: "bytes4";
|
|
3000
|
-
readonly type: "bytes4";
|
|
3001
|
-
}];
|
|
3002
|
-
readonly name: "supportsInterface";
|
|
3003
|
-
readonly outputs: readonly [{
|
|
3004
|
-
readonly name: "";
|
|
3005
|
-
readonly internalType: "bool";
|
|
3006
|
-
readonly type: "bool";
|
|
3007
|
-
}];
|
|
3008
|
-
}, {
|
|
3009
|
-
readonly stateMutability: "view";
|
|
3010
|
-
readonly type: "function";
|
|
3011
|
-
readonly inputs: readonly [];
|
|
3012
|
-
readonly name: "symbol";
|
|
3013
|
-
readonly outputs: readonly [{
|
|
3014
|
-
readonly name: "";
|
|
3015
|
-
readonly internalType: "string";
|
|
3016
|
-
readonly type: "string";
|
|
3017
|
-
}];
|
|
3018
|
-
}, {
|
|
3019
|
-
readonly stateMutability: "view";
|
|
3020
|
-
readonly type: "function";
|
|
3021
|
-
readonly inputs: readonly [];
|
|
3022
|
-
readonly name: "tokenURI";
|
|
3023
|
-
readonly outputs: readonly [{
|
|
3024
|
-
readonly name: "";
|
|
3025
|
-
readonly internalType: "string";
|
|
3026
|
-
readonly type: "string";
|
|
3027
|
-
}];
|
|
3028
|
-
}, {
|
|
3029
|
-
readonly stateMutability: "view";
|
|
3030
|
-
readonly type: "function";
|
|
3031
|
-
readonly inputs: readonly [];
|
|
3032
|
-
readonly name: "totalSupply";
|
|
3033
|
-
readonly outputs: readonly [{
|
|
3034
|
-
readonly name: "";
|
|
3035
|
-
readonly internalType: "uint256";
|
|
3036
|
-
readonly type: "uint256";
|
|
3037
|
-
}];
|
|
3038
|
-
}, {
|
|
3039
|
-
readonly stateMutability: "nonpayable";
|
|
3040
|
-
readonly type: "function";
|
|
3041
|
-
readonly inputs: readonly [{
|
|
3042
|
-
readonly name: "to";
|
|
3621
|
+
readonly name: "token";
|
|
3043
3622
|
readonly internalType: "address";
|
|
3044
3623
|
readonly type: "address";
|
|
3045
3624
|
}, {
|
|
3046
|
-
readonly name: "
|
|
3625
|
+
readonly name: "tokenAmountIn";
|
|
3626
|
+
readonly internalType: "uint256";
|
|
3627
|
+
readonly type: "uint256";
|
|
3628
|
+
}, {
|
|
3629
|
+
readonly name: "minEthOut";
|
|
3047
3630
|
readonly internalType: "uint256";
|
|
3048
3631
|
readonly type: "uint256";
|
|
3632
|
+
}, {
|
|
3633
|
+
readonly name: "tradeReferrer";
|
|
3634
|
+
readonly internalType: "address";
|
|
3635
|
+
readonly type: "address";
|
|
3049
3636
|
}];
|
|
3050
|
-
readonly name: "
|
|
3637
|
+
readonly name: "sellForEth";
|
|
3051
3638
|
readonly outputs: readonly [{
|
|
3052
|
-
readonly name: "";
|
|
3053
|
-
readonly internalType: "
|
|
3054
|
-
readonly type: "
|
|
3639
|
+
readonly name: "ethOut";
|
|
3640
|
+
readonly internalType: "uint256";
|
|
3641
|
+
readonly type: "uint256";
|
|
3055
3642
|
}];
|
|
3056
3643
|
}, {
|
|
3057
3644
|
readonly stateMutability: "nonpayable";
|
|
3058
3645
|
readonly type: "function";
|
|
3059
3646
|
readonly inputs: readonly [{
|
|
3060
|
-
readonly name: "
|
|
3061
|
-
readonly internalType: "address";
|
|
3062
|
-
readonly type: "address";
|
|
3063
|
-
}, {
|
|
3064
|
-
readonly name: "to";
|
|
3647
|
+
readonly name: "tokenSwap_";
|
|
3065
3648
|
readonly internalType: "address";
|
|
3066
3649
|
readonly type: "address";
|
|
3067
|
-
}, {
|
|
3068
|
-
readonly name: "value";
|
|
3069
|
-
readonly internalType: "uint256";
|
|
3070
|
-
readonly type: "uint256";
|
|
3071
|
-
}];
|
|
3072
|
-
readonly name: "transferFrom";
|
|
3073
|
-
readonly outputs: readonly [{
|
|
3074
|
-
readonly name: "";
|
|
3075
|
-
readonly internalType: "bool";
|
|
3076
|
-
readonly type: "bool";
|
|
3077
3650
|
}];
|
|
3651
|
+
readonly name: "setTokenSwap";
|
|
3652
|
+
readonly outputs: readonly [];
|
|
3078
3653
|
}, {
|
|
3079
3654
|
readonly stateMutability: "view";
|
|
3080
3655
|
readonly type: "function";
|
|
3081
3656
|
readonly inputs: readonly [];
|
|
3082
|
-
readonly name: "
|
|
3657
|
+
readonly name: "tokenSwap";
|
|
3083
3658
|
readonly outputs: readonly [{
|
|
3084
3659
|
readonly name: "";
|
|
3085
|
-
readonly internalType: "
|
|
3086
|
-
readonly type: "
|
|
3660
|
+
readonly internalType: "contract IBasememeTokenSwap";
|
|
3661
|
+
readonly type: "address";
|
|
3087
3662
|
}];
|
|
3088
3663
|
}, {
|
|
3089
3664
|
readonly stateMutability: "nonpayable";
|
|
@@ -3095,31 +3670,70 @@ export declare const basememeTokenABI: readonly [{
|
|
|
3095
3670
|
}];
|
|
3096
3671
|
readonly name: "transferOwnership";
|
|
3097
3672
|
readonly outputs: readonly [];
|
|
3673
|
+
}, {
|
|
3674
|
+
readonly stateMutability: "payable";
|
|
3675
|
+
readonly type: "function";
|
|
3676
|
+
readonly inputs: readonly [{
|
|
3677
|
+
readonly name: "newImplementation";
|
|
3678
|
+
readonly internalType: "address";
|
|
3679
|
+
readonly type: "address";
|
|
3680
|
+
}, {
|
|
3681
|
+
readonly name: "data";
|
|
3682
|
+
readonly internalType: "bytes";
|
|
3683
|
+
readonly type: "bytes";
|
|
3684
|
+
}];
|
|
3685
|
+
readonly name: "upgradeToAndCall";
|
|
3686
|
+
readonly outputs: readonly [];
|
|
3098
3687
|
}, {
|
|
3099
3688
|
readonly type: "event";
|
|
3100
3689
|
readonly anonymous: false;
|
|
3101
3690
|
readonly inputs: readonly [{
|
|
3102
|
-
readonly name: "
|
|
3691
|
+
readonly name: "caller";
|
|
3103
3692
|
readonly internalType: "address";
|
|
3104
3693
|
readonly type: "address";
|
|
3105
3694
|
readonly indexed: true;
|
|
3106
3695
|
}, {
|
|
3107
|
-
readonly name: "
|
|
3696
|
+
readonly name: "token";
|
|
3108
3697
|
readonly internalType: "address";
|
|
3109
3698
|
readonly type: "address";
|
|
3110
3699
|
readonly indexed: true;
|
|
3111
3700
|
}, {
|
|
3112
|
-
readonly name: "
|
|
3701
|
+
readonly name: "recipient";
|
|
3702
|
+
readonly internalType: "address";
|
|
3703
|
+
readonly type: "address";
|
|
3704
|
+
readonly indexed: true;
|
|
3705
|
+
}, {
|
|
3706
|
+
readonly name: "fundsIn";
|
|
3113
3707
|
readonly internalType: "uint256";
|
|
3114
3708
|
readonly type: "uint256";
|
|
3115
3709
|
readonly indexed: false;
|
|
3116
|
-
}
|
|
3117
|
-
|
|
3118
|
-
|
|
3119
|
-
|
|
3120
|
-
|
|
3121
|
-
|
|
3122
|
-
|
|
3710
|
+
}, {
|
|
3711
|
+
readonly name: "minTokenOut";
|
|
3712
|
+
readonly internalType: "uint256";
|
|
3713
|
+
readonly type: "uint256";
|
|
3714
|
+
readonly indexed: false;
|
|
3715
|
+
}, {
|
|
3716
|
+
readonly name: "tradeReferrer";
|
|
3717
|
+
readonly internalType: "address";
|
|
3718
|
+
readonly type: "address";
|
|
3719
|
+
readonly indexed: false;
|
|
3720
|
+
}, {
|
|
3721
|
+
readonly name: "collateralToken";
|
|
3722
|
+
readonly internalType: "address";
|
|
3723
|
+
readonly type: "address";
|
|
3724
|
+
readonly indexed: false;
|
|
3725
|
+
}, {
|
|
3726
|
+
readonly name: "tokenOut";
|
|
3727
|
+
readonly internalType: "uint256";
|
|
3728
|
+
readonly type: "uint256";
|
|
3729
|
+
readonly indexed: false;
|
|
3730
|
+
}, {
|
|
3731
|
+
readonly name: "refundOut";
|
|
3732
|
+
readonly internalType: "uint256";
|
|
3733
|
+
readonly type: "uint256";
|
|
3734
|
+
readonly indexed: false;
|
|
3735
|
+
}];
|
|
3736
|
+
readonly name: "BuyWithEth";
|
|
3123
3737
|
}, {
|
|
3124
3738
|
readonly type: "event";
|
|
3125
3739
|
readonly anonymous: false;
|
|
@@ -3149,116 +3763,102 @@ export declare const basememeTokenABI: readonly [{
|
|
|
3149
3763
|
readonly type: "event";
|
|
3150
3764
|
readonly anonymous: false;
|
|
3151
3765
|
readonly inputs: readonly [{
|
|
3152
|
-
readonly name: "
|
|
3766
|
+
readonly name: "caller";
|
|
3153
3767
|
readonly internalType: "address";
|
|
3154
3768
|
readonly type: "address";
|
|
3155
3769
|
readonly indexed: true;
|
|
3156
3770
|
}, {
|
|
3157
|
-
readonly name: "
|
|
3771
|
+
readonly name: "token";
|
|
3158
3772
|
readonly internalType: "address";
|
|
3159
3773
|
readonly type: "address";
|
|
3160
3774
|
readonly indexed: true;
|
|
3161
3775
|
}, {
|
|
3162
|
-
readonly name: "
|
|
3163
|
-
readonly internalType: "
|
|
3164
|
-
readonly type: "
|
|
3776
|
+
readonly name: "from";
|
|
3777
|
+
readonly internalType: "address";
|
|
3778
|
+
readonly type: "address";
|
|
3165
3779
|
readonly indexed: false;
|
|
3166
3780
|
}, {
|
|
3167
|
-
readonly name: "
|
|
3781
|
+
readonly name: "tokenIn";
|
|
3168
3782
|
readonly internalType: "uint256";
|
|
3169
3783
|
readonly type: "uint256";
|
|
3170
3784
|
readonly indexed: false;
|
|
3171
3785
|
}, {
|
|
3172
|
-
readonly name: "
|
|
3786
|
+
readonly name: "minEthOut";
|
|
3173
3787
|
readonly internalType: "uint256";
|
|
3174
3788
|
readonly type: "uint256";
|
|
3175
3789
|
readonly indexed: false;
|
|
3176
|
-
}];
|
|
3177
|
-
readonly name: "TokensTransferred";
|
|
3178
|
-
}, {
|
|
3179
|
-
readonly type: "event";
|
|
3180
|
-
readonly anonymous: false;
|
|
3181
|
-
readonly inputs: readonly [{
|
|
3182
|
-
readonly name: "from";
|
|
3183
|
-
readonly internalType: "address";
|
|
3184
|
-
readonly type: "address";
|
|
3185
|
-
readonly indexed: true;
|
|
3186
3790
|
}, {
|
|
3187
|
-
readonly name: "
|
|
3791
|
+
readonly name: "tradeReferrer";
|
|
3188
3792
|
readonly internalType: "address";
|
|
3189
3793
|
readonly type: "address";
|
|
3190
|
-
readonly indexed: true;
|
|
3191
|
-
}, {
|
|
3192
|
-
readonly name: "value";
|
|
3193
|
-
readonly internalType: "uint256";
|
|
3194
|
-
readonly type: "uint256";
|
|
3195
3794
|
readonly indexed: false;
|
|
3196
|
-
}
|
|
3197
|
-
|
|
3198
|
-
}, {
|
|
3199
|
-
readonly type: "error";
|
|
3200
|
-
readonly inputs: readonly [{
|
|
3201
|
-
readonly name: "spender";
|
|
3795
|
+
}, {
|
|
3796
|
+
readonly name: "collateralToken";
|
|
3202
3797
|
readonly internalType: "address";
|
|
3203
3798
|
readonly type: "address";
|
|
3799
|
+
readonly indexed: false;
|
|
3204
3800
|
}, {
|
|
3205
|
-
readonly name: "
|
|
3801
|
+
readonly name: "collateralOut";
|
|
3206
3802
|
readonly internalType: "uint256";
|
|
3207
3803
|
readonly type: "uint256";
|
|
3804
|
+
readonly indexed: false;
|
|
3208
3805
|
}, {
|
|
3209
|
-
readonly name: "
|
|
3806
|
+
readonly name: "ethOut";
|
|
3210
3807
|
readonly internalType: "uint256";
|
|
3211
3808
|
readonly type: "uint256";
|
|
3809
|
+
readonly indexed: false;
|
|
3212
3810
|
}];
|
|
3213
|
-
readonly name: "
|
|
3811
|
+
readonly name: "SellForEth";
|
|
3214
3812
|
}, {
|
|
3215
|
-
readonly type: "
|
|
3813
|
+
readonly type: "event";
|
|
3814
|
+
readonly anonymous: false;
|
|
3216
3815
|
readonly inputs: readonly [{
|
|
3217
|
-
readonly name: "
|
|
3816
|
+
readonly name: "implementation";
|
|
3218
3817
|
readonly internalType: "address";
|
|
3219
3818
|
readonly type: "address";
|
|
3220
|
-
|
|
3221
|
-
readonly name: "balance";
|
|
3222
|
-
readonly internalType: "uint256";
|
|
3223
|
-
readonly type: "uint256";
|
|
3224
|
-
}, {
|
|
3225
|
-
readonly name: "needed";
|
|
3226
|
-
readonly internalType: "uint256";
|
|
3227
|
-
readonly type: "uint256";
|
|
3819
|
+
readonly indexed: true;
|
|
3228
3820
|
}];
|
|
3229
|
-
readonly name: "
|
|
3821
|
+
readonly name: "Upgraded";
|
|
3230
3822
|
}, {
|
|
3231
3823
|
readonly type: "error";
|
|
3232
3824
|
readonly inputs: readonly [{
|
|
3233
|
-
readonly name: "
|
|
3825
|
+
readonly name: "target";
|
|
3234
3826
|
readonly internalType: "address";
|
|
3235
3827
|
readonly type: "address";
|
|
3236
3828
|
}];
|
|
3237
|
-
readonly name: "
|
|
3829
|
+
readonly name: "AddressEmptyCode";
|
|
3238
3830
|
}, {
|
|
3239
3831
|
readonly type: "error";
|
|
3240
3832
|
readonly inputs: readonly [{
|
|
3241
|
-
readonly name: "
|
|
3833
|
+
readonly name: "implementation";
|
|
3242
3834
|
readonly internalType: "address";
|
|
3243
3835
|
readonly type: "address";
|
|
3244
3836
|
}];
|
|
3245
|
-
readonly name: "
|
|
3837
|
+
readonly name: "ERC1967InvalidImplementation";
|
|
3246
3838
|
}, {
|
|
3247
3839
|
readonly type: "error";
|
|
3248
|
-
readonly inputs: readonly [
|
|
3249
|
-
|
|
3250
|
-
|
|
3251
|
-
|
|
3252
|
-
|
|
3253
|
-
readonly name: "
|
|
3840
|
+
readonly inputs: readonly [];
|
|
3841
|
+
readonly name: "ERC1967NonPayable";
|
|
3842
|
+
}, {
|
|
3843
|
+
readonly type: "error";
|
|
3844
|
+
readonly inputs: readonly [];
|
|
3845
|
+
readonly name: "FailedCall";
|
|
3254
3846
|
}, {
|
|
3255
3847
|
readonly type: "error";
|
|
3256
3848
|
readonly inputs: readonly [{
|
|
3257
|
-
readonly name: "
|
|
3258
|
-
readonly internalType: "
|
|
3259
|
-
readonly type: "
|
|
3849
|
+
readonly name: "balance";
|
|
3850
|
+
readonly internalType: "uint256";
|
|
3851
|
+
readonly type: "uint256";
|
|
3852
|
+
}, {
|
|
3853
|
+
readonly name: "needed";
|
|
3854
|
+
readonly internalType: "uint256";
|
|
3855
|
+
readonly type: "uint256";
|
|
3260
3856
|
}];
|
|
3261
|
-
readonly name: "
|
|
3857
|
+
readonly name: "InsufficientBalance";
|
|
3858
|
+
}, {
|
|
3859
|
+
readonly type: "error";
|
|
3860
|
+
readonly inputs: readonly [];
|
|
3861
|
+
readonly name: "InvalidFunds";
|
|
3262
3862
|
}, {
|
|
3263
3863
|
readonly type: "error";
|
|
3264
3864
|
readonly inputs: readonly [];
|
|
@@ -3286,80 +3886,155 @@ export declare const basememeTokenABI: readonly [{
|
|
|
3286
3886
|
}, {
|
|
3287
3887
|
readonly type: "error";
|
|
3288
3888
|
readonly inputs: readonly [];
|
|
3289
|
-
readonly name: "
|
|
3889
|
+
readonly name: "ReentrancyGuardReentrantCall";
|
|
3890
|
+
}, {
|
|
3891
|
+
readonly type: "error";
|
|
3892
|
+
readonly inputs: readonly [{
|
|
3893
|
+
readonly name: "token";
|
|
3894
|
+
readonly internalType: "address";
|
|
3895
|
+
readonly type: "address";
|
|
3896
|
+
}];
|
|
3897
|
+
readonly name: "SafeERC20FailedOperation";
|
|
3290
3898
|
}, {
|
|
3291
3899
|
readonly type: "error";
|
|
3292
3900
|
readonly inputs: readonly [];
|
|
3293
|
-
readonly name: "
|
|
3901
|
+
readonly name: "UUPSUnauthorizedCallContext";
|
|
3902
|
+
}, {
|
|
3903
|
+
readonly type: "error";
|
|
3904
|
+
readonly inputs: readonly [{
|
|
3905
|
+
readonly name: "slot";
|
|
3906
|
+
readonly internalType: "bytes32";
|
|
3907
|
+
readonly type: "bytes32";
|
|
3908
|
+
}];
|
|
3909
|
+
readonly name: "UUPSUnsupportedProxiableUUID";
|
|
3294
3910
|
}];
|
|
3295
3911
|
/**
|
|
3296
|
-
*
|
|
3297
|
-
* - [__View Contract on Base Sepolia Blockscout__](https://base-sepolia.blockscout.com/address/0x0DCCB05a4FF9C97370Ce954EA4ac1D1d9330408B)
|
|
3912
|
+
* [__View Contract on Base Sepolia Blockscout__](https://base-sepolia.blockscout.com/address/0x0993F0d51aaCaa059c5cC9EF2E285660837540C9)
|
|
3298
3913
|
*/
|
|
3299
|
-
export declare const
|
|
3300
|
-
readonly
|
|
3301
|
-
readonly 84532: "0x0DCCB05a4FF9C97370Ce954EA4ac1D1d9330408B";
|
|
3914
|
+
export declare const basememeFactoryTradeHelperAddress: {
|
|
3915
|
+
readonly 84532: "0x0993F0d51aaCaa059c5cC9EF2E285660837540C9";
|
|
3302
3916
|
};
|
|
3303
3917
|
/**
|
|
3304
|
-
*
|
|
3305
|
-
* - [__View Contract on Base Sepolia Blockscout__](https://base-sepolia.blockscout.com/address/0x0DCCB05a4FF9C97370Ce954EA4ac1D1d9330408B)
|
|
3918
|
+
* [__View Contract on Base Sepolia Blockscout__](https://base-sepolia.blockscout.com/address/0x0993F0d51aaCaa059c5cC9EF2E285660837540C9)
|
|
3306
3919
|
*/
|
|
3307
|
-
export declare const
|
|
3920
|
+
export declare const basememeFactoryTradeHelperConfig: {
|
|
3308
3921
|
readonly address: {
|
|
3309
|
-
readonly
|
|
3310
|
-
readonly 84532: "0x0DCCB05a4FF9C97370Ce954EA4ac1D1d9330408B";
|
|
3922
|
+
readonly 84532: "0x0993F0d51aaCaa059c5cC9EF2E285660837540C9";
|
|
3311
3923
|
};
|
|
3312
3924
|
readonly abi: readonly [{
|
|
3313
3925
|
readonly stateMutability: "nonpayable";
|
|
3314
3926
|
readonly type: "constructor";
|
|
3315
3927
|
readonly inputs: readonly [];
|
|
3928
|
+
}, {
|
|
3929
|
+
readonly stateMutability: "payable";
|
|
3930
|
+
readonly type: "receive";
|
|
3316
3931
|
}, {
|
|
3317
3932
|
readonly stateMutability: "view";
|
|
3318
3933
|
readonly type: "function";
|
|
3934
|
+
readonly inputs: readonly [];
|
|
3935
|
+
readonly name: "UPGRADE_INTERFACE_VERSION";
|
|
3936
|
+
readonly outputs: readonly [{
|
|
3937
|
+
readonly name: "";
|
|
3938
|
+
readonly internalType: "string";
|
|
3939
|
+
readonly type: "string";
|
|
3940
|
+
}];
|
|
3941
|
+
}, {
|
|
3942
|
+
readonly stateMutability: "payable";
|
|
3943
|
+
readonly type: "function";
|
|
3319
3944
|
readonly inputs: readonly [{
|
|
3320
|
-
readonly name: "
|
|
3945
|
+
readonly name: "token";
|
|
3321
3946
|
readonly internalType: "address";
|
|
3322
3947
|
readonly type: "address";
|
|
3323
3948
|
}, {
|
|
3324
|
-
readonly name: "
|
|
3949
|
+
readonly name: "funds";
|
|
3950
|
+
readonly internalType: "uint256";
|
|
3951
|
+
readonly type: "uint256";
|
|
3952
|
+
}, {
|
|
3953
|
+
readonly name: "minTokenOut";
|
|
3954
|
+
readonly internalType: "uint256";
|
|
3955
|
+
readonly type: "uint256";
|
|
3956
|
+
}, {
|
|
3957
|
+
readonly name: "tradeReferrer";
|
|
3325
3958
|
readonly internalType: "address";
|
|
3326
3959
|
readonly type: "address";
|
|
3327
3960
|
}];
|
|
3328
|
-
readonly name: "
|
|
3961
|
+
readonly name: "buyWithEth";
|
|
3329
3962
|
readonly outputs: readonly [{
|
|
3330
|
-
readonly name: "";
|
|
3963
|
+
readonly name: "tokenOut";
|
|
3331
3964
|
readonly internalType: "uint256";
|
|
3332
3965
|
readonly type: "uint256";
|
|
3966
|
+
}, {
|
|
3967
|
+
readonly name: "refundOut";
|
|
3968
|
+
readonly internalType: "uint256";
|
|
3969
|
+
readonly type: "uint256";
|
|
3970
|
+
}];
|
|
3971
|
+
}, {
|
|
3972
|
+
readonly stateMutability: "view";
|
|
3973
|
+
readonly type: "function";
|
|
3974
|
+
readonly inputs: readonly [];
|
|
3975
|
+
readonly name: "factory";
|
|
3976
|
+
readonly outputs: readonly [{
|
|
3977
|
+
readonly name: "";
|
|
3978
|
+
readonly internalType: "contract IBasememeFactoryImpl";
|
|
3979
|
+
readonly type: "address";
|
|
3333
3980
|
}];
|
|
3334
3981
|
}, {
|
|
3335
3982
|
readonly stateMutability: "nonpayable";
|
|
3336
3983
|
readonly type: "function";
|
|
3337
3984
|
readonly inputs: readonly [{
|
|
3338
|
-
readonly name: "
|
|
3985
|
+
readonly name: "owner_";
|
|
3339
3986
|
readonly internalType: "address";
|
|
3340
3987
|
readonly type: "address";
|
|
3341
3988
|
}, {
|
|
3342
|
-
readonly name: "
|
|
3343
|
-
readonly internalType: "
|
|
3344
|
-
readonly type: "
|
|
3989
|
+
readonly name: "factory_";
|
|
3990
|
+
readonly internalType: "address";
|
|
3991
|
+
readonly type: "address";
|
|
3992
|
+
}, {
|
|
3993
|
+
readonly name: "tokenSwap_";
|
|
3994
|
+
readonly internalType: "address";
|
|
3995
|
+
readonly type: "address";
|
|
3345
3996
|
}];
|
|
3346
|
-
readonly name: "
|
|
3997
|
+
readonly name: "initialize";
|
|
3998
|
+
readonly outputs: readonly [];
|
|
3999
|
+
}, {
|
|
4000
|
+
readonly stateMutability: "view";
|
|
4001
|
+
readonly type: "function";
|
|
4002
|
+
readonly inputs: readonly [];
|
|
4003
|
+
readonly name: "owner";
|
|
3347
4004
|
readonly outputs: readonly [{
|
|
3348
4005
|
readonly name: "";
|
|
3349
|
-
readonly internalType: "
|
|
3350
|
-
readonly type: "
|
|
4006
|
+
readonly internalType: "address";
|
|
4007
|
+
readonly type: "address";
|
|
3351
4008
|
}];
|
|
3352
4009
|
}, {
|
|
3353
4010
|
readonly stateMutability: "view";
|
|
3354
4011
|
readonly type: "function";
|
|
4012
|
+
readonly inputs: readonly [];
|
|
4013
|
+
readonly name: "proxiableUUID";
|
|
4014
|
+
readonly outputs: readonly [{
|
|
4015
|
+
readonly name: "";
|
|
4016
|
+
readonly internalType: "bytes32";
|
|
4017
|
+
readonly type: "bytes32";
|
|
4018
|
+
}];
|
|
4019
|
+
}, {
|
|
4020
|
+
readonly stateMutability: "nonpayable";
|
|
4021
|
+
readonly type: "function";
|
|
3355
4022
|
readonly inputs: readonly [{
|
|
3356
|
-
readonly name: "
|
|
4023
|
+
readonly name: "token";
|
|
3357
4024
|
readonly internalType: "address";
|
|
3358
4025
|
readonly type: "address";
|
|
4026
|
+
}, {
|
|
4027
|
+
readonly name: "collateralIn";
|
|
4028
|
+
readonly internalType: "uint256";
|
|
4029
|
+
readonly type: "uint256";
|
|
3359
4030
|
}];
|
|
3360
|
-
readonly name: "
|
|
4031
|
+
readonly name: "quoteCollateralToEthForToken";
|
|
3361
4032
|
readonly outputs: readonly [{
|
|
3362
|
-
readonly name: "";
|
|
4033
|
+
readonly name: "collateralToken";
|
|
4034
|
+
readonly internalType: "address";
|
|
4035
|
+
readonly type: "address";
|
|
4036
|
+
}, {
|
|
4037
|
+
readonly name: "ethOut";
|
|
3363
4038
|
readonly internalType: "uint256";
|
|
3364
4039
|
readonly type: "uint256";
|
|
3365
4040
|
}];
|
|
@@ -3367,98 +4042,2140 @@ export declare const basememeTokenConfig: {
|
|
|
3367
4042
|
readonly stateMutability: "nonpayable";
|
|
3368
4043
|
readonly type: "function";
|
|
3369
4044
|
readonly inputs: readonly [{
|
|
3370
|
-
readonly name: "
|
|
4045
|
+
readonly name: "token";
|
|
4046
|
+
readonly internalType: "address";
|
|
4047
|
+
readonly type: "address";
|
|
4048
|
+
}, {
|
|
4049
|
+
readonly name: "ethIn";
|
|
3371
4050
|
readonly internalType: "uint256";
|
|
3372
4051
|
readonly type: "uint256";
|
|
3373
4052
|
}];
|
|
3374
|
-
readonly name: "
|
|
4053
|
+
readonly name: "quoteEthToCollateralForToken";
|
|
4054
|
+
readonly outputs: readonly [{
|
|
4055
|
+
readonly name: "collateralToken";
|
|
4056
|
+
readonly internalType: "address";
|
|
4057
|
+
readonly type: "address";
|
|
4058
|
+
}, {
|
|
4059
|
+
readonly name: "collateralOut";
|
|
4060
|
+
readonly internalType: "uint256";
|
|
4061
|
+
readonly type: "uint256";
|
|
4062
|
+
}];
|
|
4063
|
+
}, {
|
|
4064
|
+
readonly stateMutability: "nonpayable";
|
|
4065
|
+
readonly type: "function";
|
|
4066
|
+
readonly inputs: readonly [];
|
|
4067
|
+
readonly name: "renounceOwnership";
|
|
3375
4068
|
readonly outputs: readonly [];
|
|
3376
4069
|
}, {
|
|
3377
4070
|
readonly stateMutability: "nonpayable";
|
|
3378
4071
|
readonly type: "function";
|
|
3379
4072
|
readonly inputs: readonly [{
|
|
3380
|
-
readonly name: "
|
|
4073
|
+
readonly name: "token";
|
|
3381
4074
|
readonly internalType: "address";
|
|
3382
4075
|
readonly type: "address";
|
|
3383
4076
|
}, {
|
|
3384
|
-
readonly name: "
|
|
4077
|
+
readonly name: "tokenAmountIn";
|
|
3385
4078
|
readonly internalType: "uint256";
|
|
3386
4079
|
readonly type: "uint256";
|
|
3387
|
-
}
|
|
3388
|
-
|
|
3389
|
-
|
|
3390
|
-
|
|
4080
|
+
}, {
|
|
4081
|
+
readonly name: "minEthOut";
|
|
4082
|
+
readonly internalType: "uint256";
|
|
4083
|
+
readonly type: "uint256";
|
|
4084
|
+
}, {
|
|
4085
|
+
readonly name: "tradeReferrer";
|
|
4086
|
+
readonly internalType: "address";
|
|
4087
|
+
readonly type: "address";
|
|
4088
|
+
}];
|
|
4089
|
+
readonly name: "sellForEth";
|
|
4090
|
+
readonly outputs: readonly [{
|
|
4091
|
+
readonly name: "ethOut";
|
|
4092
|
+
readonly internalType: "uint256";
|
|
4093
|
+
readonly type: "uint256";
|
|
4094
|
+
}];
|
|
4095
|
+
}, {
|
|
4096
|
+
readonly stateMutability: "nonpayable";
|
|
4097
|
+
readonly type: "function";
|
|
4098
|
+
readonly inputs: readonly [{
|
|
4099
|
+
readonly name: "tokenSwap_";
|
|
4100
|
+
readonly internalType: "address";
|
|
4101
|
+
readonly type: "address";
|
|
4102
|
+
}];
|
|
4103
|
+
readonly name: "setTokenSwap";
|
|
4104
|
+
readonly outputs: readonly [];
|
|
4105
|
+
}, {
|
|
4106
|
+
readonly stateMutability: "view";
|
|
4107
|
+
readonly type: "function";
|
|
4108
|
+
readonly inputs: readonly [];
|
|
4109
|
+
readonly name: "tokenSwap";
|
|
4110
|
+
readonly outputs: readonly [{
|
|
4111
|
+
readonly name: "";
|
|
4112
|
+
readonly internalType: "contract IBasememeTokenSwap";
|
|
4113
|
+
readonly type: "address";
|
|
4114
|
+
}];
|
|
4115
|
+
}, {
|
|
4116
|
+
readonly stateMutability: "nonpayable";
|
|
4117
|
+
readonly type: "function";
|
|
4118
|
+
readonly inputs: readonly [{
|
|
4119
|
+
readonly name: "newOwner";
|
|
4120
|
+
readonly internalType: "address";
|
|
4121
|
+
readonly type: "address";
|
|
4122
|
+
}];
|
|
4123
|
+
readonly name: "transferOwnership";
|
|
4124
|
+
readonly outputs: readonly [];
|
|
4125
|
+
}, {
|
|
4126
|
+
readonly stateMutability: "payable";
|
|
4127
|
+
readonly type: "function";
|
|
4128
|
+
readonly inputs: readonly [{
|
|
4129
|
+
readonly name: "newImplementation";
|
|
4130
|
+
readonly internalType: "address";
|
|
4131
|
+
readonly type: "address";
|
|
4132
|
+
}, {
|
|
4133
|
+
readonly name: "data";
|
|
4134
|
+
readonly internalType: "bytes";
|
|
4135
|
+
readonly type: "bytes";
|
|
4136
|
+
}];
|
|
4137
|
+
readonly name: "upgradeToAndCall";
|
|
4138
|
+
readonly outputs: readonly [];
|
|
4139
|
+
}, {
|
|
4140
|
+
readonly type: "event";
|
|
4141
|
+
readonly anonymous: false;
|
|
4142
|
+
readonly inputs: readonly [{
|
|
4143
|
+
readonly name: "caller";
|
|
4144
|
+
readonly internalType: "address";
|
|
4145
|
+
readonly type: "address";
|
|
4146
|
+
readonly indexed: true;
|
|
4147
|
+
}, {
|
|
4148
|
+
readonly name: "token";
|
|
4149
|
+
readonly internalType: "address";
|
|
4150
|
+
readonly type: "address";
|
|
4151
|
+
readonly indexed: true;
|
|
4152
|
+
}, {
|
|
4153
|
+
readonly name: "recipient";
|
|
4154
|
+
readonly internalType: "address";
|
|
4155
|
+
readonly type: "address";
|
|
4156
|
+
readonly indexed: true;
|
|
4157
|
+
}, {
|
|
4158
|
+
readonly name: "fundsIn";
|
|
4159
|
+
readonly internalType: "uint256";
|
|
4160
|
+
readonly type: "uint256";
|
|
4161
|
+
readonly indexed: false;
|
|
4162
|
+
}, {
|
|
4163
|
+
readonly name: "minTokenOut";
|
|
4164
|
+
readonly internalType: "uint256";
|
|
4165
|
+
readonly type: "uint256";
|
|
4166
|
+
readonly indexed: false;
|
|
4167
|
+
}, {
|
|
4168
|
+
readonly name: "tradeReferrer";
|
|
4169
|
+
readonly internalType: "address";
|
|
4170
|
+
readonly type: "address";
|
|
4171
|
+
readonly indexed: false;
|
|
4172
|
+
}, {
|
|
4173
|
+
readonly name: "collateralToken";
|
|
4174
|
+
readonly internalType: "address";
|
|
4175
|
+
readonly type: "address";
|
|
4176
|
+
readonly indexed: false;
|
|
4177
|
+
}, {
|
|
4178
|
+
readonly name: "tokenOut";
|
|
4179
|
+
readonly internalType: "uint256";
|
|
4180
|
+
readonly type: "uint256";
|
|
4181
|
+
readonly indexed: false;
|
|
4182
|
+
}, {
|
|
4183
|
+
readonly name: "refundOut";
|
|
4184
|
+
readonly internalType: "uint256";
|
|
4185
|
+
readonly type: "uint256";
|
|
4186
|
+
readonly indexed: false;
|
|
4187
|
+
}];
|
|
4188
|
+
readonly name: "BuyWithEth";
|
|
4189
|
+
}, {
|
|
4190
|
+
readonly type: "event";
|
|
4191
|
+
readonly anonymous: false;
|
|
4192
|
+
readonly inputs: readonly [{
|
|
4193
|
+
readonly name: "version";
|
|
4194
|
+
readonly internalType: "uint64";
|
|
4195
|
+
readonly type: "uint64";
|
|
4196
|
+
readonly indexed: false;
|
|
4197
|
+
}];
|
|
4198
|
+
readonly name: "Initialized";
|
|
4199
|
+
}, {
|
|
4200
|
+
readonly type: "event";
|
|
4201
|
+
readonly anonymous: false;
|
|
4202
|
+
readonly inputs: readonly [{
|
|
4203
|
+
readonly name: "previousOwner";
|
|
4204
|
+
readonly internalType: "address";
|
|
4205
|
+
readonly type: "address";
|
|
4206
|
+
readonly indexed: true;
|
|
4207
|
+
}, {
|
|
4208
|
+
readonly name: "newOwner";
|
|
4209
|
+
readonly internalType: "address";
|
|
4210
|
+
readonly type: "address";
|
|
4211
|
+
readonly indexed: true;
|
|
4212
|
+
}];
|
|
4213
|
+
readonly name: "OwnershipTransferred";
|
|
4214
|
+
}, {
|
|
4215
|
+
readonly type: "event";
|
|
4216
|
+
readonly anonymous: false;
|
|
4217
|
+
readonly inputs: readonly [{
|
|
4218
|
+
readonly name: "caller";
|
|
4219
|
+
readonly internalType: "address";
|
|
4220
|
+
readonly type: "address";
|
|
4221
|
+
readonly indexed: true;
|
|
4222
|
+
}, {
|
|
4223
|
+
readonly name: "token";
|
|
4224
|
+
readonly internalType: "address";
|
|
4225
|
+
readonly type: "address";
|
|
4226
|
+
readonly indexed: true;
|
|
4227
|
+
}, {
|
|
4228
|
+
readonly name: "from";
|
|
4229
|
+
readonly internalType: "address";
|
|
4230
|
+
readonly type: "address";
|
|
4231
|
+
readonly indexed: false;
|
|
4232
|
+
}, {
|
|
4233
|
+
readonly name: "tokenIn";
|
|
4234
|
+
readonly internalType: "uint256";
|
|
4235
|
+
readonly type: "uint256";
|
|
4236
|
+
readonly indexed: false;
|
|
4237
|
+
}, {
|
|
4238
|
+
readonly name: "minEthOut";
|
|
4239
|
+
readonly internalType: "uint256";
|
|
4240
|
+
readonly type: "uint256";
|
|
4241
|
+
readonly indexed: false;
|
|
4242
|
+
}, {
|
|
4243
|
+
readonly name: "tradeReferrer";
|
|
4244
|
+
readonly internalType: "address";
|
|
4245
|
+
readonly type: "address";
|
|
4246
|
+
readonly indexed: false;
|
|
4247
|
+
}, {
|
|
4248
|
+
readonly name: "collateralToken";
|
|
4249
|
+
readonly internalType: "address";
|
|
4250
|
+
readonly type: "address";
|
|
4251
|
+
readonly indexed: false;
|
|
4252
|
+
}, {
|
|
4253
|
+
readonly name: "collateralOut";
|
|
4254
|
+
readonly internalType: "uint256";
|
|
4255
|
+
readonly type: "uint256";
|
|
4256
|
+
readonly indexed: false;
|
|
4257
|
+
}, {
|
|
4258
|
+
readonly name: "ethOut";
|
|
4259
|
+
readonly internalType: "uint256";
|
|
4260
|
+
readonly type: "uint256";
|
|
4261
|
+
readonly indexed: false;
|
|
4262
|
+
}];
|
|
4263
|
+
readonly name: "SellForEth";
|
|
4264
|
+
}, {
|
|
4265
|
+
readonly type: "event";
|
|
4266
|
+
readonly anonymous: false;
|
|
4267
|
+
readonly inputs: readonly [{
|
|
4268
|
+
readonly name: "implementation";
|
|
4269
|
+
readonly internalType: "address";
|
|
4270
|
+
readonly type: "address";
|
|
4271
|
+
readonly indexed: true;
|
|
4272
|
+
}];
|
|
4273
|
+
readonly name: "Upgraded";
|
|
4274
|
+
}, {
|
|
4275
|
+
readonly type: "error";
|
|
4276
|
+
readonly inputs: readonly [{
|
|
4277
|
+
readonly name: "target";
|
|
4278
|
+
readonly internalType: "address";
|
|
4279
|
+
readonly type: "address";
|
|
4280
|
+
}];
|
|
4281
|
+
readonly name: "AddressEmptyCode";
|
|
4282
|
+
}, {
|
|
4283
|
+
readonly type: "error";
|
|
4284
|
+
readonly inputs: readonly [{
|
|
4285
|
+
readonly name: "implementation";
|
|
4286
|
+
readonly internalType: "address";
|
|
4287
|
+
readonly type: "address";
|
|
4288
|
+
}];
|
|
4289
|
+
readonly name: "ERC1967InvalidImplementation";
|
|
4290
|
+
}, {
|
|
4291
|
+
readonly type: "error";
|
|
4292
|
+
readonly inputs: readonly [];
|
|
4293
|
+
readonly name: "ERC1967NonPayable";
|
|
4294
|
+
}, {
|
|
4295
|
+
readonly type: "error";
|
|
4296
|
+
readonly inputs: readonly [];
|
|
4297
|
+
readonly name: "FailedCall";
|
|
4298
|
+
}, {
|
|
4299
|
+
readonly type: "error";
|
|
4300
|
+
readonly inputs: readonly [{
|
|
4301
|
+
readonly name: "balance";
|
|
4302
|
+
readonly internalType: "uint256";
|
|
4303
|
+
readonly type: "uint256";
|
|
4304
|
+
}, {
|
|
4305
|
+
readonly name: "needed";
|
|
4306
|
+
readonly internalType: "uint256";
|
|
4307
|
+
readonly type: "uint256";
|
|
4308
|
+
}];
|
|
4309
|
+
readonly name: "InsufficientBalance";
|
|
4310
|
+
}, {
|
|
4311
|
+
readonly type: "error";
|
|
4312
|
+
readonly inputs: readonly [];
|
|
4313
|
+
readonly name: "InvalidFunds";
|
|
4314
|
+
}, {
|
|
4315
|
+
readonly type: "error";
|
|
4316
|
+
readonly inputs: readonly [];
|
|
4317
|
+
readonly name: "InvalidInitialization";
|
|
4318
|
+
}, {
|
|
4319
|
+
readonly type: "error";
|
|
4320
|
+
readonly inputs: readonly [];
|
|
4321
|
+
readonly name: "NotInitializing";
|
|
4322
|
+
}, {
|
|
4323
|
+
readonly type: "error";
|
|
4324
|
+
readonly inputs: readonly [{
|
|
4325
|
+
readonly name: "owner";
|
|
4326
|
+
readonly internalType: "address";
|
|
4327
|
+
readonly type: "address";
|
|
4328
|
+
}];
|
|
4329
|
+
readonly name: "OwnableInvalidOwner";
|
|
4330
|
+
}, {
|
|
4331
|
+
readonly type: "error";
|
|
4332
|
+
readonly inputs: readonly [{
|
|
4333
|
+
readonly name: "account";
|
|
4334
|
+
readonly internalType: "address";
|
|
4335
|
+
readonly type: "address";
|
|
4336
|
+
}];
|
|
4337
|
+
readonly name: "OwnableUnauthorizedAccount";
|
|
4338
|
+
}, {
|
|
4339
|
+
readonly type: "error";
|
|
4340
|
+
readonly inputs: readonly [];
|
|
4341
|
+
readonly name: "ReentrancyGuardReentrantCall";
|
|
4342
|
+
}, {
|
|
4343
|
+
readonly type: "error";
|
|
4344
|
+
readonly inputs: readonly [{
|
|
4345
|
+
readonly name: "token";
|
|
4346
|
+
readonly internalType: "address";
|
|
4347
|
+
readonly type: "address";
|
|
4348
|
+
}];
|
|
4349
|
+
readonly name: "SafeERC20FailedOperation";
|
|
4350
|
+
}, {
|
|
4351
|
+
readonly type: "error";
|
|
4352
|
+
readonly inputs: readonly [];
|
|
4353
|
+
readonly name: "UUPSUnauthorizedCallContext";
|
|
4354
|
+
}, {
|
|
4355
|
+
readonly type: "error";
|
|
4356
|
+
readonly inputs: readonly [{
|
|
4357
|
+
readonly name: "slot";
|
|
4358
|
+
readonly internalType: "bytes32";
|
|
4359
|
+
readonly type: "bytes32";
|
|
4360
|
+
}];
|
|
4361
|
+
readonly name: "UUPSUnsupportedProxiableUUID";
|
|
4362
|
+
}];
|
|
4363
|
+
};
|
|
4364
|
+
/**
|
|
4365
|
+
* - [__View Contract on Base Basescan__](https://basescan.org/address/0x0000000000000000000000000000000000000000)
|
|
4366
|
+
* - [__View Contract on Base Sepolia Blockscout__](https://base-sepolia.blockscout.com/address/0x0DCCB05a4FF9C97370Ce954EA4ac1D1d9330408B)
|
|
4367
|
+
*/
|
|
4368
|
+
export declare const basememeTokenABI: readonly [{
|
|
4369
|
+
readonly stateMutability: "nonpayable";
|
|
4370
|
+
readonly type: "constructor";
|
|
4371
|
+
readonly inputs: readonly [];
|
|
4372
|
+
}, {
|
|
4373
|
+
readonly stateMutability: "view";
|
|
4374
|
+
readonly type: "function";
|
|
4375
|
+
readonly inputs: readonly [{
|
|
4376
|
+
readonly name: "owner";
|
|
4377
|
+
readonly internalType: "address";
|
|
4378
|
+
readonly type: "address";
|
|
4379
|
+
}, {
|
|
4380
|
+
readonly name: "spender";
|
|
4381
|
+
readonly internalType: "address";
|
|
4382
|
+
readonly type: "address";
|
|
4383
|
+
}];
|
|
4384
|
+
readonly name: "allowance";
|
|
4385
|
+
readonly outputs: readonly [{
|
|
4386
|
+
readonly name: "";
|
|
4387
|
+
readonly internalType: "uint256";
|
|
4388
|
+
readonly type: "uint256";
|
|
4389
|
+
}];
|
|
4390
|
+
}, {
|
|
4391
|
+
readonly stateMutability: "nonpayable";
|
|
4392
|
+
readonly type: "function";
|
|
4393
|
+
readonly inputs: readonly [{
|
|
4394
|
+
readonly name: "spender";
|
|
4395
|
+
readonly internalType: "address";
|
|
4396
|
+
readonly type: "address";
|
|
4397
|
+
}, {
|
|
4398
|
+
readonly name: "value";
|
|
4399
|
+
readonly internalType: "uint256";
|
|
4400
|
+
readonly type: "uint256";
|
|
4401
|
+
}];
|
|
4402
|
+
readonly name: "approve";
|
|
4403
|
+
readonly outputs: readonly [{
|
|
4404
|
+
readonly name: "";
|
|
4405
|
+
readonly internalType: "bool";
|
|
4406
|
+
readonly type: "bool";
|
|
4407
|
+
}];
|
|
4408
|
+
}, {
|
|
4409
|
+
readonly stateMutability: "view";
|
|
4410
|
+
readonly type: "function";
|
|
4411
|
+
readonly inputs: readonly [{
|
|
4412
|
+
readonly name: "account";
|
|
4413
|
+
readonly internalType: "address";
|
|
4414
|
+
readonly type: "address";
|
|
4415
|
+
}];
|
|
4416
|
+
readonly name: "balanceOf";
|
|
4417
|
+
readonly outputs: readonly [{
|
|
4418
|
+
readonly name: "";
|
|
4419
|
+
readonly internalType: "uint256";
|
|
4420
|
+
readonly type: "uint256";
|
|
4421
|
+
}];
|
|
4422
|
+
}, {
|
|
4423
|
+
readonly stateMutability: "nonpayable";
|
|
4424
|
+
readonly type: "function";
|
|
4425
|
+
readonly inputs: readonly [{
|
|
4426
|
+
readonly name: "value";
|
|
4427
|
+
readonly internalType: "uint256";
|
|
4428
|
+
readonly type: "uint256";
|
|
4429
|
+
}];
|
|
4430
|
+
readonly name: "burn";
|
|
4431
|
+
readonly outputs: readonly [];
|
|
4432
|
+
}, {
|
|
4433
|
+
readonly stateMutability: "nonpayable";
|
|
4434
|
+
readonly type: "function";
|
|
4435
|
+
readonly inputs: readonly [{
|
|
4436
|
+
readonly name: "account";
|
|
4437
|
+
readonly internalType: "address";
|
|
4438
|
+
readonly type: "address";
|
|
4439
|
+
}, {
|
|
4440
|
+
readonly name: "value";
|
|
4441
|
+
readonly internalType: "uint256";
|
|
4442
|
+
readonly type: "uint256";
|
|
4443
|
+
}];
|
|
4444
|
+
readonly name: "burnFrom";
|
|
4445
|
+
readonly outputs: readonly [];
|
|
4446
|
+
}, {
|
|
4447
|
+
readonly stateMutability: "view";
|
|
4448
|
+
readonly type: "function";
|
|
4449
|
+
readonly inputs: readonly [];
|
|
4450
|
+
readonly name: "contractURI";
|
|
4451
|
+
readonly outputs: readonly [{
|
|
4452
|
+
readonly name: "";
|
|
4453
|
+
readonly internalType: "string";
|
|
4454
|
+
readonly type: "string";
|
|
4455
|
+
}];
|
|
4456
|
+
}, {
|
|
4457
|
+
readonly stateMutability: "pure";
|
|
4458
|
+
readonly type: "function";
|
|
4459
|
+
readonly inputs: readonly [];
|
|
4460
|
+
readonly name: "contractVersion";
|
|
4461
|
+
readonly outputs: readonly [{
|
|
4462
|
+
readonly name: "";
|
|
4463
|
+
readonly internalType: "string";
|
|
4464
|
+
readonly type: "string";
|
|
4465
|
+
}];
|
|
4466
|
+
}, {
|
|
4467
|
+
readonly stateMutability: "view";
|
|
4468
|
+
readonly type: "function";
|
|
4469
|
+
readonly inputs: readonly [];
|
|
4470
|
+
readonly name: "decimals";
|
|
4471
|
+
readonly outputs: readonly [{
|
|
4472
|
+
readonly name: "";
|
|
4473
|
+
readonly internalType: "uint8";
|
|
4474
|
+
readonly type: "uint8";
|
|
4475
|
+
}];
|
|
4476
|
+
}, {
|
|
4477
|
+
readonly stateMutability: "view";
|
|
4478
|
+
readonly type: "function";
|
|
4479
|
+
readonly inputs: readonly [];
|
|
4480
|
+
readonly name: "factory";
|
|
4481
|
+
readonly outputs: readonly [{
|
|
4482
|
+
readonly name: "";
|
|
4483
|
+
readonly internalType: "address";
|
|
4484
|
+
readonly type: "address";
|
|
4485
|
+
}];
|
|
4486
|
+
}, {
|
|
4487
|
+
readonly stateMutability: "nonpayable";
|
|
4488
|
+
readonly type: "function";
|
|
4489
|
+
readonly inputs: readonly [{
|
|
4490
|
+
readonly name: "_params";
|
|
4491
|
+
readonly internalType: "struct IBasememeToken.ConstructorParams";
|
|
4492
|
+
readonly type: "tuple";
|
|
4493
|
+
readonly components: readonly [{
|
|
4494
|
+
readonly name: "name";
|
|
4495
|
+
readonly internalType: "string";
|
|
4496
|
+
readonly type: "string";
|
|
4497
|
+
}, {
|
|
4498
|
+
readonly name: "symbol";
|
|
4499
|
+
readonly internalType: "string";
|
|
4500
|
+
readonly type: "string";
|
|
4501
|
+
}, {
|
|
4502
|
+
readonly name: "tokenURI";
|
|
4503
|
+
readonly internalType: "string";
|
|
4504
|
+
readonly type: "string";
|
|
4505
|
+
}, {
|
|
4506
|
+
readonly name: "factory";
|
|
4507
|
+
readonly internalType: "address";
|
|
4508
|
+
readonly type: "address";
|
|
4509
|
+
}, {
|
|
4510
|
+
readonly name: "bondingCurve";
|
|
4511
|
+
readonly internalType: "address";
|
|
4512
|
+
readonly type: "address";
|
|
4513
|
+
}, {
|
|
4514
|
+
readonly name: "initialTokenSupply";
|
|
4515
|
+
readonly internalType: "uint256";
|
|
4516
|
+
readonly type: "uint256";
|
|
4517
|
+
}];
|
|
4518
|
+
}];
|
|
4519
|
+
readonly name: "initialize";
|
|
4520
|
+
readonly outputs: readonly [];
|
|
4521
|
+
}, {
|
|
4522
|
+
readonly stateMutability: "view";
|
|
4523
|
+
readonly type: "function";
|
|
4524
|
+
readonly inputs: readonly [];
|
|
4525
|
+
readonly name: "name";
|
|
4526
|
+
readonly outputs: readonly [{
|
|
4527
|
+
readonly name: "";
|
|
4528
|
+
readonly internalType: "string";
|
|
4529
|
+
readonly type: "string";
|
|
4530
|
+
}];
|
|
4531
|
+
}, {
|
|
4532
|
+
readonly stateMutability: "view";
|
|
4533
|
+
readonly type: "function";
|
|
4534
|
+
readonly inputs: readonly [];
|
|
4535
|
+
readonly name: "owner";
|
|
4536
|
+
readonly outputs: readonly [{
|
|
4537
|
+
readonly name: "";
|
|
4538
|
+
readonly internalType: "address";
|
|
4539
|
+
readonly type: "address";
|
|
4540
|
+
}];
|
|
4541
|
+
}, {
|
|
4542
|
+
readonly stateMutability: "nonpayable";
|
|
4543
|
+
readonly type: "function";
|
|
4544
|
+
readonly inputs: readonly [];
|
|
4545
|
+
readonly name: "renounceOwnership";
|
|
4546
|
+
readonly outputs: readonly [];
|
|
4547
|
+
}, {
|
|
4548
|
+
readonly stateMutability: "nonpayable";
|
|
4549
|
+
readonly type: "function";
|
|
4550
|
+
readonly inputs: readonly [{
|
|
4551
|
+
readonly name: "mode";
|
|
4552
|
+
readonly internalType: "enum IBasememeToken.TransferMode";
|
|
4553
|
+
readonly type: "uint8";
|
|
4554
|
+
}];
|
|
4555
|
+
readonly name: "setTransferMode";
|
|
4556
|
+
readonly outputs: readonly [];
|
|
4557
|
+
}, {
|
|
4558
|
+
readonly stateMutability: "pure";
|
|
4559
|
+
readonly type: "function";
|
|
4560
|
+
readonly inputs: readonly [{
|
|
4561
|
+
readonly name: "interfaceId";
|
|
4562
|
+
readonly internalType: "bytes4";
|
|
4563
|
+
readonly type: "bytes4";
|
|
4564
|
+
}];
|
|
4565
|
+
readonly name: "supportsInterface";
|
|
4566
|
+
readonly outputs: readonly [{
|
|
4567
|
+
readonly name: "";
|
|
4568
|
+
readonly internalType: "bool";
|
|
4569
|
+
readonly type: "bool";
|
|
4570
|
+
}];
|
|
4571
|
+
}, {
|
|
4572
|
+
readonly stateMutability: "view";
|
|
4573
|
+
readonly type: "function";
|
|
4574
|
+
readonly inputs: readonly [];
|
|
4575
|
+
readonly name: "symbol";
|
|
4576
|
+
readonly outputs: readonly [{
|
|
4577
|
+
readonly name: "";
|
|
4578
|
+
readonly internalType: "string";
|
|
4579
|
+
readonly type: "string";
|
|
4580
|
+
}];
|
|
4581
|
+
}, {
|
|
4582
|
+
readonly stateMutability: "view";
|
|
4583
|
+
readonly type: "function";
|
|
4584
|
+
readonly inputs: readonly [];
|
|
4585
|
+
readonly name: "tokenURI";
|
|
4586
|
+
readonly outputs: readonly [{
|
|
4587
|
+
readonly name: "";
|
|
4588
|
+
readonly internalType: "string";
|
|
4589
|
+
readonly type: "string";
|
|
4590
|
+
}];
|
|
4591
|
+
}, {
|
|
4592
|
+
readonly stateMutability: "view";
|
|
4593
|
+
readonly type: "function";
|
|
4594
|
+
readonly inputs: readonly [];
|
|
4595
|
+
readonly name: "totalSupply";
|
|
4596
|
+
readonly outputs: readonly [{
|
|
4597
|
+
readonly name: "";
|
|
4598
|
+
readonly internalType: "uint256";
|
|
4599
|
+
readonly type: "uint256";
|
|
4600
|
+
}];
|
|
4601
|
+
}, {
|
|
4602
|
+
readonly stateMutability: "nonpayable";
|
|
4603
|
+
readonly type: "function";
|
|
4604
|
+
readonly inputs: readonly [{
|
|
4605
|
+
readonly name: "to";
|
|
4606
|
+
readonly internalType: "address";
|
|
4607
|
+
readonly type: "address";
|
|
4608
|
+
}, {
|
|
4609
|
+
readonly name: "value";
|
|
4610
|
+
readonly internalType: "uint256";
|
|
4611
|
+
readonly type: "uint256";
|
|
4612
|
+
}];
|
|
4613
|
+
readonly name: "transfer";
|
|
4614
|
+
readonly outputs: readonly [{
|
|
4615
|
+
readonly name: "";
|
|
4616
|
+
readonly internalType: "bool";
|
|
4617
|
+
readonly type: "bool";
|
|
4618
|
+
}];
|
|
4619
|
+
}, {
|
|
4620
|
+
readonly stateMutability: "nonpayable";
|
|
4621
|
+
readonly type: "function";
|
|
4622
|
+
readonly inputs: readonly [{
|
|
4623
|
+
readonly name: "from";
|
|
4624
|
+
readonly internalType: "address";
|
|
4625
|
+
readonly type: "address";
|
|
4626
|
+
}, {
|
|
4627
|
+
readonly name: "to";
|
|
4628
|
+
readonly internalType: "address";
|
|
4629
|
+
readonly type: "address";
|
|
4630
|
+
}, {
|
|
4631
|
+
readonly name: "value";
|
|
4632
|
+
readonly internalType: "uint256";
|
|
4633
|
+
readonly type: "uint256";
|
|
4634
|
+
}];
|
|
4635
|
+
readonly name: "transferFrom";
|
|
4636
|
+
readonly outputs: readonly [{
|
|
4637
|
+
readonly name: "";
|
|
4638
|
+
readonly internalType: "bool";
|
|
4639
|
+
readonly type: "bool";
|
|
4640
|
+
}];
|
|
4641
|
+
}, {
|
|
4642
|
+
readonly stateMutability: "view";
|
|
4643
|
+
readonly type: "function";
|
|
4644
|
+
readonly inputs: readonly [];
|
|
4645
|
+
readonly name: "transferMode";
|
|
4646
|
+
readonly outputs: readonly [{
|
|
4647
|
+
readonly name: "";
|
|
4648
|
+
readonly internalType: "enum IBasememeToken.TransferMode";
|
|
4649
|
+
readonly type: "uint8";
|
|
4650
|
+
}];
|
|
4651
|
+
}, {
|
|
4652
|
+
readonly stateMutability: "nonpayable";
|
|
4653
|
+
readonly type: "function";
|
|
4654
|
+
readonly inputs: readonly [{
|
|
4655
|
+
readonly name: "newOwner";
|
|
4656
|
+
readonly internalType: "address";
|
|
4657
|
+
readonly type: "address";
|
|
4658
|
+
}];
|
|
4659
|
+
readonly name: "transferOwnership";
|
|
4660
|
+
readonly outputs: readonly [];
|
|
4661
|
+
}, {
|
|
4662
|
+
readonly type: "event";
|
|
4663
|
+
readonly anonymous: false;
|
|
4664
|
+
readonly inputs: readonly [{
|
|
4665
|
+
readonly name: "owner";
|
|
4666
|
+
readonly internalType: "address";
|
|
4667
|
+
readonly type: "address";
|
|
4668
|
+
readonly indexed: true;
|
|
4669
|
+
}, {
|
|
4670
|
+
readonly name: "spender";
|
|
4671
|
+
readonly internalType: "address";
|
|
4672
|
+
readonly type: "address";
|
|
4673
|
+
readonly indexed: true;
|
|
4674
|
+
}, {
|
|
4675
|
+
readonly name: "value";
|
|
4676
|
+
readonly internalType: "uint256";
|
|
4677
|
+
readonly type: "uint256";
|
|
4678
|
+
readonly indexed: false;
|
|
4679
|
+
}];
|
|
4680
|
+
readonly name: "Approval";
|
|
4681
|
+
}, {
|
|
4682
|
+
readonly type: "event";
|
|
4683
|
+
readonly anonymous: false;
|
|
4684
|
+
readonly inputs: readonly [];
|
|
4685
|
+
readonly name: "ContractURIUpdated";
|
|
4686
|
+
}, {
|
|
4687
|
+
readonly type: "event";
|
|
4688
|
+
readonly anonymous: false;
|
|
4689
|
+
readonly inputs: readonly [{
|
|
4690
|
+
readonly name: "version";
|
|
4691
|
+
readonly internalType: "uint64";
|
|
4692
|
+
readonly type: "uint64";
|
|
4693
|
+
readonly indexed: false;
|
|
4694
|
+
}];
|
|
4695
|
+
readonly name: "Initialized";
|
|
4696
|
+
}, {
|
|
4697
|
+
readonly type: "event";
|
|
4698
|
+
readonly anonymous: false;
|
|
4699
|
+
readonly inputs: readonly [{
|
|
4700
|
+
readonly name: "previousOwner";
|
|
4701
|
+
readonly internalType: "address";
|
|
4702
|
+
readonly type: "address";
|
|
4703
|
+
readonly indexed: true;
|
|
4704
|
+
}, {
|
|
4705
|
+
readonly name: "newOwner";
|
|
4706
|
+
readonly internalType: "address";
|
|
4707
|
+
readonly type: "address";
|
|
4708
|
+
readonly indexed: true;
|
|
4709
|
+
}];
|
|
4710
|
+
readonly name: "OwnershipTransferred";
|
|
4711
|
+
}, {
|
|
4712
|
+
readonly type: "event";
|
|
4713
|
+
readonly anonymous: false;
|
|
4714
|
+
readonly inputs: readonly [{
|
|
4715
|
+
readonly name: "sender";
|
|
4716
|
+
readonly internalType: "address";
|
|
4717
|
+
readonly type: "address";
|
|
4718
|
+
readonly indexed: true;
|
|
4719
|
+
}, {
|
|
4720
|
+
readonly name: "recipient";
|
|
4721
|
+
readonly internalType: "address";
|
|
4722
|
+
readonly type: "address";
|
|
4723
|
+
readonly indexed: true;
|
|
4724
|
+
}, {
|
|
4725
|
+
readonly name: "amount";
|
|
4726
|
+
readonly internalType: "uint256";
|
|
4727
|
+
readonly type: "uint256";
|
|
4728
|
+
readonly indexed: false;
|
|
4729
|
+
}, {
|
|
4730
|
+
readonly name: "senderBalance";
|
|
4731
|
+
readonly internalType: "uint256";
|
|
4732
|
+
readonly type: "uint256";
|
|
4733
|
+
readonly indexed: false;
|
|
4734
|
+
}, {
|
|
4735
|
+
readonly name: "recipientBalance";
|
|
4736
|
+
readonly internalType: "uint256";
|
|
4737
|
+
readonly type: "uint256";
|
|
4738
|
+
readonly indexed: false;
|
|
4739
|
+
}];
|
|
4740
|
+
readonly name: "TokensTransferred";
|
|
4741
|
+
}, {
|
|
4742
|
+
readonly type: "event";
|
|
4743
|
+
readonly anonymous: false;
|
|
4744
|
+
readonly inputs: readonly [{
|
|
4745
|
+
readonly name: "from";
|
|
4746
|
+
readonly internalType: "address";
|
|
4747
|
+
readonly type: "address";
|
|
4748
|
+
readonly indexed: true;
|
|
4749
|
+
}, {
|
|
4750
|
+
readonly name: "to";
|
|
4751
|
+
readonly internalType: "address";
|
|
4752
|
+
readonly type: "address";
|
|
4753
|
+
readonly indexed: true;
|
|
4754
|
+
}, {
|
|
4755
|
+
readonly name: "value";
|
|
4756
|
+
readonly internalType: "uint256";
|
|
4757
|
+
readonly type: "uint256";
|
|
4758
|
+
readonly indexed: false;
|
|
4759
|
+
}];
|
|
4760
|
+
readonly name: "Transfer";
|
|
4761
|
+
}, {
|
|
4762
|
+
readonly type: "error";
|
|
4763
|
+
readonly inputs: readonly [{
|
|
4764
|
+
readonly name: "spender";
|
|
4765
|
+
readonly internalType: "address";
|
|
4766
|
+
readonly type: "address";
|
|
4767
|
+
}, {
|
|
4768
|
+
readonly name: "allowance";
|
|
4769
|
+
readonly internalType: "uint256";
|
|
4770
|
+
readonly type: "uint256";
|
|
4771
|
+
}, {
|
|
4772
|
+
readonly name: "needed";
|
|
4773
|
+
readonly internalType: "uint256";
|
|
4774
|
+
readonly type: "uint256";
|
|
4775
|
+
}];
|
|
4776
|
+
readonly name: "ERC20InsufficientAllowance";
|
|
4777
|
+
}, {
|
|
4778
|
+
readonly type: "error";
|
|
4779
|
+
readonly inputs: readonly [{
|
|
4780
|
+
readonly name: "sender";
|
|
4781
|
+
readonly internalType: "address";
|
|
4782
|
+
readonly type: "address";
|
|
4783
|
+
}, {
|
|
4784
|
+
readonly name: "balance";
|
|
4785
|
+
readonly internalType: "uint256";
|
|
4786
|
+
readonly type: "uint256";
|
|
4787
|
+
}, {
|
|
4788
|
+
readonly name: "needed";
|
|
4789
|
+
readonly internalType: "uint256";
|
|
4790
|
+
readonly type: "uint256";
|
|
4791
|
+
}];
|
|
4792
|
+
readonly name: "ERC20InsufficientBalance";
|
|
4793
|
+
}, {
|
|
4794
|
+
readonly type: "error";
|
|
4795
|
+
readonly inputs: readonly [{
|
|
4796
|
+
readonly name: "approver";
|
|
4797
|
+
readonly internalType: "address";
|
|
4798
|
+
readonly type: "address";
|
|
4799
|
+
}];
|
|
4800
|
+
readonly name: "ERC20InvalidApprover";
|
|
4801
|
+
}, {
|
|
4802
|
+
readonly type: "error";
|
|
4803
|
+
readonly inputs: readonly [{
|
|
4804
|
+
readonly name: "receiver";
|
|
4805
|
+
readonly internalType: "address";
|
|
4806
|
+
readonly type: "address";
|
|
4807
|
+
}];
|
|
4808
|
+
readonly name: "ERC20InvalidReceiver";
|
|
4809
|
+
}, {
|
|
4810
|
+
readonly type: "error";
|
|
4811
|
+
readonly inputs: readonly [{
|
|
4812
|
+
readonly name: "sender";
|
|
4813
|
+
readonly internalType: "address";
|
|
4814
|
+
readonly type: "address";
|
|
4815
|
+
}];
|
|
4816
|
+
readonly name: "ERC20InvalidSender";
|
|
4817
|
+
}, {
|
|
4818
|
+
readonly type: "error";
|
|
4819
|
+
readonly inputs: readonly [{
|
|
4820
|
+
readonly name: "spender";
|
|
4821
|
+
readonly internalType: "address";
|
|
4822
|
+
readonly type: "address";
|
|
4823
|
+
}];
|
|
4824
|
+
readonly name: "ERC20InvalidSpender";
|
|
4825
|
+
}, {
|
|
4826
|
+
readonly type: "error";
|
|
4827
|
+
readonly inputs: readonly [];
|
|
4828
|
+
readonly name: "InvalidInitialization";
|
|
4829
|
+
}, {
|
|
4830
|
+
readonly type: "error";
|
|
4831
|
+
readonly inputs: readonly [];
|
|
4832
|
+
readonly name: "NotInitializing";
|
|
4833
|
+
}, {
|
|
4834
|
+
readonly type: "error";
|
|
4835
|
+
readonly inputs: readonly [{
|
|
4836
|
+
readonly name: "owner";
|
|
4837
|
+
readonly internalType: "address";
|
|
4838
|
+
readonly type: "address";
|
|
4839
|
+
}];
|
|
4840
|
+
readonly name: "OwnableInvalidOwner";
|
|
4841
|
+
}, {
|
|
4842
|
+
readonly type: "error";
|
|
4843
|
+
readonly inputs: readonly [{
|
|
4844
|
+
readonly name: "account";
|
|
4845
|
+
readonly internalType: "address";
|
|
4846
|
+
readonly type: "address";
|
|
4847
|
+
}];
|
|
4848
|
+
readonly name: "OwnableUnauthorizedAccount";
|
|
4849
|
+
}, {
|
|
4850
|
+
readonly type: "error";
|
|
4851
|
+
readonly inputs: readonly [];
|
|
4852
|
+
readonly name: "TransfersControlled";
|
|
4853
|
+
}, {
|
|
4854
|
+
readonly type: "error";
|
|
4855
|
+
readonly inputs: readonly [];
|
|
4856
|
+
readonly name: "TransfersRestricted";
|
|
4857
|
+
}];
|
|
4858
|
+
/**
|
|
4859
|
+
* - [__View Contract on Base Basescan__](https://basescan.org/address/0x0000000000000000000000000000000000000000)
|
|
4860
|
+
* - [__View Contract on Base Sepolia Blockscout__](https://base-sepolia.blockscout.com/address/0x0DCCB05a4FF9C97370Ce954EA4ac1D1d9330408B)
|
|
4861
|
+
*/
|
|
4862
|
+
export declare const basememeTokenAddress: {
|
|
4863
|
+
readonly 8453: "0x0000000000000000000000000000000000000000";
|
|
4864
|
+
readonly 84532: "0x0DCCB05a4FF9C97370Ce954EA4ac1D1d9330408B";
|
|
4865
|
+
};
|
|
4866
|
+
/**
|
|
4867
|
+
* - [__View Contract on Base Basescan__](https://basescan.org/address/0x0000000000000000000000000000000000000000)
|
|
4868
|
+
* - [__View Contract on Base Sepolia Blockscout__](https://base-sepolia.blockscout.com/address/0x0DCCB05a4FF9C97370Ce954EA4ac1D1d9330408B)
|
|
4869
|
+
*/
|
|
4870
|
+
export declare const basememeTokenConfig: {
|
|
4871
|
+
readonly address: {
|
|
4872
|
+
readonly 8453: "0x0000000000000000000000000000000000000000";
|
|
4873
|
+
readonly 84532: "0x0DCCB05a4FF9C97370Ce954EA4ac1D1d9330408B";
|
|
4874
|
+
};
|
|
4875
|
+
readonly abi: readonly [{
|
|
4876
|
+
readonly stateMutability: "nonpayable";
|
|
4877
|
+
readonly type: "constructor";
|
|
4878
|
+
readonly inputs: readonly [];
|
|
4879
|
+
}, {
|
|
4880
|
+
readonly stateMutability: "view";
|
|
4881
|
+
readonly type: "function";
|
|
4882
|
+
readonly inputs: readonly [{
|
|
4883
|
+
readonly name: "owner";
|
|
4884
|
+
readonly internalType: "address";
|
|
4885
|
+
readonly type: "address";
|
|
4886
|
+
}, {
|
|
4887
|
+
readonly name: "spender";
|
|
4888
|
+
readonly internalType: "address";
|
|
4889
|
+
readonly type: "address";
|
|
4890
|
+
}];
|
|
4891
|
+
readonly name: "allowance";
|
|
4892
|
+
readonly outputs: readonly [{
|
|
4893
|
+
readonly name: "";
|
|
4894
|
+
readonly internalType: "uint256";
|
|
4895
|
+
readonly type: "uint256";
|
|
4896
|
+
}];
|
|
4897
|
+
}, {
|
|
4898
|
+
readonly stateMutability: "nonpayable";
|
|
4899
|
+
readonly type: "function";
|
|
4900
|
+
readonly inputs: readonly [{
|
|
4901
|
+
readonly name: "spender";
|
|
4902
|
+
readonly internalType: "address";
|
|
4903
|
+
readonly type: "address";
|
|
4904
|
+
}, {
|
|
4905
|
+
readonly name: "value";
|
|
4906
|
+
readonly internalType: "uint256";
|
|
4907
|
+
readonly type: "uint256";
|
|
4908
|
+
}];
|
|
4909
|
+
readonly name: "approve";
|
|
4910
|
+
readonly outputs: readonly [{
|
|
4911
|
+
readonly name: "";
|
|
4912
|
+
readonly internalType: "bool";
|
|
4913
|
+
readonly type: "bool";
|
|
4914
|
+
}];
|
|
4915
|
+
}, {
|
|
4916
|
+
readonly stateMutability: "view";
|
|
4917
|
+
readonly type: "function";
|
|
4918
|
+
readonly inputs: readonly [{
|
|
4919
|
+
readonly name: "account";
|
|
4920
|
+
readonly internalType: "address";
|
|
4921
|
+
readonly type: "address";
|
|
4922
|
+
}];
|
|
4923
|
+
readonly name: "balanceOf";
|
|
4924
|
+
readonly outputs: readonly [{
|
|
4925
|
+
readonly name: "";
|
|
4926
|
+
readonly internalType: "uint256";
|
|
4927
|
+
readonly type: "uint256";
|
|
4928
|
+
}];
|
|
4929
|
+
}, {
|
|
4930
|
+
readonly stateMutability: "nonpayable";
|
|
4931
|
+
readonly type: "function";
|
|
4932
|
+
readonly inputs: readonly [{
|
|
4933
|
+
readonly name: "value";
|
|
4934
|
+
readonly internalType: "uint256";
|
|
4935
|
+
readonly type: "uint256";
|
|
4936
|
+
}];
|
|
4937
|
+
readonly name: "burn";
|
|
4938
|
+
readonly outputs: readonly [];
|
|
4939
|
+
}, {
|
|
4940
|
+
readonly stateMutability: "nonpayable";
|
|
4941
|
+
readonly type: "function";
|
|
4942
|
+
readonly inputs: readonly [{
|
|
4943
|
+
readonly name: "account";
|
|
4944
|
+
readonly internalType: "address";
|
|
4945
|
+
readonly type: "address";
|
|
4946
|
+
}, {
|
|
4947
|
+
readonly name: "value";
|
|
4948
|
+
readonly internalType: "uint256";
|
|
4949
|
+
readonly type: "uint256";
|
|
4950
|
+
}];
|
|
4951
|
+
readonly name: "burnFrom";
|
|
4952
|
+
readonly outputs: readonly [];
|
|
4953
|
+
}, {
|
|
4954
|
+
readonly stateMutability: "view";
|
|
4955
|
+
readonly type: "function";
|
|
4956
|
+
readonly inputs: readonly [];
|
|
4957
|
+
readonly name: "contractURI";
|
|
4958
|
+
readonly outputs: readonly [{
|
|
4959
|
+
readonly name: "";
|
|
4960
|
+
readonly internalType: "string";
|
|
4961
|
+
readonly type: "string";
|
|
4962
|
+
}];
|
|
4963
|
+
}, {
|
|
4964
|
+
readonly stateMutability: "pure";
|
|
4965
|
+
readonly type: "function";
|
|
4966
|
+
readonly inputs: readonly [];
|
|
4967
|
+
readonly name: "contractVersion";
|
|
4968
|
+
readonly outputs: readonly [{
|
|
4969
|
+
readonly name: "";
|
|
4970
|
+
readonly internalType: "string";
|
|
4971
|
+
readonly type: "string";
|
|
4972
|
+
}];
|
|
4973
|
+
}, {
|
|
4974
|
+
readonly stateMutability: "view";
|
|
4975
|
+
readonly type: "function";
|
|
4976
|
+
readonly inputs: readonly [];
|
|
4977
|
+
readonly name: "decimals";
|
|
4978
|
+
readonly outputs: readonly [{
|
|
4979
|
+
readonly name: "";
|
|
4980
|
+
readonly internalType: "uint8";
|
|
4981
|
+
readonly type: "uint8";
|
|
4982
|
+
}];
|
|
4983
|
+
}, {
|
|
4984
|
+
readonly stateMutability: "view";
|
|
4985
|
+
readonly type: "function";
|
|
4986
|
+
readonly inputs: readonly [];
|
|
4987
|
+
readonly name: "factory";
|
|
4988
|
+
readonly outputs: readonly [{
|
|
4989
|
+
readonly name: "";
|
|
4990
|
+
readonly internalType: "address";
|
|
4991
|
+
readonly type: "address";
|
|
4992
|
+
}];
|
|
4993
|
+
}, {
|
|
4994
|
+
readonly stateMutability: "nonpayable";
|
|
4995
|
+
readonly type: "function";
|
|
4996
|
+
readonly inputs: readonly [{
|
|
4997
|
+
readonly name: "_params";
|
|
4998
|
+
readonly internalType: "struct IBasememeToken.ConstructorParams";
|
|
4999
|
+
readonly type: "tuple";
|
|
5000
|
+
readonly components: readonly [{
|
|
5001
|
+
readonly name: "name";
|
|
5002
|
+
readonly internalType: "string";
|
|
5003
|
+
readonly type: "string";
|
|
5004
|
+
}, {
|
|
5005
|
+
readonly name: "symbol";
|
|
5006
|
+
readonly internalType: "string";
|
|
5007
|
+
readonly type: "string";
|
|
5008
|
+
}, {
|
|
5009
|
+
readonly name: "tokenURI";
|
|
5010
|
+
readonly internalType: "string";
|
|
5011
|
+
readonly type: "string";
|
|
5012
|
+
}, {
|
|
5013
|
+
readonly name: "factory";
|
|
5014
|
+
readonly internalType: "address";
|
|
5015
|
+
readonly type: "address";
|
|
5016
|
+
}, {
|
|
5017
|
+
readonly name: "bondingCurve";
|
|
5018
|
+
readonly internalType: "address";
|
|
5019
|
+
readonly type: "address";
|
|
5020
|
+
}, {
|
|
5021
|
+
readonly name: "initialTokenSupply";
|
|
5022
|
+
readonly internalType: "uint256";
|
|
5023
|
+
readonly type: "uint256";
|
|
5024
|
+
}];
|
|
5025
|
+
}];
|
|
5026
|
+
readonly name: "initialize";
|
|
5027
|
+
readonly outputs: readonly [];
|
|
5028
|
+
}, {
|
|
5029
|
+
readonly stateMutability: "view";
|
|
5030
|
+
readonly type: "function";
|
|
5031
|
+
readonly inputs: readonly [];
|
|
5032
|
+
readonly name: "name";
|
|
5033
|
+
readonly outputs: readonly [{
|
|
5034
|
+
readonly name: "";
|
|
5035
|
+
readonly internalType: "string";
|
|
5036
|
+
readonly type: "string";
|
|
5037
|
+
}];
|
|
5038
|
+
}, {
|
|
5039
|
+
readonly stateMutability: "view";
|
|
5040
|
+
readonly type: "function";
|
|
5041
|
+
readonly inputs: readonly [];
|
|
5042
|
+
readonly name: "owner";
|
|
5043
|
+
readonly outputs: readonly [{
|
|
5044
|
+
readonly name: "";
|
|
5045
|
+
readonly internalType: "address";
|
|
5046
|
+
readonly type: "address";
|
|
5047
|
+
}];
|
|
5048
|
+
}, {
|
|
5049
|
+
readonly stateMutability: "nonpayable";
|
|
5050
|
+
readonly type: "function";
|
|
5051
|
+
readonly inputs: readonly [];
|
|
5052
|
+
readonly name: "renounceOwnership";
|
|
5053
|
+
readonly outputs: readonly [];
|
|
5054
|
+
}, {
|
|
5055
|
+
readonly stateMutability: "nonpayable";
|
|
5056
|
+
readonly type: "function";
|
|
5057
|
+
readonly inputs: readonly [{
|
|
5058
|
+
readonly name: "mode";
|
|
5059
|
+
readonly internalType: "enum IBasememeToken.TransferMode";
|
|
5060
|
+
readonly type: "uint8";
|
|
5061
|
+
}];
|
|
5062
|
+
readonly name: "setTransferMode";
|
|
5063
|
+
readonly outputs: readonly [];
|
|
5064
|
+
}, {
|
|
5065
|
+
readonly stateMutability: "pure";
|
|
5066
|
+
readonly type: "function";
|
|
5067
|
+
readonly inputs: readonly [{
|
|
5068
|
+
readonly name: "interfaceId";
|
|
5069
|
+
readonly internalType: "bytes4";
|
|
5070
|
+
readonly type: "bytes4";
|
|
5071
|
+
}];
|
|
5072
|
+
readonly name: "supportsInterface";
|
|
5073
|
+
readonly outputs: readonly [{
|
|
5074
|
+
readonly name: "";
|
|
5075
|
+
readonly internalType: "bool";
|
|
5076
|
+
readonly type: "bool";
|
|
5077
|
+
}];
|
|
5078
|
+
}, {
|
|
5079
|
+
readonly stateMutability: "view";
|
|
5080
|
+
readonly type: "function";
|
|
5081
|
+
readonly inputs: readonly [];
|
|
5082
|
+
readonly name: "symbol";
|
|
5083
|
+
readonly outputs: readonly [{
|
|
5084
|
+
readonly name: "";
|
|
5085
|
+
readonly internalType: "string";
|
|
5086
|
+
readonly type: "string";
|
|
5087
|
+
}];
|
|
5088
|
+
}, {
|
|
5089
|
+
readonly stateMutability: "view";
|
|
5090
|
+
readonly type: "function";
|
|
5091
|
+
readonly inputs: readonly [];
|
|
5092
|
+
readonly name: "tokenURI";
|
|
5093
|
+
readonly outputs: readonly [{
|
|
5094
|
+
readonly name: "";
|
|
5095
|
+
readonly internalType: "string";
|
|
5096
|
+
readonly type: "string";
|
|
5097
|
+
}];
|
|
5098
|
+
}, {
|
|
5099
|
+
readonly stateMutability: "view";
|
|
5100
|
+
readonly type: "function";
|
|
5101
|
+
readonly inputs: readonly [];
|
|
5102
|
+
readonly name: "totalSupply";
|
|
5103
|
+
readonly outputs: readonly [{
|
|
5104
|
+
readonly name: "";
|
|
5105
|
+
readonly internalType: "uint256";
|
|
5106
|
+
readonly type: "uint256";
|
|
5107
|
+
}];
|
|
5108
|
+
}, {
|
|
5109
|
+
readonly stateMutability: "nonpayable";
|
|
5110
|
+
readonly type: "function";
|
|
5111
|
+
readonly inputs: readonly [{
|
|
5112
|
+
readonly name: "to";
|
|
5113
|
+
readonly internalType: "address";
|
|
5114
|
+
readonly type: "address";
|
|
5115
|
+
}, {
|
|
5116
|
+
readonly name: "value";
|
|
5117
|
+
readonly internalType: "uint256";
|
|
5118
|
+
readonly type: "uint256";
|
|
5119
|
+
}];
|
|
5120
|
+
readonly name: "transfer";
|
|
5121
|
+
readonly outputs: readonly [{
|
|
5122
|
+
readonly name: "";
|
|
5123
|
+
readonly internalType: "bool";
|
|
5124
|
+
readonly type: "bool";
|
|
5125
|
+
}];
|
|
5126
|
+
}, {
|
|
5127
|
+
readonly stateMutability: "nonpayable";
|
|
5128
|
+
readonly type: "function";
|
|
5129
|
+
readonly inputs: readonly [{
|
|
5130
|
+
readonly name: "from";
|
|
5131
|
+
readonly internalType: "address";
|
|
5132
|
+
readonly type: "address";
|
|
5133
|
+
}, {
|
|
5134
|
+
readonly name: "to";
|
|
5135
|
+
readonly internalType: "address";
|
|
5136
|
+
readonly type: "address";
|
|
5137
|
+
}, {
|
|
5138
|
+
readonly name: "value";
|
|
5139
|
+
readonly internalType: "uint256";
|
|
5140
|
+
readonly type: "uint256";
|
|
5141
|
+
}];
|
|
5142
|
+
readonly name: "transferFrom";
|
|
5143
|
+
readonly outputs: readonly [{
|
|
5144
|
+
readonly name: "";
|
|
5145
|
+
readonly internalType: "bool";
|
|
5146
|
+
readonly type: "bool";
|
|
5147
|
+
}];
|
|
5148
|
+
}, {
|
|
5149
|
+
readonly stateMutability: "view";
|
|
5150
|
+
readonly type: "function";
|
|
5151
|
+
readonly inputs: readonly [];
|
|
5152
|
+
readonly name: "transferMode";
|
|
5153
|
+
readonly outputs: readonly [{
|
|
5154
|
+
readonly name: "";
|
|
5155
|
+
readonly internalType: "enum IBasememeToken.TransferMode";
|
|
5156
|
+
readonly type: "uint8";
|
|
5157
|
+
}];
|
|
5158
|
+
}, {
|
|
5159
|
+
readonly stateMutability: "nonpayable";
|
|
5160
|
+
readonly type: "function";
|
|
5161
|
+
readonly inputs: readonly [{
|
|
5162
|
+
readonly name: "newOwner";
|
|
5163
|
+
readonly internalType: "address";
|
|
5164
|
+
readonly type: "address";
|
|
5165
|
+
}];
|
|
5166
|
+
readonly name: "transferOwnership";
|
|
5167
|
+
readonly outputs: readonly [];
|
|
5168
|
+
}, {
|
|
5169
|
+
readonly type: "event";
|
|
5170
|
+
readonly anonymous: false;
|
|
5171
|
+
readonly inputs: readonly [{
|
|
5172
|
+
readonly name: "owner";
|
|
5173
|
+
readonly internalType: "address";
|
|
5174
|
+
readonly type: "address";
|
|
5175
|
+
readonly indexed: true;
|
|
5176
|
+
}, {
|
|
5177
|
+
readonly name: "spender";
|
|
5178
|
+
readonly internalType: "address";
|
|
5179
|
+
readonly type: "address";
|
|
5180
|
+
readonly indexed: true;
|
|
5181
|
+
}, {
|
|
5182
|
+
readonly name: "value";
|
|
5183
|
+
readonly internalType: "uint256";
|
|
5184
|
+
readonly type: "uint256";
|
|
5185
|
+
readonly indexed: false;
|
|
5186
|
+
}];
|
|
5187
|
+
readonly name: "Approval";
|
|
5188
|
+
}, {
|
|
5189
|
+
readonly type: "event";
|
|
5190
|
+
readonly anonymous: false;
|
|
5191
|
+
readonly inputs: readonly [];
|
|
5192
|
+
readonly name: "ContractURIUpdated";
|
|
5193
|
+
}, {
|
|
5194
|
+
readonly type: "event";
|
|
5195
|
+
readonly anonymous: false;
|
|
5196
|
+
readonly inputs: readonly [{
|
|
5197
|
+
readonly name: "version";
|
|
5198
|
+
readonly internalType: "uint64";
|
|
5199
|
+
readonly type: "uint64";
|
|
5200
|
+
readonly indexed: false;
|
|
5201
|
+
}];
|
|
5202
|
+
readonly name: "Initialized";
|
|
5203
|
+
}, {
|
|
5204
|
+
readonly type: "event";
|
|
5205
|
+
readonly anonymous: false;
|
|
5206
|
+
readonly inputs: readonly [{
|
|
5207
|
+
readonly name: "previousOwner";
|
|
5208
|
+
readonly internalType: "address";
|
|
5209
|
+
readonly type: "address";
|
|
5210
|
+
readonly indexed: true;
|
|
5211
|
+
}, {
|
|
5212
|
+
readonly name: "newOwner";
|
|
5213
|
+
readonly internalType: "address";
|
|
5214
|
+
readonly type: "address";
|
|
5215
|
+
readonly indexed: true;
|
|
5216
|
+
}];
|
|
5217
|
+
readonly name: "OwnershipTransferred";
|
|
5218
|
+
}, {
|
|
5219
|
+
readonly type: "event";
|
|
5220
|
+
readonly anonymous: false;
|
|
5221
|
+
readonly inputs: readonly [{
|
|
5222
|
+
readonly name: "sender";
|
|
5223
|
+
readonly internalType: "address";
|
|
5224
|
+
readonly type: "address";
|
|
5225
|
+
readonly indexed: true;
|
|
5226
|
+
}, {
|
|
5227
|
+
readonly name: "recipient";
|
|
5228
|
+
readonly internalType: "address";
|
|
5229
|
+
readonly type: "address";
|
|
5230
|
+
readonly indexed: true;
|
|
5231
|
+
}, {
|
|
5232
|
+
readonly name: "amount";
|
|
5233
|
+
readonly internalType: "uint256";
|
|
5234
|
+
readonly type: "uint256";
|
|
5235
|
+
readonly indexed: false;
|
|
5236
|
+
}, {
|
|
5237
|
+
readonly name: "senderBalance";
|
|
5238
|
+
readonly internalType: "uint256";
|
|
5239
|
+
readonly type: "uint256";
|
|
5240
|
+
readonly indexed: false;
|
|
5241
|
+
}, {
|
|
5242
|
+
readonly name: "recipientBalance";
|
|
5243
|
+
readonly internalType: "uint256";
|
|
5244
|
+
readonly type: "uint256";
|
|
5245
|
+
readonly indexed: false;
|
|
5246
|
+
}];
|
|
5247
|
+
readonly name: "TokensTransferred";
|
|
5248
|
+
}, {
|
|
5249
|
+
readonly type: "event";
|
|
5250
|
+
readonly anonymous: false;
|
|
5251
|
+
readonly inputs: readonly [{
|
|
5252
|
+
readonly name: "from";
|
|
5253
|
+
readonly internalType: "address";
|
|
5254
|
+
readonly type: "address";
|
|
5255
|
+
readonly indexed: true;
|
|
5256
|
+
}, {
|
|
5257
|
+
readonly name: "to";
|
|
5258
|
+
readonly internalType: "address";
|
|
5259
|
+
readonly type: "address";
|
|
5260
|
+
readonly indexed: true;
|
|
5261
|
+
}, {
|
|
5262
|
+
readonly name: "value";
|
|
5263
|
+
readonly internalType: "uint256";
|
|
5264
|
+
readonly type: "uint256";
|
|
5265
|
+
readonly indexed: false;
|
|
5266
|
+
}];
|
|
5267
|
+
readonly name: "Transfer";
|
|
5268
|
+
}, {
|
|
5269
|
+
readonly type: "error";
|
|
5270
|
+
readonly inputs: readonly [{
|
|
5271
|
+
readonly name: "spender";
|
|
5272
|
+
readonly internalType: "address";
|
|
5273
|
+
readonly type: "address";
|
|
5274
|
+
}, {
|
|
5275
|
+
readonly name: "allowance";
|
|
5276
|
+
readonly internalType: "uint256";
|
|
5277
|
+
readonly type: "uint256";
|
|
5278
|
+
}, {
|
|
5279
|
+
readonly name: "needed";
|
|
5280
|
+
readonly internalType: "uint256";
|
|
5281
|
+
readonly type: "uint256";
|
|
5282
|
+
}];
|
|
5283
|
+
readonly name: "ERC20InsufficientAllowance";
|
|
5284
|
+
}, {
|
|
5285
|
+
readonly type: "error";
|
|
5286
|
+
readonly inputs: readonly [{
|
|
5287
|
+
readonly name: "sender";
|
|
5288
|
+
readonly internalType: "address";
|
|
5289
|
+
readonly type: "address";
|
|
5290
|
+
}, {
|
|
5291
|
+
readonly name: "balance";
|
|
5292
|
+
readonly internalType: "uint256";
|
|
5293
|
+
readonly type: "uint256";
|
|
5294
|
+
}, {
|
|
5295
|
+
readonly name: "needed";
|
|
5296
|
+
readonly internalType: "uint256";
|
|
5297
|
+
readonly type: "uint256";
|
|
5298
|
+
}];
|
|
5299
|
+
readonly name: "ERC20InsufficientBalance";
|
|
5300
|
+
}, {
|
|
5301
|
+
readonly type: "error";
|
|
5302
|
+
readonly inputs: readonly [{
|
|
5303
|
+
readonly name: "approver";
|
|
5304
|
+
readonly internalType: "address";
|
|
5305
|
+
readonly type: "address";
|
|
5306
|
+
}];
|
|
5307
|
+
readonly name: "ERC20InvalidApprover";
|
|
5308
|
+
}, {
|
|
5309
|
+
readonly type: "error";
|
|
5310
|
+
readonly inputs: readonly [{
|
|
5311
|
+
readonly name: "receiver";
|
|
5312
|
+
readonly internalType: "address";
|
|
5313
|
+
readonly type: "address";
|
|
5314
|
+
}];
|
|
5315
|
+
readonly name: "ERC20InvalidReceiver";
|
|
5316
|
+
}, {
|
|
5317
|
+
readonly type: "error";
|
|
5318
|
+
readonly inputs: readonly [{
|
|
5319
|
+
readonly name: "sender";
|
|
5320
|
+
readonly internalType: "address";
|
|
5321
|
+
readonly type: "address";
|
|
5322
|
+
}];
|
|
5323
|
+
readonly name: "ERC20InvalidSender";
|
|
5324
|
+
}, {
|
|
5325
|
+
readonly type: "error";
|
|
5326
|
+
readonly inputs: readonly [{
|
|
5327
|
+
readonly name: "spender";
|
|
5328
|
+
readonly internalType: "address";
|
|
5329
|
+
readonly type: "address";
|
|
5330
|
+
}];
|
|
5331
|
+
readonly name: "ERC20InvalidSpender";
|
|
5332
|
+
}, {
|
|
5333
|
+
readonly type: "error";
|
|
5334
|
+
readonly inputs: readonly [];
|
|
5335
|
+
readonly name: "InvalidInitialization";
|
|
5336
|
+
}, {
|
|
5337
|
+
readonly type: "error";
|
|
5338
|
+
readonly inputs: readonly [];
|
|
5339
|
+
readonly name: "NotInitializing";
|
|
5340
|
+
}, {
|
|
5341
|
+
readonly type: "error";
|
|
5342
|
+
readonly inputs: readonly [{
|
|
5343
|
+
readonly name: "owner";
|
|
5344
|
+
readonly internalType: "address";
|
|
5345
|
+
readonly type: "address";
|
|
5346
|
+
}];
|
|
5347
|
+
readonly name: "OwnableInvalidOwner";
|
|
5348
|
+
}, {
|
|
5349
|
+
readonly type: "error";
|
|
5350
|
+
readonly inputs: readonly [{
|
|
5351
|
+
readonly name: "account";
|
|
5352
|
+
readonly internalType: "address";
|
|
5353
|
+
readonly type: "address";
|
|
5354
|
+
}];
|
|
5355
|
+
readonly name: "OwnableUnauthorizedAccount";
|
|
5356
|
+
}, {
|
|
5357
|
+
readonly type: "error";
|
|
5358
|
+
readonly inputs: readonly [];
|
|
5359
|
+
readonly name: "TransfersControlled";
|
|
5360
|
+
}, {
|
|
5361
|
+
readonly type: "error";
|
|
5362
|
+
readonly inputs: readonly [];
|
|
5363
|
+
readonly name: "TransfersRestricted";
|
|
5364
|
+
}];
|
|
5365
|
+
};
|
|
5366
|
+
/**
|
|
5367
|
+
* [__View Contract on Base Sepolia Blockscout__](https://base-sepolia.blockscout.com/address/0x08b523EF90E056778EF8c0D2F68ff7Df88fCcbB4)
|
|
5368
|
+
*/
|
|
5369
|
+
export declare const basememeTokenSwapABI: readonly [{
|
|
5370
|
+
readonly stateMutability: "nonpayable";
|
|
5371
|
+
readonly type: "constructor";
|
|
5372
|
+
readonly inputs: readonly [];
|
|
5373
|
+
}, {
|
|
5374
|
+
readonly stateMutability: "payable";
|
|
5375
|
+
readonly type: "receive";
|
|
5376
|
+
}, {
|
|
5377
|
+
readonly stateMutability: "view";
|
|
5378
|
+
readonly type: "function";
|
|
5379
|
+
readonly inputs: readonly [];
|
|
5380
|
+
readonly name: "UPGRADE_INTERFACE_VERSION";
|
|
5381
|
+
readonly outputs: readonly [{
|
|
5382
|
+
readonly name: "";
|
|
5383
|
+
readonly internalType: "string";
|
|
5384
|
+
readonly type: "string";
|
|
5385
|
+
}];
|
|
5386
|
+
}, {
|
|
5387
|
+
readonly stateMutability: "view";
|
|
5388
|
+
readonly type: "function";
|
|
5389
|
+
readonly inputs: readonly [{
|
|
5390
|
+
readonly name: "collateralToken";
|
|
5391
|
+
readonly internalType: "address";
|
|
5392
|
+
readonly type: "address";
|
|
5393
|
+
}];
|
|
5394
|
+
readonly name: "getCollateralDex";
|
|
5395
|
+
readonly outputs: readonly [{
|
|
5396
|
+
readonly name: "dexId";
|
|
5397
|
+
readonly internalType: "uint8";
|
|
5398
|
+
readonly type: "uint8";
|
|
5399
|
+
}, {
|
|
5400
|
+
readonly name: "enabled";
|
|
5401
|
+
readonly internalType: "bool";
|
|
5402
|
+
readonly type: "bool";
|
|
5403
|
+
}];
|
|
5404
|
+
}, {
|
|
5405
|
+
readonly stateMutability: "view";
|
|
5406
|
+
readonly type: "function";
|
|
5407
|
+
readonly inputs: readonly [{
|
|
5408
|
+
readonly name: "collateralToken";
|
|
5409
|
+
readonly internalType: "address";
|
|
5410
|
+
readonly type: "address";
|
|
5411
|
+
}];
|
|
5412
|
+
readonly name: "getCollateralV2Paths";
|
|
5413
|
+
readonly outputs: readonly [{
|
|
5414
|
+
readonly name: "wethToCollateral";
|
|
5415
|
+
readonly internalType: "bytes";
|
|
5416
|
+
readonly type: "bytes";
|
|
5417
|
+
}, {
|
|
5418
|
+
readonly name: "collateralToWeth";
|
|
5419
|
+
readonly internalType: "bytes";
|
|
5420
|
+
readonly type: "bytes";
|
|
5421
|
+
}];
|
|
5422
|
+
}, {
|
|
5423
|
+
readonly stateMutability: "view";
|
|
5424
|
+
readonly type: "function";
|
|
5425
|
+
readonly inputs: readonly [{
|
|
5426
|
+
readonly name: "collateralToken";
|
|
5427
|
+
readonly internalType: "address";
|
|
5428
|
+
readonly type: "address";
|
|
5429
|
+
}];
|
|
5430
|
+
readonly name: "getCollateralV3Paths";
|
|
5431
|
+
readonly outputs: readonly [{
|
|
5432
|
+
readonly name: "wethToCollateral";
|
|
5433
|
+
readonly internalType: "bytes";
|
|
5434
|
+
readonly type: "bytes";
|
|
5435
|
+
}, {
|
|
5436
|
+
readonly name: "collateralToWeth";
|
|
5437
|
+
readonly internalType: "bytes";
|
|
5438
|
+
readonly type: "bytes";
|
|
5439
|
+
}];
|
|
5440
|
+
}, {
|
|
5441
|
+
readonly stateMutability: "view";
|
|
5442
|
+
readonly type: "function";
|
|
5443
|
+
readonly inputs: readonly [{
|
|
5444
|
+
readonly name: "dexId";
|
|
5445
|
+
readonly internalType: "uint8";
|
|
5446
|
+
readonly type: "uint8";
|
|
5447
|
+
}];
|
|
5448
|
+
readonly name: "getDexConfig";
|
|
5449
|
+
readonly outputs: readonly [{
|
|
5450
|
+
readonly name: "dexType";
|
|
5451
|
+
readonly internalType: "enum IBasememeTokenSwap.DexType";
|
|
5452
|
+
readonly type: "uint8";
|
|
5453
|
+
}, {
|
|
5454
|
+
readonly name: "enabled";
|
|
5455
|
+
readonly internalType: "bool";
|
|
5456
|
+
readonly type: "bool";
|
|
5457
|
+
}, {
|
|
5458
|
+
readonly name: "router";
|
|
5459
|
+
readonly internalType: "address";
|
|
5460
|
+
readonly type: "address";
|
|
5461
|
+
}, {
|
|
5462
|
+
readonly name: "quoter";
|
|
5463
|
+
readonly internalType: "address";
|
|
5464
|
+
readonly type: "address";
|
|
5465
|
+
}, {
|
|
5466
|
+
readonly name: "quoterKind";
|
|
5467
|
+
readonly internalType: "uint8";
|
|
5468
|
+
readonly type: "uint8";
|
|
5469
|
+
}];
|
|
5470
|
+
}, {
|
|
5471
|
+
readonly stateMutability: "view";
|
|
5472
|
+
readonly type: "function";
|
|
5473
|
+
readonly inputs: readonly [{
|
|
5474
|
+
readonly name: "collateralToken";
|
|
5475
|
+
readonly internalType: "address";
|
|
5476
|
+
readonly type: "address";
|
|
5477
|
+
}];
|
|
5478
|
+
readonly name: "getRouteDexType";
|
|
5479
|
+
readonly outputs: readonly [{
|
|
5480
|
+
readonly name: "";
|
|
5481
|
+
readonly internalType: "enum IBasememeTokenSwap.DexType";
|
|
5482
|
+
readonly type: "uint8";
|
|
5483
|
+
}];
|
|
5484
|
+
}, {
|
|
5485
|
+
readonly stateMutability: "nonpayable";
|
|
5486
|
+
readonly type: "function";
|
|
5487
|
+
readonly inputs: readonly [{
|
|
5488
|
+
readonly name: "owner_";
|
|
5489
|
+
readonly internalType: "address";
|
|
5490
|
+
readonly type: "address";
|
|
5491
|
+
}, {
|
|
5492
|
+
readonly name: "weth_";
|
|
5493
|
+
readonly internalType: "address";
|
|
5494
|
+
readonly type: "address";
|
|
5495
|
+
}];
|
|
5496
|
+
readonly name: "initialize";
|
|
5497
|
+
readonly outputs: readonly [];
|
|
5498
|
+
}, {
|
|
5499
|
+
readonly stateMutability: "view";
|
|
5500
|
+
readonly type: "function";
|
|
5501
|
+
readonly inputs: readonly [];
|
|
5502
|
+
readonly name: "owner";
|
|
5503
|
+
readonly outputs: readonly [{
|
|
5504
|
+
readonly name: "";
|
|
5505
|
+
readonly internalType: "address";
|
|
5506
|
+
readonly type: "address";
|
|
5507
|
+
}];
|
|
5508
|
+
}, {
|
|
5509
|
+
readonly stateMutability: "view";
|
|
5510
|
+
readonly type: "function";
|
|
5511
|
+
readonly inputs: readonly [];
|
|
5512
|
+
readonly name: "proxiableUUID";
|
|
5513
|
+
readonly outputs: readonly [{
|
|
5514
|
+
readonly name: "";
|
|
5515
|
+
readonly internalType: "bytes32";
|
|
5516
|
+
readonly type: "bytes32";
|
|
5517
|
+
}];
|
|
5518
|
+
}, {
|
|
5519
|
+
readonly stateMutability: "nonpayable";
|
|
5520
|
+
readonly type: "function";
|
|
5521
|
+
readonly inputs: readonly [{
|
|
5522
|
+
readonly name: "collateralToken";
|
|
5523
|
+
readonly internalType: "address";
|
|
5524
|
+
readonly type: "address";
|
|
5525
|
+
}, {
|
|
5526
|
+
readonly name: "amountInCollateral";
|
|
5527
|
+
readonly internalType: "uint256";
|
|
5528
|
+
readonly type: "uint256";
|
|
5529
|
+
}];
|
|
5530
|
+
readonly name: "quoteCollateralToEth";
|
|
5531
|
+
readonly outputs: readonly [{
|
|
5532
|
+
readonly name: "amountOut";
|
|
5533
|
+
readonly internalType: "uint256";
|
|
5534
|
+
readonly type: "uint256";
|
|
5535
|
+
}];
|
|
5536
|
+
}, {
|
|
5537
|
+
readonly stateMutability: "nonpayable";
|
|
5538
|
+
readonly type: "function";
|
|
5539
|
+
readonly inputs: readonly [{
|
|
5540
|
+
readonly name: "collateralToken";
|
|
5541
|
+
readonly internalType: "address";
|
|
5542
|
+
readonly type: "address";
|
|
5543
|
+
}, {
|
|
5544
|
+
readonly name: "amountInEth";
|
|
5545
|
+
readonly internalType: "uint256";
|
|
5546
|
+
readonly type: "uint256";
|
|
5547
|
+
}];
|
|
5548
|
+
readonly name: "quoteEthToCollateral";
|
|
5549
|
+
readonly outputs: readonly [{
|
|
5550
|
+
readonly name: "amountOut";
|
|
5551
|
+
readonly internalType: "uint256";
|
|
5552
|
+
readonly type: "uint256";
|
|
5553
|
+
}];
|
|
5554
|
+
}, {
|
|
5555
|
+
readonly stateMutability: "nonpayable";
|
|
5556
|
+
readonly type: "function";
|
|
5557
|
+
readonly inputs: readonly [];
|
|
5558
|
+
readonly name: "renounceOwnership";
|
|
5559
|
+
readonly outputs: readonly [];
|
|
5560
|
+
}, {
|
|
5561
|
+
readonly stateMutability: "nonpayable";
|
|
5562
|
+
readonly type: "function";
|
|
5563
|
+
readonly inputs: readonly [{
|
|
5564
|
+
readonly name: "collateralToken";
|
|
5565
|
+
readonly internalType: "address";
|
|
5566
|
+
readonly type: "address";
|
|
5567
|
+
}, {
|
|
5568
|
+
readonly name: "dexId";
|
|
5569
|
+
readonly internalType: "uint8";
|
|
5570
|
+
readonly type: "uint8";
|
|
5571
|
+
}, {
|
|
5572
|
+
readonly name: "enabled";
|
|
5573
|
+
readonly internalType: "bool";
|
|
5574
|
+
readonly type: "bool";
|
|
5575
|
+
}, {
|
|
5576
|
+
readonly name: "v2PathWethToCollateral";
|
|
5577
|
+
readonly internalType: "bytes";
|
|
5578
|
+
readonly type: "bytes";
|
|
5579
|
+
}, {
|
|
5580
|
+
readonly name: "v2PathCollateralToWeth";
|
|
5581
|
+
readonly internalType: "bytes";
|
|
5582
|
+
readonly type: "bytes";
|
|
5583
|
+
}, {
|
|
5584
|
+
readonly name: "v3PathWethToCollateral";
|
|
5585
|
+
readonly internalType: "bytes";
|
|
5586
|
+
readonly type: "bytes";
|
|
5587
|
+
}, {
|
|
5588
|
+
readonly name: "v3PathCollateralToWeth";
|
|
5589
|
+
readonly internalType: "bytes";
|
|
5590
|
+
readonly type: "bytes";
|
|
5591
|
+
}];
|
|
5592
|
+
readonly name: "setCollateralConfig";
|
|
5593
|
+
readonly outputs: readonly [];
|
|
5594
|
+
}, {
|
|
5595
|
+
readonly stateMutability: "nonpayable";
|
|
5596
|
+
readonly type: "function";
|
|
5597
|
+
readonly inputs: readonly [{
|
|
5598
|
+
readonly name: "collateralToken";
|
|
5599
|
+
readonly internalType: "address";
|
|
5600
|
+
readonly type: "address";
|
|
5601
|
+
}, {
|
|
5602
|
+
readonly name: "dexId";
|
|
5603
|
+
readonly internalType: "uint8";
|
|
5604
|
+
readonly type: "uint8";
|
|
5605
|
+
}];
|
|
5606
|
+
readonly name: "setCollateralDex";
|
|
5607
|
+
readonly outputs: readonly [];
|
|
5608
|
+
}, {
|
|
5609
|
+
readonly stateMutability: "nonpayable";
|
|
5610
|
+
readonly type: "function";
|
|
5611
|
+
readonly inputs: readonly [{
|
|
5612
|
+
readonly name: "collateralToken";
|
|
5613
|
+
readonly internalType: "address";
|
|
5614
|
+
readonly type: "address";
|
|
5615
|
+
}, {
|
|
5616
|
+
readonly name: "enabled";
|
|
5617
|
+
readonly internalType: "bool";
|
|
5618
|
+
readonly type: "bool";
|
|
5619
|
+
}];
|
|
5620
|
+
readonly name: "setCollateralEnabled";
|
|
5621
|
+
readonly outputs: readonly [];
|
|
5622
|
+
}, {
|
|
5623
|
+
readonly stateMutability: "nonpayable";
|
|
5624
|
+
readonly type: "function";
|
|
5625
|
+
readonly inputs: readonly [{
|
|
5626
|
+
readonly name: "collateralToken";
|
|
5627
|
+
readonly internalType: "address";
|
|
5628
|
+
readonly type: "address";
|
|
5629
|
+
}, {
|
|
5630
|
+
readonly name: "wethToCollateral";
|
|
5631
|
+
readonly internalType: "bytes";
|
|
5632
|
+
readonly type: "bytes";
|
|
5633
|
+
}, {
|
|
5634
|
+
readonly name: "collateralToWeth";
|
|
5635
|
+
readonly internalType: "bytes";
|
|
5636
|
+
readonly type: "bytes";
|
|
5637
|
+
}];
|
|
5638
|
+
readonly name: "setCollateralV2Paths";
|
|
5639
|
+
readonly outputs: readonly [];
|
|
5640
|
+
}, {
|
|
5641
|
+
readonly stateMutability: "nonpayable";
|
|
5642
|
+
readonly type: "function";
|
|
5643
|
+
readonly inputs: readonly [{
|
|
5644
|
+
readonly name: "collateralToken";
|
|
5645
|
+
readonly internalType: "address";
|
|
5646
|
+
readonly type: "address";
|
|
5647
|
+
}, {
|
|
5648
|
+
readonly name: "wethToCollateral";
|
|
5649
|
+
readonly internalType: "bytes";
|
|
5650
|
+
readonly type: "bytes";
|
|
5651
|
+
}, {
|
|
5652
|
+
readonly name: "collateralToWeth";
|
|
5653
|
+
readonly internalType: "bytes";
|
|
5654
|
+
readonly type: "bytes";
|
|
5655
|
+
}];
|
|
5656
|
+
readonly name: "setCollateralV3Paths";
|
|
5657
|
+
readonly outputs: readonly [];
|
|
5658
|
+
}, {
|
|
5659
|
+
readonly stateMutability: "nonpayable";
|
|
5660
|
+
readonly type: "function";
|
|
5661
|
+
readonly inputs: readonly [{
|
|
5662
|
+
readonly name: "dexId";
|
|
5663
|
+
readonly internalType: "uint8";
|
|
5664
|
+
readonly type: "uint8";
|
|
5665
|
+
}, {
|
|
5666
|
+
readonly name: "router";
|
|
5667
|
+
readonly internalType: "address";
|
|
5668
|
+
readonly type: "address";
|
|
5669
|
+
}, {
|
|
5670
|
+
readonly name: "enabled";
|
|
5671
|
+
readonly internalType: "bool";
|
|
5672
|
+
readonly type: "bool";
|
|
5673
|
+
}];
|
|
5674
|
+
readonly name: "setDexConfigV2";
|
|
5675
|
+
readonly outputs: readonly [];
|
|
5676
|
+
}, {
|
|
5677
|
+
readonly stateMutability: "nonpayable";
|
|
5678
|
+
readonly type: "function";
|
|
5679
|
+
readonly inputs: readonly [{
|
|
5680
|
+
readonly name: "dexId";
|
|
5681
|
+
readonly internalType: "uint8";
|
|
5682
|
+
readonly type: "uint8";
|
|
5683
|
+
}, {
|
|
5684
|
+
readonly name: "swapRouter";
|
|
5685
|
+
readonly internalType: "address";
|
|
5686
|
+
readonly type: "address";
|
|
5687
|
+
}, {
|
|
5688
|
+
readonly name: "quoter";
|
|
5689
|
+
readonly internalType: "address";
|
|
5690
|
+
readonly type: "address";
|
|
5691
|
+
}, {
|
|
5692
|
+
readonly name: "enabled";
|
|
5693
|
+
readonly internalType: "bool";
|
|
5694
|
+
readonly type: "bool";
|
|
5695
|
+
}, {
|
|
5696
|
+
readonly name: "quoterKind";
|
|
5697
|
+
readonly internalType: "uint8";
|
|
5698
|
+
readonly type: "uint8";
|
|
5699
|
+
}];
|
|
5700
|
+
readonly name: "setDexConfigV3";
|
|
5701
|
+
readonly outputs: readonly [];
|
|
5702
|
+
}, {
|
|
5703
|
+
readonly stateMutability: "nonpayable";
|
|
5704
|
+
readonly type: "function";
|
|
5705
|
+
readonly inputs: readonly [{
|
|
5706
|
+
readonly name: "collateralToken";
|
|
5707
|
+
readonly internalType: "address";
|
|
5708
|
+
readonly type: "address";
|
|
5709
|
+
}, {
|
|
5710
|
+
readonly name: "amountIn";
|
|
5711
|
+
readonly internalType: "uint256";
|
|
5712
|
+
readonly type: "uint256";
|
|
5713
|
+
}, {
|
|
5714
|
+
readonly name: "amountOutMin";
|
|
5715
|
+
readonly internalType: "uint256";
|
|
5716
|
+
readonly type: "uint256";
|
|
5717
|
+
}, {
|
|
5718
|
+
readonly name: "deadline";
|
|
5719
|
+
readonly internalType: "uint256";
|
|
5720
|
+
readonly type: "uint256";
|
|
5721
|
+
}, {
|
|
5722
|
+
readonly name: "recipient";
|
|
5723
|
+
readonly internalType: "address";
|
|
5724
|
+
readonly type: "address";
|
|
5725
|
+
}];
|
|
5726
|
+
readonly name: "swapExactCollateralToEth";
|
|
5727
|
+
readonly outputs: readonly [{
|
|
5728
|
+
readonly name: "amountOut";
|
|
5729
|
+
readonly internalType: "uint256";
|
|
5730
|
+
readonly type: "uint256";
|
|
5731
|
+
}];
|
|
5732
|
+
}, {
|
|
5733
|
+
readonly stateMutability: "payable";
|
|
5734
|
+
readonly type: "function";
|
|
5735
|
+
readonly inputs: readonly [{
|
|
5736
|
+
readonly name: "collateralToken";
|
|
5737
|
+
readonly internalType: "address";
|
|
5738
|
+
readonly type: "address";
|
|
5739
|
+
}, {
|
|
5740
|
+
readonly name: "amountOutMin";
|
|
5741
|
+
readonly internalType: "uint256";
|
|
5742
|
+
readonly type: "uint256";
|
|
5743
|
+
}, {
|
|
5744
|
+
readonly name: "deadline";
|
|
5745
|
+
readonly internalType: "uint256";
|
|
5746
|
+
readonly type: "uint256";
|
|
5747
|
+
}];
|
|
5748
|
+
readonly name: "swapExactEthToCollateral";
|
|
5749
|
+
readonly outputs: readonly [{
|
|
5750
|
+
readonly name: "amountOut";
|
|
5751
|
+
readonly internalType: "uint256";
|
|
5752
|
+
readonly type: "uint256";
|
|
5753
|
+
}];
|
|
5754
|
+
}, {
|
|
5755
|
+
readonly stateMutability: "nonpayable";
|
|
5756
|
+
readonly type: "function";
|
|
5757
|
+
readonly inputs: readonly [{
|
|
5758
|
+
readonly name: "newOwner";
|
|
5759
|
+
readonly internalType: "address";
|
|
5760
|
+
readonly type: "address";
|
|
5761
|
+
}];
|
|
5762
|
+
readonly name: "transferOwnership";
|
|
5763
|
+
readonly outputs: readonly [];
|
|
5764
|
+
}, {
|
|
5765
|
+
readonly stateMutability: "payable";
|
|
5766
|
+
readonly type: "function";
|
|
5767
|
+
readonly inputs: readonly [{
|
|
5768
|
+
readonly name: "newImplementation";
|
|
5769
|
+
readonly internalType: "address";
|
|
5770
|
+
readonly type: "address";
|
|
5771
|
+
}, {
|
|
5772
|
+
readonly name: "data";
|
|
5773
|
+
readonly internalType: "bytes";
|
|
5774
|
+
readonly type: "bytes";
|
|
5775
|
+
}];
|
|
5776
|
+
readonly name: "upgradeToAndCall";
|
|
5777
|
+
readonly outputs: readonly [];
|
|
5778
|
+
}, {
|
|
5779
|
+
readonly stateMutability: "view";
|
|
5780
|
+
readonly type: "function";
|
|
5781
|
+
readonly inputs: readonly [];
|
|
5782
|
+
readonly name: "weth";
|
|
5783
|
+
readonly outputs: readonly [{
|
|
5784
|
+
readonly name: "";
|
|
5785
|
+
readonly internalType: "address";
|
|
5786
|
+
readonly type: "address";
|
|
5787
|
+
}];
|
|
5788
|
+
}, {
|
|
5789
|
+
readonly type: "event";
|
|
5790
|
+
readonly anonymous: false;
|
|
5791
|
+
readonly inputs: readonly [{
|
|
5792
|
+
readonly name: "collateralToken";
|
|
5793
|
+
readonly internalType: "address";
|
|
5794
|
+
readonly type: "address";
|
|
5795
|
+
readonly indexed: true;
|
|
5796
|
+
}, {
|
|
5797
|
+
readonly name: "dexId";
|
|
5798
|
+
readonly internalType: "uint8";
|
|
5799
|
+
readonly type: "uint8";
|
|
5800
|
+
readonly indexed: true;
|
|
5801
|
+
}];
|
|
5802
|
+
readonly name: "CollateralDexSet";
|
|
5803
|
+
}, {
|
|
5804
|
+
readonly type: "event";
|
|
5805
|
+
readonly anonymous: false;
|
|
5806
|
+
readonly inputs: readonly [{
|
|
5807
|
+
readonly name: "collateralToken";
|
|
5808
|
+
readonly internalType: "address";
|
|
5809
|
+
readonly type: "address";
|
|
5810
|
+
readonly indexed: true;
|
|
5811
|
+
}, {
|
|
5812
|
+
readonly name: "enabled";
|
|
5813
|
+
readonly internalType: "bool";
|
|
5814
|
+
readonly type: "bool";
|
|
5815
|
+
readonly indexed: false;
|
|
5816
|
+
}];
|
|
5817
|
+
readonly name: "CollateralEnabled";
|
|
5818
|
+
}, {
|
|
5819
|
+
readonly type: "event";
|
|
5820
|
+
readonly anonymous: false;
|
|
5821
|
+
readonly inputs: readonly [{
|
|
5822
|
+
readonly name: "collateralToken";
|
|
5823
|
+
readonly internalType: "address";
|
|
5824
|
+
readonly type: "address";
|
|
5825
|
+
readonly indexed: true;
|
|
5826
|
+
}];
|
|
5827
|
+
readonly name: "CollateralV2PathsSet";
|
|
5828
|
+
}, {
|
|
5829
|
+
readonly type: "event";
|
|
5830
|
+
readonly anonymous: false;
|
|
5831
|
+
readonly inputs: readonly [{
|
|
5832
|
+
readonly name: "collateralToken";
|
|
5833
|
+
readonly internalType: "address";
|
|
5834
|
+
readonly type: "address";
|
|
5835
|
+
readonly indexed: true;
|
|
5836
|
+
}];
|
|
5837
|
+
readonly name: "CollateralV3PathsSet";
|
|
5838
|
+
}, {
|
|
5839
|
+
readonly type: "event";
|
|
5840
|
+
readonly anonymous: false;
|
|
5841
|
+
readonly inputs: readonly [{
|
|
5842
|
+
readonly name: "dexId";
|
|
5843
|
+
readonly internalType: "uint8";
|
|
5844
|
+
readonly type: "uint8";
|
|
5845
|
+
readonly indexed: true;
|
|
5846
|
+
}, {
|
|
5847
|
+
readonly name: "dexType";
|
|
5848
|
+
readonly internalType: "enum IBasememeTokenSwap.DexType";
|
|
5849
|
+
readonly type: "uint8";
|
|
5850
|
+
readonly indexed: false;
|
|
5851
|
+
}];
|
|
5852
|
+
readonly name: "DexConfigured";
|
|
5853
|
+
}, {
|
|
5854
|
+
readonly type: "event";
|
|
5855
|
+
readonly anonymous: false;
|
|
5856
|
+
readonly inputs: readonly [{
|
|
5857
|
+
readonly name: "dexId";
|
|
5858
|
+
readonly internalType: "uint8";
|
|
5859
|
+
readonly type: "uint8";
|
|
5860
|
+
readonly indexed: true;
|
|
5861
|
+
}, {
|
|
5862
|
+
readonly name: "enabled";
|
|
5863
|
+
readonly internalType: "bool";
|
|
5864
|
+
readonly type: "bool";
|
|
5865
|
+
readonly indexed: false;
|
|
5866
|
+
}];
|
|
5867
|
+
readonly name: "DexEnabled";
|
|
5868
|
+
}, {
|
|
5869
|
+
readonly type: "event";
|
|
5870
|
+
readonly anonymous: false;
|
|
5871
|
+
readonly inputs: readonly [{
|
|
5872
|
+
readonly name: "version";
|
|
5873
|
+
readonly internalType: "uint64";
|
|
5874
|
+
readonly type: "uint64";
|
|
5875
|
+
readonly indexed: false;
|
|
5876
|
+
}];
|
|
5877
|
+
readonly name: "Initialized";
|
|
5878
|
+
}, {
|
|
5879
|
+
readonly type: "event";
|
|
5880
|
+
readonly anonymous: false;
|
|
5881
|
+
readonly inputs: readonly [{
|
|
5882
|
+
readonly name: "previousOwner";
|
|
5883
|
+
readonly internalType: "address";
|
|
5884
|
+
readonly type: "address";
|
|
5885
|
+
readonly indexed: true;
|
|
5886
|
+
}, {
|
|
5887
|
+
readonly name: "newOwner";
|
|
5888
|
+
readonly internalType: "address";
|
|
5889
|
+
readonly type: "address";
|
|
5890
|
+
readonly indexed: true;
|
|
5891
|
+
}];
|
|
5892
|
+
readonly name: "OwnershipTransferred";
|
|
5893
|
+
}, {
|
|
5894
|
+
readonly type: "event";
|
|
5895
|
+
readonly anonymous: false;
|
|
5896
|
+
readonly inputs: readonly [{
|
|
5897
|
+
readonly name: "implementation";
|
|
5898
|
+
readonly internalType: "address";
|
|
5899
|
+
readonly type: "address";
|
|
5900
|
+
readonly indexed: true;
|
|
5901
|
+
}];
|
|
5902
|
+
readonly name: "Upgraded";
|
|
5903
|
+
}, {
|
|
5904
|
+
readonly type: "error";
|
|
5905
|
+
readonly inputs: readonly [{
|
|
5906
|
+
readonly name: "target";
|
|
5907
|
+
readonly internalType: "address";
|
|
5908
|
+
readonly type: "address";
|
|
5909
|
+
}];
|
|
5910
|
+
readonly name: "AddressEmptyCode";
|
|
5911
|
+
}, {
|
|
5912
|
+
readonly type: "error";
|
|
5913
|
+
readonly inputs: readonly [];
|
|
5914
|
+
readonly name: "CollateralMustBeDisabled";
|
|
5915
|
+
}, {
|
|
5916
|
+
readonly type: "error";
|
|
5917
|
+
readonly inputs: readonly [];
|
|
5918
|
+
readonly name: "DeadlineExpired";
|
|
5919
|
+
}, {
|
|
5920
|
+
readonly type: "error";
|
|
5921
|
+
readonly inputs: readonly [];
|
|
5922
|
+
readonly name: "DexDisabled";
|
|
5923
|
+
}, {
|
|
5924
|
+
readonly type: "error";
|
|
5925
|
+
readonly inputs: readonly [];
|
|
5926
|
+
readonly name: "DexNotConfigured";
|
|
5927
|
+
}, {
|
|
5928
|
+
readonly type: "error";
|
|
5929
|
+
readonly inputs: readonly [];
|
|
5930
|
+
readonly name: "DexTypeImmutable";
|
|
5931
|
+
}, {
|
|
5932
|
+
readonly type: "error";
|
|
5933
|
+
readonly inputs: readonly [{
|
|
5934
|
+
readonly name: "implementation";
|
|
5935
|
+
readonly internalType: "address";
|
|
5936
|
+
readonly type: "address";
|
|
5937
|
+
}];
|
|
5938
|
+
readonly name: "ERC1967InvalidImplementation";
|
|
5939
|
+
}, {
|
|
5940
|
+
readonly type: "error";
|
|
5941
|
+
readonly inputs: readonly [];
|
|
5942
|
+
readonly name: "ERC1967NonPayable";
|
|
5943
|
+
}, {
|
|
5944
|
+
readonly type: "error";
|
|
5945
|
+
readonly inputs: readonly [];
|
|
5946
|
+
readonly name: "EthAmountMismatch";
|
|
5947
|
+
}, {
|
|
5948
|
+
readonly type: "error";
|
|
5949
|
+
readonly inputs: readonly [];
|
|
5950
|
+
readonly name: "FailedCall";
|
|
5951
|
+
}, {
|
|
5952
|
+
readonly type: "error";
|
|
5953
|
+
readonly inputs: readonly [{
|
|
5954
|
+
readonly name: "balance";
|
|
5955
|
+
readonly internalType: "uint256";
|
|
5956
|
+
readonly type: "uint256";
|
|
5957
|
+
}, {
|
|
5958
|
+
readonly name: "needed";
|
|
5959
|
+
readonly internalType: "uint256";
|
|
5960
|
+
readonly type: "uint256";
|
|
5961
|
+
}];
|
|
5962
|
+
readonly name: "InsufficientBalance";
|
|
5963
|
+
}, {
|
|
5964
|
+
readonly type: "error";
|
|
5965
|
+
readonly inputs: readonly [];
|
|
5966
|
+
readonly name: "InvalidDexId";
|
|
5967
|
+
}, {
|
|
5968
|
+
readonly type: "error";
|
|
5969
|
+
readonly inputs: readonly [];
|
|
5970
|
+
readonly name: "InvalidInitialization";
|
|
5971
|
+
}, {
|
|
5972
|
+
readonly type: "error";
|
|
5973
|
+
readonly inputs: readonly [];
|
|
5974
|
+
readonly name: "InvalidPath";
|
|
5975
|
+
}, {
|
|
5976
|
+
readonly type: "error";
|
|
5977
|
+
readonly inputs: readonly [];
|
|
5978
|
+
readonly name: "InvalidRecipient";
|
|
5979
|
+
}, {
|
|
5980
|
+
readonly type: "error";
|
|
5981
|
+
readonly inputs: readonly [];
|
|
5982
|
+
readonly name: "InvalidRouteConfig";
|
|
5983
|
+
}, {
|
|
5984
|
+
readonly type: "error";
|
|
5985
|
+
readonly inputs: readonly [];
|
|
5986
|
+
readonly name: "NotInitializing";
|
|
5987
|
+
}, {
|
|
5988
|
+
readonly type: "error";
|
|
5989
|
+
readonly inputs: readonly [{
|
|
5990
|
+
readonly name: "owner";
|
|
5991
|
+
readonly internalType: "address";
|
|
5992
|
+
readonly type: "address";
|
|
5993
|
+
}];
|
|
5994
|
+
readonly name: "OwnableInvalidOwner";
|
|
5995
|
+
}, {
|
|
5996
|
+
readonly type: "error";
|
|
5997
|
+
readonly inputs: readonly [{
|
|
5998
|
+
readonly name: "account";
|
|
5999
|
+
readonly internalType: "address";
|
|
6000
|
+
readonly type: "address";
|
|
6001
|
+
}];
|
|
6002
|
+
readonly name: "OwnableUnauthorizedAccount";
|
|
6003
|
+
}, {
|
|
6004
|
+
readonly type: "error";
|
|
6005
|
+
readonly inputs: readonly [];
|
|
6006
|
+
readonly name: "ReentrancyGuardReentrantCall";
|
|
6007
|
+
}, {
|
|
6008
|
+
readonly type: "error";
|
|
6009
|
+
readonly inputs: readonly [];
|
|
6010
|
+
readonly name: "RouteDisabled";
|
|
6011
|
+
}, {
|
|
6012
|
+
readonly type: "error";
|
|
6013
|
+
readonly inputs: readonly [];
|
|
6014
|
+
readonly name: "RouteNotConfigured";
|
|
6015
|
+
}, {
|
|
6016
|
+
readonly type: "error";
|
|
6017
|
+
readonly inputs: readonly [{
|
|
6018
|
+
readonly name: "token";
|
|
6019
|
+
readonly internalType: "address";
|
|
6020
|
+
readonly type: "address";
|
|
6021
|
+
}];
|
|
6022
|
+
readonly name: "SafeERC20FailedOperation";
|
|
6023
|
+
}, {
|
|
6024
|
+
readonly type: "error";
|
|
6025
|
+
readonly inputs: readonly [];
|
|
6026
|
+
readonly name: "UUPSUnauthorizedCallContext";
|
|
6027
|
+
}, {
|
|
6028
|
+
readonly type: "error";
|
|
6029
|
+
readonly inputs: readonly [{
|
|
6030
|
+
readonly name: "slot";
|
|
6031
|
+
readonly internalType: "bytes32";
|
|
6032
|
+
readonly type: "bytes32";
|
|
6033
|
+
}];
|
|
6034
|
+
readonly name: "UUPSUnsupportedProxiableUUID";
|
|
6035
|
+
}, {
|
|
6036
|
+
readonly type: "error";
|
|
6037
|
+
readonly inputs: readonly [];
|
|
6038
|
+
readonly name: "UnsupportedDexType";
|
|
6039
|
+
}];
|
|
6040
|
+
/**
|
|
6041
|
+
* [__View Contract on Base Sepolia Blockscout__](https://base-sepolia.blockscout.com/address/0x08b523EF90E056778EF8c0D2F68ff7Df88fCcbB4)
|
|
6042
|
+
*/
|
|
6043
|
+
export declare const basememeTokenSwapAddress: {
|
|
6044
|
+
readonly 84532: "0x08b523EF90E056778EF8c0D2F68ff7Df88fCcbB4";
|
|
6045
|
+
};
|
|
6046
|
+
/**
|
|
6047
|
+
* [__View Contract on Base Sepolia Blockscout__](https://base-sepolia.blockscout.com/address/0x08b523EF90E056778EF8c0D2F68ff7Df88fCcbB4)
|
|
6048
|
+
*/
|
|
6049
|
+
export declare const basememeTokenSwapConfig: {
|
|
6050
|
+
readonly address: {
|
|
6051
|
+
readonly 84532: "0x08b523EF90E056778EF8c0D2F68ff7Df88fCcbB4";
|
|
6052
|
+
};
|
|
6053
|
+
readonly abi: readonly [{
|
|
6054
|
+
readonly stateMutability: "nonpayable";
|
|
6055
|
+
readonly type: "constructor";
|
|
6056
|
+
readonly inputs: readonly [];
|
|
6057
|
+
}, {
|
|
6058
|
+
readonly stateMutability: "payable";
|
|
6059
|
+
readonly type: "receive";
|
|
6060
|
+
}, {
|
|
3391
6061
|
readonly stateMutability: "view";
|
|
3392
6062
|
readonly type: "function";
|
|
3393
6063
|
readonly inputs: readonly [];
|
|
3394
|
-
readonly name: "
|
|
6064
|
+
readonly name: "UPGRADE_INTERFACE_VERSION";
|
|
3395
6065
|
readonly outputs: readonly [{
|
|
3396
6066
|
readonly name: "";
|
|
3397
6067
|
readonly internalType: "string";
|
|
3398
6068
|
readonly type: "string";
|
|
3399
6069
|
}];
|
|
3400
6070
|
}, {
|
|
3401
|
-
readonly stateMutability: "
|
|
6071
|
+
readonly stateMutability: "view";
|
|
3402
6072
|
readonly type: "function";
|
|
3403
|
-
readonly inputs: readonly [
|
|
3404
|
-
|
|
6073
|
+
readonly inputs: readonly [{
|
|
6074
|
+
readonly name: "collateralToken";
|
|
6075
|
+
readonly internalType: "address";
|
|
6076
|
+
readonly type: "address";
|
|
6077
|
+
}];
|
|
6078
|
+
readonly name: "getCollateralDex";
|
|
3405
6079
|
readonly outputs: readonly [{
|
|
3406
|
-
readonly name: "";
|
|
3407
|
-
readonly internalType: "
|
|
3408
|
-
readonly type: "
|
|
6080
|
+
readonly name: "dexId";
|
|
6081
|
+
readonly internalType: "uint8";
|
|
6082
|
+
readonly type: "uint8";
|
|
6083
|
+
}, {
|
|
6084
|
+
readonly name: "enabled";
|
|
6085
|
+
readonly internalType: "bool";
|
|
6086
|
+
readonly type: "bool";
|
|
3409
6087
|
}];
|
|
3410
6088
|
}, {
|
|
3411
6089
|
readonly stateMutability: "view";
|
|
3412
6090
|
readonly type: "function";
|
|
3413
|
-
readonly inputs: readonly [
|
|
3414
|
-
|
|
6091
|
+
readonly inputs: readonly [{
|
|
6092
|
+
readonly name: "collateralToken";
|
|
6093
|
+
readonly internalType: "address";
|
|
6094
|
+
readonly type: "address";
|
|
6095
|
+
}];
|
|
6096
|
+
readonly name: "getCollateralV2Paths";
|
|
3415
6097
|
readonly outputs: readonly [{
|
|
3416
|
-
readonly name: "";
|
|
6098
|
+
readonly name: "wethToCollateral";
|
|
6099
|
+
readonly internalType: "bytes";
|
|
6100
|
+
readonly type: "bytes";
|
|
6101
|
+
}, {
|
|
6102
|
+
readonly name: "collateralToWeth";
|
|
6103
|
+
readonly internalType: "bytes";
|
|
6104
|
+
readonly type: "bytes";
|
|
6105
|
+
}];
|
|
6106
|
+
}, {
|
|
6107
|
+
readonly stateMutability: "view";
|
|
6108
|
+
readonly type: "function";
|
|
6109
|
+
readonly inputs: readonly [{
|
|
6110
|
+
readonly name: "collateralToken";
|
|
6111
|
+
readonly internalType: "address";
|
|
6112
|
+
readonly type: "address";
|
|
6113
|
+
}];
|
|
6114
|
+
readonly name: "getCollateralV3Paths";
|
|
6115
|
+
readonly outputs: readonly [{
|
|
6116
|
+
readonly name: "wethToCollateral";
|
|
6117
|
+
readonly internalType: "bytes";
|
|
6118
|
+
readonly type: "bytes";
|
|
6119
|
+
}, {
|
|
6120
|
+
readonly name: "collateralToWeth";
|
|
6121
|
+
readonly internalType: "bytes";
|
|
6122
|
+
readonly type: "bytes";
|
|
6123
|
+
}];
|
|
6124
|
+
}, {
|
|
6125
|
+
readonly stateMutability: "view";
|
|
6126
|
+
readonly type: "function";
|
|
6127
|
+
readonly inputs: readonly [{
|
|
6128
|
+
readonly name: "dexId";
|
|
6129
|
+
readonly internalType: "uint8";
|
|
6130
|
+
readonly type: "uint8";
|
|
6131
|
+
}];
|
|
6132
|
+
readonly name: "getDexConfig";
|
|
6133
|
+
readonly outputs: readonly [{
|
|
6134
|
+
readonly name: "dexType";
|
|
6135
|
+
readonly internalType: "enum IBasememeTokenSwap.DexType";
|
|
6136
|
+
readonly type: "uint8";
|
|
6137
|
+
}, {
|
|
6138
|
+
readonly name: "enabled";
|
|
6139
|
+
readonly internalType: "bool";
|
|
6140
|
+
readonly type: "bool";
|
|
6141
|
+
}, {
|
|
6142
|
+
readonly name: "router";
|
|
6143
|
+
readonly internalType: "address";
|
|
6144
|
+
readonly type: "address";
|
|
6145
|
+
}, {
|
|
6146
|
+
readonly name: "quoter";
|
|
6147
|
+
readonly internalType: "address";
|
|
6148
|
+
readonly type: "address";
|
|
6149
|
+
}, {
|
|
6150
|
+
readonly name: "quoterKind";
|
|
3417
6151
|
readonly internalType: "uint8";
|
|
3418
6152
|
readonly type: "uint8";
|
|
3419
6153
|
}];
|
|
3420
6154
|
}, {
|
|
3421
6155
|
readonly stateMutability: "view";
|
|
3422
6156
|
readonly type: "function";
|
|
3423
|
-
readonly inputs: readonly [
|
|
3424
|
-
|
|
3425
|
-
readonly outputs: readonly [{
|
|
3426
|
-
readonly name: "";
|
|
6157
|
+
readonly inputs: readonly [{
|
|
6158
|
+
readonly name: "collateralToken";
|
|
3427
6159
|
readonly internalType: "address";
|
|
3428
6160
|
readonly type: "address";
|
|
3429
6161
|
}];
|
|
6162
|
+
readonly name: "getRouteDexType";
|
|
6163
|
+
readonly outputs: readonly [{
|
|
6164
|
+
readonly name: "";
|
|
6165
|
+
readonly internalType: "enum IBasememeTokenSwap.DexType";
|
|
6166
|
+
readonly type: "uint8";
|
|
6167
|
+
}];
|
|
3430
6168
|
}, {
|
|
3431
6169
|
readonly stateMutability: "nonpayable";
|
|
3432
6170
|
readonly type: "function";
|
|
3433
6171
|
readonly inputs: readonly [{
|
|
3434
|
-
readonly name: "
|
|
3435
|
-
readonly internalType: "
|
|
3436
|
-
readonly type: "
|
|
3437
|
-
|
|
3438
|
-
|
|
3439
|
-
|
|
3440
|
-
|
|
3441
|
-
}, {
|
|
3442
|
-
readonly name: "symbol";
|
|
3443
|
-
readonly internalType: "string";
|
|
3444
|
-
readonly type: "string";
|
|
3445
|
-
}, {
|
|
3446
|
-
readonly name: "tokenURI";
|
|
3447
|
-
readonly internalType: "string";
|
|
3448
|
-
readonly type: "string";
|
|
3449
|
-
}, {
|
|
3450
|
-
readonly name: "factory";
|
|
3451
|
-
readonly internalType: "address";
|
|
3452
|
-
readonly type: "address";
|
|
3453
|
-
}, {
|
|
3454
|
-
readonly name: "bondingCurve";
|
|
3455
|
-
readonly internalType: "address";
|
|
3456
|
-
readonly type: "address";
|
|
3457
|
-
}, {
|
|
3458
|
-
readonly name: "initialTokenSupply";
|
|
3459
|
-
readonly internalType: "uint256";
|
|
3460
|
-
readonly type: "uint256";
|
|
3461
|
-
}];
|
|
6172
|
+
readonly name: "owner_";
|
|
6173
|
+
readonly internalType: "address";
|
|
6174
|
+
readonly type: "address";
|
|
6175
|
+
}, {
|
|
6176
|
+
readonly name: "weth_";
|
|
6177
|
+
readonly internalType: "address";
|
|
6178
|
+
readonly type: "address";
|
|
3462
6179
|
}];
|
|
3463
6180
|
readonly name: "initialize";
|
|
3464
6181
|
readonly outputs: readonly [];
|
|
@@ -3466,21 +6183,57 @@ export declare const basememeTokenConfig: {
|
|
|
3466
6183
|
readonly stateMutability: "view";
|
|
3467
6184
|
readonly type: "function";
|
|
3468
6185
|
readonly inputs: readonly [];
|
|
3469
|
-
readonly name: "
|
|
6186
|
+
readonly name: "owner";
|
|
3470
6187
|
readonly outputs: readonly [{
|
|
3471
6188
|
readonly name: "";
|
|
3472
|
-
readonly internalType: "
|
|
3473
|
-
readonly type: "
|
|
6189
|
+
readonly internalType: "address";
|
|
6190
|
+
readonly type: "address";
|
|
3474
6191
|
}];
|
|
3475
6192
|
}, {
|
|
3476
6193
|
readonly stateMutability: "view";
|
|
3477
6194
|
readonly type: "function";
|
|
3478
6195
|
readonly inputs: readonly [];
|
|
3479
|
-
readonly name: "
|
|
6196
|
+
readonly name: "proxiableUUID";
|
|
3480
6197
|
readonly outputs: readonly [{
|
|
3481
6198
|
readonly name: "";
|
|
6199
|
+
readonly internalType: "bytes32";
|
|
6200
|
+
readonly type: "bytes32";
|
|
6201
|
+
}];
|
|
6202
|
+
}, {
|
|
6203
|
+
readonly stateMutability: "nonpayable";
|
|
6204
|
+
readonly type: "function";
|
|
6205
|
+
readonly inputs: readonly [{
|
|
6206
|
+
readonly name: "collateralToken";
|
|
6207
|
+
readonly internalType: "address";
|
|
6208
|
+
readonly type: "address";
|
|
6209
|
+
}, {
|
|
6210
|
+
readonly name: "amountInCollateral";
|
|
6211
|
+
readonly internalType: "uint256";
|
|
6212
|
+
readonly type: "uint256";
|
|
6213
|
+
}];
|
|
6214
|
+
readonly name: "quoteCollateralToEth";
|
|
6215
|
+
readonly outputs: readonly [{
|
|
6216
|
+
readonly name: "amountOut";
|
|
6217
|
+
readonly internalType: "uint256";
|
|
6218
|
+
readonly type: "uint256";
|
|
6219
|
+
}];
|
|
6220
|
+
}, {
|
|
6221
|
+
readonly stateMutability: "nonpayable";
|
|
6222
|
+
readonly type: "function";
|
|
6223
|
+
readonly inputs: readonly [{
|
|
6224
|
+
readonly name: "collateralToken";
|
|
3482
6225
|
readonly internalType: "address";
|
|
3483
6226
|
readonly type: "address";
|
|
6227
|
+
}, {
|
|
6228
|
+
readonly name: "amountInEth";
|
|
6229
|
+
readonly internalType: "uint256";
|
|
6230
|
+
readonly type: "uint256";
|
|
6231
|
+
}];
|
|
6232
|
+
readonly name: "quoteEthToCollateral";
|
|
6233
|
+
readonly outputs: readonly [{
|
|
6234
|
+
readonly name: "amountOut";
|
|
6235
|
+
readonly internalType: "uint256";
|
|
6236
|
+
readonly type: "uint256";
|
|
3484
6237
|
}];
|
|
3485
6238
|
}, {
|
|
3486
6239
|
readonly stateMutability: "nonpayable";
|
|
@@ -3492,141 +6245,310 @@ export declare const basememeTokenConfig: {
|
|
|
3492
6245
|
readonly stateMutability: "nonpayable";
|
|
3493
6246
|
readonly type: "function";
|
|
3494
6247
|
readonly inputs: readonly [{
|
|
3495
|
-
readonly name: "
|
|
3496
|
-
readonly internalType: "
|
|
6248
|
+
readonly name: "collateralToken";
|
|
6249
|
+
readonly internalType: "address";
|
|
6250
|
+
readonly type: "address";
|
|
6251
|
+
}, {
|
|
6252
|
+
readonly name: "dexId";
|
|
6253
|
+
readonly internalType: "uint8";
|
|
3497
6254
|
readonly type: "uint8";
|
|
6255
|
+
}, {
|
|
6256
|
+
readonly name: "enabled";
|
|
6257
|
+
readonly internalType: "bool";
|
|
6258
|
+
readonly type: "bool";
|
|
6259
|
+
}, {
|
|
6260
|
+
readonly name: "v2PathWethToCollateral";
|
|
6261
|
+
readonly internalType: "bytes";
|
|
6262
|
+
readonly type: "bytes";
|
|
6263
|
+
}, {
|
|
6264
|
+
readonly name: "v2PathCollateralToWeth";
|
|
6265
|
+
readonly internalType: "bytes";
|
|
6266
|
+
readonly type: "bytes";
|
|
6267
|
+
}, {
|
|
6268
|
+
readonly name: "v3PathWethToCollateral";
|
|
6269
|
+
readonly internalType: "bytes";
|
|
6270
|
+
readonly type: "bytes";
|
|
6271
|
+
}, {
|
|
6272
|
+
readonly name: "v3PathCollateralToWeth";
|
|
6273
|
+
readonly internalType: "bytes";
|
|
6274
|
+
readonly type: "bytes";
|
|
3498
6275
|
}];
|
|
3499
|
-
readonly name: "
|
|
6276
|
+
readonly name: "setCollateralConfig";
|
|
3500
6277
|
readonly outputs: readonly [];
|
|
3501
6278
|
}, {
|
|
3502
|
-
readonly stateMutability: "
|
|
6279
|
+
readonly stateMutability: "nonpayable";
|
|
3503
6280
|
readonly type: "function";
|
|
3504
6281
|
readonly inputs: readonly [{
|
|
3505
|
-
readonly name: "
|
|
3506
|
-
readonly internalType: "
|
|
3507
|
-
readonly type: "
|
|
6282
|
+
readonly name: "collateralToken";
|
|
6283
|
+
readonly internalType: "address";
|
|
6284
|
+
readonly type: "address";
|
|
6285
|
+
}, {
|
|
6286
|
+
readonly name: "dexId";
|
|
6287
|
+
readonly internalType: "uint8";
|
|
6288
|
+
readonly type: "uint8";
|
|
3508
6289
|
}];
|
|
3509
|
-
readonly name: "
|
|
3510
|
-
readonly outputs: readonly [
|
|
3511
|
-
|
|
6290
|
+
readonly name: "setCollateralDex";
|
|
6291
|
+
readonly outputs: readonly [];
|
|
6292
|
+
}, {
|
|
6293
|
+
readonly stateMutability: "nonpayable";
|
|
6294
|
+
readonly type: "function";
|
|
6295
|
+
readonly inputs: readonly [{
|
|
6296
|
+
readonly name: "collateralToken";
|
|
6297
|
+
readonly internalType: "address";
|
|
6298
|
+
readonly type: "address";
|
|
6299
|
+
}, {
|
|
6300
|
+
readonly name: "enabled";
|
|
3512
6301
|
readonly internalType: "bool";
|
|
3513
6302
|
readonly type: "bool";
|
|
3514
6303
|
}];
|
|
6304
|
+
readonly name: "setCollateralEnabled";
|
|
6305
|
+
readonly outputs: readonly [];
|
|
3515
6306
|
}, {
|
|
3516
|
-
readonly stateMutability: "
|
|
6307
|
+
readonly stateMutability: "nonpayable";
|
|
3517
6308
|
readonly type: "function";
|
|
3518
|
-
readonly inputs: readonly [
|
|
3519
|
-
|
|
3520
|
-
|
|
3521
|
-
readonly
|
|
3522
|
-
|
|
3523
|
-
readonly
|
|
6309
|
+
readonly inputs: readonly [{
|
|
6310
|
+
readonly name: "collateralToken";
|
|
6311
|
+
readonly internalType: "address";
|
|
6312
|
+
readonly type: "address";
|
|
6313
|
+
}, {
|
|
6314
|
+
readonly name: "wethToCollateral";
|
|
6315
|
+
readonly internalType: "bytes";
|
|
6316
|
+
readonly type: "bytes";
|
|
6317
|
+
}, {
|
|
6318
|
+
readonly name: "collateralToWeth";
|
|
6319
|
+
readonly internalType: "bytes";
|
|
6320
|
+
readonly type: "bytes";
|
|
3524
6321
|
}];
|
|
6322
|
+
readonly name: "setCollateralV2Paths";
|
|
6323
|
+
readonly outputs: readonly [];
|
|
3525
6324
|
}, {
|
|
3526
|
-
readonly stateMutability: "
|
|
6325
|
+
readonly stateMutability: "nonpayable";
|
|
3527
6326
|
readonly type: "function";
|
|
3528
|
-
readonly inputs: readonly [
|
|
3529
|
-
|
|
3530
|
-
|
|
3531
|
-
readonly
|
|
3532
|
-
|
|
3533
|
-
readonly
|
|
6327
|
+
readonly inputs: readonly [{
|
|
6328
|
+
readonly name: "collateralToken";
|
|
6329
|
+
readonly internalType: "address";
|
|
6330
|
+
readonly type: "address";
|
|
6331
|
+
}, {
|
|
6332
|
+
readonly name: "wethToCollateral";
|
|
6333
|
+
readonly internalType: "bytes";
|
|
6334
|
+
readonly type: "bytes";
|
|
6335
|
+
}, {
|
|
6336
|
+
readonly name: "collateralToWeth";
|
|
6337
|
+
readonly internalType: "bytes";
|
|
6338
|
+
readonly type: "bytes";
|
|
3534
6339
|
}];
|
|
6340
|
+
readonly name: "setCollateralV3Paths";
|
|
6341
|
+
readonly outputs: readonly [];
|
|
3535
6342
|
}, {
|
|
3536
|
-
readonly stateMutability: "
|
|
6343
|
+
readonly stateMutability: "nonpayable";
|
|
3537
6344
|
readonly type: "function";
|
|
3538
|
-
readonly inputs: readonly [
|
|
3539
|
-
|
|
6345
|
+
readonly inputs: readonly [{
|
|
6346
|
+
readonly name: "dexId";
|
|
6347
|
+
readonly internalType: "uint8";
|
|
6348
|
+
readonly type: "uint8";
|
|
6349
|
+
}, {
|
|
6350
|
+
readonly name: "router";
|
|
6351
|
+
readonly internalType: "address";
|
|
6352
|
+
readonly type: "address";
|
|
6353
|
+
}, {
|
|
6354
|
+
readonly name: "enabled";
|
|
6355
|
+
readonly internalType: "bool";
|
|
6356
|
+
readonly type: "bool";
|
|
6357
|
+
}];
|
|
6358
|
+
readonly name: "setDexConfigV2";
|
|
6359
|
+
readonly outputs: readonly [];
|
|
6360
|
+
}, {
|
|
6361
|
+
readonly stateMutability: "nonpayable";
|
|
6362
|
+
readonly type: "function";
|
|
6363
|
+
readonly inputs: readonly [{
|
|
6364
|
+
readonly name: "dexId";
|
|
6365
|
+
readonly internalType: "uint8";
|
|
6366
|
+
readonly type: "uint8";
|
|
6367
|
+
}, {
|
|
6368
|
+
readonly name: "swapRouter";
|
|
6369
|
+
readonly internalType: "address";
|
|
6370
|
+
readonly type: "address";
|
|
6371
|
+
}, {
|
|
6372
|
+
readonly name: "quoter";
|
|
6373
|
+
readonly internalType: "address";
|
|
6374
|
+
readonly type: "address";
|
|
6375
|
+
}, {
|
|
6376
|
+
readonly name: "enabled";
|
|
6377
|
+
readonly internalType: "bool";
|
|
6378
|
+
readonly type: "bool";
|
|
6379
|
+
}, {
|
|
6380
|
+
readonly name: "quoterKind";
|
|
6381
|
+
readonly internalType: "uint8";
|
|
6382
|
+
readonly type: "uint8";
|
|
6383
|
+
}];
|
|
6384
|
+
readonly name: "setDexConfigV3";
|
|
6385
|
+
readonly outputs: readonly [];
|
|
6386
|
+
}, {
|
|
6387
|
+
readonly stateMutability: "nonpayable";
|
|
6388
|
+
readonly type: "function";
|
|
6389
|
+
readonly inputs: readonly [{
|
|
6390
|
+
readonly name: "collateralToken";
|
|
6391
|
+
readonly internalType: "address";
|
|
6392
|
+
readonly type: "address";
|
|
6393
|
+
}, {
|
|
6394
|
+
readonly name: "amountIn";
|
|
6395
|
+
readonly internalType: "uint256";
|
|
6396
|
+
readonly type: "uint256";
|
|
6397
|
+
}, {
|
|
6398
|
+
readonly name: "amountOutMin";
|
|
6399
|
+
readonly internalType: "uint256";
|
|
6400
|
+
readonly type: "uint256";
|
|
6401
|
+
}, {
|
|
6402
|
+
readonly name: "deadline";
|
|
6403
|
+
readonly internalType: "uint256";
|
|
6404
|
+
readonly type: "uint256";
|
|
6405
|
+
}, {
|
|
6406
|
+
readonly name: "recipient";
|
|
6407
|
+
readonly internalType: "address";
|
|
6408
|
+
readonly type: "address";
|
|
6409
|
+
}];
|
|
6410
|
+
readonly name: "swapExactCollateralToEth";
|
|
3540
6411
|
readonly outputs: readonly [{
|
|
3541
|
-
readonly name: "";
|
|
6412
|
+
readonly name: "amountOut";
|
|
3542
6413
|
readonly internalType: "uint256";
|
|
3543
6414
|
readonly type: "uint256";
|
|
3544
6415
|
}];
|
|
3545
6416
|
}, {
|
|
3546
|
-
readonly stateMutability: "
|
|
6417
|
+
readonly stateMutability: "payable";
|
|
3547
6418
|
readonly type: "function";
|
|
3548
6419
|
readonly inputs: readonly [{
|
|
3549
|
-
readonly name: "
|
|
6420
|
+
readonly name: "collateralToken";
|
|
3550
6421
|
readonly internalType: "address";
|
|
3551
6422
|
readonly type: "address";
|
|
3552
6423
|
}, {
|
|
3553
|
-
readonly name: "
|
|
6424
|
+
readonly name: "amountOutMin";
|
|
6425
|
+
readonly internalType: "uint256";
|
|
6426
|
+
readonly type: "uint256";
|
|
6427
|
+
}, {
|
|
6428
|
+
readonly name: "deadline";
|
|
3554
6429
|
readonly internalType: "uint256";
|
|
3555
6430
|
readonly type: "uint256";
|
|
3556
6431
|
}];
|
|
3557
|
-
readonly name: "
|
|
6432
|
+
readonly name: "swapExactEthToCollateral";
|
|
3558
6433
|
readonly outputs: readonly [{
|
|
3559
|
-
readonly name: "";
|
|
3560
|
-
readonly internalType: "
|
|
3561
|
-
readonly type: "
|
|
6434
|
+
readonly name: "amountOut";
|
|
6435
|
+
readonly internalType: "uint256";
|
|
6436
|
+
readonly type: "uint256";
|
|
3562
6437
|
}];
|
|
3563
6438
|
}, {
|
|
3564
6439
|
readonly stateMutability: "nonpayable";
|
|
3565
6440
|
readonly type: "function";
|
|
3566
6441
|
readonly inputs: readonly [{
|
|
3567
|
-
readonly name: "
|
|
6442
|
+
readonly name: "newOwner";
|
|
3568
6443
|
readonly internalType: "address";
|
|
3569
6444
|
readonly type: "address";
|
|
3570
|
-
}
|
|
3571
|
-
|
|
6445
|
+
}];
|
|
6446
|
+
readonly name: "transferOwnership";
|
|
6447
|
+
readonly outputs: readonly [];
|
|
6448
|
+
}, {
|
|
6449
|
+
readonly stateMutability: "payable";
|
|
6450
|
+
readonly type: "function";
|
|
6451
|
+
readonly inputs: readonly [{
|
|
6452
|
+
readonly name: "newImplementation";
|
|
3572
6453
|
readonly internalType: "address";
|
|
3573
6454
|
readonly type: "address";
|
|
3574
6455
|
}, {
|
|
3575
|
-
readonly name: "
|
|
3576
|
-
readonly internalType: "
|
|
3577
|
-
readonly type: "
|
|
3578
|
-
}];
|
|
3579
|
-
readonly name: "transferFrom";
|
|
3580
|
-
readonly outputs: readonly [{
|
|
3581
|
-
readonly name: "";
|
|
3582
|
-
readonly internalType: "bool";
|
|
3583
|
-
readonly type: "bool";
|
|
6456
|
+
readonly name: "data";
|
|
6457
|
+
readonly internalType: "bytes";
|
|
6458
|
+
readonly type: "bytes";
|
|
3584
6459
|
}];
|
|
6460
|
+
readonly name: "upgradeToAndCall";
|
|
6461
|
+
readonly outputs: readonly [];
|
|
3585
6462
|
}, {
|
|
3586
6463
|
readonly stateMutability: "view";
|
|
3587
6464
|
readonly type: "function";
|
|
3588
6465
|
readonly inputs: readonly [];
|
|
3589
|
-
readonly name: "
|
|
6466
|
+
readonly name: "weth";
|
|
3590
6467
|
readonly outputs: readonly [{
|
|
3591
6468
|
readonly name: "";
|
|
3592
|
-
readonly internalType: "
|
|
3593
|
-
readonly type: "
|
|
6469
|
+
readonly internalType: "address";
|
|
6470
|
+
readonly type: "address";
|
|
3594
6471
|
}];
|
|
3595
6472
|
}, {
|
|
3596
|
-
readonly
|
|
3597
|
-
readonly
|
|
6473
|
+
readonly type: "event";
|
|
6474
|
+
readonly anonymous: false;
|
|
3598
6475
|
readonly inputs: readonly [{
|
|
3599
|
-
readonly name: "
|
|
6476
|
+
readonly name: "collateralToken";
|
|
3600
6477
|
readonly internalType: "address";
|
|
3601
6478
|
readonly type: "address";
|
|
6479
|
+
readonly indexed: true;
|
|
6480
|
+
}, {
|
|
6481
|
+
readonly name: "dexId";
|
|
6482
|
+
readonly internalType: "uint8";
|
|
6483
|
+
readonly type: "uint8";
|
|
6484
|
+
readonly indexed: true;
|
|
3602
6485
|
}];
|
|
3603
|
-
readonly name: "
|
|
3604
|
-
readonly outputs: readonly [];
|
|
6486
|
+
readonly name: "CollateralDexSet";
|
|
3605
6487
|
}, {
|
|
3606
6488
|
readonly type: "event";
|
|
3607
6489
|
readonly anonymous: false;
|
|
3608
6490
|
readonly inputs: readonly [{
|
|
3609
|
-
readonly name: "
|
|
6491
|
+
readonly name: "collateralToken";
|
|
3610
6492
|
readonly internalType: "address";
|
|
3611
6493
|
readonly type: "address";
|
|
3612
6494
|
readonly indexed: true;
|
|
3613
6495
|
}, {
|
|
3614
|
-
readonly name: "
|
|
6496
|
+
readonly name: "enabled";
|
|
6497
|
+
readonly internalType: "bool";
|
|
6498
|
+
readonly type: "bool";
|
|
6499
|
+
readonly indexed: false;
|
|
6500
|
+
}];
|
|
6501
|
+
readonly name: "CollateralEnabled";
|
|
6502
|
+
}, {
|
|
6503
|
+
readonly type: "event";
|
|
6504
|
+
readonly anonymous: false;
|
|
6505
|
+
readonly inputs: readonly [{
|
|
6506
|
+
readonly name: "collateralToken";
|
|
6507
|
+
readonly internalType: "address";
|
|
6508
|
+
readonly type: "address";
|
|
6509
|
+
readonly indexed: true;
|
|
6510
|
+
}];
|
|
6511
|
+
readonly name: "CollateralV2PathsSet";
|
|
6512
|
+
}, {
|
|
6513
|
+
readonly type: "event";
|
|
6514
|
+
readonly anonymous: false;
|
|
6515
|
+
readonly inputs: readonly [{
|
|
6516
|
+
readonly name: "collateralToken";
|
|
3615
6517
|
readonly internalType: "address";
|
|
3616
6518
|
readonly type: "address";
|
|
3617
6519
|
readonly indexed: true;
|
|
6520
|
+
}];
|
|
6521
|
+
readonly name: "CollateralV3PathsSet";
|
|
6522
|
+
}, {
|
|
6523
|
+
readonly type: "event";
|
|
6524
|
+
readonly anonymous: false;
|
|
6525
|
+
readonly inputs: readonly [{
|
|
6526
|
+
readonly name: "dexId";
|
|
6527
|
+
readonly internalType: "uint8";
|
|
6528
|
+
readonly type: "uint8";
|
|
6529
|
+
readonly indexed: true;
|
|
3618
6530
|
}, {
|
|
3619
|
-
readonly name: "
|
|
3620
|
-
readonly internalType: "
|
|
3621
|
-
readonly type: "
|
|
6531
|
+
readonly name: "dexType";
|
|
6532
|
+
readonly internalType: "enum IBasememeTokenSwap.DexType";
|
|
6533
|
+
readonly type: "uint8";
|
|
3622
6534
|
readonly indexed: false;
|
|
3623
6535
|
}];
|
|
3624
|
-
readonly name: "
|
|
6536
|
+
readonly name: "DexConfigured";
|
|
3625
6537
|
}, {
|
|
3626
6538
|
readonly type: "event";
|
|
3627
6539
|
readonly anonymous: false;
|
|
3628
|
-
readonly inputs: readonly [
|
|
3629
|
-
|
|
6540
|
+
readonly inputs: readonly [{
|
|
6541
|
+
readonly name: "dexId";
|
|
6542
|
+
readonly internalType: "uint8";
|
|
6543
|
+
readonly type: "uint8";
|
|
6544
|
+
readonly indexed: true;
|
|
6545
|
+
}, {
|
|
6546
|
+
readonly name: "enabled";
|
|
6547
|
+
readonly internalType: "bool";
|
|
6548
|
+
readonly type: "bool";
|
|
6549
|
+
readonly indexed: false;
|
|
6550
|
+
}];
|
|
6551
|
+
readonly name: "DexEnabled";
|
|
3630
6552
|
}, {
|
|
3631
6553
|
readonly type: "event";
|
|
3632
6554
|
readonly anonymous: false;
|
|
@@ -3656,75 +6578,63 @@ export declare const basememeTokenConfig: {
|
|
|
3656
6578
|
readonly type: "event";
|
|
3657
6579
|
readonly anonymous: false;
|
|
3658
6580
|
readonly inputs: readonly [{
|
|
3659
|
-
readonly name: "
|
|
3660
|
-
readonly internalType: "address";
|
|
3661
|
-
readonly type: "address";
|
|
3662
|
-
readonly indexed: true;
|
|
3663
|
-
}, {
|
|
3664
|
-
readonly name: "recipient";
|
|
6581
|
+
readonly name: "implementation";
|
|
3665
6582
|
readonly internalType: "address";
|
|
3666
6583
|
readonly type: "address";
|
|
3667
6584
|
readonly indexed: true;
|
|
3668
|
-
}, {
|
|
3669
|
-
readonly name: "amount";
|
|
3670
|
-
readonly internalType: "uint256";
|
|
3671
|
-
readonly type: "uint256";
|
|
3672
|
-
readonly indexed: false;
|
|
3673
|
-
}, {
|
|
3674
|
-
readonly name: "senderBalance";
|
|
3675
|
-
readonly internalType: "uint256";
|
|
3676
|
-
readonly type: "uint256";
|
|
3677
|
-
readonly indexed: false;
|
|
3678
|
-
}, {
|
|
3679
|
-
readonly name: "recipientBalance";
|
|
3680
|
-
readonly internalType: "uint256";
|
|
3681
|
-
readonly type: "uint256";
|
|
3682
|
-
readonly indexed: false;
|
|
3683
6585
|
}];
|
|
3684
|
-
readonly name: "
|
|
6586
|
+
readonly name: "Upgraded";
|
|
3685
6587
|
}, {
|
|
3686
|
-
readonly type: "
|
|
3687
|
-
readonly anonymous: false;
|
|
6588
|
+
readonly type: "error";
|
|
3688
6589
|
readonly inputs: readonly [{
|
|
3689
|
-
readonly name: "
|
|
3690
|
-
readonly internalType: "address";
|
|
3691
|
-
readonly type: "address";
|
|
3692
|
-
readonly indexed: true;
|
|
3693
|
-
}, {
|
|
3694
|
-
readonly name: "to";
|
|
6590
|
+
readonly name: "target";
|
|
3695
6591
|
readonly internalType: "address";
|
|
3696
6592
|
readonly type: "address";
|
|
3697
|
-
readonly indexed: true;
|
|
3698
|
-
}, {
|
|
3699
|
-
readonly name: "value";
|
|
3700
|
-
readonly internalType: "uint256";
|
|
3701
|
-
readonly type: "uint256";
|
|
3702
|
-
readonly indexed: false;
|
|
3703
6593
|
}];
|
|
3704
|
-
readonly name: "
|
|
6594
|
+
readonly name: "AddressEmptyCode";
|
|
6595
|
+
}, {
|
|
6596
|
+
readonly type: "error";
|
|
6597
|
+
readonly inputs: readonly [];
|
|
6598
|
+
readonly name: "CollateralMustBeDisabled";
|
|
6599
|
+
}, {
|
|
6600
|
+
readonly type: "error";
|
|
6601
|
+
readonly inputs: readonly [];
|
|
6602
|
+
readonly name: "DeadlineExpired";
|
|
6603
|
+
}, {
|
|
6604
|
+
readonly type: "error";
|
|
6605
|
+
readonly inputs: readonly [];
|
|
6606
|
+
readonly name: "DexDisabled";
|
|
6607
|
+
}, {
|
|
6608
|
+
readonly type: "error";
|
|
6609
|
+
readonly inputs: readonly [];
|
|
6610
|
+
readonly name: "DexNotConfigured";
|
|
6611
|
+
}, {
|
|
6612
|
+
readonly type: "error";
|
|
6613
|
+
readonly inputs: readonly [];
|
|
6614
|
+
readonly name: "DexTypeImmutable";
|
|
3705
6615
|
}, {
|
|
3706
6616
|
readonly type: "error";
|
|
3707
6617
|
readonly inputs: readonly [{
|
|
3708
|
-
readonly name: "
|
|
6618
|
+
readonly name: "implementation";
|
|
3709
6619
|
readonly internalType: "address";
|
|
3710
6620
|
readonly type: "address";
|
|
3711
|
-
}, {
|
|
3712
|
-
readonly name: "allowance";
|
|
3713
|
-
readonly internalType: "uint256";
|
|
3714
|
-
readonly type: "uint256";
|
|
3715
|
-
}, {
|
|
3716
|
-
readonly name: "needed";
|
|
3717
|
-
readonly internalType: "uint256";
|
|
3718
|
-
readonly type: "uint256";
|
|
3719
6621
|
}];
|
|
3720
|
-
readonly name: "
|
|
6622
|
+
readonly name: "ERC1967InvalidImplementation";
|
|
6623
|
+
}, {
|
|
6624
|
+
readonly type: "error";
|
|
6625
|
+
readonly inputs: readonly [];
|
|
6626
|
+
readonly name: "ERC1967NonPayable";
|
|
6627
|
+
}, {
|
|
6628
|
+
readonly type: "error";
|
|
6629
|
+
readonly inputs: readonly [];
|
|
6630
|
+
readonly name: "EthAmountMismatch";
|
|
6631
|
+
}, {
|
|
6632
|
+
readonly type: "error";
|
|
6633
|
+
readonly inputs: readonly [];
|
|
6634
|
+
readonly name: "FailedCall";
|
|
3721
6635
|
}, {
|
|
3722
6636
|
readonly type: "error";
|
|
3723
6637
|
readonly inputs: readonly [{
|
|
3724
|
-
readonly name: "sender";
|
|
3725
|
-
readonly internalType: "address";
|
|
3726
|
-
readonly type: "address";
|
|
3727
|
-
}, {
|
|
3728
6638
|
readonly name: "balance";
|
|
3729
6639
|
readonly internalType: "uint256";
|
|
3730
6640
|
readonly type: "uint256";
|
|
@@ -3733,43 +6643,27 @@ export declare const basememeTokenConfig: {
|
|
|
3733
6643
|
readonly internalType: "uint256";
|
|
3734
6644
|
readonly type: "uint256";
|
|
3735
6645
|
}];
|
|
3736
|
-
readonly name: "
|
|
6646
|
+
readonly name: "InsufficientBalance";
|
|
3737
6647
|
}, {
|
|
3738
6648
|
readonly type: "error";
|
|
3739
|
-
readonly inputs: readonly [
|
|
3740
|
-
|
|
3741
|
-
readonly internalType: "address";
|
|
3742
|
-
readonly type: "address";
|
|
3743
|
-
}];
|
|
3744
|
-
readonly name: "ERC20InvalidApprover";
|
|
6649
|
+
readonly inputs: readonly [];
|
|
6650
|
+
readonly name: "InvalidDexId";
|
|
3745
6651
|
}, {
|
|
3746
6652
|
readonly type: "error";
|
|
3747
|
-
readonly inputs: readonly [
|
|
3748
|
-
|
|
3749
|
-
readonly internalType: "address";
|
|
3750
|
-
readonly type: "address";
|
|
3751
|
-
}];
|
|
3752
|
-
readonly name: "ERC20InvalidReceiver";
|
|
6653
|
+
readonly inputs: readonly [];
|
|
6654
|
+
readonly name: "InvalidInitialization";
|
|
3753
6655
|
}, {
|
|
3754
6656
|
readonly type: "error";
|
|
3755
|
-
readonly inputs: readonly [
|
|
3756
|
-
|
|
3757
|
-
readonly internalType: "address";
|
|
3758
|
-
readonly type: "address";
|
|
3759
|
-
}];
|
|
3760
|
-
readonly name: "ERC20InvalidSender";
|
|
6657
|
+
readonly inputs: readonly [];
|
|
6658
|
+
readonly name: "InvalidPath";
|
|
3761
6659
|
}, {
|
|
3762
6660
|
readonly type: "error";
|
|
3763
|
-
readonly inputs: readonly [
|
|
3764
|
-
|
|
3765
|
-
readonly internalType: "address";
|
|
3766
|
-
readonly type: "address";
|
|
3767
|
-
}];
|
|
3768
|
-
readonly name: "ERC20InvalidSpender";
|
|
6661
|
+
readonly inputs: readonly [];
|
|
6662
|
+
readonly name: "InvalidRecipient";
|
|
3769
6663
|
}, {
|
|
3770
6664
|
readonly type: "error";
|
|
3771
6665
|
readonly inputs: readonly [];
|
|
3772
|
-
readonly name: "
|
|
6666
|
+
readonly name: "InvalidRouteConfig";
|
|
3773
6667
|
}, {
|
|
3774
6668
|
readonly type: "error";
|
|
3775
6669
|
readonly inputs: readonly [];
|
|
@@ -3793,16 +6687,44 @@ export declare const basememeTokenConfig: {
|
|
|
3793
6687
|
}, {
|
|
3794
6688
|
readonly type: "error";
|
|
3795
6689
|
readonly inputs: readonly [];
|
|
3796
|
-
readonly name: "
|
|
6690
|
+
readonly name: "ReentrancyGuardReentrantCall";
|
|
3797
6691
|
}, {
|
|
3798
6692
|
readonly type: "error";
|
|
3799
6693
|
readonly inputs: readonly [];
|
|
3800
|
-
readonly name: "
|
|
6694
|
+
readonly name: "RouteDisabled";
|
|
6695
|
+
}, {
|
|
6696
|
+
readonly type: "error";
|
|
6697
|
+
readonly inputs: readonly [];
|
|
6698
|
+
readonly name: "RouteNotConfigured";
|
|
6699
|
+
}, {
|
|
6700
|
+
readonly type: "error";
|
|
6701
|
+
readonly inputs: readonly [{
|
|
6702
|
+
readonly name: "token";
|
|
6703
|
+
readonly internalType: "address";
|
|
6704
|
+
readonly type: "address";
|
|
6705
|
+
}];
|
|
6706
|
+
readonly name: "SafeERC20FailedOperation";
|
|
6707
|
+
}, {
|
|
6708
|
+
readonly type: "error";
|
|
6709
|
+
readonly inputs: readonly [];
|
|
6710
|
+
readonly name: "UUPSUnauthorizedCallContext";
|
|
6711
|
+
}, {
|
|
6712
|
+
readonly type: "error";
|
|
6713
|
+
readonly inputs: readonly [{
|
|
6714
|
+
readonly name: "slot";
|
|
6715
|
+
readonly internalType: "bytes32";
|
|
6716
|
+
readonly type: "bytes32";
|
|
6717
|
+
}];
|
|
6718
|
+
readonly name: "UUPSUnsupportedProxiableUUID";
|
|
6719
|
+
}, {
|
|
6720
|
+
readonly type: "error";
|
|
6721
|
+
readonly inputs: readonly [];
|
|
6722
|
+
readonly name: "UnsupportedDexType";
|
|
3801
6723
|
}];
|
|
3802
6724
|
};
|
|
3803
6725
|
/**
|
|
3804
6726
|
* - [__View Contract on Base Basescan__](https://basescan.org/address/0x0000000000000000000000000000000000000000)
|
|
3805
|
-
* - [__View Contract on Base Sepolia Blockscout__](https://base-sepolia.blockscout.com/address/
|
|
6727
|
+
* - [__View Contract on Base Sepolia Blockscout__](https://base-sepolia.blockscout.com/address/0x96c0b17Cf78Bc376c8186C1c0378c4b0e386AF39)
|
|
3806
6728
|
*/
|
|
3807
6729
|
export declare const bondingCurveABI: readonly [{
|
|
3808
6730
|
readonly stateMutability: "nonpayable";
|
|
@@ -4929,6 +7851,18 @@ export declare const bondingCurveABI: readonly [{
|
|
|
4929
7851
|
readonly type: "error";
|
|
4930
7852
|
readonly inputs: readonly [];
|
|
4931
7853
|
readonly name: "AmountOutZero";
|
|
7854
|
+
}, {
|
|
7855
|
+
readonly type: "error";
|
|
7856
|
+
readonly inputs: readonly [{
|
|
7857
|
+
readonly name: "recommendedTokenOut";
|
|
7858
|
+
readonly internalType: "uint256";
|
|
7859
|
+
readonly type: "uint256";
|
|
7860
|
+
}];
|
|
7861
|
+
readonly name: "CollectionTargetExceeded";
|
|
7862
|
+
}, {
|
|
7863
|
+
readonly type: "error";
|
|
7864
|
+
readonly inputs: readonly [];
|
|
7865
|
+
readonly name: "ETHNotAllowedForERC20Market";
|
|
4932
7866
|
}, {
|
|
4933
7867
|
readonly type: "error";
|
|
4934
7868
|
readonly inputs: readonly [];
|
|
@@ -5073,6 +8007,14 @@ export declare const bondingCurveABI: readonly [{
|
|
|
5073
8007
|
readonly type: "error";
|
|
5074
8008
|
readonly inputs: readonly [];
|
|
5075
8009
|
readonly name: "ReentrancyGuardReentrantCall";
|
|
8010
|
+
}, {
|
|
8011
|
+
readonly type: "error";
|
|
8012
|
+
readonly inputs: readonly [{
|
|
8013
|
+
readonly name: "token";
|
|
8014
|
+
readonly internalType: "address";
|
|
8015
|
+
readonly type: "address";
|
|
8016
|
+
}];
|
|
8017
|
+
readonly name: "SafeERC20FailedOperation";
|
|
5076
8018
|
}, {
|
|
5077
8019
|
readonly type: "error";
|
|
5078
8020
|
readonly inputs: readonly [];
|
|
@@ -5144,20 +8086,20 @@ export declare const bondingCurveABI: readonly [{
|
|
|
5144
8086
|
}];
|
|
5145
8087
|
/**
|
|
5146
8088
|
* - [__View Contract on Base Basescan__](https://basescan.org/address/0x0000000000000000000000000000000000000000)
|
|
5147
|
-
* - [__View Contract on Base Sepolia Blockscout__](https://base-sepolia.blockscout.com/address/
|
|
8089
|
+
* - [__View Contract on Base Sepolia Blockscout__](https://base-sepolia.blockscout.com/address/0x96c0b17Cf78Bc376c8186C1c0378c4b0e386AF39)
|
|
5148
8090
|
*/
|
|
5149
8091
|
export declare const bondingCurveAddress: {
|
|
5150
8092
|
readonly 8453: "0x0000000000000000000000000000000000000000";
|
|
5151
|
-
readonly 84532: "
|
|
8093
|
+
readonly 84532: "0x96c0b17Cf78Bc376c8186C1c0378c4b0e386AF39";
|
|
5152
8094
|
};
|
|
5153
8095
|
/**
|
|
5154
8096
|
* - [__View Contract on Base Basescan__](https://basescan.org/address/0x0000000000000000000000000000000000000000)
|
|
5155
|
-
* - [__View Contract on Base Sepolia Blockscout__](https://base-sepolia.blockscout.com/address/
|
|
8097
|
+
* - [__View Contract on Base Sepolia Blockscout__](https://base-sepolia.blockscout.com/address/0x96c0b17Cf78Bc376c8186C1c0378c4b0e386AF39)
|
|
5156
8098
|
*/
|
|
5157
8099
|
export declare const bondingCurveConfig: {
|
|
5158
8100
|
readonly address: {
|
|
5159
8101
|
readonly 8453: "0x0000000000000000000000000000000000000000";
|
|
5160
|
-
readonly 84532: "
|
|
8102
|
+
readonly 84532: "0x96c0b17Cf78Bc376c8186C1c0378c4b0e386AF39";
|
|
5161
8103
|
};
|
|
5162
8104
|
readonly abi: readonly [{
|
|
5163
8105
|
readonly stateMutability: "nonpayable";
|
|
@@ -6284,6 +9226,18 @@ export declare const bondingCurveConfig: {
|
|
|
6284
9226
|
readonly type: "error";
|
|
6285
9227
|
readonly inputs: readonly [];
|
|
6286
9228
|
readonly name: "AmountOutZero";
|
|
9229
|
+
}, {
|
|
9230
|
+
readonly type: "error";
|
|
9231
|
+
readonly inputs: readonly [{
|
|
9232
|
+
readonly name: "recommendedTokenOut";
|
|
9233
|
+
readonly internalType: "uint256";
|
|
9234
|
+
readonly type: "uint256";
|
|
9235
|
+
}];
|
|
9236
|
+
readonly name: "CollectionTargetExceeded";
|
|
9237
|
+
}, {
|
|
9238
|
+
readonly type: "error";
|
|
9239
|
+
readonly inputs: readonly [];
|
|
9240
|
+
readonly name: "ETHNotAllowedForERC20Market";
|
|
6287
9241
|
}, {
|
|
6288
9242
|
readonly type: "error";
|
|
6289
9243
|
readonly inputs: readonly [];
|
|
@@ -6428,6 +9382,14 @@ export declare const bondingCurveConfig: {
|
|
|
6428
9382
|
readonly type: "error";
|
|
6429
9383
|
readonly inputs: readonly [];
|
|
6430
9384
|
readonly name: "ReentrancyGuardReentrantCall";
|
|
9385
|
+
}, {
|
|
9386
|
+
readonly type: "error";
|
|
9387
|
+
readonly inputs: readonly [{
|
|
9388
|
+
readonly name: "token";
|
|
9389
|
+
readonly internalType: "address";
|
|
9390
|
+
readonly type: "address";
|
|
9391
|
+
}];
|
|
9392
|
+
readonly name: "SafeERC20FailedOperation";
|
|
6431
9393
|
}, {
|
|
6432
9394
|
readonly type: "error";
|
|
6433
9395
|
readonly inputs: readonly [];
|