Module casper_contract::contract_api::system
source · [−]Expand description
Functions for interacting with the system contracts.
Functions
Creates a new empty purse and returns its URef
.
Returns a read-only pointer to the Auction contract.
Returns the balance in motes of a purse.
Returns a read-only pointer to the Handle Payment contract.
Returns a read-only pointer to the Mint contract.
Returns the balance in motes of the given purse.
Returns a read-only pointer to the Standard Payment contract.
Transfers amount
of motes from source
purse to target
account. If target
does not exist
it will be created.
Transfers amount
of motes from source
to the main purse of target
. If the account
referenced by target
does not exist, it will be created.
Transfers amount
of motes from source
purse to target
purse. If target
does not exist
the transfer fails.
Transfers amount
of motes from the default purse of the account to target
account. If target
does not exist it will be created.
Transfers amount
of motes from the main purse of the caller’s account to the main purse of
target
. If the account referenced by target
does not exist, it will be created.