assess_risk
Analyze DeFi transaction safety by scanning contracts, simulating outcomes, and checking tokens to provide go/no-go recommendations before interactions.
Instructions
Comprehensive risk assessment combining contract scanning, transaction simulation, and token checks. This is the recommended all-in-one safety check before any DeFi interaction. Returns a go/no-go recommendation.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | Type of action being assessed | |
| targetContract | Yes | The contract being interacted with | |
| chainId | No | Chain ID | |
| from | Yes | The agent's wallet address | |
| transactionData | No | Calldata for the transaction (hex) | |
| value | No | ETH value (in wei) | 0 |
| tokenAddress | No | Token address if this involves a token swap |