Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update README.md #69

Closed
wants to merge 3 commits into from
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions allowances/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ Note: calling `setAllowance` will not change the `spent` value of an allowance.

## Transfer authorization

Transfer are authorized by the delegates and must be within their allowance. To authorize a transfer the delegate needs to generate a signature. The allowance module uses the same [signature scheme as the Gnosis Safe](https://docs.gnosis.io/safe/docs/contracts_signatures/), except that the allowance module does not support contract signatures or approved hashes.
Transfer are authorized by the delegates and must be within their allowance. To authorize a transfer the delegate needs to generate a signature. The allowance module uses the same [signature scheme as the Gnosis Safe](https://docs.safe.global/learn/safe-core/safe-core-protocol/signatures), except that the allowance module does not support contract signatures or approved hashes.

The allowance module signatures are EIP-712 based. And uses the following scheme:

Expand All @@ -40,6 +40,7 @@ The allowance module signatures are EIP-712 based. And uses the following scheme
"AllowanceTransfer": [
{ "type": "address", "name": "safe" },
{ "type": "address", "name": "token" },
{ "type": "address", "name": "to" },
{ "type": "uint96", "name": "amount" },
{ "type": "address", "name": "paymentToken" },
{ "type": "uint96", "name": "payment" },
Expand Down Expand Up @@ -121,4 +122,4 @@ yarn test
```bash
yarn
yarn compile
```
```