(amount: BN)
| 145 | }; |
| 146 | |
| 147 | export const stake = async (amount: BN) => { |
| 148 | const tx = await stakeTx(payer.publicKey, stakingMint, amount, new BN(TEST_POOL_ID), solConnection, program); |
| 149 | |
| 150 | await execTx(tx, solConnection, payer); |
| 151 | }; |
| 152 | |
| 153 | export const harvest = async () => { |
| 154 | const tx = await harvestTx(payer.publicKey, stakingMint, new BN(TEST_POOL_ID), TEST_TOKEN_PRICE, TEST_SOL_PRICE, solConnection, program); |
no test coverage detected