zingen/masm/embed.rs
1//! Embedded Function implementations
2
3use crate::{MacroAssembler, Result};
4
5impl MacroAssembler {
6 /// Function `sstore` from EVM which is not available in WASM.
7 pub fn _sstore(&mut self) -> Result<()> {
8 self.asm._sstore()
9 }
10
11 /// Function `sload` from EVM which is not available in WASM.
12 pub fn _sload(&mut self) -> Result<()> {
13 self.asm._sload()
14 }
15}