Struct near_primitives_core::config::ExtCostsConfig [−][src]
Fields
base: Gas
Base cost for calling a host function.
contract_compile_base: Gas
Base cost of loading and compiling contract
contract_compile_bytes: Gas
Cost of the execution to load and compile contract
read_memory_base: Gas
Base cost for guest memory read
read_memory_byte: Gas
Cost for guest memory read
write_memory_base: Gas
Base cost for guest memory write
write_memory_byte: Gas
Cost for guest memory write per byte
read_register_base: Gas
Base cost for reading from register
read_register_byte: Gas
Cost for reading byte from register
write_register_base: Gas
Base cost for writing into register
write_register_byte: Gas
Cost for writing byte into register
utf8_decoding_base: Gas
Base cost of decoding utf8. It’s used for log_utf8
and panic_utf8
.
utf8_decoding_byte: Gas
Cost per byte of decoding utf8. It’s used for log_utf8
and panic_utf8
.
utf16_decoding_base: Gas
Base cost of decoding utf16. It’s used for log_utf16
.
utf16_decoding_byte: Gas
Cost per byte of decoding utf16. It’s used for log_utf16
.
sha256_base: Gas
Cost of getting sha256 base
sha256_byte: Gas
Cost of getting sha256 per byte
keccak256_base: Gas
Cost of getting sha256 base
keccak256_byte: Gas
Cost of getting sha256 per byte
keccak512_base: Gas
Cost of getting sha256 base
keccak512_byte: Gas
Cost of getting sha256 per byte
log_base: Gas
Cost for calling logging.
log_byte: Gas
Cost for logging per byte
storage_write_base: Gas
Storage trie write key base cost
storage_write_key_byte: Gas
Storage trie write key per byte cost
storage_write_value_byte: Gas
Storage trie write value per byte cost
storage_write_evicted_byte: Gas
Storage trie write cost per byte of evicted value.
storage_read_base: Gas
Storage trie read key base cost
storage_read_key_byte: Gas
Storage trie read key per byte cost
storage_read_value_byte: Gas
Storage trie read value cost per byte cost
storage_remove_base: Gas
Remove key from trie base cost
storage_remove_key_byte: Gas
Remove key from trie per byte cost
storage_remove_ret_value_byte: Gas
Remove key from trie ret value byte cost
storage_has_key_base: Gas
Storage trie check for key existence cost base
storage_has_key_byte: Gas
Storage trie check for key existence per key byte
storage_iter_create_prefix_base: Gas
Create trie prefix iterator cost base
storage_iter_create_prefix_byte: Gas
Create trie prefix iterator cost per byte.
storage_iter_create_range_base: Gas
Create trie range iterator cost base
storage_iter_create_from_byte: Gas
Create trie range iterator cost per byte of from key.
storage_iter_create_to_byte: Gas
Create trie range iterator cost per byte of to key.
storage_iter_next_base: Gas
Trie iterator per key base cost
storage_iter_next_key_byte: Gas
Trie iterator next key byte cost
storage_iter_next_value_byte: Gas
Trie iterator next key byte cost
touching_trie_node: Gas
Cost per touched trie node
promise_and_base: Gas
Cost for calling promise_and
promise_and_per_promise: Gas
Cost for calling promise_and
for each promise
promise_return: Gas
Cost for calling promise_return
validator_stake_base: Gas
Cost of calling validator_stake
.
validator_total_stake_base: Gas
Cost of calling validator_total_stake
.
Trait Implementations
impl Clone for ExtCostsConfig
[src]
fn clone(&self) -> ExtCostsConfig
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for ExtCostsConfig
[src]
impl Default for ExtCostsConfig
[src]
fn default() -> ExtCostsConfig
[src]
impl<'de> Deserialize<'de> for ExtCostsConfig where
ExtCostsConfig: Default,
[src]
ExtCostsConfig: Default,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl Eq for ExtCostsConfig
[src]
impl Hash for ExtCostsConfig
[src]
fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
pub fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
impl PartialEq<ExtCostsConfig> for ExtCostsConfig
[src]
fn eq(&self, other: &ExtCostsConfig) -> bool
[src]
fn ne(&self, other: &ExtCostsConfig) -> bool
[src]
impl Serialize for ExtCostsConfig
[src]
fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer,
[src]
__S: Serializer,
impl StructuralEq for ExtCostsConfig
[src]
impl StructuralPartialEq for ExtCostsConfig
[src]
Auto Trait Implementations
impl RefUnwindSafe for ExtCostsConfig
impl Send for ExtCostsConfig
impl Sync for ExtCostsConfig
impl Unpin for ExtCostsConfig
impl UnwindSafe for ExtCostsConfig
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,