[][src]Module xpx_supercontracts_sdk::utils

Basic utils functions for communication with WasmVM.

Functions

constructor

Constructor is function for one time call that can can invoke only once for all lifetime of SuperContract.

debug_message

Send debug message to WasmVM. It's convenient basic function for development debugging. Message that was sent will display in WasmVM stdout as information log message. It not affect basic Supercontract execution but should be removed from release version, because it will spend Gas (unit ticks).

inc

Return incremented result from all previous invoke that functions.

init

Init is function constructor that can can invoked only one time.

ping

Send ping message to WasmVM. Successful result should be incremented value. Useful for most simple request/response message tests for WasmVM.