oxilean_codegen/evm_backend/evmgastable_traits.rs
1//! # EvmGasTable - Trait Implementations
2//!
3//! This module contains trait implementations for `EvmGasTable`.
4//!
5//! ## Implemented Traits
6//!
7//! - `Default`
8//!
9//! 🤖 Generated with [SplitRS](https://github.com/cool-japan/splitrs)
10
11use super::types::EvmGasTable;
12
13impl Default for EvmGasTable {
14 fn default() -> Self {
15 Self {
16 stop: 0,
17 add: 3,
18 mul: 5,
19 sub: 3,
20 div: 5,
21 sdiv: 5,
22 mload: 3,
23 mstore: 3,
24 sload: 2100,
25 sstore_set: 20000,
26 sstore_clear: 5000,
27 call: 100,
28 create: 32000,
29 sha3: 30,
30 sha3_word: 6,
31 log: 375,
32 log_topic: 375,
33 log_byte: 8,
34 }
35 }
36}