[][src]Module casperlabs_contract_ffi::contract_api::system

Enums

TransferredTo

Constants

MINT_NAME
POS_NAME

Functions

create_purse
get_balance

Gets the balance of a given purse

get_mint

Returns a read-only pointer to the Mint Contract. Any failure will trigger revert() with a contract_api::Error.

get_proof_of_stake

Returns a read-only pointer to the Proof of Stake Contract. Any failure will trigger revert() with a contract_api::Error.

transfer_from_purse_to_account

Transfers amount of motes from source purse to target account. If target does not exist it will create it.

transfer_from_purse_to_purse

Transfers amount of motes from source purse to target purse.

transfer_to_account

Transfers amount of motes from default purse of the account to target account. If target does not exist it will create it.

Type Definitions

TransferResult