ERC20 tokens are Ethereum-based standard tokens that can be traded and transferred on the Ethereum network. But the essence of ERC20 is based on the EOA wallet design. EOA wallet has no state and code storage, and the smart contract wallet is different.
Almost all ERCs related to tokens are adding functions, our opinion is the opposite, we think the token contract should be simpler, more functions are taken care of by the smart contract wallet.
Our proposal is to design a simpler token asset based on the smart contract wallet,
It aims to achieve the following goals:
- Keep the asset contract simple, only need to be responsible for the transaction function
- approve and allowance functions are not managed by the token contract , approve and allowance should be configured at the user level instead of controlled by the asset contract, increasing the user’s more playability , while avoiding part of the ERC20 contract risk.
- Remove the transferForm function, and a better way to call the other party’s token assets is to access the other party’s own contract instead of directly accessing the token asset contract.
- Forward compatibility with ERC20 means that all fungible tokens can be compatible with this proposal.
The third party calls the user’s token transaction
Judges whether the receiving address is safe
permit extension for signed approvals
authorizes the distribution of the user’s own assets
and adds the transfer hook function.
The above work should be handled by the user’s smart contract wallet, rather than the token contract itself.
this EIP is forward compatible with ERC-20. ERC-20 is backward compatible with this EIP.
I want to hear everyone’s opinions.