Request new feature!
Please provide a detailed description of the desired feature (Why the feature is needed, where should it be implemented, etc.)
Title of the feature
Details of feature
11
Frax Finance Additional Info
Please add the following pools: APR info about pools in general, espec. https://api.frax.finance/pools Saddle alUSD/FEI/FRAX/LUSD ------------------------------------- LP Token: 0xd48cF4D7FB0824CC8bAe055dF3092584d0a1726A Farm address: 0x0639076265e9f88542C91DCdEda65127974A5CA5 Earnings: function earned ( address account ) external view returns ( uint256[] new_earned ); [0] is FXS (0x3432b6a60d23ca0dfca7761b7ab56459d9c964d0) [1] is TRIBE (0xc7283b66Eb1EB5FB86327f08e1B5816b0720212B) [2] is ALCX (0xdBdb4d16EdA451D0503b854CF79D55697F90c8DF) [3] is LQTY (0x6DEA81C8171D0bA574754EF6F8b412F2Ed88c54D) Current Balance: lockedLiquidityOf ( address account ) external view returns ( uint256 ); Also useful: POST https://api.frax.finance/stakedata/user-stake-info { "the_chain":"mainnet", "staking_choice":"Saddle alUSD/FEI/FRAX/LUSD", "staker_address":"<ADDRESS HERE>" } FRAX/IQ Uniswap V2 ------------------------------------- LP Token: 0xd6c783b257e662ca949b441a4fcb08a53fc49914 Farm address: 0xF37057823910653a554d996B49E3399DC87fAE1b Earnings: function earned ( address account ) external view returns ( uint256, uint256 ); [0] is FXS token (0x3432b6a60d23ca0dfca7761b7ab56459d9c964d0), [1] is Everipedia IQ (0x579cea1889991f68acc35ff5c3dd0621ff29b0c9) Current Balance: function lockedLiquidityOf ( address account ) external view returns ( uint256 ); Also useful: POST https://api.frax.finance/stakedata/user-stake-info { "the_chain":"mainnet", "staking_choice":"Uniswap FRAX/IQ", "staker_address":"<ADDRESS HERE>" } FRAX/USDC Uniswap V3 ------------------------------------- LP Token: Uniswap V3 Position NFT Farm address: 0x3EF26504dbc8Dd7B7aa3E97Bc9f3813a9FC0B4B0 Earnings: function earned ( address account ) external view returns ( uint256 ); This returns the FXS balance only. The FRAX and USDC rewards can be seen with the api call below. For brevity, you can exclude these if you want. Current Balance: lockedLiquidityOf ( address account ) external view returns ( uint256 ); Also useful: POST https://api.frax.finance/stakedata/user-stake-info { "the_chain":"mainnet", "staking_choice":"Uniswap V3 FRAX/USDC", "staker_address":"<ADDRESS HERE>" } veFXS ------------------------------------- This is single-asset FXS staking with FXS rewards. You can re-use your template for Curve's veCRV, it is basically the same contract. Staking Token (veFXS): 0xc8418aF6358FFddA74e09Ca9CC3Fe03Ca6aDC5b0 Farm / rewards distributor address: 0xed2647Bbf875b2936AAF95a3F5bbc82819e3d3FE Earnings (Called on Farm address 0xed264...): earned ( address account ) external view returns ( uint256 ); Returns FXS balance FXS balance staked as veFXS (called on 0xc8418...): function locked ( address arg0 ) external view returns ( int128 amount, uint256 end ); [0] is the FXS balance underlying [1] is the ending timestamp when the veFXS is withdrawable veFXS balance itself (this is optional) (called on 0xc8418...): function balanceOf ( address addr ) external view returns ( uint256 ); You can reach out to me on Telegram if you have any questions: https://t.me/FortisFortuna_89 Thank you, Travis Moore Co-Founder @ Frax Finance
0
Load More