Module internal

Source
Expand description

Internal functions that interacts within this transaction context. For example, setting data to receipts, calling other contracts, transfer to other account.

Functionsยง

call
A call to contract. The caller should already know the data type of return value from the function call. It returns Option of T where T is return value from the function. If data type T is different from the actual return value type of the function, None is returned.
call_untyped
A call to contract, with vector of bytes as return type. It returns Option of Vec of bytes. Interpretation on the bytes depends on caller
log
log saves message with a topic to receipt of a transaction.
return_value
return_value places value in the receipt of a transaction.
transfer
transfer balance amount to another address.