MCPcopy Create free account

hub / github.com/axic/runevm / functions

Functions27 in github.com/axic/runevm

↓ 3 callersMethodas_checked_u64
(&self)
src/lib.rs:30
↓ 1 callersMethodcreate
Creates new contract. Returns gas_left and contract address if contract creation was succesfull.
src/lib.rs:102
↓ 1 callersMethoddepth
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 callersMethodschedule
Returns schedule.
src/lib.rs:235
Methodadd_sstore_refund
Increments sstore refunds counter.
src/lib.rs:254
Methodbalance
Returns address balance.
src/lib.rs:88
Methodblockhash
Returns the hash of one of the 256 most recent complete blocks.
src/lib.rs:94
Methodcall
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
Methodenv_info
Returns environment info.
src/lib.rs:240
Methodexists
Determine whether an account exists.
src/lib.rs:66
Methodexists_and_not_null
Determine whether an account exists and is not null (zero balance/nonce, no code).
src/lib.rs:73
Methodextcode
Returns code at given address
src/lib.rs:192
Methodextcodehash
Returns code hash at given address
src/lib.rs:199
Methodextcodesize
Returns code size at given address
src/lib.rs:206
Methodinitial_storage_at
Returns the storage value for a given key if reversion happens on the current transaction.
src/lib.rs:49
Methodis_static
Check if running in static context.
src/lib.rs:283
Methodlog
Creates log entry with given topics and data
src/lib.rs:213
Functionmain
()
src/lib.rs:290
Methodorigin_balance
Balance of the origin account.
src/lib.rs:80
Methodret
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
Methodset_storage
Stores a value for given key.
src/lib.rs:60
Methodstorage_at
Returns a value for given key.
src/lib.rs:54
Methodsub_sstore_refund
Decrements sstore refunds counter.
src/lib.rs:259
Methodsuicide
Should be called when contract commits suicide. Address to which funds should be refunded.
src/lib.rs:228
Methodtrace_executed
Trace the finalised execution of a single instruction.
src/lib.rs:280
Methodtrace_next_instruction
Decide if any more operations should be traced. Passthrough for the VM trace.
src/lib.rs:264
Methodtrace_prepare_execute
Prepare to trace an operation. Passthrough for the VM trace.
src/lib.rs:269