Expand description
Utility functions related to the current execution context or program execution flow.
Wraps methods from gcore::exec
for receiving details about the current execution and controlling it.
Functions
- Get the current block height.
- Get the current block timestamp.
- Terminate the execution of a program.
- Get the current amount of gas available for execution.
- Break the current execution.
- Return the identifier of the original user who initiated communication with the blockchain, during which the present processing message was created.
- Pay specified rent for the program. The result contains the remainder of rent value and the count of paid blocks.
- Return the identifier of the current program.
- Get the random seed, along with the block number from which it is determinable by chain observers.
- Reserve the
amount
of gas for system usage. - Get the total available value amount.
- Pause the current message handling.
- Same as
wait
, but delays handling for a specific number of blocks. - Same as
wait
, but delays handling for the maximum number of blocks that can be paid for and doesn’t exceed the givenduration
. - Resume previously paused message handling.
- Same as
wake
, but executes after thedelay
expressed in block count.