const { aaveExports, methodology, } = require("../helper/aave");
const ADDRESSES = require('../helper/coreAssets.json')
const VOTING_ESCROW_ADDRESS = "0xDf32D28c1BdF25c457E82797316d623C2fcB29C8";
const { staking } = require("../helper/staking");

module.exports = {
  methodology,
  astar: {
    ...aaveExports("astar", '0xF6206297b6857779443eF7Eca4a3cFFb1660F952', undefined, undefined, {
      abis: {
        getAllATokens: "function getAllLTokens() view returns (tuple(string symbol, address tokenAddress)[])"
      }
    }),
    staking: staking(VOTING_ESCROW_ADDRESS, ADDRESSES.astar.LAY),
  },
  acala: {
    ...aaveExports("acala", '0xA666dD28059deF0B45505c1f1a5f49fAd2e03c11', undefined, undefined, {
      abis: {
        getAllATokens: "function getAllLTokens() view returns (tuple(string symbol, address tokenAddress)[])"
      },
    })
  }
};
