Struct near_primitives_core::runtime::fees::RuntimeFeesConfig [−][src]
pub struct RuntimeFeesConfig {
pub action_receipt_creation_config: Fee,
pub data_receipt_creation_config: DataReceiptCreationConfig,
pub action_creation_config: ActionCreationConfig,
pub storage_usage_config: StorageUsageConfig,
pub burnt_gas_reward: Rational,
pub pessimistic_gas_price_inflation_ratio: Rational,
}
Fields
action_receipt_creation_config: Fee
Describes the cost of creating an action receipt, ActionReceipt
, excluding the actual cost
of actions.
send
cost is burned when a receipt is created usingpromise_create
orpromise_batch_create
exec
cost is burned when the receipt is being executed.
data_receipt_creation_config: DataReceiptCreationConfig
Describes the cost of creating a data receipt, DataReceipt
.
action_creation_config: ActionCreationConfig
Describes the cost of creating a certain action, Action
. Includes all variants.
storage_usage_config: StorageUsageConfig
Describes fees for storage.
burnt_gas_reward: Rational
Fraction of the burnt gas to reward to the contract account for execution.
pessimistic_gas_price_inflation_ratio: Rational
Pessimistic gas price inflation ratio.
Implementations
The minimum amount of gas required to create and execute a new receipt with a function call action. This amount is used to determine how many receipts can be created, send and executed for some amount of prepaid gas using function calls.
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 RuntimeFeesConfig
impl Send for RuntimeFeesConfig
impl Sync for RuntimeFeesConfig
impl Unpin for RuntimeFeesConfig
impl UnwindSafe for RuntimeFeesConfig
Blanket Implementations
Mutably borrows from an owned value. Read more