[][src]Struct near_runtime_fees::ActionCreationConfig

pub struct ActionCreationConfig {
    pub create_account_cost: Fee,
    pub deploy_contract_cost: Fee,
    pub deploy_contract_cost_per_byte: Fee,
    pub function_call_cost: Fee,
    pub function_call_cost_per_byte: Fee,
    pub transfer_cost: Fee,
    pub stake_cost: Fee,
    pub add_key_cost: AccessKeyCreationConfig,
    pub delete_key_cost: Fee,
    pub delete_account_cost: Fee,
}

Describes the cost of creating a specific action, Action. Includes all variants.

Fields

create_account_cost: Fee

Base cost of creating an account.

deploy_contract_cost: Fee

Base cost of deploying a contract.

deploy_contract_cost_per_byte: Fee

Cost per byte of deploying a contract.

function_call_cost: Fee

Base cost of calling a function.

function_call_cost_per_byte: Fee

Cost per byte of method name and arguments of calling a function.

transfer_cost: Fee

Base cost of making a transfer.

stake_cost: Fee

Base cost of staking.

add_key_cost: AccessKeyCreationConfig

Base cost of adding a key.

delete_key_cost: Fee

Base cost of deleting a key.

delete_account_cost: Fee

Base cost of deleting an account.

Trait Implementations

impl Clone for ActionCreationConfig[src]

impl Debug for ActionCreationConfig[src]

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

impl Eq for ActionCreationConfig[src]

impl Hash for ActionCreationConfig[src]

impl PartialEq<ActionCreationConfig> for ActionCreationConfig[src]

impl Serialize for ActionCreationConfig[src]

impl StructuralEq for ActionCreationConfig[src]

impl StructuralPartialEq for ActionCreationConfig[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> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

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

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

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

type Owned = T

The resulting type after obtaining ownership.

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.