Module mint

Source
Expand description

Contains implementation of a Mint contract functionality.

Enums§

BalanceHoldAddr
Balance hold address.
BalanceHoldAddrTag
Serialization tag for BalanceHold variants.
Error
Errors which can occur while executing the Mint contract.

Constants§

ACCESS_KEY
Storage for mint access key.
ARG_AMOUNT
Named constant for amount.
ARG_ID
Named constant for id.
ARG_PURSE
Named constant for purse.
ARG_ROUND_SEIGNIORAGE_RATE
Named constant for round_seigniorage_rate used in installer.
ARG_SOURCE
Named constant for source.
ARG_TARGET
Named constant for target.
ARG_TO
Named constant for to.
BASE_ROUND_REWARD_KEY
Storage for base round reward key.
HASH_KEY
Storage for mint contract hash.
METHOD_BALANCE
Named constant for method balance.
METHOD_BURN
Named constant for method burn.
METHOD_CREATE
Named constant for (synthetic) method create
METHOD_MINT
Named constant for method mint.
METHOD_MINT_INTO_EXISTING_PURSE
Named constant for method mint_into_existing_purse.
METHOD_READ_BASE_ROUND_REWARD
Named constant for method read_base_round_reward.
METHOD_REDUCE_TOTAL_SUPPLY
Named constant for method reduce_total_supply.
METHOD_TRANSFER
Named constant for method transfer.
MINT_GAS_HOLD_HANDLING_KEY
Storage for gas hold handling.
MINT_GAS_HOLD_INTERVAL_KEY
Storage for gas hold interval.
ROUND_SEIGNIORAGE_RATE_KEY
Storage for mint round seigniorage rate.
TOTAL_SUPPLY_KEY
Storage for mint total supply key.

Functions§

mint_entry_points
Returns entry points for a mint system contract.