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

Clean up the ERC20 contract #58

Closed RitaMAllenCA closed 1 year ago

RitaMAllenCA commented 1 year ago

Currently, the ERC20 test contract in the ERC20 Repo contains unsafe code. The below comments from the contract contains the details.

The aim of this ticket is to analyse the contract, remove unsafe code and update the example contract to align to Casper's Token Standards.

Comments in the example contract;

This can all be addressed if we flatten ERC20 implementation in the style of the cep-78 implementation i.e. a simple contract and no library.

the deliverable should be a contract repo with one straightforward contract implementation and integration tests