SoyFinance / smart-contracts

11 stars 9 forks source link

Critical: function executions fail #11

Closed Dexaran closed 3 years ago

Dexaran commented 3 years ago

Report for commit https://github.com/SoyFinance/smart-contracts/tree/91bf74687f966acbf3c70313ca00d8b154bfb95f

Function executions fail:

  1. Withdraw: https://explorer.callisto.network/tx/0xa35bbb04efdc89137d237ea99991651ddb3a86fe8082fdcf4ec2aab8202cd452/internal-transactions

  2. claimReward: https://explorer.callisto.network/tx/0xd41a26ccfe6077cbe2e645ba41d258df132fcc2841930e4f99203cf0789fafc1/internal-transactions

  3. Exit: https://explorer.callisto.network/tx/0x8743d686a54c0788e4f7bafde80e29aa2bb0701b020dc76105bada924e818b7a/internal-transactions

  4. Function earned also fails to return any value which indicates internal execution error: https://github.com/SoyFinance/smart-contracts/blob/91bf74687f966acbf3c70313ca00d8b154bfb95f/Farming/SOYStakingRewards.sol#L267-L269

Dexaran commented 3 years ago

Not relevant since https://github.com/SoyFinance/smart-contracts/commit/8ac3f514ce99dfed2449103171c28f8eaf98a675