casper_types/system/mint/
constants.rs

1/// Named constant for `purse`.
2pub const ARG_PURSE: &str = "purse";
3/// Named constant for `amount`.
4pub const ARG_AMOUNT: &str = "amount";
5/// Named constant for `id`.
6pub const ARG_ID: &str = "id";
7/// Named constant for `to`.
8pub const ARG_TO: &str = "to";
9/// Named constant for `source`.
10pub const ARG_SOURCE: &str = "source";
11/// Named constant for `target`.
12pub const ARG_TARGET: &str = "target";
13/// Named constant for `round_seigniorage_rate` used in installer.
14pub const ARG_ROUND_SEIGNIORAGE_RATE: &str = "round_seigniorage_rate";
15
16/// Named constant for method `mint`.
17pub const METHOD_MINT: &str = "mint";
18/// Named constant for method `reduce_total_supply`.
19pub const METHOD_REDUCE_TOTAL_SUPPLY: &str = "reduce_total_supply";
20/// Named constant for method `burn`.
21pub const METHOD_BURN: &str = "burn";
22/// Named constant for (synthetic) method `create`
23pub const METHOD_CREATE: &str = "create";
24/// Named constant for method `balance`.
25pub const METHOD_BALANCE: &str = "balance";
26/// Named constant for method `transfer`.
27pub const METHOD_TRANSFER: &str = "transfer";
28/// Named constant for method `read_base_round_reward`.
29pub const METHOD_READ_BASE_ROUND_REWARD: &str = "read_base_round_reward";
30/// Named constant for method `mint_into_existing_purse`.
31pub const METHOD_MINT_INTO_EXISTING_PURSE: &str = "mint_into_existing_purse";
32
33/// Storage for mint contract hash.
34pub const HASH_KEY: &str = "mint_hash";
35/// Storage for mint access key.
36pub const ACCESS_KEY: &str = "mint_access";
37/// Storage for base round reward key.
38pub const BASE_ROUND_REWARD_KEY: &str = "mint_base_round_reward";
39/// Storage for mint total supply key.
40pub const TOTAL_SUPPLY_KEY: &str = "total_supply";
41/// Storage for mint round seigniorage rate.
42pub const ROUND_SEIGNIORAGE_RATE_KEY: &str = "round_seigniorage_rate";
43/// Storage for gas hold handling.
44pub const MINT_GAS_HOLD_HANDLING_KEY: &str = "gas_hold_handling";
45/// Storage for gas hold interval.
46pub const MINT_GAS_HOLD_INTERVAL_KEY: &str = "gas_hold_interval";