Module pwasm_std::ext
[−]
[src]
Safe wrapper around externalities invokes.
Structs
Error |
Generic wasm error |
Functions
address |
Get address of currently executing account. |
balance |
Returns balance of the given address. |
block_hash |
Returns the hash of one of the 256 most recent complete blocks. |
block_number |
Get the block's number. |
call |
Message-call into an account. |
call_code |
Like |
coinbase |
Get the block’s beneficiary address (i.e miner's account address). |
create |
Create a new account with the given code. |
difficulty |
Get the block's difficulty. |
gas_limit |
Get the block's gas limit. |
log |
Creates log entry with given topics and data. |
origin |
Get execution origination address. |
sender |
Get caller address. |
static_call |
Like |
suicide |
Halt execution and register account for deletion. |
timestamp |
Get the block's timestamp. |
value |
Get deposited value by the instruction/transaction responsible for this execution. |