@gearbox-protocol/sdk 18.5.0-next.3 → 18.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/cjs/onchain/abi/index.js +0 -2
- package/dist/cjs/onchain/abi/oracles.js +0 -617
- package/dist/cjs/onchain/index.js +0 -4
- package/dist/cjs/onchain/market/index.js +0 -4
- package/dist/cjs/onchain/market/pricefeeds/PriceFeedRegistry.js +0 -4
- package/dist/cjs/onchain/market/pricefeeds/feeds/index.js +0 -4
- package/dist/cjs/onchain/market/pricefeeds/index.js +0 -4
- package/dist/cjs/permissionless/bindings/price-feed-store.js +0 -1
- package/dist/cjs/permissionless/bindings/pricefeeds/index.js +3 -7
- package/dist/cjs/sdk/execute/ExecuteApi.js +41 -0
- package/dist/cjs/testnets/TestnetsAPI.js +178 -0
- package/dist/cjs/testnets/errors/TestnetNotFoundError.js +14 -0
- package/dist/cjs/testnets/errors/TestnetRequestFailedError.js +23 -0
- package/dist/cjs/testnets/errors/TestnetStatusError.js +18 -0
- package/dist/cjs/testnets/errors/TestnetValidationError.js +23 -0
- package/dist/cjs/testnets/errors/TestnetWaitTimeoutError.js +29 -0
- package/dist/cjs/testnets/errors/TestnetsError.js +33 -0
- package/dist/cjs/testnets/errors/index.js +13 -0
- package/dist/cjs/testnets/index.js +32 -0
- package/dist/cjs/testnets/package.json +1 -0
- package/dist/cjs/testnets/schemas.js +241 -0
- package/dist/cjs/testnets/types.js +1 -0
- package/dist/esm/onchain/abi/index.js +1 -1
- package/dist/esm/onchain/abi/oracles.js +1 -616
- package/dist/esm/onchain/index.js +1 -3
- package/dist/esm/onchain/market/index.js +1 -3
- package/dist/esm/onchain/market/pricefeeds/PriceFeedRegistry.js +0 -4
- package/dist/esm/onchain/market/pricefeeds/feeds/index.js +1 -3
- package/dist/esm/onchain/market/pricefeeds/index.js +1 -3
- package/dist/esm/permissionless/bindings/price-feed-store.js +0 -1
- package/dist/esm/permissionless/bindings/pricefeeds/index.js +3 -7
- package/dist/esm/sdk/execute/ExecuteApi.js +41 -0
- package/dist/esm/testnets/TestnetsAPI.js +177 -0
- package/dist/esm/testnets/errors/TestnetNotFoundError.js +13 -0
- package/dist/esm/testnets/errors/TestnetRequestFailedError.js +22 -0
- package/dist/esm/testnets/errors/TestnetStatusError.js +17 -0
- package/dist/esm/testnets/errors/TestnetValidationError.js +22 -0
- package/dist/esm/testnets/errors/TestnetWaitTimeoutError.js +28 -0
- package/dist/esm/testnets/errors/TestnetsError.js +32 -0
- package/dist/esm/testnets/errors/index.js +7 -0
- package/dist/esm/testnets/index.js +11 -0
- package/dist/esm/testnets/package.json +1 -0
- package/dist/esm/testnets/schemas.js +227 -0
- package/dist/esm/testnets/types.js +1 -0
- package/dist/types/onchain/abi/index.d.ts +2 -2
- package/dist/types/onchain/abi/oracles.d.ts +0 -536
- package/dist/types/onchain/index.d.ts +1 -3
- package/dist/types/onchain/market/index.d.ts +1 -3
- package/dist/types/onchain/market/pricefeeds/feeds/index.d.ts +1 -3
- package/dist/types/onchain/market/pricefeeds/index.d.ts +1 -3
- package/dist/types/onchain/market/pricefeeds/types.d.ts +1 -1
- package/dist/types/permissionless/core/pricefeed-builder.d.ts +0 -2
- package/dist/types/sdk/execute/ExecuteApi.d.ts +8 -0
- package/dist/types/sdk/execute/types.d.ts +14 -0
- package/dist/types/testnets/TestnetsAPI.d.ts +106 -0
- package/dist/types/testnets/errors/TestnetNotFoundError.d.ts +10 -0
- package/dist/types/testnets/errors/TestnetRequestFailedError.d.ts +9 -0
- package/dist/types/testnets/errors/TestnetStatusError.d.ts +13 -0
- package/dist/types/testnets/errors/TestnetValidationError.d.ts +14 -0
- package/dist/types/testnets/errors/TestnetWaitTimeoutError.d.ts +19 -0
- package/dist/types/testnets/errors/TestnetsError.d.ts +45 -0
- package/dist/types/testnets/errors/index.d.ts +7 -0
- package/dist/types/testnets/index.d.ts +17 -0
- package/dist/types/testnets/schemas.d.ts +552 -0
- package/dist/types/testnets/types.d.ts +715 -0
- package/package.json +6 -1
- package/dist/cjs/onchain/market/pricefeeds/feeds/FixedRateWindowPriceFeed.js +0 -15
- package/dist/cjs/onchain/market/pricefeeds/feeds/MedianPriceFeed.js +0 -15
- package/dist/cjs/permissionless/bindings/pricefeeds/fix-rate-window.js +0 -53
- package/dist/cjs/permissionless/bindings/pricefeeds/median.js +0 -22
- package/dist/esm/onchain/market/pricefeeds/feeds/FixedRateWindowPriceFeed.js +0 -14
- package/dist/esm/onchain/market/pricefeeds/feeds/MedianPriceFeed.js +0 -14
- package/dist/esm/permissionless/bindings/pricefeeds/fix-rate-window.js +0 -52
- package/dist/esm/permissionless/bindings/pricefeeds/median.js +0 -21
- package/dist/types/onchain/market/pricefeeds/feeds/FixedRateWindowPriceFeed.d.ts +0 -9
- package/dist/types/onchain/market/pricefeeds/feeds/MedianPriceFeed.d.ts +0 -9
- package/dist/types/permissionless/bindings/pricefeeds/fix-rate-window.d.ts +0 -3
- package/dist/types/permissionless/bindings/pricefeeds/median.d.ts +0 -3
|
@@ -7386,619 +7386,4 @@ const constantPriceFeedAbi = [
|
|
|
7386
7386
|
inputs: []
|
|
7387
7387
|
}
|
|
7388
7388
|
];
|
|
7389
|
-
|
|
7390
|
-
{
|
|
7391
|
-
type: "constructor",
|
|
7392
|
-
inputs: [{
|
|
7393
|
-
name: "priceFeeds",
|
|
7394
|
-
type: "tuple[3]",
|
|
7395
|
-
internalType: "struct PriceFeedParams[3]",
|
|
7396
|
-
components: [{
|
|
7397
|
-
name: "priceFeed",
|
|
7398
|
-
type: "address",
|
|
7399
|
-
internalType: "address"
|
|
7400
|
-
}, {
|
|
7401
|
-
name: "stalenessPeriod",
|
|
7402
|
-
type: "uint32",
|
|
7403
|
-
internalType: "uint32"
|
|
7404
|
-
}]
|
|
7405
|
-
}, {
|
|
7406
|
-
name: "descriptionTicker",
|
|
7407
|
-
type: "string",
|
|
7408
|
-
internalType: "string"
|
|
7409
|
-
}],
|
|
7410
|
-
stateMutability: "nonpayable"
|
|
7411
|
-
},
|
|
7412
|
-
{
|
|
7413
|
-
type: "function",
|
|
7414
|
-
name: "contractType",
|
|
7415
|
-
inputs: [],
|
|
7416
|
-
outputs: [{
|
|
7417
|
-
name: "",
|
|
7418
|
-
type: "bytes32",
|
|
7419
|
-
internalType: "bytes32"
|
|
7420
|
-
}],
|
|
7421
|
-
stateMutability: "view"
|
|
7422
|
-
},
|
|
7423
|
-
{
|
|
7424
|
-
type: "function",
|
|
7425
|
-
name: "decimals",
|
|
7426
|
-
inputs: [],
|
|
7427
|
-
outputs: [{
|
|
7428
|
-
name: "",
|
|
7429
|
-
type: "uint8",
|
|
7430
|
-
internalType: "uint8"
|
|
7431
|
-
}],
|
|
7432
|
-
stateMutability: "view"
|
|
7433
|
-
},
|
|
7434
|
-
{
|
|
7435
|
-
type: "function",
|
|
7436
|
-
name: "description",
|
|
7437
|
-
inputs: [],
|
|
7438
|
-
outputs: [{
|
|
7439
|
-
name: "",
|
|
7440
|
-
type: "string",
|
|
7441
|
-
internalType: "string"
|
|
7442
|
-
}],
|
|
7443
|
-
stateMutability: "view"
|
|
7444
|
-
},
|
|
7445
|
-
{
|
|
7446
|
-
type: "function",
|
|
7447
|
-
name: "latestRoundData",
|
|
7448
|
-
inputs: [],
|
|
7449
|
-
outputs: [
|
|
7450
|
-
{
|
|
7451
|
-
name: "",
|
|
7452
|
-
type: "uint80",
|
|
7453
|
-
internalType: "uint80"
|
|
7454
|
-
},
|
|
7455
|
-
{
|
|
7456
|
-
name: "",
|
|
7457
|
-
type: "int256",
|
|
7458
|
-
internalType: "int256"
|
|
7459
|
-
},
|
|
7460
|
-
{
|
|
7461
|
-
name: "",
|
|
7462
|
-
type: "uint256",
|
|
7463
|
-
internalType: "uint256"
|
|
7464
|
-
},
|
|
7465
|
-
{
|
|
7466
|
-
name: "",
|
|
7467
|
-
type: "uint256",
|
|
7468
|
-
internalType: "uint256"
|
|
7469
|
-
},
|
|
7470
|
-
{
|
|
7471
|
-
name: "",
|
|
7472
|
-
type: "uint80",
|
|
7473
|
-
internalType: "uint80"
|
|
7474
|
-
}
|
|
7475
|
-
],
|
|
7476
|
-
stateMutability: "view"
|
|
7477
|
-
},
|
|
7478
|
-
{
|
|
7479
|
-
type: "function",
|
|
7480
|
-
name: "nFeeds",
|
|
7481
|
-
inputs: [],
|
|
7482
|
-
outputs: [{
|
|
7483
|
-
name: "",
|
|
7484
|
-
type: "uint16",
|
|
7485
|
-
internalType: "uint16"
|
|
7486
|
-
}],
|
|
7487
|
-
stateMutability: "view"
|
|
7488
|
-
},
|
|
7489
|
-
{
|
|
7490
|
-
type: "function",
|
|
7491
|
-
name: "priceFeed0",
|
|
7492
|
-
inputs: [],
|
|
7493
|
-
outputs: [{
|
|
7494
|
-
name: "",
|
|
7495
|
-
type: "address",
|
|
7496
|
-
internalType: "address"
|
|
7497
|
-
}],
|
|
7498
|
-
stateMutability: "view"
|
|
7499
|
-
},
|
|
7500
|
-
{
|
|
7501
|
-
type: "function",
|
|
7502
|
-
name: "priceFeed1",
|
|
7503
|
-
inputs: [],
|
|
7504
|
-
outputs: [{
|
|
7505
|
-
name: "",
|
|
7506
|
-
type: "address",
|
|
7507
|
-
internalType: "address"
|
|
7508
|
-
}],
|
|
7509
|
-
stateMutability: "view"
|
|
7510
|
-
},
|
|
7511
|
-
{
|
|
7512
|
-
type: "function",
|
|
7513
|
-
name: "priceFeed2",
|
|
7514
|
-
inputs: [],
|
|
7515
|
-
outputs: [{
|
|
7516
|
-
name: "",
|
|
7517
|
-
type: "address",
|
|
7518
|
-
internalType: "address"
|
|
7519
|
-
}],
|
|
7520
|
-
stateMutability: "view"
|
|
7521
|
-
},
|
|
7522
|
-
{
|
|
7523
|
-
type: "function",
|
|
7524
|
-
name: "serialize",
|
|
7525
|
-
inputs: [],
|
|
7526
|
-
outputs: [{
|
|
7527
|
-
name: "",
|
|
7528
|
-
type: "bytes",
|
|
7529
|
-
internalType: "bytes"
|
|
7530
|
-
}],
|
|
7531
|
-
stateMutability: "pure"
|
|
7532
|
-
},
|
|
7533
|
-
{
|
|
7534
|
-
type: "function",
|
|
7535
|
-
name: "skipCheck0",
|
|
7536
|
-
inputs: [],
|
|
7537
|
-
outputs: [{
|
|
7538
|
-
name: "",
|
|
7539
|
-
type: "bool",
|
|
7540
|
-
internalType: "bool"
|
|
7541
|
-
}],
|
|
7542
|
-
stateMutability: "view"
|
|
7543
|
-
},
|
|
7544
|
-
{
|
|
7545
|
-
type: "function",
|
|
7546
|
-
name: "skipCheck1",
|
|
7547
|
-
inputs: [],
|
|
7548
|
-
outputs: [{
|
|
7549
|
-
name: "",
|
|
7550
|
-
type: "bool",
|
|
7551
|
-
internalType: "bool"
|
|
7552
|
-
}],
|
|
7553
|
-
stateMutability: "view"
|
|
7554
|
-
},
|
|
7555
|
-
{
|
|
7556
|
-
type: "function",
|
|
7557
|
-
name: "skipCheck2",
|
|
7558
|
-
inputs: [],
|
|
7559
|
-
outputs: [{
|
|
7560
|
-
name: "",
|
|
7561
|
-
type: "bool",
|
|
7562
|
-
internalType: "bool"
|
|
7563
|
-
}],
|
|
7564
|
-
stateMutability: "view"
|
|
7565
|
-
},
|
|
7566
|
-
{
|
|
7567
|
-
type: "function",
|
|
7568
|
-
name: "skipPriceCheck",
|
|
7569
|
-
inputs: [],
|
|
7570
|
-
outputs: [{
|
|
7571
|
-
name: "",
|
|
7572
|
-
type: "bool",
|
|
7573
|
-
internalType: "bool"
|
|
7574
|
-
}],
|
|
7575
|
-
stateMutability: "view"
|
|
7576
|
-
},
|
|
7577
|
-
{
|
|
7578
|
-
type: "function",
|
|
7579
|
-
name: "stalenessPeriod0",
|
|
7580
|
-
inputs: [],
|
|
7581
|
-
outputs: [{
|
|
7582
|
-
name: "",
|
|
7583
|
-
type: "uint32",
|
|
7584
|
-
internalType: "uint32"
|
|
7585
|
-
}],
|
|
7586
|
-
stateMutability: "view"
|
|
7587
|
-
},
|
|
7588
|
-
{
|
|
7589
|
-
type: "function",
|
|
7590
|
-
name: "stalenessPeriod1",
|
|
7591
|
-
inputs: [],
|
|
7592
|
-
outputs: [{
|
|
7593
|
-
name: "",
|
|
7594
|
-
type: "uint32",
|
|
7595
|
-
internalType: "uint32"
|
|
7596
|
-
}],
|
|
7597
|
-
stateMutability: "view"
|
|
7598
|
-
},
|
|
7599
|
-
{
|
|
7600
|
-
type: "function",
|
|
7601
|
-
name: "stalenessPeriod2",
|
|
7602
|
-
inputs: [],
|
|
7603
|
-
outputs: [{
|
|
7604
|
-
name: "",
|
|
7605
|
-
type: "uint32",
|
|
7606
|
-
internalType: "uint32"
|
|
7607
|
-
}],
|
|
7608
|
-
stateMutability: "view"
|
|
7609
|
-
},
|
|
7610
|
-
{
|
|
7611
|
-
type: "function",
|
|
7612
|
-
name: "version",
|
|
7613
|
-
inputs: [],
|
|
7614
|
-
outputs: [{
|
|
7615
|
-
name: "",
|
|
7616
|
-
type: "uint256",
|
|
7617
|
-
internalType: "uint256"
|
|
7618
|
-
}],
|
|
7619
|
-
stateMutability: "view"
|
|
7620
|
-
},
|
|
7621
|
-
{
|
|
7622
|
-
type: "error",
|
|
7623
|
-
name: "AddressIsNotContractException",
|
|
7624
|
-
inputs: [{
|
|
7625
|
-
name: "",
|
|
7626
|
-
type: "address",
|
|
7627
|
-
internalType: "address"
|
|
7628
|
-
}]
|
|
7629
|
-
},
|
|
7630
|
-
{
|
|
7631
|
-
type: "error",
|
|
7632
|
-
name: "IncorrectParameterException",
|
|
7633
|
-
inputs: []
|
|
7634
|
-
},
|
|
7635
|
-
{
|
|
7636
|
-
type: "error",
|
|
7637
|
-
name: "IncorrectPriceException",
|
|
7638
|
-
inputs: []
|
|
7639
|
-
},
|
|
7640
|
-
{
|
|
7641
|
-
type: "error",
|
|
7642
|
-
name: "IncorrectPriceFeedException",
|
|
7643
|
-
inputs: []
|
|
7644
|
-
},
|
|
7645
|
-
{
|
|
7646
|
-
type: "error",
|
|
7647
|
-
name: "StalePriceException",
|
|
7648
|
-
inputs: []
|
|
7649
|
-
},
|
|
7650
|
-
{
|
|
7651
|
-
type: "error",
|
|
7652
|
-
name: "ZeroAddressException",
|
|
7653
|
-
inputs: []
|
|
7654
|
-
}
|
|
7655
|
-
];
|
|
7656
|
-
const fixedRateWindowPriceFeedAbi = [
|
|
7657
|
-
{
|
|
7658
|
-
type: "constructor",
|
|
7659
|
-
inputs: [
|
|
7660
|
-
{
|
|
7661
|
-
name: "_owner",
|
|
7662
|
-
type: "address",
|
|
7663
|
-
internalType: "address"
|
|
7664
|
-
},
|
|
7665
|
-
{
|
|
7666
|
-
name: "_priceFeed",
|
|
7667
|
-
type: "address",
|
|
7668
|
-
internalType: "address"
|
|
7669
|
-
},
|
|
7670
|
-
{
|
|
7671
|
-
name: "_stalenessPeriod",
|
|
7672
|
-
type: "uint32",
|
|
7673
|
-
internalType: "uint32"
|
|
7674
|
-
},
|
|
7675
|
-
{
|
|
7676
|
-
name: "growthRateInitial",
|
|
7677
|
-
type: "uint16",
|
|
7678
|
-
internalType: "uint16"
|
|
7679
|
-
},
|
|
7680
|
-
{
|
|
7681
|
-
name: "lowerBoundInitial",
|
|
7682
|
-
type: "uint256",
|
|
7683
|
-
internalType: "uint256"
|
|
7684
|
-
},
|
|
7685
|
-
{
|
|
7686
|
-
name: "_maxGrowthRate",
|
|
7687
|
-
type: "uint16",
|
|
7688
|
-
internalType: "uint16"
|
|
7689
|
-
},
|
|
7690
|
-
{
|
|
7691
|
-
name: "descriptionTicker",
|
|
7692
|
-
type: "string",
|
|
7693
|
-
internalType: "string"
|
|
7694
|
-
}
|
|
7695
|
-
],
|
|
7696
|
-
stateMutability: "nonpayable"
|
|
7697
|
-
},
|
|
7698
|
-
{
|
|
7699
|
-
type: "function",
|
|
7700
|
-
name: "contractType",
|
|
7701
|
-
inputs: [],
|
|
7702
|
-
outputs: [{
|
|
7703
|
-
name: "",
|
|
7704
|
-
type: "bytes32",
|
|
7705
|
-
internalType: "bytes32"
|
|
7706
|
-
}],
|
|
7707
|
-
stateMutability: "view"
|
|
7708
|
-
},
|
|
7709
|
-
{
|
|
7710
|
-
type: "function",
|
|
7711
|
-
name: "decimals",
|
|
7712
|
-
inputs: [],
|
|
7713
|
-
outputs: [{
|
|
7714
|
-
name: "",
|
|
7715
|
-
type: "uint8",
|
|
7716
|
-
internalType: "uint8"
|
|
7717
|
-
}],
|
|
7718
|
-
stateMutability: "view"
|
|
7719
|
-
},
|
|
7720
|
-
{
|
|
7721
|
-
type: "function",
|
|
7722
|
-
name: "description",
|
|
7723
|
-
inputs: [],
|
|
7724
|
-
outputs: [{
|
|
7725
|
-
name: "",
|
|
7726
|
-
type: "string",
|
|
7727
|
-
internalType: "string"
|
|
7728
|
-
}],
|
|
7729
|
-
stateMutability: "view"
|
|
7730
|
-
},
|
|
7731
|
-
{
|
|
7732
|
-
type: "function",
|
|
7733
|
-
name: "growthRate",
|
|
7734
|
-
inputs: [],
|
|
7735
|
-
outputs: [{
|
|
7736
|
-
name: "",
|
|
7737
|
-
type: "uint16",
|
|
7738
|
-
internalType: "uint16"
|
|
7739
|
-
}],
|
|
7740
|
-
stateMutability: "view"
|
|
7741
|
-
},
|
|
7742
|
-
{
|
|
7743
|
-
type: "function",
|
|
7744
|
-
name: "latestRoundData",
|
|
7745
|
-
inputs: [],
|
|
7746
|
-
outputs: [
|
|
7747
|
-
{
|
|
7748
|
-
name: "",
|
|
7749
|
-
type: "uint80",
|
|
7750
|
-
internalType: "uint80"
|
|
7751
|
-
},
|
|
7752
|
-
{
|
|
7753
|
-
name: "",
|
|
7754
|
-
type: "int256",
|
|
7755
|
-
internalType: "int256"
|
|
7756
|
-
},
|
|
7757
|
-
{
|
|
7758
|
-
name: "",
|
|
7759
|
-
type: "uint256",
|
|
7760
|
-
internalType: "uint256"
|
|
7761
|
-
},
|
|
7762
|
-
{
|
|
7763
|
-
name: "",
|
|
7764
|
-
type: "uint256",
|
|
7765
|
-
internalType: "uint256"
|
|
7766
|
-
},
|
|
7767
|
-
{
|
|
7768
|
-
name: "",
|
|
7769
|
-
type: "uint80",
|
|
7770
|
-
internalType: "uint80"
|
|
7771
|
-
}
|
|
7772
|
-
],
|
|
7773
|
-
stateMutability: "view"
|
|
7774
|
-
},
|
|
7775
|
-
{
|
|
7776
|
-
type: "function",
|
|
7777
|
-
name: "lowerBoundBase",
|
|
7778
|
-
inputs: [],
|
|
7779
|
-
outputs: [{
|
|
7780
|
-
name: "",
|
|
7781
|
-
type: "uint256",
|
|
7782
|
-
internalType: "uint256"
|
|
7783
|
-
}],
|
|
7784
|
-
stateMutability: "view"
|
|
7785
|
-
},
|
|
7786
|
-
{
|
|
7787
|
-
type: "function",
|
|
7788
|
-
name: "maxGrowthRate",
|
|
7789
|
-
inputs: [],
|
|
7790
|
-
outputs: [{
|
|
7791
|
-
name: "",
|
|
7792
|
-
type: "uint16",
|
|
7793
|
-
internalType: "uint16"
|
|
7794
|
-
}],
|
|
7795
|
-
stateMutability: "view"
|
|
7796
|
-
},
|
|
7797
|
-
{
|
|
7798
|
-
type: "function",
|
|
7799
|
-
name: "owner",
|
|
7800
|
-
inputs: [],
|
|
7801
|
-
outputs: [{
|
|
7802
|
-
name: "",
|
|
7803
|
-
type: "address",
|
|
7804
|
-
internalType: "address"
|
|
7805
|
-
}],
|
|
7806
|
-
stateMutability: "view"
|
|
7807
|
-
},
|
|
7808
|
-
{
|
|
7809
|
-
type: "function",
|
|
7810
|
-
name: "priceFeed",
|
|
7811
|
-
inputs: [],
|
|
7812
|
-
outputs: [{
|
|
7813
|
-
name: "",
|
|
7814
|
-
type: "address",
|
|
7815
|
-
internalType: "address"
|
|
7816
|
-
}],
|
|
7817
|
-
stateMutability: "view"
|
|
7818
|
-
},
|
|
7819
|
-
{
|
|
7820
|
-
type: "function",
|
|
7821
|
-
name: "renounceOwnership",
|
|
7822
|
-
inputs: [],
|
|
7823
|
-
outputs: [],
|
|
7824
|
-
stateMutability: "nonpayable"
|
|
7825
|
-
},
|
|
7826
|
-
{
|
|
7827
|
-
type: "function",
|
|
7828
|
-
name: "serialize",
|
|
7829
|
-
inputs: [],
|
|
7830
|
-
outputs: [{
|
|
7831
|
-
name: "",
|
|
7832
|
-
type: "bytes",
|
|
7833
|
-
internalType: "bytes"
|
|
7834
|
-
}],
|
|
7835
|
-
stateMutability: "pure"
|
|
7836
|
-
},
|
|
7837
|
-
{
|
|
7838
|
-
type: "function",
|
|
7839
|
-
name: "setRateAndBounds",
|
|
7840
|
-
inputs: [{
|
|
7841
|
-
name: "_growthRate",
|
|
7842
|
-
type: "uint16",
|
|
7843
|
-
internalType: "uint16"
|
|
7844
|
-
}, {
|
|
7845
|
-
name: "_lowerBoundBase",
|
|
7846
|
-
type: "uint256",
|
|
7847
|
-
internalType: "uint256"
|
|
7848
|
-
}],
|
|
7849
|
-
outputs: [],
|
|
7850
|
-
stateMutability: "nonpayable"
|
|
7851
|
-
},
|
|
7852
|
-
{
|
|
7853
|
-
type: "function",
|
|
7854
|
-
name: "skipCheck",
|
|
7855
|
-
inputs: [],
|
|
7856
|
-
outputs: [{
|
|
7857
|
-
name: "",
|
|
7858
|
-
type: "bool",
|
|
7859
|
-
internalType: "bool"
|
|
7860
|
-
}],
|
|
7861
|
-
stateMutability: "view"
|
|
7862
|
-
},
|
|
7863
|
-
{
|
|
7864
|
-
type: "function",
|
|
7865
|
-
name: "skipPriceCheck",
|
|
7866
|
-
inputs: [],
|
|
7867
|
-
outputs: [{
|
|
7868
|
-
name: "",
|
|
7869
|
-
type: "bool",
|
|
7870
|
-
internalType: "bool"
|
|
7871
|
-
}],
|
|
7872
|
-
stateMutability: "view"
|
|
7873
|
-
},
|
|
7874
|
-
{
|
|
7875
|
-
type: "function",
|
|
7876
|
-
name: "stalenessPeriod",
|
|
7877
|
-
inputs: [],
|
|
7878
|
-
outputs: [{
|
|
7879
|
-
name: "",
|
|
7880
|
-
type: "uint32",
|
|
7881
|
-
internalType: "uint32"
|
|
7882
|
-
}],
|
|
7883
|
-
stateMutability: "view"
|
|
7884
|
-
},
|
|
7885
|
-
{
|
|
7886
|
-
type: "function",
|
|
7887
|
-
name: "timestampLU",
|
|
7888
|
-
inputs: [],
|
|
7889
|
-
outputs: [{
|
|
7890
|
-
name: "",
|
|
7891
|
-
type: "uint256",
|
|
7892
|
-
internalType: "uint256"
|
|
7893
|
-
}],
|
|
7894
|
-
stateMutability: "view"
|
|
7895
|
-
},
|
|
7896
|
-
{
|
|
7897
|
-
type: "function",
|
|
7898
|
-
name: "transferOwnership",
|
|
7899
|
-
inputs: [{
|
|
7900
|
-
name: "newOwner",
|
|
7901
|
-
type: "address",
|
|
7902
|
-
internalType: "address"
|
|
7903
|
-
}],
|
|
7904
|
-
outputs: [],
|
|
7905
|
-
stateMutability: "nonpayable"
|
|
7906
|
-
},
|
|
7907
|
-
{
|
|
7908
|
-
type: "function",
|
|
7909
|
-
name: "version",
|
|
7910
|
-
inputs: [],
|
|
7911
|
-
outputs: [{
|
|
7912
|
-
name: "",
|
|
7913
|
-
type: "uint256",
|
|
7914
|
-
internalType: "uint256"
|
|
7915
|
-
}],
|
|
7916
|
-
stateMutability: "view"
|
|
7917
|
-
},
|
|
7918
|
-
{
|
|
7919
|
-
type: "event",
|
|
7920
|
-
name: "OwnershipTransferred",
|
|
7921
|
-
inputs: [{
|
|
7922
|
-
name: "previousOwner",
|
|
7923
|
-
type: "address",
|
|
7924
|
-
indexed: true,
|
|
7925
|
-
internalType: "address"
|
|
7926
|
-
}, {
|
|
7927
|
-
name: "newOwner",
|
|
7928
|
-
type: "address",
|
|
7929
|
-
indexed: true,
|
|
7930
|
-
internalType: "address"
|
|
7931
|
-
}],
|
|
7932
|
-
anonymous: false
|
|
7933
|
-
},
|
|
7934
|
-
{
|
|
7935
|
-
type: "event",
|
|
7936
|
-
name: "SetRateAndBounds",
|
|
7937
|
-
inputs: [
|
|
7938
|
-
{
|
|
7939
|
-
name: "growthRate",
|
|
7940
|
-
type: "uint16",
|
|
7941
|
-
indexed: false,
|
|
7942
|
-
internalType: "uint16"
|
|
7943
|
-
},
|
|
7944
|
-
{
|
|
7945
|
-
name: "lowerBoundBase",
|
|
7946
|
-
type: "uint256",
|
|
7947
|
-
indexed: false,
|
|
7948
|
-
internalType: "uint256"
|
|
7949
|
-
},
|
|
7950
|
-
{
|
|
7951
|
-
name: "upperBound",
|
|
7952
|
-
type: "uint256",
|
|
7953
|
-
indexed: false,
|
|
7954
|
-
internalType: "uint256"
|
|
7955
|
-
}
|
|
7956
|
-
],
|
|
7957
|
-
anonymous: false
|
|
7958
|
-
},
|
|
7959
|
-
{
|
|
7960
|
-
type: "error",
|
|
7961
|
-
name: "AddressIsNotContractException",
|
|
7962
|
-
inputs: [{
|
|
7963
|
-
name: "",
|
|
7964
|
-
type: "address",
|
|
7965
|
-
internalType: "address"
|
|
7966
|
-
}]
|
|
7967
|
-
},
|
|
7968
|
-
{
|
|
7969
|
-
type: "error",
|
|
7970
|
-
name: "IncorrectParameterException",
|
|
7971
|
-
inputs: []
|
|
7972
|
-
},
|
|
7973
|
-
{
|
|
7974
|
-
type: "error",
|
|
7975
|
-
name: "IncorrectPriceException",
|
|
7976
|
-
inputs: []
|
|
7977
|
-
},
|
|
7978
|
-
{
|
|
7979
|
-
type: "error",
|
|
7980
|
-
name: "IncorrectPriceFeedException",
|
|
7981
|
-
inputs: []
|
|
7982
|
-
},
|
|
7983
|
-
{
|
|
7984
|
-
type: "error",
|
|
7985
|
-
name: "InvalidGrowthRateException",
|
|
7986
|
-
inputs: []
|
|
7987
|
-
},
|
|
7988
|
-
{
|
|
7989
|
-
type: "error",
|
|
7990
|
-
name: "StalePriceException",
|
|
7991
|
-
inputs: []
|
|
7992
|
-
},
|
|
7993
|
-
{
|
|
7994
|
-
type: "error",
|
|
7995
|
-
name: "ValueOutOfBoundsException",
|
|
7996
|
-
inputs: []
|
|
7997
|
-
},
|
|
7998
|
-
{
|
|
7999
|
-
type: "error",
|
|
8000
|
-
name: "ZeroAddressException",
|
|
8001
|
-
inputs: []
|
|
8002
|
-
}
|
|
8003
|
-
];
|
|
8004
|
-
export { boundedPriceFeedAbi, bptStablePriceFeedAbi, bptWeightedPriceFeedAbi, chainlinkReadableAggregatorAbi, compositePriceFeedAbi, constantPriceFeedAbi, curveCryptoLpPriceFeedAbi, curveStableLpPriceFeedAbi, curveUsdPriceFeedAbi, erc4626PriceFeedAbi, fixedRateWindowPriceFeedAbi, iBalancerStablePoolAbi, iBalancerWeightedPoolAbi, iCurvePoolAbi, iMellowVaultAbi, iRedstonePriceFeedEventsAbi, ilpPriceFeedAbi, ilpPriceFeedEventsAbi, iwstEthAbi, iyVaultAbi, medianPriceFeedAbi, mellowLrtPriceFeedAbi, pendleTWAPPTPriceFeedAbi, pythPriceFeedAbi, redstonePriceFeedAbi, wstEthPriceFeedAbi, yearnPriceFeedAbi, zeroPriceFeedAbi };
|
|
7389
|
+
export { boundedPriceFeedAbi, bptStablePriceFeedAbi, bptWeightedPriceFeedAbi, chainlinkReadableAggregatorAbi, compositePriceFeedAbi, constantPriceFeedAbi, curveCryptoLpPriceFeedAbi, curveStableLpPriceFeedAbi, curveUsdPriceFeedAbi, erc4626PriceFeedAbi, iBalancerStablePoolAbi, iBalancerWeightedPoolAbi, iCurvePoolAbi, iMellowVaultAbi, iRedstonePriceFeedEventsAbi, ilpPriceFeedAbi, ilpPriceFeedEventsAbi, iwstEthAbi, iyVaultAbi, mellowLrtPriceFeedAbi, pendleTWAPPTPriceFeedAbi, pythPriceFeedAbi, redstonePriceFeedAbi, wstEthPriceFeedAbi, yearnPriceFeedAbi, zeroPriceFeedAbi };
|
|
@@ -172,8 +172,6 @@ import { CurveStablePriceFeedContract } from "./market/pricefeeds/feeds/CurveSta
|
|
|
172
172
|
import { CurveUSDPriceFeedContract } from "./market/pricefeeds/feeds/CurveUSDPriceFeed.js";
|
|
173
173
|
import { Erc4626PriceFeedContract } from "./market/pricefeeds/feeds/Erc4626PriceFeed.js";
|
|
174
174
|
import { ExternalPriceFeedContract } from "./market/pricefeeds/feeds/ExternalPriceFeed.js";
|
|
175
|
-
import { FixedRateWindowPriceFeedContract } from "./market/pricefeeds/feeds/FixedRateWindowPriceFeed.js";
|
|
176
|
-
import { MedianPriceFeedContract } from "./market/pricefeeds/feeds/MedianPriceFeed.js";
|
|
177
175
|
import { MellowLRTPriceFeedContract } from "./market/pricefeeds/feeds/MellowLRTPriceFeed.js";
|
|
178
176
|
import { PendleTWAPPTPriceFeed } from "./market/pricefeeds/feeds/PendleTWAPPTPriceFeed.js";
|
|
179
177
|
import { PythPriceFeed } from "./market/pricefeeds/feeds/PythPriceFeed.js";
|
|
@@ -322,4 +320,4 @@ import { replayMulticall } from "./preview/preview/replayMulticall.js";
|
|
|
322
320
|
import { previewOperation } from "./preview/preview/previewOperation.js";
|
|
323
321
|
import "./utils/viem/index.js";
|
|
324
322
|
import "./validation/index.js";
|
|
325
|
-
export { ADDRESS_0X0, ADDRESS_PROVIDER_V310, AP_ACCOUNT_FACTORY, AP_ACL, AP_BOT_LIST, AP_BYTECODE_REPOSITORY, AP_CONTRACTS_REGISTER, AP_CONTROLLER_TIMELOCK, AP_CREDIT_ACCOUNT_COMPRESSOR, AP_CREDIT_SUITE_COMPRESSOR, AP_DATA_COMPRESSOR, AP_DELEVERAGE_BOT_HV, AP_DELEVERAGE_BOT_LV, AP_DELEVERAGE_BOT_PEGGED, AP_GAUGE_COMPRESSOR, AP_GEAR_STAKING, AP_GEAR_TOKEN, AP_INFLATION_ATTACK_BLOCKER, AP_INSOLVENCY_CHECKER, AP_MARKET_COMPRESSOR, AP_MARKET_CONFIGURATOR, AP_PARTIAL_LIQUIDATION_BOT, AP_PERIPHERY_COMPRESSOR, AP_PRICE_FEED_COMPRESSOR, AP_PRICE_FEED_STORE, AP_PRICE_ORACLE, AP_REDEMPTION_LOGGER, AP_REWARDS_COMPRESSOR, AP_ROUTER, AP_TOKEN_COMPRESSOR, AP_TREASURY, AP_WETH_GATEWAY, AP_WETH_TOKEN, AP_ZAPPER_REGISTER, AP_ZERO_PRICE_FEED, AbstractAdapterContract, AbstractLPPriceFeedContract, AbstractPriceFeedContract, AbstractWithdrawalCompressorContract, AccountBotsService, AccountMigratorAdapterContract, AdapterType, AddressMap, AddressProviderV310Contract, AddressSet, AssetsMap, BLOCKS_PER_WEEK_BY_NETWORK, BalancerStablePriceFeedContract, BalancerV3PoolStatus, BalancerV3RouterAdapterContract, BalancerV3WrapperAdapterContract, BalancerWeightedPriceFeedContract, BaseContract, BasePlugin, BigIntMath, BotPermissions, BoundedPriceFeedContract, CamelotV3AdapterContract, ChainContractsRegister, ChainNotConfiguredError, CompositePriceFeedContract, ConstantPriceFeedContract, Construct, ContractParseError, ConvexV1BaseRewardPoolAdapterContract, ConvexV1BoosterAdapterContract, CreditAccountCompressor, CreditAccountCompressorV310Contract, CreditAccountOperationsService, CreditAccountState, CreditAccountsServiceV310, CreditConfiguratorV310Contract, CreditFacadeV310BaseContract, CreditFacadeV310Contract, CreditManagerV310Contract, CreditSuite, CreditSuiteStrategy, Curve2AssetsAdapterContract, Curve3AssetsAdapterContract, Curve4AssetsAdapterContract, CurveCryptoPriceFeedContract, CurveStablePriceFeedContract, CurveUSDPriceFeedContract, CurveV1AdapterStETHContract, CurveV1StableNGAdapterContract, DEFAULT_QUOTA_BUFFER_BPS, DEGEN_NFT_MIDAS, DEGEN_NFT_SECURITIZE, DELAYED_INTENT_TYPES, DELAYED_INTENT_VERSION, DIRECT_TRANSFERS_QUOTA, DUST_THRESHOLD, DaiUsdsAdapterContract, ERC4626AdapterContract, ERC4626ReferralAdapterContract, EXECUTE_BYTES_SELECTOR, Erc4626PriceFeedContract, ExternalPriceFeedContract, FixedRateWindowPriceFeedContract, FluidDexAdapterContract, GaugeContract, IERC20ZapperContract, IETHZapperContract, InfinifiGatewayAdapterContract, InfinifiUnwindingGatewayAdapterContract, KelpLRTDepositPoolAdapterContract, KelpLRTWithdrawalManagerAdapterContract, LEVERAGE_DECIMALS, LIQUIDATION_APPROVAL_BUFFER, LIQUIDATION_COMPRESSOR_V313_ADDRESS, LidoV1AdapterContract, LinearInterestRateModelContract, LiquidationsService, MAX_INT, MAX_LEVERAGE_BUFFER_BPS, MAX_QUOTA_MULTIPLIER, MAX_UINT16, MAX_UINT256, MIN_HEALTH_FACTOR_FACADE, MIN_HEALTH_FACTOR_FORM, MIN_HF_LIMITED, MIN_INT96, MIN_SAFE_HEALTH_FACTOR_FORM, MULTICALL_ADDRESS, MarketRegister, MarketSuite, MedianPriceFeedContract, MellowClaimerAdapterContract, MellowDVVAdapterContract, MellowERC4626VaultAdapterContract, MellowLRTPriceFeedContract, MellowWrapperAdapterContract, MidasDegenNFT, MidasGatewayAdapterContract, MidasIssuanceVaultAdapterContract, MidasLiquidatorContract, MidasRedemptionVaultAdapterContract, MissingSerializedParamsError, MultichainConstruct, MultichainLiquidationsService, MultichainOpportunitiesService, MultichainPositionsService, MultichainSDK, NATIVE_ADDRESS, NON_STRATEGY_PHANTOM_TOKEN_TYPES, NOT_DEPLOYED, NO_VERSION, NetworkType, OnchainSDK, OpportunitiesService, PARTIAL_LIQUIDATION_BUFFER_BPS, PERCENTAGE_DECIMALS, PERCENTAGE_FACTOR, PERCENTAGE_FACTOR_1KK, PERIPHERY_CONTRACTS, PHANTOM_TOKEN_CONTRACT_TYPES, PHANTOM_TOKEN_MIDAS_REDEMPTION, PHANTOM_TOKEN_SECURITIZE_REDEMPTION, PRICE_DECIMALS, PRICE_DECIMALS_POW, PartialPriceFeedInitError, PendlePairStatus, PendleRouterAdapterContract, PendleTWAPPTPriceFeed, PendleTokenType, PeripheryCompressorV310Contract, PluginStateVersionError, PoolService, PoolSuite, PoolV310Contract, PositionsService, PriceFeedRef, PriceFeedRegistry, PriceOracleV310Contract, PriceUpdatesCache, PythPriceFeed, RAMP_DURATION_BY_NETWORK, RAY, RAY_DECIMALS_POW, RWARegistry, RWA_COMPRESSOR_ADDRESS, RWA_LIQUIDATOR_MIDAS, RWA_LIQUIDATOR_SECURITIZE, RWA_ON_DEMAND_LP_MONOPOLIZED, RWA_UNDERLYING_DEFAULT, RWA_UNDERLYING_ON_DEMAND, RedemptionLoggerV310Contract, RedstonePriceFeedContract, RouterV310Contract, SDKConstruct, SECONDS_PER_YEAR, SLIPPAGE_DECIMALS, STATE_VERSION, SUPPORTED_NETWORKS, SdkAlreadyAttachedError, SdkChainMismatchError, SdkMissingChainStateError, SdkNotAttachedError, SdkRWADataNotLoadedError, SdkStateVersionMismatchError, SdkSyncFailedError, SecuritizeDegenNFT, SecuritizeLiquidatorContract, SecuritizeOnRampAdapterContract, SecuritizeRWAFactory, SecuritizeRedemptionGatewayAdapterContract, SimulateWithPriceUpdatesError, SimulationError, StakingRewardsAdapterContract, TokensMeta, TraderJoePoolVersion, TraderJoeRouterAdapterContract, TreehouseFastlaneAdapterContract, TreehouseRedemptionGatewayAdapterContract, TreehouseRouterAdapterContract, TypedObjectUtils, UniswapV2AdapterContract, UniswapV3AdapterContract, UniswapV4AdapterContract, UpdatablePriceFeedRegistry, UpshiftVaultAdapterContract, VERSION_RANGE_310, VelodromeV2RouterAdapterContract, VotingContractStatus, WAD, WAD_DECIMALS_POW, WithdrawalCompressorV310Contract, WithdrawalCompressorV311Contract, WithdrawalCompressorV313Contract, WstETHPriceFeedContract, WstETHV1AdapterContract, YearnPriceFeedContract, ZapperContract, ZeroPriceFeedContract, ZodAddress, ZodBigInt, ZodHex, accountSnapshotFromCreditAccountData, adapterActionAbi, adapterActionSelectors, adapterActionSignatures, adapterConstructorAbi, allTransfersAsTokenAmounts, amountOf, assetsMap, attachOptionsSchema, botPermissionsToString, bpsToRay, buildDelayedStrategyPositionOperationPreview, bytes32ToString, calcBorrowApy, calcBorrowRate, calcDefaultQuota, calcEffectiveBorrowApy, calcHealthFactor, calcLiquidationPrice, calcLiquidationPriceForTarget, calcMaxLeverage, calcNetStrategyApy, calcPositionLeverage, calcQuotaRate, calcQuotaUpdate, calcRecommendedQuota, calcTimeToLiquidationMs, calcUtilization, calcUtilizationRaw, chains, checkAccountQuotas, checkBorrowLimit, checkCollateralFunding, checkCollateralised, checkCreditAccountFrozen, checkCreditManagerPaused, checkCreditOperation, checkDebtLimits, checkEmergencyLiquidator, checkForbiddenToken, checkHealthFactors, checkIncreaseDebt, checkIncreaseQuota, checkLeverage, checkLiquidation, checkLiquidationEligibility, checkLiquidationFunding, checkLiquidatorEligible, checkMarket, checkMarketExpired, checkMaxQuota, checkMidasAccountGreenlist, checkObtained, checkOperation, checkPartiallyLiquidatable, checkPoolFunding, checkPoolLiquidity, checkPoolOperation, checkPoolPaused, checkPoolSunset, checkQuotaActive, checkQuotaChange, checkQuotaCount, checkQuotaLimit, checkQuotaUpdates, checkRWAOpenRequirements, checkRWAOpening, checkReservePriceLimited, checkSimulation, checkWallet, checkWalletAllowance, checkWalletBalance, childLogger, classifyCloseOrRepay, classifyCurveOperation, classifyInnerOperations, collateralPriceInUnderlying, collectTraces, createAdapter, createAddressProvider, createPriceOracle, createRawTx, createRedemptionLogger, createRouter, createWithdrawalCompressor, createZapper, abi as creditFacadeV310Abi, curveAddLiquidityFromTransfers, curveRemoveLiquidityFromTransfers, decodeDelayedIntent, detectDelayedClaim, detectDelayedOperation, detectNetwork, dominantCollateral, encodeDelayedIntent, erc4626ReferralAdapterAbi, estimateClaimableAt, estimateRawTxGas, etherscanApiUrl, etherscanUrl, executeDelegatedMulticalls, executeMulticallBatches, expectedBalanceDeltas, fetchCreditAccountSlice, filterDust, filterDustUSD, findCallTo, findCallWithInput, findCuratorMarketConfigurator, findExecuteBytes, fmtBinaryMask, fnSigToName, formatBN, formatBNvalue, formatDuration, formatLeverage, formatNumberToString_, formatPercentage, formatTimestamp, functionArgsToMap, functionArgsToRecord, generateCastTraceCall, getAccountTargetCollateral, getAdapterActionAbi, getAdapterDeployParamsAbi, getAdapterType, getAssetType, getCastTraceArgs, getChain, getCuratorName, getDirectTransferToken, getFunctionSignature, getLegacyStrategyTarget, getNetworkType, getRawPriceUpdates, getSimulateWithPriceUpdatesError, getWithdrawalCompressorAddress, halfRAY, hasAdapterDeployParamsAbi, healthFactorBps, hexEq, hydrateAddressProvider, iBalancerV3RouterAbi, iBalancerV3RouterAdapterAbi, iBalancerV3WrapperAbi, iBalancerV3WrapperAdapterAbi, iBaseOnRampAbi, iBaseRewardPoolAbi, iBoosterAbi, iCamelotV3AdapterAbi, iCamelotV3RouterAbi, iConvexV1BaseRewardPoolAdapterAbi, iConvexV1BoosterAdapterAbi, iCreditAccountAbi, iCurvePoolAbi, iCurvePoolStableNGAbi, iCurvePool_2Abi, iCurvePool_3Abi, iCurvePool_4Abi, iCurveV1StableNgAdapterAbi, iCurveV1_2AssetsAdapterAbi, iCurveV1_3AssetsAdapterAbi, iCurveV1_4AssetsAdapterAbi, iDaiUsdsAbi, iDaiUsdsAdapterAbi, iERC4626Abi, iERC4626ReferralAbi, iFluidDexAbi, iFluidDexAdapterAbi, iInfinifiGatewayAbi, iInfinifiGatewayAdapterAbi, iInfinifiUnwindingGatewayAbi, iInfinifiUnwindingGatewayAdapterAbi, iKelpLRTDepositPoolGatewayAbi, iKelpLRTWithdrawalManagerGatewayAbi, iKelpLrtDepositPoolAdapterAbi, iKelpLrtDepositPoolGatewayAbi, iKelpLrtWithdrawalManagerAdapterAbi, iKelpLrtWithdrawalManagerGatewayAbi, iLidoV1AdapterAbi, iMellow4626VaultAdapterAbi, iMellowClaimerAbi, iMellowClaimerAdapterAbi, iMellowWrapperAbi, iMellowWrapperAdapterAbi, iMidasGatewayAdapterV311Abi, iMidasGatewayV311Abi, iMidasIssuanceVaultAdapterV310Abi, iMidasIssuanceVaultV310Abi, iMidasRedemptionVaultAdapterV310Abi, iMidasRedemptionVaultGatewayV310Abi, iPendleRouterAbi, iPendleRouterAdapterAbi, iSecuritizeOnRampAbi, iSecuritizeOnRampAdapterV310Abi, iSecuritizeRedemptionGatewayAdapterV311Abi, iSecuritizeRedemptionGatewayV311Abi, iStakingRewardsAbi, iStakingRewardsAdapterAbi, iTraderJoeRouterAbi, iTraderJoeRouterAdapterAbi, iTreehouseFastlaneAbi, iTreehouseFastlaneAdapterAbi, iTreehouseRedemptionGatewayAbi, iTreehouseRedemptionGatewayAdapterAbi, iTreehouseRouterAbi, iTreehouseRouterAdapterAbi, iUniswapV2AdapterAbi, iUniswapV2Router02Abi, iUniswapV3Abi, iUniswapV3AdapterAbi, iUniswapV4AdapterAbi, iUniswapV4GatewayAbi, iUpshiftVaultAdapterAbi, iUpshiftVaultGatewayAbi, iVelodromeV2RouterAbi, iVelodromeV2RouterAdapterAbi, isCloseOrRepay, isDust, isLPPriceFeed, isPhantomToken, isPoolOperation, isPublicNetwork, isRWAFactory, isRWAOperation, isRWAToken, isStrategyCollateral, isSunsetPool, isSunsetStrategy, isSupportedNetwork, isUpdatablePriceFeed, isV310, isVersionRange, isZeroBalance, iwstETHAbi, iwstEthv1AdapterAbi, json_parse, json_stringify, lidoV1_WETHGatewayAbi, makeReplayState, maxAmountForQuota, mellowDvvAdapterAbi, midasGreenlistsAccount, minSeizedAmount, numberWithCommas, onchainSDKOptionsSchema, optimalHFForPartialLiquidation, optimalPartialLiquidation, optimalPartialLiquidationAmounts, parseAdapterAction, parseAdapterDeployParams, parseFacadeOperationCalldata, parseOperationCalldata, parsePoolOperationCalldata, parsePosNegAmount, parseRWAFactoryOperationCalldata, partialLiquidationParams, percentFmt, pickStrategyTargetCollateral, previewAdjustStrategyPosition, previewExitOrRepayStrategyPosition, previewOperation, raise, rayToBps, rayToNumber, replayInnerOperations, replayMulticall, resolveDelayedClaimIntent, resolveProtocolCall, retry, rewardsFromTransfers, roundUpQuota, sendRawTx, shortAddress, shortHash, simulateCall, simulateMulticall, simulateWithPriceUpdates, soleNonUnderlyingCollateral, strategyName, swapFromTransfers, toAddress, toBN, toBigInt, toChainIds, toClaimableWithdrawal, toCreditAccountSlice, toNetTransfers, toPendingWithdrawal, toRequestableWithdrawal, toSignificant, toToken, toTokenAmount, toWithdrawalStatus, updatableDependencies, usdToNumber, watchBlocksAsync };
|
|
323
|
+
export { ADDRESS_0X0, ADDRESS_PROVIDER_V310, AP_ACCOUNT_FACTORY, AP_ACL, AP_BOT_LIST, AP_BYTECODE_REPOSITORY, AP_CONTRACTS_REGISTER, AP_CONTROLLER_TIMELOCK, AP_CREDIT_ACCOUNT_COMPRESSOR, AP_CREDIT_SUITE_COMPRESSOR, AP_DATA_COMPRESSOR, AP_DELEVERAGE_BOT_HV, AP_DELEVERAGE_BOT_LV, AP_DELEVERAGE_BOT_PEGGED, AP_GAUGE_COMPRESSOR, AP_GEAR_STAKING, AP_GEAR_TOKEN, AP_INFLATION_ATTACK_BLOCKER, AP_INSOLVENCY_CHECKER, AP_MARKET_COMPRESSOR, AP_MARKET_CONFIGURATOR, AP_PARTIAL_LIQUIDATION_BOT, AP_PERIPHERY_COMPRESSOR, AP_PRICE_FEED_COMPRESSOR, AP_PRICE_FEED_STORE, AP_PRICE_ORACLE, AP_REDEMPTION_LOGGER, AP_REWARDS_COMPRESSOR, AP_ROUTER, AP_TOKEN_COMPRESSOR, AP_TREASURY, AP_WETH_GATEWAY, AP_WETH_TOKEN, AP_ZAPPER_REGISTER, AP_ZERO_PRICE_FEED, AbstractAdapterContract, AbstractLPPriceFeedContract, AbstractPriceFeedContract, AbstractWithdrawalCompressorContract, AccountBotsService, AccountMigratorAdapterContract, AdapterType, AddressMap, AddressProviderV310Contract, AddressSet, AssetsMap, BLOCKS_PER_WEEK_BY_NETWORK, BalancerStablePriceFeedContract, BalancerV3PoolStatus, BalancerV3RouterAdapterContract, BalancerV3WrapperAdapterContract, BalancerWeightedPriceFeedContract, BaseContract, BasePlugin, BigIntMath, BotPermissions, BoundedPriceFeedContract, CamelotV3AdapterContract, ChainContractsRegister, ChainNotConfiguredError, CompositePriceFeedContract, ConstantPriceFeedContract, Construct, ContractParseError, ConvexV1BaseRewardPoolAdapterContract, ConvexV1BoosterAdapterContract, CreditAccountCompressor, CreditAccountCompressorV310Contract, CreditAccountOperationsService, CreditAccountState, CreditAccountsServiceV310, CreditConfiguratorV310Contract, CreditFacadeV310BaseContract, CreditFacadeV310Contract, CreditManagerV310Contract, CreditSuite, CreditSuiteStrategy, Curve2AssetsAdapterContract, Curve3AssetsAdapterContract, Curve4AssetsAdapterContract, CurveCryptoPriceFeedContract, CurveStablePriceFeedContract, CurveUSDPriceFeedContract, CurveV1AdapterStETHContract, CurveV1StableNGAdapterContract, DEFAULT_QUOTA_BUFFER_BPS, DEGEN_NFT_MIDAS, DEGEN_NFT_SECURITIZE, DELAYED_INTENT_TYPES, DELAYED_INTENT_VERSION, DIRECT_TRANSFERS_QUOTA, DUST_THRESHOLD, DaiUsdsAdapterContract, ERC4626AdapterContract, ERC4626ReferralAdapterContract, EXECUTE_BYTES_SELECTOR, Erc4626PriceFeedContract, ExternalPriceFeedContract, FluidDexAdapterContract, GaugeContract, IERC20ZapperContract, IETHZapperContract, InfinifiGatewayAdapterContract, InfinifiUnwindingGatewayAdapterContract, KelpLRTDepositPoolAdapterContract, KelpLRTWithdrawalManagerAdapterContract, LEVERAGE_DECIMALS, LIQUIDATION_APPROVAL_BUFFER, LIQUIDATION_COMPRESSOR_V313_ADDRESS, LidoV1AdapterContract, LinearInterestRateModelContract, LiquidationsService, MAX_INT, MAX_LEVERAGE_BUFFER_BPS, MAX_QUOTA_MULTIPLIER, MAX_UINT16, MAX_UINT256, MIN_HEALTH_FACTOR_FACADE, MIN_HEALTH_FACTOR_FORM, MIN_HF_LIMITED, MIN_INT96, MIN_SAFE_HEALTH_FACTOR_FORM, MULTICALL_ADDRESS, MarketRegister, MarketSuite, MellowClaimerAdapterContract, MellowDVVAdapterContract, MellowERC4626VaultAdapterContract, MellowLRTPriceFeedContract, MellowWrapperAdapterContract, MidasDegenNFT, MidasGatewayAdapterContract, MidasIssuanceVaultAdapterContract, MidasLiquidatorContract, MidasRedemptionVaultAdapterContract, MissingSerializedParamsError, MultichainConstruct, MultichainLiquidationsService, MultichainOpportunitiesService, MultichainPositionsService, MultichainSDK, NATIVE_ADDRESS, NON_STRATEGY_PHANTOM_TOKEN_TYPES, NOT_DEPLOYED, NO_VERSION, NetworkType, OnchainSDK, OpportunitiesService, PARTIAL_LIQUIDATION_BUFFER_BPS, PERCENTAGE_DECIMALS, PERCENTAGE_FACTOR, PERCENTAGE_FACTOR_1KK, PERIPHERY_CONTRACTS, PHANTOM_TOKEN_CONTRACT_TYPES, PHANTOM_TOKEN_MIDAS_REDEMPTION, PHANTOM_TOKEN_SECURITIZE_REDEMPTION, PRICE_DECIMALS, PRICE_DECIMALS_POW, PartialPriceFeedInitError, PendlePairStatus, PendleRouterAdapterContract, PendleTWAPPTPriceFeed, PendleTokenType, PeripheryCompressorV310Contract, PluginStateVersionError, PoolService, PoolSuite, PoolV310Contract, PositionsService, PriceFeedRef, PriceFeedRegistry, PriceOracleV310Contract, PriceUpdatesCache, PythPriceFeed, RAMP_DURATION_BY_NETWORK, RAY, RAY_DECIMALS_POW, RWARegistry, RWA_COMPRESSOR_ADDRESS, RWA_LIQUIDATOR_MIDAS, RWA_LIQUIDATOR_SECURITIZE, RWA_ON_DEMAND_LP_MONOPOLIZED, RWA_UNDERLYING_DEFAULT, RWA_UNDERLYING_ON_DEMAND, RedemptionLoggerV310Contract, RedstonePriceFeedContract, RouterV310Contract, SDKConstruct, SECONDS_PER_YEAR, SLIPPAGE_DECIMALS, STATE_VERSION, SUPPORTED_NETWORKS, SdkAlreadyAttachedError, SdkChainMismatchError, SdkMissingChainStateError, SdkNotAttachedError, SdkRWADataNotLoadedError, SdkStateVersionMismatchError, SdkSyncFailedError, SecuritizeDegenNFT, SecuritizeLiquidatorContract, SecuritizeOnRampAdapterContract, SecuritizeRWAFactory, SecuritizeRedemptionGatewayAdapterContract, SimulateWithPriceUpdatesError, SimulationError, StakingRewardsAdapterContract, TokensMeta, TraderJoePoolVersion, TraderJoeRouterAdapterContract, TreehouseFastlaneAdapterContract, TreehouseRedemptionGatewayAdapterContract, TreehouseRouterAdapterContract, TypedObjectUtils, UniswapV2AdapterContract, UniswapV3AdapterContract, UniswapV4AdapterContract, UpdatablePriceFeedRegistry, UpshiftVaultAdapterContract, VERSION_RANGE_310, VelodromeV2RouterAdapterContract, VotingContractStatus, WAD, WAD_DECIMALS_POW, WithdrawalCompressorV310Contract, WithdrawalCompressorV311Contract, WithdrawalCompressorV313Contract, WstETHPriceFeedContract, WstETHV1AdapterContract, YearnPriceFeedContract, ZapperContract, ZeroPriceFeedContract, ZodAddress, ZodBigInt, ZodHex, accountSnapshotFromCreditAccountData, adapterActionAbi, adapterActionSelectors, adapterActionSignatures, adapterConstructorAbi, allTransfersAsTokenAmounts, amountOf, assetsMap, attachOptionsSchema, botPermissionsToString, bpsToRay, buildDelayedStrategyPositionOperationPreview, bytes32ToString, calcBorrowApy, calcBorrowRate, calcDefaultQuota, calcEffectiveBorrowApy, calcHealthFactor, calcLiquidationPrice, calcLiquidationPriceForTarget, calcMaxLeverage, calcNetStrategyApy, calcPositionLeverage, calcQuotaRate, calcQuotaUpdate, calcRecommendedQuota, calcTimeToLiquidationMs, calcUtilization, calcUtilizationRaw, chains, checkAccountQuotas, checkBorrowLimit, checkCollateralFunding, checkCollateralised, checkCreditAccountFrozen, checkCreditManagerPaused, checkCreditOperation, checkDebtLimits, checkEmergencyLiquidator, checkForbiddenToken, checkHealthFactors, checkIncreaseDebt, checkIncreaseQuota, checkLeverage, checkLiquidation, checkLiquidationEligibility, checkLiquidationFunding, checkLiquidatorEligible, checkMarket, checkMarketExpired, checkMaxQuota, checkMidasAccountGreenlist, checkObtained, checkOperation, checkPartiallyLiquidatable, checkPoolFunding, checkPoolLiquidity, checkPoolOperation, checkPoolPaused, checkPoolSunset, checkQuotaActive, checkQuotaChange, checkQuotaCount, checkQuotaLimit, checkQuotaUpdates, checkRWAOpenRequirements, checkRWAOpening, checkReservePriceLimited, checkSimulation, checkWallet, checkWalletAllowance, checkWalletBalance, childLogger, classifyCloseOrRepay, classifyCurveOperation, classifyInnerOperations, collateralPriceInUnderlying, collectTraces, createAdapter, createAddressProvider, createPriceOracle, createRawTx, createRedemptionLogger, createRouter, createWithdrawalCompressor, createZapper, abi as creditFacadeV310Abi, curveAddLiquidityFromTransfers, curveRemoveLiquidityFromTransfers, decodeDelayedIntent, detectDelayedClaim, detectDelayedOperation, detectNetwork, dominantCollateral, encodeDelayedIntent, erc4626ReferralAdapterAbi, estimateClaimableAt, estimateRawTxGas, etherscanApiUrl, etherscanUrl, executeDelegatedMulticalls, executeMulticallBatches, expectedBalanceDeltas, fetchCreditAccountSlice, filterDust, filterDustUSD, findCallTo, findCallWithInput, findCuratorMarketConfigurator, findExecuteBytes, fmtBinaryMask, fnSigToName, formatBN, formatBNvalue, formatDuration, formatLeverage, formatNumberToString_, formatPercentage, formatTimestamp, functionArgsToMap, functionArgsToRecord, generateCastTraceCall, getAccountTargetCollateral, getAdapterActionAbi, getAdapterDeployParamsAbi, getAdapterType, getAssetType, getCastTraceArgs, getChain, getCuratorName, getDirectTransferToken, getFunctionSignature, getLegacyStrategyTarget, getNetworkType, getRawPriceUpdates, getSimulateWithPriceUpdatesError, getWithdrawalCompressorAddress, halfRAY, hasAdapterDeployParamsAbi, healthFactorBps, hexEq, hydrateAddressProvider, iBalancerV3RouterAbi, iBalancerV3RouterAdapterAbi, iBalancerV3WrapperAbi, iBalancerV3WrapperAdapterAbi, iBaseOnRampAbi, iBaseRewardPoolAbi, iBoosterAbi, iCamelotV3AdapterAbi, iCamelotV3RouterAbi, iConvexV1BaseRewardPoolAdapterAbi, iConvexV1BoosterAdapterAbi, iCreditAccountAbi, iCurvePoolAbi, iCurvePoolStableNGAbi, iCurvePool_2Abi, iCurvePool_3Abi, iCurvePool_4Abi, iCurveV1StableNgAdapterAbi, iCurveV1_2AssetsAdapterAbi, iCurveV1_3AssetsAdapterAbi, iCurveV1_4AssetsAdapterAbi, iDaiUsdsAbi, iDaiUsdsAdapterAbi, iERC4626Abi, iERC4626ReferralAbi, iFluidDexAbi, iFluidDexAdapterAbi, iInfinifiGatewayAbi, iInfinifiGatewayAdapterAbi, iInfinifiUnwindingGatewayAbi, iInfinifiUnwindingGatewayAdapterAbi, iKelpLRTDepositPoolGatewayAbi, iKelpLRTWithdrawalManagerGatewayAbi, iKelpLrtDepositPoolAdapterAbi, iKelpLrtDepositPoolGatewayAbi, iKelpLrtWithdrawalManagerAdapterAbi, iKelpLrtWithdrawalManagerGatewayAbi, iLidoV1AdapterAbi, iMellow4626VaultAdapterAbi, iMellowClaimerAbi, iMellowClaimerAdapterAbi, iMellowWrapperAbi, iMellowWrapperAdapterAbi, iMidasGatewayAdapterV311Abi, iMidasGatewayV311Abi, iMidasIssuanceVaultAdapterV310Abi, iMidasIssuanceVaultV310Abi, iMidasRedemptionVaultAdapterV310Abi, iMidasRedemptionVaultGatewayV310Abi, iPendleRouterAbi, iPendleRouterAdapterAbi, iSecuritizeOnRampAbi, iSecuritizeOnRampAdapterV310Abi, iSecuritizeRedemptionGatewayAdapterV311Abi, iSecuritizeRedemptionGatewayV311Abi, iStakingRewardsAbi, iStakingRewardsAdapterAbi, iTraderJoeRouterAbi, iTraderJoeRouterAdapterAbi, iTreehouseFastlaneAbi, iTreehouseFastlaneAdapterAbi, iTreehouseRedemptionGatewayAbi, iTreehouseRedemptionGatewayAdapterAbi, iTreehouseRouterAbi, iTreehouseRouterAdapterAbi, iUniswapV2AdapterAbi, iUniswapV2Router02Abi, iUniswapV3Abi, iUniswapV3AdapterAbi, iUniswapV4AdapterAbi, iUniswapV4GatewayAbi, iUpshiftVaultAdapterAbi, iUpshiftVaultGatewayAbi, iVelodromeV2RouterAbi, iVelodromeV2RouterAdapterAbi, isCloseOrRepay, isDust, isLPPriceFeed, isPhantomToken, isPoolOperation, isPublicNetwork, isRWAFactory, isRWAOperation, isRWAToken, isStrategyCollateral, isSunsetPool, isSunsetStrategy, isSupportedNetwork, isUpdatablePriceFeed, isV310, isVersionRange, isZeroBalance, iwstETHAbi, iwstEthv1AdapterAbi, json_parse, json_stringify, lidoV1_WETHGatewayAbi, makeReplayState, maxAmountForQuota, mellowDvvAdapterAbi, midasGreenlistsAccount, minSeizedAmount, numberWithCommas, onchainSDKOptionsSchema, optimalHFForPartialLiquidation, optimalPartialLiquidation, optimalPartialLiquidationAmounts, parseAdapterAction, parseAdapterDeployParams, parseFacadeOperationCalldata, parseOperationCalldata, parsePoolOperationCalldata, parsePosNegAmount, parseRWAFactoryOperationCalldata, partialLiquidationParams, percentFmt, pickStrategyTargetCollateral, previewAdjustStrategyPosition, previewExitOrRepayStrategyPosition, previewOperation, raise, rayToBps, rayToNumber, replayInnerOperations, replayMulticall, resolveDelayedClaimIntent, resolveProtocolCall, retry, rewardsFromTransfers, roundUpQuota, sendRawTx, shortAddress, shortHash, simulateCall, simulateMulticall, simulateWithPriceUpdates, soleNonUnderlyingCollateral, strategyName, swapFromTransfers, toAddress, toBN, toBigInt, toChainIds, toClaimableWithdrawal, toCreditAccountSlice, toNetTransfers, toPendingWithdrawal, toRequestableWithdrawal, toSignificant, toToken, toTokenAmount, toWithdrawalStatus, updatableDependencies, usdToNumber, watchBlocksAsync };
|