Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/axic/runevm
/ functions
Functions
27 in github.com/axic/runevm
⨍
Functions
27
◇
Types & classes
2
↓ 3 callers
Method
as_checked_u64
(&self)
src/lib.rs:30
↓ 1 callers
Method
create
Creates new contract. Returns gas_left and contract address if contract creation was succesfull.
src/lib.rs:102
↓ 1 callers
Method
depth
Returns current depth of execution. If contract A calls contract B, and contract B calls C, then A depth is 0, B is 1, C is 2 and so on.
src/lib.rs:248
↓ 1 callers
Method
schedule
Returns schedule.
src/lib.rs:235
Method
add_sstore_refund
Increments sstore refunds counter.
src/lib.rs:254
Method
balance
Returns address balance.
src/lib.rs:88
Method
blockhash
Returns the hash of one of the 256 most recent complete blocks.
src/lib.rs:94
Method
call
Message call. Returns Err, if we run out of gas. Otherwise returns call_result which contains gas left and true if subcall was successfull.
src/lib.rs:120
Method
env_info
Returns environment info.
src/lib.rs:240
Method
exists
Determine whether an account exists.
src/lib.rs:66
Method
exists_and_not_null
Determine whether an account exists and is not null (zero balance/nonce, no code).
src/lib.rs:73
Method
extcode
Returns code at given address
src/lib.rs:192
Method
extcodehash
Returns code hash at given address
src/lib.rs:199
Method
extcodesize
Returns code size at given address
src/lib.rs:206
Method
initial_storage_at
Returns the storage value for a given key if reversion happens on the current transaction.
src/lib.rs:49
Method
is_static
Check if running in static context.
src/lib.rs:283
Method
log
Creates log entry with given topics and data
src/lib.rs:213
Function
main
()
src/lib.rs:290
Method
origin_balance
Balance of the origin account.
src/lib.rs:80
Method
ret
Should be called when transaction calls `RETURN` opcode. Returns gas_left if cost of returning the data is not too high.
src/lib.rs:220
Method
set_storage
Stores a value for given key.
src/lib.rs:60
Method
storage_at
Returns a value for given key.
src/lib.rs:54
Method
sub_sstore_refund
Decrements sstore refunds counter.
src/lib.rs:259
Method
suicide
Should be called when contract commits suicide. Address to which funds should be refunded.
src/lib.rs:228
Method
trace_executed
Trace the finalised execution of a single instruction.
src/lib.rs:280
Method
trace_next_instruction
Decide if any more operations should be traced. Passthrough for the VM trace.
src/lib.rs:264
Method
trace_prepare_execute
Prepare to trace an operation. Passthrough for the VM trace.
src/lib.rs:269