Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

馃獧 ERC223 #628

Open
z0r0z opened this issue Sep 30, 2023 · 1 comment
Open

馃獧 ERC223 #628

z0r0z opened this issue Sep 30, 2023 · 1 comment

Comments

@z0r0z
Copy link
Collaborator

z0r0z commented Sep 30, 2023

After more than 6 years in EIP hell it looks like the madlad @Dexaran finally got ERC-223: Token with transaction handling model published as a token standard interface. Wdwt as to inclusion as optimized reference~~

Pros:

  • Simple.
  • Lowass number (223).
  • Optimal for defi with send receipts.

Cons:

  • Hafta implement bespoke receivers.
  • Prob some security minded stuff but,
    it has been review for 6 years, seems ok.
@Dexaran
Copy link

Dexaran commented Oct 2, 2023

FYI here you can find more info regarding ERC-223 as well as some old discussions https://dexaran.github.io/erc223/

Regarding security considerations -

  • ERC-20 is not secure. It resulted in $130M worth of tokens being lost. So, ERC-223 is exactly a "security patch" for ERC-20 standard.

  • Reentrancy issues must be taken into account when dealing with ERC-223 tokens. ERC-223 makes "tokens" behave identical to "ether".

  • tokenReceived function must be invoked AFTER the balance change in the token contract.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants