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 |
ARG_AMOUNT | Named constant for |
ARG_PURSE | Named constant for |
ARG_TARGET | Named constant for |
HASH_KEY | Storage for proof of stake contract hash. |
METHOD_FINALIZE_PAYMENT | Named constant for method |
METHOD_GET_PAYMENT_PURSE | Named constant for method |
METHOD_GET_REFUND_PURSE | Named constant for method |
METHOD_SET_REFUND_PURSE | Named constant for method |
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. |