Univ3Test.ts 410 B

123456789101112131415161718
  1. import {ethers} from "hardhat";
  2. import { network } from "hardhat";
  3. describe('Univ3 Test', () => {
  4. it('Parse ether test', async () => {
  5. console.log(ethers.utils.parseEther('2.123456789'))
  6. })
  7. it('Get block number test', async () => {
  8. console.log(await ethers.provider.getBlockNumber())
  9. })
  10. // it('Get balance test', async () => {
  11. // console.log(ethers.provider.getBalance())
  12. // })
  13. })