diff --git a/mainnet-1/specs/cosmossdkv45.json b/mainnet-1/specs/cosmossdkv45.json new file mode 100644 index 000000000..3f68cf3dc --- /dev/null +++ b/mainnet-1/specs/cosmossdkv45.json @@ -0,0 +1,1139 @@ +{ + "proposal": { + "title": "Add Specs: Cosmos SDK v0.45", + "description": "Adding default Cosmos SDK v0.45 deprecated apis specification", + "specs": [ + { + "index": "COSMOSSDK45DEP", + "name": "cosmos sdk deprecated apis", + "enabled": false, + "imports": [], + "reliability_threshold": 268435455, + "data_reliability_enabled": true, + "block_distance_for_finalized_data": 0, + "blocks_in_finalization_proof": 1, + "average_block_time": 6500, + "allowed_block_lag_for_qos_sync": 2, + "shares": 1, + "min_stake_provider": { + "denom": "ulava", + "amount": "47500000000" + }, + "api_collections": [ + { + "enabled": true, + "collection_data": { + "api_interface": "rest", + "internal_path": "", + "type": "GET", + "add_on": "" + }, + "apis": [ + { + "name": "/blocks/latest", + "block_parsing": { + "parser_arg": [ + "latest" + ], + "parser_func": "DEFAULT" + }, + "compute_units": 10, + "enabled": true, + "category": { + "deterministic": true, + "local": false, + "subscription": false, + "stateful": 0 + }, + "extra_compute_units": 0 + }, + { + "name": "/txs", + "block_parsing": { + "parser_arg": [ + "latest" + ], + "parser_func": "DEFAULT" + }, + "compute_units": 10, + "enabled": true, + "category": { + "deterministic": false, + "local": false, + "subscription": false, + "stateful": 0, + "hanging_api": true + }, + "extra_compute_units": 0 + }, + { + "name": "/txs/{hash}", + "block_parsing": { + "parser_arg": [ + "latest" + ], + "parser_func": "DEFAULT" + }, + "compute_units": 10, + "enabled": true, + "category": { + "deterministic": false, + "local": false, + "subscription": false, + "stateful": 0, + "hanging_api": true + }, + "extra_compute_units": 0 + }, + { + "name": "/bank/balances/{address}", + "block_parsing": { + "parser_arg": [ + "latest" + ], + "parser_func": "DEFAULT" + }, + "compute_units": 10, + "enabled": true, + "category": { + "deterministic": false, + "local": false, + "subscription": false, + "stateful": 0, + "hanging_api": true + }, + "extra_compute_units": 0 + }, + { + "name": "/bank/total", + "block_parsing": { + "parser_arg": [ + "latest" + ], + "parser_func": "DEFAULT" + }, + "compute_units": 10, + "enabled": true, + "category": { + "deterministic": false, + "local": false, + "subscription": false, + "stateful": 0, + "hanging_api": true + }, + "extra_compute_units": 0 + }, + { + "name": "/bank/total/{denomination}", + "block_parsing": { + "parser_arg": [ + "latest" + ], + "parser_func": "DEFAULT" + }, + "compute_units": 10, + "enabled": true, + "category": { + "deterministic": false, + "local": false, + "subscription": false, + "stateful": 0, + "hanging_api": true + }, + "extra_compute_units": 0 + }, + { + "name": "/auth/accounts/{address}", + "block_parsing": { + "parser_arg": [ + "latest" + ], + "parser_func": "DEFAULT" + }, + "compute_units": 10, + "enabled": true, + "category": { + "deterministic": false, + "local": false, + "subscription": false, + "stateful": 0, + "hanging_api": true + }, + "extra_compute_units": 0 + }, + { + "name": "/staking/delegators/{delegatorAddr}/delegations", + "block_parsing": { + "parser_arg": [ + "latest" + ], + "parser_func": "DEFAULT" + }, + "compute_units": 10, + "enabled": true, + "category": { + "deterministic": false, + "local": false, + "subscription": false, + "stateful": 0, + "hanging_api": true + }, + "extra_compute_units": 0 + }, + { + "name": "/staking/delegators/{delegatorAddr}/delegations/{validatorAddr}", + "block_parsing": { + "parser_arg": [ + "latest" + ], + "parser_func": "DEFAULT" + }, + "compute_units": 10, + "enabled": true, + "category": { + "deterministic": false, + "local": false, + "subscription": false, + "stateful": 0, + "hanging_api": true + }, + "extra_compute_units": 0 + }, + { + "name": "/staking/delegators/{delegatorAddr}/unbonding_delegations", + "block_parsing": { + "parser_arg": [ + "latest" + ], + "parser_func": "DEFAULT" + }, + "compute_units": 10, + "enabled": true, + "category": { + "deterministic": false, + "local": false, + "subscription": false, + "stateful": 0, + "hanging_api": true + }, + "extra_compute_units": 0 + }, + { + "name": "/staking/delegators/{delegatorAddr}/unbonding_delegations/{validatorAddr}", + "block_parsing": { + "parser_arg": [ + "latest" + ], + "parser_func": "DEFAULT" + }, + "compute_units": 10, + "enabled": true, + "category": { + "deterministic": false, + "local": false, + "subscription": false, + "stateful": 0, + "hanging_api": true + }, + "extra_compute_units": 0 + }, + { + "name": "/staking/redelegations", + "block_parsing": { + "parser_arg": [ + "latest" + ], + "parser_func": "DEFAULT" + }, + "compute_units": 10, + "enabled": true, + "category": { + "deterministic": false, + "local": false, + "subscription": false, + "stateful": 0, + "hanging_api": true + }, + "extra_compute_units": 0 + }, + { + "name": "/staking/delegators/{delegatorAddr}/validators", + "block_parsing": { + "parser_arg": [ + "latest" + ], + "parser_func": "DEFAULT" + }, + "compute_units": 10, + "enabled": true, + "category": { + "deterministic": false, + "local": false, + "subscription": false, + "stateful": 0, + "hanging_api": true + }, + "extra_compute_units": 0 + }, + { + "name": "/staking/delegators/{delegatorAddr}/validators/{validatorAddr}", + "block_parsing": { + "parser_arg": [ + "latest" + ], + "parser_func": "DEFAULT" + }, + "compute_units": 10, + "enabled": true, + "category": { + "deterministic": false, + "local": false, + "subscription": false, + "stateful": 0, + "hanging_api": true + }, + "extra_compute_units": 0 + }, + { + "name": "/staking/validators", + "block_parsing": { + "parser_arg": [ + "latest" + ], + "parser_func": "DEFAULT" + }, + "compute_units": 10, + "enabled": true, + "category": { + "deterministic": false, + "local": false, + "subscription": false, + "stateful": 0, + "hanging_api": true + }, + "extra_compute_units": 0 + }, + { + "name": "/staking/validators/{validatorAddr}", + "block_parsing": { + "parser_arg": [ + "latest" + ], + "parser_func": "DEFAULT" + }, + "compute_units": 10, + "enabled": true, + "category": { + "deterministic": false, + "local": false, + "subscription": false, + "stateful": 0, + "hanging_api": true + }, + "extra_compute_units": 0 + }, + { + "name": "/staking/validators/{validatorAddr}/unbonding_delegations", + "block_parsing": { + "parser_arg": [ + "latest" + ], + "parser_func": "DEFAULT" + }, + "compute_units": 10, + "enabled": true, + "category": { + "deterministic": false, + "local": false, + "subscription": false, + "stateful": 0, + "hanging_api": true + }, + "extra_compute_units": 0 + }, + { + "name": "/staking/pool", + "block_parsing": { + "parser_arg": [ + "latest" + ], + "parser_func": "DEFAULT" + }, + "compute_units": 10, + "enabled": true, + "category": { + "deterministic": false, + "local": false, + "subscription": false, + "stateful": 0, + "hanging_api": true + }, + "extra_compute_units": 0 + }, + { + "name": "/staking/parameters", + "block_parsing": { + "parser_arg": [ + "latest" + ], + "parser_func": "DEFAULT" + }, + "compute_units": 10, + "enabled": true, + "category": { + "deterministic": false, + "local": false, + "subscription": false, + "stateful": 0, + "hanging_api": true + }, + "extra_compute_units": 0 + }, + { + "name": "/slashing/signing_infos", + "block_parsing": { + "parser_arg": [ + "latest" + ], + "parser_func": "DEFAULT" + }, + "compute_units": 10, + "enabled": true, + "category": { + "deterministic": false, + "local": false, + "subscription": false, + "stateful": 0, + "hanging_api": true + }, + "extra_compute_units": 0 + }, + { + "name": "/slashing/parameters", + "block_parsing": { + "parser_arg": [ + "latest" + ], + "parser_func": "DEFAULT" + }, + "compute_units": 10, + "enabled": true, + "category": { + "deterministic": false, + "local": false, + "subscription": false, + "stateful": 0, + "hanging_api": true + }, + "extra_compute_units": 0 + }, + { + "name": "/minting/parameters", + "block_parsing": { + "parser_arg": [ + "latest" + ], + "parser_func": "DEFAULT" + }, + "compute_units": 10, + "enabled": true, + "category": { + "deterministic": false, + "local": false, + "subscription": false, + "stateful": 0, + "hanging_api": true + }, + "extra_compute_units": 0 + }, + { + "name": "/minting/inflation", + "block_parsing": { + "parser_arg": [ + "latest" + ], + "parser_func": "DEFAULT" + }, + "compute_units": 10, + "enabled": true, + "category": { + "deterministic": false, + "local": false, + "subscription": false, + "stateful": 0, + "hanging_api": true + }, + "extra_compute_units": 0 + }, + { + "name": "/minting/annual-provisions", + "block_parsing": { + "parser_arg": [ + "latest" + ], + "parser_func": "DEFAULT" + }, + "compute_units": 10, + "enabled": true, + "category": { + "deterministic": false, + "local": false, + "subscription": false, + "stateful": 0, + "hanging_api": true + }, + "extra_compute_units": 0 + }, + { + "name": "/staking/validators/{validatorAddr}/delegations", + "block_parsing": { + "parser_arg": [ + "latest" + ], + "parser_func": "DEFAULT" + }, + "compute_units": 10, + "enabled": true, + "category": { + "deterministic": false, + "local": false, + "subscription": false, + "stateful": 0, + "hanging_api": true + }, + "extra_compute_units": 0 + }, + { + "name": "/gov/proposals", + "block_parsing": { + "parser_arg": [ + "latest" + ], + "parser_func": "DEFAULT" + }, + "compute_units": 10, + "enabled": true, + "category": { + "deterministic": false, + "local": false, + "subscription": false, + "stateful": 0, + "hanging_api": true + }, + "extra_compute_units": 0 + }, + { + "name": "/gov/proposals/{proposalId}", + "block_parsing": { + "parser_arg": [ + "latest" + ], + "parser_func": "DEFAULT" + }, + "compute_units": 10, + "enabled": true, + "category": { + "deterministic": false, + "local": false, + "subscription": false, + "stateful": 0, + "hanging_api": true + }, + "extra_compute_units": 0 + }, + { + "name": "/gov/proposals/{proposalId}/proposer", + "block_parsing": { + "parser_arg": [ + "latest" + ], + "parser_func": "DEFAULT" + }, + "compute_units": 10, + "enabled": true, + "category": { + "deterministic": false, + "local": false, + "subscription": false, + "stateful": 0, + "hanging_api": true + }, + "extra_compute_units": 0 + }, + { + "name": "/gov/proposals/{proposalId}/deposits", + "block_parsing": { + "parser_arg": [ + "latest" + ], + "parser_func": "DEFAULT" + }, + "compute_units": 10, + "enabled": true, + "category": { + "deterministic": false, + "local": false, + "subscription": false, + "stateful": 0, + "hanging_api": true + }, + "extra_compute_units": 0 + }, + { + "name": "/gov/proposals/{proposalId}/deposits/{depositor}", + "block_parsing": { + "parser_arg": [ + "latest" + ], + "parser_func": "DEFAULT" + }, + "compute_units": 10, + "enabled": true, + "category": { + "deterministic": false, + "local": false, + "subscription": false, + "stateful": 0, + "hanging_api": true + }, + "extra_compute_units": 0 + }, + { + "name": "/gov/proposals/{proposalId}/votes", + "block_parsing": { + "parser_arg": [ + "latest" + ], + "parser_func": "DEFAULT" + }, + "compute_units": 10, + "enabled": true, + "category": { + "deterministic": false, + "local": false, + "subscription": false, + "stateful": 0, + "hanging_api": true + }, + "extra_compute_units": 0 + }, + { + "name": "/gov/proposals/{proposalId}/votes/{voter}", + "block_parsing": { + "parser_arg": [ + "latest" + ], + "parser_func": "DEFAULT" + }, + "compute_units": 10, + "enabled": true, + "category": { + "deterministic": false, + "local": false, + "subscription": false, + "stateful": 0, + "hanging_api": true + }, + "extra_compute_units": 0 + }, + { + "name": "/gov/proposals/{proposalId}/tally", + "block_parsing": { + "parser_arg": [ + "latest" + ], + "parser_func": "DEFAULT" + }, + "compute_units": 10, + "enabled": true, + "category": { + "deterministic": false, + "local": false, + "subscription": false, + "stateful": 0, + "hanging_api": true + }, + "extra_compute_units": 0 + }, + { + "name": "/gov/parameters/deposit", + "block_parsing": { + "parser_arg": [ + "latest" + ], + "parser_func": "DEFAULT" + }, + "compute_units": 10, + "enabled": true, + "category": { + "deterministic": false, + "local": false, + "subscription": false, + "stateful": 0, + "hanging_api": true + }, + "extra_compute_units": 0 + }, + { + "name": "/gov/parameters/tallying", + "block_parsing": { + "parser_arg": [ + "latest" + ], + "parser_func": "DEFAULT" + }, + "compute_units": 10, + "enabled": true, + "category": { + "deterministic": false, + "local": false, + "subscription": false, + "stateful": 0, + "hanging_api": true + }, + "extra_compute_units": 0 + }, + { + "name": "/gov/parameters/voting", + "block_parsing": { + "parser_arg": [ + "latest" + ], + "parser_func": "DEFAULT" + }, + "compute_units": 10, + "enabled": true, + "category": { + "deterministic": false, + "local": false, + "subscription": false, + "stateful": 0, + "hanging_api": true + }, + "extra_compute_units": 0 + }, + { + "name": "/distribution/delegators/{delegatorAddr}/rewards", + "block_parsing": { + "parser_arg": [ + "latest" + ], + "parser_func": "DEFAULT" + }, + "compute_units": 10, + "enabled": true, + "category": { + "deterministic": false, + "local": false, + "subscription": false, + "stateful": 0, + "hanging_api": true + }, + "extra_compute_units": 0 + }, + { + "name": "/distribution/delegators/{delegatorAddr}/rewards/{validatorAddr}", + "block_parsing": { + "parser_arg": [ + "latest" + ], + "parser_func": "DEFAULT" + }, + "compute_units": 10, + "enabled": true, + "category": { + "deterministic": false, + "local": false, + "subscription": false, + "stateful": 0, + "hanging_api": true + }, + "extra_compute_units": 0 + }, + { + "name": "/distribution/delegators/{delegatorAddr}/withdraw_address", + "block_parsing": { + "parser_arg": [ + "latest" + ], + "parser_func": "DEFAULT" + }, + "compute_units": 10, + "enabled": true, + "category": { + "deterministic": false, + "local": false, + "subscription": false, + "stateful": 0, + "hanging_api": true + }, + "extra_compute_units": 0 + }, + { + "name": "/distribution/validators/{validatorAddr}", + "block_parsing": { + "parser_arg": [ + "latest" + ], + "parser_func": "DEFAULT" + }, + "compute_units": 10, + "enabled": true, + "category": { + "deterministic": false, + "local": false, + "subscription": false, + "stateful": 0, + "hanging_api": true + }, + "extra_compute_units": 0 + }, + { + "name": "/distribution/validators/{validatorAddr}/outstanding_rewards", + "block_parsing": { + "parser_arg": [ + "latest" + ], + "parser_func": "DEFAULT" + }, + "compute_units": 10, + "enabled": true, + "category": { + "deterministic": false, + "local": false, + "subscription": false, + "stateful": 0, + "hanging_api": true + }, + "extra_compute_units": 0 + }, + { + "name": "/distribution/validators/{validatorAddr}/rewards", + "block_parsing": { + "parser_arg": [ + "latest" + ], + "parser_func": "DEFAULT" + }, + "compute_units": 10, + "enabled": true, + "category": { + "deterministic": false, + "local": false, + "subscription": false, + "stateful": 0, + "hanging_api": true + }, + "extra_compute_units": 0 + }, + { + "name": "/distribution/community_pool", + "block_parsing": { + "parser_arg": [ + "latest" + ], + "parser_func": "DEFAULT" + }, + "compute_units": 10, + "enabled": true, + "category": { + "deterministic": false, + "local": false, + "subscription": false, + "stateful": 0, + "hanging_api": true + }, + "extra_compute_units": 0 + }, + { + "name": "/distribution/parameters", + "block_parsing": { + "parser_arg": [ + "latest" + ], + "parser_func": "DEFAULT" + }, + "compute_units": 10, + "enabled": true, + "category": { + "deterministic": false, + "local": false, + "subscription": false, + "stateful": 0, + "hanging_api": true + }, + "extra_compute_units": 0 + } + ], + "headers": [], + "inheritance_apis": [], + "parse_directives": [], + "verifications": [] + }, + { + "enabled": true, + "collection_data": { + "api_interface": "rest", + "internal_path": "", + "type": "POST", + "add_on": "" + }, + "apis": [ + { + "name": "/txs/encode", + "block_parsing": { + "parser_arg": [ + "latest" + ], + "parser_func": "DEFAULT" + }, + "compute_units": 10, + "enabled": true, + "category": { + "deterministic": false, + "local": false, + "subscription": false, + "stateful": 1, + "hanging_api": true + }, + "extra_compute_units": 0 + }, + { + "name": "/txs/decode", + "block_parsing": { + "parser_arg": [ + "latest" + ], + "parser_func": "DEFAULT" + }, + "compute_units": 10, + "enabled": true, + "category": { + "deterministic": false, + "local": false, + "subscription": false, + "stateful": 1, + "hanging_api": true + }, + "extra_compute_units": 0 + }, + { + "name": "/bank/accounts/{address}/transfers", + "block_parsing": { + "parser_arg": [ + "latest" + ], + "parser_func": "DEFAULT" + }, + "compute_units": 10, + "enabled": true, + "category": { + "deterministic": false, + "local": false, + "subscription": false, + "stateful": 0, + "hanging_api": true + }, + "extra_compute_units": 0 + }, + { + "name": "/slashing/validators/{validatorAddr}/unjail", + "block_parsing": { + "parser_arg": [ + "latest" + ], + "parser_func": "DEFAULT" + }, + "compute_units": 10, + "enabled": true, + "category": { + "deterministic": false, + "local": false, + "subscription": false, + "stateful": 1, + "hanging_api": true + }, + "extra_compute_units": 0 + }, + { + "name": "/staking/delegators/{delegatorAddr}/redelegations", + "block_parsing": { + "parser_arg": [ + "latest" + ], + "parser_func": "DEFAULT" + }, + "compute_units": 10, + "enabled": true, + "category": { + "deterministic": false, + "local": false, + "subscription": false, + "stateful": 0, + "hanging_api": true + }, + "extra_compute_units": 0 + }, + { + "name": "/gov/proposals", + "block_parsing": { + "parser_arg": [ + "latest" + ], + "parser_func": "DEFAULT" + }, + "compute_units": 10, + "enabled": true, + "category": { + "deterministic": false, + "local": false, + "subscription": false, + "stateful": 0, + "hanging_api": true + }, + "extra_compute_units": 0 + }, + { + "name": "/gov/proposals/param_change", + "block_parsing": { + "parser_arg": [ + "latest" + ], + "parser_func": "DEFAULT" + }, + "compute_units": 10, + "enabled": true, + "category": { + "deterministic": false, + "local": false, + "subscription": false, + "stateful": 0, + "hanging_api": true + }, + "extra_compute_units": 0 + }, + { + "name": "/gov/proposals/{proposalId}/deposits", + "block_parsing": { + "parser_arg": [ + "latest" + ], + "parser_func": "DEFAULT" + }, + "compute_units": 10, + "enabled": true, + "category": { + "deterministic": false, + "local": false, + "subscription": false, + "stateful": 0, + "hanging_api": true + }, + "extra_compute_units": 0 + }, + { + "name": "/gov/proposals/{proposalId}/votes", + "block_parsing": { + "parser_arg": [ + "latest" + ], + "parser_func": "DEFAULT" + }, + "compute_units": 10, + "enabled": true, + "category": { + "deterministic": false, + "local": false, + "subscription": false, + "stateful": 0, + "hanging_api": true + }, + "extra_compute_units": 0 + }, + { + "name": "/distribution/delegators/{delegatorAddr}/rewards", + "block_parsing": { + "parser_arg": [ + "latest" + ], + "parser_func": "DEFAULT" + }, + "compute_units": 10, + "enabled": true, + "category": { + "deterministic": false, + "local": false, + "subscription": false, + "stateful": 0, + "hanging_api": true + }, + "extra_compute_units": 0 + }, + { + "name": "/distribution/delegators/{delegatorAddr}/rewards/{validatorAddr}", + "block_parsing": { + "parser_arg": [ + "latest" + ], + "parser_func": "DEFAULT" + }, + "compute_units": 10, + "enabled": true, + "category": { + "deterministic": false, + "local": false, + "subscription": false, + "stateful": 0, + "hanging_api": true + }, + "extra_compute_units": 0 + }, + { + "name": "/distribution/delegators/{delegatorAddr}/withdraw_address", + "block_parsing": { + "parser_arg": [ + "latest" + ], + "parser_func": "DEFAULT" + }, + "compute_units": 10, + "enabled": true, + "category": { + "deterministic": false, + "local": false, + "subscription": false, + "stateful": 0, + "hanging_api": true + }, + "extra_compute_units": 0 + }, + { + "name": "/distribution/validators/{validatorAddr}/rewards", + "block_parsing": { + "parser_arg": [ + "latest" + ], + "parser_func": "DEFAULT" + }, + "compute_units": 10, + "enabled": true, + "category": { + "deterministic": false, + "local": false, + "subscription": false, + "stateful": 0, + "hanging_api": true + }, + "extra_compute_units": 0 + } + ], + "headers": [], + "inheritance_apis": [], + "parse_directives": [] + } + ] + } + ] + }, + "deposit": "10000000ulava" +} \ No newline at end of file