@cloakely/sdk 0.4.0 → 0.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/abis.d.ts +502 -0
- package/dist/abis.js +649 -0
- package/dist/bytecode.d.ts +4 -2
- package/dist/bytecode.js +1 -1
- package/dist/cloak.d.ts +50 -0
- package/dist/cloak.js +18 -28
- package/dist/deployments.d.ts +6 -0
- package/dist/deployments.js +11 -3
- package/dist/registry.d.ts +2 -0
- package/dist/registry.js +1 -0
- package/package.json +1 -1
package/dist/abis.d.ts
CHANGED
|
@@ -908,6 +908,10 @@ export declare const cloakFactoryAbi: readonly [{
|
|
|
908
908
|
readonly name: "vestingDeployer_";
|
|
909
909
|
readonly type: "address";
|
|
910
910
|
readonly internalType: "contract CloakVestingDeployer";
|
|
911
|
+
}, {
|
|
912
|
+
readonly name: "seeder_";
|
|
913
|
+
readonly type: "address";
|
|
914
|
+
readonly internalType: "contract IMarketSeeder";
|
|
911
915
|
}];
|
|
912
916
|
readonly stateMutability: "nonpayable";
|
|
913
917
|
}, {
|
|
@@ -1071,6 +1075,16 @@ export declare const cloakFactoryAbi: readonly [{
|
|
|
1071
1075
|
readonly internalType: "uint256";
|
|
1072
1076
|
}];
|
|
1073
1077
|
readonly stateMutability: "view";
|
|
1078
|
+
}, {
|
|
1079
|
+
readonly type: "function";
|
|
1080
|
+
readonly name: "seeder";
|
|
1081
|
+
readonly inputs: readonly [];
|
|
1082
|
+
readonly outputs: readonly [{
|
|
1083
|
+
readonly name: "";
|
|
1084
|
+
readonly type: "address";
|
|
1085
|
+
readonly internalType: "contract IMarketSeeder";
|
|
1086
|
+
}];
|
|
1087
|
+
readonly stateMutability: "view";
|
|
1074
1088
|
}, {
|
|
1075
1089
|
readonly type: "function";
|
|
1076
1090
|
readonly name: "vestingDeployer";
|
|
@@ -1201,8 +1215,15 @@ export declare const cloakAuctionAbi: readonly [{
|
|
|
1201
1215
|
readonly name: "config_";
|
|
1202
1216
|
readonly type: "address";
|
|
1203
1217
|
readonly internalType: "contract CloakConfig";
|
|
1218
|
+
}, {
|
|
1219
|
+
readonly name: "seeder_";
|
|
1220
|
+
readonly type: "address";
|
|
1221
|
+
readonly internalType: "contract IMarketSeeder";
|
|
1204
1222
|
}];
|
|
1205
1223
|
readonly stateMutability: "nonpayable";
|
|
1224
|
+
}, {
|
|
1225
|
+
readonly type: "receive";
|
|
1226
|
+
readonly stateMutability: "payable";
|
|
1206
1227
|
}, {
|
|
1207
1228
|
readonly type: "function";
|
|
1208
1229
|
readonly name: "DEAD";
|
|
@@ -1813,6 +1834,16 @@ export declare const cloakAuctionAbi: readonly [{
|
|
|
1813
1834
|
readonly internalType: "uint256";
|
|
1814
1835
|
}];
|
|
1815
1836
|
readonly stateMutability: "view";
|
|
1837
|
+
}, {
|
|
1838
|
+
readonly type: "function";
|
|
1839
|
+
readonly name: "seeder";
|
|
1840
|
+
readonly inputs: readonly [];
|
|
1841
|
+
readonly outputs: readonly [{
|
|
1842
|
+
readonly name: "";
|
|
1843
|
+
readonly type: "address";
|
|
1844
|
+
readonly internalType: "contract IMarketSeeder";
|
|
1845
|
+
}];
|
|
1846
|
+
readonly stateMutability: "view";
|
|
1816
1847
|
}, {
|
|
1817
1848
|
readonly type: "function";
|
|
1818
1849
|
readonly name: "settle";
|
|
@@ -1875,6 +1906,16 @@ export declare const cloakAuctionAbi: readonly [{
|
|
|
1875
1906
|
readonly internalType: "uint256";
|
|
1876
1907
|
}];
|
|
1877
1908
|
readonly stateMutability: "view";
|
|
1909
|
+
}, {
|
|
1910
|
+
readonly type: "function";
|
|
1911
|
+
readonly name: "uniPair";
|
|
1912
|
+
readonly inputs: readonly [];
|
|
1913
|
+
readonly outputs: readonly [{
|
|
1914
|
+
readonly name: "";
|
|
1915
|
+
readonly type: "address";
|
|
1916
|
+
readonly internalType: "address";
|
|
1917
|
+
}];
|
|
1918
|
+
readonly stateMutability: "view";
|
|
1878
1919
|
}, {
|
|
1879
1920
|
readonly type: "function";
|
|
1880
1921
|
readonly name: "withdrawProceeds";
|
|
@@ -2166,6 +2207,26 @@ export declare const cloakAuctionAbi: readonly [{
|
|
|
2166
2207
|
readonly internalType: "uint256";
|
|
2167
2208
|
}];
|
|
2168
2209
|
readonly anonymous: false;
|
|
2210
|
+
}, {
|
|
2211
|
+
readonly type: "event";
|
|
2212
|
+
readonly name: "UniswapMarket";
|
|
2213
|
+
readonly inputs: readonly [{
|
|
2214
|
+
readonly name: "uniPair";
|
|
2215
|
+
readonly type: "address";
|
|
2216
|
+
readonly indexed: true;
|
|
2217
|
+
readonly internalType: "address";
|
|
2218
|
+
}, {
|
|
2219
|
+
readonly name: "market";
|
|
2220
|
+
readonly type: "address";
|
|
2221
|
+
readonly indexed: false;
|
|
2222
|
+
readonly internalType: "address";
|
|
2223
|
+
}, {
|
|
2224
|
+
readonly name: "lpShares";
|
|
2225
|
+
readonly type: "uint256";
|
|
2226
|
+
readonly indexed: false;
|
|
2227
|
+
readonly internalType: "uint256";
|
|
2228
|
+
}];
|
|
2229
|
+
readonly anonymous: false;
|
|
2169
2230
|
}];
|
|
2170
2231
|
export declare const cloakTokenAbi: readonly [{
|
|
2171
2232
|
readonly type: "constructor";
|
|
@@ -5089,3 +5150,444 @@ export declare const whypeAbi: readonly [{
|
|
|
5089
5150
|
}];
|
|
5090
5151
|
readonly anonymous: false;
|
|
5091
5152
|
}];
|
|
5153
|
+
export declare const cloakSeederAbi: readonly [{
|
|
5154
|
+
readonly type: "constructor";
|
|
5155
|
+
readonly inputs: readonly [{
|
|
5156
|
+
readonly name: "uniFactory_";
|
|
5157
|
+
readonly type: "address";
|
|
5158
|
+
readonly internalType: "contract IUniswapV2Factory";
|
|
5159
|
+
}, {
|
|
5160
|
+
readonly name: "weth_";
|
|
5161
|
+
readonly type: "address";
|
|
5162
|
+
readonly internalType: "contract IWETH";
|
|
5163
|
+
}, {
|
|
5164
|
+
readonly name: "feeNum_";
|
|
5165
|
+
readonly type: "uint256";
|
|
5166
|
+
readonly internalType: "uint256";
|
|
5167
|
+
}];
|
|
5168
|
+
readonly stateMutability: "nonpayable";
|
|
5169
|
+
}, {
|
|
5170
|
+
readonly type: "receive";
|
|
5171
|
+
readonly stateMutability: "payable";
|
|
5172
|
+
}, {
|
|
5173
|
+
readonly type: "function";
|
|
5174
|
+
readonly name: "DEAD";
|
|
5175
|
+
readonly inputs: readonly [];
|
|
5176
|
+
readonly outputs: readonly [{
|
|
5177
|
+
readonly name: "";
|
|
5178
|
+
readonly type: "address";
|
|
5179
|
+
readonly internalType: "address";
|
|
5180
|
+
}];
|
|
5181
|
+
readonly stateMutability: "view";
|
|
5182
|
+
}, {
|
|
5183
|
+
readonly type: "function";
|
|
5184
|
+
readonly name: "V2_GAS";
|
|
5185
|
+
readonly inputs: readonly [];
|
|
5186
|
+
readonly outputs: readonly [{
|
|
5187
|
+
readonly name: "";
|
|
5188
|
+
readonly type: "uint256";
|
|
5189
|
+
readonly internalType: "uint256";
|
|
5190
|
+
}];
|
|
5191
|
+
readonly stateMutability: "view";
|
|
5192
|
+
}, {
|
|
5193
|
+
readonly type: "function";
|
|
5194
|
+
readonly name: "feeNum";
|
|
5195
|
+
readonly inputs: readonly [];
|
|
5196
|
+
readonly outputs: readonly [{
|
|
5197
|
+
readonly name: "";
|
|
5198
|
+
readonly type: "uint256";
|
|
5199
|
+
readonly internalType: "uint256";
|
|
5200
|
+
}];
|
|
5201
|
+
readonly stateMutability: "view";
|
|
5202
|
+
}, {
|
|
5203
|
+
readonly type: "function";
|
|
5204
|
+
readonly name: "seed";
|
|
5205
|
+
readonly inputs: readonly [{
|
|
5206
|
+
readonly name: "token";
|
|
5207
|
+
readonly type: "address";
|
|
5208
|
+
readonly internalType: "address";
|
|
5209
|
+
}, {
|
|
5210
|
+
readonly name: "tokenAmount";
|
|
5211
|
+
readonly type: "uint256";
|
|
5212
|
+
readonly internalType: "uint256";
|
|
5213
|
+
}, {
|
|
5214
|
+
readonly name: "price";
|
|
5215
|
+
readonly type: "uint256";
|
|
5216
|
+
readonly internalType: "uint256";
|
|
5217
|
+
}, {
|
|
5218
|
+
readonly name: "lpTo";
|
|
5219
|
+
readonly type: "address";
|
|
5220
|
+
readonly internalType: "address";
|
|
5221
|
+
}];
|
|
5222
|
+
readonly outputs: readonly [{
|
|
5223
|
+
readonly name: "market";
|
|
5224
|
+
readonly type: "address";
|
|
5225
|
+
readonly internalType: "address";
|
|
5226
|
+
}, {
|
|
5227
|
+
readonly name: "uniPair";
|
|
5228
|
+
readonly type: "address";
|
|
5229
|
+
readonly internalType: "address";
|
|
5230
|
+
}, {
|
|
5231
|
+
readonly name: "shares";
|
|
5232
|
+
readonly type: "uint256";
|
|
5233
|
+
readonly internalType: "uint256";
|
|
5234
|
+
}, {
|
|
5235
|
+
readonly name: "hypeUsed";
|
|
5236
|
+
readonly type: "uint256";
|
|
5237
|
+
readonly internalType: "uint256";
|
|
5238
|
+
}, {
|
|
5239
|
+
readonly name: "tokensUsed";
|
|
5240
|
+
readonly type: "uint256";
|
|
5241
|
+
readonly internalType: "uint256";
|
|
5242
|
+
}];
|
|
5243
|
+
readonly stateMutability: "payable";
|
|
5244
|
+
}, {
|
|
5245
|
+
readonly type: "function";
|
|
5246
|
+
readonly name: "seedV2";
|
|
5247
|
+
readonly inputs: readonly [{
|
|
5248
|
+
readonly name: "token";
|
|
5249
|
+
readonly type: "address";
|
|
5250
|
+
readonly internalType: "address";
|
|
5251
|
+
}, {
|
|
5252
|
+
readonly name: "maxTokens";
|
|
5253
|
+
readonly type: "uint256";
|
|
5254
|
+
readonly internalType: "uint256";
|
|
5255
|
+
}, {
|
|
5256
|
+
readonly name: "price";
|
|
5257
|
+
readonly type: "uint256";
|
|
5258
|
+
readonly internalType: "uint256";
|
|
5259
|
+
}, {
|
|
5260
|
+
readonly name: "lpTo";
|
|
5261
|
+
readonly type: "address";
|
|
5262
|
+
readonly internalType: "address";
|
|
5263
|
+
}];
|
|
5264
|
+
readonly outputs: readonly [{
|
|
5265
|
+
readonly name: "market";
|
|
5266
|
+
readonly type: "address";
|
|
5267
|
+
readonly internalType: "address";
|
|
5268
|
+
}, {
|
|
5269
|
+
readonly name: "uniPair";
|
|
5270
|
+
readonly type: "address";
|
|
5271
|
+
readonly internalType: "address";
|
|
5272
|
+
}, {
|
|
5273
|
+
readonly name: "shares";
|
|
5274
|
+
readonly type: "uint256";
|
|
5275
|
+
readonly internalType: "uint256";
|
|
5276
|
+
}, {
|
|
5277
|
+
readonly name: "hypeUsed";
|
|
5278
|
+
readonly type: "uint256";
|
|
5279
|
+
readonly internalType: "uint256";
|
|
5280
|
+
}, {
|
|
5281
|
+
readonly name: "tokensUsed";
|
|
5282
|
+
readonly type: "uint256";
|
|
5283
|
+
readonly internalType: "uint256";
|
|
5284
|
+
}];
|
|
5285
|
+
readonly stateMutability: "payable";
|
|
5286
|
+
}, {
|
|
5287
|
+
readonly type: "function";
|
|
5288
|
+
readonly name: "uniFactory";
|
|
5289
|
+
readonly inputs: readonly [];
|
|
5290
|
+
readonly outputs: readonly [{
|
|
5291
|
+
readonly name: "";
|
|
5292
|
+
readonly type: "address";
|
|
5293
|
+
readonly internalType: "contract IUniswapV2Factory";
|
|
5294
|
+
}];
|
|
5295
|
+
readonly stateMutability: "view";
|
|
5296
|
+
}, {
|
|
5297
|
+
readonly type: "function";
|
|
5298
|
+
readonly name: "weth";
|
|
5299
|
+
readonly inputs: readonly [];
|
|
5300
|
+
readonly outputs: readonly [{
|
|
5301
|
+
readonly name: "";
|
|
5302
|
+
readonly type: "address";
|
|
5303
|
+
readonly internalType: "contract IWETH";
|
|
5304
|
+
}];
|
|
5305
|
+
readonly stateMutability: "view";
|
|
5306
|
+
}, {
|
|
5307
|
+
readonly type: "event";
|
|
5308
|
+
readonly name: "Seeded";
|
|
5309
|
+
readonly inputs: readonly [{
|
|
5310
|
+
readonly name: "token";
|
|
5311
|
+
readonly type: "address";
|
|
5312
|
+
readonly indexed: true;
|
|
5313
|
+
readonly internalType: "address";
|
|
5314
|
+
}, {
|
|
5315
|
+
readonly name: "market";
|
|
5316
|
+
readonly type: "address";
|
|
5317
|
+
readonly indexed: false;
|
|
5318
|
+
readonly internalType: "address";
|
|
5319
|
+
}, {
|
|
5320
|
+
readonly name: "uniPair";
|
|
5321
|
+
readonly type: "address";
|
|
5322
|
+
readonly indexed: false;
|
|
5323
|
+
readonly internalType: "address";
|
|
5324
|
+
}, {
|
|
5325
|
+
readonly name: "hype";
|
|
5326
|
+
readonly type: "uint256";
|
|
5327
|
+
readonly indexed: false;
|
|
5328
|
+
readonly internalType: "uint256";
|
|
5329
|
+
}, {
|
|
5330
|
+
readonly name: "tokens";
|
|
5331
|
+
readonly type: "uint256";
|
|
5332
|
+
readonly indexed: false;
|
|
5333
|
+
readonly internalType: "uint256";
|
|
5334
|
+
}, {
|
|
5335
|
+
readonly name: "shares";
|
|
5336
|
+
readonly type: "uint256";
|
|
5337
|
+
readonly indexed: false;
|
|
5338
|
+
readonly internalType: "uint256";
|
|
5339
|
+
}];
|
|
5340
|
+
readonly anonymous: false;
|
|
5341
|
+
}];
|
|
5342
|
+
export declare const cloakV2MarketAbi: readonly [{
|
|
5343
|
+
readonly type: "constructor";
|
|
5344
|
+
readonly inputs: readonly [{
|
|
5345
|
+
readonly name: "pair_";
|
|
5346
|
+
readonly type: "address";
|
|
5347
|
+
readonly internalType: "contract IUniswapV2Pair";
|
|
5348
|
+
}, {
|
|
5349
|
+
readonly name: "token_";
|
|
5350
|
+
readonly type: "address";
|
|
5351
|
+
readonly internalType: "address";
|
|
5352
|
+
}, {
|
|
5353
|
+
readonly name: "weth_";
|
|
5354
|
+
readonly type: "address";
|
|
5355
|
+
readonly internalType: "contract IWETH";
|
|
5356
|
+
}, {
|
|
5357
|
+
readonly name: "feeNum_";
|
|
5358
|
+
readonly type: "uint256";
|
|
5359
|
+
readonly internalType: "uint256";
|
|
5360
|
+
}];
|
|
5361
|
+
readonly stateMutability: "nonpayable";
|
|
5362
|
+
}, {
|
|
5363
|
+
readonly type: "receive";
|
|
5364
|
+
readonly stateMutability: "payable";
|
|
5365
|
+
}, {
|
|
5366
|
+
readonly type: "function";
|
|
5367
|
+
readonly name: "cumulativeNow";
|
|
5368
|
+
readonly inputs: readonly [];
|
|
5369
|
+
readonly outputs: readonly [{
|
|
5370
|
+
readonly name: "cum";
|
|
5371
|
+
readonly type: "uint256";
|
|
5372
|
+
readonly internalType: "uint256";
|
|
5373
|
+
}, {
|
|
5374
|
+
readonly name: "at";
|
|
5375
|
+
readonly type: "uint64";
|
|
5376
|
+
readonly internalType: "uint64";
|
|
5377
|
+
}];
|
|
5378
|
+
readonly stateMutability: "view";
|
|
5379
|
+
}, {
|
|
5380
|
+
readonly type: "function";
|
|
5381
|
+
readonly name: "feeNum";
|
|
5382
|
+
readonly inputs: readonly [];
|
|
5383
|
+
readonly outputs: readonly [{
|
|
5384
|
+
readonly name: "";
|
|
5385
|
+
readonly type: "uint256";
|
|
5386
|
+
readonly internalType: "uint256";
|
|
5387
|
+
}];
|
|
5388
|
+
readonly stateMutability: "view";
|
|
5389
|
+
}, {
|
|
5390
|
+
readonly type: "function";
|
|
5391
|
+
readonly name: "getAmountOut";
|
|
5392
|
+
readonly inputs: readonly [{
|
|
5393
|
+
readonly name: "amountIn";
|
|
5394
|
+
readonly type: "uint256";
|
|
5395
|
+
readonly internalType: "uint256";
|
|
5396
|
+
}, {
|
|
5397
|
+
readonly name: "rIn";
|
|
5398
|
+
readonly type: "uint256";
|
|
5399
|
+
readonly internalType: "uint256";
|
|
5400
|
+
}, {
|
|
5401
|
+
readonly name: "rOut";
|
|
5402
|
+
readonly type: "uint256";
|
|
5403
|
+
readonly internalType: "uint256";
|
|
5404
|
+
}];
|
|
5405
|
+
readonly outputs: readonly [{
|
|
5406
|
+
readonly name: "";
|
|
5407
|
+
readonly type: "uint256";
|
|
5408
|
+
readonly internalType: "uint256";
|
|
5409
|
+
}];
|
|
5410
|
+
readonly stateMutability: "view";
|
|
5411
|
+
}, {
|
|
5412
|
+
readonly type: "function";
|
|
5413
|
+
readonly name: "lastUpdate";
|
|
5414
|
+
readonly inputs: readonly [];
|
|
5415
|
+
readonly outputs: readonly [{
|
|
5416
|
+
readonly name: "";
|
|
5417
|
+
readonly type: "uint64";
|
|
5418
|
+
readonly internalType: "uint64";
|
|
5419
|
+
}];
|
|
5420
|
+
readonly stateMutability: "view";
|
|
5421
|
+
}, {
|
|
5422
|
+
readonly type: "function";
|
|
5423
|
+
readonly name: "price";
|
|
5424
|
+
readonly inputs: readonly [];
|
|
5425
|
+
readonly outputs: readonly [{
|
|
5426
|
+
readonly name: "";
|
|
5427
|
+
readonly type: "uint256";
|
|
5428
|
+
readonly internalType: "uint256";
|
|
5429
|
+
}];
|
|
5430
|
+
readonly stateMutability: "view";
|
|
5431
|
+
}, {
|
|
5432
|
+
readonly type: "function";
|
|
5433
|
+
readonly name: "reserveHype";
|
|
5434
|
+
readonly inputs: readonly [];
|
|
5435
|
+
readonly outputs: readonly [{
|
|
5436
|
+
readonly name: "r";
|
|
5437
|
+
readonly type: "uint256";
|
|
5438
|
+
readonly internalType: "uint256";
|
|
5439
|
+
}];
|
|
5440
|
+
readonly stateMutability: "view";
|
|
5441
|
+
}, {
|
|
5442
|
+
readonly type: "function";
|
|
5443
|
+
readonly name: "reserveToken";
|
|
5444
|
+
readonly inputs: readonly [];
|
|
5445
|
+
readonly outputs: readonly [{
|
|
5446
|
+
readonly name: "r";
|
|
5447
|
+
readonly type: "uint256";
|
|
5448
|
+
readonly internalType: "uint256";
|
|
5449
|
+
}];
|
|
5450
|
+
readonly stateMutability: "view";
|
|
5451
|
+
}, {
|
|
5452
|
+
readonly type: "function";
|
|
5453
|
+
readonly name: "reserves";
|
|
5454
|
+
readonly inputs: readonly [];
|
|
5455
|
+
readonly outputs: readonly [{
|
|
5456
|
+
readonly name: "rHype";
|
|
5457
|
+
readonly type: "uint256";
|
|
5458
|
+
readonly internalType: "uint256";
|
|
5459
|
+
}, {
|
|
5460
|
+
readonly name: "rToken";
|
|
5461
|
+
readonly type: "uint256";
|
|
5462
|
+
readonly internalType: "uint256";
|
|
5463
|
+
}, {
|
|
5464
|
+
readonly name: "last";
|
|
5465
|
+
readonly type: "uint32";
|
|
5466
|
+
readonly internalType: "uint32";
|
|
5467
|
+
}];
|
|
5468
|
+
readonly stateMutability: "view";
|
|
5469
|
+
}, {
|
|
5470
|
+
readonly type: "function";
|
|
5471
|
+
readonly name: "sharesOf";
|
|
5472
|
+
readonly inputs: readonly [{
|
|
5473
|
+
readonly name: "a";
|
|
5474
|
+
readonly type: "address";
|
|
5475
|
+
readonly internalType: "address";
|
|
5476
|
+
}];
|
|
5477
|
+
readonly outputs: readonly [{
|
|
5478
|
+
readonly name: "";
|
|
5479
|
+
readonly type: "uint256";
|
|
5480
|
+
readonly internalType: "uint256";
|
|
5481
|
+
}];
|
|
5482
|
+
readonly stateMutability: "view";
|
|
5483
|
+
}, {
|
|
5484
|
+
readonly type: "function";
|
|
5485
|
+
readonly name: "swapExactHypeForTokens";
|
|
5486
|
+
readonly inputs: readonly [{
|
|
5487
|
+
readonly name: "minOut";
|
|
5488
|
+
readonly type: "uint256";
|
|
5489
|
+
readonly internalType: "uint256";
|
|
5490
|
+
}, {
|
|
5491
|
+
readonly name: "to";
|
|
5492
|
+
readonly type: "address";
|
|
5493
|
+
readonly internalType: "address";
|
|
5494
|
+
}];
|
|
5495
|
+
readonly outputs: readonly [{
|
|
5496
|
+
readonly name: "out";
|
|
5497
|
+
readonly type: "uint256";
|
|
5498
|
+
readonly internalType: "uint256";
|
|
5499
|
+
}];
|
|
5500
|
+
readonly stateMutability: "payable";
|
|
5501
|
+
}, {
|
|
5502
|
+
readonly type: "function";
|
|
5503
|
+
readonly name: "swapExactTokensForHype";
|
|
5504
|
+
readonly inputs: readonly [{
|
|
5505
|
+
readonly name: "amountIn";
|
|
5506
|
+
readonly type: "uint256";
|
|
5507
|
+
readonly internalType: "uint256";
|
|
5508
|
+
}, {
|
|
5509
|
+
readonly name: "minOut";
|
|
5510
|
+
readonly type: "uint256";
|
|
5511
|
+
readonly internalType: "uint256";
|
|
5512
|
+
}, {
|
|
5513
|
+
readonly name: "to";
|
|
5514
|
+
readonly type: "address";
|
|
5515
|
+
readonly internalType: "address";
|
|
5516
|
+
}];
|
|
5517
|
+
readonly outputs: readonly [{
|
|
5518
|
+
readonly name: "out";
|
|
5519
|
+
readonly type: "uint256";
|
|
5520
|
+
readonly internalType: "uint256";
|
|
5521
|
+
}];
|
|
5522
|
+
readonly stateMutability: "nonpayable";
|
|
5523
|
+
}, {
|
|
5524
|
+
readonly type: "function";
|
|
5525
|
+
readonly name: "token";
|
|
5526
|
+
readonly inputs: readonly [];
|
|
5527
|
+
readonly outputs: readonly [{
|
|
5528
|
+
readonly name: "";
|
|
5529
|
+
readonly type: "address";
|
|
5530
|
+
readonly internalType: "address";
|
|
5531
|
+
}];
|
|
5532
|
+
readonly stateMutability: "view";
|
|
5533
|
+
}, {
|
|
5534
|
+
readonly type: "function";
|
|
5535
|
+
readonly name: "totalShares";
|
|
5536
|
+
readonly inputs: readonly [];
|
|
5537
|
+
readonly outputs: readonly [{
|
|
5538
|
+
readonly name: "";
|
|
5539
|
+
readonly type: "uint256";
|
|
5540
|
+
readonly internalType: "uint256";
|
|
5541
|
+
}];
|
|
5542
|
+
readonly stateMutability: "view";
|
|
5543
|
+
}, {
|
|
5544
|
+
readonly type: "function";
|
|
5545
|
+
readonly name: "uniPair";
|
|
5546
|
+
readonly inputs: readonly [];
|
|
5547
|
+
readonly outputs: readonly [{
|
|
5548
|
+
readonly name: "";
|
|
5549
|
+
readonly type: "address";
|
|
5550
|
+
readonly internalType: "contract IUniswapV2Pair";
|
|
5551
|
+
}];
|
|
5552
|
+
readonly stateMutability: "view";
|
|
5553
|
+
}, {
|
|
5554
|
+
readonly type: "function";
|
|
5555
|
+
readonly name: "weth";
|
|
5556
|
+
readonly inputs: readonly [];
|
|
5557
|
+
readonly outputs: readonly [{
|
|
5558
|
+
readonly name: "";
|
|
5559
|
+
readonly type: "address";
|
|
5560
|
+
readonly internalType: "contract IWETH";
|
|
5561
|
+
}];
|
|
5562
|
+
readonly stateMutability: "view";
|
|
5563
|
+
}, {
|
|
5564
|
+
readonly type: "event";
|
|
5565
|
+
readonly name: "Swap";
|
|
5566
|
+
readonly inputs: readonly [{
|
|
5567
|
+
readonly name: "trader";
|
|
5568
|
+
readonly type: "address";
|
|
5569
|
+
readonly indexed: true;
|
|
5570
|
+
readonly internalType: "address";
|
|
5571
|
+
}, {
|
|
5572
|
+
readonly name: "hypeIn";
|
|
5573
|
+
readonly type: "bool";
|
|
5574
|
+
readonly indexed: false;
|
|
5575
|
+
readonly internalType: "bool";
|
|
5576
|
+
}, {
|
|
5577
|
+
readonly name: "amountIn";
|
|
5578
|
+
readonly type: "uint256";
|
|
5579
|
+
readonly indexed: false;
|
|
5580
|
+
readonly internalType: "uint256";
|
|
5581
|
+
}, {
|
|
5582
|
+
readonly name: "amountOut";
|
|
5583
|
+
readonly type: "uint256";
|
|
5584
|
+
readonly indexed: false;
|
|
5585
|
+
readonly internalType: "uint256";
|
|
5586
|
+
}, {
|
|
5587
|
+
readonly name: "to";
|
|
5588
|
+
readonly type: "address";
|
|
5589
|
+
readonly indexed: true;
|
|
5590
|
+
readonly internalType: "address";
|
|
5591
|
+
}];
|
|
5592
|
+
readonly anonymous: false;
|
|
5593
|
+
}];
|