Struct casper_execution_engine::shared::host_function_costs::HostFunctionCosts[][src]

pub struct HostFunctionCosts {
Show fields pub read_value: HostFunction<[Cost; 3]>, pub read_value_local: HostFunction<[Cost; 3]>, pub write: HostFunction<[Cost; 4]>, pub write_local: HostFunction<[Cost; 4]>, pub add: HostFunction<[Cost; 4]>, pub new_uref: HostFunction<[Cost; 3]>, pub load_named_keys: HostFunction<[Cost; 2]>, pub ret: HostFunction<[Cost; 2]>, pub get_key: HostFunction<[Cost; 5]>, pub has_key: HostFunction<[Cost; 2]>, pub put_key: HostFunction<[Cost; 4]>, pub remove_key: HostFunction<[Cost; 2]>, pub revert: HostFunction<[Cost; 1]>, pub is_valid_uref: HostFunction<[Cost; 2]>, pub add_associated_key: HostFunction<[Cost; 3]>, pub remove_associated_key: HostFunction<[Cost; 2]>, pub update_associated_key: HostFunction<[Cost; 3]>, pub set_action_threshold: HostFunction<[Cost; 2]>, pub get_caller: HostFunction<[Cost; 1]>, pub get_blocktime: HostFunction<[Cost; 1]>, pub create_purse: HostFunction<[Cost; 2]>, pub transfer_to_account: HostFunction<[Cost; 7]>, pub transfer_from_purse_to_account: HostFunction<[Cost; 9]>, pub transfer_from_purse_to_purse: HostFunction<[Cost; 8]>, pub get_balance: HostFunction<[Cost; 3]>, pub get_phase: HostFunction<[Cost; 1]>, pub get_system_contract: HostFunction<[Cost; 3]>, pub get_main_purse: HostFunction<[Cost; 1]>, pub read_host_buffer: HostFunction<[Cost; 3]>, pub create_contract_package_at_hash: HostFunction<[Cost; 2]>, pub create_contract_user_group: HostFunction<[Cost; 8]>, pub add_contract_version: HostFunction<[Cost; 10]>, pub disable_contract_version: HostFunction<[Cost; 4]>, pub call_contract: HostFunction<[Cost; 7]>, pub call_versioned_contract: HostFunction<[Cost; 9]>, pub get_named_arg_size: HostFunction<[Cost; 3]>, pub get_named_arg: HostFunction<[Cost; 4]>, pub remove_contract_user_group: HostFunction<[Cost; 4]>, pub provision_contract_user_group_uref: HostFunction<[Cost; 5]>, pub remove_contract_user_group_urefs: HostFunction<[Cost; 6]>, pub print: HostFunction<[Cost; 2]>, pub blake2b: HostFunction<[Cost; 4]>,
}

Fields

read_value: HostFunction<[Cost; 3]>read_value_local: HostFunction<[Cost; 3]>write: HostFunction<[Cost; 4]>write_local: HostFunction<[Cost; 4]>add: HostFunction<[Cost; 4]>new_uref: HostFunction<[Cost; 3]>load_named_keys: HostFunction<[Cost; 2]>ret: HostFunction<[Cost; 2]>get_key: HostFunction<[Cost; 5]>has_key: HostFunction<[Cost; 2]>put_key: HostFunction<[Cost; 4]>remove_key: HostFunction<[Cost; 2]>revert: HostFunction<[Cost; 1]>is_valid_uref: HostFunction<[Cost; 2]>add_associated_key: HostFunction<[Cost; 3]>remove_associated_key: HostFunction<[Cost; 2]>update_associated_key: HostFunction<[Cost; 3]>set_action_threshold: HostFunction<[Cost; 2]>get_caller: HostFunction<[Cost; 1]>get_blocktime: HostFunction<[Cost; 1]>create_purse: HostFunction<[Cost; 2]>transfer_to_account: HostFunction<[Cost; 7]>transfer_from_purse_to_account: HostFunction<[Cost; 9]>transfer_from_purse_to_purse: HostFunction<[Cost; 8]>get_balance: HostFunction<[Cost; 3]>get_phase: HostFunction<[Cost; 1]>get_system_contract: HostFunction<[Cost; 3]>get_main_purse: HostFunction<[Cost; 1]>read_host_buffer: HostFunction<[Cost; 3]>create_contract_package_at_hash: HostFunction<[Cost; 2]>create_contract_user_group: HostFunction<[Cost; 8]>add_contract_version: HostFunction<[Cost; 10]>disable_contract_version: HostFunction<[Cost; 4]>call_contract: HostFunction<[Cost; 7]>call_versioned_contract: HostFunction<[Cost; 9]>get_named_arg_size: HostFunction<[Cost; 3]>get_named_arg: HostFunction<[Cost; 4]>remove_contract_user_group: HostFunction<[Cost; 4]>provision_contract_user_group_uref: HostFunction<[Cost; 5]>remove_contract_user_group_urefs: HostFunction<[Cost; 6]>print: HostFunction<[Cost; 2]>blake2b: HostFunction<[Cost; 4]>

Trait Implementations

impl Clone for HostFunctionCosts[src]

impl Copy for HostFunctionCosts[src]

impl DataSize for HostFunctionCosts[src]

impl Debug for HostFunctionCosts[src]

impl Default for HostFunctionCosts[src]

impl<'de> Deserialize<'de> for HostFunctionCosts[src]

impl Eq for HostFunctionCosts[src]

impl FromBytes for HostFunctionCosts[src]

impl PartialEq<HostFunctionCosts> for HostFunctionCosts[src]

impl Serialize for HostFunctionCosts[src]

impl StructuralEq for HostFunctionCosts[src]

impl StructuralPartialEq for HostFunctionCosts[src]

impl ToBytes for HostFunctionCosts[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Conv for T

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> Downcast for T where
    T: Any

impl<T> DowncastSync for T where
    T: Any + Send + Sync

impl<T> DynClone for T where
    T: Clone
[src]

impl<Q, K> Equivalent<K> for Q where
    K: Borrow<Q> + ?Sized,
    Q: Eq + ?Sized
[src]

impl<T> FmtForward for T

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Pipe for T

impl<T> PipeAsRef for T

impl<T> PipeBorrow for T

impl<T> PipeDeref for T

impl<T> PipeRef for T

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> Tap for T

impl<T, U> TapAsRef<U> for T where
    U: ?Sized

impl<T, U> TapBorrow<U> for T where
    U: ?Sized

impl<T> TapDeref for T

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> TryConv for T

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,