@white-matrix/grandlinedao-sdk
v1.0.0
Published
water finance contract sdk
Downloads
5
Keywords
Readme
intsall
yarn add @white-matrix/water-finance-sdk
usage
- get
WFPool
:
const network = 5;
const contractFactory = new ContractFactory(network);
const wfPool = contractFactory.getWFPool();
const poolInfo = await wfPool.getPoolInfo();
console.log(poolInfo);
- get
WFPool
:
const network = 5;
const contractFactory = new ContractFactory(network);
const poolToken = contractFactory.getPoolToken();