File tree Expand file tree Collapse file tree 1 file changed +34
-0
lines changed Expand file tree Collapse file tree 1 file changed +34
-0
lines changed Original file line number Diff line number Diff line change @@ -151,6 +151,25 @@ persisting the current values for sender and value.
151151
152152` result ` ** i32** Returns 1 or 0 depending on if the VM trapped on the message or not
153153
154+ ## callStatic
155+
156+ Sends a message with arbitrary data to a given address path, but disallow state
157+ modifications. This includes ` log ` , ` create ` , ` selfdestruct ` and ` call ` with a non-zero
158+ value.
159+
160+ ** Parameters**
161+
162+ - ` gas ` ** i64** the gas limit
163+ - ` addressOffset ` ** i32ptr** the memory offset to load the address from (` address ` )
164+ - ` dataOffset ` ** i32ptr** the memory offset to load data from (` bytes ` )
165+ - ` dataLength ` ** i32** the length of data
166+ - ` resultOffset ` ** i32ptr** the memory offset to store the result data at (` bytes ` )
167+ - ` resultLength ` ** i32** the maximal length of result data
168+
169+ ** Returns**
170+
171+ ` result ` ** i32** Returns 1 or 0 depending on if the VM trapped on the message or not
172+
154173## storageStore
155174
156175Store 256-bit a value in memory to persistent storage
@@ -390,6 +409,21 @@ Set the returning output data for the execution.
390409
391410* nothing*
392411
412+ ## revert
413+
414+ Set the returning output data for the execution.
415+
416+ * Note* : multiple invocations will overwrite the previous data.
417+
418+ ** Parameters**
419+
420+ - ` dataOffset ` ** i32ptr** the memory offset of the output data (` bytes ` )
421+ - ` length ` ** i32** the length of the output data
422+
423+ ** Returns**
424+
425+ * nothing*
426+
393427## selfDestruct
394428
395429Mark account for later deletion and give the remaining balance to the specified
You can’t perform that action at this time.
0 commit comments