You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
**Motivation**
We want to be able to use the interface of `ERC20` transfers via cli.
**Description**
* The `transfer` function in `sdk/src/sdk.rs` is refactored to accept an
optional `calldata` argument and to use the provided `Overrides` value
directly, enabling both native and ERC20 token transfers.
* The CLI transfer commands now construct ERC20 transfer transactions by
encoding the `transfer(address,uint256)` calldata when a token address
is provided, and set the transfer value to zero.
0 commit comments