Skip to content

Commit

Permalink
intial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
Fraccaman committed Aug 20, 2024
0 parents commit db062fe
Show file tree
Hide file tree
Showing 18 changed files with 72,424 additions and 0 deletions.
700 changes: 700 additions & 0 deletions .gitignore

Large diffs are not rendered by default.

105 changes: 105 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,105 @@
# Namada Mainnet Genesis files

The set of parameters and transactions that will create the namada genesis file.

If you have received an allocation, check the [docs on how to make a pre-genesis transaction.](https://docs.namada.net/networks/starting-network/genesis-flow/participants)

If you need help, feel free to [reach out on discord](https://discord.gg/AsPCKgW3)!

## Voting power distribution


![Voting Power Distribution](images/validators.png "Voting Power Distribution")


## Validators


- address: `tnam1q8h9akjgy7s8zj7elj08d8lzrqr3w0cc9gplkaq2`
- alias: `Unknown alias`
- commission: `5.0%`
- max commission rate change: `1.0%`
- total voting power: `999995.0`
- email: `[email protected]`
- website: `https://originstake.com`

- address: `tnam1qyl03jqx3nafc2dcjgymx8jmc75ex946v56wangr`
- alias: `Unknown alias`
- commission: `5.0%`
- max commission rate change: `1.0%`
- total voting power: `999990.0`
- email: `[email protected]`
- website: `Unknown website`

- address: `tnam1q9whgzct6t2r62j7vyurc8djdfz406ejxquqz4pu`
- alias: `Unknown alias`
- commission: `5.0%`
- max commission rate change: `1.0%`
- total voting power: `999000.0`
- email: `[email protected]`
- website: `https://mellifera.network/`

- address: `tnam1qyjs6q5sq7jhtnzg7ss837umyl0gugz7uuqfaus8`
- alias: `Unknown alias`
- commission: `5.0%`
- max commission rate change: `1.0%`
- total voting power: `999000.0`
- email: `[email protected]`
- website: `Unknown website`

- address: `tnam1q80xwhew6mlgfecdzqp3ls5j0qgamjyhjv6urypv`
- alias: `Unknown alias`
- commission: `5.0%`
- max commission rate change: `1.0%`
- total voting power: `900000.0`
- email: `[email protected]`
- website: `https://crouton.digital/`

- address: `tnam1q8vzxrxr37t7v7kgkugs4tsss4uf3l4cuy8zp7sh`
- alias: `Unknown alias`
- commission: `5.0%`
- max commission rate change: `1.0%`
- total voting power: `900000.0`
- email: `[email protected]`
- website: `https://mandragora.io`

- address: `tnam1q8lpfs90a5kjx83al0m9hg9w7v2u870nau4y3wyy`
- alias: `Unknown alias`
- commission: `5.0%`
- max commission rate change: `1.0%`
- total voting power: `900000.0`
- email: `[email protected]`
- website: `Unknown website`

- address: `tnam1q97g220afjdfcyfhk7rsmyu46xn82malpgp03rtt`
- alias: `Unknown alias`
- commission: `5.0%`
- max commission rate change: `1.0%`
- total voting power: `10000.0`
- email: `[email protected]`
- website: `Unknown website`

- address: `tnam1qx2hvawznw3kj63xl8smc65kw543e3t6h5lend0a`
- alias: `Unknown alias`
- commission: `5.0%`
- max commission rate change: `1.0%`
- total voting power: `10000.0`
- email: `[email protected]`
- website: `https://chain-services.l0vd.com/`

- address: `tnam1qynlgtyxvv5apfpf23dfx2788jfv6uzwdqw0mvsv`
- alias: `Unknown alias`
- commission: `5.0%`
- max commission rate change: `1.0%`
- total voting power: `1000.0`
- email: `[email protected]`
- website: `Unknown website`

- address: `tnam1qxf4u7cr7cv6r420yx9mhz2u9vgfefxh7g0txmyh`
- alias: `Unknown alias`
- commission: `5.0%`
- max commission rate change: `1.0%`
- total voting power: `50.0`
- email: `admin`
- website: `https://validatorvn.com`

70,696 changes: 70,696 additions & 0 deletions genesis/balances.toml

Large diffs are not rendered by default.

109 changes: 109 additions & 0 deletions genesis/parameters.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,109 @@
# General protocol parameters.
[parameters]
native_token = "NAM"
is_native_token_transferable = true
# Minimum number of blocks in an epoch.
min_num_of_blocks = 2_700
# Max payload size, in bytes, for a tx.
max_tx_bytes = 1048576
# Max payload size, in bytes, for a tx batch proposal.
max_proposal_bytes = 6291456
# vp allowlist
vp_allowlist = []
# tx allowlist
tx_allowlist = []
# Implicit VP WASM name
implicit_vp = "vp_implicit"
# Expected number of epochs per year (also sets the min duration of an epoch in seconds)
epochs_per_year = 1_460
# The multiplier for masp epochs
masp_epoch_multiplier = 4
# Max gas for block
max_block_gas = 20000000
# Masp fee payment gas limit
masp_fee_payment_gas_limit = 20000
# Gas scale
gas_scale = 100_000_000


# Map of the cost per gas unit for every token allowed for fee payment
[parameters.minimum_gas_price]
nam = "0.000001"

# Proof of stake parameters.
[pos_params]
# Maximum number of active validators.
max_validator_slots = 255
# Pipeline length (in epochs). Any change in the validator set made in
# epoch 'n' will become active in epoch 'n + pipeline_len'.
pipeline_len = 2
# Unbonding length (in epochs). Validators may have their stake slashed
# for a fault in epoch 'n' up through epoch 'n + unbonding_len'.
unbonding_len = 53
# Votes per fundamental staking token (namnam)
tm_votes_per_token = "1"
# Reward for proposing a block.
block_proposer_reward = "0.125"
# Reward for voting on a block.
block_vote_reward = "0.1"
# Maximum inflation rate per annum (10%)
max_inflation_rate = "0"
# Targeted ratio of staked tokens to total tokens in the supply
target_staked_ratio = "0.6667"
# Portion of a validator's stake that should be slashed on a duplicate
# vote.
duplicate_vote_min_slash_rate = "0.001"
# Portion of a validator's stake that should be slashed on a light
# client attack.
light_client_attack_min_slash_rate = "0.001"
# Number of epochs above and below (separately) the current epoch to
# consider when doing cubic slashing
cubic_slashing_window_length = 1
# The minimum amount of bonded tokens that a validator needs to be in
# either the `consensus` or `below_capacity` validator sets
validator_stake_threshold = "1000000000"
# The length, in blocks, of the sliding window for consensus validators
# inactivity verification
liveness_window_check = 10_000
# The minimum required activity of consensus validators, in percentage, over
# the `liveness_window_check`
liveness_threshold = "0.1"
# The P gain factor in the Proof of Stake rewards controller
rewards_gain_p = "0.25"
# The D gain factor in the Proof of Stake rewards controller
rewards_gain_d = "0.25"

# Governance parameters.
[gov_params]
# minimum amount of nam token to lock
min_proposal_fund = 2000
# proposal code size in bytes
max_proposal_code_size = 1000_000
# min proposal period length in epochs
min_proposal_voting_period = 29
# max proposal period length in epochs
max_proposal_period = 84
# maximum number of characters in the proposal content
max_proposal_content_size = 10_000
# minimum epochs between end and activation epoch
min_proposal_grace_epochs = 8
# maximum number of epochs between current epoch and start epoch
max_proposal_latency = 8

# Public goods funding parameters
[pgf_params]
# Initial set of stewards
stewards = []
# The pgf funding inflation rate
pgf_inflation_rate = "0"
# The pgf stewards inflation rate
stewards_inflation_rate = "0"
# The maximum number of pgf stewards
maximum_number_of_stewards = 5

# IBC parameters
[ibc_params]
# default mint limit of each token
default_mint_limit = "0"
# default per-epoch throughput limit of each token
default_per_epoch_throughput_limit = "0"
8 changes: 8 additions & 0 deletions genesis/tokens.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
[token.NAM]
denom = 6

[token.NAM.parameters]
max_reward_rate = "0.0"
kd_gain_nom = "0.1"
kp_gain_nom = "0.1"
locked_ratio_target = "0.6667"
1 change: 1 addition & 0 deletions genesis/transactions.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# transactions.toml
9 changes: 9 additions & 0 deletions genesis/validity-predicates.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# WASM Validity predicate that can be used for genesis accounts

# Implicit VP
[wasm.vp_implicit]
filename = "vp_implicit.wasm"

# Default user VP in established accounts
[wasm.vp_user]
filename = "vp_user.wasm"
Empty file added images/.keep
Empty file.
Loading

0 comments on commit db062fe

Please sign in to comment.