@defisaver/positions-sdk 0.0.107 → 0.0.109

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.
@@ -1727,6 +1727,9 @@ export namespace cUSDTv3 {
1727
1727
  })[];
1728
1728
  export { abi_17 as abi };
1729
1729
  let networks_17: {
1730
+ "1": {
1731
+ address: string;
1732
+ };
1730
1733
  "10": {
1731
1734
  address: string;
1732
1735
  };
@@ -308,6 +308,9 @@ module.exports = {
308
308
  "cUSDTv3": {
309
309
  "abi": [{ "inputs": [{ "internalType": "address", "name": "_logic", "type": "address" }, { "internalType": "address", "name": "admin_", "type": "address" }, { "internalType": "bytes", "name": "_data", "type": "bytes" }], "stateMutability": "payable", "type": "constructor" }, { "anonymous": false, "inputs": [{ "indexed": false, "internalType": "address", "name": "previousAdmin", "type": "address" }, { "indexed": false, "internalType": "address", "name": "newAdmin", "type": "address" }], "name": "AdminChanged", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": true, "internalType": "address", "name": "beacon", "type": "address" }], "name": "BeaconUpgraded", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": true, "internalType": "address", "name": "implementation", "type": "address" }], "name": "Upgraded", "type": "event" }, { "stateMutability": "payable", "type": "fallback" }, { "inputs": [], "name": "admin", "outputs": [{ "internalType": "address", "name": "admin_", "type": "address" }], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "newAdmin", "type": "address" }], "name": "changeAdmin", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "implementation", "outputs": [{ "internalType": "address", "name": "implementation_", "type": "address" }], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "newImplementation", "type": "address" }], "name": "upgradeTo", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "newImplementation", "type": "address" }, { "internalType": "bytes", "name": "data", "type": "bytes" }], "name": "upgradeToAndCall", "outputs": [], "stateMutability": "payable", "type": "function" }, { "stateMutability": "payable", "type": "receive" }],
310
310
  "networks": {
311
+ "1": {
312
+ "address": "0x3Afdc9BCA9213A35503b077a6072F3D0d5AB0840"
313
+ },
311
314
  "10": {
312
315
  "address": "0x995E394b8B2437aC8Ce61Ee0bC610D617962B214"
313
316
  },
@@ -12,7 +12,7 @@ exports.aaveV3AssetsDefaultMarketOpt = [
12
12
  'DAI', 'USDC.e', 'USDT', 'SUSD', 'AAVE', 'LINK', 'WBTC', 'ETH', 'OP', 'wstETH', 'LUSD', 'MAI', 'rETH', 'USDC',
13
13
  ];
14
14
  exports.aaveV3AssetsDefaultMarketArb = [
15
- 'ETH', 'DAI', 'EURS', 'USDC', 'USDT', 'AAVE', 'LINK', 'WBTC', 'wstETH', 'MAI', 'rETH', 'LUSD', 'USDC.e', 'FRAX', 'ARB', 'weETH',
15
+ 'ETH', 'DAI', 'EURS', 'USDC', 'USDT', 'AAVE', 'LINK', 'WBTC', 'wstETH', 'MAI', 'rETH', 'LUSD', 'USDC.e', 'FRAX', 'ARB', 'weETH', 'GHO',
16
16
  ];
17
17
  exports.aaveV3AssetsDefaultMarketBase = ['ETH', 'cbETH', 'USDbC', 'wstETH', 'USDC', 'weETH'];
18
18
  // @dev Keep assets in array, do not assign directly, so we can parse it and edit it programmatically with `scripts/updateMarkets`
@@ -20,11 +20,11 @@ const BULKER_OPTIONS = {
20
20
  [common_1.NetworkNumber.Eth]: {
21
21
  [types_1.CompoundVersions.CompoundV3USDC]: { supply: 2, withdraw: 5 },
22
22
  [types_1.CompoundVersions.CompoundV3ETH]: STANDARD_BULKER_OPTIONS,
23
+ [types_1.CompoundVersions.CompoundV3USDT]: STANDARD_BULKER_OPTIONS,
23
24
  // Non-existing markets, keeping it because of typescript
24
25
  [types_1.CompoundVersions.CompoundV2]: EMPTY_BULKER_OPTIONS,
25
26
  [types_1.CompoundVersions.CompoundV3USDCe]: EMPTY_BULKER_OPTIONS,
26
27
  [types_1.CompoundVersions.CompoundV3USDbC]: EMPTY_BULKER_OPTIONS,
27
- [types_1.CompoundVersions.CompoundV3USDT]: EMPTY_BULKER_OPTIONS,
28
28
  },
29
29
  [common_1.NetworkNumber.Arb]: {
30
30
  [types_1.CompoundVersions.CompoundV3USDC]: STANDARD_BULKER_OPTIONS,
@@ -134,7 +134,7 @@ const COMPOUND_V3_USDBC = (networkId) => ({
134
134
  });
135
135
  exports.COMPOUND_V3_USDBC = COMPOUND_V3_USDBC;
136
136
  const COMPOUND_V3_USDT = (networkId) => ({
137
- chainIds: [common_1.NetworkNumber.Arb, common_1.NetworkNumber.Opt],
137
+ chainIds: [common_1.NetworkNumber.Eth, common_1.NetworkNumber.Arb, common_1.NetworkNumber.Opt],
138
138
  label: 'Compound V3 - USDT',
139
139
  shortLabel: 'v3',
140
140
  value: types_1.CompoundVersions.CompoundV3USDT,
@@ -143,8 +143,8 @@ const COMPOUND_V3_USDT = (networkId) => ({
143
143
  baseMarket: 'cUSDTv3',
144
144
  baseMarketAddress: (0, contracts_1.getConfigContractAddress)('cUSDTv3', networkId),
145
145
  secondLabel: 'Market',
146
- bulkerName: 'CompV3BulkerL2',
147
- bulkerAddress: (0, contracts_1.getConfigContractAddress)('CompV3BulkerL2', networkId),
146
+ bulkerName: networkId === common_1.NetworkNumber.Eth ? 'CompV3BulkerMainnetETH' : 'CompV3BulkerL2',
147
+ bulkerAddress: (0, contracts_1.getConfigContractAddress)(networkId === common_1.NetworkNumber.Eth ? 'CompV3BulkerMainnetETH' : 'CompV3BulkerL2', networkId),
148
148
  bulkerOptions: BULKER_OPTIONS[networkId][types_1.CompoundVersions.CompoundV3USDT],
149
149
  // icon: SvgAdapter(protocolIcons.compoundv3),
150
150
  });
@@ -32,10 +32,11 @@ export declare const v3USDbCCollAssets: {
32
32
  42161: never[];
33
33
  8453: string[];
34
34
  };
35
+ export declare const v3USDTCollAssetsEth: string[];
35
36
  export declare const v3USDTCollAssetsArb: string[];
36
37
  export declare const v3USDTCollAssetsOpt: string[];
37
38
  export declare const v3USDTCollAssets: {
38
- 1: never[];
39
+ 1: string[];
39
40
  10: string[];
40
41
  42161: string[];
41
42
  8453: never[];
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.v3USDTCollAssets = exports.v3USDTCollAssetsOpt = exports.v3USDTCollAssetsArb = exports.v3USDbCCollAssets = exports.v3USDbCCollAssetsBase = exports.v3ETHCollAssets = exports.v3ETHCollAssetsArb = exports.v3ETHCollAssetsBase = exports.v3ETHCollAssetsEth = exports.v3USDCeCollAssets = exports.v3USDCeCollAssetsArb = exports.v3USDCCollAssets = exports.v3USDCCollAssetsOpt = exports.v3USDCCollAssetsBase = exports.v3USDCCollAssetsArb = exports.v3USDCCollAssetsEth = exports.compoundV2CollateralAssets = void 0;
3
+ exports.v3USDTCollAssets = exports.v3USDTCollAssetsOpt = exports.v3USDTCollAssetsArb = exports.v3USDTCollAssetsEth = exports.v3USDbCCollAssets = exports.v3USDbCCollAssetsBase = exports.v3ETHCollAssets = exports.v3ETHCollAssetsArb = exports.v3ETHCollAssetsBase = exports.v3ETHCollAssetsEth = exports.v3USDCeCollAssets = exports.v3USDCeCollAssetsArb = exports.v3USDCCollAssets = exports.v3USDCCollAssetsOpt = exports.v3USDCCollAssetsBase = exports.v3USDCCollAssetsArb = exports.v3USDCCollAssetsEth = exports.compoundV2CollateralAssets = void 0;
4
4
  const tokens_1 = require("@defisaver/tokens");
5
5
  const common_1 = require("../../types/common");
6
6
  exports.compoundV2CollateralAssets = [
@@ -26,7 +26,7 @@ exports.v3USDCeCollAssets = {
26
26
  [common_1.NetworkNumber.Arb]: exports.v3USDCeCollAssetsArb,
27
27
  [common_1.NetworkNumber.Base]: [],
28
28
  };
29
- exports.v3ETHCollAssetsEth = ['cbETH', 'wstETH', 'rETH', 'rsETH', 'weETH', 'osETH'];
29
+ exports.v3ETHCollAssetsEth = ['cbETH', 'wstETH', 'rETH', 'rsETH', 'weETH', 'osETH', 'WBTC', 'ezETH'];
30
30
  exports.v3ETHCollAssetsBase = ['cbETH'];
31
31
  exports.v3ETHCollAssetsArb = ['weETH', 'rETH', 'wstETH'];
32
32
  // @dev Keep assets in array, do not assign directly, so we can parse it and edit it programmatically with `scripts/updateMarkets`
@@ -44,11 +44,12 @@ exports.v3USDbCCollAssets = {
44
44
  [common_1.NetworkNumber.Arb]: [],
45
45
  [common_1.NetworkNumber.Base]: exports.v3USDbCCollAssetsBase,
46
46
  };
47
+ exports.v3USDTCollAssetsEth = ['ETH', 'WBTC', 'wstETH', 'COMP', 'UNI', 'LINK'];
47
48
  exports.v3USDTCollAssetsArb = ['ETH', 'WBTC', 'wstETH', 'ARB', 'GMX'];
48
49
  exports.v3USDTCollAssetsOpt = ['ETH', 'WBTC', 'OP'];
49
50
  // @dev Keep assets in array, do not assign directly, so we can parse it and edit it programmatically with `scripts/updateMarkets`
50
51
  exports.v3USDTCollAssets = {
51
- [common_1.NetworkNumber.Eth]: [],
52
+ [common_1.NetworkNumber.Eth]: exports.v3USDTCollAssetsEth,
52
53
  [common_1.NetworkNumber.Opt]: exports.v3USDTCollAssetsOpt,
53
54
  [common_1.NetworkNumber.Arb]: exports.v3USDTCollAssetsArb,
54
55
  [common_1.NetworkNumber.Base]: [],
@@ -1727,6 +1727,9 @@ export namespace cUSDTv3 {
1727
1727
  })[];
1728
1728
  export { abi_17 as abi };
1729
1729
  let networks_17: {
1730
+ "1": {
1731
+ address: string;
1732
+ };
1730
1733
  "10": {
1731
1734
  address: string;
1732
1735
  };
@@ -307,6 +307,9 @@ module.exports = {
307
307
  "cUSDTv3": {
308
308
  "abi": [{ "inputs": [{ "internalType": "address", "name": "_logic", "type": "address" }, { "internalType": "address", "name": "admin_", "type": "address" }, { "internalType": "bytes", "name": "_data", "type": "bytes" }], "stateMutability": "payable", "type": "constructor" }, { "anonymous": false, "inputs": [{ "indexed": false, "internalType": "address", "name": "previousAdmin", "type": "address" }, { "indexed": false, "internalType": "address", "name": "newAdmin", "type": "address" }], "name": "AdminChanged", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": true, "internalType": "address", "name": "beacon", "type": "address" }], "name": "BeaconUpgraded", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": true, "internalType": "address", "name": "implementation", "type": "address" }], "name": "Upgraded", "type": "event" }, { "stateMutability": "payable", "type": "fallback" }, { "inputs": [], "name": "admin", "outputs": [{ "internalType": "address", "name": "admin_", "type": "address" }], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "newAdmin", "type": "address" }], "name": "changeAdmin", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "implementation", "outputs": [{ "internalType": "address", "name": "implementation_", "type": "address" }], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "newImplementation", "type": "address" }], "name": "upgradeTo", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "newImplementation", "type": "address" }, { "internalType": "bytes", "name": "data", "type": "bytes" }], "name": "upgradeToAndCall", "outputs": [], "stateMutability": "payable", "type": "function" }, { "stateMutability": "payable", "type": "receive" }],
309
309
  "networks": {
310
+ "1": {
311
+ "address": "0x3Afdc9BCA9213A35503b077a6072F3D0d5AB0840"
312
+ },
310
313
  "10": {
311
314
  "address": "0x995E394b8B2437aC8Ce61Ee0bC610D617962B214"
312
315
  },
@@ -9,7 +9,7 @@ export const aaveV3AssetsDefaultMarketOpt = [
9
9
  'DAI', 'USDC.e', 'USDT', 'SUSD', 'AAVE', 'LINK', 'WBTC', 'ETH', 'OP', 'wstETH', 'LUSD', 'MAI', 'rETH', 'USDC',
10
10
  ];
11
11
  export const aaveV3AssetsDefaultMarketArb = [
12
- 'ETH', 'DAI', 'EURS', 'USDC', 'USDT', 'AAVE', 'LINK', 'WBTC', 'wstETH', 'MAI', 'rETH', 'LUSD', 'USDC.e', 'FRAX', 'ARB', 'weETH',
12
+ 'ETH', 'DAI', 'EURS', 'USDC', 'USDT', 'AAVE', 'LINK', 'WBTC', 'wstETH', 'MAI', 'rETH', 'LUSD', 'USDC.e', 'FRAX', 'ARB', 'weETH', 'GHO',
13
13
  ];
14
14
  export const aaveV3AssetsDefaultMarketBase = ['ETH', 'cbETH', 'USDbC', 'wstETH', 'USDC', 'weETH'];
15
15
  // @dev Keep assets in array, do not assign directly, so we can parse it and edit it programmatically with `scripts/updateMarkets`
@@ -12,11 +12,11 @@ const BULKER_OPTIONS = {
12
12
  [NetworkNumber.Eth]: {
13
13
  [CompoundVersions.CompoundV3USDC]: { supply: 2, withdraw: 5 },
14
14
  [CompoundVersions.CompoundV3ETH]: STANDARD_BULKER_OPTIONS,
15
+ [CompoundVersions.CompoundV3USDT]: STANDARD_BULKER_OPTIONS,
15
16
  // Non-existing markets, keeping it because of typescript
16
17
  [CompoundVersions.CompoundV2]: EMPTY_BULKER_OPTIONS,
17
18
  [CompoundVersions.CompoundV3USDCe]: EMPTY_BULKER_OPTIONS,
18
19
  [CompoundVersions.CompoundV3USDbC]: EMPTY_BULKER_OPTIONS,
19
- [CompoundVersions.CompoundV3USDT]: EMPTY_BULKER_OPTIONS,
20
20
  },
21
21
  [NetworkNumber.Arb]: {
22
22
  [CompoundVersions.CompoundV3USDC]: STANDARD_BULKER_OPTIONS,
@@ -122,7 +122,7 @@ export const COMPOUND_V3_USDBC = (networkId) => ({
122
122
  // icon: SvgAdapter(protocolIcons.compoundv3),
123
123
  });
124
124
  export const COMPOUND_V3_USDT = (networkId) => ({
125
- chainIds: [NetworkNumber.Arb, NetworkNumber.Opt],
125
+ chainIds: [NetworkNumber.Eth, NetworkNumber.Arb, NetworkNumber.Opt],
126
126
  label: 'Compound V3 - USDT',
127
127
  shortLabel: 'v3',
128
128
  value: CompoundVersions.CompoundV3USDT,
@@ -131,8 +131,8 @@ export const COMPOUND_V3_USDT = (networkId) => ({
131
131
  baseMarket: 'cUSDTv3',
132
132
  baseMarketAddress: getConfigContractAddress('cUSDTv3', networkId),
133
133
  secondLabel: 'Market',
134
- bulkerName: 'CompV3BulkerL2',
135
- bulkerAddress: getConfigContractAddress('CompV3BulkerL2', networkId),
134
+ bulkerName: networkId === NetworkNumber.Eth ? 'CompV3BulkerMainnetETH' : 'CompV3BulkerL2',
135
+ bulkerAddress: getConfigContractAddress(networkId === NetworkNumber.Eth ? 'CompV3BulkerMainnetETH' : 'CompV3BulkerL2', networkId),
136
136
  bulkerOptions: BULKER_OPTIONS[networkId][CompoundVersions.CompoundV3USDT],
137
137
  // icon: SvgAdapter(protocolIcons.compoundv3),
138
138
  });
@@ -32,10 +32,11 @@ export declare const v3USDbCCollAssets: {
32
32
  42161: never[];
33
33
  8453: string[];
34
34
  };
35
+ export declare const v3USDTCollAssetsEth: string[];
35
36
  export declare const v3USDTCollAssetsArb: string[];
36
37
  export declare const v3USDTCollAssetsOpt: string[];
37
38
  export declare const v3USDTCollAssets: {
38
- 1: never[];
39
+ 1: string[];
39
40
  10: string[];
40
41
  42161: string[];
41
42
  8453: never[];
@@ -23,7 +23,7 @@ export const v3USDCeCollAssets = {
23
23
  [NetworkNumber.Arb]: v3USDCeCollAssetsArb,
24
24
  [NetworkNumber.Base]: [],
25
25
  };
26
- export const v3ETHCollAssetsEth = ['cbETH', 'wstETH', 'rETH', 'rsETH', 'weETH', 'osETH'];
26
+ export const v3ETHCollAssetsEth = ['cbETH', 'wstETH', 'rETH', 'rsETH', 'weETH', 'osETH', 'WBTC', 'ezETH'];
27
27
  export const v3ETHCollAssetsBase = ['cbETH'];
28
28
  export const v3ETHCollAssetsArb = ['weETH', 'rETH', 'wstETH'];
29
29
  // @dev Keep assets in array, do not assign directly, so we can parse it and edit it programmatically with `scripts/updateMarkets`
@@ -41,11 +41,12 @@ export const v3USDbCCollAssets = {
41
41
  [NetworkNumber.Arb]: [],
42
42
  [NetworkNumber.Base]: v3USDbCCollAssetsBase,
43
43
  };
44
+ export const v3USDTCollAssetsEth = ['ETH', 'WBTC', 'wstETH', 'COMP', 'UNI', 'LINK'];
44
45
  export const v3USDTCollAssetsArb = ['ETH', 'WBTC', 'wstETH', 'ARB', 'GMX'];
45
46
  export const v3USDTCollAssetsOpt = ['ETH', 'WBTC', 'OP'];
46
47
  // @dev Keep assets in array, do not assign directly, so we can parse it and edit it programmatically with `scripts/updateMarkets`
47
48
  export const v3USDTCollAssets = {
48
- [NetworkNumber.Eth]: [],
49
+ [NetworkNumber.Eth]: v3USDTCollAssetsEth,
49
50
  [NetworkNumber.Opt]: v3USDTCollAssetsOpt,
50
51
  [NetworkNumber.Arb]: v3USDTCollAssetsArb,
51
52
  [NetworkNumber.Base]: [],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@defisaver/positions-sdk",
3
- "version": "0.0.107",
3
+ "version": "0.0.109",
4
4
  "description": "",
5
5
  "main": "./cjs/index.js",
6
6
  "module": "./esm/index.js",
@@ -308,6 +308,9 @@ module.exports = {
308
308
  "cUSDTv3": {
309
309
  "abi": [{"inputs":[{"internalType":"address","name":"_logic","type":"address"},{"internalType":"address","name":"admin_","type":"address"},{"internalType":"bytes","name":"_data","type":"bytes"}],"stateMutability":"payable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"previousAdmin","type":"address"},{"indexed":false,"internalType":"address","name":"newAdmin","type":"address"}],"name":"AdminChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"beacon","type":"address"}],"name":"BeaconUpgraded","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"implementation","type":"address"}],"name":"Upgraded","type":"event"},{"stateMutability":"payable","type":"fallback"},{"inputs":[],"name":"admin","outputs":[{"internalType":"address","name":"admin_","type":"address"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newAdmin","type":"address"}],"name":"changeAdmin","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"implementation","outputs":[{"internalType":"address","name":"implementation_","type":"address"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newImplementation","type":"address"}],"name":"upgradeTo","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newImplementation","type":"address"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"upgradeToAndCall","outputs":[],"stateMutability":"payable","type":"function"},{"stateMutability":"payable","type":"receive"}],
310
310
  "networks": {
311
+ "1": {
312
+ "address": "0x3Afdc9BCA9213A35503b077a6072F3D0d5AB0840"
313
+ },
311
314
  "10": {
312
315
  "address": "0x995E394b8B2437aC8Ce61Ee0bC610D617962B214"
313
316
  },
@@ -12,7 +12,7 @@ export const aaveV3AssetsDefaultMarketOpt = [
12
12
  'DAI', 'USDC.e', 'USDT', 'SUSD', 'AAVE', 'LINK', 'WBTC', 'ETH', 'OP', 'wstETH', 'LUSD', 'MAI', 'rETH', 'USDC',
13
13
  ];
14
14
  export const aaveV3AssetsDefaultMarketArb = [
15
- 'ETH', 'DAI', 'EURS', 'USDC', 'USDT', 'AAVE', 'LINK', 'WBTC', 'wstETH', 'MAI', 'rETH', 'LUSD', 'USDC.e', 'FRAX', 'ARB', 'weETH',
15
+ 'ETH', 'DAI', 'EURS', 'USDC', 'USDT', 'AAVE', 'LINK', 'WBTC', 'wstETH', 'MAI', 'rETH', 'LUSD', 'USDC.e', 'FRAX', 'ARB', 'weETH', 'GHO',
16
16
  ];
17
17
  export const aaveV3AssetsDefaultMarketBase = ['ETH', 'cbETH', 'USDbC', 'wstETH', 'USDC', 'weETH'];
18
18
 
@@ -30,12 +30,12 @@ const BULKER_OPTIONS: Record<NetworkNumber, Record<CompoundVersions, CompoundBul
30
30
  [NetworkNumber.Eth]: {
31
31
  [CompoundVersions.CompoundV3USDC]: { supply: 2, withdraw: 5 },
32
32
  [CompoundVersions.CompoundV3ETH]: STANDARD_BULKER_OPTIONS,
33
+ [CompoundVersions.CompoundV3USDT]: STANDARD_BULKER_OPTIONS,
33
34
 
34
35
  // Non-existing markets, keeping it because of typescript
35
36
  [CompoundVersions.CompoundV2]: EMPTY_BULKER_OPTIONS,
36
37
  [CompoundVersions.CompoundV3USDCe]: EMPTY_BULKER_OPTIONS,
37
38
  [CompoundVersions.CompoundV3USDbC]: EMPTY_BULKER_OPTIONS,
38
- [CompoundVersions.CompoundV3USDT]: EMPTY_BULKER_OPTIONS,
39
39
  },
40
40
  [NetworkNumber.Arb]: {
41
41
  [CompoundVersions.CompoundV3USDC]: STANDARD_BULKER_OPTIONS,
@@ -149,7 +149,7 @@ export const COMPOUND_V3_USDBC = (networkId: NetworkNumber): CompoundMarketData
149
149
  });
150
150
 
151
151
  export const COMPOUND_V3_USDT = (networkId: NetworkNumber): CompoundMarketData => ({
152
- chainIds: [NetworkNumber.Arb, NetworkNumber.Opt],
152
+ chainIds: [NetworkNumber.Eth, NetworkNumber.Arb, NetworkNumber.Opt],
153
153
  label: 'Compound V3 - USDT',
154
154
  shortLabel: 'v3',
155
155
  value: CompoundVersions.CompoundV3USDT,
@@ -158,8 +158,8 @@ export const COMPOUND_V3_USDT = (networkId: NetworkNumber): CompoundMarketData =
158
158
  baseMarket: 'cUSDTv3',
159
159
  baseMarketAddress: getConfigContractAddress('cUSDTv3', networkId),
160
160
  secondLabel: 'Market',
161
- bulkerName: 'CompV3BulkerL2',
162
- bulkerAddress: getConfigContractAddress('CompV3BulkerL2', networkId),
161
+ bulkerName: networkId === NetworkNumber.Eth ? 'CompV3BulkerMainnetETH' : 'CompV3BulkerL2',
162
+ bulkerAddress: getConfigContractAddress(networkId === NetworkNumber.Eth ? 'CompV3BulkerMainnetETH' : 'CompV3BulkerL2', networkId),
163
163
  bulkerOptions: BULKER_OPTIONS[networkId][CompoundVersions.CompoundV3USDT],
164
164
  // icon: SvgAdapter(protocolIcons.compoundv3),
165
165
  });
@@ -29,7 +29,7 @@ export const v3USDCeCollAssets = {
29
29
  [NetworkNumber.Base]: [],
30
30
  } as const;
31
31
 
32
- export const v3ETHCollAssetsEth = ['cbETH', 'wstETH', 'rETH', 'rsETH', 'weETH', 'osETH'];
32
+ export const v3ETHCollAssetsEth = ['cbETH', 'wstETH', 'rETH', 'rsETH', 'weETH', 'osETH', 'WBTC', 'ezETH'];
33
33
  export const v3ETHCollAssetsBase = ['cbETH'];
34
34
  export const v3ETHCollAssetsArb = ['weETH', 'rETH', 'wstETH'];
35
35
 
@@ -51,12 +51,13 @@ export const v3USDbCCollAssets = {
51
51
  [NetworkNumber.Base]: v3USDbCCollAssetsBase,
52
52
  };
53
53
 
54
+ export const v3USDTCollAssetsEth = ['ETH', 'WBTC', 'wstETH', 'COMP', 'UNI', 'LINK'];
54
55
  export const v3USDTCollAssetsArb = ['ETH', 'WBTC', 'wstETH', 'ARB', 'GMX'];
55
56
  export const v3USDTCollAssetsOpt = ['ETH', 'WBTC', 'OP'];
56
57
 
57
58
  // @dev Keep assets in array, do not assign directly, so we can parse it and edit it programmatically with `scripts/updateMarkets`
58
59
  export const v3USDTCollAssets = {
59
- [NetworkNumber.Eth]: [],
60
+ [NetworkNumber.Eth]: v3USDTCollAssetsEth,
60
61
  [NetworkNumber.Opt]: v3USDTCollAssetsOpt,
61
62
  [NetworkNumber.Arb]: v3USDTCollAssetsArb,
62
63
  [NetworkNumber.Base]: [],