Skip to content

Commit

Permalink
More doc touch ups
Browse files Browse the repository at this point in the history
  • Loading branch information
miohtama committed Jan 16, 2024
1 parent 8f3a2d9 commit 7544cb8
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions contracts/guard/README.md
Original file line number Diff line number Diff line change
@@ -33,14 +33,14 @@ It can be used with any asset management protocol e.g.
Examples of protected activities that asset manager must be whitelisted to do:

- Every smart contract call must be whitelisted: `validateCall`
- Sending and receiving whitelisted tokens:
- approve() to whitelisted addresses `validate_approve`
- Sending and receiving whitelisted tokens
- approve() to whitelisted addresses: `validate_approve`
- transfer() to whitelisted addresses: `validate_transfer`
- Check inside Uniswap v2 trades (path contains only whitelisted tokens): `validate_swapTokensForExactTokens`
- .... other checks here
- .... TODO other checks here

`GuardV0` does not offer any slippage protection, and this is assumed to be encoded
within the trades (swapTokensForExactTokens arguments).
within the trades e.g. in swapTokensForExactTokens arguments.

### Supported guard integrations

0 comments on commit 7544cb8

Please sign in to comment.