near-api-js - v7.0.4
    Preparing search index...

    Type Alias VmConfigView

    type VmConfigView = {
        deterministic_account_ids?: boolean;
        discard_custom_sections?: boolean;
        eth_implicit_accounts?: boolean;
        ext_costs?: ExtCostsConfigView;
        fix_contract_loading_cost?: boolean;
        global_contract_host_fns?: boolean;
        grow_mem_cost?: number;
        implicit_account_creation?: boolean;
        limit_config?: LimitConfig;
        linear_op_base_cost?: number;
        linear_op_unit_cost?: number;
        reftypes_bulk_memory?: boolean;
        regular_op_cost?: number;
        saturating_float_to_int?: boolean;
        storage_get_mode?: StorageGetMode;
        vm_kind?: VmKind;
    }
    Index

    Properties

    deterministic_account_ids?: boolean
    discard_custom_sections?: boolean
    eth_implicit_accounts?: boolean
    ext_costs?: ExtCostsConfigView

    Costs for runtime externals

    fix_contract_loading_cost?: boolean
    global_contract_host_fns?: boolean
    grow_mem_cost?: number

    Gas cost of a growing memory by single page.

    implicit_account_creation?: boolean

    Deprecated

    limit_config?: LimitConfig

    Describes limits for VM and Runtime.

    TODO: Consider changing this to VMLimitConfigView to avoid dependency on runtime.

    linear_op_base_cost?: number

    Base gas cost of a linear operation

    linear_op_unit_cost?: number

    Unit gas cost of a linear operation

    reftypes_bulk_memory?: boolean
    regular_op_cost?: number

    Gas cost of a regular operation.

    saturating_float_to_int?: boolean
    storage_get_mode?: StorageGetMode
    vm_kind?: VmKind