From 363eb32f9efe519a742c7903654f70cbf5ee65b7 Mon Sep 17 00:00:00 2001 From: Daniel Wedul Date: Mon, 7 Oct 2024 11:39:51 -0600 Subject: [PATCH] Fix our proto generation stuff. (#2167) * [2135]: Update the proto stuff in the makefile. Bump proto image ver to 0.15.1 (from 0.14.0). Clean up the proto-related targets to match the SDK's. * [2135]: Update the protoc-swagger-gen.sh and protocgen.sh scripts. Add warnings from protoc-swagger.gen about stuff not in the config. * [2135]: Update proto/buf.gen.swagger.yaml to use openapiv2 instead of swagger. * [2135]: Further tweaks to protoc-swagger-gen to make it easier to alter for third-party purposes. * [2135]: Fix typo in protocgen.sh. * [2135]: run make proto-gen * [2135]: Add missing ibchooks entry from swagger config. * [2135]: run make proto-swagger-gen * [2135]: Add changelog entry. * [2135]: Switch to = for the tests in [ ] for verbosity. --- .../unreleased/bug-fixes/2135-openapiv2.md | 1 + Makefile | 47 +- client/docs/config.json | 13 + client/docs/swagger-ui/swagger.yaml | 3561 ++++++----------- proto/buf.gen.swagger.yaml | 6 +- scripts/protoc-swagger-gen.sh | 48 +- scripts/protocgen.sh | 29 +- x/attribute/types/query.pb.go | 1 + x/attribute/types/tx.pb.go | 1 + x/exchange/query.pb.go | 1 + x/exchange/tx.pb.go | 1 + x/hold/query.pb.go | 1 + x/ibchooks/types/query.pb.go | 1 + x/ibchooks/types/tx.pb.go | 1 + x/ibcratelimit/query.pb.go | 1 + x/ibcratelimit/tx.pb.go | 1 + x/marker/types/query.pb.go | 1 + x/marker/types/tx.pb.go | 1 + x/metadata/types/query.pb.go | 1 + x/metadata/types/tx.pb.go | 1 + x/msgfees/types/query.pb.go | 1 + x/msgfees/types/tx.pb.go | 1 + x/name/types/query.pb.go | 1 + x/name/types/tx.pb.go | 1 + x/oracle/types/query.pb.go | 1 + x/oracle/types/tx.pb.go | 1 + x/quarantine/query.pb.go | 1 + x/quarantine/tx.pb.go | 1 + x/sanction/query.pb.go | 1 + x/sanction/tx.pb.go | 1 + x/trigger/types/query.pb.go | 1 + x/trigger/types/tx.pb.go | 1 + 32 files changed, 1394 insertions(+), 2336 deletions(-) create mode 100644 .changelog/unreleased/bug-fixes/2135-openapiv2.md diff --git a/.changelog/unreleased/bug-fixes/2135-openapiv2.md b/.changelog/unreleased/bug-fixes/2135-openapiv2.md new file mode 100644 index 0000000000..1858d21e21 --- /dev/null +++ b/.changelog/unreleased/bug-fixes/2135-openapiv2.md @@ -0,0 +1 @@ +* Make our proto generation stuff work again [#2135](https://github.com/provenance-io/provenance/issues/2135). diff --git a/Makefile b/Makefile index ed430c88c4..e77c4948e4 100644 --- a/Makefile +++ b/Makefile @@ -48,7 +48,6 @@ endif HTTPS_GIT := https://github.com/provenance-io/provenance.git DOCKER := $(shell which docker) -DOCKER_BUF := $(DOCKER) run --rm -v $(CURDIR):/workspace --workdir /workspace bufbuild/buf # The below include contains the tools target. include contrib/devtools/Makefile @@ -478,11 +477,9 @@ proto-all: proto-update-deps proto-format proto-lint proto-check-breaking proto- proto-checks: proto-update-deps proto-lint proto-check-breaking proto-check-breaking-third-party proto-regen: proto-format proto-gen proto-swagger-gen proto-doc-gen -containerProtoVer=0.14.0 -containerProtoImage=ghcr.io/cosmos/proto-builder:$(containerProtoVer) -containerProtoGen=prov-proto-gen-$(containerProtoVer) -containerProtoGenSwagger=prov-proto-gen-swagger-$(containerProtoVer) -containerProtoFmt=prov-proto-fmt-$(containerProtoVer) +protoVer=0.15.1 +protoImageName=ghcr.io/cosmos/proto-builder:$(protoVer) +protoImage=$(DOCKER) run --rm -v $(CURDIR):/workspace --workdir /workspace $(protoImageName) # The proto gen stuff will update go.mod and go.sum in ways we don't want (due to docker stuff). # So we need to go mod tidy afterward, but it can't go in the scripts for the same reason that we need it. @@ -490,24 +487,13 @@ containerProtoFmt=prov-proto-fmt-$(containerProtoVer) proto-gen: @echo "Generating Protobuf files" cp go.mod .go.mod.bak - if docker ps -a --format '{{.Names}}' | grep -Eq "^${containerProtoGen}$$"; then \ - docker start -a $(containerProtoGen); \ - else \ - docker run --name $(containerProtoGen) -v $(CURDIR):/workspace --workdir /workspace $(containerProtoImage) \ - sh ./scripts/protocgen.sh; \ - fi + $(protoImage) sh ./scripts/protocgen.sh mv .go.mod.bak go.mod $(GO) mod tidy 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 $(containerProtoImage) \ - sh ./scripts/protoc-swagger-gen.sh; \ - fi - $(GO) mod tidy + $(protoImage) sh ./scripts/protoc-swagger-gen.sh proto-doc-gen: @echo "Generating Protobuf Markdown" @@ -515,29 +501,24 @@ proto-doc-gen: proto-format: @echo "Formatting Protobuf files" - if docker ps -a --format '{{.Names}}' | grep -Eq "^${containerProtoFmt}$$"; then \ - docker start -a $(containerProtoFmt); \ - else \ - docker run --name $(containerProtoFmt) -v $(CURDIR):/workspace --workdir /workspace tendermintdev/docker-build-proto \ - find . \ - -not -path './third_party/*' \ - -not -path './vendor/*' \ - -not -path './protoBindings/*' \ - -name '*.proto' \ - -exec clang-format -i {} \; ; \ - fi + $(protoImage) find . \ + -not -path './third_party/*' \ + -not -path './vendor/*' \ + -not -path './protoBindings/*' \ + -name '*.proto' \ + -exec clang-format -i {} \; ; \ proto-lint: @echo "Linting Protobuf files" - $(DOCKER_BUF) lint --error-format=json + $(protoImage) buf lint --error-format=json proto-check-breaking: @echo "Check breaking Protobuf files" - $(DOCKER_BUF) breaking proto --against '$(HTTPS_GIT)#branch=main,subdir=proto' --error-format=json + $(protoImage) buf breaking proto --against '$(HTTPS_GIT)#branch=main,subdir=proto' --error-format=json proto-check-breaking-third-party: @echo "Check breaking 3rd party Protobuf files" - $(DOCKER_BUF) breaking third_party/proto --against '$(HTTPS_GIT)#branch=main,subdir=third_party/proto' --error-format=json + $(protoImage) buf breaking third_party/proto --against '$(HTTPS_GIT)#branch=main,subdir=third_party/proto' --error-format=json proto-update-check: @echo "Checking for third_party Protobuf updates" diff --git a/client/docs/config.json b/client/docs/config.json index 14f2c2f847..deb361dc18 100644 --- a/client/docs/config.json +++ b/client/docs/config.json @@ -241,6 +241,19 @@ ] } }, + { + "url": "./tmp-swagger-gen/provenance/ibchooks/v1/query.swagger.json", + "tags": { + "add": [ + "IBC Hooks" + ] + }, + "operationIds": { + "rename": { + "Params": "IBCHooksParams" + } + } + }, { "url": "./client/docs/swagger_third_party.yaml", "dereference": { diff --git a/client/docs/swagger-ui/swagger.yaml b/client/docs/swagger-ui/swagger.yaml index cfa5135621..72da985d2d 100644 --- a/client/docs/swagger-ui/swagger.yaml +++ b/client/docs/swagger-ui/swagger.yaml @@ -27,8 +27,6 @@ paths: schema: type: object properties: - error: - type: string code: type: integer format: int32 @@ -39,11 +37,9 @@ paths: items: type: object properties: - type_url: - type: string - value: + '@type': type: string - format: byte + additionalProperties: {} parameters: - name: account description: account is the bech32 address of the account to get the data for @@ -94,8 +90,6 @@ paths: schema: type: object properties: - error: - type: string code: type: integer format: int32 @@ -106,11 +100,9 @@ paths: items: type: object properties: - type_url: - type: string - value: + '@type': type: string - format: byte + additionalProperties: {} parameters: - name: attribute_name description: name is the attribute name to query for @@ -257,8 +249,6 @@ paths: schema: type: object properties: - error: - type: string code: type: integer format: int32 @@ -269,11 +259,9 @@ paths: items: type: object properties: - type_url: + '@type': type: string - value: - type: string - format: byte + additionalProperties: {} parameters: - name: account description: account defines the address to query for. @@ -429,8 +417,6 @@ paths: schema: type: object properties: - error: - type: string code: type: integer format: int32 @@ -441,11 +427,9 @@ paths: items: type: object properties: - type_url: - type: string - value: + '@type': type: string - format: byte + additionalProperties: {} parameters: - name: account description: account defines the address to query for. @@ -599,8 +583,6 @@ paths: schema: type: object properties: - error: - type: string code: type: integer format: int32 @@ -611,11 +593,9 @@ paths: items: type: object properties: - type_url: + '@type': type: string - value: - type: string - format: byte + additionalProperties: {} parameters: - name: account description: account defines the address to query for. @@ -706,8 +686,6 @@ paths: schema: type: object properties: - error: - type: string code: type: integer format: int32 @@ -718,11 +696,9 @@ paths: items: type: object properties: - type_url: - type: string - value: + '@type': type: string - format: byte + additionalProperties: {} tags: - Attribute /provenance/exchange/v1/commitments: @@ -803,8 +779,6 @@ paths: schema: type: object properties: - error: - type: string code: type: integer format: int32 @@ -815,7 +789,7 @@ paths: items: type: object properties: - type_url: + '@type': type: string description: >- A URL/resource name that uniquely identifies the type of @@ -873,12 +847,7 @@ paths: 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. + additionalProperties: {} description: >- `Any` contains an arbitrary serialized protocol buffer message along with a @@ -1100,8 +1069,6 @@ paths: schema: type: object properties: - error: - type: string code: type: integer format: int32 @@ -1112,7 +1079,7 @@ paths: items: type: object properties: - type_url: + '@type': type: string description: >- A URL/resource name that uniquely identifies the type of @@ -1170,12 +1137,7 @@ paths: 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. + additionalProperties: {} description: >- `Any` contains an arbitrary serialized protocol buffer message along with a @@ -1366,8 +1328,6 @@ paths: schema: type: object properties: - error: - type: string code: type: integer format: int32 @@ -1378,7 +1338,7 @@ paths: items: type: object properties: - type_url: + '@type': type: string description: >- A URL/resource name that uniquely identifies the type of @@ -1436,12 +1396,7 @@ paths: 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. + additionalProperties: {} description: >- `Any` contains an arbitrary serialized protocol buffer message along with a @@ -1695,35 +1650,23 @@ paths: type: object properties: assets: + description: >- + assets is the volume and denom that has been bought or + sold. type: object properties: denom: type: string amount: type: string - description: >- - Coin defines a token with a denomination and an amount. - - - NOTE: The amount field is an Int which implements the - custom method - - signatures required by gogoproto. price: + description: price is what was paid for the assets. type: object properties: denom: type: string amount: type: string - description: >- - Coin defines 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: >- NetAssetPrice is an association of assets and price used to record the value of things. @@ -1734,44 +1677,29 @@ paths: conversion_navs are the NAVs used to convert the input_total to the converted_total. to_fee_nav: + description: >- + to_fee_nav is the NAV used to convert the converted_total into + the fee denom. type: object properties: assets: + description: >- + assets is the volume and denom that has been bought or + sold. type: object properties: denom: type: string amount: type: string - description: >- - Coin defines a token with a denomination and an amount. - - - NOTE: The amount field is an Int which implements the - custom method - - signatures required by gogoproto. price: + description: price is what was paid for the assets. type: object properties: denom: type: string amount: type: string - description: >- - Coin defines 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: >- - NetAssetPrice is an association of assets and price used to - record the value of things. - - It is related to the NetAssetValue message from the x/marker - module, and is therefore often referred to as "a NAV". description: >- QueryCommitmentSettlementFeeCalcResponse is a response message for the CommitmentSettlementFeeCalc query. @@ -1780,8 +1708,6 @@ paths: schema: type: object properties: - error: - type: string code: type: integer format: int32 @@ -1792,7 +1718,7 @@ paths: items: type: object properties: - type_url: + '@type': type: string description: >- A URL/resource name that uniquely identifies the type of @@ -1850,12 +1776,7 @@ paths: 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. + additionalProperties: {} description: >- `Any` contains an arbitrary serialized protocol buffer message along with a @@ -2109,8 +2030,6 @@ paths: schema: type: object properties: - error: - type: string code: type: integer format: int32 @@ -2121,7 +2040,7 @@ paths: items: type: object properties: - type_url: + '@type': type: string description: >- A URL/resource name that uniquely identifies the type of @@ -2179,12 +2098,7 @@ paths: 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. + additionalProperties: {} description: >- `Any` contains an arbitrary serialized protocol buffer message along with a @@ -2456,8 +2370,6 @@ paths: schema: type: object properties: - error: - type: string code: type: integer format: int32 @@ -2468,7 +2380,7 @@ paths: items: type: object properties: - type_url: + '@type': type: string description: >- A URL/resource name that uniquely identifies the type of @@ -2526,12 +2438,7 @@ paths: 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. + additionalProperties: {} description: >- `Any` contains an arbitrary serialized protocol buffer message along with a @@ -2811,37 +2718,23 @@ paths: type: object properties: price: + description: >- + price is the unit the order price is divided by to + get how much of the fee should apply. type: object properties: denom: type: string amount: type: string - description: >- - Coin defines a token with a denomination and an - amount. - - - NOTE: The amount field is an Int which implements - the custom method - - signatures required by gogoproto. fee: + description: fee is the amount to charge per price unit. type: object properties: denom: type: string amount: type: string - description: >- - Coin defines 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: >- FeeRatio defines a ratio of price amount to fee amount. @@ -2884,37 +2777,23 @@ paths: type: object properties: price: + description: >- + price is the unit the order price is divided by to + get how much of the fee should apply. type: object properties: denom: type: string amount: type: string - description: >- - Coin defines a token with a denomination and an - amount. - - - NOTE: The amount field is an Int which implements - the custom method - - signatures required by gogoproto. fee: + description: fee is the amount to charge per price unit. type: object properties: denom: type: string amount: type: string - description: >- - Coin defines 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: >- FeeRatio defines a ratio of price amount to fee amount. @@ -3135,8 +3014,6 @@ paths: schema: type: object properties: - error: - type: string code: type: integer format: int32 @@ -3147,7 +3024,7 @@ paths: items: type: object properties: - type_url: + '@type': type: string description: >- A URL/resource name that uniquely identifies the type of @@ -3205,12 +3082,7 @@ paths: 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. + additionalProperties: {} description: >- `Any` contains an arbitrary serialized protocol buffer message along with a @@ -3368,8 +3240,6 @@ paths: schema: type: object properties: - error: - type: string code: type: integer format: int32 @@ -3380,7 +3250,7 @@ paths: items: type: object properties: - type_url: + '@type': type: string description: >- A URL/resource name that uniquely identifies the type of @@ -3438,12 +3308,7 @@ paths: 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. + additionalProperties: {} description: >- `Any` contains an arbitrary serialized protocol buffer message along with a @@ -3640,8 +3505,6 @@ paths: schema: type: object properties: - error: - type: string code: type: integer format: int32 @@ -3652,7 +3515,7 @@ paths: items: type: object properties: - type_url: + '@type': type: string description: >- A URL/resource name that uniquely identifies the type of @@ -3710,12 +3573,7 @@ paths: 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. + additionalProperties: {} description: >- `Any` contains an arbitrary serialized protocol buffer message along with a @@ -3927,53 +3785,51 @@ paths: seller is the address of the account that owns this order and has the assets to sell. assets: + description: >- + assets are the things that the seller wishes to sell. + + A hold is placed on this until the order is filled or + cancelled. type: object properties: denom: type: string amount: type: string + price: description: >- - Coin defines a token with a denomination and an - amount. - + price is the minimum amount that the seller is willing + to accept for the assets. The seller's settlement - NOTE: The amount field is an Int which implements the - custom method + proportional fee (and possibly the settlement flat + fee) is taken out of the amount the seller receives, - signatures required by gogoproto. - price: + so it's possible that the seller will still receive + less than this price. type: object properties: denom: type: string amount: type: string + seller_settlement_flat_fee: description: >- - Coin defines a token with a denomination and an - amount. + seller_settlement_flat_fee is the flat fee for sellers + that will be charged during settlement. If this denom + is the + same denom as the price, it will come out of the + actual price received. If this denom is different, the + amount must - NOTE: The amount field is an Int which implements the - custom method - - signatures required by gogoproto. - seller_settlement_flat_fee: + be in the seller's account and a hold is placed on it + until the order is filled or cancelled. type: object properties: denom: type: string amount: type: string - description: >- - Coin defines a token with a denomination and an - amount. - - - NOTE: The amount field is an Int which implements the - custom method - - signatures required by gogoproto. allow_partial: type: boolean description: >- @@ -4009,37 +3865,26 @@ paths: buyer is the address of the account that owns this order and has the price to spend. assets: + description: assets are the things that the buyer wishes to buy. type: object properties: denom: type: string amount: type: string + price: description: >- - Coin defines a token with a denomination and an - amount. - - - NOTE: The amount field is an Int which implements the - custom method + price is the amount that the buyer will pay for the + assets. - signatures required by gogoproto. - price: + A hold is placed on this until the order is filled or + cancelled. type: object properties: denom: type: string amount: type: string - description: >- - Coin defines a token with a denomination and an - amount. - - - NOTE: The amount field is an Int which implements the - custom method - - signatures required by gogoproto. buyer_settlement_fees: type: array items: @@ -4090,8 +3935,6 @@ paths: schema: type: object properties: - error: - type: string code: type: integer format: int32 @@ -4102,7 +3945,7 @@ paths: items: type: object properties: - type_url: + '@type': type: string description: >- A URL/resource name that uniquely identifies the type of @@ -4160,12 +4003,7 @@ paths: 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. + additionalProperties: {} description: >- `Any` contains an arbitrary serialized protocol buffer message along with a @@ -4325,53 +4163,53 @@ paths: seller is the address of the account that owns this order and has the assets to sell. assets: + description: >- + assets are the things that the seller wishes to + sell. + + A hold is placed on this until the order is filled + or cancelled. type: object properties: denom: type: string amount: type: string + price: description: >- - Coin defines a token with a denomination and an - amount. - + price is the minimum amount that the seller is + willing to accept for the assets. The seller's + settlement - NOTE: The amount field is an Int which implements - the custom method + proportional fee (and possibly the settlement flat + fee) is taken out of the amount the seller receives, - signatures required by gogoproto. - price: + so it's possible that the seller will still receive + less than this price. type: object properties: denom: type: string amount: type: string + seller_settlement_flat_fee: description: >- - Coin defines a token with a denomination and an - amount. + seller_settlement_flat_fee is the flat fee for + sellers that will be charged during settlement. If + this denom is the + same denom as the price, it will come out of the + actual price received. If this denom is different, + the amount must - NOTE: The amount field is an Int which implements - the custom method - - signatures required by gogoproto. - seller_settlement_flat_fee: + be in the seller's account and a hold is placed on + it until the order is filled or cancelled. type: object properties: denom: type: string amount: type: string - description: >- - Coin defines a token with a denomination and an - amount. - - - NOTE: The amount field is an Int which implements - the custom method - - signatures required by gogoproto. allow_partial: type: boolean description: >- @@ -4407,37 +4245,26 @@ paths: buyer is the address of the account that owns this order and has the price to spend. assets: + description: assets are the things that the buyer wishes to buy. type: object properties: denom: type: string amount: type: string + price: description: >- - Coin defines a token with a denomination and an - amount. - - - NOTE: The amount field is an Int which implements - the custom method + price is the amount that the buyer will pay for the + assets. - signatures required by gogoproto. - price: + A hold is placed on this until the order is filled + or cancelled. type: object properties: denom: type: string amount: type: string - description: >- - Coin defines a token with a denomination and an - amount. - - - NOTE: The amount field is an Int which implements - the custom method - - signatures required by gogoproto. buyer_settlement_fees: type: array items: @@ -4509,8 +4336,6 @@ paths: schema: type: object properties: - error: - type: string code: type: integer format: int32 @@ -4521,7 +4346,7 @@ paths: items: type: object properties: - type_url: + '@type': type: string description: >- A URL/resource name that uniquely identifies the type of @@ -4579,12 +4404,7 @@ paths: 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. + additionalProperties: {} description: >- `Any` contains an arbitrary serialized protocol buffer message along with a @@ -4796,8 +4616,6 @@ paths: schema: type: object properties: - error: - type: string code: type: integer format: int32 @@ -4808,7 +4626,7 @@ paths: items: type: object properties: - type_url: + '@type': type: string description: >- A URL/resource name that uniquely identifies the type of @@ -4866,12 +4684,7 @@ paths: 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. + additionalProperties: {} description: >- `Any` contains an arbitrary serialized protocol buffer message along with a @@ -5069,8 +4882,6 @@ paths: schema: type: object properties: - error: - type: string code: type: integer format: int32 @@ -5081,7 +4892,7 @@ paths: items: type: object properties: - type_url: + '@type': type: string description: >- A URL/resource name that uniquely identifies the type of @@ -5139,12 +4950,7 @@ paths: 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. + additionalProperties: {} description: >- `Any` contains an arbitrary serialized protocol buffer message along with a @@ -5323,6 +5129,7 @@ paths: type: object properties: order: + description: order is the requested order. type: object properties: order_id: @@ -5347,53 +5154,51 @@ paths: seller is the address of the account that owns this order and has the assets to sell. assets: + description: >- + assets are the things that the seller wishes to sell. + + A hold is placed on this until the order is filled or + cancelled. type: object properties: denom: type: string amount: type: string + price: description: >- - Coin defines a token with a denomination and an - amount. + price is the minimum amount that the seller is willing + to accept for the assets. The seller's settlement + proportional fee (and possibly the settlement flat + fee) is taken out of the amount the seller receives, - NOTE: The amount field is an Int which implements the - custom method - - signatures required by gogoproto. - price: + so it's possible that the seller will still receive + less than this price. type: object properties: denom: type: string amount: type: string + seller_settlement_flat_fee: description: >- - Coin defines a token with a denomination and an - amount. + seller_settlement_flat_fee is the flat fee for sellers + that will be charged during settlement. If this denom + is the + same denom as the price, it will come out of the + actual price received. If this denom is different, the + amount must - NOTE: The amount field is an Int which implements the - custom method - - signatures required by gogoproto. - seller_settlement_flat_fee: + be in the seller's account and a hold is placed on it + until the order is filled or cancelled. type: object properties: denom: type: string amount: type: string - description: >- - Coin defines a token with a denomination and an - amount. - - - NOTE: The amount field is an Int which implements the - custom method - - signatures required by gogoproto. allow_partial: type: boolean description: >- @@ -5429,37 +5234,26 @@ paths: buyer is the address of the account that owns this order and has the price to spend. assets: + description: assets are the things that the buyer wishes to buy. type: object properties: denom: type: string amount: type: string + price: description: >- - Coin defines a token with a denomination and an - amount. - + price is the amount that the buyer will pay for the + assets. - NOTE: The amount field is an Int which implements the - custom method - - signatures required by gogoproto. - price: + A hold is placed on this until the order is filled or + cancelled. type: object properties: denom: type: string amount: type: string - description: >- - Coin defines a token with a denomination and an - amount. - - - NOTE: The amount field is an Int which implements the - custom method - - signatures required by gogoproto. buyer_settlement_fees: type: array items: @@ -5502,7 +5296,6 @@ paths: If an order in this market with this external id already exists, this order will be rejected. - description: Order associates an order id with one of the order types. description: >- QueryGetOrderResponse is a response message for the GetOrder query. @@ -5511,8 +5304,6 @@ paths: schema: type: object properties: - error: - type: string code: type: integer format: int32 @@ -5523,7 +5314,7 @@ paths: items: type: object properties: - type_url: + '@type': type: string description: >- A URL/resource name that uniquely identifies the type of @@ -5581,12 +5372,7 @@ paths: 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. + additionalProperties: {} description: >- `Any` contains an arbitrary serialized protocol buffer message along with a @@ -5741,53 +5527,53 @@ paths: seller is the address of the account that owns this order and has the assets to sell. assets: + description: >- + assets are the things that the seller wishes to + sell. + + A hold is placed on this until the order is filled + or cancelled. type: object properties: denom: type: string amount: type: string + price: description: >- - Coin defines a token with a denomination and an - amount. - + price is the minimum amount that the seller is + willing to accept for the assets. The seller's + settlement - NOTE: The amount field is an Int which implements - the custom method + proportional fee (and possibly the settlement flat + fee) is taken out of the amount the seller receives, - signatures required by gogoproto. - price: + so it's possible that the seller will still receive + less than this price. type: object properties: denom: type: string amount: type: string + seller_settlement_flat_fee: description: >- - Coin defines a token with a denomination and an - amount. + seller_settlement_flat_fee is the flat fee for + sellers that will be charged during settlement. If + this denom is the + same denom as the price, it will come out of the + actual price received. If this denom is different, + the amount must - NOTE: The amount field is an Int which implements - the custom method - - signatures required by gogoproto. - seller_settlement_flat_fee: + be in the seller's account and a hold is placed on + it until the order is filled or cancelled. type: object properties: denom: type: string amount: type: string - description: >- - Coin defines a token with a denomination and an - amount. - - - NOTE: The amount field is an Int which implements - the custom method - - signatures required by gogoproto. allow_partial: type: boolean description: >- @@ -5823,37 +5609,26 @@ paths: buyer is the address of the account that owns this order and has the price to spend. assets: + description: assets are the things that the buyer wishes to buy. type: object properties: denom: type: string amount: type: string + price: description: >- - Coin defines a token with a denomination and an - amount. - - - NOTE: The amount field is an Int which implements - the custom method + price is the amount that the buyer will pay for the + assets. - signatures required by gogoproto. - price: + A hold is placed on this until the order is filled + or cancelled. type: object properties: denom: type: string amount: type: string - description: >- - Coin defines a token with a denomination and an - amount. - - - NOTE: The amount field is an Int which implements - the custom method - - signatures required by gogoproto. buyer_settlement_fees: type: array items: @@ -5925,8 +5700,6 @@ paths: schema: type: object properties: - error: - type: string code: type: integer format: int32 @@ -5937,7 +5710,7 @@ paths: items: type: object properties: - type_url: + '@type': type: string description: >- A URL/resource name that uniquely identifies the type of @@ -5995,12 +5768,7 @@ paths: 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. + additionalProperties: {} description: >- `Any` contains an arbitrary serialized protocol buffer message along with a @@ -6205,53 +5973,53 @@ paths: seller is the address of the account that owns this order and has the assets to sell. assets: + description: >- + assets are the things that the seller wishes to + sell. + + A hold is placed on this until the order is filled + or cancelled. type: object properties: denom: type: string amount: type: string + price: description: >- - Coin defines a token with a denomination and an - amount. - + price is the minimum amount that the seller is + willing to accept for the assets. The seller's + settlement - NOTE: The amount field is an Int which implements - the custom method + proportional fee (and possibly the settlement flat + fee) is taken out of the amount the seller receives, - signatures required by gogoproto. - price: + so it's possible that the seller will still receive + less than this price. type: object properties: denom: type: string amount: type: string + seller_settlement_flat_fee: description: >- - Coin defines a token with a denomination and an - amount. - + seller_settlement_flat_fee is the flat fee for + sellers that will be charged during settlement. If + this denom is the - NOTE: The amount field is an Int which implements - the custom method + same denom as the price, it will come out of the + actual price received. If this denom is different, + the amount must - signatures required by gogoproto. - seller_settlement_flat_fee: + be in the seller's account and a hold is placed on + it until the order is filled or cancelled. type: object properties: denom: type: string amount: type: string - description: >- - Coin defines a token with a denomination and an - amount. - - - NOTE: The amount field is an Int which implements - the custom method - - signatures required by gogoproto. allow_partial: type: boolean description: >- @@ -6287,37 +6055,26 @@ paths: buyer is the address of the account that owns this order and has the price to spend. assets: + description: assets are the things that the buyer wishes to buy. type: object properties: denom: type: string amount: type: string + price: description: >- - Coin defines a token with a denomination and an - amount. - + price is the amount that the buyer will pay for the + assets. - NOTE: The amount field is an Int which implements - the custom method - - signatures required by gogoproto. - price: + A hold is placed on this until the order is filled + or cancelled. type: object properties: denom: type: string amount: type: string - description: >- - Coin defines a token with a denomination and an - amount. - - - NOTE: The amount field is an Int which implements - the custom method - - signatures required by gogoproto. buyer_settlement_fees: type: array items: @@ -6389,8 +6146,6 @@ paths: schema: type: object properties: - error: - type: string code: type: integer format: int32 @@ -6401,7 +6156,7 @@ paths: items: type: object properties: - type_url: + '@type': type: string description: >- A URL/resource name that uniquely identifies the type of @@ -6459,12 +6214,7 @@ paths: 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. + additionalProperties: {} description: >- `Any` contains an arbitrary serialized protocol buffer message along with a @@ -6689,53 +6439,53 @@ paths: seller is the address of the account that owns this order and has the assets to sell. assets: + description: >- + assets are the things that the seller wishes to + sell. + + A hold is placed on this until the order is filled + or cancelled. type: object properties: denom: type: string amount: type: string + price: description: >- - Coin defines a token with a denomination and an - amount. + price is the minimum amount that the seller is + willing to accept for the assets. The seller's + settlement + proportional fee (and possibly the settlement flat + fee) is taken out of the amount the seller receives, - NOTE: The amount field is an Int which implements - the custom method - - signatures required by gogoproto. - price: + so it's possible that the seller will still receive + less than this price. type: object properties: denom: type: string amount: type: string + seller_settlement_flat_fee: description: >- - Coin defines a token with a denomination and an - amount. + seller_settlement_flat_fee is the flat fee for + sellers that will be charged during settlement. If + this denom is the + same denom as the price, it will come out of the + actual price received. If this denom is different, + the amount must - NOTE: The amount field is an Int which implements - the custom method - - signatures required by gogoproto. - seller_settlement_flat_fee: + be in the seller's account and a hold is placed on + it until the order is filled or cancelled. type: object properties: denom: type: string amount: type: string - description: >- - Coin defines a token with a denomination and an - amount. - - - NOTE: The amount field is an Int which implements - the custom method - - signatures required by gogoproto. allow_partial: type: boolean description: >- @@ -6771,37 +6521,26 @@ paths: buyer is the address of the account that owns this order and has the price to spend. assets: + description: assets are the things that the buyer wishes to buy. type: object properties: denom: type: string amount: type: string + price: description: >- - Coin defines a token with a denomination and an - amount. - - - NOTE: The amount field is an Int which implements - the custom method + price is the amount that the buyer will pay for the + assets. - signatures required by gogoproto. - price: + A hold is placed on this until the order is filled + or cancelled. type: object properties: denom: type: string amount: type: string - description: >- - Coin defines a token with a denomination and an - amount. - - - NOTE: The amount field is an Int which implements - the custom method - - signatures required by gogoproto. buyer_settlement_fees: type: array items: @@ -6873,8 +6612,6 @@ paths: schema: type: object properties: - error: - type: string code: type: integer format: int32 @@ -6885,7 +6622,7 @@ paths: items: type: object properties: - type_url: + '@type': type: string description: >- A URL/resource name that uniquely identifies the type of @@ -6943,12 +6680,7 @@ paths: 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. + additionalProperties: {} description: >- `Any` contains an arbitrary serialized protocol buffer message along with a @@ -7173,53 +6905,51 @@ paths: seller is the address of the account that owns this order and has the assets to sell. assets: + description: >- + assets are the things that the seller wishes to sell. + + A hold is placed on this until the order is filled or + cancelled. type: object properties: denom: type: string amount: type: string + price: description: >- - Coin defines a token with a denomination and an - amount. - + price is the minimum amount that the seller is willing + to accept for the assets. The seller's settlement - NOTE: The amount field is an Int which implements the - custom method + proportional fee (and possibly the settlement flat + fee) is taken out of the amount the seller receives, - signatures required by gogoproto. - price: + so it's possible that the seller will still receive + less than this price. type: object properties: denom: type: string amount: type: string + seller_settlement_flat_fee: description: >- - Coin defines a token with a denomination and an - amount. - + seller_settlement_flat_fee is the flat fee for sellers + that will be charged during settlement. If this denom + is the - NOTE: The amount field is an Int which implements the - custom method + same denom as the price, it will come out of the + actual price received. If this denom is different, the + amount must - signatures required by gogoproto. - seller_settlement_flat_fee: + be in the seller's account and a hold is placed on it + until the order is filled or cancelled. type: object properties: denom: type: string amount: type: string - description: >- - Coin defines a token with a denomination and an - amount. - - - NOTE: The amount field is an Int which implements the - custom method - - signatures required by gogoproto. allow_partial: type: boolean description: >- @@ -7255,37 +6985,26 @@ paths: buyer is the address of the account that owns this order and has the price to spend. assets: + description: assets are the things that the buyer wishes to buy. type: object properties: denom: type: string amount: type: string + price: description: >- - Coin defines a token with a denomination and an - amount. + price is the amount that the buyer will pay for the + assets. - - NOTE: The amount field is an Int which implements the - custom method - - signatures required by gogoproto. - price: + A hold is placed on this until the order is filled or + cancelled. type: object properties: denom: type: string amount: type: string - description: >- - Coin defines a token with a denomination and an - amount. - - - NOTE: The amount field is an Int which implements the - custom method - - signatures required by gogoproto. buyer_settlement_fees: type: array items: @@ -7336,8 +7055,6 @@ paths: schema: type: object properties: - error: - type: string code: type: integer format: int32 @@ -7348,7 +7065,7 @@ paths: items: type: object properties: - type_url: + '@type': type: string description: >- A URL/resource name that uniquely identifies the type of @@ -7406,12 +7123,7 @@ paths: 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. + additionalProperties: {} description: >- `Any` contains an arbitrary serialized protocol buffer message along with a @@ -7571,53 +7283,53 @@ paths: seller is the address of the account that owns this order and has the assets to sell. assets: + description: >- + assets are the things that the seller wishes to + sell. + + A hold is placed on this until the order is filled + or cancelled. type: object properties: denom: type: string amount: type: string + price: description: >- - Coin defines a token with a denomination and an - amount. + price is the minimum amount that the seller is + willing to accept for the assets. The seller's + settlement + proportional fee (and possibly the settlement flat + fee) is taken out of the amount the seller receives, - NOTE: The amount field is an Int which implements - the custom method - - signatures required by gogoproto. - price: + so it's possible that the seller will still receive + less than this price. type: object properties: denom: type: string amount: type: string + seller_settlement_flat_fee: description: >- - Coin defines a token with a denomination and an - amount. + seller_settlement_flat_fee is the flat fee for + sellers that will be charged during settlement. If + this denom is the + same denom as the price, it will come out of the + actual price received. If this denom is different, + the amount must - NOTE: The amount field is an Int which implements - the custom method - - signatures required by gogoproto. - seller_settlement_flat_fee: + be in the seller's account and a hold is placed on + it until the order is filled or cancelled. type: object properties: denom: type: string amount: type: string - description: >- - Coin defines a token with a denomination and an - amount. - - - NOTE: The amount field is an Int which implements - the custom method - - signatures required by gogoproto. allow_partial: type: boolean description: >- @@ -7653,37 +7365,26 @@ paths: buyer is the address of the account that owns this order and has the price to spend. assets: + description: assets are the things that the buyer wishes to buy. type: object properties: denom: type: string amount: type: string + price: description: >- - Coin defines a token with a denomination and an - amount. - + price is the amount that the buyer will pay for the + assets. - NOTE: The amount field is an Int which implements - the custom method - - signatures required by gogoproto. - price: + A hold is placed on this until the order is filled + or cancelled. type: object properties: denom: type: string amount: type: string - description: >- - Coin defines a token with a denomination and an - amount. - - - NOTE: The amount field is an Int which implements - the custom method - - signatures required by gogoproto. buyer_settlement_fees: type: array items: @@ -7755,8 +7456,6 @@ paths: schema: type: object properties: - error: - type: string code: type: integer format: int32 @@ -7767,7 +7466,7 @@ paths: items: type: object properties: - type_url: + '@type': type: string description: >- A URL/resource name that uniquely identifies the type of @@ -7825,12 +7524,7 @@ paths: 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. + additionalProperties: {} description: >- `Any` contains an arbitrary serialized protocol buffer message along with a @@ -8125,8 +7819,6 @@ paths: schema: type: object properties: - error: - type: string code: type: integer format: int32 @@ -8137,7 +7829,7 @@ paths: items: type: object properties: - type_url: + '@type': type: string description: >- A URL/resource name that uniquely identifies the type of @@ -8195,12 +7887,7 @@ paths: 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. + additionalProperties: {} description: >- `Any` contains an arbitrary serialized protocol buffer message along with a @@ -8423,8 +8110,6 @@ paths: schema: type: object properties: - error: - type: string code: type: integer format: int32 @@ -8435,7 +8120,7 @@ paths: items: type: object properties: - type_url: + '@type': type: string description: >- A URL/resource name that uniquely identifies the type of @@ -8493,12 +8178,7 @@ paths: 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. + additionalProperties: {} description: >- `Any` contains an arbitrary serialized protocol buffer message along with a @@ -8732,8 +8412,6 @@ paths: schema: type: object properties: - error: - type: string code: type: integer format: int32 @@ -8744,7 +8422,7 @@ paths: items: type: object properties: - type_url: + '@type': type: string description: >- A URL/resource name that uniquely identifies the type of @@ -8802,12 +8480,7 @@ paths: 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. + additionalProperties: {} description: >- `Any` contains an arbitrary serialized protocol buffer message along with a @@ -9041,8 +8714,6 @@ paths: schema: type: object properties: - error: - type: string code: type: integer format: int32 @@ -9053,7 +8724,7 @@ paths: items: type: object properties: - type_url: + '@type': type: string description: >- A URL/resource name that uniquely identifies the type of @@ -9111,12 +8782,7 @@ paths: 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. + additionalProperties: {} description: >- `Any` contains an arbitrary serialized protocol buffer message along with a @@ -9377,8 +9043,6 @@ paths: schema: type: object properties: - error: - type: string code: type: integer format: int32 @@ -9389,7 +9053,7 @@ paths: items: type: object properties: - type_url: + '@type': type: string description: >- A URL/resource name that uniquely identifies the type of @@ -9447,12 +9111,7 @@ paths: 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. + additionalProperties: {} description: >- `Any` contains an arbitrary serialized protocol buffer message along with a @@ -9759,8 +9418,6 @@ paths: schema: type: object properties: - error: - type: string code: type: integer format: int32 @@ -9771,7 +9428,7 @@ paths: items: type: object properties: - type_url: + '@type': type: string description: >- A URL/resource name that uniquely identifies the type of @@ -9829,12 +9486,7 @@ paths: 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. + additionalProperties: {} description: >- `Any` contains an arbitrary serialized protocol buffer message along with a @@ -10146,8 +9798,6 @@ paths: schema: type: object properties: - error: - type: string code: type: integer format: int32 @@ -10158,7 +9808,7 @@ paths: items: type: object properties: - type_url: + '@type': type: string description: >- A URL/resource name that uniquely identifies the type of @@ -10216,12 +9866,7 @@ paths: 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. + additionalProperties: {} description: >- `Any` contains an arbitrary serialized protocol buffer message along with a @@ -10435,8 +10080,6 @@ paths: schema: type: object properties: - error: - type: string code: type: integer format: int32 @@ -10447,7 +10090,7 @@ paths: items: type: object properties: - type_url: + '@type': type: string description: >- A URL/resource name that uniquely identifies the type of @@ -10505,12 +10148,7 @@ paths: 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. + additionalProperties: {} description: >- `Any` contains an arbitrary serialized protocol buffer message along with a @@ -10842,8 +10480,6 @@ paths: schema: type: object properties: - error: - type: string code: type: integer format: int32 @@ -10854,7 +10490,7 @@ paths: items: type: object properties: - type_url: + '@type': type: string description: >- A URL/resource name that uniquely identifies the type of @@ -10912,12 +10548,7 @@ paths: 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. + additionalProperties: {} description: >- `Any` contains an arbitrary serialized protocol buffer message along with a @@ -11083,8 +10714,6 @@ paths: schema: type: object properties: - error: - type: string code: type: integer format: int32 @@ -11095,7 +10724,7 @@ paths: items: type: object properties: - type_url: + '@type': type: string description: >- A URL/resource name that uniquely identifies the type of @@ -11153,12 +10782,7 @@ paths: 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. + additionalProperties: {} description: >- `Any` contains an arbitrary serialized protocol buffer message along with a @@ -11350,8 +10974,6 @@ paths: schema: type: object properties: - error: - type: string code: type: integer format: int32 @@ -11362,11 +10984,9 @@ paths: items: type: object properties: - type_url: - type: string - value: + '@type': type: string - format: byte + additionalProperties: {} parameters: - name: pagination.key description: |- @@ -11462,8 +11082,6 @@ paths: schema: type: object properties: - error: - type: string code: type: integer format: int32 @@ -11474,11 +11092,9 @@ paths: items: type: object properties: - type_url: + '@type': type: string - value: - type: string - format: byte + additionalProperties: {} parameters: - name: address description: address is the account address to get on-hold balances for. @@ -11518,8 +11134,6 @@ paths: schema: type: object properties: - error: - type: string code: type: integer format: int32 @@ -11530,11 +11144,9 @@ paths: items: type: object properties: - type_url: - type: string - value: + '@type': type: string - format: byte + additionalProperties: {} tags: - IBC /provenance/marker/v1/accesscontrol/{id}: @@ -11610,8 +11222,6 @@ paths: schema: type: object properties: - error: - type: string code: type: integer format: int32 @@ -11622,7 +11232,7 @@ paths: items: type: object properties: - type_url: + '@type': type: string description: >- A URL/resource name that uniquely identifies the type of @@ -11680,12 +11290,7 @@ paths: 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. + additionalProperties: {} description: >- `Any` contains an arbitrary serialized protocol buffer message along with a @@ -11823,8 +11428,6 @@ paths: schema: type: object properties: - error: - type: string code: type: integer format: int32 @@ -11835,7 +11438,7 @@ paths: items: type: object properties: - type_url: + '@type': type: string description: >- A URL/resource name that uniquely identifies the type of @@ -11893,12 +11496,7 @@ paths: 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. + additionalProperties: {} description: >- `Any` contains an arbitrary serialized protocol buffer message along with a @@ -12030,7 +11628,7 @@ paths: items: type: object properties: - type_url: + '@type': type: string description: >- A URL/resource name that uniquely identifies the type of @@ -12088,12 +11686,7 @@ paths: 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. + additionalProperties: {} description: >- `Any` contains an arbitrary serialized protocol buffer message along with a @@ -12229,8 +11822,6 @@ paths: schema: type: object properties: - error: - type: string code: type: integer format: int32 @@ -12241,7 +11832,7 @@ paths: items: type: object properties: - type_url: + '@type': type: string description: >- A URL/resource name that uniquely identifies the type of @@ -12299,12 +11890,7 @@ paths: 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. + additionalProperties: {} description: >- `Any` contains an arbitrary serialized protocol buffer message along with a @@ -12416,7 +12002,7 @@ paths: parameters: - name: status description: |- - Optional status to filter request. + Optional status to filter request - MARKER_STATUS_UNSPECIFIED: MARKER_STATUS_UNSPECIFIED - Unknown/Invalid Marker Status - MARKER_STATUS_PROPOSED: MARKER_STATUS_PROPOSED - Initial configuration period, updates allowed, token supply not created. @@ -12507,7 +12093,7 @@ paths: marker: type: object properties: - type_url: + '@type': type: string description: >- A URL/resource name that uniquely identifies the type of @@ -12564,12 +12150,7 @@ paths: 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. + additionalProperties: {} description: >- `Any` contains an arbitrary serialized protocol buffer message along with a @@ -12683,8 +12264,6 @@ paths: schema: type: object properties: - error: - type: string code: type: integer format: int32 @@ -12695,7 +12274,7 @@ paths: items: type: object properties: - type_url: + '@type': type: string description: >- A URL/resource name that uniquely identifies the type of @@ -12753,12 +12332,7 @@ paths: 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. + additionalProperties: {} description: >- `Any` contains an arbitrary serialized protocol buffer message along with a @@ -12910,8 +12484,6 @@ paths: schema: type: object properties: - error: - type: string code: type: integer format: int32 @@ -12922,7 +12494,7 @@ paths: items: type: object properties: - type_url: + '@type': type: string description: >- A URL/resource name that uniquely identifies the type of @@ -12980,12 +12552,7 @@ paths: 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. + additionalProperties: {} description: >- `Any` contains an arbitrary serialized protocol buffer message along with a @@ -13209,8 +12776,6 @@ paths: schema: type: object properties: - error: - type: string code: type: integer format: int32 @@ -13221,7 +12786,7 @@ paths: items: type: object properties: - type_url: + '@type': type: string description: >- A URL/resource name that uniquely identifies the type of @@ -13279,12 +12844,7 @@ paths: 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. + additionalProperties: {} description: >- `Any` contains an arbitrary serialized protocol buffer message along with a @@ -13467,8 +13027,6 @@ paths: schema: type: object properties: - error: - type: string code: type: integer format: int32 @@ -13479,7 +13037,7 @@ paths: items: type: object properties: - type_url: + '@type': type: string description: >- A URL/resource name that uniquely identifies the type of @@ -13537,12 +13095,7 @@ paths: 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. + additionalProperties: {} description: >- `Any` contains an arbitrary serialized protocol buffer message along with a @@ -13731,6 +13284,7 @@ paths: type: object properties: price: + title: price is the complete value of the asset's volume type: object properties: denom: @@ -13745,7 +13299,6 @@ paths: custom method signatures required by gogoproto. - title: price is the complete value of the asset's volume volume: type: string format: uint64 @@ -13766,8 +13319,6 @@ paths: schema: type: object properties: - error: - type: string code: type: integer format: int32 @@ -13778,7 +13329,7 @@ paths: items: type: object properties: - type_url: + '@type': type: string description: >- A URL/resource name that uniquely identifies the type of @@ -13836,12 +13387,7 @@ paths: 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. + additionalProperties: {} description: >- `Any` contains an arbitrary serialized protocol buffer message along with a @@ -14004,8 +13550,6 @@ paths: schema: type: object properties: - error: - type: string code: type: integer format: int32 @@ -14016,7 +13560,7 @@ paths: items: type: object properties: - type_url: + '@type': type: string description: >- A URL/resource name that uniquely identifies the type of @@ -14074,12 +13618,7 @@ paths: 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. + additionalProperties: {} description: >- `Any` contains an arbitrary serialized protocol buffer message along with a @@ -14201,20 +13740,13 @@ paths: type: object properties: amount: + description: amount is the supply of the marker. type: object properties: denom: type: string amount: type: string - description: >- - Coin defines 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: >- QuerySupplyResponse is the response type for the Query/MarkerSupply method. @@ -14223,8 +13755,6 @@ paths: schema: type: object properties: - error: - type: string code: type: integer format: int32 @@ -14235,7 +13765,7 @@ paths: items: type: object properties: - type_url: + '@type': type: string description: >- A URL/resource name that uniquely identifies the type of @@ -14293,12 +13823,7 @@ paths: 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. + additionalProperties: {} description: >- `Any` contains an arbitrary serialized protocol buffer message along with a @@ -14438,8 +13963,6 @@ paths: schema: type: object properties: - error: - type: string code: type: integer format: int32 @@ -14450,11 +13973,9 @@ paths: items: type: object properties: - type_url: - type: string - value: + '@type': type: string - format: byte + additionalProperties: {} parameters: - name: metadata_addr description: |- @@ -15109,8 +14630,6 @@ paths: schema: type: object properties: - error: - type: string code: type: integer format: int32 @@ -15121,11 +14640,9 @@ paths: items: type: object properties: - type_url: + '@type': type: string - value: - type: string - format: byte + additionalProperties: {} parameters: - name: addrs description: ids are the metadata addresses of the things to look up. @@ -15175,6 +14692,9 @@ paths: type: object properties: specification: + description: >- + specification is the on-chain contract specification + message. type: object properties: specification_id: @@ -15259,9 +14779,6 @@ paths: ContractSpecification defines the required parties, resources, conditions, and consideration outputs for a contract - description: >- - specification is the on-chain contract specification - message. contract_spec_id_info: description: >- contract_spec_id_info contains information about the @@ -15302,6 +14819,9 @@ paths: type: object properties: specification: + description: >- + specification is the on-chain record specification + message. type: object properties: specification_id: @@ -15407,9 +14927,6 @@ paths: title: >- RecordSpecification defines the specification for a Record including allowed/required inputs/outputs - description: >- - specification is the on-chain record specification - message. record_spec_id_info: description: >- record_spec_id_info contains information about the @@ -15530,8 +15047,6 @@ paths: schema: type: object properties: - error: - type: string code: type: integer format: int32 @@ -15542,11 +15057,9 @@ paths: items: type: object properties: - type_url: - type: string - value: + '@type': type: string - format: byte + additionalProperties: {} parameters: - name: specification_id description: >- @@ -15598,9 +15111,13 @@ paths: type: object properties: record_specification: + description: record_specification is the wrapped record specification. type: object properties: specification: + description: >- + specification is the on-chain record specification + message. type: object properties: specification_id: @@ -15706,9 +15223,6 @@ paths: title: >- RecordSpecification defines the specification for a Record including allowed/required inputs/outputs - description: >- - specification is the on-chain record specification - message. record_spec_id_info: description: >- record_spec_id_info contains information about the @@ -15779,9 +15293,6 @@ paths: description: >- contract_spec_uuid is the uuid hex string of the contract_spec_id_contract_spec_uuid. - description: >- - RecordSpecificationWrapper contains a single record - specification and some extra identifiers for it. request: description: request is a copy of the request that generated these results. type: object @@ -15827,8 +15338,6 @@ paths: schema: type: object properties: - error: - type: string code: type: integer format: int32 @@ -15839,11 +15348,9 @@ paths: items: type: object properties: - type_url: - type: string - value: + '@type': type: string - format: byte + additionalProperties: {} parameters: - name: specification_id description: >- @@ -15919,6 +15426,9 @@ paths: type: object properties: specification: + description: >- + specification is the on-chain record specification + message. type: object properties: specification_id: @@ -16024,9 +15534,6 @@ paths: title: >- RecordSpecification defines the specification for a Record including allowed/required inputs/outputs - description: >- - specification is the on-chain record specification - message. record_spec_id_info: description: >- record_spec_id_info contains information about the @@ -16150,8 +15657,6 @@ paths: schema: type: object properties: - error: - type: string code: type: integer format: int32 @@ -16162,11 +15667,9 @@ paths: items: type: object properties: - type_url: - type: string - value: + '@type': type: string - format: byte + additionalProperties: {} parameters: - name: specification_id description: >- @@ -16214,6 +15717,9 @@ paths: type: object properties: specification: + description: >- + specification is the on-chain contract specification + message. type: object properties: specification_id: @@ -16299,9 +15805,6 @@ paths: ContractSpecification defines the required parties, resources, conditions, and consideration outputs for a contract - description: >- - specification is the on-chain contract specification - message. contract_spec_id_info: description: >- contract_spec_id_info contains information about the @@ -16448,8 +15951,6 @@ paths: schema: type: object properties: - error: - type: string code: type: integer format: int32 @@ -16460,11 +15961,9 @@ paths: items: type: object properties: - type_url: - type: string - value: + '@type': type: string - format: byte + additionalProperties: {} parameters: - name: exclude_id_info description: >- @@ -16574,8 +16073,6 @@ paths: schema: type: object properties: - error: - type: string code: type: integer format: int32 @@ -16586,11 +16083,9 @@ paths: items: type: object properties: - type_url: + '@type': type: string - value: - type: string - format: byte + additionalProperties: {} parameters: - name: include_request description: >- @@ -16651,8 +16146,6 @@ paths: schema: type: object properties: - error: - type: string code: type: integer format: int32 @@ -16663,11 +16156,9 @@ paths: items: type: object properties: - type_url: - type: string - value: + '@type': type: string - format: byte + additionalProperties: {} parameters: - name: scope_id in: path @@ -16816,8 +16307,6 @@ paths: schema: type: object properties: - error: - type: string code: type: integer format: int32 @@ -16828,11 +16317,9 @@ paths: items: type: object properties: - type_url: + '@type': type: string - value: - type: string - format: byte + additionalProperties: {} parameters: - name: uri in: path @@ -16949,8 +16436,6 @@ paths: schema: type: object properties: - error: - type: string code: type: integer format: int32 @@ -16961,11 +16446,9 @@ paths: items: type: object properties: - type_url: - type: string - value: + '@type': type: string - format: byte + additionalProperties: {} parameters: - name: owner in: path @@ -17110,8 +16593,6 @@ paths: schema: type: object properties: - error: - type: string code: type: integer format: int32 @@ -17122,11 +16603,9 @@ paths: items: type: object properties: - type_url: + '@type': type: string - value: - type: string - format: byte + additionalProperties: {} parameters: - name: include_request description: >- @@ -17228,6 +16707,18 @@ paths: type: string format: uint64 title: updated_block_height is the block height of last update + volume: + type: string + format: uint64 + title: >- + volume is the number of scope instances that were + purchased for the price + + Typically this will be null (equivalent to one) or one. + The only reason this would be more than + + one is for cases where the precision of the price denom + is insufficient to represent the actual price title: NetAssetValue defines a scope's net asset value title: net asset values for scope description: >- @@ -17238,8 +16729,6 @@ paths: schema: type: object properties: - error: - type: string code: type: integer format: int32 @@ -17250,11 +16739,9 @@ paths: items: type: object properties: - type_url: - type: string - value: + '@type': type: string - format: byte + additionalProperties: {} parameters: - name: id description: scopeid metadata address @@ -17383,8 +16870,6 @@ paths: schema: type: object properties: - error: - type: string code: type: integer format: int32 @@ -17395,11 +16880,9 @@ paths: items: type: object properties: - type_url: - type: string - value: + '@type': type: string - format: byte + additionalProperties: {} parameters: - name: address in: path @@ -17500,8 +16983,6 @@ paths: schema: type: object properties: - error: - type: string code: type: integer format: int32 @@ -17512,11 +16993,9 @@ paths: items: type: object properties: - type_url: + '@type': type: string - value: - type: string - format: byte + additionalProperties: {} parameters: - name: include_request description: >- @@ -17591,6 +17070,7 @@ paths: type: object properties: scope: + description: scope is the on-chain scope message. type: object properties: scope_id: @@ -17683,9 +17163,6 @@ paths: This also enables use of optional=true scope owners and session parties. - description: >- - Scope defines a root reference for a collection of records - owned by one or more parties. scope_id_info: description: >- scope_id_info contains information about the id/address of @@ -17756,6 +17233,7 @@ paths: type: object properties: session: + description: session is the on-chain session message. type: object properties: session_id: @@ -17865,16 +17343,6 @@ paths: AuditFields capture information about the last account to make modifications and when they were made - description: >- - Session defines an execution context against a specific - specification instance. - - The context will have a specification and set of parties - involved. - - - NOTE: When there are no more Records within a Scope that - reference a Session, the Session is removed. session_id_info: description: >- session_id_info contains information about the @@ -17991,6 +17459,7 @@ paths: type: object properties: record: + description: record is the on-chain record message. type: object properties: name: @@ -18118,7 +17587,6 @@ paths: title: >- A record (of fact) is attached to a session or each consideration output from a contract - description: record is the on-chain record message. record_id_info: description: >- record_id_info contains information about the id/address @@ -18317,8 +17785,6 @@ paths: schema: type: object properties: - error: - type: string code: type: integer format: int32 @@ -18329,11 +17795,9 @@ paths: items: type: object properties: - type_url: - type: string - value: + '@type': type: string - format: byte + additionalProperties: {} parameters: - name: record_addr description: >- @@ -18365,7 +17829,7 @@ paths: required: false type: string - name: name - description: name is the name of the record to look for. + description: name is the name of the record to look for in: query required: false type: string @@ -18453,6 +17917,7 @@ paths: type: object properties: scope: + description: scope is the on-chain scope message. type: object properties: scope_id: @@ -18545,9 +18010,6 @@ paths: This also enables use of optional=true scope owners and session parties. - description: >- - Scope defines a root reference for a collection of records - owned by one or more parties. scope_id_info: description: >- scope_id_info contains information about the id/address of @@ -18618,6 +18080,7 @@ paths: type: object properties: session: + description: session is the on-chain session message. type: object properties: session_id: @@ -18727,16 +18190,6 @@ paths: AuditFields capture information about the last account to make modifications and when they were made - description: >- - Session defines an execution context against a specific - specification instance. - - The context will have a specification and set of parties - involved. - - - NOTE: When there are no more Records within a Scope that - reference a Session, the Session is removed. session_id_info: description: >- session_id_info contains information about the @@ -18853,6 +18306,7 @@ paths: type: object properties: record: + description: record is the on-chain record message. type: object properties: name: @@ -18980,7 +18434,6 @@ paths: title: >- A record (of fact) is attached to a session or each consideration output from a contract - description: record is the on-chain record message. record_id_info: description: >- record_id_info contains information about the id/address @@ -19171,8 +18624,6 @@ paths: schema: type: object properties: - error: - type: string code: type: integer format: int32 @@ -19183,11 +18634,9 @@ paths: items: type: object properties: - type_url: - type: string - value: + '@type': type: string - format: byte + additionalProperties: {} parameters: - name: record_addr description: >- @@ -19321,6 +18770,7 @@ paths: type: object properties: scope: + description: scope is the on-chain scope message. type: object properties: scope_id: @@ -19413,9 +18863,6 @@ paths: This also enables use of optional=true scope owners and session parties. - description: >- - Scope defines a root reference for a collection of records - owned by one or more parties. scope_id_info: description: >- scope_id_info contains information about the id/address of @@ -19486,6 +18933,7 @@ paths: type: object properties: session: + description: session is the on-chain session message. type: object properties: session_id: @@ -19595,16 +19043,6 @@ paths: AuditFields capture information about the last account to make modifications and when they were made - description: >- - Session defines an execution context against a specific - specification instance. - - The context will have a specification and set of parties - involved. - - - NOTE: When there are no more Records within a Scope that - reference a Session, the Session is removed. session_id_info: description: >- session_id_info contains information about the @@ -19719,6 +19157,7 @@ paths: type: object properties: record: + description: record is the on-chain record message. type: object properties: name: @@ -19846,7 +19285,6 @@ paths: title: >- A record (of fact) is attached to a session or each consideration output from a contract - description: record is the on-chain record message. record_id_info: description: >- record_id_info contains information about the id/address @@ -20049,8 +19487,6 @@ paths: schema: type: object properties: - error: - type: string code: type: integer format: int32 @@ -20061,11 +19497,9 @@ paths: items: type: object properties: - type_url: + '@type': type: string - value: - type: string - format: byte + additionalProperties: {} parameters: - name: record_addr description: >- @@ -20149,6 +19583,7 @@ paths: type: object properties: record: + description: record is the on-chain record message. type: object properties: name: @@ -20276,7 +19711,6 @@ paths: title: >- A record (of fact) is attached to a session or each consideration output from a contract - description: record is the on-chain record message. record_id_info: description: >- record_id_info contains information about the id/address @@ -20522,8 +19956,6 @@ paths: schema: type: object properties: - error: - type: string code: type: integer format: int32 @@ -20534,11 +19966,9 @@ paths: items: type: object properties: - type_url: + '@type': type: string - value: - type: string - format: byte + additionalProperties: {} parameters: - name: exclude_id_info description: >- @@ -20623,9 +20053,13 @@ paths: type: object properties: record_specification: + description: record_specification is the wrapped record specification. type: object properties: specification: + description: >- + specification is the on-chain record specification + message. type: object properties: specification_id: @@ -20731,9 +20165,6 @@ paths: title: >- RecordSpecification defines the specification for a Record including allowed/required inputs/outputs - description: >- - specification is the on-chain record specification - message. record_spec_id_info: description: >- record_spec_id_info contains information about the @@ -20804,9 +20235,6 @@ paths: description: >- contract_spec_uuid is the uuid hex string of the contract_spec_id_contract_spec_uuid. - description: >- - RecordSpecificationWrapper contains a single record - specification and some extra identifiers for it. request: description: request is a copy of the request that generated these results. type: object @@ -20852,8 +20280,6 @@ paths: schema: type: object properties: - error: - type: string code: type: integer format: int32 @@ -20864,11 +20290,9 @@ paths: items: type: object properties: - type_url: - type: string - value: + '@type': type: string - format: byte + additionalProperties: {} parameters: - name: specification_id description: >- @@ -20928,6 +20352,9 @@ paths: type: object properties: specification: + description: >- + specification is the on-chain record specification + message. type: object properties: specification_id: @@ -21033,9 +20460,6 @@ paths: title: >- RecordSpecification defines the specification for a Record including allowed/required inputs/outputs - description: >- - specification is the on-chain record specification - message. record_spec_id_info: description: >- record_spec_id_info contains information about the @@ -21216,8 +20640,6 @@ paths: schema: type: object properties: - error: - type: string code: type: integer format: int32 @@ -21228,11 +20650,9 @@ paths: items: type: object properties: - type_url: - type: string - value: + '@type': type: string - format: byte + additionalProperties: {} parameters: - name: exclude_id_info description: >- @@ -21360,6 +20780,7 @@ paths: type: object properties: scope: + description: scope is the on-chain scope message. type: object properties: scope_id: @@ -21452,9 +20873,6 @@ paths: This also enables use of optional=true scope owners and session parties. - description: >- - Scope defines a root reference for a collection of records - owned by one or more parties. scope_id_info: description: >- scope_id_info contains information about the id/address of @@ -21525,6 +20943,7 @@ paths: type: object properties: session: + description: session is the on-chain session message. type: object properties: session_id: @@ -21634,16 +21053,6 @@ paths: AuditFields capture information about the last account to make modifications and when they were made - description: >- - Session defines an execution context against a specific - specification instance. - - The context will have a specification and set of parties - involved. - - - NOTE: When there are no more Records within a Scope that - reference a Session, the Session is removed. session_id_info: description: >- session_id_info contains information about the @@ -21760,6 +21169,7 @@ paths: type: object properties: record: + description: record is the on-chain record message. type: object properties: name: @@ -21887,7 +21297,6 @@ paths: title: >- A record (of fact) is attached to a session or each consideration output from a contract - description: record is the on-chain record message. record_id_info: description: >- record_id_info contains information about the id/address @@ -22078,8 +21487,6 @@ paths: schema: type: object properties: - error: - type: string code: type: integer format: int32 @@ -22090,11 +21497,9 @@ paths: items: type: object properties: - type_url: - type: string - value: + '@type': type: string - format: byte + additionalProperties: {} parameters: - name: scope_id description: >- @@ -22213,6 +21618,7 @@ paths: type: object properties: scope: + description: scope is the on-chain scope message. type: object properties: scope_id: @@ -22305,9 +21711,6 @@ paths: This also enables use of optional=true scope owners and session parties. - description: >- - Scope defines a root reference for a collection of records - owned by one or more parties. scope_id_info: description: >- scope_id_info contains information about the id/address of @@ -22378,6 +21781,7 @@ paths: type: object properties: session: + description: session is the on-chain session message. type: object properties: session_id: @@ -22487,16 +21891,6 @@ paths: AuditFields capture information about the last account to make modifications and when they were made - description: >- - Session defines an execution context against a specific - specification instance. - - The context will have a specification and set of parties - involved. - - - NOTE: When there are no more Records within a Scope that - reference a Session, the Session is removed. session_id_info: description: >- session_id_info contains information about the @@ -22613,6 +22007,7 @@ paths: type: object properties: record: + description: record is the on-chain record message. type: object properties: name: @@ -22740,7 +22135,6 @@ paths: title: >- A record (of fact) is attached to a session or each consideration output from a contract - description: record is the on-chain record message. record_id_info: description: >- record_id_info contains information about the id/address @@ -22939,8 +22333,6 @@ paths: schema: type: object properties: - error: - type: string code: type: integer format: int32 @@ -22951,11 +22343,9 @@ paths: items: type: object properties: - type_url: - type: string - value: + '@type': type: string - format: byte + additionalProperties: {} parameters: - name: scope_id description: >- @@ -23100,6 +22490,7 @@ paths: type: object properties: scope: + description: scope is the on-chain scope message. type: object properties: scope_id: @@ -23192,9 +22583,6 @@ paths: This also enables use of optional=true scope owners and session parties. - description: >- - Scope defines a root reference for a collection of records - owned by one or more parties. scope_id_info: description: >- scope_id_info contains information about the id/address of @@ -23265,6 +22653,7 @@ paths: type: object properties: session: + description: session is the on-chain session message. type: object properties: session_id: @@ -23374,16 +22763,6 @@ paths: AuditFields capture information about the last account to make modifications and when they were made - description: >- - Session defines an execution context against a specific - specification instance. - - The context will have a specification and set of parties - involved. - - - NOTE: When there are no more Records within a Scope that - reference a Session, the Session is removed. session_id_info: description: >- session_id_info contains information about the @@ -23498,6 +22877,7 @@ paths: type: object properties: record: + description: record is the on-chain record message. type: object properties: name: @@ -23625,7 +23005,6 @@ paths: title: >- A record (of fact) is attached to a session or each consideration output from a contract - description: record is the on-chain record message. record_id_info: description: >- record_id_info contains information about the id/address @@ -23828,8 +23207,6 @@ paths: schema: type: object properties: - error: - type: string code: type: integer format: int32 @@ -23840,11 +23217,9 @@ paths: items: type: object properties: - type_url: + '@type': type: string - value: - type: string - format: byte + additionalProperties: {} parameters: - name: scope_id description: >- @@ -23976,6 +23351,7 @@ paths: type: object properties: scope: + description: scope is the on-chain scope message. type: object properties: scope_id: @@ -24068,9 +23444,6 @@ paths: This also enables use of optional=true scope owners and session parties. - description: >- - Scope defines a root reference for a collection of records - owned by one or more parties. scope_id_info: description: >- scope_id_info contains information about the id/address of @@ -24141,6 +23514,7 @@ paths: type: object properties: session: + description: session is the on-chain session message. type: object properties: session_id: @@ -24250,16 +23624,6 @@ paths: AuditFields capture information about the last account to make modifications and when they were made - description: >- - Session defines an execution context against a specific - specification instance. - - The context will have a specification and set of parties - involved. - - - NOTE: When there are no more Records within a Scope that - reference a Session, the Session is removed. session_id_info: description: >- session_id_info contains information about the @@ -24376,6 +23740,7 @@ paths: type: object properties: record: + description: record is the on-chain record message. type: object properties: name: @@ -24503,7 +23868,6 @@ paths: title: >- A record (of fact) is attached to a session or each consideration output from a contract - description: record is the on-chain record message. record_id_info: description: >- record_id_info contains information about the id/address @@ -24702,8 +24066,6 @@ paths: schema: type: object properties: - error: - type: string code: type: integer format: int32 @@ -24714,11 +24076,9 @@ paths: items: type: object properties: - type_url: + '@type': type: string - value: - type: string - format: byte + additionalProperties: {} parameters: - name: scope_id description: >- @@ -24750,7 +24110,7 @@ paths: required: false type: string - name: name - description: name is the name of the record to look for. + description: name is the name of the record to look for in: query required: false type: string @@ -24863,6 +24223,7 @@ paths: type: object properties: scope: + description: scope is the on-chain scope message. type: object properties: scope_id: @@ -24955,9 +24316,6 @@ paths: This also enables use of optional=true scope owners and session parties. - description: >- - Scope defines a root reference for a collection of records - owned by one or more parties. scope_id_info: description: >- scope_id_info contains information about the id/address of @@ -25028,6 +24386,7 @@ paths: type: object properties: session: + description: session is the on-chain session message. type: object properties: session_id: @@ -25137,16 +24496,6 @@ paths: AuditFields capture information about the last account to make modifications and when they were made - description: >- - Session defines an execution context against a specific - specification instance. - - The context will have a specification and set of parties - involved. - - - NOTE: When there are no more Records within a Scope that - reference a Session, the Session is removed. session_id_info: description: >- session_id_info contains information about the @@ -25261,6 +24610,7 @@ paths: type: object properties: record: + description: record is the on-chain record message. type: object properties: name: @@ -25388,7 +24738,6 @@ paths: title: >- A record (of fact) is attached to a session or each consideration output from a contract - description: record is the on-chain record message. record_id_info: description: >- record_id_info contains information about the id/address @@ -25591,8 +24940,6 @@ paths: schema: type: object properties: - error: - type: string code: type: integer format: int32 @@ -25603,11 +24950,9 @@ paths: items: type: object properties: - type_url: - type: string - value: + '@type': type: string - format: byte + additionalProperties: {} parameters: - name: scope_id description: >- @@ -25739,6 +25084,7 @@ paths: type: object properties: scope: + description: scope is the on-chain scope message. type: object properties: scope_id: @@ -25831,9 +25177,6 @@ paths: This also enables use of optional=true scope owners and session parties. - description: >- - Scope defines a root reference for a collection of records - owned by one or more parties. scope_id_info: description: >- scope_id_info contains information about the id/address of @@ -25904,6 +25247,7 @@ paths: type: object properties: session: + description: session is the on-chain session message. type: object properties: session_id: @@ -26013,16 +25357,6 @@ paths: AuditFields capture information about the last account to make modifications and when they were made - description: >- - Session defines an execution context against a specific - specification instance. - - The context will have a specification and set of parties - involved. - - - NOTE: When there are no more Records within a Scope that - reference a Session, the Session is removed. session_id_info: description: >- session_id_info contains information about the @@ -26139,6 +25473,7 @@ paths: type: object properties: record: + description: record is the on-chain record message. type: object properties: name: @@ -26266,7 +25601,6 @@ paths: title: >- A record (of fact) is attached to a session or each consideration output from a contract - description: record is the on-chain record message. record_id_info: description: >- record_id_info contains information about the id/address @@ -26465,8 +25799,6 @@ paths: schema: type: object properties: - error: - type: string code: type: integer format: int32 @@ -26477,11 +25809,9 @@ paths: items: type: object properties: - type_url: - type: string - value: + '@type': type: string - format: byte + additionalProperties: {} parameters: - name: scope_id description: >- @@ -26611,6 +25941,7 @@ paths: type: object properties: scope: + description: scope is the on-chain scope message. type: object properties: scope_id: @@ -26703,9 +26034,6 @@ paths: This also enables use of optional=true scope owners and session parties. - description: >- - Scope defines a root reference for a collection of records - owned by one or more parties. scope_id_info: description: >- scope_id_info contains information about the id/address of @@ -26776,6 +26104,7 @@ paths: type: object properties: session: + description: session is the on-chain session message. type: object properties: session_id: @@ -26885,16 +26214,6 @@ paths: AuditFields capture information about the last account to make modifications and when they were made - description: >- - Session defines an execution context against a specific - specification instance. - - The context will have a specification and set of parties - involved. - - - NOTE: When there are no more Records within a Scope that - reference a Session, the Session is removed. session_id_info: description: >- session_id_info contains information about the @@ -27011,6 +26330,7 @@ paths: type: object properties: record: + description: record is the on-chain record message. type: object properties: name: @@ -27138,7 +26458,6 @@ paths: title: >- A record (of fact) is attached to a session or each consideration output from a contract - description: record is the on-chain record message. record_id_info: description: >- record_id_info contains information about the id/address @@ -27337,8 +26656,6 @@ paths: schema: type: object properties: - error: - type: string code: type: integer format: int32 @@ -27349,11 +26666,9 @@ paths: items: type: object properties: - type_url: + '@type': type: string - value: - type: string - format: byte + additionalProperties: {} parameters: - name: scope_id description: >- @@ -27385,7 +26700,7 @@ paths: required: false type: string - name: name - description: name is the name of the record to look for. + description: name is the name of the record to look for in: query required: false type: string @@ -27498,6 +26813,7 @@ paths: type: object properties: scope: + description: scope is the on-chain scope message. type: object properties: scope_id: @@ -27590,9 +26906,6 @@ paths: This also enables use of optional=true scope owners and session parties. - description: >- - Scope defines a root reference for a collection of records - owned by one or more parties. scope_id_info: description: >- scope_id_info contains information about the id/address of @@ -27663,6 +26976,7 @@ paths: type: object properties: session: + description: session is the on-chain session message. type: object properties: session_id: @@ -27772,16 +27086,6 @@ paths: AuditFields capture information about the last account to make modifications and when they were made - description: >- - Session defines an execution context against a specific - specification instance. - - The context will have a specification and set of parties - involved. - - - NOTE: When there are no more Records within a Scope that - reference a Session, the Session is removed. session_id_info: description: >- session_id_info contains information about the @@ -27896,6 +27200,7 @@ paths: type: object properties: record: + description: record is the on-chain record message. type: object properties: name: @@ -28023,7 +27328,6 @@ paths: title: >- A record (of fact) is attached to a session or each consideration output from a contract - description: record is the on-chain record message. record_id_info: description: >- record_id_info contains information about the id/address @@ -28226,8 +27530,6 @@ paths: schema: type: object properties: - error: - type: string code: type: integer format: int32 @@ -28238,11 +27540,9 @@ paths: items: type: object properties: - type_url: - type: string - value: + '@type': type: string - format: byte + additionalProperties: {} parameters: - name: scope_id description: >- @@ -28326,6 +27626,7 @@ paths: type: object properties: scope: + description: scope is the on-chain scope message. type: object properties: scope_id: @@ -28419,9 +27720,6 @@ paths: This also enables use of optional=true scope owners and session parties. - description: >- - Scope defines a root reference for a collection of - records owned by one or more parties. scope_id_info: description: >- scope_id_info contains information about the id/address @@ -28596,8 +27894,6 @@ paths: schema: type: object properties: - error: - type: string code: type: integer format: int32 @@ -28608,11 +27904,9 @@ paths: items: type: object properties: - type_url: - type: string - value: + '@type': type: string - format: byte + additionalProperties: {} parameters: - name: exclude_id_info description: >- @@ -28715,6 +28009,7 @@ paths: type: object properties: specification: + description: specification is the on-chain scope specification message. type: object properties: specification_id: @@ -28790,7 +28085,6 @@ paths: ScopeSpecification defines the required parties, resources, conditions, and consideration outputs for a contract - description: specification is the on-chain scope specification message. scope_spec_id_info: description: >- scope_spec_id_info contains information about the @@ -28831,6 +28125,9 @@ paths: type: object properties: specification: + description: >- + specification is the on-chain contract specification + message. type: object properties: specification_id: @@ -28916,9 +28213,6 @@ paths: ContractSpecification defines the required parties, resources, conditions, and consideration outputs for a contract - description: >- - specification is the on-chain contract specification - message. contract_spec_id_info: description: >- contract_spec_id_info contains information about the @@ -28965,6 +28259,9 @@ paths: type: object properties: specification: + description: >- + specification is the on-chain record specification + message. type: object properties: specification_id: @@ -29070,9 +28367,6 @@ paths: title: >- RecordSpecification defines the specification for a Record including allowed/required inputs/outputs - description: >- - specification is the on-chain record specification - message. record_spec_id_info: description: >- record_spec_id_info contains information about the @@ -29194,8 +28488,6 @@ paths: schema: type: object properties: - error: - type: string code: type: integer format: int32 @@ -29206,11 +28498,9 @@ paths: items: type: object properties: - type_url: - type: string - value: + '@type': type: string - format: byte + additionalProperties: {} parameters: - name: specification_id description: >- @@ -29271,6 +28561,9 @@ paths: type: object properties: specification: + description: >- + specification is the on-chain scope specification + message. type: object properties: specification_id: @@ -29346,9 +28639,6 @@ paths: ScopeSpecification defines the required parties, resources, conditions, and consideration outputs for a contract - description: >- - specification is the on-chain scope specification - message. scope_spec_id_info: description: >- scope_spec_id_info contains information about the @@ -29493,8 +28783,6 @@ paths: schema: type: object properties: - error: - type: string code: type: integer format: int32 @@ -29505,11 +28793,9 @@ paths: items: type: object properties: - type_url: - type: string - value: + '@type': type: string - format: byte + additionalProperties: {} parameters: - name: exclude_id_info description: >- @@ -29637,6 +28923,7 @@ paths: type: object properties: scope: + description: scope is the on-chain scope message. type: object properties: scope_id: @@ -29729,9 +29016,6 @@ paths: This also enables use of optional=true scope owners and session parties. - description: >- - Scope defines a root reference for a collection of records - owned by one or more parties. scope_id_info: description: >- scope_id_info contains information about the id/address of @@ -29802,6 +29086,7 @@ paths: type: object properties: session: + description: session is the on-chain session message. type: object properties: session_id: @@ -29911,16 +29196,6 @@ paths: AuditFields capture information about the last account to make modifications and when they were made - description: >- - Session defines an execution context against a specific - specification instance. - - The context will have a specification and set of parties - involved. - - - NOTE: When there are no more Records within a Scope that - reference a Session, the Session is removed. session_id_info: description: >- session_id_info contains information about the @@ -30037,6 +29312,7 @@ paths: type: object properties: record: + description: record is the on-chain record message. type: object properties: name: @@ -30164,7 +29440,6 @@ paths: title: >- A record (of fact) is attached to a session or each consideration output from a contract - description: record is the on-chain record message. record_id_info: description: >- record_id_info contains information about the id/address @@ -30355,8 +29630,6 @@ paths: schema: type: object properties: - error: - type: string code: type: integer format: int32 @@ -30367,11 +29640,9 @@ paths: items: type: object properties: - type_url: - type: string - value: + '@type': type: string - format: byte + additionalProperties: {} parameters: - name: session_addr description: |- @@ -30505,6 +29776,7 @@ paths: type: object properties: scope: + description: scope is the on-chain scope message. type: object properties: scope_id: @@ -30597,9 +29869,6 @@ paths: This also enables use of optional=true scope owners and session parties. - description: >- - Scope defines a root reference for a collection of records - owned by one or more parties. scope_id_info: description: >- scope_id_info contains information about the id/address of @@ -30670,6 +29939,7 @@ paths: type: object properties: session: + description: session is the on-chain session message. type: object properties: session_id: @@ -30779,16 +30049,6 @@ paths: AuditFields capture information about the last account to make modifications and when they were made - description: >- - Session defines an execution context against a specific - specification instance. - - The context will have a specification and set of parties - involved. - - - NOTE: When there are no more Records within a Scope that - reference a Session, the Session is removed. session_id_info: description: >- session_id_info contains information about the @@ -30903,6 +30163,7 @@ paths: type: object properties: record: + description: record is the on-chain record message. type: object properties: name: @@ -31030,7 +30291,6 @@ paths: title: >- A record (of fact) is attached to a session or each consideration output from a contract - description: record is the on-chain record message. record_id_info: description: >- record_id_info contains information about the id/address @@ -31233,8 +30493,6 @@ paths: schema: type: object properties: - error: - type: string code: type: integer format: int32 @@ -31245,11 +30503,9 @@ paths: items: type: object properties: - type_url: - type: string - value: + '@type': type: string - format: byte + additionalProperties: {} parameters: - name: session_id description: >- @@ -31381,6 +30637,7 @@ paths: type: object properties: scope: + description: scope is the on-chain scope message. type: object properties: scope_id: @@ -31473,9 +30730,6 @@ paths: This also enables use of optional=true scope owners and session parties. - description: >- - Scope defines a root reference for a collection of records - owned by one or more parties. scope_id_info: description: >- scope_id_info contains information about the id/address of @@ -31546,6 +30800,7 @@ paths: type: object properties: session: + description: session is the on-chain session message. type: object properties: session_id: @@ -31655,16 +30910,6 @@ paths: AuditFields capture information about the last account to make modifications and when they were made - description: >- - Session defines an execution context against a specific - specification instance. - - The context will have a specification and set of parties - involved. - - - NOTE: When there are no more Records within a Scope that - reference a Session, the Session is removed. session_id_info: description: >- session_id_info contains information about the @@ -31781,6 +31026,7 @@ paths: type: object properties: record: + description: record is the on-chain record message. type: object properties: name: @@ -31908,7 +31154,6 @@ paths: title: >- A record (of fact) is attached to a session or each consideration output from a contract - description: record is the on-chain record message. record_id_info: description: >- record_id_info contains information about the id/address @@ -32107,8 +31352,6 @@ paths: schema: type: object properties: - error: - type: string code: type: integer format: int32 @@ -32119,11 +31362,9 @@ paths: items: type: object properties: - type_url: - type: string - value: + '@type': type: string - format: byte + additionalProperties: {} parameters: - name: session_id description: >- @@ -32253,6 +31494,7 @@ paths: type: object properties: scope: + description: scope is the on-chain scope message. type: object properties: scope_id: @@ -32345,9 +31587,6 @@ paths: This also enables use of optional=true scope owners and session parties. - description: >- - Scope defines a root reference for a collection of records - owned by one or more parties. scope_id_info: description: >- scope_id_info contains information about the id/address of @@ -32418,6 +31657,7 @@ paths: type: object properties: session: + description: session is the on-chain session message. type: object properties: session_id: @@ -32527,16 +31767,6 @@ paths: AuditFields capture information about the last account to make modifications and when they were made - description: >- - Session defines an execution context against a specific - specification instance. - - The context will have a specification and set of parties - involved. - - - NOTE: When there are no more Records within a Scope that - reference a Session, the Session is removed. session_id_info: description: >- session_id_info contains information about the @@ -32653,6 +31883,7 @@ paths: type: object properties: record: + description: record is the on-chain record message. type: object properties: name: @@ -32780,7 +32011,6 @@ paths: title: >- A record (of fact) is attached to a session or each consideration output from a contract - description: record is the on-chain record message. record_id_info: description: >- record_id_info contains information about the id/address @@ -32979,8 +32209,6 @@ paths: schema: type: object properties: - error: - type: string code: type: integer format: int32 @@ -32991,11 +32219,9 @@ paths: items: type: object properties: - type_url: + '@type': type: string - value: - type: string - format: byte + additionalProperties: {} parameters: - name: session_id description: >- @@ -33027,7 +32253,7 @@ paths: required: false type: string - name: name - description: name is the name of the record to look for. + description: name is the name of the record to look for in: query required: false type: string @@ -33077,6 +32303,7 @@ paths: type: object properties: session: + description: session is the on-chain session message. type: object properties: session_id: @@ -33186,16 +32413,6 @@ paths: AuditFields capture information about the last account to make modifications and when they were made - description: >- - Session defines an execution context against a specific - specification instance. - - The context will have a specification and set of parties - involved. - - - NOTE: When there are no more Records within a Scope that - reference a Session, the Session is removed. session_id_info: description: >- session_id_info contains information about the @@ -33410,8 +32627,6 @@ paths: schema: type: object properties: - error: - type: string code: type: integer format: int32 @@ -33422,11 +32637,9 @@ paths: items: type: object properties: - type_url: - type: string - value: + '@type': type: string - format: byte + additionalProperties: {} parameters: - name: exclude_id_info description: >- @@ -33620,8 +32833,6 @@ paths: schema: type: object properties: - error: - type: string code: type: integer format: int32 @@ -33632,11 +32843,9 @@ paths: items: type: object properties: - type_url: - type: string - value: + '@type': type: string - format: byte + additionalProperties: {} parameters: - name: address in: path @@ -33793,8 +33002,6 @@ paths: schema: type: object properties: - error: - type: string code: type: integer format: int32 @@ -33805,11 +33012,9 @@ paths: items: type: object properties: - type_url: - type: string - value: + '@type': type: string - format: byte + additionalProperties: {} parameters: - name: pagination.key description: |- @@ -33919,8 +33124,6 @@ paths: schema: type: object properties: - error: - type: string code: type: integer format: int32 @@ -33931,11 +33134,9 @@ paths: items: type: object properties: - type_url: - type: string - value: + '@type': type: string - format: byte + additionalProperties: {} tags: - Fees /provenance/tx/v1/calculate_msg_based_fee: @@ -34005,8 +33206,6 @@ paths: schema: type: object properties: - error: - type: string code: type: integer format: int32 @@ -34017,13 +33216,12 @@ paths: items: type: object properties: - type_url: - type: string - value: + '@type': type: string - format: byte + additionalProperties: {} parameters: - name: body + description: CalculateTxFeesRequest is the request type for the Query RPC method. in: body required: true schema: @@ -34091,8 +33289,6 @@ paths: schema: type: object properties: - error: - type: string code: type: integer format: int32 @@ -34103,11 +33299,9 @@ paths: items: type: object properties: - type_url: - type: string - value: + '@type': type: string - format: byte + additionalProperties: {} parameters: - name: address description: address to find name records for @@ -34211,8 +33405,6 @@ paths: schema: type: object properties: - error: - type: string code: type: integer format: int32 @@ -34223,11 +33415,9 @@ paths: items: type: object properties: - type_url: - type: string - value: + '@type': type: string - format: byte + additionalProperties: {} tags: - Name /provenance/name/v1/resolve/{name}: @@ -34254,8 +33444,6 @@ paths: schema: type: object properties: - error: - type: string code: type: integer format: int32 @@ -34266,11 +33454,9 @@ paths: items: type: object properties: - type_url: - type: string - value: + '@type': type: string - format: byte + additionalProperties: {} parameters: - name: name description: name to resolve the address for @@ -34301,8 +33487,6 @@ paths: schema: type: object properties: - error: - type: string code: type: integer format: int32 @@ -34313,11 +33497,9 @@ paths: items: type: object properties: - type_url: - type: string - value: + '@type': type: string - format: byte + additionalProperties: {} parameters: - name: query description: Query contains the query data passed to the oracle. @@ -34346,8 +33528,6 @@ paths: schema: type: object properties: - error: - type: string code: type: integer format: int32 @@ -34358,11 +33538,9 @@ paths: items: type: object properties: - type_url: - type: string - value: + '@type': type: string - format: byte + additionalProperties: {} tags: - Oracle /cosmos/sanction/v1beta1/all: @@ -34407,8 +33585,6 @@ paths: schema: type: object properties: - error: - type: string code: type: integer format: int32 @@ -34419,11 +33595,9 @@ paths: items: type: object properties: - type_url: - type: string - value: + '@type': type: string - format: byte + additionalProperties: {} parameters: - name: pagination.key description: |- @@ -34504,8 +33678,6 @@ paths: schema: type: object properties: - error: - type: string code: type: integer format: int32 @@ -34516,11 +33688,9 @@ paths: items: type: object properties: - type_url: - type: string - value: + '@type': type: string - format: byte + additionalProperties: {} parameters: - name: address in: path @@ -34604,8 +33774,6 @@ paths: schema: type: object properties: - error: - type: string code: type: integer format: int32 @@ -34616,11 +33784,9 @@ paths: items: type: object properties: - type_url: - type: string - value: + '@type': type: string - format: byte + additionalProperties: {} tags: - Sanction /cosmos/sanction/v1beta1/temp: @@ -34685,8 +33851,6 @@ paths: schema: type: object properties: - error: - type: string code: type: integer format: int32 @@ -34697,11 +33861,9 @@ paths: items: type: object properties: - type_url: - type: string - value: + '@type': type: string - format: byte + additionalProperties: {} parameters: - name: address description: address is an optional address to restrict results to. @@ -34789,8 +33951,6 @@ paths: schema: type: object properties: - error: - type: string code: type: integer format: int32 @@ -34801,11 +33961,9 @@ paths: items: type: object properties: - type_url: - type: string - value: + '@type': type: string - format: byte + additionalProperties: {} parameters: - name: to_address description: to_address is the address to check. @@ -34884,8 +34042,6 @@ paths: schema: type: object properties: - error: - type: string code: type: integer format: int32 @@ -34896,11 +34052,9 @@ paths: items: type: object properties: - type_url: - type: string - value: + '@type': type: string - format: byte + additionalProperties: {} parameters: - name: to_address description: to_address is the quarantined account to get info on. @@ -35040,8 +34194,6 @@ paths: schema: type: object properties: - error: - type: string code: type: integer format: int32 @@ -35052,11 +34204,9 @@ paths: items: type: object properties: - type_url: - type: string - value: + '@type': type: string - format: byte + additionalProperties: {} parameters: - name: to_address description: to_address is the quarantined account to get info on. @@ -35224,8 +34374,6 @@ paths: schema: type: object properties: - error: - type: string code: type: integer format: int32 @@ -35236,11 +34384,9 @@ paths: items: type: object properties: - type_url: + '@type': type: string - value: - type: string - format: byte + additionalProperties: {} parameters: - name: to_address description: >- @@ -35412,8 +34558,6 @@ paths: schema: type: object properties: - error: - type: string code: type: integer format: int32 @@ -35424,11 +34568,9 @@ paths: items: type: object properties: - type_url: - type: string - value: + '@type': type: string - format: byte + additionalProperties: {} parameters: - name: to_address description: >- @@ -35600,8 +34742,6 @@ paths: schema: type: object properties: - error: - type: string code: type: integer format: int32 @@ -35612,11 +34752,9 @@ paths: items: type: object properties: - type_url: + '@type': type: string - value: - type: string - format: byte + additionalProperties: {} parameters: - name: to_address description: >- @@ -35716,7 +34854,7 @@ paths: description: The event that must be detected for the trigger to fire. type: object properties: - type_url: + '@type': type: string description: >- A URL/resource name that uniquely identifies the @@ -35774,18 +34912,13 @@ paths: 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. + additionalProperties: {} actions: type: array items: type: object properties: - type_url: + '@type': type: string description: >- A URL/resource name that uniquely identifies the @@ -35843,12 +34976,7 @@ paths: 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. + additionalProperties: {} description: >- `Any` contains an arbitrary serialized protocol buffer message along with a @@ -35987,8 +35115,6 @@ paths: schema: type: object properties: - error: - type: string code: type: integer format: int32 @@ -35999,7 +35125,7 @@ paths: items: type: object properties: - type_url: + '@type': type: string description: >- A URL/resource name that uniquely identifies the type of @@ -36057,12 +35183,7 @@ paths: 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. + additionalProperties: {} description: >- `Any` contains an arbitrary serialized protocol buffer message along with a @@ -36241,6 +35362,7 @@ paths: type: object properties: trigger: + description: The trigger object that was queried for. type: object properties: id: @@ -36254,7 +35376,7 @@ paths: description: The event that must be detected for the trigger to fire. type: object properties: - type_url: + '@type': type: string description: >- A URL/resource name that uniquely identifies the type @@ -36312,18 +35434,13 @@ paths: 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. + additionalProperties: {} actions: type: array items: type: object properties: - type_url: + '@type': type: string description: >- A URL/resource name that uniquely identifies the @@ -36381,12 +35498,7 @@ paths: 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. + additionalProperties: {} description: >- `Any` contains an arbitrary serialized protocol buffer message along with a @@ -36499,15 +35611,12 @@ paths: } description: The messages to run when the trigger fires. title: Trigger - description: The trigger object that was queried for. description: QueryTriggerByIDResponse contains the requested Trigger. default: description: An unexpected error response. schema: type: object properties: - error: - type: string code: type: integer format: int32 @@ -36518,7 +35627,7 @@ paths: items: type: object properties: - type_url: + '@type': type: string description: >- A URL/resource name that uniquely identifies the type of @@ -36576,12 +35685,7 @@ paths: 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. + additionalProperties: {} description: >- `Any` contains an arbitrary serialized protocol buffer message along with a @@ -36699,6 +35803,48 @@ paths: format: uint64 tags: - Trigger + /provenance/ibchooks/v1/params: + get: + summary: Params queries params of the ihchooks module. + operationId: IBCHooksParams + responses: + '200': + description: A successful response. + schema: + type: object + properties: + params: + description: params defines the parameters of the module. + type: object + properties: + allowed_async_ack_contracts: + type: array + items: + type: string + title: Params defines the allowed async ack contracts + description: >- + QueryParamsResponse is the response type for the Query/Params RPC + method. + default: + description: An unexpected error response. + schema: + type: object + properties: + code: + type: integer + format: int32 + message: + type: string + details: + type: array + items: + type: object + properties: + '@type': + type: string + additionalProperties: {} + tags: + - IBC Hooks /cosmos/auth/v1beta1/account_info/{address}: get: summary: AccountInfo queries account info which is common to all account types. @@ -72903,6 +72049,55 @@ definitions: google.protobuf.Any: type: object properties: + '@type': + 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. type_url: type: string description: >- @@ -72958,6 +72153,7 @@ definitions: description: >- Must be a valid serialized protocol buffer of the above specified type. + additionalProperties: {} description: >- `Any` contains an arbitrary serialized protocol buffer message along with a @@ -73055,11 +72251,9 @@ definitions: "@type": "type.googleapis.com/google.protobuf.Duration", "value": "1.212s" } - grpc.gateway.runtime.Error: + google.rpc.Status: type: object properties: - error: - type: string code: type: integer format: int32 @@ -73070,7 +72264,7 @@ definitions: items: type: object properties: - type_url: + '@type': type: string description: >- A URL/resource name that uniquely identifies the type of the @@ -73124,12 +72318,7 @@ definitions: be used with implementation specific semantics. - value: - type: string - format: byte - description: >- - Must be a valid serialized protocol buffer of the above - specified type. + additionalProperties: {} description: >- `Any` contains an arbitrary serialized protocol buffer message along with a @@ -73668,41 +72857,47 @@ definitions: seller is the address of the account that owns this order and has the assets to sell. assets: + description: |- + assets are the things that the seller wishes to sell. + A hold is placed on this until the order is filled or cancelled. type: object properties: denom: type: string amount: type: string - description: |- - Coin defines a token with a denomination and an amount. - - NOTE: The amount field is an Int which implements the custom method - signatures required by gogoproto. price: + description: >- + price is the minimum amount that the seller is willing to accept for + the assets. The seller's settlement + + proportional fee (and possibly the settlement flat fee) is taken out + of the amount the seller receives, + + so it's possible that the seller will still receive less than this + price. type: object properties: denom: type: string amount: type: string - description: |- - Coin defines a token with a denomination and an amount. - - NOTE: The amount field is an Int which implements the custom method - signatures required by gogoproto. seller_settlement_flat_fee: + description: >- + seller_settlement_flat_fee is the flat fee for sellers that will be + charged during settlement. If this denom is the + + same denom as the price, it will come out of the actual price + received. If this denom is different, the amount must + + be in the seller's account and a hold is placed on it until the order + is filled or cancelled. type: object properties: denom: type: string amount: type: string - description: |- - Coin defines a token with a denomination and an amount. - - NOTE: The amount field is an Int which implements the custom method - signatures required by gogoproto. allow_partial: type: boolean description: >- @@ -73732,29 +72927,23 @@ definitions: buyer is the address of the account that owns this order and has the price to spend. assets: + description: assets are the things that the buyer wishes to buy. type: object properties: denom: type: string amount: type: string - description: |- - Coin defines a token with a denomination and an amount. - - NOTE: The amount field is an Int which implements the custom method - signatures required by gogoproto. price: + description: |- + price is the amount that the buyer will pay for the assets. + A hold is placed on this until the order is filled or cancelled. type: object properties: denom: type: string amount: type: string - description: |- - Coin defines a token with a denomination and an amount. - - NOTE: The amount field is an Int which implements the custom method - signatures required by gogoproto. buyer_settlement_fees: type: array items: @@ -73842,29 +73031,23 @@ definitions: type: object properties: price: + description: >- + price is the unit the order price is divided by to get how much of the + fee should apply. type: object properties: denom: type: string amount: type: string - description: |- - Coin defines a token with a denomination and an amount. - - NOTE: The amount field is an Int which implements the custom method - signatures required by gogoproto. fee: + description: fee is the amount to charge per price unit. type: object properties: denom: type: string amount: type: string - description: |- - Coin defines 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: >- FeeRatio defines a ratio of price amount to fee amount. @@ -73967,35 +73150,23 @@ definitions: type: object properties: price: + description: >- + price is the unit the order price is divided by to get how much + of the fee should apply. type: object properties: denom: type: string amount: type: string - description: >- - Coin defines a token with a denomination and an amount. - - - NOTE: The amount field is an Int which implements the custom - method - - signatures required by gogoproto. fee: + description: fee is the amount to charge per price unit. type: object properties: denom: type: string amount: type: string - description: >- - Coin defines 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: >- FeeRatio defines a ratio of price amount to fee amount. @@ -74035,35 +73206,23 @@ definitions: type: object properties: price: + description: >- + price is the unit the order price is divided by to get how much + of the fee should apply. type: object properties: denom: type: string amount: type: string - description: >- - Coin defines a token with a denomination and an amount. - - - NOTE: The amount field is an Int which implements the custom - method - - signatures required by gogoproto. fee: + description: fee is the amount to charge per price unit. type: object properties: denom: type: string amount: type: string - description: >- - Coin defines 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: >- FeeRatio defines a ratio of price amount to fee amount. @@ -74464,35 +73623,23 @@ definitions: type: object properties: price: + description: >- + price is the unit the order price is divided by to get how + much of the fee should apply. type: object properties: denom: type: string amount: type: string - description: >- - Coin defines a token with a denomination and an amount. - - - NOTE: The amount field is an Int which implements the custom - method - - signatures required by gogoproto. fee: + description: fee is the amount to charge per price unit. type: object properties: denom: type: string amount: type: string - description: >- - Coin defines 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: >- FeeRatio defines a ratio of price amount to fee amount. @@ -74535,35 +73682,23 @@ definitions: type: object properties: price: + description: >- + price is the unit the order price is divided by to get how + much of the fee should apply. type: object properties: denom: type: string amount: type: string - description: >- - Coin defines a token with a denomination and an amount. - - - NOTE: The amount field is an Int which implements the custom - method - - signatures required by gogoproto. fee: + description: fee is the amount to charge per price unit. type: object properties: denom: type: string amount: type: string - description: >- - Coin defines 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: >- FeeRatio defines a ratio of price amount to fee amount. @@ -74887,35 +74022,23 @@ definitions: type: object properties: price: + description: >- + price is the unit the order price is divided by to get how much + of the fee should apply. type: object properties: denom: type: string amount: type: string - description: >- - Coin defines a token with a denomination and an amount. - - - NOTE: The amount field is an Int which implements the custom - method - - signatures required by gogoproto. fee: + description: fee is the amount to charge per price unit. type: object properties: denom: type: string amount: type: string - description: >- - Coin defines 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: >- FeeRatio defines a ratio of price amount to fee amount. @@ -74930,35 +74053,23 @@ definitions: type: object properties: price: + description: >- + price is the unit the order price is divided by to get how much + of the fee should apply. type: object properties: denom: type: string amount: type: string - description: >- - Coin defines a token with a denomination and an amount. - - - NOTE: The amount field is an Int which implements the custom - method - - signatures required by gogoproto. fee: + description: fee is the amount to charge per price unit. type: object properties: denom: type: string amount: type: string - description: >- - Coin defines 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: >- FeeRatio defines a ratio of price amount to fee amount. @@ -75007,35 +74118,23 @@ definitions: type: object properties: price: + description: >- + price is the unit the order price is divided by to get how much + of the fee should apply. type: object properties: denom: type: string amount: type: string - description: >- - Coin defines a token with a denomination and an amount. - - - NOTE: The amount field is an Int which implements the custom - method - - signatures required by gogoproto. fee: + description: fee is the amount to charge per price unit. type: object properties: denom: type: string amount: type: string - description: >- - Coin defines 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: >- FeeRatio defines a ratio of price amount to fee amount. @@ -75050,35 +74149,23 @@ definitions: type: object properties: price: + description: >- + price is the unit the order price is divided by to get how much + of the fee should apply. type: object properties: denom: type: string amount: type: string - description: >- - Coin defines a token with a denomination and an amount. - - - NOTE: The amount field is an Int which implements the custom - method - - signatures required by gogoproto. fee: + description: fee is the amount to charge per price unit. type: object properties: denom: type: string amount: type: string - description: >- - Coin defines 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: >- FeeRatio defines a ratio of price amount to fee amount. @@ -75258,35 +74345,21 @@ definitions: type: object properties: assets: + description: assets is the volume and denom that has been bought or sold. type: object properties: denom: type: string amount: type: string - description: >- - Coin defines a token with a denomination and an amount. - - - NOTE: The amount field is an Int which implements the custom - method - - signatures required by gogoproto. price: + description: price is what was paid for the assets. type: object properties: denom: type: string amount: type: string - description: >- - Coin defines 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: >- NetAssetPrice is an association of assets and price used to record the value of things. @@ -75308,29 +74381,21 @@ definitions: type: object properties: assets: + description: assets is the volume and denom that has been bought or sold. type: object properties: denom: type: string amount: type: string - description: |- - Coin defines a token with a denomination and an amount. - - NOTE: The amount field is an Int which implements the custom method - signatures required by gogoproto. price: + description: price is what was paid for the assets. type: object properties: denom: type: string amount: type: string - description: |- - Coin defines 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: >- NetAssetPrice is an association of assets and price used to record the value of things. @@ -75360,50 +74425,47 @@ definitions: seller is the address of the account that owns this order and has the assets to sell. assets: + description: |- + assets are the things that the seller wishes to sell. + A hold is placed on this until the order is filled or cancelled. type: object properties: denom: type: string amount: type: string + price: description: >- - Coin defines a token with a denomination and an amount. - + price is the minimum amount that the seller is willing to accept + for the assets. The seller's settlement - NOTE: The amount field is an Int which implements the custom - method + proportional fee (and possibly the settlement flat fee) is taken + out of the amount the seller receives, - signatures required by gogoproto. - price: + so it's possible that the seller will still receive less than this + price. type: object properties: denom: type: string amount: type: string + seller_settlement_flat_fee: description: >- - Coin defines a token with a denomination and an amount. + seller_settlement_flat_fee is the flat fee for sellers that will + be charged during settlement. If this denom is the + same denom as the price, it will come out of the actual price + received. If this denom is different, the amount must - NOTE: The amount field is an Int which implements the custom - method - - signatures required by gogoproto. - seller_settlement_flat_fee: + be in the seller's account and a hold is placed on it until the + order is filled or cancelled. type: object properties: denom: type: string amount: type: string - description: >- - Coin defines a token with a denomination and an amount. - - - NOTE: The amount field is an Int which implements the custom - method - - signatures required by gogoproto. allow_partial: type: boolean description: >- @@ -75435,35 +74497,23 @@ definitions: buyer is the address of the account that owns this order and has the price to spend. assets: + description: assets are the things that the buyer wishes to buy. type: object properties: denom: type: string amount: type: string - description: >- - Coin defines a token with a denomination and an amount. - - - NOTE: The amount field is an Int which implements the custom - method - - signatures required by gogoproto. price: + description: |- + price is the amount that the buyer will pay for the assets. + A hold is placed on this until the order is filled or cancelled. type: object properties: denom: type: string amount: type: string - description: >- - Coin defines a token with a denomination and an amount. - - - NOTE: The amount field is an Int which implements the custom - method - - signatures required by gogoproto. buyer_settlement_fees: type: array items: @@ -75747,35 +74797,21 @@ definitions: type: object properties: assets: + description: assets is the volume and denom that has been bought or sold. type: object properties: denom: type: string amount: type: string - description: >- - Coin defines a token with a denomination and an amount. - - - NOTE: The amount field is an Int which implements the custom - method - - signatures required by gogoproto. price: + description: price is what was paid for the assets. type: object properties: denom: type: string amount: type: string - description: >- - Coin defines 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: >- NetAssetPrice is an association of assets and price used to record the value of things. @@ -75786,44 +74822,27 @@ definitions: conversion_navs are the NAVs used to convert the input_total to the converted_total. to_fee_nav: + description: >- + to_fee_nav is the NAV used to convert the converted_total into the fee + denom. type: object properties: assets: + description: assets is the volume and denom that has been bought or sold. type: object properties: denom: type: string amount: type: string - description: >- - Coin defines a token with a denomination and an amount. - - - NOTE: The amount field is an Int which implements the custom - method - - signatures required by gogoproto. price: + description: price is what was paid for the assets. type: object properties: denom: type: string amount: type: string - description: >- - Coin defines 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: >- - NetAssetPrice is an association of assets and price used to record the - value of things. - - It is related to the NetAssetValue message from the x/marker module, - and is therefore often referred to as "a NAV". description: >- QueryCommitmentSettlementFeeCalcResponse is a response message for the CommitmentSettlementFeeCalc query. @@ -76020,50 +75039,49 @@ definitions: seller is the address of the account that owns this order and has the assets to sell. assets: + description: >- + assets are the things that the seller wishes to sell. + + A hold is placed on this until the order is filled or + cancelled. type: object properties: denom: type: string amount: type: string + price: description: >- - Coin defines a token with a denomination and an amount. - + price is the minimum amount that the seller is willing to + accept for the assets. The seller's settlement - NOTE: The amount field is an Int which implements the custom - method + proportional fee (and possibly the settlement flat fee) is + taken out of the amount the seller receives, - signatures required by gogoproto. - price: + so it's possible that the seller will still receive less + than this price. type: object properties: denom: type: string amount: type: string + seller_settlement_flat_fee: description: >- - Coin defines a token with a denomination and an amount. + seller_settlement_flat_fee is the flat fee for sellers that + will be charged during settlement. If this denom is the + same denom as the price, it will come out of the actual + price received. If this denom is different, the amount must - NOTE: The amount field is an Int which implements the custom - method - - signatures required by gogoproto. - seller_settlement_flat_fee: + be in the seller's account and a hold is placed on it until + the order is filled or cancelled. type: object properties: denom: type: string amount: type: string - description: >- - Coin defines a token with a denomination and an amount. - - - NOTE: The amount field is an Int which implements the custom - method - - signatures required by gogoproto. allow_partial: type: boolean description: >- @@ -76095,35 +75113,25 @@ definitions: buyer is the address of the account that owns this order and has the price to spend. assets: + description: assets are the things that the buyer wishes to buy. type: object properties: denom: type: string amount: type: string + price: description: >- - Coin defines a token with a denomination and an amount. - + price is the amount that the buyer will pay for the assets. - NOTE: The amount field is an Int which implements the custom - method - - signatures required by gogoproto. - price: + A hold is placed on this until the order is filled or + cancelled. type: object properties: denom: type: string amount: type: string - description: >- - Coin defines a token with a denomination and an amount. - - - NOTE: The amount field is an Int which implements the custom - method - - signatures required by gogoproto. buyer_settlement_fees: type: array items: @@ -76333,50 +75341,49 @@ definitions: seller is the address of the account that owns this order and has the assets to sell. assets: + description: >- + assets are the things that the seller wishes to sell. + + A hold is placed on this until the order is filled or + cancelled. type: object properties: denom: type: string amount: type: string + price: description: >- - Coin defines a token with a denomination and an amount. + price is the minimum amount that the seller is willing to + accept for the assets. The seller's settlement + proportional fee (and possibly the settlement flat fee) is + taken out of the amount the seller receives, - NOTE: The amount field is an Int which implements the custom - method - - signatures required by gogoproto. - price: + so it's possible that the seller will still receive less + than this price. type: object properties: denom: type: string amount: type: string + seller_settlement_flat_fee: description: >- - Coin defines a token with a denomination and an amount. + seller_settlement_flat_fee is the flat fee for sellers that + will be charged during settlement. If this denom is the + same denom as the price, it will come out of the actual + price received. If this denom is different, the amount must - NOTE: The amount field is an Int which implements the custom - method - - signatures required by gogoproto. - seller_settlement_flat_fee: + be in the seller's account and a hold is placed on it until + the order is filled or cancelled. type: object properties: denom: type: string amount: type: string - description: >- - Coin defines a token with a denomination and an amount. - - - NOTE: The amount field is an Int which implements the custom - method - - signatures required by gogoproto. allow_partial: type: boolean description: >- @@ -76408,35 +75415,25 @@ definitions: buyer is the address of the account that owns this order and has the price to spend. assets: + description: assets are the things that the buyer wishes to buy. type: object properties: denom: type: string amount: type: string + price: description: >- - Coin defines a token with a denomination and an amount. - - - NOTE: The amount field is an Int which implements the custom - method + price is the amount that the buyer will pay for the assets. - signatures required by gogoproto. - price: + A hold is placed on this until the order is filled or + cancelled. type: object properties: denom: type: string amount: type: string - description: >- - Coin defines a token with a denomination and an amount. - - - NOTE: The amount field is an Int which implements the custom - method - - signatures required by gogoproto. buyer_settlement_fees: type: array items: @@ -76604,50 +75601,49 @@ definitions: seller is the address of the account that owns this order and has the assets to sell. assets: + description: >- + assets are the things that the seller wishes to sell. + + A hold is placed on this until the order is filled or + cancelled. type: object properties: denom: type: string amount: type: string + price: description: >- - Coin defines a token with a denomination and an amount. + price is the minimum amount that the seller is willing to + accept for the assets. The seller's settlement + proportional fee (and possibly the settlement flat fee) is + taken out of the amount the seller receives, - NOTE: The amount field is an Int which implements the custom - method - - signatures required by gogoproto. - price: + so it's possible that the seller will still receive less + than this price. type: object properties: denom: type: string amount: type: string + seller_settlement_flat_fee: description: >- - Coin defines a token with a denomination and an amount. + seller_settlement_flat_fee is the flat fee for sellers that + will be charged during settlement. If this denom is the + same denom as the price, it will come out of the actual + price received. If this denom is different, the amount must - NOTE: The amount field is an Int which implements the custom - method - - signatures required by gogoproto. - seller_settlement_flat_fee: + be in the seller's account and a hold is placed on it until + the order is filled or cancelled. type: object properties: denom: type: string amount: type: string - description: >- - Coin defines a token with a denomination and an amount. - - - NOTE: The amount field is an Int which implements the custom - method - - signatures required by gogoproto. allow_partial: type: boolean description: >- @@ -76679,35 +75675,25 @@ definitions: buyer is the address of the account that owns this order and has the price to spend. assets: + description: assets are the things that the buyer wishes to buy. type: object properties: denom: type: string amount: type: string + price: description: >- - Coin defines a token with a denomination and an amount. - - - NOTE: The amount field is an Int which implements the custom - method + price is the amount that the buyer will pay for the assets. - signatures required by gogoproto. - price: + A hold is placed on this until the order is filled or + cancelled. type: object properties: denom: type: string amount: type: string - description: >- - Coin defines a token with a denomination and an amount. - - - NOTE: The amount field is an Int which implements the custom - method - - signatures required by gogoproto. buyer_settlement_fees: type: array items: @@ -76886,35 +75872,23 @@ definitions: type: object properties: price: + description: >- + price is the unit the order price is divided by to get how + much of the fee should apply. type: object properties: denom: type: string amount: type: string - description: >- - Coin defines a token with a denomination and an amount. - - - NOTE: The amount field is an Int which implements the custom - method - - signatures required by gogoproto. fee: + description: fee is the amount to charge per price unit. type: object properties: denom: type: string amount: type: string - description: >- - Coin defines 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: >- FeeRatio defines a ratio of price amount to fee amount. @@ -76957,35 +75931,23 @@ definitions: type: object properties: price: + description: >- + price is the unit the order price is divided by to get how + much of the fee should apply. type: object properties: denom: type: string amount: type: string - description: >- - Coin defines a token with a denomination and an amount. - - - NOTE: The amount field is an Int which implements the custom - method - - signatures required by gogoproto. fee: + description: fee is the amount to charge per price unit. type: object properties: denom: type: string amount: type: string - description: >- - Coin defines 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: >- FeeRatio defines a ratio of price amount to fee amount. @@ -77220,222 +76182,49 @@ definitions: seller is the address of the account that owns this order and has the assets to sell. assets: - type: object - properties: - denom: - type: string - amount: - type: string description: >- - Coin defines a token with a denomination and an amount. - - - NOTE: The amount field is an Int which implements the custom - method - - signatures required by gogoproto. - price: - type: object - properties: - denom: - type: string - amount: - type: string - description: >- - Coin defines a token with a denomination and an amount. - - - NOTE: The amount field is an Int which implements the custom - method + assets are the things that the seller wishes to sell. - signatures required by gogoproto. - seller_settlement_flat_fee: + A hold is placed on this until the order is filled or + cancelled. type: object properties: denom: type: string amount: type: string - description: >- - Coin defines a token with a denomination and an amount. - - - NOTE: The amount field is an Int which implements the custom - method - - signatures required by gogoproto. - allow_partial: - type: boolean - description: >- - allow_partial should be true if partial fulfillment of this - order should be allowed, and should be false if the - - order must be either filled in full or not filled at all. - external_id: - type: string - description: >- - external_id is an optional string used to externally identify - this order. Max length is 100 characters. - - If an order in this market with this external id already - exists, this order will be rejected. - bid_order: - description: >- - bid_order is the information about this order if it represents a - bid order. - type: object - properties: - market_id: - type: integer - format: int64 - description: market_id identifies the market that this order belongs to. - buyer: - type: string - description: >- - buyer is the address of the account that owns this order and - has the price to spend. - assets: - type: object - properties: - denom: - type: string - amount: - type: string - description: >- - Coin defines a token with a denomination and an amount. - - - NOTE: The amount field is an Int which implements the custom - method - - signatures required by gogoproto. price: - type: object - properties: - denom: - type: string - amount: - type: string - description: >- - Coin defines a token with a denomination and an amount. - - - NOTE: The amount field is an Int which implements the custom - method - - signatures required by gogoproto. - buyer_settlement_fees: - 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: >- - buyer_settlement_fees are the fees (both flat and - proportional) that the buyer will pay (in addition to the - price) - - when the order is settled. A hold is placed on this until the - order is filled or cancelled. - allow_partial: - type: boolean - description: >- - allow_partial should be true if partial fulfillment of this - order should be allowed, and should be false if the - - order must be either filled in full or not filled at all. - external_id: - type: string - description: >- - external_id is an optional string used to externally identify - this order. Max length is 100 characters. - - If an order in this market with this external id already - exists, this order will be rejected. - description: >- - QueryGetOrderByExternalIDResponse is a response message for the - GetOrderByExternalID query. - provenance.exchange.v1.QueryGetOrderResponse: - type: object - properties: - order: - type: object - properties: - order_id: - type: string - format: uint64 - description: order_id is the numerical identifier for this order. - ask_order: - description: >- - ask_order is the information about this order if it represents an - ask order. - type: object - properties: - market_id: - type: integer - format: int64 - description: market_id identifies the market that this order belongs to. - seller: - type: string description: >- - seller is the address of the account that owns this order and - has the assets to sell. - assets: - type: object - properties: - denom: - type: string - amount: - type: string - description: >- - Coin defines a token with a denomination and an amount. + price is the minimum amount that the seller is willing to + accept for the assets. The seller's settlement + proportional fee (and possibly the settlement flat fee) is + taken out of the amount the seller receives, - NOTE: The amount field is an Int which implements the custom - method - - signatures required by gogoproto. - price: + so it's possible that the seller will still receive less than + this price. type: object properties: denom: type: string amount: type: string + seller_settlement_flat_fee: description: >- - Coin defines a token with a denomination and an amount. - + seller_settlement_flat_fee is the flat fee for sellers that + will be charged during settlement. If this denom is the - NOTE: The amount field is an Int which implements the custom - method + same denom as the price, it will come out of the actual price + received. If this denom is different, the amount must - signatures required by gogoproto. - seller_settlement_flat_fee: + be in the seller's account and a hold is placed on it until + the order is filled or cancelled. type: object properties: denom: type: string amount: type: string - description: >- - Coin defines a token with a denomination and an amount. - - - NOTE: The amount field is an Int which implements the custom - method - - signatures required by gogoproto. allow_partial: type: boolean description: >- @@ -77467,35 +76256,187 @@ definitions: buyer is the address of the account that owns this order and has the price to spend. assets: + description: assets are the things that the buyer wishes to buy. type: object properties: denom: type: string amount: type: string + price: description: >- - Coin defines a token with a denomination and an amount. + price is the amount that the buyer will pay for the assets. + A hold is placed on this until the order is filled or + cancelled. + type: object + properties: + denom: + type: string + amount: + type: string + buyer_settlement_fees: + 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. + NOTE: The amount field is an Int which implements the custom + method + + signatures required by gogoproto. + description: >- + buyer_settlement_fees are the fees (both flat and + proportional) that the buyer will pay (in addition to the + price) + + when the order is settled. A hold is placed on this until the + order is filled or cancelled. + allow_partial: + type: boolean + description: >- + allow_partial should be true if partial fulfillment of this + order should be allowed, and should be false if the + + order must be either filled in full or not filled at all. + external_id: + type: string + description: >- + external_id is an optional string used to externally identify + this order. Max length is 100 characters. + + If an order in this market with this external id already + exists, this order will be rejected. + description: >- + QueryGetOrderByExternalIDResponse is a response message for the + GetOrderByExternalID query. + provenance.exchange.v1.QueryGetOrderResponse: + type: object + properties: + order: + description: order is the requested order. + type: object + properties: + order_id: + type: string + format: uint64 + description: order_id is the numerical identifier for this order. + ask_order: + description: >- + ask_order is the information about this order if it represents an + ask order. + type: object + properties: + market_id: + type: integer + format: int64 + description: market_id identifies the market that this order belongs to. + seller: + type: string + description: >- + seller is the address of the account that owns this order and + has the assets to sell. + assets: + description: >- + assets are the things that the seller wishes to sell. + + A hold is placed on this until the order is filled or + cancelled. + type: object + properties: + denom: + type: string + amount: + type: string price: + description: >- + price is the minimum amount that the seller is willing to + accept for the assets. The seller's settlement + + proportional fee (and possibly the settlement flat fee) is + taken out of the amount the seller receives, + + so it's possible that the seller will still receive less than + this price. type: object properties: denom: type: string amount: type: string + seller_settlement_flat_fee: description: >- - Coin defines a token with a denomination and an amount. + seller_settlement_flat_fee is the flat fee for sellers that + will be charged during settlement. If this denom is the + same denom as the price, it will come out of the actual price + received. If this denom is different, the amount must - NOTE: The amount field is an Int which implements the custom - method + be in the seller's account and a hold is placed on it until + the order is filled or cancelled. + type: object + properties: + denom: + type: string + amount: + type: string + allow_partial: + type: boolean + description: >- + allow_partial should be true if partial fulfillment of this + order should be allowed, and should be false if the - signatures required by gogoproto. + order must be either filled in full or not filled at all. + external_id: + type: string + description: >- + external_id is an optional string used to externally identify + this order. Max length is 100 characters. + + If an order in this market with this external id already + exists, this order will be rejected. + bid_order: + description: >- + bid_order is the information about this order if it represents a + bid order. + type: object + properties: + market_id: + type: integer + format: int64 + description: market_id identifies the market that this order belongs to. + buyer: + type: string + description: >- + buyer is the address of the account that owns this order and + has the price to spend. + assets: + description: assets are the things that the buyer wishes to buy. + type: object + properties: + denom: + type: string + amount: + type: string + price: + description: >- + price is the amount that the buyer will pay for the assets. + + A hold is placed on this until the order is filled or + cancelled. + type: object + properties: + denom: + type: string + amount: + type: string buyer_settlement_fees: type: array items: @@ -77535,7 +76476,6 @@ definitions: If an order in this market with this external id already exists, this order will be rejected. - description: Order associates an order id with one of the order types. description: QueryGetOrderResponse is a response message for the GetOrder query. provenance.exchange.v1.QueryGetOwnerOrdersResponse: type: object @@ -77565,50 +76505,49 @@ definitions: seller is the address of the account that owns this order and has the assets to sell. assets: + description: >- + assets are the things that the seller wishes to sell. + + A hold is placed on this until the order is filled or + cancelled. type: object properties: denom: type: string amount: type: string + price: description: >- - Coin defines a token with a denomination and an amount. + price is the minimum amount that the seller is willing to + accept for the assets. The seller's settlement + proportional fee (and possibly the settlement flat fee) is + taken out of the amount the seller receives, - NOTE: The amount field is an Int which implements the custom - method - - signatures required by gogoproto. - price: + so it's possible that the seller will still receive less + than this price. type: object properties: denom: type: string amount: type: string + seller_settlement_flat_fee: description: >- - Coin defines a token with a denomination and an amount. - + seller_settlement_flat_fee is the flat fee for sellers that + will be charged during settlement. If this denom is the - NOTE: The amount field is an Int which implements the custom - method + same denom as the price, it will come out of the actual + price received. If this denom is different, the amount must - signatures required by gogoproto. - seller_settlement_flat_fee: + be in the seller's account and a hold is placed on it until + the order is filled or cancelled. type: object properties: denom: type: string amount: type: string - description: >- - Coin defines a token with a denomination and an amount. - - - NOTE: The amount field is an Int which implements the custom - method - - signatures required by gogoproto. allow_partial: type: boolean description: >- @@ -77640,35 +76579,25 @@ definitions: buyer is the address of the account that owns this order and has the price to spend. assets: + description: assets are the things that the buyer wishes to buy. type: object properties: denom: type: string amount: type: string + price: description: >- - Coin defines a token with a denomination and an amount. - - - NOTE: The amount field is an Int which implements the custom - method + price is the amount that the buyer will pay for the assets. - signatures required by gogoproto. - price: + A hold is placed on this until the order is filled or + cancelled. type: object properties: denom: type: string amount: type: string - description: >- - Coin defines a token with a denomination and an amount. - - - NOTE: The amount field is an Int which implements the custom - method - - signatures required by gogoproto. buyer_settlement_fees: type: array items: @@ -78874,6 +77803,7 @@ definitions: type: object properties: price: + title: price is the complete value of the asset's volume type: object properties: denom: @@ -78885,7 +77815,6 @@ definitions: NOTE: The amount field is an Int which implements the custom method signatures required by gogoproto. - title: price is the complete value of the asset's volume volume: type: string format: uint64 @@ -78995,7 +77924,7 @@ definitions: items: type: object properties: - type_url: + '@type': type: string description: >- A URL/resource name that uniquely identifies the type of the @@ -79049,12 +77978,7 @@ definitions: be used with implementation specific semantics. - value: - type: string - format: byte - description: >- - Must be a valid serialized protocol buffer of the above - specified type. + additionalProperties: {} description: >- `Any` contains an arbitrary serialized protocol buffer message along with a @@ -79346,7 +78270,7 @@ definitions: marker: type: object properties: - type_url: + '@type': type: string description: >- A URL/resource name that uniquely identifies the type of the @@ -79398,12 +78322,7 @@ definitions: 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. + additionalProperties: {} description: >- `Any` contains an arbitrary serialized protocol buffer message along with a @@ -79512,6 +78431,7 @@ definitions: type: object properties: price: + title: price is the complete value of the asset's volume type: object properties: denom: @@ -79526,7 +78446,6 @@ definitions: method signatures required by gogoproto. - title: price is the complete value of the asset's volume volume: type: string format: uint64 @@ -79574,17 +78493,13 @@ definitions: type: object properties: amount: + description: amount is the supply of the marker. type: object properties: denom: type: string amount: type: string - description: |- - Coin defines 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: >- QuerySupplyResponse is the response type for the Query/MarkerSupply method. @@ -79991,6 +78906,7 @@ definitions: type: object properties: specification: + description: specification is the on-chain contract specification message. type: object properties: specification_id: @@ -80070,7 +78986,6 @@ definitions: title: >- ContractSpecification defines the required parties, resources, conditions, and consideration outputs for a contract - description: specification is the on-chain contract specification message. contract_spec_id_info: description: >- contract_spec_id_info contains information about the id/address of @@ -80111,6 +79026,7 @@ definitions: type: object properties: specification: + description: specification is the on-chain record specification message. type: object properties: specification_id: @@ -80212,7 +79128,6 @@ definitions: title: >- RecordSpecification defines the specification for a Record including allowed/required inputs/outputs - description: specification is the on-chain record specification message. record_spec_id_info: description: >- record_spec_id_info contains information about the id/address of @@ -80330,6 +79245,7 @@ definitions: type: object properties: specification: + description: specification is the on-chain contract specification message. type: object properties: specification_id: @@ -80407,7 +79323,6 @@ definitions: title: >- ContractSpecification defines the required parties, resources, conditions, and consideration outputs for a contract - description: specification is the on-chain contract specification message. contract_spec_id_info: description: >- contract_spec_id_info contains information about the id/address of the @@ -80524,6 +79439,7 @@ definitions: type: object properties: specification: + description: specification is the on-chain contract specification message. type: object properties: specification_id: @@ -80605,7 +79521,6 @@ definitions: title: >- ContractSpecification defines the required parties, resources, conditions, and consideration outputs for a contract - description: specification is the on-chain contract specification message. contract_spec_id_info: description: >- contract_spec_id_info contains information about the id/address @@ -81425,6 +80340,18 @@ definitions: type: string format: uint64 title: updated_block_height is the block height of last update + volume: + type: string + format: uint64 + title: >- + volume is the number of scope instances that were purchased for the + price + + Typically this will be null (equivalent to one) or one. The only + reason this would be more than + + one is for cases where the precision of the price denom is + insufficient to represent the actual price title: NetAssetValue defines a scope's net asset value provenance.metadata.v1.OSAllLocatorsRequest: type: object @@ -82243,6 +81170,18 @@ definitions: type: string format: uint64 title: updated_block_height is the block height of last update + volume: + type: string + format: uint64 + title: >- + volume is the number of scope instances that were purchased for + the price + + Typically this will be null (equivalent to one) or one. The + only reason this would be more than + + one is for cases where the precision of the price denom is + insufficient to represent the actual price title: NetAssetValue defines a scope's net asset value title: net asset values for scope description: >- @@ -82679,9 +81618,11 @@ definitions: type: object properties: record_specification: + description: record_specification is the wrapped record specification. type: object properties: specification: + description: specification is the on-chain record specification message. type: object properties: specification_id: @@ -82783,7 +81724,6 @@ definitions: title: >- RecordSpecification defines the specification for a Record including allowed/required inputs/outputs - description: specification is the on-chain record specification message. record_spec_id_info: description: >- record_spec_id_info contains information about the id/address of @@ -82853,9 +81793,6 @@ definitions: description: >- contract_spec_uuid is the uuid hex string of the contract_spec_id_contract_spec_uuid. - description: >- - RecordSpecificationWrapper contains a single record specification and - some extra identifiers for it. request: description: request is a copy of the request that generated these results. type: object @@ -82899,6 +81836,7 @@ definitions: type: object properties: specification: + description: specification is the on-chain record specification message. type: object properties: specification_id: @@ -82996,7 +81934,6 @@ definitions: title: >- RecordSpecification defines the specification for a Record including allowed/required inputs/outputs - description: specification is the on-chain record specification message. record_spec_id_info: description: >- record_spec_id_info contains information about the id/address of the @@ -83146,6 +82083,7 @@ definitions: type: object properties: specification: + description: specification is the on-chain record specification message. type: object properties: specification_id: @@ -83247,7 +82185,6 @@ definitions: title: >- RecordSpecification defines the specification for a Record including allowed/required inputs/outputs - description: specification is the on-chain record specification message. record_spec_id_info: description: >- record_spec_id_info contains information about the id/address of @@ -83456,6 +82393,7 @@ definitions: type: object properties: specification: + description: specification is the on-chain record specification message. type: object properties: specification_id: @@ -83557,7 +82495,6 @@ definitions: title: >- RecordSpecification defines the specification for a Record including allowed/required inputs/outputs - description: specification is the on-chain record specification message. record_spec_id_info: description: >- record_spec_id_info contains information about the id/address of @@ -83678,6 +82615,7 @@ definitions: type: object properties: record: + description: record is the on-chain record message. type: object properties: name: @@ -83793,7 +82731,6 @@ definitions: title: >- A record (of fact) is attached to a session or each consideration output from a contract - description: record is the on-chain record message. record_id_info: description: >- record_id_info contains information about the id/address of the @@ -83988,6 +82925,7 @@ definitions: type: object properties: record: + description: record is the on-chain record message. type: object properties: name: @@ -84109,7 +83047,6 @@ definitions: title: >- A record (of fact) is attached to a session or each consideration output from a contract - description: record is the on-chain record message. record_id_info: description: >- record_id_info contains information about the id/address of the @@ -84393,6 +83330,7 @@ definitions: type: object properties: scope: + description: scope is the on-chain scope message. type: object properties: scope_id: @@ -84481,9 +83419,6 @@ definitions: This also enables use of optional=true scope owners and session parties. - description: >- - Scope defines a root reference for a collection of records owned - by one or more parties. scope_id_info: description: >- scope_id_info contains information about the id/address of the @@ -84548,6 +83483,7 @@ definitions: type: object properties: session: + description: session is the on-chain session message. type: object properties: session_id: @@ -84650,16 +83586,6 @@ definitions: title: >- AuditFields capture information about the last account to make modifications and when they were made - description: >- - Session defines an execution context against a specific - specification instance. - - The context will have a specification and set of parties - involved. - - - NOTE: When there are no more Records within a Scope that - reference a Session, the Session is removed. session_id_info: description: >- session_id_info contains information about the id/address of the @@ -84768,6 +83694,7 @@ definitions: type: object properties: record: + description: record is the on-chain record message. type: object properties: name: @@ -84889,7 +83816,6 @@ definitions: title: >- A record (of fact) is attached to a session or each consideration output from a contract - description: record is the on-chain record message. record_id_info: description: >- record_id_info contains information about the id/address of the @@ -85248,6 +84174,7 @@ definitions: type: object properties: scope: + description: scope is the on-chain scope message. type: object properties: scope_id: @@ -85336,9 +84263,6 @@ definitions: This also enables use of optional=true scope owners and session parties. - description: >- - Scope defines a root reference for a collection of records owned - by one or more parties. scope_id_info: description: >- scope_id_info contains information about the id/address of the @@ -85403,6 +84327,7 @@ definitions: type: object properties: session: + description: session is the on-chain session message. type: object properties: session_id: @@ -85505,16 +84430,6 @@ definitions: title: >- AuditFields capture information about the last account to make modifications and when they were made - description: >- - Session defines an execution context against a specific - specification instance. - - The context will have a specification and set of parties - involved. - - - NOTE: When there are no more Records within a Scope that - reference a Session, the Session is removed. session_id_info: description: >- session_id_info contains information about the id/address of the @@ -85623,6 +84538,7 @@ definitions: type: object properties: record: + description: record is the on-chain record message. type: object properties: name: @@ -85744,7 +84660,6 @@ definitions: title: >- A record (of fact) is attached to a session or each consideration output from a contract - description: record is the on-chain record message. record_id_info: description: >- record_id_info contains information about the id/address of the @@ -86063,6 +84978,7 @@ definitions: type: object properties: specification: + description: specification is the on-chain scope specification message. type: object properties: specification_id: @@ -86137,7 +85053,6 @@ definitions: title: >- ScopeSpecification defines the required parties, resources, conditions, and consideration outputs for a contract - description: specification is the on-chain scope specification message. scope_spec_id_info: description: >- scope_spec_id_info contains information about the id/address of @@ -86178,6 +85093,7 @@ definitions: type: object properties: specification: + description: specification is the on-chain contract specification message. type: object properties: specification_id: @@ -86259,7 +85175,6 @@ definitions: title: >- ContractSpecification defines the required parties, resources, conditions, and consideration outputs for a contract - description: specification is the on-chain contract specification message. contract_spec_id_info: description: >- contract_spec_id_info contains information about the id/address @@ -86306,6 +85221,7 @@ definitions: type: object properties: specification: + description: specification is the on-chain record specification message. type: object properties: specification_id: @@ -86407,7 +85323,6 @@ definitions: title: >- RecordSpecification defines the specification for a Record including allowed/required inputs/outputs - description: specification is the on-chain record specification message. record_spec_id_info: description: >- record_spec_id_info contains information about the id/address of @@ -86526,6 +85441,7 @@ definitions: type: object properties: specification: + description: specification is the on-chain scope specification message. type: object properties: specification_id: @@ -86598,7 +85514,6 @@ definitions: title: >- ScopeSpecification defines the required parties, resources, conditions, and consideration outputs for a contract - description: specification is the on-chain scope specification message. scope_spec_id_info: description: >- scope_spec_id_info contains information about the id/address of the @@ -86709,6 +85624,7 @@ definitions: type: object properties: specification: + description: specification is the on-chain scope specification message. type: object properties: specification_id: @@ -86783,7 +85699,6 @@ definitions: title: >- ScopeSpecification defines the required parties, resources, conditions, and consideration outputs for a contract - description: specification is the on-chain scope specification message. scope_spec_id_info: description: >- scope_spec_id_info contains information about the id/address of @@ -86922,6 +85837,7 @@ definitions: type: object properties: scope: + description: scope is the on-chain scope message. type: object properties: scope_id: @@ -87010,9 +85926,6 @@ definitions: This also enables use of optional=true scope owners and session parties. - description: >- - Scope defines a root reference for a collection of records owned by - one or more parties. scope_id_info: description: scope_id_info contains information about the id/address of the scope. type: object @@ -87141,6 +86054,7 @@ definitions: type: object properties: scope: + description: scope is the on-chain scope message. type: object properties: scope_id: @@ -87229,9 +86143,6 @@ definitions: This also enables use of optional=true scope owners and session parties. - description: >- - Scope defines a root reference for a collection of records owned - by one or more parties. scope_id_info: description: >- scope_id_info contains information about the id/address of the @@ -87548,6 +86459,7 @@ definitions: type: object properties: session: + description: session is the on-chain session message. type: object properties: session_id: @@ -87648,15 +86560,6 @@ definitions: title: >- AuditFields capture information about the last account to make modifications and when they were made - description: >- - Session defines an execution context against a specific specification - instance. - - The context will have a specification and set of parties involved. - - - NOTE: When there are no more Records within a Scope that reference a - Session, the Session is removed. session_id_info: description: >- session_id_info contains information about the id/address of the @@ -87829,6 +86732,7 @@ definitions: type: object properties: session: + description: session is the on-chain session message. type: object properties: session_id: @@ -87931,16 +86835,6 @@ definitions: title: >- AuditFields capture information about the last account to make modifications and when they were made - description: >- - Session defines an execution context against a specific - specification instance. - - The context will have a specification and set of parties - involved. - - - NOTE: When there are no more Records within a Scope that - reference a Session, the Session is removed. session_id_info: description: >- session_id_info contains information about the id/address of the @@ -88196,6 +87090,7 @@ definitions: type: object properties: scope: + description: scope is the on-chain scope message. type: object properties: scope_id: @@ -88284,9 +87179,6 @@ definitions: This also enables use of optional=true scope owners and session parties. - description: >- - Scope defines a root reference for a collection of records owned - by one or more parties. scope_id_info: description: >- scope_id_info contains information about the id/address of the @@ -88351,6 +87243,7 @@ definitions: type: object properties: session: + description: session is the on-chain session message. type: object properties: session_id: @@ -88453,16 +87346,6 @@ definitions: title: >- AuditFields capture information about the last account to make modifications and when they were made - description: >- - Session defines an execution context against a specific - specification instance. - - The context will have a specification and set of parties - involved. - - - NOTE: When there are no more Records within a Scope that - reference a Session, the Session is removed. session_id_info: description: >- session_id_info contains information about the id/address of the @@ -88569,6 +87452,7 @@ definitions: type: object properties: record: + description: record is the on-chain record message. type: object properties: name: @@ -88690,7 +87574,6 @@ definitions: title: >- A record (of fact) is attached to a session or each consideration output from a contract - description: record is the on-chain record message. record_id_info: description: >- record_id_info contains information about the id/address of the @@ -90443,6 +89326,7 @@ definitions: type: object properties: trigger: + description: The trigger object that was queried for. type: object properties: id: @@ -90456,7 +89340,7 @@ definitions: description: The event that must be detected for the trigger to fire. type: object properties: - type_url: + '@type': type: string description: >- A URL/resource name that uniquely identifies the type of the @@ -90511,18 +89395,13 @@ definitions: be used with implementation specific semantics. - value: - type: string - format: byte - description: >- - Must be a valid serialized protocol buffer of the above - specified type. + additionalProperties: {} actions: type: array items: type: object properties: - type_url: + '@type': type: string description: >- A URL/resource name that uniquely identifies the type of the @@ -90579,12 +89458,7 @@ definitions: 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. + additionalProperties: {} description: >- `Any` contains an arbitrary serialized protocol buffer message along with a @@ -90690,7 +89564,6 @@ definitions: } description: The messages to run when the trigger fires. title: Trigger - description: The trigger object that was queried for. description: QueryTriggerByIDResponse contains the requested Trigger. provenance.trigger.v1.QueryTriggersResponse: type: object @@ -90711,7 +89584,7 @@ definitions: description: The event that must be detected for the trigger to fire. type: object properties: - type_url: + '@type': type: string description: >- A URL/resource name that uniquely identifies the type of the @@ -90768,18 +89641,13 @@ definitions: 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. + additionalProperties: {} actions: type: array items: type: object properties: - type_url: + '@type': type: string description: >- A URL/resource name that uniquely identifies the type of @@ -90836,12 +89704,7 @@ definitions: 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. + additionalProperties: {} description: >- `Any` contains an arbitrary serialized protocol buffer message along with a @@ -90984,7 +89847,7 @@ definitions: description: The event that must be detected for the trigger to fire. type: object properties: - type_url: + '@type': type: string description: >- A URL/resource name that uniquely identifies the type of the @@ -91036,18 +89899,13 @@ definitions: 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. + additionalProperties: {} actions: type: array items: type: object properties: - type_url: + '@type': type: string description: >- A URL/resource name that uniquely identifies the type of the @@ -91101,12 +89959,7 @@ definitions: be used with implementation specific semantics. - value: - type: string - format: byte - description: >- - Must be a valid serialized protocol buffer of the above - specified type. + additionalProperties: {} description: >- `Any` contains an arbitrary serialized protocol buffer message along with a @@ -91219,6 +90072,19 @@ definitions: provenance.trigger.v1.MsgDestroyTriggerResponse: type: object title: MsgDestroyTriggerResponse is the response type for creating a trigger RPC + provenance.ibchooks.v1.QueryParamsResponse: + type: object + properties: + params: + description: params defines the parameters of the module. + type: object + properties: + allowed_async_ack_contracts: + type: array + items: + type: string + title: Params defines the allowed async ack contracts + description: QueryParamsResponse is the response type for the Query/Params RPC method. cosmos.auth.v1beta1.AddressBytesToStringResponse: type: object properties: @@ -92390,6 +91256,185 @@ definitions: type: string format: uint64 description: QueryParamsResponse is the response type for the Query/Params RPC method. + 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); + } + // or ... + if (any.isSameTypeAs(Foo.getDefaultInstance())) { + foo = any.unpack(Foo.getDefaultInstance()); + } + + 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 := anypb.New(foo) + if err != nil { + ... + } + ... + foo := &pb.Foo{} + if err := any.UnmarshalTo(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" + } cosmos.bank.v1beta1.DenomOwner: type: object properties: diff --git a/proto/buf.gen.swagger.yaml b/proto/buf.gen.swagger.yaml index 3c51600042..2d144dd2e8 100644 --- a/proto/buf.gen.swagger.yaml +++ b/proto/buf.gen.swagger.yaml @@ -1,10 +1,10 @@ version: v1 plugins: - - name: swagger + - name: openapiv2 out: ./tmp-swagger-gen opt: - logtostderr=true - - fqn_for_swagger_name=true + - fqn_for_openapi_name=true - simple_operation_ids=true - strategy: all \ No newline at end of file + - json_names_for_fields=false diff --git a/scripts/protoc-swagger-gen.sh b/scripts/protoc-swagger-gen.sh index fddd0d09e6..49e1cb3a38 100755 --- a/scripts/protoc-swagger-gen.sh +++ b/scripts/protoc-swagger-gen.sh @@ -1,41 +1,45 @@ #!/usr/bin/env bash -verbose='' -if [[ "$1" == '-v' || "$1" == '--verbose' ]]; then - verbose='--verbose' +if [ "$1" = '-v' ] || [ "$1" = '--verbose' ]; then + VERBOSE=1 fi +proto_dir='./proto' +temp_dir='./tmp-swagger-gen' +temp_file="$temp_dir/swagger-new.yaml" +template_file='./proto/buf.gen.swagger.yaml' +config_file='./client/docs/config.json' +output_file='./client/docs/swagger-ui/swagger.yaml' set -eo pipefail -mkdir -p ./tmp-swagger-gen -proto_dirs=$(find ./proto -path -prune -o -name '*.proto' -print0 | xargs -0 -n1 dirname | sort | uniq) -for dir in $proto_dirs; do +mkdir -p "$temp_dir" +proto_files=$( find "$proto_dir" -type f -name '*.proto' -print0 | xargs -0 grep -El '^service +[^ ]+ +\{' ) +for file in $proto_files; do + [ -n "$VERBOSE" ] && printf 'Generating swagger file for [%s].\n' "$file" + buf generate --template "$template_file" "$file" +done - # generate swagger files for the queries. - query_file=$(find "${dir}" -maxdepth 1 -name 'query.proto') - if [[ -n "$query_file" ]]; then - [[ -n "$verbose" ]] && printf 'Generating swagger file for [%s].\n' "$query_file" - buf generate --template proto/buf.gen.swagger.yaml "$query_file" - fi - # generate swagger files for the transactions. - tx_file=$(find "${dir}" -maxdepth 1 -name 'tx.proto') - if [[ -n "$tx_file" ]]; then - [[ -n "$verbose" ]] && printf 'Generating swagger file for [%s].\n' "$tx_file" - buf generate --template proto/buf.gen.swagger.yaml "$tx_file" +[ -n "$VERBOSE" ] && printf 'Combining swagger files.\n' + +# Output warnings for all generated files not referenced in the config. +# If it's not in the config, it won't be included in the final file, which is usually not what we want. +swagger_files=$( find "$temp_dir" -type f -name '*.swagger.json' ) +for file in $swagger_files; do + if ! grep -Fq "\"url\": \"$file\"" "$config_file"; then + printf '\033[93mWARNING\033[0m: "%s" not referenced in %s\n' "$file" "$config_file" fi done -[[ -n "$verbose" ]] && printf 'Combining swagger files.\n' # combine swagger files # uses nodejs package `swagger-combine`. # all the individual swagger files need to be configured in `config.json` for merging -swagger-combine ./client/docs/config.json -o ./tmp-swagger-gen/swagger-new.yaml -f yaml --continueOnConflictingPaths true --includeDefinitions true +swagger-combine "$config_file" -o "$temp_file" -f yaml --continueOnConflictingPaths true --includeDefinitions true # Strip buf appended Query and Service tags from the resulting swagger. # While this isn't the cleanest approach unfortunately buf doesn't support a # configuration to remove or prevent appending these extra tags. -grep -v ' - Query' "./tmp-swagger-gen/swagger-new.yaml" | grep -v ' - Service' > "./client/docs/swagger-ui/swagger.yaml" +grep -v -e ' - Query' -e ' - Service' "$temp_file" > "$output_file" # clean swagger files -[[ -n "$verbose" ]] && printf 'Deleting ./tmp-swagger-gen\n' -rm -rf ./tmp-swagger-gen +[ -n "$VERBOSE" ] && printf 'Deleting %s\n' "$temp_dir" +rm -rf "$temp_dir" diff --git a/scripts/protocgen.sh b/scripts/protocgen.sh index eb3051fb7a..e8578d127f 100755 --- a/scripts/protocgen.sh +++ b/scripts/protocgen.sh @@ -6,26 +6,15 @@ set -eo pipefail -protoc_gen_gocosmos() { - if ! grep "github.com/cosmos/gogoproto" go.mod &>/dev/null ; then - echo -e "\tPlease run this command from somewhere inside the cosmos-sdk folder." - return 1 - fi - - go get github.com/cosmos/gogoproto/protoc-gen-gocosmos@latest -} - -protoc_gen_gocosmos - -proto_dirs=$(find ./proto -path -prune -o -name '*.proto' -print0 | xargs -0 -n1 dirname | sort | uniq) -for dir in $proto_dirs; do - proto_files=$(find "${dir}" -maxdepth 1 -name '*.proto') - for file in $proto_files; do - # Check if the go_package in the file is pointing to provenance - if grep -q "option go_package.*provenance" "$file"; then - buf generate --template proto/buf.gen.gogo.yaml "$file" - fi - done +if [ "$1" = '-v' ] || [ "$1" = '--verbose' ]; then + VERBOSE=1 +fi + +# Find all of our proto files that have our go_package name. +proto_files=$( find ./proto -type f -name '*.proto' -print0 | xargs -0 grep -l 'option go_package.*provenance' ) +for file in $proto_files; do + [ "$VERBOSE" ] && printf 'Generating proto code for %s\n' "$file" + buf generate --template proto/buf.gen.gogo.yaml "$file" done # move proto files to the right places diff --git a/x/attribute/types/query.pb.go b/x/attribute/types/query.pb.go index da39ff7d1f..113ff4077c 100644 --- a/x/attribute/types/query.pb.go +++ b/x/attribute/types/query.pb.go @@ -1000,6 +1000,7 @@ func _Query_AccountData_Handler(srv interface{}, ctx context.Context, dec func(i return interceptor(ctx, in, info, handler) } +var Query_serviceDesc = _Query_serviceDesc var _Query_serviceDesc = grpc.ServiceDesc{ ServiceName: "provenance.attribute.v1.Query", HandlerType: (*QueryServer)(nil), diff --git a/x/attribute/types/tx.pb.go b/x/attribute/types/tx.pb.go index 4f85682bbb..c9ffd8b605 100644 --- a/x/attribute/types/tx.pb.go +++ b/x/attribute/types/tx.pb.go @@ -1166,6 +1166,7 @@ func _Msg_UpdateParams_Handler(srv interface{}, ctx context.Context, dec func(in return interceptor(ctx, in, info, handler) } +var Msg_serviceDesc = _Msg_serviceDesc var _Msg_serviceDesc = grpc.ServiceDesc{ ServiceName: "provenance.attribute.v1.Msg", HandlerType: (*MsgServer)(nil), diff --git a/x/exchange/query.pb.go b/x/exchange/query.pb.go index 39a34333c4..5c1aa731bd 100644 --- a/x/exchange/query.pb.go +++ b/x/exchange/query.pb.go @@ -3528,6 +3528,7 @@ func _Query_PaymentFeeCalc_Handler(srv interface{}, ctx context.Context, dec fun return interceptor(ctx, in, info, handler) } +var Query_serviceDesc = _Query_serviceDesc var _Query_serviceDesc = grpc.ServiceDesc{ ServiceName: "provenance.exchange.v1.Query", HandlerType: (*QueryServer)(nil), diff --git a/x/exchange/tx.pb.go b/x/exchange/tx.pb.go index 1c0995989e..0cedc89eec 100644 --- a/x/exchange/tx.pb.go +++ b/x/exchange/tx.pb.go @@ -4678,6 +4678,7 @@ func _Msg_UpdateParams_Handler(srv interface{}, ctx context.Context, dec func(in return interceptor(ctx, in, info, handler) } +var Msg_serviceDesc = _Msg_serviceDesc var _Msg_serviceDesc = grpc.ServiceDesc{ ServiceName: "provenance.exchange.v1.Msg", HandlerType: (*MsgServer)(nil), diff --git a/x/hold/query.pb.go b/x/hold/query.pb.go index 4c14bdee01..ddaa84d110 100644 --- a/x/hold/query.pb.go +++ b/x/hold/query.pb.go @@ -355,6 +355,7 @@ func _Query_GetAllHolds_Handler(srv interface{}, ctx context.Context, dec func(i return interceptor(ctx, in, info, handler) } +var Query_serviceDesc = _Query_serviceDesc var _Query_serviceDesc = grpc.ServiceDesc{ ServiceName: "provenance.hold.v1.Query", HandlerType: (*QueryServer)(nil), diff --git a/x/ibchooks/types/query.pb.go b/x/ibchooks/types/query.pb.go index a1c9858ea9..c6cbaede9c 100644 --- a/x/ibchooks/types/query.pb.go +++ b/x/ibchooks/types/query.pb.go @@ -212,6 +212,7 @@ func _Query_Params_Handler(srv interface{}, ctx context.Context, dec func(interf return interceptor(ctx, in, info, handler) } +var Query_serviceDesc = _Query_serviceDesc var _Query_serviceDesc = grpc.ServiceDesc{ ServiceName: "provenance.ibchooks.v1.Query", HandlerType: (*QueryServer)(nil), diff --git a/x/ibchooks/types/tx.pb.go b/x/ibchooks/types/tx.pb.go index 5efa4dcd6a..209ea6450f 100644 --- a/x/ibchooks/types/tx.pb.go +++ b/x/ibchooks/types/tx.pb.go @@ -385,6 +385,7 @@ func _Msg_UpdateParams_Handler(srv interface{}, ctx context.Context, dec func(in return interceptor(ctx, in, info, handler) } +var Msg_serviceDesc = _Msg_serviceDesc var _Msg_serviceDesc = grpc.ServiceDesc{ ServiceName: "provenance.ibchooks.v1.Msg", HandlerType: (*MsgServer)(nil), diff --git a/x/ibcratelimit/query.pb.go b/x/ibcratelimit/query.pb.go index 280ad601b2..9d554870fd 100644 --- a/x/ibcratelimit/query.pb.go +++ b/x/ibcratelimit/query.pb.go @@ -214,6 +214,7 @@ func _Query_Params_Handler(srv interface{}, ctx context.Context, dec func(interf return interceptor(ctx, in, info, handler) } +var Query_serviceDesc = _Query_serviceDesc var _Query_serviceDesc = grpc.ServiceDesc{ ServiceName: "provenance.ibcratelimit.v1.Query", HandlerType: (*QueryServer)(nil), diff --git a/x/ibcratelimit/tx.pb.go b/x/ibcratelimit/tx.pb.go index 9aa2311365..55b1db9707 100644 --- a/x/ibcratelimit/tx.pb.go +++ b/x/ibcratelimit/tx.pb.go @@ -366,6 +366,7 @@ func _Msg_UpdateParams_Handler(srv interface{}, ctx context.Context, dec func(in return interceptor(ctx, in, info, handler) } +var Msg_serviceDesc = _Msg_serviceDesc var _Msg_serviceDesc = grpc.ServiceDesc{ ServiceName: "provenance.ibcratelimit.v1.Msg", HandlerType: (*MsgServer)(nil), diff --git a/x/marker/types/query.pb.go b/x/marker/types/query.pb.go index ee6e66533e..f50157f69d 100644 --- a/x/marker/types/query.pb.go +++ b/x/marker/types/query.pb.go @@ -1495,6 +1495,7 @@ func _Query_NetAssetValues_Handler(srv interface{}, ctx context.Context, dec fun return interceptor(ctx, in, info, handler) } +var Query_serviceDesc = _Query_serviceDesc var _Query_serviceDesc = grpc.ServiceDesc{ ServiceName: "provenance.marker.v1.Query", HandlerType: (*QueryServer)(nil), diff --git a/x/marker/types/tx.pb.go b/x/marker/types/tx.pb.go index 98b2615e41..4990679195 100644 --- a/x/marker/types/tx.pb.go +++ b/x/marker/types/tx.pb.go @@ -4447,6 +4447,7 @@ func _Msg_UpdateParams_Handler(srv interface{}, ctx context.Context, dec func(in return interceptor(ctx, in, info, handler) } +var Msg_serviceDesc = _Msg_serviceDesc var _Msg_serviceDesc = grpc.ServiceDesc{ ServiceName: "provenance.marker.v1.Msg", HandlerType: (*MsgServer)(nil), diff --git a/x/metadata/types/query.pb.go b/x/metadata/types/query.pb.go index 5b423ca917..2965e0f3f7 100644 --- a/x/metadata/types/query.pb.go +++ b/x/metadata/types/query.pb.go @@ -4788,6 +4788,7 @@ func _Query_ScopeNetAssetValues_Handler(srv interface{}, ctx context.Context, de return interceptor(ctx, in, info, handler) } +var Query_serviceDesc = _Query_serviceDesc var _Query_serviceDesc = grpc.ServiceDesc{ ServiceName: "provenance.metadata.v1.Query", HandlerType: (*QueryServer)(nil), diff --git a/x/metadata/types/tx.pb.go b/x/metadata/types/tx.pb.go index 727728cdc3..a9461f9b8c 100644 --- a/x/metadata/types/tx.pb.go +++ b/x/metadata/types/tx.pb.go @@ -3381,6 +3381,7 @@ func _Msg_AddNetAssetValues_Handler(srv interface{}, ctx context.Context, dec fu return interceptor(ctx, in, info, handler) } +var Msg_serviceDesc = _Msg_serviceDesc var _Msg_serviceDesc = grpc.ServiceDesc{ ServiceName: "provenance.metadata.v1.Msg", HandlerType: (*MsgServer)(nil), diff --git a/x/msgfees/types/query.pb.go b/x/msgfees/types/query.pb.go index 98b8f3aa6b..f0994b4a88 100644 --- a/x/msgfees/types/query.pb.go +++ b/x/msgfees/types/query.pb.go @@ -544,6 +544,7 @@ func _Query_CalculateTxFees_Handler(srv interface{}, ctx context.Context, dec fu return interceptor(ctx, in, info, handler) } +var Query_serviceDesc = _Query_serviceDesc var _Query_serviceDesc = grpc.ServiceDesc{ ServiceName: "provenance.msgfees.v1.Query", HandlerType: (*QueryServer)(nil), diff --git a/x/msgfees/types/tx.pb.go b/x/msgfees/types/tx.pb.go index cfdcf8a48f..6e80df3822 100644 --- a/x/msgfees/types/tx.pb.go +++ b/x/msgfees/types/tx.pb.go @@ -955,6 +955,7 @@ func _Msg_UpdateConversionFeeDenomProposal_Handler(srv interface{}, ctx context. return interceptor(ctx, in, info, handler) } +var Msg_serviceDesc = _Msg_serviceDesc var _Msg_serviceDesc = grpc.ServiceDesc{ ServiceName: "provenance.msgfees.v1.Msg", HandlerType: (*MsgServer)(nil), diff --git a/x/name/types/query.pb.go b/x/name/types/query.pb.go index af22774ed7..ffb3efb09f 100644 --- a/x/name/types/query.pb.go +++ b/x/name/types/query.pb.go @@ -475,6 +475,7 @@ func _Query_ReverseLookup_Handler(srv interface{}, ctx context.Context, dec func return interceptor(ctx, in, info, handler) } +var Query_serviceDesc = _Query_serviceDesc var _Query_serviceDesc = grpc.ServiceDesc{ ServiceName: "provenance.name.v1.Query", HandlerType: (*QueryServer)(nil), diff --git a/x/name/types/tx.pb.go b/x/name/types/tx.pb.go index 7d933c5318..06044cbd61 100644 --- a/x/name/types/tx.pb.go +++ b/x/name/types/tx.pb.go @@ -725,6 +725,7 @@ func _Msg_UpdateParams_Handler(srv interface{}, ctx context.Context, dec func(in return interceptor(ctx, in, info, handler) } +var Msg_serviceDesc = _Msg_serviceDesc var _Msg_serviceDesc = grpc.ServiceDesc{ ServiceName: "provenance.name.v1.Msg", HandlerType: (*MsgServer)(nil), diff --git a/x/oracle/types/query.pb.go b/x/oracle/types/query.pb.go index 7b893f0fb4..8925444705 100644 --- a/x/oracle/types/query.pb.go +++ b/x/oracle/types/query.pb.go @@ -349,6 +349,7 @@ func _Query_Oracle_Handler(srv interface{}, ctx context.Context, dec func(interf return interceptor(ctx, in, info, handler) } +var Query_serviceDesc = _Query_serviceDesc var _Query_serviceDesc = grpc.ServiceDesc{ ServiceName: "provenance.oracle.v1.Query", HandlerType: (*QueryServer)(nil), diff --git a/x/oracle/types/tx.pb.go b/x/oracle/types/tx.pb.go index 5830b9aa0b..65f6438469 100644 --- a/x/oracle/types/tx.pb.go +++ b/x/oracle/types/tx.pb.go @@ -407,6 +407,7 @@ func _Msg_SendQueryOracle_Handler(srv interface{}, ctx context.Context, dec func return interceptor(ctx, in, info, handler) } +var Msg_serviceDesc = _Msg_serviceDesc var _Msg_serviceDesc = grpc.ServiceDesc{ ServiceName: "provenance.oracle.v1.Msg", HandlerType: (*MsgServer)(nil), diff --git a/x/quarantine/query.pb.go b/x/quarantine/query.pb.go index 850e82d692..0849bda9a5 100644 --- a/x/quarantine/query.pb.go +++ b/x/quarantine/query.pb.go @@ -568,6 +568,7 @@ func _Query_AutoResponses_Handler(srv interface{}, ctx context.Context, dec func return interceptor(ctx, in, info, handler) } +var Query_serviceDesc = _Query_serviceDesc var _Query_serviceDesc = grpc.ServiceDesc{ ServiceName: "cosmos.quarantine.v1beta1.Query", HandlerType: (*QueryServer)(nil), diff --git a/x/quarantine/tx.pb.go b/x/quarantine/tx.pb.go index 441d38972e..1fd232cdb2 100644 --- a/x/quarantine/tx.pb.go +++ b/x/quarantine/tx.pb.go @@ -778,6 +778,7 @@ func _Msg_UpdateAutoResponses_Handler(srv interface{}, ctx context.Context, dec return interceptor(ctx, in, info, handler) } +var Msg_serviceDesc = _Msg_serviceDesc var _Msg_serviceDesc = grpc.ServiceDesc{ ServiceName: "cosmos.quarantine.v1beta1.Msg", HandlerType: (*MsgServer)(nil), diff --git a/x/sanction/query.pb.go b/x/sanction/query.pb.go index b01232d8e0..2f8582d93e 100644 --- a/x/sanction/query.pb.go +++ b/x/sanction/query.pb.go @@ -642,6 +642,7 @@ func _Query_Params_Handler(srv interface{}, ctx context.Context, dec func(interf return interceptor(ctx, in, info, handler) } +var Query_serviceDesc = _Query_serviceDesc var _Query_serviceDesc = grpc.ServiceDesc{ ServiceName: "cosmos.sanction.v1beta1.Query", HandlerType: (*QueryServer)(nil), diff --git a/x/sanction/tx.pb.go b/x/sanction/tx.pb.go index 4b8ba032bc..3f8d7ac4f5 100644 --- a/x/sanction/tx.pb.go +++ b/x/sanction/tx.pb.go @@ -485,6 +485,7 @@ func _Msg_UpdateParams_Handler(srv interface{}, ctx context.Context, dec func(in return interceptor(ctx, in, info, handler) } +var Msg_serviceDesc = _Msg_serviceDesc var _Msg_serviceDesc = grpc.ServiceDesc{ ServiceName: "cosmos.sanction.v1beta1.Msg", HandlerType: (*MsgServer)(nil), diff --git a/x/trigger/types/query.pb.go b/x/trigger/types/query.pb.go index df33d4b61e..dc81ea91c0 100644 --- a/x/trigger/types/query.pb.go +++ b/x/trigger/types/query.pb.go @@ -367,6 +367,7 @@ func _Query_Triggers_Handler(srv interface{}, ctx context.Context, dec func(inte return interceptor(ctx, in, info, handler) } +var Query_serviceDesc = _Query_serviceDesc var _Query_serviceDesc = grpc.ServiceDesc{ ServiceName: "provenance.trigger.v1.Query", HandlerType: (*QueryServer)(nil), diff --git a/x/trigger/types/tx.pb.go b/x/trigger/types/tx.pb.go index e875e48a25..85b34f4601 100644 --- a/x/trigger/types/tx.pb.go +++ b/x/trigger/types/tx.pb.go @@ -446,6 +446,7 @@ func _Msg_DestroyTrigger_Handler(srv interface{}, ctx context.Context, dec func( return interceptor(ctx, in, info, handler) } +var Msg_serviceDesc = _Msg_serviceDesc var _Msg_serviceDesc = grpc.ServiceDesc{ ServiceName: "provenance.trigger.v1.Msg", HandlerType: (*MsgServer)(nil),