foundry-rs / foundry-rs/foundry

feat(cast): ask for confirmation on erc20-token transfer

Open
#12,402 14 comments 0 reactions 1 assignee Claimed by @Syzygy106 View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.