Module cost

Source

Structs§

ActionCostsIter
An iterator over the variants of Self
ExtCostsConfig
ExtCostsIter
An iterator over the variants of Self
Fee
Costs associated with an object that can only be sent over the network (and executed by the receiver). NOTE: send_sir or send_not_sir fees are usually burned when the item is being created. And execution fee is burned when the item is being executed.
ParameterCost
RuntimeFeesConfig
StorageUsageConfig
Describes cost of storage per block

Enums§

ActionCosts
ExtCosts
Strongly-typed representation of the fees for counting.

Functions§

transfer_exec_fee
Helper functions for computing Transfer fees. In case of implicit account creation they include extra fees for the CreateAccount and AddFullAccessKey (for Utility account only) actions that are implicit. We can assume that no overflow will happen here.
transfer_send_fee