@white-matrix/water-finance-sdk
v0.2.8
Published
water finance contract sdk
Downloads
17
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();