Skip to main content

load_account_delegated_handle_error

Function load_account_delegated_handle_error 

pub fn load_account_delegated_handle_error<H>(
    context: &mut InstructionContext<'_, H, impl InterpreterTypes>,
    to: Address,
    transfers_value: bool,
    create_empty_account: bool,
) -> Option<(u64, u64, Bytecode, FixedBytes<32>)>
where H: Host + ?Sized,
Expand description

Loads accounts and its delegate account.

Returns (regular_gas_cost, state_gas_cost, bytecode, code_hash).