Closed 0xdcota closed 2 years ago
The functionsbatchLiquidate(), flashBatchLiquidate(), andflashclose(), in the FliquidatorFTM.sol are not updating the state of the NFTGame.sol, after previous fixes due to game.isValidVault(address(this)) conditional below:
batchLiquidate()
flashBatchLiquidate()
flashclose()
game.isValidVault(address(this))
https://github.com/Fujicracy/fuji/blob/f126f2b4ffb28f44a3e31d1e8ad8520483b5ce13/packages/hardhat/contracts/fantom/FliquidatorFTM.sol#L665
Since FliquidatorFTM.sol address does not return true when called by isValidVault(address) in the NFTGame.sol show below: https://github.com/Fujicracy/fuji/blob/f126f2b4ffb28f44a3e31d1e8ad8520483b5ce13/packages/hardhat/contracts/fantom/nft-bonds/NFTGame.sol#L405-L415
isValidVault(address)
The functions
batchLiquidate()
,flashBatchLiquidate()
, andflashclose()
, in the FliquidatorFTM.sol are not updating the state of the NFTGame.sol, after previous fixes due togame.isValidVault(address(this))
conditional below:https://github.com/Fujicracy/fuji/blob/f126f2b4ffb28f44a3e31d1e8ad8520483b5ce13/packages/hardhat/contracts/fantom/FliquidatorFTM.sol#L665
Since FliquidatorFTM.sol address does not return true when called by
isValidVault(address)
in the NFTGame.sol show below: https://github.com/Fujicracy/fuji/blob/f126f2b4ffb28f44a3e31d1e8ad8520483b5ce13/packages/hardhat/contracts/fantom/nft-bonds/NFTGame.sol#L405-L415