clayrab / snekCoin

An ERC20 coin with hot-swappable implementation using Byzantium's delegatecall

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Ethereum ERC20 which powers the backend of Blockchain Bridge.

The implementation of this coin can be upgraded by the owner by leveraging the delegatecall EVM instruction which was added in Byzantium. This type of behavior is not needed for most public blockchain projects but may be useful for Enterprises which have legal obligations to their users, enabling them to wrap a digital asset into a token while still maintaining complete control of the coin in case they must change the implementation or even revoke coins from users.

For more information on delegatecall, see this medium post:

https://medium.com/coinmonks/delegatecall-calling-another-contract-function-in-solidity-b579f804178c

About

An ERC20 coin with hot-swappable implementation using Byzantium's delegatecall


Languages

Language:Solidity 55.7%Language:JavaScript 43.5%Language:Dockerfile 0.7%Language:Shell 0.1%