@qidao/sdk 5.3.2 → 5.3.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/index.modern.mjs +1 -1
- package/dist/index.modern.mjs.map +1 -1
- package/dist/index.module.js +1 -1
- package/dist/index.module.js.map +1 -1
- package/dist/index.umd.js +1 -1
- package/dist/index.umd.js.map +1 -1
- package/dist/src/constants.d.ts +9 -1
- package/dist/src/entities/currency.d.ts +1 -0
- package/dist/src/entities/token.d.ts +1 -0
- package/dist/src/vaultInfo.d.ts +70 -3
- package/package.json +2 -2
package/dist/src/constants.d.ts
CHANGED
|
@@ -12,6 +12,7 @@ export declare const MAINNET_ZAPPER = "0x5AA5079A8037f9D050D838AEFCe10bA7B8b8b00
|
|
|
12
12
|
export declare const BASE_THREE_STEP_ZAPPER = "0x70dD6dEf31E7285EcA5d2341FD9136A786c29422";
|
|
13
13
|
export declare const XDAI_THREE_STEP_ZAPPER = "0xb9e1b02e3a3a58b2c48e5ea3d830007e9d6d2e0b";
|
|
14
14
|
export declare const LINEA_THREE_STEP_ZAPPER = "0xD7Acff6De10A71710C05132eB771e96630Ae132b";
|
|
15
|
+
export declare const SCROLL_THREE_STEP_ZAPPER = "0xD7Acff6De10A71710C05132eB771e96630Ae132b";
|
|
15
16
|
export declare enum ChainId {
|
|
16
17
|
MAINNET = 1,
|
|
17
18
|
GÖRLI = 5,
|
|
@@ -49,7 +50,8 @@ export declare enum ChainId {
|
|
|
49
50
|
DOGECHAIN = 2000,
|
|
50
51
|
ZKEVM = 1101,
|
|
51
52
|
BASE = 8453,
|
|
52
|
-
LINEA = 59144
|
|
53
|
+
LINEA = 59144,
|
|
54
|
+
SCROLL = 534352
|
|
53
55
|
}
|
|
54
56
|
export declare enum TradeType {
|
|
55
57
|
EXACT_INPUT = 0,
|
|
@@ -317,8 +319,11 @@ export declare const ZKEVM_WETH_ADDRESS = "0x4F9A0e7FD2Bf6067db6994CF12E4495Df93
|
|
|
317
319
|
export declare const ZKEVM_WMATIC_ADDRESS = "0xa2036f0538221a77A3937F1379699f44945018d0";
|
|
318
320
|
export declare const BASE_WETH_ADDRESS = "0x4200000000000000000000000000000000000006";
|
|
319
321
|
export declare const BASE_CBETH_ADDRESS = "0x2Ae3F1Ec7F1F5012CFEab0185bfc7aa3cf0DEc22";
|
|
322
|
+
export declare const BASE_WSTETH_ADDRESS = "0xc1CBa3fCea344f92D9239c08C0568f6F2F0ee452";
|
|
320
323
|
export declare const XDAI_SDAI_ADDRESS = "0xaf204776c7245bF4147c2612BF6e5972Ee483701";
|
|
321
324
|
export declare const LINEA_WSTETH_ADDRESS = "0xB5beDd42000b71FddE22D3eE8a79Bd49A568fC8F";
|
|
325
|
+
export declare const LINEA_WBTC_ADDRESS = "0x3aAB2285ddcDdaD8edf438C1bAB47e1a9D05a9b4";
|
|
326
|
+
export declare const LINEA_WETH_ADDRESS = "0xe5D7C2a44FfDDf6b295A15c148167daaAf5Cf34f";
|
|
322
327
|
export declare const CAMWMATIC_VAULT_ADDRESS = "0x88d84a85A87ED12B8f098e8953B322fF789fCD1a";
|
|
323
328
|
export declare const CAMWETH_VAULT_ADDRESS = "0x11A33631a5B5349AF3F165d2B7901A4d67e561ad";
|
|
324
329
|
export declare const CAMAAVE_VAULT_ADDRESS = "0x578375c3af7d61586c2C3A7BA87d2eEd640EFA40";
|
|
@@ -365,5 +370,8 @@ export declare const ZKEVM_WETH_VAULT_ADDRESS = "0xdb1103a8F51823f5a2439c52C0692
|
|
|
365
370
|
export declare const ZKEVM_WMATIC_VAULT_ADDRESS = "0x8AB01c5Ee3422099156ab151eecB83c095626599";
|
|
366
371
|
export declare const BASE_WETH_VAULT_ADDRESS = "0x8D6CeBD76f18E1558D4DB88138e2DeFB3909fAD6";
|
|
367
372
|
export declare const BASE_CBETH_VAULT_ADDRESS = "0x7333fd58d8D73a8e5FC1a16C8037ADa4f580FA2B";
|
|
373
|
+
export declare const BASE_WSTETH_VAULT_ADDRESS = "0x654a31Ba7D714cfCab19b17D0066171c1A292349";
|
|
368
374
|
export declare const XDAI_SDAI_VAULT_ADDRESS = "0x79AFAD49e968E7bEA7a23933E294a94E33E60158";
|
|
369
375
|
export declare const LINEA_WSTETH_VAULT_ADDRESS = "0x759D0e8623C5028ED4D447dB25Bbe789FD07A43D";
|
|
376
|
+
export declare const LINEA_WBTC_VAULT_ADDRESS = "0x8AB01c5Ee3422099156ab151eecB83c095626599";
|
|
377
|
+
export declare const LINEA_WETH_VAULT_ADDRESS = "0x7f9Dd991e8fD0cBb52CB8Eb35DD35c474a9a7a70";
|
package/dist/src/vaultInfo.d.ts
CHANGED
|
@@ -7,7 +7,7 @@ import { QiStablecoin } from './contracts/QiStablecoin';
|
|
|
7
7
|
import { Token } from './entities';
|
|
8
8
|
import { ChainId, TOKEN_DESCRIPTIONS } from './constants';
|
|
9
9
|
import { PLATFORM } from "./ProtocolInfo";
|
|
10
|
-
export type SnapshotCanonicalChoiceName = 'Wrapped MATIC (Polygon)' | 'WETH (Polygon)' | 'WBTC (Polygon)' | 'AAVE (Polygon)' | 'LINK (Polygon)' | 'xxLINK (Polygon)' | 'KNC (Polygon)' | 'CRV (Polygon)' | 'BAL (Polygon)' | 'GHST (Polygon)' | 'vGHST (Polygon)' | 'Frax Share (Polygon)' | 'SAND (Polygon)' | 'Compounding Aave MATIC (Polygon)' | 'Compounding Aave ETH (Polygon)' | 'Compounding Aave AAVE (Polygon)' | 'Compounding Aave WBTC (Polygon)' | 'WETH (Fantom)' | 'WFTM (Fantom)' | 'LINK (Fantom)' | 'WBTC (Fantom)' | 'SUSHI (Fantom)' | 'AAVE (Fantom)' | 'mooBIFI (Fantom)' | 'xBOO (Fantom)' | 'Yearn vault WFTM (Fantom)' | 'Yearn vault BTC (Fantom)' | 'Yearn vault ETH (Fantom)' | 'Yearn vault YFI (Fantom)' | 'WBTC (Avalanche)' | 'WETH (Avalanche)' | 'WAVAX (Avalanche)' | 'Beefy Aave AVAX (Avalanche)' | 'MOVR (Moonriver)' | 'WETH (Gnosis Chain)' | 'GNO (Gnosis Chain)' | 'WETH (Arbitrum)' | 'WBTC (Arbitrum)' | 'WETH (Optimism)' | 'WBTC (Optimism)' | 'OP (Optimism)' | 'Beefy Aave ETH (Optimism)' | 'Beefy Aave BTC (Optimism)' | 'CAKE (BNB)' | 'BNB (BNB)' | 'DODO (BNB)' | 'METIS (Metis)' | 'WETH (Metis)' | 'WBTC (Metis)' | 'm.WBTC (Metis)' | 'Yearn WETH (Ethereum)' | 'Yearn LINK (Ethereum)' | 'WBTC (Ethereum)' | 'WETH (Ethereum)' | 'StakeDAO Curve ETH/stETH (Eth)' | 'Yearn Curve ETH/stETH (Ethereum)' | 'MAI DAI Arrakis Polygon' | 'Wrapped Staked ETH (Optimism)' | 'Yearn vault ETH (Optimism)' | 'Beefy stETH Curve (Optimism)' | 'Beefy stETH Curve (Arbitrum)' | 'StakeDAO Curve ETH/stETH Perf (Eth)' | 'Beefy stETH Convex Perf (Eth)' | 'Curve (Eth)' | 'Arb (Arbitrum)' | 'WETH-I (Polygon)' | 'WBTC-I (Polygon)' | 'cbEth (Eth)' | 'stEth (Eth)' | 'LDO (Eth)' | 'WETH (ZKEVM)' | 'WMATIC (ZKEVM)' | 'cbEth (Base)' | 'WETH (Base)' | 'Savings DAI (Gnosis Chain)' | 'Wrapped Staked ETH (Linea)';
|
|
10
|
+
export type SnapshotCanonicalChoiceName = 'Wrapped MATIC (Polygon)' | 'WETH (Polygon)' | 'WBTC (Polygon)' | 'AAVE (Polygon)' | 'LINK (Polygon)' | 'xxLINK (Polygon)' | 'KNC (Polygon)' | 'CRV (Polygon)' | 'BAL (Polygon)' | 'GHST (Polygon)' | 'vGHST (Polygon)' | 'Frax Share (Polygon)' | 'SAND (Polygon)' | 'Compounding Aave MATIC (Polygon)' | 'Compounding Aave ETH (Polygon)' | 'Compounding Aave AAVE (Polygon)' | 'Compounding Aave WBTC (Polygon)' | 'WETH (Fantom)' | 'WFTM (Fantom)' | 'LINK (Fantom)' | 'WBTC (Fantom)' | 'SUSHI (Fantom)' | 'AAVE (Fantom)' | 'mooBIFI (Fantom)' | 'xBOO (Fantom)' | 'Yearn vault WFTM (Fantom)' | 'Yearn vault BTC (Fantom)' | 'Yearn vault ETH (Fantom)' | 'Yearn vault YFI (Fantom)' | 'WBTC (Avalanche)' | 'WETH (Avalanche)' | 'WAVAX (Avalanche)' | 'Beefy Aave AVAX (Avalanche)' | 'MOVR (Moonriver)' | 'WETH (Gnosis Chain)' | 'GNO (Gnosis Chain)' | 'WETH (Arbitrum)' | 'WBTC (Arbitrum)' | 'WETH (Optimism)' | 'WBTC (Optimism)' | 'OP (Optimism)' | 'Beefy Aave ETH (Optimism)' | 'Beefy Aave BTC (Optimism)' | 'CAKE (BNB)' | 'BNB (BNB)' | 'DODO (BNB)' | 'METIS (Metis)' | 'WETH (Metis)' | 'WBTC (Metis)' | 'm.WBTC (Metis)' | 'Yearn WETH (Ethereum)' | 'Yearn LINK (Ethereum)' | 'WBTC (Ethereum)' | 'WETH (Ethereum)' | 'StakeDAO Curve ETH/stETH (Eth)' | 'Yearn Curve ETH/stETH (Ethereum)' | 'MAI DAI Arrakis Polygon' | 'Wrapped Staked ETH (Optimism)' | 'Yearn vault ETH (Optimism)' | 'Beefy stETH Curve (Optimism)' | 'Beefy stETH Curve (Arbitrum)' | 'StakeDAO Curve ETH/stETH Perf (Eth)' | 'Beefy stETH Convex Perf (Eth)' | 'Curve (Eth)' | 'Arb (Arbitrum)' | 'WETH-I (Polygon)' | 'WBTC-I (Polygon)' | 'cbEth (Eth)' | 'stEth (Eth)' | 'LDO (Eth)' | 'WETH (ZKEVM)' | 'WMATIC (ZKEVM)' | 'cbEth (Base)' | 'WETH (Base)' | 'Savings DAI (Gnosis Chain)' | 'Wrapped Staked ETH (Linea)' | 'Wrapped Staked ETH (Base)' | 'WBTC (Linea)';
|
|
11
11
|
export type VaultShortName = 'aave' | 'avax' | 'avaxweth' | 'avaxwbtc' | 'bal' | 'bal-old' | 'beefy-aave-avax' | 'beefy-aave-dai' | 'beefy-aave-weth' | 'beefy-aave-wbtc' | 'beefy-bifi' | 'beefy-scream-dai' | 'beefy-scream-eth' | 'beefy-scream-ftm' | 'beefy-scream-link' | 'beefy-scream-wbtc' | 'beefy-spooky-btc-ftm' | 'beefy-spooky-eth-ftm' | 'btc' | 'btc_old' | 'cake' | 'camaave' | 'camdai' | 'camwbtc' | 'camweth' | 'camwmatic' | 'crv' | 'cxada' | 'cxdoge' | 'cxeth' | 'dquick' | 'dquick-old' | 'eth' | 'ftm' | 'ftmweth' | 'fxs' | 'ghst' | 'gno' | 'link' | 'matic' | 'moo-solar-eth-usdc' | 'moo-solar-movr-usdc' | 'movr' | 'one' | 'sdam3crv' | 'sdav3crv' | 'sushi' | 'vghst' | 'wbtc' | 'wbnb' | 'weth' | 'weth-old' | 'yveth' | 'yvlink' | 'yvcrv-eth-steth' | 'yvwdai' | 'yvwftm' | 'yvwbtc' | 'yvyfi' | 'celsius' | 'sand' | 'stake-dao-crv-eth-steth' | 'wmatic' | 'xboo' | 'dodo' | 'xxdai' | 'xxlink' | 'op' | 'metis' | 'mwbtc' | 'knc' | 'xSMVT' | 'GLMVT' | 'LSMMVT' | 'STMMVT' | 'maidai' | 'yvweth' | 'wsteth' | 'beefy-eth-steth-crv' | 'stmatic' | 'gdai' | 'maticx' | 'yvcurve-steth-f-perf' | 'stake-dao-crv-eth-steth-perf' | 'beefy-eth-steth-crv-perf' | 'arb' | 'weth-i' | 'wbtc-i' | 'cbeth' | 'steth' | 'ldo' | 'sdai';
|
|
12
12
|
export type RawVaultContractAbiV1 = typeof qiStablecoin | typeof erc20Stablecoin | typeof erc20QiStablecoinwbtc | typeof erc20QiStablecoincamwbtc | typeof crosschainQiStablecoin | typeof crosschainNativeQiStablecoin | typeof crosschainQiStablecoinV2 | typeof crosschainQiStablecoinSlim | typeof crosschainQiStablecoinSlimV2 | typeof crosschainQiStablecoinwbtc;
|
|
13
13
|
export type VaultContractDiscriminatorV1 = 'QiStablecoin' | 'Erc20Stablecoin' | 'Erc20QiStablecoinwbtc' | 'Erc20QiStablecoincamwbtc' | 'CrosschainQiStablecoin' | 'CrosschainNativeQiStablecoin' | 'CrosschainQiStablecoinV2' | 'CrosschainQiStablecoinSlim' | 'CrosschainQiStablecoinSlimV2' | 'CrosschainQiStablecoinwbtc';
|
|
@@ -826,6 +826,7 @@ declare const FANTOM_COLLATERALS: ({
|
|
|
826
826
|
deprecated: true;
|
|
827
827
|
fallbackUnderlyingAddress?: undefined;
|
|
828
828
|
platform?: undefined;
|
|
829
|
+
disabled?: undefined;
|
|
829
830
|
} | {
|
|
830
831
|
shortName: "yvwftm";
|
|
831
832
|
vaultAddress: string;
|
|
@@ -844,6 +845,7 @@ declare const FANTOM_COLLATERALS: ({
|
|
|
844
845
|
addedAt: number;
|
|
845
846
|
deprecated: true;
|
|
846
847
|
native?: undefined;
|
|
848
|
+
disabled?: undefined;
|
|
847
849
|
} | {
|
|
848
850
|
shortName: "yvwbtc";
|
|
849
851
|
vaultAddress: string;
|
|
@@ -862,6 +864,7 @@ declare const FANTOM_COLLATERALS: ({
|
|
|
862
864
|
deprecated: true;
|
|
863
865
|
native?: undefined;
|
|
864
866
|
subgraph?: undefined;
|
|
867
|
+
disabled?: undefined;
|
|
865
868
|
} | {
|
|
866
869
|
shortName: "yvyfi";
|
|
867
870
|
vaultAddress: string;
|
|
@@ -880,6 +883,7 @@ declare const FANTOM_COLLATERALS: ({
|
|
|
880
883
|
deprecated: true;
|
|
881
884
|
native?: undefined;
|
|
882
885
|
subgraph?: undefined;
|
|
886
|
+
disabled?: undefined;
|
|
883
887
|
} | {
|
|
884
888
|
shortName: "yveth";
|
|
885
889
|
vaultAddress: string;
|
|
@@ -898,6 +902,7 @@ declare const FANTOM_COLLATERALS: ({
|
|
|
898
902
|
deprecated: true;
|
|
899
903
|
native?: undefined;
|
|
900
904
|
subgraph?: undefined;
|
|
905
|
+
disabled?: undefined;
|
|
901
906
|
} | {
|
|
902
907
|
shortName: "yvwdai";
|
|
903
908
|
vaultAddress: string;
|
|
@@ -916,6 +921,7 @@ declare const FANTOM_COLLATERALS: ({
|
|
|
916
921
|
deprecated: true;
|
|
917
922
|
native?: undefined;
|
|
918
923
|
snapshotName?: undefined;
|
|
924
|
+
disabled?: undefined;
|
|
919
925
|
} | {
|
|
920
926
|
shortName: "ftmweth";
|
|
921
927
|
vaultAddress: string;
|
|
@@ -934,6 +940,7 @@ declare const FANTOM_COLLATERALS: ({
|
|
|
934
940
|
native?: undefined;
|
|
935
941
|
fallbackUnderlyingAddress?: undefined;
|
|
936
942
|
platform?: undefined;
|
|
943
|
+
disabled?: undefined;
|
|
937
944
|
} | {
|
|
938
945
|
shortName: "aave";
|
|
939
946
|
vaultAddress: string;
|
|
@@ -952,6 +959,7 @@ declare const FANTOM_COLLATERALS: ({
|
|
|
952
959
|
subgraph?: undefined;
|
|
953
960
|
fallbackUnderlyingAddress?: undefined;
|
|
954
961
|
platform?: undefined;
|
|
962
|
+
disabled?: undefined;
|
|
955
963
|
} | {
|
|
956
964
|
shortName: "sushi";
|
|
957
965
|
vaultAddress: string;
|
|
@@ -970,6 +978,7 @@ declare const FANTOM_COLLATERALS: ({
|
|
|
970
978
|
subgraph?: undefined;
|
|
971
979
|
fallbackUnderlyingAddress?: undefined;
|
|
972
980
|
platform?: undefined;
|
|
981
|
+
disabled?: undefined;
|
|
973
982
|
} | {
|
|
974
983
|
shortName: "link";
|
|
975
984
|
vaultAddress: string;
|
|
@@ -988,6 +997,7 @@ declare const FANTOM_COLLATERALS: ({
|
|
|
988
997
|
subgraph?: undefined;
|
|
989
998
|
fallbackUnderlyingAddress?: undefined;
|
|
990
999
|
platform?: undefined;
|
|
1000
|
+
disabled?: undefined;
|
|
991
1001
|
} | {
|
|
992
1002
|
shortName: "btc";
|
|
993
1003
|
vaultAddress: string;
|
|
@@ -1006,6 +1016,7 @@ declare const FANTOM_COLLATERALS: ({
|
|
|
1006
1016
|
subgraph?: undefined;
|
|
1007
1017
|
fallbackUnderlyingAddress?: undefined;
|
|
1008
1018
|
platform?: undefined;
|
|
1019
|
+
disabled?: undefined;
|
|
1009
1020
|
} | {
|
|
1010
1021
|
shortName: "beefy-scream-wbtc";
|
|
1011
1022
|
vaultAddress: string;
|
|
@@ -1024,6 +1035,7 @@ declare const FANTOM_COLLATERALS: ({
|
|
|
1024
1035
|
subgraph?: undefined;
|
|
1025
1036
|
snapshotName?: undefined;
|
|
1026
1037
|
platform?: undefined;
|
|
1038
|
+
disabled?: undefined;
|
|
1027
1039
|
} | {
|
|
1028
1040
|
shortName: "beefy-scream-dai";
|
|
1029
1041
|
vaultAddress: string;
|
|
@@ -1042,6 +1054,7 @@ declare const FANTOM_COLLATERALS: ({
|
|
|
1042
1054
|
subgraph?: undefined;
|
|
1043
1055
|
snapshotName?: undefined;
|
|
1044
1056
|
platform?: undefined;
|
|
1057
|
+
disabled?: undefined;
|
|
1045
1058
|
} | {
|
|
1046
1059
|
shortName: "beefy-scream-eth";
|
|
1047
1060
|
vaultAddress: string;
|
|
@@ -1060,6 +1073,7 @@ declare const FANTOM_COLLATERALS: ({
|
|
|
1060
1073
|
subgraph?: undefined;
|
|
1061
1074
|
snapshotName?: undefined;
|
|
1062
1075
|
platform?: undefined;
|
|
1076
|
+
disabled?: undefined;
|
|
1063
1077
|
} | {
|
|
1064
1078
|
shortName: "beefy-scream-ftm";
|
|
1065
1079
|
vaultAddress: string;
|
|
@@ -1078,6 +1092,7 @@ declare const FANTOM_COLLATERALS: ({
|
|
|
1078
1092
|
subgraph?: undefined;
|
|
1079
1093
|
snapshotName?: undefined;
|
|
1080
1094
|
platform?: undefined;
|
|
1095
|
+
disabled?: undefined;
|
|
1081
1096
|
} | {
|
|
1082
1097
|
shortName: "beefy-scream-link";
|
|
1083
1098
|
vaultAddress: string;
|
|
@@ -1096,6 +1111,7 @@ declare const FANTOM_COLLATERALS: ({
|
|
|
1096
1111
|
subgraph?: undefined;
|
|
1097
1112
|
snapshotName?: undefined;
|
|
1098
1113
|
platform?: undefined;
|
|
1114
|
+
disabled?: undefined;
|
|
1099
1115
|
} | {
|
|
1100
1116
|
shortName: "beefy-spooky-btc-ftm";
|
|
1101
1117
|
vaultAddress: string;
|
|
@@ -1114,6 +1130,7 @@ declare const FANTOM_COLLATERALS: ({
|
|
|
1114
1130
|
snapshotName?: undefined;
|
|
1115
1131
|
fallbackUnderlyingAddress?: undefined;
|
|
1116
1132
|
platform?: undefined;
|
|
1133
|
+
disabled?: undefined;
|
|
1117
1134
|
} | {
|
|
1118
1135
|
shortName: "beefy-spooky-eth-ftm";
|
|
1119
1136
|
vaultAddress: string;
|
|
@@ -1132,6 +1149,7 @@ declare const FANTOM_COLLATERALS: ({
|
|
|
1132
1149
|
snapshotName?: undefined;
|
|
1133
1150
|
fallbackUnderlyingAddress?: undefined;
|
|
1134
1151
|
platform?: undefined;
|
|
1152
|
+
disabled?: undefined;
|
|
1135
1153
|
} | {
|
|
1136
1154
|
shortName: "beefy-bifi";
|
|
1137
1155
|
vaultAddress: string;
|
|
@@ -1148,6 +1166,7 @@ declare const FANTOM_COLLATERALS: ({
|
|
|
1148
1166
|
platform: "Beefy"[];
|
|
1149
1167
|
addedAt: number;
|
|
1150
1168
|
deprecated: true;
|
|
1169
|
+
disabled: true;
|
|
1151
1170
|
native?: undefined;
|
|
1152
1171
|
subgraph?: undefined;
|
|
1153
1172
|
} | {
|
|
@@ -1168,6 +1187,7 @@ declare const FANTOM_COLLATERALS: ({
|
|
|
1168
1187
|
deprecated: true;
|
|
1169
1188
|
native?: undefined;
|
|
1170
1189
|
subgraph?: undefined;
|
|
1190
|
+
disabled?: undefined;
|
|
1171
1191
|
})[];
|
|
1172
1192
|
declare const AVALANCHE_COLLATERALS: ({
|
|
1173
1193
|
shortName: "beefy-aave-avax";
|
|
@@ -2565,8 +2585,23 @@ declare const BASE_COLLATERALS: ({
|
|
|
2565
2585
|
platform: "Coinbase"[];
|
|
2566
2586
|
addedAt: number;
|
|
2567
2587
|
deprecated: false;
|
|
2588
|
+
} | {
|
|
2589
|
+
shortName: "wsteth";
|
|
2590
|
+
vaultAddress: string;
|
|
2591
|
+
chainId: ChainId.BASE;
|
|
2592
|
+
token: Token;
|
|
2593
|
+
connect: typeof StableQiVault__factory.connect;
|
|
2594
|
+
discriminator: "StableQiVault";
|
|
2595
|
+
minimumCDR: number;
|
|
2596
|
+
frontend: FRONTEND.MAI;
|
|
2597
|
+
version: 2;
|
|
2598
|
+
snapshotName: "Wrapped Staked ETH (Base)";
|
|
2599
|
+
underlyingIds: "lido-staked-ether"[];
|
|
2600
|
+
platform: "Lido"[];
|
|
2601
|
+
addedAt: number;
|
|
2602
|
+
deprecated: false;
|
|
2568
2603
|
})[];
|
|
2569
|
-
declare const LINEA_COLLATERALS: {
|
|
2604
|
+
declare const LINEA_COLLATERALS: ({
|
|
2570
2605
|
shortName: "wsteth";
|
|
2571
2606
|
vaultAddress: string;
|
|
2572
2607
|
chainId: ChainId.LINEA;
|
|
@@ -2581,7 +2616,38 @@ declare const LINEA_COLLATERALS: {
|
|
|
2581
2616
|
platform: "Lido"[];
|
|
2582
2617
|
addedAt: number;
|
|
2583
2618
|
deprecated: false;
|
|
2584
|
-
}
|
|
2619
|
+
} | {
|
|
2620
|
+
shortName: "wbtc";
|
|
2621
|
+
vaultAddress: string;
|
|
2622
|
+
chainId: ChainId.LINEA;
|
|
2623
|
+
token: Token;
|
|
2624
|
+
connect: typeof StableQiVault__factory.connect;
|
|
2625
|
+
discriminator: "StableQiVault";
|
|
2626
|
+
minimumCDR: number;
|
|
2627
|
+
frontend: FRONTEND.MAI;
|
|
2628
|
+
version: 2;
|
|
2629
|
+
snapshotName: "WBTC (Linea)";
|
|
2630
|
+
underlyingIds: "wrapped-bitcoinwbtc"[];
|
|
2631
|
+
addedAt: number;
|
|
2632
|
+
deprecated: false;
|
|
2633
|
+
platform?: undefined;
|
|
2634
|
+
} | {
|
|
2635
|
+
shortName: "weth";
|
|
2636
|
+
vaultAddress: string;
|
|
2637
|
+
chainId: ChainId.LINEA;
|
|
2638
|
+
token: Token;
|
|
2639
|
+
connect: typeof StableQiVault__factory.connect;
|
|
2640
|
+
discriminator: "StableQiVault";
|
|
2641
|
+
minimumCDR: number;
|
|
2642
|
+
frontend: FRONTEND.MAI;
|
|
2643
|
+
version: 2;
|
|
2644
|
+
snapshotName: "Wrapped Staked ETH (Linea)";
|
|
2645
|
+
underlyingIds: "lido-staked-ether"[];
|
|
2646
|
+
addedAt: number;
|
|
2647
|
+
deprecated: false;
|
|
2648
|
+
platform?: undefined;
|
|
2649
|
+
})[];
|
|
2650
|
+
declare const SCROLL_COLLATERALS: never[];
|
|
2585
2651
|
declare const EMPTY_COLLATERALS: never[];
|
|
2586
2652
|
export declare const COLLATERALS: {
|
|
2587
2653
|
[ChainId.MAINNET]: typeof MAINNET_COLLATERALS;
|
|
@@ -2622,5 +2688,6 @@ export declare const COLLATERALS: {
|
|
|
2622
2688
|
[ChainId.ZKEVM]: typeof EMPTY_COLLATERALS;
|
|
2623
2689
|
[ChainId.BASE]: typeof BASE_COLLATERALS;
|
|
2624
2690
|
[ChainId.LINEA]: typeof LINEA_COLLATERALS;
|
|
2691
|
+
[ChainId.SCROLL]: typeof SCROLL_COLLATERALS;
|
|
2625
2692
|
};
|
|
2626
2693
|
export {};
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@qidao/sdk",
|
|
3
3
|
"license": "MIT",
|
|
4
|
-
"version": "5.3.
|
|
4
|
+
"version": "5.3.7",
|
|
5
5
|
"description": "🛠 An SDK for building applications on top of QiDao Protocol.",
|
|
6
6
|
"main": "./dist/index.js",
|
|
7
7
|
"umd:main": "dist/index.umd.js",
|
|
@@ -54,7 +54,7 @@
|
|
|
54
54
|
"@types/jest": "28.1.6",
|
|
55
55
|
"@types/lodash": "^4.14.185",
|
|
56
56
|
"ethers": "5.7.0",
|
|
57
|
-
"isomorphic-fetch":" ^3.0.0",
|
|
57
|
+
"isomorphic-fetch": " ^3.0.0",
|
|
58
58
|
"microbundle": "^0.15.1",
|
|
59
59
|
"p-queue": "^7.3.0",
|
|
60
60
|
"typechain": "8.1.0",
|