We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Pool Curve integration
1 parent e81b121 commit 3fa4b4eCopy full SHA for 3fa4b4e
test/integration/poolExchanges.test.ts
@@ -2,13 +2,13 @@ import { upgradeSuite } from './suite'
2
import { TrueFiPool__factory } from 'contracts'
3
import { expect, use } from 'chai'
4
import { solidity } from 'ethereum-waffle'
5
+import { parseUnits } from '@ethersproject/units'
6
7
use(solidity)
8
9
describe('Pool Curve integration', () => {
10
it('deposit TUSD to Curve', async () => {
11
const pool = await upgradeSuite(TrueFiPool__factory, '0xa1e72267084192Db7387c8CC1328fadE470e4149', [])
- const tusdBalance = await pool.currencyBalance()
12
- await expect(pool.flush(tusdBalance)).to.be.not.reverted
+ await expect(pool.flush(parseUnits('1000', 18))).to.be.not.reverted
13
})
14
0 commit comments