Module precompile_utils::prelude
source · Re-exports§
pub use crate::evm::handle::PrecompileHandleExt;
pub use crate::evm::logs::log0;
pub use crate::evm::logs::log1;
pub use crate::evm::logs::log2;
pub use crate::evm::logs::log3;
pub use crate::evm::logs::log4;
pub use crate::evm::logs::LogExt;
pub use crate::precompile_set::DiscriminantResult;
pub use crate::solidity;
pub use crate::solidity::codec::Address;
pub use crate::solidity::codec::BoundedBytes;
pub use crate::solidity::codec::BoundedString;
pub use crate::solidity::codec::BoundedVec;
pub use crate::solidity::codec::Codec as _;
pub use crate::solidity::codec::Codec as _;
pub use crate::solidity::codec::Convert;
pub use crate::solidity::codec::UnboundedBytes;
pub use crate::solidity::codec::UnboundedString;
pub use crate::solidity::revert::revert;
pub use crate::solidity::revert::BacktraceExt;
pub use crate::solidity::revert::InjectBacktrace;
pub use crate::solidity::revert::MayRevert;
pub use crate::solidity::revert::Revert;
pub use crate::solidity::revert::RevertExt;
pub use crate::solidity::revert::RevertReason;
pub use crate::substrate::RuntimeHelper;
pub use crate::substrate::TryDispatchError;
pub use crate::EvmResult;
Macros§
Structs§
- Data returned by a precompile on success.
- A UTF-8–encoded, growable string.
Traits§
- Handle provided to a precompile to interact with the EVM.