Skip to main content

call_write_function

Function call_write_function 

Source
pub async fn call_write_function(
    contract: &Contract,
    wallet: &EthereumWallet,
    provider: &Provider<Http>,
    function_name: &str,
    args: Vec<Token>,
) -> Result<H256, CryptoError>
Expand description

Executes a state-changing function on a contract.