mirror of
				https://github.com/0glabs/0g-chain.git
				synced 2025-11-04 04:17:27 +00:00 
			
		
		
		
	* feat: add swagger * add version info for mainnet * feat: reorganize to prepare for develop merge * feat: update readme
		
			
				
	
	
		
			361 lines
		
	
	
		
			13 KiB
		
	
	
	
		
			JSON
		
	
	
	
	
	
			
		
		
	
	
			361 lines
		
	
	
		
			13 KiB
		
	
	
	
		
			JSON
		
	
	
	
	
	
{
 | 
						|
    "genesis_time": "2020-01-22T22:39:50.083273Z",
 | 
						|
    "chain_id": "testing",
 | 
						|
    "consensus_params": {
 | 
						|
        "block": {
 | 
						|
            "max_bytes": "200000",
 | 
						|
            "max_gas": "2000000",
 | 
						|
            "time_iota_ms": "1000"
 | 
						|
        },
 | 
						|
        "evidence": {
 | 
						|
            "max_age": "1000000"
 | 
						|
        },
 | 
						|
        "validator": {
 | 
						|
            "pub_key_types": [
 | 
						|
                "ed25519"
 | 
						|
            ]
 | 
						|
        }
 | 
						|
    },
 | 
						|
    "app_hash": "",
 | 
						|
    "app_state": {
 | 
						|
        "slashing": {
 | 
						|
            "missed_blocks": {},
 | 
						|
            "params": {
 | 
						|
                "downtime_jail_duration": "600000000000",
 | 
						|
                "max_evidence_age": "3600000000000",
 | 
						|
                "min_signed_per_window": "0.010000000000000000",
 | 
						|
                "signed_blocks_window": "1000",
 | 
						|
                "slash_fraction_double_sign": "0.050000000000000000",
 | 
						|
                "slash_fraction_downtime": "0.000100000000000000"
 | 
						|
            },
 | 
						|
            "signing_infos": {}
 | 
						|
        },
 | 
						|
        "params": null,
 | 
						|
        "bank": {
 | 
						|
            "send_enabled": true
 | 
						|
        },
 | 
						|
        "crisis": {
 | 
						|
            "constant_fee": {
 | 
						|
                "amount": "1333000000",
 | 
						|
                "denom": "ukava"
 | 
						|
            }
 | 
						|
        },
 | 
						|
        "cdp": {
 | 
						|
            "cdps": [],
 | 
						|
            "debt_denom": "debt",
 | 
						|
            "deposits": [],
 | 
						|
            "gov_denom": "ukava",
 | 
						|
            "params": {
 | 
						|
                "circuit_breaker": false,
 | 
						|
                "collateral_params": [
 | 
						|
                    {
 | 
						|
                        "auction_size": "10000000",
 | 
						|
                        "conversion_factor": "8",
 | 
						|
                        "debt_limit": [
 | 
						|
                            {
 | 
						|
                                "amount": "1000000000000",
 | 
						|
                                "denom": "usdx"
 | 
						|
                            }
 | 
						|
                        ],
 | 
						|
                        "denom": "btc",
 | 
						|
                        "liquidation_penalty": "0.05",
 | 
						|
                        "liquidation_ratio": "1.5",
 | 
						|
                        "market_id": "btc:usd",
 | 
						|
                        "prefix": 0,
 | 
						|
                        "stability_fee": "1.0000000007829977"
 | 
						|
                    },
 | 
						|
                    {
 | 
						|
                        "auction_size": "10000000",
 | 
						|
                        "conversion_factor": "6",
 | 
						|
                        "debt_limit": [
 | 
						|
                            {
 | 
						|
                                "amount": "10000000",
 | 
						|
                                "denom": "usdx"
 | 
						|
                            }
 | 
						|
                        ],
 | 
						|
                        "denom": "xrp",
 | 
						|
                        "liquidation_penalty": "0.1",
 | 
						|
                        "liquidation_ratio": "2.0",
 | 
						|
                        "market_id": "xrp:usd",
 | 
						|
                        "prefix": 1,
 | 
						|
                        "stability_fee": "1.0000000007829977"
 | 
						|
                    }
 | 
						|
                ],
 | 
						|
                "debt_auction_threshold": "1000000000",
 | 
						|
                "debt_params": [
 | 
						|
                    {
 | 
						|
                        "conversion_factor": "6",
 | 
						|
                        "debt_floor": "10000000",
 | 
						|
                        "debt_limit": [
 | 
						|
                            {
 | 
						|
                                "amount": "2000000000000",
 | 
						|
                                "denom": "usdx"
 | 
						|
                            }
 | 
						|
                        ],
 | 
						|
                        "denom": "usdx",
 | 
						|
                        "reference_asset": "usd"
 | 
						|
                    }
 | 
						|
                ],
 | 
						|
                "global_debt_limit": [
 | 
						|
                    {
 | 
						|
                        "amount": "2000000000000",
 | 
						|
                        "denom": "usdx"
 | 
						|
                    }
 | 
						|
                ],
 | 
						|
                "surplus_auction_threshold": "1000000000"
 | 
						|
            },
 | 
						|
            "previous_block_time": "1970-01-01T00:00:00Z",
 | 
						|
            "starting_cdp_id": "1"
 | 
						|
        },
 | 
						|
        "auction": {
 | 
						|
            "auctions": [],
 | 
						|
            "next_auction_id": "0",
 | 
						|
            "params": {
 | 
						|
                "bid_duration": "150000000000",
 | 
						|
                "max_auction_duration": "400000000000"
 | 
						|
            }
 | 
						|
        },
 | 
						|
        "genutil": {
 | 
						|
            "gentxs": [
 | 
						|
                {
 | 
						|
                    "type": "cosmos-sdk/StdTx",
 | 
						|
                    "value": {
 | 
						|
                        "msg": [
 | 
						|
                            {
 | 
						|
                                "type": "cosmos-sdk/MsgCreateValidator",
 | 
						|
                                "value": {
 | 
						|
                                    "description": {
 | 
						|
                                        "moniker": "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": "kava15qdefkmwswysgg4qxgqpqr35k3m49pkx2jdfnw",
 | 
						|
                                    "validator_address": "kavavaloper15qdefkmwswysgg4qxgqpqr35k3m49pkx8yhpte",
 | 
						|
                                    "pubkey": "kavavalconspub1zcjduepq0ykwlzr3guncl5l8npqa5lmq8kc5y2aeqp8zc8e72t3stxujxvxsxqjqwt",
 | 
						|
                                    "value": {
 | 
						|
                                        "denom": "ukava",
 | 
						|
                                        "amount": "100000000"
 | 
						|
                                    }
 | 
						|
                                }
 | 
						|
                            }
 | 
						|
                        ],
 | 
						|
                        "fee": {
 | 
						|
                            "amount": [],
 | 
						|
                            "gas": "200000"
 | 
						|
                        },
 | 
						|
                        "signatures": [
 | 
						|
                            {
 | 
						|
                                "pub_key": {
 | 
						|
                                    "type": "tendermint/PubKeySecp256k1",
 | 
						|
                                    "value": "Az740XKIPCJtnZLmJfktTfhsEStEJE3n2iRVyJ3wko43"
 | 
						|
                                },
 | 
						|
                                "signature": "llQmiLi+BQDKT2D2fOSr+eiDTXnce9xvZ7xls8EgoLIn+vz3HpyaTEoUQVes0kXbHfwJVSTz8jN6Z7HWYeEDlw=="
 | 
						|
                            }
 | 
						|
                        ],
 | 
						|
                        "memo": "75917fc405a9af4ed44161a38456ce290a588100@10.21.104.217:26656"
 | 
						|
                    }
 | 
						|
                }
 | 
						|
            ]
 | 
						|
        },
 | 
						|
        "supply": {
 | 
						|
            "supply": []
 | 
						|
        },
 | 
						|
        "validatorvesting": {
 | 
						|
            "previous_block_time": "1970-01-01T00:00:00Z"
 | 
						|
        },
 | 
						|
        "mint": {
 | 
						|
            "minter": {
 | 
						|
                "annual_provisions": "0.000000000000000000",
 | 
						|
                "inflation": "0.020000000000000000"
 | 
						|
            },
 | 
						|
            "params": {
 | 
						|
                "blocks_per_year": "6311520",
 | 
						|
                "goal_bonded": "0.670000000000000000",
 | 
						|
                "inflation_max": "0.130000000000000000",
 | 
						|
                "inflation_min": "0.010000000000000000",
 | 
						|
                "inflation_rate_change": "0.130000000000000000",
 | 
						|
                "mint_denom": "ukava"
 | 
						|
            }
 | 
						|
        },
 | 
						|
        "distribution": {
 | 
						|
            "base_proposer_reward": "0.010000000000000000",
 | 
						|
            "bonus_proposer_reward": "0.040000000000000000",
 | 
						|
            "community_tax": "0.000000000000000000",
 | 
						|
            "delegator_starting_infos": [],
 | 
						|
            "delegator_withdraw_infos": [],
 | 
						|
            "fee_pool": {
 | 
						|
                "community_pool": []
 | 
						|
            },
 | 
						|
            "outstanding_rewards": [],
 | 
						|
            "previous_proposer": "",
 | 
						|
            "validator_accumulated_commissions": [],
 | 
						|
            "validator_current_rewards": [],
 | 
						|
            "validator_historical_rewards": [],
 | 
						|
            "validator_slash_events": [],
 | 
						|
            "withdraw_addr_enabled": true
 | 
						|
        },
 | 
						|
        "auth": {
 | 
						|
            "accounts": [
 | 
						|
                {
 | 
						|
                    "type": "cosmos-sdk/Account",
 | 
						|
                    "value": {
 | 
						|
                        "account_number": "0",
 | 
						|
                        "address": "kava15qdefkmwswysgg4qxgqpqr35k3m49pkx2jdfnw",
 | 
						|
                        "coins": [
 | 
						|
                            {
 | 
						|
                                "amount": "10000000000",
 | 
						|
                                "denom": "btc"
 | 
						|
                            },
 | 
						|
                            {
 | 
						|
                                "amount": "9000000000",
 | 
						|
                                "denom": "ukava"
 | 
						|
                            },
 | 
						|
                            {
 | 
						|
                                "amount": "90000000000",
 | 
						|
                                "denom": "xrp"
 | 
						|
                            }
 | 
						|
                        ],
 | 
						|
                        "public_key": null,
 | 
						|
                        "sequence": "0"
 | 
						|
                    }
 | 
						|
                },
 | 
						|
                {
 | 
						|
                    "type": "cosmos-sdk/Account",
 | 
						|
                    "value": {
 | 
						|
                        "account_number": "0",
 | 
						|
                        "address": "kava1xy7hrjy9r0algz9w3gzm8u6mrpq97kwta747gj",
 | 
						|
                        "coins": [
 | 
						|
                            {
 | 
						|
                                "amount": "10000000000",
 | 
						|
                                "denom": "btc"
 | 
						|
                            },
 | 
						|
                            {
 | 
						|
                                "amount": "9000000000",
 | 
						|
                                "denom": "ukava"
 | 
						|
                            },
 | 
						|
                            {
 | 
						|
                                "amount": "90000000000",
 | 
						|
                                "denom": "xrp"
 | 
						|
                            }
 | 
						|
                        ],
 | 
						|
                        "public_key": null,
 | 
						|
                        "sequence": "0"
 | 
						|
                    }
 | 
						|
                },
 | 
						|
                {
 | 
						|
                    "type": "cosmos-sdk/Account",
 | 
						|
                    "value": {
 | 
						|
                        "account_number": "0",
 | 
						|
                        "address": "kava12jk3szk45afmvjc3xc6kvj4e40tuy2m8ckgs03",
 | 
						|
                        "coins": [
 | 
						|
                            {
 | 
						|
                                "amount": "10000000000",
 | 
						|
                                "denom": "btc"
 | 
						|
                            },
 | 
						|
                            {
 | 
						|
                                "amount": "9000000000",
 | 
						|
                                "denom": "ukava"
 | 
						|
                            },
 | 
						|
                            {
 | 
						|
                                "amount": "90000000000",
 | 
						|
                                "denom": "xrp"
 | 
						|
                            }
 | 
						|
                        ],
 | 
						|
                        "public_key": null,
 | 
						|
                        "sequence": "0"
 | 
						|
                    }
 | 
						|
                }
 | 
						|
            ],
 | 
						|
            "params": {
 | 
						|
                "max_memo_characters": "256",
 | 
						|
                "sig_verify_cost_ed25519": "590",
 | 
						|
                "sig_verify_cost_secp256k1": "1000",
 | 
						|
                "tx_sig_limit": "7",
 | 
						|
                "tx_size_cost_per_byte": "10"
 | 
						|
            }
 | 
						|
        },
 | 
						|
        "staking": {
 | 
						|
            "delegations": null,
 | 
						|
            "exported": false,
 | 
						|
            "last_total_power": "0",
 | 
						|
            "last_validator_powers": null,
 | 
						|
            "params": {
 | 
						|
                "bond_denom": "ukava",
 | 
						|
                "max_entries": 7,
 | 
						|
                "max_validators": 100,
 | 
						|
                "unbonding_time": "3600000000000"
 | 
						|
            },
 | 
						|
            "redelegations": null,
 | 
						|
            "unbonding_delegations": null,
 | 
						|
            "validators": null
 | 
						|
        },
 | 
						|
        "pricefeed": {
 | 
						|
            "params": {
 | 
						|
                "markets": [
 | 
						|
                    {
 | 
						|
                        "active": true,
 | 
						|
                        "base_asset": "xrp",
 | 
						|
                        "market_id": "xrp:usd",
 | 
						|
                        "oracles": [
 | 
						|
                            "kava15qdefkmwswysgg4qxgqpqr35k3m49pkx2jdfnw"
 | 
						|
                        ],
 | 
						|
                        "quote_asset": "usd"
 | 
						|
                    },
 | 
						|
                    {
 | 
						|
                        "active": true,
 | 
						|
                        "base_asset": "btc",
 | 
						|
                        "market_id": "btc:usd",
 | 
						|
                        "oracles": [],
 | 
						|
                        "quote_asset": "usd"
 | 
						|
                    }
 | 
						|
                ]
 | 
						|
            },
 | 
						|
            "posted_prices": [
 | 
						|
                {
 | 
						|
                    "expiry": "2050-01-01T00:00:00Z",
 | 
						|
                    "market_id": "btc:usd",
 | 
						|
                    "oracle_address": "",
 | 
						|
                    "price": "8700.0"
 | 
						|
                },
 | 
						|
                {
 | 
						|
                    "expiry": "2050-01-01T00:00:00Z",
 | 
						|
                    "market_id": "xrp:usd",
 | 
						|
                    "oracle_address": "kava15qdefkmwswysgg4qxgqpqr35k3m49pkx2jdfnw",
 | 
						|
                    "price": "0.25"
 | 
						|
                }
 | 
						|
            ]
 | 
						|
        },
 | 
						|
        "gov": {
 | 
						|
            "deposit_params": {
 | 
						|
                "max_deposit_period": "300000000000",
 | 
						|
                "min_deposit": [
 | 
						|
                    {
 | 
						|
                        "amount": "1000000",
 | 
						|
                        "denom": "ukava"
 | 
						|
                    }
 | 
						|
                ]
 | 
						|
            },
 | 
						|
            "deposits": null,
 | 
						|
            "proposals": null,
 | 
						|
            "starting_proposal_id": "1",
 | 
						|
            "tally_params": {
 | 
						|
                "quorum": "0.334000000000000000",
 | 
						|
                "threshold": "0.500000000000000000",
 | 
						|
                "veto": "0.334000000000000000"
 | 
						|
            },
 | 
						|
            "votes": null,
 | 
						|
            "voting_params": {
 | 
						|
                "voting_period": "300000000000"
 | 
						|
            }
 | 
						|
        }
 | 
						|
    }
 | 
						|
}
 |