Module near_contract_tools::utils
source · Expand description
Utility functions for storage key generation, storage fee management
Functions
Calculates the storage fee of an action, given an initial storage amount,
and refunds the predecessor a portion of the attached deposit if necessary.
Returns refund Promise if refund was applied.
Concatenate bytes to form a key. Useful for generating storage keys.