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

Method construct

contracts/erc20/src/lib.rs:17–19  ·  view source on GitHub ↗
(name: String, symbol: String)

Source from the content-addressed store, hash-verified

15
16impl Contract for Erc20 {
17 fn construct(name: String, symbol: String) {
18 println!("name {}, symbol", symbol);
19 }
20
21 fn mint(account: String, amount: u64) {
22 println!("account {}, amount", amount);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected