mirror of
https://github.com/alexgo-io/DefiLlama-Adapters.git
synced 2026-04-30 05:45:32 +08:00
53 lines
1.9 KiB
JavaScript
53 lines
1.9 KiB
JavaScript
const { stakings } = require("../helper/staking.js");
|
|
const { pool2s } = require("../helper/pool2.js");
|
|
|
|
const ETH_LP = "0x3c8ad34155b83ddb7f43119a19503d34ed2b5c7a"; // ETH-MVL LP Token
|
|
const ETH_SINGLE = "0xA849EaaE994fb86Afa73382e9Bd88c2B6b18Dc71"; // MVL Token
|
|
const BSC_LP = "0xE01eDA650632986B2E5B8167F629D7C7c759D4FD"; // BNB-bMVL LP Token
|
|
const BSC_SINGLE = "0x5f588EfAf8eB57e3837486e834fC5a4E07768D98"; // bMVL Token
|
|
|
|
const config = {
|
|
ethereum: {
|
|
token: ETH_SINGLE,
|
|
lp: ETH_LP,
|
|
staking: [
|
|
"0x92Ec27935cE7b523cc70C2fFaf0728F1Fa6425dF",
|
|
"0x1BdFAa7aFAa454F491b5de40d24d681F0F3Adb1A",
|
|
"0xB87A16fD301b3CFed03982D99840970328d185aD",
|
|
"0x742AB08EEc9f940beF657394720090F163f535Cc"
|
|
],
|
|
pool2: [
|
|
"0x34fDA56b5c9Aa52DF9fa51b01666683b7b1434d6",
|
|
"0xC0496C7B9D7150A81bD6fF1d015e95668BD4abeD",
|
|
"0xf7EaeceBd69430b31E711df8BD9DD215a49B6d80",
|
|
],
|
|
|
|
},
|
|
bsc: {
|
|
token: BSC_SINGLE,
|
|
lp: BSC_LP,
|
|
staking: [
|
|
"0x0A3AC95445F3e02cC80267f02B9669ed75b71043",
|
|
"0x121E257f4A6fa763012eF0b6b6f68905F6D4b721",
|
|
"0x5a54EC1e6DA36f19a806A9168fD4270fEf697354",
|
|
"0x8CeB404D939c293ad070A5B33fc197df3aF1AbB7"
|
|
],
|
|
pool2: [
|
|
"0xC948622856a40Efd50d74BA6e3624FE7100A95Ef",
|
|
"0xc81632E77Ea7262137EA815DC8BA7a47A5a01ab1",
|
|
"0xDD71D03d70848F79a1C6df6eB0f6623236BBD85B"
|
|
],
|
|
|
|
},
|
|
};
|
|
|
|
Object.keys(config).forEach((chain) => {
|
|
const { lp, token, staking, pool2, tvl } = config[chain];
|
|
module.exports[chain] = {
|
|
tvl: () => ({}),
|
|
staking: stakings(staking, token, chain),
|
|
pool2: pool2s(pool2, [lp], chain),
|
|
};
|
|
})
|
|
module.exports.methodology = "MVL Single Staking TVL is calculated by multiplying the locked MVL quantity by the MVL price that changes in real time. MVL LP Staking TVL is calculated by multiplying the locked LP quantity by the LP price that changes in real time.At this time, the LP price changes depending on the prices of ETH and MVL, and the prices of BNB and bMVL."
|