Module casper_types::proof_of_stake[][src]

Contains implementation of a Proof Of Stake contract functionality.

Constants

ACCESS_KEY

Storage for proof of stake access key.

ARG_ACCOUNT

Named constant for source.

ARG_AMOUNT

Named constant for amount.

ARG_PURSE

Named constant for purse.

ARG_TARGET

Named constant for target.

HASH_KEY

Storage for proof of stake contract hash.

METHOD_FINALIZE_PAYMENT

Named constant for method finalize_payment.

METHOD_GET_PAYMENT_PURSE

Named constant for method get_payment_purse.

METHOD_GET_REFUND_PURSE

Named constant for method get_refund_purse.

METHOD_SET_REFUND_PURSE

Named constant for method set_refund_purse.

PAYMENT_PURSE_KEY

The uref name where the PoS accepts payment for computation on behalf of validators.

POS_PAYMENT_PURSE

Storage for proof of stake payment purse.

REFUND_PURSE_KEY

The uref name where the PoS will refund unused payment back to the user. The uref this name corresponds to is set by the user.

Traits

MintProvider

Provides an access to mint.

ProofOfStake

Proof of stake functionality implementation.

RuntimeProvider

Provider of runtime host functionality.