foundry-rs / foundry-rs/foundry
feat(cast): ask for confirmation on erc20-token transfer
Open
C-cast
T-feature
- Dominant language
- Rust
- Stars
- 10.6k
- Forks
- 2.6k
- Avg merge
- 18h 20m
- Merged PRs (30d)
- 510
Description
### Component
Cast
### Describe the feature you would like
Would be nice to have a safe check when we retrieve decimals and token name from erc20 contract and promp something like:
```
Confirm transfer of 10 TOKEN to address 0x...[y/n]
```
With prompting original amount / address if we cannot retrieve decimals or token name from contract.
### Additional context
_No response_
Contributor guide
Assessment
This issue has not been assessed yet.