@@ -31616,18 +31616,6 @@ paths:
31616
31616
"@type": "type.googleapis.com/google.protobuf.Duration",
31617
31617
"value": "1.212s"
31618
31618
}
31619
- status:
31620
- title: Status is a status of a contract
31621
- type: string
31622
- enum:
31623
- - CONTRACT_STATUS_UNSPECIFIED
31624
- - CONTRACT_STATUS_ACTIVE
31625
- - CONTRACT_STATUS_INACTIVE
31626
- default: CONTRACT_STATUS_UNSPECIFIED
31627
- description: |-
31628
- - CONTRACT_STATUS_UNSPECIFIED: ContractStatus unspecified
31629
- - CONTRACT_STATUS_ACTIVE: ContractStatus active
31630
- - CONTRACT_STATUS_INACTIVE: ContractStatus inactive
31631
31619
title: ContractInfo stores a WASM contract instance
31632
31620
title: >-
31633
31621
QueryContractInfoResponse is the response type for the
@@ -44320,6 +44308,183 @@ paths:
44320
44308
format: boolean
44321
44309
tags:
44322
44310
- Query
44311
+ /lbm/wasm/v1/inactive_contracts:
44312
+ get:
44313
+ summary: InactiveContracts queries all inactive contracts
44314
+ operationId: InactiveContracts
44315
+ responses:
44316
+ '200':
44317
+ description: A successful response.
44318
+ schema:
44319
+ type: object
44320
+ properties:
44321
+ addresses:
44322
+ type: array
44323
+ items:
44324
+ type: string
44325
+ title: addresses is the inactive address list
44326
+ pagination:
44327
+ title: pagination defines the pagination in the response
44328
+ type: object
44329
+ properties:
44330
+ next_key:
44331
+ type: string
44332
+ format: byte
44333
+ title: |-
44334
+ next_key is the key to be passed to PageRequest.key to
44335
+ query the next page most efficiently
44336
+ total:
44337
+ type: string
44338
+ format: uint64
44339
+ title: >-
44340
+ total is total number of results available if
44341
+ PageRequest.count_total
44342
+
44343
+ was set, its value is undefined otherwise
44344
+ description: >-
44345
+ PageResponse is to be embedded in gRPC response messages where
44346
+ the
44347
+
44348
+ corresponding request message has used PageRequest.
44349
+
44350
+ message SomeResponse {
44351
+ repeated Bar results = 1;
44352
+ PageResponse page = 2;
44353
+ }
44354
+ description: >-
44355
+ QueryInactiveContractsResponse is the response type for the
44356
+ Query/InactiveContract RPC method.
44357
+ default:
44358
+ description: An unexpected error response
44359
+ schema:
44360
+ type: object
44361
+ properties:
44362
+ error:
44363
+ type: string
44364
+ code:
44365
+ type: integer
44366
+ format: int32
44367
+ message:
44368
+ type: string
44369
+ details:
44370
+ type: array
44371
+ items:
44372
+ type: object
44373
+ properties:
44374
+ type_url:
44375
+ type: string
44376
+ value:
44377
+ type: string
44378
+ format: byte
44379
+ parameters:
44380
+ - name: pagination.key
44381
+ description: |-
44382
+ key is a value returned in PageResponse.next_key to begin
44383
+ querying the next page most efficiently. Only one of offset or key
44384
+ should be set.
44385
+ in: query
44386
+ required: false
44387
+ type: string
44388
+ format: byte
44389
+ - name: pagination.offset
44390
+ description: >-
44391
+ offset is a numeric offset that can be used when key is unavailable.
44392
+
44393
+ It is less efficient than using key. Only one of offset or key
44394
+ should
44395
+
44396
+ be set.
44397
+ in: query
44398
+ required: false
44399
+ type: string
44400
+ format: uint64
44401
+ - name: pagination.limit
44402
+ description: >-
44403
+ limit is the total number of results to be returned in the result
44404
+ page.
44405
+
44406
+ If left empty it will default to a value to be set by each app.
44407
+ in: query
44408
+ required: false
44409
+ type: string
44410
+ format: uint64
44411
+ - name: pagination.count_total
44412
+ description: >-
44413
+ count_total is set to true to indicate that the result set should
44414
+ include
44415
+
44416
+ a count of the total number of items available for pagination in
44417
+ UIs.
44418
+
44419
+ count_total is only respected when offset is used. It is ignored
44420
+ when key
44421
+
44422
+ is set.
44423
+ in: query
44424
+ required: false
44425
+ type: boolean
44426
+ format: boolean
44427
+ - name: pagination.reverse
44428
+ description: >-
44429
+ reverse is set to true if results are to be returned in the
44430
+ descending order.
44431
+
44432
+
44433
+ Since: cosmos-sdk 0.43
44434
+ in: query
44435
+ required: false
44436
+ type: boolean
44437
+ format: boolean
44438
+ tags:
44439
+ - Query
44440
+ '/lbm/wasm/v1/inactive_contracts/{address}':
44441
+ get:
44442
+ operationId: InactiveContract
44443
+ responses:
44444
+ '200':
44445
+ description: A successful response.
44446
+ schema:
44447
+ type: object
44448
+ properties:
44449
+ inactivated:
44450
+ type: boolean
44451
+ format: boolean
44452
+ title: >-
44453
+ inactivated is the result if the contract is inactive contract
44454
+ or not
44455
+ description: >-
44456
+ QueryInactiveContractsResponse is the response type for the
44457
+ Query/IsInactiveContract RPC method.
44458
+ default:
44459
+ description: An unexpected error response
44460
+ schema:
44461
+ type: object
44462
+ properties:
44463
+ error:
44464
+ type: string
44465
+ code:
44466
+ type: integer
44467
+ format: int32
44468
+ message:
44469
+ type: string
44470
+ details:
44471
+ type: array
44472
+ items:
44473
+ type: object
44474
+ properties:
44475
+ type_url:
44476
+ type: string
44477
+ value:
44478
+ type: string
44479
+ format: byte
44480
+ parameters:
44481
+ - name: address
44482
+ description: address is the address of the contract
44483
+ in: path
44484
+ required: true
44485
+ type: string
44486
+ tags:
44487
+ - Query
44323
44488
securityDefinitions:
44324
44489
kms:
44325
44490
type: basic
@@ -66902,31 +67067,7 @@ definitions:
66902
67067
"@type": "type.googleapis.com/google.protobuf.Duration",
66903
67068
"value": "1.212s"
66904
67069
}
66905
- status:
66906
- title: Status is a status of a contract
66907
- type: string
66908
- enum:
66909
- - CONTRACT_STATUS_UNSPECIFIED
66910
- - CONTRACT_STATUS_ACTIVE
66911
- - CONTRACT_STATUS_INACTIVE
66912
- default: CONTRACT_STATUS_UNSPECIFIED
66913
- description: |-
66914
- - CONTRACT_STATUS_UNSPECIFIED: ContractStatus unspecified
66915
- - CONTRACT_STATUS_ACTIVE: ContractStatus active
66916
- - CONTRACT_STATUS_INACTIVE: ContractStatus inactive
66917
67070
title: ContractInfo stores a WASM contract instance
66918
- cosmwasm.wasm.v1.ContractStatus:
66919
- type: string
66920
- enum:
66921
- - CONTRACT_STATUS_UNSPECIFIED
66922
- - CONTRACT_STATUS_ACTIVE
66923
- - CONTRACT_STATUS_INACTIVE
66924
- default: CONTRACT_STATUS_UNSPECIFIED
66925
- description: |-
66926
- - CONTRACT_STATUS_UNSPECIFIED: ContractStatus unspecified
66927
- - CONTRACT_STATUS_ACTIVE: ContractStatus active
66928
- - CONTRACT_STATUS_INACTIVE: ContractStatus inactive
66929
- title: ContractStatus types
66930
67071
cosmwasm.wasm.v1.Model:
66931
67072
type: object
66932
67073
properties:
@@ -67361,18 +67502,6 @@ definitions:
67361
67502
"@type": "type.googleapis.com/google.protobuf.Duration",
67362
67503
"value": "1.212s"
67363
67504
}
67364
- status:
67365
- title: Status is a status of a contract
67366
- type: string
67367
- enum:
67368
- - CONTRACT_STATUS_UNSPECIFIED
67369
- - CONTRACT_STATUS_ACTIVE
67370
- - CONTRACT_STATUS_INACTIVE
67371
- default: CONTRACT_STATUS_UNSPECIFIED
67372
- description: |-
67373
- - CONTRACT_STATUS_UNSPECIFIED: ContractStatus unspecified
67374
- - CONTRACT_STATUS_ACTIVE: ContractStatus active
67375
- - CONTRACT_STATUS_INACTIVE: ContractStatus inactive
67376
67505
title: ContractInfo stores a WASM contract instance
67377
67506
title: >-
67378
67507
QueryContractInfoResponse is the response type for the Query/ContractInfo
@@ -70737,3 +70866,50 @@ definitions:
70737
70866
description: >-
70738
70867
QueryAllowancesResponse is the response type for the Query/Allowances RPC
70739
70868
method.
70869
+ lbm.wasm.v1.QueryInactiveContractResponse:
70870
+ type: object
70871
+ properties:
70872
+ inactivated:
70873
+ type: boolean
70874
+ format: boolean
70875
+ title: inactivated is the result if the contract is inactive contract or not
70876
+ description: >-
70877
+ QueryInactiveContractsResponse is the response type for the
70878
+ Query/IsInactiveContract RPC method.
70879
+ lbm.wasm.v1.QueryInactiveContractsResponse:
70880
+ type: object
70881
+ properties:
70882
+ addresses:
70883
+ type: array
70884
+ items:
70885
+ type: string
70886
+ title: addresses is the inactive address list
70887
+ pagination:
70888
+ title: pagination defines the pagination in the response
70889
+ type: object
70890
+ properties:
70891
+ next_key:
70892
+ type: string
70893
+ format: byte
70894
+ title: |-
70895
+ next_key is the key to be passed to PageRequest.key to
70896
+ query the next page most efficiently
70897
+ total:
70898
+ type: string
70899
+ format: uint64
70900
+ title: >-
70901
+ total is total number of results available if
70902
+ PageRequest.count_total
70903
+
70904
+ was set, its value is undefined otherwise
70905
+ description: |-
70906
+ PageResponse is to be embedded in gRPC response messages where the
70907
+ corresponding request message has used PageRequest.
70908
+
70909
+ message SomeResponse {
70910
+ repeated Bar results = 1;
70911
+ PageResponse page = 2;
70912
+ }
70913
+ description: >-
70914
+ QueryInactiveContractsResponse is the response type for the
70915
+ Query/InactiveContract RPC method.
0 commit comments