mirror of
https://github.com/pezkuwichain/revive.git
synced 2026-04-25 11:47:57 +00:00
c52a8d0f20
Signed-off-by: xermicus <cyrill@parity.io>
21 lines
573 B
Rust
21 lines
573 B
Rust
//!
|
|
//! Solidity to EraVM compiler constants.
|
|
//!
|
|
|
|
#![allow(dead_code)]
|
|
|
|
/// The default executable name.
|
|
pub static DEFAULT_EXECUTABLE_NAME: &str = "zksolc";
|
|
|
|
/// The `keccak256` scratch space offset.
|
|
pub const OFFSET_SCRATCH_SPACE: usize = 0;
|
|
|
|
/// The memory pointer offset.
|
|
pub const OFFSET_MEMORY_POINTER: usize = 2 * revive_common::BYTE_LENGTH_FIELD;
|
|
|
|
/// The empty slot offset.
|
|
pub const OFFSET_EMPTY_SLOT: usize = 3 * revive_common::BYTE_LENGTH_FIELD;
|
|
|
|
/// The non-reserved memory offset.
|
|
pub const OFFSET_NON_RESERVED: usize = 4 * revive_common::BYTE_LENGTH_FIELD;
|