Skip to content

Commit

Permalink
Feat/oauth mvp test (#93)
Browse files Browse the repository at this point in the history
* Implement ERC20 functions.

* Add test cases that's not implemented yet.

* Update _execute function.
If caller calls another function which is not a basic ERC20 function, _execute allows user's action.

* Update _checkAllowanceReduction.
It checks the difference between amount in callData and tokenAmount

* Add return line into _execute function.

* Simplify Wallet and add failing test cases

* Feat/oauth mvp allowance (#88)

* Implement ERC20 functions.

* Add test cases that's not implemented yet.

* Update _execute function.
If caller calls another function which is not a basic ERC20 function, _execute allows user's action.

* Update _checkAllowanceReduction.
It checks the difference between amount in callData and tokenAmount

* Add return line into _execute function.

* Simplify Wallet and add failing test cases

---------

Co-authored-by: SoraSuegami <[email protected]>

* Modify subject templates for oauth.

* Fix _parseSigninSubjectParams and add test cases into OauthExtensionCommandTest.

* Add revert test cases.

* Fix tests

---------

Co-authored-by: SoraSuegami <[email protected]>
  • Loading branch information
wshino and SoraSuegami authored Sep 29, 2024
1 parent ce7b670 commit 848b2bf
Showing 1 changed file with 865 additions and 12 deletions.
Loading

0 comments on commit 848b2bf

Please sign in to comment.