Expand description
The compiler common library.
Structs§
- Contract
Name - The contract name.
Enums§
- Code
Segment - The contract code segment.
- EVMVersion
- The EVM version.
- Hash
- The hash.
- Hash
Type - The hash type.
- Target
- The LLVM target.
Constants§
- BASE_
BINARY - The binary number base.
- BASE_
DECIMAL - The decimal number base.
- BASE_
HEXADECIMAL - The hexadecimal number base.
- BASE_
OCTAL - The octal number base.
- BIT_
LENGTH_ BOOLEAN - The
bool
type bit-length. - BIT_
LENGTH_ BYTE - The
u8
type or byte bit-length. - BIT_
LENGTH_ ETH_ ADDRESS - The ETH address (usually
u160
) bit-length. - BIT_
LENGTH_ FIELD - The field (usually
u256
ori256
) bit-length. - BIT_
LENGTH_ X32 - The x86 word type (usually
u32
) bit-length. - BIT_
LENGTH_ X64 - The x86_64 word type (usually
u64
) bit-length. - BYTE_
LENGTH_ BYTE - The byte-length.
- BYTE_
LENGTH_ ETH_ ADDRESS - The ETH address byte-length.
- BYTE_
LENGTH_ FIELD - The field byte-length.
- BYTE_
LENGTH_ X32 - The x86 word byte-length.
- BYTE_
LENGTH_ X64 - The x86_64 word byte-length.
- ERAVM_
ADDRESS_ ACTIVE_ PTR_ ADD - The corresponding simulation predefined address.
- ERAVM_
ADDRESS_ ACTIVE_ PTR_ DATA_ COPY - The corresponding simulation predefined address.
- ERAVM_
ADDRESS_ ACTIVE_ PTR_ DATA_ LOAD - The corresponding simulation predefined address.
- ERAVM_
ADDRESS_ ACTIVE_ PTR_ DATA_ SIZE - The corresponding simulation predefined address.
- ERAVM_
ADDRESS_ ACTIVE_ PTR_ LOAD_ CALLDATA - The corresponding simulation predefined address.
- ERAVM_
ADDRESS_ ACTIVE_ PTR_ LOAD_ DECOMMIT - The corresponding simulation predefined address.
- ERAVM_
ADDRESS_ ACTIVE_ PTR_ LOAD_ RETURN_ DATA - The corresponding simulation predefined address.
- ERAVM_
ADDRESS_ ACTIVE_ PTR_ PACK - The corresponding simulation predefined address.
- ERAVM_
ADDRESS_ ACTIVE_ PTR_ SHRINK - The corresponding simulation predefined address.
- ERAVM_
ADDRESS_ ACTIVE_ PTR_ SWAP - The corresponding simulation predefined address.
- ERAVM_
ADDRESS_ CODE_ ADDRESS - The corresponding simulation predefined address.
- ERAVM_
ADDRESS_ CONST_ ARRAY_ DECLARE - The corresponding simulation predefined address.
- ERAVM_
ADDRESS_ CONST_ ARRAY_ FINALIZE - The corresponding simulation predefined address.
- ERAVM_
ADDRESS_ CONST_ ARRAY_ GET - The corresponding simulation predefined address.
- ERAVM_
ADDRESS_ CONST_ ARRAY_ SET - The corresponding simulation predefined address.
- ERAVM_
ADDRESS_ DECOMMIT - The corresponding simulation predefined address.
- ERAVM_
ADDRESS_ EVENT_ INITIALIZE - The corresponding simulation predefined address.
- ERAVM_
ADDRESS_ EVENT_ WRITE - The corresponding simulation predefined address.
- ERAVM_
ADDRESS_ GET_ GLOBAL_ CALL_ FLAGS - The corresponding simulation predefined address.
- ERAVM_
ADDRESS_ GET_ GLOBAL_ EXTRA_ ABI_ DATA - The corresponding simulation predefined address.
- ERAVM_
ADDRESS_ GET_ GLOBAL_ PTR_ CALLDATA - The corresponding simulation predefined address.
- ERAVM_
ADDRESS_ GET_ GLOBAL_ PTR_ RETURN_ DATA - The corresponding simulation predefined address.
- ERAVM_
ADDRESS_ INCREMENT_ TX_ COUNTER - The corresponding simulation predefined address.
- ERAVM_
ADDRESS_ META - The corresponding simulation predefined address.
- ERAVM_
ADDRESS_ MIMIC_ CALL - The corresponding simulation predefined address.
- ERAVM_
ADDRESS_ MIMIC_ CALL_ BYREF - The corresponding simulation predefined address.
- ERAVM_
ADDRESS_ MULTIPLICATION_ HIGH_ REGISTER - The corresponding simulation predefined address.
- ERAVM_
ADDRESS_ PRECOMPILE - The corresponding simulation predefined address.
- ERAVM_
ADDRESS_ RAW_ FAR_ CALL - The corresponding simulation predefined address.
- ERAVM_
ADDRESS_ RAW_ FAR_ CALL_ BYREF - The corresponding simulation predefined address.
- ERAVM_
ADDRESS_ RETURN_ FORWARD - The corresponding simulation predefined address.
- ERAVM_
ADDRESS_ REVERT_ FORWARD - The corresponding simulation predefined address.
- ERAVM_
ADDRESS_ SET_ CONTEXT_ VALUE_ CALL - The corresponding simulation predefined address.
- ERAVM_
ADDRESS_ SET_ PUBDATA_ PRICE - The corresponding simulation predefined address.
- ERAVM_
ADDRESS_ SYSTEM_ CALL - The corresponding simulation predefined address.
- ERAVM_
ADDRESS_ SYSTEM_ CALL_ BYREF - The corresponding simulation predefined address.
- ERAVM_
ADDRESS_ SYSTEM_ MIMIC_ CALL - The corresponding simulation predefined address.
- ERAVM_
ADDRESS_ SYSTEM_ MIMIC_ CALL_ BYREF - The corresponding simulation predefined address.
- ERAVM_
ADDRESS_ TO_ L1 - The corresponding simulation predefined address.
- EXIT_
CODE_ FAILURE - The common application failure exit code.
- EXIT_
CODE_ SUCCESS - The common application success exit code.
Statics§
- EXTENSION_
ABI - The ABI file extension.
- EXTENSION_
ERAVM_ ASSEMBLY - The EraVM assembly file extension.
- EXTENSION_
ERAVM_ BINARY - The EraVM bytecode file extension.
- EXTENSION_
ETHIR - The Ethereal IR file extension.
- EXTENSION_
EVM - The EVM file extension.
- EXTENSION_
EVMLA - The EVM legacy assembly IR file extension.
- EXTENSION_
EVM_ BINARY - The EVM bytecode file extension.
- EXTENSION_
JSON - The JSON data file extension.
- EXTENSION_
LLL - The LLL IR file extension.
- EXTENSION_
LLVM_ BINARY - The LLVM bitcode file extension.
- EXTENSION_
LLVM_ SOURCE - The LLVM source code file extension.
- EXTENSION_
MANIFEST - The manifest file extension.
- EXTENSION_
SOLIDITY - The Solidity file extension.
- EXTENSION_
VYPER - The Vyper file extension.
- EXTENSION_
YUL - The Yul IR file extension.
Functions§
- deserialize
- Runs the generic deserializer.
- deserialize_
from_ reader - Deserializes a
serde_json
object from reader with the recursion limit disabled. - deserialize_
from_ slice - Deserializes a
serde_json
object from slice with the recursion limit disabled. - deserialize_
from_ str - Deserializes a
serde_json
object from string with the recursion limit disabled.