Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Fantom Menace pool #1351

Merged
merged 1 commit into from
Feb 11, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion packages/address-book/address-book/base/tokens/tokens.ts
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,7 @@ const _tokens = {
website: 'https://tether.to/',
documentation: 'https://docs.axelar.dev/',
description:
'Tether (Axelar) is a stablecoin pegged to the US Dollar. A stablecoin is a type of cryptocurrency whose value is pegged to another fiat currency like the US Dollar or to a commodity like Gold. Tether is the first stablecoin to be created and it is the most popular stablecoin used in the ecosystem.',
'Tether is a stablecoin pegged to the US Dollar. A stablecoin is a type of cryptocurrency whose value is pegged to another fiat currency like the US Dollar or to a commodity like Gold. Tether is the first stablecoin to be created and it is the most popular stablecoin used in the ecosystem.',
logoURI: 'https://hecoinfo.com/token/images/USDTHECO_32.png',
bridge: 'axelar',
},
Expand Down
6 changes: 3 additions & 3 deletions packages/address-book/address-book/fantom/tokens/tokens.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1984,7 +1984,7 @@ const _tokens = {
website: 'https://www.circle.com/usdc',
bridge: 'axelar',
description:
'USDC (Axelar) is a fully collateralized US dollar stablecoin. USDC is issued by regulated financial institutions, backed by fully reserved assets, redeemable on a 1:1 basis for US dollars.',
'USDC is a fully collateralized US dollar stablecoin. USDC is issued by regulated financial institutions, backed by fully reserved assets, redeemable on a 1:1 basis for US dollars.',
documentation: 'https://docs.axelar.dev/',
},
ankrETH: {
Expand Down Expand Up @@ -2012,7 +2012,7 @@ const _tokens = {
website: 'https://www.circle.com/usdc',
bridge: 'layer-zero',
description:
'USDC (LayerZero) is a fully collateralized US dollar stablecoin. USDC is issued by regulated financial institutions, backed by fully reserved assets, redeemable on a 1:1 basis for US dollars.',
'USDC is a fully collateralized US dollar stablecoin. USDC is issued by regulated financial institutions, backed by fully reserved assets, redeemable on a 1:1 basis for US dollars.',
documentation: 'https://layerzero.gitbook.io/docs/',
},
lzUSDT: {
Expand All @@ -2026,7 +2026,7 @@ const _tokens = {
website: 'https://tether.to/en/transparency/#usdt',
bridge: 'layer-zero',
description:
'USDT (LayerZero) is a cryptocurrency that is designed to maintain a stable value equivalent to the US dollar by being backed by a one-to-one reserve ratio of fiat currency held in deposit by Tether Limited.',
'USDT is a cryptocurrency that is designed to maintain a stable value equivalent to the US dollar by being backed by a one-to-one reserve ratio of fiat currency held in deposit by Tether Limited.',
documentation: 'https://layerzero.gitbook.io/docs/',
},
lzWETH: {
Expand Down
6 changes: 3 additions & 3 deletions packages/address-book/address-book/kava/tokens/tokens.ts
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ const _tokens = {
'https://tokens.pancakeswap.finance/images/0xB12BFcA5A55806AaF64E99521918A4bf0fC40802.svg',
website: 'https://www.circle.com/usdc',
description:
'USDC (Axelar) is a fully collateralized US dollar stablecoin. USDC is issued by regulated financial institutions, backed by fully reserved assets, redeemable on a 1:1 basis for US dollars.',
'USDC is a fully collateralized US dollar stablecoin. USDC is issued by regulated financial institutions, backed by fully reserved assets, redeemable on a 1:1 basis for US dollars.',
documentation: 'https://docs.axelar.dev/',
bridge: 'axelar',
},
Expand All @@ -144,7 +144,7 @@ const _tokens = {
website: 'https://tether.to/',
documentation: 'https://docs.axelar.dev/',
description:
'Tether (Axelar) is a stablecoin pegged to the US Dollar. A stablecoin is a type of cryptocurrency whose value is pegged to another fiat currency like the US Dollar or to a commodity like Gold. Tether is the first stablecoin to be created and it is the most popular stablecoin used in the ecosystem.',
'Tether is a stablecoin pegged to the US Dollar. A stablecoin is a type of cryptocurrency whose value is pegged to another fiat currency like the US Dollar or to a commodity like Gold. Tether is the first stablecoin to be created and it is the most popular stablecoin used in the ecosystem.',
logoURI: 'https://hecoinfo.com/token/images/USDTHECO_32.png',
bridge: 'axelar',
},
Expand All @@ -158,7 +158,7 @@ const _tokens = {
website: 'https://makerdao.com/',
documentation: 'https://docs.axelar.dev/',
description:
'Multi-Collateral Dai (Axelar), brings a lot of new and exciting features, such as support for new CDP collateral types and Dai Savings Rate.',
'Multi-Collateral Dai, brings a lot of new and exciting features, such as support for new CDP collateral types and Dai Savings Rate.',
logoURI:
'https://raw.githubusercontent.com/trustwallet/assets/master/blockchains/ethereum/assets/0x6B175474E89094C44Da98b954EedeAC495271d0F/logo.png',
bridge: 'axelar',
Expand Down
2 changes: 1 addition & 1 deletion src/api/stats/fantom/getBeethovenxDualApys.js
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ const getLiquidStakingPoolYield = async pool => {
const lsApr = pool.ankrUrl ? response.apy * 1 : response.value;

apr = (lsApr * qty[pool.lsIndex].dividedBy(totalQty).toNumber()) / 100;
apr = pool.balancerChargesFee ? apr / 2 : apr;
apr = pool.balancerChargesFee ? apr * 0.75 : apr;
} catch (err) {
console.error(`Error fetching ls yield for ${pool.name}`);
}
Expand Down
33 changes: 33 additions & 0 deletions src/data/fantom/beethovenxDualPools.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,37 @@
[
{
"name": "beets-fantom-menace",
"address": "0x593000b762dE3c465855336E95c8BB46080AF064",
"vault": "0x20dd72Ed959b6147912C2e529F0a0C651c33c9ce",
"vaultPoolId": "0x593000b762de3c465855336e95c8bb46080af064000000000000000000000760",
"beefyFee": 0.095,
"poolId": 129,
"oracleB": "tokens",
"oracleIdB": "WFTM",
"decimalsB": "1e18",
"composable": true,
"bptIndex": 1,
"liquidstaking": true,
"lsIndex": 1,
"staderUrl": "https://universe.staderlabs.com/fantom/apy",
"balancerChargesFee": true,
"decimals": "1e18",
"tokens": [
{
"oracle": "tokens",
"oracleId": "WFTM",
"decimals": "1e18"
},
{
"oracleId": "BPTToken"
},
{
"oracle": "tokens",
"oracleId": "sFTMx",
"decimals": "1e18"
}
]
},
{
"name": "beets-a-layered-quartet",
"address": "0xCE752063c544F604Ddb99a4335EB79B38c439D72",
Expand Down
2 changes: 1 addition & 1 deletion src/data/optimism/auraLpPools.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
],
"dataPath": ["$.sfraxApy", "$.sfrxethApr"],
"lsAprFactor": [1, 1],
"balancerChargesFee": true,
"balancerChargesFee": false,
"decimals": "1e18",
"rewards": [
{
Expand Down
Loading