File tree Expand file tree Collapse file tree 22 files changed +260
-0
lines changed
0x03157b7411956c938c497a28d3d2efdc2761a6f659a0397b29285766f7b9bc0c
0x10b401f4254a7039b7168c5a614c81ea8be698186cfb33aa56ac2adbcf0e88f9
0x147390b94333d30c4bd51c8e79e8f90f6e827e3ea97ecbfe2dc52a1ea67aa008
0x3bdb58058b41bb700458ba3df317e254244ddec7fc35fec93d2d53475cc6ebdc
0x4005ba6eb7d2221fe58102bd320aa6d83c47b212771bc950ab71c5074d9ab0ec
0x544b0a093b130a3fb01b72a1279ab848575f049c73da3b5c9c718f9350a1519c
0x60154d71ec96b7aee2864326662cb731172f1ebd6ca0e64af9bc8659831ed0ff
0x729badf297ee9f2f6b3f717b96fd355fc6ec00422284ce1968e76647b258cf44
0x83e10b446f0f2013bb5417fbab8de0371808da605d9d88bdd3ad9de4e7303048
0x8a71a66ac828c2b6d4f8accce5859aba0822b502f3833bec4aff09479affffdb
0x8b1bc4d682b04a16309a8adf77b35de0c42063a7944016cfc37a79ccac0007b6
0x9df0fc9073632db5926b92f024165289b4ee4a9f8521dd6d3460f3544fe9770f
0xa3819a7d2aee958ca0e7404137d012b51ea47d051db69d94656956eff8c80c23
0xbc552f0b14dd6f8e60b760a534ac1d8613d3539153b4d9675d697e048f2edc7e
0xcc611d3ca8ce8dcc63e4e8c3cd17c9acb2ca1768eeb143b71e2dc8e6a98c3f65
0xe0800b3f305b167e65738adc54e03d48c7bf4fb03af2734b4a72034852ba4a7a
0xe61a903174169e4897669e9bc4419eb7582b36d1a3d3df633dccab88da6e2ccd
0xf9e56386e74f06af6099340525788eec624fd9c0fc0ad9a647702d3f75e3b6a9
0xfae6c3fca4d2fe61c62d29541e84a728b660a0dbc99217750c1080a8fc7d0e45
0x777791C4d6DC2CE140D00D2828a7C93503c67777
0x888883f0eDDF69Ca4BfD00Af93714Ff97F188888 Expand file tree Collapse file tree 22 files changed +260
-0
lines changed Original file line number Diff line number Diff line change 11# morpho-list
2+
3+ A CLI tool for managing Morpho vaults and markets.
4+
5+ ## Installation
6+
7+ ``` bash
8+ yarn install
9+ ```
10+
11+ ## Usage
12+
13+ ### Adding a Vault
14+
15+ To add a vault to the list, use the following command:
16+
17+ ``` bash
18+ yarn tsx cli.ts add vault < chain> < vault-address>
19+ ```
20+
21+ Example:
22+ ``` bash
23+ yarn tsx cli.ts add vault ethereum 0x777791C4d6DC2CE140D00D2828a7C93503c67777
24+ ```
25+
26+ This command will:
27+ 1 . Fetch the vault configuration from the blockchain
28+ 2 . Retrieve all associated markets for the vault
29+ 3 . Add any new markets to the local configuration
30+ 4 . Save the vault and market data
31+
32+ Note: If a market already exists, the CLI will notify you. Use ` --force ` flag to overwrite existing markets if needed.
Original file line number Diff line number Diff line change 1+ {
2+ "chainId" : 1 ,
3+ "marketId" : " 0x03157b7411956c938c497a28d3d2efdc2761a6f659a0397b29285766f7b9bc0c" ,
4+ "collateralTokenAddress" : " 0x699e04f98de2fc395a7dcbf36b48ec837a976490" ,
5+ "loanTokenAddress" : " 0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48" ,
6+ "oracleAddress" : " 0x2be2ed266ace03009bf613f9100420fd2f56be75" ,
7+ "irmAddress" : " 0x870ac11d48b15db9a138cf899d20f13f79ba00bc" ,
8+ "lltvPercent" : " 915000000000000000" ,
9+ "liquidationPenalty" : " 1026167265264238070" ,
10+ "enabled" : true
11+ }
Original file line number Diff line number Diff line change 1+ {
2+ "chainId" : 1 ,
3+ "marketId" : " 0x10b401f4254a7039b7168c5a614c81ea8be698186cfb33aa56ac2adbcf0e88f9" ,
4+ "collateralTokenAddress" : " 0xf736acf34ff7cd9b3565b73a1f15e652859bf322" ,
5+ "loanTokenAddress" : " 0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48" ,
6+ "oracleAddress" : " 0x2f9ceb1663be430218a151d20ce805acac968c97" ,
7+ "irmAddress" : " 0x870ac11d48b15db9a138cf899d20f13f79ba00bc" ,
8+ "lltvPercent" : " 915000000000000000" ,
9+ "liquidationPenalty" : " 1026167265264238070" ,
10+ "enabled" : true
11+ }
Original file line number Diff line number Diff line change 1+ {
2+ "chainId" : 1 ,
3+ "marketId" : " 0x147390b94333d30c4bd51c8e79e8f90f6e827e3ea97ecbfe2dc52a1ea67aa008" ,
4+ "collateralTokenAddress" : " 0xa28194de3de7166ee81c2e13c864b9c7cca1b8ef" ,
5+ "loanTokenAddress" : " 0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48" ,
6+ "oracleAddress" : " 0x75a7c9fde77ad4c70ab5e9a0a020d8e9064a64f0" ,
7+ "irmAddress" : " 0x870ac11d48b15db9a138cf899d20f13f79ba00bc" ,
8+ "lltvPercent" : " 915000000000000000" ,
9+ "liquidationPenalty" : " 1026167265264238070" ,
10+ "enabled" : true
11+ }
Original file line number Diff line number Diff line change 1+ {
2+ "chainId" : 1 ,
3+ "marketId" : " 0x3bdb58058b41bb700458ba3df317e254244ddec7fc35fec93d2d53475cc6ebdc" ,
4+ "collateralTokenAddress" : " 0xcce7d12f683c6dae700154f0badf779c0ba1f89a" ,
5+ "loanTokenAddress" : " 0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48" ,
6+ "oracleAddress" : " 0x3b74c5fd1005cd98f349d5d9df78ec8b15131fa5" ,
7+ "irmAddress" : " 0x870ac11d48b15db9a138cf899d20f13f79ba00bc" ,
8+ "lltvPercent" : " 915000000000000000" ,
9+ "liquidationPenalty" : " 1026167265264238070" ,
10+ "enabled" : true
11+ }
Original file line number Diff line number Diff line change 1+ {
2+ "chainId" : 1 ,
3+ "marketId" : " 0x4005ba6eb7d2221fe58102bd320aa6d83c47b212771bc950ab71c5074d9ab0ec" ,
4+ "collateralTokenAddress" : " 0x2ca5f2c4300450d53214b00546795c1c07b89acb" ,
5+ "loanTokenAddress" : " 0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48" ,
6+ "oracleAddress" : " 0x2c459ab29db32671029725168043d563580217b4" ,
7+ "irmAddress" : " 0x870ac11d48b15db9a138cf899d20f13f79ba00bc" ,
8+ "lltvPercent" : " 915000000000000000" ,
9+ "liquidationPenalty" : " 1026167265264238070" ,
10+ "enabled" : true
11+ }
Original file line number Diff line number Diff line change 1+ {
2+ "chainId" : 1 ,
3+ "marketId" : " 0x544b0a093b130a3fb01b72a1279ab848575f049c73da3b5c9c718f9350a1519c" ,
4+ "collateralTokenAddress" : " 0xf10a134a987e22ffa9463570a6d1eb92a63fc178" ,
5+ "loanTokenAddress" : " 0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48" ,
6+ "oracleAddress" : " 0xb54673451c1e5fd5cd97763954a6fb843a5f8e47" ,
7+ "irmAddress" : " 0x870ac11d48b15db9a138cf899d20f13f79ba00bc" ,
8+ "lltvPercent" : " 915000000000000000" ,
9+ "liquidationPenalty" : " 1026167265264238070" ,
10+ "enabled" : true
11+ }
Original file line number Diff line number Diff line change 1+ {
2+ "chainId" : 1 ,
3+ "marketId" : " 0x60154d71ec96b7aee2864326662cb731172f1ebd6ca0e64af9bc8659831ed0ff" ,
4+ "collateralTokenAddress" : " 0x19ebd191f7a24ece672ba13a302212b5ef7f35cb" ,
5+ "loanTokenAddress" : " 0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48" ,
6+ "oracleAddress" : " 0x87a45c3a7a5f10d5a02531ef26c3bc2bc2011083" ,
7+ "irmAddress" : " 0x870ac11d48b15db9a138cf899d20f13f79ba00bc" ,
8+ "lltvPercent" : " 915000000000000000" ,
9+ "liquidationPenalty" : " 1026167265264238070" ,
10+ "enabled" : true
11+ }
Original file line number Diff line number Diff line change 1+ {
2+ "chainId" : 1 ,
3+ "marketId" : " 0x729badf297ee9f2f6b3f717b96fd355fc6ec00422284ce1968e76647b258cf44" ,
4+ "collateralTokenAddress" : " 0x80ac24aa929eaf5013f6436cda2a7ba190f5cc0b" ,
5+ "loanTokenAddress" : " 0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48" ,
6+ "oracleAddress" : " 0x80032f4cb6e3573b9ed61e888af658e48fb790cc" ,
7+ "irmAddress" : " 0x870ac11d48b15db9a138cf899d20f13f79ba00bc" ,
8+ "lltvPercent" : " 915000000000000000" ,
9+ "liquidationPenalty" : " 1026167265264238070" ,
10+ "enabled" : true
11+ }
Original file line number Diff line number Diff line change 1+ {
2+ "chainId" : 1 ,
3+ "marketId" : " 0x83e10b446f0f2013bb5417fbab8de0371808da605d9d88bdd3ad9de4e7303048" ,
4+ "collateralTokenAddress" : " 0x3b3fb9c57858ef816833dc91565efcd85d96f634" ,
5+ "loanTokenAddress" : " 0xdac17f958d2ee523a2206206994597c13d831ec7" ,
6+ "oracleAddress" : " 0x1376913337cec523b4ddead8a60edb1fa43ff1e3" ,
7+ "irmAddress" : " 0x870ac11d48b15db9a138cf899d20f13f79ba00bc" ,
8+ "lltvPercent" : " 945000000000000000" ,
9+ "liquidationPenalty" : " 1016776817488561260" ,
10+ "enabled" : true
11+ }
You can’t perform that action at this time.
0 commit comments