Skip to content

Commit

Permalink
Merge pull request #12 from euler-xyz/feat/stable-coin-maxi
Browse files Browse the repository at this point in the history
  • Loading branch information
conwayconstar authored Sep 14, 2024
2 parents e8d427b + 35e5bf7 commit aa764b9
Show file tree
Hide file tree
Showing 7 changed files with 52 additions and 18 deletions.
5 changes: 4 additions & 1 deletion 1/entities.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,10 +49,13 @@
},
"mev-capital": {
"name": "MEV Capital",
"logo": "mev-capital.png",
"logo": "mev-capital.svg",
"description": "MEV Capital is a digital asset manager that focuses on finding and extracting value from the nascent DeFi markets. The strategies are conducted following a stable asset exposure mandate supported by well-defined benchmarks. The operations mainly consist of risk curations and liquidity provisioning to a set of public protocols. These protocols are selected to reflect internal risk management rules, fit regulatory criteria, and answer investor needs. MEV Capital aims to achieve consistent returns for the investors, while operating in a highly liquid environment and battle-tested security framework.",
"addresses": {
"0x38afC3aA2c76b4cA1F8e1DabA68e998e1F4782DB": "MEV Capital Multisig"
}
},
"k3": {
"name": "K3"
}
}
12 changes: 1 addition & 11 deletions 1/points.json
Original file line number Diff line number Diff line change
@@ -1,11 +1 @@
[
{
"token": "0xbC4B4AC47582c3E38Ce5940B80Da65401F4628f1",
"name": "Euler points",
"description": "testing",
"logo": "euler.svg",
"url": "https://euler.finance",
"vaults": ["0xbC4B4AC47582c3E38Ce5940B80Da65401F4628f1"],
"entity": "euler-dao"
}
]
[]
12 changes: 12 additions & 0 deletions 1/products.json
Original file line number Diff line number Diff line change
Expand Up @@ -60,5 +60,17 @@
"0xe2D6A2a16ff6d3bbc4C90736A7e6F7Cc3C9B8fa9",
"0x1334d0E5ca5855A803998fcC78548142BEF36e3B"
]
},
"stablecoin-maxi": {
"name": "Stablecoin Maxi",
"entity": ["mev-capital", "re7-labs", "k3"],
"vaults": [
"0xce45EF0414dE3516cAF1BCf937bF7F2Cf67873De",
"0x8dDE384022D4dE1D6C67891a8865f551c444dc4C",
"0xAc73efA7696DC1c1617BbC20aeC64422c8b70EDa",
"0xe3eb096CD9A87c271567b0134f6dE061c112A9E7",
"0x586719300c3966130B3Ce15F563b1080271193E8",
"0x117576B8854a03aB7C3dF1Cf1cd8E04767BfA866"
]
}
}
30 changes: 30 additions & 0 deletions 1/vaults.json
Original file line number Diff line number Diff line change
Expand Up @@ -158,5 +158,35 @@
"name": "MEV Capital wstETH Borrowable",
"description": "Component of the MEV Capital wETH Cluster",
"entity": "mev-capital"
},
"0xce45EF0414dE3516cAF1BCf937bF7F2Cf67873De": {
"name": "Stablecoin Maxi USDC",
"description": "The Stablecoin Maxi USDC vault",
"entity": ["re7-labs", "mev-capital", "k3"]
},
"0x8dDE384022D4dE1D6C67891a8865f551c444dc4C": {
"name": "Stablecoin Maxi sUSDe",
"description": "The Stablecoin Maxi sUSDe vault",
"entity": ["re7-labs", "mev-capital", "k3"]
},
"0xAc73efA7696DC1c1617BbC20aeC64422c8b70EDa": {
"name": "Stablecoin Maxi USDe",
"description": "The Stablecoin Maxi USDe vault",
"entity": ["re7-labs", "mev-capital", "k3"]
},
"0xe3eb096CD9A87c271567b0134f6dE061c112A9E7": {
"name": "Stablecoin Maxi USD0",
"description": "The Stablecoin Maxi USD0 vault",
"entity": ["re7-labs", "mev-capital", "k3"]
},
"0x586719300c3966130B3Ce15F563b1080271193E8": {
"name": "Stablecoin Maxi USDY",
"description": "The Stablecoin Maxi USDY vault",
"entity": ["re7-labs", "mev-capital", "k3"]
},
"0x117576B8854a03aB7C3dF1Cf1cd8E04767BfA866": {
"name": "Stablecoin Maxi stUSD",
"description": "The Stablecoin Maxi stUSD vault",
"entity": ["re7-labs", "mev-capital", "k3"]
}
}
Binary file removed logo/mev-capital.png
Binary file not shown.
1 change: 1 addition & 0 deletions logo/mev-capital.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
10 changes: 4 additions & 6 deletions verify.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,7 @@ for (const file of Object.keys(logos)) {

if (info.type !== "svg") {
// legacy PNG files: please use SVG instead
if (
file !== "re7labs.png" &&
file !== "apostro.png" &&
file !== "mev-capital.png"
)
if (file !== "re7labs.png" && file !== "apostro.png")
throw Error(`logo file ${file} is not SVG`);
}

Expand Down Expand Up @@ -87,7 +83,9 @@ function validateChain(chainId) {

for (const addr of product.vaults) {
if (addr !== ethers.getAddress(addr))
throw Error(`products: malformed vault address: ${addr}`);
throw Error(
`products: malformed vault address: ${ethers.getAddress(addr)}`,
);
if (!vaults[addr]) throw Error(`products: unknown vault: ${addr}`);
}

Expand Down

0 comments on commit aa764b9

Please sign in to comment.