Skip to content

Commit

Permalink
Add Cian strategy pool.
Browse files Browse the repository at this point in the history
  • Loading branch information
NatureLab committed Aug 10, 2022
1 parent 31dd97b commit a15a539
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions src/adaptors/cian/index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
const axios = require('axios');

const apiUrl = 'https://data.cian.app/api/v1/staking_avax/apr';

async function fetch() {
const response = (await axios.get(apiUrl)).data.data;
return response;
}

const main = async () => {
const data = fetch();
return data;
};

module.exports = {
timetravel: false,
apy: main,
};

0 comments on commit a15a539

Please sign in to comment.