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 (synthetic) method `create`
21pub const METHOD_CREATE: &str = "create";
22/// Named constant for method `balance`.
23pub const METHOD_BALANCE: &str = "balance";
24/// Named constant for method `transfer`.
25pub const METHOD_TRANSFER: &str = "transfer";
26/// Named constant for method `read_base_round_reward`.
27pub const METHOD_READ_BASE_ROUND_REWARD: &str = "read_base_round_reward";
28/// Named constant for method `mint_into_existing_purse`.
29pub const METHOD_MINT_INTO_EXISTING_PURSE: &str = "mint_into_existing_purse";
30
31/// Storage for mint contract hash.
32pub const HASH_KEY: &str = "mint_hash";
33/// Storage for mint access key.
34pub const ACCESS_KEY: &str = "mint_access";
35/// Storage for base round reward key.
36pub const BASE_ROUND_REWARD_KEY: &str = "mint_base_round_reward";
37/// Storage for mint total supply key.
38pub const TOTAL_SUPPLY_KEY: &str = "total_supply";
39/// Storage for mint round seigniorage rate.
40pub const ROUND_SEIGNIORAGE_RATE_KEY: &str = "round_seigniorage_rate";