This package has been deprecated

Author message:

This package is deprecated. Please use @xtoken/abis instead.

xtoken-abis
TypeScript icon, indicating that this package has built-in type declarations

0.1.8 • Public • Published

xToken ABIs

Package containing all the xToken contract ABIs and addresses.

Install

yarn add xtoken-abis

Build

yarn build

Linting

To automatically fix eslint and prettier formatting issues, run:

yarn fix

Examples

import { ethers } from 'ethers'
import { Abis, ADDRESSES, X_AAVE_A } from 'xtoken-abis'

// Setup provider
const provider = new ethers.providers.InfuraProvider('homestead', '<API KEY>')
const network = await provider.getNetwork()
const { chainId } = network

// Initialise xAAVEa contract
const xaaveContract = new ethers.Contract(ADDRESSES[X_AAVE_A][chainId], Abis.xAAVE, provider)

Readme

Keywords

none

Package Sidebar

Install

npm i xtoken-abis

Weekly Downloads

1

Version

0.1.8

License

ISC

Unpacked Size

753 kB

Total Files

50

Last publish

Collaborators

  • chris.xtoken
  • eswarasai
  • michaelcohen716
  • roryxtoken