smart_contract icon indicating copy to clipboard operation
smart_contract copied to clipboard

ECR223 test cases

Open mmhh1910 opened this issue 7 years ago • 0 comments

With the added ECR223 compatibility we need test cases for the following:

  • Use approve and depositToken to deposit an ECR223 token into the FD contract. Expected: Updated user token balance
  • Use Token.transfer to deposit an ECR223 token into the FD contract. Expected: Updated user token balance.
  • Use approve and depositToken to deposit an ECR223 token that fails to implement approve/transferFrom into the FD contract. Expected: Sender does not lose funds
  • Use Token.transfer to deposit an ECR223 token that fails to implement approve/transferFrom into the FD contract. Expected: Updated user token balance.

mmhh1910 avatar Mar 09 '18 07:03 mmhh1910