From ff726bd527ce6ccfbd0fea082ccda2979f06b8a9 Mon Sep 17 00:00:00 2001 From: Chandragupta Singh Date: Thu, 9 Mar 2023 14:33:24 +0530 Subject: [PATCH] swagger doc modified, duplicate query name changed/removed --- .DS_Store | Bin 8196 -> 8196 bytes .gitignore | 3 +- Makefile | 18 +- client/.DS_Store | Bin 0 -> 6148 bytes client/docs/.DS_Store | Bin 0 -> 6148 bytes client/docs/config.json | 218 + client/docs/package.json | 16 + client/docs/static/.DS_Store | Bin 0 -> 6148 bytes client/docs/static/openapi/index.html | 2515 + client/docs/static/openapi/openapi.yaml | 63210 +++++++++++++++ client/docs/static/swagger/favicon-16x16.png | Bin 0 -> 445 bytes client/docs/static/swagger/favicon-32x32.png | Bin 0 -> 1141 bytes client/docs/static/swagger/index.html | 60 + .../docs/static/swagger/oauth2-redirect.html | 67 + .../docs/static/swagger/swagger-ui-bundle.js | 41776 ++++++++++ .../swagger/swagger-ui-standalone-preset.js | 13173 +++ client/docs/static/swagger/swagger-ui.css | 3 + client/docs/static/swagger/swagger.yaml | 66053 ++++++++++++++++ client/docs/yarn.lock | 1919 + proto/comdex/asset/v1beta1/query.proto | 13 +- proto/comdex/auction/v1beta1/query.proto | 19 +- proto/comdex/esm/v1beta1/query.proto | 1 - .../comdex/liquidation/v1beta1/querier.proto | 6 +- proto/comdex/locker/v1beta1/query.proto | 15 - proto/comdex/market/v1beta1/query.proto | 13 - scripts/protoc_swagger_gen.sh | 88 +- x/asset/client/cli/query.go | 8 +- x/asset/keeper/asset_test.go | 6 +- x/asset/keeper/query_server.go | 8 +- x/asset/types/query.pb.go | 400 +- x/asset/types/query.pb.gw.go | 62 +- x/auction/client/cli/cli.go | 3 +- x/auction/client/cli/query.go | 34 +- x/auction/keeper/grpc_query_params.go | 20 - x/auction/keeper/query_server.go | 17 +- x/auction/types/query.pb.go | 648 +- x/auction/types/query.pb.gw.go | 93 +- x/esm/types/query.pb.go | 124 +- x/lend/types/lend.pb.go | 2 +- x/liquidation/client/cli/query.go | 6 +- x/liquidation/keeper/grpc_query_params.go | 4 +- x/liquidation/keeper/query_server.go | 4 +- x/liquidation/types/querier.pb.go | 252 +- x/liquidation/types/querier.pb.gw.go | 28 +- x/locker/client/cli/cli.go | 1 - x/locker/client/cli/query_params.go | 40 - x/locker/keeper/grpc_query.go | 11 - x/locker/keeper/grpc_query_params.go | 20 - x/locker/types/locker.pb.go | 4 +- x/locker/types/query.pb.go | 580 +- x/locker/types/query.pb.gw.go | 65 - x/market/client/cli/cli.go | 1 - x/market/client/cli/query.go | 29 - x/market/keeper/query_server.go | 11 - x/market/types/query.pb.go | 390 +- x/market/types/query.pb.gw.go | 65 - x/tokenmint/types/mint.pb.go | 2 +- x/tokenmint/types/tx.pb.go | 2 +- x/vault/types/vault.pb.go | 2 +- 59 files changed, 189863 insertions(+), 2265 deletions(-) create mode 100644 client/.DS_Store create mode 100644 client/docs/.DS_Store create mode 100644 client/docs/config.json create mode 100644 client/docs/package.json create mode 100644 client/docs/static/.DS_Store create mode 100644 client/docs/static/openapi/index.html create mode 100644 client/docs/static/openapi/openapi.yaml create mode 100644 client/docs/static/swagger/favicon-16x16.png create mode 100644 client/docs/static/swagger/favicon-32x32.png create mode 100644 client/docs/static/swagger/index.html create mode 100644 client/docs/static/swagger/oauth2-redirect.html create mode 100644 client/docs/static/swagger/swagger-ui-bundle.js create mode 100644 client/docs/static/swagger/swagger-ui-standalone-preset.js create mode 100644 client/docs/static/swagger/swagger-ui.css create mode 100644 client/docs/static/swagger/swagger.yaml create mode 100644 client/docs/yarn.lock delete mode 100644 x/auction/keeper/grpc_query_params.go delete mode 100644 x/locker/client/cli/query_params.go delete mode 100644 x/locker/keeper/grpc_query_params.go diff --git a/.DS_Store b/.DS_Store index d353164520710213ffa5ab5383abd3fc3645f1bf..bacc1c67b0f3a36e66b5fca7728290b32c5b5fbd 100644 GIT binary patch delta 381 zcmZp1XmOa}FD%Kxz`)4BAi$8HoRpKF1mp>9ES$zZv4MXxI|mB~qvYgi0-C&R49N^R z44Dk640#MCldA;e^-x5T%8Lu2y0<44xqpRo1r-iqFo;&CBnc93Ubu+XZwDialk) zMR_^-dFdcGPu>G|R|-Qu&~4d3mlaKZCm^3G#DFBipbM1CXUJtJ0FuQ(HF^w{Kwge# z4#Kw#3`|#n=IQ+h10aimfs4TfVJbr!(BC->si=CGoj3mz=wwo4V<-a$3dqtTG$k8B d#%`_=W@p@32Hwr=94s99AQh%S(G(!` zK~}|3#GuRI%;3uq%n$-(IRZ(4AWxUUh`|7ejesmeAOw-d3<_Yj6;RZi!3rpE$)E?s z#z2-KgBg(2W5{ACX2@sAo7^ZQ%&GSu3>X+D^9X284iHq6WC7Zq&ydVe?3t6FoRpKF m1auY9(Tv@jxrI8JCLa*_Gr32maASoq^JaF5Z!8-t*qH%uiZB2G diff --git a/.gitignore b/.gitignore index fab60f80c..9935df494 100644 --- a/.gitignore +++ b/.gitignore @@ -7,4 +7,5 @@ /cover.out /bin/ __pycache__ -*.pyc \ No newline at end of file +*.pyc +**/*/node_modules \ No newline at end of file diff --git a/Makefile b/Makefile index 4b8577148..076d88ac0 100644 --- a/Makefile +++ b/Makefile @@ -182,9 +182,21 @@ protoVer=v0.1 containerProtoGenSwagger=comdex-proto-gen-swagger-$(protoVer) proto-swagger-gen: - @echo "Generating Protobuf Swagger" - @if docker ps -a --format '{{.Names}}' | grep -Eq "^${containerProtoGenSwagger}$$"; then docker start -a $(containerProtoGenSwagger); else docker run --name $(containerProtoGenSwagger) -v $(CURDIR):/workspace --workdir /workspace $(protoImageName) \ - sh ./scripts/protoc_swagger_gen.sh; fi + @echo + @echo "=========== Generating Docs ============" + @echo + ./scripts/protoc_swagger_gen.sh + + @if [ -n "$(git status --porcelain)" ]; then \ + echo "\033[91mSwagger docs are out of sync!!!\033[0m";\ + exit 1;\ + else \ + echo "\033[92mSwagger docs are in sync\033[0m";\ + fi + @echo + @echo "=========== Docs Generation Complete ============" + @echo +.PHONY: docs test-sim-nondeterminism: @echo "Running non-determinism test..." diff --git a/client/.DS_Store b/client/.DS_Store new file mode 100644 index 0000000000000000000000000000000000000000..d8878bfe1b87a02ffb6fb963603d665c0f647e7b GIT binary patch literal 6148 zcmeHKO-sW-5Z!I7Z74zyiXH=Ai?%3A@e*r2cr~I2mD)5#gE3p0)*ebBSN%i&6aS9B z+1(cWIte0W24>%6c4ou84Z9g3glvw&x)2p1L<>G`QQGVbF6rq^sW_O~o!~s`joX#gBb5w0QPLaegedGGM!=i(_O4m;q*BAsMiTU8%f~)p1eG05k9#2Izcnp@g2r%%DCxFz6Nl zSb$p#Z2jvGbjbnqEM^Abfk=}IG^x_I7}9nQ(xhYFv+q2j!Bovn! loTtFhS21GgD&Bx literal 0 HcmV?d00001 diff --git a/client/docs/.DS_Store b/client/docs/.DS_Store new file mode 100644 index 0000000000000000000000000000000000000000..b46f54065f806ec8cf889ac107e5608dbbb3a29f GIT binary patch literal 6148 zcmeHK!EVz)5S>j!9V;N^04kSCmbg}-5eO7h4Cd)2NCf`3igt z$NmYw18;UWs7?w;gy@bm`)0@UyxF&o*GoiVFi(3#9U^MM85=&DD~zwRZ&|};JfP6` z$Y?@c`a}h(t!kI}7Zu>OYtsnpCFuiQUO)LfSED3X2`c#UID&V7XhTGF6AVQujcG`y zI+|0CUa`UZw#A!Lj1f=JPEfyoUN*)P`y0GnJXIw)C4S|oK8E=Er`lvuOzk`_l4+h5 z<>BFX(b#F;*!4W$YkTjak7^N>aXBvr@$3!vUMiI*>o`tcW#h%LbNi{1Wt_?JOcSzn zjFPvnGnuNzK+R=ZXl`UK_7sHeM zRI1PT`7nV$k+xeF*YE{FZTe@?Oy){XkY|oh=MZLw1?gf56pLFIsKJ$&7Y|)$P64OD zbymQ>Zd&c@EP|W6Q@|;3r2_nZ2;hvN#mb<5b)eBl0ALeoZHW0}kvW0I&|+l}S75?W zfrcvV5knX{@`0@jEmj5%orFDn2s^T{ClsMa$Nd9cP9ikuTBm?hpsv7<>2`SkfA;(H zf1TudP64ODf2DwE9!JLmOv&!8Ta)9xHh{l}vvFNz@D~Mv-ilGnTk&1EHsk{ifT6|8 SATlubA)sY&jZ@&SD)18!1&?O{ literal 0 HcmV?d00001 diff --git a/client/docs/config.json b/client/docs/config.json new file mode 100644 index 000000000..af019070f --- /dev/null +++ b/client/docs/config.json @@ -0,0 +1,218 @@ +{ + "swagger": "2.0", + "info": { + "title": "comdex - gRPC Gateway docs", + "description": "A REST interface for state queries, legacy transactions", + "version": "1.0.0" + }, + "apis": [ + { + "url": "../../tmp-swagger-gen/comdex/asset/v1beta1/query.swagger.json", + "operationIds": { + "rename": { + "Params": "AssetParams" + } + } + }, + { + "url": "../../tmp-swagger-gen/comdex/auction/v1beta1/query.swagger.json", + "operationIds": { + "rename": { + "Params": "auctionParams" + } + } + }, + { + "url": "../../tmp-swagger-gen/comdex/bandoracle/v1beta1/query.swagger.json", + "operationIds": { + "rename": { + "Params": "bandoracleParams" + } + } + }, + { + "url": "../../tmp-swagger-gen/comdex/collector/v1beta1/query.swagger.json", + "operationIds": { + "rename": { + "Params": "collectorParams" + } + } + }, + { + "url": "../../tmp-swagger-gen/comdex/esm/v1beta1/query.swagger.json", + "operationIds": { + "rename": { + "Params": "esmParams" + } + } + }, + { + "url": "../../tmp-swagger-gen/comdex/lend/v1beta1/query.swagger.json", + "operationIds": { + "rename": { + "Params": "lendParams" + } + } + }, + { + "url": "../../tmp-swagger-gen/comdex/liquidity/v1beta1/query.swagger.json", + "operationIds": { + "rename": { + "Params": "liquidityParams" + } + } + }, + { + "url": "../../tmp-swagger-gen/comdex/locker/v1beta1/query.swagger.json", + "operationIds": { + "rename": { + "Params": "lockerParams" + } + } + }, + { + "url": "../../tmp-swagger-gen/comdex/market/v1beta1/query.swagger.json", + "operationIds": { + "rename": { + "Params": "marketParams" + } + } + }, + { + "url": "../../tmp-swagger-gen/comdex/rewards/v1beta1/query.swagger.json", + "operationIds": { + "rename": { + "Params": "rewardsParams" + } + } + }, + { + "url": "../../tmp-swagger-gen/comdex/tokenmint/v1beta1/query.swagger.json", + "operationIds": { + "rename": { + "Params": "tokenmintParams" + } + } + }, + { + "url": "../../tmp-swagger-gen/comdex/vault/v1beta1/query.swagger.json", + "operationIds": { + "rename": { + "Params": "vaultParams" + } + } + }, + { + "url": "../../tmp-swagger-gen/cosmos/auth/v1beta1/query.swagger.json", + "operationIds": { + "rename": { + "Params": "AuthParams" + } + } + }, + { + "url": "../../tmp-swagger-gen/cosmos/authz/v1beta1/query.swagger.json", + "operationIds": { + "rename": { + "Params": "AuthzParams" + } + } + }, + { + "url": "../../tmp-swagger-gen/cosmos/bank/v1beta1/query.swagger.json", + "operationIds": { + "rename": { + "Params": "BankParams" + } + } + }, + { + "url": "../../tmp-swagger-gen/cosmos/base/tendermint/v1beta1/query.swagger.json", + "operationIds": { + "rename": { + "Params": "BaseParams" + } + } + }, + { + "url": "../../tmp-swagger-gen/cosmos/distribution/v1beta1/query.swagger.json", + "operationIds": { + "rename": { + "Params": "DistributionParams" + } + } + }, + { + "url": "../../tmp-swagger-gen/cosmos/evidence/v1beta1/query.swagger.json", + "operationIds": { + "rename": { + "Params": "EvidenceParams" + } + } + }, + { + "url": "../../tmp-swagger-gen/cosmos/feegrant/v1beta1/query.swagger.json", + "operationIds": { + "rename": { + "Params": "FeegrantParams" + } + } + }, + { + "url": "../../tmp-swagger-gen/cosmos/gov/v1beta1/query.swagger.json", + "operationIds": { + "rename": { + "Params": "GovParams" + } + } + }, + { + "url": "../../tmp-swagger-gen/cosmos/mint/v1beta1/query.swagger.json", + "operationIds": { + "rename": { + "Params": "CosmosMintParams" + } + } + }, + { + "url": "../../tmp-swagger-gen/cosmos/params/v1beta1/query.swagger.json", + "operationIds": { + "rename": { + "Params": "Params" + } + } + }, + { + "url": "../../tmp-swagger-gen/cosmos/slashing/v1beta1/query.swagger.json", + "operationIds": { + "rename": { + "Params": "SlashingParams" + } + } + }, + { + "url": "../../tmp-swagger-gen/cosmos/staking/v1beta1/query.swagger.json", + "operationIds": { + "rename": { + "Params": "StakingParams", + "Pool": "StakingPool", + "DelegatorValidators": "StakingDelegatorValidators" + } + } + }, + { + "url": "../../tmp-swagger-gen/cosmos/tx/v1beta1/service.swagger.json", + "dereference": { + "circular": "ignore" + } + }, + { + "url": "../../tmp-swagger-gen/cosmos/upgrade/v1beta1/query.swagger.json", + "operationIds": { + "rename": { + "Params": "UpgradeParams" + } + } + } + ] +} diff --git a/client/docs/package.json b/client/docs/package.json new file mode 100644 index 000000000..baf109a50 --- /dev/null +++ b/client/docs/package.json @@ -0,0 +1,16 @@ +{ + "name": "docs", + "version": "1.0.0", + "main": "index.js", + "license": "MIT", + "scripts": { + "combine": "swagger-combine ./config.json -o static/swagger/swagger.yaml -f yaml --continueOnConflictingPaths --includeDefinitions", + "convert": "swagger2openapi static/swagger/swagger.yaml --outfile static/openapi/openapi.yaml --yaml", + "build": "redoc-cli bundle static/openapi/openapi.yaml --output ./static/openapi/index.html" + }, + "dependencies": { + "redoc-cli": "^0.9.12", + "swagger-combine": "^1.4.0", + "swagger2openapi": "^7.0.3" + } +} diff --git a/client/docs/static/.DS_Store b/client/docs/static/.DS_Store new file mode 100644 index 0000000000000000000000000000000000000000..f73f3ddb97768e5e3341fe25384151d555bf7c99 GIT binary patch literal 6148 zcmeHKO;6iE5SO&OCSNJm= z`%n6J%A4Iy1WmcpsG6~6-|Xy+y?(pe499l8CZZOUvEifmi*P&ZiZq<32~_4C zF^wqunCpuqUx^mSIx@gx=aI&^rBu*^@zV)fcv>7m-~BcMYb83V%2AS==%2|b&&tW( z-Y?bIXuf#qdA_&lokdr=iYD=7TK3}cSFU~1I!_jMoP5sGYS4altcyvU73tU{WWy98 z-@atUP**)YErzAZjckMOxBNl-&209*yAvE9%y)uWXTRHl-R;ije(Uwy-4CaO@A-A1 zZ%nsIVTu~ra=3t77=KXkBN`XEE-ul+Sss;Cft*V`DUIy}UlMeOh=&BBDk2OB1H!<1 zGvF4)*5-P5Q+g*12m}9s0bU;hC}ZfbwrG|P6y^#5 + + + + + comdex - gRPC Gateway docs + + + + + + + + + +

comdex - gRPC Gateway docs (1.0.0)

Download OpenAPI specification:Download

A REST interface for state queries, legacy transactions

+

Query

QueryApp

path Parameters
id
required
string <uint64>

Responses

QueryApps

query Parameters
pagination.key
string <byte>

key is a value returned in PageResponse.next_key to begin +querying the next page most efficiently. Only one of offset or key +should be set.

+
pagination.offset
string <uint64>

offset is a numeric offset that can be used when key is unavailable. +It is less efficient than using key. Only one of offset or key should +be set.

+
pagination.limit
string <uint64>

limit is the total number of results to be returned in the result page. +If left empty it will default to a value to be set by each app.

+
pagination.count_total
boolean

count_total is set to true to indicate that the result set should include +a count of the total number of items available for pagination in UIs. +count_total is only respected when offset is used. It is ignored when key +is set.

+
pagination.reverse
boolean

reverse is set to true if results are to be returned in the descending +order.

+

Responses

QueryAssets

query Parameters
pagination.key
string <byte>

key is a value returned in PageResponse.next_key to begin +querying the next page most efficiently. Only one of offset or key +should be set.

+
pagination.offset
string <uint64>

offset is a numeric offset that can be used when key is unavailable. +It is less efficient than using key. Only one of offset or key should +be set.

+
pagination.limit
string <uint64>

limit is the total number of results to be returned in the result page. +If left empty it will default to a value to be set by each app.

+
pagination.count_total
boolean

count_total is set to true to indicate that the result set should include +a count of the total number of items available for pagination in UIs. +count_total is only respected when offset is used. It is ignored when key +is set.

+
pagination.reverse
boolean

reverse is set to true if results are to be returned in the descending +order.

+

Responses

QueryAsset

path Parameters
id
required
string <uint64>

Responses

QueryAllExtendedPairStableVaultsByApp

path Parameters
app_id
required
string <uint64>
query Parameters
pagination.key
string <byte>

key is a value returned in PageResponse.next_key to begin +querying the next page most efficiently. Only one of offset or key +should be set.

+
pagination.offset
string <uint64>

offset is a numeric offset that can be used when key is unavailable. +It is less efficient than using key. Only one of offset or key should +be set.

+
pagination.limit
string <uint64>

limit is the total number of results to be returned in the result page. +If left empty it will default to a value to be set by each app.

+
pagination.count_total
boolean

count_total is set to true to indicate that the result set should include +a count of the total number of items available for pagination in UIs. +count_total is only respected when offset is used. It is ignored when key +is set.

+
pagination.reverse
boolean

reverse is set to true if results are to be returned in the descending +order.

+

Responses

QueryExtendedPairVaultsByAppWithoutStable

path Parameters
app_id
required
string <uint64>
query Parameters
pagination.key
string <byte>

key is a value returned in PageResponse.next_key to begin +querying the next page most efficiently. Only one of offset or key +should be set.

+
pagination.offset
string <uint64>

offset is a numeric offset that can be used when key is unavailable. +It is less efficient than using key. Only one of offset or key should +be set.

+
pagination.limit
string <uint64>

limit is the total number of results to be returned in the result page. +If left empty it will default to a value to be set by each app.

+
pagination.count_total
boolean

count_total is set to true to indicate that the result set should include +a count of the total number of items available for pagination in UIs. +count_total is only respected when offset is used. It is ignored when key +is set.

+
pagination.reverse
boolean

reverse is set to true if results are to be returned in the descending +order.

+

Responses

QueryAllExtendedPairStableVaultsIDByApp

path Parameters
app_id
required
string <uint64>
query Parameters
pagination.key
string <byte>

key is a value returned in PageResponse.next_key to begin +querying the next page most efficiently. Only one of offset or key +should be set.

+
pagination.offset
string <uint64>

offset is a numeric offset that can be used when key is unavailable. +It is less efficient than using key. Only one of offset or key should +be set.

+
pagination.limit
string <uint64>

limit is the total number of results to be returned in the result page. +If left empty it will default to a value to be set by each app.

+
pagination.count_total
boolean

count_total is set to true to indicate that the result set should include +a count of the total number of items available for pagination in UIs. +count_total is only respected when offset is used. It is ignored when key +is set.

+
pagination.reverse
boolean

reverse is set to true if results are to be returned in the descending +order.

+

Responses

QueryExtendedPairVault

path Parameters
id
required
string <uint64>

Responses

QueryAllExtendedPairVaults

query Parameters
pagination.key
string <byte>

key is a value returned in PageResponse.next_key to begin +querying the next page most efficiently. Only one of offset or key +should be set.

+
pagination.offset
string <uint64>

offset is a numeric offset that can be used when key is unavailable. +It is less efficient than using key. Only one of offset or key should +be set.

+
pagination.limit
string <uint64>

limit is the total number of results to be returned in the result page. +If left empty it will default to a value to be set by each app.

+
pagination.count_total
boolean

count_total is set to true to indicate that the result set should include +a count of the total number of items available for pagination in UIs. +count_total is only respected when offset is used. It is ignored when key +is set.

+
pagination.reverse
boolean

reverse is set to true if results are to be returned in the descending +order.

+

Responses

QueryGovTokenByApp

path Parameters
app_id
required
string <uint64>

Responses

QueryAssetPairs

query Parameters
pagination.key
string <byte>

key is a value returned in PageResponse.next_key to begin +querying the next page most efficiently. Only one of offset or key +should be set.

+
pagination.offset
string <uint64>

offset is a numeric offset that can be used when key is unavailable. +It is less efficient than using key. Only one of offset or key should +be set.

+
pagination.limit
string <uint64>

limit is the total number of results to be returned in the result page. +If left empty it will default to a value to be set by each app.

+
pagination.count_total
boolean

count_total is set to true to indicate that the result set should include +a count of the total number of items available for pagination in UIs. +count_total is only respected when offset is used. It is ignored when key +is set.

+
pagination.reverse
boolean

reverse is set to true if results are to be returned in the descending +order.

+

Responses

QueryAssetPair

path Parameters
id
required
string <uint64>

Responses

QueryAllExtendedPairVaultsByApp

path Parameters
app_id
required
string <uint64>
query Parameters
pagination.key
string <byte>

key is a value returned in PageResponse.next_key to begin +querying the next page most efficiently. Only one of offset or key +should be set.

+
pagination.offset
string <uint64>

offset is a numeric offset that can be used when key is unavailable. +It is less efficient than using key. Only one of offset or key should +be set.

+
pagination.limit
string <uint64>

limit is the total number of results to be returned in the result page. +If left empty it will default to a value to be set by each app.

+
pagination.count_total
boolean

count_total is set to true to indicate that the result set should include +a count of the total number of items available for pagination in UIs. +count_total is only respected when offset is used. It is ignored when key +is set.

+
pagination.reverse
boolean

reverse is set to true if results are to be returned in the descending +order.

+

Responses

QueryDutchAuctionParams

path Parameters
app_id
required
string <uint64>

Responses

QueryDebtAuction

path Parameters
app_id
required
string <uint64>
auction_mapping_id
required
string <uint64>
auction_id
required
string <uint64>
history
required
boolean

Responses

QueryDebtAuctions

path Parameters
app_id
required
string <uint64>
history
required
boolean
query Parameters
pagination.key
string <byte>

key is a value returned in PageResponse.next_key to begin +querying the next page most efficiently. Only one of offset or key +should be set.

+
pagination.offset
string <uint64>

offset is a numeric offset that can be used when key is unavailable. +It is less efficient than using key. Only one of offset or key should +be set.

+
pagination.limit
string <uint64>

limit is the total number of results to be returned in the result page. +If left empty it will default to a value to be set by each app.

+
pagination.count_total
boolean

count_total is set to true to indicate that the result set should include +a count of the total number of items available for pagination in UIs. +count_total is only respected when offset is used. It is ignored when key +is set.

+
pagination.reverse
boolean

reverse is set to true if results are to be returned in the descending +order.

+

Responses

QueryDebtBiddings

path Parameters
bidder
required
string
app_id
required
string <uint64>
history
required
boolean
query Parameters
pagination.key
string <byte>

key is a value returned in PageResponse.next_key to begin +querying the next page most efficiently. Only one of offset or key +should be set.

+
pagination.offset
string <uint64>

offset is a numeric offset that can be used when key is unavailable. +It is less efficient than using key. Only one of offset or key should +be set.

+
pagination.limit
string <uint64>

limit is the total number of results to be returned in the result page. +If left empty it will default to a value to be set by each app.

+
pagination.count_total
boolean

count_total is set to true to indicate that the result set should include +a count of the total number of items available for pagination in UIs. +count_total is only respected when offset is used. It is ignored when key +is set.

+
pagination.reverse
boolean

reverse is set to true if results are to be returned in the descending +order.

+

Responses

QueryDutchAuction

path Parameters
app_id
required
string <uint64>
auction_mapping_id
required
string <uint64>
auction_id
required
string <uint64>
history
required
boolean

Responses

QueryDutchAuctions

path Parameters
app_id
required
string <uint64>
history
required
boolean
query Parameters
pagination.key
string <byte>

key is a value returned in PageResponse.next_key to begin +querying the next page most efficiently. Only one of offset or key +should be set.

+
pagination.offset
string <uint64>

offset is a numeric offset that can be used when key is unavailable. +It is less efficient than using key. Only one of offset or key should +be set.

+
pagination.limit
string <uint64>

limit is the total number of results to be returned in the result page. +If left empty it will default to a value to be set by each app.

+
pagination.count_total
boolean

count_total is set to true to indicate that the result set should include +a count of the total number of items available for pagination in UIs. +count_total is only respected when offset is used. It is ignored when key +is set.

+
pagination.reverse
boolean

reverse is set to true if results are to be returned in the descending +order.

+

Responses

QueryDutchBiddings

path Parameters
bidder
required
string
app_id
required
string <uint64>
history
required
boolean
query Parameters
pagination.key
string <byte>

key is a value returned in PageResponse.next_key to begin +querying the next page most efficiently. Only one of offset or key +should be set.

+
pagination.offset
string <uint64>

offset is a numeric offset that can be used when key is unavailable. +It is less efficient than using key. Only one of offset or key should +be set.

+
pagination.limit
string <uint64>

limit is the total number of results to be returned in the result page. +If left empty it will default to a value to be set by each app.

+
pagination.count_total
boolean

count_total is set to true to indicate that the result set should include +a count of the total number of items available for pagination in UIs. +count_total is only respected when offset is used. It is ignored when key +is set.

+
pagination.reverse
boolean

reverse is set to true if results are to be returned in the descending +order.

+

Responses

QueryDutchLendAuction

path Parameters
app_id
required
string <uint64>
auction_mapping_id
required
string <uint64>
auction_id
required
string <uint64>
history
required
boolean

Responses

QueryDutchLendAuctions

path Parameters
app_id
required
string <uint64>
history
required
boolean
query Parameters
pagination.key
string <byte>

key is a value returned in PageResponse.next_key to begin +querying the next page most efficiently. Only one of offset or key +should be set.

+
pagination.offset
string <uint64>

offset is a numeric offset that can be used when key is unavailable. +It is less efficient than using key. Only one of offset or key should +be set.

+
pagination.limit
string <uint64>

limit is the total number of results to be returned in the result page. +If left empty it will default to a value to be set by each app.

+
pagination.count_total
boolean

count_total is set to true to indicate that the result set should include +a count of the total number of items available for pagination in UIs. +count_total is only respected when offset is used. It is ignored when key +is set.

+
pagination.reverse
boolean

reverse is set to true if results are to be returned in the descending +order.

+

Responses

QueryDutchLendBiddings

path Parameters
bidder
required
string
app_id
required
string <uint64>
history
required
boolean
query Parameters
pagination.key
string <byte>

key is a value returned in PageResponse.next_key to begin +querying the next page most efficiently. Only one of offset or key +should be set.

+
pagination.offset
string <uint64>

offset is a numeric offset that can be used when key is unavailable. +It is less efficient than using key. Only one of offset or key should +be set.

+
pagination.limit
string <uint64>

limit is the total number of results to be returned in the result page. +If left empty it will default to a value to be set by each app.

+
pagination.count_total
boolean

count_total is set to true to indicate that the result set should include +a count of the total number of items available for pagination in UIs. +count_total is only respected when offset is used. It is ignored when key +is set.

+
pagination.reverse
boolean

reverse is set to true if results are to be returned in the descending +order.

+

Responses

QueryFilterDutchAuctions

path Parameters
app_id
required
string <uint64>
denom
required
Array of strings non-empty
history
required
boolean
query Parameters
pagination.key
string <byte>

key is a value returned in PageResponse.next_key to begin +querying the next page most efficiently. Only one of offset or key +should be set.

+
pagination.offset
string <uint64>

offset is a numeric offset that can be used when key is unavailable. +It is less efficient than using key. Only one of offset or key should +be set.

+
pagination.limit
string <uint64>

limit is the total number of results to be returned in the result page. +If left empty it will default to a value to be set by each app.

+
pagination.count_total
boolean

count_total is set to true to indicate that the result set should include +a count of the total number of items available for pagination in UIs. +count_total is only respected when offset is used. It is ignored when key +is set.

+
pagination.reverse
boolean

reverse is set to true if results are to be returned in the descending +order.

+

Responses

QueryProtocolStatistics

path Parameters
app_id
required
string <uint64>
query Parameters
pagination.key
string <byte>

key is a value returned in PageResponse.next_key to begin +querying the next page most efficiently. Only one of offset or key +should be set.

+
pagination.offset
string <uint64>

offset is a numeric offset that can be used when key is unavailable. +It is less efficient than using key. Only one of offset or key should +be set.

+
pagination.limit
string <uint64>

limit is the total number of results to be returned in the result page. +If left empty it will default to a value to be set by each app.

+
pagination.count_total
boolean

count_total is set to true to indicate that the result set should include +a count of the total number of items available for pagination in UIs. +count_total is only respected when offset is used. It is ignored when key +is set.

+
pagination.reverse
boolean

reverse is set to true if results are to be returned in the descending +order.

+

Responses

QuerySurplusAuction

path Parameters
app_id
required
string <uint64>
auction_mapping_id
required
string <uint64>
auction_id
required
string <uint64>
history
required
boolean

Responses

QuerySurplusAuctions

path Parameters
app_id
required
string <uint64>
history
required
boolean
query Parameters
pagination.key
string <byte>

key is a value returned in PageResponse.next_key to begin +querying the next page most efficiently. Only one of offset or key +should be set.

+
pagination.offset
string <uint64>

offset is a numeric offset that can be used when key is unavailable. +It is less efficient than using key. Only one of offset or key should +be set.

+
pagination.limit
string <uint64>

limit is the total number of results to be returned in the result page. +If left empty it will default to a value to be set by each app.

+
pagination.count_total
boolean

count_total is set to true to indicate that the result set should include +a count of the total number of items available for pagination in UIs. +count_total is only respected when offset is used. It is ignored when key +is set.

+
pagination.reverse
boolean

reverse is set to true if results are to be returned in the descending +order.

+

Responses

QuerySurplusBiddings

path Parameters
bidder
required
string
app_id
required
string <uint64>
history
required
boolean
query Parameters
pagination.key
string <byte>

key is a value returned in PageResponse.next_key to begin +querying the next page most efficiently. Only one of offset or key +should be set.

+
pagination.offset
string <uint64>

offset is a numeric offset that can be used when key is unavailable. +It is less efficient than using key. Only one of offset or key should +be set.

+
pagination.limit
string <uint64>

limit is the total number of results to be returned in the result page. +If left empty it will default to a value to be set by each app.

+
pagination.count_total
boolean

count_total is set to true to indicate that the result set should include +a count of the total number of items available for pagination in UIs. +count_total is only respected when offset is used. It is ignored when key +is set.

+
pagination.reverse
boolean

reverse is set to true if results are to be returned in the descending +order.

+

Responses

DiscardData

Responses

FetchPriceData

Responses

FetchPriceResult

path Parameters
request_id
required
string <int64>

Responses

LastFetchPriceID

Responses

bandoracleParams

Responses

Parameters queries the parameters of the module.

Responses

QueryAuctionMappingForAppAndAsset

path Parameters
app_id
required
string <uint64>
asset_id
required
string <uint64>

Responses

QueryCollectorDataByAppAndAsset

path Parameters
app_id
required
string <uint64>
asset_id
required
string <uint64>

Responses

QueryCollectorLookupByAppAndAsset

path Parameters
app_id
required
string <uint64>
asset_id
required
string <uint64>

Responses

QueryCollectorLookupByApp

path Parameters
app_id
required
string <uint64>
query Parameters
pagination.key
string <byte>

key is a value returned in PageResponse.next_key to begin +querying the next page most efficiently. Only one of offset or key +should be set.

+
pagination.offset
string <uint64>

offset is a numeric offset that can be used when key is unavailable. +It is less efficient than using key. Only one of offset or key should +be set.

+
pagination.limit
string <uint64>

limit is the total number of results to be returned in the result page. +If left empty it will default to a value to be set by each app.

+
pagination.count_total
boolean

count_total is set to true to indicate that the result set should include +a count of the total number of items available for pagination in UIs. +count_total is only respected when offset is used. It is ignored when key +is set.

+
pagination.reverse
boolean

reverse is set to true if results are to be returned in the descending +order.

+

Responses

QueryNetFeeCollectedForAppAndAsset

path Parameters
app_id
required
string <uint64>
asset_id
required
string <uint64>

Responses

QueryAssetDataAfterCoolOff

path Parameters
app_id
required
string <uint64>

Responses

QueryCurrentDepositStats

path Parameters
id
required
string <uint64>

Responses

QueryDataAfterCoolOff

path Parameters
id
required
string <uint64>

Responses

QueryESMStatus

path Parameters
id
required
string <uint64>

Responses

QueryESMTriggerParams

path Parameters
id
required
string <uint64>

Responses

QuerySnapshotPrice

path Parameters
app_id
required
string <uint64>
asset_id
required
string <uint64>

Responses

QueryUsersDepositMapping

path Parameters
id
required
string <uint64>
depositor
required
string

Responses

esmParams

Responses

QueryAllReserveStats

path Parameters
asset_id
required
string <uint64>

Responses

QueryAssetRatesParam

path Parameters
id
required
string <uint64>

Responses

QueryAssetRatesParams

query Parameters
pagination.key
string <byte>

key is a value returned in PageResponse.next_key to begin +querying the next page most efficiently. Only one of offset or key +should be set.

+
pagination.offset
string <uint64>

offset is a numeric offset that can be used when key is unavailable. +It is less efficient than using key. Only one of offset or key should +be set.

+
pagination.limit
string <uint64>

limit is the total number of results to be returned in the result page. +If left empty it will default to a value to be set by each app.

+
pagination.count_total
boolean

count_total is set to true to indicate that the result set should include +a count of the total number of items available for pagination in UIs. +count_total is only respected when offset is used. It is ignored when key +is set.

+
pagination.reverse
boolean

reverse is set to true if results are to be returned in the descending +order.

+

Responses

QueryAssetToPairMappings

query Parameters
pagination.key
string <byte>

key is a value returned in PageResponse.next_key to begin +querying the next page most efficiently. Only one of offset or key +should be set.

+
pagination.offset
string <uint64>

offset is a numeric offset that can be used when key is unavailable. +It is less efficient than using key. Only one of offset or key should +be set.

+
pagination.limit
string <uint64>

limit is the total number of results to be returned in the result page. +If left empty it will default to a value to be set by each app.

+
pagination.count_total
boolean

count_total is set to true to indicate that the result set should include +a count of the total number of items available for pagination in UIs. +count_total is only respected when offset is used. It is ignored when key +is set.

+
pagination.reverse
boolean

reverse is set to true if results are to be returned in the descending +order.

+

Responses

QueryAssetToPairMapping

path Parameters
asset_id
required
string <uint64>
pool_id
required
string <uint64>

Responses

QueryAuctionParams

path Parameters
app_id
required
string <uint64>

Responses

QueryBorrowInterest

Responses

QueryBorrows

query Parameters
pagination.key
string <byte>

key is a value returned in PageResponse.next_key to begin +querying the next page most efficiently. Only one of offset or key +should be set.

+
pagination.offset
string <uint64>

offset is a numeric offset that can be used when key is unavailable. +It is less efficient than using key. Only one of offset or key should +be set.

+
pagination.limit
string <uint64>

limit is the total number of results to be returned in the result page. +If left empty it will default to a value to be set by each app.

+
pagination.count_total
boolean

count_total is set to true to indicate that the result set should include +a count of the total number of items available for pagination in UIs. +count_total is only respected when offset is used. It is ignored when key +is set.

+
pagination.reverse
boolean

reverse is set to true if results are to be returned in the descending +order.

+

Responses

QueryBorrow

path Parameters
id
required
string <uint64>

Responses

QueryAllBorrowByOwner

path Parameters
owner
required
string
query Parameters
pagination.key
string <byte>

key is a value returned in PageResponse.next_key to begin +querying the next page most efficiently. Only one of offset or key +should be set.

+
pagination.offset
string <uint64>

offset is a numeric offset that can be used when key is unavailable. +It is less efficient than using key. Only one of offset or key should +be set.

+
pagination.limit
string <uint64>

limit is the total number of results to be returned in the result page. +If left empty it will default to a value to be set by each app.

+
pagination.count_total
boolean

count_total is set to true to indicate that the result set should include +a count of the total number of items available for pagination in UIs. +count_total is only respected when offset is used. It is ignored when key +is set.

+
pagination.reverse
boolean

reverse is set to true if results are to be returned in the descending +order.

+

Responses

QueryAllBorrowByOwnerAndPool

path Parameters
owner
required
string
pool_id
required
string <uint64>
query Parameters
pagination.key
string <byte>

key is a value returned in PageResponse.next_key to begin +querying the next page most efficiently. Only one of offset or key +should be set.

+
pagination.offset
string <uint64>

offset is a numeric offset that can be used when key is unavailable. +It is less efficient than using key. Only one of offset or key should +be set.

+
pagination.limit
string <uint64>

limit is the total number of results to be returned in the result page. +If left empty it will default to a value to be set by each app.

+
pagination.count_total
boolean

count_total is set to true to indicate that the result set should include +a count of the total number of items available for pagination in UIs. +count_total is only respected when offset is used. It is ignored when key +is set.

+
pagination.reverse
boolean

reverse is set to true if results are to be returned in the descending +order.

+

Responses

QueryFundModBalByAssetPool

path Parameters
asset_id
required
string <uint64>
pool_id
required
string <uint64>

Responses

QueryFundModBal

Responses

QueryFundReserveBal

Responses

QueryLendInterest

Responses

QueryLends

query Parameters
pagination.key
string <byte>

key is a value returned in PageResponse.next_key to begin +querying the next page most efficiently. Only one of offset or key +should be set.

+
pagination.offset
string <uint64>

offset is a numeric offset that can be used when key is unavailable. +It is less efficient than using key. Only one of offset or key should +be set.

+
pagination.limit
string <uint64>

limit is the total number of results to be returned in the result page. +If left empty it will default to a value to be set by each app.

+
pagination.count_total
boolean

count_total is set to true to indicate that the result set should include +a count of the total number of items available for pagination in UIs. +count_total is only respected when offset is used. It is ignored when key +is set.

+
pagination.reverse
boolean

reverse is set to true if results are to be returned in the descending +order.

+

Responses

QueryLend

path Parameters
id
required
string <uint64>

Responses

QueryAllLendByOwner

path Parameters
owner
required
string
query Parameters
pagination.key
string <byte>

key is a value returned in PageResponse.next_key to begin +querying the next page most efficiently. Only one of offset or key +should be set.

+
pagination.offset
string <uint64>

offset is a numeric offset that can be used when key is unavailable. +It is less efficient than using key. Only one of offset or key should +be set.

+
pagination.limit
string <uint64>

limit is the total number of results to be returned in the result page. +If left empty it will default to a value to be set by each app.

+
pagination.count_total
boolean

count_total is set to true to indicate that the result set should include +a count of the total number of items available for pagination in UIs. +count_total is only respected when offset is used. It is ignored when key +is set.

+
pagination.reverse
boolean

reverse is set to true if results are to be returned in the descending +order.

+

Responses

QueryAllLendByOwnerAndPool

path Parameters
owner
required
string
pool_id
required
string <uint64>
query Parameters
pagination.key
string <byte>

key is a value returned in PageResponse.next_key to begin +querying the next page most efficiently. Only one of offset or key +should be set.

+
pagination.offset
string <uint64>

offset is a numeric offset that can be used when key is unavailable. +It is less efficient than using key. Only one of offset or key should +be set.

+
pagination.limit
string <uint64>

limit is the total number of results to be returned in the result page. +If left empty it will default to a value to be set by each app.

+
pagination.count_total
boolean

count_total is set to true to indicate that the result set should include +a count of the total number of items available for pagination in UIs. +count_total is only respected when offset is used. It is ignored when key +is set.

+
pagination.reverse
boolean

reverse is set to true if results are to be returned in the descending +order.

+

Responses

QueryModuleBalance

path Parameters
pool_id
required
string <uint64>

Responses

QueryPairs

query Parameters
pagination.key
string <byte>

key is a value returned in PageResponse.next_key to begin +querying the next page most efficiently. Only one of offset or key +should be set.

+
pagination.offset
string <uint64>

offset is a numeric offset that can be used when key is unavailable. +It is less efficient than using key. Only one of offset or key should +be set.

+
pagination.limit
string <uint64>

limit is the total number of results to be returned in the result page. +If left empty it will default to a value to be set by each app.

+
pagination.count_total
boolean

count_total is set to true to indicate that the result set should include +a count of the total number of items available for pagination in UIs. +count_total is only respected when offset is used. It is ignored when key +is set.

+
pagination.reverse
boolean

reverse is set to true if results are to be returned in the descending +order.

+

Responses

QueryPair

path Parameters
id
required
string <uint64>

Responses

lendParams

Responses

QueryPoolAssetLBMapping

path Parameters
asset_id
required
string <uint64>
pool_id
required
string <uint64>

Responses

QueryPools

query Parameters
pagination.key
string <byte>

key is a value returned in PageResponse.next_key to begin +querying the next page most efficiently. Only one of offset or key +should be set.

+
pagination.offset
string <uint64>

offset is a numeric offset that can be used when key is unavailable. +It is less efficient than using key. Only one of offset or key should +be set.

+
pagination.limit
string <uint64>

limit is the total number of results to be returned in the result page. +If left empty it will default to a value to be set by each app.

+
pagination.count_total
boolean

count_total is set to true to indicate that the result set should include +a count of the total number of items available for pagination in UIs. +count_total is only respected when offset is used. It is ignored when key +is set.

+
pagination.reverse
boolean

reverse is set to true if results are to be returned in the descending +order.

+

Responses

QueryPool

path Parameters
id
required
string <uint64>

Responses

QueryReserveBuybackAssetData

path Parameters
asset_id
required
string <uint64>

Responses

TotalActiveAndQueuedPoolCoin returns the total number of active and queued farmed pool coins in each pool.

path Parameters
app_id
required
string <uint64>

Responses

DeserializePoolCoin splits poolcoin into the actual provided pool assets .

path Parameters
app_id
required
string <uint64>
pool_id
required
string <uint64>
pool_coin_amount
required
string <uint64>

Responses

FarmedPoolCoin returns the total farmed pool coins.

path Parameters
app_id
required
string <uint64>
pool_id
required
string <uint64>

Responses

Farmer returns deposited poolcoin for farming .

path Parameters
app_id
required
string <uint64>
pool_id
required
string <uint64>
farmer
required
string

Responses

GenericParams returns app parameters of the module.

path Parameters
app_id
required
string <uint64>

Responses

OrderBooks

path Parameters
app_id
required
string <uint64>
query Parameters
pair_ids
Array of strings <uint64>
price_unit_powers
Array of integers <int64>
num_ticks
integer <int64>

Responses

OrdersByOrderer returns orders made by an orderer.

path Parameters
app_id
required
string <uint64>
orderer
required
string
query Parameters
pair_id
string <uint64>
pagination.key
string <byte>

key is a value returned in PageResponse.next_key to begin +querying the next page most efficiently. Only one of offset or key +should be set.

+
pagination.offset
string <uint64>

offset is a numeric offset that can be used when key is unavailable. +It is less efficient than using key. Only one of offset or key should +be set.

+
pagination.limit
string <uint64>

limit is the total number of results to be returned in the result page. +If left empty it will default to a value to be set by each app.

+
pagination.count_total
boolean

count_total is set to true to indicate that the result set should include +a count of the total number of items available for pagination in UIs. +count_total is only respected when offset is used. It is ignored when key +is set.

+
pagination.reverse
boolean

reverse is set to true if results are to be returned in the descending +order.

+

Responses

Orders returns all orders within the pair.

path Parameters
app_id
required
string <uint64>
pair_id
required
string <uint64>
query Parameters
pagination.key
string <byte>

key is a value returned in PageResponse.next_key to begin +querying the next page most efficiently. Only one of offset or key +should be set.

+
pagination.offset
string <uint64>

offset is a numeric offset that can be used when key is unavailable. +It is less efficient than using key. Only one of offset or key should +be set.

+
pagination.limit
string <uint64>

limit is the total number of results to be returned in the result page. +If left empty it will default to a value to be set by each app.

+
pagination.count_total
boolean

count_total is set to true to indicate that the result set should include +a count of the total number of items available for pagination in UIs. +count_total is only respected when offset is used. It is ignored when key +is set.

+
pagination.reverse
boolean

reverse is set to true if results are to be returned in the descending +order.

+

Responses

Order returns the specific order.

path Parameters
app_id
required
string <uint64>
pair_id
required
string <uint64>
id
required
string <uint64>

Responses

Pairs returns all liquidity pairs.

path Parameters
app_id
required
string <uint64>
query Parameters
denoms
Array of strings
pagination.key
string <byte>

key is a value returned in PageResponse.next_key to begin +querying the next page most efficiently. Only one of offset or key +should be set.

+
pagination.offset
string <uint64>

offset is a numeric offset that can be used when key is unavailable. +It is less efficient than using key. Only one of offset or key should +be set.

+
pagination.limit
string <uint64>

limit is the total number of results to be returned in the result page. +If left empty it will default to a value to be set by each app.

+
pagination.count_total
boolean

count_total is set to true to indicate that the result set should include +a count of the total number of items available for pagination in UIs. +count_total is only respected when offset is used. It is ignored when key +is set.

+
pagination.reverse
boolean

reverse is set to true if results are to be returned in the descending +order.

+

Responses

Pair returns the specific pair.

path Parameters
app_id
required
string <uint64>
pair_id
required
string <uint64>

Responses

Params returns parameters of the module.

Responses

PoolIncentives provides insights about available pool incentives.

path Parameters
app_id
required
string <uint64>

Responses

Pools returns all liquidity pools.

path Parameters
app_id
required
string <uint64>
query Parameters
pair_id
string <uint64>
disabled
string
pagination.key
string <byte>

key is a value returned in PageResponse.next_key to begin +querying the next page most efficiently. Only one of offset or key +should be set.

+
pagination.offset
string <uint64>

offset is a numeric offset that can be used when key is unavailable. +It is less efficient than using key. Only one of offset or key should +be set.

+
pagination.limit
string <uint64>

limit is the total number of results to be returned in the result page. +If left empty it will default to a value to be set by each app.

+
pagination.count_total
boolean

count_total is set to true to indicate that the result set should include +a count of the total number of items available for pagination in UIs. +count_total is only respected when offset is used. It is ignored when key +is set.

+
pagination.reverse
boolean

reverse is set to true if results are to be returned in the descending +order.

+

Responses

PoolByPoolCoinDenom returns all pools that correspond to the pool coin denom.

path Parameters
app_id
required
string <uint64>
pool_coin_denom
required
string

Responses

PoolByReserveAddress returns all pools that correspond to the reserve account.

path Parameters
app_id
required
string <uint64>
reserve_address
required
string

Responses

Pool returns the specific liquidity pool.

path Parameters
app_id
required
string <uint64>
pool_id
required
string <uint64>

Responses

DepositRequests returns all deposit requests.

path Parameters
app_id
required
string <uint64>
pool_id
required
string <uint64>
query Parameters
pagination.key
string <byte>

key is a value returned in PageResponse.next_key to begin +querying the next page most efficiently. Only one of offset or key +should be set.

+
pagination.offset
string <uint64>

offset is a numeric offset that can be used when key is unavailable. +It is less efficient than using key. Only one of offset or key should +be set.

+
pagination.limit
string <uint64>

limit is the total number of results to be returned in the result page. +If left empty it will default to a value to be set by each app.

+
pagination.count_total
boolean

count_total is set to true to indicate that the result set should include +a count of the total number of items available for pagination in UIs. +count_total is only respected when offset is used. It is ignored when key +is set.

+
pagination.reverse
boolean

reverse is set to true if results are to be returned in the descending +order.

+

Responses

DepositRequest returns the specific deposit request.

path Parameters
app_id
required
string <uint64>
pool_id
required
string <uint64>
id
required
string <uint64>

Responses

WithdrawRequests returns all withdraw requests.

path Parameters
app_id
required
string <uint64>
pool_id
required
string <uint64>
query Parameters
pagination.key
string <byte>

key is a value returned in PageResponse.next_key to begin +querying the next page most efficiently. Only one of offset or key +should be set.

+
pagination.offset
string <uint64>

offset is a numeric offset that can be used when key is unavailable. +It is less efficient than using key. Only one of offset or key should +be set.

+
pagination.limit
string <uint64>

limit is the total number of results to be returned in the result page. +If left empty it will default to a value to be set by each app.

+
pagination.count_total
boolean

count_total is set to true to indicate that the result set should include +a count of the total number of items available for pagination in UIs. +count_total is only respected when offset is used. It is ignored when key +is set.

+
pagination.reverse
boolean

reverse is set to true if results are to be returned in the descending +order.

+

Responses

WithdrawRequest returns the specific withdraw request.

path Parameters
app_id
required
string <uint64>
pool_id
required
string <uint64>
id
required
string <uint64>

Responses

QueryLockerTotalDepositedByApp

path Parameters
app_id
required
string <uint64>
query Parameters
pagination.key
string <byte>

key is a value returned in PageResponse.next_key to begin +querying the next page most efficiently. Only one of offset or key +should be set.

+
pagination.offset
string <uint64>

offset is a numeric offset that can be used when key is unavailable. +It is less efficient than using key. Only one of offset or key should +be set.

+
pagination.limit
string <uint64>

limit is the total number of results to be returned in the result page. +If left empty it will default to a value to be set by each app.

+
pagination.count_total
boolean

count_total is set to true to indicate that the result set should include +a count of the total number of items available for pagination in UIs. +count_total is only respected when offset is used. It is ignored when key +is set.

+
pagination.reverse
boolean

reverse is set to true if results are to be returned in the descending +order.

+

Responses

QueryLockerLookupTableByAppAndAssetID

path Parameters
app_id
required
string <uint64>
asset_id
required
string <uint64>

Responses

QueryLockerLookupTableByApp

path Parameters
app_id
required
string <uint64>
query Parameters
pagination.key
string <byte>

key is a value returned in PageResponse.next_key to begin +querying the next page most efficiently. Only one of offset or key +should be set.

+
pagination.offset
string <uint64>

offset is a numeric offset that can be used when key is unavailable. +It is less efficient than using key. Only one of offset or key should +be set.

+
pagination.limit
string <uint64>

limit is the total number of results to be returned in the result page. +If left empty it will default to a value to be set by each app.

+
pagination.count_total
boolean

count_total is set to true to indicate that the result set should include +a count of the total number of items available for pagination in UIs. +count_total is only respected when offset is used. It is ignored when key +is set.

+
pagination.reverse
boolean

reverse is set to true if results are to be returned in the descending +order.

+

Responses

QueryLockerInfo

path Parameters
id
required
string <uint64>

Responses

QueryLockerByAppByOwner

path Parameters
app_id
required
string <uint64>
owner
required
string
query Parameters
pagination.key
string <byte>

key is a value returned in PageResponse.next_key to begin +querying the next page most efficiently. Only one of offset or key +should be set.

+
pagination.offset
string <uint64>

offset is a numeric offset that can be used when key is unavailable. +It is less efficient than using key. Only one of offset or key should +be set.

+
pagination.limit
string <uint64>

limit is the total number of results to be returned in the result page. +If left empty it will default to a value to be set by each app.

+
pagination.count_total
boolean

count_total is set to true to indicate that the result set should include +a count of the total number of items available for pagination in UIs. +count_total is only respected when offset is used. It is ignored when key +is set.

+
pagination.reverse
boolean

reverse is set to true if results are to be returned in the descending +order.

+

Responses

QueryLockerInfoByAppID

path Parameters
app_id
required
string <uint64>
query Parameters
pagination.key
string <byte>

key is a value returned in PageResponse.next_key to begin +querying the next page most efficiently. Only one of offset or key +should be set.

+
pagination.offset
string <uint64>

offset is a numeric offset that can be used when key is unavailable. +It is less efficient than using key. Only one of offset or key should +be set.

+
pagination.limit
string <uint64>

limit is the total number of results to be returned in the result page. +If left empty it will default to a value to be set by each app.

+
pagination.count_total
boolean

count_total is set to true to indicate that the result set should include +a count of the total number of items available for pagination in UIs. +count_total is only respected when offset is used. It is ignored when key +is set.

+
pagination.reverse
boolean

reverse is set to true if results are to be returned in the descending +order.

+

Responses

QueryLockersByAppToAssetID

path Parameters
app_id
required
string <uint64>
asset_id
required
string <uint64>
query Parameters
pagination.key
string <byte>

key is a value returned in PageResponse.next_key to begin +querying the next page most efficiently. Only one of offset or key +should be set.

+
pagination.offset
string <uint64>

offset is a numeric offset that can be used when key is unavailable. +It is less efficient than using key. Only one of offset or key should +be set.

+
pagination.limit
string <uint64>

limit is the total number of results to be returned in the result page. +If left empty it will default to a value to be set by each app.

+
pagination.count_total
boolean

count_total is set to true to indicate that the result set should include +a count of the total number of items available for pagination in UIs. +count_total is only respected when offset is used. It is ignored when key +is set.

+
pagination.reverse
boolean

reverse is set to true if results are to be returned in the descending +order.

+

Responses

QueryLockerTotalRewardsByAssetAppWise

path Parameters
app_id
required
string <uint64>
asset_id
required
string <uint64>

Responses

QueryOwnerLockerByAppIDbyOwner

path Parameters
app_id
required
string <uint64>
owner
required
string
query Parameters
pagination.key
string <byte>

key is a value returned in PageResponse.next_key to begin +querying the next page most efficiently. Only one of offset or key +should be set.

+
pagination.offset
string <uint64>

offset is a numeric offset that can be used when key is unavailable. +It is less efficient than using key. Only one of offset or key should +be set.

+
pagination.limit
string <uint64>

limit is the total number of results to be returned in the result page. +If left empty it will default to a value to be set by each app.

+
pagination.count_total
boolean

count_total is set to true to indicate that the result set should include +a count of the total number of items available for pagination in UIs. +count_total is only respected when offset is used. It is ignored when key +is set.

+
pagination.reverse
boolean

reverse is set to true if results are to be returned in the descending +order.

+

Responses

QueryOwnerLockerByAppToAssetIDbyOwner

path Parameters
app_id
required
string <uint64>
asset_id
required
string <uint64>
owner
required
string

Responses

QueryOwnerLockerOfAllAppsByOwner

path Parameters
owner
required
string
query Parameters
pagination.key
string <byte>

key is a value returned in PageResponse.next_key to begin +querying the next page most efficiently. Only one of offset or key +should be set.

+
pagination.offset
string <uint64>

offset is a numeric offset that can be used when key is unavailable. +It is less efficient than using key. Only one of offset or key should +be set.

+
pagination.limit
string <uint64>

limit is the total number of results to be returned in the result page. +If left empty it will default to a value to be set by each app.

+
pagination.count_total
boolean

count_total is set to true to indicate that the result set should include +a count of the total number of items available for pagination in UIs. +count_total is only respected when offset is used. It is ignored when key +is set.

+
pagination.reverse
boolean

reverse is set to true if results are to be returned in the descending +order.

+

Responses

QueryOwnerTxDetailsLockerOfAppByOwnerByAsset

path Parameters
app_id
required
string <uint64>
owner
required
string
asset_id
required
string <uint64>
query Parameters
pagination.key
string <byte>

key is a value returned in PageResponse.next_key to begin +querying the next page most efficiently. Only one of offset or key +should be set.

+
pagination.offset
string <uint64>

offset is a numeric offset that can be used when key is unavailable. +It is less efficient than using key. Only one of offset or key should +be set.

+
pagination.limit
string <uint64>

limit is the total number of results to be returned in the result page. +If left empty it will default to a value to be set by each app.

+
pagination.count_total
boolean

count_total is set to true to indicate that the result set should include +a count of the total number of items available for pagination in UIs. +count_total is only respected when offset is used. It is ignored when key +is set.

+
pagination.reverse
boolean

reverse is set to true if results are to be returned in the descending +order.

+

Responses

QueryTotalDepositByAppAndAssetID

path Parameters
app_id
required
string <uint64>
asset_id
required
string <uint64>

Responses

QueryLockerCountByAppToAssetID

path Parameters
app_id
required
string <uint64>
asset_id
required
string <uint64>

Responses

QueryLockerCountByAppID

path Parameters
app_id
required
string <uint64>

Responses

QueryWhiteListedAssetByAllApps

query Parameters
pagination.key
string <byte>

key is a value returned in PageResponse.next_key to begin +querying the next page most efficiently. Only one of offset or key +should be set.

+
pagination.offset
string <uint64>

offset is a numeric offset that can be used when key is unavailable. +It is less efficient than using key. Only one of offset or key should +be set.

+
pagination.limit
string <uint64>

limit is the total number of results to be returned in the result page. +If left empty it will default to a value to be set by each app.

+
pagination.count_total
boolean

count_total is set to true to indicate that the result set should include +a count of the total number of items available for pagination in UIs. +count_total is only respected when offset is used. It is ignored when key +is set.

+
pagination.reverse
boolean

reverse is set to true if results are to be returned in the descending +order.

+

Responses

QueryWhiteListedAssetIDsByAppID

path Parameters
app_id
required
string <uint64>
query Parameters
pagination.key
string <byte>

key is a value returned in PageResponse.next_key to begin +querying the next page most efficiently. Only one of offset or key +should be set.

+
pagination.offset
string <uint64>

offset is a numeric offset that can be used when key is unavailable. +It is less efficient than using key. Only one of offset or key should +be set.

+
pagination.limit
string <uint64>

limit is the total number of results to be returned in the result page. +If left empty it will default to a value to be set by each app.

+
pagination.count_total
boolean

count_total is set to true to indicate that the result set should include +a count of the total number of items available for pagination in UIs. +count_total is only respected when offset is used. It is ignored when key +is set.

+
pagination.reverse
boolean

reverse is set to true if results are to be returned in the descending +order.

+

Responses

QueryMarkets

query Parameters
pagination.key
string <byte>

key is a value returned in PageResponse.next_key to begin +querying the next page most efficiently. Only one of offset or key +should be set.

+
pagination.offset
string <uint64>

offset is a numeric offset that can be used when key is unavailable. +It is less efficient than using key. Only one of offset or key should +be set.

+
pagination.limit
string <uint64>

limit is the total number of results to be returned in the result page. +If left empty it will default to a value to be set by each app.

+
pagination.count_total
boolean

count_total is set to true to indicate that the result set should include +a count of the total number of items available for pagination in UIs. +count_total is only respected when offset is used. It is ignored when key +is set.

+
pagination.reverse
boolean

reverse is set to true if results are to be returned in the descending +order.

+

Responses

QueryMarket

path Parameters
assetID
required
string <uint64>

Responses

QueryEpochInfoByDuration

path Parameters
duration_seconds
required
string <uint64>

Responses

QueryEpochTime

query Parameters
pagination.key
string <byte>

key is a value returned in PageResponse.next_key to begin +querying the next page most efficiently. Only one of offset or key +should be set.

+
pagination.offset
string <uint64>

offset is a numeric offset that can be used when key is unavailable. +It is less efficient than using key. Only one of offset or key should +be set.

+
pagination.limit
string <uint64>

limit is the total number of results to be returned in the result page. +If left empty it will default to a value to be set by each app.

+
pagination.count_total
boolean

count_total is set to true to indicate that the result set should include +a count of the total number of items available for pagination in UIs. +count_total is only respected when offset is used. It is ignored when key +is set.

+
pagination.reverse
boolean

reverse is set to true if results are to be returned in the descending +order.

+

Responses

QueryAllEpochsInfo

query Parameters
pagination.key
string <byte>

key is a value returned in PageResponse.next_key to begin +querying the next page most efficiently. Only one of offset or key +should be set.

+
pagination.offset
string <uint64>

offset is a numeric offset that can be used when key is unavailable. +It is less efficient than using key. Only one of offset or key should +be set.

+
pagination.limit
string <uint64>

limit is the total number of results to be returned in the result page. +If left empty it will default to a value to be set by each app.

+
pagination.count_total
boolean

count_total is set to true to indicate that the result set should include +a count of the total number of items available for pagination in UIs. +count_total is only respected when offset is used. It is ignored when key +is set.

+
pagination.reverse
boolean

reverse is set to true if results are to be returned in the descending +order.

+

Responses

QueryExtLendRewardsAPR

query Parameters
asset_id
string <uint64>
c_pool_id
string <uint64>

Responses

QueryGaugeByID

path Parameters
gauge_id
required
string <uint64>

Responses

QueryGaugeByDuration

path Parameters
duration_seconds
required
string <uint64>

Responses

QueryAllGauges

query Parameters
pagination.key
string <byte>

key is a value returned in PageResponse.next_key to begin +querying the next page most efficiently. Only one of offset or key +should be set.

+
pagination.offset
string <uint64>

offset is a numeric offset that can be used when key is unavailable. +It is less efficient than using key. Only one of offset or key should +be set.

+
pagination.limit
string <uint64>

limit is the total number of results to be returned in the result page. +If left empty it will default to a value to be set by each app.

+
pagination.count_total
boolean

count_total is set to true to indicate that the result set should include +a count of the total number of items available for pagination in UIs. +count_total is only respected when offset is used. It is ignored when key +is set.

+
pagination.reverse
boolean

reverse is set to true if results are to be returned in the descending +order.

+

Responses

QueryExternalRewardLends

query Parameters
pagination.key
string <byte>

key is a value returned in PageResponse.next_key to begin +querying the next page most efficiently. Only one of offset or key +should be set.

+
pagination.offset
string <uint64>

offset is a numeric offset that can be used when key is unavailable. +It is less efficient than using key. Only one of offset or key should +be set.

+
pagination.limit
string <uint64>

limit is the total number of results to be returned in the result page. +If left empty it will default to a value to be set by each app.

+
pagination.count_total
boolean

count_total is set to true to indicate that the result set should include +a count of the total number of items available for pagination in UIs. +count_total is only respected when offset is used. It is ignored when key +is set.

+
pagination.reverse
boolean

reverse is set to true if results are to be returned in the descending +order.

+

Responses

QueryExternalRewardsLockers

query Parameters
pagination.key
string <byte>

key is a value returned in PageResponse.next_key to begin +querying the next page most efficiently. Only one of offset or key +should be set.

+
pagination.offset
string <uint64>

offset is a numeric offset that can be used when key is unavailable. +It is less efficient than using key. Only one of offset or key should +be set.

+
pagination.limit
string <uint64>

limit is the total number of results to be returned in the result page. +If left empty it will default to a value to be set by each app.

+
pagination.count_total
boolean

count_total is set to true to indicate that the result set should include +a count of the total number of items available for pagination in UIs. +count_total is only respected when offset is used. It is ignored when key +is set.

+
pagination.reverse
boolean

reverse is set to true if results are to be returned in the descending +order.

+

Responses

rewardsParams

Responses

QueryReward

path Parameters
id
required
string <uint64>

Responses

QueryRewards

query Parameters
pagination.key
string <byte>

key is a value returned in PageResponse.next_key to begin +querying the next page most efficiently. Only one of offset or key +should be set.

+
pagination.offset
string <uint64>

offset is a numeric offset that can be used when key is unavailable. +It is less efficient than using key. Only one of offset or key should +be set.

+
pagination.limit
string <uint64>

limit is the total number of results to be returned in the result page. +If left empty it will default to a value to be set by each app.

+
pagination.count_total
boolean

count_total is set to true to indicate that the result set should include +a count of the total number of items available for pagination in UIs. +count_total is only respected when offset is used. It is ignored when key +is set.

+
pagination.reverse
boolean

reverse is set to true if results are to be returned in the descending +order.

+

Responses

QueryExternalRewardStableMint

query Parameters
pagination.key
string <byte>

key is a value returned in PageResponse.next_key to begin +querying the next page most efficiently. Only one of offset or key +should be set.

+
pagination.offset
string <uint64>

offset is a numeric offset that can be used when key is unavailable. +It is less efficient than using key. Only one of offset or key should +be set.

+
pagination.limit
string <uint64>

limit is the total number of results to be returned in the result page. +If left empty it will default to a value to be set by each app.

+
pagination.count_total
boolean

count_total is set to true to indicate that the result set should include +a count of the total number of items available for pagination in UIs. +count_total is only respected when offset is used. It is ignored when key +is set.

+
pagination.reverse
boolean

reverse is set to true if results are to be returned in the descending +order.

+

Responses

QueryExternalRewardVaults

query Parameters
pagination.key
string <byte>

key is a value returned in PageResponse.next_key to begin +querying the next page most efficiently. Only one of offset or key +should be set.

+
pagination.offset
string <uint64>

offset is a numeric offset that can be used when key is unavailable. +It is less efficient than using key. Only one of offset or key should +be set.

+
pagination.limit
string <uint64>

limit is the total number of results to be returned in the result page. +If left empty it will default to a value to be set by each app.

+
pagination.count_total
boolean

count_total is set to true to indicate that the result set should include +a count of the total number of items available for pagination in UIs. +count_total is only respected when offset is used. It is ignored when key +is set.

+
pagination.reverse
boolean

reverse is set to true if results are to be returned in the descending +order.

+

Responses

QueryWhitelistedAppIdsVault

query Parameters
pagination.key
string <byte>

key is a value returned in PageResponse.next_key to begin +querying the next page most efficiently. Only one of offset or key +should be set.

+
pagination.offset
string <uint64>

offset is a numeric offset that can be used when key is unavailable. +It is less efficient than using key. Only one of offset or key should +be set.

+
pagination.limit
string <uint64>

limit is the total number of results to be returned in the result page. +If left empty it will default to a value to be set by each app.

+
pagination.count_total
boolean

count_total is set to true to indicate that the result set should include +a count of the total number of items available for pagination in UIs. +count_total is only respected when offset is used. It is ignored when key +is set.

+
pagination.reverse
boolean

reverse is set to true if results are to be returned in the descending +order.

+

Responses

QueryTokenMintedByAppAndAsset

path Parameters
app_id
required
string <uint64>
asset_id
required
string <uint64>
query Parameters
pagination.key
string <byte>

key is a value returned in PageResponse.next_key to begin +querying the next page most efficiently. Only one of offset or key +should be set.

+
pagination.offset
string <uint64>

offset is a numeric offset that can be used when key is unavailable. +It is less efficient than using key. Only one of offset or key should +be set.

+
pagination.limit
string <uint64>

limit is the total number of results to be returned in the result page. +If left empty it will default to a value to be set by each app.

+
pagination.count_total
boolean

count_total is set to true to indicate that the result set should include +a count of the total number of items available for pagination in UIs. +count_total is only respected when offset is used. It is ignored when key +is set.

+
pagination.reverse
boolean

reverse is set to true if results are to be returned in the descending +order.

+

Responses

QueryTokenMintedByApp

path Parameters
app_id
required
string <uint64>
query Parameters
pagination.key
string <byte>

key is a value returned in PageResponse.next_key to begin +querying the next page most efficiently. Only one of offset or key +should be set.

+
pagination.offset
string <uint64>

offset is a numeric offset that can be used when key is unavailable. +It is less efficient than using key. Only one of offset or key should +be set.

+
pagination.limit
string <uint64>

limit is the total number of results to be returned in the result page. +If left empty it will default to a value to be set by each app.

+
pagination.count_total
boolean

count_total is set to true to indicate that the result set should include +a count of the total number of items available for pagination in UIs. +count_total is only respected when offset is used. It is ignored when key +is set.

+
pagination.reverse
boolean

reverse is set to true if results are to be returned in the descending +order.

+

Responses

QueryAllTokenMintedForAllApps

query Parameters
pagination.key
string <byte>

key is a value returned in PageResponse.next_key to begin +querying the next page most efficiently. Only one of offset or key +should be set.

+
pagination.offset
string <uint64>

offset is a numeric offset that can be used when key is unavailable. +It is less efficient than using key. Only one of offset or key should +be set.

+
pagination.limit
string <uint64>

limit is the total number of results to be returned in the result page. +If left empty it will default to a value to be set by each app.

+
pagination.count_total
boolean

count_total is set to true to indicate that the result set should include +a count of the total number of items available for pagination in UIs. +count_total is only respected when offset is used. It is ignored when key +is set.

+
pagination.reverse
boolean

reverse is set to true if results are to be returned in the descending +order.

+

Responses

QueryExtendedPairVaultMappingByAppAndExtendedPair

path Parameters
app_id
required
string <uint64>
extended_pair_id
required
string <uint64>

Responses

QueryExtendedPairVaultMappingByApp

path Parameters
app_id
required
string <uint64>
query Parameters
pagination.key
string <byte>

key is a value returned in PageResponse.next_key to begin +querying the next page most efficiently. Only one of offset or key +should be set.

+
pagination.offset
string <uint64>

offset is a numeric offset that can be used when key is unavailable. +It is less efficient than using key. Only one of offset or key should +be set.

+
pagination.limit
string <uint64>

limit is the total number of results to be returned in the result page. +If left empty it will default to a value to be set by each app.

+
pagination.count_total
boolean

count_total is set to true to indicate that the result set should include +a count of the total number of items available for pagination in UIs. +count_total is only respected when offset is used. It is ignored when key +is set.

+
pagination.reverse
boolean

reverse is set to true if results are to be returned in the descending +order.

+

Responses

QueryExtendedPairIDsByApp

path Parameters
app_id
required
string <uint64>
query Parameters
pagination.key
string <byte>

key is a value returned in PageResponse.next_key to begin +querying the next page most efficiently. Only one of offset or key +should be set.

+
pagination.offset
string <uint64>

offset is a numeric offset that can be used when key is unavailable. +It is less efficient than using key. Only one of offset or key should +be set.

+
pagination.limit
string <uint64>

limit is the total number of results to be returned in the result page. +If left empty it will default to a value to be set by each app.

+
pagination.count_total
boolean

count_total is set to true to indicate that the result set should include +a count of the total number of items available for pagination in UIs. +count_total is only respected when offset is used. It is ignored when key +is set.

+
pagination.reverse
boolean

reverse is set to true if results are to be returned in the descending +order.

+

Responses

QueryPairsLockedAndMintedStatisticByApp

path Parameters
app_id
required
string <uint64>
query Parameters
pagination.key
string <byte>

key is a value returned in PageResponse.next_key to begin +querying the next page most efficiently. Only one of offset or key +should be set.

+
pagination.offset
string <uint64>

offset is a numeric offset that can be used when key is unavailable. +It is less efficient than using key. Only one of offset or key should +be set.

+
pagination.limit
string <uint64>

limit is the total number of results to be returned in the result page. +If left empty it will default to a value to be set by each app.

+
pagination.count_total
boolean

count_total is set to true to indicate that the result set should include +a count of the total number of items available for pagination in UIs. +count_total is only respected when offset is used. It is ignored when key +is set.

+
pagination.reverse
boolean

reverse is set to true if results are to be returned in the descending +order.

+

Responses

QueryStableVaultByAppAndExtendedPair

path Parameters
app_id
required
string <uint64>
extended_pair_id
required
string <uint64>

Responses

QueryStableVaultByApp

path Parameters
app_id
required
string <uint64>
query Parameters
pagination.key
string <byte>

key is a value returned in PageResponse.next_key to begin +querying the next page most efficiently. Only one of offset or key +should be set.

+
pagination.offset
string <uint64>

offset is a numeric offset that can be used when key is unavailable. +It is less efficient than using key. Only one of offset or key should +be set.

+
pagination.limit
string <uint64>

limit is the total number of results to be returned in the result page. +If left empty it will default to a value to be set by each app.

+
pagination.count_total
boolean

count_total is set to true to indicate that the result set should include +a count of the total number of items available for pagination in UIs. +count_total is only respected when offset is used. It is ignored when key +is set.

+
pagination.reverse
boolean

reverse is set to true if results are to be returned in the descending +order.

+

Responses

QueryStableVaultByVaultID

path Parameters
stable_vault_id
required
string <uint64>

Responses

QueryAllStableMintVaultRewards

query Parameters
pagination.key
string <byte>

key is a value returned in PageResponse.next_key to begin +querying the next page most efficiently. Only one of offset or key +should be set.

+
pagination.offset
string <uint64>

offset is a numeric offset that can be used when key is unavailable. +It is less efficient than using key. Only one of offset or key should +be set.

+
pagination.limit
string <uint64>

limit is the total number of results to be returned in the result page. +If left empty it will default to a value to be set by each app.

+
pagination.count_total
boolean

count_total is set to true to indicate that the result set should include +a count of the total number of items available for pagination in UIs. +count_total is only respected when offset is used. It is ignored when key +is set.

+
pagination.reverse
boolean

reverse is set to true if results are to be returned in the descending +order.

+

Responses

QueryTokenMintedAssetWiseByApp

path Parameters
app_id
required
string <uint64>
query Parameters
pagination.key
string <byte>

key is a value returned in PageResponse.next_key to begin +querying the next page most efficiently. Only one of offset or key +should be set.

+
pagination.offset
string <uint64>

offset is a numeric offset that can be used when key is unavailable. +It is less efficient than using key. Only one of offset or key should +be set.

+
pagination.limit
string <uint64>

limit is the total number of results to be returned in the result page. +If left empty it will default to a value to be set by each app.

+
pagination.count_total
boolean

count_total is set to true to indicate that the result set should include +a count of the total number of items available for pagination in UIs. +count_total is only respected when offset is used. It is ignored when key +is set.

+
pagination.reverse
boolean

reverse is set to true if results are to be returned in the descending +order.

+

Responses

QueryTokenMintedByAppAndExtendedPair

path Parameters
app_id
required
string <uint64>
extended_pair_id
required
string <uint64>
query Parameters
pagination.key
string <byte>

key is a value returned in PageResponse.next_key to begin +querying the next page most efficiently. Only one of offset or key +should be set.

+
pagination.offset
string <uint64>

offset is a numeric offset that can be used when key is unavailable. +It is less efficient than using key. Only one of offset or key should +be set.

+
pagination.limit
string <uint64>

limit is the total number of results to be returned in the result page. +If left empty it will default to a value to be set by each app.

+
pagination.count_total
boolean

count_total is set to true to indicate that the result set should include +a count of the total number of items available for pagination in UIs. +count_total is only respected when offset is used. It is ignored when key +is set.

+
pagination.reverse
boolean

reverse is set to true if results are to be returned in the descending +order.

+

Responses

QueryTVLByAppOfAllExtendedPairs

path Parameters
app_id
required
string <uint64>
query Parameters
pagination.key
string <byte>

key is a value returned in PageResponse.next_key to begin +querying the next page most efficiently. Only one of offset or key +should be set.

+
pagination.offset
string <uint64>

offset is a numeric offset that can be used when key is unavailable. +It is less efficient than using key. Only one of offset or key should +be set.

+
pagination.limit
string <uint64>

limit is the total number of results to be returned in the result page. +If left empty it will default to a value to be set by each app.

+
pagination.count_total
boolean

count_total is set to true to indicate that the result set should include +a count of the total number of items available for pagination in UIs. +count_total is only respected when offset is used. It is ignored when key +is set.

+
pagination.reverse
boolean

reverse is set to true if results are to be returned in the descending +order.

+

Responses

QueryTVLByApp

path Parameters
app_id
required
string <uint64>

Responses

QueryUserExtendedPairTotalData

path Parameters
owner
required
string

Responses

QueryUserMyPositionByApp

path Parameters
app_id
required
string <uint64>
owner
required
string

Responses

QueryTotalValueLockedByAppAndExtendedPair

path Parameters
app_id
required
string <uint64>
extended_pair_id
required
string <uint64>
query Parameters
pagination.key
string <byte>

key is a value returned in PageResponse.next_key to begin +querying the next page most efficiently. Only one of offset or key +should be set.

+
pagination.offset
string <uint64>

offset is a numeric offset that can be used when key is unavailable. +It is less efficient than using key. Only one of offset or key should +be set.

+
pagination.limit
string <uint64>

limit is the total number of results to be returned in the result page. +If left empty it will default to a value to be set by each app.

+
pagination.count_total
boolean

count_total is set to true to indicate that the result set should include +a count of the total number of items available for pagination in UIs. +count_total is only respected when offset is used. It is ignored when key +is set.

+
pagination.reverse
boolean

reverse is set to true if results are to be returned in the descending +order.

+

Responses

QueryVaultCountByAppAndExtendedPair

path Parameters
app_id
required
string <uint64>
extended_pair_id
required
string <uint64>
query Parameters
pagination.key
string <byte>

key is a value returned in PageResponse.next_key to begin +querying the next page most efficiently. Only one of offset or key +should be set.

+
pagination.offset
string <uint64>

offset is a numeric offset that can be used when key is unavailable. +It is less efficient than using key. Only one of offset or key should +be set.

+
pagination.limit
string <uint64>

limit is the total number of results to be returned in the result page. +If left empty it will default to a value to be set by each app.

+
pagination.count_total
boolean

count_total is set to true to indicate that the result set should include +a count of the total number of items available for pagination in UIs. +count_total is only respected when offset is used. It is ignored when key +is set.

+
pagination.reverse
boolean

reverse is set to true if results are to be returned in the descending +order.

+

Responses

QueryVaultCountByApp

path Parameters
app_id
required
string <uint64>

Responses

QueryVaultIDOfOwnerByExtendedPairAndApp

path Parameters
app_id
required
string <uint64>
owner
required
string
extended_pair_id
required
string <uint64>
query Parameters
pagination.key
string <byte>

key is a value returned in PageResponse.next_key to begin +querying the next page most efficiently. Only one of offset or key +should be set.

+
pagination.offset
string <uint64>

offset is a numeric offset that can be used when key is unavailable. +It is less efficient than using key. Only one of offset or key should +be set.

+
pagination.limit
string <uint64>

limit is the total number of results to be returned in the result page. +If left empty it will default to a value to be set by each app.

+
pagination.count_total
boolean

count_total is set to true to indicate that the result set should include +a count of the total number of items available for pagination in UIs. +count_total is only respected when offset is used. It is ignored when key +is set.

+
pagination.reverse
boolean

reverse is set to true if results are to be returned in the descending +order.

+

Responses

QueryAllVaultIdsByAnOwner

path Parameters
owner
required
string
query Parameters
pagination.key
string <byte>

key is a value returned in PageResponse.next_key to begin +querying the next page most efficiently. Only one of offset or key +should be set.

+
pagination.offset
string <uint64>

offset is a numeric offset that can be used when key is unavailable. +It is less efficient than using key. Only one of offset or key should +be set.

+
pagination.limit
string <uint64>

limit is the total number of results to be returned in the result page. +If left empty it will default to a value to be set by each app.

+
pagination.count_total
boolean

count_total is set to true to indicate that the result set should include +a count of the total number of items available for pagination in UIs. +count_total is only respected when offset is used. It is ignored when key +is set.

+
pagination.reverse
boolean

reverse is set to true if results are to be returned in the descending +order.

+

Responses

QueryVaultIdsByAppInAllExtendedPairs

path Parameters
app_id
required
string <uint64>
query Parameters
pagination.key
string <byte>

key is a value returned in PageResponse.next_key to begin +querying the next page most efficiently. Only one of offset or key +should be set.

+
pagination.offset
string <uint64>

offset is a numeric offset that can be used when key is unavailable. +It is less efficient than using key. Only one of offset or key should +be set.

+
pagination.limit
string <uint64>

limit is the total number of results to be returned in the result page. +If left empty it will default to a value to be set by each app.

+
pagination.count_total
boolean

count_total is set to true to indicate that the result set should include +a count of the total number of items available for pagination in UIs. +count_total is only respected when offset is used. It is ignored when key +is set.

+
pagination.reverse
boolean

reverse is set to true if results are to be returned in the descending +order.

+

Responses

QueryAllVaults

query Parameters
pagination.key
string <byte>

key is a value returned in PageResponse.next_key to begin +querying the next page most efficiently. Only one of offset or key +should be set.

+
pagination.offset
string <uint64>

offset is a numeric offset that can be used when key is unavailable. +It is less efficient than using key. Only one of offset or key should +be set.

+
pagination.limit
string <uint64>

limit is the total number of results to be returned in the result page. +If left empty it will default to a value to be set by each app.

+
pagination.count_total
boolean

count_total is set to true to indicate that the result set should include +a count of the total number of items available for pagination in UIs. +count_total is only respected when offset is used. It is ignored when key +is set.

+
pagination.reverse
boolean

reverse is set to true if results are to be returned in the descending +order.

+

Responses

QueryAllVaultsByApp

path Parameters
app_id
required
string <uint64>
query Parameters
pagination.key
string <byte>

key is a value returned in PageResponse.next_key to begin +querying the next page most efficiently. Only one of offset or key +should be set.

+
pagination.offset
string <uint64>

offset is a numeric offset that can be used when key is unavailable. +It is less efficient than using key. Only one of offset or key should +be set.

+
pagination.limit
string <uint64>

limit is the total number of results to be returned in the result page. +If left empty it will default to a value to be set by each app.

+
pagination.count_total
boolean

count_total is set to true to indicate that the result set should include +a count of the total number of items available for pagination in UIs. +count_total is only respected when offset is used. It is ignored when key +is set.

+
pagination.reverse
boolean

reverse is set to true if results are to be returned in the descending +order.

+

Responses

QueryAllVaultsByAppAndExtendedPair

path Parameters
app_id
required
string <uint64>
extended_pair_id
required
string <uint64>
query Parameters
pagination.key
string <byte>

key is a value returned in PageResponse.next_key to begin +querying the next page most efficiently. Only one of offset or key +should be set.

+
pagination.offset
string <uint64>

offset is a numeric offset that can be used when key is unavailable. +It is less efficient than using key. Only one of offset or key should +be set.

+
pagination.limit
string <uint64>

limit is the total number of results to be returned in the result page. +If left empty it will default to a value to be set by each app.

+
pagination.count_total
boolean

count_total is set to true to indicate that the result set should include +a count of the total number of items available for pagination in UIs. +count_total is only respected when offset is used. It is ignored when key +is set.

+
pagination.reverse
boolean

reverse is set to true if results are to be returned in the descending +order.

+

Responses

QueryVault

path Parameters
id
required
string <uint64>

Responses

QueryVaultInfoByVaultID

path Parameters
id
required
string <uint64>

Responses

QueryVaultInfoOfOwnerByApp

path Parameters
app_id
required
string <uint64>
owner
required
string
query Parameters
pagination.key
string <byte>

key is a value returned in PageResponse.next_key to begin +querying the next page most efficiently. Only one of offset or key +should be set.

+
pagination.offset
string <uint64>

offset is a numeric offset that can be used when key is unavailable. +It is less efficient than using key. Only one of offset or key should +be set.

+
pagination.limit
string <uint64>

limit is the total number of results to be returned in the result page. +If left empty it will default to a value to be set by each app.

+
pagination.count_total
boolean

count_total is set to true to indicate that the result set should include +a count of the total number of items available for pagination in UIs. +count_total is only respected when offset is used. It is ignored when key +is set.

+
pagination.reverse
boolean

reverse is set to true if results are to be returned in the descending +order.

+

Responses

Accounts returns all the existing accounts

Since: cosmos-sdk 0.43

+
query Parameters
pagination.key
string <byte>

key is a value returned in PageResponse.next_key to begin +querying the next page most efficiently. Only one of offset or key +should be set.

+
pagination.offset
string <uint64>

offset is a numeric offset that can be used when key is unavailable. +It is less efficient than using key. Only one of offset or key should +be set.

+
pagination.limit
string <uint64>

limit is the total number of results to be returned in the result page. +If left empty it will default to a value to be set by each app.

+
pagination.count_total
boolean

count_total is set to true to indicate that the result set should include +a count of the total number of items available for pagination in UIs. +count_total is only respected when offset is used. It is ignored when key +is set.

+
pagination.reverse
boolean

reverse is set to true if results are to be returned in the descending +order.

+

Responses

Account returns account details based on address.

path Parameters
address
required
string

address defines the address to query for.

+

Responses

Params queries all parameters.

Responses

Returns list of `Authorization`, granted to the grantee by the granter.

query Parameters
granter
string
grantee
string
msg_type_url
string

Optional, msg_type_url, when set, will query only grants matching given msg type.

+
pagination.key
string <byte>

key is a value returned in PageResponse.next_key to begin +querying the next page most efficiently. Only one of offset or key +should be set.

+
pagination.offset
string <uint64>

offset is a numeric offset that can be used when key is unavailable. +It is less efficient than using key. Only one of offset or key should +be set.

+
pagination.limit
string <uint64>

limit is the total number of results to be returned in the result page. +If left empty it will default to a value to be set by each app.

+
pagination.count_total
boolean

count_total is set to true to indicate that the result set should include +a count of the total number of items available for pagination in UIs. +count_total is only respected when offset is used. It is ignored when key +is set.

+
pagination.reverse
boolean

reverse is set to true if results are to be returned in the descending +order.

+

Responses

GranteeGrants returns a list of `GrantAuthorization` by grantee.

Since: cosmos-sdk 0.45.2

+
path Parameters
grantee
required
string
query Parameters
pagination.key
string <byte>

key is a value returned in PageResponse.next_key to begin +querying the next page most efficiently. Only one of offset or key +should be set.

+
pagination.offset
string <uint64>

offset is a numeric offset that can be used when key is unavailable. +It is less efficient than using key. Only one of offset or key should +be set.

+
pagination.limit
string <uint64>

limit is the total number of results to be returned in the result page. +If left empty it will default to a value to be set by each app.

+
pagination.count_total
boolean

count_total is set to true to indicate that the result set should include +a count of the total number of items available for pagination in UIs. +count_total is only respected when offset is used. It is ignored when key +is set.

+
pagination.reverse
boolean

reverse is set to true if results are to be returned in the descending +order.

+

Responses

GranterGrants returns list of `GrantAuthorization`, granted by granter.

Since: cosmos-sdk 0.45.2

+
path Parameters
granter
required
string
query Parameters
pagination.key
string <byte>

key is a value returned in PageResponse.next_key to begin +querying the next page most efficiently. Only one of offset or key +should be set.

+
pagination.offset
string <uint64>

offset is a numeric offset that can be used when key is unavailable. +It is less efficient than using key. Only one of offset or key should +be set.

+
pagination.limit
string <uint64>

limit is the total number of results to be returned in the result page. +If left empty it will default to a value to be set by each app.

+
pagination.count_total
boolean

count_total is set to true to indicate that the result set should include +a count of the total number of items available for pagination in UIs. +count_total is only respected when offset is used. It is ignored when key +is set.

+
pagination.reverse
boolean

reverse is set to true if results are to be returned in the descending +order.

+

Responses

AllBalances queries the balance of all coins for a single account.

path Parameters
address
required
string

address is the address to query balances for.

+
query Parameters
pagination.key
string <byte>

key is a value returned in PageResponse.next_key to begin +querying the next page most efficiently. Only one of offset or key +should be set.

+
pagination.offset
string <uint64>

offset is a numeric offset that can be used when key is unavailable. +It is less efficient than using key. Only one of offset or key should +be set.

+
pagination.limit
string <uint64>

limit is the total number of results to be returned in the result page. +If left empty it will default to a value to be set by each app.

+
pagination.count_total
boolean

count_total is set to true to indicate that the result set should include +a count of the total number of items available for pagination in UIs. +count_total is only respected when offset is used. It is ignored when key +is set.

+
pagination.reverse
boolean

reverse is set to true if results are to be returned in the descending +order.

+

Responses

Balance queries the balance of a single coin for a single account.

path Parameters
address
required
string

address is the address to query balances for.

+
query Parameters
denom
string

denom is the coin denom to query balances for.

+

Responses

DenomsMetadata queries the client metadata for all registered coin denominations.

query Parameters
pagination.key
string <byte>

key is a value returned in PageResponse.next_key to begin +querying the next page most efficiently. Only one of offset or key +should be set.

+
pagination.offset
string <uint64>

offset is a numeric offset that can be used when key is unavailable. +It is less efficient than using key. Only one of offset or key should +be set.

+
pagination.limit
string <uint64>

limit is the total number of results to be returned in the result page. +If left empty it will default to a value to be set by each app.

+
pagination.count_total
boolean

count_total is set to true to indicate that the result set should include +a count of the total number of items available for pagination in UIs. +count_total is only respected when offset is used. It is ignored when key +is set.

+
pagination.reverse
boolean

reverse is set to true if results are to be returned in the descending +order.

+

Responses

DenomsMetadata queries the client metadata of a given coin denomination.

path Parameters
denom
required
string

denom is the coin denom to query the metadata for.

+

Responses

Params queries the parameters of x/bank module.

Responses

SpendableBalances queries the spenable balance of all coins for a single +account.

path Parameters
address
required
string

address is the address to query spendable balances for.

+
query Parameters
pagination.key
string <byte>

key is a value returned in PageResponse.next_key to begin +querying the next page most efficiently. Only one of offset or key +should be set.

+
pagination.offset
string <uint64>

offset is a numeric offset that can be used when key is unavailable. +It is less efficient than using key. Only one of offset or key should +be set.

+
pagination.limit
string <uint64>

limit is the total number of results to be returned in the result page. +If left empty it will default to a value to be set by each app.

+
pagination.count_total
boolean

count_total is set to true to indicate that the result set should include +a count of the total number of items available for pagination in UIs. +count_total is only respected when offset is used. It is ignored when key +is set.

+
pagination.reverse
boolean

reverse is set to true if results are to be returned in the descending +order.

+

Responses

TotalSupply queries the total supply of all coins.

query Parameters
pagination.key
string <byte>

key is a value returned in PageResponse.next_key to begin +querying the next page most efficiently. Only one of offset or key +should be set.

+
pagination.offset
string <uint64>

offset is a numeric offset that can be used when key is unavailable. +It is less efficient than using key. Only one of offset or key should +be set.

+
pagination.limit
string <uint64>

limit is the total number of results to be returned in the result page. +If left empty it will default to a value to be set by each app.

+
pagination.count_total
boolean

count_total is set to true to indicate that the result set should include +a count of the total number of items available for pagination in UIs. +count_total is only respected when offset is used. It is ignored when key +is set.

+
pagination.reverse
boolean

reverse is set to true if results are to be returned in the descending +order.

+

Responses

SupplyOf queries the supply of a single coin.

path Parameters
denom
required
string

denom is the coin denom to query balances for.

+

Responses

CommunityPool queries the community pool coins.

Responses

DelegationTotalRewards queries the total rewards accrued by a each +validator.

path Parameters
delegator_address
required
string

delegator_address defines the delegator address to query for.

+

Responses

DelegationRewards queries the total rewards accrued by a delegation.

path Parameters
delegator_address
required
string

delegator_address defines the delegator address to query for.

+
validator_address
required
string

validator_address defines the validator address to query for.

+

Responses

DelegatorValidators queries the validators of a delegator.

path Parameters
delegator_address
required
string

delegator_address defines the delegator address to query for.

+

Responses

DelegatorWithdrawAddress queries withdraw address of a delegator.

path Parameters
delegator_address
required
string

delegator_address defines the delegator address to query for.

+

Responses

Params queries params of the distribution module.

Responses

ValidatorCommission queries accumulated commission for a validator.

path Parameters
validator_address
required
string

validator_address defines the validator address to query for.

+

Responses

ValidatorOutstandingRewards queries rewards of a validator address.

path Parameters
validator_address
required
string

validator_address defines the validator address to query for.

+

Responses

ValidatorSlashes queries slash events of a validator.

path Parameters
validator_address
required
string

validator_address defines the validator address to query for.

+
query Parameters
starting_height
string <uint64>

starting_height defines the optional starting height to query the slashes.

+
ending_height
string <uint64>

starting_height defines the optional ending height to query the slashes.

+
pagination.key
string <byte>

key is a value returned in PageResponse.next_key to begin +querying the next page most efficiently. Only one of offset or key +should be set.

+
pagination.offset
string <uint64>

offset is a numeric offset that can be used when key is unavailable. +It is less efficient than using key. Only one of offset or key should +be set.

+
pagination.limit
string <uint64>

limit is the total number of results to be returned in the result page. +If left empty it will default to a value to be set by each app.

+
pagination.count_total
boolean

count_total is set to true to indicate that the result set should include +a count of the total number of items available for pagination in UIs. +count_total is only respected when offset is used. It is ignored when key +is set.

+
pagination.reverse
boolean

reverse is set to true if results are to be returned in the descending +order.

+

Responses

AllEvidence queries all evidence.

query Parameters
pagination.key
string <byte>

key is a value returned in PageResponse.next_key to begin +querying the next page most efficiently. Only one of offset or key +should be set.

+
pagination.offset
string <uint64>

offset is a numeric offset that can be used when key is unavailable. +It is less efficient than using key. Only one of offset or key should +be set.

+
pagination.limit
string <uint64>

limit is the total number of results to be returned in the result page. +If left empty it will default to a value to be set by each app.

+
pagination.count_total
boolean

count_total is set to true to indicate that the result set should include +a count of the total number of items available for pagination in UIs. +count_total is only respected when offset is used. It is ignored when key +is set.

+
pagination.reverse
boolean

reverse is set to true if results are to be returned in the descending +order.

+

Responses

Evidence queries evidence based on evidence hash.

path Parameters
evidence_hash
required
string <byte>

evidence_hash defines the hash of the requested evidence.

+

Responses

Allowance returns fee granted to the grantee by the granter.

path Parameters
granter
required
string

granter is the address of the user granting an allowance of their funds.

+
grantee
required
string

grantee is the address of the user being granted an allowance of another user's funds.

+

Responses

Allowances returns all the grants for address.

path Parameters
grantee
required
string
query Parameters
pagination.key
string <byte>

key is a value returned in PageResponse.next_key to begin +querying the next page most efficiently. Only one of offset or key +should be set.

+
pagination.offset
string <uint64>

offset is a numeric offset that can be used when key is unavailable. +It is less efficient than using key. Only one of offset or key should +be set.

+
pagination.limit
string <uint64>

limit is the total number of results to be returned in the result page. +If left empty it will default to a value to be set by each app.

+
pagination.count_total
boolean

count_total is set to true to indicate that the result set should include +a count of the total number of items available for pagination in UIs. +count_total is only respected when offset is used. It is ignored when key +is set.

+
pagination.reverse
boolean

reverse is set to true if results are to be returned in the descending +order.

+

Responses

AllowancesByGranter returns all the grants given by an address +Since v0.46

path Parameters
granter
required
string
query Parameters
pagination.key
string <byte>

key is a value returned in PageResponse.next_key to begin +querying the next page most efficiently. Only one of offset or key +should be set.

+
pagination.offset
string <uint64>

offset is a numeric offset that can be used when key is unavailable. +It is less efficient than using key. Only one of offset or key should +be set.

+
pagination.limit
string <uint64>

limit is the total number of results to be returned in the result page. +If left empty it will default to a value to be set by each app.

+
pagination.count_total
boolean

count_total is set to true to indicate that the result set should include +a count of the total number of items available for pagination in UIs. +count_total is only respected when offset is used. It is ignored when key +is set.

+
pagination.reverse
boolean

reverse is set to true if results are to be returned in the descending +order.

+

Responses

Params queries all parameters of the gov module.

path Parameters
params_type
required
string

params_type defines which parameters to query for, can be one of "voting", +"tallying" or "deposit".

+

Responses

Proposals queries all proposals based on given status.

query Parameters
proposal_status
string
Default: "PROPOSAL_STATUS_UNSPECIFIED"
Enum: "PROPOSAL_STATUS_UNSPECIFIED" "PROPOSAL_STATUS_DEPOSIT_PERIOD" "PROPOSAL_STATUS_VOTING_PERIOD" "PROPOSAL_STATUS_PASSED" "PROPOSAL_STATUS_REJECTED" "PROPOSAL_STATUS_FAILED"

proposal_status defines the status of the proposals.

+
    +
  • PROPOSAL_STATUS_UNSPECIFIED: PROPOSAL_STATUS_UNSPECIFIED defines the default propopsal status.
  • +
  • PROPOSAL_STATUS_DEPOSIT_PERIOD: PROPOSAL_STATUS_DEPOSIT_PERIOD defines a proposal status during the deposit +period.
  • +
  • PROPOSAL_STATUS_VOTING_PERIOD: PROPOSAL_STATUS_VOTING_PERIOD defines a proposal status during the voting +period.
  • +
  • PROPOSAL_STATUS_PASSED: PROPOSAL_STATUS_PASSED defines a proposal status of a proposal that has +passed.
  • +
  • PROPOSAL_STATUS_REJECTED: PROPOSAL_STATUS_REJECTED defines a proposal status of a proposal that has +been rejected.
  • +
  • PROPOSAL_STATUS_FAILED: PROPOSAL_STATUS_FAILED defines a proposal status of a proposal that has +failed.
  • +
+
voter
string

voter defines the voter address for the proposals.

+
depositor
string

depositor defines the deposit addresses from the proposals.

+
pagination.key
string <byte>

key is a value returned in PageResponse.next_key to begin +querying the next page most efficiently. Only one of offset or key +should be set.

+
pagination.offset
string <uint64>

offset is a numeric offset that can be used when key is unavailable. +It is less efficient than using key. Only one of offset or key should +be set.

+
pagination.limit
string <uint64>

limit is the total number of results to be returned in the result page. +If left empty it will default to a value to be set by each app.

+
pagination.count_total
boolean

count_total is set to true to indicate that the result set should include +a count of the total number of items available for pagination in UIs. +count_total is only respected when offset is used. It is ignored when key +is set.

+
pagination.reverse
boolean

reverse is set to true if results are to be returned in the descending +order.

+

Responses

Proposal queries proposal details based on ProposalID.

path Parameters
proposal_id
required
string <uint64>

proposal_id defines the unique id of the proposal.

+

Responses

Deposits queries all deposits of a single proposal.

path Parameters
proposal_id
required
string <uint64>

proposal_id defines the unique id of the proposal.

+
query Parameters
pagination.key
string <byte>

key is a value returned in PageResponse.next_key to begin +querying the next page most efficiently. Only one of offset or key +should be set.

+
pagination.offset
string <uint64>

offset is a numeric offset that can be used when key is unavailable. +It is less efficient than using key. Only one of offset or key should +be set.

+
pagination.limit
string <uint64>

limit is the total number of results to be returned in the result page. +If left empty it will default to a value to be set by each app.

+
pagination.count_total
boolean

count_total is set to true to indicate that the result set should include +a count of the total number of items available for pagination in UIs. +count_total is only respected when offset is used. It is ignored when key +is set.

+
pagination.reverse
boolean

reverse is set to true if results are to be returned in the descending +order.

+

Responses

Deposit queries single deposit information based proposalID, depositAddr.

path Parameters
proposal_id
required
string <uint64>

proposal_id defines the unique id of the proposal.

+
depositor
required
string

depositor defines the deposit addresses from the proposals.

+

Responses

TallyResult queries the tally of a proposal vote.

path Parameters
proposal_id
required
string <uint64>

proposal_id defines the unique id of the proposal.

+

Responses

Votes queries votes of a given proposal.

path Parameters
proposal_id
required
string <uint64>

proposal_id defines the unique id of the proposal.

+
query Parameters
pagination.key
string <byte>

key is a value returned in PageResponse.next_key to begin +querying the next page most efficiently. Only one of offset or key +should be set.

+
pagination.offset
string <uint64>

offset is a numeric offset that can be used when key is unavailable. +It is less efficient than using key. Only one of offset or key should +be set.

+
pagination.limit
string <uint64>

limit is the total number of results to be returned in the result page. +If left empty it will default to a value to be set by each app.

+
pagination.count_total
boolean

count_total is set to true to indicate that the result set should include +a count of the total number of items available for pagination in UIs. +count_total is only respected when offset is used. It is ignored when key +is set.

+
pagination.reverse
boolean

reverse is set to true if results are to be returned in the descending +order.

+

Responses

Vote queries voted information based on proposalID, voterAddr.

path Parameters
proposal_id
required
string <uint64>

proposal_id defines the unique id of the proposal.

+
voter
required
string

voter defines the oter address for the proposals.

+

Responses

AnnualProvisions current minting annual provisions value.

Responses

Inflation returns the current minting inflation value.

Responses

Params returns the total set of minting parameters.

Responses

Params queries a specific parameter of a module, given its subspace and +key.

query Parameters
subspace
string

subspace defines the module to query the parameter for.

+
key
string

key defines the key of the parameter in the subspace.

+

Responses

Params queries the parameters of slashing module

Responses

SigningInfos queries signing info of all validators

query Parameters
pagination.key
string <byte>

key is a value returned in PageResponse.next_key to begin +querying the next page most efficiently. Only one of offset or key +should be set.

+
pagination.offset
string <uint64>

offset is a numeric offset that can be used when key is unavailable. +It is less efficient than using key. Only one of offset or key should +be set.

+
pagination.limit
string <uint64>

limit is the total number of results to be returned in the result page. +If left empty it will default to a value to be set by each app.

+
pagination.count_total
boolean

count_total is set to true to indicate that the result set should include +a count of the total number of items available for pagination in UIs. +count_total is only respected when offset is used. It is ignored when key +is set.

+
pagination.reverse
boolean

reverse is set to true if results are to be returned in the descending +order.

+

Responses

SigningInfo queries the signing info of given cons address

path Parameters
cons_address
required
string

cons_address is the address to query signing info of

+

Responses

DelegatorDelegations queries all delegations of a given delegator address.

path Parameters
delegator_addr
required
string

delegator_addr defines the delegator address to query for.

+
query Parameters
pagination.key
string <byte>

key is a value returned in PageResponse.next_key to begin +querying the next page most efficiently. Only one of offset or key +should be set.

+
pagination.offset
string <uint64>

offset is a numeric offset that can be used when key is unavailable. +It is less efficient than using key. Only one of offset or key should +be set.

+
pagination.limit
string <uint64>

limit is the total number of results to be returned in the result page. +If left empty it will default to a value to be set by each app.

+
pagination.count_total
boolean

count_total is set to true to indicate that the result set should include +a count of the total number of items available for pagination in UIs. +count_total is only respected when offset is used. It is ignored when key +is set.

+
pagination.reverse
boolean

reverse is set to true if results are to be returned in the descending +order.

+

Responses

Redelegations queries redelegations of given address.

path Parameters
delegator_addr
required
string

delegator_addr defines the delegator address to query for.

+
query Parameters
src_validator_addr
string

src_validator_addr defines the validator address to redelegate from.

+
dst_validator_addr
string

dst_validator_addr defines the validator address to redelegate to.

+
pagination.key
string <byte>

key is a value returned in PageResponse.next_key to begin +querying the next page most efficiently. Only one of offset or key +should be set.

+
pagination.offset
string <uint64>

offset is a numeric offset that can be used when key is unavailable. +It is less efficient than using key. Only one of offset or key should +be set.

+
pagination.limit
string <uint64>

limit is the total number of results to be returned in the result page. +If left empty it will default to a value to be set by each app.

+
pagination.count_total
boolean

count_total is set to true to indicate that the result set should include +a count of the total number of items available for pagination in UIs. +count_total is only respected when offset is used. It is ignored when key +is set.

+
pagination.reverse
boolean

reverse is set to true if results are to be returned in the descending +order.

+

Responses

DelegatorUnbondingDelegations queries all unbonding delegations of a given +delegator address.

path Parameters
delegator_addr
required
string

delegator_addr defines the delegator address to query for.

+
query Parameters
pagination.key
string <byte>

key is a value returned in PageResponse.next_key to begin +querying the next page most efficiently. Only one of offset or key +should be set.

+
pagination.offset
string <uint64>

offset is a numeric offset that can be used when key is unavailable. +It is less efficient than using key. Only one of offset or key should +be set.

+
pagination.limit
string <uint64>

limit is the total number of results to be returned in the result page. +If left empty it will default to a value to be set by each app.

+
pagination.count_total
boolean

count_total is set to true to indicate that the result set should include +a count of the total number of items available for pagination in UIs. +count_total is only respected when offset is used. It is ignored when key +is set.

+
pagination.reverse
boolean

reverse is set to true if results are to be returned in the descending +order.

+

Responses

DelegatorValidators queries all validators info for given delegator +address.

path Parameters
delegator_addr
required
string

delegator_addr defines the delegator address to query for.

+
query Parameters
pagination.key
string <byte>

key is a value returned in PageResponse.next_key to begin +querying the next page most efficiently. Only one of offset or key +should be set.

+
pagination.offset
string <uint64>

offset is a numeric offset that can be used when key is unavailable. +It is less efficient than using key. Only one of offset or key should +be set.

+
pagination.limit
string <uint64>

limit is the total number of results to be returned in the result page. +If left empty it will default to a value to be set by each app.

+
pagination.count_total
boolean

count_total is set to true to indicate that the result set should include +a count of the total number of items available for pagination in UIs. +count_total is only respected when offset is used. It is ignored when key +is set.

+
pagination.reverse
boolean

reverse is set to true if results are to be returned in the descending +order.

+

Responses

DelegatorValidator queries validator info for given delegator validator +pair.

path Parameters
delegator_addr
required
string

delegator_addr defines the delegator address to query for.

+
validator_addr
required
string

validator_addr defines the validator address to query for.

+

Responses

HistoricalInfo queries the historical info for given height.

path Parameters
height
required
string <int64>

height defines at which height to query the historical info.

+

Responses

Parameters queries the staking parameters.

Responses

Pool queries the pool info.

Responses

Validators queries all validators that match the given status.

query Parameters
status
string

status enables to query for validators matching a given status.

+
pagination.key
string <byte>

key is a value returned in PageResponse.next_key to begin +querying the next page most efficiently. Only one of offset or key +should be set.

+
pagination.offset
string <uint64>

offset is a numeric offset that can be used when key is unavailable. +It is less efficient than using key. Only one of offset or key should +be set.

+
pagination.limit
string <uint64>

limit is the total number of results to be returned in the result page. +If left empty it will default to a value to be set by each app.

+
pagination.count_total
boolean

count_total is set to true to indicate that the result set should include +a count of the total number of items available for pagination in UIs. +count_total is only respected when offset is used. It is ignored when key +is set.

+
pagination.reverse
boolean

reverse is set to true if results are to be returned in the descending +order.

+

Responses

Validator queries validator info for given validator address.

path Parameters
validator_addr
required
string

validator_addr defines the validator address to query for.

+

Responses

ValidatorDelegations queries delegate info for given validator.

path Parameters
validator_addr
required
string

validator_addr defines the validator address to query for.

+
query Parameters
pagination.key
string <byte>

key is a value returned in PageResponse.next_key to begin +querying the next page most efficiently. Only one of offset or key +should be set.

+
pagination.offset
string <uint64>

offset is a numeric offset that can be used when key is unavailable. +It is less efficient than using key. Only one of offset or key should +be set.

+
pagination.limit
string <uint64>

limit is the total number of results to be returned in the result page. +If left empty it will default to a value to be set by each app.

+
pagination.count_total
boolean

count_total is set to true to indicate that the result set should include +a count of the total number of items available for pagination in UIs. +count_total is only respected when offset is used. It is ignored when key +is set.

+
pagination.reverse
boolean

reverse is set to true if results are to be returned in the descending +order.

+

Responses

Delegation queries delegate info for given validator delegator pair.

path Parameters
validator_addr
required
string

validator_addr defines the validator address to query for.

+
delegator_addr
required
string

delegator_addr defines the delegator address to query for.

+

Responses

UnbondingDelegation queries unbonding info for given validator delegator +pair.

path Parameters
validator_addr
required
string

validator_addr defines the validator address to query for.

+
delegator_addr
required
string

delegator_addr defines the delegator address to query for.

+

Responses

ValidatorUnbondingDelegations queries unbonding delegations of a validator.

path Parameters
validator_addr
required
string

validator_addr defines the validator address to query for.

+
query Parameters
pagination.key
string <byte>

key is a value returned in PageResponse.next_key to begin +querying the next page most efficiently. Only one of offset or key +should be set.

+
pagination.offset
string <uint64>

offset is a numeric offset that can be used when key is unavailable. +It is less efficient than using key. Only one of offset or key should +be set.

+
pagination.limit
string <uint64>

limit is the total number of results to be returned in the result page. +If left empty it will default to a value to be set by each app.

+
pagination.count_total
boolean

count_total is set to true to indicate that the result set should include +a count of the total number of items available for pagination in UIs. +count_total is only respected when offset is used. It is ignored when key +is set.

+
pagination.reverse
boolean

reverse is set to true if results are to be returned in the descending +order.

+

Responses

AppliedPlan queries a previously applied upgrade plan by its name.

path Parameters
name
required
string

name is the name of the applied plan to query for.

+

Responses

CurrentPlan queries the current upgrade plan.

Responses

ModuleVersions queries the list of module versions from state.

Since: cosmos-sdk 0.43

+
query Parameters
module_name
string

module_name is a field to query a specific module +consensus version from state. Leaving this empty will +fetch the full list of module versions from state.

+

Responses

UpgradedConsensusState queries the consensus state that will serve +as a trusted kernel for the next version of this chain. It will only be +stored at the last height of this chain. +UpgradedConsensusState RPC not supported with legacy querier +This rpc is deprecated now that IBC has its own replacement +(https://github.com/cosmos/ibc-go/blob/2c880a22e9f9cc75f62b527ca94aa75ce1106001/proto/ibc/core/client/v1/query.proto#L54)

path Parameters
last_height
required
string <int64>

last height of the current chain must be sent in request +as this is the height under which next consensus state is stored

+

Responses

Service

GetLatestBlock returns the latest block.

Responses

GetBlockByHeight queries block for given height.

path Parameters
height
required
string <int64>

Responses

GetNodeInfo queries the current node info.

Responses

GetSyncing queries node syncing.

Responses

GetLatestValidatorSet queries latest validator-set.

query Parameters
pagination.key
string <byte>

key is a value returned in PageResponse.next_key to begin +querying the next page most efficiently. Only one of offset or key +should be set.

+
pagination.offset
string <uint64>

offset is a numeric offset that can be used when key is unavailable. +It is less efficient than using key. Only one of offset or key should +be set.

+
pagination.limit
string <uint64>

limit is the total number of results to be returned in the result page. +If left empty it will default to a value to be set by each app.

+
pagination.count_total
boolean

count_total is set to true to indicate that the result set should include +a count of the total number of items available for pagination in UIs. +count_total is only respected when offset is used. It is ignored when key +is set.

+
pagination.reverse
boolean

reverse is set to true if results are to be returned in the descending +order.

+

Responses

GetValidatorSetByHeight queries validator-set at a given height.

path Parameters
height
required
string <int64>
query Parameters
pagination.key
string <byte>

key is a value returned in PageResponse.next_key to begin +querying the next page most efficiently. Only one of offset or key +should be set.

+
pagination.offset
string <uint64>

offset is a numeric offset that can be used when key is unavailable. +It is less efficient than using key. Only one of offset or key should +be set.

+
pagination.limit
string <uint64>

limit is the total number of results to be returned in the result page. +If left empty it will default to a value to be set by each app.

+
pagination.count_total
boolean

count_total is set to true to indicate that the result set should include +a count of the total number of items available for pagination in UIs. +count_total is only respected when offset is used. It is ignored when key +is set.

+
pagination.reverse
boolean

reverse is set to true if results are to be returned in the descending +order.

+

Responses

Simulate simulates executing a transaction for estimating gas usage.

Request Body schema: application/json
object (cosmos.tx.v1beta1.Tx)

Tx is the standard type used for broadcasting transactions.

+
tx_bytes
string <byte>

tx_bytes is the raw transaction.

+

Since: cosmos-sdk 0.43

+

Responses

Request samples

Content type
application/json
{
  • "tx":
    {
    },
  • "tx_bytes": "string"
}

GetTxsEvent fetches txs by event.

query Parameters
events
Array of strings

events is the list of transaction event type.

+
pagination.key
string <byte>

key is a value returned in PageResponse.next_key to begin +querying the next page most efficiently. Only one of offset or key +should be set.

+
pagination.offset
string <uint64>

offset is a numeric offset that can be used when key is unavailable. +It is less efficient than using key. Only one of offset or key should +be set.

+
pagination.limit
string <uint64>

limit is the total number of results to be returned in the result page. +If left empty it will default to a value to be set by each app.

+
pagination.count_total
boolean

count_total is set to true to indicate that the result set should include +a count of the total number of items available for pagination in UIs. +count_total is only respected when offset is used. It is ignored when key +is set.

+
pagination.reverse
boolean

reverse is set to true if results are to be returned in the descending +order.

+
order_by
string
Default: "ORDER_BY_UNSPECIFIED"
Enum: "ORDER_BY_UNSPECIFIED" "ORDER_BY_ASC" "ORDER_BY_DESC"
    +
  • ORDER_BY_UNSPECIFIED: ORDER_BY_UNSPECIFIED specifies an unknown sorting order. OrderBy defaults to ASC in this case.
  • +
  • ORDER_BY_ASC: ORDER_BY_ASC defines ascending order
  • +
  • ORDER_BY_DESC: ORDER_BY_DESC defines descending order
  • +
+

Responses

BroadcastTx broadcast transaction.

Request Body schema: application/json
tx_bytes
string <byte>

tx_bytes is the raw transaction.

+
mode
string
Default: "BROADCAST_MODE_UNSPECIFIED"
Enum: "BROADCAST_MODE_UNSPECIFIED" "BROADCAST_MODE_BLOCK" "BROADCAST_MODE_SYNC" "BROADCAST_MODE_ASYNC"

BroadcastMode specifies the broadcast mode for the TxService.Broadcast RPC method.

+
    +
  • BROADCAST_MODE_UNSPECIFIED: zero-value for mode ordering
  • +
  • BROADCAST_MODE_BLOCK: BROADCAST_MODE_BLOCK defines a tx broadcasting mode where the client waits for +the tx to be committed in a block.
  • +
  • BROADCAST_MODE_SYNC: BROADCAST_MODE_SYNC defines a tx broadcasting mode where the client waits for +a CheckTx execution response only.
  • +
  • BROADCAST_MODE_ASYNC: BROADCAST_MODE_ASYNC defines a tx broadcasting mode where the client returns +immediately.
  • +
+

Responses

Request samples

Content type
application/json
{
  • "tx_bytes": "string",
  • "mode": "BROADCAST_MODE_UNSPECIFIED"
}

GetBlockWithTxs fetches a block with decoded txs.

Since: cosmos-sdk 0.45.2

+
path Parameters
height
required
string <int64>

height is the height of the block to query.

+
query Parameters
pagination.key
string <byte>

key is a value returned in PageResponse.next_key to begin +querying the next page most efficiently. Only one of offset or key +should be set.

+
pagination.offset
string <uint64>

offset is a numeric offset that can be used when key is unavailable. +It is less efficient than using key. Only one of offset or key should +be set.

+
pagination.limit
string <uint64>

limit is the total number of results to be returned in the result page. +If left empty it will default to a value to be set by each app.

+
pagination.count_total
boolean

count_total is set to true to indicate that the result set should include +a count of the total number of items available for pagination in UIs. +count_total is only respected when offset is used. It is ignored when key +is set.

+
pagination.reverse
boolean

reverse is set to true if results are to be returned in the descending +order.

+

Responses

GetTx fetches a tx by hash.

path Parameters
hash
required
string

hash is the tx hash to query, encoded as a hex string.

+

Responses

+ + + + \ No newline at end of file diff --git a/client/docs/static/openapi/openapi.yaml b/client/docs/static/openapi/openapi.yaml new file mode 100644 index 000000000..f1ffaaf9c --- /dev/null +++ b/client/docs/static/openapi/openapi.yaml @@ -0,0 +1,63210 @@ +openapi: 3.0.0 +info: + title: comdex - gRPC Gateway docs + description: A REST interface for state queries, legacy transactions + version: 1.0.0 +paths: + "/comdex/asset/v1beta1/app/{id}": + get: + operationId: QueryApp + responses: + "200": + description: A successful response. + content: + "*/*": + schema: + type: object + properties: + app: + type: object + properties: + id: + type: string + format: uint64 + name: + type: string + short_name: + type: string + min_gov_deposit: + type: string + gov_time_in_seconds: + type: string + format: uint64 + genesis_token: + type: array + items: + type: object + properties: + asset_id: + type: string + format: uint64 + genesis_supply: + type: string + is_gov_token: + type: boolean + recipient: + type: string + default: + description: An unexpected error response. + content: + "*/*": + schema: + type: object + properties: + error: + type: string + code: + type: integer + format: int32 + message: + type: string + details: + type: array + items: + type: object + properties: + type_url: + type: string + value: + type: string + format: byte + parameters: + - name: id + in: path + required: true + schema: + type: string + format: uint64 + tags: + - Query + /comdex/asset/v1beta1/apps: + get: + operationId: QueryApps + responses: + "200": + description: A successful response. + content: + "*/*": + schema: + type: object + properties: + apps: + type: array + items: + type: object + properties: + id: + type: string + format: uint64 + name: + type: string + short_name: + type: string + min_gov_deposit: + type: string + gov_time_in_seconds: + type: string + format: uint64 + genesis_token: + type: array + items: + type: object + properties: + asset_id: + type: string + format: uint64 + genesis_supply: + type: string + is_gov_token: + type: boolean + recipient: + type: string + pagination: + type: object + properties: + next_key: + type: string + format: byte + title: |- + next_key is the key to be passed to PageRequest.key to + query the next page most efficiently + total: + type: string + format: uint64 + title: >- + total is total number of results available if PageRequest.count_total + + was set, its value is undefined otherwise + description: >- + PageResponse is to be embedded in gRPC response messages where the + + corresponding request message has used PageRequest. + + + message SomeResponse { + repeated Bar results = 1; + PageResponse page = 2; + } + default: + description: An unexpected error response. + content: + "*/*": + schema: + type: object + properties: + error: + type: string + code: + type: integer + format: int32 + message: + type: string + details: + type: array + items: + type: object + properties: + type_url: + type: string + value: + type: string + format: byte + parameters: + - name: pagination.key + description: |- + key is a value returned in PageResponse.next_key to begin + querying the next page most efficiently. Only one of offset or key + should be set. + in: query + required: false + schema: + type: string + format: byte + - name: pagination.offset + description: >- + offset is a numeric offset that can be used when key is unavailable. + + It is less efficient than using key. Only one of offset or key should + + be set. + in: query + required: false + schema: + type: string + format: uint64 + - name: pagination.limit + description: >- + limit is the total number of results to be returned in the result page. + + If left empty it will default to a value to be set by each app. + in: query + required: false + schema: + type: string + format: uint64 + - name: pagination.count_total + description: >- + count_total is set to true to indicate that the result set should include + + a count of the total number of items available for pagination in UIs. + + count_total is only respected when offset is used. It is ignored when key + + is set. + in: query + required: false + schema: + type: boolean + - name: pagination.reverse + description: >- + reverse is set to true if results are to be returned in the descending + + order. + in: query + required: false + schema: + type: boolean + tags: + - Query + /comdex/asset/v1beta1/assets: + get: + operationId: QueryAssets + responses: + "200": + description: A successful response. + content: + "*/*": + schema: + type: object + properties: + assets: + type: array + items: + type: object + properties: + id: + type: string + format: uint64 + name: + type: string + denom: + type: string + decimals: + type: string + is_on_chain: + type: boolean + is_oracle_price_required: + type: boolean + is_cdp_mintable: + type: boolean + pagination: + type: object + properties: + next_key: + type: string + format: byte + title: |- + next_key is the key to be passed to PageRequest.key to + query the next page most efficiently + total: + type: string + format: uint64 + title: >- + total is total number of results available if PageRequest.count_total + + was set, its value is undefined otherwise + description: >- + PageResponse is to be embedded in gRPC response messages where the + + corresponding request message has used PageRequest. + + + message SomeResponse { + repeated Bar results = 1; + PageResponse page = 2; + } + default: + description: An unexpected error response. + content: + "*/*": + schema: + type: object + properties: + error: + type: string + code: + type: integer + format: int32 + message: + type: string + details: + type: array + items: + type: object + properties: + type_url: + type: string + value: + type: string + format: byte + parameters: + - name: pagination.key + description: |- + key is a value returned in PageResponse.next_key to begin + querying the next page most efficiently. Only one of offset or key + should be set. + in: query + required: false + schema: + type: string + format: byte + - name: pagination.offset + description: >- + offset is a numeric offset that can be used when key is unavailable. + + It is less efficient than using key. Only one of offset or key should + + be set. + in: query + required: false + schema: + type: string + format: uint64 + - name: pagination.limit + description: >- + limit is the total number of results to be returned in the result page. + + If left empty it will default to a value to be set by each app. + in: query + required: false + schema: + type: string + format: uint64 + - name: pagination.count_total + description: >- + count_total is set to true to indicate that the result set should include + + a count of the total number of items available for pagination in UIs. + + count_total is only respected when offset is used. It is ignored when key + + is set. + in: query + required: false + schema: + type: boolean + - name: pagination.reverse + description: >- + reverse is set to true if results are to be returned in the descending + + order. + in: query + required: false + schema: + type: boolean + tags: + - Query + "/comdex/asset/v1beta1/assets/{id}": + get: + operationId: QueryAsset + responses: + "200": + description: A successful response. + content: + "*/*": + schema: + type: object + properties: + asset: + type: object + properties: + id: + type: string + format: uint64 + name: + type: string + denom: + type: string + decimals: + type: string + is_on_chain: + type: boolean + is_oracle_price_required: + type: boolean + is_cdp_mintable: + type: boolean + default: + description: An unexpected error response. + content: + "*/*": + schema: + type: object + properties: + error: + type: string + code: + type: integer + format: int32 + message: + type: string + details: + type: array + items: + type: object + properties: + type_url: + type: string + value: + type: string + format: byte + parameters: + - name: id + in: path + required: true + schema: + type: string + format: uint64 + tags: + - Query + "/comdex/asset/v1beta1/extended_pair_stable_vault_data/{app_id}": + get: + operationId: QueryAllExtendedPairStableVaultsByApp + responses: + "200": + description: A successful response. + content: + "*/*": + schema: + type: object + properties: + extended_pair: + type: array + items: + type: object + properties: + id: + type: string + format: uint64 + app_id: + type: string + format: uint64 + pair_id: + type: string + format: uint64 + stability_fee: + type: string + closing_fee: + type: string + liquidation_penalty: + type: string + draw_down_fee: + type: string + is_vault_active: + type: boolean + debt_ceiling: + type: string + debt_floor: + type: string + is_stable_mint_vault: + type: boolean + min_cr: + type: string + pair_name: + type: string + asset_out_oracle_price: + type: boolean + asset_out_price: + type: string + format: uint64 + min_usd_value_left: + type: string + format: uint64 + block_height: + type: string + format: int64 + block_time: + type: string + format: date-time + pagination: + type: object + properties: + next_key: + type: string + format: byte + title: |- + next_key is the key to be passed to PageRequest.key to + query the next page most efficiently + total: + type: string + format: uint64 + title: >- + total is total number of results available if PageRequest.count_total + + was set, its value is undefined otherwise + description: >- + PageResponse is to be embedded in gRPC response messages where the + + corresponding request message has used PageRequest. + + + message SomeResponse { + repeated Bar results = 1; + PageResponse page = 2; + } + default: + description: An unexpected error response. + content: + "*/*": + schema: + type: object + properties: + error: + type: string + code: + type: integer + format: int32 + message: + type: string + details: + type: array + items: + type: object + properties: + type_url: + type: string + value: + type: string + format: byte + parameters: + - name: app_id + in: path + required: true + schema: + type: string + format: uint64 + - name: pagination.key + description: |- + key is a value returned in PageResponse.next_key to begin + querying the next page most efficiently. Only one of offset or key + should be set. + in: query + required: false + schema: + type: string + format: byte + - name: pagination.offset + description: >- + offset is a numeric offset that can be used when key is unavailable. + + It is less efficient than using key. Only one of offset or key should + + be set. + in: query + required: false + schema: + type: string + format: uint64 + - name: pagination.limit + description: >- + limit is the total number of results to be returned in the result page. + + If left empty it will default to a value to be set by each app. + in: query + required: false + schema: + type: string + format: uint64 + - name: pagination.count_total + description: >- + count_total is set to true to indicate that the result set should include + + a count of the total number of items available for pagination in UIs. + + count_total is only respected when offset is used. It is ignored when key + + is set. + in: query + required: false + schema: + type: boolean + - name: pagination.reverse + description: >- + reverse is set to true if results are to be returned in the descending + + order. + in: query + required: false + schema: + type: boolean + tags: + - Query + "/comdex/asset/v1beta1/extended_pair_stable_vault_data_without_stable/{app_id}": + get: + operationId: QueryExtendedPairVaultsByAppWithoutStable + responses: + "200": + description: A successful response. + content: + "*/*": + schema: + type: object + properties: + extended_pair: + type: array + items: + type: object + properties: + id: + type: string + format: uint64 + app_id: + type: string + format: uint64 + pair_id: + type: string + format: uint64 + stability_fee: + type: string + closing_fee: + type: string + liquidation_penalty: + type: string + draw_down_fee: + type: string + is_vault_active: + type: boolean + debt_ceiling: + type: string + debt_floor: + type: string + is_stable_mint_vault: + type: boolean + min_cr: + type: string + pair_name: + type: string + asset_out_oracle_price: + type: boolean + asset_out_price: + type: string + format: uint64 + min_usd_value_left: + type: string + format: uint64 + block_height: + type: string + format: int64 + block_time: + type: string + format: date-time + pagination: + type: object + properties: + next_key: + type: string + format: byte + title: |- + next_key is the key to be passed to PageRequest.key to + query the next page most efficiently + total: + type: string + format: uint64 + title: >- + total is total number of results available if PageRequest.count_total + + was set, its value is undefined otherwise + description: >- + PageResponse is to be embedded in gRPC response messages where the + + corresponding request message has used PageRequest. + + + message SomeResponse { + repeated Bar results = 1; + PageResponse page = 2; + } + default: + description: An unexpected error response. + content: + "*/*": + schema: + type: object + properties: + error: + type: string + code: + type: integer + format: int32 + message: + type: string + details: + type: array + items: + type: object + properties: + type_url: + type: string + value: + type: string + format: byte + parameters: + - name: app_id + in: path + required: true + schema: + type: string + format: uint64 + - name: pagination.key + description: |- + key is a value returned in PageResponse.next_key to begin + querying the next page most efficiently. Only one of offset or key + should be set. + in: query + required: false + schema: + type: string + format: byte + - name: pagination.offset + description: >- + offset is a numeric offset that can be used when key is unavailable. + + It is less efficient than using key. Only one of offset or key should + + be set. + in: query + required: false + schema: + type: string + format: uint64 + - name: pagination.limit + description: >- + limit is the total number of results to be returned in the result page. + + If left empty it will default to a value to be set by each app. + in: query + required: false + schema: + type: string + format: uint64 + - name: pagination.count_total + description: >- + count_total is set to true to indicate that the result set should include + + a count of the total number of items available for pagination in UIs. + + count_total is only respected when offset is used. It is ignored when key + + is set. + in: query + required: false + schema: + type: boolean + - name: pagination.reverse + description: >- + reverse is set to true if results are to be returned in the descending + + order. + in: query + required: false + schema: + type: boolean + tags: + - Query + "/comdex/asset/v1beta1/extended_pair_stable_vault_wise/{app_id}": + get: + operationId: QueryAllExtendedPairStableVaultsIDByApp + responses: + "200": + description: A successful response. + content: + "*/*": + schema: + type: object + properties: + extended_pairs_id: + type: array + items: + type: string + format: uint64 + pagination: + type: object + properties: + next_key: + type: string + format: byte + title: |- + next_key is the key to be passed to PageRequest.key to + query the next page most efficiently + total: + type: string + format: uint64 + title: >- + total is total number of results available if PageRequest.count_total + + was set, its value is undefined otherwise + description: >- + PageResponse is to be embedded in gRPC response messages where the + + corresponding request message has used PageRequest. + + + message SomeResponse { + repeated Bar results = 1; + PageResponse page = 2; + } + default: + description: An unexpected error response. + content: + "*/*": + schema: + type: object + properties: + error: + type: string + code: + type: integer + format: int32 + message: + type: string + details: + type: array + items: + type: object + properties: + type_url: + type: string + value: + type: string + format: byte + parameters: + - name: app_id + in: path + required: true + schema: + type: string + format: uint64 + - name: pagination.key + description: |- + key is a value returned in PageResponse.next_key to begin + querying the next page most efficiently. Only one of offset or key + should be set. + in: query + required: false + schema: + type: string + format: byte + - name: pagination.offset + description: >- + offset is a numeric offset that can be used when key is unavailable. + + It is less efficient than using key. Only one of offset or key should + + be set. + in: query + required: false + schema: + type: string + format: uint64 + - name: pagination.limit + description: >- + limit is the total number of results to be returned in the result page. + + If left empty it will default to a value to be set by each app. + in: query + required: false + schema: + type: string + format: uint64 + - name: pagination.count_total + description: >- + count_total is set to true to indicate that the result set should include + + a count of the total number of items available for pagination in UIs. + + count_total is only respected when offset is used. It is ignored when key + + is set. + in: query + required: false + schema: + type: boolean + - name: pagination.reverse + description: >- + reverse is set to true if results are to be returned in the descending + + order. + in: query + required: false + schema: + type: boolean + tags: + - Query + "/comdex/asset/v1beta1/extended_pair_vault/{id}": + get: + operationId: QueryExtendedPairVault + responses: + "200": + description: A successful response. + content: + "*/*": + schema: + type: object + properties: + pairVault: + type: object + properties: + id: + type: string + format: uint64 + app_id: + type: string + format: uint64 + pair_id: + type: string + format: uint64 + stability_fee: + type: string + closing_fee: + type: string + liquidation_penalty: + type: string + draw_down_fee: + type: string + is_vault_active: + type: boolean + debt_ceiling: + type: string + debt_floor: + type: string + is_stable_mint_vault: + type: boolean + min_cr: + type: string + pair_name: + type: string + asset_out_oracle_price: + type: boolean + asset_out_price: + type: string + format: uint64 + min_usd_value_left: + type: string + format: uint64 + block_height: + type: string + format: int64 + block_time: + type: string + format: date-time + default: + description: An unexpected error response. + content: + "*/*": + schema: + type: object + properties: + error: + type: string + code: + type: integer + format: int32 + message: + type: string + details: + type: array + items: + type: object + properties: + type_url: + type: string + value: + type: string + format: byte + parameters: + - name: id + in: path + required: true + schema: + type: string + format: uint64 + tags: + - Query + /comdex/asset/v1beta1/extended_pair_vaults: + get: + operationId: QueryAllExtendedPairVaults + responses: + "200": + description: A successful response. + content: + "*/*": + schema: + type: object + properties: + pairVault: + type: array + items: + type: object + properties: + id: + type: string + format: uint64 + app_id: + type: string + format: uint64 + pair_id: + type: string + format: uint64 + stability_fee: + type: string + closing_fee: + type: string + liquidation_penalty: + type: string + draw_down_fee: + type: string + is_vault_active: + type: boolean + debt_ceiling: + type: string + debt_floor: + type: string + is_stable_mint_vault: + type: boolean + min_cr: + type: string + pair_name: + type: string + asset_out_oracle_price: + type: boolean + asset_out_price: + type: string + format: uint64 + min_usd_value_left: + type: string + format: uint64 + block_height: + type: string + format: int64 + block_time: + type: string + format: date-time + pagination: + type: object + properties: + next_key: + type: string + format: byte + title: |- + next_key is the key to be passed to PageRequest.key to + query the next page most efficiently + total: + type: string + format: uint64 + title: >- + total is total number of results available if PageRequest.count_total + + was set, its value is undefined otherwise + description: >- + PageResponse is to be embedded in gRPC response messages where the + + corresponding request message has used PageRequest. + + + message SomeResponse { + repeated Bar results = 1; + PageResponse page = 2; + } + default: + description: An unexpected error response. + content: + "*/*": + schema: + type: object + properties: + error: + type: string + code: + type: integer + format: int32 + message: + type: string + details: + type: array + items: + type: object + properties: + type_url: + type: string + value: + type: string + format: byte + parameters: + - name: pagination.key + description: |- + key is a value returned in PageResponse.next_key to begin + querying the next page most efficiently. Only one of offset or key + should be set. + in: query + required: false + schema: + type: string + format: byte + - name: pagination.offset + description: >- + offset is a numeric offset that can be used when key is unavailable. + + It is less efficient than using key. Only one of offset or key should + + be set. + in: query + required: false + schema: + type: string + format: uint64 + - name: pagination.limit + description: >- + limit is the total number of results to be returned in the result page. + + If left empty it will default to a value to be set by each app. + in: query + required: false + schema: + type: string + format: uint64 + - name: pagination.count_total + description: >- + count_total is set to true to indicate that the result set should include + + a count of the total number of items available for pagination in UIs. + + count_total is only respected when offset is used. It is ignored when key + + is set. + in: query + required: false + schema: + type: boolean + - name: pagination.reverse + description: >- + reverse is set to true if results are to be returned in the descending + + order. + in: query + required: false + schema: + type: boolean + tags: + - Query + "/comdex/asset/v1beta1/gov_token_in_an_app/{app_id}": + get: + operationId: QueryGovTokenByApp + responses: + "200": + description: A successful response. + content: + "*/*": + schema: + type: object + properties: + gov_asset_id: + type: string + format: uint64 + default: + description: An unexpected error response. + content: + "*/*": + schema: + type: object + properties: + error: + type: string + code: + type: integer + format: int32 + message: + type: string + details: + type: array + items: + type: object + properties: + type_url: + type: string + value: + type: string + format: byte + parameters: + - name: app_id + in: path + required: true + schema: + type: string + format: uint64 + tags: + - Query + /comdex/asset/v1beta1/pairs: + get: + operationId: QueryAssetPairs + responses: + "200": + description: A successful response. + content: + "*/*": + schema: + type: object + properties: + pairsInfo: + type: array + items: + type: object + properties: + id: + type: string + format: uint64 + asset_in: + type: string + format: uint64 + denom_in: + type: string + asset_out: + type: string + format: uint64 + denom_out: + type: string + pagination: + type: object + properties: + next_key: + type: string + format: byte + title: |- + next_key is the key to be passed to PageRequest.key to + query the next page most efficiently + total: + type: string + format: uint64 + title: >- + total is total number of results available if PageRequest.count_total + + was set, its value is undefined otherwise + description: >- + PageResponse is to be embedded in gRPC response messages where the + + corresponding request message has used PageRequest. + + + message SomeResponse { + repeated Bar results = 1; + PageResponse page = 2; + } + default: + description: An unexpected error response. + content: + "*/*": + schema: + type: object + properties: + error: + type: string + code: + type: integer + format: int32 + message: + type: string + details: + type: array + items: + type: object + properties: + type_url: + type: string + value: + type: string + format: byte + parameters: + - name: pagination.key + description: |- + key is a value returned in PageResponse.next_key to begin + querying the next page most efficiently. Only one of offset or key + should be set. + in: query + required: false + schema: + type: string + format: byte + - name: pagination.offset + description: >- + offset is a numeric offset that can be used when key is unavailable. + + It is less efficient than using key. Only one of offset or key should + + be set. + in: query + required: false + schema: + type: string + format: uint64 + - name: pagination.limit + description: >- + limit is the total number of results to be returned in the result page. + + If left empty it will default to a value to be set by each app. + in: query + required: false + schema: + type: string + format: uint64 + - name: pagination.count_total + description: >- + count_total is set to true to indicate that the result set should include + + a count of the total number of items available for pagination in UIs. + + count_total is only respected when offset is used. It is ignored when key + + is set. + in: query + required: false + schema: + type: boolean + - name: pagination.reverse + description: >- + reverse is set to true if results are to be returned in the descending + + order. + in: query + required: false + schema: + type: boolean + tags: + - Query + "/comdex/asset/v1beta1/pairs/{id}": + get: + operationId: QueryAssetPair + responses: + "200": + description: A successful response. + content: + "*/*": + schema: + type: object + properties: + pairInfo: + type: object + properties: + id: + type: string + format: uint64 + asset_in: + type: string + format: uint64 + denom_in: + type: string + asset_out: + type: string + format: uint64 + denom_out: + type: string + default: + description: An unexpected error response. + content: + "*/*": + schema: + type: object + properties: + error: + type: string + code: + type: integer + format: int32 + message: + type: string + details: + type: array + items: + type: object + properties: + type_url: + type: string + value: + type: string + format: byte + parameters: + - name: id + in: path + required: true + schema: + type: string + format: uint64 + tags: + - Query + "/comdex/asset/v1beta1/product_to_extended_pair/{app_id}": + get: + operationId: QueryAllExtendedPairVaultsByApp + responses: + "200": + description: A successful response. + content: + "*/*": + schema: + type: object + properties: + extended_pair: + type: array + items: + type: object + properties: + id: + type: string + format: uint64 + app_id: + type: string + format: uint64 + pair_id: + type: string + format: uint64 + stability_fee: + type: string + closing_fee: + type: string + liquidation_penalty: + type: string + draw_down_fee: + type: string + is_vault_active: + type: boolean + debt_ceiling: + type: string + debt_floor: + type: string + is_stable_mint_vault: + type: boolean + min_cr: + type: string + pair_name: + type: string + asset_out_oracle_price: + type: boolean + asset_out_price: + type: string + format: uint64 + min_usd_value_left: + type: string + format: uint64 + block_height: + type: string + format: int64 + block_time: + type: string + format: date-time + pagination: + type: object + properties: + next_key: + type: string + format: byte + title: |- + next_key is the key to be passed to PageRequest.key to + query the next page most efficiently + total: + type: string + format: uint64 + title: >- + total is total number of results available if PageRequest.count_total + + was set, its value is undefined otherwise + description: >- + PageResponse is to be embedded in gRPC response messages where the + + corresponding request message has used PageRequest. + + + message SomeResponse { + repeated Bar results = 1; + PageResponse page = 2; + } + default: + description: An unexpected error response. + content: + "*/*": + schema: + type: object + properties: + error: + type: string + code: + type: integer + format: int32 + message: + type: string + details: + type: array + items: + type: object + properties: + type_url: + type: string + value: + type: string + format: byte + parameters: + - name: app_id + in: path + required: true + schema: + type: string + format: uint64 + - name: pagination.key + description: |- + key is a value returned in PageResponse.next_key to begin + querying the next page most efficiently. Only one of offset or key + should be set. + in: query + required: false + schema: + type: string + format: byte + - name: pagination.offset + description: >- + offset is a numeric offset that can be used when key is unavailable. + + It is less efficient than using key. Only one of offset or key should + + be set. + in: query + required: false + schema: + type: string + format: uint64 + - name: pagination.limit + description: >- + limit is the total number of results to be returned in the result page. + + If left empty it will default to a value to be set by each app. + in: query + required: false + schema: + type: string + format: uint64 + - name: pagination.count_total + description: >- + count_total is set to true to indicate that the result set should include + + a count of the total number of items available for pagination in UIs. + + count_total is only respected when offset is used. It is ignored when key + + is set. + in: query + required: false + schema: + type: boolean + - name: pagination.reverse + description: >- + reverse is set to true if results are to be returned in the descending + + order. + in: query + required: false + schema: + type: boolean + tags: + - Query + "/comdex/auction/v1beta1/auctionparams/{app_id}": + get: + operationId: QueryDutchAuctionParams + responses: + "200": + description: A successful response. + content: + "*/*": + schema: + type: object + properties: + auctionParams: + type: object + properties: + app_id: + type: string + format: uint64 + auction_duration_seconds: + type: string + format: uint64 + buffer: + type: string + cusp: + type: string + step: + type: string + price_function_type: + type: string + format: uint64 + surplus_id: + type: string + format: uint64 + debt_id: + type: string + format: uint64 + dutch_id: + type: string + format: uint64 + bid_duration_seconds: + type: string + format: uint64 + default: + description: An unexpected error response. + content: + "*/*": + schema: + type: object + properties: + error: + type: string + code: + type: integer + format: int32 + message: + type: string + details: + type: array + items: + type: object + properties: + type_url: + type: string + value: + type: string + format: byte + parameters: + - name: app_id + in: path + required: true + schema: + type: string + format: uint64 + tags: + - Query + "/comdex/auction/v1beta1/debtauction/{app_id}/{auction_mapping_id}/{auction_id}/{history}": + get: + operationId: QueryDebtAuction + responses: + "200": + description: A successful response. + content: + "*/*": + schema: + type: object + properties: + auction: + type: object + properties: + auction_id: + type: string + format: uint64 + auctioned_token: + type: object + properties: + denom: + type: string + amount: + type: string + description: >- + Coin defines a token with a denomination and an amount. + + + NOTE: The amount field is an Int which implements the custom method + + signatures required by gogoproto. + expected_user_token: + type: object + properties: + denom: + type: string + amount: + type: string + description: >- + Coin defines a token with a denomination and an amount. + + + NOTE: The amount field is an Int which implements the custom method + + signatures required by gogoproto. + expected_minted_token: + type: object + properties: + denom: + type: string + amount: + type: string + description: >- + Coin defines a token with a denomination and an amount. + + + NOTE: The amount field is an Int which implements the custom method + + signatures required by gogoproto. + end_time: + type: string + format: date-time + active_bidding_id: + type: string + format: uint64 + bidder: + type: string + current_bid_amount: + type: object + properties: + denom: + type: string + amount: + type: string + description: >- + Coin defines a token with a denomination and an amount. + + + NOTE: The amount field is an Int which implements the custom method + + signatures required by gogoproto. + auction_status: + type: string + format: uint64 + app_id: + type: string + format: uint64 + asset_id: + type: string + format: uint64 + bidding_ids: + type: array + items: + type: object + properties: + bid_id: + type: string + format: uint64 + bid_owner: + type: string + auction_mapping_id: + type: string + format: uint64 + bid_factor: + type: string + asset_in_id: + type: string + format: uint64 + asset_out_id: + type: string + format: uint64 + bid_end_time: + type: string + format: date-time + pagination: + type: object + properties: + key: + type: string + format: byte + description: >- + key is a value returned in PageResponse.next_key to begin + + querying the next page most efficiently. Only one of offset or key + + should be set. + offset: + type: string + format: uint64 + description: >- + offset is a numeric offset that can be used when key is unavailable. + + It is less efficient than using key. Only one of offset or key should + + be set. + limit: + type: string + format: uint64 + description: >- + limit is the total number of results to be returned in the result page. + + If left empty it will default to a value to be set by each app. + count_total: + type: boolean + description: >- + count_total is set to true to indicate that the result set should include + + a count of the total number of items available for pagination in UIs. + + count_total is only respected when offset is used. It is ignored when key + + is set. + reverse: + type: boolean + description: >- + reverse is set to true if results are to be returned in the descending + + order. + description: |- + message SomeRequest { + Foo some_parameter = 1; + PageRequest pagination = 2; + } + title: >- + PageRequest is to be embedded in gRPC request messages for efficient + + pagination. Ex: + default: + description: An unexpected error response. + content: + "*/*": + schema: + type: object + properties: + error: + type: string + code: + type: integer + format: int32 + message: + type: string + details: + type: array + items: + type: object + properties: + type_url: + type: string + value: + type: string + format: byte + parameters: + - name: app_id + in: path + required: true + schema: + type: string + format: uint64 + - name: auction_mapping_id + in: path + required: true + schema: + type: string + format: uint64 + - name: auction_id + in: path + required: true + schema: + type: string + format: uint64 + - name: history + in: path + required: true + schema: + type: boolean + tags: + - Query + "/comdex/auction/v1beta1/debtauctions/{app_id}/{history}": + get: + operationId: QueryDebtAuctions + responses: + "200": + description: A successful response. + content: + "*/*": + schema: + type: object + properties: + auctions: + type: array + items: + type: object + properties: + auction_id: + type: string + format: uint64 + auctioned_token: + type: object + properties: + denom: + type: string + amount: + type: string + description: >- + Coin defines a token with a denomination and an amount. + + + NOTE: The amount field is an Int which implements the custom method + + signatures required by gogoproto. + expected_user_token: + type: object + properties: + denom: + type: string + amount: + type: string + description: >- + Coin defines a token with a denomination and an amount. + + + NOTE: The amount field is an Int which implements the custom method + + signatures required by gogoproto. + expected_minted_token: + type: object + properties: + denom: + type: string + amount: + type: string + description: >- + Coin defines a token with a denomination and an amount. + + + NOTE: The amount field is an Int which implements the custom method + + signatures required by gogoproto. + end_time: + type: string + format: date-time + active_bidding_id: + type: string + format: uint64 + bidder: + type: string + current_bid_amount: + type: object + properties: + denom: + type: string + amount: + type: string + description: >- + Coin defines a token with a denomination and an amount. + + + NOTE: The amount field is an Int which implements the custom method + + signatures required by gogoproto. + auction_status: + type: string + format: uint64 + app_id: + type: string + format: uint64 + asset_id: + type: string + format: uint64 + bidding_ids: + type: array + items: + type: object + properties: + bid_id: + type: string + format: uint64 + bid_owner: + type: string + auction_mapping_id: + type: string + format: uint64 + bid_factor: + type: string + asset_in_id: + type: string + format: uint64 + asset_out_id: + type: string + format: uint64 + bid_end_time: + type: string + format: date-time + pagination: + type: object + properties: + next_key: + type: string + format: byte + title: |- + next_key is the key to be passed to PageRequest.key to + query the next page most efficiently + total: + type: string + format: uint64 + title: >- + total is total number of results available if PageRequest.count_total + + was set, its value is undefined otherwise + description: >- + PageResponse is to be embedded in gRPC response messages where the + + corresponding request message has used PageRequest. + + + message SomeResponse { + repeated Bar results = 1; + PageResponse page = 2; + } + default: + description: An unexpected error response. + content: + "*/*": + schema: + type: object + properties: + error: + type: string + code: + type: integer + format: int32 + message: + type: string + details: + type: array + items: + type: object + properties: + type_url: + type: string + value: + type: string + format: byte + parameters: + - name: app_id + in: path + required: true + schema: + type: string + format: uint64 + - name: history + in: path + required: true + schema: + type: boolean + - name: pagination.key + description: |- + key is a value returned in PageResponse.next_key to begin + querying the next page most efficiently. Only one of offset or key + should be set. + in: query + required: false + schema: + type: string + format: byte + - name: pagination.offset + description: >- + offset is a numeric offset that can be used when key is unavailable. + + It is less efficient than using key. Only one of offset or key should + + be set. + in: query + required: false + schema: + type: string + format: uint64 + - name: pagination.limit + description: >- + limit is the total number of results to be returned in the result page. + + If left empty it will default to a value to be set by each app. + in: query + required: false + schema: + type: string + format: uint64 + - name: pagination.count_total + description: >- + count_total is set to true to indicate that the result set should include + + a count of the total number of items available for pagination in UIs. + + count_total is only respected when offset is used. It is ignored when key + + is set. + in: query + required: false + schema: + type: boolean + - name: pagination.reverse + description: >- + reverse is set to true if results are to be returned in the descending + + order. + in: query + required: false + schema: + type: boolean + tags: + - Query + "/comdex/auction/v1beta1/debtbiddings/{bidder}/{app_id}/{history}": + get: + operationId: QueryDebtBiddings + responses: + "200": + description: A successful response. + content: + "*/*": + schema: + type: object + properties: + bidder: + type: string + biddings: + type: array + items: + type: object + properties: + bidding_id: + type: string + format: uint64 + auction_id: + type: string + format: uint64 + auction_status: + type: string + outflow_tokens: + type: object + properties: + denom: + type: string + amount: + type: string + description: >- + Coin defines a token with a denomination and an amount. + + + NOTE: The amount field is an Int which implements the custom method + + signatures required by gogoproto. + bidder: + type: string + bid: + type: object + properties: + denom: + type: string + amount: + type: string + description: >- + Coin defines a token with a denomination and an amount. + + + NOTE: The amount field is an Int which implements the custom method + + signatures required by gogoproto. + bidding_timestamp: + type: string + format: date-time + bidding_status: + type: string + auction_mapping_id: + type: string + format: uint64 + app_id: + type: string + format: uint64 + pagination: + type: object + properties: + next_key: + type: string + format: byte + title: |- + next_key is the key to be passed to PageRequest.key to + query the next page most efficiently + total: + type: string + format: uint64 + title: >- + total is total number of results available if PageRequest.count_total + + was set, its value is undefined otherwise + description: >- + PageResponse is to be embedded in gRPC response messages where the + + corresponding request message has used PageRequest. + + + message SomeResponse { + repeated Bar results = 1; + PageResponse page = 2; + } + default: + description: An unexpected error response. + content: + "*/*": + schema: + type: object + properties: + error: + type: string + code: + type: integer + format: int32 + message: + type: string + details: + type: array + items: + type: object + properties: + type_url: + type: string + value: + type: string + format: byte + parameters: + - name: bidder + in: path + required: true + schema: + type: string + - name: app_id + in: path + required: true + schema: + type: string + format: uint64 + - name: history + in: path + required: true + schema: + type: boolean + - name: pagination.key + description: |- + key is a value returned in PageResponse.next_key to begin + querying the next page most efficiently. Only one of offset or key + should be set. + in: query + required: false + schema: + type: string + format: byte + - name: pagination.offset + description: >- + offset is a numeric offset that can be used when key is unavailable. + + It is less efficient than using key. Only one of offset or key should + + be set. + in: query + required: false + schema: + type: string + format: uint64 + - name: pagination.limit + description: >- + limit is the total number of results to be returned in the result page. + + If left empty it will default to a value to be set by each app. + in: query + required: false + schema: + type: string + format: uint64 + - name: pagination.count_total + description: >- + count_total is set to true to indicate that the result set should include + + a count of the total number of items available for pagination in UIs. + + count_total is only respected when offset is used. It is ignored when key + + is set. + in: query + required: false + schema: + type: boolean + - name: pagination.reverse + description: >- + reverse is set to true if results are to be returned in the descending + + order. + in: query + required: false + schema: + type: boolean + tags: + - Query + "/comdex/auction/v1beta1/dutchauction/{app_id}/{auction_mapping_id}/{auction_id}/{history}": + get: + operationId: QueryDutchAuction + responses: + "200": + description: A successful response. + content: + "*/*": + schema: + type: object + properties: + auction: + type: object + properties: + auction_id: + type: string + format: uint64 + outflow_token_init_amount: + type: object + properties: + denom: + type: string + amount: + type: string + description: >- + Coin defines a token with a denomination and an amount. + + + NOTE: The amount field is an Int which implements the custom method + + signatures required by gogoproto. + outflow_token_current_amount: + type: object + properties: + denom: + type: string + amount: + type: string + description: >- + Coin defines a token with a denomination and an amount. + + + NOTE: The amount field is an Int which implements the custom method + + signatures required by gogoproto. + inflow_token_target_amount: + type: object + properties: + denom: + type: string + amount: + type: string + description: >- + Coin defines a token with a denomination and an amount. + + + NOTE: The amount field is an Int which implements the custom method + + signatures required by gogoproto. + inflow_token_current_amount: + type: object + properties: + denom: + type: string + amount: + type: string + description: >- + Coin defines a token with a denomination and an amount. + + + NOTE: The amount field is an Int which implements the custom method + + signatures required by gogoproto. + outflow_token_initial_price: + type: string + outflow_token_current_price: + type: string + outflow_token_end_price: + type: string + inflow_token_current_price: + type: string + end_time: + type: string + format: date-time + auction_status: + type: string + format: uint64 + start_time: + type: string + format: date-time + bidding_ids: + type: array + items: + type: object + properties: + bid_id: + type: string + format: uint64 + bid_owner: + type: string + auction_mapping_id: + type: string + format: uint64 + app_id: + type: string + format: uint64 + asset_in_id: + type: string + format: uint64 + asset_out_id: + type: string + format: uint64 + locked_vault_id: + type: string + format: uint64 + vault_owner: + type: string + liquidation_penalty: + type: string + default: + description: An unexpected error response. + content: + "*/*": + schema: + type: object + properties: + error: + type: string + code: + type: integer + format: int32 + message: + type: string + details: + type: array + items: + type: object + properties: + type_url: + type: string + value: + type: string + format: byte + parameters: + - name: app_id + in: path + required: true + schema: + type: string + format: uint64 + - name: auction_mapping_id + in: path + required: true + schema: + type: string + format: uint64 + - name: auction_id + in: path + required: true + schema: + type: string + format: uint64 + - name: history + in: path + required: true + schema: + type: boolean + tags: + - Query + "/comdex/auction/v1beta1/dutchauctions/{app_id}/{history}": + get: + operationId: QueryDutchAuctions + responses: + "200": + description: A successful response. + content: + "*/*": + schema: + type: object + properties: + auctions: + type: array + items: + type: object + properties: + auction_id: + type: string + format: uint64 + outflow_token_init_amount: + type: object + properties: + denom: + type: string + amount: + type: string + description: >- + Coin defines a token with a denomination and an amount. + + + NOTE: The amount field is an Int which implements the custom method + + signatures required by gogoproto. + outflow_token_current_amount: + type: object + properties: + denom: + type: string + amount: + type: string + description: >- + Coin defines a token with a denomination and an amount. + + + NOTE: The amount field is an Int which implements the custom method + + signatures required by gogoproto. + inflow_token_target_amount: + type: object + properties: + denom: + type: string + amount: + type: string + description: >- + Coin defines a token with a denomination and an amount. + + + NOTE: The amount field is an Int which implements the custom method + + signatures required by gogoproto. + inflow_token_current_amount: + type: object + properties: + denom: + type: string + amount: + type: string + description: >- + Coin defines a token with a denomination and an amount. + + + NOTE: The amount field is an Int which implements the custom method + + signatures required by gogoproto. + outflow_token_initial_price: + type: string + outflow_token_current_price: + type: string + outflow_token_end_price: + type: string + inflow_token_current_price: + type: string + end_time: + type: string + format: date-time + auction_status: + type: string + format: uint64 + start_time: + type: string + format: date-time + bidding_ids: + type: array + items: + type: object + properties: + bid_id: + type: string + format: uint64 + bid_owner: + type: string + auction_mapping_id: + type: string + format: uint64 + app_id: + type: string + format: uint64 + asset_in_id: + type: string + format: uint64 + asset_out_id: + type: string + format: uint64 + locked_vault_id: + type: string + format: uint64 + vault_owner: + type: string + liquidation_penalty: + type: string + pagination: + type: object + properties: + next_key: + type: string + format: byte + title: |- + next_key is the key to be passed to PageRequest.key to + query the next page most efficiently + total: + type: string + format: uint64 + title: >- + total is total number of results available if PageRequest.count_total + + was set, its value is undefined otherwise + description: >- + PageResponse is to be embedded in gRPC response messages where the + + corresponding request message has used PageRequest. + + + message SomeResponse { + repeated Bar results = 1; + PageResponse page = 2; + } + default: + description: An unexpected error response. + content: + "*/*": + schema: + type: object + properties: + error: + type: string + code: + type: integer + format: int32 + message: + type: string + details: + type: array + items: + type: object + properties: + type_url: + type: string + value: + type: string + format: byte + parameters: + - name: app_id + in: path + required: true + schema: + type: string + format: uint64 + - name: history + in: path + required: true + schema: + type: boolean + - name: pagination.key + description: |- + key is a value returned in PageResponse.next_key to begin + querying the next page most efficiently. Only one of offset or key + should be set. + in: query + required: false + schema: + type: string + format: byte + - name: pagination.offset + description: >- + offset is a numeric offset that can be used when key is unavailable. + + It is less efficient than using key. Only one of offset or key should + + be set. + in: query + required: false + schema: + type: string + format: uint64 + - name: pagination.limit + description: >- + limit is the total number of results to be returned in the result page. + + If left empty it will default to a value to be set by each app. + in: query + required: false + schema: + type: string + format: uint64 + - name: pagination.count_total + description: >- + count_total is set to true to indicate that the result set should include + + a count of the total number of items available for pagination in UIs. + + count_total is only respected when offset is used. It is ignored when key + + is set. + in: query + required: false + schema: + type: boolean + - name: pagination.reverse + description: >- + reverse is set to true if results are to be returned in the descending + + order. + in: query + required: false + schema: + type: boolean + tags: + - Query + "/comdex/auction/v1beta1/dutchbiddings/{bidder}/{app_id}/{history}": + get: + operationId: QueryDutchBiddings + responses: + "200": + description: A successful response. + content: + "*/*": + schema: + type: object + properties: + bidder: + type: string + biddings: + type: array + items: + type: object + properties: + bidding_id: + type: string + format: uint64 + auction_id: + type: string + format: uint64 + auction_status: + type: string + outflow_token_amount: + type: object + properties: + denom: + type: string + amount: + type: string + description: >- + Coin defines a token with a denomination and an amount. + + + NOTE: The amount field is an Int which implements the custom method + + signatures required by gogoproto. + inflow_token_amount: + type: object + properties: + denom: + type: string + amount: + type: string + description: >- + Coin defines a token with a denomination and an amount. + + + NOTE: The amount field is an Int which implements the custom method + + signatures required by gogoproto. + bidder: + type: string + bidding_timestamp: + type: string + format: date-time + bidding_status: + type: string + auction_mapping_id: + type: string + format: uint64 + app_id: + type: string + format: uint64 + pagination: + type: object + properties: + next_key: + type: string + format: byte + title: |- + next_key is the key to be passed to PageRequest.key to + query the next page most efficiently + total: + type: string + format: uint64 + title: >- + total is total number of results available if PageRequest.count_total + + was set, its value is undefined otherwise + description: >- + PageResponse is to be embedded in gRPC response messages where the + + corresponding request message has used PageRequest. + + + message SomeResponse { + repeated Bar results = 1; + PageResponse page = 2; + } + default: + description: An unexpected error response. + content: + "*/*": + schema: + type: object + properties: + error: + type: string + code: + type: integer + format: int32 + message: + type: string + details: + type: array + items: + type: object + properties: + type_url: + type: string + value: + type: string + format: byte + parameters: + - name: bidder + in: path + required: true + schema: + type: string + - name: app_id + in: path + required: true + schema: + type: string + format: uint64 + - name: history + in: path + required: true + schema: + type: boolean + - name: pagination.key + description: |- + key is a value returned in PageResponse.next_key to begin + querying the next page most efficiently. Only one of offset or key + should be set. + in: query + required: false + schema: + type: string + format: byte + - name: pagination.offset + description: >- + offset is a numeric offset that can be used when key is unavailable. + + It is less efficient than using key. Only one of offset or key should + + be set. + in: query + required: false + schema: + type: string + format: uint64 + - name: pagination.limit + description: >- + limit is the total number of results to be returned in the result page. + + If left empty it will default to a value to be set by each app. + in: query + required: false + schema: + type: string + format: uint64 + - name: pagination.count_total + description: >- + count_total is set to true to indicate that the result set should include + + a count of the total number of items available for pagination in UIs. + + count_total is only respected when offset is used. It is ignored when key + + is set. + in: query + required: false + schema: + type: boolean + - name: pagination.reverse + description: >- + reverse is set to true if results are to be returned in the descending + + order. + in: query + required: false + schema: + type: boolean + tags: + - Query + "/comdex/auction/v1beta1/dutchlendauction/{app_id}/{auction_mapping_id}/{auction_id}/{history}": + get: + operationId: QueryDutchLendAuction + responses: + "200": + description: A successful response. + content: + "*/*": + schema: + type: object + properties: + auction: + type: object + properties: + auction_id: + type: string + format: uint64 + outflow_token_init_amount: + type: object + properties: + denom: + type: string + amount: + type: string + description: >- + Coin defines a token with a denomination and an amount. + + + NOTE: The amount field is an Int which implements the custom method + + signatures required by gogoproto. + outflow_token_current_amount: + type: object + properties: + denom: + type: string + amount: + type: string + description: >- + Coin defines a token with a denomination and an amount. + + + NOTE: The amount field is an Int which implements the custom method + + signatures required by gogoproto. + inflow_token_target_amount: + type: object + properties: + denom: + type: string + amount: + type: string + description: >- + Coin defines a token with a denomination and an amount. + + + NOTE: The amount field is an Int which implements the custom method + + signatures required by gogoproto. + inflow_token_current_amount: + type: object + properties: + denom: + type: string + amount: + type: string + description: >- + Coin defines a token with a denomination and an amount. + + + NOTE: The amount field is an Int which implements the custom method + + signatures required by gogoproto. + outflow_token_initial_price: + type: string + outflow_token_current_price: + type: string + outflow_token_end_price: + type: string + inflow_token_current_price: + type: string + end_time: + type: string + format: date-time + auction_status: + type: string + format: uint64 + start_time: + type: string + format: date-time + bidding_ids: + type: array + items: + type: object + properties: + bid_id: + type: string + format: uint64 + bid_owner: + type: string + auction_mapping_id: + type: string + format: uint64 + app_id: + type: string + format: uint64 + asset_in_id: + type: string + format: uint64 + asset_out_id: + type: string + format: uint64 + locked_vault_id: + type: string + format: uint64 + vault_owner: + type: string + liquidation_penalty: + type: string + default: + description: An unexpected error response. + content: + "*/*": + schema: + type: object + properties: + error: + type: string + code: + type: integer + format: int32 + message: + type: string + details: + type: array + items: + type: object + properties: + type_url: + type: string + value: + type: string + format: byte + parameters: + - name: app_id + in: path + required: true + schema: + type: string + format: uint64 + - name: auction_mapping_id + in: path + required: true + schema: + type: string + format: uint64 + - name: auction_id + in: path + required: true + schema: + type: string + format: uint64 + - name: history + in: path + required: true + schema: + type: boolean + tags: + - Query + "/comdex/auction/v1beta1/dutchlendauctions/{app_id}/{history}": + get: + operationId: QueryDutchLendAuctions + responses: + "200": + description: A successful response. + content: + "*/*": + schema: + type: object + properties: + auctions: + type: array + items: + type: object + properties: + auction_id: + type: string + format: uint64 + outflow_token_init_amount: + type: object + properties: + denom: + type: string + amount: + type: string + description: >- + Coin defines a token with a denomination and an amount. + + + NOTE: The amount field is an Int which implements the custom method + + signatures required by gogoproto. + outflow_token_current_amount: + type: object + properties: + denom: + type: string + amount: + type: string + description: >- + Coin defines a token with a denomination and an amount. + + + NOTE: The amount field is an Int which implements the custom method + + signatures required by gogoproto. + inflow_token_target_amount: + type: object + properties: + denom: + type: string + amount: + type: string + description: >- + Coin defines a token with a denomination and an amount. + + + NOTE: The amount field is an Int which implements the custom method + + signatures required by gogoproto. + inflow_token_current_amount: + type: object + properties: + denom: + type: string + amount: + type: string + description: >- + Coin defines a token with a denomination and an amount. + + + NOTE: The amount field is an Int which implements the custom method + + signatures required by gogoproto. + outflow_token_initial_price: + type: string + outflow_token_current_price: + type: string + outflow_token_end_price: + type: string + inflow_token_current_price: + type: string + end_time: + type: string + format: date-time + auction_status: + type: string + format: uint64 + start_time: + type: string + format: date-time + bidding_ids: + type: array + items: + type: object + properties: + bid_id: + type: string + format: uint64 + bid_owner: + type: string + auction_mapping_id: + type: string + format: uint64 + app_id: + type: string + format: uint64 + asset_in_id: + type: string + format: uint64 + asset_out_id: + type: string + format: uint64 + locked_vault_id: + type: string + format: uint64 + vault_owner: + type: string + liquidation_penalty: + type: string + pagination: + type: object + properties: + next_key: + type: string + format: byte + title: |- + next_key is the key to be passed to PageRequest.key to + query the next page most efficiently + total: + type: string + format: uint64 + title: >- + total is total number of results available if PageRequest.count_total + + was set, its value is undefined otherwise + description: >- + PageResponse is to be embedded in gRPC response messages where the + + corresponding request message has used PageRequest. + + + message SomeResponse { + repeated Bar results = 1; + PageResponse page = 2; + } + default: + description: An unexpected error response. + content: + "*/*": + schema: + type: object + properties: + error: + type: string + code: + type: integer + format: int32 + message: + type: string + details: + type: array + items: + type: object + properties: + type_url: + type: string + value: + type: string + format: byte + parameters: + - name: app_id + in: path + required: true + schema: + type: string + format: uint64 + - name: history + in: path + required: true + schema: + type: boolean + - name: pagination.key + description: |- + key is a value returned in PageResponse.next_key to begin + querying the next page most efficiently. Only one of offset or key + should be set. + in: query + required: false + schema: + type: string + format: byte + - name: pagination.offset + description: >- + offset is a numeric offset that can be used when key is unavailable. + + It is less efficient than using key. Only one of offset or key should + + be set. + in: query + required: false + schema: + type: string + format: uint64 + - name: pagination.limit + description: >- + limit is the total number of results to be returned in the result page. + + If left empty it will default to a value to be set by each app. + in: query + required: false + schema: + type: string + format: uint64 + - name: pagination.count_total + description: >- + count_total is set to true to indicate that the result set should include + + a count of the total number of items available for pagination in UIs. + + count_total is only respected when offset is used. It is ignored when key + + is set. + in: query + required: false + schema: + type: boolean + - name: pagination.reverse + description: >- + reverse is set to true if results are to be returned in the descending + + order. + in: query + required: false + schema: + type: boolean + tags: + - Query + "/comdex/auction/v1beta1/dutchlendbiddings/{bidder}/{app_id}/{history}": + get: + operationId: QueryDutchLendBiddings + responses: + "200": + description: A successful response. + content: + "*/*": + schema: + type: object + properties: + bidder: + type: string + biddings: + type: array + items: + type: object + properties: + bidding_id: + type: string + format: uint64 + auction_id: + type: string + format: uint64 + auction_status: + type: string + outflow_token_amount: + type: object + properties: + denom: + type: string + amount: + type: string + description: >- + Coin defines a token with a denomination and an amount. + + + NOTE: The amount field is an Int which implements the custom method + + signatures required by gogoproto. + inflow_token_amount: + type: object + properties: + denom: + type: string + amount: + type: string + description: >- + Coin defines a token with a denomination and an amount. + + + NOTE: The amount field is an Int which implements the custom method + + signatures required by gogoproto. + bidder: + type: string + bidding_timestamp: + type: string + format: date-time + bidding_status: + type: string + auction_mapping_id: + type: string + format: uint64 + app_id: + type: string + format: uint64 + pagination: + type: object + properties: + next_key: + type: string + format: byte + title: |- + next_key is the key to be passed to PageRequest.key to + query the next page most efficiently + total: + type: string + format: uint64 + title: >- + total is total number of results available if PageRequest.count_total + + was set, its value is undefined otherwise + description: >- + PageResponse is to be embedded in gRPC response messages where the + + corresponding request message has used PageRequest. + + + message SomeResponse { + repeated Bar results = 1; + PageResponse page = 2; + } + default: + description: An unexpected error response. + content: + "*/*": + schema: + type: object + properties: + error: + type: string + code: + type: integer + format: int32 + message: + type: string + details: + type: array + items: + type: object + properties: + type_url: + type: string + value: + type: string + format: byte + parameters: + - name: bidder + in: path + required: true + schema: + type: string + - name: app_id + in: path + required: true + schema: + type: string + format: uint64 + - name: history + in: path + required: true + schema: + type: boolean + - name: pagination.key + description: |- + key is a value returned in PageResponse.next_key to begin + querying the next page most efficiently. Only one of offset or key + should be set. + in: query + required: false + schema: + type: string + format: byte + - name: pagination.offset + description: >- + offset is a numeric offset that can be used when key is unavailable. + + It is less efficient than using key. Only one of offset or key should + + be set. + in: query + required: false + schema: + type: string + format: uint64 + - name: pagination.limit + description: >- + limit is the total number of results to be returned in the result page. + + If left empty it will default to a value to be set by each app. + in: query + required: false + schema: + type: string + format: uint64 + - name: pagination.count_total + description: >- + count_total is set to true to indicate that the result set should include + + a count of the total number of items available for pagination in UIs. + + count_total is only respected when offset is used. It is ignored when key + + is set. + in: query + required: false + schema: + type: boolean + - name: pagination.reverse + description: >- + reverse is set to true if results are to be returned in the descending + + order. + in: query + required: false + schema: + type: boolean + tags: + - Query + "/comdex/auction/v1beta1/filterdutchauctions/{app_id}/{denom}/{history}": + get: + operationId: QueryFilterDutchAuctions + responses: + "200": + description: A successful response. + content: + "*/*": + schema: + type: object + properties: + auctions: + type: array + items: + type: object + properties: + auction_id: + type: string + format: uint64 + outflow_token_init_amount: + type: object + properties: + denom: + type: string + amount: + type: string + description: >- + Coin defines a token with a denomination and an amount. + + + NOTE: The amount field is an Int which implements the custom method + + signatures required by gogoproto. + outflow_token_current_amount: + type: object + properties: + denom: + type: string + amount: + type: string + description: >- + Coin defines a token with a denomination and an amount. + + + NOTE: The amount field is an Int which implements the custom method + + signatures required by gogoproto. + inflow_token_target_amount: + type: object + properties: + denom: + type: string + amount: + type: string + description: >- + Coin defines a token with a denomination and an amount. + + + NOTE: The amount field is an Int which implements the custom method + + signatures required by gogoproto. + inflow_token_current_amount: + type: object + properties: + denom: + type: string + amount: + type: string + description: >- + Coin defines a token with a denomination and an amount. + + + NOTE: The amount field is an Int which implements the custom method + + signatures required by gogoproto. + outflow_token_initial_price: + type: string + outflow_token_current_price: + type: string + outflow_token_end_price: + type: string + inflow_token_current_price: + type: string + end_time: + type: string + format: date-time + auction_status: + type: string + format: uint64 + start_time: + type: string + format: date-time + bidding_ids: + type: array + items: + type: object + properties: + bid_id: + type: string + format: uint64 + bid_owner: + type: string + auction_mapping_id: + type: string + format: uint64 + app_id: + type: string + format: uint64 + asset_in_id: + type: string + format: uint64 + asset_out_id: + type: string + format: uint64 + locked_vault_id: + type: string + format: uint64 + vault_owner: + type: string + liquidation_penalty: + type: string + pagination: + type: object + properties: + next_key: + type: string + format: byte + title: |- + next_key is the key to be passed to PageRequest.key to + query the next page most efficiently + total: + type: string + format: uint64 + title: >- + total is total number of results available if PageRequest.count_total + + was set, its value is undefined otherwise + description: >- + PageResponse is to be embedded in gRPC response messages where the + + corresponding request message has used PageRequest. + + + message SomeResponse { + repeated Bar results = 1; + PageResponse page = 2; + } + default: + description: An unexpected error response. + content: + "*/*": + schema: + type: object + properties: + error: + type: string + code: + type: integer + format: int32 + message: + type: string + details: + type: array + items: + type: object + properties: + type_url: + type: string + value: + type: string + format: byte + parameters: + - name: app_id + in: path + required: true + schema: + type: string + format: uint64 + - name: denom + in: path + required: true + style: simple + schema: + type: array + items: + type: string + minItems: 1 + - name: history + in: path + required: true + schema: + type: boolean + - name: pagination.key + description: |- + key is a value returned in PageResponse.next_key to begin + querying the next page most efficiently. Only one of offset or key + should be set. + in: query + required: false + schema: + type: string + format: byte + - name: pagination.offset + description: >- + offset is a numeric offset that can be used when key is unavailable. + + It is less efficient than using key. Only one of offset or key should + + be set. + in: query + required: false + schema: + type: string + format: uint64 + - name: pagination.limit + description: >- + limit is the total number of results to be returned in the result page. + + If left empty it will default to a value to be set by each app. + in: query + required: false + schema: + type: string + format: uint64 + - name: pagination.count_total + description: >- + count_total is set to true to indicate that the result set should include + + a count of the total number of items available for pagination in UIs. + + count_total is only respected when offset is used. It is ignored when key + + is set. + in: query + required: false + schema: + type: boolean + - name: pagination.reverse + description: >- + reverse is set to true if results are to be returned in the descending + + order. + in: query + required: false + schema: + type: boolean + tags: + - Query + "/comdex/auction/v1beta1/protocolstats/{app_id}": + get: + operationId: QueryProtocolStatistics + responses: + "200": + description: A successful response. + content: + "*/*": + schema: + type: object + properties: + stats: + type: array + items: + type: object + properties: + app_id: + type: string + format: uint64 + asset_id: + type: string + format: uint64 + loss: + type: string + pagination: + type: object + properties: + next_key: + type: string + format: byte + title: |- + next_key is the key to be passed to PageRequest.key to + query the next page most efficiently + total: + type: string + format: uint64 + title: >- + total is total number of results available if PageRequest.count_total + + was set, its value is undefined otherwise + description: >- + PageResponse is to be embedded in gRPC response messages where the + + corresponding request message has used PageRequest. + + + message SomeResponse { + repeated Bar results = 1; + PageResponse page = 2; + } + default: + description: An unexpected error response. + content: + "*/*": + schema: + type: object + properties: + error: + type: string + code: + type: integer + format: int32 + message: + type: string + details: + type: array + items: + type: object + properties: + type_url: + type: string + value: + type: string + format: byte + parameters: + - name: app_id + in: path + required: true + schema: + type: string + format: uint64 + - name: pagination.key + description: |- + key is a value returned in PageResponse.next_key to begin + querying the next page most efficiently. Only one of offset or key + should be set. + in: query + required: false + schema: + type: string + format: byte + - name: pagination.offset + description: >- + offset is a numeric offset that can be used when key is unavailable. + + It is less efficient than using key. Only one of offset or key should + + be set. + in: query + required: false + schema: + type: string + format: uint64 + - name: pagination.limit + description: >- + limit is the total number of results to be returned in the result page. + + If left empty it will default to a value to be set by each app. + in: query + required: false + schema: + type: string + format: uint64 + - name: pagination.count_total + description: >- + count_total is set to true to indicate that the result set should include + + a count of the total number of items available for pagination in UIs. + + count_total is only respected when offset is used. It is ignored when key + + is set. + in: query + required: false + schema: + type: boolean + - name: pagination.reverse + description: >- + reverse is set to true if results are to be returned in the descending + + order. + in: query + required: false + schema: + type: boolean + tags: + - Query + "/comdex/auction/v1beta1/surplusauction/{app_id}/{auction_mapping_id}/{auction_id}/{history}": + get: + operationId: QuerySurplusAuction + responses: + "200": + description: A successful response. + content: + "*/*": + schema: + type: object + properties: + auction: + type: object + properties: + auction_id: + type: string + format: uint64 + sell_token: + type: object + properties: + denom: + type: string + amount: + type: string + description: >- + Coin defines a token with a denomination and an amount. + + + NOTE: The amount field is an Int which implements the custom method + + signatures required by gogoproto. + buy_token: + type: object + properties: + denom: + type: string + amount: + type: string + description: >- + Coin defines a token with a denomination and an amount. + + + NOTE: The amount field is an Int which implements the custom method + + signatures required by gogoproto. + active_bidding_id: + type: string + format: uint64 + bidder: + type: string + bid: + type: object + properties: + denom: + type: string + amount: + type: string + description: >- + Coin defines a token with a denomination and an amount. + + + NOTE: The amount field is an Int which implements the custom method + + signatures required by gogoproto. + end_time: + type: string + format: date-time + bid_factor: + type: string + bidding_ids: + type: array + items: + type: object + properties: + bid_id: + type: string + format: uint64 + bid_owner: + type: string + auction_status: + type: string + format: uint64 + app_id: + type: string + format: uint64 + asset_id: + type: string + format: uint64 + auction_mapping_id: + type: string + format: uint64 + asset_in_id: + type: string + format: uint64 + asset_out_id: + type: string + format: uint64 + bid_end_time: + type: string + format: date-time + default: + description: An unexpected error response. + content: + "*/*": + schema: + type: object + properties: + error: + type: string + code: + type: integer + format: int32 + message: + type: string + details: + type: array + items: + type: object + properties: + type_url: + type: string + value: + type: string + format: byte + parameters: + - name: app_id + in: path + required: true + schema: + type: string + format: uint64 + - name: auction_mapping_id + in: path + required: true + schema: + type: string + format: uint64 + - name: auction_id + in: path + required: true + schema: + type: string + format: uint64 + - name: history + in: path + required: true + schema: + type: boolean + tags: + - Query + "/comdex/auction/v1beta1/surplusauctions/{app_id}/{history}": + get: + operationId: QuerySurplusAuctions + responses: + "200": + description: A successful response. + content: + "*/*": + schema: + type: object + properties: + auctions: + type: array + items: + type: object + properties: + auction_id: + type: string + format: uint64 + sell_token: + type: object + properties: + denom: + type: string + amount: + type: string + description: >- + Coin defines a token with a denomination and an amount. + + + NOTE: The amount field is an Int which implements the custom method + + signatures required by gogoproto. + buy_token: + type: object + properties: + denom: + type: string + amount: + type: string + description: >- + Coin defines a token with a denomination and an amount. + + + NOTE: The amount field is an Int which implements the custom method + + signatures required by gogoproto. + active_bidding_id: + type: string + format: uint64 + bidder: + type: string + bid: + type: object + properties: + denom: + type: string + amount: + type: string + description: >- + Coin defines a token with a denomination and an amount. + + + NOTE: The amount field is an Int which implements the custom method + + signatures required by gogoproto. + end_time: + type: string + format: date-time + bid_factor: + type: string + bidding_ids: + type: array + items: + type: object + properties: + bid_id: + type: string + format: uint64 + bid_owner: + type: string + auction_status: + type: string + format: uint64 + app_id: + type: string + format: uint64 + asset_id: + type: string + format: uint64 + auction_mapping_id: + type: string + format: uint64 + asset_in_id: + type: string + format: uint64 + asset_out_id: + type: string + format: uint64 + bid_end_time: + type: string + format: date-time + pagination: + type: object + properties: + next_key: + type: string + format: byte + title: |- + next_key is the key to be passed to PageRequest.key to + query the next page most efficiently + total: + type: string + format: uint64 + title: >- + total is total number of results available if PageRequest.count_total + + was set, its value is undefined otherwise + description: >- + PageResponse is to be embedded in gRPC response messages where the + + corresponding request message has used PageRequest. + + + message SomeResponse { + repeated Bar results = 1; + PageResponse page = 2; + } + default: + description: An unexpected error response. + content: + "*/*": + schema: + type: object + properties: + error: + type: string + code: + type: integer + format: int32 + message: + type: string + details: + type: array + items: + type: object + properties: + type_url: + type: string + value: + type: string + format: byte + parameters: + - name: app_id + in: path + required: true + schema: + type: string + format: uint64 + - name: history + in: path + required: true + schema: + type: boolean + - name: pagination.key + description: |- + key is a value returned in PageResponse.next_key to begin + querying the next page most efficiently. Only one of offset or key + should be set. + in: query + required: false + schema: + type: string + format: byte + - name: pagination.offset + description: >- + offset is a numeric offset that can be used when key is unavailable. + + It is less efficient than using key. Only one of offset or key should + + be set. + in: query + required: false + schema: + type: string + format: uint64 + - name: pagination.limit + description: >- + limit is the total number of results to be returned in the result page. + + If left empty it will default to a value to be set by each app. + in: query + required: false + schema: + type: string + format: uint64 + - name: pagination.count_total + description: >- + count_total is set to true to indicate that the result set should include + + a count of the total number of items available for pagination in UIs. + + count_total is only respected when offset is used. It is ignored when key + + is set. + in: query + required: false + schema: + type: boolean + - name: pagination.reverse + description: >- + reverse is set to true if results are to be returned in the descending + + order. + in: query + required: false + schema: + type: boolean + tags: + - Query + "/comdex/auction/v1beta1/surplusbiddings/{bidder}/{app_id}/{history}": + get: + operationId: QuerySurplusBiddings + responses: + "200": + description: A successful response. + content: + "*/*": + schema: + type: object + properties: + bidder: + type: string + biddings: + type: array + items: + type: object + properties: + bidding_id: + type: string + format: uint64 + auction_id: + type: string + format: uint64 + auction_status: + type: string + auctioned_collateral: + type: object + properties: + denom: + type: string + amount: + type: string + description: >- + Coin defines a token with a denomination and an amount. + + + NOTE: The amount field is an Int which implements the custom method + + signatures required by gogoproto. + bidder: + type: string + bid: + type: object + properties: + denom: + type: string + amount: + type: string + description: >- + Coin defines a token with a denomination and an amount. + + + NOTE: The amount field is an Int which implements the custom method + + signatures required by gogoproto. + bidding_timestamp: + type: string + format: date-time + bidding_status: + type: string + auction_mapping_id: + type: string + format: uint64 + app_id: + type: string + format: uint64 + pagination: + type: object + properties: + next_key: + type: string + format: byte + title: |- + next_key is the key to be passed to PageRequest.key to + query the next page most efficiently + total: + type: string + format: uint64 + title: >- + total is total number of results available if PageRequest.count_total + + was set, its value is undefined otherwise + description: >- + PageResponse is to be embedded in gRPC response messages where the + + corresponding request message has used PageRequest. + + + message SomeResponse { + repeated Bar results = 1; + PageResponse page = 2; + } + default: + description: An unexpected error response. + content: + "*/*": + schema: + type: object + properties: + error: + type: string + code: + type: integer + format: int32 + message: + type: string + details: + type: array + items: + type: object + properties: + type_url: + type: string + value: + type: string + format: byte + parameters: + - name: bidder + in: path + required: true + schema: + type: string + - name: app_id + in: path + required: true + schema: + type: string + format: uint64 + - name: history + in: path + required: true + schema: + type: boolean + - name: pagination.key + description: |- + key is a value returned in PageResponse.next_key to begin + querying the next page most efficiently. Only one of offset or key + should be set. + in: query + required: false + schema: + type: string + format: byte + - name: pagination.offset + description: >- + offset is a numeric offset that can be used when key is unavailable. + + It is less efficient than using key. Only one of offset or key should + + be set. + in: query + required: false + schema: + type: string + format: uint64 + - name: pagination.limit + description: >- + limit is the total number of results to be returned in the result page. + + If left empty it will default to a value to be set by each app. + in: query + required: false + schema: + type: string + format: uint64 + - name: pagination.count_total + description: >- + count_total is set to true to indicate that the result set should include + + a count of the total number of items available for pagination in UIs. + + count_total is only respected when offset is used. It is ignored when key + + is set. + in: query + required: false + schema: + type: boolean + - name: pagination.reverse + description: >- + reverse is set to true if results are to be returned in the descending + + order. + in: query + required: false + schema: + type: boolean + tags: + - Query + /comdex/bandoracle/v1beta1/discard_data: + get: + operationId: DiscardData + responses: + "200": + description: A successful response. + content: + "*/*": + schema: + type: object + properties: + discardData: + type: object + properties: + block_height: + type: string + format: int64 + discard_bool: + type: boolean + default: + description: An unexpected error response. + content: + "*/*": + schema: + type: object + properties: + error: + type: string + code: + type: integer + format: int32 + message: + type: string + details: + type: array + items: + type: object + properties: + type_url: + type: string + value: + type: string + format: byte + tags: + - Query + /comdex/bandoracle/v1beta1/fetch_price_data: + get: + operationId: FetchPriceData + responses: + "200": + description: A successful response. + content: + "*/*": + schema: + type: object + properties: + msgFetchPriceData: + type: object + properties: + creator: + type: string + oracle_script_id: + type: string + format: uint64 + source_channel: + type: string + calldata: + type: object + properties: + symbols: + type: array + items: + type: string + multiplier: + type: string + format: uint64 + ask_count: + type: string + format: uint64 + min_count: + type: string + format: uint64 + fee_limit: + type: array + items: + type: object + properties: + denom: + type: string + amount: + type: string + description: >- + Coin defines a token with a denomination and an amount. + + + NOTE: The amount field is an Int which implements the custom method + + signatures required by gogoproto. + request_key: + type: string + prepare_gas: + type: string + format: uint64 + execute_gas: + type: string + format: uint64 + client_id: + type: string + twa_batch_size: + type: string + format: uint64 + accepted_height_diff: + type: string + format: int64 + default: + description: An unexpected error response. + content: + "*/*": + schema: + type: object + properties: + error: + type: string + code: + type: integer + format: int32 + message: + type: string + details: + type: array + items: + type: object + properties: + type_url: + type: string + value: + type: string + format: byte + tags: + - Query + "/comdex/bandoracle/v1beta1/fetch_price_result/{request_id}": + get: + operationId: FetchPriceResult + responses: + "200": + description: A successful response. + content: + "*/*": + schema: + type: object + properties: + result: + type: object + properties: + rates: + type: array + items: + type: string + format: uint64 + default: + description: An unexpected error response. + content: + "*/*": + schema: + type: object + properties: + error: + type: string + code: + type: integer + format: int32 + message: + type: string + details: + type: array + items: + type: object + properties: + type_url: + type: string + value: + type: string + format: byte + parameters: + - name: request_id + in: path + required: true + schema: + type: string + format: int64 + tags: + - Query + /comdex/bandoracle/v1beta1/last_fetch_price_id: + get: + operationId: LastFetchPriceID + responses: + "200": + description: A successful response. + content: + "*/*": + schema: + type: object + properties: + request_id: + type: string + format: int64 + default: + description: An unexpected error response. + content: + "*/*": + schema: + type: object + properties: + error: + type: string + code: + type: integer + format: int32 + message: + type: string + details: + type: array + items: + type: object + properties: + type_url: + type: string + value: + type: string + format: byte + tags: + - Query + /comdex/bandoracle/v1beta1/params: + get: + operationId: bandoracleParams + responses: + "200": + description: A successful response. + content: + "*/*": + schema: + type: object + properties: + params: + type: object + description: Params defines the parameters for the module. + default: + description: An unexpected error response. + content: + "*/*": + schema: + type: object + properties: + error: + type: string + code: + type: integer + format: int32 + message: + type: string + details: + type: array + items: + type: object + properties: + type_url: + type: string + value: + type: string + format: byte + tags: + - Query + /comdex-official/comdex/collector/params: + get: + summary: Parameters queries the parameters of the module. + operationId: collectorParams + responses: + "200": + description: A successful response. + content: + "*/*": + schema: + type: object + properties: + params: + description: params holds all the parameters of this module. + type: object + description: QueryParamsResponse is response type for the Query/Params RPC method. + default: + description: An unexpected error response. + content: + "*/*": + schema: + type: object + properties: + error: + type: string + code: + type: integer + format: int32 + message: + type: string + details: + type: array + items: + type: object + properties: + type_url: + type: string + value: + type: string + format: byte + tags: + - Query + "/comdex/collector/v1beta1/auction-data-by-app-and-asset/{app_id}/{asset_id}": + get: + operationId: QueryAuctionMappingForAppAndAsset + responses: + "200": + description: A successful response. + content: + "*/*": + schema: + type: object + properties: + assetIdToAuctionLookupTable: + type: object + properties: + app_id: + type: string + format: uint64 + asset_id: + type: string + format: uint64 + is_surplus_auction: + type: boolean + is_debt_auction: + type: boolean + is_distributor: + type: boolean + is_auction_active: + type: boolean + asset_out_oracle_price: + type: boolean + asset_out_price: + type: string + format: uint64 + default: + description: An unexpected error response. + content: + "*/*": + schema: + type: object + properties: + error: + type: string + code: + type: integer + format: int32 + message: + type: string + details: + type: array + items: + type: object + properties: + type_url: + type: string + value: + type: string + format: byte + parameters: + - name: app_id + in: path + required: true + schema: + type: string + format: uint64 + - name: asset_id + in: path + required: true + schema: + type: string + format: uint64 + tags: + - Query + "/comdex/collector/v1beta1/collector-data-by-app-and-asset/{app_id}/{asset_id}": + get: + operationId: QueryCollectorDataByAppAndAsset + responses: + "200": + description: A successful response. + content: + "*/*": + schema: + type: object + properties: + collectorData: + type: object + properties: + collected_stability_fee: + type: string + collected_closing_fee: + type: string + collected_opening_fee: + type: string + liquidation_rewards_collected: + type: string + default: + description: An unexpected error response. + content: + "*/*": + schema: + type: object + properties: + error: + type: string + code: + type: integer + format: int32 + message: + type: string + details: + type: array + items: + type: object + properties: + type_url: + type: string + value: + type: string + format: byte + parameters: + - name: app_id + in: path + required: true + schema: + type: string + format: uint64 + - name: asset_id + in: path + required: true + schema: + type: string + format: uint64 + tags: + - Query + "/comdex/collector/v1beta1/collector-lookup-by-app-and-asset/{app_id}/{asset_id}": + get: + operationId: QueryCollectorLookupByAppAndAsset + responses: + "200": + description: A successful response. + content: + "*/*": + schema: + type: object + properties: + collectorLookup: + type: object + properties: + app_id: + type: string + format: uint64 + collector_asset_id: + type: string + format: uint64 + secondary_asset_id: + type: string + format: uint64 + surplus_threshold: + type: string + debt_threshold: + type: string + locker_saving_rate: + type: string + lot_size: + type: string + bid_factor: + type: string + debt_lot_size: + type: string + block_height: + type: string + format: int64 + block_time: + type: string + format: date-time + default: + description: An unexpected error response. + content: + "*/*": + schema: + type: object + properties: + error: + type: string + code: + type: integer + format: int32 + message: + type: string + details: + type: array + items: + type: object + properties: + type_url: + type: string + value: + type: string + format: byte + parameters: + - name: app_id + in: path + required: true + schema: + type: string + format: uint64 + - name: asset_id + in: path + required: true + schema: + type: string + format: uint64 + tags: + - Query + "/comdex/collector/v1beta1/collector-lookup-by-app/{app_id}": + get: + operationId: QueryCollectorLookupByApp + responses: + "200": + description: A successful response. + content: + "*/*": + schema: + type: object + properties: + collectorLookup: + type: array + items: + type: object + properties: + app_id: + type: string + format: uint64 + collector_asset_id: + type: string + format: uint64 + secondary_asset_id: + type: string + format: uint64 + surplus_threshold: + type: string + debt_threshold: + type: string + locker_saving_rate: + type: string + lot_size: + type: string + bid_factor: + type: string + debt_lot_size: + type: string + block_height: + type: string + format: int64 + block_time: + type: string + format: date-time + pagination: + type: object + properties: + next_key: + type: string + format: byte + title: |- + next_key is the key to be passed to PageRequest.key to + query the next page most efficiently + total: + type: string + format: uint64 + title: >- + total is total number of results available if PageRequest.count_total + + was set, its value is undefined otherwise + description: >- + PageResponse is to be embedded in gRPC response messages where the + + corresponding request message has used PageRequest. + + + message SomeResponse { + repeated Bar results = 1; + PageResponse page = 2; + } + default: + description: An unexpected error response. + content: + "*/*": + schema: + type: object + properties: + error: + type: string + code: + type: integer + format: int32 + message: + type: string + details: + type: array + items: + type: object + properties: + type_url: + type: string + value: + type: string + format: byte + parameters: + - name: app_id + in: path + required: true + schema: + type: string + format: uint64 + - name: pagination.key + description: |- + key is a value returned in PageResponse.next_key to begin + querying the next page most efficiently. Only one of offset or key + should be set. + in: query + required: false + schema: + type: string + format: byte + - name: pagination.offset + description: >- + offset is a numeric offset that can be used when key is unavailable. + + It is less efficient than using key. Only one of offset or key should + + be set. + in: query + required: false + schema: + type: string + format: uint64 + - name: pagination.limit + description: >- + limit is the total number of results to be returned in the result page. + + If left empty it will default to a value to be set by each app. + in: query + required: false + schema: + type: string + format: uint64 + - name: pagination.count_total + description: >- + count_total is set to true to indicate that the result set should include + + a count of the total number of items available for pagination in UIs. + + count_total is only respected when offset is used. It is ignored when key + + is set. + in: query + required: false + schema: + type: boolean + - name: pagination.reverse + description: >- + reverse is set to true if results are to be returned in the descending + + order. + in: query + required: false + schema: + type: boolean + tags: + - Query + "/comdex/collector/v1beta1/net-fee-data-by-app-and-asset/{app_id}/{asset_id}": + get: + operationId: QueryNetFeeCollectedForAppAndAsset + responses: + "200": + description: A successful response. + content: + "*/*": + schema: + type: object + properties: + assetIdToFeeCollected: + type: object + properties: + app_id: + type: string + format: uint64 + asset_id: + type: string + format: uint64 + net_fees_collected: + type: string + default: + description: An unexpected error response. + content: + "*/*": + schema: + type: object + properties: + error: + type: string + code: + type: integer + format: int32 + message: + type: string + details: + type: array + items: + type: object + properties: + type_url: + type: string + value: + type: string + format: byte + parameters: + - name: app_id + in: path + required: true + schema: + type: string + format: uint64 + - name: asset_id + in: path + required: true + schema: + type: string + format: uint64 + tags: + - Query + "/comdex/esm/v1beta1/asset_data_after_cool_off/{app_id}": + get: + operationId: QueryAssetDataAfterCoolOff + responses: + "200": + description: A successful response. + content: + "*/*": + schema: + type: object + properties: + assetToAmount: + type: array + items: + type: object + properties: + appId: + type: string + format: uint64 + asset_id: + type: string + format: uint64 + amount: + type: string + share: + type: string + debt_token_worth: + type: string + is_collateral: + type: boolean + default: + description: An unexpected error response. + content: + "*/*": + schema: + type: object + properties: + error: + type: string + code: + type: integer + format: int32 + message: + type: string + details: + type: array + items: + type: object + properties: + type_url: + type: string + value: + type: string + format: byte + parameters: + - name: app_id + in: path + required: true + schema: + type: string + format: uint64 + tags: + - Query + "/comdex/esm/v1beta1/current_deposit_stats/{id}": + get: + operationId: QueryCurrentDepositStats + responses: + "200": + description: A successful response. + content: + "*/*": + schema: + type: object + properties: + currentDepositStats: + type: object + properties: + app_id: + type: string + format: uint64 + balance: + type: object + properties: + denom: + type: string + amount: + type: string + description: >- + Coin defines a token with a denomination and an amount. + + + NOTE: The amount field is an Int which implements the custom method + + signatures required by gogoproto. + default: + description: An unexpected error response. + content: + "*/*": + schema: + type: object + properties: + error: + type: string + code: + type: integer + format: int32 + message: + type: string + details: + type: array + items: + type: object + properties: + type_url: + type: string + value: + type: string + format: byte + parameters: + - name: id + in: path + required: true + schema: + type: string + format: uint64 + tags: + - Query + "/comdex/esm/v1beta1/data_after_cool_off/{id}": + get: + operationId: QueryDataAfterCoolOff + responses: + "200": + description: A successful response. + content: + "*/*": + schema: + type: object + properties: + dataAfterCoolOff: + type: object + properties: + appId: + type: string + format: uint64 + collateral_total_amount: + type: string + debt_total_amount: + type: string + default: + description: An unexpected error response. + content: + "*/*": + schema: + type: object + properties: + error: + type: string + code: + type: integer + format: int32 + message: + type: string + details: + type: array + items: + type: object + properties: + type_url: + type: string + value: + type: string + format: byte + parameters: + - name: id + in: path + required: true + schema: + type: string + format: uint64 + tags: + - Query + "/comdex/esm/v1beta1/esm_status/{id}": + get: + operationId: QueryESMStatus + responses: + "200": + description: A successful response. + content: + "*/*": + schema: + type: object + properties: + esmStatus: + type: object + properties: + app_id: + type: string + format: uint64 + executor: + type: string + status: + type: boolean + start_time: + type: string + format: date-time + end_time: + type: string + format: date-time + vault_redemption_status: + type: boolean + snapshotStatus: + type: boolean + stable_vault_redemption_status: + type: boolean + collector_transaction: + type: boolean + share_calculation: + type: boolean + default: + description: An unexpected error response. + content: + "*/*": + schema: + type: object + properties: + error: + type: string + code: + type: integer + format: int32 + message: + type: string + details: + type: array + items: + type: object + properties: + type_url: + type: string + value: + type: string + format: byte + parameters: + - name: id + in: path + required: true + schema: + type: string + format: uint64 + tags: + - Query + "/comdex/esm/v1beta1/esm_trigger_params/{id}": + get: + operationId: QueryESMTriggerParams + responses: + "200": + description: A successful response. + content: + "*/*": + schema: + type: object + properties: + esmTriggerParams: + type: object + properties: + app_id: + type: string + format: uint64 + target_value: + type: object + properties: + denom: + type: string + amount: + type: string + description: >- + Coin defines a token with a denomination and an amount. + + + NOTE: The amount field is an Int which implements the custom method + + signatures required by gogoproto. + cool_off_period: + type: string + format: uint64 + assetsRates: + type: array + items: + type: object + properties: + asset_id: + type: string + format: uint64 + rates: + type: string + format: uint64 + default: + description: An unexpected error response. + content: + "*/*": + schema: + type: object + properties: + error: + type: string + code: + type: integer + format: int32 + message: + type: string + details: + type: array + items: + type: object + properties: + type_url: + type: string + value: + type: string + format: byte + parameters: + - name: id + in: path + required: true + schema: + type: string + format: uint64 + tags: + - Query + "/comdex/esm/v1beta1/price_snapshot/{app_id}/{asset_id}": + get: + operationId: QuerySnapshotPrice + responses: + "200": + description: A successful response. + content: + "*/*": + schema: + type: object + properties: + price: + type: string + format: uint64 + default: + description: An unexpected error response. + content: + "*/*": + schema: + type: object + properties: + error: + type: string + code: + type: integer + format: int32 + message: + type: string + details: + type: array + items: + type: object + properties: + type_url: + type: string + value: + type: string + format: byte + parameters: + - name: app_id + in: path + required: true + schema: + type: string + format: uint64 + - name: asset_id + in: path + required: true + schema: + type: string + format: uint64 + tags: + - Query + "/comdex/esm/v1beta1/user_deposit_mapping/{id}/{depositor}": + get: + operationId: QueryUsersDepositMapping + responses: + "200": + description: A successful response. + content: + "*/*": + schema: + type: object + properties: + usersDepositMapping: + type: object + properties: + app_id: + type: string + format: uint64 + depositor: + type: string + deposits: + type: object + properties: + denom: + type: string + amount: + type: string + description: >- + Coin defines a token with a denomination and an amount. + + + NOTE: The amount field is an Int which implements the custom method + + signatures required by gogoproto. + default: + description: An unexpected error response. + content: + "*/*": + schema: + type: object + properties: + error: + type: string + code: + type: integer + format: int32 + message: + type: string + details: + type: array + items: + type: object + properties: + type_url: + type: string + value: + type: string + format: byte + parameters: + - name: id + in: path + required: true + schema: + type: string + format: uint64 + - name: depositor + in: path + required: true + schema: + type: string + tags: + - Query + /comdex/v1beta1/esm/params: + get: + operationId: esmParams + responses: + "200": + description: A successful response. + content: + "*/*": + schema: + type: object + properties: + params: + type: object + properties: + admin: + type: array + items: + type: string + default: + description: An unexpected error response. + content: + "*/*": + schema: + type: object + properties: + error: + type: string + code: + type: integer + format: int32 + message: + type: string + details: + type: array + items: + type: object + properties: + type_url: + type: string + value: + type: string + format: byte + tags: + - Query + "/comdex/lend/v1beta1/all_reserve_stats/{asset_id}": + get: + operationId: QueryAllReserveStats + responses: + "200": + description: A successful response. + content: + "*/*": + schema: + type: object + properties: + AllReserveStats: + type: object + properties: + asset_id: + type: string + format: uint64 + amount_out_from_reserve_to_lenders: + type: string + amount_out_from_reserve_for_auction: + type: string + amount_in_from_liq_penalty: + type: string + amount_in_from_repayments: + type: string + total_amount_out_to_lenders: + type: string + default: + description: An unexpected error response. + content: + "*/*": + schema: + type: object + properties: + error: + type: string + code: + type: integer + format: int32 + message: + type: string + details: + type: array + items: + type: object + properties: + type_url: + type: string + value: + type: string + format: byte + parameters: + - name: asset_id + in: path + required: true + schema: + type: string + format: uint64 + tags: + - Query + "/comdex/lend/v1beta1/asset_rates_param/{id}": + get: + operationId: QueryAssetRatesParam + responses: + "200": + description: A successful response. + content: + "*/*": + schema: + type: object + properties: + AssetRatesparams: + type: object + properties: + asset_id: + type: string + format: uint64 + u_optimal: + type: string + base: + type: string + slope1: + type: string + slope2: + type: string + enable_stable_borrow: + type: boolean + stable_base: + type: string + stable_slope1: + type: string + stable_slope2: + type: string + ltv: + type: string + liquidation_threshold: + type: string + liquidation_penalty: + type: string + liquidation_bonus: + type: string + reserve_factor: + type: string + c_asset_id: + type: string + format: uint64 + default: + description: An unexpected error response. + content: + "*/*": + schema: + type: object + properties: + error: + type: string + code: + type: integer + format: int32 + message: + type: string + details: + type: array + items: + type: object + properties: + type_url: + type: string + value: + type: string + format: byte + parameters: + - name: id + in: path + required: true + schema: + type: string + format: uint64 + tags: + - Query + /comdex/lend/v1beta1/asset_rates_params: + get: + operationId: QueryAssetRatesParams + responses: + "200": + description: A successful response. + content: + "*/*": + schema: + type: object + properties: + AssetRatesParams: + type: array + items: + type: object + properties: + asset_id: + type: string + format: uint64 + u_optimal: + type: string + base: + type: string + slope1: + type: string + slope2: + type: string + enable_stable_borrow: + type: boolean + stable_base: + type: string + stable_slope1: + type: string + stable_slope2: + type: string + ltv: + type: string + liquidation_threshold: + type: string + liquidation_penalty: + type: string + liquidation_bonus: + type: string + reserve_factor: + type: string + c_asset_id: + type: string + format: uint64 + pagination: + type: object + properties: + next_key: + type: string + format: byte + title: |- + next_key is the key to be passed to PageRequest.key to + query the next page most efficiently + total: + type: string + format: uint64 + title: >- + total is total number of results available if PageRequest.count_total + + was set, its value is undefined otherwise + description: >- + PageResponse is to be embedded in gRPC response messages where the + + corresponding request message has used PageRequest. + + + message SomeResponse { + repeated Bar results = 1; + PageResponse page = 2; + } + default: + description: An unexpected error response. + content: + "*/*": + schema: + type: object + properties: + error: + type: string + code: + type: integer + format: int32 + message: + type: string + details: + type: array + items: + type: object + properties: + type_url: + type: string + value: + type: string + format: byte + parameters: + - name: pagination.key + description: |- + key is a value returned in PageResponse.next_key to begin + querying the next page most efficiently. Only one of offset or key + should be set. + in: query + required: false + schema: + type: string + format: byte + - name: pagination.offset + description: >- + offset is a numeric offset that can be used when key is unavailable. + + It is less efficient than using key. Only one of offset or key should + + be set. + in: query + required: false + schema: + type: string + format: uint64 + - name: pagination.limit + description: >- + limit is the total number of results to be returned in the result page. + + If left empty it will default to a value to be set by each app. + in: query + required: false + schema: + type: string + format: uint64 + - name: pagination.count_total + description: >- + count_total is set to true to indicate that the result set should include + + a count of the total number of items available for pagination in UIs. + + count_total is only respected when offset is used. It is ignored when key + + is set. + in: query + required: false + schema: + type: boolean + - name: pagination.reverse + description: >- + reverse is set to true if results are to be returned in the descending + + order. + in: query + required: false + schema: + type: boolean + tags: + - Query + /comdex/lend/v1beta1/asset_to_pair_mappings: + get: + operationId: QueryAssetToPairMappings + responses: + "200": + description: A successful response. + content: + "*/*": + schema: + type: object + properties: + assetToPairMappings: + type: array + items: + type: object + properties: + pool_id: + type: string + format: uint64 + asset_id: + type: string + format: uint64 + pair_id: + type: array + items: + type: string + format: uint64 + pagination: + type: object + properties: + next_key: + type: string + format: byte + title: |- + next_key is the key to be passed to PageRequest.key to + query the next page most efficiently + total: + type: string + format: uint64 + title: >- + total is total number of results available if PageRequest.count_total + + was set, its value is undefined otherwise + description: >- + PageResponse is to be embedded in gRPC response messages where the + + corresponding request message has used PageRequest. + + + message SomeResponse { + repeated Bar results = 1; + PageResponse page = 2; + } + default: + description: An unexpected error response. + content: + "*/*": + schema: + type: object + properties: + error: + type: string + code: + type: integer + format: int32 + message: + type: string + details: + type: array + items: + type: object + properties: + type_url: + type: string + value: + type: string + format: byte + parameters: + - name: pagination.key + description: |- + key is a value returned in PageResponse.next_key to begin + querying the next page most efficiently. Only one of offset or key + should be set. + in: query + required: false + schema: + type: string + format: byte + - name: pagination.offset + description: >- + offset is a numeric offset that can be used when key is unavailable. + + It is less efficient than using key. Only one of offset or key should + + be set. + in: query + required: false + schema: + type: string + format: uint64 + - name: pagination.limit + description: >- + limit is the total number of results to be returned in the result page. + + If left empty it will default to a value to be set by each app. + in: query + required: false + schema: + type: string + format: uint64 + - name: pagination.count_total + description: >- + count_total is set to true to indicate that the result set should include + + a count of the total number of items available for pagination in UIs. + + count_total is only respected when offset is used. It is ignored when key + + is set. + in: query + required: false + schema: + type: boolean + - name: pagination.reverse + description: >- + reverse is set to true if results are to be returned in the descending + + order. + in: query + required: false + schema: + type: boolean + tags: + - Query + "/comdex/lend/v1beta1/asset_to_pair_mappings/{asset_id}/{pool_id}": + get: + operationId: QueryAssetToPairMapping + responses: + "200": + description: A successful response. + content: + "*/*": + schema: + type: object + properties: + AssetToPairMapping: + type: object + properties: + pool_id: + type: string + format: uint64 + asset_id: + type: string + format: uint64 + pair_id: + type: array + items: + type: string + format: uint64 + default: + description: An unexpected error response. + content: + "*/*": + schema: + type: object + properties: + error: + type: string + code: + type: integer + format: int32 + message: + type: string + details: + type: array + items: + type: object + properties: + type_url: + type: string + value: + type: string + format: byte + parameters: + - name: asset_id + in: path + required: true + schema: + type: string + format: uint64 + - name: pool_id + in: path + required: true + schema: + type: string + format: uint64 + tags: + - Query + "/comdex/lend/v1beta1/auctionparams/{app_id}": + get: + operationId: QueryAuctionParams + responses: + "200": + description: A successful response. + content: + "*/*": + schema: + type: object + properties: + auctionParams: + type: object + properties: + app_id: + type: string + format: uint64 + auction_duration_seconds: + type: string + format: uint64 + buffer: + type: string + cusp: + type: string + step: + type: string + price_function_type: + type: string + format: uint64 + dutch_id: + type: string + format: uint64 + bid_duration_seconds: + type: string + format: uint64 + default: + description: An unexpected error response. + content: + "*/*": + schema: + type: object + properties: + error: + type: string + code: + type: integer + format: int32 + message: + type: string + details: + type: array + items: + type: object + properties: + type_url: + type: string + value: + type: string + format: byte + parameters: + - name: app_id + in: path + required: true + schema: + type: string + format: uint64 + tags: + - Query + /comdex/lend/v1beta1/borrow_interest: + get: + operationId: QueryBorrowInterest + responses: + "200": + description: A successful response. + content: + "*/*": + schema: + type: object + properties: + pool_interest: + type: array + items: + type: object + properties: + pool_id: + type: string + format: uint64 + pool_interest_data: + type: array + items: + type: object + properties: + asset_id: + type: string + format: uint64 + borrow_interest: + type: string + default: + description: An unexpected error response. + content: + "*/*": + schema: + type: object + properties: + error: + type: string + code: + type: integer + format: int32 + message: + type: string + details: + type: array + items: + type: object + properties: + type_url: + type: string + value: + type: string + format: byte + tags: + - Query + /comdex/lend/v1beta1/borrows: + get: + operationId: QueryBorrows + responses: + "200": + description: A successful response. + content: + "*/*": + schema: + type: object + properties: + borrows: + type: array + items: + type: object + properties: + borrowing_id: + type: string + format: uint64 + lending_id: + type: string + format: uint64 + is_stable_borrow: + type: boolean + pair_id: + type: string + format: uint64 + amount_in: + type: object + properties: + denom: + type: string + amount: + type: string + description: >- + Coin defines a token with a denomination and an amount. + + + NOTE: The amount field is an Int which implements the custom method + + signatures required by gogoproto. + amount_out: + type: object + properties: + denom: + type: string + amount: + type: string + description: >- + Coin defines a token with a denomination and an amount. + + + NOTE: The amount field is an Int which implements the custom method + + signatures required by gogoproto. + bridged_asset_amount: + type: object + properties: + denom: + type: string + amount: + type: string + description: >- + Coin defines a token with a denomination and an amount. + + + NOTE: The amount field is an Int which implements the custom method + + signatures required by gogoproto. + borrowing_time: + type: string + format: date-time + stable_borrow_rate: + type: string + interest_accumulated: + type: string + global_index: + type: string + reserve_global_index: + type: string + last_interaction_time: + type: string + format: date-time + cpool_name: + type: string + is_liquidated: + type: boolean + pagination: + type: object + properties: + next_key: + type: string + format: byte + title: |- + next_key is the key to be passed to PageRequest.key to + query the next page most efficiently + total: + type: string + format: uint64 + title: >- + total is total number of results available if PageRequest.count_total + + was set, its value is undefined otherwise + description: >- + PageResponse is to be embedded in gRPC response messages where the + + corresponding request message has used PageRequest. + + + message SomeResponse { + repeated Bar results = 1; + PageResponse page = 2; + } + default: + description: An unexpected error response. + content: + "*/*": + schema: + type: object + properties: + error: + type: string + code: + type: integer + format: int32 + message: + type: string + details: + type: array + items: + type: object + properties: + type_url: + type: string + value: + type: string + format: byte + parameters: + - name: pagination.key + description: |- + key is a value returned in PageResponse.next_key to begin + querying the next page most efficiently. Only one of offset or key + should be set. + in: query + required: false + schema: + type: string + format: byte + - name: pagination.offset + description: >- + offset is a numeric offset that can be used when key is unavailable. + + It is less efficient than using key. Only one of offset or key should + + be set. + in: query + required: false + schema: + type: string + format: uint64 + - name: pagination.limit + description: >- + limit is the total number of results to be returned in the result page. + + If left empty it will default to a value to be set by each app. + in: query + required: false + schema: + type: string + format: uint64 + - name: pagination.count_total + description: >- + count_total is set to true to indicate that the result set should include + + a count of the total number of items available for pagination in UIs. + + count_total is only respected when offset is used. It is ignored when key + + is set. + in: query + required: false + schema: + type: boolean + - name: pagination.reverse + description: >- + reverse is set to true if results are to be returned in the descending + + order. + in: query + required: false + schema: + type: boolean + tags: + - Query + "/comdex/lend/v1beta1/borrows/{id}": + get: + operationId: QueryBorrow + responses: + "200": + description: A successful response. + content: + "*/*": + schema: + type: object + properties: + borrow: + type: object + properties: + borrowing_id: + type: string + format: uint64 + lending_id: + type: string + format: uint64 + is_stable_borrow: + type: boolean + pair_id: + type: string + format: uint64 + amount_in: + type: object + properties: + denom: + type: string + amount: + type: string + description: >- + Coin defines a token with a denomination and an amount. + + + NOTE: The amount field is an Int which implements the custom method + + signatures required by gogoproto. + amount_out: + type: object + properties: + denom: + type: string + amount: + type: string + description: >- + Coin defines a token with a denomination and an amount. + + + NOTE: The amount field is an Int which implements the custom method + + signatures required by gogoproto. + bridged_asset_amount: + type: object + properties: + denom: + type: string + amount: + type: string + description: >- + Coin defines a token with a denomination and an amount. + + + NOTE: The amount field is an Int which implements the custom method + + signatures required by gogoproto. + borrowing_time: + type: string + format: date-time + stable_borrow_rate: + type: string + interest_accumulated: + type: string + global_index: + type: string + reserve_global_index: + type: string + last_interaction_time: + type: string + format: date-time + cpool_name: + type: string + is_liquidated: + type: boolean + default: + description: An unexpected error response. + content: + "*/*": + schema: + type: object + properties: + error: + type: string + code: + type: integer + format: int32 + message: + type: string + details: + type: array + items: + type: object + properties: + type_url: + type: string + value: + type: string + format: byte + parameters: + - name: id + in: path + required: true + schema: + type: string + format: uint64 + tags: + - Query + "/comdex/lend/v1beta1/borrows_by_owner/{owner}": + get: + operationId: QueryAllBorrowByOwner + responses: + "200": + description: A successful response. + content: + "*/*": + schema: + type: object + properties: + borrows: + type: array + items: + type: object + properties: + borrowing_id: + type: string + format: uint64 + lending_id: + type: string + format: uint64 + is_stable_borrow: + type: boolean + pair_id: + type: string + format: uint64 + amount_in: + type: object + properties: + denom: + type: string + amount: + type: string + description: >- + Coin defines a token with a denomination and an amount. + + + NOTE: The amount field is an Int which implements the custom method + + signatures required by gogoproto. + amount_out: + type: object + properties: + denom: + type: string + amount: + type: string + description: >- + Coin defines a token with a denomination and an amount. + + + NOTE: The amount field is an Int which implements the custom method + + signatures required by gogoproto. + bridged_asset_amount: + type: object + properties: + denom: + type: string + amount: + type: string + description: >- + Coin defines a token with a denomination and an amount. + + + NOTE: The amount field is an Int which implements the custom method + + signatures required by gogoproto. + borrowing_time: + type: string + format: date-time + stable_borrow_rate: + type: string + interest_accumulated: + type: string + global_index: + type: string + reserve_global_index: + type: string + last_interaction_time: + type: string + format: date-time + cpool_name: + type: string + is_liquidated: + type: boolean + pagination: + type: object + properties: + next_key: + type: string + format: byte + title: |- + next_key is the key to be passed to PageRequest.key to + query the next page most efficiently + total: + type: string + format: uint64 + title: >- + total is total number of results available if PageRequest.count_total + + was set, its value is undefined otherwise + description: >- + PageResponse is to be embedded in gRPC response messages where the + + corresponding request message has used PageRequest. + + + message SomeResponse { + repeated Bar results = 1; + PageResponse page = 2; + } + default: + description: An unexpected error response. + content: + "*/*": + schema: + type: object + properties: + error: + type: string + code: + type: integer + format: int32 + message: + type: string + details: + type: array + items: + type: object + properties: + type_url: + type: string + value: + type: string + format: byte + parameters: + - name: owner + in: path + required: true + schema: + type: string + - name: pagination.key + description: |- + key is a value returned in PageResponse.next_key to begin + querying the next page most efficiently. Only one of offset or key + should be set. + in: query + required: false + schema: + type: string + format: byte + - name: pagination.offset + description: >- + offset is a numeric offset that can be used when key is unavailable. + + It is less efficient than using key. Only one of offset or key should + + be set. + in: query + required: false + schema: + type: string + format: uint64 + - name: pagination.limit + description: >- + limit is the total number of results to be returned in the result page. + + If left empty it will default to a value to be set by each app. + in: query + required: false + schema: + type: string + format: uint64 + - name: pagination.count_total + description: >- + count_total is set to true to indicate that the result set should include + + a count of the total number of items available for pagination in UIs. + + count_total is only respected when offset is used. It is ignored when key + + is set. + in: query + required: false + schema: + type: boolean + - name: pagination.reverse + description: >- + reverse is set to true if results are to be returned in the descending + + order. + in: query + required: false + schema: + type: boolean + tags: + - Query + "/comdex/lend/v1beta1/borrows_by_owner_pool/{owner}/{pool_id}": + get: + operationId: QueryAllBorrowByOwnerAndPool + responses: + "200": + description: A successful response. + content: + "*/*": + schema: + type: object + properties: + borrows: + type: array + items: + type: object + properties: + borrowing_id: + type: string + format: uint64 + lending_id: + type: string + format: uint64 + is_stable_borrow: + type: boolean + pair_id: + type: string + format: uint64 + amount_in: + type: object + properties: + denom: + type: string + amount: + type: string + description: >- + Coin defines a token with a denomination and an amount. + + + NOTE: The amount field is an Int which implements the custom method + + signatures required by gogoproto. + amount_out: + type: object + properties: + denom: + type: string + amount: + type: string + description: >- + Coin defines a token with a denomination and an amount. + + + NOTE: The amount field is an Int which implements the custom method + + signatures required by gogoproto. + bridged_asset_amount: + type: object + properties: + denom: + type: string + amount: + type: string + description: >- + Coin defines a token with a denomination and an amount. + + + NOTE: The amount field is an Int which implements the custom method + + signatures required by gogoproto. + borrowing_time: + type: string + format: date-time + stable_borrow_rate: + type: string + interest_accumulated: + type: string + global_index: + type: string + reserve_global_index: + type: string + last_interaction_time: + type: string + format: date-time + cpool_name: + type: string + is_liquidated: + type: boolean + pagination: + type: object + properties: + next_key: + type: string + format: byte + title: |- + next_key is the key to be passed to PageRequest.key to + query the next page most efficiently + total: + type: string + format: uint64 + title: >- + total is total number of results available if PageRequest.count_total + + was set, its value is undefined otherwise + description: >- + PageResponse is to be embedded in gRPC response messages where the + + corresponding request message has used PageRequest. + + + message SomeResponse { + repeated Bar results = 1; + PageResponse page = 2; + } + default: + description: An unexpected error response. + content: + "*/*": + schema: + type: object + properties: + error: + type: string + code: + type: integer + format: int32 + message: + type: string + details: + type: array + items: + type: object + properties: + type_url: + type: string + value: + type: string + format: byte + parameters: + - name: owner + in: path + required: true + schema: + type: string + - name: pool_id + in: path + required: true + schema: + type: string + format: uint64 + - name: pagination.key + description: |- + key is a value returned in PageResponse.next_key to begin + querying the next page most efficiently. Only one of offset or key + should be set. + in: query + required: false + schema: + type: string + format: byte + - name: pagination.offset + description: >- + offset is a numeric offset that can be used when key is unavailable. + + It is less efficient than using key. Only one of offset or key should + + be set. + in: query + required: false + schema: + type: string + format: uint64 + - name: pagination.limit + description: >- + limit is the total number of results to be returned in the result page. + + If left empty it will default to a value to be set by each app. + in: query + required: false + schema: + type: string + format: uint64 + - name: pagination.count_total + description: >- + count_total is set to true to indicate that the result set should include + + a count of the total number of items available for pagination in UIs. + + count_total is only respected when offset is used. It is ignored when key + + is set. + in: query + required: false + schema: + type: boolean + - name: pagination.reverse + description: >- + reverse is set to true if results are to be returned in the descending + + order. + in: query + required: false + schema: + type: boolean + tags: + - Query + "/comdex/lend/v1beta1/fund_mod_bal_by_asset_pool/{asset_id}/{pool_id}": + get: + operationId: QueryFundModBalByAssetPool + responses: + "200": + description: A successful response. + content: + "*/*": + schema: + type: object + properties: + amount: + type: object + properties: + denom: + type: string + amount: + type: string + description: >- + Coin defines a token with a denomination and an amount. + + + NOTE: The amount field is an Int which implements the custom method + + signatures required by gogoproto. + default: + description: An unexpected error response. + content: + "*/*": + schema: + type: object + properties: + error: + type: string + code: + type: integer + format: int32 + message: + type: string + details: + type: array + items: + type: object + properties: + type_url: + type: string + value: + type: string + format: byte + parameters: + - name: asset_id + in: path + required: true + schema: + type: string + format: uint64 + - name: pool_id + in: path + required: true + schema: + type: string + format: uint64 + tags: + - Query + /comdex/lend/v1beta1/fund_mod_balance: + get: + operationId: QueryFundModBal + responses: + "200": + description: A successful response. + content: + "*/*": + schema: + type: object + properties: + FundModBalance: + type: object + properties: + fund_module_balance: + type: array + items: + type: object + properties: + asset_id: + type: string + format: uint64 + pool_id: + type: string + format: uint64 + amount_in: + type: object + properties: + denom: + type: string + amount: + type: string + description: >- + Coin defines a token with a denomination and an amount. + + + NOTE: The amount field is an Int which implements the custom method + + signatures required by gogoproto. + deposit_time: + type: string + format: date-time + funder: + type: string + default: + description: An unexpected error response. + content: + "*/*": + schema: + type: object + properties: + error: + type: string + code: + type: integer + format: int32 + message: + type: string + details: + type: array + items: + type: object + properties: + type_url: + type: string + value: + type: string + format: byte + tags: + - Query + /comdex/lend/v1beta1/fund_reserve_balance: + get: + operationId: QueryFundReserveBal + responses: + "200": + description: A successful response. + content: + "*/*": + schema: + type: object + properties: + FundReserveBalance: + type: object + properties: + fund_reserve_balance: + type: array + items: + type: object + properties: + asset_id: + type: string + format: uint64 + amount_in: + type: object + properties: + denom: + type: string + amount: + type: string + description: >- + Coin defines a token with a denomination and an amount. + + + NOTE: The amount field is an Int which implements the custom method + + signatures required by gogoproto. + deposit_time: + type: string + format: date-time + funder: + type: string + default: + description: An unexpected error response. + content: + "*/*": + schema: + type: object + properties: + error: + type: string + code: + type: integer + format: int32 + message: + type: string + details: + type: array + items: + type: object + properties: + type_url: + type: string + value: + type: string + format: byte + tags: + - Query + /comdex/lend/v1beta1/lend_interest: + get: + operationId: QueryLendInterest + responses: + "200": + description: A successful response. + content: + "*/*": + schema: + type: object + properties: + pool_interest: + type: array + items: + type: object + properties: + pool_id: + type: string + format: uint64 + pool_interest_data: + type: array + items: + type: object + properties: + asset_id: + type: string + format: uint64 + lend_interest: + type: string + default: + description: An unexpected error response. + content: + "*/*": + schema: + type: object + properties: + error: + type: string + code: + type: integer + format: int32 + message: + type: string + details: + type: array + items: + type: object + properties: + type_url: + type: string + value: + type: string + format: byte + tags: + - Query + /comdex/lend/v1beta1/lends: + get: + operationId: QueryLends + responses: + "200": + description: A successful response. + content: + "*/*": + schema: + type: object + properties: + lends: + type: array + items: + type: object + properties: + lending_id: + type: string + format: uint64 + asset_id: + type: string + format: uint64 + pool_id: + type: string + format: uint64 + owner: + type: string + amount_in: + type: object + properties: + denom: + type: string + amount: + type: string + description: >- + Coin defines a token with a denomination and an amount. + + + NOTE: The amount field is an Int which implements the custom method + + signatures required by gogoproto. + lending_time: + type: string + format: date-time + available_to_borrow: + type: string + app_id: + type: string + format: uint64 + global_index: + type: string + last_interaction_time: + type: string + format: date-time + cpool_name: + type: string + total_rewards: + type: string + pagination: + type: object + properties: + next_key: + type: string + format: byte + title: |- + next_key is the key to be passed to PageRequest.key to + query the next page most efficiently + total: + type: string + format: uint64 + title: >- + total is total number of results available if PageRequest.count_total + + was set, its value is undefined otherwise + description: >- + PageResponse is to be embedded in gRPC response messages where the + + corresponding request message has used PageRequest. + + + message SomeResponse { + repeated Bar results = 1; + PageResponse page = 2; + } + default: + description: An unexpected error response. + content: + "*/*": + schema: + type: object + properties: + error: + type: string + code: + type: integer + format: int32 + message: + type: string + details: + type: array + items: + type: object + properties: + type_url: + type: string + value: + type: string + format: byte + parameters: + - name: pagination.key + description: |- + key is a value returned in PageResponse.next_key to begin + querying the next page most efficiently. Only one of offset or key + should be set. + in: query + required: false + schema: + type: string + format: byte + - name: pagination.offset + description: >- + offset is a numeric offset that can be used when key is unavailable. + + It is less efficient than using key. Only one of offset or key should + + be set. + in: query + required: false + schema: + type: string + format: uint64 + - name: pagination.limit + description: >- + limit is the total number of results to be returned in the result page. + + If left empty it will default to a value to be set by each app. + in: query + required: false + schema: + type: string + format: uint64 + - name: pagination.count_total + description: >- + count_total is set to true to indicate that the result set should include + + a count of the total number of items available for pagination in UIs. + + count_total is only respected when offset is used. It is ignored when key + + is set. + in: query + required: false + schema: + type: boolean + - name: pagination.reverse + description: >- + reverse is set to true if results are to be returned in the descending + + order. + in: query + required: false + schema: + type: boolean + tags: + - Query + "/comdex/lend/v1beta1/lends/{id}": + get: + operationId: QueryLend + responses: + "200": + description: A successful response. + content: + "*/*": + schema: + type: object + properties: + lend: + type: object + properties: + lending_id: + type: string + format: uint64 + asset_id: + type: string + format: uint64 + pool_id: + type: string + format: uint64 + owner: + type: string + amount_in: + type: object + properties: + denom: + type: string + amount: + type: string + description: >- + Coin defines a token with a denomination and an amount. + + + NOTE: The amount field is an Int which implements the custom method + + signatures required by gogoproto. + lending_time: + type: string + format: date-time + available_to_borrow: + type: string + app_id: + type: string + format: uint64 + global_index: + type: string + last_interaction_time: + type: string + format: date-time + cpool_name: + type: string + total_rewards: + type: string + default: + description: An unexpected error response. + content: + "*/*": + schema: + type: object + properties: + error: + type: string + code: + type: integer + format: int32 + message: + type: string + details: + type: array + items: + type: object + properties: + type_url: + type: string + value: + type: string + format: byte + parameters: + - name: id + in: path + required: true + schema: + type: string + format: uint64 + tags: + - Query + "/comdex/lend/v1beta1/lends_by_owner/{owner}": + get: + operationId: QueryAllLendByOwner + responses: + "200": + description: A successful response. + content: + "*/*": + schema: + type: object + properties: + lends: + type: array + items: + type: object + properties: + lending_id: + type: string + format: uint64 + asset_id: + type: string + format: uint64 + pool_id: + type: string + format: uint64 + owner: + type: string + amount_in: + type: object + properties: + denom: + type: string + amount: + type: string + description: >- + Coin defines a token with a denomination and an amount. + + + NOTE: The amount field is an Int which implements the custom method + + signatures required by gogoproto. + lending_time: + type: string + format: date-time + available_to_borrow: + type: string + app_id: + type: string + format: uint64 + global_index: + type: string + last_interaction_time: + type: string + format: date-time + cpool_name: + type: string + total_rewards: + type: string + pagination: + type: object + properties: + next_key: + type: string + format: byte + title: |- + next_key is the key to be passed to PageRequest.key to + query the next page most efficiently + total: + type: string + format: uint64 + title: >- + total is total number of results available if PageRequest.count_total + + was set, its value is undefined otherwise + description: >- + PageResponse is to be embedded in gRPC response messages where the + + corresponding request message has used PageRequest. + + + message SomeResponse { + repeated Bar results = 1; + PageResponse page = 2; + } + default: + description: An unexpected error response. + content: + "*/*": + schema: + type: object + properties: + error: + type: string + code: + type: integer + format: int32 + message: + type: string + details: + type: array + items: + type: object + properties: + type_url: + type: string + value: + type: string + format: byte + parameters: + - name: owner + in: path + required: true + schema: + type: string + - name: pagination.key + description: |- + key is a value returned in PageResponse.next_key to begin + querying the next page most efficiently. Only one of offset or key + should be set. + in: query + required: false + schema: + type: string + format: byte + - name: pagination.offset + description: >- + offset is a numeric offset that can be used when key is unavailable. + + It is less efficient than using key. Only one of offset or key should + + be set. + in: query + required: false + schema: + type: string + format: uint64 + - name: pagination.limit + description: >- + limit is the total number of results to be returned in the result page. + + If left empty it will default to a value to be set by each app. + in: query + required: false + schema: + type: string + format: uint64 + - name: pagination.count_total + description: >- + count_total is set to true to indicate that the result set should include + + a count of the total number of items available for pagination in UIs. + + count_total is only respected when offset is used. It is ignored when key + + is set. + in: query + required: false + schema: + type: boolean + - name: pagination.reverse + description: >- + reverse is set to true if results are to be returned in the descending + + order. + in: query + required: false + schema: + type: boolean + tags: + - Query + "/comdex/lend/v1beta1/lends_by_owner_pool/{owner}/{pool_id}": + get: + operationId: QueryAllLendByOwnerAndPool + responses: + "200": + description: A successful response. + content: + "*/*": + schema: + type: object + properties: + lends: + type: array + items: + type: object + properties: + lending_id: + type: string + format: uint64 + asset_id: + type: string + format: uint64 + pool_id: + type: string + format: uint64 + owner: + type: string + amount_in: + type: object + properties: + denom: + type: string + amount: + type: string + description: >- + Coin defines a token with a denomination and an amount. + + + NOTE: The amount field is an Int which implements the custom method + + signatures required by gogoproto. + lending_time: + type: string + format: date-time + available_to_borrow: + type: string + app_id: + type: string + format: uint64 + global_index: + type: string + last_interaction_time: + type: string + format: date-time + cpool_name: + type: string + total_rewards: + type: string + pagination: + type: object + properties: + next_key: + type: string + format: byte + title: |- + next_key is the key to be passed to PageRequest.key to + query the next page most efficiently + total: + type: string + format: uint64 + title: >- + total is total number of results available if PageRequest.count_total + + was set, its value is undefined otherwise + description: >- + PageResponse is to be embedded in gRPC response messages where the + + corresponding request message has used PageRequest. + + + message SomeResponse { + repeated Bar results = 1; + PageResponse page = 2; + } + default: + description: An unexpected error response. + content: + "*/*": + schema: + type: object + properties: + error: + type: string + code: + type: integer + format: int32 + message: + type: string + details: + type: array + items: + type: object + properties: + type_url: + type: string + value: + type: string + format: byte + parameters: + - name: owner + in: path + required: true + schema: + type: string + - name: pool_id + in: path + required: true + schema: + type: string + format: uint64 + - name: pagination.key + description: |- + key is a value returned in PageResponse.next_key to begin + querying the next page most efficiently. Only one of offset or key + should be set. + in: query + required: false + schema: + type: string + format: byte + - name: pagination.offset + description: >- + offset is a numeric offset that can be used when key is unavailable. + + It is less efficient than using key. Only one of offset or key should + + be set. + in: query + required: false + schema: + type: string + format: uint64 + - name: pagination.limit + description: >- + limit is the total number of results to be returned in the result page. + + If left empty it will default to a value to be set by each app. + in: query + required: false + schema: + type: string + format: uint64 + - name: pagination.count_total + description: >- + count_total is set to true to indicate that the result set should include + + a count of the total number of items available for pagination in UIs. + + count_total is only respected when offset is used. It is ignored when key + + is set. + in: query + required: false + schema: + type: boolean + - name: pagination.reverse + description: >- + reverse is set to true if results are to be returned in the descending + + order. + in: query + required: false + schema: + type: boolean + tags: + - Query + "/comdex/lend/v1beta1/module_balance/{pool_id}": + get: + operationId: QueryModuleBalance + responses: + "200": + description: A successful response. + content: + "*/*": + schema: + type: object + properties: + ModuleBalance: + type: object + properties: + pool_id: + type: string + format: uint64 + module_balance_stats: + type: array + items: + type: object + properties: + asset_id: + type: string + format: uint64 + balance: + type: object + properties: + denom: + type: string + amount: + type: string + description: >- + Coin defines a token with a denomination and an amount. + + + NOTE: The amount field is an Int which implements the custom method + + signatures required by gogoproto. + default: + description: An unexpected error response. + content: + "*/*": + schema: + type: object + properties: + error: + type: string + code: + type: integer + format: int32 + message: + type: string + details: + type: array + items: + type: object + properties: + type_url: + type: string + value: + type: string + format: byte + parameters: + - name: pool_id + in: path + required: true + schema: + type: string + format: uint64 + tags: + - Query + /comdex/lend/v1beta1/pairs: + get: + operationId: QueryPairs + responses: + "200": + description: A successful response. + content: + "*/*": + schema: + type: object + properties: + extendedPairs: + type: array + items: + type: object + properties: + id: + type: string + format: uint64 + asset_in: + type: string + format: uint64 + asset_out: + type: string + format: uint64 + is_inter_pool: + type: boolean + asset_out_pool_id: + type: string + format: uint64 + min_usd_value_left: + type: string + format: uint64 + pagination: + type: object + properties: + next_key: + type: string + format: byte + title: |- + next_key is the key to be passed to PageRequest.key to + query the next page most efficiently + total: + type: string + format: uint64 + title: >- + total is total number of results available if PageRequest.count_total + + was set, its value is undefined otherwise + description: >- + PageResponse is to be embedded in gRPC response messages where the + + corresponding request message has used PageRequest. + + + message SomeResponse { + repeated Bar results = 1; + PageResponse page = 2; + } + default: + description: An unexpected error response. + content: + "*/*": + schema: + type: object + properties: + error: + type: string + code: + type: integer + format: int32 + message: + type: string + details: + type: array + items: + type: object + properties: + type_url: + type: string + value: + type: string + format: byte + parameters: + - name: pagination.key + description: |- + key is a value returned in PageResponse.next_key to begin + querying the next page most efficiently. Only one of offset or key + should be set. + in: query + required: false + schema: + type: string + format: byte + - name: pagination.offset + description: >- + offset is a numeric offset that can be used when key is unavailable. + + It is less efficient than using key. Only one of offset or key should + + be set. + in: query + required: false + schema: + type: string + format: uint64 + - name: pagination.limit + description: >- + limit is the total number of results to be returned in the result page. + + If left empty it will default to a value to be set by each app. + in: query + required: false + schema: + type: string + format: uint64 + - name: pagination.count_total + description: >- + count_total is set to true to indicate that the result set should include + + a count of the total number of items available for pagination in UIs. + + count_total is only respected when offset is used. It is ignored when key + + is set. + in: query + required: false + schema: + type: boolean + - name: pagination.reverse + description: >- + reverse is set to true if results are to be returned in the descending + + order. + in: query + required: false + schema: + type: boolean + tags: + - Query + "/comdex/lend/v1beta1/pairs/{id}": + get: + operationId: QueryPair + responses: + "200": + description: A successful response. + content: + "*/*": + schema: + type: object + properties: + ExtendedPair: + type: object + properties: + id: + type: string + format: uint64 + asset_in: + type: string + format: uint64 + asset_out: + type: string + format: uint64 + is_inter_pool: + type: boolean + asset_out_pool_id: + type: string + format: uint64 + min_usd_value_left: + type: string + format: uint64 + default: + description: An unexpected error response. + content: + "*/*": + schema: + type: object + properties: + error: + type: string + code: + type: integer + format: int32 + message: + type: string + details: + type: array + items: + type: object + properties: + type_url: + type: string + value: + type: string + format: byte + parameters: + - name: id + in: path + required: true + schema: + type: string + format: uint64 + tags: + - Query + /comdex/lend/v1beta1/params: + get: + operationId: lendParams + responses: + "200": + description: A successful response. + content: + "*/*": + schema: + type: object + properties: + params: + description: params holds all the parameters of this module. + type: object + description: QueryParamsResponse is response type for the Query/Params RPC method. + default: + description: An unexpected error response. + content: + "*/*": + schema: + type: object + properties: + error: + type: string + code: + type: integer + format: int32 + message: + type: string + details: + type: array + items: + type: object + properties: + type_url: + type: string + value: + type: string + format: byte + tags: + - Query + "/comdex/lend/v1beta1/pool_asset_lb_mapping/{asset_id}/{pool_id}": + get: + operationId: QueryPoolAssetLBMapping + responses: + "200": + description: A successful response. + content: + "*/*": + schema: + type: object + properties: + PoolAssetLBMapping: + type: object + properties: + pool_id: + type: string + format: uint64 + asset_id: + type: string + format: uint64 + lend_ids: + type: array + items: + type: string + format: uint64 + borrow_ids: + type: array + items: + type: string + format: uint64 + total_borrowed: + type: string + total_stable_borrowed: + type: string + total_lend: + type: string + total_interest_accumulated: + type: string + lend_apr: + type: string + borrow_apr: + type: string + stable_borrow_apr: + type: string + utilisation_ratio: + type: string + default: + description: An unexpected error response. + content: + "*/*": + schema: + type: object + properties: + error: + type: string + code: + type: integer + format: int32 + message: + type: string + details: + type: array + items: + type: object + properties: + type_url: + type: string + value: + type: string + format: byte + parameters: + - name: asset_id + in: path + required: true + schema: + type: string + format: uint64 + - name: pool_id + in: path + required: true + schema: + type: string + format: uint64 + tags: + - Query + /comdex/lend/v1beta1/pools: + get: + operationId: QueryPools + responses: + "200": + description: A successful response. + content: + "*/*": + schema: + type: object + properties: + pools: + type: array + items: + type: object + properties: + pool_id: + type: string + format: uint64 + module_name: + type: string + cpool_name: + type: string + asset_data: + type: array + items: + type: object + properties: + asset_id: + type: string + format: uint64 + asset_transit_type: + type: string + format: uint64 + title: 1 for main_asset, 2 for 1st transit_asset, 3 for 2nd transit_asset + supply_cap: + type: string + pagination: + type: object + properties: + next_key: + type: string + format: byte + title: |- + next_key is the key to be passed to PageRequest.key to + query the next page most efficiently + total: + type: string + format: uint64 + title: >- + total is total number of results available if PageRequest.count_total + + was set, its value is undefined otherwise + description: >- + PageResponse is to be embedded in gRPC response messages where the + + corresponding request message has used PageRequest. + + + message SomeResponse { + repeated Bar results = 1; + PageResponse page = 2; + } + default: + description: An unexpected error response. + content: + "*/*": + schema: + type: object + properties: + error: + type: string + code: + type: integer + format: int32 + message: + type: string + details: + type: array + items: + type: object + properties: + type_url: + type: string + value: + type: string + format: byte + parameters: + - name: pagination.key + description: |- + key is a value returned in PageResponse.next_key to begin + querying the next page most efficiently. Only one of offset or key + should be set. + in: query + required: false + schema: + type: string + format: byte + - name: pagination.offset + description: >- + offset is a numeric offset that can be used when key is unavailable. + + It is less efficient than using key. Only one of offset or key should + + be set. + in: query + required: false + schema: + type: string + format: uint64 + - name: pagination.limit + description: >- + limit is the total number of results to be returned in the result page. + + If left empty it will default to a value to be set by each app. + in: query + required: false + schema: + type: string + format: uint64 + - name: pagination.count_total + description: >- + count_total is set to true to indicate that the result set should include + + a count of the total number of items available for pagination in UIs. + + count_total is only respected when offset is used. It is ignored when key + + is set. + in: query + required: false + schema: + type: boolean + - name: pagination.reverse + description: >- + reverse is set to true if results are to be returned in the descending + + order. + in: query + required: false + schema: + type: boolean + tags: + - Query + "/comdex/lend/v1beta1/pools/{id}": + get: + operationId: QueryPool + responses: + "200": + description: A successful response. + content: + "*/*": + schema: + type: object + properties: + pool: + type: object + properties: + pool_id: + type: string + format: uint64 + module_name: + type: string + cpool_name: + type: string + asset_data: + type: array + items: + type: object + properties: + asset_id: + type: string + format: uint64 + asset_transit_type: + type: string + format: uint64 + title: 1 for main_asset, 2 for 1st transit_asset, 3 for 2nd transit_asset + supply_cap: + type: string + default: + description: An unexpected error response. + content: + "*/*": + schema: + type: object + properties: + error: + type: string + code: + type: integer + format: int32 + message: + type: string + details: + type: array + items: + type: object + properties: + type_url: + type: string + value: + type: string + format: byte + parameters: + - name: id + in: path + required: true + schema: + type: string + format: uint64 + tags: + - Query + "/comdex/lend/v1beta1/reserve_buyback_asset_data/{asset_id}": + get: + operationId: QueryReserveBuybackAssetData + responses: + "200": + description: A successful response. + content: + "*/*": + schema: + type: object + properties: + ReserveBuybackAssetData: + type: object + properties: + asset_id: + type: string + format: uint64 + reserve_amount: + type: string + buyback_amount: + type: string + default: + description: An unexpected error response. + content: + "*/*": + schema: + type: object + properties: + error: + type: string + code: + type: integer + format: int32 + message: + type: string + details: + type: array + items: + type: object + properties: + type_url: + type: string + value: + type: string + format: byte + parameters: + - name: asset_id + in: path + required: true + schema: + type: string + format: uint64 + tags: + - Query + "/comdex/liquidity/v1beta1/all_farmed_coin/{app_id}": + get: + summary: TotalActiveAndQueuedPoolCoin returns the total number of active and queued farmed pool coins in each pool. + operationId: TotalActiveAndQueuedPoolCoin + responses: + "200": + description: A successful response. + content: + "*/*": + schema: + type: object + properties: + app_id: + type: string + format: uint64 + total_active_and_queued_coins: + type: array + items: + type: object + properties: + pool_id: + type: string + format: uint64 + total_active_pool_coin: + type: object + properties: + denom: + type: string + amount: + type: string + description: >- + Coin defines a token with a denomination and an amount. + + + NOTE: The amount field is an Int which implements the custom method + + signatures required by gogoproto. + total_queued_pool_coin: + type: object + properties: + denom: + type: string + amount: + type: string + description: >- + Coin defines a token with a denomination and an amount. + + + NOTE: The amount field is an Int which implements the custom method + + signatures required by gogoproto. + default: + description: An unexpected error response. + content: + "*/*": + schema: + type: object + properties: + error: + type: string + code: + type: integer + format: int32 + message: + type: string + details: + type: array + items: + type: object + properties: + type_url: + type: string + value: + type: string + format: byte + parameters: + - name: app_id + in: path + required: true + schema: + type: string + format: uint64 + tags: + - Query + "/comdex/liquidity/v1beta1/deserialize/{app_id}/{pool_id}/{pool_coin_amount}": + get: + summary: DeserializePoolCoin splits poolcoin into the actual provided pool assets . + operationId: DeserializePoolCoin + responses: + "200": + description: A successful response. + content: + "*/*": + schema: + type: object + properties: + coins: + type: array + items: + type: object + properties: + denom: + type: string + amount: + type: string + description: >- + Coin defines a token with a denomination and an amount. + + + NOTE: The amount field is an Int which implements the custom method + + signatures required by gogoproto. + description: QueryDeserializePoolCoinResponse is response type for the Query/DeserializePoolCoin RPC method. + default: + description: An unexpected error response. + content: + "*/*": + schema: + type: object + properties: + error: + type: string + code: + type: integer + format: int32 + message: + type: string + details: + type: array + items: + type: object + properties: + type_url: + type: string + value: + type: string + format: byte + parameters: + - name: app_id + in: path + required: true + schema: + type: string + format: uint64 + - name: pool_id + in: path + required: true + schema: + type: string + format: uint64 + - name: pool_coin_amount + in: path + required: true + schema: + type: string + format: uint64 + tags: + - Query + "/comdex/liquidity/v1beta1/farmed_coin/{app_id}/{pool_id}": + get: + summary: FarmedPoolCoin returns the total farmed pool coins. + operationId: FarmedPoolCoin + responses: + "200": + description: A successful response. + content: + "*/*": + schema: + type: object + properties: + coin: + type: object + properties: + denom: + type: string + amount: + type: string + description: >- + Coin defines a token with a denomination and an amount. + + + NOTE: The amount field is an Int which implements the custom method + + signatures required by gogoproto. + default: + description: An unexpected error response. + content: + "*/*": + schema: + type: object + properties: + error: + type: string + code: + type: integer + format: int32 + message: + type: string + details: + type: array + items: + type: object + properties: + type_url: + type: string + value: + type: string + format: byte + parameters: + - name: app_id + in: path + required: true + schema: + type: string + format: uint64 + - name: pool_id + in: path + required: true + schema: + type: string + format: uint64 + tags: + - Query + "/comdex/liquidity/v1beta1/farmer/{app_id}/{pool_id}/{farmer}": + get: + summary: Farmer returns deposited poolcoin for farming . + operationId: Farmer + responses: + "200": + description: A successful response. + content: + "*/*": + schema: + type: object + properties: + active_pool_coin: + type: object + properties: + denom: + type: string + amount: + type: string + description: >- + Coin defines a token with a denomination and an amount. + + + NOTE: The amount field is an Int which implements the custom method + + signatures required by gogoproto. + queued_pool_coin: + type: array + items: + type: object + properties: + pool_coin: + type: object + properties: + denom: + type: string + amount: + type: string + description: >- + Coin defines a token with a denomination and an amount. + + + NOTE: The amount field is an Int which implements the custom method + + signatures required by gogoproto. + deque_at: + type: string + format: date-time + description: QueryFarmerResponse is response type for the Query/Farmer RPC method. + default: + description: An unexpected error response. + content: + "*/*": + schema: + type: object + properties: + error: + type: string + code: + type: integer + format: int32 + message: + type: string + details: + type: array + items: + type: object + properties: + type_url: + type: string + value: + type: string + format: byte + parameters: + - name: app_id + in: path + required: true + schema: + type: string + format: uint64 + - name: pool_id + in: path + required: true + schema: + type: string + format: uint64 + - name: farmer + in: path + required: true + schema: + type: string + tags: + - Query + "/comdex/liquidity/v1beta1/generic_params/{app_id}": + get: + summary: GenericParams returns app parameters of the module. + operationId: GenericParams + responses: + "200": + description: A successful response. + content: + "*/*": + schema: + type: object + properties: + params: + type: object + properties: + batch_size: + type: string + format: uint64 + tick_precision: + type: string + format: uint64 + fee_collector_address: + type: string + dust_collector_address: + type: string + min_initial_pool_coin_supply: + type: string + pair_creation_fee: + type: array + items: + type: object + properties: + denom: + type: string + amount: + type: string + description: >- + Coin defines a token with a denomination and an amount. + + + NOTE: The amount field is an Int which implements the custom method + + signatures required by gogoproto. + pool_creation_fee: + type: array + items: + type: object + properties: + denom: + type: string + amount: + type: string + description: >- + Coin defines a token with a denomination and an amount. + + + NOTE: The amount field is an Int which implements the custom method + + signatures required by gogoproto. + min_initial_deposit_amount: + type: string + max_price_limit_ratio: + type: string + max_order_lifespan: + type: string + swap_fee_rate: + type: string + withdraw_fee_rate: + type: string + deposit_extra_gas: + type: string + format: uint64 + withdraw_extra_gas: + type: string + format: uint64 + order_extra_gas: + type: string + format: uint64 + swap_fee_distr_denom: + type: string + swap_fee_burn_rate: + type: string + app_id: + type: string + format: uint64 + max_num_market_making_order_ticks: + type: string + format: uint64 + max_num_active_pools_per_pair: + type: string + format: uint64 + description: Params defines the parameters for the liquidity module. + description: QueryGenericParamsResponse is response type for the Query/GenericParams RPC method. + default: + description: An unexpected error response. + content: + "*/*": + schema: + type: object + properties: + error: + type: string + code: + type: integer + format: int32 + message: + type: string + details: + type: array + items: + type: object + properties: + type_url: + type: string + value: + type: string + format: byte + parameters: + - name: app_id + in: path + required: true + schema: + type: string + format: uint64 + tags: + - Query + "/comdex/liquidity/v1beta1/order_books/{app_id}": + get: + operationId: OrderBooks + responses: + "200": + description: A successful response. + content: + "*/*": + schema: + type: object + properties: + pairs: + type: array + items: + type: object + properties: + pair_id: + type: string + format: uint64 + base_price: + type: string + order_books: + type: array + items: + type: object + properties: + price_unit: + type: string + sells: + type: array + items: + type: object + properties: + price: + type: string + user_order_amount: + type: string + pool_order_amount: + type: string + buys: + type: array + items: + type: object + properties: + price: + type: string + user_order_amount: + type: string + pool_order_amount: + type: string + description: QueryOrderBooksResponse is response type for Query/OrderBooks RPC method. + default: + description: An unexpected error response. + content: + "*/*": + schema: + type: object + properties: + error: + type: string + code: + type: integer + format: int32 + message: + type: string + details: + type: array + items: + type: object + properties: + type_url: + type: string + value: + type: string + format: byte + parameters: + - name: app_id + in: path + required: true + schema: + type: string + format: uint64 + - name: pair_ids + in: query + required: false + explode: true + schema: + type: array + items: + type: string + format: uint64 + - name: price_unit_powers + in: query + required: false + explode: true + schema: + type: array + items: + type: integer + format: int64 + - name: num_ticks + in: query + required: false + schema: + type: integer + format: int64 + tags: + - Query + "/comdex/liquidity/v1beta1/orders/{app_id}/{orderer}": + get: + summary: OrdersByOrderer returns orders made by an orderer. + operationId: OrdersByOrderer + responses: + "200": + description: A successful response. + content: + "*/*": + schema: + type: object + properties: + orders: + type: array + items: + type: object + properties: + id: + type: string + format: uint64 + title: id specifies the id for the request + pair_id: + type: string + format: uint64 + title: pair_id specifies the pair id + msg_height: + type: string + format: int64 + title: msg_height specifies the block height when the request is stored for the batch execution + orderer: + type: string + title: orderer specifies the bech32-encoded address that makes an order + direction: + title: direction specifies the order direction; either buy or sell + type: string + enum: + - ORDER_DIRECTION_UNSPECIFIED + - ORDER_DIRECTION_BUY + - ORDER_DIRECTION_SELL + default: ORDER_DIRECTION_UNSPECIFIED + description: >- + OrderDirection enumerates order directions. + + + - ORDER_DIRECTION_UNSPECIFIED: ORDER_DIRECTION_UNSPECIFIED specifies unknown order direction + - ORDER_DIRECTION_BUY: ORDER_DIRECTION_BUY specifies buy(swap quote coin to base coin) order direction + - ORDER_DIRECTION_SELL: ORDER_DIRECTION_SELL specifies sell(swap base coin to quote coin) order direction + offer_coin: + type: object + properties: + denom: + type: string + amount: + type: string + description: >- + Coin defines a token with a denomination and an amount. + + + NOTE: The amount field is an Int which implements the custom method + + signatures required by gogoproto. + remaining_offer_coin: + type: object + properties: + denom: + type: string + amount: + type: string + description: >- + Coin defines a token with a denomination and an amount. + + + NOTE: The amount field is an Int which implements the custom method + + signatures required by gogoproto. + title: remaining_offer_coin specifies the remaining offer coin + received_coin: + type: object + properties: + denom: + type: string + amount: + type: string + description: >- + Coin defines a token with a denomination and an amount. + + + NOTE: The amount field is an Int which implements the custom method + + signatures required by gogoproto. + title: received_coin specifies the received coin after the swap + price: + type: string + title: price specifies the price that an orderer is willing to swap + amount: + type: string + open_amount: + type: string + batch_id: + type: string + format: uint64 + title: batch_id specifies the pair's batch id when the request is stored + expire_at: + type: string + format: date-time + status: + type: string + enum: + - ORDER_STATUS_UNSPECIFIED + - ORDER_STATUS_NOT_EXECUTED + - ORDER_STATUS_NOT_MATCHED + - ORDER_STATUS_PARTIALLY_MATCHED + - ORDER_STATUS_COMPLETED + - ORDER_STATUS_CANCELED + - ORDER_STATUS_EXPIRED + default: ORDER_STATUS_UNSPECIFIED + description: >- + OrderStatus enumerates order statuses. + + + - ORDER_STATUS_UNSPECIFIED: ORDER_STATUS_UNSPECIFIED specifies unknown order status + - ORDER_STATUS_NOT_EXECUTED: ORDER_STATUS_NOT_EXECUTED indicates the order has not been executed yet + - ORDER_STATUS_NOT_MATCHED: ORDER_STATUS_NOT_MATCHED indicates the order has been executed but has no match + - ORDER_STATUS_PARTIALLY_MATCHED: ORDER_STATUS_PARTIALLY_MATCHED indicates the order has been partially matched + - ORDER_STATUS_COMPLETED: ORDER_STATUS_COMPLETED indicates the order has been fully matched and completed + - ORDER_STATUS_CANCELED: ORDER_STATUS_CANCELED indicates the order has been canceled + - ORDER_STATUS_EXPIRED: ORDER_STATUS_EXPIRED indicates the order has been expired + app_id: + type: string + format: uint64 + type: + title: type specifies the typo of the order + type: string + enum: + - ORDER_TYPE_UNSPECIFIED + - ORDER_TYPE_LIMIT + - ORDER_TYPE_MARKET + - ORDER_TYPE_MM + default: ORDER_TYPE_UNSPECIFIED + description: >- + OrderType enumerates order types. + + + - ORDER_TYPE_UNSPECIFIED: ORDER_TYPE_UNSPECIFIED specifies unknown order type. + - ORDER_TYPE_LIMIT: ORDER_TYPE_LIMIT specifies limit order type. + - ORDER_TYPE_MARKET: ORDER_TYPE_MARKET specifies market order type. + - ORDER_TYPE_MM: ORDER_TYPE_MM specifies MM(market making) order type. + description: Order defines an order. + pagination: + type: object + properties: + next_key: + type: string + format: byte + title: |- + next_key is the key to be passed to PageRequest.key to + query the next page most efficiently + total: + type: string + format: uint64 + title: >- + total is total number of results available if PageRequest.count_total + + was set, its value is undefined otherwise + description: >- + PageResponse is to be embedded in gRPC response messages where the + + corresponding request message has used PageRequest. + + + message SomeResponse { + repeated Bar results = 1; + PageResponse page = 2; + } + description: QueryOrdersResponse is response type for the Query/Orders RPC method. + default: + description: An unexpected error response. + content: + "*/*": + schema: + type: object + properties: + error: + type: string + code: + type: integer + format: int32 + message: + type: string + details: + type: array + items: + type: object + properties: + type_url: + type: string + value: + type: string + format: byte + parameters: + - name: app_id + in: path + required: true + schema: + type: string + format: uint64 + - name: orderer + in: path + required: true + schema: + type: string + - name: pair_id + in: query + required: false + schema: + type: string + format: uint64 + - name: pagination.key + description: |- + key is a value returned in PageResponse.next_key to begin + querying the next page most efficiently. Only one of offset or key + should be set. + in: query + required: false + schema: + type: string + format: byte + - name: pagination.offset + description: >- + offset is a numeric offset that can be used when key is unavailable. + + It is less efficient than using key. Only one of offset or key should + + be set. + in: query + required: false + schema: + type: string + format: uint64 + - name: pagination.limit + description: >- + limit is the total number of results to be returned in the result page. + + If left empty it will default to a value to be set by each app. + in: query + required: false + schema: + type: string + format: uint64 + - name: pagination.count_total + description: >- + count_total is set to true to indicate that the result set should include + + a count of the total number of items available for pagination in UIs. + + count_total is only respected when offset is used. It is ignored when key + + is set. + in: query + required: false + schema: + type: boolean + - name: pagination.reverse + description: >- + reverse is set to true if results are to be returned in the descending + + order. + in: query + required: false + schema: + type: boolean + tags: + - Query + "/comdex/liquidity/v1beta1/orders/{app_id}/{pair_id}": + get: + summary: Orders returns all orders within the pair. + operationId: Orders + responses: + "200": + description: A successful response. + content: + "*/*": + schema: + type: object + properties: + orders: + type: array + items: + type: object + properties: + id: + type: string + format: uint64 + title: id specifies the id for the request + pair_id: + type: string + format: uint64 + title: pair_id specifies the pair id + msg_height: + type: string + format: int64 + title: msg_height specifies the block height when the request is stored for the batch execution + orderer: + type: string + title: orderer specifies the bech32-encoded address that makes an order + direction: + title: direction specifies the order direction; either buy or sell + type: string + enum: + - ORDER_DIRECTION_UNSPECIFIED + - ORDER_DIRECTION_BUY + - ORDER_DIRECTION_SELL + default: ORDER_DIRECTION_UNSPECIFIED + description: >- + OrderDirection enumerates order directions. + + + - ORDER_DIRECTION_UNSPECIFIED: ORDER_DIRECTION_UNSPECIFIED specifies unknown order direction + - ORDER_DIRECTION_BUY: ORDER_DIRECTION_BUY specifies buy(swap quote coin to base coin) order direction + - ORDER_DIRECTION_SELL: ORDER_DIRECTION_SELL specifies sell(swap base coin to quote coin) order direction + offer_coin: + type: object + properties: + denom: + type: string + amount: + type: string + description: >- + Coin defines a token with a denomination and an amount. + + + NOTE: The amount field is an Int which implements the custom method + + signatures required by gogoproto. + remaining_offer_coin: + type: object + properties: + denom: + type: string + amount: + type: string + description: >- + Coin defines a token with a denomination and an amount. + + + NOTE: The amount field is an Int which implements the custom method + + signatures required by gogoproto. + title: remaining_offer_coin specifies the remaining offer coin + received_coin: + type: object + properties: + denom: + type: string + amount: + type: string + description: >- + Coin defines a token with a denomination and an amount. + + + NOTE: The amount field is an Int which implements the custom method + + signatures required by gogoproto. + title: received_coin specifies the received coin after the swap + price: + type: string + title: price specifies the price that an orderer is willing to swap + amount: + type: string + open_amount: + type: string + batch_id: + type: string + format: uint64 + title: batch_id specifies the pair's batch id when the request is stored + expire_at: + type: string + format: date-time + status: + type: string + enum: + - ORDER_STATUS_UNSPECIFIED + - ORDER_STATUS_NOT_EXECUTED + - ORDER_STATUS_NOT_MATCHED + - ORDER_STATUS_PARTIALLY_MATCHED + - ORDER_STATUS_COMPLETED + - ORDER_STATUS_CANCELED + - ORDER_STATUS_EXPIRED + default: ORDER_STATUS_UNSPECIFIED + description: >- + OrderStatus enumerates order statuses. + + + - ORDER_STATUS_UNSPECIFIED: ORDER_STATUS_UNSPECIFIED specifies unknown order status + - ORDER_STATUS_NOT_EXECUTED: ORDER_STATUS_NOT_EXECUTED indicates the order has not been executed yet + - ORDER_STATUS_NOT_MATCHED: ORDER_STATUS_NOT_MATCHED indicates the order has been executed but has no match + - ORDER_STATUS_PARTIALLY_MATCHED: ORDER_STATUS_PARTIALLY_MATCHED indicates the order has been partially matched + - ORDER_STATUS_COMPLETED: ORDER_STATUS_COMPLETED indicates the order has been fully matched and completed + - ORDER_STATUS_CANCELED: ORDER_STATUS_CANCELED indicates the order has been canceled + - ORDER_STATUS_EXPIRED: ORDER_STATUS_EXPIRED indicates the order has been expired + app_id: + type: string + format: uint64 + type: + title: type specifies the typo of the order + type: string + enum: + - ORDER_TYPE_UNSPECIFIED + - ORDER_TYPE_LIMIT + - ORDER_TYPE_MARKET + - ORDER_TYPE_MM + default: ORDER_TYPE_UNSPECIFIED + description: >- + OrderType enumerates order types. + + + - ORDER_TYPE_UNSPECIFIED: ORDER_TYPE_UNSPECIFIED specifies unknown order type. + - ORDER_TYPE_LIMIT: ORDER_TYPE_LIMIT specifies limit order type. + - ORDER_TYPE_MARKET: ORDER_TYPE_MARKET specifies market order type. + - ORDER_TYPE_MM: ORDER_TYPE_MM specifies MM(market making) order type. + description: Order defines an order. + pagination: + type: object + properties: + next_key: + type: string + format: byte + title: |- + next_key is the key to be passed to PageRequest.key to + query the next page most efficiently + total: + type: string + format: uint64 + title: >- + total is total number of results available if PageRequest.count_total + + was set, its value is undefined otherwise + description: >- + PageResponse is to be embedded in gRPC response messages where the + + corresponding request message has used PageRequest. + + + message SomeResponse { + repeated Bar results = 1; + PageResponse page = 2; + } + description: QueryOrdersResponse is response type for the Query/Orders RPC method. + default: + description: An unexpected error response. + content: + "*/*": + schema: + type: object + properties: + error: + type: string + code: + type: integer + format: int32 + message: + type: string + details: + type: array + items: + type: object + properties: + type_url: + type: string + value: + type: string + format: byte + parameters: + - name: app_id + in: path + required: true + schema: + type: string + format: uint64 + - name: pair_id + in: path + required: true + schema: + type: string + format: uint64 + - name: pagination.key + description: |- + key is a value returned in PageResponse.next_key to begin + querying the next page most efficiently. Only one of offset or key + should be set. + in: query + required: false + schema: + type: string + format: byte + - name: pagination.offset + description: >- + offset is a numeric offset that can be used when key is unavailable. + + It is less efficient than using key. Only one of offset or key should + + be set. + in: query + required: false + schema: + type: string + format: uint64 + - name: pagination.limit + description: >- + limit is the total number of results to be returned in the result page. + + If left empty it will default to a value to be set by each app. + in: query + required: false + schema: + type: string + format: uint64 + - name: pagination.count_total + description: >- + count_total is set to true to indicate that the result set should include + + a count of the total number of items available for pagination in UIs. + + count_total is only respected when offset is used. It is ignored when key + + is set. + in: query + required: false + schema: + type: boolean + - name: pagination.reverse + description: >- + reverse is set to true if results are to be returned in the descending + + order. + in: query + required: false + schema: + type: boolean + tags: + - Query + "/comdex/liquidity/v1beta1/orders/{app_id}/{pair_id}/{id}": + get: + summary: Order returns the specific order. + operationId: Order + responses: + "200": + description: A successful response. + content: + "*/*": + schema: + type: object + properties: + order: + type: object + properties: + id: + type: string + format: uint64 + title: id specifies the id for the request + pair_id: + type: string + format: uint64 + title: pair_id specifies the pair id + msg_height: + type: string + format: int64 + title: msg_height specifies the block height when the request is stored for the batch execution + orderer: + type: string + title: orderer specifies the bech32-encoded address that makes an order + direction: + title: direction specifies the order direction; either buy or sell + type: string + enum: + - ORDER_DIRECTION_UNSPECIFIED + - ORDER_DIRECTION_BUY + - ORDER_DIRECTION_SELL + default: ORDER_DIRECTION_UNSPECIFIED + description: >- + OrderDirection enumerates order directions. + + + - ORDER_DIRECTION_UNSPECIFIED: ORDER_DIRECTION_UNSPECIFIED specifies unknown order direction + - ORDER_DIRECTION_BUY: ORDER_DIRECTION_BUY specifies buy(swap quote coin to base coin) order direction + - ORDER_DIRECTION_SELL: ORDER_DIRECTION_SELL specifies sell(swap base coin to quote coin) order direction + offer_coin: + type: object + properties: + denom: + type: string + amount: + type: string + description: >- + Coin defines a token with a denomination and an amount. + + + NOTE: The amount field is an Int which implements the custom method + + signatures required by gogoproto. + remaining_offer_coin: + type: object + properties: + denom: + type: string + amount: + type: string + description: >- + Coin defines a token with a denomination and an amount. + + + NOTE: The amount field is an Int which implements the custom method + + signatures required by gogoproto. + title: remaining_offer_coin specifies the remaining offer coin + received_coin: + type: object + properties: + denom: + type: string + amount: + type: string + description: >- + Coin defines a token with a denomination and an amount. + + + NOTE: The amount field is an Int which implements the custom method + + signatures required by gogoproto. + title: received_coin specifies the received coin after the swap + price: + type: string + title: price specifies the price that an orderer is willing to swap + amount: + type: string + open_amount: + type: string + batch_id: + type: string + format: uint64 + title: batch_id specifies the pair's batch id when the request is stored + expire_at: + type: string + format: date-time + status: + type: string + enum: + - ORDER_STATUS_UNSPECIFIED + - ORDER_STATUS_NOT_EXECUTED + - ORDER_STATUS_NOT_MATCHED + - ORDER_STATUS_PARTIALLY_MATCHED + - ORDER_STATUS_COMPLETED + - ORDER_STATUS_CANCELED + - ORDER_STATUS_EXPIRED + default: ORDER_STATUS_UNSPECIFIED + description: >- + OrderStatus enumerates order statuses. + + + - ORDER_STATUS_UNSPECIFIED: ORDER_STATUS_UNSPECIFIED specifies unknown order status + - ORDER_STATUS_NOT_EXECUTED: ORDER_STATUS_NOT_EXECUTED indicates the order has not been executed yet + - ORDER_STATUS_NOT_MATCHED: ORDER_STATUS_NOT_MATCHED indicates the order has been executed but has no match + - ORDER_STATUS_PARTIALLY_MATCHED: ORDER_STATUS_PARTIALLY_MATCHED indicates the order has been partially matched + - ORDER_STATUS_COMPLETED: ORDER_STATUS_COMPLETED indicates the order has been fully matched and completed + - ORDER_STATUS_CANCELED: ORDER_STATUS_CANCELED indicates the order has been canceled + - ORDER_STATUS_EXPIRED: ORDER_STATUS_EXPIRED indicates the order has been expired + app_id: + type: string + format: uint64 + type: + title: type specifies the typo of the order + type: string + enum: + - ORDER_TYPE_UNSPECIFIED + - ORDER_TYPE_LIMIT + - ORDER_TYPE_MARKET + - ORDER_TYPE_MM + default: ORDER_TYPE_UNSPECIFIED + description: >- + OrderType enumerates order types. + + + - ORDER_TYPE_UNSPECIFIED: ORDER_TYPE_UNSPECIFIED specifies unknown order type. + - ORDER_TYPE_LIMIT: ORDER_TYPE_LIMIT specifies limit order type. + - ORDER_TYPE_MARKET: ORDER_TYPE_MARKET specifies market order type. + - ORDER_TYPE_MM: ORDER_TYPE_MM specifies MM(market making) order type. + description: Order defines an order. + description: QueryOrderResponse is response type for the Query/Order RPC method. + default: + description: An unexpected error response. + content: + "*/*": + schema: + type: object + properties: + error: + type: string + code: + type: integer + format: int32 + message: + type: string + details: + type: array + items: + type: object + properties: + type_url: + type: string + value: + type: string + format: byte + parameters: + - name: app_id + in: path + required: true + schema: + type: string + format: uint64 + - name: pair_id + in: path + required: true + schema: + type: string + format: uint64 + - name: id + in: path + required: true + schema: + type: string + format: uint64 + tags: + - Query + "/comdex/liquidity/v1beta1/pairs/{app_id}": + get: + summary: Pairs returns all liquidity pairs. + operationId: Pairs + responses: + "200": + description: A successful response. + content: + "*/*": + schema: + type: object + properties: + pairs: + type: array + items: + type: object + properties: + id: + type: string + format: uint64 + base_coin_denom: + type: string + quote_coin_denom: + type: string + escrow_address: + type: string + last_order_id: + type: string + format: uint64 + last_price: + type: string + current_batch_id: + type: string + format: uint64 + swap_fee_collector_address: + type: string + app_id: + type: string + format: uint64 + description: Pair defines a coin pair. + pagination: + type: object + properties: + next_key: + type: string + format: byte + title: |- + next_key is the key to be passed to PageRequest.key to + query the next page most efficiently + total: + type: string + format: uint64 + title: >- + total is total number of results available if PageRequest.count_total + + was set, its value is undefined otherwise + description: >- + PageResponse is to be embedded in gRPC response messages where the + + corresponding request message has used PageRequest. + + + message SomeResponse { + repeated Bar results = 1; + PageResponse page = 2; + } + description: QueryPairsResponse is response type for the Query/Pairs RPC method. + default: + description: An unexpected error response. + content: + "*/*": + schema: + type: object + properties: + error: + type: string + code: + type: integer + format: int32 + message: + type: string + details: + type: array + items: + type: object + properties: + type_url: + type: string + value: + type: string + format: byte + parameters: + - name: app_id + in: path + required: true + schema: + type: string + format: uint64 + - name: denoms + in: query + required: false + explode: true + schema: + type: array + items: + type: string + - name: pagination.key + description: |- + key is a value returned in PageResponse.next_key to begin + querying the next page most efficiently. Only one of offset or key + should be set. + in: query + required: false + schema: + type: string + format: byte + - name: pagination.offset + description: >- + offset is a numeric offset that can be used when key is unavailable. + + It is less efficient than using key. Only one of offset or key should + + be set. + in: query + required: false + schema: + type: string + format: uint64 + - name: pagination.limit + description: >- + limit is the total number of results to be returned in the result page. + + If left empty it will default to a value to be set by each app. + in: query + required: false + schema: + type: string + format: uint64 + - name: pagination.count_total + description: >- + count_total is set to true to indicate that the result set should include + + a count of the total number of items available for pagination in UIs. + + count_total is only respected when offset is used. It is ignored when key + + is set. + in: query + required: false + schema: + type: boolean + - name: pagination.reverse + description: >- + reverse is set to true if results are to be returned in the descending + + order. + in: query + required: false + schema: + type: boolean + tags: + - Query + "/comdex/liquidity/v1beta1/pairs/{app_id}/{pair_id}": + get: + summary: Pair returns the specific pair. + operationId: Pair + responses: + "200": + description: A successful response. + content: + "*/*": + schema: + type: object + properties: + pair: + type: object + properties: + id: + type: string + format: uint64 + base_coin_denom: + type: string + quote_coin_denom: + type: string + escrow_address: + type: string + last_order_id: + type: string + format: uint64 + last_price: + type: string + current_batch_id: + type: string + format: uint64 + swap_fee_collector_address: + type: string + app_id: + type: string + format: uint64 + description: Pair defines a coin pair. + description: QueryPairResponse is response type for the Query/Pair RPC method. + default: + description: An unexpected error response. + content: + "*/*": + schema: + type: object + properties: + error: + type: string + code: + type: integer + format: int32 + message: + type: string + details: + type: array + items: + type: object + properties: + type_url: + type: string + value: + type: string + format: byte + parameters: + - name: app_id + in: path + required: true + schema: + type: string + format: uint64 + - name: pair_id + in: path + required: true + schema: + type: string + format: uint64 + tags: + - Query + /comdex/liquidity/v1beta1/params: + get: + summary: Params returns parameters of the module. + operationId: liquidityParams + responses: + "200": + description: A successful response. + content: + "*/*": + schema: + type: object + properties: + params: + type: object + description: Params defines the parameters for the liquidity module. + description: QueryParamsResponse is response type for the Query/Params RPC method. + default: + description: An unexpected error response. + content: + "*/*": + schema: + type: object + properties: + error: + type: string + code: + type: integer + format: int32 + message: + type: string + details: + type: array + items: + type: object + properties: + type_url: + type: string + value: + type: string + format: byte + tags: + - Query + "/comdex/liquidity/v1beta1/pool_incentives/{app_id}": + get: + summary: PoolIncentives provides insights about available pool incentives. + operationId: PoolIncentives + responses: + "200": + description: A successful response. + content: + "*/*": + schema: + type: object + properties: + pool_incentives: + type: array + items: + type: object + properties: + pool_id: + type: string + format: uint64 + master_pool: + type: boolean + child_pool_ids: + type: array + items: + type: string + format: uint64 + total_rewards: + type: object + properties: + denom: + type: string + amount: + type: string + description: >- + Coin defines a token with a denomination and an amount. + + + NOTE: The amount field is an Int which implements the custom method + + signatures required by gogoproto. + distributed_rewards: + type: object + properties: + denom: + type: string + amount: + type: string + description: >- + Coin defines a token with a denomination and an amount. + + + NOTE: The amount field is an Int which implements the custom method + + signatures required by gogoproto. + total_epochs: + type: string + format: uint64 + filled_epochs: + type: string + format: uint64 + epoch_duration: + type: string + next_distribution: + type: string + format: date-time + is_swap_fee: + type: boolean + app_id: + type: string + format: uint64 + description: QueryPoolIncentivesResponse is response type for the Query/PoolsIncentives RPC method. + default: + description: An unexpected error response. + content: + "*/*": + schema: + type: object + properties: + error: + type: string + code: + type: integer + format: int32 + message: + type: string + details: + type: array + items: + type: object + properties: + type_url: + type: string + value: + type: string + format: byte + parameters: + - name: app_id + in: path + required: true + schema: + type: string + format: uint64 + tags: + - Query + "/comdex/liquidity/v1beta1/pools/{app_id}": + get: + summary: Pools returns all liquidity pools. + operationId: Pools + responses: + "200": + description: A successful response. + content: + "*/*": + schema: + type: object + properties: + pools: + type: array + items: + type: object + properties: + id: + type: string + format: uint64 + pair_id: + type: string + format: uint64 + reserve_address: + type: string + pool_coin_denom: + type: string + balances: + type: object + properties: + base_coin: + type: object + properties: + denom: + type: string + amount: + type: string + description: >- + Coin defines a token with a denomination and an amount. + + + NOTE: The amount field is an Int which implements the custom method + + signatures required by gogoproto. + quote_coin: + type: object + properties: + denom: + type: string + amount: + type: string + description: >- + Coin defines a token with a denomination and an amount. + + + NOTE: The amount field is an Int which implements the custom method + + signatures required by gogoproto. + last_deposit_request_id: + type: string + format: uint64 + last_withdraw_request_id: + type: string + format: uint64 + app_id: + type: string + format: uint64 + type: + type: string + enum: + - POOL_TYPE_UNSPECIFIED + - POOL_TYPE_BASIC + - POOL_TYPE_RANGED + default: POOL_TYPE_UNSPECIFIED + description: >- + PoolType enumerates pool types. + + + - POOL_TYPE_UNSPECIFIED: POOL_TYPE_UNSPECIFIED specifies unknown pool type + - POOL_TYPE_BASIC: POOL_TYPE_BASIC specifies the basic pool type + - POOL_TYPE_RANGED: POOL_TYPE_RANGED specifies the ranged pool type + creator: + type: string + pool_coin_supply: + type: string + min_price: + type: string + max_price: + type: string + price: + type: string + disabled: + type: boolean + description: PoolResponse defines a custom pool response message. + pagination: + type: object + properties: + next_key: + type: string + format: byte + title: |- + next_key is the key to be passed to PageRequest.key to + query the next page most efficiently + total: + type: string + format: uint64 + title: >- + total is total number of results available if PageRequest.count_total + + was set, its value is undefined otherwise + description: >- + PageResponse is to be embedded in gRPC response messages where the + + corresponding request message has used PageRequest. + + + message SomeResponse { + repeated Bar results = 1; + PageResponse page = 2; + } + description: QueryPoolsResponse is response type for the Query/Pools RPC method. + default: + description: An unexpected error response. + content: + "*/*": + schema: + type: object + properties: + error: + type: string + code: + type: integer + format: int32 + message: + type: string + details: + type: array + items: + type: object + properties: + type_url: + type: string + value: + type: string + format: byte + parameters: + - name: app_id + in: path + required: true + schema: + type: string + format: uint64 + - name: pair_id + in: query + required: false + schema: + type: string + format: uint64 + - name: disabled + in: query + required: false + schema: + type: string + - name: pagination.key + description: |- + key is a value returned in PageResponse.next_key to begin + querying the next page most efficiently. Only one of offset or key + should be set. + in: query + required: false + schema: + type: string + format: byte + - name: pagination.offset + description: >- + offset is a numeric offset that can be used when key is unavailable. + + It is less efficient than using key. Only one of offset or key should + + be set. + in: query + required: false + schema: + type: string + format: uint64 + - name: pagination.limit + description: >- + limit is the total number of results to be returned in the result page. + + If left empty it will default to a value to be set by each app. + in: query + required: false + schema: + type: string + format: uint64 + - name: pagination.count_total + description: >- + count_total is set to true to indicate that the result set should include + + a count of the total number of items available for pagination in UIs. + + count_total is only respected when offset is used. It is ignored when key + + is set. + in: query + required: false + schema: + type: boolean + - name: pagination.reverse + description: >- + reverse is set to true if results are to be returned in the descending + + order. + in: query + required: false + schema: + type: boolean + tags: + - Query + "/comdex/liquidity/v1beta1/pools/{app_id}/pool_coin_denom/{pool_coin_denom}": + get: + summary: PoolByPoolCoinDenom returns all pools that correspond to the pool coin denom. + operationId: PoolByPoolCoinDenom + responses: + "200": + description: A successful response. + content: + "*/*": + schema: + type: object + properties: + pool: + type: object + properties: + id: + type: string + format: uint64 + pair_id: + type: string + format: uint64 + reserve_address: + type: string + pool_coin_denom: + type: string + balances: + type: object + properties: + base_coin: + type: object + properties: + denom: + type: string + amount: + type: string + description: >- + Coin defines a token with a denomination and an amount. + + + NOTE: The amount field is an Int which implements the custom method + + signatures required by gogoproto. + quote_coin: + type: object + properties: + denom: + type: string + amount: + type: string + description: >- + Coin defines a token with a denomination and an amount. + + + NOTE: The amount field is an Int which implements the custom method + + signatures required by gogoproto. + last_deposit_request_id: + type: string + format: uint64 + last_withdraw_request_id: + type: string + format: uint64 + app_id: + type: string + format: uint64 + type: + type: string + enum: + - POOL_TYPE_UNSPECIFIED + - POOL_TYPE_BASIC + - POOL_TYPE_RANGED + default: POOL_TYPE_UNSPECIFIED + description: >- + PoolType enumerates pool types. + + + - POOL_TYPE_UNSPECIFIED: POOL_TYPE_UNSPECIFIED specifies unknown pool type + - POOL_TYPE_BASIC: POOL_TYPE_BASIC specifies the basic pool type + - POOL_TYPE_RANGED: POOL_TYPE_RANGED specifies the ranged pool type + creator: + type: string + pool_coin_supply: + type: string + min_price: + type: string + max_price: + type: string + price: + type: string + disabled: + type: boolean + description: PoolResponse defines a custom pool response message. + description: QueryPoolResponse is response type for the Query/Pool RPC method. + default: + description: An unexpected error response. + content: + "*/*": + schema: + type: object + properties: + error: + type: string + code: + type: integer + format: int32 + message: + type: string + details: + type: array + items: + type: object + properties: + type_url: + type: string + value: + type: string + format: byte + parameters: + - name: app_id + in: path + required: true + schema: + type: string + format: uint64 + - name: pool_coin_denom + in: path + required: true + schema: + type: string + tags: + - Query + "/comdex/liquidity/v1beta1/pools/{app_id}/reserve_address/{reserve_address}": + get: + summary: PoolByReserveAddress returns all pools that correspond to the reserve account. + operationId: PoolByReserveAddress + responses: + "200": + description: A successful response. + content: + "*/*": + schema: + type: object + properties: + pool: + type: object + properties: + id: + type: string + format: uint64 + pair_id: + type: string + format: uint64 + reserve_address: + type: string + pool_coin_denom: + type: string + balances: + type: object + properties: + base_coin: + type: object + properties: + denom: + type: string + amount: + type: string + description: >- + Coin defines a token with a denomination and an amount. + + + NOTE: The amount field is an Int which implements the custom method + + signatures required by gogoproto. + quote_coin: + type: object + properties: + denom: + type: string + amount: + type: string + description: >- + Coin defines a token with a denomination and an amount. + + + NOTE: The amount field is an Int which implements the custom method + + signatures required by gogoproto. + last_deposit_request_id: + type: string + format: uint64 + last_withdraw_request_id: + type: string + format: uint64 + app_id: + type: string + format: uint64 + type: + type: string + enum: + - POOL_TYPE_UNSPECIFIED + - POOL_TYPE_BASIC + - POOL_TYPE_RANGED + default: POOL_TYPE_UNSPECIFIED + description: >- + PoolType enumerates pool types. + + + - POOL_TYPE_UNSPECIFIED: POOL_TYPE_UNSPECIFIED specifies unknown pool type + - POOL_TYPE_BASIC: POOL_TYPE_BASIC specifies the basic pool type + - POOL_TYPE_RANGED: POOL_TYPE_RANGED specifies the ranged pool type + creator: + type: string + pool_coin_supply: + type: string + min_price: + type: string + max_price: + type: string + price: + type: string + disabled: + type: boolean + description: PoolResponse defines a custom pool response message. + description: QueryPoolResponse is response type for the Query/Pool RPC method. + default: + description: An unexpected error response. + content: + "*/*": + schema: + type: object + properties: + error: + type: string + code: + type: integer + format: int32 + message: + type: string + details: + type: array + items: + type: object + properties: + type_url: + type: string + value: + type: string + format: byte + parameters: + - name: app_id + in: path + required: true + schema: + type: string + format: uint64 + - name: reserve_address + in: path + required: true + schema: + type: string + tags: + - Query + "/comdex/liquidity/v1beta1/pools/{app_id}/{pool_id}": + get: + summary: Pool returns the specific liquidity pool. + operationId: Pool + responses: + "200": + description: A successful response. + content: + "*/*": + schema: + type: object + properties: + pool: + type: object + properties: + id: + type: string + format: uint64 + pair_id: + type: string + format: uint64 + reserve_address: + type: string + pool_coin_denom: + type: string + balances: + type: object + properties: + base_coin: + type: object + properties: + denom: + type: string + amount: + type: string + description: >- + Coin defines a token with a denomination and an amount. + + + NOTE: The amount field is an Int which implements the custom method + + signatures required by gogoproto. + quote_coin: + type: object + properties: + denom: + type: string + amount: + type: string + description: >- + Coin defines a token with a denomination and an amount. + + + NOTE: The amount field is an Int which implements the custom method + + signatures required by gogoproto. + last_deposit_request_id: + type: string + format: uint64 + last_withdraw_request_id: + type: string + format: uint64 + app_id: + type: string + format: uint64 + type: + type: string + enum: + - POOL_TYPE_UNSPECIFIED + - POOL_TYPE_BASIC + - POOL_TYPE_RANGED + default: POOL_TYPE_UNSPECIFIED + description: >- + PoolType enumerates pool types. + + + - POOL_TYPE_UNSPECIFIED: POOL_TYPE_UNSPECIFIED specifies unknown pool type + - POOL_TYPE_BASIC: POOL_TYPE_BASIC specifies the basic pool type + - POOL_TYPE_RANGED: POOL_TYPE_RANGED specifies the ranged pool type + creator: + type: string + pool_coin_supply: + type: string + min_price: + type: string + max_price: + type: string + price: + type: string + disabled: + type: boolean + description: PoolResponse defines a custom pool response message. + description: QueryPoolResponse is response type for the Query/Pool RPC method. + default: + description: An unexpected error response. + content: + "*/*": + schema: + type: object + properties: + error: + type: string + code: + type: integer + format: int32 + message: + type: string + details: + type: array + items: + type: object + properties: + type_url: + type: string + value: + type: string + format: byte + parameters: + - name: app_id + in: path + required: true + schema: + type: string + format: uint64 + - name: pool_id + in: path + required: true + schema: + type: string + format: uint64 + tags: + - Query + "/comdex/liquidity/v1beta1/pools/{app_id}/{pool_id}/deposit_requests": + get: + summary: DepositRequests returns all deposit requests. + operationId: DepositRequests + responses: + "200": + description: A successful response. + content: + "*/*": + schema: + type: object + properties: + deposit_requests: + type: array + items: + type: object + properties: + id: + type: string + format: uint64 + title: id specifies the id for the request + pool_id: + type: string + format: uint64 + title: pool_id specifies the pool id + msg_height: + type: string + format: int64 + title: msg_height specifies the block height when the request is stored for the batch execution + depositor: + type: string + title: depositor specifies the bech32-encoded address that makes a deposit to the pool + deposit_coins: + type: array + items: + type: object + properties: + denom: + type: string + amount: + type: string + description: >- + Coin defines a token with a denomination and an amount. + + + NOTE: The amount field is an Int which implements the custom method + + signatures required by gogoproto. + description: deposit_coins specifies the amount of coins to deposit. + accepted_coins: + type: array + items: + type: object + properties: + denom: + type: string + amount: + type: string + description: >- + Coin defines a token with a denomination and an amount. + + + NOTE: The amount field is an Int which implements the custom method + + signatures required by gogoproto. + description: accepted_coins specifies the amount of coins that are accepted. + minted_pool_coin: + type: object + properties: + denom: + type: string + amount: + type: string + description: >- + Coin defines a token with a denomination and an amount. + + + NOTE: The amount field is an Int which implements the custom method + + signatures required by gogoproto. + status: + type: string + enum: + - REQUEST_STATUS_UNSPECIFIED + - REQUEST_STATUS_NOT_EXECUTED + - REQUEST_STATUS_SUCCEEDED + - REQUEST_STATUS_FAILED + default: REQUEST_STATUS_UNSPECIFIED + description: >- + RequestStatus enumerates request statuses. + + + - REQUEST_STATUS_UNSPECIFIED: REQUEST_STATUS_UNSPECIFIED specifies unknown request status + - REQUEST_STATUS_NOT_EXECUTED: REQUEST_STATUS_NOT_EXECUTED indicates the request is not executed yet + - REQUEST_STATUS_SUCCEEDED: REQUEST_STATUS_SUCCEEDED indicates the request has been succeeded + - REQUEST_STATUS_FAILED: REQUEST_STATUS_FAILED indicates the request is failed + app_id: + type: string + format: uint64 + description: DepositRequest defines a deposit request. + pagination: + type: object + properties: + next_key: + type: string + format: byte + title: |- + next_key is the key to be passed to PageRequest.key to + query the next page most efficiently + total: + type: string + format: uint64 + title: >- + total is total number of results available if PageRequest.count_total + + was set, its value is undefined otherwise + description: >- + PageResponse is to be embedded in gRPC response messages where the + + corresponding request message has used PageRequest. + + + message SomeResponse { + repeated Bar results = 1; + PageResponse page = 2; + } + description: QueryDepositRequestsResponse is response type for the Query/DepositRequests RPC method. + default: + description: An unexpected error response. + content: + "*/*": + schema: + type: object + properties: + error: + type: string + code: + type: integer + format: int32 + message: + type: string + details: + type: array + items: + type: object + properties: + type_url: + type: string + value: + type: string + format: byte + parameters: + - name: app_id + in: path + required: true + schema: + type: string + format: uint64 + - name: pool_id + in: path + required: true + schema: + type: string + format: uint64 + - name: pagination.key + description: |- + key is a value returned in PageResponse.next_key to begin + querying the next page most efficiently. Only one of offset or key + should be set. + in: query + required: false + schema: + type: string + format: byte + - name: pagination.offset + description: >- + offset is a numeric offset that can be used when key is unavailable. + + It is less efficient than using key. Only one of offset or key should + + be set. + in: query + required: false + schema: + type: string + format: uint64 + - name: pagination.limit + description: >- + limit is the total number of results to be returned in the result page. + + If left empty it will default to a value to be set by each app. + in: query + required: false + schema: + type: string + format: uint64 + - name: pagination.count_total + description: >- + count_total is set to true to indicate that the result set should include + + a count of the total number of items available for pagination in UIs. + + count_total is only respected when offset is used. It is ignored when key + + is set. + in: query + required: false + schema: + type: boolean + - name: pagination.reverse + description: >- + reverse is set to true if results are to be returned in the descending + + order. + in: query + required: false + schema: + type: boolean + tags: + - Query + "/comdex/liquidity/v1beta1/pools/{app_id}/{pool_id}/deposit_requests/{id}": + get: + summary: DepositRequest returns the specific deposit request. + operationId: DepositRequest + responses: + "200": + description: A successful response. + content: + "*/*": + schema: + type: object + properties: + deposit_request: + type: object + properties: + id: + type: string + format: uint64 + title: id specifies the id for the request + pool_id: + type: string + format: uint64 + title: pool_id specifies the pool id + msg_height: + type: string + format: int64 + title: msg_height specifies the block height when the request is stored for the batch execution + depositor: + type: string + title: depositor specifies the bech32-encoded address that makes a deposit to the pool + deposit_coins: + type: array + items: + type: object + properties: + denom: + type: string + amount: + type: string + description: >- + Coin defines a token with a denomination and an amount. + + + NOTE: The amount field is an Int which implements the custom method + + signatures required by gogoproto. + description: deposit_coins specifies the amount of coins to deposit. + accepted_coins: + type: array + items: + type: object + properties: + denom: + type: string + amount: + type: string + description: >- + Coin defines a token with a denomination and an amount. + + + NOTE: The amount field is an Int which implements the custom method + + signatures required by gogoproto. + description: accepted_coins specifies the amount of coins that are accepted. + minted_pool_coin: + type: object + properties: + denom: + type: string + amount: + type: string + description: >- + Coin defines a token with a denomination and an amount. + + + NOTE: The amount field is an Int which implements the custom method + + signatures required by gogoproto. + status: + type: string + enum: + - REQUEST_STATUS_UNSPECIFIED + - REQUEST_STATUS_NOT_EXECUTED + - REQUEST_STATUS_SUCCEEDED + - REQUEST_STATUS_FAILED + default: REQUEST_STATUS_UNSPECIFIED + description: >- + RequestStatus enumerates request statuses. + + + - REQUEST_STATUS_UNSPECIFIED: REQUEST_STATUS_UNSPECIFIED specifies unknown request status + - REQUEST_STATUS_NOT_EXECUTED: REQUEST_STATUS_NOT_EXECUTED indicates the request is not executed yet + - REQUEST_STATUS_SUCCEEDED: REQUEST_STATUS_SUCCEEDED indicates the request has been succeeded + - REQUEST_STATUS_FAILED: REQUEST_STATUS_FAILED indicates the request is failed + app_id: + type: string + format: uint64 + description: DepositRequest defines a deposit request. + description: QueryDepositRequestResponse is response type for the Query/DepositRequest RPC method. + default: + description: An unexpected error response. + content: + "*/*": + schema: + type: object + properties: + error: + type: string + code: + type: integer + format: int32 + message: + type: string + details: + type: array + items: + type: object + properties: + type_url: + type: string + value: + type: string + format: byte + parameters: + - name: app_id + in: path + required: true + schema: + type: string + format: uint64 + - name: pool_id + in: path + required: true + schema: + type: string + format: uint64 + - name: id + in: path + required: true + schema: + type: string + format: uint64 + tags: + - Query + "/comdex/liquidity/v1beta1/pools/{app_id}/{pool_id}/withdraw_requests": + get: + summary: WithdrawRequests returns all withdraw requests. + operationId: WithdrawRequests + responses: + "200": + description: A successful response. + content: + "*/*": + schema: + type: object + properties: + withdraw_requests: + type: array + items: + type: object + properties: + id: + type: string + format: uint64 + title: id specifies the id for the request + pool_id: + type: string + format: uint64 + title: pool_id specifies the pool id + msg_height: + type: string + format: int64 + title: msg_height specifies the block height when the request is stored for the batch execution + withdrawer: + type: string + title: withdrawer specifies the bech32-encoded address that withdraws pool coin from the pool + pool_coin: + type: object + properties: + denom: + type: string + amount: + type: string + description: >- + Coin defines a token with a denomination and an amount. + + + NOTE: The amount field is an Int which implements the custom method + + signatures required by gogoproto. + title: pool_coin specifies the pool coin that is a proof of liquidity provider for the pool + withdrawn_coins: + type: array + items: + type: object + properties: + denom: + type: string + amount: + type: string + description: >- + Coin defines a token with a denomination and an amount. + + + NOTE: The amount field is an Int which implements the custom method + + signatures required by gogoproto. + description: withdrawn_coins specifies the amount of coins that are withdrawn. + status: + type: string + enum: + - REQUEST_STATUS_UNSPECIFIED + - REQUEST_STATUS_NOT_EXECUTED + - REQUEST_STATUS_SUCCEEDED + - REQUEST_STATUS_FAILED + default: REQUEST_STATUS_UNSPECIFIED + description: >- + RequestStatus enumerates request statuses. + + + - REQUEST_STATUS_UNSPECIFIED: REQUEST_STATUS_UNSPECIFIED specifies unknown request status + - REQUEST_STATUS_NOT_EXECUTED: REQUEST_STATUS_NOT_EXECUTED indicates the request is not executed yet + - REQUEST_STATUS_SUCCEEDED: REQUEST_STATUS_SUCCEEDED indicates the request has been succeeded + - REQUEST_STATUS_FAILED: REQUEST_STATUS_FAILED indicates the request is failed + app_id: + type: string + format: uint64 + description: WithdrawRequest defines a withdraw request. + pagination: + type: object + properties: + next_key: + type: string + format: byte + title: |- + next_key is the key to be passed to PageRequest.key to + query the next page most efficiently + total: + type: string + format: uint64 + title: >- + total is total number of results available if PageRequest.count_total + + was set, its value is undefined otherwise + description: >- + PageResponse is to be embedded in gRPC response messages where the + + corresponding request message has used PageRequest. + + + message SomeResponse { + repeated Bar results = 1; + PageResponse page = 2; + } + description: QueryWithdrawRequestsResponse is response type for the Query/WithdrawRequests RPC method. + default: + description: An unexpected error response. + content: + "*/*": + schema: + type: object + properties: + error: + type: string + code: + type: integer + format: int32 + message: + type: string + details: + type: array + items: + type: object + properties: + type_url: + type: string + value: + type: string + format: byte + parameters: + - name: app_id + in: path + required: true + schema: + type: string + format: uint64 + - name: pool_id + in: path + required: true + schema: + type: string + format: uint64 + - name: pagination.key + description: |- + key is a value returned in PageResponse.next_key to begin + querying the next page most efficiently. Only one of offset or key + should be set. + in: query + required: false + schema: + type: string + format: byte + - name: pagination.offset + description: >- + offset is a numeric offset that can be used when key is unavailable. + + It is less efficient than using key. Only one of offset or key should + + be set. + in: query + required: false + schema: + type: string + format: uint64 + - name: pagination.limit + description: >- + limit is the total number of results to be returned in the result page. + + If left empty it will default to a value to be set by each app. + in: query + required: false + schema: + type: string + format: uint64 + - name: pagination.count_total + description: >- + count_total is set to true to indicate that the result set should include + + a count of the total number of items available for pagination in UIs. + + count_total is only respected when offset is used. It is ignored when key + + is set. + in: query + required: false + schema: + type: boolean + - name: pagination.reverse + description: >- + reverse is set to true if results are to be returned in the descending + + order. + in: query + required: false + schema: + type: boolean + tags: + - Query + "/comdex/liquidity/v1beta1/pools/{app_id}/{pool_id}/withdraw_requests/{id}": + get: + summary: WithdrawRequest returns the specific withdraw request. + operationId: WithdrawRequest + responses: + "200": + description: A successful response. + content: + "*/*": + schema: + type: object + properties: + withdraw_request: + type: object + properties: + id: + type: string + format: uint64 + title: id specifies the id for the request + pool_id: + type: string + format: uint64 + title: pool_id specifies the pool id + msg_height: + type: string + format: int64 + title: msg_height specifies the block height when the request is stored for the batch execution + withdrawer: + type: string + title: withdrawer specifies the bech32-encoded address that withdraws pool coin from the pool + pool_coin: + type: object + properties: + denom: + type: string + amount: + type: string + description: >- + Coin defines a token with a denomination and an amount. + + + NOTE: The amount field is an Int which implements the custom method + + signatures required by gogoproto. + title: pool_coin specifies the pool coin that is a proof of liquidity provider for the pool + withdrawn_coins: + type: array + items: + type: object + properties: + denom: + type: string + amount: + type: string + description: >- + Coin defines a token with a denomination and an amount. + + + NOTE: The amount field is an Int which implements the custom method + + signatures required by gogoproto. + description: withdrawn_coins specifies the amount of coins that are withdrawn. + status: + type: string + enum: + - REQUEST_STATUS_UNSPECIFIED + - REQUEST_STATUS_NOT_EXECUTED + - REQUEST_STATUS_SUCCEEDED + - REQUEST_STATUS_FAILED + default: REQUEST_STATUS_UNSPECIFIED + description: >- + RequestStatus enumerates request statuses. + + + - REQUEST_STATUS_UNSPECIFIED: REQUEST_STATUS_UNSPECIFIED specifies unknown request status + - REQUEST_STATUS_NOT_EXECUTED: REQUEST_STATUS_NOT_EXECUTED indicates the request is not executed yet + - REQUEST_STATUS_SUCCEEDED: REQUEST_STATUS_SUCCEEDED indicates the request has been succeeded + - REQUEST_STATUS_FAILED: REQUEST_STATUS_FAILED indicates the request is failed + app_id: + type: string + format: uint64 + description: WithdrawRequest defines a withdraw request. + description: QueryWithdrawRequestResponse is response type for the Query/WithdrawRequest RPC method. + default: + description: An unexpected error response. + content: + "*/*": + schema: + type: object + properties: + error: + type: string + code: + type: integer + format: int32 + message: + type: string + details: + type: array + items: + type: object + properties: + type_url: + type: string + value: + type: string + format: byte + parameters: + - name: app_id + in: path + required: true + schema: + type: string + format: uint64 + - name: pool_id + in: path + required: true + schema: + type: string + format: uint64 + - name: id + in: path + required: true + schema: + type: string + format: uint64 + tags: + - Query + "/comdex/locker/v1beta1/locker-deposited-by-app/{app_id}": + get: + operationId: QueryLockerTotalDepositedByApp + responses: + "200": + description: A successful response. + content: + "*/*": + schema: + type: object + properties: + locked_deposited_amount_data_map: + type: array + items: + type: object + properties: + asset_id: + type: string + format: uint64 + deposited_amount: + type: string + pagination: + type: object + properties: + next_key: + type: string + format: byte + title: |- + next_key is the key to be passed to PageRequest.key to + query the next page most efficiently + total: + type: string + format: uint64 + title: >- + total is total number of results available if PageRequest.count_total + + was set, its value is undefined otherwise + description: >- + PageResponse is to be embedded in gRPC response messages where the + + corresponding request message has used PageRequest. + + + message SomeResponse { + repeated Bar results = 1; + PageResponse page = 2; + } + default: + description: An unexpected error response. + content: + "*/*": + schema: + type: object + properties: + error: + type: string + code: + type: integer + format: int32 + message: + type: string + details: + type: array + items: + type: object + properties: + type_url: + type: string + value: + type: string + format: byte + parameters: + - name: app_id + in: path + required: true + schema: + type: string + format: uint64 + - name: pagination.key + description: |- + key is a value returned in PageResponse.next_key to begin + querying the next page most efficiently. Only one of offset or key + should be set. + in: query + required: false + schema: + type: string + format: byte + - name: pagination.offset + description: >- + offset is a numeric offset that can be used when key is unavailable. + + It is less efficient than using key. Only one of offset or key should + + be set. + in: query + required: false + schema: + type: string + format: uint64 + - name: pagination.limit + description: >- + limit is the total number of results to be returned in the result page. + + If left empty it will default to a value to be set by each app. + in: query + required: false + schema: + type: string + format: uint64 + - name: pagination.count_total + description: >- + count_total is set to true to indicate that the result set should include + + a count of the total number of items available for pagination in UIs. + + count_total is only respected when offset is used. It is ignored when key + + is set. + in: query + required: false + schema: + type: boolean + - name: pagination.reverse + description: >- + reverse is set to true if results are to be returned in the descending + + order. + in: query + required: false + schema: + type: boolean + tags: + - Query + "/comdex/locker/v1beta1/locker-lookup-by-app-and-assetId/{app_id}/{asset_id}": + get: + operationId: QueryLockerLookupTableByAppAndAssetID + responses: + "200": + description: A successful response. + content: + "*/*": + schema: + type: object + properties: + token_to_locker_mapping: + type: object + properties: + app_id: + type: string + format: uint64 + asset_id: + type: string + format: uint64 + locker_ids: + type: array + items: + type: string + format: uint64 + deposited_amount: + type: string + default: + description: An unexpected error response. + content: + "*/*": + schema: + type: object + properties: + error: + type: string + code: + type: integer + format: int32 + message: + type: string + details: + type: array + items: + type: object + properties: + type_url: + type: string + value: + type: string + format: byte + parameters: + - name: app_id + in: path + required: true + schema: + type: string + format: uint64 + - name: asset_id + in: path + required: true + schema: + type: string + format: uint64 + tags: + - Query + "/comdex/locker/v1beta1/locker-lookup-by-app/{app_id}": + get: + operationId: QueryLockerLookupTableByApp + responses: + "200": + description: A successful response. + content: + "*/*": + schema: + type: object + properties: + token_to_locker_mapping: + type: array + items: + type: object + properties: + app_id: + type: string + format: uint64 + asset_id: + type: string + format: uint64 + locker_ids: + type: array + items: + type: string + format: uint64 + deposited_amount: + type: string + pagination: + type: object + properties: + next_key: + type: string + format: byte + title: |- + next_key is the key to be passed to PageRequest.key to + query the next page most efficiently + total: + type: string + format: uint64 + title: >- + total is total number of results available if PageRequest.count_total + + was set, its value is undefined otherwise + description: >- + PageResponse is to be embedded in gRPC response messages where the + + corresponding request message has used PageRequest. + + + message SomeResponse { + repeated Bar results = 1; + PageResponse page = 2; + } + default: + description: An unexpected error response. + content: + "*/*": + schema: + type: object + properties: + error: + type: string + code: + type: integer + format: int32 + message: + type: string + details: + type: array + items: + type: object + properties: + type_url: + type: string + value: + type: string + format: byte + parameters: + - name: app_id + in: path + required: true + schema: + type: string + format: uint64 + - name: pagination.key + description: |- + key is a value returned in PageResponse.next_key to begin + querying the next page most efficiently. Only one of offset or key + should be set. + in: query + required: false + schema: + type: string + format: byte + - name: pagination.offset + description: >- + offset is a numeric offset that can be used when key is unavailable. + + It is less efficient than using key. Only one of offset or key should + + be set. + in: query + required: false + schema: + type: string + format: uint64 + - name: pagination.limit + description: >- + limit is the total number of results to be returned in the result page. + + If left empty it will default to a value to be set by each app. + in: query + required: false + schema: + type: string + format: uint64 + - name: pagination.count_total + description: >- + count_total is set to true to indicate that the result set should include + + a count of the total number of items available for pagination in UIs. + + count_total is only respected when offset is used. It is ignored when key + + is set. + in: query + required: false + schema: + type: boolean + - name: pagination.reverse + description: >- + reverse is set to true if results are to be returned in the descending + + order. + in: query + required: false + schema: + type: boolean + tags: + - Query + "/comdex/locker/v1beta1/locker_info/{id}": + get: + operationId: QueryLockerInfo + responses: + "200": + description: A successful response. + content: + "*/*": + schema: + type: object + properties: + locker_info: + type: object + properties: + locker_id: + type: string + format: uint64 + depositor: + type: string + returns_accumulated: + type: string + net_balance: + type: string + created_at: + type: string + format: date-time + asset_deposit_id: + type: string + format: uint64 + is_locked: + type: boolean + app_id: + type: string + format: uint64 + block_height: + type: string + format: int64 + block_time: + type: string + format: date-time + title: locker_id will be the key which will be derived from the LockerLookUpTable + default: + description: An unexpected error response. + content: + "*/*": + schema: + type: object + properties: + error: + type: string + code: + type: integer + format: int32 + message: + type: string + details: + type: array + items: + type: object + properties: + type_url: + type: string + value: + type: string + format: byte + parameters: + - name: id + in: path + required: true + schema: + type: string + format: uint64 + tags: + - Query + "/comdex/locker/v1beta1/locker_info_app_owner/{app_id}/{owner}": + get: + operationId: QueryLockerByAppByOwner + responses: + "200": + description: A successful response. + content: + "*/*": + schema: + type: object + properties: + locker_info: + type: array + items: + type: object + properties: + locker_id: + type: string + format: uint64 + depositor: + type: string + returns_accumulated: + type: string + net_balance: + type: string + created_at: + type: string + format: date-time + asset_deposit_id: + type: string + format: uint64 + is_locked: + type: boolean + app_id: + type: string + format: uint64 + block_height: + type: string + format: int64 + block_time: + type: string + format: date-time + title: locker_id will be the key which will be derived from the LockerLookUpTable + pagination: + type: object + properties: + next_key: + type: string + format: byte + title: |- + next_key is the key to be passed to PageRequest.key to + query the next page most efficiently + total: + type: string + format: uint64 + title: >- + total is total number of results available if PageRequest.count_total + + was set, its value is undefined otherwise + description: >- + PageResponse is to be embedded in gRPC response messages where the + + corresponding request message has used PageRequest. + + + message SomeResponse { + repeated Bar results = 1; + PageResponse page = 2; + } + default: + description: An unexpected error response. + content: + "*/*": + schema: + type: object + properties: + error: + type: string + code: + type: integer + format: int32 + message: + type: string + details: + type: array + items: + type: object + properties: + type_url: + type: string + value: + type: string + format: byte + parameters: + - name: app_id + in: path + required: true + schema: + type: string + format: uint64 + - name: owner + in: path + required: true + schema: + type: string + - name: pagination.key + description: |- + key is a value returned in PageResponse.next_key to begin + querying the next page most efficiently. Only one of offset or key + should be set. + in: query + required: false + schema: + type: string + format: byte + - name: pagination.offset + description: >- + offset is a numeric offset that can be used when key is unavailable. + + It is less efficient than using key. Only one of offset or key should + + be set. + in: query + required: false + schema: + type: string + format: uint64 + - name: pagination.limit + description: >- + limit is the total number of results to be returned in the result page. + + If left empty it will default to a value to be set by each app. + in: query + required: false + schema: + type: string + format: uint64 + - name: pagination.count_total + description: >- + count_total is set to true to indicate that the result set should include + + a count of the total number of items available for pagination in UIs. + + count_total is only respected when offset is used. It is ignored when key + + is set. + in: query + required: false + schema: + type: boolean + - name: pagination.reverse + description: >- + reverse is set to true if results are to be returned in the descending + + order. + in: query + required: false + schema: + type: boolean + tags: + - Query + "/comdex/locker/v1beta1/lockers_info_app_id/{app_id}": + get: + operationId: QueryLockerInfoByAppID + responses: + "200": + description: A successful response. + content: + "*/*": + schema: + type: object + properties: + locker_ids: + type: array + items: + type: string + format: uint64 + pagination: + type: object + properties: + next_key: + type: string + format: byte + title: |- + next_key is the key to be passed to PageRequest.key to + query the next page most efficiently + total: + type: string + format: uint64 + title: >- + total is total number of results available if PageRequest.count_total + + was set, its value is undefined otherwise + description: >- + PageResponse is to be embedded in gRPC response messages where the + + corresponding request message has used PageRequest. + + + message SomeResponse { + repeated Bar results = 1; + PageResponse page = 2; + } + default: + description: An unexpected error response. + content: + "*/*": + schema: + type: object + properties: + error: + type: string + code: + type: integer + format: int32 + message: + type: string + details: + type: array + items: + type: object + properties: + type_url: + type: string + value: + type: string + format: byte + parameters: + - name: app_id + in: path + required: true + schema: + type: string + format: uint64 + - name: pagination.key + description: |- + key is a value returned in PageResponse.next_key to begin + querying the next page most efficiently. Only one of offset or key + should be set. + in: query + required: false + schema: + type: string + format: byte + - name: pagination.offset + description: >- + offset is a numeric offset that can be used when key is unavailable. + + It is less efficient than using key. Only one of offset or key should + + be set. + in: query + required: false + schema: + type: string + format: uint64 + - name: pagination.limit + description: >- + limit is the total number of results to be returned in the result page. + + If left empty it will default to a value to be set by each app. + in: query + required: false + schema: + type: string + format: uint64 + - name: pagination.count_total + description: >- + count_total is set to true to indicate that the result set should include + + a count of the total number of items available for pagination in UIs. + + count_total is only respected when offset is used. It is ignored when key + + is set. + in: query + required: false + schema: + type: boolean + - name: pagination.reverse + description: >- + reverse is set to true if results are to be returned in the descending + + order. + in: query + required: false + schema: + type: boolean + tags: + - Query + "/comdex/locker/v1beta1/lockers_info_asset_id/{app_id}/{asset_id}": + get: + operationId: QueryLockersByAppToAssetID + responses: + "200": + description: A successful response. + content: + "*/*": + schema: + type: object + properties: + locker_ids: + type: array + items: + type: string + format: uint64 + pagination: + type: object + properties: + next_key: + type: string + format: byte + title: |- + next_key is the key to be passed to PageRequest.key to + query the next page most efficiently + total: + type: string + format: uint64 + title: >- + total is total number of results available if PageRequest.count_total + + was set, its value is undefined otherwise + description: >- + PageResponse is to be embedded in gRPC response messages where the + + corresponding request message has used PageRequest. + + + message SomeResponse { + repeated Bar results = 1; + PageResponse page = 2; + } + default: + description: An unexpected error response. + content: + "*/*": + schema: + type: object + properties: + error: + type: string + code: + type: integer + format: int32 + message: + type: string + details: + type: array + items: + type: object + properties: + type_url: + type: string + value: + type: string + format: byte + parameters: + - name: app_id + in: path + required: true + schema: + type: string + format: uint64 + - name: asset_id + in: path + required: true + schema: + type: string + format: uint64 + - name: pagination.key + description: |- + key is a value returned in PageResponse.next_key to begin + querying the next page most efficiently. Only one of offset or key + should be set. + in: query + required: false + schema: + type: string + format: byte + - name: pagination.offset + description: >- + offset is a numeric offset that can be used when key is unavailable. + + It is less efficient than using key. Only one of offset or key should + + be set. + in: query + required: false + schema: + type: string + format: uint64 + - name: pagination.limit + description: >- + limit is the total number of results to be returned in the result page. + + If left empty it will default to a value to be set by each app. + in: query + required: false + schema: + type: string + format: uint64 + - name: pagination.count_total + description: >- + count_total is set to true to indicate that the result set should include + + a count of the total number of items available for pagination in UIs. + + count_total is only respected when offset is used. It is ignored when key + + is set. + in: query + required: false + schema: + type: boolean + - name: pagination.reverse + description: >- + reverse is set to true if results are to be returned in the descending + + order. + in: query + required: false + schema: + type: boolean + tags: + - Query + "/comdex/locker/v1beta1/loker-rewards-by-app-and-assetId/{app_id}/{asset_id}": + get: + operationId: QueryLockerTotalRewardsByAssetAppWise + responses: + "200": + description: A successful response. + content: + "*/*": + schema: + type: object + properties: + total_rewards: + type: object + properties: + app_id: + type: string + format: uint64 + asset_id: + type: string + format: uint64 + total_rewards: + type: string + default: + description: An unexpected error response. + content: + "*/*": + schema: + type: object + properties: + error: + type: string + code: + type: integer + format: int32 + message: + type: string + details: + type: array + items: + type: object + properties: + type_url: + type: string + value: + type: string + format: byte + parameters: + - name: app_id + in: path + required: true + schema: + type: string + format: uint64 + - name: asset_id + in: path + required: true + schema: + type: string + format: uint64 + tags: + - Query + "/comdex/locker/v1beta1/owner_locker_by_all_app_by_owner/{app_id}/{owner}": + get: + operationId: QueryOwnerLockerByAppIDbyOwner + responses: + "200": + description: A successful response. + content: + "*/*": + schema: + type: object + properties: + locker_ids: + type: array + items: + type: string + format: uint64 + pagination: + type: object + properties: + next_key: + type: string + format: byte + title: |- + next_key is the key to be passed to PageRequest.key to + query the next page most efficiently + total: + type: string + format: uint64 + title: >- + total is total number of results available if PageRequest.count_total + + was set, its value is undefined otherwise + description: >- + PageResponse is to be embedded in gRPC response messages where the + + corresponding request message has used PageRequest. + + + message SomeResponse { + repeated Bar results = 1; + PageResponse page = 2; + } + default: + description: An unexpected error response. + content: + "*/*": + schema: + type: object + properties: + error: + type: string + code: + type: integer + format: int32 + message: + type: string + details: + type: array + items: + type: object + properties: + type_url: + type: string + value: + type: string + format: byte + parameters: + - name: app_id + in: path + required: true + schema: + type: string + format: uint64 + - name: owner + in: path + required: true + schema: + type: string + - name: pagination.key + description: |- + key is a value returned in PageResponse.next_key to begin + querying the next page most efficiently. Only one of offset or key + should be set. + in: query + required: false + schema: + type: string + format: byte + - name: pagination.offset + description: >- + offset is a numeric offset that can be used when key is unavailable. + + It is less efficient than using key. Only one of offset or key should + + be set. + in: query + required: false + schema: + type: string + format: uint64 + - name: pagination.limit + description: >- + limit is the total number of results to be returned in the result page. + + If left empty it will default to a value to be set by each app. + in: query + required: false + schema: + type: string + format: uint64 + - name: pagination.count_total + description: >- + count_total is set to true to indicate that the result set should include + + a count of the total number of items available for pagination in UIs. + + count_total is only respected when offset is used. It is ignored when key + + is set. + in: query + required: false + schema: + type: boolean + - name: pagination.reverse + description: >- + reverse is set to true if results are to be returned in the descending + + order. + in: query + required: false + schema: + type: boolean + tags: + - Query + "/comdex/locker/v1beta1/owner_locker_info_app_asset_id_owner/{app_id}/{asset_id}/{owner}": + get: + operationId: QueryOwnerLockerByAppToAssetIDbyOwner + responses: + "200": + description: A successful response. + content: + "*/*": + schema: + type: object + properties: + locker_info: + type: object + properties: + locker_id: + type: string + format: uint64 + depositor: + type: string + returns_accumulated: + type: string + net_balance: + type: string + created_at: + type: string + format: date-time + asset_deposit_id: + type: string + format: uint64 + is_locked: + type: boolean + app_id: + type: string + format: uint64 + block_height: + type: string + format: int64 + block_time: + type: string + format: date-time + title: locker_id will be the key which will be derived from the LockerLookUpTable + pagination: + type: object + properties: + next_key: + type: string + format: byte + title: |- + next_key is the key to be passed to PageRequest.key to + query the next page most efficiently + total: + type: string + format: uint64 + title: >- + total is total number of results available if PageRequest.count_total + + was set, its value is undefined otherwise + description: >- + PageResponse is to be embedded in gRPC response messages where the + + corresponding request message has used PageRequest. + + + message SomeResponse { + repeated Bar results = 1; + PageResponse page = 2; + } + default: + description: An unexpected error response. + content: + "*/*": + schema: + type: object + properties: + error: + type: string + code: + type: integer + format: int32 + message: + type: string + details: + type: array + items: + type: object + properties: + type_url: + type: string + value: + type: string + format: byte + parameters: + - name: app_id + in: path + required: true + schema: + type: string + format: uint64 + - name: asset_id + in: path + required: true + schema: + type: string + format: uint64 + - name: owner + in: path + required: true + schema: + type: string + tags: + - Query + "/comdex/locker/v1beta1/owner_locker_info_by_all_apps_owner/{owner}": + get: + operationId: QueryOwnerLockerOfAllAppsByOwner + responses: + "200": + description: A successful response. + content: + "*/*": + schema: + type: object + properties: + locker_ids: + type: array + items: + type: string + format: uint64 + pagination: + type: object + properties: + next_key: + type: string + format: byte + title: |- + next_key is the key to be passed to PageRequest.key to + query the next page most efficiently + total: + type: string + format: uint64 + title: >- + total is total number of results available if PageRequest.count_total + + was set, its value is undefined otherwise + description: >- + PageResponse is to be embedded in gRPC response messages where the + + corresponding request message has used PageRequest. + + + message SomeResponse { + repeated Bar results = 1; + PageResponse page = 2; + } + default: + description: An unexpected error response. + content: + "*/*": + schema: + type: object + properties: + error: + type: string + code: + type: integer + format: int32 + message: + type: string + details: + type: array + items: + type: object + properties: + type_url: + type: string + value: + type: string + format: byte + parameters: + - name: owner + in: path + required: true + schema: + type: string + - name: pagination.key + description: |- + key is a value returned in PageResponse.next_key to begin + querying the next page most efficiently. Only one of offset or key + should be set. + in: query + required: false + schema: + type: string + format: byte + - name: pagination.offset + description: >- + offset is a numeric offset that can be used when key is unavailable. + + It is less efficient than using key. Only one of offset or key should + + be set. + in: query + required: false + schema: + type: string + format: uint64 + - name: pagination.limit + description: >- + limit is the total number of results to be returned in the result page. + + If left empty it will default to a value to be set by each app. + in: query + required: false + schema: + type: string + format: uint64 + - name: pagination.count_total + description: >- + count_total is set to true to indicate that the result set should include + + a count of the total number of items available for pagination in UIs. + + count_total is only respected when offset is used. It is ignored when key + + is set. + in: query + required: false + schema: + type: boolean + - name: pagination.reverse + description: >- + reverse is set to true if results are to be returned in the descending + + order. + in: query + required: false + schema: + type: boolean + tags: + - Query + "/comdex/locker/v1beta1/owner_locker_tx-details_by_app_asset/{app_id}/{owner}/{asset_id}": + get: + operationId: QueryOwnerTxDetailsLockerOfAppByOwnerByAsset + responses: + "200": + description: A successful response. + content: + "*/*": + schema: + type: object + properties: + user_tx_data: + type: array + items: + type: object + properties: + tx_type: + type: string + amount: + type: string + balance: + type: string + tx_time: + type: string + format: date-time + pagination: + type: object + properties: + next_key: + type: string + format: byte + title: |- + next_key is the key to be passed to PageRequest.key to + query the next page most efficiently + total: + type: string + format: uint64 + title: >- + total is total number of results available if PageRequest.count_total + + was set, its value is undefined otherwise + description: >- + PageResponse is to be embedded in gRPC response messages where the + + corresponding request message has used PageRequest. + + + message SomeResponse { + repeated Bar results = 1; + PageResponse page = 2; + } + default: + description: An unexpected error response. + content: + "*/*": + schema: + type: object + properties: + error: + type: string + code: + type: integer + format: int32 + message: + type: string + details: + type: array + items: + type: object + properties: + type_url: + type: string + value: + type: string + format: byte + parameters: + - name: app_id + in: path + required: true + schema: + type: string + format: uint64 + - name: owner + in: path + required: true + schema: + type: string + - name: asset_id + in: path + required: true + schema: + type: string + format: uint64 + - name: pagination.key + description: |- + key is a value returned in PageResponse.next_key to begin + querying the next page most efficiently. Only one of offset or key + should be set. + in: query + required: false + schema: + type: string + format: byte + - name: pagination.offset + description: >- + offset is a numeric offset that can be used when key is unavailable. + + It is less efficient than using key. Only one of offset or key should + + be set. + in: query + required: false + schema: + type: string + format: uint64 + - name: pagination.limit + description: >- + limit is the total number of results to be returned in the result page. + + If left empty it will default to a value to be set by each app. + in: query + required: false + schema: + type: string + format: uint64 + - name: pagination.count_total + description: >- + count_total is set to true to indicate that the result set should include + + a count of the total number of items available for pagination in UIs. + + count_total is only respected when offset is used. It is ignored when key + + is set. + in: query + required: false + schema: + type: boolean + - name: pagination.reverse + description: >- + reverse is set to true if results are to be returned in the descending + + order. + in: query + required: false + schema: + type: boolean + tags: + - Query + "/comdex/locker/v1beta1/total_deposit_app_asset_id/{app_id}/{asset_id}": + get: + operationId: QueryTotalDepositByAppAndAssetID + responses: + "200": + description: A successful response. + content: + "*/*": + schema: + type: object + properties: + total_deposit: + type: string + format: uint64 + default: + description: An unexpected error response. + content: + "*/*": + schema: + type: object + properties: + error: + type: string + code: + type: integer + format: int32 + message: + type: string + details: + type: array + items: + type: object + properties: + type_url: + type: string + value: + type: string + format: byte + parameters: + - name: app_id + in: path + required: true + schema: + type: string + format: uint64 + - name: asset_id + in: path + required: true + schema: + type: string + format: uint64 + tags: + - Query + "/comdex/locker/v1beta1/total_locker_app_asset_id/{app_id}/{asset_id}": + get: + operationId: QueryLockerCountByAppToAssetID + responses: + "200": + description: A successful response. + content: + "*/*": + schema: + type: object + properties: + total_count: + type: string + format: uint64 + pagination: + type: object + properties: + key: + type: string + format: byte + description: >- + key is a value returned in PageResponse.next_key to begin + + querying the next page most efficiently. Only one of offset or key + + should be set. + offset: + type: string + format: uint64 + description: >- + offset is a numeric offset that can be used when key is unavailable. + + It is less efficient than using key. Only one of offset or key should + + be set. + limit: + type: string + format: uint64 + description: >- + limit is the total number of results to be returned in the result page. + + If left empty it will default to a value to be set by each app. + count_total: + type: boolean + description: >- + count_total is set to true to indicate that the result set should include + + a count of the total number of items available for pagination in UIs. + + count_total is only respected when offset is used. It is ignored when key + + is set. + reverse: + type: boolean + description: >- + reverse is set to true if results are to be returned in the descending + + order. + description: |- + message SomeRequest { + Foo some_parameter = 1; + PageRequest pagination = 2; + } + title: >- + PageRequest is to be embedded in gRPC request messages for efficient + + pagination. Ex: + default: + description: An unexpected error response. + content: + "*/*": + schema: + type: object + properties: + error: + type: string + code: + type: integer + format: int32 + message: + type: string + details: + type: array + items: + type: object + properties: + type_url: + type: string + value: + type: string + format: byte + parameters: + - name: app_id + in: path + required: true + schema: + type: string + format: uint64 + - name: asset_id + in: path + required: true + schema: + type: string + format: uint64 + tags: + - Query + "/comdex/locker/v1beta1/total_locker_app_id/{app_id}": + get: + operationId: QueryLockerCountByAppID + responses: + "200": + description: A successful response. + content: + "*/*": + schema: + type: object + properties: + total_count: + type: string + format: uint64 + default: + description: An unexpected error response. + content: + "*/*": + schema: + type: object + properties: + error: + type: string + code: + type: integer + format: int32 + message: + type: string + details: + type: array + items: + type: object + properties: + type_url: + type: string + value: + type: string + format: byte + parameters: + - name: app_id + in: path + required: true + schema: + type: string + format: uint64 + tags: + - Query + /comdex/locker/v1beta1/whitelisted_asset_app_id: + get: + operationId: QueryWhiteListedAssetByAllApps + responses: + "200": + description: A successful response. + content: + "*/*": + schema: + type: object + properties: + product_to_all_asset: + type: array + items: + type: object + properties: + app_id: + type: string + format: uint64 + assets: + type: array + items: + type: object + properties: + id: + type: string + format: uint64 + name: + type: string + denom: + type: string + decimals: + type: string + is_on_chain: + type: boolean + is_oracle_price_required: + type: boolean + is_cdp_mintable: + type: boolean + pagination: + type: object + properties: + next_key: + type: string + format: byte + title: |- + next_key is the key to be passed to PageRequest.key to + query the next page most efficiently + total: + type: string + format: uint64 + title: >- + total is total number of results available if PageRequest.count_total + + was set, its value is undefined otherwise + description: >- + PageResponse is to be embedded in gRPC response messages where the + + corresponding request message has used PageRequest. + + + message SomeResponse { + repeated Bar results = 1; + PageResponse page = 2; + } + default: + description: An unexpected error response. + content: + "*/*": + schema: + type: object + properties: + error: + type: string + code: + type: integer + format: int32 + message: + type: string + details: + type: array + items: + type: object + properties: + type_url: + type: string + value: + type: string + format: byte + parameters: + - name: pagination.key + description: |- + key is a value returned in PageResponse.next_key to begin + querying the next page most efficiently. Only one of offset or key + should be set. + in: query + required: false + schema: + type: string + format: byte + - name: pagination.offset + description: >- + offset is a numeric offset that can be used when key is unavailable. + + It is less efficient than using key. Only one of offset or key should + + be set. + in: query + required: false + schema: + type: string + format: uint64 + - name: pagination.limit + description: >- + limit is the total number of results to be returned in the result page. + + If left empty it will default to a value to be set by each app. + in: query + required: false + schema: + type: string + format: uint64 + - name: pagination.count_total + description: >- + count_total is set to true to indicate that the result set should include + + a count of the total number of items available for pagination in UIs. + + count_total is only respected when offset is used. It is ignored when key + + is set. + in: query + required: false + schema: + type: boolean + - name: pagination.reverse + description: >- + reverse is set to true if results are to be returned in the descending + + order. + in: query + required: false + schema: + type: boolean + tags: + - Query + "/comdex/locker/v1beta1/whitelisted_asset_ids_by_app_id/{app_id}": + get: + operationId: QueryWhiteListedAssetIDsByAppID + responses: + "200": + description: A successful response. + content: + "*/*": + schema: + type: object + properties: + asset_ids: + type: array + items: + type: string + format: uint64 + pagination: + type: object + properties: + next_key: + type: string + format: byte + title: |- + next_key is the key to be passed to PageRequest.key to + query the next page most efficiently + total: + type: string + format: uint64 + title: >- + total is total number of results available if PageRequest.count_total + + was set, its value is undefined otherwise + description: >- + PageResponse is to be embedded in gRPC response messages where the + + corresponding request message has used PageRequest. + + + message SomeResponse { + repeated Bar results = 1; + PageResponse page = 2; + } + default: + description: An unexpected error response. + content: + "*/*": + schema: + type: object + properties: + error: + type: string + code: + type: integer + format: int32 + message: + type: string + details: + type: array + items: + type: object + properties: + type_url: + type: string + value: + type: string + format: byte + parameters: + - name: app_id + in: path + required: true + schema: + type: string + format: uint64 + - name: pagination.key + description: |- + key is a value returned in PageResponse.next_key to begin + querying the next page most efficiently. Only one of offset or key + should be set. + in: query + required: false + schema: + type: string + format: byte + - name: pagination.offset + description: >- + offset is a numeric offset that can be used when key is unavailable. + + It is less efficient than using key. Only one of offset or key should + + be set. + in: query + required: false + schema: + type: string + format: uint64 + - name: pagination.limit + description: >- + limit is the total number of results to be returned in the result page. + + If left empty it will default to a value to be set by each app. + in: query + required: false + schema: + type: string + format: uint64 + - name: pagination.count_total + description: >- + count_total is set to true to indicate that the result set should include + + a count of the total number of items available for pagination in UIs. + + count_total is only respected when offset is used. It is ignored when key + + is set. + in: query + required: false + schema: + type: boolean + - name: pagination.reverse + description: >- + reverse is set to true if results are to be returned in the descending + + order. + in: query + required: false + schema: + type: boolean + tags: + - Query + /comdex/market/v1beta1/timeWeightedAverage: + get: + operationId: QueryMarkets + responses: + "200": + description: A successful response. + content: + "*/*": + schema: + type: object + properties: + timeWeightedAverage: + type: array + items: + type: object + properties: + asset_id: + type: string + format: uint64 + script_id: + type: string + format: uint64 + twa: + type: string + format: uint64 + current_index: + type: string + format: uint64 + is_price_active: + type: boolean + price_value: + type: array + items: + type: string + format: uint64 + discarded_height_diff: + type: string + format: int64 + pagination: + type: object + properties: + next_key: + type: string + format: byte + title: |- + next_key is the key to be passed to PageRequest.key to + query the next page most efficiently + total: + type: string + format: uint64 + title: >- + total is total number of results available if PageRequest.count_total + + was set, its value is undefined otherwise + description: >- + PageResponse is to be embedded in gRPC response messages where the + + corresponding request message has used PageRequest. + + + message SomeResponse { + repeated Bar results = 1; + PageResponse page = 2; + } + default: + description: An unexpected error response. + content: + "*/*": + schema: + type: object + properties: + error: + type: string + code: + type: integer + format: int32 + message: + type: string + details: + type: array + items: + type: object + properties: + type_url: + type: string + value: + type: string + format: byte + parameters: + - name: pagination.key + description: |- + key is a value returned in PageResponse.next_key to begin + querying the next page most efficiently. Only one of offset or key + should be set. + in: query + required: false + schema: + type: string + format: byte + - name: pagination.offset + description: >- + offset is a numeric offset that can be used when key is unavailable. + + It is less efficient than using key. Only one of offset or key should + + be set. + in: query + required: false + schema: + type: string + format: uint64 + - name: pagination.limit + description: >- + limit is the total number of results to be returned in the result page. + + If left empty it will default to a value to be set by each app. + in: query + required: false + schema: + type: string + format: uint64 + - name: pagination.count_total + description: >- + count_total is set to true to indicate that the result set should include + + a count of the total number of items available for pagination in UIs. + + count_total is only respected when offset is used. It is ignored when key + + is set. + in: query + required: false + schema: + type: boolean + - name: pagination.reverse + description: >- + reverse is set to true if results are to be returned in the descending + + order. + in: query + required: false + schema: + type: boolean + tags: + - Query + "/comdex/market/v1beta1/timeWeightedAverage/{assetID}": + get: + operationId: QueryMarket + responses: + "200": + description: A successful response. + content: + "*/*": + schema: + type: object + properties: + timeWeightedAverage: + type: object + properties: + asset_id: + type: string + format: uint64 + script_id: + type: string + format: uint64 + twa: + type: string + format: uint64 + current_index: + type: string + format: uint64 + is_price_active: + type: boolean + price_value: + type: array + items: + type: string + format: uint64 + discarded_height_diff: + type: string + format: int64 + default: + description: An unexpected error response. + content: + "*/*": + schema: + type: object + properties: + error: + type: string + code: + type: integer + format: int32 + message: + type: string + details: + type: array + items: + type: object + properties: + type_url: + type: string + value: + type: string + format: byte + parameters: + - name: assetID + in: path + required: true + schema: + type: string + format: uint64 + tags: + - Query + "/comdex/rewards/v1beta1/epoch_duration/{duration_seconds}": + get: + operationId: QueryEpochInfoByDuration + responses: + "200": + description: A successful response. + content: + "*/*": + schema: + type: object + properties: + epoch: + type: object + properties: + start_time: + type: string + format: date-time + duration: + type: string + current_epoch: + type: string + format: int64 + current_epoch_start_time: + type: string + format: date-time + current_epoch_start_height: + type: string + format: int64 + default: + description: An unexpected error response. + content: + "*/*": + schema: + type: object + properties: + error: + type: string + code: + type: integer + format: int32 + message: + type: string + details: + type: array + items: + type: object + properties: + type_url: + type: string + value: + type: string + format: byte + parameters: + - name: duration_seconds + in: path + required: true + schema: + type: string + format: uint64 + tags: + - Query + /comdex/rewards/v1beta1/epoch_time: + get: + operationId: QueryEpochTime + responses: + "200": + description: A successful response. + content: + "*/*": + schema: + type: object + properties: + epoch_time: + type: array + items: + type: object + properties: + id: + type: string + format: uint64 + app_mapping_id: + type: string + format: uint64 + starting_time: + type: string + format: int64 + count: + type: string + format: uint64 + pagination: + type: object + properties: + next_key: + type: string + format: byte + title: |- + next_key is the key to be passed to PageRequest.key to + query the next page most efficiently + total: + type: string + format: uint64 + title: >- + total is total number of results available if PageRequest.count_total + + was set, its value is undefined otherwise + description: >- + PageResponse is to be embedded in gRPC response messages where the + + corresponding request message has used PageRequest. + + + message SomeResponse { + repeated Bar results = 1; + PageResponse page = 2; + } + default: + description: An unexpected error response. + content: + "*/*": + schema: + type: object + properties: + error: + type: string + code: + type: integer + format: int32 + message: + type: string + details: + type: array + items: + type: object + properties: + type_url: + type: string + value: + type: string + format: byte + parameters: + - name: pagination.key + description: |- + key is a value returned in PageResponse.next_key to begin + querying the next page most efficiently. Only one of offset or key + should be set. + in: query + required: false + schema: + type: string + format: byte + - name: pagination.offset + description: >- + offset is a numeric offset that can be used when key is unavailable. + + It is less efficient than using key. Only one of offset or key should + + be set. + in: query + required: false + schema: + type: string + format: uint64 + - name: pagination.limit + description: >- + limit is the total number of results to be returned in the result page. + + If left empty it will default to a value to be set by each app. + in: query + required: false + schema: + type: string + format: uint64 + - name: pagination.count_total + description: >- + count_total is set to true to indicate that the result set should include + + a count of the total number of items available for pagination in UIs. + + count_total is only respected when offset is used. It is ignored when key + + is set. + in: query + required: false + schema: + type: boolean + - name: pagination.reverse + description: >- + reverse is set to true if results are to be returned in the descending + + order. + in: query + required: false + schema: + type: boolean + tags: + - Query + /comdex/rewards/v1beta1/epochs: + get: + operationId: QueryAllEpochsInfo + responses: + "200": + description: A successful response. + content: + "*/*": + schema: + type: object + properties: + epochs: + type: array + items: + type: object + properties: + start_time: + type: string + format: date-time + duration: + type: string + current_epoch: + type: string + format: int64 + current_epoch_start_time: + type: string + format: date-time + current_epoch_start_height: + type: string + format: int64 + pagination: + type: object + properties: + next_key: + type: string + format: byte + title: |- + next_key is the key to be passed to PageRequest.key to + query the next page most efficiently + total: + type: string + format: uint64 + title: >- + total is total number of results available if PageRequest.count_total + + was set, its value is undefined otherwise + description: >- + PageResponse is to be embedded in gRPC response messages where the + + corresponding request message has used PageRequest. + + + message SomeResponse { + repeated Bar results = 1; + PageResponse page = 2; + } + default: + description: An unexpected error response. + content: + "*/*": + schema: + type: object + properties: + error: + type: string + code: + type: integer + format: int32 + message: + type: string + details: + type: array + items: + type: object + properties: + type_url: + type: string + value: + type: string + format: byte + parameters: + - name: pagination.key + description: |- + key is a value returned in PageResponse.next_key to begin + querying the next page most efficiently. Only one of offset or key + should be set. + in: query + required: false + schema: + type: string + format: byte + - name: pagination.offset + description: >- + offset is a numeric offset that can be used when key is unavailable. + + It is less efficient than using key. Only one of offset or key should + + be set. + in: query + required: false + schema: + type: string + format: uint64 + - name: pagination.limit + description: >- + limit is the total number of results to be returned in the result page. + + If left empty it will default to a value to be set by each app. + in: query + required: false + schema: + type: string + format: uint64 + - name: pagination.count_total + description: >- + count_total is set to true to indicate that the result set should include + + a count of the total number of items available for pagination in UIs. + + count_total is only respected when offset is used. It is ignored when key + + is set. + in: query + required: false + schema: + type: boolean + - name: pagination.reverse + description: >- + reverse is set to true if results are to be returned in the descending + + order. + in: query + required: false + schema: + type: boolean + tags: + - Query + /comdex/rewards/v1beta1/ext_rewards_lend_apr: + get: + operationId: QueryExtLendRewardsAPR + responses: + "200": + description: A successful response. + content: + "*/*": + schema: + type: object + properties: + apr: + type: string + default: + description: An unexpected error response. + content: + "*/*": + schema: + type: object + properties: + error: + type: string + code: + type: integer + format: int32 + message: + type: string + details: + type: array + items: + type: object + properties: + type_url: + type: string + value: + type: string + format: byte + parameters: + - name: asset_id + in: query + required: false + schema: + type: string + format: uint64 + - name: c_pool_id + in: query + required: false + schema: + type: string + format: uint64 + tags: + - Query + "/comdex/rewards/v1beta1/gauge/{gauge_id}": + get: + operationId: QueryGaugeByID + responses: + "200": + description: A successful response. + content: + "*/*": + schema: + type: object + properties: + gauge: + type: object + properties: + id: + type: string + format: uint64 + from: + type: string + created_at: + type: string + format: date-time + start_time: + type: string + format: date-time + gauge_type_id: + type: string + format: uint64 + trigger_duration: + type: string + deposit_amount: + type: object + properties: + denom: + type: string + amount: + type: string + description: >- + Coin defines a token with a denomination and an amount. + + + NOTE: The amount field is an Int which implements the custom method + + signatures required by gogoproto. + total_triggers: + type: string + format: uint64 + triggered_count: + type: string + format: uint64 + distributed_amount: + type: object + properties: + denom: + type: string + amount: + type: string + description: >- + Coin defines a token with a denomination and an amount. + + + NOTE: The amount field is an Int which implements the custom method + + signatures required by gogoproto. + is_active: + type: boolean + for_swap_fee: + type: boolean + liquidity_meta_data: + type: object + properties: + pool_id: + type: string + format: uint64 + is_master_pool: + type: boolean + child_pool_ids: + type: array + items: + type: string + format: uint64 + app_id: + type: string + format: uint64 + default: + description: An unexpected error response. + content: + "*/*": + schema: + type: object + properties: + error: + type: string + code: + type: integer + format: int32 + message: + type: string + details: + type: array + items: + type: object + properties: + type_url: + type: string + value: + type: string + format: byte + parameters: + - name: gauge_id + in: path + required: true + schema: + type: string + format: uint64 + tags: + - Query + "/comdex/rewards/v1beta1/gauge_duration/{duration_seconds}": + get: + operationId: QueryGaugeByDuration + responses: + "200": + description: A successful response. + content: + "*/*": + schema: + type: object + properties: + gauges: + type: array + items: + type: object + properties: + id: + type: string + format: uint64 + from: + type: string + created_at: + type: string + format: date-time + start_time: + type: string + format: date-time + gauge_type_id: + type: string + format: uint64 + trigger_duration: + type: string + deposit_amount: + type: object + properties: + denom: + type: string + amount: + type: string + description: >- + Coin defines a token with a denomination and an amount. + + + NOTE: The amount field is an Int which implements the custom method + + signatures required by gogoproto. + total_triggers: + type: string + format: uint64 + triggered_count: + type: string + format: uint64 + distributed_amount: + type: object + properties: + denom: + type: string + amount: + type: string + description: >- + Coin defines a token with a denomination and an amount. + + + NOTE: The amount field is an Int which implements the custom method + + signatures required by gogoproto. + is_active: + type: boolean + for_swap_fee: + type: boolean + liquidity_meta_data: + type: object + properties: + pool_id: + type: string + format: uint64 + is_master_pool: + type: boolean + child_pool_ids: + type: array + items: + type: string + format: uint64 + app_id: + type: string + format: uint64 + default: + description: An unexpected error response. + content: + "*/*": + schema: + type: object + properties: + error: + type: string + code: + type: integer + format: int32 + message: + type: string + details: + type: array + items: + type: object + properties: + type_url: + type: string + value: + type: string + format: byte + parameters: + - name: duration_seconds + in: path + required: true + schema: + type: string + format: uint64 + tags: + - Query + /comdex/rewards/v1beta1/gauges: + get: + operationId: QueryAllGauges + responses: + "200": + description: A successful response. + content: + "*/*": + schema: + type: object + properties: + gauges: + type: array + items: + type: object + properties: + id: + type: string + format: uint64 + from: + type: string + created_at: + type: string + format: date-time + start_time: + type: string + format: date-time + gauge_type_id: + type: string + format: uint64 + trigger_duration: + type: string + deposit_amount: + type: object + properties: + denom: + type: string + amount: + type: string + description: >- + Coin defines a token with a denomination and an amount. + + + NOTE: The amount field is an Int which implements the custom method + + signatures required by gogoproto. + total_triggers: + type: string + format: uint64 + triggered_count: + type: string + format: uint64 + distributed_amount: + type: object + properties: + denom: + type: string + amount: + type: string + description: >- + Coin defines a token with a denomination and an amount. + + + NOTE: The amount field is an Int which implements the custom method + + signatures required by gogoproto. + is_active: + type: boolean + for_swap_fee: + type: boolean + liquidity_meta_data: + type: object + properties: + pool_id: + type: string + format: uint64 + is_master_pool: + type: boolean + child_pool_ids: + type: array + items: + type: string + format: uint64 + app_id: + type: string + format: uint64 + pagination: + type: object + properties: + next_key: + type: string + format: byte + title: |- + next_key is the key to be passed to PageRequest.key to + query the next page most efficiently + total: + type: string + format: uint64 + title: >- + total is total number of results available if PageRequest.count_total + + was set, its value is undefined otherwise + description: >- + PageResponse is to be embedded in gRPC response messages where the + + corresponding request message has used PageRequest. + + + message SomeResponse { + repeated Bar results = 1; + PageResponse page = 2; + } + default: + description: An unexpected error response. + content: + "*/*": + schema: + type: object + properties: + error: + type: string + code: + type: integer + format: int32 + message: + type: string + details: + type: array + items: + type: object + properties: + type_url: + type: string + value: + type: string + format: byte + parameters: + - name: pagination.key + description: |- + key is a value returned in PageResponse.next_key to begin + querying the next page most efficiently. Only one of offset or key + should be set. + in: query + required: false + schema: + type: string + format: byte + - name: pagination.offset + description: >- + offset is a numeric offset that can be used when key is unavailable. + + It is less efficient than using key. Only one of offset or key should + + be set. + in: query + required: false + schema: + type: string + format: uint64 + - name: pagination.limit + description: >- + limit is the total number of results to be returned in the result page. + + If left empty it will default to a value to be set by each app. + in: query + required: false + schema: + type: string + format: uint64 + - name: pagination.count_total + description: >- + count_total is set to true to indicate that the result set should include + + a count of the total number of items available for pagination in UIs. + + count_total is only respected when offset is used. It is ignored when key + + is set. + in: query + required: false + schema: + type: boolean + - name: pagination.reverse + description: >- + reverse is set to true if results are to be returned in the descending + + order. + in: query + required: false + schema: + type: boolean + tags: + - Query + /comdex/rewards/v1beta1/lend_external_rewards: + get: + operationId: QueryExternalRewardLends + responses: + "200": + description: A successful response. + content: + "*/*": + schema: + type: object + properties: + lend_external_rewards: + type: array + items: + type: object + properties: + id: + type: string + format: uint64 + app_mapping_id: + type: string + format: uint64 + rewards_asset_pool_data: + type: object + properties: + c_pool_id: + type: string + format: uint64 + asset_id: + type: array + items: + type: string + format: uint64 + c_swap_app_id: + type: string + format: uint64 + c_swap_min_lock_amount: + type: string + format: uint64 + total_rewards: + type: object + properties: + denom: + type: string + amount: + type: string + description: >- + Coin defines a token with a denomination and an amount. + + + NOTE: The amount field is an Int which implements the custom method + + signatures required by gogoproto. + master_pool_id: + type: string + format: int64 + duration_days: + type: string + format: int64 + is_active: + type: boolean + available_rewards: + type: object + properties: + denom: + type: string + amount: + type: string + description: >- + Coin defines a token with a denomination and an amount. + + + NOTE: The amount field is an Int which implements the custom method + + signatures required by gogoproto. + depositor: + type: string + start_timestamp: + type: string + format: date-time + end_timestamp: + type: string + format: date-time + min_lockup_time_seconds: + type: string + format: int64 + epoch_id: + type: string + format: uint64 + pagination: + type: object + properties: + next_key: + type: string + format: byte + title: |- + next_key is the key to be passed to PageRequest.key to + query the next page most efficiently + total: + type: string + format: uint64 + title: >- + total is total number of results available if PageRequest.count_total + + was set, its value is undefined otherwise + description: >- + PageResponse is to be embedded in gRPC response messages where the + + corresponding request message has used PageRequest. + + + message SomeResponse { + repeated Bar results = 1; + PageResponse page = 2; + } + default: + description: An unexpected error response. + content: + "*/*": + schema: + type: object + properties: + error: + type: string + code: + type: integer + format: int32 + message: + type: string + details: + type: array + items: + type: object + properties: + type_url: + type: string + value: + type: string + format: byte + parameters: + - name: pagination.key + description: |- + key is a value returned in PageResponse.next_key to begin + querying the next page most efficiently. Only one of offset or key + should be set. + in: query + required: false + schema: + type: string + format: byte + - name: pagination.offset + description: >- + offset is a numeric offset that can be used when key is unavailable. + + It is less efficient than using key. Only one of offset or key should + + be set. + in: query + required: false + schema: + type: string + format: uint64 + - name: pagination.limit + description: >- + limit is the total number of results to be returned in the result page. + + If left empty it will default to a value to be set by each app. + in: query + required: false + schema: + type: string + format: uint64 + - name: pagination.count_total + description: >- + count_total is set to true to indicate that the result set should include + + a count of the total number of items available for pagination in UIs. + + count_total is only respected when offset is used. It is ignored when key + + is set. + in: query + required: false + schema: + type: boolean + - name: pagination.reverse + description: >- + reverse is set to true if results are to be returned in the descending + + order. + in: query + required: false + schema: + type: boolean + tags: + - Query + /comdex/rewards/v1beta1/locker_external_rewards: + get: + operationId: QueryExternalRewardsLockers + responses: + "200": + description: A successful response. + content: + "*/*": + schema: + type: object + properties: + locker_external_rewards: + type: array + items: + type: object + properties: + id: + type: string + format: uint64 + app_mapping_id: + type: string + format: uint64 + asset_id: + type: string + format: uint64 + total_rewards: + type: object + properties: + denom: + type: string + amount: + type: string + description: >- + Coin defines a token with a denomination and an amount. + + + NOTE: The amount field is an Int which implements the custom method + + signatures required by gogoproto. + duration_days: + type: string + format: int64 + is_active: + type: boolean + available_rewards: + type: object + properties: + denom: + type: string + amount: + type: string + description: >- + Coin defines a token with a denomination and an amount. + + + NOTE: The amount field is an Int which implements the custom method + + signatures required by gogoproto. + depositor: + type: string + start_timestamp: + type: string + format: date-time + end_timestamp: + type: string + format: date-time + min_lockup_time_seconds: + type: string + format: int64 + epoch_id: + type: string + format: uint64 + pagination: + type: object + properties: + next_key: + type: string + format: byte + title: |- + next_key is the key to be passed to PageRequest.key to + query the next page most efficiently + total: + type: string + format: uint64 + title: >- + total is total number of results available if PageRequest.count_total + + was set, its value is undefined otherwise + description: >- + PageResponse is to be embedded in gRPC response messages where the + + corresponding request message has used PageRequest. + + + message SomeResponse { + repeated Bar results = 1; + PageResponse page = 2; + } + default: + description: An unexpected error response. + content: + "*/*": + schema: + type: object + properties: + error: + type: string + code: + type: integer + format: int32 + message: + type: string + details: + type: array + items: + type: object + properties: + type_url: + type: string + value: + type: string + format: byte + parameters: + - name: pagination.key + description: |- + key is a value returned in PageResponse.next_key to begin + querying the next page most efficiently. Only one of offset or key + should be set. + in: query + required: false + schema: + type: string + format: byte + - name: pagination.offset + description: >- + offset is a numeric offset that can be used when key is unavailable. + + It is less efficient than using key. Only one of offset or key should + + be set. + in: query + required: false + schema: + type: string + format: uint64 + - name: pagination.limit + description: >- + limit is the total number of results to be returned in the result page. + + If left empty it will default to a value to be set by each app. + in: query + required: false + schema: + type: string + format: uint64 + - name: pagination.count_total + description: >- + count_total is set to true to indicate that the result set should include + + a count of the total number of items available for pagination in UIs. + + count_total is only respected when offset is used. It is ignored when key + + is set. + in: query + required: false + schema: + type: boolean + - name: pagination.reverse + description: >- + reverse is set to true if results are to be returned in the descending + + order. + in: query + required: false + schema: + type: boolean + tags: + - Query + /comdex/rewards/v1beta1/params: + get: + operationId: rewardsParams + responses: + "200": + description: A successful response. + content: + "*/*": + schema: + type: object + properties: + params: + type: object + description: Params defines the parameters for the module. + default: + description: An unexpected error response. + content: + "*/*": + schema: + type: object + properties: + error: + type: string + code: + type: integer + format: int32 + message: + type: string + details: + type: array + items: + type: object + properties: + type_url: + type: string + value: + type: string + format: byte + tags: + - Query + "/comdex/rewards/v1beta1/reward/{id}": + get: + operationId: QueryReward + responses: + "200": + description: A successful response. + content: + "*/*": + schema: + type: object + properties: + reward: + type: array + items: + type: object + properties: + app_mapping_id: + type: string + format: uint64 + asset_id: + type: string + format: uint64 + default: + description: An unexpected error response. + content: + "*/*": + schema: + type: object + properties: + error: + type: string + code: + type: integer + format: int32 + message: + type: string + details: + type: array + items: + type: object + properties: + type_url: + type: string + value: + type: string + format: byte + parameters: + - name: id + in: path + required: true + schema: + type: string + format: uint64 + tags: + - Query + /comdex/rewards/v1beta1/rewards: + get: + operationId: QueryRewards + responses: + "200": + description: A successful response. + content: + "*/*": + schema: + type: object + properties: + rewards: + type: array + items: + type: object + properties: + app_mapping_id: + type: string + format: uint64 + asset_id: + type: string + format: uint64 + pagination: + type: object + properties: + next_key: + type: string + format: byte + title: |- + next_key is the key to be passed to PageRequest.key to + query the next page most efficiently + total: + type: string + format: uint64 + title: >- + total is total number of results available if PageRequest.count_total + + was set, its value is undefined otherwise + description: >- + PageResponse is to be embedded in gRPC response messages where the + + corresponding request message has used PageRequest. + + + message SomeResponse { + repeated Bar results = 1; + PageResponse page = 2; + } + default: + description: An unexpected error response. + content: + "*/*": + schema: + type: object + properties: + error: + type: string + code: + type: integer + format: int32 + message: + type: string + details: + type: array + items: + type: object + properties: + type_url: + type: string + value: + type: string + format: byte + parameters: + - name: pagination.key + description: |- + key is a value returned in PageResponse.next_key to begin + querying the next page most efficiently. Only one of offset or key + should be set. + in: query + required: false + schema: + type: string + format: byte + - name: pagination.offset + description: >- + offset is a numeric offset that can be used when key is unavailable. + + It is less efficient than using key. Only one of offset or key should + + be set. + in: query + required: false + schema: + type: string + format: uint64 + - name: pagination.limit + description: >- + limit is the total number of results to be returned in the result page. + + If left empty it will default to a value to be set by each app. + in: query + required: false + schema: + type: string + format: uint64 + - name: pagination.count_total + description: >- + count_total is set to true to indicate that the result set should include + + a count of the total number of items available for pagination in UIs. + + count_total is only respected when offset is used. It is ignored when key + + is set. + in: query + required: false + schema: + type: boolean + - name: pagination.reverse + description: >- + reverse is set to true if results are to be returned in the descending + + order. + in: query + required: false + schema: + type: boolean + tags: + - Query + /comdex/rewards/v1beta1/stable_mint_external_rewards: + get: + operationId: QueryExternalRewardStableMint + responses: + "200": + description: A successful response. + content: + "*/*": + schema: + type: object + properties: + stable_mint_external_rewards: + type: array + items: + type: object + properties: + id: + type: string + format: uint64 + app_id: + type: string + format: uint64 + cswap_app_id: + type: string + format: uint64 + commodo_app_id: + type: string + format: uint64 + total_rewards: + type: object + properties: + denom: + type: string + amount: + type: string + description: >- + Coin defines a token with a denomination and an amount. + + + NOTE: The amount field is an Int which implements the custom method + + signatures required by gogoproto. + duration_days: + type: string + format: int64 + is_active: + type: boolean + available_rewards: + type: object + properties: + denom: + type: string + amount: + type: string + description: >- + Coin defines a token with a denomination and an amount. + + + NOTE: The amount field is an Int which implements the custom method + + signatures required by gogoproto. + depositor: + type: string + start_timestamp: + type: string + format: date-time + end_timestamp: + type: string + format: date-time + accepted_block_height: + type: string + format: int64 + epoch_id: + type: string + format: uint64 + pagination: + type: object + properties: + next_key: + type: string + format: byte + title: |- + next_key is the key to be passed to PageRequest.key to + query the next page most efficiently + total: + type: string + format: uint64 + title: >- + total is total number of results available if PageRequest.count_total + + was set, its value is undefined otherwise + description: >- + PageResponse is to be embedded in gRPC response messages where the + + corresponding request message has used PageRequest. + + + message SomeResponse { + repeated Bar results = 1; + PageResponse page = 2; + } + default: + description: An unexpected error response. + content: + "*/*": + schema: + type: object + properties: + error: + type: string + code: + type: integer + format: int32 + message: + type: string + details: + type: array + items: + type: object + properties: + type_url: + type: string + value: + type: string + format: byte + parameters: + - name: pagination.key + description: |- + key is a value returned in PageResponse.next_key to begin + querying the next page most efficiently. Only one of offset or key + should be set. + in: query + required: false + schema: + type: string + format: byte + - name: pagination.offset + description: >- + offset is a numeric offset that can be used when key is unavailable. + + It is less efficient than using key. Only one of offset or key should + + be set. + in: query + required: false + schema: + type: string + format: uint64 + - name: pagination.limit + description: >- + limit is the total number of results to be returned in the result page. + + If left empty it will default to a value to be set by each app. + in: query + required: false + schema: + type: string + format: uint64 + - name: pagination.count_total + description: >- + count_total is set to true to indicate that the result set should include + + a count of the total number of items available for pagination in UIs. + + count_total is only respected when offset is used. It is ignored when key + + is set. + in: query + required: false + schema: + type: boolean + - name: pagination.reverse + description: >- + reverse is set to true if results are to be returned in the descending + + order. + in: query + required: false + schema: + type: boolean + tags: + - Query + /comdex/rewards/v1beta1/vault_external_rewards: + get: + operationId: QueryExternalRewardVaults + responses: + "200": + description: A successful response. + content: + "*/*": + schema: + type: object + properties: + vault_external_rewards: + type: array + items: + type: object + properties: + id: + type: string + format: uint64 + app_mapping_id: + type: string + format: uint64 + extended_pair_id: + type: string + format: uint64 + total_rewards: + type: object + properties: + denom: + type: string + amount: + type: string + description: >- + Coin defines a token with a denomination and an amount. + + + NOTE: The amount field is an Int which implements the custom method + + signatures required by gogoproto. + duration_days: + type: string + format: int64 + is_active: + type: boolean + available_rewards: + type: object + properties: + denom: + type: string + amount: + type: string + description: >- + Coin defines a token with a denomination and an amount. + + + NOTE: The amount field is an Int which implements the custom method + + signatures required by gogoproto. + depositor: + type: string + start_timestamp: + type: string + format: date-time + end_timestamp: + type: string + format: date-time + min_lockup_time_seconds: + type: string + format: int64 + epoch_id: + type: string + format: uint64 + pagination: + type: object + properties: + next_key: + type: string + format: byte + title: |- + next_key is the key to be passed to PageRequest.key to + query the next page most efficiently + total: + type: string + format: uint64 + title: >- + total is total number of results available if PageRequest.count_total + + was set, its value is undefined otherwise + description: >- + PageResponse is to be embedded in gRPC response messages where the + + corresponding request message has used PageRequest. + + + message SomeResponse { + repeated Bar results = 1; + PageResponse page = 2; + } + default: + description: An unexpected error response. + content: + "*/*": + schema: + type: object + properties: + error: + type: string + code: + type: integer + format: int32 + message: + type: string + details: + type: array + items: + type: object + properties: + type_url: + type: string + value: + type: string + format: byte + parameters: + - name: pagination.key + description: |- + key is a value returned in PageResponse.next_key to begin + querying the next page most efficiently. Only one of offset or key + should be set. + in: query + required: false + schema: + type: string + format: byte + - name: pagination.offset + description: >- + offset is a numeric offset that can be used when key is unavailable. + + It is less efficient than using key. Only one of offset or key should + + be set. + in: query + required: false + schema: + type: string + format: uint64 + - name: pagination.limit + description: >- + limit is the total number of results to be returned in the result page. + + If left empty it will default to a value to be set by each app. + in: query + required: false + schema: + type: string + format: uint64 + - name: pagination.count_total + description: >- + count_total is set to true to indicate that the result set should include + + a count of the total number of items available for pagination in UIs. + + count_total is only respected when offset is used. It is ignored when key + + is set. + in: query + required: false + schema: + type: boolean + - name: pagination.reverse + description: >- + reverse is set to true if results are to be returned in the descending + + order. + in: query + required: false + schema: + type: boolean + tags: + - Query + /comdex/rewards/v1beta1/whitelisted_appids_Vault: + get: + operationId: QueryWhitelistedAppIdsVault + responses: + "200": + description: A successful response. + content: + "*/*": + schema: + type: object + properties: + whitelistedAppIdsVault: + type: array + items: + type: string + format: uint64 + pagination: + type: object + properties: + next_key: + type: string + format: byte + title: |- + next_key is the key to be passed to PageRequest.key to + query the next page most efficiently + total: + type: string + format: uint64 + title: >- + total is total number of results available if PageRequest.count_total + + was set, its value is undefined otherwise + description: >- + PageResponse is to be embedded in gRPC response messages where the + + corresponding request message has used PageRequest. + + + message SomeResponse { + repeated Bar results = 1; + PageResponse page = 2; + } + default: + description: An unexpected error response. + content: + "*/*": + schema: + type: object + properties: + error: + type: string + code: + type: integer + format: int32 + message: + type: string + details: + type: array + items: + type: object + properties: + type_url: + type: string + value: + type: string + format: byte + parameters: + - name: pagination.key + description: |- + key is a value returned in PageResponse.next_key to begin + querying the next page most efficiently. Only one of offset or key + should be set. + in: query + required: false + schema: + type: string + format: byte + - name: pagination.offset + description: >- + offset is a numeric offset that can be used when key is unavailable. + + It is less efficient than using key. Only one of offset or key should + + be set. + in: query + required: false + schema: + type: string + format: uint64 + - name: pagination.limit + description: >- + limit is the total number of results to be returned in the result page. + + If left empty it will default to a value to be set by each app. + in: query + required: false + schema: + type: string + format: uint64 + - name: pagination.count_total + description: >- + count_total is set to true to indicate that the result set should include + + a count of the total number of items available for pagination in UIs. + + count_total is only respected when offset is used. It is ignored when key + + is set. + in: query + required: false + schema: + type: boolean + - name: pagination.reverse + description: >- + reverse is set to true if results are to be returned in the descending + + order. + in: query + required: false + schema: + type: boolean + tags: + - Query + "/comdex/tokenmint/v1beta1/token-minted-by-app-and-asset/{app_id}/{asset_id}": + get: + operationId: QueryTokenMintedByAppAndAsset + responses: + "200": + description: A successful response. + content: + "*/*": + schema: + type: object + properties: + mintedTokens: + type: object + properties: + asset_id: + type: string + format: uint64 + genesis_supply: + type: string + created_at: + type: string + format: date-time + current_supply: + type: string + pagination: + type: object + properties: + next_key: + type: string + format: byte + title: |- + next_key is the key to be passed to PageRequest.key to + query the next page most efficiently + total: + type: string + format: uint64 + title: >- + total is total number of results available if PageRequest.count_total + + was set, its value is undefined otherwise + description: >- + PageResponse is to be embedded in gRPC response messages where the + + corresponding request message has used PageRequest. + + + message SomeResponse { + repeated Bar results = 1; + PageResponse page = 2; + } + default: + description: An unexpected error response. + content: + "*/*": + schema: + type: object + properties: + error: + type: string + code: + type: integer + format: int32 + message: + type: string + details: + type: array + items: + type: object + properties: + type_url: + type: string + value: + type: string + format: byte + parameters: + - name: app_id + in: path + required: true + schema: + type: string + format: uint64 + - name: asset_id + in: path + required: true + schema: + type: string + format: uint64 + - name: pagination.key + description: |- + key is a value returned in PageResponse.next_key to begin + querying the next page most efficiently. Only one of offset or key + should be set. + in: query + required: false + schema: + type: string + format: byte + - name: pagination.offset + description: >- + offset is a numeric offset that can be used when key is unavailable. + + It is less efficient than using key. Only one of offset or key should + + be set. + in: query + required: false + schema: + type: string + format: uint64 + - name: pagination.limit + description: >- + limit is the total number of results to be returned in the result page. + + If left empty it will default to a value to be set by each app. + in: query + required: false + schema: + type: string + format: uint64 + - name: pagination.count_total + description: >- + count_total is set to true to indicate that the result set should include + + a count of the total number of items available for pagination in UIs. + + count_total is only respected when offset is used. It is ignored when key + + is set. + in: query + required: false + schema: + type: boolean + - name: pagination.reverse + description: >- + reverse is set to true if results are to be returned in the descending + + order. + in: query + required: false + schema: + type: boolean + tags: + - Query + "/comdex/tokenmint/v1beta1/token-minted-by-app/{app_id}": + get: + operationId: QueryTokenMintedByApp + responses: + "200": + description: A successful response. + content: + "*/*": + schema: + type: object + properties: + tokenMint: + type: object + properties: + app_id: + type: string + format: uint64 + minted_tokens: + type: array + items: + type: object + properties: + asset_id: + type: string + format: uint64 + genesis_supply: + type: string + created_at: + type: string + format: date-time + current_supply: + type: string + description: app_vault_type_id will be the key for the KVStore for this value. + pagination: + type: object + properties: + next_key: + type: string + format: byte + title: |- + next_key is the key to be passed to PageRequest.key to + query the next page most efficiently + total: + type: string + format: uint64 + title: >- + total is total number of results available if PageRequest.count_total + + was set, its value is undefined otherwise + description: >- + PageResponse is to be embedded in gRPC response messages where the + + corresponding request message has used PageRequest. + + + message SomeResponse { + repeated Bar results = 1; + PageResponse page = 2; + } + default: + description: An unexpected error response. + content: + "*/*": + schema: + type: object + properties: + error: + type: string + code: + type: integer + format: int32 + message: + type: string + details: + type: array + items: + type: object + properties: + type_url: + type: string + value: + type: string + format: byte + parameters: + - name: app_id + in: path + required: true + schema: + type: string + format: uint64 + - name: pagination.key + description: |- + key is a value returned in PageResponse.next_key to begin + querying the next page most efficiently. Only one of offset or key + should be set. + in: query + required: false + schema: + type: string + format: byte + - name: pagination.offset + description: >- + offset is a numeric offset that can be used when key is unavailable. + + It is less efficient than using key. Only one of offset or key should + + be set. + in: query + required: false + schema: + type: string + format: uint64 + - name: pagination.limit + description: >- + limit is the total number of results to be returned in the result page. + + If left empty it will default to a value to be set by each app. + in: query + required: false + schema: + type: string + format: uint64 + - name: pagination.count_total + description: >- + count_total is set to true to indicate that the result set should include + + a count of the total number of items available for pagination in UIs. + + count_total is only respected when offset is used. It is ignored when key + + is set. + in: query + required: false + schema: + type: boolean + - name: pagination.reverse + description: >- + reverse is set to true if results are to be returned in the descending + + order. + in: query + required: false + schema: + type: boolean + tags: + - Query + /comdex/tokenmint/v1beta1/total-token-minted-all-apps: + get: + operationId: QueryAllTokenMintedForAllApps + responses: + "200": + description: A successful response. + content: + "*/*": + schema: + type: object + properties: + tokenMint: + type: array + items: + type: object + properties: + app_id: + type: string + format: uint64 + minted_tokens: + type: array + items: + type: object + properties: + asset_id: + type: string + format: uint64 + genesis_supply: + type: string + created_at: + type: string + format: date-time + current_supply: + type: string + description: app_vault_type_id will be the key for the KVStore for this value. + pagination: + type: object + properties: + next_key: + type: string + format: byte + title: |- + next_key is the key to be passed to PageRequest.key to + query the next page most efficiently + total: + type: string + format: uint64 + title: >- + total is total number of results available if PageRequest.count_total + + was set, its value is undefined otherwise + description: >- + PageResponse is to be embedded in gRPC response messages where the + + corresponding request message has used PageRequest. + + + message SomeResponse { + repeated Bar results = 1; + PageResponse page = 2; + } + default: + description: An unexpected error response. + content: + "*/*": + schema: + type: object + properties: + error: + type: string + code: + type: integer + format: int32 + message: + type: string + details: + type: array + items: + type: object + properties: + type_url: + type: string + value: + type: string + format: byte + parameters: + - name: pagination.key + description: |- + key is a value returned in PageResponse.next_key to begin + querying the next page most efficiently. Only one of offset or key + should be set. + in: query + required: false + schema: + type: string + format: byte + - name: pagination.offset + description: >- + offset is a numeric offset that can be used when key is unavailable. + + It is less efficient than using key. Only one of offset or key should + + be set. + in: query + required: false + schema: + type: string + format: uint64 + - name: pagination.limit + description: >- + limit is the total number of results to be returned in the result page. + + If left empty it will default to a value to be set by each app. + in: query + required: false + schema: + type: string + format: uint64 + - name: pagination.count_total + description: >- + count_total is set to true to indicate that the result set should include + + a count of the total number of items available for pagination in UIs. + + count_total is only respected when offset is used. It is ignored when key + + is set. + in: query + required: false + schema: + type: boolean + - name: pagination.reverse + description: >- + reverse is set to true if results are to be returned in the descending + + order. + in: query + required: false + schema: + type: boolean + tags: + - Query + "/comdex/vault/v1beta1/extendedPairVault-mapping-by-App-and-ExtendedPair/{app_id}/{extended_pair_id}": + get: + operationId: QueryExtendedPairVaultMappingByAppAndExtendedPair + responses: + "200": + description: A successful response. + content: + "*/*": + schema: + type: object + properties: + extendedPairVaultMapping: + type: object + properties: + app_id: + type: string + format: uint64 + extended_pair_id: + type: string + format: uint64 + vault_ids: + type: array + items: + type: string + format: uint64 + token_minted_amount: + type: string + collateral_locked_amount: + type: string + default: + description: An unexpected error response. + content: + "*/*": + schema: + type: object + properties: + error: + type: string + code: + type: integer + format: int32 + message: + type: string + details: + type: array + items: + type: object + properties: + type_url: + type: string + value: + type: string + format: byte + parameters: + - name: app_id + in: path + required: true + schema: + type: string + format: uint64 + - name: extended_pair_id + in: path + required: true + schema: + type: string + format: uint64 + tags: + - Query + "/comdex/vault/v1beta1/extendedPairVault-mapping-by-App/{app_id}": + get: + operationId: QueryExtendedPairVaultMappingByApp + responses: + "200": + description: A successful response. + content: + "*/*": + schema: + type: object + properties: + extendedPairVaultMapping: + type: array + items: + type: object + properties: + app_id: + type: string + format: uint64 + extended_pair_id: + type: string + format: uint64 + vault_ids: + type: array + items: + type: string + format: uint64 + token_minted_amount: + type: string + collateral_locked_amount: + type: string + pagination: + type: object + properties: + next_key: + type: string + format: byte + title: |- + next_key is the key to be passed to PageRequest.key to + query the next page most efficiently + total: + type: string + format: uint64 + title: >- + total is total number of results available if PageRequest.count_total + + was set, its value is undefined otherwise + description: >- + PageResponse is to be embedded in gRPC response messages where the + + corresponding request message has used PageRequest. + + + message SomeResponse { + repeated Bar results = 1; + PageResponse page = 2; + } + default: + description: An unexpected error response. + content: + "*/*": + schema: + type: object + properties: + error: + type: string + code: + type: integer + format: int32 + message: + type: string + details: + type: array + items: + type: object + properties: + type_url: + type: string + value: + type: string + format: byte + parameters: + - name: app_id + in: path + required: true + schema: + type: string + format: uint64 + - name: pagination.key + description: |- + key is a value returned in PageResponse.next_key to begin + querying the next page most efficiently. Only one of offset or key + should be set. + in: query + required: false + schema: + type: string + format: byte + - name: pagination.offset + description: >- + offset is a numeric offset that can be used when key is unavailable. + + It is less efficient than using key. Only one of offset or key should + + be set. + in: query + required: false + schema: + type: string + format: uint64 + - name: pagination.limit + description: >- + limit is the total number of results to be returned in the result page. + + If left empty it will default to a value to be set by each app. + in: query + required: false + schema: + type: string + format: uint64 + - name: pagination.count_total + description: >- + count_total is set to true to indicate that the result set should include + + a count of the total number of items available for pagination in UIs. + + count_total is only respected when offset is used. It is ignored when key + + is set. + in: query + required: false + schema: + type: boolean + - name: pagination.reverse + description: >- + reverse is set to true if results are to be returned in the descending + + order. + in: query + required: false + schema: + type: boolean + tags: + - Query + "/comdex/vault/v1beta1/external-pair-id-by-App/{app_id}": + get: + operationId: QueryExtendedPairIDsByApp + responses: + "200": + description: A successful response. + content: + "*/*": + schema: + type: object + properties: + extended_pair_ids: + type: array + items: + type: string + format: uint64 + pagination: + type: object + properties: + next_key: + type: string + format: byte + title: |- + next_key is the key to be passed to PageRequest.key to + query the next page most efficiently + total: + type: string + format: uint64 + title: >- + total is total number of results available if PageRequest.count_total + + was set, its value is undefined otherwise + description: >- + PageResponse is to be embedded in gRPC response messages where the + + corresponding request message has used PageRequest. + + + message SomeResponse { + repeated Bar results = 1; + PageResponse page = 2; + } + default: + description: An unexpected error response. + content: + "*/*": + schema: + type: object + properties: + error: + type: string + code: + type: integer + format: int32 + message: + type: string + details: + type: array + items: + type: object + properties: + type_url: + type: string + value: + type: string + format: byte + parameters: + - name: app_id + in: path + required: true + schema: + type: string + format: uint64 + - name: pagination.key + description: |- + key is a value returned in PageResponse.next_key to begin + querying the next page most efficiently. Only one of offset or key + should be set. + in: query + required: false + schema: + type: string + format: byte + - name: pagination.offset + description: >- + offset is a numeric offset that can be used when key is unavailable. + + It is less efficient than using key. Only one of offset or key should + + be set. + in: query + required: false + schema: + type: string + format: uint64 + - name: pagination.limit + description: >- + limit is the total number of results to be returned in the result page. + + If left empty it will default to a value to be set by each app. + in: query + required: false + schema: + type: string + format: uint64 + - name: pagination.count_total + description: >- + count_total is set to true to indicate that the result set should include + + a count of the total number of items available for pagination in UIs. + + count_total is only respected when offset is used. It is ignored when key + + is set. + in: query + required: false + schema: + type: boolean + - name: pagination.reverse + description: >- + reverse is set to true if results are to be returned in the descending + + order. + in: query + required: false + schema: + type: boolean + tags: + - Query + "/comdex/vault/v1beta1/pairs-locked-and-minted-statistic-by-app/{app_id}": + get: + operationId: QueryPairsLockedAndMintedStatisticByApp + responses: + "200": + description: A successful response. + content: + "*/*": + schema: + type: object + properties: + pairStatisticData: + type: array + items: + type: object + properties: + asset_in_denom: + type: string + asset_out_denom: + type: string + collateral_amount: + type: string + minted_amount: + type: string + extended_pair_vault_id: + type: string + format: uint64 + pagination: + type: object + properties: + next_key: + type: string + format: byte + title: |- + next_key is the key to be passed to PageRequest.key to + query the next page most efficiently + total: + type: string + format: uint64 + title: >- + total is total number of results available if PageRequest.count_total + + was set, its value is undefined otherwise + description: >- + PageResponse is to be embedded in gRPC response messages where the + + corresponding request message has used PageRequest. + + + message SomeResponse { + repeated Bar results = 1; + PageResponse page = 2; + } + default: + description: An unexpected error response. + content: + "*/*": + schema: + type: object + properties: + error: + type: string + code: + type: integer + format: int32 + message: + type: string + details: + type: array + items: + type: object + properties: + type_url: + type: string + value: + type: string + format: byte + parameters: + - name: app_id + in: path + required: true + schema: + type: string + format: uint64 + - name: pagination.key + description: |- + key is a value returned in PageResponse.next_key to begin + querying the next page most efficiently. Only one of offset or key + should be set. + in: query + required: false + schema: + type: string + format: byte + - name: pagination.offset + description: >- + offset is a numeric offset that can be used when key is unavailable. + + It is less efficient than using key. Only one of offset or key should + + be set. + in: query + required: false + schema: + type: string + format: uint64 + - name: pagination.limit + description: >- + limit is the total number of results to be returned in the result page. + + If left empty it will default to a value to be set by each app. + in: query + required: false + schema: + type: string + format: uint64 + - name: pagination.count_total + description: >- + count_total is set to true to indicate that the result set should include + + a count of the total number of items available for pagination in UIs. + + count_total is only respected when offset is used. It is ignored when key + + is set. + in: query + required: false + schema: + type: boolean + - name: pagination.reverse + description: >- + reverse is set to true if results are to be returned in the descending + + order. + in: query + required: false + schema: + type: boolean + tags: + - Query + "/comdex/vault/v1beta1/stable-vault-by-App-and-extendedPair/{app_id}/{extended_pair_id}": + get: + operationId: QueryStableVaultByAppAndExtendedPair + responses: + "200": + description: A successful response. + content: + "*/*": + schema: + type: object + properties: + stable_mint_vault: + type: object + properties: + id: + type: string + format: uint64 + amount_in: + type: string + amount_out: + type: string + app_id: + type: string + format: uint64 + extended_pair_vault_id: + type: string + format: uint64 + created_at: + type: string + format: date-time + default: + description: An unexpected error response. + content: + "*/*": + schema: + type: object + properties: + error: + type: string + code: + type: integer + format: int32 + message: + type: string + details: + type: array + items: + type: object + properties: + type_url: + type: string + value: + type: string + format: byte + parameters: + - name: app_id + in: path + required: true + schema: + type: string + format: uint64 + - name: extended_pair_id + in: path + required: true + schema: + type: string + format: uint64 + tags: + - Query + "/comdex/vault/v1beta1/stable-vault-by-App/{app_id}": + get: + operationId: QueryStableVaultByApp + responses: + "200": + description: A successful response. + content: + "*/*": + schema: + type: object + properties: + stable_mint_vault: + type: array + items: + type: object + properties: + id: + type: string + format: uint64 + amount_in: + type: string + amount_out: + type: string + app_id: + type: string + format: uint64 + extended_pair_vault_id: + type: string + format: uint64 + created_at: + type: string + format: date-time + pagination: + type: object + properties: + next_key: + type: string + format: byte + title: |- + next_key is the key to be passed to PageRequest.key to + query the next page most efficiently + total: + type: string + format: uint64 + title: >- + total is total number of results available if PageRequest.count_total + + was set, its value is undefined otherwise + description: >- + PageResponse is to be embedded in gRPC response messages where the + + corresponding request message has used PageRequest. + + + message SomeResponse { + repeated Bar results = 1; + PageResponse page = 2; + } + default: + description: An unexpected error response. + content: + "*/*": + schema: + type: object + properties: + error: + type: string + code: + type: integer + format: int32 + message: + type: string + details: + type: array + items: + type: object + properties: + type_url: + type: string + value: + type: string + format: byte + parameters: + - name: app_id + in: path + required: true + schema: + type: string + format: uint64 + - name: pagination.key + description: |- + key is a value returned in PageResponse.next_key to begin + querying the next page most efficiently. Only one of offset or key + should be set. + in: query + required: false + schema: + type: string + format: byte + - name: pagination.offset + description: >- + offset is a numeric offset that can be used when key is unavailable. + + It is less efficient than using key. Only one of offset or key should + + be set. + in: query + required: false + schema: + type: string + format: uint64 + - name: pagination.limit + description: >- + limit is the total number of results to be returned in the result page. + + If left empty it will default to a value to be set by each app. + in: query + required: false + schema: + type: string + format: uint64 + - name: pagination.count_total + description: >- + count_total is set to true to indicate that the result set should include + + a count of the total number of items available for pagination in UIs. + + count_total is only respected when offset is used. It is ignored when key + + is set. + in: query + required: false + schema: + type: boolean + - name: pagination.reverse + description: >- + reverse is set to true if results are to be returned in the descending + + order. + in: query + required: false + schema: + type: boolean + tags: + - Query + "/comdex/vault/v1beta1/stable-vault-by-id/{stable_vault_id}": + get: + operationId: QueryStableVaultByVaultID + responses: + "200": + description: A successful response. + content: + "*/*": + schema: + type: object + properties: + stable_mint_vault: + type: object + properties: + id: + type: string + format: uint64 + amount_in: + type: string + amount_out: + type: string + app_id: + type: string + format: uint64 + extended_pair_vault_id: + type: string + format: uint64 + created_at: + type: string + format: date-time + default: + description: An unexpected error response. + content: + "*/*": + schema: + type: object + properties: + error: + type: string + code: + type: integer + format: int32 + message: + type: string + details: + type: array + items: + type: object + properties: + type_url: + type: string + value: + type: string + format: byte + parameters: + - name: stable_vault_id + in: path + required: true + schema: + type: string + format: uint64 + tags: + - Query + /comdex/vault/v1beta1/stable_mint_vault_rewards: + get: + operationId: QueryAllStableMintVaultRewards + responses: + "200": + description: A successful response. + content: + "*/*": + schema: + type: object + properties: + stableMintVaultRewards: + type: array + items: + type: object + properties: + app_id: + type: string + format: uint64 + stable_extended_pair_id: + type: string + format: uint64 + user: + type: string + block_height: + type: string + format: uint64 + amount: + type: string + pagination: + type: object + properties: + next_key: + type: string + format: byte + title: |- + next_key is the key to be passed to PageRequest.key to + query the next page most efficiently + total: + type: string + format: uint64 + title: >- + total is total number of results available if PageRequest.count_total + + was set, its value is undefined otherwise + description: >- + PageResponse is to be embedded in gRPC response messages where the + + corresponding request message has used PageRequest. + + + message SomeResponse { + repeated Bar results = 1; + PageResponse page = 2; + } + default: + description: An unexpected error response. + content: + "*/*": + schema: + type: object + properties: + error: + type: string + code: + type: integer + format: int32 + message: + type: string + details: + type: array + items: + type: object + properties: + type_url: + type: string + value: + type: string + format: byte + parameters: + - name: pagination.key + description: |- + key is a value returned in PageResponse.next_key to begin + querying the next page most efficiently. Only one of offset or key + should be set. + in: query + required: false + schema: + type: string + format: byte + - name: pagination.offset + description: >- + offset is a numeric offset that can be used when key is unavailable. + + It is less efficient than using key. Only one of offset or key should + + be set. + in: query + required: false + schema: + type: string + format: uint64 + - name: pagination.limit + description: >- + limit is the total number of results to be returned in the result page. + + If left empty it will default to a value to be set by each app. + in: query + required: false + schema: + type: string + format: uint64 + - name: pagination.count_total + description: >- + count_total is set to true to indicate that the result set should include + + a count of the total number of items available for pagination in UIs. + + count_total is only respected when offset is used. It is ignored when key + + is set. + in: query + required: false + schema: + type: boolean + - name: pagination.reverse + description: >- + reverse is set to true if results are to be returned in the descending + + order. + in: query + required: false + schema: + type: boolean + tags: + - Query + "/comdex/vault/v1beta1/token-minted-asset-wise-by-app/{app_id}": + get: + operationId: QueryTokenMintedAssetWiseByApp + responses: + "200": + description: A successful response. + content: + "*/*": + schema: + type: object + properties: + minted_data: + type: array + items: + type: object + properties: + asset_denom: + type: string + minted_amount: + type: string + pagination: + type: object + properties: + next_key: + type: string + format: byte + title: |- + next_key is the key to be passed to PageRequest.key to + query the next page most efficiently + total: + type: string + format: uint64 + title: >- + total is total number of results available if PageRequest.count_total + + was set, its value is undefined otherwise + description: >- + PageResponse is to be embedded in gRPC response messages where the + + corresponding request message has used PageRequest. + + + message SomeResponse { + repeated Bar results = 1; + PageResponse page = 2; + } + default: + description: An unexpected error response. + content: + "*/*": + schema: + type: object + properties: + error: + type: string + code: + type: integer + format: int32 + message: + type: string + details: + type: array + items: + type: object + properties: + type_url: + type: string + value: + type: string + format: byte + parameters: + - name: app_id + in: path + required: true + schema: + type: string + format: uint64 + - name: pagination.key + description: |- + key is a value returned in PageResponse.next_key to begin + querying the next page most efficiently. Only one of offset or key + should be set. + in: query + required: false + schema: + type: string + format: byte + - name: pagination.offset + description: >- + offset is a numeric offset that can be used when key is unavailable. + + It is less efficient than using key. Only one of offset or key should + + be set. + in: query + required: false + schema: + type: string + format: uint64 + - name: pagination.limit + description: >- + limit is the total number of results to be returned in the result page. + + If left empty it will default to a value to be set by each app. + in: query + required: false + schema: + type: string + format: uint64 + - name: pagination.count_total + description: >- + count_total is set to true to indicate that the result set should include + + a count of the total number of items available for pagination in UIs. + + count_total is only respected when offset is used. It is ignored when key + + is set. + in: query + required: false + schema: + type: boolean + - name: pagination.reverse + description: >- + reverse is set to true if results are to be returned in the descending + + order. + in: query + required: false + schema: + type: boolean + tags: + - Query + "/comdex/vault/v1beta1/token-minted-by-App-and-extended-pair/{app_id}/{extended_pair_id}": + get: + operationId: QueryTokenMintedByAppAndExtendedPair + responses: + "200": + description: A successful response. + content: + "*/*": + schema: + type: object + properties: + token_minted: + type: string + default: + description: An unexpected error response. + content: + "*/*": + schema: + type: object + properties: + error: + type: string + code: + type: integer + format: int32 + message: + type: string + details: + type: array + items: + type: object + properties: + type_url: + type: string + value: + type: string + format: byte + parameters: + - name: app_id + in: path + required: true + schema: + type: string + format: uint64 + - name: extended_pair_id + in: path + required: true + schema: + type: string + format: uint64 + - name: pagination.key + description: |- + key is a value returned in PageResponse.next_key to begin + querying the next page most efficiently. Only one of offset or key + should be set. + in: query + required: false + schema: + type: string + format: byte + - name: pagination.offset + description: >- + offset is a numeric offset that can be used when key is unavailable. + + It is less efficient than using key. Only one of offset or key should + + be set. + in: query + required: false + schema: + type: string + format: uint64 + - name: pagination.limit + description: >- + limit is the total number of results to be returned in the result page. + + If left empty it will default to a value to be set by each app. + in: query + required: false + schema: + type: string + format: uint64 + - name: pagination.count_total + description: >- + count_total is set to true to indicate that the result set should include + + a count of the total number of items available for pagination in UIs. + + count_total is only respected when offset is used. It is ignored when key + + is set. + in: query + required: false + schema: + type: boolean + - name: pagination.reverse + description: >- + reverse is set to true if results are to be returned in the descending + + order. + in: query + required: false + schema: + type: boolean + tags: + - Query + "/comdex/vault/v1beta1/tvl-by-app-all-extended-pairs/{app_id}": + get: + operationId: QueryTVLByAppOfAllExtendedPairs + responses: + "200": + description: A successful response. + content: + "*/*": + schema: + type: object + properties: + tvldata: + type: array + items: + type: object + properties: + asset_denom: + type: string + collateral_locked_amount: + type: string + pagination: + type: object + properties: + next_key: + type: string + format: byte + title: |- + next_key is the key to be passed to PageRequest.key to + query the next page most efficiently + total: + type: string + format: uint64 + title: >- + total is total number of results available if PageRequest.count_total + + was set, its value is undefined otherwise + description: >- + PageResponse is to be embedded in gRPC response messages where the + + corresponding request message has used PageRequest. + + + message SomeResponse { + repeated Bar results = 1; + PageResponse page = 2; + } + default: + description: An unexpected error response. + content: + "*/*": + schema: + type: object + properties: + error: + type: string + code: + type: integer + format: int32 + message: + type: string + details: + type: array + items: + type: object + properties: + type_url: + type: string + value: + type: string + format: byte + parameters: + - name: app_id + in: path + required: true + schema: + type: string + format: uint64 + - name: pagination.key + description: |- + key is a value returned in PageResponse.next_key to begin + querying the next page most efficiently. Only one of offset or key + should be set. + in: query + required: false + schema: + type: string + format: byte + - name: pagination.offset + description: >- + offset is a numeric offset that can be used when key is unavailable. + + It is less efficient than using key. Only one of offset or key should + + be set. + in: query + required: false + schema: + type: string + format: uint64 + - name: pagination.limit + description: >- + limit is the total number of results to be returned in the result page. + + If left empty it will default to a value to be set by each app. + in: query + required: false + schema: + type: string + format: uint64 + - name: pagination.count_total + description: >- + count_total is set to true to indicate that the result set should include + + a count of the total number of items available for pagination in UIs. + + count_total is only respected when offset is used. It is ignored when key + + is set. + in: query + required: false + schema: + type: boolean + - name: pagination.reverse + description: >- + reverse is set to true if results are to be returned in the descending + + order. + in: query + required: false + schema: + type: boolean + tags: + - Query + "/comdex/vault/v1beta1/tvl-by-app/{app_id}": + get: + operationId: QueryTVLByApp + responses: + "200": + description: A successful response. + content: + "*/*": + schema: + type: object + properties: + collateral_locked: + type: string + default: + description: An unexpected error response. + content: + "*/*": + schema: + type: object + properties: + error: + type: string + code: + type: integer + format: int32 + message: + type: string + details: + type: array + items: + type: object + properties: + type_url: + type: string + value: + type: string + format: byte + parameters: + - name: app_id + in: path + required: true + schema: + type: string + format: uint64 + tags: + - Query + "/comdex/vault/v1beta1/user-extended-pair-total-data/{owner}": + get: + operationId: QueryUserExtendedPairTotalData + responses: + "200": + description: A successful response. + content: + "*/*": + schema: + type: object + properties: + userTotalData: + type: array + items: + type: object + properties: + owner: + type: string + app_id: + type: string + format: uint64 + extended_pair_id: + type: string + format: uint64 + vault_id: + type: string + format: uint64 + default: + description: An unexpected error response. + content: + "*/*": + schema: + type: object + properties: + error: + type: string + code: + type: integer + format: int32 + message: + type: string + details: + type: array + items: + type: object + properties: + type_url: + type: string + value: + type: string + format: byte + parameters: + - name: owner + in: path + required: true + schema: + type: string + tags: + - Query + "/comdex/vault/v1beta1/user-my-position-by-app/{app_id}/{owner}": + get: + operationId: QueryUserMyPositionByApp + responses: + "200": + description: A successful response. + content: + "*/*": + schema: + type: object + properties: + collateral_locked: + type: string + total_due: + type: string + available_to_borrow: + type: string + average_cr_ratio: + type: string + default: + description: An unexpected error response. + content: + "*/*": + schema: + type: object + properties: + error: + type: string + code: + type: integer + format: int32 + message: + type: string + details: + type: array + items: + type: object + properties: + type_url: + type: string + value: + type: string + format: byte + parameters: + - name: app_id + in: path + required: true + schema: + type: string + format: uint64 + - name: owner + in: path + required: true + schema: + type: string + tags: + - Query + "/comdex/vault/v1beta1/value-locked-by-App-and-extended-pair/{app_id}/{extended_pair_id}": + get: + operationId: QueryTotalValueLockedByAppAndExtendedPair + responses: + "200": + description: A successful response. + content: + "*/*": + schema: + type: object + properties: + value_locked: + type: string + default: + description: An unexpected error response. + content: + "*/*": + schema: + type: object + properties: + error: + type: string + code: + type: integer + format: int32 + message: + type: string + details: + type: array + items: + type: object + properties: + type_url: + type: string + value: + type: string + format: byte + parameters: + - name: app_id + in: path + required: true + schema: + type: string + format: uint64 + - name: extended_pair_id + in: path + required: true + schema: + type: string + format: uint64 + - name: pagination.key + description: |- + key is a value returned in PageResponse.next_key to begin + querying the next page most efficiently. Only one of offset or key + should be set. + in: query + required: false + schema: + type: string + format: byte + - name: pagination.offset + description: >- + offset is a numeric offset that can be used when key is unavailable. + + It is less efficient than using key. Only one of offset or key should + + be set. + in: query + required: false + schema: + type: string + format: uint64 + - name: pagination.limit + description: >- + limit is the total number of results to be returned in the result page. + + If left empty it will default to a value to be set by each app. + in: query + required: false + schema: + type: string + format: uint64 + - name: pagination.count_total + description: >- + count_total is set to true to indicate that the result set should include + + a count of the total number of items available for pagination in UIs. + + count_total is only respected when offset is used. It is ignored when key + + is set. + in: query + required: false + schema: + type: boolean + - name: pagination.reverse + description: >- + reverse is set to true if results are to be returned in the descending + + order. + in: query + required: false + schema: + type: boolean + tags: + - Query + "/comdex/vault/v1beta1/vault-count-by-an-App-and-extended-pair/{app_id}/{extended_pair_id}": + get: + operationId: QueryVaultCountByAppAndExtendedPair + responses: + "200": + description: A successful response. + content: + "*/*": + schema: + type: object + properties: + vault_count: + type: string + format: uint64 + default: + description: An unexpected error response. + content: + "*/*": + schema: + type: object + properties: + error: + type: string + code: + type: integer + format: int32 + message: + type: string + details: + type: array + items: + type: object + properties: + type_url: + type: string + value: + type: string + format: byte + parameters: + - name: app_id + in: path + required: true + schema: + type: string + format: uint64 + - name: extended_pair_id + in: path + required: true + schema: + type: string + format: uint64 + - name: pagination.key + description: |- + key is a value returned in PageResponse.next_key to begin + querying the next page most efficiently. Only one of offset or key + should be set. + in: query + required: false + schema: + type: string + format: byte + - name: pagination.offset + description: >- + offset is a numeric offset that can be used when key is unavailable. + + It is less efficient than using key. Only one of offset or key should + + be set. + in: query + required: false + schema: + type: string + format: uint64 + - name: pagination.limit + description: >- + limit is the total number of results to be returned in the result page. + + If left empty it will default to a value to be set by each app. + in: query + required: false + schema: + type: string + format: uint64 + - name: pagination.count_total + description: >- + count_total is set to true to indicate that the result set should include + + a count of the total number of items available for pagination in UIs. + + count_total is only respected when offset is used. It is ignored when key + + is set. + in: query + required: false + schema: + type: boolean + - name: pagination.reverse + description: >- + reverse is set to true if results are to be returned in the descending + + order. + in: query + required: false + schema: + type: boolean + tags: + - Query + "/comdex/vault/v1beta1/vault-count-by-an-App/{app_id}": + get: + operationId: QueryVaultCountByApp + responses: + "200": + description: A successful response. + content: + "*/*": + schema: + type: object + properties: + vault_count: + type: string + format: uint64 + default: + description: An unexpected error response. + content: + "*/*": + schema: + type: object + properties: + error: + type: string + code: + type: integer + format: int32 + message: + type: string + details: + type: array + items: + type: object + properties: + type_url: + type: string + value: + type: string + format: byte + parameters: + - name: app_id + in: path + required: true + schema: + type: string + format: uint64 + tags: + - Query + "/comdex/vault/v1beta1/vault-id-of-owner-by-extended-pair-and-app/{app_id}/{owner}/{extended_pair_id}": + get: + operationId: QueryVaultIDOfOwnerByExtendedPairAndApp + responses: + "200": + description: A successful response. + content: + "*/*": + schema: + type: object + properties: + vault_Id: + type: string + format: uint64 + default: + description: An unexpected error response. + content: + "*/*": + schema: + type: object + properties: + error: + type: string + code: + type: integer + format: int32 + message: + type: string + details: + type: array + items: + type: object + properties: + type_url: + type: string + value: + type: string + format: byte + parameters: + - name: app_id + in: path + required: true + schema: + type: string + format: uint64 + - name: owner + in: path + required: true + schema: + type: string + - name: extended_pair_id + in: path + required: true + schema: + type: string + format: uint64 + - name: pagination.key + description: |- + key is a value returned in PageResponse.next_key to begin + querying the next page most efficiently. Only one of offset or key + should be set. + in: query + required: false + schema: + type: string + format: byte + - name: pagination.offset + description: >- + offset is a numeric offset that can be used when key is unavailable. + + It is less efficient than using key. Only one of offset or key should + + be set. + in: query + required: false + schema: + type: string + format: uint64 + - name: pagination.limit + description: >- + limit is the total number of results to be returned in the result page. + + If left empty it will default to a value to be set by each app. + in: query + required: false + schema: + type: string + format: uint64 + - name: pagination.count_total + description: >- + count_total is set to true to indicate that the result set should include + + a count of the total number of items available for pagination in UIs. + + count_total is only respected when offset is used. It is ignored when key + + is set. + in: query + required: false + schema: + type: boolean + - name: pagination.reverse + description: >- + reverse is set to true if results are to be returned in the descending + + order. + in: query + required: false + schema: + type: boolean + tags: + - Query + "/comdex/vault/v1beta1/vault-ids-by-an-owner/{owner}": + get: + operationId: QueryAllVaultIdsByAnOwner + responses: + "200": + description: A successful response. + content: + "*/*": + schema: + type: object + properties: + vault_ids: + type: array + items: + type: string + format: uint64 + pagination: + type: object + properties: + next_key: + type: string + format: byte + title: |- + next_key is the key to be passed to PageRequest.key to + query the next page most efficiently + total: + type: string + format: uint64 + title: >- + total is total number of results available if PageRequest.count_total + + was set, its value is undefined otherwise + description: >- + PageResponse is to be embedded in gRPC response messages where the + + corresponding request message has used PageRequest. + + + message SomeResponse { + repeated Bar results = 1; + PageResponse page = 2; + } + default: + description: An unexpected error response. + content: + "*/*": + schema: + type: object + properties: + error: + type: string + code: + type: integer + format: int32 + message: + type: string + details: + type: array + items: + type: object + properties: + type_url: + type: string + value: + type: string + format: byte + parameters: + - name: owner + in: path + required: true + schema: + type: string + - name: pagination.key + description: |- + key is a value returned in PageResponse.next_key to begin + querying the next page most efficiently. Only one of offset or key + should be set. + in: query + required: false + schema: + type: string + format: byte + - name: pagination.offset + description: >- + offset is a numeric offset that can be used when key is unavailable. + + It is less efficient than using key. Only one of offset or key should + + be set. + in: query + required: false + schema: + type: string + format: uint64 + - name: pagination.limit + description: >- + limit is the total number of results to be returned in the result page. + + If left empty it will default to a value to be set by each app. + in: query + required: false + schema: + type: string + format: uint64 + - name: pagination.count_total + description: >- + count_total is set to true to indicate that the result set should include + + a count of the total number of items available for pagination in UIs. + + count_total is only respected when offset is used. It is ignored when key + + is set. + in: query + required: false + schema: + type: boolean + - name: pagination.reverse + description: >- + reverse is set to true if results are to be returned in the descending + + order. + in: query + required: false + schema: + type: boolean + tags: + - Query + "/comdex/vault/v1beta1/vaultIds-by-app-in-all-extendedPairs/{app_id}": + get: + operationId: QueryVaultIdsByAppInAllExtendedPairs + responses: + "200": + description: A successful response. + content: + "*/*": + schema: + type: object + properties: + vault_ids: + type: array + items: + type: string + format: uint64 + pagination: + type: object + properties: + next_key: + type: string + format: byte + title: |- + next_key is the key to be passed to PageRequest.key to + query the next page most efficiently + total: + type: string + format: uint64 + title: >- + total is total number of results available if PageRequest.count_total + + was set, its value is undefined otherwise + description: >- + PageResponse is to be embedded in gRPC response messages where the + + corresponding request message has used PageRequest. + + + message SomeResponse { + repeated Bar results = 1; + PageResponse page = 2; + } + default: + description: An unexpected error response. + content: + "*/*": + schema: + type: object + properties: + error: + type: string + code: + type: integer + format: int32 + message: + type: string + details: + type: array + items: + type: object + properties: + type_url: + type: string + value: + type: string + format: byte + parameters: + - name: app_id + in: path + required: true + schema: + type: string + format: uint64 + - name: pagination.key + description: |- + key is a value returned in PageResponse.next_key to begin + querying the next page most efficiently. Only one of offset or key + should be set. + in: query + required: false + schema: + type: string + format: byte + - name: pagination.offset + description: >- + offset is a numeric offset that can be used when key is unavailable. + + It is less efficient than using key. Only one of offset or key should + + be set. + in: query + required: false + schema: + type: string + format: uint64 + - name: pagination.limit + description: >- + limit is the total number of results to be returned in the result page. + + If left empty it will default to a value to be set by each app. + in: query + required: false + schema: + type: string + format: uint64 + - name: pagination.count_total + description: >- + count_total is set to true to indicate that the result set should include + + a count of the total number of items available for pagination in UIs. + + count_total is only respected when offset is used. It is ignored when key + + is set. + in: query + required: false + schema: + type: boolean + - name: pagination.reverse + description: >- + reverse is set to true if results are to be returned in the descending + + order. + in: query + required: false + schema: + type: boolean + tags: + - Query + /comdex/vault/v1beta1/vaults: + get: + operationId: QueryAllVaults + responses: + "200": + description: A successful response. + content: + "*/*": + schema: + type: object + properties: + vault: + type: array + items: + type: object + properties: + id: + type: string + format: uint64 + app_id: + type: string + format: uint64 + extended_pair_vault_id: + type: string + format: uint64 + owner: + type: string + amount_in: + type: string + amount_out: + type: string + created_at: + type: string + format: date-time + interest_accumulated: + type: string + closing_fee_accumulated: + type: string + block_height: + type: string + format: int64 + block_time: + type: string + format: date-time + description: app_vault_type_id will be the key for the KVStore for this value. + pagination: + type: object + properties: + next_key: + type: string + format: byte + title: |- + next_key is the key to be passed to PageRequest.key to + query the next page most efficiently + total: + type: string + format: uint64 + title: >- + total is total number of results available if PageRequest.count_total + + was set, its value is undefined otherwise + description: >- + PageResponse is to be embedded in gRPC response messages where the + + corresponding request message has used PageRequest. + + + message SomeResponse { + repeated Bar results = 1; + PageResponse page = 2; + } + default: + description: An unexpected error response. + content: + "*/*": + schema: + type: object + properties: + error: + type: string + code: + type: integer + format: int32 + message: + type: string + details: + type: array + items: + type: object + properties: + type_url: + type: string + value: + type: string + format: byte + parameters: + - name: pagination.key + description: |- + key is a value returned in PageResponse.next_key to begin + querying the next page most efficiently. Only one of offset or key + should be set. + in: query + required: false + schema: + type: string + format: byte + - name: pagination.offset + description: >- + offset is a numeric offset that can be used when key is unavailable. + + It is less efficient than using key. Only one of offset or key should + + be set. + in: query + required: false + schema: + type: string + format: uint64 + - name: pagination.limit + description: >- + limit is the total number of results to be returned in the result page. + + If left empty it will default to a value to be set by each app. + in: query + required: false + schema: + type: string + format: uint64 + - name: pagination.count_total + description: >- + count_total is set to true to indicate that the result set should include + + a count of the total number of items available for pagination in UIs. + + count_total is only respected when offset is used. It is ignored when key + + is set. + in: query + required: false + schema: + type: boolean + - name: pagination.reverse + description: >- + reverse is set to true if results are to be returned in the descending + + order. + in: query + required: false + schema: + type: boolean + tags: + - Query + "/comdex/vault/v1beta1/vaults-by-App/{app_id}": + get: + operationId: QueryAllVaultsByApp + responses: + "200": + description: A successful response. + content: + "*/*": + schema: + type: object + properties: + vault: + type: array + items: + type: object + properties: + id: + type: string + format: uint64 + app_id: + type: string + format: uint64 + extended_pair_vault_id: + type: string + format: uint64 + owner: + type: string + amount_in: + type: string + amount_out: + type: string + created_at: + type: string + format: date-time + interest_accumulated: + type: string + closing_fee_accumulated: + type: string + block_height: + type: string + format: int64 + block_time: + type: string + format: date-time + description: app_vault_type_id will be the key for the KVStore for this value. + pagination: + type: object + properties: + next_key: + type: string + format: byte + title: |- + next_key is the key to be passed to PageRequest.key to + query the next page most efficiently + total: + type: string + format: uint64 + title: >- + total is total number of results available if PageRequest.count_total + + was set, its value is undefined otherwise + description: >- + PageResponse is to be embedded in gRPC response messages where the + + corresponding request message has used PageRequest. + + + message SomeResponse { + repeated Bar results = 1; + PageResponse page = 2; + } + default: + description: An unexpected error response. + content: + "*/*": + schema: + type: object + properties: + error: + type: string + code: + type: integer + format: int32 + message: + type: string + details: + type: array + items: + type: object + properties: + type_url: + type: string + value: + type: string + format: byte + parameters: + - name: app_id + in: path + required: true + schema: + type: string + format: uint64 + - name: pagination.key + description: |- + key is a value returned in PageResponse.next_key to begin + querying the next page most efficiently. Only one of offset or key + should be set. + in: query + required: false + schema: + type: string + format: byte + - name: pagination.offset + description: >- + offset is a numeric offset that can be used when key is unavailable. + + It is less efficient than using key. Only one of offset or key should + + be set. + in: query + required: false + schema: + type: string + format: uint64 + - name: pagination.limit + description: >- + limit is the total number of results to be returned in the result page. + + If left empty it will default to a value to be set by each app. + in: query + required: false + schema: + type: string + format: uint64 + - name: pagination.count_total + description: >- + count_total is set to true to indicate that the result set should include + + a count of the total number of items available for pagination in UIs. + + count_total is only respected when offset is used. It is ignored when key + + is set. + in: query + required: false + schema: + type: boolean + - name: pagination.reverse + description: >- + reverse is set to true if results are to be returned in the descending + + order. + in: query + required: false + schema: + type: boolean + tags: + - Query + "/comdex/vault/v1beta1/vaults-by-app-and-extended-pair/{app_id}/{extended_pair_id}": + get: + operationId: QueryAllVaultsByAppAndExtendedPair + responses: + "200": + description: A successful response. + content: + "*/*": + schema: + type: object + properties: + vault: + type: array + items: + type: object + properties: + id: + type: string + format: uint64 + app_id: + type: string + format: uint64 + extended_pair_vault_id: + type: string + format: uint64 + owner: + type: string + amount_in: + type: string + amount_out: + type: string + created_at: + type: string + format: date-time + interest_accumulated: + type: string + closing_fee_accumulated: + type: string + block_height: + type: string + format: int64 + block_time: + type: string + format: date-time + description: app_vault_type_id will be the key for the KVStore for this value. + pagination: + type: object + properties: + next_key: + type: string + format: byte + title: |- + next_key is the key to be passed to PageRequest.key to + query the next page most efficiently + total: + type: string + format: uint64 + title: >- + total is total number of results available if PageRequest.count_total + + was set, its value is undefined otherwise + description: >- + PageResponse is to be embedded in gRPC response messages where the + + corresponding request message has used PageRequest. + + + message SomeResponse { + repeated Bar results = 1; + PageResponse page = 2; + } + default: + description: An unexpected error response. + content: + "*/*": + schema: + type: object + properties: + error: + type: string + code: + type: integer + format: int32 + message: + type: string + details: + type: array + items: + type: object + properties: + type_url: + type: string + value: + type: string + format: byte + parameters: + - name: app_id + in: path + required: true + schema: + type: string + format: uint64 + - name: extended_pair_id + in: path + required: true + schema: + type: string + format: uint64 + - name: pagination.key + description: |- + key is a value returned in PageResponse.next_key to begin + querying the next page most efficiently. Only one of offset or key + should be set. + in: query + required: false + schema: + type: string + format: byte + - name: pagination.offset + description: >- + offset is a numeric offset that can be used when key is unavailable. + + It is less efficient than using key. Only one of offset or key should + + be set. + in: query + required: false + schema: + type: string + format: uint64 + - name: pagination.limit + description: >- + limit is the total number of results to be returned in the result page. + + If left empty it will default to a value to be set by each app. + in: query + required: false + schema: + type: string + format: uint64 + - name: pagination.count_total + description: >- + count_total is set to true to indicate that the result set should include + + a count of the total number of items available for pagination in UIs. + + count_total is only respected when offset is used. It is ignored when key + + is set. + in: query + required: false + schema: + type: boolean + - name: pagination.reverse + description: >- + reverse is set to true if results are to be returned in the descending + + order. + in: query + required: false + schema: + type: boolean + tags: + - Query + "/comdex/vault/v1beta1/vaults/{id}": + get: + operationId: QueryVault + responses: + "200": + description: A successful response. + content: + "*/*": + schema: + type: object + properties: + vault: + type: object + properties: + id: + type: string + format: uint64 + app_id: + type: string + format: uint64 + extended_pair_vault_id: + type: string + format: uint64 + owner: + type: string + amount_in: + type: string + amount_out: + type: string + created_at: + type: string + format: date-time + interest_accumulated: + type: string + closing_fee_accumulated: + type: string + block_height: + type: string + format: int64 + block_time: + type: string + format: date-time + description: app_vault_type_id will be the key for the KVStore for this value. + default: + description: An unexpected error response. + content: + "*/*": + schema: + type: object + properties: + error: + type: string + code: + type: integer + format: int32 + message: + type: string + details: + type: array + items: + type: object + properties: + type_url: + type: string + value: + type: string + format: byte + parameters: + - name: id + in: path + required: true + schema: + type: string + format: uint64 + tags: + - Query + "/comdex/vault/v1beta1/vaultsInfo-by-vault-id/{id}": + get: + operationId: QueryVaultInfoByVaultID + responses: + "200": + description: A successful response. + content: + "*/*": + schema: + type: object + properties: + vaultsInfo: + type: object + properties: + id: + type: string + format: uint64 + extended_pair_id: + type: string + format: uint64 + owner: + type: string + collateral: + type: string + debt: + type: string + collateralization_ratio: + type: string + extended_pair_name: + type: string + interest_rate: + type: string + asset_in_denom: + type: string + asset_out_denom: + type: string + min_cr: + type: string + default: + description: An unexpected error response. + content: + "*/*": + schema: + type: object + properties: + error: + type: string + code: + type: integer + format: int32 + message: + type: string + details: + type: array + items: + type: object + properties: + type_url: + type: string + value: + type: string + format: byte + parameters: + - name: id + in: path + required: true + schema: + type: string + format: uint64 + tags: + - Query + "/comdex/vault/v1beta1/vaultsInfo-of-owner-by-app/{app_id}/{owner}": + get: + operationId: QueryVaultInfoOfOwnerByApp + responses: + "200": + description: A successful response. + content: + "*/*": + schema: + type: object + properties: + vaultsInfo: + type: array + items: + type: object + properties: + id: + type: string + format: uint64 + extended_pair_id: + type: string + format: uint64 + owner: + type: string + collateral: + type: string + debt: + type: string + collateralization_ratio: + type: string + extended_pair_name: + type: string + interest_rate: + type: string + asset_in_denom: + type: string + asset_out_denom: + type: string + min_cr: + type: string + pagination: + type: object + properties: + next_key: + type: string + format: byte + title: |- + next_key is the key to be passed to PageRequest.key to + query the next page most efficiently + total: + type: string + format: uint64 + title: >- + total is total number of results available if PageRequest.count_total + + was set, its value is undefined otherwise + description: >- + PageResponse is to be embedded in gRPC response messages where the + + corresponding request message has used PageRequest. + + + message SomeResponse { + repeated Bar results = 1; + PageResponse page = 2; + } + default: + description: An unexpected error response. + content: + "*/*": + schema: + type: object + properties: + error: + type: string + code: + type: integer + format: int32 + message: + type: string + details: + type: array + items: + type: object + properties: + type_url: + type: string + value: + type: string + format: byte + parameters: + - name: app_id + in: path + required: true + schema: + type: string + format: uint64 + - name: owner + in: path + required: true + schema: + type: string + - name: pagination.key + description: |- + key is a value returned in PageResponse.next_key to begin + querying the next page most efficiently. Only one of offset or key + should be set. + in: query + required: false + schema: + type: string + format: byte + - name: pagination.offset + description: >- + offset is a numeric offset that can be used when key is unavailable. + + It is less efficient than using key. Only one of offset or key should + + be set. + in: query + required: false + schema: + type: string + format: uint64 + - name: pagination.limit + description: >- + limit is the total number of results to be returned in the result page. + + If left empty it will default to a value to be set by each app. + in: query + required: false + schema: + type: string + format: uint64 + - name: pagination.count_total + description: >- + count_total is set to true to indicate that the result set should include + + a count of the total number of items available for pagination in UIs. + + count_total is only respected when offset is used. It is ignored when key + + is set. + in: query + required: false + schema: + type: boolean + - name: pagination.reverse + description: >- + reverse is set to true if results are to be returned in the descending + + order. + in: query + required: false + schema: + type: boolean + tags: + - Query + /cosmos/auth/v1beta1/accounts: + get: + summary: Accounts returns all the existing accounts + description: "Since: cosmos-sdk 0.43" + operationId: Accounts + responses: + "200": + description: A successful response. + content: + "*/*": + schema: + type: object + properties: + accounts: + type: array + items: + type: object + properties: + type_url: + type: string + description: >- + A URL/resource name that uniquely identifies the type of the serialized + + protocol buffer message. This string must contain at least + + one "/" character. The last segment of the URL's path must represent + + the fully qualified name of the type (as in + + `path/google.protobuf.Duration`). The name should be in a canonical form + + (e.g., leading "." is not accepted). + + + In practice, teams usually precompile into the binary all types that they + + expect it to use in the context of Any. However, for URLs which use the + + scheme `http`, `https`, or no scheme, one can optionally set up a type + + server that maps type URLs to message definitions as follows: + + + * If no scheme is provided, `https` is assumed. + + * An HTTP GET on the URL must yield a [google.protobuf.Type][] + + value in binary format, or produce an error. + * Applications are allowed to cache lookup results based on the + + URL, or have them precompiled into a binary to avoid any + lookup. Therefore, binary compatibility needs to be preserved + on changes to types. (Use versioned type names to manage + breaking changes.) + + Note: this functionality is not currently available in the official + + protobuf release, and it is not used for type URLs beginning with + + type.googleapis.com. + + + Schemes other than `http`, `https` (or the empty scheme) might be + + used with implementation specific semantics. + value: + type: string + format: byte + description: Must be a valid serialized protocol buffer of the above specified type. + description: >- + `Any` contains an arbitrary serialized protocol buffer message along with a + + URL that describes the type of the serialized message. + + + Protobuf library provides support to pack/unpack Any values in the form + + of utility functions or additional generated methods of the Any type. + + + Example 1: Pack and unpack a message in C++. + + + Foo foo = ...; + Any any; + any.PackFrom(foo); + ... + if (any.UnpackTo(&foo)) { + ... + } + + Example 2: Pack and unpack a message in Java. + + + Foo foo = ...; + Any any = Any.pack(foo); + ... + if (any.is(Foo.class)) { + foo = any.unpack(Foo.class); + } + + Example 3: Pack and unpack a message in Python. + + foo = Foo(...) + any = Any() + any.Pack(foo) + ... + if any.Is(Foo.DESCRIPTOR): + any.Unpack(foo) + ... + + Example 4: Pack and unpack a message in Go + + foo := &pb.Foo{...} + any, err := ptypes.MarshalAny(foo) + ... + foo := &pb.Foo{} + if err := ptypes.UnmarshalAny(any, foo); err != nil { + ... + } + + The pack methods provided by protobuf library will by default use + + 'type.googleapis.com/full.type.name' as the type URL and the unpack + + methods only use the fully qualified type name after the last '/' + + in the type URL, for example "foo.bar.com/x/y.z" will yield type + + name "y.z". + + + + JSON + + ==== + + The JSON representation of an `Any` value uses the regular + + representation of the deserialized, embedded message, with an + + additional field `@type` which contains the type URL. Example: + + + package google.profile; + message Person { + string first_name = 1; + string last_name = 2; + } + + { + "@type": "type.googleapis.com/google.profile.Person", + "firstName": , + "lastName": + } + + If the embedded message type is well-known and has a custom JSON + + representation, that representation will be embedded adding a field + + `value` which holds the custom JSON in addition to the `@type` + + field. Example (for message [google.protobuf.Duration][]): + + + { + "@type": "type.googleapis.com/google.protobuf.Duration", + "value": "1.212s" + } + title: accounts are the existing accounts + pagination: + description: pagination defines the pagination in the response. + type: object + properties: + next_key: + type: string + format: byte + title: |- + next_key is the key to be passed to PageRequest.key to + query the next page most efficiently + total: + type: string + format: uint64 + title: >- + total is total number of results available if PageRequest.count_total + + was set, its value is undefined otherwise + description: >- + QueryAccountsResponse is the response type for the Query/Accounts RPC method. + + + Since: cosmos-sdk 0.43 + default: + description: An unexpected error response. + content: + "*/*": + schema: + type: object + properties: + error: + type: string + code: + type: integer + format: int32 + message: + type: string + details: + type: array + items: + type: object + properties: + type_url: + type: string + description: >- + A URL/resource name that uniquely identifies the type of the serialized + + protocol buffer message. This string must contain at least + + one "/" character. The last segment of the URL's path must represent + + the fully qualified name of the type (as in + + `path/google.protobuf.Duration`). The name should be in a canonical form + + (e.g., leading "." is not accepted). + + + In practice, teams usually precompile into the binary all types that they + + expect it to use in the context of Any. However, for URLs which use the + + scheme `http`, `https`, or no scheme, one can optionally set up a type + + server that maps type URLs to message definitions as follows: + + + * If no scheme is provided, `https` is assumed. + + * An HTTP GET on the URL must yield a [google.protobuf.Type][] + + value in binary format, or produce an error. + * Applications are allowed to cache lookup results based on the + + URL, or have them precompiled into a binary to avoid any + lookup. Therefore, binary compatibility needs to be preserved + on changes to types. (Use versioned type names to manage + breaking changes.) + + Note: this functionality is not currently available in the official + + protobuf release, and it is not used for type URLs beginning with + + type.googleapis.com. + + + Schemes other than `http`, `https` (or the empty scheme) might be + + used with implementation specific semantics. + value: + type: string + format: byte + description: Must be a valid serialized protocol buffer of the above specified type. + description: >- + `Any` contains an arbitrary serialized protocol buffer message along with a + + URL that describes the type of the serialized message. + + + Protobuf library provides support to pack/unpack Any values in the form + + of utility functions or additional generated methods of the Any type. + + + Example 1: Pack and unpack a message in C++. + + + Foo foo = ...; + Any any; + any.PackFrom(foo); + ... + if (any.UnpackTo(&foo)) { + ... + } + + Example 2: Pack and unpack a message in Java. + + + Foo foo = ...; + Any any = Any.pack(foo); + ... + if (any.is(Foo.class)) { + foo = any.unpack(Foo.class); + } + + Example 3: Pack and unpack a message in Python. + + foo = Foo(...) + any = Any() + any.Pack(foo) + ... + if any.Is(Foo.DESCRIPTOR): + any.Unpack(foo) + ... + + Example 4: Pack and unpack a message in Go + + foo := &pb.Foo{...} + any, err := ptypes.MarshalAny(foo) + ... + foo := &pb.Foo{} + if err := ptypes.UnmarshalAny(any, foo); err != nil { + ... + } + + The pack methods provided by protobuf library will by default use + + 'type.googleapis.com/full.type.name' as the type URL and the unpack + + methods only use the fully qualified type name after the last '/' + + in the type URL, for example "foo.bar.com/x/y.z" will yield type + + name "y.z". + + + + JSON + + ==== + + The JSON representation of an `Any` value uses the regular + + representation of the deserialized, embedded message, with an + + additional field `@type` which contains the type URL. Example: + + + package google.profile; + message Person { + string first_name = 1; + string last_name = 2; + } + + { + "@type": "type.googleapis.com/google.profile.Person", + "firstName": , + "lastName": + } + + If the embedded message type is well-known and has a custom JSON + + representation, that representation will be embedded adding a field + + `value` which holds the custom JSON in addition to the `@type` + + field. Example (for message [google.protobuf.Duration][]): + + + { + "@type": "type.googleapis.com/google.protobuf.Duration", + "value": "1.212s" + } + parameters: + - name: pagination.key + description: |- + key is a value returned in PageResponse.next_key to begin + querying the next page most efficiently. Only one of offset or key + should be set. + in: query + required: false + schema: + type: string + format: byte + - name: pagination.offset + description: >- + offset is a numeric offset that can be used when key is unavailable. + + It is less efficient than using key. Only one of offset or key should + + be set. + in: query + required: false + schema: + type: string + format: uint64 + - name: pagination.limit + description: >- + limit is the total number of results to be returned in the result page. + + If left empty it will default to a value to be set by each app. + in: query + required: false + schema: + type: string + format: uint64 + - name: pagination.count_total + description: >- + count_total is set to true to indicate that the result set should include + + a count of the total number of items available for pagination in UIs. + + count_total is only respected when offset is used. It is ignored when key + + is set. + in: query + required: false + schema: + type: boolean + - name: pagination.reverse + description: >- + reverse is set to true if results are to be returned in the descending + + order. + in: query + required: false + schema: + type: boolean + tags: + - Query + "/cosmos/auth/v1beta1/accounts/{address}": + get: + summary: Account returns account details based on address. + operationId: Account + responses: + "200": + description: A successful response. + content: + "*/*": + schema: + type: object + properties: + account: + type: object + properties: + type_url: + type: string + description: >- + A URL/resource name that uniquely identifies the type of the serialized + + protocol buffer message. This string must contain at least + + one "/" character. The last segment of the URL's path must represent + + the fully qualified name of the type (as in + + `path/google.protobuf.Duration`). The name should be in a canonical form + + (e.g., leading "." is not accepted). + + + In practice, teams usually precompile into the binary all types that they + + expect it to use in the context of Any. However, for URLs which use the + + scheme `http`, `https`, or no scheme, one can optionally set up a type + + server that maps type URLs to message definitions as follows: + + + * If no scheme is provided, `https` is assumed. + + * An HTTP GET on the URL must yield a [google.protobuf.Type][] + + value in binary format, or produce an error. + * Applications are allowed to cache lookup results based on the + + URL, or have them precompiled into a binary to avoid any + lookup. Therefore, binary compatibility needs to be preserved + on changes to types. (Use versioned type names to manage + breaking changes.) + + Note: this functionality is not currently available in the official + + protobuf release, and it is not used for type URLs beginning with + + type.googleapis.com. + + + Schemes other than `http`, `https` (or the empty scheme) might be + + used with implementation specific semantics. + value: + type: string + format: byte + description: Must be a valid serialized protocol buffer of the above specified type. + description: >- + `Any` contains an arbitrary serialized protocol buffer message along with a + + URL that describes the type of the serialized message. + + + Protobuf library provides support to pack/unpack Any values in the form + + of utility functions or additional generated methods of the Any type. + + + Example 1: Pack and unpack a message in C++. + + + Foo foo = ...; + Any any; + any.PackFrom(foo); + ... + if (any.UnpackTo(&foo)) { + ... + } + + Example 2: Pack and unpack a message in Java. + + + Foo foo = ...; + Any any = Any.pack(foo); + ... + if (any.is(Foo.class)) { + foo = any.unpack(Foo.class); + } + + Example 3: Pack and unpack a message in Python. + + foo = Foo(...) + any = Any() + any.Pack(foo) + ... + if any.Is(Foo.DESCRIPTOR): + any.Unpack(foo) + ... + + Example 4: Pack and unpack a message in Go + + foo := &pb.Foo{...} + any, err := ptypes.MarshalAny(foo) + ... + foo := &pb.Foo{} + if err := ptypes.UnmarshalAny(any, foo); err != nil { + ... + } + + The pack methods provided by protobuf library will by default use + + 'type.googleapis.com/full.type.name' as the type URL and the unpack + + methods only use the fully qualified type name after the last '/' + + in the type URL, for example "foo.bar.com/x/y.z" will yield type + + name "y.z". + + + + JSON + + ==== + + The JSON representation of an `Any` value uses the regular + + representation of the deserialized, embedded message, with an + + additional field `@type` which contains the type URL. Example: + + + package google.profile; + message Person { + string first_name = 1; + string last_name = 2; + } + + { + "@type": "type.googleapis.com/google.profile.Person", + "firstName": , + "lastName": + } + + If the embedded message type is well-known and has a custom JSON + + representation, that representation will be embedded adding a field + + `value` which holds the custom JSON in addition to the `@type` + + field. Example (for message [google.protobuf.Duration][]): + + + { + "@type": "type.googleapis.com/google.protobuf.Duration", + "value": "1.212s" + } + description: QueryAccountResponse is the response type for the Query/Account RPC method. + default: + description: An unexpected error response. + content: + "*/*": + schema: + type: object + properties: + error: + type: string + code: + type: integer + format: int32 + message: + type: string + details: + type: array + items: + type: object + properties: + type_url: + type: string + description: >- + A URL/resource name that uniquely identifies the type of the serialized + + protocol buffer message. This string must contain at least + + one "/" character. The last segment of the URL's path must represent + + the fully qualified name of the type (as in + + `path/google.protobuf.Duration`). The name should be in a canonical form + + (e.g., leading "." is not accepted). + + + In practice, teams usually precompile into the binary all types that they + + expect it to use in the context of Any. However, for URLs which use the + + scheme `http`, `https`, or no scheme, one can optionally set up a type + + server that maps type URLs to message definitions as follows: + + + * If no scheme is provided, `https` is assumed. + + * An HTTP GET on the URL must yield a [google.protobuf.Type][] + + value in binary format, or produce an error. + * Applications are allowed to cache lookup results based on the + + URL, or have them precompiled into a binary to avoid any + lookup. Therefore, binary compatibility needs to be preserved + on changes to types. (Use versioned type names to manage + breaking changes.) + + Note: this functionality is not currently available in the official + + protobuf release, and it is not used for type URLs beginning with + + type.googleapis.com. + + + Schemes other than `http`, `https` (or the empty scheme) might be + + used with implementation specific semantics. + value: + type: string + format: byte + description: Must be a valid serialized protocol buffer of the above specified type. + description: >- + `Any` contains an arbitrary serialized protocol buffer message along with a + + URL that describes the type of the serialized message. + + + Protobuf library provides support to pack/unpack Any values in the form + + of utility functions or additional generated methods of the Any type. + + + Example 1: Pack and unpack a message in C++. + + + Foo foo = ...; + Any any; + any.PackFrom(foo); + ... + if (any.UnpackTo(&foo)) { + ... + } + + Example 2: Pack and unpack a message in Java. + + + Foo foo = ...; + Any any = Any.pack(foo); + ... + if (any.is(Foo.class)) { + foo = any.unpack(Foo.class); + } + + Example 3: Pack and unpack a message in Python. + + foo = Foo(...) + any = Any() + any.Pack(foo) + ... + if any.Is(Foo.DESCRIPTOR): + any.Unpack(foo) + ... + + Example 4: Pack and unpack a message in Go + + foo := &pb.Foo{...} + any, err := ptypes.MarshalAny(foo) + ... + foo := &pb.Foo{} + if err := ptypes.UnmarshalAny(any, foo); err != nil { + ... + } + + The pack methods provided by protobuf library will by default use + + 'type.googleapis.com/full.type.name' as the type URL and the unpack + + methods only use the fully qualified type name after the last '/' + + in the type URL, for example "foo.bar.com/x/y.z" will yield type + + name "y.z". + + + + JSON + + ==== + + The JSON representation of an `Any` value uses the regular + + representation of the deserialized, embedded message, with an + + additional field `@type` which contains the type URL. Example: + + + package google.profile; + message Person { + string first_name = 1; + string last_name = 2; + } + + { + "@type": "type.googleapis.com/google.profile.Person", + "firstName": , + "lastName": + } + + If the embedded message type is well-known and has a custom JSON + + representation, that representation will be embedded adding a field + + `value` which holds the custom JSON in addition to the `@type` + + field. Example (for message [google.protobuf.Duration][]): + + + { + "@type": "type.googleapis.com/google.protobuf.Duration", + "value": "1.212s" + } + parameters: + - name: address + description: address defines the address to query for. + in: path + required: true + schema: + type: string + tags: + - Query + /cosmos/auth/v1beta1/params: + get: + summary: Params queries all parameters. + operationId: AuthParams + responses: + "200": + description: A successful response. + content: + "*/*": + schema: + type: object + properties: + params: + description: params defines the parameters of the module. + type: object + properties: + max_memo_characters: + type: string + format: uint64 + tx_sig_limit: + type: string + format: uint64 + tx_size_cost_per_byte: + type: string + format: uint64 + sig_verify_cost_ed25519: + type: string + format: uint64 + sig_verify_cost_secp256k1: + type: string + format: uint64 + description: QueryParamsResponse is the response type for the Query/Params RPC method. + default: + description: An unexpected error response. + content: + "*/*": + schema: + type: object + properties: + error: + type: string + code: + type: integer + format: int32 + message: + type: string + details: + type: array + items: + type: object + properties: + type_url: + type: string + description: >- + A URL/resource name that uniquely identifies the type of the serialized + + protocol buffer message. This string must contain at least + + one "/" character. The last segment of the URL's path must represent + + the fully qualified name of the type (as in + + `path/google.protobuf.Duration`). The name should be in a canonical form + + (e.g., leading "." is not accepted). + + + In practice, teams usually precompile into the binary all types that they + + expect it to use in the context of Any. However, for URLs which use the + + scheme `http`, `https`, or no scheme, one can optionally set up a type + + server that maps type URLs to message definitions as follows: + + + * If no scheme is provided, `https` is assumed. + + * An HTTP GET on the URL must yield a [google.protobuf.Type][] + + value in binary format, or produce an error. + * Applications are allowed to cache lookup results based on the + + URL, or have them precompiled into a binary to avoid any + lookup. Therefore, binary compatibility needs to be preserved + on changes to types. (Use versioned type names to manage + breaking changes.) + + Note: this functionality is not currently available in the official + + protobuf release, and it is not used for type URLs beginning with + + type.googleapis.com. + + + Schemes other than `http`, `https` (or the empty scheme) might be + + used with implementation specific semantics. + value: + type: string + format: byte + description: Must be a valid serialized protocol buffer of the above specified type. + description: >- + `Any` contains an arbitrary serialized protocol buffer message along with a + + URL that describes the type of the serialized message. + + + Protobuf library provides support to pack/unpack Any values in the form + + of utility functions or additional generated methods of the Any type. + + + Example 1: Pack and unpack a message in C++. + + + Foo foo = ...; + Any any; + any.PackFrom(foo); + ... + if (any.UnpackTo(&foo)) { + ... + } + + Example 2: Pack and unpack a message in Java. + + + Foo foo = ...; + Any any = Any.pack(foo); + ... + if (any.is(Foo.class)) { + foo = any.unpack(Foo.class); + } + + Example 3: Pack and unpack a message in Python. + + foo = Foo(...) + any = Any() + any.Pack(foo) + ... + if any.Is(Foo.DESCRIPTOR): + any.Unpack(foo) + ... + + Example 4: Pack and unpack a message in Go + + foo := &pb.Foo{...} + any, err := ptypes.MarshalAny(foo) + ... + foo := &pb.Foo{} + if err := ptypes.UnmarshalAny(any, foo); err != nil { + ... + } + + The pack methods provided by protobuf library will by default use + + 'type.googleapis.com/full.type.name' as the type URL and the unpack + + methods only use the fully qualified type name after the last '/' + + in the type URL, for example "foo.bar.com/x/y.z" will yield type + + name "y.z". + + + + JSON + + ==== + + The JSON representation of an `Any` value uses the regular + + representation of the deserialized, embedded message, with an + + additional field `@type` which contains the type URL. Example: + + + package google.profile; + message Person { + string first_name = 1; + string last_name = 2; + } + + { + "@type": "type.googleapis.com/google.profile.Person", + "firstName": , + "lastName": + } + + If the embedded message type is well-known and has a custom JSON + + representation, that representation will be embedded adding a field + + `value` which holds the custom JSON in addition to the `@type` + + field. Example (for message [google.protobuf.Duration][]): + + + { + "@type": "type.googleapis.com/google.protobuf.Duration", + "value": "1.212s" + } + tags: + - Query + /cosmos/authz/v1beta1/grants: + get: + summary: Returns list of `Authorization`, granted to the grantee by the granter. + operationId: Grants + responses: + "200": + description: A successful response. + content: + "*/*": + schema: + type: object + properties: + grants: + type: array + items: + type: object + properties: + authorization: + type: object + properties: + type_url: + type: string + description: >- + A URL/resource name that uniquely identifies the type of the serialized + + protocol buffer message. This string must contain at least + + one "/" character. The last segment of the URL's path must represent + + the fully qualified name of the type (as in + + `path/google.protobuf.Duration`). The name should be in a canonical form + + (e.g., leading "." is not accepted). + + + In practice, teams usually precompile into the binary all types that they + + expect it to use in the context of Any. However, for URLs which use the + + scheme `http`, `https`, or no scheme, one can optionally set up a type + + server that maps type URLs to message definitions as follows: + + + * If no scheme is provided, `https` is assumed. + + * An HTTP GET on the URL must yield a [google.protobuf.Type][] + + value in binary format, or produce an error. + * Applications are allowed to cache lookup results based on the + + URL, or have them precompiled into a binary to avoid any + lookup. Therefore, binary compatibility needs to be preserved + on changes to types. (Use versioned type names to manage + breaking changes.) + + Note: this functionality is not currently available in the official + + protobuf release, and it is not used for type URLs beginning with + + type.googleapis.com. + + + Schemes other than `http`, `https` (or the empty scheme) might be + + used with implementation specific semantics. + value: + type: string + format: byte + description: Must be a valid serialized protocol buffer of the above specified type. + description: >- + `Any` contains an arbitrary serialized protocol buffer message along with a + + URL that describes the type of the serialized message. + + + Protobuf library provides support to pack/unpack Any values in the form + + of utility functions or additional generated methods of the Any type. + + + Example 1: Pack and unpack a message in C++. + + + Foo foo = ...; + Any any; + any.PackFrom(foo); + ... + if (any.UnpackTo(&foo)) { + ... + } + + Example 2: Pack and unpack a message in Java. + + + Foo foo = ...; + Any any = Any.pack(foo); + ... + if (any.is(Foo.class)) { + foo = any.unpack(Foo.class); + } + + Example 3: Pack and unpack a message in Python. + + foo = Foo(...) + any = Any() + any.Pack(foo) + ... + if any.Is(Foo.DESCRIPTOR): + any.Unpack(foo) + ... + + Example 4: Pack and unpack a message in Go + + foo := &pb.Foo{...} + any, err := ptypes.MarshalAny(foo) + ... + foo := &pb.Foo{} + if err := ptypes.UnmarshalAny(any, foo); err != nil { + ... + } + + The pack methods provided by protobuf library will by default use + + 'type.googleapis.com/full.type.name' as the type URL and the unpack + + methods only use the fully qualified type name after the last '/' + + in the type URL, for example "foo.bar.com/x/y.z" will yield type + + name "y.z". + + + + JSON + + ==== + + The JSON representation of an `Any` value uses the regular + + representation of the deserialized, embedded message, with an + + additional field `@type` which contains the type URL. Example: + + + package google.profile; + message Person { + string first_name = 1; + string last_name = 2; + } + + { + "@type": "type.googleapis.com/google.profile.Person", + "firstName": , + "lastName": + } + + If the embedded message type is well-known and has a custom JSON + + representation, that representation will be embedded adding a field + + `value` which holds the custom JSON in addition to the `@type` + + field. Example (for message [google.protobuf.Duration][]): + + + { + "@type": "type.googleapis.com/google.protobuf.Duration", + "value": "1.212s" + } + expiration: + type: string + format: date-time + description: |- + Grant gives permissions to execute + the provide method with expiration time. + description: authorizations is a list of grants granted for grantee by granter. + pagination: + description: pagination defines an pagination for the response. + type: object + properties: + next_key: + type: string + format: byte + title: |- + next_key is the key to be passed to PageRequest.key to + query the next page most efficiently + total: + type: string + format: uint64 + title: >- + total is total number of results available if PageRequest.count_total + + was set, its value is undefined otherwise + description: QueryGrantsResponse is the response type for the Query/Authorizations RPC method. + default: + description: An unexpected error response. + content: + "*/*": + schema: + type: object + properties: + error: + type: string + code: + type: integer + format: int32 + message: + type: string + details: + type: array + items: + type: object + properties: + type_url: + type: string + description: >- + A URL/resource name that uniquely identifies the type of the serialized + + protocol buffer message. This string must contain at least + + one "/" character. The last segment of the URL's path must represent + + the fully qualified name of the type (as in + + `path/google.protobuf.Duration`). The name should be in a canonical form + + (e.g., leading "." is not accepted). + + + In practice, teams usually precompile into the binary all types that they + + expect it to use in the context of Any. However, for URLs which use the + + scheme `http`, `https`, or no scheme, one can optionally set up a type + + server that maps type URLs to message definitions as follows: + + + * If no scheme is provided, `https` is assumed. + + * An HTTP GET on the URL must yield a [google.protobuf.Type][] + + value in binary format, or produce an error. + * Applications are allowed to cache lookup results based on the + + URL, or have them precompiled into a binary to avoid any + lookup. Therefore, binary compatibility needs to be preserved + on changes to types. (Use versioned type names to manage + breaking changes.) + + Note: this functionality is not currently available in the official + + protobuf release, and it is not used for type URLs beginning with + + type.googleapis.com. + + + Schemes other than `http`, `https` (or the empty scheme) might be + + used with implementation specific semantics. + value: + type: string + format: byte + description: Must be a valid serialized protocol buffer of the above specified type. + description: >- + `Any` contains an arbitrary serialized protocol buffer message along with a + + URL that describes the type of the serialized message. + + + Protobuf library provides support to pack/unpack Any values in the form + + of utility functions or additional generated methods of the Any type. + + + Example 1: Pack and unpack a message in C++. + + + Foo foo = ...; + Any any; + any.PackFrom(foo); + ... + if (any.UnpackTo(&foo)) { + ... + } + + Example 2: Pack and unpack a message in Java. + + + Foo foo = ...; + Any any = Any.pack(foo); + ... + if (any.is(Foo.class)) { + foo = any.unpack(Foo.class); + } + + Example 3: Pack and unpack a message in Python. + + foo = Foo(...) + any = Any() + any.Pack(foo) + ... + if any.Is(Foo.DESCRIPTOR): + any.Unpack(foo) + ... + + Example 4: Pack and unpack a message in Go + + foo := &pb.Foo{...} + any, err := ptypes.MarshalAny(foo) + ... + foo := &pb.Foo{} + if err := ptypes.UnmarshalAny(any, foo); err != nil { + ... + } + + The pack methods provided by protobuf library will by default use + + 'type.googleapis.com/full.type.name' as the type URL and the unpack + + methods only use the fully qualified type name after the last '/' + + in the type URL, for example "foo.bar.com/x/y.z" will yield type + + name "y.z". + + + + JSON + + ==== + + The JSON representation of an `Any` value uses the regular + + representation of the deserialized, embedded message, with an + + additional field `@type` which contains the type URL. Example: + + + package google.profile; + message Person { + string first_name = 1; + string last_name = 2; + } + + { + "@type": "type.googleapis.com/google.profile.Person", + "firstName": , + "lastName": + } + + If the embedded message type is well-known and has a custom JSON + + representation, that representation will be embedded adding a field + + `value` which holds the custom JSON in addition to the `@type` + + field. Example (for message [google.protobuf.Duration][]): + + + { + "@type": "type.googleapis.com/google.protobuf.Duration", + "value": "1.212s" + } + parameters: + - name: granter + in: query + required: false + schema: + type: string + - name: grantee + in: query + required: false + schema: + type: string + - name: msg_type_url + description: Optional, msg_type_url, when set, will query only grants matching given msg type. + in: query + required: false + schema: + type: string + - name: pagination.key + description: |- + key is a value returned in PageResponse.next_key to begin + querying the next page most efficiently. Only one of offset or key + should be set. + in: query + required: false + schema: + type: string + format: byte + - name: pagination.offset + description: >- + offset is a numeric offset that can be used when key is unavailable. + + It is less efficient than using key. Only one of offset or key should + + be set. + in: query + required: false + schema: + type: string + format: uint64 + - name: pagination.limit + description: >- + limit is the total number of results to be returned in the result page. + + If left empty it will default to a value to be set by each app. + in: query + required: false + schema: + type: string + format: uint64 + - name: pagination.count_total + description: >- + count_total is set to true to indicate that the result set should include + + a count of the total number of items available for pagination in UIs. + + count_total is only respected when offset is used. It is ignored when key + + is set. + in: query + required: false + schema: + type: boolean + - name: pagination.reverse + description: >- + reverse is set to true if results are to be returned in the descending + + order. + in: query + required: false + schema: + type: boolean + tags: + - Query + "/cosmos/authz/v1beta1/grants/grantee/{grantee}": + get: + summary: GranteeGrants returns a list of `GrantAuthorization` by grantee. + description: "Since: cosmos-sdk 0.45.2" + operationId: GranteeGrants + responses: + "200": + description: A successful response. + content: + "*/*": + schema: + type: object + properties: + grants: + type: array + items: + type: object + properties: + granter: + type: string + grantee: + type: string + authorization: + type: object + properties: + type_url: + type: string + description: >- + A URL/resource name that uniquely identifies the type of the serialized + + protocol buffer message. This string must contain at least + + one "/" character. The last segment of the URL's path must represent + + the fully qualified name of the type (as in + + `path/google.protobuf.Duration`). The name should be in a canonical form + + (e.g., leading "." is not accepted). + + + In practice, teams usually precompile into the binary all types that they + + expect it to use in the context of Any. However, for URLs which use the + + scheme `http`, `https`, or no scheme, one can optionally set up a type + + server that maps type URLs to message definitions as follows: + + + * If no scheme is provided, `https` is assumed. + + * An HTTP GET on the URL must yield a [google.protobuf.Type][] + + value in binary format, or produce an error. + * Applications are allowed to cache lookup results based on the + + URL, or have them precompiled into a binary to avoid any + lookup. Therefore, binary compatibility needs to be preserved + on changes to types. (Use versioned type names to manage + breaking changes.) + + Note: this functionality is not currently available in the official + + protobuf release, and it is not used for type URLs beginning with + + type.googleapis.com. + + + Schemes other than `http`, `https` (or the empty scheme) might be + + used with implementation specific semantics. + value: + type: string + format: byte + description: Must be a valid serialized protocol buffer of the above specified type. + description: >- + `Any` contains an arbitrary serialized protocol buffer message along with a + + URL that describes the type of the serialized message. + + + Protobuf library provides support to pack/unpack Any values in the form + + of utility functions or additional generated methods of the Any type. + + + Example 1: Pack and unpack a message in C++. + + + Foo foo = ...; + Any any; + any.PackFrom(foo); + ... + if (any.UnpackTo(&foo)) { + ... + } + + Example 2: Pack and unpack a message in Java. + + + Foo foo = ...; + Any any = Any.pack(foo); + ... + if (any.is(Foo.class)) { + foo = any.unpack(Foo.class); + } + + Example 3: Pack and unpack a message in Python. + + foo = Foo(...) + any = Any() + any.Pack(foo) + ... + if any.Is(Foo.DESCRIPTOR): + any.Unpack(foo) + ... + + Example 4: Pack and unpack a message in Go + + foo := &pb.Foo{...} + any, err := ptypes.MarshalAny(foo) + ... + foo := &pb.Foo{} + if err := ptypes.UnmarshalAny(any, foo); err != nil { + ... + } + + The pack methods provided by protobuf library will by default use + + 'type.googleapis.com/full.type.name' as the type URL and the unpack + + methods only use the fully qualified type name after the last '/' + + in the type URL, for example "foo.bar.com/x/y.z" will yield type + + name "y.z". + + + + JSON + + ==== + + The JSON representation of an `Any` value uses the regular + + representation of the deserialized, embedded message, with an + + additional field `@type` which contains the type URL. Example: + + + package google.profile; + message Person { + string first_name = 1; + string last_name = 2; + } + + { + "@type": "type.googleapis.com/google.profile.Person", + "firstName": , + "lastName": + } + + If the embedded message type is well-known and has a custom JSON + + representation, that representation will be embedded adding a field + + `value` which holds the custom JSON in addition to the `@type` + + field. Example (for message [google.protobuf.Duration][]): + + + { + "@type": "type.googleapis.com/google.protobuf.Duration", + "value": "1.212s" + } + expiration: + type: string + format: date-time + description: "Since: cosmos-sdk 0.45.2" + title: >- + GrantAuthorization extends a grant with both the addresses of the grantee and granter. + + It is used in genesis.proto and query.proto + description: grants is a list of grants granted to the grantee. + pagination: + description: pagination defines an pagination for the response. + type: object + properties: + next_key: + type: string + format: byte + title: |- + next_key is the key to be passed to PageRequest.key to + query the next page most efficiently + total: + type: string + format: uint64 + title: >- + total is total number of results available if PageRequest.count_total + + was set, its value is undefined otherwise + description: QueryGranteeGrantsResponse is the response type for the Query/GranteeGrants RPC method. + default: + description: An unexpected error response. + content: + "*/*": + schema: + type: object + properties: + error: + type: string + code: + type: integer + format: int32 + message: + type: string + details: + type: array + items: + type: object + properties: + type_url: + type: string + description: >- + A URL/resource name that uniquely identifies the type of the serialized + + protocol buffer message. This string must contain at least + + one "/" character. The last segment of the URL's path must represent + + the fully qualified name of the type (as in + + `path/google.protobuf.Duration`). The name should be in a canonical form + + (e.g., leading "." is not accepted). + + + In practice, teams usually precompile into the binary all types that they + + expect it to use in the context of Any. However, for URLs which use the + + scheme `http`, `https`, or no scheme, one can optionally set up a type + + server that maps type URLs to message definitions as follows: + + + * If no scheme is provided, `https` is assumed. + + * An HTTP GET on the URL must yield a [google.protobuf.Type][] + + value in binary format, or produce an error. + * Applications are allowed to cache lookup results based on the + + URL, or have them precompiled into a binary to avoid any + lookup. Therefore, binary compatibility needs to be preserved + on changes to types. (Use versioned type names to manage + breaking changes.) + + Note: this functionality is not currently available in the official + + protobuf release, and it is not used for type URLs beginning with + + type.googleapis.com. + + + Schemes other than `http`, `https` (or the empty scheme) might be + + used with implementation specific semantics. + value: + type: string + format: byte + description: Must be a valid serialized protocol buffer of the above specified type. + description: >- + `Any` contains an arbitrary serialized protocol buffer message along with a + + URL that describes the type of the serialized message. + + + Protobuf library provides support to pack/unpack Any values in the form + + of utility functions or additional generated methods of the Any type. + + + Example 1: Pack and unpack a message in C++. + + + Foo foo = ...; + Any any; + any.PackFrom(foo); + ... + if (any.UnpackTo(&foo)) { + ... + } + + Example 2: Pack and unpack a message in Java. + + + Foo foo = ...; + Any any = Any.pack(foo); + ... + if (any.is(Foo.class)) { + foo = any.unpack(Foo.class); + } + + Example 3: Pack and unpack a message in Python. + + foo = Foo(...) + any = Any() + any.Pack(foo) + ... + if any.Is(Foo.DESCRIPTOR): + any.Unpack(foo) + ... + + Example 4: Pack and unpack a message in Go + + foo := &pb.Foo{...} + any, err := ptypes.MarshalAny(foo) + ... + foo := &pb.Foo{} + if err := ptypes.UnmarshalAny(any, foo); err != nil { + ... + } + + The pack methods provided by protobuf library will by default use + + 'type.googleapis.com/full.type.name' as the type URL and the unpack + + methods only use the fully qualified type name after the last '/' + + in the type URL, for example "foo.bar.com/x/y.z" will yield type + + name "y.z". + + + + JSON + + ==== + + The JSON representation of an `Any` value uses the regular + + representation of the deserialized, embedded message, with an + + additional field `@type` which contains the type URL. Example: + + + package google.profile; + message Person { + string first_name = 1; + string last_name = 2; + } + + { + "@type": "type.googleapis.com/google.profile.Person", + "firstName": , + "lastName": + } + + If the embedded message type is well-known and has a custom JSON + + representation, that representation will be embedded adding a field + + `value` which holds the custom JSON in addition to the `@type` + + field. Example (for message [google.protobuf.Duration][]): + + + { + "@type": "type.googleapis.com/google.protobuf.Duration", + "value": "1.212s" + } + parameters: + - name: grantee + in: path + required: true + schema: + type: string + - name: pagination.key + description: |- + key is a value returned in PageResponse.next_key to begin + querying the next page most efficiently. Only one of offset or key + should be set. + in: query + required: false + schema: + type: string + format: byte + - name: pagination.offset + description: >- + offset is a numeric offset that can be used when key is unavailable. + + It is less efficient than using key. Only one of offset or key should + + be set. + in: query + required: false + schema: + type: string + format: uint64 + - name: pagination.limit + description: >- + limit is the total number of results to be returned in the result page. + + If left empty it will default to a value to be set by each app. + in: query + required: false + schema: + type: string + format: uint64 + - name: pagination.count_total + description: >- + count_total is set to true to indicate that the result set should include + + a count of the total number of items available for pagination in UIs. + + count_total is only respected when offset is used. It is ignored when key + + is set. + in: query + required: false + schema: + type: boolean + - name: pagination.reverse + description: >- + reverse is set to true if results are to be returned in the descending + + order. + in: query + required: false + schema: + type: boolean + tags: + - Query + "/cosmos/authz/v1beta1/grants/granter/{granter}": + get: + summary: GranterGrants returns list of `GrantAuthorization`, granted by granter. + description: "Since: cosmos-sdk 0.45.2" + operationId: GranterGrants + responses: + "200": + description: A successful response. + content: + "*/*": + schema: + type: object + properties: + grants: + type: array + items: + type: object + properties: + granter: + type: string + grantee: + type: string + authorization: + type: object + properties: + type_url: + type: string + description: >- + A URL/resource name that uniquely identifies the type of the serialized + + protocol buffer message. This string must contain at least + + one "/" character. The last segment of the URL's path must represent + + the fully qualified name of the type (as in + + `path/google.protobuf.Duration`). The name should be in a canonical form + + (e.g., leading "." is not accepted). + + + In practice, teams usually precompile into the binary all types that they + + expect it to use in the context of Any. However, for URLs which use the + + scheme `http`, `https`, or no scheme, one can optionally set up a type + + server that maps type URLs to message definitions as follows: + + + * If no scheme is provided, `https` is assumed. + + * An HTTP GET on the URL must yield a [google.protobuf.Type][] + + value in binary format, or produce an error. + * Applications are allowed to cache lookup results based on the + + URL, or have them precompiled into a binary to avoid any + lookup. Therefore, binary compatibility needs to be preserved + on changes to types. (Use versioned type names to manage + breaking changes.) + + Note: this functionality is not currently available in the official + + protobuf release, and it is not used for type URLs beginning with + + type.googleapis.com. + + + Schemes other than `http`, `https` (or the empty scheme) might be + + used with implementation specific semantics. + value: + type: string + format: byte + description: Must be a valid serialized protocol buffer of the above specified type. + description: >- + `Any` contains an arbitrary serialized protocol buffer message along with a + + URL that describes the type of the serialized message. + + + Protobuf library provides support to pack/unpack Any values in the form + + of utility functions or additional generated methods of the Any type. + + + Example 1: Pack and unpack a message in C++. + + + Foo foo = ...; + Any any; + any.PackFrom(foo); + ... + if (any.UnpackTo(&foo)) { + ... + } + + Example 2: Pack and unpack a message in Java. + + + Foo foo = ...; + Any any = Any.pack(foo); + ... + if (any.is(Foo.class)) { + foo = any.unpack(Foo.class); + } + + Example 3: Pack and unpack a message in Python. + + foo = Foo(...) + any = Any() + any.Pack(foo) + ... + if any.Is(Foo.DESCRIPTOR): + any.Unpack(foo) + ... + + Example 4: Pack and unpack a message in Go + + foo := &pb.Foo{...} + any, err := ptypes.MarshalAny(foo) + ... + foo := &pb.Foo{} + if err := ptypes.UnmarshalAny(any, foo); err != nil { + ... + } + + The pack methods provided by protobuf library will by default use + + 'type.googleapis.com/full.type.name' as the type URL and the unpack + + methods only use the fully qualified type name after the last '/' + + in the type URL, for example "foo.bar.com/x/y.z" will yield type + + name "y.z". + + + + JSON + + ==== + + The JSON representation of an `Any` value uses the regular + + representation of the deserialized, embedded message, with an + + additional field `@type` which contains the type URL. Example: + + + package google.profile; + message Person { + string first_name = 1; + string last_name = 2; + } + + { + "@type": "type.googleapis.com/google.profile.Person", + "firstName": , + "lastName": + } + + If the embedded message type is well-known and has a custom JSON + + representation, that representation will be embedded adding a field + + `value` which holds the custom JSON in addition to the `@type` + + field. Example (for message [google.protobuf.Duration][]): + + + { + "@type": "type.googleapis.com/google.protobuf.Duration", + "value": "1.212s" + } + expiration: + type: string + format: date-time + description: "Since: cosmos-sdk 0.45.2" + title: >- + GrantAuthorization extends a grant with both the addresses of the grantee and granter. + + It is used in genesis.proto and query.proto + description: grants is a list of grants granted by the granter. + pagination: + description: pagination defines an pagination for the response. + type: object + properties: + next_key: + type: string + format: byte + title: |- + next_key is the key to be passed to PageRequest.key to + query the next page most efficiently + total: + type: string + format: uint64 + title: >- + total is total number of results available if PageRequest.count_total + + was set, its value is undefined otherwise + description: QueryGranterGrantsResponse is the response type for the Query/GranterGrants RPC method. + default: + description: An unexpected error response. + content: + "*/*": + schema: + type: object + properties: + error: + type: string + code: + type: integer + format: int32 + message: + type: string + details: + type: array + items: + type: object + properties: + type_url: + type: string + description: >- + A URL/resource name that uniquely identifies the type of the serialized + + protocol buffer message. This string must contain at least + + one "/" character. The last segment of the URL's path must represent + + the fully qualified name of the type (as in + + `path/google.protobuf.Duration`). The name should be in a canonical form + + (e.g., leading "." is not accepted). + + + In practice, teams usually precompile into the binary all types that they + + expect it to use in the context of Any. However, for URLs which use the + + scheme `http`, `https`, or no scheme, one can optionally set up a type + + server that maps type URLs to message definitions as follows: + + + * If no scheme is provided, `https` is assumed. + + * An HTTP GET on the URL must yield a [google.protobuf.Type][] + + value in binary format, or produce an error. + * Applications are allowed to cache lookup results based on the + + URL, or have them precompiled into a binary to avoid any + lookup. Therefore, binary compatibility needs to be preserved + on changes to types. (Use versioned type names to manage + breaking changes.) + + Note: this functionality is not currently available in the official + + protobuf release, and it is not used for type URLs beginning with + + type.googleapis.com. + + + Schemes other than `http`, `https` (or the empty scheme) might be + + used with implementation specific semantics. + value: + type: string + format: byte + description: Must be a valid serialized protocol buffer of the above specified type. + description: >- + `Any` contains an arbitrary serialized protocol buffer message along with a + + URL that describes the type of the serialized message. + + + Protobuf library provides support to pack/unpack Any values in the form + + of utility functions or additional generated methods of the Any type. + + + Example 1: Pack and unpack a message in C++. + + + Foo foo = ...; + Any any; + any.PackFrom(foo); + ... + if (any.UnpackTo(&foo)) { + ... + } + + Example 2: Pack and unpack a message in Java. + + + Foo foo = ...; + Any any = Any.pack(foo); + ... + if (any.is(Foo.class)) { + foo = any.unpack(Foo.class); + } + + Example 3: Pack and unpack a message in Python. + + foo = Foo(...) + any = Any() + any.Pack(foo) + ... + if any.Is(Foo.DESCRIPTOR): + any.Unpack(foo) + ... + + Example 4: Pack and unpack a message in Go + + foo := &pb.Foo{...} + any, err := ptypes.MarshalAny(foo) + ... + foo := &pb.Foo{} + if err := ptypes.UnmarshalAny(any, foo); err != nil { + ... + } + + The pack methods provided by protobuf library will by default use + + 'type.googleapis.com/full.type.name' as the type URL and the unpack + + methods only use the fully qualified type name after the last '/' + + in the type URL, for example "foo.bar.com/x/y.z" will yield type + + name "y.z". + + + + JSON + + ==== + + The JSON representation of an `Any` value uses the regular + + representation of the deserialized, embedded message, with an + + additional field `@type` which contains the type URL. Example: + + + package google.profile; + message Person { + string first_name = 1; + string last_name = 2; + } + + { + "@type": "type.googleapis.com/google.profile.Person", + "firstName": , + "lastName": + } + + If the embedded message type is well-known and has a custom JSON + + representation, that representation will be embedded adding a field + + `value` which holds the custom JSON in addition to the `@type` + + field. Example (for message [google.protobuf.Duration][]): + + + { + "@type": "type.googleapis.com/google.protobuf.Duration", + "value": "1.212s" + } + parameters: + - name: granter + in: path + required: true + schema: + type: string + - name: pagination.key + description: |- + key is a value returned in PageResponse.next_key to begin + querying the next page most efficiently. Only one of offset or key + should be set. + in: query + required: false + schema: + type: string + format: byte + - name: pagination.offset + description: >- + offset is a numeric offset that can be used when key is unavailable. + + It is less efficient than using key. Only one of offset or key should + + be set. + in: query + required: false + schema: + type: string + format: uint64 + - name: pagination.limit + description: >- + limit is the total number of results to be returned in the result page. + + If left empty it will default to a value to be set by each app. + in: query + required: false + schema: + type: string + format: uint64 + - name: pagination.count_total + description: >- + count_total is set to true to indicate that the result set should include + + a count of the total number of items available for pagination in UIs. + + count_total is only respected when offset is used. It is ignored when key + + is set. + in: query + required: false + schema: + type: boolean + - name: pagination.reverse + description: >- + reverse is set to true if results are to be returned in the descending + + order. + in: query + required: false + schema: + type: boolean + tags: + - Query + "/cosmos/bank/v1beta1/balances/{address}": + get: + summary: AllBalances queries the balance of all coins for a single account. + operationId: AllBalances + responses: + "200": + description: A successful response. + content: + "*/*": + schema: + type: object + properties: + balances: + type: array + items: + type: object + properties: + denom: + type: string + amount: + type: string + description: >- + Coin defines a token with a denomination and an amount. + + + NOTE: The amount field is an Int which implements the custom method + + signatures required by gogoproto. + description: balances is the balances of all the coins. + pagination: + description: pagination defines the pagination in the response. + type: object + properties: + next_key: + type: string + format: byte + title: |- + next_key is the key to be passed to PageRequest.key to + query the next page most efficiently + total: + type: string + format: uint64 + title: >- + total is total number of results available if PageRequest.count_total + + was set, its value is undefined otherwise + description: >- + QueryAllBalancesResponse is the response type for the Query/AllBalances RPC + + method. + default: + description: An unexpected error response. + content: + "*/*": + schema: + type: object + properties: + error: + type: string + code: + type: integer + format: int32 + message: + type: string + details: + type: array + items: + type: object + properties: + type_url: + type: string + value: + type: string + format: byte + parameters: + - name: address + description: address is the address to query balances for. + in: path + required: true + schema: + type: string + - name: pagination.key + description: |- + key is a value returned in PageResponse.next_key to begin + querying the next page most efficiently. Only one of offset or key + should be set. + in: query + required: false + schema: + type: string + format: byte + - name: pagination.offset + description: >- + offset is a numeric offset that can be used when key is unavailable. + + It is less efficient than using key. Only one of offset or key should + + be set. + in: query + required: false + schema: + type: string + format: uint64 + - name: pagination.limit + description: >- + limit is the total number of results to be returned in the result page. + + If left empty it will default to a value to be set by each app. + in: query + required: false + schema: + type: string + format: uint64 + - name: pagination.count_total + description: >- + count_total is set to true to indicate that the result set should include + + a count of the total number of items available for pagination in UIs. + + count_total is only respected when offset is used. It is ignored when key + + is set. + in: query + required: false + schema: + type: boolean + - name: pagination.reverse + description: >- + reverse is set to true if results are to be returned in the descending + + order. + in: query + required: false + schema: + type: boolean + tags: + - Query + "/cosmos/bank/v1beta1/balances/{address}/by_denom": + get: + summary: Balance queries the balance of a single coin for a single account. + operationId: Balance + responses: + "200": + description: A successful response. + content: + "*/*": + schema: + type: object + properties: + balance: + type: object + properties: + denom: + type: string + amount: + type: string + description: >- + Coin defines a token with a denomination and an amount. + + + NOTE: The amount field is an Int which implements the custom method + + signatures required by gogoproto. + description: QueryBalanceResponse is the response type for the Query/Balance RPC method. + default: + description: An unexpected error response. + content: + "*/*": + schema: + type: object + properties: + error: + type: string + code: + type: integer + format: int32 + message: + type: string + details: + type: array + items: + type: object + properties: + type_url: + type: string + value: + type: string + format: byte + parameters: + - name: address + description: address is the address to query balances for. + in: path + required: true + schema: + type: string + - name: denom + description: denom is the coin denom to query balances for. + in: query + required: false + schema: + type: string + tags: + - Query + /cosmos/bank/v1beta1/denoms_metadata: + get: + summary: DenomsMetadata queries the client metadata for all registered coin denominations. + operationId: DenomsMetadata + responses: + "200": + description: A successful response. + content: + "*/*": + schema: + type: object + properties: + metadatas: + type: array + items: + type: object + properties: + description: + type: string + denom_units: + type: array + items: + type: object + properties: + denom: + type: string + description: denom represents the string name of the given denom unit (e.g uatom). + exponent: + type: integer + format: int64 + description: >- + exponent represents power of 10 exponent that one must + + raise the base_denom to in order to equal the given DenomUnit's denom + + 1 denom = 1^exponent base_denom + + (e.g. with a base_denom of uatom, one can create a DenomUnit of 'atom' with + + exponent = 6, thus: 1 atom = 10^6 uatom). + aliases: + type: array + items: + type: string + title: aliases is a list of string aliases for the given denom + description: >- + DenomUnit represents a struct that describes a given + + denomination unit of the basic token. + title: denom_units represents the list of DenomUnit's for a given coin + base: + type: string + description: base represents the base denom (should be the DenomUnit with exponent = 0). + display: + type: string + description: |- + display indicates the suggested denom that should be + displayed in clients. + name: + type: string + description: "Since: cosmos-sdk 0.43" + title: "name defines the name of the token (eg: Cosmos Atom)" + symbol: + type: string + description: >- + symbol is the token symbol usually shown on exchanges (eg: ATOM). This can + + be the same as the display. + + + Since: cosmos-sdk 0.43 + description: |- + Metadata represents a struct that describes + a basic token. + description: metadata provides the client information for all the registered tokens. + pagination: + description: pagination defines the pagination in the response. + type: object + properties: + next_key: + type: string + format: byte + title: |- + next_key is the key to be passed to PageRequest.key to + query the next page most efficiently + total: + type: string + format: uint64 + title: >- + total is total number of results available if PageRequest.count_total + + was set, its value is undefined otherwise + description: >- + QueryDenomsMetadataResponse is the response type for the Query/DenomsMetadata RPC + + method. + default: + description: An unexpected error response. + content: + "*/*": + schema: + type: object + properties: + error: + type: string + code: + type: integer + format: int32 + message: + type: string + details: + type: array + items: + type: object + properties: + type_url: + type: string + value: + type: string + format: byte + parameters: + - name: pagination.key + description: |- + key is a value returned in PageResponse.next_key to begin + querying the next page most efficiently. Only one of offset or key + should be set. + in: query + required: false + schema: + type: string + format: byte + - name: pagination.offset + description: >- + offset is a numeric offset that can be used when key is unavailable. + + It is less efficient than using key. Only one of offset or key should + + be set. + in: query + required: false + schema: + type: string + format: uint64 + - name: pagination.limit + description: >- + limit is the total number of results to be returned in the result page. + + If left empty it will default to a value to be set by each app. + in: query + required: false + schema: + type: string + format: uint64 + - name: pagination.count_total + description: >- + count_total is set to true to indicate that the result set should include + + a count of the total number of items available for pagination in UIs. + + count_total is only respected when offset is used. It is ignored when key + + is set. + in: query + required: false + schema: + type: boolean + - name: pagination.reverse + description: >- + reverse is set to true if results are to be returned in the descending + + order. + in: query + required: false + schema: + type: boolean + tags: + - Query + "/cosmos/bank/v1beta1/denoms_metadata/{denom}": + get: + summary: DenomsMetadata queries the client metadata of a given coin denomination. + operationId: DenomMetadata + responses: + "200": + description: A successful response. + content: + "*/*": + schema: + type: object + properties: + metadata: + type: object + properties: + description: + type: string + denom_units: + type: array + items: + type: object + properties: + denom: + type: string + description: denom represents the string name of the given denom unit (e.g uatom). + exponent: + type: integer + format: int64 + description: >- + exponent represents power of 10 exponent that one must + + raise the base_denom to in order to equal the given DenomUnit's denom + + 1 denom = 1^exponent base_denom + + (e.g. with a base_denom of uatom, one can create a DenomUnit of 'atom' with + + exponent = 6, thus: 1 atom = 10^6 uatom). + aliases: + type: array + items: + type: string + title: aliases is a list of string aliases for the given denom + description: |- + DenomUnit represents a struct that describes a given + denomination unit of the basic token. + title: denom_units represents the list of DenomUnit's for a given coin + base: + type: string + description: base represents the base denom (should be the DenomUnit with exponent = 0). + display: + type: string + description: |- + display indicates the suggested denom that should be + displayed in clients. + name: + type: string + description: "Since: cosmos-sdk 0.43" + title: "name defines the name of the token (eg: Cosmos Atom)" + symbol: + type: string + description: >- + symbol is the token symbol usually shown on exchanges (eg: ATOM). This can + + be the same as the display. + + + Since: cosmos-sdk 0.43 + description: |- + Metadata represents a struct that describes + a basic token. + description: >- + QueryDenomMetadataResponse is the response type for the Query/DenomMetadata RPC + + method. + default: + description: An unexpected error response. + content: + "*/*": + schema: + type: object + properties: + error: + type: string + code: + type: integer + format: int32 + message: + type: string + details: + type: array + items: + type: object + properties: + type_url: + type: string + value: + type: string + format: byte + parameters: + - name: denom + description: denom is the coin denom to query the metadata for. + in: path + required: true + schema: + type: string + tags: + - Query + /cosmos/bank/v1beta1/params: + get: + summary: Params queries the parameters of x/bank module. + operationId: BankParams + responses: + "200": + description: A successful response. + content: + "*/*": + schema: + type: object + properties: + params: + type: object + properties: + send_enabled: + type: array + items: + type: object + properties: + denom: + type: string + enabled: + type: boolean + description: >- + SendEnabled maps coin denom to a send_enabled status (whether a denom is + + sendable). + default_send_enabled: + type: boolean + description: Params defines the parameters for the bank module. + description: QueryParamsResponse defines the response type for querying x/bank parameters. + default: + description: An unexpected error response. + content: + "*/*": + schema: + type: object + properties: + error: + type: string + code: + type: integer + format: int32 + message: + type: string + details: + type: array + items: + type: object + properties: + type_url: + type: string + value: + type: string + format: byte + tags: + - Query + "/cosmos/bank/v1beta1/spendable_balances/{address}": + get: + summary: |- + SpendableBalances queries the spenable balance of all coins for a single + account. + operationId: SpendableBalances + responses: + "200": + description: A successful response. + content: + "*/*": + schema: + type: object + properties: + balances: + type: array + items: + type: object + properties: + denom: + type: string + amount: + type: string + description: >- + Coin defines a token with a denomination and an amount. + + + NOTE: The amount field is an Int which implements the custom method + + signatures required by gogoproto. + description: balances is the spendable balances of all the coins. + pagination: + description: pagination defines the pagination in the response. + type: object + properties: + next_key: + type: string + format: byte + title: |- + next_key is the key to be passed to PageRequest.key to + query the next page most efficiently + total: + type: string + format: uint64 + title: >- + total is total number of results available if PageRequest.count_total + + was set, its value is undefined otherwise + description: >- + QuerySpendableBalancesResponse defines the gRPC response structure for querying + + an account's spendable balances. + default: + description: An unexpected error response. + content: + "*/*": + schema: + type: object + properties: + error: + type: string + code: + type: integer + format: int32 + message: + type: string + details: + type: array + items: + type: object + properties: + type_url: + type: string + value: + type: string + format: byte + parameters: + - name: address + description: address is the address to query spendable balances for. + in: path + required: true + schema: + type: string + - name: pagination.key + description: |- + key is a value returned in PageResponse.next_key to begin + querying the next page most efficiently. Only one of offset or key + should be set. + in: query + required: false + schema: + type: string + format: byte + - name: pagination.offset + description: >- + offset is a numeric offset that can be used when key is unavailable. + + It is less efficient than using key. Only one of offset or key should + + be set. + in: query + required: false + schema: + type: string + format: uint64 + - name: pagination.limit + description: >- + limit is the total number of results to be returned in the result page. + + If left empty it will default to a value to be set by each app. + in: query + required: false + schema: + type: string + format: uint64 + - name: pagination.count_total + description: >- + count_total is set to true to indicate that the result set should include + + a count of the total number of items available for pagination in UIs. + + count_total is only respected when offset is used. It is ignored when key + + is set. + in: query + required: false + schema: + type: boolean + - name: pagination.reverse + description: >- + reverse is set to true if results are to be returned in the descending + + order. + in: query + required: false + schema: + type: boolean + tags: + - Query + /cosmos/bank/v1beta1/supply: + get: + summary: TotalSupply queries the total supply of all coins. + operationId: TotalSupply + responses: + "200": + description: A successful response. + content: + "*/*": + schema: + type: object + properties: + supply: + type: array + items: + type: object + properties: + denom: + type: string + amount: + type: string + description: >- + Coin defines a token with a denomination and an amount. + + + NOTE: The amount field is an Int which implements the custom method + + signatures required by gogoproto. + title: supply is the supply of the coins + pagination: + description: |- + pagination defines the pagination in the response. + + Since: cosmos-sdk 0.43 + type: object + properties: + next_key: + type: string + format: byte + title: |- + next_key is the key to be passed to PageRequest.key to + query the next page most efficiently + total: + type: string + format: uint64 + title: >- + total is total number of results available if PageRequest.count_total + + was set, its value is undefined otherwise + title: >- + QueryTotalSupplyResponse is the response type for the Query/TotalSupply RPC + + method + default: + description: An unexpected error response. + content: + "*/*": + schema: + type: object + properties: + error: + type: string + code: + type: integer + format: int32 + message: + type: string + details: + type: array + items: + type: object + properties: + type_url: + type: string + value: + type: string + format: byte + parameters: + - name: pagination.key + description: |- + key is a value returned in PageResponse.next_key to begin + querying the next page most efficiently. Only one of offset or key + should be set. + in: query + required: false + schema: + type: string + format: byte + - name: pagination.offset + description: >- + offset is a numeric offset that can be used when key is unavailable. + + It is less efficient than using key. Only one of offset or key should + + be set. + in: query + required: false + schema: + type: string + format: uint64 + - name: pagination.limit + description: >- + limit is the total number of results to be returned in the result page. + + If left empty it will default to a value to be set by each app. + in: query + required: false + schema: + type: string + format: uint64 + - name: pagination.count_total + description: >- + count_total is set to true to indicate that the result set should include + + a count of the total number of items available for pagination in UIs. + + count_total is only respected when offset is used. It is ignored when key + + is set. + in: query + required: false + schema: + type: boolean + - name: pagination.reverse + description: >- + reverse is set to true if results are to be returned in the descending + + order. + in: query + required: false + schema: + type: boolean + tags: + - Query + "/cosmos/bank/v1beta1/supply/{denom}": + get: + summary: SupplyOf queries the supply of a single coin. + operationId: SupplyOf + responses: + "200": + description: A successful response. + content: + "*/*": + schema: + type: object + properties: + amount: + type: object + properties: + denom: + type: string + amount: + type: string + description: >- + Coin defines a token with a denomination and an amount. + + + NOTE: The amount field is an Int which implements the custom method + + signatures required by gogoproto. + description: QuerySupplyOfResponse is the response type for the Query/SupplyOf RPC method. + default: + description: An unexpected error response. + content: + "*/*": + schema: + type: object + properties: + error: + type: string + code: + type: integer + format: int32 + message: + type: string + details: + type: array + items: + type: object + properties: + type_url: + type: string + value: + type: string + format: byte + parameters: + - name: denom + description: denom is the coin denom to query balances for. + in: path + required: true + schema: + type: string + tags: + - Query + /cosmos/base/tendermint/v1beta1/blocks/latest: + get: + summary: GetLatestBlock returns the latest block. + operationId: GetLatestBlock + responses: + "200": + description: A successful response. + content: + "*/*": + schema: + type: object + properties: + block_id: + type: object + properties: + hash: + type: string + format: byte + part_set_header: + type: object + properties: + total: + type: integer + format: int64 + hash: + type: string + format: byte + title: PartsetHeader + title: BlockID + block: + type: object + properties: + header: + type: object + properties: + version: + title: basic block info + type: object + properties: + block: + type: string + format: uint64 + app: + type: string + format: uint64 + description: >- + Consensus captures the consensus rules for processing a block in the blockchain, + + including all blockchain data structures and the rules of the application's + + state transition machine. + chain_id: + type: string + height: + type: string + format: int64 + time: + type: string + format: date-time + last_block_id: + type: object + properties: + hash: + type: string + format: byte + part_set_header: + type: object + properties: + total: + type: integer + format: int64 + hash: + type: string + format: byte + title: PartsetHeader + title: BlockID + last_commit_hash: + type: string + format: byte + title: hashes of block data + data_hash: + type: string + format: byte + validators_hash: + type: string + format: byte + title: hashes from the app output from the prev block + next_validators_hash: + type: string + format: byte + consensus_hash: + type: string + format: byte + app_hash: + type: string + format: byte + last_results_hash: + type: string + format: byte + evidence_hash: + type: string + format: byte + title: consensus info + proposer_address: + type: string + format: byte + description: Header defines the structure of a Tendermint block header. + data: + type: object + properties: + txs: + type: array + items: + type: string + format: byte + description: >- + Txs that will be applied by state @ block.Height+1. + + NOTE: not all txs here are valid. We're just agreeing on the order first. + + This means that block.AppHash does not include these txs. + title: Data contains the set of transactions included in the block + evidence: + type: object + properties: + evidence: + type: array + items: + type: object + properties: + duplicate_vote_evidence: + type: object + properties: + vote_a: + type: object + properties: + type: + type: string + enum: + - SIGNED_MSG_TYPE_UNKNOWN + - SIGNED_MSG_TYPE_PREVOTE + - SIGNED_MSG_TYPE_PRECOMMIT + - SIGNED_MSG_TYPE_PROPOSAL + default: SIGNED_MSG_TYPE_UNKNOWN + description: >- + SignedMsgType is a type of signed message in the consensus. + + + - SIGNED_MSG_TYPE_PREVOTE: Votes + - SIGNED_MSG_TYPE_PROPOSAL: Proposals + height: + type: string + format: int64 + round: + type: integer + format: int32 + block_id: + type: object + properties: + hash: + type: string + format: byte + part_set_header: + type: object + properties: + total: + type: integer + format: int64 + hash: + type: string + format: byte + title: PartsetHeader + title: BlockID + timestamp: + type: string + format: date-time + validator_address: + type: string + format: byte + validator_index: + type: integer + format: int32 + signature: + type: string + format: byte + description: >- + Vote represents a prevote, precommit, or commit vote from validators for + + consensus. + vote_b: + type: object + properties: + type: + type: string + enum: + - SIGNED_MSG_TYPE_UNKNOWN + - SIGNED_MSG_TYPE_PREVOTE + - SIGNED_MSG_TYPE_PRECOMMIT + - SIGNED_MSG_TYPE_PROPOSAL + default: SIGNED_MSG_TYPE_UNKNOWN + description: >- + SignedMsgType is a type of signed message in the consensus. + + + - SIGNED_MSG_TYPE_PREVOTE: Votes + - SIGNED_MSG_TYPE_PROPOSAL: Proposals + height: + type: string + format: int64 + round: + type: integer + format: int32 + block_id: + type: object + properties: + hash: + type: string + format: byte + part_set_header: + type: object + properties: + total: + type: integer + format: int64 + hash: + type: string + format: byte + title: PartsetHeader + title: BlockID + timestamp: + type: string + format: date-time + validator_address: + type: string + format: byte + validator_index: + type: integer + format: int32 + signature: + type: string + format: byte + description: >- + Vote represents a prevote, precommit, or commit vote from validators for + + consensus. + total_voting_power: + type: string + format: int64 + validator_power: + type: string + format: int64 + timestamp: + type: string + format: date-time + description: DuplicateVoteEvidence contains evidence of a validator signed two conflicting votes. + light_client_attack_evidence: + type: object + properties: + conflicting_block: + type: object + properties: + signed_header: + type: object + properties: + header: + type: object + properties: + version: + title: basic block info + type: object + properties: + block: + type: string + format: uint64 + app: + type: string + format: uint64 + description: >- + Consensus captures the consensus rules for processing a block in the blockchain, + + including all blockchain data structures and the rules of the application's + + state transition machine. + chain_id: + type: string + height: + type: string + format: int64 + time: + type: string + format: date-time + last_block_id: + type: object + properties: + hash: + type: string + format: byte + part_set_header: + type: object + properties: + total: + type: integer + format: int64 + hash: + type: string + format: byte + title: PartsetHeader + title: BlockID + last_commit_hash: + type: string + format: byte + title: hashes of block data + data_hash: + type: string + format: byte + validators_hash: + type: string + format: byte + title: hashes from the app output from the prev block + next_validators_hash: + type: string + format: byte + consensus_hash: + type: string + format: byte + app_hash: + type: string + format: byte + last_results_hash: + type: string + format: byte + evidence_hash: + type: string + format: byte + title: consensus info + proposer_address: + type: string + format: byte + description: Header defines the structure of a Tendermint block header. + commit: + type: object + properties: + height: + type: string + format: int64 + round: + type: integer + format: int32 + block_id: + type: object + properties: + hash: + type: string + format: byte + part_set_header: + type: object + properties: + total: + type: integer + format: int64 + hash: + type: string + format: byte + title: PartsetHeader + title: BlockID + signatures: + type: array + items: + type: object + properties: + block_id_flag: + type: string + enum: + - BLOCK_ID_FLAG_UNKNOWN + - BLOCK_ID_FLAG_ABSENT + - BLOCK_ID_FLAG_COMMIT + - BLOCK_ID_FLAG_NIL + default: BLOCK_ID_FLAG_UNKNOWN + title: BlockIdFlag indicates which BlcokID the signature is for + validator_address: + type: string + format: byte + timestamp: + type: string + format: date-time + signature: + type: string + format: byte + description: CommitSig is a part of the Vote included in a Commit. + description: Commit contains the evidence that a block was committed by a set of validators. + validator_set: + type: object + properties: + validators: + type: array + items: + type: object + properties: + address: + type: string + format: byte + pub_key: + type: object + properties: + ed25519: + type: string + format: byte + secp256k1: + type: string + format: byte + title: PublicKey defines the keys available for use with Tendermint Validators + voting_power: + type: string + format: int64 + proposer_priority: + type: string + format: int64 + proposer: + type: object + properties: + address: + type: string + format: byte + pub_key: + type: object + properties: + ed25519: + type: string + format: byte + secp256k1: + type: string + format: byte + title: PublicKey defines the keys available for use with Tendermint Validators + voting_power: + type: string + format: int64 + proposer_priority: + type: string + format: int64 + total_voting_power: + type: string + format: int64 + common_height: + type: string + format: int64 + byzantine_validators: + type: array + items: + type: object + properties: + address: + type: string + format: byte + pub_key: + type: object + properties: + ed25519: + type: string + format: byte + secp256k1: + type: string + format: byte + title: PublicKey defines the keys available for use with Tendermint Validators + voting_power: + type: string + format: int64 + proposer_priority: + type: string + format: int64 + total_voting_power: + type: string + format: int64 + timestamp: + type: string + format: date-time + description: LightClientAttackEvidence contains evidence of a set of validators attempting to mislead a light client. + last_commit: + type: object + properties: + height: + type: string + format: int64 + round: + type: integer + format: int32 + block_id: + type: object + properties: + hash: + type: string + format: byte + part_set_header: + type: object + properties: + total: + type: integer + format: int64 + hash: + type: string + format: byte + title: PartsetHeader + title: BlockID + signatures: + type: array + items: + type: object + properties: + block_id_flag: + type: string + enum: + - BLOCK_ID_FLAG_UNKNOWN + - BLOCK_ID_FLAG_ABSENT + - BLOCK_ID_FLAG_COMMIT + - BLOCK_ID_FLAG_NIL + default: BLOCK_ID_FLAG_UNKNOWN + title: BlockIdFlag indicates which BlcokID the signature is for + validator_address: + type: string + format: byte + timestamp: + type: string + format: date-time + signature: + type: string + format: byte + description: CommitSig is a part of the Vote included in a Commit. + description: Commit contains the evidence that a block was committed by a set of validators. + description: GetLatestBlockResponse is the response type for the Query/GetLatestBlock RPC method. + default: + description: An unexpected error response. + content: + "*/*": + schema: + type: object + properties: + error: + type: string + code: + type: integer + format: int32 + message: + type: string + details: + type: array + items: + type: object + properties: + type_url: + type: string + description: >- + A URL/resource name that uniquely identifies the type of the serialized + + protocol buffer message. This string must contain at least + + one "/" character. The last segment of the URL's path must represent + + the fully qualified name of the type (as in + + `path/google.protobuf.Duration`). The name should be in a canonical form + + (e.g., leading "." is not accepted). + + + In practice, teams usually precompile into the binary all types that they + + expect it to use in the context of Any. However, for URLs which use the + + scheme `http`, `https`, or no scheme, one can optionally set up a type + + server that maps type URLs to message definitions as follows: + + + * If no scheme is provided, `https` is assumed. + + * An HTTP GET on the URL must yield a [google.protobuf.Type][] + + value in binary format, or produce an error. + * Applications are allowed to cache lookup results based on the + + URL, or have them precompiled into a binary to avoid any + lookup. Therefore, binary compatibility needs to be preserved + on changes to types. (Use versioned type names to manage + breaking changes.) + + Note: this functionality is not currently available in the official + + protobuf release, and it is not used for type URLs beginning with + + type.googleapis.com. + + + Schemes other than `http`, `https` (or the empty scheme) might be + + used with implementation specific semantics. + value: + type: string + format: byte + description: Must be a valid serialized protocol buffer of the above specified type. + description: >- + `Any` contains an arbitrary serialized protocol buffer message along with a + + URL that describes the type of the serialized message. + + + Protobuf library provides support to pack/unpack Any values in the form + + of utility functions or additional generated methods of the Any type. + + + Example 1: Pack and unpack a message in C++. + + + Foo foo = ...; + Any any; + any.PackFrom(foo); + ... + if (any.UnpackTo(&foo)) { + ... + } + + Example 2: Pack and unpack a message in Java. + + + Foo foo = ...; + Any any = Any.pack(foo); + ... + if (any.is(Foo.class)) { + foo = any.unpack(Foo.class); + } + + Example 3: Pack and unpack a message in Python. + + foo = Foo(...) + any = Any() + any.Pack(foo) + ... + if any.Is(Foo.DESCRIPTOR): + any.Unpack(foo) + ... + + Example 4: Pack and unpack a message in Go + + foo := &pb.Foo{...} + any, err := ptypes.MarshalAny(foo) + ... + foo := &pb.Foo{} + if err := ptypes.UnmarshalAny(any, foo); err != nil { + ... + } + + The pack methods provided by protobuf library will by default use + + 'type.googleapis.com/full.type.name' as the type URL and the unpack + + methods only use the fully qualified type name after the last '/' + + in the type URL, for example "foo.bar.com/x/y.z" will yield type + + name "y.z". + + + + JSON + + ==== + + The JSON representation of an `Any` value uses the regular + + representation of the deserialized, embedded message, with an + + additional field `@type` which contains the type URL. Example: + + + package google.profile; + message Person { + string first_name = 1; + string last_name = 2; + } + + { + "@type": "type.googleapis.com/google.profile.Person", + "firstName": , + "lastName": + } + + If the embedded message type is well-known and has a custom JSON + + representation, that representation will be embedded adding a field + + `value` which holds the custom JSON in addition to the `@type` + + field. Example (for message [google.protobuf.Duration][]): + + + { + "@type": "type.googleapis.com/google.protobuf.Duration", + "value": "1.212s" + } + tags: + - Service + "/cosmos/base/tendermint/v1beta1/blocks/{height}": + get: + summary: GetBlockByHeight queries block for given height. + operationId: GetBlockByHeight + responses: + "200": + description: A successful response. + content: + "*/*": + schema: + type: object + properties: + block_id: + type: object + properties: + hash: + type: string + format: byte + part_set_header: + type: object + properties: + total: + type: integer + format: int64 + hash: + type: string + format: byte + title: PartsetHeader + title: BlockID + block: + type: object + properties: + header: + type: object + properties: + version: + title: basic block info + type: object + properties: + block: + type: string + format: uint64 + app: + type: string + format: uint64 + description: >- + Consensus captures the consensus rules for processing a block in the blockchain, + + including all blockchain data structures and the rules of the application's + + state transition machine. + chain_id: + type: string + height: + type: string + format: int64 + time: + type: string + format: date-time + last_block_id: + type: object + properties: + hash: + type: string + format: byte + part_set_header: + type: object + properties: + total: + type: integer + format: int64 + hash: + type: string + format: byte + title: PartsetHeader + title: BlockID + last_commit_hash: + type: string + format: byte + title: hashes of block data + data_hash: + type: string + format: byte + validators_hash: + type: string + format: byte + title: hashes from the app output from the prev block + next_validators_hash: + type: string + format: byte + consensus_hash: + type: string + format: byte + app_hash: + type: string + format: byte + last_results_hash: + type: string + format: byte + evidence_hash: + type: string + format: byte + title: consensus info + proposer_address: + type: string + format: byte + description: Header defines the structure of a Tendermint block header. + data: + type: object + properties: + txs: + type: array + items: + type: string + format: byte + description: >- + Txs that will be applied by state @ block.Height+1. + + NOTE: not all txs here are valid. We're just agreeing on the order first. + + This means that block.AppHash does not include these txs. + title: Data contains the set of transactions included in the block + evidence: + type: object + properties: + evidence: + type: array + items: + type: object + properties: + duplicate_vote_evidence: + type: object + properties: + vote_a: + type: object + properties: + type: + type: string + enum: + - SIGNED_MSG_TYPE_UNKNOWN + - SIGNED_MSG_TYPE_PREVOTE + - SIGNED_MSG_TYPE_PRECOMMIT + - SIGNED_MSG_TYPE_PROPOSAL + default: SIGNED_MSG_TYPE_UNKNOWN + description: >- + SignedMsgType is a type of signed message in the consensus. + + + - SIGNED_MSG_TYPE_PREVOTE: Votes + - SIGNED_MSG_TYPE_PROPOSAL: Proposals + height: + type: string + format: int64 + round: + type: integer + format: int32 + block_id: + type: object + properties: + hash: + type: string + format: byte + part_set_header: + type: object + properties: + total: + type: integer + format: int64 + hash: + type: string + format: byte + title: PartsetHeader + title: BlockID + timestamp: + type: string + format: date-time + validator_address: + type: string + format: byte + validator_index: + type: integer + format: int32 + signature: + type: string + format: byte + description: >- + Vote represents a prevote, precommit, or commit vote from validators for + + consensus. + vote_b: + type: object + properties: + type: + type: string + enum: + - SIGNED_MSG_TYPE_UNKNOWN + - SIGNED_MSG_TYPE_PREVOTE + - SIGNED_MSG_TYPE_PRECOMMIT + - SIGNED_MSG_TYPE_PROPOSAL + default: SIGNED_MSG_TYPE_UNKNOWN + description: >- + SignedMsgType is a type of signed message in the consensus. + + + - SIGNED_MSG_TYPE_PREVOTE: Votes + - SIGNED_MSG_TYPE_PROPOSAL: Proposals + height: + type: string + format: int64 + round: + type: integer + format: int32 + block_id: + type: object + properties: + hash: + type: string + format: byte + part_set_header: + type: object + properties: + total: + type: integer + format: int64 + hash: + type: string + format: byte + title: PartsetHeader + title: BlockID + timestamp: + type: string + format: date-time + validator_address: + type: string + format: byte + validator_index: + type: integer + format: int32 + signature: + type: string + format: byte + description: >- + Vote represents a prevote, precommit, or commit vote from validators for + + consensus. + total_voting_power: + type: string + format: int64 + validator_power: + type: string + format: int64 + timestamp: + type: string + format: date-time + description: DuplicateVoteEvidence contains evidence of a validator signed two conflicting votes. + light_client_attack_evidence: + type: object + properties: + conflicting_block: + type: object + properties: + signed_header: + type: object + properties: + header: + type: object + properties: + version: + title: basic block info + type: object + properties: + block: + type: string + format: uint64 + app: + type: string + format: uint64 + description: >- + Consensus captures the consensus rules for processing a block in the blockchain, + + including all blockchain data structures and the rules of the application's + + state transition machine. + chain_id: + type: string + height: + type: string + format: int64 + time: + type: string + format: date-time + last_block_id: + type: object + properties: + hash: + type: string + format: byte + part_set_header: + type: object + properties: + total: + type: integer + format: int64 + hash: + type: string + format: byte + title: PartsetHeader + title: BlockID + last_commit_hash: + type: string + format: byte + title: hashes of block data + data_hash: + type: string + format: byte + validators_hash: + type: string + format: byte + title: hashes from the app output from the prev block + next_validators_hash: + type: string + format: byte + consensus_hash: + type: string + format: byte + app_hash: + type: string + format: byte + last_results_hash: + type: string + format: byte + evidence_hash: + type: string + format: byte + title: consensus info + proposer_address: + type: string + format: byte + description: Header defines the structure of a Tendermint block header. + commit: + type: object + properties: + height: + type: string + format: int64 + round: + type: integer + format: int32 + block_id: + type: object + properties: + hash: + type: string + format: byte + part_set_header: + type: object + properties: + total: + type: integer + format: int64 + hash: + type: string + format: byte + title: PartsetHeader + title: BlockID + signatures: + type: array + items: + type: object + properties: + block_id_flag: + type: string + enum: + - BLOCK_ID_FLAG_UNKNOWN + - BLOCK_ID_FLAG_ABSENT + - BLOCK_ID_FLAG_COMMIT + - BLOCK_ID_FLAG_NIL + default: BLOCK_ID_FLAG_UNKNOWN + title: BlockIdFlag indicates which BlcokID the signature is for + validator_address: + type: string + format: byte + timestamp: + type: string + format: date-time + signature: + type: string + format: byte + description: CommitSig is a part of the Vote included in a Commit. + description: Commit contains the evidence that a block was committed by a set of validators. + validator_set: + type: object + properties: + validators: + type: array + items: + type: object + properties: + address: + type: string + format: byte + pub_key: + type: object + properties: + ed25519: + type: string + format: byte + secp256k1: + type: string + format: byte + title: PublicKey defines the keys available for use with Tendermint Validators + voting_power: + type: string + format: int64 + proposer_priority: + type: string + format: int64 + proposer: + type: object + properties: + address: + type: string + format: byte + pub_key: + type: object + properties: + ed25519: + type: string + format: byte + secp256k1: + type: string + format: byte + title: PublicKey defines the keys available for use with Tendermint Validators + voting_power: + type: string + format: int64 + proposer_priority: + type: string + format: int64 + total_voting_power: + type: string + format: int64 + common_height: + type: string + format: int64 + byzantine_validators: + type: array + items: + type: object + properties: + address: + type: string + format: byte + pub_key: + type: object + properties: + ed25519: + type: string + format: byte + secp256k1: + type: string + format: byte + title: PublicKey defines the keys available for use with Tendermint Validators + voting_power: + type: string + format: int64 + proposer_priority: + type: string + format: int64 + total_voting_power: + type: string + format: int64 + timestamp: + type: string + format: date-time + description: LightClientAttackEvidence contains evidence of a set of validators attempting to mislead a light client. + last_commit: + type: object + properties: + height: + type: string + format: int64 + round: + type: integer + format: int32 + block_id: + type: object + properties: + hash: + type: string + format: byte + part_set_header: + type: object + properties: + total: + type: integer + format: int64 + hash: + type: string + format: byte + title: PartsetHeader + title: BlockID + signatures: + type: array + items: + type: object + properties: + block_id_flag: + type: string + enum: + - BLOCK_ID_FLAG_UNKNOWN + - BLOCK_ID_FLAG_ABSENT + - BLOCK_ID_FLAG_COMMIT + - BLOCK_ID_FLAG_NIL + default: BLOCK_ID_FLAG_UNKNOWN + title: BlockIdFlag indicates which BlcokID the signature is for + validator_address: + type: string + format: byte + timestamp: + type: string + format: date-time + signature: + type: string + format: byte + description: CommitSig is a part of the Vote included in a Commit. + description: Commit contains the evidence that a block was committed by a set of validators. + description: GetBlockByHeightResponse is the response type for the Query/GetBlockByHeight RPC method. + default: + description: An unexpected error response. + content: + "*/*": + schema: + type: object + properties: + error: + type: string + code: + type: integer + format: int32 + message: + type: string + details: + type: array + items: + type: object + properties: + type_url: + type: string + description: >- + A URL/resource name that uniquely identifies the type of the serialized + + protocol buffer message. This string must contain at least + + one "/" character. The last segment of the URL's path must represent + + the fully qualified name of the type (as in + + `path/google.protobuf.Duration`). The name should be in a canonical form + + (e.g., leading "." is not accepted). + + + In practice, teams usually precompile into the binary all types that they + + expect it to use in the context of Any. However, for URLs which use the + + scheme `http`, `https`, or no scheme, one can optionally set up a type + + server that maps type URLs to message definitions as follows: + + + * If no scheme is provided, `https` is assumed. + + * An HTTP GET on the URL must yield a [google.protobuf.Type][] + + value in binary format, or produce an error. + * Applications are allowed to cache lookup results based on the + + URL, or have them precompiled into a binary to avoid any + lookup. Therefore, binary compatibility needs to be preserved + on changes to types. (Use versioned type names to manage + breaking changes.) + + Note: this functionality is not currently available in the official + + protobuf release, and it is not used for type URLs beginning with + + type.googleapis.com. + + + Schemes other than `http`, `https` (or the empty scheme) might be + + used with implementation specific semantics. + value: + type: string + format: byte + description: Must be a valid serialized protocol buffer of the above specified type. + description: >- + `Any` contains an arbitrary serialized protocol buffer message along with a + + URL that describes the type of the serialized message. + + + Protobuf library provides support to pack/unpack Any values in the form + + of utility functions or additional generated methods of the Any type. + + + Example 1: Pack and unpack a message in C++. + + + Foo foo = ...; + Any any; + any.PackFrom(foo); + ... + if (any.UnpackTo(&foo)) { + ... + } + + Example 2: Pack and unpack a message in Java. + + + Foo foo = ...; + Any any = Any.pack(foo); + ... + if (any.is(Foo.class)) { + foo = any.unpack(Foo.class); + } + + Example 3: Pack and unpack a message in Python. + + foo = Foo(...) + any = Any() + any.Pack(foo) + ... + if any.Is(Foo.DESCRIPTOR): + any.Unpack(foo) + ... + + Example 4: Pack and unpack a message in Go + + foo := &pb.Foo{...} + any, err := ptypes.MarshalAny(foo) + ... + foo := &pb.Foo{} + if err := ptypes.UnmarshalAny(any, foo); err != nil { + ... + } + + The pack methods provided by protobuf library will by default use + + 'type.googleapis.com/full.type.name' as the type URL and the unpack + + methods only use the fully qualified type name after the last '/' + + in the type URL, for example "foo.bar.com/x/y.z" will yield type + + name "y.z". + + + + JSON + + ==== + + The JSON representation of an `Any` value uses the regular + + representation of the deserialized, embedded message, with an + + additional field `@type` which contains the type URL. Example: + + + package google.profile; + message Person { + string first_name = 1; + string last_name = 2; + } + + { + "@type": "type.googleapis.com/google.profile.Person", + "firstName": , + "lastName": + } + + If the embedded message type is well-known and has a custom JSON + + representation, that representation will be embedded adding a field + + `value` which holds the custom JSON in addition to the `@type` + + field. Example (for message [google.protobuf.Duration][]): + + + { + "@type": "type.googleapis.com/google.protobuf.Duration", + "value": "1.212s" + } + parameters: + - name: height + in: path + required: true + schema: + type: string + format: int64 + tags: + - Service + /cosmos/base/tendermint/v1beta1/node_info: + get: + summary: GetNodeInfo queries the current node info. + operationId: GetNodeInfo + responses: + "200": + description: A successful response. + content: + "*/*": + schema: + type: object + properties: + default_node_info: + type: object + properties: + protocol_version: + type: object + properties: + p2p: + type: string + format: uint64 + block: + type: string + format: uint64 + app: + type: string + format: uint64 + default_node_id: + type: string + listen_addr: + type: string + network: + type: string + version: + type: string + channels: + type: string + format: byte + moniker: + type: string + other: + type: object + properties: + tx_index: + type: string + rpc_address: + type: string + application_version: + type: object + properties: + name: + type: string + app_name: + type: string + version: + type: string + git_commit: + type: string + build_tags: + type: string + go_version: + type: string + build_deps: + type: array + items: + type: object + properties: + path: + type: string + title: module path + version: + type: string + title: module version + sum: + type: string + title: checksum + title: Module is the type for VersionInfo + cosmos_sdk_version: + type: string + title: "Since: cosmos-sdk 0.43" + description: VersionInfo is the type for the GetNodeInfoResponse message. + description: GetNodeInfoResponse is the request type for the Query/GetNodeInfo RPC method. + default: + description: An unexpected error response. + content: + "*/*": + schema: + type: object + properties: + error: + type: string + code: + type: integer + format: int32 + message: + type: string + details: + type: array + items: + type: object + properties: + type_url: + type: string + description: >- + A URL/resource name that uniquely identifies the type of the serialized + + protocol buffer message. This string must contain at least + + one "/" character. The last segment of the URL's path must represent + + the fully qualified name of the type (as in + + `path/google.protobuf.Duration`). The name should be in a canonical form + + (e.g., leading "." is not accepted). + + + In practice, teams usually precompile into the binary all types that they + + expect it to use in the context of Any. However, for URLs which use the + + scheme `http`, `https`, or no scheme, one can optionally set up a type + + server that maps type URLs to message definitions as follows: + + + * If no scheme is provided, `https` is assumed. + + * An HTTP GET on the URL must yield a [google.protobuf.Type][] + + value in binary format, or produce an error. + * Applications are allowed to cache lookup results based on the + + URL, or have them precompiled into a binary to avoid any + lookup. Therefore, binary compatibility needs to be preserved + on changes to types. (Use versioned type names to manage + breaking changes.) + + Note: this functionality is not currently available in the official + + protobuf release, and it is not used for type URLs beginning with + + type.googleapis.com. + + + Schemes other than `http`, `https` (or the empty scheme) might be + + used with implementation specific semantics. + value: + type: string + format: byte + description: Must be a valid serialized protocol buffer of the above specified type. + description: >- + `Any` contains an arbitrary serialized protocol buffer message along with a + + URL that describes the type of the serialized message. + + + Protobuf library provides support to pack/unpack Any values in the form + + of utility functions or additional generated methods of the Any type. + + + Example 1: Pack and unpack a message in C++. + + + Foo foo = ...; + Any any; + any.PackFrom(foo); + ... + if (any.UnpackTo(&foo)) { + ... + } + + Example 2: Pack and unpack a message in Java. + + + Foo foo = ...; + Any any = Any.pack(foo); + ... + if (any.is(Foo.class)) { + foo = any.unpack(Foo.class); + } + + Example 3: Pack and unpack a message in Python. + + foo = Foo(...) + any = Any() + any.Pack(foo) + ... + if any.Is(Foo.DESCRIPTOR): + any.Unpack(foo) + ... + + Example 4: Pack and unpack a message in Go + + foo := &pb.Foo{...} + any, err := ptypes.MarshalAny(foo) + ... + foo := &pb.Foo{} + if err := ptypes.UnmarshalAny(any, foo); err != nil { + ... + } + + The pack methods provided by protobuf library will by default use + + 'type.googleapis.com/full.type.name' as the type URL and the unpack + + methods only use the fully qualified type name after the last '/' + + in the type URL, for example "foo.bar.com/x/y.z" will yield type + + name "y.z". + + + + JSON + + ==== + + The JSON representation of an `Any` value uses the regular + + representation of the deserialized, embedded message, with an + + additional field `@type` which contains the type URL. Example: + + + package google.profile; + message Person { + string first_name = 1; + string last_name = 2; + } + + { + "@type": "type.googleapis.com/google.profile.Person", + "firstName": , + "lastName": + } + + If the embedded message type is well-known and has a custom JSON + + representation, that representation will be embedded adding a field + + `value` which holds the custom JSON in addition to the `@type` + + field. Example (for message [google.protobuf.Duration][]): + + + { + "@type": "type.googleapis.com/google.protobuf.Duration", + "value": "1.212s" + } + tags: + - Service + /cosmos/base/tendermint/v1beta1/syncing: + get: + summary: GetSyncing queries node syncing. + operationId: GetSyncing + responses: + "200": + description: A successful response. + content: + "*/*": + schema: + type: object + properties: + syncing: + type: boolean + description: GetSyncingResponse is the response type for the Query/GetSyncing RPC method. + default: + description: An unexpected error response. + content: + "*/*": + schema: + type: object + properties: + error: + type: string + code: + type: integer + format: int32 + message: + type: string + details: + type: array + items: + type: object + properties: + type_url: + type: string + description: >- + A URL/resource name that uniquely identifies the type of the serialized + + protocol buffer message. This string must contain at least + + one "/" character. The last segment of the URL's path must represent + + the fully qualified name of the type (as in + + `path/google.protobuf.Duration`). The name should be in a canonical form + + (e.g., leading "." is not accepted). + + + In practice, teams usually precompile into the binary all types that they + + expect it to use in the context of Any. However, for URLs which use the + + scheme `http`, `https`, or no scheme, one can optionally set up a type + + server that maps type URLs to message definitions as follows: + + + * If no scheme is provided, `https` is assumed. + + * An HTTP GET on the URL must yield a [google.protobuf.Type][] + + value in binary format, or produce an error. + * Applications are allowed to cache lookup results based on the + + URL, or have them precompiled into a binary to avoid any + lookup. Therefore, binary compatibility needs to be preserved + on changes to types. (Use versioned type names to manage + breaking changes.) + + Note: this functionality is not currently available in the official + + protobuf release, and it is not used for type URLs beginning with + + type.googleapis.com. + + + Schemes other than `http`, `https` (or the empty scheme) might be + + used with implementation specific semantics. + value: + type: string + format: byte + description: Must be a valid serialized protocol buffer of the above specified type. + description: >- + `Any` contains an arbitrary serialized protocol buffer message along with a + + URL that describes the type of the serialized message. + + + Protobuf library provides support to pack/unpack Any values in the form + + of utility functions or additional generated methods of the Any type. + + + Example 1: Pack and unpack a message in C++. + + + Foo foo = ...; + Any any; + any.PackFrom(foo); + ... + if (any.UnpackTo(&foo)) { + ... + } + + Example 2: Pack and unpack a message in Java. + + + Foo foo = ...; + Any any = Any.pack(foo); + ... + if (any.is(Foo.class)) { + foo = any.unpack(Foo.class); + } + + Example 3: Pack and unpack a message in Python. + + foo = Foo(...) + any = Any() + any.Pack(foo) + ... + if any.Is(Foo.DESCRIPTOR): + any.Unpack(foo) + ... + + Example 4: Pack and unpack a message in Go + + foo := &pb.Foo{...} + any, err := ptypes.MarshalAny(foo) + ... + foo := &pb.Foo{} + if err := ptypes.UnmarshalAny(any, foo); err != nil { + ... + } + + The pack methods provided by protobuf library will by default use + + 'type.googleapis.com/full.type.name' as the type URL and the unpack + + methods only use the fully qualified type name after the last '/' + + in the type URL, for example "foo.bar.com/x/y.z" will yield type + + name "y.z". + + + + JSON + + ==== + + The JSON representation of an `Any` value uses the regular + + representation of the deserialized, embedded message, with an + + additional field `@type` which contains the type URL. Example: + + + package google.profile; + message Person { + string first_name = 1; + string last_name = 2; + } + + { + "@type": "type.googleapis.com/google.profile.Person", + "firstName": , + "lastName": + } + + If the embedded message type is well-known and has a custom JSON + + representation, that representation will be embedded adding a field + + `value` which holds the custom JSON in addition to the `@type` + + field. Example (for message [google.protobuf.Duration][]): + + + { + "@type": "type.googleapis.com/google.protobuf.Duration", + "value": "1.212s" + } + tags: + - Service + /cosmos/base/tendermint/v1beta1/validatorsets/latest: + get: + summary: GetLatestValidatorSet queries latest validator-set. + operationId: GetLatestValidatorSet + responses: + "200": + description: A successful response. + content: + "*/*": + schema: + type: object + properties: + block_height: + type: string + format: int64 + validators: + type: array + items: + type: object + properties: + address: + type: string + pub_key: + type: object + properties: + type_url: + type: string + description: >- + A URL/resource name that uniquely identifies the type of the serialized + + protocol buffer message. This string must contain at least + + one "/" character. The last segment of the URL's path must represent + + the fully qualified name of the type (as in + + `path/google.protobuf.Duration`). The name should be in a canonical form + + (e.g., leading "." is not accepted). + + + In practice, teams usually precompile into the binary all types that they + + expect it to use in the context of Any. However, for URLs which use the + + scheme `http`, `https`, or no scheme, one can optionally set up a type + + server that maps type URLs to message definitions as follows: + + + * If no scheme is provided, `https` is assumed. + + * An HTTP GET on the URL must yield a [google.protobuf.Type][] + + value in binary format, or produce an error. + * Applications are allowed to cache lookup results based on the + + URL, or have them precompiled into a binary to avoid any + lookup. Therefore, binary compatibility needs to be preserved + on changes to types. (Use versioned type names to manage + breaking changes.) + + Note: this functionality is not currently available in the official + + protobuf release, and it is not used for type URLs beginning with + + type.googleapis.com. + + + Schemes other than `http`, `https` (or the empty scheme) might be + + used with implementation specific semantics. + value: + type: string + format: byte + description: Must be a valid serialized protocol buffer of the above specified type. + description: >- + `Any` contains an arbitrary serialized protocol buffer message along with a + + URL that describes the type of the serialized message. + + + Protobuf library provides support to pack/unpack Any values in the form + + of utility functions or additional generated methods of the Any type. + + + Example 1: Pack and unpack a message in C++. + + + Foo foo = ...; + Any any; + any.PackFrom(foo); + ... + if (any.UnpackTo(&foo)) { + ... + } + + Example 2: Pack and unpack a message in Java. + + + Foo foo = ...; + Any any = Any.pack(foo); + ... + if (any.is(Foo.class)) { + foo = any.unpack(Foo.class); + } + + Example 3: Pack and unpack a message in Python. + + foo = Foo(...) + any = Any() + any.Pack(foo) + ... + if any.Is(Foo.DESCRIPTOR): + any.Unpack(foo) + ... + + Example 4: Pack and unpack a message in Go + + foo := &pb.Foo{...} + any, err := ptypes.MarshalAny(foo) + ... + foo := &pb.Foo{} + if err := ptypes.UnmarshalAny(any, foo); err != nil { + ... + } + + The pack methods provided by protobuf library will by default use + + 'type.googleapis.com/full.type.name' as the type URL and the unpack + + methods only use the fully qualified type name after the last '/' + + in the type URL, for example "foo.bar.com/x/y.z" will yield type + + name "y.z". + + + + JSON + + ==== + + The JSON representation of an `Any` value uses the regular + + representation of the deserialized, embedded message, with an + + additional field `@type` which contains the type URL. Example: + + + package google.profile; + message Person { + string first_name = 1; + string last_name = 2; + } + + { + "@type": "type.googleapis.com/google.profile.Person", + "firstName": , + "lastName": + } + + If the embedded message type is well-known and has a custom JSON + + representation, that representation will be embedded adding a field + + `value` which holds the custom JSON in addition to the `@type` + + field. Example (for message [google.protobuf.Duration][]): + + + { + "@type": "type.googleapis.com/google.protobuf.Duration", + "value": "1.212s" + } + voting_power: + type: string + format: int64 + proposer_priority: + type: string + format: int64 + description: Validator is the type for the validator-set. + pagination: + description: pagination defines an pagination for the response. + type: object + properties: + next_key: + type: string + format: byte + title: |- + next_key is the key to be passed to PageRequest.key to + query the next page most efficiently + total: + type: string + format: uint64 + title: >- + total is total number of results available if PageRequest.count_total + + was set, its value is undefined otherwise + description: GetLatestValidatorSetResponse is the response type for the Query/GetValidatorSetByHeight RPC method. + default: + description: An unexpected error response. + content: + "*/*": + schema: + type: object + properties: + error: + type: string + code: + type: integer + format: int32 + message: + type: string + details: + type: array + items: + type: object + properties: + type_url: + type: string + description: >- + A URL/resource name that uniquely identifies the type of the serialized + + protocol buffer message. This string must contain at least + + one "/" character. The last segment of the URL's path must represent + + the fully qualified name of the type (as in + + `path/google.protobuf.Duration`). The name should be in a canonical form + + (e.g., leading "." is not accepted). + + + In practice, teams usually precompile into the binary all types that they + + expect it to use in the context of Any. However, for URLs which use the + + scheme `http`, `https`, or no scheme, one can optionally set up a type + + server that maps type URLs to message definitions as follows: + + + * If no scheme is provided, `https` is assumed. + + * An HTTP GET on the URL must yield a [google.protobuf.Type][] + + value in binary format, or produce an error. + * Applications are allowed to cache lookup results based on the + + URL, or have them precompiled into a binary to avoid any + lookup. Therefore, binary compatibility needs to be preserved + on changes to types. (Use versioned type names to manage + breaking changes.) + + Note: this functionality is not currently available in the official + + protobuf release, and it is not used for type URLs beginning with + + type.googleapis.com. + + + Schemes other than `http`, `https` (or the empty scheme) might be + + used with implementation specific semantics. + value: + type: string + format: byte + description: Must be a valid serialized protocol buffer of the above specified type. + description: >- + `Any` contains an arbitrary serialized protocol buffer message along with a + + URL that describes the type of the serialized message. + + + Protobuf library provides support to pack/unpack Any values in the form + + of utility functions or additional generated methods of the Any type. + + + Example 1: Pack and unpack a message in C++. + + + Foo foo = ...; + Any any; + any.PackFrom(foo); + ... + if (any.UnpackTo(&foo)) { + ... + } + + Example 2: Pack and unpack a message in Java. + + + Foo foo = ...; + Any any = Any.pack(foo); + ... + if (any.is(Foo.class)) { + foo = any.unpack(Foo.class); + } + + Example 3: Pack and unpack a message in Python. + + foo = Foo(...) + any = Any() + any.Pack(foo) + ... + if any.Is(Foo.DESCRIPTOR): + any.Unpack(foo) + ... + + Example 4: Pack and unpack a message in Go + + foo := &pb.Foo{...} + any, err := ptypes.MarshalAny(foo) + ... + foo := &pb.Foo{} + if err := ptypes.UnmarshalAny(any, foo); err != nil { + ... + } + + The pack methods provided by protobuf library will by default use + + 'type.googleapis.com/full.type.name' as the type URL and the unpack + + methods only use the fully qualified type name after the last '/' + + in the type URL, for example "foo.bar.com/x/y.z" will yield type + + name "y.z". + + + + JSON + + ==== + + The JSON representation of an `Any` value uses the regular + + representation of the deserialized, embedded message, with an + + additional field `@type` which contains the type URL. Example: + + + package google.profile; + message Person { + string first_name = 1; + string last_name = 2; + } + + { + "@type": "type.googleapis.com/google.profile.Person", + "firstName": , + "lastName": + } + + If the embedded message type is well-known and has a custom JSON + + representation, that representation will be embedded adding a field + + `value` which holds the custom JSON in addition to the `@type` + + field. Example (for message [google.protobuf.Duration][]): + + + { + "@type": "type.googleapis.com/google.protobuf.Duration", + "value": "1.212s" + } + parameters: + - name: pagination.key + description: |- + key is a value returned in PageResponse.next_key to begin + querying the next page most efficiently. Only one of offset or key + should be set. + in: query + required: false + schema: + type: string + format: byte + - name: pagination.offset + description: >- + offset is a numeric offset that can be used when key is unavailable. + + It is less efficient than using key. Only one of offset or key should + + be set. + in: query + required: false + schema: + type: string + format: uint64 + - name: pagination.limit + description: >- + limit is the total number of results to be returned in the result page. + + If left empty it will default to a value to be set by each app. + in: query + required: false + schema: + type: string + format: uint64 + - name: pagination.count_total + description: >- + count_total is set to true to indicate that the result set should include + + a count of the total number of items available for pagination in UIs. + + count_total is only respected when offset is used. It is ignored when key + + is set. + in: query + required: false + schema: + type: boolean + - name: pagination.reverse + description: >- + reverse is set to true if results are to be returned in the descending + + order. + in: query + required: false + schema: + type: boolean + tags: + - Service + "/cosmos/base/tendermint/v1beta1/validatorsets/{height}": + get: + summary: GetValidatorSetByHeight queries validator-set at a given height. + operationId: GetValidatorSetByHeight + responses: + "200": + description: A successful response. + content: + "*/*": + schema: + type: object + properties: + block_height: + type: string + format: int64 + validators: + type: array + items: + type: object + properties: + address: + type: string + pub_key: + type: object + properties: + type_url: + type: string + description: >- + A URL/resource name that uniquely identifies the type of the serialized + + protocol buffer message. This string must contain at least + + one "/" character. The last segment of the URL's path must represent + + the fully qualified name of the type (as in + + `path/google.protobuf.Duration`). The name should be in a canonical form + + (e.g., leading "." is not accepted). + + + In practice, teams usually precompile into the binary all types that they + + expect it to use in the context of Any. However, for URLs which use the + + scheme `http`, `https`, or no scheme, one can optionally set up a type + + server that maps type URLs to message definitions as follows: + + + * If no scheme is provided, `https` is assumed. + + * An HTTP GET on the URL must yield a [google.protobuf.Type][] + + value in binary format, or produce an error. + * Applications are allowed to cache lookup results based on the + + URL, or have them precompiled into a binary to avoid any + lookup. Therefore, binary compatibility needs to be preserved + on changes to types. (Use versioned type names to manage + breaking changes.) + + Note: this functionality is not currently available in the official + + protobuf release, and it is not used for type URLs beginning with + + type.googleapis.com. + + + Schemes other than `http`, `https` (or the empty scheme) might be + + used with implementation specific semantics. + value: + type: string + format: byte + description: Must be a valid serialized protocol buffer of the above specified type. + description: >- + `Any` contains an arbitrary serialized protocol buffer message along with a + + URL that describes the type of the serialized message. + + + Protobuf library provides support to pack/unpack Any values in the form + + of utility functions or additional generated methods of the Any type. + + + Example 1: Pack and unpack a message in C++. + + + Foo foo = ...; + Any any; + any.PackFrom(foo); + ... + if (any.UnpackTo(&foo)) { + ... + } + + Example 2: Pack and unpack a message in Java. + + + Foo foo = ...; + Any any = Any.pack(foo); + ... + if (any.is(Foo.class)) { + foo = any.unpack(Foo.class); + } + + Example 3: Pack and unpack a message in Python. + + foo = Foo(...) + any = Any() + any.Pack(foo) + ... + if any.Is(Foo.DESCRIPTOR): + any.Unpack(foo) + ... + + Example 4: Pack and unpack a message in Go + + foo := &pb.Foo{...} + any, err := ptypes.MarshalAny(foo) + ... + foo := &pb.Foo{} + if err := ptypes.UnmarshalAny(any, foo); err != nil { + ... + } + + The pack methods provided by protobuf library will by default use + + 'type.googleapis.com/full.type.name' as the type URL and the unpack + + methods only use the fully qualified type name after the last '/' + + in the type URL, for example "foo.bar.com/x/y.z" will yield type + + name "y.z". + + + + JSON + + ==== + + The JSON representation of an `Any` value uses the regular + + representation of the deserialized, embedded message, with an + + additional field `@type` which contains the type URL. Example: + + + package google.profile; + message Person { + string first_name = 1; + string last_name = 2; + } + + { + "@type": "type.googleapis.com/google.profile.Person", + "firstName": , + "lastName": + } + + If the embedded message type is well-known and has a custom JSON + + representation, that representation will be embedded adding a field + + `value` which holds the custom JSON in addition to the `@type` + + field. Example (for message [google.protobuf.Duration][]): + + + { + "@type": "type.googleapis.com/google.protobuf.Duration", + "value": "1.212s" + } + voting_power: + type: string + format: int64 + proposer_priority: + type: string + format: int64 + description: Validator is the type for the validator-set. + pagination: + description: pagination defines an pagination for the response. + type: object + properties: + next_key: + type: string + format: byte + title: |- + next_key is the key to be passed to PageRequest.key to + query the next page most efficiently + total: + type: string + format: uint64 + title: >- + total is total number of results available if PageRequest.count_total + + was set, its value is undefined otherwise + description: GetValidatorSetByHeightResponse is the response type for the Query/GetValidatorSetByHeight RPC method. + default: + description: An unexpected error response. + content: + "*/*": + schema: + type: object + properties: + error: + type: string + code: + type: integer + format: int32 + message: + type: string + details: + type: array + items: + type: object + properties: + type_url: + type: string + description: >- + A URL/resource name that uniquely identifies the type of the serialized + + protocol buffer message. This string must contain at least + + one "/" character. The last segment of the URL's path must represent + + the fully qualified name of the type (as in + + `path/google.protobuf.Duration`). The name should be in a canonical form + + (e.g., leading "." is not accepted). + + + In practice, teams usually precompile into the binary all types that they + + expect it to use in the context of Any. However, for URLs which use the + + scheme `http`, `https`, or no scheme, one can optionally set up a type + + server that maps type URLs to message definitions as follows: + + + * If no scheme is provided, `https` is assumed. + + * An HTTP GET on the URL must yield a [google.protobuf.Type][] + + value in binary format, or produce an error. + * Applications are allowed to cache lookup results based on the + + URL, or have them precompiled into a binary to avoid any + lookup. Therefore, binary compatibility needs to be preserved + on changes to types. (Use versioned type names to manage + breaking changes.) + + Note: this functionality is not currently available in the official + + protobuf release, and it is not used for type URLs beginning with + + type.googleapis.com. + + + Schemes other than `http`, `https` (or the empty scheme) might be + + used with implementation specific semantics. + value: + type: string + format: byte + description: Must be a valid serialized protocol buffer of the above specified type. + description: >- + `Any` contains an arbitrary serialized protocol buffer message along with a + + URL that describes the type of the serialized message. + + + Protobuf library provides support to pack/unpack Any values in the form + + of utility functions or additional generated methods of the Any type. + + + Example 1: Pack and unpack a message in C++. + + + Foo foo = ...; + Any any; + any.PackFrom(foo); + ... + if (any.UnpackTo(&foo)) { + ... + } + + Example 2: Pack and unpack a message in Java. + + + Foo foo = ...; + Any any = Any.pack(foo); + ... + if (any.is(Foo.class)) { + foo = any.unpack(Foo.class); + } + + Example 3: Pack and unpack a message in Python. + + foo = Foo(...) + any = Any() + any.Pack(foo) + ... + if any.Is(Foo.DESCRIPTOR): + any.Unpack(foo) + ... + + Example 4: Pack and unpack a message in Go + + foo := &pb.Foo{...} + any, err := ptypes.MarshalAny(foo) + ... + foo := &pb.Foo{} + if err := ptypes.UnmarshalAny(any, foo); err != nil { + ... + } + + The pack methods provided by protobuf library will by default use + + 'type.googleapis.com/full.type.name' as the type URL and the unpack + + methods only use the fully qualified type name after the last '/' + + in the type URL, for example "foo.bar.com/x/y.z" will yield type + + name "y.z". + + + + JSON + + ==== + + The JSON representation of an `Any` value uses the regular + + representation of the deserialized, embedded message, with an + + additional field `@type` which contains the type URL. Example: + + + package google.profile; + message Person { + string first_name = 1; + string last_name = 2; + } + + { + "@type": "type.googleapis.com/google.profile.Person", + "firstName": , + "lastName": + } + + If the embedded message type is well-known and has a custom JSON + + representation, that representation will be embedded adding a field + + `value` which holds the custom JSON in addition to the `@type` + + field. Example (for message [google.protobuf.Duration][]): + + + { + "@type": "type.googleapis.com/google.protobuf.Duration", + "value": "1.212s" + } + parameters: + - name: height + in: path + required: true + schema: + type: string + format: int64 + - name: pagination.key + description: |- + key is a value returned in PageResponse.next_key to begin + querying the next page most efficiently. Only one of offset or key + should be set. + in: query + required: false + schema: + type: string + format: byte + - name: pagination.offset + description: >- + offset is a numeric offset that can be used when key is unavailable. + + It is less efficient than using key. Only one of offset or key should + + be set. + in: query + required: false + schema: + type: string + format: uint64 + - name: pagination.limit + description: >- + limit is the total number of results to be returned in the result page. + + If left empty it will default to a value to be set by each app. + in: query + required: false + schema: + type: string + format: uint64 + - name: pagination.count_total + description: >- + count_total is set to true to indicate that the result set should include + + a count of the total number of items available for pagination in UIs. + + count_total is only respected when offset is used. It is ignored when key + + is set. + in: query + required: false + schema: + type: boolean + - name: pagination.reverse + description: >- + reverse is set to true if results are to be returned in the descending + + order. + in: query + required: false + schema: + type: boolean + tags: + - Service + /cosmos/distribution/v1beta1/community_pool: + get: + summary: CommunityPool queries the community pool coins. + operationId: CommunityPool + responses: + "200": + description: A successful response. + content: + "*/*": + schema: + type: object + properties: + pool: + type: array + items: + type: object + properties: + denom: + type: string + amount: + type: string + description: >- + DecCoin defines a token with a denomination and a decimal amount. + + + NOTE: The amount field is an Dec which implements the custom method + + signatures required by gogoproto. + description: pool defines community pool's coins. + description: >- + QueryCommunityPoolResponse is the response type for the Query/CommunityPool + + RPC method. + default: + description: An unexpected error response. + content: + "*/*": + schema: + type: object + properties: + error: + type: string + code: + type: integer + format: int32 + message: + type: string + details: + type: array + items: + type: object + properties: + type_url: + type: string + value: + type: string + format: byte + tags: + - Query + "/cosmos/distribution/v1beta1/delegators/{delegator_address}/rewards": + get: + summary: |- + DelegationTotalRewards queries the total rewards accrued by a each + validator. + operationId: DelegationTotalRewards + responses: + "200": + description: A successful response. + content: + "*/*": + schema: + type: object + properties: + rewards: + type: array + items: + type: object + properties: + validator_address: + type: string + reward: + type: array + items: + type: object + properties: + denom: + type: string + amount: + type: string + description: >- + DecCoin defines a token with a denomination and a decimal amount. + + + NOTE: The amount field is an Dec which implements the custom method + + signatures required by gogoproto. + description: |- + DelegationDelegatorReward represents the properties + of a delegator's delegation reward. + description: rewards defines all the rewards accrued by a delegator. + total: + type: array + items: + type: object + properties: + denom: + type: string + amount: + type: string + description: >- + DecCoin defines a token with a denomination and a decimal amount. + + + NOTE: The amount field is an Dec which implements the custom method + + signatures required by gogoproto. + description: total defines the sum of all the rewards. + description: >- + QueryDelegationTotalRewardsResponse is the response type for the + + Query/DelegationTotalRewards RPC method. + default: + description: An unexpected error response. + content: + "*/*": + schema: + type: object + properties: + error: + type: string + code: + type: integer + format: int32 + message: + type: string + details: + type: array + items: + type: object + properties: + type_url: + type: string + value: + type: string + format: byte + parameters: + - name: delegator_address + description: delegator_address defines the delegator address to query for. + in: path + required: true + schema: + type: string + tags: + - Query + "/cosmos/distribution/v1beta1/delegators/{delegator_address}/rewards/{validator_address}": + get: + summary: DelegationRewards queries the total rewards accrued by a delegation. + operationId: DelegationRewards + responses: + "200": + description: A successful response. + content: + "*/*": + schema: + type: object + properties: + rewards: + type: array + items: + type: object + properties: + denom: + type: string + amount: + type: string + description: >- + DecCoin defines a token with a denomination and a decimal amount. + + + NOTE: The amount field is an Dec which implements the custom method + + signatures required by gogoproto. + description: rewards defines the rewards accrued by a delegation. + description: |- + QueryDelegationRewardsResponse is the response type for the + Query/DelegationRewards RPC method. + default: + description: An unexpected error response. + content: + "*/*": + schema: + type: object + properties: + error: + type: string + code: + type: integer + format: int32 + message: + type: string + details: + type: array + items: + type: object + properties: + type_url: + type: string + value: + type: string + format: byte + parameters: + - name: delegator_address + description: delegator_address defines the delegator address to query for. + in: path + required: true + schema: + type: string + - name: validator_address + description: validator_address defines the validator address to query for. + in: path + required: true + schema: + type: string + tags: + - Query + "/cosmos/distribution/v1beta1/delegators/{delegator_address}/validators": + get: + summary: DelegatorValidators queries the validators of a delegator. + operationId: DelegatorValidators + responses: + "200": + description: A successful response. + content: + "*/*": + schema: + type: object + properties: + validators: + type: array + items: + type: string + description: validators defines the validators a delegator is delegating for. + description: |- + QueryDelegatorValidatorsResponse is the response type for the + Query/DelegatorValidators RPC method. + default: + description: An unexpected error response. + content: + "*/*": + schema: + type: object + properties: + error: + type: string + code: + type: integer + format: int32 + message: + type: string + details: + type: array + items: + type: object + properties: + type_url: + type: string + value: + type: string + format: byte + parameters: + - name: delegator_address + description: delegator_address defines the delegator address to query for. + in: path + required: true + schema: + type: string + tags: + - Query + "/cosmos/distribution/v1beta1/delegators/{delegator_address}/withdraw_address": + get: + summary: DelegatorWithdrawAddress queries withdraw address of a delegator. + operationId: DelegatorWithdrawAddress + responses: + "200": + description: A successful response. + content: + "*/*": + schema: + type: object + properties: + withdraw_address: + type: string + description: withdraw_address defines the delegator address to query for. + description: >- + QueryDelegatorWithdrawAddressResponse is the response type for the + + Query/DelegatorWithdrawAddress RPC method. + default: + description: An unexpected error response. + content: + "*/*": + schema: + type: object + properties: + error: + type: string + code: + type: integer + format: int32 + message: + type: string + details: + type: array + items: + type: object + properties: + type_url: + type: string + value: + type: string + format: byte + parameters: + - name: delegator_address + description: delegator_address defines the delegator address to query for. + in: path + required: true + schema: + type: string + tags: + - Query + /cosmos/distribution/v1beta1/params: + get: + summary: Params queries params of the distribution module. + operationId: DistributionParams + responses: + "200": + description: A successful response. + content: + "*/*": + schema: + type: object + properties: + params: + description: params defines the parameters of the module. + type: object + properties: + community_tax: + type: string + base_proposer_reward: + type: string + bonus_proposer_reward: + type: string + withdraw_addr_enabled: + type: boolean + description: QueryParamsResponse is the response type for the Query/Params RPC method. + default: + description: An unexpected error response. + content: + "*/*": + schema: + type: object + properties: + error: + type: string + code: + type: integer + format: int32 + message: + type: string + details: + type: array + items: + type: object + properties: + type_url: + type: string + value: + type: string + format: byte + tags: + - Query + "/cosmos/distribution/v1beta1/validators/{validator_address}/commission": + get: + summary: ValidatorCommission queries accumulated commission for a validator. + operationId: ValidatorCommission + responses: + "200": + description: A successful response. + content: + "*/*": + schema: + type: object + properties: + commission: + description: commission defines the commision the validator received. + type: object + properties: + commission: + type: array + items: + type: object + properties: + denom: + type: string + amount: + type: string + description: >- + DecCoin defines a token with a denomination and a decimal amount. + + + NOTE: The amount field is an Dec which implements the custom method + + signatures required by gogoproto. + title: |- + QueryValidatorCommissionResponse is the response type for the + Query/ValidatorCommission RPC method + default: + description: An unexpected error response. + content: + "*/*": + schema: + type: object + properties: + error: + type: string + code: + type: integer + format: int32 + message: + type: string + details: + type: array + items: + type: object + properties: + type_url: + type: string + value: + type: string + format: byte + parameters: + - name: validator_address + description: validator_address defines the validator address to query for. + in: path + required: true + schema: + type: string + tags: + - Query + "/cosmos/distribution/v1beta1/validators/{validator_address}/outstanding_rewards": + get: + summary: ValidatorOutstandingRewards queries rewards of a validator address. + operationId: ValidatorOutstandingRewards + responses: + "200": + description: A successful response. + content: + "*/*": + schema: + type: object + properties: + rewards: + type: object + properties: + rewards: + type: array + items: + type: object + properties: + denom: + type: string + amount: + type: string + description: >- + DecCoin defines a token with a denomination and a decimal amount. + + + NOTE: The amount field is an Dec which implements the custom method + + signatures required by gogoproto. + description: >- + ValidatorOutstandingRewards represents outstanding (un-withdrawn) rewards + + for a validator inexpensive to track, allows simple sanity checks. + description: >- + QueryValidatorOutstandingRewardsResponse is the response type for the + + Query/ValidatorOutstandingRewards RPC method. + default: + description: An unexpected error response. + content: + "*/*": + schema: + type: object + properties: + error: + type: string + code: + type: integer + format: int32 + message: + type: string + details: + type: array + items: + type: object + properties: + type_url: + type: string + value: + type: string + format: byte + parameters: + - name: validator_address + description: validator_address defines the validator address to query for. + in: path + required: true + schema: + type: string + tags: + - Query + "/cosmos/distribution/v1beta1/validators/{validator_address}/slashes": + get: + summary: ValidatorSlashes queries slash events of a validator. + operationId: ValidatorSlashes + responses: + "200": + description: A successful response. + content: + "*/*": + schema: + type: object + properties: + slashes: + type: array + items: + type: object + properties: + validator_period: + type: string + format: uint64 + fraction: + type: string + description: >- + ValidatorSlashEvent represents a validator slash event. + + Height is implicit within the store key. + + This is needed to calculate appropriate amount of staking tokens + + for delegations which are withdrawn after a slash has occurred. + description: slashes defines the slashes the validator received. + pagination: + description: pagination defines the pagination in the response. + type: object + properties: + next_key: + type: string + format: byte + title: |- + next_key is the key to be passed to PageRequest.key to + query the next page most efficiently + total: + type: string + format: uint64 + title: >- + total is total number of results available if PageRequest.count_total + + was set, its value is undefined otherwise + description: |- + QueryValidatorSlashesResponse is the response type for the + Query/ValidatorSlashes RPC method. + default: + description: An unexpected error response. + content: + "*/*": + schema: + type: object + properties: + error: + type: string + code: + type: integer + format: int32 + message: + type: string + details: + type: array + items: + type: object + properties: + type_url: + type: string + value: + type: string + format: byte + parameters: + - name: validator_address + description: validator_address defines the validator address to query for. + in: path + required: true + schema: + type: string + - name: starting_height + description: starting_height defines the optional starting height to query the slashes. + in: query + required: false + schema: + type: string + format: uint64 + - name: ending_height + description: starting_height defines the optional ending height to query the slashes. + in: query + required: false + schema: + type: string + format: uint64 + - name: pagination.key + description: |- + key is a value returned in PageResponse.next_key to begin + querying the next page most efficiently. Only one of offset or key + should be set. + in: query + required: false + schema: + type: string + format: byte + - name: pagination.offset + description: >- + offset is a numeric offset that can be used when key is unavailable. + + It is less efficient than using key. Only one of offset or key should + + be set. + in: query + required: false + schema: + type: string + format: uint64 + - name: pagination.limit + description: >- + limit is the total number of results to be returned in the result page. + + If left empty it will default to a value to be set by each app. + in: query + required: false + schema: + type: string + format: uint64 + - name: pagination.count_total + description: >- + count_total is set to true to indicate that the result set should include + + a count of the total number of items available for pagination in UIs. + + count_total is only respected when offset is used. It is ignored when key + + is set. + in: query + required: false + schema: + type: boolean + - name: pagination.reverse + description: >- + reverse is set to true if results are to be returned in the descending + + order. + in: query + required: false + schema: + type: boolean + tags: + - Query + /cosmos/evidence/v1beta1/evidence: + get: + summary: AllEvidence queries all evidence. + operationId: AllEvidence + responses: + "200": + description: A successful response. + content: + "*/*": + schema: + type: object + properties: + evidence: + type: array + items: + type: object + properties: + type_url: + type: string + description: >- + A URL/resource name that uniquely identifies the type of the serialized + + protocol buffer message. This string must contain at least + + one "/" character. The last segment of the URL's path must represent + + the fully qualified name of the type (as in + + `path/google.protobuf.Duration`). The name should be in a canonical form + + (e.g., leading "." is not accepted). + + + In practice, teams usually precompile into the binary all types that they + + expect it to use in the context of Any. However, for URLs which use the + + scheme `http`, `https`, or no scheme, one can optionally set up a type + + server that maps type URLs to message definitions as follows: + + + * If no scheme is provided, `https` is assumed. + + * An HTTP GET on the URL must yield a [google.protobuf.Type][] + + value in binary format, or produce an error. + * Applications are allowed to cache lookup results based on the + + URL, or have them precompiled into a binary to avoid any + lookup. Therefore, binary compatibility needs to be preserved + on changes to types. (Use versioned type names to manage + breaking changes.) + + Note: this functionality is not currently available in the official + + protobuf release, and it is not used for type URLs beginning with + + type.googleapis.com. + + + Schemes other than `http`, `https` (or the empty scheme) might be + + used with implementation specific semantics. + value: + type: string + format: byte + description: Must be a valid serialized protocol buffer of the above specified type. + description: >- + `Any` contains an arbitrary serialized protocol buffer message along with a + + URL that describes the type of the serialized message. + + + Protobuf library provides support to pack/unpack Any values in the form + + of utility functions or additional generated methods of the Any type. + + + Example 1: Pack and unpack a message in C++. + + + Foo foo = ...; + Any any; + any.PackFrom(foo); + ... + if (any.UnpackTo(&foo)) { + ... + } + + Example 2: Pack and unpack a message in Java. + + + Foo foo = ...; + Any any = Any.pack(foo); + ... + if (any.is(Foo.class)) { + foo = any.unpack(Foo.class); + } + + Example 3: Pack and unpack a message in Python. + + foo = Foo(...) + any = Any() + any.Pack(foo) + ... + if any.Is(Foo.DESCRIPTOR): + any.Unpack(foo) + ... + + Example 4: Pack and unpack a message in Go + + foo := &pb.Foo{...} + any, err := ptypes.MarshalAny(foo) + ... + foo := &pb.Foo{} + if err := ptypes.UnmarshalAny(any, foo); err != nil { + ... + } + + The pack methods provided by protobuf library will by default use + + 'type.googleapis.com/full.type.name' as the type URL and the unpack + + methods only use the fully qualified type name after the last '/' + + in the type URL, for example "foo.bar.com/x/y.z" will yield type + + name "y.z". + + + + JSON + + ==== + + The JSON representation of an `Any` value uses the regular + + representation of the deserialized, embedded message, with an + + additional field `@type` which contains the type URL. Example: + + + package google.profile; + message Person { + string first_name = 1; + string last_name = 2; + } + + { + "@type": "type.googleapis.com/google.profile.Person", + "firstName": , + "lastName": + } + + If the embedded message type is well-known and has a custom JSON + + representation, that representation will be embedded adding a field + + `value` which holds the custom JSON in addition to the `@type` + + field. Example (for message [google.protobuf.Duration][]): + + + { + "@type": "type.googleapis.com/google.protobuf.Duration", + "value": "1.212s" + } + description: evidence returns all evidences. + pagination: + description: pagination defines the pagination in the response. + type: object + properties: + next_key: + type: string + format: byte + title: |- + next_key is the key to be passed to PageRequest.key to + query the next page most efficiently + total: + type: string + format: uint64 + title: >- + total is total number of results available if PageRequest.count_total + + was set, its value is undefined otherwise + description: >- + QueryAllEvidenceResponse is the response type for the Query/AllEvidence RPC + + method. + default: + description: An unexpected error response. + content: + "*/*": + schema: + type: object + properties: + error: + type: string + code: + type: integer + format: int32 + message: + type: string + details: + type: array + items: + type: object + properties: + type_url: + type: string + description: >- + A URL/resource name that uniquely identifies the type of the serialized + + protocol buffer message. This string must contain at least + + one "/" character. The last segment of the URL's path must represent + + the fully qualified name of the type (as in + + `path/google.protobuf.Duration`). The name should be in a canonical form + + (e.g., leading "." is not accepted). + + + In practice, teams usually precompile into the binary all types that they + + expect it to use in the context of Any. However, for URLs which use the + + scheme `http`, `https`, or no scheme, one can optionally set up a type + + server that maps type URLs to message definitions as follows: + + + * If no scheme is provided, `https` is assumed. + + * An HTTP GET on the URL must yield a [google.protobuf.Type][] + + value in binary format, or produce an error. + * Applications are allowed to cache lookup results based on the + + URL, or have them precompiled into a binary to avoid any + lookup. Therefore, binary compatibility needs to be preserved + on changes to types. (Use versioned type names to manage + breaking changes.) + + Note: this functionality is not currently available in the official + + protobuf release, and it is not used for type URLs beginning with + + type.googleapis.com. + + + Schemes other than `http`, `https` (or the empty scheme) might be + + used with implementation specific semantics. + value: + type: string + format: byte + description: Must be a valid serialized protocol buffer of the above specified type. + description: >- + `Any` contains an arbitrary serialized protocol buffer message along with a + + URL that describes the type of the serialized message. + + + Protobuf library provides support to pack/unpack Any values in the form + + of utility functions or additional generated methods of the Any type. + + + Example 1: Pack and unpack a message in C++. + + + Foo foo = ...; + Any any; + any.PackFrom(foo); + ... + if (any.UnpackTo(&foo)) { + ... + } + + Example 2: Pack and unpack a message in Java. + + + Foo foo = ...; + Any any = Any.pack(foo); + ... + if (any.is(Foo.class)) { + foo = any.unpack(Foo.class); + } + + Example 3: Pack and unpack a message in Python. + + foo = Foo(...) + any = Any() + any.Pack(foo) + ... + if any.Is(Foo.DESCRIPTOR): + any.Unpack(foo) + ... + + Example 4: Pack and unpack a message in Go + + foo := &pb.Foo{...} + any, err := ptypes.MarshalAny(foo) + ... + foo := &pb.Foo{} + if err := ptypes.UnmarshalAny(any, foo); err != nil { + ... + } + + The pack methods provided by protobuf library will by default use + + 'type.googleapis.com/full.type.name' as the type URL and the unpack + + methods only use the fully qualified type name after the last '/' + + in the type URL, for example "foo.bar.com/x/y.z" will yield type + + name "y.z". + + + + JSON + + ==== + + The JSON representation of an `Any` value uses the regular + + representation of the deserialized, embedded message, with an + + additional field `@type` which contains the type URL. Example: + + + package google.profile; + message Person { + string first_name = 1; + string last_name = 2; + } + + { + "@type": "type.googleapis.com/google.profile.Person", + "firstName": , + "lastName": + } + + If the embedded message type is well-known and has a custom JSON + + representation, that representation will be embedded adding a field + + `value` which holds the custom JSON in addition to the `@type` + + field. Example (for message [google.protobuf.Duration][]): + + + { + "@type": "type.googleapis.com/google.protobuf.Duration", + "value": "1.212s" + } + parameters: + - name: pagination.key + description: |- + key is a value returned in PageResponse.next_key to begin + querying the next page most efficiently. Only one of offset or key + should be set. + in: query + required: false + schema: + type: string + format: byte + - name: pagination.offset + description: >- + offset is a numeric offset that can be used when key is unavailable. + + It is less efficient than using key. Only one of offset or key should + + be set. + in: query + required: false + schema: + type: string + format: uint64 + - name: pagination.limit + description: >- + limit is the total number of results to be returned in the result page. + + If left empty it will default to a value to be set by each app. + in: query + required: false + schema: + type: string + format: uint64 + - name: pagination.count_total + description: >- + count_total is set to true to indicate that the result set should include + + a count of the total number of items available for pagination in UIs. + + count_total is only respected when offset is used. It is ignored when key + + is set. + in: query + required: false + schema: + type: boolean + - name: pagination.reverse + description: >- + reverse is set to true if results are to be returned in the descending + + order. + in: query + required: false + schema: + type: boolean + tags: + - Query + "/cosmos/evidence/v1beta1/evidence/{evidence_hash}": + get: + summary: Evidence queries evidence based on evidence hash. + operationId: Evidence + responses: + "200": + description: A successful response. + content: + "*/*": + schema: + type: object + properties: + evidence: + type: object + properties: + type_url: + type: string + description: >- + A URL/resource name that uniquely identifies the type of the serialized + + protocol buffer message. This string must contain at least + + one "/" character. The last segment of the URL's path must represent + + the fully qualified name of the type (as in + + `path/google.protobuf.Duration`). The name should be in a canonical form + + (e.g., leading "." is not accepted). + + + In practice, teams usually precompile into the binary all types that they + + expect it to use in the context of Any. However, for URLs which use the + + scheme `http`, `https`, or no scheme, one can optionally set up a type + + server that maps type URLs to message definitions as follows: + + + * If no scheme is provided, `https` is assumed. + + * An HTTP GET on the URL must yield a [google.protobuf.Type][] + + value in binary format, or produce an error. + * Applications are allowed to cache lookup results based on the + + URL, or have them precompiled into a binary to avoid any + lookup. Therefore, binary compatibility needs to be preserved + on changes to types. (Use versioned type names to manage + breaking changes.) + + Note: this functionality is not currently available in the official + + protobuf release, and it is not used for type URLs beginning with + + type.googleapis.com. + + + Schemes other than `http`, `https` (or the empty scheme) might be + + used with implementation specific semantics. + value: + type: string + format: byte + description: Must be a valid serialized protocol buffer of the above specified type. + description: >- + `Any` contains an arbitrary serialized protocol buffer message along with a + + URL that describes the type of the serialized message. + + + Protobuf library provides support to pack/unpack Any values in the form + + of utility functions or additional generated methods of the Any type. + + + Example 1: Pack and unpack a message in C++. + + + Foo foo = ...; + Any any; + any.PackFrom(foo); + ... + if (any.UnpackTo(&foo)) { + ... + } + + Example 2: Pack and unpack a message in Java. + + + Foo foo = ...; + Any any = Any.pack(foo); + ... + if (any.is(Foo.class)) { + foo = any.unpack(Foo.class); + } + + Example 3: Pack and unpack a message in Python. + + foo = Foo(...) + any = Any() + any.Pack(foo) + ... + if any.Is(Foo.DESCRIPTOR): + any.Unpack(foo) + ... + + Example 4: Pack and unpack a message in Go + + foo := &pb.Foo{...} + any, err := ptypes.MarshalAny(foo) + ... + foo := &pb.Foo{} + if err := ptypes.UnmarshalAny(any, foo); err != nil { + ... + } + + The pack methods provided by protobuf library will by default use + + 'type.googleapis.com/full.type.name' as the type URL and the unpack + + methods only use the fully qualified type name after the last '/' + + in the type URL, for example "foo.bar.com/x/y.z" will yield type + + name "y.z". + + + + JSON + + ==== + + The JSON representation of an `Any` value uses the regular + + representation of the deserialized, embedded message, with an + + additional field `@type` which contains the type URL. Example: + + + package google.profile; + message Person { + string first_name = 1; + string last_name = 2; + } + + { + "@type": "type.googleapis.com/google.profile.Person", + "firstName": , + "lastName": + } + + If the embedded message type is well-known and has a custom JSON + + representation, that representation will be embedded adding a field + + `value` which holds the custom JSON in addition to the `@type` + + field. Example (for message [google.protobuf.Duration][]): + + + { + "@type": "type.googleapis.com/google.protobuf.Duration", + "value": "1.212s" + } + description: QueryEvidenceResponse is the response type for the Query/Evidence RPC method. + default: + description: An unexpected error response. + content: + "*/*": + schema: + type: object + properties: + error: + type: string + code: + type: integer + format: int32 + message: + type: string + details: + type: array + items: + type: object + properties: + type_url: + type: string + description: >- + A URL/resource name that uniquely identifies the type of the serialized + + protocol buffer message. This string must contain at least + + one "/" character. The last segment of the URL's path must represent + + the fully qualified name of the type (as in + + `path/google.protobuf.Duration`). The name should be in a canonical form + + (e.g., leading "." is not accepted). + + + In practice, teams usually precompile into the binary all types that they + + expect it to use in the context of Any. However, for URLs which use the + + scheme `http`, `https`, or no scheme, one can optionally set up a type + + server that maps type URLs to message definitions as follows: + + + * If no scheme is provided, `https` is assumed. + + * An HTTP GET on the URL must yield a [google.protobuf.Type][] + + value in binary format, or produce an error. + * Applications are allowed to cache lookup results based on the + + URL, or have them precompiled into a binary to avoid any + lookup. Therefore, binary compatibility needs to be preserved + on changes to types. (Use versioned type names to manage + breaking changes.) + + Note: this functionality is not currently available in the official + + protobuf release, and it is not used for type URLs beginning with + + type.googleapis.com. + + + Schemes other than `http`, `https` (or the empty scheme) might be + + used with implementation specific semantics. + value: + type: string + format: byte + description: Must be a valid serialized protocol buffer of the above specified type. + description: >- + `Any` contains an arbitrary serialized protocol buffer message along with a + + URL that describes the type of the serialized message. + + + Protobuf library provides support to pack/unpack Any values in the form + + of utility functions or additional generated methods of the Any type. + + + Example 1: Pack and unpack a message in C++. + + + Foo foo = ...; + Any any; + any.PackFrom(foo); + ... + if (any.UnpackTo(&foo)) { + ... + } + + Example 2: Pack and unpack a message in Java. + + + Foo foo = ...; + Any any = Any.pack(foo); + ... + if (any.is(Foo.class)) { + foo = any.unpack(Foo.class); + } + + Example 3: Pack and unpack a message in Python. + + foo = Foo(...) + any = Any() + any.Pack(foo) + ... + if any.Is(Foo.DESCRIPTOR): + any.Unpack(foo) + ... + + Example 4: Pack and unpack a message in Go + + foo := &pb.Foo{...} + any, err := ptypes.MarshalAny(foo) + ... + foo := &pb.Foo{} + if err := ptypes.UnmarshalAny(any, foo); err != nil { + ... + } + + The pack methods provided by protobuf library will by default use + + 'type.googleapis.com/full.type.name' as the type URL and the unpack + + methods only use the fully qualified type name after the last '/' + + in the type URL, for example "foo.bar.com/x/y.z" will yield type + + name "y.z". + + + + JSON + + ==== + + The JSON representation of an `Any` value uses the regular + + representation of the deserialized, embedded message, with an + + additional field `@type` which contains the type URL. Example: + + + package google.profile; + message Person { + string first_name = 1; + string last_name = 2; + } + + { + "@type": "type.googleapis.com/google.profile.Person", + "firstName": , + "lastName": + } + + If the embedded message type is well-known and has a custom JSON + + representation, that representation will be embedded adding a field + + `value` which holds the custom JSON in addition to the `@type` + + field. Example (for message [google.protobuf.Duration][]): + + + { + "@type": "type.googleapis.com/google.protobuf.Duration", + "value": "1.212s" + } + parameters: + - name: evidence_hash + description: evidence_hash defines the hash of the requested evidence. + in: path + required: true + schema: + type: string + format: byte + tags: + - Query + "/cosmos/feegrant/v1beta1/allowance/{granter}/{grantee}": + get: + summary: Allowance returns fee granted to the grantee by the granter. + operationId: Allowance + responses: + "200": + description: A successful response. + content: + "*/*": + schema: + type: object + properties: + allowance: + description: allowance is a allowance granted for grantee by granter. + type: object + properties: + granter: + type: string + description: granter is the address of the user granting an allowance of their funds. + grantee: + type: string + description: grantee is the address of the user being granted an allowance of another user's funds. + allowance: + description: allowance can be any of basic and filtered fee allowance. + type: object + properties: + type_url: + type: string + description: >- + A URL/resource name that uniquely identifies the type of the serialized + + protocol buffer message. This string must contain at least + + one "/" character. The last segment of the URL's path must represent + + the fully qualified name of the type (as in + + `path/google.protobuf.Duration`). The name should be in a canonical form + + (e.g., leading "." is not accepted). + + + In practice, teams usually precompile into the binary all types that they + + expect it to use in the context of Any. However, for URLs which use the + + scheme `http`, `https`, or no scheme, one can optionally set up a type + + server that maps type URLs to message definitions as follows: + + + * If no scheme is provided, `https` is assumed. + + * An HTTP GET on the URL must yield a [google.protobuf.Type][] + + value in binary format, or produce an error. + * Applications are allowed to cache lookup results based on the + + URL, or have them precompiled into a binary to avoid any + lookup. Therefore, binary compatibility needs to be preserved + on changes to types. (Use versioned type names to manage + breaking changes.) + + Note: this functionality is not currently available in the official + + protobuf release, and it is not used for type URLs beginning with + + type.googleapis.com. + + + Schemes other than `http`, `https` (or the empty scheme) might be + + used with implementation specific semantics. + value: + type: string + format: byte + description: Must be a valid serialized protocol buffer of the above specified type. + title: Grant is stored in the KVStore to record a grant with full context + description: QueryAllowanceResponse is the response type for the Query/Allowance RPC method. + default: + description: An unexpected error response. + content: + "*/*": + schema: + type: object + properties: + error: + type: string + code: + type: integer + format: int32 + message: + type: string + details: + type: array + items: + type: object + properties: + type_url: + type: string + description: >- + A URL/resource name that uniquely identifies the type of the serialized + + protocol buffer message. This string must contain at least + + one "/" character. The last segment of the URL's path must represent + + the fully qualified name of the type (as in + + `path/google.protobuf.Duration`). The name should be in a canonical form + + (e.g., leading "." is not accepted). + + + In practice, teams usually precompile into the binary all types that they + + expect it to use in the context of Any. However, for URLs which use the + + scheme `http`, `https`, or no scheme, one can optionally set up a type + + server that maps type URLs to message definitions as follows: + + + * If no scheme is provided, `https` is assumed. + + * An HTTP GET on the URL must yield a [google.protobuf.Type][] + + value in binary format, or produce an error. + * Applications are allowed to cache lookup results based on the + + URL, or have them precompiled into a binary to avoid any + lookup. Therefore, binary compatibility needs to be preserved + on changes to types. (Use versioned type names to manage + breaking changes.) + + Note: this functionality is not currently available in the official + + protobuf release, and it is not used for type URLs beginning with + + type.googleapis.com. + + + Schemes other than `http`, `https` (or the empty scheme) might be + + used with implementation specific semantics. + value: + type: string + format: byte + description: Must be a valid serialized protocol buffer of the above specified type. + description: >- + `Any` contains an arbitrary serialized protocol buffer message along with a + + URL that describes the type of the serialized message. + + + Protobuf library provides support to pack/unpack Any values in the form + + of utility functions or additional generated methods of the Any type. + + + Example 1: Pack and unpack a message in C++. + + + Foo foo = ...; + Any any; + any.PackFrom(foo); + ... + if (any.UnpackTo(&foo)) { + ... + } + + Example 2: Pack and unpack a message in Java. + + + Foo foo = ...; + Any any = Any.pack(foo); + ... + if (any.is(Foo.class)) { + foo = any.unpack(Foo.class); + } + + Example 3: Pack and unpack a message in Python. + + foo = Foo(...) + any = Any() + any.Pack(foo) + ... + if any.Is(Foo.DESCRIPTOR): + any.Unpack(foo) + ... + + Example 4: Pack and unpack a message in Go + + foo := &pb.Foo{...} + any, err := ptypes.MarshalAny(foo) + ... + foo := &pb.Foo{} + if err := ptypes.UnmarshalAny(any, foo); err != nil { + ... + } + + The pack methods provided by protobuf library will by default use + + 'type.googleapis.com/full.type.name' as the type URL and the unpack + + methods only use the fully qualified type name after the last '/' + + in the type URL, for example "foo.bar.com/x/y.z" will yield type + + name "y.z". + + + + JSON + + ==== + + The JSON representation of an `Any` value uses the regular + + representation of the deserialized, embedded message, with an + + additional field `@type` which contains the type URL. Example: + + + package google.profile; + message Person { + string first_name = 1; + string last_name = 2; + } + + { + "@type": "type.googleapis.com/google.profile.Person", + "firstName": , + "lastName": + } + + If the embedded message type is well-known and has a custom JSON + + representation, that representation will be embedded adding a field + + `value` which holds the custom JSON in addition to the `@type` + + field. Example (for message [google.protobuf.Duration][]): + + + { + "@type": "type.googleapis.com/google.protobuf.Duration", + "value": "1.212s" + } + parameters: + - name: granter + description: granter is the address of the user granting an allowance of their funds. + in: path + required: true + schema: + type: string + - name: grantee + description: grantee is the address of the user being granted an allowance of another user's funds. + in: path + required: true + schema: + type: string + tags: + - Query + "/cosmos/feegrant/v1beta1/allowances/{grantee}": + get: + summary: Allowances returns all the grants for address. + operationId: Allowances + responses: + "200": + description: A successful response. + content: + "*/*": + schema: + type: object + properties: + allowances: + type: array + items: + type: object + properties: + granter: + type: string + description: granter is the address of the user granting an allowance of their funds. + grantee: + type: string + description: grantee is the address of the user being granted an allowance of another user's funds. + allowance: + description: allowance can be any of basic and filtered fee allowance. + type: object + properties: + type_url: + type: string + description: >- + A URL/resource name that uniquely identifies the type of the serialized + + protocol buffer message. This string must contain at least + + one "/" character. The last segment of the URL's path must represent + + the fully qualified name of the type (as in + + `path/google.protobuf.Duration`). The name should be in a canonical form + + (e.g., leading "." is not accepted). + + + In practice, teams usually precompile into the binary all types that they + + expect it to use in the context of Any. However, for URLs which use the + + scheme `http`, `https`, or no scheme, one can optionally set up a type + + server that maps type URLs to message definitions as follows: + + + * If no scheme is provided, `https` is assumed. + + * An HTTP GET on the URL must yield a [google.protobuf.Type][] + + value in binary format, or produce an error. + * Applications are allowed to cache lookup results based on the + + URL, or have them precompiled into a binary to avoid any + lookup. Therefore, binary compatibility needs to be preserved + on changes to types. (Use versioned type names to manage + breaking changes.) + + Note: this functionality is not currently available in the official + + protobuf release, and it is not used for type URLs beginning with + + type.googleapis.com. + + + Schemes other than `http`, `https` (or the empty scheme) might be + + used with implementation specific semantics. + value: + type: string + format: byte + description: Must be a valid serialized protocol buffer of the above specified type. + title: Grant is stored in the KVStore to record a grant with full context + description: allowances are allowance's granted for grantee by granter. + pagination: + description: pagination defines an pagination for the response. + type: object + properties: + next_key: + type: string + format: byte + title: |- + next_key is the key to be passed to PageRequest.key to + query the next page most efficiently + total: + type: string + format: uint64 + title: >- + total is total number of results available if PageRequest.count_total + + was set, its value is undefined otherwise + description: QueryAllowancesResponse is the response type for the Query/Allowances RPC method. + default: + description: An unexpected error response. + content: + "*/*": + schema: + type: object + properties: + error: + type: string + code: + type: integer + format: int32 + message: + type: string + details: + type: array + items: + type: object + properties: + type_url: + type: string + description: >- + A URL/resource name that uniquely identifies the type of the serialized + + protocol buffer message. This string must contain at least + + one "/" character. The last segment of the URL's path must represent + + the fully qualified name of the type (as in + + `path/google.protobuf.Duration`). The name should be in a canonical form + + (e.g., leading "." is not accepted). + + + In practice, teams usually precompile into the binary all types that they + + expect it to use in the context of Any. However, for URLs which use the + + scheme `http`, `https`, or no scheme, one can optionally set up a type + + server that maps type URLs to message definitions as follows: + + + * If no scheme is provided, `https` is assumed. + + * An HTTP GET on the URL must yield a [google.protobuf.Type][] + + value in binary format, or produce an error. + * Applications are allowed to cache lookup results based on the + + URL, or have them precompiled into a binary to avoid any + lookup. Therefore, binary compatibility needs to be preserved + on changes to types. (Use versioned type names to manage + breaking changes.) + + Note: this functionality is not currently available in the official + + protobuf release, and it is not used for type URLs beginning with + + type.googleapis.com. + + + Schemes other than `http`, `https` (or the empty scheme) might be + + used with implementation specific semantics. + value: + type: string + format: byte + description: Must be a valid serialized protocol buffer of the above specified type. + description: >- + `Any` contains an arbitrary serialized protocol buffer message along with a + + URL that describes the type of the serialized message. + + + Protobuf library provides support to pack/unpack Any values in the form + + of utility functions or additional generated methods of the Any type. + + + Example 1: Pack and unpack a message in C++. + + + Foo foo = ...; + Any any; + any.PackFrom(foo); + ... + if (any.UnpackTo(&foo)) { + ... + } + + Example 2: Pack and unpack a message in Java. + + + Foo foo = ...; + Any any = Any.pack(foo); + ... + if (any.is(Foo.class)) { + foo = any.unpack(Foo.class); + } + + Example 3: Pack and unpack a message in Python. + + foo = Foo(...) + any = Any() + any.Pack(foo) + ... + if any.Is(Foo.DESCRIPTOR): + any.Unpack(foo) + ... + + Example 4: Pack and unpack a message in Go + + foo := &pb.Foo{...} + any, err := ptypes.MarshalAny(foo) + ... + foo := &pb.Foo{} + if err := ptypes.UnmarshalAny(any, foo); err != nil { + ... + } + + The pack methods provided by protobuf library will by default use + + 'type.googleapis.com/full.type.name' as the type URL and the unpack + + methods only use the fully qualified type name after the last '/' + + in the type URL, for example "foo.bar.com/x/y.z" will yield type + + name "y.z". + + + + JSON + + ==== + + The JSON representation of an `Any` value uses the regular + + representation of the deserialized, embedded message, with an + + additional field `@type` which contains the type URL. Example: + + + package google.profile; + message Person { + string first_name = 1; + string last_name = 2; + } + + { + "@type": "type.googleapis.com/google.profile.Person", + "firstName": , + "lastName": + } + + If the embedded message type is well-known and has a custom JSON + + representation, that representation will be embedded adding a field + + `value` which holds the custom JSON in addition to the `@type` + + field. Example (for message [google.protobuf.Duration][]): + + + { + "@type": "type.googleapis.com/google.protobuf.Duration", + "value": "1.212s" + } + parameters: + - name: grantee + in: path + required: true + schema: + type: string + - name: pagination.key + description: |- + key is a value returned in PageResponse.next_key to begin + querying the next page most efficiently. Only one of offset or key + should be set. + in: query + required: false + schema: + type: string + format: byte + - name: pagination.offset + description: >- + offset is a numeric offset that can be used when key is unavailable. + + It is less efficient than using key. Only one of offset or key should + + be set. + in: query + required: false + schema: + type: string + format: uint64 + - name: pagination.limit + description: >- + limit is the total number of results to be returned in the result page. + + If left empty it will default to a value to be set by each app. + in: query + required: false + schema: + type: string + format: uint64 + - name: pagination.count_total + description: >- + count_total is set to true to indicate that the result set should include + + a count of the total number of items available for pagination in UIs. + + count_total is only respected when offset is used. It is ignored when key + + is set. + in: query + required: false + schema: + type: boolean + - name: pagination.reverse + description: >- + reverse is set to true if results are to be returned in the descending + + order. + in: query + required: false + schema: + type: boolean + tags: + - Query + "/cosmos/feegrant/v1beta1/issued/{granter}": + get: + summary: |- + AllowancesByGranter returns all the grants given by an address + Since v0.46 + operationId: AllowancesByGranter + responses: + "200": + description: A successful response. + content: + "*/*": + schema: + type: object + properties: + allowances: + type: array + items: + type: object + properties: + granter: + type: string + description: granter is the address of the user granting an allowance of their funds. + grantee: + type: string + description: grantee is the address of the user being granted an allowance of another user's funds. + allowance: + description: allowance can be any of basic and filtered fee allowance. + type: object + properties: + type_url: + type: string + description: >- + A URL/resource name that uniquely identifies the type of the serialized + + protocol buffer message. This string must contain at least + + one "/" character. The last segment of the URL's path must represent + + the fully qualified name of the type (as in + + `path/google.protobuf.Duration`). The name should be in a canonical form + + (e.g., leading "." is not accepted). + + + In practice, teams usually precompile into the binary all types that they + + expect it to use in the context of Any. However, for URLs which use the + + scheme `http`, `https`, or no scheme, one can optionally set up a type + + server that maps type URLs to message definitions as follows: + + + * If no scheme is provided, `https` is assumed. + + * An HTTP GET on the URL must yield a [google.protobuf.Type][] + + value in binary format, or produce an error. + * Applications are allowed to cache lookup results based on the + + URL, or have them precompiled into a binary to avoid any + lookup. Therefore, binary compatibility needs to be preserved + on changes to types. (Use versioned type names to manage + breaking changes.) + + Note: this functionality is not currently available in the official + + protobuf release, and it is not used for type URLs beginning with + + type.googleapis.com. + + + Schemes other than `http`, `https` (or the empty scheme) might be + + used with implementation specific semantics. + value: + type: string + format: byte + description: Must be a valid serialized protocol buffer of the above specified type. + title: Grant is stored in the KVStore to record a grant with full context + description: allowances that have been issued by the granter. + pagination: + description: pagination defines an pagination for the response. + type: object + properties: + next_key: + type: string + format: byte + title: |- + next_key is the key to be passed to PageRequest.key to + query the next page most efficiently + total: + type: string + format: uint64 + title: >- + total is total number of results available if PageRequest.count_total + + was set, its value is undefined otherwise + description: QueryAllowancesByGranterResponse is the response type for the Query/AllowancesByGranter RPC method. + default: + description: An unexpected error response. + content: + "*/*": + schema: + type: object + properties: + error: + type: string + code: + type: integer + format: int32 + message: + type: string + details: + type: array + items: + type: object + properties: + type_url: + type: string + description: >- + A URL/resource name that uniquely identifies the type of the serialized + + protocol buffer message. This string must contain at least + + one "/" character. The last segment of the URL's path must represent + + the fully qualified name of the type (as in + + `path/google.protobuf.Duration`). The name should be in a canonical form + + (e.g., leading "." is not accepted). + + + In practice, teams usually precompile into the binary all types that they + + expect it to use in the context of Any. However, for URLs which use the + + scheme `http`, `https`, or no scheme, one can optionally set up a type + + server that maps type URLs to message definitions as follows: + + + * If no scheme is provided, `https` is assumed. + + * An HTTP GET on the URL must yield a [google.protobuf.Type][] + + value in binary format, or produce an error. + * Applications are allowed to cache lookup results based on the + + URL, or have them precompiled into a binary to avoid any + lookup. Therefore, binary compatibility needs to be preserved + on changes to types. (Use versioned type names to manage + breaking changes.) + + Note: this functionality is not currently available in the official + + protobuf release, and it is not used for type URLs beginning with + + type.googleapis.com. + + + Schemes other than `http`, `https` (or the empty scheme) might be + + used with implementation specific semantics. + value: + type: string + format: byte + description: Must be a valid serialized protocol buffer of the above specified type. + description: >- + `Any` contains an arbitrary serialized protocol buffer message along with a + + URL that describes the type of the serialized message. + + + Protobuf library provides support to pack/unpack Any values in the form + + of utility functions or additional generated methods of the Any type. + + + Example 1: Pack and unpack a message in C++. + + + Foo foo = ...; + Any any; + any.PackFrom(foo); + ... + if (any.UnpackTo(&foo)) { + ... + } + + Example 2: Pack and unpack a message in Java. + + + Foo foo = ...; + Any any = Any.pack(foo); + ... + if (any.is(Foo.class)) { + foo = any.unpack(Foo.class); + } + + Example 3: Pack and unpack a message in Python. + + foo = Foo(...) + any = Any() + any.Pack(foo) + ... + if any.Is(Foo.DESCRIPTOR): + any.Unpack(foo) + ... + + Example 4: Pack and unpack a message in Go + + foo := &pb.Foo{...} + any, err := ptypes.MarshalAny(foo) + ... + foo := &pb.Foo{} + if err := ptypes.UnmarshalAny(any, foo); err != nil { + ... + } + + The pack methods provided by protobuf library will by default use + + 'type.googleapis.com/full.type.name' as the type URL and the unpack + + methods only use the fully qualified type name after the last '/' + + in the type URL, for example "foo.bar.com/x/y.z" will yield type + + name "y.z". + + + + JSON + + ==== + + The JSON representation of an `Any` value uses the regular + + representation of the deserialized, embedded message, with an + + additional field `@type` which contains the type URL. Example: + + + package google.profile; + message Person { + string first_name = 1; + string last_name = 2; + } + + { + "@type": "type.googleapis.com/google.profile.Person", + "firstName": , + "lastName": + } + + If the embedded message type is well-known and has a custom JSON + + representation, that representation will be embedded adding a field + + `value` which holds the custom JSON in addition to the `@type` + + field. Example (for message [google.protobuf.Duration][]): + + + { + "@type": "type.googleapis.com/google.protobuf.Duration", + "value": "1.212s" + } + parameters: + - name: granter + in: path + required: true + schema: + type: string + - name: pagination.key + description: |- + key is a value returned in PageResponse.next_key to begin + querying the next page most efficiently. Only one of offset or key + should be set. + in: query + required: false + schema: + type: string + format: byte + - name: pagination.offset + description: >- + offset is a numeric offset that can be used when key is unavailable. + + It is less efficient than using key. Only one of offset or key should + + be set. + in: query + required: false + schema: + type: string + format: uint64 + - name: pagination.limit + description: >- + limit is the total number of results to be returned in the result page. + + If left empty it will default to a value to be set by each app. + in: query + required: false + schema: + type: string + format: uint64 + - name: pagination.count_total + description: >- + count_total is set to true to indicate that the result set should include + + a count of the total number of items available for pagination in UIs. + + count_total is only respected when offset is used. It is ignored when key + + is set. + in: query + required: false + schema: + type: boolean + - name: pagination.reverse + description: >- + reverse is set to true if results are to be returned in the descending + + order. + in: query + required: false + schema: + type: boolean + tags: + - Query + "/cosmos/gov/v1beta1/params/{params_type}": + get: + summary: Params queries all parameters of the gov module. + operationId: GovParams + responses: + "200": + description: A successful response. + content: + "*/*": + schema: + type: object + properties: + voting_params: + description: voting_params defines the parameters related to voting. + type: object + properties: + voting_period: + type: string + description: Length of the voting period. + deposit_params: + description: deposit_params defines the parameters related to deposit. + type: object + properties: + min_deposit: + type: array + items: + type: object + properties: + denom: + type: string + amount: + type: string + description: >- + Coin defines a token with a denomination and an amount. + + + NOTE: The amount field is an Int which implements the custom method + + signatures required by gogoproto. + description: Minimum deposit for a proposal to enter voting period. + max_deposit_period: + type: string + description: >- + Maximum period for Atom holders to deposit on a proposal. Initial value: 2 + + months. + tally_params: + description: tally_params defines the parameters related to tally. + type: object + properties: + quorum: + type: string + format: byte + description: >- + Minimum percentage of total stake needed to vote for a result to be + + considered valid. + threshold: + type: string + format: byte + description: "Minimum proportion of Yes votes for proposal to pass. Default value: 0.5." + veto_threshold: + type: string + format: byte + description: >- + Minimum value of Veto votes to Total votes ratio for proposal to be + + vetoed. Default value: 1/3. + description: QueryParamsResponse is the response type for the Query/Params RPC method. + default: + description: An unexpected error response. + content: + "*/*": + schema: + type: object + properties: + error: + type: string + code: + type: integer + format: int32 + message: + type: string + details: + type: array + items: + type: object + properties: + type_url: + type: string + description: >- + A URL/resource name that uniquely identifies the type of the serialized + + protocol buffer message. This string must contain at least + + one "/" character. The last segment of the URL's path must represent + + the fully qualified name of the type (as in + + `path/google.protobuf.Duration`). The name should be in a canonical form + + (e.g., leading "." is not accepted). + + + In practice, teams usually precompile into the binary all types that they + + expect it to use in the context of Any. However, for URLs which use the + + scheme `http`, `https`, or no scheme, one can optionally set up a type + + server that maps type URLs to message definitions as follows: + + + * If no scheme is provided, `https` is assumed. + + * An HTTP GET on the URL must yield a [google.protobuf.Type][] + + value in binary format, or produce an error. + * Applications are allowed to cache lookup results based on the + + URL, or have them precompiled into a binary to avoid any + lookup. Therefore, binary compatibility needs to be preserved + on changes to types. (Use versioned type names to manage + breaking changes.) + + Note: this functionality is not currently available in the official + + protobuf release, and it is not used for type URLs beginning with + + type.googleapis.com. + + + Schemes other than `http`, `https` (or the empty scheme) might be + + used with implementation specific semantics. + value: + type: string + format: byte + description: Must be a valid serialized protocol buffer of the above specified type. + description: >- + `Any` contains an arbitrary serialized protocol buffer message along with a + + URL that describes the type of the serialized message. + + + Protobuf library provides support to pack/unpack Any values in the form + + of utility functions or additional generated methods of the Any type. + + + Example 1: Pack and unpack a message in C++. + + + Foo foo = ...; + Any any; + any.PackFrom(foo); + ... + if (any.UnpackTo(&foo)) { + ... + } + + Example 2: Pack and unpack a message in Java. + + + Foo foo = ...; + Any any = Any.pack(foo); + ... + if (any.is(Foo.class)) { + foo = any.unpack(Foo.class); + } + + Example 3: Pack and unpack a message in Python. + + foo = Foo(...) + any = Any() + any.Pack(foo) + ... + if any.Is(Foo.DESCRIPTOR): + any.Unpack(foo) + ... + + Example 4: Pack and unpack a message in Go + + foo := &pb.Foo{...} + any, err := ptypes.MarshalAny(foo) + ... + foo := &pb.Foo{} + if err := ptypes.UnmarshalAny(any, foo); err != nil { + ... + } + + The pack methods provided by protobuf library will by default use + + 'type.googleapis.com/full.type.name' as the type URL and the unpack + + methods only use the fully qualified type name after the last '/' + + in the type URL, for example "foo.bar.com/x/y.z" will yield type + + name "y.z". + + + + JSON + + ==== + + The JSON representation of an `Any` value uses the regular + + representation of the deserialized, embedded message, with an + + additional field `@type` which contains the type URL. Example: + + + package google.profile; + message Person { + string first_name = 1; + string last_name = 2; + } + + { + "@type": "type.googleapis.com/google.profile.Person", + "firstName": , + "lastName": + } + + If the embedded message type is well-known and has a custom JSON + + representation, that representation will be embedded adding a field + + `value` which holds the custom JSON in addition to the `@type` + + field. Example (for message [google.protobuf.Duration][]): + + + { + "@type": "type.googleapis.com/google.protobuf.Duration", + "value": "1.212s" + } + parameters: + - name: params_type + description: >- + params_type defines which parameters to query for, can be one of "voting", + + "tallying" or "deposit". + in: path + required: true + schema: + type: string + tags: + - Query + /cosmos/gov/v1beta1/proposals: + get: + summary: Proposals queries all proposals based on given status. + operationId: Proposals + responses: + "200": + description: A successful response. + content: + "*/*": + schema: + type: object + properties: + proposals: + type: array + items: + type: object + properties: + proposal_id: + type: string + format: uint64 + content: + type: object + properties: + type_url: + type: string + description: >- + A URL/resource name that uniquely identifies the type of the serialized + + protocol buffer message. This string must contain at least + + one "/" character. The last segment of the URL's path must represent + + the fully qualified name of the type (as in + + `path/google.protobuf.Duration`). The name should be in a canonical form + + (e.g., leading "." is not accepted). + + + In practice, teams usually precompile into the binary all types that they + + expect it to use in the context of Any. However, for URLs which use the + + scheme `http`, `https`, or no scheme, one can optionally set up a type + + server that maps type URLs to message definitions as follows: + + + * If no scheme is provided, `https` is assumed. + + * An HTTP GET on the URL must yield a [google.protobuf.Type][] + + value in binary format, or produce an error. + * Applications are allowed to cache lookup results based on the + + URL, or have them precompiled into a binary to avoid any + lookup. Therefore, binary compatibility needs to be preserved + on changes to types. (Use versioned type names to manage + breaking changes.) + + Note: this functionality is not currently available in the official + + protobuf release, and it is not used for type URLs beginning with + + type.googleapis.com. + + + Schemes other than `http`, `https` (or the empty scheme) might be + + used with implementation specific semantics. + value: + type: string + format: byte + description: Must be a valid serialized protocol buffer of the above specified type. + description: >- + `Any` contains an arbitrary serialized protocol buffer message along with a + + URL that describes the type of the serialized message. + + + Protobuf library provides support to pack/unpack Any values in the form + + of utility functions or additional generated methods of the Any type. + + + Example 1: Pack and unpack a message in C++. + + + Foo foo = ...; + Any any; + any.PackFrom(foo); + ... + if (any.UnpackTo(&foo)) { + ... + } + + Example 2: Pack and unpack a message in Java. + + + Foo foo = ...; + Any any = Any.pack(foo); + ... + if (any.is(Foo.class)) { + foo = any.unpack(Foo.class); + } + + Example 3: Pack and unpack a message in Python. + + foo = Foo(...) + any = Any() + any.Pack(foo) + ... + if any.Is(Foo.DESCRIPTOR): + any.Unpack(foo) + ... + + Example 4: Pack and unpack a message in Go + + foo := &pb.Foo{...} + any, err := ptypes.MarshalAny(foo) + ... + foo := &pb.Foo{} + if err := ptypes.UnmarshalAny(any, foo); err != nil { + ... + } + + The pack methods provided by protobuf library will by default use + + 'type.googleapis.com/full.type.name' as the type URL and the unpack + + methods only use the fully qualified type name after the last '/' + + in the type URL, for example "foo.bar.com/x/y.z" will yield type + + name "y.z". + + + + JSON + + ==== + + The JSON representation of an `Any` value uses the regular + + representation of the deserialized, embedded message, with an + + additional field `@type` which contains the type URL. Example: + + + package google.profile; + message Person { + string first_name = 1; + string last_name = 2; + } + + { + "@type": "type.googleapis.com/google.profile.Person", + "firstName": , + "lastName": + } + + If the embedded message type is well-known and has a custom JSON + + representation, that representation will be embedded adding a field + + `value` which holds the custom JSON in addition to the `@type` + + field. Example (for message [google.protobuf.Duration][]): + + + { + "@type": "type.googleapis.com/google.protobuf.Duration", + "value": "1.212s" + } + status: + type: string + enum: + - PROPOSAL_STATUS_UNSPECIFIED + - PROPOSAL_STATUS_DEPOSIT_PERIOD + - PROPOSAL_STATUS_VOTING_PERIOD + - PROPOSAL_STATUS_PASSED + - PROPOSAL_STATUS_REJECTED + - PROPOSAL_STATUS_FAILED + default: PROPOSAL_STATUS_UNSPECIFIED + description: >- + ProposalStatus enumerates the valid statuses of a proposal. + + + - PROPOSAL_STATUS_UNSPECIFIED: PROPOSAL_STATUS_UNSPECIFIED defines the default propopsal status. + - PROPOSAL_STATUS_DEPOSIT_PERIOD: PROPOSAL_STATUS_DEPOSIT_PERIOD defines a proposal status during the deposit + period. + + - PROPOSAL_STATUS_VOTING_PERIOD: PROPOSAL_STATUS_VOTING_PERIOD defines a proposal status during the voting + period. + + - PROPOSAL_STATUS_PASSED: PROPOSAL_STATUS_PASSED defines a proposal status of a proposal that has + passed. + + - PROPOSAL_STATUS_REJECTED: PROPOSAL_STATUS_REJECTED defines a proposal status of a proposal that has + been rejected. + + - PROPOSAL_STATUS_FAILED: PROPOSAL_STATUS_FAILED defines a proposal status of a proposal that has + failed. + final_tally_result: + type: object + properties: + yes: + type: string + abstain: + type: string + no: + type: string + no_with_veto: + type: string + description: TallyResult defines a standard tally for a governance proposal. + submit_time: + type: string + format: date-time + deposit_end_time: + type: string + format: date-time + total_deposit: + type: array + items: + type: object + properties: + denom: + type: string + amount: + type: string + description: >- + Coin defines a token with a denomination and an amount. + + + NOTE: The amount field is an Int which implements the custom method + + signatures required by gogoproto. + voting_start_time: + type: string + format: date-time + voting_end_time: + type: string + format: date-time + description: Proposal defines the core field members of a governance proposal. + pagination: + description: pagination defines the pagination in the response. + type: object + properties: + next_key: + type: string + format: byte + title: |- + next_key is the key to be passed to PageRequest.key to + query the next page most efficiently + total: + type: string + format: uint64 + title: >- + total is total number of results available if PageRequest.count_total + + was set, its value is undefined otherwise + description: >- + QueryProposalsResponse is the response type for the Query/Proposals RPC + + method. + default: + description: An unexpected error response. + content: + "*/*": + schema: + type: object + properties: + error: + type: string + code: + type: integer + format: int32 + message: + type: string + details: + type: array + items: + type: object + properties: + type_url: + type: string + description: >- + A URL/resource name that uniquely identifies the type of the serialized + + protocol buffer message. This string must contain at least + + one "/" character. The last segment of the URL's path must represent + + the fully qualified name of the type (as in + + `path/google.protobuf.Duration`). The name should be in a canonical form + + (e.g., leading "." is not accepted). + + + In practice, teams usually precompile into the binary all types that they + + expect it to use in the context of Any. However, for URLs which use the + + scheme `http`, `https`, or no scheme, one can optionally set up a type + + server that maps type URLs to message definitions as follows: + + + * If no scheme is provided, `https` is assumed. + + * An HTTP GET on the URL must yield a [google.protobuf.Type][] + + value in binary format, or produce an error. + * Applications are allowed to cache lookup results based on the + + URL, or have them precompiled into a binary to avoid any + lookup. Therefore, binary compatibility needs to be preserved + on changes to types. (Use versioned type names to manage + breaking changes.) + + Note: this functionality is not currently available in the official + + protobuf release, and it is not used for type URLs beginning with + + type.googleapis.com. + + + Schemes other than `http`, `https` (or the empty scheme) might be + + used with implementation specific semantics. + value: + type: string + format: byte + description: Must be a valid serialized protocol buffer of the above specified type. + description: >- + `Any` contains an arbitrary serialized protocol buffer message along with a + + URL that describes the type of the serialized message. + + + Protobuf library provides support to pack/unpack Any values in the form + + of utility functions or additional generated methods of the Any type. + + + Example 1: Pack and unpack a message in C++. + + + Foo foo = ...; + Any any; + any.PackFrom(foo); + ... + if (any.UnpackTo(&foo)) { + ... + } + + Example 2: Pack and unpack a message in Java. + + + Foo foo = ...; + Any any = Any.pack(foo); + ... + if (any.is(Foo.class)) { + foo = any.unpack(Foo.class); + } + + Example 3: Pack and unpack a message in Python. + + foo = Foo(...) + any = Any() + any.Pack(foo) + ... + if any.Is(Foo.DESCRIPTOR): + any.Unpack(foo) + ... + + Example 4: Pack and unpack a message in Go + + foo := &pb.Foo{...} + any, err := ptypes.MarshalAny(foo) + ... + foo := &pb.Foo{} + if err := ptypes.UnmarshalAny(any, foo); err != nil { + ... + } + + The pack methods provided by protobuf library will by default use + + 'type.googleapis.com/full.type.name' as the type URL and the unpack + + methods only use the fully qualified type name after the last '/' + + in the type URL, for example "foo.bar.com/x/y.z" will yield type + + name "y.z". + + + + JSON + + ==== + + The JSON representation of an `Any` value uses the regular + + representation of the deserialized, embedded message, with an + + additional field `@type` which contains the type URL. Example: + + + package google.profile; + message Person { + string first_name = 1; + string last_name = 2; + } + + { + "@type": "type.googleapis.com/google.profile.Person", + "firstName": , + "lastName": + } + + If the embedded message type is well-known and has a custom JSON + + representation, that representation will be embedded adding a field + + `value` which holds the custom JSON in addition to the `@type` + + field. Example (for message [google.protobuf.Duration][]): + + + { + "@type": "type.googleapis.com/google.protobuf.Duration", + "value": "1.212s" + } + parameters: + - name: proposal_status + description: >- + proposal_status defines the status of the proposals. + + + - PROPOSAL_STATUS_UNSPECIFIED: PROPOSAL_STATUS_UNSPECIFIED defines the default propopsal status. + - PROPOSAL_STATUS_DEPOSIT_PERIOD: PROPOSAL_STATUS_DEPOSIT_PERIOD defines a proposal status during the deposit + period. + + - PROPOSAL_STATUS_VOTING_PERIOD: PROPOSAL_STATUS_VOTING_PERIOD defines a proposal status during the voting + period. + + - PROPOSAL_STATUS_PASSED: PROPOSAL_STATUS_PASSED defines a proposal status of a proposal that has + passed. + + - PROPOSAL_STATUS_REJECTED: PROPOSAL_STATUS_REJECTED defines a proposal status of a proposal that has + been rejected. + + - PROPOSAL_STATUS_FAILED: PROPOSAL_STATUS_FAILED defines a proposal status of a proposal that has + failed. + in: query + required: false + schema: + type: string + enum: + - PROPOSAL_STATUS_UNSPECIFIED + - PROPOSAL_STATUS_DEPOSIT_PERIOD + - PROPOSAL_STATUS_VOTING_PERIOD + - PROPOSAL_STATUS_PASSED + - PROPOSAL_STATUS_REJECTED + - PROPOSAL_STATUS_FAILED + default: PROPOSAL_STATUS_UNSPECIFIED + - name: voter + description: voter defines the voter address for the proposals. + in: query + required: false + schema: + type: string + - name: depositor + description: depositor defines the deposit addresses from the proposals. + in: query + required: false + schema: + type: string + - name: pagination.key + description: |- + key is a value returned in PageResponse.next_key to begin + querying the next page most efficiently. Only one of offset or key + should be set. + in: query + required: false + schema: + type: string + format: byte + - name: pagination.offset + description: >- + offset is a numeric offset that can be used when key is unavailable. + + It is less efficient than using key. Only one of offset or key should + + be set. + in: query + required: false + schema: + type: string + format: uint64 + - name: pagination.limit + description: >- + limit is the total number of results to be returned in the result page. + + If left empty it will default to a value to be set by each app. + in: query + required: false + schema: + type: string + format: uint64 + - name: pagination.count_total + description: >- + count_total is set to true to indicate that the result set should include + + a count of the total number of items available for pagination in UIs. + + count_total is only respected when offset is used. It is ignored when key + + is set. + in: query + required: false + schema: + type: boolean + - name: pagination.reverse + description: >- + reverse is set to true if results are to be returned in the descending + + order. + in: query + required: false + schema: + type: boolean + tags: + - Query + "/cosmos/gov/v1beta1/proposals/{proposal_id}": + get: + summary: Proposal queries proposal details based on ProposalID. + operationId: Proposal + responses: + "200": + description: A successful response. + content: + "*/*": + schema: + type: object + properties: + proposal: + type: object + properties: + proposal_id: + type: string + format: uint64 + content: + type: object + properties: + type_url: + type: string + description: >- + A URL/resource name that uniquely identifies the type of the serialized + + protocol buffer message. This string must contain at least + + one "/" character. The last segment of the URL's path must represent + + the fully qualified name of the type (as in + + `path/google.protobuf.Duration`). The name should be in a canonical form + + (e.g., leading "." is not accepted). + + + In practice, teams usually precompile into the binary all types that they + + expect it to use in the context of Any. However, for URLs which use the + + scheme `http`, `https`, or no scheme, one can optionally set up a type + + server that maps type URLs to message definitions as follows: + + + * If no scheme is provided, `https` is assumed. + + * An HTTP GET on the URL must yield a [google.protobuf.Type][] + + value in binary format, or produce an error. + * Applications are allowed to cache lookup results based on the + + URL, or have them precompiled into a binary to avoid any + lookup. Therefore, binary compatibility needs to be preserved + on changes to types. (Use versioned type names to manage + breaking changes.) + + Note: this functionality is not currently available in the official + + protobuf release, and it is not used for type URLs beginning with + + type.googleapis.com. + + + Schemes other than `http`, `https` (or the empty scheme) might be + + used with implementation specific semantics. + value: + type: string + format: byte + description: Must be a valid serialized protocol buffer of the above specified type. + description: >- + `Any` contains an arbitrary serialized protocol buffer message along with a + + URL that describes the type of the serialized message. + + + Protobuf library provides support to pack/unpack Any values in the form + + of utility functions or additional generated methods of the Any type. + + + Example 1: Pack and unpack a message in C++. + + + Foo foo = ...; + Any any; + any.PackFrom(foo); + ... + if (any.UnpackTo(&foo)) { + ... + } + + Example 2: Pack and unpack a message in Java. + + + Foo foo = ...; + Any any = Any.pack(foo); + ... + if (any.is(Foo.class)) { + foo = any.unpack(Foo.class); + } + + Example 3: Pack and unpack a message in Python. + + foo = Foo(...) + any = Any() + any.Pack(foo) + ... + if any.Is(Foo.DESCRIPTOR): + any.Unpack(foo) + ... + + Example 4: Pack and unpack a message in Go + + foo := &pb.Foo{...} + any, err := ptypes.MarshalAny(foo) + ... + foo := &pb.Foo{} + if err := ptypes.UnmarshalAny(any, foo); err != nil { + ... + } + + The pack methods provided by protobuf library will by default use + + 'type.googleapis.com/full.type.name' as the type URL and the unpack + + methods only use the fully qualified type name after the last '/' + + in the type URL, for example "foo.bar.com/x/y.z" will yield type + + name "y.z". + + + + JSON + + ==== + + The JSON representation of an `Any` value uses the regular + + representation of the deserialized, embedded message, with an + + additional field `@type` which contains the type URL. Example: + + + package google.profile; + message Person { + string first_name = 1; + string last_name = 2; + } + + { + "@type": "type.googleapis.com/google.profile.Person", + "firstName": , + "lastName": + } + + If the embedded message type is well-known and has a custom JSON + + representation, that representation will be embedded adding a field + + `value` which holds the custom JSON in addition to the `@type` + + field. Example (for message [google.protobuf.Duration][]): + + + { + "@type": "type.googleapis.com/google.protobuf.Duration", + "value": "1.212s" + } + status: + type: string + enum: + - PROPOSAL_STATUS_UNSPECIFIED + - PROPOSAL_STATUS_DEPOSIT_PERIOD + - PROPOSAL_STATUS_VOTING_PERIOD + - PROPOSAL_STATUS_PASSED + - PROPOSAL_STATUS_REJECTED + - PROPOSAL_STATUS_FAILED + default: PROPOSAL_STATUS_UNSPECIFIED + description: >- + ProposalStatus enumerates the valid statuses of a proposal. + + + - PROPOSAL_STATUS_UNSPECIFIED: PROPOSAL_STATUS_UNSPECIFIED defines the default propopsal status. + - PROPOSAL_STATUS_DEPOSIT_PERIOD: PROPOSAL_STATUS_DEPOSIT_PERIOD defines a proposal status during the deposit + period. + + - PROPOSAL_STATUS_VOTING_PERIOD: PROPOSAL_STATUS_VOTING_PERIOD defines a proposal status during the voting + period. + + - PROPOSAL_STATUS_PASSED: PROPOSAL_STATUS_PASSED defines a proposal status of a proposal that has + passed. + + - PROPOSAL_STATUS_REJECTED: PROPOSAL_STATUS_REJECTED defines a proposal status of a proposal that has + been rejected. + + - PROPOSAL_STATUS_FAILED: PROPOSAL_STATUS_FAILED defines a proposal status of a proposal that has + failed. + final_tally_result: + type: object + properties: + yes: + type: string + abstain: + type: string + no: + type: string + no_with_veto: + type: string + description: TallyResult defines a standard tally for a governance proposal. + submit_time: + type: string + format: date-time + deposit_end_time: + type: string + format: date-time + total_deposit: + type: array + items: + type: object + properties: + denom: + type: string + amount: + type: string + description: >- + Coin defines a token with a denomination and an amount. + + + NOTE: The amount field is an Int which implements the custom method + + signatures required by gogoproto. + voting_start_time: + type: string + format: date-time + voting_end_time: + type: string + format: date-time + description: Proposal defines the core field members of a governance proposal. + description: QueryProposalResponse is the response type for the Query/Proposal RPC method. + default: + description: An unexpected error response. + content: + "*/*": + schema: + type: object + properties: + error: + type: string + code: + type: integer + format: int32 + message: + type: string + details: + type: array + items: + type: object + properties: + type_url: + type: string + description: >- + A URL/resource name that uniquely identifies the type of the serialized + + protocol buffer message. This string must contain at least + + one "/" character. The last segment of the URL's path must represent + + the fully qualified name of the type (as in + + `path/google.protobuf.Duration`). The name should be in a canonical form + + (e.g., leading "." is not accepted). + + + In practice, teams usually precompile into the binary all types that they + + expect it to use in the context of Any. However, for URLs which use the + + scheme `http`, `https`, or no scheme, one can optionally set up a type + + server that maps type URLs to message definitions as follows: + + + * If no scheme is provided, `https` is assumed. + + * An HTTP GET on the URL must yield a [google.protobuf.Type][] + + value in binary format, or produce an error. + * Applications are allowed to cache lookup results based on the + + URL, or have them precompiled into a binary to avoid any + lookup. Therefore, binary compatibility needs to be preserved + on changes to types. (Use versioned type names to manage + breaking changes.) + + Note: this functionality is not currently available in the official + + protobuf release, and it is not used for type URLs beginning with + + type.googleapis.com. + + + Schemes other than `http`, `https` (or the empty scheme) might be + + used with implementation specific semantics. + value: + type: string + format: byte + description: Must be a valid serialized protocol buffer of the above specified type. + description: >- + `Any` contains an arbitrary serialized protocol buffer message along with a + + URL that describes the type of the serialized message. + + + Protobuf library provides support to pack/unpack Any values in the form + + of utility functions or additional generated methods of the Any type. + + + Example 1: Pack and unpack a message in C++. + + + Foo foo = ...; + Any any; + any.PackFrom(foo); + ... + if (any.UnpackTo(&foo)) { + ... + } + + Example 2: Pack and unpack a message in Java. + + + Foo foo = ...; + Any any = Any.pack(foo); + ... + if (any.is(Foo.class)) { + foo = any.unpack(Foo.class); + } + + Example 3: Pack and unpack a message in Python. + + foo = Foo(...) + any = Any() + any.Pack(foo) + ... + if any.Is(Foo.DESCRIPTOR): + any.Unpack(foo) + ... + + Example 4: Pack and unpack a message in Go + + foo := &pb.Foo{...} + any, err := ptypes.MarshalAny(foo) + ... + foo := &pb.Foo{} + if err := ptypes.UnmarshalAny(any, foo); err != nil { + ... + } + + The pack methods provided by protobuf library will by default use + + 'type.googleapis.com/full.type.name' as the type URL and the unpack + + methods only use the fully qualified type name after the last '/' + + in the type URL, for example "foo.bar.com/x/y.z" will yield type + + name "y.z". + + + + JSON + + ==== + + The JSON representation of an `Any` value uses the regular + + representation of the deserialized, embedded message, with an + + additional field `@type` which contains the type URL. Example: + + + package google.profile; + message Person { + string first_name = 1; + string last_name = 2; + } + + { + "@type": "type.googleapis.com/google.profile.Person", + "firstName": , + "lastName": + } + + If the embedded message type is well-known and has a custom JSON + + representation, that representation will be embedded adding a field + + `value` which holds the custom JSON in addition to the `@type` + + field. Example (for message [google.protobuf.Duration][]): + + + { + "@type": "type.googleapis.com/google.protobuf.Duration", + "value": "1.212s" + } + parameters: + - name: proposal_id + description: proposal_id defines the unique id of the proposal. + in: path + required: true + schema: + type: string + format: uint64 + tags: + - Query + "/cosmos/gov/v1beta1/proposals/{proposal_id}/deposits": + get: + summary: Deposits queries all deposits of a single proposal. + operationId: Deposits + responses: + "200": + description: A successful response. + content: + "*/*": + schema: + type: object + properties: + deposits: + type: array + items: + type: object + properties: + proposal_id: + type: string + format: uint64 + depositor: + type: string + amount: + type: array + items: + type: object + properties: + denom: + type: string + amount: + type: string + description: >- + Coin defines a token with a denomination and an amount. + + + NOTE: The amount field is an Int which implements the custom method + + signatures required by gogoproto. + description: >- + Deposit defines an amount deposited by an account address to an active + + proposal. + pagination: + description: pagination defines the pagination in the response. + type: object + properties: + next_key: + type: string + format: byte + title: |- + next_key is the key to be passed to PageRequest.key to + query the next page most efficiently + total: + type: string + format: uint64 + title: >- + total is total number of results available if PageRequest.count_total + + was set, its value is undefined otherwise + description: QueryDepositsResponse is the response type for the Query/Deposits RPC method. + default: + description: An unexpected error response. + content: + "*/*": + schema: + type: object + properties: + error: + type: string + code: + type: integer + format: int32 + message: + type: string + details: + type: array + items: + type: object + properties: + type_url: + type: string + description: >- + A URL/resource name that uniquely identifies the type of the serialized + + protocol buffer message. This string must contain at least + + one "/" character. The last segment of the URL's path must represent + + the fully qualified name of the type (as in + + `path/google.protobuf.Duration`). The name should be in a canonical form + + (e.g., leading "." is not accepted). + + + In practice, teams usually precompile into the binary all types that they + + expect it to use in the context of Any. However, for URLs which use the + + scheme `http`, `https`, or no scheme, one can optionally set up a type + + server that maps type URLs to message definitions as follows: + + + * If no scheme is provided, `https` is assumed. + + * An HTTP GET on the URL must yield a [google.protobuf.Type][] + + value in binary format, or produce an error. + * Applications are allowed to cache lookup results based on the + + URL, or have them precompiled into a binary to avoid any + lookup. Therefore, binary compatibility needs to be preserved + on changes to types. (Use versioned type names to manage + breaking changes.) + + Note: this functionality is not currently available in the official + + protobuf release, and it is not used for type URLs beginning with + + type.googleapis.com. + + + Schemes other than `http`, `https` (or the empty scheme) might be + + used with implementation specific semantics. + value: + type: string + format: byte + description: Must be a valid serialized protocol buffer of the above specified type. + description: >- + `Any` contains an arbitrary serialized protocol buffer message along with a + + URL that describes the type of the serialized message. + + + Protobuf library provides support to pack/unpack Any values in the form + + of utility functions or additional generated methods of the Any type. + + + Example 1: Pack and unpack a message in C++. + + + Foo foo = ...; + Any any; + any.PackFrom(foo); + ... + if (any.UnpackTo(&foo)) { + ... + } + + Example 2: Pack and unpack a message in Java. + + + Foo foo = ...; + Any any = Any.pack(foo); + ... + if (any.is(Foo.class)) { + foo = any.unpack(Foo.class); + } + + Example 3: Pack and unpack a message in Python. + + foo = Foo(...) + any = Any() + any.Pack(foo) + ... + if any.Is(Foo.DESCRIPTOR): + any.Unpack(foo) + ... + + Example 4: Pack and unpack a message in Go + + foo := &pb.Foo{...} + any, err := ptypes.MarshalAny(foo) + ... + foo := &pb.Foo{} + if err := ptypes.UnmarshalAny(any, foo); err != nil { + ... + } + + The pack methods provided by protobuf library will by default use + + 'type.googleapis.com/full.type.name' as the type URL and the unpack + + methods only use the fully qualified type name after the last '/' + + in the type URL, for example "foo.bar.com/x/y.z" will yield type + + name "y.z". + + + + JSON + + ==== + + The JSON representation of an `Any` value uses the regular + + representation of the deserialized, embedded message, with an + + additional field `@type` which contains the type URL. Example: + + + package google.profile; + message Person { + string first_name = 1; + string last_name = 2; + } + + { + "@type": "type.googleapis.com/google.profile.Person", + "firstName": , + "lastName": + } + + If the embedded message type is well-known and has a custom JSON + + representation, that representation will be embedded adding a field + + `value` which holds the custom JSON in addition to the `@type` + + field. Example (for message [google.protobuf.Duration][]): + + + { + "@type": "type.googleapis.com/google.protobuf.Duration", + "value": "1.212s" + } + parameters: + - name: proposal_id + description: proposal_id defines the unique id of the proposal. + in: path + required: true + schema: + type: string + format: uint64 + - name: pagination.key + description: |- + key is a value returned in PageResponse.next_key to begin + querying the next page most efficiently. Only one of offset or key + should be set. + in: query + required: false + schema: + type: string + format: byte + - name: pagination.offset + description: >- + offset is a numeric offset that can be used when key is unavailable. + + It is less efficient than using key. Only one of offset or key should + + be set. + in: query + required: false + schema: + type: string + format: uint64 + - name: pagination.limit + description: >- + limit is the total number of results to be returned in the result page. + + If left empty it will default to a value to be set by each app. + in: query + required: false + schema: + type: string + format: uint64 + - name: pagination.count_total + description: >- + count_total is set to true to indicate that the result set should include + + a count of the total number of items available for pagination in UIs. + + count_total is only respected when offset is used. It is ignored when key + + is set. + in: query + required: false + schema: + type: boolean + - name: pagination.reverse + description: >- + reverse is set to true if results are to be returned in the descending + + order. + in: query + required: false + schema: + type: boolean + tags: + - Query + "/cosmos/gov/v1beta1/proposals/{proposal_id}/deposits/{depositor}": + get: + summary: Deposit queries single deposit information based proposalID, depositAddr. + operationId: Deposit + responses: + "200": + description: A successful response. + content: + "*/*": + schema: + type: object + properties: + deposit: + type: object + properties: + proposal_id: + type: string + format: uint64 + depositor: + type: string + amount: + type: array + items: + type: object + properties: + denom: + type: string + amount: + type: string + description: >- + Coin defines a token with a denomination and an amount. + + + NOTE: The amount field is an Int which implements the custom method + + signatures required by gogoproto. + description: >- + Deposit defines an amount deposited by an account address to an active + + proposal. + description: QueryDepositResponse is the response type for the Query/Deposit RPC method. + default: + description: An unexpected error response. + content: + "*/*": + schema: + type: object + properties: + error: + type: string + code: + type: integer + format: int32 + message: + type: string + details: + type: array + items: + type: object + properties: + type_url: + type: string + description: >- + A URL/resource name that uniquely identifies the type of the serialized + + protocol buffer message. This string must contain at least + + one "/" character. The last segment of the URL's path must represent + + the fully qualified name of the type (as in + + `path/google.protobuf.Duration`). The name should be in a canonical form + + (e.g., leading "." is not accepted). + + + In practice, teams usually precompile into the binary all types that they + + expect it to use in the context of Any. However, for URLs which use the + + scheme `http`, `https`, or no scheme, one can optionally set up a type + + server that maps type URLs to message definitions as follows: + + + * If no scheme is provided, `https` is assumed. + + * An HTTP GET on the URL must yield a [google.protobuf.Type][] + + value in binary format, or produce an error. + * Applications are allowed to cache lookup results based on the + + URL, or have them precompiled into a binary to avoid any + lookup. Therefore, binary compatibility needs to be preserved + on changes to types. (Use versioned type names to manage + breaking changes.) + + Note: this functionality is not currently available in the official + + protobuf release, and it is not used for type URLs beginning with + + type.googleapis.com. + + + Schemes other than `http`, `https` (or the empty scheme) might be + + used with implementation specific semantics. + value: + type: string + format: byte + description: Must be a valid serialized protocol buffer of the above specified type. + description: >- + `Any` contains an arbitrary serialized protocol buffer message along with a + + URL that describes the type of the serialized message. + + + Protobuf library provides support to pack/unpack Any values in the form + + of utility functions or additional generated methods of the Any type. + + + Example 1: Pack and unpack a message in C++. + + + Foo foo = ...; + Any any; + any.PackFrom(foo); + ... + if (any.UnpackTo(&foo)) { + ... + } + + Example 2: Pack and unpack a message in Java. + + + Foo foo = ...; + Any any = Any.pack(foo); + ... + if (any.is(Foo.class)) { + foo = any.unpack(Foo.class); + } + + Example 3: Pack and unpack a message in Python. + + foo = Foo(...) + any = Any() + any.Pack(foo) + ... + if any.Is(Foo.DESCRIPTOR): + any.Unpack(foo) + ... + + Example 4: Pack and unpack a message in Go + + foo := &pb.Foo{...} + any, err := ptypes.MarshalAny(foo) + ... + foo := &pb.Foo{} + if err := ptypes.UnmarshalAny(any, foo); err != nil { + ... + } + + The pack methods provided by protobuf library will by default use + + 'type.googleapis.com/full.type.name' as the type URL and the unpack + + methods only use the fully qualified type name after the last '/' + + in the type URL, for example "foo.bar.com/x/y.z" will yield type + + name "y.z". + + + + JSON + + ==== + + The JSON representation of an `Any` value uses the regular + + representation of the deserialized, embedded message, with an + + additional field `@type` which contains the type URL. Example: + + + package google.profile; + message Person { + string first_name = 1; + string last_name = 2; + } + + { + "@type": "type.googleapis.com/google.profile.Person", + "firstName": , + "lastName": + } + + If the embedded message type is well-known and has a custom JSON + + representation, that representation will be embedded adding a field + + `value` which holds the custom JSON in addition to the `@type` + + field. Example (for message [google.protobuf.Duration][]): + + + { + "@type": "type.googleapis.com/google.protobuf.Duration", + "value": "1.212s" + } + parameters: + - name: proposal_id + description: proposal_id defines the unique id of the proposal. + in: path + required: true + schema: + type: string + format: uint64 + - name: depositor + description: depositor defines the deposit addresses from the proposals. + in: path + required: true + schema: + type: string + tags: + - Query + "/cosmos/gov/v1beta1/proposals/{proposal_id}/tally": + get: + summary: TallyResult queries the tally of a proposal vote. + operationId: TallyResult + responses: + "200": + description: A successful response. + content: + "*/*": + schema: + type: object + properties: + tally: + type: object + properties: + yes: + type: string + abstain: + type: string + no: + type: string + no_with_veto: + type: string + description: TallyResult defines a standard tally for a governance proposal. + description: QueryTallyResultResponse is the response type for the Query/Tally RPC method. + default: + description: An unexpected error response. + content: + "*/*": + schema: + type: object + properties: + error: + type: string + code: + type: integer + format: int32 + message: + type: string + details: + type: array + items: + type: object + properties: + type_url: + type: string + description: >- + A URL/resource name that uniquely identifies the type of the serialized + + protocol buffer message. This string must contain at least + + one "/" character. The last segment of the URL's path must represent + + the fully qualified name of the type (as in + + `path/google.protobuf.Duration`). The name should be in a canonical form + + (e.g., leading "." is not accepted). + + + In practice, teams usually precompile into the binary all types that they + + expect it to use in the context of Any. However, for URLs which use the + + scheme `http`, `https`, or no scheme, one can optionally set up a type + + server that maps type URLs to message definitions as follows: + + + * If no scheme is provided, `https` is assumed. + + * An HTTP GET on the URL must yield a [google.protobuf.Type][] + + value in binary format, or produce an error. + * Applications are allowed to cache lookup results based on the + + URL, or have them precompiled into a binary to avoid any + lookup. Therefore, binary compatibility needs to be preserved + on changes to types. (Use versioned type names to manage + breaking changes.) + + Note: this functionality is not currently available in the official + + protobuf release, and it is not used for type URLs beginning with + + type.googleapis.com. + + + Schemes other than `http`, `https` (or the empty scheme) might be + + used with implementation specific semantics. + value: + type: string + format: byte + description: Must be a valid serialized protocol buffer of the above specified type. + description: >- + `Any` contains an arbitrary serialized protocol buffer message along with a + + URL that describes the type of the serialized message. + + + Protobuf library provides support to pack/unpack Any values in the form + + of utility functions or additional generated methods of the Any type. + + + Example 1: Pack and unpack a message in C++. + + + Foo foo = ...; + Any any; + any.PackFrom(foo); + ... + if (any.UnpackTo(&foo)) { + ... + } + + Example 2: Pack and unpack a message in Java. + + + Foo foo = ...; + Any any = Any.pack(foo); + ... + if (any.is(Foo.class)) { + foo = any.unpack(Foo.class); + } + + Example 3: Pack and unpack a message in Python. + + foo = Foo(...) + any = Any() + any.Pack(foo) + ... + if any.Is(Foo.DESCRIPTOR): + any.Unpack(foo) + ... + + Example 4: Pack and unpack a message in Go + + foo := &pb.Foo{...} + any, err := ptypes.MarshalAny(foo) + ... + foo := &pb.Foo{} + if err := ptypes.UnmarshalAny(any, foo); err != nil { + ... + } + + The pack methods provided by protobuf library will by default use + + 'type.googleapis.com/full.type.name' as the type URL and the unpack + + methods only use the fully qualified type name after the last '/' + + in the type URL, for example "foo.bar.com/x/y.z" will yield type + + name "y.z". + + + + JSON + + ==== + + The JSON representation of an `Any` value uses the regular + + representation of the deserialized, embedded message, with an + + additional field `@type` which contains the type URL. Example: + + + package google.profile; + message Person { + string first_name = 1; + string last_name = 2; + } + + { + "@type": "type.googleapis.com/google.profile.Person", + "firstName": , + "lastName": + } + + If the embedded message type is well-known and has a custom JSON + + representation, that representation will be embedded adding a field + + `value` which holds the custom JSON in addition to the `@type` + + field. Example (for message [google.protobuf.Duration][]): + + + { + "@type": "type.googleapis.com/google.protobuf.Duration", + "value": "1.212s" + } + parameters: + - name: proposal_id + description: proposal_id defines the unique id of the proposal. + in: path + required: true + schema: + type: string + format: uint64 + tags: + - Query + "/cosmos/gov/v1beta1/proposals/{proposal_id}/votes": + get: + summary: Votes queries votes of a given proposal. + operationId: Votes + responses: + "200": + description: A successful response. + content: + "*/*": + schema: + type: object + properties: + votes: + type: array + items: + type: object + properties: + proposal_id: + type: string + format: uint64 + voter: + type: string + option: + description: >- + Deprecated: Prefer to use `options` instead. This field is set in queries + + if and only if `len(options) == 1` and that option has weight 1. In all + + other cases, this field will default to VOTE_OPTION_UNSPECIFIED. + type: string + enum: + - VOTE_OPTION_UNSPECIFIED + - VOTE_OPTION_YES + - VOTE_OPTION_ABSTAIN + - VOTE_OPTION_NO + - VOTE_OPTION_NO_WITH_VETO + default: VOTE_OPTION_UNSPECIFIED + options: + type: array + items: + type: object + properties: + option: + type: string + enum: + - VOTE_OPTION_UNSPECIFIED + - VOTE_OPTION_YES + - VOTE_OPTION_ABSTAIN + - VOTE_OPTION_NO + - VOTE_OPTION_NO_WITH_VETO + default: VOTE_OPTION_UNSPECIFIED + description: >- + VoteOption enumerates the valid vote options for a given governance proposal. + + + - VOTE_OPTION_UNSPECIFIED: VOTE_OPTION_UNSPECIFIED defines a no-op vote option. + - VOTE_OPTION_YES: VOTE_OPTION_YES defines a yes vote option. + - VOTE_OPTION_ABSTAIN: VOTE_OPTION_ABSTAIN defines an abstain vote option. + - VOTE_OPTION_NO: VOTE_OPTION_NO defines a no vote option. + - VOTE_OPTION_NO_WITH_VETO: VOTE_OPTION_NO_WITH_VETO defines a no with veto vote option. + weight: + type: string + description: >- + WeightedVoteOption defines a unit of vote for vote split. + + + Since: cosmos-sdk 0.43 + title: "Since: cosmos-sdk 0.43" + description: >- + Vote defines a vote on a governance proposal. + + A Vote consists of a proposal ID, the voter, and the vote option. + description: votes defined the queried votes. + pagination: + description: pagination defines the pagination in the response. + type: object + properties: + next_key: + type: string + format: byte + title: |- + next_key is the key to be passed to PageRequest.key to + query the next page most efficiently + total: + type: string + format: uint64 + title: >- + total is total number of results available if PageRequest.count_total + + was set, its value is undefined otherwise + description: QueryVotesResponse is the response type for the Query/Votes RPC method. + default: + description: An unexpected error response. + content: + "*/*": + schema: + type: object + properties: + error: + type: string + code: + type: integer + format: int32 + message: + type: string + details: + type: array + items: + type: object + properties: + type_url: + type: string + description: >- + A URL/resource name that uniquely identifies the type of the serialized + + protocol buffer message. This string must contain at least + + one "/" character. The last segment of the URL's path must represent + + the fully qualified name of the type (as in + + `path/google.protobuf.Duration`). The name should be in a canonical form + + (e.g., leading "." is not accepted). + + + In practice, teams usually precompile into the binary all types that they + + expect it to use in the context of Any. However, for URLs which use the + + scheme `http`, `https`, or no scheme, one can optionally set up a type + + server that maps type URLs to message definitions as follows: + + + * If no scheme is provided, `https` is assumed. + + * An HTTP GET on the URL must yield a [google.protobuf.Type][] + + value in binary format, or produce an error. + * Applications are allowed to cache lookup results based on the + + URL, or have them precompiled into a binary to avoid any + lookup. Therefore, binary compatibility needs to be preserved + on changes to types. (Use versioned type names to manage + breaking changes.) + + Note: this functionality is not currently available in the official + + protobuf release, and it is not used for type URLs beginning with + + type.googleapis.com. + + + Schemes other than `http`, `https` (or the empty scheme) might be + + used with implementation specific semantics. + value: + type: string + format: byte + description: Must be a valid serialized protocol buffer of the above specified type. + description: >- + `Any` contains an arbitrary serialized protocol buffer message along with a + + URL that describes the type of the serialized message. + + + Protobuf library provides support to pack/unpack Any values in the form + + of utility functions or additional generated methods of the Any type. + + + Example 1: Pack and unpack a message in C++. + + + Foo foo = ...; + Any any; + any.PackFrom(foo); + ... + if (any.UnpackTo(&foo)) { + ... + } + + Example 2: Pack and unpack a message in Java. + + + Foo foo = ...; + Any any = Any.pack(foo); + ... + if (any.is(Foo.class)) { + foo = any.unpack(Foo.class); + } + + Example 3: Pack and unpack a message in Python. + + foo = Foo(...) + any = Any() + any.Pack(foo) + ... + if any.Is(Foo.DESCRIPTOR): + any.Unpack(foo) + ... + + Example 4: Pack and unpack a message in Go + + foo := &pb.Foo{...} + any, err := ptypes.MarshalAny(foo) + ... + foo := &pb.Foo{} + if err := ptypes.UnmarshalAny(any, foo); err != nil { + ... + } + + The pack methods provided by protobuf library will by default use + + 'type.googleapis.com/full.type.name' as the type URL and the unpack + + methods only use the fully qualified type name after the last '/' + + in the type URL, for example "foo.bar.com/x/y.z" will yield type + + name "y.z". + + + + JSON + + ==== + + The JSON representation of an `Any` value uses the regular + + representation of the deserialized, embedded message, with an + + additional field `@type` which contains the type URL. Example: + + + package google.profile; + message Person { + string first_name = 1; + string last_name = 2; + } + + { + "@type": "type.googleapis.com/google.profile.Person", + "firstName": , + "lastName": + } + + If the embedded message type is well-known and has a custom JSON + + representation, that representation will be embedded adding a field + + `value` which holds the custom JSON in addition to the `@type` + + field. Example (for message [google.protobuf.Duration][]): + + + { + "@type": "type.googleapis.com/google.protobuf.Duration", + "value": "1.212s" + } + parameters: + - name: proposal_id + description: proposal_id defines the unique id of the proposal. + in: path + required: true + schema: + type: string + format: uint64 + - name: pagination.key + description: |- + key is a value returned in PageResponse.next_key to begin + querying the next page most efficiently. Only one of offset or key + should be set. + in: query + required: false + schema: + type: string + format: byte + - name: pagination.offset + description: >- + offset is a numeric offset that can be used when key is unavailable. + + It is less efficient than using key. Only one of offset or key should + + be set. + in: query + required: false + schema: + type: string + format: uint64 + - name: pagination.limit + description: >- + limit is the total number of results to be returned in the result page. + + If left empty it will default to a value to be set by each app. + in: query + required: false + schema: + type: string + format: uint64 + - name: pagination.count_total + description: >- + count_total is set to true to indicate that the result set should include + + a count of the total number of items available for pagination in UIs. + + count_total is only respected when offset is used. It is ignored when key + + is set. + in: query + required: false + schema: + type: boolean + - name: pagination.reverse + description: >- + reverse is set to true if results are to be returned in the descending + + order. + in: query + required: false + schema: + type: boolean + tags: + - Query + "/cosmos/gov/v1beta1/proposals/{proposal_id}/votes/{voter}": + get: + summary: Vote queries voted information based on proposalID, voterAddr. + operationId: Vote + responses: + "200": + description: A successful response. + content: + "*/*": + schema: + type: object + properties: + vote: + type: object + properties: + proposal_id: + type: string + format: uint64 + voter: + type: string + option: + description: >- + Deprecated: Prefer to use `options` instead. This field is set in queries + + if and only if `len(options) == 1` and that option has weight 1. In all + + other cases, this field will default to VOTE_OPTION_UNSPECIFIED. + type: string + enum: + - VOTE_OPTION_UNSPECIFIED + - VOTE_OPTION_YES + - VOTE_OPTION_ABSTAIN + - VOTE_OPTION_NO + - VOTE_OPTION_NO_WITH_VETO + default: VOTE_OPTION_UNSPECIFIED + options: + type: array + items: + type: object + properties: + option: + type: string + enum: + - VOTE_OPTION_UNSPECIFIED + - VOTE_OPTION_YES + - VOTE_OPTION_ABSTAIN + - VOTE_OPTION_NO + - VOTE_OPTION_NO_WITH_VETO + default: VOTE_OPTION_UNSPECIFIED + description: >- + VoteOption enumerates the valid vote options for a given governance proposal. + + + - VOTE_OPTION_UNSPECIFIED: VOTE_OPTION_UNSPECIFIED defines a no-op vote option. + - VOTE_OPTION_YES: VOTE_OPTION_YES defines a yes vote option. + - VOTE_OPTION_ABSTAIN: VOTE_OPTION_ABSTAIN defines an abstain vote option. + - VOTE_OPTION_NO: VOTE_OPTION_NO defines a no vote option. + - VOTE_OPTION_NO_WITH_VETO: VOTE_OPTION_NO_WITH_VETO defines a no with veto vote option. + weight: + type: string + description: >- + WeightedVoteOption defines a unit of vote for vote split. + + + Since: cosmos-sdk 0.43 + title: "Since: cosmos-sdk 0.43" + description: >- + Vote defines a vote on a governance proposal. + + A Vote consists of a proposal ID, the voter, and the vote option. + description: QueryVoteResponse is the response type for the Query/Vote RPC method. + default: + description: An unexpected error response. + content: + "*/*": + schema: + type: object + properties: + error: + type: string + code: + type: integer + format: int32 + message: + type: string + details: + type: array + items: + type: object + properties: + type_url: + type: string + description: >- + A URL/resource name that uniquely identifies the type of the serialized + + protocol buffer message. This string must contain at least + + one "/" character. The last segment of the URL's path must represent + + the fully qualified name of the type (as in + + `path/google.protobuf.Duration`). The name should be in a canonical form + + (e.g., leading "." is not accepted). + + + In practice, teams usually precompile into the binary all types that they + + expect it to use in the context of Any. However, for URLs which use the + + scheme `http`, `https`, or no scheme, one can optionally set up a type + + server that maps type URLs to message definitions as follows: + + + * If no scheme is provided, `https` is assumed. + + * An HTTP GET on the URL must yield a [google.protobuf.Type][] + + value in binary format, or produce an error. + * Applications are allowed to cache lookup results based on the + + URL, or have them precompiled into a binary to avoid any + lookup. Therefore, binary compatibility needs to be preserved + on changes to types. (Use versioned type names to manage + breaking changes.) + + Note: this functionality is not currently available in the official + + protobuf release, and it is not used for type URLs beginning with + + type.googleapis.com. + + + Schemes other than `http`, `https` (or the empty scheme) might be + + used with implementation specific semantics. + value: + type: string + format: byte + description: Must be a valid serialized protocol buffer of the above specified type. + description: >- + `Any` contains an arbitrary serialized protocol buffer message along with a + + URL that describes the type of the serialized message. + + + Protobuf library provides support to pack/unpack Any values in the form + + of utility functions or additional generated methods of the Any type. + + + Example 1: Pack and unpack a message in C++. + + + Foo foo = ...; + Any any; + any.PackFrom(foo); + ... + if (any.UnpackTo(&foo)) { + ... + } + + Example 2: Pack and unpack a message in Java. + + + Foo foo = ...; + Any any = Any.pack(foo); + ... + if (any.is(Foo.class)) { + foo = any.unpack(Foo.class); + } + + Example 3: Pack and unpack a message in Python. + + foo = Foo(...) + any = Any() + any.Pack(foo) + ... + if any.Is(Foo.DESCRIPTOR): + any.Unpack(foo) + ... + + Example 4: Pack and unpack a message in Go + + foo := &pb.Foo{...} + any, err := ptypes.MarshalAny(foo) + ... + foo := &pb.Foo{} + if err := ptypes.UnmarshalAny(any, foo); err != nil { + ... + } + + The pack methods provided by protobuf library will by default use + + 'type.googleapis.com/full.type.name' as the type URL and the unpack + + methods only use the fully qualified type name after the last '/' + + in the type URL, for example "foo.bar.com/x/y.z" will yield type + + name "y.z". + + + + JSON + + ==== + + The JSON representation of an `Any` value uses the regular + + representation of the deserialized, embedded message, with an + + additional field `@type` which contains the type URL. Example: + + + package google.profile; + message Person { + string first_name = 1; + string last_name = 2; + } + + { + "@type": "type.googleapis.com/google.profile.Person", + "firstName": , + "lastName": + } + + If the embedded message type is well-known and has a custom JSON + + representation, that representation will be embedded adding a field + + `value` which holds the custom JSON in addition to the `@type` + + field. Example (for message [google.protobuf.Duration][]): + + + { + "@type": "type.googleapis.com/google.protobuf.Duration", + "value": "1.212s" + } + parameters: + - name: proposal_id + description: proposal_id defines the unique id of the proposal. + in: path + required: true + schema: + type: string + format: uint64 + - name: voter + description: voter defines the oter address for the proposals. + in: path + required: true + schema: + type: string + tags: + - Query + /cosmos/mint/v1beta1/annual_provisions: + get: + summary: AnnualProvisions current minting annual provisions value. + operationId: AnnualProvisions + responses: + "200": + description: A successful response. + content: + "*/*": + schema: + type: object + properties: + annual_provisions: + type: string + format: byte + description: annual_provisions is the current minting annual provisions value. + description: |- + QueryAnnualProvisionsResponse is the response type for the + Query/AnnualProvisions RPC method. + default: + description: An unexpected error response. + content: + "*/*": + schema: + type: object + properties: + error: + type: string + code: + type: integer + format: int32 + message: + type: string + details: + type: array + items: + type: object + properties: + type_url: + type: string + value: + type: string + format: byte + tags: + - Query + /cosmos/mint/v1beta1/inflation: + get: + summary: Inflation returns the current minting inflation value. + operationId: Inflation + responses: + "200": + description: A successful response. + content: + "*/*": + schema: + type: object + properties: + inflation: + type: string + format: byte + description: inflation is the current minting inflation value. + description: >- + QueryInflationResponse is the response type for the Query/Inflation RPC + + method. + default: + description: An unexpected error response. + content: + "*/*": + schema: + type: object + properties: + error: + type: string + code: + type: integer + format: int32 + message: + type: string + details: + type: array + items: + type: object + properties: + type_url: + type: string + value: + type: string + format: byte + tags: + - Query + /cosmos/mint/v1beta1/params: + get: + summary: Params returns the total set of minting parameters. + operationId: CosmosMintParams + responses: + "200": + description: A successful response. + content: + "*/*": + schema: + type: object + properties: + params: + description: params defines the parameters of the module. + type: object + properties: + mint_denom: + type: string + title: type of coin to mint + inflation_rate_change: + type: string + title: maximum annual change in inflation rate + inflation_max: + type: string + title: maximum inflation rate + inflation_min: + type: string + title: minimum inflation rate + goal_bonded: + type: string + title: goal of percent bonded atoms + blocks_per_year: + type: string + format: uint64 + title: expected blocks per year + description: QueryParamsResponse is the response type for the Query/Params RPC method. + default: + description: An unexpected error response. + content: + "*/*": + schema: + type: object + properties: + error: + type: string + code: + type: integer + format: int32 + message: + type: string + details: + type: array + items: + type: object + properties: + type_url: + type: string + value: + type: string + format: byte + tags: + - Query + /cosmos/params/v1beta1/params: + get: + summary: |- + Params queries a specific parameter of a module, given its subspace and + key. + operationId: Params + responses: + "200": + description: A successful response. + content: + "*/*": + schema: + type: object + properties: + param: + description: param defines the queried parameter. + type: object + properties: + subspace: + type: string + key: + type: string + value: + type: string + description: QueryParamsResponse is response type for the Query/Params RPC method. + default: + description: An unexpected error response. + content: + "*/*": + schema: + type: object + properties: + error: + type: string + code: + type: integer + format: int32 + message: + type: string + details: + type: array + items: + type: object + properties: + type_url: + type: string + value: + type: string + format: byte + parameters: + - name: subspace + description: subspace defines the module to query the parameter for. + in: query + required: false + schema: + type: string + - name: key + description: key defines the key of the parameter in the subspace. + in: query + required: false + schema: + type: string + tags: + - Query + /cosmos/slashing/v1beta1/params: + get: + summary: Params queries the parameters of slashing module + operationId: SlashingParams + responses: + "200": + description: A successful response. + content: + "*/*": + schema: + type: object + properties: + params: + type: object + properties: + signed_blocks_window: + type: string + format: int64 + min_signed_per_window: + type: string + format: byte + downtime_jail_duration: + type: string + slash_fraction_double_sign: + type: string + format: byte + slash_fraction_downtime: + type: string + format: byte + description: Params represents the parameters used for by the slashing module. + title: QueryParamsResponse is the response type for the Query/Params RPC method + default: + description: An unexpected error response. + content: + "*/*": + schema: + type: object + properties: + error: + type: string + code: + type: integer + format: int32 + message: + type: string + details: + type: array + items: + type: object + properties: + type_url: + type: string + value: + type: string + format: byte + tags: + - Query + /cosmos/slashing/v1beta1/signing_infos: + get: + summary: SigningInfos queries signing info of all validators + operationId: SigningInfos + responses: + "200": + description: A successful response. + content: + "*/*": + schema: + type: object + properties: + info: + type: array + items: + type: object + properties: + address: + type: string + start_height: + type: string + format: int64 + title: Height at which validator was first a candidate OR was unjailed + index_offset: + type: string + format: int64 + description: >- + Index which is incremented each time the validator was a bonded + + in a block and may have signed a precommit or not. This in conjunction with the + + `SignedBlocksWindow` param determines the index in the `MissedBlocksBitArray`. + jailed_until: + type: string + format: date-time + description: Timestamp until which the validator is jailed due to liveness downtime. + tombstoned: + type: boolean + description: >- + Whether or not a validator has been tombstoned (killed out of validator set). It is set + + once the validator commits an equivocation or for any other configured misbehiavor. + missed_blocks_counter: + type: string + format: int64 + description: >- + A counter kept to avoid unnecessary array reads. + + Note that `Sum(MissedBlocksBitArray)` always equals `MissedBlocksCounter`. + description: >- + ValidatorSigningInfo defines a validator's signing info for monitoring their + + liveness activity. + title: info is the signing info of all validators + pagination: + type: object + properties: + next_key: + type: string + format: byte + title: |- + next_key is the key to be passed to PageRequest.key to + query the next page most efficiently + total: + type: string + format: uint64 + title: >- + total is total number of results available if PageRequest.count_total + + was set, its value is undefined otherwise + description: >- + PageResponse is to be embedded in gRPC response messages where the + + corresponding request message has used PageRequest. + + + message SomeResponse { + repeated Bar results = 1; + PageResponse page = 2; + } + title: >- + QuerySigningInfosResponse is the response type for the Query/SigningInfos RPC + + method + default: + description: An unexpected error response. + content: + "*/*": + schema: + type: object + properties: + error: + type: string + code: + type: integer + format: int32 + message: + type: string + details: + type: array + items: + type: object + properties: + type_url: + type: string + value: + type: string + format: byte + parameters: + - name: pagination.key + description: |- + key is a value returned in PageResponse.next_key to begin + querying the next page most efficiently. Only one of offset or key + should be set. + in: query + required: false + schema: + type: string + format: byte + - name: pagination.offset + description: >- + offset is a numeric offset that can be used when key is unavailable. + + It is less efficient than using key. Only one of offset or key should + + be set. + in: query + required: false + schema: + type: string + format: uint64 + - name: pagination.limit + description: >- + limit is the total number of results to be returned in the result page. + + If left empty it will default to a value to be set by each app. + in: query + required: false + schema: + type: string + format: uint64 + - name: pagination.count_total + description: >- + count_total is set to true to indicate that the result set should include + + a count of the total number of items available for pagination in UIs. + + count_total is only respected when offset is used. It is ignored when key + + is set. + in: query + required: false + schema: + type: boolean + - name: pagination.reverse + description: >- + reverse is set to true if results are to be returned in the descending + + order. + in: query + required: false + schema: + type: boolean + tags: + - Query + "/cosmos/slashing/v1beta1/signing_infos/{cons_address}": + get: + summary: SigningInfo queries the signing info of given cons address + operationId: SigningInfo + responses: + "200": + description: A successful response. + content: + "*/*": + schema: + type: object + properties: + val_signing_info: + type: object + properties: + address: + type: string + start_height: + type: string + format: int64 + title: Height at which validator was first a candidate OR was unjailed + index_offset: + type: string + format: int64 + description: >- + Index which is incremented each time the validator was a bonded + + in a block and may have signed a precommit or not. This in conjunction with the + + `SignedBlocksWindow` param determines the index in the `MissedBlocksBitArray`. + jailed_until: + type: string + format: date-time + description: Timestamp until which the validator is jailed due to liveness downtime. + tombstoned: + type: boolean + description: >- + Whether or not a validator has been tombstoned (killed out of validator set). It is set + + once the validator commits an equivocation or for any other configured misbehiavor. + missed_blocks_counter: + type: string + format: int64 + description: >- + A counter kept to avoid unnecessary array reads. + + Note that `Sum(MissedBlocksBitArray)` always equals `MissedBlocksCounter`. + description: >- + ValidatorSigningInfo defines a validator's signing info for monitoring their + + liveness activity. + title: val_signing_info is the signing info of requested val cons address + title: >- + QuerySigningInfoResponse is the response type for the Query/SigningInfo RPC + + method + default: + description: An unexpected error response. + content: + "*/*": + schema: + type: object + properties: + error: + type: string + code: + type: integer + format: int32 + message: + type: string + details: + type: array + items: + type: object + properties: + type_url: + type: string + value: + type: string + format: byte + parameters: + - name: cons_address + description: cons_address is the address to query signing info of + in: path + required: true + schema: + type: string + tags: + - Query + "/cosmos/staking/v1beta1/delegations/{delegator_addr}": + get: + summary: DelegatorDelegations queries all delegations of a given delegator address. + operationId: DelegatorDelegations + responses: + "200": + description: A successful response. + content: + "*/*": + schema: + type: object + properties: + delegation_responses: + type: array + items: + type: object + properties: + delegation: + type: object + properties: + delegator_address: + type: string + description: delegator_address is the bech32-encoded address of the delegator. + validator_address: + type: string + description: validator_address is the bech32-encoded address of the validator. + shares: + type: string + description: shares define the delegation shares received. + description: >- + Delegation represents the bond with tokens held by an account. It is + + owned by one delegator, and is associated with the voting power of one + + validator. + balance: + type: object + properties: + denom: + type: string + amount: + type: string + description: >- + Coin defines a token with a denomination and an amount. + + + NOTE: The amount field is an Int which implements the custom method + + signatures required by gogoproto. + description: >- + DelegationResponse is equivalent to Delegation except that it contains a + + balance in addition to shares which is more suitable for client responses. + description: delegation_responses defines all the delegations' info of a delegator. + pagination: + description: pagination defines the pagination in the response. + type: object + properties: + next_key: + type: string + format: byte + title: |- + next_key is the key to be passed to PageRequest.key to + query the next page most efficiently + total: + type: string + format: uint64 + title: >- + total is total number of results available if PageRequest.count_total + + was set, its value is undefined otherwise + description: |- + QueryDelegatorDelegationsResponse is response type for the + Query/DelegatorDelegations RPC method. + default: + description: An unexpected error response. + content: + "*/*": + schema: + type: object + properties: + error: + type: string + code: + type: integer + format: int32 + message: + type: string + details: + type: array + items: + type: object + properties: + type_url: + type: string + description: >- + A URL/resource name that uniquely identifies the type of the serialized + + protocol buffer message. This string must contain at least + + one "/" character. The last segment of the URL's path must represent + + the fully qualified name of the type (as in + + `path/google.protobuf.Duration`). The name should be in a canonical form + + (e.g., leading "." is not accepted). + + + In practice, teams usually precompile into the binary all types that they + + expect it to use in the context of Any. However, for URLs which use the + + scheme `http`, `https`, or no scheme, one can optionally set up a type + + server that maps type URLs to message definitions as follows: + + + * If no scheme is provided, `https` is assumed. + + * An HTTP GET on the URL must yield a [google.protobuf.Type][] + + value in binary format, or produce an error. + * Applications are allowed to cache lookup results based on the + + URL, or have them precompiled into a binary to avoid any + lookup. Therefore, binary compatibility needs to be preserved + on changes to types. (Use versioned type names to manage + breaking changes.) + + Note: this functionality is not currently available in the official + + protobuf release, and it is not used for type URLs beginning with + + type.googleapis.com. + + + Schemes other than `http`, `https` (or the empty scheme) might be + + used with implementation specific semantics. + value: + type: string + format: byte + description: Must be a valid serialized protocol buffer of the above specified type. + description: >- + `Any` contains an arbitrary serialized protocol buffer message along with a + + URL that describes the type of the serialized message. + + + Protobuf library provides support to pack/unpack Any values in the form + + of utility functions or additional generated methods of the Any type. + + + Example 1: Pack and unpack a message in C++. + + + Foo foo = ...; + Any any; + any.PackFrom(foo); + ... + if (any.UnpackTo(&foo)) { + ... + } + + Example 2: Pack and unpack a message in Java. + + + Foo foo = ...; + Any any = Any.pack(foo); + ... + if (any.is(Foo.class)) { + foo = any.unpack(Foo.class); + } + + Example 3: Pack and unpack a message in Python. + + foo = Foo(...) + any = Any() + any.Pack(foo) + ... + if any.Is(Foo.DESCRIPTOR): + any.Unpack(foo) + ... + + Example 4: Pack and unpack a message in Go + + foo := &pb.Foo{...} + any, err := ptypes.MarshalAny(foo) + ... + foo := &pb.Foo{} + if err := ptypes.UnmarshalAny(any, foo); err != nil { + ... + } + + The pack methods provided by protobuf library will by default use + + 'type.googleapis.com/full.type.name' as the type URL and the unpack + + methods only use the fully qualified type name after the last '/' + + in the type URL, for example "foo.bar.com/x/y.z" will yield type + + name "y.z". + + + + JSON + + ==== + + The JSON representation of an `Any` value uses the regular + + representation of the deserialized, embedded message, with an + + additional field `@type` which contains the type URL. Example: + + + package google.profile; + message Person { + string first_name = 1; + string last_name = 2; + } + + { + "@type": "type.googleapis.com/google.profile.Person", + "firstName": , + "lastName": + } + + If the embedded message type is well-known and has a custom JSON + + representation, that representation will be embedded adding a field + + `value` which holds the custom JSON in addition to the `@type` + + field. Example (for message [google.protobuf.Duration][]): + + + { + "@type": "type.googleapis.com/google.protobuf.Duration", + "value": "1.212s" + } + parameters: + - name: delegator_addr + description: delegator_addr defines the delegator address to query for. + in: path + required: true + schema: + type: string + - name: pagination.key + description: |- + key is a value returned in PageResponse.next_key to begin + querying the next page most efficiently. Only one of offset or key + should be set. + in: query + required: false + schema: + type: string + format: byte + - name: pagination.offset + description: >- + offset is a numeric offset that can be used when key is unavailable. + + It is less efficient than using key. Only one of offset or key should + + be set. + in: query + required: false + schema: + type: string + format: uint64 + - name: pagination.limit + description: >- + limit is the total number of results to be returned in the result page. + + If left empty it will default to a value to be set by each app. + in: query + required: false + schema: + type: string + format: uint64 + - name: pagination.count_total + description: >- + count_total is set to true to indicate that the result set should include + + a count of the total number of items available for pagination in UIs. + + count_total is only respected when offset is used. It is ignored when key + + is set. + in: query + required: false + schema: + type: boolean + - name: pagination.reverse + description: >- + reverse is set to true if results are to be returned in the descending + + order. + in: query + required: false + schema: + type: boolean + tags: + - Query + "/cosmos/staking/v1beta1/delegators/{delegator_addr}/redelegations": + get: + summary: Redelegations queries redelegations of given address. + operationId: Redelegations + responses: + "200": + description: A successful response. + content: + "*/*": + schema: + type: object + properties: + redelegation_responses: + type: array + items: + type: object + properties: + redelegation: + type: object + properties: + delegator_address: + type: string + description: delegator_address is the bech32-encoded address of the delegator. + validator_src_address: + type: string + description: validator_src_address is the validator redelegation source operator address. + validator_dst_address: + type: string + description: validator_dst_address is the validator redelegation destination operator address. + entries: + type: array + items: + type: object + properties: + creation_height: + type: string + format: int64 + description: creation_height defines the height which the redelegation took place. + completion_time: + type: string + format: date-time + description: completion_time defines the unix time for redelegation completion. + initial_balance: + type: string + description: initial_balance defines the initial balance when redelegation started. + shares_dst: + type: string + description: shares_dst is the amount of destination-validator shares created by redelegation. + description: RedelegationEntry defines a redelegation object with relevant metadata. + description: entries are the redelegation entries. + description: >- + Redelegation contains the list of a particular delegator's redelegating bonds + + from a particular source validator to a particular destination validator. + entries: + type: array + items: + type: object + properties: + redelegation_entry: + type: object + properties: + creation_height: + type: string + format: int64 + description: creation_height defines the height which the redelegation took place. + completion_time: + type: string + format: date-time + description: completion_time defines the unix time for redelegation completion. + initial_balance: + type: string + description: initial_balance defines the initial balance when redelegation started. + shares_dst: + type: string + description: shares_dst is the amount of destination-validator shares created by redelegation. + description: RedelegationEntry defines a redelegation object with relevant metadata. + balance: + type: string + description: >- + RedelegationEntryResponse is equivalent to a RedelegationEntry except that it + + contains a balance in addition to shares which is more suitable for client + + responses. + description: >- + RedelegationResponse is equivalent to a Redelegation except that its entries + + contain a balance in addition to shares which is more suitable for client + + responses. + pagination: + description: pagination defines the pagination in the response. + type: object + properties: + next_key: + type: string + format: byte + title: |- + next_key is the key to be passed to PageRequest.key to + query the next page most efficiently + total: + type: string + format: uint64 + title: >- + total is total number of results available if PageRequest.count_total + + was set, its value is undefined otherwise + description: >- + QueryRedelegationsResponse is response type for the Query/Redelegations RPC + + method. + default: + description: An unexpected error response. + content: + "*/*": + schema: + type: object + properties: + error: + type: string + code: + type: integer + format: int32 + message: + type: string + details: + type: array + items: + type: object + properties: + type_url: + type: string + description: >- + A URL/resource name that uniquely identifies the type of the serialized + + protocol buffer message. This string must contain at least + + one "/" character. The last segment of the URL's path must represent + + the fully qualified name of the type (as in + + `path/google.protobuf.Duration`). The name should be in a canonical form + + (e.g., leading "." is not accepted). + + + In practice, teams usually precompile into the binary all types that they + + expect it to use in the context of Any. However, for URLs which use the + + scheme `http`, `https`, or no scheme, one can optionally set up a type + + server that maps type URLs to message definitions as follows: + + + * If no scheme is provided, `https` is assumed. + + * An HTTP GET on the URL must yield a [google.protobuf.Type][] + + value in binary format, or produce an error. + * Applications are allowed to cache lookup results based on the + + URL, or have them precompiled into a binary to avoid any + lookup. Therefore, binary compatibility needs to be preserved + on changes to types. (Use versioned type names to manage + breaking changes.) + + Note: this functionality is not currently available in the official + + protobuf release, and it is not used for type URLs beginning with + + type.googleapis.com. + + + Schemes other than `http`, `https` (or the empty scheme) might be + + used with implementation specific semantics. + value: + type: string + format: byte + description: Must be a valid serialized protocol buffer of the above specified type. + description: >- + `Any` contains an arbitrary serialized protocol buffer message along with a + + URL that describes the type of the serialized message. + + + Protobuf library provides support to pack/unpack Any values in the form + + of utility functions or additional generated methods of the Any type. + + + Example 1: Pack and unpack a message in C++. + + + Foo foo = ...; + Any any; + any.PackFrom(foo); + ... + if (any.UnpackTo(&foo)) { + ... + } + + Example 2: Pack and unpack a message in Java. + + + Foo foo = ...; + Any any = Any.pack(foo); + ... + if (any.is(Foo.class)) { + foo = any.unpack(Foo.class); + } + + Example 3: Pack and unpack a message in Python. + + foo = Foo(...) + any = Any() + any.Pack(foo) + ... + if any.Is(Foo.DESCRIPTOR): + any.Unpack(foo) + ... + + Example 4: Pack and unpack a message in Go + + foo := &pb.Foo{...} + any, err := ptypes.MarshalAny(foo) + ... + foo := &pb.Foo{} + if err := ptypes.UnmarshalAny(any, foo); err != nil { + ... + } + + The pack methods provided by protobuf library will by default use + + 'type.googleapis.com/full.type.name' as the type URL and the unpack + + methods only use the fully qualified type name after the last '/' + + in the type URL, for example "foo.bar.com/x/y.z" will yield type + + name "y.z". + + + + JSON + + ==== + + The JSON representation of an `Any` value uses the regular + + representation of the deserialized, embedded message, with an + + additional field `@type` which contains the type URL. Example: + + + package google.profile; + message Person { + string first_name = 1; + string last_name = 2; + } + + { + "@type": "type.googleapis.com/google.profile.Person", + "firstName": , + "lastName": + } + + If the embedded message type is well-known and has a custom JSON + + representation, that representation will be embedded adding a field + + `value` which holds the custom JSON in addition to the `@type` + + field. Example (for message [google.protobuf.Duration][]): + + + { + "@type": "type.googleapis.com/google.protobuf.Duration", + "value": "1.212s" + } + parameters: + - name: delegator_addr + description: delegator_addr defines the delegator address to query for. + in: path + required: true + schema: + type: string + - name: src_validator_addr + description: src_validator_addr defines the validator address to redelegate from. + in: query + required: false + schema: + type: string + - name: dst_validator_addr + description: dst_validator_addr defines the validator address to redelegate to. + in: query + required: false + schema: + type: string + - name: pagination.key + description: |- + key is a value returned in PageResponse.next_key to begin + querying the next page most efficiently. Only one of offset or key + should be set. + in: query + required: false + schema: + type: string + format: byte + - name: pagination.offset + description: >- + offset is a numeric offset that can be used when key is unavailable. + + It is less efficient than using key. Only one of offset or key should + + be set. + in: query + required: false + schema: + type: string + format: uint64 + - name: pagination.limit + description: >- + limit is the total number of results to be returned in the result page. + + If left empty it will default to a value to be set by each app. + in: query + required: false + schema: + type: string + format: uint64 + - name: pagination.count_total + description: >- + count_total is set to true to indicate that the result set should include + + a count of the total number of items available for pagination in UIs. + + count_total is only respected when offset is used. It is ignored when key + + is set. + in: query + required: false + schema: + type: boolean + - name: pagination.reverse + description: >- + reverse is set to true if results are to be returned in the descending + + order. + in: query + required: false + schema: + type: boolean + tags: + - Query + "/cosmos/staking/v1beta1/delegators/{delegator_addr}/unbonding_delegations": + get: + summary: >- + DelegatorUnbondingDelegations queries all unbonding delegations of a given + + delegator address. + operationId: DelegatorUnbondingDelegations + responses: + "200": + description: A successful response. + content: + "*/*": + schema: + type: object + properties: + unbonding_responses: + type: array + items: + type: object + properties: + delegator_address: + type: string + description: delegator_address is the bech32-encoded address of the delegator. + validator_address: + type: string + description: validator_address is the bech32-encoded address of the validator. + entries: + type: array + items: + type: object + properties: + creation_height: + type: string + format: int64 + description: creation_height is the height which the unbonding took place. + completion_time: + type: string + format: date-time + description: completion_time is the unix time for unbonding completion. + initial_balance: + type: string + description: initial_balance defines the tokens initially scheduled to receive at completion. + balance: + type: string + description: balance defines the tokens to receive at completion. + description: UnbondingDelegationEntry defines an unbonding object with relevant metadata. + description: entries are the unbonding delegation entries. + description: >- + UnbondingDelegation stores all of a single delegator's unbonding bonds + + for a single validator in an time-ordered list. + pagination: + description: pagination defines the pagination in the response. + type: object + properties: + next_key: + type: string + format: byte + title: |- + next_key is the key to be passed to PageRequest.key to + query the next page most efficiently + total: + type: string + format: uint64 + title: >- + total is total number of results available if PageRequest.count_total + + was set, its value is undefined otherwise + description: >- + QueryUnbondingDelegatorDelegationsResponse is response type for the + + Query/UnbondingDelegatorDelegations RPC method. + default: + description: An unexpected error response. + content: + "*/*": + schema: + type: object + properties: + error: + type: string + code: + type: integer + format: int32 + message: + type: string + details: + type: array + items: + type: object + properties: + type_url: + type: string + description: >- + A URL/resource name that uniquely identifies the type of the serialized + + protocol buffer message. This string must contain at least + + one "/" character. The last segment of the URL's path must represent + + the fully qualified name of the type (as in + + `path/google.protobuf.Duration`). The name should be in a canonical form + + (e.g., leading "." is not accepted). + + + In practice, teams usually precompile into the binary all types that they + + expect it to use in the context of Any. However, for URLs which use the + + scheme `http`, `https`, or no scheme, one can optionally set up a type + + server that maps type URLs to message definitions as follows: + + + * If no scheme is provided, `https` is assumed. + + * An HTTP GET on the URL must yield a [google.protobuf.Type][] + + value in binary format, or produce an error. + * Applications are allowed to cache lookup results based on the + + URL, or have them precompiled into a binary to avoid any + lookup. Therefore, binary compatibility needs to be preserved + on changes to types. (Use versioned type names to manage + breaking changes.) + + Note: this functionality is not currently available in the official + + protobuf release, and it is not used for type URLs beginning with + + type.googleapis.com. + + + Schemes other than `http`, `https` (or the empty scheme) might be + + used with implementation specific semantics. + value: + type: string + format: byte + description: Must be a valid serialized protocol buffer of the above specified type. + description: >- + `Any` contains an arbitrary serialized protocol buffer message along with a + + URL that describes the type of the serialized message. + + + Protobuf library provides support to pack/unpack Any values in the form + + of utility functions or additional generated methods of the Any type. + + + Example 1: Pack and unpack a message in C++. + + + Foo foo = ...; + Any any; + any.PackFrom(foo); + ... + if (any.UnpackTo(&foo)) { + ... + } + + Example 2: Pack and unpack a message in Java. + + + Foo foo = ...; + Any any = Any.pack(foo); + ... + if (any.is(Foo.class)) { + foo = any.unpack(Foo.class); + } + + Example 3: Pack and unpack a message in Python. + + foo = Foo(...) + any = Any() + any.Pack(foo) + ... + if any.Is(Foo.DESCRIPTOR): + any.Unpack(foo) + ... + + Example 4: Pack and unpack a message in Go + + foo := &pb.Foo{...} + any, err := ptypes.MarshalAny(foo) + ... + foo := &pb.Foo{} + if err := ptypes.UnmarshalAny(any, foo); err != nil { + ... + } + + The pack methods provided by protobuf library will by default use + + 'type.googleapis.com/full.type.name' as the type URL and the unpack + + methods only use the fully qualified type name after the last '/' + + in the type URL, for example "foo.bar.com/x/y.z" will yield type + + name "y.z". + + + + JSON + + ==== + + The JSON representation of an `Any` value uses the regular + + representation of the deserialized, embedded message, with an + + additional field `@type` which contains the type URL. Example: + + + package google.profile; + message Person { + string first_name = 1; + string last_name = 2; + } + + { + "@type": "type.googleapis.com/google.profile.Person", + "firstName": , + "lastName": + } + + If the embedded message type is well-known and has a custom JSON + + representation, that representation will be embedded adding a field + + `value` which holds the custom JSON in addition to the `@type` + + field. Example (for message [google.protobuf.Duration][]): + + + { + "@type": "type.googleapis.com/google.protobuf.Duration", + "value": "1.212s" + } + parameters: + - name: delegator_addr + description: delegator_addr defines the delegator address to query for. + in: path + required: true + schema: + type: string + - name: pagination.key + description: |- + key is a value returned in PageResponse.next_key to begin + querying the next page most efficiently. Only one of offset or key + should be set. + in: query + required: false + schema: + type: string + format: byte + - name: pagination.offset + description: >- + offset is a numeric offset that can be used when key is unavailable. + + It is less efficient than using key. Only one of offset or key should + + be set. + in: query + required: false + schema: + type: string + format: uint64 + - name: pagination.limit + description: >- + limit is the total number of results to be returned in the result page. + + If left empty it will default to a value to be set by each app. + in: query + required: false + schema: + type: string + format: uint64 + - name: pagination.count_total + description: >- + count_total is set to true to indicate that the result set should include + + a count of the total number of items available for pagination in UIs. + + count_total is only respected when offset is used. It is ignored when key + + is set. + in: query + required: false + schema: + type: boolean + - name: pagination.reverse + description: >- + reverse is set to true if results are to be returned in the descending + + order. + in: query + required: false + schema: + type: boolean + tags: + - Query + "/cosmos/staking/v1beta1/delegators/{delegator_addr}/validators": + get: + summary: |- + DelegatorValidators queries all validators info for given delegator + address. + operationId: StakingDelegatorValidators + responses: + "200": + description: A successful response. + content: + "*/*": + schema: + type: object + properties: + validators: + type: array + items: + type: object + properties: + operator_address: + type: string + description: operator_address defines the address of the validator's operator; bech encoded in JSON. + consensus_pubkey: + type: object + properties: + type_url: + type: string + description: >- + A URL/resource name that uniquely identifies the type of the serialized + + protocol buffer message. This string must contain at least + + one "/" character. The last segment of the URL's path must represent + + the fully qualified name of the type (as in + + `path/google.protobuf.Duration`). The name should be in a canonical form + + (e.g., leading "." is not accepted). + + + In practice, teams usually precompile into the binary all types that they + + expect it to use in the context of Any. However, for URLs which use the + + scheme `http`, `https`, or no scheme, one can optionally set up a type + + server that maps type URLs to message definitions as follows: + + + * If no scheme is provided, `https` is assumed. + + * An HTTP GET on the URL must yield a [google.protobuf.Type][] + + value in binary format, or produce an error. + * Applications are allowed to cache lookup results based on the + + URL, or have them precompiled into a binary to avoid any + lookup. Therefore, binary compatibility needs to be preserved + on changes to types. (Use versioned type names to manage + breaking changes.) + + Note: this functionality is not currently available in the official + + protobuf release, and it is not used for type URLs beginning with + + type.googleapis.com. + + + Schemes other than `http`, `https` (or the empty scheme) might be + + used with implementation specific semantics. + value: + type: string + format: byte + description: Must be a valid serialized protocol buffer of the above specified type. + description: >- + `Any` contains an arbitrary serialized protocol buffer message along with a + + URL that describes the type of the serialized message. + + + Protobuf library provides support to pack/unpack Any values in the form + + of utility functions or additional generated methods of the Any type. + + + Example 1: Pack and unpack a message in C++. + + + Foo foo = ...; + Any any; + any.PackFrom(foo); + ... + if (any.UnpackTo(&foo)) { + ... + } + + Example 2: Pack and unpack a message in Java. + + + Foo foo = ...; + Any any = Any.pack(foo); + ... + if (any.is(Foo.class)) { + foo = any.unpack(Foo.class); + } + + Example 3: Pack and unpack a message in Python. + + foo = Foo(...) + any = Any() + any.Pack(foo) + ... + if any.Is(Foo.DESCRIPTOR): + any.Unpack(foo) + ... + + Example 4: Pack and unpack a message in Go + + foo := &pb.Foo{...} + any, err := ptypes.MarshalAny(foo) + ... + foo := &pb.Foo{} + if err := ptypes.UnmarshalAny(any, foo); err != nil { + ... + } + + The pack methods provided by protobuf library will by default use + + 'type.googleapis.com/full.type.name' as the type URL and the unpack + + methods only use the fully qualified type name after the last '/' + + in the type URL, for example "foo.bar.com/x/y.z" will yield type + + name "y.z". + + + + JSON + + ==== + + The JSON representation of an `Any` value uses the regular + + representation of the deserialized, embedded message, with an + + additional field `@type` which contains the type URL. Example: + + + package google.profile; + message Person { + string first_name = 1; + string last_name = 2; + } + + { + "@type": "type.googleapis.com/google.profile.Person", + "firstName": , + "lastName": + } + + If the embedded message type is well-known and has a custom JSON + + representation, that representation will be embedded adding a field + + `value` which holds the custom JSON in addition to the `@type` + + field. Example (for message [google.protobuf.Duration][]): + + + { + "@type": "type.googleapis.com/google.protobuf.Duration", + "value": "1.212s" + } + jailed: + type: boolean + description: jailed defined whether the validator has been jailed from bonded status or not. + status: + description: status is the validator status (bonded/unbonding/unbonded). + type: string + enum: + - BOND_STATUS_UNSPECIFIED + - BOND_STATUS_UNBONDED + - BOND_STATUS_UNBONDING + - BOND_STATUS_BONDED + default: BOND_STATUS_UNSPECIFIED + tokens: + type: string + description: tokens define the delegated tokens (incl. self-delegation). + delegator_shares: + type: string + description: delegator_shares defines total shares issued to a validator's delegators. + description: + description: description defines the description terms for the validator. + type: object + properties: + moniker: + type: string + description: moniker defines a human-readable name for the validator. + identity: + type: string + description: identity defines an optional identity signature (ex. UPort or Keybase). + website: + type: string + description: website defines an optional website link. + security_contact: + type: string + description: security_contact defines an optional email for security contact. + details: + type: string + description: details define other optional details. + unbonding_height: + type: string + format: int64 + description: unbonding_height defines, if unbonding, the height at which this validator has begun unbonding. + unbonding_time: + type: string + format: date-time + description: unbonding_time defines, if unbonding, the min time for the validator to complete unbonding. + commission: + description: commission defines the commission parameters. + type: object + properties: + commission_rates: + description: commission_rates defines the initial commission rates to be used for creating a validator. + type: object + properties: + rate: + type: string + description: rate is the commission rate charged to delegators, as a fraction. + max_rate: + type: string + description: max_rate defines the maximum commission rate which validator can ever charge, as a fraction. + max_change_rate: + type: string + description: max_change_rate defines the maximum daily increase of the validator commission, as a fraction. + update_time: + type: string + format: date-time + description: update_time is the last time the commission rate was changed. + min_self_delegation: + type: string + description: min_self_delegation is the validator's self declared minimum self delegation. + description: >- + Validator defines a validator, together with the total amount of the + + Validator's bond shares and their exchange rate to coins. Slashing results in + + a decrease in the exchange rate, allowing correct calculation of future + + undelegations without iterating over delegators. When coins are delegated to + + this validator, the validator is credited with a delegation whose number of + + bond shares is based on the amount of coins delegated divided by the current + + exchange rate. Voting power can be calculated as total bonded shares + + multiplied by exchange rate. + description: validators defines the the validators' info of a delegator. + pagination: + description: pagination defines the pagination in the response. + type: object + properties: + next_key: + type: string + format: byte + title: |- + next_key is the key to be passed to PageRequest.key to + query the next page most efficiently + total: + type: string + format: uint64 + title: >- + total is total number of results available if PageRequest.count_total + + was set, its value is undefined otherwise + description: |- + QueryDelegatorValidatorsResponse is response type for the + Query/DelegatorValidators RPC method. + default: + description: An unexpected error response. + content: + "*/*": + schema: + type: object + properties: + error: + type: string + code: + type: integer + format: int32 + message: + type: string + details: + type: array + items: + type: object + properties: + type_url: + type: string + description: >- + A URL/resource name that uniquely identifies the type of the serialized + + protocol buffer message. This string must contain at least + + one "/" character. The last segment of the URL's path must represent + + the fully qualified name of the type (as in + + `path/google.protobuf.Duration`). The name should be in a canonical form + + (e.g., leading "." is not accepted). + + + In practice, teams usually precompile into the binary all types that they + + expect it to use in the context of Any. However, for URLs which use the + + scheme `http`, `https`, or no scheme, one can optionally set up a type + + server that maps type URLs to message definitions as follows: + + + * If no scheme is provided, `https` is assumed. + + * An HTTP GET on the URL must yield a [google.protobuf.Type][] + + value in binary format, or produce an error. + * Applications are allowed to cache lookup results based on the + + URL, or have them precompiled into a binary to avoid any + lookup. Therefore, binary compatibility needs to be preserved + on changes to types. (Use versioned type names to manage + breaking changes.) + + Note: this functionality is not currently available in the official + + protobuf release, and it is not used for type URLs beginning with + + type.googleapis.com. + + + Schemes other than `http`, `https` (or the empty scheme) might be + + used with implementation specific semantics. + value: + type: string + format: byte + description: Must be a valid serialized protocol buffer of the above specified type. + description: >- + `Any` contains an arbitrary serialized protocol buffer message along with a + + URL that describes the type of the serialized message. + + + Protobuf library provides support to pack/unpack Any values in the form + + of utility functions or additional generated methods of the Any type. + + + Example 1: Pack and unpack a message in C++. + + + Foo foo = ...; + Any any; + any.PackFrom(foo); + ... + if (any.UnpackTo(&foo)) { + ... + } + + Example 2: Pack and unpack a message in Java. + + + Foo foo = ...; + Any any = Any.pack(foo); + ... + if (any.is(Foo.class)) { + foo = any.unpack(Foo.class); + } + + Example 3: Pack and unpack a message in Python. + + foo = Foo(...) + any = Any() + any.Pack(foo) + ... + if any.Is(Foo.DESCRIPTOR): + any.Unpack(foo) + ... + + Example 4: Pack and unpack a message in Go + + foo := &pb.Foo{...} + any, err := ptypes.MarshalAny(foo) + ... + foo := &pb.Foo{} + if err := ptypes.UnmarshalAny(any, foo); err != nil { + ... + } + + The pack methods provided by protobuf library will by default use + + 'type.googleapis.com/full.type.name' as the type URL and the unpack + + methods only use the fully qualified type name after the last '/' + + in the type URL, for example "foo.bar.com/x/y.z" will yield type + + name "y.z". + + + + JSON + + ==== + + The JSON representation of an `Any` value uses the regular + + representation of the deserialized, embedded message, with an + + additional field `@type` which contains the type URL. Example: + + + package google.profile; + message Person { + string first_name = 1; + string last_name = 2; + } + + { + "@type": "type.googleapis.com/google.profile.Person", + "firstName": , + "lastName": + } + + If the embedded message type is well-known and has a custom JSON + + representation, that representation will be embedded adding a field + + `value` which holds the custom JSON in addition to the `@type` + + field. Example (for message [google.protobuf.Duration][]): + + + { + "@type": "type.googleapis.com/google.protobuf.Duration", + "value": "1.212s" + } + parameters: + - name: delegator_addr + description: delegator_addr defines the delegator address to query for. + in: path + required: true + schema: + type: string + - name: pagination.key + description: |- + key is a value returned in PageResponse.next_key to begin + querying the next page most efficiently. Only one of offset or key + should be set. + in: query + required: false + schema: + type: string + format: byte + - name: pagination.offset + description: >- + offset is a numeric offset that can be used when key is unavailable. + + It is less efficient than using key. Only one of offset or key should + + be set. + in: query + required: false + schema: + type: string + format: uint64 + - name: pagination.limit + description: >- + limit is the total number of results to be returned in the result page. + + If left empty it will default to a value to be set by each app. + in: query + required: false + schema: + type: string + format: uint64 + - name: pagination.count_total + description: >- + count_total is set to true to indicate that the result set should include + + a count of the total number of items available for pagination in UIs. + + count_total is only respected when offset is used. It is ignored when key + + is set. + in: query + required: false + schema: + type: boolean + - name: pagination.reverse + description: >- + reverse is set to true if results are to be returned in the descending + + order. + in: query + required: false + schema: + type: boolean + tags: + - Query + "/cosmos/staking/v1beta1/delegators/{delegator_addr}/validators/{validator_addr}": + get: + summary: |- + DelegatorValidator queries validator info for given delegator validator + pair. + operationId: DelegatorValidator + responses: + "200": + description: A successful response. + content: + "*/*": + schema: + type: object + properties: + validator: + type: object + properties: + operator_address: + type: string + description: operator_address defines the address of the validator's operator; bech encoded in JSON. + consensus_pubkey: + type: object + properties: + type_url: + type: string + description: >- + A URL/resource name that uniquely identifies the type of the serialized + + protocol buffer message. This string must contain at least + + one "/" character. The last segment of the URL's path must represent + + the fully qualified name of the type (as in + + `path/google.protobuf.Duration`). The name should be in a canonical form + + (e.g., leading "." is not accepted). + + + In practice, teams usually precompile into the binary all types that they + + expect it to use in the context of Any. However, for URLs which use the + + scheme `http`, `https`, or no scheme, one can optionally set up a type + + server that maps type URLs to message definitions as follows: + + + * If no scheme is provided, `https` is assumed. + + * An HTTP GET on the URL must yield a [google.protobuf.Type][] + + value in binary format, or produce an error. + * Applications are allowed to cache lookup results based on the + + URL, or have them precompiled into a binary to avoid any + lookup. Therefore, binary compatibility needs to be preserved + on changes to types. (Use versioned type names to manage + breaking changes.) + + Note: this functionality is not currently available in the official + + protobuf release, and it is not used for type URLs beginning with + + type.googleapis.com. + + + Schemes other than `http`, `https` (or the empty scheme) might be + + used with implementation specific semantics. + value: + type: string + format: byte + description: Must be a valid serialized protocol buffer of the above specified type. + description: >- + `Any` contains an arbitrary serialized protocol buffer message along with a + + URL that describes the type of the serialized message. + + + Protobuf library provides support to pack/unpack Any values in the form + + of utility functions or additional generated methods of the Any type. + + + Example 1: Pack and unpack a message in C++. + + + Foo foo = ...; + Any any; + any.PackFrom(foo); + ... + if (any.UnpackTo(&foo)) { + ... + } + + Example 2: Pack and unpack a message in Java. + + + Foo foo = ...; + Any any = Any.pack(foo); + ... + if (any.is(Foo.class)) { + foo = any.unpack(Foo.class); + } + + Example 3: Pack and unpack a message in Python. + + foo = Foo(...) + any = Any() + any.Pack(foo) + ... + if any.Is(Foo.DESCRIPTOR): + any.Unpack(foo) + ... + + Example 4: Pack and unpack a message in Go + + foo := &pb.Foo{...} + any, err := ptypes.MarshalAny(foo) + ... + foo := &pb.Foo{} + if err := ptypes.UnmarshalAny(any, foo); err != nil { + ... + } + + The pack methods provided by protobuf library will by default use + + 'type.googleapis.com/full.type.name' as the type URL and the unpack + + methods only use the fully qualified type name after the last '/' + + in the type URL, for example "foo.bar.com/x/y.z" will yield type + + name "y.z". + + + + JSON + + ==== + + The JSON representation of an `Any` value uses the regular + + representation of the deserialized, embedded message, with an + + additional field `@type` which contains the type URL. Example: + + + package google.profile; + message Person { + string first_name = 1; + string last_name = 2; + } + + { + "@type": "type.googleapis.com/google.profile.Person", + "firstName": , + "lastName": + } + + If the embedded message type is well-known and has a custom JSON + + representation, that representation will be embedded adding a field + + `value` which holds the custom JSON in addition to the `@type` + + field. Example (for message [google.protobuf.Duration][]): + + + { + "@type": "type.googleapis.com/google.protobuf.Duration", + "value": "1.212s" + } + jailed: + type: boolean + description: jailed defined whether the validator has been jailed from bonded status or not. + status: + description: status is the validator status (bonded/unbonding/unbonded). + type: string + enum: + - BOND_STATUS_UNSPECIFIED + - BOND_STATUS_UNBONDED + - BOND_STATUS_UNBONDING + - BOND_STATUS_BONDED + default: BOND_STATUS_UNSPECIFIED + tokens: + type: string + description: tokens define the delegated tokens (incl. self-delegation). + delegator_shares: + type: string + description: delegator_shares defines total shares issued to a validator's delegators. + description: + description: description defines the description terms for the validator. + type: object + properties: + moniker: + type: string + description: moniker defines a human-readable name for the validator. + identity: + type: string + description: identity defines an optional identity signature (ex. UPort or Keybase). + website: + type: string + description: website defines an optional website link. + security_contact: + type: string + description: security_contact defines an optional email for security contact. + details: + type: string + description: details define other optional details. + unbonding_height: + type: string + format: int64 + description: unbonding_height defines, if unbonding, the height at which this validator has begun unbonding. + unbonding_time: + type: string + format: date-time + description: unbonding_time defines, if unbonding, the min time for the validator to complete unbonding. + commission: + description: commission defines the commission parameters. + type: object + properties: + commission_rates: + description: commission_rates defines the initial commission rates to be used for creating a validator. + type: object + properties: + rate: + type: string + description: rate is the commission rate charged to delegators, as a fraction. + max_rate: + type: string + description: max_rate defines the maximum commission rate which validator can ever charge, as a fraction. + max_change_rate: + type: string + description: max_change_rate defines the maximum daily increase of the validator commission, as a fraction. + update_time: + type: string + format: date-time + description: update_time is the last time the commission rate was changed. + min_self_delegation: + type: string + description: min_self_delegation is the validator's self declared minimum self delegation. + description: >- + Validator defines a validator, together with the total amount of the + + Validator's bond shares and their exchange rate to coins. Slashing results in + + a decrease in the exchange rate, allowing correct calculation of future + + undelegations without iterating over delegators. When coins are delegated to + + this validator, the validator is credited with a delegation whose number of + + bond shares is based on the amount of coins delegated divided by the current + + exchange rate. Voting power can be calculated as total bonded shares + + multiplied by exchange rate. + description: |- + QueryDelegatorValidatorResponse response type for the + Query/DelegatorValidator RPC method. + default: + description: An unexpected error response. + content: + "*/*": + schema: + type: object + properties: + error: + type: string + code: + type: integer + format: int32 + message: + type: string + details: + type: array + items: + type: object + properties: + type_url: + type: string + description: >- + A URL/resource name that uniquely identifies the type of the serialized + + protocol buffer message. This string must contain at least + + one "/" character. The last segment of the URL's path must represent + + the fully qualified name of the type (as in + + `path/google.protobuf.Duration`). The name should be in a canonical form + + (e.g., leading "." is not accepted). + + + In practice, teams usually precompile into the binary all types that they + + expect it to use in the context of Any. However, for URLs which use the + + scheme `http`, `https`, or no scheme, one can optionally set up a type + + server that maps type URLs to message definitions as follows: + + + * If no scheme is provided, `https` is assumed. + + * An HTTP GET on the URL must yield a [google.protobuf.Type][] + + value in binary format, or produce an error. + * Applications are allowed to cache lookup results based on the + + URL, or have them precompiled into a binary to avoid any + lookup. Therefore, binary compatibility needs to be preserved + on changes to types. (Use versioned type names to manage + breaking changes.) + + Note: this functionality is not currently available in the official + + protobuf release, and it is not used for type URLs beginning with + + type.googleapis.com. + + + Schemes other than `http`, `https` (or the empty scheme) might be + + used with implementation specific semantics. + value: + type: string + format: byte + description: Must be a valid serialized protocol buffer of the above specified type. + description: >- + `Any` contains an arbitrary serialized protocol buffer message along with a + + URL that describes the type of the serialized message. + + + Protobuf library provides support to pack/unpack Any values in the form + + of utility functions or additional generated methods of the Any type. + + + Example 1: Pack and unpack a message in C++. + + + Foo foo = ...; + Any any; + any.PackFrom(foo); + ... + if (any.UnpackTo(&foo)) { + ... + } + + Example 2: Pack and unpack a message in Java. + + + Foo foo = ...; + Any any = Any.pack(foo); + ... + if (any.is(Foo.class)) { + foo = any.unpack(Foo.class); + } + + Example 3: Pack and unpack a message in Python. + + foo = Foo(...) + any = Any() + any.Pack(foo) + ... + if any.Is(Foo.DESCRIPTOR): + any.Unpack(foo) + ... + + Example 4: Pack and unpack a message in Go + + foo := &pb.Foo{...} + any, err := ptypes.MarshalAny(foo) + ... + foo := &pb.Foo{} + if err := ptypes.UnmarshalAny(any, foo); err != nil { + ... + } + + The pack methods provided by protobuf library will by default use + + 'type.googleapis.com/full.type.name' as the type URL and the unpack + + methods only use the fully qualified type name after the last '/' + + in the type URL, for example "foo.bar.com/x/y.z" will yield type + + name "y.z". + + + + JSON + + ==== + + The JSON representation of an `Any` value uses the regular + + representation of the deserialized, embedded message, with an + + additional field `@type` which contains the type URL. Example: + + + package google.profile; + message Person { + string first_name = 1; + string last_name = 2; + } + + { + "@type": "type.googleapis.com/google.profile.Person", + "firstName": , + "lastName": + } + + If the embedded message type is well-known and has a custom JSON + + representation, that representation will be embedded adding a field + + `value` which holds the custom JSON in addition to the `@type` + + field. Example (for message [google.protobuf.Duration][]): + + + { + "@type": "type.googleapis.com/google.protobuf.Duration", + "value": "1.212s" + } + parameters: + - name: delegator_addr + description: delegator_addr defines the delegator address to query for. + in: path + required: true + schema: + type: string + - name: validator_addr + description: validator_addr defines the validator address to query for. + in: path + required: true + schema: + type: string + tags: + - Query + "/cosmos/staking/v1beta1/historical_info/{height}": + get: + summary: HistoricalInfo queries the historical info for given height. + operationId: HistoricalInfo + responses: + "200": + description: A successful response. + content: + "*/*": + schema: + type: object + properties: + hist: + description: hist defines the historical info at the given height. + type: object + properties: + header: + type: object + properties: + version: + title: basic block info + type: object + properties: + block: + type: string + format: uint64 + app: + type: string + format: uint64 + description: >- + Consensus captures the consensus rules for processing a block in the blockchain, + + including all blockchain data structures and the rules of the application's + + state transition machine. + chain_id: + type: string + height: + type: string + format: int64 + time: + type: string + format: date-time + last_block_id: + title: prev block info + type: object + properties: + hash: + type: string + format: byte + part_set_header: + type: object + properties: + total: + type: integer + format: int64 + hash: + type: string + format: byte + title: PartsetHeader + last_commit_hash: + type: string + format: byte + title: hashes of block data + data_hash: + type: string + format: byte + validators_hash: + type: string + format: byte + title: hashes from the app output from the prev block + next_validators_hash: + type: string + format: byte + consensus_hash: + type: string + format: byte + app_hash: + type: string + format: byte + last_results_hash: + type: string + format: byte + evidence_hash: + type: string + format: byte + title: consensus info + proposer_address: + type: string + format: byte + description: Header defines the structure of a Tendermint block header. + valset: + type: array + items: + type: object + properties: + operator_address: + type: string + description: operator_address defines the address of the validator's operator; bech encoded in JSON. + consensus_pubkey: + type: object + properties: + type_url: + type: string + description: >- + A URL/resource name that uniquely identifies the type of the serialized + + protocol buffer message. This string must contain at least + + one "/" character. The last segment of the URL's path must represent + + the fully qualified name of the type (as in + + `path/google.protobuf.Duration`). The name should be in a canonical form + + (e.g., leading "." is not accepted). + + + In practice, teams usually precompile into the binary all types that they + + expect it to use in the context of Any. However, for URLs which use the + + scheme `http`, `https`, or no scheme, one can optionally set up a type + + server that maps type URLs to message definitions as follows: + + + * If no scheme is provided, `https` is assumed. + + * An HTTP GET on the URL must yield a [google.protobuf.Type][] + + value in binary format, or produce an error. + * Applications are allowed to cache lookup results based on the + + URL, or have them precompiled into a binary to avoid any + lookup. Therefore, binary compatibility needs to be preserved + on changes to types. (Use versioned type names to manage + breaking changes.) + + Note: this functionality is not currently available in the official + + protobuf release, and it is not used for type URLs beginning with + + type.googleapis.com. + + + Schemes other than `http`, `https` (or the empty scheme) might be + + used with implementation specific semantics. + value: + type: string + format: byte + description: Must be a valid serialized protocol buffer of the above specified type. + description: >- + `Any` contains an arbitrary serialized protocol buffer message along with a + + URL that describes the type of the serialized message. + + + Protobuf library provides support to pack/unpack Any values in the form + + of utility functions or additional generated methods of the Any type. + + + Example 1: Pack and unpack a message in C++. + + + Foo foo = ...; + Any any; + any.PackFrom(foo); + ... + if (any.UnpackTo(&foo)) { + ... + } + + Example 2: Pack and unpack a message in Java. + + + Foo foo = ...; + Any any = Any.pack(foo); + ... + if (any.is(Foo.class)) { + foo = any.unpack(Foo.class); + } + + Example 3: Pack and unpack a message in Python. + + foo = Foo(...) + any = Any() + any.Pack(foo) + ... + if any.Is(Foo.DESCRIPTOR): + any.Unpack(foo) + ... + + Example 4: Pack and unpack a message in Go + + foo := &pb.Foo{...} + any, err := ptypes.MarshalAny(foo) + ... + foo := &pb.Foo{} + if err := ptypes.UnmarshalAny(any, foo); err != nil { + ... + } + + The pack methods provided by protobuf library will by default use + + 'type.googleapis.com/full.type.name' as the type URL and the unpack + + methods only use the fully qualified type name after the last '/' + + in the type URL, for example "foo.bar.com/x/y.z" will yield type + + name "y.z". + + + + JSON + + ==== + + The JSON representation of an `Any` value uses the regular + + representation of the deserialized, embedded message, with an + + additional field `@type` which contains the type URL. Example: + + + package google.profile; + message Person { + string first_name = 1; + string last_name = 2; + } + + { + "@type": "type.googleapis.com/google.profile.Person", + "firstName": , + "lastName": + } + + If the embedded message type is well-known and has a custom JSON + + representation, that representation will be embedded adding a field + + `value` which holds the custom JSON in addition to the `@type` + + field. Example (for message [google.protobuf.Duration][]): + + + { + "@type": "type.googleapis.com/google.protobuf.Duration", + "value": "1.212s" + } + jailed: + type: boolean + description: jailed defined whether the validator has been jailed from bonded status or not. + status: + description: status is the validator status (bonded/unbonding/unbonded). + type: string + enum: + - BOND_STATUS_UNSPECIFIED + - BOND_STATUS_UNBONDED + - BOND_STATUS_UNBONDING + - BOND_STATUS_BONDED + default: BOND_STATUS_UNSPECIFIED + tokens: + type: string + description: tokens define the delegated tokens (incl. self-delegation). + delegator_shares: + type: string + description: delegator_shares defines total shares issued to a validator's delegators. + description: + description: description defines the description terms for the validator. + type: object + properties: + moniker: + type: string + description: moniker defines a human-readable name for the validator. + identity: + type: string + description: identity defines an optional identity signature (ex. UPort or Keybase). + website: + type: string + description: website defines an optional website link. + security_contact: + type: string + description: security_contact defines an optional email for security contact. + details: + type: string + description: details define other optional details. + unbonding_height: + type: string + format: int64 + description: unbonding_height defines, if unbonding, the height at which this validator has begun unbonding. + unbonding_time: + type: string + format: date-time + description: unbonding_time defines, if unbonding, the min time for the validator to complete unbonding. + commission: + description: commission defines the commission parameters. + type: object + properties: + commission_rates: + description: commission_rates defines the initial commission rates to be used for creating a validator. + type: object + properties: + rate: + type: string + description: rate is the commission rate charged to delegators, as a fraction. + max_rate: + type: string + description: max_rate defines the maximum commission rate which validator can ever charge, as a fraction. + max_change_rate: + type: string + description: max_change_rate defines the maximum daily increase of the validator commission, as a fraction. + update_time: + type: string + format: date-time + description: update_time is the last time the commission rate was changed. + min_self_delegation: + type: string + description: min_self_delegation is the validator's self declared minimum self delegation. + description: >- + Validator defines a validator, together with the total amount of the + + Validator's bond shares and their exchange rate to coins. Slashing results in + + a decrease in the exchange rate, allowing correct calculation of future + + undelegations without iterating over delegators. When coins are delegated to + + this validator, the validator is credited with a delegation whose number of + + bond shares is based on the amount of coins delegated divided by the current + + exchange rate. Voting power can be calculated as total bonded shares + + multiplied by exchange rate. + description: >- + QueryHistoricalInfoResponse is response type for the Query/HistoricalInfo RPC + + method. + default: + description: An unexpected error response. + content: + "*/*": + schema: + type: object + properties: + error: + type: string + code: + type: integer + format: int32 + message: + type: string + details: + type: array + items: + type: object + properties: + type_url: + type: string + description: >- + A URL/resource name that uniquely identifies the type of the serialized + + protocol buffer message. This string must contain at least + + one "/" character. The last segment of the URL's path must represent + + the fully qualified name of the type (as in + + `path/google.protobuf.Duration`). The name should be in a canonical form + + (e.g., leading "." is not accepted). + + + In practice, teams usually precompile into the binary all types that they + + expect it to use in the context of Any. However, for URLs which use the + + scheme `http`, `https`, or no scheme, one can optionally set up a type + + server that maps type URLs to message definitions as follows: + + + * If no scheme is provided, `https` is assumed. + + * An HTTP GET on the URL must yield a [google.protobuf.Type][] + + value in binary format, or produce an error. + * Applications are allowed to cache lookup results based on the + + URL, or have them precompiled into a binary to avoid any + lookup. Therefore, binary compatibility needs to be preserved + on changes to types. (Use versioned type names to manage + breaking changes.) + + Note: this functionality is not currently available in the official + + protobuf release, and it is not used for type URLs beginning with + + type.googleapis.com. + + + Schemes other than `http`, `https` (or the empty scheme) might be + + used with implementation specific semantics. + value: + type: string + format: byte + description: Must be a valid serialized protocol buffer of the above specified type. + description: >- + `Any` contains an arbitrary serialized protocol buffer message along with a + + URL that describes the type of the serialized message. + + + Protobuf library provides support to pack/unpack Any values in the form + + of utility functions or additional generated methods of the Any type. + + + Example 1: Pack and unpack a message in C++. + + + Foo foo = ...; + Any any; + any.PackFrom(foo); + ... + if (any.UnpackTo(&foo)) { + ... + } + + Example 2: Pack and unpack a message in Java. + + + Foo foo = ...; + Any any = Any.pack(foo); + ... + if (any.is(Foo.class)) { + foo = any.unpack(Foo.class); + } + + Example 3: Pack and unpack a message in Python. + + foo = Foo(...) + any = Any() + any.Pack(foo) + ... + if any.Is(Foo.DESCRIPTOR): + any.Unpack(foo) + ... + + Example 4: Pack and unpack a message in Go + + foo := &pb.Foo{...} + any, err := ptypes.MarshalAny(foo) + ... + foo := &pb.Foo{} + if err := ptypes.UnmarshalAny(any, foo); err != nil { + ... + } + + The pack methods provided by protobuf library will by default use + + 'type.googleapis.com/full.type.name' as the type URL and the unpack + + methods only use the fully qualified type name after the last '/' + + in the type URL, for example "foo.bar.com/x/y.z" will yield type + + name "y.z". + + + + JSON + + ==== + + The JSON representation of an `Any` value uses the regular + + representation of the deserialized, embedded message, with an + + additional field `@type` which contains the type URL. Example: + + + package google.profile; + message Person { + string first_name = 1; + string last_name = 2; + } + + { + "@type": "type.googleapis.com/google.profile.Person", + "firstName": , + "lastName": + } + + If the embedded message type is well-known and has a custom JSON + + representation, that representation will be embedded adding a field + + `value` which holds the custom JSON in addition to the `@type` + + field. Example (for message [google.protobuf.Duration][]): + + + { + "@type": "type.googleapis.com/google.protobuf.Duration", + "value": "1.212s" + } + parameters: + - name: height + description: height defines at which height to query the historical info. + in: path + required: true + schema: + type: string + format: int64 + tags: + - Query + /cosmos/staking/v1beta1/params: + get: + summary: Parameters queries the staking parameters. + operationId: StakingParams + responses: + "200": + description: A successful response. + content: + "*/*": + schema: + type: object + properties: + params: + description: params holds all the parameters of this module. + type: object + properties: + unbonding_time: + type: string + description: unbonding_time is the time duration of unbonding. + max_validators: + type: integer + format: int64 + description: max_validators is the maximum number of validators. + max_entries: + type: integer + format: int64 + description: max_entries is the max entries for either unbonding delegation or redelegation (per pair/trio). + historical_entries: + type: integer + format: int64 + description: historical_entries is the number of historical entries to persist. + bond_denom: + type: string + description: bond_denom defines the bondable coin denomination. + description: QueryParamsResponse is response type for the Query/Params RPC method. + default: + description: An unexpected error response. + content: + "*/*": + schema: + type: object + properties: + error: + type: string + code: + type: integer + format: int32 + message: + type: string + details: + type: array + items: + type: object + properties: + type_url: + type: string + description: >- + A URL/resource name that uniquely identifies the type of the serialized + + protocol buffer message. This string must contain at least + + one "/" character. The last segment of the URL's path must represent + + the fully qualified name of the type (as in + + `path/google.protobuf.Duration`). The name should be in a canonical form + + (e.g., leading "." is not accepted). + + + In practice, teams usually precompile into the binary all types that they + + expect it to use in the context of Any. However, for URLs which use the + + scheme `http`, `https`, or no scheme, one can optionally set up a type + + server that maps type URLs to message definitions as follows: + + + * If no scheme is provided, `https` is assumed. + + * An HTTP GET on the URL must yield a [google.protobuf.Type][] + + value in binary format, or produce an error. + * Applications are allowed to cache lookup results based on the + + URL, or have them precompiled into a binary to avoid any + lookup. Therefore, binary compatibility needs to be preserved + on changes to types. (Use versioned type names to manage + breaking changes.) + + Note: this functionality is not currently available in the official + + protobuf release, and it is not used for type URLs beginning with + + type.googleapis.com. + + + Schemes other than `http`, `https` (or the empty scheme) might be + + used with implementation specific semantics. + value: + type: string + format: byte + description: Must be a valid serialized protocol buffer of the above specified type. + description: >- + `Any` contains an arbitrary serialized protocol buffer message along with a + + URL that describes the type of the serialized message. + + + Protobuf library provides support to pack/unpack Any values in the form + + of utility functions or additional generated methods of the Any type. + + + Example 1: Pack and unpack a message in C++. + + + Foo foo = ...; + Any any; + any.PackFrom(foo); + ... + if (any.UnpackTo(&foo)) { + ... + } + + Example 2: Pack and unpack a message in Java. + + + Foo foo = ...; + Any any = Any.pack(foo); + ... + if (any.is(Foo.class)) { + foo = any.unpack(Foo.class); + } + + Example 3: Pack and unpack a message in Python. + + foo = Foo(...) + any = Any() + any.Pack(foo) + ... + if any.Is(Foo.DESCRIPTOR): + any.Unpack(foo) + ... + + Example 4: Pack and unpack a message in Go + + foo := &pb.Foo{...} + any, err := ptypes.MarshalAny(foo) + ... + foo := &pb.Foo{} + if err := ptypes.UnmarshalAny(any, foo); err != nil { + ... + } + + The pack methods provided by protobuf library will by default use + + 'type.googleapis.com/full.type.name' as the type URL and the unpack + + methods only use the fully qualified type name after the last '/' + + in the type URL, for example "foo.bar.com/x/y.z" will yield type + + name "y.z". + + + + JSON + + ==== + + The JSON representation of an `Any` value uses the regular + + representation of the deserialized, embedded message, with an + + additional field `@type` which contains the type URL. Example: + + + package google.profile; + message Person { + string first_name = 1; + string last_name = 2; + } + + { + "@type": "type.googleapis.com/google.profile.Person", + "firstName": , + "lastName": + } + + If the embedded message type is well-known and has a custom JSON + + representation, that representation will be embedded adding a field + + `value` which holds the custom JSON in addition to the `@type` + + field. Example (for message [google.protobuf.Duration][]): + + + { + "@type": "type.googleapis.com/google.protobuf.Duration", + "value": "1.212s" + } + tags: + - Query + /cosmos/staking/v1beta1/pool: + get: + summary: Pool queries the pool info. + operationId: StakingPool + responses: + "200": + description: A successful response. + content: + "*/*": + schema: + type: object + properties: + pool: + description: pool defines the pool info. + type: object + properties: + not_bonded_tokens: + type: string + bonded_tokens: + type: string + description: QueryPoolResponse is response type for the Query/Pool RPC method. + default: + description: An unexpected error response. + content: + "*/*": + schema: + type: object + properties: + error: + type: string + code: + type: integer + format: int32 + message: + type: string + details: + type: array + items: + type: object + properties: + type_url: + type: string + description: >- + A URL/resource name that uniquely identifies the type of the serialized + + protocol buffer message. This string must contain at least + + one "/" character. The last segment of the URL's path must represent + + the fully qualified name of the type (as in + + `path/google.protobuf.Duration`). The name should be in a canonical form + + (e.g., leading "." is not accepted). + + + In practice, teams usually precompile into the binary all types that they + + expect it to use in the context of Any. However, for URLs which use the + + scheme `http`, `https`, or no scheme, one can optionally set up a type + + server that maps type URLs to message definitions as follows: + + + * If no scheme is provided, `https` is assumed. + + * An HTTP GET on the URL must yield a [google.protobuf.Type][] + + value in binary format, or produce an error. + * Applications are allowed to cache lookup results based on the + + URL, or have them precompiled into a binary to avoid any + lookup. Therefore, binary compatibility needs to be preserved + on changes to types. (Use versioned type names to manage + breaking changes.) + + Note: this functionality is not currently available in the official + + protobuf release, and it is not used for type URLs beginning with + + type.googleapis.com. + + + Schemes other than `http`, `https` (or the empty scheme) might be + + used with implementation specific semantics. + value: + type: string + format: byte + description: Must be a valid serialized protocol buffer of the above specified type. + description: >- + `Any` contains an arbitrary serialized protocol buffer message along with a + + URL that describes the type of the serialized message. + + + Protobuf library provides support to pack/unpack Any values in the form + + of utility functions or additional generated methods of the Any type. + + + Example 1: Pack and unpack a message in C++. + + + Foo foo = ...; + Any any; + any.PackFrom(foo); + ... + if (any.UnpackTo(&foo)) { + ... + } + + Example 2: Pack and unpack a message in Java. + + + Foo foo = ...; + Any any = Any.pack(foo); + ... + if (any.is(Foo.class)) { + foo = any.unpack(Foo.class); + } + + Example 3: Pack and unpack a message in Python. + + foo = Foo(...) + any = Any() + any.Pack(foo) + ... + if any.Is(Foo.DESCRIPTOR): + any.Unpack(foo) + ... + + Example 4: Pack and unpack a message in Go + + foo := &pb.Foo{...} + any, err := ptypes.MarshalAny(foo) + ... + foo := &pb.Foo{} + if err := ptypes.UnmarshalAny(any, foo); err != nil { + ... + } + + The pack methods provided by protobuf library will by default use + + 'type.googleapis.com/full.type.name' as the type URL and the unpack + + methods only use the fully qualified type name after the last '/' + + in the type URL, for example "foo.bar.com/x/y.z" will yield type + + name "y.z". + + + + JSON + + ==== + + The JSON representation of an `Any` value uses the regular + + representation of the deserialized, embedded message, with an + + additional field `@type` which contains the type URL. Example: + + + package google.profile; + message Person { + string first_name = 1; + string last_name = 2; + } + + { + "@type": "type.googleapis.com/google.profile.Person", + "firstName": , + "lastName": + } + + If the embedded message type is well-known and has a custom JSON + + representation, that representation will be embedded adding a field + + `value` which holds the custom JSON in addition to the `@type` + + field. Example (for message [google.protobuf.Duration][]): + + + { + "@type": "type.googleapis.com/google.protobuf.Duration", + "value": "1.212s" + } + tags: + - Query + /cosmos/staking/v1beta1/validators: + get: + summary: Validators queries all validators that match the given status. + operationId: Validators + responses: + "200": + description: A successful response. + content: + "*/*": + schema: + type: object + properties: + validators: + type: array + items: + type: object + properties: + operator_address: + type: string + description: operator_address defines the address of the validator's operator; bech encoded in JSON. + consensus_pubkey: + type: object + properties: + type_url: + type: string + description: >- + A URL/resource name that uniquely identifies the type of the serialized + + protocol buffer message. This string must contain at least + + one "/" character. The last segment of the URL's path must represent + + the fully qualified name of the type (as in + + `path/google.protobuf.Duration`). The name should be in a canonical form + + (e.g., leading "." is not accepted). + + + In practice, teams usually precompile into the binary all types that they + + expect it to use in the context of Any. However, for URLs which use the + + scheme `http`, `https`, or no scheme, one can optionally set up a type + + server that maps type URLs to message definitions as follows: + + + * If no scheme is provided, `https` is assumed. + + * An HTTP GET on the URL must yield a [google.protobuf.Type][] + + value in binary format, or produce an error. + * Applications are allowed to cache lookup results based on the + + URL, or have them precompiled into a binary to avoid any + lookup. Therefore, binary compatibility needs to be preserved + on changes to types. (Use versioned type names to manage + breaking changes.) + + Note: this functionality is not currently available in the official + + protobuf release, and it is not used for type URLs beginning with + + type.googleapis.com. + + + Schemes other than `http`, `https` (or the empty scheme) might be + + used with implementation specific semantics. + value: + type: string + format: byte + description: Must be a valid serialized protocol buffer of the above specified type. + description: >- + `Any` contains an arbitrary serialized protocol buffer message along with a + + URL that describes the type of the serialized message. + + + Protobuf library provides support to pack/unpack Any values in the form + + of utility functions or additional generated methods of the Any type. + + + Example 1: Pack and unpack a message in C++. + + + Foo foo = ...; + Any any; + any.PackFrom(foo); + ... + if (any.UnpackTo(&foo)) { + ... + } + + Example 2: Pack and unpack a message in Java. + + + Foo foo = ...; + Any any = Any.pack(foo); + ... + if (any.is(Foo.class)) { + foo = any.unpack(Foo.class); + } + + Example 3: Pack and unpack a message in Python. + + foo = Foo(...) + any = Any() + any.Pack(foo) + ... + if any.Is(Foo.DESCRIPTOR): + any.Unpack(foo) + ... + + Example 4: Pack and unpack a message in Go + + foo := &pb.Foo{...} + any, err := ptypes.MarshalAny(foo) + ... + foo := &pb.Foo{} + if err := ptypes.UnmarshalAny(any, foo); err != nil { + ... + } + + The pack methods provided by protobuf library will by default use + + 'type.googleapis.com/full.type.name' as the type URL and the unpack + + methods only use the fully qualified type name after the last '/' + + in the type URL, for example "foo.bar.com/x/y.z" will yield type + + name "y.z". + + + + JSON + + ==== + + The JSON representation of an `Any` value uses the regular + + representation of the deserialized, embedded message, with an + + additional field `@type` which contains the type URL. Example: + + + package google.profile; + message Person { + string first_name = 1; + string last_name = 2; + } + + { + "@type": "type.googleapis.com/google.profile.Person", + "firstName": , + "lastName": + } + + If the embedded message type is well-known and has a custom JSON + + representation, that representation will be embedded adding a field + + `value` which holds the custom JSON in addition to the `@type` + + field. Example (for message [google.protobuf.Duration][]): + + + { + "@type": "type.googleapis.com/google.protobuf.Duration", + "value": "1.212s" + } + jailed: + type: boolean + description: jailed defined whether the validator has been jailed from bonded status or not. + status: + description: status is the validator status (bonded/unbonding/unbonded). + type: string + enum: + - BOND_STATUS_UNSPECIFIED + - BOND_STATUS_UNBONDED + - BOND_STATUS_UNBONDING + - BOND_STATUS_BONDED + default: BOND_STATUS_UNSPECIFIED + tokens: + type: string + description: tokens define the delegated tokens (incl. self-delegation). + delegator_shares: + type: string + description: delegator_shares defines total shares issued to a validator's delegators. + description: + description: description defines the description terms for the validator. + type: object + properties: + moniker: + type: string + description: moniker defines a human-readable name for the validator. + identity: + type: string + description: identity defines an optional identity signature (ex. UPort or Keybase). + website: + type: string + description: website defines an optional website link. + security_contact: + type: string + description: security_contact defines an optional email for security contact. + details: + type: string + description: details define other optional details. + unbonding_height: + type: string + format: int64 + description: unbonding_height defines, if unbonding, the height at which this validator has begun unbonding. + unbonding_time: + type: string + format: date-time + description: unbonding_time defines, if unbonding, the min time for the validator to complete unbonding. + commission: + description: commission defines the commission parameters. + type: object + properties: + commission_rates: + description: commission_rates defines the initial commission rates to be used for creating a validator. + type: object + properties: + rate: + type: string + description: rate is the commission rate charged to delegators, as a fraction. + max_rate: + type: string + description: max_rate defines the maximum commission rate which validator can ever charge, as a fraction. + max_change_rate: + type: string + description: max_change_rate defines the maximum daily increase of the validator commission, as a fraction. + update_time: + type: string + format: date-time + description: update_time is the last time the commission rate was changed. + min_self_delegation: + type: string + description: min_self_delegation is the validator's self declared minimum self delegation. + description: >- + Validator defines a validator, together with the total amount of the + + Validator's bond shares and their exchange rate to coins. Slashing results in + + a decrease in the exchange rate, allowing correct calculation of future + + undelegations without iterating over delegators. When coins are delegated to + + this validator, the validator is credited with a delegation whose number of + + bond shares is based on the amount of coins delegated divided by the current + + exchange rate. Voting power can be calculated as total bonded shares + + multiplied by exchange rate. + description: validators contains all the queried validators. + pagination: + description: pagination defines the pagination in the response. + type: object + properties: + next_key: + type: string + format: byte + title: |- + next_key is the key to be passed to PageRequest.key to + query the next page most efficiently + total: + type: string + format: uint64 + title: >- + total is total number of results available if PageRequest.count_total + + was set, its value is undefined otherwise + title: QueryValidatorsResponse is response type for the Query/Validators RPC method + default: + description: An unexpected error response. + content: + "*/*": + schema: + type: object + properties: + error: + type: string + code: + type: integer + format: int32 + message: + type: string + details: + type: array + items: + type: object + properties: + type_url: + type: string + description: >- + A URL/resource name that uniquely identifies the type of the serialized + + protocol buffer message. This string must contain at least + + one "/" character. The last segment of the URL's path must represent + + the fully qualified name of the type (as in + + `path/google.protobuf.Duration`). The name should be in a canonical form + + (e.g., leading "." is not accepted). + + + In practice, teams usually precompile into the binary all types that they + + expect it to use in the context of Any. However, for URLs which use the + + scheme `http`, `https`, or no scheme, one can optionally set up a type + + server that maps type URLs to message definitions as follows: + + + * If no scheme is provided, `https` is assumed. + + * An HTTP GET on the URL must yield a [google.protobuf.Type][] + + value in binary format, or produce an error. + * Applications are allowed to cache lookup results based on the + + URL, or have them precompiled into a binary to avoid any + lookup. Therefore, binary compatibility needs to be preserved + on changes to types. (Use versioned type names to manage + breaking changes.) + + Note: this functionality is not currently available in the official + + protobuf release, and it is not used for type URLs beginning with + + type.googleapis.com. + + + Schemes other than `http`, `https` (or the empty scheme) might be + + used with implementation specific semantics. + value: + type: string + format: byte + description: Must be a valid serialized protocol buffer of the above specified type. + description: >- + `Any` contains an arbitrary serialized protocol buffer message along with a + + URL that describes the type of the serialized message. + + + Protobuf library provides support to pack/unpack Any values in the form + + of utility functions or additional generated methods of the Any type. + + + Example 1: Pack and unpack a message in C++. + + + Foo foo = ...; + Any any; + any.PackFrom(foo); + ... + if (any.UnpackTo(&foo)) { + ... + } + + Example 2: Pack and unpack a message in Java. + + + Foo foo = ...; + Any any = Any.pack(foo); + ... + if (any.is(Foo.class)) { + foo = any.unpack(Foo.class); + } + + Example 3: Pack and unpack a message in Python. + + foo = Foo(...) + any = Any() + any.Pack(foo) + ... + if any.Is(Foo.DESCRIPTOR): + any.Unpack(foo) + ... + + Example 4: Pack and unpack a message in Go + + foo := &pb.Foo{...} + any, err := ptypes.MarshalAny(foo) + ... + foo := &pb.Foo{} + if err := ptypes.UnmarshalAny(any, foo); err != nil { + ... + } + + The pack methods provided by protobuf library will by default use + + 'type.googleapis.com/full.type.name' as the type URL and the unpack + + methods only use the fully qualified type name after the last '/' + + in the type URL, for example "foo.bar.com/x/y.z" will yield type + + name "y.z". + + + + JSON + + ==== + + The JSON representation of an `Any` value uses the regular + + representation of the deserialized, embedded message, with an + + additional field `@type` which contains the type URL. Example: + + + package google.profile; + message Person { + string first_name = 1; + string last_name = 2; + } + + { + "@type": "type.googleapis.com/google.profile.Person", + "firstName": , + "lastName": + } + + If the embedded message type is well-known and has a custom JSON + + representation, that representation will be embedded adding a field + + `value` which holds the custom JSON in addition to the `@type` + + field. Example (for message [google.protobuf.Duration][]): + + + { + "@type": "type.googleapis.com/google.protobuf.Duration", + "value": "1.212s" + } + parameters: + - name: status + description: status enables to query for validators matching a given status. + in: query + required: false + schema: + type: string + - name: pagination.key + description: |- + key is a value returned in PageResponse.next_key to begin + querying the next page most efficiently. Only one of offset or key + should be set. + in: query + required: false + schema: + type: string + format: byte + - name: pagination.offset + description: >- + offset is a numeric offset that can be used when key is unavailable. + + It is less efficient than using key. Only one of offset or key should + + be set. + in: query + required: false + schema: + type: string + format: uint64 + - name: pagination.limit + description: >- + limit is the total number of results to be returned in the result page. + + If left empty it will default to a value to be set by each app. + in: query + required: false + schema: + type: string + format: uint64 + - name: pagination.count_total + description: >- + count_total is set to true to indicate that the result set should include + + a count of the total number of items available for pagination in UIs. + + count_total is only respected when offset is used. It is ignored when key + + is set. + in: query + required: false + schema: + type: boolean + - name: pagination.reverse + description: >- + reverse is set to true if results are to be returned in the descending + + order. + in: query + required: false + schema: + type: boolean + tags: + - Query + "/cosmos/staking/v1beta1/validators/{validator_addr}": + get: + summary: Validator queries validator info for given validator address. + operationId: Validator + responses: + "200": + description: A successful response. + content: + "*/*": + schema: + type: object + properties: + validator: + type: object + properties: + operator_address: + type: string + description: operator_address defines the address of the validator's operator; bech encoded in JSON. + consensus_pubkey: + type: object + properties: + type_url: + type: string + description: >- + A URL/resource name that uniquely identifies the type of the serialized + + protocol buffer message. This string must contain at least + + one "/" character. The last segment of the URL's path must represent + + the fully qualified name of the type (as in + + `path/google.protobuf.Duration`). The name should be in a canonical form + + (e.g., leading "." is not accepted). + + + In practice, teams usually precompile into the binary all types that they + + expect it to use in the context of Any. However, for URLs which use the + + scheme `http`, `https`, or no scheme, one can optionally set up a type + + server that maps type URLs to message definitions as follows: + + + * If no scheme is provided, `https` is assumed. + + * An HTTP GET on the URL must yield a [google.protobuf.Type][] + + value in binary format, or produce an error. + * Applications are allowed to cache lookup results based on the + + URL, or have them precompiled into a binary to avoid any + lookup. Therefore, binary compatibility needs to be preserved + on changes to types. (Use versioned type names to manage + breaking changes.) + + Note: this functionality is not currently available in the official + + protobuf release, and it is not used for type URLs beginning with + + type.googleapis.com. + + + Schemes other than `http`, `https` (or the empty scheme) might be + + used with implementation specific semantics. + value: + type: string + format: byte + description: Must be a valid serialized protocol buffer of the above specified type. + description: >- + `Any` contains an arbitrary serialized protocol buffer message along with a + + URL that describes the type of the serialized message. + + + Protobuf library provides support to pack/unpack Any values in the form + + of utility functions or additional generated methods of the Any type. + + + Example 1: Pack and unpack a message in C++. + + + Foo foo = ...; + Any any; + any.PackFrom(foo); + ... + if (any.UnpackTo(&foo)) { + ... + } + + Example 2: Pack and unpack a message in Java. + + + Foo foo = ...; + Any any = Any.pack(foo); + ... + if (any.is(Foo.class)) { + foo = any.unpack(Foo.class); + } + + Example 3: Pack and unpack a message in Python. + + foo = Foo(...) + any = Any() + any.Pack(foo) + ... + if any.Is(Foo.DESCRIPTOR): + any.Unpack(foo) + ... + + Example 4: Pack and unpack a message in Go + + foo := &pb.Foo{...} + any, err := ptypes.MarshalAny(foo) + ... + foo := &pb.Foo{} + if err := ptypes.UnmarshalAny(any, foo); err != nil { + ... + } + + The pack methods provided by protobuf library will by default use + + 'type.googleapis.com/full.type.name' as the type URL and the unpack + + methods only use the fully qualified type name after the last '/' + + in the type URL, for example "foo.bar.com/x/y.z" will yield type + + name "y.z". + + + + JSON + + ==== + + The JSON representation of an `Any` value uses the regular + + representation of the deserialized, embedded message, with an + + additional field `@type` which contains the type URL. Example: + + + package google.profile; + message Person { + string first_name = 1; + string last_name = 2; + } + + { + "@type": "type.googleapis.com/google.profile.Person", + "firstName": , + "lastName": + } + + If the embedded message type is well-known and has a custom JSON + + representation, that representation will be embedded adding a field + + `value` which holds the custom JSON in addition to the `@type` + + field. Example (for message [google.protobuf.Duration][]): + + + { + "@type": "type.googleapis.com/google.protobuf.Duration", + "value": "1.212s" + } + jailed: + type: boolean + description: jailed defined whether the validator has been jailed from bonded status or not. + status: + description: status is the validator status (bonded/unbonding/unbonded). + type: string + enum: + - BOND_STATUS_UNSPECIFIED + - BOND_STATUS_UNBONDED + - BOND_STATUS_UNBONDING + - BOND_STATUS_BONDED + default: BOND_STATUS_UNSPECIFIED + tokens: + type: string + description: tokens define the delegated tokens (incl. self-delegation). + delegator_shares: + type: string + description: delegator_shares defines total shares issued to a validator's delegators. + description: + description: description defines the description terms for the validator. + type: object + properties: + moniker: + type: string + description: moniker defines a human-readable name for the validator. + identity: + type: string + description: identity defines an optional identity signature (ex. UPort or Keybase). + website: + type: string + description: website defines an optional website link. + security_contact: + type: string + description: security_contact defines an optional email for security contact. + details: + type: string + description: details define other optional details. + unbonding_height: + type: string + format: int64 + description: unbonding_height defines, if unbonding, the height at which this validator has begun unbonding. + unbonding_time: + type: string + format: date-time + description: unbonding_time defines, if unbonding, the min time for the validator to complete unbonding. + commission: + description: commission defines the commission parameters. + type: object + properties: + commission_rates: + description: commission_rates defines the initial commission rates to be used for creating a validator. + type: object + properties: + rate: + type: string + description: rate is the commission rate charged to delegators, as a fraction. + max_rate: + type: string + description: max_rate defines the maximum commission rate which validator can ever charge, as a fraction. + max_change_rate: + type: string + description: max_change_rate defines the maximum daily increase of the validator commission, as a fraction. + update_time: + type: string + format: date-time + description: update_time is the last time the commission rate was changed. + min_self_delegation: + type: string + description: min_self_delegation is the validator's self declared minimum self delegation. + description: >- + Validator defines a validator, together with the total amount of the + + Validator's bond shares and their exchange rate to coins. Slashing results in + + a decrease in the exchange rate, allowing correct calculation of future + + undelegations without iterating over delegators. When coins are delegated to + + this validator, the validator is credited with a delegation whose number of + + bond shares is based on the amount of coins delegated divided by the current + + exchange rate. Voting power can be calculated as total bonded shares + + multiplied by exchange rate. + title: QueryValidatorResponse is response type for the Query/Validator RPC method + default: + description: An unexpected error response. + content: + "*/*": + schema: + type: object + properties: + error: + type: string + code: + type: integer + format: int32 + message: + type: string + details: + type: array + items: + type: object + properties: + type_url: + type: string + description: >- + A URL/resource name that uniquely identifies the type of the serialized + + protocol buffer message. This string must contain at least + + one "/" character. The last segment of the URL's path must represent + + the fully qualified name of the type (as in + + `path/google.protobuf.Duration`). The name should be in a canonical form + + (e.g., leading "." is not accepted). + + + In practice, teams usually precompile into the binary all types that they + + expect it to use in the context of Any. However, for URLs which use the + + scheme `http`, `https`, or no scheme, one can optionally set up a type + + server that maps type URLs to message definitions as follows: + + + * If no scheme is provided, `https` is assumed. + + * An HTTP GET on the URL must yield a [google.protobuf.Type][] + + value in binary format, or produce an error. + * Applications are allowed to cache lookup results based on the + + URL, or have them precompiled into a binary to avoid any + lookup. Therefore, binary compatibility needs to be preserved + on changes to types. (Use versioned type names to manage + breaking changes.) + + Note: this functionality is not currently available in the official + + protobuf release, and it is not used for type URLs beginning with + + type.googleapis.com. + + + Schemes other than `http`, `https` (or the empty scheme) might be + + used with implementation specific semantics. + value: + type: string + format: byte + description: Must be a valid serialized protocol buffer of the above specified type. + description: >- + `Any` contains an arbitrary serialized protocol buffer message along with a + + URL that describes the type of the serialized message. + + + Protobuf library provides support to pack/unpack Any values in the form + + of utility functions or additional generated methods of the Any type. + + + Example 1: Pack and unpack a message in C++. + + + Foo foo = ...; + Any any; + any.PackFrom(foo); + ... + if (any.UnpackTo(&foo)) { + ... + } + + Example 2: Pack and unpack a message in Java. + + + Foo foo = ...; + Any any = Any.pack(foo); + ... + if (any.is(Foo.class)) { + foo = any.unpack(Foo.class); + } + + Example 3: Pack and unpack a message in Python. + + foo = Foo(...) + any = Any() + any.Pack(foo) + ... + if any.Is(Foo.DESCRIPTOR): + any.Unpack(foo) + ... + + Example 4: Pack and unpack a message in Go + + foo := &pb.Foo{...} + any, err := ptypes.MarshalAny(foo) + ... + foo := &pb.Foo{} + if err := ptypes.UnmarshalAny(any, foo); err != nil { + ... + } + + The pack methods provided by protobuf library will by default use + + 'type.googleapis.com/full.type.name' as the type URL and the unpack + + methods only use the fully qualified type name after the last '/' + + in the type URL, for example "foo.bar.com/x/y.z" will yield type + + name "y.z". + + + + JSON + + ==== + + The JSON representation of an `Any` value uses the regular + + representation of the deserialized, embedded message, with an + + additional field `@type` which contains the type URL. Example: + + + package google.profile; + message Person { + string first_name = 1; + string last_name = 2; + } + + { + "@type": "type.googleapis.com/google.profile.Person", + "firstName": , + "lastName": + } + + If the embedded message type is well-known and has a custom JSON + + representation, that representation will be embedded adding a field + + `value` which holds the custom JSON in addition to the `@type` + + field. Example (for message [google.protobuf.Duration][]): + + + { + "@type": "type.googleapis.com/google.protobuf.Duration", + "value": "1.212s" + } + parameters: + - name: validator_addr + description: validator_addr defines the validator address to query for. + in: path + required: true + schema: + type: string + tags: + - Query + "/cosmos/staking/v1beta1/validators/{validator_addr}/delegations": + get: + summary: ValidatorDelegations queries delegate info for given validator. + operationId: ValidatorDelegations + responses: + "200": + description: A successful response. + content: + "*/*": + schema: + type: object + properties: + delegation_responses: + type: array + items: + type: object + properties: + delegation: + type: object + properties: + delegator_address: + type: string + description: delegator_address is the bech32-encoded address of the delegator. + validator_address: + type: string + description: validator_address is the bech32-encoded address of the validator. + shares: + type: string + description: shares define the delegation shares received. + description: >- + Delegation represents the bond with tokens held by an account. It is + + owned by one delegator, and is associated with the voting power of one + + validator. + balance: + type: object + properties: + denom: + type: string + amount: + type: string + description: >- + Coin defines a token with a denomination and an amount. + + + NOTE: The amount field is an Int which implements the custom method + + signatures required by gogoproto. + description: >- + DelegationResponse is equivalent to Delegation except that it contains a + + balance in addition to shares which is more suitable for client responses. + pagination: + description: pagination defines the pagination in the response. + type: object + properties: + next_key: + type: string + format: byte + title: |- + next_key is the key to be passed to PageRequest.key to + query the next page most efficiently + total: + type: string + format: uint64 + title: >- + total is total number of results available if PageRequest.count_total + + was set, its value is undefined otherwise + title: |- + QueryValidatorDelegationsResponse is response type for the + Query/ValidatorDelegations RPC method + default: + description: An unexpected error response. + content: + "*/*": + schema: + type: object + properties: + error: + type: string + code: + type: integer + format: int32 + message: + type: string + details: + type: array + items: + type: object + properties: + type_url: + type: string + description: >- + A URL/resource name that uniquely identifies the type of the serialized + + protocol buffer message. This string must contain at least + + one "/" character. The last segment of the URL's path must represent + + the fully qualified name of the type (as in + + `path/google.protobuf.Duration`). The name should be in a canonical form + + (e.g., leading "." is not accepted). + + + In practice, teams usually precompile into the binary all types that they + + expect it to use in the context of Any. However, for URLs which use the + + scheme `http`, `https`, or no scheme, one can optionally set up a type + + server that maps type URLs to message definitions as follows: + + + * If no scheme is provided, `https` is assumed. + + * An HTTP GET on the URL must yield a [google.protobuf.Type][] + + value in binary format, or produce an error. + * Applications are allowed to cache lookup results based on the + + URL, or have them precompiled into a binary to avoid any + lookup. Therefore, binary compatibility needs to be preserved + on changes to types. (Use versioned type names to manage + breaking changes.) + + Note: this functionality is not currently available in the official + + protobuf release, and it is not used for type URLs beginning with + + type.googleapis.com. + + + Schemes other than `http`, `https` (or the empty scheme) might be + + used with implementation specific semantics. + value: + type: string + format: byte + description: Must be a valid serialized protocol buffer of the above specified type. + description: >- + `Any` contains an arbitrary serialized protocol buffer message along with a + + URL that describes the type of the serialized message. + + + Protobuf library provides support to pack/unpack Any values in the form + + of utility functions or additional generated methods of the Any type. + + + Example 1: Pack and unpack a message in C++. + + + Foo foo = ...; + Any any; + any.PackFrom(foo); + ... + if (any.UnpackTo(&foo)) { + ... + } + + Example 2: Pack and unpack a message in Java. + + + Foo foo = ...; + Any any = Any.pack(foo); + ... + if (any.is(Foo.class)) { + foo = any.unpack(Foo.class); + } + + Example 3: Pack and unpack a message in Python. + + foo = Foo(...) + any = Any() + any.Pack(foo) + ... + if any.Is(Foo.DESCRIPTOR): + any.Unpack(foo) + ... + + Example 4: Pack and unpack a message in Go + + foo := &pb.Foo{...} + any, err := ptypes.MarshalAny(foo) + ... + foo := &pb.Foo{} + if err := ptypes.UnmarshalAny(any, foo); err != nil { + ... + } + + The pack methods provided by protobuf library will by default use + + 'type.googleapis.com/full.type.name' as the type URL and the unpack + + methods only use the fully qualified type name after the last '/' + + in the type URL, for example "foo.bar.com/x/y.z" will yield type + + name "y.z". + + + + JSON + + ==== + + The JSON representation of an `Any` value uses the regular + + representation of the deserialized, embedded message, with an + + additional field `@type` which contains the type URL. Example: + + + package google.profile; + message Person { + string first_name = 1; + string last_name = 2; + } + + { + "@type": "type.googleapis.com/google.profile.Person", + "firstName": , + "lastName": + } + + If the embedded message type is well-known and has a custom JSON + + representation, that representation will be embedded adding a field + + `value` which holds the custom JSON in addition to the `@type` + + field. Example (for message [google.protobuf.Duration][]): + + + { + "@type": "type.googleapis.com/google.protobuf.Duration", + "value": "1.212s" + } + parameters: + - name: validator_addr + description: validator_addr defines the validator address to query for. + in: path + required: true + schema: + type: string + - name: pagination.key + description: |- + key is a value returned in PageResponse.next_key to begin + querying the next page most efficiently. Only one of offset or key + should be set. + in: query + required: false + schema: + type: string + format: byte + - name: pagination.offset + description: >- + offset is a numeric offset that can be used when key is unavailable. + + It is less efficient than using key. Only one of offset or key should + + be set. + in: query + required: false + schema: + type: string + format: uint64 + - name: pagination.limit + description: >- + limit is the total number of results to be returned in the result page. + + If left empty it will default to a value to be set by each app. + in: query + required: false + schema: + type: string + format: uint64 + - name: pagination.count_total + description: >- + count_total is set to true to indicate that the result set should include + + a count of the total number of items available for pagination in UIs. + + count_total is only respected when offset is used. It is ignored when key + + is set. + in: query + required: false + schema: + type: boolean + - name: pagination.reverse + description: >- + reverse is set to true if results are to be returned in the descending + + order. + in: query + required: false + schema: + type: boolean + tags: + - Query + "/cosmos/staking/v1beta1/validators/{validator_addr}/delegations/{delegator_addr}": + get: + summary: Delegation queries delegate info for given validator delegator pair. + operationId: Delegation + responses: + "200": + description: A successful response. + content: + "*/*": + schema: + type: object + properties: + delegation_response: + type: object + properties: + delegation: + type: object + properties: + delegator_address: + type: string + description: delegator_address is the bech32-encoded address of the delegator. + validator_address: + type: string + description: validator_address is the bech32-encoded address of the validator. + shares: + type: string + description: shares define the delegation shares received. + description: >- + Delegation represents the bond with tokens held by an account. It is + + owned by one delegator, and is associated with the voting power of one + + validator. + balance: + type: object + properties: + denom: + type: string + amount: + type: string + description: >- + Coin defines a token with a denomination and an amount. + + + NOTE: The amount field is an Int which implements the custom method + + signatures required by gogoproto. + description: >- + DelegationResponse is equivalent to Delegation except that it contains a + + balance in addition to shares which is more suitable for client responses. + description: QueryDelegationResponse is response type for the Query/Delegation RPC method. + default: + description: An unexpected error response. + content: + "*/*": + schema: + type: object + properties: + error: + type: string + code: + type: integer + format: int32 + message: + type: string + details: + type: array + items: + type: object + properties: + type_url: + type: string + description: >- + A URL/resource name that uniquely identifies the type of the serialized + + protocol buffer message. This string must contain at least + + one "/" character. The last segment of the URL's path must represent + + the fully qualified name of the type (as in + + `path/google.protobuf.Duration`). The name should be in a canonical form + + (e.g., leading "." is not accepted). + + + In practice, teams usually precompile into the binary all types that they + + expect it to use in the context of Any. However, for URLs which use the + + scheme `http`, `https`, or no scheme, one can optionally set up a type + + server that maps type URLs to message definitions as follows: + + + * If no scheme is provided, `https` is assumed. + + * An HTTP GET on the URL must yield a [google.protobuf.Type][] + + value in binary format, or produce an error. + * Applications are allowed to cache lookup results based on the + + URL, or have them precompiled into a binary to avoid any + lookup. Therefore, binary compatibility needs to be preserved + on changes to types. (Use versioned type names to manage + breaking changes.) + + Note: this functionality is not currently available in the official + + protobuf release, and it is not used for type URLs beginning with + + type.googleapis.com. + + + Schemes other than `http`, `https` (or the empty scheme) might be + + used with implementation specific semantics. + value: + type: string + format: byte + description: Must be a valid serialized protocol buffer of the above specified type. + description: >- + `Any` contains an arbitrary serialized protocol buffer message along with a + + URL that describes the type of the serialized message. + + + Protobuf library provides support to pack/unpack Any values in the form + + of utility functions or additional generated methods of the Any type. + + + Example 1: Pack and unpack a message in C++. + + + Foo foo = ...; + Any any; + any.PackFrom(foo); + ... + if (any.UnpackTo(&foo)) { + ... + } + + Example 2: Pack and unpack a message in Java. + + + Foo foo = ...; + Any any = Any.pack(foo); + ... + if (any.is(Foo.class)) { + foo = any.unpack(Foo.class); + } + + Example 3: Pack and unpack a message in Python. + + foo = Foo(...) + any = Any() + any.Pack(foo) + ... + if any.Is(Foo.DESCRIPTOR): + any.Unpack(foo) + ... + + Example 4: Pack and unpack a message in Go + + foo := &pb.Foo{...} + any, err := ptypes.MarshalAny(foo) + ... + foo := &pb.Foo{} + if err := ptypes.UnmarshalAny(any, foo); err != nil { + ... + } + + The pack methods provided by protobuf library will by default use + + 'type.googleapis.com/full.type.name' as the type URL and the unpack + + methods only use the fully qualified type name after the last '/' + + in the type URL, for example "foo.bar.com/x/y.z" will yield type + + name "y.z". + + + + JSON + + ==== + + The JSON representation of an `Any` value uses the regular + + representation of the deserialized, embedded message, with an + + additional field `@type` which contains the type URL. Example: + + + package google.profile; + message Person { + string first_name = 1; + string last_name = 2; + } + + { + "@type": "type.googleapis.com/google.profile.Person", + "firstName": , + "lastName": + } + + If the embedded message type is well-known and has a custom JSON + + representation, that representation will be embedded adding a field + + `value` which holds the custom JSON in addition to the `@type` + + field. Example (for message [google.protobuf.Duration][]): + + + { + "@type": "type.googleapis.com/google.protobuf.Duration", + "value": "1.212s" + } + parameters: + - name: validator_addr + description: validator_addr defines the validator address to query for. + in: path + required: true + schema: + type: string + - name: delegator_addr + description: delegator_addr defines the delegator address to query for. + in: path + required: true + schema: + type: string + tags: + - Query + "/cosmos/staking/v1beta1/validators/{validator_addr}/delegations/{delegator_addr}/unbonding_delegation": + get: + summary: |- + UnbondingDelegation queries unbonding info for given validator delegator + pair. + operationId: UnbondingDelegation + responses: + "200": + description: A successful response. + content: + "*/*": + schema: + type: object + properties: + unbond: + type: object + properties: + delegator_address: + type: string + description: delegator_address is the bech32-encoded address of the delegator. + validator_address: + type: string + description: validator_address is the bech32-encoded address of the validator. + entries: + type: array + items: + type: object + properties: + creation_height: + type: string + format: int64 + description: creation_height is the height which the unbonding took place. + completion_time: + type: string + format: date-time + description: completion_time is the unix time for unbonding completion. + initial_balance: + type: string + description: initial_balance defines the tokens initially scheduled to receive at completion. + balance: + type: string + description: balance defines the tokens to receive at completion. + description: UnbondingDelegationEntry defines an unbonding object with relevant metadata. + description: entries are the unbonding delegation entries. + description: >- + UnbondingDelegation stores all of a single delegator's unbonding bonds + + for a single validator in an time-ordered list. + description: >- + QueryDelegationResponse is response type for the Query/UnbondingDelegation + + RPC method. + default: + description: An unexpected error response. + content: + "*/*": + schema: + type: object + properties: + error: + type: string + code: + type: integer + format: int32 + message: + type: string + details: + type: array + items: + type: object + properties: + type_url: + type: string + description: >- + A URL/resource name that uniquely identifies the type of the serialized + + protocol buffer message. This string must contain at least + + one "/" character. The last segment of the URL's path must represent + + the fully qualified name of the type (as in + + `path/google.protobuf.Duration`). The name should be in a canonical form + + (e.g., leading "." is not accepted). + + + In practice, teams usually precompile into the binary all types that they + + expect it to use in the context of Any. However, for URLs which use the + + scheme `http`, `https`, or no scheme, one can optionally set up a type + + server that maps type URLs to message definitions as follows: + + + * If no scheme is provided, `https` is assumed. + + * An HTTP GET on the URL must yield a [google.protobuf.Type][] + + value in binary format, or produce an error. + * Applications are allowed to cache lookup results based on the + + URL, or have them precompiled into a binary to avoid any + lookup. Therefore, binary compatibility needs to be preserved + on changes to types. (Use versioned type names to manage + breaking changes.) + + Note: this functionality is not currently available in the official + + protobuf release, and it is not used for type URLs beginning with + + type.googleapis.com. + + + Schemes other than `http`, `https` (or the empty scheme) might be + + used with implementation specific semantics. + value: + type: string + format: byte + description: Must be a valid serialized protocol buffer of the above specified type. + description: >- + `Any` contains an arbitrary serialized protocol buffer message along with a + + URL that describes the type of the serialized message. + + + Protobuf library provides support to pack/unpack Any values in the form + + of utility functions or additional generated methods of the Any type. + + + Example 1: Pack and unpack a message in C++. + + + Foo foo = ...; + Any any; + any.PackFrom(foo); + ... + if (any.UnpackTo(&foo)) { + ... + } + + Example 2: Pack and unpack a message in Java. + + + Foo foo = ...; + Any any = Any.pack(foo); + ... + if (any.is(Foo.class)) { + foo = any.unpack(Foo.class); + } + + Example 3: Pack and unpack a message in Python. + + foo = Foo(...) + any = Any() + any.Pack(foo) + ... + if any.Is(Foo.DESCRIPTOR): + any.Unpack(foo) + ... + + Example 4: Pack and unpack a message in Go + + foo := &pb.Foo{...} + any, err := ptypes.MarshalAny(foo) + ... + foo := &pb.Foo{} + if err := ptypes.UnmarshalAny(any, foo); err != nil { + ... + } + + The pack methods provided by protobuf library will by default use + + 'type.googleapis.com/full.type.name' as the type URL and the unpack + + methods only use the fully qualified type name after the last '/' + + in the type URL, for example "foo.bar.com/x/y.z" will yield type + + name "y.z". + + + + JSON + + ==== + + The JSON representation of an `Any` value uses the regular + + representation of the deserialized, embedded message, with an + + additional field `@type` which contains the type URL. Example: + + + package google.profile; + message Person { + string first_name = 1; + string last_name = 2; + } + + { + "@type": "type.googleapis.com/google.profile.Person", + "firstName": , + "lastName": + } + + If the embedded message type is well-known and has a custom JSON + + representation, that representation will be embedded adding a field + + `value` which holds the custom JSON in addition to the `@type` + + field. Example (for message [google.protobuf.Duration][]): + + + { + "@type": "type.googleapis.com/google.protobuf.Duration", + "value": "1.212s" + } + parameters: + - name: validator_addr + description: validator_addr defines the validator address to query for. + in: path + required: true + schema: + type: string + - name: delegator_addr + description: delegator_addr defines the delegator address to query for. + in: path + required: true + schema: + type: string + tags: + - Query + "/cosmos/staking/v1beta1/validators/{validator_addr}/unbonding_delegations": + get: + summary: ValidatorUnbondingDelegations queries unbonding delegations of a validator. + operationId: ValidatorUnbondingDelegations + responses: + "200": + description: A successful response. + content: + "*/*": + schema: + type: object + properties: + unbonding_responses: + type: array + items: + type: object + properties: + delegator_address: + type: string + description: delegator_address is the bech32-encoded address of the delegator. + validator_address: + type: string + description: validator_address is the bech32-encoded address of the validator. + entries: + type: array + items: + type: object + properties: + creation_height: + type: string + format: int64 + description: creation_height is the height which the unbonding took place. + completion_time: + type: string + format: date-time + description: completion_time is the unix time for unbonding completion. + initial_balance: + type: string + description: initial_balance defines the tokens initially scheduled to receive at completion. + balance: + type: string + description: balance defines the tokens to receive at completion. + description: UnbondingDelegationEntry defines an unbonding object with relevant metadata. + description: entries are the unbonding delegation entries. + description: >- + UnbondingDelegation stores all of a single delegator's unbonding bonds + + for a single validator in an time-ordered list. + pagination: + description: pagination defines the pagination in the response. + type: object + properties: + next_key: + type: string + format: byte + title: |- + next_key is the key to be passed to PageRequest.key to + query the next page most efficiently + total: + type: string + format: uint64 + title: >- + total is total number of results available if PageRequest.count_total + + was set, its value is undefined otherwise + description: >- + QueryValidatorUnbondingDelegationsResponse is response type for the + + Query/ValidatorUnbondingDelegations RPC method. + default: + description: An unexpected error response. + content: + "*/*": + schema: + type: object + properties: + error: + type: string + code: + type: integer + format: int32 + message: + type: string + details: + type: array + items: + type: object + properties: + type_url: + type: string + description: >- + A URL/resource name that uniquely identifies the type of the serialized + + protocol buffer message. This string must contain at least + + one "/" character. The last segment of the URL's path must represent + + the fully qualified name of the type (as in + + `path/google.protobuf.Duration`). The name should be in a canonical form + + (e.g., leading "." is not accepted). + + + In practice, teams usually precompile into the binary all types that they + + expect it to use in the context of Any. However, for URLs which use the + + scheme `http`, `https`, or no scheme, one can optionally set up a type + + server that maps type URLs to message definitions as follows: + + + * If no scheme is provided, `https` is assumed. + + * An HTTP GET on the URL must yield a [google.protobuf.Type][] + + value in binary format, or produce an error. + * Applications are allowed to cache lookup results based on the + + URL, or have them precompiled into a binary to avoid any + lookup. Therefore, binary compatibility needs to be preserved + on changes to types. (Use versioned type names to manage + breaking changes.) + + Note: this functionality is not currently available in the official + + protobuf release, and it is not used for type URLs beginning with + + type.googleapis.com. + + + Schemes other than `http`, `https` (or the empty scheme) might be + + used with implementation specific semantics. + value: + type: string + format: byte + description: Must be a valid serialized protocol buffer of the above specified type. + description: >- + `Any` contains an arbitrary serialized protocol buffer message along with a + + URL that describes the type of the serialized message. + + + Protobuf library provides support to pack/unpack Any values in the form + + of utility functions or additional generated methods of the Any type. + + + Example 1: Pack and unpack a message in C++. + + + Foo foo = ...; + Any any; + any.PackFrom(foo); + ... + if (any.UnpackTo(&foo)) { + ... + } + + Example 2: Pack and unpack a message in Java. + + + Foo foo = ...; + Any any = Any.pack(foo); + ... + if (any.is(Foo.class)) { + foo = any.unpack(Foo.class); + } + + Example 3: Pack and unpack a message in Python. + + foo = Foo(...) + any = Any() + any.Pack(foo) + ... + if any.Is(Foo.DESCRIPTOR): + any.Unpack(foo) + ... + + Example 4: Pack and unpack a message in Go + + foo := &pb.Foo{...} + any, err := ptypes.MarshalAny(foo) + ... + foo := &pb.Foo{} + if err := ptypes.UnmarshalAny(any, foo); err != nil { + ... + } + + The pack methods provided by protobuf library will by default use + + 'type.googleapis.com/full.type.name' as the type URL and the unpack + + methods only use the fully qualified type name after the last '/' + + in the type URL, for example "foo.bar.com/x/y.z" will yield type + + name "y.z". + + + + JSON + + ==== + + The JSON representation of an `Any` value uses the regular + + representation of the deserialized, embedded message, with an + + additional field `@type` which contains the type URL. Example: + + + package google.profile; + message Person { + string first_name = 1; + string last_name = 2; + } + + { + "@type": "type.googleapis.com/google.profile.Person", + "firstName": , + "lastName": + } + + If the embedded message type is well-known and has a custom JSON + + representation, that representation will be embedded adding a field + + `value` which holds the custom JSON in addition to the `@type` + + field. Example (for message [google.protobuf.Duration][]): + + + { + "@type": "type.googleapis.com/google.protobuf.Duration", + "value": "1.212s" + } + parameters: + - name: validator_addr + description: validator_addr defines the validator address to query for. + in: path + required: true + schema: + type: string + - name: pagination.key + description: |- + key is a value returned in PageResponse.next_key to begin + querying the next page most efficiently. Only one of offset or key + should be set. + in: query + required: false + schema: + type: string + format: byte + - name: pagination.offset + description: >- + offset is a numeric offset that can be used when key is unavailable. + + It is less efficient than using key. Only one of offset or key should + + be set. + in: query + required: false + schema: + type: string + format: uint64 + - name: pagination.limit + description: >- + limit is the total number of results to be returned in the result page. + + If left empty it will default to a value to be set by each app. + in: query + required: false + schema: + type: string + format: uint64 + - name: pagination.count_total + description: >- + count_total is set to true to indicate that the result set should include + + a count of the total number of items available for pagination in UIs. + + count_total is only respected when offset is used. It is ignored when key + + is set. + in: query + required: false + schema: + type: boolean + - name: pagination.reverse + description: >- + reverse is set to true if results are to be returned in the descending + + order. + in: query + required: false + schema: + type: boolean + tags: + - Query + /cosmos/tx/v1beta1/simulate: + post: + summary: Simulate simulates executing a transaction for estimating gas usage. + operationId: Simulate + responses: + "200": + description: A successful response. + content: + "*/*": + schema: + type: object + properties: + gas_info: + description: gas_info is the information about gas used in the simulation. + type: object + properties: + gas_wanted: + type: string + format: uint64 + description: GasWanted is the maximum units of work we allow this tx to perform. + gas_used: + type: string + format: uint64 + description: GasUsed is the amount of gas actually consumed. + result: + description: result is the result of the simulation. + type: object + properties: + data: + type: string + format: byte + description: >- + Data is any data returned from message or handler execution. It MUST be + + length prefixed in order to separate data from multiple message executions. + log: + type: string + description: Log contains the log information from message or handler execution. + events: + type: array + items: + type: object + properties: + type: + type: string + attributes: + type: array + items: + type: object + properties: + key: + type: string + format: byte + value: + type: string + format: byte + index: + type: boolean + description: EventAttribute is a single key-value pair, associated with an event. + description: >- + Event allows application developers to attach additional information to + + ResponseBeginBlock, ResponseEndBlock, ResponseCheckTx and ResponseDeliverTx. + + Later, transactions may be queried using these events. + description: >- + Events contains a slice of Event objects that were emitted during message + + or handler execution. + description: |- + SimulateResponse is the response type for the + Service.SimulateRPC method. + default: + description: An unexpected error response. + content: + "*/*": + schema: + type: object + properties: + error: + type: string + code: + type: integer + format: int32 + message: + type: string + details: + type: array + items: + type: object + properties: + type_url: + type: string + description: >- + A URL/resource name that uniquely identifies the type of the serialized + + protocol buffer message. This string must contain at least + + one "/" character. The last segment of the URL's path must represent + + the fully qualified name of the type (as in + + `path/google.protobuf.Duration`). The name should be in a canonical form + + (e.g., leading "." is not accepted). + + + In practice, teams usually precompile into the binary all types that they + + expect it to use in the context of Any. However, for URLs which use the + + scheme `http`, `https`, or no scheme, one can optionally set up a type + + server that maps type URLs to message definitions as follows: + + + * If no scheme is provided, `https` is assumed. + + * An HTTP GET on the URL must yield a [google.protobuf.Type][] + + value in binary format, or produce an error. + * Applications are allowed to cache lookup results based on the + + URL, or have them precompiled into a binary to avoid any + lookup. Therefore, binary compatibility needs to be preserved + on changes to types. (Use versioned type names to manage + breaking changes.) + + Note: this functionality is not currently available in the official + + protobuf release, and it is not used for type URLs beginning with + + type.googleapis.com. + + + Schemes other than `http`, `https` (or the empty scheme) might be + + used with implementation specific semantics. + value: + type: string + format: byte + description: Must be a valid serialized protocol buffer of the above specified type. + description: >- + `Any` contains an arbitrary serialized protocol buffer message along with a + + URL that describes the type of the serialized message. + + + Protobuf library provides support to pack/unpack Any values in the form + + of utility functions or additional generated methods of the Any type. + + + Example 1: Pack and unpack a message in C++. + + + Foo foo = ...; + Any any; + any.PackFrom(foo); + ... + if (any.UnpackTo(&foo)) { + ... + } + + Example 2: Pack and unpack a message in Java. + + + Foo foo = ...; + Any any = Any.pack(foo); + ... + if (any.is(Foo.class)) { + foo = any.unpack(Foo.class); + } + + Example 3: Pack and unpack a message in Python. + + foo = Foo(...) + any = Any() + any.Pack(foo) + ... + if any.Is(Foo.DESCRIPTOR): + any.Unpack(foo) + ... + + Example 4: Pack and unpack a message in Go + + foo := &pb.Foo{...} + any, err := ptypes.MarshalAny(foo) + ... + foo := &pb.Foo{} + if err := ptypes.UnmarshalAny(any, foo); err != nil { + ... + } + + The pack methods provided by protobuf library will by default use + + 'type.googleapis.com/full.type.name' as the type URL and the unpack + + methods only use the fully qualified type name after the last '/' + + in the type URL, for example "foo.bar.com/x/y.z" will yield type + + name "y.z". + + + + JSON + + ==== + + The JSON representation of an `Any` value uses the regular + + representation of the deserialized, embedded message, with an + + additional field `@type` which contains the type URL. Example: + + + package google.profile; + message Person { + string first_name = 1; + string last_name = 2; + } + + { + "@type": "type.googleapis.com/google.profile.Person", + "firstName": , + "lastName": + } + + If the embedded message type is well-known and has a custom JSON + + representation, that representation will be embedded adding a field + + `value` which holds the custom JSON in addition to the `@type` + + field. Example (for message [google.protobuf.Duration][]): + + + { + "@type": "type.googleapis.com/google.protobuf.Duration", + "value": "1.212s" + } + requestBody: + content: + application/json: + schema: + $ref: "#/components/schemas/cosmos.tx.v1beta1.SimulateRequest" + required: true + tags: + - Service + /cosmos/tx/v1beta1/txs: + get: + summary: GetTxsEvent fetches txs by event. + operationId: GetTxsEvent + responses: + "200": + description: A successful response. + content: + "*/*": + schema: + $ref: "#/components/schemas/cosmos.tx.v1beta1.GetTxsEventResponse" + default: + description: An unexpected error response. + content: + "*/*": + schema: + type: object + properties: + error: + type: string + code: + type: integer + format: int32 + message: + type: string + details: + type: array + items: + type: object + properties: + type_url: + type: string + description: >- + A URL/resource name that uniquely identifies the type of the serialized + + protocol buffer message. This string must contain at least + + one "/" character. The last segment of the URL's path must represent + + the fully qualified name of the type (as in + + `path/google.protobuf.Duration`). The name should be in a canonical form + + (e.g., leading "." is not accepted). + + + In practice, teams usually precompile into the binary all types that they + + expect it to use in the context of Any. However, for URLs which use the + + scheme `http`, `https`, or no scheme, one can optionally set up a type + + server that maps type URLs to message definitions as follows: + + + * If no scheme is provided, `https` is assumed. + + * An HTTP GET on the URL must yield a [google.protobuf.Type][] + + value in binary format, or produce an error. + * Applications are allowed to cache lookup results based on the + + URL, or have them precompiled into a binary to avoid any + lookup. Therefore, binary compatibility needs to be preserved + on changes to types. (Use versioned type names to manage + breaking changes.) + + Note: this functionality is not currently available in the official + + protobuf release, and it is not used for type URLs beginning with + + type.googleapis.com. + + + Schemes other than `http`, `https` (or the empty scheme) might be + + used with implementation specific semantics. + value: + type: string + format: byte + description: Must be a valid serialized protocol buffer of the above specified type. + description: >- + `Any` contains an arbitrary serialized protocol buffer message along with a + + URL that describes the type of the serialized message. + + + Protobuf library provides support to pack/unpack Any values in the form + + of utility functions or additional generated methods of the Any type. + + + Example 1: Pack and unpack a message in C++. + + + Foo foo = ...; + Any any; + any.PackFrom(foo); + ... + if (any.UnpackTo(&foo)) { + ... + } + + Example 2: Pack and unpack a message in Java. + + + Foo foo = ...; + Any any = Any.pack(foo); + ... + if (any.is(Foo.class)) { + foo = any.unpack(Foo.class); + } + + Example 3: Pack and unpack a message in Python. + + foo = Foo(...) + any = Any() + any.Pack(foo) + ... + if any.Is(Foo.DESCRIPTOR): + any.Unpack(foo) + ... + + Example 4: Pack and unpack a message in Go + + foo := &pb.Foo{...} + any, err := ptypes.MarshalAny(foo) + ... + foo := &pb.Foo{} + if err := ptypes.UnmarshalAny(any, foo); err != nil { + ... + } + + The pack methods provided by protobuf library will by default use + + 'type.googleapis.com/full.type.name' as the type URL and the unpack + + methods only use the fully qualified type name after the last '/' + + in the type URL, for example "foo.bar.com/x/y.z" will yield type + + name "y.z". + + + + JSON + + ==== + + The JSON representation of an `Any` value uses the regular + + representation of the deserialized, embedded message, with an + + additional field `@type` which contains the type URL. Example: + + + package google.profile; + message Person { + string first_name = 1; + string last_name = 2; + } + + { + "@type": "type.googleapis.com/google.profile.Person", + "firstName": , + "lastName": + } + + If the embedded message type is well-known and has a custom JSON + + representation, that representation will be embedded adding a field + + `value` which holds the custom JSON in addition to the `@type` + + field. Example (for message [google.protobuf.Duration][]): + + + { + "@type": "type.googleapis.com/google.protobuf.Duration", + "value": "1.212s" + } + parameters: + - name: events + description: events is the list of transaction event type. + in: query + required: false + explode: true + schema: + type: array + items: + type: string + - name: pagination.key + description: |- + key is a value returned in PageResponse.next_key to begin + querying the next page most efficiently. Only one of offset or key + should be set. + in: query + required: false + schema: + type: string + format: byte + - name: pagination.offset + description: >- + offset is a numeric offset that can be used when key is unavailable. + + It is less efficient than using key. Only one of offset or key should + + be set. + in: query + required: false + schema: + type: string + format: uint64 + - name: pagination.limit + description: >- + limit is the total number of results to be returned in the result page. + + If left empty it will default to a value to be set by each app. + in: query + required: false + schema: + type: string + format: uint64 + - name: pagination.count_total + description: >- + count_total is set to true to indicate that the result set should include + + a count of the total number of items available for pagination in UIs. + + count_total is only respected when offset is used. It is ignored when key + + is set. + in: query + required: false + schema: + type: boolean + - name: pagination.reverse + description: >- + reverse is set to true if results are to be returned in the descending + + order. + in: query + required: false + schema: + type: boolean + - name: order_by + description: >2- + - ORDER_BY_UNSPECIFIED: ORDER_BY_UNSPECIFIED specifies an unknown sorting order. OrderBy defaults to ASC in this case. + - ORDER_BY_ASC: ORDER_BY_ASC defines ascending order + - ORDER_BY_DESC: ORDER_BY_DESC defines descending order + in: query + required: false + schema: + type: string + enum: + - ORDER_BY_UNSPECIFIED + - ORDER_BY_ASC + - ORDER_BY_DESC + default: ORDER_BY_UNSPECIFIED + tags: + - Service + post: + summary: BroadcastTx broadcast transaction. + operationId: BroadcastTx + responses: + "200": + description: A successful response. + content: + "*/*": + schema: + type: object + properties: + tx_response: + type: object + properties: + height: + type: string + format: int64 + title: The block height + txhash: + type: string + description: The transaction hash. + codespace: + type: string + title: Namespace for the Code + code: + type: integer + format: int64 + description: Response code. + data: + type: string + description: Result bytes, if any. + raw_log: + type: string + description: >- + The output of the application's logger (raw string). May be + + non-deterministic. + logs: + type: array + items: + type: object + properties: + msg_index: + type: integer + format: int64 + log: + type: string + events: + type: array + items: + type: object + properties: + type: + type: string + attributes: + type: array + items: + type: object + properties: + key: + type: string + value: + type: string + description: >- + Attribute defines an attribute wrapper where the key and value are + + strings instead of raw bytes. + description: >- + StringEvent defines en Event object wrapper where all the attributes + + contain key/value pairs that are strings instead of raw bytes. + description: >- + Events contains a slice of Event objects that were emitted during some + + execution. + description: ABCIMessageLog defines a structure containing an indexed tx ABCI message log. + description: The output of the application's logger (typed). May be non-deterministic. + info: + type: string + description: Additional information. May be non-deterministic. + gas_wanted: + type: string + format: int64 + description: Amount of gas requested for transaction. + gas_used: + type: string + format: int64 + description: Amount of gas consumed by transaction. + tx: + type: object + properties: + type_url: + type: string + description: >- + A URL/resource name that uniquely identifies the type of the serialized + + protocol buffer message. This string must contain at least + + one "/" character. The last segment of the URL's path must represent + + the fully qualified name of the type (as in + + `path/google.protobuf.Duration`). The name should be in a canonical form + + (e.g., leading "." is not accepted). + + + In practice, teams usually precompile into the binary all types that they + + expect it to use in the context of Any. However, for URLs which use the + + scheme `http`, `https`, or no scheme, one can optionally set up a type + + server that maps type URLs to message definitions as follows: + + + * If no scheme is provided, `https` is assumed. + + * An HTTP GET on the URL must yield a [google.protobuf.Type][] + + value in binary format, or produce an error. + * Applications are allowed to cache lookup results based on the + + URL, or have them precompiled into a binary to avoid any + lookup. Therefore, binary compatibility needs to be preserved + on changes to types. (Use versioned type names to manage + breaking changes.) + + Note: this functionality is not currently available in the official + + protobuf release, and it is not used for type URLs beginning with + + type.googleapis.com. + + + Schemes other than `http`, `https` (or the empty scheme) might be + + used with implementation specific semantics. + value: + type: string + format: byte + description: Must be a valid serialized protocol buffer of the above specified type. + description: >- + `Any` contains an arbitrary serialized protocol buffer message along with a + + URL that describes the type of the serialized message. + + + Protobuf library provides support to pack/unpack Any values in the form + + of utility functions or additional generated methods of the Any type. + + + Example 1: Pack and unpack a message in C++. + + + Foo foo = ...; + Any any; + any.PackFrom(foo); + ... + if (any.UnpackTo(&foo)) { + ... + } + + Example 2: Pack and unpack a message in Java. + + + Foo foo = ...; + Any any = Any.pack(foo); + ... + if (any.is(Foo.class)) { + foo = any.unpack(Foo.class); + } + + Example 3: Pack and unpack a message in Python. + + foo = Foo(...) + any = Any() + any.Pack(foo) + ... + if any.Is(Foo.DESCRIPTOR): + any.Unpack(foo) + ... + + Example 4: Pack and unpack a message in Go + + foo := &pb.Foo{...} + any, err := ptypes.MarshalAny(foo) + ... + foo := &pb.Foo{} + if err := ptypes.UnmarshalAny(any, foo); err != nil { + ... + } + + The pack methods provided by protobuf library will by default use + + 'type.googleapis.com/full.type.name' as the type URL and the unpack + + methods only use the fully qualified type name after the last '/' + + in the type URL, for example "foo.bar.com/x/y.z" will yield type + + name "y.z". + + + + JSON + + ==== + + The JSON representation of an `Any` value uses the regular + + representation of the deserialized, embedded message, with an + + additional field `@type` which contains the type URL. Example: + + + package google.profile; + message Person { + string first_name = 1; + string last_name = 2; + } + + { + "@type": "type.googleapis.com/google.profile.Person", + "firstName": , + "lastName": + } + + If the embedded message type is well-known and has a custom JSON + + representation, that representation will be embedded adding a field + + `value` which holds the custom JSON in addition to the `@type` + + field. Example (for message [google.protobuf.Duration][]): + + + { + "@type": "type.googleapis.com/google.protobuf.Duration", + "value": "1.212s" + } + timestamp: + type: string + description: >- + Time of the previous block. For heights > 1, it's the weighted median of + + the timestamps of the valid votes in the block.LastCommit. For height == 1, + + it's genesis time. + events: + type: array + items: + type: object + properties: + type: + type: string + attributes: + type: array + items: + type: object + properties: + key: + type: string + format: byte + value: + type: string + format: byte + index: + type: boolean + description: EventAttribute is a single key-value pair, associated with an event. + description: >- + Event allows application developers to attach additional information to + + ResponseBeginBlock, ResponseEndBlock, ResponseCheckTx and ResponseDeliverTx. + + Later, transactions may be queried using these events. + description: >- + Events defines all the events emitted by processing a transaction. Note, + + these events include those emitted by processing all the messages and those + + emitted from the ante handler. Whereas Logs contains the events, with + + additional metadata, emitted only by processing the messages. + + + Since: cosmos-sdk 0.42.11, 0.44.5, 0.45 + description: >- + TxResponse defines a structure containing relevant tx data and metadata. The + + tags are stringified and the log is JSON decoded. + description: |- + BroadcastTxResponse is the response type for the + Service.BroadcastTx method. + default: + description: An unexpected error response. + content: + "*/*": + schema: + type: object + properties: + error: + type: string + code: + type: integer + format: int32 + message: + type: string + details: + type: array + items: + type: object + properties: + type_url: + type: string + description: >- + A URL/resource name that uniquely identifies the type of the serialized + + protocol buffer message. This string must contain at least + + one "/" character. The last segment of the URL's path must represent + + the fully qualified name of the type (as in + + `path/google.protobuf.Duration`). The name should be in a canonical form + + (e.g., leading "." is not accepted). + + + In practice, teams usually precompile into the binary all types that they + + expect it to use in the context of Any. However, for URLs which use the + + scheme `http`, `https`, or no scheme, one can optionally set up a type + + server that maps type URLs to message definitions as follows: + + + * If no scheme is provided, `https` is assumed. + + * An HTTP GET on the URL must yield a [google.protobuf.Type][] + + value in binary format, or produce an error. + * Applications are allowed to cache lookup results based on the + + URL, or have them precompiled into a binary to avoid any + lookup. Therefore, binary compatibility needs to be preserved + on changes to types. (Use versioned type names to manage + breaking changes.) + + Note: this functionality is not currently available in the official + + protobuf release, and it is not used for type URLs beginning with + + type.googleapis.com. + + + Schemes other than `http`, `https` (or the empty scheme) might be + + used with implementation specific semantics. + value: + type: string + format: byte + description: Must be a valid serialized protocol buffer of the above specified type. + description: >- + `Any` contains an arbitrary serialized protocol buffer message along with a + + URL that describes the type of the serialized message. + + + Protobuf library provides support to pack/unpack Any values in the form + + of utility functions or additional generated methods of the Any type. + + + Example 1: Pack and unpack a message in C++. + + + Foo foo = ...; + Any any; + any.PackFrom(foo); + ... + if (any.UnpackTo(&foo)) { + ... + } + + Example 2: Pack and unpack a message in Java. + + + Foo foo = ...; + Any any = Any.pack(foo); + ... + if (any.is(Foo.class)) { + foo = any.unpack(Foo.class); + } + + Example 3: Pack and unpack a message in Python. + + foo = Foo(...) + any = Any() + any.Pack(foo) + ... + if any.Is(Foo.DESCRIPTOR): + any.Unpack(foo) + ... + + Example 4: Pack and unpack a message in Go + + foo := &pb.Foo{...} + any, err := ptypes.MarshalAny(foo) + ... + foo := &pb.Foo{} + if err := ptypes.UnmarshalAny(any, foo); err != nil { + ... + } + + The pack methods provided by protobuf library will by default use + + 'type.googleapis.com/full.type.name' as the type URL and the unpack + + methods only use the fully qualified type name after the last '/' + + in the type URL, for example "foo.bar.com/x/y.z" will yield type + + name "y.z". + + + + JSON + + ==== + + The JSON representation of an `Any` value uses the regular + + representation of the deserialized, embedded message, with an + + additional field `@type` which contains the type URL. Example: + + + package google.profile; + message Person { + string first_name = 1; + string last_name = 2; + } + + { + "@type": "type.googleapis.com/google.profile.Person", + "firstName": , + "lastName": + } + + If the embedded message type is well-known and has a custom JSON + + representation, that representation will be embedded adding a field + + `value` which holds the custom JSON in addition to the `@type` + + field. Example (for message [google.protobuf.Duration][]): + + + { + "@type": "type.googleapis.com/google.protobuf.Duration", + "value": "1.212s" + } + requestBody: + content: + application/json: + schema: + type: object + properties: + tx_bytes: + type: string + format: byte + description: tx_bytes is the raw transaction. + mode: + type: string + enum: + - BROADCAST_MODE_UNSPECIFIED + - BROADCAST_MODE_BLOCK + - BROADCAST_MODE_SYNC + - BROADCAST_MODE_ASYNC + default: BROADCAST_MODE_UNSPECIFIED + description: >- + BroadcastMode specifies the broadcast mode for the TxService.Broadcast RPC method. + + + - BROADCAST_MODE_UNSPECIFIED: zero-value for mode ordering + - BROADCAST_MODE_BLOCK: BROADCAST_MODE_BLOCK defines a tx broadcasting mode where the client waits for + the tx to be committed in a block. + + - BROADCAST_MODE_SYNC: BROADCAST_MODE_SYNC defines a tx broadcasting mode where the client waits for + a CheckTx execution response only. + + - BROADCAST_MODE_ASYNC: BROADCAST_MODE_ASYNC defines a tx broadcasting mode where the client returns + immediately. + description: >- + BroadcastTxRequest is the request type for the Service.BroadcastTxRequest + + RPC method. + required: true + tags: + - Service + "/cosmos/tx/v1beta1/txs/block/{height}": + get: + summary: GetBlockWithTxs fetches a block with decoded txs. + description: "Since: cosmos-sdk 0.45.2" + operationId: GetBlockWithTxs + responses: + "200": + description: A successful response. + content: + "*/*": + schema: + $ref: "#/components/schemas/cosmos.tx.v1beta1.GetBlockWithTxsResponse" + default: + description: An unexpected error response. + content: + "*/*": + schema: + type: object + properties: + error: + type: string + code: + type: integer + format: int32 + message: + type: string + details: + type: array + items: + type: object + properties: + type_url: + type: string + description: >- + A URL/resource name that uniquely identifies the type of the serialized + + protocol buffer message. This string must contain at least + + one "/" character. The last segment of the URL's path must represent + + the fully qualified name of the type (as in + + `path/google.protobuf.Duration`). The name should be in a canonical form + + (e.g., leading "." is not accepted). + + + In practice, teams usually precompile into the binary all types that they + + expect it to use in the context of Any. However, for URLs which use the + + scheme `http`, `https`, or no scheme, one can optionally set up a type + + server that maps type URLs to message definitions as follows: + + + * If no scheme is provided, `https` is assumed. + + * An HTTP GET on the URL must yield a [google.protobuf.Type][] + + value in binary format, or produce an error. + * Applications are allowed to cache lookup results based on the + + URL, or have them precompiled into a binary to avoid any + lookup. Therefore, binary compatibility needs to be preserved + on changes to types. (Use versioned type names to manage + breaking changes.) + + Note: this functionality is not currently available in the official + + protobuf release, and it is not used for type URLs beginning with + + type.googleapis.com. + + + Schemes other than `http`, `https` (or the empty scheme) might be + + used with implementation specific semantics. + value: + type: string + format: byte + description: Must be a valid serialized protocol buffer of the above specified type. + description: >- + `Any` contains an arbitrary serialized protocol buffer message along with a + + URL that describes the type of the serialized message. + + + Protobuf library provides support to pack/unpack Any values in the form + + of utility functions or additional generated methods of the Any type. + + + Example 1: Pack and unpack a message in C++. + + + Foo foo = ...; + Any any; + any.PackFrom(foo); + ... + if (any.UnpackTo(&foo)) { + ... + } + + Example 2: Pack and unpack a message in Java. + + + Foo foo = ...; + Any any = Any.pack(foo); + ... + if (any.is(Foo.class)) { + foo = any.unpack(Foo.class); + } + + Example 3: Pack and unpack a message in Python. + + foo = Foo(...) + any = Any() + any.Pack(foo) + ... + if any.Is(Foo.DESCRIPTOR): + any.Unpack(foo) + ... + + Example 4: Pack and unpack a message in Go + + foo := &pb.Foo{...} + any, err := ptypes.MarshalAny(foo) + ... + foo := &pb.Foo{} + if err := ptypes.UnmarshalAny(any, foo); err != nil { + ... + } + + The pack methods provided by protobuf library will by default use + + 'type.googleapis.com/full.type.name' as the type URL and the unpack + + methods only use the fully qualified type name after the last '/' + + in the type URL, for example "foo.bar.com/x/y.z" will yield type + + name "y.z". + + + + JSON + + ==== + + The JSON representation of an `Any` value uses the regular + + representation of the deserialized, embedded message, with an + + additional field `@type` which contains the type URL. Example: + + + package google.profile; + message Person { + string first_name = 1; + string last_name = 2; + } + + { + "@type": "type.googleapis.com/google.profile.Person", + "firstName": , + "lastName": + } + + If the embedded message type is well-known and has a custom JSON + + representation, that representation will be embedded adding a field + + `value` which holds the custom JSON in addition to the `@type` + + field. Example (for message [google.protobuf.Duration][]): + + + { + "@type": "type.googleapis.com/google.protobuf.Duration", + "value": "1.212s" + } + parameters: + - name: height + description: height is the height of the block to query. + in: path + required: true + schema: + type: string + format: int64 + - name: pagination.key + description: |- + key is a value returned in PageResponse.next_key to begin + querying the next page most efficiently. Only one of offset or key + should be set. + in: query + required: false + schema: + type: string + format: byte + - name: pagination.offset + description: >- + offset is a numeric offset that can be used when key is unavailable. + + It is less efficient than using key. Only one of offset or key should + + be set. + in: query + required: false + schema: + type: string + format: uint64 + - name: pagination.limit + description: >- + limit is the total number of results to be returned in the result page. + + If left empty it will default to a value to be set by each app. + in: query + required: false + schema: + type: string + format: uint64 + - name: pagination.count_total + description: >- + count_total is set to true to indicate that the result set should include + + a count of the total number of items available for pagination in UIs. + + count_total is only respected when offset is used. It is ignored when key + + is set. + in: query + required: false + schema: + type: boolean + - name: pagination.reverse + description: >- + reverse is set to true if results are to be returned in the descending + + order. + in: query + required: false + schema: + type: boolean + tags: + - Service + "/cosmos/tx/v1beta1/txs/{hash}": + get: + summary: GetTx fetches a tx by hash. + operationId: GetTx + responses: + "200": + description: A successful response. + content: + "*/*": + schema: + $ref: "#/components/schemas/cosmos.tx.v1beta1.GetTxResponse" + default: + description: An unexpected error response. + content: + "*/*": + schema: + type: object + properties: + error: + type: string + code: + type: integer + format: int32 + message: + type: string + details: + type: array + items: + type: object + properties: + type_url: + type: string + description: >- + A URL/resource name that uniquely identifies the type of the serialized + + protocol buffer message. This string must contain at least + + one "/" character. The last segment of the URL's path must represent + + the fully qualified name of the type (as in + + `path/google.protobuf.Duration`). The name should be in a canonical form + + (e.g., leading "." is not accepted). + + + In practice, teams usually precompile into the binary all types that they + + expect it to use in the context of Any. However, for URLs which use the + + scheme `http`, `https`, or no scheme, one can optionally set up a type + + server that maps type URLs to message definitions as follows: + + + * If no scheme is provided, `https` is assumed. + + * An HTTP GET on the URL must yield a [google.protobuf.Type][] + + value in binary format, or produce an error. + * Applications are allowed to cache lookup results based on the + + URL, or have them precompiled into a binary to avoid any + lookup. Therefore, binary compatibility needs to be preserved + on changes to types. (Use versioned type names to manage + breaking changes.) + + Note: this functionality is not currently available in the official + + protobuf release, and it is not used for type URLs beginning with + + type.googleapis.com. + + + Schemes other than `http`, `https` (or the empty scheme) might be + + used with implementation specific semantics. + value: + type: string + format: byte + description: Must be a valid serialized protocol buffer of the above specified type. + description: >- + `Any` contains an arbitrary serialized protocol buffer message along with a + + URL that describes the type of the serialized message. + + + Protobuf library provides support to pack/unpack Any values in the form + + of utility functions or additional generated methods of the Any type. + + + Example 1: Pack and unpack a message in C++. + + + Foo foo = ...; + Any any; + any.PackFrom(foo); + ... + if (any.UnpackTo(&foo)) { + ... + } + + Example 2: Pack and unpack a message in Java. + + + Foo foo = ...; + Any any = Any.pack(foo); + ... + if (any.is(Foo.class)) { + foo = any.unpack(Foo.class); + } + + Example 3: Pack and unpack a message in Python. + + foo = Foo(...) + any = Any() + any.Pack(foo) + ... + if any.Is(Foo.DESCRIPTOR): + any.Unpack(foo) + ... + + Example 4: Pack and unpack a message in Go + + foo := &pb.Foo{...} + any, err := ptypes.MarshalAny(foo) + ... + foo := &pb.Foo{} + if err := ptypes.UnmarshalAny(any, foo); err != nil { + ... + } + + The pack methods provided by protobuf library will by default use + + 'type.googleapis.com/full.type.name' as the type URL and the unpack + + methods only use the fully qualified type name after the last '/' + + in the type URL, for example "foo.bar.com/x/y.z" will yield type + + name "y.z". + + + + JSON + + ==== + + The JSON representation of an `Any` value uses the regular + + representation of the deserialized, embedded message, with an + + additional field `@type` which contains the type URL. Example: + + + package google.profile; + message Person { + string first_name = 1; + string last_name = 2; + } + + { + "@type": "type.googleapis.com/google.profile.Person", + "firstName": , + "lastName": + } + + If the embedded message type is well-known and has a custom JSON + + representation, that representation will be embedded adding a field + + `value` which holds the custom JSON in addition to the `@type` + + field. Example (for message [google.protobuf.Duration][]): + + + { + "@type": "type.googleapis.com/google.protobuf.Duration", + "value": "1.212s" + } + parameters: + - name: hash + description: hash is the tx hash to query, encoded as a hex string. + in: path + required: true + schema: + type: string + tags: + - Service + "/cosmos/upgrade/v1beta1/applied_plan/{name}": + get: + summary: AppliedPlan queries a previously applied upgrade plan by its name. + operationId: AppliedPlan + responses: + "200": + description: A successful response. + content: + "*/*": + schema: + type: object + properties: + height: + type: string + format: int64 + description: height is the block height at which the plan was applied. + description: >- + QueryAppliedPlanResponse is the response type for the Query/AppliedPlan RPC + + method. + default: + description: An unexpected error response. + content: + "*/*": + schema: + type: object + properties: + error: + type: string + code: + type: integer + format: int32 + message: + type: string + details: + type: array + items: + type: object + properties: + type_url: + type: string + description: >- + A URL/resource name that uniquely identifies the type of the serialized + + protocol buffer message. This string must contain at least + + one "/" character. The last segment of the URL's path must represent + + the fully qualified name of the type (as in + + `path/google.protobuf.Duration`). The name should be in a canonical form + + (e.g., leading "." is not accepted). + + + In practice, teams usually precompile into the binary all types that they + + expect it to use in the context of Any. However, for URLs which use the + + scheme `http`, `https`, or no scheme, one can optionally set up a type + + server that maps type URLs to message definitions as follows: + + + * If no scheme is provided, `https` is assumed. + + * An HTTP GET on the URL must yield a [google.protobuf.Type][] + + value in binary format, or produce an error. + * Applications are allowed to cache lookup results based on the + + URL, or have them precompiled into a binary to avoid any + lookup. Therefore, binary compatibility needs to be preserved + on changes to types. (Use versioned type names to manage + breaking changes.) + + Note: this functionality is not currently available in the official + + protobuf release, and it is not used for type URLs beginning with + + type.googleapis.com. + + + Schemes other than `http`, `https` (or the empty scheme) might be + + used with implementation specific semantics. + value: + type: string + format: byte + description: Must be a valid serialized protocol buffer of the above specified type. + description: >- + `Any` contains an arbitrary serialized protocol buffer message along with a + + URL that describes the type of the serialized message. + + + Protobuf library provides support to pack/unpack Any values in the form + + of utility functions or additional generated methods of the Any type. + + + Example 1: Pack and unpack a message in C++. + + + Foo foo = ...; + Any any; + any.PackFrom(foo); + ... + if (any.UnpackTo(&foo)) { + ... + } + + Example 2: Pack and unpack a message in Java. + + + Foo foo = ...; + Any any = Any.pack(foo); + ... + if (any.is(Foo.class)) { + foo = any.unpack(Foo.class); + } + + Example 3: Pack and unpack a message in Python. + + foo = Foo(...) + any = Any() + any.Pack(foo) + ... + if any.Is(Foo.DESCRIPTOR): + any.Unpack(foo) + ... + + Example 4: Pack and unpack a message in Go + + foo := &pb.Foo{...} + any, err := ptypes.MarshalAny(foo) + ... + foo := &pb.Foo{} + if err := ptypes.UnmarshalAny(any, foo); err != nil { + ... + } + + The pack methods provided by protobuf library will by default use + + 'type.googleapis.com/full.type.name' as the type URL and the unpack + + methods only use the fully qualified type name after the last '/' + + in the type URL, for example "foo.bar.com/x/y.z" will yield type + + name "y.z". + + + + JSON + + ==== + + The JSON representation of an `Any` value uses the regular + + representation of the deserialized, embedded message, with an + + additional field `@type` which contains the type URL. Example: + + + package google.profile; + message Person { + string first_name = 1; + string last_name = 2; + } + + { + "@type": "type.googleapis.com/google.profile.Person", + "firstName": , + "lastName": + } + + If the embedded message type is well-known and has a custom JSON + + representation, that representation will be embedded adding a field + + `value` which holds the custom JSON in addition to the `@type` + + field. Example (for message [google.protobuf.Duration][]): + + + { + "@type": "type.googleapis.com/google.protobuf.Duration", + "value": "1.212s" + } + parameters: + - name: name + description: name is the name of the applied plan to query for. + in: path + required: true + schema: + type: string + tags: + - Query + /cosmos/upgrade/v1beta1/current_plan: + get: + summary: CurrentPlan queries the current upgrade plan. + operationId: CurrentPlan + responses: + "200": + description: A successful response. + content: + "*/*": + schema: + type: object + properties: + plan: + description: plan is the current upgrade plan. + type: object + properties: + name: + type: string + description: >- + Sets the name for the upgrade. This name will be used by the upgraded + + version of the software to apply any special "on-upgrade" commands during + + the first BeginBlock method after the upgrade is applied. It is also used + + to detect whether a software version can handle a given upgrade. If no + + upgrade handler with this name has been set in the software, it will be + + assumed that the software is out-of-date when the upgrade Time or Height is + + reached and the software will exit. + time: + type: string + format: date-time + description: >- + Deprecated: Time based upgrades have been deprecated. Time based upgrade logic + + has been removed from the SDK. + + If this field is not empty, an error will be thrown. + height: + type: string + format: int64 + description: |- + The height at which the upgrade must be performed. + Only used if Time is not set. + info: + type: string + title: >- + Any application specific upgrade info to be included on-chain + + such as a git commit that validators could automatically upgrade to + upgraded_client_state: + type: object + properties: + type_url: + type: string + description: >- + A URL/resource name that uniquely identifies the type of the serialized + + protocol buffer message. This string must contain at least + + one "/" character. The last segment of the URL's path must represent + + the fully qualified name of the type (as in + + `path/google.protobuf.Duration`). The name should be in a canonical form + + (e.g., leading "." is not accepted). + + + In practice, teams usually precompile into the binary all types that they + + expect it to use in the context of Any. However, for URLs which use the + + scheme `http`, `https`, or no scheme, one can optionally set up a type + + server that maps type URLs to message definitions as follows: + + + * If no scheme is provided, `https` is assumed. + + * An HTTP GET on the URL must yield a [google.protobuf.Type][] + + value in binary format, or produce an error. + * Applications are allowed to cache lookup results based on the + + URL, or have them precompiled into a binary to avoid any + lookup. Therefore, binary compatibility needs to be preserved + on changes to types. (Use versioned type names to manage + breaking changes.) + + Note: this functionality is not currently available in the official + + protobuf release, and it is not used for type URLs beginning with + + type.googleapis.com. + + + Schemes other than `http`, `https` (or the empty scheme) might be + + used with implementation specific semantics. + value: + type: string + format: byte + description: Must be a valid serialized protocol buffer of the above specified type. + description: >- + `Any` contains an arbitrary serialized protocol buffer message along with a + + URL that describes the type of the serialized message. + + + Protobuf library provides support to pack/unpack Any values in the form + + of utility functions or additional generated methods of the Any type. + + + Example 1: Pack and unpack a message in C++. + + + Foo foo = ...; + Any any; + any.PackFrom(foo); + ... + if (any.UnpackTo(&foo)) { + ... + } + + Example 2: Pack and unpack a message in Java. + + + Foo foo = ...; + Any any = Any.pack(foo); + ... + if (any.is(Foo.class)) { + foo = any.unpack(Foo.class); + } + + Example 3: Pack and unpack a message in Python. + + foo = Foo(...) + any = Any() + any.Pack(foo) + ... + if any.Is(Foo.DESCRIPTOR): + any.Unpack(foo) + ... + + Example 4: Pack and unpack a message in Go + + foo := &pb.Foo{...} + any, err := ptypes.MarshalAny(foo) + ... + foo := &pb.Foo{} + if err := ptypes.UnmarshalAny(any, foo); err != nil { + ... + } + + The pack methods provided by protobuf library will by default use + + 'type.googleapis.com/full.type.name' as the type URL and the unpack + + methods only use the fully qualified type name after the last '/' + + in the type URL, for example "foo.bar.com/x/y.z" will yield type + + name "y.z". + + + + JSON + + ==== + + The JSON representation of an `Any` value uses the regular + + representation of the deserialized, embedded message, with an + + additional field `@type` which contains the type URL. Example: + + + package google.profile; + message Person { + string first_name = 1; + string last_name = 2; + } + + { + "@type": "type.googleapis.com/google.profile.Person", + "firstName": , + "lastName": + } + + If the embedded message type is well-known and has a custom JSON + + representation, that representation will be embedded adding a field + + `value` which holds the custom JSON in addition to the `@type` + + field. Example (for message [google.protobuf.Duration][]): + + + { + "@type": "type.googleapis.com/google.protobuf.Duration", + "value": "1.212s" + } + description: >- + QueryCurrentPlanResponse is the response type for the Query/CurrentPlan RPC + + method. + default: + description: An unexpected error response. + content: + "*/*": + schema: + type: object + properties: + error: + type: string + code: + type: integer + format: int32 + message: + type: string + details: + type: array + items: + type: object + properties: + type_url: + type: string + description: >- + A URL/resource name that uniquely identifies the type of the serialized + + protocol buffer message. This string must contain at least + + one "/" character. The last segment of the URL's path must represent + + the fully qualified name of the type (as in + + `path/google.protobuf.Duration`). The name should be in a canonical form + + (e.g., leading "." is not accepted). + + + In practice, teams usually precompile into the binary all types that they + + expect it to use in the context of Any. However, for URLs which use the + + scheme `http`, `https`, or no scheme, one can optionally set up a type + + server that maps type URLs to message definitions as follows: + + + * If no scheme is provided, `https` is assumed. + + * An HTTP GET on the URL must yield a [google.protobuf.Type][] + + value in binary format, or produce an error. + * Applications are allowed to cache lookup results based on the + + URL, or have them precompiled into a binary to avoid any + lookup. Therefore, binary compatibility needs to be preserved + on changes to types. (Use versioned type names to manage + breaking changes.) + + Note: this functionality is not currently available in the official + + protobuf release, and it is not used for type URLs beginning with + + type.googleapis.com. + + + Schemes other than `http`, `https` (or the empty scheme) might be + + used with implementation specific semantics. + value: + type: string + format: byte + description: Must be a valid serialized protocol buffer of the above specified type. + description: >- + `Any` contains an arbitrary serialized protocol buffer message along with a + + URL that describes the type of the serialized message. + + + Protobuf library provides support to pack/unpack Any values in the form + + of utility functions or additional generated methods of the Any type. + + + Example 1: Pack and unpack a message in C++. + + + Foo foo = ...; + Any any; + any.PackFrom(foo); + ... + if (any.UnpackTo(&foo)) { + ... + } + + Example 2: Pack and unpack a message in Java. + + + Foo foo = ...; + Any any = Any.pack(foo); + ... + if (any.is(Foo.class)) { + foo = any.unpack(Foo.class); + } + + Example 3: Pack and unpack a message in Python. + + foo = Foo(...) + any = Any() + any.Pack(foo) + ... + if any.Is(Foo.DESCRIPTOR): + any.Unpack(foo) + ... + + Example 4: Pack and unpack a message in Go + + foo := &pb.Foo{...} + any, err := ptypes.MarshalAny(foo) + ... + foo := &pb.Foo{} + if err := ptypes.UnmarshalAny(any, foo); err != nil { + ... + } + + The pack methods provided by protobuf library will by default use + + 'type.googleapis.com/full.type.name' as the type URL and the unpack + + methods only use the fully qualified type name after the last '/' + + in the type URL, for example "foo.bar.com/x/y.z" will yield type + + name "y.z". + + + + JSON + + ==== + + The JSON representation of an `Any` value uses the regular + + representation of the deserialized, embedded message, with an + + additional field `@type` which contains the type URL. Example: + + + package google.profile; + message Person { + string first_name = 1; + string last_name = 2; + } + + { + "@type": "type.googleapis.com/google.profile.Person", + "firstName": , + "lastName": + } + + If the embedded message type is well-known and has a custom JSON + + representation, that representation will be embedded adding a field + + `value` which holds the custom JSON in addition to the `@type` + + field. Example (for message [google.protobuf.Duration][]): + + + { + "@type": "type.googleapis.com/google.protobuf.Duration", + "value": "1.212s" + } + tags: + - Query + /cosmos/upgrade/v1beta1/module_versions: + get: + summary: ModuleVersions queries the list of module versions from state. + description: "Since: cosmos-sdk 0.43" + operationId: ModuleVersions + responses: + "200": + description: A successful response. + content: + "*/*": + schema: + type: object + properties: + module_versions: + type: array + items: + type: object + properties: + name: + type: string + title: name of the app module + version: + type: string + format: uint64 + title: consensus version of the app module + description: >- + ModuleVersion specifies a module and its consensus version. + + + Since: cosmos-sdk 0.43 + description: module_versions is a list of module names with their consensus versions. + description: >- + QueryModuleVersionsResponse is the response type for the Query/ModuleVersions + + RPC method. + + + Since: cosmos-sdk 0.43 + default: + description: An unexpected error response. + content: + "*/*": + schema: + type: object + properties: + error: + type: string + code: + type: integer + format: int32 + message: + type: string + details: + type: array + items: + type: object + properties: + type_url: + type: string + description: >- + A URL/resource name that uniquely identifies the type of the serialized + + protocol buffer message. This string must contain at least + + one "/" character. The last segment of the URL's path must represent + + the fully qualified name of the type (as in + + `path/google.protobuf.Duration`). The name should be in a canonical form + + (e.g., leading "." is not accepted). + + + In practice, teams usually precompile into the binary all types that they + + expect it to use in the context of Any. However, for URLs which use the + + scheme `http`, `https`, or no scheme, one can optionally set up a type + + server that maps type URLs to message definitions as follows: + + + * If no scheme is provided, `https` is assumed. + + * An HTTP GET on the URL must yield a [google.protobuf.Type][] + + value in binary format, or produce an error. + * Applications are allowed to cache lookup results based on the + + URL, or have them precompiled into a binary to avoid any + lookup. Therefore, binary compatibility needs to be preserved + on changes to types. (Use versioned type names to manage + breaking changes.) + + Note: this functionality is not currently available in the official + + protobuf release, and it is not used for type URLs beginning with + + type.googleapis.com. + + + Schemes other than `http`, `https` (or the empty scheme) might be + + used with implementation specific semantics. + value: + type: string + format: byte + description: Must be a valid serialized protocol buffer of the above specified type. + description: >- + `Any` contains an arbitrary serialized protocol buffer message along with a + + URL that describes the type of the serialized message. + + + Protobuf library provides support to pack/unpack Any values in the form + + of utility functions or additional generated methods of the Any type. + + + Example 1: Pack and unpack a message in C++. + + + Foo foo = ...; + Any any; + any.PackFrom(foo); + ... + if (any.UnpackTo(&foo)) { + ... + } + + Example 2: Pack and unpack a message in Java. + + + Foo foo = ...; + Any any = Any.pack(foo); + ... + if (any.is(Foo.class)) { + foo = any.unpack(Foo.class); + } + + Example 3: Pack and unpack a message in Python. + + foo = Foo(...) + any = Any() + any.Pack(foo) + ... + if any.Is(Foo.DESCRIPTOR): + any.Unpack(foo) + ... + + Example 4: Pack and unpack a message in Go + + foo := &pb.Foo{...} + any, err := ptypes.MarshalAny(foo) + ... + foo := &pb.Foo{} + if err := ptypes.UnmarshalAny(any, foo); err != nil { + ... + } + + The pack methods provided by protobuf library will by default use + + 'type.googleapis.com/full.type.name' as the type URL and the unpack + + methods only use the fully qualified type name after the last '/' + + in the type URL, for example "foo.bar.com/x/y.z" will yield type + + name "y.z". + + + + JSON + + ==== + + The JSON representation of an `Any` value uses the regular + + representation of the deserialized, embedded message, with an + + additional field `@type` which contains the type URL. Example: + + + package google.profile; + message Person { + string first_name = 1; + string last_name = 2; + } + + { + "@type": "type.googleapis.com/google.profile.Person", + "firstName": , + "lastName": + } + + If the embedded message type is well-known and has a custom JSON + + representation, that representation will be embedded adding a field + + `value` which holds the custom JSON in addition to the `@type` + + field. Example (for message [google.protobuf.Duration][]): + + + { + "@type": "type.googleapis.com/google.protobuf.Duration", + "value": "1.212s" + } + parameters: + - name: module_name + description: |- + module_name is a field to query a specific module + consensus version from state. Leaving this empty will + fetch the full list of module versions from state. + in: query + required: false + schema: + type: string + tags: + - Query + "/cosmos/upgrade/v1beta1/upgraded_consensus_state/{last_height}": + get: + summary: >- + UpgradedConsensusState queries the consensus state that will serve + + as a trusted kernel for the next version of this chain. It will only be + + stored at the last height of this chain. + + UpgradedConsensusState RPC not supported with legacy querier + + This rpc is deprecated now that IBC has its own replacement + + (https://github.com/cosmos/ibc-go/blob/2c880a22e9f9cc75f62b527ca94aa75ce1106001/proto/ibc/core/client/v1/query.proto#L54) + operationId: UpgradedConsensusState + responses: + "200": + description: A successful response. + content: + "*/*": + schema: + type: object + properties: + upgraded_consensus_state: + type: string + format: byte + title: "Since: cosmos-sdk 0.43" + description: >- + QueryUpgradedConsensusStateResponse is the response type for the Query/UpgradedConsensusState + + RPC method. + default: + description: An unexpected error response. + content: + "*/*": + schema: + type: object + properties: + error: + type: string + code: + type: integer + format: int32 + message: + type: string + details: + type: array + items: + type: object + properties: + type_url: + type: string + description: >- + A URL/resource name that uniquely identifies the type of the serialized + + protocol buffer message. This string must contain at least + + one "/" character. The last segment of the URL's path must represent + + the fully qualified name of the type (as in + + `path/google.protobuf.Duration`). The name should be in a canonical form + + (e.g., leading "." is not accepted). + + + In practice, teams usually precompile into the binary all types that they + + expect it to use in the context of Any. However, for URLs which use the + + scheme `http`, `https`, or no scheme, one can optionally set up a type + + server that maps type URLs to message definitions as follows: + + + * If no scheme is provided, `https` is assumed. + + * An HTTP GET on the URL must yield a [google.protobuf.Type][] + + value in binary format, or produce an error. + * Applications are allowed to cache lookup results based on the + + URL, or have them precompiled into a binary to avoid any + lookup. Therefore, binary compatibility needs to be preserved + on changes to types. (Use versioned type names to manage + breaking changes.) + + Note: this functionality is not currently available in the official + + protobuf release, and it is not used for type URLs beginning with + + type.googleapis.com. + + + Schemes other than `http`, `https` (or the empty scheme) might be + + used with implementation specific semantics. + value: + type: string + format: byte + description: Must be a valid serialized protocol buffer of the above specified type. + description: >- + `Any` contains an arbitrary serialized protocol buffer message along with a + + URL that describes the type of the serialized message. + + + Protobuf library provides support to pack/unpack Any values in the form + + of utility functions or additional generated methods of the Any type. + + + Example 1: Pack and unpack a message in C++. + + + Foo foo = ...; + Any any; + any.PackFrom(foo); + ... + if (any.UnpackTo(&foo)) { + ... + } + + Example 2: Pack and unpack a message in Java. + + + Foo foo = ...; + Any any = Any.pack(foo); + ... + if (any.is(Foo.class)) { + foo = any.unpack(Foo.class); + } + + Example 3: Pack and unpack a message in Python. + + foo = Foo(...) + any = Any() + any.Pack(foo) + ... + if any.Is(Foo.DESCRIPTOR): + any.Unpack(foo) + ... + + Example 4: Pack and unpack a message in Go + + foo := &pb.Foo{...} + any, err := ptypes.MarshalAny(foo) + ... + foo := &pb.Foo{} + if err := ptypes.UnmarshalAny(any, foo); err != nil { + ... + } + + The pack methods provided by protobuf library will by default use + + 'type.googleapis.com/full.type.name' as the type URL and the unpack + + methods only use the fully qualified type name after the last '/' + + in the type URL, for example "foo.bar.com/x/y.z" will yield type + + name "y.z". + + + + JSON + + ==== + + The JSON representation of an `Any` value uses the regular + + representation of the deserialized, embedded message, with an + + additional field `@type` which contains the type URL. Example: + + + package google.profile; + message Person { + string first_name = 1; + string last_name = 2; + } + + { + "@type": "type.googleapis.com/google.profile.Person", + "firstName": , + "lastName": + } + + If the embedded message type is well-known and has a custom JSON + + representation, that representation will be embedded adding a field + + `value` which holds the custom JSON in addition to the `@type` + + field. Example (for message [google.protobuf.Duration][]): + + + { + "@type": "type.googleapis.com/google.protobuf.Duration", + "value": "1.212s" + } + parameters: + - name: last_height + description: |- + last height of the current chain must be sent in request + as this is the height under which next consensus state is stored + in: path + required: true + schema: + type: string + format: int64 + tags: + - Query +components: + schemas: + comdex.asset.v1beta1.AppData: + type: object + properties: + id: + type: string + format: uint64 + name: + type: string + short_name: + type: string + min_gov_deposit: + type: string + gov_time_in_seconds: + type: string + format: uint64 + genesis_token: + type: array + items: + type: object + properties: + asset_id: + type: string + format: uint64 + genesis_supply: + type: string + is_gov_token: + type: boolean + recipient: + type: string + comdex.asset.v1beta1.Asset: + type: object + properties: + id: + type: string + format: uint64 + name: + type: string + denom: + type: string + decimals: + type: string + is_on_chain: + type: boolean + is_oracle_price_required: + type: boolean + is_cdp_mintable: + type: boolean + comdex.asset.v1beta1.ExtendedPairVault: + type: object + properties: + id: + type: string + format: uint64 + app_id: + type: string + format: uint64 + pair_id: + type: string + format: uint64 + stability_fee: + type: string + closing_fee: + type: string + liquidation_penalty: + type: string + draw_down_fee: + type: string + is_vault_active: + type: boolean + debt_ceiling: + type: string + debt_floor: + type: string + is_stable_mint_vault: + type: boolean + min_cr: + type: string + pair_name: + type: string + asset_out_oracle_price: + type: boolean + asset_out_price: + type: string + format: uint64 + min_usd_value_left: + type: string + format: uint64 + block_height: + type: string + format: int64 + block_time: + type: string + format: date-time + comdex.asset.v1beta1.MintGenesisToken: + type: object + properties: + asset_id: + type: string + format: uint64 + genesis_supply: + type: string + is_gov_token: + type: boolean + recipient: + type: string + comdex.asset.v1beta1.PairInfo: + type: object + properties: + id: + type: string + format: uint64 + asset_in: + type: string + format: uint64 + denom_in: + type: string + asset_out: + type: string + format: uint64 + denom_out: + type: string + comdex.asset.v1beta1.QueryAllExtendedPairStableVaultsByAppResponse: + type: object + properties: + extended_pair: + type: array + items: + type: object + properties: + id: + type: string + format: uint64 + app_id: + type: string + format: uint64 + pair_id: + type: string + format: uint64 + stability_fee: + type: string + closing_fee: + type: string + liquidation_penalty: + type: string + draw_down_fee: + type: string + is_vault_active: + type: boolean + debt_ceiling: + type: string + debt_floor: + type: string + is_stable_mint_vault: + type: boolean + min_cr: + type: string + pair_name: + type: string + asset_out_oracle_price: + type: boolean + asset_out_price: + type: string + format: uint64 + min_usd_value_left: + type: string + format: uint64 + block_height: + type: string + format: int64 + block_time: + type: string + format: date-time + pagination: + type: object + properties: + next_key: + type: string + format: byte + title: |- + next_key is the key to be passed to PageRequest.key to + query the next page most efficiently + total: + type: string + format: uint64 + title: >- + total is total number of results available if PageRequest.count_total + + was set, its value is undefined otherwise + description: |- + PageResponse is to be embedded in gRPC response messages where the + corresponding request message has used PageRequest. + + message SomeResponse { + repeated Bar results = 1; + PageResponse page = 2; + } + comdex.asset.v1beta1.QueryAllExtendedPairStableVaultsIDByAppResponse: + type: object + properties: + extended_pairs_id: + type: array + items: + type: string + format: uint64 + pagination: + type: object + properties: + next_key: + type: string + format: byte + title: |- + next_key is the key to be passed to PageRequest.key to + query the next page most efficiently + total: + type: string + format: uint64 + title: >- + total is total number of results available if PageRequest.count_total + + was set, its value is undefined otherwise + description: |- + PageResponse is to be embedded in gRPC response messages where the + corresponding request message has used PageRequest. + + message SomeResponse { + repeated Bar results = 1; + PageResponse page = 2; + } + comdex.asset.v1beta1.QueryAllExtendedPairVaultsByAppResponse: + type: object + properties: + extended_pair: + type: array + items: + type: object + properties: + id: + type: string + format: uint64 + app_id: + type: string + format: uint64 + pair_id: + type: string + format: uint64 + stability_fee: + type: string + closing_fee: + type: string + liquidation_penalty: + type: string + draw_down_fee: + type: string + is_vault_active: + type: boolean + debt_ceiling: + type: string + debt_floor: + type: string + is_stable_mint_vault: + type: boolean + min_cr: + type: string + pair_name: + type: string + asset_out_oracle_price: + type: boolean + asset_out_price: + type: string + format: uint64 + min_usd_value_left: + type: string + format: uint64 + block_height: + type: string + format: int64 + block_time: + type: string + format: date-time + pagination: + type: object + properties: + next_key: + type: string + format: byte + title: |- + next_key is the key to be passed to PageRequest.key to + query the next page most efficiently + total: + type: string + format: uint64 + title: >- + total is total number of results available if PageRequest.count_total + + was set, its value is undefined otherwise + description: |- + PageResponse is to be embedded in gRPC response messages where the + corresponding request message has used PageRequest. + + message SomeResponse { + repeated Bar results = 1; + PageResponse page = 2; + } + comdex.asset.v1beta1.QueryAllExtendedPairVaultsResponse: + type: object + properties: + pairVault: + type: array + items: + type: object + properties: + id: + type: string + format: uint64 + app_id: + type: string + format: uint64 + pair_id: + type: string + format: uint64 + stability_fee: + type: string + closing_fee: + type: string + liquidation_penalty: + type: string + draw_down_fee: + type: string + is_vault_active: + type: boolean + debt_ceiling: + type: string + debt_floor: + type: string + is_stable_mint_vault: + type: boolean + min_cr: + type: string + pair_name: + type: string + asset_out_oracle_price: + type: boolean + asset_out_price: + type: string + format: uint64 + min_usd_value_left: + type: string + format: uint64 + block_height: + type: string + format: int64 + block_time: + type: string + format: date-time + pagination: + type: object + properties: + next_key: + type: string + format: byte + title: |- + next_key is the key to be passed to PageRequest.key to + query the next page most efficiently + total: + type: string + format: uint64 + title: >- + total is total number of results available if PageRequest.count_total + + was set, its value is undefined otherwise + description: |- + PageResponse is to be embedded in gRPC response messages where the + corresponding request message has used PageRequest. + + message SomeResponse { + repeated Bar results = 1; + PageResponse page = 2; + } + comdex.asset.v1beta1.QueryAppResponse: + type: object + properties: + app: + type: object + properties: + id: + type: string + format: uint64 + name: + type: string + short_name: + type: string + min_gov_deposit: + type: string + gov_time_in_seconds: + type: string + format: uint64 + genesis_token: + type: array + items: + type: object + properties: + asset_id: + type: string + format: uint64 + genesis_supply: + type: string + is_gov_token: + type: boolean + recipient: + type: string + comdex.asset.v1beta1.QueryAppsResponse: + type: object + properties: + apps: + type: array + items: + type: object + properties: + id: + type: string + format: uint64 + name: + type: string + short_name: + type: string + min_gov_deposit: + type: string + gov_time_in_seconds: + type: string + format: uint64 + genesis_token: + type: array + items: + type: object + properties: + asset_id: + type: string + format: uint64 + genesis_supply: + type: string + is_gov_token: + type: boolean + recipient: + type: string + pagination: + type: object + properties: + next_key: + type: string + format: byte + title: |- + next_key is the key to be passed to PageRequest.key to + query the next page most efficiently + total: + type: string + format: uint64 + title: >- + total is total number of results available if PageRequest.count_total + + was set, its value is undefined otherwise + description: |- + PageResponse is to be embedded in gRPC response messages where the + corresponding request message has used PageRequest. + + message SomeResponse { + repeated Bar results = 1; + PageResponse page = 2; + } + comdex.asset.v1beta1.QueryAssetPairResponse: + type: object + properties: + pairInfo: + type: object + properties: + id: + type: string + format: uint64 + asset_in: + type: string + format: uint64 + denom_in: + type: string + asset_out: + type: string + format: uint64 + denom_out: + type: string + comdex.asset.v1beta1.QueryAssetPairsResponse: + type: object + properties: + pairsInfo: + type: array + items: + type: object + properties: + id: + type: string + format: uint64 + asset_in: + type: string + format: uint64 + denom_in: + type: string + asset_out: + type: string + format: uint64 + denom_out: + type: string + pagination: + type: object + properties: + next_key: + type: string + format: byte + title: |- + next_key is the key to be passed to PageRequest.key to + query the next page most efficiently + total: + type: string + format: uint64 + title: >- + total is total number of results available if PageRequest.count_total + + was set, its value is undefined otherwise + description: |- + PageResponse is to be embedded in gRPC response messages where the + corresponding request message has used PageRequest. + + message SomeResponse { + repeated Bar results = 1; + PageResponse page = 2; + } + comdex.asset.v1beta1.QueryAssetResponse: + type: object + properties: + asset: + type: object + properties: + id: + type: string + format: uint64 + name: + type: string + denom: + type: string + decimals: + type: string + is_on_chain: + type: boolean + is_oracle_price_required: + type: boolean + is_cdp_mintable: + type: boolean + comdex.asset.v1beta1.QueryAssetsResponse: + type: object + properties: + assets: + type: array + items: + type: object + properties: + id: + type: string + format: uint64 + name: + type: string + denom: + type: string + decimals: + type: string + is_on_chain: + type: boolean + is_oracle_price_required: + type: boolean + is_cdp_mintable: + type: boolean + pagination: + type: object + properties: + next_key: + type: string + format: byte + title: |- + next_key is the key to be passed to PageRequest.key to + query the next page most efficiently + total: + type: string + format: uint64 + title: >- + total is total number of results available if PageRequest.count_total + + was set, its value is undefined otherwise + description: |- + PageResponse is to be embedded in gRPC response messages where the + corresponding request message has used PageRequest. + + message SomeResponse { + repeated Bar results = 1; + PageResponse page = 2; + } + comdex.asset.v1beta1.QueryExtendedPairVaultResponse: + type: object + properties: + pairVault: + type: object + properties: + id: + type: string + format: uint64 + app_id: + type: string + format: uint64 + pair_id: + type: string + format: uint64 + stability_fee: + type: string + closing_fee: + type: string + liquidation_penalty: + type: string + draw_down_fee: + type: string + is_vault_active: + type: boolean + debt_ceiling: + type: string + debt_floor: + type: string + is_stable_mint_vault: + type: boolean + min_cr: + type: string + pair_name: + type: string + asset_out_oracle_price: + type: boolean + asset_out_price: + type: string + format: uint64 + min_usd_value_left: + type: string + format: uint64 + block_height: + type: string + format: int64 + block_time: + type: string + format: date-time + comdex.asset.v1beta1.QueryExtendedPairVaultsByAppWithoutStableResponse: + type: object + properties: + extended_pair: + type: array + items: + type: object + properties: + id: + type: string + format: uint64 + app_id: + type: string + format: uint64 + pair_id: + type: string + format: uint64 + stability_fee: + type: string + closing_fee: + type: string + liquidation_penalty: + type: string + draw_down_fee: + type: string + is_vault_active: + type: boolean + debt_ceiling: + type: string + debt_floor: + type: string + is_stable_mint_vault: + type: boolean + min_cr: + type: string + pair_name: + type: string + asset_out_oracle_price: + type: boolean + asset_out_price: + type: string + format: uint64 + min_usd_value_left: + type: string + format: uint64 + block_height: + type: string + format: int64 + block_time: + type: string + format: date-time + pagination: + type: object + properties: + next_key: + type: string + format: byte + title: |- + next_key is the key to be passed to PageRequest.key to + query the next page most efficiently + total: + type: string + format: uint64 + title: >- + total is total number of results available if PageRequest.count_total + + was set, its value is undefined otherwise + description: |- + PageResponse is to be embedded in gRPC response messages where the + corresponding request message has used PageRequest. + + message SomeResponse { + repeated Bar results = 1; + PageResponse page = 2; + } + comdex.asset.v1beta1.QueryGovTokenByAppResponse: + type: object + properties: + gov_asset_id: + type: string + format: uint64 + cosmos.base.query.v1beta1.PageRequest: + type: object + properties: + key: + type: string + format: byte + description: |- + key is a value returned in PageResponse.next_key to begin + querying the next page most efficiently. Only one of offset or key + should be set. + offset: + type: string + format: uint64 + description: >- + offset is a numeric offset that can be used when key is unavailable. + + It is less efficient than using key. Only one of offset or key should + + be set. + limit: + type: string + format: uint64 + description: >- + limit is the total number of results to be returned in the result page. + + If left empty it will default to a value to be set by each app. + count_total: + type: boolean + description: >- + count_total is set to true to indicate that the result set should include + + a count of the total number of items available for pagination in UIs. + + count_total is only respected when offset is used. It is ignored when key + + is set. + reverse: + type: boolean + description: >- + reverse is set to true if results are to be returned in the descending + + order. + description: |- + message SomeRequest { + Foo some_parameter = 1; + PageRequest pagination = 2; + } + title: |- + PageRequest is to be embedded in gRPC request messages for efficient + pagination. Ex: + cosmos.base.query.v1beta1.PageResponse: + type: object + properties: + next_key: + type: string + format: byte + title: |- + next_key is the key to be passed to PageRequest.key to + query the next page most efficiently + total: + type: string + format: uint64 + title: >- + total is total number of results available if PageRequest.count_total + + was set, its value is undefined otherwise + description: |- + PageResponse is to be embedded in gRPC response messages where the + corresponding request message has used PageRequest. + + message SomeResponse { + repeated Bar results = 1; + PageResponse page = 2; + } + google.protobuf.Any: + type: object + properties: + type_url: + type: string + description: >- + A URL/resource name that uniquely identifies the type of the serialized + + protocol buffer message. This string must contain at least + + one "/" character. The last segment of the URL's path must represent + + the fully qualified name of the type (as in + + `path/google.protobuf.Duration`). The name should be in a canonical form + + (e.g., leading "." is not accepted). + + + In practice, teams usually precompile into the binary all types that they + + expect it to use in the context of Any. However, for URLs which use the + + scheme `http`, `https`, or no scheme, one can optionally set up a type + + server that maps type URLs to message definitions as follows: + + + * If no scheme is provided, `https` is assumed. + + * An HTTP GET on the URL must yield a [google.protobuf.Type][] + + value in binary format, or produce an error. + * Applications are allowed to cache lookup results based on the + + URL, or have them precompiled into a binary to avoid any + lookup. Therefore, binary compatibility needs to be preserved + on changes to types. (Use versioned type names to manage + breaking changes.) + + Note: this functionality is not currently available in the official + + protobuf release, and it is not used for type URLs beginning with + + type.googleapis.com. + + + Schemes other than `http`, `https` (or the empty scheme) might be + + used with implementation specific semantics. + value: + type: string + format: byte + description: Must be a valid serialized protocol buffer of the above specified type. + description: >- + `Any` contains an arbitrary serialized protocol buffer message along with a + + URL that describes the type of the serialized message. + + + Protobuf library provides support to pack/unpack Any values in the form + + of utility functions or additional generated methods of the Any type. + + + Example 1: Pack and unpack a message in C++. + + + Foo foo = ...; + Any any; + any.PackFrom(foo); + ... + if (any.UnpackTo(&foo)) { + ... + } + + Example 2: Pack and unpack a message in Java. + + + Foo foo = ...; + Any any = Any.pack(foo); + ... + if (any.is(Foo.class)) { + foo = any.unpack(Foo.class); + } + + Example 3: Pack and unpack a message in Python. + + foo = Foo(...) + any = Any() + any.Pack(foo) + ... + if any.Is(Foo.DESCRIPTOR): + any.Unpack(foo) + ... + + Example 4: Pack and unpack a message in Go + + foo := &pb.Foo{...} + any, err := ptypes.MarshalAny(foo) + ... + foo := &pb.Foo{} + if err := ptypes.UnmarshalAny(any, foo); err != nil { + ... + } + + The pack methods provided by protobuf library will by default use + + 'type.googleapis.com/full.type.name' as the type URL and the unpack + + methods only use the fully qualified type name after the last '/' + + in the type URL, for example "foo.bar.com/x/y.z" will yield type + + name "y.z". + + + + JSON + + ==== + + The JSON representation of an `Any` value uses the regular + + representation of the deserialized, embedded message, with an + + additional field `@type` which contains the type URL. Example: + + + package google.profile; + message Person { + string first_name = 1; + string last_name = 2; + } + + { + "@type": "type.googleapis.com/google.profile.Person", + "firstName": , + "lastName": + } + + If the embedded message type is well-known and has a custom JSON + + representation, that representation will be embedded adding a field + + `value` which holds the custom JSON in addition to the `@type` + + field. Example (for message [google.protobuf.Duration][]): + + + { + "@type": "type.googleapis.com/google.protobuf.Duration", + "value": "1.212s" + } + grpc.gateway.runtime.Error: + type: object + properties: + error: + type: string + code: + type: integer + format: int32 + message: + type: string + details: + type: array + items: + type: object + properties: + type_url: + type: string + description: >- + A URL/resource name that uniquely identifies the type of the serialized + + protocol buffer message. This string must contain at least + + one "/" character. The last segment of the URL's path must represent + + the fully qualified name of the type (as in + + `path/google.protobuf.Duration`). The name should be in a canonical form + + (e.g., leading "." is not accepted). + + + In practice, teams usually precompile into the binary all types that they + + expect it to use in the context of Any. However, for URLs which use the + + scheme `http`, `https`, or no scheme, one can optionally set up a type + + server that maps type URLs to message definitions as follows: + + + * If no scheme is provided, `https` is assumed. + + * An HTTP GET on the URL must yield a [google.protobuf.Type][] + + value in binary format, or produce an error. + * Applications are allowed to cache lookup results based on the + + URL, or have them precompiled into a binary to avoid any + lookup. Therefore, binary compatibility needs to be preserved + on changes to types. (Use versioned type names to manage + breaking changes.) + + Note: this functionality is not currently available in the official + + protobuf release, and it is not used for type URLs beginning with + + type.googleapis.com. + + + Schemes other than `http`, `https` (or the empty scheme) might be + + used with implementation specific semantics. + value: + type: string + format: byte + description: Must be a valid serialized protocol buffer of the above specified type. + description: >- + `Any` contains an arbitrary serialized protocol buffer message along with a + + URL that describes the type of the serialized message. + + + Protobuf library provides support to pack/unpack Any values in the form + + of utility functions or additional generated methods of the Any type. + + + Example 1: Pack and unpack a message in C++. + + + Foo foo = ...; + Any any; + any.PackFrom(foo); + ... + if (any.UnpackTo(&foo)) { + ... + } + + Example 2: Pack and unpack a message in Java. + + + Foo foo = ...; + Any any = Any.pack(foo); + ... + if (any.is(Foo.class)) { + foo = any.unpack(Foo.class); + } + + Example 3: Pack and unpack a message in Python. + + foo = Foo(...) + any = Any() + any.Pack(foo) + ... + if any.Is(Foo.DESCRIPTOR): + any.Unpack(foo) + ... + + Example 4: Pack and unpack a message in Go + + foo := &pb.Foo{...} + any, err := ptypes.MarshalAny(foo) + ... + foo := &pb.Foo{} + if err := ptypes.UnmarshalAny(any, foo); err != nil { + ... + } + + The pack methods provided by protobuf library will by default use + + 'type.googleapis.com/full.type.name' as the type URL and the unpack + + methods only use the fully qualified type name after the last '/' + + in the type URL, for example "foo.bar.com/x/y.z" will yield type + + name "y.z". + + + + JSON + + ==== + + The JSON representation of an `Any` value uses the regular + + representation of the deserialized, embedded message, with an + + additional field `@type` which contains the type URL. Example: + + + package google.profile; + message Person { + string first_name = 1; + string last_name = 2; + } + + { + "@type": "type.googleapis.com/google.profile.Person", + "firstName": , + "lastName": + } + + If the embedded message type is well-known and has a custom JSON + + representation, that representation will be embedded adding a field + + `value` which holds the custom JSON in addition to the `@type` + + field. Example (for message [google.protobuf.Duration][]): + + + { + "@type": "type.googleapis.com/google.protobuf.Duration", + "value": "1.212s" + } + comdex.auction.v1beta1.AuctionParams: + type: object + properties: + app_id: + type: string + format: uint64 + auction_duration_seconds: + type: string + format: uint64 + buffer: + type: string + cusp: + type: string + step: + type: string + price_function_type: + type: string + format: uint64 + surplus_id: + type: string + format: uint64 + debt_id: + type: string + format: uint64 + dutch_id: + type: string + format: uint64 + bid_duration_seconds: + type: string + format: uint64 + comdex.auction.v1beta1.DebtAuction: + type: object + properties: + auction_id: + type: string + format: uint64 + auctioned_token: + type: object + properties: + denom: + type: string + amount: + type: string + description: |- + Coin defines a token with a denomination and an amount. + + NOTE: The amount field is an Int which implements the custom method + signatures required by gogoproto. + expected_user_token: + type: object + properties: + denom: + type: string + amount: + type: string + description: |- + Coin defines a token with a denomination and an amount. + + NOTE: The amount field is an Int which implements the custom method + signatures required by gogoproto. + expected_minted_token: + type: object + properties: + denom: + type: string + amount: + type: string + description: |- + Coin defines a token with a denomination and an amount. + + NOTE: The amount field is an Int which implements the custom method + signatures required by gogoproto. + end_time: + type: string + format: date-time + active_bidding_id: + type: string + format: uint64 + bidder: + type: string + current_bid_amount: + type: object + properties: + denom: + type: string + amount: + type: string + description: |- + Coin defines a token with a denomination and an amount. + + NOTE: The amount field is an Int which implements the custom method + signatures required by gogoproto. + auction_status: + type: string + format: uint64 + app_id: + type: string + format: uint64 + asset_id: + type: string + format: uint64 + bidding_ids: + type: array + items: + type: object + properties: + bid_id: + type: string + format: uint64 + bid_owner: + type: string + auction_mapping_id: + type: string + format: uint64 + bid_factor: + type: string + asset_in_id: + type: string + format: uint64 + asset_out_id: + type: string + format: uint64 + bid_end_time: + type: string + format: date-time + comdex.auction.v1beta1.DebtBiddings: + type: object + properties: + bidding_id: + type: string + format: uint64 + auction_id: + type: string + format: uint64 + auction_status: + type: string + outflow_tokens: + type: object + properties: + denom: + type: string + amount: + type: string + description: |- + Coin defines a token with a denomination and an amount. + + NOTE: The amount field is an Int which implements the custom method + signatures required by gogoproto. + bidder: + type: string + bid: + type: object + properties: + denom: + type: string + amount: + type: string + description: |- + Coin defines a token with a denomination and an amount. + + NOTE: The amount field is an Int which implements the custom method + signatures required by gogoproto. + bidding_timestamp: + type: string + format: date-time + bidding_status: + type: string + auction_mapping_id: + type: string + format: uint64 + app_id: + type: string + format: uint64 + comdex.auction.v1beta1.DutchAuction: + type: object + properties: + auction_id: + type: string + format: uint64 + outflow_token_init_amount: + type: object + properties: + denom: + type: string + amount: + type: string + description: |- + Coin defines a token with a denomination and an amount. + + NOTE: The amount field is an Int which implements the custom method + signatures required by gogoproto. + outflow_token_current_amount: + type: object + properties: + denom: + type: string + amount: + type: string + description: |- + Coin defines a token with a denomination and an amount. + + NOTE: The amount field is an Int which implements the custom method + signatures required by gogoproto. + inflow_token_target_amount: + type: object + properties: + denom: + type: string + amount: + type: string + description: |- + Coin defines a token with a denomination and an amount. + + NOTE: The amount field is an Int which implements the custom method + signatures required by gogoproto. + inflow_token_current_amount: + type: object + properties: + denom: + type: string + amount: + type: string + description: |- + Coin defines a token with a denomination and an amount. + + NOTE: The amount field is an Int which implements the custom method + signatures required by gogoproto. + outflow_token_initial_price: + type: string + outflow_token_current_price: + type: string + outflow_token_end_price: + type: string + inflow_token_current_price: + type: string + end_time: + type: string + format: date-time + auction_status: + type: string + format: uint64 + start_time: + type: string + format: date-time + bidding_ids: + type: array + items: + type: object + properties: + bid_id: + type: string + format: uint64 + bid_owner: + type: string + auction_mapping_id: + type: string + format: uint64 + app_id: + type: string + format: uint64 + asset_in_id: + type: string + format: uint64 + asset_out_id: + type: string + format: uint64 + locked_vault_id: + type: string + format: uint64 + vault_owner: + type: string + liquidation_penalty: + type: string + comdex.auction.v1beta1.DutchBiddings: + type: object + properties: + bidding_id: + type: string + format: uint64 + auction_id: + type: string + format: uint64 + auction_status: + type: string + outflow_token_amount: + type: object + properties: + denom: + type: string + amount: + type: string + description: |- + Coin defines a token with a denomination and an amount. + + NOTE: The amount field is an Int which implements the custom method + signatures required by gogoproto. + inflow_token_amount: + type: object + properties: + denom: + type: string + amount: + type: string + description: |- + Coin defines a token with a denomination and an amount. + + NOTE: The amount field is an Int which implements the custom method + signatures required by gogoproto. + bidder: + type: string + bidding_timestamp: + type: string + format: date-time + bidding_status: + type: string + auction_mapping_id: + type: string + format: uint64 + app_id: + type: string + format: uint64 + comdex.auction.v1beta1.ProtocolStatistics: + type: object + properties: + app_id: + type: string + format: uint64 + asset_id: + type: string + format: uint64 + loss: + type: string + comdex.auction.v1beta1.QueryDebtAuctionResponse: + type: object + properties: + auction: + type: object + properties: + auction_id: + type: string + format: uint64 + auctioned_token: + type: object + properties: + denom: + type: string + amount: + type: string + description: >- + Coin defines a token with a denomination and an amount. + + + NOTE: The amount field is an Int which implements the custom method + + signatures required by gogoproto. + expected_user_token: + type: object + properties: + denom: + type: string + amount: + type: string + description: >- + Coin defines a token with a denomination and an amount. + + + NOTE: The amount field is an Int which implements the custom method + + signatures required by gogoproto. + expected_minted_token: + type: object + properties: + denom: + type: string + amount: + type: string + description: >- + Coin defines a token with a denomination and an amount. + + + NOTE: The amount field is an Int which implements the custom method + + signatures required by gogoproto. + end_time: + type: string + format: date-time + active_bidding_id: + type: string + format: uint64 + bidder: + type: string + current_bid_amount: + type: object + properties: + denom: + type: string + amount: + type: string + description: >- + Coin defines a token with a denomination and an amount. + + + NOTE: The amount field is an Int which implements the custom method + + signatures required by gogoproto. + auction_status: + type: string + format: uint64 + app_id: + type: string + format: uint64 + asset_id: + type: string + format: uint64 + bidding_ids: + type: array + items: + type: object + properties: + bid_id: + type: string + format: uint64 + bid_owner: + type: string + auction_mapping_id: + type: string + format: uint64 + bid_factor: + type: string + asset_in_id: + type: string + format: uint64 + asset_out_id: + type: string + format: uint64 + bid_end_time: + type: string + format: date-time + pagination: + type: object + properties: + key: + type: string + format: byte + description: >- + key is a value returned in PageResponse.next_key to begin + + querying the next page most efficiently. Only one of offset or key + + should be set. + offset: + type: string + format: uint64 + description: >- + offset is a numeric offset that can be used when key is unavailable. + + It is less efficient than using key. Only one of offset or key should + + be set. + limit: + type: string + format: uint64 + description: >- + limit is the total number of results to be returned in the result page. + + If left empty it will default to a value to be set by each app. + count_total: + type: boolean + description: >- + count_total is set to true to indicate that the result set should include + + a count of the total number of items available for pagination in UIs. + + count_total is only respected when offset is used. It is ignored when key + + is set. + reverse: + type: boolean + description: >- + reverse is set to true if results are to be returned in the descending + + order. + description: |- + message SomeRequest { + Foo some_parameter = 1; + PageRequest pagination = 2; + } + title: |- + PageRequest is to be embedded in gRPC request messages for efficient + pagination. Ex: + comdex.auction.v1beta1.QueryDebtAuctionsResponse: + type: object + properties: + auctions: + type: array + items: + type: object + properties: + auction_id: + type: string + format: uint64 + auctioned_token: + type: object + properties: + denom: + type: string + amount: + type: string + description: >- + Coin defines a token with a denomination and an amount. + + + NOTE: The amount field is an Int which implements the custom method + + signatures required by gogoproto. + expected_user_token: + type: object + properties: + denom: + type: string + amount: + type: string + description: >- + Coin defines a token with a denomination and an amount. + + + NOTE: The amount field is an Int which implements the custom method + + signatures required by gogoproto. + expected_minted_token: + type: object + properties: + denom: + type: string + amount: + type: string + description: >- + Coin defines a token with a denomination and an amount. + + + NOTE: The amount field is an Int which implements the custom method + + signatures required by gogoproto. + end_time: + type: string + format: date-time + active_bidding_id: + type: string + format: uint64 + bidder: + type: string + current_bid_amount: + type: object + properties: + denom: + type: string + amount: + type: string + description: >- + Coin defines a token with a denomination and an amount. + + + NOTE: The amount field is an Int which implements the custom method + + signatures required by gogoproto. + auction_status: + type: string + format: uint64 + app_id: + type: string + format: uint64 + asset_id: + type: string + format: uint64 + bidding_ids: + type: array + items: + type: object + properties: + bid_id: + type: string + format: uint64 + bid_owner: + type: string + auction_mapping_id: + type: string + format: uint64 + bid_factor: + type: string + asset_in_id: + type: string + format: uint64 + asset_out_id: + type: string + format: uint64 + bid_end_time: + type: string + format: date-time + pagination: + type: object + properties: + next_key: + type: string + format: byte + title: |- + next_key is the key to be passed to PageRequest.key to + query the next page most efficiently + total: + type: string + format: uint64 + title: >- + total is total number of results available if PageRequest.count_total + + was set, its value is undefined otherwise + description: |- + PageResponse is to be embedded in gRPC response messages where the + corresponding request message has used PageRequest. + + message SomeResponse { + repeated Bar results = 1; + PageResponse page = 2; + } + comdex.auction.v1beta1.QueryDebtBiddingsResponse: + type: object + properties: + bidder: + type: string + biddings: + type: array + items: + type: object + properties: + bidding_id: + type: string + format: uint64 + auction_id: + type: string + format: uint64 + auction_status: + type: string + outflow_tokens: + type: object + properties: + denom: + type: string + amount: + type: string + description: >- + Coin defines a token with a denomination and an amount. + + + NOTE: The amount field is an Int which implements the custom method + + signatures required by gogoproto. + bidder: + type: string + bid: + type: object + properties: + denom: + type: string + amount: + type: string + description: >- + Coin defines a token with a denomination and an amount. + + + NOTE: The amount field is an Int which implements the custom method + + signatures required by gogoproto. + bidding_timestamp: + type: string + format: date-time + bidding_status: + type: string + auction_mapping_id: + type: string + format: uint64 + app_id: + type: string + format: uint64 + pagination: + type: object + properties: + next_key: + type: string + format: byte + title: |- + next_key is the key to be passed to PageRequest.key to + query the next page most efficiently + total: + type: string + format: uint64 + title: >- + total is total number of results available if PageRequest.count_total + + was set, its value is undefined otherwise + description: |- + PageResponse is to be embedded in gRPC response messages where the + corresponding request message has used PageRequest. + + message SomeResponse { + repeated Bar results = 1; + PageResponse page = 2; + } + comdex.auction.v1beta1.QueryDutchAuctionParamResponse: + type: object + properties: + auctionParams: + type: object + properties: + app_id: + type: string + format: uint64 + auction_duration_seconds: + type: string + format: uint64 + buffer: + type: string + cusp: + type: string + step: + type: string + price_function_type: + type: string + format: uint64 + surplus_id: + type: string + format: uint64 + debt_id: + type: string + format: uint64 + dutch_id: + type: string + format: uint64 + bid_duration_seconds: + type: string + format: uint64 + comdex.auction.v1beta1.QueryDutchAuctionResponse: + type: object + properties: + auction: + type: object + properties: + auction_id: + type: string + format: uint64 + outflow_token_init_amount: + type: object + properties: + denom: + type: string + amount: + type: string + description: >- + Coin defines a token with a denomination and an amount. + + + NOTE: The amount field is an Int which implements the custom method + + signatures required by gogoproto. + outflow_token_current_amount: + type: object + properties: + denom: + type: string + amount: + type: string + description: >- + Coin defines a token with a denomination and an amount. + + + NOTE: The amount field is an Int which implements the custom method + + signatures required by gogoproto. + inflow_token_target_amount: + type: object + properties: + denom: + type: string + amount: + type: string + description: >- + Coin defines a token with a denomination and an amount. + + + NOTE: The amount field is an Int which implements the custom method + + signatures required by gogoproto. + inflow_token_current_amount: + type: object + properties: + denom: + type: string + amount: + type: string + description: >- + Coin defines a token with a denomination and an amount. + + + NOTE: The amount field is an Int which implements the custom method + + signatures required by gogoproto. + outflow_token_initial_price: + type: string + outflow_token_current_price: + type: string + outflow_token_end_price: + type: string + inflow_token_current_price: + type: string + end_time: + type: string + format: date-time + auction_status: + type: string + format: uint64 + start_time: + type: string + format: date-time + bidding_ids: + type: array + items: + type: object + properties: + bid_id: + type: string + format: uint64 + bid_owner: + type: string + auction_mapping_id: + type: string + format: uint64 + app_id: + type: string + format: uint64 + asset_in_id: + type: string + format: uint64 + asset_out_id: + type: string + format: uint64 + locked_vault_id: + type: string + format: uint64 + vault_owner: + type: string + liquidation_penalty: + type: string + comdex.auction.v1beta1.QueryDutchAuctionsResponse: + type: object + properties: + auctions: + type: array + items: + type: object + properties: + auction_id: + type: string + format: uint64 + outflow_token_init_amount: + type: object + properties: + denom: + type: string + amount: + type: string + description: >- + Coin defines a token with a denomination and an amount. + + + NOTE: The amount field is an Int which implements the custom method + + signatures required by gogoproto. + outflow_token_current_amount: + type: object + properties: + denom: + type: string + amount: + type: string + description: >- + Coin defines a token with a denomination and an amount. + + + NOTE: The amount field is an Int which implements the custom method + + signatures required by gogoproto. + inflow_token_target_amount: + type: object + properties: + denom: + type: string + amount: + type: string + description: >- + Coin defines a token with a denomination and an amount. + + + NOTE: The amount field is an Int which implements the custom method + + signatures required by gogoproto. + inflow_token_current_amount: + type: object + properties: + denom: + type: string + amount: + type: string + description: >- + Coin defines a token with a denomination and an amount. + + + NOTE: The amount field is an Int which implements the custom method + + signatures required by gogoproto. + outflow_token_initial_price: + type: string + outflow_token_current_price: + type: string + outflow_token_end_price: + type: string + inflow_token_current_price: + type: string + end_time: + type: string + format: date-time + auction_status: + type: string + format: uint64 + start_time: + type: string + format: date-time + bidding_ids: + type: array + items: + type: object + properties: + bid_id: + type: string + format: uint64 + bid_owner: + type: string + auction_mapping_id: + type: string + format: uint64 + app_id: + type: string + format: uint64 + asset_in_id: + type: string + format: uint64 + asset_out_id: + type: string + format: uint64 + locked_vault_id: + type: string + format: uint64 + vault_owner: + type: string + liquidation_penalty: + type: string + pagination: + type: object + properties: + next_key: + type: string + format: byte + title: |- + next_key is the key to be passed to PageRequest.key to + query the next page most efficiently + total: + type: string + format: uint64 + title: >- + total is total number of results available if PageRequest.count_total + + was set, its value is undefined otherwise + description: |- + PageResponse is to be embedded in gRPC response messages where the + corresponding request message has used PageRequest. + + message SomeResponse { + repeated Bar results = 1; + PageResponse page = 2; + } + comdex.auction.v1beta1.QueryDutchBiddingsResponse: + type: object + properties: + bidder: + type: string + biddings: + type: array + items: + type: object + properties: + bidding_id: + type: string + format: uint64 + auction_id: + type: string + format: uint64 + auction_status: + type: string + outflow_token_amount: + type: object + properties: + denom: + type: string + amount: + type: string + description: >- + Coin defines a token with a denomination and an amount. + + + NOTE: The amount field is an Int which implements the custom method + + signatures required by gogoproto. + inflow_token_amount: + type: object + properties: + denom: + type: string + amount: + type: string + description: >- + Coin defines a token with a denomination and an amount. + + + NOTE: The amount field is an Int which implements the custom method + + signatures required by gogoproto. + bidder: + type: string + bidding_timestamp: + type: string + format: date-time + bidding_status: + type: string + auction_mapping_id: + type: string + format: uint64 + app_id: + type: string + format: uint64 + pagination: + type: object + properties: + next_key: + type: string + format: byte + title: |- + next_key is the key to be passed to PageRequest.key to + query the next page most efficiently + total: + type: string + format: uint64 + title: >- + total is total number of results available if PageRequest.count_total + + was set, its value is undefined otherwise + description: |- + PageResponse is to be embedded in gRPC response messages where the + corresponding request message has used PageRequest. + + message SomeResponse { + repeated Bar results = 1; + PageResponse page = 2; + } + comdex.auction.v1beta1.QueryDutchLendAuctionResponse: + type: object + properties: + auction: + type: object + properties: + auction_id: + type: string + format: uint64 + outflow_token_init_amount: + type: object + properties: + denom: + type: string + amount: + type: string + description: >- + Coin defines a token with a denomination and an amount. + + + NOTE: The amount field is an Int which implements the custom method + + signatures required by gogoproto. + outflow_token_current_amount: + type: object + properties: + denom: + type: string + amount: + type: string + description: >- + Coin defines a token with a denomination and an amount. + + + NOTE: The amount field is an Int which implements the custom method + + signatures required by gogoproto. + inflow_token_target_amount: + type: object + properties: + denom: + type: string + amount: + type: string + description: >- + Coin defines a token with a denomination and an amount. + + + NOTE: The amount field is an Int which implements the custom method + + signatures required by gogoproto. + inflow_token_current_amount: + type: object + properties: + denom: + type: string + amount: + type: string + description: >- + Coin defines a token with a denomination and an amount. + + + NOTE: The amount field is an Int which implements the custom method + + signatures required by gogoproto. + outflow_token_initial_price: + type: string + outflow_token_current_price: + type: string + outflow_token_end_price: + type: string + inflow_token_current_price: + type: string + end_time: + type: string + format: date-time + auction_status: + type: string + format: uint64 + start_time: + type: string + format: date-time + bidding_ids: + type: array + items: + type: object + properties: + bid_id: + type: string + format: uint64 + bid_owner: + type: string + auction_mapping_id: + type: string + format: uint64 + app_id: + type: string + format: uint64 + asset_in_id: + type: string + format: uint64 + asset_out_id: + type: string + format: uint64 + locked_vault_id: + type: string + format: uint64 + vault_owner: + type: string + liquidation_penalty: + type: string + comdex.auction.v1beta1.QueryDutchLendAuctionsResponse: + type: object + properties: + auctions: + type: array + items: + type: object + properties: + auction_id: + type: string + format: uint64 + outflow_token_init_amount: + type: object + properties: + denom: + type: string + amount: + type: string + description: >- + Coin defines a token with a denomination and an amount. + + + NOTE: The amount field is an Int which implements the custom method + + signatures required by gogoproto. + outflow_token_current_amount: + type: object + properties: + denom: + type: string + amount: + type: string + description: >- + Coin defines a token with a denomination and an amount. + + + NOTE: The amount field is an Int which implements the custom method + + signatures required by gogoproto. + inflow_token_target_amount: + type: object + properties: + denom: + type: string + amount: + type: string + description: >- + Coin defines a token with a denomination and an amount. + + + NOTE: The amount field is an Int which implements the custom method + + signatures required by gogoproto. + inflow_token_current_amount: + type: object + properties: + denom: + type: string + amount: + type: string + description: >- + Coin defines a token with a denomination and an amount. + + + NOTE: The amount field is an Int which implements the custom method + + signatures required by gogoproto. + outflow_token_initial_price: + type: string + outflow_token_current_price: + type: string + outflow_token_end_price: + type: string + inflow_token_current_price: + type: string + end_time: + type: string + format: date-time + auction_status: + type: string + format: uint64 + start_time: + type: string + format: date-time + bidding_ids: + type: array + items: + type: object + properties: + bid_id: + type: string + format: uint64 + bid_owner: + type: string + auction_mapping_id: + type: string + format: uint64 + app_id: + type: string + format: uint64 + asset_in_id: + type: string + format: uint64 + asset_out_id: + type: string + format: uint64 + locked_vault_id: + type: string + format: uint64 + vault_owner: + type: string + liquidation_penalty: + type: string + pagination: + type: object + properties: + next_key: + type: string + format: byte + title: |- + next_key is the key to be passed to PageRequest.key to + query the next page most efficiently + total: + type: string + format: uint64 + title: >- + total is total number of results available if PageRequest.count_total + + was set, its value is undefined otherwise + description: |- + PageResponse is to be embedded in gRPC response messages where the + corresponding request message has used PageRequest. + + message SomeResponse { + repeated Bar results = 1; + PageResponse page = 2; + } + comdex.auction.v1beta1.QueryDutchLendBiddingsResponse: + type: object + properties: + bidder: + type: string + biddings: + type: array + items: + type: object + properties: + bidding_id: + type: string + format: uint64 + auction_id: + type: string + format: uint64 + auction_status: + type: string + outflow_token_amount: + type: object + properties: + denom: + type: string + amount: + type: string + description: >- + Coin defines a token with a denomination and an amount. + + + NOTE: The amount field is an Int which implements the custom method + + signatures required by gogoproto. + inflow_token_amount: + type: object + properties: + denom: + type: string + amount: + type: string + description: >- + Coin defines a token with a denomination and an amount. + + + NOTE: The amount field is an Int which implements the custom method + + signatures required by gogoproto. + bidder: + type: string + bidding_timestamp: + type: string + format: date-time + bidding_status: + type: string + auction_mapping_id: + type: string + format: uint64 + app_id: + type: string + format: uint64 + pagination: + type: object + properties: + next_key: + type: string + format: byte + title: |- + next_key is the key to be passed to PageRequest.key to + query the next page most efficiently + total: + type: string + format: uint64 + title: >- + total is total number of results available if PageRequest.count_total + + was set, its value is undefined otherwise + description: |- + PageResponse is to be embedded in gRPC response messages where the + corresponding request message has used PageRequest. + + message SomeResponse { + repeated Bar results = 1; + PageResponse page = 2; + } + comdex.auction.v1beta1.QueryFilterDutchAuctionsResponse: + type: object + properties: + auctions: + type: array + items: + type: object + properties: + auction_id: + type: string + format: uint64 + outflow_token_init_amount: + type: object + properties: + denom: + type: string + amount: + type: string + description: >- + Coin defines a token with a denomination and an amount. + + + NOTE: The amount field is an Int which implements the custom method + + signatures required by gogoproto. + outflow_token_current_amount: + type: object + properties: + denom: + type: string + amount: + type: string + description: >- + Coin defines a token with a denomination and an amount. + + + NOTE: The amount field is an Int which implements the custom method + + signatures required by gogoproto. + inflow_token_target_amount: + type: object + properties: + denom: + type: string + amount: + type: string + description: >- + Coin defines a token with a denomination and an amount. + + + NOTE: The amount field is an Int which implements the custom method + + signatures required by gogoproto. + inflow_token_current_amount: + type: object + properties: + denom: + type: string + amount: + type: string + description: >- + Coin defines a token with a denomination and an amount. + + + NOTE: The amount field is an Int which implements the custom method + + signatures required by gogoproto. + outflow_token_initial_price: + type: string + outflow_token_current_price: + type: string + outflow_token_end_price: + type: string + inflow_token_current_price: + type: string + end_time: + type: string + format: date-time + auction_status: + type: string + format: uint64 + start_time: + type: string + format: date-time + bidding_ids: + type: array + items: + type: object + properties: + bid_id: + type: string + format: uint64 + bid_owner: + type: string + auction_mapping_id: + type: string + format: uint64 + app_id: + type: string + format: uint64 + asset_in_id: + type: string + format: uint64 + asset_out_id: + type: string + format: uint64 + locked_vault_id: + type: string + format: uint64 + vault_owner: + type: string + liquidation_penalty: + type: string + pagination: + type: object + properties: + next_key: + type: string + format: byte + title: |- + next_key is the key to be passed to PageRequest.key to + query the next page most efficiently + total: + type: string + format: uint64 + title: >- + total is total number of results available if PageRequest.count_total + + was set, its value is undefined otherwise + description: |- + PageResponse is to be embedded in gRPC response messages where the + corresponding request message has used PageRequest. + + message SomeResponse { + repeated Bar results = 1; + PageResponse page = 2; + } + comdex.auction.v1beta1.QueryProtocolStatisticsResponse: + type: object + properties: + stats: + type: array + items: + type: object + properties: + app_id: + type: string + format: uint64 + asset_id: + type: string + format: uint64 + loss: + type: string + pagination: + type: object + properties: + next_key: + type: string + format: byte + title: |- + next_key is the key to be passed to PageRequest.key to + query the next page most efficiently + total: + type: string + format: uint64 + title: >- + total is total number of results available if PageRequest.count_total + + was set, its value is undefined otherwise + description: |- + PageResponse is to be embedded in gRPC response messages where the + corresponding request message has used PageRequest. + + message SomeResponse { + repeated Bar results = 1; + PageResponse page = 2; + } + comdex.auction.v1beta1.QuerySurplusAuctionResponse: + type: object + properties: + auction: + type: object + properties: + auction_id: + type: string + format: uint64 + sell_token: + type: object + properties: + denom: + type: string + amount: + type: string + description: >- + Coin defines a token with a denomination and an amount. + + + NOTE: The amount field is an Int which implements the custom method + + signatures required by gogoproto. + buy_token: + type: object + properties: + denom: + type: string + amount: + type: string + description: >- + Coin defines a token with a denomination and an amount. + + + NOTE: The amount field is an Int which implements the custom method + + signatures required by gogoproto. + active_bidding_id: + type: string + format: uint64 + bidder: + type: string + bid: + type: object + properties: + denom: + type: string + amount: + type: string + description: >- + Coin defines a token with a denomination and an amount. + + + NOTE: The amount field is an Int which implements the custom method + + signatures required by gogoproto. + end_time: + type: string + format: date-time + bid_factor: + type: string + bidding_ids: + type: array + items: + type: object + properties: + bid_id: + type: string + format: uint64 + bid_owner: + type: string + auction_status: + type: string + format: uint64 + app_id: + type: string + format: uint64 + asset_id: + type: string + format: uint64 + auction_mapping_id: + type: string + format: uint64 + asset_in_id: + type: string + format: uint64 + asset_out_id: + type: string + format: uint64 + bid_end_time: + type: string + format: date-time + comdex.auction.v1beta1.QuerySurplusAuctionsResponse: + type: object + properties: + auctions: + type: array + items: + type: object + properties: + auction_id: + type: string + format: uint64 + sell_token: + type: object + properties: + denom: + type: string + amount: + type: string + description: >- + Coin defines a token with a denomination and an amount. + + + NOTE: The amount field is an Int which implements the custom method + + signatures required by gogoproto. + buy_token: + type: object + properties: + denom: + type: string + amount: + type: string + description: >- + Coin defines a token with a denomination and an amount. + + + NOTE: The amount field is an Int which implements the custom method + + signatures required by gogoproto. + active_bidding_id: + type: string + format: uint64 + bidder: + type: string + bid: + type: object + properties: + denom: + type: string + amount: + type: string + description: >- + Coin defines a token with a denomination and an amount. + + + NOTE: The amount field is an Int which implements the custom method + + signatures required by gogoproto. + end_time: + type: string + format: date-time + bid_factor: + type: string + bidding_ids: + type: array + items: + type: object + properties: + bid_id: + type: string + format: uint64 + bid_owner: + type: string + auction_status: + type: string + format: uint64 + app_id: + type: string + format: uint64 + asset_id: + type: string + format: uint64 + auction_mapping_id: + type: string + format: uint64 + asset_in_id: + type: string + format: uint64 + asset_out_id: + type: string + format: uint64 + bid_end_time: + type: string + format: date-time + pagination: + type: object + properties: + next_key: + type: string + format: byte + title: |- + next_key is the key to be passed to PageRequest.key to + query the next page most efficiently + total: + type: string + format: uint64 + title: >- + total is total number of results available if PageRequest.count_total + + was set, its value is undefined otherwise + description: |- + PageResponse is to be embedded in gRPC response messages where the + corresponding request message has used PageRequest. + + message SomeResponse { + repeated Bar results = 1; + PageResponse page = 2; + } + comdex.auction.v1beta1.QuerySurplusBiddingsResponse: + type: object + properties: + bidder: + type: string + biddings: + type: array + items: + type: object + properties: + bidding_id: + type: string + format: uint64 + auction_id: + type: string + format: uint64 + auction_status: + type: string + auctioned_collateral: + type: object + properties: + denom: + type: string + amount: + type: string + description: >- + Coin defines a token with a denomination and an amount. + + + NOTE: The amount field is an Int which implements the custom method + + signatures required by gogoproto. + bidder: + type: string + bid: + type: object + properties: + denom: + type: string + amount: + type: string + description: >- + Coin defines a token with a denomination and an amount. + + + NOTE: The amount field is an Int which implements the custom method + + signatures required by gogoproto. + bidding_timestamp: + type: string + format: date-time + bidding_status: + type: string + auction_mapping_id: + type: string + format: uint64 + app_id: + type: string + format: uint64 + pagination: + type: object + properties: + next_key: + type: string + format: byte + title: |- + next_key is the key to be passed to PageRequest.key to + query the next page most efficiently + total: + type: string + format: uint64 + title: >- + total is total number of results available if PageRequest.count_total + + was set, its value is undefined otherwise + description: |- + PageResponse is to be embedded in gRPC response messages where the + corresponding request message has used PageRequest. + + message SomeResponse { + repeated Bar results = 1; + PageResponse page = 2; + } + comdex.auction.v1beta1.SurplusAuction: + type: object + properties: + auction_id: + type: string + format: uint64 + sell_token: + type: object + properties: + denom: + type: string + amount: + type: string + description: |- + Coin defines a token with a denomination and an amount. + + NOTE: The amount field is an Int which implements the custom method + signatures required by gogoproto. + buy_token: + type: object + properties: + denom: + type: string + amount: + type: string + description: |- + Coin defines a token with a denomination and an amount. + + NOTE: The amount field is an Int which implements the custom method + signatures required by gogoproto. + active_bidding_id: + type: string + format: uint64 + bidder: + type: string + bid: + type: object + properties: + denom: + type: string + amount: + type: string + description: |- + Coin defines a token with a denomination and an amount. + + NOTE: The amount field is an Int which implements the custom method + signatures required by gogoproto. + end_time: + type: string + format: date-time + bid_factor: + type: string + bidding_ids: + type: array + items: + type: object + properties: + bid_id: + type: string + format: uint64 + bid_owner: + type: string + auction_status: + type: string + format: uint64 + app_id: + type: string + format: uint64 + asset_id: + type: string + format: uint64 + auction_mapping_id: + type: string + format: uint64 + asset_in_id: + type: string + format: uint64 + asset_out_id: + type: string + format: uint64 + bid_end_time: + type: string + format: date-time + comdex.auction.v1beta1.SurplusBiddings: + type: object + properties: + bidding_id: + type: string + format: uint64 + auction_id: + type: string + format: uint64 + auction_status: + type: string + auctioned_collateral: + type: object + properties: + denom: + type: string + amount: + type: string + description: |- + Coin defines a token with a denomination and an amount. + + NOTE: The amount field is an Int which implements the custom method + signatures required by gogoproto. + bidder: + type: string + bid: + type: object + properties: + denom: + type: string + amount: + type: string + description: |- + Coin defines a token with a denomination and an amount. + + NOTE: The amount field is an Int which implements the custom method + signatures required by gogoproto. + bidding_timestamp: + type: string + format: date-time + bidding_status: + type: string + auction_mapping_id: + type: string + format: uint64 + app_id: + type: string + format: uint64 + comdex.auction.v1beta1.bidOwnerMapping: + type: object + properties: + bid_id: + type: string + format: uint64 + bid_owner: + type: string + cosmos.base.v1beta1.Coin: + type: object + properties: + denom: + type: string + amount: + type: string + description: |- + Coin defines a token with a denomination and an amount. + + NOTE: The amount field is an Int which implements the custom method + signatures required by gogoproto. + comdex.bandoracle.v1beta1.DiscardData: + type: object + properties: + block_height: + type: string + format: int64 + discard_bool: + type: boolean + comdex.bandoracle.v1beta1.FetchPriceCallData: + type: object + properties: + symbols: + type: array + items: + type: string + multiplier: + type: string + format: uint64 + comdex.bandoracle.v1beta1.FetchPriceResult: + type: object + properties: + rates: + type: array + items: + type: string + format: uint64 + comdex.bandoracle.v1beta1.MsgFetchPriceData: + type: object + properties: + creator: + type: string + oracle_script_id: + type: string + format: uint64 + source_channel: + type: string + calldata: + type: object + properties: + symbols: + type: array + items: + type: string + multiplier: + type: string + format: uint64 + ask_count: + type: string + format: uint64 + min_count: + type: string + format: uint64 + fee_limit: + type: array + items: + type: object + properties: + denom: + type: string + amount: + type: string + description: >- + Coin defines a token with a denomination and an amount. + + + NOTE: The amount field is an Int which implements the custom method + + signatures required by gogoproto. + request_key: + type: string + prepare_gas: + type: string + format: uint64 + execute_gas: + type: string + format: uint64 + client_id: + type: string + twa_batch_size: + type: string + format: uint64 + accepted_height_diff: + type: string + format: int64 + comdex.bandoracle.v1beta1.Params: + type: object + description: Params defines the parameters for the module. + comdex.bandoracle.v1beta1.QueryDiscardDataResponse: + type: object + properties: + discardData: + type: object + properties: + block_height: + type: string + format: int64 + discard_bool: + type: boolean + comdex.bandoracle.v1beta1.QueryFetchPriceDataResponse: + type: object + properties: + msgFetchPriceData: + type: object + properties: + creator: + type: string + oracle_script_id: + type: string + format: uint64 + source_channel: + type: string + calldata: + type: object + properties: + symbols: + type: array + items: + type: string + multiplier: + type: string + format: uint64 + ask_count: + type: string + format: uint64 + min_count: + type: string + format: uint64 + fee_limit: + type: array + items: + type: object + properties: + denom: + type: string + amount: + type: string + description: >- + Coin defines a token with a denomination and an amount. + + + NOTE: The amount field is an Int which implements the custom method + + signatures required by gogoproto. + request_key: + type: string + prepare_gas: + type: string + format: uint64 + execute_gas: + type: string + format: uint64 + client_id: + type: string + twa_batch_size: + type: string + format: uint64 + accepted_height_diff: + type: string + format: int64 + comdex.bandoracle.v1beta1.QueryFetchPriceResponse: + type: object + properties: + result: + type: object + properties: + rates: + type: array + items: + type: string + format: uint64 + comdex.bandoracle.v1beta1.QueryLastFetchPriceIdResponse: + type: object + properties: + request_id: + type: string + format: int64 + comdex.bandoracle.v1beta1.QueryParamsResponse: + type: object + properties: + params: + type: object + description: Params defines the parameters for the module. + comdex.collector.v1beta1.AppAssetIdToAuctionLookupTable: + type: object + properties: + app_id: + type: string + format: uint64 + asset_id: + type: string + format: uint64 + is_surplus_auction: + type: boolean + is_debt_auction: + type: boolean + is_distributor: + type: boolean + is_auction_active: + type: boolean + asset_out_oracle_price: + type: boolean + asset_out_price: + type: string + format: uint64 + comdex.collector.v1beta1.AppAssetIdToFeeCollectedData: + type: object + properties: + app_id: + type: string + format: uint64 + asset_id: + type: string + format: uint64 + net_fees_collected: + type: string + comdex.collector.v1beta1.CollectorData: + type: object + properties: + collected_stability_fee: + type: string + collected_closing_fee: + type: string + collected_opening_fee: + type: string + liquidation_rewards_collected: + type: string + comdex.collector.v1beta1.CollectorLookupTableData: + type: object + properties: + app_id: + type: string + format: uint64 + collector_asset_id: + type: string + format: uint64 + secondary_asset_id: + type: string + format: uint64 + surplus_threshold: + type: string + debt_threshold: + type: string + locker_saving_rate: + type: string + lot_size: + type: string + bid_factor: + type: string + debt_lot_size: + type: string + block_height: + type: string + format: int64 + block_time: + type: string + format: date-time + comdex.collector.v1beta1.Params: + type: object + description: Params defines the parameters for the module. + comdex.collector.v1beta1.QueryAuctionMappingForAppAndAssetResponse: + type: object + properties: + assetIdToAuctionLookupTable: + type: object + properties: + app_id: + type: string + format: uint64 + asset_id: + type: string + format: uint64 + is_surplus_auction: + type: boolean + is_debt_auction: + type: boolean + is_distributor: + type: boolean + is_auction_active: + type: boolean + asset_out_oracle_price: + type: boolean + asset_out_price: + type: string + format: uint64 + comdex.collector.v1beta1.QueryCollectorDataByAppAndAssetResponse: + type: object + properties: + collectorData: + type: object + properties: + collected_stability_fee: + type: string + collected_closing_fee: + type: string + collected_opening_fee: + type: string + liquidation_rewards_collected: + type: string + comdex.collector.v1beta1.QueryCollectorLookupByAppAndAssetResponse: + type: object + properties: + collectorLookup: + type: object + properties: + app_id: + type: string + format: uint64 + collector_asset_id: + type: string + format: uint64 + secondary_asset_id: + type: string + format: uint64 + surplus_threshold: + type: string + debt_threshold: + type: string + locker_saving_rate: + type: string + lot_size: + type: string + bid_factor: + type: string + debt_lot_size: + type: string + block_height: + type: string + format: int64 + block_time: + type: string + format: date-time + comdex.collector.v1beta1.QueryCollectorLookupByAppResponse: + type: object + properties: + collectorLookup: + type: array + items: + type: object + properties: + app_id: + type: string + format: uint64 + collector_asset_id: + type: string + format: uint64 + secondary_asset_id: + type: string + format: uint64 + surplus_threshold: + type: string + debt_threshold: + type: string + locker_saving_rate: + type: string + lot_size: + type: string + bid_factor: + type: string + debt_lot_size: + type: string + block_height: + type: string + format: int64 + block_time: + type: string + format: date-time + pagination: + type: object + properties: + next_key: + type: string + format: byte + title: |- + next_key is the key to be passed to PageRequest.key to + query the next page most efficiently + total: + type: string + format: uint64 + title: >- + total is total number of results available if PageRequest.count_total + + was set, its value is undefined otherwise + description: |- + PageResponse is to be embedded in gRPC response messages where the + corresponding request message has used PageRequest. + + message SomeResponse { + repeated Bar results = 1; + PageResponse page = 2; + } + comdex.collector.v1beta1.QueryNetFeeCollectedForAppAndAssetResponse: + type: object + properties: + assetIdToFeeCollected: + type: object + properties: + app_id: + type: string + format: uint64 + asset_id: + type: string + format: uint64 + net_fees_collected: + type: string + comdex.collector.v1beta1.QueryParamsResponse: + type: object + properties: + params: + description: params holds all the parameters of this module. + type: object + description: QueryParamsResponse is response type for the Query/Params RPC method. + comdex.esm.v1beta1.AssetToAmount: + type: object + properties: + appId: + type: string + format: uint64 + asset_id: + type: string + format: uint64 + amount: + type: string + share: + type: string + debt_token_worth: + type: string + is_collateral: + type: boolean + comdex.esm.v1beta1.CurrentDepositStats: + type: object + properties: + app_id: + type: string + format: uint64 + balance: + type: object + properties: + denom: + type: string + amount: + type: string + description: |- + Coin defines a token with a denomination and an amount. + + NOTE: The amount field is an Int which implements the custom method + signatures required by gogoproto. + comdex.esm.v1beta1.DataAfterCoolOff: + type: object + properties: + appId: + type: string + format: uint64 + collateral_total_amount: + type: string + debt_total_amount: + type: string + comdex.esm.v1beta1.DebtAssetsRates: + type: object + properties: + asset_id: + type: string + format: uint64 + rates: + type: string + format: uint64 + comdex.esm.v1beta1.ESMStatus: + type: object + properties: + app_id: + type: string + format: uint64 + executor: + type: string + status: + type: boolean + start_time: + type: string + format: date-time + end_time: + type: string + format: date-time + vault_redemption_status: + type: boolean + snapshotStatus: + type: boolean + stable_vault_redemption_status: + type: boolean + collector_transaction: + type: boolean + share_calculation: + type: boolean + comdex.esm.v1beta1.ESMTriggerParams: + type: object + properties: + app_id: + type: string + format: uint64 + target_value: + type: object + properties: + denom: + type: string + amount: + type: string + description: |- + Coin defines a token with a denomination and an amount. + + NOTE: The amount field is an Int which implements the custom method + signatures required by gogoproto. + cool_off_period: + type: string + format: uint64 + assetsRates: + type: array + items: + type: object + properties: + asset_id: + type: string + format: uint64 + rates: + type: string + format: uint64 + comdex.esm.v1beta1.Params: + type: object + properties: + admin: + type: array + items: + type: string + comdex.esm.v1beta1.QueryAssetDataAfterCoolOffResponse: + type: object + properties: + assetToAmount: + type: array + items: + type: object + properties: + appId: + type: string + format: uint64 + asset_id: + type: string + format: uint64 + amount: + type: string + share: + type: string + debt_token_worth: + type: string + is_collateral: + type: boolean + comdex.esm.v1beta1.QueryCurrentDepositStatsResponse: + type: object + properties: + currentDepositStats: + type: object + properties: + app_id: + type: string + format: uint64 + balance: + type: object + properties: + denom: + type: string + amount: + type: string + description: >- + Coin defines a token with a denomination and an amount. + + + NOTE: The amount field is an Int which implements the custom method + + signatures required by gogoproto. + comdex.esm.v1beta1.QueryDataAfterCoolOffResponse: + type: object + properties: + dataAfterCoolOff: + type: object + properties: + appId: + type: string + format: uint64 + collateral_total_amount: + type: string + debt_total_amount: + type: string + comdex.esm.v1beta1.QueryESMStatusResponse: + type: object + properties: + esmStatus: + type: object + properties: + app_id: + type: string + format: uint64 + executor: + type: string + status: + type: boolean + start_time: + type: string + format: date-time + end_time: + type: string + format: date-time + vault_redemption_status: + type: boolean + snapshotStatus: + type: boolean + stable_vault_redemption_status: + type: boolean + collector_transaction: + type: boolean + share_calculation: + type: boolean + comdex.esm.v1beta1.QueryESMTriggerParamsResponse: + type: object + properties: + esmTriggerParams: + type: object + properties: + app_id: + type: string + format: uint64 + target_value: + type: object + properties: + denom: + type: string + amount: + type: string + description: >- + Coin defines a token with a denomination and an amount. + + + NOTE: The amount field is an Int which implements the custom method + + signatures required by gogoproto. + cool_off_period: + type: string + format: uint64 + assetsRates: + type: array + items: + type: object + properties: + asset_id: + type: string + format: uint64 + rates: + type: string + format: uint64 + comdex.esm.v1beta1.QueryParamsResponse: + type: object + properties: + params: + type: object + properties: + admin: + type: array + items: + type: string + comdex.esm.v1beta1.QuerySnapshotPriceResponse: + type: object + properties: + price: + type: string + format: uint64 + comdex.esm.v1beta1.QueryUsersDepositMappingResponse: + type: object + properties: + usersDepositMapping: + type: object + properties: + app_id: + type: string + format: uint64 + depositor: + type: string + deposits: + type: object + properties: + denom: + type: string + amount: + type: string + description: >- + Coin defines a token with a denomination and an amount. + + + NOTE: The amount field is an Int which implements the custom method + + signatures required by gogoproto. + comdex.esm.v1beta1.UsersDepositMapping: + type: object + properties: + app_id: + type: string + format: uint64 + depositor: + type: string + deposits: + type: object + properties: + denom: + type: string + amount: + type: string + description: |- + Coin defines a token with a denomination and an amount. + + NOTE: The amount field is an Int which implements the custom method + signatures required by gogoproto. + comdex.lend.v1beta1.AllReserveStats: + type: object + properties: + asset_id: + type: string + format: uint64 + amount_out_from_reserve_to_lenders: + type: string + amount_out_from_reserve_for_auction: + type: string + amount_in_from_liq_penalty: + type: string + amount_in_from_repayments: + type: string + total_amount_out_to_lenders: + type: string + comdex.lend.v1beta1.AssetDataPoolMapping: + type: object + properties: + asset_id: + type: string + format: uint64 + asset_transit_type: + type: string + format: uint64 + title: 1 for main_asset, 2 for 1st transit_asset, 3 for 2nd transit_asset + supply_cap: + type: string + comdex.lend.v1beta1.AssetRatesParams: + type: object + properties: + asset_id: + type: string + format: uint64 + u_optimal: + type: string + base: + type: string + slope1: + type: string + slope2: + type: string + enable_stable_borrow: + type: boolean + stable_base: + type: string + stable_slope1: + type: string + stable_slope2: + type: string + ltv: + type: string + liquidation_threshold: + type: string + liquidation_penalty: + type: string + liquidation_bonus: + type: string + reserve_factor: + type: string + c_asset_id: + type: string + format: uint64 + comdex.lend.v1beta1.AssetToPairMapping: + type: object + properties: + pool_id: + type: string + format: uint64 + asset_id: + type: string + format: uint64 + pair_id: + type: array + items: + type: string + format: uint64 + comdex.lend.v1beta1.AuctionParams: + type: object + properties: + app_id: + type: string + format: uint64 + auction_duration_seconds: + type: string + format: uint64 + buffer: + type: string + cusp: + type: string + step: + type: string + price_function_type: + type: string + format: uint64 + dutch_id: + type: string + format: uint64 + bid_duration_seconds: + type: string + format: uint64 + comdex.lend.v1beta1.BorrowAsset: + type: object + properties: + borrowing_id: + type: string + format: uint64 + lending_id: + type: string + format: uint64 + is_stable_borrow: + type: boolean + pair_id: + type: string + format: uint64 + amount_in: + type: object + properties: + denom: + type: string + amount: + type: string + description: |- + Coin defines a token with a denomination and an amount. + + NOTE: The amount field is an Int which implements the custom method + signatures required by gogoproto. + amount_out: + type: object + properties: + denom: + type: string + amount: + type: string + description: |- + Coin defines a token with a denomination and an amount. + + NOTE: The amount field is an Int which implements the custom method + signatures required by gogoproto. + bridged_asset_amount: + type: object + properties: + denom: + type: string + amount: + type: string + description: |- + Coin defines a token with a denomination and an amount. + + NOTE: The amount field is an Int which implements the custom method + signatures required by gogoproto. + borrowing_time: + type: string + format: date-time + stable_borrow_rate: + type: string + interest_accumulated: + type: string + global_index: + type: string + reserve_global_index: + type: string + last_interaction_time: + type: string + format: date-time + cpool_name: + type: string + is_liquidated: + type: boolean + comdex.lend.v1beta1.Extended_Pair: + type: object + properties: + id: + type: string + format: uint64 + asset_in: + type: string + format: uint64 + asset_out: + type: string + format: uint64 + is_inter_pool: + type: boolean + asset_out_pool_id: + type: string + format: uint64 + min_usd_value_left: + type: string + format: uint64 + comdex.lend.v1beta1.FundModBal: + type: object + properties: + asset_id: + type: string + format: uint64 + pool_id: + type: string + format: uint64 + amount_in: + type: object + properties: + denom: + type: string + amount: + type: string + description: |- + Coin defines a token with a denomination and an amount. + + NOTE: The amount field is an Int which implements the custom method + signatures required by gogoproto. + deposit_time: + type: string + format: date-time + funder: + type: string + comdex.lend.v1beta1.FundReserveBal: + type: object + properties: + asset_id: + type: string + format: uint64 + amount_in: + type: object + properties: + denom: + type: string + amount: + type: string + description: |- + Coin defines a token with a denomination and an amount. + + NOTE: The amount field is an Int which implements the custom method + signatures required by gogoproto. + deposit_time: + type: string + format: date-time + funder: + type: string + comdex.lend.v1beta1.LendAsset: + type: object + properties: + lending_id: + type: string + format: uint64 + asset_id: + type: string + format: uint64 + pool_id: + type: string + format: uint64 + owner: + type: string + amount_in: + type: object + properties: + denom: + type: string + amount: + type: string + description: |- + Coin defines a token with a denomination and an amount. + + NOTE: The amount field is an Int which implements the custom method + signatures required by gogoproto. + lending_time: + type: string + format: date-time + available_to_borrow: + type: string + app_id: + type: string + format: uint64 + global_index: + type: string + last_interaction_time: + type: string + format: date-time + cpool_name: + type: string + total_rewards: + type: string + comdex.lend.v1beta1.ModBal: + type: object + properties: + fund_module_balance: + type: array + items: + type: object + properties: + asset_id: + type: string + format: uint64 + pool_id: + type: string + format: uint64 + amount_in: + type: object + properties: + denom: + type: string + amount: + type: string + description: >- + Coin defines a token with a denomination and an amount. + + + NOTE: The amount field is an Int which implements the custom method + + signatures required by gogoproto. + deposit_time: + type: string + format: date-time + funder: + type: string + comdex.lend.v1beta1.ModuleBalance: + type: object + properties: + pool_id: + type: string + format: uint64 + module_balance_stats: + type: array + items: + type: object + properties: + asset_id: + type: string + format: uint64 + balance: + type: object + properties: + denom: + type: string + amount: + type: string + description: >- + Coin defines a token with a denomination and an amount. + + + NOTE: The amount field is an Int which implements the custom method + + signatures required by gogoproto. + comdex.lend.v1beta1.ModuleBalanceStats: + type: object + properties: + asset_id: + type: string + format: uint64 + balance: + type: object + properties: + denom: + type: string + amount: + type: string + description: |- + Coin defines a token with a denomination and an amount. + + NOTE: The amount field is an Int which implements the custom method + signatures required by gogoproto. + comdex.lend.v1beta1.Params: + type: object + description: Params defines the parameters for the module. + comdex.lend.v1beta1.Pool: + type: object + properties: + pool_id: + type: string + format: uint64 + module_name: + type: string + cpool_name: + type: string + asset_data: + type: array + items: + type: object + properties: + asset_id: + type: string + format: uint64 + asset_transit_type: + type: string + format: uint64 + title: 1 for main_asset, 2 for 1st transit_asset, 3 for 2nd transit_asset + supply_cap: + type: string + comdex.lend.v1beta1.PoolAssetLBMapping: + type: object + properties: + pool_id: + type: string + format: uint64 + asset_id: + type: string + format: uint64 + lend_ids: + type: array + items: + type: string + format: uint64 + borrow_ids: + type: array + items: + type: string + format: uint64 + total_borrowed: + type: string + total_stable_borrowed: + type: string + total_lend: + type: string + total_interest_accumulated: + type: string + lend_apr: + type: string + borrow_apr: + type: string + stable_borrow_apr: + type: string + utilisation_ratio: + type: string + comdex.lend.v1beta1.PoolInterest: + type: object + properties: + pool_id: + type: string + format: uint64 + pool_interest_data: + type: array + items: + type: object + properties: + asset_id: + type: string + format: uint64 + lend_interest: + type: string + comdex.lend.v1beta1.PoolInterestB: + type: object + properties: + pool_id: + type: string + format: uint64 + pool_interest_data: + type: array + items: + type: object + properties: + asset_id: + type: string + format: uint64 + borrow_interest: + type: string + comdex.lend.v1beta1.PoolInterestData: + type: object + properties: + asset_id: + type: string + format: uint64 + lend_interest: + type: string + comdex.lend.v1beta1.PoolInterestDataB: + type: object + properties: + asset_id: + type: string + format: uint64 + borrow_interest: + type: string + comdex.lend.v1beta1.QueryAllBorrowByOwnerAndPoolResponse: + type: object + properties: + borrows: + type: array + items: + type: object + properties: + borrowing_id: + type: string + format: uint64 + lending_id: + type: string + format: uint64 + is_stable_borrow: + type: boolean + pair_id: + type: string + format: uint64 + amount_in: + type: object + properties: + denom: + type: string + amount: + type: string + description: >- + Coin defines a token with a denomination and an amount. + + + NOTE: The amount field is an Int which implements the custom method + + signatures required by gogoproto. + amount_out: + type: object + properties: + denom: + type: string + amount: + type: string + description: >- + Coin defines a token with a denomination and an amount. + + + NOTE: The amount field is an Int which implements the custom method + + signatures required by gogoproto. + bridged_asset_amount: + type: object + properties: + denom: + type: string + amount: + type: string + description: >- + Coin defines a token with a denomination and an amount. + + + NOTE: The amount field is an Int which implements the custom method + + signatures required by gogoproto. + borrowing_time: + type: string + format: date-time + stable_borrow_rate: + type: string + interest_accumulated: + type: string + global_index: + type: string + reserve_global_index: + type: string + last_interaction_time: + type: string + format: date-time + cpool_name: + type: string + is_liquidated: + type: boolean + pagination: + type: object + properties: + next_key: + type: string + format: byte + title: |- + next_key is the key to be passed to PageRequest.key to + query the next page most efficiently + total: + type: string + format: uint64 + title: >- + total is total number of results available if PageRequest.count_total + + was set, its value is undefined otherwise + description: |- + PageResponse is to be embedded in gRPC response messages where the + corresponding request message has used PageRequest. + + message SomeResponse { + repeated Bar results = 1; + PageResponse page = 2; + } + comdex.lend.v1beta1.QueryAllBorrowByOwnerResponse: + type: object + properties: + borrows: + type: array + items: + type: object + properties: + borrowing_id: + type: string + format: uint64 + lending_id: + type: string + format: uint64 + is_stable_borrow: + type: boolean + pair_id: + type: string + format: uint64 + amount_in: + type: object + properties: + denom: + type: string + amount: + type: string + description: >- + Coin defines a token with a denomination and an amount. + + + NOTE: The amount field is an Int which implements the custom method + + signatures required by gogoproto. + amount_out: + type: object + properties: + denom: + type: string + amount: + type: string + description: >- + Coin defines a token with a denomination and an amount. + + + NOTE: The amount field is an Int which implements the custom method + + signatures required by gogoproto. + bridged_asset_amount: + type: object + properties: + denom: + type: string + amount: + type: string + description: >- + Coin defines a token with a denomination and an amount. + + + NOTE: The amount field is an Int which implements the custom method + + signatures required by gogoproto. + borrowing_time: + type: string + format: date-time + stable_borrow_rate: + type: string + interest_accumulated: + type: string + global_index: + type: string + reserve_global_index: + type: string + last_interaction_time: + type: string + format: date-time + cpool_name: + type: string + is_liquidated: + type: boolean + pagination: + type: object + properties: + next_key: + type: string + format: byte + title: |- + next_key is the key to be passed to PageRequest.key to + query the next page most efficiently + total: + type: string + format: uint64 + title: >- + total is total number of results available if PageRequest.count_total + + was set, its value is undefined otherwise + description: |- + PageResponse is to be embedded in gRPC response messages where the + corresponding request message has used PageRequest. + + message SomeResponse { + repeated Bar results = 1; + PageResponse page = 2; + } + comdex.lend.v1beta1.QueryAllLendByOwnerAndPoolResponse: + type: object + properties: + lends: + type: array + items: + type: object + properties: + lending_id: + type: string + format: uint64 + asset_id: + type: string + format: uint64 + pool_id: + type: string + format: uint64 + owner: + type: string + amount_in: + type: object + properties: + denom: + type: string + amount: + type: string + description: >- + Coin defines a token with a denomination and an amount. + + + NOTE: The amount field is an Int which implements the custom method + + signatures required by gogoproto. + lending_time: + type: string + format: date-time + available_to_borrow: + type: string + app_id: + type: string + format: uint64 + global_index: + type: string + last_interaction_time: + type: string + format: date-time + cpool_name: + type: string + total_rewards: + type: string + pagination: + type: object + properties: + next_key: + type: string + format: byte + title: |- + next_key is the key to be passed to PageRequest.key to + query the next page most efficiently + total: + type: string + format: uint64 + title: >- + total is total number of results available if PageRequest.count_total + + was set, its value is undefined otherwise + description: |- + PageResponse is to be embedded in gRPC response messages where the + corresponding request message has used PageRequest. + + message SomeResponse { + repeated Bar results = 1; + PageResponse page = 2; + } + comdex.lend.v1beta1.QueryAllLendByOwnerResponse: + type: object + properties: + lends: + type: array + items: + type: object + properties: + lending_id: + type: string + format: uint64 + asset_id: + type: string + format: uint64 + pool_id: + type: string + format: uint64 + owner: + type: string + amount_in: + type: object + properties: + denom: + type: string + amount: + type: string + description: >- + Coin defines a token with a denomination and an amount. + + + NOTE: The amount field is an Int which implements the custom method + + signatures required by gogoproto. + lending_time: + type: string + format: date-time + available_to_borrow: + type: string + app_id: + type: string + format: uint64 + global_index: + type: string + last_interaction_time: + type: string + format: date-time + cpool_name: + type: string + total_rewards: + type: string + pagination: + type: object + properties: + next_key: + type: string + format: byte + title: |- + next_key is the key to be passed to PageRequest.key to + query the next page most efficiently + total: + type: string + format: uint64 + title: >- + total is total number of results available if PageRequest.count_total + + was set, its value is undefined otherwise + description: |- + PageResponse is to be embedded in gRPC response messages where the + corresponding request message has used PageRequest. + + message SomeResponse { + repeated Bar results = 1; + PageResponse page = 2; + } + comdex.lend.v1beta1.QueryAllReserveStatsResponse: + type: object + properties: + AllReserveStats: + type: object + properties: + asset_id: + type: string + format: uint64 + amount_out_from_reserve_to_lenders: + type: string + amount_out_from_reserve_for_auction: + type: string + amount_in_from_liq_penalty: + type: string + amount_in_from_repayments: + type: string + total_amount_out_to_lenders: + type: string + comdex.lend.v1beta1.QueryAssetRatesParamResponse: + type: object + properties: + AssetRatesparams: + type: object + properties: + asset_id: + type: string + format: uint64 + u_optimal: + type: string + base: + type: string + slope1: + type: string + slope2: + type: string + enable_stable_borrow: + type: boolean + stable_base: + type: string + stable_slope1: + type: string + stable_slope2: + type: string + ltv: + type: string + liquidation_threshold: + type: string + liquidation_penalty: + type: string + liquidation_bonus: + type: string + reserve_factor: + type: string + c_asset_id: + type: string + format: uint64 + comdex.lend.v1beta1.QueryAssetRatesParamsResponse: + type: object + properties: + AssetRatesParams: + type: array + items: + type: object + properties: + asset_id: + type: string + format: uint64 + u_optimal: + type: string + base: + type: string + slope1: + type: string + slope2: + type: string + enable_stable_borrow: + type: boolean + stable_base: + type: string + stable_slope1: + type: string + stable_slope2: + type: string + ltv: + type: string + liquidation_threshold: + type: string + liquidation_penalty: + type: string + liquidation_bonus: + type: string + reserve_factor: + type: string + c_asset_id: + type: string + format: uint64 + pagination: + type: object + properties: + next_key: + type: string + format: byte + title: |- + next_key is the key to be passed to PageRequest.key to + query the next page most efficiently + total: + type: string + format: uint64 + title: >- + total is total number of results available if PageRequest.count_total + + was set, its value is undefined otherwise + description: |- + PageResponse is to be embedded in gRPC response messages where the + corresponding request message has used PageRequest. + + message SomeResponse { + repeated Bar results = 1; + PageResponse page = 2; + } + comdex.lend.v1beta1.QueryAssetToPairMappingResponse: + type: object + properties: + AssetToPairMapping: + type: object + properties: + pool_id: + type: string + format: uint64 + asset_id: + type: string + format: uint64 + pair_id: + type: array + items: + type: string + format: uint64 + comdex.lend.v1beta1.QueryAssetToPairMappingsResponse: + type: object + properties: + assetToPairMappings: + type: array + items: + type: object + properties: + pool_id: + type: string + format: uint64 + asset_id: + type: string + format: uint64 + pair_id: + type: array + items: + type: string + format: uint64 + pagination: + type: object + properties: + next_key: + type: string + format: byte + title: |- + next_key is the key to be passed to PageRequest.key to + query the next page most efficiently + total: + type: string + format: uint64 + title: >- + total is total number of results available if PageRequest.count_total + + was set, its value is undefined otherwise + description: |- + PageResponse is to be embedded in gRPC response messages where the + corresponding request message has used PageRequest. + + message SomeResponse { + repeated Bar results = 1; + PageResponse page = 2; + } + comdex.lend.v1beta1.QueryAuctionParamResponse: + type: object + properties: + auctionParams: + type: object + properties: + app_id: + type: string + format: uint64 + auction_duration_seconds: + type: string + format: uint64 + buffer: + type: string + cusp: + type: string + step: + type: string + price_function_type: + type: string + format: uint64 + dutch_id: + type: string + format: uint64 + bid_duration_seconds: + type: string + format: uint64 + comdex.lend.v1beta1.QueryBorrowInterestResponse: + type: object + properties: + pool_interest: + type: array + items: + type: object + properties: + pool_id: + type: string + format: uint64 + pool_interest_data: + type: array + items: + type: object + properties: + asset_id: + type: string + format: uint64 + borrow_interest: + type: string + comdex.lend.v1beta1.QueryBorrowResponse: + type: object + properties: + borrow: + type: object + properties: + borrowing_id: + type: string + format: uint64 + lending_id: + type: string + format: uint64 + is_stable_borrow: + type: boolean + pair_id: + type: string + format: uint64 + amount_in: + type: object + properties: + denom: + type: string + amount: + type: string + description: >- + Coin defines a token with a denomination and an amount. + + + NOTE: The amount field is an Int which implements the custom method + + signatures required by gogoproto. + amount_out: + type: object + properties: + denom: + type: string + amount: + type: string + description: >- + Coin defines a token with a denomination and an amount. + + + NOTE: The amount field is an Int which implements the custom method + + signatures required by gogoproto. + bridged_asset_amount: + type: object + properties: + denom: + type: string + amount: + type: string + description: >- + Coin defines a token with a denomination and an amount. + + + NOTE: The amount field is an Int which implements the custom method + + signatures required by gogoproto. + borrowing_time: + type: string + format: date-time + stable_borrow_rate: + type: string + interest_accumulated: + type: string + global_index: + type: string + reserve_global_index: + type: string + last_interaction_time: + type: string + format: date-time + cpool_name: + type: string + is_liquidated: + type: boolean + comdex.lend.v1beta1.QueryBorrowsResponse: + type: object + properties: + borrows: + type: array + items: + type: object + properties: + borrowing_id: + type: string + format: uint64 + lending_id: + type: string + format: uint64 + is_stable_borrow: + type: boolean + pair_id: + type: string + format: uint64 + amount_in: + type: object + properties: + denom: + type: string + amount: + type: string + description: >- + Coin defines a token with a denomination and an amount. + + + NOTE: The amount field is an Int which implements the custom method + + signatures required by gogoproto. + amount_out: + type: object + properties: + denom: + type: string + amount: + type: string + description: >- + Coin defines a token with a denomination and an amount. + + + NOTE: The amount field is an Int which implements the custom method + + signatures required by gogoproto. + bridged_asset_amount: + type: object + properties: + denom: + type: string + amount: + type: string + description: >- + Coin defines a token with a denomination and an amount. + + + NOTE: The amount field is an Int which implements the custom method + + signatures required by gogoproto. + borrowing_time: + type: string + format: date-time + stable_borrow_rate: + type: string + interest_accumulated: + type: string + global_index: + type: string + reserve_global_index: + type: string + last_interaction_time: + type: string + format: date-time + cpool_name: + type: string + is_liquidated: + type: boolean + pagination: + type: object + properties: + next_key: + type: string + format: byte + title: |- + next_key is the key to be passed to PageRequest.key to + query the next page most efficiently + total: + type: string + format: uint64 + title: >- + total is total number of results available if PageRequest.count_total + + was set, its value is undefined otherwise + description: |- + PageResponse is to be embedded in gRPC response messages where the + corresponding request message has used PageRequest. + + message SomeResponse { + repeated Bar results = 1; + PageResponse page = 2; + } + comdex.lend.v1beta1.QueryFundModBalByAssetPoolResponse: + type: object + properties: + amount: + type: object + properties: + denom: + type: string + amount: + type: string + description: |- + Coin defines a token with a denomination and an amount. + + NOTE: The amount field is an Int which implements the custom method + signatures required by gogoproto. + comdex.lend.v1beta1.QueryFundModBalResponse: + type: object + properties: + FundModBalance: + type: object + properties: + fund_module_balance: + type: array + items: + type: object + properties: + asset_id: + type: string + format: uint64 + pool_id: + type: string + format: uint64 + amount_in: + type: object + properties: + denom: + type: string + amount: + type: string + description: >- + Coin defines a token with a denomination and an amount. + + + NOTE: The amount field is an Int which implements the custom method + + signatures required by gogoproto. + deposit_time: + type: string + format: date-time + funder: + type: string + comdex.lend.v1beta1.QueryFundReserveBalResponse: + type: object + properties: + FundReserveBalance: + type: object + properties: + fund_reserve_balance: + type: array + items: + type: object + properties: + asset_id: + type: string + format: uint64 + amount_in: + type: object + properties: + denom: + type: string + amount: + type: string + description: >- + Coin defines a token with a denomination and an amount. + + + NOTE: The amount field is an Int which implements the custom method + + signatures required by gogoproto. + deposit_time: + type: string + format: date-time + funder: + type: string + comdex.lend.v1beta1.QueryLendInterestResponse: + type: object + properties: + pool_interest: + type: array + items: + type: object + properties: + pool_id: + type: string + format: uint64 + pool_interest_data: + type: array + items: + type: object + properties: + asset_id: + type: string + format: uint64 + lend_interest: + type: string + comdex.lend.v1beta1.QueryLendResponse: + type: object + properties: + lend: + type: object + properties: + lending_id: + type: string + format: uint64 + asset_id: + type: string + format: uint64 + pool_id: + type: string + format: uint64 + owner: + type: string + amount_in: + type: object + properties: + denom: + type: string + amount: + type: string + description: >- + Coin defines a token with a denomination and an amount. + + + NOTE: The amount field is an Int which implements the custom method + + signatures required by gogoproto. + lending_time: + type: string + format: date-time + available_to_borrow: + type: string + app_id: + type: string + format: uint64 + global_index: + type: string + last_interaction_time: + type: string + format: date-time + cpool_name: + type: string + total_rewards: + type: string + comdex.lend.v1beta1.QueryLendsResponse: + type: object + properties: + lends: + type: array + items: + type: object + properties: + lending_id: + type: string + format: uint64 + asset_id: + type: string + format: uint64 + pool_id: + type: string + format: uint64 + owner: + type: string + amount_in: + type: object + properties: + denom: + type: string + amount: + type: string + description: >- + Coin defines a token with a denomination and an amount. + + + NOTE: The amount field is an Int which implements the custom method + + signatures required by gogoproto. + lending_time: + type: string + format: date-time + available_to_borrow: + type: string + app_id: + type: string + format: uint64 + global_index: + type: string + last_interaction_time: + type: string + format: date-time + cpool_name: + type: string + total_rewards: + type: string + pagination: + type: object + properties: + next_key: + type: string + format: byte + title: |- + next_key is the key to be passed to PageRequest.key to + query the next page most efficiently + total: + type: string + format: uint64 + title: >- + total is total number of results available if PageRequest.count_total + + was set, its value is undefined otherwise + description: |- + PageResponse is to be embedded in gRPC response messages where the + corresponding request message has used PageRequest. + + message SomeResponse { + repeated Bar results = 1; + PageResponse page = 2; + } + comdex.lend.v1beta1.QueryModuleBalanceResponse: + type: object + properties: + ModuleBalance: + type: object + properties: + pool_id: + type: string + format: uint64 + module_balance_stats: + type: array + items: + type: object + properties: + asset_id: + type: string + format: uint64 + balance: + type: object + properties: + denom: + type: string + amount: + type: string + description: >- + Coin defines a token with a denomination and an amount. + + + NOTE: The amount field is an Int which implements the custom method + + signatures required by gogoproto. + comdex.lend.v1beta1.QueryPairResponse: + type: object + properties: + ExtendedPair: + type: object + properties: + id: + type: string + format: uint64 + asset_in: + type: string + format: uint64 + asset_out: + type: string + format: uint64 + is_inter_pool: + type: boolean + asset_out_pool_id: + type: string + format: uint64 + min_usd_value_left: + type: string + format: uint64 + comdex.lend.v1beta1.QueryPairsResponse: + type: object + properties: + extendedPairs: + type: array + items: + type: object + properties: + id: + type: string + format: uint64 + asset_in: + type: string + format: uint64 + asset_out: + type: string + format: uint64 + is_inter_pool: + type: boolean + asset_out_pool_id: + type: string + format: uint64 + min_usd_value_left: + type: string + format: uint64 + pagination: + type: object + properties: + next_key: + type: string + format: byte + title: |- + next_key is the key to be passed to PageRequest.key to + query the next page most efficiently + total: + type: string + format: uint64 + title: >- + total is total number of results available if PageRequest.count_total + + was set, its value is undefined otherwise + description: |- + PageResponse is to be embedded in gRPC response messages where the + corresponding request message has used PageRequest. + + message SomeResponse { + repeated Bar results = 1; + PageResponse page = 2; + } + comdex.lend.v1beta1.QueryParamsResponse: + type: object + properties: + params: + description: params holds all the parameters of this module. + type: object + description: QueryParamsResponse is response type for the Query/Params RPC method. + comdex.lend.v1beta1.QueryPoolAssetLBMappingResponse: + type: object + properties: + PoolAssetLBMapping: + type: object + properties: + pool_id: + type: string + format: uint64 + asset_id: + type: string + format: uint64 + lend_ids: + type: array + items: + type: string + format: uint64 + borrow_ids: + type: array + items: + type: string + format: uint64 + total_borrowed: + type: string + total_stable_borrowed: + type: string + total_lend: + type: string + total_interest_accumulated: + type: string + lend_apr: + type: string + borrow_apr: + type: string + stable_borrow_apr: + type: string + utilisation_ratio: + type: string + comdex.lend.v1beta1.QueryPoolResponse: + type: object + properties: + pool: + type: object + properties: + pool_id: + type: string + format: uint64 + module_name: + type: string + cpool_name: + type: string + asset_data: + type: array + items: + type: object + properties: + asset_id: + type: string + format: uint64 + asset_transit_type: + type: string + format: uint64 + title: 1 for main_asset, 2 for 1st transit_asset, 3 for 2nd transit_asset + supply_cap: + type: string + comdex.lend.v1beta1.QueryPoolsResponse: + type: object + properties: + pools: + type: array + items: + type: object + properties: + pool_id: + type: string + format: uint64 + module_name: + type: string + cpool_name: + type: string + asset_data: + type: array + items: + type: object + properties: + asset_id: + type: string + format: uint64 + asset_transit_type: + type: string + format: uint64 + title: 1 for main_asset, 2 for 1st transit_asset, 3 for 2nd transit_asset + supply_cap: + type: string + pagination: + type: object + properties: + next_key: + type: string + format: byte + title: |- + next_key is the key to be passed to PageRequest.key to + query the next page most efficiently + total: + type: string + format: uint64 + title: >- + total is total number of results available if PageRequest.count_total + + was set, its value is undefined otherwise + description: |- + PageResponse is to be embedded in gRPC response messages where the + corresponding request message has used PageRequest. + + message SomeResponse { + repeated Bar results = 1; + PageResponse page = 2; + } + comdex.lend.v1beta1.QueryReserveBuybackAssetDataResponse: + type: object + properties: + ReserveBuybackAssetData: + type: object + properties: + asset_id: + type: string + format: uint64 + reserve_amount: + type: string + buyback_amount: + type: string + comdex.lend.v1beta1.ReserveBal: + type: object + properties: + fund_reserve_balance: + type: array + items: + type: object + properties: + asset_id: + type: string + format: uint64 + amount_in: + type: object + properties: + denom: + type: string + amount: + type: string + description: >- + Coin defines a token with a denomination and an amount. + + + NOTE: The amount field is an Int which implements the custom method + + signatures required by gogoproto. + deposit_time: + type: string + format: date-time + funder: + type: string + comdex.lend.v1beta1.ReserveBuybackAssetData: + type: object + properties: + asset_id: + type: string + format: uint64 + reserve_amount: + type: string + buyback_amount: + type: string + comdex.liquidity.v1beta1.DepositRequest: + type: object + properties: + id: + type: string + format: uint64 + title: id specifies the id for the request + pool_id: + type: string + format: uint64 + title: pool_id specifies the pool id + msg_height: + type: string + format: int64 + title: msg_height specifies the block height when the request is stored for the batch execution + depositor: + type: string + title: depositor specifies the bech32-encoded address that makes a deposit to the pool + deposit_coins: + type: array + items: + type: object + properties: + denom: + type: string + amount: + type: string + description: >- + Coin defines a token with a denomination and an amount. + + + NOTE: The amount field is an Int which implements the custom method + + signatures required by gogoproto. + description: deposit_coins specifies the amount of coins to deposit. + accepted_coins: + type: array + items: + type: object + properties: + denom: + type: string + amount: + type: string + description: >- + Coin defines a token with a denomination and an amount. + + + NOTE: The amount field is an Int which implements the custom method + + signatures required by gogoproto. + description: accepted_coins specifies the amount of coins that are accepted. + minted_pool_coin: + type: object + properties: + denom: + type: string + amount: + type: string + description: |- + Coin defines a token with a denomination and an amount. + + NOTE: The amount field is an Int which implements the custom method + signatures required by gogoproto. + status: + type: string + enum: + - REQUEST_STATUS_UNSPECIFIED + - REQUEST_STATUS_NOT_EXECUTED + - REQUEST_STATUS_SUCCEEDED + - REQUEST_STATUS_FAILED + default: REQUEST_STATUS_UNSPECIFIED + description: >- + RequestStatus enumerates request statuses. + + + - REQUEST_STATUS_UNSPECIFIED: REQUEST_STATUS_UNSPECIFIED specifies unknown request status + - REQUEST_STATUS_NOT_EXECUTED: REQUEST_STATUS_NOT_EXECUTED indicates the request is not executed yet + - REQUEST_STATUS_SUCCEEDED: REQUEST_STATUS_SUCCEEDED indicates the request has been succeeded + - REQUEST_STATUS_FAILED: REQUEST_STATUS_FAILED indicates the request is failed + app_id: + type: string + format: uint64 + description: DepositRequest defines a deposit request. + comdex.liquidity.v1beta1.GenericParams: + type: object + properties: + batch_size: + type: string + format: uint64 + tick_precision: + type: string + format: uint64 + fee_collector_address: + type: string + dust_collector_address: + type: string + min_initial_pool_coin_supply: + type: string + pair_creation_fee: + type: array + items: + type: object + properties: + denom: + type: string + amount: + type: string + description: >- + Coin defines a token with a denomination and an amount. + + + NOTE: The amount field is an Int which implements the custom method + + signatures required by gogoproto. + pool_creation_fee: + type: array + items: + type: object + properties: + denom: + type: string + amount: + type: string + description: >- + Coin defines a token with a denomination and an amount. + + + NOTE: The amount field is an Int which implements the custom method + + signatures required by gogoproto. + min_initial_deposit_amount: + type: string + max_price_limit_ratio: + type: string + max_order_lifespan: + type: string + swap_fee_rate: + type: string + withdraw_fee_rate: + type: string + deposit_extra_gas: + type: string + format: uint64 + withdraw_extra_gas: + type: string + format: uint64 + order_extra_gas: + type: string + format: uint64 + swap_fee_distr_denom: + type: string + swap_fee_burn_rate: + type: string + app_id: + type: string + format: uint64 + max_num_market_making_order_ticks: + type: string + format: uint64 + max_num_active_pools_per_pair: + type: string + format: uint64 + description: Params defines the parameters for the liquidity module. + comdex.liquidity.v1beta1.Order: + type: object + properties: + id: + type: string + format: uint64 + title: id specifies the id for the request + pair_id: + type: string + format: uint64 + title: pair_id specifies the pair id + msg_height: + type: string + format: int64 + title: msg_height specifies the block height when the request is stored for the batch execution + orderer: + type: string + title: orderer specifies the bech32-encoded address that makes an order + direction: + title: direction specifies the order direction; either buy or sell + type: string + enum: + - ORDER_DIRECTION_UNSPECIFIED + - ORDER_DIRECTION_BUY + - ORDER_DIRECTION_SELL + default: ORDER_DIRECTION_UNSPECIFIED + description: >- + OrderDirection enumerates order directions. + + + - ORDER_DIRECTION_UNSPECIFIED: ORDER_DIRECTION_UNSPECIFIED specifies unknown order direction + - ORDER_DIRECTION_BUY: ORDER_DIRECTION_BUY specifies buy(swap quote coin to base coin) order direction + - ORDER_DIRECTION_SELL: ORDER_DIRECTION_SELL specifies sell(swap base coin to quote coin) order direction + offer_coin: + type: object + properties: + denom: + type: string + amount: + type: string + description: |- + Coin defines a token with a denomination and an amount. + + NOTE: The amount field is an Int which implements the custom method + signatures required by gogoproto. + remaining_offer_coin: + type: object + properties: + denom: + type: string + amount: + type: string + description: |- + Coin defines a token with a denomination and an amount. + + NOTE: The amount field is an Int which implements the custom method + signatures required by gogoproto. + title: remaining_offer_coin specifies the remaining offer coin + received_coin: + type: object + properties: + denom: + type: string + amount: + type: string + description: |- + Coin defines a token with a denomination and an amount. + + NOTE: The amount field is an Int which implements the custom method + signatures required by gogoproto. + title: received_coin specifies the received coin after the swap + price: + type: string + title: price specifies the price that an orderer is willing to swap + amount: + type: string + open_amount: + type: string + batch_id: + type: string + format: uint64 + title: batch_id specifies the pair's batch id when the request is stored + expire_at: + type: string + format: date-time + status: + type: string + enum: + - ORDER_STATUS_UNSPECIFIED + - ORDER_STATUS_NOT_EXECUTED + - ORDER_STATUS_NOT_MATCHED + - ORDER_STATUS_PARTIALLY_MATCHED + - ORDER_STATUS_COMPLETED + - ORDER_STATUS_CANCELED + - ORDER_STATUS_EXPIRED + default: ORDER_STATUS_UNSPECIFIED + description: >- + OrderStatus enumerates order statuses. + + + - ORDER_STATUS_UNSPECIFIED: ORDER_STATUS_UNSPECIFIED specifies unknown order status + - ORDER_STATUS_NOT_EXECUTED: ORDER_STATUS_NOT_EXECUTED indicates the order has not been executed yet + - ORDER_STATUS_NOT_MATCHED: ORDER_STATUS_NOT_MATCHED indicates the order has been executed but has no match + - ORDER_STATUS_PARTIALLY_MATCHED: ORDER_STATUS_PARTIALLY_MATCHED indicates the order has been partially matched + - ORDER_STATUS_COMPLETED: ORDER_STATUS_COMPLETED indicates the order has been fully matched and completed + - ORDER_STATUS_CANCELED: ORDER_STATUS_CANCELED indicates the order has been canceled + - ORDER_STATUS_EXPIRED: ORDER_STATUS_EXPIRED indicates the order has been expired + app_id: + type: string + format: uint64 + type: + title: type specifies the typo of the order + type: string + enum: + - ORDER_TYPE_UNSPECIFIED + - ORDER_TYPE_LIMIT + - ORDER_TYPE_MARKET + - ORDER_TYPE_MM + default: ORDER_TYPE_UNSPECIFIED + description: >- + OrderType enumerates order types. + + + - ORDER_TYPE_UNSPECIFIED: ORDER_TYPE_UNSPECIFIED specifies unknown order type. + - ORDER_TYPE_LIMIT: ORDER_TYPE_LIMIT specifies limit order type. + - ORDER_TYPE_MARKET: ORDER_TYPE_MARKET specifies market order type. + - ORDER_TYPE_MM: ORDER_TYPE_MM specifies MM(market making) order type. + description: Order defines an order. + comdex.liquidity.v1beta1.OrderBookPairResponse: + type: object + properties: + pair_id: + type: string + format: uint64 + base_price: + type: string + order_books: + type: array + items: + type: object + properties: + price_unit: + type: string + sells: + type: array + items: + type: object + properties: + price: + type: string + user_order_amount: + type: string + pool_order_amount: + type: string + buys: + type: array + items: + type: object + properties: + price: + type: string + user_order_amount: + type: string + pool_order_amount: + type: string + comdex.liquidity.v1beta1.OrderBookResponse: + type: object + properties: + price_unit: + type: string + sells: + type: array + items: + type: object + properties: + price: + type: string + user_order_amount: + type: string + pool_order_amount: + type: string + buys: + type: array + items: + type: object + properties: + price: + type: string + user_order_amount: + type: string + pool_order_amount: + type: string + comdex.liquidity.v1beta1.OrderBookTickResponse: + type: object + properties: + price: + type: string + user_order_amount: + type: string + pool_order_amount: + type: string + comdex.liquidity.v1beta1.OrderDirection: + type: string + enum: + - ORDER_DIRECTION_UNSPECIFIED + - ORDER_DIRECTION_BUY + - ORDER_DIRECTION_SELL + default: ORDER_DIRECTION_UNSPECIFIED + description: >- + OrderDirection enumerates order directions. + + + - ORDER_DIRECTION_UNSPECIFIED: ORDER_DIRECTION_UNSPECIFIED specifies unknown order direction + - ORDER_DIRECTION_BUY: ORDER_DIRECTION_BUY specifies buy(swap quote coin to base coin) order direction + - ORDER_DIRECTION_SELL: ORDER_DIRECTION_SELL specifies sell(swap base coin to quote coin) order direction + comdex.liquidity.v1beta1.OrderStatus: + type: string + enum: + - ORDER_STATUS_UNSPECIFIED + - ORDER_STATUS_NOT_EXECUTED + - ORDER_STATUS_NOT_MATCHED + - ORDER_STATUS_PARTIALLY_MATCHED + - ORDER_STATUS_COMPLETED + - ORDER_STATUS_CANCELED + - ORDER_STATUS_EXPIRED + default: ORDER_STATUS_UNSPECIFIED + description: >- + OrderStatus enumerates order statuses. + + + - ORDER_STATUS_UNSPECIFIED: ORDER_STATUS_UNSPECIFIED specifies unknown order status + - ORDER_STATUS_NOT_EXECUTED: ORDER_STATUS_NOT_EXECUTED indicates the order has not been executed yet + - ORDER_STATUS_NOT_MATCHED: ORDER_STATUS_NOT_MATCHED indicates the order has been executed but has no match + - ORDER_STATUS_PARTIALLY_MATCHED: ORDER_STATUS_PARTIALLY_MATCHED indicates the order has been partially matched + - ORDER_STATUS_COMPLETED: ORDER_STATUS_COMPLETED indicates the order has been fully matched and completed + - ORDER_STATUS_CANCELED: ORDER_STATUS_CANCELED indicates the order has been canceled + - ORDER_STATUS_EXPIRED: ORDER_STATUS_EXPIRED indicates the order has been expired + comdex.liquidity.v1beta1.OrderType: + type: string + enum: + - ORDER_TYPE_UNSPECIFIED + - ORDER_TYPE_LIMIT + - ORDER_TYPE_MARKET + - ORDER_TYPE_MM + default: ORDER_TYPE_UNSPECIFIED + description: >- + OrderType enumerates order types. + + + - ORDER_TYPE_UNSPECIFIED: ORDER_TYPE_UNSPECIFIED specifies unknown order type. + - ORDER_TYPE_LIMIT: ORDER_TYPE_LIMIT specifies limit order type. + - ORDER_TYPE_MARKET: ORDER_TYPE_MARKET specifies market order type. + - ORDER_TYPE_MM: ORDER_TYPE_MM specifies MM(market making) order type. + comdex.liquidity.v1beta1.Pair: + type: object + properties: + id: + type: string + format: uint64 + base_coin_denom: + type: string + quote_coin_denom: + type: string + escrow_address: + type: string + last_order_id: + type: string + format: uint64 + last_price: + type: string + current_batch_id: + type: string + format: uint64 + swap_fee_collector_address: + type: string + app_id: + type: string + format: uint64 + description: Pair defines a coin pair. + comdex.liquidity.v1beta1.Params: + type: object + description: Params defines the parameters for the liquidity module. + comdex.liquidity.v1beta1.PoolBalances: + type: object + properties: + base_coin: + type: object + properties: + denom: + type: string + amount: + type: string + description: |- + Coin defines a token with a denomination and an amount. + + NOTE: The amount field is an Int which implements the custom method + signatures required by gogoproto. + quote_coin: + type: object + properties: + denom: + type: string + amount: + type: string + description: |- + Coin defines a token with a denomination and an amount. + + NOTE: The amount field is an Int which implements the custom method + signatures required by gogoproto. + comdex.liquidity.v1beta1.PoolIncentive: + type: object + properties: + pool_id: + type: string + format: uint64 + master_pool: + type: boolean + child_pool_ids: + type: array + items: + type: string + format: uint64 + total_rewards: + type: object + properties: + denom: + type: string + amount: + type: string + description: |- + Coin defines a token with a denomination and an amount. + + NOTE: The amount field is an Int which implements the custom method + signatures required by gogoproto. + distributed_rewards: + type: object + properties: + denom: + type: string + amount: + type: string + description: |- + Coin defines a token with a denomination and an amount. + + NOTE: The amount field is an Int which implements the custom method + signatures required by gogoproto. + total_epochs: + type: string + format: uint64 + filled_epochs: + type: string + format: uint64 + epoch_duration: + type: string + next_distribution: + type: string + format: date-time + is_swap_fee: + type: boolean + app_id: + type: string + format: uint64 + comdex.liquidity.v1beta1.PoolResponse: + type: object + properties: + id: + type: string + format: uint64 + pair_id: + type: string + format: uint64 + reserve_address: + type: string + pool_coin_denom: + type: string + balances: + type: object + properties: + base_coin: + type: object + properties: + denom: + type: string + amount: + type: string + description: >- + Coin defines a token with a denomination and an amount. + + + NOTE: The amount field is an Int which implements the custom method + + signatures required by gogoproto. + quote_coin: + type: object + properties: + denom: + type: string + amount: + type: string + description: >- + Coin defines a token with a denomination and an amount. + + + NOTE: The amount field is an Int which implements the custom method + + signatures required by gogoproto. + last_deposit_request_id: + type: string + format: uint64 + last_withdraw_request_id: + type: string + format: uint64 + app_id: + type: string + format: uint64 + type: + type: string + enum: + - POOL_TYPE_UNSPECIFIED + - POOL_TYPE_BASIC + - POOL_TYPE_RANGED + default: POOL_TYPE_UNSPECIFIED + description: >- + PoolType enumerates pool types. + + + - POOL_TYPE_UNSPECIFIED: POOL_TYPE_UNSPECIFIED specifies unknown pool type + - POOL_TYPE_BASIC: POOL_TYPE_BASIC specifies the basic pool type + - POOL_TYPE_RANGED: POOL_TYPE_RANGED specifies the ranged pool type + creator: + type: string + pool_coin_supply: + type: string + min_price: + type: string + max_price: + type: string + price: + type: string + disabled: + type: boolean + description: PoolResponse defines a custom pool response message. + comdex.liquidity.v1beta1.PoolType: + type: string + enum: + - POOL_TYPE_UNSPECIFIED + - POOL_TYPE_BASIC + - POOL_TYPE_RANGED + default: POOL_TYPE_UNSPECIFIED + description: >- + PoolType enumerates pool types. + + + - POOL_TYPE_UNSPECIFIED: POOL_TYPE_UNSPECIFIED specifies unknown pool type + - POOL_TYPE_BASIC: POOL_TYPE_BASIC specifies the basic pool type + - POOL_TYPE_RANGED: POOL_TYPE_RANGED specifies the ranged pool type + comdex.liquidity.v1beta1.QueryAllFarmedPoolCoinsResponse: + type: object + properties: + app_id: + type: string + format: uint64 + total_active_and_queued_coins: + type: array + items: + type: object + properties: + pool_id: + type: string + format: uint64 + total_active_pool_coin: + type: object + properties: + denom: + type: string + amount: + type: string + description: >- + Coin defines a token with a denomination and an amount. + + + NOTE: The amount field is an Int which implements the custom method + + signatures required by gogoproto. + total_queued_pool_coin: + type: object + properties: + denom: + type: string + amount: + type: string + description: >- + Coin defines a token with a denomination and an amount. + + + NOTE: The amount field is an Int which implements the custom method + + signatures required by gogoproto. + comdex.liquidity.v1beta1.QueryDepositRequestResponse: + type: object + properties: + deposit_request: + type: object + properties: + id: + type: string + format: uint64 + title: id specifies the id for the request + pool_id: + type: string + format: uint64 + title: pool_id specifies the pool id + msg_height: + type: string + format: int64 + title: msg_height specifies the block height when the request is stored for the batch execution + depositor: + type: string + title: depositor specifies the bech32-encoded address that makes a deposit to the pool + deposit_coins: + type: array + items: + type: object + properties: + denom: + type: string + amount: + type: string + description: >- + Coin defines a token with a denomination and an amount. + + + NOTE: The amount field is an Int which implements the custom method + + signatures required by gogoproto. + description: deposit_coins specifies the amount of coins to deposit. + accepted_coins: + type: array + items: + type: object + properties: + denom: + type: string + amount: + type: string + description: >- + Coin defines a token with a denomination and an amount. + + + NOTE: The amount field is an Int which implements the custom method + + signatures required by gogoproto. + description: accepted_coins specifies the amount of coins that are accepted. + minted_pool_coin: + type: object + properties: + denom: + type: string + amount: + type: string + description: >- + Coin defines a token with a denomination and an amount. + + + NOTE: The amount field is an Int which implements the custom method + + signatures required by gogoproto. + status: + type: string + enum: + - REQUEST_STATUS_UNSPECIFIED + - REQUEST_STATUS_NOT_EXECUTED + - REQUEST_STATUS_SUCCEEDED + - REQUEST_STATUS_FAILED + default: REQUEST_STATUS_UNSPECIFIED + description: >- + RequestStatus enumerates request statuses. + + + - REQUEST_STATUS_UNSPECIFIED: REQUEST_STATUS_UNSPECIFIED specifies unknown request status + - REQUEST_STATUS_NOT_EXECUTED: REQUEST_STATUS_NOT_EXECUTED indicates the request is not executed yet + - REQUEST_STATUS_SUCCEEDED: REQUEST_STATUS_SUCCEEDED indicates the request has been succeeded + - REQUEST_STATUS_FAILED: REQUEST_STATUS_FAILED indicates the request is failed + app_id: + type: string + format: uint64 + description: DepositRequest defines a deposit request. + description: QueryDepositRequestResponse is response type for the Query/DepositRequest RPC method. + comdex.liquidity.v1beta1.QueryDepositRequestsResponse: + type: object + properties: + deposit_requests: + type: array + items: + type: object + properties: + id: + type: string + format: uint64 + title: id specifies the id for the request + pool_id: + type: string + format: uint64 + title: pool_id specifies the pool id + msg_height: + type: string + format: int64 + title: msg_height specifies the block height when the request is stored for the batch execution + depositor: + type: string + title: depositor specifies the bech32-encoded address that makes a deposit to the pool + deposit_coins: + type: array + items: + type: object + properties: + denom: + type: string + amount: + type: string + description: >- + Coin defines a token with a denomination and an amount. + + + NOTE: The amount field is an Int which implements the custom method + + signatures required by gogoproto. + description: deposit_coins specifies the amount of coins to deposit. + accepted_coins: + type: array + items: + type: object + properties: + denom: + type: string + amount: + type: string + description: >- + Coin defines a token with a denomination and an amount. + + + NOTE: The amount field is an Int which implements the custom method + + signatures required by gogoproto. + description: accepted_coins specifies the amount of coins that are accepted. + minted_pool_coin: + type: object + properties: + denom: + type: string + amount: + type: string + description: >- + Coin defines a token with a denomination and an amount. + + + NOTE: The amount field is an Int which implements the custom method + + signatures required by gogoproto. + status: + type: string + enum: + - REQUEST_STATUS_UNSPECIFIED + - REQUEST_STATUS_NOT_EXECUTED + - REQUEST_STATUS_SUCCEEDED + - REQUEST_STATUS_FAILED + default: REQUEST_STATUS_UNSPECIFIED + description: >- + RequestStatus enumerates request statuses. + + + - REQUEST_STATUS_UNSPECIFIED: REQUEST_STATUS_UNSPECIFIED specifies unknown request status + - REQUEST_STATUS_NOT_EXECUTED: REQUEST_STATUS_NOT_EXECUTED indicates the request is not executed yet + - REQUEST_STATUS_SUCCEEDED: REQUEST_STATUS_SUCCEEDED indicates the request has been succeeded + - REQUEST_STATUS_FAILED: REQUEST_STATUS_FAILED indicates the request is failed + app_id: + type: string + format: uint64 + description: DepositRequest defines a deposit request. + pagination: + type: object + properties: + next_key: + type: string + format: byte + title: |- + next_key is the key to be passed to PageRequest.key to + query the next page most efficiently + total: + type: string + format: uint64 + title: >- + total is total number of results available if PageRequest.count_total + + was set, its value is undefined otherwise + description: |- + PageResponse is to be embedded in gRPC response messages where the + corresponding request message has used PageRequest. + + message SomeResponse { + repeated Bar results = 1; + PageResponse page = 2; + } + description: QueryDepositRequestsResponse is response type for the Query/DepositRequests RPC method. + comdex.liquidity.v1beta1.QueryDeserializePoolCoinResponse: + type: object + properties: + coins: + type: array + items: + type: object + properties: + denom: + type: string + amount: + type: string + description: >- + Coin defines a token with a denomination and an amount. + + + NOTE: The amount field is an Int which implements the custom method + + signatures required by gogoproto. + description: QueryDeserializePoolCoinResponse is response type for the Query/DeserializePoolCoin RPC method. + comdex.liquidity.v1beta1.QueryFarmedPoolCoinResponse: + type: object + properties: + coin: + type: object + properties: + denom: + type: string + amount: + type: string + description: |- + Coin defines a token with a denomination and an amount. + + NOTE: The amount field is an Int which implements the custom method + signatures required by gogoproto. + comdex.liquidity.v1beta1.QueryFarmerResponse: + type: object + properties: + active_pool_coin: + type: object + properties: + denom: + type: string + amount: + type: string + description: |- + Coin defines a token with a denomination and an amount. + + NOTE: The amount field is an Int which implements the custom method + signatures required by gogoproto. + queued_pool_coin: + type: array + items: + type: object + properties: + pool_coin: + type: object + properties: + denom: + type: string + amount: + type: string + description: >- + Coin defines a token with a denomination and an amount. + + + NOTE: The amount field is an Int which implements the custom method + + signatures required by gogoproto. + deque_at: + type: string + format: date-time + description: QueryFarmerResponse is response type for the Query/Farmer RPC method. + comdex.liquidity.v1beta1.QueryGenericParamsResponse: + type: object + properties: + params: + type: object + properties: + batch_size: + type: string + format: uint64 + tick_precision: + type: string + format: uint64 + fee_collector_address: + type: string + dust_collector_address: + type: string + min_initial_pool_coin_supply: + type: string + pair_creation_fee: + type: array + items: + type: object + properties: + denom: + type: string + amount: + type: string + description: >- + Coin defines a token with a denomination and an amount. + + + NOTE: The amount field is an Int which implements the custom method + + signatures required by gogoproto. + pool_creation_fee: + type: array + items: + type: object + properties: + denom: + type: string + amount: + type: string + description: >- + Coin defines a token with a denomination and an amount. + + + NOTE: The amount field is an Int which implements the custom method + + signatures required by gogoproto. + min_initial_deposit_amount: + type: string + max_price_limit_ratio: + type: string + max_order_lifespan: + type: string + swap_fee_rate: + type: string + withdraw_fee_rate: + type: string + deposit_extra_gas: + type: string + format: uint64 + withdraw_extra_gas: + type: string + format: uint64 + order_extra_gas: + type: string + format: uint64 + swap_fee_distr_denom: + type: string + swap_fee_burn_rate: + type: string + app_id: + type: string + format: uint64 + max_num_market_making_order_ticks: + type: string + format: uint64 + max_num_active_pools_per_pair: + type: string + format: uint64 + description: Params defines the parameters for the liquidity module. + description: QueryGenericParamsResponse is response type for the Query/GenericParams RPC method. + comdex.liquidity.v1beta1.QueryOrderBooksResponse: + type: object + properties: + pairs: + type: array + items: + type: object + properties: + pair_id: + type: string + format: uint64 + base_price: + type: string + order_books: + type: array + items: + type: object + properties: + price_unit: + type: string + sells: + type: array + items: + type: object + properties: + price: + type: string + user_order_amount: + type: string + pool_order_amount: + type: string + buys: + type: array + items: + type: object + properties: + price: + type: string + user_order_amount: + type: string + pool_order_amount: + type: string + description: QueryOrderBooksResponse is response type for Query/OrderBooks RPC method. + comdex.liquidity.v1beta1.QueryOrderResponse: + type: object + properties: + order: + type: object + properties: + id: + type: string + format: uint64 + title: id specifies the id for the request + pair_id: + type: string + format: uint64 + title: pair_id specifies the pair id + msg_height: + type: string + format: int64 + title: msg_height specifies the block height when the request is stored for the batch execution + orderer: + type: string + title: orderer specifies the bech32-encoded address that makes an order + direction: + title: direction specifies the order direction; either buy or sell + type: string + enum: + - ORDER_DIRECTION_UNSPECIFIED + - ORDER_DIRECTION_BUY + - ORDER_DIRECTION_SELL + default: ORDER_DIRECTION_UNSPECIFIED + description: >- + OrderDirection enumerates order directions. + + + - ORDER_DIRECTION_UNSPECIFIED: ORDER_DIRECTION_UNSPECIFIED specifies unknown order direction + - ORDER_DIRECTION_BUY: ORDER_DIRECTION_BUY specifies buy(swap quote coin to base coin) order direction + - ORDER_DIRECTION_SELL: ORDER_DIRECTION_SELL specifies sell(swap base coin to quote coin) order direction + offer_coin: + type: object + properties: + denom: + type: string + amount: + type: string + description: >- + Coin defines a token with a denomination and an amount. + + + NOTE: The amount field is an Int which implements the custom method + + signatures required by gogoproto. + remaining_offer_coin: + type: object + properties: + denom: + type: string + amount: + type: string + description: >- + Coin defines a token with a denomination and an amount. + + + NOTE: The amount field is an Int which implements the custom method + + signatures required by gogoproto. + title: remaining_offer_coin specifies the remaining offer coin + received_coin: + type: object + properties: + denom: + type: string + amount: + type: string + description: >- + Coin defines a token with a denomination and an amount. + + + NOTE: The amount field is an Int which implements the custom method + + signatures required by gogoproto. + title: received_coin specifies the received coin after the swap + price: + type: string + title: price specifies the price that an orderer is willing to swap + amount: + type: string + open_amount: + type: string + batch_id: + type: string + format: uint64 + title: batch_id specifies the pair's batch id when the request is stored + expire_at: + type: string + format: date-time + status: + type: string + enum: + - ORDER_STATUS_UNSPECIFIED + - ORDER_STATUS_NOT_EXECUTED + - ORDER_STATUS_NOT_MATCHED + - ORDER_STATUS_PARTIALLY_MATCHED + - ORDER_STATUS_COMPLETED + - ORDER_STATUS_CANCELED + - ORDER_STATUS_EXPIRED + default: ORDER_STATUS_UNSPECIFIED + description: >- + OrderStatus enumerates order statuses. + + + - ORDER_STATUS_UNSPECIFIED: ORDER_STATUS_UNSPECIFIED specifies unknown order status + - ORDER_STATUS_NOT_EXECUTED: ORDER_STATUS_NOT_EXECUTED indicates the order has not been executed yet + - ORDER_STATUS_NOT_MATCHED: ORDER_STATUS_NOT_MATCHED indicates the order has been executed but has no match + - ORDER_STATUS_PARTIALLY_MATCHED: ORDER_STATUS_PARTIALLY_MATCHED indicates the order has been partially matched + - ORDER_STATUS_COMPLETED: ORDER_STATUS_COMPLETED indicates the order has been fully matched and completed + - ORDER_STATUS_CANCELED: ORDER_STATUS_CANCELED indicates the order has been canceled + - ORDER_STATUS_EXPIRED: ORDER_STATUS_EXPIRED indicates the order has been expired + app_id: + type: string + format: uint64 + type: + title: type specifies the typo of the order + type: string + enum: + - ORDER_TYPE_UNSPECIFIED + - ORDER_TYPE_LIMIT + - ORDER_TYPE_MARKET + - ORDER_TYPE_MM + default: ORDER_TYPE_UNSPECIFIED + description: >- + OrderType enumerates order types. + + + - ORDER_TYPE_UNSPECIFIED: ORDER_TYPE_UNSPECIFIED specifies unknown order type. + - ORDER_TYPE_LIMIT: ORDER_TYPE_LIMIT specifies limit order type. + - ORDER_TYPE_MARKET: ORDER_TYPE_MARKET specifies market order type. + - ORDER_TYPE_MM: ORDER_TYPE_MM specifies MM(market making) order type. + description: Order defines an order. + description: QueryOrderResponse is response type for the Query/Order RPC method. + comdex.liquidity.v1beta1.QueryOrdersResponse: + type: object + properties: + orders: + type: array + items: + type: object + properties: + id: + type: string + format: uint64 + title: id specifies the id for the request + pair_id: + type: string + format: uint64 + title: pair_id specifies the pair id + msg_height: + type: string + format: int64 + title: msg_height specifies the block height when the request is stored for the batch execution + orderer: + type: string + title: orderer specifies the bech32-encoded address that makes an order + direction: + title: direction specifies the order direction; either buy or sell + type: string + enum: + - ORDER_DIRECTION_UNSPECIFIED + - ORDER_DIRECTION_BUY + - ORDER_DIRECTION_SELL + default: ORDER_DIRECTION_UNSPECIFIED + description: >- + OrderDirection enumerates order directions. + + + - ORDER_DIRECTION_UNSPECIFIED: ORDER_DIRECTION_UNSPECIFIED specifies unknown order direction + - ORDER_DIRECTION_BUY: ORDER_DIRECTION_BUY specifies buy(swap quote coin to base coin) order direction + - ORDER_DIRECTION_SELL: ORDER_DIRECTION_SELL specifies sell(swap base coin to quote coin) order direction + offer_coin: + type: object + properties: + denom: + type: string + amount: + type: string + description: >- + Coin defines a token with a denomination and an amount. + + + NOTE: The amount field is an Int which implements the custom method + + signatures required by gogoproto. + remaining_offer_coin: + type: object + properties: + denom: + type: string + amount: + type: string + description: >- + Coin defines a token with a denomination and an amount. + + + NOTE: The amount field is an Int which implements the custom method + + signatures required by gogoproto. + title: remaining_offer_coin specifies the remaining offer coin + received_coin: + type: object + properties: + denom: + type: string + amount: + type: string + description: >- + Coin defines a token with a denomination and an amount. + + + NOTE: The amount field is an Int which implements the custom method + + signatures required by gogoproto. + title: received_coin specifies the received coin after the swap + price: + type: string + title: price specifies the price that an orderer is willing to swap + amount: + type: string + open_amount: + type: string + batch_id: + type: string + format: uint64 + title: batch_id specifies the pair's batch id when the request is stored + expire_at: + type: string + format: date-time + status: + type: string + enum: + - ORDER_STATUS_UNSPECIFIED + - ORDER_STATUS_NOT_EXECUTED + - ORDER_STATUS_NOT_MATCHED + - ORDER_STATUS_PARTIALLY_MATCHED + - ORDER_STATUS_COMPLETED + - ORDER_STATUS_CANCELED + - ORDER_STATUS_EXPIRED + default: ORDER_STATUS_UNSPECIFIED + description: >- + OrderStatus enumerates order statuses. + + + - ORDER_STATUS_UNSPECIFIED: ORDER_STATUS_UNSPECIFIED specifies unknown order status + - ORDER_STATUS_NOT_EXECUTED: ORDER_STATUS_NOT_EXECUTED indicates the order has not been executed yet + - ORDER_STATUS_NOT_MATCHED: ORDER_STATUS_NOT_MATCHED indicates the order has been executed but has no match + - ORDER_STATUS_PARTIALLY_MATCHED: ORDER_STATUS_PARTIALLY_MATCHED indicates the order has been partially matched + - ORDER_STATUS_COMPLETED: ORDER_STATUS_COMPLETED indicates the order has been fully matched and completed + - ORDER_STATUS_CANCELED: ORDER_STATUS_CANCELED indicates the order has been canceled + - ORDER_STATUS_EXPIRED: ORDER_STATUS_EXPIRED indicates the order has been expired + app_id: + type: string + format: uint64 + type: + title: type specifies the typo of the order + type: string + enum: + - ORDER_TYPE_UNSPECIFIED + - ORDER_TYPE_LIMIT + - ORDER_TYPE_MARKET + - ORDER_TYPE_MM + default: ORDER_TYPE_UNSPECIFIED + description: >- + OrderType enumerates order types. + + + - ORDER_TYPE_UNSPECIFIED: ORDER_TYPE_UNSPECIFIED specifies unknown order type. + - ORDER_TYPE_LIMIT: ORDER_TYPE_LIMIT specifies limit order type. + - ORDER_TYPE_MARKET: ORDER_TYPE_MARKET specifies market order type. + - ORDER_TYPE_MM: ORDER_TYPE_MM specifies MM(market making) order type. + description: Order defines an order. + pagination: + type: object + properties: + next_key: + type: string + format: byte + title: |- + next_key is the key to be passed to PageRequest.key to + query the next page most efficiently + total: + type: string + format: uint64 + title: >- + total is total number of results available if PageRequest.count_total + + was set, its value is undefined otherwise + description: |- + PageResponse is to be embedded in gRPC response messages where the + corresponding request message has used PageRequest. + + message SomeResponse { + repeated Bar results = 1; + PageResponse page = 2; + } + description: QueryOrdersResponse is response type for the Query/Orders RPC method. + comdex.liquidity.v1beta1.QueryPairResponse: + type: object + properties: + pair: + type: object + properties: + id: + type: string + format: uint64 + base_coin_denom: + type: string + quote_coin_denom: + type: string + escrow_address: + type: string + last_order_id: + type: string + format: uint64 + last_price: + type: string + current_batch_id: + type: string + format: uint64 + swap_fee_collector_address: + type: string + app_id: + type: string + format: uint64 + description: Pair defines a coin pair. + description: QueryPairResponse is response type for the Query/Pair RPC method. + comdex.liquidity.v1beta1.QueryPairsResponse: + type: object + properties: + pairs: + type: array + items: + type: object + properties: + id: + type: string + format: uint64 + base_coin_denom: + type: string + quote_coin_denom: + type: string + escrow_address: + type: string + last_order_id: + type: string + format: uint64 + last_price: + type: string + current_batch_id: + type: string + format: uint64 + swap_fee_collector_address: + type: string + app_id: + type: string + format: uint64 + description: Pair defines a coin pair. + pagination: + type: object + properties: + next_key: + type: string + format: byte + title: |- + next_key is the key to be passed to PageRequest.key to + query the next page most efficiently + total: + type: string + format: uint64 + title: >- + total is total number of results available if PageRequest.count_total + + was set, its value is undefined otherwise + description: |- + PageResponse is to be embedded in gRPC response messages where the + corresponding request message has used PageRequest. + + message SomeResponse { + repeated Bar results = 1; + PageResponse page = 2; + } + description: QueryPairsResponse is response type for the Query/Pairs RPC method. + comdex.liquidity.v1beta1.QueryParamsResponse: + type: object + properties: + params: + type: object + description: Params defines the parameters for the liquidity module. + description: QueryParamsResponse is response type for the Query/Params RPC method. + comdex.liquidity.v1beta1.QueryPoolIncentivesResponse: + type: object + properties: + pool_incentives: + type: array + items: + type: object + properties: + pool_id: + type: string + format: uint64 + master_pool: + type: boolean + child_pool_ids: + type: array + items: + type: string + format: uint64 + total_rewards: + type: object + properties: + denom: + type: string + amount: + type: string + description: >- + Coin defines a token with a denomination and an amount. + + + NOTE: The amount field is an Int which implements the custom method + + signatures required by gogoproto. + distributed_rewards: + type: object + properties: + denom: + type: string + amount: + type: string + description: >- + Coin defines a token with a denomination and an amount. + + + NOTE: The amount field is an Int which implements the custom method + + signatures required by gogoproto. + total_epochs: + type: string + format: uint64 + filled_epochs: + type: string + format: uint64 + epoch_duration: + type: string + next_distribution: + type: string + format: date-time + is_swap_fee: + type: boolean + app_id: + type: string + format: uint64 + description: QueryPoolIncentivesResponse is response type for the Query/PoolsIncentives RPC method. + comdex.liquidity.v1beta1.QueryPoolResponse: + type: object + properties: + pool: + type: object + properties: + id: + type: string + format: uint64 + pair_id: + type: string + format: uint64 + reserve_address: + type: string + pool_coin_denom: + type: string + balances: + type: object + properties: + base_coin: + type: object + properties: + denom: + type: string + amount: + type: string + description: >- + Coin defines a token with a denomination and an amount. + + + NOTE: The amount field is an Int which implements the custom method + + signatures required by gogoproto. + quote_coin: + type: object + properties: + denom: + type: string + amount: + type: string + description: >- + Coin defines a token with a denomination and an amount. + + + NOTE: The amount field is an Int which implements the custom method + + signatures required by gogoproto. + last_deposit_request_id: + type: string + format: uint64 + last_withdraw_request_id: + type: string + format: uint64 + app_id: + type: string + format: uint64 + type: + type: string + enum: + - POOL_TYPE_UNSPECIFIED + - POOL_TYPE_BASIC + - POOL_TYPE_RANGED + default: POOL_TYPE_UNSPECIFIED + description: >- + PoolType enumerates pool types. + + + - POOL_TYPE_UNSPECIFIED: POOL_TYPE_UNSPECIFIED specifies unknown pool type + - POOL_TYPE_BASIC: POOL_TYPE_BASIC specifies the basic pool type + - POOL_TYPE_RANGED: POOL_TYPE_RANGED specifies the ranged pool type + creator: + type: string + pool_coin_supply: + type: string + min_price: + type: string + max_price: + type: string + price: + type: string + disabled: + type: boolean + description: PoolResponse defines a custom pool response message. + description: QueryPoolResponse is response type for the Query/Pool RPC method. + comdex.liquidity.v1beta1.QueryPoolsResponse: + type: object + properties: + pools: + type: array + items: + type: object + properties: + id: + type: string + format: uint64 + pair_id: + type: string + format: uint64 + reserve_address: + type: string + pool_coin_denom: + type: string + balances: + type: object + properties: + base_coin: + type: object + properties: + denom: + type: string + amount: + type: string + description: >- + Coin defines a token with a denomination and an amount. + + + NOTE: The amount field is an Int which implements the custom method + + signatures required by gogoproto. + quote_coin: + type: object + properties: + denom: + type: string + amount: + type: string + description: >- + Coin defines a token with a denomination and an amount. + + + NOTE: The amount field is an Int which implements the custom method + + signatures required by gogoproto. + last_deposit_request_id: + type: string + format: uint64 + last_withdraw_request_id: + type: string + format: uint64 + app_id: + type: string + format: uint64 + type: + type: string + enum: + - POOL_TYPE_UNSPECIFIED + - POOL_TYPE_BASIC + - POOL_TYPE_RANGED + default: POOL_TYPE_UNSPECIFIED + description: >- + PoolType enumerates pool types. + + + - POOL_TYPE_UNSPECIFIED: POOL_TYPE_UNSPECIFIED specifies unknown pool type + - POOL_TYPE_BASIC: POOL_TYPE_BASIC specifies the basic pool type + - POOL_TYPE_RANGED: POOL_TYPE_RANGED specifies the ranged pool type + creator: + type: string + pool_coin_supply: + type: string + min_price: + type: string + max_price: + type: string + price: + type: string + disabled: + type: boolean + description: PoolResponse defines a custom pool response message. + pagination: + type: object + properties: + next_key: + type: string + format: byte + title: |- + next_key is the key to be passed to PageRequest.key to + query the next page most efficiently + total: + type: string + format: uint64 + title: >- + total is total number of results available if PageRequest.count_total + + was set, its value is undefined otherwise + description: |- + PageResponse is to be embedded in gRPC response messages where the + corresponding request message has used PageRequest. + + message SomeResponse { + repeated Bar results = 1; + PageResponse page = 2; + } + description: QueryPoolsResponse is response type for the Query/Pools RPC method. + comdex.liquidity.v1beta1.QueryWithdrawRequestResponse: + type: object + properties: + withdraw_request: + type: object + properties: + id: + type: string + format: uint64 + title: id specifies the id for the request + pool_id: + type: string + format: uint64 + title: pool_id specifies the pool id + msg_height: + type: string + format: int64 + title: msg_height specifies the block height when the request is stored for the batch execution + withdrawer: + type: string + title: withdrawer specifies the bech32-encoded address that withdraws pool coin from the pool + pool_coin: + type: object + properties: + denom: + type: string + amount: + type: string + description: >- + Coin defines a token with a denomination and an amount. + + + NOTE: The amount field is an Int which implements the custom method + + signatures required by gogoproto. + title: pool_coin specifies the pool coin that is a proof of liquidity provider for the pool + withdrawn_coins: + type: array + items: + type: object + properties: + denom: + type: string + amount: + type: string + description: >- + Coin defines a token with a denomination and an amount. + + + NOTE: The amount field is an Int which implements the custom method + + signatures required by gogoproto. + description: withdrawn_coins specifies the amount of coins that are withdrawn. + status: + type: string + enum: + - REQUEST_STATUS_UNSPECIFIED + - REQUEST_STATUS_NOT_EXECUTED + - REQUEST_STATUS_SUCCEEDED + - REQUEST_STATUS_FAILED + default: REQUEST_STATUS_UNSPECIFIED + description: >- + RequestStatus enumerates request statuses. + + + - REQUEST_STATUS_UNSPECIFIED: REQUEST_STATUS_UNSPECIFIED specifies unknown request status + - REQUEST_STATUS_NOT_EXECUTED: REQUEST_STATUS_NOT_EXECUTED indicates the request is not executed yet + - REQUEST_STATUS_SUCCEEDED: REQUEST_STATUS_SUCCEEDED indicates the request has been succeeded + - REQUEST_STATUS_FAILED: REQUEST_STATUS_FAILED indicates the request is failed + app_id: + type: string + format: uint64 + description: WithdrawRequest defines a withdraw request. + description: QueryWithdrawRequestResponse is response type for the Query/WithdrawRequest RPC method. + comdex.liquidity.v1beta1.QueryWithdrawRequestsResponse: + type: object + properties: + withdraw_requests: + type: array + items: + type: object + properties: + id: + type: string + format: uint64 + title: id specifies the id for the request + pool_id: + type: string + format: uint64 + title: pool_id specifies the pool id + msg_height: + type: string + format: int64 + title: msg_height specifies the block height when the request is stored for the batch execution + withdrawer: + type: string + title: withdrawer specifies the bech32-encoded address that withdraws pool coin from the pool + pool_coin: + type: object + properties: + denom: + type: string + amount: + type: string + description: >- + Coin defines a token with a denomination and an amount. + + + NOTE: The amount field is an Int which implements the custom method + + signatures required by gogoproto. + title: pool_coin specifies the pool coin that is a proof of liquidity provider for the pool + withdrawn_coins: + type: array + items: + type: object + properties: + denom: + type: string + amount: + type: string + description: >- + Coin defines a token with a denomination and an amount. + + + NOTE: The amount field is an Int which implements the custom method + + signatures required by gogoproto. + description: withdrawn_coins specifies the amount of coins that are withdrawn. + status: + type: string + enum: + - REQUEST_STATUS_UNSPECIFIED + - REQUEST_STATUS_NOT_EXECUTED + - REQUEST_STATUS_SUCCEEDED + - REQUEST_STATUS_FAILED + default: REQUEST_STATUS_UNSPECIFIED + description: >- + RequestStatus enumerates request statuses. + + + - REQUEST_STATUS_UNSPECIFIED: REQUEST_STATUS_UNSPECIFIED specifies unknown request status + - REQUEST_STATUS_NOT_EXECUTED: REQUEST_STATUS_NOT_EXECUTED indicates the request is not executed yet + - REQUEST_STATUS_SUCCEEDED: REQUEST_STATUS_SUCCEEDED indicates the request has been succeeded + - REQUEST_STATUS_FAILED: REQUEST_STATUS_FAILED indicates the request is failed + app_id: + type: string + format: uint64 + description: WithdrawRequest defines a withdraw request. + pagination: + type: object + properties: + next_key: + type: string + format: byte + title: |- + next_key is the key to be passed to PageRequest.key to + query the next page most efficiently + total: + type: string + format: uint64 + title: >- + total is total number of results available if PageRequest.count_total + + was set, its value is undefined otherwise + description: |- + PageResponse is to be embedded in gRPC response messages where the + corresponding request message has used PageRequest. + + message SomeResponse { + repeated Bar results = 1; + PageResponse page = 2; + } + description: QueryWithdrawRequestsResponse is response type for the Query/WithdrawRequests RPC method. + comdex.liquidity.v1beta1.QueuedPoolCoin: + type: object + properties: + pool_coin: + type: object + properties: + denom: + type: string + amount: + type: string + description: |- + Coin defines a token with a denomination and an amount. + + NOTE: The amount field is an Int which implements the custom method + signatures required by gogoproto. + deque_at: + type: string + format: date-time + comdex.liquidity.v1beta1.RequestStatus: + type: string + enum: + - REQUEST_STATUS_UNSPECIFIED + - REQUEST_STATUS_NOT_EXECUTED + - REQUEST_STATUS_SUCCEEDED + - REQUEST_STATUS_FAILED + default: REQUEST_STATUS_UNSPECIFIED + description: >- + RequestStatus enumerates request statuses. + + + - REQUEST_STATUS_UNSPECIFIED: REQUEST_STATUS_UNSPECIFIED specifies unknown request status + - REQUEST_STATUS_NOT_EXECUTED: REQUEST_STATUS_NOT_EXECUTED indicates the request is not executed yet + - REQUEST_STATUS_SUCCEEDED: REQUEST_STATUS_SUCCEEDED indicates the request has been succeeded + - REQUEST_STATUS_FAILED: REQUEST_STATUS_FAILED indicates the request is failed + comdex.liquidity.v1beta1.TotalActiveAndQueuedPoolCoins: + type: object + properties: + pool_id: + type: string + format: uint64 + total_active_pool_coin: + type: object + properties: + denom: + type: string + amount: + type: string + description: |- + Coin defines a token with a denomination and an amount. + + NOTE: The amount field is an Int which implements the custom method + signatures required by gogoproto. + total_queued_pool_coin: + type: object + properties: + denom: + type: string + amount: + type: string + description: |- + Coin defines a token with a denomination and an amount. + + NOTE: The amount field is an Int which implements the custom method + signatures required by gogoproto. + comdex.liquidity.v1beta1.WithdrawRequest: + type: object + properties: + id: + type: string + format: uint64 + title: id specifies the id for the request + pool_id: + type: string + format: uint64 + title: pool_id specifies the pool id + msg_height: + type: string + format: int64 + title: msg_height specifies the block height when the request is stored for the batch execution + withdrawer: + type: string + title: withdrawer specifies the bech32-encoded address that withdraws pool coin from the pool + pool_coin: + type: object + properties: + denom: + type: string + amount: + type: string + description: |- + Coin defines a token with a denomination and an amount. + + NOTE: The amount field is an Int which implements the custom method + signatures required by gogoproto. + title: pool_coin specifies the pool coin that is a proof of liquidity provider for the pool + withdrawn_coins: + type: array + items: + type: object + properties: + denom: + type: string + amount: + type: string + description: >- + Coin defines a token with a denomination and an amount. + + + NOTE: The amount field is an Int which implements the custom method + + signatures required by gogoproto. + description: withdrawn_coins specifies the amount of coins that are withdrawn. + status: + type: string + enum: + - REQUEST_STATUS_UNSPECIFIED + - REQUEST_STATUS_NOT_EXECUTED + - REQUEST_STATUS_SUCCEEDED + - REQUEST_STATUS_FAILED + default: REQUEST_STATUS_UNSPECIFIED + description: >- + RequestStatus enumerates request statuses. + + + - REQUEST_STATUS_UNSPECIFIED: REQUEST_STATUS_UNSPECIFIED specifies unknown request status + - REQUEST_STATUS_NOT_EXECUTED: REQUEST_STATUS_NOT_EXECUTED indicates the request is not executed yet + - REQUEST_STATUS_SUCCEEDED: REQUEST_STATUS_SUCCEEDED indicates the request has been succeeded + - REQUEST_STATUS_FAILED: REQUEST_STATUS_FAILED indicates the request is failed + app_id: + type: string + format: uint64 + description: WithdrawRequest defines a withdraw request. + comdex.locker.v1beta1.AppToAllAsset: + type: object + properties: + app_id: + type: string + format: uint64 + assets: + type: array + items: + type: object + properties: + id: + type: string + format: uint64 + name: + type: string + denom: + type: string + decimals: + type: string + is_on_chain: + type: boolean + is_oracle_price_required: + type: boolean + is_cdp_mintable: + type: boolean + comdex.locker.v1beta1.LockedDepositedAmountDataMap: + type: object + properties: + asset_id: + type: string + format: uint64 + deposited_amount: + type: string + comdex.locker.v1beta1.Locker: + type: object + properties: + locker_id: + type: string + format: uint64 + depositor: + type: string + returns_accumulated: + type: string + net_balance: + type: string + created_at: + type: string + format: date-time + asset_deposit_id: + type: string + format: uint64 + is_locked: + type: boolean + app_id: + type: string + format: uint64 + block_height: + type: string + format: int64 + block_time: + type: string + format: date-time + title: locker_id will be the key which will be derived from the LockerLookUpTable + comdex.locker.v1beta1.LockerLookupTableData: + type: object + properties: + app_id: + type: string + format: uint64 + asset_id: + type: string + format: uint64 + locker_ids: + type: array + items: + type: string + format: uint64 + deposited_amount: + type: string + comdex.locker.v1beta1.LockerTotalRewardsByAssetAppWise: + type: object + properties: + app_id: + type: string + format: uint64 + asset_id: + type: string + format: uint64 + total_rewards: + type: string + comdex.locker.v1beta1.QueryLockerByAppByOwnerResponse: + type: object + properties: + locker_info: + type: array + items: + type: object + properties: + locker_id: + type: string + format: uint64 + depositor: + type: string + returns_accumulated: + type: string + net_balance: + type: string + created_at: + type: string + format: date-time + asset_deposit_id: + type: string + format: uint64 + is_locked: + type: boolean + app_id: + type: string + format: uint64 + block_height: + type: string + format: int64 + block_time: + type: string + format: date-time + title: locker_id will be the key which will be derived from the LockerLookUpTable + pagination: + type: object + properties: + next_key: + type: string + format: byte + title: |- + next_key is the key to be passed to PageRequest.key to + query the next page most efficiently + total: + type: string + format: uint64 + title: >- + total is total number of results available if PageRequest.count_total + + was set, its value is undefined otherwise + description: |- + PageResponse is to be embedded in gRPC response messages where the + corresponding request message has used PageRequest. + + message SomeResponse { + repeated Bar results = 1; + PageResponse page = 2; + } + comdex.locker.v1beta1.QueryLockerCountByAppIDResponse: + type: object + properties: + total_count: + type: string + format: uint64 + comdex.locker.v1beta1.QueryLockerCountByAppToAssetIDResponse: + type: object + properties: + total_count: + type: string + format: uint64 + pagination: + type: object + properties: + key: + type: string + format: byte + description: >- + key is a value returned in PageResponse.next_key to begin + + querying the next page most efficiently. Only one of offset or key + + should be set. + offset: + type: string + format: uint64 + description: >- + offset is a numeric offset that can be used when key is unavailable. + + It is less efficient than using key. Only one of offset or key should + + be set. + limit: + type: string + format: uint64 + description: >- + limit is the total number of results to be returned in the result page. + + If left empty it will default to a value to be set by each app. + count_total: + type: boolean + description: >- + count_total is set to true to indicate that the result set should include + + a count of the total number of items available for pagination in UIs. + + count_total is only respected when offset is used. It is ignored when key + + is set. + reverse: + type: boolean + description: >- + reverse is set to true if results are to be returned in the descending + + order. + description: |- + message SomeRequest { + Foo some_parameter = 1; + PageRequest pagination = 2; + } + title: |- + PageRequest is to be embedded in gRPC request messages for efficient + pagination. Ex: + comdex.locker.v1beta1.QueryLockerInfoByAppIDResponse: + type: object + properties: + locker_ids: + type: array + items: + type: string + format: uint64 + pagination: + type: object + properties: + next_key: + type: string + format: byte + title: |- + next_key is the key to be passed to PageRequest.key to + query the next page most efficiently + total: + type: string + format: uint64 + title: >- + total is total number of results available if PageRequest.count_total + + was set, its value is undefined otherwise + description: |- + PageResponse is to be embedded in gRPC response messages where the + corresponding request message has used PageRequest. + + message SomeResponse { + repeated Bar results = 1; + PageResponse page = 2; + } + comdex.locker.v1beta1.QueryLockerInfoResponse: + type: object + properties: + locker_info: + type: object + properties: + locker_id: + type: string + format: uint64 + depositor: + type: string + returns_accumulated: + type: string + net_balance: + type: string + created_at: + type: string + format: date-time + asset_deposit_id: + type: string + format: uint64 + is_locked: + type: boolean + app_id: + type: string + format: uint64 + block_height: + type: string + format: int64 + block_time: + type: string + format: date-time + title: locker_id will be the key which will be derived from the LockerLookUpTable + comdex.locker.v1beta1.QueryLockerLookupTableByAppAndAssetIDResponse: + type: object + properties: + token_to_locker_mapping: + type: object + properties: + app_id: + type: string + format: uint64 + asset_id: + type: string + format: uint64 + locker_ids: + type: array + items: + type: string + format: uint64 + deposited_amount: + type: string + comdex.locker.v1beta1.QueryLockerLookupTableByAppResponse: + type: object + properties: + token_to_locker_mapping: + type: array + items: + type: object + properties: + app_id: + type: string + format: uint64 + asset_id: + type: string + format: uint64 + locker_ids: + type: array + items: + type: string + format: uint64 + deposited_amount: + type: string + pagination: + type: object + properties: + next_key: + type: string + format: byte + title: |- + next_key is the key to be passed to PageRequest.key to + query the next page most efficiently + total: + type: string + format: uint64 + title: >- + total is total number of results available if PageRequest.count_total + + was set, its value is undefined otherwise + description: |- + PageResponse is to be embedded in gRPC response messages where the + corresponding request message has used PageRequest. + + message SomeResponse { + repeated Bar results = 1; + PageResponse page = 2; + } + comdex.locker.v1beta1.QueryLockerTotalDepositedByAppResponse: + type: object + properties: + locked_deposited_amount_data_map: + type: array + items: + type: object + properties: + asset_id: + type: string + format: uint64 + deposited_amount: + type: string + pagination: + type: object + properties: + next_key: + type: string + format: byte + title: |- + next_key is the key to be passed to PageRequest.key to + query the next page most efficiently + total: + type: string + format: uint64 + title: >- + total is total number of results available if PageRequest.count_total + + was set, its value is undefined otherwise + description: |- + PageResponse is to be embedded in gRPC response messages where the + corresponding request message has used PageRequest. + + message SomeResponse { + repeated Bar results = 1; + PageResponse page = 2; + } + comdex.locker.v1beta1.QueryLockerTotalRewardsByAssetAppWiseResponse: + type: object + properties: + total_rewards: + type: object + properties: + app_id: + type: string + format: uint64 + asset_id: + type: string + format: uint64 + total_rewards: + type: string + comdex.locker.v1beta1.QueryLockersByAppToAssetIDResponse: + type: object + properties: + locker_ids: + type: array + items: + type: string + format: uint64 + pagination: + type: object + properties: + next_key: + type: string + format: byte + title: |- + next_key is the key to be passed to PageRequest.key to + query the next page most efficiently + total: + type: string + format: uint64 + title: >- + total is total number of results available if PageRequest.count_total + + was set, its value is undefined otherwise + description: |- + PageResponse is to be embedded in gRPC response messages where the + corresponding request message has used PageRequest. + + message SomeResponse { + repeated Bar results = 1; + PageResponse page = 2; + } + comdex.locker.v1beta1.QueryOwnerLockerByAppIDbyOwnerResponse: + type: object + properties: + locker_ids: + type: array + items: + type: string + format: uint64 + pagination: + type: object + properties: + next_key: + type: string + format: byte + title: |- + next_key is the key to be passed to PageRequest.key to + query the next page most efficiently + total: + type: string + format: uint64 + title: >- + total is total number of results available if PageRequest.count_total + + was set, its value is undefined otherwise + description: |- + PageResponse is to be embedded in gRPC response messages where the + corresponding request message has used PageRequest. + + message SomeResponse { + repeated Bar results = 1; + PageResponse page = 2; + } + comdex.locker.v1beta1.QueryOwnerLockerByAppToAssetIDbyOwnerResponse: + type: object + properties: + locker_info: + type: object + properties: + locker_id: + type: string + format: uint64 + depositor: + type: string + returns_accumulated: + type: string + net_balance: + type: string + created_at: + type: string + format: date-time + asset_deposit_id: + type: string + format: uint64 + is_locked: + type: boolean + app_id: + type: string + format: uint64 + block_height: + type: string + format: int64 + block_time: + type: string + format: date-time + title: locker_id will be the key which will be derived from the LockerLookUpTable + pagination: + type: object + properties: + next_key: + type: string + format: byte + title: |- + next_key is the key to be passed to PageRequest.key to + query the next page most efficiently + total: + type: string + format: uint64 + title: >- + total is total number of results available if PageRequest.count_total + + was set, its value is undefined otherwise + description: |- + PageResponse is to be embedded in gRPC response messages where the + corresponding request message has used PageRequest. + + message SomeResponse { + repeated Bar results = 1; + PageResponse page = 2; + } + comdex.locker.v1beta1.QueryOwnerLockerOfAllAppsByOwnerResponse: + type: object + properties: + locker_ids: + type: array + items: + type: string + format: uint64 + pagination: + type: object + properties: + next_key: + type: string + format: byte + title: |- + next_key is the key to be passed to PageRequest.key to + query the next page most efficiently + total: + type: string + format: uint64 + title: >- + total is total number of results available if PageRequest.count_total + + was set, its value is undefined otherwise + description: |- + PageResponse is to be embedded in gRPC response messages where the + corresponding request message has used PageRequest. + + message SomeResponse { + repeated Bar results = 1; + PageResponse page = 2; + } + comdex.locker.v1beta1.QueryOwnerTxDetailsLockerOfAppByOwnerByAssetResponse: + type: object + properties: + user_tx_data: + type: array + items: + type: object + properties: + tx_type: + type: string + amount: + type: string + balance: + type: string + tx_time: + type: string + format: date-time + pagination: + type: object + properties: + next_key: + type: string + format: byte + title: |- + next_key is the key to be passed to PageRequest.key to + query the next page most efficiently + total: + type: string + format: uint64 + title: >- + total is total number of results available if PageRequest.count_total + + was set, its value is undefined otherwise + description: |- + PageResponse is to be embedded in gRPC response messages where the + corresponding request message has used PageRequest. + + message SomeResponse { + repeated Bar results = 1; + PageResponse page = 2; + } + comdex.locker.v1beta1.QueryTotalDepositByAppAndAssetIDResponse: + type: object + properties: + total_deposit: + type: string + format: uint64 + comdex.locker.v1beta1.QueryWhiteListedAssetByAllAppsResponse: + type: object + properties: + product_to_all_asset: + type: array + items: + type: object + properties: + app_id: + type: string + format: uint64 + assets: + type: array + items: + type: object + properties: + id: + type: string + format: uint64 + name: + type: string + denom: + type: string + decimals: + type: string + is_on_chain: + type: boolean + is_oracle_price_required: + type: boolean + is_cdp_mintable: + type: boolean + pagination: + type: object + properties: + next_key: + type: string + format: byte + title: |- + next_key is the key to be passed to PageRequest.key to + query the next page most efficiently + total: + type: string + format: uint64 + title: >- + total is total number of results available if PageRequest.count_total + + was set, its value is undefined otherwise + description: |- + PageResponse is to be embedded in gRPC response messages where the + corresponding request message has used PageRequest. + + message SomeResponse { + repeated Bar results = 1; + PageResponse page = 2; + } + comdex.locker.v1beta1.QueryWhiteListedAssetIDsByAppIDResponse: + type: object + properties: + asset_ids: + type: array + items: + type: string + format: uint64 + pagination: + type: object + properties: + next_key: + type: string + format: byte + title: |- + next_key is the key to be passed to PageRequest.key to + query the next page most efficiently + total: + type: string + format: uint64 + title: >- + total is total number of results available if PageRequest.count_total + + was set, its value is undefined otherwise + description: |- + PageResponse is to be embedded in gRPC response messages where the + corresponding request message has used PageRequest. + + message SomeResponse { + repeated Bar results = 1; + PageResponse page = 2; + } + comdex.locker.v1beta1.UserTxData: + type: object + properties: + tx_type: + type: string + amount: + type: string + balance: + type: string + tx_time: + type: string + format: date-time + comdex.market.v1beta1.QueryMarketResponse: + type: object + properties: + timeWeightedAverage: + type: object + properties: + asset_id: + type: string + format: uint64 + script_id: + type: string + format: uint64 + twa: + type: string + format: uint64 + current_index: + type: string + format: uint64 + is_price_active: + type: boolean + price_value: + type: array + items: + type: string + format: uint64 + discarded_height_diff: + type: string + format: int64 + comdex.market.v1beta1.QueryMarketsResponse: + type: object + properties: + timeWeightedAverage: + type: array + items: + type: object + properties: + asset_id: + type: string + format: uint64 + script_id: + type: string + format: uint64 + twa: + type: string + format: uint64 + current_index: + type: string + format: uint64 + is_price_active: + type: boolean + price_value: + type: array + items: + type: string + format: uint64 + discarded_height_diff: + type: string + format: int64 + pagination: + type: object + properties: + next_key: + type: string + format: byte + title: |- + next_key is the key to be passed to PageRequest.key to + query the next page most efficiently + total: + type: string + format: uint64 + title: >- + total is total number of results available if PageRequest.count_total + + was set, its value is undefined otherwise + description: |- + PageResponse is to be embedded in gRPC response messages where the + corresponding request message has used PageRequest. + + message SomeResponse { + repeated Bar results = 1; + PageResponse page = 2; + } + comdex.market.v1beta1.TimeWeightedAverage: + type: object + properties: + asset_id: + type: string + format: uint64 + script_id: + type: string + format: uint64 + twa: + type: string + format: uint64 + current_index: + type: string + format: uint64 + is_price_active: + type: boolean + price_value: + type: array + items: + type: string + format: uint64 + discarded_height_diff: + type: string + format: int64 + comdex.rewards.v1beta1.EpochInfo: + type: object + properties: + start_time: + type: string + format: date-time + duration: + type: string + current_epoch: + type: string + format: int64 + current_epoch_start_time: + type: string + format: date-time + current_epoch_start_height: + type: string + format: int64 + comdex.rewards.v1beta1.EpochTime: + type: object + properties: + id: + type: string + format: uint64 + app_mapping_id: + type: string + format: uint64 + starting_time: + type: string + format: int64 + count: + type: string + format: uint64 + comdex.rewards.v1beta1.Gauge: + type: object + properties: + id: + type: string + format: uint64 + from: + type: string + created_at: + type: string + format: date-time + start_time: + type: string + format: date-time + gauge_type_id: + type: string + format: uint64 + trigger_duration: + type: string + deposit_amount: + type: object + properties: + denom: + type: string + amount: + type: string + description: |- + Coin defines a token with a denomination and an amount. + + NOTE: The amount field is an Int which implements the custom method + signatures required by gogoproto. + total_triggers: + type: string + format: uint64 + triggered_count: + type: string + format: uint64 + distributed_amount: + type: object + properties: + denom: + type: string + amount: + type: string + description: |- + Coin defines a token with a denomination and an amount. + + NOTE: The amount field is an Int which implements the custom method + signatures required by gogoproto. + is_active: + type: boolean + for_swap_fee: + type: boolean + liquidity_meta_data: + type: object + properties: + pool_id: + type: string + format: uint64 + is_master_pool: + type: boolean + child_pool_ids: + type: array + items: + type: string + format: uint64 + app_id: + type: string + format: uint64 + comdex.rewards.v1beta1.InternalRewards: + type: object + properties: + app_mapping_id: + type: string + format: uint64 + asset_id: + type: string + format: uint64 + comdex.rewards.v1beta1.LendExternalRewards: + type: object + properties: + id: + type: string + format: uint64 + app_mapping_id: + type: string + format: uint64 + rewards_asset_pool_data: + type: object + properties: + c_pool_id: + type: string + format: uint64 + asset_id: + type: array + items: + type: string + format: uint64 + c_swap_app_id: + type: string + format: uint64 + c_swap_min_lock_amount: + type: string + format: uint64 + total_rewards: + type: object + properties: + denom: + type: string + amount: + type: string + description: |- + Coin defines a token with a denomination and an amount. + + NOTE: The amount field is an Int which implements the custom method + signatures required by gogoproto. + master_pool_id: + type: string + format: int64 + duration_days: + type: string + format: int64 + is_active: + type: boolean + available_rewards: + type: object + properties: + denom: + type: string + amount: + type: string + description: |- + Coin defines a token with a denomination and an amount. + + NOTE: The amount field is an Int which implements the custom method + signatures required by gogoproto. + depositor: + type: string + start_timestamp: + type: string + format: date-time + end_timestamp: + type: string + format: date-time + min_lockup_time_seconds: + type: string + format: int64 + epoch_id: + type: string + format: uint64 + comdex.rewards.v1beta1.LiquidtyGaugeMetaData: + type: object + properties: + pool_id: + type: string + format: uint64 + is_master_pool: + type: boolean + child_pool_ids: + type: array + items: + type: string + format: uint64 + comdex.rewards.v1beta1.LockerExternalRewards: + type: object + properties: + id: + type: string + format: uint64 + app_mapping_id: + type: string + format: uint64 + asset_id: + type: string + format: uint64 + total_rewards: + type: object + properties: + denom: + type: string + amount: + type: string + description: |- + Coin defines a token with a denomination and an amount. + + NOTE: The amount field is an Int which implements the custom method + signatures required by gogoproto. + duration_days: + type: string + format: int64 + is_active: + type: boolean + available_rewards: + type: object + properties: + denom: + type: string + amount: + type: string + description: |- + Coin defines a token with a denomination and an amount. + + NOTE: The amount field is an Int which implements the custom method + signatures required by gogoproto. + depositor: + type: string + start_timestamp: + type: string + format: date-time + end_timestamp: + type: string + format: date-time + min_lockup_time_seconds: + type: string + format: int64 + epoch_id: + type: string + format: uint64 + comdex.rewards.v1beta1.Params: + type: object + description: Params defines the parameters for the module. + comdex.rewards.v1beta1.QueryAllEpochsInfoResponse: + type: object + properties: + epochs: + type: array + items: + type: object + properties: + start_time: + type: string + format: date-time + duration: + type: string + current_epoch: + type: string + format: int64 + current_epoch_start_time: + type: string + format: date-time + current_epoch_start_height: + type: string + format: int64 + pagination: + type: object + properties: + next_key: + type: string + format: byte + title: |- + next_key is the key to be passed to PageRequest.key to + query the next page most efficiently + total: + type: string + format: uint64 + title: >- + total is total number of results available if PageRequest.count_total + + was set, its value is undefined otherwise + description: |- + PageResponse is to be embedded in gRPC response messages where the + corresponding request message has used PageRequest. + + message SomeResponse { + repeated Bar results = 1; + PageResponse page = 2; + } + comdex.rewards.v1beta1.QueryAllGaugesResponse: + type: object + properties: + gauges: + type: array + items: + type: object + properties: + id: + type: string + format: uint64 + from: + type: string + created_at: + type: string + format: date-time + start_time: + type: string + format: date-time + gauge_type_id: + type: string + format: uint64 + trigger_duration: + type: string + deposit_amount: + type: object + properties: + denom: + type: string + amount: + type: string + description: >- + Coin defines a token with a denomination and an amount. + + + NOTE: The amount field is an Int which implements the custom method + + signatures required by gogoproto. + total_triggers: + type: string + format: uint64 + triggered_count: + type: string + format: uint64 + distributed_amount: + type: object + properties: + denom: + type: string + amount: + type: string + description: >- + Coin defines a token with a denomination and an amount. + + + NOTE: The amount field is an Int which implements the custom method + + signatures required by gogoproto. + is_active: + type: boolean + for_swap_fee: + type: boolean + liquidity_meta_data: + type: object + properties: + pool_id: + type: string + format: uint64 + is_master_pool: + type: boolean + child_pool_ids: + type: array + items: + type: string + format: uint64 + app_id: + type: string + format: uint64 + pagination: + type: object + properties: + next_key: + type: string + format: byte + title: |- + next_key is the key to be passed to PageRequest.key to + query the next page most efficiently + total: + type: string + format: uint64 + title: >- + total is total number of results available if PageRequest.count_total + + was set, its value is undefined otherwise + description: |- + PageResponse is to be embedded in gRPC response messages where the + corresponding request message has used PageRequest. + + message SomeResponse { + repeated Bar results = 1; + PageResponse page = 2; + } + comdex.rewards.v1beta1.QueryEpochInfoByDurationResponse: + type: object + properties: + epoch: + type: object + properties: + start_time: + type: string + format: date-time + duration: + type: string + current_epoch: + type: string + format: int64 + current_epoch_start_time: + type: string + format: date-time + current_epoch_start_height: + type: string + format: int64 + comdex.rewards.v1beta1.QueryEpochTimeResponse: + type: object + properties: + epoch_time: + type: array + items: + type: object + properties: + id: + type: string + format: uint64 + app_mapping_id: + type: string + format: uint64 + starting_time: + type: string + format: int64 + count: + type: string + format: uint64 + pagination: + type: object + properties: + next_key: + type: string + format: byte + title: |- + next_key is the key to be passed to PageRequest.key to + query the next page most efficiently + total: + type: string + format: uint64 + title: >- + total is total number of results available if PageRequest.count_total + + was set, its value is undefined otherwise + description: |- + PageResponse is to be embedded in gRPC response messages where the + corresponding request message has used PageRequest. + + message SomeResponse { + repeated Bar results = 1; + PageResponse page = 2; + } + comdex.rewards.v1beta1.QueryExtLendRewardsAPRResponse: + type: object + properties: + apr: + type: string + comdex.rewards.v1beta1.QueryExternalRewardLendsResponse: + type: object + properties: + lend_external_rewards: + type: array + items: + type: object + properties: + id: + type: string + format: uint64 + app_mapping_id: + type: string + format: uint64 + rewards_asset_pool_data: + type: object + properties: + c_pool_id: + type: string + format: uint64 + asset_id: + type: array + items: + type: string + format: uint64 + c_swap_app_id: + type: string + format: uint64 + c_swap_min_lock_amount: + type: string + format: uint64 + total_rewards: + type: object + properties: + denom: + type: string + amount: + type: string + description: >- + Coin defines a token with a denomination and an amount. + + + NOTE: The amount field is an Int which implements the custom method + + signatures required by gogoproto. + master_pool_id: + type: string + format: int64 + duration_days: + type: string + format: int64 + is_active: + type: boolean + available_rewards: + type: object + properties: + denom: + type: string + amount: + type: string + description: >- + Coin defines a token with a denomination and an amount. + + + NOTE: The amount field is an Int which implements the custom method + + signatures required by gogoproto. + depositor: + type: string + start_timestamp: + type: string + format: date-time + end_timestamp: + type: string + format: date-time + min_lockup_time_seconds: + type: string + format: int64 + epoch_id: + type: string + format: uint64 + pagination: + type: object + properties: + next_key: + type: string + format: byte + title: |- + next_key is the key to be passed to PageRequest.key to + query the next page most efficiently + total: + type: string + format: uint64 + title: >- + total is total number of results available if PageRequest.count_total + + was set, its value is undefined otherwise + description: |- + PageResponse is to be embedded in gRPC response messages where the + corresponding request message has used PageRequest. + + message SomeResponse { + repeated Bar results = 1; + PageResponse page = 2; + } + comdex.rewards.v1beta1.QueryExternalRewardStableMintResponse: + type: object + properties: + stable_mint_external_rewards: + type: array + items: + type: object + properties: + id: + type: string + format: uint64 + app_id: + type: string + format: uint64 + cswap_app_id: + type: string + format: uint64 + commodo_app_id: + type: string + format: uint64 + total_rewards: + type: object + properties: + denom: + type: string + amount: + type: string + description: >- + Coin defines a token with a denomination and an amount. + + + NOTE: The amount field is an Int which implements the custom method + + signatures required by gogoproto. + duration_days: + type: string + format: int64 + is_active: + type: boolean + available_rewards: + type: object + properties: + denom: + type: string + amount: + type: string + description: >- + Coin defines a token with a denomination and an amount. + + + NOTE: The amount field is an Int which implements the custom method + + signatures required by gogoproto. + depositor: + type: string + start_timestamp: + type: string + format: date-time + end_timestamp: + type: string + format: date-time + accepted_block_height: + type: string + format: int64 + epoch_id: + type: string + format: uint64 + pagination: + type: object + properties: + next_key: + type: string + format: byte + title: |- + next_key is the key to be passed to PageRequest.key to + query the next page most efficiently + total: + type: string + format: uint64 + title: >- + total is total number of results available if PageRequest.count_total + + was set, its value is undefined otherwise + description: |- + PageResponse is to be embedded in gRPC response messages where the + corresponding request message has used PageRequest. + + message SomeResponse { + repeated Bar results = 1; + PageResponse page = 2; + } + comdex.rewards.v1beta1.QueryExternalRewardVaultsResponse: + type: object + properties: + vault_external_rewards: + type: array + items: + type: object + properties: + id: + type: string + format: uint64 + app_mapping_id: + type: string + format: uint64 + extended_pair_id: + type: string + format: uint64 + total_rewards: + type: object + properties: + denom: + type: string + amount: + type: string + description: >- + Coin defines a token with a denomination and an amount. + + + NOTE: The amount field is an Int which implements the custom method + + signatures required by gogoproto. + duration_days: + type: string + format: int64 + is_active: + type: boolean + available_rewards: + type: object + properties: + denom: + type: string + amount: + type: string + description: >- + Coin defines a token with a denomination and an amount. + + + NOTE: The amount field is an Int which implements the custom method + + signatures required by gogoproto. + depositor: + type: string + start_timestamp: + type: string + format: date-time + end_timestamp: + type: string + format: date-time + min_lockup_time_seconds: + type: string + format: int64 + epoch_id: + type: string + format: uint64 + pagination: + type: object + properties: + next_key: + type: string + format: byte + title: |- + next_key is the key to be passed to PageRequest.key to + query the next page most efficiently + total: + type: string + format: uint64 + title: >- + total is total number of results available if PageRequest.count_total + + was set, its value is undefined otherwise + description: |- + PageResponse is to be embedded in gRPC response messages where the + corresponding request message has used PageRequest. + + message SomeResponse { + repeated Bar results = 1; + PageResponse page = 2; + } + comdex.rewards.v1beta1.QueryExternalRewardsLockersResponse: + type: object + properties: + locker_external_rewards: + type: array + items: + type: object + properties: + id: + type: string + format: uint64 + app_mapping_id: + type: string + format: uint64 + asset_id: + type: string + format: uint64 + total_rewards: + type: object + properties: + denom: + type: string + amount: + type: string + description: >- + Coin defines a token with a denomination and an amount. + + + NOTE: The amount field is an Int which implements the custom method + + signatures required by gogoproto. + duration_days: + type: string + format: int64 + is_active: + type: boolean + available_rewards: + type: object + properties: + denom: + type: string + amount: + type: string + description: >- + Coin defines a token with a denomination and an amount. + + + NOTE: The amount field is an Int which implements the custom method + + signatures required by gogoproto. + depositor: + type: string + start_timestamp: + type: string + format: date-time + end_timestamp: + type: string + format: date-time + min_lockup_time_seconds: + type: string + format: int64 + epoch_id: + type: string + format: uint64 + pagination: + type: object + properties: + next_key: + type: string + format: byte + title: |- + next_key is the key to be passed to PageRequest.key to + query the next page most efficiently + total: + type: string + format: uint64 + title: >- + total is total number of results available if PageRequest.count_total + + was set, its value is undefined otherwise + description: |- + PageResponse is to be embedded in gRPC response messages where the + corresponding request message has used PageRequest. + + message SomeResponse { + repeated Bar results = 1; + PageResponse page = 2; + } + comdex.rewards.v1beta1.QueryGaugeByDurationResponse: + type: object + properties: + gauges: + type: array + items: + type: object + properties: + id: + type: string + format: uint64 + from: + type: string + created_at: + type: string + format: date-time + start_time: + type: string + format: date-time + gauge_type_id: + type: string + format: uint64 + trigger_duration: + type: string + deposit_amount: + type: object + properties: + denom: + type: string + amount: + type: string + description: >- + Coin defines a token with a denomination and an amount. + + + NOTE: The amount field is an Int which implements the custom method + + signatures required by gogoproto. + total_triggers: + type: string + format: uint64 + triggered_count: + type: string + format: uint64 + distributed_amount: + type: object + properties: + denom: + type: string + amount: + type: string + description: >- + Coin defines a token with a denomination and an amount. + + + NOTE: The amount field is an Int which implements the custom method + + signatures required by gogoproto. + is_active: + type: boolean + for_swap_fee: + type: boolean + liquidity_meta_data: + type: object + properties: + pool_id: + type: string + format: uint64 + is_master_pool: + type: boolean + child_pool_ids: + type: array + items: + type: string + format: uint64 + app_id: + type: string + format: uint64 + comdex.rewards.v1beta1.QueryGaugeByIdResponse: + type: object + properties: + gauge: + type: object + properties: + id: + type: string + format: uint64 + from: + type: string + created_at: + type: string + format: date-time + start_time: + type: string + format: date-time + gauge_type_id: + type: string + format: uint64 + trigger_duration: + type: string + deposit_amount: + type: object + properties: + denom: + type: string + amount: + type: string + description: >- + Coin defines a token with a denomination and an amount. + + + NOTE: The amount field is an Int which implements the custom method + + signatures required by gogoproto. + total_triggers: + type: string + format: uint64 + triggered_count: + type: string + format: uint64 + distributed_amount: + type: object + properties: + denom: + type: string + amount: + type: string + description: >- + Coin defines a token with a denomination and an amount. + + + NOTE: The amount field is an Int which implements the custom method + + signatures required by gogoproto. + is_active: + type: boolean + for_swap_fee: + type: boolean + liquidity_meta_data: + type: object + properties: + pool_id: + type: string + format: uint64 + is_master_pool: + type: boolean + child_pool_ids: + type: array + items: + type: string + format: uint64 + app_id: + type: string + format: uint64 + comdex.rewards.v1beta1.QueryParamsResponse: + type: object + properties: + params: + type: object + description: Params defines the parameters for the module. + comdex.rewards.v1beta1.QueryRewardResponse: + type: object + properties: + reward: + type: array + items: + type: object + properties: + app_mapping_id: + type: string + format: uint64 + asset_id: + type: string + format: uint64 + comdex.rewards.v1beta1.QueryRewardsResponse: + type: object + properties: + rewards: + type: array + items: + type: object + properties: + app_mapping_id: + type: string + format: uint64 + asset_id: + type: string + format: uint64 + pagination: + type: object + properties: + next_key: + type: string + format: byte + title: |- + next_key is the key to be passed to PageRequest.key to + query the next page most efficiently + total: + type: string + format: uint64 + title: >- + total is total number of results available if PageRequest.count_total + + was set, its value is undefined otherwise + description: |- + PageResponse is to be embedded in gRPC response messages where the + corresponding request message has used PageRequest. + + message SomeResponse { + repeated Bar results = 1; + PageResponse page = 2; + } + comdex.rewards.v1beta1.QueryWhitelistedAppIdsVaultResponse: + type: object + properties: + whitelistedAppIdsVault: + type: array + items: + type: string + format: uint64 + pagination: + type: object + properties: + next_key: + type: string + format: byte + title: |- + next_key is the key to be passed to PageRequest.key to + query the next page most efficiently + total: + type: string + format: uint64 + title: >- + total is total number of results available if PageRequest.count_total + + was set, its value is undefined otherwise + description: |- + PageResponse is to be embedded in gRPC response messages where the + corresponding request message has used PageRequest. + + message SomeResponse { + repeated Bar results = 1; + PageResponse page = 2; + } + comdex.rewards.v1beta1.RewardsAssetPoolData: + type: object + properties: + c_pool_id: + type: string + format: uint64 + asset_id: + type: array + items: + type: string + format: uint64 + c_swap_app_id: + type: string + format: uint64 + c_swap_min_lock_amount: + type: string + format: uint64 + comdex.rewards.v1beta1.StableVaultExternalRewards: + type: object + properties: + id: + type: string + format: uint64 + app_id: + type: string + format: uint64 + cswap_app_id: + type: string + format: uint64 + commodo_app_id: + type: string + format: uint64 + total_rewards: + type: object + properties: + denom: + type: string + amount: + type: string + description: |- + Coin defines a token with a denomination and an amount. + + NOTE: The amount field is an Int which implements the custom method + signatures required by gogoproto. + duration_days: + type: string + format: int64 + is_active: + type: boolean + available_rewards: + type: object + properties: + denom: + type: string + amount: + type: string + description: |- + Coin defines a token with a denomination and an amount. + + NOTE: The amount field is an Int which implements the custom method + signatures required by gogoproto. + depositor: + type: string + start_timestamp: + type: string + format: date-time + end_timestamp: + type: string + format: date-time + accepted_block_height: + type: string + format: int64 + epoch_id: + type: string + format: uint64 + comdex.rewards.v1beta1.VaultExternalRewards: + type: object + properties: + id: + type: string + format: uint64 + app_mapping_id: + type: string + format: uint64 + extended_pair_id: + type: string + format: uint64 + total_rewards: + type: object + properties: + denom: + type: string + amount: + type: string + description: |- + Coin defines a token with a denomination and an amount. + + NOTE: The amount field is an Int which implements the custom method + signatures required by gogoproto. + duration_days: + type: string + format: int64 + is_active: + type: boolean + available_rewards: + type: object + properties: + denom: + type: string + amount: + type: string + description: |- + Coin defines a token with a denomination and an amount. + + NOTE: The amount field is an Int which implements the custom method + signatures required by gogoproto. + depositor: + type: string + start_timestamp: + type: string + format: date-time + end_timestamp: + type: string + format: date-time + min_lockup_time_seconds: + type: string + format: int64 + epoch_id: + type: string + format: uint64 + comdex.tokenmint.v1beta1.MintedTokens: + type: object + properties: + asset_id: + type: string + format: uint64 + genesis_supply: + type: string + created_at: + type: string + format: date-time + current_supply: + type: string + comdex.tokenmint.v1beta1.QueryAllTokenMintedForAllAppsResponse: + type: object + properties: + tokenMint: + type: array + items: + type: object + properties: + app_id: + type: string + format: uint64 + minted_tokens: + type: array + items: + type: object + properties: + asset_id: + type: string + format: uint64 + genesis_supply: + type: string + created_at: + type: string + format: date-time + current_supply: + type: string + description: app_vault_type_id will be the key for the KVStore for this value. + pagination: + type: object + properties: + next_key: + type: string + format: byte + title: |- + next_key is the key to be passed to PageRequest.key to + query the next page most efficiently + total: + type: string + format: uint64 + title: >- + total is total number of results available if PageRequest.count_total + + was set, its value is undefined otherwise + description: |- + PageResponse is to be embedded in gRPC response messages where the + corresponding request message has used PageRequest. + + message SomeResponse { + repeated Bar results = 1; + PageResponse page = 2; + } + comdex.tokenmint.v1beta1.QueryTokenMintedByAppAndAssetResponse: + type: object + properties: + mintedTokens: + type: object + properties: + asset_id: + type: string + format: uint64 + genesis_supply: + type: string + created_at: + type: string + format: date-time + current_supply: + type: string + pagination: + type: object + properties: + next_key: + type: string + format: byte + title: |- + next_key is the key to be passed to PageRequest.key to + query the next page most efficiently + total: + type: string + format: uint64 + title: >- + total is total number of results available if PageRequest.count_total + + was set, its value is undefined otherwise + description: |- + PageResponse is to be embedded in gRPC response messages where the + corresponding request message has used PageRequest. + + message SomeResponse { + repeated Bar results = 1; + PageResponse page = 2; + } + comdex.tokenmint.v1beta1.QueryTokenMintedByAppResponse: + type: object + properties: + tokenMint: + type: object + properties: + app_id: + type: string + format: uint64 + minted_tokens: + type: array + items: + type: object + properties: + asset_id: + type: string + format: uint64 + genesis_supply: + type: string + created_at: + type: string + format: date-time + current_supply: + type: string + description: app_vault_type_id will be the key for the KVStore for this value. + pagination: + type: object + properties: + next_key: + type: string + format: byte + title: |- + next_key is the key to be passed to PageRequest.key to + query the next page most efficiently + total: + type: string + format: uint64 + title: >- + total is total number of results available if PageRequest.count_total + + was set, its value is undefined otherwise + description: |- + PageResponse is to be embedded in gRPC response messages where the + corresponding request message has used PageRequest. + + message SomeResponse { + repeated Bar results = 1; + PageResponse page = 2; + } + comdex.tokenmint.v1beta1.TokenMint: + type: object + properties: + app_id: + type: string + format: uint64 + minted_tokens: + type: array + items: + type: object + properties: + asset_id: + type: string + format: uint64 + genesis_supply: + type: string + created_at: + type: string + format: date-time + current_supply: + type: string + description: app_vault_type_id will be the key for the KVStore for this value. + comdex.vault.v1beta1.AppExtendedPairVaultMappingData: + type: object + properties: + app_id: + type: string + format: uint64 + extended_pair_id: + type: string + format: uint64 + vault_ids: + type: array + items: + type: string + format: uint64 + token_minted_amount: + type: string + collateral_locked_amount: + type: string + comdex.vault.v1beta1.MintedDataMap: + type: object + properties: + asset_denom: + type: string + minted_amount: + type: string + comdex.vault.v1beta1.OwnerAppExtendedPairVaultMappingData: + type: object + properties: + owner: + type: string + app_id: + type: string + format: uint64 + extended_pair_id: + type: string + format: uint64 + vault_id: + type: string + format: uint64 + comdex.vault.v1beta1.PairStatisticData: + type: object + properties: + asset_in_denom: + type: string + asset_out_denom: + type: string + collateral_amount: + type: string + minted_amount: + type: string + extended_pair_vault_id: + type: string + format: uint64 + comdex.vault.v1beta1.QueryAllStableMintVaultRewardsResponse: + type: object + properties: + stableMintVaultRewards: + type: array + items: + type: object + properties: + app_id: + type: string + format: uint64 + stable_extended_pair_id: + type: string + format: uint64 + user: + type: string + block_height: + type: string + format: uint64 + amount: + type: string + pagination: + type: object + properties: + next_key: + type: string + format: byte + title: |- + next_key is the key to be passed to PageRequest.key to + query the next page most efficiently + total: + type: string + format: uint64 + title: >- + total is total number of results available if PageRequest.count_total + + was set, its value is undefined otherwise + description: |- + PageResponse is to be embedded in gRPC response messages where the + corresponding request message has used PageRequest. + + message SomeResponse { + repeated Bar results = 1; + PageResponse page = 2; + } + comdex.vault.v1beta1.QueryAllVaultIdsByAnOwnerResponse: + type: object + properties: + vault_ids: + type: array + items: + type: string + format: uint64 + pagination: + type: object + properties: + next_key: + type: string + format: byte + title: |- + next_key is the key to be passed to PageRequest.key to + query the next page most efficiently + total: + type: string + format: uint64 + title: >- + total is total number of results available if PageRequest.count_total + + was set, its value is undefined otherwise + description: |- + PageResponse is to be embedded in gRPC response messages where the + corresponding request message has used PageRequest. + + message SomeResponse { + repeated Bar results = 1; + PageResponse page = 2; + } + comdex.vault.v1beta1.QueryAllVaultsByAppAndExtendedPairResponse: + type: object + properties: + vault: + type: array + items: + type: object + properties: + id: + type: string + format: uint64 + app_id: + type: string + format: uint64 + extended_pair_vault_id: + type: string + format: uint64 + owner: + type: string + amount_in: + type: string + amount_out: + type: string + created_at: + type: string + format: date-time + interest_accumulated: + type: string + closing_fee_accumulated: + type: string + block_height: + type: string + format: int64 + block_time: + type: string + format: date-time + description: app_vault_type_id will be the key for the KVStore for this value. + pagination: + type: object + properties: + next_key: + type: string + format: byte + title: |- + next_key is the key to be passed to PageRequest.key to + query the next page most efficiently + total: + type: string + format: uint64 + title: >- + total is total number of results available if PageRequest.count_total + + was set, its value is undefined otherwise + description: |- + PageResponse is to be embedded in gRPC response messages where the + corresponding request message has used PageRequest. + + message SomeResponse { + repeated Bar results = 1; + PageResponse page = 2; + } + comdex.vault.v1beta1.QueryAllVaultsByAppResponse: + type: object + properties: + vault: + type: array + items: + type: object + properties: + id: + type: string + format: uint64 + app_id: + type: string + format: uint64 + extended_pair_vault_id: + type: string + format: uint64 + owner: + type: string + amount_in: + type: string + amount_out: + type: string + created_at: + type: string + format: date-time + interest_accumulated: + type: string + closing_fee_accumulated: + type: string + block_height: + type: string + format: int64 + block_time: + type: string + format: date-time + description: app_vault_type_id will be the key for the KVStore for this value. + pagination: + type: object + properties: + next_key: + type: string + format: byte + title: |- + next_key is the key to be passed to PageRequest.key to + query the next page most efficiently + total: + type: string + format: uint64 + title: >- + total is total number of results available if PageRequest.count_total + + was set, its value is undefined otherwise + description: |- + PageResponse is to be embedded in gRPC response messages where the + corresponding request message has used PageRequest. + + message SomeResponse { + repeated Bar results = 1; + PageResponse page = 2; + } + comdex.vault.v1beta1.QueryAllVaultsResponse: + type: object + properties: + vault: + type: array + items: + type: object + properties: + id: + type: string + format: uint64 + app_id: + type: string + format: uint64 + extended_pair_vault_id: + type: string + format: uint64 + owner: + type: string + amount_in: + type: string + amount_out: + type: string + created_at: + type: string + format: date-time + interest_accumulated: + type: string + closing_fee_accumulated: + type: string + block_height: + type: string + format: int64 + block_time: + type: string + format: date-time + description: app_vault_type_id will be the key for the KVStore for this value. + pagination: + type: object + properties: + next_key: + type: string + format: byte + title: |- + next_key is the key to be passed to PageRequest.key to + query the next page most efficiently + total: + type: string + format: uint64 + title: >- + total is total number of results available if PageRequest.count_total + + was set, its value is undefined otherwise + description: |- + PageResponse is to be embedded in gRPC response messages where the + corresponding request message has used PageRequest. + + message SomeResponse { + repeated Bar results = 1; + PageResponse page = 2; + } + comdex.vault.v1beta1.QueryExtendedPairIDsByAppResponse: + type: object + properties: + extended_pair_ids: + type: array + items: + type: string + format: uint64 + pagination: + type: object + properties: + next_key: + type: string + format: byte + title: |- + next_key is the key to be passed to PageRequest.key to + query the next page most efficiently + total: + type: string + format: uint64 + title: >- + total is total number of results available if PageRequest.count_total + + was set, its value is undefined otherwise + description: |- + PageResponse is to be embedded in gRPC response messages where the + corresponding request message has used PageRequest. + + message SomeResponse { + repeated Bar results = 1; + PageResponse page = 2; + } + comdex.vault.v1beta1.QueryExtendedPairVaultMappingByAppAndExtendedPairResponse: + type: object + properties: + extendedPairVaultMapping: + type: object + properties: + app_id: + type: string + format: uint64 + extended_pair_id: + type: string + format: uint64 + vault_ids: + type: array + items: + type: string + format: uint64 + token_minted_amount: + type: string + collateral_locked_amount: + type: string + comdex.vault.v1beta1.QueryExtendedPairVaultMappingByAppResponse: + type: object + properties: + extendedPairVaultMapping: + type: array + items: + type: object + properties: + app_id: + type: string + format: uint64 + extended_pair_id: + type: string + format: uint64 + vault_ids: + type: array + items: + type: string + format: uint64 + token_minted_amount: + type: string + collateral_locked_amount: + type: string + pagination: + type: object + properties: + next_key: + type: string + format: byte + title: |- + next_key is the key to be passed to PageRequest.key to + query the next page most efficiently + total: + type: string + format: uint64 + title: >- + total is total number of results available if PageRequest.count_total + + was set, its value is undefined otherwise + description: |- + PageResponse is to be embedded in gRPC response messages where the + corresponding request message has used PageRequest. + + message SomeResponse { + repeated Bar results = 1; + PageResponse page = 2; + } + comdex.vault.v1beta1.QueryPairsLockedAndMintedStatisticByAppResponse: + type: object + properties: + pairStatisticData: + type: array + items: + type: object + properties: + asset_in_denom: + type: string + asset_out_denom: + type: string + collateral_amount: + type: string + minted_amount: + type: string + extended_pair_vault_id: + type: string + format: uint64 + pagination: + type: object + properties: + next_key: + type: string + format: byte + title: |- + next_key is the key to be passed to PageRequest.key to + query the next page most efficiently + total: + type: string + format: uint64 + title: >- + total is total number of results available if PageRequest.count_total + + was set, its value is undefined otherwise + description: |- + PageResponse is to be embedded in gRPC response messages where the + corresponding request message has used PageRequest. + + message SomeResponse { + repeated Bar results = 1; + PageResponse page = 2; + } + comdex.vault.v1beta1.QueryStableVaultByAppAndExtendedPairResponse: + type: object + properties: + stable_mint_vault: + type: object + properties: + id: + type: string + format: uint64 + amount_in: + type: string + amount_out: + type: string + app_id: + type: string + format: uint64 + extended_pair_vault_id: + type: string + format: uint64 + created_at: + type: string + format: date-time + comdex.vault.v1beta1.QueryStableVaultByAppResponse: + type: object + properties: + stable_mint_vault: + type: array + items: + type: object + properties: + id: + type: string + format: uint64 + amount_in: + type: string + amount_out: + type: string + app_id: + type: string + format: uint64 + extended_pair_vault_id: + type: string + format: uint64 + created_at: + type: string + format: date-time + pagination: + type: object + properties: + next_key: + type: string + format: byte + title: |- + next_key is the key to be passed to PageRequest.key to + query the next page most efficiently + total: + type: string + format: uint64 + title: >- + total is total number of results available if PageRequest.count_total + + was set, its value is undefined otherwise + description: |- + PageResponse is to be embedded in gRPC response messages where the + corresponding request message has used PageRequest. + + message SomeResponse { + repeated Bar results = 1; + PageResponse page = 2; + } + comdex.vault.v1beta1.QueryStableVaultByVaultIDResponse: + type: object + properties: + stable_mint_vault: + type: object + properties: + id: + type: string + format: uint64 + amount_in: + type: string + amount_out: + type: string + app_id: + type: string + format: uint64 + extended_pair_vault_id: + type: string + format: uint64 + created_at: + type: string + format: date-time + comdex.vault.v1beta1.QueryTVLByAppOfAllExtendedPairsResponse: + type: object + properties: + tvldata: + type: array + items: + type: object + properties: + asset_denom: + type: string + collateral_locked_amount: + type: string + pagination: + type: object + properties: + next_key: + type: string + format: byte + title: |- + next_key is the key to be passed to PageRequest.key to + query the next page most efficiently + total: + type: string + format: uint64 + title: >- + total is total number of results available if PageRequest.count_total + + was set, its value is undefined otherwise + description: |- + PageResponse is to be embedded in gRPC response messages where the + corresponding request message has used PageRequest. + + message SomeResponse { + repeated Bar results = 1; + PageResponse page = 2; + } + comdex.vault.v1beta1.QueryTVLByAppResponse: + type: object + properties: + collateral_locked: + type: string + comdex.vault.v1beta1.QueryTokenMintedAssetWiseByAppResponse: + type: object + properties: + minted_data: + type: array + items: + type: object + properties: + asset_denom: + type: string + minted_amount: + type: string + pagination: + type: object + properties: + next_key: + type: string + format: byte + title: |- + next_key is the key to be passed to PageRequest.key to + query the next page most efficiently + total: + type: string + format: uint64 + title: >- + total is total number of results available if PageRequest.count_total + + was set, its value is undefined otherwise + description: |- + PageResponse is to be embedded in gRPC response messages where the + corresponding request message has used PageRequest. + + message SomeResponse { + repeated Bar results = 1; + PageResponse page = 2; + } + comdex.vault.v1beta1.QueryTokenMintedByAppAndExtendedPairResponse: + type: object + properties: + token_minted: + type: string + comdex.vault.v1beta1.QueryTotalValueLockedByAppAndExtendedPairResponse: + type: object + properties: + value_locked: + type: string + comdex.vault.v1beta1.QueryUserExtendedPairTotalDataResponse: + type: object + properties: + userTotalData: + type: array + items: + type: object + properties: + owner: + type: string + app_id: + type: string + format: uint64 + extended_pair_id: + type: string + format: uint64 + vault_id: + type: string + format: uint64 + comdex.vault.v1beta1.QueryUserMyPositionByAppResponse: + type: object + properties: + collateral_locked: + type: string + total_due: + type: string + available_to_borrow: + type: string + average_cr_ratio: + type: string + comdex.vault.v1beta1.QueryVaultCountByAppAndExtendedPairResponse: + type: object + properties: + vault_count: + type: string + format: uint64 + comdex.vault.v1beta1.QueryVaultCountByAppResponse: + type: object + properties: + vault_count: + type: string + format: uint64 + comdex.vault.v1beta1.QueryVaultIDOfOwnerByExtendedPairAndAppResponse: + type: object + properties: + vault_Id: + type: string + format: uint64 + comdex.vault.v1beta1.QueryVaultIdsByAppInAllExtendedPairsResponse: + type: object + properties: + vault_ids: + type: array + items: + type: string + format: uint64 + pagination: + type: object + properties: + next_key: + type: string + format: byte + title: |- + next_key is the key to be passed to PageRequest.key to + query the next page most efficiently + total: + type: string + format: uint64 + title: >- + total is total number of results available if PageRequest.count_total + + was set, its value is undefined otherwise + description: |- + PageResponse is to be embedded in gRPC response messages where the + corresponding request message has used PageRequest. + + message SomeResponse { + repeated Bar results = 1; + PageResponse page = 2; + } + comdex.vault.v1beta1.QueryVaultInfoByVaultIDResponse: + type: object + properties: + vaultsInfo: + type: object + properties: + id: + type: string + format: uint64 + extended_pair_id: + type: string + format: uint64 + owner: + type: string + collateral: + type: string + debt: + type: string + collateralization_ratio: + type: string + extended_pair_name: + type: string + interest_rate: + type: string + asset_in_denom: + type: string + asset_out_denom: + type: string + min_cr: + type: string + comdex.vault.v1beta1.QueryVaultInfoOfOwnerByAppResponse: + type: object + properties: + vaultsInfo: + type: array + items: + type: object + properties: + id: + type: string + format: uint64 + extended_pair_id: + type: string + format: uint64 + owner: + type: string + collateral: + type: string + debt: + type: string + collateralization_ratio: + type: string + extended_pair_name: + type: string + interest_rate: + type: string + asset_in_denom: + type: string + asset_out_denom: + type: string + min_cr: + type: string + pagination: + type: object + properties: + next_key: + type: string + format: byte + title: |- + next_key is the key to be passed to PageRequest.key to + query the next page most efficiently + total: + type: string + format: uint64 + title: >- + total is total number of results available if PageRequest.count_total + + was set, its value is undefined otherwise + description: |- + PageResponse is to be embedded in gRPC response messages where the + corresponding request message has used PageRequest. + + message SomeResponse { + repeated Bar results = 1; + PageResponse page = 2; + } + comdex.vault.v1beta1.QueryVaultResponse: + type: object + properties: + vault: + type: object + properties: + id: + type: string + format: uint64 + app_id: + type: string + format: uint64 + extended_pair_vault_id: + type: string + format: uint64 + owner: + type: string + amount_in: + type: string + amount_out: + type: string + created_at: + type: string + format: date-time + interest_accumulated: + type: string + closing_fee_accumulated: + type: string + block_height: + type: string + format: int64 + block_time: + type: string + format: date-time + description: app_vault_type_id will be the key for the KVStore for this value. + comdex.vault.v1beta1.StableMintVault: + type: object + properties: + id: + type: string + format: uint64 + amount_in: + type: string + amount_out: + type: string + app_id: + type: string + format: uint64 + extended_pair_vault_id: + type: string + format: uint64 + created_at: + type: string + format: date-time + comdex.vault.v1beta1.StableMintVaultRewards: + type: object + properties: + app_id: + type: string + format: uint64 + stable_extended_pair_id: + type: string + format: uint64 + user: + type: string + block_height: + type: string + format: uint64 + amount: + type: string + comdex.vault.v1beta1.TvlLockedDataMap: + type: object + properties: + asset_denom: + type: string + collateral_locked_amount: + type: string + comdex.vault.v1beta1.Vault: + type: object + properties: + id: + type: string + format: uint64 + app_id: + type: string + format: uint64 + extended_pair_vault_id: + type: string + format: uint64 + owner: + type: string + amount_in: + type: string + amount_out: + type: string + created_at: + type: string + format: date-time + interest_accumulated: + type: string + closing_fee_accumulated: + type: string + block_height: + type: string + format: int64 + block_time: + type: string + format: date-time + description: app_vault_type_id will be the key for the KVStore for this value. + comdex.vault.v1beta1.VaultInfo: + type: object + properties: + id: + type: string + format: uint64 + extended_pair_id: + type: string + format: uint64 + owner: + type: string + collateral: + type: string + debt: + type: string + collateralization_ratio: + type: string + extended_pair_name: + type: string + interest_rate: + type: string + asset_in_denom: + type: string + asset_out_denom: + type: string + min_cr: + type: string + cosmos.auth.v1beta1.Params: + type: object + properties: + max_memo_characters: + type: string + format: uint64 + tx_sig_limit: + type: string + format: uint64 + tx_size_cost_per_byte: + type: string + format: uint64 + sig_verify_cost_ed25519: + type: string + format: uint64 + sig_verify_cost_secp256k1: + type: string + format: uint64 + description: Params defines the parameters for the auth module. + cosmos.auth.v1beta1.QueryAccountResponse: + type: object + properties: + account: + type: object + properties: + type_url: + type: string + description: >- + A URL/resource name that uniquely identifies the type of the serialized + + protocol buffer message. This string must contain at least + + one "/" character. The last segment of the URL's path must represent + + the fully qualified name of the type (as in + + `path/google.protobuf.Duration`). The name should be in a canonical form + + (e.g., leading "." is not accepted). + + + In practice, teams usually precompile into the binary all types that they + + expect it to use in the context of Any. However, for URLs which use the + + scheme `http`, `https`, or no scheme, one can optionally set up a type + + server that maps type URLs to message definitions as follows: + + + * If no scheme is provided, `https` is assumed. + + * An HTTP GET on the URL must yield a [google.protobuf.Type][] + + value in binary format, or produce an error. + * Applications are allowed to cache lookup results based on the + + URL, or have them precompiled into a binary to avoid any + lookup. Therefore, binary compatibility needs to be preserved + on changes to types. (Use versioned type names to manage + breaking changes.) + + Note: this functionality is not currently available in the official + + protobuf release, and it is not used for type URLs beginning with + + type.googleapis.com. + + + Schemes other than `http`, `https` (or the empty scheme) might be + + used with implementation specific semantics. + value: + type: string + format: byte + description: Must be a valid serialized protocol buffer of the above specified type. + description: >- + `Any` contains an arbitrary serialized protocol buffer message along with a + + URL that describes the type of the serialized message. + + + Protobuf library provides support to pack/unpack Any values in the form + + of utility functions or additional generated methods of the Any type. + + + Example 1: Pack and unpack a message in C++. + + + Foo foo = ...; + Any any; + any.PackFrom(foo); + ... + if (any.UnpackTo(&foo)) { + ... + } + + Example 2: Pack and unpack a message in Java. + + + Foo foo = ...; + Any any = Any.pack(foo); + ... + if (any.is(Foo.class)) { + foo = any.unpack(Foo.class); + } + + Example 3: Pack and unpack a message in Python. + + foo = Foo(...) + any = Any() + any.Pack(foo) + ... + if any.Is(Foo.DESCRIPTOR): + any.Unpack(foo) + ... + + Example 4: Pack and unpack a message in Go + + foo := &pb.Foo{...} + any, err := ptypes.MarshalAny(foo) + ... + foo := &pb.Foo{} + if err := ptypes.UnmarshalAny(any, foo); err != nil { + ... + } + + The pack methods provided by protobuf library will by default use + + 'type.googleapis.com/full.type.name' as the type URL and the unpack + + methods only use the fully qualified type name after the last '/' + + in the type URL, for example "foo.bar.com/x/y.z" will yield type + + name "y.z". + + + + JSON + + ==== + + The JSON representation of an `Any` value uses the regular + + representation of the deserialized, embedded message, with an + + additional field `@type` which contains the type URL. Example: + + + package google.profile; + message Person { + string first_name = 1; + string last_name = 2; + } + + { + "@type": "type.googleapis.com/google.profile.Person", + "firstName": , + "lastName": + } + + If the embedded message type is well-known and has a custom JSON + + representation, that representation will be embedded adding a field + + `value` which holds the custom JSON in addition to the `@type` + + field. Example (for message [google.protobuf.Duration][]): + + + { + "@type": "type.googleapis.com/google.protobuf.Duration", + "value": "1.212s" + } + description: QueryAccountResponse is the response type for the Query/Account RPC method. + cosmos.auth.v1beta1.QueryAccountsResponse: + type: object + properties: + accounts: + type: array + items: + type: object + properties: + type_url: + type: string + description: >- + A URL/resource name that uniquely identifies the type of the serialized + + protocol buffer message. This string must contain at least + + one "/" character. The last segment of the URL's path must represent + + the fully qualified name of the type (as in + + `path/google.protobuf.Duration`). The name should be in a canonical form + + (e.g., leading "." is not accepted). + + + In practice, teams usually precompile into the binary all types that they + + expect it to use in the context of Any. However, for URLs which use the + + scheme `http`, `https`, or no scheme, one can optionally set up a type + + server that maps type URLs to message definitions as follows: + + + * If no scheme is provided, `https` is assumed. + + * An HTTP GET on the URL must yield a [google.protobuf.Type][] + + value in binary format, or produce an error. + * Applications are allowed to cache lookup results based on the + + URL, or have them precompiled into a binary to avoid any + lookup. Therefore, binary compatibility needs to be preserved + on changes to types. (Use versioned type names to manage + breaking changes.) + + Note: this functionality is not currently available in the official + + protobuf release, and it is not used for type URLs beginning with + + type.googleapis.com. + + + Schemes other than `http`, `https` (or the empty scheme) might be + + used with implementation specific semantics. + value: + type: string + format: byte + description: Must be a valid serialized protocol buffer of the above specified type. + description: >- + `Any` contains an arbitrary serialized protocol buffer message along with a + + URL that describes the type of the serialized message. + + + Protobuf library provides support to pack/unpack Any values in the form + + of utility functions or additional generated methods of the Any type. + + + Example 1: Pack and unpack a message in C++. + + + Foo foo = ...; + Any any; + any.PackFrom(foo); + ... + if (any.UnpackTo(&foo)) { + ... + } + + Example 2: Pack and unpack a message in Java. + + + Foo foo = ...; + Any any = Any.pack(foo); + ... + if (any.is(Foo.class)) { + foo = any.unpack(Foo.class); + } + + Example 3: Pack and unpack a message in Python. + + foo = Foo(...) + any = Any() + any.Pack(foo) + ... + if any.Is(Foo.DESCRIPTOR): + any.Unpack(foo) + ... + + Example 4: Pack and unpack a message in Go + + foo := &pb.Foo{...} + any, err := ptypes.MarshalAny(foo) + ... + foo := &pb.Foo{} + if err := ptypes.UnmarshalAny(any, foo); err != nil { + ... + } + + The pack methods provided by protobuf library will by default use + + 'type.googleapis.com/full.type.name' as the type URL and the unpack + + methods only use the fully qualified type name after the last '/' + + in the type URL, for example "foo.bar.com/x/y.z" will yield type + + name "y.z". + + + + JSON + + ==== + + The JSON representation of an `Any` value uses the regular + + representation of the deserialized, embedded message, with an + + additional field `@type` which contains the type URL. Example: + + + package google.profile; + message Person { + string first_name = 1; + string last_name = 2; + } + + { + "@type": "type.googleapis.com/google.profile.Person", + "firstName": , + "lastName": + } + + If the embedded message type is well-known and has a custom JSON + + representation, that representation will be embedded adding a field + + `value` which holds the custom JSON in addition to the `@type` + + field. Example (for message [google.protobuf.Duration][]): + + + { + "@type": "type.googleapis.com/google.protobuf.Duration", + "value": "1.212s" + } + title: accounts are the existing accounts + pagination: + description: pagination defines the pagination in the response. + type: object + properties: + next_key: + type: string + format: byte + title: |- + next_key is the key to be passed to PageRequest.key to + query the next page most efficiently + total: + type: string + format: uint64 + title: >- + total is total number of results available if PageRequest.count_total + + was set, its value is undefined otherwise + description: >- + QueryAccountsResponse is the response type for the Query/Accounts RPC method. + + + Since: cosmos-sdk 0.43 + cosmos.auth.v1beta1.QueryParamsResponse: + type: object + properties: + params: + description: params defines the parameters of the module. + type: object + properties: + max_memo_characters: + type: string + format: uint64 + tx_sig_limit: + type: string + format: uint64 + tx_size_cost_per_byte: + type: string + format: uint64 + sig_verify_cost_ed25519: + type: string + format: uint64 + sig_verify_cost_secp256k1: + type: string + format: uint64 + description: QueryParamsResponse is the response type for the Query/Params RPC method. + cosmos.authz.v1beta1.Grant: + type: object + properties: + authorization: + type: object + properties: + type_url: + type: string + description: >- + A URL/resource name that uniquely identifies the type of the serialized + + protocol buffer message. This string must contain at least + + one "/" character. The last segment of the URL's path must represent + + the fully qualified name of the type (as in + + `path/google.protobuf.Duration`). The name should be in a canonical form + + (e.g., leading "." is not accepted). + + + In practice, teams usually precompile into the binary all types that they + + expect it to use in the context of Any. However, for URLs which use the + + scheme `http`, `https`, or no scheme, one can optionally set up a type + + server that maps type URLs to message definitions as follows: + + + * If no scheme is provided, `https` is assumed. + + * An HTTP GET on the URL must yield a [google.protobuf.Type][] + + value in binary format, or produce an error. + * Applications are allowed to cache lookup results based on the + + URL, or have them precompiled into a binary to avoid any + lookup. Therefore, binary compatibility needs to be preserved + on changes to types. (Use versioned type names to manage + breaking changes.) + + Note: this functionality is not currently available in the official + + protobuf release, and it is not used for type URLs beginning with + + type.googleapis.com. + + + Schemes other than `http`, `https` (or the empty scheme) might be + + used with implementation specific semantics. + value: + type: string + format: byte + description: Must be a valid serialized protocol buffer of the above specified type. + description: >- + `Any` contains an arbitrary serialized protocol buffer message along with a + + URL that describes the type of the serialized message. + + + Protobuf library provides support to pack/unpack Any values in the form + + of utility functions or additional generated methods of the Any type. + + + Example 1: Pack and unpack a message in C++. + + + Foo foo = ...; + Any any; + any.PackFrom(foo); + ... + if (any.UnpackTo(&foo)) { + ... + } + + Example 2: Pack and unpack a message in Java. + + + Foo foo = ...; + Any any = Any.pack(foo); + ... + if (any.is(Foo.class)) { + foo = any.unpack(Foo.class); + } + + Example 3: Pack and unpack a message in Python. + + foo = Foo(...) + any = Any() + any.Pack(foo) + ... + if any.Is(Foo.DESCRIPTOR): + any.Unpack(foo) + ... + + Example 4: Pack and unpack a message in Go + + foo := &pb.Foo{...} + any, err := ptypes.MarshalAny(foo) + ... + foo := &pb.Foo{} + if err := ptypes.UnmarshalAny(any, foo); err != nil { + ... + } + + The pack methods provided by protobuf library will by default use + + 'type.googleapis.com/full.type.name' as the type URL and the unpack + + methods only use the fully qualified type name after the last '/' + + in the type URL, for example "foo.bar.com/x/y.z" will yield type + + name "y.z". + + + + JSON + + ==== + + The JSON representation of an `Any` value uses the regular + + representation of the deserialized, embedded message, with an + + additional field `@type` which contains the type URL. Example: + + + package google.profile; + message Person { + string first_name = 1; + string last_name = 2; + } + + { + "@type": "type.googleapis.com/google.profile.Person", + "firstName": , + "lastName": + } + + If the embedded message type is well-known and has a custom JSON + + representation, that representation will be embedded adding a field + + `value` which holds the custom JSON in addition to the `@type` + + field. Example (for message [google.protobuf.Duration][]): + + + { + "@type": "type.googleapis.com/google.protobuf.Duration", + "value": "1.212s" + } + expiration: + type: string + format: date-time + description: |- + Grant gives permissions to execute + the provide method with expiration time. + cosmos.authz.v1beta1.GrantAuthorization: + type: object + properties: + granter: + type: string + grantee: + type: string + authorization: + type: object + properties: + type_url: + type: string + description: >- + A URL/resource name that uniquely identifies the type of the serialized + + protocol buffer message. This string must contain at least + + one "/" character. The last segment of the URL's path must represent + + the fully qualified name of the type (as in + + `path/google.protobuf.Duration`). The name should be in a canonical form + + (e.g., leading "." is not accepted). + + + In practice, teams usually precompile into the binary all types that they + + expect it to use in the context of Any. However, for URLs which use the + + scheme `http`, `https`, or no scheme, one can optionally set up a type + + server that maps type URLs to message definitions as follows: + + + * If no scheme is provided, `https` is assumed. + + * An HTTP GET on the URL must yield a [google.protobuf.Type][] + + value in binary format, or produce an error. + * Applications are allowed to cache lookup results based on the + + URL, or have them precompiled into a binary to avoid any + lookup. Therefore, binary compatibility needs to be preserved + on changes to types. (Use versioned type names to manage + breaking changes.) + + Note: this functionality is not currently available in the official + + protobuf release, and it is not used for type URLs beginning with + + type.googleapis.com. + + + Schemes other than `http`, `https` (or the empty scheme) might be + + used with implementation specific semantics. + value: + type: string + format: byte + description: Must be a valid serialized protocol buffer of the above specified type. + description: >- + `Any` contains an arbitrary serialized protocol buffer message along with a + + URL that describes the type of the serialized message. + + + Protobuf library provides support to pack/unpack Any values in the form + + of utility functions or additional generated methods of the Any type. + + + Example 1: Pack and unpack a message in C++. + + + Foo foo = ...; + Any any; + any.PackFrom(foo); + ... + if (any.UnpackTo(&foo)) { + ... + } + + Example 2: Pack and unpack a message in Java. + + + Foo foo = ...; + Any any = Any.pack(foo); + ... + if (any.is(Foo.class)) { + foo = any.unpack(Foo.class); + } + + Example 3: Pack and unpack a message in Python. + + foo = Foo(...) + any = Any() + any.Pack(foo) + ... + if any.Is(Foo.DESCRIPTOR): + any.Unpack(foo) + ... + + Example 4: Pack and unpack a message in Go + + foo := &pb.Foo{...} + any, err := ptypes.MarshalAny(foo) + ... + foo := &pb.Foo{} + if err := ptypes.UnmarshalAny(any, foo); err != nil { + ... + } + + The pack methods provided by protobuf library will by default use + + 'type.googleapis.com/full.type.name' as the type URL and the unpack + + methods only use the fully qualified type name after the last '/' + + in the type URL, for example "foo.bar.com/x/y.z" will yield type + + name "y.z". + + + + JSON + + ==== + + The JSON representation of an `Any` value uses the regular + + representation of the deserialized, embedded message, with an + + additional field `@type` which contains the type URL. Example: + + + package google.profile; + message Person { + string first_name = 1; + string last_name = 2; + } + + { + "@type": "type.googleapis.com/google.profile.Person", + "firstName": , + "lastName": + } + + If the embedded message type is well-known and has a custom JSON + + representation, that representation will be embedded adding a field + + `value` which holds the custom JSON in addition to the `@type` + + field. Example (for message [google.protobuf.Duration][]): + + + { + "@type": "type.googleapis.com/google.protobuf.Duration", + "value": "1.212s" + } + expiration: + type: string + format: date-time + description: "Since: cosmos-sdk 0.45.2" + title: >- + GrantAuthorization extends a grant with both the addresses of the grantee and granter. + + It is used in genesis.proto and query.proto + cosmos.authz.v1beta1.QueryGranteeGrantsResponse: + type: object + properties: + grants: + type: array + items: + type: object + properties: + granter: + type: string + grantee: + type: string + authorization: + type: object + properties: + type_url: + type: string + description: >- + A URL/resource name that uniquely identifies the type of the serialized + + protocol buffer message. This string must contain at least + + one "/" character. The last segment of the URL's path must represent + + the fully qualified name of the type (as in + + `path/google.protobuf.Duration`). The name should be in a canonical form + + (e.g., leading "." is not accepted). + + + In practice, teams usually precompile into the binary all types that they + + expect it to use in the context of Any. However, for URLs which use the + + scheme `http`, `https`, or no scheme, one can optionally set up a type + + server that maps type URLs to message definitions as follows: + + + * If no scheme is provided, `https` is assumed. + + * An HTTP GET on the URL must yield a [google.protobuf.Type][] + + value in binary format, or produce an error. + * Applications are allowed to cache lookup results based on the + + URL, or have them precompiled into a binary to avoid any + lookup. Therefore, binary compatibility needs to be preserved + on changes to types. (Use versioned type names to manage + breaking changes.) + + Note: this functionality is not currently available in the official + + protobuf release, and it is not used for type URLs beginning with + + type.googleapis.com. + + + Schemes other than `http`, `https` (or the empty scheme) might be + + used with implementation specific semantics. + value: + type: string + format: byte + description: Must be a valid serialized protocol buffer of the above specified type. + description: >- + `Any` contains an arbitrary serialized protocol buffer message along with a + + URL that describes the type of the serialized message. + + + Protobuf library provides support to pack/unpack Any values in the form + + of utility functions or additional generated methods of the Any type. + + + Example 1: Pack and unpack a message in C++. + + + Foo foo = ...; + Any any; + any.PackFrom(foo); + ... + if (any.UnpackTo(&foo)) { + ... + } + + Example 2: Pack and unpack a message in Java. + + + Foo foo = ...; + Any any = Any.pack(foo); + ... + if (any.is(Foo.class)) { + foo = any.unpack(Foo.class); + } + + Example 3: Pack and unpack a message in Python. + + foo = Foo(...) + any = Any() + any.Pack(foo) + ... + if any.Is(Foo.DESCRIPTOR): + any.Unpack(foo) + ... + + Example 4: Pack and unpack a message in Go + + foo := &pb.Foo{...} + any, err := ptypes.MarshalAny(foo) + ... + foo := &pb.Foo{} + if err := ptypes.UnmarshalAny(any, foo); err != nil { + ... + } + + The pack methods provided by protobuf library will by default use + + 'type.googleapis.com/full.type.name' as the type URL and the unpack + + methods only use the fully qualified type name after the last '/' + + in the type URL, for example "foo.bar.com/x/y.z" will yield type + + name "y.z". + + + + JSON + + ==== + + The JSON representation of an `Any` value uses the regular + + representation of the deserialized, embedded message, with an + + additional field `@type` which contains the type URL. Example: + + + package google.profile; + message Person { + string first_name = 1; + string last_name = 2; + } + + { + "@type": "type.googleapis.com/google.profile.Person", + "firstName": , + "lastName": + } + + If the embedded message type is well-known and has a custom JSON + + representation, that representation will be embedded adding a field + + `value` which holds the custom JSON in addition to the `@type` + + field. Example (for message [google.protobuf.Duration][]): + + + { + "@type": "type.googleapis.com/google.protobuf.Duration", + "value": "1.212s" + } + expiration: + type: string + format: date-time + description: "Since: cosmos-sdk 0.45.2" + title: >- + GrantAuthorization extends a grant with both the addresses of the grantee and granter. + + It is used in genesis.proto and query.proto + description: grants is a list of grants granted to the grantee. + pagination: + description: pagination defines an pagination for the response. + type: object + properties: + next_key: + type: string + format: byte + title: |- + next_key is the key to be passed to PageRequest.key to + query the next page most efficiently + total: + type: string + format: uint64 + title: >- + total is total number of results available if PageRequest.count_total + + was set, its value is undefined otherwise + description: QueryGranteeGrantsResponse is the response type for the Query/GranteeGrants RPC method. + cosmos.authz.v1beta1.QueryGranterGrantsResponse: + type: object + properties: + grants: + type: array + items: + type: object + properties: + granter: + type: string + grantee: + type: string + authorization: + type: object + properties: + type_url: + type: string + description: >- + A URL/resource name that uniquely identifies the type of the serialized + + protocol buffer message. This string must contain at least + + one "/" character. The last segment of the URL's path must represent + + the fully qualified name of the type (as in + + `path/google.protobuf.Duration`). The name should be in a canonical form + + (e.g., leading "." is not accepted). + + + In practice, teams usually precompile into the binary all types that they + + expect it to use in the context of Any. However, for URLs which use the + + scheme `http`, `https`, or no scheme, one can optionally set up a type + + server that maps type URLs to message definitions as follows: + + + * If no scheme is provided, `https` is assumed. + + * An HTTP GET on the URL must yield a [google.protobuf.Type][] + + value in binary format, or produce an error. + * Applications are allowed to cache lookup results based on the + + URL, or have them precompiled into a binary to avoid any + lookup. Therefore, binary compatibility needs to be preserved + on changes to types. (Use versioned type names to manage + breaking changes.) + + Note: this functionality is not currently available in the official + + protobuf release, and it is not used for type URLs beginning with + + type.googleapis.com. + + + Schemes other than `http`, `https` (or the empty scheme) might be + + used with implementation specific semantics. + value: + type: string + format: byte + description: Must be a valid serialized protocol buffer of the above specified type. + description: >- + `Any` contains an arbitrary serialized protocol buffer message along with a + + URL that describes the type of the serialized message. + + + Protobuf library provides support to pack/unpack Any values in the form + + of utility functions or additional generated methods of the Any type. + + + Example 1: Pack and unpack a message in C++. + + + Foo foo = ...; + Any any; + any.PackFrom(foo); + ... + if (any.UnpackTo(&foo)) { + ... + } + + Example 2: Pack and unpack a message in Java. + + + Foo foo = ...; + Any any = Any.pack(foo); + ... + if (any.is(Foo.class)) { + foo = any.unpack(Foo.class); + } + + Example 3: Pack and unpack a message in Python. + + foo = Foo(...) + any = Any() + any.Pack(foo) + ... + if any.Is(Foo.DESCRIPTOR): + any.Unpack(foo) + ... + + Example 4: Pack and unpack a message in Go + + foo := &pb.Foo{...} + any, err := ptypes.MarshalAny(foo) + ... + foo := &pb.Foo{} + if err := ptypes.UnmarshalAny(any, foo); err != nil { + ... + } + + The pack methods provided by protobuf library will by default use + + 'type.googleapis.com/full.type.name' as the type URL and the unpack + + methods only use the fully qualified type name after the last '/' + + in the type URL, for example "foo.bar.com/x/y.z" will yield type + + name "y.z". + + + + JSON + + ==== + + The JSON representation of an `Any` value uses the regular + + representation of the deserialized, embedded message, with an + + additional field `@type` which contains the type URL. Example: + + + package google.profile; + message Person { + string first_name = 1; + string last_name = 2; + } + + { + "@type": "type.googleapis.com/google.profile.Person", + "firstName": , + "lastName": + } + + If the embedded message type is well-known and has a custom JSON + + representation, that representation will be embedded adding a field + + `value` which holds the custom JSON in addition to the `@type` + + field. Example (for message [google.protobuf.Duration][]): + + + { + "@type": "type.googleapis.com/google.protobuf.Duration", + "value": "1.212s" + } + expiration: + type: string + format: date-time + description: "Since: cosmos-sdk 0.45.2" + title: >- + GrantAuthorization extends a grant with both the addresses of the grantee and granter. + + It is used in genesis.proto and query.proto + description: grants is a list of grants granted by the granter. + pagination: + description: pagination defines an pagination for the response. + type: object + properties: + next_key: + type: string + format: byte + title: |- + next_key is the key to be passed to PageRequest.key to + query the next page most efficiently + total: + type: string + format: uint64 + title: >- + total is total number of results available if PageRequest.count_total + + was set, its value is undefined otherwise + description: QueryGranterGrantsResponse is the response type for the Query/GranterGrants RPC method. + cosmos.authz.v1beta1.QueryGrantsResponse: + type: object + properties: + grants: + type: array + items: + type: object + properties: + authorization: + type: object + properties: + type_url: + type: string + description: >- + A URL/resource name that uniquely identifies the type of the serialized + + protocol buffer message. This string must contain at least + + one "/" character. The last segment of the URL's path must represent + + the fully qualified name of the type (as in + + `path/google.protobuf.Duration`). The name should be in a canonical form + + (e.g., leading "." is not accepted). + + + In practice, teams usually precompile into the binary all types that they + + expect it to use in the context of Any. However, for URLs which use the + + scheme `http`, `https`, or no scheme, one can optionally set up a type + + server that maps type URLs to message definitions as follows: + + + * If no scheme is provided, `https` is assumed. + + * An HTTP GET on the URL must yield a [google.protobuf.Type][] + + value in binary format, or produce an error. + * Applications are allowed to cache lookup results based on the + + URL, or have them precompiled into a binary to avoid any + lookup. Therefore, binary compatibility needs to be preserved + on changes to types. (Use versioned type names to manage + breaking changes.) + + Note: this functionality is not currently available in the official + + protobuf release, and it is not used for type URLs beginning with + + type.googleapis.com. + + + Schemes other than `http`, `https` (or the empty scheme) might be + + used with implementation specific semantics. + value: + type: string + format: byte + description: Must be a valid serialized protocol buffer of the above specified type. + description: >- + `Any` contains an arbitrary serialized protocol buffer message along with a + + URL that describes the type of the serialized message. + + + Protobuf library provides support to pack/unpack Any values in the form + + of utility functions or additional generated methods of the Any type. + + + Example 1: Pack and unpack a message in C++. + + + Foo foo = ...; + Any any; + any.PackFrom(foo); + ... + if (any.UnpackTo(&foo)) { + ... + } + + Example 2: Pack and unpack a message in Java. + + + Foo foo = ...; + Any any = Any.pack(foo); + ... + if (any.is(Foo.class)) { + foo = any.unpack(Foo.class); + } + + Example 3: Pack and unpack a message in Python. + + foo = Foo(...) + any = Any() + any.Pack(foo) + ... + if any.Is(Foo.DESCRIPTOR): + any.Unpack(foo) + ... + + Example 4: Pack and unpack a message in Go + + foo := &pb.Foo{...} + any, err := ptypes.MarshalAny(foo) + ... + foo := &pb.Foo{} + if err := ptypes.UnmarshalAny(any, foo); err != nil { + ... + } + + The pack methods provided by protobuf library will by default use + + 'type.googleapis.com/full.type.name' as the type URL and the unpack + + methods only use the fully qualified type name after the last '/' + + in the type URL, for example "foo.bar.com/x/y.z" will yield type + + name "y.z". + + + + JSON + + ==== + + The JSON representation of an `Any` value uses the regular + + representation of the deserialized, embedded message, with an + + additional field `@type` which contains the type URL. Example: + + + package google.profile; + message Person { + string first_name = 1; + string last_name = 2; + } + + { + "@type": "type.googleapis.com/google.profile.Person", + "firstName": , + "lastName": + } + + If the embedded message type is well-known and has a custom JSON + + representation, that representation will be embedded adding a field + + `value` which holds the custom JSON in addition to the `@type` + + field. Example (for message [google.protobuf.Duration][]): + + + { + "@type": "type.googleapis.com/google.protobuf.Duration", + "value": "1.212s" + } + expiration: + type: string + format: date-time + description: |- + Grant gives permissions to execute + the provide method with expiration time. + description: authorizations is a list of grants granted for grantee by granter. + pagination: + description: pagination defines an pagination for the response. + type: object + properties: + next_key: + type: string + format: byte + title: |- + next_key is the key to be passed to PageRequest.key to + query the next page most efficiently + total: + type: string + format: uint64 + title: >- + total is total number of results available if PageRequest.count_total + + was set, its value is undefined otherwise + description: QueryGrantsResponse is the response type for the Query/Authorizations RPC method. + cosmos.bank.v1beta1.DenomUnit: + type: object + properties: + denom: + type: string + description: denom represents the string name of the given denom unit (e.g uatom). + exponent: + type: integer + format: int64 + description: >- + exponent represents power of 10 exponent that one must + + raise the base_denom to in order to equal the given DenomUnit's denom + + 1 denom = 1^exponent base_denom + + (e.g. with a base_denom of uatom, one can create a DenomUnit of 'atom' with + + exponent = 6, thus: 1 atom = 10^6 uatom). + aliases: + type: array + items: + type: string + title: aliases is a list of string aliases for the given denom + description: |- + DenomUnit represents a struct that describes a given + denomination unit of the basic token. + cosmos.bank.v1beta1.Metadata: + type: object + properties: + description: + type: string + denom_units: + type: array + items: + type: object + properties: + denom: + type: string + description: denom represents the string name of the given denom unit (e.g uatom). + exponent: + type: integer + format: int64 + description: >- + exponent represents power of 10 exponent that one must + + raise the base_denom to in order to equal the given DenomUnit's denom + + 1 denom = 1^exponent base_denom + + (e.g. with a base_denom of uatom, one can create a DenomUnit of 'atom' with + + exponent = 6, thus: 1 atom = 10^6 uatom). + aliases: + type: array + items: + type: string + title: aliases is a list of string aliases for the given denom + description: |- + DenomUnit represents a struct that describes a given + denomination unit of the basic token. + title: denom_units represents the list of DenomUnit's for a given coin + base: + type: string + description: base represents the base denom (should be the DenomUnit with exponent = 0). + display: + type: string + description: |- + display indicates the suggested denom that should be + displayed in clients. + name: + type: string + description: "Since: cosmos-sdk 0.43" + title: "name defines the name of the token (eg: Cosmos Atom)" + symbol: + type: string + description: >- + symbol is the token symbol usually shown on exchanges (eg: ATOM). This can + + be the same as the display. + + + Since: cosmos-sdk 0.43 + description: |- + Metadata represents a struct that describes + a basic token. + cosmos.bank.v1beta1.Params: + type: object + properties: + send_enabled: + type: array + items: + type: object + properties: + denom: + type: string + enabled: + type: boolean + description: >- + SendEnabled maps coin denom to a send_enabled status (whether a denom is + + sendable). + default_send_enabled: + type: boolean + description: Params defines the parameters for the bank module. + cosmos.bank.v1beta1.QueryAllBalancesResponse: + type: object + properties: + balances: + type: array + items: + type: object + properties: + denom: + type: string + amount: + type: string + description: >- + Coin defines a token with a denomination and an amount. + + + NOTE: The amount field is an Int which implements the custom method + + signatures required by gogoproto. + description: balances is the balances of all the coins. + pagination: + description: pagination defines the pagination in the response. + type: object + properties: + next_key: + type: string + format: byte + title: |- + next_key is the key to be passed to PageRequest.key to + query the next page most efficiently + total: + type: string + format: uint64 + title: >- + total is total number of results available if PageRequest.count_total + + was set, its value is undefined otherwise + description: >- + QueryAllBalancesResponse is the response type for the Query/AllBalances RPC + + method. + cosmos.bank.v1beta1.QueryBalanceResponse: + type: object + properties: + balance: + type: object + properties: + denom: + type: string + amount: + type: string + description: |- + Coin defines a token with a denomination and an amount. + + NOTE: The amount field is an Int which implements the custom method + signatures required by gogoproto. + description: QueryBalanceResponse is the response type for the Query/Balance RPC method. + cosmos.bank.v1beta1.QueryDenomMetadataResponse: + type: object + properties: + metadata: + type: object + properties: + description: + type: string + denom_units: + type: array + items: + type: object + properties: + denom: + type: string + description: denom represents the string name of the given denom unit (e.g uatom). + exponent: + type: integer + format: int64 + description: >- + exponent represents power of 10 exponent that one must + + raise the base_denom to in order to equal the given DenomUnit's denom + + 1 denom = 1^exponent base_denom + + (e.g. with a base_denom of uatom, one can create a DenomUnit of 'atom' with + + exponent = 6, thus: 1 atom = 10^6 uatom). + aliases: + type: array + items: + type: string + title: aliases is a list of string aliases for the given denom + description: |- + DenomUnit represents a struct that describes a given + denomination unit of the basic token. + title: denom_units represents the list of DenomUnit's for a given coin + base: + type: string + description: base represents the base denom (should be the DenomUnit with exponent = 0). + display: + type: string + description: |- + display indicates the suggested denom that should be + displayed in clients. + name: + type: string + description: "Since: cosmos-sdk 0.43" + title: "name defines the name of the token (eg: Cosmos Atom)" + symbol: + type: string + description: >- + symbol is the token symbol usually shown on exchanges (eg: ATOM). This can + + be the same as the display. + + + Since: cosmos-sdk 0.43 + description: |- + Metadata represents a struct that describes + a basic token. + description: >- + QueryDenomMetadataResponse is the response type for the Query/DenomMetadata RPC + + method. + cosmos.bank.v1beta1.QueryDenomsMetadataResponse: + type: object + properties: + metadatas: + type: array + items: + type: object + properties: + description: + type: string + denom_units: + type: array + items: + type: object + properties: + denom: + type: string + description: denom represents the string name of the given denom unit (e.g uatom). + exponent: + type: integer + format: int64 + description: >- + exponent represents power of 10 exponent that one must + + raise the base_denom to in order to equal the given DenomUnit's denom + + 1 denom = 1^exponent base_denom + + (e.g. with a base_denom of uatom, one can create a DenomUnit of 'atom' with + + exponent = 6, thus: 1 atom = 10^6 uatom). + aliases: + type: array + items: + type: string + title: aliases is a list of string aliases for the given denom + description: |- + DenomUnit represents a struct that describes a given + denomination unit of the basic token. + title: denom_units represents the list of DenomUnit's for a given coin + base: + type: string + description: base represents the base denom (should be the DenomUnit with exponent = 0). + display: + type: string + description: |- + display indicates the suggested denom that should be + displayed in clients. + name: + type: string + description: "Since: cosmos-sdk 0.43" + title: "name defines the name of the token (eg: Cosmos Atom)" + symbol: + type: string + description: >- + symbol is the token symbol usually shown on exchanges (eg: ATOM). This can + + be the same as the display. + + + Since: cosmos-sdk 0.43 + description: |- + Metadata represents a struct that describes + a basic token. + description: metadata provides the client information for all the registered tokens. + pagination: + description: pagination defines the pagination in the response. + type: object + properties: + next_key: + type: string + format: byte + title: |- + next_key is the key to be passed to PageRequest.key to + query the next page most efficiently + total: + type: string + format: uint64 + title: >- + total is total number of results available if PageRequest.count_total + + was set, its value is undefined otherwise + description: >- + QueryDenomsMetadataResponse is the response type for the Query/DenomsMetadata RPC + + method. + cosmos.bank.v1beta1.QueryParamsResponse: + type: object + properties: + params: + type: object + properties: + send_enabled: + type: array + items: + type: object + properties: + denom: + type: string + enabled: + type: boolean + description: >- + SendEnabled maps coin denom to a send_enabled status (whether a denom is + + sendable). + default_send_enabled: + type: boolean + description: Params defines the parameters for the bank module. + description: QueryParamsResponse defines the response type for querying x/bank parameters. + cosmos.bank.v1beta1.QuerySpendableBalancesResponse: + type: object + properties: + balances: + type: array + items: + type: object + properties: + denom: + type: string + amount: + type: string + description: >- + Coin defines a token with a denomination and an amount. + + + NOTE: The amount field is an Int which implements the custom method + + signatures required by gogoproto. + description: balances is the spendable balances of all the coins. + pagination: + description: pagination defines the pagination in the response. + type: object + properties: + next_key: + type: string + format: byte + title: |- + next_key is the key to be passed to PageRequest.key to + query the next page most efficiently + total: + type: string + format: uint64 + title: >- + total is total number of results available if PageRequest.count_total + + was set, its value is undefined otherwise + description: >- + QuerySpendableBalancesResponse defines the gRPC response structure for querying + + an account's spendable balances. + cosmos.bank.v1beta1.QuerySupplyOfResponse: + type: object + properties: + amount: + type: object + properties: + denom: + type: string + amount: + type: string + description: |- + Coin defines a token with a denomination and an amount. + + NOTE: The amount field is an Int which implements the custom method + signatures required by gogoproto. + description: QuerySupplyOfResponse is the response type for the Query/SupplyOf RPC method. + cosmos.bank.v1beta1.QueryTotalSupplyResponse: + type: object + properties: + supply: + type: array + items: + type: object + properties: + denom: + type: string + amount: + type: string + description: >- + Coin defines a token with a denomination and an amount. + + + NOTE: The amount field is an Int which implements the custom method + + signatures required by gogoproto. + title: supply is the supply of the coins + pagination: + description: |- + pagination defines the pagination in the response. + + Since: cosmos-sdk 0.43 + type: object + properties: + next_key: + type: string + format: byte + title: |- + next_key is the key to be passed to PageRequest.key to + query the next page most efficiently + total: + type: string + format: uint64 + title: >- + total is total number of results available if PageRequest.count_total + + was set, its value is undefined otherwise + title: >- + QueryTotalSupplyResponse is the response type for the Query/TotalSupply RPC + + method + cosmos.bank.v1beta1.SendEnabled: + type: object + properties: + denom: + type: string + enabled: + type: boolean + description: |- + SendEnabled maps coin denom to a send_enabled status (whether a denom is + sendable). + cosmos.base.tendermint.v1beta1.GetBlockByHeightResponse: + type: object + properties: + block_id: + type: object + properties: + hash: + type: string + format: byte + part_set_header: + type: object + properties: + total: + type: integer + format: int64 + hash: + type: string + format: byte + title: PartsetHeader + title: BlockID + block: + type: object + properties: + header: + type: object + properties: + version: + title: basic block info + type: object + properties: + block: + type: string + format: uint64 + app: + type: string + format: uint64 + description: >- + Consensus captures the consensus rules for processing a block in the blockchain, + + including all blockchain data structures and the rules of the application's + + state transition machine. + chain_id: + type: string + height: + type: string + format: int64 + time: + type: string + format: date-time + last_block_id: + type: object + properties: + hash: + type: string + format: byte + part_set_header: + type: object + properties: + total: + type: integer + format: int64 + hash: + type: string + format: byte + title: PartsetHeader + title: BlockID + last_commit_hash: + type: string + format: byte + title: hashes of block data + data_hash: + type: string + format: byte + validators_hash: + type: string + format: byte + title: hashes from the app output from the prev block + next_validators_hash: + type: string + format: byte + consensus_hash: + type: string + format: byte + app_hash: + type: string + format: byte + last_results_hash: + type: string + format: byte + evidence_hash: + type: string + format: byte + title: consensus info + proposer_address: + type: string + format: byte + description: Header defines the structure of a Tendermint block header. + data: + type: object + properties: + txs: + type: array + items: + type: string + format: byte + description: >- + Txs that will be applied by state @ block.Height+1. + + NOTE: not all txs here are valid. We're just agreeing on the order first. + + This means that block.AppHash does not include these txs. + title: Data contains the set of transactions included in the block + evidence: + type: object + properties: + evidence: + type: array + items: + type: object + properties: + duplicate_vote_evidence: + type: object + properties: + vote_a: + type: object + properties: + type: + type: string + enum: + - SIGNED_MSG_TYPE_UNKNOWN + - SIGNED_MSG_TYPE_PREVOTE + - SIGNED_MSG_TYPE_PRECOMMIT + - SIGNED_MSG_TYPE_PROPOSAL + default: SIGNED_MSG_TYPE_UNKNOWN + description: >- + SignedMsgType is a type of signed message in the consensus. + + + - SIGNED_MSG_TYPE_PREVOTE: Votes + - SIGNED_MSG_TYPE_PROPOSAL: Proposals + height: + type: string + format: int64 + round: + type: integer + format: int32 + block_id: + type: object + properties: + hash: + type: string + format: byte + part_set_header: + type: object + properties: + total: + type: integer + format: int64 + hash: + type: string + format: byte + title: PartsetHeader + title: BlockID + timestamp: + type: string + format: date-time + validator_address: + type: string + format: byte + validator_index: + type: integer + format: int32 + signature: + type: string + format: byte + description: >- + Vote represents a prevote, precommit, or commit vote from validators for + + consensus. + vote_b: + type: object + properties: + type: + type: string + enum: + - SIGNED_MSG_TYPE_UNKNOWN + - SIGNED_MSG_TYPE_PREVOTE + - SIGNED_MSG_TYPE_PRECOMMIT + - SIGNED_MSG_TYPE_PROPOSAL + default: SIGNED_MSG_TYPE_UNKNOWN + description: >- + SignedMsgType is a type of signed message in the consensus. + + + - SIGNED_MSG_TYPE_PREVOTE: Votes + - SIGNED_MSG_TYPE_PROPOSAL: Proposals + height: + type: string + format: int64 + round: + type: integer + format: int32 + block_id: + type: object + properties: + hash: + type: string + format: byte + part_set_header: + type: object + properties: + total: + type: integer + format: int64 + hash: + type: string + format: byte + title: PartsetHeader + title: BlockID + timestamp: + type: string + format: date-time + validator_address: + type: string + format: byte + validator_index: + type: integer + format: int32 + signature: + type: string + format: byte + description: >- + Vote represents a prevote, precommit, or commit vote from validators for + + consensus. + total_voting_power: + type: string + format: int64 + validator_power: + type: string + format: int64 + timestamp: + type: string + format: date-time + description: DuplicateVoteEvidence contains evidence of a validator signed two conflicting votes. + light_client_attack_evidence: + type: object + properties: + conflicting_block: + type: object + properties: + signed_header: + type: object + properties: + header: + type: object + properties: + version: + title: basic block info + type: object + properties: + block: + type: string + format: uint64 + app: + type: string + format: uint64 + description: >- + Consensus captures the consensus rules for processing a block in the blockchain, + + including all blockchain data structures and the rules of the application's + + state transition machine. + chain_id: + type: string + height: + type: string + format: int64 + time: + type: string + format: date-time + last_block_id: + type: object + properties: + hash: + type: string + format: byte + part_set_header: + type: object + properties: + total: + type: integer + format: int64 + hash: + type: string + format: byte + title: PartsetHeader + title: BlockID + last_commit_hash: + type: string + format: byte + title: hashes of block data + data_hash: + type: string + format: byte + validators_hash: + type: string + format: byte + title: hashes from the app output from the prev block + next_validators_hash: + type: string + format: byte + consensus_hash: + type: string + format: byte + app_hash: + type: string + format: byte + last_results_hash: + type: string + format: byte + evidence_hash: + type: string + format: byte + title: consensus info + proposer_address: + type: string + format: byte + description: Header defines the structure of a Tendermint block header. + commit: + type: object + properties: + height: + type: string + format: int64 + round: + type: integer + format: int32 + block_id: + type: object + properties: + hash: + type: string + format: byte + part_set_header: + type: object + properties: + total: + type: integer + format: int64 + hash: + type: string + format: byte + title: PartsetHeader + title: BlockID + signatures: + type: array + items: + type: object + properties: + block_id_flag: + type: string + enum: + - BLOCK_ID_FLAG_UNKNOWN + - BLOCK_ID_FLAG_ABSENT + - BLOCK_ID_FLAG_COMMIT + - BLOCK_ID_FLAG_NIL + default: BLOCK_ID_FLAG_UNKNOWN + title: BlockIdFlag indicates which BlcokID the signature is for + validator_address: + type: string + format: byte + timestamp: + type: string + format: date-time + signature: + type: string + format: byte + description: CommitSig is a part of the Vote included in a Commit. + description: Commit contains the evidence that a block was committed by a set of validators. + validator_set: + type: object + properties: + validators: + type: array + items: + type: object + properties: + address: + type: string + format: byte + pub_key: + type: object + properties: + ed25519: + type: string + format: byte + secp256k1: + type: string + format: byte + title: PublicKey defines the keys available for use with Tendermint Validators + voting_power: + type: string + format: int64 + proposer_priority: + type: string + format: int64 + proposer: + type: object + properties: + address: + type: string + format: byte + pub_key: + type: object + properties: + ed25519: + type: string + format: byte + secp256k1: + type: string + format: byte + title: PublicKey defines the keys available for use with Tendermint Validators + voting_power: + type: string + format: int64 + proposer_priority: + type: string + format: int64 + total_voting_power: + type: string + format: int64 + common_height: + type: string + format: int64 + byzantine_validators: + type: array + items: + type: object + properties: + address: + type: string + format: byte + pub_key: + type: object + properties: + ed25519: + type: string + format: byte + secp256k1: + type: string + format: byte + title: PublicKey defines the keys available for use with Tendermint Validators + voting_power: + type: string + format: int64 + proposer_priority: + type: string + format: int64 + total_voting_power: + type: string + format: int64 + timestamp: + type: string + format: date-time + description: LightClientAttackEvidence contains evidence of a set of validators attempting to mislead a light client. + last_commit: + type: object + properties: + height: + type: string + format: int64 + round: + type: integer + format: int32 + block_id: + type: object + properties: + hash: + type: string + format: byte + part_set_header: + type: object + properties: + total: + type: integer + format: int64 + hash: + type: string + format: byte + title: PartsetHeader + title: BlockID + signatures: + type: array + items: + type: object + properties: + block_id_flag: + type: string + enum: + - BLOCK_ID_FLAG_UNKNOWN + - BLOCK_ID_FLAG_ABSENT + - BLOCK_ID_FLAG_COMMIT + - BLOCK_ID_FLAG_NIL + default: BLOCK_ID_FLAG_UNKNOWN + title: BlockIdFlag indicates which BlcokID the signature is for + validator_address: + type: string + format: byte + timestamp: + type: string + format: date-time + signature: + type: string + format: byte + description: CommitSig is a part of the Vote included in a Commit. + description: Commit contains the evidence that a block was committed by a set of validators. + description: GetBlockByHeightResponse is the response type for the Query/GetBlockByHeight RPC method. + cosmos.base.tendermint.v1beta1.GetLatestBlockResponse: + type: object + properties: + block_id: + type: object + properties: + hash: + type: string + format: byte + part_set_header: + type: object + properties: + total: + type: integer + format: int64 + hash: + type: string + format: byte + title: PartsetHeader + title: BlockID + block: + type: object + properties: + header: + type: object + properties: + version: + title: basic block info + type: object + properties: + block: + type: string + format: uint64 + app: + type: string + format: uint64 + description: >- + Consensus captures the consensus rules for processing a block in the blockchain, + + including all blockchain data structures and the rules of the application's + + state transition machine. + chain_id: + type: string + height: + type: string + format: int64 + time: + type: string + format: date-time + last_block_id: + type: object + properties: + hash: + type: string + format: byte + part_set_header: + type: object + properties: + total: + type: integer + format: int64 + hash: + type: string + format: byte + title: PartsetHeader + title: BlockID + last_commit_hash: + type: string + format: byte + title: hashes of block data + data_hash: + type: string + format: byte + validators_hash: + type: string + format: byte + title: hashes from the app output from the prev block + next_validators_hash: + type: string + format: byte + consensus_hash: + type: string + format: byte + app_hash: + type: string + format: byte + last_results_hash: + type: string + format: byte + evidence_hash: + type: string + format: byte + title: consensus info + proposer_address: + type: string + format: byte + description: Header defines the structure of a Tendermint block header. + data: + type: object + properties: + txs: + type: array + items: + type: string + format: byte + description: >- + Txs that will be applied by state @ block.Height+1. + + NOTE: not all txs here are valid. We're just agreeing on the order first. + + This means that block.AppHash does not include these txs. + title: Data contains the set of transactions included in the block + evidence: + type: object + properties: + evidence: + type: array + items: + type: object + properties: + duplicate_vote_evidence: + type: object + properties: + vote_a: + type: object + properties: + type: + type: string + enum: + - SIGNED_MSG_TYPE_UNKNOWN + - SIGNED_MSG_TYPE_PREVOTE + - SIGNED_MSG_TYPE_PRECOMMIT + - SIGNED_MSG_TYPE_PROPOSAL + default: SIGNED_MSG_TYPE_UNKNOWN + description: >- + SignedMsgType is a type of signed message in the consensus. + + + - SIGNED_MSG_TYPE_PREVOTE: Votes + - SIGNED_MSG_TYPE_PROPOSAL: Proposals + height: + type: string + format: int64 + round: + type: integer + format: int32 + block_id: + type: object + properties: + hash: + type: string + format: byte + part_set_header: + type: object + properties: + total: + type: integer + format: int64 + hash: + type: string + format: byte + title: PartsetHeader + title: BlockID + timestamp: + type: string + format: date-time + validator_address: + type: string + format: byte + validator_index: + type: integer + format: int32 + signature: + type: string + format: byte + description: >- + Vote represents a prevote, precommit, or commit vote from validators for + + consensus. + vote_b: + type: object + properties: + type: + type: string + enum: + - SIGNED_MSG_TYPE_UNKNOWN + - SIGNED_MSG_TYPE_PREVOTE + - SIGNED_MSG_TYPE_PRECOMMIT + - SIGNED_MSG_TYPE_PROPOSAL + default: SIGNED_MSG_TYPE_UNKNOWN + description: >- + SignedMsgType is a type of signed message in the consensus. + + + - SIGNED_MSG_TYPE_PREVOTE: Votes + - SIGNED_MSG_TYPE_PROPOSAL: Proposals + height: + type: string + format: int64 + round: + type: integer + format: int32 + block_id: + type: object + properties: + hash: + type: string + format: byte + part_set_header: + type: object + properties: + total: + type: integer + format: int64 + hash: + type: string + format: byte + title: PartsetHeader + title: BlockID + timestamp: + type: string + format: date-time + validator_address: + type: string + format: byte + validator_index: + type: integer + format: int32 + signature: + type: string + format: byte + description: >- + Vote represents a prevote, precommit, or commit vote from validators for + + consensus. + total_voting_power: + type: string + format: int64 + validator_power: + type: string + format: int64 + timestamp: + type: string + format: date-time + description: DuplicateVoteEvidence contains evidence of a validator signed two conflicting votes. + light_client_attack_evidence: + type: object + properties: + conflicting_block: + type: object + properties: + signed_header: + type: object + properties: + header: + type: object + properties: + version: + title: basic block info + type: object + properties: + block: + type: string + format: uint64 + app: + type: string + format: uint64 + description: >- + Consensus captures the consensus rules for processing a block in the blockchain, + + including all blockchain data structures and the rules of the application's + + state transition machine. + chain_id: + type: string + height: + type: string + format: int64 + time: + type: string + format: date-time + last_block_id: + type: object + properties: + hash: + type: string + format: byte + part_set_header: + type: object + properties: + total: + type: integer + format: int64 + hash: + type: string + format: byte + title: PartsetHeader + title: BlockID + last_commit_hash: + type: string + format: byte + title: hashes of block data + data_hash: + type: string + format: byte + validators_hash: + type: string + format: byte + title: hashes from the app output from the prev block + next_validators_hash: + type: string + format: byte + consensus_hash: + type: string + format: byte + app_hash: + type: string + format: byte + last_results_hash: + type: string + format: byte + evidence_hash: + type: string + format: byte + title: consensus info + proposer_address: + type: string + format: byte + description: Header defines the structure of a Tendermint block header. + commit: + type: object + properties: + height: + type: string + format: int64 + round: + type: integer + format: int32 + block_id: + type: object + properties: + hash: + type: string + format: byte + part_set_header: + type: object + properties: + total: + type: integer + format: int64 + hash: + type: string + format: byte + title: PartsetHeader + title: BlockID + signatures: + type: array + items: + type: object + properties: + block_id_flag: + type: string + enum: + - BLOCK_ID_FLAG_UNKNOWN + - BLOCK_ID_FLAG_ABSENT + - BLOCK_ID_FLAG_COMMIT + - BLOCK_ID_FLAG_NIL + default: BLOCK_ID_FLAG_UNKNOWN + title: BlockIdFlag indicates which BlcokID the signature is for + validator_address: + type: string + format: byte + timestamp: + type: string + format: date-time + signature: + type: string + format: byte + description: CommitSig is a part of the Vote included in a Commit. + description: Commit contains the evidence that a block was committed by a set of validators. + validator_set: + type: object + properties: + validators: + type: array + items: + type: object + properties: + address: + type: string + format: byte + pub_key: + type: object + properties: + ed25519: + type: string + format: byte + secp256k1: + type: string + format: byte + title: PublicKey defines the keys available for use with Tendermint Validators + voting_power: + type: string + format: int64 + proposer_priority: + type: string + format: int64 + proposer: + type: object + properties: + address: + type: string + format: byte + pub_key: + type: object + properties: + ed25519: + type: string + format: byte + secp256k1: + type: string + format: byte + title: PublicKey defines the keys available for use with Tendermint Validators + voting_power: + type: string + format: int64 + proposer_priority: + type: string + format: int64 + total_voting_power: + type: string + format: int64 + common_height: + type: string + format: int64 + byzantine_validators: + type: array + items: + type: object + properties: + address: + type: string + format: byte + pub_key: + type: object + properties: + ed25519: + type: string + format: byte + secp256k1: + type: string + format: byte + title: PublicKey defines the keys available for use with Tendermint Validators + voting_power: + type: string + format: int64 + proposer_priority: + type: string + format: int64 + total_voting_power: + type: string + format: int64 + timestamp: + type: string + format: date-time + description: LightClientAttackEvidence contains evidence of a set of validators attempting to mislead a light client. + last_commit: + type: object + properties: + height: + type: string + format: int64 + round: + type: integer + format: int32 + block_id: + type: object + properties: + hash: + type: string + format: byte + part_set_header: + type: object + properties: + total: + type: integer + format: int64 + hash: + type: string + format: byte + title: PartsetHeader + title: BlockID + signatures: + type: array + items: + type: object + properties: + block_id_flag: + type: string + enum: + - BLOCK_ID_FLAG_UNKNOWN + - BLOCK_ID_FLAG_ABSENT + - BLOCK_ID_FLAG_COMMIT + - BLOCK_ID_FLAG_NIL + default: BLOCK_ID_FLAG_UNKNOWN + title: BlockIdFlag indicates which BlcokID the signature is for + validator_address: + type: string + format: byte + timestamp: + type: string + format: date-time + signature: + type: string + format: byte + description: CommitSig is a part of the Vote included in a Commit. + description: Commit contains the evidence that a block was committed by a set of validators. + description: GetLatestBlockResponse is the response type for the Query/GetLatestBlock RPC method. + cosmos.base.tendermint.v1beta1.GetLatestValidatorSetResponse: + type: object + properties: + block_height: + type: string + format: int64 + validators: + type: array + items: + type: object + properties: + address: + type: string + pub_key: + type: object + properties: + type_url: + type: string + description: >- + A URL/resource name that uniquely identifies the type of the serialized + + protocol buffer message. This string must contain at least + + one "/" character. The last segment of the URL's path must represent + + the fully qualified name of the type (as in + + `path/google.protobuf.Duration`). The name should be in a canonical form + + (e.g., leading "." is not accepted). + + + In practice, teams usually precompile into the binary all types that they + + expect it to use in the context of Any. However, for URLs which use the + + scheme `http`, `https`, or no scheme, one can optionally set up a type + + server that maps type URLs to message definitions as follows: + + + * If no scheme is provided, `https` is assumed. + + * An HTTP GET on the URL must yield a [google.protobuf.Type][] + + value in binary format, or produce an error. + * Applications are allowed to cache lookup results based on the + + URL, or have them precompiled into a binary to avoid any + lookup. Therefore, binary compatibility needs to be preserved + on changes to types. (Use versioned type names to manage + breaking changes.) + + Note: this functionality is not currently available in the official + + protobuf release, and it is not used for type URLs beginning with + + type.googleapis.com. + + + Schemes other than `http`, `https` (or the empty scheme) might be + + used with implementation specific semantics. + value: + type: string + format: byte + description: Must be a valid serialized protocol buffer of the above specified type. + description: >- + `Any` contains an arbitrary serialized protocol buffer message along with a + + URL that describes the type of the serialized message. + + + Protobuf library provides support to pack/unpack Any values in the form + + of utility functions or additional generated methods of the Any type. + + + Example 1: Pack and unpack a message in C++. + + + Foo foo = ...; + Any any; + any.PackFrom(foo); + ... + if (any.UnpackTo(&foo)) { + ... + } + + Example 2: Pack and unpack a message in Java. + + + Foo foo = ...; + Any any = Any.pack(foo); + ... + if (any.is(Foo.class)) { + foo = any.unpack(Foo.class); + } + + Example 3: Pack and unpack a message in Python. + + foo = Foo(...) + any = Any() + any.Pack(foo) + ... + if any.Is(Foo.DESCRIPTOR): + any.Unpack(foo) + ... + + Example 4: Pack and unpack a message in Go + + foo := &pb.Foo{...} + any, err := ptypes.MarshalAny(foo) + ... + foo := &pb.Foo{} + if err := ptypes.UnmarshalAny(any, foo); err != nil { + ... + } + + The pack methods provided by protobuf library will by default use + + 'type.googleapis.com/full.type.name' as the type URL and the unpack + + methods only use the fully qualified type name after the last '/' + + in the type URL, for example "foo.bar.com/x/y.z" will yield type + + name "y.z". + + + + JSON + + ==== + + The JSON representation of an `Any` value uses the regular + + representation of the deserialized, embedded message, with an + + additional field `@type` which contains the type URL. Example: + + + package google.profile; + message Person { + string first_name = 1; + string last_name = 2; + } + + { + "@type": "type.googleapis.com/google.profile.Person", + "firstName": , + "lastName": + } + + If the embedded message type is well-known and has a custom JSON + + representation, that representation will be embedded adding a field + + `value` which holds the custom JSON in addition to the `@type` + + field. Example (for message [google.protobuf.Duration][]): + + + { + "@type": "type.googleapis.com/google.protobuf.Duration", + "value": "1.212s" + } + voting_power: + type: string + format: int64 + proposer_priority: + type: string + format: int64 + description: Validator is the type for the validator-set. + pagination: + description: pagination defines an pagination for the response. + type: object + properties: + next_key: + type: string + format: byte + title: |- + next_key is the key to be passed to PageRequest.key to + query the next page most efficiently + total: + type: string + format: uint64 + title: >- + total is total number of results available if PageRequest.count_total + + was set, its value is undefined otherwise + description: GetLatestValidatorSetResponse is the response type for the Query/GetValidatorSetByHeight RPC method. + cosmos.base.tendermint.v1beta1.GetNodeInfoResponse: + type: object + properties: + default_node_info: + type: object + properties: + protocol_version: + type: object + properties: + p2p: + type: string + format: uint64 + block: + type: string + format: uint64 + app: + type: string + format: uint64 + default_node_id: + type: string + listen_addr: + type: string + network: + type: string + version: + type: string + channels: + type: string + format: byte + moniker: + type: string + other: + type: object + properties: + tx_index: + type: string + rpc_address: + type: string + application_version: + type: object + properties: + name: + type: string + app_name: + type: string + version: + type: string + git_commit: + type: string + build_tags: + type: string + go_version: + type: string + build_deps: + type: array + items: + type: object + properties: + path: + type: string + title: module path + version: + type: string + title: module version + sum: + type: string + title: checksum + title: Module is the type for VersionInfo + cosmos_sdk_version: + type: string + title: "Since: cosmos-sdk 0.43" + description: VersionInfo is the type for the GetNodeInfoResponse message. + description: GetNodeInfoResponse is the request type for the Query/GetNodeInfo RPC method. + cosmos.base.tendermint.v1beta1.GetSyncingResponse: + type: object + properties: + syncing: + type: boolean + description: GetSyncingResponse is the response type for the Query/GetSyncing RPC method. + cosmos.base.tendermint.v1beta1.GetValidatorSetByHeightResponse: + type: object + properties: + block_height: + type: string + format: int64 + validators: + type: array + items: + type: object + properties: + address: + type: string + pub_key: + type: object + properties: + type_url: + type: string + description: >- + A URL/resource name that uniquely identifies the type of the serialized + + protocol buffer message. This string must contain at least + + one "/" character. The last segment of the URL's path must represent + + the fully qualified name of the type (as in + + `path/google.protobuf.Duration`). The name should be in a canonical form + + (e.g., leading "." is not accepted). + + + In practice, teams usually precompile into the binary all types that they + + expect it to use in the context of Any. However, for URLs which use the + + scheme `http`, `https`, or no scheme, one can optionally set up a type + + server that maps type URLs to message definitions as follows: + + + * If no scheme is provided, `https` is assumed. + + * An HTTP GET on the URL must yield a [google.protobuf.Type][] + + value in binary format, or produce an error. + * Applications are allowed to cache lookup results based on the + + URL, or have them precompiled into a binary to avoid any + lookup. Therefore, binary compatibility needs to be preserved + on changes to types. (Use versioned type names to manage + breaking changes.) + + Note: this functionality is not currently available in the official + + protobuf release, and it is not used for type URLs beginning with + + type.googleapis.com. + + + Schemes other than `http`, `https` (or the empty scheme) might be + + used with implementation specific semantics. + value: + type: string + format: byte + description: Must be a valid serialized protocol buffer of the above specified type. + description: >- + `Any` contains an arbitrary serialized protocol buffer message along with a + + URL that describes the type of the serialized message. + + + Protobuf library provides support to pack/unpack Any values in the form + + of utility functions or additional generated methods of the Any type. + + + Example 1: Pack and unpack a message in C++. + + + Foo foo = ...; + Any any; + any.PackFrom(foo); + ... + if (any.UnpackTo(&foo)) { + ... + } + + Example 2: Pack and unpack a message in Java. + + + Foo foo = ...; + Any any = Any.pack(foo); + ... + if (any.is(Foo.class)) { + foo = any.unpack(Foo.class); + } + + Example 3: Pack and unpack a message in Python. + + foo = Foo(...) + any = Any() + any.Pack(foo) + ... + if any.Is(Foo.DESCRIPTOR): + any.Unpack(foo) + ... + + Example 4: Pack and unpack a message in Go + + foo := &pb.Foo{...} + any, err := ptypes.MarshalAny(foo) + ... + foo := &pb.Foo{} + if err := ptypes.UnmarshalAny(any, foo); err != nil { + ... + } + + The pack methods provided by protobuf library will by default use + + 'type.googleapis.com/full.type.name' as the type URL and the unpack + + methods only use the fully qualified type name after the last '/' + + in the type URL, for example "foo.bar.com/x/y.z" will yield type + + name "y.z". + + + + JSON + + ==== + + The JSON representation of an `Any` value uses the regular + + representation of the deserialized, embedded message, with an + + additional field `@type` which contains the type URL. Example: + + + package google.profile; + message Person { + string first_name = 1; + string last_name = 2; + } + + { + "@type": "type.googleapis.com/google.profile.Person", + "firstName": , + "lastName": + } + + If the embedded message type is well-known and has a custom JSON + + representation, that representation will be embedded adding a field + + `value` which holds the custom JSON in addition to the `@type` + + field. Example (for message [google.protobuf.Duration][]): + + + { + "@type": "type.googleapis.com/google.protobuf.Duration", + "value": "1.212s" + } + voting_power: + type: string + format: int64 + proposer_priority: + type: string + format: int64 + description: Validator is the type for the validator-set. + pagination: + description: pagination defines an pagination for the response. + type: object + properties: + next_key: + type: string + format: byte + title: |- + next_key is the key to be passed to PageRequest.key to + query the next page most efficiently + total: + type: string + format: uint64 + title: >- + total is total number of results available if PageRequest.count_total + + was set, its value is undefined otherwise + description: GetValidatorSetByHeightResponse is the response type for the Query/GetValidatorSetByHeight RPC method. + cosmos.base.tendermint.v1beta1.Module: + type: object + properties: + path: + type: string + title: module path + version: + type: string + title: module version + sum: + type: string + title: checksum + title: Module is the type for VersionInfo + cosmos.base.tendermint.v1beta1.Validator: + type: object + properties: + address: + type: string + pub_key: + type: object + properties: + type_url: + type: string + description: >- + A URL/resource name that uniquely identifies the type of the serialized + + protocol buffer message. This string must contain at least + + one "/" character. The last segment of the URL's path must represent + + the fully qualified name of the type (as in + + `path/google.protobuf.Duration`). The name should be in a canonical form + + (e.g., leading "." is not accepted). + + + In practice, teams usually precompile into the binary all types that they + + expect it to use in the context of Any. However, for URLs which use the + + scheme `http`, `https`, or no scheme, one can optionally set up a type + + server that maps type URLs to message definitions as follows: + + + * If no scheme is provided, `https` is assumed. + + * An HTTP GET on the URL must yield a [google.protobuf.Type][] + + value in binary format, or produce an error. + * Applications are allowed to cache lookup results based on the + + URL, or have them precompiled into a binary to avoid any + lookup. Therefore, binary compatibility needs to be preserved + on changes to types. (Use versioned type names to manage + breaking changes.) + + Note: this functionality is not currently available in the official + + protobuf release, and it is not used for type URLs beginning with + + type.googleapis.com. + + + Schemes other than `http`, `https` (or the empty scheme) might be + + used with implementation specific semantics. + value: + type: string + format: byte + description: Must be a valid serialized protocol buffer of the above specified type. + description: >- + `Any` contains an arbitrary serialized protocol buffer message along with a + + URL that describes the type of the serialized message. + + + Protobuf library provides support to pack/unpack Any values in the form + + of utility functions or additional generated methods of the Any type. + + + Example 1: Pack and unpack a message in C++. + + + Foo foo = ...; + Any any; + any.PackFrom(foo); + ... + if (any.UnpackTo(&foo)) { + ... + } + + Example 2: Pack and unpack a message in Java. + + + Foo foo = ...; + Any any = Any.pack(foo); + ... + if (any.is(Foo.class)) { + foo = any.unpack(Foo.class); + } + + Example 3: Pack and unpack a message in Python. + + foo = Foo(...) + any = Any() + any.Pack(foo) + ... + if any.Is(Foo.DESCRIPTOR): + any.Unpack(foo) + ... + + Example 4: Pack and unpack a message in Go + + foo := &pb.Foo{...} + any, err := ptypes.MarshalAny(foo) + ... + foo := &pb.Foo{} + if err := ptypes.UnmarshalAny(any, foo); err != nil { + ... + } + + The pack methods provided by protobuf library will by default use + + 'type.googleapis.com/full.type.name' as the type URL and the unpack + + methods only use the fully qualified type name after the last '/' + + in the type URL, for example "foo.bar.com/x/y.z" will yield type + + name "y.z". + + + + JSON + + ==== + + The JSON representation of an `Any` value uses the regular + + representation of the deserialized, embedded message, with an + + additional field `@type` which contains the type URL. Example: + + + package google.profile; + message Person { + string first_name = 1; + string last_name = 2; + } + + { + "@type": "type.googleapis.com/google.profile.Person", + "firstName": , + "lastName": + } + + If the embedded message type is well-known and has a custom JSON + + representation, that representation will be embedded adding a field + + `value` which holds the custom JSON in addition to the `@type` + + field. Example (for message [google.protobuf.Duration][]): + + + { + "@type": "type.googleapis.com/google.protobuf.Duration", + "value": "1.212s" + } + voting_power: + type: string + format: int64 + proposer_priority: + type: string + format: int64 + description: Validator is the type for the validator-set. + cosmos.base.tendermint.v1beta1.VersionInfo: + type: object + properties: + name: + type: string + app_name: + type: string + version: + type: string + git_commit: + type: string + build_tags: + type: string + go_version: + type: string + build_deps: + type: array + items: + type: object + properties: + path: + type: string + title: module path + version: + type: string + title: module version + sum: + type: string + title: checksum + title: Module is the type for VersionInfo + cosmos_sdk_version: + type: string + title: "Since: cosmos-sdk 0.43" + description: VersionInfo is the type for the GetNodeInfoResponse message. + tendermint.crypto.PublicKey: + type: object + properties: + ed25519: + type: string + format: byte + secp256k1: + type: string + format: byte + title: PublicKey defines the keys available for use with Tendermint Validators + tendermint.p2p.DefaultNodeInfo: + type: object + properties: + protocol_version: + type: object + properties: + p2p: + type: string + format: uint64 + block: + type: string + format: uint64 + app: + type: string + format: uint64 + default_node_id: + type: string + listen_addr: + type: string + network: + type: string + version: + type: string + channels: + type: string + format: byte + moniker: + type: string + other: + type: object + properties: + tx_index: + type: string + rpc_address: + type: string + tendermint.p2p.DefaultNodeInfoOther: + type: object + properties: + tx_index: + type: string + rpc_address: + type: string + tendermint.p2p.ProtocolVersion: + type: object + properties: + p2p: + type: string + format: uint64 + block: + type: string + format: uint64 + app: + type: string + format: uint64 + tendermint.types.Block: + type: object + properties: + header: + type: object + properties: + version: + title: basic block info + type: object + properties: + block: + type: string + format: uint64 + app: + type: string + format: uint64 + description: >- + Consensus captures the consensus rules for processing a block in the blockchain, + + including all blockchain data structures and the rules of the application's + + state transition machine. + chain_id: + type: string + height: + type: string + format: int64 + time: + type: string + format: date-time + last_block_id: + type: object + properties: + hash: + type: string + format: byte + part_set_header: + type: object + properties: + total: + type: integer + format: int64 + hash: + type: string + format: byte + title: PartsetHeader + title: BlockID + last_commit_hash: + type: string + format: byte + title: hashes of block data + data_hash: + type: string + format: byte + validators_hash: + type: string + format: byte + title: hashes from the app output from the prev block + next_validators_hash: + type: string + format: byte + consensus_hash: + type: string + format: byte + app_hash: + type: string + format: byte + last_results_hash: + type: string + format: byte + evidence_hash: + type: string + format: byte + title: consensus info + proposer_address: + type: string + format: byte + description: Header defines the structure of a Tendermint block header. + data: + type: object + properties: + txs: + type: array + items: + type: string + format: byte + description: >- + Txs that will be applied by state @ block.Height+1. + + NOTE: not all txs here are valid. We're just agreeing on the order first. + + This means that block.AppHash does not include these txs. + title: Data contains the set of transactions included in the block + evidence: + type: object + properties: + evidence: + type: array + items: + type: object + properties: + duplicate_vote_evidence: + type: object + properties: + vote_a: + type: object + properties: + type: + type: string + enum: + - SIGNED_MSG_TYPE_UNKNOWN + - SIGNED_MSG_TYPE_PREVOTE + - SIGNED_MSG_TYPE_PRECOMMIT + - SIGNED_MSG_TYPE_PROPOSAL + default: SIGNED_MSG_TYPE_UNKNOWN + description: >- + SignedMsgType is a type of signed message in the consensus. + + + - SIGNED_MSG_TYPE_PREVOTE: Votes + - SIGNED_MSG_TYPE_PROPOSAL: Proposals + height: + type: string + format: int64 + round: + type: integer + format: int32 + block_id: + type: object + properties: + hash: + type: string + format: byte + part_set_header: + type: object + properties: + total: + type: integer + format: int64 + hash: + type: string + format: byte + title: PartsetHeader + title: BlockID + timestamp: + type: string + format: date-time + validator_address: + type: string + format: byte + validator_index: + type: integer + format: int32 + signature: + type: string + format: byte + description: >- + Vote represents a prevote, precommit, or commit vote from validators for + + consensus. + vote_b: + type: object + properties: + type: + type: string + enum: + - SIGNED_MSG_TYPE_UNKNOWN + - SIGNED_MSG_TYPE_PREVOTE + - SIGNED_MSG_TYPE_PRECOMMIT + - SIGNED_MSG_TYPE_PROPOSAL + default: SIGNED_MSG_TYPE_UNKNOWN + description: >- + SignedMsgType is a type of signed message in the consensus. + + + - SIGNED_MSG_TYPE_PREVOTE: Votes + - SIGNED_MSG_TYPE_PROPOSAL: Proposals + height: + type: string + format: int64 + round: + type: integer + format: int32 + block_id: + type: object + properties: + hash: + type: string + format: byte + part_set_header: + type: object + properties: + total: + type: integer + format: int64 + hash: + type: string + format: byte + title: PartsetHeader + title: BlockID + timestamp: + type: string + format: date-time + validator_address: + type: string + format: byte + validator_index: + type: integer + format: int32 + signature: + type: string + format: byte + description: >- + Vote represents a prevote, precommit, or commit vote from validators for + + consensus. + total_voting_power: + type: string + format: int64 + validator_power: + type: string + format: int64 + timestamp: + type: string + format: date-time + description: DuplicateVoteEvidence contains evidence of a validator signed two conflicting votes. + light_client_attack_evidence: + type: object + properties: + conflicting_block: + type: object + properties: + signed_header: + type: object + properties: + header: + type: object + properties: + version: + title: basic block info + type: object + properties: + block: + type: string + format: uint64 + app: + type: string + format: uint64 + description: >- + Consensus captures the consensus rules for processing a block in the blockchain, + + including all blockchain data structures and the rules of the application's + + state transition machine. + chain_id: + type: string + height: + type: string + format: int64 + time: + type: string + format: date-time + last_block_id: + type: object + properties: + hash: + type: string + format: byte + part_set_header: + type: object + properties: + total: + type: integer + format: int64 + hash: + type: string + format: byte + title: PartsetHeader + title: BlockID + last_commit_hash: + type: string + format: byte + title: hashes of block data + data_hash: + type: string + format: byte + validators_hash: + type: string + format: byte + title: hashes from the app output from the prev block + next_validators_hash: + type: string + format: byte + consensus_hash: + type: string + format: byte + app_hash: + type: string + format: byte + last_results_hash: + type: string + format: byte + evidence_hash: + type: string + format: byte + title: consensus info + proposer_address: + type: string + format: byte + description: Header defines the structure of a Tendermint block header. + commit: + type: object + properties: + height: + type: string + format: int64 + round: + type: integer + format: int32 + block_id: + type: object + properties: + hash: + type: string + format: byte + part_set_header: + type: object + properties: + total: + type: integer + format: int64 + hash: + type: string + format: byte + title: PartsetHeader + title: BlockID + signatures: + type: array + items: + type: object + properties: + block_id_flag: + type: string + enum: + - BLOCK_ID_FLAG_UNKNOWN + - BLOCK_ID_FLAG_ABSENT + - BLOCK_ID_FLAG_COMMIT + - BLOCK_ID_FLAG_NIL + default: BLOCK_ID_FLAG_UNKNOWN + title: BlockIdFlag indicates which BlcokID the signature is for + validator_address: + type: string + format: byte + timestamp: + type: string + format: date-time + signature: + type: string + format: byte + description: CommitSig is a part of the Vote included in a Commit. + description: Commit contains the evidence that a block was committed by a set of validators. + validator_set: + type: object + properties: + validators: + type: array + items: + type: object + properties: + address: + type: string + format: byte + pub_key: + type: object + properties: + ed25519: + type: string + format: byte + secp256k1: + type: string + format: byte + title: PublicKey defines the keys available for use with Tendermint Validators + voting_power: + type: string + format: int64 + proposer_priority: + type: string + format: int64 + proposer: + type: object + properties: + address: + type: string + format: byte + pub_key: + type: object + properties: + ed25519: + type: string + format: byte + secp256k1: + type: string + format: byte + title: PublicKey defines the keys available for use with Tendermint Validators + voting_power: + type: string + format: int64 + proposer_priority: + type: string + format: int64 + total_voting_power: + type: string + format: int64 + common_height: + type: string + format: int64 + byzantine_validators: + type: array + items: + type: object + properties: + address: + type: string + format: byte + pub_key: + type: object + properties: + ed25519: + type: string + format: byte + secp256k1: + type: string + format: byte + title: PublicKey defines the keys available for use with Tendermint Validators + voting_power: + type: string + format: int64 + proposer_priority: + type: string + format: int64 + total_voting_power: + type: string + format: int64 + timestamp: + type: string + format: date-time + description: LightClientAttackEvidence contains evidence of a set of validators attempting to mislead a light client. + last_commit: + type: object + properties: + height: + type: string + format: int64 + round: + type: integer + format: int32 + block_id: + type: object + properties: + hash: + type: string + format: byte + part_set_header: + type: object + properties: + total: + type: integer + format: int64 + hash: + type: string + format: byte + title: PartsetHeader + title: BlockID + signatures: + type: array + items: + type: object + properties: + block_id_flag: + type: string + enum: + - BLOCK_ID_FLAG_UNKNOWN + - BLOCK_ID_FLAG_ABSENT + - BLOCK_ID_FLAG_COMMIT + - BLOCK_ID_FLAG_NIL + default: BLOCK_ID_FLAG_UNKNOWN + title: BlockIdFlag indicates which BlcokID the signature is for + validator_address: + type: string + format: byte + timestamp: + type: string + format: date-time + signature: + type: string + format: byte + description: CommitSig is a part of the Vote included in a Commit. + description: Commit contains the evidence that a block was committed by a set of validators. + tendermint.types.BlockID: + type: object + properties: + hash: + type: string + format: byte + part_set_header: + type: object + properties: + total: + type: integer + format: int64 + hash: + type: string + format: byte + title: PartsetHeader + title: BlockID + tendermint.types.BlockIDFlag: + type: string + enum: + - BLOCK_ID_FLAG_UNKNOWN + - BLOCK_ID_FLAG_ABSENT + - BLOCK_ID_FLAG_COMMIT + - BLOCK_ID_FLAG_NIL + default: BLOCK_ID_FLAG_UNKNOWN + title: BlockIdFlag indicates which BlcokID the signature is for + tendermint.types.Commit: + type: object + properties: + height: + type: string + format: int64 + round: + type: integer + format: int32 + block_id: + type: object + properties: + hash: + type: string + format: byte + part_set_header: + type: object + properties: + total: + type: integer + format: int64 + hash: + type: string + format: byte + title: PartsetHeader + title: BlockID + signatures: + type: array + items: + type: object + properties: + block_id_flag: + type: string + enum: + - BLOCK_ID_FLAG_UNKNOWN + - BLOCK_ID_FLAG_ABSENT + - BLOCK_ID_FLAG_COMMIT + - BLOCK_ID_FLAG_NIL + default: BLOCK_ID_FLAG_UNKNOWN + title: BlockIdFlag indicates which BlcokID the signature is for + validator_address: + type: string + format: byte + timestamp: + type: string + format: date-time + signature: + type: string + format: byte + description: CommitSig is a part of the Vote included in a Commit. + description: Commit contains the evidence that a block was committed by a set of validators. + tendermint.types.CommitSig: + type: object + properties: + block_id_flag: + type: string + enum: + - BLOCK_ID_FLAG_UNKNOWN + - BLOCK_ID_FLAG_ABSENT + - BLOCK_ID_FLAG_COMMIT + - BLOCK_ID_FLAG_NIL + default: BLOCK_ID_FLAG_UNKNOWN + title: BlockIdFlag indicates which BlcokID the signature is for + validator_address: + type: string + format: byte + timestamp: + type: string + format: date-time + signature: + type: string + format: byte + description: CommitSig is a part of the Vote included in a Commit. + tendermint.types.Data: + type: object + properties: + txs: + type: array + items: + type: string + format: byte + description: >- + Txs that will be applied by state @ block.Height+1. + + NOTE: not all txs here are valid. We're just agreeing on the order first. + + This means that block.AppHash does not include these txs. + title: Data contains the set of transactions included in the block + tendermint.types.DuplicateVoteEvidence: + type: object + properties: + vote_a: + type: object + properties: + type: + type: string + enum: + - SIGNED_MSG_TYPE_UNKNOWN + - SIGNED_MSG_TYPE_PREVOTE + - SIGNED_MSG_TYPE_PRECOMMIT + - SIGNED_MSG_TYPE_PROPOSAL + default: SIGNED_MSG_TYPE_UNKNOWN + description: |- + SignedMsgType is a type of signed message in the consensus. + + - SIGNED_MSG_TYPE_PREVOTE: Votes + - SIGNED_MSG_TYPE_PROPOSAL: Proposals + height: + type: string + format: int64 + round: + type: integer + format: int32 + block_id: + type: object + properties: + hash: + type: string + format: byte + part_set_header: + type: object + properties: + total: + type: integer + format: int64 + hash: + type: string + format: byte + title: PartsetHeader + title: BlockID + timestamp: + type: string + format: date-time + validator_address: + type: string + format: byte + validator_index: + type: integer + format: int32 + signature: + type: string + format: byte + description: >- + Vote represents a prevote, precommit, or commit vote from validators for + + consensus. + vote_b: + type: object + properties: + type: + type: string + enum: + - SIGNED_MSG_TYPE_UNKNOWN + - SIGNED_MSG_TYPE_PREVOTE + - SIGNED_MSG_TYPE_PRECOMMIT + - SIGNED_MSG_TYPE_PROPOSAL + default: SIGNED_MSG_TYPE_UNKNOWN + description: |- + SignedMsgType is a type of signed message in the consensus. + + - SIGNED_MSG_TYPE_PREVOTE: Votes + - SIGNED_MSG_TYPE_PROPOSAL: Proposals + height: + type: string + format: int64 + round: + type: integer + format: int32 + block_id: + type: object + properties: + hash: + type: string + format: byte + part_set_header: + type: object + properties: + total: + type: integer + format: int64 + hash: + type: string + format: byte + title: PartsetHeader + title: BlockID + timestamp: + type: string + format: date-time + validator_address: + type: string + format: byte + validator_index: + type: integer + format: int32 + signature: + type: string + format: byte + description: >- + Vote represents a prevote, precommit, or commit vote from validators for + + consensus. + total_voting_power: + type: string + format: int64 + validator_power: + type: string + format: int64 + timestamp: + type: string + format: date-time + description: DuplicateVoteEvidence contains evidence of a validator signed two conflicting votes. + tendermint.types.Evidence: + type: object + properties: + duplicate_vote_evidence: + type: object + properties: + vote_a: + type: object + properties: + type: + type: string + enum: + - SIGNED_MSG_TYPE_UNKNOWN + - SIGNED_MSG_TYPE_PREVOTE + - SIGNED_MSG_TYPE_PRECOMMIT + - SIGNED_MSG_TYPE_PROPOSAL + default: SIGNED_MSG_TYPE_UNKNOWN + description: |- + SignedMsgType is a type of signed message in the consensus. + + - SIGNED_MSG_TYPE_PREVOTE: Votes + - SIGNED_MSG_TYPE_PROPOSAL: Proposals + height: + type: string + format: int64 + round: + type: integer + format: int32 + block_id: + type: object + properties: + hash: + type: string + format: byte + part_set_header: + type: object + properties: + total: + type: integer + format: int64 + hash: + type: string + format: byte + title: PartsetHeader + title: BlockID + timestamp: + type: string + format: date-time + validator_address: + type: string + format: byte + validator_index: + type: integer + format: int32 + signature: + type: string + format: byte + description: >- + Vote represents a prevote, precommit, or commit vote from validators for + + consensus. + vote_b: + type: object + properties: + type: + type: string + enum: + - SIGNED_MSG_TYPE_UNKNOWN + - SIGNED_MSG_TYPE_PREVOTE + - SIGNED_MSG_TYPE_PRECOMMIT + - SIGNED_MSG_TYPE_PROPOSAL + default: SIGNED_MSG_TYPE_UNKNOWN + description: |- + SignedMsgType is a type of signed message in the consensus. + + - SIGNED_MSG_TYPE_PREVOTE: Votes + - SIGNED_MSG_TYPE_PROPOSAL: Proposals + height: + type: string + format: int64 + round: + type: integer + format: int32 + block_id: + type: object + properties: + hash: + type: string + format: byte + part_set_header: + type: object + properties: + total: + type: integer + format: int64 + hash: + type: string + format: byte + title: PartsetHeader + title: BlockID + timestamp: + type: string + format: date-time + validator_address: + type: string + format: byte + validator_index: + type: integer + format: int32 + signature: + type: string + format: byte + description: >- + Vote represents a prevote, precommit, or commit vote from validators for + + consensus. + total_voting_power: + type: string + format: int64 + validator_power: + type: string + format: int64 + timestamp: + type: string + format: date-time + description: DuplicateVoteEvidence contains evidence of a validator signed two conflicting votes. + light_client_attack_evidence: + type: object + properties: + conflicting_block: + type: object + properties: + signed_header: + type: object + properties: + header: + type: object + properties: + version: + title: basic block info + type: object + properties: + block: + type: string + format: uint64 + app: + type: string + format: uint64 + description: >- + Consensus captures the consensus rules for processing a block in the blockchain, + + including all blockchain data structures and the rules of the application's + + state transition machine. + chain_id: + type: string + height: + type: string + format: int64 + time: + type: string + format: date-time + last_block_id: + type: object + properties: + hash: + type: string + format: byte + part_set_header: + type: object + properties: + total: + type: integer + format: int64 + hash: + type: string + format: byte + title: PartsetHeader + title: BlockID + last_commit_hash: + type: string + format: byte + title: hashes of block data + data_hash: + type: string + format: byte + validators_hash: + type: string + format: byte + title: hashes from the app output from the prev block + next_validators_hash: + type: string + format: byte + consensus_hash: + type: string + format: byte + app_hash: + type: string + format: byte + last_results_hash: + type: string + format: byte + evidence_hash: + type: string + format: byte + title: consensus info + proposer_address: + type: string + format: byte + description: Header defines the structure of a Tendermint block header. + commit: + type: object + properties: + height: + type: string + format: int64 + round: + type: integer + format: int32 + block_id: + type: object + properties: + hash: + type: string + format: byte + part_set_header: + type: object + properties: + total: + type: integer + format: int64 + hash: + type: string + format: byte + title: PartsetHeader + title: BlockID + signatures: + type: array + items: + type: object + properties: + block_id_flag: + type: string + enum: + - BLOCK_ID_FLAG_UNKNOWN + - BLOCK_ID_FLAG_ABSENT + - BLOCK_ID_FLAG_COMMIT + - BLOCK_ID_FLAG_NIL + default: BLOCK_ID_FLAG_UNKNOWN + title: BlockIdFlag indicates which BlcokID the signature is for + validator_address: + type: string + format: byte + timestamp: + type: string + format: date-time + signature: + type: string + format: byte + description: CommitSig is a part of the Vote included in a Commit. + description: Commit contains the evidence that a block was committed by a set of validators. + validator_set: + type: object + properties: + validators: + type: array + items: + type: object + properties: + address: + type: string + format: byte + pub_key: + type: object + properties: + ed25519: + type: string + format: byte + secp256k1: + type: string + format: byte + title: PublicKey defines the keys available for use with Tendermint Validators + voting_power: + type: string + format: int64 + proposer_priority: + type: string + format: int64 + proposer: + type: object + properties: + address: + type: string + format: byte + pub_key: + type: object + properties: + ed25519: + type: string + format: byte + secp256k1: + type: string + format: byte + title: PublicKey defines the keys available for use with Tendermint Validators + voting_power: + type: string + format: int64 + proposer_priority: + type: string + format: int64 + total_voting_power: + type: string + format: int64 + common_height: + type: string + format: int64 + byzantine_validators: + type: array + items: + type: object + properties: + address: + type: string + format: byte + pub_key: + type: object + properties: + ed25519: + type: string + format: byte + secp256k1: + type: string + format: byte + title: PublicKey defines the keys available for use with Tendermint Validators + voting_power: + type: string + format: int64 + proposer_priority: + type: string + format: int64 + total_voting_power: + type: string + format: int64 + timestamp: + type: string + format: date-time + description: LightClientAttackEvidence contains evidence of a set of validators attempting to mislead a light client. + tendermint.types.EvidenceList: + type: object + properties: + evidence: + type: array + items: + type: object + properties: + duplicate_vote_evidence: + type: object + properties: + vote_a: + type: object + properties: + type: + type: string + enum: + - SIGNED_MSG_TYPE_UNKNOWN + - SIGNED_MSG_TYPE_PREVOTE + - SIGNED_MSG_TYPE_PRECOMMIT + - SIGNED_MSG_TYPE_PROPOSAL + default: SIGNED_MSG_TYPE_UNKNOWN + description: >- + SignedMsgType is a type of signed message in the consensus. + + + - SIGNED_MSG_TYPE_PREVOTE: Votes + - SIGNED_MSG_TYPE_PROPOSAL: Proposals + height: + type: string + format: int64 + round: + type: integer + format: int32 + block_id: + type: object + properties: + hash: + type: string + format: byte + part_set_header: + type: object + properties: + total: + type: integer + format: int64 + hash: + type: string + format: byte + title: PartsetHeader + title: BlockID + timestamp: + type: string + format: date-time + validator_address: + type: string + format: byte + validator_index: + type: integer + format: int32 + signature: + type: string + format: byte + description: >- + Vote represents a prevote, precommit, or commit vote from validators for + + consensus. + vote_b: + type: object + properties: + type: + type: string + enum: + - SIGNED_MSG_TYPE_UNKNOWN + - SIGNED_MSG_TYPE_PREVOTE + - SIGNED_MSG_TYPE_PRECOMMIT + - SIGNED_MSG_TYPE_PROPOSAL + default: SIGNED_MSG_TYPE_UNKNOWN + description: >- + SignedMsgType is a type of signed message in the consensus. + + + - SIGNED_MSG_TYPE_PREVOTE: Votes + - SIGNED_MSG_TYPE_PROPOSAL: Proposals + height: + type: string + format: int64 + round: + type: integer + format: int32 + block_id: + type: object + properties: + hash: + type: string + format: byte + part_set_header: + type: object + properties: + total: + type: integer + format: int64 + hash: + type: string + format: byte + title: PartsetHeader + title: BlockID + timestamp: + type: string + format: date-time + validator_address: + type: string + format: byte + validator_index: + type: integer + format: int32 + signature: + type: string + format: byte + description: >- + Vote represents a prevote, precommit, or commit vote from validators for + + consensus. + total_voting_power: + type: string + format: int64 + validator_power: + type: string + format: int64 + timestamp: + type: string + format: date-time + description: DuplicateVoteEvidence contains evidence of a validator signed two conflicting votes. + light_client_attack_evidence: + type: object + properties: + conflicting_block: + type: object + properties: + signed_header: + type: object + properties: + header: + type: object + properties: + version: + title: basic block info + type: object + properties: + block: + type: string + format: uint64 + app: + type: string + format: uint64 + description: >- + Consensus captures the consensus rules for processing a block in the blockchain, + + including all blockchain data structures and the rules of the application's + + state transition machine. + chain_id: + type: string + height: + type: string + format: int64 + time: + type: string + format: date-time + last_block_id: + type: object + properties: + hash: + type: string + format: byte + part_set_header: + type: object + properties: + total: + type: integer + format: int64 + hash: + type: string + format: byte + title: PartsetHeader + title: BlockID + last_commit_hash: + type: string + format: byte + title: hashes of block data + data_hash: + type: string + format: byte + validators_hash: + type: string + format: byte + title: hashes from the app output from the prev block + next_validators_hash: + type: string + format: byte + consensus_hash: + type: string + format: byte + app_hash: + type: string + format: byte + last_results_hash: + type: string + format: byte + evidence_hash: + type: string + format: byte + title: consensus info + proposer_address: + type: string + format: byte + description: Header defines the structure of a Tendermint block header. + commit: + type: object + properties: + height: + type: string + format: int64 + round: + type: integer + format: int32 + block_id: + type: object + properties: + hash: + type: string + format: byte + part_set_header: + type: object + properties: + total: + type: integer + format: int64 + hash: + type: string + format: byte + title: PartsetHeader + title: BlockID + signatures: + type: array + items: + type: object + properties: + block_id_flag: + type: string + enum: + - BLOCK_ID_FLAG_UNKNOWN + - BLOCK_ID_FLAG_ABSENT + - BLOCK_ID_FLAG_COMMIT + - BLOCK_ID_FLAG_NIL + default: BLOCK_ID_FLAG_UNKNOWN + title: BlockIdFlag indicates which BlcokID the signature is for + validator_address: + type: string + format: byte + timestamp: + type: string + format: date-time + signature: + type: string + format: byte + description: CommitSig is a part of the Vote included in a Commit. + description: Commit contains the evidence that a block was committed by a set of validators. + validator_set: + type: object + properties: + validators: + type: array + items: + type: object + properties: + address: + type: string + format: byte + pub_key: + type: object + properties: + ed25519: + type: string + format: byte + secp256k1: + type: string + format: byte + title: PublicKey defines the keys available for use with Tendermint Validators + voting_power: + type: string + format: int64 + proposer_priority: + type: string + format: int64 + proposer: + type: object + properties: + address: + type: string + format: byte + pub_key: + type: object + properties: + ed25519: + type: string + format: byte + secp256k1: + type: string + format: byte + title: PublicKey defines the keys available for use with Tendermint Validators + voting_power: + type: string + format: int64 + proposer_priority: + type: string + format: int64 + total_voting_power: + type: string + format: int64 + common_height: + type: string + format: int64 + byzantine_validators: + type: array + items: + type: object + properties: + address: + type: string + format: byte + pub_key: + type: object + properties: + ed25519: + type: string + format: byte + secp256k1: + type: string + format: byte + title: PublicKey defines the keys available for use with Tendermint Validators + voting_power: + type: string + format: int64 + proposer_priority: + type: string + format: int64 + total_voting_power: + type: string + format: int64 + timestamp: + type: string + format: date-time + description: LightClientAttackEvidence contains evidence of a set of validators attempting to mislead a light client. + tendermint.types.Header: + type: object + properties: + version: + title: basic block info + type: object + properties: + block: + type: string + format: uint64 + app: + type: string + format: uint64 + description: >- + Consensus captures the consensus rules for processing a block in the blockchain, + + including all blockchain data structures and the rules of the application's + + state transition machine. + chain_id: + type: string + height: + type: string + format: int64 + time: + type: string + format: date-time + last_block_id: + type: object + properties: + hash: + type: string + format: byte + part_set_header: + type: object + properties: + total: + type: integer + format: int64 + hash: + type: string + format: byte + title: PartsetHeader + title: BlockID + last_commit_hash: + type: string + format: byte + title: hashes of block data + data_hash: + type: string + format: byte + validators_hash: + type: string + format: byte + title: hashes from the app output from the prev block + next_validators_hash: + type: string + format: byte + consensus_hash: + type: string + format: byte + app_hash: + type: string + format: byte + last_results_hash: + type: string + format: byte + evidence_hash: + type: string + format: byte + title: consensus info + proposer_address: + type: string + format: byte + description: Header defines the structure of a Tendermint block header. + tendermint.types.LightBlock: + type: object + properties: + signed_header: + type: object + properties: + header: + type: object + properties: + version: + title: basic block info + type: object + properties: + block: + type: string + format: uint64 + app: + type: string + format: uint64 + description: >- + Consensus captures the consensus rules for processing a block in the blockchain, + + including all blockchain data structures and the rules of the application's + + state transition machine. + chain_id: + type: string + height: + type: string + format: int64 + time: + type: string + format: date-time + last_block_id: + type: object + properties: + hash: + type: string + format: byte + part_set_header: + type: object + properties: + total: + type: integer + format: int64 + hash: + type: string + format: byte + title: PartsetHeader + title: BlockID + last_commit_hash: + type: string + format: byte + title: hashes of block data + data_hash: + type: string + format: byte + validators_hash: + type: string + format: byte + title: hashes from the app output from the prev block + next_validators_hash: + type: string + format: byte + consensus_hash: + type: string + format: byte + app_hash: + type: string + format: byte + last_results_hash: + type: string + format: byte + evidence_hash: + type: string + format: byte + title: consensus info + proposer_address: + type: string + format: byte + description: Header defines the structure of a Tendermint block header. + commit: + type: object + properties: + height: + type: string + format: int64 + round: + type: integer + format: int32 + block_id: + type: object + properties: + hash: + type: string + format: byte + part_set_header: + type: object + properties: + total: + type: integer + format: int64 + hash: + type: string + format: byte + title: PartsetHeader + title: BlockID + signatures: + type: array + items: + type: object + properties: + block_id_flag: + type: string + enum: + - BLOCK_ID_FLAG_UNKNOWN + - BLOCK_ID_FLAG_ABSENT + - BLOCK_ID_FLAG_COMMIT + - BLOCK_ID_FLAG_NIL + default: BLOCK_ID_FLAG_UNKNOWN + title: BlockIdFlag indicates which BlcokID the signature is for + validator_address: + type: string + format: byte + timestamp: + type: string + format: date-time + signature: + type: string + format: byte + description: CommitSig is a part of the Vote included in a Commit. + description: Commit contains the evidence that a block was committed by a set of validators. + validator_set: + type: object + properties: + validators: + type: array + items: + type: object + properties: + address: + type: string + format: byte + pub_key: + type: object + properties: + ed25519: + type: string + format: byte + secp256k1: + type: string + format: byte + title: PublicKey defines the keys available for use with Tendermint Validators + voting_power: + type: string + format: int64 + proposer_priority: + type: string + format: int64 + proposer: + type: object + properties: + address: + type: string + format: byte + pub_key: + type: object + properties: + ed25519: + type: string + format: byte + secp256k1: + type: string + format: byte + title: PublicKey defines the keys available for use with Tendermint Validators + voting_power: + type: string + format: int64 + proposer_priority: + type: string + format: int64 + total_voting_power: + type: string + format: int64 + tendermint.types.LightClientAttackEvidence: + type: object + properties: + conflicting_block: + type: object + properties: + signed_header: + type: object + properties: + header: + type: object + properties: + version: + title: basic block info + type: object + properties: + block: + type: string + format: uint64 + app: + type: string + format: uint64 + description: >- + Consensus captures the consensus rules for processing a block in the blockchain, + + including all blockchain data structures and the rules of the application's + + state transition machine. + chain_id: + type: string + height: + type: string + format: int64 + time: + type: string + format: date-time + last_block_id: + type: object + properties: + hash: + type: string + format: byte + part_set_header: + type: object + properties: + total: + type: integer + format: int64 + hash: + type: string + format: byte + title: PartsetHeader + title: BlockID + last_commit_hash: + type: string + format: byte + title: hashes of block data + data_hash: + type: string + format: byte + validators_hash: + type: string + format: byte + title: hashes from the app output from the prev block + next_validators_hash: + type: string + format: byte + consensus_hash: + type: string + format: byte + app_hash: + type: string + format: byte + last_results_hash: + type: string + format: byte + evidence_hash: + type: string + format: byte + title: consensus info + proposer_address: + type: string + format: byte + description: Header defines the structure of a Tendermint block header. + commit: + type: object + properties: + height: + type: string + format: int64 + round: + type: integer + format: int32 + block_id: + type: object + properties: + hash: + type: string + format: byte + part_set_header: + type: object + properties: + total: + type: integer + format: int64 + hash: + type: string + format: byte + title: PartsetHeader + title: BlockID + signatures: + type: array + items: + type: object + properties: + block_id_flag: + type: string + enum: + - BLOCK_ID_FLAG_UNKNOWN + - BLOCK_ID_FLAG_ABSENT + - BLOCK_ID_FLAG_COMMIT + - BLOCK_ID_FLAG_NIL + default: BLOCK_ID_FLAG_UNKNOWN + title: BlockIdFlag indicates which BlcokID the signature is for + validator_address: + type: string + format: byte + timestamp: + type: string + format: date-time + signature: + type: string + format: byte + description: CommitSig is a part of the Vote included in a Commit. + description: Commit contains the evidence that a block was committed by a set of validators. + validator_set: + type: object + properties: + validators: + type: array + items: + type: object + properties: + address: + type: string + format: byte + pub_key: + type: object + properties: + ed25519: + type: string + format: byte + secp256k1: + type: string + format: byte + title: PublicKey defines the keys available for use with Tendermint Validators + voting_power: + type: string + format: int64 + proposer_priority: + type: string + format: int64 + proposer: + type: object + properties: + address: + type: string + format: byte + pub_key: + type: object + properties: + ed25519: + type: string + format: byte + secp256k1: + type: string + format: byte + title: PublicKey defines the keys available for use with Tendermint Validators + voting_power: + type: string + format: int64 + proposer_priority: + type: string + format: int64 + total_voting_power: + type: string + format: int64 + common_height: + type: string + format: int64 + byzantine_validators: + type: array + items: + type: object + properties: + address: + type: string + format: byte + pub_key: + type: object + properties: + ed25519: + type: string + format: byte + secp256k1: + type: string + format: byte + title: PublicKey defines the keys available for use with Tendermint Validators + voting_power: + type: string + format: int64 + proposer_priority: + type: string + format: int64 + total_voting_power: + type: string + format: int64 + timestamp: + type: string + format: date-time + description: LightClientAttackEvidence contains evidence of a set of validators attempting to mislead a light client. + tendermint.types.PartSetHeader: + type: object + properties: + total: + type: integer + format: int64 + hash: + type: string + format: byte + title: PartsetHeader + tendermint.types.SignedHeader: + type: object + properties: + header: + type: object + properties: + version: + title: basic block info + type: object + properties: + block: + type: string + format: uint64 + app: + type: string + format: uint64 + description: >- + Consensus captures the consensus rules for processing a block in the blockchain, + + including all blockchain data structures and the rules of the application's + + state transition machine. + chain_id: + type: string + height: + type: string + format: int64 + time: + type: string + format: date-time + last_block_id: + type: object + properties: + hash: + type: string + format: byte + part_set_header: + type: object + properties: + total: + type: integer + format: int64 + hash: + type: string + format: byte + title: PartsetHeader + title: BlockID + last_commit_hash: + type: string + format: byte + title: hashes of block data + data_hash: + type: string + format: byte + validators_hash: + type: string + format: byte + title: hashes from the app output from the prev block + next_validators_hash: + type: string + format: byte + consensus_hash: + type: string + format: byte + app_hash: + type: string + format: byte + last_results_hash: + type: string + format: byte + evidence_hash: + type: string + format: byte + title: consensus info + proposer_address: + type: string + format: byte + description: Header defines the structure of a Tendermint block header. + commit: + type: object + properties: + height: + type: string + format: int64 + round: + type: integer + format: int32 + block_id: + type: object + properties: + hash: + type: string + format: byte + part_set_header: + type: object + properties: + total: + type: integer + format: int64 + hash: + type: string + format: byte + title: PartsetHeader + title: BlockID + signatures: + type: array + items: + type: object + properties: + block_id_flag: + type: string + enum: + - BLOCK_ID_FLAG_UNKNOWN + - BLOCK_ID_FLAG_ABSENT + - BLOCK_ID_FLAG_COMMIT + - BLOCK_ID_FLAG_NIL + default: BLOCK_ID_FLAG_UNKNOWN + title: BlockIdFlag indicates which BlcokID the signature is for + validator_address: + type: string + format: byte + timestamp: + type: string + format: date-time + signature: + type: string + format: byte + description: CommitSig is a part of the Vote included in a Commit. + description: Commit contains the evidence that a block was committed by a set of validators. + tendermint.types.SignedMsgType: + type: string + enum: + - SIGNED_MSG_TYPE_UNKNOWN + - SIGNED_MSG_TYPE_PREVOTE + - SIGNED_MSG_TYPE_PRECOMMIT + - SIGNED_MSG_TYPE_PROPOSAL + default: SIGNED_MSG_TYPE_UNKNOWN + description: |- + SignedMsgType is a type of signed message in the consensus. + + - SIGNED_MSG_TYPE_PREVOTE: Votes + - SIGNED_MSG_TYPE_PROPOSAL: Proposals + tendermint.types.Validator: + type: object + properties: + address: + type: string + format: byte + pub_key: + type: object + properties: + ed25519: + type: string + format: byte + secp256k1: + type: string + format: byte + title: PublicKey defines the keys available for use with Tendermint Validators + voting_power: + type: string + format: int64 + proposer_priority: + type: string + format: int64 + tendermint.types.ValidatorSet: + type: object + properties: + validators: + type: array + items: + type: object + properties: + address: + type: string + format: byte + pub_key: + type: object + properties: + ed25519: + type: string + format: byte + secp256k1: + type: string + format: byte + title: PublicKey defines the keys available for use with Tendermint Validators + voting_power: + type: string + format: int64 + proposer_priority: + type: string + format: int64 + proposer: + type: object + properties: + address: + type: string + format: byte + pub_key: + type: object + properties: + ed25519: + type: string + format: byte + secp256k1: + type: string + format: byte + title: PublicKey defines the keys available for use with Tendermint Validators + voting_power: + type: string + format: int64 + proposer_priority: + type: string + format: int64 + total_voting_power: + type: string + format: int64 + tendermint.types.Vote: + type: object + properties: + type: + type: string + enum: + - SIGNED_MSG_TYPE_UNKNOWN + - SIGNED_MSG_TYPE_PREVOTE + - SIGNED_MSG_TYPE_PRECOMMIT + - SIGNED_MSG_TYPE_PROPOSAL + default: SIGNED_MSG_TYPE_UNKNOWN + description: |- + SignedMsgType is a type of signed message in the consensus. + + - SIGNED_MSG_TYPE_PREVOTE: Votes + - SIGNED_MSG_TYPE_PROPOSAL: Proposals + height: + type: string + format: int64 + round: + type: integer + format: int32 + block_id: + type: object + properties: + hash: + type: string + format: byte + part_set_header: + type: object + properties: + total: + type: integer + format: int64 + hash: + type: string + format: byte + title: PartsetHeader + title: BlockID + timestamp: + type: string + format: date-time + validator_address: + type: string + format: byte + validator_index: + type: integer + format: int32 + signature: + type: string + format: byte + description: |- + Vote represents a prevote, precommit, or commit vote from validators for + consensus. + tendermint.version.Consensus: + type: object + properties: + block: + type: string + format: uint64 + app: + type: string + format: uint64 + description: >- + Consensus captures the consensus rules for processing a block in the blockchain, + + including all blockchain data structures and the rules of the application's + + state transition machine. + cosmos.base.v1beta1.DecCoin: + type: object + properties: + denom: + type: string + amount: + type: string + description: |- + DecCoin defines a token with a denomination and a decimal amount. + + NOTE: The amount field is an Dec which implements the custom method + signatures required by gogoproto. + cosmos.distribution.v1beta1.DelegationDelegatorReward: + type: object + properties: + validator_address: + type: string + reward: + type: array + items: + type: object + properties: + denom: + type: string + amount: + type: string + description: >- + DecCoin defines a token with a denomination and a decimal amount. + + + NOTE: The amount field is an Dec which implements the custom method + + signatures required by gogoproto. + description: |- + DelegationDelegatorReward represents the properties + of a delegator's delegation reward. + cosmos.distribution.v1beta1.Params: + type: object + properties: + community_tax: + type: string + base_proposer_reward: + type: string + bonus_proposer_reward: + type: string + withdraw_addr_enabled: + type: boolean + description: Params defines the set of params for the distribution module. + cosmos.distribution.v1beta1.QueryCommunityPoolResponse: + type: object + properties: + pool: + type: array + items: + type: object + properties: + denom: + type: string + amount: + type: string + description: >- + DecCoin defines a token with a denomination and a decimal amount. + + + NOTE: The amount field is an Dec which implements the custom method + + signatures required by gogoproto. + description: pool defines community pool's coins. + description: >- + QueryCommunityPoolResponse is the response type for the Query/CommunityPool + + RPC method. + cosmos.distribution.v1beta1.QueryDelegationRewardsResponse: + type: object + properties: + rewards: + type: array + items: + type: object + properties: + denom: + type: string + amount: + type: string + description: >- + DecCoin defines a token with a denomination and a decimal amount. + + + NOTE: The amount field is an Dec which implements the custom method + + signatures required by gogoproto. + description: rewards defines the rewards accrued by a delegation. + description: |- + QueryDelegationRewardsResponse is the response type for the + Query/DelegationRewards RPC method. + cosmos.distribution.v1beta1.QueryDelegationTotalRewardsResponse: + type: object + properties: + rewards: + type: array + items: + type: object + properties: + validator_address: + type: string + reward: + type: array + items: + type: object + properties: + denom: + type: string + amount: + type: string + description: >- + DecCoin defines a token with a denomination and a decimal amount. + + + NOTE: The amount field is an Dec which implements the custom method + + signatures required by gogoproto. + description: |- + DelegationDelegatorReward represents the properties + of a delegator's delegation reward. + description: rewards defines all the rewards accrued by a delegator. + total: + type: array + items: + type: object + properties: + denom: + type: string + amount: + type: string + description: >- + DecCoin defines a token with a denomination and a decimal amount. + + + NOTE: The amount field is an Dec which implements the custom method + + signatures required by gogoproto. + description: total defines the sum of all the rewards. + description: |- + QueryDelegationTotalRewardsResponse is the response type for the + Query/DelegationTotalRewards RPC method. + cosmos.distribution.v1beta1.QueryDelegatorValidatorsResponse: + type: object + properties: + validators: + type: array + items: + type: string + description: validators defines the validators a delegator is delegating for. + description: |- + QueryDelegatorValidatorsResponse is the response type for the + Query/DelegatorValidators RPC method. + cosmos.distribution.v1beta1.QueryDelegatorWithdrawAddressResponse: + type: object + properties: + withdraw_address: + type: string + description: withdraw_address defines the delegator address to query for. + description: |- + QueryDelegatorWithdrawAddressResponse is the response type for the + Query/DelegatorWithdrawAddress RPC method. + cosmos.distribution.v1beta1.QueryParamsResponse: + type: object + properties: + params: + description: params defines the parameters of the module. + type: object + properties: + community_tax: + type: string + base_proposer_reward: + type: string + bonus_proposer_reward: + type: string + withdraw_addr_enabled: + type: boolean + description: QueryParamsResponse is the response type for the Query/Params RPC method. + cosmos.distribution.v1beta1.QueryValidatorCommissionResponse: + type: object + properties: + commission: + description: commission defines the commision the validator received. + type: object + properties: + commission: + type: array + items: + type: object + properties: + denom: + type: string + amount: + type: string + description: >- + DecCoin defines a token with a denomination and a decimal amount. + + + NOTE: The amount field is an Dec which implements the custom method + + signatures required by gogoproto. + title: |- + QueryValidatorCommissionResponse is the response type for the + Query/ValidatorCommission RPC method + cosmos.distribution.v1beta1.QueryValidatorOutstandingRewardsResponse: + type: object + properties: + rewards: + type: object + properties: + rewards: + type: array + items: + type: object + properties: + denom: + type: string + amount: + type: string + description: >- + DecCoin defines a token with a denomination and a decimal amount. + + + NOTE: The amount field is an Dec which implements the custom method + + signatures required by gogoproto. + description: >- + ValidatorOutstandingRewards represents outstanding (un-withdrawn) rewards + + for a validator inexpensive to track, allows simple sanity checks. + description: |- + QueryValidatorOutstandingRewardsResponse is the response type for the + Query/ValidatorOutstandingRewards RPC method. + cosmos.distribution.v1beta1.QueryValidatorSlashesResponse: + type: object + properties: + slashes: + type: array + items: + type: object + properties: + validator_period: + type: string + format: uint64 + fraction: + type: string + description: |- + ValidatorSlashEvent represents a validator slash event. + Height is implicit within the store key. + This is needed to calculate appropriate amount of staking tokens + for delegations which are withdrawn after a slash has occurred. + description: slashes defines the slashes the validator received. + pagination: + description: pagination defines the pagination in the response. + type: object + properties: + next_key: + type: string + format: byte + title: |- + next_key is the key to be passed to PageRequest.key to + query the next page most efficiently + total: + type: string + format: uint64 + title: >- + total is total number of results available if PageRequest.count_total + + was set, its value is undefined otherwise + description: |- + QueryValidatorSlashesResponse is the response type for the + Query/ValidatorSlashes RPC method. + cosmos.distribution.v1beta1.ValidatorAccumulatedCommission: + type: object + properties: + commission: + type: array + items: + type: object + properties: + denom: + type: string + amount: + type: string + description: >- + DecCoin defines a token with a denomination and a decimal amount. + + + NOTE: The amount field is an Dec which implements the custom method + + signatures required by gogoproto. + description: |- + ValidatorAccumulatedCommission represents accumulated commission + for a validator kept as a running counter, can be withdrawn at any time. + cosmos.distribution.v1beta1.ValidatorOutstandingRewards: + type: object + properties: + rewards: + type: array + items: + type: object + properties: + denom: + type: string + amount: + type: string + description: >- + DecCoin defines a token with a denomination and a decimal amount. + + + NOTE: The amount field is an Dec which implements the custom method + + signatures required by gogoproto. + description: >- + ValidatorOutstandingRewards represents outstanding (un-withdrawn) rewards + + for a validator inexpensive to track, allows simple sanity checks. + cosmos.distribution.v1beta1.ValidatorSlashEvent: + type: object + properties: + validator_period: + type: string + format: uint64 + fraction: + type: string + description: |- + ValidatorSlashEvent represents a validator slash event. + Height is implicit within the store key. + This is needed to calculate appropriate amount of staking tokens + for delegations which are withdrawn after a slash has occurred. + cosmos.evidence.v1beta1.QueryAllEvidenceResponse: + type: object + properties: + evidence: + type: array + items: + type: object + properties: + type_url: + type: string + description: >- + A URL/resource name that uniquely identifies the type of the serialized + + protocol buffer message. This string must contain at least + + one "/" character. The last segment of the URL's path must represent + + the fully qualified name of the type (as in + + `path/google.protobuf.Duration`). The name should be in a canonical form + + (e.g., leading "." is not accepted). + + + In practice, teams usually precompile into the binary all types that they + + expect it to use in the context of Any. However, for URLs which use the + + scheme `http`, `https`, or no scheme, one can optionally set up a type + + server that maps type URLs to message definitions as follows: + + + * If no scheme is provided, `https` is assumed. + + * An HTTP GET on the URL must yield a [google.protobuf.Type][] + + value in binary format, or produce an error. + * Applications are allowed to cache lookup results based on the + + URL, or have them precompiled into a binary to avoid any + lookup. Therefore, binary compatibility needs to be preserved + on changes to types. (Use versioned type names to manage + breaking changes.) + + Note: this functionality is not currently available in the official + + protobuf release, and it is not used for type URLs beginning with + + type.googleapis.com. + + + Schemes other than `http`, `https` (or the empty scheme) might be + + used with implementation specific semantics. + value: + type: string + format: byte + description: Must be a valid serialized protocol buffer of the above specified type. + description: >- + `Any` contains an arbitrary serialized protocol buffer message along with a + + URL that describes the type of the serialized message. + + + Protobuf library provides support to pack/unpack Any values in the form + + of utility functions or additional generated methods of the Any type. + + + Example 1: Pack and unpack a message in C++. + + + Foo foo = ...; + Any any; + any.PackFrom(foo); + ... + if (any.UnpackTo(&foo)) { + ... + } + + Example 2: Pack and unpack a message in Java. + + + Foo foo = ...; + Any any = Any.pack(foo); + ... + if (any.is(Foo.class)) { + foo = any.unpack(Foo.class); + } + + Example 3: Pack and unpack a message in Python. + + foo = Foo(...) + any = Any() + any.Pack(foo) + ... + if any.Is(Foo.DESCRIPTOR): + any.Unpack(foo) + ... + + Example 4: Pack and unpack a message in Go + + foo := &pb.Foo{...} + any, err := ptypes.MarshalAny(foo) + ... + foo := &pb.Foo{} + if err := ptypes.UnmarshalAny(any, foo); err != nil { + ... + } + + The pack methods provided by protobuf library will by default use + + 'type.googleapis.com/full.type.name' as the type URL and the unpack + + methods only use the fully qualified type name after the last '/' + + in the type URL, for example "foo.bar.com/x/y.z" will yield type + + name "y.z". + + + + JSON + + ==== + + The JSON representation of an `Any` value uses the regular + + representation of the deserialized, embedded message, with an + + additional field `@type` which contains the type URL. Example: + + + package google.profile; + message Person { + string first_name = 1; + string last_name = 2; + } + + { + "@type": "type.googleapis.com/google.profile.Person", + "firstName": , + "lastName": + } + + If the embedded message type is well-known and has a custom JSON + + representation, that representation will be embedded adding a field + + `value` which holds the custom JSON in addition to the `@type` + + field. Example (for message [google.protobuf.Duration][]): + + + { + "@type": "type.googleapis.com/google.protobuf.Duration", + "value": "1.212s" + } + description: evidence returns all evidences. + pagination: + description: pagination defines the pagination in the response. + type: object + properties: + next_key: + type: string + format: byte + title: |- + next_key is the key to be passed to PageRequest.key to + query the next page most efficiently + total: + type: string + format: uint64 + title: >- + total is total number of results available if PageRequest.count_total + + was set, its value is undefined otherwise + description: >- + QueryAllEvidenceResponse is the response type for the Query/AllEvidence RPC + + method. + cosmos.evidence.v1beta1.QueryEvidenceResponse: + type: object + properties: + evidence: + type: object + properties: + type_url: + type: string + description: >- + A URL/resource name that uniquely identifies the type of the serialized + + protocol buffer message. This string must contain at least + + one "/" character. The last segment of the URL's path must represent + + the fully qualified name of the type (as in + + `path/google.protobuf.Duration`). The name should be in a canonical form + + (e.g., leading "." is not accepted). + + + In practice, teams usually precompile into the binary all types that they + + expect it to use in the context of Any. However, for URLs which use the + + scheme `http`, `https`, or no scheme, one can optionally set up a type + + server that maps type URLs to message definitions as follows: + + + * If no scheme is provided, `https` is assumed. + + * An HTTP GET on the URL must yield a [google.protobuf.Type][] + + value in binary format, or produce an error. + * Applications are allowed to cache lookup results based on the + + URL, or have them precompiled into a binary to avoid any + lookup. Therefore, binary compatibility needs to be preserved + on changes to types. (Use versioned type names to manage + breaking changes.) + + Note: this functionality is not currently available in the official + + protobuf release, and it is not used for type URLs beginning with + + type.googleapis.com. + + + Schemes other than `http`, `https` (or the empty scheme) might be + + used with implementation specific semantics. + value: + type: string + format: byte + description: Must be a valid serialized protocol buffer of the above specified type. + description: >- + `Any` contains an arbitrary serialized protocol buffer message along with a + + URL that describes the type of the serialized message. + + + Protobuf library provides support to pack/unpack Any values in the form + + of utility functions or additional generated methods of the Any type. + + + Example 1: Pack and unpack a message in C++. + + + Foo foo = ...; + Any any; + any.PackFrom(foo); + ... + if (any.UnpackTo(&foo)) { + ... + } + + Example 2: Pack and unpack a message in Java. + + + Foo foo = ...; + Any any = Any.pack(foo); + ... + if (any.is(Foo.class)) { + foo = any.unpack(Foo.class); + } + + Example 3: Pack and unpack a message in Python. + + foo = Foo(...) + any = Any() + any.Pack(foo) + ... + if any.Is(Foo.DESCRIPTOR): + any.Unpack(foo) + ... + + Example 4: Pack and unpack a message in Go + + foo := &pb.Foo{...} + any, err := ptypes.MarshalAny(foo) + ... + foo := &pb.Foo{} + if err := ptypes.UnmarshalAny(any, foo); err != nil { + ... + } + + The pack methods provided by protobuf library will by default use + + 'type.googleapis.com/full.type.name' as the type URL and the unpack + + methods only use the fully qualified type name after the last '/' + + in the type URL, for example "foo.bar.com/x/y.z" will yield type + + name "y.z". + + + + JSON + + ==== + + The JSON representation of an `Any` value uses the regular + + representation of the deserialized, embedded message, with an + + additional field `@type` which contains the type URL. Example: + + + package google.profile; + message Person { + string first_name = 1; + string last_name = 2; + } + + { + "@type": "type.googleapis.com/google.profile.Person", + "firstName": , + "lastName": + } + + If the embedded message type is well-known and has a custom JSON + + representation, that representation will be embedded adding a field + + `value` which holds the custom JSON in addition to the `@type` + + field. Example (for message [google.protobuf.Duration][]): + + + { + "@type": "type.googleapis.com/google.protobuf.Duration", + "value": "1.212s" + } + description: QueryEvidenceResponse is the response type for the Query/Evidence RPC method. + cosmos.feegrant.v1beta1.Grant: + type: object + properties: + granter: + type: string + description: granter is the address of the user granting an allowance of their funds. + grantee: + type: string + description: grantee is the address of the user being granted an allowance of another user's funds. + allowance: + description: allowance can be any of basic and filtered fee allowance. + type: object + properties: + type_url: + type: string + description: >- + A URL/resource name that uniquely identifies the type of the serialized + + protocol buffer message. This string must contain at least + + one "/" character. The last segment of the URL's path must represent + + the fully qualified name of the type (as in + + `path/google.protobuf.Duration`). The name should be in a canonical form + + (e.g., leading "." is not accepted). + + + In practice, teams usually precompile into the binary all types that they + + expect it to use in the context of Any. However, for URLs which use the + + scheme `http`, `https`, or no scheme, one can optionally set up a type + + server that maps type URLs to message definitions as follows: + + + * If no scheme is provided, `https` is assumed. + + * An HTTP GET on the URL must yield a [google.protobuf.Type][] + + value in binary format, or produce an error. + * Applications are allowed to cache lookup results based on the + + URL, or have them precompiled into a binary to avoid any + lookup. Therefore, binary compatibility needs to be preserved + on changes to types. (Use versioned type names to manage + breaking changes.) + + Note: this functionality is not currently available in the official + + protobuf release, and it is not used for type URLs beginning with + + type.googleapis.com. + + + Schemes other than `http`, `https` (or the empty scheme) might be + + used with implementation specific semantics. + value: + type: string + format: byte + description: Must be a valid serialized protocol buffer of the above specified type. + title: Grant is stored in the KVStore to record a grant with full context + cosmos.feegrant.v1beta1.QueryAllowanceResponse: + type: object + properties: + allowance: + description: allowance is a allowance granted for grantee by granter. + type: object + properties: + granter: + type: string + description: granter is the address of the user granting an allowance of their funds. + grantee: + type: string + description: grantee is the address of the user being granted an allowance of another user's funds. + allowance: + description: allowance can be any of basic and filtered fee allowance. + type: object + properties: + type_url: + type: string + description: >- + A URL/resource name that uniquely identifies the type of the serialized + + protocol buffer message. This string must contain at least + + one "/" character. The last segment of the URL's path must represent + + the fully qualified name of the type (as in + + `path/google.protobuf.Duration`). The name should be in a canonical form + + (e.g., leading "." is not accepted). + + + In practice, teams usually precompile into the binary all types that they + + expect it to use in the context of Any. However, for URLs which use the + + scheme `http`, `https`, or no scheme, one can optionally set up a type + + server that maps type URLs to message definitions as follows: + + + * If no scheme is provided, `https` is assumed. + + * An HTTP GET on the URL must yield a [google.protobuf.Type][] + + value in binary format, or produce an error. + * Applications are allowed to cache lookup results based on the + + URL, or have them precompiled into a binary to avoid any + lookup. Therefore, binary compatibility needs to be preserved + on changes to types. (Use versioned type names to manage + breaking changes.) + + Note: this functionality is not currently available in the official + + protobuf release, and it is not used for type URLs beginning with + + type.googleapis.com. + + + Schemes other than `http`, `https` (or the empty scheme) might be + + used with implementation specific semantics. + value: + type: string + format: byte + description: Must be a valid serialized protocol buffer of the above specified type. + title: Grant is stored in the KVStore to record a grant with full context + description: QueryAllowanceResponse is the response type for the Query/Allowance RPC method. + cosmos.feegrant.v1beta1.QueryAllowancesByGranterResponse: + type: object + properties: + allowances: + type: array + items: + type: object + properties: + granter: + type: string + description: granter is the address of the user granting an allowance of their funds. + grantee: + type: string + description: grantee is the address of the user being granted an allowance of another user's funds. + allowance: + description: allowance can be any of basic and filtered fee allowance. + type: object + properties: + type_url: + type: string + description: >- + A URL/resource name that uniquely identifies the type of the serialized + + protocol buffer message. This string must contain at least + + one "/" character. The last segment of the URL's path must represent + + the fully qualified name of the type (as in + + `path/google.protobuf.Duration`). The name should be in a canonical form + + (e.g., leading "." is not accepted). + + + In practice, teams usually precompile into the binary all types that they + + expect it to use in the context of Any. However, for URLs which use the + + scheme `http`, `https`, or no scheme, one can optionally set up a type + + server that maps type URLs to message definitions as follows: + + + * If no scheme is provided, `https` is assumed. + + * An HTTP GET on the URL must yield a [google.protobuf.Type][] + + value in binary format, or produce an error. + * Applications are allowed to cache lookup results based on the + + URL, or have them precompiled into a binary to avoid any + lookup. Therefore, binary compatibility needs to be preserved + on changes to types. (Use versioned type names to manage + breaking changes.) + + Note: this functionality is not currently available in the official + + protobuf release, and it is not used for type URLs beginning with + + type.googleapis.com. + + + Schemes other than `http`, `https` (or the empty scheme) might be + + used with implementation specific semantics. + value: + type: string + format: byte + description: Must be a valid serialized protocol buffer of the above specified type. + title: Grant is stored in the KVStore to record a grant with full context + description: allowances that have been issued by the granter. + pagination: + description: pagination defines an pagination for the response. + type: object + properties: + next_key: + type: string + format: byte + title: |- + next_key is the key to be passed to PageRequest.key to + query the next page most efficiently + total: + type: string + format: uint64 + title: >- + total is total number of results available if PageRequest.count_total + + was set, its value is undefined otherwise + description: QueryAllowancesByGranterResponse is the response type for the Query/AllowancesByGranter RPC method. + cosmos.feegrant.v1beta1.QueryAllowancesResponse: + type: object + properties: + allowances: + type: array + items: + type: object + properties: + granter: + type: string + description: granter is the address of the user granting an allowance of their funds. + grantee: + type: string + description: grantee is the address of the user being granted an allowance of another user's funds. + allowance: + description: allowance can be any of basic and filtered fee allowance. + type: object + properties: + type_url: + type: string + description: >- + A URL/resource name that uniquely identifies the type of the serialized + + protocol buffer message. This string must contain at least + + one "/" character. The last segment of the URL's path must represent + + the fully qualified name of the type (as in + + `path/google.protobuf.Duration`). The name should be in a canonical form + + (e.g., leading "." is not accepted). + + + In practice, teams usually precompile into the binary all types that they + + expect it to use in the context of Any. However, for URLs which use the + + scheme `http`, `https`, or no scheme, one can optionally set up a type + + server that maps type URLs to message definitions as follows: + + + * If no scheme is provided, `https` is assumed. + + * An HTTP GET on the URL must yield a [google.protobuf.Type][] + + value in binary format, or produce an error. + * Applications are allowed to cache lookup results based on the + + URL, or have them precompiled into a binary to avoid any + lookup. Therefore, binary compatibility needs to be preserved + on changes to types. (Use versioned type names to manage + breaking changes.) + + Note: this functionality is not currently available in the official + + protobuf release, and it is not used for type URLs beginning with + + type.googleapis.com. + + + Schemes other than `http`, `https` (or the empty scheme) might be + + used with implementation specific semantics. + value: + type: string + format: byte + description: Must be a valid serialized protocol buffer of the above specified type. + title: Grant is stored in the KVStore to record a grant with full context + description: allowances are allowance's granted for grantee by granter. + pagination: + description: pagination defines an pagination for the response. + type: object + properties: + next_key: + type: string + format: byte + title: |- + next_key is the key to be passed to PageRequest.key to + query the next page most efficiently + total: + type: string + format: uint64 + title: >- + total is total number of results available if PageRequest.count_total + + was set, its value is undefined otherwise + description: QueryAllowancesResponse is the response type for the Query/Allowances RPC method. + cosmos.gov.v1beta1.Deposit: + type: object + properties: + proposal_id: + type: string + format: uint64 + depositor: + type: string + amount: + type: array + items: + type: object + properties: + denom: + type: string + amount: + type: string + description: >- + Coin defines a token with a denomination and an amount. + + + NOTE: The amount field is an Int which implements the custom method + + signatures required by gogoproto. + description: |- + Deposit defines an amount deposited by an account address to an active + proposal. + cosmos.gov.v1beta1.DepositParams: + type: object + properties: + min_deposit: + type: array + items: + type: object + properties: + denom: + type: string + amount: + type: string + description: >- + Coin defines a token with a denomination and an amount. + + + NOTE: The amount field is an Int which implements the custom method + + signatures required by gogoproto. + description: Minimum deposit for a proposal to enter voting period. + max_deposit_period: + type: string + description: >- + Maximum period for Atom holders to deposit on a proposal. Initial value: 2 + + months. + description: DepositParams defines the params for deposits on governance proposals. + cosmos.gov.v1beta1.Proposal: + type: object + properties: + proposal_id: + type: string + format: uint64 + content: + type: object + properties: + type_url: + type: string + description: >- + A URL/resource name that uniquely identifies the type of the serialized + + protocol buffer message. This string must contain at least + + one "/" character. The last segment of the URL's path must represent + + the fully qualified name of the type (as in + + `path/google.protobuf.Duration`). The name should be in a canonical form + + (e.g., leading "." is not accepted). + + + In practice, teams usually precompile into the binary all types that they + + expect it to use in the context of Any. However, for URLs which use the + + scheme `http`, `https`, or no scheme, one can optionally set up a type + + server that maps type URLs to message definitions as follows: + + + * If no scheme is provided, `https` is assumed. + + * An HTTP GET on the URL must yield a [google.protobuf.Type][] + + value in binary format, or produce an error. + * Applications are allowed to cache lookup results based on the + + URL, or have them precompiled into a binary to avoid any + lookup. Therefore, binary compatibility needs to be preserved + on changes to types. (Use versioned type names to manage + breaking changes.) + + Note: this functionality is not currently available in the official + + protobuf release, and it is not used for type URLs beginning with + + type.googleapis.com. + + + Schemes other than `http`, `https` (or the empty scheme) might be + + used with implementation specific semantics. + value: + type: string + format: byte + description: Must be a valid serialized protocol buffer of the above specified type. + description: >- + `Any` contains an arbitrary serialized protocol buffer message along with a + + URL that describes the type of the serialized message. + + + Protobuf library provides support to pack/unpack Any values in the form + + of utility functions or additional generated methods of the Any type. + + + Example 1: Pack and unpack a message in C++. + + + Foo foo = ...; + Any any; + any.PackFrom(foo); + ... + if (any.UnpackTo(&foo)) { + ... + } + + Example 2: Pack and unpack a message in Java. + + + Foo foo = ...; + Any any = Any.pack(foo); + ... + if (any.is(Foo.class)) { + foo = any.unpack(Foo.class); + } + + Example 3: Pack and unpack a message in Python. + + foo = Foo(...) + any = Any() + any.Pack(foo) + ... + if any.Is(Foo.DESCRIPTOR): + any.Unpack(foo) + ... + + Example 4: Pack and unpack a message in Go + + foo := &pb.Foo{...} + any, err := ptypes.MarshalAny(foo) + ... + foo := &pb.Foo{} + if err := ptypes.UnmarshalAny(any, foo); err != nil { + ... + } + + The pack methods provided by protobuf library will by default use + + 'type.googleapis.com/full.type.name' as the type URL and the unpack + + methods only use the fully qualified type name after the last '/' + + in the type URL, for example "foo.bar.com/x/y.z" will yield type + + name "y.z". + + + + JSON + + ==== + + The JSON representation of an `Any` value uses the regular + + representation of the deserialized, embedded message, with an + + additional field `@type` which contains the type URL. Example: + + + package google.profile; + message Person { + string first_name = 1; + string last_name = 2; + } + + { + "@type": "type.googleapis.com/google.profile.Person", + "firstName": , + "lastName": + } + + If the embedded message type is well-known and has a custom JSON + + representation, that representation will be embedded adding a field + + `value` which holds the custom JSON in addition to the `@type` + + field. Example (for message [google.protobuf.Duration][]): + + + { + "@type": "type.googleapis.com/google.protobuf.Duration", + "value": "1.212s" + } + status: + type: string + enum: + - PROPOSAL_STATUS_UNSPECIFIED + - PROPOSAL_STATUS_DEPOSIT_PERIOD + - PROPOSAL_STATUS_VOTING_PERIOD + - PROPOSAL_STATUS_PASSED + - PROPOSAL_STATUS_REJECTED + - PROPOSAL_STATUS_FAILED + default: PROPOSAL_STATUS_UNSPECIFIED + description: >- + ProposalStatus enumerates the valid statuses of a proposal. + + + - PROPOSAL_STATUS_UNSPECIFIED: PROPOSAL_STATUS_UNSPECIFIED defines the default propopsal status. + - PROPOSAL_STATUS_DEPOSIT_PERIOD: PROPOSAL_STATUS_DEPOSIT_PERIOD defines a proposal status during the deposit + period. + + - PROPOSAL_STATUS_VOTING_PERIOD: PROPOSAL_STATUS_VOTING_PERIOD defines a proposal status during the voting + period. + + - PROPOSAL_STATUS_PASSED: PROPOSAL_STATUS_PASSED defines a proposal status of a proposal that has + passed. + + - PROPOSAL_STATUS_REJECTED: PROPOSAL_STATUS_REJECTED defines a proposal status of a proposal that has + been rejected. + + - PROPOSAL_STATUS_FAILED: PROPOSAL_STATUS_FAILED defines a proposal status of a proposal that has + failed. + final_tally_result: + type: object + properties: + yes: + type: string + abstain: + type: string + no: + type: string + no_with_veto: + type: string + description: TallyResult defines a standard tally for a governance proposal. + submit_time: + type: string + format: date-time + deposit_end_time: + type: string + format: date-time + total_deposit: + type: array + items: + type: object + properties: + denom: + type: string + amount: + type: string + description: >- + Coin defines a token with a denomination and an amount. + + + NOTE: The amount field is an Int which implements the custom method + + signatures required by gogoproto. + voting_start_time: + type: string + format: date-time + voting_end_time: + type: string + format: date-time + description: Proposal defines the core field members of a governance proposal. + cosmos.gov.v1beta1.ProposalStatus: + type: string + enum: + - PROPOSAL_STATUS_UNSPECIFIED + - PROPOSAL_STATUS_DEPOSIT_PERIOD + - PROPOSAL_STATUS_VOTING_PERIOD + - PROPOSAL_STATUS_PASSED + - PROPOSAL_STATUS_REJECTED + - PROPOSAL_STATUS_FAILED + default: PROPOSAL_STATUS_UNSPECIFIED + description: >- + ProposalStatus enumerates the valid statuses of a proposal. + + + - PROPOSAL_STATUS_UNSPECIFIED: PROPOSAL_STATUS_UNSPECIFIED defines the default propopsal status. + - PROPOSAL_STATUS_DEPOSIT_PERIOD: PROPOSAL_STATUS_DEPOSIT_PERIOD defines a proposal status during the deposit + period. + + - PROPOSAL_STATUS_VOTING_PERIOD: PROPOSAL_STATUS_VOTING_PERIOD defines a proposal status during the voting + period. + + - PROPOSAL_STATUS_PASSED: PROPOSAL_STATUS_PASSED defines a proposal status of a proposal that has + passed. + + - PROPOSAL_STATUS_REJECTED: PROPOSAL_STATUS_REJECTED defines a proposal status of a proposal that has + been rejected. + + - PROPOSAL_STATUS_FAILED: PROPOSAL_STATUS_FAILED defines a proposal status of a proposal that has + failed. + cosmos.gov.v1beta1.QueryDepositResponse: + type: object + properties: + deposit: + type: object + properties: + proposal_id: + type: string + format: uint64 + depositor: + type: string + amount: + type: array + items: + type: object + properties: + denom: + type: string + amount: + type: string + description: >- + Coin defines a token with a denomination and an amount. + + + NOTE: The amount field is an Int which implements the custom method + + signatures required by gogoproto. + description: >- + Deposit defines an amount deposited by an account address to an active + + proposal. + description: QueryDepositResponse is the response type for the Query/Deposit RPC method. + cosmos.gov.v1beta1.QueryDepositsResponse: + type: object + properties: + deposits: + type: array + items: + type: object + properties: + proposal_id: + type: string + format: uint64 + depositor: + type: string + amount: + type: array + items: + type: object + properties: + denom: + type: string + amount: + type: string + description: >- + Coin defines a token with a denomination and an amount. + + + NOTE: The amount field is an Int which implements the custom method + + signatures required by gogoproto. + description: >- + Deposit defines an amount deposited by an account address to an active + + proposal. + pagination: + description: pagination defines the pagination in the response. + type: object + properties: + next_key: + type: string + format: byte + title: |- + next_key is the key to be passed to PageRequest.key to + query the next page most efficiently + total: + type: string + format: uint64 + title: >- + total is total number of results available if PageRequest.count_total + + was set, its value is undefined otherwise + description: QueryDepositsResponse is the response type for the Query/Deposits RPC method. + cosmos.gov.v1beta1.QueryParamsResponse: + type: object + properties: + voting_params: + description: voting_params defines the parameters related to voting. + type: object + properties: + voting_period: + type: string + description: Length of the voting period. + deposit_params: + description: deposit_params defines the parameters related to deposit. + type: object + properties: + min_deposit: + type: array + items: + type: object + properties: + denom: + type: string + amount: + type: string + description: >- + Coin defines a token with a denomination and an amount. + + + NOTE: The amount field is an Int which implements the custom method + + signatures required by gogoproto. + description: Minimum deposit for a proposal to enter voting period. + max_deposit_period: + type: string + description: >- + Maximum period for Atom holders to deposit on a proposal. Initial value: 2 + + months. + tally_params: + description: tally_params defines the parameters related to tally. + type: object + properties: + quorum: + type: string + format: byte + description: >- + Minimum percentage of total stake needed to vote for a result to be + + considered valid. + threshold: + type: string + format: byte + description: "Minimum proportion of Yes votes for proposal to pass. Default value: 0.5." + veto_threshold: + type: string + format: byte + description: >- + Minimum value of Veto votes to Total votes ratio for proposal to be + + vetoed. Default value: 1/3. + description: QueryParamsResponse is the response type for the Query/Params RPC method. + cosmos.gov.v1beta1.QueryProposalResponse: + type: object + properties: + proposal: + type: object + properties: + proposal_id: + type: string + format: uint64 + content: + type: object + properties: + type_url: + type: string + description: >- + A URL/resource name that uniquely identifies the type of the serialized + + protocol buffer message. This string must contain at least + + one "/" character. The last segment of the URL's path must represent + + the fully qualified name of the type (as in + + `path/google.protobuf.Duration`). The name should be in a canonical form + + (e.g., leading "." is not accepted). + + + In practice, teams usually precompile into the binary all types that they + + expect it to use in the context of Any. However, for URLs which use the + + scheme `http`, `https`, or no scheme, one can optionally set up a type + + server that maps type URLs to message definitions as follows: + + + * If no scheme is provided, `https` is assumed. + + * An HTTP GET on the URL must yield a [google.protobuf.Type][] + + value in binary format, or produce an error. + * Applications are allowed to cache lookup results based on the + + URL, or have them precompiled into a binary to avoid any + lookup. Therefore, binary compatibility needs to be preserved + on changes to types. (Use versioned type names to manage + breaking changes.) + + Note: this functionality is not currently available in the official + + protobuf release, and it is not used for type URLs beginning with + + type.googleapis.com. + + + Schemes other than `http`, `https` (or the empty scheme) might be + + used with implementation specific semantics. + value: + type: string + format: byte + description: Must be a valid serialized protocol buffer of the above specified type. + description: >- + `Any` contains an arbitrary serialized protocol buffer message along with a + + URL that describes the type of the serialized message. + + + Protobuf library provides support to pack/unpack Any values in the form + + of utility functions or additional generated methods of the Any type. + + + Example 1: Pack and unpack a message in C++. + + + Foo foo = ...; + Any any; + any.PackFrom(foo); + ... + if (any.UnpackTo(&foo)) { + ... + } + + Example 2: Pack and unpack a message in Java. + + + Foo foo = ...; + Any any = Any.pack(foo); + ... + if (any.is(Foo.class)) { + foo = any.unpack(Foo.class); + } + + Example 3: Pack and unpack a message in Python. + + foo = Foo(...) + any = Any() + any.Pack(foo) + ... + if any.Is(Foo.DESCRIPTOR): + any.Unpack(foo) + ... + + Example 4: Pack and unpack a message in Go + + foo := &pb.Foo{...} + any, err := ptypes.MarshalAny(foo) + ... + foo := &pb.Foo{} + if err := ptypes.UnmarshalAny(any, foo); err != nil { + ... + } + + The pack methods provided by protobuf library will by default use + + 'type.googleapis.com/full.type.name' as the type URL and the unpack + + methods only use the fully qualified type name after the last '/' + + in the type URL, for example "foo.bar.com/x/y.z" will yield type + + name "y.z". + + + + JSON + + ==== + + The JSON representation of an `Any` value uses the regular + + representation of the deserialized, embedded message, with an + + additional field `@type` which contains the type URL. Example: + + + package google.profile; + message Person { + string first_name = 1; + string last_name = 2; + } + + { + "@type": "type.googleapis.com/google.profile.Person", + "firstName": , + "lastName": + } + + If the embedded message type is well-known and has a custom JSON + + representation, that representation will be embedded adding a field + + `value` which holds the custom JSON in addition to the `@type` + + field. Example (for message [google.protobuf.Duration][]): + + + { + "@type": "type.googleapis.com/google.protobuf.Duration", + "value": "1.212s" + } + status: + type: string + enum: + - PROPOSAL_STATUS_UNSPECIFIED + - PROPOSAL_STATUS_DEPOSIT_PERIOD + - PROPOSAL_STATUS_VOTING_PERIOD + - PROPOSAL_STATUS_PASSED + - PROPOSAL_STATUS_REJECTED + - PROPOSAL_STATUS_FAILED + default: PROPOSAL_STATUS_UNSPECIFIED + description: >- + ProposalStatus enumerates the valid statuses of a proposal. + + + - PROPOSAL_STATUS_UNSPECIFIED: PROPOSAL_STATUS_UNSPECIFIED defines the default propopsal status. + - PROPOSAL_STATUS_DEPOSIT_PERIOD: PROPOSAL_STATUS_DEPOSIT_PERIOD defines a proposal status during the deposit + period. + + - PROPOSAL_STATUS_VOTING_PERIOD: PROPOSAL_STATUS_VOTING_PERIOD defines a proposal status during the voting + period. + + - PROPOSAL_STATUS_PASSED: PROPOSAL_STATUS_PASSED defines a proposal status of a proposal that has + passed. + + - PROPOSAL_STATUS_REJECTED: PROPOSAL_STATUS_REJECTED defines a proposal status of a proposal that has + been rejected. + + - PROPOSAL_STATUS_FAILED: PROPOSAL_STATUS_FAILED defines a proposal status of a proposal that has + failed. + final_tally_result: + type: object + properties: + yes: + type: string + abstain: + type: string + no: + type: string + no_with_veto: + type: string + description: TallyResult defines a standard tally for a governance proposal. + submit_time: + type: string + format: date-time + deposit_end_time: + type: string + format: date-time + total_deposit: + type: array + items: + type: object + properties: + denom: + type: string + amount: + type: string + description: >- + Coin defines a token with a denomination and an amount. + + + NOTE: The amount field is an Int which implements the custom method + + signatures required by gogoproto. + voting_start_time: + type: string + format: date-time + voting_end_time: + type: string + format: date-time + description: Proposal defines the core field members of a governance proposal. + description: QueryProposalResponse is the response type for the Query/Proposal RPC method. + cosmos.gov.v1beta1.QueryProposalsResponse: + type: object + properties: + proposals: + type: array + items: + type: object + properties: + proposal_id: + type: string + format: uint64 + content: + type: object + properties: + type_url: + type: string + description: >- + A URL/resource name that uniquely identifies the type of the serialized + + protocol buffer message. This string must contain at least + + one "/" character. The last segment of the URL's path must represent + + the fully qualified name of the type (as in + + `path/google.protobuf.Duration`). The name should be in a canonical form + + (e.g., leading "." is not accepted). + + + In practice, teams usually precompile into the binary all types that they + + expect it to use in the context of Any. However, for URLs which use the + + scheme `http`, `https`, or no scheme, one can optionally set up a type + + server that maps type URLs to message definitions as follows: + + + * If no scheme is provided, `https` is assumed. + + * An HTTP GET on the URL must yield a [google.protobuf.Type][] + + value in binary format, or produce an error. + * Applications are allowed to cache lookup results based on the + + URL, or have them precompiled into a binary to avoid any + lookup. Therefore, binary compatibility needs to be preserved + on changes to types. (Use versioned type names to manage + breaking changes.) + + Note: this functionality is not currently available in the official + + protobuf release, and it is not used for type URLs beginning with + + type.googleapis.com. + + + Schemes other than `http`, `https` (or the empty scheme) might be + + used with implementation specific semantics. + value: + type: string + format: byte + description: Must be a valid serialized protocol buffer of the above specified type. + description: >- + `Any` contains an arbitrary serialized protocol buffer message along with a + + URL that describes the type of the serialized message. + + + Protobuf library provides support to pack/unpack Any values in the form + + of utility functions or additional generated methods of the Any type. + + + Example 1: Pack and unpack a message in C++. + + + Foo foo = ...; + Any any; + any.PackFrom(foo); + ... + if (any.UnpackTo(&foo)) { + ... + } + + Example 2: Pack and unpack a message in Java. + + + Foo foo = ...; + Any any = Any.pack(foo); + ... + if (any.is(Foo.class)) { + foo = any.unpack(Foo.class); + } + + Example 3: Pack and unpack a message in Python. + + foo = Foo(...) + any = Any() + any.Pack(foo) + ... + if any.Is(Foo.DESCRIPTOR): + any.Unpack(foo) + ... + + Example 4: Pack and unpack a message in Go + + foo := &pb.Foo{...} + any, err := ptypes.MarshalAny(foo) + ... + foo := &pb.Foo{} + if err := ptypes.UnmarshalAny(any, foo); err != nil { + ... + } + + The pack methods provided by protobuf library will by default use + + 'type.googleapis.com/full.type.name' as the type URL and the unpack + + methods only use the fully qualified type name after the last '/' + + in the type URL, for example "foo.bar.com/x/y.z" will yield type + + name "y.z". + + + + JSON + + ==== + + The JSON representation of an `Any` value uses the regular + + representation of the deserialized, embedded message, with an + + additional field `@type` which contains the type URL. Example: + + + package google.profile; + message Person { + string first_name = 1; + string last_name = 2; + } + + { + "@type": "type.googleapis.com/google.profile.Person", + "firstName": , + "lastName": + } + + If the embedded message type is well-known and has a custom JSON + + representation, that representation will be embedded adding a field + + `value` which holds the custom JSON in addition to the `@type` + + field. Example (for message [google.protobuf.Duration][]): + + + { + "@type": "type.googleapis.com/google.protobuf.Duration", + "value": "1.212s" + } + status: + type: string + enum: + - PROPOSAL_STATUS_UNSPECIFIED + - PROPOSAL_STATUS_DEPOSIT_PERIOD + - PROPOSAL_STATUS_VOTING_PERIOD + - PROPOSAL_STATUS_PASSED + - PROPOSAL_STATUS_REJECTED + - PROPOSAL_STATUS_FAILED + default: PROPOSAL_STATUS_UNSPECIFIED + description: >- + ProposalStatus enumerates the valid statuses of a proposal. + + + - PROPOSAL_STATUS_UNSPECIFIED: PROPOSAL_STATUS_UNSPECIFIED defines the default propopsal status. + - PROPOSAL_STATUS_DEPOSIT_PERIOD: PROPOSAL_STATUS_DEPOSIT_PERIOD defines a proposal status during the deposit + period. + + - PROPOSAL_STATUS_VOTING_PERIOD: PROPOSAL_STATUS_VOTING_PERIOD defines a proposal status during the voting + period. + + - PROPOSAL_STATUS_PASSED: PROPOSAL_STATUS_PASSED defines a proposal status of a proposal that has + passed. + + - PROPOSAL_STATUS_REJECTED: PROPOSAL_STATUS_REJECTED defines a proposal status of a proposal that has + been rejected. + + - PROPOSAL_STATUS_FAILED: PROPOSAL_STATUS_FAILED defines a proposal status of a proposal that has + failed. + final_tally_result: + type: object + properties: + yes: + type: string + abstain: + type: string + no: + type: string + no_with_veto: + type: string + description: TallyResult defines a standard tally for a governance proposal. + submit_time: + type: string + format: date-time + deposit_end_time: + type: string + format: date-time + total_deposit: + type: array + items: + type: object + properties: + denom: + type: string + amount: + type: string + description: >- + Coin defines a token with a denomination and an amount. + + + NOTE: The amount field is an Int which implements the custom method + + signatures required by gogoproto. + voting_start_time: + type: string + format: date-time + voting_end_time: + type: string + format: date-time + description: Proposal defines the core field members of a governance proposal. + pagination: + description: pagination defines the pagination in the response. + type: object + properties: + next_key: + type: string + format: byte + title: |- + next_key is the key to be passed to PageRequest.key to + query the next page most efficiently + total: + type: string + format: uint64 + title: >- + total is total number of results available if PageRequest.count_total + + was set, its value is undefined otherwise + description: |- + QueryProposalsResponse is the response type for the Query/Proposals RPC + method. + cosmos.gov.v1beta1.QueryTallyResultResponse: + type: object + properties: + tally: + type: object + properties: + yes: + type: string + abstain: + type: string + no: + type: string + no_with_veto: + type: string + description: TallyResult defines a standard tally for a governance proposal. + description: QueryTallyResultResponse is the response type for the Query/Tally RPC method. + cosmos.gov.v1beta1.QueryVoteResponse: + type: object + properties: + vote: + type: object + properties: + proposal_id: + type: string + format: uint64 + voter: + type: string + option: + description: >- + Deprecated: Prefer to use `options` instead. This field is set in queries + + if and only if `len(options) == 1` and that option has weight 1. In all + + other cases, this field will default to VOTE_OPTION_UNSPECIFIED. + type: string + enum: + - VOTE_OPTION_UNSPECIFIED + - VOTE_OPTION_YES + - VOTE_OPTION_ABSTAIN + - VOTE_OPTION_NO + - VOTE_OPTION_NO_WITH_VETO + default: VOTE_OPTION_UNSPECIFIED + options: + type: array + items: + type: object + properties: + option: + type: string + enum: + - VOTE_OPTION_UNSPECIFIED + - VOTE_OPTION_YES + - VOTE_OPTION_ABSTAIN + - VOTE_OPTION_NO + - VOTE_OPTION_NO_WITH_VETO + default: VOTE_OPTION_UNSPECIFIED + description: >- + VoteOption enumerates the valid vote options for a given governance proposal. + + + - VOTE_OPTION_UNSPECIFIED: VOTE_OPTION_UNSPECIFIED defines a no-op vote option. + - VOTE_OPTION_YES: VOTE_OPTION_YES defines a yes vote option. + - VOTE_OPTION_ABSTAIN: VOTE_OPTION_ABSTAIN defines an abstain vote option. + - VOTE_OPTION_NO: VOTE_OPTION_NO defines a no vote option. + - VOTE_OPTION_NO_WITH_VETO: VOTE_OPTION_NO_WITH_VETO defines a no with veto vote option. + weight: + type: string + description: |- + WeightedVoteOption defines a unit of vote for vote split. + + Since: cosmos-sdk 0.43 + title: "Since: cosmos-sdk 0.43" + description: |- + Vote defines a vote on a governance proposal. + A Vote consists of a proposal ID, the voter, and the vote option. + description: QueryVoteResponse is the response type for the Query/Vote RPC method. + cosmos.gov.v1beta1.QueryVotesResponse: + type: object + properties: + votes: + type: array + items: + type: object + properties: + proposal_id: + type: string + format: uint64 + voter: + type: string + option: + description: >- + Deprecated: Prefer to use `options` instead. This field is set in queries + + if and only if `len(options) == 1` and that option has weight 1. In all + + other cases, this field will default to VOTE_OPTION_UNSPECIFIED. + type: string + enum: + - VOTE_OPTION_UNSPECIFIED + - VOTE_OPTION_YES + - VOTE_OPTION_ABSTAIN + - VOTE_OPTION_NO + - VOTE_OPTION_NO_WITH_VETO + default: VOTE_OPTION_UNSPECIFIED + options: + type: array + items: + type: object + properties: + option: + type: string + enum: + - VOTE_OPTION_UNSPECIFIED + - VOTE_OPTION_YES + - VOTE_OPTION_ABSTAIN + - VOTE_OPTION_NO + - VOTE_OPTION_NO_WITH_VETO + default: VOTE_OPTION_UNSPECIFIED + description: >- + VoteOption enumerates the valid vote options for a given governance proposal. + + + - VOTE_OPTION_UNSPECIFIED: VOTE_OPTION_UNSPECIFIED defines a no-op vote option. + - VOTE_OPTION_YES: VOTE_OPTION_YES defines a yes vote option. + - VOTE_OPTION_ABSTAIN: VOTE_OPTION_ABSTAIN defines an abstain vote option. + - VOTE_OPTION_NO: VOTE_OPTION_NO defines a no vote option. + - VOTE_OPTION_NO_WITH_VETO: VOTE_OPTION_NO_WITH_VETO defines a no with veto vote option. + weight: + type: string + description: |- + WeightedVoteOption defines a unit of vote for vote split. + + Since: cosmos-sdk 0.43 + title: "Since: cosmos-sdk 0.43" + description: |- + Vote defines a vote on a governance proposal. + A Vote consists of a proposal ID, the voter, and the vote option. + description: votes defined the queried votes. + pagination: + description: pagination defines the pagination in the response. + type: object + properties: + next_key: + type: string + format: byte + title: |- + next_key is the key to be passed to PageRequest.key to + query the next page most efficiently + total: + type: string + format: uint64 + title: >- + total is total number of results available if PageRequest.count_total + + was set, its value is undefined otherwise + description: QueryVotesResponse is the response type for the Query/Votes RPC method. + cosmos.gov.v1beta1.TallyParams: + type: object + properties: + quorum: + type: string + format: byte + description: |- + Minimum percentage of total stake needed to vote for a result to be + considered valid. + threshold: + type: string + format: byte + description: "Minimum proportion of Yes votes for proposal to pass. Default value: 0.5." + veto_threshold: + type: string + format: byte + description: |- + Minimum value of Veto votes to Total votes ratio for proposal to be + vetoed. Default value: 1/3. + description: TallyParams defines the params for tallying votes on governance proposals. + cosmos.gov.v1beta1.TallyResult: + type: object + properties: + yes: + type: string + abstain: + type: string + no: + type: string + no_with_veto: + type: string + description: TallyResult defines a standard tally for a governance proposal. + cosmos.gov.v1beta1.Vote: + type: object + properties: + proposal_id: + type: string + format: uint64 + voter: + type: string + option: + description: >- + Deprecated: Prefer to use `options` instead. This field is set in queries + + if and only if `len(options) == 1` and that option has weight 1. In all + + other cases, this field will default to VOTE_OPTION_UNSPECIFIED. + type: string + enum: + - VOTE_OPTION_UNSPECIFIED + - VOTE_OPTION_YES + - VOTE_OPTION_ABSTAIN + - VOTE_OPTION_NO + - VOTE_OPTION_NO_WITH_VETO + default: VOTE_OPTION_UNSPECIFIED + options: + type: array + items: + type: object + properties: + option: + type: string + enum: + - VOTE_OPTION_UNSPECIFIED + - VOTE_OPTION_YES + - VOTE_OPTION_ABSTAIN + - VOTE_OPTION_NO + - VOTE_OPTION_NO_WITH_VETO + default: VOTE_OPTION_UNSPECIFIED + description: >- + VoteOption enumerates the valid vote options for a given governance proposal. + + + - VOTE_OPTION_UNSPECIFIED: VOTE_OPTION_UNSPECIFIED defines a no-op vote option. + - VOTE_OPTION_YES: VOTE_OPTION_YES defines a yes vote option. + - VOTE_OPTION_ABSTAIN: VOTE_OPTION_ABSTAIN defines an abstain vote option. + - VOTE_OPTION_NO: VOTE_OPTION_NO defines a no vote option. + - VOTE_OPTION_NO_WITH_VETO: VOTE_OPTION_NO_WITH_VETO defines a no with veto vote option. + weight: + type: string + description: |- + WeightedVoteOption defines a unit of vote for vote split. + + Since: cosmos-sdk 0.43 + title: "Since: cosmos-sdk 0.43" + description: |- + Vote defines a vote on a governance proposal. + A Vote consists of a proposal ID, the voter, and the vote option. + cosmos.gov.v1beta1.VoteOption: + type: string + enum: + - VOTE_OPTION_UNSPECIFIED + - VOTE_OPTION_YES + - VOTE_OPTION_ABSTAIN + - VOTE_OPTION_NO + - VOTE_OPTION_NO_WITH_VETO + default: VOTE_OPTION_UNSPECIFIED + description: >- + VoteOption enumerates the valid vote options for a given governance proposal. + + + - VOTE_OPTION_UNSPECIFIED: VOTE_OPTION_UNSPECIFIED defines a no-op vote option. + - VOTE_OPTION_YES: VOTE_OPTION_YES defines a yes vote option. + - VOTE_OPTION_ABSTAIN: VOTE_OPTION_ABSTAIN defines an abstain vote option. + - VOTE_OPTION_NO: VOTE_OPTION_NO defines a no vote option. + - VOTE_OPTION_NO_WITH_VETO: VOTE_OPTION_NO_WITH_VETO defines a no with veto vote option. + cosmos.gov.v1beta1.VotingParams: + type: object + properties: + voting_period: + type: string + description: Length of the voting period. + description: VotingParams defines the params for voting on governance proposals. + cosmos.gov.v1beta1.WeightedVoteOption: + type: object + properties: + option: + type: string + enum: + - VOTE_OPTION_UNSPECIFIED + - VOTE_OPTION_YES + - VOTE_OPTION_ABSTAIN + - VOTE_OPTION_NO + - VOTE_OPTION_NO_WITH_VETO + default: VOTE_OPTION_UNSPECIFIED + description: >- + VoteOption enumerates the valid vote options for a given governance proposal. + + + - VOTE_OPTION_UNSPECIFIED: VOTE_OPTION_UNSPECIFIED defines a no-op vote option. + - VOTE_OPTION_YES: VOTE_OPTION_YES defines a yes vote option. + - VOTE_OPTION_ABSTAIN: VOTE_OPTION_ABSTAIN defines an abstain vote option. + - VOTE_OPTION_NO: VOTE_OPTION_NO defines a no vote option. + - VOTE_OPTION_NO_WITH_VETO: VOTE_OPTION_NO_WITH_VETO defines a no with veto vote option. + weight: + type: string + description: |- + WeightedVoteOption defines a unit of vote for vote split. + + Since: cosmos-sdk 0.43 + cosmos.mint.v1beta1.Params: + type: object + properties: + mint_denom: + type: string + title: type of coin to mint + inflation_rate_change: + type: string + title: maximum annual change in inflation rate + inflation_max: + type: string + title: maximum inflation rate + inflation_min: + type: string + title: minimum inflation rate + goal_bonded: + type: string + title: goal of percent bonded atoms + blocks_per_year: + type: string + format: uint64 + title: expected blocks per year + description: Params holds parameters for the mint module. + cosmos.mint.v1beta1.QueryAnnualProvisionsResponse: + type: object + properties: + annual_provisions: + type: string + format: byte + description: annual_provisions is the current minting annual provisions value. + description: |- + QueryAnnualProvisionsResponse is the response type for the + Query/AnnualProvisions RPC method. + cosmos.mint.v1beta1.QueryInflationResponse: + type: object + properties: + inflation: + type: string + format: byte + description: inflation is the current minting inflation value. + description: |- + QueryInflationResponse is the response type for the Query/Inflation RPC + method. + cosmos.mint.v1beta1.QueryParamsResponse: + type: object + properties: + params: + description: params defines the parameters of the module. + type: object + properties: + mint_denom: + type: string + title: type of coin to mint + inflation_rate_change: + type: string + title: maximum annual change in inflation rate + inflation_max: + type: string + title: maximum inflation rate + inflation_min: + type: string + title: minimum inflation rate + goal_bonded: + type: string + title: goal of percent bonded atoms + blocks_per_year: + type: string + format: uint64 + title: expected blocks per year + description: QueryParamsResponse is the response type for the Query/Params RPC method. + cosmos.params.v1beta1.ParamChange: + type: object + properties: + subspace: + type: string + key: + type: string + value: + type: string + description: |- + ParamChange defines an individual parameter change, for use in + ParameterChangeProposal. + cosmos.params.v1beta1.QueryParamsResponse: + type: object + properties: + param: + description: param defines the queried parameter. + type: object + properties: + subspace: + type: string + key: + type: string + value: + type: string + description: QueryParamsResponse is response type for the Query/Params RPC method. + cosmos.slashing.v1beta1.Params: + type: object + properties: + signed_blocks_window: + type: string + format: int64 + min_signed_per_window: + type: string + format: byte + downtime_jail_duration: + type: string + slash_fraction_double_sign: + type: string + format: byte + slash_fraction_downtime: + type: string + format: byte + description: Params represents the parameters used for by the slashing module. + cosmos.slashing.v1beta1.QueryParamsResponse: + type: object + properties: + params: + type: object + properties: + signed_blocks_window: + type: string + format: int64 + min_signed_per_window: + type: string + format: byte + downtime_jail_duration: + type: string + slash_fraction_double_sign: + type: string + format: byte + slash_fraction_downtime: + type: string + format: byte + description: Params represents the parameters used for by the slashing module. + title: QueryParamsResponse is the response type for the Query/Params RPC method + cosmos.slashing.v1beta1.QuerySigningInfoResponse: + type: object + properties: + val_signing_info: + type: object + properties: + address: + type: string + start_height: + type: string + format: int64 + title: Height at which validator was first a candidate OR was unjailed + index_offset: + type: string + format: int64 + description: >- + Index which is incremented each time the validator was a bonded + + in a block and may have signed a precommit or not. This in conjunction with the + + `SignedBlocksWindow` param determines the index in the `MissedBlocksBitArray`. + jailed_until: + type: string + format: date-time + description: Timestamp until which the validator is jailed due to liveness downtime. + tombstoned: + type: boolean + description: >- + Whether or not a validator has been tombstoned (killed out of validator set). It is set + + once the validator commits an equivocation or for any other configured misbehiavor. + missed_blocks_counter: + type: string + format: int64 + description: >- + A counter kept to avoid unnecessary array reads. + + Note that `Sum(MissedBlocksBitArray)` always equals `MissedBlocksCounter`. + description: >- + ValidatorSigningInfo defines a validator's signing info for monitoring their + + liveness activity. + title: val_signing_info is the signing info of requested val cons address + title: >- + QuerySigningInfoResponse is the response type for the Query/SigningInfo RPC + + method + cosmos.slashing.v1beta1.QuerySigningInfosResponse: + type: object + properties: + info: + type: array + items: + type: object + properties: + address: + type: string + start_height: + type: string + format: int64 + title: Height at which validator was first a candidate OR was unjailed + index_offset: + type: string + format: int64 + description: >- + Index which is incremented each time the validator was a bonded + + in a block and may have signed a precommit or not. This in conjunction with the + + `SignedBlocksWindow` param determines the index in the `MissedBlocksBitArray`. + jailed_until: + type: string + format: date-time + description: Timestamp until which the validator is jailed due to liveness downtime. + tombstoned: + type: boolean + description: >- + Whether or not a validator has been tombstoned (killed out of validator set). It is set + + once the validator commits an equivocation or for any other configured misbehiavor. + missed_blocks_counter: + type: string + format: int64 + description: >- + A counter kept to avoid unnecessary array reads. + + Note that `Sum(MissedBlocksBitArray)` always equals `MissedBlocksCounter`. + description: >- + ValidatorSigningInfo defines a validator's signing info for monitoring their + + liveness activity. + title: info is the signing info of all validators + pagination: + type: object + properties: + next_key: + type: string + format: byte + title: |- + next_key is the key to be passed to PageRequest.key to + query the next page most efficiently + total: + type: string + format: uint64 + title: >- + total is total number of results available if PageRequest.count_total + + was set, its value is undefined otherwise + description: |- + PageResponse is to be embedded in gRPC response messages where the + corresponding request message has used PageRequest. + + message SomeResponse { + repeated Bar results = 1; + PageResponse page = 2; + } + title: >- + QuerySigningInfosResponse is the response type for the Query/SigningInfos RPC + + method + cosmos.slashing.v1beta1.ValidatorSigningInfo: + type: object + properties: + address: + type: string + start_height: + type: string + format: int64 + title: Height at which validator was first a candidate OR was unjailed + index_offset: + type: string + format: int64 + description: >- + Index which is incremented each time the validator was a bonded + + in a block and may have signed a precommit or not. This in conjunction with the + + `SignedBlocksWindow` param determines the index in the `MissedBlocksBitArray`. + jailed_until: + type: string + format: date-time + description: Timestamp until which the validator is jailed due to liveness downtime. + tombstoned: + type: boolean + description: >- + Whether or not a validator has been tombstoned (killed out of validator set). It is set + + once the validator commits an equivocation or for any other configured misbehiavor. + missed_blocks_counter: + type: string + format: int64 + description: >- + A counter kept to avoid unnecessary array reads. + + Note that `Sum(MissedBlocksBitArray)` always equals `MissedBlocksCounter`. + description: >- + ValidatorSigningInfo defines a validator's signing info for monitoring their + + liveness activity. + cosmos.staking.v1beta1.BondStatus: + type: string + enum: + - BOND_STATUS_UNSPECIFIED + - BOND_STATUS_UNBONDED + - BOND_STATUS_UNBONDING + - BOND_STATUS_BONDED + default: BOND_STATUS_UNSPECIFIED + description: >- + BondStatus is the status of a validator. + + + - BOND_STATUS_UNSPECIFIED: UNSPECIFIED defines an invalid validator status. + - BOND_STATUS_UNBONDED: UNBONDED defines a validator that is not bonded. + - BOND_STATUS_UNBONDING: UNBONDING defines a validator that is unbonding. + - BOND_STATUS_BONDED: BONDED defines a validator that is bonded. + cosmos.staking.v1beta1.Commission: + type: object + properties: + commission_rates: + description: commission_rates defines the initial commission rates to be used for creating a validator. + type: object + properties: + rate: + type: string + description: rate is the commission rate charged to delegators, as a fraction. + max_rate: + type: string + description: max_rate defines the maximum commission rate which validator can ever charge, as a fraction. + max_change_rate: + type: string + description: max_change_rate defines the maximum daily increase of the validator commission, as a fraction. + update_time: + type: string + format: date-time + description: update_time is the last time the commission rate was changed. + description: Commission defines commission parameters for a given validator. + cosmos.staking.v1beta1.CommissionRates: + type: object + properties: + rate: + type: string + description: rate is the commission rate charged to delegators, as a fraction. + max_rate: + type: string + description: max_rate defines the maximum commission rate which validator can ever charge, as a fraction. + max_change_rate: + type: string + description: max_change_rate defines the maximum daily increase of the validator commission, as a fraction. + description: >- + CommissionRates defines the initial commission rates to be used for creating + + a validator. + cosmos.staking.v1beta1.Delegation: + type: object + properties: + delegator_address: + type: string + description: delegator_address is the bech32-encoded address of the delegator. + validator_address: + type: string + description: validator_address is the bech32-encoded address of the validator. + shares: + type: string + description: shares define the delegation shares received. + description: |- + Delegation represents the bond with tokens held by an account. It is + owned by one delegator, and is associated with the voting power of one + validator. + cosmos.staking.v1beta1.DelegationResponse: + type: object + properties: + delegation: + type: object + properties: + delegator_address: + type: string + description: delegator_address is the bech32-encoded address of the delegator. + validator_address: + type: string + description: validator_address is the bech32-encoded address of the validator. + shares: + type: string + description: shares define the delegation shares received. + description: >- + Delegation represents the bond with tokens held by an account. It is + + owned by one delegator, and is associated with the voting power of one + + validator. + balance: + type: object + properties: + denom: + type: string + amount: + type: string + description: |- + Coin defines a token with a denomination and an amount. + + NOTE: The amount field is an Int which implements the custom method + signatures required by gogoproto. + description: >- + DelegationResponse is equivalent to Delegation except that it contains a + + balance in addition to shares which is more suitable for client responses. + cosmos.staking.v1beta1.Description: + type: object + properties: + moniker: + type: string + description: moniker defines a human-readable name for the validator. + identity: + type: string + description: identity defines an optional identity signature (ex. UPort or Keybase). + website: + type: string + description: website defines an optional website link. + security_contact: + type: string + description: security_contact defines an optional email for security contact. + details: + type: string + description: details define other optional details. + description: Description defines a validator description. + cosmos.staking.v1beta1.HistoricalInfo: + type: object + properties: + header: + type: object + properties: + version: + title: basic block info + type: object + properties: + block: + type: string + format: uint64 + app: + type: string + format: uint64 + description: >- + Consensus captures the consensus rules for processing a block in the blockchain, + + including all blockchain data structures and the rules of the application's + + state transition machine. + chain_id: + type: string + height: + type: string + format: int64 + time: + type: string + format: date-time + last_block_id: + title: prev block info + type: object + properties: + hash: + type: string + format: byte + part_set_header: + type: object + properties: + total: + type: integer + format: int64 + hash: + type: string + format: byte + title: PartsetHeader + last_commit_hash: + type: string + format: byte + title: hashes of block data + data_hash: + type: string + format: byte + validators_hash: + type: string + format: byte + title: hashes from the app output from the prev block + next_validators_hash: + type: string + format: byte + consensus_hash: + type: string + format: byte + app_hash: + type: string + format: byte + last_results_hash: + type: string + format: byte + evidence_hash: + type: string + format: byte + title: consensus info + proposer_address: + type: string + format: byte + description: Header defines the structure of a Tendermint block header. + valset: + type: array + items: + type: object + properties: + operator_address: + type: string + description: operator_address defines the address of the validator's operator; bech encoded in JSON. + consensus_pubkey: + type: object + properties: + type_url: + type: string + description: >- + A URL/resource name that uniquely identifies the type of the serialized + + protocol buffer message. This string must contain at least + + one "/" character. The last segment of the URL's path must represent + + the fully qualified name of the type (as in + + `path/google.protobuf.Duration`). The name should be in a canonical form + + (e.g., leading "." is not accepted). + + + In practice, teams usually precompile into the binary all types that they + + expect it to use in the context of Any. However, for URLs which use the + + scheme `http`, `https`, or no scheme, one can optionally set up a type + + server that maps type URLs to message definitions as follows: + + + * If no scheme is provided, `https` is assumed. + + * An HTTP GET on the URL must yield a [google.protobuf.Type][] + + value in binary format, or produce an error. + * Applications are allowed to cache lookup results based on the + + URL, or have them precompiled into a binary to avoid any + lookup. Therefore, binary compatibility needs to be preserved + on changes to types. (Use versioned type names to manage + breaking changes.) + + Note: this functionality is not currently available in the official + + protobuf release, and it is not used for type URLs beginning with + + type.googleapis.com. + + + Schemes other than `http`, `https` (or the empty scheme) might be + + used with implementation specific semantics. + value: + type: string + format: byte + description: Must be a valid serialized protocol buffer of the above specified type. + description: >- + `Any` contains an arbitrary serialized protocol buffer message along with a + + URL that describes the type of the serialized message. + + + Protobuf library provides support to pack/unpack Any values in the form + + of utility functions or additional generated methods of the Any type. + + + Example 1: Pack and unpack a message in C++. + + + Foo foo = ...; + Any any; + any.PackFrom(foo); + ... + if (any.UnpackTo(&foo)) { + ... + } + + Example 2: Pack and unpack a message in Java. + + + Foo foo = ...; + Any any = Any.pack(foo); + ... + if (any.is(Foo.class)) { + foo = any.unpack(Foo.class); + } + + Example 3: Pack and unpack a message in Python. + + foo = Foo(...) + any = Any() + any.Pack(foo) + ... + if any.Is(Foo.DESCRIPTOR): + any.Unpack(foo) + ... + + Example 4: Pack and unpack a message in Go + + foo := &pb.Foo{...} + any, err := ptypes.MarshalAny(foo) + ... + foo := &pb.Foo{} + if err := ptypes.UnmarshalAny(any, foo); err != nil { + ... + } + + The pack methods provided by protobuf library will by default use + + 'type.googleapis.com/full.type.name' as the type URL and the unpack + + methods only use the fully qualified type name after the last '/' + + in the type URL, for example "foo.bar.com/x/y.z" will yield type + + name "y.z". + + + + JSON + + ==== + + The JSON representation of an `Any` value uses the regular + + representation of the deserialized, embedded message, with an + + additional field `@type` which contains the type URL. Example: + + + package google.profile; + message Person { + string first_name = 1; + string last_name = 2; + } + + { + "@type": "type.googleapis.com/google.profile.Person", + "firstName": , + "lastName": + } + + If the embedded message type is well-known and has a custom JSON + + representation, that representation will be embedded adding a field + + `value` which holds the custom JSON in addition to the `@type` + + field. Example (for message [google.protobuf.Duration][]): + + + { + "@type": "type.googleapis.com/google.protobuf.Duration", + "value": "1.212s" + } + jailed: + type: boolean + description: jailed defined whether the validator has been jailed from bonded status or not. + status: + description: status is the validator status (bonded/unbonding/unbonded). + type: string + enum: + - BOND_STATUS_UNSPECIFIED + - BOND_STATUS_UNBONDED + - BOND_STATUS_UNBONDING + - BOND_STATUS_BONDED + default: BOND_STATUS_UNSPECIFIED + tokens: + type: string + description: tokens define the delegated tokens (incl. self-delegation). + delegator_shares: + type: string + description: delegator_shares defines total shares issued to a validator's delegators. + description: + description: description defines the description terms for the validator. + type: object + properties: + moniker: + type: string + description: moniker defines a human-readable name for the validator. + identity: + type: string + description: identity defines an optional identity signature (ex. UPort or Keybase). + website: + type: string + description: website defines an optional website link. + security_contact: + type: string + description: security_contact defines an optional email for security contact. + details: + type: string + description: details define other optional details. + unbonding_height: + type: string + format: int64 + description: unbonding_height defines, if unbonding, the height at which this validator has begun unbonding. + unbonding_time: + type: string + format: date-time + description: unbonding_time defines, if unbonding, the min time for the validator to complete unbonding. + commission: + description: commission defines the commission parameters. + type: object + properties: + commission_rates: + description: commission_rates defines the initial commission rates to be used for creating a validator. + type: object + properties: + rate: + type: string + description: rate is the commission rate charged to delegators, as a fraction. + max_rate: + type: string + description: max_rate defines the maximum commission rate which validator can ever charge, as a fraction. + max_change_rate: + type: string + description: max_change_rate defines the maximum daily increase of the validator commission, as a fraction. + update_time: + type: string + format: date-time + description: update_time is the last time the commission rate was changed. + min_self_delegation: + type: string + description: min_self_delegation is the validator's self declared minimum self delegation. + description: >- + Validator defines a validator, together with the total amount of the + + Validator's bond shares and their exchange rate to coins. Slashing results in + + a decrease in the exchange rate, allowing correct calculation of future + + undelegations without iterating over delegators. When coins are delegated to + + this validator, the validator is credited with a delegation whose number of + + bond shares is based on the amount of coins delegated divided by the current + + exchange rate. Voting power can be calculated as total bonded shares + + multiplied by exchange rate. + description: >- + HistoricalInfo contains header and validator information for a given block. + + It is stored as part of staking module's state, which persists the `n` most + + recent HistoricalInfo + + (`n` is set by the staking module's `historical_entries` parameter). + cosmos.staking.v1beta1.Params: + type: object + properties: + unbonding_time: + type: string + description: unbonding_time is the time duration of unbonding. + max_validators: + type: integer + format: int64 + description: max_validators is the maximum number of validators. + max_entries: + type: integer + format: int64 + description: max_entries is the max entries for either unbonding delegation or redelegation (per pair/trio). + historical_entries: + type: integer + format: int64 + description: historical_entries is the number of historical entries to persist. + bond_denom: + type: string + description: bond_denom defines the bondable coin denomination. + description: Params defines the parameters for the staking module. + cosmos.staking.v1beta1.Pool: + type: object + properties: + not_bonded_tokens: + type: string + bonded_tokens: + type: string + description: |- + Pool is used for tracking bonded and not-bonded token supply of the bond + denomination. + cosmos.staking.v1beta1.QueryDelegationResponse: + type: object + properties: + delegation_response: + type: object + properties: + delegation: + type: object + properties: + delegator_address: + type: string + description: delegator_address is the bech32-encoded address of the delegator. + validator_address: + type: string + description: validator_address is the bech32-encoded address of the validator. + shares: + type: string + description: shares define the delegation shares received. + description: >- + Delegation represents the bond with tokens held by an account. It is + + owned by one delegator, and is associated with the voting power of one + + validator. + balance: + type: object + properties: + denom: + type: string + amount: + type: string + description: >- + Coin defines a token with a denomination and an amount. + + + NOTE: The amount field is an Int which implements the custom method + + signatures required by gogoproto. + description: >- + DelegationResponse is equivalent to Delegation except that it contains a + + balance in addition to shares which is more suitable for client responses. + description: QueryDelegationResponse is response type for the Query/Delegation RPC method. + cosmos.staking.v1beta1.QueryDelegatorDelegationsResponse: + type: object + properties: + delegation_responses: + type: array + items: + type: object + properties: + delegation: + type: object + properties: + delegator_address: + type: string + description: delegator_address is the bech32-encoded address of the delegator. + validator_address: + type: string + description: validator_address is the bech32-encoded address of the validator. + shares: + type: string + description: shares define the delegation shares received. + description: >- + Delegation represents the bond with tokens held by an account. It is + + owned by one delegator, and is associated with the voting power of one + + validator. + balance: + type: object + properties: + denom: + type: string + amount: + type: string + description: >- + Coin defines a token with a denomination and an amount. + + + NOTE: The amount field is an Int which implements the custom method + + signatures required by gogoproto. + description: >- + DelegationResponse is equivalent to Delegation except that it contains a + + balance in addition to shares which is more suitable for client responses. + description: delegation_responses defines all the delegations' info of a delegator. + pagination: + description: pagination defines the pagination in the response. + type: object + properties: + next_key: + type: string + format: byte + title: |- + next_key is the key to be passed to PageRequest.key to + query the next page most efficiently + total: + type: string + format: uint64 + title: >- + total is total number of results available if PageRequest.count_total + + was set, its value is undefined otherwise + description: |- + QueryDelegatorDelegationsResponse is response type for the + Query/DelegatorDelegations RPC method. + cosmos.staking.v1beta1.QueryDelegatorUnbondingDelegationsResponse: + type: object + properties: + unbonding_responses: + type: array + items: + type: object + properties: + delegator_address: + type: string + description: delegator_address is the bech32-encoded address of the delegator. + validator_address: + type: string + description: validator_address is the bech32-encoded address of the validator. + entries: + type: array + items: + type: object + properties: + creation_height: + type: string + format: int64 + description: creation_height is the height which the unbonding took place. + completion_time: + type: string + format: date-time + description: completion_time is the unix time for unbonding completion. + initial_balance: + type: string + description: initial_balance defines the tokens initially scheduled to receive at completion. + balance: + type: string + description: balance defines the tokens to receive at completion. + description: UnbondingDelegationEntry defines an unbonding object with relevant metadata. + description: entries are the unbonding delegation entries. + description: >- + UnbondingDelegation stores all of a single delegator's unbonding bonds + + for a single validator in an time-ordered list. + pagination: + description: pagination defines the pagination in the response. + type: object + properties: + next_key: + type: string + format: byte + title: |- + next_key is the key to be passed to PageRequest.key to + query the next page most efficiently + total: + type: string + format: uint64 + title: >- + total is total number of results available if PageRequest.count_total + + was set, its value is undefined otherwise + description: |- + QueryUnbondingDelegatorDelegationsResponse is response type for the + Query/UnbondingDelegatorDelegations RPC method. + cosmos.staking.v1beta1.QueryDelegatorValidatorResponse: + type: object + properties: + validator: + type: object + properties: + operator_address: + type: string + description: operator_address defines the address of the validator's operator; bech encoded in JSON. + consensus_pubkey: + type: object + properties: + type_url: + type: string + description: >- + A URL/resource name that uniquely identifies the type of the serialized + + protocol buffer message. This string must contain at least + + one "/" character. The last segment of the URL's path must represent + + the fully qualified name of the type (as in + + `path/google.protobuf.Duration`). The name should be in a canonical form + + (e.g., leading "." is not accepted). + + + In practice, teams usually precompile into the binary all types that they + + expect it to use in the context of Any. However, for URLs which use the + + scheme `http`, `https`, or no scheme, one can optionally set up a type + + server that maps type URLs to message definitions as follows: + + + * If no scheme is provided, `https` is assumed. + + * An HTTP GET on the URL must yield a [google.protobuf.Type][] + + value in binary format, or produce an error. + * Applications are allowed to cache lookup results based on the + + URL, or have them precompiled into a binary to avoid any + lookup. Therefore, binary compatibility needs to be preserved + on changes to types. (Use versioned type names to manage + breaking changes.) + + Note: this functionality is not currently available in the official + + protobuf release, and it is not used for type URLs beginning with + + type.googleapis.com. + + + Schemes other than `http`, `https` (or the empty scheme) might be + + used with implementation specific semantics. + value: + type: string + format: byte + description: Must be a valid serialized protocol buffer of the above specified type. + description: >- + `Any` contains an arbitrary serialized protocol buffer message along with a + + URL that describes the type of the serialized message. + + + Protobuf library provides support to pack/unpack Any values in the form + + of utility functions or additional generated methods of the Any type. + + + Example 1: Pack and unpack a message in C++. + + + Foo foo = ...; + Any any; + any.PackFrom(foo); + ... + if (any.UnpackTo(&foo)) { + ... + } + + Example 2: Pack and unpack a message in Java. + + + Foo foo = ...; + Any any = Any.pack(foo); + ... + if (any.is(Foo.class)) { + foo = any.unpack(Foo.class); + } + + Example 3: Pack and unpack a message in Python. + + foo = Foo(...) + any = Any() + any.Pack(foo) + ... + if any.Is(Foo.DESCRIPTOR): + any.Unpack(foo) + ... + + Example 4: Pack and unpack a message in Go + + foo := &pb.Foo{...} + any, err := ptypes.MarshalAny(foo) + ... + foo := &pb.Foo{} + if err := ptypes.UnmarshalAny(any, foo); err != nil { + ... + } + + The pack methods provided by protobuf library will by default use + + 'type.googleapis.com/full.type.name' as the type URL and the unpack + + methods only use the fully qualified type name after the last '/' + + in the type URL, for example "foo.bar.com/x/y.z" will yield type + + name "y.z". + + + + JSON + + ==== + + The JSON representation of an `Any` value uses the regular + + representation of the deserialized, embedded message, with an + + additional field `@type` which contains the type URL. Example: + + + package google.profile; + message Person { + string first_name = 1; + string last_name = 2; + } + + { + "@type": "type.googleapis.com/google.profile.Person", + "firstName": , + "lastName": + } + + If the embedded message type is well-known and has a custom JSON + + representation, that representation will be embedded adding a field + + `value` which holds the custom JSON in addition to the `@type` + + field. Example (for message [google.protobuf.Duration][]): + + + { + "@type": "type.googleapis.com/google.protobuf.Duration", + "value": "1.212s" + } + jailed: + type: boolean + description: jailed defined whether the validator has been jailed from bonded status or not. + status: + description: status is the validator status (bonded/unbonding/unbonded). + type: string + enum: + - BOND_STATUS_UNSPECIFIED + - BOND_STATUS_UNBONDED + - BOND_STATUS_UNBONDING + - BOND_STATUS_BONDED + default: BOND_STATUS_UNSPECIFIED + tokens: + type: string + description: tokens define the delegated tokens (incl. self-delegation). + delegator_shares: + type: string + description: delegator_shares defines total shares issued to a validator's delegators. + description: + description: description defines the description terms for the validator. + type: object + properties: + moniker: + type: string + description: moniker defines a human-readable name for the validator. + identity: + type: string + description: identity defines an optional identity signature (ex. UPort or Keybase). + website: + type: string + description: website defines an optional website link. + security_contact: + type: string + description: security_contact defines an optional email for security contact. + details: + type: string + description: details define other optional details. + unbonding_height: + type: string + format: int64 + description: unbonding_height defines, if unbonding, the height at which this validator has begun unbonding. + unbonding_time: + type: string + format: date-time + description: unbonding_time defines, if unbonding, the min time for the validator to complete unbonding. + commission: + description: commission defines the commission parameters. + type: object + properties: + commission_rates: + description: commission_rates defines the initial commission rates to be used for creating a validator. + type: object + properties: + rate: + type: string + description: rate is the commission rate charged to delegators, as a fraction. + max_rate: + type: string + description: max_rate defines the maximum commission rate which validator can ever charge, as a fraction. + max_change_rate: + type: string + description: max_change_rate defines the maximum daily increase of the validator commission, as a fraction. + update_time: + type: string + format: date-time + description: update_time is the last time the commission rate was changed. + min_self_delegation: + type: string + description: min_self_delegation is the validator's self declared minimum self delegation. + description: >- + Validator defines a validator, together with the total amount of the + + Validator's bond shares and their exchange rate to coins. Slashing results in + + a decrease in the exchange rate, allowing correct calculation of future + + undelegations without iterating over delegators. When coins are delegated to + + this validator, the validator is credited with a delegation whose number of + + bond shares is based on the amount of coins delegated divided by the current + + exchange rate. Voting power can be calculated as total bonded shares + + multiplied by exchange rate. + description: |- + QueryDelegatorValidatorResponse response type for the + Query/DelegatorValidator RPC method. + cosmos.staking.v1beta1.QueryDelegatorValidatorsResponse: + type: object + properties: + validators: + type: array + items: + type: object + properties: + operator_address: + type: string + description: operator_address defines the address of the validator's operator; bech encoded in JSON. + consensus_pubkey: + type: object + properties: + type_url: + type: string + description: >- + A URL/resource name that uniquely identifies the type of the serialized + + protocol buffer message. This string must contain at least + + one "/" character. The last segment of the URL's path must represent + + the fully qualified name of the type (as in + + `path/google.protobuf.Duration`). The name should be in a canonical form + + (e.g., leading "." is not accepted). + + + In practice, teams usually precompile into the binary all types that they + + expect it to use in the context of Any. However, for URLs which use the + + scheme `http`, `https`, or no scheme, one can optionally set up a type + + server that maps type URLs to message definitions as follows: + + + * If no scheme is provided, `https` is assumed. + + * An HTTP GET on the URL must yield a [google.protobuf.Type][] + + value in binary format, or produce an error. + * Applications are allowed to cache lookup results based on the + + URL, or have them precompiled into a binary to avoid any + lookup. Therefore, binary compatibility needs to be preserved + on changes to types. (Use versioned type names to manage + breaking changes.) + + Note: this functionality is not currently available in the official + + protobuf release, and it is not used for type URLs beginning with + + type.googleapis.com. + + + Schemes other than `http`, `https` (or the empty scheme) might be + + used with implementation specific semantics. + value: + type: string + format: byte + description: Must be a valid serialized protocol buffer of the above specified type. + description: >- + `Any` contains an arbitrary serialized protocol buffer message along with a + + URL that describes the type of the serialized message. + + + Protobuf library provides support to pack/unpack Any values in the form + + of utility functions or additional generated methods of the Any type. + + + Example 1: Pack and unpack a message in C++. + + + Foo foo = ...; + Any any; + any.PackFrom(foo); + ... + if (any.UnpackTo(&foo)) { + ... + } + + Example 2: Pack and unpack a message in Java. + + + Foo foo = ...; + Any any = Any.pack(foo); + ... + if (any.is(Foo.class)) { + foo = any.unpack(Foo.class); + } + + Example 3: Pack and unpack a message in Python. + + foo = Foo(...) + any = Any() + any.Pack(foo) + ... + if any.Is(Foo.DESCRIPTOR): + any.Unpack(foo) + ... + + Example 4: Pack and unpack a message in Go + + foo := &pb.Foo{...} + any, err := ptypes.MarshalAny(foo) + ... + foo := &pb.Foo{} + if err := ptypes.UnmarshalAny(any, foo); err != nil { + ... + } + + The pack methods provided by protobuf library will by default use + + 'type.googleapis.com/full.type.name' as the type URL and the unpack + + methods only use the fully qualified type name after the last '/' + + in the type URL, for example "foo.bar.com/x/y.z" will yield type + + name "y.z". + + + + JSON + + ==== + + The JSON representation of an `Any` value uses the regular + + representation of the deserialized, embedded message, with an + + additional field `@type` which contains the type URL. Example: + + + package google.profile; + message Person { + string first_name = 1; + string last_name = 2; + } + + { + "@type": "type.googleapis.com/google.profile.Person", + "firstName": , + "lastName": + } + + If the embedded message type is well-known and has a custom JSON + + representation, that representation will be embedded adding a field + + `value` which holds the custom JSON in addition to the `@type` + + field. Example (for message [google.protobuf.Duration][]): + + + { + "@type": "type.googleapis.com/google.protobuf.Duration", + "value": "1.212s" + } + jailed: + type: boolean + description: jailed defined whether the validator has been jailed from bonded status or not. + status: + description: status is the validator status (bonded/unbonding/unbonded). + type: string + enum: + - BOND_STATUS_UNSPECIFIED + - BOND_STATUS_UNBONDED + - BOND_STATUS_UNBONDING + - BOND_STATUS_BONDED + default: BOND_STATUS_UNSPECIFIED + tokens: + type: string + description: tokens define the delegated tokens (incl. self-delegation). + delegator_shares: + type: string + description: delegator_shares defines total shares issued to a validator's delegators. + description: + description: description defines the description terms for the validator. + type: object + properties: + moniker: + type: string + description: moniker defines a human-readable name for the validator. + identity: + type: string + description: identity defines an optional identity signature (ex. UPort or Keybase). + website: + type: string + description: website defines an optional website link. + security_contact: + type: string + description: security_contact defines an optional email for security contact. + details: + type: string + description: details define other optional details. + unbonding_height: + type: string + format: int64 + description: unbonding_height defines, if unbonding, the height at which this validator has begun unbonding. + unbonding_time: + type: string + format: date-time + description: unbonding_time defines, if unbonding, the min time for the validator to complete unbonding. + commission: + description: commission defines the commission parameters. + type: object + properties: + commission_rates: + description: commission_rates defines the initial commission rates to be used for creating a validator. + type: object + properties: + rate: + type: string + description: rate is the commission rate charged to delegators, as a fraction. + max_rate: + type: string + description: max_rate defines the maximum commission rate which validator can ever charge, as a fraction. + max_change_rate: + type: string + description: max_change_rate defines the maximum daily increase of the validator commission, as a fraction. + update_time: + type: string + format: date-time + description: update_time is the last time the commission rate was changed. + min_self_delegation: + type: string + description: min_self_delegation is the validator's self declared minimum self delegation. + description: >- + Validator defines a validator, together with the total amount of the + + Validator's bond shares and their exchange rate to coins. Slashing results in + + a decrease in the exchange rate, allowing correct calculation of future + + undelegations without iterating over delegators. When coins are delegated to + + this validator, the validator is credited with a delegation whose number of + + bond shares is based on the amount of coins delegated divided by the current + + exchange rate. Voting power can be calculated as total bonded shares + + multiplied by exchange rate. + description: validators defines the the validators' info of a delegator. + pagination: + description: pagination defines the pagination in the response. + type: object + properties: + next_key: + type: string + format: byte + title: |- + next_key is the key to be passed to PageRequest.key to + query the next page most efficiently + total: + type: string + format: uint64 + title: >- + total is total number of results available if PageRequest.count_total + + was set, its value is undefined otherwise + description: |- + QueryDelegatorValidatorsResponse is response type for the + Query/DelegatorValidators RPC method. + cosmos.staking.v1beta1.QueryHistoricalInfoResponse: + type: object + properties: + hist: + description: hist defines the historical info at the given height. + type: object + properties: + header: + type: object + properties: + version: + title: basic block info + type: object + properties: + block: + type: string + format: uint64 + app: + type: string + format: uint64 + description: >- + Consensus captures the consensus rules for processing a block in the blockchain, + + including all blockchain data structures and the rules of the application's + + state transition machine. + chain_id: + type: string + height: + type: string + format: int64 + time: + type: string + format: date-time + last_block_id: + title: prev block info + type: object + properties: + hash: + type: string + format: byte + part_set_header: + type: object + properties: + total: + type: integer + format: int64 + hash: + type: string + format: byte + title: PartsetHeader + last_commit_hash: + type: string + format: byte + title: hashes of block data + data_hash: + type: string + format: byte + validators_hash: + type: string + format: byte + title: hashes from the app output from the prev block + next_validators_hash: + type: string + format: byte + consensus_hash: + type: string + format: byte + app_hash: + type: string + format: byte + last_results_hash: + type: string + format: byte + evidence_hash: + type: string + format: byte + title: consensus info + proposer_address: + type: string + format: byte + description: Header defines the structure of a Tendermint block header. + valset: + type: array + items: + type: object + properties: + operator_address: + type: string + description: operator_address defines the address of the validator's operator; bech encoded in JSON. + consensus_pubkey: + type: object + properties: + type_url: + type: string + description: >- + A URL/resource name that uniquely identifies the type of the serialized + + protocol buffer message. This string must contain at least + + one "/" character. The last segment of the URL's path must represent + + the fully qualified name of the type (as in + + `path/google.protobuf.Duration`). The name should be in a canonical form + + (e.g., leading "." is not accepted). + + + In practice, teams usually precompile into the binary all types that they + + expect it to use in the context of Any. However, for URLs which use the + + scheme `http`, `https`, or no scheme, one can optionally set up a type + + server that maps type URLs to message definitions as follows: + + + * If no scheme is provided, `https` is assumed. + + * An HTTP GET on the URL must yield a [google.protobuf.Type][] + + value in binary format, or produce an error. + * Applications are allowed to cache lookup results based on the + + URL, or have them precompiled into a binary to avoid any + lookup. Therefore, binary compatibility needs to be preserved + on changes to types. (Use versioned type names to manage + breaking changes.) + + Note: this functionality is not currently available in the official + + protobuf release, and it is not used for type URLs beginning with + + type.googleapis.com. + + + Schemes other than `http`, `https` (or the empty scheme) might be + + used with implementation specific semantics. + value: + type: string + format: byte + description: Must be a valid serialized protocol buffer of the above specified type. + description: >- + `Any` contains an arbitrary serialized protocol buffer message along with a + + URL that describes the type of the serialized message. + + + Protobuf library provides support to pack/unpack Any values in the form + + of utility functions or additional generated methods of the Any type. + + + Example 1: Pack and unpack a message in C++. + + + Foo foo = ...; + Any any; + any.PackFrom(foo); + ... + if (any.UnpackTo(&foo)) { + ... + } + + Example 2: Pack and unpack a message in Java. + + + Foo foo = ...; + Any any = Any.pack(foo); + ... + if (any.is(Foo.class)) { + foo = any.unpack(Foo.class); + } + + Example 3: Pack and unpack a message in Python. + + foo = Foo(...) + any = Any() + any.Pack(foo) + ... + if any.Is(Foo.DESCRIPTOR): + any.Unpack(foo) + ... + + Example 4: Pack and unpack a message in Go + + foo := &pb.Foo{...} + any, err := ptypes.MarshalAny(foo) + ... + foo := &pb.Foo{} + if err := ptypes.UnmarshalAny(any, foo); err != nil { + ... + } + + The pack methods provided by protobuf library will by default use + + 'type.googleapis.com/full.type.name' as the type URL and the unpack + + methods only use the fully qualified type name after the last '/' + + in the type URL, for example "foo.bar.com/x/y.z" will yield type + + name "y.z". + + + + JSON + + ==== + + The JSON representation of an `Any` value uses the regular + + representation of the deserialized, embedded message, with an + + additional field `@type` which contains the type URL. Example: + + + package google.profile; + message Person { + string first_name = 1; + string last_name = 2; + } + + { + "@type": "type.googleapis.com/google.profile.Person", + "firstName": , + "lastName": + } + + If the embedded message type is well-known and has a custom JSON + + representation, that representation will be embedded adding a field + + `value` which holds the custom JSON in addition to the `@type` + + field. Example (for message [google.protobuf.Duration][]): + + + { + "@type": "type.googleapis.com/google.protobuf.Duration", + "value": "1.212s" + } + jailed: + type: boolean + description: jailed defined whether the validator has been jailed from bonded status or not. + status: + description: status is the validator status (bonded/unbonding/unbonded). + type: string + enum: + - BOND_STATUS_UNSPECIFIED + - BOND_STATUS_UNBONDED + - BOND_STATUS_UNBONDING + - BOND_STATUS_BONDED + default: BOND_STATUS_UNSPECIFIED + tokens: + type: string + description: tokens define the delegated tokens (incl. self-delegation). + delegator_shares: + type: string + description: delegator_shares defines total shares issued to a validator's delegators. + description: + description: description defines the description terms for the validator. + type: object + properties: + moniker: + type: string + description: moniker defines a human-readable name for the validator. + identity: + type: string + description: identity defines an optional identity signature (ex. UPort or Keybase). + website: + type: string + description: website defines an optional website link. + security_contact: + type: string + description: security_contact defines an optional email for security contact. + details: + type: string + description: details define other optional details. + unbonding_height: + type: string + format: int64 + description: unbonding_height defines, if unbonding, the height at which this validator has begun unbonding. + unbonding_time: + type: string + format: date-time + description: unbonding_time defines, if unbonding, the min time for the validator to complete unbonding. + commission: + description: commission defines the commission parameters. + type: object + properties: + commission_rates: + description: commission_rates defines the initial commission rates to be used for creating a validator. + type: object + properties: + rate: + type: string + description: rate is the commission rate charged to delegators, as a fraction. + max_rate: + type: string + description: max_rate defines the maximum commission rate which validator can ever charge, as a fraction. + max_change_rate: + type: string + description: max_change_rate defines the maximum daily increase of the validator commission, as a fraction. + update_time: + type: string + format: date-time + description: update_time is the last time the commission rate was changed. + min_self_delegation: + type: string + description: min_self_delegation is the validator's self declared minimum self delegation. + description: >- + Validator defines a validator, together with the total amount of the + + Validator's bond shares and their exchange rate to coins. Slashing results in + + a decrease in the exchange rate, allowing correct calculation of future + + undelegations without iterating over delegators. When coins are delegated to + + this validator, the validator is credited with a delegation whose number of + + bond shares is based on the amount of coins delegated divided by the current + + exchange rate. Voting power can be calculated as total bonded shares + + multiplied by exchange rate. + description: >- + QueryHistoricalInfoResponse is response type for the Query/HistoricalInfo RPC + + method. + cosmos.staking.v1beta1.QueryParamsResponse: + type: object + properties: + params: + description: params holds all the parameters of this module. + type: object + properties: + unbonding_time: + type: string + description: unbonding_time is the time duration of unbonding. + max_validators: + type: integer + format: int64 + description: max_validators is the maximum number of validators. + max_entries: + type: integer + format: int64 + description: max_entries is the max entries for either unbonding delegation or redelegation (per pair/trio). + historical_entries: + type: integer + format: int64 + description: historical_entries is the number of historical entries to persist. + bond_denom: + type: string + description: bond_denom defines the bondable coin denomination. + description: QueryParamsResponse is response type for the Query/Params RPC method. + cosmos.staking.v1beta1.QueryPoolResponse: + type: object + properties: + pool: + description: pool defines the pool info. + type: object + properties: + not_bonded_tokens: + type: string + bonded_tokens: + type: string + description: QueryPoolResponse is response type for the Query/Pool RPC method. + cosmos.staking.v1beta1.QueryRedelegationsResponse: + type: object + properties: + redelegation_responses: + type: array + items: + type: object + properties: + redelegation: + type: object + properties: + delegator_address: + type: string + description: delegator_address is the bech32-encoded address of the delegator. + validator_src_address: + type: string + description: validator_src_address is the validator redelegation source operator address. + validator_dst_address: + type: string + description: validator_dst_address is the validator redelegation destination operator address. + entries: + type: array + items: + type: object + properties: + creation_height: + type: string + format: int64 + description: creation_height defines the height which the redelegation took place. + completion_time: + type: string + format: date-time + description: completion_time defines the unix time for redelegation completion. + initial_balance: + type: string + description: initial_balance defines the initial balance when redelegation started. + shares_dst: + type: string + description: shares_dst is the amount of destination-validator shares created by redelegation. + description: RedelegationEntry defines a redelegation object with relevant metadata. + description: entries are the redelegation entries. + description: >- + Redelegation contains the list of a particular delegator's redelegating bonds + + from a particular source validator to a particular destination validator. + entries: + type: array + items: + type: object + properties: + redelegation_entry: + type: object + properties: + creation_height: + type: string + format: int64 + description: creation_height defines the height which the redelegation took place. + completion_time: + type: string + format: date-time + description: completion_time defines the unix time for redelegation completion. + initial_balance: + type: string + description: initial_balance defines the initial balance when redelegation started. + shares_dst: + type: string + description: shares_dst is the amount of destination-validator shares created by redelegation. + description: RedelegationEntry defines a redelegation object with relevant metadata. + balance: + type: string + description: >- + RedelegationEntryResponse is equivalent to a RedelegationEntry except that it + + contains a balance in addition to shares which is more suitable for client + + responses. + description: >- + RedelegationResponse is equivalent to a Redelegation except that its entries + + contain a balance in addition to shares which is more suitable for client + + responses. + pagination: + description: pagination defines the pagination in the response. + type: object + properties: + next_key: + type: string + format: byte + title: |- + next_key is the key to be passed to PageRequest.key to + query the next page most efficiently + total: + type: string + format: uint64 + title: >- + total is total number of results available if PageRequest.count_total + + was set, its value is undefined otherwise + description: >- + QueryRedelegationsResponse is response type for the Query/Redelegations RPC + + method. + cosmos.staking.v1beta1.QueryUnbondingDelegationResponse: + type: object + properties: + unbond: + type: object + properties: + delegator_address: + type: string + description: delegator_address is the bech32-encoded address of the delegator. + validator_address: + type: string + description: validator_address is the bech32-encoded address of the validator. + entries: + type: array + items: + type: object + properties: + creation_height: + type: string + format: int64 + description: creation_height is the height which the unbonding took place. + completion_time: + type: string + format: date-time + description: completion_time is the unix time for unbonding completion. + initial_balance: + type: string + description: initial_balance defines the tokens initially scheduled to receive at completion. + balance: + type: string + description: balance defines the tokens to receive at completion. + description: UnbondingDelegationEntry defines an unbonding object with relevant metadata. + description: entries are the unbonding delegation entries. + description: >- + UnbondingDelegation stores all of a single delegator's unbonding bonds + + for a single validator in an time-ordered list. + description: >- + QueryDelegationResponse is response type for the Query/UnbondingDelegation + + RPC method. + cosmos.staking.v1beta1.QueryValidatorDelegationsResponse: + type: object + properties: + delegation_responses: + type: array + items: + type: object + properties: + delegation: + type: object + properties: + delegator_address: + type: string + description: delegator_address is the bech32-encoded address of the delegator. + validator_address: + type: string + description: validator_address is the bech32-encoded address of the validator. + shares: + type: string + description: shares define the delegation shares received. + description: >- + Delegation represents the bond with tokens held by an account. It is + + owned by one delegator, and is associated with the voting power of one + + validator. + balance: + type: object + properties: + denom: + type: string + amount: + type: string + description: >- + Coin defines a token with a denomination and an amount. + + + NOTE: The amount field is an Int which implements the custom method + + signatures required by gogoproto. + description: >- + DelegationResponse is equivalent to Delegation except that it contains a + + balance in addition to shares which is more suitable for client responses. + pagination: + description: pagination defines the pagination in the response. + type: object + properties: + next_key: + type: string + format: byte + title: |- + next_key is the key to be passed to PageRequest.key to + query the next page most efficiently + total: + type: string + format: uint64 + title: >- + total is total number of results available if PageRequest.count_total + + was set, its value is undefined otherwise + title: |- + QueryValidatorDelegationsResponse is response type for the + Query/ValidatorDelegations RPC method + cosmos.staking.v1beta1.QueryValidatorResponse: + type: object + properties: + validator: + type: object + properties: + operator_address: + type: string + description: operator_address defines the address of the validator's operator; bech encoded in JSON. + consensus_pubkey: + type: object + properties: + type_url: + type: string + description: >- + A URL/resource name that uniquely identifies the type of the serialized + + protocol buffer message. This string must contain at least + + one "/" character. The last segment of the URL's path must represent + + the fully qualified name of the type (as in + + `path/google.protobuf.Duration`). The name should be in a canonical form + + (e.g., leading "." is not accepted). + + + In practice, teams usually precompile into the binary all types that they + + expect it to use in the context of Any. However, for URLs which use the + + scheme `http`, `https`, or no scheme, one can optionally set up a type + + server that maps type URLs to message definitions as follows: + + + * If no scheme is provided, `https` is assumed. + + * An HTTP GET on the URL must yield a [google.protobuf.Type][] + + value in binary format, or produce an error. + * Applications are allowed to cache lookup results based on the + + URL, or have them precompiled into a binary to avoid any + lookup. Therefore, binary compatibility needs to be preserved + on changes to types. (Use versioned type names to manage + breaking changes.) + + Note: this functionality is not currently available in the official + + protobuf release, and it is not used for type URLs beginning with + + type.googleapis.com. + + + Schemes other than `http`, `https` (or the empty scheme) might be + + used with implementation specific semantics. + value: + type: string + format: byte + description: Must be a valid serialized protocol buffer of the above specified type. + description: >- + `Any` contains an arbitrary serialized protocol buffer message along with a + + URL that describes the type of the serialized message. + + + Protobuf library provides support to pack/unpack Any values in the form + + of utility functions or additional generated methods of the Any type. + + + Example 1: Pack and unpack a message in C++. + + + Foo foo = ...; + Any any; + any.PackFrom(foo); + ... + if (any.UnpackTo(&foo)) { + ... + } + + Example 2: Pack and unpack a message in Java. + + + Foo foo = ...; + Any any = Any.pack(foo); + ... + if (any.is(Foo.class)) { + foo = any.unpack(Foo.class); + } + + Example 3: Pack and unpack a message in Python. + + foo = Foo(...) + any = Any() + any.Pack(foo) + ... + if any.Is(Foo.DESCRIPTOR): + any.Unpack(foo) + ... + + Example 4: Pack and unpack a message in Go + + foo := &pb.Foo{...} + any, err := ptypes.MarshalAny(foo) + ... + foo := &pb.Foo{} + if err := ptypes.UnmarshalAny(any, foo); err != nil { + ... + } + + The pack methods provided by protobuf library will by default use + + 'type.googleapis.com/full.type.name' as the type URL and the unpack + + methods only use the fully qualified type name after the last '/' + + in the type URL, for example "foo.bar.com/x/y.z" will yield type + + name "y.z". + + + + JSON + + ==== + + The JSON representation of an `Any` value uses the regular + + representation of the deserialized, embedded message, with an + + additional field `@type` which contains the type URL. Example: + + + package google.profile; + message Person { + string first_name = 1; + string last_name = 2; + } + + { + "@type": "type.googleapis.com/google.profile.Person", + "firstName": , + "lastName": + } + + If the embedded message type is well-known and has a custom JSON + + representation, that representation will be embedded adding a field + + `value` which holds the custom JSON in addition to the `@type` + + field. Example (for message [google.protobuf.Duration][]): + + + { + "@type": "type.googleapis.com/google.protobuf.Duration", + "value": "1.212s" + } + jailed: + type: boolean + description: jailed defined whether the validator has been jailed from bonded status or not. + status: + description: status is the validator status (bonded/unbonding/unbonded). + type: string + enum: + - BOND_STATUS_UNSPECIFIED + - BOND_STATUS_UNBONDED + - BOND_STATUS_UNBONDING + - BOND_STATUS_BONDED + default: BOND_STATUS_UNSPECIFIED + tokens: + type: string + description: tokens define the delegated tokens (incl. self-delegation). + delegator_shares: + type: string + description: delegator_shares defines total shares issued to a validator's delegators. + description: + description: description defines the description terms for the validator. + type: object + properties: + moniker: + type: string + description: moniker defines a human-readable name for the validator. + identity: + type: string + description: identity defines an optional identity signature (ex. UPort or Keybase). + website: + type: string + description: website defines an optional website link. + security_contact: + type: string + description: security_contact defines an optional email for security contact. + details: + type: string + description: details define other optional details. + unbonding_height: + type: string + format: int64 + description: unbonding_height defines, if unbonding, the height at which this validator has begun unbonding. + unbonding_time: + type: string + format: date-time + description: unbonding_time defines, if unbonding, the min time for the validator to complete unbonding. + commission: + description: commission defines the commission parameters. + type: object + properties: + commission_rates: + description: commission_rates defines the initial commission rates to be used for creating a validator. + type: object + properties: + rate: + type: string + description: rate is the commission rate charged to delegators, as a fraction. + max_rate: + type: string + description: max_rate defines the maximum commission rate which validator can ever charge, as a fraction. + max_change_rate: + type: string + description: max_change_rate defines the maximum daily increase of the validator commission, as a fraction. + update_time: + type: string + format: date-time + description: update_time is the last time the commission rate was changed. + min_self_delegation: + type: string + description: min_self_delegation is the validator's self declared minimum self delegation. + description: >- + Validator defines a validator, together with the total amount of the + + Validator's bond shares and their exchange rate to coins. Slashing results in + + a decrease in the exchange rate, allowing correct calculation of future + + undelegations without iterating over delegators. When coins are delegated to + + this validator, the validator is credited with a delegation whose number of + + bond shares is based on the amount of coins delegated divided by the current + + exchange rate. Voting power can be calculated as total bonded shares + + multiplied by exchange rate. + title: QueryValidatorResponse is response type for the Query/Validator RPC method + cosmos.staking.v1beta1.QueryValidatorUnbondingDelegationsResponse: + type: object + properties: + unbonding_responses: + type: array + items: + type: object + properties: + delegator_address: + type: string + description: delegator_address is the bech32-encoded address of the delegator. + validator_address: + type: string + description: validator_address is the bech32-encoded address of the validator. + entries: + type: array + items: + type: object + properties: + creation_height: + type: string + format: int64 + description: creation_height is the height which the unbonding took place. + completion_time: + type: string + format: date-time + description: completion_time is the unix time for unbonding completion. + initial_balance: + type: string + description: initial_balance defines the tokens initially scheduled to receive at completion. + balance: + type: string + description: balance defines the tokens to receive at completion. + description: UnbondingDelegationEntry defines an unbonding object with relevant metadata. + description: entries are the unbonding delegation entries. + description: >- + UnbondingDelegation stores all of a single delegator's unbonding bonds + + for a single validator in an time-ordered list. + pagination: + description: pagination defines the pagination in the response. + type: object + properties: + next_key: + type: string + format: byte + title: |- + next_key is the key to be passed to PageRequest.key to + query the next page most efficiently + total: + type: string + format: uint64 + title: >- + total is total number of results available if PageRequest.count_total + + was set, its value is undefined otherwise + description: |- + QueryValidatorUnbondingDelegationsResponse is response type for the + Query/ValidatorUnbondingDelegations RPC method. + cosmos.staking.v1beta1.QueryValidatorsResponse: + type: object + properties: + validators: + type: array + items: + type: object + properties: + operator_address: + type: string + description: operator_address defines the address of the validator's operator; bech encoded in JSON. + consensus_pubkey: + type: object + properties: + type_url: + type: string + description: >- + A URL/resource name that uniquely identifies the type of the serialized + + protocol buffer message. This string must contain at least + + one "/" character. The last segment of the URL's path must represent + + the fully qualified name of the type (as in + + `path/google.protobuf.Duration`). The name should be in a canonical form + + (e.g., leading "." is not accepted). + + + In practice, teams usually precompile into the binary all types that they + + expect it to use in the context of Any. However, for URLs which use the + + scheme `http`, `https`, or no scheme, one can optionally set up a type + + server that maps type URLs to message definitions as follows: + + + * If no scheme is provided, `https` is assumed. + + * An HTTP GET on the URL must yield a [google.protobuf.Type][] + + value in binary format, or produce an error. + * Applications are allowed to cache lookup results based on the + + URL, or have them precompiled into a binary to avoid any + lookup. Therefore, binary compatibility needs to be preserved + on changes to types. (Use versioned type names to manage + breaking changes.) + + Note: this functionality is not currently available in the official + + protobuf release, and it is not used for type URLs beginning with + + type.googleapis.com. + + + Schemes other than `http`, `https` (or the empty scheme) might be + + used with implementation specific semantics. + value: + type: string + format: byte + description: Must be a valid serialized protocol buffer of the above specified type. + description: >- + `Any` contains an arbitrary serialized protocol buffer message along with a + + URL that describes the type of the serialized message. + + + Protobuf library provides support to pack/unpack Any values in the form + + of utility functions or additional generated methods of the Any type. + + + Example 1: Pack and unpack a message in C++. + + + Foo foo = ...; + Any any; + any.PackFrom(foo); + ... + if (any.UnpackTo(&foo)) { + ... + } + + Example 2: Pack and unpack a message in Java. + + + Foo foo = ...; + Any any = Any.pack(foo); + ... + if (any.is(Foo.class)) { + foo = any.unpack(Foo.class); + } + + Example 3: Pack and unpack a message in Python. + + foo = Foo(...) + any = Any() + any.Pack(foo) + ... + if any.Is(Foo.DESCRIPTOR): + any.Unpack(foo) + ... + + Example 4: Pack and unpack a message in Go + + foo := &pb.Foo{...} + any, err := ptypes.MarshalAny(foo) + ... + foo := &pb.Foo{} + if err := ptypes.UnmarshalAny(any, foo); err != nil { + ... + } + + The pack methods provided by protobuf library will by default use + + 'type.googleapis.com/full.type.name' as the type URL and the unpack + + methods only use the fully qualified type name after the last '/' + + in the type URL, for example "foo.bar.com/x/y.z" will yield type + + name "y.z". + + + + JSON + + ==== + + The JSON representation of an `Any` value uses the regular + + representation of the deserialized, embedded message, with an + + additional field `@type` which contains the type URL. Example: + + + package google.profile; + message Person { + string first_name = 1; + string last_name = 2; + } + + { + "@type": "type.googleapis.com/google.profile.Person", + "firstName": , + "lastName": + } + + If the embedded message type is well-known and has a custom JSON + + representation, that representation will be embedded adding a field + + `value` which holds the custom JSON in addition to the `@type` + + field. Example (for message [google.protobuf.Duration][]): + + + { + "@type": "type.googleapis.com/google.protobuf.Duration", + "value": "1.212s" + } + jailed: + type: boolean + description: jailed defined whether the validator has been jailed from bonded status or not. + status: + description: status is the validator status (bonded/unbonding/unbonded). + type: string + enum: + - BOND_STATUS_UNSPECIFIED + - BOND_STATUS_UNBONDED + - BOND_STATUS_UNBONDING + - BOND_STATUS_BONDED + default: BOND_STATUS_UNSPECIFIED + tokens: + type: string + description: tokens define the delegated tokens (incl. self-delegation). + delegator_shares: + type: string + description: delegator_shares defines total shares issued to a validator's delegators. + description: + description: description defines the description terms for the validator. + type: object + properties: + moniker: + type: string + description: moniker defines a human-readable name for the validator. + identity: + type: string + description: identity defines an optional identity signature (ex. UPort or Keybase). + website: + type: string + description: website defines an optional website link. + security_contact: + type: string + description: security_contact defines an optional email for security contact. + details: + type: string + description: details define other optional details. + unbonding_height: + type: string + format: int64 + description: unbonding_height defines, if unbonding, the height at which this validator has begun unbonding. + unbonding_time: + type: string + format: date-time + description: unbonding_time defines, if unbonding, the min time for the validator to complete unbonding. + commission: + description: commission defines the commission parameters. + type: object + properties: + commission_rates: + description: commission_rates defines the initial commission rates to be used for creating a validator. + type: object + properties: + rate: + type: string + description: rate is the commission rate charged to delegators, as a fraction. + max_rate: + type: string + description: max_rate defines the maximum commission rate which validator can ever charge, as a fraction. + max_change_rate: + type: string + description: max_change_rate defines the maximum daily increase of the validator commission, as a fraction. + update_time: + type: string + format: date-time + description: update_time is the last time the commission rate was changed. + min_self_delegation: + type: string + description: min_self_delegation is the validator's self declared minimum self delegation. + description: >- + Validator defines a validator, together with the total amount of the + + Validator's bond shares and their exchange rate to coins. Slashing results in + + a decrease in the exchange rate, allowing correct calculation of future + + undelegations without iterating over delegators. When coins are delegated to + + this validator, the validator is credited with a delegation whose number of + + bond shares is based on the amount of coins delegated divided by the current + + exchange rate. Voting power can be calculated as total bonded shares + + multiplied by exchange rate. + description: validators contains all the queried validators. + pagination: + description: pagination defines the pagination in the response. + type: object + properties: + next_key: + type: string + format: byte + title: |- + next_key is the key to be passed to PageRequest.key to + query the next page most efficiently + total: + type: string + format: uint64 + title: >- + total is total number of results available if PageRequest.count_total + + was set, its value is undefined otherwise + title: QueryValidatorsResponse is response type for the Query/Validators RPC method + cosmos.staking.v1beta1.Redelegation: + type: object + properties: + delegator_address: + type: string + description: delegator_address is the bech32-encoded address of the delegator. + validator_src_address: + type: string + description: validator_src_address is the validator redelegation source operator address. + validator_dst_address: + type: string + description: validator_dst_address is the validator redelegation destination operator address. + entries: + type: array + items: + type: object + properties: + creation_height: + type: string + format: int64 + description: creation_height defines the height which the redelegation took place. + completion_time: + type: string + format: date-time + description: completion_time defines the unix time for redelegation completion. + initial_balance: + type: string + description: initial_balance defines the initial balance when redelegation started. + shares_dst: + type: string + description: shares_dst is the amount of destination-validator shares created by redelegation. + description: RedelegationEntry defines a redelegation object with relevant metadata. + description: entries are the redelegation entries. + description: >- + Redelegation contains the list of a particular delegator's redelegating bonds + + from a particular source validator to a particular destination validator. + cosmos.staking.v1beta1.RedelegationEntry: + type: object + properties: + creation_height: + type: string + format: int64 + description: creation_height defines the height which the redelegation took place. + completion_time: + type: string + format: date-time + description: completion_time defines the unix time for redelegation completion. + initial_balance: + type: string + description: initial_balance defines the initial balance when redelegation started. + shares_dst: + type: string + description: shares_dst is the amount of destination-validator shares created by redelegation. + description: RedelegationEntry defines a redelegation object with relevant metadata. + cosmos.staking.v1beta1.RedelegationEntryResponse: + type: object + properties: + redelegation_entry: + type: object + properties: + creation_height: + type: string + format: int64 + description: creation_height defines the height which the redelegation took place. + completion_time: + type: string + format: date-time + description: completion_time defines the unix time for redelegation completion. + initial_balance: + type: string + description: initial_balance defines the initial balance when redelegation started. + shares_dst: + type: string + description: shares_dst is the amount of destination-validator shares created by redelegation. + description: RedelegationEntry defines a redelegation object with relevant metadata. + balance: + type: string + description: >- + RedelegationEntryResponse is equivalent to a RedelegationEntry except that it + + contains a balance in addition to shares which is more suitable for client + + responses. + cosmos.staking.v1beta1.RedelegationResponse: + type: object + properties: + redelegation: + type: object + properties: + delegator_address: + type: string + description: delegator_address is the bech32-encoded address of the delegator. + validator_src_address: + type: string + description: validator_src_address is the validator redelegation source operator address. + validator_dst_address: + type: string + description: validator_dst_address is the validator redelegation destination operator address. + entries: + type: array + items: + type: object + properties: + creation_height: + type: string + format: int64 + description: creation_height defines the height which the redelegation took place. + completion_time: + type: string + format: date-time + description: completion_time defines the unix time for redelegation completion. + initial_balance: + type: string + description: initial_balance defines the initial balance when redelegation started. + shares_dst: + type: string + description: shares_dst is the amount of destination-validator shares created by redelegation. + description: RedelegationEntry defines a redelegation object with relevant metadata. + description: entries are the redelegation entries. + description: >- + Redelegation contains the list of a particular delegator's redelegating bonds + + from a particular source validator to a particular destination validator. + entries: + type: array + items: + type: object + properties: + redelegation_entry: + type: object + properties: + creation_height: + type: string + format: int64 + description: creation_height defines the height which the redelegation took place. + completion_time: + type: string + format: date-time + description: completion_time defines the unix time for redelegation completion. + initial_balance: + type: string + description: initial_balance defines the initial balance when redelegation started. + shares_dst: + type: string + description: shares_dst is the amount of destination-validator shares created by redelegation. + description: RedelegationEntry defines a redelegation object with relevant metadata. + balance: + type: string + description: >- + RedelegationEntryResponse is equivalent to a RedelegationEntry except that it + + contains a balance in addition to shares which is more suitable for client + + responses. + description: >- + RedelegationResponse is equivalent to a Redelegation except that its entries + + contain a balance in addition to shares which is more suitable for client + + responses. + cosmos.staking.v1beta1.UnbondingDelegation: + type: object + properties: + delegator_address: + type: string + description: delegator_address is the bech32-encoded address of the delegator. + validator_address: + type: string + description: validator_address is the bech32-encoded address of the validator. + entries: + type: array + items: + type: object + properties: + creation_height: + type: string + format: int64 + description: creation_height is the height which the unbonding took place. + completion_time: + type: string + format: date-time + description: completion_time is the unix time for unbonding completion. + initial_balance: + type: string + description: initial_balance defines the tokens initially scheduled to receive at completion. + balance: + type: string + description: balance defines the tokens to receive at completion. + description: UnbondingDelegationEntry defines an unbonding object with relevant metadata. + description: entries are the unbonding delegation entries. + description: |- + UnbondingDelegation stores all of a single delegator's unbonding bonds + for a single validator in an time-ordered list. + cosmos.staking.v1beta1.UnbondingDelegationEntry: + type: object + properties: + creation_height: + type: string + format: int64 + description: creation_height is the height which the unbonding took place. + completion_time: + type: string + format: date-time + description: completion_time is the unix time for unbonding completion. + initial_balance: + type: string + description: initial_balance defines the tokens initially scheduled to receive at completion. + balance: + type: string + description: balance defines the tokens to receive at completion. + description: UnbondingDelegationEntry defines an unbonding object with relevant metadata. + cosmos.staking.v1beta1.Validator: + type: object + properties: + operator_address: + type: string + description: operator_address defines the address of the validator's operator; bech encoded in JSON. + consensus_pubkey: + type: object + properties: + type_url: + type: string + description: >- + A URL/resource name that uniquely identifies the type of the serialized + + protocol buffer message. This string must contain at least + + one "/" character. The last segment of the URL's path must represent + + the fully qualified name of the type (as in + + `path/google.protobuf.Duration`). The name should be in a canonical form + + (e.g., leading "." is not accepted). + + + In practice, teams usually precompile into the binary all types that they + + expect it to use in the context of Any. However, for URLs which use the + + scheme `http`, `https`, or no scheme, one can optionally set up a type + + server that maps type URLs to message definitions as follows: + + + * If no scheme is provided, `https` is assumed. + + * An HTTP GET on the URL must yield a [google.protobuf.Type][] + + value in binary format, or produce an error. + * Applications are allowed to cache lookup results based on the + + URL, or have them precompiled into a binary to avoid any + lookup. Therefore, binary compatibility needs to be preserved + on changes to types. (Use versioned type names to manage + breaking changes.) + + Note: this functionality is not currently available in the official + + protobuf release, and it is not used for type URLs beginning with + + type.googleapis.com. + + + Schemes other than `http`, `https` (or the empty scheme) might be + + used with implementation specific semantics. + value: + type: string + format: byte + description: Must be a valid serialized protocol buffer of the above specified type. + description: >- + `Any` contains an arbitrary serialized protocol buffer message along with a + + URL that describes the type of the serialized message. + + + Protobuf library provides support to pack/unpack Any values in the form + + of utility functions or additional generated methods of the Any type. + + + Example 1: Pack and unpack a message in C++. + + + Foo foo = ...; + Any any; + any.PackFrom(foo); + ... + if (any.UnpackTo(&foo)) { + ... + } + + Example 2: Pack and unpack a message in Java. + + + Foo foo = ...; + Any any = Any.pack(foo); + ... + if (any.is(Foo.class)) { + foo = any.unpack(Foo.class); + } + + Example 3: Pack and unpack a message in Python. + + foo = Foo(...) + any = Any() + any.Pack(foo) + ... + if any.Is(Foo.DESCRIPTOR): + any.Unpack(foo) + ... + + Example 4: Pack and unpack a message in Go + + foo := &pb.Foo{...} + any, err := ptypes.MarshalAny(foo) + ... + foo := &pb.Foo{} + if err := ptypes.UnmarshalAny(any, foo); err != nil { + ... + } + + The pack methods provided by protobuf library will by default use + + 'type.googleapis.com/full.type.name' as the type URL and the unpack + + methods only use the fully qualified type name after the last '/' + + in the type URL, for example "foo.bar.com/x/y.z" will yield type + + name "y.z". + + + + JSON + + ==== + + The JSON representation of an `Any` value uses the regular + + representation of the deserialized, embedded message, with an + + additional field `@type` which contains the type URL. Example: + + + package google.profile; + message Person { + string first_name = 1; + string last_name = 2; + } + + { + "@type": "type.googleapis.com/google.profile.Person", + "firstName": , + "lastName": + } + + If the embedded message type is well-known and has a custom JSON + + representation, that representation will be embedded adding a field + + `value` which holds the custom JSON in addition to the `@type` + + field. Example (for message [google.protobuf.Duration][]): + + + { + "@type": "type.googleapis.com/google.protobuf.Duration", + "value": "1.212s" + } + jailed: + type: boolean + description: jailed defined whether the validator has been jailed from bonded status or not. + status: + description: status is the validator status (bonded/unbonding/unbonded). + type: string + enum: + - BOND_STATUS_UNSPECIFIED + - BOND_STATUS_UNBONDED + - BOND_STATUS_UNBONDING + - BOND_STATUS_BONDED + default: BOND_STATUS_UNSPECIFIED + tokens: + type: string + description: tokens define the delegated tokens (incl. self-delegation). + delegator_shares: + type: string + description: delegator_shares defines total shares issued to a validator's delegators. + description: + description: description defines the description terms for the validator. + type: object + properties: + moniker: + type: string + description: moniker defines a human-readable name for the validator. + identity: + type: string + description: identity defines an optional identity signature (ex. UPort or Keybase). + website: + type: string + description: website defines an optional website link. + security_contact: + type: string + description: security_contact defines an optional email for security contact. + details: + type: string + description: details define other optional details. + unbonding_height: + type: string + format: int64 + description: unbonding_height defines, if unbonding, the height at which this validator has begun unbonding. + unbonding_time: + type: string + format: date-time + description: unbonding_time defines, if unbonding, the min time for the validator to complete unbonding. + commission: + description: commission defines the commission parameters. + type: object + properties: + commission_rates: + description: commission_rates defines the initial commission rates to be used for creating a validator. + type: object + properties: + rate: + type: string + description: rate is the commission rate charged to delegators, as a fraction. + max_rate: + type: string + description: max_rate defines the maximum commission rate which validator can ever charge, as a fraction. + max_change_rate: + type: string + description: max_change_rate defines the maximum daily increase of the validator commission, as a fraction. + update_time: + type: string + format: date-time + description: update_time is the last time the commission rate was changed. + min_self_delegation: + type: string + description: min_self_delegation is the validator's self declared minimum self delegation. + description: >- + Validator defines a validator, together with the total amount of the + + Validator's bond shares and their exchange rate to coins. Slashing results in + + a decrease in the exchange rate, allowing correct calculation of future + + undelegations without iterating over delegators. When coins are delegated to + + this validator, the validator is credited with a delegation whose number of + + bond shares is based on the amount of coins delegated divided by the current + + exchange rate. Voting power can be calculated as total bonded shares + + multiplied by exchange rate. + cosmos.base.abci.v1beta1.ABCIMessageLog: + type: object + properties: + msg_index: + type: integer + format: int64 + log: + type: string + events: + type: array + items: + type: object + properties: + type: + type: string + attributes: + type: array + items: + type: object + properties: + key: + type: string + value: + type: string + description: >- + Attribute defines an attribute wrapper where the key and value are + + strings instead of raw bytes. + description: >- + StringEvent defines en Event object wrapper where all the attributes + + contain key/value pairs that are strings instead of raw bytes. + description: >- + Events contains a slice of Event objects that were emitted during some + + execution. + description: ABCIMessageLog defines a structure containing an indexed tx ABCI message log. + cosmos.base.abci.v1beta1.Attribute: + type: object + properties: + key: + type: string + value: + type: string + description: |- + Attribute defines an attribute wrapper where the key and value are + strings instead of raw bytes. + cosmos.base.abci.v1beta1.GasInfo: + type: object + properties: + gas_wanted: + type: string + format: uint64 + description: GasWanted is the maximum units of work we allow this tx to perform. + gas_used: + type: string + format: uint64 + description: GasUsed is the amount of gas actually consumed. + description: GasInfo defines tx execution gas context. + cosmos.base.abci.v1beta1.Result: + type: object + properties: + data: + type: string + format: byte + description: >- + Data is any data returned from message or handler execution. It MUST be + + length prefixed in order to separate data from multiple message executions. + log: + type: string + description: Log contains the log information from message or handler execution. + events: + type: array + items: + type: object + properties: + type: + type: string + attributes: + type: array + items: + type: object + properties: + key: + type: string + format: byte + value: + type: string + format: byte + index: + type: boolean + description: EventAttribute is a single key-value pair, associated with an event. + description: >- + Event allows application developers to attach additional information to + + ResponseBeginBlock, ResponseEndBlock, ResponseCheckTx and ResponseDeliverTx. + + Later, transactions may be queried using these events. + description: >- + Events contains a slice of Event objects that were emitted during message + + or handler execution. + description: Result is the union of ResponseFormat and ResponseCheckTx. + cosmos.base.abci.v1beta1.StringEvent: + type: object + properties: + type: + type: string + attributes: + type: array + items: + type: object + properties: + key: + type: string + value: + type: string + description: |- + Attribute defines an attribute wrapper where the key and value are + strings instead of raw bytes. + description: |- + StringEvent defines en Event object wrapper where all the attributes + contain key/value pairs that are strings instead of raw bytes. + cosmos.base.abci.v1beta1.TxResponse: + type: object + properties: + height: + type: string + format: int64 + title: The block height + txhash: + type: string + description: The transaction hash. + codespace: + type: string + title: Namespace for the Code + code: + type: integer + format: int64 + description: Response code. + data: + type: string + description: Result bytes, if any. + raw_log: + type: string + description: |- + The output of the application's logger (raw string). May be + non-deterministic. + logs: + type: array + items: + type: object + properties: + msg_index: + type: integer + format: int64 + log: + type: string + events: + type: array + items: + type: object + properties: + type: + type: string + attributes: + type: array + items: + type: object + properties: + key: + type: string + value: + type: string + description: >- + Attribute defines an attribute wrapper where the key and value are + + strings instead of raw bytes. + description: >- + StringEvent defines en Event object wrapper where all the attributes + + contain key/value pairs that are strings instead of raw bytes. + description: >- + Events contains a slice of Event objects that were emitted during some + + execution. + description: ABCIMessageLog defines a structure containing an indexed tx ABCI message log. + description: The output of the application's logger (typed). May be non-deterministic. + info: + type: string + description: Additional information. May be non-deterministic. + gas_wanted: + type: string + format: int64 + description: Amount of gas requested for transaction. + gas_used: + type: string + format: int64 + description: Amount of gas consumed by transaction. + tx: + type: object + properties: + type_url: + type: string + description: >- + A URL/resource name that uniquely identifies the type of the serialized + + protocol buffer message. This string must contain at least + + one "/" character. The last segment of the URL's path must represent + + the fully qualified name of the type (as in + + `path/google.protobuf.Duration`). The name should be in a canonical form + + (e.g., leading "." is not accepted). + + + In practice, teams usually precompile into the binary all types that they + + expect it to use in the context of Any. However, for URLs which use the + + scheme `http`, `https`, or no scheme, one can optionally set up a type + + server that maps type URLs to message definitions as follows: + + + * If no scheme is provided, `https` is assumed. + + * An HTTP GET on the URL must yield a [google.protobuf.Type][] + + value in binary format, or produce an error. + * Applications are allowed to cache lookup results based on the + + URL, or have them precompiled into a binary to avoid any + lookup. Therefore, binary compatibility needs to be preserved + on changes to types. (Use versioned type names to manage + breaking changes.) + + Note: this functionality is not currently available in the official + + protobuf release, and it is not used for type URLs beginning with + + type.googleapis.com. + + + Schemes other than `http`, `https` (or the empty scheme) might be + + used with implementation specific semantics. + value: + type: string + format: byte + description: Must be a valid serialized protocol buffer of the above specified type. + description: >- + `Any` contains an arbitrary serialized protocol buffer message along with a + + URL that describes the type of the serialized message. + + + Protobuf library provides support to pack/unpack Any values in the form + + of utility functions or additional generated methods of the Any type. + + + Example 1: Pack and unpack a message in C++. + + + Foo foo = ...; + Any any; + any.PackFrom(foo); + ... + if (any.UnpackTo(&foo)) { + ... + } + + Example 2: Pack and unpack a message in Java. + + + Foo foo = ...; + Any any = Any.pack(foo); + ... + if (any.is(Foo.class)) { + foo = any.unpack(Foo.class); + } + + Example 3: Pack and unpack a message in Python. + + foo = Foo(...) + any = Any() + any.Pack(foo) + ... + if any.Is(Foo.DESCRIPTOR): + any.Unpack(foo) + ... + + Example 4: Pack and unpack a message in Go + + foo := &pb.Foo{...} + any, err := ptypes.MarshalAny(foo) + ... + foo := &pb.Foo{} + if err := ptypes.UnmarshalAny(any, foo); err != nil { + ... + } + + The pack methods provided by protobuf library will by default use + + 'type.googleapis.com/full.type.name' as the type URL and the unpack + + methods only use the fully qualified type name after the last '/' + + in the type URL, for example "foo.bar.com/x/y.z" will yield type + + name "y.z". + + + + JSON + + ==== + + The JSON representation of an `Any` value uses the regular + + representation of the deserialized, embedded message, with an + + additional field `@type` which contains the type URL. Example: + + + package google.profile; + message Person { + string first_name = 1; + string last_name = 2; + } + + { + "@type": "type.googleapis.com/google.profile.Person", + "firstName": , + "lastName": + } + + If the embedded message type is well-known and has a custom JSON + + representation, that representation will be embedded adding a field + + `value` which holds the custom JSON in addition to the `@type` + + field. Example (for message [google.protobuf.Duration][]): + + + { + "@type": "type.googleapis.com/google.protobuf.Duration", + "value": "1.212s" + } + timestamp: + type: string + description: >- + Time of the previous block. For heights > 1, it's the weighted median of + + the timestamps of the valid votes in the block.LastCommit. For height == 1, + + it's genesis time. + events: + type: array + items: + type: object + properties: + type: + type: string + attributes: + type: array + items: + type: object + properties: + key: + type: string + format: byte + value: + type: string + format: byte + index: + type: boolean + description: EventAttribute is a single key-value pair, associated with an event. + description: >- + Event allows application developers to attach additional information to + + ResponseBeginBlock, ResponseEndBlock, ResponseCheckTx and ResponseDeliverTx. + + Later, transactions may be queried using these events. + description: >- + Events defines all the events emitted by processing a transaction. Note, + + these events include those emitted by processing all the messages and those + + emitted from the ante handler. Whereas Logs contains the events, with + + additional metadata, emitted only by processing the messages. + + + Since: cosmos-sdk 0.42.11, 0.44.5, 0.45 + description: >- + TxResponse defines a structure containing relevant tx data and metadata. The + + tags are stringified and the log is JSON decoded. + cosmos.crypto.multisig.v1beta1.CompactBitArray: + type: object + properties: + extra_bits_stored: + type: integer + format: int64 + elems: + type: string + format: byte + description: >- + CompactBitArray is an implementation of a space efficient bit array. + + This is used to ensure that the encoded data takes up a minimal amount of + + space after proto encoding. + + This is not thread safe, and is not intended for concurrent usage. + cosmos.tx.signing.v1beta1.SignMode: + type: string + enum: + - SIGN_MODE_UNSPECIFIED + - SIGN_MODE_DIRECT + - SIGN_MODE_TEXTUAL + - SIGN_MODE_LEGACY_AMINO_JSON + - SIGN_MODE_EIP_191 + default: SIGN_MODE_UNSPECIFIED + description: >- + SignMode represents a signing mode with its own security guarantees. + + + - SIGN_MODE_UNSPECIFIED: SIGN_MODE_UNSPECIFIED specifies an unknown signing mode and will be + rejected + + - SIGN_MODE_DIRECT: SIGN_MODE_DIRECT specifies a signing mode which uses SignDoc and is + verified with raw bytes from Tx + + - SIGN_MODE_TEXTUAL: SIGN_MODE_TEXTUAL is a future signing mode that will verify some + human-readable textual representation on top of the binary representation + + from SIGN_MODE_DIRECT + + - SIGN_MODE_LEGACY_AMINO_JSON: SIGN_MODE_LEGACY_AMINO_JSON is a backwards compatibility mode which uses + Amino JSON and will be removed in the future + + - SIGN_MODE_EIP_191: SIGN_MODE_EIP_191 specifies the sign mode for EIP 191 signing on the Cosmos + SDK. Ref: https://eips.ethereum.org/EIPS/eip-191 + + + Currently, SIGN_MODE_EIP_191 is registered as a SignMode enum variant, + + but is not implemented on the SDK by default. To enable EIP-191, you need + + to pass a custom `TxConfig` that has an implementation of + + `SignModeHandler` for EIP-191. The SDK may decide to fully support + + EIP-191 in the future. + + + Since: cosmos-sdk 0.45.2 + cosmos.tx.v1beta1.AuthInfo: + type: object + properties: + signer_infos: + type: array + items: + $ref: "#/components/schemas/cosmos.tx.v1beta1.SignerInfo" + description: >- + signer_infos defines the signing modes for the required signers. The number + + and order of elements must match the required signers from TxBody's + + messages. The first element is the primary signer and the one which pays + + the fee. + fee: + description: >- + Fee is the fee and gas limit for the transaction. The first signer is the + + primary signer and the one which pays the fee. The fee can be calculated + + based on the cost of evaluating the body and doing signature verification + + of the signers. This can be estimated via simulation. + type: object + properties: + amount: + type: array + items: + type: object + properties: + denom: + type: string + amount: + type: string + description: >- + Coin defines a token with a denomination and an amount. + + + NOTE: The amount field is an Int which implements the custom method + + signatures required by gogoproto. + title: amount is the amount of coins to be paid as a fee + gas_limit: + type: string + format: uint64 + title: >- + gas_limit is the maximum gas that can be used in transaction processing + + before an out of gas error occurs + payer: + type: string + description: >- + if unset, the first signer is responsible for paying the fees. If set, the specified account must pay the fees. + + the payer must be a tx signer (and thus have signed this field in AuthInfo). + + setting this field does *not* change the ordering of required signers for the transaction. + granter: + type: string + title: >- + if set, the fee payer (either the first signer or the value of the payer field) requests that a fee grant be used + + to pay fees instead of the fee payer's own balance. If an appropriate fee grant does not exist or the chain does + + not support fee grants, this will fail + description: |- + AuthInfo describes the fee and signer modes that are used to sign a + transaction. + cosmos.tx.v1beta1.BroadcastMode: + type: string + enum: + - BROADCAST_MODE_UNSPECIFIED + - BROADCAST_MODE_BLOCK + - BROADCAST_MODE_SYNC + - BROADCAST_MODE_ASYNC + default: BROADCAST_MODE_UNSPECIFIED + description: >- + BroadcastMode specifies the broadcast mode for the TxService.Broadcast RPC method. + + + - BROADCAST_MODE_UNSPECIFIED: zero-value for mode ordering + - BROADCAST_MODE_BLOCK: BROADCAST_MODE_BLOCK defines a tx broadcasting mode where the client waits for + the tx to be committed in a block. + + - BROADCAST_MODE_SYNC: BROADCAST_MODE_SYNC defines a tx broadcasting mode where the client waits for + a CheckTx execution response only. + + - BROADCAST_MODE_ASYNC: BROADCAST_MODE_ASYNC defines a tx broadcasting mode where the client returns + immediately. + cosmos.tx.v1beta1.BroadcastTxRequest: + type: object + properties: + tx_bytes: + type: string + format: byte + description: tx_bytes is the raw transaction. + mode: + type: string + enum: + - BROADCAST_MODE_UNSPECIFIED + - BROADCAST_MODE_BLOCK + - BROADCAST_MODE_SYNC + - BROADCAST_MODE_ASYNC + default: BROADCAST_MODE_UNSPECIFIED + description: >- + BroadcastMode specifies the broadcast mode for the TxService.Broadcast RPC method. + + + - BROADCAST_MODE_UNSPECIFIED: zero-value for mode ordering + - BROADCAST_MODE_BLOCK: BROADCAST_MODE_BLOCK defines a tx broadcasting mode where the client waits for + the tx to be committed in a block. + + - BROADCAST_MODE_SYNC: BROADCAST_MODE_SYNC defines a tx broadcasting mode where the client waits for + a CheckTx execution response only. + + - BROADCAST_MODE_ASYNC: BROADCAST_MODE_ASYNC defines a tx broadcasting mode where the client returns + immediately. + description: >- + BroadcastTxRequest is the request type for the Service.BroadcastTxRequest + + RPC method. + cosmos.tx.v1beta1.BroadcastTxResponse: + type: object + properties: + tx_response: + type: object + properties: + height: + type: string + format: int64 + title: The block height + txhash: + type: string + description: The transaction hash. + codespace: + type: string + title: Namespace for the Code + code: + type: integer + format: int64 + description: Response code. + data: + type: string + description: Result bytes, if any. + raw_log: + type: string + description: |- + The output of the application's logger (raw string). May be + non-deterministic. + logs: + type: array + items: + type: object + properties: + msg_index: + type: integer + format: int64 + log: + type: string + events: + type: array + items: + type: object + properties: + type: + type: string + attributes: + type: array + items: + type: object + properties: + key: + type: string + value: + type: string + description: >- + Attribute defines an attribute wrapper where the key and value are + + strings instead of raw bytes. + description: >- + StringEvent defines en Event object wrapper where all the attributes + + contain key/value pairs that are strings instead of raw bytes. + description: >- + Events contains a slice of Event objects that were emitted during some + + execution. + description: ABCIMessageLog defines a structure containing an indexed tx ABCI message log. + description: The output of the application's logger (typed). May be non-deterministic. + info: + type: string + description: Additional information. May be non-deterministic. + gas_wanted: + type: string + format: int64 + description: Amount of gas requested for transaction. + gas_used: + type: string + format: int64 + description: Amount of gas consumed by transaction. + tx: + type: object + properties: + type_url: + type: string + description: >- + A URL/resource name that uniquely identifies the type of the serialized + + protocol buffer message. This string must contain at least + + one "/" character. The last segment of the URL's path must represent + + the fully qualified name of the type (as in + + `path/google.protobuf.Duration`). The name should be in a canonical form + + (e.g., leading "." is not accepted). + + + In practice, teams usually precompile into the binary all types that they + + expect it to use in the context of Any. However, for URLs which use the + + scheme `http`, `https`, or no scheme, one can optionally set up a type + + server that maps type URLs to message definitions as follows: + + + * If no scheme is provided, `https` is assumed. + + * An HTTP GET on the URL must yield a [google.protobuf.Type][] + + value in binary format, or produce an error. + * Applications are allowed to cache lookup results based on the + + URL, or have them precompiled into a binary to avoid any + lookup. Therefore, binary compatibility needs to be preserved + on changes to types. (Use versioned type names to manage + breaking changes.) + + Note: this functionality is not currently available in the official + + protobuf release, and it is not used for type URLs beginning with + + type.googleapis.com. + + + Schemes other than `http`, `https` (or the empty scheme) might be + + used with implementation specific semantics. + value: + type: string + format: byte + description: Must be a valid serialized protocol buffer of the above specified type. + description: >- + `Any` contains an arbitrary serialized protocol buffer message along with a + + URL that describes the type of the serialized message. + + + Protobuf library provides support to pack/unpack Any values in the form + + of utility functions or additional generated methods of the Any type. + + + Example 1: Pack and unpack a message in C++. + + + Foo foo = ...; + Any any; + any.PackFrom(foo); + ... + if (any.UnpackTo(&foo)) { + ... + } + + Example 2: Pack and unpack a message in Java. + + + Foo foo = ...; + Any any = Any.pack(foo); + ... + if (any.is(Foo.class)) { + foo = any.unpack(Foo.class); + } + + Example 3: Pack and unpack a message in Python. + + foo = Foo(...) + any = Any() + any.Pack(foo) + ... + if any.Is(Foo.DESCRIPTOR): + any.Unpack(foo) + ... + + Example 4: Pack and unpack a message in Go + + foo := &pb.Foo{...} + any, err := ptypes.MarshalAny(foo) + ... + foo := &pb.Foo{} + if err := ptypes.UnmarshalAny(any, foo); err != nil { + ... + } + + The pack methods provided by protobuf library will by default use + + 'type.googleapis.com/full.type.name' as the type URL and the unpack + + methods only use the fully qualified type name after the last '/' + + in the type URL, for example "foo.bar.com/x/y.z" will yield type + + name "y.z". + + + + JSON + + ==== + + The JSON representation of an `Any` value uses the regular + + representation of the deserialized, embedded message, with an + + additional field `@type` which contains the type URL. Example: + + + package google.profile; + message Person { + string first_name = 1; + string last_name = 2; + } + + { + "@type": "type.googleapis.com/google.profile.Person", + "firstName": , + "lastName": + } + + If the embedded message type is well-known and has a custom JSON + + representation, that representation will be embedded adding a field + + `value` which holds the custom JSON in addition to the `@type` + + field. Example (for message [google.protobuf.Duration][]): + + + { + "@type": "type.googleapis.com/google.protobuf.Duration", + "value": "1.212s" + } + timestamp: + type: string + description: >- + Time of the previous block. For heights > 1, it's the weighted median of + + the timestamps of the valid votes in the block.LastCommit. For height == 1, + + it's genesis time. + events: + type: array + items: + type: object + properties: + type: + type: string + attributes: + type: array + items: + type: object + properties: + key: + type: string + format: byte + value: + type: string + format: byte + index: + type: boolean + description: EventAttribute is a single key-value pair, associated with an event. + description: >- + Event allows application developers to attach additional information to + + ResponseBeginBlock, ResponseEndBlock, ResponseCheckTx and ResponseDeliverTx. + + Later, transactions may be queried using these events. + description: >- + Events defines all the events emitted by processing a transaction. Note, + + these events include those emitted by processing all the messages and those + + emitted from the ante handler. Whereas Logs contains the events, with + + additional metadata, emitted only by processing the messages. + + + Since: cosmos-sdk 0.42.11, 0.44.5, 0.45 + description: >- + TxResponse defines a structure containing relevant tx data and metadata. The + + tags are stringified and the log is JSON decoded. + description: |- + BroadcastTxResponse is the response type for the + Service.BroadcastTx method. + cosmos.tx.v1beta1.Fee: + type: object + properties: + amount: + type: array + items: + type: object + properties: + denom: + type: string + amount: + type: string + description: >- + Coin defines a token with a denomination and an amount. + + + NOTE: The amount field is an Int which implements the custom method + + signatures required by gogoproto. + title: amount is the amount of coins to be paid as a fee + gas_limit: + type: string + format: uint64 + title: >- + gas_limit is the maximum gas that can be used in transaction processing + + before an out of gas error occurs + payer: + type: string + description: >- + if unset, the first signer is responsible for paying the fees. If set, the specified account must pay the fees. + + the payer must be a tx signer (and thus have signed this field in AuthInfo). + + setting this field does *not* change the ordering of required signers for the transaction. + granter: + type: string + title: >- + if set, the fee payer (either the first signer or the value of the payer field) requests that a fee grant be used + + to pay fees instead of the fee payer's own balance. If an appropriate fee grant does not exist or the chain does + + not support fee grants, this will fail + description: >- + Fee includes the amount of coins paid in fees and the maximum + + gas to be used by the transaction. The ratio yields an effective "gasprice", + + which must be above some miminum to be accepted into the mempool. + cosmos.tx.v1beta1.GetBlockWithTxsResponse: + type: object + properties: + txs: + type: array + items: + $ref: "#/components/schemas/cosmos.tx.v1beta1.Tx" + description: txs are the transactions in the block. + block_id: + type: object + properties: + hash: + type: string + format: byte + part_set_header: + type: object + properties: + total: + type: integer + format: int64 + hash: + type: string + format: byte + title: PartsetHeader + title: BlockID + block: + type: object + properties: + header: + type: object + properties: + version: + title: basic block info + type: object + properties: + block: + type: string + format: uint64 + app: + type: string + format: uint64 + description: >- + Consensus captures the consensus rules for processing a block in the blockchain, + + including all blockchain data structures and the rules of the application's + + state transition machine. + chain_id: + type: string + height: + type: string + format: int64 + time: + type: string + format: date-time + last_block_id: + type: object + properties: + hash: + type: string + format: byte + part_set_header: + type: object + properties: + total: + type: integer + format: int64 + hash: + type: string + format: byte + title: PartsetHeader + title: BlockID + last_commit_hash: + type: string + format: byte + title: hashes of block data + data_hash: + type: string + format: byte + validators_hash: + type: string + format: byte + title: hashes from the app output from the prev block + next_validators_hash: + type: string + format: byte + consensus_hash: + type: string + format: byte + app_hash: + type: string + format: byte + last_results_hash: + type: string + format: byte + evidence_hash: + type: string + format: byte + title: consensus info + proposer_address: + type: string + format: byte + description: Header defines the structure of a Tendermint block header. + data: + type: object + properties: + txs: + type: array + items: + type: string + format: byte + description: >- + Txs that will be applied by state @ block.Height+1. + + NOTE: not all txs here are valid. We're just agreeing on the order first. + + This means that block.AppHash does not include these txs. + title: Data contains the set of transactions included in the block + evidence: + type: object + properties: + evidence: + type: array + items: + type: object + properties: + duplicate_vote_evidence: + type: object + properties: + vote_a: + type: object + properties: + type: + type: string + enum: + - SIGNED_MSG_TYPE_UNKNOWN + - SIGNED_MSG_TYPE_PREVOTE + - SIGNED_MSG_TYPE_PRECOMMIT + - SIGNED_MSG_TYPE_PROPOSAL + default: SIGNED_MSG_TYPE_UNKNOWN + description: >- + SignedMsgType is a type of signed message in the consensus. + + + - SIGNED_MSG_TYPE_PREVOTE: Votes + - SIGNED_MSG_TYPE_PROPOSAL: Proposals + height: + type: string + format: int64 + round: + type: integer + format: int32 + block_id: + type: object + properties: + hash: + type: string + format: byte + part_set_header: + type: object + properties: + total: + type: integer + format: int64 + hash: + type: string + format: byte + title: PartsetHeader + title: BlockID + timestamp: + type: string + format: date-time + validator_address: + type: string + format: byte + validator_index: + type: integer + format: int32 + signature: + type: string + format: byte + description: >- + Vote represents a prevote, precommit, or commit vote from validators for + + consensus. + vote_b: + type: object + properties: + type: + type: string + enum: + - SIGNED_MSG_TYPE_UNKNOWN + - SIGNED_MSG_TYPE_PREVOTE + - SIGNED_MSG_TYPE_PRECOMMIT + - SIGNED_MSG_TYPE_PROPOSAL + default: SIGNED_MSG_TYPE_UNKNOWN + description: >- + SignedMsgType is a type of signed message in the consensus. + + + - SIGNED_MSG_TYPE_PREVOTE: Votes + - SIGNED_MSG_TYPE_PROPOSAL: Proposals + height: + type: string + format: int64 + round: + type: integer + format: int32 + block_id: + type: object + properties: + hash: + type: string + format: byte + part_set_header: + type: object + properties: + total: + type: integer + format: int64 + hash: + type: string + format: byte + title: PartsetHeader + title: BlockID + timestamp: + type: string + format: date-time + validator_address: + type: string + format: byte + validator_index: + type: integer + format: int32 + signature: + type: string + format: byte + description: >- + Vote represents a prevote, precommit, or commit vote from validators for + + consensus. + total_voting_power: + type: string + format: int64 + validator_power: + type: string + format: int64 + timestamp: + type: string + format: date-time + description: DuplicateVoteEvidence contains evidence of a validator signed two conflicting votes. + light_client_attack_evidence: + type: object + properties: + conflicting_block: + type: object + properties: + signed_header: + type: object + properties: + header: + type: object + properties: + version: + title: basic block info + type: object + properties: + block: + type: string + format: uint64 + app: + type: string + format: uint64 + description: >- + Consensus captures the consensus rules for processing a block in the blockchain, + + including all blockchain data structures and the rules of the application's + + state transition machine. + chain_id: + type: string + height: + type: string + format: int64 + time: + type: string + format: date-time + last_block_id: + type: object + properties: + hash: + type: string + format: byte + part_set_header: + type: object + properties: + total: + type: integer + format: int64 + hash: + type: string + format: byte + title: PartsetHeader + title: BlockID + last_commit_hash: + type: string + format: byte + title: hashes of block data + data_hash: + type: string + format: byte + validators_hash: + type: string + format: byte + title: hashes from the app output from the prev block + next_validators_hash: + type: string + format: byte + consensus_hash: + type: string + format: byte + app_hash: + type: string + format: byte + last_results_hash: + type: string + format: byte + evidence_hash: + type: string + format: byte + title: consensus info + proposer_address: + type: string + format: byte + description: Header defines the structure of a Tendermint block header. + commit: + type: object + properties: + height: + type: string + format: int64 + round: + type: integer + format: int32 + block_id: + type: object + properties: + hash: + type: string + format: byte + part_set_header: + type: object + properties: + total: + type: integer + format: int64 + hash: + type: string + format: byte + title: PartsetHeader + title: BlockID + signatures: + type: array + items: + type: object + properties: + block_id_flag: + type: string + enum: + - BLOCK_ID_FLAG_UNKNOWN + - BLOCK_ID_FLAG_ABSENT + - BLOCK_ID_FLAG_COMMIT + - BLOCK_ID_FLAG_NIL + default: BLOCK_ID_FLAG_UNKNOWN + title: BlockIdFlag indicates which BlcokID the signature is for + validator_address: + type: string + format: byte + timestamp: + type: string + format: date-time + signature: + type: string + format: byte + description: CommitSig is a part of the Vote included in a Commit. + description: Commit contains the evidence that a block was committed by a set of validators. + validator_set: + type: object + properties: + validators: + type: array + items: + type: object + properties: + address: + type: string + format: byte + pub_key: + type: object + properties: + ed25519: + type: string + format: byte + secp256k1: + type: string + format: byte + title: PublicKey defines the keys available for use with Tendermint Validators + voting_power: + type: string + format: int64 + proposer_priority: + type: string + format: int64 + proposer: + type: object + properties: + address: + type: string + format: byte + pub_key: + type: object + properties: + ed25519: + type: string + format: byte + secp256k1: + type: string + format: byte + title: PublicKey defines the keys available for use with Tendermint Validators + voting_power: + type: string + format: int64 + proposer_priority: + type: string + format: int64 + total_voting_power: + type: string + format: int64 + common_height: + type: string + format: int64 + byzantine_validators: + type: array + items: + type: object + properties: + address: + type: string + format: byte + pub_key: + type: object + properties: + ed25519: + type: string + format: byte + secp256k1: + type: string + format: byte + title: PublicKey defines the keys available for use with Tendermint Validators + voting_power: + type: string + format: int64 + proposer_priority: + type: string + format: int64 + total_voting_power: + type: string + format: int64 + timestamp: + type: string + format: date-time + description: LightClientAttackEvidence contains evidence of a set of validators attempting to mislead a light client. + last_commit: + type: object + properties: + height: + type: string + format: int64 + round: + type: integer + format: int32 + block_id: + type: object + properties: + hash: + type: string + format: byte + part_set_header: + type: object + properties: + total: + type: integer + format: int64 + hash: + type: string + format: byte + title: PartsetHeader + title: BlockID + signatures: + type: array + items: + type: object + properties: + block_id_flag: + type: string + enum: + - BLOCK_ID_FLAG_UNKNOWN + - BLOCK_ID_FLAG_ABSENT + - BLOCK_ID_FLAG_COMMIT + - BLOCK_ID_FLAG_NIL + default: BLOCK_ID_FLAG_UNKNOWN + title: BlockIdFlag indicates which BlcokID the signature is for + validator_address: + type: string + format: byte + timestamp: + type: string + format: date-time + signature: + type: string + format: byte + description: CommitSig is a part of the Vote included in a Commit. + description: Commit contains the evidence that a block was committed by a set of validators. + pagination: + description: pagination defines a pagination for the response. + type: object + properties: + next_key: + type: string + format: byte + title: |- + next_key is the key to be passed to PageRequest.key to + query the next page most efficiently + total: + type: string + format: uint64 + title: >- + total is total number of results available if PageRequest.count_total + + was set, its value is undefined otherwise + description: >- + GetBlockWithTxsResponse is the response type for the Service.GetBlockWithTxs method. + + + Since: cosmos-sdk 0.45.2 + cosmos.tx.v1beta1.GetTxResponse: + type: object + properties: + tx: + $ref: "#/components/schemas/cosmos.tx.v1beta1.Tx" + tx_response: + type: object + properties: + height: + type: string + format: int64 + title: The block height + txhash: + type: string + description: The transaction hash. + codespace: + type: string + title: Namespace for the Code + code: + type: integer + format: int64 + description: Response code. + data: + type: string + description: Result bytes, if any. + raw_log: + type: string + description: |- + The output of the application's logger (raw string). May be + non-deterministic. + logs: + type: array + items: + type: object + properties: + msg_index: + type: integer + format: int64 + log: + type: string + events: + type: array + items: + type: object + properties: + type: + type: string + attributes: + type: array + items: + type: object + properties: + key: + type: string + value: + type: string + description: >- + Attribute defines an attribute wrapper where the key and value are + + strings instead of raw bytes. + description: >- + StringEvent defines en Event object wrapper where all the attributes + + contain key/value pairs that are strings instead of raw bytes. + description: >- + Events contains a slice of Event objects that were emitted during some + + execution. + description: ABCIMessageLog defines a structure containing an indexed tx ABCI message log. + description: The output of the application's logger (typed). May be non-deterministic. + info: + type: string + description: Additional information. May be non-deterministic. + gas_wanted: + type: string + format: int64 + description: Amount of gas requested for transaction. + gas_used: + type: string + format: int64 + description: Amount of gas consumed by transaction. + tx: + type: object + properties: + type_url: + type: string + description: >- + A URL/resource name that uniquely identifies the type of the serialized + + protocol buffer message. This string must contain at least + + one "/" character. The last segment of the URL's path must represent + + the fully qualified name of the type (as in + + `path/google.protobuf.Duration`). The name should be in a canonical form + + (e.g., leading "." is not accepted). + + + In practice, teams usually precompile into the binary all types that they + + expect it to use in the context of Any. However, for URLs which use the + + scheme `http`, `https`, or no scheme, one can optionally set up a type + + server that maps type URLs to message definitions as follows: + + + * If no scheme is provided, `https` is assumed. + + * An HTTP GET on the URL must yield a [google.protobuf.Type][] + + value in binary format, or produce an error. + * Applications are allowed to cache lookup results based on the + + URL, or have them precompiled into a binary to avoid any + lookup. Therefore, binary compatibility needs to be preserved + on changes to types. (Use versioned type names to manage + breaking changes.) + + Note: this functionality is not currently available in the official + + protobuf release, and it is not used for type URLs beginning with + + type.googleapis.com. + + + Schemes other than `http`, `https` (or the empty scheme) might be + + used with implementation specific semantics. + value: + type: string + format: byte + description: Must be a valid serialized protocol buffer of the above specified type. + description: >- + `Any` contains an arbitrary serialized protocol buffer message along with a + + URL that describes the type of the serialized message. + + + Protobuf library provides support to pack/unpack Any values in the form + + of utility functions or additional generated methods of the Any type. + + + Example 1: Pack and unpack a message in C++. + + + Foo foo = ...; + Any any; + any.PackFrom(foo); + ... + if (any.UnpackTo(&foo)) { + ... + } + + Example 2: Pack and unpack a message in Java. + + + Foo foo = ...; + Any any = Any.pack(foo); + ... + if (any.is(Foo.class)) { + foo = any.unpack(Foo.class); + } + + Example 3: Pack and unpack a message in Python. + + foo = Foo(...) + any = Any() + any.Pack(foo) + ... + if any.Is(Foo.DESCRIPTOR): + any.Unpack(foo) + ... + + Example 4: Pack and unpack a message in Go + + foo := &pb.Foo{...} + any, err := ptypes.MarshalAny(foo) + ... + foo := &pb.Foo{} + if err := ptypes.UnmarshalAny(any, foo); err != nil { + ... + } + + The pack methods provided by protobuf library will by default use + + 'type.googleapis.com/full.type.name' as the type URL and the unpack + + methods only use the fully qualified type name after the last '/' + + in the type URL, for example "foo.bar.com/x/y.z" will yield type + + name "y.z". + + + + JSON + + ==== + + The JSON representation of an `Any` value uses the regular + + representation of the deserialized, embedded message, with an + + additional field `@type` which contains the type URL. Example: + + + package google.profile; + message Person { + string first_name = 1; + string last_name = 2; + } + + { + "@type": "type.googleapis.com/google.profile.Person", + "firstName": , + "lastName": + } + + If the embedded message type is well-known and has a custom JSON + + representation, that representation will be embedded adding a field + + `value` which holds the custom JSON in addition to the `@type` + + field. Example (for message [google.protobuf.Duration][]): + + + { + "@type": "type.googleapis.com/google.protobuf.Duration", + "value": "1.212s" + } + timestamp: + type: string + description: >- + Time of the previous block. For heights > 1, it's the weighted median of + + the timestamps of the valid votes in the block.LastCommit. For height == 1, + + it's genesis time. + events: + type: array + items: + type: object + properties: + type: + type: string + attributes: + type: array + items: + type: object + properties: + key: + type: string + format: byte + value: + type: string + format: byte + index: + type: boolean + description: EventAttribute is a single key-value pair, associated with an event. + description: >- + Event allows application developers to attach additional information to + + ResponseBeginBlock, ResponseEndBlock, ResponseCheckTx and ResponseDeliverTx. + + Later, transactions may be queried using these events. + description: >- + Events defines all the events emitted by processing a transaction. Note, + + these events include those emitted by processing all the messages and those + + emitted from the ante handler. Whereas Logs contains the events, with + + additional metadata, emitted only by processing the messages. + + + Since: cosmos-sdk 0.42.11, 0.44.5, 0.45 + description: >- + TxResponse defines a structure containing relevant tx data and metadata. The + + tags are stringified and the log is JSON decoded. + description: GetTxResponse is the response type for the Service.GetTx method. + cosmos.tx.v1beta1.GetTxsEventResponse: + type: object + properties: + txs: + type: array + items: + $ref: "#/components/schemas/cosmos.tx.v1beta1.Tx" + description: txs is the list of queried transactions. + tx_responses: + type: array + items: + type: object + properties: + height: + type: string + format: int64 + title: The block height + txhash: + type: string + description: The transaction hash. + codespace: + type: string + title: Namespace for the Code + code: + type: integer + format: int64 + description: Response code. + data: + type: string + description: Result bytes, if any. + raw_log: + type: string + description: |- + The output of the application's logger (raw string). May be + non-deterministic. + logs: + type: array + items: + type: object + properties: + msg_index: + type: integer + format: int64 + log: + type: string + events: + type: array + items: + type: object + properties: + type: + type: string + attributes: + type: array + items: + type: object + properties: + key: + type: string + value: + type: string + description: >- + Attribute defines an attribute wrapper where the key and value are + + strings instead of raw bytes. + description: >- + StringEvent defines en Event object wrapper where all the attributes + + contain key/value pairs that are strings instead of raw bytes. + description: >- + Events contains a slice of Event objects that were emitted during some + + execution. + description: ABCIMessageLog defines a structure containing an indexed tx ABCI message log. + description: The output of the application's logger (typed). May be non-deterministic. + info: + type: string + description: Additional information. May be non-deterministic. + gas_wanted: + type: string + format: int64 + description: Amount of gas requested for transaction. + gas_used: + type: string + format: int64 + description: Amount of gas consumed by transaction. + tx: + type: object + properties: + type_url: + type: string + description: >- + A URL/resource name that uniquely identifies the type of the serialized + + protocol buffer message. This string must contain at least + + one "/" character. The last segment of the URL's path must represent + + the fully qualified name of the type (as in + + `path/google.protobuf.Duration`). The name should be in a canonical form + + (e.g., leading "." is not accepted). + + + In practice, teams usually precompile into the binary all types that they + + expect it to use in the context of Any. However, for URLs which use the + + scheme `http`, `https`, or no scheme, one can optionally set up a type + + server that maps type URLs to message definitions as follows: + + + * If no scheme is provided, `https` is assumed. + + * An HTTP GET on the URL must yield a [google.protobuf.Type][] + + value in binary format, or produce an error. + * Applications are allowed to cache lookup results based on the + + URL, or have them precompiled into a binary to avoid any + lookup. Therefore, binary compatibility needs to be preserved + on changes to types. (Use versioned type names to manage + breaking changes.) + + Note: this functionality is not currently available in the official + + protobuf release, and it is not used for type URLs beginning with + + type.googleapis.com. + + + Schemes other than `http`, `https` (or the empty scheme) might be + + used with implementation specific semantics. + value: + type: string + format: byte + description: Must be a valid serialized protocol buffer of the above specified type. + description: >- + `Any` contains an arbitrary serialized protocol buffer message along with a + + URL that describes the type of the serialized message. + + + Protobuf library provides support to pack/unpack Any values in the form + + of utility functions or additional generated methods of the Any type. + + + Example 1: Pack and unpack a message in C++. + + + Foo foo = ...; + Any any; + any.PackFrom(foo); + ... + if (any.UnpackTo(&foo)) { + ... + } + + Example 2: Pack and unpack a message in Java. + + + Foo foo = ...; + Any any = Any.pack(foo); + ... + if (any.is(Foo.class)) { + foo = any.unpack(Foo.class); + } + + Example 3: Pack and unpack a message in Python. + + foo = Foo(...) + any = Any() + any.Pack(foo) + ... + if any.Is(Foo.DESCRIPTOR): + any.Unpack(foo) + ... + + Example 4: Pack and unpack a message in Go + + foo := &pb.Foo{...} + any, err := ptypes.MarshalAny(foo) + ... + foo := &pb.Foo{} + if err := ptypes.UnmarshalAny(any, foo); err != nil { + ... + } + + The pack methods provided by protobuf library will by default use + + 'type.googleapis.com/full.type.name' as the type URL and the unpack + + methods only use the fully qualified type name after the last '/' + + in the type URL, for example "foo.bar.com/x/y.z" will yield type + + name "y.z". + + + + JSON + + ==== + + The JSON representation of an `Any` value uses the regular + + representation of the deserialized, embedded message, with an + + additional field `@type` which contains the type URL. Example: + + + package google.profile; + message Person { + string first_name = 1; + string last_name = 2; + } + + { + "@type": "type.googleapis.com/google.profile.Person", + "firstName": , + "lastName": + } + + If the embedded message type is well-known and has a custom JSON + + representation, that representation will be embedded adding a field + + `value` which holds the custom JSON in addition to the `@type` + + field. Example (for message [google.protobuf.Duration][]): + + + { + "@type": "type.googleapis.com/google.protobuf.Duration", + "value": "1.212s" + } + timestamp: + type: string + description: >- + Time of the previous block. For heights > 1, it's the weighted median of + + the timestamps of the valid votes in the block.LastCommit. For height == 1, + + it's genesis time. + events: + type: array + items: + type: object + properties: + type: + type: string + attributes: + type: array + items: + type: object + properties: + key: + type: string + format: byte + value: + type: string + format: byte + index: + type: boolean + description: EventAttribute is a single key-value pair, associated with an event. + description: >- + Event allows application developers to attach additional information to + + ResponseBeginBlock, ResponseEndBlock, ResponseCheckTx and ResponseDeliverTx. + + Later, transactions may be queried using these events. + description: >- + Events defines all the events emitted by processing a transaction. Note, + + these events include those emitted by processing all the messages and those + + emitted from the ante handler. Whereas Logs contains the events, with + + additional metadata, emitted only by processing the messages. + + + Since: cosmos-sdk 0.42.11, 0.44.5, 0.45 + description: >- + TxResponse defines a structure containing relevant tx data and metadata. The + + tags are stringified and the log is JSON decoded. + description: tx_responses is the list of queried TxResponses. + pagination: + description: pagination defines a pagination for the response. + type: object + properties: + next_key: + type: string + format: byte + title: |- + next_key is the key to be passed to PageRequest.key to + query the next page most efficiently + total: + type: string + format: uint64 + title: >- + total is total number of results available if PageRequest.count_total + + was set, its value is undefined otherwise + description: |- + GetTxsEventResponse is the response type for the Service.TxsByEvents + RPC method. + cosmos.tx.v1beta1.ModeInfo: + type: object + properties: + single: + title: single represents a single signer + type: object + properties: + mode: + title: mode is the signing mode of the single signer + type: string + enum: + - SIGN_MODE_UNSPECIFIED + - SIGN_MODE_DIRECT + - SIGN_MODE_TEXTUAL + - SIGN_MODE_LEGACY_AMINO_JSON + - SIGN_MODE_EIP_191 + default: SIGN_MODE_UNSPECIFIED + description: >- + SignMode represents a signing mode with its own security guarantees. + + + - SIGN_MODE_UNSPECIFIED: SIGN_MODE_UNSPECIFIED specifies an unknown signing mode and will be + rejected + + - SIGN_MODE_DIRECT: SIGN_MODE_DIRECT specifies a signing mode which uses SignDoc and is + verified with raw bytes from Tx + + - SIGN_MODE_TEXTUAL: SIGN_MODE_TEXTUAL is a future signing mode that will verify some + human-readable textual representation on top of the binary representation + + from SIGN_MODE_DIRECT + + - SIGN_MODE_LEGACY_AMINO_JSON: SIGN_MODE_LEGACY_AMINO_JSON is a backwards compatibility mode which uses + Amino JSON and will be removed in the future + + - SIGN_MODE_EIP_191: SIGN_MODE_EIP_191 specifies the sign mode for EIP 191 signing on the Cosmos + SDK. Ref: https://eips.ethereum.org/EIPS/eip-191 + + + Currently, SIGN_MODE_EIP_191 is registered as a SignMode enum variant, + + but is not implemented on the SDK by default. To enable EIP-191, you need + + to pass a custom `TxConfig` that has an implementation of + + `SignModeHandler` for EIP-191. The SDK may decide to fully support + + EIP-191 in the future. + + + Since: cosmos-sdk 0.45.2 + multi: + $ref: "#/components/schemas/cosmos.tx.v1beta1.ModeInfo.Multi" + description: ModeInfo describes the signing mode of a single or nested multisig signer. + cosmos.tx.v1beta1.ModeInfo.Multi: + type: object + properties: + bitarray: + title: bitarray specifies which keys within the multisig are signing + type: object + properties: + extra_bits_stored: + type: integer + format: int64 + elems: + type: string + format: byte + description: >- + CompactBitArray is an implementation of a space efficient bit array. + + This is used to ensure that the encoded data takes up a minimal amount of + + space after proto encoding. + + This is not thread safe, and is not intended for concurrent usage. + mode_infos: + type: array + items: + $ref: "#/components/schemas/cosmos.tx.v1beta1.ModeInfo" + title: |- + mode_infos is the corresponding modes of the signers of the multisig + which could include nested multisig public keys + title: Multi is the mode info for a multisig public key + cosmos.tx.v1beta1.ModeInfo.Single: + type: object + properties: + mode: + title: mode is the signing mode of the single signer + type: string + enum: + - SIGN_MODE_UNSPECIFIED + - SIGN_MODE_DIRECT + - SIGN_MODE_TEXTUAL + - SIGN_MODE_LEGACY_AMINO_JSON + - SIGN_MODE_EIP_191 + default: SIGN_MODE_UNSPECIFIED + description: >- + SignMode represents a signing mode with its own security guarantees. + + + - SIGN_MODE_UNSPECIFIED: SIGN_MODE_UNSPECIFIED specifies an unknown signing mode and will be + rejected + + - SIGN_MODE_DIRECT: SIGN_MODE_DIRECT specifies a signing mode which uses SignDoc and is + verified with raw bytes from Tx + + - SIGN_MODE_TEXTUAL: SIGN_MODE_TEXTUAL is a future signing mode that will verify some + human-readable textual representation on top of the binary representation + + from SIGN_MODE_DIRECT + + - SIGN_MODE_LEGACY_AMINO_JSON: SIGN_MODE_LEGACY_AMINO_JSON is a backwards compatibility mode which uses + Amino JSON and will be removed in the future + + - SIGN_MODE_EIP_191: SIGN_MODE_EIP_191 specifies the sign mode for EIP 191 signing on the Cosmos + SDK. Ref: https://eips.ethereum.org/EIPS/eip-191 + + + Currently, SIGN_MODE_EIP_191 is registered as a SignMode enum variant, + + but is not implemented on the SDK by default. To enable EIP-191, you need + + to pass a custom `TxConfig` that has an implementation of + + `SignModeHandler` for EIP-191. The SDK may decide to fully support + + EIP-191 in the future. + + + Since: cosmos-sdk 0.45.2 + title: >- + Single is the mode info for a single signer. It is structured as a message + + to allow for additional fields such as locale for SIGN_MODE_TEXTUAL in the + + future + cosmos.tx.v1beta1.OrderBy: + type: string + enum: + - ORDER_BY_UNSPECIFIED + - ORDER_BY_ASC + - ORDER_BY_DESC + default: ORDER_BY_UNSPECIFIED + description: >- + - ORDER_BY_UNSPECIFIED: ORDER_BY_UNSPECIFIED specifies an unknown sorting order. OrderBy defaults to ASC in this case. + + - ORDER_BY_ASC: ORDER_BY_ASC defines ascending order + - ORDER_BY_DESC: ORDER_BY_DESC defines descending order + title: OrderBy defines the sorting order + cosmos.tx.v1beta1.SignerInfo: + type: object + properties: + public_key: + type: object + properties: + type_url: + type: string + description: >- + A URL/resource name that uniquely identifies the type of the serialized + + protocol buffer message. This string must contain at least + + one "/" character. The last segment of the URL's path must represent + + the fully qualified name of the type (as in + + `path/google.protobuf.Duration`). The name should be in a canonical form + + (e.g., leading "." is not accepted). + + + In practice, teams usually precompile into the binary all types that they + + expect it to use in the context of Any. However, for URLs which use the + + scheme `http`, `https`, or no scheme, one can optionally set up a type + + server that maps type URLs to message definitions as follows: + + + * If no scheme is provided, `https` is assumed. + + * An HTTP GET on the URL must yield a [google.protobuf.Type][] + + value in binary format, or produce an error. + * Applications are allowed to cache lookup results based on the + + URL, or have them precompiled into a binary to avoid any + lookup. Therefore, binary compatibility needs to be preserved + on changes to types. (Use versioned type names to manage + breaking changes.) + + Note: this functionality is not currently available in the official + + protobuf release, and it is not used for type URLs beginning with + + type.googleapis.com. + + + Schemes other than `http`, `https` (or the empty scheme) might be + + used with implementation specific semantics. + value: + type: string + format: byte + description: Must be a valid serialized protocol buffer of the above specified type. + description: >- + `Any` contains an arbitrary serialized protocol buffer message along with a + + URL that describes the type of the serialized message. + + + Protobuf library provides support to pack/unpack Any values in the form + + of utility functions or additional generated methods of the Any type. + + + Example 1: Pack and unpack a message in C++. + + + Foo foo = ...; + Any any; + any.PackFrom(foo); + ... + if (any.UnpackTo(&foo)) { + ... + } + + Example 2: Pack and unpack a message in Java. + + + Foo foo = ...; + Any any = Any.pack(foo); + ... + if (any.is(Foo.class)) { + foo = any.unpack(Foo.class); + } + + Example 3: Pack and unpack a message in Python. + + foo = Foo(...) + any = Any() + any.Pack(foo) + ... + if any.Is(Foo.DESCRIPTOR): + any.Unpack(foo) + ... + + Example 4: Pack and unpack a message in Go + + foo := &pb.Foo{...} + any, err := ptypes.MarshalAny(foo) + ... + foo := &pb.Foo{} + if err := ptypes.UnmarshalAny(any, foo); err != nil { + ... + } + + The pack methods provided by protobuf library will by default use + + 'type.googleapis.com/full.type.name' as the type URL and the unpack + + methods only use the fully qualified type name after the last '/' + + in the type URL, for example "foo.bar.com/x/y.z" will yield type + + name "y.z". + + + + JSON + + ==== + + The JSON representation of an `Any` value uses the regular + + representation of the deserialized, embedded message, with an + + additional field `@type` which contains the type URL. Example: + + + package google.profile; + message Person { + string first_name = 1; + string last_name = 2; + } + + { + "@type": "type.googleapis.com/google.profile.Person", + "firstName": , + "lastName": + } + + If the embedded message type is well-known and has a custom JSON + + representation, that representation will be embedded adding a field + + `value` which holds the custom JSON in addition to the `@type` + + field. Example (for message [google.protobuf.Duration][]): + + + { + "@type": "type.googleapis.com/google.protobuf.Duration", + "value": "1.212s" + } + mode_info: + $ref: "#/components/schemas/cosmos.tx.v1beta1.ModeInfo" + sequence: + type: string + format: uint64 + description: >- + sequence is the sequence of the account, which describes the + + number of committed transactions signed by a given address. It is used to + + prevent replay attacks. + description: >- + SignerInfo describes the public key and signing mode of a single top-level + + signer. + cosmos.tx.v1beta1.SimulateRequest: + type: object + properties: + tx: + $ref: "#/components/schemas/cosmos.tx.v1beta1.Tx" + tx_bytes: + type: string + format: byte + description: |- + tx_bytes is the raw transaction. + + Since: cosmos-sdk 0.43 + description: |- + SimulateRequest is the request type for the Service.Simulate + RPC method. + cosmos.tx.v1beta1.SimulateResponse: + type: object + properties: + gas_info: + description: gas_info is the information about gas used in the simulation. + type: object + properties: + gas_wanted: + type: string + format: uint64 + description: GasWanted is the maximum units of work we allow this tx to perform. + gas_used: + type: string + format: uint64 + description: GasUsed is the amount of gas actually consumed. + result: + description: result is the result of the simulation. + type: object + properties: + data: + type: string + format: byte + description: >- + Data is any data returned from message or handler execution. It MUST be + + length prefixed in order to separate data from multiple message executions. + log: + type: string + description: Log contains the log information from message or handler execution. + events: + type: array + items: + type: object + properties: + type: + type: string + attributes: + type: array + items: + type: object + properties: + key: + type: string + format: byte + value: + type: string + format: byte + index: + type: boolean + description: EventAttribute is a single key-value pair, associated with an event. + description: >- + Event allows application developers to attach additional information to + + ResponseBeginBlock, ResponseEndBlock, ResponseCheckTx and ResponseDeliverTx. + + Later, transactions may be queried using these events. + description: >- + Events contains a slice of Event objects that were emitted during message + + or handler execution. + description: |- + SimulateResponse is the response type for the + Service.SimulateRPC method. + cosmos.tx.v1beta1.Tx: + type: object + properties: + body: + title: body is the processable content of the transaction + type: object + properties: + messages: + type: array + items: + type: object + properties: + type_url: + type: string + description: >- + A URL/resource name that uniquely identifies the type of the serialized + + protocol buffer message. This string must contain at least + + one "/" character. The last segment of the URL's path must represent + + the fully qualified name of the type (as in + + `path/google.protobuf.Duration`). The name should be in a canonical form + + (e.g., leading "." is not accepted). + + + In practice, teams usually precompile into the binary all types that they + + expect it to use in the context of Any. However, for URLs which use the + + scheme `http`, `https`, or no scheme, one can optionally set up a type + + server that maps type URLs to message definitions as follows: + + + * If no scheme is provided, `https` is assumed. + + * An HTTP GET on the URL must yield a [google.protobuf.Type][] + + value in binary format, or produce an error. + * Applications are allowed to cache lookup results based on the + + URL, or have them precompiled into a binary to avoid any + lookup. Therefore, binary compatibility needs to be preserved + on changes to types. (Use versioned type names to manage + breaking changes.) + + Note: this functionality is not currently available in the official + + protobuf release, and it is not used for type URLs beginning with + + type.googleapis.com. + + + Schemes other than `http`, `https` (or the empty scheme) might be + + used with implementation specific semantics. + value: + type: string + format: byte + description: Must be a valid serialized protocol buffer of the above specified type. + description: >- + `Any` contains an arbitrary serialized protocol buffer message along with a + + URL that describes the type of the serialized message. + + + Protobuf library provides support to pack/unpack Any values in the form + + of utility functions or additional generated methods of the Any type. + + + Example 1: Pack and unpack a message in C++. + + + Foo foo = ...; + Any any; + any.PackFrom(foo); + ... + if (any.UnpackTo(&foo)) { + ... + } + + Example 2: Pack and unpack a message in Java. + + + Foo foo = ...; + Any any = Any.pack(foo); + ... + if (any.is(Foo.class)) { + foo = any.unpack(Foo.class); + } + + Example 3: Pack and unpack a message in Python. + + foo = Foo(...) + any = Any() + any.Pack(foo) + ... + if any.Is(Foo.DESCRIPTOR): + any.Unpack(foo) + ... + + Example 4: Pack and unpack a message in Go + + foo := &pb.Foo{...} + any, err := ptypes.MarshalAny(foo) + ... + foo := &pb.Foo{} + if err := ptypes.UnmarshalAny(any, foo); err != nil { + ... + } + + The pack methods provided by protobuf library will by default use + + 'type.googleapis.com/full.type.name' as the type URL and the unpack + + methods only use the fully qualified type name after the last '/' + + in the type URL, for example "foo.bar.com/x/y.z" will yield type + + name "y.z". + + + + JSON + + ==== + + The JSON representation of an `Any` value uses the regular + + representation of the deserialized, embedded message, with an + + additional field `@type` which contains the type URL. Example: + + + package google.profile; + message Person { + string first_name = 1; + string last_name = 2; + } + + { + "@type": "type.googleapis.com/google.profile.Person", + "firstName": , + "lastName": + } + + If the embedded message type is well-known and has a custom JSON + + representation, that representation will be embedded adding a field + + `value` which holds the custom JSON in addition to the `@type` + + field. Example (for message [google.protobuf.Duration][]): + + + { + "@type": "type.googleapis.com/google.protobuf.Duration", + "value": "1.212s" + } + description: >- + messages is a list of messages to be executed. The required signers of + + those messages define the number and order of elements in AuthInfo's + + signer_infos and Tx's signatures. Each required signer address is added to + + the list only the first time it occurs. + + By convention, the first required signer (usually from the first message) + + is referred to as the primary signer and pays the fee for the whole + + transaction. + memo: + type: string + description: >- + memo is any arbitrary note/comment to be added to the transaction. + + WARNING: in clients, any publicly exposed text should not be called memo, + + but should be called `note` instead (see https://github.com/cosmos/cosmos-sdk/issues/9122). + timeout_height: + type: string + format: uint64 + title: >- + timeout is the block height after which this transaction will not + + be processed by the chain + extension_options: + type: array + items: + type: object + properties: + type_url: + type: string + description: >- + A URL/resource name that uniquely identifies the type of the serialized + + protocol buffer message. This string must contain at least + + one "/" character. The last segment of the URL's path must represent + + the fully qualified name of the type (as in + + `path/google.protobuf.Duration`). The name should be in a canonical form + + (e.g., leading "." is not accepted). + + + In practice, teams usually precompile into the binary all types that they + + expect it to use in the context of Any. However, for URLs which use the + + scheme `http`, `https`, or no scheme, one can optionally set up a type + + server that maps type URLs to message definitions as follows: + + + * If no scheme is provided, `https` is assumed. + + * An HTTP GET on the URL must yield a [google.protobuf.Type][] + + value in binary format, or produce an error. + * Applications are allowed to cache lookup results based on the + + URL, or have them precompiled into a binary to avoid any + lookup. Therefore, binary compatibility needs to be preserved + on changes to types. (Use versioned type names to manage + breaking changes.) + + Note: this functionality is not currently available in the official + + protobuf release, and it is not used for type URLs beginning with + + type.googleapis.com. + + + Schemes other than `http`, `https` (or the empty scheme) might be + + used with implementation specific semantics. + value: + type: string + format: byte + description: Must be a valid serialized protocol buffer of the above specified type. + description: >- + `Any` contains an arbitrary serialized protocol buffer message along with a + + URL that describes the type of the serialized message. + + + Protobuf library provides support to pack/unpack Any values in the form + + of utility functions or additional generated methods of the Any type. + + + Example 1: Pack and unpack a message in C++. + + + Foo foo = ...; + Any any; + any.PackFrom(foo); + ... + if (any.UnpackTo(&foo)) { + ... + } + + Example 2: Pack and unpack a message in Java. + + + Foo foo = ...; + Any any = Any.pack(foo); + ... + if (any.is(Foo.class)) { + foo = any.unpack(Foo.class); + } + + Example 3: Pack and unpack a message in Python. + + foo = Foo(...) + any = Any() + any.Pack(foo) + ... + if any.Is(Foo.DESCRIPTOR): + any.Unpack(foo) + ... + + Example 4: Pack and unpack a message in Go + + foo := &pb.Foo{...} + any, err := ptypes.MarshalAny(foo) + ... + foo := &pb.Foo{} + if err := ptypes.UnmarshalAny(any, foo); err != nil { + ... + } + + The pack methods provided by protobuf library will by default use + + 'type.googleapis.com/full.type.name' as the type URL and the unpack + + methods only use the fully qualified type name after the last '/' + + in the type URL, for example "foo.bar.com/x/y.z" will yield type + + name "y.z". + + + + JSON + + ==== + + The JSON representation of an `Any` value uses the regular + + representation of the deserialized, embedded message, with an + + additional field `@type` which contains the type URL. Example: + + + package google.profile; + message Person { + string first_name = 1; + string last_name = 2; + } + + { + "@type": "type.googleapis.com/google.profile.Person", + "firstName": , + "lastName": + } + + If the embedded message type is well-known and has a custom JSON + + representation, that representation will be embedded adding a field + + `value` which holds the custom JSON in addition to the `@type` + + field. Example (for message [google.protobuf.Duration][]): + + + { + "@type": "type.googleapis.com/google.protobuf.Duration", + "value": "1.212s" + } + title: >- + extension_options are arbitrary options that can be added by chains + + when the default options are not sufficient. If any of these are present + + and can't be handled, the transaction will be rejected + non_critical_extension_options: + type: array + items: + type: object + properties: + type_url: + type: string + description: >- + A URL/resource name that uniquely identifies the type of the serialized + + protocol buffer message. This string must contain at least + + one "/" character. The last segment of the URL's path must represent + + the fully qualified name of the type (as in + + `path/google.protobuf.Duration`). The name should be in a canonical form + + (e.g., leading "." is not accepted). + + + In practice, teams usually precompile into the binary all types that they + + expect it to use in the context of Any. However, for URLs which use the + + scheme `http`, `https`, or no scheme, one can optionally set up a type + + server that maps type URLs to message definitions as follows: + + + * If no scheme is provided, `https` is assumed. + + * An HTTP GET on the URL must yield a [google.protobuf.Type][] + + value in binary format, or produce an error. + * Applications are allowed to cache lookup results based on the + + URL, or have them precompiled into a binary to avoid any + lookup. Therefore, binary compatibility needs to be preserved + on changes to types. (Use versioned type names to manage + breaking changes.) + + Note: this functionality is not currently available in the official + + protobuf release, and it is not used for type URLs beginning with + + type.googleapis.com. + + + Schemes other than `http`, `https` (or the empty scheme) might be + + used with implementation specific semantics. + value: + type: string + format: byte + description: Must be a valid serialized protocol buffer of the above specified type. + description: >- + `Any` contains an arbitrary serialized protocol buffer message along with a + + URL that describes the type of the serialized message. + + + Protobuf library provides support to pack/unpack Any values in the form + + of utility functions or additional generated methods of the Any type. + + + Example 1: Pack and unpack a message in C++. + + + Foo foo = ...; + Any any; + any.PackFrom(foo); + ... + if (any.UnpackTo(&foo)) { + ... + } + + Example 2: Pack and unpack a message in Java. + + + Foo foo = ...; + Any any = Any.pack(foo); + ... + if (any.is(Foo.class)) { + foo = any.unpack(Foo.class); + } + + Example 3: Pack and unpack a message in Python. + + foo = Foo(...) + any = Any() + any.Pack(foo) + ... + if any.Is(Foo.DESCRIPTOR): + any.Unpack(foo) + ... + + Example 4: Pack and unpack a message in Go + + foo := &pb.Foo{...} + any, err := ptypes.MarshalAny(foo) + ... + foo := &pb.Foo{} + if err := ptypes.UnmarshalAny(any, foo); err != nil { + ... + } + + The pack methods provided by protobuf library will by default use + + 'type.googleapis.com/full.type.name' as the type URL and the unpack + + methods only use the fully qualified type name after the last '/' + + in the type URL, for example "foo.bar.com/x/y.z" will yield type + + name "y.z". + + + + JSON + + ==== + + The JSON representation of an `Any` value uses the regular + + representation of the deserialized, embedded message, with an + + additional field `@type` which contains the type URL. Example: + + + package google.profile; + message Person { + string first_name = 1; + string last_name = 2; + } + + { + "@type": "type.googleapis.com/google.profile.Person", + "firstName": , + "lastName": + } + + If the embedded message type is well-known and has a custom JSON + + representation, that representation will be embedded adding a field + + `value` which holds the custom JSON in addition to the `@type` + + field. Example (for message [google.protobuf.Duration][]): + + + { + "@type": "type.googleapis.com/google.protobuf.Duration", + "value": "1.212s" + } + title: >- + extension_options are arbitrary options that can be added by chains + + when the default options are not sufficient. If any of these are present + + and can't be handled, they will be ignored + description: TxBody is the body of a transaction that all signers sign over. + auth_info: + $ref: "#/components/schemas/cosmos.tx.v1beta1.AuthInfo" + signatures: + type: array + items: + type: string + format: byte + description: >- + signatures is a list of signatures that matches the length and order of + + AuthInfo's signer_infos to allow connecting signature meta information like + + public key and signing mode by position. + description: Tx is the standard type used for broadcasting transactions. + cosmos.tx.v1beta1.TxBody: + type: object + properties: + messages: + type: array + items: + type: object + properties: + type_url: + type: string + description: >- + A URL/resource name that uniquely identifies the type of the serialized + + protocol buffer message. This string must contain at least + + one "/" character. The last segment of the URL's path must represent + + the fully qualified name of the type (as in + + `path/google.protobuf.Duration`). The name should be in a canonical form + + (e.g., leading "." is not accepted). + + + In practice, teams usually precompile into the binary all types that they + + expect it to use in the context of Any. However, for URLs which use the + + scheme `http`, `https`, or no scheme, one can optionally set up a type + + server that maps type URLs to message definitions as follows: + + + * If no scheme is provided, `https` is assumed. + + * An HTTP GET on the URL must yield a [google.protobuf.Type][] + + value in binary format, or produce an error. + * Applications are allowed to cache lookup results based on the + + URL, or have them precompiled into a binary to avoid any + lookup. Therefore, binary compatibility needs to be preserved + on changes to types. (Use versioned type names to manage + breaking changes.) + + Note: this functionality is not currently available in the official + + protobuf release, and it is not used for type URLs beginning with + + type.googleapis.com. + + + Schemes other than `http`, `https` (or the empty scheme) might be + + used with implementation specific semantics. + value: + type: string + format: byte + description: Must be a valid serialized protocol buffer of the above specified type. + description: >- + `Any` contains an arbitrary serialized protocol buffer message along with a + + URL that describes the type of the serialized message. + + + Protobuf library provides support to pack/unpack Any values in the form + + of utility functions or additional generated methods of the Any type. + + + Example 1: Pack and unpack a message in C++. + + + Foo foo = ...; + Any any; + any.PackFrom(foo); + ... + if (any.UnpackTo(&foo)) { + ... + } + + Example 2: Pack and unpack a message in Java. + + + Foo foo = ...; + Any any = Any.pack(foo); + ... + if (any.is(Foo.class)) { + foo = any.unpack(Foo.class); + } + + Example 3: Pack and unpack a message in Python. + + foo = Foo(...) + any = Any() + any.Pack(foo) + ... + if any.Is(Foo.DESCRIPTOR): + any.Unpack(foo) + ... + + Example 4: Pack and unpack a message in Go + + foo := &pb.Foo{...} + any, err := ptypes.MarshalAny(foo) + ... + foo := &pb.Foo{} + if err := ptypes.UnmarshalAny(any, foo); err != nil { + ... + } + + The pack methods provided by protobuf library will by default use + + 'type.googleapis.com/full.type.name' as the type URL and the unpack + + methods only use the fully qualified type name after the last '/' + + in the type URL, for example "foo.bar.com/x/y.z" will yield type + + name "y.z". + + + + JSON + + ==== + + The JSON representation of an `Any` value uses the regular + + representation of the deserialized, embedded message, with an + + additional field `@type` which contains the type URL. Example: + + + package google.profile; + message Person { + string first_name = 1; + string last_name = 2; + } + + { + "@type": "type.googleapis.com/google.profile.Person", + "firstName": , + "lastName": + } + + If the embedded message type is well-known and has a custom JSON + + representation, that representation will be embedded adding a field + + `value` which holds the custom JSON in addition to the `@type` + + field. Example (for message [google.protobuf.Duration][]): + + + { + "@type": "type.googleapis.com/google.protobuf.Duration", + "value": "1.212s" + } + description: >- + messages is a list of messages to be executed. The required signers of + + those messages define the number and order of elements in AuthInfo's + + signer_infos and Tx's signatures. Each required signer address is added to + + the list only the first time it occurs. + + By convention, the first required signer (usually from the first message) + + is referred to as the primary signer and pays the fee for the whole + + transaction. + memo: + type: string + description: >- + memo is any arbitrary note/comment to be added to the transaction. + + WARNING: in clients, any publicly exposed text should not be called memo, + + but should be called `note` instead (see https://github.com/cosmos/cosmos-sdk/issues/9122). + timeout_height: + type: string + format: uint64 + title: |- + timeout is the block height after which this transaction will not + be processed by the chain + extension_options: + type: array + items: + type: object + properties: + type_url: + type: string + description: >- + A URL/resource name that uniquely identifies the type of the serialized + + protocol buffer message. This string must contain at least + + one "/" character. The last segment of the URL's path must represent + + the fully qualified name of the type (as in + + `path/google.protobuf.Duration`). The name should be in a canonical form + + (e.g., leading "." is not accepted). + + + In practice, teams usually precompile into the binary all types that they + + expect it to use in the context of Any. However, for URLs which use the + + scheme `http`, `https`, or no scheme, one can optionally set up a type + + server that maps type URLs to message definitions as follows: + + + * If no scheme is provided, `https` is assumed. + + * An HTTP GET on the URL must yield a [google.protobuf.Type][] + + value in binary format, or produce an error. + * Applications are allowed to cache lookup results based on the + + URL, or have them precompiled into a binary to avoid any + lookup. Therefore, binary compatibility needs to be preserved + on changes to types. (Use versioned type names to manage + breaking changes.) + + Note: this functionality is not currently available in the official + + protobuf release, and it is not used for type URLs beginning with + + type.googleapis.com. + + + Schemes other than `http`, `https` (or the empty scheme) might be + + used with implementation specific semantics. + value: + type: string + format: byte + description: Must be a valid serialized protocol buffer of the above specified type. + description: >- + `Any` contains an arbitrary serialized protocol buffer message along with a + + URL that describes the type of the serialized message. + + + Protobuf library provides support to pack/unpack Any values in the form + + of utility functions or additional generated methods of the Any type. + + + Example 1: Pack and unpack a message in C++. + + + Foo foo = ...; + Any any; + any.PackFrom(foo); + ... + if (any.UnpackTo(&foo)) { + ... + } + + Example 2: Pack and unpack a message in Java. + + + Foo foo = ...; + Any any = Any.pack(foo); + ... + if (any.is(Foo.class)) { + foo = any.unpack(Foo.class); + } + + Example 3: Pack and unpack a message in Python. + + foo = Foo(...) + any = Any() + any.Pack(foo) + ... + if any.Is(Foo.DESCRIPTOR): + any.Unpack(foo) + ... + + Example 4: Pack and unpack a message in Go + + foo := &pb.Foo{...} + any, err := ptypes.MarshalAny(foo) + ... + foo := &pb.Foo{} + if err := ptypes.UnmarshalAny(any, foo); err != nil { + ... + } + + The pack methods provided by protobuf library will by default use + + 'type.googleapis.com/full.type.name' as the type URL and the unpack + + methods only use the fully qualified type name after the last '/' + + in the type URL, for example "foo.bar.com/x/y.z" will yield type + + name "y.z". + + + + JSON + + ==== + + The JSON representation of an `Any` value uses the regular + + representation of the deserialized, embedded message, with an + + additional field `@type` which contains the type URL. Example: + + + package google.profile; + message Person { + string first_name = 1; + string last_name = 2; + } + + { + "@type": "type.googleapis.com/google.profile.Person", + "firstName": , + "lastName": + } + + If the embedded message type is well-known and has a custom JSON + + representation, that representation will be embedded adding a field + + `value` which holds the custom JSON in addition to the `@type` + + field. Example (for message [google.protobuf.Duration][]): + + + { + "@type": "type.googleapis.com/google.protobuf.Duration", + "value": "1.212s" + } + title: >- + extension_options are arbitrary options that can be added by chains + + when the default options are not sufficient. If any of these are present + + and can't be handled, the transaction will be rejected + non_critical_extension_options: + type: array + items: + type: object + properties: + type_url: + type: string + description: >- + A URL/resource name that uniquely identifies the type of the serialized + + protocol buffer message. This string must contain at least + + one "/" character. The last segment of the URL's path must represent + + the fully qualified name of the type (as in + + `path/google.protobuf.Duration`). The name should be in a canonical form + + (e.g., leading "." is not accepted). + + + In practice, teams usually precompile into the binary all types that they + + expect it to use in the context of Any. However, for URLs which use the + + scheme `http`, `https`, or no scheme, one can optionally set up a type + + server that maps type URLs to message definitions as follows: + + + * If no scheme is provided, `https` is assumed. + + * An HTTP GET on the URL must yield a [google.protobuf.Type][] + + value in binary format, or produce an error. + * Applications are allowed to cache lookup results based on the + + URL, or have them precompiled into a binary to avoid any + lookup. Therefore, binary compatibility needs to be preserved + on changes to types. (Use versioned type names to manage + breaking changes.) + + Note: this functionality is not currently available in the official + + protobuf release, and it is not used for type URLs beginning with + + type.googleapis.com. + + + Schemes other than `http`, `https` (or the empty scheme) might be + + used with implementation specific semantics. + value: + type: string + format: byte + description: Must be a valid serialized protocol buffer of the above specified type. + description: >- + `Any` contains an arbitrary serialized protocol buffer message along with a + + URL that describes the type of the serialized message. + + + Protobuf library provides support to pack/unpack Any values in the form + + of utility functions or additional generated methods of the Any type. + + + Example 1: Pack and unpack a message in C++. + + + Foo foo = ...; + Any any; + any.PackFrom(foo); + ... + if (any.UnpackTo(&foo)) { + ... + } + + Example 2: Pack and unpack a message in Java. + + + Foo foo = ...; + Any any = Any.pack(foo); + ... + if (any.is(Foo.class)) { + foo = any.unpack(Foo.class); + } + + Example 3: Pack and unpack a message in Python. + + foo = Foo(...) + any = Any() + any.Pack(foo) + ... + if any.Is(Foo.DESCRIPTOR): + any.Unpack(foo) + ... + + Example 4: Pack and unpack a message in Go + + foo := &pb.Foo{...} + any, err := ptypes.MarshalAny(foo) + ... + foo := &pb.Foo{} + if err := ptypes.UnmarshalAny(any, foo); err != nil { + ... + } + + The pack methods provided by protobuf library will by default use + + 'type.googleapis.com/full.type.name' as the type URL and the unpack + + methods only use the fully qualified type name after the last '/' + + in the type URL, for example "foo.bar.com/x/y.z" will yield type + + name "y.z". + + + + JSON + + ==== + + The JSON representation of an `Any` value uses the regular + + representation of the deserialized, embedded message, with an + + additional field `@type` which contains the type URL. Example: + + + package google.profile; + message Person { + string first_name = 1; + string last_name = 2; + } + + { + "@type": "type.googleapis.com/google.profile.Person", + "firstName": , + "lastName": + } + + If the embedded message type is well-known and has a custom JSON + + representation, that representation will be embedded adding a field + + `value` which holds the custom JSON in addition to the `@type` + + field. Example (for message [google.protobuf.Duration][]): + + + { + "@type": "type.googleapis.com/google.protobuf.Duration", + "value": "1.212s" + } + title: >- + extension_options are arbitrary options that can be added by chains + + when the default options are not sufficient. If any of these are present + + and can't be handled, they will be ignored + description: TxBody is the body of a transaction that all signers sign over. + tendermint.abci.Event: + type: object + properties: + type: + type: string + attributes: + type: array + items: + type: object + properties: + key: + type: string + format: byte + value: + type: string + format: byte + index: + type: boolean + description: EventAttribute is a single key-value pair, associated with an event. + description: >- + Event allows application developers to attach additional information to + + ResponseBeginBlock, ResponseEndBlock, ResponseCheckTx and ResponseDeliverTx. + + Later, transactions may be queried using these events. + tendermint.abci.EventAttribute: + type: object + properties: + key: + type: string + format: byte + value: + type: string + format: byte + index: + type: boolean + description: EventAttribute is a single key-value pair, associated with an event. + cosmos.upgrade.v1beta1.ModuleVersion: + type: object + properties: + name: + type: string + title: name of the app module + version: + type: string + format: uint64 + title: consensus version of the app module + description: |- + ModuleVersion specifies a module and its consensus version. + + Since: cosmos-sdk 0.43 + cosmos.upgrade.v1beta1.Plan: + type: object + properties: + name: + type: string + description: >- + Sets the name for the upgrade. This name will be used by the upgraded + + version of the software to apply any special "on-upgrade" commands during + + the first BeginBlock method after the upgrade is applied. It is also used + + to detect whether a software version can handle a given upgrade. If no + + upgrade handler with this name has been set in the software, it will be + + assumed that the software is out-of-date when the upgrade Time or Height is + + reached and the software will exit. + time: + type: string + format: date-time + description: >- + Deprecated: Time based upgrades have been deprecated. Time based upgrade logic + + has been removed from the SDK. + + If this field is not empty, an error will be thrown. + height: + type: string + format: int64 + description: |- + The height at which the upgrade must be performed. + Only used if Time is not set. + info: + type: string + title: |- + Any application specific upgrade info to be included on-chain + such as a git commit that validators could automatically upgrade to + upgraded_client_state: + type: object + properties: + type_url: + type: string + description: >- + A URL/resource name that uniquely identifies the type of the serialized + + protocol buffer message. This string must contain at least + + one "/" character. The last segment of the URL's path must represent + + the fully qualified name of the type (as in + + `path/google.protobuf.Duration`). The name should be in a canonical form + + (e.g., leading "." is not accepted). + + + In practice, teams usually precompile into the binary all types that they + + expect it to use in the context of Any. However, for URLs which use the + + scheme `http`, `https`, or no scheme, one can optionally set up a type + + server that maps type URLs to message definitions as follows: + + + * If no scheme is provided, `https` is assumed. + + * An HTTP GET on the URL must yield a [google.protobuf.Type][] + + value in binary format, or produce an error. + * Applications are allowed to cache lookup results based on the + + URL, or have them precompiled into a binary to avoid any + lookup. Therefore, binary compatibility needs to be preserved + on changes to types. (Use versioned type names to manage + breaking changes.) + + Note: this functionality is not currently available in the official + + protobuf release, and it is not used for type URLs beginning with + + type.googleapis.com. + + + Schemes other than `http`, `https` (or the empty scheme) might be + + used with implementation specific semantics. + value: + type: string + format: byte + description: Must be a valid serialized protocol buffer of the above specified type. + description: >- + `Any` contains an arbitrary serialized protocol buffer message along with a + + URL that describes the type of the serialized message. + + + Protobuf library provides support to pack/unpack Any values in the form + + of utility functions or additional generated methods of the Any type. + + + Example 1: Pack and unpack a message in C++. + + + Foo foo = ...; + Any any; + any.PackFrom(foo); + ... + if (any.UnpackTo(&foo)) { + ... + } + + Example 2: Pack and unpack a message in Java. + + + Foo foo = ...; + Any any = Any.pack(foo); + ... + if (any.is(Foo.class)) { + foo = any.unpack(Foo.class); + } + + Example 3: Pack and unpack a message in Python. + + foo = Foo(...) + any = Any() + any.Pack(foo) + ... + if any.Is(Foo.DESCRIPTOR): + any.Unpack(foo) + ... + + Example 4: Pack and unpack a message in Go + + foo := &pb.Foo{...} + any, err := ptypes.MarshalAny(foo) + ... + foo := &pb.Foo{} + if err := ptypes.UnmarshalAny(any, foo); err != nil { + ... + } + + The pack methods provided by protobuf library will by default use + + 'type.googleapis.com/full.type.name' as the type URL and the unpack + + methods only use the fully qualified type name after the last '/' + + in the type URL, for example "foo.bar.com/x/y.z" will yield type + + name "y.z". + + + + JSON + + ==== + + The JSON representation of an `Any` value uses the regular + + representation of the deserialized, embedded message, with an + + additional field `@type` which contains the type URL. Example: + + + package google.profile; + message Person { + string first_name = 1; + string last_name = 2; + } + + { + "@type": "type.googleapis.com/google.profile.Person", + "firstName": , + "lastName": + } + + If the embedded message type is well-known and has a custom JSON + + representation, that representation will be embedded adding a field + + `value` which holds the custom JSON in addition to the `@type` + + field. Example (for message [google.protobuf.Duration][]): + + + { + "@type": "type.googleapis.com/google.protobuf.Duration", + "value": "1.212s" + } + description: Plan specifies information about a planned upgrade and when it should occur. + cosmos.upgrade.v1beta1.QueryAppliedPlanResponse: + type: object + properties: + height: + type: string + format: int64 + description: height is the block height at which the plan was applied. + description: >- + QueryAppliedPlanResponse is the response type for the Query/AppliedPlan RPC + + method. + cosmos.upgrade.v1beta1.QueryCurrentPlanResponse: + type: object + properties: + plan: + description: plan is the current upgrade plan. + type: object + properties: + name: + type: string + description: >- + Sets the name for the upgrade. This name will be used by the upgraded + + version of the software to apply any special "on-upgrade" commands during + + the first BeginBlock method after the upgrade is applied. It is also used + + to detect whether a software version can handle a given upgrade. If no + + upgrade handler with this name has been set in the software, it will be + + assumed that the software is out-of-date when the upgrade Time or Height is + + reached and the software will exit. + time: + type: string + format: date-time + description: >- + Deprecated: Time based upgrades have been deprecated. Time based upgrade logic + + has been removed from the SDK. + + If this field is not empty, an error will be thrown. + height: + type: string + format: int64 + description: |- + The height at which the upgrade must be performed. + Only used if Time is not set. + info: + type: string + title: >- + Any application specific upgrade info to be included on-chain + + such as a git commit that validators could automatically upgrade to + upgraded_client_state: + type: object + properties: + type_url: + type: string + description: >- + A URL/resource name that uniquely identifies the type of the serialized + + protocol buffer message. This string must contain at least + + one "/" character. The last segment of the URL's path must represent + + the fully qualified name of the type (as in + + `path/google.protobuf.Duration`). The name should be in a canonical form + + (e.g., leading "." is not accepted). + + + In practice, teams usually precompile into the binary all types that they + + expect it to use in the context of Any. However, for URLs which use the + + scheme `http`, `https`, or no scheme, one can optionally set up a type + + server that maps type URLs to message definitions as follows: + + + * If no scheme is provided, `https` is assumed. + + * An HTTP GET on the URL must yield a [google.protobuf.Type][] + + value in binary format, or produce an error. + * Applications are allowed to cache lookup results based on the + + URL, or have them precompiled into a binary to avoid any + lookup. Therefore, binary compatibility needs to be preserved + on changes to types. (Use versioned type names to manage + breaking changes.) + + Note: this functionality is not currently available in the official + + protobuf release, and it is not used for type URLs beginning with + + type.googleapis.com. + + + Schemes other than `http`, `https` (or the empty scheme) might be + + used with implementation specific semantics. + value: + type: string + format: byte + description: Must be a valid serialized protocol buffer of the above specified type. + description: >- + `Any` contains an arbitrary serialized protocol buffer message along with a + + URL that describes the type of the serialized message. + + + Protobuf library provides support to pack/unpack Any values in the form + + of utility functions or additional generated methods of the Any type. + + + Example 1: Pack and unpack a message in C++. + + + Foo foo = ...; + Any any; + any.PackFrom(foo); + ... + if (any.UnpackTo(&foo)) { + ... + } + + Example 2: Pack and unpack a message in Java. + + + Foo foo = ...; + Any any = Any.pack(foo); + ... + if (any.is(Foo.class)) { + foo = any.unpack(Foo.class); + } + + Example 3: Pack and unpack a message in Python. + + foo = Foo(...) + any = Any() + any.Pack(foo) + ... + if any.Is(Foo.DESCRIPTOR): + any.Unpack(foo) + ... + + Example 4: Pack and unpack a message in Go + + foo := &pb.Foo{...} + any, err := ptypes.MarshalAny(foo) + ... + foo := &pb.Foo{} + if err := ptypes.UnmarshalAny(any, foo); err != nil { + ... + } + + The pack methods provided by protobuf library will by default use + + 'type.googleapis.com/full.type.name' as the type URL and the unpack + + methods only use the fully qualified type name after the last '/' + + in the type URL, for example "foo.bar.com/x/y.z" will yield type + + name "y.z". + + + + JSON + + ==== + + The JSON representation of an `Any` value uses the regular + + representation of the deserialized, embedded message, with an + + additional field `@type` which contains the type URL. Example: + + + package google.profile; + message Person { + string first_name = 1; + string last_name = 2; + } + + { + "@type": "type.googleapis.com/google.profile.Person", + "firstName": , + "lastName": + } + + If the embedded message type is well-known and has a custom JSON + + representation, that representation will be embedded adding a field + + `value` which holds the custom JSON in addition to the `@type` + + field. Example (for message [google.protobuf.Duration][]): + + + { + "@type": "type.googleapis.com/google.protobuf.Duration", + "value": "1.212s" + } + description: >- + QueryCurrentPlanResponse is the response type for the Query/CurrentPlan RPC + + method. + cosmos.upgrade.v1beta1.QueryModuleVersionsResponse: + type: object + properties: + module_versions: + type: array + items: + type: object + properties: + name: + type: string + title: name of the app module + version: + type: string + format: uint64 + title: consensus version of the app module + description: |- + ModuleVersion specifies a module and its consensus version. + + Since: cosmos-sdk 0.43 + description: module_versions is a list of module names with their consensus versions. + description: >- + QueryModuleVersionsResponse is the response type for the Query/ModuleVersions + + RPC method. + + + Since: cosmos-sdk 0.43 + cosmos.upgrade.v1beta1.QueryUpgradedConsensusStateResponse: + type: object + properties: + upgraded_consensus_state: + type: string + format: byte + title: "Since: cosmos-sdk 0.43" + description: >- + QueryUpgradedConsensusStateResponse is the response type for the Query/UpgradedConsensusState + + RPC method. +servers: + - url: https://rest.comdex.one + description: comdex mainnet node + - url: https://test2-rest.comdex.one + description: comdex testnet node diff --git a/client/docs/static/swagger/favicon-16x16.png b/client/docs/static/swagger/favicon-16x16.png new file mode 100644 index 0000000000000000000000000000000000000000..0f7e13b0d9903d27a9129950b1dad362361504e4 GIT binary patch literal 445 zcmV;u0Yd(XP)rNm2=6wQ7&2F}_`h_PI>(9Fx!5<0%l6W{u0OQ#*rglqx3__&vD?|#%fhn*Mn&YY1i+JQHqPvZ34FR@_E%P@x zzTL;Bw#nJXWY}D7^bC>-bx{t|^|R6Oci&MKvov8Op~S=}R=h^p-=vZ0uqG@LE6tP7 n92{cY$^db6>&z__iT?Z#Z8BG|DVcT0DjiaEd>Z!7_`J}8! zKk_$1lGm$vJOY&DjT-(&VGn0;R`iN9=1aOuG`H}BlY>&R3KbGER zB2$7euhH;y1C_LTQex%L6khZpkjFn!ajOUK)f3JLz+I;CE@(N)T)CM4AWjfl-(04= zrsMQ)#NG6nr^Y7!6LA;iHXh?UOFE%hhy>7dl=;I$J>g0BH_r|_4ctEsXx z2sDIQnwa*rcK=*3XUC$D{I@}DTNs@GCb7dB2%%nV%jR){xktt;Ah09op7x@l5D6B2 z0uBdt0YmcN!o?lMpu9Io(1&B1s{TUu*a>2&>Iycx__fbDRM8PYtLt+#G*xSt(cn}K zt!~W2{`9r)xkh^xodLS&FbYw`x$t&Vhl?)#f&k-lZIs<`$gTj{^#^HewuJz(WnUZZ z{Ty_aE;^93bhc-^^k6ZM!^e~$q5!Zz`XPta{a@651gPzaFx$&%IHL6hx$mSeAa#n6 zLkyc-M zs$qhBZhCNE^aIEV)H_~^IeqSRnvo!21Qc`Z;S9!IqXl4K(RUImejotzuG65LVuGS# zcqp@OA8~ln^4c^VihUew)IOX^E9KMtvSvnZ| zC@rl{f(B*PA26aFR`|X!!I(7x_|kq{rlqwhCia+CfNbOg_yYt0bDCc4g#h#`3jpCd zNAhr%4#Ye{i>ni$fzY%r0IS%l3HHZ4tTjOi=JW-t_iG~)oC!2C!52Cc|TAPaH zJ}l%m9yPmA-4#lJea@uf$a`(1;={rL2f*8;7%icbF}e^_`X#ndU=SI0nIn8hXPXHS zSN4rbF}jl0HWx(_`q`-SRa9jP8Ab!}sThNkQ634k=qXBVM4`o{M>qrLJD ze*%D)S;wpxG$d%FcDf-6%zMqWA+gw!C1~T5+|ys$G3Ksm&x59Lyd?0l+LWSk6hc4~ z+yC>|4f;X3#cq3!)>#Mvb-^co7LMrzqWeKB$21I>tJgaGFwu6eB%&j?@d*8GAx~In zI1p-lXVKtcvY7;$TX~wjYw|QhB%q!npQES%F~%Aqz~pJB%rNu!xAj;>xZt75!VHju zfFy%B-`3;Qf<{h94~I62zcHv}D5pS-QCN`M8K1>jN9mpbrFk=5no8j!00000NkvXX Hu0mjfOavUK literal 0 HcmV?d00001 diff --git a/client/docs/static/swagger/index.html b/client/docs/static/swagger/index.html new file mode 100644 index 000000000..0c4855763 --- /dev/null +++ b/client/docs/static/swagger/index.html @@ -0,0 +1,60 @@ + + + + + + Swagger UI + + + + + + + +
+ + + + + + diff --git a/client/docs/static/swagger/oauth2-redirect.html b/client/docs/static/swagger/oauth2-redirect.html new file mode 100644 index 000000000..fb68399d2 --- /dev/null +++ b/client/docs/static/swagger/oauth2-redirect.html @@ -0,0 +1,67 @@ + + + + + + diff --git a/client/docs/static/swagger/swagger-ui-bundle.js b/client/docs/static/swagger/swagger-ui-bundle.js new file mode 100644 index 000000000..4491b4b28 --- /dev/null +++ b/client/docs/static/swagger/swagger-ui-bundle.js @@ -0,0 +1,41776 @@ +! function(e, t) { + "object" == typeof exports && "object" == typeof module ? module.exports = t() : "function" == typeof define && define.amd ? define([], t) : "object" == typeof exports ? exports.SwaggerUIBundle = t() : e.SwaggerUIBundle = t() +}(this, function() { + return function(e) { + var t = {}; + + function n(r) { + if (t[r]) return t[r].exports; + var o = t[r] = { + i: r, + l: !1, + exports: {} + }; + return e[r].call(o.exports, o, o.exports, n), o.l = !0, o.exports + } + return n.m = e, n.c = t, n.d = function(e, t, r) { + n.o(e, t) || Object.defineProperty(e, t, { + configurable: !1, + enumerable: !0, + get: r + }) + }, n.n = function(e) { + var t = e && e.__esModule ? function() { + return e.default + } : function() { + return e + }; + return n.d(t, "a", t), t + }, n.o = function(e, t) { + return Object.prototype.hasOwnProperty.call(e, t) + }, n.p = "/dist", n(n.s = 445) + }([function(e, t, n) { + "use strict"; + e.exports = n(75) + }, function(e, t, n) { + e.exports = n(853)() + }, function(e, t, n) { + "use strict"; + t.__esModule = !0, t.default = function(e, t) { + if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function") + } + }, function(e, t, n) { + "use strict"; + t.__esModule = !0; + var r, o = n(262), + i = (r = o) && r.__esModule ? r : { + default: r + }; + t.default = function() { + function e(e, t) { + for (var n = 0; n < t.length; n++) { + var r = t[n]; + r.enumerable = r.enumerable || !1, r.configurable = !0, "value" in r && (r.writable = !0), (0, i.default)(e, r.key, r) + } + } + return function(t, n, r) { + return n && e(t.prototype, n), r && e(t, r), t + } + }() + }, function(e, t, n) { + e.exports = { + default: n(766), + __esModule: !0 + } + }, function(e, t, n) { + "use strict"; + t.__esModule = !0; + var r, o = n(45), + i = (r = o) && r.__esModule ? r : { + default: r + }; + t.default = function(e, t) { + if (!e) throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); + return !t || "object" !== (void 0 === t ? "undefined" : (0, i.default)(t)) && "function" != typeof t ? e : t + } + }, function(e, t, n) { + "use strict"; + t.__esModule = !0; + var r = a(n(768)), + o = a(n(349)), + i = a(n(45)); + + function a(e) { + return e && e.__esModule ? e : { + default: e + } + } + t.default = function(e, t) { + if ("function" != typeof t && null !== t) throw new TypeError("Super expression must either be null or a function, not " + (void 0 === t ? "undefined" : (0, i.default)(t))); + e.prototype = (0, o.default)(t && t.prototype, { + constructor: { + value: e, + enumerable: !1, + writable: !0, + configurable: !0 + } + }), t && (r.default ? (0, r.default)(e, t) : e.__proto__ = t) + } + }, function(e, t, n) { + var r; + r = function() { + "use strict"; + var e = Array.prototype.slice; + + function t(e, t) { + t && (e.prototype = Object.create(t.prototype)), e.prototype.constructor = e + } + + function n(e) { + return a(e) ? e : J(e) + } + + function r(e) { + return u(e) ? e : Y(e) + } + + function o(e) { + return s(e) ? e : K(e) + } + + function i(e) { + return a(e) && !l(e) ? e : G(e) + } + + function a(e) { + return !(!e || !e[f]) + } + + function u(e) { + return !(!e || !e[p]) + } + + function s(e) { + return !(!e || !e[d]) + } + + function l(e) { + return u(e) || s(e) + } + + function c(e) { + return !(!e || !e[h]) + } + t(r, n), t(o, n), t(i, n), n.isIterable = a, n.isKeyed = u, n.isIndexed = s, n.isAssociative = l, n.isOrdered = c, n.Keyed = r, n.Indexed = o, n.Set = i; + var f = "@@__IMMUTABLE_ITERABLE__@@", + p = "@@__IMMUTABLE_KEYED__@@", + d = "@@__IMMUTABLE_INDEXED__@@", + h = "@@__IMMUTABLE_ORDERED__@@", + v = 5, + m = 1 << v, + g = m - 1, + y = {}, + b = { + value: !1 + }, + _ = { + value: !1 + }; + + function w(e) { + return e.value = !1, e + } + + function E(e) { + e && (e.value = !0) + } + + function x() {} + + function S(e, t) { + t = t || 0; + for (var n = Math.max(0, e.length - t), r = new Array(n), o = 0; o < n; o++) r[o] = e[o + t]; + return r + } + + function C(e) { + return void 0 === e.size && (e.size = e.__iterate(A)), e.size + } + + function k(e, t) { + if ("number" != typeof t) { + var n = t >>> 0; + if ("" + n !== t || 4294967295 === n) return NaN; + t = n + } + return t < 0 ? C(e) + t : t + } + + function A() { + return !0 + } + + function O(e, t, n) { + return (0 === e || void 0 !== n && e <= -n) && (void 0 === t || void 0 !== n && t >= n) + } + + function P(e, t) { + return M(e, t, 0) + } + + function T(e, t) { + return M(e, t, t) + } + + function M(e, t, n) { + return void 0 === e ? n : e < 0 ? Math.max(0, t + e) : void 0 === t ? e : Math.min(t, e) + } + var I = 0, + j = 1, + N = 2, + R = "function" == typeof Symbol && Symbol.iterator, + D = "@@iterator", + L = R || D; + + function U(e) { + this.next = e + } + + function q(e, t, n, r) { + var o = 0 === e ? t : 1 === e ? n : [t, n]; + return r ? r.value = o : r = { + value: o, + done: !1 + }, r + } + + function F() { + return { + value: void 0, + done: !0 + } + } + + function z(e) { + return !!H(e) + } + + function B(e) { + return e && "function" == typeof e.next + } + + function V(e) { + var t = H(e); + return t && t.call(e) + } + + function H(e) { + var t = e && (R && e[R] || e[D]); + if ("function" == typeof t) return t + } + + function W(e) { + return e && "number" == typeof e.length + } + + function J(e) { + return null === e || void 0 === e ? ie() : a(e) ? e.toSeq() : function(e) { + var t = se(e) || "object" == typeof e && new te(e); + if (!t) throw new TypeError("Expected Array or iterable object of values, or keyed object: " + e); + return t + }(e) + } + + function Y(e) { + return null === e || void 0 === e ? ie().toKeyedSeq() : a(e) ? u(e) ? e.toSeq() : e.fromEntrySeq() : ae(e) + } + + function K(e) { + return null === e || void 0 === e ? ie() : a(e) ? u(e) ? e.entrySeq() : e.toIndexedSeq() : ue(e) + } + + function G(e) { + return (null === e || void 0 === e ? ie() : a(e) ? u(e) ? e.entrySeq() : e : ue(e)).toSetSeq() + } + U.prototype.toString = function() { + return "[Iterator]" + }, U.KEYS = I, U.VALUES = j, U.ENTRIES = N, U.prototype.inspect = U.prototype.toSource = function() { + return this.toString() + }, U.prototype[L] = function() { + return this + }, t(J, n), J.of = function() { + return J(arguments) + }, J.prototype.toSeq = function() { + return this + }, J.prototype.toString = function() { + return this.__toString("Seq {", "}") + }, J.prototype.cacheResult = function() { + return !this._cache && this.__iterateUncached && (this._cache = this.entrySeq().toArray(), this.size = this._cache.length), this + }, J.prototype.__iterate = function(e, t) { + return le(this, e, t, !0) + }, J.prototype.__iterator = function(e, t) { + return ce(this, e, t, !0) + }, t(Y, J), Y.prototype.toKeyedSeq = function() { + return this + }, t(K, J), K.of = function() { + return K(arguments) + }, K.prototype.toIndexedSeq = function() { + return this + }, K.prototype.toString = function() { + return this.__toString("Seq [", "]") + }, K.prototype.__iterate = function(e, t) { + return le(this, e, t, !1) + }, K.prototype.__iterator = function(e, t) { + return ce(this, e, t, !1) + }, t(G, J), G.of = function() { + return G(arguments) + }, G.prototype.toSetSeq = function() { + return this + }, J.isSeq = oe, J.Keyed = Y, J.Set = G, J.Indexed = K; + var $, Z, X, Q = "@@__IMMUTABLE_SEQ__@@"; + + function ee(e) { + this._array = e, this.size = e.length + } + + function te(e) { + var t = Object.keys(e); + this._object = e, this._keys = t, this.size = t.length + } + + function ne(e) { + this._iterable = e, this.size = e.length || e.size + } + + function re(e) { + this._iterator = e, this._iteratorCache = [] + } + + function oe(e) { + return !(!e || !e[Q]) + } + + function ie() { + return $ || ($ = new ee([])) + } + + function ae(e) { + var t = Array.isArray(e) ? new ee(e).fromEntrySeq() : B(e) ? new re(e).fromEntrySeq() : z(e) ? new ne(e).fromEntrySeq() : "object" == typeof e ? new te(e) : void 0; + if (!t) throw new TypeError("Expected Array or iterable object of [k, v] entries, or keyed object: " + e); + return t + } + + function ue(e) { + var t = se(e); + if (!t) throw new TypeError("Expected Array or iterable object of values: " + e); + return t + } + + function se(e) { + return W(e) ? new ee(e) : B(e) ? new re(e) : z(e) ? new ne(e) : void 0 + } + + function le(e, t, n, r) { + var o = e._cache; + if (o) { + for (var i = o.length - 1, a = 0; a <= i; a++) { + var u = o[n ? i - a : a]; + if (!1 === t(u[1], r ? u[0] : a, e)) return a + 1 + } + return a + } + return e.__iterateUncached(t, n) + } + + function ce(e, t, n, r) { + var o = e._cache; + if (o) { + var i = o.length - 1, + a = 0; + return new U(function() { + var e = o[n ? i - a : a]; + return a++ > i ? { + value: void 0, + done: !0 + } : q(t, r ? e[0] : a - 1, e[1]) + }) + } + return e.__iteratorUncached(t, n) + } + + function fe(e, t) { + return t ? function e(t, n, r, o) { + if (Array.isArray(n)) return t.call(o, r, K(n).map(function(r, o) { + return e(t, r, o, n) + })); + if (de(n)) return t.call(o, r, Y(n).map(function(r, o) { + return e(t, r, o, n) + })); + return n + }(t, e, "", { + "": e + }) : pe(e) + } + + function pe(e) { + return Array.isArray(e) ? K(e).map(pe).toList() : de(e) ? Y(e).map(pe).toMap() : e + } + + function de(e) { + return e && (e.constructor === Object || void 0 === e.constructor) + } + + function he(e, t) { + if (e === t || e != e && t != t) return !0; + if (!e || !t) return !1; + if ("function" == typeof e.valueOf && "function" == typeof t.valueOf) { + if ((e = e.valueOf()) === (t = t.valueOf()) || e != e && t != t) return !0; + if (!e || !t) return !1 + } + return !("function" != typeof e.equals || "function" != typeof t.equals || !e.equals(t)) + } + + function ve(e, t) { + if (e === t) return !0; + if (!a(t) || void 0 !== e.size && void 0 !== t.size && e.size !== t.size || void 0 !== e.__hash && void 0 !== t.__hash && e.__hash !== t.__hash || u(e) !== u(t) || s(e) !== s(t) || c(e) !== c(t)) return !1; + if (0 === e.size && 0 === t.size) return !0; + var n = !l(e); + if (c(e)) { + var r = e.entries(); + return t.every(function(e, t) { + var o = r.next().value; + return o && he(o[1], e) && (n || he(o[0], t)) + }) && r.next().done + } + var o = !1; + if (void 0 === e.size) + if (void 0 === t.size) "function" == typeof e.cacheResult && e.cacheResult(); + else { + o = !0; + var i = e; + e = t, t = i + } + var f = !0, + p = t.__iterate(function(t, r) { + if (n ? !e.has(t) : o ? !he(t, e.get(r, y)) : !he(e.get(r, y), t)) return f = !1, !1 + }); + return f && e.size === p + } + + function me(e, t) { + if (!(this instanceof me)) return new me(e, t); + if (this._value = e, this.size = void 0 === t ? 1 / 0 : Math.max(0, t), 0 === this.size) { + if (Z) return Z; + Z = this + } + } + + function ge(e, t) { + if (!e) throw new Error(t) + } + + function ye(e, t, n) { + if (!(this instanceof ye)) return new ye(e, t, n); + if (ge(0 !== n, "Cannot step a Range by 0"), e = e || 0, void 0 === t && (t = 1 / 0), n = void 0 === n ? 1 : Math.abs(n), t < e && (n = -n), this._start = e, this._end = t, this._step = n, this.size = Math.max(0, Math.ceil((t - e) / n - 1) + 1), 0 === this.size) { + if (X) return X; + X = this + } + } + + function be() { + throw TypeError("Abstract") + } + + function _e() {} + + function we() {} + + function Ee() {} + J.prototype[Q] = !0, t(ee, K), ee.prototype.get = function(e, t) { + return this.has(e) ? this._array[k(this, e)] : t + }, ee.prototype.__iterate = function(e, t) { + for (var n = this._array, r = n.length - 1, o = 0; o <= r; o++) + if (!1 === e(n[t ? r - o : o], o, this)) return o + 1; + return o + }, ee.prototype.__iterator = function(e, t) { + var n = this._array, + r = n.length - 1, + o = 0; + return new U(function() { + return o > r ? { + value: void 0, + done: !0 + } : q(e, o, n[t ? r - o++ : o++]) + }) + }, t(te, Y), te.prototype.get = function(e, t) { + return void 0 === t || this.has(e) ? this._object[e] : t + }, te.prototype.has = function(e) { + return this._object.hasOwnProperty(e) + }, te.prototype.__iterate = function(e, t) { + for (var n = this._object, r = this._keys, o = r.length - 1, i = 0; i <= o; i++) { + var a = r[t ? o - i : i]; + if (!1 === e(n[a], a, this)) return i + 1 + } + return i + }, te.prototype.__iterator = function(e, t) { + var n = this._object, + r = this._keys, + o = r.length - 1, + i = 0; + return new U(function() { + var a = r[t ? o - i : i]; + return i++ > o ? { + value: void 0, + done: !0 + } : q(e, a, n[a]) + }) + }, te.prototype[h] = !0, t(ne, K), ne.prototype.__iterateUncached = function(e, t) { + if (t) return this.cacheResult().__iterate(e, t); + var n = V(this._iterable), + r = 0; + if (B(n)) + for (var o; !(o = n.next()).done && !1 !== e(o.value, r++, this);); + return r + }, ne.prototype.__iteratorUncached = function(e, t) { + if (t) return this.cacheResult().__iterator(e, t); + var n = V(this._iterable); + if (!B(n)) return new U(F); + var r = 0; + return new U(function() { + var t = n.next(); + return t.done ? t : q(e, r++, t.value) + }) + }, t(re, K), re.prototype.__iterateUncached = function(e, t) { + if (t) return this.cacheResult().__iterate(e, t); + for (var n, r = this._iterator, o = this._iteratorCache, i = 0; i < o.length;) + if (!1 === e(o[i], i++, this)) return i; + for (; !(n = r.next()).done;) { + var a = n.value; + if (o[i] = a, !1 === e(a, i++, this)) break + } + return i + }, re.prototype.__iteratorUncached = function(e, t) { + if (t) return this.cacheResult().__iterator(e, t); + var n = this._iterator, + r = this._iteratorCache, + o = 0; + return new U(function() { + if (o >= r.length) { + var t = n.next(); + if (t.done) return t; + r[o] = t.value + } + return q(e, o, r[o++]) + }) + }, t(me, K), me.prototype.toString = function() { + return 0 === this.size ? "Repeat []" : "Repeat [ " + this._value + " " + this.size + " times ]" + }, me.prototype.get = function(e, t) { + return this.has(e) ? this._value : t + }, me.prototype.includes = function(e) { + return he(this._value, e) + }, me.prototype.slice = function(e, t) { + var n = this.size; + return O(e, t, n) ? this : new me(this._value, T(t, n) - P(e, n)) + }, me.prototype.reverse = function() { + return this + }, me.prototype.indexOf = function(e) { + return he(this._value, e) ? 0 : -1 + }, me.prototype.lastIndexOf = function(e) { + return he(this._value, e) ? this.size : -1 + }, me.prototype.__iterate = function(e, t) { + for (var n = 0; n < this.size; n++) + if (!1 === e(this._value, n, this)) return n + 1; + return n + }, me.prototype.__iterator = function(e, t) { + var n = this, + r = 0; + return new U(function() { + return r < n.size ? q(e, r++, n._value) : { + value: void 0, + done: !0 + } + }) + }, me.prototype.equals = function(e) { + return e instanceof me ? he(this._value, e._value) : ve(e) + }, t(ye, K), ye.prototype.toString = function() { + return 0 === this.size ? "Range []" : "Range [ " + this._start + "..." + this._end + (1 !== this._step ? " by " + this._step : "") + " ]" + }, ye.prototype.get = function(e, t) { + return this.has(e) ? this._start + k(this, e) * this._step : t + }, ye.prototype.includes = function(e) { + var t = (e - this._start) / this._step; + return t >= 0 && t < this.size && t === Math.floor(t) + }, ye.prototype.slice = function(e, t) { + return O(e, t, this.size) ? this : (e = P(e, this.size), (t = T(t, this.size)) <= e ? new ye(0, 0) : new ye(this.get(e, this._end), this.get(t, this._end), this._step)) + }, ye.prototype.indexOf = function(e) { + var t = e - this._start; + if (t % this._step == 0) { + var n = t / this._step; + if (n >= 0 && n < this.size) return n + } + return -1 + }, ye.prototype.lastIndexOf = function(e) { + return this.indexOf(e) + }, ye.prototype.__iterate = function(e, t) { + for (var n = this.size - 1, r = this._step, o = t ? this._start + n * r : this._start, i = 0; i <= n; i++) { + if (!1 === e(o, i, this)) return i + 1; + o += t ? -r : r + } + return i + }, ye.prototype.__iterator = function(e, t) { + var n = this.size - 1, + r = this._step, + o = t ? this._start + n * r : this._start, + i = 0; + return new U(function() { + var a = o; + return o += t ? -r : r, i > n ? { + value: void 0, + done: !0 + } : q(e, i++, a) + }) + }, ye.prototype.equals = function(e) { + return e instanceof ye ? this._start === e._start && this._end === e._end && this._step === e._step : ve(this, e) + }, t(be, n), t(_e, be), t(we, be), t(Ee, be), be.Keyed = _e, be.Indexed = we, be.Set = Ee; + var xe = "function" == typeof Math.imul && -2 === Math.imul(4294967295, 2) ? Math.imul : function(e, t) { + var n = 65535 & (e |= 0), + r = 65535 & (t |= 0); + return n * r + ((e >>> 16) * r + n * (t >>> 16) << 16 >>> 0) | 0 + }; + + function Se(e) { + return e >>> 1 & 1073741824 | 3221225471 & e + } + + function Ce(e) { + if (!1 === e || null === e || void 0 === e) return 0; + if ("function" == typeof e.valueOf && (!1 === (e = e.valueOf()) || null === e || void 0 === e)) return 0; + if (!0 === e) return 1; + var t = typeof e; + if ("number" === t) { + if (e != e || e === 1 / 0) return 0; + var n = 0 | e; + for (n !== e && (n ^= 4294967295 * e); e > 4294967295;) n ^= e /= 4294967295; + return Se(n) + } + if ("string" === t) return e.length > je ? function(e) { + var t = De[e]; + void 0 === t && (t = ke(e), Re === Ne && (Re = 0, De = {}), Re++, De[e] = t); + return t + }(e) : ke(e); + if ("function" == typeof e.hashCode) return e.hashCode(); + if ("object" === t) return function(e) { + var t; + if (Te && void 0 !== (t = Pe.get(e))) return t; + if (void 0 !== (t = e[Ie])) return t; + if (!Oe) { + if (void 0 !== (t = e.propertyIsEnumerable && e.propertyIsEnumerable[Ie])) return t; + if (void 0 !== (t = function(e) { + if (e && e.nodeType > 0) switch (e.nodeType) { + case 1: + return e.uniqueID; + case 9: + return e.documentElement && e.documentElement.uniqueID + } + }(e))) return t + } + t = ++Me, 1073741824 & Me && (Me = 0); + if (Te) Pe.set(e, t); + else { + if (void 0 !== Ae && !1 === Ae(e)) throw new Error("Non-extensible objects are not allowed as keys."); + if (Oe) Object.defineProperty(e, Ie, { + enumerable: !1, + configurable: !1, + writable: !1, + value: t + }); + else if (void 0 !== e.propertyIsEnumerable && e.propertyIsEnumerable === e.constructor.prototype.propertyIsEnumerable) e.propertyIsEnumerable = function() { + return this.constructor.prototype.propertyIsEnumerable.apply(this, arguments) + }, e.propertyIsEnumerable[Ie] = t; + else { + if (void 0 === e.nodeType) throw new Error("Unable to set a non-enumerable property on object."); + e[Ie] = t + } + } + return t + }(e); + if ("function" == typeof e.toString) return ke(e.toString()); + throw new Error("Value type " + t + " cannot be hashed.") + } + + function ke(e) { + for (var t = 0, n = 0; n < e.length; n++) t = 31 * t + e.charCodeAt(n) | 0; + return Se(t) + } + var Ae = Object.isExtensible, + Oe = function() { + try { + return Object.defineProperty({}, "@", {}), !0 + } catch (e) { + return !1 + } + }(); + var Pe, Te = "function" == typeof WeakMap; + Te && (Pe = new WeakMap); + var Me = 0, + Ie = "__immutablehash__"; + "function" == typeof Symbol && (Ie = Symbol(Ie)); + var je = 16, + Ne = 255, + Re = 0, + De = {}; + + function Le(e) { + ge(e !== 1 / 0, "Cannot perform this action with an infinite size.") + } + + function Ue(e) { + return null === e || void 0 === e ? Xe() : qe(e) && !c(e) ? e : Xe().withMutations(function(t) { + var n = r(e); + Le(n.size), n.forEach(function(e, n) { + return t.set(n, e) + }) + }) + } + + function qe(e) { + return !(!e || !e[ze]) + } + t(Ue, _e), Ue.of = function() { + var t = e.call(arguments, 0); + return Xe().withMutations(function(e) { + for (var n = 0; n < t.length; n += 2) { + if (n + 1 >= t.length) throw new Error("Missing value for key: " + t[n]); + e.set(t[n], t[n + 1]) + } + }) + }, Ue.prototype.toString = function() { + return this.__toString("Map {", "}") + }, Ue.prototype.get = function(e, t) { + return this._root ? this._root.get(0, void 0, e, t) : t + }, Ue.prototype.set = function(e, t) { + return Qe(this, e, t) + }, Ue.prototype.setIn = function(e, t) { + return this.updateIn(e, y, function() { + return t + }) + }, Ue.prototype.remove = function(e) { + return Qe(this, e, y) + }, Ue.prototype.deleteIn = function(e) { + return this.updateIn(e, function() { + return y + }) + }, Ue.prototype.update = function(e, t, n) { + return 1 === arguments.length ? e(this) : this.updateIn([e], t, n) + }, Ue.prototype.updateIn = function(e, t, n) { + n || (n = t, t = void 0); + var r = function e(t, n, r, o) { + var i = t === y; + var a = n.next(); + if (a.done) { + var u = i ? r : t, + s = o(u); + return s === u ? t : s + } + ge(i || t && t.set, "invalid keyPath"); + var l = a.value; + var c = i ? y : t.get(l, y); + var f = e(c, n, r, o); + return f === c ? t : f === y ? t.remove(l) : (i ? Xe() : t).set(l, f) + }(this, nn(e), t, n); + return r === y ? void 0 : r + }, Ue.prototype.clear = function() { + return 0 === this.size ? this : this.__ownerID ? (this.size = 0, this._root = null, this.__hash = void 0, this.__altered = !0, this) : Xe() + }, Ue.prototype.merge = function() { + return rt(this, void 0, arguments) + }, Ue.prototype.mergeWith = function(t) { + return rt(this, t, e.call(arguments, 1)) + }, Ue.prototype.mergeIn = function(t) { + var n = e.call(arguments, 1); + return this.updateIn(t, Xe(), function(e) { + return "function" == typeof e.merge ? e.merge.apply(e, n) : n[n.length - 1] + }) + }, Ue.prototype.mergeDeep = function() { + return rt(this, ot, arguments) + }, Ue.prototype.mergeDeepWith = function(t) { + var n = e.call(arguments, 1); + return rt(this, it(t), n) + }, Ue.prototype.mergeDeepIn = function(t) { + var n = e.call(arguments, 1); + return this.updateIn(t, Xe(), function(e) { + return "function" == typeof e.mergeDeep ? e.mergeDeep.apply(e, n) : n[n.length - 1] + }) + }, Ue.prototype.sort = function(e) { + return Pt(Wt(this, e)) + }, Ue.prototype.sortBy = function(e, t) { + return Pt(Wt(this, t, e)) + }, Ue.prototype.withMutations = function(e) { + var t = this.asMutable(); + return e(t), t.wasAltered() ? t.__ensureOwner(this.__ownerID) : this + }, Ue.prototype.asMutable = function() { + return this.__ownerID ? this : this.__ensureOwner(new x) + }, Ue.prototype.asImmutable = function() { + return this.__ensureOwner() + }, Ue.prototype.wasAltered = function() { + return this.__altered + }, Ue.prototype.__iterator = function(e, t) { + return new Ke(this, e, t) + }, Ue.prototype.__iterate = function(e, t) { + var n = this, + r = 0; + return this._root && this._root.iterate(function(t) { + return r++, e(t[1], t[0], n) + }, t), r + }, Ue.prototype.__ensureOwner = function(e) { + return e === this.__ownerID ? this : e ? Ze(this.size, this._root, e, this.__hash) : (this.__ownerID = e, this.__altered = !1, this) + }, Ue.isMap = qe; + var Fe, ze = "@@__IMMUTABLE_MAP__@@", + Be = Ue.prototype; + + function Ve(e, t) { + this.ownerID = e, this.entries = t + } + + function He(e, t, n) { + this.ownerID = e, this.bitmap = t, this.nodes = n + } + + function We(e, t, n) { + this.ownerID = e, this.count = t, this.nodes = n + } + + function Je(e, t, n) { + this.ownerID = e, this.keyHash = t, this.entries = n + } + + function Ye(e, t, n) { + this.ownerID = e, this.keyHash = t, this.entry = n + } + + function Ke(e, t, n) { + this._type = t, this._reverse = n, this._stack = e._root && $e(e._root) + } + + function Ge(e, t) { + return q(e, t[0], t[1]) + } + + function $e(e, t) { + return { + node: e, + index: 0, + __prev: t + } + } + + function Ze(e, t, n, r) { + var o = Object.create(Be); + return o.size = e, o._root = t, o.__ownerID = n, o.__hash = r, o.__altered = !1, o + } + + function Xe() { + return Fe || (Fe = Ze(0)) + } + + function Qe(e, t, n) { + var r, o; + if (e._root) { + var i = w(b), + a = w(_); + if (r = et(e._root, e.__ownerID, 0, void 0, t, n, i, a), !a.value) return e; + o = e.size + (i.value ? n === y ? -1 : 1 : 0) + } else { + if (n === y) return e; + o = 1, r = new Ve(e.__ownerID, [ + [t, n] + ]) + } + return e.__ownerID ? (e.size = o, e._root = r, e.__hash = void 0, e.__altered = !0, e) : r ? Ze(o, r) : Xe() + } + + function et(e, t, n, r, o, i, a, u) { + return e ? e.update(t, n, r, o, i, a, u) : i === y ? e : (E(u), E(a), new Ye(t, r, [o, i])) + } + + function tt(e) { + return e.constructor === Ye || e.constructor === Je + } + + function nt(e, t, n, r, o) { + if (e.keyHash === r) return new Je(t, r, [e.entry, o]); + var i, a = (0 === n ? e.keyHash : e.keyHash >>> n) & g, + u = (0 === n ? r : r >>> n) & g; + return new He(t, 1 << a | 1 << u, a === u ? [nt(e, t, n + v, r, o)] : (i = new Ye(t, r, o), a < u ? [e, i] : [i, e])) + } + + function rt(e, t, n) { + for (var o = [], i = 0; i < n.length; i++) { + var u = n[i], + s = r(u); + a(u) || (s = s.map(function(e) { + return fe(e) + })), o.push(s) + } + return at(e, t, o) + } + + function ot(e, t, n) { + return e && e.mergeDeep && a(t) ? e.mergeDeep(t) : he(e, t) ? e : t + } + + function it(e) { + return function(t, n, r) { + if (t && t.mergeDeepWith && a(n)) return t.mergeDeepWith(e, n); + var o = e(t, n, r); + return he(t, o) ? t : o + } + } + + function at(e, t, n) { + return 0 === (n = n.filter(function(e) { + return 0 !== e.size + })).length ? e : 0 !== e.size || e.__ownerID || 1 !== n.length ? e.withMutations(function(e) { + for (var r = t ? function(n, r) { + e.update(r, y, function(e) { + return e === y ? n : t(e, n, r) + }) + } : function(t, n) { + e.set(n, t) + }, o = 0; o < n.length; o++) n[o].forEach(r) + }) : e.constructor(n[0]) + } + + function ut(e) { + return e = (e = (858993459 & (e -= e >> 1 & 1431655765)) + (e >> 2 & 858993459)) + (e >> 4) & 252645135, e += e >> 8, 127 & (e += e >> 16) + } + + function st(e, t, n, r) { + var o = r ? e : S(e); + return o[t] = n, o + } + Be[ze] = !0, Be.delete = Be.remove, Be.removeIn = Be.deleteIn, Ve.prototype.get = function(e, t, n, r) { + for (var o = this.entries, i = 0, a = o.length; i < a; i++) + if (he(n, o[i][0])) return o[i][1]; + return r + }, Ve.prototype.update = function(e, t, n, r, o, i, a) { + for (var u = o === y, s = this.entries, l = 0, c = s.length; l < c && !he(r, s[l][0]); l++); + var f = l < c; + if (f ? s[l][1] === o : u) return this; + if (E(a), (u || !f) && E(i), !u || 1 !== s.length) { + if (!f && !u && s.length >= lt) return function(e, t, n, r) { + e || (e = new x); + for (var o = new Ye(e, Ce(n), [n, r]), i = 0; i < t.length; i++) { + var a = t[i]; + o = o.update(e, 0, void 0, a[0], a[1]) + } + return o + }(e, s, r, o); + var p = e && e === this.ownerID, + d = p ? s : S(s); + return f ? u ? l === c - 1 ? d.pop() : d[l] = d.pop() : d[l] = [r, o] : d.push([r, o]), p ? (this.entries = d, this) : new Ve(e, d) + } + }, He.prototype.get = function(e, t, n, r) { + void 0 === t && (t = Ce(n)); + var o = 1 << ((0 === e ? t : t >>> e) & g), + i = this.bitmap; + return 0 == (i & o) ? r : this.nodes[ut(i & o - 1)].get(e + v, t, n, r) + }, He.prototype.update = function(e, t, n, r, o, i, a) { + void 0 === n && (n = Ce(r)); + var u = (0 === t ? n : n >>> t) & g, + s = 1 << u, + l = this.bitmap, + c = 0 != (l & s); + if (!c && o === y) return this; + var f = ut(l & s - 1), + p = this.nodes, + d = c ? p[f] : void 0, + h = et(d, e, t + v, n, r, o, i, a); + if (h === d) return this; + if (!c && h && p.length >= ct) return function(e, t, n, r, o) { + for (var i = 0, a = new Array(m), u = 0; 0 !== n; u++, n >>>= 1) a[u] = 1 & n ? t[i++] : void 0; + return a[r] = o, new We(e, i + 1, a) + }(e, p, l, u, h); + if (c && !h && 2 === p.length && tt(p[1 ^ f])) return p[1 ^ f]; + if (c && h && 1 === p.length && tt(h)) return h; + var b = e && e === this.ownerID, + _ = c ? h ? l : l ^ s : l | s, + w = c ? h ? st(p, f, h, b) : function(e, t, n) { + var r = e.length - 1; + if (n && t === r) return e.pop(), e; + for (var o = new Array(r), i = 0, a = 0; a < r; a++) a === t && (i = 1), o[a] = e[a + i]; + return o + }(p, f, b) : function(e, t, n, r) { + var o = e.length + 1; + if (r && t + 1 === o) return e[t] = n, e; + for (var i = new Array(o), a = 0, u = 0; u < o; u++) u === t ? (i[u] = n, a = -1) : i[u] = e[u + a]; + return i + }(p, f, h, b); + return b ? (this.bitmap = _, this.nodes = w, this) : new He(e, _, w) + }, We.prototype.get = function(e, t, n, r) { + void 0 === t && (t = Ce(n)); + var o = (0 === e ? t : t >>> e) & g, + i = this.nodes[o]; + return i ? i.get(e + v, t, n, r) : r + }, We.prototype.update = function(e, t, n, r, o, i, a) { + void 0 === n && (n = Ce(r)); + var u = (0 === t ? n : n >>> t) & g, + s = o === y, + l = this.nodes, + c = l[u]; + if (s && !c) return this; + var f = et(c, e, t + v, n, r, o, i, a); + if (f === c) return this; + var p = this.count; + if (c) { + if (!f && --p < ft) return function(e, t, n, r) { + for (var o = 0, i = 0, a = new Array(n), u = 0, s = 1, l = t.length; u < l; u++, s <<= 1) { + var c = t[u]; + void 0 !== c && u !== r && (o |= s, a[i++] = c) + } + return new He(e, o, a) + }(e, l, p, u) + } else p++; + var d = e && e === this.ownerID, + h = st(l, u, f, d); + return d ? (this.count = p, this.nodes = h, this) : new We(e, p, h) + }, Je.prototype.get = function(e, t, n, r) { + for (var o = this.entries, i = 0, a = o.length; i < a; i++) + if (he(n, o[i][0])) return o[i][1]; + return r + }, Je.prototype.update = function(e, t, n, r, o, i, a) { + void 0 === n && (n = Ce(r)); + var u = o === y; + if (n !== this.keyHash) return u ? this : (E(a), E(i), nt(this, e, t, n, [r, o])); + for (var s = this.entries, l = 0, c = s.length; l < c && !he(r, s[l][0]); l++); + var f = l < c; + if (f ? s[l][1] === o : u) return this; + if (E(a), (u || !f) && E(i), u && 2 === c) return new Ye(e, this.keyHash, s[1 ^ l]); + var p = e && e === this.ownerID, + d = p ? s : S(s); + return f ? u ? l === c - 1 ? d.pop() : d[l] = d.pop() : d[l] = [r, o] : d.push([r, o]), p ? (this.entries = d, this) : new Je(e, this.keyHash, d) + }, Ye.prototype.get = function(e, t, n, r) { + return he(n, this.entry[0]) ? this.entry[1] : r + }, Ye.prototype.update = function(e, t, n, r, o, i, a) { + var u = o === y, + s = he(r, this.entry[0]); + return (s ? o === this.entry[1] : u) ? this : (E(a), u ? void E(i) : s ? e && e === this.ownerID ? (this.entry[1] = o, this) : new Ye(e, this.keyHash, [r, o]) : (E(i), nt(this, e, t, Ce(r), [r, o]))) + }, Ve.prototype.iterate = Je.prototype.iterate = function(e, t) { + for (var n = this.entries, r = 0, o = n.length - 1; r <= o; r++) + if (!1 === e(n[t ? o - r : r])) return !1 + }, He.prototype.iterate = We.prototype.iterate = function(e, t) { + for (var n = this.nodes, r = 0, o = n.length - 1; r <= o; r++) { + var i = n[t ? o - r : r]; + if (i && !1 === i.iterate(e, t)) return !1 + } + }, Ye.prototype.iterate = function(e, t) { + return e(this.entry) + }, t(Ke, U), Ke.prototype.next = function() { + for (var e = this._type, t = this._stack; t;) { + var n, r = t.node, + o = t.index++; + if (r.entry) { + if (0 === o) return Ge(e, r.entry) + } else if (r.entries) { + if (o <= (n = r.entries.length - 1)) return Ge(e, r.entries[this._reverse ? n - o : o]) + } else if (o <= (n = r.nodes.length - 1)) { + var i = r.nodes[this._reverse ? n - o : o]; + if (i) { + if (i.entry) return Ge(e, i.entry); + t = this._stack = $e(i, t) + } + continue + } + t = this._stack = this._stack.__prev + } + return { + value: void 0, + done: !0 + } + }; + var lt = m / 4, + ct = m / 2, + ft = m / 4; + + function pt(e) { + var t = Et(); + if (null === e || void 0 === e) return t; + if (dt(e)) return e; + var n = o(e), + r = n.size; + return 0 === r ? t : (Le(r), r > 0 && r < m ? wt(0, r, v, null, new mt(n.toArray())) : t.withMutations(function(e) { + e.setSize(r), n.forEach(function(t, n) { + return e.set(n, t) + }) + })) + } + + function dt(e) { + return !(!e || !e[ht]) + } + t(pt, we), pt.of = function() { + return this(arguments) + }, pt.prototype.toString = function() { + return this.__toString("List [", "]") + }, pt.prototype.get = function(e, t) { + if ((e = k(this, e)) >= 0 && e < this.size) { + var n = Ct(this, e += this._origin); + return n && n.array[e & g] + } + return t + }, pt.prototype.set = function(e, t) { + return function(e, t, n) { + if ((t = k(e, t)) != t) return e; + if (t >= e.size || t < 0) return e.withMutations(function(e) { + t < 0 ? kt(e, t).set(0, n) : kt(e, 0, t + 1).set(t, n) + }); + t += e._origin; + var r = e._tail, + o = e._root, + i = w(_); + t >= Ot(e._capacity) ? r = xt(r, e.__ownerID, 0, t, n, i) : o = xt(o, e.__ownerID, e._level, t, n, i); + if (!i.value) return e; + if (e.__ownerID) return e._root = o, e._tail = r, e.__hash = void 0, e.__altered = !0, e; + return wt(e._origin, e._capacity, e._level, o, r) + }(this, e, t) + }, pt.prototype.remove = function(e) { + return this.has(e) ? 0 === e ? this.shift() : e === this.size - 1 ? this.pop() : this.splice(e, 1) : this + }, pt.prototype.insert = function(e, t) { + return this.splice(e, 0, t) + }, pt.prototype.clear = function() { + return 0 === this.size ? this : this.__ownerID ? (this.size = this._origin = this._capacity = 0, this._level = v, this._root = this._tail = null, this.__hash = void 0, this.__altered = !0, this) : Et() + }, pt.prototype.push = function() { + var e = arguments, + t = this.size; + return this.withMutations(function(n) { + kt(n, 0, t + e.length); + for (var r = 0; r < e.length; r++) n.set(t + r, e[r]) + }) + }, pt.prototype.pop = function() { + return kt(this, 0, -1) + }, pt.prototype.unshift = function() { + var e = arguments; + return this.withMutations(function(t) { + kt(t, -e.length); + for (var n = 0; n < e.length; n++) t.set(n, e[n]) + }) + }, pt.prototype.shift = function() { + return kt(this, 1) + }, pt.prototype.merge = function() { + return At(this, void 0, arguments) + }, pt.prototype.mergeWith = function(t) { + return At(this, t, e.call(arguments, 1)) + }, pt.prototype.mergeDeep = function() { + return At(this, ot, arguments) + }, pt.prototype.mergeDeepWith = function(t) { + var n = e.call(arguments, 1); + return At(this, it(t), n) + }, pt.prototype.setSize = function(e) { + return kt(this, 0, e) + }, pt.prototype.slice = function(e, t) { + var n = this.size; + return O(e, t, n) ? this : kt(this, P(e, n), T(t, n)) + }, pt.prototype.__iterator = function(e, t) { + var n = 0, + r = _t(this, t); + return new U(function() { + var t = r(); + return t === bt ? { + value: void 0, + done: !0 + } : q(e, n++, t) + }) + }, pt.prototype.__iterate = function(e, t) { + for (var n, r = 0, o = _t(this, t); + (n = o()) !== bt && !1 !== e(n, r++, this);); + return r + }, pt.prototype.__ensureOwner = function(e) { + return e === this.__ownerID ? this : e ? wt(this._origin, this._capacity, this._level, this._root, this._tail, e, this.__hash) : (this.__ownerID = e, this) + }, pt.isList = dt; + var ht = "@@__IMMUTABLE_LIST__@@", + vt = pt.prototype; + + function mt(e, t) { + this.array = e, this.ownerID = t + } + vt[ht] = !0, vt.delete = vt.remove, vt.setIn = Be.setIn, vt.deleteIn = vt.removeIn = Be.removeIn, vt.update = Be.update, vt.updateIn = Be.updateIn, vt.mergeIn = Be.mergeIn, vt.mergeDeepIn = Be.mergeDeepIn, vt.withMutations = Be.withMutations, vt.asMutable = Be.asMutable, vt.asImmutable = Be.asImmutable, vt.wasAltered = Be.wasAltered, mt.prototype.removeBefore = function(e, t, n) { + if (n === t ? 1 << t : 0 === this.array.length) return this; + var r = n >>> t & g; + if (r >= this.array.length) return new mt([], e); + var o, i = 0 === r; + if (t > 0) { + var a = this.array[r]; + if ((o = a && a.removeBefore(e, t - v, n)) === a && i) return this + } + if (i && !o) return this; + var u = St(this, e); + if (!i) + for (var s = 0; s < r; s++) u.array[s] = void 0; + return o && (u.array[r] = o), u + }, mt.prototype.removeAfter = function(e, t, n) { + if (n === (t ? 1 << t : 0) || 0 === this.array.length) return this; + var r, o = n - 1 >>> t & g; + if (o >= this.array.length) return this; + if (t > 0) { + var i = this.array[o]; + if ((r = i && i.removeAfter(e, t - v, n)) === i && o === this.array.length - 1) return this + } + var a = St(this, e); + return a.array.splice(o + 1), r && (a.array[o] = r), a + }; + var gt, yt, bt = {}; + + function _t(e, t) { + var n = e._origin, + r = e._capacity, + o = Ot(r), + i = e._tail; + return a(e._root, e._level, 0); + + function a(e, u, s) { + return 0 === u ? function(e, a) { + var u = a === o ? i && i.array : e && e.array, + s = a > n ? 0 : n - a, + l = r - a; + l > m && (l = m); + return function() { + if (s === l) return bt; + var e = t ? --l : s++; + return u && u[e] + } + }(e, s) : function(e, o, i) { + var u, s = e && e.array, + l = i > n ? 0 : n - i >> o, + c = 1 + (r - i >> o); + c > m && (c = m); + return function() { + for (;;) { + if (u) { + var e = u(); + if (e !== bt) return e; + u = null + } + if (l === c) return bt; + var n = t ? --c : l++; + u = a(s && s[n], o - v, i + (n << o)) + } + } + }(e, u, s) + } + } + + function wt(e, t, n, r, o, i, a) { + var u = Object.create(vt); + return u.size = t - e, u._origin = e, u._capacity = t, u._level = n, u._root = r, u._tail = o, u.__ownerID = i, u.__hash = a, u.__altered = !1, u + } + + function Et() { + return gt || (gt = wt(0, 0, v)) + } + + function xt(e, t, n, r, o, i) { + var a, u = r >>> n & g, + s = e && u < e.array.length; + if (!s && void 0 === o) return e; + if (n > 0) { + var l = e && e.array[u], + c = xt(l, t, n - v, r, o, i); + return c === l ? e : ((a = St(e, t)).array[u] = c, a) + } + return s && e.array[u] === o ? e : (E(i), a = St(e, t), void 0 === o && u === a.array.length - 1 ? a.array.pop() : a.array[u] = o, a) + } + + function St(e, t) { + return t && e && t === e.ownerID ? e : new mt(e ? e.array.slice() : [], t) + } + + function Ct(e, t) { + if (t >= Ot(e._capacity)) return e._tail; + if (t < 1 << e._level + v) { + for (var n = e._root, r = e._level; n && r > 0;) n = n.array[t >>> r & g], r -= v; + return n + } + } + + function kt(e, t, n) { + void 0 !== t && (t |= 0), void 0 !== n && (n |= 0); + var r = e.__ownerID || new x, + o = e._origin, + i = e._capacity, + a = o + t, + u = void 0 === n ? i : n < 0 ? i + n : o + n; + if (a === o && u === i) return e; + if (a >= u) return e.clear(); + for (var s = e._level, l = e._root, c = 0; a + c < 0;) l = new mt(l && l.array.length ? [void 0, l] : [], r), c += 1 << (s += v); + c && (a += c, o += c, u += c, i += c); + for (var f = Ot(i), p = Ot(u); p >= 1 << s + v;) l = new mt(l && l.array.length ? [l] : [], r), s += v; + var d = e._tail, + h = p < f ? Ct(e, u - 1) : p > f ? new mt([], r) : d; + if (d && p > f && a < i && d.array.length) { + for (var m = l = St(l, r), y = s; y > v; y -= v) { + var b = f >>> y & g; + m = m.array[b] = St(m.array[b], r) + } + m.array[f >>> v & g] = d + } + if (u < i && (h = h && h.removeAfter(r, 0, u)), a >= p) a -= p, u -= p, s = v, l = null, h = h && h.removeBefore(r, 0, a); + else if (a > o || p < f) { + for (c = 0; l;) { + var _ = a >>> s & g; + if (_ !== p >>> s & g) break; + _ && (c += (1 << s) * _), s -= v, l = l.array[_] + } + l && a > o && (l = l.removeBefore(r, s, a - c)), l && p < f && (l = l.removeAfter(r, s, p - c)), c && (a -= c, u -= c) + } + return e.__ownerID ? (e.size = u - a, e._origin = a, e._capacity = u, e._level = s, e._root = l, e._tail = h, e.__hash = void 0, e.__altered = !0, e) : wt(a, u, s, l, h) + } + + function At(e, t, n) { + for (var r = [], i = 0, u = 0; u < n.length; u++) { + var s = n[u], + l = o(s); + l.size > i && (i = l.size), a(s) || (l = l.map(function(e) { + return fe(e) + })), r.push(l) + } + return i > e.size && (e = e.setSize(i)), at(e, t, r) + } + + function Ot(e) { + return e < m ? 0 : e - 1 >>> v << v + } + + function Pt(e) { + return null === e || void 0 === e ? It() : Tt(e) ? e : It().withMutations(function(t) { + var n = r(e); + Le(n.size), n.forEach(function(e, n) { + return t.set(n, e) + }) + }) + } + + function Tt(e) { + return qe(e) && c(e) + } + + function Mt(e, t, n, r) { + var o = Object.create(Pt.prototype); + return o.size = e ? e.size : 0, o._map = e, o._list = t, o.__ownerID = n, o.__hash = r, o + } + + function It() { + return yt || (yt = Mt(Xe(), Et())) + } + + function jt(e, t, n) { + var r, o, i = e._map, + a = e._list, + u = i.get(t), + s = void 0 !== u; + if (n === y) { + if (!s) return e; + a.size >= m && a.size >= 2 * i.size ? (r = (o = a.filter(function(e, t) { + return void 0 !== e && u !== t + })).toKeyedSeq().map(function(e) { + return e[0] + }).flip().toMap(), e.__ownerID && (r.__ownerID = o.__ownerID = e.__ownerID)) : (r = i.remove(t), o = u === a.size - 1 ? a.pop() : a.set(u, void 0)) + } else if (s) { + if (n === a.get(u)[1]) return e; + r = i, o = a.set(u, [t, n]) + } else r = i.set(t, a.size), o = a.set(a.size, [t, n]); + return e.__ownerID ? (e.size = r.size, e._map = r, e._list = o, e.__hash = void 0, e) : Mt(r, o) + } + + function Nt(e, t) { + this._iter = e, this._useKeys = t, this.size = e.size + } + + function Rt(e) { + this._iter = e, this.size = e.size + } + + function Dt(e) { + this._iter = e, this.size = e.size + } + + function Lt(e) { + this._iter = e, this.size = e.size + } + + function Ut(e) { + var t = Qt(e); + return t._iter = e, t.size = e.size, t.flip = function() { + return e + }, t.reverse = function() { + var t = e.reverse.apply(this); + return t.flip = function() { + return e.reverse() + }, t + }, t.has = function(t) { + return e.includes(t) + }, t.includes = function(t) { + return e.has(t) + }, t.cacheResult = en, t.__iterateUncached = function(t, n) { + var r = this; + return e.__iterate(function(e, n) { + return !1 !== t(n, e, r) + }, n) + }, t.__iteratorUncached = function(t, n) { + if (t === N) { + var r = e.__iterator(t, n); + return new U(function() { + var e = r.next(); + if (!e.done) { + var t = e.value[0]; + e.value[0] = e.value[1], e.value[1] = t + } + return e + }) + } + return e.__iterator(t === j ? I : j, n) + }, t + } + + function qt(e, t, n) { + var r = Qt(e); + return r.size = e.size, r.has = function(t) { + return e.has(t) + }, r.get = function(r, o) { + var i = e.get(r, y); + return i === y ? o : t.call(n, i, r, e) + }, r.__iterateUncached = function(r, o) { + var i = this; + return e.__iterate(function(e, o, a) { + return !1 !== r(t.call(n, e, o, a), o, i) + }, o) + }, r.__iteratorUncached = function(r, o) { + var i = e.__iterator(N, o); + return new U(function() { + var o = i.next(); + if (o.done) return o; + var a = o.value, + u = a[0]; + return q(r, u, t.call(n, a[1], u, e), o) + }) + }, r + } + + function Ft(e, t) { + var n = Qt(e); + return n._iter = e, n.size = e.size, n.reverse = function() { + return e + }, e.flip && (n.flip = function() { + var t = Ut(e); + return t.reverse = function() { + return e.flip() + }, t + }), n.get = function(n, r) { + return e.get(t ? n : -1 - n, r) + }, n.has = function(n) { + return e.has(t ? n : -1 - n) + }, n.includes = function(t) { + return e.includes(t) + }, n.cacheResult = en, n.__iterate = function(t, n) { + var r = this; + return e.__iterate(function(e, n) { + return t(e, n, r) + }, !n) + }, n.__iterator = function(t, n) { + return e.__iterator(t, !n) + }, n + } + + function zt(e, t, n, r) { + var o = Qt(e); + return r && (o.has = function(r) { + var o = e.get(r, y); + return o !== y && !!t.call(n, o, r, e) + }, o.get = function(r, o) { + var i = e.get(r, y); + return i !== y && t.call(n, i, r, e) ? i : o + }), o.__iterateUncached = function(o, i) { + var a = this, + u = 0; + return e.__iterate(function(e, i, s) { + if (t.call(n, e, i, s)) return u++, o(e, r ? i : u - 1, a) + }, i), u + }, o.__iteratorUncached = function(o, i) { + var a = e.__iterator(N, i), + u = 0; + return new U(function() { + for (;;) { + var i = a.next(); + if (i.done) return i; + var s = i.value, + l = s[0], + c = s[1]; + if (t.call(n, c, l, e)) return q(o, r ? l : u++, c, i) + } + }) + }, o + } + + function Bt(e, t, n, r) { + var o = e.size; + if (void 0 !== t && (t |= 0), void 0 !== n && (n === 1 / 0 ? n = o : n |= 0), O(t, n, o)) return e; + var i = P(t, o), + a = T(n, o); + if (i != i || a != a) return Bt(e.toSeq().cacheResult(), t, n, r); + var u, s = a - i; + s == s && (u = s < 0 ? 0 : s); + var l = Qt(e); + return l.size = 0 === u ? u : e.size && u || void 0, !r && oe(e) && u >= 0 && (l.get = function(t, n) { + return (t = k(this, t)) >= 0 && t < u ? e.get(t + i, n) : n + }), l.__iterateUncached = function(t, n) { + var o = this; + if (0 === u) return 0; + if (n) return this.cacheResult().__iterate(t, n); + var a = 0, + s = !0, + l = 0; + return e.__iterate(function(e, n) { + if (!s || !(s = a++ < i)) return l++, !1 !== t(e, r ? n : l - 1, o) && l !== u + }), l + }, l.__iteratorUncached = function(t, n) { + if (0 !== u && n) return this.cacheResult().__iterator(t, n); + var o = 0 !== u && e.__iterator(t, n), + a = 0, + s = 0; + return new U(function() { + for (; a++ < i;) o.next(); + if (++s > u) return { + value: void 0, + done: !0 + }; + var e = o.next(); + return r || t === j ? e : q(t, s - 1, t === I ? void 0 : e.value[1], e) + }) + }, l + } + + function Vt(e, t, n, r) { + var o = Qt(e); + return o.__iterateUncached = function(o, i) { + var a = this; + if (i) return this.cacheResult().__iterate(o, i); + var u = !0, + s = 0; + return e.__iterate(function(e, i, l) { + if (!u || !(u = t.call(n, e, i, l))) return s++, o(e, r ? i : s - 1, a) + }), s + }, o.__iteratorUncached = function(o, i) { + var a = this; + if (i) return this.cacheResult().__iterator(o, i); + var u = e.__iterator(N, i), + s = !0, + l = 0; + return new U(function() { + var e, i, c; + do { + if ((e = u.next()).done) return r || o === j ? e : q(o, l++, o === I ? void 0 : e.value[1], e); + var f = e.value; + i = f[0], c = f[1], s && (s = t.call(n, c, i, a)) + } while (s); + return o === N ? e : q(o, i, c, e) + }) + }, o + } + + function Ht(e, t, n) { + var r = Qt(e); + return r.__iterateUncached = function(r, o) { + var i = 0, + u = !1; + return function e(s, l) { + var c = this; + s.__iterate(function(o, s) { + return (!t || l < t) && a(o) ? e(o, l + 1) : !1 === r(o, n ? s : i++, c) && (u = !0), !u + }, o) + }(e, 0), i + }, r.__iteratorUncached = function(r, o) { + var i = e.__iterator(r, o), + u = [], + s = 0; + return new U(function() { + for (; i;) { + var e = i.next(); + if (!1 === e.done) { + var l = e.value; + if (r === N && (l = l[1]), t && !(u.length < t) || !a(l)) return n ? e : q(r, s++, l, e); + u.push(i), i = l.__iterator(r, o) + } else i = u.pop() + } + return { + value: void 0, + done: !0 + } + }) + }, r + } + + function Wt(e, t, n) { + t || (t = tn); + var r = u(e), + o = 0, + i = e.toSeq().map(function(t, r) { + return [r, t, o++, n ? n(t, r, e) : t] + }).toArray(); + return i.sort(function(e, n) { + return t(e[3], n[3]) || e[2] - n[2] + }).forEach(r ? function(e, t) { + i[t].length = 2 + } : function(e, t) { + i[t] = e[1] + }), r ? Y(i) : s(e) ? K(i) : G(i) + } + + function Jt(e, t, n) { + if (t || (t = tn), n) { + var r = e.toSeq().map(function(t, r) { + return [t, n(t, r, e)] + }).reduce(function(e, n) { + return Yt(t, e[1], n[1]) ? n : e + }); + return r && r[0] + } + return e.reduce(function(e, n) { + return Yt(t, e, n) ? n : e + }) + } + + function Yt(e, t, n) { + var r = e(n, t); + return 0 === r && n !== t && (void 0 === n || null === n || n != n) || r > 0 + } + + function Kt(e, t, r) { + var o = Qt(e); + return o.size = new ee(r).map(function(e) { + return e.size + }).min(), o.__iterate = function(e, t) { + for (var n, r = this.__iterator(j, t), o = 0; !(n = r.next()).done && !1 !== e(n.value, o++, this);); + return o + }, o.__iteratorUncached = function(e, o) { + var i = r.map(function(e) { + return e = n(e), V(o ? e.reverse() : e) + }), + a = 0, + u = !1; + return new U(function() { + var n; + return u || (n = i.map(function(e) { + return e.next() + }), u = n.some(function(e) { + return e.done + })), u ? { + value: void 0, + done: !0 + } : q(e, a++, t.apply(null, n.map(function(e) { + return e.value + }))) + }) + }, o + } + + function Gt(e, t) { + return oe(e) ? t : e.constructor(t) + } + + function $t(e) { + if (e !== Object(e)) throw new TypeError("Expected [K, V] tuple: " + e) + } + + function Zt(e) { + return Le(e.size), C(e) + } + + function Xt(e) { + return u(e) ? r : s(e) ? o : i + } + + function Qt(e) { + return Object.create((u(e) ? Y : s(e) ? K : G).prototype) + } + + function en() { + return this._iter.cacheResult ? (this._iter.cacheResult(), this.size = this._iter.size, this) : J.prototype.cacheResult.call(this) + } + + function tn(e, t) { + return e > t ? 1 : e < t ? -1 : 0 + } + + function nn(e) { + var t = V(e); + if (!t) { + if (!W(e)) throw new TypeError("Expected iterable or array-like: " + e); + t = V(n(e)) + } + return t + } + + function rn(e, t) { + var n, r = function(i) { + if (i instanceof r) return i; + if (!(this instanceof r)) return new r(i); + if (!n) { + n = !0; + var a = Object.keys(e); + ! function(e, t) { + try { + t.forEach(function(e, t) { + Object.defineProperty(e, t, { + get: function() { + return this.get(t) + }, + set: function(e) { + ge(this.__ownerID, "Cannot set on an immutable record."), this.set(t, e) + } + }) + }.bind(void 0, e)) + } catch (e) {} + }(o, a), o.size = a.length, o._name = t, o._keys = a, o._defaultValues = e + } + this._map = Ue(i) + }, + o = r.prototype = Object.create(on); + return o.constructor = r, r + } + t(Pt, Ue), Pt.of = function() { + return this(arguments) + }, Pt.prototype.toString = function() { + return this.__toString("OrderedMap {", "}") + }, Pt.prototype.get = function(e, t) { + var n = this._map.get(e); + return void 0 !== n ? this._list.get(n)[1] : t + }, Pt.prototype.clear = function() { + return 0 === this.size ? this : this.__ownerID ? (this.size = 0, this._map.clear(), this._list.clear(), this) : It() + }, Pt.prototype.set = function(e, t) { + return jt(this, e, t) + }, Pt.prototype.remove = function(e) { + return jt(this, e, y) + }, Pt.prototype.wasAltered = function() { + return this._map.wasAltered() || this._list.wasAltered() + }, Pt.prototype.__iterate = function(e, t) { + var n = this; + return this._list.__iterate(function(t) { + return t && e(t[1], t[0], n) + }, t) + }, Pt.prototype.__iterator = function(e, t) { + return this._list.fromEntrySeq().__iterator(e, t) + }, Pt.prototype.__ensureOwner = function(e) { + if (e === this.__ownerID) return this; + var t = this._map.__ensureOwner(e), + n = this._list.__ensureOwner(e); + return e ? Mt(t, n, e, this.__hash) : (this.__ownerID = e, this._map = t, this._list = n, this) + }, Pt.isOrderedMap = Tt, Pt.prototype[h] = !0, Pt.prototype.delete = Pt.prototype.remove, t(Nt, Y), Nt.prototype.get = function(e, t) { + return this._iter.get(e, t) + }, Nt.prototype.has = function(e) { + return this._iter.has(e) + }, Nt.prototype.valueSeq = function() { + return this._iter.valueSeq() + }, Nt.prototype.reverse = function() { + var e = this, + t = Ft(this, !0); + return this._useKeys || (t.valueSeq = function() { + return e._iter.toSeq().reverse() + }), t + }, Nt.prototype.map = function(e, t) { + var n = this, + r = qt(this, e, t); + return this._useKeys || (r.valueSeq = function() { + return n._iter.toSeq().map(e, t) + }), r + }, Nt.prototype.__iterate = function(e, t) { + var n, r = this; + return this._iter.__iterate(this._useKeys ? function(t, n) { + return e(t, n, r) + } : (n = t ? Zt(this) : 0, function(o) { + return e(o, t ? --n : n++, r) + }), t) + }, Nt.prototype.__iterator = function(e, t) { + if (this._useKeys) return this._iter.__iterator(e, t); + var n = this._iter.__iterator(j, t), + r = t ? Zt(this) : 0; + return new U(function() { + var o = n.next(); + return o.done ? o : q(e, t ? --r : r++, o.value, o) + }) + }, Nt.prototype[h] = !0, t(Rt, K), Rt.prototype.includes = function(e) { + return this._iter.includes(e) + }, Rt.prototype.__iterate = function(e, t) { + var n = this, + r = 0; + return this._iter.__iterate(function(t) { + return e(t, r++, n) + }, t) + }, Rt.prototype.__iterator = function(e, t) { + var n = this._iter.__iterator(j, t), + r = 0; + return new U(function() { + var t = n.next(); + return t.done ? t : q(e, r++, t.value, t) + }) + }, t(Dt, G), Dt.prototype.has = function(e) { + return this._iter.includes(e) + }, Dt.prototype.__iterate = function(e, t) { + var n = this; + return this._iter.__iterate(function(t) { + return e(t, t, n) + }, t) + }, Dt.prototype.__iterator = function(e, t) { + var n = this._iter.__iterator(j, t); + return new U(function() { + var t = n.next(); + return t.done ? t : q(e, t.value, t.value, t) + }) + }, t(Lt, Y), Lt.prototype.entrySeq = function() { + return this._iter.toSeq() + }, Lt.prototype.__iterate = function(e, t) { + var n = this; + return this._iter.__iterate(function(t) { + if (t) { + $t(t); + var r = a(t); + return e(r ? t.get(1) : t[1], r ? t.get(0) : t[0], n) + } + }, t) + }, Lt.prototype.__iterator = function(e, t) { + var n = this._iter.__iterator(j, t); + return new U(function() { + for (;;) { + var t = n.next(); + if (t.done) return t; + var r = t.value; + if (r) { + $t(r); + var o = a(r); + return q(e, o ? r.get(0) : r[0], o ? r.get(1) : r[1], t) + } + } + }) + }, Rt.prototype.cacheResult = Nt.prototype.cacheResult = Dt.prototype.cacheResult = Lt.prototype.cacheResult = en, t(rn, _e), rn.prototype.toString = function() { + return this.__toString(un(this) + " {", "}") + }, rn.prototype.has = function(e) { + return this._defaultValues.hasOwnProperty(e) + }, rn.prototype.get = function(e, t) { + if (!this.has(e)) return t; + var n = this._defaultValues[e]; + return this._map ? this._map.get(e, n) : n + }, rn.prototype.clear = function() { + if (this.__ownerID) return this._map && this._map.clear(), this; + var e = this.constructor; + return e._empty || (e._empty = an(this, Xe())) + }, rn.prototype.set = function(e, t) { + if (!this.has(e)) throw new Error('Cannot set unknown key "' + e + '" on ' + un(this)); + if (this._map && !this._map.has(e) && t === this._defaultValues[e]) return this; + var n = this._map && this._map.set(e, t); + return this.__ownerID || n === this._map ? this : an(this, n) + }, rn.prototype.remove = function(e) { + if (!this.has(e)) return this; + var t = this._map && this._map.remove(e); + return this.__ownerID || t === this._map ? this : an(this, t) + }, rn.prototype.wasAltered = function() { + return this._map.wasAltered() + }, rn.prototype.__iterator = function(e, t) { + var n = this; + return r(this._defaultValues).map(function(e, t) { + return n.get(t) + }).__iterator(e, t) + }, rn.prototype.__iterate = function(e, t) { + var n = this; + return r(this._defaultValues).map(function(e, t) { + return n.get(t) + }).__iterate(e, t) + }, rn.prototype.__ensureOwner = function(e) { + if (e === this.__ownerID) return this; + var t = this._map && this._map.__ensureOwner(e); + return e ? an(this, t, e) : (this.__ownerID = e, this._map = t, this) + }; + var on = rn.prototype; + + function an(e, t, n) { + var r = Object.create(Object.getPrototypeOf(e)); + return r._map = t, r.__ownerID = n, r + } + + function un(e) { + return e._name || e.constructor.name || "Record" + } + + function sn(e) { + return null === e || void 0 === e ? vn() : ln(e) && !c(e) ? e : vn().withMutations(function(t) { + var n = i(e); + Le(n.size), n.forEach(function(e) { + return t.add(e) + }) + }) + } + + function ln(e) { + return !(!e || !e[fn]) + } + on.delete = on.remove, on.deleteIn = on.removeIn = Be.removeIn, on.merge = Be.merge, on.mergeWith = Be.mergeWith, on.mergeIn = Be.mergeIn, on.mergeDeep = Be.mergeDeep, on.mergeDeepWith = Be.mergeDeepWith, on.mergeDeepIn = Be.mergeDeepIn, on.setIn = Be.setIn, on.update = Be.update, on.updateIn = Be.updateIn, on.withMutations = Be.withMutations, on.asMutable = Be.asMutable, on.asImmutable = Be.asImmutable, t(sn, Ee), sn.of = function() { + return this(arguments) + }, sn.fromKeys = function(e) { + return this(r(e).keySeq()) + }, sn.prototype.toString = function() { + return this.__toString("Set {", "}") + }, sn.prototype.has = function(e) { + return this._map.has(e) + }, sn.prototype.add = function(e) { + return dn(this, this._map.set(e, !0)) + }, sn.prototype.remove = function(e) { + return dn(this, this._map.remove(e)) + }, sn.prototype.clear = function() { + return dn(this, this._map.clear()) + }, sn.prototype.union = function() { + var t = e.call(arguments, 0); + return 0 === (t = t.filter(function(e) { + return 0 !== e.size + })).length ? this : 0 !== this.size || this.__ownerID || 1 !== t.length ? this.withMutations(function(e) { + for (var n = 0; n < t.length; n++) i(t[n]).forEach(function(t) { + return e.add(t) + }) + }) : this.constructor(t[0]) + }, sn.prototype.intersect = function() { + var t = e.call(arguments, 0); + if (0 === t.length) return this; + t = t.map(function(e) { + return i(e) + }); + var n = this; + return this.withMutations(function(e) { + n.forEach(function(n) { + t.every(function(e) { + return e.includes(n) + }) || e.remove(n) + }) + }) + }, sn.prototype.subtract = function() { + var t = e.call(arguments, 0); + if (0 === t.length) return this; + t = t.map(function(e) { + return i(e) + }); + var n = this; + return this.withMutations(function(e) { + n.forEach(function(n) { + t.some(function(e) { + return e.includes(n) + }) && e.remove(n) + }) + }) + }, sn.prototype.merge = function() { + return this.union.apply(this, arguments) + }, sn.prototype.mergeWith = function(t) { + var n = e.call(arguments, 1); + return this.union.apply(this, n) + }, sn.prototype.sort = function(e) { + return mn(Wt(this, e)) + }, sn.prototype.sortBy = function(e, t) { + return mn(Wt(this, t, e)) + }, sn.prototype.wasAltered = function() { + return this._map.wasAltered() + }, sn.prototype.__iterate = function(e, t) { + var n = this; + return this._map.__iterate(function(t, r) { + return e(r, r, n) + }, t) + }, sn.prototype.__iterator = function(e, t) { + return this._map.map(function(e, t) { + return t + }).__iterator(e, t) + }, sn.prototype.__ensureOwner = function(e) { + if (e === this.__ownerID) return this; + var t = this._map.__ensureOwner(e); + return e ? this.__make(t, e) : (this.__ownerID = e, this._map = t, this) + }, sn.isSet = ln; + var cn, fn = "@@__IMMUTABLE_SET__@@", + pn = sn.prototype; + + function dn(e, t) { + return e.__ownerID ? (e.size = t.size, e._map = t, e) : t === e._map ? e : 0 === t.size ? e.__empty() : e.__make(t) + } + + function hn(e, t) { + var n = Object.create(pn); + return n.size = e ? e.size : 0, n._map = e, n.__ownerID = t, n + } + + function vn() { + return cn || (cn = hn(Xe())) + } + + function mn(e) { + return null === e || void 0 === e ? wn() : gn(e) ? e : wn().withMutations(function(t) { + var n = i(e); + Le(n.size), n.forEach(function(e) { + return t.add(e) + }) + }) + } + + function gn(e) { + return ln(e) && c(e) + } + pn[fn] = !0, pn.delete = pn.remove, pn.mergeDeep = pn.merge, pn.mergeDeepWith = pn.mergeWith, pn.withMutations = Be.withMutations, pn.asMutable = Be.asMutable, pn.asImmutable = Be.asImmutable, pn.__empty = vn, pn.__make = hn, t(mn, sn), mn.of = function() { + return this(arguments) + }, mn.fromKeys = function(e) { + return this(r(e).keySeq()) + }, mn.prototype.toString = function() { + return this.__toString("OrderedSet {", "}") + }, mn.isOrderedSet = gn; + var yn, bn = mn.prototype; + + function _n(e, t) { + var n = Object.create(bn); + return n.size = e ? e.size : 0, n._map = e, n.__ownerID = t, n + } + + function wn() { + return yn || (yn = _n(It())) + } + + function En(e) { + return null === e || void 0 === e ? On() : xn(e) ? e : On().unshiftAll(e) + } + + function xn(e) { + return !(!e || !e[Cn]) + } + bn[h] = !0, bn.__empty = wn, bn.__make = _n, t(En, we), En.of = function() { + return this(arguments) + }, En.prototype.toString = function() { + return this.__toString("Stack [", "]") + }, En.prototype.get = function(e, t) { + var n = this._head; + for (e = k(this, e); n && e--;) n = n.next; + return n ? n.value : t + }, En.prototype.peek = function() { + return this._head && this._head.value + }, En.prototype.push = function() { + if (0 === arguments.length) return this; + for (var e = this.size + arguments.length, t = this._head, n = arguments.length - 1; n >= 0; n--) t = { + value: arguments[n], + next: t + }; + return this.__ownerID ? (this.size = e, this._head = t, this.__hash = void 0, this.__altered = !0, this) : An(e, t) + }, En.prototype.pushAll = function(e) { + if (0 === (e = o(e)).size) return this; + Le(e.size); + var t = this.size, + n = this._head; + return e.reverse().forEach(function(e) { + t++, n = { + value: e, + next: n + } + }), this.__ownerID ? (this.size = t, this._head = n, this.__hash = void 0, this.__altered = !0, this) : An(t, n) + }, En.prototype.pop = function() { + return this.slice(1) + }, En.prototype.unshift = function() { + return this.push.apply(this, arguments) + }, En.prototype.unshiftAll = function(e) { + return this.pushAll(e) + }, En.prototype.shift = function() { + return this.pop.apply(this, arguments) + }, En.prototype.clear = function() { + return 0 === this.size ? this : this.__ownerID ? (this.size = 0, this._head = void 0, this.__hash = void 0, this.__altered = !0, this) : On() + }, En.prototype.slice = function(e, t) { + if (O(e, t, this.size)) return this; + var n = P(e, this.size); + if (T(t, this.size) !== this.size) return we.prototype.slice.call(this, e, t); + for (var r = this.size - n, o = this._head; n--;) o = o.next; + return this.__ownerID ? (this.size = r, this._head = o, this.__hash = void 0, this.__altered = !0, this) : An(r, o) + }, En.prototype.__ensureOwner = function(e) { + return e === this.__ownerID ? this : e ? An(this.size, this._head, e, this.__hash) : (this.__ownerID = e, this.__altered = !1, this) + }, En.prototype.__iterate = function(e, t) { + if (t) return this.reverse().__iterate(e); + for (var n = 0, r = this._head; r && !1 !== e(r.value, n++, this);) r = r.next; + return n + }, En.prototype.__iterator = function(e, t) { + if (t) return this.reverse().__iterator(e); + var n = 0, + r = this._head; + return new U(function() { + if (r) { + var t = r.value; + return r = r.next, q(e, n++, t) + } + return { + value: void 0, + done: !0 + } + }) + }, En.isStack = xn; + var Sn, Cn = "@@__IMMUTABLE_STACK__@@", + kn = En.prototype; + + function An(e, t, n, r) { + var o = Object.create(kn); + return o.size = e, o._head = t, o.__ownerID = n, o.__hash = r, o.__altered = !1, o + } + + function On() { + return Sn || (Sn = An(0)) + } + + function Pn(e, t) { + var n = function(n) { + e.prototype[n] = t[n] + }; + return Object.keys(t).forEach(n), Object.getOwnPropertySymbols && Object.getOwnPropertySymbols(t).forEach(n), e + } + kn[Cn] = !0, kn.withMutations = Be.withMutations, kn.asMutable = Be.asMutable, kn.asImmutable = Be.asImmutable, kn.wasAltered = Be.wasAltered, n.Iterator = U, Pn(n, { + toArray: function() { + Le(this.size); + var e = new Array(this.size || 0); + return this.valueSeq().__iterate(function(t, n) { + e[n] = t + }), e + }, + toIndexedSeq: function() { + return new Rt(this) + }, + toJS: function() { + return this.toSeq().map(function(e) { + return e && "function" == typeof e.toJS ? e.toJS() : e + }).__toJS() + }, + toJSON: function() { + return this.toSeq().map(function(e) { + return e && "function" == typeof e.toJSON ? e.toJSON() : e + }).__toJS() + }, + toKeyedSeq: function() { + return new Nt(this, !0) + }, + toMap: function() { + return Ue(this.toKeyedSeq()) + }, + toObject: function() { + Le(this.size); + var e = {}; + return this.__iterate(function(t, n) { + e[n] = t + }), e + }, + toOrderedMap: function() { + return Pt(this.toKeyedSeq()) + }, + toOrderedSet: function() { + return mn(u(this) ? this.valueSeq() : this) + }, + toSet: function() { + return sn(u(this) ? this.valueSeq() : this) + }, + toSetSeq: function() { + return new Dt(this) + }, + toSeq: function() { + return s(this) ? this.toIndexedSeq() : u(this) ? this.toKeyedSeq() : this.toSetSeq() + }, + toStack: function() { + return En(u(this) ? this.valueSeq() : this) + }, + toList: function() { + return pt(u(this) ? this.valueSeq() : this) + }, + toString: function() { + return "[Iterable]" + }, + __toString: function(e, t) { + return 0 === this.size ? e + t : e + " " + this.toSeq().map(this.__toStringMapper).join(", ") + " " + t + }, + concat: function() { + return Gt(this, function(e, t) { + var n = u(e), + o = [e].concat(t).map(function(e) { + return a(e) ? n && (e = r(e)) : e = n ? ae(e) : ue(Array.isArray(e) ? e : [e]), e + }).filter(function(e) { + return 0 !== e.size + }); + if (0 === o.length) return e; + if (1 === o.length) { + var i = o[0]; + if (i === e || n && u(i) || s(e) && s(i)) return i + } + var l = new ee(o); + return n ? l = l.toKeyedSeq() : s(e) || (l = l.toSetSeq()), (l = l.flatten(!0)).size = o.reduce(function(e, t) { + if (void 0 !== e) { + var n = t.size; + if (void 0 !== n) return e + n + } + }, 0), l + }(this, e.call(arguments, 0))) + }, + includes: function(e) { + return this.some(function(t) { + return he(t, e) + }) + }, + entries: function() { + return this.__iterator(N) + }, + every: function(e, t) { + Le(this.size); + var n = !0; + return this.__iterate(function(r, o, i) { + if (!e.call(t, r, o, i)) return n = !1, !1 + }), n + }, + filter: function(e, t) { + return Gt(this, zt(this, e, t, !0)) + }, + find: function(e, t, n) { + var r = this.findEntry(e, t); + return r ? r[1] : n + }, + forEach: function(e, t) { + return Le(this.size), this.__iterate(t ? e.bind(t) : e) + }, + join: function(e) { + Le(this.size), e = void 0 !== e ? "" + e : ","; + var t = "", + n = !0; + return this.__iterate(function(r) { + n ? n = !1 : t += e, t += null !== r && void 0 !== r ? r.toString() : "" + }), t + }, + keys: function() { + return this.__iterator(I) + }, + map: function(e, t) { + return Gt(this, qt(this, e, t)) + }, + reduce: function(e, t, n) { + var r, o; + return Le(this.size), arguments.length < 2 ? o = !0 : r = t, this.__iterate(function(t, i, a) { + o ? (o = !1, r = t) : r = e.call(n, r, t, i, a) + }), r + }, + reduceRight: function(e, t, n) { + var r = this.toKeyedSeq().reverse(); + return r.reduce.apply(r, arguments) + }, + reverse: function() { + return Gt(this, Ft(this, !0)) + }, + slice: function(e, t) { + return Gt(this, Bt(this, e, t, !0)) + }, + some: function(e, t) { + return !this.every(Nn(e), t) + }, + sort: function(e) { + return Gt(this, Wt(this, e)) + }, + values: function() { + return this.__iterator(j) + }, + butLast: function() { + return this.slice(0, -1) + }, + isEmpty: function() { + return void 0 !== this.size ? 0 === this.size : !this.some(function() { + return !0 + }) + }, + count: function(e, t) { + return C(e ? this.toSeq().filter(e, t) : this) + }, + countBy: function(e, t) { + return function(e, t, n) { + var r = Ue().asMutable(); + return e.__iterate(function(o, i) { + r.update(t.call(n, o, i, e), 0, function(e) { + return e + 1 + }) + }), r.asImmutable() + }(this, e, t) + }, + equals: function(e) { + return ve(this, e) + }, + entrySeq: function() { + var e = this; + if (e._cache) return new ee(e._cache); + var t = e.toSeq().map(jn).toIndexedSeq(); + return t.fromEntrySeq = function() { + return e.toSeq() + }, t + }, + filterNot: function(e, t) { + return this.filter(Nn(e), t) + }, + findEntry: function(e, t, n) { + var r = n; + return this.__iterate(function(n, o, i) { + if (e.call(t, n, o, i)) return r = [o, n], !1 + }), r + }, + findKey: function(e, t) { + var n = this.findEntry(e, t); + return n && n[0] + }, + findLast: function(e, t, n) { + return this.toKeyedSeq().reverse().find(e, t, n) + }, + findLastEntry: function(e, t, n) { + return this.toKeyedSeq().reverse().findEntry(e, t, n) + }, + findLastKey: function(e, t) { + return this.toKeyedSeq().reverse().findKey(e, t) + }, + first: function() { + return this.find(A) + }, + flatMap: function(e, t) { + return Gt(this, function(e, t, n) { + var r = Xt(e); + return e.toSeq().map(function(o, i) { + return r(t.call(n, o, i, e)) + }).flatten(!0) + }(this, e, t)) + }, + flatten: function(e) { + return Gt(this, Ht(this, e, !0)) + }, + fromEntrySeq: function() { + return new Lt(this) + }, + get: function(e, t) { + return this.find(function(t, n) { + return he(n, e) + }, void 0, t) + }, + getIn: function(e, t) { + for (var n, r = this, o = nn(e); !(n = o.next()).done;) { + var i = n.value; + if ((r = r && r.get ? r.get(i, y) : y) === y) return t + } + return r + }, + groupBy: function(e, t) { + return function(e, t, n) { + var r = u(e), + o = (c(e) ? Pt() : Ue()).asMutable(); + e.__iterate(function(i, a) { + o.update(t.call(n, i, a, e), function(e) { + return (e = e || []).push(r ? [a, i] : i), e + }) + }); + var i = Xt(e); + return o.map(function(t) { + return Gt(e, i(t)) + }) + }(this, e, t) + }, + has: function(e) { + return this.get(e, y) !== y + }, + hasIn: function(e) { + return this.getIn(e, y) !== y + }, + isSubset: function(e) { + return e = "function" == typeof e.includes ? e : n(e), this.every(function(t) { + return e.includes(t) + }) + }, + isSuperset: function(e) { + return (e = "function" == typeof e.isSubset ? e : n(e)).isSubset(this) + }, + keyOf: function(e) { + return this.findKey(function(t) { + return he(t, e) + }) + }, + keySeq: function() { + return this.toSeq().map(In).toIndexedSeq() + }, + last: function() { + return this.toSeq().reverse().first() + }, + lastKeyOf: function(e) { + return this.toKeyedSeq().reverse().keyOf(e) + }, + max: function(e) { + return Jt(this, e) + }, + maxBy: function(e, t) { + return Jt(this, t, e) + }, + min: function(e) { + return Jt(this, e ? Rn(e) : Un) + }, + minBy: function(e, t) { + return Jt(this, t ? Rn(t) : Un, e) + }, + rest: function() { + return this.slice(1) + }, + skip: function(e) { + return this.slice(Math.max(0, e)) + }, + skipLast: function(e) { + return Gt(this, this.toSeq().reverse().skip(e).reverse()) + }, + skipWhile: function(e, t) { + return Gt(this, Vt(this, e, t, !0)) + }, + skipUntil: function(e, t) { + return this.skipWhile(Nn(e), t) + }, + sortBy: function(e, t) { + return Gt(this, Wt(this, t, e)) + }, + take: function(e) { + return this.slice(0, Math.max(0, e)) + }, + takeLast: function(e) { + return Gt(this, this.toSeq().reverse().take(e).reverse()) + }, + takeWhile: function(e, t) { + return Gt(this, function(e, t, n) { + var r = Qt(e); + return r.__iterateUncached = function(r, o) { + var i = this; + if (o) return this.cacheResult().__iterate(r, o); + var a = 0; + return e.__iterate(function(e, o, u) { + return t.call(n, e, o, u) && ++a && r(e, o, i) + }), a + }, r.__iteratorUncached = function(r, o) { + var i = this; + if (o) return this.cacheResult().__iterator(r, o); + var a = e.__iterator(N, o), + u = !0; + return new U(function() { + if (!u) return { + value: void 0, + done: !0 + }; + var e = a.next(); + if (e.done) return e; + var o = e.value, + s = o[0], + l = o[1]; + return t.call(n, l, s, i) ? r === N ? e : q(r, s, l, e) : (u = !1, { + value: void 0, + done: !0 + }) + }) + }, r + }(this, e, t)) + }, + takeUntil: function(e, t) { + return this.takeWhile(Nn(e), t) + }, + valueSeq: function() { + return this.toIndexedSeq() + }, + hashCode: function() { + return this.__hash || (this.__hash = function(e) { + if (e.size === 1 / 0) return 0; + var t = c(e), + n = u(e), + r = t ? 1 : 0; + return function(e, t) { + return t = xe(t, 3432918353), t = xe(t << 15 | t >>> -15, 461845907), t = xe(t << 13 | t >>> -13, 5), t = xe((t = (t + 3864292196 | 0) ^ e) ^ t >>> 16, 2246822507), t = Se((t = xe(t ^ t >>> 13, 3266489909)) ^ t >>> 16) + }(e.__iterate(n ? t ? function(e, t) { + r = 31 * r + qn(Ce(e), Ce(t)) | 0 + } : function(e, t) { + r = r + qn(Ce(e), Ce(t)) | 0 + } : t ? function(e) { + r = 31 * r + Ce(e) | 0 + } : function(e) { + r = r + Ce(e) | 0 + }), r) + }(this)) + } + }); + var Tn = n.prototype; + Tn[f] = !0, Tn[L] = Tn.values, Tn.__toJS = Tn.toArray, Tn.__toStringMapper = Dn, Tn.inspect = Tn.toSource = function() { + return this.toString() + }, Tn.chain = Tn.flatMap, Tn.contains = Tn.includes, Pn(r, { + flip: function() { + return Gt(this, Ut(this)) + }, + mapEntries: function(e, t) { + var n = this, + r = 0; + return Gt(this, this.toSeq().map(function(o, i) { + return e.call(t, [i, o], r++, n) + }).fromEntrySeq()) + }, + mapKeys: function(e, t) { + var n = this; + return Gt(this, this.toSeq().flip().map(function(r, o) { + return e.call(t, r, o, n) + }).flip()) + } + }); + var Mn = r.prototype; + + function In(e, t) { + return t + } + + function jn(e, t) { + return [t, e] + } + + function Nn(e) { + return function() { + return !e.apply(this, arguments) + } + } + + function Rn(e) { + return function() { + return -e.apply(this, arguments) + } + } + + function Dn(e) { + return "string" == typeof e ? JSON.stringify(e) : String(e) + } + + function Ln() { + return S(arguments) + } + + function Un(e, t) { + return e < t ? 1 : e > t ? -1 : 0 + } + + function qn(e, t) { + return e ^ t + 2654435769 + (e << 6) + (e >> 2) | 0 + } + return Mn[p] = !0, Mn[L] = Tn.entries, Mn.__toJS = Tn.toObject, Mn.__toStringMapper = function(e, t) { + return JSON.stringify(t) + ": " + Dn(e) + }, Pn(o, { + toKeyedSeq: function() { + return new Nt(this, !1) + }, + filter: function(e, t) { + return Gt(this, zt(this, e, t, !1)) + }, + findIndex: function(e, t) { + var n = this.findEntry(e, t); + return n ? n[0] : -1 + }, + indexOf: function(e) { + var t = this.keyOf(e); + return void 0 === t ? -1 : t + }, + lastIndexOf: function(e) { + var t = this.lastKeyOf(e); + return void 0 === t ? -1 : t + }, + reverse: function() { + return Gt(this, Ft(this, !1)) + }, + slice: function(e, t) { + return Gt(this, Bt(this, e, t, !1)) + }, + splice: function(e, t) { + var n = arguments.length; + if (t = Math.max(0 | t, 0), 0 === n || 2 === n && !t) return this; + e = P(e, e < 0 ? this.count() : this.size); + var r = this.slice(0, e); + return Gt(this, 1 === n ? r : r.concat(S(arguments, 2), this.slice(e + t))) + }, + findLastIndex: function(e, t) { + var n = this.findLastEntry(e, t); + return n ? n[0] : -1 + }, + first: function() { + return this.get(0) + }, + flatten: function(e) { + return Gt(this, Ht(this, e, !1)) + }, + get: function(e, t) { + return (e = k(this, e)) < 0 || this.size === 1 / 0 || void 0 !== this.size && e > this.size ? t : this.find(function(t, n) { + return n === e + }, void 0, t) + }, + has: function(e) { + return (e = k(this, e)) >= 0 && (void 0 !== this.size ? this.size === 1 / 0 || e < this.size : -1 !== this.indexOf(e)) + }, + interpose: function(e) { + return Gt(this, function(e, t) { + var n = Qt(e); + return n.size = e.size && 2 * e.size - 1, n.__iterateUncached = function(n, r) { + var o = this, + i = 0; + return e.__iterate(function(e, r) { + return (!i || !1 !== n(t, i++, o)) && !1 !== n(e, i++, o) + }, r), i + }, n.__iteratorUncached = function(n, r) { + var o, i = e.__iterator(j, r), + a = 0; + return new U(function() { + return (!o || a % 2) && (o = i.next()).done ? o : a % 2 ? q(n, a++, t) : q(n, a++, o.value, o) + }) + }, n + }(this, e)) + }, + interleave: function() { + var e = [this].concat(S(arguments)), + t = Kt(this.toSeq(), K.of, e), + n = t.flatten(!0); + return t.size && (n.size = t.size * e.length), Gt(this, n) + }, + keySeq: function() { + return ye(0, this.size) + }, + last: function() { + return this.get(-1) + }, + skipWhile: function(e, t) { + return Gt(this, Vt(this, e, t, !1)) + }, + zip: function() { + return Gt(this, Kt(this, Ln, [this].concat(S(arguments)))) + }, + zipWith: function(e) { + var t = S(arguments); + return t[0] = this, Gt(this, Kt(this, e, t)) + } + }), o.prototype[d] = !0, o.prototype[h] = !0, Pn(i, { + get: function(e, t) { + return this.has(e) ? e : t + }, + includes: function(e) { + return this.has(e) + }, + keySeq: function() { + return this.valueSeq() + } + }), i.prototype.has = Tn.includes, i.prototype.contains = i.prototype.includes, Pn(Y, r.prototype), Pn(K, o.prototype), Pn(G, i.prototype), Pn(_e, r.prototype), Pn(we, o.prototype), Pn(Ee, i.prototype), { + Iterable: n, + Seq: J, + Collection: be, + Map: Ue, + OrderedMap: Pt, + List: pt, + Stack: En, + Set: sn, + OrderedSet: mn, + Record: rn, + Range: ye, + Repeat: me, + is: he, + fromJS: fe + } + }, e.exports = r() + }, function(e, t, n) { + "use strict"; + var r = function(e) {}; + e.exports = function(e, t, n, o, i, a, u, s) { + if (r(t), !e) { + var l; + if (void 0 === t) l = new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings."); + else { + var c = [n, o, i, a, u, s], + f = 0; + (l = new Error(t.replace(/%s/g, function() { + return c[f++] + }))).name = "Invariant Violation" + } + throw l.framesToPop = 1, l + } + } + }, function(e, t, n) { + "use strict"; + var r = n(34); + e.exports = r + }, function(e, t, n) { + "use strict"; + (function(e) { + Object.defineProperty(t, "__esModule", { + value: !0 + }), t.getCommonExtensions = t.getExtensions = t.escapeDeepLinkPath = t.createDeepLinkPath = t.shallowEqualKeys = t.buildFormData = t.sorters = t.btoa = t.serializeSearch = t.parseSearch = t.getSampleSchema = t.validateParam = t.validatePattern = t.validateMinLength = t.validateMaxLength = t.validateGuid = t.validateDateTime = t.validateString = t.validateBoolean = t.validateFile = t.validateInteger = t.validateNumber = t.validateMinimum = t.validateMaximum = t.propChecker = t.memoize = t.isImmutable = void 0; + var r = _(n(41)), + o = _(n(18)), + i = _(n(91)), + a = _(n(23)), + u = _(n(42)), + s = _(n(45)); + t.isJSONObject = function(e) { + try { + var t = JSON.parse(e); + if (t && "object" === (void 0 === t ? "undefined" : (0, s.default)(t))) return t + } catch (e) {} + return !1 + }, t.objectify = function(e) { + return S(e) ? E(e) ? e.toJS() : e : {} + }, t.arrayify = function(e) { + return e ? e.toArray ? e.toArray() : x(e) : [] + }, t.fromJSOrdered = function e(t) { + if (E(t)) return t; + if (t instanceof y.default.File) return t; + return S(t) ? Array.isArray(t) ? l.default.Seq(t).map(e).toList() : l.default.OrderedMap(t).map(e) : t + }, t.bindToState = function(e, t) { + var n = {}; + return (0, u.default)(e).filter(function(t) { + return "function" == typeof e[t] + }).forEach(function(r) { + return n[r] = e[r].bind(null, t) + }), n + }, t.normalizeArray = x, t.isFn = function(e) { + return "function" == typeof e + }, t.isObject = S, t.isFunc = function(e) { + return "function" == typeof e + }, t.isArray = function(e) { + return Array.isArray(e) + }, t.objMap = function(e, t) { + return (0, u.default)(e).reduce(function(n, r) { + return n[r] = t(e[r], r), n + }, {}) + }, t.objReduce = function(e, t) { + return (0, u.default)(e).reduce(function(n, r) { + var o = t(e[r], r); + return o && "object" === (void 0 === o ? "undefined" : (0, s.default)(o)) && (0, a.default)(n, o), n + }, {}) + }, t.systemThunkMiddleware = function(e) { + return function(t) { + t.dispatch, t.getState; + return function(t) { + return function(n) { + return "function" == typeof n ? n(e()) : t(n) + } + } + } + }, t.defaultStatusCode = function(e) { + var t = e.keySeq(); + return t.contains(w) ? w : t.filter(function(e) { + return "2" === (e + "")[0] + }).sort().first() + }, t.getList = function(e, t) { + if (!l.default.Iterable.isIterable(e)) return l.default.List(); + var n = e.getIn(Array.isArray(t) ? t : [t]); + return l.default.List.isList(n) ? n : l.default.List() + }, t.highlight = function(e) { + var t = document; + if (!e) return ""; + if (e.textContent.length > 5e3) return e.textContent; + return function(e) { + for (var n, r, o, i, a, u = e.textContent, s = 0, l = u[0], c = 1, f = e.innerHTML = "", p = 0; r = n, n = p < 7 && "\\" == n ? 1 : c;) { + if (c = l, l = u[++s], i = f.length > 1, !c || p > 8 && "\n" == c || [/\S/.test(c), 1, 1, !/[$\w]/.test(c), ("/" == n || "\n" == n) && i, '"' == n && i, "'" == n && i, u[s - 4] + r + n == "--\x3e", r + n == "*/"][p]) + for (f && (e.appendChild(a = t.createElement("span")).setAttribute("style", ["color: #555; font-weight: bold;", "", "", "color: #555;", ""][p ? p < 3 ? 2 : p > 6 ? 4 : p > 3 ? 3 : +/^(a(bstract|lias|nd|rguments|rray|s(m|sert)?|uto)|b(ase|egin|ool(ean)?|reak|yte)|c(ase|atch|har|hecked|lass|lone|ompl|onst|ontinue)|de(bugger|cimal|clare|f(ault|er)?|init|l(egate|ete)?)|do|double|e(cho|ls?if|lse(if)?|nd|nsure|num|vent|x(cept|ec|p(licit|ort)|te(nds|nsion|rn)))|f(allthrough|alse|inal(ly)?|ixed|loat|or(each)?|riend|rom|unc(tion)?)|global|goto|guard|i(f|mp(lements|licit|ort)|n(it|clude(_once)?|line|out|stanceof|t(erface|ernal)?)?|s)|l(ambda|et|ock|ong)|m(icrolight|odule|utable)|NaN|n(amespace|ative|ext|ew|il|ot|ull)|o(bject|perator|r|ut|verride)|p(ackage|arams|rivate|rotected|rotocol|ublic)|r(aise|e(adonly|do|f|gister|peat|quire(_once)?|scue|strict|try|turn))|s(byte|ealed|elf|hort|igned|izeof|tatic|tring|truct|ubscript|uper|ynchronized|witch)|t(emplate|hen|his|hrows?|ransient|rue|ry|ype(alias|def|id|name|of))|u(n(checked|def(ined)?|ion|less|signed|til)|se|sing)|v(ar|irtual|oid|olatile)|w(char_t|hen|here|hile|ith)|xor|yield)$/.test(f) : 0]), a.appendChild(t.createTextNode(f))), o = p && p < 7 ? p : o, f = "", p = 11; ![1, /[\/{}[(\-+*=<>:;|\\.,?!&@~]/.test(c), /[\])]/.test(c), /[$\w]/.test(c), "/" == c && o < 2 && "<" != n, '"' == c, "'" == c, c + l + u[s + 1] + u[s + 2] == "\x3c!--", c + l == "/*", c + l == "//", "#" == c][--p];); + f += c + } + }(e) + }, t.mapToList = function e(t) { + var n = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : "key"; + var r = arguments.length > 2 && void 0 !== arguments[2] ? arguments[2] : l.default.Map(); + if (!l.default.Map.isMap(t) || !t.size) return l.default.List(); + Array.isArray(n) || (n = [n]); + if (n.length < 1) return t.merge(r); + var a = l.default.List(); + var u = n[0]; + var s = !0; + var c = !1; + var f = void 0; + try { + for (var p, d = (0, i.default)(t.entries()); !(s = (p = d.next()).done); s = !0) { + var h = p.value, + v = (0, o.default)(h, 2), + m = v[0], + g = v[1], + y = e(g, n.slice(1), r.set(u, m)); + a = l.default.List.isList(y) ? a.concat(y) : a.push(y) + } + } catch (e) { + c = !0, f = e + } finally { + try { + !s && d.return && d.return() + } finally { + if (c) throw f + } + } + return a + }, t.extractFileNameFromContentDispositionHeader = function(e) { + var t = /filename="([^;]*);?"/i.exec(e); + null === t && (t = /filename=([^;]*);?/i.exec(e)); + if (null !== t && t.length > 1) return t[1]; + return null + }, t.pascalCase = C, t.pascalCaseFilename = function(e) { + return C(e.replace(/\.[^./]*$/, "")) + }, t.sanitizeUrl = function(e) { + if ("string" != typeof e || "" === e) return ""; + return (0, c.sanitizeUrl)(e) + }, t.getAcceptControllingResponse = function(e) { + if (!l.default.OrderedMap.isOrderedMap(e)) return null; + if (!e.size) return null; + var t = e.find(function(e, t) { + return t.startsWith("2") && (0, u.default)(e.get("content") || {}).length > 0 + }), + n = e.get("default") || l.default.OrderedMap(), + r = (n.get("content") || l.default.OrderedMap()).keySeq().toJS().length ? n : null; + return t || r + }, t.deeplyStripKey = function e(t, n) { + var r = arguments.length > 2 && void 0 !== arguments[2] ? arguments[2] : function() { + return !0 + }; + if ("object" !== (void 0 === t ? "undefined" : (0, s.default)(t)) || Array.isArray(t) || null === t || !n) return t; + var o = (0, a.default)({}, t); + (0, u.default)(o).forEach(function(t) { + t === n && r(o[t], t) ? delete o[t] : o[t] = e(o[t], n, r) + }); + return o + }, t.stringify = function(e) { + if ("string" == typeof e) return e; + e.toJS && (e = e.toJS()); + if ("object" === (void 0 === e ? "undefined" : (0, s.default)(e)) && null !== e) try { + return (0, r.default)(e, null, 2) + } catch (t) { + return String(e) + } + return e.toString() + }, t.numberToString = function(e) { + if ("number" == typeof e) return e.toString(); + return e + }; + var l = _(n(7)), + c = n(571), + f = _(n(572)), + p = _(n(280)), + d = _(n(284)), + h = _(n(287)), + v = _(n(650)), + m = _(n(105)), + g = n(192), + y = _(n(32)), + b = _(n(723)); + + function _(e) { + return e && e.__esModule ? e : { + default: e + } + } + var w = "default", + E = t.isImmutable = function(e) { + return l.default.Iterable.isIterable(e) + }; + + function x(e) { + return Array.isArray(e) ? e : [e] + } + + function S(e) { + return !!e && "object" === (void 0 === e ? "undefined" : (0, s.default)(e)) + } + t.memoize = d.default; + + function C(e) { + return (0, p.default)((0, f.default)(e)) + } + t.propChecker = function(e, t) { + var n = arguments.length > 2 && void 0 !== arguments[2] ? arguments[2] : [], + r = arguments.length > 3 && void 0 !== arguments[3] ? arguments[3] : []; + return (0, u.default)(e).length !== (0, u.default)(t).length || ((0, v.default)(e, function(e, n) { + if (r.includes(n)) return !1; + var o = t[n]; + return l.default.Iterable.isIterable(e) ? !l.default.is(e, o) : ("object" !== (void 0 === e ? "undefined" : (0, s.default)(e)) || "object" !== (void 0 === o ? "undefined" : (0, s.default)(o))) && e !== o + }) || n.some(function(n) { + return !(0, m.default)(e[n], t[n]) + })) + }; + var k = t.validateMaximum = function(e, t) { + if (e > t) return "Value must be less than Maximum" + }, + A = t.validateMinimum = function(e, t) { + if (e < t) return "Value must be greater than Minimum" + }, + O = t.validateNumber = function(e) { + if (!/^-?\d+(\.?\d+)?$/.test(e)) return "Value must be a number" + }, + P = t.validateInteger = function(e) { + if (!/^-?\d+$/.test(e)) return "Value must be an integer" + }, + T = t.validateFile = function(e) { + if (e && !(e instanceof y.default.File)) return "Value must be a file" + }, + M = t.validateBoolean = function(e) { + if ("true" !== e && "false" !== e && !0 !== e && !1 !== e) return "Value must be a boolean" + }, + I = t.validateString = function(e) { + if (e && "string" != typeof e) return "Value must be a string" + }, + j = t.validateDateTime = function(e) { + if (isNaN(Date.parse(e))) return "Value must be a DateTime" + }, + N = t.validateGuid = function(e) { + if (e = e.toString().toLowerCase(), !/^[{(]?[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}[)}]?$/.test(e)) return "Value must be a Guid" + }, + R = t.validateMaxLength = function(e, t) { + if (e.length > t) return "Value must be less than MaxLength" + }, + D = t.validateMinLength = function(e, t) { + if (e.length < t) return "Value must be greater than MinLength" + }, + L = t.validatePattern = function(e, t) { + if (!new RegExp(t).test(e)) return "Value must follow pattern " + t + }; + t.validateParam = function(e, t) { + var n = arguments.length > 2 && void 0 !== arguments[2] && arguments[2], + r = [], + o = t && "body" === e.get("in") ? e.get("value_xml") : e.get("value"), + i = e.get("required"), + a = n ? e.get("schema") : e; + if (!a) return r; + var u = a.get("maximum"), + c = a.get("minimum"), + f = a.get("type"), + p = a.get("format"), + d = a.get("maxLength"), + h = a.get("minLength"), + v = a.get("pattern"); + if (f && (i || o)) { + var m = "string" === f && o, + g = "array" === f && Array.isArray(o) && o.length, + b = "array" === f && l.default.List.isList(o) && o.count(), + _ = "file" === f && o instanceof y.default.File, + w = "boolean" === f && (o || !1 === o), + E = "number" === f && (o || 0 === o), + x = "integer" === f && (o || 0 === o), + S = !1; + if (n && "object" === f) + if ("object" === (void 0 === o ? "undefined" : (0, s.default)(o))) S = !0; + else if ("string" == typeof o) try { + JSON.parse(o), S = !0 + } catch (e) { + return r.push("Parameter string value must be valid JSON"), r + } + var C = [m, g, b, _, w, E, x, S].some(function(e) { + return !!e + }); + if (i && !C) return r.push("Required field is not provided"), r; + if (v) { + var U = L(o, v); + U && r.push(U) + } + if (d || 0 === d) { + var q = R(o, d); + q && r.push(q) + } + if (h) { + var F = D(o, h); + F && r.push(F) + } + if (u || 0 === u) { + var z = k(o, u); + z && r.push(z) + } + if (c || 0 === c) { + var B = A(o, c); + B && r.push(B) + } + if ("string" === f) { + var V = void 0; + if (!(V = "date-time" === p ? j(o) : "uuid" === p ? N(o) : I(o))) return r; + r.push(V) + } else if ("boolean" === f) { + var H = M(o); + if (!H) return r; + r.push(H) + } else if ("number" === f) { + var W = O(o); + if (!W) return r; + r.push(W) + } else if ("integer" === f) { + var J = P(o); + if (!J) return r; + r.push(J) + } else if ("array" === f) { + var Y; + if (!b || !o.count()) return r; + Y = a.getIn(["items", "type"]), o.forEach(function(e, t) { + var n = void 0; + "number" === Y ? n = O(e) : "integer" === Y ? n = P(e) : "string" === Y && (n = I(e)), n && r.push({ + index: t, + error: n + }) + }) + } else if ("file" === f) { + var K = T(o); + if (!K) return r; + r.push(K) + } + } + return r + }, t.getSampleSchema = function(e) { + var t = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : "", + n = arguments.length > 2 && void 0 !== arguments[2] ? arguments[2] : {}; + if (/xml/.test(t)) { + if (!e.xml || !e.xml.name) { + if (e.xml = e.xml || {}, !e.$$ref) return e.type || e.items || e.properties || e.additionalProperties ? '\n\x3c!-- XML example cannot be generated --\x3e' : null; + var o = e.$$ref.match(/\S*\/(\S+)$/); + e.xml.name = o[1] + } + return (0, g.memoizedCreateXMLExample)(e, n) + } + var i = (0, g.memoizedSampleFromSchema)(e, n); + return "object" === (void 0 === i ? "undefined" : (0, s.default)(i)) ? (0, r.default)(i, null, 2) : i + }, t.parseSearch = function() { + var e = {}, + t = y.default.location.search; + if (!t) return {}; + if ("" != t) { + var n = t.substr(1).split("&"); + for (var r in n) n.hasOwnProperty(r) && (r = n[r].split("="), e[decodeURIComponent(r[0])] = r[1] && decodeURIComponent(r[1]) || "") + } + return e + }, t.serializeSearch = function(e) { + return (0, u.default)(e).map(function(t) { + return encodeURIComponent(t) + "=" + encodeURIComponent(e[t]) + }).join("&") + }, t.btoa = function(t) { + return (t instanceof e ? t : new e(t.toString(), "utf-8")).toString("base64") + }, t.sorters = { + operationsSorter: { + alpha: function(e, t) { + return e.get("path").localeCompare(t.get("path")) + }, + method: function(e, t) { + return e.get("method").localeCompare(t.get("method")) + } + }, + tagsSorter: { + alpha: function(e, t) { + return e.localeCompare(t) + } + } + }, t.buildFormData = function(e) { + var t = []; + for (var n in e) { + var r = e[n]; + void 0 !== r && "" !== r && t.push([n, "=", encodeURIComponent(r).replace(/%20/g, "+")].join("")) + } + return t.join("&") + }, t.shallowEqualKeys = function(e, t, n) { + return !!(0, h.default)(n, function(n) { + return (0, m.default)(e[n], t[n]) + }) + }; + var U = t.createDeepLinkPath = function(e) { + return "string" == typeof e || e instanceof String ? e.trim().replace(/\s/g, "_") : "" + }; + t.escapeDeepLinkPath = function(e) { + return (0, b.default)(U(e)) + }, t.getExtensions = function(e) { + return e.filter(function(e, t) { + return /^x-/.test(t) + }) + }, t.getCommonExtensions = function(e) { + return e.filter(function(e, t) { + return /^pattern|maxLength|minLength|maximum|minimum/.test(t) + }) + } + }).call(t, n(54).Buffer) + }, function(e, t, n) { + "use strict"; + e.exports = function(e) { + for (var t = arguments.length - 1, n = "Minified React error #" + e + "; visit http://facebook.github.io/react/docs/error-decoder.html?invariant=" + e, r = 0; r < t; r++) n += "&args[]=" + encodeURIComponent(arguments[r + 1]); + n += " for the full message or use the non-minified dev environment for full errors and additional helpful warnings."; + var o = new Error(n); + throw o.name = "Invariant Violation", o.framesToPop = 1, o + } + }, function(e, t, n) { + "use strict"; + var r = n(7), + o = "<>", + i = { + listOf: function(e) { + return l(e, "List", r.List.isList) + }, + mapOf: function(e, t) { + return c(e, t, "Map", r.Map.isMap) + }, + orderedMapOf: function(e, t) { + return c(e, t, "OrderedMap", r.OrderedMap.isOrderedMap) + }, + setOf: function(e) { + return l(e, "Set", r.Set.isSet) + }, + orderedSetOf: function(e) { + return l(e, "OrderedSet", r.OrderedSet.isOrderedSet) + }, + stackOf: function(e) { + return l(e, "Stack", r.Stack.isStack) + }, + iterableOf: function(e) { + return l(e, "Iterable", r.Iterable.isIterable) + }, + recordOf: function(e) { + return u(function(t, n, o, i, u) { + for (var s = arguments.length, l = Array(s > 5 ? s - 5 : 0), c = 5; c < s; c++) l[c - 5] = arguments[c]; + var f = t[n]; + if (!(f instanceof r.Record)) { + var p = a(f), + d = i; + return new Error("Invalid " + d + " `" + u + "` of type `" + p + "` supplied to `" + o + "`, expected an Immutable.js Record.") + } + for (var h in e) { + var v = e[h]; + if (v) { + var m = f.toObject(), + g = v.apply(void 0, [m, h, o, i, u + "." + h].concat(l)); + if (g) return g + } + } + }) + }, + shape: p, + contains: p, + mapContains: function(e) { + return f(e, "Map", r.Map.isMap) + }, + list: s("List", r.List.isList), + map: s("Map", r.Map.isMap), + orderedMap: s("OrderedMap", r.OrderedMap.isOrderedMap), + set: s("Set", r.Set.isSet), + orderedSet: s("OrderedSet", r.OrderedSet.isOrderedSet), + stack: s("Stack", r.Stack.isStack), + seq: s("Seq", r.Seq.isSeq), + record: s("Record", function(e) { + return e instanceof r.Record + }), + iterable: s("Iterable", r.Iterable.isIterable) + }; + + function a(e) { + var t = typeof e; + return Array.isArray(e) ? "array" : e instanceof RegExp ? "object" : e instanceof r.Iterable ? "Immutable." + e.toSource().split(" ")[0] : t + } + + function u(e) { + function t(t, n, r, i, a, u) { + for (var s = arguments.length, l = Array(s > 6 ? s - 6 : 0), c = 6; c < s; c++) l[c - 6] = arguments[c]; + return u = u || r, i = i || o, null != n[r] ? e.apply(void 0, [n, r, i, a, u].concat(l)) : t ? new Error("Required " + a + " `" + u + "` was not specified in `" + i + "`.") : void 0 + } + var n = t.bind(null, !1); + return n.isRequired = t.bind(null, !0), n + } + + function s(e, t) { + return u(function(n, r, o, i, u) { + var s = n[r]; + if (!t(s)) { + var l = a(s); + return new Error("Invalid " + i + " `" + u + "` of type `" + l + "` supplied to `" + o + "`, expected `" + e + "`.") + } + return null + }) + } + + function l(e, t, n) { + return u(function(r, o, i, u, s) { + for (var l = arguments.length, c = Array(l > 5 ? l - 5 : 0), f = 5; f < l; f++) c[f - 5] = arguments[f]; + var p = r[o]; + if (!n(p)) { + var d = u, + h = a(p); + return new Error("Invalid " + d + " `" + s + "` of type `" + h + "` supplied to `" + i + "`, expected an Immutable.js " + t + ".") + } + if ("function" != typeof e) return new Error("Invalid typeChecker supplied to `" + i + "` for propType `" + s + "`, expected a function."); + for (var v = p.toArray(), m = 0, g = v.length; m < g; m++) { + var y = e.apply(void 0, [v, m, i, u, s + "[" + m + "]"].concat(c)); + if (y instanceof Error) return y + } + }) + } + + function c(e, t, n, r) { + return u(function() { + for (var o = arguments.length, i = Array(o), a = 0; a < o; a++) i[a] = arguments[a]; + return l(e, n, r).apply(void 0, i) || t && (s = t, u(function(e, t, n, r, o) { + for (var i = arguments.length, a = Array(i > 5 ? i - 5 : 0), u = 5; u < i; u++) a[u - 5] = arguments[u]; + var l = e[t]; + if ("function" != typeof s) return new Error("Invalid keysTypeChecker (optional second argument) supplied to `" + n + "` for propType `" + o + "`, expected a function."); + for (var c = l.keySeq().toArray(), f = 0, p = c.length; f < p; f++) { + var d = s.apply(void 0, [c, f, n, r, o + " -> key(" + c[f] + ")"].concat(a)); + if (d instanceof Error) return d + } + })).apply(void 0, i); + var s + }) + } + + function f(e) { + var t = void 0 === arguments[1] ? "Iterable" : arguments[1], + n = void 0 === arguments[2] ? r.Iterable.isIterable : arguments[2]; + return u(function(r, o, i, u, s) { + for (var l = arguments.length, c = Array(l > 5 ? l - 5 : 0), f = 5; f < l; f++) c[f - 5] = arguments[f]; + var p = r[o]; + if (!n(p)) { + var d = a(p); + return new Error("Invalid " + u + " `" + s + "` of type `" + d + "` supplied to `" + i + "`, expected an Immutable.js " + t + ".") + } + var h = p.toObject(); + for (var v in e) { + var m = e[v]; + if (m) { + var g = m.apply(void 0, [h, v, i, u, s + "." + v].concat(c)); + if (g) return g + } + } + }) + } + + function p(e) { + return f(e) + } + e.exports = i + }, function(e, t, n) { + "use strict"; + /* + object-assign + (c) Sindre Sorhus + @license MIT + */ + var r = Object.getOwnPropertySymbols, + o = Object.prototype.hasOwnProperty, + i = Object.prototype.propertyIsEnumerable; + e.exports = function() { + try { + if (!Object.assign) return !1; + var e = new String("abc"); + if (e[5] = "de", "5" === Object.getOwnPropertyNames(e)[0]) return !1; + for (var t = {}, n = 0; n < 10; n++) t["_" + String.fromCharCode(n)] = n; + if ("0123456789" !== Object.getOwnPropertyNames(t).map(function(e) { + return t[e] + }).join("")) return !1; + var r = {}; + return "abcdefghijklmnopqrst".split("").forEach(function(e) { + r[e] = e + }), "abcdefghijklmnopqrst" === Object.keys(Object.assign({}, r)).join("") + } catch (e) { + return !1 + } + }() ? Object.assign : function(e, t) { + for (var n, a, u = function(e) { + if (null === e || void 0 === e) throw new TypeError("Object.assign cannot be called with null or undefined"); + return Object(e) + }(e), s = 1; s < arguments.length; s++) { + for (var l in n = Object(arguments[s])) o.call(n, l) && (u[l] = n[l]); + if (r) { + a = r(n); + for (var c = 0; c < a.length; c++) i.call(n, a[c]) && (u[a[c]] = n[a[c]]) + } + } + return u + } + }, function(e, t, n) { + "use strict"; + var r = n(11), + o = n(87), + i = n(350), + a = (n(8), o.ID_ATTRIBUTE_NAME), + u = i, + s = "__reactInternalInstance$" + Math.random().toString(36).slice(2); + + function l(e, t) { + return 1 === e.nodeType && e.getAttribute(a) === String(t) || 8 === e.nodeType && e.nodeValue === " react-text: " + t + " " || 8 === e.nodeType && e.nodeValue === " react-empty: " + t + " " + } + + function c(e) { + for (var t; t = e._renderedComponent;) e = t; + return e + } + + function f(e, t) { + var n = c(e); + n._hostNode = t, t[s] = n + } + + function p(e, t) { + if (!(e._flags & u.hasCachedChildNodes)) { + var n = e._renderedChildren, + o = t.firstChild; + e: for (var i in n) + if (n.hasOwnProperty(i)) { + var a = n[i], + s = c(a)._domID; + if (0 !== s) { + for (; null !== o; o = o.nextSibling) + if (l(o, s)) { + f(a, o); + continue e + } + r("32", s) + } + } + e._flags |= u.hasCachedChildNodes + } + } + + function d(e) { + if (e[s]) return e[s]; + for (var t, n, r = []; !e[s];) { + if (r.push(e), !e.parentNode) return null; + e = e.parentNode + } + for (; e && (n = e[s]); e = r.pop()) t = n, r.length && p(n, e); + return t + } + var h = { + getClosestInstanceFromNode: d, + getInstanceFromNode: function(e) { + var t = d(e); + return null != t && t._hostNode === e ? t : null + }, + getNodeFromInstance: function(e) { + if (void 0 === e._hostNode && r("33"), e._hostNode) return e._hostNode; + for (var t = []; !e._hostNode;) t.push(e), e._hostParent || r("34"), e = e._hostParent; + for (; t.length; e = t.pop()) p(e, e._hostNode); + return e._hostNode + }, + precacheChildNodes: p, + precacheNode: f, + uncacheNode: function(e) { + var t = e._hostNode; + t && (delete t[s], e._hostNode = null) + } + }; + e.exports = h + }, function(e, t) { + var n = e.exports = { + version: "2.5.5" + }; + "number" == typeof __e && (__e = n) + }, function(e, t, n) { + "use strict"; + var r = n(107), + o = ["kind", "resolve", "construct", "instanceOf", "predicate", "represent", "defaultStyle", "styleAliases"], + i = ["scalar", "sequence", "mapping"]; + e.exports = function(e, t) { + var n, a; + if (t = t || {}, Object.keys(t).forEach(function(t) { + if (-1 === o.indexOf(t)) throw new r('Unknown option "' + t + '" is met in definition of "' + e + '" YAML type.') + }), this.tag = e, this.kind = t.kind || null, this.resolve = t.resolve || function() { + return !0 + }, this.construct = t.construct || function(e) { + return e + }, this.instanceOf = t.instanceOf || null, this.predicate = t.predicate || null, this.represent = t.represent || null, this.defaultStyle = t.defaultStyle || null, this.styleAliases = (n = t.styleAliases || null, a = {}, null !== n && Object.keys(n).forEach(function(e) { + n[e].forEach(function(t) { + a[String(t)] = e + }) + }), a), -1 === i.indexOf(this.kind)) throw new r('Unknown kind "' + this.kind + '" is specified for "' + e + '" YAML type.') + } + }, function(e, t, n) { + var r = n(242)("wks"), + o = n(167), + i = n(33).Symbol, + a = "function" == typeof i; + (e.exports = function(e) { + return r[e] || (r[e] = a && i[e] || (a ? i : o)("Symbol." + e)) + }).store = r + }, function(e, t, n) { + "use strict"; + t.__esModule = !0; + var r = i(n(568)), + o = i(n(91)); + + function i(e) { + return e && e.__esModule ? e : { + default: e + } + } + t.default = function() { + return function(e, t) { + if (Array.isArray(e)) return e; + if ((0, r.default)(Object(e))) return function(e, t) { + var n = [], + r = !0, + i = !1, + a = void 0; + try { + for (var u, s = (0, o.default)(e); !(r = (u = s.next()).done) && (n.push(u.value), !t || n.length !== t); r = !0); + } catch (e) { + i = !0, a = e + } finally { + try { + !r && s.return && s.return() + } finally { + if (i) throw a + } + } + return n + }(e, t); + throw new TypeError("Invalid attempt to destructure non-iterable instance") + } + }() + }, function(e, t, n) { + var r = n(162)("wks"), + o = n(116), + i = n(21).Symbol, + a = "function" == typeof i; + (e.exports = function(e) { + return r[e] || (r[e] = a && i[e] || (a ? i : o)("Symbol." + e)) + }).store = r + }, function(e, t, n) { + var r = n(21), + o = n(15), + i = n(49), + a = n(50), + u = n(52), + s = function(e, t, n) { + var l, c, f, p = e & s.F, + d = e & s.G, + h = e & s.S, + v = e & s.P, + m = e & s.B, + g = e & s.W, + y = d ? o : o[t] || (o[t] = {}), + b = y.prototype, + _ = d ? r : h ? r[t] : (r[t] || {}).prototype; + for (l in d && (n = t), n)(c = !p && _ && void 0 !== _[l]) && u(y, l) || (f = c ? _[l] : n[l], y[l] = d && "function" != typeof _[l] ? n[l] : m && c ? i(f, r) : g && _[l] == f ? function(e) { + var t = function(t, n, r) { + if (this instanceof e) { + switch (arguments.length) { + case 0: + return new e; + case 1: + return new e(t); + case 2: + return new e(t, n) + } + return new e(t, n, r) + } + return e.apply(this, arguments) + }; + return t.prototype = e.prototype, t + }(f) : v && "function" == typeof f ? i(Function.call, f) : f, v && ((y.virtual || (y.virtual = {}))[l] = f, e & s.R && b && !b[l] && a(b, l, f))) + }; + s.F = 1, s.G = 2, s.S = 4, s.P = 8, s.B = 16, s.W = 32, s.U = 64, s.R = 128, e.exports = s + }, function(e, t) { + var n = e.exports = "undefined" != typeof window && window.Math == Math ? window : "undefined" != typeof self && self.Math == Math ? self : Function("return this")(); + "number" == typeof __g && (__g = n) + }, function(e, t, n) { + "use strict"; + t.__esModule = !0; + var r, o = n(262), + i = (r = o) && r.__esModule ? r : { + default: r + }; + t.default = function(e, t, n) { + return t in e ? (0, i.default)(e, t, { + value: n, + enumerable: !0, + configurable: !0, + writable: !0 + }) : e[t] = n, e + } + }, function(e, t, n) { + e.exports = { + default: n(533), + __esModule: !0 + } + }, function(e, t) { + var n = Array.isArray; + e.exports = n + }, function(e, t, n) { + "use strict"; + t.__esModule = !0; + var r, o = n(23), + i = (r = o) && r.__esModule ? r : { + default: r + }; + t.default = i.default || function(e) { + for (var t = 1; t < arguments.length; t++) { + var n = arguments[t]; + for (var r in n) Object.prototype.hasOwnProperty.call(n, r) && (e[r] = n[r]) + } + return e + } + }, function(e, t, n) { + "use strict"; + var r = !("undefined" == typeof window || !window.document || !window.document.createElement), + o = { + canUseDOM: r, + canUseWorkers: "undefined" != typeof Worker, + canUseEventListeners: r && !(!window.addEventListener && !window.attachEvent), + canUseViewport: r && !!window.screen, + isInWorker: !r + }; + e.exports = o + }, function(e, t, n) { + "use strict"; + var r = Object.prototype.hasOwnProperty; + + function o(e, t) { + return !!e && r.call(e, t) + } + var i = /\\([\\!"#$%&'()*+,.\/:;<=>?@[\]^_`{|}~-])/g; + + function a(e) { + return !(e >= 55296 && e <= 57343) && (!(e >= 64976 && e <= 65007) && (65535 != (65535 & e) && 65534 != (65535 & e) && (!(e >= 0 && e <= 8) && (11 !== e && (!(e >= 14 && e <= 31) && (!(e >= 127 && e <= 159) && !(e > 1114111))))))) + } + + function u(e) { + if (e > 65535) { + var t = 55296 + ((e -= 65536) >> 10), + n = 56320 + (1023 & e); + return String.fromCharCode(t, n) + } + return String.fromCharCode(e) + } + var s = /&([a-z#][a-z0-9]{1,31});/gi, + l = /^#((?:x[a-f0-9]{1,8}|[0-9]{1,8}))/i, + c = n(416); + + function f(e, t) { + var n = 0; + return o(c, t) ? c[t] : 35 === t.charCodeAt(0) && l.test(t) && a(n = "x" === t[1].toLowerCase() ? parseInt(t.slice(2), 16) : parseInt(t.slice(1), 10)) ? u(n) : e + } + var p = /[&<>"]/, + d = /[&<>"]/g, + h = { + "&": "&", + "<": "<", + ">": ">", + '"': """ + }; + + function v(e) { + return h[e] + } + t.assign = function(e) { + return [].slice.call(arguments, 1).forEach(function(t) { + if (t) { + if ("object" != typeof t) throw new TypeError(t + "must be object"); + Object.keys(t).forEach(function(n) { + e[n] = t[n] + }) + } + }), e + }, t.isString = function(e) { + return "[object String]" === function(e) { + return Object.prototype.toString.call(e) + }(e) + }, t.has = o, t.unescapeMd = function(e) { + return e.indexOf("\\") < 0 ? e : e.replace(i, "$1") + }, t.isValidEntityCode = a, t.fromCodePoint = u, t.replaceEntities = function(e) { + return e.indexOf("&") < 0 ? e : e.replace(s, f) + }, t.escapeHtml = function(e) { + return p.test(e) ? e.replace(d, v) : e + } + }, function(e, t) { + e.exports = function(e) { + return "object" == typeof e ? null !== e : "function" == typeof e + } + }, function(e, t, n) { + var r = n(33), + o = n(60), + i = n(58), + a = n(73), + u = n(120), + s = function(e, t, n) { + var l, c, f, p, d = e & s.F, + h = e & s.G, + v = e & s.S, + m = e & s.P, + g = e & s.B, + y = h ? r : v ? r[t] || (r[t] = {}) : (r[t] || {}).prototype, + b = h ? o : o[t] || (o[t] = {}), + _ = b.prototype || (b.prototype = {}); + for (l in h && (n = t), n) f = ((c = !d && y && void 0 !== y[l]) ? y : n)[l], p = g && c ? u(f, r) : m && "function" == typeof f ? u(Function.call, f) : f, y && a(y, l, f, e & s.U), b[l] != f && i(b, l, p), m && _[l] != f && (_[l] = f) + }; + r.core = o, s.F = 1, s.G = 2, s.S = 4, s.P = 8, s.B = 16, s.W = 32, s.U = 64, s.R = 128, e.exports = s + }, function(e, t, n) { + var r = n(29), + o = n(101), + i = n(53), + a = /"/g, + u = function(e, t, n, r) { + var o = String(i(e)), + u = "<" + t; + return "" !== n && (u += " " + n + '="' + String(r).replace(a, """) + '"'), u + ">" + o + "" + }; + e.exports = function(e, t) { + var n = {}; + n[e] = t(u), r(r.P + r.F * o(function() { + var t = "" [e]('"'); + return t !== t.toLowerCase() || t.split('"').length > 3 + }), "String", n) + } + }, function(e, t) { + var n; + n = function() { + return this + }(); + try { + n = n || Function("return this")() || (0, eval)("this") + } catch (e) { + "object" == typeof window && (n = window) + } + e.exports = n + }, function(e, t, n) { + "use strict"; + var r, o = n(91), + i = (r = o) && r.__esModule ? r : { + default: r + }; + e.exports = function() { + var e = { + location: {}, + history: {}, + open: function() {}, + close: function() {}, + File: function() {} + }; + if ("undefined" == typeof window) return e; + try { + e = window; + var t = !0, + n = !1, + r = void 0; + try { + for (var o, a = (0, i.default)(["File", "Blob", "FormData"]); !(t = (o = a.next()).done); t = !0) { + var u = o.value; + u in window && (e[u] = window[u]) + } + } catch (e) { + n = !0, r = e + } finally { + try { + !t && a.return && a.return() + } finally { + if (n) throw r + } + } + } catch (e) { + console.error(e) + } + return e + }() + }, function(e, t) { + var n = e.exports = "undefined" != typeof window && window.Math == Math ? window : "undefined" != typeof self && self.Math == Math ? self : Function("return this")(); + "number" == typeof __g && (__g = n) + }, function(e, t, n) { + "use strict"; + + function r(e) { + return function() { + return e + } + } + var o = function() {}; + o.thatReturns = r, o.thatReturnsFalse = r(!1), o.thatReturnsTrue = r(!0), o.thatReturnsNull = r(null), o.thatReturnsThis = function() { + return this + }, o.thatReturnsArgument = function(e) { + return e + }, e.exports = o + }, function(e, t, n) { + "use strict"; + Object.defineProperty(t, "__esModule", { + value: !0 + }); + var r = i(n(25)); + t.isOAS3 = a, t.isSwagger2 = function(e) { + var t = e.get("swagger"); + if ("string" != typeof t) return !1; + return t.startsWith("2.0") + }, t.OAS3ComponentWrapFactory = function(e) { + return function(t, n) { + return function(i) { + if (n && n.specSelectors && n.specSelectors.specJson) { + var u = n.specSelectors.specJson(); + return a(u) ? o.default.createElement(e, (0, r.default)({}, i, n, { + Ori: t + })) : o.default.createElement(t, i) + } + return console.warn("OAS3 wrapper: couldn't get spec"), null + } + } + }; + var o = i(n(0)); + + function i(e) { + return e && e.__esModule ? e : { + default: e + } + } + + function a(e) { + var t = e.get("openapi"); + return "string" == typeof t && (t.startsWith("3.0.") && t.length > 4) + } + }, function(e, t, n) { + var r = n(28); + e.exports = function(e) { + if (!r(e)) throw TypeError(e + " is not an object!"); + return e + } + }, function(e, t, n) { + var r = n(278), + o = "object" == typeof self && self && self.Object === Object && self, + i = r || o || Function("return this")(); + e.exports = i + }, function(e, t) { + e.exports = function(e) { + var t = typeof e; + return null != e && ("object" == t || "function" == t) + } + }, function(e, t, n) { + "use strict"; + var r = null; + e.exports = { + debugTool: r + } + }, function(e, t, n) { + var r = n(36), + o = n(238), + i = n(157), + a = Object.defineProperty; + t.f = n(44) ? Object.defineProperty : function(e, t, n) { + if (r(e), t = i(t, !0), r(n), o) try { + return a(e, t, n) + } catch (e) {} + if ("get" in n || "set" in n) throw TypeError("Accessors not supported!"); + return "value" in n && (e[t] = n.value), e + } + }, function(e, t, n) { + e.exports = { + default: n(516), + __esModule: !0 + } + }, function(e, t, n) { + e.exports = { + default: n(517), + __esModule: !0 + } + }, function(e, t, n) { + "use strict"; + var r = n(11), + o = n(13), + i = n(354), + a = n(69), + u = n(355), + s = n(88), + l = n(147), + c = n(8), + f = [], + p = 0, + d = i.getPooled(), + h = !1, + v = null; + + function m() { + E.ReactReconcileTransaction && v || r("123") + } + var g = [{ + initialize: function() { + this.dirtyComponentsLength = f.length + }, + close: function() { + this.dirtyComponentsLength !== f.length ? (f.splice(0, this.dirtyComponentsLength), w()) : f.length = 0 + } + }, { + initialize: function() { + this.callbackQueue.reset() + }, + close: function() { + this.callbackQueue.notifyAll() + } + }]; + + function y() { + this.reinitializeTransaction(), this.dirtyComponentsLength = null, this.callbackQueue = i.getPooled(), this.reconcileTransaction = E.ReactReconcileTransaction.getPooled(!0) + } + + function b(e, t) { + return e._mountOrder - t._mountOrder + } + + function _(e) { + var t = e.dirtyComponentsLength; + t !== f.length && r("124", t, f.length), f.sort(b), p++; + for (var n = 0; n < t; n++) { + var o, i = f[n], + a = i._pendingCallbacks; + if (i._pendingCallbacks = null, u.logTopLevelRenders) { + var l = i; + i._currentElement.type.isReactTopLevelWrapper && (l = i._renderedComponent), o = "React update: " + l.getName(), console.time(o) + } + if (s.performUpdateIfNecessary(i, e.reconcileTransaction, p), o && console.timeEnd(o), a) + for (var c = 0; c < a.length; c++) e.callbackQueue.enqueue(a[c], i.getPublicInstance()) + } + } + o(y.prototype, l, { + getTransactionWrappers: function() { + return g + }, + destructor: function() { + this.dirtyComponentsLength = null, i.release(this.callbackQueue), this.callbackQueue = null, E.ReactReconcileTransaction.release(this.reconcileTransaction), this.reconcileTransaction = null + }, + perform: function(e, t, n) { + return l.perform.call(this, this.reconcileTransaction.perform, this.reconcileTransaction, e, t, n) + } + }), a.addPoolingTo(y); + var w = function() { + for (; f.length || h;) { + if (f.length) { + var e = y.getPooled(); + e.perform(_, null, e), y.release(e) + } + if (h) { + h = !1; + var t = d; + d = i.getPooled(), t.notifyAll(), i.release(t) + } + } + }; + var E = { + ReactReconcileTransaction: null, + batchedUpdates: function(e, t, n, r, o, i) { + return m(), v.batchedUpdates(e, t, n, r, o, i) + }, + enqueueUpdate: function e(t) { + m(), v.isBatchingUpdates ? (f.push(t), null == t._updateBatchNumber && (t._updateBatchNumber = p + 1)) : v.batchedUpdates(e, t) + }, + flushBatchedUpdates: w, + injection: { + injectReconcileTransaction: function(e) { + e || r("126"), E.ReactReconcileTransaction = e + }, + injectBatchingStrategy: function(e) { + e || r("127"), "function" != typeof e.batchedUpdates && r("128"), "boolean" != typeof e.isBatchingUpdates && r("129"), v = e + } + }, + asap: function(e, t) { + c(v.isBatchingUpdates, "ReactUpdates.asap: Can't enqueue an asap callback in a context whereupdates are not being batched."), d.enqueue(e, t), h = !0 + } + }; + e.exports = E + }, function(e, t, n) { + e.exports = !n(51)(function() { + return 7 != Object.defineProperty({}, "a", { + get: function() { + return 7 + } + }).a + }) + }, function(e, t, n) { + "use strict"; + t.__esModule = !0; + var r = a(n(519)), + o = a(n(521)), + i = "function" == typeof o.default && "symbol" == typeof r.default ? function(e) { + return typeof e + } : function(e) { + return e && "function" == typeof o.default && e.constructor === o.default && e !== o.default.prototype ? "symbol" : typeof e + }; + + function a(e) { + return e && e.__esModule ? e : { + default: e + } + } + t.default = "function" == typeof o.default && "symbol" === i(r.default) ? function(e) { + return void 0 === e ? "undefined" : i(e) + } : function(e) { + return e && "function" == typeof o.default && e.constructor === o.default && e !== o.default.prototype ? "symbol" : void 0 === e ? "undefined" : i(e) + } + }, function(e, t, n) { + "use strict"; + e.exports = { + current: null + } + }, function(e, t) { + e.exports = function(e) { + return null != e && "object" == typeof e + } + }, function(e, t, n) { + "use strict"; + var r = n(13), + o = n(69), + i = n(34), + a = (n(9), ["dispatchConfig", "_targetInst", "nativeEvent", "isDefaultPrevented", "isPropagationStopped", "_dispatchListeners", "_dispatchInstances"]), + u = { + type: null, + target: null, + currentTarget: i.thatReturnsNull, + eventPhase: null, + bubbles: null, + cancelable: null, + timeStamp: function(e) { + return e.timeStamp || Date.now() + }, + defaultPrevented: null, + isTrusted: null + }; + + function s(e, t, n, r) { + this.dispatchConfig = e, this._targetInst = t, this.nativeEvent = n; + var o = this.constructor.Interface; + for (var a in o) + if (o.hasOwnProperty(a)) { + 0; + var u = o[a]; + u ? this[a] = u(n) : "target" === a ? this.target = r : this[a] = n[a] + } + var s = null != n.defaultPrevented ? n.defaultPrevented : !1 === n.returnValue; + return this.isDefaultPrevented = s ? i.thatReturnsTrue : i.thatReturnsFalse, this.isPropagationStopped = i.thatReturnsFalse, this + } + r(s.prototype, { + preventDefault: function() { + this.defaultPrevented = !0; + var e = this.nativeEvent; + e && (e.preventDefault ? e.preventDefault() : "unknown" != typeof e.returnValue && (e.returnValue = !1), this.isDefaultPrevented = i.thatReturnsTrue) + }, + stopPropagation: function() { + var e = this.nativeEvent; + e && (e.stopPropagation ? e.stopPropagation() : "unknown" != typeof e.cancelBubble && (e.cancelBubble = !0), this.isPropagationStopped = i.thatReturnsTrue) + }, + persist: function() { + this.isPersistent = i.thatReturnsTrue + }, + isPersistent: i.thatReturnsFalse, + destructor: function() { + var e = this.constructor.Interface; + for (var t in e) this[t] = null; + for (var n = 0; n < a.length; n++) this[a[n]] = null + } + }), s.Interface = u, s.augmentClass = function(e, t) { + var n = function() {}; + n.prototype = this.prototype; + var i = new n; + r(i, e.prototype), e.prototype = i, e.prototype.constructor = e, e.Interface = r({}, this.Interface, t), e.augmentClass = this.augmentClass, o.addPoolingTo(e, o.fourArgumentPooler) + }, o.addPoolingTo(s, o.fourArgumentPooler), e.exports = s + }, function(e, t, n) { + var r = n(94); + e.exports = function(e, t, n) { + if (r(e), void 0 === t) return e; + switch (n) { + case 1: + return function(n) { + return e.call(t, n) + }; + case 2: + return function(n, r) { + return e.call(t, n, r) + }; + case 3: + return function(n, r, o) { + return e.call(t, n, r, o) + } + } + return function() { + return e.apply(t, arguments) + } + } + }, function(e, t, n) { + var r = n(40), + o = n(95); + e.exports = n(44) ? function(e, t, n) { + return r.f(e, t, o(1, n)) + } : function(e, t, n) { + return e[t] = n, e + } + }, function(e, t) { + e.exports = function(e) { + try { + return !!e() + } catch (e) { + return !0 + } + } + }, function(e, t) { + var n = {}.hasOwnProperty; + e.exports = function(e, t) { + return n.call(e, t) + } + }, function(e, t) { + e.exports = function(e) { + if (void 0 == e) throw TypeError("Can't call method on " + e); + return e + } + }, function(e, t, n) { + "use strict"; + (function(e) { + /*! + * The buffer module from node.js, for the browser. + * + * @author Feross Aboukhadijeh + * @license MIT + */ + var r = n(528), + o = n(529), + i = n(261); + + function a() { + return s.TYPED_ARRAY_SUPPORT ? 2147483647 : 1073741823 + } + + function u(e, t) { + if (a() < t) throw new RangeError("Invalid typed array length"); + return s.TYPED_ARRAY_SUPPORT ? (e = new Uint8Array(t)).__proto__ = s.prototype : (null === e && (e = new s(t)), e.length = t), e + } + + function s(e, t, n) { + if (!(s.TYPED_ARRAY_SUPPORT || this instanceof s)) return new s(e, t, n); + if ("number" == typeof e) { + if ("string" == typeof t) throw new Error("If encoding is specified then the first argument must be a string"); + return f(this, e) + } + return l(this, e, t, n) + } + + function l(e, t, n, r) { + if ("number" == typeof t) throw new TypeError('"value" argument must not be a number'); + return "undefined" != typeof ArrayBuffer && t instanceof ArrayBuffer ? function(e, t, n, r) { + if (t.byteLength, n < 0 || t.byteLength < n) throw new RangeError("'offset' is out of bounds"); + if (t.byteLength < n + (r || 0)) throw new RangeError("'length' is out of bounds"); + t = void 0 === n && void 0 === r ? new Uint8Array(t) : void 0 === r ? new Uint8Array(t, n) : new Uint8Array(t, n, r); + s.TYPED_ARRAY_SUPPORT ? (e = t).__proto__ = s.prototype : e = p(e, t); + return e + }(e, t, n, r) : "string" == typeof t ? function(e, t, n) { + "string" == typeof n && "" !== n || (n = "utf8"); + if (!s.isEncoding(n)) throw new TypeError('"encoding" must be a valid string encoding'); + var r = 0 | h(t, n), + o = (e = u(e, r)).write(t, n); + o !== r && (e = e.slice(0, o)); + return e + }(e, t, n) : function(e, t) { + if (s.isBuffer(t)) { + var n = 0 | d(t.length); + return 0 === (e = u(e, n)).length ? e : (t.copy(e, 0, 0, n), e) + } + if (t) { + if ("undefined" != typeof ArrayBuffer && t.buffer instanceof ArrayBuffer || "length" in t) return "number" != typeof t.length || (r = t.length) != r ? u(e, 0) : p(e, t); + if ("Buffer" === t.type && i(t.data)) return p(e, t.data) + } + var r; + throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.") + }(e, t) + } + + function c(e) { + if ("number" != typeof e) throw new TypeError('"size" argument must be a number'); + if (e < 0) throw new RangeError('"size" argument must not be negative') + } + + function f(e, t) { + if (c(t), e = u(e, t < 0 ? 0 : 0 | d(t)), !s.TYPED_ARRAY_SUPPORT) + for (var n = 0; n < t; ++n) e[n] = 0; + return e + } + + function p(e, t) { + var n = t.length < 0 ? 0 : 0 | d(t.length); + e = u(e, n); + for (var r = 0; r < n; r += 1) e[r] = 255 & t[r]; + return e + } + + function d(e) { + if (e >= a()) throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x" + a().toString(16) + " bytes"); + return 0 | e + } + + function h(e, t) { + if (s.isBuffer(e)) return e.length; + if ("undefined" != typeof ArrayBuffer && "function" == typeof ArrayBuffer.isView && (ArrayBuffer.isView(e) || e instanceof ArrayBuffer)) return e.byteLength; + "string" != typeof e && (e = "" + e); + var n = e.length; + if (0 === n) return 0; + for (var r = !1;;) switch (t) { + case "ascii": + case "latin1": + case "binary": + return n; + case "utf8": + case "utf-8": + case void 0: + return F(e).length; + case "ucs2": + case "ucs-2": + case "utf16le": + case "utf-16le": + return 2 * n; + case "hex": + return n >>> 1; + case "base64": + return z(e).length; + default: + if (r) return F(e).length; + t = ("" + t).toLowerCase(), r = !0 + } + } + + function v(e, t, n) { + var r = e[t]; + e[t] = e[n], e[n] = r + } + + function m(e, t, n, r, o) { + if (0 === e.length) return -1; + if ("string" == typeof n ? (r = n, n = 0) : n > 2147483647 ? n = 2147483647 : n < -2147483648 && (n = -2147483648), n = +n, isNaN(n) && (n = o ? 0 : e.length - 1), n < 0 && (n = e.length + n), n >= e.length) { + if (o) return -1; + n = e.length - 1 + } else if (n < 0) { + if (!o) return -1; + n = 0 + } + if ("string" == typeof t && (t = s.from(t, r)), s.isBuffer(t)) return 0 === t.length ? -1 : g(e, t, n, r, o); + if ("number" == typeof t) return t &= 255, s.TYPED_ARRAY_SUPPORT && "function" == typeof Uint8Array.prototype.indexOf ? o ? Uint8Array.prototype.indexOf.call(e, t, n) : Uint8Array.prototype.lastIndexOf.call(e, t, n) : g(e, [t], n, r, o); + throw new TypeError("val must be string, number or Buffer") + } + + function g(e, t, n, r, o) { + var i, a = 1, + u = e.length, + s = t.length; + if (void 0 !== r && ("ucs2" === (r = String(r).toLowerCase()) || "ucs-2" === r || "utf16le" === r || "utf-16le" === r)) { + if (e.length < 2 || t.length < 2) return -1; + a = 2, u /= 2, s /= 2, n /= 2 + } + + function l(e, t) { + return 1 === a ? e[t] : e.readUInt16BE(t * a) + } + if (o) { + var c = -1; + for (i = n; i < u; i++) + if (l(e, i) === l(t, -1 === c ? 0 : i - c)) { + if (-1 === c && (c = i), i - c + 1 === s) return c * a + } else -1 !== c && (i -= i - c), c = -1 + } else + for (n + s > u && (n = u - s), i = n; i >= 0; i--) { + for (var f = !0, p = 0; p < s; p++) + if (l(e, i + p) !== l(t, p)) { + f = !1; + break + } + if (f) return i + } + return -1 + } + + function y(e, t, n, r) { + n = Number(n) || 0; + var o = e.length - n; + r ? (r = Number(r)) > o && (r = o) : r = o; + var i = t.length; + if (i % 2 != 0) throw new TypeError("Invalid hex string"); + r > i / 2 && (r = i / 2); + for (var a = 0; a < r; ++a) { + var u = parseInt(t.substr(2 * a, 2), 16); + if (isNaN(u)) return a; + e[n + a] = u + } + return a + } + + function b(e, t, n, r) { + return B(F(t, e.length - n), e, n, r) + } + + function _(e, t, n, r) { + return B(function(e) { + for (var t = [], n = 0; n < e.length; ++n) t.push(255 & e.charCodeAt(n)); + return t + }(t), e, n, r) + } + + function w(e, t, n, r) { + return _(e, t, n, r) + } + + function E(e, t, n, r) { + return B(z(t), e, n, r) + } + + function x(e, t, n, r) { + return B(function(e, t) { + for (var n, r, o, i = [], a = 0; a < e.length && !((t -= 2) < 0); ++a) n = e.charCodeAt(a), r = n >> 8, o = n % 256, i.push(o), i.push(r); + return i + }(t, e.length - n), e, n, r) + } + + function S(e, t, n) { + return 0 === t && n === e.length ? r.fromByteArray(e) : r.fromByteArray(e.slice(t, n)) + } + + function C(e, t, n) { + n = Math.min(e.length, n); + for (var r = [], o = t; o < n;) { + var i, a, u, s, l = e[o], + c = null, + f = l > 239 ? 4 : l > 223 ? 3 : l > 191 ? 2 : 1; + if (o + f <= n) switch (f) { + case 1: + l < 128 && (c = l); + break; + case 2: + 128 == (192 & (i = e[o + 1])) && (s = (31 & l) << 6 | 63 & i) > 127 && (c = s); + break; + case 3: + i = e[o + 1], a = e[o + 2], 128 == (192 & i) && 128 == (192 & a) && (s = (15 & l) << 12 | (63 & i) << 6 | 63 & a) > 2047 && (s < 55296 || s > 57343) && (c = s); + break; + case 4: + i = e[o + 1], a = e[o + 2], u = e[o + 3], 128 == (192 & i) && 128 == (192 & a) && 128 == (192 & u) && (s = (15 & l) << 18 | (63 & i) << 12 | (63 & a) << 6 | 63 & u) > 65535 && s < 1114112 && (c = s) + } + null === c ? (c = 65533, f = 1) : c > 65535 && (c -= 65536, r.push(c >>> 10 & 1023 | 55296), c = 56320 | 1023 & c), r.push(c), o += f + } + return function(e) { + var t = e.length; + if (t <= k) return String.fromCharCode.apply(String, e); + var n = "", + r = 0; + for (; r < t;) n += String.fromCharCode.apply(String, e.slice(r, r += k)); + return n + }(r) + } + t.Buffer = s, t.SlowBuffer = function(e) { + +e != e && (e = 0); + return s.alloc(+e) + }, t.INSPECT_MAX_BYTES = 50, s.TYPED_ARRAY_SUPPORT = void 0 !== e.TYPED_ARRAY_SUPPORT ? e.TYPED_ARRAY_SUPPORT : function() { + try { + var e = new Uint8Array(1); + return e.__proto__ = { + __proto__: Uint8Array.prototype, + foo: function() { + return 42 + } + }, 42 === e.foo() && "function" == typeof e.subarray && 0 === e.subarray(1, 1).byteLength + } catch (e) { + return !1 + } + }(), t.kMaxLength = a(), s.poolSize = 8192, s._augment = function(e) { + return e.__proto__ = s.prototype, e + }, s.from = function(e, t, n) { + return l(null, e, t, n) + }, s.TYPED_ARRAY_SUPPORT && (s.prototype.__proto__ = Uint8Array.prototype, s.__proto__ = Uint8Array, "undefined" != typeof Symbol && Symbol.species && s[Symbol.species] === s && Object.defineProperty(s, Symbol.species, { + value: null, + configurable: !0 + })), s.alloc = function(e, t, n) { + return function(e, t, n, r) { + return c(t), t <= 0 ? u(e, t) : void 0 !== n ? "string" == typeof r ? u(e, t).fill(n, r) : u(e, t).fill(n) : u(e, t) + }(null, e, t, n) + }, s.allocUnsafe = function(e) { + return f(null, e) + }, s.allocUnsafeSlow = function(e) { + return f(null, e) + }, s.isBuffer = function(e) { + return !(null == e || !e._isBuffer) + }, s.compare = function(e, t) { + if (!s.isBuffer(e) || !s.isBuffer(t)) throw new TypeError("Arguments must be Buffers"); + if (e === t) return 0; + for (var n = e.length, r = t.length, o = 0, i = Math.min(n, r); o < i; ++o) + if (e[o] !== t[o]) { + n = e[o], r = t[o]; + break + } + return n < r ? -1 : r < n ? 1 : 0 + }, s.isEncoding = function(e) { + switch (String(e).toLowerCase()) { + case "hex": + case "utf8": + case "utf-8": + case "ascii": + case "latin1": + case "binary": + case "base64": + case "ucs2": + case "ucs-2": + case "utf16le": + case "utf-16le": + return !0; + default: + return !1 + } + }, s.concat = function(e, t) { + if (!i(e)) throw new TypeError('"list" argument must be an Array of Buffers'); + if (0 === e.length) return s.alloc(0); + var n; + if (void 0 === t) + for (t = 0, n = 0; n < e.length; ++n) t += e[n].length; + var r = s.allocUnsafe(t), + o = 0; + for (n = 0; n < e.length; ++n) { + var a = e[n]; + if (!s.isBuffer(a)) throw new TypeError('"list" argument must be an Array of Buffers'); + a.copy(r, o), o += a.length + } + return r + }, s.byteLength = h, s.prototype._isBuffer = !0, s.prototype.swap16 = function() { + var e = this.length; + if (e % 2 != 0) throw new RangeError("Buffer size must be a multiple of 16-bits"); + for (var t = 0; t < e; t += 2) v(this, t, t + 1); + return this + }, s.prototype.swap32 = function() { + var e = this.length; + if (e % 4 != 0) throw new RangeError("Buffer size must be a multiple of 32-bits"); + for (var t = 0; t < e; t += 4) v(this, t, t + 3), v(this, t + 1, t + 2); + return this + }, s.prototype.swap64 = function() { + var e = this.length; + if (e % 8 != 0) throw new RangeError("Buffer size must be a multiple of 64-bits"); + for (var t = 0; t < e; t += 8) v(this, t, t + 7), v(this, t + 1, t + 6), v(this, t + 2, t + 5), v(this, t + 3, t + 4); + return this + }, s.prototype.toString = function() { + var e = 0 | this.length; + return 0 === e ? "" : 0 === arguments.length ? C(this, 0, e) : function(e, t, n) { + var r = !1; + if ((void 0 === t || t < 0) && (t = 0), t > this.length) return ""; + if ((void 0 === n || n > this.length) && (n = this.length), n <= 0) return ""; + if ((n >>>= 0) <= (t >>>= 0)) return ""; + for (e || (e = "utf8");;) switch (e) { + case "hex": + return P(this, t, n); + case "utf8": + case "utf-8": + return C(this, t, n); + case "ascii": + return A(this, t, n); + case "latin1": + case "binary": + return O(this, t, n); + case "base64": + return S(this, t, n); + case "ucs2": + case "ucs-2": + case "utf16le": + case "utf-16le": + return T(this, t, n); + default: + if (r) throw new TypeError("Unknown encoding: " + e); + e = (e + "").toLowerCase(), r = !0 + } + }.apply(this, arguments) + }, s.prototype.equals = function(e) { + if (!s.isBuffer(e)) throw new TypeError("Argument must be a Buffer"); + return this === e || 0 === s.compare(this, e) + }, s.prototype.inspect = function() { + var e = "", + n = t.INSPECT_MAX_BYTES; + return this.length > 0 && (e = this.toString("hex", 0, n).match(/.{2}/g).join(" "), this.length > n && (e += " ... ")), "" + }, s.prototype.compare = function(e, t, n, r, o) { + if (!s.isBuffer(e)) throw new TypeError("Argument must be a Buffer"); + if (void 0 === t && (t = 0), void 0 === n && (n = e ? e.length : 0), void 0 === r && (r = 0), void 0 === o && (o = this.length), t < 0 || n > e.length || r < 0 || o > this.length) throw new RangeError("out of range index"); + if (r >= o && t >= n) return 0; + if (r >= o) return -1; + if (t >= n) return 1; + if (t >>>= 0, n >>>= 0, r >>>= 0, o >>>= 0, this === e) return 0; + for (var i = o - r, a = n - t, u = Math.min(i, a), l = this.slice(r, o), c = e.slice(t, n), f = 0; f < u; ++f) + if (l[f] !== c[f]) { + i = l[f], a = c[f]; + break + } + return i < a ? -1 : a < i ? 1 : 0 + }, s.prototype.includes = function(e, t, n) { + return -1 !== this.indexOf(e, t, n) + }, s.prototype.indexOf = function(e, t, n) { + return m(this, e, t, n, !0) + }, s.prototype.lastIndexOf = function(e, t, n) { + return m(this, e, t, n, !1) + }, s.prototype.write = function(e, t, n, r) { + if (void 0 === t) r = "utf8", n = this.length, t = 0; + else if (void 0 === n && "string" == typeof t) r = t, n = this.length, t = 0; + else { + if (!isFinite(t)) throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported"); + t |= 0, isFinite(n) ? (n |= 0, void 0 === r && (r = "utf8")) : (r = n, n = void 0) + } + var o = this.length - t; + if ((void 0 === n || n > o) && (n = o), e.length > 0 && (n < 0 || t < 0) || t > this.length) throw new RangeError("Attempt to write outside buffer bounds"); + r || (r = "utf8"); + for (var i = !1;;) switch (r) { + case "hex": + return y(this, e, t, n); + case "utf8": + case "utf-8": + return b(this, e, t, n); + case "ascii": + return _(this, e, t, n); + case "latin1": + case "binary": + return w(this, e, t, n); + case "base64": + return E(this, e, t, n); + case "ucs2": + case "ucs-2": + case "utf16le": + case "utf-16le": + return x(this, e, t, n); + default: + if (i) throw new TypeError("Unknown encoding: " + r); + r = ("" + r).toLowerCase(), i = !0 + } + }, s.prototype.toJSON = function() { + return { + type: "Buffer", + data: Array.prototype.slice.call(this._arr || this, 0) + } + }; + var k = 4096; + + function A(e, t, n) { + var r = ""; + n = Math.min(e.length, n); + for (var o = t; o < n; ++o) r += String.fromCharCode(127 & e[o]); + return r + } + + function O(e, t, n) { + var r = ""; + n = Math.min(e.length, n); + for (var o = t; o < n; ++o) r += String.fromCharCode(e[o]); + return r + } + + function P(e, t, n) { + var r = e.length; + (!t || t < 0) && (t = 0), (!n || n < 0 || n > r) && (n = r); + for (var o = "", i = t; i < n; ++i) o += q(e[i]); + return o + } + + function T(e, t, n) { + for (var r = e.slice(t, n), o = "", i = 0; i < r.length; i += 2) o += String.fromCharCode(r[i] + 256 * r[i + 1]); + return o + } + + function M(e, t, n) { + if (e % 1 != 0 || e < 0) throw new RangeError("offset is not uint"); + if (e + t > n) throw new RangeError("Trying to access beyond buffer length") + } + + function I(e, t, n, r, o, i) { + if (!s.isBuffer(e)) throw new TypeError('"buffer" argument must be a Buffer instance'); + if (t > o || t < i) throw new RangeError('"value" argument is out of bounds'); + if (n + r > e.length) throw new RangeError("Index out of range") + } + + function j(e, t, n, r) { + t < 0 && (t = 65535 + t + 1); + for (var o = 0, i = Math.min(e.length - n, 2); o < i; ++o) e[n + o] = (t & 255 << 8 * (r ? o : 1 - o)) >>> 8 * (r ? o : 1 - o) + } + + function N(e, t, n, r) { + t < 0 && (t = 4294967295 + t + 1); + for (var o = 0, i = Math.min(e.length - n, 4); o < i; ++o) e[n + o] = t >>> 8 * (r ? o : 3 - o) & 255 + } + + function R(e, t, n, r, o, i) { + if (n + r > e.length) throw new RangeError("Index out of range"); + if (n < 0) throw new RangeError("Index out of range") + } + + function D(e, t, n, r, i) { + return i || R(e, 0, n, 4), o.write(e, t, n, r, 23, 4), n + 4 + } + + function L(e, t, n, r, i) { + return i || R(e, 0, n, 8), o.write(e, t, n, r, 52, 8), n + 8 + } + s.prototype.slice = function(e, t) { + var n, r = this.length; + if (e = ~~e, t = void 0 === t ? r : ~~t, e < 0 ? (e += r) < 0 && (e = 0) : e > r && (e = r), t < 0 ? (t += r) < 0 && (t = 0) : t > r && (t = r), t < e && (t = e), s.TYPED_ARRAY_SUPPORT)(n = this.subarray(e, t)).__proto__ = s.prototype; + else { + var o = t - e; + n = new s(o, void 0); + for (var i = 0; i < o; ++i) n[i] = this[i + e] + } + return n + }, s.prototype.readUIntLE = function(e, t, n) { + e |= 0, t |= 0, n || M(e, t, this.length); + for (var r = this[e], o = 1, i = 0; ++i < t && (o *= 256);) r += this[e + i] * o; + return r + }, s.prototype.readUIntBE = function(e, t, n) { + e |= 0, t |= 0, n || M(e, t, this.length); + for (var r = this[e + --t], o = 1; t > 0 && (o *= 256);) r += this[e + --t] * o; + return r + }, s.prototype.readUInt8 = function(e, t) { + return t || M(e, 1, this.length), this[e] + }, s.prototype.readUInt16LE = function(e, t) { + return t || M(e, 2, this.length), this[e] | this[e + 1] << 8 + }, s.prototype.readUInt16BE = function(e, t) { + return t || M(e, 2, this.length), this[e] << 8 | this[e + 1] + }, s.prototype.readUInt32LE = function(e, t) { + return t || M(e, 4, this.length), (this[e] | this[e + 1] << 8 | this[e + 2] << 16) + 16777216 * this[e + 3] + }, s.prototype.readUInt32BE = function(e, t) { + return t || M(e, 4, this.length), 16777216 * this[e] + (this[e + 1] << 16 | this[e + 2] << 8 | this[e + 3]) + }, s.prototype.readIntLE = function(e, t, n) { + e |= 0, t |= 0, n || M(e, t, this.length); + for (var r = this[e], o = 1, i = 0; ++i < t && (o *= 256);) r += this[e + i] * o; + return r >= (o *= 128) && (r -= Math.pow(2, 8 * t)), r + }, s.prototype.readIntBE = function(e, t, n) { + e |= 0, t |= 0, n || M(e, t, this.length); + for (var r = t, o = 1, i = this[e + --r]; r > 0 && (o *= 256);) i += this[e + --r] * o; + return i >= (o *= 128) && (i -= Math.pow(2, 8 * t)), i + }, s.prototype.readInt8 = function(e, t) { + return t || M(e, 1, this.length), 128 & this[e] ? -1 * (255 - this[e] + 1) : this[e] + }, s.prototype.readInt16LE = function(e, t) { + t || M(e, 2, this.length); + var n = this[e] | this[e + 1] << 8; + return 32768 & n ? 4294901760 | n : n + }, s.prototype.readInt16BE = function(e, t) { + t || M(e, 2, this.length); + var n = this[e + 1] | this[e] << 8; + return 32768 & n ? 4294901760 | n : n + }, s.prototype.readInt32LE = function(e, t) { + return t || M(e, 4, this.length), this[e] | this[e + 1] << 8 | this[e + 2] << 16 | this[e + 3] << 24 + }, s.prototype.readInt32BE = function(e, t) { + return t || M(e, 4, this.length), this[e] << 24 | this[e + 1] << 16 | this[e + 2] << 8 | this[e + 3] + }, s.prototype.readFloatLE = function(e, t) { + return t || M(e, 4, this.length), o.read(this, e, !0, 23, 4) + }, s.prototype.readFloatBE = function(e, t) { + return t || M(e, 4, this.length), o.read(this, e, !1, 23, 4) + }, s.prototype.readDoubleLE = function(e, t) { + return t || M(e, 8, this.length), o.read(this, e, !0, 52, 8) + }, s.prototype.readDoubleBE = function(e, t) { + return t || M(e, 8, this.length), o.read(this, e, !1, 52, 8) + }, s.prototype.writeUIntLE = function(e, t, n, r) { + (e = +e, t |= 0, n |= 0, r) || I(this, e, t, n, Math.pow(2, 8 * n) - 1, 0); + var o = 1, + i = 0; + for (this[t] = 255 & e; ++i < n && (o *= 256);) this[t + i] = e / o & 255; + return t + n + }, s.prototype.writeUIntBE = function(e, t, n, r) { + (e = +e, t |= 0, n |= 0, r) || I(this, e, t, n, Math.pow(2, 8 * n) - 1, 0); + var o = n - 1, + i = 1; + for (this[t + o] = 255 & e; --o >= 0 && (i *= 256);) this[t + o] = e / i & 255; + return t + n + }, s.prototype.writeUInt8 = function(e, t, n) { + return e = +e, t |= 0, n || I(this, e, t, 1, 255, 0), s.TYPED_ARRAY_SUPPORT || (e = Math.floor(e)), this[t] = 255 & e, t + 1 + }, s.prototype.writeUInt16LE = function(e, t, n) { + return e = +e, t |= 0, n || I(this, e, t, 2, 65535, 0), s.TYPED_ARRAY_SUPPORT ? (this[t] = 255 & e, this[t + 1] = e >>> 8) : j(this, e, t, !0), t + 2 + }, s.prototype.writeUInt16BE = function(e, t, n) { + return e = +e, t |= 0, n || I(this, e, t, 2, 65535, 0), s.TYPED_ARRAY_SUPPORT ? (this[t] = e >>> 8, this[t + 1] = 255 & e) : j(this, e, t, !1), t + 2 + }, s.prototype.writeUInt32LE = function(e, t, n) { + return e = +e, t |= 0, n || I(this, e, t, 4, 4294967295, 0), s.TYPED_ARRAY_SUPPORT ? (this[t + 3] = e >>> 24, this[t + 2] = e >>> 16, this[t + 1] = e >>> 8, this[t] = 255 & e) : N(this, e, t, !0), t + 4 + }, s.prototype.writeUInt32BE = function(e, t, n) { + return e = +e, t |= 0, n || I(this, e, t, 4, 4294967295, 0), s.TYPED_ARRAY_SUPPORT ? (this[t] = e >>> 24, this[t + 1] = e >>> 16, this[t + 2] = e >>> 8, this[t + 3] = 255 & e) : N(this, e, t, !1), t + 4 + }, s.prototype.writeIntLE = function(e, t, n, r) { + if (e = +e, t |= 0, !r) { + var o = Math.pow(2, 8 * n - 1); + I(this, e, t, n, o - 1, -o) + } + var i = 0, + a = 1, + u = 0; + for (this[t] = 255 & e; ++i < n && (a *= 256);) e < 0 && 0 === u && 0 !== this[t + i - 1] && (u = 1), this[t + i] = (e / a >> 0) - u & 255; + return t + n + }, s.prototype.writeIntBE = function(e, t, n, r) { + if (e = +e, t |= 0, !r) { + var o = Math.pow(2, 8 * n - 1); + I(this, e, t, n, o - 1, -o) + } + var i = n - 1, + a = 1, + u = 0; + for (this[t + i] = 255 & e; --i >= 0 && (a *= 256);) e < 0 && 0 === u && 0 !== this[t + i + 1] && (u = 1), this[t + i] = (e / a >> 0) - u & 255; + return t + n + }, s.prototype.writeInt8 = function(e, t, n) { + return e = +e, t |= 0, n || I(this, e, t, 1, 127, -128), s.TYPED_ARRAY_SUPPORT || (e = Math.floor(e)), e < 0 && (e = 255 + e + 1), this[t] = 255 & e, t + 1 + }, s.prototype.writeInt16LE = function(e, t, n) { + return e = +e, t |= 0, n || I(this, e, t, 2, 32767, -32768), s.TYPED_ARRAY_SUPPORT ? (this[t] = 255 & e, this[t + 1] = e >>> 8) : j(this, e, t, !0), t + 2 + }, s.prototype.writeInt16BE = function(e, t, n) { + return e = +e, t |= 0, n || I(this, e, t, 2, 32767, -32768), s.TYPED_ARRAY_SUPPORT ? (this[t] = e >>> 8, this[t + 1] = 255 & e) : j(this, e, t, !1), t + 2 + }, s.prototype.writeInt32LE = function(e, t, n) { + return e = +e, t |= 0, n || I(this, e, t, 4, 2147483647, -2147483648), s.TYPED_ARRAY_SUPPORT ? (this[t] = 255 & e, this[t + 1] = e >>> 8, this[t + 2] = e >>> 16, this[t + 3] = e >>> 24) : N(this, e, t, !0), t + 4 + }, s.prototype.writeInt32BE = function(e, t, n) { + return e = +e, t |= 0, n || I(this, e, t, 4, 2147483647, -2147483648), e < 0 && (e = 4294967295 + e + 1), s.TYPED_ARRAY_SUPPORT ? (this[t] = e >>> 24, this[t + 1] = e >>> 16, this[t + 2] = e >>> 8, this[t + 3] = 255 & e) : N(this, e, t, !1), t + 4 + }, s.prototype.writeFloatLE = function(e, t, n) { + return D(this, e, t, !0, n) + }, s.prototype.writeFloatBE = function(e, t, n) { + return D(this, e, t, !1, n) + }, s.prototype.writeDoubleLE = function(e, t, n) { + return L(this, e, t, !0, n) + }, s.prototype.writeDoubleBE = function(e, t, n) { + return L(this, e, t, !1, n) + }, s.prototype.copy = function(e, t, n, r) { + if (n || (n = 0), r || 0 === r || (r = this.length), t >= e.length && (t = e.length), t || (t = 0), r > 0 && r < n && (r = n), r === n) return 0; + if (0 === e.length || 0 === this.length) return 0; + if (t < 0) throw new RangeError("targetStart out of bounds"); + if (n < 0 || n >= this.length) throw new RangeError("sourceStart out of bounds"); + if (r < 0) throw new RangeError("sourceEnd out of bounds"); + r > this.length && (r = this.length), e.length - t < r - n && (r = e.length - t + n); + var o, i = r - n; + if (this === e && n < t && t < r) + for (o = i - 1; o >= 0; --o) e[o + t] = this[o + n]; + else if (i < 1e3 || !s.TYPED_ARRAY_SUPPORT) + for (o = 0; o < i; ++o) e[o + t] = this[o + n]; + else Uint8Array.prototype.set.call(e, this.subarray(n, n + i), t); + return i + }, s.prototype.fill = function(e, t, n, r) { + if ("string" == typeof e) { + if ("string" == typeof t ? (r = t, t = 0, n = this.length) : "string" == typeof n && (r = n, n = this.length), 1 === e.length) { + var o = e.charCodeAt(0); + o < 256 && (e = o) + } + if (void 0 !== r && "string" != typeof r) throw new TypeError("encoding must be a string"); + if ("string" == typeof r && !s.isEncoding(r)) throw new TypeError("Unknown encoding: " + r) + } else "number" == typeof e && (e &= 255); + if (t < 0 || this.length < t || this.length < n) throw new RangeError("Out of range index"); + if (n <= t) return this; + var i; + if (t >>>= 0, n = void 0 === n ? this.length : n >>> 0, e || (e = 0), "number" == typeof e) + for (i = t; i < n; ++i) this[i] = e; + else { + var a = s.isBuffer(e) ? e : F(new s(e, r).toString()), + u = a.length; + for (i = 0; i < n - t; ++i) this[i + t] = a[i % u] + } + return this + }; + var U = /[^+\/0-9A-Za-z-_]/g; + + function q(e) { + return e < 16 ? "0" + e.toString(16) : e.toString(16) + } + + function F(e, t) { + var n; + t = t || 1 / 0; + for (var r = e.length, o = null, i = [], a = 0; a < r; ++a) { + if ((n = e.charCodeAt(a)) > 55295 && n < 57344) { + if (!o) { + if (n > 56319) { + (t -= 3) > -1 && i.push(239, 191, 189); + continue + } + if (a + 1 === r) { + (t -= 3) > -1 && i.push(239, 191, 189); + continue + } + o = n; + continue + } + if (n < 56320) { + (t -= 3) > -1 && i.push(239, 191, 189), o = n; + continue + } + n = 65536 + (o - 55296 << 10 | n - 56320) + } else o && (t -= 3) > -1 && i.push(239, 191, 189); + if (o = null, n < 128) { + if ((t -= 1) < 0) break; + i.push(n) + } else if (n < 2048) { + if ((t -= 2) < 0) break; + i.push(n >> 6 | 192, 63 & n | 128) + } else if (n < 65536) { + if ((t -= 3) < 0) break; + i.push(n >> 12 | 224, n >> 6 & 63 | 128, 63 & n | 128) + } else { + if (!(n < 1114112)) throw new Error("Invalid code point"); + if ((t -= 4) < 0) break; + i.push(n >> 18 | 240, n >> 12 & 63 | 128, n >> 6 & 63 | 128, 63 & n | 128) + } + } + return i + } + + function z(e) { + return r.toByteArray(function(e) { + if ((e = function(e) { + return e.trim ? e.trim() : e.replace(/^\s+|\s+$/g, "") + }(e).replace(U, "")).length < 2) return ""; + for (; e.length % 4 != 0;) e += "="; + return e + }(e)) + } + + function B(e, t, n, r) { + for (var o = 0; o < r && !(o + n >= t.length || o >= e.length); ++o) t[o + n] = e[o]; + return o + } + }).call(t, n(31)) + }, function(e, t) { + var n, r, o = e.exports = {}; + + function i() { + throw new Error("setTimeout has not been defined") + } + + function a() { + throw new Error("clearTimeout has not been defined") + } + + function u(e) { + if (n === setTimeout) return setTimeout(e, 0); + if ((n === i || !n) && setTimeout) return n = setTimeout, setTimeout(e, 0); + try { + return n(e, 0) + } catch (t) { + try { + return n.call(null, e, 0) + } catch (t) { + return n.call(this, e, 0) + } + } + }! function() { + try { + n = "function" == typeof setTimeout ? setTimeout : i + } catch (e) { + n = i + } + try { + r = "function" == typeof clearTimeout ? clearTimeout : a + } catch (e) { + r = a + } + }(); + var s, l = [], + c = !1, + f = -1; + + function p() { + c && s && (c = !1, s.length ? l = s.concat(l) : f = -1, l.length && d()) + } + + function d() { + if (!c) { + var e = u(p); + c = !0; + for (var t = l.length; t;) { + for (s = l, l = []; ++f < t;) s && s[f].run(); + f = -1, t = l.length + } + s = null, c = !1, + function(e) { + if (r === clearTimeout) return clearTimeout(e); + if ((r === a || !r) && clearTimeout) return r = clearTimeout, clearTimeout(e); + try { + r(e) + } catch (t) { + try { + return r.call(null, e) + } catch (t) { + return r.call(this, e) + } + } + }(e) + } + } + + function h(e, t) { + this.fun = e, this.array = t + } + + function v() {} + o.nextTick = function(e) { + var t = new Array(arguments.length - 1); + if (arguments.length > 1) + for (var n = 1; n < arguments.length; n++) t[n - 1] = arguments[n]; + l.push(new h(e, t)), 1 !== l.length || c || u(d) + }, h.prototype.run = function() { + this.fun.apply(null, this.array) + }, o.title = "browser", o.browser = !0, o.env = {}, o.argv = [], o.version = "", o.versions = {}, o.on = v, o.addListener = v, o.once = v, o.off = v, o.removeListener = v, o.removeAllListeners = v, o.emit = v, o.prependListener = v, o.prependOnceListener = v, o.listeners = function(e) { + return [] + }, o.binding = function(e) { + throw new Error("process.binding is not supported") + }, o.cwd = function() { + return "/" + }, o.chdir = function(e) { + throw new Error("process.chdir is not supported") + }, o.umask = function() { + return 0 + } + }, function(e, t, n) { + "use strict"; + e.exports = function(e) { + if ("function" != typeof e) throw new TypeError(e + " is not a function"); + return e + } + }, function(e, t, n) { + "use strict"; + + function r(e, t) { + return e === t + } + + function o(e) { + var t = arguments.length <= 1 || void 0 === arguments[1] ? r : arguments[1], + n = null, + o = null; + return function() { + for (var r = arguments.length, i = Array(r), a = 0; a < r; a++) i[a] = arguments[a]; + return null !== n && n.length === i.length && i.every(function(e, r) { + return t(e, n[r]) + }) || (o = e.apply(void 0, i)), n = i, o + } + } + + function i(e) { + for (var t = arguments.length, n = Array(t > 1 ? t - 1 : 0), r = 1; r < t; r++) n[r - 1] = arguments[r]; + return function() { + for (var t = arguments.length, r = Array(t), o = 0; o < t; o++) r[o] = arguments[o]; + var i = 0, + a = r.pop(), + u = function(e) { + var t = Array.isArray(e[0]) ? e[0] : e; + if (!t.every(function(e) { + return "function" == typeof e + })) { + var n = t.map(function(e) { + return typeof e + }).join(", "); + throw new Error("Selector creators expect all input-selectors to be functions, instead received the following types: [" + n + "]") + } + return t + }(r), + s = e.apply(void 0, [function() { + return i++, a.apply(void 0, arguments) + }].concat(n)), + l = function(e, t) { + for (var n = arguments.length, r = Array(n > 2 ? n - 2 : 0), o = 2; o < n; o++) r[o - 2] = arguments[o]; + var i = u.map(function(n) { + return n.apply(void 0, [e, t].concat(r)) + }); + return s.apply(void 0, function(e) { + if (Array.isArray(e)) { + for (var t = 0, n = Array(e.length); t < e.length; t++) n[t] = e[t]; + return n + } + return Array.from(e) + }(i)) + }; + return l.resultFunc = a, l.recomputations = function() { + return i + }, l.resetRecomputations = function() { + return i = 0 + }, l + } + } + t.__esModule = !0, t.defaultMemoize = o, t.createSelectorCreator = i, t.createStructuredSelector = function(e) { + var t = arguments.length <= 1 || void 0 === arguments[1] ? a : arguments[1]; + if ("object" != typeof e) throw new Error("createStructuredSelector expects first argument to be an object where each property is a selector, instead received a " + typeof e); + var n = Object.keys(e); + return t(n.map(function(t) { + return e[t] + }), function() { + for (var e = arguments.length, t = Array(e), r = 0; r < e; r++) t[r] = arguments[r]; + return t.reduce(function(e, t, r) { + return e[n[r]] = t, e + }, {}) + }) + }; + var a = t.createSelector = i(o) + }, function(e, t, n) { + var r = n(117), + o = n(243); + e.exports = n(100) ? function(e, t, n) { + return r.f(e, t, o(1, n)) + } : function(e, t, n) { + return e[t] = n, e + } + }, function(e, t, n) { + var r = n(74); + e.exports = function(e) { + if (!r(e)) throw TypeError(e + " is not an object!"); + return e + } + }, function(e, t) { + var n = e.exports = { + version: "2.5.5" + }; + "number" == typeof __e && (__e = n) + }, function(e, t, n) { + var r = n(277); + e.exports = function(e) { + return null == e ? "" : r(e) + } + }, function(e, t, n) { + var r = n(77), + o = n(574), + i = n(575), + a = "[object Null]", + u = "[object Undefined]", + s = r ? r.toStringTag : void 0; + e.exports = function(e) { + return null == e ? void 0 === e ? u : a : s && s in Object(e) ? o(e) : i(e) + } + }, function(e, t, n) { + var r = n(592), + o = n(595); + e.exports = function(e, t) { + var n = o(e, t); + return r(n) ? n : void 0 + } + }, function(e, t, n) { + var r = n(295), + o = n(632), + i = n(78); + e.exports = function(e) { + return i(e) ? r(e) : o(e) + } + }, function(e, t, n) { + "use strict"; + var r = n(140), + o = Object.keys || function(e) { + var t = []; + for (var n in e) t.push(n); + return t + }; + e.exports = f; + var i = n(106); + i.inherits = n(81); + var a = n(305), + u = n(195); + i.inherits(f, a); + for (var s = o(u.prototype), l = 0; l < s.length; l++) { + var c = s[l]; + f.prototype[c] || (f.prototype[c] = u.prototype[c]) + } + + function f(e) { + if (!(this instanceof f)) return new f(e); + a.call(this, e), u.call(this, e), e && !1 === e.readable && (this.readable = !1), e && !1 === e.writable && (this.writable = !1), this.allowHalfOpen = !0, e && !1 === e.allowHalfOpen && (this.allowHalfOpen = !1), this.once("end", p) + } + + function p() { + this.allowHalfOpen || this._writableState.ended || r.nextTick(d, this) + } + + function d(e) { + e.end() + } + Object.defineProperty(f.prototype, "writableHighWaterMark", { + enumerable: !1, + get: function() { + return this._writableState.highWaterMark + } + }), Object.defineProperty(f.prototype, "destroyed", { + get: function() { + return void 0 !== this._readableState && void 0 !== this._writableState && (this._readableState.destroyed && this._writableState.destroyed) + }, + set: function(e) { + void 0 !== this._readableState && void 0 !== this._writableState && (this._readableState.destroyed = e, this._writableState.destroyed = e) + } + }), f.prototype._destroy = function(e, t) { + this.push(null), this.end(), r.nextTick(t, e) + } + }, function(e, t, n) { + "use strict"; + var r = n(312)(); + e.exports = function(e) { + return e !== r && null !== e + } + }, function(e, t, n) { + "use strict"; + var r = n(670), + o = Math.max; + e.exports = function(e) { + return o(0, r(e)) + } + }, function(e, t, n) { + "use strict" + }, function(e, t, n) { + "use strict"; + var r = n(11), + o = (n(8), function(e) { + if (this.instancePool.length) { + var t = this.instancePool.pop(); + return this.call(t, e), t + } + return new this(e) + }), + i = function(e) { + e instanceof this || r("25"), e.destructor(), this.instancePool.length < this.poolSize && this.instancePool.push(e) + }, + a = o, + u = { + addPoolingTo: function(e, t) { + var n = e; + return n.instancePool = [], n.getPooled = t || a, n.poolSize || (n.poolSize = 10), n.release = i, n + }, + oneArgumentPooler: o, + twoArgumentPooler: function(e, t) { + if (this.instancePool.length) { + var n = this.instancePool.pop(); + return this.call(n, e, t), n + } + return new this(e, t) + }, + threeArgumentPooler: function(e, t, n) { + if (this.instancePool.length) { + var r = this.instancePool.pop(); + return this.call(r, e, t, n), r + } + return new this(e, t, n) + }, + fourArgumentPooler: function(e, t, n, r) { + if (this.instancePool.length) { + var o = this.instancePool.pop(); + return this.call(o, e, t, n, r), o + } + return new this(e, t, n, r) + } + }; + e.exports = u + }, function(e, t) { + e.exports = {} + }, function(e, t, n) { + var r = n(154), + o = n(155); + e.exports = function(e) { + return r(o(e)) + } + }, function(e, t, n) { + var r = n(155); + e.exports = function(e) { + return Object(r(e)) + } + }, function(e, t, n) { + var r = n(33), + o = n(58), + i = n(118), + a = n(167)("src"), + u = Function.toString, + s = ("" + u).split("toString"); + n(60).inspectSource = function(e) { + return u.call(e) + }, (e.exports = function(e, t, n, u) { + var l = "function" == typeof n; + l && (i(n, "name") || o(n, "name", t)), e[t] !== n && (l && (i(n, a) || o(n, a, e[t] ? "" + e[t] : s.join(String(t)))), e === r ? e[t] = n : u ? e[t] ? e[t] = n : o(e, t, n) : (delete e[t], o(e, t, n))) + })(Function.prototype, "toString", function() { + return "function" == typeof this && this[a] || u.call(this) + }) + }, function(e, t) { + e.exports = function(e) { + return "object" == typeof e ? null !== e : "function" == typeof e + } + }, function(e, t, n) { + "use strict"; + var r = n(13), + o = n(264), + i = n(536), + a = n(541), + u = n(76), + s = n(542), + l = n(545), + c = n(546), + f = n(548), + p = u.createElement, + d = u.createFactory, + h = u.cloneElement, + v = r, + m = function(e) { + return e + }, + g = { + Children: { + map: i.map, + forEach: i.forEach, + count: i.count, + toArray: i.toArray, + only: f + }, + Component: o.Component, + PureComponent: o.PureComponent, + createElement: p, + cloneElement: h, + isValidElement: u.isValidElement, + PropTypes: s, + createClass: c, + createFactory: d, + createMixin: m, + DOM: a, + version: l, + __spread: v + }; + e.exports = g + }, function(e, t, n) { + "use strict"; + var r = n(13), + o = n(46), + i = (n(9), n(266), Object.prototype.hasOwnProperty), + a = n(267), + u = { + key: !0, + ref: !0, + __self: !0, + __source: !0 + }; + + function s(e) { + return void 0 !== e.ref + } + + function l(e) { + return void 0 !== e.key + } + var c = function(e, t, n, r, o, i, u) { + var s = { + $$typeof: a, + type: e, + key: t, + ref: n, + props: u, + _owner: i + }; + return s + }; + c.createElement = function(e, t, n) { + var r, a = {}, + f = null, + p = null; + if (null != t) + for (r in s(t) && (p = t.ref), l(t) && (f = "" + t.key), void 0 === t.__self ? null : t.__self, void 0 === t.__source ? null : t.__source, t) i.call(t, r) && !u.hasOwnProperty(r) && (a[r] = t[r]); + var d = arguments.length - 2; + if (1 === d) a.children = n; + else if (d > 1) { + for (var h = Array(d), v = 0; v < d; v++) h[v] = arguments[v + 2]; + 0, a.children = h + } + if (e && e.defaultProps) { + var m = e.defaultProps; + for (r in m) void 0 === a[r] && (a[r] = m[r]) + } + return c(e, f, p, 0, 0, o.current, a) + }, c.createFactory = function(e) { + var t = c.createElement.bind(null, e); + return t.type = e, t + }, c.cloneAndReplaceKey = function(e, t) { + return c(e.type, t, e.ref, e._self, e._source, e._owner, e.props) + }, c.cloneElement = function(e, t, n) { + var a, f, p = r({}, e.props), + d = e.key, + h = e.ref, + v = (e._self, e._source, e._owner); + if (null != t) + for (a in s(t) && (h = t.ref, v = o.current), l(t) && (d = "" + t.key), e.type && e.type.defaultProps && (f = e.type.defaultProps), t) i.call(t, a) && !u.hasOwnProperty(a) && (void 0 === t[a] && void 0 !== f ? p[a] = f[a] : p[a] = t[a]); + var m = arguments.length - 2; + if (1 === m) p.children = n; + else if (m > 1) { + for (var g = Array(m), y = 0; y < m; y++) g[y] = arguments[y + 2]; + p.children = g + } + return c(e.type, d, h, 0, 0, v, p) + }, c.isValidElement = function(e) { + return "object" == typeof e && null !== e && e.$$typeof === a + }, e.exports = c + }, function(e, t, n) { + var r = n(37).Symbol; + e.exports = r + }, function(e, t, n) { + var r = n(285), + o = n(187); + e.exports = function(e) { + return null != e && o(e.length) && !r(e) + } + }, function(e, t, n) { + var r = n(24), + o = n(190), + i = n(640), + a = n(61); + e.exports = function(e, t) { + return r(e) ? e : o(e, t) ? [e] : i(a(e)) + } + }, function(e, t, n) { + var r = n(128), + o = 1 / 0; + e.exports = function(e) { + if ("string" == typeof e || r(e)) return e; + var t = e + ""; + return "0" == t && 1 / e == -o ? "-0" : t + } + }, function(e, t) { + "function" == typeof Object.create ? e.exports = function(e, t) { + e.super_ = t, e.prototype = Object.create(t.prototype, { + constructor: { + value: e, + enumerable: !1, + writable: !0, + configurable: !0 + } + }) + } : e.exports = function(e, t) { + e.super_ = t; + var n = function() {}; + n.prototype = t.prototype, e.prototype = new n, e.prototype.constructor = e + } + }, function(e, t, n) { + "use strict"; + var r = n(66); + e.exports = function(e) { + if (!r(e)) throw new TypeError("Cannot use null or undefined"); + return e + } + }, function(e, t, n) { + "use strict"; + t.__esModule = !0; + var r, o = n(728), + i = (r = o) && r.__esModule ? r : { + default: r + }; + t.default = function(e) { + if (Array.isArray(e)) { + for (var t = 0, n = Array(e.length); t < e.length; t++) n[t] = e[t]; + return n + } + return (0, i.default)(e) + } + }, function(e, t, n) { + "use strict"; + t.__esModule = !0, t.default = function(e, t) { + var n = {}; + for (var r in e) t.indexOf(r) >= 0 || Object.prototype.hasOwnProperty.call(e, r) && (n[r] = e[r]); + return n + } + }, function(e, t, n) { + "use strict"; + + function r(e) { + return void 0 === e || null === e + } + e.exports.isNothing = r, e.exports.isObject = function(e) { + return "object" == typeof e && null !== e + }, e.exports.toArray = function(e) { + return Array.isArray(e) ? e : r(e) ? [] : [e] + }, e.exports.repeat = function(e, t) { + var n, r = ""; + for (n = 0; n < t; n += 1) r += e; + return r + }, e.exports.isNegativeZero = function(e) { + return 0 === e && Number.NEGATIVE_INFINITY === 1 / e + }, e.exports.extend = function(e, t) { + var n, r, o, i; + if (t) + for (n = 0, r = (i = Object.keys(t)).length; n < r; n += 1) e[o = i[n]] = t[o]; + return e + } + }, function(e, t, n) { + "use strict"; + var r = n(85), + o = n(107), + i = n(16); + + function a(e, t, n) { + var r = []; + return e.include.forEach(function(e) { + n = a(e, t, n) + }), e[t].forEach(function(e) { + n.forEach(function(t, n) { + t.tag === e.tag && t.kind === e.kind && r.push(n) + }), n.push(e) + }), n.filter(function(e, t) { + return -1 === r.indexOf(t) + }) + } + + function u(e) { + this.include = e.include || [], this.implicit = e.implicit || [], this.explicit = e.explicit || [], this.implicit.forEach(function(e) { + if (e.loadKind && "scalar" !== e.loadKind) throw new o("There is a non-scalar type in the implicit list of a schema. Implicit resolving of such types is not supported.") + }), this.compiledImplicit = a(this, "implicit", []), this.compiledExplicit = a(this, "explicit", []), this.compiledTypeMap = function() { + var e, t, n = { + scalar: {}, + sequence: {}, + mapping: {}, + fallback: {} + }; + + function r(e) { + n[e.kind][e.tag] = n.fallback[e.tag] = e + } + for (e = 0, t = arguments.length; e < t; e += 1) arguments[e].forEach(r); + return n + }(this.compiledImplicit, this.compiledExplicit) + } + u.DEFAULT = null, u.create = function() { + var e, t; + switch (arguments.length) { + case 1: + e = u.DEFAULT, t = arguments[0]; + break; + case 2: + e = arguments[0], t = arguments[1]; + break; + default: + throw new o("Wrong number of arguments for Schema.create function") + } + if (e = r.toArray(e), t = r.toArray(t), !e.every(function(e) { + return e instanceof u + })) throw new o("Specified list of super schemas (or a single Schema object) contains a non-Schema object."); + if (!t.every(function(e) { + return e instanceof i + })) throw new o("Specified list of YAML types (or a single Type object) contains a non-Type object."); + return new u({ + include: e, + explicit: t + }) + }, e.exports = u + }, function(e, t, n) { + "use strict"; + var r = n(11); + n(8); + + function o(e, t) { + return (e & t) === t + } + var i = { + MUST_USE_PROPERTY: 1, + HAS_BOOLEAN_VALUE: 4, + HAS_NUMERIC_VALUE: 8, + HAS_POSITIVE_NUMERIC_VALUE: 24, + HAS_OVERLOADED_BOOLEAN_VALUE: 32, + injectDOMPropertyConfig: function(e) { + var t = i, + n = e.Properties || {}, + a = e.DOMAttributeNamespaces || {}, + s = e.DOMAttributeNames || {}, + l = e.DOMPropertyNames || {}, + c = e.DOMMutationMethods || {}; + for (var f in e.isCustomAttribute && u._isCustomAttributeFunctions.push(e.isCustomAttribute), n) { + u.properties.hasOwnProperty(f) && r("48", f); + var p = f.toLowerCase(), + d = n[f], + h = { + attributeName: p, + attributeNamespace: null, + propertyName: f, + mutationMethod: null, + mustUseProperty: o(d, t.MUST_USE_PROPERTY), + hasBooleanValue: o(d, t.HAS_BOOLEAN_VALUE), + hasNumericValue: o(d, t.HAS_NUMERIC_VALUE), + hasPositiveNumericValue: o(d, t.HAS_POSITIVE_NUMERIC_VALUE), + hasOverloadedBooleanValue: o(d, t.HAS_OVERLOADED_BOOLEAN_VALUE) + }; + if (h.hasBooleanValue + h.hasNumericValue + h.hasOverloadedBooleanValue <= 1 || r("50", f), s.hasOwnProperty(f)) { + var v = s[f]; + h.attributeName = v + } + a.hasOwnProperty(f) && (h.attributeNamespace = a[f]), l.hasOwnProperty(f) && (h.propertyName = l[f]), c.hasOwnProperty(f) && (h.mutationMethod = c[f]), u.properties[f] = h + } + } + }, + a = ":A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD", + u = { + ID_ATTRIBUTE_NAME: "data-reactid", + ROOT_ATTRIBUTE_NAME: "data-reactroot", + ATTRIBUTE_NAME_START_CHAR: a, + ATTRIBUTE_NAME_CHAR: a + "\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040", + properties: {}, + getPossibleStandardName: null, + _isCustomAttributeFunctions: [], + isCustomAttribute: function(e) { + for (var t = 0; t < u._isCustomAttributeFunctions.length; t++) { + if ((0, u._isCustomAttributeFunctions[t])(e)) return !0 + } + return !1 + }, + injection: i + }; + e.exports = u + }, function(e, t, n) { + "use strict"; + var r = n(783); + n(39), n(9); + + function o() { + r.attachRefs(this, this._currentElement) + } + var i = { + mountComponent: function(e, t, n, r, i, a) { + var u = e.mountComponent(t, n, r, i, a); + return e._currentElement && null != e._currentElement.ref && t.getReactMountReady().enqueue(o, e), u + }, + getHostNode: function(e) { + return e.getHostNode() + }, + unmountComponent: function(e, t) { + r.detachRefs(e, e._currentElement), e.unmountComponent(t) + }, + receiveComponent: function(e, t, n, i) { + var a = e._currentElement; + if (t !== a || i !== e._context) { + 0; + var u = r.shouldUpdateRefs(a, t); + u && r.detachRefs(e, a), e.receiveComponent(t, n, i), u && e._currentElement && null != e._currentElement.ref && n.getReactMountReady().enqueue(o, e) + } + }, + performUpdateIfNecessary: function(e, t, n) { + e._updateBatchNumber === n && e.performUpdateIfNecessary(t) + } + }; + e.exports = i + }, function(e, t, n) { + "use strict"; + var r = n(217), + o = n(149), + i = n(218), + a = n(359), + u = "undefined" != typeof document && "number" == typeof document.documentMode || "undefined" != typeof navigator && "string" == typeof navigator.userAgent && /\bEdge\/\d/.test(navigator.userAgent); + + function s(e) { + if (u) { + var t = e.node, + n = e.children; + if (n.length) + for (var r = 0; r < n.length; r++) l(t, n[r], null); + else null != e.html ? o(t, e.html) : null != e.text && a(t, e.text) + } + } + var l = i(function(e, t, n) { + 11 === t.node.nodeType || 1 === t.node.nodeType && "object" === t.node.nodeName.toLowerCase() && (null == t.node.namespaceURI || t.node.namespaceURI === r.html) ? (s(t), e.insertBefore(t.node, n)) : (e.insertBefore(t.node, n), s(t)) + }); + + function c() { + return this.node.nodeName + } + + function f(e) { + return { + node: e, + children: [], + html: null, + text: null, + toString: c + } + } + f.insertTreeBefore = l, f.replaceChildWithTree = function(e, t) { + e.parentNode.replaceChild(t.node, e), s(t) + }, f.queueChild = function(e, t) { + u ? e.children.push(t) : e.node.appendChild(t.node) + }, f.queueHTML = function(e, t) { + u ? e.html = t : o(e.node, t) + }, f.queueText = function(e, t) { + u ? e.text = t : a(e.node, t) + }, e.exports = f + }, function(e, t, n) { + var r = n(146), + o = n(344); + e.exports = function(e, t, n, i) { + var a = !n; + n || (n = {}); + for (var u = -1, s = t.length; ++u < s;) { + var l = t[u], + c = i ? i(n[l], e[l], l, n, e) : void 0; + void 0 === c && (c = e[l]), a ? o(n, l, c) : r(n, l, c) + } + return n + } + }, function(e, t, n) { + e.exports = { + default: n(447), + __esModule: !0 + } + }, function(e, t, n) { + n(448); + for (var r = n(21), o = n(50), i = n(70), a = n(19)("toStringTag"), u = "CSSRuleList,CSSStyleDeclaration,CSSValueList,ClientRectList,DOMRectList,DOMStringList,DOMTokenList,DataTransferItemList,FileList,HTMLAllCollection,HTMLCollection,HTMLFormElement,HTMLSelectElement,MediaList,MimeTypeArray,NamedNodeMap,NodeList,PaintRequestList,Plugin,PluginArray,SVGLengthList,SVGNumberList,SVGPathSegList,SVGPointList,SVGStringList,SVGTransformList,SourceBufferList,StyleSheetList,TextTrackCueList,TextTrackList,TouchList".split(","), s = 0; s < u.length; s++) { + var l = u[s], + c = r[l], + f = c && c.prototype; + f && !f[a] && o(f, a, l), i[l] = i.Array + } + }, function(e, t) { + var n = {}.toString; + e.exports = function(e) { + return n.call(e).slice(8, -1) + } + }, function(e, t) { + e.exports = function(e) { + if ("function" != typeof e) throw TypeError(e + " is not a function!"); + return e + } + }, function(e, t) { + e.exports = function(e, t) { + return { + enumerable: !(1 & e), + configurable: !(2 & e), + writable: !(4 & e), + value: t + } + } + }, function(e, t, n) { + var r = n(239), + o = n(163); + e.exports = Object.keys || function(e) { + return r(e, o) + } + }, function(e, t, n) { + var r = n(40).f, + o = n(52), + i = n(19)("toStringTag"); + e.exports = function(e, t, n) { + e && !o(e = n ? e : e.prototype, i) && r(e, i, { + configurable: !0, + value: t + }) + } + }, function(e, t, n) { + "use strict"; + var r = n(455)(!0); + n(237)(String, "String", function(e) { + this._t = String(e), this._i = 0 + }, function() { + var e, t = this._t, + n = this._i; + return n >= t.length ? { + value: void 0, + done: !0 + } : (e = r(t, n), this._i += e.length, { + value: e, + done: !1 + }) + }) + }, function(e, t) { + var n = {}.toString; + e.exports = function(e) { + return n.call(e).slice(8, -1) + } + }, function(e, t, n) { + e.exports = !n(101)(function() { + return 7 != Object.defineProperty({}, "a", { + get: function() { + return 7 + } + }).a + }) + }, function(e, t) { + e.exports = function(e) { + try { + return !!e() + } catch (e) { + return !0 + } + } + }, function(e, t) { + e.exports = {} + }, function(e, t, n) { + var r = n(119), + o = Math.min; + e.exports = function(e) { + return e > 0 ? o(r(e), 9007199254740991) : 0 + } + }, function(e, t, n) { + "use strict"; + e.exports = function(e) { + for (var t = arguments.length - 1, n = "Minified React error #" + e + "; visit http://facebook.github.io/react/docs/error-decoder.html?invariant=" + e, r = 0; r < t; r++) n += "&args[]=" + encodeURIComponent(arguments[r + 1]); + n += " for the full message or use the non-minified dev environment for full errors and additional helpful warnings."; + var o = new Error(n); + throw o.name = "Invariant Violation", o.framesToPop = 1, o + } + }, function(e, t) { + e.exports = function(e, t) { + return e === t || e != e && t != t + } + }, function(e, t, n) { + (function(e) { + function n(e) { + return Object.prototype.toString.call(e) + } + t.isArray = function(e) { + return Array.isArray ? Array.isArray(e) : "[object Array]" === n(e) + }, t.isBoolean = function(e) { + return "boolean" == typeof e + }, t.isNull = function(e) { + return null === e + }, t.isNullOrUndefined = function(e) { + return null == e + }, t.isNumber = function(e) { + return "number" == typeof e + }, t.isString = function(e) { + return "string" == typeof e + }, t.isSymbol = function(e) { + return "symbol" == typeof e + }, t.isUndefined = function(e) { + return void 0 === e + }, t.isRegExp = function(e) { + return "[object RegExp]" === n(e) + }, t.isObject = function(e) { + return "object" == typeof e && null !== e + }, t.isDate = function(e) { + return "[object Date]" === n(e) + }, t.isError = function(e) { + return "[object Error]" === n(e) || e instanceof Error + }, t.isFunction = function(e) { + return "function" == typeof e + }, t.isPrimitive = function(e) { + return null === e || "boolean" == typeof e || "number" == typeof e || "string" == typeof e || "symbol" == typeof e || void 0 === e + }, t.isBuffer = e.isBuffer + }).call(t, n(54).Buffer) + }, function(e, t, n) { + "use strict"; + + function r(e, t) { + Error.call(this), this.name = "YAMLException", this.reason = e, this.mark = t, this.message = (this.reason || "(unknown reason)") + (this.mark ? " " + this.mark.toString() : ""), Error.captureStackTrace ? Error.captureStackTrace(this, this.constructor) : this.stack = (new Error).stack || "" + } + r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r.prototype.toString = function(e) { + var t = this.name + ": "; + return t += this.reason || "(unknown reason)", !e && this.mark && (t += " " + this.mark.toString()), t + }, e.exports = r + }, function(e, t, n) { + "use strict"; + var r = n(86); + e.exports = new r({ + include: [n(340)], + implicit: [n(751), n(752)], + explicit: [n(753), n(754), n(755), n(756)] + }) + }, function(e, t, n) { + "use strict"; + var r = n(110), + o = n(211), + i = n(351), + a = n(352), + u = (n(9), r.getListener); + + function s(e, t, n) { + var r = function(e, t, n) { + var r = t.dispatchConfig.phasedRegistrationNames[n]; + return u(e, r) + }(e, n, t); + r && (n._dispatchListeners = i(n._dispatchListeners, r), n._dispatchInstances = i(n._dispatchInstances, e)) + } + + function l(e) { + e && e.dispatchConfig.phasedRegistrationNames && o.traverseTwoPhase(e._targetInst, s, e) + } + + function c(e) { + if (e && e.dispatchConfig.phasedRegistrationNames) { + var t = e._targetInst, + n = t ? o.getParentInstance(t) : null; + o.traverseTwoPhase(n, s, e) + } + } + + function f(e, t, n) { + if (n && n.dispatchConfig.registrationName) { + var r = n.dispatchConfig.registrationName, + o = u(e, r); + o && (n._dispatchListeners = i(n._dispatchListeners, o), n._dispatchInstances = i(n._dispatchInstances, e)) + } + } + + function p(e) { + e && e.dispatchConfig.registrationName && f(e._targetInst, 0, e) + } + var d = { + accumulateTwoPhaseDispatches: function(e) { + a(e, l) + }, + accumulateTwoPhaseDispatchesSkipTarget: function(e) { + a(e, c) + }, + accumulateDirectDispatches: function(e) { + a(e, p) + }, + accumulateEnterLeaveDispatches: function(e, t, n, r) { + o.traverseEnterLeave(n, r, f, e, t) + } + }; + e.exports = d + }, function(e, t, n) { + "use strict"; + var r = n(11), + o = n(210), + i = n(211), + a = n(212), + u = n(351), + s = n(352), + l = (n(8), {}), + c = null, + f = function(e, t) { + e && (i.executeDispatchesInOrder(e, t), e.isPersistent() || e.constructor.release(e)) + }, + p = function(e) { + return f(e, !0) + }, + d = function(e) { + return f(e, !1) + }, + h = function(e) { + return "." + e._rootNodeID + }; + var v = { + injection: { + injectEventPluginOrder: o.injectEventPluginOrder, + injectEventPluginsByName: o.injectEventPluginsByName + }, + putListener: function(e, t, n) { + "function" != typeof n && r("94", t, typeof n); + var i = h(e); + (l[t] || (l[t] = {}))[i] = n; + var a = o.registrationNameModules[t]; + a && a.didPutListener && a.didPutListener(e, t, n) + }, + getListener: function(e, t) { + var n = l[t]; + if (function(e, t, n) { + switch (e) { + case "onClick": + case "onClickCapture": + case "onDoubleClick": + case "onDoubleClickCapture": + case "onMouseDown": + case "onMouseDownCapture": + case "onMouseMove": + case "onMouseMoveCapture": + case "onMouseUp": + case "onMouseUpCapture": + return !(!n.disabled || (r = t, "button" !== r && "input" !== r && "select" !== r && "textarea" !== r)); + default: + return !1 + } + var r + }(t, e._currentElement.type, e._currentElement.props)) return null; + var r = h(e); + return n && n[r] + }, + deleteListener: function(e, t) { + var n = o.registrationNameModules[t]; + n && n.willDeleteListener && n.willDeleteListener(e, t); + var r = l[t]; + r && delete r[h(e)] + }, + deleteAllListeners: function(e) { + var t = h(e); + for (var n in l) + if (l.hasOwnProperty(n) && l[n][t]) { + var r = o.registrationNameModules[n]; + r && r.willDeleteListener && r.willDeleteListener(e, n), delete l[n][t] + } + }, + extractEvents: function(e, t, n, r) { + for (var i, a = o.plugins, s = 0; s < a.length; s++) { + var l = a[s]; + if (l) { + var c = l.extractEvents(e, t, n, r); + c && (i = u(i, c)) + } + } + return i + }, + enqueueEvents: function(e) { + e && (c = u(c, e)) + }, + processEventQueue: function(e) { + var t = c; + c = null, s(t, e ? p : d), c && r("95"), a.rethrowCaughtError() + }, + __purge: function() { + l = {} + }, + __getListenerBank: function() { + return l + } + }; + e.exports = v + }, function(e, t, n) { + "use strict"; + var r = n(48), + o = n(213), + i = { + view: function(e) { + if (e.view) return e.view; + var t = o(e); + if (t.window === t) return t; + var n = t.ownerDocument; + return n ? n.defaultView || n.parentWindow : window + }, + detail: function(e) { + return e.detail || 0 + } + }; + + function a(e, t, n, o) { + return r.call(this, e, t, n, o) + } + r.augmentClass(a, i), e.exports = a + }, function(e, t, n) { + "use strict"; + var r = { + remove: function(e) { + e._reactInternalInstance = void 0 + }, + get: function(e) { + return e._reactInternalInstance + }, + has: function(e) { + return void 0 !== e._reactInternalInstance + }, + set: function(e, t) { + e._reactInternalInstance = t + } + }; + e.exports = r + }, function(e, t, n) { + var r; + /*! + Copyright (c) 2016 Jed Watson. + Licensed under the MIT License (MIT), see + http://jedwatson.github.io/classnames + */ + /*! + Copyright (c) 2016 Jed Watson. + Licensed under the MIT License (MIT), see + http://jedwatson.github.io/classnames + */ + ! function() { + "use strict"; + var n = {}.hasOwnProperty; + + function o() { + for (var e = [], t = 0; t < arguments.length; t++) { + var r = arguments[t]; + if (r) { + var i = typeof r; + if ("string" === i || "number" === i) e.push(r); + else if (Array.isArray(r)) e.push(o.apply(null, r)); + else if ("object" === i) + for (var a in r) n.call(r, a) && r[a] && e.push(a) + } + } + return e.join(" ") + } + void 0 !== e && e.exports ? e.exports = o : void 0 === (r = function() { + return o + }.apply(t, [])) || (e.exports = r) + }() + }, function(e, t) { + e.exports = !0 + }, function(e, t, n) { + var r = n(160), + o = Math.min; + e.exports = function(e) { + return e > 0 ? o(r(e), 9007199254740991) : 0 + } + }, function(e, t) { + var n = 0, + r = Math.random(); + e.exports = function(e) { + return "Symbol(".concat(void 0 === e ? "" : e, ")_", (++n + r).toString(36)) + } + }, function(e, t, n) { + var r = n(59), + o = n(459), + i = n(460), + a = Object.defineProperty; + t.f = n(100) ? Object.defineProperty : function(e, t, n) { + if (r(e), t = i(t, !0), r(n), o) try { + return a(e, t, n) + } catch (e) {} + if ("get" in n || "set" in n) throw TypeError("Accessors not supported!"); + return "value" in n && (e[t] = n.value), e + } + }, function(e, t) { + var n = {}.hasOwnProperty; + e.exports = function(e, t) { + return n.call(e, t) + } + }, function(e, t) { + var n = Math.ceil, + r = Math.floor; + e.exports = function(e) { + return isNaN(e = +e) ? 0 : (e > 0 ? r : n)(e) + } + }, function(e, t, n) { + var r = n(121); + e.exports = function(e, t, n) { + if (r(e), void 0 === t) return e; + switch (n) { + case 1: + return function(n) { + return e.call(t, n) + }; + case 2: + return function(n, r) { + return e.call(t, n, r) + }; + case 3: + return function(n, r, o) { + return e.call(t, n, r, o) + } + } + return function() { + return e.apply(t, arguments) + } + } + }, function(e, t) { + e.exports = function(e) { + if ("function" != typeof e) throw TypeError(e + " is not a function!"); + return e + } + }, function(e, t, n) { + var r = n(465), + o = n(53); + e.exports = function(e) { + return r(o(e)) + } + }, function(e, t, n) { + "use strict"; + var r = n(58), + o = n(73), + i = n(101), + a = n(53), + u = n(17); + e.exports = function(e, t, n) { + var s = u(e), + l = n(a, s, "" [e]), + c = l[0], + f = l[1]; + i(function() { + var t = {}; + return t[s] = function() { + return 7 + }, 7 != "" [e](t) + }) && (o(String.prototype, e, c), r(RegExp.prototype, s, 2 == t ? function(e, t) { + return f.call(e, this, t) + } : function(e) { + return f.call(e, this) + })) + } + }, function(e, t, n) { + var r = n(116)("meta"), + o = n(28), + i = n(52), + a = n(40).f, + u = 0, + s = Object.isExtensible || function() { + return !0 + }, + l = !n(51)(function() { + return s(Object.preventExtensions({})) + }), + c = function(e) { + a(e, r, { + value: { + i: "O" + ++u, + w: {} + } + }) + }, + f = e.exports = { + KEY: r, + NEED: !1, + fastKey: function(e, t) { + if (!o(e)) return "symbol" == typeof e ? e : ("string" == typeof e ? "S" : "P") + e; + if (!i(e, r)) { + if (!s(e)) return "F"; + if (!t) return "E"; + c(e) + } + return e[r].i + }, + getWeak: function(e, t) { + if (!i(e, r)) { + if (!s(e)) return !0; + if (!t) return !1; + c(e) + } + return e[r].w + }, + onFreeze: function(e) { + return l && f.NEED && s(e) && !i(e, r) && c(e), e + } + } + }, function(e, t) { + t.f = {}.propertyIsEnumerable + }, function(e, t, n) { + "use strict"; + var r = {}; + e.exports = r + }, function(e, t, n) { + "use strict"; + Object.defineProperty(t, "__esModule", { + value: !0 + }), t.CLEAR_BY = t.CLEAR = t.NEW_AUTH_ERR = t.NEW_SPEC_ERR_BATCH = t.NEW_SPEC_ERR = t.NEW_THROWN_ERR_BATCH = t.NEW_THROWN_ERR = void 0, t.newThrownErr = function(e) { + return { + type: a, + payload: (0, i.default)(e) + } + }, t.newThrownErrBatch = function(e) { + return { + type: u, + payload: e + } + }, t.newSpecErr = function(e) { + return { + type: s, + payload: e + } + }, t.newSpecErrBatch = function(e) { + return { + type: l, + payload: e + } + }, t.newAuthErr = function(e) { + return { + type: c, + payload: e + } + }, t.clear = function() { + var e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : {}; + return { + type: f, + payload: e + } + }, t.clearBy = function() { + var e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : function() { + return !0 + }; + return { + type: p, + payload: e + } + }; + var r, o = n(179), + i = (r = o) && r.__esModule ? r : { + default: r + }; + var a = t.NEW_THROWN_ERR = "err_new_thrown_err", + u = t.NEW_THROWN_ERR_BATCH = "err_new_thrown_err_batch", + s = t.NEW_SPEC_ERR = "err_new_spec_err", + l = t.NEW_SPEC_ERR_BATCH = "err_new_spec_err_batch", + c = t.NEW_AUTH_ERR = "err_new_auth_err", + f = t.CLEAR = "err_clear", + p = t.CLEAR_BY = "err_clear_by" + }, function(e, t, n) { + var r = n(62), + o = n(47), + i = "[object Symbol]"; + e.exports = function(e) { + return "symbol" == typeof e || o(e) && r(e) == i + } + }, function(e, t, n) { + var r = n(63)(Object, "create"); + e.exports = r + }, function(e, t, n) { + var r = n(600), + o = n(601), + i = n(602), + a = n(603), + u = n(604); + + function s(e) { + var t = -1, + n = null == e ? 0 : e.length; + for (this.clear(); ++t < n;) { + var r = e[t]; + this.set(r[0], r[1]) + } + } + s.prototype.clear = r, s.prototype.delete = o, s.prototype.get = i, s.prototype.has = a, s.prototype.set = u, e.exports = s + }, function(e, t, n) { + var r = n(105); + e.exports = function(e, t) { + for (var n = e.length; n--;) + if (r(e[n][0], t)) return n; + return -1 + } + }, function(e, t, n) { + var r = n(606); + e.exports = function(e, t) { + var n = e.__data__; + return r(t) ? n["string" == typeof t ? "string" : "hash"] : n.map + } + }, function(e, t, n) { + var r = n(611), + o = n(639), + i = n(191), + a = n(24), + u = n(644); + e.exports = function(e) { + return "function" == typeof e ? e : null == e ? i : "object" == typeof e ? a(e) ? o(e[0], e[1]) : r(e) : u(e) + } + }, function(e, t) { + e.exports = function(e) { + return e.webpackPolyfill || (e.deprecate = function() {}, e.paths = [], e.children || (e.children = []), Object.defineProperty(e, "loaded", { + enumerable: !0, + get: function() { + return e.l + } + }), Object.defineProperty(e, "id", { + enumerable: !0, + get: function() { + return e.i + } + }), e.webpackPolyfill = 1), e + } + }, function(e, t) { + var n = 9007199254740991, + r = /^(?:0|[1-9]\d*)$/; + e.exports = function(e, t) { + var o = typeof e; + return !!(t = null == t ? n : t) && ("number" == o || "symbol" != o && r.test(e)) && e > -1 && e % 1 == 0 && e < t + } + }, function(e, t) { + var n = Object.prototype; + e.exports = function(e) { + var t = e && e.constructor; + return e === ("function" == typeof t && t.prototype || n) + } + }, function(e, t, n) { + var r = n(634), + o = n(181), + i = n(635), + a = n(636), + u = n(637), + s = n(62), + l = n(286), + c = l(r), + f = l(o), + p = l(i), + d = l(a), + h = l(u), + v = s; + (r && "[object DataView]" != v(new r(new ArrayBuffer(1))) || o && "[object Map]" != v(new o) || i && "[object Promise]" != v(i.resolve()) || a && "[object Set]" != v(new a) || u && "[object WeakMap]" != v(new u)) && (v = function(e) { + var t = s(e), + n = "[object Object]" == t ? e.constructor : void 0, + r = n ? l(n) : ""; + if (r) switch (r) { + case c: + return "[object DataView]"; + case f: + return "[object Map]"; + case p: + return "[object Promise]"; + case d: + return "[object Set]"; + case h: + return "[object WeakMap]" + } + return t + }), e.exports = v + }, function(e, t, n) { + var r = n(139); + e.exports = function(e, t, n) { + var o = null == e ? void 0 : r(e, t); + return void 0 === o ? n : o + } + }, function(e, t, n) { + var r = n(79), + o = n(80); + e.exports = function(e, t) { + for (var n = 0, i = (t = r(t, e)).length; null != e && n < i;) e = e[o(t[n++])]; + return n && n == i ? e : void 0 + } + }, function(e, t, n) { + "use strict"; + (function(t) { + !t.version || 0 === t.version.indexOf("v0.") || 0 === t.version.indexOf("v1.") && 0 !== t.version.indexOf("v1.8.") ? e.exports = { + nextTick: function(e, n, r, o) { + if ("function" != typeof e) throw new TypeError('"callback" argument must be a function'); + var i, a, u = arguments.length; + switch (u) { + case 0: + case 1: + return t.nextTick(e); + case 2: + return t.nextTick(function() { + e.call(null, n) + }); + case 3: + return t.nextTick(function() { + e.call(null, n, r) + }); + case 4: + return t.nextTick(function() { + e.call(null, n, r, o) + }); + default: + for (i = new Array(u - 1), a = 0; a < i.length;) i[a++] = arguments[a]; + return t.nextTick(function() { + e.apply(null, i) + }) + } + } + } : e.exports = t + }).call(t, n(55)) + }, function(e, t, n) { + var r = n(54), + o = r.Buffer; + + function i(e, t) { + for (var n in e) t[n] = e[n] + } + + function a(e, t, n) { + return o(e, t, n) + } + o.from && o.alloc && o.allocUnsafe && o.allocUnsafeSlow ? e.exports = r : (i(r, t), t.Buffer = a), i(o, a), a.from = function(e, t, n) { + if ("number" == typeof e) throw new TypeError("Argument must not be a number"); + return o(e, t, n) + }, a.alloc = function(e, t, n) { + if ("number" != typeof e) throw new TypeError("Argument must be a number"); + var r = o(e); + return void 0 !== t ? "string" == typeof n ? r.fill(t, n) : r.fill(t) : r.fill(0), r + }, a.allocUnsafe = function(e) { + if ("number" != typeof e) throw new TypeError("Argument must be a number"); + return o(e) + }, a.allocUnsafeSlow = function(e) { + if ("number" != typeof e) throw new TypeError("Argument must be a number"); + return r.SlowBuffer(e) + } + }, function(e, t, n) { + "use strict"; + e.exports = n(675)("forEach") + }, function(e, t, n) { + "use strict"; + var r = n(314), + o = n(311), + i = n(196), + a = n(684); + (e.exports = function(e, t) { + var n, i, u, s, l; + return arguments.length < 2 || "string" != typeof e ? (s = t, t = e, e = null) : s = arguments[2], null == e ? (n = u = !0, i = !1) : (n = a.call(e, "c"), i = a.call(e, "e"), u = a.call(e, "w")), l = { + value: t, + configurable: n, + enumerable: i, + writable: u + }, s ? r(o(s), l) : l + }).gs = function(e, t, n) { + var u, s, l, c; + return "string" != typeof e ? (l = n, n = t, t = e, e = null) : l = arguments[3], null == t ? t = void 0 : i(t) ? null == n ? n = void 0 : i(n) || (l = n, n = void 0) : (l = t, t = n = void 0), null == e ? (u = !0, s = !1) : (u = a.call(e, "c"), s = a.call(e, "e")), c = { + get: t, + set: n, + configurable: u, + enumerable: s + }, l ? r(o(l), c) : c + } + }, function(e, t, n) { + var r = n(49), + o = n(329), + i = n(330), + a = n(36), + u = n(115), + s = n(164), + l = {}, + c = {}; + (t = e.exports = function(e, t, n, f, p) { + var d, h, v, m, g = p ? function() { + return e + } : s(e), + y = r(n, f, t ? 2 : 1), + b = 0; + if ("function" != typeof g) throw TypeError(e + " is not iterable!"); + if (i(g)) { + for (d = u(e.length); d > b; b++) + if ((m = t ? y(a(h = e[b])[0], h[1]) : y(e[b])) === l || m === c) return m + } else + for (v = g.call(e); !(h = v.next()).done;) + if ((m = o(v, y, h.value, t)) === l || m === c) return m + }).BREAK = l, t.RETURN = c + }, function(e, t, n) { + "use strict"; + var r = n(86); + e.exports = r.DEFAULT = new r({ + include: [n(108)], + explicit: [n(757), n(758), n(759)] + }) + }, function(e, t, n) { + var r = n(344), + o = n(105), + i = Object.prototype.hasOwnProperty; + e.exports = function(e, t, n) { + var a = e[t]; + i.call(e, t) && o(a, n) && (void 0 !== n || t in e) || r(e, t, n) + } + }, function(e, t, n) { + "use strict"; + var r = n(11), + o = (n(8), {}), + i = { + reinitializeTransaction: function() { + this.transactionWrappers = this.getTransactionWrappers(), this.wrapperInitData ? this.wrapperInitData.length = 0 : this.wrapperInitData = [], this._isInTransaction = !1 + }, + _isInTransaction: !1, + getTransactionWrappers: null, + isInTransaction: function() { + return !!this._isInTransaction + }, + perform: function(e, t, n, o, i, a, u, s) { + var l, c; + this.isInTransaction() && r("27"); + try { + this._isInTransaction = !0, l = !0, this.initializeAll(0), c = e.call(t, n, o, i, a, u, s), l = !1 + } finally { + try { + if (l) try { + this.closeAll(0) + } catch (e) {} else this.closeAll(0) + } finally { + this._isInTransaction = !1 + } + } + return c + }, + initializeAll: function(e) { + for (var t = this.transactionWrappers, n = e; n < t.length; n++) { + var r = t[n]; + try { + this.wrapperInitData[n] = o, this.wrapperInitData[n] = r.initialize ? r.initialize.call(this) : null + } finally { + if (this.wrapperInitData[n] === o) try { + this.initializeAll(n + 1) + } catch (e) {} + } + } + }, + closeAll: function(e) { + this.isInTransaction() || r("28"); + for (var t = this.transactionWrappers, n = e; n < t.length; n++) { + var i, a = t[n], + u = this.wrapperInitData[n]; + try { + i = !0, u !== o && a.close && a.close.call(this, u), i = !1 + } finally { + if (i) try { + this.closeAll(n + 1) + } catch (e) {} + } + } + this.wrapperInitData.length = 0 + } + }; + e.exports = i + }, function(e, t, n) { + "use strict"; + var r = n(111), + o = n(358), + i = { + screenX: null, + screenY: null, + clientX: null, + clientY: null, + ctrlKey: null, + shiftKey: null, + altKey: null, + metaKey: null, + getModifierState: n(215), + button: function(e) { + var t = e.button; + return "which" in e ? t : 2 === t ? 2 : 4 === t ? 1 : 0 + }, + buttons: null, + relatedTarget: function(e) { + return e.relatedTarget || (e.fromElement === e.srcElement ? e.toElement : e.fromElement) + }, + pageX: function(e) { + return "pageX" in e ? e.pageX : e.clientX + o.currentScrollLeft + }, + pageY: function(e) { + return "pageY" in e ? e.pageY : e.clientY + o.currentScrollTop + } + }; + + function a(e, t, n, o) { + return r.call(this, e, t, n, o) + } + r.augmentClass(a, i), e.exports = a + }, function(e, t, n) { + "use strict"; + var r, o = n(26), + i = n(217), + a = /^[ \r\n\t\f]/, + u = /<(!--|link|noscript|meta|script|style)[ \r\n\t\f\/>]/, + s = n(218)(function(e, t) { + if (e.namespaceURI !== i.svg || "innerHTML" in e) e.innerHTML = t; + else { + (r = r || document.createElement("div")).innerHTML = "" + t + ""; + for (var n = r.firstChild; n.firstChild;) e.appendChild(n.firstChild) + } + }); + if (o.canUseDOM) { + var l = document.createElement("div"); + l.innerHTML = " ", "" === l.innerHTML && (s = function(e, t) { + if (e.parentNode && e.parentNode.replaceChild(e, e), a.test(t) || "<" === t[0] && u.test(t)) { + e.innerHTML = String.fromCharCode(65279) + t; + var n = e.firstChild; + 1 === n.data.length ? e.removeChild(n) : n.deleteData(0, 1) + } else e.innerHTML = t + }), l = null + } + e.exports = s + }, function(e, t, n) { + "use strict"; + var r = /["'&<>]/; + e.exports = function(e) { + return "boolean" == typeof e || "number" == typeof e ? "" + e : function(e) { + var t, n = "" + e, + o = r.exec(n); + if (!o) return n; + var i = "", + a = 0, + u = 0; + for (a = o.index; a < n.length; a++) { + switch (n.charCodeAt(a)) { + case 34: + t = """; + break; + case 38: + t = "&"; + break; + case 39: + t = "'"; + break; + case 60: + t = "<"; + break; + case 62: + t = ">"; + break; + default: + continue + } + u !== a && (i += n.substring(u, a)), u = a + 1, i += t + } + return u !== a ? i + n.substring(u, a) : i + }(e) + } + }, function(e, t, n) { + "use strict"; + var r, o = n(13), + i = n(210), + a = n(804), + u = n(358), + s = n(805), + l = n(214), + c = {}, + f = !1, + p = 0, + d = { + topAbort: "abort", + topAnimationEnd: s("animationend") || "animationend", + topAnimationIteration: s("animationiteration") || "animationiteration", + topAnimationStart: s("animationstart") || "animationstart", + topBlur: "blur", + topCanPlay: "canplay", + topCanPlayThrough: "canplaythrough", + topChange: "change", + topClick: "click", + topCompositionEnd: "compositionend", + topCompositionStart: "compositionstart", + topCompositionUpdate: "compositionupdate", + topContextMenu: "contextmenu", + topCopy: "copy", + topCut: "cut", + topDoubleClick: "dblclick", + topDrag: "drag", + topDragEnd: "dragend", + topDragEnter: "dragenter", + topDragExit: "dragexit", + topDragLeave: "dragleave", + topDragOver: "dragover", + topDragStart: "dragstart", + topDrop: "drop", + topDurationChange: "durationchange", + topEmptied: "emptied", + topEncrypted: "encrypted", + topEnded: "ended", + topError: "error", + topFocus: "focus", + topInput: "input", + topKeyDown: "keydown", + topKeyPress: "keypress", + topKeyUp: "keyup", + topLoadedData: "loadeddata", + topLoadedMetadata: "loadedmetadata", + topLoadStart: "loadstart", + topMouseDown: "mousedown", + topMouseMove: "mousemove", + topMouseOut: "mouseout", + topMouseOver: "mouseover", + topMouseUp: "mouseup", + topPaste: "paste", + topPause: "pause", + topPlay: "play", + topPlaying: "playing", + topProgress: "progress", + topRateChange: "ratechange", + topScroll: "scroll", + topSeeked: "seeked", + topSeeking: "seeking", + topSelectionChange: "selectionchange", + topStalled: "stalled", + topSuspend: "suspend", + topTextInput: "textInput", + topTimeUpdate: "timeupdate", + topTouchCancel: "touchcancel", + topTouchEnd: "touchend", + topTouchMove: "touchmove", + topTouchStart: "touchstart", + topTransitionEnd: s("transitionend") || "transitionend", + topVolumeChange: "volumechange", + topWaiting: "waiting", + topWheel: "wheel" + }, + h = "_reactListenersID" + String(Math.random()).slice(2); + var v = o({}, a, { + ReactEventListener: null, + injection: { + injectReactEventListener: function(e) { + e.setHandleTopLevel(v.handleTopLevel), v.ReactEventListener = e + } + }, + setEnabled: function(e) { + v.ReactEventListener && v.ReactEventListener.setEnabled(e) + }, + isEnabled: function() { + return !(!v.ReactEventListener || !v.ReactEventListener.isEnabled()) + }, + listenTo: function(e, t) { + for (var n = t, r = function(e) { + return Object.prototype.hasOwnProperty.call(e, h) || (e[h] = p++, c[e[h]] = {}), c[e[h]] + }(n), o = i.registrationNameDependencies[e], a = 0; a < o.length; a++) { + var u = o[a]; + r.hasOwnProperty(u) && r[u] || ("topWheel" === u ? l("wheel") ? v.ReactEventListener.trapBubbledEvent("topWheel", "wheel", n) : l("mousewheel") ? v.ReactEventListener.trapBubbledEvent("topWheel", "mousewheel", n) : v.ReactEventListener.trapBubbledEvent("topWheel", "DOMMouseScroll", n) : "topScroll" === u ? l("scroll", !0) ? v.ReactEventListener.trapCapturedEvent("topScroll", "scroll", n) : v.ReactEventListener.trapBubbledEvent("topScroll", "scroll", v.ReactEventListener.WINDOW_HANDLE) : "topFocus" === u || "topBlur" === u ? (l("focus", !0) ? (v.ReactEventListener.trapCapturedEvent("topFocus", "focus", n), v.ReactEventListener.trapCapturedEvent("topBlur", "blur", n)) : l("focusin") && (v.ReactEventListener.trapBubbledEvent("topFocus", "focusin", n), v.ReactEventListener.trapBubbledEvent("topBlur", "focusout", n)), r.topBlur = !0, r.topFocus = !0) : d.hasOwnProperty(u) && v.ReactEventListener.trapBubbledEvent(u, d[u], n), r[u] = !0) + } + }, + trapBubbledEvent: function(e, t, n) { + return v.ReactEventListener.trapBubbledEvent(e, t, n) + }, + trapCapturedEvent: function(e, t, n) { + return v.ReactEventListener.trapCapturedEvent(e, t, n) + }, + supportsEventPageXY: function() { + if (!document.createEvent) return !1; + var e = document.createEvent("MouseEvent"); + return null != e && "pageX" in e + }, + ensureScrollValueMonitoring: function() { + if (void 0 === r && (r = v.supportsEventPageXY()), !r && !f) { + var e = u.refreshScrollValues; + v.ReactEventListener.monitorScrollValue(e), f = !0 + } + } + }); + e.exports = v + }, function(e, t, n) { + "use strict"; + + function r() { + this.__rules__ = [], this.__cache__ = null + } + r.prototype.__find__ = function(e) { + for (var t = this.__rules__.length, n = -1; t--;) + if (this.__rules__[++n].name === e) return n; + return -1 + }, r.prototype.__compile__ = function() { + var e = this, + t = [""]; + e.__rules__.forEach(function(e) { + e.enabled && e.alt.forEach(function(e) { + t.indexOf(e) < 0 && t.push(e) + }) + }), e.__cache__ = {}, t.forEach(function(t) { + e.__cache__[t] = [], e.__rules__.forEach(function(n) { + n.enabled && (t && n.alt.indexOf(t) < 0 || e.__cache__[t].push(n.fn)) + }) + }) + }, r.prototype.at = function(e, t, n) { + var r = this.__find__(e), + o = n || {}; + if (-1 === r) throw new Error("Parser rule not found: " + e); + this.__rules__[r].fn = t, this.__rules__[r].alt = o.alt || [], this.__cache__ = null + }, r.prototype.before = function(e, t, n, r) { + var o = this.__find__(e), + i = r || {}; + if (-1 === o) throw new Error("Parser rule not found: " + e); + this.__rules__.splice(o, 0, { + name: t, + enabled: !0, + fn: n, + alt: i.alt || [] + }), this.__cache__ = null + }, r.prototype.after = function(e, t, n, r) { + var o = this.__find__(e), + i = r || {}; + if (-1 === o) throw new Error("Parser rule not found: " + e); + this.__rules__.splice(o + 1, 0, { + name: t, + enabled: !0, + fn: n, + alt: i.alt || [] + }), this.__cache__ = null + }, r.prototype.push = function(e, t, n) { + var r = n || {}; + this.__rules__.push({ + name: e, + enabled: !0, + fn: t, + alt: r.alt || [] + }), this.__cache__ = null + }, r.prototype.enable = function(e, t) { + e = Array.isArray(e) ? e : [e], t && this.__rules__.forEach(function(e) { + e.enabled = !1 + }), e.forEach(function(e) { + var t = this.__find__(e); + if (t < 0) throw new Error("Rules manager: invalid rule name " + e); + this.__rules__[t].enabled = !0 + }, this), this.__cache__ = null + }, r.prototype.disable = function(e) { + (e = Array.isArray(e) ? e : [e]).forEach(function(e) { + var t = this.__find__(e); + if (t < 0) throw new Error("Rules manager: invalid rule name " + e); + this.__rules__[t].enabled = !1 + }, this), this.__cache__ = null + }, r.prototype.getRules = function(e) { + return null === this.__cache__ && this.__compile__(), this.__cache__[e] || [] + }, e.exports = r + }, function(e, t, n) { + "use strict"; + e.exports = function(e, t) { + var n, r, o, i = -1, + a = e.posMax, + u = e.pos, + s = e.isInLabel; + if (e.isInLabel) return -1; + if (e.labelUnmatchedScopes) return e.labelUnmatchedScopes--, -1; + for (e.pos = t + 1, e.isInLabel = !0, n = 1; e.pos < a;) { + if (91 === (o = e.src.charCodeAt(e.pos))) n++; + else if (93 === o && 0 === --n) { + r = !0; + break + } + e.parser.skipToken(e) + } + return r ? (i = e.pos, e.labelUnmatchedScopes = 0) : e.labelUnmatchedScopes = n - 1, e.pos = u, e.isInLabel = s, i + } + }, function(e, t, n) { + var r = n(93); + e.exports = Object("z").propertyIsEnumerable(0) ? Object : function(e) { + return "String" == r(e) ? e.split("") : Object(e) + } + }, function(e, t) { + e.exports = function(e) { + if (void 0 == e) throw TypeError("Can't call method on " + e); + return e + } + }, function(e, t, n) { + var r = n(28), + o = n(21).document, + i = r(o) && r(o.createElement); + e.exports = function(e) { + return i ? o.createElement(e) : {} + } + }, function(e, t, n) { + var r = n(28); + e.exports = function(e, t) { + if (!r(e)) return e; + var n, o; + if (t && "function" == typeof(n = e.toString) && !r(o = n.call(e))) return o; + if ("function" == typeof(n = e.valueOf) && !r(o = n.call(e))) return o; + if (!t && "function" == typeof(n = e.toString) && !r(o = n.call(e))) return o; + throw TypeError("Can't convert object to primitive value") + } + }, function(e, t, n) { + e.exports = n(50) + }, function(e, t, n) { + var r = n(36), + o = n(452), + i = n(163), + a = n(161)("IE_PROTO"), + u = function() {}, + s = function() { + var e, t = n(156)("iframe"), + r = i.length; + for (t.style.display = "none", n(240).appendChild(t), t.src = "javascript:", (e = t.contentWindow.document).open(), e.write("