@gearbox-protocol/sdk 8.17.0 → 8.18.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.
Files changed (44) hide show
  1. package/dist/cjs/abi/index.js +2 -0
  2. package/dist/cjs/abi/mellow.js +2938 -0
  3. package/dist/cjs/plugins/adapters/AdaptersPlugin.js +27 -0
  4. package/dist/cjs/plugins/adapters/FluidDexAdapterContract.js +38 -0
  5. package/dist/cjs/plugins/adapters/InfraredVaultAdapterContract.js +38 -0
  6. package/dist/cjs/plugins/adapters/KodiakIslandGatewayAdapterContract.js +38 -0
  7. package/dist/cjs/plugins/adapters/LidoV1AdapterContract.js +37 -0
  8. package/dist/cjs/plugins/adapters/MellowClaimerAdapterContract.js +38 -0
  9. package/dist/cjs/plugins/adapters/MellowDVVAdapterContract.js +38 -0
  10. package/dist/cjs/plugins/adapters/MellowWrapperAdapterContract.js +38 -0
  11. package/dist/cjs/plugins/adapters/TraderJoeRouterAdapterContract.js +38 -0
  12. package/dist/cjs/plugins/adapters/UpshiftVaultAdapterContract.js +38 -0
  13. package/dist/cjs/plugins/adapters/abi/adapters.js +1217 -2
  14. package/dist/cjs/plugins/adapters/index.js +18 -0
  15. package/dist/esm/abi/index.js +1 -0
  16. package/dist/esm/abi/mellow.js +2910 -0
  17. package/dist/esm/plugins/adapters/AdaptersPlugin.js +27 -0
  18. package/dist/esm/plugins/adapters/FluidDexAdapterContract.js +14 -0
  19. package/dist/esm/plugins/adapters/InfraredVaultAdapterContract.js +14 -0
  20. package/dist/esm/plugins/adapters/KodiakIslandGatewayAdapterContract.js +14 -0
  21. package/dist/esm/plugins/adapters/LidoV1AdapterContract.js +13 -0
  22. package/dist/esm/plugins/adapters/MellowClaimerAdapterContract.js +14 -0
  23. package/dist/esm/plugins/adapters/MellowDVVAdapterContract.js +14 -0
  24. package/dist/esm/plugins/adapters/MellowWrapperAdapterContract.js +14 -0
  25. package/dist/esm/plugins/adapters/TraderJoeRouterAdapterContract.js +14 -0
  26. package/dist/esm/plugins/adapters/UpshiftVaultAdapterContract.js +14 -0
  27. package/dist/esm/plugins/adapters/abi/adapters.js +1208 -1
  28. package/dist/esm/plugins/adapters/index.js +9 -0
  29. package/dist/types/abi/index.d.ts +1 -0
  30. package/dist/types/abi/mellow.d.ts +3886 -0
  31. package/dist/types/plugins/adapters/FluidDexAdapterContract.d.ts +127 -0
  32. package/dist/types/plugins/adapters/InfraredVaultAdapterContract.d.ts +195 -0
  33. package/dist/types/plugins/adapters/KodiakIslandGatewayAdapterContract.d.ts +390 -0
  34. package/dist/types/plugins/adapters/LidoV1AdapterContract.d.ts +8 -0
  35. package/dist/types/plugins/adapters/MellowClaimerAdapterContract.d.ts +255 -0
  36. package/dist/types/plugins/adapters/MellowDVVAdapterContract.d.ts +229 -0
  37. package/dist/types/plugins/adapters/MellowWrapperAdapterContract.d.ts +159 -0
  38. package/dist/types/plugins/adapters/TraderJoeRouterAdapterContract.d.ts +341 -0
  39. package/dist/types/plugins/adapters/UpshiftVaultAdapterContract.d.ts +265 -0
  40. package/dist/types/plugins/adapters/abi/adapters.d.ts +1897 -0
  41. package/dist/types/plugins/adapters/index.d.ts +9 -0
  42. package/dist/types/plugins/adapters/types.d.ts +1 -1
  43. package/dist/types/sdk/utils/zod.d.ts +2 -1
  44. package/package.json +1 -1
@@ -7047,3 +7047,1900 @@ export declare const iwstEthv1AdapterAbi: readonly [{
7047
7047
  }];
7048
7048
  readonly stateMutability: "nonpayable";
7049
7049
  }];
7050
+ export declare const iFluidDexAdapterAbi: readonly [{
7051
+ readonly type: "function";
7052
+ readonly name: "contractType";
7053
+ readonly inputs: readonly [];
7054
+ readonly outputs: readonly [{
7055
+ readonly name: "";
7056
+ readonly type: "bytes32";
7057
+ readonly internalType: "bytes32";
7058
+ }];
7059
+ readonly stateMutability: "view";
7060
+ }, {
7061
+ readonly type: "function";
7062
+ readonly name: "creditManager";
7063
+ readonly inputs: readonly [];
7064
+ readonly outputs: readonly [{
7065
+ readonly name: "";
7066
+ readonly type: "address";
7067
+ readonly internalType: "address";
7068
+ }];
7069
+ readonly stateMutability: "view";
7070
+ }, {
7071
+ readonly type: "function";
7072
+ readonly name: "serialize";
7073
+ readonly inputs: readonly [];
7074
+ readonly outputs: readonly [{
7075
+ readonly name: "serializedData";
7076
+ readonly type: "bytes";
7077
+ readonly internalType: "bytes";
7078
+ }];
7079
+ readonly stateMutability: "view";
7080
+ }, {
7081
+ readonly type: "function";
7082
+ readonly name: "swapIn";
7083
+ readonly inputs: readonly [{
7084
+ readonly name: "swap0to1";
7085
+ readonly type: "bool";
7086
+ readonly internalType: "bool";
7087
+ }, {
7088
+ readonly name: "amountIn";
7089
+ readonly type: "uint256";
7090
+ readonly internalType: "uint256";
7091
+ }, {
7092
+ readonly name: "amountOutMin";
7093
+ readonly type: "uint256";
7094
+ readonly internalType: "uint256";
7095
+ }, {
7096
+ readonly name: "to";
7097
+ readonly type: "address";
7098
+ readonly internalType: "address";
7099
+ }];
7100
+ readonly outputs: readonly [{
7101
+ readonly name: "";
7102
+ readonly type: "bool";
7103
+ readonly internalType: "bool";
7104
+ }];
7105
+ readonly stateMutability: "nonpayable";
7106
+ }, {
7107
+ readonly type: "function";
7108
+ readonly name: "swapInDiff";
7109
+ readonly inputs: readonly [{
7110
+ readonly name: "swap0to1";
7111
+ readonly type: "bool";
7112
+ readonly internalType: "bool";
7113
+ }, {
7114
+ readonly name: "leftoverAmount";
7115
+ readonly type: "uint256";
7116
+ readonly internalType: "uint256";
7117
+ }, {
7118
+ readonly name: "rateMinRAY";
7119
+ readonly type: "uint256";
7120
+ readonly internalType: "uint256";
7121
+ }];
7122
+ readonly outputs: readonly [{
7123
+ readonly name: "";
7124
+ readonly type: "bool";
7125
+ readonly internalType: "bool";
7126
+ }];
7127
+ readonly stateMutability: "nonpayable";
7128
+ }, {
7129
+ readonly type: "function";
7130
+ readonly name: "targetContract";
7131
+ readonly inputs: readonly [];
7132
+ readonly outputs: readonly [{
7133
+ readonly name: "";
7134
+ readonly type: "address";
7135
+ readonly internalType: "address";
7136
+ }];
7137
+ readonly stateMutability: "view";
7138
+ }, {
7139
+ readonly type: "function";
7140
+ readonly name: "token0";
7141
+ readonly inputs: readonly [];
7142
+ readonly outputs: readonly [{
7143
+ readonly name: "";
7144
+ readonly type: "address";
7145
+ readonly internalType: "address";
7146
+ }];
7147
+ readonly stateMutability: "view";
7148
+ }, {
7149
+ readonly type: "function";
7150
+ readonly name: "token1";
7151
+ readonly inputs: readonly [];
7152
+ readonly outputs: readonly [{
7153
+ readonly name: "";
7154
+ readonly type: "address";
7155
+ readonly internalType: "address";
7156
+ }];
7157
+ readonly stateMutability: "view";
7158
+ }, {
7159
+ readonly type: "function";
7160
+ readonly name: "version";
7161
+ readonly inputs: readonly [];
7162
+ readonly outputs: readonly [{
7163
+ readonly name: "";
7164
+ readonly type: "uint256";
7165
+ readonly internalType: "uint256";
7166
+ }];
7167
+ readonly stateMutability: "view";
7168
+ }];
7169
+ export declare const iInfraredVaultAdapterAbi: readonly [{
7170
+ readonly type: "function";
7171
+ readonly name: "contractType";
7172
+ readonly inputs: readonly [];
7173
+ readonly outputs: readonly [{
7174
+ readonly name: "";
7175
+ readonly type: "bytes32";
7176
+ readonly internalType: "bytes32";
7177
+ }];
7178
+ readonly stateMutability: "view";
7179
+ }, {
7180
+ readonly type: "function";
7181
+ readonly name: "creditManager";
7182
+ readonly inputs: readonly [];
7183
+ readonly outputs: readonly [{
7184
+ readonly name: "";
7185
+ readonly type: "address";
7186
+ readonly internalType: "address";
7187
+ }];
7188
+ readonly stateMutability: "view";
7189
+ }, {
7190
+ readonly type: "function";
7191
+ readonly name: "depositPhantomToken";
7192
+ readonly inputs: readonly [{
7193
+ readonly name: "token";
7194
+ readonly type: "address";
7195
+ readonly internalType: "address";
7196
+ }, {
7197
+ readonly name: "amount";
7198
+ readonly type: "uint256";
7199
+ readonly internalType: "uint256";
7200
+ }];
7201
+ readonly outputs: readonly [{
7202
+ readonly name: "";
7203
+ readonly type: "bool";
7204
+ readonly internalType: "bool";
7205
+ }];
7206
+ readonly stateMutability: "nonpayable";
7207
+ }, {
7208
+ readonly type: "function";
7209
+ readonly name: "exit";
7210
+ readonly inputs: readonly [];
7211
+ readonly outputs: readonly [{
7212
+ readonly name: "useSafePrices";
7213
+ readonly type: "bool";
7214
+ readonly internalType: "bool";
7215
+ }];
7216
+ readonly stateMutability: "nonpayable";
7217
+ }, {
7218
+ readonly type: "function";
7219
+ readonly name: "getReward";
7220
+ readonly inputs: readonly [];
7221
+ readonly outputs: readonly [{
7222
+ readonly name: "useSafePrices";
7223
+ readonly type: "bool";
7224
+ readonly internalType: "bool";
7225
+ }];
7226
+ readonly stateMutability: "nonpayable";
7227
+ }, {
7228
+ readonly type: "function";
7229
+ readonly name: "serialize";
7230
+ readonly inputs: readonly [];
7231
+ readonly outputs: readonly [{
7232
+ readonly name: "serializedData";
7233
+ readonly type: "bytes";
7234
+ readonly internalType: "bytes";
7235
+ }];
7236
+ readonly stateMutability: "view";
7237
+ }, {
7238
+ readonly type: "function";
7239
+ readonly name: "stake";
7240
+ readonly inputs: readonly [{
7241
+ readonly name: "amount";
7242
+ readonly type: "uint256";
7243
+ readonly internalType: "uint256";
7244
+ }];
7245
+ readonly outputs: readonly [{
7246
+ readonly name: "useSafePrices";
7247
+ readonly type: "bool";
7248
+ readonly internalType: "bool";
7249
+ }];
7250
+ readonly stateMutability: "nonpayable";
7251
+ }, {
7252
+ readonly type: "function";
7253
+ readonly name: "stakeDiff";
7254
+ readonly inputs: readonly [{
7255
+ readonly name: "leftoverAmount";
7256
+ readonly type: "uint256";
7257
+ readonly internalType: "uint256";
7258
+ }];
7259
+ readonly outputs: readonly [{
7260
+ readonly name: "useSafePrices";
7261
+ readonly type: "bool";
7262
+ readonly internalType: "bool";
7263
+ }];
7264
+ readonly stateMutability: "nonpayable";
7265
+ }, {
7266
+ readonly type: "function";
7267
+ readonly name: "stakedPhantomToken";
7268
+ readonly inputs: readonly [];
7269
+ readonly outputs: readonly [{
7270
+ readonly name: "";
7271
+ readonly type: "address";
7272
+ readonly internalType: "address";
7273
+ }];
7274
+ readonly stateMutability: "view";
7275
+ }, {
7276
+ readonly type: "function";
7277
+ readonly name: "stakingToken";
7278
+ readonly inputs: readonly [];
7279
+ readonly outputs: readonly [{
7280
+ readonly name: "";
7281
+ readonly type: "address";
7282
+ readonly internalType: "address";
7283
+ }];
7284
+ readonly stateMutability: "view";
7285
+ }, {
7286
+ readonly type: "function";
7287
+ readonly name: "targetContract";
7288
+ readonly inputs: readonly [];
7289
+ readonly outputs: readonly [{
7290
+ readonly name: "";
7291
+ readonly type: "address";
7292
+ readonly internalType: "address";
7293
+ }];
7294
+ readonly stateMutability: "view";
7295
+ }, {
7296
+ readonly type: "function";
7297
+ readonly name: "version";
7298
+ readonly inputs: readonly [];
7299
+ readonly outputs: readonly [{
7300
+ readonly name: "";
7301
+ readonly type: "uint256";
7302
+ readonly internalType: "uint256";
7303
+ }];
7304
+ readonly stateMutability: "view";
7305
+ }, {
7306
+ readonly type: "function";
7307
+ readonly name: "withdraw";
7308
+ readonly inputs: readonly [{
7309
+ readonly name: "amount";
7310
+ readonly type: "uint256";
7311
+ readonly internalType: "uint256";
7312
+ }];
7313
+ readonly outputs: readonly [{
7314
+ readonly name: "useSafePrices";
7315
+ readonly type: "bool";
7316
+ readonly internalType: "bool";
7317
+ }];
7318
+ readonly stateMutability: "nonpayable";
7319
+ }, {
7320
+ readonly type: "function";
7321
+ readonly name: "withdrawDiff";
7322
+ readonly inputs: readonly [{
7323
+ readonly name: "leftoverAmount";
7324
+ readonly type: "uint256";
7325
+ readonly internalType: "uint256";
7326
+ }];
7327
+ readonly outputs: readonly [{
7328
+ readonly name: "useSafePrices";
7329
+ readonly type: "bool";
7330
+ readonly internalType: "bool";
7331
+ }];
7332
+ readonly stateMutability: "nonpayable";
7333
+ }, {
7334
+ readonly type: "function";
7335
+ readonly name: "withdrawPhantomToken";
7336
+ readonly inputs: readonly [{
7337
+ readonly name: "token";
7338
+ readonly type: "address";
7339
+ readonly internalType: "address";
7340
+ }, {
7341
+ readonly name: "amount";
7342
+ readonly type: "uint256";
7343
+ readonly internalType: "uint256";
7344
+ }];
7345
+ readonly outputs: readonly [{
7346
+ readonly name: "useSafePrices";
7347
+ readonly type: "bool";
7348
+ readonly internalType: "bool";
7349
+ }];
7350
+ readonly stateMutability: "nonpayable";
7351
+ }, {
7352
+ readonly type: "error";
7353
+ readonly name: "IncorrectStakedPhantomTokenException";
7354
+ readonly inputs: readonly [];
7355
+ }];
7356
+ export declare const iKodiakIslandGatewayAdapterAbi: readonly [{
7357
+ readonly type: "function";
7358
+ readonly name: "addLiquidityImbalanced";
7359
+ readonly inputs: readonly [{
7360
+ readonly name: "island";
7361
+ readonly type: "address";
7362
+ readonly internalType: "address";
7363
+ }, {
7364
+ readonly name: "amount0";
7365
+ readonly type: "uint256";
7366
+ readonly internalType: "uint256";
7367
+ }, {
7368
+ readonly name: "amount1";
7369
+ readonly type: "uint256";
7370
+ readonly internalType: "uint256";
7371
+ }, {
7372
+ readonly name: "minLPAmount";
7373
+ readonly type: "uint256";
7374
+ readonly internalType: "uint256";
7375
+ }, {
7376
+ readonly name: "receiver";
7377
+ readonly type: "address";
7378
+ readonly internalType: "address";
7379
+ }];
7380
+ readonly outputs: readonly [{
7381
+ readonly name: "";
7382
+ readonly type: "bool";
7383
+ readonly internalType: "bool";
7384
+ }];
7385
+ readonly stateMutability: "nonpayable";
7386
+ }, {
7387
+ readonly type: "function";
7388
+ readonly name: "addLiquidityImbalancedAssisted";
7389
+ readonly inputs: readonly [{
7390
+ readonly name: "island";
7391
+ readonly type: "address";
7392
+ readonly internalType: "address";
7393
+ }, {
7394
+ readonly name: "amount0";
7395
+ readonly type: "uint256";
7396
+ readonly internalType: "uint256";
7397
+ }, {
7398
+ readonly name: "amount1";
7399
+ readonly type: "uint256";
7400
+ readonly internalType: "uint256";
7401
+ }, {
7402
+ readonly name: "minLPAmount";
7403
+ readonly type: "uint256";
7404
+ readonly internalType: "uint256";
7405
+ }, {
7406
+ readonly name: "receiver";
7407
+ readonly type: "address";
7408
+ readonly internalType: "address";
7409
+ }, {
7410
+ readonly name: "ratios";
7411
+ readonly type: "tuple";
7412
+ readonly internalType: "struct Ratios";
7413
+ readonly components: readonly [{
7414
+ readonly name: "priceRatio";
7415
+ readonly type: "uint256";
7416
+ readonly internalType: "uint256";
7417
+ }, {
7418
+ readonly name: "balance0";
7419
+ readonly type: "uint256";
7420
+ readonly internalType: "uint256";
7421
+ }, {
7422
+ readonly name: "balance1";
7423
+ readonly type: "uint256";
7424
+ readonly internalType: "uint256";
7425
+ }, {
7426
+ readonly name: "swapAll";
7427
+ readonly type: "bool";
7428
+ readonly internalType: "bool";
7429
+ }, {
7430
+ readonly name: "is0to1";
7431
+ readonly type: "bool";
7432
+ readonly internalType: "bool";
7433
+ }];
7434
+ }];
7435
+ readonly outputs: readonly [{
7436
+ readonly name: "";
7437
+ readonly type: "bool";
7438
+ readonly internalType: "bool";
7439
+ }];
7440
+ readonly stateMutability: "nonpayable";
7441
+ }, {
7442
+ readonly type: "function";
7443
+ readonly name: "addLiquidityImbalancedDiff";
7444
+ readonly inputs: readonly [{
7445
+ readonly name: "island";
7446
+ readonly type: "address";
7447
+ readonly internalType: "address";
7448
+ }, {
7449
+ readonly name: "leftoverAmount0";
7450
+ readonly type: "uint256";
7451
+ readonly internalType: "uint256";
7452
+ }, {
7453
+ readonly name: "leftoverAmount1";
7454
+ readonly type: "uint256";
7455
+ readonly internalType: "uint256";
7456
+ }, {
7457
+ readonly name: "minRatesRAY";
7458
+ readonly type: "uint256[2]";
7459
+ readonly internalType: "uint256[2]";
7460
+ }];
7461
+ readonly outputs: readonly [{
7462
+ readonly name: "";
7463
+ readonly type: "bool";
7464
+ readonly internalType: "bool";
7465
+ }];
7466
+ readonly stateMutability: "nonpayable";
7467
+ }, {
7468
+ readonly type: "function";
7469
+ readonly name: "addLiquidityImbalancedDiffAssisted";
7470
+ readonly inputs: readonly [{
7471
+ readonly name: "island";
7472
+ readonly type: "address";
7473
+ readonly internalType: "address";
7474
+ }, {
7475
+ readonly name: "leftoverAmount0";
7476
+ readonly type: "uint256";
7477
+ readonly internalType: "uint256";
7478
+ }, {
7479
+ readonly name: "leftoverAmount1";
7480
+ readonly type: "uint256";
7481
+ readonly internalType: "uint256";
7482
+ }, {
7483
+ readonly name: "minRatesRAY";
7484
+ readonly type: "uint256[2]";
7485
+ readonly internalType: "uint256[2]";
7486
+ }, {
7487
+ readonly name: "ratios";
7488
+ readonly type: "tuple";
7489
+ readonly internalType: "struct Ratios";
7490
+ readonly components: readonly [{
7491
+ readonly name: "priceRatio";
7492
+ readonly type: "uint256";
7493
+ readonly internalType: "uint256";
7494
+ }, {
7495
+ readonly name: "balance0";
7496
+ readonly type: "uint256";
7497
+ readonly internalType: "uint256";
7498
+ }, {
7499
+ readonly name: "balance1";
7500
+ readonly type: "uint256";
7501
+ readonly internalType: "uint256";
7502
+ }, {
7503
+ readonly name: "swapAll";
7504
+ readonly type: "bool";
7505
+ readonly internalType: "bool";
7506
+ }, {
7507
+ readonly name: "is0to1";
7508
+ readonly type: "bool";
7509
+ readonly internalType: "bool";
7510
+ }];
7511
+ }];
7512
+ readonly outputs: readonly [{
7513
+ readonly name: "";
7514
+ readonly type: "bool";
7515
+ readonly internalType: "bool";
7516
+ }];
7517
+ readonly stateMutability: "nonpayable";
7518
+ }, {
7519
+ readonly type: "function";
7520
+ readonly name: "allowedIslands";
7521
+ readonly inputs: readonly [];
7522
+ readonly outputs: readonly [{
7523
+ readonly name: "";
7524
+ readonly type: "tuple[]";
7525
+ readonly internalType: "struct KodiakIslandStatus[]";
7526
+ readonly components: readonly [{
7527
+ readonly name: "island";
7528
+ readonly type: "address";
7529
+ readonly internalType: "address";
7530
+ }, {
7531
+ readonly name: "status";
7532
+ readonly type: "uint8";
7533
+ readonly internalType: "enum IslandStatus";
7534
+ }];
7535
+ }];
7536
+ readonly stateMutability: "view";
7537
+ }, {
7538
+ readonly type: "function";
7539
+ readonly name: "contractType";
7540
+ readonly inputs: readonly [];
7541
+ readonly outputs: readonly [{
7542
+ readonly name: "";
7543
+ readonly type: "bytes32";
7544
+ readonly internalType: "bytes32";
7545
+ }];
7546
+ readonly stateMutability: "view";
7547
+ }, {
7548
+ readonly type: "function";
7549
+ readonly name: "creditManager";
7550
+ readonly inputs: readonly [];
7551
+ readonly outputs: readonly [{
7552
+ readonly name: "";
7553
+ readonly type: "address";
7554
+ readonly internalType: "address";
7555
+ }];
7556
+ readonly stateMutability: "view";
7557
+ }, {
7558
+ readonly type: "function";
7559
+ readonly name: "removeLiquiditySingle";
7560
+ readonly inputs: readonly [{
7561
+ readonly name: "island";
7562
+ readonly type: "address";
7563
+ readonly internalType: "address";
7564
+ }, {
7565
+ readonly name: "lpAmount";
7566
+ readonly type: "uint256";
7567
+ readonly internalType: "uint256";
7568
+ }, {
7569
+ readonly name: "tokenOut";
7570
+ readonly type: "address";
7571
+ readonly internalType: "address";
7572
+ }, {
7573
+ readonly name: "minAmountOut";
7574
+ readonly type: "uint256";
7575
+ readonly internalType: "uint256";
7576
+ }, {
7577
+ readonly name: "receiver";
7578
+ readonly type: "address";
7579
+ readonly internalType: "address";
7580
+ }];
7581
+ readonly outputs: readonly [{
7582
+ readonly name: "";
7583
+ readonly type: "bool";
7584
+ readonly internalType: "bool";
7585
+ }];
7586
+ readonly stateMutability: "nonpayable";
7587
+ }, {
7588
+ readonly type: "function";
7589
+ readonly name: "removeLiquiditySingleDiff";
7590
+ readonly inputs: readonly [{
7591
+ readonly name: "island";
7592
+ readonly type: "address";
7593
+ readonly internalType: "address";
7594
+ }, {
7595
+ readonly name: "leftoverAmount";
7596
+ readonly type: "uint256";
7597
+ readonly internalType: "uint256";
7598
+ }, {
7599
+ readonly name: "tokenOut";
7600
+ readonly type: "address";
7601
+ readonly internalType: "address";
7602
+ }, {
7603
+ readonly name: "minRateRAY";
7604
+ readonly type: "uint256";
7605
+ readonly internalType: "uint256";
7606
+ }];
7607
+ readonly outputs: readonly [{
7608
+ readonly name: "";
7609
+ readonly type: "bool";
7610
+ readonly internalType: "bool";
7611
+ }];
7612
+ readonly stateMutability: "nonpayable";
7613
+ }, {
7614
+ readonly type: "function";
7615
+ readonly name: "serialize";
7616
+ readonly inputs: readonly [];
7617
+ readonly outputs: readonly [{
7618
+ readonly name: "serializedData";
7619
+ readonly type: "bytes";
7620
+ readonly internalType: "bytes";
7621
+ }];
7622
+ readonly stateMutability: "view";
7623
+ }, {
7624
+ readonly type: "function";
7625
+ readonly name: "setIslandStatusBatch";
7626
+ readonly inputs: readonly [{
7627
+ readonly name: "islands";
7628
+ readonly type: "tuple[]";
7629
+ readonly internalType: "struct KodiakIslandStatus[]";
7630
+ readonly components: readonly [{
7631
+ readonly name: "island";
7632
+ readonly type: "address";
7633
+ readonly internalType: "address";
7634
+ }, {
7635
+ readonly name: "status";
7636
+ readonly type: "uint8";
7637
+ readonly internalType: "enum IslandStatus";
7638
+ }];
7639
+ }];
7640
+ readonly outputs: readonly [];
7641
+ readonly stateMutability: "nonpayable";
7642
+ }, {
7643
+ readonly type: "function";
7644
+ readonly name: "swap";
7645
+ readonly inputs: readonly [{
7646
+ readonly name: "island";
7647
+ readonly type: "address";
7648
+ readonly internalType: "address";
7649
+ }, {
7650
+ readonly name: "tokenIn";
7651
+ readonly type: "address";
7652
+ readonly internalType: "address";
7653
+ }, {
7654
+ readonly name: "amountIn";
7655
+ readonly type: "uint256";
7656
+ readonly internalType: "uint256";
7657
+ }, {
7658
+ readonly name: "amountOutMin";
7659
+ readonly type: "uint256";
7660
+ readonly internalType: "uint256";
7661
+ }];
7662
+ readonly outputs: readonly [{
7663
+ readonly name: "";
7664
+ readonly type: "bool";
7665
+ readonly internalType: "bool";
7666
+ }];
7667
+ readonly stateMutability: "nonpayable";
7668
+ }, {
7669
+ readonly type: "function";
7670
+ readonly name: "swapDiff";
7671
+ readonly inputs: readonly [{
7672
+ readonly name: "island";
7673
+ readonly type: "address";
7674
+ readonly internalType: "address";
7675
+ }, {
7676
+ readonly name: "tokenIn";
7677
+ readonly type: "address";
7678
+ readonly internalType: "address";
7679
+ }, {
7680
+ readonly name: "leftoverAmount";
7681
+ readonly type: "uint256";
7682
+ readonly internalType: "uint256";
7683
+ }, {
7684
+ readonly name: "minRateRAY";
7685
+ readonly type: "uint256";
7686
+ readonly internalType: "uint256";
7687
+ }];
7688
+ readonly outputs: readonly [{
7689
+ readonly name: "";
7690
+ readonly type: "bool";
7691
+ readonly internalType: "bool";
7692
+ }];
7693
+ readonly stateMutability: "nonpayable";
7694
+ }, {
7695
+ readonly type: "function";
7696
+ readonly name: "targetContract";
7697
+ readonly inputs: readonly [];
7698
+ readonly outputs: readonly [{
7699
+ readonly name: "";
7700
+ readonly type: "address";
7701
+ readonly internalType: "address";
7702
+ }];
7703
+ readonly stateMutability: "view";
7704
+ }, {
7705
+ readonly type: "function";
7706
+ readonly name: "version";
7707
+ readonly inputs: readonly [];
7708
+ readonly outputs: readonly [{
7709
+ readonly name: "";
7710
+ readonly type: "uint256";
7711
+ readonly internalType: "uint256";
7712
+ }];
7713
+ readonly stateMutability: "view";
7714
+ }, {
7715
+ readonly type: "event";
7716
+ readonly name: "SetIslandStatus";
7717
+ readonly inputs: readonly [{
7718
+ readonly name: "island";
7719
+ readonly type: "address";
7720
+ readonly indexed: true;
7721
+ readonly internalType: "address";
7722
+ }, {
7723
+ readonly name: "status";
7724
+ readonly type: "uint8";
7725
+ readonly indexed: false;
7726
+ readonly internalType: "enum IslandStatus";
7727
+ }];
7728
+ readonly anonymous: false;
7729
+ }, {
7730
+ readonly type: "error";
7731
+ readonly name: "IslandNotAllowedException";
7732
+ readonly inputs: readonly [{
7733
+ readonly name: "island";
7734
+ readonly type: "address";
7735
+ readonly internalType: "address";
7736
+ }];
7737
+ }];
7738
+ export declare const iMellowClaimerAdapterAbi: readonly [{
7739
+ readonly type: "function";
7740
+ readonly name: "allowedMultiVaults";
7741
+ readonly inputs: readonly [];
7742
+ readonly outputs: readonly [{
7743
+ readonly name: "";
7744
+ readonly type: "address[]";
7745
+ readonly internalType: "address[]";
7746
+ }];
7747
+ readonly stateMutability: "view";
7748
+ }, {
7749
+ readonly type: "function";
7750
+ readonly name: "contractType";
7751
+ readonly inputs: readonly [];
7752
+ readonly outputs: readonly [{
7753
+ readonly name: "";
7754
+ readonly type: "bytes32";
7755
+ readonly internalType: "bytes32";
7756
+ }];
7757
+ readonly stateMutability: "view";
7758
+ }, {
7759
+ readonly type: "function";
7760
+ readonly name: "creditManager";
7761
+ readonly inputs: readonly [];
7762
+ readonly outputs: readonly [{
7763
+ readonly name: "";
7764
+ readonly type: "address";
7765
+ readonly internalType: "address";
7766
+ }];
7767
+ readonly stateMutability: "view";
7768
+ }, {
7769
+ readonly type: "function";
7770
+ readonly name: "depositPhantomToken";
7771
+ readonly inputs: readonly [{
7772
+ readonly name: "token";
7773
+ readonly type: "address";
7774
+ readonly internalType: "address";
7775
+ }, {
7776
+ readonly name: "amount";
7777
+ readonly type: "uint256";
7778
+ readonly internalType: "uint256";
7779
+ }];
7780
+ readonly outputs: readonly [{
7781
+ readonly name: "";
7782
+ readonly type: "bool";
7783
+ readonly internalType: "bool";
7784
+ }];
7785
+ readonly stateMutability: "nonpayable";
7786
+ }, {
7787
+ readonly type: "function";
7788
+ readonly name: "getMultiVaultSubvaultIndices";
7789
+ readonly inputs: readonly [{
7790
+ readonly name: "multiVault";
7791
+ readonly type: "address";
7792
+ readonly internalType: "address";
7793
+ }];
7794
+ readonly outputs: readonly [{
7795
+ readonly name: "subvaultIndices";
7796
+ readonly type: "uint256[]";
7797
+ readonly internalType: "uint256[]";
7798
+ }, {
7799
+ readonly name: "withdrawalIndices";
7800
+ readonly type: "uint256[][]";
7801
+ readonly internalType: "uint256[][]";
7802
+ }];
7803
+ readonly stateMutability: "view";
7804
+ }, {
7805
+ readonly type: "function";
7806
+ readonly name: "getUserSubvaultIndices";
7807
+ readonly inputs: readonly [{
7808
+ readonly name: "multiVault";
7809
+ readonly type: "address";
7810
+ readonly internalType: "address";
7811
+ }, {
7812
+ readonly name: "user";
7813
+ readonly type: "address";
7814
+ readonly internalType: "address";
7815
+ }];
7816
+ readonly outputs: readonly [{
7817
+ readonly name: "subvaultIndices";
7818
+ readonly type: "uint256[]";
7819
+ readonly internalType: "uint256[]";
7820
+ }, {
7821
+ readonly name: "withdrawalIndices";
7822
+ readonly type: "uint256[][]";
7823
+ readonly internalType: "uint256[][]";
7824
+ }];
7825
+ readonly stateMutability: "view";
7826
+ }, {
7827
+ readonly type: "function";
7828
+ readonly name: "multiAccept";
7829
+ readonly inputs: readonly [{
7830
+ readonly name: "multiVault";
7831
+ readonly type: "address";
7832
+ readonly internalType: "address";
7833
+ }, {
7834
+ readonly name: "subvaultIndices";
7835
+ readonly type: "uint256[]";
7836
+ readonly internalType: "uint256[]";
7837
+ }, {
7838
+ readonly name: "indices";
7839
+ readonly type: "uint256[][]";
7840
+ readonly internalType: "uint256[][]";
7841
+ }];
7842
+ readonly outputs: readonly [{
7843
+ readonly name: "";
7844
+ readonly type: "bool";
7845
+ readonly internalType: "bool";
7846
+ }];
7847
+ readonly stateMutability: "nonpayable";
7848
+ }, {
7849
+ readonly type: "function";
7850
+ readonly name: "multiAcceptAndClaim";
7851
+ readonly inputs: readonly [{
7852
+ readonly name: "multiVault";
7853
+ readonly type: "address";
7854
+ readonly internalType: "address";
7855
+ }, {
7856
+ readonly name: "subvaultIndices";
7857
+ readonly type: "uint256[]";
7858
+ readonly internalType: "uint256[]";
7859
+ }, {
7860
+ readonly name: "indices";
7861
+ readonly type: "uint256[][]";
7862
+ readonly internalType: "uint256[][]";
7863
+ }, {
7864
+ readonly name: "";
7865
+ readonly type: "address";
7866
+ readonly internalType: "address";
7867
+ }, {
7868
+ readonly name: "maxAssets";
7869
+ readonly type: "uint256";
7870
+ readonly internalType: "uint256";
7871
+ }];
7872
+ readonly outputs: readonly [{
7873
+ readonly name: "";
7874
+ readonly type: "bool";
7875
+ readonly internalType: "bool";
7876
+ }];
7877
+ readonly stateMutability: "nonpayable";
7878
+ }, {
7879
+ readonly type: "function";
7880
+ readonly name: "serialize";
7881
+ readonly inputs: readonly [];
7882
+ readonly outputs: readonly [{
7883
+ readonly name: "serializedData";
7884
+ readonly type: "bytes";
7885
+ readonly internalType: "bytes";
7886
+ }];
7887
+ readonly stateMutability: "view";
7888
+ }, {
7889
+ readonly type: "function";
7890
+ readonly name: "setMultiVaultStatusBatch";
7891
+ readonly inputs: readonly [{
7892
+ readonly name: "multivaults";
7893
+ readonly type: "tuple[]";
7894
+ readonly internalType: "struct MellowMultiVaultStatus[]";
7895
+ readonly components: readonly [{
7896
+ readonly name: "multiVault";
7897
+ readonly type: "address";
7898
+ readonly internalType: "address";
7899
+ }, {
7900
+ readonly name: "stakedPhantomToken";
7901
+ readonly type: "address";
7902
+ readonly internalType: "address";
7903
+ }, {
7904
+ readonly name: "allowed";
7905
+ readonly type: "bool";
7906
+ readonly internalType: "bool";
7907
+ }];
7908
+ }];
7909
+ readonly outputs: readonly [];
7910
+ readonly stateMutability: "nonpayable";
7911
+ }, {
7912
+ readonly type: "function";
7913
+ readonly name: "targetContract";
7914
+ readonly inputs: readonly [];
7915
+ readonly outputs: readonly [{
7916
+ readonly name: "";
7917
+ readonly type: "address";
7918
+ readonly internalType: "address";
7919
+ }];
7920
+ readonly stateMutability: "view";
7921
+ }, {
7922
+ readonly type: "function";
7923
+ readonly name: "version";
7924
+ readonly inputs: readonly [];
7925
+ readonly outputs: readonly [{
7926
+ readonly name: "";
7927
+ readonly type: "uint256";
7928
+ readonly internalType: "uint256";
7929
+ }];
7930
+ readonly stateMutability: "view";
7931
+ }, {
7932
+ readonly type: "function";
7933
+ readonly name: "withdrawPhantomToken";
7934
+ readonly inputs: readonly [{
7935
+ readonly name: "token";
7936
+ readonly type: "address";
7937
+ readonly internalType: "address";
7938
+ }, {
7939
+ readonly name: "amount";
7940
+ readonly type: "uint256";
7941
+ readonly internalType: "uint256";
7942
+ }];
7943
+ readonly outputs: readonly [{
7944
+ readonly name: "useSafePrices";
7945
+ readonly type: "bool";
7946
+ readonly internalType: "bool";
7947
+ }];
7948
+ readonly stateMutability: "nonpayable";
7949
+ }, {
7950
+ readonly type: "event";
7951
+ readonly name: "SetMultiVaultStatus";
7952
+ readonly inputs: readonly [{
7953
+ readonly name: "multiVault";
7954
+ readonly type: "address";
7955
+ readonly indexed: true;
7956
+ readonly internalType: "address";
7957
+ }, {
7958
+ readonly name: "allowed";
7959
+ readonly type: "bool";
7960
+ readonly indexed: false;
7961
+ readonly internalType: "bool";
7962
+ }];
7963
+ readonly anonymous: false;
7964
+ }, {
7965
+ readonly type: "error";
7966
+ readonly name: "IncorrectStakedPhantomTokenException";
7967
+ readonly inputs: readonly [];
7968
+ }, {
7969
+ readonly type: "error";
7970
+ readonly name: "InsufficientClaimedException";
7971
+ readonly inputs: readonly [];
7972
+ }, {
7973
+ readonly type: "error";
7974
+ readonly name: "InvalidMultiVaultException";
7975
+ readonly inputs: readonly [];
7976
+ }, {
7977
+ readonly type: "error";
7978
+ readonly name: "InvalidStakedPhantomTokenException";
7979
+ readonly inputs: readonly [];
7980
+ }, {
7981
+ readonly type: "error";
7982
+ readonly name: "MultiVaultNotAllowedException";
7983
+ readonly inputs: readonly [];
7984
+ }];
7985
+ export declare const mellowDVVAdapterAbi: readonly [{
7986
+ readonly type: "constructor";
7987
+ readonly inputs: readonly [{
7988
+ readonly name: "_creditManager";
7989
+ readonly type: "address";
7990
+ readonly internalType: "address";
7991
+ }, {
7992
+ readonly name: "_vault";
7993
+ readonly type: "address";
7994
+ readonly internalType: "address";
7995
+ }];
7996
+ readonly stateMutability: "nonpayable";
7997
+ }, {
7998
+ readonly type: "function";
7999
+ readonly name: "acl";
8000
+ readonly inputs: readonly [];
8001
+ readonly outputs: readonly [{
8002
+ readonly name: "";
8003
+ readonly type: "address";
8004
+ readonly internalType: "address";
8005
+ }];
8006
+ readonly stateMutability: "view";
8007
+ }, {
8008
+ readonly type: "function";
8009
+ readonly name: "asset";
8010
+ readonly inputs: readonly [];
8011
+ readonly outputs: readonly [{
8012
+ readonly name: "";
8013
+ readonly type: "address";
8014
+ readonly internalType: "address";
8015
+ }];
8016
+ readonly stateMutability: "view";
8017
+ }, {
8018
+ readonly type: "function";
8019
+ readonly name: "contractType";
8020
+ readonly inputs: readonly [];
8021
+ readonly outputs: readonly [{
8022
+ readonly name: "";
8023
+ readonly type: "bytes32";
8024
+ readonly internalType: "bytes32";
8025
+ }];
8026
+ readonly stateMutability: "view";
8027
+ }, {
8028
+ readonly type: "function";
8029
+ readonly name: "creditManager";
8030
+ readonly inputs: readonly [];
8031
+ readonly outputs: readonly [{
8032
+ readonly name: "";
8033
+ readonly type: "address";
8034
+ readonly internalType: "address";
8035
+ }];
8036
+ readonly stateMutability: "view";
8037
+ }, {
8038
+ readonly type: "function";
8039
+ readonly name: "deposit";
8040
+ readonly inputs: readonly [{
8041
+ readonly name: "assets";
8042
+ readonly type: "uint256";
8043
+ readonly internalType: "uint256";
8044
+ }, {
8045
+ readonly name: "";
8046
+ readonly type: "address";
8047
+ readonly internalType: "address";
8048
+ }];
8049
+ readonly outputs: readonly [{
8050
+ readonly name: "";
8051
+ readonly type: "bool";
8052
+ readonly internalType: "bool";
8053
+ }];
8054
+ readonly stateMutability: "nonpayable";
8055
+ }, {
8056
+ readonly type: "function";
8057
+ readonly name: "depositDiff";
8058
+ readonly inputs: readonly [{
8059
+ readonly name: "leftoverAmount";
8060
+ readonly type: "uint256";
8061
+ readonly internalType: "uint256";
8062
+ }];
8063
+ readonly outputs: readonly [{
8064
+ readonly name: "";
8065
+ readonly type: "bool";
8066
+ readonly internalType: "bool";
8067
+ }];
8068
+ readonly stateMutability: "nonpayable";
8069
+ }, {
8070
+ readonly type: "function";
8071
+ readonly name: "mint";
8072
+ readonly inputs: readonly [{
8073
+ readonly name: "shares";
8074
+ readonly type: "uint256";
8075
+ readonly internalType: "uint256";
8076
+ }, {
8077
+ readonly name: "";
8078
+ readonly type: "address";
8079
+ readonly internalType: "address";
8080
+ }];
8081
+ readonly outputs: readonly [{
8082
+ readonly name: "";
8083
+ readonly type: "bool";
8084
+ readonly internalType: "bool";
8085
+ }];
8086
+ readonly stateMutability: "nonpayable";
8087
+ }, {
8088
+ readonly type: "function";
8089
+ readonly name: "redeem";
8090
+ readonly inputs: readonly [{
8091
+ readonly name: "shares";
8092
+ readonly type: "uint256";
8093
+ readonly internalType: "uint256";
8094
+ }, {
8095
+ readonly name: "";
8096
+ readonly type: "address";
8097
+ readonly internalType: "address";
8098
+ }, {
8099
+ readonly name: "";
8100
+ readonly type: "address";
8101
+ readonly internalType: "address";
8102
+ }];
8103
+ readonly outputs: readonly [{
8104
+ readonly name: "";
8105
+ readonly type: "bool";
8106
+ readonly internalType: "bool";
8107
+ }];
8108
+ readonly stateMutability: "nonpayable";
8109
+ }, {
8110
+ readonly type: "function";
8111
+ readonly name: "redeemDiff";
8112
+ readonly inputs: readonly [{
8113
+ readonly name: "leftoverAmount";
8114
+ readonly type: "uint256";
8115
+ readonly internalType: "uint256";
8116
+ }];
8117
+ readonly outputs: readonly [{
8118
+ readonly name: "";
8119
+ readonly type: "bool";
8120
+ readonly internalType: "bool";
8121
+ }];
8122
+ readonly stateMutability: "nonpayable";
8123
+ }, {
8124
+ readonly type: "function";
8125
+ readonly name: "serialize";
8126
+ readonly inputs: readonly [];
8127
+ readonly outputs: readonly [{
8128
+ readonly name: "serializedData";
8129
+ readonly type: "bytes";
8130
+ readonly internalType: "bytes";
8131
+ }];
8132
+ readonly stateMutability: "view";
8133
+ }, {
8134
+ readonly type: "function";
8135
+ readonly name: "targetContract";
8136
+ readonly inputs: readonly [];
8137
+ readonly outputs: readonly [{
8138
+ readonly name: "";
8139
+ readonly type: "address";
8140
+ readonly internalType: "address";
8141
+ }];
8142
+ readonly stateMutability: "view";
8143
+ }, {
8144
+ readonly type: "function";
8145
+ readonly name: "vault";
8146
+ readonly inputs: readonly [];
8147
+ readonly outputs: readonly [{
8148
+ readonly name: "";
8149
+ readonly type: "address";
8150
+ readonly internalType: "address";
8151
+ }];
8152
+ readonly stateMutability: "view";
8153
+ }, {
8154
+ readonly type: "function";
8155
+ readonly name: "version";
8156
+ readonly inputs: readonly [];
8157
+ readonly outputs: readonly [{
8158
+ readonly name: "";
8159
+ readonly type: "uint256";
8160
+ readonly internalType: "uint256";
8161
+ }];
8162
+ readonly stateMutability: "view";
8163
+ }, {
8164
+ readonly type: "function";
8165
+ readonly name: "withdraw";
8166
+ readonly inputs: readonly [{
8167
+ readonly name: "assets";
8168
+ readonly type: "uint256";
8169
+ readonly internalType: "uint256";
8170
+ }, {
8171
+ readonly name: "";
8172
+ readonly type: "address";
8173
+ readonly internalType: "address";
8174
+ }, {
8175
+ readonly name: "";
8176
+ readonly type: "address";
8177
+ readonly internalType: "address";
8178
+ }];
8179
+ readonly outputs: readonly [{
8180
+ readonly name: "";
8181
+ readonly type: "bool";
8182
+ readonly internalType: "bool";
8183
+ }];
8184
+ readonly stateMutability: "nonpayable";
8185
+ }, {
8186
+ readonly type: "error";
8187
+ readonly name: "AddressIsNotContractException";
8188
+ readonly inputs: readonly [{
8189
+ readonly name: "";
8190
+ readonly type: "address";
8191
+ readonly internalType: "address";
8192
+ }];
8193
+ }, {
8194
+ readonly type: "error";
8195
+ readonly name: "CallerNotCreditFacadeException";
8196
+ readonly inputs: readonly [];
8197
+ }, {
8198
+ readonly type: "error";
8199
+ readonly name: "NotImplementedException";
8200
+ readonly inputs: readonly [];
8201
+ }, {
8202
+ readonly type: "error";
8203
+ readonly name: "ZeroAddressException";
8204
+ readonly inputs: readonly [];
8205
+ }];
8206
+ export declare const iMellowWrapperAdapterAbi: readonly [{
8207
+ readonly type: "function";
8208
+ readonly name: "allowedVaults";
8209
+ readonly inputs: readonly [];
8210
+ readonly outputs: readonly [{
8211
+ readonly name: "";
8212
+ readonly type: "address[]";
8213
+ readonly internalType: "address[]";
8214
+ }];
8215
+ readonly stateMutability: "view";
8216
+ }, {
8217
+ readonly type: "function";
8218
+ readonly name: "contractType";
8219
+ readonly inputs: readonly [];
8220
+ readonly outputs: readonly [{
8221
+ readonly name: "";
8222
+ readonly type: "bytes32";
8223
+ readonly internalType: "bytes32";
8224
+ }];
8225
+ readonly stateMutability: "view";
8226
+ }, {
8227
+ readonly type: "function";
8228
+ readonly name: "creditManager";
8229
+ readonly inputs: readonly [];
8230
+ readonly outputs: readonly [{
8231
+ readonly name: "";
8232
+ readonly type: "address";
8233
+ readonly internalType: "address";
8234
+ }];
8235
+ readonly stateMutability: "view";
8236
+ }, {
8237
+ readonly type: "function";
8238
+ readonly name: "deposit";
8239
+ readonly inputs: readonly [{
8240
+ readonly name: "depositToken";
8241
+ readonly type: "address";
8242
+ readonly internalType: "address";
8243
+ }, {
8244
+ readonly name: "amount";
8245
+ readonly type: "uint256";
8246
+ readonly internalType: "uint256";
8247
+ }, {
8248
+ readonly name: "vault";
8249
+ readonly type: "address";
8250
+ readonly internalType: "address";
8251
+ }, {
8252
+ readonly name: "receiver";
8253
+ readonly type: "address";
8254
+ readonly internalType: "address";
8255
+ }, {
8256
+ readonly name: "referral";
8257
+ readonly type: "address";
8258
+ readonly internalType: "address";
8259
+ }];
8260
+ readonly outputs: readonly [{
8261
+ readonly name: "";
8262
+ readonly type: "bool";
8263
+ readonly internalType: "bool";
8264
+ }];
8265
+ readonly stateMutability: "nonpayable";
8266
+ }, {
8267
+ readonly type: "function";
8268
+ readonly name: "depositDiff";
8269
+ readonly inputs: readonly [{
8270
+ readonly name: "leftoverAmount";
8271
+ readonly type: "uint256";
8272
+ readonly internalType: "uint256";
8273
+ }, {
8274
+ readonly name: "vault";
8275
+ readonly type: "address";
8276
+ readonly internalType: "address";
8277
+ }];
8278
+ readonly outputs: readonly [{
8279
+ readonly name: "";
8280
+ readonly type: "bool";
8281
+ readonly internalType: "bool";
8282
+ }];
8283
+ readonly stateMutability: "nonpayable";
8284
+ }, {
8285
+ readonly type: "function";
8286
+ readonly name: "serialize";
8287
+ readonly inputs: readonly [];
8288
+ readonly outputs: readonly [{
8289
+ readonly name: "serializedData";
8290
+ readonly type: "bytes";
8291
+ readonly internalType: "bytes";
8292
+ }];
8293
+ readonly stateMutability: "view";
8294
+ }, {
8295
+ readonly type: "function";
8296
+ readonly name: "setVaultStatusBatch";
8297
+ readonly inputs: readonly [{
8298
+ readonly name: "vaults";
8299
+ readonly type: "tuple[]";
8300
+ readonly internalType: "struct MellowVaultStatus[]";
8301
+ readonly components: readonly [{
8302
+ readonly name: "vault";
8303
+ readonly type: "address";
8304
+ readonly internalType: "address";
8305
+ }, {
8306
+ readonly name: "allowed";
8307
+ readonly type: "bool";
8308
+ readonly internalType: "bool";
8309
+ }];
8310
+ }];
8311
+ readonly outputs: readonly [];
8312
+ readonly stateMutability: "nonpayable";
8313
+ }, {
8314
+ readonly type: "function";
8315
+ readonly name: "targetContract";
8316
+ readonly inputs: readonly [];
8317
+ readonly outputs: readonly [{
8318
+ readonly name: "";
8319
+ readonly type: "address";
8320
+ readonly internalType: "address";
8321
+ }];
8322
+ readonly stateMutability: "view";
8323
+ }, {
8324
+ readonly type: "function";
8325
+ readonly name: "version";
8326
+ readonly inputs: readonly [];
8327
+ readonly outputs: readonly [{
8328
+ readonly name: "";
8329
+ readonly type: "uint256";
8330
+ readonly internalType: "uint256";
8331
+ }];
8332
+ readonly stateMutability: "view";
8333
+ }, {
8334
+ readonly type: "event";
8335
+ readonly name: "SetVaultStatus";
8336
+ readonly inputs: readonly [{
8337
+ readonly name: "token";
8338
+ readonly type: "address";
8339
+ readonly indexed: true;
8340
+ readonly internalType: "address";
8341
+ }, {
8342
+ readonly name: "newStatus";
8343
+ readonly type: "bool";
8344
+ readonly indexed: false;
8345
+ readonly internalType: "bool";
8346
+ }];
8347
+ readonly anonymous: false;
8348
+ }, {
8349
+ readonly type: "error";
8350
+ readonly name: "VaultNotAllowedException";
8351
+ readonly inputs: readonly [{
8352
+ readonly name: "asset";
8353
+ readonly type: "address";
8354
+ readonly internalType: "address";
8355
+ }];
8356
+ }];
8357
+ export declare const iTraderJoeRouterAdapterAbi: readonly [{
8358
+ readonly type: "function";
8359
+ readonly name: "contractType";
8360
+ readonly inputs: readonly [];
8361
+ readonly outputs: readonly [{
8362
+ readonly name: "";
8363
+ readonly type: "bytes32";
8364
+ readonly internalType: "bytes32";
8365
+ }];
8366
+ readonly stateMutability: "view";
8367
+ }, {
8368
+ readonly type: "function";
8369
+ readonly name: "creditManager";
8370
+ readonly inputs: readonly [];
8371
+ readonly outputs: readonly [{
8372
+ readonly name: "";
8373
+ readonly type: "address";
8374
+ readonly internalType: "address";
8375
+ }];
8376
+ readonly stateMutability: "view";
8377
+ }, {
8378
+ readonly type: "function";
8379
+ readonly name: "isPoolAllowed";
8380
+ readonly inputs: readonly [{
8381
+ readonly name: "token0";
8382
+ readonly type: "address";
8383
+ readonly internalType: "address";
8384
+ }, {
8385
+ readonly name: "token1";
8386
+ readonly type: "address";
8387
+ readonly internalType: "address";
8388
+ }, {
8389
+ readonly name: "binStep";
8390
+ readonly type: "uint256";
8391
+ readonly internalType: "uint256";
8392
+ }, {
8393
+ readonly name: "poolVersion";
8394
+ readonly type: "uint8";
8395
+ readonly internalType: "enum Version";
8396
+ }];
8397
+ readonly outputs: readonly [{
8398
+ readonly name: "";
8399
+ readonly type: "bool";
8400
+ readonly internalType: "bool";
8401
+ }];
8402
+ readonly stateMutability: "view";
8403
+ }, {
8404
+ readonly type: "function";
8405
+ readonly name: "serialize";
8406
+ readonly inputs: readonly [];
8407
+ readonly outputs: readonly [{
8408
+ readonly name: "serializedData";
8409
+ readonly type: "bytes";
8410
+ readonly internalType: "bytes";
8411
+ }];
8412
+ readonly stateMutability: "view";
8413
+ }, {
8414
+ readonly type: "function";
8415
+ readonly name: "setPoolStatusBatch";
8416
+ readonly inputs: readonly [{
8417
+ readonly name: "pools";
8418
+ readonly type: "tuple[]";
8419
+ readonly internalType: "struct TraderJoePoolStatus[]";
8420
+ readonly components: readonly [{
8421
+ readonly name: "token0";
8422
+ readonly type: "address";
8423
+ readonly internalType: "address";
8424
+ }, {
8425
+ readonly name: "token1";
8426
+ readonly type: "address";
8427
+ readonly internalType: "address";
8428
+ }, {
8429
+ readonly name: "binStep";
8430
+ readonly type: "uint256";
8431
+ readonly internalType: "uint256";
8432
+ }, {
8433
+ readonly name: "poolVersion";
8434
+ readonly type: "uint8";
8435
+ readonly internalType: "enum Version";
8436
+ }, {
8437
+ readonly name: "allowed";
8438
+ readonly type: "bool";
8439
+ readonly internalType: "bool";
8440
+ }];
8441
+ }];
8442
+ readonly outputs: readonly [];
8443
+ readonly stateMutability: "nonpayable";
8444
+ }, {
8445
+ readonly type: "function";
8446
+ readonly name: "supportedPools";
8447
+ readonly inputs: readonly [];
8448
+ readonly outputs: readonly [{
8449
+ readonly name: "pools";
8450
+ readonly type: "tuple[]";
8451
+ readonly internalType: "struct TraderJoePool[]";
8452
+ readonly components: readonly [{
8453
+ readonly name: "token0";
8454
+ readonly type: "address";
8455
+ readonly internalType: "address";
8456
+ }, {
8457
+ readonly name: "token1";
8458
+ readonly type: "address";
8459
+ readonly internalType: "address";
8460
+ }, {
8461
+ readonly name: "binStep";
8462
+ readonly type: "uint256";
8463
+ readonly internalType: "uint256";
8464
+ }, {
8465
+ readonly name: "poolVersion";
8466
+ readonly type: "uint8";
8467
+ readonly internalType: "enum Version";
8468
+ }];
8469
+ }];
8470
+ readonly stateMutability: "view";
8471
+ }, {
8472
+ readonly type: "function";
8473
+ readonly name: "swapDiffTokensForTokens";
8474
+ readonly inputs: readonly [{
8475
+ readonly name: "leftoverAmount";
8476
+ readonly type: "uint256";
8477
+ readonly internalType: "uint256";
8478
+ }, {
8479
+ readonly name: "rateMinRAY";
8480
+ readonly type: "uint256";
8481
+ readonly internalType: "uint256";
8482
+ }, {
8483
+ readonly name: "path";
8484
+ readonly type: "tuple";
8485
+ readonly internalType: "struct Path";
8486
+ readonly components: readonly [{
8487
+ readonly name: "pairBinSteps";
8488
+ readonly type: "uint256[]";
8489
+ readonly internalType: "uint256[]";
8490
+ }, {
8491
+ readonly name: "versions";
8492
+ readonly type: "uint8[]";
8493
+ readonly internalType: "enum Version[]";
8494
+ }, {
8495
+ readonly name: "tokenPath";
8496
+ readonly type: "address[]";
8497
+ readonly internalType: "contract IERC20[]";
8498
+ }];
8499
+ }, {
8500
+ readonly name: "deadline";
8501
+ readonly type: "uint256";
8502
+ readonly internalType: "uint256";
8503
+ }];
8504
+ readonly outputs: readonly [{
8505
+ readonly name: "useSafePrices";
8506
+ readonly type: "bool";
8507
+ readonly internalType: "bool";
8508
+ }];
8509
+ readonly stateMutability: "nonpayable";
8510
+ }, {
8511
+ readonly type: "function";
8512
+ readonly name: "swapDiffTokensForTokensSupportingFeeOnTransferTokens";
8513
+ readonly inputs: readonly [{
8514
+ readonly name: "leftoverAmount";
8515
+ readonly type: "uint256";
8516
+ readonly internalType: "uint256";
8517
+ }, {
8518
+ readonly name: "rateMinRAY";
8519
+ readonly type: "uint256";
8520
+ readonly internalType: "uint256";
8521
+ }, {
8522
+ readonly name: "path";
8523
+ readonly type: "tuple";
8524
+ readonly internalType: "struct Path";
8525
+ readonly components: readonly [{
8526
+ readonly name: "pairBinSteps";
8527
+ readonly type: "uint256[]";
8528
+ readonly internalType: "uint256[]";
8529
+ }, {
8530
+ readonly name: "versions";
8531
+ readonly type: "uint8[]";
8532
+ readonly internalType: "enum Version[]";
8533
+ }, {
8534
+ readonly name: "tokenPath";
8535
+ readonly type: "address[]";
8536
+ readonly internalType: "contract IERC20[]";
8537
+ }];
8538
+ }, {
8539
+ readonly name: "deadline";
8540
+ readonly type: "uint256";
8541
+ readonly internalType: "uint256";
8542
+ }];
8543
+ readonly outputs: readonly [{
8544
+ readonly name: "useSafePrices";
8545
+ readonly type: "bool";
8546
+ readonly internalType: "bool";
8547
+ }];
8548
+ readonly stateMutability: "nonpayable";
8549
+ }, {
8550
+ readonly type: "function";
8551
+ readonly name: "swapExactTokensForTokens";
8552
+ readonly inputs: readonly [{
8553
+ readonly name: "amountIn";
8554
+ readonly type: "uint256";
8555
+ readonly internalType: "uint256";
8556
+ }, {
8557
+ readonly name: "amountOutMin";
8558
+ readonly type: "uint256";
8559
+ readonly internalType: "uint256";
8560
+ }, {
8561
+ readonly name: "path";
8562
+ readonly type: "tuple";
8563
+ readonly internalType: "struct Path";
8564
+ readonly components: readonly [{
8565
+ readonly name: "pairBinSteps";
8566
+ readonly type: "uint256[]";
8567
+ readonly internalType: "uint256[]";
8568
+ }, {
8569
+ readonly name: "versions";
8570
+ readonly type: "uint8[]";
8571
+ readonly internalType: "enum Version[]";
8572
+ }, {
8573
+ readonly name: "tokenPath";
8574
+ readonly type: "address[]";
8575
+ readonly internalType: "contract IERC20[]";
8576
+ }];
8577
+ }, {
8578
+ readonly name: "_to";
8579
+ readonly type: "address";
8580
+ readonly internalType: "address";
8581
+ }, {
8582
+ readonly name: "deadline";
8583
+ readonly type: "uint256";
8584
+ readonly internalType: "uint256";
8585
+ }];
8586
+ readonly outputs: readonly [{
8587
+ readonly name: "useSafePrices";
8588
+ readonly type: "bool";
8589
+ readonly internalType: "bool";
8590
+ }];
8591
+ readonly stateMutability: "nonpayable";
8592
+ }, {
8593
+ readonly type: "function";
8594
+ readonly name: "swapExactTokensForTokensSupportingFeeOnTransferTokens";
8595
+ readonly inputs: readonly [{
8596
+ readonly name: "amountIn";
8597
+ readonly type: "uint256";
8598
+ readonly internalType: "uint256";
8599
+ }, {
8600
+ readonly name: "amountOutMin";
8601
+ readonly type: "uint256";
8602
+ readonly internalType: "uint256";
8603
+ }, {
8604
+ readonly name: "path";
8605
+ readonly type: "tuple";
8606
+ readonly internalType: "struct Path";
8607
+ readonly components: readonly [{
8608
+ readonly name: "pairBinSteps";
8609
+ readonly type: "uint256[]";
8610
+ readonly internalType: "uint256[]";
8611
+ }, {
8612
+ readonly name: "versions";
8613
+ readonly type: "uint8[]";
8614
+ readonly internalType: "enum Version[]";
8615
+ }, {
8616
+ readonly name: "tokenPath";
8617
+ readonly type: "address[]";
8618
+ readonly internalType: "contract IERC20[]";
8619
+ }];
8620
+ }, {
8621
+ readonly name: "_to";
8622
+ readonly type: "address";
8623
+ readonly internalType: "address";
8624
+ }, {
8625
+ readonly name: "deadline";
8626
+ readonly type: "uint256";
8627
+ readonly internalType: "uint256";
8628
+ }];
8629
+ readonly outputs: readonly [{
8630
+ readonly name: "useSafePrices";
8631
+ readonly type: "bool";
8632
+ readonly internalType: "bool";
8633
+ }];
8634
+ readonly stateMutability: "nonpayable";
8635
+ }, {
8636
+ readonly type: "function";
8637
+ readonly name: "targetContract";
8638
+ readonly inputs: readonly [];
8639
+ readonly outputs: readonly [{
8640
+ readonly name: "";
8641
+ readonly type: "address";
8642
+ readonly internalType: "address";
8643
+ }];
8644
+ readonly stateMutability: "view";
8645
+ }, {
8646
+ readonly type: "function";
8647
+ readonly name: "version";
8648
+ readonly inputs: readonly [];
8649
+ readonly outputs: readonly [{
8650
+ readonly name: "";
8651
+ readonly type: "uint256";
8652
+ readonly internalType: "uint256";
8653
+ }];
8654
+ readonly stateMutability: "view";
8655
+ }, {
8656
+ readonly type: "event";
8657
+ readonly name: "SetPoolStatus";
8658
+ readonly inputs: readonly [{
8659
+ readonly name: "token0";
8660
+ readonly type: "address";
8661
+ readonly indexed: true;
8662
+ readonly internalType: "address";
8663
+ }, {
8664
+ readonly name: "token1";
8665
+ readonly type: "address";
8666
+ readonly indexed: true;
8667
+ readonly internalType: "address";
8668
+ }, {
8669
+ readonly name: "binStep";
8670
+ readonly type: "uint256";
8671
+ readonly indexed: false;
8672
+ readonly internalType: "uint256";
8673
+ }, {
8674
+ readonly name: "poolVersion";
8675
+ readonly type: "uint8";
8676
+ readonly indexed: false;
8677
+ readonly internalType: "enum Version";
8678
+ }, {
8679
+ readonly name: "allowed";
8680
+ readonly type: "bool";
8681
+ readonly indexed: false;
8682
+ readonly internalType: "bool";
8683
+ }];
8684
+ readonly anonymous: false;
8685
+ }, {
8686
+ readonly type: "error";
8687
+ readonly name: "InvalidPathException";
8688
+ readonly inputs: readonly [];
8689
+ }];
8690
+ export declare const iUpshiftVaultAdapterAbi: readonly [{
8691
+ readonly type: "function";
8692
+ readonly name: "asset";
8693
+ readonly inputs: readonly [];
8694
+ readonly outputs: readonly [{
8695
+ readonly name: "";
8696
+ readonly type: "address";
8697
+ readonly internalType: "address";
8698
+ }];
8699
+ readonly stateMutability: "view";
8700
+ }, {
8701
+ readonly type: "function";
8702
+ readonly name: "claim";
8703
+ readonly inputs: readonly [{
8704
+ readonly name: "amount";
8705
+ readonly type: "uint256";
8706
+ readonly internalType: "uint256";
8707
+ }];
8708
+ readonly outputs: readonly [{
8709
+ readonly name: "";
8710
+ readonly type: "bool";
8711
+ readonly internalType: "bool";
8712
+ }];
8713
+ readonly stateMutability: "nonpayable";
8714
+ }, {
8715
+ readonly type: "function";
8716
+ readonly name: "contractType";
8717
+ readonly inputs: readonly [];
8718
+ readonly outputs: readonly [{
8719
+ readonly name: "";
8720
+ readonly type: "bytes32";
8721
+ readonly internalType: "bytes32";
8722
+ }];
8723
+ readonly stateMutability: "view";
8724
+ }, {
8725
+ readonly type: "function";
8726
+ readonly name: "creditManager";
8727
+ readonly inputs: readonly [];
8728
+ readonly outputs: readonly [{
8729
+ readonly name: "";
8730
+ readonly type: "address";
8731
+ readonly internalType: "address";
8732
+ }];
8733
+ readonly stateMutability: "view";
8734
+ }, {
8735
+ readonly type: "function";
8736
+ readonly name: "deposit";
8737
+ readonly inputs: readonly [{
8738
+ readonly name: "assets";
8739
+ readonly type: "uint256";
8740
+ readonly internalType: "uint256";
8741
+ }, {
8742
+ readonly name: "";
8743
+ readonly type: "address";
8744
+ readonly internalType: "address";
8745
+ }];
8746
+ readonly outputs: readonly [{
8747
+ readonly name: "useSafePrices";
8748
+ readonly type: "bool";
8749
+ readonly internalType: "bool";
8750
+ }];
8751
+ readonly stateMutability: "nonpayable";
8752
+ }, {
8753
+ readonly type: "function";
8754
+ readonly name: "depositDiff";
8755
+ readonly inputs: readonly [{
8756
+ readonly name: "leftoverAmount";
8757
+ readonly type: "uint256";
8758
+ readonly internalType: "uint256";
8759
+ }];
8760
+ readonly outputs: readonly [{
8761
+ readonly name: "useSafePrices";
8762
+ readonly type: "bool";
8763
+ readonly internalType: "bool";
8764
+ }];
8765
+ readonly stateMutability: "nonpayable";
8766
+ }, {
8767
+ readonly type: "function";
8768
+ readonly name: "depositPhantomToken";
8769
+ readonly inputs: readonly [{
8770
+ readonly name: "token";
8771
+ readonly type: "address";
8772
+ readonly internalType: "address";
8773
+ }, {
8774
+ readonly name: "amount";
8775
+ readonly type: "uint256";
8776
+ readonly internalType: "uint256";
8777
+ }];
8778
+ readonly outputs: readonly [{
8779
+ readonly name: "";
8780
+ readonly type: "bool";
8781
+ readonly internalType: "bool";
8782
+ }];
8783
+ readonly stateMutability: "nonpayable";
8784
+ }, {
8785
+ readonly type: "function";
8786
+ readonly name: "mint";
8787
+ readonly inputs: readonly [{
8788
+ readonly name: "shares";
8789
+ readonly type: "uint256";
8790
+ readonly internalType: "uint256";
8791
+ }, {
8792
+ readonly name: "";
8793
+ readonly type: "address";
8794
+ readonly internalType: "address";
8795
+ }];
8796
+ readonly outputs: readonly [{
8797
+ readonly name: "useSafePrices";
8798
+ readonly type: "bool";
8799
+ readonly internalType: "bool";
8800
+ }];
8801
+ readonly stateMutability: "nonpayable";
8802
+ }, {
8803
+ readonly type: "function";
8804
+ readonly name: "redeem";
8805
+ readonly inputs: readonly [{
8806
+ readonly name: "shares";
8807
+ readonly type: "uint256";
8808
+ readonly internalType: "uint256";
8809
+ }, {
8810
+ readonly name: "";
8811
+ readonly type: "address";
8812
+ readonly internalType: "address";
8813
+ }, {
8814
+ readonly name: "";
8815
+ readonly type: "address";
8816
+ readonly internalType: "address";
8817
+ }];
8818
+ readonly outputs: readonly [{
8819
+ readonly name: "useSafePrices";
8820
+ readonly type: "bool";
8821
+ readonly internalType: "bool";
8822
+ }];
8823
+ readonly stateMutability: "nonpayable";
8824
+ }, {
8825
+ readonly type: "function";
8826
+ readonly name: "redeemDiff";
8827
+ readonly inputs: readonly [{
8828
+ readonly name: "leftoverAmount";
8829
+ readonly type: "uint256";
8830
+ readonly internalType: "uint256";
8831
+ }];
8832
+ readonly outputs: readonly [{
8833
+ readonly name: "useSafePrices";
8834
+ readonly type: "bool";
8835
+ readonly internalType: "bool";
8836
+ }];
8837
+ readonly stateMutability: "nonpayable";
8838
+ }, {
8839
+ readonly type: "function";
8840
+ readonly name: "requestRedeem";
8841
+ readonly inputs: readonly [{
8842
+ readonly name: "shares";
8843
+ readonly type: "uint256";
8844
+ readonly internalType: "uint256";
8845
+ }];
8846
+ readonly outputs: readonly [{
8847
+ readonly name: "";
8848
+ readonly type: "bool";
8849
+ readonly internalType: "bool";
8850
+ }];
8851
+ readonly stateMutability: "nonpayable";
8852
+ }, {
8853
+ readonly type: "function";
8854
+ readonly name: "serialize";
8855
+ readonly inputs: readonly [];
8856
+ readonly outputs: readonly [{
8857
+ readonly name: "serializedData";
8858
+ readonly type: "bytes";
8859
+ readonly internalType: "bytes";
8860
+ }];
8861
+ readonly stateMutability: "view";
8862
+ }, {
8863
+ readonly type: "function";
8864
+ readonly name: "stakedPhantomToken";
8865
+ readonly inputs: readonly [];
8866
+ readonly outputs: readonly [{
8867
+ readonly name: "";
8868
+ readonly type: "address";
8869
+ readonly internalType: "address";
8870
+ }];
8871
+ readonly stateMutability: "view";
8872
+ }, {
8873
+ readonly type: "function";
8874
+ readonly name: "targetContract";
8875
+ readonly inputs: readonly [];
8876
+ readonly outputs: readonly [{
8877
+ readonly name: "";
8878
+ readonly type: "address";
8879
+ readonly internalType: "address";
8880
+ }];
8881
+ readonly stateMutability: "view";
8882
+ }, {
8883
+ readonly type: "function";
8884
+ readonly name: "vault";
8885
+ readonly inputs: readonly [];
8886
+ readonly outputs: readonly [{
8887
+ readonly name: "";
8888
+ readonly type: "address";
8889
+ readonly internalType: "address";
8890
+ }];
8891
+ readonly stateMutability: "view";
8892
+ }, {
8893
+ readonly type: "function";
8894
+ readonly name: "version";
8895
+ readonly inputs: readonly [];
8896
+ readonly outputs: readonly [{
8897
+ readonly name: "";
8898
+ readonly type: "uint256";
8899
+ readonly internalType: "uint256";
8900
+ }];
8901
+ readonly stateMutability: "view";
8902
+ }, {
8903
+ readonly type: "function";
8904
+ readonly name: "withdraw";
8905
+ readonly inputs: readonly [{
8906
+ readonly name: "assets";
8907
+ readonly type: "uint256";
8908
+ readonly internalType: "uint256";
8909
+ }, {
8910
+ readonly name: "";
8911
+ readonly type: "address";
8912
+ readonly internalType: "address";
8913
+ }, {
8914
+ readonly name: "";
8915
+ readonly type: "address";
8916
+ readonly internalType: "address";
8917
+ }];
8918
+ readonly outputs: readonly [{
8919
+ readonly name: "useSafePrices";
8920
+ readonly type: "bool";
8921
+ readonly internalType: "bool";
8922
+ }];
8923
+ readonly stateMutability: "nonpayable";
8924
+ }, {
8925
+ readonly type: "function";
8926
+ readonly name: "withdrawPhantomToken";
8927
+ readonly inputs: readonly [{
8928
+ readonly name: "token";
8929
+ readonly type: "address";
8930
+ readonly internalType: "address";
8931
+ }, {
8932
+ readonly name: "amount";
8933
+ readonly type: "uint256";
8934
+ readonly internalType: "uint256";
8935
+ }];
8936
+ readonly outputs: readonly [{
8937
+ readonly name: "useSafePrices";
8938
+ readonly type: "bool";
8939
+ readonly internalType: "bool";
8940
+ }];
8941
+ readonly stateMutability: "nonpayable";
8942
+ }, {
8943
+ readonly type: "error";
8944
+ readonly name: "IncorrectStakedPhantomTokenException";
8945
+ readonly inputs: readonly [];
8946
+ }];