Crate casper_erc20[][src]

Expand description

A library for developing ERC20 tokens for the Casper network.

The main functionality is provided via the ERC20 struct, and is intended to be consumed by a smart contract written to be deployed on the Casper network.

To create an example ERC20 contract which uses this library, use the cargo-casper tool:

cargo install cargo-casper
cargo casper --erc20 <PATH TO NEW PROJECT>

Modules

Constants used by the ERC20 contract.

Contains definition of the entry points.

Structs

Implementation of ERC20 standard functionality.

Enums

An enum representing an AccountHash or a ContractPackageHash.

Errors which can be returned by the library.