assembly/constant/tokens/vaults.ts

42 lines
11 KiB
TypeScript
Raw Permalink Normal View History

2021-07-21 20:53:46 +00:00
// prettier-ignore
const vaults = [
{ type: 'ETH-A', token: 'ETH', key: 'eth', ratio: 0.6666666666666666, joinAddr: '0x2F0b23f53734252Bda2277357e97e1517d6B042A', addr: '0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2', stabiltyRate: 0, price: 0, typeBytes: '0x4554482d41000000000000000000000000000000000000000000000000000000', disabled: false, vaultTokenType: 'token' },
{ type: 'ETH-B', token: 'ETH', key: 'eth', ratio: 0.76923076923, joinAddr: '0x08638eF1A205bE6762A8b935F5da9b700Cf7322c', addr: '0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2', stabiltyRate: 0, price: 0, typeBytes: '0x4554482d42000000000000000000000000000000000000000000000000000000', disabled: false, vaultTokenType: 'token' },
{ type: 'ETH-C', token: 'ETH', key: 'eth', ratio: 0.571428571, joinAddr: '0xF04a5cC80B1E94C69B48f5ee68a08CD2F09A7c3E', addr: '0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2', stabiltyRate: 0, price: 0, typeBytes: '0x4554482d43000000000000000000000000000000000000000000000000000000', disabled: false, vaultTokenType: 'token' },
{ type: 'BAT-A', token: 'BAT', key: 'bat', ratio: 0.6666666666666666, joinAddr: '0x3D0B1912B66114d4096F48A8CEe3A56C231772cA', addr: '0x0d8775f648430679a709e98d2b0cb6250d2887ef', stabiltyRate: 0, price: 0, typeBytes: '0x4241542d41000000000000000000000000000000000000000000000000000000', disabled: false, vaultTokenType: 'token' },
{ type: 'USDC-A', token: 'USDC', key: 'usdc', ratio: 0.9090909090909091, joinAddr: '0xa191e578a6736167326d05c119ce0c90849e84b7', addr: '0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48', stabiltyRate: 0, price: 0, typeBytes: '0x555344432d410000000000000000000000000000000000000000000000000000', disabled: false, vaultTokenType: 'token' },
{ type: 'WBTC-A', token: 'WBTC', key: 'wbtc', ratio: 0.6666666666666666, joinAddr: '0xBF72Da2Bd84c5170618Fbe5914B0ECA9638d5eb5', addr: '0x2260FAC5E5542a773Aa44fBCfeDf7C193bc2C599', stabiltyRate: 0, price: 0, typeBytes: '0x574254432d410000000000000000000000000000000000000000000000000000', disabled: false, vaultTokenType: 'token' },
{ type: 'USDC-B', token: 'USDC', key: 'usdc', ratio: 0.8333333333333334, joinAddr: '0x2600004fd1585f7270756DDc88aD9cfA10dD0428', addr: '0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48', stabiltyRate: 0, price: 0, typeBytes: '0x555344432d420000000000000000000000000000000000000000000000000000', disabled: false, vaultTokenType: 'token' },
{ type: 'ZRX-A', token: 'ZRX', key: 'zrx', ratio: 0.5714285714285714, joinAddr: '0xc7e8Cd72BDEe38865b4F5615956eF47ce1a7e5D0', addr: '0xE41d2489571d322189246DaFA5ebDe1F4699F498', stabiltyRate: 0, price: 0, typeBytes: '0x5a52582d41000000000000000000000000000000000000000000000000000000', disabled: false, vaultTokenType: 'token' },
{ type: 'KNC-A', token: 'KNC', key: 'knc', ratio: 0.5714285714285714, joinAddr: '0x475F1a89C1ED844A08E8f6C50A00228b5E59E4A9', addr: '0xdd974D5C2e2928deA5F71b9825b8b646686BD200', stabiltyRate: 0, price: 0, typeBytes: '0x4b4e432d41000000000000000000000000000000000000000000000000000000', disabled: false, vaultTokenType: 'token' },
{ type: 'MANA-A', token: 'MANA', key: 'mana', ratio: 0.5714285714285714, joinAddr: '0xA6EA3b9C04b8a38Ff5e224E7c3D6937ca44C0ef9', addr: '0x0F5D2fB29fb7d3CFeE444a200298f468908cC942', stabiltyRate: 0, price: 0, typeBytes: '0x4d414e412d410000000000000000000000000000000000000000000000000000', disabled: false, vaultTokenType: 'token' },
{ type: 'USDT-A', token: 'USDT', key: 'usdt', ratio: 0.6666666666666666, joinAddr: '0x0Ac6A1D74E84C2dF9063bDDc31699FF2a2BB22A2', addr: '0xdAC17F958D2ee523a2206206994597C13D831ec7', stabiltyRate: 0, price: 0, typeBytes: '0x555344542d410000000000000000000000000000000000000000000000000000', disabled: false, vaultTokenType: 'token' },
{ type: 'PAXUSD-A', token: 'PAX', key: 'pax', ratio: 0.8333333333333334, joinAddr: '0x7e62B7E279DFC78DEB656E34D6a435cC08a44666', addr: '0x8E870D67F660D95d5be530380D0eC0bd388289E1', stabiltyRate: 0, price: 0, typeBytes: '0x5041585553442d41000000000000000000000000000000000000000000000000', disabled: false, vaultTokenType: 'token' },
{ type: 'TUSD-A', token: 'TUSD', key: 'tusd', ratio: 0.8333333333333334, joinAddr: '0x4454aF7C8bb9463203b66C816220D41ED7837f44', addr: '0x0000000000085d4780B73119b644AE5ecd22b376', stabiltyRate: 0, price: 0, typeBytes: '0x545553442d410000000000000000000000000000000000000000000000000000', disabled: false, vaultTokenType: 'token' },
{ type: 'COMP-A', token: 'COMP', key: 'comp', ratio: 0.5714285714285714, joinAddr: '0xBEa7cDfB4b49EC154Ae1c0D731E4DC773A3265aA', addr: '0xc00e94Cb662C3520282E6f5717214004A7f26888', stabiltyRate: 0, price: 0, typeBytes: '0x434f4d502d410000000000000000000000000000000000000000000000000000', disabled: false, vaultTokenType: 'token' },
{ type: 'LINK-A', token: 'LINK', key: 'link', ratio: 0.5714285714285714, joinAddr: '0xdFccAf8fDbD2F4805C174f856a317765B49E4a50', addr: '0x514910771AF9Ca656af840dff83E8264EcF986CA', stabiltyRate: 0, price: 0, typeBytes: '0x4c494e4b2d410000000000000000000000000000000000000000000000000000', disabled: false, vaultTokenType: 'token' },
{ type: 'LRC-A', token: 'LRC', key: 'lrc', ratio: 0.5714285714285714, joinAddr: '0x6C186404A7A238D3d6027C0299D1822c1cf5d8f1', addr: '0xBBbbCA6A901c926F240b89EacB641d8Aec7AEafD', stabiltyRate: 0, price: 0, typeBytes: '0x4c52432d41000000000000000000000000000000000000000000000000000000', disabled: false, vaultTokenType: 'token' },
{ type: 'YFI-A', token: 'YFI', key: 'yfi', ratio: 0.5714285714285714, joinAddr: '0x3ff33d9162aD47660083D7DC4bC02Fb231c81677', addr: '0x0bc529c00C6401aEF6D220BE8C6Ea1667F6Ad93e', stabiltyRate: 0, price: 0, typeBytes: '0x5946492d41000000000000000000000000000000000000000000000000000000', disabled: false, vaultTokenType: 'token' },
{ type: 'BAL-A', token: 'BAL', key: 'bal', ratio: 0.5714285714285714, joinAddr: '0x4a03Aa7fb3973d8f0221B466EefB53D0aC195f55', addr: '0xba100000625a3754423978a60c9317c58a424e3D', stabiltyRate: 0, price: 0, typeBytes: '0x42414c2d41000000000000000000000000000000000000000000000000000000', disabled: false, vaultTokenType: 'token' },
{ type: 'GUSD-A', token: 'GUSD', key: 'gusd', ratio: 0.9090909090909091, joinAddr: '0xe29A14bcDeA40d83675aa43B72dF07f649738C8b', addr: '0x056Fd409E1d7A124BD7017459dFEa2F387b6d5Cd', stabiltyRate: 0, price: 0, typeBytes: '0x475553442d410000000000000000000000000000000000000000000000000000', disabled: false, vaultTokenType: 'token' },
{ type: 'UNI-A', token: 'UNI', key: 'uni', ratio: 0.5714285714285714, joinAddr: '0x3BC3A58b4FC1CbE7e98bB4aB7c99535e8bA9b8F1', addr: '0x1f9840a85d5aF5bf1D1762F925BDADdC4201F984', stabiltyRate: 0, price: 0, typeBytes: '0x554e492d41000000000000000000000000000000000000000000000000000000', disabled: false, vaultTokenType: 'token' },
{ type: 'RENBTC-A', token: 'RENBTC', key: 'renbtc', ratio: 0.5714285714285714, joinAddr: '0xFD5608515A47C37afbA68960c1916b79af9491D0', addr: '0xEB4C2781e4ebA804CE9a9803C67d0893436bB27D', stabiltyRate: 0, price: 0, typeBytes: '0x52454e4254432d41000000000000000000000000000000000000000000000000', disabled: false, vaultTokenType: 'token' },
{ type: 'AAVE-A', token: 'AAVE', key: 'aave', ratio: 0.5714285714285714, joinAddr: '0x24e459F61cEAa7b1cE70Dbaea938940A7c5aD46e', addr: '0x7Fc66500c84A76Ad7e9c93437bFc5Ac33E2DDaE9', stabiltyRate: 0, price: 0, typeBytes: '0x414156452d410000000000000000000000000000000000000000000000000000', disabled: false, vaultTokenType: 'token' },
{ type: 'UNIV2DAIETH-A', token: 'UNI-V2-DAI/ETH', key: 'unidaieth', ratio: 0.8, joinAddr: '0x2502F65D77cA13f183850b5f9272270454094A08', addr: '0xA478c2975Ab1Ea89e8196811F51A7B7Ade33eB11', stabiltyRate: 0, price: 0, typeBytes: '0x554e4956324441494554482d4100000000000000000000000000000000000000', disabled: false, vaultTokenType: 'uniLPT' },
{ type: 'UNIV2WBTCETH-A', token: 'UNI-V2-WBTC/ETH', key: 'uniwbtceth', ratio: 0.6666666666666666, joinAddr: '0xDc26C9b7a8fe4F5dF648E314eC3E6Dc3694e6Dd2', addr: '0xBb2b8038a1640196FbE3e38816F3e67Cba72D940', stabiltyRate: 0, price: 0, typeBytes: '0x554e495632574254434554482d41000000000000000000000000000000000000', disabled: false, vaultTokenType: 'uniLPT' },
{ type: 'UNIV2USDCETH-A', token: 'UNI-V2-USDC/ETH', key: 'uniusdceth', ratio: 0.8, joinAddr: '0x03Ae53B33FeeAc1222C3f372f32D37Ba95f0F099', addr: '0xB4e16d0168e52d35CaCD2c6185b44281Ec28C9Dc', stabiltyRate: 0, price: 0, typeBytes: '0x554e495632555344434554482d41000000000000000000000000000000000000', disabled: false, vaultTokenType: 'uniLPT' },
{ type: 'UNIV2DAIUSDC-A', token: 'UNI-V2-USDC/DAI', key: 'unidaiusdc', ratio: 0.900900901, joinAddr: '0xA81598667AC561986b70ae11bBE2dd5348ed4327', addr: '0xAE461cA67B15dc8dc81CE7615e0320dA1A9aB8D5', stabiltyRate: 0, price: 0, typeBytes: '0x554e495632444149555344432d41000000000000000000000000000000000000', disabled: false, vaultTokenType: 'uniLPT' },
{ type: 'UNIV2ETHUSDT-A', token: 'UNI-V2-USDT/ETH', key: 'uniethusdt', ratio: 0.714285714, joinAddr: '0x4aAD139a88D2dd5e7410b408593208523a3a891d', addr: '0x0d4a11d5EEaaC28EC3F61d100daF4d40471f1852', stabiltyRate: 0, price: 0, typeBytes: '0x554e495632455448555344542d41000000000000000000000000000000000000', disabled: false, vaultTokenType: 'uniLPT' },
{ type: 'UNIV2LINKETH-A', token: 'UNI-V2-LINK/ETH', key: 'unilinketh', ratio: 0.606060606, joinAddr: '0xDae88bDe1FB38cF39B6A02b595930A3449e593A6', addr: '0xa2107FA5B38d9bbd2C461D6EDf11B11A50F6b974', stabiltyRate: 0, price: 0, typeBytes: '0x554e4956324c494e4b4554482d41000000000000000000000000000000000000', disabled: false, vaultTokenType: 'uniLPT' },
{ type: 'UNIV2UNIETH-A', token: 'UNI-V2-UNI/ETH', key: 'uniunieth', ratio: 0.606060606, joinAddr: '0xf11a98339FE1CdE648e8D1463310CE3ccC3d7cC1', addr: '0xd3d2E2692501A5c9Ca623199D38826e513033a17', stabiltyRate: 0, price: 0, typeBytes: '0x554e495632554e494554482d4100000000000000000000000000000000000000', disabled: false, vaultTokenType: 'uniLPT' },
{ type: 'UNIV2WBTCDAI-A', token: 'UNI-V2-WBTC/DAI', key: 'uniwbtcdai', ratio: 0.8, joinAddr: '0xD40798267795Cbf3aeEA8E9F8DCbdBA9b5281fcC', addr: '0x231B7589426Ffe1b75405526fC32aC09D44364c4', stabiltyRate: 0, price: 0, typeBytes: '0x554e495632574254434441492d41000000000000000000000000000000000000', disabled: false, vaultTokenType: 'uniLPT' },
{ type: 'UNIV2AAVEETH-A', token: 'UNI-V2-AAVE/ETH', key: 'uniaaveeth', ratio: 0.606060606, joinAddr: '0x42AFd448Df7d96291551f1eFE1A590101afB1DfF', addr: '0xDFC14d2Af169B0D36C4EFF567Ada9b2E0CAE044f', stabiltyRate: 0, price: 0, typeBytes: '0x554e495632414156454554482d41000000000000000000000000000000000000', disabled: false, vaultTokenType: 'uniLPT' },
{ type: 'UNIV2DAIUSDT-A', token: 'UNI-V2-DAI/USDT', key: 'unidaiusdt', ratio: 0.8, joinAddr: '0xAf034D882169328CAf43b823a4083dABC7EEE0F4', addr: '0xB20bd5D04BE54f870D5C0d3cA85d82b34B836405', stabiltyRate: 0, price: 0, typeBytes: '0x554e495632444149555344542d41000000000000000000000000000000000000', disabled: false, vaultTokenType: 'uniLPT' },
]
export default {
allVaults: vaults,
types: vaults.map((vault) => vault.type),
getVaultByType: (type) => vaults.find((vault) => vault.type === type),
};