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

Function get_contract

web3/src/helpers.rs:28–30  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

26 }
27
28 pub fn get_contract() -> Vec<u8> {
29 include_bytes!("./../../target/wasm32-unknown-unknown/release/erc20_wit.wasm").to_vec()
30 }
31
32 pub async fn increment_account_1_nonce() -> U256 {
33 let nonce = *ACCOUNT_1_NONCE.lock().await + U256::from(1);

Callers 1

deploy_contractFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected