Struct near_primitives_core::runtime::fees::EvmCostConfig [−][src]
Describe cost of evm
Fields
bootstrap_cost: Gas
Base cost of instantiate an evm instance for any evm operation
deploy_cost_per_evm_gas: Gas
For every unit of gas used by evm in deploy evm contract, equivalent near gas cost
deploy_cost_per_byte: Gas
For every byte of evm contract, result near gas cost
funcall_cost_base: Gas
For bootstrapped evm, base cost to invoke a contract function
funcall_cost_per_evm_gas: Gas
For every unit of gas used by evm in funcall, equivalent near gas cost
precompile_costs: EvmPrecompileCostConfig
Evm precompiled function costs
Trait Implementations
impl Clone for EvmCostConfig
[src]
fn clone(&self) -> EvmCostConfig
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for EvmCostConfig
[src]
impl Default for EvmCostConfig
[src]
impl<'de> Deserialize<'de> for EvmCostConfig
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl Eq for EvmCostConfig
[src]
impl Hash for EvmCostConfig
[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<EvmCostConfig> for EvmCostConfig
[src]
fn eq(&self, other: &EvmCostConfig) -> bool
[src]
fn ne(&self, other: &EvmCostConfig) -> bool
[src]
impl Serialize for EvmCostConfig
[src]
fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer,
[src]
__S: Serializer,
impl StructuralEq for EvmCostConfig
[src]
impl StructuralPartialEq for EvmCostConfig
[src]
Auto Trait Implementations
impl RefUnwindSafe for EvmCostConfig
[src]
impl Send for EvmCostConfig
[src]
impl Sync for EvmCostConfig
[src]
impl Unpin for EvmCostConfig
[src]
impl UnwindSafe for EvmCostConfig
[src]
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>,