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

Function increment_account_1_nonce

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

Source from the content-addressed store, hash-verified

30 }
31
32 pub async fn increment_account_1_nonce() -> U256 {
33 let nonce = *ACCOUNT_1_NONCE.lock().await + U256::from(1);
34 *ACCOUNT_1_NONCE.lock().await = nonce;
35 nonce
36 }
37
38 pub async fn deploy_contract(simple: bool) -> H256 {
39 let web3 = web3();

Callers 3

transactionFunction · 0.85
deploy_contractFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected