All Projects → yearn → apr-oracle

yearn / apr-oracle

Licence: MIT License
On-chain APR aggregator for dYdX, Fulcrum, Compound, and Aave

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to apr-oracle

aave-liquidation
Liquidation Aave protocol example
Stars: ✭ 50 (+138.1%)
Mutual labels:  defi, aave
governance-crosschain-bridges
This repo contains the crosschain governance bridges used for the aave markets deployed across different networks
Stars: ✭ 116 (+452.38%)
Mutual labels:  defi, aave
mai-protocol
A Protocol for trading decentralized derivatives on Ethereum
Stars: ✭ 22 (+4.76%)
Mutual labels:  defi
defi-app-old
DeFi Blockchain desktop app for Windows, Linux and Mac.
Stars: ✭ 12 (-42.86%)
Mutual labels:  defi
Scrypto-Advent-Calendar
Scrypto Advent Calendar. Learn the new programming langage to build secure DeFi applications quickly.
Stars: ✭ 22 (+4.76%)
Mutual labels:  defi
ape
The smart contract development tool for Pythonistas, Data Scientists, and Security Professionals
Stars: ✭ 339 (+1514.29%)
Mutual labels:  defi
core
SIREN Core Smart Contracts
Stars: ✭ 39 (+85.71%)
Mutual labels:  defi
cyclone-contracts
Cyclone is a multi-chain, non-custodial, privacy-preserving protocol. Cyclone applies zkSNARKs to enable transactional privacy by breaking the on-chain link between depositor and recipient addresses. It uses a smart contract that accepts coins/tokens deposits, which can be withdrawn by a different address. Whenever an asset is withdrawn from Cyc…
Stars: ✭ 49 (+133.33%)
Mutual labels:  defi
PancakeSwapBot
PancakeSwap prediction bot
Stars: ✭ 38 (+80.95%)
Mutual labels:  defi
Awesome NFTs
A curated collection about NFTs - by bt3gl
Stars: ✭ 42 (+100%)
Mutual labels:  defi
idle-contracts
idle.finance
Stars: ✭ 30 (+42.86%)
Mutual labels:  defi
polkaswap-web
Polkaswap is a non-custodial, cross-chain AMM DEX protocol for swapping tokens based on Polkadot and Kusama relay chains, Polkadot and Kusama parachains, and blockchains directly connected via bridges. Polkaswap removes trusted intermediaries and provides the opportunity for faster trading.
Stars: ✭ 43 (+104.76%)
Mutual labels:  defi
compound-supply-examples
Code examples for supplying Ethereum assets to the Compound Protocol.
Stars: ✭ 119 (+466.67%)
Mutual labels:  defi
prop
An open and opinionated trading platform using productive & familiar open source libraries and tools for strategy research, execution and operation.
Stars: ✭ 26 (+23.81%)
Mutual labels:  defi
coinmarketcap-new-listings-sniper-bot
Sniper bot to buy new tokens listed on Coinmarketcap.
Stars: ✭ 55 (+161.9%)
Mutual labels:  defi
SECOS
An unsupervised compound splitter
Stars: ✭ 39 (+85.71%)
Mutual labels:  compound
chainlink defi
Build a defi yield farmable dApp. Get started here.
Stars: ✭ 134 (+538.1%)
Mutual labels:  defi
defiprime
All things #DeFi - trustless and transparent financial products built on top of the blockchain.
Stars: ✭ 117 (+457.14%)
Mutual labels:  defi
blockhead
Crypto portfolio tracker, DeFi dashboard, NFT viewer and data explorer for the Ethereum/EVM-based blockchain ecosystem and the web 3.0-powered metaverse https://gitcoin.co/grants/2966/blockhead
Stars: ✭ 41 (+95.24%)
Mutual labels:  defi
uniswap-skim
scripts to scan all of the uniswapV2🦄 contracts on ethereum and search for skim opportunities
Stars: ✭ 126 (+500%)
Mutual labels:  defi

Documentation

iearn.finance

Smart Contract Interface

Contract ABI Address
APROracle JSON apr.iearn.eth

APR Interface

{% tabs %} {% tab title="IAPROracle.sol" %}

// Solidity Interface

interface IAPROracle {
  function recommendDAI() external view returns (string memory);
  function recommendETH() external view returns (string memory);
  function recommendUSDC() external view returns (string memory);
  function getAllCompoundAPR()
      external
      view
      returns (
          uint256 cDAI,
          uint256 cBAT,
          uint256 cETH,
          uint256 cREP,
          uint256 cSAI,
          uint256 cUSDC,
          uint256 cWBTC,
          uint256 cZRC
      );

  // Compound
  function getCDAIAPR() external view returns (uint256);
  function getCBATAPR() external view returns (uint256);
  function getCETHAPR() external view returns (uint256);
  function getCREPAPR() external view returns (uint256);
  function getCSAIAPR() external view returns (uint256);
  function getCUSDCAPR() external view returns (uint256);
  function getCWBTCAPR() external view returns (uint256);
  function getCZRCAPR() public view returns (uint256);
  function getCompoundAPR(address token) public view returns (uint256);

  function getAllDyDxAPR()
      external
      view
      returns (
          uint256 dSAI,
          uint256 dETH,
          uint256 dUSDC,
          uint256 dDAI
      );

  // dYdX
  function getDyDxSAIAPR() public view returns(uint256);
  function getDyDxETHAPR() public view returns(uint256);
  function getDyDxUSDCAPR() public view returns(uint256);
  function getDyDxDAIAPR() public view returns(uint256);

  function getAllFulcrumAPR()
      external
      view
      returns (
          uint256 iZRX,
          uint256 iREP,
          uint256 iKNC,
          uint256 iWBTC,
          uint256 iUSDC,
          uint256 iETH,
          uint256 iSAI,
          uint256 iDAI,
          uint256 iLINK,
          uint256 iSUSD
      );

  // Fulcrum
  function getIZRXAPR() public view returns (uint256);
  function getIREPAPR() public view returns (uint256);
  function getIKNCAPR() public view returns (uint256);
  function getIWBTCAPR() public view returns (uint256);
  function getIUSDCAPR() public view returns (uint256);
  function getIETHAPR() public view returns (uint256);
  function getISAIAPR() public view returns (uint256);
  function getIDAIAPR() public view returns (uint256);
  function getILINKAPR() public view returns (uint256);
  function getISUSDAPR() public view returns (uint256);

  function getFulcrumAPR(address token) public view returns(uint256);

  function getDyDxAPR(uint256 marketId) public view returns(uint256);

  function getAllAaveAPR()
      external
      view
      returns (
          uint256 aDAI,
          uint256 aTUSD,
          uint256 aUSDC,
          uint256 aUSDT,
          uint256 aSUSD,
          uint256 aBAT,
          uint256 aETH,
          uint256 aLINK,
          uint256 aKNC,
          uint256 aREP,
          uint256 aZRX,
          uint256 aSNX
      );

  function getADAIAPR() public view returns (uint256);
  function getATUSDAPR() public view returns (uint256);
  function getAUSDCAPR() public view returns (uint256);
  function getAUSDTAPR() public view returns (uint256);
  function getASUSDAPR() public view returns (uint256);
  function getALENDAPR() public view returns (uint256);
  function getABATAPR() public view returns (uint256);
  function getAETHAPR() public view returns (uint256);
  function getALINKAPR() public view returns (uint256);
  function getAKNCAPR() public view returns (uint256);
  function getAREPAPR() public view returns (uint256);
  function getAMKRAPR() public view returns (uint256);
  function getAMANAAPR() public view returns (uint256);
  function getAZRXAPR() public view returns (uint256);
  function getASNXAPR() public view returns (uint256);
  function getAWBTCAPR() public view returns (uint256);

  function getAaveAPR(address token) public view returns (uint256);
}

{% endtab %} {% endtabs %}

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].