Struct near_primitives_core::runtime::fees::ActionCreationConfig [−][src]
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,
}
Expand description
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
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for ActionCreationConfig
impl Send for ActionCreationConfig
impl Sync for ActionCreationConfig
impl Unpin for ActionCreationConfig
impl UnwindSafe for ActionCreationConfig
Blanket Implementations
Mutably borrows from an owned value. Read more