@jones-dao/sdk
v2.1.1
Published
Jones DAO - SDK
Downloads
93
Readme
Jones Dao SDK
ABI
Manually generated. To update:
- Make sure that the folders
contracts/
andfarms
are on the same directory as this repo. - Compile contracts by running
yarn compile
in the respective folders. - Run this code below in your terminal.
Contracts:
cd src/abi && ln -s ../../contracts/build/contracts compiled-contracts && .. && ..
Farms:
cd src/abi && ln -s ../../contracts/build/contracts compiled-farm-contracts && .. && ..
- Update contract abi's by running
yarn updateAbis
- Compile types based on these updated abi's by running
yarn compileAbis
. Generated by typechain.
Constants
Addresses
Relevant addresses to Jones DAO.
Coingecko ids
Ids used to fetch price on coingecko for relevant tokens.
Utils
Helper functions