| 1234567891011121314 |
- import {web3} from "hardhat";
- import fee from "../config/fee";
- import contracts from "../config/contracts";
- describe('Calc test', () => {
- it('Univ3 swap test', async () => {
- const Calc_ABI = require('../abi/Calc_ABI').default
- let calc = new web3.eth.Contract(Calc_ABI, contracts.CALC)
- // 1450752979
- console.log(await calc.methods.getQuote(contracts.WETH, 1e15, contracts.HEX, fee._30_per_10000).call())
- })
- })
|