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

Function params_2

runtime/src/contract.rs:78–80  ·  view source on GitHub ↗
(address: &'a String)

Source from the content-addressed store, hash-verified

76 const PARAMS_1: &[&str] = &["String", "Rust Coin", "String", "RustCoin"];
77
78 fn params_2<'a>(address: &'a String) -> [&'a str; 4] {
79 ["String", &address, "U64", "10"]
80 }
81
82 #[test]
83 fn it_loads_a_contract() {

Callers 2

it_parses_u64_paramsFunction · 0.85

Calls

no outgoing calls

Tested by 2

it_parses_u64_paramsFunction · 0.68