Module credits

Module credits 

Source
Expand description

Credits

Credits are Platform native token and used for micro payments between identities, state transitions fees and masternode rewards

Credits are minted on Platform by locking Dash on payment chain and can be withdrawn back to the payment chain by burning them on Platform and unlocking dash on the payment chain.

Enums§

BlockAwareCreditOperation
An enum for credit operations in compacted address blobs
CreditOperation
An enum for credit operations

Constants§

CREDITS_PER_DUFF
MAX_CREDITS
Maximum value of credits

Traits§

Creditable
Trait for signed and unsigned credits

Type Aliases§

Credits
Credits type
Duffs
Duffs type
RemainingCredits
RemainingCredits type
SignedCredits
Signed Credits type is used for internal computations and total credits balance verification
SignedTokenAmount
Signed Token Amount type
SumTokenAmount
Sum token amount
TokenAmount
Token Amount type