casper-ecosystem / cep18

Implementation of ERC20 token for the CasperLabs platform.
https://casper.network/docs/dapp-dev-guide
Apache License 2.0
27 stars 46 forks source link

Address feedback on token ownership. #30

Closed mpapierski closed 3 years ago

mpapierski commented 3 years ago

This PR addresses @zie1ony's feedback on token ownership and also bumps the version to 0.2.0.

This change changes the ownership for stored contracts from their contract hash to their contract package. The concern here is that upgrading a "holder" contract would essentially lock the tokens and make them unusable. With changing the ownership into the package hash, then regardless of which version is calling, the ownership is maintained.