MCPcopy Create free account
hub / github.com/ddimaria/rust-blockchain-tutorial / State

Class State

contracts/erc20/src/lib.rs:8–12  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

6pub struct Erc20;
7
8pub struct State {
9 name: String,
10 symbol: String,
11 balances: HashMap<String, u64>,
12}
13
14export_contract!(Erc20);
15

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected