├── .github ├── CODEOWNERS └── workflows │ ├── lint.yml │ ├── notebooks.yml │ ├── publish.yml │ ├── pytests.yml │ ├── release.yml │ └── scripts.yml ├── .gitignore ├── .pre-commit-config.yaml ├── .python-version ├── .readthedocs.yaml ├── CHANGELOG.md ├── HACKING.md ├── LICENSE ├── README.md ├── examples ├── 1_quick_start.ipynb ├── 2_bank.ipynb ├── 3_perp.ipynb ├── 4_spot.ipynb ├── 5_staking.ipynb └── README.md ├── nibiru ├── __init__.py ├── chain_client.py ├── crypto │ ├── __init__.py │ └── ripemd160.py ├── event_specs.py ├── exceptions.py ├── grpc_client.py ├── jsonrpc │ ├── __init__.py │ ├── jsonrpc.py │ └── rpc_error.py ├── msg │ ├── __init__.py │ ├── bank.py │ ├── msg.py │ ├── perp.py │ ├── spot.py │ └── staking.py ├── pytypes │ ├── __init__.py │ ├── common.py │ ├── event.py │ ├── jsonable.py │ ├── network.py │ └── tx_resp.py ├── query_clients │ ├── __init__.py │ ├── auth.py │ ├── epoch.py │ ├── perp.py │ ├── spot.py │ ├── stablecoin.py │ ├── staking.py │ └── util.py ├── tmrpc │ ├── __init__.py │ └── broadcast.py ├── tx.py ├── utils.py ├── wallet.py └── websocket.py ├── nibiru_proto ├── __init__.py ├── amino │ ├── amino_pb2.py │ ├── amino_pb2.pyi │ └── amino_pb2_grpc.py ├── cosmos │ ├── app │ │ ├── runtime │ │ │ └── v1alpha1 │ │ │ │ ├── module_pb2.py │ │ │ │ ├── module_pb2.pyi │ │ │ │ └── module_pb2_grpc.py │ │ └── v1alpha1 │ │ │ ├── config_pb2.py │ │ │ ├── config_pb2.pyi │ │ │ ├── config_pb2_grpc.py │ │ │ ├── module_pb2.py │ │ │ ├── module_pb2.pyi │ │ │ ├── module_pb2_grpc.py │ │ │ ├── query_pb2.py │ │ │ ├── query_pb2.pyi │ │ │ └── query_pb2_grpc.py │ ├── auth │ │ ├── module │ │ │ └── v1 │ │ │ │ ├── module_pb2.py │ │ │ │ ├── module_pb2.pyi │ │ │ │ └── module_pb2_grpc.py │ │ └── v1beta1 │ │ │ ├── auth_pb2.py │ │ │ ├── auth_pb2.pyi │ │ │ ├── auth_pb2_grpc.py │ │ │ ├── genesis_pb2.py │ │ │ ├── genesis_pb2.pyi │ │ │ ├── genesis_pb2_grpc.py │ │ │ ├── query_pb2.py │ │ │ ├── query_pb2.pyi │ │ │ ├── query_pb2_grpc.py │ │ │ ├── tx_pb2.py │ │ │ ├── tx_pb2.pyi │ │ │ └── tx_pb2_grpc.py │ ├── authz │ │ ├── module │ │ │ └── v1 │ │ │ │ ├── module_pb2.py │ │ │ │ ├── module_pb2.pyi │ │ │ │ └── module_pb2_grpc.py │ │ └── v1beta1 │ │ │ ├── authz_pb2.py │ │ │ ├── authz_pb2.pyi │ │ │ ├── authz_pb2_grpc.py │ │ │ ├── event_pb2.py │ │ │ ├── event_pb2.pyi │ │ │ ├── event_pb2_grpc.py │ │ │ ├── genesis_pb2.py │ │ │ ├── genesis_pb2.pyi │ │ │ ├── genesis_pb2_grpc.py │ │ │ ├── query_pb2.py │ │ │ ├── query_pb2.pyi │ │ │ ├── query_pb2_grpc.py │ │ │ ├── tx_pb2.py │ │ │ ├── tx_pb2.pyi │ │ │ └── tx_pb2_grpc.py │ ├── autocli │ │ └── v1 │ │ │ ├── options_pb2.py │ │ │ ├── options_pb2.pyi │ │ │ ├── options_pb2_grpc.py │ │ │ ├── query_pb2.py │ │ │ ├── query_pb2.pyi │ │ │ └── query_pb2_grpc.py │ ├── bank │ │ ├── module │ │ │ └── v1 │ │ │ │ ├── module_pb2.py │ │ │ │ ├── module_pb2.pyi │ │ │ │ └── module_pb2_grpc.py │ │ └── v1beta1 │ │ │ ├── authz_pb2.py │ │ │ ├── authz_pb2.pyi │ │ │ ├── authz_pb2_grpc.py │ │ │ ├── bank_pb2.py │ │ │ ├── bank_pb2.pyi │ │ │ ├── bank_pb2_grpc.py │ │ │ ├── genesis_pb2.py │ │ │ ├── genesis_pb2.pyi │ │ │ ├── genesis_pb2_grpc.py │ │ │ ├── query_pb2.py │ │ │ ├── query_pb2.pyi │ │ │ ├── query_pb2_grpc.py │ │ │ ├── tx_pb2.py │ │ │ ├── tx_pb2.pyi │ │ │ └── tx_pb2_grpc.py │ ├── base │ │ ├── abci │ │ │ └── v1beta1 │ │ │ │ ├── abci_pb2.py │ │ │ │ ├── abci_pb2.pyi │ │ │ │ └── abci_pb2_grpc.py │ │ ├── kv │ │ │ └── v1beta1 │ │ │ │ ├── kv_pb2.py │ │ │ │ ├── kv_pb2.pyi │ │ │ │ └── kv_pb2_grpc.py │ │ ├── node │ │ │ └── v1beta1 │ │ │ │ ├── query_pb2.py │ │ │ │ ├── query_pb2.pyi │ │ │ │ └── query_pb2_grpc.py │ │ ├── query │ │ │ └── v1beta1 │ │ │ │ ├── pagination_pb2.py │ │ │ │ ├── pagination_pb2.pyi │ │ │ │ └── pagination_pb2_grpc.py │ │ ├── reflection │ │ │ ├── v1beta1 │ │ │ │ ├── reflection_pb2.py │ │ │ │ ├── reflection_pb2.pyi │ │ │ │ └── reflection_pb2_grpc.py │ │ │ └── v2alpha1 │ │ │ │ ├── reflection_pb2.py │ │ │ │ ├── reflection_pb2.pyi │ │ │ │ └── reflection_pb2_grpc.py │ │ ├── snapshots │ │ │ └── v1beta1 │ │ │ │ ├── snapshot_pb2.py │ │ │ │ ├── snapshot_pb2.pyi │ │ │ │ └── snapshot_pb2_grpc.py │ │ ├── store │ │ │ └── v1beta1 │ │ │ │ ├── commit_info_pb2.py │ │ │ │ ├── commit_info_pb2.pyi │ │ │ │ ├── commit_info_pb2_grpc.py │ │ │ │ ├── listening_pb2.py │ │ │ │ ├── listening_pb2.pyi │ │ │ │ └── listening_pb2_grpc.py │ │ ├── tendermint │ │ │ └── v1beta1 │ │ │ │ ├── query_pb2.py │ │ │ │ ├── query_pb2.pyi │ │ │ │ ├── query_pb2_grpc.py │ │ │ │ ├── types_pb2.py │ │ │ │ ├── types_pb2.pyi │ │ │ │ └── types_pb2_grpc.py │ │ └── v1beta1 │ │ │ ├── coin_pb2.py │ │ │ ├── coin_pb2.pyi │ │ │ └── coin_pb2_grpc.py │ ├── capability │ │ ├── module │ │ │ └── v1 │ │ │ │ ├── module_pb2.py │ │ │ │ ├── module_pb2.pyi │ │ │ │ └── module_pb2_grpc.py │ │ └── v1beta1 │ │ │ ├── capability_pb2.py │ │ │ ├── capability_pb2.pyi │ │ │ ├── capability_pb2_grpc.py │ │ │ ├── genesis_pb2.py │ │ │ ├── genesis_pb2.pyi │ │ │ └── genesis_pb2_grpc.py │ ├── consensus │ │ ├── module │ │ │ └── v1 │ │ │ │ ├── module_pb2.py │ │ │ │ ├── module_pb2.pyi │ │ │ │ └── module_pb2_grpc.py │ │ └── v1 │ │ │ ├── query_pb2.py │ │ │ ├── query_pb2.pyi │ │ │ ├── query_pb2_grpc.py │ │ │ ├── tx_pb2.py │ │ │ ├── tx_pb2.pyi │ │ │ └── tx_pb2_grpc.py │ ├── crisis │ │ ├── module │ │ │ └── v1 │ │ │ │ ├── module_pb2.py │ │ │ │ ├── module_pb2.pyi │ │ │ │ └── module_pb2_grpc.py │ │ └── v1beta1 │ │ │ ├── genesis_pb2.py │ │ │ ├── genesis_pb2.pyi │ │ │ ├── genesis_pb2_grpc.py │ │ │ ├── tx_pb2.py │ │ │ ├── tx_pb2.pyi │ │ │ └── tx_pb2_grpc.py │ ├── crypto │ │ ├── ed25519 │ │ │ ├── keys_pb2.py │ │ │ ├── keys_pb2.pyi │ │ │ └── keys_pb2_grpc.py │ │ ├── hd │ │ │ └── v1 │ │ │ │ ├── hd_pb2.py │ │ │ │ ├── hd_pb2.pyi │ │ │ │ └── hd_pb2_grpc.py │ │ ├── keyring │ │ │ └── v1 │ │ │ │ ├── record_pb2.py │ │ │ │ ├── record_pb2.pyi │ │ │ │ └── record_pb2_grpc.py │ │ ├── multisig │ │ │ ├── keys_pb2.py │ │ │ ├── keys_pb2.pyi │ │ │ ├── keys_pb2_grpc.py │ │ │ └── v1beta1 │ │ │ │ ├── multisig_pb2.py │ │ │ │ ├── multisig_pb2.pyi │ │ │ │ └── multisig_pb2_grpc.py │ │ ├── secp256k1 │ │ │ ├── keys_pb2.py │ │ │ ├── keys_pb2.pyi │ │ │ └── keys_pb2_grpc.py │ │ └── secp256r1 │ │ │ ├── keys_pb2.py │ │ │ ├── keys_pb2.pyi │ │ │ └── keys_pb2_grpc.py │ ├── distribution │ │ ├── module │ │ │ └── v1 │ │ │ │ ├── module_pb2.py │ │ │ │ ├── module_pb2.pyi │ │ │ │ └── module_pb2_grpc.py │ │ └── v1beta1 │ │ │ ├── distribution_pb2.py │ │ │ ├── distribution_pb2.pyi │ │ │ ├── distribution_pb2_grpc.py │ │ │ ├── genesis_pb2.py │ │ │ ├── genesis_pb2.pyi │ │ │ ├── genesis_pb2_grpc.py │ │ │ ├── query_pb2.py │ │ │ ├── query_pb2.pyi │ │ │ ├── query_pb2_grpc.py │ │ │ ├── tx_pb2.py │ │ │ ├── tx_pb2.pyi │ │ │ └── tx_pb2_grpc.py │ ├── evidence │ │ ├── module │ │ │ └── v1 │ │ │ │ ├── module_pb2.py │ │ │ │ ├── module_pb2.pyi │ │ │ │ └── module_pb2_grpc.py │ │ └── v1beta1 │ │ │ ├── evidence_pb2.py │ │ │ ├── evidence_pb2.pyi │ │ │ ├── evidence_pb2_grpc.py │ │ │ ├── genesis_pb2.py │ │ │ ├── genesis_pb2.pyi │ │ │ ├── genesis_pb2_grpc.py │ │ │ ├── query_pb2.py │ │ │ ├── query_pb2.pyi │ │ │ ├── query_pb2_grpc.py │ │ │ ├── tx_pb2.py │ │ │ ├── tx_pb2.pyi │ │ │ └── tx_pb2_grpc.py │ ├── feegrant │ │ ├── module │ │ │ └── v1 │ │ │ │ ├── module_pb2.py │ │ │ │ ├── module_pb2.pyi │ │ │ │ └── module_pb2_grpc.py │ │ └── v1beta1 │ │ │ ├── feegrant_pb2.py │ │ │ ├── feegrant_pb2.pyi │ │ │ ├── feegrant_pb2_grpc.py │ │ │ ├── genesis_pb2.py │ │ │ ├── genesis_pb2.pyi │ │ │ ├── genesis_pb2_grpc.py │ │ │ ├── query_pb2.py │ │ │ ├── query_pb2.pyi │ │ │ ├── query_pb2_grpc.py │ │ │ ├── tx_pb2.py │ │ │ ├── tx_pb2.pyi │ │ │ └── tx_pb2_grpc.py │ ├── genutil │ │ ├── module │ │ │ └── v1 │ │ │ │ ├── module_pb2.py │ │ │ │ ├── module_pb2.pyi │ │ │ │ └── module_pb2_grpc.py │ │ └── v1beta1 │ │ │ ├── genesis_pb2.py │ │ │ ├── genesis_pb2.pyi │ │ │ └── genesis_pb2_grpc.py │ ├── gov │ │ ├── module │ │ │ └── v1 │ │ │ │ ├── module_pb2.py │ │ │ │ ├── module_pb2.pyi │ │ │ │ └── module_pb2_grpc.py │ │ ├── v1 │ │ │ ├── genesis_pb2.py │ │ │ ├── genesis_pb2.pyi │ │ │ ├── genesis_pb2_grpc.py │ │ │ ├── gov_pb2.py │ │ │ ├── gov_pb2.pyi │ │ │ ├── gov_pb2_grpc.py │ │ │ ├── query_pb2.py │ │ │ ├── query_pb2.pyi │ │ │ ├── query_pb2_grpc.py │ │ │ ├── tx_pb2.py │ │ │ ├── tx_pb2.pyi │ │ │ └── tx_pb2_grpc.py │ │ └── v1beta1 │ │ │ ├── genesis_pb2.py │ │ │ ├── genesis_pb2.pyi │ │ │ ├── genesis_pb2_grpc.py │ │ │ ├── gov_pb2.py │ │ │ ├── gov_pb2.pyi │ │ │ ├── gov_pb2_grpc.py │ │ │ ├── query_pb2.py │ │ │ ├── query_pb2.pyi │ │ │ ├── query_pb2_grpc.py │ │ │ ├── tx_pb2.py │ │ │ ├── tx_pb2.pyi │ │ │ └── tx_pb2_grpc.py │ ├── group │ │ ├── module │ │ │ └── v1 │ │ │ │ ├── module_pb2.py │ │ │ │ ├── module_pb2.pyi │ │ │ │ └── module_pb2_grpc.py │ │ └── v1 │ │ │ ├── events_pb2.py │ │ │ ├── events_pb2.pyi │ │ │ ├── events_pb2_grpc.py │ │ │ ├── genesis_pb2.py │ │ │ ├── genesis_pb2.pyi │ │ │ ├── genesis_pb2_grpc.py │ │ │ ├── query_pb2.py │ │ │ ├── query_pb2.pyi │ │ │ ├── query_pb2_grpc.py │ │ │ ├── tx_pb2.py │ │ │ ├── tx_pb2.pyi │ │ │ ├── tx_pb2_grpc.py │ │ │ ├── types_pb2.py │ │ │ ├── types_pb2.pyi │ │ │ └── types_pb2_grpc.py │ ├── mint │ │ ├── module │ │ │ └── v1 │ │ │ │ ├── module_pb2.py │ │ │ │ ├── module_pb2.pyi │ │ │ │ └── module_pb2_grpc.py │ │ └── v1beta1 │ │ │ ├── genesis_pb2.py │ │ │ ├── genesis_pb2.pyi │ │ │ ├── genesis_pb2_grpc.py │ │ │ ├── mint_pb2.py │ │ │ ├── mint_pb2.pyi │ │ │ ├── mint_pb2_grpc.py │ │ │ ├── query_pb2.py │ │ │ ├── query_pb2.pyi │ │ │ ├── query_pb2_grpc.py │ │ │ ├── tx_pb2.py │ │ │ ├── tx_pb2.pyi │ │ │ └── tx_pb2_grpc.py │ ├── msg │ │ └── v1 │ │ │ ├── msg_pb2.py │ │ │ ├── msg_pb2.pyi │ │ │ └── msg_pb2_grpc.py │ ├── nft │ │ ├── module │ │ │ └── v1 │ │ │ │ ├── module_pb2.py │ │ │ │ ├── module_pb2.pyi │ │ │ │ └── module_pb2_grpc.py │ │ └── v1beta1 │ │ │ ├── event_pb2.py │ │ │ ├── event_pb2.pyi │ │ │ ├── event_pb2_grpc.py │ │ │ ├── genesis_pb2.py │ │ │ ├── genesis_pb2.pyi │ │ │ ├── genesis_pb2_grpc.py │ │ │ ├── nft_pb2.py │ │ │ ├── nft_pb2.pyi │ │ │ ├── nft_pb2_grpc.py │ │ │ ├── query_pb2.py │ │ │ ├── query_pb2.pyi │ │ │ ├── query_pb2_grpc.py │ │ │ ├── tx_pb2.py │ │ │ ├── tx_pb2.pyi │ │ │ └── tx_pb2_grpc.py │ ├── orm │ │ ├── module │ │ │ └── v1alpha1 │ │ │ │ ├── module_pb2.py │ │ │ │ ├── module_pb2.pyi │ │ │ │ └── module_pb2_grpc.py │ │ ├── query │ │ │ └── v1alpha1 │ │ │ │ ├── query_pb2.py │ │ │ │ ├── query_pb2.pyi │ │ │ │ └── query_pb2_grpc.py │ │ ├── v1 │ │ │ ├── orm_pb2.py │ │ │ ├── orm_pb2.pyi │ │ │ └── orm_pb2_grpc.py │ │ └── v1alpha1 │ │ │ ├── schema_pb2.py │ │ │ ├── schema_pb2.pyi │ │ │ └── schema_pb2_grpc.py │ ├── params │ │ ├── module │ │ │ └── v1 │ │ │ │ ├── module_pb2.py │ │ │ │ ├── module_pb2.pyi │ │ │ │ └── module_pb2_grpc.py │ │ └── v1beta1 │ │ │ ├── params_pb2.py │ │ │ ├── params_pb2.pyi │ │ │ ├── params_pb2_grpc.py │ │ │ ├── query_pb2.py │ │ │ ├── query_pb2.pyi │ │ │ └── query_pb2_grpc.py │ ├── query │ │ └── v1 │ │ │ ├── query_pb2.py │ │ │ ├── query_pb2.pyi │ │ │ └── query_pb2_grpc.py │ ├── reflection │ │ └── v1 │ │ │ ├── reflection_pb2.py │ │ │ ├── reflection_pb2.pyi │ │ │ └── reflection_pb2_grpc.py │ ├── slashing │ │ ├── module │ │ │ └── v1 │ │ │ │ ├── module_pb2.py │ │ │ │ ├── module_pb2.pyi │ │ │ │ └── module_pb2_grpc.py │ │ └── v1beta1 │ │ │ ├── genesis_pb2.py │ │ │ ├── genesis_pb2.pyi │ │ │ ├── genesis_pb2_grpc.py │ │ │ ├── query_pb2.py │ │ │ ├── query_pb2.pyi │ │ │ ├── query_pb2_grpc.py │ │ │ ├── slashing_pb2.py │ │ │ ├── slashing_pb2.pyi │ │ │ ├── slashing_pb2_grpc.py │ │ │ ├── tx_pb2.py │ │ │ ├── tx_pb2.pyi │ │ │ └── tx_pb2_grpc.py │ ├── staking │ │ ├── module │ │ │ └── v1 │ │ │ │ ├── module_pb2.py │ │ │ │ ├── module_pb2.pyi │ │ │ │ └── module_pb2_grpc.py │ │ └── v1beta1 │ │ │ ├── authz_pb2.py │ │ │ ├── authz_pb2.pyi │ │ │ ├── authz_pb2_grpc.py │ │ │ ├── genesis_pb2.py │ │ │ ├── genesis_pb2.pyi │ │ │ ├── genesis_pb2_grpc.py │ │ │ ├── query_pb2.py │ │ │ ├── query_pb2.pyi │ │ │ ├── query_pb2_grpc.py │ │ │ ├── staking_pb2.py │ │ │ ├── staking_pb2.pyi │ │ │ ├── staking_pb2_grpc.py │ │ │ ├── tx_pb2.py │ │ │ ├── tx_pb2.pyi │ │ │ └── tx_pb2_grpc.py │ ├── tx │ │ ├── config │ │ │ └── v1 │ │ │ │ ├── config_pb2.py │ │ │ │ ├── config_pb2.pyi │ │ │ │ └── config_pb2_grpc.py │ │ ├── signing │ │ │ └── v1beta1 │ │ │ │ ├── signing_pb2.py │ │ │ │ ├── signing_pb2.pyi │ │ │ │ └── signing_pb2_grpc.py │ │ └── v1beta1 │ │ │ ├── service_pb2.py │ │ │ ├── service_pb2.pyi │ │ │ ├── service_pb2_grpc.py │ │ │ ├── tx_pb2.py │ │ │ ├── tx_pb2.pyi │ │ │ └── tx_pb2_grpc.py │ ├── upgrade │ │ ├── module │ │ │ └── v1 │ │ │ │ ├── module_pb2.py │ │ │ │ ├── module_pb2.pyi │ │ │ │ └── module_pb2_grpc.py │ │ └── v1beta1 │ │ │ ├── query_pb2.py │ │ │ ├── query_pb2.pyi │ │ │ ├── query_pb2_grpc.py │ │ │ ├── tx_pb2.py │ │ │ ├── tx_pb2.pyi │ │ │ ├── tx_pb2_grpc.py │ │ │ ├── upgrade_pb2.py │ │ │ ├── upgrade_pb2.pyi │ │ │ └── upgrade_pb2_grpc.py │ └── vesting │ │ ├── module │ │ └── v1 │ │ │ ├── module_pb2.py │ │ │ ├── module_pb2.pyi │ │ │ └── module_pb2_grpc.py │ │ └── v1beta1 │ │ ├── tx_pb2.py │ │ ├── tx_pb2.pyi │ │ ├── tx_pb2_grpc.py │ │ ├── vesting_pb2.py │ │ ├── vesting_pb2.pyi │ │ └── vesting_pb2_grpc.py ├── cosmos_proto │ ├── cosmos_pb2.py │ ├── cosmos_pb2.pyi │ └── cosmos_pb2_grpc.py ├── gogoproto │ ├── gogo_pb2.py │ ├── gogo_pb2.pyi │ └── gogo_pb2_grpc.py ├── google │ └── api │ │ ├── annotations_pb2.py │ │ ├── annotations_pb2.pyi │ │ ├── annotations_pb2_grpc.py │ │ ├── http_pb2.py │ │ ├── http_pb2.pyi │ │ └── http_pb2_grpc.py ├── nibiru │ ├── __init__.py │ ├── epochs │ │ ├── __init__.py │ │ └── v1 │ │ │ ├── __init__.py │ │ │ ├── event_pb2.py │ │ │ ├── event_pb2.pyi │ │ │ ├── event_pb2_grpc.py │ │ │ ├── genesis_pb2.py │ │ │ ├── genesis_pb2.pyi │ │ │ ├── genesis_pb2_grpc.py │ │ │ ├── query_pb2.py │ │ │ ├── query_pb2.pyi │ │ │ ├── query_pb2_grpc.py │ │ │ ├── state_pb2.py │ │ │ ├── state_pb2.pyi │ │ │ └── state_pb2_grpc.py │ ├── genmsg │ │ ├── __init__.py │ │ └── v1 │ │ │ ├── __init__.py │ │ │ ├── genmsg_pb2.py │ │ │ ├── genmsg_pb2.pyi │ │ │ └── genmsg_pb2_grpc.py │ ├── inflation │ │ ├── __init__.py │ │ └── v1 │ │ │ ├── __init__.py │ │ │ ├── genesis_pb2.py │ │ │ ├── genesis_pb2.pyi │ │ │ ├── genesis_pb2_grpc.py │ │ │ ├── inflation_pb2.py │ │ │ ├── inflation_pb2.pyi │ │ │ ├── inflation_pb2_grpc.py │ │ │ ├── query_pb2.py │ │ │ ├── query_pb2.pyi │ │ │ └── query_pb2_grpc.py │ ├── oracle │ │ ├── __init__.py │ │ └── v1 │ │ │ ├── __init__.py │ │ │ ├── event_pb2.py │ │ │ ├── event_pb2.pyi │ │ │ ├── event_pb2_grpc.py │ │ │ ├── genesis_pb2.py │ │ │ ├── genesis_pb2.pyi │ │ │ ├── genesis_pb2_grpc.py │ │ │ ├── oracle_pb2.py │ │ │ ├── oracle_pb2.pyi │ │ │ ├── oracle_pb2_grpc.py │ │ │ ├── query_pb2.py │ │ │ ├── query_pb2.pyi │ │ │ ├── query_pb2_grpc.py │ │ │ ├── state_pb2.py │ │ │ ├── state_pb2.pyi │ │ │ ├── state_pb2_grpc.py │ │ │ ├── tx_pb2.py │ │ │ ├── tx_pb2.pyi │ │ │ └── tx_pb2_grpc.py │ ├── perp │ │ ├── __init__.py │ │ └── v2 │ │ │ ├── __init__.py │ │ │ ├── event_pb2.py │ │ │ ├── event_pb2.pyi │ │ │ ├── event_pb2_grpc.py │ │ │ ├── genesis_pb2.py │ │ │ ├── genesis_pb2.pyi │ │ │ ├── genesis_pb2_grpc.py │ │ │ ├── query_pb2.py │ │ │ ├── query_pb2.pyi │ │ │ ├── query_pb2_grpc.py │ │ │ ├── state_pb2.py │ │ │ ├── state_pb2.pyi │ │ │ ├── state_pb2_grpc.py │ │ │ ├── tx_pb2.py │ │ │ ├── tx_pb2.pyi │ │ │ └── tx_pb2_grpc.py │ ├── spot │ │ ├── __init__.py │ │ └── v1 │ │ │ ├── __init__.py │ │ │ ├── event_pb2.py │ │ │ ├── event_pb2.pyi │ │ │ ├── event_pb2_grpc.py │ │ │ ├── genesis_pb2.py │ │ │ ├── genesis_pb2.pyi │ │ │ ├── genesis_pb2_grpc.py │ │ │ ├── params_pb2.py │ │ │ ├── params_pb2.pyi │ │ │ ├── params_pb2_grpc.py │ │ │ ├── pool_pb2.py │ │ │ ├── pool_pb2.pyi │ │ │ ├── pool_pb2_grpc.py │ │ │ ├── query_pb2.py │ │ │ ├── query_pb2.pyi │ │ │ ├── query_pb2_grpc.py │ │ │ ├── tx_pb2.py │ │ │ ├── tx_pb2.pyi │ │ │ └── tx_pb2_grpc.py │ ├── stablecoin │ │ ├── __init__.py │ │ └── v1 │ │ │ ├── __init__.py │ │ │ ├── events_pb2.py │ │ │ ├── events_pb2.pyi │ │ │ ├── events_pb2_grpc.py │ │ │ ├── genesis_pb2.py │ │ │ ├── genesis_pb2.pyi │ │ │ ├── genesis_pb2_grpc.py │ │ │ ├── params_pb2.py │ │ │ ├── params_pb2.pyi │ │ │ ├── params_pb2_grpc.py │ │ │ ├── query_pb2.py │ │ │ ├── query_pb2.pyi │ │ │ ├── query_pb2_grpc.py │ │ │ ├── tx_pb2.py │ │ │ ├── tx_pb2.pyi │ │ │ └── tx_pb2_grpc.py │ └── sudo │ │ ├── __init__.py │ │ └── v1 │ │ ├── __init__.py │ │ ├── event_pb2.py │ │ ├── event_pb2.pyi │ │ ├── event_pb2_grpc.py │ │ ├── query_pb2.py │ │ ├── query_pb2.pyi │ │ ├── query_pb2_grpc.py │ │ ├── state_pb2.py │ │ ├── state_pb2.pyi │ │ ├── state_pb2_grpc.py │ │ ├── tx_pb2.py │ │ ├── tx_pb2.pyi │ │ └── tx_pb2_grpc.py ├── py.typed └── tendermint │ ├── abci │ ├── types_pb2.py │ ├── types_pb2.pyi │ └── types_pb2_grpc.py │ ├── crypto │ ├── keys_pb2.py │ ├── keys_pb2.pyi │ ├── keys_pb2_grpc.py │ ├── proof_pb2.py │ ├── proof_pb2.pyi │ └── proof_pb2_grpc.py │ ├── libs │ └── bits │ │ ├── types_pb2.py │ │ ├── types_pb2.pyi │ │ └── types_pb2_grpc.py │ ├── p2p │ ├── types_pb2.py │ ├── types_pb2.pyi │ └── types_pb2_grpc.py │ ├── types │ ├── block_pb2.py │ ├── block_pb2.pyi │ ├── block_pb2_grpc.py │ ├── evidence_pb2.py │ ├── evidence_pb2.pyi │ ├── evidence_pb2_grpc.py │ ├── params_pb2.py │ ├── params_pb2.pyi │ ├── params_pb2_grpc.py │ ├── types_pb2.py │ ├── types_pb2.pyi │ ├── types_pb2_grpc.py │ ├── validator_pb2.py │ ├── validator_pb2.pyi │ └── validator_pb2_grpc.py │ └── version │ ├── types_pb2.py │ ├── types_pb2.pyi │ └── types_pb2_grpc.py ├── poetry.lock ├── pyproject.toml ├── scripts ├── fmt.sh ├── get_nibid.sh ├── get_pricefeeder.sh ├── localnet.sh ├── pkg_create_inits.py ├── proto-gen-py.sh └── run_pricefeed.sh └── tests ├── __init__.py ├── auth_test.py ├── bank_test.py ├── broadcast_test.py ├── chain_info_test.py ├── conftest.py ├── endpoint_test.py ├── epoch_test.py ├── event_test.py ├── jsonrpc_test.py ├── perp_test.py ├── spot_test.py ├── stablecoin_test.py ├── staking_test.py ├── stories_test.py ├── utils_test.py └── websocket_test.py /.github/CODEOWNERS: -------------------------------------------------------------------------------- 1 | # CODEOWNERS: 2 | 3 | * @matthiasmatt @k-yang @unique-divine @onikonychev 4 | -------------------------------------------------------------------------------- /.github/workflows/publish.yml: -------------------------------------------------------------------------------- 1 | name: Publish Python 🐍 distributions 📦 to PyPI 2 | 3 | on: 4 | push: 5 | tags: ["v*"] 6 | 7 | jobs: 8 | build-n-publish: 9 | name: Build and publish Python 🐍 distributions 📦 to PyPI 10 | runs-on: ubuntu-latest 11 | steps: 12 | - uses: actions/checkout@main 13 | 14 | - name: Set up Python (3.8) 15 | id: setup-python 16 | uses: actions/setup-python@v3 17 | with: 18 | python-version: 3.8.16 19 | 20 | - name: Install poetry 21 | uses: abatilo/actions-poetry@v2 22 | with: 23 | poetry-version: 1.2.2 24 | 25 | - name: Build a binary wheel and a source tarball 26 | run: poetry build 27 | 28 | - name: Publish distribution 📦 to PyPI 29 | if: startsWith(github.ref, 'refs/tags') 30 | run: poetry publish -u __token__ -p ${{ secrets.PYPI_API_TOKEN }} 31 | -------------------------------------------------------------------------------- /.github/workflows/scripts.yml: -------------------------------------------------------------------------------- 1 | name: "scripts" 2 | 3 | on: 4 | pull_request: 5 | branches: ["main"] 6 | paths: 7 | [ 8 | "scripts", 9 | "**.py", 10 | "pyproject.toml", 11 | "poetry.lock", 12 | ".github/workflows/pytests.yml", 13 | ] 14 | 15 | concurrency: 16 | group: ${{ github.workflow }}-${{ github.ref }}-${{ github.head_ref }} 17 | cancel-in-progress: ${{ ! (github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/heads/release/')) }} 18 | 19 | jobs: 20 | localnet: 21 | # The localnet job verifies that the repo's script for starting a local Nibiru 22 | # chain runs without errors. 23 | runs-on: ubuntu-latest 24 | env: 25 | # https://www.notion.so/nibiru/Resources-and-Repo-Configs-b31aa8074a2b419d80b0c946ed5efab0 26 | VALIDATOR_MNEMONIC: "guard cream sadness conduct invite crumble clock pudding hole grit liar hotel maid produce squeeze return argue turtle know drive eight casino maze host" 27 | DEVNET_NUMBER: ${{ secrets.DEVNET_NUMBER }} 28 | steps: 29 | # ---------------------------------------------- 30 | # check-out repo and set-up python 31 | # ---------------------------------------------- 32 | - name: Check out the repo 33 | uses: actions/checkout@v3 34 | 35 | - name: Run localnet.sh in the background. 36 | run: | 37 | curl -s https://get.nibiru.fi/@v0.21.5! | bash 38 | bash scripts/localnet.sh --no-build & 39 | -------------------------------------------------------------------------------- /.pre-commit-config.yaml: -------------------------------------------------------------------------------- 1 | repos: 2 | - repo: local 3 | hooks: 4 | - id: black 5 | name: black 6 | entry: poetry run black 7 | language: system 8 | types: [python] 9 | exclude: > 10 | (?x)^( 11 | nibiru_proto/.+ 12 | )$ 13 | - repo: local 14 | hooks: 15 | - id: isort 16 | name: isort 17 | entry: poetry run isort 18 | language: system 19 | types: [python] 20 | exclude: > 21 | (?x)^( 22 | nibiru_proto/.+ 23 | )$ 24 | - repo: local 25 | hooks: 26 | - id: flake8 27 | name: flake8 28 | entry: poetry run flake8 29 | language: system 30 | types: [python] 31 | exclude: > 32 | (?x)^( 33 | nibiru_proto/.+ 34 | )$ 35 | -------------------------------------------------------------------------------- /.python-version: -------------------------------------------------------------------------------- 1 | 3.8.16 2 | -------------------------------------------------------------------------------- /.readthedocs.yaml: -------------------------------------------------------------------------------- 1 | # .readthedocs.yaml 2 | # Read the Docs configuration file 3 | # See https://docs.readthedocs.io/en/stable/config-file/v2.html for details 4 | 5 | # Required 6 | version: 2 7 | 8 | # Set the version of Python and other tools you might need 9 | build: 10 | os: ubuntu-20.04 11 | tools: 12 | python: "3.9" 13 | # You can also specify other tool versions: 14 | # nodejs: "16" 15 | # rust: "1.55" 16 | # golang: "1.17" 17 | 18 | # Build documentation in the docs/ directory with Sphinx 19 | sphinx: 20 | configuration: docs/source/conf.py 21 | 22 | # If using Sphinx, optionally build your docs in additional formats such as PDF 23 | # formats: 24 | # - pdf 25 | 26 | # Optionally declare the Python requirements required to build your docs 27 | python: 28 | install: 29 | - requirements: docs/requirements.txt 30 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2022 NibiruChain 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /examples/README.md: -------------------------------------------------------------------------------- 1 | ~~# Examples 2 | 3 | The example folder contains jupyter notebooks for a quick introduction with example to the nibiru python sdk. The goal is to teach how to query and interact with any chain (testnet, localnet, mainnet). 4 | 5 | All the examples are available for running online in Google Colab. 6 | 7 | | Local | Google Colab | 8 | | ------------- |--------------| 9 | | [Quick start](1_quick_start.ipynb) | [![Open in collab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/github/NibiruChain/py-sdk/blob/main/examples/1_quick_start.ipynb) | 10 | | [Bank](2_bank.ipynb) | [![Open in collab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/github/NibiruChain/py-sdk/blob/main/examples/2_bank.ipynb) | 11 | | [Perpetuals](3_perp.ipynb) | [![Open in collab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/github/NibiruChain/py-sdk/blob/main/examples/3_perp.ipynb) | 12 | | [Spots](4_spot.ipynb) | [![Open in collab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/github/NibiruChain/py-sdk/blob/main/examples/4_spot.ipynb) | 13 | | [Staking](5_staking.ipynb) | [![Open in collab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/github/NibiruChain/py-sdk/blob/main/examples/5_staking.ipynb) | 14 | -------------------------------------------------------------------------------- /nibiru/__init__.py: -------------------------------------------------------------------------------- 1 | # isort: skip_file 2 | 3 | import sys 4 | 5 | try: 6 | if sys.version_info >= (3, 8): 7 | from importlib.metadata import version 8 | 9 | __version__ = version(__package__ or __name__) 10 | else: 11 | import pkg_resources 12 | 13 | __version__ = pkg_resources.get_distribution(__package__ or __name__).version 14 | except BaseException: 15 | pass 16 | 17 | import google.protobuf.message 18 | 19 | ProtobufMessage = google.protobuf.message.Message 20 | 21 | import nibiru.exceptions # noqa 22 | import nibiru.pytypes # noqa 23 | from nibiru.grpc_client import GrpcClient # noqa 24 | from nibiru.msg import Msg # noqa 25 | from nibiru.pytypes import ( # noqa 26 | Coin, 27 | Direction, 28 | Network, 29 | NetworkType, 30 | PoolAsset, 31 | TxBroadcastMode, 32 | TxConfig, 33 | ) 34 | from nibiru.tx import Transaction # noqa 35 | from nibiru.wallet import Address, PrivateKey, PublicKey # noqa 36 | from nibiru.chain_client import ChainClient # noqa 37 | -------------------------------------------------------------------------------- /nibiru/crypto/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NibiruChain/py-sdk/1974e4a70b13a52e0a8848aa35a4bcaf63ed14ad/nibiru/crypto/__init__.py -------------------------------------------------------------------------------- /nibiru/exceptions.py: -------------------------------------------------------------------------------- 1 | class NibiruError(Exception): 2 | pass 3 | 4 | 5 | class SimulationError(NibiruError): 6 | pass 7 | 8 | 9 | class TxError(NibiruError): 10 | pass 11 | 12 | 13 | class ErrorQueryTx(NibiruError): 14 | """Expresses failure to to query a tx with its hash.""" 15 | 16 | 17 | class QueryError(NibiruError): 18 | pass 19 | -------------------------------------------------------------------------------- /nibiru/jsonrpc/__init__.py: -------------------------------------------------------------------------------- 1 | from nibiru.jsonrpc.jsonrpc import JsonRPCID # noqa 2 | from nibiru.jsonrpc.jsonrpc import JsonRPCRequest # noqa 3 | from nibiru.jsonrpc.jsonrpc import JsonRPCResponse # noqa 4 | from nibiru.jsonrpc.jsonrpc import do_jsonrpc_request # noqa 5 | from nibiru.jsonrpc.jsonrpc import do_jsonrpc_request_raw # noqa 6 | from nibiru.jsonrpc.jsonrpc import json_rpc_request_keys # noqa 7 | from nibiru.jsonrpc.jsonrpc import json_rpc_response_keys # noqa 8 | -------------------------------------------------------------------------------- /nibiru/msg/__init__.py: -------------------------------------------------------------------------------- 1 | from nibiru.msg.msg import Msg # noqa 2 | -------------------------------------------------------------------------------- /nibiru/msg/bank.py: -------------------------------------------------------------------------------- 1 | import dataclasses 2 | from typing import Iterable, List, Union 3 | 4 | from nibiru.pytypes import Coin, PythonMsg 5 | from nibiru_proto.cosmos.bank.v1beta1 import tx_pb2 as pb 6 | 7 | 8 | class MsgsBank: 9 | """ 10 | Messages for the x/bank module. 11 | 12 | Methods: 13 | - send: Send tokens from one account to another 14 | """ 15 | 16 | @staticmethod 17 | def send( 18 | to_address: str, 19 | coins: Union[Coin, List[Coin]], 20 | ) -> 'MsgSend': 21 | """ 22 | Send tokens from one account to another 23 | 24 | Attributes: 25 | to_address (str): The address of the receiver 26 | coins (List[Coin]): The list of coins to send 27 | 28 | Returns: 29 | MsgSend: PythonMsg corresponding to the 'cosmos.bank.v1beta1.MsgSend' message 30 | """ 31 | return MsgSend(to_address=to_address, coins=coins) 32 | 33 | 34 | @dataclasses.dataclass 35 | class MsgSend(PythonMsg): 36 | """ 37 | Send tokens from one account to another. PythonMsg corresponding to the 38 | 'cosmos.bank.v1beta1.MsgSend' message. 39 | 40 | Attributes: 41 | to_address (str): The address of the receiver 42 | coins (Union[Coin, List[Coin]]): The list of coins to send 43 | """ 44 | 45 | to_address: str 46 | coins: Union[Coin, List[Coin]] 47 | 48 | def to_pb(self, sender: str) -> pb.MsgSend: 49 | """ 50 | Returns the Message as protobuf object. 51 | 52 | Returns: 53 | pb.MsgSend: The proto object. 54 | 55 | """ 56 | coins = self.coins 57 | if not isinstance(coins, Iterable): 58 | coins = [self.coins] 59 | 60 | return pb.MsgSend( 61 | from_address=sender, 62 | to_address=self.to_address, 63 | amount=[coin.to_pb() for coin in coins], 64 | ) 65 | -------------------------------------------------------------------------------- /nibiru/msg/msg.py: -------------------------------------------------------------------------------- 1 | import dataclasses 2 | 3 | from nibiru.msg.bank import MsgsBank 4 | from nibiru.msg.perp import MsgsPerp 5 | from nibiru.msg.spot import MsgsSpot 6 | from nibiru.msg.staking import MsgsStaking 7 | 8 | 9 | @dataclasses.dataclass 10 | class MsgClient: 11 | """ 12 | The 'MsgClient' exposes all available messages in the Nibiru Chain Python SDK. 13 | The class attributes of the client separate these messages by module. 14 | 15 | Attributes: 16 | bank: Methods for the Cosmos x/bank module. 17 | spot: Methods for the Nibiru Chain x/spot module. 18 | perp: Methods for the Nibiru Chain x/perp module 19 | staking: Methods for the Cosmos x/staking and x/distribution modules. 20 | """ 21 | 22 | bank = MsgsBank 23 | spot = MsgsSpot 24 | perp = MsgsPerp 25 | staking = MsgsStaking 26 | 27 | 28 | Msg = MsgClient() 29 | -------------------------------------------------------------------------------- /nibiru/pytypes/__init__.py: -------------------------------------------------------------------------------- 1 | # These import statements export the types to 'pysdk.pytypes'. 2 | 3 | from nibiru.pytypes.common import ( # noqa # TODO move constants to a constants.py file.; noqa 4 | DEFAULT_GAS_PRICE, 5 | MAX_MEMO_CHARACTERS, 6 | Coin, 7 | Direction, 8 | PoolAsset, 9 | PoolType, 10 | PythonMsg, 11 | TxBroadcastMode, 12 | TxConfig, 13 | ) 14 | from nibiru.pytypes.event import Event, RawEvent, TxLogEvents # noqa 15 | from nibiru.pytypes.jsonable import Jsonable # noqa 16 | from nibiru.pytypes.network import Network, NetworkType # noqa 17 | from nibiru.pytypes.tx_resp import ( # noqa 18 | ExecuteTxResp, 19 | RawSyncTxResp, 20 | RawTxResp, 21 | TxResp, 22 | ) 23 | -------------------------------------------------------------------------------- /nibiru/pytypes/jsonable.py: -------------------------------------------------------------------------------- 1 | import abc 2 | import copy 3 | import json 4 | from datetime import datetime 5 | from typing import Any, Mapping 6 | 7 | 8 | def to_jsonable(obj: Any) -> Any: 9 | if hasattr(obj, "to_jsonable"): 10 | return obj.to_jsonable() 11 | if isinstance(obj, int): 12 | return str(obj) 13 | if isinstance(obj, datetime): 14 | return to_iso(obj) 15 | if isinstance(obj, list): 16 | return [to_jsonable(g) for g in obj] 17 | if isinstance(obj, dict): 18 | return dict_to_jsonable(obj) 19 | return obj 20 | 21 | 22 | def to_iso(dt: datetime) -> str: 23 | return ( 24 | dt.isoformat(timespec="milliseconds") 25 | .replace("+00:00", "Z") 26 | .replace(".000Z", "Z") 27 | ) 28 | 29 | 30 | def dict_to_jsonable(d: Mapping) -> Mapping[str, "Jsonable"]: 31 | """Recursively calls to_jsonable on each element of the given map.""" 32 | return {key: to_jsonable(val) for key, val in d.items()} 33 | 34 | 35 | class Jsonable(abc.ABC): 36 | def to_jsonable(self) -> Any: 37 | """Returns a JSON-serializable Python representation""" 38 | return dict_to_jsonable(copy.deepcopy(self.__dict__)) 39 | 40 | def to_json_str(self) -> str: 41 | return json.dumps( 42 | obj=self.to_jsonable(), 43 | sort_keys=True, 44 | separators=(",", ":"), 45 | ) 46 | 47 | def __repr__(self): 48 | return self.to_json_str() 49 | 50 | def __str__(self): 51 | return self.to_json_str() 52 | -------------------------------------------------------------------------------- /nibiru/query_clients/__init__.py: -------------------------------------------------------------------------------- 1 | from nibiru.query_clients.auth import AuthQueryClient # noqa 2 | from nibiru.query_clients.epoch import EpochQueryClient # noqa 3 | from nibiru.query_clients.perp import PerpQueryClient # noqa 4 | from nibiru.query_clients.spot import SpotQueryClient # noqa 5 | from nibiru.query_clients.stablecoin import StablecoinQueryClient # noqa 6 | from nibiru.query_clients.staking import StakingQueryClient # noqa 7 | from nibiru.query_clients.util import * # noqa 8 | -------------------------------------------------------------------------------- /nibiru/tmrpc/__init__.py: -------------------------------------------------------------------------------- 1 | from nibiru.tmrpc.broadcast import CHAIN_JSON_RPC_METHODS # noqa 2 | from nibiru.tmrpc.broadcast import BroadcastTxSync # noqa 3 | from nibiru.tmrpc.broadcast import TypedJsonRpcRequest # noqa 4 | from nibiru.tmrpc.broadcast import is_known_rpc_method # noqa 5 | -------------------------------------------------------------------------------- /nibiru_proto/__init__.py: -------------------------------------------------------------------------------- 1 | import os 2 | import sys 3 | 4 | sys.path.insert(0, os.path.abspath(os.path.dirname(__file__))) 5 | version = '0.21.10' 6 | -------------------------------------------------------------------------------- /nibiru_proto/amino/amino_pb2_grpc.py: -------------------------------------------------------------------------------- 1 | # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! 2 | """Client and server classes corresponding to protobuf-defined services.""" 3 | import grpc 4 | 5 | -------------------------------------------------------------------------------- /nibiru_proto/cosmos/app/runtime/v1alpha1/module_pb2_grpc.py: -------------------------------------------------------------------------------- 1 | # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! 2 | """Client and server classes corresponding to protobuf-defined services.""" 3 | import grpc 4 | 5 | -------------------------------------------------------------------------------- /nibiru_proto/cosmos/app/v1alpha1/config_pb2.py: -------------------------------------------------------------------------------- 1 | # -*- coding: utf-8 -*- 2 | # Generated by the protocol buffer compiler. DO NOT EDIT! 3 | # source: cosmos/app/v1alpha1/config.proto 4 | """Generated protocol buffer code.""" 5 | from google.protobuf.internal import builder as _builder 6 | from google.protobuf import descriptor as _descriptor 7 | from google.protobuf import descriptor_pool as _descriptor_pool 8 | from google.protobuf import symbol_database as _symbol_database 9 | # @@protoc_insertion_point(imports) 10 | 11 | _sym_db = _symbol_database.Default() 12 | 13 | 14 | from google.protobuf import any_pb2 as google_dot_protobuf_dot_any__pb2 15 | 16 | 17 | DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n cosmos/app/v1alpha1/config.proto\x12\x13\x63osmos.app.v1alpha1\x1a\x19google/protobuf/any.proto\"\x92\x01\n\x06\x43onfig\x12;\n\x07modules\x18\x01 \x03(\x0b\x32!.cosmos.app.v1alpha1.ModuleConfigR\x07modules\x12K\n\x0fgolang_bindings\x18\x02 \x03(\x0b\x32\".cosmos.app.v1alpha1.GolangBindingR\x0egolangBindings\"\x9d\x01\n\x0cModuleConfig\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\x12,\n\x06\x63onfig\x18\x02 \x01(\x0b\x32\x14.google.protobuf.AnyR\x06\x63onfig\x12K\n\x0fgolang_bindings\x18\x03 \x03(\x0b\x32\".cosmos.app.v1alpha1.GolangBindingR\x0egolangBindings\"^\n\rGolangBinding\x12%\n\x0einterface_type\x18\x01 \x01(\tR\rinterfaceType\x12&\n\x0eimplementation\x18\x02 \x01(\tR\x0eimplementationb\x06proto3') 18 | 19 | _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) 20 | _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.app.v1alpha1.config_pb2', globals()) 21 | if _descriptor._USE_C_DESCRIPTORS == False: 22 | 23 | DESCRIPTOR._options = None 24 | _CONFIG._serialized_start=85 25 | _CONFIG._serialized_end=231 26 | _MODULECONFIG._serialized_start=234 27 | _MODULECONFIG._serialized_end=391 28 | _GOLANGBINDING._serialized_start=393 29 | _GOLANGBINDING._serialized_end=487 30 | # @@protoc_insertion_point(module_scope) 31 | -------------------------------------------------------------------------------- /nibiru_proto/cosmos/app/v1alpha1/config_pb2_grpc.py: -------------------------------------------------------------------------------- 1 | # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! 2 | """Client and server classes corresponding to protobuf-defined services.""" 3 | import grpc 4 | 5 | -------------------------------------------------------------------------------- /nibiru_proto/cosmos/app/v1alpha1/module_pb2_grpc.py: -------------------------------------------------------------------------------- 1 | # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! 2 | """Client and server classes corresponding to protobuf-defined services.""" 3 | import grpc 4 | 5 | -------------------------------------------------------------------------------- /nibiru_proto/cosmos/app/v1alpha1/query_pb2.py: -------------------------------------------------------------------------------- 1 | # -*- coding: utf-8 -*- 2 | # Generated by the protocol buffer compiler. DO NOT EDIT! 3 | # source: cosmos/app/v1alpha1/query.proto 4 | """Generated protocol buffer code.""" 5 | from google.protobuf.internal import builder as _builder 6 | from google.protobuf import descriptor as _descriptor 7 | from google.protobuf import descriptor_pool as _descriptor_pool 8 | from google.protobuf import symbol_database as _symbol_database 9 | # @@protoc_insertion_point(imports) 10 | 11 | _sym_db = _symbol_database.Default() 12 | 13 | 14 | from cosmos.app.v1alpha1 import config_pb2 as cosmos_dot_app_dot_v1alpha1_dot_config__pb2 15 | 16 | 17 | DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1f\x63osmos/app/v1alpha1/query.proto\x12\x13\x63osmos.app.v1alpha1\x1a cosmos/app/v1alpha1/config.proto\"\x14\n\x12QueryConfigRequest\"J\n\x13QueryConfigResponse\x12\x33\n\x06\x63onfig\x18\x01 \x01(\x0b\x32\x1b.cosmos.app.v1alpha1.ConfigR\x06\x63onfig2f\n\x05Query\x12]\n\x06\x43onfig\x12\'.cosmos.app.v1alpha1.QueryConfigRequest\x1a(.cosmos.app.v1alpha1.QueryConfigResponse\"\x00\x62\x06proto3') 18 | 19 | _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) 20 | _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.app.v1alpha1.query_pb2', globals()) 21 | if _descriptor._USE_C_DESCRIPTORS == False: 22 | 23 | DESCRIPTOR._options = None 24 | _QUERYCONFIGREQUEST._serialized_start=90 25 | _QUERYCONFIGREQUEST._serialized_end=110 26 | _QUERYCONFIGRESPONSE._serialized_start=112 27 | _QUERYCONFIGRESPONSE._serialized_end=186 28 | _QUERY._serialized_start=188 29 | _QUERY._serialized_end=290 30 | # @@protoc_insertion_point(module_scope) 31 | -------------------------------------------------------------------------------- /nibiru_proto/cosmos/app/v1alpha1/query_pb2.pyi: -------------------------------------------------------------------------------- 1 | """ 2 | @generated by mypy-protobuf. Do not edit manually! 3 | isort:skip_file 4 | """ 5 | import builtins 6 | import cosmos.app.v1alpha1.config_pb2 7 | import google.protobuf.descriptor 8 | import google.protobuf.message 9 | import sys 10 | 11 | if sys.version_info >= (3, 8): 12 | import typing as typing_extensions 13 | else: 14 | import typing_extensions 15 | 16 | DESCRIPTOR: google.protobuf.descriptor.FileDescriptor 17 | 18 | @typing_extensions.final 19 | class QueryConfigRequest(google.protobuf.message.Message): 20 | """QueryConfigRequest is the Query/Config request type.""" 21 | 22 | DESCRIPTOR: google.protobuf.descriptor.Descriptor 23 | 24 | def __init__( 25 | self, 26 | ) -> None: ... 27 | 28 | global___QueryConfigRequest = QueryConfigRequest 29 | 30 | @typing_extensions.final 31 | class QueryConfigResponse(google.protobuf.message.Message): 32 | """QueryConfigRequest is the Query/Config response type.""" 33 | 34 | DESCRIPTOR: google.protobuf.descriptor.Descriptor 35 | 36 | CONFIG_FIELD_NUMBER: builtins.int 37 | @property 38 | def config(self) -> cosmos.app.v1alpha1.config_pb2.Config: 39 | """config is the current app config.""" 40 | def __init__( 41 | self, 42 | *, 43 | config: cosmos.app.v1alpha1.config_pb2.Config | None = ..., 44 | ) -> None: ... 45 | def HasField(self, field_name: typing_extensions.Literal["config", b"config"]) -> builtins.bool: ... 46 | def ClearField(self, field_name: typing_extensions.Literal["config", b"config"]) -> None: ... 47 | 48 | global___QueryConfigResponse = QueryConfigResponse 49 | -------------------------------------------------------------------------------- /nibiru_proto/cosmos/auth/module/v1/module_pb2.py: -------------------------------------------------------------------------------- 1 | # -*- coding: utf-8 -*- 2 | # Generated by the protocol buffer compiler. DO NOT EDIT! 3 | # source: cosmos/auth/module/v1/module.proto 4 | """Generated protocol buffer code.""" 5 | from google.protobuf.internal import builder as _builder 6 | from google.protobuf import descriptor as _descriptor 7 | from google.protobuf import descriptor_pool as _descriptor_pool 8 | from google.protobuf import symbol_database as _symbol_database 9 | # @@protoc_insertion_point(imports) 10 | 11 | _sym_db = _symbol_database.Default() 12 | 13 | 14 | from cosmos.app.v1alpha1 import module_pb2 as cosmos_dot_app_dot_v1alpha1_dot_module__pb2 15 | 16 | 17 | DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\"cosmos/auth/module/v1/module.proto\x12\x15\x63osmos.auth.module.v1\x1a cosmos/app/v1alpha1/module.proto\"\xe6\x01\n\x06Module\x12#\n\rbech32_prefix\x18\x01 \x01(\tR\x0c\x62\x65\x63h32Prefix\x12l\n\x1amodule_account_permissions\x18\x02 \x03(\x0b\x32..cosmos.auth.module.v1.ModuleAccountPermissionR\x18moduleAccountPermissions\x12\x1c\n\tauthority\x18\x03 \x01(\tR\tauthority:+\xba\xc0\x96\xda\x01%\n#github.com/cosmos/cosmos-sdk/x/auth\"U\n\x17ModuleAccountPermission\x12\x18\n\x07\x61\x63\x63ount\x18\x01 \x01(\tR\x07\x61\x63\x63ount\x12 \n\x0bpermissions\x18\x02 \x03(\tR\x0bpermissionsb\x06proto3') 18 | 19 | _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) 20 | _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.auth.module.v1.module_pb2', globals()) 21 | if _descriptor._USE_C_DESCRIPTORS == False: 22 | 23 | DESCRIPTOR._options = None 24 | _MODULE._options = None 25 | _MODULE._serialized_options = b'\272\300\226\332\001%\n#github.com/cosmos/cosmos-sdk/x/auth' 26 | _MODULE._serialized_start=96 27 | _MODULE._serialized_end=326 28 | _MODULEACCOUNTPERMISSION._serialized_start=328 29 | _MODULEACCOUNTPERMISSION._serialized_end=413 30 | # @@protoc_insertion_point(module_scope) 31 | -------------------------------------------------------------------------------- /nibiru_proto/cosmos/auth/module/v1/module_pb2_grpc.py: -------------------------------------------------------------------------------- 1 | # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! 2 | """Client and server classes corresponding to protobuf-defined services.""" 3 | import grpc 4 | 5 | -------------------------------------------------------------------------------- /nibiru_proto/cosmos/auth/v1beta1/auth_pb2_grpc.py: -------------------------------------------------------------------------------- 1 | # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! 2 | """Client and server classes corresponding to protobuf-defined services.""" 3 | import grpc 4 | 5 | -------------------------------------------------------------------------------- /nibiru_proto/cosmos/auth/v1beta1/genesis_pb2.pyi: -------------------------------------------------------------------------------- 1 | """ 2 | @generated by mypy-protobuf. Do not edit manually! 3 | isort:skip_file 4 | """ 5 | import builtins 6 | import collections.abc 7 | import cosmos.auth.v1beta1.auth_pb2 8 | import google.protobuf.any_pb2 9 | import google.protobuf.descriptor 10 | import google.protobuf.internal.containers 11 | import google.protobuf.message 12 | import sys 13 | 14 | if sys.version_info >= (3, 8): 15 | import typing as typing_extensions 16 | else: 17 | import typing_extensions 18 | 19 | DESCRIPTOR: google.protobuf.descriptor.FileDescriptor 20 | 21 | @typing_extensions.final 22 | class GenesisState(google.protobuf.message.Message): 23 | """GenesisState defines the auth module's genesis state.""" 24 | 25 | DESCRIPTOR: google.protobuf.descriptor.Descriptor 26 | 27 | PARAMS_FIELD_NUMBER: builtins.int 28 | ACCOUNTS_FIELD_NUMBER: builtins.int 29 | @property 30 | def params(self) -> cosmos.auth.v1beta1.auth_pb2.Params: 31 | """params defines all the parameters of the module.""" 32 | @property 33 | def accounts(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[google.protobuf.any_pb2.Any]: 34 | """accounts are the accounts present at genesis.""" 35 | def __init__( 36 | self, 37 | *, 38 | params: cosmos.auth.v1beta1.auth_pb2.Params | None = ..., 39 | accounts: collections.abc.Iterable[google.protobuf.any_pb2.Any] | None = ..., 40 | ) -> None: ... 41 | def HasField(self, field_name: typing_extensions.Literal["params", b"params"]) -> builtins.bool: ... 42 | def ClearField(self, field_name: typing_extensions.Literal["accounts", b"accounts", "params", b"params"]) -> None: ... 43 | 44 | global___GenesisState = GenesisState 45 | -------------------------------------------------------------------------------- /nibiru_proto/cosmos/auth/v1beta1/genesis_pb2_grpc.py: -------------------------------------------------------------------------------- 1 | # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! 2 | """Client and server classes corresponding to protobuf-defined services.""" 3 | import grpc 4 | 5 | -------------------------------------------------------------------------------- /nibiru_proto/cosmos/authz/module/v1/module_pb2.py: -------------------------------------------------------------------------------- 1 | # -*- coding: utf-8 -*- 2 | # Generated by the protocol buffer compiler. DO NOT EDIT! 3 | # source: cosmos/authz/module/v1/module.proto 4 | """Generated protocol buffer code.""" 5 | from google.protobuf.internal import builder as _builder 6 | from google.protobuf import descriptor as _descriptor 7 | from google.protobuf import descriptor_pool as _descriptor_pool 8 | from google.protobuf import symbol_database as _symbol_database 9 | # @@protoc_insertion_point(imports) 10 | 11 | _sym_db = _symbol_database.Default() 12 | 13 | 14 | from cosmos.app.v1alpha1 import module_pb2 as cosmos_dot_app_dot_v1alpha1_dot_module__pb2 15 | 16 | 17 | DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n#cosmos/authz/module/v1/module.proto\x12\x16\x63osmos.authz.module.v1\x1a cosmos/app/v1alpha1/module.proto\"6\n\x06Module:,\xba\xc0\x96\xda\x01&\n$github.com/cosmos/cosmos-sdk/x/authzb\x06proto3') 18 | 19 | _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) 20 | _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.authz.module.v1.module_pb2', globals()) 21 | if _descriptor._USE_C_DESCRIPTORS == False: 22 | 23 | DESCRIPTOR._options = None 24 | _MODULE._options = None 25 | _MODULE._serialized_options = b'\272\300\226\332\001&\n$github.com/cosmos/cosmos-sdk/x/authz' 26 | _MODULE._serialized_start=97 27 | _MODULE._serialized_end=151 28 | # @@protoc_insertion_point(module_scope) 29 | -------------------------------------------------------------------------------- /nibiru_proto/cosmos/authz/module/v1/module_pb2.pyi: -------------------------------------------------------------------------------- 1 | """ 2 | @generated by mypy-protobuf. Do not edit manually! 3 | isort:skip_file 4 | """ 5 | import google.protobuf.descriptor 6 | import google.protobuf.message 7 | import sys 8 | 9 | if sys.version_info >= (3, 8): 10 | import typing as typing_extensions 11 | else: 12 | import typing_extensions 13 | 14 | DESCRIPTOR: google.protobuf.descriptor.FileDescriptor 15 | 16 | @typing_extensions.final 17 | class Module(google.protobuf.message.Message): 18 | """Module is the config object of the authz module.""" 19 | 20 | DESCRIPTOR: google.protobuf.descriptor.Descriptor 21 | 22 | def __init__( 23 | self, 24 | ) -> None: ... 25 | 26 | global___Module = Module 27 | -------------------------------------------------------------------------------- /nibiru_proto/cosmos/authz/module/v1/module_pb2_grpc.py: -------------------------------------------------------------------------------- 1 | # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! 2 | """Client and server classes corresponding to protobuf-defined services.""" 3 | import grpc 4 | 5 | -------------------------------------------------------------------------------- /nibiru_proto/cosmos/authz/v1beta1/authz_pb2_grpc.py: -------------------------------------------------------------------------------- 1 | # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! 2 | """Client and server classes corresponding to protobuf-defined services.""" 3 | import grpc 4 | 5 | -------------------------------------------------------------------------------- /nibiru_proto/cosmos/authz/v1beta1/event_pb2_grpc.py: -------------------------------------------------------------------------------- 1 | # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! 2 | """Client and server classes corresponding to protobuf-defined services.""" 3 | import grpc 4 | 5 | -------------------------------------------------------------------------------- /nibiru_proto/cosmos/authz/v1beta1/genesis_pb2.py: -------------------------------------------------------------------------------- 1 | # -*- coding: utf-8 -*- 2 | # Generated by the protocol buffer compiler. DO NOT EDIT! 3 | # source: cosmos/authz/v1beta1/genesis.proto 4 | """Generated protocol buffer code.""" 5 | from google.protobuf.internal import builder as _builder 6 | from google.protobuf import descriptor as _descriptor 7 | from google.protobuf import descriptor_pool as _descriptor_pool 8 | from google.protobuf import symbol_database as _symbol_database 9 | # @@protoc_insertion_point(imports) 10 | 11 | _sym_db = _symbol_database.Default() 12 | 13 | 14 | from gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 15 | from cosmos.authz.v1beta1 import authz_pb2 as cosmos_dot_authz_dot_v1beta1_dot_authz__pb2 16 | from amino import amino_pb2 as amino_dot_amino__pb2 17 | 18 | 19 | DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\"cosmos/authz/v1beta1/genesis.proto\x12\x14\x63osmos.authz.v1beta1\x1a\x14gogoproto/gogo.proto\x1a cosmos/authz/v1beta1/authz.proto\x1a\x11\x61mino/amino.proto\"i\n\x0cGenesisState\x12Y\n\rauthorization\x18\x01 \x03(\x0b\x32(.cosmos.authz.v1beta1.GrantAuthorizationB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\rauthorizationB&Z$github.com/cosmos/cosmos-sdk/x/authzb\x06proto3') 20 | 21 | _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) 22 | _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.authz.v1beta1.genesis_pb2', globals()) 23 | if _descriptor._USE_C_DESCRIPTORS == False: 24 | 25 | DESCRIPTOR._options = None 26 | DESCRIPTOR._serialized_options = b'Z$github.com/cosmos/cosmos-sdk/x/authz' 27 | _GENESISSTATE.fields_by_name['authorization']._options = None 28 | _GENESISSTATE.fields_by_name['authorization']._serialized_options = b'\310\336\037\000\250\347\260*\001' 29 | _GENESISSTATE._serialized_start=135 30 | _GENESISSTATE._serialized_end=240 31 | # @@protoc_insertion_point(module_scope) 32 | -------------------------------------------------------------------------------- /nibiru_proto/cosmos/authz/v1beta1/genesis_pb2.pyi: -------------------------------------------------------------------------------- 1 | """ 2 | @generated by mypy-protobuf. Do not edit manually! 3 | isort:skip_file 4 | Since: cosmos-sdk 0.43""" 5 | import builtins 6 | import collections.abc 7 | import cosmos.authz.v1beta1.authz_pb2 8 | import google.protobuf.descriptor 9 | import google.protobuf.internal.containers 10 | import google.protobuf.message 11 | import sys 12 | 13 | if sys.version_info >= (3, 8): 14 | import typing as typing_extensions 15 | else: 16 | import typing_extensions 17 | 18 | DESCRIPTOR: google.protobuf.descriptor.FileDescriptor 19 | 20 | @typing_extensions.final 21 | class GenesisState(google.protobuf.message.Message): 22 | """GenesisState defines the authz module's genesis state.""" 23 | 24 | DESCRIPTOR: google.protobuf.descriptor.Descriptor 25 | 26 | AUTHORIZATION_FIELD_NUMBER: builtins.int 27 | @property 28 | def authorization(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[cosmos.authz.v1beta1.authz_pb2.GrantAuthorization]: ... 29 | def __init__( 30 | self, 31 | *, 32 | authorization: collections.abc.Iterable[cosmos.authz.v1beta1.authz_pb2.GrantAuthorization] | None = ..., 33 | ) -> None: ... 34 | def ClearField(self, field_name: typing_extensions.Literal["authorization", b"authorization"]) -> None: ... 35 | 36 | global___GenesisState = GenesisState 37 | -------------------------------------------------------------------------------- /nibiru_proto/cosmos/authz/v1beta1/genesis_pb2_grpc.py: -------------------------------------------------------------------------------- 1 | # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! 2 | """Client and server classes corresponding to protobuf-defined services.""" 3 | import grpc 4 | 5 | -------------------------------------------------------------------------------- /nibiru_proto/cosmos/autocli/v1/options_pb2_grpc.py: -------------------------------------------------------------------------------- 1 | # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! 2 | """Client and server classes corresponding to protobuf-defined services.""" 3 | import grpc 4 | 5 | -------------------------------------------------------------------------------- /nibiru_proto/cosmos/bank/module/v1/module_pb2.py: -------------------------------------------------------------------------------- 1 | # -*- coding: utf-8 -*- 2 | # Generated by the protocol buffer compiler. DO NOT EDIT! 3 | # source: cosmos/bank/module/v1/module.proto 4 | """Generated protocol buffer code.""" 5 | from google.protobuf.internal import builder as _builder 6 | from google.protobuf import descriptor as _descriptor 7 | from google.protobuf import descriptor_pool as _descriptor_pool 8 | from google.protobuf import symbol_database as _symbol_database 9 | # @@protoc_insertion_point(imports) 10 | 11 | _sym_db = _symbol_database.Default() 12 | 13 | 14 | from cosmos.app.v1alpha1 import module_pb2 as cosmos_dot_app_dot_v1alpha1_dot_module__pb2 15 | 16 | 17 | DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\"cosmos/bank/module/v1/module.proto\x12\x15\x63osmos.bank.module.v1\x1a cosmos/app/v1alpha1/module.proto\"\x9c\x01\n\x06Module\x12G\n blocked_module_accounts_override\x18\x01 \x03(\tR\x1d\x62lockedModuleAccountsOverride\x12\x1c\n\tauthority\x18\x02 \x01(\tR\tauthority:+\xba\xc0\x96\xda\x01%\n#github.com/cosmos/cosmos-sdk/x/bankb\x06proto3') 18 | 19 | _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) 20 | _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.bank.module.v1.module_pb2', globals()) 21 | if _descriptor._USE_C_DESCRIPTORS == False: 22 | 23 | DESCRIPTOR._options = None 24 | _MODULE._options = None 25 | _MODULE._serialized_options = b'\272\300\226\332\001%\n#github.com/cosmos/cosmos-sdk/x/bank' 26 | _MODULE._serialized_start=96 27 | _MODULE._serialized_end=252 28 | # @@protoc_insertion_point(module_scope) 29 | -------------------------------------------------------------------------------- /nibiru_proto/cosmos/bank/module/v1/module_pb2.pyi: -------------------------------------------------------------------------------- 1 | """ 2 | @generated by mypy-protobuf. Do not edit manually! 3 | isort:skip_file 4 | """ 5 | import builtins 6 | import collections.abc 7 | import google.protobuf.descriptor 8 | import google.protobuf.internal.containers 9 | import google.protobuf.message 10 | import sys 11 | 12 | if sys.version_info >= (3, 8): 13 | import typing as typing_extensions 14 | else: 15 | import typing_extensions 16 | 17 | DESCRIPTOR: google.protobuf.descriptor.FileDescriptor 18 | 19 | @typing_extensions.final 20 | class Module(google.protobuf.message.Message): 21 | """Module is the config object of the bank module.""" 22 | 23 | DESCRIPTOR: google.protobuf.descriptor.Descriptor 24 | 25 | BLOCKED_MODULE_ACCOUNTS_OVERRIDE_FIELD_NUMBER: builtins.int 26 | AUTHORITY_FIELD_NUMBER: builtins.int 27 | @property 28 | def blocked_module_accounts_override(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]: 29 | """blocked_module_accounts configures exceptional module accounts which should be blocked from receiving funds. 30 | If left empty it defaults to the list of account names supplied in the auth module configuration as 31 | module_account_permissions 32 | """ 33 | authority: builtins.str 34 | """authority defines the custom module authority. If not set, defaults to the governance module.""" 35 | def __init__( 36 | self, 37 | *, 38 | blocked_module_accounts_override: collections.abc.Iterable[builtins.str] | None = ..., 39 | authority: builtins.str = ..., 40 | ) -> None: ... 41 | def ClearField(self, field_name: typing_extensions.Literal["authority", b"authority", "blocked_module_accounts_override", b"blocked_module_accounts_override"]) -> None: ... 42 | 43 | global___Module = Module 44 | -------------------------------------------------------------------------------- /nibiru_proto/cosmos/bank/module/v1/module_pb2_grpc.py: -------------------------------------------------------------------------------- 1 | # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! 2 | """Client and server classes corresponding to protobuf-defined services.""" 3 | import grpc 4 | 5 | -------------------------------------------------------------------------------- /nibiru_proto/cosmos/bank/v1beta1/authz_pb2.pyi: -------------------------------------------------------------------------------- 1 | """ 2 | @generated by mypy-protobuf. Do not edit manually! 3 | isort:skip_file 4 | """ 5 | import builtins 6 | import collections.abc 7 | import cosmos.base.v1beta1.coin_pb2 8 | import google.protobuf.descriptor 9 | import google.protobuf.internal.containers 10 | import google.protobuf.message 11 | import sys 12 | 13 | if sys.version_info >= (3, 8): 14 | import typing as typing_extensions 15 | else: 16 | import typing_extensions 17 | 18 | DESCRIPTOR: google.protobuf.descriptor.FileDescriptor 19 | 20 | @typing_extensions.final 21 | class SendAuthorization(google.protobuf.message.Message): 22 | """SendAuthorization allows the grantee to spend up to spend_limit coins from 23 | the granter's account. 24 | 25 | Since: cosmos-sdk 0.43 26 | """ 27 | 28 | DESCRIPTOR: google.protobuf.descriptor.Descriptor 29 | 30 | SPEND_LIMIT_FIELD_NUMBER: builtins.int 31 | ALLOW_LIST_FIELD_NUMBER: builtins.int 32 | @property 33 | def spend_limit(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[cosmos.base.v1beta1.coin_pb2.Coin]: ... 34 | @property 35 | def allow_list(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]: 36 | """allow_list specifies an optional list of addresses to whom the grantee can send tokens on behalf of the 37 | granter. If omitted, any recipient is allowed. 38 | 39 | Since: cosmos-sdk 0.47 40 | """ 41 | def __init__( 42 | self, 43 | *, 44 | spend_limit: collections.abc.Iterable[cosmos.base.v1beta1.coin_pb2.Coin] | None = ..., 45 | allow_list: collections.abc.Iterable[builtins.str] | None = ..., 46 | ) -> None: ... 47 | def ClearField(self, field_name: typing_extensions.Literal["allow_list", b"allow_list", "spend_limit", b"spend_limit"]) -> None: ... 48 | 49 | global___SendAuthorization = SendAuthorization 50 | -------------------------------------------------------------------------------- /nibiru_proto/cosmos/bank/v1beta1/authz_pb2_grpc.py: -------------------------------------------------------------------------------- 1 | # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! 2 | """Client and server classes corresponding to protobuf-defined services.""" 3 | import grpc 4 | 5 | -------------------------------------------------------------------------------- /nibiru_proto/cosmos/bank/v1beta1/bank_pb2_grpc.py: -------------------------------------------------------------------------------- 1 | # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! 2 | """Client and server classes corresponding to protobuf-defined services.""" 3 | import grpc 4 | 5 | -------------------------------------------------------------------------------- /nibiru_proto/cosmos/bank/v1beta1/genesis_pb2_grpc.py: -------------------------------------------------------------------------------- 1 | # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! 2 | """Client and server classes corresponding to protobuf-defined services.""" 3 | import grpc 4 | 5 | -------------------------------------------------------------------------------- /nibiru_proto/cosmos/base/abci/v1beta1/abci_pb2_grpc.py: -------------------------------------------------------------------------------- 1 | # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! 2 | """Client and server classes corresponding to protobuf-defined services.""" 3 | import grpc 4 | 5 | -------------------------------------------------------------------------------- /nibiru_proto/cosmos/base/kv/v1beta1/kv_pb2.py: -------------------------------------------------------------------------------- 1 | # -*- coding: utf-8 -*- 2 | # Generated by the protocol buffer compiler. DO NOT EDIT! 3 | # source: cosmos/base/kv/v1beta1/kv.proto 4 | """Generated protocol buffer code.""" 5 | from google.protobuf.internal import builder as _builder 6 | from google.protobuf import descriptor as _descriptor 7 | from google.protobuf import descriptor_pool as _descriptor_pool 8 | from google.protobuf import symbol_database as _symbol_database 9 | # @@protoc_insertion_point(imports) 10 | 11 | _sym_db = _symbol_database.Default() 12 | 13 | 14 | from gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 15 | 16 | 17 | DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1f\x63osmos/base/kv/v1beta1/kv.proto\x12\x16\x63osmos.base.kv.v1beta1\x1a\x14gogoproto/gogo.proto\"A\n\x05Pairs\x12\x38\n\x05pairs\x18\x01 \x03(\x0b\x32\x1c.cosmos.base.kv.v1beta1.PairB\x04\xc8\xde\x1f\x00R\x05pairs\".\n\x04Pair\x12\x10\n\x03key\x18\x01 \x01(\x0cR\x03key\x12\x14\n\x05value\x18\x02 \x01(\x0cR\x05valueB\'Z%github.com/cosmos/cosmos-sdk/types/kvb\x06proto3') 18 | 19 | _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) 20 | _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.base.kv.v1beta1.kv_pb2', globals()) 21 | if _descriptor._USE_C_DESCRIPTORS == False: 22 | 23 | DESCRIPTOR._options = None 24 | DESCRIPTOR._serialized_options = b'Z%github.com/cosmos/cosmos-sdk/types/kv' 25 | _PAIRS.fields_by_name['pairs']._options = None 26 | _PAIRS.fields_by_name['pairs']._serialized_options = b'\310\336\037\000' 27 | _PAIRS._serialized_start=81 28 | _PAIRS._serialized_end=146 29 | _PAIR._serialized_start=148 30 | _PAIR._serialized_end=194 31 | # @@protoc_insertion_point(module_scope) 32 | -------------------------------------------------------------------------------- /nibiru_proto/cosmos/base/kv/v1beta1/kv_pb2.pyi: -------------------------------------------------------------------------------- 1 | """ 2 | @generated by mypy-protobuf. Do not edit manually! 3 | isort:skip_file 4 | """ 5 | import builtins 6 | import collections.abc 7 | import google.protobuf.descriptor 8 | import google.protobuf.internal.containers 9 | import google.protobuf.message 10 | import sys 11 | 12 | if sys.version_info >= (3, 8): 13 | import typing as typing_extensions 14 | else: 15 | import typing_extensions 16 | 17 | DESCRIPTOR: google.protobuf.descriptor.FileDescriptor 18 | 19 | @typing_extensions.final 20 | class Pairs(google.protobuf.message.Message): 21 | """Pairs defines a repeated slice of Pair objects.""" 22 | 23 | DESCRIPTOR: google.protobuf.descriptor.Descriptor 24 | 25 | PAIRS_FIELD_NUMBER: builtins.int 26 | @property 27 | def pairs(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___Pair]: ... 28 | def __init__( 29 | self, 30 | *, 31 | pairs: collections.abc.Iterable[global___Pair] | None = ..., 32 | ) -> None: ... 33 | def ClearField(self, field_name: typing_extensions.Literal["pairs", b"pairs"]) -> None: ... 34 | 35 | global___Pairs = Pairs 36 | 37 | @typing_extensions.final 38 | class Pair(google.protobuf.message.Message): 39 | """Pair defines a key/value bytes tuple.""" 40 | 41 | DESCRIPTOR: google.protobuf.descriptor.Descriptor 42 | 43 | KEY_FIELD_NUMBER: builtins.int 44 | VALUE_FIELD_NUMBER: builtins.int 45 | key: builtins.bytes 46 | value: builtins.bytes 47 | def __init__( 48 | self, 49 | *, 50 | key: builtins.bytes = ..., 51 | value: builtins.bytes = ..., 52 | ) -> None: ... 53 | def ClearField(self, field_name: typing_extensions.Literal["key", b"key", "value", b"value"]) -> None: ... 54 | 55 | global___Pair = Pair 56 | -------------------------------------------------------------------------------- /nibiru_proto/cosmos/base/kv/v1beta1/kv_pb2_grpc.py: -------------------------------------------------------------------------------- 1 | # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! 2 | """Client and server classes corresponding to protobuf-defined services.""" 3 | import grpc 4 | 5 | -------------------------------------------------------------------------------- /nibiru_proto/cosmos/base/node/v1beta1/query_pb2.pyi: -------------------------------------------------------------------------------- 1 | """ 2 | @generated by mypy-protobuf. Do not edit manually! 3 | isort:skip_file 4 | """ 5 | import builtins 6 | import google.protobuf.descriptor 7 | import google.protobuf.message 8 | import sys 9 | 10 | if sys.version_info >= (3, 8): 11 | import typing as typing_extensions 12 | else: 13 | import typing_extensions 14 | 15 | DESCRIPTOR: google.protobuf.descriptor.FileDescriptor 16 | 17 | @typing_extensions.final 18 | class ConfigRequest(google.protobuf.message.Message): 19 | """ConfigRequest defines the request structure for the Config gRPC query.""" 20 | 21 | DESCRIPTOR: google.protobuf.descriptor.Descriptor 22 | 23 | def __init__( 24 | self, 25 | ) -> None: ... 26 | 27 | global___ConfigRequest = ConfigRequest 28 | 29 | @typing_extensions.final 30 | class ConfigResponse(google.protobuf.message.Message): 31 | """ConfigResponse defines the response structure for the Config gRPC query.""" 32 | 33 | DESCRIPTOR: google.protobuf.descriptor.Descriptor 34 | 35 | MINIMUM_GAS_PRICE_FIELD_NUMBER: builtins.int 36 | minimum_gas_price: builtins.str 37 | def __init__( 38 | self, 39 | *, 40 | minimum_gas_price: builtins.str = ..., 41 | ) -> None: ... 42 | def ClearField(self, field_name: typing_extensions.Literal["minimum_gas_price", b"minimum_gas_price"]) -> None: ... 43 | 44 | global___ConfigResponse = ConfigResponse 45 | -------------------------------------------------------------------------------- /nibiru_proto/cosmos/base/query/v1beta1/pagination_pb2.py: -------------------------------------------------------------------------------- 1 | # -*- coding: utf-8 -*- 2 | # Generated by the protocol buffer compiler. DO NOT EDIT! 3 | # source: cosmos/base/query/v1beta1/pagination.proto 4 | """Generated protocol buffer code.""" 5 | from google.protobuf.internal import builder as _builder 6 | from google.protobuf import descriptor as _descriptor 7 | from google.protobuf import descriptor_pool as _descriptor_pool 8 | from google.protobuf import symbol_database as _symbol_database 9 | # @@protoc_insertion_point(imports) 10 | 11 | _sym_db = _symbol_database.Default() 12 | 13 | 14 | 15 | 16 | DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n*cosmos/base/query/v1beta1/pagination.proto\x12\x19\x63osmos.base.query.v1beta1\"\x88\x01\n\x0bPageRequest\x12\x10\n\x03key\x18\x01 \x01(\x0cR\x03key\x12\x16\n\x06offset\x18\x02 \x01(\x04R\x06offset\x12\x14\n\x05limit\x18\x03 \x01(\x04R\x05limit\x12\x1f\n\x0b\x63ount_total\x18\x04 \x01(\x08R\ncountTotal\x12\x18\n\x07reverse\x18\x05 \x01(\x08R\x07reverse\"?\n\x0cPageResponse\x12\x19\n\x08next_key\x18\x01 \x01(\x0cR\x07nextKey\x12\x14\n\x05total\x18\x02 \x01(\x04R\x05totalB*Z(github.com/cosmos/cosmos-sdk/types/queryb\x06proto3') 17 | 18 | _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) 19 | _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.base.query.v1beta1.pagination_pb2', globals()) 20 | if _descriptor._USE_C_DESCRIPTORS == False: 21 | 22 | DESCRIPTOR._options = None 23 | DESCRIPTOR._serialized_options = b'Z(github.com/cosmos/cosmos-sdk/types/query' 24 | _PAGEREQUEST._serialized_start=74 25 | _PAGEREQUEST._serialized_end=210 26 | _PAGERESPONSE._serialized_start=212 27 | _PAGERESPONSE._serialized_end=275 28 | # @@protoc_insertion_point(module_scope) 29 | -------------------------------------------------------------------------------- /nibiru_proto/cosmos/base/query/v1beta1/pagination_pb2_grpc.py: -------------------------------------------------------------------------------- 1 | # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! 2 | """Client and server classes corresponding to protobuf-defined services.""" 3 | import grpc 4 | 5 | -------------------------------------------------------------------------------- /nibiru_proto/cosmos/base/snapshots/v1beta1/snapshot_pb2_grpc.py: -------------------------------------------------------------------------------- 1 | # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! 2 | """Client and server classes corresponding to protobuf-defined services.""" 3 | import grpc 4 | 5 | -------------------------------------------------------------------------------- /nibiru_proto/cosmos/base/store/v1beta1/commit_info_pb2_grpc.py: -------------------------------------------------------------------------------- 1 | # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! 2 | """Client and server classes corresponding to protobuf-defined services.""" 3 | import grpc 4 | 5 | -------------------------------------------------------------------------------- /nibiru_proto/cosmos/base/store/v1beta1/listening_pb2_grpc.py: -------------------------------------------------------------------------------- 1 | # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! 2 | """Client and server classes corresponding to protobuf-defined services.""" 3 | import grpc 4 | 5 | -------------------------------------------------------------------------------- /nibiru_proto/cosmos/base/tendermint/v1beta1/types_pb2_grpc.py: -------------------------------------------------------------------------------- 1 | # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! 2 | """Client and server classes corresponding to protobuf-defined services.""" 3 | import grpc 4 | 5 | -------------------------------------------------------------------------------- /nibiru_proto/cosmos/base/v1beta1/coin_pb2_grpc.py: -------------------------------------------------------------------------------- 1 | # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! 2 | """Client and server classes corresponding to protobuf-defined services.""" 3 | import grpc 4 | 5 | -------------------------------------------------------------------------------- /nibiru_proto/cosmos/capability/module/v1/module_pb2.py: -------------------------------------------------------------------------------- 1 | # -*- coding: utf-8 -*- 2 | # Generated by the protocol buffer compiler. DO NOT EDIT! 3 | # source: cosmos/capability/module/v1/module.proto 4 | """Generated protocol buffer code.""" 5 | from google.protobuf.internal import builder as _builder 6 | from google.protobuf import descriptor as _descriptor 7 | from google.protobuf import descriptor_pool as _descriptor_pool 8 | from google.protobuf import symbol_database as _symbol_database 9 | # @@protoc_insertion_point(imports) 10 | 11 | _sym_db = _symbol_database.Default() 12 | 13 | 14 | from cosmos.app.v1alpha1 import module_pb2 as cosmos_dot_app_dot_v1alpha1_dot_module__pb2 15 | 16 | 17 | DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n(cosmos/capability/module/v1/module.proto\x12\x1b\x63osmos.capability.module.v1\x1a cosmos/app/v1alpha1/module.proto\"\\\n\x06Module\x12\x1f\n\x0bseal_keeper\x18\x01 \x01(\x08R\nsealKeeper:1\xba\xc0\x96\xda\x01+\n)github.com/cosmos/cosmos-sdk/x/capabilityb\x06proto3') 18 | 19 | _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) 20 | _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.capability.module.v1.module_pb2', globals()) 21 | if _descriptor._USE_C_DESCRIPTORS == False: 22 | 23 | DESCRIPTOR._options = None 24 | _MODULE._options = None 25 | _MODULE._serialized_options = b'\272\300\226\332\001+\n)github.com/cosmos/cosmos-sdk/x/capability' 26 | _MODULE._serialized_start=107 27 | _MODULE._serialized_end=199 28 | # @@protoc_insertion_point(module_scope) 29 | -------------------------------------------------------------------------------- /nibiru_proto/cosmos/capability/module/v1/module_pb2.pyi: -------------------------------------------------------------------------------- 1 | """ 2 | @generated by mypy-protobuf. Do not edit manually! 3 | isort:skip_file 4 | """ 5 | import builtins 6 | import google.protobuf.descriptor 7 | import google.protobuf.message 8 | import sys 9 | 10 | if sys.version_info >= (3, 8): 11 | import typing as typing_extensions 12 | else: 13 | import typing_extensions 14 | 15 | DESCRIPTOR: google.protobuf.descriptor.FileDescriptor 16 | 17 | @typing_extensions.final 18 | class Module(google.protobuf.message.Message): 19 | """Module is the config object of the capability module.""" 20 | 21 | DESCRIPTOR: google.protobuf.descriptor.Descriptor 22 | 23 | SEAL_KEEPER_FIELD_NUMBER: builtins.int 24 | seal_keeper: builtins.bool 25 | """seal_keeper defines if keeper.Seal() will run on BeginBlock() to prevent further modules from creating a scoped 26 | keeper. For more details check x/capability/keeper.go. 27 | """ 28 | def __init__( 29 | self, 30 | *, 31 | seal_keeper: builtins.bool = ..., 32 | ) -> None: ... 33 | def ClearField(self, field_name: typing_extensions.Literal["seal_keeper", b"seal_keeper"]) -> None: ... 34 | 35 | global___Module = Module 36 | -------------------------------------------------------------------------------- /nibiru_proto/cosmos/capability/module/v1/module_pb2_grpc.py: -------------------------------------------------------------------------------- 1 | # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! 2 | """Client and server classes corresponding to protobuf-defined services.""" 3 | import grpc 4 | 5 | -------------------------------------------------------------------------------- /nibiru_proto/cosmos/capability/v1beta1/capability_pb2_grpc.py: -------------------------------------------------------------------------------- 1 | # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! 2 | """Client and server classes corresponding to protobuf-defined services.""" 3 | import grpc 4 | 5 | -------------------------------------------------------------------------------- /nibiru_proto/cosmos/capability/v1beta1/genesis_pb2_grpc.py: -------------------------------------------------------------------------------- 1 | # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! 2 | """Client and server classes corresponding to protobuf-defined services.""" 3 | import grpc 4 | 5 | -------------------------------------------------------------------------------- /nibiru_proto/cosmos/consensus/module/v1/module_pb2.py: -------------------------------------------------------------------------------- 1 | # -*- coding: utf-8 -*- 2 | # Generated by the protocol buffer compiler. DO NOT EDIT! 3 | # source: cosmos/consensus/module/v1/module.proto 4 | """Generated protocol buffer code.""" 5 | from google.protobuf.internal import builder as _builder 6 | from google.protobuf import descriptor as _descriptor 7 | from google.protobuf import descriptor_pool as _descriptor_pool 8 | from google.protobuf import symbol_database as _symbol_database 9 | # @@protoc_insertion_point(imports) 10 | 11 | _sym_db = _symbol_database.Default() 12 | 13 | 14 | from cosmos.app.v1alpha1 import module_pb2 as cosmos_dot_app_dot_v1alpha1_dot_module__pb2 15 | 16 | 17 | DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\'cosmos/consensus/module/v1/module.proto\x12\x1a\x63osmos.consensus.module.v1\x1a cosmos/app/v1alpha1/module.proto\"X\n\x06Module\x12\x1c\n\tauthority\x18\x01 \x01(\tR\tauthority:0\xba\xc0\x96\xda\x01*\n(github.com/cosmos/cosmos-sdk/x/consensusb\x06proto3') 18 | 19 | _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) 20 | _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.consensus.module.v1.module_pb2', globals()) 21 | if _descriptor._USE_C_DESCRIPTORS == False: 22 | 23 | DESCRIPTOR._options = None 24 | _MODULE._options = None 25 | _MODULE._serialized_options = b'\272\300\226\332\001*\n(github.com/cosmos/cosmos-sdk/x/consensus' 26 | _MODULE._serialized_start=105 27 | _MODULE._serialized_end=193 28 | # @@protoc_insertion_point(module_scope) 29 | -------------------------------------------------------------------------------- /nibiru_proto/cosmos/consensus/module/v1/module_pb2.pyi: -------------------------------------------------------------------------------- 1 | """ 2 | @generated by mypy-protobuf. Do not edit manually! 3 | isort:skip_file 4 | """ 5 | import builtins 6 | import google.protobuf.descriptor 7 | import google.protobuf.message 8 | import sys 9 | 10 | if sys.version_info >= (3, 8): 11 | import typing as typing_extensions 12 | else: 13 | import typing_extensions 14 | 15 | DESCRIPTOR: google.protobuf.descriptor.FileDescriptor 16 | 17 | @typing_extensions.final 18 | class Module(google.protobuf.message.Message): 19 | """Module is the config object of the consensus module.""" 20 | 21 | DESCRIPTOR: google.protobuf.descriptor.Descriptor 22 | 23 | AUTHORITY_FIELD_NUMBER: builtins.int 24 | authority: builtins.str 25 | """authority defines the custom module authority. If not set, defaults to the governance module.""" 26 | def __init__( 27 | self, 28 | *, 29 | authority: builtins.str = ..., 30 | ) -> None: ... 31 | def ClearField(self, field_name: typing_extensions.Literal["authority", b"authority"]) -> None: ... 32 | 33 | global___Module = Module 34 | -------------------------------------------------------------------------------- /nibiru_proto/cosmos/consensus/module/v1/module_pb2_grpc.py: -------------------------------------------------------------------------------- 1 | # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! 2 | """Client and server classes corresponding to protobuf-defined services.""" 3 | import grpc 4 | 5 | -------------------------------------------------------------------------------- /nibiru_proto/cosmos/consensus/v1/query_pb2.pyi: -------------------------------------------------------------------------------- 1 | """ 2 | @generated by mypy-protobuf. Do not edit manually! 3 | isort:skip_file 4 | Since: cosmos-sdk 0.47""" 5 | import builtins 6 | import google.protobuf.descriptor 7 | import google.protobuf.message 8 | import sys 9 | import tendermint.types.params_pb2 10 | 11 | if sys.version_info >= (3, 8): 12 | import typing as typing_extensions 13 | else: 14 | import typing_extensions 15 | 16 | DESCRIPTOR: google.protobuf.descriptor.FileDescriptor 17 | 18 | @typing_extensions.final 19 | class QueryParamsRequest(google.protobuf.message.Message): 20 | """QueryParamsRequest defines the request type for querying x/consensus parameters.""" 21 | 22 | DESCRIPTOR: google.protobuf.descriptor.Descriptor 23 | 24 | def __init__( 25 | self, 26 | ) -> None: ... 27 | 28 | global___QueryParamsRequest = QueryParamsRequest 29 | 30 | @typing_extensions.final 31 | class QueryParamsResponse(google.protobuf.message.Message): 32 | """QueryParamsResponse defines the response type for querying x/consensus parameters.""" 33 | 34 | DESCRIPTOR: google.protobuf.descriptor.Descriptor 35 | 36 | PARAMS_FIELD_NUMBER: builtins.int 37 | @property 38 | def params(self) -> tendermint.types.params_pb2.ConsensusParams: 39 | """params are the tendermint consensus params stored in the consensus module. 40 | Please note that `params.version` is not populated in this response, it is 41 | tracked separately in the x/upgrade module. 42 | """ 43 | def __init__( 44 | self, 45 | *, 46 | params: tendermint.types.params_pb2.ConsensusParams | None = ..., 47 | ) -> None: ... 48 | def HasField(self, field_name: typing_extensions.Literal["params", b"params"]) -> builtins.bool: ... 49 | def ClearField(self, field_name: typing_extensions.Literal["params", b"params"]) -> None: ... 50 | 51 | global___QueryParamsResponse = QueryParamsResponse 52 | -------------------------------------------------------------------------------- /nibiru_proto/cosmos/crisis/module/v1/module_pb2.py: -------------------------------------------------------------------------------- 1 | # -*- coding: utf-8 -*- 2 | # Generated by the protocol buffer compiler. DO NOT EDIT! 3 | # source: cosmos/crisis/module/v1/module.proto 4 | """Generated protocol buffer code.""" 5 | from google.protobuf.internal import builder as _builder 6 | from google.protobuf import descriptor as _descriptor 7 | from google.protobuf import descriptor_pool as _descriptor_pool 8 | from google.protobuf import symbol_database as _symbol_database 9 | # @@protoc_insertion_point(imports) 10 | 11 | _sym_db = _symbol_database.Default() 12 | 13 | 14 | from cosmos.app.v1alpha1 import module_pb2 as cosmos_dot_app_dot_v1alpha1_dot_module__pb2 15 | 16 | 17 | DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n$cosmos/crisis/module/v1/module.proto\x12\x17\x63osmos.crisis.module.v1\x1a cosmos/app/v1alpha1/module.proto\"\x83\x01\n\x06Module\x12,\n\x12\x66\x65\x65_collector_name\x18\x01 \x01(\tR\x10\x66\x65\x65\x43ollectorName\x12\x1c\n\tauthority\x18\x02 \x01(\tR\tauthority:-\xba\xc0\x96\xda\x01\'\n%github.com/cosmos/cosmos-sdk/x/crisisb\x06proto3') 18 | 19 | _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) 20 | _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.crisis.module.v1.module_pb2', globals()) 21 | if _descriptor._USE_C_DESCRIPTORS == False: 22 | 23 | DESCRIPTOR._options = None 24 | _MODULE._options = None 25 | _MODULE._serialized_options = b'\272\300\226\332\001\'\n%github.com/cosmos/cosmos-sdk/x/crisis' 26 | _MODULE._serialized_start=100 27 | _MODULE._serialized_end=231 28 | # @@protoc_insertion_point(module_scope) 29 | -------------------------------------------------------------------------------- /nibiru_proto/cosmos/crisis/module/v1/module_pb2.pyi: -------------------------------------------------------------------------------- 1 | """ 2 | @generated by mypy-protobuf. Do not edit manually! 3 | isort:skip_file 4 | """ 5 | import builtins 6 | import google.protobuf.descriptor 7 | import google.protobuf.message 8 | import sys 9 | 10 | if sys.version_info >= (3, 8): 11 | import typing as typing_extensions 12 | else: 13 | import typing_extensions 14 | 15 | DESCRIPTOR: google.protobuf.descriptor.FileDescriptor 16 | 17 | @typing_extensions.final 18 | class Module(google.protobuf.message.Message): 19 | """Module is the config object of the crisis module.""" 20 | 21 | DESCRIPTOR: google.protobuf.descriptor.Descriptor 22 | 23 | FEE_COLLECTOR_NAME_FIELD_NUMBER: builtins.int 24 | AUTHORITY_FIELD_NUMBER: builtins.int 25 | fee_collector_name: builtins.str 26 | """fee_collector_name is the name of the FeeCollector ModuleAccount.""" 27 | authority: builtins.str 28 | """authority defines the custom module authority. If not set, defaults to the governance module.""" 29 | def __init__( 30 | self, 31 | *, 32 | fee_collector_name: builtins.str = ..., 33 | authority: builtins.str = ..., 34 | ) -> None: ... 35 | def ClearField(self, field_name: typing_extensions.Literal["authority", b"authority", "fee_collector_name", b"fee_collector_name"]) -> None: ... 36 | 37 | global___Module = Module 38 | -------------------------------------------------------------------------------- /nibiru_proto/cosmos/crisis/module/v1/module_pb2_grpc.py: -------------------------------------------------------------------------------- 1 | # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! 2 | """Client and server classes corresponding to protobuf-defined services.""" 3 | import grpc 4 | 5 | -------------------------------------------------------------------------------- /nibiru_proto/cosmos/crisis/v1beta1/genesis_pb2.py: -------------------------------------------------------------------------------- 1 | # -*- coding: utf-8 -*- 2 | # Generated by the protocol buffer compiler. DO NOT EDIT! 3 | # source: cosmos/crisis/v1beta1/genesis.proto 4 | """Generated protocol buffer code.""" 5 | from google.protobuf.internal import builder as _builder 6 | from google.protobuf import descriptor as _descriptor 7 | from google.protobuf import descriptor_pool as _descriptor_pool 8 | from google.protobuf import symbol_database as _symbol_database 9 | # @@protoc_insertion_point(imports) 10 | 11 | _sym_db = _symbol_database.Default() 12 | 13 | 14 | from gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 15 | from cosmos.base.v1beta1 import coin_pb2 as cosmos_dot_base_dot_v1beta1_dot_coin__pb2 16 | from amino import amino_pb2 as amino_dot_amino__pb2 17 | 18 | 19 | DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n#cosmos/crisis/v1beta1/genesis.proto\x12\x15\x63osmos.crisis.v1beta1\x1a\x14gogoproto/gogo.proto\x1a\x1e\x63osmos/base/v1beta1/coin.proto\x1a\x11\x61mino/amino.proto\"W\n\x0cGenesisState\x12G\n\x0c\x63onstant_fee\x18\x03 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\x0b\x63onstantFeeB-Z+github.com/cosmos/cosmos-sdk/x/crisis/typesb\x06proto3') 20 | 21 | _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) 22 | _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.crisis.v1beta1.genesis_pb2', globals()) 23 | if _descriptor._USE_C_DESCRIPTORS == False: 24 | 25 | DESCRIPTOR._options = None 26 | DESCRIPTOR._serialized_options = b'Z+github.com/cosmos/cosmos-sdk/x/crisis/types' 27 | _GENESISSTATE.fields_by_name['constant_fee']._options = None 28 | _GENESISSTATE.fields_by_name['constant_fee']._serialized_options = b'\310\336\037\000\250\347\260*\001' 29 | _GENESISSTATE._serialized_start=135 30 | _GENESISSTATE._serialized_end=222 31 | # @@protoc_insertion_point(module_scope) 32 | -------------------------------------------------------------------------------- /nibiru_proto/cosmos/crisis/v1beta1/genesis_pb2.pyi: -------------------------------------------------------------------------------- 1 | """ 2 | @generated by mypy-protobuf. Do not edit manually! 3 | isort:skip_file 4 | """ 5 | import builtins 6 | import cosmos.base.v1beta1.coin_pb2 7 | import google.protobuf.descriptor 8 | import google.protobuf.message 9 | import sys 10 | 11 | if sys.version_info >= (3, 8): 12 | import typing as typing_extensions 13 | else: 14 | import typing_extensions 15 | 16 | DESCRIPTOR: google.protobuf.descriptor.FileDescriptor 17 | 18 | @typing_extensions.final 19 | class GenesisState(google.protobuf.message.Message): 20 | """GenesisState defines the crisis module's genesis state.""" 21 | 22 | DESCRIPTOR: google.protobuf.descriptor.Descriptor 23 | 24 | CONSTANT_FEE_FIELD_NUMBER: builtins.int 25 | @property 26 | def constant_fee(self) -> cosmos.base.v1beta1.coin_pb2.Coin: 27 | """constant_fee is the fee used to verify the invariant in the crisis 28 | module. 29 | """ 30 | def __init__( 31 | self, 32 | *, 33 | constant_fee: cosmos.base.v1beta1.coin_pb2.Coin | None = ..., 34 | ) -> None: ... 35 | def HasField(self, field_name: typing_extensions.Literal["constant_fee", b"constant_fee"]) -> builtins.bool: ... 36 | def ClearField(self, field_name: typing_extensions.Literal["constant_fee", b"constant_fee"]) -> None: ... 37 | 38 | global___GenesisState = GenesisState 39 | -------------------------------------------------------------------------------- /nibiru_proto/cosmos/crisis/v1beta1/genesis_pb2_grpc.py: -------------------------------------------------------------------------------- 1 | # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! 2 | """Client and server classes corresponding to protobuf-defined services.""" 3 | import grpc 4 | 5 | -------------------------------------------------------------------------------- /nibiru_proto/cosmos/crypto/ed25519/keys_pb2.pyi: -------------------------------------------------------------------------------- 1 | """ 2 | @generated by mypy-protobuf. Do not edit manually! 3 | isort:skip_file 4 | """ 5 | import builtins 6 | import google.protobuf.descriptor 7 | import google.protobuf.message 8 | import sys 9 | 10 | if sys.version_info >= (3, 8): 11 | import typing as typing_extensions 12 | else: 13 | import typing_extensions 14 | 15 | DESCRIPTOR: google.protobuf.descriptor.FileDescriptor 16 | 17 | @typing_extensions.final 18 | class PubKey(google.protobuf.message.Message): 19 | """PubKey is an ed25519 public key for handling Tendermint keys in SDK. 20 | It's needed for Any serialization and SDK compatibility. 21 | It must not be used in a non Tendermint key context because it doesn't implement 22 | ADR-28. Nevertheless, you will like to use ed25519 in app user level 23 | then you must create a new proto message and follow ADR-28 for Address construction. 24 | """ 25 | 26 | DESCRIPTOR: google.protobuf.descriptor.Descriptor 27 | 28 | KEY_FIELD_NUMBER: builtins.int 29 | key: builtins.bytes 30 | def __init__( 31 | self, 32 | *, 33 | key: builtins.bytes = ..., 34 | ) -> None: ... 35 | def ClearField(self, field_name: typing_extensions.Literal["key", b"key"]) -> None: ... 36 | 37 | global___PubKey = PubKey 38 | 39 | @typing_extensions.final 40 | class PrivKey(google.protobuf.message.Message): 41 | """Deprecated: PrivKey defines a ed25519 private key. 42 | NOTE: ed25519 keys must not be used in SDK apps except in a tendermint validator context. 43 | """ 44 | 45 | DESCRIPTOR: google.protobuf.descriptor.Descriptor 46 | 47 | KEY_FIELD_NUMBER: builtins.int 48 | key: builtins.bytes 49 | def __init__( 50 | self, 51 | *, 52 | key: builtins.bytes = ..., 53 | ) -> None: ... 54 | def ClearField(self, field_name: typing_extensions.Literal["key", b"key"]) -> None: ... 55 | 56 | global___PrivKey = PrivKey 57 | -------------------------------------------------------------------------------- /nibiru_proto/cosmos/crypto/ed25519/keys_pb2_grpc.py: -------------------------------------------------------------------------------- 1 | # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! 2 | """Client and server classes corresponding to protobuf-defined services.""" 3 | import grpc 4 | 5 | -------------------------------------------------------------------------------- /nibiru_proto/cosmos/crypto/hd/v1/hd_pb2.py: -------------------------------------------------------------------------------- 1 | # -*- coding: utf-8 -*- 2 | # Generated by the protocol buffer compiler. DO NOT EDIT! 3 | # source: cosmos/crypto/hd/v1/hd.proto 4 | """Generated protocol buffer code.""" 5 | from google.protobuf.internal import builder as _builder 6 | from google.protobuf import descriptor as _descriptor 7 | from google.protobuf import descriptor_pool as _descriptor_pool 8 | from google.protobuf import symbol_database as _symbol_database 9 | # @@protoc_insertion_point(imports) 10 | 11 | _sym_db = _symbol_database.Default() 12 | 13 | 14 | from amino import amino_pb2 as amino_dot_amino__pb2 15 | from gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 16 | 17 | 18 | DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1c\x63osmos/crypto/hd/v1/hd.proto\x12\x13\x63osmos.crypto.hd.v1\x1a\x11\x61mino/amino.proto\x1a\x14gogoproto/gogo.proto\"\xc0\x01\n\x0b\x42IP44Params\x12\x18\n\x07purpose\x18\x01 \x01(\rR\x07purpose\x12\x1b\n\tcoin_type\x18\x02 \x01(\rR\x08\x63oinType\x12\x18\n\x07\x61\x63\x63ount\x18\x03 \x01(\rR\x07\x61\x63\x63ount\x12\x16\n\x06\x63hange\x18\x04 \x01(\x08R\x06\x63hange\x12#\n\raddress_index\x18\x05 \x01(\rR\x0c\x61\x64\x64ressIndex:#\x98\xa0\x1f\x00\x8a\xe7\xb0*\x1a\x63rypto/keys/hd/BIP44ParamsB,Z&github.com/cosmos/cosmos-sdk/crypto/hd\xc8\xe1\x1e\x00\x62\x06proto3') 19 | 20 | _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) 21 | _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.crypto.hd.v1.hd_pb2', globals()) 22 | if _descriptor._USE_C_DESCRIPTORS == False: 23 | 24 | DESCRIPTOR._options = None 25 | DESCRIPTOR._serialized_options = b'Z&github.com/cosmos/cosmos-sdk/crypto/hd\310\341\036\000' 26 | _BIP44PARAMS._options = None 27 | _BIP44PARAMS._serialized_options = b'\230\240\037\000\212\347\260*\032crypto/keys/hd/BIP44Params' 28 | _BIP44PARAMS._serialized_start=95 29 | _BIP44PARAMS._serialized_end=287 30 | # @@protoc_insertion_point(module_scope) 31 | -------------------------------------------------------------------------------- /nibiru_proto/cosmos/crypto/hd/v1/hd_pb2_grpc.py: -------------------------------------------------------------------------------- 1 | # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! 2 | """Client and server classes corresponding to protobuf-defined services.""" 3 | import grpc 4 | 5 | -------------------------------------------------------------------------------- /nibiru_proto/cosmos/crypto/keyring/v1/record_pb2_grpc.py: -------------------------------------------------------------------------------- 1 | # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! 2 | """Client and server classes corresponding to protobuf-defined services.""" 3 | import grpc 4 | 5 | -------------------------------------------------------------------------------- /nibiru_proto/cosmos/crypto/multisig/keys_pb2.pyi: -------------------------------------------------------------------------------- 1 | """ 2 | @generated by mypy-protobuf. Do not edit manually! 3 | isort:skip_file 4 | """ 5 | import builtins 6 | import collections.abc 7 | import google.protobuf.any_pb2 8 | import google.protobuf.descriptor 9 | import google.protobuf.internal.containers 10 | import google.protobuf.message 11 | import sys 12 | 13 | if sys.version_info >= (3, 8): 14 | import typing as typing_extensions 15 | else: 16 | import typing_extensions 17 | 18 | DESCRIPTOR: google.protobuf.descriptor.FileDescriptor 19 | 20 | @typing_extensions.final 21 | class LegacyAminoPubKey(google.protobuf.message.Message): 22 | """LegacyAminoPubKey specifies a public key type 23 | which nests multiple public keys and a threshold, 24 | it uses legacy amino address rules. 25 | """ 26 | 27 | DESCRIPTOR: google.protobuf.descriptor.Descriptor 28 | 29 | THRESHOLD_FIELD_NUMBER: builtins.int 30 | PUBLIC_KEYS_FIELD_NUMBER: builtins.int 31 | threshold: builtins.int 32 | @property 33 | def public_keys(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[google.protobuf.any_pb2.Any]: ... 34 | def __init__( 35 | self, 36 | *, 37 | threshold: builtins.int = ..., 38 | public_keys: collections.abc.Iterable[google.protobuf.any_pb2.Any] | None = ..., 39 | ) -> None: ... 40 | def ClearField(self, field_name: typing_extensions.Literal["public_keys", b"public_keys", "threshold", b"threshold"]) -> None: ... 41 | 42 | global___LegacyAminoPubKey = LegacyAminoPubKey 43 | -------------------------------------------------------------------------------- /nibiru_proto/cosmos/crypto/multisig/keys_pb2_grpc.py: -------------------------------------------------------------------------------- 1 | # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! 2 | """Client and server classes corresponding to protobuf-defined services.""" 3 | import grpc 4 | 5 | -------------------------------------------------------------------------------- /nibiru_proto/cosmos/crypto/multisig/v1beta1/multisig_pb2.py: -------------------------------------------------------------------------------- 1 | # -*- coding: utf-8 -*- 2 | # Generated by the protocol buffer compiler. DO NOT EDIT! 3 | # source: cosmos/crypto/multisig/v1beta1/multisig.proto 4 | """Generated protocol buffer code.""" 5 | from google.protobuf.internal import builder as _builder 6 | from google.protobuf import descriptor as _descriptor 7 | from google.protobuf import descriptor_pool as _descriptor_pool 8 | from google.protobuf import symbol_database as _symbol_database 9 | # @@protoc_insertion_point(imports) 10 | 11 | _sym_db = _symbol_database.Default() 12 | 13 | 14 | from gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 15 | 16 | 17 | DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n-cosmos/crypto/multisig/v1beta1/multisig.proto\x12\x1e\x63osmos.crypto.multisig.v1beta1\x1a\x14gogoproto/gogo.proto\"6\n\x0eMultiSignature\x12\x1e\n\nsignatures\x18\x01 \x03(\x0cR\nsignatures:\x04\xd0\xa1\x1f\x01\"Y\n\x0f\x43ompactBitArray\x12*\n\x11\x65xtra_bits_stored\x18\x01 \x01(\rR\x0f\x65xtraBitsStored\x12\x14\n\x05\x65lems\x18\x02 \x01(\x0cR\x05\x65lems:\x04\x98\xa0\x1f\x00\x42+Z)github.com/cosmos/cosmos-sdk/crypto/typesb\x06proto3') 18 | 19 | _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) 20 | _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.crypto.multisig.v1beta1.multisig_pb2', globals()) 21 | if _descriptor._USE_C_DESCRIPTORS == False: 22 | 23 | DESCRIPTOR._options = None 24 | DESCRIPTOR._serialized_options = b'Z)github.com/cosmos/cosmos-sdk/crypto/types' 25 | _MULTISIGNATURE._options = None 26 | _MULTISIGNATURE._serialized_options = b'\320\241\037\001' 27 | _COMPACTBITARRAY._options = None 28 | _COMPACTBITARRAY._serialized_options = b'\230\240\037\000' 29 | _MULTISIGNATURE._serialized_start=103 30 | _MULTISIGNATURE._serialized_end=157 31 | _COMPACTBITARRAY._serialized_start=159 32 | _COMPACTBITARRAY._serialized_end=248 33 | # @@protoc_insertion_point(module_scope) 34 | -------------------------------------------------------------------------------- /nibiru_proto/cosmos/crypto/multisig/v1beta1/multisig_pb2_grpc.py: -------------------------------------------------------------------------------- 1 | # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! 2 | """Client and server classes corresponding to protobuf-defined services.""" 3 | import grpc 4 | 5 | -------------------------------------------------------------------------------- /nibiru_proto/cosmos/crypto/secp256k1/keys_pb2.pyi: -------------------------------------------------------------------------------- 1 | """ 2 | @generated by mypy-protobuf. Do not edit manually! 3 | isort:skip_file 4 | """ 5 | import builtins 6 | import google.protobuf.descriptor 7 | import google.protobuf.message 8 | import sys 9 | 10 | if sys.version_info >= (3, 8): 11 | import typing as typing_extensions 12 | else: 13 | import typing_extensions 14 | 15 | DESCRIPTOR: google.protobuf.descriptor.FileDescriptor 16 | 17 | @typing_extensions.final 18 | class PubKey(google.protobuf.message.Message): 19 | """PubKey defines a secp256k1 public key 20 | Key is the compressed form of the pubkey. The first byte depends is a 0x02 byte 21 | if the y-coordinate is the lexicographically largest of the two associated with 22 | the x-coordinate. Otherwise the first byte is a 0x03. 23 | This prefix is followed with the x-coordinate. 24 | """ 25 | 26 | DESCRIPTOR: google.protobuf.descriptor.Descriptor 27 | 28 | KEY_FIELD_NUMBER: builtins.int 29 | key: builtins.bytes 30 | def __init__( 31 | self, 32 | *, 33 | key: builtins.bytes = ..., 34 | ) -> None: ... 35 | def ClearField(self, field_name: typing_extensions.Literal["key", b"key"]) -> None: ... 36 | 37 | global___PubKey = PubKey 38 | 39 | @typing_extensions.final 40 | class PrivKey(google.protobuf.message.Message): 41 | """PrivKey defines a secp256k1 private key.""" 42 | 43 | DESCRIPTOR: google.protobuf.descriptor.Descriptor 44 | 45 | KEY_FIELD_NUMBER: builtins.int 46 | key: builtins.bytes 47 | def __init__( 48 | self, 49 | *, 50 | key: builtins.bytes = ..., 51 | ) -> None: ... 52 | def ClearField(self, field_name: typing_extensions.Literal["key", b"key"]) -> None: ... 53 | 54 | global___PrivKey = PrivKey 55 | -------------------------------------------------------------------------------- /nibiru_proto/cosmos/crypto/secp256k1/keys_pb2_grpc.py: -------------------------------------------------------------------------------- 1 | # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! 2 | """Client and server classes corresponding to protobuf-defined services.""" 3 | import grpc 4 | 5 | -------------------------------------------------------------------------------- /nibiru_proto/cosmos/crypto/secp256r1/keys_pb2.pyi: -------------------------------------------------------------------------------- 1 | """ 2 | @generated by mypy-protobuf. Do not edit manually! 3 | isort:skip_file 4 | Since: cosmos-sdk 0.43""" 5 | import builtins 6 | import google.protobuf.descriptor 7 | import google.protobuf.message 8 | import sys 9 | 10 | if sys.version_info >= (3, 8): 11 | import typing as typing_extensions 12 | else: 13 | import typing_extensions 14 | 15 | DESCRIPTOR: google.protobuf.descriptor.FileDescriptor 16 | 17 | @typing_extensions.final 18 | class PubKey(google.protobuf.message.Message): 19 | """PubKey defines a secp256r1 ECDSA public key.""" 20 | 21 | DESCRIPTOR: google.protobuf.descriptor.Descriptor 22 | 23 | KEY_FIELD_NUMBER: builtins.int 24 | key: builtins.bytes 25 | """Point on secp256r1 curve in a compressed representation as specified in section 26 | 4.3.6 of ANSI X9.62: https://webstore.ansi.org/standards/ascx9/ansix9621998 27 | """ 28 | def __init__( 29 | self, 30 | *, 31 | key: builtins.bytes = ..., 32 | ) -> None: ... 33 | def ClearField(self, field_name: typing_extensions.Literal["key", b"key"]) -> None: ... 34 | 35 | global___PubKey = PubKey 36 | 37 | @typing_extensions.final 38 | class PrivKey(google.protobuf.message.Message): 39 | """PrivKey defines a secp256r1 ECDSA private key.""" 40 | 41 | DESCRIPTOR: google.protobuf.descriptor.Descriptor 42 | 43 | SECRET_FIELD_NUMBER: builtins.int 44 | secret: builtins.bytes 45 | """secret number serialized using big-endian encoding""" 46 | def __init__( 47 | self, 48 | *, 49 | secret: builtins.bytes = ..., 50 | ) -> None: ... 51 | def ClearField(self, field_name: typing_extensions.Literal["secret", b"secret"]) -> None: ... 52 | 53 | global___PrivKey = PrivKey 54 | -------------------------------------------------------------------------------- /nibiru_proto/cosmos/crypto/secp256r1/keys_pb2_grpc.py: -------------------------------------------------------------------------------- 1 | # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! 2 | """Client and server classes corresponding to protobuf-defined services.""" 3 | import grpc 4 | 5 | -------------------------------------------------------------------------------- /nibiru_proto/cosmos/distribution/module/v1/module_pb2.py: -------------------------------------------------------------------------------- 1 | # -*- coding: utf-8 -*- 2 | # Generated by the protocol buffer compiler. DO NOT EDIT! 3 | # source: cosmos/distribution/module/v1/module.proto 4 | """Generated protocol buffer code.""" 5 | from google.protobuf.internal import builder as _builder 6 | from google.protobuf import descriptor as _descriptor 7 | from google.protobuf import descriptor_pool as _descriptor_pool 8 | from google.protobuf import symbol_database as _symbol_database 9 | # @@protoc_insertion_point(imports) 10 | 11 | _sym_db = _symbol_database.Default() 12 | 13 | 14 | from cosmos.app.v1alpha1 import module_pb2 as cosmos_dot_app_dot_v1alpha1_dot_module__pb2 15 | 16 | 17 | DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n*cosmos/distribution/module/v1/module.proto\x12\x1d\x63osmos.distribution.module.v1\x1a cosmos/app/v1alpha1/module.proto\"\x89\x01\n\x06Module\x12,\n\x12\x66\x65\x65_collector_name\x18\x01 \x01(\tR\x10\x66\x65\x65\x43ollectorName\x12\x1c\n\tauthority\x18\x02 \x01(\tR\tauthority:3\xba\xc0\x96\xda\x01-\n+github.com/cosmos/cosmos-sdk/x/distributionb\x06proto3') 18 | 19 | _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) 20 | _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.distribution.module.v1.module_pb2', globals()) 21 | if _descriptor._USE_C_DESCRIPTORS == False: 22 | 23 | DESCRIPTOR._options = None 24 | _MODULE._options = None 25 | _MODULE._serialized_options = b'\272\300\226\332\001-\n+github.com/cosmos/cosmos-sdk/x/distribution' 26 | _MODULE._serialized_start=112 27 | _MODULE._serialized_end=249 28 | # @@protoc_insertion_point(module_scope) 29 | -------------------------------------------------------------------------------- /nibiru_proto/cosmos/distribution/module/v1/module_pb2.pyi: -------------------------------------------------------------------------------- 1 | """ 2 | @generated by mypy-protobuf. Do not edit manually! 3 | isort:skip_file 4 | """ 5 | import builtins 6 | import google.protobuf.descriptor 7 | import google.protobuf.message 8 | import sys 9 | 10 | if sys.version_info >= (3, 8): 11 | import typing as typing_extensions 12 | else: 13 | import typing_extensions 14 | 15 | DESCRIPTOR: google.protobuf.descriptor.FileDescriptor 16 | 17 | @typing_extensions.final 18 | class Module(google.protobuf.message.Message): 19 | """Module is the config object of the distribution module.""" 20 | 21 | DESCRIPTOR: google.protobuf.descriptor.Descriptor 22 | 23 | FEE_COLLECTOR_NAME_FIELD_NUMBER: builtins.int 24 | AUTHORITY_FIELD_NUMBER: builtins.int 25 | fee_collector_name: builtins.str 26 | authority: builtins.str 27 | """authority defines the custom module authority. If not set, defaults to the governance module.""" 28 | def __init__( 29 | self, 30 | *, 31 | fee_collector_name: builtins.str = ..., 32 | authority: builtins.str = ..., 33 | ) -> None: ... 34 | def ClearField(self, field_name: typing_extensions.Literal["authority", b"authority", "fee_collector_name", b"fee_collector_name"]) -> None: ... 35 | 36 | global___Module = Module 37 | -------------------------------------------------------------------------------- /nibiru_proto/cosmos/distribution/module/v1/module_pb2_grpc.py: -------------------------------------------------------------------------------- 1 | # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! 2 | """Client and server classes corresponding to protobuf-defined services.""" 3 | import grpc 4 | 5 | -------------------------------------------------------------------------------- /nibiru_proto/cosmos/distribution/v1beta1/distribution_pb2_grpc.py: -------------------------------------------------------------------------------- 1 | # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! 2 | """Client and server classes corresponding to protobuf-defined services.""" 3 | import grpc 4 | 5 | -------------------------------------------------------------------------------- /nibiru_proto/cosmos/distribution/v1beta1/genesis_pb2_grpc.py: -------------------------------------------------------------------------------- 1 | # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! 2 | """Client and server classes corresponding to protobuf-defined services.""" 3 | import grpc 4 | 5 | -------------------------------------------------------------------------------- /nibiru_proto/cosmos/evidence/module/v1/module_pb2.py: -------------------------------------------------------------------------------- 1 | # -*- coding: utf-8 -*- 2 | # Generated by the protocol buffer compiler. DO NOT EDIT! 3 | # source: cosmos/evidence/module/v1/module.proto 4 | """Generated protocol buffer code.""" 5 | from google.protobuf.internal import builder as _builder 6 | from google.protobuf import descriptor as _descriptor 7 | from google.protobuf import descriptor_pool as _descriptor_pool 8 | from google.protobuf import symbol_database as _symbol_database 9 | # @@protoc_insertion_point(imports) 10 | 11 | _sym_db = _symbol_database.Default() 12 | 13 | 14 | from cosmos.app.v1alpha1 import module_pb2 as cosmos_dot_app_dot_v1alpha1_dot_module__pb2 15 | 16 | 17 | DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n&cosmos/evidence/module/v1/module.proto\x12\x19\x63osmos.evidence.module.v1\x1a cosmos/app/v1alpha1/module.proto\"9\n\x06Module:/\xba\xc0\x96\xda\x01)\n\'github.com/cosmos/cosmos-sdk/x/evidenceb\x06proto3') 18 | 19 | _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) 20 | _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.evidence.module.v1.module_pb2', globals()) 21 | if _descriptor._USE_C_DESCRIPTORS == False: 22 | 23 | DESCRIPTOR._options = None 24 | _MODULE._options = None 25 | _MODULE._serialized_options = b'\272\300\226\332\001)\n\'github.com/cosmos/cosmos-sdk/x/evidence' 26 | _MODULE._serialized_start=103 27 | _MODULE._serialized_end=160 28 | # @@protoc_insertion_point(module_scope) 29 | -------------------------------------------------------------------------------- /nibiru_proto/cosmos/evidence/module/v1/module_pb2.pyi: -------------------------------------------------------------------------------- 1 | """ 2 | @generated by mypy-protobuf. Do not edit manually! 3 | isort:skip_file 4 | """ 5 | import google.protobuf.descriptor 6 | import google.protobuf.message 7 | import sys 8 | 9 | if sys.version_info >= (3, 8): 10 | import typing as typing_extensions 11 | else: 12 | import typing_extensions 13 | 14 | DESCRIPTOR: google.protobuf.descriptor.FileDescriptor 15 | 16 | @typing_extensions.final 17 | class Module(google.protobuf.message.Message): 18 | """Module is the config object of the evidence module.""" 19 | 20 | DESCRIPTOR: google.protobuf.descriptor.Descriptor 21 | 22 | def __init__( 23 | self, 24 | ) -> None: ... 25 | 26 | global___Module = Module 27 | -------------------------------------------------------------------------------- /nibiru_proto/cosmos/evidence/module/v1/module_pb2_grpc.py: -------------------------------------------------------------------------------- 1 | # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! 2 | """Client and server classes corresponding to protobuf-defined services.""" 3 | import grpc 4 | 5 | -------------------------------------------------------------------------------- /nibiru_proto/cosmos/evidence/v1beta1/evidence_pb2.pyi: -------------------------------------------------------------------------------- 1 | """ 2 | @generated by mypy-protobuf. Do not edit manually! 3 | isort:skip_file 4 | """ 5 | import builtins 6 | import google.protobuf.descriptor 7 | import google.protobuf.message 8 | import google.protobuf.timestamp_pb2 9 | import sys 10 | 11 | if sys.version_info >= (3, 8): 12 | import typing as typing_extensions 13 | else: 14 | import typing_extensions 15 | 16 | DESCRIPTOR: google.protobuf.descriptor.FileDescriptor 17 | 18 | @typing_extensions.final 19 | class Equivocation(google.protobuf.message.Message): 20 | """Equivocation implements the Evidence interface and defines evidence of double 21 | signing misbehavior. 22 | """ 23 | 24 | DESCRIPTOR: google.protobuf.descriptor.Descriptor 25 | 26 | HEIGHT_FIELD_NUMBER: builtins.int 27 | TIME_FIELD_NUMBER: builtins.int 28 | POWER_FIELD_NUMBER: builtins.int 29 | CONSENSUS_ADDRESS_FIELD_NUMBER: builtins.int 30 | height: builtins.int 31 | """height is the equivocation height.""" 32 | @property 33 | def time(self) -> google.protobuf.timestamp_pb2.Timestamp: 34 | """time is the equivocation time.""" 35 | power: builtins.int 36 | """power is the equivocation validator power.""" 37 | consensus_address: builtins.str 38 | """consensus_address is the equivocation validator consensus address.""" 39 | def __init__( 40 | self, 41 | *, 42 | height: builtins.int = ..., 43 | time: google.protobuf.timestamp_pb2.Timestamp | None = ..., 44 | power: builtins.int = ..., 45 | consensus_address: builtins.str = ..., 46 | ) -> None: ... 47 | def HasField(self, field_name: typing_extensions.Literal["time", b"time"]) -> builtins.bool: ... 48 | def ClearField(self, field_name: typing_extensions.Literal["consensus_address", b"consensus_address", "height", b"height", "power", b"power", "time", b"time"]) -> None: ... 49 | 50 | global___Equivocation = Equivocation 51 | -------------------------------------------------------------------------------- /nibiru_proto/cosmos/evidence/v1beta1/evidence_pb2_grpc.py: -------------------------------------------------------------------------------- 1 | # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! 2 | """Client and server classes corresponding to protobuf-defined services.""" 3 | import grpc 4 | 5 | -------------------------------------------------------------------------------- /nibiru_proto/cosmos/evidence/v1beta1/genesis_pb2.py: -------------------------------------------------------------------------------- 1 | # -*- coding: utf-8 -*- 2 | # Generated by the protocol buffer compiler. DO NOT EDIT! 3 | # source: cosmos/evidence/v1beta1/genesis.proto 4 | """Generated protocol buffer code.""" 5 | from google.protobuf.internal import builder as _builder 6 | from google.protobuf import descriptor as _descriptor 7 | from google.protobuf import descriptor_pool as _descriptor_pool 8 | from google.protobuf import symbol_database as _symbol_database 9 | # @@protoc_insertion_point(imports) 10 | 11 | _sym_db = _symbol_database.Default() 12 | 13 | 14 | from google.protobuf import any_pb2 as google_dot_protobuf_dot_any__pb2 15 | 16 | 17 | DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n%cosmos/evidence/v1beta1/genesis.proto\x12\x17\x63osmos.evidence.v1beta1\x1a\x19google/protobuf/any.proto\"@\n\x0cGenesisState\x12\x30\n\x08\x65vidence\x18\x01 \x03(\x0b\x32\x14.google.protobuf.AnyR\x08\x65videnceB/Z-github.com/cosmos/cosmos-sdk/x/evidence/typesb\x06proto3') 18 | 19 | _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) 20 | _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.evidence.v1beta1.genesis_pb2', globals()) 21 | if _descriptor._USE_C_DESCRIPTORS == False: 22 | 23 | DESCRIPTOR._options = None 24 | DESCRIPTOR._serialized_options = b'Z-github.com/cosmos/cosmos-sdk/x/evidence/types' 25 | _GENESISSTATE._serialized_start=93 26 | _GENESISSTATE._serialized_end=157 27 | # @@protoc_insertion_point(module_scope) 28 | -------------------------------------------------------------------------------- /nibiru_proto/cosmos/evidence/v1beta1/genesis_pb2.pyi: -------------------------------------------------------------------------------- 1 | """ 2 | @generated by mypy-protobuf. Do not edit manually! 3 | isort:skip_file 4 | """ 5 | import builtins 6 | import collections.abc 7 | import google.protobuf.any_pb2 8 | import google.protobuf.descriptor 9 | import google.protobuf.internal.containers 10 | import google.protobuf.message 11 | import sys 12 | 13 | if sys.version_info >= (3, 8): 14 | import typing as typing_extensions 15 | else: 16 | import typing_extensions 17 | 18 | DESCRIPTOR: google.protobuf.descriptor.FileDescriptor 19 | 20 | @typing_extensions.final 21 | class GenesisState(google.protobuf.message.Message): 22 | """GenesisState defines the evidence module's genesis state.""" 23 | 24 | DESCRIPTOR: google.protobuf.descriptor.Descriptor 25 | 26 | EVIDENCE_FIELD_NUMBER: builtins.int 27 | @property 28 | def evidence(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[google.protobuf.any_pb2.Any]: 29 | """evidence defines all the evidence at genesis.""" 30 | def __init__( 31 | self, 32 | *, 33 | evidence: collections.abc.Iterable[google.protobuf.any_pb2.Any] | None = ..., 34 | ) -> None: ... 35 | def ClearField(self, field_name: typing_extensions.Literal["evidence", b"evidence"]) -> None: ... 36 | 37 | global___GenesisState = GenesisState 38 | -------------------------------------------------------------------------------- /nibiru_proto/cosmos/evidence/v1beta1/genesis_pb2_grpc.py: -------------------------------------------------------------------------------- 1 | # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! 2 | """Client and server classes corresponding to protobuf-defined services.""" 3 | import grpc 4 | 5 | -------------------------------------------------------------------------------- /nibiru_proto/cosmos/feegrant/module/v1/module_pb2.py: -------------------------------------------------------------------------------- 1 | # -*- coding: utf-8 -*- 2 | # Generated by the protocol buffer compiler. DO NOT EDIT! 3 | # source: cosmos/feegrant/module/v1/module.proto 4 | """Generated protocol buffer code.""" 5 | from google.protobuf.internal import builder as _builder 6 | from google.protobuf import descriptor as _descriptor 7 | from google.protobuf import descriptor_pool as _descriptor_pool 8 | from google.protobuf import symbol_database as _symbol_database 9 | # @@protoc_insertion_point(imports) 10 | 11 | _sym_db = _symbol_database.Default() 12 | 13 | 14 | from cosmos.app.v1alpha1 import module_pb2 as cosmos_dot_app_dot_v1alpha1_dot_module__pb2 15 | 16 | 17 | DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n&cosmos/feegrant/module/v1/module.proto\x12\x19\x63osmos.feegrant.module.v1\x1a cosmos/app/v1alpha1/module.proto\"9\n\x06Module:/\xba\xc0\x96\xda\x01)\n\'github.com/cosmos/cosmos-sdk/x/feegrantb\x06proto3') 18 | 19 | _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) 20 | _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.feegrant.module.v1.module_pb2', globals()) 21 | if _descriptor._USE_C_DESCRIPTORS == False: 22 | 23 | DESCRIPTOR._options = None 24 | _MODULE._options = None 25 | _MODULE._serialized_options = b'\272\300\226\332\001)\n\'github.com/cosmos/cosmos-sdk/x/feegrant' 26 | _MODULE._serialized_start=103 27 | _MODULE._serialized_end=160 28 | # @@protoc_insertion_point(module_scope) 29 | -------------------------------------------------------------------------------- /nibiru_proto/cosmos/feegrant/module/v1/module_pb2.pyi: -------------------------------------------------------------------------------- 1 | """ 2 | @generated by mypy-protobuf. Do not edit manually! 3 | isort:skip_file 4 | """ 5 | import google.protobuf.descriptor 6 | import google.protobuf.message 7 | import sys 8 | 9 | if sys.version_info >= (3, 8): 10 | import typing as typing_extensions 11 | else: 12 | import typing_extensions 13 | 14 | DESCRIPTOR: google.protobuf.descriptor.FileDescriptor 15 | 16 | @typing_extensions.final 17 | class Module(google.protobuf.message.Message): 18 | """Module is the config object of the feegrant module.""" 19 | 20 | DESCRIPTOR: google.protobuf.descriptor.Descriptor 21 | 22 | def __init__( 23 | self, 24 | ) -> None: ... 25 | 26 | global___Module = Module 27 | -------------------------------------------------------------------------------- /nibiru_proto/cosmos/feegrant/module/v1/module_pb2_grpc.py: -------------------------------------------------------------------------------- 1 | # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! 2 | """Client and server classes corresponding to protobuf-defined services.""" 3 | import grpc 4 | 5 | -------------------------------------------------------------------------------- /nibiru_proto/cosmos/feegrant/v1beta1/feegrant_pb2_grpc.py: -------------------------------------------------------------------------------- 1 | # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! 2 | """Client and server classes corresponding to protobuf-defined services.""" 3 | import grpc 4 | 5 | -------------------------------------------------------------------------------- /nibiru_proto/cosmos/feegrant/v1beta1/genesis_pb2.py: -------------------------------------------------------------------------------- 1 | # -*- coding: utf-8 -*- 2 | # Generated by the protocol buffer compiler. DO NOT EDIT! 3 | # source: cosmos/feegrant/v1beta1/genesis.proto 4 | """Generated protocol buffer code.""" 5 | from google.protobuf.internal import builder as _builder 6 | from google.protobuf import descriptor as _descriptor 7 | from google.protobuf import descriptor_pool as _descriptor_pool 8 | from google.protobuf import symbol_database as _symbol_database 9 | # @@protoc_insertion_point(imports) 10 | 11 | _sym_db = _symbol_database.Default() 12 | 13 | 14 | from gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 15 | from cosmos.feegrant.v1beta1 import feegrant_pb2 as cosmos_dot_feegrant_dot_v1beta1_dot_feegrant__pb2 16 | from amino import amino_pb2 as amino_dot_amino__pb2 17 | 18 | 19 | DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n%cosmos/feegrant/v1beta1/genesis.proto\x12\x17\x63osmos.feegrant.v1beta1\x1a\x14gogoproto/gogo.proto\x1a&cosmos/feegrant/v1beta1/feegrant.proto\x1a\x11\x61mino/amino.proto\"Y\n\x0cGenesisState\x12I\n\nallowances\x18\x01 \x03(\x0b\x32\x1e.cosmos.feegrant.v1beta1.GrantB\t\xc8\xde\x1f\x00\xa8\xe7\xb0*\x01R\nallowancesB)Z\'github.com/cosmos/cosmos-sdk/x/feegrantb\x06proto3') 20 | 21 | _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) 22 | _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.feegrant.v1beta1.genesis_pb2', globals()) 23 | if _descriptor._USE_C_DESCRIPTORS == False: 24 | 25 | DESCRIPTOR._options = None 26 | DESCRIPTOR._serialized_options = b'Z\'github.com/cosmos/cosmos-sdk/x/feegrant' 27 | _GENESISSTATE.fields_by_name['allowances']._options = None 28 | _GENESISSTATE.fields_by_name['allowances']._serialized_options = b'\310\336\037\000\250\347\260*\001' 29 | _GENESISSTATE._serialized_start=147 30 | _GENESISSTATE._serialized_end=236 31 | # @@protoc_insertion_point(module_scope) 32 | -------------------------------------------------------------------------------- /nibiru_proto/cosmos/feegrant/v1beta1/genesis_pb2.pyi: -------------------------------------------------------------------------------- 1 | """ 2 | @generated by mypy-protobuf. Do not edit manually! 3 | isort:skip_file 4 | Since: cosmos-sdk 0.43""" 5 | import builtins 6 | import collections.abc 7 | import cosmos.feegrant.v1beta1.feegrant_pb2 8 | import google.protobuf.descriptor 9 | import google.protobuf.internal.containers 10 | import google.protobuf.message 11 | import sys 12 | 13 | if sys.version_info >= (3, 8): 14 | import typing as typing_extensions 15 | else: 16 | import typing_extensions 17 | 18 | DESCRIPTOR: google.protobuf.descriptor.FileDescriptor 19 | 20 | @typing_extensions.final 21 | class GenesisState(google.protobuf.message.Message): 22 | """GenesisState contains a set of fee allowances, persisted from the store""" 23 | 24 | DESCRIPTOR: google.protobuf.descriptor.Descriptor 25 | 26 | ALLOWANCES_FIELD_NUMBER: builtins.int 27 | @property 28 | def allowances(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[cosmos.feegrant.v1beta1.feegrant_pb2.Grant]: ... 29 | def __init__( 30 | self, 31 | *, 32 | allowances: collections.abc.Iterable[cosmos.feegrant.v1beta1.feegrant_pb2.Grant] | None = ..., 33 | ) -> None: ... 34 | def ClearField(self, field_name: typing_extensions.Literal["allowances", b"allowances"]) -> None: ... 35 | 36 | global___GenesisState = GenesisState 37 | -------------------------------------------------------------------------------- /nibiru_proto/cosmos/feegrant/v1beta1/genesis_pb2_grpc.py: -------------------------------------------------------------------------------- 1 | # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! 2 | """Client and server classes corresponding to protobuf-defined services.""" 3 | import grpc 4 | 5 | -------------------------------------------------------------------------------- /nibiru_proto/cosmos/genutil/module/v1/module_pb2.py: -------------------------------------------------------------------------------- 1 | # -*- coding: utf-8 -*- 2 | # Generated by the protocol buffer compiler. DO NOT EDIT! 3 | # source: cosmos/genutil/module/v1/module.proto 4 | """Generated protocol buffer code.""" 5 | from google.protobuf.internal import builder as _builder 6 | from google.protobuf import descriptor as _descriptor 7 | from google.protobuf import descriptor_pool as _descriptor_pool 8 | from google.protobuf import symbol_database as _symbol_database 9 | # @@protoc_insertion_point(imports) 10 | 11 | _sym_db = _symbol_database.Default() 12 | 13 | 14 | from cosmos.app.v1alpha1 import module_pb2 as cosmos_dot_app_dot_v1alpha1_dot_module__pb2 15 | 16 | 17 | DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n%cosmos/genutil/module/v1/module.proto\x12\x18\x63osmos.genutil.module.v1\x1a cosmos/app/v1alpha1/module.proto\"8\n\x06Module:.\xba\xc0\x96\xda\x01(\n&github.com/cosmos/cosmos-sdk/x/genutilb\x06proto3') 18 | 19 | _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) 20 | _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.genutil.module.v1.module_pb2', globals()) 21 | if _descriptor._USE_C_DESCRIPTORS == False: 22 | 23 | DESCRIPTOR._options = None 24 | _MODULE._options = None 25 | _MODULE._serialized_options = b'\272\300\226\332\001(\n&github.com/cosmos/cosmos-sdk/x/genutil' 26 | _MODULE._serialized_start=101 27 | _MODULE._serialized_end=157 28 | # @@protoc_insertion_point(module_scope) 29 | -------------------------------------------------------------------------------- /nibiru_proto/cosmos/genutil/module/v1/module_pb2.pyi: -------------------------------------------------------------------------------- 1 | """ 2 | @generated by mypy-protobuf. Do not edit manually! 3 | isort:skip_file 4 | """ 5 | import google.protobuf.descriptor 6 | import google.protobuf.message 7 | import sys 8 | 9 | if sys.version_info >= (3, 8): 10 | import typing as typing_extensions 11 | else: 12 | import typing_extensions 13 | 14 | DESCRIPTOR: google.protobuf.descriptor.FileDescriptor 15 | 16 | @typing_extensions.final 17 | class Module(google.protobuf.message.Message): 18 | """Module is the config object for the genutil module.""" 19 | 20 | DESCRIPTOR: google.protobuf.descriptor.Descriptor 21 | 22 | def __init__( 23 | self, 24 | ) -> None: ... 25 | 26 | global___Module = Module 27 | -------------------------------------------------------------------------------- /nibiru_proto/cosmos/genutil/module/v1/module_pb2_grpc.py: -------------------------------------------------------------------------------- 1 | # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! 2 | """Client and server classes corresponding to protobuf-defined services.""" 3 | import grpc 4 | 5 | -------------------------------------------------------------------------------- /nibiru_proto/cosmos/genutil/v1beta1/genesis_pb2.py: -------------------------------------------------------------------------------- 1 | # -*- coding: utf-8 -*- 2 | # Generated by the protocol buffer compiler. DO NOT EDIT! 3 | # source: cosmos/genutil/v1beta1/genesis.proto 4 | """Generated protocol buffer code.""" 5 | from google.protobuf.internal import builder as _builder 6 | from google.protobuf import descriptor as _descriptor 7 | from google.protobuf import descriptor_pool as _descriptor_pool 8 | from google.protobuf import symbol_database as _symbol_database 9 | # @@protoc_insertion_point(imports) 10 | 11 | _sym_db = _symbol_database.Default() 12 | 13 | 14 | from gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 15 | from amino import amino_pb2 as amino_dot_amino__pb2 16 | 17 | 18 | DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n$cosmos/genutil/v1beta1/genesis.proto\x12\x16\x63osmos.genutil.v1beta1\x1a\x14gogoproto/gogo.proto\x1a\x11\x61mino/amino.proto\"_\n\x0cGenesisState\x12O\n\x07gen_txs\x18\x01 \x03(\x0c\x42\x36\xea\xde\x1f\x06gentxs\xfa\xde\x1f\x18\x65ncoding/json.RawMessage\xa2\xe7\xb0*\x06gentxs\xa8\xe7\xb0*\x01R\x06genTxsB.Z,github.com/cosmos/cosmos-sdk/x/genutil/typesb\x06proto3') 19 | 20 | _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) 21 | _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.genutil.v1beta1.genesis_pb2', globals()) 22 | if _descriptor._USE_C_DESCRIPTORS == False: 23 | 24 | DESCRIPTOR._options = None 25 | DESCRIPTOR._serialized_options = b'Z,github.com/cosmos/cosmos-sdk/x/genutil/types' 26 | _GENESISSTATE.fields_by_name['gen_txs']._options = None 27 | _GENESISSTATE.fields_by_name['gen_txs']._serialized_options = b'\352\336\037\006gentxs\372\336\037\030encoding/json.RawMessage\242\347\260*\006gentxs\250\347\260*\001' 28 | _GENESISSTATE._serialized_start=105 29 | _GENESISSTATE._serialized_end=200 30 | # @@protoc_insertion_point(module_scope) 31 | -------------------------------------------------------------------------------- /nibiru_proto/cosmos/genutil/v1beta1/genesis_pb2.pyi: -------------------------------------------------------------------------------- 1 | """ 2 | @generated by mypy-protobuf. Do not edit manually! 3 | isort:skip_file 4 | """ 5 | import builtins 6 | import collections.abc 7 | import google.protobuf.descriptor 8 | import google.protobuf.internal.containers 9 | import google.protobuf.message 10 | import sys 11 | 12 | if sys.version_info >= (3, 8): 13 | import typing as typing_extensions 14 | else: 15 | import typing_extensions 16 | 17 | DESCRIPTOR: google.protobuf.descriptor.FileDescriptor 18 | 19 | @typing_extensions.final 20 | class GenesisState(google.protobuf.message.Message): 21 | """GenesisState defines the raw genesis transaction in JSON.""" 22 | 23 | DESCRIPTOR: google.protobuf.descriptor.Descriptor 24 | 25 | GEN_TXS_FIELD_NUMBER: builtins.int 26 | @property 27 | def gen_txs(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.bytes]: 28 | """gen_txs defines the genesis transactions.""" 29 | def __init__( 30 | self, 31 | *, 32 | gen_txs: collections.abc.Iterable[builtins.bytes] | None = ..., 33 | ) -> None: ... 34 | def ClearField(self, field_name: typing_extensions.Literal["gen_txs", b"gen_txs"]) -> None: ... 35 | 36 | global___GenesisState = GenesisState 37 | -------------------------------------------------------------------------------- /nibiru_proto/cosmos/genutil/v1beta1/genesis_pb2_grpc.py: -------------------------------------------------------------------------------- 1 | # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! 2 | """Client and server classes corresponding to protobuf-defined services.""" 3 | import grpc 4 | 5 | -------------------------------------------------------------------------------- /nibiru_proto/cosmos/gov/module/v1/module_pb2.py: -------------------------------------------------------------------------------- 1 | # -*- coding: utf-8 -*- 2 | # Generated by the protocol buffer compiler. DO NOT EDIT! 3 | # source: cosmos/gov/module/v1/module.proto 4 | """Generated protocol buffer code.""" 5 | from google.protobuf.internal import builder as _builder 6 | from google.protobuf import descriptor as _descriptor 7 | from google.protobuf import descriptor_pool as _descriptor_pool 8 | from google.protobuf import symbol_database as _symbol_database 9 | # @@protoc_insertion_point(imports) 10 | 11 | _sym_db = _symbol_database.Default() 12 | 13 | 14 | from cosmos.app.v1alpha1 import module_pb2 as cosmos_dot_app_dot_v1alpha1_dot_module__pb2 15 | 16 | 17 | DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n!cosmos/gov/module/v1/module.proto\x12\x14\x63osmos.gov.module.v1\x1a cosmos/app/v1alpha1/module.proto\"|\n\x06Module\x12(\n\x10max_metadata_len\x18\x01 \x01(\x04R\x0emaxMetadataLen\x12\x1c\n\tauthority\x18\x02 \x01(\tR\tauthority:*\xba\xc0\x96\xda\x01$\n\"github.com/cosmos/cosmos-sdk/x/govb\x06proto3') 18 | 19 | _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) 20 | _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.gov.module.v1.module_pb2', globals()) 21 | if _descriptor._USE_C_DESCRIPTORS == False: 22 | 23 | DESCRIPTOR._options = None 24 | _MODULE._options = None 25 | _MODULE._serialized_options = b'\272\300\226\332\001$\n\"github.com/cosmos/cosmos-sdk/x/gov' 26 | _MODULE._serialized_start=93 27 | _MODULE._serialized_end=217 28 | # @@protoc_insertion_point(module_scope) 29 | -------------------------------------------------------------------------------- /nibiru_proto/cosmos/gov/module/v1/module_pb2.pyi: -------------------------------------------------------------------------------- 1 | """ 2 | @generated by mypy-protobuf. Do not edit manually! 3 | isort:skip_file 4 | """ 5 | import builtins 6 | import google.protobuf.descriptor 7 | import google.protobuf.message 8 | import sys 9 | 10 | if sys.version_info >= (3, 8): 11 | import typing as typing_extensions 12 | else: 13 | import typing_extensions 14 | 15 | DESCRIPTOR: google.protobuf.descriptor.FileDescriptor 16 | 17 | @typing_extensions.final 18 | class Module(google.protobuf.message.Message): 19 | """Module is the config object of the gov module.""" 20 | 21 | DESCRIPTOR: google.protobuf.descriptor.Descriptor 22 | 23 | MAX_METADATA_LEN_FIELD_NUMBER: builtins.int 24 | AUTHORITY_FIELD_NUMBER: builtins.int 25 | max_metadata_len: builtins.int 26 | """max_metadata_len defines the maximum proposal metadata length. 27 | Defaults to 255 if not explicitly set. 28 | """ 29 | authority: builtins.str 30 | """authority defines the custom module authority. If not set, defaults to the governance module.""" 31 | def __init__( 32 | self, 33 | *, 34 | max_metadata_len: builtins.int = ..., 35 | authority: builtins.str = ..., 36 | ) -> None: ... 37 | def ClearField(self, field_name: typing_extensions.Literal["authority", b"authority", "max_metadata_len", b"max_metadata_len"]) -> None: ... 38 | 39 | global___Module = Module 40 | -------------------------------------------------------------------------------- /nibiru_proto/cosmos/gov/module/v1/module_pb2_grpc.py: -------------------------------------------------------------------------------- 1 | # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! 2 | """Client and server classes corresponding to protobuf-defined services.""" 3 | import grpc 4 | 5 | -------------------------------------------------------------------------------- /nibiru_proto/cosmos/gov/v1/genesis_pb2_grpc.py: -------------------------------------------------------------------------------- 1 | # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! 2 | """Client and server classes corresponding to protobuf-defined services.""" 3 | import grpc 4 | 5 | -------------------------------------------------------------------------------- /nibiru_proto/cosmos/gov/v1/gov_pb2_grpc.py: -------------------------------------------------------------------------------- 1 | # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! 2 | """Client and server classes corresponding to protobuf-defined services.""" 3 | import grpc 4 | 5 | -------------------------------------------------------------------------------- /nibiru_proto/cosmos/gov/v1beta1/genesis_pb2_grpc.py: -------------------------------------------------------------------------------- 1 | # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! 2 | """Client and server classes corresponding to protobuf-defined services.""" 3 | import grpc 4 | 5 | -------------------------------------------------------------------------------- /nibiru_proto/cosmos/gov/v1beta1/gov_pb2_grpc.py: -------------------------------------------------------------------------------- 1 | # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! 2 | """Client and server classes corresponding to protobuf-defined services.""" 3 | import grpc 4 | 5 | -------------------------------------------------------------------------------- /nibiru_proto/cosmos/group/module/v1/module_pb2.pyi: -------------------------------------------------------------------------------- 1 | """ 2 | @generated by mypy-protobuf. Do not edit manually! 3 | isort:skip_file 4 | """ 5 | import builtins 6 | import google.protobuf.descriptor 7 | import google.protobuf.duration_pb2 8 | import google.protobuf.message 9 | import sys 10 | 11 | if sys.version_info >= (3, 8): 12 | import typing as typing_extensions 13 | else: 14 | import typing_extensions 15 | 16 | DESCRIPTOR: google.protobuf.descriptor.FileDescriptor 17 | 18 | @typing_extensions.final 19 | class Module(google.protobuf.message.Message): 20 | """Module is the config object of the group module.""" 21 | 22 | DESCRIPTOR: google.protobuf.descriptor.Descriptor 23 | 24 | MAX_EXECUTION_PERIOD_FIELD_NUMBER: builtins.int 25 | MAX_METADATA_LEN_FIELD_NUMBER: builtins.int 26 | @property 27 | def max_execution_period(self) -> google.protobuf.duration_pb2.Duration: 28 | """max_execution_period defines the max duration after a proposal's voting period ends that members can send a MsgExec 29 | to execute the proposal. 30 | """ 31 | max_metadata_len: builtins.int 32 | """max_metadata_len defines the max length of the metadata bytes field for various entities within the group module. 33 | Defaults to 255 if not explicitly set. 34 | """ 35 | def __init__( 36 | self, 37 | *, 38 | max_execution_period: google.protobuf.duration_pb2.Duration | None = ..., 39 | max_metadata_len: builtins.int = ..., 40 | ) -> None: ... 41 | def HasField(self, field_name: typing_extensions.Literal["max_execution_period", b"max_execution_period"]) -> builtins.bool: ... 42 | def ClearField(self, field_name: typing_extensions.Literal["max_execution_period", b"max_execution_period", "max_metadata_len", b"max_metadata_len"]) -> None: ... 43 | 44 | global___Module = Module 45 | -------------------------------------------------------------------------------- /nibiru_proto/cosmos/group/module/v1/module_pb2_grpc.py: -------------------------------------------------------------------------------- 1 | # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! 2 | """Client and server classes corresponding to protobuf-defined services.""" 3 | import grpc 4 | 5 | -------------------------------------------------------------------------------- /nibiru_proto/cosmos/group/v1/events_pb2_grpc.py: -------------------------------------------------------------------------------- 1 | # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! 2 | """Client and server classes corresponding to protobuf-defined services.""" 3 | import grpc 4 | 5 | -------------------------------------------------------------------------------- /nibiru_proto/cosmos/group/v1/genesis_pb2.py: -------------------------------------------------------------------------------- 1 | # -*- coding: utf-8 -*- 2 | # Generated by the protocol buffer compiler. DO NOT EDIT! 3 | # source: cosmos/group/v1/genesis.proto 4 | """Generated protocol buffer code.""" 5 | from google.protobuf.internal import builder as _builder 6 | from google.protobuf import descriptor as _descriptor 7 | from google.protobuf import descriptor_pool as _descriptor_pool 8 | from google.protobuf import symbol_database as _symbol_database 9 | # @@protoc_insertion_point(imports) 10 | 11 | _sym_db = _symbol_database.Default() 12 | 13 | 14 | from cosmos.group.v1 import types_pb2 as cosmos_dot_group_dot_v1_dot_types__pb2 15 | 16 | 17 | DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1d\x63osmos/group/v1/genesis.proto\x12\x0f\x63osmos.group.v1\x1a\x1b\x63osmos/group/v1/types.proto\"\x9e\x03\n\x0cGenesisState\x12\x1b\n\tgroup_seq\x18\x01 \x01(\x04R\x08groupSeq\x12\x32\n\x06groups\x18\x02 \x03(\x0b\x32\x1a.cosmos.group.v1.GroupInfoR\x06groups\x12\x41\n\rgroup_members\x18\x03 \x03(\x0b\x32\x1c.cosmos.group.v1.GroupMemberR\x0cgroupMembers\x12(\n\x10group_policy_seq\x18\x04 \x01(\x04R\x0egroupPolicySeq\x12G\n\x0egroup_policies\x18\x05 \x03(\x0b\x32 .cosmos.group.v1.GroupPolicyInfoR\rgroupPolicies\x12!\n\x0cproposal_seq\x18\x06 \x01(\x04R\x0bproposalSeq\x12\x37\n\tproposals\x18\x07 \x03(\x0b\x32\x19.cosmos.group.v1.ProposalR\tproposals\x12+\n\x05votes\x18\x08 \x03(\x0b\x32\x15.cosmos.group.v1.VoteR\x05votesB&Z$github.com/cosmos/cosmos-sdk/x/groupb\x06proto3') 18 | 19 | _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) 20 | _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.group.v1.genesis_pb2', globals()) 21 | if _descriptor._USE_C_DESCRIPTORS == False: 22 | 23 | DESCRIPTOR._options = None 24 | DESCRIPTOR._serialized_options = b'Z$github.com/cosmos/cosmos-sdk/x/group' 25 | _GENESISSTATE._serialized_start=80 26 | _GENESISSTATE._serialized_end=494 27 | # @@protoc_insertion_point(module_scope) 28 | -------------------------------------------------------------------------------- /nibiru_proto/cosmos/group/v1/genesis_pb2_grpc.py: -------------------------------------------------------------------------------- 1 | # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! 2 | """Client and server classes corresponding to protobuf-defined services.""" 3 | import grpc 4 | 5 | -------------------------------------------------------------------------------- /nibiru_proto/cosmos/group/v1/types_pb2_grpc.py: -------------------------------------------------------------------------------- 1 | # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! 2 | """Client and server classes corresponding to protobuf-defined services.""" 3 | import grpc 4 | 5 | -------------------------------------------------------------------------------- /nibiru_proto/cosmos/mint/module/v1/module_pb2.py: -------------------------------------------------------------------------------- 1 | # -*- coding: utf-8 -*- 2 | # Generated by the protocol buffer compiler. DO NOT EDIT! 3 | # source: cosmos/mint/module/v1/module.proto 4 | """Generated protocol buffer code.""" 5 | from google.protobuf.internal import builder as _builder 6 | from google.protobuf import descriptor as _descriptor 7 | from google.protobuf import descriptor_pool as _descriptor_pool 8 | from google.protobuf import symbol_database as _symbol_database 9 | # @@protoc_insertion_point(imports) 10 | 11 | _sym_db = _symbol_database.Default() 12 | 13 | 14 | from cosmos.app.v1alpha1 import module_pb2 as cosmos_dot_app_dot_v1alpha1_dot_module__pb2 15 | 16 | 17 | DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\"cosmos/mint/module/v1/module.proto\x12\x15\x63osmos.mint.module.v1\x1a cosmos/app/v1alpha1/module.proto\"\x81\x01\n\x06Module\x12,\n\x12\x66\x65\x65_collector_name\x18\x01 \x01(\tR\x10\x66\x65\x65\x43ollectorName\x12\x1c\n\tauthority\x18\x02 \x01(\tR\tauthority:+\xba\xc0\x96\xda\x01%\n#github.com/cosmos/cosmos-sdk/x/mintb\x06proto3') 18 | 19 | _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) 20 | _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.mint.module.v1.module_pb2', globals()) 21 | if _descriptor._USE_C_DESCRIPTORS == False: 22 | 23 | DESCRIPTOR._options = None 24 | _MODULE._options = None 25 | _MODULE._serialized_options = b'\272\300\226\332\001%\n#github.com/cosmos/cosmos-sdk/x/mint' 26 | _MODULE._serialized_start=96 27 | _MODULE._serialized_end=225 28 | # @@protoc_insertion_point(module_scope) 29 | -------------------------------------------------------------------------------- /nibiru_proto/cosmos/mint/module/v1/module_pb2.pyi: -------------------------------------------------------------------------------- 1 | """ 2 | @generated by mypy-protobuf. Do not edit manually! 3 | isort:skip_file 4 | """ 5 | import builtins 6 | import google.protobuf.descriptor 7 | import google.protobuf.message 8 | import sys 9 | 10 | if sys.version_info >= (3, 8): 11 | import typing as typing_extensions 12 | else: 13 | import typing_extensions 14 | 15 | DESCRIPTOR: google.protobuf.descriptor.FileDescriptor 16 | 17 | @typing_extensions.final 18 | class Module(google.protobuf.message.Message): 19 | """Module is the config object of the mint module.""" 20 | 21 | DESCRIPTOR: google.protobuf.descriptor.Descriptor 22 | 23 | FEE_COLLECTOR_NAME_FIELD_NUMBER: builtins.int 24 | AUTHORITY_FIELD_NUMBER: builtins.int 25 | fee_collector_name: builtins.str 26 | authority: builtins.str 27 | """authority defines the custom module authority. If not set, defaults to the governance module.""" 28 | def __init__( 29 | self, 30 | *, 31 | fee_collector_name: builtins.str = ..., 32 | authority: builtins.str = ..., 33 | ) -> None: ... 34 | def ClearField(self, field_name: typing_extensions.Literal["authority", b"authority", "fee_collector_name", b"fee_collector_name"]) -> None: ... 35 | 36 | global___Module = Module 37 | -------------------------------------------------------------------------------- /nibiru_proto/cosmos/mint/module/v1/module_pb2_grpc.py: -------------------------------------------------------------------------------- 1 | # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! 2 | """Client and server classes corresponding to protobuf-defined services.""" 3 | import grpc 4 | 5 | -------------------------------------------------------------------------------- /nibiru_proto/cosmos/mint/v1beta1/genesis_pb2.pyi: -------------------------------------------------------------------------------- 1 | """ 2 | @generated by mypy-protobuf. Do not edit manually! 3 | isort:skip_file 4 | """ 5 | import builtins 6 | import cosmos.mint.v1beta1.mint_pb2 7 | import google.protobuf.descriptor 8 | import google.protobuf.message 9 | import sys 10 | 11 | if sys.version_info >= (3, 8): 12 | import typing as typing_extensions 13 | else: 14 | import typing_extensions 15 | 16 | DESCRIPTOR: google.protobuf.descriptor.FileDescriptor 17 | 18 | @typing_extensions.final 19 | class GenesisState(google.protobuf.message.Message): 20 | """GenesisState defines the mint module's genesis state.""" 21 | 22 | DESCRIPTOR: google.protobuf.descriptor.Descriptor 23 | 24 | MINTER_FIELD_NUMBER: builtins.int 25 | PARAMS_FIELD_NUMBER: builtins.int 26 | @property 27 | def minter(self) -> cosmos.mint.v1beta1.mint_pb2.Minter: 28 | """minter is a space for holding current inflation information.""" 29 | @property 30 | def params(self) -> cosmos.mint.v1beta1.mint_pb2.Params: 31 | """params defines all the parameters of the module.""" 32 | def __init__( 33 | self, 34 | *, 35 | minter: cosmos.mint.v1beta1.mint_pb2.Minter | None = ..., 36 | params: cosmos.mint.v1beta1.mint_pb2.Params | None = ..., 37 | ) -> None: ... 38 | def HasField(self, field_name: typing_extensions.Literal["minter", b"minter", "params", b"params"]) -> builtins.bool: ... 39 | def ClearField(self, field_name: typing_extensions.Literal["minter", b"minter", "params", b"params"]) -> None: ... 40 | 41 | global___GenesisState = GenesisState 42 | -------------------------------------------------------------------------------- /nibiru_proto/cosmos/mint/v1beta1/genesis_pb2_grpc.py: -------------------------------------------------------------------------------- 1 | # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! 2 | """Client and server classes corresponding to protobuf-defined services.""" 3 | import grpc 4 | 5 | -------------------------------------------------------------------------------- /nibiru_proto/cosmos/mint/v1beta1/mint_pb2_grpc.py: -------------------------------------------------------------------------------- 1 | # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! 2 | """Client and server classes corresponding to protobuf-defined services.""" 3 | import grpc 4 | 5 | -------------------------------------------------------------------------------- /nibiru_proto/cosmos/msg/v1/msg_pb2.py: -------------------------------------------------------------------------------- 1 | # -*- coding: utf-8 -*- 2 | # Generated by the protocol buffer compiler. DO NOT EDIT! 3 | # source: cosmos/msg/v1/msg.proto 4 | """Generated protocol buffer code.""" 5 | from google.protobuf.internal import builder as _builder 6 | from google.protobuf import descriptor as _descriptor 7 | from google.protobuf import descriptor_pool as _descriptor_pool 8 | from google.protobuf import symbol_database as _symbol_database 9 | # @@protoc_insertion_point(imports) 10 | 11 | _sym_db = _symbol_database.Default() 12 | 13 | 14 | from google.protobuf import descriptor_pb2 as google_dot_protobuf_dot_descriptor__pb2 15 | 16 | 17 | DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x17\x63osmos/msg/v1/msg.proto\x12\rcosmos.msg.v1\x1a google/protobuf/descriptor.proto:<\n\x07service\x12\x1f.google.protobuf.ServiceOptions\x18\xf0\x8c\xa6\x05 \x01(\x08R\x07service::\n\x06signer\x12\x1f.google.protobuf.MessageOptions\x18\xf0\x8c\xa6\x05 \x03(\tR\x06signerB/Z-github.com/cosmos/cosmos-sdk/types/msgserviceb\x06proto3') 18 | 19 | _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) 20 | _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.msg.v1.msg_pb2', globals()) 21 | if _descriptor._USE_C_DESCRIPTORS == False: 22 | google_dot_protobuf_dot_descriptor__pb2.ServiceOptions.RegisterExtension(service) 23 | google_dot_protobuf_dot_descriptor__pb2.MessageOptions.RegisterExtension(signer) 24 | 25 | DESCRIPTOR._options = None 26 | DESCRIPTOR._serialized_options = b'Z-github.com/cosmos/cosmos-sdk/types/msgservice' 27 | # @@protoc_insertion_point(module_scope) 28 | -------------------------------------------------------------------------------- /nibiru_proto/cosmos/msg/v1/msg_pb2.pyi: -------------------------------------------------------------------------------- 1 | """ 2 | @generated by mypy-protobuf. Do not edit manually! 3 | isort:skip_file 4 | """ 5 | import builtins 6 | import google.protobuf.descriptor 7 | import google.protobuf.descriptor_pb2 8 | import google.protobuf.internal.containers 9 | import google.protobuf.internal.extension_dict 10 | 11 | DESCRIPTOR: google.protobuf.descriptor.FileDescriptor 12 | 13 | SERVICE_FIELD_NUMBER: builtins.int 14 | SIGNER_FIELD_NUMBER: builtins.int 15 | service: google.protobuf.internal.extension_dict._ExtensionFieldDescriptor[google.protobuf.descriptor_pb2.ServiceOptions, builtins.bool] 16 | """service indicates that the service is a Msg service and that requests 17 | must be transported via blockchain transactions rather than gRPC. 18 | Tooling can use this annotation to distinguish between Msg services and 19 | other types of services via reflection. 20 | """ 21 | signer: google.protobuf.internal.extension_dict._ExtensionFieldDescriptor[google.protobuf.descriptor_pb2.MessageOptions, google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]] 22 | """signer must be used in cosmos messages in order 23 | to signal to external clients which fields in a 24 | given cosmos message must be filled with signer 25 | information (address). 26 | The field must be the protobuf name of the message 27 | field extended with this MessageOption. 28 | The field must either be of string kind, or of message 29 | kind in case the signer information is contained within 30 | a message inside the cosmos message. 31 | """ 32 | -------------------------------------------------------------------------------- /nibiru_proto/cosmos/msg/v1/msg_pb2_grpc.py: -------------------------------------------------------------------------------- 1 | # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! 2 | """Client and server classes corresponding to protobuf-defined services.""" 3 | import grpc 4 | 5 | -------------------------------------------------------------------------------- /nibiru_proto/cosmos/nft/module/v1/module_pb2.py: -------------------------------------------------------------------------------- 1 | # -*- coding: utf-8 -*- 2 | # Generated by the protocol buffer compiler. DO NOT EDIT! 3 | # source: cosmos/nft/module/v1/module.proto 4 | """Generated protocol buffer code.""" 5 | from google.protobuf.internal import builder as _builder 6 | from google.protobuf import descriptor as _descriptor 7 | from google.protobuf import descriptor_pool as _descriptor_pool 8 | from google.protobuf import symbol_database as _symbol_database 9 | # @@protoc_insertion_point(imports) 10 | 11 | _sym_db = _symbol_database.Default() 12 | 13 | 14 | from cosmos.app.v1alpha1 import module_pb2 as cosmos_dot_app_dot_v1alpha1_dot_module__pb2 15 | 16 | 17 | DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n!cosmos/nft/module/v1/module.proto\x12\x14\x63osmos.nft.module.v1\x1a cosmos/app/v1alpha1/module.proto\"4\n\x06Module:*\xba\xc0\x96\xda\x01$\n\"github.com/cosmos/cosmos-sdk/x/nftb\x06proto3') 18 | 19 | _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) 20 | _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.nft.module.v1.module_pb2', globals()) 21 | if _descriptor._USE_C_DESCRIPTORS == False: 22 | 23 | DESCRIPTOR._options = None 24 | _MODULE._options = None 25 | _MODULE._serialized_options = b'\272\300\226\332\001$\n\"github.com/cosmos/cosmos-sdk/x/nft' 26 | _MODULE._serialized_start=93 27 | _MODULE._serialized_end=145 28 | # @@protoc_insertion_point(module_scope) 29 | -------------------------------------------------------------------------------- /nibiru_proto/cosmos/nft/module/v1/module_pb2.pyi: -------------------------------------------------------------------------------- 1 | """ 2 | @generated by mypy-protobuf. Do not edit manually! 3 | isort:skip_file 4 | """ 5 | import google.protobuf.descriptor 6 | import google.protobuf.message 7 | import sys 8 | 9 | if sys.version_info >= (3, 8): 10 | import typing as typing_extensions 11 | else: 12 | import typing_extensions 13 | 14 | DESCRIPTOR: google.protobuf.descriptor.FileDescriptor 15 | 16 | @typing_extensions.final 17 | class Module(google.protobuf.message.Message): 18 | """Module is the config object of the nft module.""" 19 | 20 | DESCRIPTOR: google.protobuf.descriptor.Descriptor 21 | 22 | def __init__( 23 | self, 24 | ) -> None: ... 25 | 26 | global___Module = Module 27 | -------------------------------------------------------------------------------- /nibiru_proto/cosmos/nft/module/v1/module_pb2_grpc.py: -------------------------------------------------------------------------------- 1 | # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! 2 | """Client and server classes corresponding to protobuf-defined services.""" 3 | import grpc 4 | 5 | -------------------------------------------------------------------------------- /nibiru_proto/cosmos/nft/v1beta1/event_pb2.py: -------------------------------------------------------------------------------- 1 | # -*- coding: utf-8 -*- 2 | # Generated by the protocol buffer compiler. DO NOT EDIT! 3 | # source: cosmos/nft/v1beta1/event.proto 4 | """Generated protocol buffer code.""" 5 | from google.protobuf.internal import builder as _builder 6 | from google.protobuf import descriptor as _descriptor 7 | from google.protobuf import descriptor_pool as _descriptor_pool 8 | from google.protobuf import symbol_database as _symbol_database 9 | # @@protoc_insertion_point(imports) 10 | 11 | _sym_db = _symbol_database.Default() 12 | 13 | 14 | 15 | 16 | DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1e\x63osmos/nft/v1beta1/event.proto\x12\x12\x63osmos.nft.v1beta1\"j\n\tEventSend\x12\x19\n\x08\x63lass_id\x18\x01 \x01(\tR\x07\x63lassId\x12\x0e\n\x02id\x18\x02 \x01(\tR\x02id\x12\x16\n\x06sender\x18\x03 \x01(\tR\x06sender\x12\x1a\n\x08receiver\x18\x04 \x01(\tR\x08receiver\"L\n\tEventMint\x12\x19\n\x08\x63lass_id\x18\x01 \x01(\tR\x07\x63lassId\x12\x0e\n\x02id\x18\x02 \x01(\tR\x02id\x12\x14\n\x05owner\x18\x03 \x01(\tR\x05owner\"L\n\tEventBurn\x12\x19\n\x08\x63lass_id\x18\x01 \x01(\tR\x07\x63lassId\x12\x0e\n\x02id\x18\x02 \x01(\tR\x02id\x12\x14\n\x05owner\x18\x03 \x01(\tR\x05ownerB$Z\"github.com/cosmos/cosmos-sdk/x/nftb\x06proto3') 17 | 18 | _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) 19 | _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.nft.v1beta1.event_pb2', globals()) 20 | if _descriptor._USE_C_DESCRIPTORS == False: 21 | 22 | DESCRIPTOR._options = None 23 | DESCRIPTOR._serialized_options = b'Z\"github.com/cosmos/cosmos-sdk/x/nft' 24 | _EVENTSEND._serialized_start=54 25 | _EVENTSEND._serialized_end=160 26 | _EVENTMINT._serialized_start=162 27 | _EVENTMINT._serialized_end=238 28 | _EVENTBURN._serialized_start=240 29 | _EVENTBURN._serialized_end=316 30 | # @@protoc_insertion_point(module_scope) 31 | -------------------------------------------------------------------------------- /nibiru_proto/cosmos/nft/v1beta1/event_pb2_grpc.py: -------------------------------------------------------------------------------- 1 | # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! 2 | """Client and server classes corresponding to protobuf-defined services.""" 3 | import grpc 4 | 5 | -------------------------------------------------------------------------------- /nibiru_proto/cosmos/nft/v1beta1/genesis_pb2.py: -------------------------------------------------------------------------------- 1 | # -*- coding: utf-8 -*- 2 | # Generated by the protocol buffer compiler. DO NOT EDIT! 3 | # source: cosmos/nft/v1beta1/genesis.proto 4 | """Generated protocol buffer code.""" 5 | from google.protobuf.internal import builder as _builder 6 | from google.protobuf import descriptor as _descriptor 7 | from google.protobuf import descriptor_pool as _descriptor_pool 8 | from google.protobuf import symbol_database as _symbol_database 9 | # @@protoc_insertion_point(imports) 10 | 11 | _sym_db = _symbol_database.Default() 12 | 13 | 14 | from cosmos.nft.v1beta1 import nft_pb2 as cosmos_dot_nft_dot_v1beta1_dot_nft__pb2 15 | 16 | 17 | DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n cosmos/nft/v1beta1/genesis.proto\x12\x12\x63osmos.nft.v1beta1\x1a\x1c\x63osmos/nft/v1beta1/nft.proto\"x\n\x0cGenesisState\x12\x33\n\x07\x63lasses\x18\x01 \x03(\x0b\x32\x19.cosmos.nft.v1beta1.ClassR\x07\x63lasses\x12\x33\n\x07\x65ntries\x18\x02 \x03(\x0b\x32\x19.cosmos.nft.v1beta1.EntryR\x07\x65ntries\"J\n\x05\x45ntry\x12\x14\n\x05owner\x18\x01 \x01(\tR\x05owner\x12+\n\x04nfts\x18\x02 \x03(\x0b\x32\x17.cosmos.nft.v1beta1.NFTR\x04nftsB$Z\"github.com/cosmos/cosmos-sdk/x/nftb\x06proto3') 18 | 19 | _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) 20 | _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.nft.v1beta1.genesis_pb2', globals()) 21 | if _descriptor._USE_C_DESCRIPTORS == False: 22 | 23 | DESCRIPTOR._options = None 24 | DESCRIPTOR._serialized_options = b'Z\"github.com/cosmos/cosmos-sdk/x/nft' 25 | _GENESISSTATE._serialized_start=86 26 | _GENESISSTATE._serialized_end=206 27 | _ENTRY._serialized_start=208 28 | _ENTRY._serialized_end=282 29 | # @@protoc_insertion_point(module_scope) 30 | -------------------------------------------------------------------------------- /nibiru_proto/cosmos/nft/v1beta1/genesis_pb2_grpc.py: -------------------------------------------------------------------------------- 1 | # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! 2 | """Client and server classes corresponding to protobuf-defined services.""" 3 | import grpc 4 | 5 | -------------------------------------------------------------------------------- /nibiru_proto/cosmos/nft/v1beta1/nft_pb2_grpc.py: -------------------------------------------------------------------------------- 1 | # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! 2 | """Client and server classes corresponding to protobuf-defined services.""" 3 | import grpc 4 | 5 | -------------------------------------------------------------------------------- /nibiru_proto/cosmos/orm/module/v1alpha1/module_pb2.py: -------------------------------------------------------------------------------- 1 | # -*- coding: utf-8 -*- 2 | # Generated by the protocol buffer compiler. DO NOT EDIT! 3 | # source: cosmos/orm/module/v1alpha1/module.proto 4 | """Generated protocol buffer code.""" 5 | from google.protobuf.internal import builder as _builder 6 | from google.protobuf import descriptor as _descriptor 7 | from google.protobuf import descriptor_pool as _descriptor_pool 8 | from google.protobuf import symbol_database as _symbol_database 9 | # @@protoc_insertion_point(imports) 10 | 11 | _sym_db = _symbol_database.Default() 12 | 13 | 14 | from cosmos.app.v1alpha1 import module_pb2 as cosmos_dot_app_dot_v1alpha1_dot_module__pb2 15 | 16 | 17 | DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\'cosmos/orm/module/v1alpha1/module.proto\x12\x1a\x63osmos.orm.module.v1alpha1\x1a cosmos/app/v1alpha1/module.proto\"2\n\x06Module:(\xba\xc0\x96\xda\x01\"\n github.com/cosmos/cosmos-sdk/ormb\x06proto3') 18 | 19 | _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) 20 | _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.orm.module.v1alpha1.module_pb2', globals()) 21 | if _descriptor._USE_C_DESCRIPTORS == False: 22 | 23 | DESCRIPTOR._options = None 24 | _MODULE._options = None 25 | _MODULE._serialized_options = b'\272\300\226\332\001\"\n github.com/cosmos/cosmos-sdk/orm' 26 | _MODULE._serialized_start=105 27 | _MODULE._serialized_end=155 28 | # @@protoc_insertion_point(module_scope) 29 | -------------------------------------------------------------------------------- /nibiru_proto/cosmos/orm/module/v1alpha1/module_pb2.pyi: -------------------------------------------------------------------------------- 1 | """ 2 | @generated by mypy-protobuf. Do not edit manually! 3 | isort:skip_file 4 | """ 5 | import google.protobuf.descriptor 6 | import google.protobuf.message 7 | import sys 8 | 9 | if sys.version_info >= (3, 8): 10 | import typing as typing_extensions 11 | else: 12 | import typing_extensions 13 | 14 | DESCRIPTOR: google.protobuf.descriptor.FileDescriptor 15 | 16 | @typing_extensions.final 17 | class Module(google.protobuf.message.Message): 18 | """Module defines the ORM module which adds providers to the app container for 19 | module-scoped DB's. In the future it may provide gRPC services for interacting 20 | with ORM data. 21 | """ 22 | 23 | DESCRIPTOR: google.protobuf.descriptor.Descriptor 24 | 25 | def __init__( 26 | self, 27 | ) -> None: ... 28 | 29 | global___Module = Module 30 | -------------------------------------------------------------------------------- /nibiru_proto/cosmos/orm/module/v1alpha1/module_pb2_grpc.py: -------------------------------------------------------------------------------- 1 | # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! 2 | """Client and server classes corresponding to protobuf-defined services.""" 3 | import grpc 4 | 5 | -------------------------------------------------------------------------------- /nibiru_proto/cosmos/orm/v1/orm_pb2_grpc.py: -------------------------------------------------------------------------------- 1 | # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! 2 | """Client and server classes corresponding to protobuf-defined services.""" 3 | import grpc 4 | 5 | -------------------------------------------------------------------------------- /nibiru_proto/cosmos/orm/v1alpha1/schema_pb2_grpc.py: -------------------------------------------------------------------------------- 1 | # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! 2 | """Client and server classes corresponding to protobuf-defined services.""" 3 | import grpc 4 | 5 | -------------------------------------------------------------------------------- /nibiru_proto/cosmos/params/module/v1/module_pb2.py: -------------------------------------------------------------------------------- 1 | # -*- coding: utf-8 -*- 2 | # Generated by the protocol buffer compiler. DO NOT EDIT! 3 | # source: cosmos/params/module/v1/module.proto 4 | """Generated protocol buffer code.""" 5 | from google.protobuf.internal import builder as _builder 6 | from google.protobuf import descriptor as _descriptor 7 | from google.protobuf import descriptor_pool as _descriptor_pool 8 | from google.protobuf import symbol_database as _symbol_database 9 | # @@protoc_insertion_point(imports) 10 | 11 | _sym_db = _symbol_database.Default() 12 | 13 | 14 | from cosmos.app.v1alpha1 import module_pb2 as cosmos_dot_app_dot_v1alpha1_dot_module__pb2 15 | 16 | 17 | DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n$cosmos/params/module/v1/module.proto\x12\x17\x63osmos.params.module.v1\x1a cosmos/app/v1alpha1/module.proto\"7\n\x06Module:-\xba\xc0\x96\xda\x01\'\n%github.com/cosmos/cosmos-sdk/x/paramsb\x06proto3') 18 | 19 | _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) 20 | _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.params.module.v1.module_pb2', globals()) 21 | if _descriptor._USE_C_DESCRIPTORS == False: 22 | 23 | DESCRIPTOR._options = None 24 | _MODULE._options = None 25 | _MODULE._serialized_options = b'\272\300\226\332\001\'\n%github.com/cosmos/cosmos-sdk/x/params' 26 | _MODULE._serialized_start=99 27 | _MODULE._serialized_end=154 28 | # @@protoc_insertion_point(module_scope) 29 | -------------------------------------------------------------------------------- /nibiru_proto/cosmos/params/module/v1/module_pb2.pyi: -------------------------------------------------------------------------------- 1 | """ 2 | @generated by mypy-protobuf. Do not edit manually! 3 | isort:skip_file 4 | """ 5 | import google.protobuf.descriptor 6 | import google.protobuf.message 7 | import sys 8 | 9 | if sys.version_info >= (3, 8): 10 | import typing as typing_extensions 11 | else: 12 | import typing_extensions 13 | 14 | DESCRIPTOR: google.protobuf.descriptor.FileDescriptor 15 | 16 | @typing_extensions.final 17 | class Module(google.protobuf.message.Message): 18 | """Module is the config object of the params module.""" 19 | 20 | DESCRIPTOR: google.protobuf.descriptor.Descriptor 21 | 22 | def __init__( 23 | self, 24 | ) -> None: ... 25 | 26 | global___Module = Module 27 | -------------------------------------------------------------------------------- /nibiru_proto/cosmos/params/module/v1/module_pb2_grpc.py: -------------------------------------------------------------------------------- 1 | # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! 2 | """Client and server classes corresponding to protobuf-defined services.""" 3 | import grpc 4 | 5 | -------------------------------------------------------------------------------- /nibiru_proto/cosmos/params/v1beta1/params_pb2_grpc.py: -------------------------------------------------------------------------------- 1 | # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! 2 | """Client and server classes corresponding to protobuf-defined services.""" 3 | import grpc 4 | 5 | -------------------------------------------------------------------------------- /nibiru_proto/cosmos/query/v1/query_pb2.py: -------------------------------------------------------------------------------- 1 | # -*- coding: utf-8 -*- 2 | # Generated by the protocol buffer compiler. DO NOT EDIT! 3 | # source: cosmos/query/v1/query.proto 4 | """Generated protocol buffer code.""" 5 | from google.protobuf.internal import builder as _builder 6 | from google.protobuf import descriptor as _descriptor 7 | from google.protobuf import descriptor_pool as _descriptor_pool 8 | from google.protobuf import symbol_database as _symbol_database 9 | # @@protoc_insertion_point(imports) 10 | 11 | _sym_db = _symbol_database.Default() 12 | 13 | 14 | from google.protobuf import descriptor_pb2 as google_dot_protobuf_dot_descriptor__pb2 15 | 16 | 17 | DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1b\x63osmos/query/v1/query.proto\x12\x0f\x63osmos.query.v1\x1a google/protobuf/descriptor.proto:M\n\x11module_query_safe\x12\x1e.google.protobuf.MethodOptions\x18\xf1\x8c\xa6\x05 \x01(\x08R\x0fmoduleQuerySafeB*Z(github.com/cosmos/cosmos-sdk/types/queryb\x06proto3') 18 | 19 | _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) 20 | _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.query.v1.query_pb2', globals()) 21 | if _descriptor._USE_C_DESCRIPTORS == False: 22 | google_dot_protobuf_dot_descriptor__pb2.MethodOptions.RegisterExtension(module_query_safe) 23 | 24 | DESCRIPTOR._options = None 25 | DESCRIPTOR._serialized_options = b'Z(github.com/cosmos/cosmos-sdk/types/query' 26 | # @@protoc_insertion_point(module_scope) 27 | -------------------------------------------------------------------------------- /nibiru_proto/cosmos/query/v1/query_pb2.pyi: -------------------------------------------------------------------------------- 1 | """ 2 | @generated by mypy-protobuf. Do not edit manually! 3 | isort:skip_file 4 | """ 5 | import builtins 6 | import google.protobuf.descriptor 7 | import google.protobuf.descriptor_pb2 8 | import google.protobuf.internal.extension_dict 9 | 10 | DESCRIPTOR: google.protobuf.descriptor.FileDescriptor 11 | 12 | MODULE_QUERY_SAFE_FIELD_NUMBER: builtins.int 13 | module_query_safe: google.protobuf.internal.extension_dict._ExtensionFieldDescriptor[google.protobuf.descriptor_pb2.MethodOptions, builtins.bool] 14 | """module_query_safe is set to true when the query is safe to be called from 15 | within the state machine, for example from another module's Keeper, via 16 | ADR-033 calls or from CosmWasm contracts. 17 | Concretely, it means that the query is: 18 | 1. deterministic: given a block height, returns the exact same response 19 | upon multiple calls; and doesn't introduce any state-machine-breaking 20 | changes across SDK patch version. 21 | 2. consumes gas correctly. 22 | 23 | If you are a module developer and want to add this annotation to one of 24 | your own queries, please make sure that the corresponding query: 25 | 1. is deterministic and won't introduce state-machine-breaking changes 26 | without a coordinated upgrade path, 27 | 2. has its gas tracked, to avoid the attack vector where no gas is 28 | accounted for on potentially high-computation queries. 29 | 30 | For queries that potentially consume a large amount of gas (for example 31 | those with pagination, if the pagination field is incorrectly set), we 32 | also recommend adding Protobuf comments to warn module developers 33 | consuming these queries. 34 | 35 | When set to true, the query can safely be called 36 | """ 37 | -------------------------------------------------------------------------------- /nibiru_proto/cosmos/query/v1/query_pb2_grpc.py: -------------------------------------------------------------------------------- 1 | # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! 2 | """Client and server classes corresponding to protobuf-defined services.""" 3 | import grpc 4 | 5 | -------------------------------------------------------------------------------- /nibiru_proto/cosmos/reflection/v1/reflection_pb2.pyi: -------------------------------------------------------------------------------- 1 | """ 2 | @generated by mypy-protobuf. Do not edit manually! 3 | isort:skip_file 4 | """ 5 | import builtins 6 | import collections.abc 7 | import google.protobuf.descriptor 8 | import google.protobuf.descriptor_pb2 9 | import google.protobuf.internal.containers 10 | import google.protobuf.message 11 | import sys 12 | 13 | if sys.version_info >= (3, 8): 14 | import typing as typing_extensions 15 | else: 16 | import typing_extensions 17 | 18 | DESCRIPTOR: google.protobuf.descriptor.FileDescriptor 19 | 20 | @typing_extensions.final 21 | class FileDescriptorsRequest(google.protobuf.message.Message): 22 | """FileDescriptorsRequest is the Query/FileDescriptors request type.""" 23 | 24 | DESCRIPTOR: google.protobuf.descriptor.Descriptor 25 | 26 | def __init__( 27 | self, 28 | ) -> None: ... 29 | 30 | global___FileDescriptorsRequest = FileDescriptorsRequest 31 | 32 | @typing_extensions.final 33 | class FileDescriptorsResponse(google.protobuf.message.Message): 34 | """FileDescriptorsResponse is the Query/FileDescriptors response type.""" 35 | 36 | DESCRIPTOR: google.protobuf.descriptor.Descriptor 37 | 38 | FILES_FIELD_NUMBER: builtins.int 39 | @property 40 | def files(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[google.protobuf.descriptor_pb2.FileDescriptorProto]: 41 | """files is the file descriptors.""" 42 | def __init__( 43 | self, 44 | *, 45 | files: collections.abc.Iterable[google.protobuf.descriptor_pb2.FileDescriptorProto] | None = ..., 46 | ) -> None: ... 47 | def ClearField(self, field_name: typing_extensions.Literal["files", b"files"]) -> None: ... 48 | 49 | global___FileDescriptorsResponse = FileDescriptorsResponse 50 | -------------------------------------------------------------------------------- /nibiru_proto/cosmos/slashing/module/v1/module_pb2.py: -------------------------------------------------------------------------------- 1 | # -*- coding: utf-8 -*- 2 | # Generated by the protocol buffer compiler. DO NOT EDIT! 3 | # source: cosmos/slashing/module/v1/module.proto 4 | """Generated protocol buffer code.""" 5 | from google.protobuf.internal import builder as _builder 6 | from google.protobuf import descriptor as _descriptor 7 | from google.protobuf import descriptor_pool as _descriptor_pool 8 | from google.protobuf import symbol_database as _symbol_database 9 | # @@protoc_insertion_point(imports) 10 | 11 | _sym_db = _symbol_database.Default() 12 | 13 | 14 | from cosmos.app.v1alpha1 import module_pb2 as cosmos_dot_app_dot_v1alpha1_dot_module__pb2 15 | 16 | 17 | DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n&cosmos/slashing/module/v1/module.proto\x12\x19\x63osmos.slashing.module.v1\x1a cosmos/app/v1alpha1/module.proto\"W\n\x06Module\x12\x1c\n\tauthority\x18\x01 \x01(\tR\tauthority:/\xba\xc0\x96\xda\x01)\n\'github.com/cosmos/cosmos-sdk/x/slashingb\x06proto3') 18 | 19 | _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) 20 | _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.slashing.module.v1.module_pb2', globals()) 21 | if _descriptor._USE_C_DESCRIPTORS == False: 22 | 23 | DESCRIPTOR._options = None 24 | _MODULE._options = None 25 | _MODULE._serialized_options = b'\272\300\226\332\001)\n\'github.com/cosmos/cosmos-sdk/x/slashing' 26 | _MODULE._serialized_start=103 27 | _MODULE._serialized_end=190 28 | # @@protoc_insertion_point(module_scope) 29 | -------------------------------------------------------------------------------- /nibiru_proto/cosmos/slashing/module/v1/module_pb2.pyi: -------------------------------------------------------------------------------- 1 | """ 2 | @generated by mypy-protobuf. Do not edit manually! 3 | isort:skip_file 4 | """ 5 | import builtins 6 | import google.protobuf.descriptor 7 | import google.protobuf.message 8 | import sys 9 | 10 | if sys.version_info >= (3, 8): 11 | import typing as typing_extensions 12 | else: 13 | import typing_extensions 14 | 15 | DESCRIPTOR: google.protobuf.descriptor.FileDescriptor 16 | 17 | @typing_extensions.final 18 | class Module(google.protobuf.message.Message): 19 | """Module is the config object of the slashing module.""" 20 | 21 | DESCRIPTOR: google.protobuf.descriptor.Descriptor 22 | 23 | AUTHORITY_FIELD_NUMBER: builtins.int 24 | authority: builtins.str 25 | """authority defines the custom module authority. If not set, defaults to the governance module.""" 26 | def __init__( 27 | self, 28 | *, 29 | authority: builtins.str = ..., 30 | ) -> None: ... 31 | def ClearField(self, field_name: typing_extensions.Literal["authority", b"authority"]) -> None: ... 32 | 33 | global___Module = Module 34 | -------------------------------------------------------------------------------- /nibiru_proto/cosmos/slashing/module/v1/module_pb2_grpc.py: -------------------------------------------------------------------------------- 1 | # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! 2 | """Client and server classes corresponding to protobuf-defined services.""" 3 | import grpc 4 | 5 | -------------------------------------------------------------------------------- /nibiru_proto/cosmos/slashing/v1beta1/genesis_pb2_grpc.py: -------------------------------------------------------------------------------- 1 | # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! 2 | """Client and server classes corresponding to protobuf-defined services.""" 3 | import grpc 4 | 5 | -------------------------------------------------------------------------------- /nibiru_proto/cosmos/slashing/v1beta1/slashing_pb2_grpc.py: -------------------------------------------------------------------------------- 1 | # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! 2 | """Client and server classes corresponding to protobuf-defined services.""" 3 | import grpc 4 | 5 | -------------------------------------------------------------------------------- /nibiru_proto/cosmos/staking/module/v1/module_pb2.py: -------------------------------------------------------------------------------- 1 | # -*- coding: utf-8 -*- 2 | # Generated by the protocol buffer compiler. DO NOT EDIT! 3 | # source: cosmos/staking/module/v1/module.proto 4 | """Generated protocol buffer code.""" 5 | from google.protobuf.internal import builder as _builder 6 | from google.protobuf import descriptor as _descriptor 7 | from google.protobuf import descriptor_pool as _descriptor_pool 8 | from google.protobuf import symbol_database as _symbol_database 9 | # @@protoc_insertion_point(imports) 10 | 11 | _sym_db = _symbol_database.Default() 12 | 13 | 14 | from cosmos.app.v1alpha1 import module_pb2 as cosmos_dot_app_dot_v1alpha1_dot_module__pb2 15 | 16 | 17 | DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n%cosmos/staking/module/v1/module.proto\x12\x18\x63osmos.staking.module.v1\x1a cosmos/app/v1alpha1/module.proto\"w\n\x06Module\x12\x1f\n\x0bhooks_order\x18\x01 \x03(\tR\nhooksOrder\x12\x1c\n\tauthority\x18\x02 \x01(\tR\tauthority:.\xba\xc0\x96\xda\x01(\n&github.com/cosmos/cosmos-sdk/x/stakingb\x06proto3') 18 | 19 | _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) 20 | _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.staking.module.v1.module_pb2', globals()) 21 | if _descriptor._USE_C_DESCRIPTORS == False: 22 | 23 | DESCRIPTOR._options = None 24 | _MODULE._options = None 25 | _MODULE._serialized_options = b'\272\300\226\332\001(\n&github.com/cosmos/cosmos-sdk/x/staking' 26 | _MODULE._serialized_start=101 27 | _MODULE._serialized_end=220 28 | # @@protoc_insertion_point(module_scope) 29 | -------------------------------------------------------------------------------- /nibiru_proto/cosmos/staking/module/v1/module_pb2.pyi: -------------------------------------------------------------------------------- 1 | """ 2 | @generated by mypy-protobuf. Do not edit manually! 3 | isort:skip_file 4 | """ 5 | import builtins 6 | import collections.abc 7 | import google.protobuf.descriptor 8 | import google.protobuf.internal.containers 9 | import google.protobuf.message 10 | import sys 11 | 12 | if sys.version_info >= (3, 8): 13 | import typing as typing_extensions 14 | else: 15 | import typing_extensions 16 | 17 | DESCRIPTOR: google.protobuf.descriptor.FileDescriptor 18 | 19 | @typing_extensions.final 20 | class Module(google.protobuf.message.Message): 21 | """Module is the config object of the staking module.""" 22 | 23 | DESCRIPTOR: google.protobuf.descriptor.Descriptor 24 | 25 | HOOKS_ORDER_FIELD_NUMBER: builtins.int 26 | AUTHORITY_FIELD_NUMBER: builtins.int 27 | @property 28 | def hooks_order(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]: 29 | """hooks_order specifies the order of staking hooks and should be a list 30 | of module names which provide a staking hooks instance. If no order is 31 | provided, then hooks will be applied in alphabetical order of module names. 32 | """ 33 | authority: builtins.str 34 | """authority defines the custom module authority. If not set, defaults to the governance module.""" 35 | def __init__( 36 | self, 37 | *, 38 | hooks_order: collections.abc.Iterable[builtins.str] | None = ..., 39 | authority: builtins.str = ..., 40 | ) -> None: ... 41 | def ClearField(self, field_name: typing_extensions.Literal["authority", b"authority", "hooks_order", b"hooks_order"]) -> None: ... 42 | 43 | global___Module = Module 44 | -------------------------------------------------------------------------------- /nibiru_proto/cosmos/staking/module/v1/module_pb2_grpc.py: -------------------------------------------------------------------------------- 1 | # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! 2 | """Client and server classes corresponding to protobuf-defined services.""" 3 | import grpc 4 | 5 | -------------------------------------------------------------------------------- /nibiru_proto/cosmos/staking/v1beta1/authz_pb2_grpc.py: -------------------------------------------------------------------------------- 1 | # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! 2 | """Client and server classes corresponding to protobuf-defined services.""" 3 | import grpc 4 | 5 | -------------------------------------------------------------------------------- /nibiru_proto/cosmos/staking/v1beta1/genesis_pb2_grpc.py: -------------------------------------------------------------------------------- 1 | # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! 2 | """Client and server classes corresponding to protobuf-defined services.""" 3 | import grpc 4 | 5 | -------------------------------------------------------------------------------- /nibiru_proto/cosmos/staking/v1beta1/staking_pb2_grpc.py: -------------------------------------------------------------------------------- 1 | # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! 2 | """Client and server classes corresponding to protobuf-defined services.""" 3 | import grpc 4 | 5 | -------------------------------------------------------------------------------- /nibiru_proto/cosmos/tx/config/v1/config_pb2.py: -------------------------------------------------------------------------------- 1 | # -*- coding: utf-8 -*- 2 | # Generated by the protocol buffer compiler. DO NOT EDIT! 3 | # source: cosmos/tx/config/v1/config.proto 4 | """Generated protocol buffer code.""" 5 | from google.protobuf.internal import builder as _builder 6 | from google.protobuf import descriptor as _descriptor 7 | from google.protobuf import descriptor_pool as _descriptor_pool 8 | from google.protobuf import symbol_database as _symbol_database 9 | # @@protoc_insertion_point(imports) 10 | 11 | _sym_db = _symbol_database.Default() 12 | 13 | 14 | from cosmos.app.v1alpha1 import module_pb2 as cosmos_dot_app_dot_v1alpha1_dot_module__pb2 15 | 16 | 17 | DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n cosmos/tx/config/v1/config.proto\x12\x13\x63osmos.tx.config.v1\x1a cosmos/app/v1alpha1/module.proto\"\x90\x01\n\x06\x43onfig\x12*\n\x11skip_ante_handler\x18\x01 \x01(\x08R\x0fskipAnteHandler\x12*\n\x11skip_post_handler\x18\x02 \x01(\x08R\x0fskipPostHandler:.\xba\xc0\x96\xda\x01(\n&github.com/cosmos/cosmos-sdk/x/auth/txb\x06proto3') 18 | 19 | _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) 20 | _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.tx.config.v1.config_pb2', globals()) 21 | if _descriptor._USE_C_DESCRIPTORS == False: 22 | 23 | DESCRIPTOR._options = None 24 | _CONFIG._options = None 25 | _CONFIG._serialized_options = b'\272\300\226\332\001(\n&github.com/cosmos/cosmos-sdk/x/auth/tx' 26 | _CONFIG._serialized_start=92 27 | _CONFIG._serialized_end=236 28 | # @@protoc_insertion_point(module_scope) 29 | -------------------------------------------------------------------------------- /nibiru_proto/cosmos/tx/config/v1/config_pb2.pyi: -------------------------------------------------------------------------------- 1 | """ 2 | @generated by mypy-protobuf. Do not edit manually! 3 | isort:skip_file 4 | """ 5 | import builtins 6 | import google.protobuf.descriptor 7 | import google.protobuf.message 8 | import sys 9 | 10 | if sys.version_info >= (3, 8): 11 | import typing as typing_extensions 12 | else: 13 | import typing_extensions 14 | 15 | DESCRIPTOR: google.protobuf.descriptor.FileDescriptor 16 | 17 | @typing_extensions.final 18 | class Config(google.protobuf.message.Message): 19 | """Config is the config object of the x/auth/tx package.""" 20 | 21 | DESCRIPTOR: google.protobuf.descriptor.Descriptor 22 | 23 | SKIP_ANTE_HANDLER_FIELD_NUMBER: builtins.int 24 | SKIP_POST_HANDLER_FIELD_NUMBER: builtins.int 25 | skip_ante_handler: builtins.bool 26 | """skip_ante_handler defines whether the ante handler registration should be skipped in case an app wants to override 27 | this functionality. 28 | """ 29 | skip_post_handler: builtins.bool 30 | """skip_post_handler defines whether the post handler registration should be skipped in case an app wants to override 31 | this functionality. 32 | """ 33 | def __init__( 34 | self, 35 | *, 36 | skip_ante_handler: builtins.bool = ..., 37 | skip_post_handler: builtins.bool = ..., 38 | ) -> None: ... 39 | def ClearField(self, field_name: typing_extensions.Literal["skip_ante_handler", b"skip_ante_handler", "skip_post_handler", b"skip_post_handler"]) -> None: ... 40 | 41 | global___Config = Config 42 | -------------------------------------------------------------------------------- /nibiru_proto/cosmos/tx/config/v1/config_pb2_grpc.py: -------------------------------------------------------------------------------- 1 | # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! 2 | """Client and server classes corresponding to protobuf-defined services.""" 3 | import grpc 4 | 5 | -------------------------------------------------------------------------------- /nibiru_proto/cosmos/tx/signing/v1beta1/signing_pb2_grpc.py: -------------------------------------------------------------------------------- 1 | # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! 2 | """Client and server classes corresponding to protobuf-defined services.""" 3 | import grpc 4 | 5 | -------------------------------------------------------------------------------- /nibiru_proto/cosmos/tx/v1beta1/tx_pb2_grpc.py: -------------------------------------------------------------------------------- 1 | # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! 2 | """Client and server classes corresponding to protobuf-defined services.""" 3 | import grpc 4 | 5 | -------------------------------------------------------------------------------- /nibiru_proto/cosmos/upgrade/module/v1/module_pb2.py: -------------------------------------------------------------------------------- 1 | # -*- coding: utf-8 -*- 2 | # Generated by the protocol buffer compiler. DO NOT EDIT! 3 | # source: cosmos/upgrade/module/v1/module.proto 4 | """Generated protocol buffer code.""" 5 | from google.protobuf.internal import builder as _builder 6 | from google.protobuf import descriptor as _descriptor 7 | from google.protobuf import descriptor_pool as _descriptor_pool 8 | from google.protobuf import symbol_database as _symbol_database 9 | # @@protoc_insertion_point(imports) 10 | 11 | _sym_db = _symbol_database.Default() 12 | 13 | 14 | from cosmos.app.v1alpha1 import module_pb2 as cosmos_dot_app_dot_v1alpha1_dot_module__pb2 15 | 16 | 17 | DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n%cosmos/upgrade/module/v1/module.proto\x12\x18\x63osmos.upgrade.module.v1\x1a cosmos/app/v1alpha1/module.proto\"V\n\x06Module\x12\x1c\n\tauthority\x18\x01 \x01(\tR\tauthority:.\xba\xc0\x96\xda\x01(\n&github.com/cosmos/cosmos-sdk/x/upgradeb\x06proto3') 18 | 19 | _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) 20 | _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.upgrade.module.v1.module_pb2', globals()) 21 | if _descriptor._USE_C_DESCRIPTORS == False: 22 | 23 | DESCRIPTOR._options = None 24 | _MODULE._options = None 25 | _MODULE._serialized_options = b'\272\300\226\332\001(\n&github.com/cosmos/cosmos-sdk/x/upgrade' 26 | _MODULE._serialized_start=101 27 | _MODULE._serialized_end=187 28 | # @@protoc_insertion_point(module_scope) 29 | -------------------------------------------------------------------------------- /nibiru_proto/cosmos/upgrade/module/v1/module_pb2.pyi: -------------------------------------------------------------------------------- 1 | """ 2 | @generated by mypy-protobuf. Do not edit manually! 3 | isort:skip_file 4 | """ 5 | import builtins 6 | import google.protobuf.descriptor 7 | import google.protobuf.message 8 | import sys 9 | 10 | if sys.version_info >= (3, 8): 11 | import typing as typing_extensions 12 | else: 13 | import typing_extensions 14 | 15 | DESCRIPTOR: google.protobuf.descriptor.FileDescriptor 16 | 17 | @typing_extensions.final 18 | class Module(google.protobuf.message.Message): 19 | """Module is the config object of the upgrade module.""" 20 | 21 | DESCRIPTOR: google.protobuf.descriptor.Descriptor 22 | 23 | AUTHORITY_FIELD_NUMBER: builtins.int 24 | authority: builtins.str 25 | """authority defines the custom module authority. If not set, defaults to the governance module.""" 26 | def __init__( 27 | self, 28 | *, 29 | authority: builtins.str = ..., 30 | ) -> None: ... 31 | def ClearField(self, field_name: typing_extensions.Literal["authority", b"authority"]) -> None: ... 32 | 33 | global___Module = Module 34 | -------------------------------------------------------------------------------- /nibiru_proto/cosmos/upgrade/module/v1/module_pb2_grpc.py: -------------------------------------------------------------------------------- 1 | # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! 2 | """Client and server classes corresponding to protobuf-defined services.""" 3 | import grpc 4 | 5 | -------------------------------------------------------------------------------- /nibiru_proto/cosmos/upgrade/v1beta1/upgrade_pb2_grpc.py: -------------------------------------------------------------------------------- 1 | # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! 2 | """Client and server classes corresponding to protobuf-defined services.""" 3 | import grpc 4 | 5 | -------------------------------------------------------------------------------- /nibiru_proto/cosmos/vesting/module/v1/module_pb2.py: -------------------------------------------------------------------------------- 1 | # -*- coding: utf-8 -*- 2 | # Generated by the protocol buffer compiler. DO NOT EDIT! 3 | # source: cosmos/vesting/module/v1/module.proto 4 | """Generated protocol buffer code.""" 5 | from google.protobuf.internal import builder as _builder 6 | from google.protobuf import descriptor as _descriptor 7 | from google.protobuf import descriptor_pool as _descriptor_pool 8 | from google.protobuf import symbol_database as _symbol_database 9 | # @@protoc_insertion_point(imports) 10 | 11 | _sym_db = _symbol_database.Default() 12 | 13 | 14 | from cosmos.app.v1alpha1 import module_pb2 as cosmos_dot_app_dot_v1alpha1_dot_module__pb2 15 | 16 | 17 | DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n%cosmos/vesting/module/v1/module.proto\x12\x18\x63osmos.vesting.module.v1\x1a cosmos/app/v1alpha1/module.proto\"=\n\x06Module:3\xba\xc0\x96\xda\x01-\n+github.com/cosmos/cosmos-sdk/x/auth/vestingb\x06proto3') 18 | 19 | _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) 20 | _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cosmos.vesting.module.v1.module_pb2', globals()) 21 | if _descriptor._USE_C_DESCRIPTORS == False: 22 | 23 | DESCRIPTOR._options = None 24 | _MODULE._options = None 25 | _MODULE._serialized_options = b'\272\300\226\332\001-\n+github.com/cosmos/cosmos-sdk/x/auth/vesting' 26 | _MODULE._serialized_start=101 27 | _MODULE._serialized_end=162 28 | # @@protoc_insertion_point(module_scope) 29 | -------------------------------------------------------------------------------- /nibiru_proto/cosmos/vesting/module/v1/module_pb2.pyi: -------------------------------------------------------------------------------- 1 | """ 2 | @generated by mypy-protobuf. Do not edit manually! 3 | isort:skip_file 4 | """ 5 | import google.protobuf.descriptor 6 | import google.protobuf.message 7 | import sys 8 | 9 | if sys.version_info >= (3, 8): 10 | import typing as typing_extensions 11 | else: 12 | import typing_extensions 13 | 14 | DESCRIPTOR: google.protobuf.descriptor.FileDescriptor 15 | 16 | @typing_extensions.final 17 | class Module(google.protobuf.message.Message): 18 | """Module is the config object of the vesting module.""" 19 | 20 | DESCRIPTOR: google.protobuf.descriptor.Descriptor 21 | 22 | def __init__( 23 | self, 24 | ) -> None: ... 25 | 26 | global___Module = Module 27 | -------------------------------------------------------------------------------- /nibiru_proto/cosmos/vesting/module/v1/module_pb2_grpc.py: -------------------------------------------------------------------------------- 1 | # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! 2 | """Client and server classes corresponding to protobuf-defined services.""" 3 | import grpc 4 | 5 | -------------------------------------------------------------------------------- /nibiru_proto/cosmos/vesting/v1beta1/vesting_pb2_grpc.py: -------------------------------------------------------------------------------- 1 | # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! 2 | """Client and server classes corresponding to protobuf-defined services.""" 3 | import grpc 4 | 5 | -------------------------------------------------------------------------------- /nibiru_proto/cosmos_proto/cosmos_pb2_grpc.py: -------------------------------------------------------------------------------- 1 | # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! 2 | """Client and server classes corresponding to protobuf-defined services.""" 3 | import grpc 4 | 5 | -------------------------------------------------------------------------------- /nibiru_proto/gogoproto/gogo_pb2_grpc.py: -------------------------------------------------------------------------------- 1 | # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! 2 | """Client and server classes corresponding to protobuf-defined services.""" 3 | import grpc 4 | 5 | -------------------------------------------------------------------------------- /nibiru_proto/google/api/annotations_pb2.py: -------------------------------------------------------------------------------- 1 | # -*- coding: utf-8 -*- 2 | # Generated by the protocol buffer compiler. DO NOT EDIT! 3 | # source: google/api/annotations.proto 4 | """Generated protocol buffer code.""" 5 | from google.protobuf.internal import builder as _builder 6 | from google.protobuf import descriptor as _descriptor 7 | from google.protobuf import descriptor_pool as _descriptor_pool 8 | from google.protobuf import symbol_database as _symbol_database 9 | # @@protoc_insertion_point(imports) 10 | 11 | _sym_db = _symbol_database.Default() 12 | 13 | 14 | from google.api import http_pb2 as google_dot_api_dot_http__pb2 15 | from google.protobuf import descriptor_pb2 as google_dot_protobuf_dot_descriptor__pb2 16 | 17 | 18 | DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1cgoogle/api/annotations.proto\x12\ngoogle.api\x1a\x15google/api/http.proto\x1a google/protobuf/descriptor.proto:K\n\x04http\x12\x1e.google.protobuf.MethodOptions\x18\xb0\xca\xbc\" \x01(\x0b\x32\x14.google.api.HttpRuleR\x04httpBn\n\x0e\x63om.google.apiB\x10\x41nnotationsProtoP\x01ZAgoogle.golang.org/genproto/googleapis/api/annotations;annotations\xa2\x02\x04GAPIb\x06proto3') 19 | 20 | _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) 21 | _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'google.api.annotations_pb2', globals()) 22 | if _descriptor._USE_C_DESCRIPTORS == False: 23 | google_dot_protobuf_dot_descriptor__pb2.MethodOptions.RegisterExtension(http) 24 | 25 | DESCRIPTOR._options = None 26 | DESCRIPTOR._serialized_options = b'\n\016com.google.apiB\020AnnotationsProtoP\001ZAgoogle.golang.org/genproto/googleapis/api/annotations;annotations\242\002\004GAPI' 27 | # @@protoc_insertion_point(module_scope) 28 | -------------------------------------------------------------------------------- /nibiru_proto/google/api/annotations_pb2.pyi: -------------------------------------------------------------------------------- 1 | """ 2 | @generated by mypy-protobuf. Do not edit manually! 3 | isort:skip_file 4 | Copyright 2015 Google LLC 5 | 6 | Licensed under the Apache License, Version 2.0 (the "License"); 7 | you may not use this file except in compliance with the License. 8 | You may obtain a copy of the License at 9 | 10 | http://www.apache.org/licenses/LICENSE-2.0 11 | 12 | Unless required by applicable law or agreed to in writing, software 13 | distributed under the License is distributed on an "AS IS" BASIS, 14 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 15 | See the License for the specific language governing permissions and 16 | limitations under the License. 17 | """ 18 | import builtins 19 | import google.api.http_pb2 20 | import google.protobuf.descriptor 21 | import google.protobuf.descriptor_pb2 22 | import google.protobuf.internal.extension_dict 23 | 24 | DESCRIPTOR: google.protobuf.descriptor.FileDescriptor 25 | 26 | HTTP_FIELD_NUMBER: builtins.int 27 | http: google.protobuf.internal.extension_dict._ExtensionFieldDescriptor[google.protobuf.descriptor_pb2.MethodOptions, google.api.http_pb2.HttpRule] 28 | """See `HttpRule`.""" 29 | -------------------------------------------------------------------------------- /nibiru_proto/google/api/annotations_pb2_grpc.py: -------------------------------------------------------------------------------- 1 | # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! 2 | """Client and server classes corresponding to protobuf-defined services.""" 3 | import grpc 4 | 5 | -------------------------------------------------------------------------------- /nibiru_proto/google/api/http_pb2_grpc.py: -------------------------------------------------------------------------------- 1 | # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! 2 | """Client and server classes corresponding to protobuf-defined services.""" 3 | import grpc 4 | 5 | -------------------------------------------------------------------------------- /nibiru_proto/nibiru/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NibiruChain/py-sdk/1974e4a70b13a52e0a8848aa35a4bcaf63ed14ad/nibiru_proto/nibiru/__init__.py -------------------------------------------------------------------------------- /nibiru_proto/nibiru/epochs/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NibiruChain/py-sdk/1974e4a70b13a52e0a8848aa35a4bcaf63ed14ad/nibiru_proto/nibiru/epochs/__init__.py -------------------------------------------------------------------------------- /nibiru_proto/nibiru/epochs/v1/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NibiruChain/py-sdk/1974e4a70b13a52e0a8848aa35a4bcaf63ed14ad/nibiru_proto/nibiru/epochs/v1/__init__.py -------------------------------------------------------------------------------- /nibiru_proto/nibiru/epochs/v1/event_pb2_grpc.py: -------------------------------------------------------------------------------- 1 | # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! 2 | """Client and server classes corresponding to protobuf-defined services.""" 3 | import grpc 4 | 5 | -------------------------------------------------------------------------------- /nibiru_proto/nibiru/epochs/v1/genesis_pb2.py: -------------------------------------------------------------------------------- 1 | # -*- coding: utf-8 -*- 2 | # Generated by the protocol buffer compiler. DO NOT EDIT! 3 | # source: nibiru/epochs/v1/genesis.proto 4 | """Generated protocol buffer code.""" 5 | from google.protobuf.internal import builder as _builder 6 | from google.protobuf import descriptor as _descriptor 7 | from google.protobuf import descriptor_pool as _descriptor_pool 8 | from google.protobuf import symbol_database as _symbol_database 9 | # @@protoc_insertion_point(imports) 10 | 11 | _sym_db = _symbol_database.Default() 12 | 13 | 14 | from gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 15 | from google.protobuf import duration_pb2 as google_dot_protobuf_dot_duration__pb2 16 | from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2 17 | from nibiru_proto.nibiru.epochs.v1 import state_pb2 as nibiru_dot_epochs_dot_v1_dot_state__pb2 18 | 19 | 20 | DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1enibiru/epochs/v1/genesis.proto\x12\x10nibiru.epochs.v1\x1a\x14gogoproto/gogo.proto\x1a\x1egoogle/protobuf/duration.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1cnibiru/epochs/v1/state.proto\"I\n\x0cGenesisState\x12\x39\n\x06\x65pochs\x18\x01 \x03(\x0b\x32\x1b.nibiru.epochs.v1.EpochInfoB\x04\xc8\xde\x1f\x00R\x06\x65pochsB.Z,github.com/NibiruChain/nibiru/x/epochs/typesb\x06proto3') 21 | 22 | _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) 23 | _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'nibiru.epochs.v1.genesis_pb2', globals()) 24 | if _descriptor._USE_C_DESCRIPTORS == False: 25 | 26 | DESCRIPTOR._options = None 27 | DESCRIPTOR._serialized_options = b'Z,github.com/NibiruChain/nibiru/x/epochs/types' 28 | _GENESISSTATE.fields_by_name['epochs']._options = None 29 | _GENESISSTATE.fields_by_name['epochs']._serialized_options = b'\310\336\037\000' 30 | _GENESISSTATE._serialized_start=169 31 | _GENESISSTATE._serialized_end=242 32 | # @@protoc_insertion_point(module_scope) 33 | -------------------------------------------------------------------------------- /nibiru_proto/nibiru/epochs/v1/genesis_pb2.pyi: -------------------------------------------------------------------------------- 1 | """ 2 | @generated by mypy-protobuf. Do not edit manually! 3 | isort:skip_file 4 | """ 5 | import builtins 6 | import collections.abc 7 | import google.protobuf.descriptor 8 | import google.protobuf.internal.containers 9 | import google.protobuf.message 10 | import nibiru.epochs.v1.state_pb2 11 | import sys 12 | 13 | if sys.version_info >= (3, 8): 14 | import typing as typing_extensions 15 | else: 16 | import typing_extensions 17 | 18 | DESCRIPTOR: google.protobuf.descriptor.FileDescriptor 19 | 20 | @typing_extensions.final 21 | class GenesisState(google.protobuf.message.Message): 22 | """GenesisState defines the epochs module's genesis state.""" 23 | 24 | DESCRIPTOR: google.protobuf.descriptor.Descriptor 25 | 26 | EPOCHS_FIELD_NUMBER: builtins.int 27 | @property 28 | def epochs(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[nibiru.epochs.v1.state_pb2.EpochInfo]: ... 29 | def __init__( 30 | self, 31 | *, 32 | epochs: collections.abc.Iterable[nibiru.epochs.v1.state_pb2.EpochInfo] | None = ..., 33 | ) -> None: ... 34 | def ClearField(self, field_name: typing_extensions.Literal["epochs", b"epochs"]) -> None: ... 35 | 36 | global___GenesisState = GenesisState 37 | -------------------------------------------------------------------------------- /nibiru_proto/nibiru/epochs/v1/genesis_pb2_grpc.py: -------------------------------------------------------------------------------- 1 | # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! 2 | """Client and server classes corresponding to protobuf-defined services.""" 3 | import grpc 4 | 5 | -------------------------------------------------------------------------------- /nibiru_proto/nibiru/epochs/v1/state_pb2_grpc.py: -------------------------------------------------------------------------------- 1 | # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! 2 | """Client and server classes corresponding to protobuf-defined services.""" 3 | import grpc 4 | 5 | -------------------------------------------------------------------------------- /nibiru_proto/nibiru/genmsg/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NibiruChain/py-sdk/1974e4a70b13a52e0a8848aa35a4bcaf63ed14ad/nibiru_proto/nibiru/genmsg/__init__.py -------------------------------------------------------------------------------- /nibiru_proto/nibiru/genmsg/v1/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NibiruChain/py-sdk/1974e4a70b13a52e0a8848aa35a4bcaf63ed14ad/nibiru_proto/nibiru/genmsg/v1/__init__.py -------------------------------------------------------------------------------- /nibiru_proto/nibiru/genmsg/v1/genmsg_pb2.py: -------------------------------------------------------------------------------- 1 | # -*- coding: utf-8 -*- 2 | # Generated by the protocol buffer compiler. DO NOT EDIT! 3 | # source: nibiru/genmsg/v1/genmsg.proto 4 | """Generated protocol buffer code.""" 5 | from google.protobuf.internal import builder as _builder 6 | from google.protobuf import descriptor as _descriptor 7 | from google.protobuf import descriptor_pool as _descriptor_pool 8 | from google.protobuf import symbol_database as _symbol_database 9 | # @@protoc_insertion_point(imports) 10 | 11 | _sym_db = _symbol_database.Default() 12 | 13 | 14 | from google.protobuf import any_pb2 as google_dot_protobuf_dot_any__pb2 15 | 16 | 17 | DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1dnibiru/genmsg/v1/genmsg.proto\x12\x10nibiru.genmsg.v1\x1a\x19google/protobuf/any.proto\"@\n\x0cGenesisState\x12\x30\n\x08messages\x18\x01 \x03(\x0b\x32\x14.google.protobuf.AnyR\x08messagesB+Z)github.com/NibiruChain/nibiru/x/genmsg/v1b\x06proto3') 18 | 19 | _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) 20 | _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'nibiru.genmsg.v1.genmsg_pb2', globals()) 21 | if _descriptor._USE_C_DESCRIPTORS == False: 22 | 23 | DESCRIPTOR._options = None 24 | DESCRIPTOR._serialized_options = b'Z)github.com/NibiruChain/nibiru/x/genmsg/v1' 25 | _GENESISSTATE._serialized_start=78 26 | _GENESISSTATE._serialized_end=142 27 | # @@protoc_insertion_point(module_scope) 28 | -------------------------------------------------------------------------------- /nibiru_proto/nibiru/genmsg/v1/genmsg_pb2.pyi: -------------------------------------------------------------------------------- 1 | """ 2 | @generated by mypy-protobuf. Do not edit manually! 3 | isort:skip_file 4 | """ 5 | import builtins 6 | import collections.abc 7 | import google.protobuf.any_pb2 8 | import google.protobuf.descriptor 9 | import google.protobuf.internal.containers 10 | import google.protobuf.message 11 | import sys 12 | 13 | if sys.version_info >= (3, 8): 14 | import typing as typing_extensions 15 | else: 16 | import typing_extensions 17 | 18 | DESCRIPTOR: google.protobuf.descriptor.FileDescriptor 19 | 20 | @typing_extensions.final 21 | class GenesisState(google.protobuf.message.Message): 22 | """GenesisState represents the messages to be processed during genesis by the genmsg module.""" 23 | 24 | DESCRIPTOR: google.protobuf.descriptor.Descriptor 25 | 26 | MESSAGES_FIELD_NUMBER: builtins.int 27 | @property 28 | def messages(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[google.protobuf.any_pb2.Any]: ... 29 | def __init__( 30 | self, 31 | *, 32 | messages: collections.abc.Iterable[google.protobuf.any_pb2.Any] | None = ..., 33 | ) -> None: ... 34 | def ClearField(self, field_name: typing_extensions.Literal["messages", b"messages"]) -> None: ... 35 | 36 | global___GenesisState = GenesisState 37 | -------------------------------------------------------------------------------- /nibiru_proto/nibiru/genmsg/v1/genmsg_pb2_grpc.py: -------------------------------------------------------------------------------- 1 | # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! 2 | """Client and server classes corresponding to protobuf-defined services.""" 3 | import grpc 4 | 5 | -------------------------------------------------------------------------------- /nibiru_proto/nibiru/inflation/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NibiruChain/py-sdk/1974e4a70b13a52e0a8848aa35a4bcaf63ed14ad/nibiru_proto/nibiru/inflation/__init__.py -------------------------------------------------------------------------------- /nibiru_proto/nibiru/inflation/v1/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NibiruChain/py-sdk/1974e4a70b13a52e0a8848aa35a4bcaf63ed14ad/nibiru_proto/nibiru/inflation/v1/__init__.py -------------------------------------------------------------------------------- /nibiru_proto/nibiru/inflation/v1/genesis_pb2_grpc.py: -------------------------------------------------------------------------------- 1 | # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! 2 | """Client and server classes corresponding to protobuf-defined services.""" 3 | import grpc 4 | 5 | -------------------------------------------------------------------------------- /nibiru_proto/nibiru/inflation/v1/inflation_pb2_grpc.py: -------------------------------------------------------------------------------- 1 | # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! 2 | """Client and server classes corresponding to protobuf-defined services.""" 3 | import grpc 4 | 5 | -------------------------------------------------------------------------------- /nibiru_proto/nibiru/oracle/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NibiruChain/py-sdk/1974e4a70b13a52e0a8848aa35a4bcaf63ed14ad/nibiru_proto/nibiru/oracle/__init__.py -------------------------------------------------------------------------------- /nibiru_proto/nibiru/oracle/v1/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NibiruChain/py-sdk/1974e4a70b13a52e0a8848aa35a4bcaf63ed14ad/nibiru_proto/nibiru/oracle/v1/__init__.py -------------------------------------------------------------------------------- /nibiru_proto/nibiru/oracle/v1/event_pb2_grpc.py: -------------------------------------------------------------------------------- 1 | # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! 2 | """Client and server classes corresponding to protobuf-defined services.""" 3 | import grpc 4 | 5 | -------------------------------------------------------------------------------- /nibiru_proto/nibiru/oracle/v1/genesis_pb2_grpc.py: -------------------------------------------------------------------------------- 1 | # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! 2 | """Client and server classes corresponding to protobuf-defined services.""" 3 | import grpc 4 | 5 | -------------------------------------------------------------------------------- /nibiru_proto/nibiru/oracle/v1/oracle_pb2_grpc.py: -------------------------------------------------------------------------------- 1 | # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! 2 | """Client and server classes corresponding to protobuf-defined services.""" 3 | import grpc 4 | 5 | -------------------------------------------------------------------------------- /nibiru_proto/nibiru/oracle/v1/state_pb2.pyi: -------------------------------------------------------------------------------- 1 | """ 2 | @generated by mypy-protobuf. Do not edit manually! 3 | isort:skip_file 4 | """ 5 | import builtins 6 | import google.protobuf.descriptor 7 | import google.protobuf.message 8 | import sys 9 | 10 | if sys.version_info >= (3, 8): 11 | import typing as typing_extensions 12 | else: 13 | import typing_extensions 14 | 15 | DESCRIPTOR: google.protobuf.descriptor.FileDescriptor 16 | 17 | @typing_extensions.final 18 | class PriceSnapshot(google.protobuf.message.Message): 19 | """a snapshot of the prices at a given point in time""" 20 | 21 | DESCRIPTOR: google.protobuf.descriptor.Descriptor 22 | 23 | PAIR_FIELD_NUMBER: builtins.int 24 | PRICE_FIELD_NUMBER: builtins.int 25 | TIMESTAMP_MS_FIELD_NUMBER: builtins.int 26 | pair: builtins.str 27 | price: builtins.str 28 | timestamp_ms: builtins.int 29 | """milliseconds since unix epoch""" 30 | def __init__( 31 | self, 32 | *, 33 | pair: builtins.str = ..., 34 | price: builtins.str = ..., 35 | timestamp_ms: builtins.int = ..., 36 | ) -> None: ... 37 | def ClearField(self, field_name: typing_extensions.Literal["pair", b"pair", "price", b"price", "timestamp_ms", b"timestamp_ms"]) -> None: ... 38 | 39 | global___PriceSnapshot = PriceSnapshot 40 | -------------------------------------------------------------------------------- /nibiru_proto/nibiru/oracle/v1/state_pb2_grpc.py: -------------------------------------------------------------------------------- 1 | # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! 2 | """Client and server classes corresponding to protobuf-defined services.""" 3 | import grpc 4 | 5 | -------------------------------------------------------------------------------- /nibiru_proto/nibiru/perp/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NibiruChain/py-sdk/1974e4a70b13a52e0a8848aa35a4bcaf63ed14ad/nibiru_proto/nibiru/perp/__init__.py -------------------------------------------------------------------------------- /nibiru_proto/nibiru/perp/v2/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NibiruChain/py-sdk/1974e4a70b13a52e0a8848aa35a4bcaf63ed14ad/nibiru_proto/nibiru/perp/v2/__init__.py -------------------------------------------------------------------------------- /nibiru_proto/nibiru/perp/v2/event_pb2_grpc.py: -------------------------------------------------------------------------------- 1 | # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! 2 | """Client and server classes corresponding to protobuf-defined services.""" 3 | import grpc 4 | 5 | -------------------------------------------------------------------------------- /nibiru_proto/nibiru/perp/v2/genesis_pb2_grpc.py: -------------------------------------------------------------------------------- 1 | # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! 2 | """Client and server classes corresponding to protobuf-defined services.""" 3 | import grpc 4 | 5 | -------------------------------------------------------------------------------- /nibiru_proto/nibiru/perp/v2/state_pb2_grpc.py: -------------------------------------------------------------------------------- 1 | # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! 2 | """Client and server classes corresponding to protobuf-defined services.""" 3 | import grpc 4 | 5 | -------------------------------------------------------------------------------- /nibiru_proto/nibiru/spot/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NibiruChain/py-sdk/1974e4a70b13a52e0a8848aa35a4bcaf63ed14ad/nibiru_proto/nibiru/spot/__init__.py -------------------------------------------------------------------------------- /nibiru_proto/nibiru/spot/v1/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NibiruChain/py-sdk/1974e4a70b13a52e0a8848aa35a4bcaf63ed14ad/nibiru_proto/nibiru/spot/v1/__init__.py -------------------------------------------------------------------------------- /nibiru_proto/nibiru/spot/v1/event_pb2_grpc.py: -------------------------------------------------------------------------------- 1 | # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! 2 | """Client and server classes corresponding to protobuf-defined services.""" 3 | import grpc 4 | 5 | -------------------------------------------------------------------------------- /nibiru_proto/nibiru/spot/v1/genesis_pb2.pyi: -------------------------------------------------------------------------------- 1 | """ 2 | @generated by mypy-protobuf. Do not edit manually! 3 | isort:skip_file 4 | """ 5 | import builtins 6 | import collections.abc 7 | import google.protobuf.descriptor 8 | import google.protobuf.internal.containers 9 | import google.protobuf.message 10 | import nibiru.spot.v1.params_pb2 11 | import nibiru.spot.v1.pool_pb2 12 | import sys 13 | 14 | if sys.version_info >= (3, 8): 15 | import typing as typing_extensions 16 | else: 17 | import typing_extensions 18 | 19 | DESCRIPTOR: google.protobuf.descriptor.FileDescriptor 20 | 21 | @typing_extensions.final 22 | class GenesisState(google.protobuf.message.Message): 23 | """GenesisState defines the spot module's genesis state.""" 24 | 25 | DESCRIPTOR: google.protobuf.descriptor.Descriptor 26 | 27 | PARAMS_FIELD_NUMBER: builtins.int 28 | POOLS_FIELD_NUMBER: builtins.int 29 | @property 30 | def params(self) -> nibiru.spot.v1.params_pb2.Params: 31 | """params defines all the parameters of the module.""" 32 | @property 33 | def pools(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[nibiru.spot.v1.pool_pb2.Pool]: 34 | """pools defines all the pools of the module.""" 35 | def __init__( 36 | self, 37 | *, 38 | params: nibiru.spot.v1.params_pb2.Params | None = ..., 39 | pools: collections.abc.Iterable[nibiru.spot.v1.pool_pb2.Pool] | None = ..., 40 | ) -> None: ... 41 | def HasField(self, field_name: typing_extensions.Literal["params", b"params"]) -> builtins.bool: ... 42 | def ClearField(self, field_name: typing_extensions.Literal["params", b"params", "pools", b"pools"]) -> None: ... 43 | 44 | global___GenesisState = GenesisState 45 | -------------------------------------------------------------------------------- /nibiru_proto/nibiru/spot/v1/genesis_pb2_grpc.py: -------------------------------------------------------------------------------- 1 | # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! 2 | """Client and server classes corresponding to protobuf-defined services.""" 3 | import grpc 4 | 5 | -------------------------------------------------------------------------------- /nibiru_proto/nibiru/spot/v1/params_pb2_grpc.py: -------------------------------------------------------------------------------- 1 | # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! 2 | """Client and server classes corresponding to protobuf-defined services.""" 3 | import grpc 4 | 5 | -------------------------------------------------------------------------------- /nibiru_proto/nibiru/spot/v1/pool_pb2_grpc.py: -------------------------------------------------------------------------------- 1 | # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! 2 | """Client and server classes corresponding to protobuf-defined services.""" 3 | import grpc 4 | 5 | -------------------------------------------------------------------------------- /nibiru_proto/nibiru/stablecoin/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NibiruChain/py-sdk/1974e4a70b13a52e0a8848aa35a4bcaf63ed14ad/nibiru_proto/nibiru/stablecoin/__init__.py -------------------------------------------------------------------------------- /nibiru_proto/nibiru/stablecoin/v1/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NibiruChain/py-sdk/1974e4a70b13a52e0a8848aa35a4bcaf63ed14ad/nibiru_proto/nibiru/stablecoin/v1/__init__.py -------------------------------------------------------------------------------- /nibiru_proto/nibiru/stablecoin/v1/events_pb2_grpc.py: -------------------------------------------------------------------------------- 1 | # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! 2 | """Client and server classes corresponding to protobuf-defined services.""" 3 | import grpc 4 | 5 | -------------------------------------------------------------------------------- /nibiru_proto/nibiru/stablecoin/v1/genesis_pb2.pyi: -------------------------------------------------------------------------------- 1 | """ 2 | @generated by mypy-protobuf. Do not edit manually! 3 | isort:skip_file 4 | """ 5 | import builtins 6 | import cosmos.base.v1beta1.coin_pb2 7 | import google.protobuf.descriptor 8 | import google.protobuf.message 9 | import nibiru.stablecoin.v1.params_pb2 10 | import sys 11 | 12 | if sys.version_info >= (3, 8): 13 | import typing as typing_extensions 14 | else: 15 | import typing_extensions 16 | 17 | DESCRIPTOR: google.protobuf.descriptor.FileDescriptor 18 | 19 | @typing_extensions.final 20 | class GenesisState(google.protobuf.message.Message): 21 | """GenesisState defines the stablecoin module's genesis state.""" 22 | 23 | DESCRIPTOR: google.protobuf.descriptor.Descriptor 24 | 25 | PARAMS_FIELD_NUMBER: builtins.int 26 | MODULE_ACCOUNT_BALANCE_FIELD_NUMBER: builtins.int 27 | @property 28 | def params(self) -> nibiru.stablecoin.v1.params_pb2.Params: ... 29 | @property 30 | def module_account_balance(self) -> cosmos.base.v1beta1.coin_pb2.Coin: ... 31 | def __init__( 32 | self, 33 | *, 34 | params: nibiru.stablecoin.v1.params_pb2.Params | None = ..., 35 | module_account_balance: cosmos.base.v1beta1.coin_pb2.Coin | None = ..., 36 | ) -> None: ... 37 | def HasField(self, field_name: typing_extensions.Literal["module_account_balance", b"module_account_balance", "params", b"params"]) -> builtins.bool: ... 38 | def ClearField(self, field_name: typing_extensions.Literal["module_account_balance", b"module_account_balance", "params", b"params"]) -> None: ... 39 | 40 | global___GenesisState = GenesisState 41 | -------------------------------------------------------------------------------- /nibiru_proto/nibiru/stablecoin/v1/genesis_pb2_grpc.py: -------------------------------------------------------------------------------- 1 | # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! 2 | """Client and server classes corresponding to protobuf-defined services.""" 3 | import grpc 4 | 5 | -------------------------------------------------------------------------------- /nibiru_proto/nibiru/stablecoin/v1/params_pb2_grpc.py: -------------------------------------------------------------------------------- 1 | # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! 2 | """Client and server classes corresponding to protobuf-defined services.""" 3 | import grpc 4 | 5 | -------------------------------------------------------------------------------- /nibiru_proto/nibiru/sudo/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NibiruChain/py-sdk/1974e4a70b13a52e0a8848aa35a4bcaf63ed14ad/nibiru_proto/nibiru/sudo/__init__.py -------------------------------------------------------------------------------- /nibiru_proto/nibiru/sudo/v1/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NibiruChain/py-sdk/1974e4a70b13a52e0a8848aa35a4bcaf63ed14ad/nibiru_proto/nibiru/sudo/v1/__init__.py -------------------------------------------------------------------------------- /nibiru_proto/nibiru/sudo/v1/event_pb2.py: -------------------------------------------------------------------------------- 1 | # -*- coding: utf-8 -*- 2 | # Generated by the protocol buffer compiler. DO NOT EDIT! 3 | # source: nibiru/sudo/v1/event.proto 4 | """Generated protocol buffer code.""" 5 | from google.protobuf.internal import builder as _builder 6 | from google.protobuf import descriptor as _descriptor 7 | from google.protobuf import descriptor_pool as _descriptor_pool 8 | from google.protobuf import symbol_database as _symbol_database 9 | # @@protoc_insertion_point(imports) 10 | 11 | _sym_db = _symbol_database.Default() 12 | 13 | 14 | from gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 15 | from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 16 | from nibiru_proto.nibiru.sudo.v1 import state_pb2 as nibiru_dot_sudo_dot_v1_dot_state__pb2 17 | 18 | 19 | DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1anibiru/sudo/v1/event.proto\x12\x0enibiru.sudo.v1\x1a\x14gogoproto/gogo.proto\x1a\x1cgoogle/api/annotations.proto\x1a\x1anibiru/sudo/v1/state.proto\"e\n\x12\x45ventUpdateSudoers\x12\x37\n\x07sudoers\x18\x01 \x01(\x0b\x32\x17.nibiru.sudo.v1.SudoersB\x04\xc8\xde\x1f\x00R\x07sudoers\x12\x16\n\x06\x61\x63tion\x18\x02 \x01(\tR\x06\x61\x63tionB,Z*github.com/NibiruChain/nibiru/x/sudo/typesb\x06proto3') 20 | 21 | _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) 22 | _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'nibiru.sudo.v1.event_pb2', globals()) 23 | if _descriptor._USE_C_DESCRIPTORS == False: 24 | 25 | DESCRIPTOR._options = None 26 | DESCRIPTOR._serialized_options = b'Z*github.com/NibiruChain/nibiru/x/sudo/types' 27 | _EVENTUPDATESUDOERS.fields_by_name['sudoers']._options = None 28 | _EVENTUPDATESUDOERS.fields_by_name['sudoers']._serialized_options = b'\310\336\037\000' 29 | _EVENTUPDATESUDOERS._serialized_start=126 30 | _EVENTUPDATESUDOERS._serialized_end=227 31 | # @@protoc_insertion_point(module_scope) 32 | -------------------------------------------------------------------------------- /nibiru_proto/nibiru/sudo/v1/event_pb2.pyi: -------------------------------------------------------------------------------- 1 | """ 2 | @generated by mypy-protobuf. Do not edit manually! 3 | isort:skip_file 4 | """ 5 | import builtins 6 | import google.protobuf.descriptor 7 | import google.protobuf.message 8 | import nibiru.sudo.v1.state_pb2 9 | import sys 10 | 11 | if sys.version_info >= (3, 8): 12 | import typing as typing_extensions 13 | else: 14 | import typing_extensions 15 | 16 | DESCRIPTOR: google.protobuf.descriptor.FileDescriptor 17 | 18 | @typing_extensions.final 19 | class EventUpdateSudoers(google.protobuf.message.Message): 20 | DESCRIPTOR: google.protobuf.descriptor.Descriptor 21 | 22 | SUDOERS_FIELD_NUMBER: builtins.int 23 | ACTION_FIELD_NUMBER: builtins.int 24 | @property 25 | def sudoers(self) -> nibiru.sudo.v1.state_pb2.Sudoers: ... 26 | action: builtins.str 27 | """Action is the type of update that occured to the "sudoers" """ 28 | def __init__( 29 | self, 30 | *, 31 | sudoers: nibiru.sudo.v1.state_pb2.Sudoers | None = ..., 32 | action: builtins.str = ..., 33 | ) -> None: ... 34 | def HasField(self, field_name: typing_extensions.Literal["sudoers", b"sudoers"]) -> builtins.bool: ... 35 | def ClearField(self, field_name: typing_extensions.Literal["action", b"action", "sudoers", b"sudoers"]) -> None: ... 36 | 37 | global___EventUpdateSudoers = EventUpdateSudoers 38 | -------------------------------------------------------------------------------- /nibiru_proto/nibiru/sudo/v1/event_pb2_grpc.py: -------------------------------------------------------------------------------- 1 | # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! 2 | """Client and server classes corresponding to protobuf-defined services.""" 3 | import grpc 4 | 5 | -------------------------------------------------------------------------------- /nibiru_proto/nibiru/sudo/v1/query_pb2.pyi: -------------------------------------------------------------------------------- 1 | """ 2 | @generated by mypy-protobuf. Do not edit manually! 3 | isort:skip_file 4 | """ 5 | import builtins 6 | import google.protobuf.descriptor 7 | import google.protobuf.message 8 | import nibiru.sudo.v1.state_pb2 9 | import sys 10 | 11 | if sys.version_info >= (3, 8): 12 | import typing as typing_extensions 13 | else: 14 | import typing_extensions 15 | 16 | DESCRIPTOR: google.protobuf.descriptor.FileDescriptor 17 | 18 | @typing_extensions.final 19 | class QuerySudoersRequest(google.protobuf.message.Message): 20 | DESCRIPTOR: google.protobuf.descriptor.Descriptor 21 | 22 | def __init__( 23 | self, 24 | ) -> None: ... 25 | 26 | global___QuerySudoersRequest = QuerySudoersRequest 27 | 28 | @typing_extensions.final 29 | class QuerySudoersResponse(google.protobuf.message.Message): 30 | """QuerySudoersResponse indicates the successful execution of MsgEditSudeors.""" 31 | 32 | DESCRIPTOR: google.protobuf.descriptor.Descriptor 33 | 34 | SUDOERS_FIELD_NUMBER: builtins.int 35 | @property 36 | def sudoers(self) -> nibiru.sudo.v1.state_pb2.Sudoers: ... 37 | def __init__( 38 | self, 39 | *, 40 | sudoers: nibiru.sudo.v1.state_pb2.Sudoers | None = ..., 41 | ) -> None: ... 42 | def HasField(self, field_name: typing_extensions.Literal["sudoers", b"sudoers"]) -> builtins.bool: ... 43 | def ClearField(self, field_name: typing_extensions.Literal["sudoers", b"sudoers"]) -> None: ... 44 | 45 | global___QuerySudoersResponse = QuerySudoersResponse 46 | -------------------------------------------------------------------------------- /nibiru_proto/nibiru/sudo/v1/state_pb2.py: -------------------------------------------------------------------------------- 1 | # -*- coding: utf-8 -*- 2 | # Generated by the protocol buffer compiler. DO NOT EDIT! 3 | # source: nibiru/sudo/v1/state.proto 4 | """Generated protocol buffer code.""" 5 | from google.protobuf.internal import builder as _builder 6 | from google.protobuf import descriptor as _descriptor 7 | from google.protobuf import descriptor_pool as _descriptor_pool 8 | from google.protobuf import symbol_database as _symbol_database 9 | # @@protoc_insertion_point(imports) 10 | 11 | _sym_db = _symbol_database.Default() 12 | 13 | 14 | from gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 15 | from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 16 | 17 | 18 | DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1anibiru/sudo/v1/state.proto\x12\x0enibiru.sudo.v1\x1a\x14gogoproto/gogo.proto\x1a\x1cgoogle/api/annotations.proto\"A\n\x07Sudoers\x12\x12\n\x04root\x18\x01 \x01(\tR\x04root\x12\x1c\n\tcontracts\x18\x02 \x03(\tR\tcontracts:\x04\x98\xa0\x1f\x00\"G\n\x0cGenesisState\x12\x37\n\x07sudoers\x18\x01 \x01(\x0b\x32\x17.nibiru.sudo.v1.SudoersB\x04\xc8\xde\x1f\x00R\x07sudoersB,Z*github.com/NibiruChain/nibiru/x/sudo/typesb\x06proto3') 19 | 20 | _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) 21 | _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'nibiru.sudo.v1.state_pb2', globals()) 22 | if _descriptor._USE_C_DESCRIPTORS == False: 23 | 24 | DESCRIPTOR._options = None 25 | DESCRIPTOR._serialized_options = b'Z*github.com/NibiruChain/nibiru/x/sudo/types' 26 | _SUDOERS._options = None 27 | _SUDOERS._serialized_options = b'\230\240\037\000' 28 | _GENESISSTATE.fields_by_name['sudoers']._options = None 29 | _GENESISSTATE.fields_by_name['sudoers']._serialized_options = b'\310\336\037\000' 30 | _SUDOERS._serialized_start=98 31 | _SUDOERS._serialized_end=163 32 | _GENESISSTATE._serialized_start=165 33 | _GENESISSTATE._serialized_end=236 34 | # @@protoc_insertion_point(module_scope) 35 | -------------------------------------------------------------------------------- /nibiru_proto/nibiru/sudo/v1/state_pb2_grpc.py: -------------------------------------------------------------------------------- 1 | # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! 2 | """Client and server classes corresponding to protobuf-defined services.""" 3 | import grpc 4 | 5 | -------------------------------------------------------------------------------- /nibiru_proto/py.typed: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NibiruChain/py-sdk/1974e4a70b13a52e0a8848aa35a4bcaf63ed14ad/nibiru_proto/py.typed -------------------------------------------------------------------------------- /nibiru_proto/tendermint/crypto/keys_pb2.py: -------------------------------------------------------------------------------- 1 | # -*- coding: utf-8 -*- 2 | # Generated by the protocol buffer compiler. DO NOT EDIT! 3 | # source: tendermint/crypto/keys.proto 4 | """Generated protocol buffer code.""" 5 | from google.protobuf.internal import builder as _builder 6 | from google.protobuf import descriptor as _descriptor 7 | from google.protobuf import descriptor_pool as _descriptor_pool 8 | from google.protobuf import symbol_database as _symbol_database 9 | # @@protoc_insertion_point(imports) 10 | 11 | _sym_db = _symbol_database.Default() 12 | 13 | 14 | from gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 15 | 16 | 17 | DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1ctendermint/crypto/keys.proto\x12\x11tendermint.crypto\x1a\x14gogoproto/gogo.proto\"X\n\tPublicKey\x12\x1a\n\x07\x65\x64\x32\x35\x35\x31\x39\x18\x01 \x01(\x0cH\x00R\x07\x65\x64\x32\x35\x35\x31\x39\x12\x1e\n\tsecp256k1\x18\x02 \x01(\x0cH\x00R\tsecp256k1:\x08\xe8\xa0\x1f\x01\xe8\xa1\x1f\x01\x42\x05\n\x03sumB6Z4github.com/cometbft/cometbft/proto/tendermint/cryptob\x06proto3') 18 | 19 | _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) 20 | _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'tendermint.crypto.keys_pb2', globals()) 21 | if _descriptor._USE_C_DESCRIPTORS == False: 22 | 23 | DESCRIPTOR._options = None 24 | DESCRIPTOR._serialized_options = b'Z4github.com/cometbft/cometbft/proto/tendermint/crypto' 25 | _PUBLICKEY._options = None 26 | _PUBLICKEY._serialized_options = b'\350\240\037\001\350\241\037\001' 27 | _PUBLICKEY._serialized_start=73 28 | _PUBLICKEY._serialized_end=161 29 | # @@protoc_insertion_point(module_scope) 30 | -------------------------------------------------------------------------------- /nibiru_proto/tendermint/crypto/keys_pb2.pyi: -------------------------------------------------------------------------------- 1 | """ 2 | @generated by mypy-protobuf. Do not edit manually! 3 | isort:skip_file 4 | """ 5 | import builtins 6 | import google.protobuf.descriptor 7 | import google.protobuf.message 8 | import sys 9 | 10 | if sys.version_info >= (3, 8): 11 | import typing as typing_extensions 12 | else: 13 | import typing_extensions 14 | 15 | DESCRIPTOR: google.protobuf.descriptor.FileDescriptor 16 | 17 | @typing_extensions.final 18 | class PublicKey(google.protobuf.message.Message): 19 | """PublicKey defines the keys available for use with Validators""" 20 | 21 | DESCRIPTOR: google.protobuf.descriptor.Descriptor 22 | 23 | ED25519_FIELD_NUMBER: builtins.int 24 | SECP256K1_FIELD_NUMBER: builtins.int 25 | ed25519: builtins.bytes 26 | secp256k1: builtins.bytes 27 | def __init__( 28 | self, 29 | *, 30 | ed25519: builtins.bytes = ..., 31 | secp256k1: builtins.bytes = ..., 32 | ) -> None: ... 33 | def HasField(self, field_name: typing_extensions.Literal["ed25519", b"ed25519", "secp256k1", b"secp256k1", "sum", b"sum"]) -> builtins.bool: ... 34 | def ClearField(self, field_name: typing_extensions.Literal["ed25519", b"ed25519", "secp256k1", b"secp256k1", "sum", b"sum"]) -> None: ... 35 | def WhichOneof(self, oneof_group: typing_extensions.Literal["sum", b"sum"]) -> typing_extensions.Literal["ed25519", "secp256k1"] | None: ... 36 | 37 | global___PublicKey = PublicKey 38 | -------------------------------------------------------------------------------- /nibiru_proto/tendermint/crypto/keys_pb2_grpc.py: -------------------------------------------------------------------------------- 1 | # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! 2 | """Client and server classes corresponding to protobuf-defined services.""" 3 | import grpc 4 | 5 | -------------------------------------------------------------------------------- /nibiru_proto/tendermint/crypto/proof_pb2_grpc.py: -------------------------------------------------------------------------------- 1 | # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! 2 | """Client and server classes corresponding to protobuf-defined services.""" 3 | import grpc 4 | 5 | -------------------------------------------------------------------------------- /nibiru_proto/tendermint/libs/bits/types_pb2.py: -------------------------------------------------------------------------------- 1 | # -*- coding: utf-8 -*- 2 | # Generated by the protocol buffer compiler. DO NOT EDIT! 3 | # source: tendermint/libs/bits/types.proto 4 | """Generated protocol buffer code.""" 5 | from google.protobuf.internal import builder as _builder 6 | from google.protobuf import descriptor as _descriptor 7 | from google.protobuf import descriptor_pool as _descriptor_pool 8 | from google.protobuf import symbol_database as _symbol_database 9 | # @@protoc_insertion_point(imports) 10 | 11 | _sym_db = _symbol_database.Default() 12 | 13 | 14 | 15 | 16 | DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n tendermint/libs/bits/types.proto\x12\x14tendermint.libs.bits\"4\n\x08\x42itArray\x12\x12\n\x04\x62its\x18\x01 \x01(\x03R\x04\x62its\x12\x14\n\x05\x65lems\x18\x02 \x03(\x04R\x05\x65lemsB9Z7github.com/cometbft/cometbft/proto/tendermint/libs/bitsb\x06proto3') 17 | 18 | _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) 19 | _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'tendermint.libs.bits.types_pb2', globals()) 20 | if _descriptor._USE_C_DESCRIPTORS == False: 21 | 22 | DESCRIPTOR._options = None 23 | DESCRIPTOR._serialized_options = b'Z7github.com/cometbft/cometbft/proto/tendermint/libs/bits' 24 | _BITARRAY._serialized_start=58 25 | _BITARRAY._serialized_end=110 26 | # @@protoc_insertion_point(module_scope) 27 | -------------------------------------------------------------------------------- /nibiru_proto/tendermint/libs/bits/types_pb2.pyi: -------------------------------------------------------------------------------- 1 | """ 2 | @generated by mypy-protobuf. Do not edit manually! 3 | isort:skip_file 4 | """ 5 | import builtins 6 | import collections.abc 7 | import google.protobuf.descriptor 8 | import google.protobuf.internal.containers 9 | import google.protobuf.message 10 | import sys 11 | 12 | if sys.version_info >= (3, 8): 13 | import typing as typing_extensions 14 | else: 15 | import typing_extensions 16 | 17 | DESCRIPTOR: google.protobuf.descriptor.FileDescriptor 18 | 19 | @typing_extensions.final 20 | class BitArray(google.protobuf.message.Message): 21 | DESCRIPTOR: google.protobuf.descriptor.Descriptor 22 | 23 | BITS_FIELD_NUMBER: builtins.int 24 | ELEMS_FIELD_NUMBER: builtins.int 25 | bits: builtins.int 26 | @property 27 | def elems(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.int]: ... 28 | def __init__( 29 | self, 30 | *, 31 | bits: builtins.int = ..., 32 | elems: collections.abc.Iterable[builtins.int] | None = ..., 33 | ) -> None: ... 34 | def ClearField(self, field_name: typing_extensions.Literal["bits", b"bits", "elems", b"elems"]) -> None: ... 35 | 36 | global___BitArray = BitArray 37 | -------------------------------------------------------------------------------- /nibiru_proto/tendermint/libs/bits/types_pb2_grpc.py: -------------------------------------------------------------------------------- 1 | # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! 2 | """Client and server classes corresponding to protobuf-defined services.""" 3 | import grpc 4 | 5 | -------------------------------------------------------------------------------- /nibiru_proto/tendermint/p2p/types_pb2_grpc.py: -------------------------------------------------------------------------------- 1 | # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! 2 | """Client and server classes corresponding to protobuf-defined services.""" 3 | import grpc 4 | 5 | -------------------------------------------------------------------------------- /nibiru_proto/tendermint/types/block_pb2.pyi: -------------------------------------------------------------------------------- 1 | """ 2 | @generated by mypy-protobuf. Do not edit manually! 3 | isort:skip_file 4 | """ 5 | import builtins 6 | import google.protobuf.descriptor 7 | import google.protobuf.message 8 | import sys 9 | import tendermint.types.evidence_pb2 10 | import tendermint.types.types_pb2 11 | 12 | if sys.version_info >= (3, 8): 13 | import typing as typing_extensions 14 | else: 15 | import typing_extensions 16 | 17 | DESCRIPTOR: google.protobuf.descriptor.FileDescriptor 18 | 19 | @typing_extensions.final 20 | class Block(google.protobuf.message.Message): 21 | DESCRIPTOR: google.protobuf.descriptor.Descriptor 22 | 23 | HEADER_FIELD_NUMBER: builtins.int 24 | DATA_FIELD_NUMBER: builtins.int 25 | EVIDENCE_FIELD_NUMBER: builtins.int 26 | LAST_COMMIT_FIELD_NUMBER: builtins.int 27 | @property 28 | def header(self) -> tendermint.types.types_pb2.Header: ... 29 | @property 30 | def data(self) -> tendermint.types.types_pb2.Data: ... 31 | @property 32 | def evidence(self) -> tendermint.types.evidence_pb2.EvidenceList: ... 33 | @property 34 | def last_commit(self) -> tendermint.types.types_pb2.Commit: ... 35 | def __init__( 36 | self, 37 | *, 38 | header: tendermint.types.types_pb2.Header | None = ..., 39 | data: tendermint.types.types_pb2.Data | None = ..., 40 | evidence: tendermint.types.evidence_pb2.EvidenceList | None = ..., 41 | last_commit: tendermint.types.types_pb2.Commit | None = ..., 42 | ) -> None: ... 43 | def HasField(self, field_name: typing_extensions.Literal["data", b"data", "evidence", b"evidence", "header", b"header", "last_commit", b"last_commit"]) -> builtins.bool: ... 44 | def ClearField(self, field_name: typing_extensions.Literal["data", b"data", "evidence", b"evidence", "header", b"header", "last_commit", b"last_commit"]) -> None: ... 45 | 46 | global___Block = Block 47 | -------------------------------------------------------------------------------- /nibiru_proto/tendermint/types/block_pb2_grpc.py: -------------------------------------------------------------------------------- 1 | # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! 2 | """Client and server classes corresponding to protobuf-defined services.""" 3 | import grpc 4 | 5 | -------------------------------------------------------------------------------- /nibiru_proto/tendermint/types/evidence_pb2_grpc.py: -------------------------------------------------------------------------------- 1 | # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! 2 | """Client and server classes corresponding to protobuf-defined services.""" 3 | import grpc 4 | 5 | -------------------------------------------------------------------------------- /nibiru_proto/tendermint/types/params_pb2_grpc.py: -------------------------------------------------------------------------------- 1 | # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! 2 | """Client and server classes corresponding to protobuf-defined services.""" 3 | import grpc 4 | 5 | -------------------------------------------------------------------------------- /nibiru_proto/tendermint/types/types_pb2_grpc.py: -------------------------------------------------------------------------------- 1 | # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! 2 | """Client and server classes corresponding to protobuf-defined services.""" 3 | import grpc 4 | 5 | -------------------------------------------------------------------------------- /nibiru_proto/tendermint/types/validator_pb2_grpc.py: -------------------------------------------------------------------------------- 1 | # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! 2 | """Client and server classes corresponding to protobuf-defined services.""" 3 | import grpc 4 | 5 | -------------------------------------------------------------------------------- /nibiru_proto/tendermint/version/types_pb2.py: -------------------------------------------------------------------------------- 1 | # -*- coding: utf-8 -*- 2 | # Generated by the protocol buffer compiler. DO NOT EDIT! 3 | # source: tendermint/version/types.proto 4 | """Generated protocol buffer code.""" 5 | from google.protobuf.internal import builder as _builder 6 | from google.protobuf import descriptor as _descriptor 7 | from google.protobuf import descriptor_pool as _descriptor_pool 8 | from google.protobuf import symbol_database as _symbol_database 9 | # @@protoc_insertion_point(imports) 10 | 11 | _sym_db = _symbol_database.Default() 12 | 13 | 14 | from gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 15 | 16 | 17 | DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1etendermint/version/types.proto\x12\x12tendermint.version\x1a\x14gogoproto/gogo.proto\"=\n\x03\x41pp\x12\x1a\n\x08protocol\x18\x01 \x01(\x04R\x08protocol\x12\x1a\n\x08software\x18\x02 \x01(\tR\x08software\"9\n\tConsensus\x12\x14\n\x05\x62lock\x18\x01 \x01(\x04R\x05\x62lock\x12\x10\n\x03\x61pp\x18\x02 \x01(\x04R\x03\x61pp:\x04\xe8\xa0\x1f\x01\x42\x37Z5github.com/cometbft/cometbft/proto/tendermint/versionb\x06proto3') 18 | 19 | _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) 20 | _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'tendermint.version.types_pb2', globals()) 21 | if _descriptor._USE_C_DESCRIPTORS == False: 22 | 23 | DESCRIPTOR._options = None 24 | DESCRIPTOR._serialized_options = b'Z5github.com/cometbft/cometbft/proto/tendermint/version' 25 | _CONSENSUS._options = None 26 | _CONSENSUS._serialized_options = b'\350\240\037\001' 27 | _APP._serialized_start=76 28 | _APP._serialized_end=137 29 | _CONSENSUS._serialized_start=139 30 | _CONSENSUS._serialized_end=196 31 | # @@protoc_insertion_point(module_scope) 32 | -------------------------------------------------------------------------------- /nibiru_proto/tendermint/version/types_pb2_grpc.py: -------------------------------------------------------------------------------- 1 | # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! 2 | """Client and server classes corresponding to protobuf-defined services.""" 3 | import grpc 4 | 5 | -------------------------------------------------------------------------------- /scripts/fmt.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | poetry run black . 3 | poetry run isort . 4 | poetry run flake8 5 | -------------------------------------------------------------------------------- /scripts/get_nibid.sh: -------------------------------------------------------------------------------- 1 | curl -s https://get.nibiru.fi/@v0.21.0! | bash 2 | -------------------------------------------------------------------------------- /scripts/get_pricefeeder.sh: -------------------------------------------------------------------------------- 1 | curl -s https://get.nibiru.fi/pricefeeder\! | bash 2 | -------------------------------------------------------------------------------- /scripts/run_pricefeed.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | set -e 3 | 4 | source .env 5 | 6 | DEFAULT_CHAIN_ID="nibiru-localnet-0" 7 | DEFAULT_GRPC_ENDPOINT="localhost:9090" 8 | DEFAULT_EXCHANGE_SYMBOLS_MAP='{"bitfinex": {"ubtc:unusd": "tBTCUSD", "ueth:unusd": "tETHUSD", "uusd:unusd": "tUSTUSD"}}' 9 | DEFAULT_FEEDER_MNEMONIC="guard cream sadness conduct invite crumble clock pudding hole grit liar hotel maid produce squeeze return argue turtle know drive eight casino maze host" 10 | DEFAULT_WEBSOCKET_ENDPOINT="ws://localhost:26657/websocket" 11 | 12 | if [ -z "$EXCHANGE_SYMBOLS_MAP" ]; then 13 | EXCHANGE_SYMBOLS_MAP="$DEFAULT_EXCHANGE_SYMBOLS_MAP" 14 | echo "EXCHANGE_SYMBOLS_MAP='$DEFAULT_EXCHANGE_SYMBOLS_MAP'" >> .env 15 | fi 16 | 17 | if [ -z "$CHAIN_ID" ]; then 18 | CHAIN_ID="$DEFAULT_CHAIN_ID" 19 | echo "CHAIN_ID='$DEFAULT_CHAIN_ID'" >> .env 20 | fi 21 | 22 | if [ -z "$FEEDER_MNEMONIC" ]; then 23 | FEEDER_MNEMONIC="$DEFAULT_FEEDER_MNEMONIC" 24 | echo "FEEDER_MNEMONIC='$DEFAULT_FEEDER_MNEMONIC'" >> .env 25 | fi 26 | 27 | if [ -z "$GRPC_ENDPOINT" ]; then 28 | GRPC_ENDPOINT="$DEFAULT_GRPC_ENDPOINT" 29 | echo "GRPC_ENDPOINT='$DEFAULT_GRPC_ENDPOINT'" >> .env 30 | fi 31 | 32 | if [ -z "$WEBSOCKET_ENDPOINT" ]; then 33 | WEBSOCKET_ENDPOINT="$DEFAULT_WEBSOCKET_ENDPOINT" 34 | echo "WEBSOCKET_ENDPOINT='$DEFAULT_WEBSOCKET_ENDPOINT'" >> .env 35 | fi 36 | 37 | 38 | if [ ! pricefeeder ]; then 39 | echo "Pricefeeder binary does not exist or is not executable." 40 | echo "Attempting to install binary" 41 | bash ./scripts/get_pricefeeder.sh 42 | else 43 | pricefeeder 44 | fi 45 | -------------------------------------------------------------------------------- /tests/auth_test.py: -------------------------------------------------------------------------------- 1 | from nibiru import ChainClient 2 | 3 | 4 | def test_query_auth_account(client_validator: ChainClient): 5 | _: dict = client_validator.query.auth.account(client_validator.address)["account"] 6 | 7 | 8 | def test_query_auth_accounts(client_validator): 9 | query_resp: dict = client_validator.query.auth.accounts() 10 | 11 | for account in query_resp["accounts"]: 12 | assert all( 13 | [ 14 | key 15 | in [ 16 | '@type', 17 | 'address', 18 | 'pubKey', 19 | 'accountNumber', 20 | 'sequence', 21 | 'baseAccount', 22 | 'name', 23 | 'permissions', 24 | ] 25 | for key in account.keys() 26 | ] 27 | ) 28 | -------------------------------------------------------------------------------- /tests/bank_test.py: -------------------------------------------------------------------------------- 1 | # bank_test.py 2 | 3 | import nibiru 4 | import tests 5 | from nibiru import Coin 6 | 7 | PRECISION = 6 8 | 9 | 10 | def test_send_multiple_msgs(client_validator, client_new_user): 11 | """Tests the transfer of funds for a transaction with a multiple 12 | 'MsgSend' tx messages. 13 | """ 14 | tx_output = client_validator.tx.execute_msgs( 15 | msgs=[ 16 | nibiru.Msg.bank.send( 17 | client_new_user.address, 18 | [Coin(7, "unibi"), Coin(70, "unusd")], 19 | ), 20 | nibiru.Msg.bank.send( 21 | client_new_user.address, 22 | [Coin(15, "unibi"), Coin(23, "unusd")], 23 | ), 24 | ], 25 | ) 26 | 27 | # TODO deprecated 28 | # tests.LOGGER.info( 29 | # "nibid tx bank send - multiple msgs:\n" + 30 | # tests.format_response(tx_output) 31 | # ) 32 | tests.broadcast_tx_must_succeed(res=tx_output) 33 | tests.FullTxStory(broadcast_resp=tx_output).save() 34 | 35 | 36 | def test_send_single_msg(client_validator, client_new_user): 37 | """Tests the transfer of funds for a transaction with a single 'MsgSend' 38 | tx message. 39 | """ 40 | 41 | tx_output = client_validator.tx.execute_msgs( 42 | [ 43 | nibiru.Msg.bank.send( 44 | client_new_user.address, 45 | [Coin(10, "unibi"), Coin(10, "unusd")], 46 | ), 47 | ] 48 | ) 49 | 50 | # TODO deprecated 51 | # tests.LOGGER.info( 52 | # "nibid tx bank send - single msgs:\n" + 53 | # tests.format_response(tx_output) 54 | # ) 55 | tests.broadcast_tx_must_succeed(res=tx_output) 56 | tests.FullTxStory(broadcast_resp=tx_output).save() 57 | -------------------------------------------------------------------------------- /tests/endpoint_test.py: -------------------------------------------------------------------------------- 1 | import requests 2 | 3 | import nibiru 4 | 5 | 6 | def query_chain_id_with_rpc(chain: nibiru.Network) -> str: 7 | resp: requests.Response = requests.get(f"{chain.tendermint_rpc_endpoint}/status") 8 | return resp.json()["result"]["node_info"]["network"] 9 | 10 | 11 | class TestEndpoints: 12 | @staticmethod 13 | def test_rpc(network: nibiru.Network) -> None: 14 | chain_id = query_chain_id_with_rpc(network) 15 | assert chain_id == network.chain_id 16 | 17 | @staticmethod 18 | def test_grpc(client_validator): 19 | block_height = client_validator.query.get_latest_block_height() 20 | assert block_height > 0 21 | -------------------------------------------------------------------------------- /tests/epoch_test.py: -------------------------------------------------------------------------------- 1 | import tests 2 | 3 | 4 | def test_query_current_epoch(client_validator): 5 | query_resp: dict = client_validator.query.epoch.current_epoch("15 min") 6 | assert query_resp["currentEpoch"] > 0 7 | 8 | 9 | def test_query_epoch_info(client_validator): 10 | query_resp: dict = client_validator.query.epoch.epoch_infos() 11 | assert len(query_resp["epochs"]) > 0 12 | 13 | for epoch in query_resp["epochs"]: 14 | tests.dict_keys_must_match( 15 | epoch, 16 | [ 17 | "identifier", 18 | "startTime", 19 | "duration", 20 | "currentEpoch", 21 | "currentEpochStartTime", 22 | "epochCountingStarted", 23 | "currentEpochStartHeight", 24 | ], 25 | ) 26 | -------------------------------------------------------------------------------- /tests/event_test.py: -------------------------------------------------------------------------------- 1 | from typing import Dict, List, cast 2 | 3 | import pytest 4 | 5 | from nibiru import pytypes 6 | 7 | 8 | class TestEvent: 9 | @pytest.fixture 10 | def raw_events(self) -> List[pytypes.RawEvent]: 11 | return cast( 12 | List[pytypes.RawEvent], 13 | [ 14 | { 15 | 'attributes': [ 16 | { 17 | 'key': 'recipient', 18 | 'value': 'nibi1uvu52rxwqj5ndmm59y6atvx33mru9xrz6sqekr', 19 | }, 20 | { 21 | 'key': 'sender', 22 | 'value': 'nibi1zaavvzxez0elundtn32qnk9lkm8kmcsz44g7xl', 23 | }, 24 | {'key': 'amount', 'value': '7unibi,70unusd'}, 25 | ], 26 | 'type': 'transfer', 27 | }, 28 | ], 29 | ) 30 | 31 | def test_parse_attributes(self, raw_events: List[pytypes.RawEvent]): 32 | raw_event = raw_events[0] 33 | assert "attributes" in raw_event 34 | raw_attributes: List[Dict[str, str]] = raw_event['attributes'] 35 | attrs: Dict[str, str] = pytypes.Event.parse_attributes(raw_attributes) 36 | assert attrs["recipient"] == "nibi1uvu52rxwqj5ndmm59y6atvx33mru9xrz6sqekr" 37 | assert attrs["sender"] == "nibi1zaavvzxez0elundtn32qnk9lkm8kmcsz44g7xl" 38 | assert attrs["amount"] == "7unibi,70unusd" 39 | 40 | def test_new_event(self, raw_events: List[pytypes.RawEvent]): 41 | event = pytypes.Event(raw_events[0]) 42 | assert event.type == "transfer" 43 | for attr in ["recipient", "sender", "amount"]: 44 | assert attr in event.attrs 45 | -------------------------------------------------------------------------------- /tests/stablecoin_test.py: -------------------------------------------------------------------------------- 1 | # stablecoin_test.py 2 | 3 | from tests import dict_keys_must_match 4 | 5 | 6 | def test_query_params(client_validator): 7 | res = client_validator.query.stablecoin.params() 8 | dict_keys_must_match(res, ["params"]) 9 | dict_keys_must_match( 10 | res["params"], 11 | [ 12 | "coll_ratio", 13 | "fee_ratio", 14 | "ef_fee_ratio", 15 | "bonus_rate_recoll", 16 | "distr_epoch_identifier", 17 | "adjustment_step", 18 | "price_lower_bound", 19 | "price_upper_bound", 20 | "is_collateral_ratio_valid", 21 | ], 22 | ) 23 | 24 | 25 | def test_query_circulating_supplies(client_validator): 26 | res = client_validator.query.stablecoin.circulating_supplies() 27 | assert isinstance(res, dict) 28 | --------------------------------------------------------------------------------