[][src]Module casperlabs_contract::contract_api::account

Functions for managing accounts.

Functions

add_associated_key

Adds the given PublicKey with associated Weight to the account's associated keys.

get_main_purse

Retrieves the ID of the account's main purse.

remove_associated_key

Removes the given PublicKey from the account's associated keys.

set_action_threshold

Sets the given ActionType's threshold to the provided value.

update_associated_key

Updates the Weight of the given PublicKey in the account's associated keys.