current position:Home>[reward credits] uniswap token pool rewards uni contract with error 'safeerc20: low level call failed'

[reward credits] uniswap token pool rewards uni contract with error 'safeerc20: low level call failed'

2022-02-03 23:28:05 Q & A of Denglian community

Test the deployed uniswap, Deployed to 【 Specify token pool time limited reward UNI】 Part of the function . Based on my understanding, the following two contracts are deployed :

  • StakingRewardsFactory
  • StakingRewards

But the test finally runs to Withdraw When the function withdraws liquidity , return Fail with error 'SafeERC20: low-level call failed' error message .

Failed transaction link :https://rinkeby.etherscan.io/tx/0x3570ed8b57e947319a51629f6dc54f33f34295300cf229ff13fc560d8fd4f7c4

I don't know if the deployment contract is correct ? Or some contract calls in the middle are not executed ? Please help answer the possible causes of this problem , thank you




Take the answer 1:

It should be the wrong address of the token contract .




copyright notice
author[Q & A of Denglian community],Please bring the original link to reprint, thank you.
https://en.netfreeman.com/2022/02/202202032328042936.html

Random recommended