Skip to content

E-RC20 -- the E is for Event! Cursed as an Egyptian mummy on Friday the 13th

License

Notifications You must be signed in to change notification settings

devtooligan/E-VENT-RC20.sol

Repository files navigation

DISCLAIMER: This is experimental code, aka joke or trolling code. It is not meant to be used for production or taken seriously at all.

@devtooligan supports creative experimentation on the blockchain as a path towards innovation.

E-VENT-RC20.SOL

A hyper-cursed ERC20 implementation where all of the logic lives inside the arguments of function calls to emit().

Authored by @danielvf, a Baphomet witch and master of curses. His original incantation here.

tldr;

This pattern was used in ArtGobblers for "brevity". Note: This is not intended as a gas optimization!

Horsefacts and I started joking about it and taking it to the extreme. Months later it resurfaced with a tweet from Ross and I decided to put a 0.1 eth bounty out for an ERC20 implmentation with all logic in emit() that passes Solmate tests.

In case you're confused (and you should be), heres some Twitter threads:

About

E-RC20 -- the E is for Event! Cursed as an Egyptian mummy on Friday the 13th

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors