diff --git a/src/pages/api.jsx b/src/pages/api.jsx index 7295fbd0f..1f8a483ca 100644 --- a/src/pages/api.jsx +++ b/src/pages/api.jsx @@ -11,7 +11,7 @@ import SectionsMenu from '../components/SectionsMenu'; const API_TOOLTIP_KEY = 'dyte-api-v2-tooltip-shown'; -function APIElement({ layout = 'sidebar', currentVersion = 'RPC' }) { +function APIElement({ layout = 'stacked', currentVersion = 'RPC' }) { return ( @@ -49,7 +49,7 @@ export default function Home() { const location = router.location; const url = new URL( - `https://docs.dyte.io${location.pathname}${location.search}` + `https://docs.osmosis.zone/${location.pathname}${location.search}` ); const currentVersion = url.searchParams.get('v') || 'RPC'; diff --git a/static/api/LCD.yaml b/static/api/LCD.yaml index de946d3fe..1176b42a6 100644 --- a/static/api/LCD.yaml +++ b/static/api/LCD.yaml @@ -6,7 +6,7 @@ info: paths: /osmosis/epochs/v1beta1/current_epoch: get: - summary: CurrentEpoch provide current epoch of specified identifier + summary: "" operationId: CurrentEpoch responses: "200": @@ -53,7 +53,7 @@ paths: - Query /osmosis/epochs/v1beta1/epochs: get: - summary: EpochInfos provide running epochInfos + summary: "" operationId: EpochInfos responses: "200": @@ -179,12 +179,10 @@ paths: format: byte tags: - Query - /osmosis/gamm/v1beta1/filtered_pools: + /osmosis/gamm/v1beta1/cfmm_concentrated_pool_links: get: - summary: |- - PoolsWithFilter allows you to query specific pools with requested - parameters - operationId: PoolsWithFilter + summary: "" + operationId: CFMMConcentratedPoolLinks responses: "200": description: A successful response. @@ -193,7 +191,51 @@ paths: schema: type: object properties: - pools: + migration_records: + type: object + properties: + balancer_to_concentrated_pool_links: + type: array + items: + type: object + properties: + balancer_pool_id: + type: string + format: uint64 + cl_pool_id: + type: string + format: uint64 + description: >- + BalancerToConcentratedPoolLink defines a single link between a single + + balancer pool and a single concentrated liquidity pool. This link is used to + + allow a balancer pool to migrate to a single canonical full range + + concentrated liquidity pool position + + A balancer pool can be linked to a maximum of one cl pool, and a cl pool can + + be linked to a maximum of one balancer pool. + title: >- + MigrationRecords contains all the links between balancer and concentrated + + pools + default: + description: An unexpected error response. + content: + "*/*": + schema: + type: object + properties: + error: + type: string + code: + type: integer + format: int32 + message: + type: string + details: type: array items: type: object @@ -349,23 +391,23 @@ paths: "@type": "type.googleapis.com/google.protobuf.Duration", "value": "1.212s" } - pagination: - description: pagination defines the pagination in the response. - type: object - properties: - next_key: - type: string - format: byte - title: |- - next_key is the key to be passed to PageRequest.key to - query the next page most efficiently - total: - type: string - format: uint64 - title: >- - total is total number of results available if PageRequest.count_total - - was set, its value is undefined otherwise + tags: + - Query + "/osmosis/gamm/v1beta1/concentrated_pool_id_link_from_cfmm/{cfmm_pool_id}": + get: + summary: "" + operationId: ConcentratedPoolIdLinkFromCFMM + responses: + "200": + description: A successful response. + content: + "*/*": + schema: + type: object + properties: + concentrated_pool_id: + type: string + format: uint64 default: description: An unexpected error response. content: @@ -537,71 +579,18 @@ paths: "value": "1.212s" } parameters: - - name: pool_type - in: query - required: false - schema: - type: string - - name: pagination.key - description: |- - key is a value returned in PageResponse.next_key to begin - querying the next page most efficiently. Only one of offset or key - should be set. - in: query - required: false - schema: - type: string - format: byte - - name: pagination.offset - description: >- - offset is a numeric offset that can be used when key is unavailable. - - It is less efficient than using key. Only one of offset or key should - - be set. - in: query - required: false - schema: - type: string - format: uint64 - - name: pagination.limit - description: >- - limit is the total number of results to be returned in the result page. - - If left empty it will default to a value to be set by each app. - in: query - required: false + - name: cfmm_pool_id + in: path + required: true schema: type: string format: uint64 - - name: pagination.count_total - description: >- - count_total is set to true to indicate that the result set should include - - a count of the total number of items available for pagination in UIs. - - count_total is only respected when offset is used. It is ignored when key - - is set. - in: query - required: false - schema: - type: boolean - - name: pagination.reverse - description: >- - reverse is set to true if results are to be returned in the descending order. - - - Since: cosmos-sdk 0.43 - in: query - required: false - schema: - type: boolean tags: - Query - /osmosis/gamm/v1beta1/num_pools: + /osmosis/gamm/v1beta1/filtered_pools: get: - operationId: NumPools + summary: "" + operationId: PoolsWithFilter responses: "200": description: A successful response. @@ -610,24 +599,7 @@ paths: schema: type: object properties: - num_pools: - type: string - format: uint64 - default: - description: An unexpected error response. - content: - "*/*": - schema: - type: object - properties: - error: - type: string - code: - type: integer - format: int32 - message: - type: string - details: + pools: type: array items: type: object @@ -783,25 +755,23 @@ paths: "@type": "type.googleapis.com/google.protobuf.Duration", "value": "1.212s" } - tags: - - Query - "/osmosis/gamm/v1beta1/pool_type/{pool_id}": - get: - summary: |- - PoolType returns the type of the pool. - Returns "Balancer" as a string literal when the pool is a balancer pool. - Errors if the pool is failed to be type caseted. - operationId: PoolType - responses: - "200": - description: A successful response. - content: - "*/*": - schema: - type: object - properties: - pool_type: - type: string + pagination: + description: pagination defines the pagination in the response. + type: object + properties: + next_key: + type: string + format: byte + title: |- + next_key is the key to be passed to PageRequest.key to + query the next page most efficiently + total: + type: string + format: uint64 + title: >- + total is total number of results available if PageRequest.count_total + + was set, its value is undefined otherwise default: description: An unexpected error response. content: @@ -973,17 +943,80 @@ paths: "value": "1.212s" } parameters: - - name: pool_id - in: path - required: true + - name: min_liquidity + description: |- + String of the coins in single string seperated by comma. Ex) + 10uatom,100uosmo. + in: query + required: false + schema: + type: string + - name: pool_type + in: query + required: false + schema: + type: string + - name: pagination.key + description: |- + key is a value returned in PageResponse.next_key to begin + querying the next page most efficiently. Only one of offset or key + should be set. + in: query + required: false + schema: + type: string + format: byte + - name: pagination.offset + description: >- + offset is a numeric offset that can be used when key is unavailable. + + It is less efficient than using key. Only one of offset or key should + + be set. + in: query + required: false + schema: + type: string + format: uint64 + - name: pagination.limit + description: >- + limit is the total number of results to be returned in the result page. + + If left empty it will default to a value to be set by each app. + in: query + required: false schema: type: string format: uint64 + - name: pagination.count_total + description: >- + count_total is set to true to indicate that the result set should include + + a count of the total number of items available for pagination in UIs. + + count_total is only respected when offset is used. It is ignored when key + + is set. + in: query + required: false + schema: + type: boolean + - name: pagination.reverse + description: >- + reverse is set to true if results are to be returned in the descending order. + + + Since: cosmos-sdk 0.43 + in: query + required: false + schema: + type: boolean tags: - Query - /osmosis/gamm/v1beta1/pools: + /osmosis/gamm/v1beta1/num_pools: get: - operationId: Pools + summary: "" + operationId: NumPools responses: "200": description: A successful response. @@ -992,7 +1025,386 @@ paths: schema: type: object properties: - pools: + num_pools: + type: string + format: uint64 + default: + description: An unexpected error response. + content: + "*/*": + schema: + type: object + properties: + error: + type: string + code: + type: integer + format: int32 + message: + type: string + details: + type: array + items: + type: object + properties: + type_url: + type: string + description: >- + A URL/resource name that uniquely identifies the type of the serialized + + protocol buffer message. This string must contain at least + + one "/" character. The last segment of the URL's path must represent + + the fully qualified name of the type (as in + + `path/google.protobuf.Duration`). The name should be in a canonical form + + (e.g., leading "." is not accepted). + + + In practice, teams usually precompile into the binary all types that they + + expect it to use in the context of Any. However, for URLs which use the + + scheme `http`, `https`, or no scheme, one can optionally set up a type + + server that maps type URLs to message definitions as follows: + + + * If no scheme is provided, `https` is assumed. + + * An HTTP GET on the URL must yield a [google.protobuf.Type][] + + value in binary format, or produce an error. + * Applications are allowed to cache lookup results based on the + + URL, or have them precompiled into a binary to avoid any + lookup. Therefore, binary compatibility needs to be preserved + on changes to types. (Use versioned type names to manage + breaking changes.) + + Note: this functionality is not currently available in the official + + protobuf release, and it is not used for type URLs beginning with + + type.googleapis.com. + + + Schemes other than `http`, `https` (or the empty scheme) might be + + used with implementation specific semantics. + value: + type: string + format: byte + description: Must be a valid serialized protocol buffer of the above specified type. + description: >- + `Any` contains an arbitrary serialized protocol buffer message along with a + + URL that describes the type of the serialized message. + + + Protobuf library provides support to pack/unpack Any values in the form + + of utility functions or additional generated methods of the Any type. + + + Example 1: Pack and unpack a message in C++. + + + Foo foo = ...; + Any any; + any.PackFrom(foo); + ... + if (any.UnpackTo(&foo)) { + ... + } + + Example 2: Pack and unpack a message in Java. + + + Foo foo = ...; + Any any = Any.pack(foo); + ... + if (any.is(Foo.class)) { + foo = any.unpack(Foo.class); + } + + Example 3: Pack and unpack a message in Python. + + foo = Foo(...) + any = Any() + any.Pack(foo) + ... + if any.Is(Foo.DESCRIPTOR): + any.Unpack(foo) + ... + + Example 4: Pack and unpack a message in Go + + foo := &pb.Foo{...} + any, err := ptypes.MarshalAny(foo) + ... + foo := &pb.Foo{} + if err := ptypes.UnmarshalAny(any, foo); err != nil { + ... + } + + The pack methods provided by protobuf library will by default use + + 'type.googleapis.com/full.type.name' as the type URL and the unpack + + methods only use the fully qualified type name after the last '/' + + in the type URL, for example "foo.bar.com/x/y.z" will yield type + + name "y.z". + + + + JSON + + ==== + + The JSON representation of an `Any` value uses the regular + + representation of the deserialized, embedded message, with an + + additional field `@type` which contains the type URL. Example: + + + package google.profile; + message Person { + string first_name = 1; + string last_name = 2; + } + + { + "@type": "type.googleapis.com/google.profile.Person", + "firstName": , + "lastName": + } + + If the embedded message type is well-known and has a custom JSON + + representation, that representation will be embedded adding a field + + `value` which holds the custom JSON in addition to the `@type` + + field. Example (for message [google.protobuf.Duration][]): + + + { + "@type": "type.googleapis.com/google.protobuf.Duration", + "value": "1.212s" + } + tags: + - Query + "/osmosis/gamm/v1beta1/pool_type/{pool_id}": + get: + summary: "" + operationId: PoolType + responses: + "200": + description: A successful response. + content: + "*/*": + schema: + type: object + properties: + pool_type: + type: string + default: + description: An unexpected error response. + content: + "*/*": + schema: + type: object + properties: + error: + type: string + code: + type: integer + format: int32 + message: + type: string + details: + type: array + items: + type: object + properties: + type_url: + type: string + description: >- + A URL/resource name that uniquely identifies the type of the serialized + + protocol buffer message. This string must contain at least + + one "/" character. The last segment of the URL's path must represent + + the fully qualified name of the type (as in + + `path/google.protobuf.Duration`). The name should be in a canonical form + + (e.g., leading "." is not accepted). + + + In practice, teams usually precompile into the binary all types that they + + expect it to use in the context of Any. However, for URLs which use the + + scheme `http`, `https`, or no scheme, one can optionally set up a type + + server that maps type URLs to message definitions as follows: + + + * If no scheme is provided, `https` is assumed. + + * An HTTP GET on the URL must yield a [google.protobuf.Type][] + + value in binary format, or produce an error. + * Applications are allowed to cache lookup results based on the + + URL, or have them precompiled into a binary to avoid any + lookup. Therefore, binary compatibility needs to be preserved + on changes to types. (Use versioned type names to manage + breaking changes.) + + Note: this functionality is not currently available in the official + + protobuf release, and it is not used for type URLs beginning with + + type.googleapis.com. + + + Schemes other than `http`, `https` (or the empty scheme) might be + + used with implementation specific semantics. + value: + type: string + format: byte + description: Must be a valid serialized protocol buffer of the above specified type. + description: >- + `Any` contains an arbitrary serialized protocol buffer message along with a + + URL that describes the type of the serialized message. + + + Protobuf library provides support to pack/unpack Any values in the form + + of utility functions or additional generated methods of the Any type. + + + Example 1: Pack and unpack a message in C++. + + + Foo foo = ...; + Any any; + any.PackFrom(foo); + ... + if (any.UnpackTo(&foo)) { + ... + } + + Example 2: Pack and unpack a message in Java. + + + Foo foo = ...; + Any any = Any.pack(foo); + ... + if (any.is(Foo.class)) { + foo = any.unpack(Foo.class); + } + + Example 3: Pack and unpack a message in Python. + + foo = Foo(...) + any = Any() + any.Pack(foo) + ... + if any.Is(Foo.DESCRIPTOR): + any.Unpack(foo) + ... + + Example 4: Pack and unpack a message in Go + + foo := &pb.Foo{...} + any, err := ptypes.MarshalAny(foo) + ... + foo := &pb.Foo{} + if err := ptypes.UnmarshalAny(any, foo); err != nil { + ... + } + + The pack methods provided by protobuf library will by default use + + 'type.googleapis.com/full.type.name' as the type URL and the unpack + + methods only use the fully qualified type name after the last '/' + + in the type URL, for example "foo.bar.com/x/y.z" will yield type + + name "y.z". + + + + JSON + + ==== + + The JSON representation of an `Any` value uses the regular + + representation of the deserialized, embedded message, with an + + additional field `@type` which contains the type URL. Example: + + + package google.profile; + message Person { + string first_name = 1; + string last_name = 2; + } + + { + "@type": "type.googleapis.com/google.profile.Person", + "firstName": , + "lastName": + } + + If the embedded message type is well-known and has a custom JSON + + representation, that representation will be embedded adding a field + + `value` which holds the custom JSON in addition to the `@type` + + field. Example (for message [google.protobuf.Duration][]): + + + { + "@type": "type.googleapis.com/google.protobuf.Duration", + "value": "1.212s" + } + parameters: + - name: pool_id + in: path + required: true + schema: + type: string + format: uint64 + tags: + - Query + /osmosis/gamm/v1beta1/pools: + get: + operationId: Pools + responses: + "200": + description: A successful response. + content: + "*/*": + schema: + type: object + properties: + pools: type: array items: type: object @@ -1393,9 +1805,10 @@ paths: type: boolean tags: - Query + summary: "" "/osmosis/gamm/v1beta1/pools/{pool_id}": get: - summary: Per Pool gRPC Endpoints + summary: "" operationId: Pool responses: "200": @@ -1559,6 +1972,7 @@ paths: "@type": "type.googleapis.com/google.protobuf.Duration", "value": "1.212s" } + title: "Deprecated: please use the alternative in x/poolmanager" default: description: An unexpected error response. content: @@ -1949,6 +2363,7 @@ paths: type: string tags: - Query + summary: "" "/osmosis/gamm/v1beta1/pools/{pool_id}/join_swap_exact_in": get: operationId: CalcJoinPoolShares @@ -2157,6 +2572,7 @@ paths: format: uint64 tags: - Query + summary: "" "/osmosis/gamm/v1beta1/pools/{pool_id}/params": get: operationId: PoolParams @@ -2501,11 +2917,10 @@ paths: format: uint64 tags: - Query + summary: "" "/osmosis/gamm/v1beta1/pools/{pool_id}/prices": get: - summary: |- - SpotPrice defines a gRPC query handler that returns the spot price given - a base denomination and a quote denomination. + summary: "" operationId: SpotPrice responses: "200": @@ -2713,6 +3128,7 @@ paths: - Query "/osmosis/gamm/v1beta1/pools/{pool_id}/total_pool_liquidity": get: + summary: "" operationId: TotalPoolLiquidity responses: "200": @@ -2738,6 +3154,7 @@ paths: NOTE: The amount field is an Int which implements the custom method signatures required by gogoproto. + title: "Deprecated: please use the alternative in x/poolmanager" default: description: An unexpected error response. content: @@ -3121,6 +3538,7 @@ paths: format: uint64 tags: - Query + summary: "" /osmosis/gamm/v1beta1/total_liquidity: get: operationId: TotalLiquidity @@ -3320,9 +3738,10 @@ paths: } tags: - Query + summary: "" "/osmosis/gamm/v1beta1/{pool_id}/estimate/swap_exact_amount_in": get: - summary: Estimate the swap. + summary: "" operationId: EstimateSwapExactAmountIn responses: "200": @@ -3512,7 +3931,6 @@ paths: type: string format: uint64 - name: sender - description: "TODO: CHANGE THIS TO RESERVED IN A PATCH RELEASE." in: query required: false schema: @@ -3526,6 +3944,7 @@ paths: - Query "/osmosis/gamm/v1beta1/{pool_id}/estimate/swap_exact_amount_out": get: + summary: "" operationId: EstimateSwapExactAmountOut responses: "200": @@ -3715,7 +4134,6 @@ paths: type: string format: uint64 - name: sender - description: "TODO: CHANGE THIS TO RESERVED IN A PATCH RELEASE." in: query required: false schema: @@ -3729,7 +4147,7 @@ paths: - Query /osmosis/incentives/v1beta1/active_gauges: get: - summary: ActiveGauges returns active gauges + summary: "" operationId: ActiveGauges responses: "200": @@ -3773,6 +4191,7 @@ paths: enum: - ByDuration - ByTime + - NoLock default: ByDuration description: >- LockQueryType defines the type of the lock query that can @@ -3977,7 +4396,7 @@ paths: - Query /osmosis/incentives/v1beta1/active_gauges_per_denom: get: - summary: ActiveGaugesPerDenom returns active gauges by denom + summary: "" operationId: ActiveGaugesPerDenom responses: "200": @@ -4021,6 +4440,7 @@ paths: enum: - ByDuration - ByTime + - NoLock default: ByDuration description: >- LockQueryType defines the type of the lock query that can @@ -4231,7 +4651,7 @@ paths: - Query "/osmosis/incentives/v1beta1/gauge_by_id/{id}": get: - summary: GaugeByID returns gauges by their respective ID + summary: "" operationId: GaugeByID responses: "200": @@ -4273,6 +4693,7 @@ paths: enum: - ByDuration - ByTime + - NoLock default: ByDuration description: >- LockQueryType defines the type of the lock query that can @@ -4402,7 +4823,7 @@ paths: - Query /osmosis/incentives/v1beta1/gauges: get: - summary: Gauges returns both upcoming and active gauges + summary: "" operationId: Gauges responses: "200": @@ -4446,6 +4867,7 @@ paths: enum: - ByDuration - ByTime + - NoLock default: ByDuration description: >- LockQueryType defines the type of the lock query that can @@ -4650,10 +5072,7 @@ paths: - Query /osmosis/incentives/v1beta1/lockable_durations: get: - summary: >- - LockableDurations returns lockable durations that are valid to distribute - - incentives for + summary: "" operationId: LockableDurations responses: "200": @@ -4696,7 +5115,7 @@ paths: - Query /osmosis/incentives/v1beta1/module_to_distribute_coins: get: - summary: ModuleToDistributeCoins returns coins that are going to be distributed + summary: "" operationId: ModuleToDistributeCoins responses: "200": @@ -4751,12 +5170,7 @@ paths: - Query "/osmosis/incentives/v1beta1/rewards_est/{owner}": get: - summary: >- - RewardsEst returns an estimate of the rewards from now until a specified - - time in the future The querier either provides an address or a set of locks - - for which they want to find the associated rewards + summary: "" operationId: RewardsEst responses: "200": @@ -4840,7 +5254,7 @@ paths: - Query /osmosis/incentives/v1beta1/upcoming_gauges: get: - summary: Returns scheduled gauges that have not yet occured + summary: "" operationId: UpcomingGauges responses: "200": @@ -4884,6 +5298,7 @@ paths: enum: - ByDuration - ByTime + - NoLock default: ByDuration description: >- LockQueryType defines the type of the lock query that can @@ -5088,10 +5503,7 @@ paths: - Query /osmosis/incentives/v1beta1/upcoming_gauges_per_denom: get: - summary: >- - UpcomingGaugesPerDenom returns scheduled gauges that have not yet occured - - by denom + summary: "" operationId: UpcomingGaugesPerDenom responses: "200": @@ -5135,6 +5547,7 @@ paths: enum: - ByDuration - ByTime + - NoLock default: ByDuration description: >- LockQueryType defines the type of the lock query that can @@ -5345,7 +5758,7 @@ paths: - Query "/osmosis/lockup/v1beta1/account_locked_coins/{owner}": get: - summary: Return a locked coins that can't be withdrawn + summary: "" operationId: AccountLockedCoins responses: "200": @@ -5405,7 +5818,7 @@ paths: - Query "/osmosis/lockup/v1beta1/account_locked_duration/{owner}": get: - summary: Returns account locked records with a specific duration + summary: "" operationId: AccountLockedDuration responses: "200": @@ -5466,6 +5879,14 @@ paths: signatures required by gogoproto. description: Coins are the tokens locked within the lock, kept in the module account. + reward_receiver_address: + type: string + description: >- + Reward Receiver Address is the address that would be receiving rewards for + + the incentives for the lock. This is set to owner by default and can be + + changed via separate msg. description: >- PeriodLock is a single lock unit by period defined by the x/lockup module. @@ -5515,7 +5936,7 @@ paths: - Query "/osmosis/lockup/v1beta1/account_locked_longer_duration/{owner}": get: - summary: Returns account locked records with longer duration + summary: "" operationId: AccountLockedLongerDuration responses: "200": @@ -5576,6 +5997,14 @@ paths: signatures required by gogoproto. description: Coins are the tokens locked within the lock, kept in the module account. + reward_receiver_address: + type: string + description: >- + Reward Receiver Address is the address that would be receiving rewards for + + the incentives for the lock. This is set to owner by default and can be + + changed via separate msg. description: >- PeriodLock is a single lock unit by period defined by the x/lockup module. @@ -5625,7 +6054,7 @@ paths: - Query "/osmosis/lockup/v1beta1/account_locked_longer_duration_denom/{owner}": get: - summary: Returns account's locked records for a denom with longer duration + summary: "" operationId: AccountLockedLongerDurationDenom responses: "200": @@ -5686,6 +6115,14 @@ paths: signatures required by gogoproto. description: Coins are the tokens locked within the lock, kept in the module account. + reward_receiver_address: + type: string + description: >- + Reward Receiver Address is the address that would be receiving rewards for + + the incentives for the lock. This is set to owner by default and can be + + changed via separate msg. description: >- PeriodLock is a single lock unit by period defined by the x/lockup module. @@ -5740,9 +6177,7 @@ paths: - Query "/osmosis/lockup/v1beta1/account_locked_longer_duration_not_unlocking_only/{owner}": get: - summary: |- - Returns account locked records with longer duration excluding tokens - started unlocking + summary: "" operationId: AccountLockedLongerDurationNotUnlockingOnly responses: "200": @@ -5803,6 +6238,14 @@ paths: signatures required by gogoproto. description: Coins are the tokens locked within the lock, kept in the module account. + reward_receiver_address: + type: string + description: >- + Reward Receiver Address is the address that would be receiving rewards for + + the incentives for the lock. This is set to owner by default and can be + + changed via separate msg. description: >- PeriodLock is a single lock unit by period defined by the x/lockup module. @@ -5852,7 +6295,7 @@ paths: - Query "/osmosis/lockup/v1beta1/account_locked_pasttime/{owner}": get: - summary: Returns locked records of an account with unlock time beyond timestamp + summary: "" operationId: AccountLockedPastTime responses: "200": @@ -5913,117 +6356,14 @@ paths: signatures required by gogoproto. description: Coins are the tokens locked within the lock, kept in the module account. - description: >- - PeriodLock is a single lock unit by period defined by the x/lockup module. - - It's a record of a locked coin at a specific time. It stores owner, duration, - - unlock time and the number of coins locked. A state of a period lock is - - created upon lock creation, and deleted once the lock has been matured after - - the `duration` has passed since unbonding started. - default: - description: An unexpected error response. - content: - "*/*": - schema: - type: object - properties: - error: - type: string - code: - type: integer - format: int32 - message: - type: string - details: - type: array - items: - type: object - properties: - type_url: - type: string - value: - type: string - format: byte - parameters: - - name: owner - in: path - required: true - schema: - type: string - - name: timestamp - in: query - required: false - schema: - type: string - format: date-time - tags: - - Query - "/osmosis/lockup/v1beta1/account_locked_pasttime_denom/{owner}": - get: - summary: Returns lock records by address, timestamp, denom - operationId: AccountLockedPastTimeDenom - responses: - "200": - description: A successful response. - content: - "*/*": - schema: - type: object - properties: - locks: - type: array - items: - type: object - properties: - ID: - type: string - format: uint64 - description: >- - ID is the unique id of the lock. - - The ID of the lock is decided upon lock creation, incrementing by 1 for - - every lock. - owner: - type: string - description: |- - Owner is the account address of the lock owner. - Only the owner can modify the state of the lock. - duration: + reward_receiver_address: type: string description: >- - Duration is the time needed for a lock to mature after unlocking has + Reward Receiver Address is the address that would be receiving rewards for - started. - end_time: - type: string - format: date-time - description: >- - EndTime refers to the time at which the lock would mature and get deleted. + the incentives for the lock. This is set to owner by default and can be - This value is first initialized when an unlock has started for the lock, - - end time being block time + duration. - coins: - type: array - items: - type: object - properties: - denom: - type: string - amount: - type: string - description: >- - Coin defines a token with a denomination and an amount. - - - NOTE: The amount field is an Int which implements the custom method - - signatures required by gogoproto. - description: Coins are the tokens locked within the lock, kept in the module account. + changed via separate msg. description: >- PeriodLock is a single lock unit by period defined by the x/lockup module. @@ -6070,19 +6410,12 @@ paths: schema: type: string format: date-time - - name: denom - in: query - required: false - schema: - type: string tags: - Query - "/osmosis/lockup/v1beta1/account_locked_pasttime_not_unlocking_only/{owner}": + "/osmosis/lockup/v1beta1/account_locked_pasttime_denom/{owner}": get: - summary: |- - Returns locked records of an account with unlock time beyond timestamp - excluding tokens started unlocking - operationId: AccountLockedPastTimeNotUnlockingOnly + summary: "" + operationId: AccountLockedPastTimeDenom responses: "200": description: A successful response. @@ -6142,177 +6475,317 @@ paths: signatures required by gogoproto. description: Coins are the tokens locked within the lock, kept in the module account. - description: >- - PeriodLock is a single lock unit by period defined by the x/lockup module. - - It's a record of a locked coin at a specific time. It stores owner, duration, - - unlock time and the number of coins locked. A state of a period lock is - - created upon lock creation, and deleted once the lock has been matured after - - the `duration` has passed since unbonding started. - default: - description: An unexpected error response. - content: - "*/*": - schema: - type: object - properties: - error: - type: string - code: - type: integer - format: int32 - message: - type: string - details: - type: array - items: - type: object - properties: - type_url: - type: string - value: - type: string - format: byte - parameters: - - name: owner - in: path - required: true - schema: - type: string - - name: timestamp - in: query - required: false - schema: - type: string - format: date-time - tags: - - Query - "/osmosis/lockup/v1beta1/account_unlockable_coins/{owner}": - get: - summary: Returns unlockable coins which are not withdrawn yet - operationId: AccountUnlockableCoins - responses: - "200": - description: A successful response. - content: - "*/*": - schema: - type: object - properties: - coins: - type: array - items: - type: object - properties: - denom: - type: string - amount: - type: string - description: >- - Coin defines a token with a denomination and an amount. - - - NOTE: The amount field is an Int which implements the custom method - - signatures required by gogoproto. - default: - description: An unexpected error response. - content: - "*/*": - schema: - type: object - properties: - error: - type: string - code: - type: integer - format: int32 - message: - type: string - details: - type: array - items: - type: object - properties: - type_url: - type: string - value: - type: string - format: byte - parameters: - - name: owner - in: path - required: true - schema: - type: string - tags: - - Query - "/osmosis/lockup/v1beta1/account_unlocked_before_time/{owner}": - get: - summary: Returns unlocked records with unlock time before timestamp - operationId: AccountUnlockedBeforeTime - responses: - "200": - description: A successful response. - content: - "*/*": - schema: - type: object - properties: - locks: - type: array - items: - type: object - properties: - ID: + reward_receiver_address: type: string - format: uint64 description: >- - ID is the unique id of the lock. + Reward Receiver Address is the address that would be receiving rewards for - The ID of the lock is decided upon lock creation, incrementing by 1 for + the incentives for the lock. This is set to owner by default and can be - every lock. - owner: - type: string - description: |- - Owner is the account address of the lock owner. - Only the owner can modify the state of the lock. - duration: - type: string - description: >- - Duration is the time needed for a lock to mature after unlocking has - - started. - end_time: - type: string - format: date-time - description: >- - EndTime refers to the time at which the lock would mature and get deleted. - - This value is first initialized when an unlock has started for the lock, - - end time being block time + duration. - coins: - type: array - items: - type: object - properties: - denom: - type: string - amount: - type: string - description: >- - Coin defines a token with a denomination and an amount. - - - NOTE: The amount field is an Int which implements the custom method - - signatures required by gogoproto. - description: Coins are the tokens locked within the lock, kept in the module account. + changed via separate msg. + description: >- + PeriodLock is a single lock unit by period defined by the x/lockup module. + + It's a record of a locked coin at a specific time. It stores owner, duration, + + unlock time and the number of coins locked. A state of a period lock is + + created upon lock creation, and deleted once the lock has been matured after + + the `duration` has passed since unbonding started. + default: + description: An unexpected error response. + content: + "*/*": + schema: + type: object + properties: + error: + type: string + code: + type: integer + format: int32 + message: + type: string + details: + type: array + items: + type: object + properties: + type_url: + type: string + value: + type: string + format: byte + parameters: + - name: owner + in: path + required: true + schema: + type: string + - name: timestamp + in: query + required: false + schema: + type: string + format: date-time + - name: denom + in: query + required: false + schema: + type: string + tags: + - Query + "/osmosis/lockup/v1beta1/account_locked_pasttime_not_unlocking_only/{owner}": + get: + summary: "" + operationId: AccountLockedPastTimeNotUnlockingOnly + responses: + "200": + description: A successful response. + content: + "*/*": + schema: + type: object + properties: + locks: + type: array + items: + type: object + properties: + ID: + type: string + format: uint64 + description: >- + ID is the unique id of the lock. + + The ID of the lock is decided upon lock creation, incrementing by 1 for + + every lock. + owner: + type: string + description: |- + Owner is the account address of the lock owner. + Only the owner can modify the state of the lock. + duration: + type: string + description: >- + Duration is the time needed for a lock to mature after unlocking has + + started. + end_time: + type: string + format: date-time + description: >- + EndTime refers to the time at which the lock would mature and get deleted. + + This value is first initialized when an unlock has started for the lock, + + end time being block time + duration. + coins: + type: array + items: + type: object + properties: + denom: + type: string + amount: + type: string + description: >- + Coin defines a token with a denomination and an amount. + + + NOTE: The amount field is an Int which implements the custom method + + signatures required by gogoproto. + description: Coins are the tokens locked within the lock, kept in the module account. + reward_receiver_address: + type: string + description: >- + Reward Receiver Address is the address that would be receiving rewards for + + the incentives for the lock. This is set to owner by default and can be + + changed via separate msg. + description: >- + PeriodLock is a single lock unit by period defined by the x/lockup module. + + It's a record of a locked coin at a specific time. It stores owner, duration, + + unlock time and the number of coins locked. A state of a period lock is + + created upon lock creation, and deleted once the lock has been matured after + + the `duration` has passed since unbonding started. + default: + description: An unexpected error response. + content: + "*/*": + schema: + type: object + properties: + error: + type: string + code: + type: integer + format: int32 + message: + type: string + details: + type: array + items: + type: object + properties: + type_url: + type: string + value: + type: string + format: byte + parameters: + - name: owner + in: path + required: true + schema: + type: string + - name: timestamp + in: query + required: false + schema: + type: string + format: date-time + tags: + - Query + "/osmosis/lockup/v1beta1/account_unlockable_coins/{owner}": + get: + summary: "" + operationId: AccountUnlockableCoins + responses: + "200": + description: A successful response. + content: + "*/*": + schema: + type: object + properties: + coins: + type: array + items: + type: object + properties: + denom: + type: string + amount: + type: string + description: >- + Coin defines a token with a denomination and an amount. + + + NOTE: The amount field is an Int which implements the custom method + + signatures required by gogoproto. + default: + description: An unexpected error response. + content: + "*/*": + schema: + type: object + properties: + error: + type: string + code: + type: integer + format: int32 + message: + type: string + details: + type: array + items: + type: object + properties: + type_url: + type: string + value: + type: string + format: byte + parameters: + - name: owner + in: path + required: true + schema: + type: string + tags: + - Query + "/osmosis/lockup/v1beta1/account_unlocked_before_time/{owner}": + get: + summary: "" + operationId: AccountUnlockedBeforeTime + responses: + "200": + description: A successful response. + content: + "*/*": + schema: + type: object + properties: + locks: + type: array + items: + type: object + properties: + ID: + type: string + format: uint64 + description: >- + ID is the unique id of the lock. + + The ID of the lock is decided upon lock creation, incrementing by 1 for + + every lock. + owner: + type: string + description: |- + Owner is the account address of the lock owner. + Only the owner can modify the state of the lock. + duration: + type: string + description: >- + Duration is the time needed for a lock to mature after unlocking has + + started. + end_time: + type: string + format: date-time + description: >- + EndTime refers to the time at which the lock would mature and get deleted. + + This value is first initialized when an unlock has started for the lock, + + end time being block time + duration. + coins: + type: array + items: + type: object + properties: + denom: + type: string + amount: + type: string + description: >- + Coin defines a token with a denomination and an amount. + + + NOTE: The amount field is an Int which implements the custom method + + signatures required by gogoproto. + description: Coins are the tokens locked within the lock, kept in the module account. + reward_receiver_address: + type: string + description: >- + Reward Receiver Address is the address that would be receiving rewards for + + the incentives for the lock. This is set to owner by default and can be + + changed via separate msg. description: >- PeriodLock is a single lock unit by period defined by the x/lockup module. @@ -6363,7 +6836,7 @@ paths: - Query "/osmosis/lockup/v1beta1/account_unlocking_coins/{owner}": get: - summary: Returns unlocking coins + summary: "" operationId: AccountUnlockingCoins responses: "200": @@ -6421,9 +6894,56 @@ paths: type: string tags: - Query + "/osmosis/lockup/v1beta1/lock_reward_receiver/{lock_id}": + get: + summary: "" + operationId: LockRewardReceiver + responses: + "200": + description: A successful response. + content: + "*/*": + schema: + type: object + properties: + reward_receiver: + type: string + default: + description: An unexpected error response. + content: + "*/*": + schema: + type: object + properties: + error: + type: string + code: + type: integer + format: int32 + message: + type: string + details: + type: array + items: + type: object + properties: + type_url: + type: string + value: + type: string + format: byte + parameters: + - name: lock_id + in: path + required: true + schema: + type: string + format: uint64 + tags: + - Query "/osmosis/lockup/v1beta1/locked_by_id/{lock_id}": get: - summary: Returns lock record by id + summary: "" operationId: LockedByID responses: "200": @@ -6482,6 +7002,14 @@ paths: signatures required by gogoproto. description: Coins are the tokens locked within the lock, kept in the module account. + reward_receiver_address: + type: string + description: >- + Reward Receiver Address is the address that would be receiving rewards for + + the incentives for the lock. This is set to owner by default and can be + + changed via separate msg. description: >- PeriodLock is a single lock unit by period defined by the x/lockup module. @@ -6527,7 +7055,7 @@ paths: - Query /osmosis/lockup/v1beta1/locked_denom: get: - summary: Returns total locked per denom with longer past given time + summary: "" operationId: LockedDenom responses: "200": @@ -6578,7 +7106,7 @@ paths: - Query /osmosis/lockup/v1beta1/module_balance: get: - summary: Return full balance of the module + summary: "" operationId: ModuleBalance responses: "200": @@ -6632,7 +7160,7 @@ paths: - Query /osmosis/lockup/v1beta1/module_locked_amount: get: - summary: Return locked balance of the module + summary: "" operationId: ModuleLockedAmount responses: "200": @@ -6684,9 +7212,50 @@ paths: format: byte tags: - Query + /osmosis/lockup/v1beta1/next_lock_id: + get: + summary: "" + operationId: NextLockID + responses: + "200": + description: A successful response. + content: + "*/*": + schema: + type: object + properties: + lock_id: + type: string + format: uint64 + default: + description: An unexpected error response. + content: + "*/*": + schema: + type: object + properties: + error: + type: string + code: + type: integer + format: int32 + message: + type: string + details: + type: array + items: + type: object + properties: + type_url: + type: string + value: + type: string + format: byte + tags: + - Query /osmosis/lockup/v1beta1/params: get: - summary: Params returns lockup params. + summary: "" operationId: LockupParams responses: "200": @@ -6729,9 +7298,91 @@ paths: format: byte tags: - Query + "/osmosis/lockup/v1beta1/synthetic_lockup_by_lock_id/{lock_id}": + get: + summary: "" + operationId: SyntheticLockupByLockupID + responses: + "200": + description: A successful response. + content: + "*/*": + schema: + type: object + properties: + synthetic_lock: + type: object + properties: + underlying_lock_id: + type: string + format: uint64 + description: >- + Underlying Lock ID is the underlying native lock's id for this synthetic + + lockup. A synthetic lock MUST have an underlying lock. + synth_denom: + type: string + description: >- + SynthDenom is the synthetic denom that is a combination of + + gamm share + bonding status + validator address. + end_time: + type: string + format: date-time + title: >- + used for unbonding synthetic lockups, for active synthetic lockups, this + + value is set to uninitialized value + duration: + type: string + description: >- + Duration is the duration for a synthetic lock to mature + + at the point of unbonding has started. + description: >- + SyntheticLock is creating virtual lockup where new denom is combination of + + original denom and synthetic suffix. At the time of synthetic lockup creation + + and deletion, accumulation store is also being updated and on querier side, + + they can query as freely as native lockup. + default: + description: An unexpected error response. + content: + "*/*": + schema: + type: object + properties: + error: + type: string + code: + type: integer + format: int32 + message: + type: string + details: + type: array + items: + type: object + properties: + type_url: + type: string + value: + type: string + format: byte + parameters: + - name: lock_id + in: path + required: true + schema: + type: string + format: uint64 + tags: + - Query "/osmosis/lockup/v1beta1/synthetic_lockups_by_lock_id/{lock_id}": get: - summary: Returns synthetic lockups by native lockup id + summary: "" operationId: SyntheticLockupsByLockupID responses: "200": @@ -6815,7 +7466,7 @@ paths: - Query /osmosis/mint/v1beta1/epoch_provisions: get: - summary: EpochProvisions returns the current minting epoch provisions value. + summary: "" operationId: EpochProvisions responses: "200": @@ -7006,7 +7657,7 @@ paths: - Query /osmosis/mint/v1beta1/params: get: - summary: Params returns the total set of minting parameters. + summary: "" operationId: MintParams responses: "200": @@ -7280,7 +7931,7 @@ paths: - Query /osmosis/pool-incentives/v1beta1/distr_info: get: - summary: DistrInfo returns the pool's matching gauge ids and weights. + summary: "" operationId: DistrInfo responses: "200": @@ -7333,7 +7984,7 @@ paths: - Query /osmosis/pool-incentives/v1beta1/external_incentive_gauges: get: - summary: ExternalIncentiveGauges returns external incentive gauges. + summary: "" operationId: ExternalIncentiveGauges responses: "200": @@ -7377,6 +8028,7 @@ paths: enum: - ByDuration - ByTime + - NoLock default: ByDuration description: >- LockQueryType defines the type of the lock query that can @@ -7497,7 +8149,7 @@ paths: - Query "/osmosis/pool-incentives/v1beta1/gauge-ids/{pool_id}": get: - summary: GaugeIds takes the pool id and returns the matching gauge ids and durations + summary: "" operationId: GaugeIds responses: "200": @@ -7554,7 +8206,7 @@ paths: - Query /osmosis/pool-incentives/v1beta1/incentivized_pools: get: - summary: IncentivizedPools returns currently incentivized pools + summary: "" operationId: IncentivizedPools responses: "200": @@ -7605,7 +8257,7 @@ paths: - Query /osmosis/pool-incentives/v1beta1/lockable_durations: get: - summary: LockableDurations returns lock durations for pools. + summary: "" operationId: PoolLockableDurations responses: "200": @@ -7647,7 +8299,7 @@ paths: - Query /osmosis/pool-incentives/v1beta1/params: get: - summary: Params returns pool incentives params. + summary: "" operationId: PoolIncentivesParams responses: "200": @@ -7696,10 +8348,9 @@ paths: format: byte tags: - Query - /osmosis/superfluid/v1beta1/all_assets: + "/osmosis/superfluid/v1beta1/account_delegated_cl_positions/{delegator_address}": get: - summary: Returns all registered superfluid assets. - operationId: AllAssets + operationId: UserConcentratedSuperfluidPositionsDelegated responses: "200": description: A successful response. @@ -7708,28 +8359,84 @@ paths: schema: type: object properties: - assets: + cl_pool_user_position_records: type: array items: type: object properties: - denom: + validator_address: type: string - asset_type: - title: >- - AssetType indicates whether the superfluid asset is a native token or an lp - - share + position_id: type: string - enum: - - SuperfluidAssetTypeNative - - SuperfluidAssetTypeLPShare - default: SuperfluidAssetTypeNative + format: uint64 + lock_id: + type: string + format: uint64 + synthetic_lock: + type: object + properties: + underlying_lock_id: + type: string + format: uint64 + description: >- + Underlying Lock ID is the underlying native lock's id for this synthetic + + lockup. A synthetic lock MUST have an underlying lock. + synth_denom: + type: string + description: >- + SynthDenom is the synthetic denom that is a combination of + + gamm share + bonding status + validator address. + end_time: + type: string + format: date-time + title: >- + used for unbonding synthetic lockups, for active synthetic lockups, this + + value is set to uninitialized value + duration: + type: string + description: >- + Duration is the duration for a synthetic lock to mature + + at the point of unbonding has started. description: >- - SuperfluidAssetType indicates whether the superfluid asset is + SyntheticLock is creating virtual lockup where new denom is combination of - a native token itself or the lp share of a pool. - title: SuperfluidAsset stores the pair of superfluid asset type and denom pair + original denom and synthetic suffix. At the time of synthetic lockup creation + + and deletion, accumulation store is also being updated and on querier side, + + they can query as freely as native lockup. + delegation_amount: + type: object + properties: + denom: + type: string + amount: + type: string + description: >- + Coin defines a token with a denomination and an amount. + + + NOTE: The amount field is an Int which implements the custom method + + signatures required by gogoproto. + equivalent_staked_amount: + type: object + properties: + denom: + type: string + amount: + type: string + description: >- + Coin defines a token with a denomination and an amount. + + + NOTE: The amount field is an Int which implements the custom method + + signatures required by gogoproto. default: description: An unexpected error response. content: @@ -7900,12 +8607,18 @@ paths: "@type": "type.googleapis.com/google.protobuf.Duration", "value": "1.212s" } + parameters: + - name: delegator_address + in: path + required: true + schema: + type: string tags: - Query - /osmosis/superfluid/v1beta1/all_intermediary_accounts: + summary: "" + "/osmosis/superfluid/v1beta1/account_undelegating_cl_positions/{delegator_address}": get: - summary: Returns all superfluid intermediary accounts. - operationId: AllIntermediaryAccounts + operationId: UserConcentratedSuperfluidPositionsUndelegating responses: "200": description: A successful response. @@ -7914,46 +8627,84 @@ paths: schema: type: object properties: - accounts: + cl_pool_user_position_records: type: array items: type: object properties: - denom: - type: string - val_addr: + validator_address: type: string - gauge_id: + position_id: type: string format: uint64 - address: + lock_id: type: string - pagination: - type: object - properties: - next_key: - type: string - format: byte - title: |- - next_key is the key to be passed to PageRequest.key to - query the next page most efficiently - total: - type: string - format: uint64 - title: >- - total is total number of results available if PageRequest.count_total + format: uint64 + synthetic_lock: + type: object + properties: + underlying_lock_id: + type: string + format: uint64 + description: >- + Underlying Lock ID is the underlying native lock's id for this synthetic - was set, its value is undefined otherwise - description: >- - PageResponse is to be embedded in gRPC response messages where the + lockup. A synthetic lock MUST have an underlying lock. + synth_denom: + type: string + description: >- + SynthDenom is the synthetic denom that is a combination of - corresponding request message has used PageRequest. + gamm share + bonding status + validator address. + end_time: + type: string + format: date-time + title: >- + used for unbonding synthetic lockups, for active synthetic lockups, this + value is set to uninitialized value + duration: + type: string + description: >- + Duration is the duration for a synthetic lock to mature - message SomeResponse { - repeated Bar results = 1; - PageResponse page = 2; - } + at the point of unbonding has started. + description: >- + SyntheticLock is creating virtual lockup where new denom is combination of + + original denom and synthetic suffix. At the time of synthetic lockup creation + + and deletion, accumulation store is also being updated and on querier side, + + they can query as freely as native lockup. + delegation_amount: + type: object + properties: + denom: + type: string + amount: + type: string + description: >- + Coin defines a token with a denomination and an amount. + + + NOTE: The amount field is an Int which implements the custom method + + signatures required by gogoproto. + equivalent_staked_amount: + type: object + properties: + denom: + type: string + amount: + type: string + description: >- + Coin defines a token with a denomination and an amount. + + + NOTE: The amount field is an Int which implements the custom method + + signatures required by gogoproto. default: description: An unexpected error response. content: @@ -8125,69 +8876,18 @@ paths: "value": "1.212s" } parameters: - - name: pagination.key - description: |- - key is a value returned in PageResponse.next_key to begin - querying the next page most efficiently. Only one of offset or key - should be set. - in: query - required: false - schema: - type: string - format: byte - - name: pagination.offset - description: >- - offset is a numeric offset that can be used when key is unavailable. - - It is less efficient than using key. Only one of offset or key should - - be set. - in: query - required: false - schema: - type: string - format: uint64 - - name: pagination.limit - description: >- - limit is the total number of results to be returned in the result page. - - If left empty it will default to a value to be set by each app. - in: query - required: false + - name: delegator_address + in: path + required: true schema: type: string - format: uint64 - - name: pagination.count_total - description: >- - count_total is set to true to indicate that the result set should include - - a count of the total number of items available for pagination in UIs. - - count_total is only respected when offset is used. It is ignored when key - - is set. - in: query - required: false - schema: - type: boolean - - name: pagination.reverse - description: >- - reverse is set to true if results are to be returned in the descending order. - - - Since: cosmos-sdk 0.43 - in: query - required: false - schema: - type: boolean tags: - Query - /osmosis/superfluid/v1beta1/all_superfluid_delegations: + summary: "" + /osmosis/superfluid/v1beta1/all_assets: get: - summary: |- - Returns the total amount of osmo superfluidly staked. - Response is denominated in uosmo. - operationId: TotalSuperfluidDelegations + summary: "" + operationId: AllAssets responses: "200": description: A successful response. @@ -8196,8 +8896,25 @@ paths: schema: type: object properties: - total_delegations: - type: string + assets: + type: array + items: + type: object + properties: + denom: + type: string + asset_type: + title: >- + AssetType indicates whether the superfluid asset is a native token or an lp + + share + type: string + enum: + - SuperfluidAssetTypeNative + - SuperfluidAssetTypeLPShare + - SuperfluidAssetTypeConcentratedShare + default: SuperfluidAssetTypeNative + title: SuperfluidAsset stores the pair of superfluid asset type and denom pair default: description: An unexpected error response. content: @@ -8370,10 +9087,10 @@ paths: } tags: - Query - /osmosis/superfluid/v1beta1/asset_multiplier: + /osmosis/superfluid/v1beta1/all_intermediary_accounts: get: - summary: Returns the osmo equivalent multiplier used in the most recent epoch. - operationId: AssetMultiplier + summary: "" + operationId: AllIntermediaryAccounts responses: "200": description: A successful response. @@ -8382,31 +9099,46 @@ paths: schema: type: object properties: - osmo_equivalent_multiplier: + accounts: + type: array + items: + type: object + properties: + denom: + type: string + val_addr: + type: string + gauge_id: + type: string + format: uint64 + address: + type: string + pagination: type: object properties: - epoch_number: - type: string - format: int64 - denom: + next_key: type: string - title: superfluid asset denom, can be LP token or native token - multiplier: + format: byte + title: |- + next_key is the key to be passed to PageRequest.key to + query the next page most efficiently + total: type: string - description: >- - The Osmo-Equivalent-Multiplier Record for epoch N refers to the osmo worth we - - treat an LP share as having, for all of epoch N. Eventually this is intended - - to be set as the Time-weighted-average-osmo-backing for the entire duration + format: uint64 + title: >- + total is total number of results available if PageRequest.count_total - of epoch N-1. (Thereby locking whats in use for epoch N as based on the prior + was set, its value is undefined otherwise + description: >- + PageResponse is to be embedded in gRPC response messages where the - epochs rewards) However for now, this is not the TWAP but instead the spot + corresponding request message has used PageRequest. - price at the boundary. For different types of assets in the future, it could - change. + message SomeResponse { + repeated Bar results = 1; + PageResponse page = 2; + } default: description: An unexpected error response. content: @@ -8578,19 +9310,67 @@ paths: "value": "1.212s" } parameters: - - name: denom + - name: pagination.key + description: |- + key is a value returned in PageResponse.next_key to begin + querying the next page most efficiently. Only one of offset or key + should be set. + in: query + required: false + schema: + type: string + format: byte + - name: pagination.offset + description: >- + offset is a numeric offset that can be used when key is unavailable. + + It is less efficient than using key. Only one of offset or key should + + be set. in: query required: false schema: type: string + format: uint64 + - name: pagination.limit + description: >- + limit is the total number of results to be returned in the result page. + + If left empty it will default to a value to be set by each app. + in: query + required: false + schema: + type: string + format: uint64 + - name: pagination.count_total + description: >- + count_total is set to true to indicate that the result set should include + + a count of the total number of items available for pagination in UIs. + + count_total is only respected when offset is used. It is ignored when key + + is set. + in: query + required: false + schema: + type: boolean + - name: pagination.reverse + description: >- + reverse is set to true if results are to be returned in the descending order. + + + Since: cosmos-sdk 0.43 + in: query + required: false + schema: + type: boolean tags: - Query - /osmosis/superfluid/v1beta1/asset_type: + /osmosis/superfluid/v1beta1/all_superfluid_delegations: get: - summary: |- - Returns superfluid asset type, whether if it's a native asset or an lp - share. - operationId: AssetType + summary: "" + operationId: TotalSuperfluidDelegations responses: "200": description: A successful response. @@ -8599,16 +9379,8 @@ paths: schema: type: object properties: - asset_type: + total_delegations: type: string - enum: - - SuperfluidAssetTypeNative - - SuperfluidAssetTypeLPShare - default: SuperfluidAssetTypeNative - description: >- - SuperfluidAssetType indicates whether the superfluid asset is - - a native token itself or the lp share of a pool. default: description: An unexpected error response. content: @@ -8779,18 +9551,12 @@ paths: "@type": "type.googleapis.com/google.protobuf.Duration", "value": "1.212s" } - parameters: - - name: denom - in: query - required: false - schema: - type: string tags: - Query - "/osmosis/superfluid/v1beta1/connected_intermediary_account/{lock_id}": + /osmosis/superfluid/v1beta1/asset_multiplier: get: - summary: Returns intermediary account connected to a superfluid staked lock by id - operationId: ConnectedIntermediaryAccount + summary: "" + operationId: AssetMultiplier responses: "200": description: A successful response. @@ -8799,18 +9565,31 @@ paths: schema: type: object properties: - account: + osmo_equivalent_multiplier: type: object properties: - denom: - type: string - val_addr: + epoch_number: type: string - gauge_id: + format: int64 + denom: type: string - format: uint64 - address: + title: superfluid asset denom, can be LP token or native token + multiplier: type: string + description: >- + The Osmo-Equivalent-Multiplier Record for epoch N refers to the osmo worth we + + treat an LP share as having, for all of epoch N. Eventually this is intended + + to be set as the Time-weighted-average-osmo-backing for the entire duration + + of epoch N-1. (Thereby locking whats in use for epoch N as based on the prior + + epochs rewards) However for now, this is not the TWAP but instead the spot + + price at the boundary. For different types of assets in the future, it could + + change. default: description: An unexpected error response. content: @@ -8982,23 +9761,17 @@ paths: "value": "1.212s" } parameters: - - name: lock_id - in: path - required: true + - name: denom + in: query + required: false schema: type: string - format: uint64 tags: - Query - /osmosis/superfluid/v1beta1/estimate_superfluid_delegation_amount_by_validator_denom: + /osmosis/superfluid/v1beta1/asset_type: get: - summary: >- - Returns the amount of a specific denom delegated to a specific validator - - This is labeled an estimate, because the way it calculates the amount can - - lead rounding errors from the true delegated amount - operationId: EstimateSuperfluidDelegatedAmountByValidatorDenom + summary: "" + operationId: AssetType responses: "200": description: A successful response. @@ -9007,22 +9780,17 @@ paths: schema: type: object properties: - total_delegated_coins: - type: array - items: - type: object - properties: - denom: - type: string - amount: - type: string - description: >- - Coin defines a token with a denomination and an amount. - - - NOTE: The amount field is an Int which implements the custom method + asset_type: + type: string + enum: + - SuperfluidAssetTypeNative + - SuperfluidAssetTypeLPShare + - SuperfluidAssetTypeConcentratedShare + default: SuperfluidAssetTypeNative + title: >- + SuperfluidAssetType indicates whether the superfluid asset is - signatures required by gogoproto. + a native token, lp share of a pool, or concentrated share of a pool default: description: An unexpected error response. content: @@ -9194,11 +9962,6 @@ paths: "value": "1.212s" } parameters: - - name: validator_address - in: query - required: false - schema: - type: string - name: denom in: query required: false @@ -9206,10 +9969,10 @@ paths: type: string tags: - Query - /osmosis/superfluid/v1beta1/params: + "/osmosis/superfluid/v1beta1/connected_intermediary_account/{lock_id}": get: - summary: Params returns the total set of superfluid parameters. - operationId: SuperfluidParams + summary: "" + operationId: ConnectedIntermediaryAccount responses: "200": description: A successful response. @@ -9218,21 +9981,18 @@ paths: schema: type: object properties: - params: - description: params defines the parameters of the module. + account: type: object properties: - minimum_risk_factor: + denom: + type: string + val_addr: + type: string + gauge_id: + type: string + format: uint64 + address: type: string - description: >- - minimum_risk_factor is to be cut on OSMO equivalent value of lp tokens for - - superfluid staking, default: 5%. The minimum risk factor works - - to counter-balance the staked amount on chain's exposure to various asset - - volatilities, and have base staking be 'resistant' to volatility. - title: Params holds parameters for the superfluid module default: description: An unexpected error response. content: @@ -9403,15 +10163,19 @@ paths: "@type": "type.googleapis.com/google.protobuf.Duration", "value": "1.212s" } + parameters: + - name: lock_id + in: path + required: true + schema: + type: string + format: uint64 tags: - Query - /osmosis/superfluid/v1beta1/superfluid_delegation_amount: + /osmosis/superfluid/v1beta1/estimate_superfluid_delegation_amount_by_validator_denom: get: - summary: >- - Returns the coins superfluid delegated for the delegator, validator, denom - - triplet - operationId: SuperfluidDelegationAmount + summary: "" + operationId: EstimateSuperfluidDelegatedAmountByValidatorDenom responses: "200": description: A successful response. @@ -9420,7 +10184,7 @@ paths: schema: type: object properties: - amount: + total_delegated_coins: type: array items: type: object @@ -9607,11 +10371,6 @@ paths: "value": "1.212s" } parameters: - - name: delegator_address - in: query - required: false - schema: - type: string - name: validator_address in: query required: false @@ -9624,10 +10383,10 @@ paths: type: string tags: - Query - "/osmosis/superfluid/v1beta1/superfluid_delegations/{delegator_address}": + /osmosis/superfluid/v1beta1/params: get: - summary: Returns all the delegated superfluid poistions for a specific delegator. - operationId: SuperfluidDelegationsByDelegator + summary: "" + operationId: SuperfluidParams responses: "200": description: A successful response. @@ -9636,77 +10395,21 @@ paths: schema: type: object properties: - superfluid_delegation_records: - type: array - items: - type: object - properties: - delegator_address: - type: string - validator_address: - type: string - delegation_amount: - type: object - properties: - denom: - type: string - amount: - type: string - description: >- - Coin defines a token with a denomination and an amount. - - - NOTE: The amount field is an Int which implements the custom method - - signatures required by gogoproto. - equivalent_staked_amount: - type: object - properties: - denom: - type: string - amount: - type: string - description: >- - Coin defines a token with a denomination and an amount. - - - NOTE: The amount field is an Int which implements the custom method - - signatures required by gogoproto. - description: >- - SuperfluidDelegationRecord is a struct used to indicate superfluid - - delegations of an account in the state machine in a user friendly form. - total_delegated_coins: - type: array - items: - type: object - properties: - denom: - type: string - amount: - type: string - description: >- - Coin defines a token with a denomination and an amount. - - - NOTE: The amount field is an Int which implements the custom method - - signatures required by gogoproto. - total_equivalent_staked_amount: + params: + description: params defines the parameters of the module. type: object properties: - denom: - type: string - amount: + minimum_risk_factor: type: string - description: >- - Coin defines a token with a denomination and an amount. + description: >- + minimum_risk_factor is to be cut on OSMO equivalent value of lp tokens for + superfluid staking, default: 5%. The minimum risk factor works - NOTE: The amount field is an Int which implements the custom method + to counter-balance the staked amount on chain's exposure to various asset - signatures required by gogoproto. + volatilities, and have base staking be 'resistant' to volatility. + title: Params holds parameters for the superfluid module default: description: An unexpected error response. content: @@ -9877,21 +10580,12 @@ paths: "@type": "type.googleapis.com/google.protobuf.Duration", "value": "1.212s" } - parameters: - - name: delegator_address - in: path - required: true - schema: - type: string tags: - Query - /osmosis/superfluid/v1beta1/superfluid_delegations_by_validator_denom: + /osmosis/superfluid/v1beta1/superfluid_delegation_amount: get: - summary: >- - Returns all the superfluid positions of a specific denom delegated to one - - validator - operationId: SuperfluidDelegationsByValidatorDenom + summary: "" + operationId: SuperfluidDelegationAmount responses: "200": description: A successful response. @@ -9900,47 +10594,22 @@ paths: schema: type: object properties: - superfluid_delegation_records: + amount: type: array items: type: object properties: - delegator_address: + denom: type: string - validator_address: + amount: type: string - delegation_amount: - type: object - properties: - denom: - type: string - amount: - type: string - description: >- - Coin defines a token with a denomination and an amount. - - - NOTE: The amount field is an Int which implements the custom method - - signatures required by gogoproto. - equivalent_staked_amount: - type: object - properties: - denom: - type: string - amount: - type: string - description: >- - Coin defines a token with a denomination and an amount. - + description: >- + Coin defines 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: >- - SuperfluidDelegationRecord is a struct used to indicate superfluid + NOTE: The amount field is an Int which implements the custom method - delegations of an account in the state machine in a user friendly form. + signatures required by gogoproto. default: description: An unexpected error response. content: @@ -10112,6 +10781,11 @@ paths: "value": "1.212s" } parameters: + - name: delegator_address + in: query + required: false + schema: + type: string - name: validator_address in: query required: false @@ -10124,10 +10798,10 @@ paths: type: string tags: - Query - "/osmosis/superfluid/v1beta1/superfluid_undelegations_by_delegator/{delegator_address}": + "/osmosis/superfluid/v1beta1/superfluid_delegations/{delegator_address}": get: - summary: Returns all the undelegating superfluid poistions for a specific delegator. - operationId: SuperfluidUndelegationsByDelegator + summary: "" + operationId: SuperfluidDelegationsByDelegator responses: "200": description: A successful response. @@ -10177,7 +10851,7 @@ paths: SuperfluidDelegationRecord is a struct used to indicate superfluid delegations of an account in the state machine in a user friendly form. - total_undelegated_coins: + total_delegated_coins: type: array items: type: object @@ -10193,45 +10867,20 @@ paths: NOTE: The amount field is an Int which implements the custom method signatures required by gogoproto. - synthetic_locks: - type: array - items: - type: object - properties: - underlying_lock_id: - type: string - format: uint64 - description: >- - Underlying Lock ID is the underlying native lock's id for this synthetic - - lockup. A synthetic lock MUST have an underlying lock. - synth_denom: - type: string - description: >- - SynthDenom is the synthetic denom that is a combination of - - gamm share + bonding status + validator address. - end_time: - type: string - format: date-time - title: >- - used for unbonding synthetic lockups, for active synthetic lockups, this - - value is set to uninitialized value - duration: - type: string - description: >- - Duration is the duration for a synthetic lock to mature - - at the point of unbonding has started. - description: >- - SyntheticLock is creating virtual lockup where new denom is combination of + total_equivalent_staked_amount: + type: object + properties: + denom: + type: string + amount: + type: string + description: >- + Coin defines a token with a denomination and an amount. - original denom and synthetic suffix. At the time of synthetic lockup creation - and deletion, accumulation store is also being updated and on querier side, + NOTE: The amount field is an Int which implements the custom method - they can query as freely as native lockup. + signatures required by gogoproto. default: description: An unexpected error response. content: @@ -10408,17 +11057,12 @@ paths: required: true schema: type: string - - name: denom - in: query - required: false - schema: - type: string tags: - Query - "/osmosis/superfluid/v1beta1/total_delegation_by_delegator/{delegator_address}": + /osmosis/superfluid/v1beta1/superfluid_delegations_by_validator_denom: get: - summary: Returns the specified delegations for a specific delegator - operationId: TotalDelegationByDelegator + summary: "" + operationId: SuperfluidDelegationsByValidatorDenom responses: "200": description: A successful response. @@ -10468,77 +11112,6 @@ paths: SuperfluidDelegationRecord is a struct used to indicate superfluid delegations of an account in the state machine in a user friendly form. - delegation_response: - type: array - items: - type: object - properties: - delegation: - type: object - properties: - delegator_address: - type: string - description: delegator_address is the bech32-encoded address of the delegator. - validator_address: - type: string - description: validator_address is the bech32-encoded address of the validator. - shares: - type: string - description: shares define the delegation shares received. - description: >- - Delegation represents the bond with tokens held by an account. It is - - owned by one delegator, and is associated with the voting power of one - - validator. - balance: - type: object - properties: - denom: - type: string - amount: - type: string - description: >- - Coin defines a token with a denomination and an amount. - - - NOTE: The amount field is an Int which implements the custom method - - signatures required by gogoproto. - description: >- - DelegationResponse is equivalent to Delegation except that it contains a - - balance in addition to shares which is more suitable for client responses. - total_delegated_coins: - type: array - items: - type: object - properties: - denom: - type: string - amount: - type: string - description: >- - Coin defines a token with a denomination and an amount. - - - NOTE: The amount field is an Int which implements the custom method - - signatures required by gogoproto. - total_equivalent_staked_amount: - type: object - properties: - denom: - type: string - amount: - type: string - description: >- - Coin defines a token with a denomination and an amount. - - - NOTE: The amount field is an Int which implements the custom method - - signatures required by gogoproto. default: description: An unexpected error response. content: @@ -10710,17 +11283,22 @@ paths: "value": "1.212s" } parameters: - - name: delegator_address - in: path - required: true + - name: validator_address + in: query + required: false + schema: + type: string + - name: denom + in: query + required: false schema: type: string tags: - Query - /osmosis/superfluid/v1beta1/unpool_whitelist: + "/osmosis/superfluid/v1beta1/superfluid_undelegations_by_delegator/{delegator_address}": get: - summary: Returns a list of whitelisted pool ids to unpool. - operationId: UnpoolWhitelist + summary: "" + operationId: SuperfluidUndelegationsByDelegator responses: "200": description: A successful response. @@ -10729,11 +11307,102 @@ paths: schema: type: object properties: - pool_ids: + superfluid_delegation_records: type: array items: - type: string - format: uint64 + type: object + properties: + delegator_address: + type: string + validator_address: + type: string + delegation_amount: + type: object + properties: + denom: + type: string + amount: + type: string + description: >- + Coin defines a token with a denomination and an amount. + + + NOTE: The amount field is an Int which implements the custom method + + signatures required by gogoproto. + equivalent_staked_amount: + type: object + properties: + denom: + type: string + amount: + type: string + description: >- + Coin defines a token with a denomination and an amount. + + + NOTE: The amount field is an Int which implements the custom method + + signatures required by gogoproto. + description: >- + SuperfluidDelegationRecord is a struct used to indicate superfluid + + delegations of an account in the state machine in a user friendly form. + total_undelegated_coins: + type: array + items: + type: object + properties: + denom: + type: string + amount: + type: string + description: >- + Coin defines a token with a denomination and an amount. + + + NOTE: The amount field is an Int which implements the custom method + + signatures required by gogoproto. + synthetic_locks: + type: array + items: + type: object + properties: + underlying_lock_id: + type: string + format: uint64 + description: >- + Underlying Lock ID is the underlying native lock's id for this synthetic + + lockup. A synthetic lock MUST have an underlying lock. + synth_denom: + type: string + description: >- + SynthDenom is the synthetic denom that is a combination of + + gamm share + bonding status + validator address. + end_time: + type: string + format: date-time + title: >- + used for unbonding synthetic lockups, for active synthetic lockups, this + + value is set to uninitialized value + duration: + type: string + description: >- + Duration is the duration for a synthetic lock to mature + + at the point of unbonding has started. + description: >- + SyntheticLock is creating virtual lockup where new denom is combination of + + original denom and synthetic suffix. At the time of synthetic lockup creation + + and deletion, accumulation store is also being updated and on querier side, + + they can query as freely as native lockup. default: description: An unexpected error response. content: @@ -10904,76 +11573,23 @@ paths: "@type": "type.googleapis.com/google.protobuf.Duration", "value": "1.212s" } - tags: - - Query - "/osmosis/tokenfactory/v1beta1/denoms/{denom}/authority_metadata": - get: - summary: |- - DenomAuthorityMetadata defines a gRPC query method for fetching - DenomAuthorityMetadata for a particular denom. - operationId: DenomAuthorityMetadata - responses: - "200": - description: A successful response. - content: - "*/*": - schema: - type: object - properties: - authority_metadata: - type: object - properties: - admin: - type: string - title: Can be empty for no admin, or a valid osmosis address - description: >- - DenomAuthorityMetadata specifies metadata for addresses that have specific - - capabilities over a token factory denom. Right now there is only one Admin - - permission, but is planned to be extended to the future. - description: >- - QueryDenomAuthorityMetadataResponse defines the response structure for the - - DenomAuthorityMetadata gRPC query. - default: - description: An unexpected error response. - content: - "*/*": - schema: - type: object - properties: - error: - type: string - code: - type: integer - format: int32 - message: - type: string - details: - type: array - items: - type: object - properties: - type_url: - type: string - value: - type: string - format: byte parameters: - - name: denom + - name: delegator_address in: path required: true schema: type: string + - name: denom + in: query + required: false + schema: + type: string tags: - Query - "/osmosis/tokenfactory/v1beta1/denoms_from_creator/{creator}": + "/osmosis/superfluid/v1beta1/total_delegation_by_delegator/{delegator_address}": get: - summary: |- - DenomsFromCreator defines a gRPC query method for fetching all - denominations created by a specific admin/creator. - operationId: DenomsFromCreator + summary: "" + operationId: TotalDelegationByDelegator responses: "200": description: A successful response. @@ -10982,68 +11598,30 @@ paths: schema: type: object properties: - denoms: - type: array - items: - type: string - description: >- - QueryDenomsFromCreatorRequest defines the response structure for the - - DenomsFromCreator gRPC query. - default: - description: An unexpected error response. - content: - "*/*": - schema: - type: object - properties: - error: - type: string - code: - type: integer - format: int32 - message: - type: string - details: + superfluid_delegation_records: type: array items: type: object properties: - type_url: + delegator_address: type: string - value: + validator_address: type: string - format: byte - parameters: - - name: creator - in: path - required: true - schema: - type: string - tags: - - Query - /osmosis/tokenfactory/v1beta1/params: - get: - summary: >- - Params defines a gRPC query method that returns the tokenfactory module's + delegation_amount: + type: object + properties: + denom: + type: string + amount: + type: string + description: >- + Coin defines a token with a denomination and an amount. - parameters. - operationId: TokenfactoryParams - responses: - "200": - description: A successful response. - content: - "*/*": - schema: - type: object - properties: - params: - description: params defines the parameters of the module. - type: object - properties: - denom_creation_fee: - type: array - items: + + NOTE: The amount field is an Int which implements the custom method + + signatures required by gogoproto. + equivalent_staked_amount: type: object properties: denom: @@ -11057,202 +11635,81 @@ paths: NOTE: The amount field is an Int which implements the custom method signatures required by gogoproto. - description: QueryParamsResponse is the response type for the Query/Params RPC method. - default: - description: An unexpected error response. - content: - "*/*": - schema: - type: object - properties: - error: - type: string - code: - type: integer - format: int32 - message: - type: string - details: - type: array - items: - type: object - properties: - type_url: - type: string - value: - type: string - format: byte - tags: - - Query - /osmosis/txfees/v1beta1/base_denom: - get: - summary: Returns a list of all base denom tokens and their corresponding pools. - operationId: TxFeesBaseDenom - responses: - "200": - description: A successful response. - content: - "*/*": - schema: - type: object - properties: - base_denom: - type: string - default: - description: An unexpected error response. - content: - "*/*": - schema: - type: object - properties: - error: - type: string - code: - type: integer - format: int32 - message: - type: string - details: - type: array - items: - type: object - properties: - type_url: - type: string - value: - type: string - format: byte - tags: - - Query - "/osmosis/txfees/v1beta1/denom_pool_id/{denom}": - get: - summary: Returns the poolID for a specified denom input. - operationId: DenomPoolId - responses: - "200": - description: A successful response. - content: - "*/*": - schema: - type: object - properties: - poolID: - type: string - format: uint64 - default: - description: An unexpected error response. - content: - "*/*": - schema: - type: object - properties: - error: - type: string - code: - type: integer - format: int32 - message: - type: string - details: + description: >- + SuperfluidDelegationRecord is a struct used to indicate superfluid + + delegations of an account in the state machine in a user friendly form. + delegation_response: type: array items: type: object properties: - type_url: - type: string - value: - type: string - format: byte - parameters: - - name: denom - in: path - required: true - schema: - type: string - tags: - - Query - /osmosis/txfees/v1beta1/fee_tokens: - get: - summary: >- - FeeTokens returns a list of all the whitelisted fee tokens and their + delegation: + type: object + properties: + delegator_address: + type: string + description: delegator_address is the bech32-encoded address of the delegator. + validator_address: + type: string + description: validator_address is the bech32-encoded address of the validator. + shares: + type: string + description: shares define the delegation shares received. + description: >- + Delegation represents the bond with tokens held by an account. It is - corresponding pools. It does not include the BaseDenom, which has its own + owned by one delegator, and is associated with the voting power of one - query endpoint - operationId: FeeTokens - responses: - "200": - description: A successful response. - content: - "*/*": - schema: - type: object - properties: - fee_tokens: + validator. + balance: + type: object + properties: + denom: + type: string + amount: + type: string + description: >- + Coin defines a token with a denomination and an amount. + + + NOTE: The amount field is an Int which implements the custom method + + signatures required by gogoproto. + description: >- + DelegationResponse is equivalent to Delegation except that it contains a + + balance in addition to shares which is more suitable for client responses. + total_delegated_coins: type: array items: type: object properties: denom: type: string - poolID: + amount: type: string - format: uint64 description: >- - FeeToken is a struct that specifies a coin denom, and pool ID pair. + Coin defines a token with a denomination and an amount. - This marks the token as eligible for use as a tx fee asset in Osmosis. - Its price in osmo is derived through looking at the provided pool ID. + NOTE: The amount field is an Int which implements the custom method - The pool ID must have osmo as one of its assets. - default: - description: An unexpected error response. - content: - "*/*": - schema: - type: object - properties: - error: - type: string - code: - type: integer - format: int32 - message: - type: string - details: - type: array - items: - type: object - properties: - type_url: - type: string - value: - type: string - format: byte - tags: - - Query - /osmosis/txfees/v1beta1/spot_price_by_denom: - get: - summary: DenomSpotPrice returns all spot prices by each registered token denom. - operationId: DenomSpotPrice - responses: - "200": - description: A successful response. - content: - "*/*": - schema: - type: object - properties: - poolID: - type: string - format: uint64 - spot_price: - type: string - title: >- - QueryDenomSpotPriceRequest defines grpc response structure for querying spot + signatures required by gogoproto. + total_equivalent_staked_amount: + type: object + properties: + denom: + type: string + amount: + type: string + description: >- + Coin defines a token with a denomination and an amount. - price for the specified tx fee denom + + NOTE: The amount field is an Int which implements the custom method + + signatures required by gogoproto. default: description: An unexpected error response. content: @@ -11268,37 +11725,6 @@ paths: message: type: string details: - type: array - items: - type: object - properties: - type_url: - type: string - value: - type: string - format: byte - parameters: - - name: denom - in: query - required: false - schema: - type: string - tags: - - Query - /cosmos/auth/v1beta1/accounts: - get: - summary: Accounts returns all the existing accounts - description: "Since: cosmos-sdk 0.43" - operationId: Accounts - responses: - "200": - description: A successful response. - content: - "*/*": - schema: - type: object - properties: - accounts: type: array items: type: object @@ -11454,29 +11880,31 @@ paths: "@type": "type.googleapis.com/google.protobuf.Duration", "value": "1.212s" } - title: accounts are the existing accounts - pagination: - description: pagination defines the pagination in the response. - type: object - properties: - next_key: - type: string - format: byte - title: |- - next_key is the key to be passed to PageRequest.key to - query the next page most efficiently - total: - type: string - format: uint64 - title: >- - total is total number of results available if PageRequest.count_total - - was set, its value is undefined otherwise - description: >- - QueryAccountsResponse is the response type for the Query/Accounts RPC method. - - - Since: cosmos-sdk 0.43 + parameters: + - name: delegator_address + in: path + required: true + schema: + type: string + tags: + - Query + /osmosis/superfluid/v1beta1/unpool_whitelist: + get: + summary: "" + operationId: UnpoolWhitelist + responses: + "200": + description: A successful response. + content: + "*/*": + schema: + type: object + properties: + pool_ids: + type: array + items: + type: string + format: uint64 default: description: An unexpected error response. content: @@ -11647,68 +12075,12 @@ paths: "@type": "type.googleapis.com/google.protobuf.Duration", "value": "1.212s" } - parameters: - - name: pagination.key - description: |- - key is a value returned in PageResponse.next_key to begin - querying the next page most efficiently. Only one of offset or key - should be set. - in: query - required: false - schema: - type: string - format: byte - - name: pagination.offset - description: >- - offset is a numeric offset that can be used when key is unavailable. - - It is less efficient than using key. Only one of offset or key should - - be set. - in: query - required: false - schema: - type: string - format: uint64 - - name: pagination.limit - description: >- - limit is the total number of results to be returned in the result page. - - If left empty it will default to a value to be set by each app. - in: query - required: false - schema: - type: string - format: uint64 - - name: pagination.count_total - description: >- - count_total is set to true to indicate that the result set should include - - a count of the total number of items available for pagination in UIs. - - count_total is only respected when offset is used. It is ignored when key - - is set. - in: query - required: false - schema: - type: boolean - - name: pagination.reverse - description: >- - reverse is set to true if results are to be returned in the descending order. - - - Since: cosmos-sdk 0.43 - in: query - required: false - schema: - type: boolean tags: - Query - "/cosmos/auth/v1beta1/accounts/{address}": + "/osmosis/tokenfactory/v1beta1/denoms/{denom}/authority_metadata": get: - summary: Account returns account details based on address. - operationId: Account + summary: "" + operationId: DenomAuthorityMetadata responses: "200": description: A successful response. @@ -11717,161 +12089,1566 @@ paths: schema: type: object properties: - account: + authority_metadata: type: object properties: - type_url: + admin: type: string - description: >- - A URL/resource name that uniquely identifies the type of the serialized - - protocol buffer message. This string must contain at least + title: Can be empty for no admin, or a valid osmosis address + description: >- + DenomAuthorityMetadata specifies metadata for addresses that have specific - one "/" character. The last segment of the URL's path must represent + capabilities over a token factory denom. Right now there is only one Admin - the fully qualified name of the type (as in + permission, but is planned to be extended to the future. + description: >- + QueryDenomAuthorityMetadataResponse defines the response structure for the + + DenomAuthorityMetadata gRPC query. + default: + description: An unexpected error response. + content: + "*/*": + schema: + type: object + properties: + error: + type: string + code: + type: integer + format: int32 + message: + type: string + details: + type: array + items: + type: object + properties: + type_url: + type: string + value: + type: string + format: byte + parameters: + - name: denom + in: path + required: true + schema: + type: string + tags: + - Query + "/osmosis/tokenfactory/v1beta1/denoms/{denom}/before_send_hook": + get: + summary: "" + operationId: BeforeSendHookAddress + responses: + "200": + description: A successful response. + content: + "*/*": + schema: + type: object + properties: + cosmwasm_address: + type: string + description: >- + QueryBeforeSendHookAddressResponse defines the response structure for the + + DenomBeforeSendHook gRPC query. + default: + description: An unexpected error response. + content: + "*/*": + schema: + type: object + properties: + error: + type: string + code: + type: integer + format: int32 + message: + type: string + details: + type: array + items: + type: object + properties: + type_url: + type: string + value: + type: string + format: byte + parameters: + - name: denom + in: path + required: true + schema: + type: string + tags: + - Query + "/osmosis/tokenfactory/v1beta1/denoms_from_creator/{creator}": + get: + summary: "" + operationId: DenomsFromCreator + responses: + "200": + description: A successful response. + content: + "*/*": + schema: + type: object + properties: + denoms: + type: array + items: + type: string + description: >- + QueryDenomsFromCreatorRequest defines the response structure for the + + DenomsFromCreator gRPC query. + default: + description: An unexpected error response. + content: + "*/*": + schema: + type: object + properties: + error: + type: string + code: + type: integer + format: int32 + message: + type: string + details: + type: array + items: + type: object + properties: + type_url: + type: string + value: + type: string + format: byte + parameters: + - name: creator + in: path + required: true + schema: + type: string + tags: + - Query + /osmosis/tokenfactory/v1beta1/params: + get: + summary: "" + operationId: TokenfactoryParams + responses: + "200": + description: A successful response. + content: + "*/*": + schema: + type: object + properties: + params: + description: params defines the parameters of the module. + type: object + properties: + denom_creation_fee: + type: array + items: + type: object + properties: + denom: + type: string + amount: + type: string + description: >- + Coin defines a token with a denomination and an amount. + + + NOTE: The amount field is an Int which implements the custom method + + signatures required by gogoproto. + description: >- + DenomCreationFee defines the fee to be charged on the creation of a new + + denom. The fee is drawn from the MsgCreateDenom's sender account, and + + transferred to the community pool. + denom_creation_gas_consume: + type: string + format: uint64 + description: >- + DenomCreationGasConsume defines the gas cost for creating a new denom. + + This is intended as a spam deterrence mechanism. + + + See: https://github.com/CosmWasm/token-factory/issues/11 + description: QueryParamsResponse is the response type for the Query/Params RPC method. + default: + description: An unexpected error response. + content: + "*/*": + schema: + type: object + properties: + error: + type: string + code: + type: integer + format: int32 + message: + type: string + details: + type: array + items: + type: object + properties: + type_url: + type: string + value: + type: string + format: byte + tags: + - Query + /osmosis/txfees/v1beta1/base_denom: + get: + summary: "" + operationId: TxFeesBaseDenom + responses: + "200": + description: A successful response. + content: + "*/*": + schema: + type: object + properties: + base_denom: + type: string + default: + description: An unexpected error response. + content: + "*/*": + schema: + type: object + properties: + error: + type: string + code: + type: integer + format: int32 + message: + type: string + details: + type: array + items: + type: object + properties: + type_url: + type: string + value: + type: string + format: byte + tags: + - Query + "/osmosis/txfees/v1beta1/denom_pool_id/{denom}": + get: + summary: "" + operationId: DenomPoolId + responses: + "200": + description: A successful response. + content: + "*/*": + schema: + type: object + properties: + poolID: + type: string + format: uint64 + default: + description: An unexpected error response. + content: + "*/*": + schema: + type: object + properties: + error: + type: string + code: + type: integer + format: int32 + message: + type: string + details: + type: array + items: + type: object + properties: + type_url: + type: string + value: + type: string + format: byte + parameters: + - name: denom + in: path + required: true + schema: + type: string + tags: + - Query + /osmosis/txfees/v1beta1/fee_tokens: + get: + summary: "" + operationId: FeeTokens + responses: + "200": + description: A successful response. + content: + "*/*": + schema: + type: object + properties: + fee_tokens: + type: array + items: + type: object + properties: + denom: + type: string + poolID: + type: string + format: uint64 + description: >- + FeeToken is a struct that specifies a coin denom, and pool ID pair. + + This marks the token as eligible for use as a tx fee asset in Osmosis. + + Its price in osmo is derived through looking at the provided pool ID. + + The pool ID must have osmo as one of its assets. + default: + description: An unexpected error response. + content: + "*/*": + schema: + type: object + properties: + error: + type: string + code: + type: integer + format: int32 + message: + type: string + details: + type: array + items: + type: object + properties: + type_url: + type: string + value: + type: string + format: byte + tags: + - Query + /osmosis/txfees/v1beta1/spot_price_by_denom: + get: + summary: "" + operationId: DenomSpotPrice + responses: + "200": + description: A successful response. + content: + "*/*": + schema: + type: object + properties: + poolID: + type: string + format: uint64 + spot_price: + type: string + title: >- + QueryDenomSpotPriceRequest defines grpc response structure for querying spot + + price for the specified tx fee denom + default: + description: An unexpected error response. + content: + "*/*": + schema: + type: object + properties: + error: + type: string + code: + type: integer + format: int32 + message: + type: string + details: + type: array + items: + type: object + properties: + type_url: + type: string + value: + type: string + format: byte + parameters: + - name: denom + in: query + required: false + schema: + type: string + tags: + - Query + /cosmos/auth/v1beta1/accounts: + get: + summary: "" + description: "Since: cosmos-sdk 0.43" + operationId: Accounts + responses: + "200": + description: A successful response. + content: + "*/*": + schema: + type: object + properties: + accounts: + type: array + items: + type: object + properties: + type_url: + type: string + description: >- + A URL/resource name that uniquely identifies the type of the serialized + + protocol buffer message. This string must contain at least + + one "/" character. The last segment of the URL's path must represent + + the fully qualified name of the type (as in + + `path/google.protobuf.Duration`). The name should be in a canonical form + + (e.g., leading "." is not accepted). + + + In practice, teams usually precompile into the binary all types that they + + expect it to use in the context of Any. However, for URLs which use the + + scheme `http`, `https`, or no scheme, one can optionally set up a type + + server that maps type URLs to message definitions as follows: + + + * If no scheme is provided, `https` is assumed. + + * An HTTP GET on the URL must yield a [google.protobuf.Type][] + + value in binary format, or produce an error. + * Applications are allowed to cache lookup results based on the + + URL, or have them precompiled into a binary to avoid any + lookup. Therefore, binary compatibility needs to be preserved + on changes to types. (Use versioned type names to manage + breaking changes.) + + Note: this functionality is not currently available in the official + + protobuf release, and it is not used for type URLs beginning with + + type.googleapis.com. + + + Schemes other than `http`, `https` (or the empty scheme) might be + + used with implementation specific semantics. + value: + type: string + format: byte + description: Must be a valid serialized protocol buffer of the above specified type. + description: >- + `Any` contains an arbitrary serialized protocol buffer message along with a + + URL that describes the type of the serialized message. + + + Protobuf library provides support to pack/unpack Any values in the form + + of utility functions or additional generated methods of the Any type. + + + Example 1: Pack and unpack a message in C++. + + + Foo foo = ...; + Any any; + any.PackFrom(foo); + ... + if (any.UnpackTo(&foo)) { + ... + } + + Example 2: Pack and unpack a message in Java. + + + Foo foo = ...; + Any any = Any.pack(foo); + ... + if (any.is(Foo.class)) { + foo = any.unpack(Foo.class); + } + + Example 3: Pack and unpack a message in Python. + + foo = Foo(...) + any = Any() + any.Pack(foo) + ... + if any.Is(Foo.DESCRIPTOR): + any.Unpack(foo) + ... + + Example 4: Pack and unpack a message in Go + + foo := &pb.Foo{...} + any, err := ptypes.MarshalAny(foo) + ... + foo := &pb.Foo{} + if err := ptypes.UnmarshalAny(any, foo); err != nil { + ... + } + + The pack methods provided by protobuf library will by default use + + 'type.googleapis.com/full.type.name' as the type URL and the unpack + + methods only use the fully qualified type name after the last '/' + + in the type URL, for example "foo.bar.com/x/y.z" will yield type + + name "y.z". + + + + JSON + + ==== + + The JSON representation of an `Any` value uses the regular + + representation of the deserialized, embedded message, with an + + additional field `@type` which contains the type URL. Example: + + + package google.profile; + message Person { + string first_name = 1; + string last_name = 2; + } + + { + "@type": "type.googleapis.com/google.profile.Person", + "firstName": , + "lastName": + } + + If the embedded message type is well-known and has a custom JSON + + representation, that representation will be embedded adding a field + + `value` which holds the custom JSON in addition to the `@type` + + field. Example (for message [google.protobuf.Duration][]): + + + { + "@type": "type.googleapis.com/google.protobuf.Duration", + "value": "1.212s" + } + title: accounts are the existing accounts + pagination: + description: pagination defines the pagination in the response. + type: object + properties: + next_key: + type: string + format: byte + title: |- + next_key is the key to be passed to PageRequest.key to + query the next page most efficiently + total: + type: string + format: uint64 + title: >- + total is total number of results available if PageRequest.count_total + + was set, its value is undefined otherwise + description: >- + QueryAccountsResponse is the response type for the Query/Accounts RPC method. + + + Since: cosmos-sdk 0.43 + default: + description: An unexpected error response. + content: + "*/*": + schema: + type: object + properties: + error: + type: string + code: + type: integer + format: int32 + message: + type: string + details: + type: array + items: + type: object + properties: + type_url: + type: string + description: >- + A URL/resource name that uniquely identifies the type of the serialized + + protocol buffer message. This string must contain at least + + one "/" character. The last segment of the URL's path must represent + + the fully qualified name of the type (as in + + `path/google.protobuf.Duration`). The name should be in a canonical form + + (e.g., leading "." is not accepted). + + + In practice, teams usually precompile into the binary all types that they + + expect it to use in the context of Any. However, for URLs which use the + + scheme `http`, `https`, or no scheme, one can optionally set up a type + + server that maps type URLs to message definitions as follows: + + + * If no scheme is provided, `https` is assumed. + + * An HTTP GET on the URL must yield a [google.protobuf.Type][] + + value in binary format, or produce an error. + * Applications are allowed to cache lookup results based on the + + URL, or have them precompiled into a binary to avoid any + lookup. Therefore, binary compatibility needs to be preserved + on changes to types. (Use versioned type names to manage + breaking changes.) + + Note: this functionality is not currently available in the official + + protobuf release, and it is not used for type URLs beginning with + + type.googleapis.com. + + + Schemes other than `http`, `https` (or the empty scheme) might be + + used with implementation specific semantics. + value: + type: string + format: byte + description: Must be a valid serialized protocol buffer of the above specified type. + description: >- + `Any` contains an arbitrary serialized protocol buffer message along with a + + URL that describes the type of the serialized message. + + + Protobuf library provides support to pack/unpack Any values in the form + + of utility functions or additional generated methods of the Any type. + + + Example 1: Pack and unpack a message in C++. + + + Foo foo = ...; + Any any; + any.PackFrom(foo); + ... + if (any.UnpackTo(&foo)) { + ... + } + + Example 2: Pack and unpack a message in Java. + + + Foo foo = ...; + Any any = Any.pack(foo); + ... + if (any.is(Foo.class)) { + foo = any.unpack(Foo.class); + } + + Example 3: Pack and unpack a message in Python. + + foo = Foo(...) + any = Any() + any.Pack(foo) + ... + if any.Is(Foo.DESCRIPTOR): + any.Unpack(foo) + ... + + Example 4: Pack and unpack a message in Go + + foo := &pb.Foo{...} + any, err := ptypes.MarshalAny(foo) + ... + foo := &pb.Foo{} + if err := ptypes.UnmarshalAny(any, foo); err != nil { + ... + } + + The pack methods provided by protobuf library will by default use + + 'type.googleapis.com/full.type.name' as the type URL and the unpack + + methods only use the fully qualified type name after the last '/' + + in the type URL, for example "foo.bar.com/x/y.z" will yield type + + name "y.z". + + + + JSON + + ==== + + The JSON representation of an `Any` value uses the regular + + representation of the deserialized, embedded message, with an + + additional field `@type` which contains the type URL. Example: + + + package google.profile; + message Person { + string first_name = 1; + string last_name = 2; + } + + { + "@type": "type.googleapis.com/google.profile.Person", + "firstName": , + "lastName": + } + + If the embedded message type is well-known and has a custom JSON + + representation, that representation will be embedded adding a field + + `value` which holds the custom JSON in addition to the `@type` + + field. Example (for message [google.protobuf.Duration][]): + + + { + "@type": "type.googleapis.com/google.protobuf.Duration", + "value": "1.212s" + } + parameters: + - name: pagination.key + description: |- + key is a value returned in PageResponse.next_key to begin + querying the next page most efficiently. Only one of offset or key + should be set. + in: query + required: false + schema: + type: string + format: byte + - name: pagination.offset + description: >- + offset is a numeric offset that can be used when key is unavailable. + + It is less efficient than using key. Only one of offset or key should + + be set. + in: query + required: false + schema: + type: string + format: uint64 + - name: pagination.limit + description: >- + limit is the total number of results to be returned in the result page. + + If left empty it will default to a value to be set by each app. + in: query + required: false + schema: + type: string + format: uint64 + - name: pagination.count_total + description: >- + count_total is set to true to indicate that the result set should include + + a count of the total number of items available for pagination in UIs. + + count_total is only respected when offset is used. It is ignored when key + + is set. + in: query + required: false + schema: + type: boolean + - name: pagination.reverse + description: >- + reverse is set to true if results are to be returned in the descending order. + + + Since: cosmos-sdk 0.43 + in: query + required: false + schema: + type: boolean + tags: + - Query + "/cosmos/auth/v1beta1/accounts/{address}": + get: + summary: "" + operationId: Account + responses: + "200": + description: A successful response. + content: + "*/*": + schema: + type: object + properties: + account: + type: object + properties: + type_url: + type: string + description: >- + A URL/resource name that uniquely identifies the type of the serialized + + protocol buffer message. This string must contain at least + + one "/" character. The last segment of the URL's path must represent + + the fully qualified name of the type (as in + + `path/google.protobuf.Duration`). The name should be in a canonical form + + (e.g., leading "." is not accepted). + + + In practice, teams usually precompile into the binary all types that they + + expect it to use in the context of Any. However, for URLs which use the + + scheme `http`, `https`, or no scheme, one can optionally set up a type + + server that maps type URLs to message definitions as follows: + + + * If no scheme is provided, `https` is assumed. + + * An HTTP GET on the URL must yield a [google.protobuf.Type][] + + value in binary format, or produce an error. + * Applications are allowed to cache lookup results based on the + + URL, or have them precompiled into a binary to avoid any + lookup. Therefore, binary compatibility needs to be preserved + on changes to types. (Use versioned type names to manage + breaking changes.) + + Note: this functionality is not currently available in the official + + protobuf release, and it is not used for type URLs beginning with + + type.googleapis.com. + + + Schemes other than `http`, `https` (or the empty scheme) might be + + used with implementation specific semantics. + value: + type: string + format: byte + description: Must be a valid serialized protocol buffer of the above specified type. + description: >- + `Any` contains an arbitrary serialized protocol buffer message along with a + + URL that describes the type of the serialized message. + + + Protobuf library provides support to pack/unpack Any values in the form + + of utility functions or additional generated methods of the Any type. + + + Example 1: Pack and unpack a message in C++. + + + Foo foo = ...; + Any any; + any.PackFrom(foo); + ... + if (any.UnpackTo(&foo)) { + ... + } + + Example 2: Pack and unpack a message in Java. + + + Foo foo = ...; + Any any = Any.pack(foo); + ... + if (any.is(Foo.class)) { + foo = any.unpack(Foo.class); + } + + Example 3: Pack and unpack a message in Python. + + foo = Foo(...) + any = Any() + any.Pack(foo) + ... + if any.Is(Foo.DESCRIPTOR): + any.Unpack(foo) + ... + + Example 4: Pack and unpack a message in Go + + foo := &pb.Foo{...} + any, err := ptypes.MarshalAny(foo) + ... + foo := &pb.Foo{} + if err := ptypes.UnmarshalAny(any, foo); err != nil { + ... + } + + The pack methods provided by protobuf library will by default use + + 'type.googleapis.com/full.type.name' as the type URL and the unpack + + methods only use the fully qualified type name after the last '/' + + in the type URL, for example "foo.bar.com/x/y.z" will yield type + + name "y.z". + + + + JSON + + ==== + + The JSON representation of an `Any` value uses the regular + + representation of the deserialized, embedded message, with an + + additional field `@type` which contains the type URL. Example: + + + package google.profile; + message Person { + string first_name = 1; + string last_name = 2; + } + + { + "@type": "type.googleapis.com/google.profile.Person", + "firstName": , + "lastName": + } + + If the embedded message type is well-known and has a custom JSON + + representation, that representation will be embedded adding a field + + `value` which holds the custom JSON in addition to the `@type` + + field. Example (for message [google.protobuf.Duration][]): + + + { + "@type": "type.googleapis.com/google.protobuf.Duration", + "value": "1.212s" + } + description: QueryAccountResponse is the response type for the Query/Account RPC method. + default: + description: An unexpected error response. + content: + "*/*": + schema: + type: object + properties: + error: + type: string + code: + type: integer + format: int32 + message: + type: string + details: + type: array + items: + type: object + properties: + type_url: + type: string + description: >- + A URL/resource name that uniquely identifies the type of the serialized + + protocol buffer message. This string must contain at least + + one "/" character. The last segment of the URL's path must represent + + the fully qualified name of the type (as in + + `path/google.protobuf.Duration`). The name should be in a canonical form + + (e.g., leading "." is not accepted). - `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 - In practice, teams usually precompile into the binary all types that they + scheme `http`, `https`, or no scheme, one can optionally set up a type - expect it to use in the context of Any. However, for URLs which use the + server that maps type URLs to message definitions as follows: - 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][] - * If no scheme is provided, `https` is assumed. + value in binary format, or produce an error. + * Applications are allowed to cache lookup results based on the - * An HTTP GET on the URL must yield a [google.protobuf.Type][] + 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.) - value in binary format, or produce an error. - * Applications are allowed to cache lookup results based on the + Note: this functionality is not currently available in the official - 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.) + protobuf release, and it is not used for type URLs beginning with - Note: this functionality is not currently available in the official + type.googleapis.com. - 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 - Schemes other than `http`, `https` (or the empty scheme) might be + URL that describes the type of the serialized message. - 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. - 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++. - 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.PackFrom(foo); - ... - if (any.UnpackTo(&foo)) { + Foo foo = ...; + Any any = Any.pack(foo); ... - } + if (any.is(Foo.class)) { + foo = any.unpack(Foo.class); + } - Example 2: Pack and unpack a message in Java. + Example 3: Pack and unpack a message in Python. + foo = Foo(...) + any = Any() + any.Pack(foo) + ... + if any.Is(Foo.DESCRIPTOR): + any.Unpack(foo) + ... - Foo foo = ...; - Any any = Any.pack(foo); - ... - if (any.is(Foo.class)) { - foo = any.unpack(Foo.class); - } + Example 4: Pack and unpack a message in Go - Example 3: Pack and unpack a message in Python. + foo := &pb.Foo{...} + any, err := ptypes.MarshalAny(foo) + ... + foo := &pb.Foo{} + if err := ptypes.UnmarshalAny(any, foo); err != nil { + ... + } - foo = Foo(...) - any = Any() - any.Pack(foo) - ... - if any.Is(Foo.DESCRIPTOR): - any.Unpack(foo) + The pack methods provided by protobuf library will by default use + + 'type.googleapis.com/full.type.name' as the type URL and the unpack + + methods only use the fully qualified type name after the last '/' + + in the type URL, for example "foo.bar.com/x/y.z" will yield type + + name "y.z". + + + + JSON + + ==== + + The JSON representation of an `Any` value uses the regular + + representation of the deserialized, embedded message, with an + + additional field `@type` which contains the type URL. Example: + + + package google.profile; + message Person { + string first_name = 1; + string last_name = 2; + } + + { + "@type": "type.googleapis.com/google.profile.Person", + "firstName": , + "lastName": + } + + If the embedded message type is well-known and has a custom JSON + + representation, that representation will be embedded adding a field + + `value` which holds the custom JSON in addition to the `@type` + + field. Example (for message [google.protobuf.Duration][]): + + + { + "@type": "type.googleapis.com/google.protobuf.Duration", + "value": "1.212s" + } + parameters: + - name: address + description: address defines the address to query for. + in: path + required: true + schema: + type: string + tags: + - Query + /cosmos/auth/v1beta1/module_accounts: + get: + summary: "" + operationId: ModuleAccounts + responses: + "200": + description: A successful response. + content: + "*/*": + schema: + type: object + properties: + accounts: + type: array + items: + type: object + properties: + type_url: + type: string + description: >- + A URL/resource name that uniquely identifies the type of the serialized + + protocol buffer message. This string must contain at least + + one "/" character. The last segment of the URL's path must represent + + the fully qualified name of the type (as in + + `path/google.protobuf.Duration`). The name should be in a canonical form + + (e.g., leading "." is not accepted). + + + In practice, teams usually precompile into the binary all types that they + + expect it to use in the context of Any. However, for URLs which use the + + scheme `http`, `https`, or no scheme, one can optionally set up a type + + server that maps type URLs to message definitions as follows: + + + * If no scheme is provided, `https` is assumed. + + * An HTTP GET on the URL must yield a [google.protobuf.Type][] + + value in binary format, or produce an error. + * Applications are allowed to cache lookup results based on the + + URL, or have them precompiled into a binary to avoid any + lookup. Therefore, binary compatibility needs to be preserved + on changes to types. (Use versioned type names to manage + breaking changes.) + + Note: this functionality is not currently available in the official + + protobuf release, and it is not used for type URLs beginning with + + type.googleapis.com. + + + Schemes other than `http`, `https` (or the empty scheme) might be + + used with implementation specific semantics. + value: + type: string + format: byte + description: Must be a valid serialized protocol buffer of the above specified type. + description: >- + `Any` contains an arbitrary serialized protocol buffer message along with a + + URL that describes the type of the serialized message. + + + Protobuf library provides support to pack/unpack Any values in the form + + of utility functions or additional generated methods of the Any type. + + + Example 1: Pack and unpack a message in C++. + + + Foo foo = ...; + Any any; + any.PackFrom(foo); ... + if (any.UnpackTo(&foo)) { + ... + } - Example 4: Pack and unpack a message in Go + Example 2: Pack and unpack a message in Java. - foo := &pb.Foo{...} - any, err := ptypes.MarshalAny(foo) - ... - foo := &pb.Foo{} - if err := ptypes.UnmarshalAny(any, foo); err != nil { + + Foo foo = ...; + Any any = Any.pack(foo); + ... + if (any.is(Foo.class)) { + foo = any.unpack(Foo.class); + } + + Example 3: Pack and unpack a message in Python. + + foo = Foo(...) + any = Any() + any.Pack(foo) + ... + if any.Is(Foo.DESCRIPTOR): + any.Unpack(foo) + ... + + Example 4: Pack and unpack a message in Go + + foo := &pb.Foo{...} + any, err := ptypes.MarshalAny(foo) ... - } + foo := &pb.Foo{} + if err := ptypes.UnmarshalAny(any, foo); err != nil { + ... + } - The pack methods provided by protobuf library will by default use + The pack methods provided by protobuf library will by default use - 'type.googleapis.com/full.type.name' as the type URL and the unpack + 'type.googleapis.com/full.type.name' as the type URL and the unpack - methods only use the fully qualified type name after the last '/' + 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 + in the type URL, for example "foo.bar.com/x/y.z" will yield type - name "y.z". + name "y.z". - JSON + JSON - ==== + ==== - The JSON representation of an `Any` value uses the regular + The JSON representation of an `Any` value uses the regular - representation of the deserialized, embedded message, with an + representation of the deserialized, embedded message, with an - additional field `@type` which contains the type URL. Example: + additional field `@type` which contains the type URL. Example: - package google.profile; - message Person { - string first_name = 1; - string last_name = 2; - } + package google.profile; + message Person { + string first_name = 1; + string last_name = 2; + } - { - "@type": "type.googleapis.com/google.profile.Person", - "firstName": , - "lastName": - } + { + "@type": "type.googleapis.com/google.profile.Person", + "firstName": , + "lastName": + } - If the embedded message type is well-known and has a custom JSON + If the embedded message type is well-known and has a custom JSON - representation, that representation will be embedded adding a field + representation, that representation will be embedded adding a field - `value` which holds the custom JSON in addition to the `@type` + `value` which holds the custom JSON in addition to the `@type` - field. Example (for message [google.protobuf.Duration][]): + field. Example (for message [google.protobuf.Duration][]): - { - "@type": "type.googleapis.com/google.protobuf.Duration", - "value": "1.212s" - } - description: QueryAccountResponse is the response type for the Query/Account RPC method. + { + "@type": "type.googleapis.com/google.protobuf.Duration", + "value": "1.212s" + } + description: QueryModuleAccountsResponse is the response type for the Query/ModuleAccounts RPC method. + default: + description: An unexpected error response. + content: + "*/*": + schema: + type: object + properties: + error: + type: string + code: + type: integer + format: int32 + message: + type: string + details: + type: array + items: + type: object + properties: + type_url: + type: string + description: >- + A URL/resource name that uniquely identifies the type of the serialized + + protocol buffer message. This string must contain at least + + one "/" character. The last segment of the URL's path must represent + + the fully qualified name of the type (as in + + `path/google.protobuf.Duration`). The name should be in a canonical form + + (e.g., leading "." is not accepted). + + + In practice, teams usually precompile into the binary all types that they + + expect it to use in the context of Any. However, for URLs which use the + + scheme `http`, `https`, or no scheme, one can optionally set up a type + + server that maps type URLs to message definitions as follows: + + + * If no scheme is provided, `https` is assumed. + + * An HTTP GET on the URL must yield a [google.protobuf.Type][] + + value in binary format, or produce an error. + * Applications are allowed to cache lookup results based on the + + URL, or have them precompiled into a binary to avoid any + lookup. Therefore, binary compatibility needs to be preserved + on changes to types. (Use versioned type names to manage + breaking changes.) + + Note: this functionality is not currently available in the official + + protobuf release, and it is not used for type URLs beginning with + + type.googleapis.com. + + + Schemes other than `http`, `https` (or the empty scheme) might be + + used with implementation specific semantics. + value: + type: string + format: byte + description: Must be a valid serialized protocol buffer of the above specified type. + description: >- + `Any` contains an arbitrary serialized protocol buffer message along with a + + URL that describes the type of the serialized message. + + + Protobuf library provides support to pack/unpack Any values in the form + + of utility functions or additional generated methods of the Any type. + + + Example 1: Pack and unpack a message in C++. + + + Foo foo = ...; + Any any; + any.PackFrom(foo); + ... + if (any.UnpackTo(&foo)) { + ... + } + + Example 2: Pack and unpack a message in Java. + + + Foo foo = ...; + Any any = Any.pack(foo); + ... + if (any.is(Foo.class)) { + foo = any.unpack(Foo.class); + } + + Example 3: Pack and unpack a message in Python. + + foo = Foo(...) + any = Any() + any.Pack(foo) + ... + if any.Is(Foo.DESCRIPTOR): + any.Unpack(foo) + ... + + Example 4: Pack and unpack a message in Go + + foo := &pb.Foo{...} + any, err := ptypes.MarshalAny(foo) + ... + foo := &pb.Foo{} + if err := ptypes.UnmarshalAny(any, foo); err != nil { + ... + } + + The pack methods provided by protobuf library will by default use + + 'type.googleapis.com/full.type.name' as the type URL and the unpack + + methods only use the fully qualified type name after the last '/' + + in the type URL, for example "foo.bar.com/x/y.z" will yield type + + name "y.z". + + + + JSON + + ==== + + The JSON representation of an `Any` value uses the regular + + representation of the deserialized, embedded message, with an + + additional field `@type` which contains the type URL. Example: + + + package google.profile; + message Person { + string first_name = 1; + string last_name = 2; + } + + { + "@type": "type.googleapis.com/google.profile.Person", + "firstName": , + "lastName": + } + + If the embedded message type is well-known and has a custom JSON + + representation, that representation will be embedded adding a field + + `value` which holds the custom JSON in addition to the `@type` + + field. Example (for message [google.protobuf.Duration][]): + + + { + "@type": "type.googleapis.com/google.protobuf.Duration", + "value": "1.212s" + } + tags: + - Query + /cosmos/auth/v1beta1/params: + get: + summary: "" + operationId: AuthParams + responses: + "200": + description: A successful response. + content: + "*/*": + schema: + type: object + properties: + params: + description: params defines the parameters of the module. + type: object + properties: + max_memo_characters: + type: string + format: uint64 + tx_sig_limit: + type: string + format: uint64 + tx_size_cost_per_byte: + type: string + format: uint64 + sig_verify_cost_ed25519: + type: string + format: uint64 + sig_verify_cost_secp256k1: + type: string + format: uint64 + description: QueryParamsResponse is the response type for the Query/Params RPC method. default: description: An unexpected error response. content: @@ -12042,19 +13819,12 @@ paths: "@type": "type.googleapis.com/google.protobuf.Duration", "value": "1.212s" } - parameters: - - name: address - description: address defines the address to query for. - in: path - required: true - schema: - type: string tags: - Query - /cosmos/auth/v1beta1/module_accounts: + /cosmos/authz/v1beta1/grants: get: - summary: ModuleAccounts returns all the existing module accounts. - operationId: ModuleAccounts + summary: "" + operationId: Grants responses: "200": description: A successful response. @@ -12063,7 +13833,205 @@ paths: schema: type: object properties: - accounts: + grants: + type: array + items: + type: object + properties: + authorization: + type: object + properties: + type_url: + type: string + description: >- + A URL/resource name that uniquely identifies the type of the serialized + + protocol buffer message. This string must contain at least + + one "/" character. The last segment of the URL's path must represent + + the fully qualified name of the type (as in + + `path/google.protobuf.Duration`). The name should be in a canonical form + + (e.g., leading "." is not accepted). + + + In practice, teams usually precompile into the binary all types that they + + expect it to use in the context of Any. However, for URLs which use the + + scheme `http`, `https`, or no scheme, one can optionally set up a type + + server that maps type URLs to message definitions as follows: + + + * If no scheme is provided, `https` is assumed. + + * An HTTP GET on the URL must yield a [google.protobuf.Type][] + + value in binary format, or produce an error. + * Applications are allowed to cache lookup results based on the + + URL, or have them precompiled into a binary to avoid any + lookup. Therefore, binary compatibility needs to be preserved + on changes to types. (Use versioned type names to manage + breaking changes.) + + Note: this functionality is not currently available in the official + + protobuf release, and it is not used for type URLs beginning with + + type.googleapis.com. + + + Schemes other than `http`, `https` (or the empty scheme) might be + + used with implementation specific semantics. + value: + type: string + format: byte + description: Must be a valid serialized protocol buffer of the above specified type. + description: >- + `Any` contains an arbitrary serialized protocol buffer message along with a + + URL that describes the type of the serialized message. + + + Protobuf library provides support to pack/unpack Any values in the form + + of utility functions or additional generated methods of the Any type. + + + Example 1: Pack and unpack a message in C++. + + + Foo foo = ...; + Any any; + any.PackFrom(foo); + ... + if (any.UnpackTo(&foo)) { + ... + } + + Example 2: Pack and unpack a message in Java. + + + Foo foo = ...; + Any any = Any.pack(foo); + ... + if (any.is(Foo.class)) { + foo = any.unpack(Foo.class); + } + + Example 3: Pack and unpack a message in Python. + + foo = Foo(...) + any = Any() + any.Pack(foo) + ... + if any.Is(Foo.DESCRIPTOR): + any.Unpack(foo) + ... + + Example 4: Pack and unpack a message in Go + + foo := &pb.Foo{...} + any, err := ptypes.MarshalAny(foo) + ... + foo := &pb.Foo{} + if err := ptypes.UnmarshalAny(any, foo); err != nil { + ... + } + + The pack methods provided by protobuf library will by default use + + 'type.googleapis.com/full.type.name' as the type URL and the unpack + + methods only use the fully qualified type name after the last '/' + + in the type URL, for example "foo.bar.com/x/y.z" will yield type + + name "y.z". + + + + JSON + + ==== + + The JSON representation of an `Any` value uses the regular + + representation of the deserialized, embedded message, with an + + additional field `@type` which contains the type URL. Example: + + + package google.profile; + message Person { + string first_name = 1; + string last_name = 2; + } + + { + "@type": "type.googleapis.com/google.profile.Person", + "firstName": , + "lastName": + } + + If the embedded message type is well-known and has a custom JSON + + representation, that representation will be embedded adding a field + + `value` which holds the custom JSON in addition to the `@type` + + field. Example (for message [google.protobuf.Duration][]): + + + { + "@type": "type.googleapis.com/google.protobuf.Duration", + "value": "1.212s" + } + expiration: + type: string + format: date-time + description: |- + Grant gives permissions to execute + the provide method with expiration time. + description: authorizations is a list of grants granted for grantee by granter. + pagination: + description: pagination defines an pagination for the response. + type: object + properties: + next_key: + type: string + format: byte + title: |- + next_key is the key to be passed to PageRequest.key to + query the next page most efficiently + total: + type: string + format: uint64 + title: >- + total is total number of results available if PageRequest.count_total + + was set, its value is undefined otherwise + description: QueryGrantsResponse is the response type for the Query/Authorizations RPC method. + default: + description: An unexpected error response. + content: + "*/*": + schema: + type: object + properties: + error: + type: string + code: + type: integer + format: int32 + message: + type: string + details: type: array items: type: object @@ -12219,7 +14187,281 @@ paths: "@type": "type.googleapis.com/google.protobuf.Duration", "value": "1.212s" } - description: QueryModuleAccountsResponse is the response type for the Query/ModuleAccounts RPC method. + parameters: + - name: granter + in: query + required: false + schema: + type: string + - name: grantee + in: query + required: false + schema: + type: string + - name: msg_type_url + description: Optional, msg_type_url, when set, will query only grants matching given msg type. + in: query + required: false + schema: + type: string + - name: pagination.key + description: |- + key is a value returned in PageResponse.next_key to begin + querying the next page most efficiently. Only one of offset or key + should be set. + in: query + required: false + schema: + type: string + format: byte + - name: pagination.offset + description: >- + offset is a numeric offset that can be used when key is unavailable. + + It is less efficient than using key. Only one of offset or key should + + be set. + in: query + required: false + schema: + type: string + format: uint64 + - name: pagination.limit + description: >- + limit is the total number of results to be returned in the result page. + + If left empty it will default to a value to be set by each app. + in: query + required: false + schema: + type: string + format: uint64 + - name: pagination.count_total + description: >- + count_total is set to true to indicate that the result set should include + + a count of the total number of items available for pagination in UIs. + + count_total is only respected when offset is used. It is ignored when key + + is set. + in: query + required: false + schema: + type: boolean + - name: pagination.reverse + description: >- + reverse is set to true if results are to be returned in the descending order. + + + Since: cosmos-sdk 0.43 + in: query + required: false + schema: + type: boolean + tags: + - Query + "/cosmos/authz/v1beta1/grants/grantee/{grantee}": + get: + summary: "" + operationId: GranteeGrants + responses: + "200": + description: A successful response. + content: + "*/*": + schema: + type: object + properties: + grants: + type: array + items: + type: object + properties: + granter: + type: string + grantee: + type: string + authorization: + type: object + properties: + type_url: + type: string + description: >- + A URL/resource name that uniquely identifies the type of the serialized + + protocol buffer message. This string must contain at least + + one "/" character. The last segment of the URL's path must represent + + the fully qualified name of the type (as in + + `path/google.protobuf.Duration`). The name should be in a canonical form + + (e.g., leading "." is not accepted). + + + In practice, teams usually precompile into the binary all types that they + + expect it to use in the context of Any. However, for URLs which use the + + scheme `http`, `https`, or no scheme, one can optionally set up a type + + server that maps type URLs to message definitions as follows: + + + * If no scheme is provided, `https` is assumed. + + * An HTTP GET on the URL must yield a [google.protobuf.Type][] + + value in binary format, or produce an error. + * Applications are allowed to cache lookup results based on the + + URL, or have them precompiled into a binary to avoid any + lookup. Therefore, binary compatibility needs to be preserved + on changes to types. (Use versioned type names to manage + breaking changes.) + + Note: this functionality is not currently available in the official + + protobuf release, and it is not used for type URLs beginning with + + type.googleapis.com. + + + Schemes other than `http`, `https` (or the empty scheme) might be + + used with implementation specific semantics. + value: + type: string + format: byte + description: Must be a valid serialized protocol buffer of the above specified type. + description: >- + `Any` contains an arbitrary serialized protocol buffer message along with a + + URL that describes the type of the serialized message. + + + Protobuf library provides support to pack/unpack Any values in the form + + of utility functions or additional generated methods of the Any type. + + + Example 1: Pack and unpack a message in C++. + + + Foo foo = ...; + Any any; + any.PackFrom(foo); + ... + if (any.UnpackTo(&foo)) { + ... + } + + Example 2: Pack and unpack a message in Java. + + + Foo foo = ...; + Any any = Any.pack(foo); + ... + if (any.is(Foo.class)) { + foo = any.unpack(Foo.class); + } + + Example 3: Pack and unpack a message in Python. + + foo = Foo(...) + any = Any() + any.Pack(foo) + ... + if any.Is(Foo.DESCRIPTOR): + any.Unpack(foo) + ... + + Example 4: Pack and unpack a message in Go + + foo := &pb.Foo{...} + any, err := ptypes.MarshalAny(foo) + ... + foo := &pb.Foo{} + if err := ptypes.UnmarshalAny(any, foo); err != nil { + ... + } + + The pack methods provided by protobuf library will by default use + + 'type.googleapis.com/full.type.name' as the type URL and the unpack + + methods only use the fully qualified type name after the last '/' + + in the type URL, for example "foo.bar.com/x/y.z" will yield type + + name "y.z". + + + + JSON + + ==== + + The JSON representation of an `Any` value uses the regular + + representation of the deserialized, embedded message, with an + + additional field `@type` which contains the type URL. Example: + + + package google.profile; + message Person { + string first_name = 1; + string last_name = 2; + } + + { + "@type": "type.googleapis.com/google.profile.Person", + "firstName": , + "lastName": + } + + If the embedded message type is well-known and has a custom JSON + + representation, that representation will be embedded adding a field + + `value` which holds the custom JSON in addition to the `@type` + + field. Example (for message [google.protobuf.Duration][]): + + + { + "@type": "type.googleapis.com/google.protobuf.Duration", + "value": "1.212s" + } + expiration: + type: string + format: date-time + title: >- + GrantAuthorization extends a grant with both the addresses of the grantee and granter. + + It is used in genesis.proto and query.proto + description: grants is a list of grants granted to the grantee. + pagination: + description: pagination defines an pagination for the response. + type: object + properties: + next_key: + type: string + format: byte + title: |- + next_key is the key to be passed to PageRequest.key to + query the next page most efficiently + total: + type: string + format: uint64 + title: >- + total is total number of results available if PageRequest.count_total + + was set, its value is undefined otherwise + description: QueryGranteeGrantsResponse is the response type for the Query/GranteeGrants RPC method. default: description: An unexpected error response. content: @@ -12390,216 +14632,73 @@ paths: "@type": "type.googleapis.com/google.protobuf.Duration", "value": "1.212s" } - tags: - - Query - /cosmos/auth/v1beta1/params: - get: - summary: Params queries all parameters. - operationId: AuthParams - responses: - "200": - description: A successful response. - content: - "*/*": - schema: - type: object - properties: - params: - description: params defines the parameters of the module. - type: object - properties: - max_memo_characters: - type: string - format: uint64 - tx_sig_limit: - type: string - format: uint64 - tx_size_cost_per_byte: - type: string - format: uint64 - sig_verify_cost_ed25519: - type: string - format: uint64 - sig_verify_cost_secp256k1: - type: string - format: uint64 - description: QueryParamsResponse is the response type for the Query/Params RPC method. - default: - description: An unexpected error response. - content: - "*/*": - schema: - type: object - properties: - error: - type: string - code: - type: integer - format: int32 - message: - type: string - details: - type: array - items: - type: object - properties: - type_url: - type: string - description: >- - A URL/resource name that uniquely identifies the type of the serialized - - protocol buffer message. This string must contain at least - - one "/" character. The last segment of the URL's path must represent - - the fully qualified name of the type (as in - - `path/google.protobuf.Duration`). The name should be in a canonical form - - (e.g., leading "." is not accepted). - - - In practice, teams usually precompile into the binary all types that they - - expect it to use in the context of Any. However, for URLs which use the - - scheme `http`, `https`, or no scheme, one can optionally set up a type - - server that maps type URLs to message definitions as follows: - - - * If no scheme is provided, `https` is assumed. - - * An HTTP GET on the URL must yield a [google.protobuf.Type][] - - value in binary format, or produce an error. - * Applications are allowed to cache lookup results based on the - - URL, or have them precompiled into a binary to avoid any - lookup. Therefore, binary compatibility needs to be preserved - on changes to types. (Use versioned type names to manage - breaking changes.) - - Note: this functionality is not currently available in the official - - protobuf release, and it is not used for type URLs beginning with - - type.googleapis.com. - - - Schemes other than `http`, `https` (or the empty scheme) might be - - used with implementation specific semantics. - value: - type: string - format: byte - description: Must be a valid serialized protocol buffer of the above specified type. - description: >- - `Any` contains an arbitrary serialized protocol buffer message along with a - - URL that describes the type of the serialized message. - - - Protobuf library provides support to pack/unpack Any values in the form - - of utility functions or additional generated methods of the Any type. - - - Example 1: Pack and unpack a message in C++. - - - Foo foo = ...; - Any any; - any.PackFrom(foo); - ... - if (any.UnpackTo(&foo)) { - ... - } - - Example 2: Pack and unpack a message in Java. - - - Foo foo = ...; - Any any = Any.pack(foo); - ... - if (any.is(Foo.class)) { - foo = any.unpack(Foo.class); - } - - Example 3: Pack and unpack a message in Python. - - foo = Foo(...) - any = Any() - any.Pack(foo) - ... - if any.Is(Foo.DESCRIPTOR): - any.Unpack(foo) - ... - - Example 4: Pack and unpack a message in Go - - foo := &pb.Foo{...} - any, err := ptypes.MarshalAny(foo) - ... - foo := &pb.Foo{} - if err := ptypes.UnmarshalAny(any, foo); err != nil { - ... - } - - The pack methods provided by protobuf library will by default use - - 'type.googleapis.com/full.type.name' as the type URL and the unpack - - methods only use the fully qualified type name after the last '/' - - in the type URL, for example "foo.bar.com/x/y.z" will yield type - - name "y.z". - - - - JSON - - ==== - - The JSON representation of an `Any` value uses the regular - - representation of the deserialized, embedded message, with an - - additional field `@type` which contains the type URL. Example: - + parameters: + - name: grantee + in: path + required: true + schema: + type: string + - name: pagination.key + description: |- + key is a value returned in PageResponse.next_key to begin + querying the next page most efficiently. Only one of offset or key + should be set. + in: query + required: false + schema: + type: string + format: byte + - name: pagination.offset + description: >- + offset is a numeric offset that can be used when key is unavailable. - package google.profile; - message Person { - string first_name = 1; - string last_name = 2; - } + It is less efficient than using key. Only one of offset or key should - { - "@type": "type.googleapis.com/google.profile.Person", - "firstName": , - "lastName": - } + be set. + in: query + required: false + schema: + type: string + format: uint64 + - name: pagination.limit + description: >- + limit is the total number of results to be returned in the result page. - If the embedded message type is well-known and has a custom JSON + If left empty it will default to a value to be set by each app. + in: query + required: false + schema: + type: string + format: uint64 + - name: pagination.count_total + description: >- + count_total is set to true to indicate that the result set should include - representation, that representation will be embedded adding a field + a count of the total number of items available for pagination in UIs. - `value` which holds the custom JSON in addition to the `@type` + count_total is only respected when offset is used. It is ignored when key - field. Example (for message [google.protobuf.Duration][]): + is set. + in: query + required: false + schema: + type: boolean + - name: pagination.reverse + description: >- + reverse is set to true if results are to be returned in the descending order. - { - "@type": "type.googleapis.com/google.protobuf.Duration", - "value": "1.212s" - } + Since: cosmos-sdk 0.43 + in: query + required: false + schema: + type: boolean tags: - Query - /cosmos/authz/v1beta1/grants: + "/cosmos/authz/v1beta1/grants/granter/{granter}": get: - summary: Returns list of `Authorization`, granted to the grantee by the granter. - operationId: Grants + summary: "" + operationId: GranterGrants responses: "200": description: A successful response. @@ -12613,6 +14712,10 @@ paths: items: type: object properties: + granter: + type: string + grantee: + type: string authorization: type: object properties: @@ -12770,10 +14873,11 @@ paths: expiration: type: string format: date-time - description: |- - Grant gives permissions to execute - the provide method with expiration time. - description: authorizations is a list of grants granted for grantee by granter. + title: >- + GrantAuthorization extends a grant with both the addresses of the grantee and granter. + + It is used in genesis.proto and query.proto + description: grants is a list of grants granted by the granter. pagination: description: pagination defines an pagination for the response. type: object @@ -12791,7 +14895,7 @@ paths: total is total number of results available if PageRequest.count_total was set, its value is undefined otherwise - description: QueryGrantsResponse is the response type for the Query/Authorizations RPC method. + description: QueryGranterGrantsResponse is the response type for the Query/GranterGrants RPC method. default: description: An unexpected error response. content: @@ -12964,19 +15068,8 @@ paths: } parameters: - name: granter - in: query - required: false - schema: - type: string - - name: grantee - in: query - required: false - schema: - type: string - - name: msg_type_url - description: Optional, msg_type_url, when set, will query only grants matching given msg type. - in: query - required: false + in: path + required: true schema: type: string - name: pagination.key @@ -13038,7 +15131,7 @@ paths: - Query "/cosmos/bank/v1beta1/balances/{address}": get: - summary: AllBalances queries the balance of all coins for a single account. + summary: "" operationId: AllBalances responses: "200": @@ -13176,7 +15269,7 @@ paths: - Query "/cosmos/bank/v1beta1/balances/{address}/by_denom": get: - summary: Balance queries the balance of a single coin for a single account. + summary: "" operationId: Balance responses: "200": @@ -13242,10 +15335,7 @@ paths: - Query /cosmos/bank/v1beta1/base_denom: get: - summary: >- - BaseDenom queries for a base denomination given a denom that can either be - - the base denom itself or a metadata denom unit that maps to the base denom. + summary: "" operationId: BaseDenom responses: "200": @@ -13292,7 +15382,7 @@ paths: - Query /cosmos/bank/v1beta1/denoms_metadata: get: - summary: DenomsMetadata queries the client metadata for all registered coin denominations. + summary: "" operationId: DenomsMetadata responses: "200": @@ -13470,7 +15560,7 @@ paths: - Query "/cosmos/bank/v1beta1/denoms_metadata/{denom}": get: - summary: DenomsMetadata queries the client metadata of a given coin denomination. + summary: "" operationId: DenomMetadata responses: "200": @@ -13578,7 +15668,7 @@ paths: - Query /cosmos/bank/v1beta1/params: get: - summary: Params queries the parameters of x/bank module. + summary: "" operationId: BankParams responses: "200": @@ -13636,7 +15726,7 @@ paths: - Query /cosmos/bank/v1beta1/supply: get: - summary: TotalSupply queries the total supply of all coins. + summary: "" operationId: TotalSupply responses: "200": @@ -13771,7 +15861,7 @@ paths: - Query "/cosmos/bank/v1beta1/supply/{denom}": get: - summary: SupplyOf queries the supply of a single coin. + summary: "" operationId: SupplyOf responses: "200": @@ -13831,7 +15921,7 @@ paths: - Query /cosmos/bank/v1beta1/supply_without_offset: get: - summary: TotalSupplyWithoutOffset queries the total supply of all coins. + summary: "" operationId: TotalSupplyWithoutOffset responses: "200": @@ -13966,7 +16056,7 @@ paths: - Query "/cosmos/bank/v1beta1/supply_without_offset/{denom}": get: - summary: SupplyOf queries the supply of a single coin. + summary: "" operationId: SupplyOfWithoutOffset responses: "200": @@ -14026,7 +16116,7 @@ paths: - Query /cosmos/base/tendermint/v1beta1/blocks/latest: get: - summary: GetLatestBlock returns the latest block. + summary: "" operationId: GetLatestBlock responses: "200": @@ -14726,7 +16816,7 @@ paths: - Service "/cosmos/base/tendermint/v1beta1/blocks/{height}": get: - summary: GetBlockByHeight queries block for given height. + summary: "" operationId: GetBlockByHeight responses: "200": @@ -15433,7 +17523,7 @@ paths: - Service /cosmos/base/tendermint/v1beta1/node_info: get: - summary: GetNodeInfo queries the current node info. + summary: "" operationId: GetNodeInfo responses: "200": @@ -15687,7 +17777,7 @@ paths: - Service /cosmos/base/tendermint/v1beta1/syncing: get: - summary: GetSyncing queries node syncing. + summary: "" operationId: GetSyncing responses: "200": @@ -15874,7 +17964,7 @@ paths: - Service /cosmos/base/tendermint/v1beta1/validatorsets/latest: get: - summary: GetLatestValidatorSet queries latest validator-set. + summary: "" operationId: GetLatestValidatorSet responses: "200": @@ -16303,7 +18393,7 @@ paths: - Service "/cosmos/base/tendermint/v1beta1/validatorsets/{height}": get: - summary: GetValidatorSetByHeight queries validator-set at a given height. + summary: "" operationId: GetValidatorSetByHeight responses: "200": @@ -16738,7 +18828,7 @@ paths: - Service /cosmos/distribution/v1beta1/community_pool: get: - summary: CommunityPool queries the community pool coins. + summary: "" operationId: CommunityPool responses: "200": @@ -16797,9 +18887,7 @@ paths: - Query "/cosmos/distribution/v1beta1/delegators/{delegator_address}/rewards": get: - summary: |- - DelegationTotalRewards queries the total rewards accrued by a each - validator. + summary: "" operationId: DelegationTotalRewards responses: "200": @@ -16892,7 +18980,7 @@ paths: - Query "/cosmos/distribution/v1beta1/delegators/{delegator_address}/rewards/{validator_address}": get: - summary: DelegationRewards queries the total rewards accrued by a delegation. + summary: "" operationId: DelegationRewards responses: "200": @@ -16963,7 +19051,7 @@ paths: - Query "/cosmos/distribution/v1beta1/delegators/{delegator_address}/validators": get: - summary: DelegatorValidators queries the validators of a delegator. + summary: "" operationId: DelegatorValidators responses: "200": @@ -17016,7 +19104,7 @@ paths: - Query "/cosmos/distribution/v1beta1/delegators/{delegator_address}/withdraw_address": get: - summary: DelegatorWithdrawAddress queries withdraw address of a delegator. + summary: "" operationId: DelegatorWithdrawAddress responses: "200": @@ -17068,7 +19156,7 @@ paths: - Query /cosmos/distribution/v1beta1/params: get: - summary: Params queries params of the distribution module. + summary: "" operationId: DistributionParams responses: "200": @@ -17119,7 +19207,7 @@ paths: - Query "/cosmos/distribution/v1beta1/validators/{validator_address}/commission": get: - summary: ValidatorCommission queries accumulated commission for a validator. + summary: "" operationId: ValidatorCommission responses: "200": @@ -17187,7 +19275,7 @@ paths: - Query "/cosmos/distribution/v1beta1/validators/{validator_address}/outstanding_rewards": get: - summary: ValidatorOutstandingRewards queries rewards of a validator address. + summary: "" operationId: ValidatorOutstandingRewards responses: "200": @@ -17259,7 +19347,7 @@ paths: - Query "/cosmos/distribution/v1beta1/validators/{validator_address}/slashes": get: - summary: ValidatorSlashes queries slash events of a validator. + summary: "" operationId: ValidatorSlashes responses: "200": @@ -17412,7 +19500,7 @@ paths: - Query /cosmos/evidence/v1beta1/evidence: get: - summary: AllEvidence queries all evidence. + summary: "" operationId: AllEvidence responses: "200": @@ -17830,7 +19918,7 @@ paths: - Query "/cosmos/evidence/v1beta1/evidence/{evidence_hash}": get: - summary: Evidence queries evidence based on evidence hash. + summary: "" operationId: Evidence responses: "200": @@ -18177,7 +20265,7 @@ paths: - Query "/cosmos/feegrant/v1beta1/allowance/{granter}/{grantee}": get: - summary: Allowance returns fee granted to the grantee by the granter. + summary: "" operationId: Allowance responses: "200": @@ -18441,7 +20529,7 @@ paths: - Query "/cosmos/feegrant/v1beta1/allowances/{grantee}": get: - summary: Allowances returns all the grants for address. + summary: "" operationId: Allowances responses: "200": @@ -18772,7 +20860,7 @@ paths: - Query "/cosmos/gov/v1beta1/params/{params_type}": get: - summary: Params queries all parameters of the gov module. + summary: "" operationId: GovParams responses: "200": @@ -18879,6 +20967,10 @@ paths: type: string format: byte description: "Minimum proportion of Yes votes for an expedited proposal to pass. Default value: 0.67." + expedited_quorum: + type: string + format: byte + description: "Minimum proportion of Yes votes for an expedited proposal to reach quorum. Default value: 0.67." description: QueryParamsResponse is the response type for the Query/Params RPC method. default: description: An unexpected error response. @@ -19064,7 +21156,7 @@ paths: - Query /cosmos/gov/v1beta1/proposals: get: - summary: Proposals queries all proposals based on given status. + summary: "" operationId: Proposals responses: "200": @@ -19603,7 +21695,7 @@ paths: - Query "/cosmos/gov/v1beta1/proposals/{proposal_id}": get: - summary: Proposal queries proposal details based on ProposalID. + summary: "" operationId: Proposal responses: "200": @@ -20028,7 +22120,7 @@ paths: - Query "/cosmos/gov/v1beta1/proposals/{proposal_id}/deposits": get: - summary: Deposits queries all deposits of a single proposal. + summary: "" operationId: Deposits responses: "200": @@ -20323,7 +22415,7 @@ paths: - Query "/cosmos/gov/v1beta1/proposals/{proposal_id}/deposits/{depositor}": get: - summary: Deposit queries single deposit information based proposalID, depositAddr. + summary: "" operationId: Deposit responses: "200": @@ -20550,7 +22642,7 @@ paths: - Query "/cosmos/gov/v1beta1/proposals/{proposal_id}/tally": get: - summary: TallyResult queries the tally of a proposal vote. + summary: "" operationId: TallyResult responses: "200": @@ -20755,7 +22847,7 @@ paths: - Query "/cosmos/gov/v1beta1/proposals/{proposal_id}/votes": get: - summary: Votes queries votes of a given proposal. + summary: "" operationId: Votes responses: "200": @@ -21081,7 +23173,7 @@ paths: - Query "/cosmos/gov/v1beta1/proposals/{proposal_id}/votes/{voter}": get: - summary: Vote queries voted information based on proposalID, voterAddr. + summary: "" operationId: Vote responses: "200": @@ -21338,7 +23430,7 @@ paths: - Query /cosmos/mint/v1beta1/annual_provisions: get: - summary: AnnualProvisions current minting annual provisions value. + summary: "" operationId: AnnualProvisions responses: "200": @@ -21383,7 +23475,7 @@ paths: - Query /cosmos/mint/v1beta1/inflation: get: - summary: Inflation returns the current minting inflation value. + summary: "" operationId: Inflation responses: "200": @@ -21429,7 +23521,7 @@ paths: - Query /cosmos/mint/v1beta1/params: get: - summary: Params returns the total set of minting parameters. + summary: "" operationId: CosmosMintParams responses: "200": @@ -21491,9 +23583,7 @@ paths: - Query /cosmos/params/v1beta1/params: get: - summary: |- - Params queries a specific parameter of a module, given its subspace and - key. + summary: "" operationId: Params responses: "200": @@ -21555,7 +23645,7 @@ paths: - Query /cosmos/slashing/v1beta1/params: get: - summary: Params queries the parameters of slashing module + summary: "" operationId: SlashingParams responses: "200": @@ -21612,7 +23702,7 @@ paths: - Query /cosmos/slashing/v1beta1/signing_infos: get: - summary: SigningInfos queries signing info of all validators + summary: "" operationId: SigningInfos responses: "200": @@ -21778,7 +23868,7 @@ paths: - Query "/cosmos/slashing/v1beta1/signing_infos/{cons_address}": get: - summary: SigningInfo queries the signing info of given cons address + summary: "" operationId: SigningInfo responses: "200": @@ -21867,7 +23957,7 @@ paths: - Query "/cosmos/staking/v1beta1/delegations/{delegator_addr}": get: - summary: DelegatorDelegations queries all delegations of a given delegator address. + summary: "" operationId: DelegatorDelegations responses: "200": @@ -22175,7 +24265,7 @@ paths: - Query "/cosmos/staking/v1beta1/delegators/{delegator_addr}/redelegations": get: - summary: Redelegations queries redelegations of given address. + summary: "" operationId: Redelegations responses: "200": @@ -22533,10 +24623,7 @@ paths: - Query "/cosmos/staking/v1beta1/delegators/{delegator_addr}/unbonding_delegations": get: - summary: >- - DelegatorUnbondingDelegations queries all unbonding delegations of a given - - delegator address. + summary: "" operationId: DelegatorUnbondingDelegations responses: "200": @@ -22839,9 +24926,7 @@ paths: - Query "/cosmos/staking/v1beta1/delegators/{delegator_addr}/validators": get: - summary: |- - DelegatorValidators queries all validators info for given delegator - address. + summary: "" operationId: StakingDelegatorValidators responses: "200": @@ -23355,9 +25440,7 @@ paths: - Query "/cosmos/staking/v1beta1/delegators/{delegator_addr}/validators/{validator_addr}": get: - summary: |- - DelegatorValidator queries validator info for given delegator validator - pair. + summary: "" operationId: DelegatorValidator responses: "200": @@ -23802,7 +25885,7 @@ paths: - Query "/cosmos/staking/v1beta1/historical_info/{height}": get: - summary: HistoricalInfo queries the historical info for given height. + summary: "" operationId: HistoricalInfo responses: "200": @@ -24324,7 +26407,7 @@ paths: - Query /cosmos/staking/v1beta1/params: get: - summary: Parameters queries the staking parameters. + summary: "" operationId: StakingParams responses: "200": @@ -24537,7 +26620,7 @@ paths: - Query /cosmos/staking/v1beta1/pool: get: - summary: Pool queries the pool info. + summary: "" operationId: StakingPool responses: "200": @@ -24730,7 +26813,7 @@ paths: - Query /cosmos/staking/v1beta1/validators: get: - summary: Validators queries all validators that match the given status. + summary: "" operationId: Validators responses: "200": @@ -25242,7 +27325,7 @@ paths: - Query "/cosmos/staking/v1beta1/validators/{validator_addr}": get: - summary: Validator queries validator info for given validator address. + summary: "" operationId: Validator responses: "200": @@ -25679,7 +27762,7 @@ paths: - Query "/cosmos/staking/v1beta1/validators/{validator_addr}/delegations": get: - summary: ValidatorDelegations queries delegate info for given validator. + summary: "" operationId: ValidatorDelegations responses: "200": @@ -25986,7 +28069,7 @@ paths: - Query "/cosmos/staking/v1beta1/validators/{validator_addr}/delegations/{delegator_addr}": get: - summary: Delegation queries delegate info for given validator delegator pair. + summary: "" operationId: Delegation responses: "200": @@ -26223,9 +28306,7 @@ paths: - Query "/cosmos/staking/v1beta1/validators/{validator_addr}/delegations/{delegator_addr}/unbonding_delegation": get: - summary: |- - UnbondingDelegation queries unbonding info for given validator delegator - pair. + summary: "" operationId: UnbondingDelegation responses: "200": @@ -26460,7 +28541,7 @@ paths: - Query "/cosmos/staking/v1beta1/validators/{validator_addr}/unbonding_delegations": get: - summary: ValidatorUnbondingDelegations queries unbonding delegations of a validator. + summary: "" operationId: ValidatorUnbondingDelegations responses: "200": @@ -27968,7 +30049,7 @@ paths: - Service "/cosmos/upgrade/v1beta1/applied_plan/{name}": get: - summary: AppliedPlan queries a previously applied upgrade plan by its name. + summary: "" operationId: AppliedPlan responses: "200": @@ -28167,7 +30248,7 @@ paths: - Query /cosmos/upgrade/v1beta1/current_plan: get: - summary: CurrentPlan queries the current upgrade plan. + summary: "" operationId: CurrentPlan responses: "200": @@ -28550,7 +30631,7 @@ paths: - Query /cosmos/upgrade/v1beta1/module_versions: get: - summary: ModuleVersions queries the list of module versions from state. + summary: "" description: "Since: cosmos-sdk 0.43" operationId: ModuleVersions responses: @@ -28770,18 +30851,7 @@ paths: - Query "/cosmos/upgrade/v1beta1/upgraded_consensus_state/{last_height}": get: - summary: >- - UpgradedConsensusState queries the consensus state that will serve - - as a trusted kernel for the next version of this chain. It will only be - - stored at the last height of this chain. - - UpgradedConsensusState RPC not supported with legacy querier - - This rpc is deprecated now that IBC has its own replacement - - (https://github.com/cosmos/ibc-go/blob/2c880a22e9f9cc75f62b527ca94aa75ce1106001/proto/ibc/core/client/v1/query.proto#L54) + summary: "" operationId: UpgradedConsensusState responses: "200": @@ -29570,6 +31640,90 @@ components: NOTE: The amount field is an Int which implements the custom method signatures required by gogoproto. + osmosis.gamm.v1beta1.BalancerToConcentratedPoolLink: + type: object + properties: + balancer_pool_id: + type: string + format: uint64 + cl_pool_id: + type: string + format: uint64 + description: >- + BalancerToConcentratedPoolLink defines a single link between a single + + balancer pool and a single concentrated liquidity pool. This link is used to + + allow a balancer pool to migrate to a single canonical full range + + concentrated liquidity pool position + + A balancer pool can be linked to a maximum of one cl pool, and a cl pool can + + be linked to a maximum of one balancer pool. + osmosis.gamm.v1beta1.MigrationRecords: + type: object + properties: + balancer_to_concentrated_pool_links: + type: array + items: + type: object + properties: + balancer_pool_id: + type: string + format: uint64 + cl_pool_id: + type: string + format: uint64 + description: >- + BalancerToConcentratedPoolLink defines a single link between a single + + balancer pool and a single concentrated liquidity pool. This link is used to + + allow a balancer pool to migrate to a single canonical full range + + concentrated liquidity pool position + + A balancer pool can be linked to a maximum of one cl pool, and a cl pool can + + be linked to a maximum of one balancer pool. + title: >- + MigrationRecords contains all the links between balancer and concentrated + + pools + osmosis.gamm.v1beta1.QueryCFMMConcentratedPoolLinksResponse: + type: object + properties: + migration_records: + type: object + properties: + balancer_to_concentrated_pool_links: + type: array + items: + type: object + properties: + balancer_pool_id: + type: string + format: uint64 + cl_pool_id: + type: string + format: uint64 + description: >- + BalancerToConcentratedPoolLink defines a single link between a single + + balancer pool and a single concentrated liquidity pool. This link is used to + + allow a balancer pool to migrate to a single canonical full range + + concentrated liquidity pool position + + A balancer pool can be linked to a maximum of one cl pool, and a cl pool can + + be linked to a maximum of one balancer pool. + title: >- + MigrationRecords contains all the links between balancer and concentrated + + pools osmosis.gamm.v1beta1.QueryCalcExitPoolCoinsFromSharesResponse: type: object properties: @@ -29631,6 +31785,12 @@ components: NOTE: The amount field is an Int which implements the custom method signatures required by gogoproto. + osmosis.gamm.v1beta1.QueryConcentratedPoolIdLinkFromCFMMResponse: + type: object + properties: + concentrated_pool_id: + type: string + format: uint64 osmosis.gamm.v1beta1.QueryNumPoolsResponse: type: object properties: @@ -29951,6 +32111,7 @@ components: "@type": "type.googleapis.com/google.protobuf.Duration", "value": "1.212s" } + title: "Deprecated: please use the alternative in x/poolmanager" osmosis.gamm.v1beta1.QueryPoolTypeResponse: type: object properties: @@ -30366,6 +32527,7 @@ components: NOTE: The amount field is an Int which implements the custom method signatures required by gogoproto. + title: "Deprecated: please use the alternative in x/poolmanager" osmosis.gamm.v1beta1.QueryTotalSharesResponse: type: object properties: @@ -30381,7 +32543,7 @@ components: NOTE: The amount field is an Int which implements the custom method signatures required by gogoproto. - osmosis.gamm.v1beta1.SwapAmountInRoute: + osmosis.poolmanager.v1beta1.SwapAmountInRoute: type: object properties: pool_id: @@ -30389,8 +32551,7 @@ components: format: uint64 token_out_denom: type: string - title: ===================== MsgSwapExactAmountIn - osmosis.gamm.v1beta1.SwapAmountOutRoute: + osmosis.poolmanager.v1beta1.SwapAmountOutRoute: type: object properties: pool_id: @@ -30398,7 +32559,6 @@ components: format: uint64 token_in_denom: type: string - title: ===================== MsgSwapExactAmountOut osmosis.incentives.ActiveGaugesPerDenomResponse: type: object properties: @@ -30435,6 +32595,7 @@ components: enum: - ByDuration - ByTime + - NoLock default: ByDuration description: |- LockQueryType defines the type of the lock query that can @@ -30587,6 +32748,7 @@ components: enum: - ByDuration - ByTime + - NoLock default: ByDuration description: |- LockQueryType defines the type of the lock query that can @@ -30734,6 +32896,7 @@ components: enum: - ByDuration - ByTime + - NoLock default: ByDuration description: |- LockQueryType defines the type of the lock query that can @@ -30858,6 +33021,7 @@ components: enum: - ByDuration - ByTime + - NoLock default: ByDuration description: |- LockQueryType defines the type of the lock query that can @@ -30985,6 +33149,7 @@ components: enum: - ByDuration - ByTime + - NoLock default: ByDuration description: |- LockQueryType defines the type of the lock query that can @@ -31187,6 +33352,7 @@ components: enum: - ByDuration - ByTime + - NoLock default: ByDuration description: |- LockQueryType defines the type of the lock query that can @@ -31339,6 +33505,7 @@ components: enum: - ByDuration - ByTime + - NoLock default: ByDuration description: |- LockQueryType defines the type of the lock query that can @@ -31460,6 +33627,7 @@ components: enum: - ByDuration - ByTime + - NoLock default: ByDuration description: |- LockQueryType defines the type of the lock query that can @@ -31473,6 +33641,7 @@ components: enum: - ByDuration - ByTime + - NoLock default: ByDuration description: |- LockQueryType defines the type of the lock query that can @@ -31576,6 +33745,14 @@ components: signatures required by gogoproto. description: Coins are the tokens locked within the lock, kept in the module account. + reward_receiver_address: + type: string + description: >- + Reward Receiver Address is the address that would be receiving rewards for + + the incentives for the lock. This is set to owner by default and can be + + changed via separate msg. description: >- PeriodLock is a single lock unit by period defined by the x/lockup module. @@ -31640,6 +33817,14 @@ components: signatures required by gogoproto. description: Coins are the tokens locked within the lock, kept in the module account. + reward_receiver_address: + type: string + description: >- + Reward Receiver Address is the address that would be receiving rewards for + + the incentives for the lock. This is set to owner by default and can be + + changed via separate msg. description: >- PeriodLock is a single lock unit by period defined by the x/lockup module. @@ -31704,6 +33889,14 @@ components: signatures required by gogoproto. description: Coins are the tokens locked within the lock, kept in the module account. + reward_receiver_address: + type: string + description: >- + Reward Receiver Address is the address that would be receiving rewards for + + the incentives for the lock. This is set to owner by default and can be + + changed via separate msg. description: >- PeriodLock is a single lock unit by period defined by the x/lockup module. @@ -31768,6 +33961,14 @@ components: signatures required by gogoproto. description: Coins are the tokens locked within the lock, kept in the module account. + reward_receiver_address: + type: string + description: >- + Reward Receiver Address is the address that would be receiving rewards for + + the incentives for the lock. This is set to owner by default and can be + + changed via separate msg. description: >- PeriodLock is a single lock unit by period defined by the x/lockup module. @@ -31832,6 +34033,14 @@ components: signatures required by gogoproto. description: Coins are the tokens locked within the lock, kept in the module account. + reward_receiver_address: + type: string + description: >- + Reward Receiver Address is the address that would be receiving rewards for + + the incentives for the lock. This is set to owner by default and can be + + changed via separate msg. description: >- PeriodLock is a single lock unit by period defined by the x/lockup module. @@ -31896,70 +34105,86 @@ components: signatures required by gogoproto. description: Coins are the tokens locked within the lock, kept in the module account. - description: >- - PeriodLock is a single lock unit by period defined by the x/lockup module. - - It's a record of a locked coin at a specific time. It stores owner, duration, - - unlock time and the number of coins locked. A state of a period lock is - - created upon lock creation, and deleted once the lock has been matured after - - the `duration` has passed since unbonding started. - osmosis.lockup.AccountLockedPastTimeResponse: - type: object - properties: - locks: - type: array - items: - type: object - properties: - ID: + reward_receiver_address: + type: string + description: >- + Reward Receiver Address is the address that would be receiving rewards for + + the incentives for the lock. This is set to owner by default and can be + + changed via separate msg. + description: >- + PeriodLock is a single lock unit by period defined by the x/lockup module. + + It's a record of a locked coin at a specific time. It stores owner, duration, + + unlock time and the number of coins locked. A state of a period lock is + + created upon lock creation, and deleted once the lock has been matured after + + the `duration` has passed since unbonding started. + osmosis.lockup.AccountLockedPastTimeResponse: + type: object + properties: + locks: + type: array + items: + type: object + properties: + ID: + type: string + format: uint64 + description: >- + ID is the unique id of the lock. + + The ID of the lock is decided upon lock creation, incrementing by 1 for + + every lock. + owner: + type: string + description: |- + Owner is the account address of the lock owner. + Only the owner can modify the state of the lock. + duration: + type: string + description: >- + Duration is the time needed for a lock to mature after unlocking has + + started. + end_time: + type: string + format: date-time + description: >- + EndTime refers to the time at which the lock would mature and get deleted. + + This value is first initialized when an unlock has started for the lock, + + end time being block time + duration. + coins: + type: array + items: + type: object + properties: + denom: + type: string + amount: + type: string + description: >- + Coin defines a token with a denomination and an amount. + + + NOTE: The amount field is an Int which implements the custom method + + signatures required by gogoproto. + description: Coins are the tokens locked within the lock, kept in the module account. + reward_receiver_address: type: string - format: uint64 description: >- - ID is the unique id of the lock. - - The ID of the lock is decided upon lock creation, incrementing by 1 for + Reward Receiver Address is the address that would be receiving rewards for - every lock. - owner: - type: string - description: |- - Owner is the account address of the lock owner. - Only the owner can modify the state of the lock. - duration: - type: string - description: >- - Duration is the time needed for a lock to mature after unlocking has + the incentives for the lock. This is set to owner by default and can be - started. - end_time: - type: string - format: date-time - description: >- - EndTime refers to the time at which the lock would mature and get deleted. - - This value is first initialized when an unlock has started for the lock, - - end time being block time + duration. - coins: - type: array - items: - type: object - properties: - denom: - type: string - amount: - type: string - description: >- - Coin defines a token with a denomination and an amount. - - - NOTE: The amount field is an Int which implements the custom method - - signatures required by gogoproto. - description: Coins are the tokens locked within the lock, kept in the module account. + changed via separate msg. description: >- PeriodLock is a single lock unit by period defined by the x/lockup module. @@ -32043,6 +34268,14 @@ components: signatures required by gogoproto. description: Coins are the tokens locked within the lock, kept in the module account. + reward_receiver_address: + type: string + description: >- + Reward Receiver Address is the address that would be receiving rewards for + + the incentives for the lock. This is set to owner by default and can be + + changed via separate msg. description: >- PeriodLock is a single lock unit by period defined by the x/lockup module. @@ -32072,6 +34305,11 @@ components: NOTE: The amount field is an Int which implements the custom method signatures required by gogoproto. + osmosis.lockup.LockRewardReceiverResponse: + type: object + properties: + reward_receiver: + type: string osmosis.lockup.LockedDenomResponse: type: object properties: @@ -32129,6 +34367,14 @@ components: signatures required by gogoproto. description: Coins are the tokens locked within the lock, kept in the module account. + reward_receiver_address: + type: string + description: >- + Reward Receiver Address is the address that would be receiving rewards for + + the incentives for the lock. This is set to owner by default and can be + + changed via separate msg. description: >- PeriodLock is a single lock unit by period defined by the x/lockup module. @@ -32177,6 +34423,12 @@ components: NOTE: The amount field is an Int which implements the custom method signatures required by gogoproto. + osmosis.lockup.NextLockIDResponse: + type: object + properties: + lock_id: + type: string + format: uint64 osmosis.lockup.Params: type: object properties: @@ -32232,6 +34484,14 @@ components: signatures required by gogoproto. description: Coins are the tokens locked within the lock, kept in the module account. + reward_receiver_address: + type: string + description: >- + Reward Receiver Address is the address that would be receiving rewards for + + the incentives for the lock. This is set to owner by default and can be + + changed via separate msg. description: >- PeriodLock is a single lock unit by period defined by the x/lockup module. @@ -32287,6 +34547,44 @@ components: and deletion, accumulation store is also being updated and on querier side, they can query as freely as native lockup. + osmosis.lockup.SyntheticLockupByLockupIDResponse: + type: object + properties: + synthetic_lock: + type: object + properties: + underlying_lock_id: + type: string + format: uint64 + description: >- + Underlying Lock ID is the underlying native lock's id for this synthetic + + lockup. A synthetic lock MUST have an underlying lock. + synth_denom: + type: string + description: |- + SynthDenom is the synthetic denom that is a combination of + gamm share + bonding status + validator address. + end_time: + type: string + format: date-time + title: >- + used for unbonding synthetic lockups, for active synthetic lockups, this + + value is set to uninitialized value + duration: + type: string + description: |- + Duration is the duration for a synthetic lock to mature + at the point of unbonding has started. + description: >- + SyntheticLock is creating virtual lockup where new denom is combination of + + original denom and synthetic suffix. At the time of synthetic lockup creation + + and deletion, accumulation store is also being updated and on querier side, + + they can query as freely as native lockup. osmosis.lockup.SyntheticLockupsByLockupIDResponse: type: object properties: @@ -32660,6 +34958,7 @@ components: enum: - ByDuration - ByTime + - NoLock default: ByDuration description: |- LockQueryType defines the type of the lock query that can @@ -32886,10 +35185,8 @@ components: enum: - SuperfluidAssetTypeNative - SuperfluidAssetTypeLPShare + - SuperfluidAssetTypeConcentratedShare default: SuperfluidAssetTypeNative - description: |- - SuperfluidAssetType indicates whether the superfluid asset is - a native token itself or the lp share of a pool. title: SuperfluidAsset stores the pair of superfluid asset type and denom pair osmosis.superfluid.AllIntermediaryAccountsResponse: type: object @@ -32968,10 +35265,81 @@ components: enum: - SuperfluidAssetTypeNative - SuperfluidAssetTypeLPShare + - SuperfluidAssetTypeConcentratedShare default: SuperfluidAssetTypeNative - description: |- + title: |- SuperfluidAssetType indicates whether the superfluid asset is - a native token itself or the lp share of a pool. + a native token, lp share of a pool, or concentrated share of a pool + osmosis.superfluid.ConcentratedPoolUserPositionRecord: + type: object + properties: + validator_address: + type: string + position_id: + type: string + format: uint64 + lock_id: + type: string + format: uint64 + synthetic_lock: + type: object + properties: + underlying_lock_id: + type: string + format: uint64 + description: >- + Underlying Lock ID is the underlying native lock's id for this synthetic + + lockup. A synthetic lock MUST have an underlying lock. + synth_denom: + type: string + description: |- + SynthDenom is the synthetic denom that is a combination of + gamm share + bonding status + validator address. + end_time: + type: string + format: date-time + title: >- + used for unbonding synthetic lockups, for active synthetic lockups, this + + value is set to uninitialized value + duration: + type: string + description: |- + Duration is the duration for a synthetic lock to mature + at the point of unbonding has started. + description: >- + SyntheticLock is creating virtual lockup where new denom is combination of + + original denom and synthetic suffix. At the time of synthetic lockup creation + + and deletion, accumulation store is also being updated and on querier side, + + they can query as freely as native lockup. + delegation_amount: + type: object + properties: + denom: + type: string + amount: + type: string + description: |- + Coin defines a token with a denomination and an amount. + + NOTE: The amount field is an Int which implements the custom method + signatures required by gogoproto. + equivalent_staked_amount: + type: object + properties: + denom: + type: string + amount: + type: string + description: |- + Coin defines a token with a denomination and an amount. + + NOTE: The amount field is an Int which implements the custom method + signatures required by gogoproto. osmosis.superfluid.ConnectedIntermediaryAccountResponse: type: object properties: @@ -33221,20 +35589,19 @@ components: enum: - SuperfluidAssetTypeNative - SuperfluidAssetTypeLPShare + - SuperfluidAssetTypeConcentratedShare default: SuperfluidAssetTypeNative - description: |- - SuperfluidAssetType indicates whether the superfluid asset is - a native token itself or the lp share of a pool. title: SuperfluidAsset stores the pair of superfluid asset type and denom pair osmosis.superfluid.SuperfluidAssetType: type: string enum: - SuperfluidAssetTypeNative - SuperfluidAssetTypeLPShare + - SuperfluidAssetTypeConcentratedShare default: SuperfluidAssetTypeNative - description: |- + title: |- SuperfluidAssetType indicates whether the superfluid asset is - a native token itself or the lp share of a pool. + a native token, lp share of a pool, or concentrated share of a pool osmosis.superfluid.SuperfluidDelegationAmountResponse: type: object properties: @@ -33456,68 +35823,226 @@ components: NOTE: The amount field is an Int which implements the custom method signatures required by gogoproto. - description: >- - SuperfluidDelegationRecord is a struct used to indicate superfluid - - delegations of an account in the state machine in a user friendly form. - total_undelegated_coins: + description: >- + SuperfluidDelegationRecord is a struct used to indicate superfluid + + delegations of an account in the state machine in a user friendly form. + total_undelegated_coins: + type: array + items: + type: object + properties: + denom: + type: string + amount: + type: string + description: >- + Coin defines a token with a denomination and an amount. + + + NOTE: The amount field is an Int which implements the custom method + + signatures required by gogoproto. + synthetic_locks: + type: array + items: + type: object + properties: + underlying_lock_id: + type: string + format: uint64 + description: >- + Underlying Lock ID is the underlying native lock's id for this synthetic + + lockup. A synthetic lock MUST have an underlying lock. + synth_denom: + type: string + description: |- + SynthDenom is the synthetic denom that is a combination of + gamm share + bonding status + validator address. + end_time: + type: string + format: date-time + title: >- + used for unbonding synthetic lockups, for active synthetic lockups, this + + value is set to uninitialized value + duration: + type: string + description: |- + Duration is the duration for a synthetic lock to mature + at the point of unbonding has started. + description: >- + SyntheticLock is creating virtual lockup where new denom is combination of + + original denom and synthetic suffix. At the time of synthetic lockup creation + + and deletion, accumulation store is also being updated and on querier side, + + they can query as freely as native lockup. + osmosis.superfluid.TotalSuperfluidDelegationsResponse: + type: object + properties: + total_delegations: + type: string + osmosis.superfluid.UserConcentratedSuperfluidPositionsDelegatedResponse: + type: object + properties: + cl_pool_user_position_records: + type: array + items: + type: object + properties: + validator_address: + type: string + position_id: + type: string + format: uint64 + lock_id: + type: string + format: uint64 + synthetic_lock: + type: object + properties: + underlying_lock_id: + type: string + format: uint64 + description: >- + Underlying Lock ID is the underlying native lock's id for this synthetic + + lockup. A synthetic lock MUST have an underlying lock. + synth_denom: + type: string + description: |- + SynthDenom is the synthetic denom that is a combination of + gamm share + bonding status + validator address. + end_time: + type: string + format: date-time + title: >- + used for unbonding synthetic lockups, for active synthetic lockups, this + + value is set to uninitialized value + duration: + type: string + description: |- + Duration is the duration for a synthetic lock to mature + at the point of unbonding has started. + description: >- + SyntheticLock is creating virtual lockup where new denom is combination of + + original denom and synthetic suffix. At the time of synthetic lockup creation + + and deletion, accumulation store is also being updated and on querier side, + + they can query as freely as native lockup. + delegation_amount: + type: object + properties: + denom: + type: string + amount: + type: string + description: >- + Coin defines a token with a denomination and an amount. + + + NOTE: The amount field is an Int which implements the custom method + + signatures required by gogoproto. + equivalent_staked_amount: + type: object + properties: + denom: + type: string + amount: + type: string + description: >- + Coin defines a token with a denomination and an amount. + + + NOTE: The amount field is an Int which implements the custom method + + signatures required by gogoproto. + osmosis.superfluid.UserConcentratedSuperfluidPositionsUndelegatingResponse: + type: object + properties: + cl_pool_user_position_records: type: array items: type: object properties: - denom: + validator_address: type: string - amount: + position_id: type: string - description: >- - Coin defines a token with a denomination and an amount. + format: uint64 + lock_id: + type: string + format: uint64 + synthetic_lock: + type: object + properties: + underlying_lock_id: + type: string + format: uint64 + description: >- + Underlying Lock ID is the underlying native lock's id for this synthetic + lockup. A synthetic lock MUST have an underlying lock. + synth_denom: + type: string + description: |- + SynthDenom is the synthetic denom that is a combination of + gamm share + bonding status + validator address. + end_time: + type: string + format: date-time + title: >- + used for unbonding synthetic lockups, for active synthetic lockups, this - NOTE: The amount field is an Int which implements the custom method + value is set to uninitialized value + duration: + type: string + description: |- + Duration is the duration for a synthetic lock to mature + at the point of unbonding has started. + description: >- + SyntheticLock is creating virtual lockup where new denom is combination of - signatures required by gogoproto. - synthetic_locks: - type: array - items: - type: object - properties: - underlying_lock_id: - type: string - format: uint64 + original denom and synthetic suffix. At the time of synthetic lockup creation + + and deletion, accumulation store is also being updated and on querier side, + + they can query as freely as native lockup. + delegation_amount: + type: object + properties: + denom: + type: string + amount: + type: string description: >- - Underlying Lock ID is the underlying native lock's id for this synthetic + Coin defines a token with a denomination and an amount. - lockup. A synthetic lock MUST have an underlying lock. - synth_denom: - type: string - description: |- - SynthDenom is the synthetic denom that is a combination of - gamm share + bonding status + validator address. - end_time: - type: string - format: date-time - title: >- - used for unbonding synthetic lockups, for active synthetic lockups, this - value is set to uninitialized value - duration: - type: string - description: |- - Duration is the duration for a synthetic lock to mature - at the point of unbonding has started. - description: >- - SyntheticLock is creating virtual lockup where new denom is combination of + NOTE: The amount field is an Int which implements the custom method - original denom and synthetic suffix. At the time of synthetic lockup creation + signatures required by gogoproto. + equivalent_staked_amount: + type: object + properties: + denom: + type: string + amount: + type: string + description: >- + Coin defines a token with a denomination and an amount. - and deletion, accumulation store is also being updated and on querier side, - they can query as freely as native lockup. - osmosis.superfluid.TotalSuperfluidDelegationsResponse: - type: object - properties: - total_delegations: - type: string + NOTE: The amount field is an Int which implements the custom method + + signatures required by gogoproto. osmosis.tokenfactory.v1beta1.DenomAuthorityMetadata: type: object properties: @@ -33549,7 +36074,32 @@ components: NOTE: The amount field is an Int which implements the custom method signatures required by gogoproto. + description: >- + DenomCreationFee defines the fee to be charged on the creation of a new + + denom. The fee is drawn from the MsgCreateDenom's sender account, and + + transferred to the community pool. + denom_creation_gas_consume: + type: string + format: uint64 + description: >- + DenomCreationGasConsume defines the gas cost for creating a new denom. + + This is intended as a spam deterrence mechanism. + + + See: https://github.com/CosmWasm/token-factory/issues/11 description: Params defines the parameters for the tokenfactory module. + osmosis.tokenfactory.v1beta1.QueryBeforeSendHookAddressResponse: + type: object + properties: + cosmwasm_address: + type: string + description: >- + QueryBeforeSendHookAddressResponse defines the response structure for the + + DenomBeforeSendHook gRPC query. osmosis.tokenfactory.v1beta1.QueryDenomAuthorityMetadataResponse: type: object properties: @@ -33602,6 +36152,22 @@ components: NOTE: The amount field is an Int which implements the custom method signatures required by gogoproto. + description: >- + DenomCreationFee defines the fee to be charged on the creation of a new + + denom. The fee is drawn from the MsgCreateDenom's sender account, and + + transferred to the community pool. + denom_creation_gas_consume: + type: string + format: uint64 + description: >- + DenomCreationGasConsume defines the gas cost for creating a new denom. + + This is intended as a spam deterrence mechanism. + + + See: https://github.com/CosmWasm/token-factory/issues/11 description: QueryParamsResponse is the response type for the Query/Params RPC method. osmosis.txfees.v1beta1.FeeToken: type: object @@ -34362,9 +36928,561 @@ components: expiration: type: string format: date-time - description: |- - Grant gives permissions to execute - the provide method with expiration time. + description: |- + Grant gives permissions to execute + the provide method with expiration time. + cosmos.authz.v1beta1.GrantAuthorization: + type: object + properties: + granter: + type: string + grantee: + type: string + authorization: + type: object + properties: + type_url: + type: string + description: >- + A URL/resource name that uniquely identifies the type of the serialized + + protocol buffer message. This string must contain at least + + one "/" character. The last segment of the URL's path must represent + + the fully qualified name of the type (as in + + `path/google.protobuf.Duration`). The name should be in a canonical form + + (e.g., leading "." is not accepted). + + + In practice, teams usually precompile into the binary all types that they + + expect it to use in the context of Any. However, for URLs which use the + + scheme `http`, `https`, or no scheme, one can optionally set up a type + + server that maps type URLs to message definitions as follows: + + + * If no scheme is provided, `https` is assumed. + + * An HTTP GET on the URL must yield a [google.protobuf.Type][] + + value in binary format, or produce an error. + * Applications are allowed to cache lookup results based on the + + URL, or have them precompiled into a binary to avoid any + lookup. Therefore, binary compatibility needs to be preserved + on changes to types. (Use versioned type names to manage + breaking changes.) + + Note: this functionality is not currently available in the official + + protobuf release, and it is not used for type URLs beginning with + + type.googleapis.com. + + + Schemes other than `http`, `https` (or the empty scheme) might be + + used with implementation specific semantics. + value: + type: string + format: byte + description: Must be a valid serialized protocol buffer of the above specified type. + description: >- + `Any` contains an arbitrary serialized protocol buffer message along with a + + URL that describes the type of the serialized message. + + + Protobuf library provides support to pack/unpack Any values in the form + + of utility functions or additional generated methods of the Any type. + + + Example 1: Pack and unpack a message in C++. + + + Foo foo = ...; + Any any; + any.PackFrom(foo); + ... + if (any.UnpackTo(&foo)) { + ... + } + + Example 2: Pack and unpack a message in Java. + + + Foo foo = ...; + Any any = Any.pack(foo); + ... + if (any.is(Foo.class)) { + foo = any.unpack(Foo.class); + } + + Example 3: Pack and unpack a message in Python. + + foo = Foo(...) + any = Any() + any.Pack(foo) + ... + if any.Is(Foo.DESCRIPTOR): + any.Unpack(foo) + ... + + Example 4: Pack and unpack a message in Go + + foo := &pb.Foo{...} + any, err := ptypes.MarshalAny(foo) + ... + foo := &pb.Foo{} + if err := ptypes.UnmarshalAny(any, foo); err != nil { + ... + } + + The pack methods provided by protobuf library will by default use + + 'type.googleapis.com/full.type.name' as the type URL and the unpack + + methods only use the fully qualified type name after the last '/' + + in the type URL, for example "foo.bar.com/x/y.z" will yield type + + name "y.z". + + + + JSON + + ==== + + The JSON representation of an `Any` value uses the regular + + representation of the deserialized, embedded message, with an + + additional field `@type` which contains the type URL. Example: + + + package google.profile; + message Person { + string first_name = 1; + string last_name = 2; + } + + { + "@type": "type.googleapis.com/google.profile.Person", + "firstName": , + "lastName": + } + + If the embedded message type is well-known and has a custom JSON + + representation, that representation will be embedded adding a field + + `value` which holds the custom JSON in addition to the `@type` + + field. Example (for message [google.protobuf.Duration][]): + + + { + "@type": "type.googleapis.com/google.protobuf.Duration", + "value": "1.212s" + } + expiration: + type: string + format: date-time + title: >- + GrantAuthorization extends a grant with both the addresses of the grantee and granter. + + It is used in genesis.proto and query.proto + cosmos.authz.v1beta1.QueryGranteeGrantsResponse: + type: object + properties: + grants: + type: array + items: + type: object + properties: + granter: + type: string + grantee: + type: string + authorization: + type: object + properties: + type_url: + type: string + description: >- + A URL/resource name that uniquely identifies the type of the serialized + + protocol buffer message. This string must contain at least + + one "/" character. The last segment of the URL's path must represent + + the fully qualified name of the type (as in + + `path/google.protobuf.Duration`). The name should be in a canonical form + + (e.g., leading "." is not accepted). + + + In practice, teams usually precompile into the binary all types that they + + expect it to use in the context of Any. However, for URLs which use the + + scheme `http`, `https`, or no scheme, one can optionally set up a type + + server that maps type URLs to message definitions as follows: + + + * If no scheme is provided, `https` is assumed. + + * An HTTP GET on the URL must yield a [google.protobuf.Type][] + + value in binary format, or produce an error. + * Applications are allowed to cache lookup results based on the + + URL, or have them precompiled into a binary to avoid any + lookup. Therefore, binary compatibility needs to be preserved + on changes to types. (Use versioned type names to manage + breaking changes.) + + Note: this functionality is not currently available in the official + + protobuf release, and it is not used for type URLs beginning with + + type.googleapis.com. + + + Schemes other than `http`, `https` (or the empty scheme) might be + + used with implementation specific semantics. + value: + type: string + format: byte + description: Must be a valid serialized protocol buffer of the above specified type. + description: >- + `Any` contains an arbitrary serialized protocol buffer message along with a + + URL that describes the type of the serialized message. + + + Protobuf library provides support to pack/unpack Any values in the form + + of utility functions or additional generated methods of the Any type. + + + Example 1: Pack and unpack a message in C++. + + + Foo foo = ...; + Any any; + any.PackFrom(foo); + ... + if (any.UnpackTo(&foo)) { + ... + } + + Example 2: Pack and unpack a message in Java. + + + Foo foo = ...; + Any any = Any.pack(foo); + ... + if (any.is(Foo.class)) { + foo = any.unpack(Foo.class); + } + + Example 3: Pack and unpack a message in Python. + + foo = Foo(...) + any = Any() + any.Pack(foo) + ... + if any.Is(Foo.DESCRIPTOR): + any.Unpack(foo) + ... + + Example 4: Pack and unpack a message in Go + + foo := &pb.Foo{...} + any, err := ptypes.MarshalAny(foo) + ... + foo := &pb.Foo{} + if err := ptypes.UnmarshalAny(any, foo); err != nil { + ... + } + + The pack methods provided by protobuf library will by default use + + 'type.googleapis.com/full.type.name' as the type URL and the unpack + + methods only use the fully qualified type name after the last '/' + + in the type URL, for example "foo.bar.com/x/y.z" will yield type + + name "y.z". + + + + JSON + + ==== + + The JSON representation of an `Any` value uses the regular + + representation of the deserialized, embedded message, with an + + additional field `@type` which contains the type URL. Example: + + + package google.profile; + message Person { + string first_name = 1; + string last_name = 2; + } + + { + "@type": "type.googleapis.com/google.profile.Person", + "firstName": , + "lastName": + } + + If the embedded message type is well-known and has a custom JSON + + representation, that representation will be embedded adding a field + + `value` which holds the custom JSON in addition to the `@type` + + field. Example (for message [google.protobuf.Duration][]): + + + { + "@type": "type.googleapis.com/google.protobuf.Duration", + "value": "1.212s" + } + expiration: + type: string + format: date-time + title: >- + GrantAuthorization extends a grant with both the addresses of the grantee and granter. + + It is used in genesis.proto and query.proto + description: grants is a list of grants granted to the grantee. + pagination: + description: pagination defines an pagination for the response. + type: object + properties: + next_key: + type: string + format: byte + title: |- + next_key is the key to be passed to PageRequest.key to + query the next page most efficiently + total: + type: string + format: uint64 + title: >- + total is total number of results available if PageRequest.count_total + + was set, its value is undefined otherwise + description: QueryGranteeGrantsResponse is the response type for the Query/GranteeGrants RPC method. + cosmos.authz.v1beta1.QueryGranterGrantsResponse: + type: object + properties: + grants: + type: array + items: + type: object + properties: + granter: + type: string + grantee: + type: string + authorization: + type: object + properties: + type_url: + type: string + description: >- + A URL/resource name that uniquely identifies the type of the serialized + + protocol buffer message. This string must contain at least + + one "/" character. The last segment of the URL's path must represent + + the fully qualified name of the type (as in + + `path/google.protobuf.Duration`). The name should be in a canonical form + + (e.g., leading "." is not accepted). + + + In practice, teams usually precompile into the binary all types that they + + expect it to use in the context of Any. However, for URLs which use the + + scheme `http`, `https`, or no scheme, one can optionally set up a type + + server that maps type URLs to message definitions as follows: + + + * If no scheme is provided, `https` is assumed. + + * An HTTP GET on the URL must yield a [google.protobuf.Type][] + + value in binary format, or produce an error. + * Applications are allowed to cache lookup results based on the + + URL, or have them precompiled into a binary to avoid any + lookup. Therefore, binary compatibility needs to be preserved + on changes to types. (Use versioned type names to manage + breaking changes.) + + Note: this functionality is not currently available in the official + + protobuf release, and it is not used for type URLs beginning with + + type.googleapis.com. + + + Schemes other than `http`, `https` (or the empty scheme) might be + + used with implementation specific semantics. + value: + type: string + format: byte + description: Must be a valid serialized protocol buffer of the above specified type. + description: >- + `Any` contains an arbitrary serialized protocol buffer message along with a + + URL that describes the type of the serialized message. + + + Protobuf library provides support to pack/unpack Any values in the form + + of utility functions or additional generated methods of the Any type. + + + Example 1: Pack and unpack a message in C++. + + + Foo foo = ...; + Any any; + any.PackFrom(foo); + ... + if (any.UnpackTo(&foo)) { + ... + } + + Example 2: Pack and unpack a message in Java. + + + Foo foo = ...; + Any any = Any.pack(foo); + ... + if (any.is(Foo.class)) { + foo = any.unpack(Foo.class); + } + + Example 3: Pack and unpack a message in Python. + + foo = Foo(...) + any = Any() + any.Pack(foo) + ... + if any.Is(Foo.DESCRIPTOR): + any.Unpack(foo) + ... + + Example 4: Pack and unpack a message in Go + + foo := &pb.Foo{...} + any, err := ptypes.MarshalAny(foo) + ... + foo := &pb.Foo{} + if err := ptypes.UnmarshalAny(any, foo); err != nil { + ... + } + + The pack methods provided by protobuf library will by default use + + 'type.googleapis.com/full.type.name' as the type URL and the unpack + + methods only use the fully qualified type name after the last '/' + + in the type URL, for example "foo.bar.com/x/y.z" will yield type + + name "y.z". + + + + JSON + + ==== + + The JSON representation of an `Any` value uses the regular + + representation of the deserialized, embedded message, with an + + additional field `@type` which contains the type URL. Example: + + + package google.profile; + message Person { + string first_name = 1; + string last_name = 2; + } + + { + "@type": "type.googleapis.com/google.profile.Person", + "firstName": , + "lastName": + } + + If the embedded message type is well-known and has a custom JSON + + representation, that representation will be embedded adding a field + + `value` which holds the custom JSON in addition to the `@type` + + field. Example (for message [google.protobuf.Duration][]): + + + { + "@type": "type.googleapis.com/google.protobuf.Duration", + "value": "1.212s" + } + expiration: + type: string + format: date-time + title: >- + GrantAuthorization extends a grant with both the addresses of the grantee and granter. + + It is used in genesis.proto and query.proto + description: grants is a list of grants granted by the granter. + pagination: + description: pagination defines an pagination for the response. + type: object + properties: + next_key: + type: string + format: byte + title: |- + next_key is the key to be passed to PageRequest.key to + query the next page most efficiently + total: + type: string + format: uint64 + title: >- + total is total number of results available if PageRequest.count_total + + was set, its value is undefined otherwise + description: QueryGranterGrantsResponse is the response type for the Query/GranterGrants RPC method. cosmos.authz.v1beta1.QueryGrantsResponse: type: object properties: @@ -40439,6 +43557,10 @@ components: type: string format: byte description: "Minimum proportion of Yes votes for an expedited proposal to pass. Default value: 0.67." + expedited_quorum: + type: string + format: byte + description: "Minimum proportion of Yes votes for an expedited proposal to reach quorum. Default value: 0.67." description: QueryParamsResponse is the response type for the Query/Params RPC method. cosmos.gov.v1beta1.QueryProposalResponse: type: object @@ -41112,6 +44234,10 @@ components: type: string format: byte description: "Minimum proportion of Yes votes for an expedited proposal to pass. Default value: 0.67." + expedited_quorum: + type: string + format: byte + description: "Minimum proportion of Yes votes for an expedited proposal to reach quorum. Default value: 0.67." description: TallyParams defines the params for tallying votes on governance proposals. cosmos.gov.v1beta1.TallyResult: type: object