commit bd6e27deab974a17abfc2437494401345e0670e1 Author: qcloud Date: Sun Nov 3 12:51:39 2024 +0800 init diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..150a2c2 --- /dev/null +++ b/.gitignore @@ -0,0 +1,9 @@ +.vscode +.testnets +.bencher +DS_Store +node_modules +.idea +coverage.txt +build +cantod diff --git a/genesis.json b/genesis.json new file mode 100644 index 0000000..6b9275b --- /dev/null +++ b/genesis.json @@ -0,0 +1,494 @@ +{ + "app_name": "cantod", + "app_version": "8.0.0", + "genesis_time": "2024-11-02T19:19:18.310344009Z", + "chain_id": "canto_7701-1", + "initial_height": 1, + "app_hash": null, + "app_state": { + "07-tendermint": null, + "auth": { + "params": { + "max_memo_characters": "256", + "tx_sig_limit": "7", + "tx_size_cost_per_byte": "10", + "sig_verify_cost_ed25519": "590", + "sig_verify_cost_secp256k1": "1000" + }, + "accounts": [ + { + "@type": "/ethermint.types.v1.EthAccount", + "base_account": { + "address": "canto1edt6tjhm92avsyr354cwxrdyg23je9x9z829wg", + "pub_key": null, + "account_number": "0", + "sequence": "0" + }, + "code_hash": "0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470" + }, + { + "@type": "/ethermint.types.v1.EthAccount", + "base_account": { + "address": "canto18kk5mcy085fd43a50j59ha4vhmkkua59x9rjvr", + "pub_key": null, + "account_number": "1", + "sequence": "0" + }, + "code_hash": "0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470" + }, + { + "@type": "/ethermint.types.v1.EthAccount", + "base_account": { + "address": "canto1yandzc4wgkq6d7e6s97sav05xdsvxtunl0uvlw", + "pub_key": null, + "account_number": "2", + "sequence": "0" + }, + "code_hash": "0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470" + } + ] + }, + "authz": { + "authorization": [] + }, + "bank": { + "params": { + "send_enabled": [], + "default_send_enabled": true + }, + "balances": [ + { + "address": "canto1yandzc4wgkq6d7e6s97sav05xdsvxtunl0uvlw", + "coins": [ + { + "denom": "acanto", + "amount": "1000000000000000000000000000" + } + ] + }, + { + "address": "canto18kk5mcy085fd43a50j59ha4vhmkkua59x9rjvr", + "coins": [ + { + "denom": "acanto", + "amount": "1000000000000000000000000000" + } + ] + }, + { + "address": "canto1edt6tjhm92avsyr354cwxrdyg23je9x9z829wg", + "coins": [ + { + "denom": "acanto", + "amount": "1050000000000000000000000000" + } + ] + } + ], + "supply": [ + { + "denom": "acanto", + "amount": "3050000000000000000000000000" + } + ], + "denom_metadata": [], + "send_enabled": [] + }, + "capability": { + "index": "1", + "owners": [] + }, + "coinswap": { + "params": { + "fee": "0.000000000000000000", + "pool_creation_fee": { + "denom": "acanto", + "amount": "0" + }, + "tax_rate": "0.000000000000000000", + "max_standard_coin_per_pool": "10000000000000000000000", + "max_swap_amount": [ + { + "denom": "ibc/17CD484EE7D9723B847D95015FA3EBD1572FD13BC84FB838F55B18A57450F25B", + "amount": "10000000" + }, + { + "denom": "ibc/4F6A2DEFEA52CD8D90966ADCB2BD0593D3993AB0DF7F6AEB3EFD6167D79237B0", + "amount": "10000000" + }, + { + "denom": "ibc/DC186CA7A8C009B43774EBDC825C935CABA9743504CE6037507E6E5CCE12858A", + "amount": "10000000000000000" + } + ] + }, + "standard_denom": "acanto", + "pool": [], + "sequence": "1" + }, + "consensus": null, + "crisis": { + "constant_fee": { + "denom": "acanto", + "amount": "1000" + } + }, + "csr": { + "params": { + "enable_csr": false, + "csr_shares": "0.200000000000000000" + }, + "csrs": [], + "turnstile_address": "" + }, + "distribution": { + "params": { + "community_tax": "0.020000000000000000", + "base_proposer_reward": "0.000000000000000000", + "bonus_proposer_reward": "0.000000000000000000", + "withdraw_addr_enabled": true + }, + "fee_pool": { + "community_pool": [] + }, + "delegator_withdraw_infos": [], + "previous_proposer": "", + "outstanding_rewards": [], + "validator_accumulated_commissions": [], + "validator_historical_rewards": [], + "validator_current_rewards": [], + "delegator_starting_infos": [], + "validator_slash_events": [] + }, + "epochs": { + "epochs": [ + { + "identifier": "week", + "start_time": "0001-01-01T00:00:00Z", + "duration": "604800s", + "current_epoch": "0", + "current_epoch_start_time": "0001-01-01T00:00:00Z", + "epoch_counting_started": false, + "current_epoch_start_height": "0" + }, + { + "identifier": "day", + "start_time": "0001-01-01T00:00:00Z", + "duration": "86400s", + "current_epoch": "0", + "current_epoch_start_time": "0001-01-01T00:00:00Z", + "epoch_counting_started": false, + "current_epoch_start_height": "0" + } + ] + }, + "erc20": { + "params": { + "enable_erc20": true, + "enable_evm_hook": true + }, + "token_pairs": [], + "denom_indexes": [], + "erc20_address_indexes": [] + }, + "evidence": { + "evidence": [] + }, + "evm": { + "accounts": [], + "params": { + "evm_denom": "acanto", + "enable_create": true, + "enable_call": true, + "extra_eips": [], + "chain_config": { + "homestead_block": "0", + "dao_fork_block": "0", + "dao_fork_support": true, + "eip150_block": "0", + "eip150_hash": "0x0000000000000000000000000000000000000000000000000000000000000000", + "eip155_block": "0", + "eip158_block": "0", + "byzantium_block": "0", + "constantinople_block": "0", + "petersburg_block": "0", + "istanbul_block": "0", + "muir_glacier_block": "0", + "berlin_block": "0", + "london_block": "0", + "arrow_glacier_block": "0", + "gray_glacier_block": "0", + "merge_netsplit_block": "0", + "shanghai_block": "0", + "cancun_block": "0" + }, + "allow_unprotected_txs": false + } + }, + "feegrant": { + "allowances": [] + }, + "feemarket": { + "params": { + "no_base_fee": false, + "base_fee_change_denominator": 8, + "elasticity_multiplier": 2, + "enable_height": "0", + "base_fee": "1000000000", + "min_gas_price": "0.000000000000000000", + "min_gas_multiplier": "0.500000000000000000" + }, + "block_gas": "0" + }, + "genutil": { + "gen_txs": [ + { + "body": { + "messages": [ + { + "@type": "/cosmos.staking.v1beta1.MsgCreateValidator", + "description": { + "moniker": "plex-validator", + "identity": "", + "website": "", + "security_contact": "", + "details": "" + }, + "commission": { + "rate": "0.100000000000000000", + "max_rate": "0.200000000000000000", + "max_change_rate": "0.010000000000000000" + }, + "min_self_delegation": "1", + "delegator_address": "", + "validator_address": "cantovaloper1edt6tjhm92avsyr354cwxrdyg23je9x9qedpld", + "pubkey": { + "@type": "/cosmos.crypto.ed25519.PubKey", + "key": "tEFXaK+An7X6bl10MMF6QWmsMaB0Q0rLYZVn6iHO8fI=" + }, + "value": { + "denom": "acanto", + "amount": "900000000000000000000000" + } + } + ], + "memo": "910113b539ff49ea7cfa49fda144763407bcbb1a@192.168.110.186:26656", + "timeout_height": "0", + "extension_options": [], + "non_critical_extension_options": [] + }, + "auth_info": { + "signer_infos": [ + { + "public_key": { + "@type": "/ethermint.crypto.v1.ethsecp256k1.PubKey", + "key": "A3RPCnozRrHBQtDFucW6TRk5vjlrBByyxXMIwFVxHXep" + }, + "mode_info": { + "single": { + "mode": "SIGN_MODE_DIRECT" + } + }, + "sequence": "0" + } + ], + "fee": { + "amount": [], + "gas_limit": "200000", + "payer": "", + "granter": "" + }, + "tip": null + }, + "signatures": [ + "OA9XnNnSoGE3I64wJOsDeXz/sq23BD+zEJT9jULVH2xYId/O9cbedalEWCpIkvobZLCTkudtt6P6VOy/8P2FDAA=" + ] + } + ] + }, + "gov": { + "starting_proposal_id": "1", + "deposits": [], + "votes": [], + "proposals": [], + "deposit_params": { + "min_deposit": [ + { + "denom": "acanto" + } + ] + }, + "voting_params": { + "voting_period": "30s" + }, + "tally_params": null, + "params": { + "min_deposit": [ + { + "denom": "stake", + "amount": "10000000" + } + ], + "max_deposit_period": "172800s", + "voting_period": "172800s", + "quorum": "0.334000000000000000", + "threshold": "0.500000000000000000", + "veto_threshold": "0.334000000000000000", + "min_initial_deposit_ratio": "0.000000000000000000", + "proposal_cancel_ratio": "0.500000000000000000", + "proposal_cancel_dest": "", + "expedited_voting_period": "86400s", + "expedited_threshold": "0.667000000000000000", + "expedited_min_deposit": [ + { + "denom": "acanto", + "amount": "50000000" + } + ], + "burn_vote_quorum": false, + "burn_proposal_deposit_prevote": false, + "burn_vote_veto": true, + "min_deposit_ratio": "0.010000000000000000" + }, + "constitution": "" + }, + "govshuttle": { + "params": {}, + "port_contract_addr": "" + }, + "ibc": { + "client_genesis": { + "clients": [], + "clients_consensus": [], + "clients_metadata": [], + "params": { + "allowed_clients": [ + "*" + ] + }, + "create_localhost": false, + "next_client_sequence": "0" + }, + "connection_genesis": { + "connections": [], + "client_connection_paths": [], + "next_connection_sequence": "0", + "params": { + "max_expected_time_per_block": "30000000000" + } + }, + "channel_genesis": { + "channels": [], + "acknowledgements": [], + "commitments": [], + "receipts": [], + "send_sequences": [], + "recv_sequences": [], + "ack_sequences": [], + "next_channel_sequence": "0", + "params": { + "upgrade_timeout": { + "height": { + "revision_number": "0", + "revision_height": "0" + }, + "timestamp": "600000000000" + } + } + } + }, + "inflation": { + "params": { + "mint_denom": "acanto", + "exponential_calculation": { + "a": "16304348.000000000000000000", + "r": "0.350000000000000000", + "c": "0.000000000000000000", + "bonding_target": "0.800000000000000000", + "max_variance": "0.000000000000000000" + }, + "inflation_distribution": { + "staking_rewards": "1.000000000000000000", + "community_pool": "0.000000000000000000" + }, + "enable_inflation": false + }, + "period": "0", + "epoch_identifier": "day", + "epochs_per_period": "30", + "skipped_epochs": "0" + }, + "onboarding": { + "params": { + "enable_onboarding": true, + "auto_swap_threshold": "4000000000000000000", + "whitelisted_channels": [ + "channel-0" + ] + } + }, + "params": null, + "slashing": { + "params": { + "signed_blocks_window": "100", + "min_signed_per_window": "0.500000000000000000", + "downtime_jail_duration": "600s", + "slash_fraction_double_sign": "0.050000000000000000", + "slash_fraction_downtime": "0.010000000000000000" + }, + "signing_infos": [], + "missed_blocks": [] + }, + "staking": { + "params": { + "unbonding_time": "1814400s", + "max_validators": 100, + "max_entries": 7, + "historical_entries": 10000, + "bond_denom": "acanto", + "min_commission_rate": "0.000000000000000000" + }, + "last_total_power": "0", + "last_validator_powers": [], + "validators": [], + "delegations": [], + "unbonding_delegations": [], + "redelegations": [], + "exported": false + }, + "transfer": { + "port_id": "transfer", + "denom_traces": [], + "params": { + "send_enabled": true, + "receive_enabled": true + }, + "total_escrowed": [] + }, + "upgrade": {} + }, + "consensus": { + "params": { + "block": { + "max_bytes": "22020096", + "max_gas": "10000000" + }, + "evidence": { + "max_age_num_blocks": "100000", + "max_age_duration": "172800000000000", + "max_bytes": "1048576" + }, + "validator": { + "pub_key_types": [ + "ed25519" + ] + }, + "version": { + "app": "0" + }, + "abci": { + "vote_extensions_enable_height": "0" + } + } + } +} \ No newline at end of file