Test env. commands
// example: get pool info
$ yarn hardhat pool:info 0xe7de38237a4ED33fbf30f5aaD683F99Bc6c15817
┌────────────────────────────────────────────┬────────┬────────┬─────────┬────────────┬───────────────────────────┬───────────────────────────┬────────────────────┐
│ pool Address │ token0 │ token1 │ swapFee │ priceRatio │ reserve0 │ reserve1 │ totalValueLock ($) │
├────────────────────────────────────────────┼────────┼────────┼─────────┼────────────┼───────────────────────────┼───────────────────────────┼────────────────────┤
│ 0xe7de38237a4ED33fbf30f5aaD683F99Bc6c15817 │ KDAI │ WKLAY │ 0.002 │ 0.92336 │ 1052510019943583677983227 │ 1000189271702431420936569 │ 2142716 │
└────────────────────────────────────────────┴────────┴────────┴─────────┴────────────┴───────────────────────────┴───────────────────────────┴────────────────────┘tasks
accounts
yarn hardhat accounts
┌───────────────┬────────────────────────────────────────────┬───────────────────────────────┐
│ name │ address │ balance │
├───────────────┼────────────────────────────────────────────┼───────────────────────────────┤
│ deployer │ 0xf39Fd6e51aad88F6F4ce6aB8827279cffFb92266 │ 9999999329713343500000000000 │
├───────────────┼────────────────────────────────────────────┼───────────────────────────────┤
│ dev │ 0x70997970C51812dc3A010C7d01b50e0d17dc79C8 │ 10000000000000000000000000000 │
├───────────────┼────────────────────────────────────────────┼───────────────────────────────┤
│ user100 │ 0x90F79bf6EB2c4f870365E785982E1f101E93b906 │ 9998999998657649250000000000 │
├───────────────┼────────────────────────────────────────────┼───────────────────────────────┤addresses
dashboard:tokens
dashboard:pools
dashboard:positions
pool:create
position:mint
position:addLiquidity
position:burn
position:collect
swap:exactInputSingle
swap:exactOutputSingle
erc20:balanceOf
erc20:faucet
Last updated