pub struct ExtCostsConfigView {Show 87 fields
pub alt_bn128_g1_multiexp_base: NearGas,
pub alt_bn128_g1_multiexp_element: NearGas,
pub alt_bn128_g1_sum_base: NearGas,
pub alt_bn128_g1_sum_element: NearGas,
pub alt_bn128_pairing_check_base: NearGas,
pub alt_bn128_pairing_check_element: NearGas,
pub base: NearGas,
pub bls12381_g1_multiexp_base: NearGas,
pub bls12381_g1_multiexp_element: NearGas,
pub bls12381_g2_multiexp_base: NearGas,
pub bls12381_g2_multiexp_element: NearGas,
pub bls12381_map_fp2_to_g2_base: NearGas,
pub bls12381_map_fp2_to_g2_element: NearGas,
pub bls12381_map_fp_to_g1_base: NearGas,
pub bls12381_map_fp_to_g1_element: NearGas,
pub bls12381_p1_decompress_base: NearGas,
pub bls12381_p1_decompress_element: NearGas,
pub bls12381_p1_sum_base: NearGas,
pub bls12381_p1_sum_element: NearGas,
pub bls12381_p2_decompress_base: NearGas,
pub bls12381_p2_decompress_element: NearGas,
pub bls12381_p2_sum_base: NearGas,
pub bls12381_p2_sum_element: NearGas,
pub bls12381_pairing_base: NearGas,
pub bls12381_pairing_element: NearGas,
pub contract_compile_base: NearGas,
pub contract_compile_bytes: NearGas,
pub contract_loading_base: NearGas,
pub contract_loading_bytes: NearGas,
pub ecrecover_base: NearGas,
pub ed25519_verify_base: NearGas,
pub ed25519_verify_byte: NearGas,
pub keccak256_base: NearGas,
pub keccak256_byte: NearGas,
pub keccak512_base: NearGas,
pub keccak512_byte: NearGas,
pub log_base: NearGas,
pub log_byte: NearGas,
pub promise_and_base: NearGas,
pub promise_and_per_promise: NearGas,
pub promise_return: NearGas,
pub read_cached_trie_node: NearGas,
pub read_memory_base: NearGas,
pub read_memory_byte: NearGas,
pub read_register_base: NearGas,
pub read_register_byte: NearGas,
pub ripemd160_base: NearGas,
pub ripemd160_block: NearGas,
pub sha256_base: NearGas,
pub sha256_byte: NearGas,
pub storage_has_key_base: NearGas,
pub storage_has_key_byte: NearGas,
pub storage_iter_create_from_byte: NearGas,
pub storage_iter_create_prefix_base: NearGas,
pub storage_iter_create_prefix_byte: NearGas,
pub storage_iter_create_range_base: NearGas,
pub storage_iter_create_to_byte: NearGas,
pub storage_iter_next_base: NearGas,
pub storage_iter_next_key_byte: NearGas,
pub storage_iter_next_value_byte: NearGas,
pub storage_large_read_overhead_base: NearGas,
pub storage_large_read_overhead_byte: NearGas,
pub storage_read_base: NearGas,
pub storage_read_key_byte: NearGas,
pub storage_read_value_byte: NearGas,
pub storage_remove_base: NearGas,
pub storage_remove_key_byte: NearGas,
pub storage_remove_ret_value_byte: NearGas,
pub storage_write_base: NearGas,
pub storage_write_evicted_byte: NearGas,
pub storage_write_key_byte: NearGas,
pub storage_write_value_byte: NearGas,
pub touching_trie_node: NearGas,
pub utf16_decoding_base: NearGas,
pub utf16_decoding_byte: NearGas,
pub utf8_decoding_base: NearGas,
pub utf8_decoding_byte: NearGas,
pub validator_stake_base: NearGas,
pub validator_total_stake_base: NearGas,
pub write_memory_base: NearGas,
pub write_memory_byte: NearGas,
pub write_register_base: NearGas,
pub write_register_byte: NearGas,
pub yield_create_base: NearGas,
pub yield_create_byte: NearGas,
pub yield_resume_base: NearGas,
pub yield_resume_byte: NearGas,
}Expand description
Typed view of ExtCostsConfig to preserve JSON output field names in protocol config RPC output.
JSON schema
{
"description": "Typed view of ExtCostsConfig to preserve JSON output field names in protocol\nconfig RPC output.",
"type": "object",
"required": [
"alt_bn128_g1_multiexp_base",
"alt_bn128_g1_multiexp_element",
"alt_bn128_g1_sum_base",
"alt_bn128_g1_sum_element",
"alt_bn128_pairing_check_base",
"alt_bn128_pairing_check_element",
"base",
"bls12381_g1_multiexp_base",
"bls12381_g1_multiexp_element",
"bls12381_g2_multiexp_base",
"bls12381_g2_multiexp_element",
"bls12381_map_fp2_to_g2_base",
"bls12381_map_fp2_to_g2_element",
"bls12381_map_fp_to_g1_base",
"bls12381_map_fp_to_g1_element",
"bls12381_p1_decompress_base",
"bls12381_p1_decompress_element",
"bls12381_p1_sum_base",
"bls12381_p1_sum_element",
"bls12381_p2_decompress_base",
"bls12381_p2_decompress_element",
"bls12381_p2_sum_base",
"bls12381_p2_sum_element",
"bls12381_pairing_base",
"bls12381_pairing_element",
"contract_compile_base",
"contract_compile_bytes",
"contract_loading_base",
"contract_loading_bytes",
"ecrecover_base",
"ed25519_verify_base",
"ed25519_verify_byte",
"keccak256_base",
"keccak256_byte",
"keccak512_base",
"keccak512_byte",
"log_base",
"log_byte",
"promise_and_base",
"promise_and_per_promise",
"promise_return",
"read_cached_trie_node",
"read_memory_base",
"read_memory_byte",
"read_register_base",
"read_register_byte",
"ripemd160_base",
"ripemd160_block",
"sha256_base",
"sha256_byte",
"storage_has_key_base",
"storage_has_key_byte",
"storage_iter_create_from_byte",
"storage_iter_create_prefix_base",
"storage_iter_create_prefix_byte",
"storage_iter_create_range_base",
"storage_iter_create_to_byte",
"storage_iter_next_base",
"storage_iter_next_key_byte",
"storage_iter_next_value_byte",
"storage_large_read_overhead_base",
"storage_large_read_overhead_byte",
"storage_read_base",
"storage_read_key_byte",
"storage_read_value_byte",
"storage_remove_base",
"storage_remove_key_byte",
"storage_remove_ret_value_byte",
"storage_write_base",
"storage_write_evicted_byte",
"storage_write_key_byte",
"storage_write_value_byte",
"touching_trie_node",
"utf16_decoding_base",
"utf16_decoding_byte",
"utf8_decoding_base",
"utf8_decoding_byte",
"validator_stake_base",
"validator_total_stake_base",
"write_memory_base",
"write_memory_byte",
"write_register_base",
"write_register_byte",
"yield_create_base",
"yield_create_byte",
"yield_resume_base",
"yield_resume_byte"
],
"properties": {
"alt_bn128_g1_multiexp_base": {
"description": "Base cost for multiexp",
"allOf": [
{
"$ref": "#/components/schemas/NearGas"
}
]
},
"alt_bn128_g1_multiexp_element": {
"description": "Per element cost for multiexp",
"allOf": [
{
"$ref": "#/components/schemas/NearGas"
}
]
},
"alt_bn128_g1_sum_base": {
"description": "Base cost for sum",
"allOf": [
{
"$ref": "#/components/schemas/NearGas"
}
]
},
"alt_bn128_g1_sum_element": {
"description": "Per element cost for sum",
"allOf": [
{
"$ref": "#/components/schemas/NearGas"
}
]
},
"alt_bn128_pairing_check_base": {
"description": "Base cost for pairing check",
"allOf": [
{
"$ref": "#/components/schemas/NearGas"
}
]
},
"alt_bn128_pairing_check_element": {
"description": "Per element cost for pairing check",
"allOf": [
{
"$ref": "#/components/schemas/NearGas"
}
]
},
"base": {
"description": "Base cost for calling a host function.",
"allOf": [
{
"$ref": "#/components/schemas/NearGas"
}
]
},
"bls12381_g1_multiexp_base": {
"$ref": "#/components/schemas/NearGas"
},
"bls12381_g1_multiexp_element": {
"$ref": "#/components/schemas/NearGas"
},
"bls12381_g2_multiexp_base": {
"$ref": "#/components/schemas/NearGas"
},
"bls12381_g2_multiexp_element": {
"$ref": "#/components/schemas/NearGas"
},
"bls12381_map_fp2_to_g2_base": {
"$ref": "#/components/schemas/NearGas"
},
"bls12381_map_fp2_to_g2_element": {
"$ref": "#/components/schemas/NearGas"
},
"bls12381_map_fp_to_g1_base": {
"$ref": "#/components/schemas/NearGas"
},
"bls12381_map_fp_to_g1_element": {
"$ref": "#/components/schemas/NearGas"
},
"bls12381_p1_decompress_base": {
"$ref": "#/components/schemas/NearGas"
},
"bls12381_p1_decompress_element": {
"$ref": "#/components/schemas/NearGas"
},
"bls12381_p1_sum_base": {
"$ref": "#/components/schemas/NearGas"
},
"bls12381_p1_sum_element": {
"$ref": "#/components/schemas/NearGas"
},
"bls12381_p2_decompress_base": {
"$ref": "#/components/schemas/NearGas"
},
"bls12381_p2_decompress_element": {
"$ref": "#/components/schemas/NearGas"
},
"bls12381_p2_sum_base": {
"$ref": "#/components/schemas/NearGas"
},
"bls12381_p2_sum_element": {
"$ref": "#/components/schemas/NearGas"
},
"bls12381_pairing_base": {
"$ref": "#/components/schemas/NearGas"
},
"bls12381_pairing_element": {
"$ref": "#/components/schemas/NearGas"
},
"contract_compile_base": {
"$ref": "#/components/schemas/NearGas"
},
"contract_compile_bytes": {
"$ref": "#/components/schemas/NearGas"
},
"contract_loading_base": {
"description": "Base cost of loading a pre-compiled contract",
"allOf": [
{
"$ref": "#/components/schemas/NearGas"
}
]
},
"contract_loading_bytes": {
"description": "Cost per byte of loading a pre-compiled contract",
"allOf": [
{
"$ref": "#/components/schemas/NearGas"
}
]
},
"ecrecover_base": {
"description": "Cost of calling ecrecover",
"allOf": [
{
"$ref": "#/components/schemas/NearGas"
}
]
},
"ed25519_verify_base": {
"description": "Cost of getting ed25519 base",
"allOf": [
{
"$ref": "#/components/schemas/NearGas"
}
]
},
"ed25519_verify_byte": {
"description": "Cost of getting ed25519 per byte",
"allOf": [
{
"$ref": "#/components/schemas/NearGas"
}
]
},
"keccak256_base": {
"description": "Cost of getting sha256 base",
"allOf": [
{
"$ref": "#/components/schemas/NearGas"
}
]
},
"keccak256_byte": {
"description": "Cost of getting sha256 per byte",
"allOf": [
{
"$ref": "#/components/schemas/NearGas"
}
]
},
"keccak512_base": {
"description": "Cost of getting sha256 base",
"allOf": [
{
"$ref": "#/components/schemas/NearGas"
}
]
},
"keccak512_byte": {
"description": "Cost of getting sha256 per byte",
"allOf": [
{
"$ref": "#/components/schemas/NearGas"
}
]
},
"log_base": {
"description": "Cost for calling logging.",
"allOf": [
{
"$ref": "#/components/schemas/NearGas"
}
]
},
"log_byte": {
"description": "Cost for logging per byte",
"allOf": [
{
"$ref": "#/components/schemas/NearGas"
}
]
},
"promise_and_base": {
"description": "Cost for calling `promise_and`",
"allOf": [
{
"$ref": "#/components/schemas/NearGas"
}
]
},
"promise_and_per_promise": {
"description": "Cost for calling `promise_and` for each promise",
"allOf": [
{
"$ref": "#/components/schemas/NearGas"
}
]
},
"promise_return": {
"description": "Cost for calling `promise_return`",
"allOf": [
{
"$ref": "#/components/schemas/NearGas"
}
]
},
"read_cached_trie_node": {
"description": "Cost for reading trie node from memory",
"allOf": [
{
"$ref": "#/components/schemas/NearGas"
}
]
},
"read_memory_base": {
"description": "Base cost for guest memory read",
"allOf": [
{
"$ref": "#/components/schemas/NearGas"
}
]
},
"read_memory_byte": {
"description": "Cost for guest memory read",
"allOf": [
{
"$ref": "#/components/schemas/NearGas"
}
]
},
"read_register_base": {
"description": "Base cost for reading from register",
"allOf": [
{
"$ref": "#/components/schemas/NearGas"
}
]
},
"read_register_byte": {
"description": "Cost for reading byte from register",
"allOf": [
{
"$ref": "#/components/schemas/NearGas"
}
]
},
"ripemd160_base": {
"description": "Cost of getting ripemd160 base",
"allOf": [
{
"$ref": "#/components/schemas/NearGas"
}
]
},
"ripemd160_block": {
"description": "Cost of getting ripemd160 per message block",
"allOf": [
{
"$ref": "#/components/schemas/NearGas"
}
]
},
"sha256_base": {
"description": "Cost of getting sha256 base",
"allOf": [
{
"$ref": "#/components/schemas/NearGas"
}
]
},
"sha256_byte": {
"description": "Cost of getting sha256 per byte",
"allOf": [
{
"$ref": "#/components/schemas/NearGas"
}
]
},
"storage_has_key_base": {
"description": "Storage trie check for key existence cost base",
"allOf": [
{
"$ref": "#/components/schemas/NearGas"
}
]
},
"storage_has_key_byte": {
"description": "Storage trie check for key existence per key byte",
"allOf": [
{
"$ref": "#/components/schemas/NearGas"
}
]
},
"storage_iter_create_from_byte": {
"description": "Create trie range iterator cost per byte of from key.",
"allOf": [
{
"$ref": "#/components/schemas/NearGas"
}
]
},
"storage_iter_create_prefix_base": {
"description": "Create trie prefix iterator cost base",
"allOf": [
{
"$ref": "#/components/schemas/NearGas"
}
]
},
"storage_iter_create_prefix_byte": {
"description": "Create trie prefix iterator cost per byte.",
"allOf": [
{
"$ref": "#/components/schemas/NearGas"
}
]
},
"storage_iter_create_range_base": {
"description": "Create trie range iterator cost base",
"allOf": [
{
"$ref": "#/components/schemas/NearGas"
}
]
},
"storage_iter_create_to_byte": {
"description": "Create trie range iterator cost per byte of to key.",
"allOf": [
{
"$ref": "#/components/schemas/NearGas"
}
]
},
"storage_iter_next_base": {
"description": "Trie iterator per key base cost",
"allOf": [
{
"$ref": "#/components/schemas/NearGas"
}
]
},
"storage_iter_next_key_byte": {
"description": "Trie iterator next key byte cost",
"allOf": [
{
"$ref": "#/components/schemas/NearGas"
}
]
},
"storage_iter_next_value_byte": {
"description": "Trie iterator next key byte cost",
"allOf": [
{
"$ref": "#/components/schemas/NearGas"
}
]
},
"storage_large_read_overhead_base": {
"description": "Storage trie read key overhead base cost, when doing large reads",
"allOf": [
{
"$ref": "#/components/schemas/NearGas"
}
]
},
"storage_large_read_overhead_byte": {
"description": "Storage trie read key overhead per-byte cost, when doing large reads",
"allOf": [
{
"$ref": "#/components/schemas/NearGas"
}
]
},
"storage_read_base": {
"description": "Storage trie read key base cost",
"allOf": [
{
"$ref": "#/components/schemas/NearGas"
}
]
},
"storage_read_key_byte": {
"description": "Storage trie read key per byte cost",
"allOf": [
{
"$ref": "#/components/schemas/NearGas"
}
]
},
"storage_read_value_byte": {
"description": "Storage trie read value cost per byte cost",
"allOf": [
{
"$ref": "#/components/schemas/NearGas"
}
]
},
"storage_remove_base": {
"description": "Remove key from trie base cost",
"allOf": [
{
"$ref": "#/components/schemas/NearGas"
}
]
},
"storage_remove_key_byte": {
"description": "Remove key from trie per byte cost",
"allOf": [
{
"$ref": "#/components/schemas/NearGas"
}
]
},
"storage_remove_ret_value_byte": {
"description": "Remove key from trie ret value byte cost",
"allOf": [
{
"$ref": "#/components/schemas/NearGas"
}
]
},
"storage_write_base": {
"description": "Storage trie write key base cost",
"allOf": [
{
"$ref": "#/components/schemas/NearGas"
}
]
},
"storage_write_evicted_byte": {
"description": "Storage trie write cost per byte of evicted value.",
"allOf": [
{
"$ref": "#/components/schemas/NearGas"
}
]
},
"storage_write_key_byte": {
"description": "Storage trie write key per byte cost",
"allOf": [
{
"$ref": "#/components/schemas/NearGas"
}
]
},
"storage_write_value_byte": {
"description": "Storage trie write value per byte cost",
"allOf": [
{
"$ref": "#/components/schemas/NearGas"
}
]
},
"touching_trie_node": {
"description": "Cost per reading trie node from DB",
"allOf": [
{
"$ref": "#/components/schemas/NearGas"
}
]
},
"utf16_decoding_base": {
"description": "Base cost of decoding utf16. It's used for `log_utf16`.",
"allOf": [
{
"$ref": "#/components/schemas/NearGas"
}
]
},
"utf16_decoding_byte": {
"description": "Cost per byte of decoding utf16. It's used for `log_utf16`.",
"allOf": [
{
"$ref": "#/components/schemas/NearGas"
}
]
},
"utf8_decoding_base": {
"description": "Base cost of decoding utf8. It's used for `log_utf8` and `panic_utf8`.",
"allOf": [
{
"$ref": "#/components/schemas/NearGas"
}
]
},
"utf8_decoding_byte": {
"description": "Cost per byte of decoding utf8. It's used for `log_utf8` and `panic_utf8`.",
"allOf": [
{
"$ref": "#/components/schemas/NearGas"
}
]
},
"validator_stake_base": {
"description": "Cost of calling `validator_stake`.",
"allOf": [
{
"$ref": "#/components/schemas/NearGas"
}
]
},
"validator_total_stake_base": {
"description": "Cost of calling `validator_total_stake`.",
"allOf": [
{
"$ref": "#/components/schemas/NearGas"
}
]
},
"write_memory_base": {
"description": "Base cost for guest memory write",
"allOf": [
{
"$ref": "#/components/schemas/NearGas"
}
]
},
"write_memory_byte": {
"description": "Cost for guest memory write per byte",
"allOf": [
{
"$ref": "#/components/schemas/NearGas"
}
]
},
"write_register_base": {
"description": "Base cost for writing into register",
"allOf": [
{
"$ref": "#/components/schemas/NearGas"
}
]
},
"write_register_byte": {
"description": "Cost for writing byte into register",
"allOf": [
{
"$ref": "#/components/schemas/NearGas"
}
]
},
"yield_create_base": {
"description": "Base cost for creating a yield promise.",
"allOf": [
{
"$ref": "#/components/schemas/NearGas"
}
]
},
"yield_create_byte": {
"description": "Per byte cost of arguments and method name.",
"allOf": [
{
"$ref": "#/components/schemas/NearGas"
}
]
},
"yield_resume_base": {
"description": "Base cost for resuming a yield receipt.",
"allOf": [
{
"$ref": "#/components/schemas/NearGas"
}
]
},
"yield_resume_byte": {
"description": "Per byte cost of resume payload.",
"allOf": [
{
"$ref": "#/components/schemas/NearGas"
}
]
}
}
}Fields§
§alt_bn128_g1_multiexp_base: NearGasBase cost for multiexp
alt_bn128_g1_multiexp_element: NearGasPer element cost for multiexp
alt_bn128_g1_sum_base: NearGasBase cost for sum
alt_bn128_g1_sum_element: NearGasPer element cost for sum
alt_bn128_pairing_check_base: NearGasBase cost for pairing check
alt_bn128_pairing_check_element: NearGasPer element cost for pairing check
base: NearGasBase cost for calling a host function.
bls12381_g1_multiexp_base: NearGas§bls12381_g1_multiexp_element: NearGas§bls12381_g2_multiexp_base: NearGas§bls12381_g2_multiexp_element: NearGas§bls12381_map_fp2_to_g2_base: NearGas§bls12381_map_fp2_to_g2_element: NearGas§bls12381_map_fp_to_g1_base: NearGas§bls12381_map_fp_to_g1_element: NearGas§bls12381_p1_decompress_base: NearGas§bls12381_p1_decompress_element: NearGas§bls12381_p1_sum_base: NearGas§bls12381_p1_sum_element: NearGas§bls12381_p2_decompress_base: NearGas§bls12381_p2_decompress_element: NearGas§bls12381_p2_sum_base: NearGas§bls12381_p2_sum_element: NearGas§bls12381_pairing_base: NearGas§bls12381_pairing_element: NearGas§contract_compile_base: NearGas§contract_compile_bytes: NearGas§contract_loading_base: NearGasBase cost of loading a pre-compiled contract
contract_loading_bytes: NearGasCost per byte of loading a pre-compiled contract
ecrecover_base: NearGasCost of calling ecrecover
ed25519_verify_base: NearGasCost of getting ed25519 base
ed25519_verify_byte: NearGasCost of getting ed25519 per byte
keccak256_base: NearGasCost of getting sha256 base
keccak256_byte: NearGasCost of getting sha256 per byte
keccak512_base: NearGasCost of getting sha256 base
keccak512_byte: NearGasCost of getting sha256 per byte
log_base: NearGasCost for calling logging.
log_byte: NearGasCost for logging per byte
promise_and_base: NearGasCost for calling promise_and
promise_and_per_promise: NearGasCost for calling promise_and for each promise
promise_return: NearGasCost for calling promise_return
read_cached_trie_node: NearGasCost for reading trie node from memory
read_memory_base: NearGasBase cost for guest memory read
read_memory_byte: NearGasCost for guest memory read
read_register_base: NearGasBase cost for reading from register
read_register_byte: NearGasCost for reading byte from register
ripemd160_base: NearGasCost of getting ripemd160 base
ripemd160_block: NearGasCost of getting ripemd160 per message block
sha256_base: NearGasCost of getting sha256 base
sha256_byte: NearGasCost of getting sha256 per byte
storage_has_key_base: NearGasStorage trie check for key existence cost base
storage_has_key_byte: NearGasStorage trie check for key existence per key byte
storage_iter_create_from_byte: NearGasCreate trie range iterator cost per byte of from key.
storage_iter_create_prefix_base: NearGasCreate trie prefix iterator cost base
storage_iter_create_prefix_byte: NearGasCreate trie prefix iterator cost per byte.
storage_iter_create_range_base: NearGasCreate trie range iterator cost base
storage_iter_create_to_byte: NearGasCreate trie range iterator cost per byte of to key.
storage_iter_next_base: NearGasTrie iterator per key base cost
storage_iter_next_key_byte: NearGasTrie iterator next key byte cost
storage_iter_next_value_byte: NearGasTrie iterator next key byte cost
storage_large_read_overhead_base: NearGasStorage trie read key overhead base cost, when doing large reads
storage_large_read_overhead_byte: NearGasStorage trie read key overhead per-byte cost, when doing large reads
storage_read_base: NearGasStorage trie read key base cost
storage_read_key_byte: NearGasStorage trie read key per byte cost
storage_read_value_byte: NearGasStorage trie read value cost per byte cost
storage_remove_base: NearGasRemove key from trie base cost
storage_remove_key_byte: NearGasRemove key from trie per byte cost
storage_remove_ret_value_byte: NearGasRemove key from trie ret value byte cost
storage_write_base: NearGasStorage trie write key base cost
storage_write_evicted_byte: NearGasStorage trie write cost per byte of evicted value.
storage_write_key_byte: NearGasStorage trie write key per byte cost
storage_write_value_byte: NearGasStorage trie write value per byte cost
touching_trie_node: NearGasCost per reading trie node from DB
utf16_decoding_base: NearGasBase cost of decoding utf16. It’s used for log_utf16.
utf16_decoding_byte: NearGasCost per byte of decoding utf16. It’s used for log_utf16.
utf8_decoding_base: NearGasBase cost of decoding utf8. It’s used for log_utf8 and panic_utf8.
utf8_decoding_byte: NearGasCost per byte of decoding utf8. It’s used for log_utf8 and panic_utf8.
validator_stake_base: NearGasCost of calling validator_stake.
validator_total_stake_base: NearGasCost of calling validator_total_stake.
write_memory_base: NearGasBase cost for guest memory write
write_memory_byte: NearGasCost for guest memory write per byte
write_register_base: NearGasBase cost for writing into register
write_register_byte: NearGasCost for writing byte into register
yield_create_base: NearGasBase cost for creating a yield promise.
yield_create_byte: NearGasPer byte cost of arguments and method name.
yield_resume_base: NearGasBase cost for resuming a yield receipt.
yield_resume_byte: NearGasPer byte cost of resume payload.
Trait Implementations§
Source§impl Clone for ExtCostsConfigView
impl Clone for ExtCostsConfigView
Source§fn clone(&self) -> ExtCostsConfigView
fn clone(&self) -> ExtCostsConfigView
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more