mirror of
https://github.com/uniwhale-io/DefiLlama-yield-server.git
synced 2026-04-30 04:45:20 +08:00
Use secure subgraph URL and update fees (#639)
* Add Archly Finance yields * Fix subgraph queries and use APR for gauges * Include APR for base and reward * Removing apyBase as it requires locking Arc to obtain trading fees * Use uppercase for symbols * Update to add rule for locking assets for yield * Update README to reflect APY should not be included if the reward/fee is locked from claiming - Also readded baseAPY back for Archly trading fees * Use secure subgraph URL and update fee percentage * Update to match deployed yield server code
This commit is contained in:
@@ -5,8 +5,8 @@ const utils = require('../utils');
|
||||
const { getArcPrice, getPairs } = require('./subgraph');
|
||||
const GAUGE_ABI = require('./gauge_abi.json');
|
||||
|
||||
const STABLE_FEE_PERCENTAGE = 0.003;
|
||||
const VARIABLE_FEE_PERCENTAGE = 0.003;
|
||||
const STABLE_FEE_PERCENTAGE = 0.005;
|
||||
const VARIABLE_FEE_PERCENTAGE = 0.005;
|
||||
|
||||
const CHAIN = 'telos';
|
||||
|
||||
|
||||
@@ -3,7 +3,7 @@ const BN = require('bignumber.js');
|
||||
|
||||
const ARC_USDC_PAIR_ADDRESS = '0xeab0f20cb5536f07135f9d32c93fc77911317ab6';
|
||||
const ARC_USDT_PAIR_ADDRESS = '0x309c5c0285d8051f7d4921b108526c173ef43507';
|
||||
const AMM_SUBGRAPH_URL = 'http://api.archly.fi/subgraphs/name/archly/amm';
|
||||
const AMM_SUBGRAPH_URL = 'https://api.archly.fi/subgraphs/name/archly/amm';
|
||||
|
||||
const pairsQuery = gql`
|
||||
query PairsQuery {
|
||||
|
||||
Reference in New Issue
Block a user