Type Definition ssvm_evmc_sys::evmc_get_balance_fn [−][src]
pub type evmc_get_balance_fn = Option<unsafe extern "C" fn(context: *mut evmc_context, address: *const evmc_address) -> evmc_uint256be>;
Expand description
Get balance callback function.
This callback function is used by a VM to query the balance of the given account.
@param context The pointer to the Host execution context. @param address The address of the account. @return The balance of the given account or 0 if the account does not exist.