[−][src]Module casperlabs_contract::contract_api::runtime
Functions for interacting with the current runtime.
Functions
call_contract | Calls the given stored contract, passing the given arguments to it. |
get_arg | Returns the i-th argument passed to the host for the current module invocation. |
get_blocktime | Returns the current |
get_caller | Returns the caller of the current context, i.e. the |
get_key | Returns the requested named |
get_phase | Returns the current |
has_key | Returns |
is_valid_uref | Validates uref against named keys. |
list_named_keys | Returns the named keys of the current context. |
put_key | Stores the given |
remove_key | Removes the |
ret | Returns the given |
revert | Stops execution of a contract and reverts execution effects with a given |
upgrade_contract_at_uref | Takes the name of a (non-mangled) |