@morpho-org/morpho-test 2.0.0-next.16 → 2.0.0-next.18
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/lib/fixtures/vaults.d.ts
CHANGED
|
@@ -2,6 +2,7 @@ import { type InputVaultConfig, VaultConfig } from "@morpho-org/blue-sdk";
|
|
|
2
2
|
export declare const vaults: {
|
|
3
3
|
readonly 1: {
|
|
4
4
|
readonly steakUsdc: VaultConfig;
|
|
5
|
+
readonly steakEth: VaultConfig;
|
|
5
6
|
readonly bbUsdc: VaultConfig;
|
|
6
7
|
readonly bbEth: VaultConfig;
|
|
7
8
|
readonly bbUsdt: VaultConfig;
|
package/lib/fixtures/vaults.js
CHANGED
|
@@ -8,15 +8,20 @@ exports.vaults = {
|
|
|
8
8
|
[blue_sdk_1.ChainId.EthMainnet]: {
|
|
9
9
|
steakUsdc: new blue_sdk_1.VaultConfig({
|
|
10
10
|
address: "0xBEEF01735c132Ada46AA9aA4c54623cAA92A64CB",
|
|
11
|
-
decimals: 18,
|
|
12
11
|
decimalsOffset: 12n,
|
|
13
12
|
symbol: "steakUSDC",
|
|
14
13
|
name: "Steakhouse USDC",
|
|
15
14
|
asset: usdc,
|
|
16
15
|
}, blue_sdk_1.ChainId.EthMainnet),
|
|
16
|
+
steakEth: new blue_sdk_1.VaultConfig({
|
|
17
|
+
address: "0xBEEf050ecd6a16c4e7bfFbB52Ebba7846C4b8cD4",
|
|
18
|
+
asset: wNative,
|
|
19
|
+
name: "Steakhouse ETH",
|
|
20
|
+
decimalsOffset: 0,
|
|
21
|
+
symbol: "steakETH",
|
|
22
|
+
}),
|
|
17
23
|
bbUsdc: new blue_sdk_1.VaultConfig({
|
|
18
24
|
address: "0x186514400e52270cef3D80e1c6F8d10A75d47344",
|
|
19
|
-
decimals: 18,
|
|
20
25
|
decimalsOffset: 12n,
|
|
21
26
|
symbol: "bbUSDC",
|
|
22
27
|
name: "BlockAnalytica USDC",
|
|
@@ -24,7 +29,6 @@ exports.vaults = {
|
|
|
24
29
|
}, blue_sdk_1.ChainId.EthMainnet),
|
|
25
30
|
bbEth: new blue_sdk_1.VaultConfig({
|
|
26
31
|
address: "0x38989BBA00BDF8181F4082995b3DEAe96163aC5D",
|
|
27
|
-
decimals: 18,
|
|
28
32
|
decimalsOffset: 0n,
|
|
29
33
|
symbol: "bbETH",
|
|
30
34
|
name: "BlockAnalytica ETH",
|
|
@@ -32,7 +36,6 @@ exports.vaults = {
|
|
|
32
36
|
}, blue_sdk_1.ChainId.EthMainnet),
|
|
33
37
|
bbUsdt: new blue_sdk_1.VaultConfig({
|
|
34
38
|
address: "0x2C25f6C25770fFEC5959D34B94Bf898865e5D6b1",
|
|
35
|
-
decimals: 18,
|
|
36
39
|
decimalsOffset: 12n,
|
|
37
40
|
symbol: "bbUSDT",
|
|
38
41
|
name: "BlockAnalytica USDT",
|
|
@@ -40,7 +43,6 @@ exports.vaults = {
|
|
|
40
43
|
}, blue_sdk_1.ChainId.EthMainnet),
|
|
41
44
|
re7Weth: new blue_sdk_1.VaultConfig({
|
|
42
45
|
address: "0x78Fc2c2eD1A4cDb5402365934aE5648aDAd094d0",
|
|
43
|
-
decimals: 18,
|
|
44
46
|
decimalsOffset: 0n,
|
|
45
47
|
symbol: "re7WETH",
|
|
46
48
|
name: "Re7 WETH",
|
|
@@ -50,7 +52,6 @@ exports.vaults = {
|
|
|
50
52
|
};
|
|
51
53
|
const randomVault = (config = {}) => new blue_sdk_1.VaultConfig({
|
|
52
54
|
asset: (0, test_1.randomAddress)(),
|
|
53
|
-
decimals: 18,
|
|
54
55
|
decimalsOffset: 0n,
|
|
55
56
|
symbol: "TEST",
|
|
56
57
|
name: "Test vault",
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@morpho-org/morpho-test",
|
|
3
3
|
"description": "Framework-agnostic extension of `@morpho-org/blue-sdk` that exports test fixtures useful for E2E tests on forks.",
|
|
4
|
-
"version": "2.0.0-next.
|
|
4
|
+
"version": "2.0.0-next.18",
|
|
5
5
|
"author": "Morpho Association <contact@morpho.org>",
|
|
6
6
|
"contributors": [
|
|
7
7
|
"Rubilmax <rmilon@gmail.com>"
|
|
@@ -19,17 +19,17 @@
|
|
|
19
19
|
"license": "MIT",
|
|
20
20
|
"peerDependencies": {
|
|
21
21
|
"viem": "^2.21.10",
|
|
22
|
-
"@morpho-org/
|
|
23
|
-
"@morpho-org/
|
|
24
|
-
"@morpho-org/test": "^2.0.0-next.
|
|
22
|
+
"@morpho-org/morpho-ts": "^2.0.0-next.15",
|
|
23
|
+
"@morpho-org/blue-sdk": "^2.0.0-next.29",
|
|
24
|
+
"@morpho-org/test": "^2.0.0-next.23"
|
|
25
25
|
},
|
|
26
26
|
"devDependencies": {
|
|
27
27
|
"@types/node": "^22.9.3",
|
|
28
|
-
"typescript": "^5.
|
|
29
|
-
"viem": "^2.21.
|
|
30
|
-
"@morpho-org/blue-sdk": "^2.0.0-next.
|
|
31
|
-
"@morpho-org/morpho-ts": "^2.0.0-next.
|
|
32
|
-
"@morpho-org/test": "^2.0.0-next.
|
|
28
|
+
"typescript": "^5.7.2",
|
|
29
|
+
"viem": "^2.21.53",
|
|
30
|
+
"@morpho-org/blue-sdk": "^2.0.0-next.29",
|
|
31
|
+
"@morpho-org/morpho-ts": "^2.0.0-next.15",
|
|
32
|
+
"@morpho-org/test": "^2.0.0-next.23"
|
|
33
33
|
},
|
|
34
34
|
"scripts": {
|
|
35
35
|
"prepublish": "$npm_execpath build",
|