@akashnetwork/chain-sdk 1.0.0-alpha.30 → 1.0.0-alpha.31

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (163) hide show
  1. package/dist/cjs/bla.cjs +7 -0
  2. package/dist/cjs/bla.cjs.map +7 -0
  3. package/dist/cjs/generated/createNodeSDK.cjs +95 -76
  4. package/dist/cjs/generated/createNodeSDK.cjs.map +2 -2
  5. package/dist/cjs/generated/protos/akash/bme/v1/params.cjs +18 -2
  6. package/dist/cjs/generated/protos/akash/bme/v1/params.cjs.map +2 -2
  7. package/dist/cjs/generated/protos/akash/bme/v1/types.cjs +65 -2
  8. package/dist/cjs/generated/protos/akash/bme/v1/types.cjs.map +2 -2
  9. package/dist/cjs/generated/protos/akash/deployment/v1/deployment.cjs +68 -2
  10. package/dist/cjs/generated/protos/akash/deployment/v1/deployment.cjs.map +2 -2
  11. package/dist/cjs/generated/protos/akash/deployment/v1beta4/deploymentmsg.cjs +17 -2
  12. package/dist/cjs/generated/protos/akash/deployment/v1beta4/deploymentmsg.cjs.map +2 -2
  13. package/dist/cjs/generated/protos/akash/discovery/v1/akash.cjs +64 -2
  14. package/dist/cjs/generated/protos/akash/discovery/v1/akash.cjs.map +2 -2
  15. package/dist/cjs/generated/protos/akash/discovery/v1/client_info.cjs +150 -1
  16. package/dist/cjs/generated/protos/akash/discovery/v1/client_info.cjs.map +2 -2
  17. package/dist/cjs/generated/protos/akash/discovery/v1/service.cjs +115 -0
  18. package/dist/cjs/generated/protos/akash/discovery/v1/service.cjs.map +7 -0
  19. package/dist/cjs/generated/protos/akash/discovery/v1/service_akash.cjs +39 -0
  20. package/dist/cjs/generated/protos/akash/discovery/v1/service_akash.cjs.map +7 -0
  21. package/dist/cjs/generated/protos/akash/market/v1/event.cjs +93 -0
  22. package/dist/cjs/generated/protos/akash/market/v1/event.cjs.map +3 -3
  23. package/dist/cjs/generated/protos/akash/market/v1/lease.cjs +32 -2
  24. package/dist/cjs/generated/protos/akash/market/v1/lease.cjs.map +2 -2
  25. package/dist/cjs/generated/protos/akash/market/v1/reclamation.cjs +138 -0
  26. package/dist/cjs/generated/protos/akash/market/v1/reclamation.cjs.map +7 -0
  27. package/dist/cjs/generated/protos/akash/market/v1beta5/bid.cjs +25 -2
  28. package/dist/cjs/generated/protos/akash/market/v1beta5/bid.cjs.map +2 -2
  29. package/dist/cjs/generated/protos/akash/market/v1beta5/bidmsg.cjs +18 -2
  30. package/dist/cjs/generated/protos/akash/market/v1beta5/bidmsg.cjs.map +2 -2
  31. package/dist/cjs/generated/protos/akash/market/v1beta5/leasemsg.cjs +103 -0
  32. package/dist/cjs/generated/protos/akash/market/v1beta5/leasemsg.cjs.map +2 -2
  33. package/dist/cjs/generated/protos/akash/market/v1beta5/order.cjs +18 -2
  34. package/dist/cjs/generated/protos/akash/market/v1beta5/order.cjs.map +2 -2
  35. package/dist/cjs/generated/protos/akash/market/v1beta5/params.cjs +39 -2
  36. package/dist/cjs/generated/protos/akash/market/v1beta5/params.cjs.map +2 -2
  37. package/dist/cjs/generated/protos/akash/market/v1beta5/service_akash.cjs +8 -0
  38. package/dist/cjs/generated/protos/akash/market/v1beta5/service_akash.cjs.map +2 -2
  39. package/dist/cjs/generated/protos/index.akash.v1.cjs +9 -0
  40. package/dist/cjs/generated/protos/index.akash.v1.cjs.map +2 -2
  41. package/dist/cjs/generated/protos/index.akash.v1beta5.cjs +2 -0
  42. package/dist/cjs/generated/protos/index.akash.v1beta5.cjs.map +2 -2
  43. package/dist/cjs/network/config.cjs +3 -7
  44. package/dist/cjs/network/config.cjs.map +2 -2
  45. package/dist/cjs/sdk/provider/auth/jwt/types.cjs.map +1 -1
  46. package/dist/cjs/sdk/provider/auth/jwt/validateJwtPayload.cjs +1058 -1259
  47. package/dist/cjs/sdk/provider/auth/jwt/validateJwtPayload.cjs.map +2 -2
  48. package/dist/cjs/sdl/index.cjs +0 -4
  49. package/dist/cjs/sdl/index.cjs.map +2 -2
  50. package/dist/cjs/sdl/manifest/generateManifest.cjs +2 -3
  51. package/dist/cjs/sdl/manifest/generateManifest.cjs.map +2 -2
  52. package/dist/cjs/sdl/validateSDL/validateSDL.cjs +4 -36
  53. package/dist/cjs/sdl/validateSDL/validateSDL.cjs.map +2 -2
  54. package/dist/cjs/sdl/validateSDL/validateSDLInput.cjs +49 -50
  55. package/dist/cjs/sdl/validateSDL/validateSDLInput.cjs.map +2 -2
  56. package/dist/cjs/test.cjs +2 -0
  57. package/dist/cjs/test.cjs.map +7 -0
  58. package/dist/esm/{chunk-JAPXWQ3D.js → chunk-7XWZXYD2.js} +2 -2
  59. package/dist/esm/{chunk-5RTSSO7K.js → chunk-B7H4H62Z.js} +3 -3
  60. package/dist/esm/chunk-E4KEMLL4.js +413 -0
  61. package/dist/esm/chunk-E4KEMLL4.js.map +7 -0
  62. package/dist/esm/{chunk-H5WUFEMM.js → chunk-EG6EVQGI.js} +23 -5
  63. package/dist/esm/chunk-EG6EVQGI.js.map +7 -0
  64. package/dist/esm/{chunk-5YIS3XNX.js → chunk-EXKSXOV2.js} +2 -2
  65. package/dist/esm/{chunk-TXQ2BR6G.js → chunk-IFAXXMON.js} +126 -5
  66. package/dist/esm/chunk-IFAXXMON.js.map +7 -0
  67. package/dist/esm/chunk-IMR6WS6F.js +93 -0
  68. package/dist/esm/chunk-IMR6WS6F.js.map +7 -0
  69. package/dist/esm/{chunk-LKYHOABO.js → chunk-IPOIF4A2.js} +170 -37
  70. package/dist/esm/chunk-IPOIF4A2.js.map +7 -0
  71. package/dist/esm/{chunk-PFJG3V3A.js → chunk-ITPLCNJB.js} +84 -5
  72. package/dist/esm/chunk-ITPLCNJB.js.map +7 -0
  73. package/dist/esm/{chunk-YSOG5YCI.js → chunk-KM336UKV.js} +1203 -2125
  74. package/dist/esm/chunk-KM336UKV.js.map +7 -0
  75. package/dist/esm/{chunk-KFWTFROT.js → chunk-M5SAGBGR.js} +42 -3
  76. package/dist/esm/chunk-M5SAGBGR.js.map +7 -0
  77. package/dist/esm/{chunk-OHAEKHAC.js → chunk-NPGGO3JN.js} +37 -55
  78. package/dist/esm/chunk-NPGGO3JN.js.map +7 -0
  79. package/dist/esm/{chunk-HDAINZXA.js → chunk-RKOP2GYL.js} +50 -7
  80. package/dist/esm/chunk-RKOP2GYL.js.map +7 -0
  81. package/dist/esm/{chunk-VZZ4GN23.js → chunk-T5PKT4I6.js} +6 -4
  82. package/dist/esm/{chunk-VZZ4GN23.js.map → chunk-T5PKT4I6.js.map} +1 -1
  83. package/dist/esm/{chunk-B4MMOAAO.js → chunk-WI3EWXXI.js} +2 -2
  84. package/dist/esm/generated/protos/index.akash.v1.js +180 -182
  85. package/dist/esm/generated/protos/index.akash.v1.js.map +4 -4
  86. package/dist/esm/generated/protos/index.akash.v1beta1.js +7 -7
  87. package/dist/esm/generated/protos/index.akash.v1beta4.js +6 -4
  88. package/dist/esm/generated/protos/index.akash.v1beta5.js +10 -4
  89. package/dist/esm/generated/protos/index.akash.v1beta5.js.map +1 -1
  90. package/dist/esm/generated/protos/index.akash.v2.js +6 -6
  91. package/dist/esm/generated/protos/index.provider.akash.v1.js +16 -15
  92. package/dist/esm/index.js +10 -12
  93. package/dist/esm/index.web.js +9 -11
  94. package/dist/esm/{query_akash-3UBRLLRZ.js → query_akash-3IY2DKPB.js} +3 -3
  95. package/dist/esm/{query_akash-CKZRI7R6.js → query_akash-OKZLG4MG.js} +5 -3
  96. package/dist/esm/{query_akash-CKZRI7R6.js.map → query_akash-OKZLG4MG.js.map} +1 -1
  97. package/dist/esm/{query_akash-3LAHGVQJ.js → query_akash-ZITEPCYB.js} +6 -4
  98. package/dist/esm/{query_akash-3LAHGVQJ.js.map → query_akash-ZITEPCYB.js.map} +1 -1
  99. package/dist/esm/{service_akash-UFTUJDPM.js → service_akash-2CH5FJ4J.js} +3 -3
  100. package/dist/esm/{service_akash-5JSE44LJ.js → service_akash-BLDT6YCO.js} +5 -3
  101. package/dist/esm/{service_akash-5JSE44LJ.js.map → service_akash-BLDT6YCO.js.map} +1 -1
  102. package/dist/esm/{service_akash-QEN5EQUY.js → service_akash-DZETPXWM.js} +15 -4
  103. package/dist/esm/service_akash-DZETPXWM.js.map +7 -0
  104. package/dist/esm/service_akash-K7FWCKUQ.js +25 -0
  105. package/dist/esm/service_akash-K7FWCKUQ.js.map +7 -0
  106. package/dist/esm/{service_akash-FI6WXDZP.js → service_akash-VOFSDZEK.js} +4 -3
  107. package/dist/esm/{service_akash-FI6WXDZP.js.map → service_akash-VOFSDZEK.js.map} +1 -1
  108. package/dist/sdl-schema.yaml +1 -1
  109. package/dist/tsconfig.build.tsbuildinfo +1 -1
  110. package/dist/types/bla.d.ts +1 -0
  111. package/dist/types/generated/createNodeSDK.d.ts +30 -0
  112. package/dist/types/generated/protos/akash/bme/v1/params.d.ts +5 -0
  113. package/dist/types/generated/protos/akash/bme/v1/types.d.ts +19 -1
  114. package/dist/types/generated/protos/akash/deployment/v1/deployment.d.ts +15 -0
  115. package/dist/types/generated/protos/akash/deployment/v1beta4/deploymentmsg.d.ts +6 -1
  116. package/dist/types/generated/protos/akash/discovery/v1/akash.d.ts +16 -2
  117. package/dist/types/generated/protos/akash/discovery/v1/client_info.d.ts +18 -0
  118. package/dist/types/generated/protos/akash/discovery/v1/service.d.ts +12 -0
  119. package/dist/types/generated/protos/akash/discovery/v1/service_akash.d.ts +13 -0
  120. package/dist/types/generated/protos/akash/market/v1/event.d.ts +11 -0
  121. package/dist/types/generated/protos/akash/market/v1/lease.d.ts +8 -0
  122. package/dist/types/generated/protos/akash/market/v1/reclamation.d.ts +22 -0
  123. package/dist/types/generated/protos/akash/market/v1beta5/bid.d.ts +3 -0
  124. package/dist/types/generated/protos/akash/market/v1beta5/bidmsg.d.ts +7 -0
  125. package/dist/types/generated/protos/akash/market/v1beta5/leasemsg.d.ts +12 -0
  126. package/dist/types/generated/protos/akash/market/v1beta5/order.d.ts +6 -0
  127. package/dist/types/generated/protos/akash/market/v1beta5/params.d.ts +5 -0
  128. package/dist/types/generated/protos/akash/market/v1beta5/service_akash.d.ts +7 -1
  129. package/dist/types/generated/protos/index.akash.v1.d.ts +5 -3
  130. package/dist/types/generated/protos/index.akash.v1beta5.d.ts +1 -1
  131. package/dist/types/network/config.d.ts +4 -5
  132. package/dist/types/sdk/chain/createChainNodeSDK.d.ts +6 -0
  133. package/dist/types/sdk/chain/createChainNodeWebSDK.d.ts +6 -0
  134. package/dist/types/sdk/chain/helpers.d.ts +1 -1
  135. package/dist/types/sdk/provider/auth/jwt/types.d.ts +4 -58
  136. package/dist/types/sdk/provider/auth/jwt/validateJwtPayload.d.ts +273 -225
  137. package/dist/types/sdl/index.d.ts +0 -2
  138. package/dist/types/sdl/manifest/generateManifest.d.ts +1 -2
  139. package/dist/types/sdl/validateSDL/validateSDL.d.ts +2 -3
  140. package/dist/types/sdl/validateSDL/validateSDLInput.d.ts +5 -5
  141. package/dist/types/test.d.ts +1 -0
  142. package/package.json +13 -15
  143. package/dist/cjs/sdl/SDL/SDL.cjs +0 -718
  144. package/dist/cjs/sdl/SDL/SDL.cjs.map +0 -7
  145. package/dist/cjs/sdl/SDL/SdlValidationError.cjs +0 -46
  146. package/dist/cjs/sdl/SDL/SdlValidationError.cjs.map +0 -7
  147. package/dist/esm/chunk-H5WUFEMM.js.map +0 -7
  148. package/dist/esm/chunk-HDAINZXA.js.map +0 -7
  149. package/dist/esm/chunk-KFWTFROT.js.map +0 -7
  150. package/dist/esm/chunk-LKYHOABO.js.map +0 -7
  151. package/dist/esm/chunk-OHAEKHAC.js.map +0 -7
  152. package/dist/esm/chunk-PFJG3V3A.js.map +0 -7
  153. package/dist/esm/chunk-TXQ2BR6G.js.map +0 -7
  154. package/dist/esm/chunk-YSOG5YCI.js.map +0 -7
  155. package/dist/esm/service_akash-QEN5EQUY.js.map +0 -7
  156. package/dist/types/sdl/SDL/SDL.d.ts +0 -439
  157. package/dist/types/sdl/SDL/SdlValidationError.d.ts +0 -18
  158. /package/dist/esm/{chunk-JAPXWQ3D.js.map → chunk-7XWZXYD2.js.map} +0 -0
  159. /package/dist/esm/{chunk-5RTSSO7K.js.map → chunk-B7H4H62Z.js.map} +0 -0
  160. /package/dist/esm/{chunk-5YIS3XNX.js.map → chunk-EXKSXOV2.js.map} +0 -0
  161. /package/dist/esm/{chunk-B4MMOAAO.js.map → chunk-WI3EWXXI.js.map} +0 -0
  162. /package/dist/esm/{query_akash-3UBRLLRZ.js.map → query_akash-3IY2DKPB.js.map} +0 -0
  163. /package/dist/esm/{service_akash-UFTUJDPM.js.map → service_akash-2CH5FJ4J.js.map} +0 -0
@@ -0,0 +1,115 @@
1
+ "use strict";
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
6
+ var __export = (target, all) => {
7
+ for (var name in all)
8
+ __defProp(target, name, { get: all[name], enumerable: true });
9
+ };
10
+ var __copyProps = (to, from, except, desc) => {
11
+ if (from && typeof from === "object" || typeof from === "function") {
12
+ for (let key of __getOwnPropNames(from))
13
+ if (!__hasOwnProp.call(to, key) && key !== except)
14
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
15
+ }
16
+ return to;
17
+ };
18
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
+ var service_exports = {};
20
+ __export(service_exports, {
21
+ GetInfoRequest: () => GetInfoRequest,
22
+ GetInfoResponse: () => GetInfoResponse
23
+ });
24
+ module.exports = __toCommonJS(service_exports);
25
+ var import_typeEncodingHelpers = require("../../../../../encoding/typeEncodingHelpers.cjs");
26
+ var import_wire = require("@bufbuild/protobuf/wire");
27
+ var import_akash = require("./akash.cjs");
28
+ function createBaseGetInfoRequest() {
29
+ return {};
30
+ }
31
+ const GetInfoRequest = {
32
+ $type: "akash.discovery.v1.GetInfoRequest",
33
+ encode(_, writer = new import_wire.BinaryWriter()) {
34
+ return writer;
35
+ },
36
+ decode(input, length) {
37
+ const reader = input instanceof import_wire.BinaryReader ? input : new import_wire.BinaryReader(input);
38
+ const end = length === void 0 ? reader.len : reader.pos + length;
39
+ const message = createBaseGetInfoRequest();
40
+ while (reader.pos < end) {
41
+ const tag = reader.uint32();
42
+ switch (tag >>> 3) {
43
+ }
44
+ if ((tag & 7) === 4 || tag === 0) {
45
+ break;
46
+ }
47
+ reader.skip(tag & 7);
48
+ }
49
+ return message;
50
+ },
51
+ fromJSON(_) {
52
+ return {};
53
+ },
54
+ toJSON(_) {
55
+ const obj = {};
56
+ return obj;
57
+ },
58
+ fromPartial(_) {
59
+ const message = createBaseGetInfoRequest();
60
+ return message;
61
+ }
62
+ };
63
+ function createBaseGetInfoResponse() {
64
+ return { info: void 0 };
65
+ }
66
+ const GetInfoResponse = {
67
+ $type: "akash.discovery.v1.GetInfoResponse",
68
+ encode(message, writer = new import_wire.BinaryWriter()) {
69
+ if (message.info !== void 0) {
70
+ import_akash.Akash.encode(message.info, writer.uint32(10).fork()).join();
71
+ }
72
+ return writer;
73
+ },
74
+ decode(input, length) {
75
+ const reader = input instanceof import_wire.BinaryReader ? input : new import_wire.BinaryReader(input);
76
+ const end = length === void 0 ? reader.len : reader.pos + length;
77
+ const message = createBaseGetInfoResponse();
78
+ while (reader.pos < end) {
79
+ const tag = reader.uint32();
80
+ switch (tag >>> 3) {
81
+ case 1: {
82
+ if (tag !== 10) {
83
+ break;
84
+ }
85
+ message.info = import_akash.Akash.decode(reader, reader.uint32());
86
+ continue;
87
+ }
88
+ }
89
+ if ((tag & 7) === 4 || tag === 0) {
90
+ break;
91
+ }
92
+ reader.skip(tag & 7);
93
+ }
94
+ return message;
95
+ },
96
+ fromJSON(object) {
97
+ return { info: (0, import_typeEncodingHelpers.isSet)(object.info) ? import_akash.Akash.fromJSON(object.info) : void 0 };
98
+ },
99
+ toJSON(message) {
100
+ const obj = {};
101
+ if (message.info !== void 0) {
102
+ obj.info = import_akash.Akash.toJSON(message.info);
103
+ }
104
+ return obj;
105
+ },
106
+ fromPartial(object) {
107
+ const message = createBaseGetInfoResponse();
108
+ message.info = object.info !== void 0 && object.info !== null ? import_akash.Akash.fromPartial(object.info) : void 0;
109
+ return message;
110
+ }
111
+ };
112
+ function _unused_isSet(value) {
113
+ return value !== null && value !== void 0;
114
+ }
115
+ //# sourceMappingURL=service.cjs.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../../../../../../src/generated/protos/akash/discovery/v1/service.ts"],
4
+ "sourcesContent": ["import { isSet } from \"../../../../../encoding/typeEncodingHelpers.ts\"\nimport type { DeepPartial, MessageFns } from \"../../../../../encoding/typeEncodingHelpers.ts\"\n// Code generated by protoc-gen-ts_proto. DO NOT EDIT.\n// versions:\n// protoc-gen-ts_proto v2.7.7\n// protoc unknown\n// source: akash/discovery/v1/service.proto\n\n/* eslint-disable */\nimport { BinaryReader, BinaryWriter } from \"@bufbuild/protobuf/wire\";\nimport Long from \"long\";\nimport { Akash } from \"./akash.ts\";\n\n/** GetInfoRequest is the request type for the Discovery/GetInfo RPC method. */\nexport interface GetInfoRequest {\n}\n\n/** GetInfoResponse is the response type for the Discovery/GetInfo RPC method. */\nexport interface GetInfoResponse {\n /** Info contains the node's version and capability information. */\n info: Akash | undefined;\n}\n\nfunction createBaseGetInfoRequest(): GetInfoRequest {\n return {};\n}\n\nexport const GetInfoRequest: MessageFns<GetInfoRequest, \"akash.discovery.v1.GetInfoRequest\"> = {\n $type: \"akash.discovery.v1.GetInfoRequest\" as const,\n\n encode(_: GetInfoRequest, writer: BinaryWriter = new BinaryWriter()): BinaryWriter {\n return writer;\n },\n\n decode(input: BinaryReader | Uint8Array, length?: number): GetInfoRequest {\n const reader = input instanceof BinaryReader ? input : new BinaryReader(input);\n const end = length === undefined ? reader.len : reader.pos + length;\n const message = createBaseGetInfoRequest();\n while (reader.pos < end) {\n const tag = reader.uint32();\n switch (tag >>> 3) {\n }\n if ((tag & 7) === 4 || tag === 0) {\n break;\n }\n reader.skip(tag & 7);\n }\n return message;\n },\n\n fromJSON(_: any): GetInfoRequest {\n return {};\n },\n\n toJSON(_: GetInfoRequest): unknown {\n const obj: any = {};\n return obj;\n },\n fromPartial(_: DeepPartial<GetInfoRequest>): GetInfoRequest {\n const message = createBaseGetInfoRequest();\n return message;\n },\n};\n\nfunction createBaseGetInfoResponse(): GetInfoResponse {\n return { info: undefined };\n}\n\nexport const GetInfoResponse: MessageFns<GetInfoResponse, \"akash.discovery.v1.GetInfoResponse\"> = {\n $type: \"akash.discovery.v1.GetInfoResponse\" as const,\n\n encode(message: GetInfoResponse, writer: BinaryWriter = new BinaryWriter()): BinaryWriter {\n if (message.info !== undefined) {\n Akash.encode(message.info, writer.uint32(10).fork()).join();\n }\n return writer;\n },\n\n decode(input: BinaryReader | Uint8Array, length?: number): GetInfoResponse {\n const reader = input instanceof BinaryReader ? input : new BinaryReader(input);\n const end = length === undefined ? reader.len : reader.pos + length;\n const message = createBaseGetInfoResponse();\n while (reader.pos < end) {\n const tag = reader.uint32();\n switch (tag >>> 3) {\n case 1: {\n if (tag !== 10) {\n break;\n }\n\n message.info = Akash.decode(reader, reader.uint32());\n continue;\n }\n }\n if ((tag & 7) === 4 || tag === 0) {\n break;\n }\n reader.skip(tag & 7);\n }\n return message;\n },\n\n fromJSON(object: any): GetInfoResponse {\n return { info: isSet(object.info) ? Akash.fromJSON(object.info) : undefined };\n },\n\n toJSON(message: GetInfoResponse): unknown {\n const obj: any = {};\n if (message.info !== undefined) {\n obj.info = Akash.toJSON(message.info);\n }\n return obj;\n },\n fromPartial(object: DeepPartial<GetInfoResponse>): GetInfoResponse {\n const message = createBaseGetInfoResponse();\n message.info = (object.info !== undefined && object.info !== null) ? Akash.fromPartial(object.info) : undefined;\n return message;\n },\n};\n\ntype Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;\n\ntype _unused_DeepPartial<T> = T extends Builtin ? T\n : T extends Long ? string | number | Long : T extends globalThis.Array<infer U> ? globalThis.Array<DeepPartial<U>>\n : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>>\n : T extends {} ? { [K in keyof T]?: DeepPartial<T[K]> }\n : Partial<T>;\n\nfunction _unused_isSet(value: any): boolean {\n return value !== null && value !== undefined;\n}\n\ninterface _unused_MessageFns<T, V extends string> {\n readonly $type: V;\n encode(message: T, writer?: BinaryWriter): BinaryWriter;\n decode(input: BinaryReader | Uint8Array, length?: number): T;\n fromJSON(object: any): T;\n toJSON(message: T): unknown;\n create(base?: DeepPartial<T>): T;\n fromPartial(object: DeepPartial<T>): T;\n}\n"],
5
+ "mappings": ";;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,iCAAsB;AAStB,kBAA2C;AAE3C,mBAAsB;AAYtB,SAAS,2BAA2C;AAClD,SAAO,CAAC;AACV;AAEO,MAAM,iBAAkF;AAAA,EAC7F,OAAO;AAAA,EAEP,OAAO,GAAmB,SAAuB,IAAI,yBAAa,GAAiB;AACjF,WAAO;AAAA,EACT;AAAA,EAEA,OAAO,OAAkC,QAAiC;AACxE,UAAM,SAAS,iBAAiB,2BAAe,QAAQ,IAAI,yBAAa,KAAK;AAC7E,UAAM,MAAM,WAAW,SAAY,OAAO,MAAM,OAAO,MAAM;AAC7D,UAAM,UAAU,yBAAyB;AACzC,WAAO,OAAO,MAAM,KAAK;AACvB,YAAM,MAAM,OAAO,OAAO;AAC1B,cAAQ,QAAQ,GAAG;AAAA,MACnB;AACA,WAAK,MAAM,OAAO,KAAK,QAAQ,GAAG;AAChC;AAAA,MACF;AACA,aAAO,KAAK,MAAM,CAAC;AAAA,IACrB;AACA,WAAO;AAAA,EACT;AAAA,EAEA,SAAS,GAAwB;AAC/B,WAAO,CAAC;AAAA,EACV;AAAA,EAEA,OAAO,GAA4B;AACjC,UAAM,MAAW,CAAC;AAClB,WAAO;AAAA,EACT;AAAA,EACA,YAAY,GAAgD;AAC1D,UAAM,U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OAAO,SAAS,UAAa,OAAO,SAAS,OAAQ,mBAAM,YAAY,OAAO,IAAI,IAAI;AACtG,WAAO;AAAA,EACT;AACF;AAUA,SAAS,cAAc,OAAqB;AAC1C,SAAO,UAAU,QAAQ,UAAU;AACrC;",
6
+ "names": []
7
+ }
@@ -0,0 +1,39 @@
1
+ "use strict";
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
6
+ var __export = (target, all) => {
7
+ for (var name in all)
8
+ __defProp(target, name, { get: all[name], enumerable: true });
9
+ };
10
+ var __copyProps = (to, from, except, desc) => {
11
+ if (from && typeof from === "object" || typeof from === "function") {
12
+ for (let key of __getOwnPropNames(from))
13
+ if (!__hasOwnProp.call(to, key) && key !== except)
14
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
15
+ }
16
+ return to;
17
+ };
18
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
+ var service_akash_exports = {};
20
+ __export(service_akash_exports, {
21
+ Discovery: () => Discovery
22
+ });
23
+ module.exports = __toCommonJS(service_akash_exports);
24
+ var import_service = require("./service.cjs");
25
+ const Discovery = {
26
+ typeName: "akash.discovery.v1.Discovery",
27
+ methods: {
28
+ getInfo: {
29
+ name: "GetInfo",
30
+ httpPath: "/akash/discovery/v1/info",
31
+ input: import_service.GetInfoRequest,
32
+ output: import_service.GetInfoResponse,
33
+ get parent() {
34
+ return Discovery;
35
+ }
36
+ }
37
+ }
38
+ };
39
+ //# sourceMappingURL=service_akash.cjs.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../../../../../../src/generated/protos/akash/discovery/v1/service_akash.ts"],
4
+ "sourcesContent": ["import { GetInfoRequest, GetInfoResponse } from \"./service.ts\";\n\nexport const Discovery = {\n typeName: \"akash.discovery.v1.Discovery\",\n methods: {\n getInfo: {\n name: \"GetInfo\",\n httpPath: \"/akash/discovery/v1/info\",\n input: GetInfoRequest,\n output: GetInfoResponse,\n get parent() { return Discovery; },\n },\n },\n} as const;\n"],
5
+ "mappings": ";;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,qBAAgD;AAEzC,MAAM,YAAY;AAAA,EACvB,UAAU;AAAA,EACV,SAAS;AAAA,IACP,SAAS;AAAA,MACP,MAAM;AAAA,MACN,UAAU;AAAA,MACV,OAAO;AAAA,MACP,QAAQ;AAAA,MACR,IAAI,SAAS;AAAE,eAAO;AAAA,MAAW;AAAA,IACnC;AAAA,EACF;AACF;",
6
+ "names": []
7
+ }
@@ -1,7 +1,9 @@
1
1
  "use strict";
2
+ var __create = Object.create;
2
3
  var __defProp = Object.defineProperty;
3
4
  var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
5
  var __getOwnPropNames = Object.getOwnPropertyNames;
6
+ var __getProtoOf = Object.getPrototypeOf;
5
7
  var __hasOwnProp = Object.prototype.hasOwnProperty;
6
8
  var __export = (target, all) => {
7
9
  for (var name in all)
@@ -15,6 +17,14 @@ var __copyProps = (to, from, except, desc) => {
15
17
  }
16
18
  return to;
17
19
  };
20
+ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
21
+ // If the importer is in node compatibility mode or this is not an ESM
22
+ // file that has been converted to a CommonJS file using a Babel-
23
+ // compatible transform (i.e. "__esModule" has not been set), then set
24
+ // "default" to the CommonJS "module.exports" for node compatibility.
25
+ isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
26
+ mod
27
+ ));
18
28
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
29
  var event_exports = {};
20
30
  __export(event_exports, {
@@ -22,12 +32,14 @@ __export(event_exports, {
22
32
  EventBidCreated: () => EventBidCreated,
23
33
  EventLeaseClosed: () => EventLeaseClosed,
24
34
  EventLeaseCreated: () => EventLeaseCreated,
35
+ EventLeaseReclaimStarted: () => EventLeaseReclaimStarted,
25
36
  EventOrderClosed: () => EventOrderClosed,
26
37
  EventOrderCreated: () => EventOrderCreated
27
38
  });
28
39
  module.exports = __toCommonJS(event_exports);
29
40
  var import_typeEncodingHelpers = require("../../../../../encoding/typeEncodingHelpers.cjs");
30
41
  var import_wire = require("@bufbuild/protobuf/wire");
42
+ var import_long = __toESM(require("long"), 1);
31
43
  var import_coin = require("../../../cosmos/base/v1beta1/coin.cjs");
32
44
  var import_bid = require("./bid.cjs");
33
45
  var import_lease = require("./lease.cjs");
@@ -378,6 +390,87 @@ const EventLeaseClosed = {
378
390
  return message;
379
391
  }
380
392
  };
393
+ function createBaseEventLeaseReclaimStarted() {
394
+ return { id: void 0, reason: 0, deadline: import_long.default.ZERO };
395
+ }
396
+ const EventLeaseReclaimStarted = {
397
+ $type: "akash.market.v1.EventLeaseReclaimStarted",
398
+ encode(message, writer = new import_wire.BinaryWriter()) {
399
+ if (message.id !== void 0) {
400
+ import_lease.LeaseID.encode(message.id, writer.uint32(10).fork()).join();
401
+ }
402
+ if (message.reason !== 0) {
403
+ writer.uint32(16).int32(message.reason);
404
+ }
405
+ if (!message.deadline.equals(import_long.default.ZERO)) {
406
+ writer.uint32(24).int64(message.deadline.toString());
407
+ }
408
+ return writer;
409
+ },
410
+ decode(input, length) {
411
+ const reader = input instanceof import_wire.BinaryReader ? input : new import_wire.BinaryReader(input);
412
+ const end = length === void 0 ? reader.len : reader.pos + length;
413
+ const message = createBaseEventLeaseReclaimStarted();
414
+ while (reader.pos < end) {
415
+ const tag = reader.uint32();
416
+ switch (tag >>> 3) {
417
+ case 1: {
418
+ if (tag !== 10) {
419
+ break;
420
+ }
421
+ message.id = import_lease.LeaseID.decode(reader, reader.uint32());
422
+ continue;
423
+ }
424
+ case 2: {
425
+ if (tag !== 16) {
426
+ break;
427
+ }
428
+ message.reason = reader.int32();
429
+ continue;
430
+ }
431
+ case 3: {
432
+ if (tag !== 24) {
433
+ break;
434
+ }
435
+ message.deadline = import_long.default.fromString(reader.int64().toString());
436
+ continue;
437
+ }
438
+ }
439
+ if ((tag & 7) === 4 || tag === 0) {
440
+ break;
441
+ }
442
+ reader.skip(tag & 7);
443
+ }
444
+ return message;
445
+ },
446
+ fromJSON(object) {
447
+ return {
448
+ id: (0, import_typeEncodingHelpers.isSet)(object.id) ? import_lease.LeaseID.fromJSON(object.id) : void 0,
449
+ reason: (0, import_typeEncodingHelpers.isSet)(object.reason) ? (0, import_types.leaseClosedReasonFromJSON)(object.reason) : 0,
450
+ deadline: (0, import_typeEncodingHelpers.isSet)(object.deadline) ? import_long.default.fromValue(object.deadline) : import_long.default.ZERO
451
+ };
452
+ },
453
+ toJSON(message) {
454
+ const obj = {};
455
+ if (message.id !== void 0) {
456
+ obj.id = import_lease.LeaseID.toJSON(message.id);
457
+ }
458
+ if (message.reason !== 0) {
459
+ obj.reason = (0, import_types.leaseClosedReasonToJSON)(message.reason);
460
+ }
461
+ if (!message.deadline.equals(import_long.default.ZERO)) {
462
+ obj.deadline = (message.deadline || import_long.default.ZERO).toString();
463
+ }
464
+ return obj;
465
+ },
466
+ fromPartial(object) {
467
+ const message = createBaseEventLeaseReclaimStarted();
468
+ message.id = object.id !== void 0 && object.id !== null ? import_lease.LeaseID.fromPartial(object.id) : void 0;
469
+ message.reason = object.reason ?? 0;
470
+ message.deadline = object.deadline !== void 0 && object.deadline !== null ? import_long.default.fromValue(object.deadline) : import_long.default.ZERO;
471
+ return message;
472
+ }
473
+ };
381
474
  function _unused_isSet(value) {
382
475
  return value !== null && value !== void 0;
383
476
  }
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../../../../../../src/generated/protos/akash/market/v1/event.ts"],
4
- "sourcesContent": ["import { isSet } from \"../../../../../encoding/typeEncodingHelpers.ts\"\nimport type { DeepPartial, MessageFns } from \"../../../../../encoding/typeEncodingHelpers.ts\"\n// Code generated by protoc-gen-ts_proto. DO NOT EDIT.\n// versions:\n// protoc-gen-ts_proto v2.7.7\n// protoc unknown\n// source: akash/market/v1/event.proto\n\n/* eslint-disable */\nimport { BinaryReader, BinaryWriter } from \"@bufbuild/protobuf/wire\";\nimport Long from \"long\";\nimport { DecCoin } from \"../../../cosmos/base/v1beta1/coin.ts\";\nimport { BidID } from \"./bid.ts\";\nimport { LeaseID } from \"./lease.ts\";\nimport { OrderID } from \"./order.ts\";\nimport { LeaseClosedReason, leaseClosedReasonFromJSON, leaseClosedReasonToJSON } from \"./types.ts\";\n\n/**\n * EventOrderCreated is triggered when an order is created.\n * It contains all the information required to identify an order.\n */\nexport interface EventOrderCreated {\n /** Id is the unique identifier of the Order. */\n id: OrderID | undefined;\n}\n\n/**\n * EventOrderClosed is triggered when an order is closed.\n * It contains all the information required to identify an order.\n */\nexport interface EventOrderClosed {\n /** Id is the unique identifier of the Order. */\n id: OrderID | undefined;\n}\n\n/**\n * EventBidCreated is triggered when a bid is created.\n * It contains all the information required to identify a bid.\n */\nexport interface EventBidCreated {\n /** Id is the unique identifier of the Bid. */\n id:\n | BidID\n | undefined;\n /** Price stated on the Bid. */\n price: DecCoin | undefined;\n}\n\n/**\n * EventBidClosed is triggered when a bid is closed.\n * It contains all the information required to identify a bid.\n */\nexport interface EventBidClosed {\n /** Id is the unique identifier of the Bid. */\n id: BidID | undefined;\n}\n\n/**\n * EventLeaseCreated is triggered when a lease is created.\n * It contains all the information required to identify a lease.\n */\nexport interface EventLeaseCreated {\n /** Id is the unique identifier of the Lease. */\n id:\n | LeaseID\n | undefined;\n /** Price settled for the lease. */\n price: DecCoin | undefined;\n}\n\n/**\n * EventLeaseClosed is triggered when a lease is closed.\n * It contains all the information required to identify a lease.\n */\nexport interface EventLeaseClosed {\n /** Id is the unique identifier of the Lease. */\n id: LeaseID | undefined;\n reason: LeaseClosedReason;\n}\n\nfunction createBaseEventOrderCreated(): EventOrderCreated {\n return { id: undefined };\n}\n\nexport const EventOrderCreated: MessageFns<EventOrderCreated, \"akash.market.v1.EventOrderCreated\"> = {\n $type: \"akash.market.v1.EventOrderCreated\" as const,\n\n encode(message: EventOrderCreated, writer: BinaryWriter = new BinaryWriter()): BinaryWriter {\n if (message.id !== undefined) {\n OrderID.encode(message.id, writer.uint32(10).fork()).join();\n }\n return writer;\n },\n\n decode(input: BinaryReader | Uint8Array, length?: number): EventOrderCreated {\n const reader = input instanceof BinaryReader ? input : new BinaryReader(input);\n const end = length === undefined ? reader.len : reader.pos + length;\n const message = createBaseEventOrderCreated();\n while (reader.pos < end) {\n const tag = reader.uint32();\n switch (tag >>> 3) {\n case 1: {\n if (tag !== 10) {\n break;\n }\n\n message.id = OrderID.decode(reader, reader.uint32());\n continue;\n }\n }\n if ((tag & 7) === 4 || tag === 0) {\n break;\n }\n reader.skip(tag & 7);\n }\n return message;\n },\n\n fromJSON(object: any): EventOrderCreated {\n return { id: isSet(object.id) ? OrderID.fromJSON(object.id) : undefined };\n },\n\n toJSON(message: EventOrderCreated): unknown {\n const obj: any = {};\n if (message.id !== undefined) {\n obj.id = OrderID.toJSON(message.id);\n }\n return obj;\n },\n fromPartial(object: DeepPartial<EventOrderCreated>): EventOrderCreated {\n const message = createBaseEventOrderCreated();\n message.id = (object.id !== undefined && object.id !== null) ? OrderID.fromPartial(object.id) : undefined;\n return message;\n },\n};\n\nfunction createBaseEventOrderClosed(): EventOrderClosed {\n return { id: undefined };\n}\n\nexport const EventOrderClosed: MessageFns<EventOrderClosed, \"akash.market.v1.EventOrderClosed\"> = {\n $type: \"akash.market.v1.EventOrderClosed\" as const,\n\n encode(message: EventOrderClosed, writer: BinaryWriter = new BinaryWriter()): BinaryWriter {\n if (message.id !== undefined) {\n OrderID.encode(message.id, writer.uint32(10).fork()).join();\n }\n return writer;\n },\n\n decode(input: BinaryReader | Uint8Array, length?: number): EventOrderClosed {\n const reader = input instanceof BinaryReader ? input : new BinaryReader(input);\n const end = length === undefined ? reader.len : reader.pos + length;\n const message = createBaseEventOrderClosed();\n while (reader.pos < end) {\n const tag = reader.uint32();\n switch (tag >>> 3) {\n case 1: {\n if (tag !== 10) {\n break;\n }\n\n message.id = OrderID.decode(reader, reader.uint32());\n continue;\n }\n }\n if ((tag & 7) === 4 || tag === 0) {\n break;\n }\n reader.skip(tag & 7);\n }\n return message;\n },\n\n fromJSON(object: any): EventOrderClosed {\n return { id: isSet(object.id) ? OrderID.fromJSON(object.id) : undefined };\n },\n\n toJSON(message: EventOrderClosed): unknown {\n const obj: any = {};\n if (message.id !== undefined) {\n obj.id = OrderID.toJSON(message.id);\n }\n return obj;\n },\n fromPartial(object: DeepPartial<EventOrderClosed>): EventOrderClosed {\n const message = createBaseEventOrderClosed();\n message.id = (object.id !== undefined && object.id !== null) ? OrderID.fromPartial(object.id) : undefined;\n return message;\n },\n};\n\nfunction createBaseEventBidCreated(): EventBidCreated {\n return { id: undefined, price: undefined };\n}\n\nexport const EventBidCreated: MessageFns<EventBidCreated, \"akash.market.v1.EventBidCreated\"> = {\n $type: \"akash.market.v1.EventBidCreated\" as const,\n\n encode(message: EventBidCreated, writer: BinaryWriter = new BinaryWriter()): BinaryWriter {\n if (message.id !== undefined) {\n BidID.encode(message.id, writer.uint32(10).fork()).join();\n }\n if (message.price !== undefined) {\n DecCoin.encode(message.price, writer.uint32(26).fork()).join();\n }\n return writer;\n },\n\n decode(input: BinaryReader | Uint8Array, length?: number): EventBidCreated {\n const reader = input instanceof BinaryReader ? input : new BinaryReader(input);\n const end = length === undefined ? reader.len : reader.pos + length;\n const message = createBaseEventBidCreated();\n while (reader.pos < end) {\n const tag = reader.uint32();\n switch (tag >>> 3) {\n case 1: {\n if (tag !== 10) {\n break;\n }\n\n message.id = BidID.decode(reader, reader.uint32());\n continue;\n }\n case 3: {\n if (tag !== 26) {\n break;\n }\n\n message.price = DecCoin.decode(reader, reader.uint32());\n continue;\n }\n }\n if ((tag & 7) === 4 || tag === 0) {\n break;\n }\n reader.skip(tag & 7);\n }\n return message;\n },\n\n fromJSON(object: any): EventBidCreated {\n return {\n id: isSet(object.id) ? BidID.fromJSON(object.id) : undefined,\n price: isSet(object.price) ? DecCoin.fromJSON(object.price) : undefined,\n };\n },\n\n toJSON(message: EventBidCreated): unknown {\n const obj: any = {};\n if (message.id !== undefined) {\n obj.id = BidID.toJSON(message.id);\n }\n if (message.price !== undefined) {\n obj.price = DecCoin.toJSON(message.price);\n }\n return obj;\n },\n fromPartial(object: DeepPartial<EventBidCreated>): EventBidCreated {\n const message = createBaseEventBidCreated();\n message.id = (object.id !== undefined && object.id !== null) ? BidID.fromPartial(object.id) : undefined;\n message.price = (object.price !== undefined && object.price !== null)\n ? DecCoin.fromPartial(object.price)\n : undefined;\n return message;\n },\n};\n\nfunction createBaseEventBidClosed(): EventBidClosed {\n return { id: undefined };\n}\n\nexport const EventBidClosed: MessageFns<EventBidClosed, \"akash.market.v1.EventBidClosed\"> = {\n $type: \"akash.market.v1.EventBidClosed\" as const,\n\n encode(message: EventBidClosed, writer: BinaryWriter = new BinaryWriter()): BinaryWriter {\n if (message.id !== undefined) {\n BidID.encode(message.id, writer.uint32(10).fork()).join();\n }\n return writer;\n },\n\n decode(input: BinaryReader | Uint8Array, length?: number): EventBidClosed {\n const reader = input instanceof BinaryReader ? input : new BinaryReader(input);\n const end = length === undefined ? reader.len : reader.pos + length;\n const message = createBaseEventBidClosed();\n while (reader.pos < end) {\n const tag = reader.uint32();\n switch (tag >>> 3) {\n case 1: {\n if (tag !== 10) {\n break;\n }\n\n message.id = BidID.decode(reader, reader.uint32());\n continue;\n }\n }\n if ((tag & 7) === 4 || tag === 0) {\n break;\n }\n reader.skip(tag & 7);\n }\n return message;\n },\n\n fromJSON(object: any): EventBidClosed {\n return { id: isSet(object.id) ? BidID.fromJSON(object.id) : undefined };\n },\n\n toJSON(message: EventBidClosed): unknown {\n const obj: any = {};\n if (message.id !== undefined) {\n obj.id = BidID.toJSON(message.id);\n }\n return obj;\n },\n fromPartial(object: DeepPartial<EventBidClosed>): EventBidClosed {\n const message = createBaseEventBidClosed();\n message.id = (object.id !== undefined && object.id !== null) ? BidID.fromPartial(object.id) : undefined;\n return message;\n },\n};\n\nfunction createBaseEventLeaseCreated(): EventLeaseCreated {\n return { id: undefined, price: undefined };\n}\n\nexport const EventLeaseCreated: MessageFns<EventLeaseCreated, \"akash.market.v1.EventLeaseCreated\"> = {\n $type: \"akash.market.v1.EventLeaseCreated\" as const,\n\n encode(message: EventLeaseCreated, writer: BinaryWriter = new BinaryWriter()): BinaryWriter {\n if (message.id !== undefined) {\n LeaseID.encode(message.id, writer.uint32(10).fork()).join();\n }\n if (message.price !== undefined) {\n DecCoin.encode(message.price, writer.uint32(26).fork()).join();\n }\n return writer;\n },\n\n decode(input: BinaryReader | Uint8Array, length?: number): EventLeaseCreated {\n const reader = input instanceof BinaryReader ? input : new BinaryReader(input);\n const end = length === undefined ? reader.len : reader.pos + length;\n const message = createBaseEventLeaseCreated();\n while (reader.pos < end) {\n const tag = reader.uint32();\n switch (tag >>> 3) {\n case 1: {\n if (tag !== 10) {\n break;\n }\n\n message.id = LeaseID.decode(reader, reader.uint32());\n continue;\n }\n case 3: {\n if (tag !== 26) {\n break;\n }\n\n message.price = DecCoin.decode(reader, reader.uint32());\n continue;\n }\n }\n if ((tag & 7) === 4 || tag === 0) {\n break;\n }\n reader.skip(tag & 7);\n }\n return message;\n },\n\n fromJSON(object: any): EventLeaseCreated {\n return {\n id: isSet(object.id) ? LeaseID.fromJSON(object.id) : undefined,\n price: isSet(object.price) ? DecCoin.fromJSON(object.price) : undefined,\n };\n },\n\n toJSON(message: EventLeaseCreated): unknown {\n const obj: any = {};\n if (message.id !== undefined) {\n obj.id = LeaseID.toJSON(message.id);\n }\n if (message.price !== undefined) {\n obj.price = DecCoin.toJSON(message.price);\n }\n return obj;\n },\n fromPartial(object: DeepPartial<EventLeaseCreated>): EventLeaseCreated {\n const message = createBaseEventLeaseCreated();\n message.id = (object.id !== undefined && object.id !== null) ? LeaseID.fromPartial(object.id) : undefined;\n message.price = (object.price !== undefined && object.price !== null)\n ? DecCoin.fromPartial(object.price)\n : undefined;\n return message;\n },\n};\n\nfunction createBaseEventLeaseClosed(): EventLeaseClosed {\n return { id: undefined, reason: 0 };\n}\n\nexport const EventLeaseClosed: MessageFns<EventLeaseClosed, \"akash.market.v1.EventLeaseClosed\"> = {\n $type: \"akash.market.v1.EventLeaseClosed\" as const,\n\n encode(message: EventLeaseClosed, writer: BinaryWriter = new BinaryWriter()): BinaryWriter {\n if (message.id !== undefined) {\n LeaseID.encode(message.id, writer.uint32(10).fork()).join();\n }\n if (message.reason !== 0) {\n writer.uint32(16).int32(message.reason);\n }\n return writer;\n },\n\n decode(input: BinaryReader | Uint8Array, length?: number): EventLeaseClosed {\n const reader = input instanceof BinaryReader ? input : new BinaryReader(input);\n const end = length === undefined ? reader.len : reader.pos + length;\n const message = createBaseEventLeaseClosed();\n while (reader.pos < end) {\n const tag = reader.uint32();\n switch (tag >>> 3) {\n case 1: {\n if (tag !== 10) {\n break;\n }\n\n message.id = LeaseID.decode(reader, reader.uint32());\n continue;\n }\n case 2: {\n if (tag !== 16) {\n break;\n }\n\n message.reason = reader.int32() as any;\n continue;\n }\n }\n if ((tag & 7) === 4 || tag === 0) {\n break;\n }\n reader.skip(tag & 7);\n }\n return message;\n },\n\n fromJSON(object: any): EventLeaseClosed {\n return {\n id: isSet(object.id) ? LeaseID.fromJSON(object.id) : undefined,\n reason: isSet(object.reason) ? leaseClosedReasonFromJSON(object.reason) : 0,\n };\n },\n\n toJSON(message: EventLeaseClosed): unknown {\n const obj: any = {};\n if (message.id !== undefined) {\n obj.id = LeaseID.toJSON(message.id);\n }\n if (message.reason !== 0) {\n obj.reason = leaseClosedReasonToJSON(message.reason);\n }\n return obj;\n },\n fromPartial(object: DeepPartial<EventLeaseClosed>): EventLeaseClosed {\n const message = createBaseEventLeaseClosed();\n message.id = (object.id !== undefined && object.id !== null) ? LeaseID.fromPartial(object.id) : undefined;\n message.reason = object.reason ?? 0;\n return message;\n },\n};\n\ntype Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;\n\ntype _unused_DeepPartial<T> = T extends Builtin ? T\n : T extends Long ? string | number | Long : T extends globalThis.Array<infer U> ? globalThis.Array<DeepPartial<U>>\n : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>>\n : T extends {} ? { [K in keyof T]?: DeepPartial<T[K]> }\n : Partial<T>;\n\nfunction _unused_isSet(value: any): boolean {\n return value !== null && value !== undefined;\n}\n\ninterface _unused_MessageFns<T, V extends string> {\n readonly $type: V;\n encode(message: T, writer?: BinaryWriter): BinaryWriter;\n decode(input: BinaryReader | Uint8Array, length?: number): T;\n fromJSON(object: any): T;\n toJSON(message: T): unknown;\n create(base?: DeepPartial<T>): T;\n fromPartial(object: DeepPartial<T>): T;\n}\n"],
5
- "mappings": ";;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,iCAAsB;AAStB,kBAA2C;AAE3C,kBAAwB;AACxB,iBAAsB;AACtB,mBAAwB;AACxB,mBAAwB;AACxB,mBAAsF;AAiEtF,SAAS,8BAAiD;AACxD,SAAO,EAAE,IAAI,OAAU;AACzB;AAEO,MAAM,oBAAwF;AAAA,EACnG,OAAO;AAAA,EAEP,OAAO,SAA4B,SAAuB,IAAI,yBAAa,GAAiB;AAC1F,QAAI,QAAQ,OAAO,QAAW;AAC5B,2BAAQ,OAAO,QAAQ,IAAI,OAAO,OAAO,EAAE,EAAE,KAAK,CAAC,EAAE,KAAK;AAAA,IAC5D;AACA,WAAO;AAAA,EACT;AAAA,EAEA,OAAO,OAAkC,QAAoC;AAC3E,UAAM,SAAS,iBAAiB,2BAAe,QAAQ,IAAI,yBAAa,KAAK;AAC7E,UAAM,MAAM,WAAW,SAAY,OAAO,MAAM,OAAO,MAAM;AAC7D,UAAM,UAAU,4BAA4B;AAC5C,WAAO,OAAO,MAA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O,OAAO,UAAa,OAAO,OAAO,OAAQ,qBAAQ,YAAY,OAAO,EAAE,IAAI;AAChG,YAAQ,SAAS,OAAO,UAAU;AAClC,WAAO;AAAA,EACT;AACF;AAUA,SAAS,cAAc,OAAqB;AAC1C,SAAO,UAAU,QAAQ,UAAU;AACrC;",
6
- "names": []
4
+ "sourcesContent": ["import { isSet } from \"../../../../../encoding/typeEncodingHelpers.ts\"\nimport type { DeepPartial, MessageFns } from \"../../../../../encoding/typeEncodingHelpers.ts\"\n// Code generated by protoc-gen-ts_proto. DO NOT EDIT.\n// versions:\n// protoc-gen-ts_proto v2.7.7\n// protoc unknown\n// source: akash/market/v1/event.proto\n\n/* eslint-disable */\nimport { BinaryReader, BinaryWriter } from \"@bufbuild/protobuf/wire\";\nimport Long from \"long\";\nimport { DecCoin } from \"../../../cosmos/base/v1beta1/coin.ts\";\nimport { BidID } from \"./bid.ts\";\nimport { LeaseID } from \"./lease.ts\";\nimport { OrderID } from \"./order.ts\";\nimport { LeaseClosedReason, leaseClosedReasonFromJSON, leaseClosedReasonToJSON } from \"./types.ts\";\n\n/**\n * EventOrderCreated is triggered when an order is created.\n * It contains all the information required to identify an order.\n */\nexport interface EventOrderCreated {\n /** Id is the unique identifier of the Order. */\n id: OrderID | undefined;\n}\n\n/**\n * EventOrderClosed is triggered when an order is closed.\n * It contains all the information required to identify an order.\n */\nexport interface EventOrderClosed {\n /** Id is the unique identifier of the Order. */\n id: OrderID | undefined;\n}\n\n/**\n * EventBidCreated is triggered when a bid is created.\n * It contains all the information required to identify a bid.\n */\nexport interface EventBidCreated {\n /** Id is the unique identifier of the Bid. */\n id:\n | BidID\n | undefined;\n /** Price stated on the Bid. */\n price: DecCoin | undefined;\n}\n\n/**\n * EventBidClosed is triggered when a bid is closed.\n * It contains all the information required to identify a bid.\n */\nexport interface EventBidClosed {\n /** Id is the unique identifier of the Bid. */\n id: BidID | undefined;\n}\n\n/**\n * EventLeaseCreated is triggered when a lease is created.\n * It contains all the information required to identify a lease.\n */\nexport interface EventLeaseCreated {\n /** Id is the unique identifier of the Lease. */\n id:\n | LeaseID\n | undefined;\n /** Price settled for the lease. */\n price: DecCoin | undefined;\n}\n\n/**\n * EventLeaseClosed is triggered when a lease is closed.\n * It contains all the information required to identify a lease.\n */\nexport interface EventLeaseClosed {\n /** Id is the unique identifier of the Lease. */\n id: LeaseID | undefined;\n reason: LeaseClosedReason;\n}\n\n/** EventLeaseReclaimStarted is triggered when a provider initiates reclamation on a lease. */\nexport interface EventLeaseReclaimStarted {\n /** Id is the unique identifier of the Lease. */\n id:\n | LeaseID\n | undefined;\n /** reason is the provider's stated reason for reclamation. */\n reason: LeaseClosedReason;\n /** deadline is the unix timestamp when the reclamation window expires. */\n deadline: Long;\n}\n\nfunction createBaseEventOrderCreated(): EventOrderCreated {\n return { id: undefined };\n}\n\nexport const EventOrderCreated: MessageFns<EventOrderCreated, \"akash.market.v1.EventOrderCreated\"> = {\n $type: \"akash.market.v1.EventOrderCreated\" as const,\n\n encode(message: EventOrderCreated, writer: BinaryWriter = new BinaryWriter()): BinaryWriter {\n if (message.id !== undefined) {\n OrderID.encode(message.id, writer.uint32(10).fork()).join();\n }\n return writer;\n },\n\n decode(input: BinaryReader | Uint8Array, length?: number): EventOrderCreated {\n const reader = input instanceof BinaryReader ? input : new BinaryReader(input);\n const end = length === undefined ? reader.len : reader.pos + length;\n const message = createBaseEventOrderCreated();\n while (reader.pos < end) {\n const tag = reader.uint32();\n switch (tag >>> 3) {\n case 1: {\n if (tag !== 10) {\n break;\n }\n\n message.id = OrderID.decode(reader, reader.uint32());\n continue;\n }\n }\n if ((tag & 7) === 4 || tag === 0) {\n break;\n }\n reader.skip(tag & 7);\n }\n return message;\n },\n\n fromJSON(object: any): EventOrderCreated {\n return { id: isSet(object.id) ? OrderID.fromJSON(object.id) : undefined };\n },\n\n toJSON(message: EventOrderCreated): unknown {\n const obj: any = {};\n if (message.id !== undefined) {\n obj.id = OrderID.toJSON(message.id);\n }\n return obj;\n },\n fromPartial(object: DeepPartial<EventOrderCreated>): EventOrderCreated {\n const message = createBaseEventOrderCreated();\n message.id = (object.id !== undefined && object.id !== null) ? OrderID.fromPartial(object.id) : undefined;\n return message;\n },\n};\n\nfunction createBaseEventOrderClosed(): EventOrderClosed {\n return { id: undefined };\n}\n\nexport const EventOrderClosed: MessageFns<EventOrderClosed, \"akash.market.v1.EventOrderClosed\"> = {\n $type: \"akash.market.v1.EventOrderClosed\" as const,\n\n encode(message: EventOrderClosed, writer: BinaryWriter = new BinaryWriter()): BinaryWriter {\n if (message.id !== undefined) {\n OrderID.encode(message.id, writer.uint32(10).fork()).join();\n }\n return writer;\n },\n\n decode(input: BinaryReader | Uint8Array, length?: number): EventOrderClosed {\n const reader = input instanceof BinaryReader ? input : new BinaryReader(input);\n const end = length === undefined ? reader.len : reader.pos + length;\n const message = createBaseEventOrderClosed();\n while (reader.pos < end) {\n const tag = reader.uint32();\n switch (tag >>> 3) {\n case 1: {\n if (tag !== 10) {\n break;\n }\n\n message.id = OrderID.decode(reader, reader.uint32());\n continue;\n }\n }\n if ((tag & 7) === 4 || tag === 0) {\n break;\n }\n reader.skip(tag & 7);\n }\n return message;\n },\n\n fromJSON(object: any): EventOrderClosed {\n return { id: isSet(object.id) ? OrderID.fromJSON(object.id) : undefined };\n },\n\n toJSON(message: EventOrderClosed): unknown {\n const obj: any = {};\n if (message.id !== undefined) {\n obj.id = OrderID.toJSON(message.id);\n }\n return obj;\n },\n fromPartial(object: DeepPartial<EventOrderClosed>): EventOrderClosed {\n const message = createBaseEventOrderClosed();\n message.id = (object.id !== undefined && object.id !== null) ? OrderID.fromPartial(object.id) : undefined;\n return message;\n },\n};\n\nfunction createBaseEventBidCreated(): EventBidCreated {\n return { id: undefined, price: undefined };\n}\n\nexport const EventBidCreated: MessageFns<EventBidCreated, \"akash.market.v1.EventBidCreated\"> = {\n $type: \"akash.market.v1.EventBidCreated\" as const,\n\n encode(message: EventBidCreated, writer: BinaryWriter = new BinaryWriter()): BinaryWriter {\n if (message.id !== undefined) {\n BidID.encode(message.id, writer.uint32(10).fork()).join();\n }\n if (message.price !== undefined) {\n DecCoin.encode(message.price, writer.uint32(26).fork()).join();\n }\n return writer;\n },\n\n decode(input: BinaryReader | Uint8Array, length?: number): EventBidCreated {\n const reader = input instanceof BinaryReader ? input : new BinaryReader(input);\n const end = length === undefined ? reader.len : reader.pos + length;\n const message = createBaseEventBidCreated();\n while (reader.pos < end) {\n const tag = reader.uint32();\n switch (tag >>> 3) {\n case 1: {\n if (tag !== 10) {\n break;\n }\n\n message.id = BidID.decode(reader, reader.uint32());\n continue;\n }\n case 3: {\n if (tag !== 26) {\n break;\n }\n\n message.price = DecCoin.decode(reader, reader.uint32());\n continue;\n }\n }\n if ((tag & 7) === 4 || tag === 0) {\n break;\n }\n reader.skip(tag & 7);\n }\n return message;\n },\n\n fromJSON(object: any): EventBidCreated {\n return {\n id: isSet(object.id) ? BidID.fromJSON(object.id) : undefined,\n price: isSet(object.price) ? DecCoin.fromJSON(object.price) : undefined,\n };\n },\n\n toJSON(message: EventBidCreated): unknown {\n const obj: any = {};\n if (message.id !== undefined) {\n obj.id = BidID.toJSON(message.id);\n }\n if (message.price !== undefined) {\n obj.price = DecCoin.toJSON(message.price);\n }\n return obj;\n },\n fromPartial(object: DeepPartial<EventBidCreated>): EventBidCreated {\n const message = createBaseEventBidCreated();\n message.id = (object.id !== undefined && object.id !== null) ? BidID.fromPartial(object.id) : undefined;\n message.price = (object.price !== undefined && object.price !== null)\n ? DecCoin.fromPartial(object.price)\n : undefined;\n return message;\n },\n};\n\nfunction createBaseEventBidClosed(): EventBidClosed {\n return { id: undefined };\n}\n\nexport const EventBidClosed: MessageFns<EventBidClosed, \"akash.market.v1.EventBidClosed\"> = {\n $type: \"akash.market.v1.EventBidClosed\" as const,\n\n encode(message: EventBidClosed, writer: BinaryWriter = new BinaryWriter()): BinaryWriter {\n if (message.id !== undefined) {\n BidID.encode(message.id, writer.uint32(10).fork()).join();\n }\n return writer;\n },\n\n decode(input: BinaryReader | Uint8Array, length?: number): EventBidClosed {\n const reader = input instanceof BinaryReader ? input : new BinaryReader(input);\n const end = length === undefined ? reader.len : reader.pos + length;\n const message = createBaseEventBidClosed();\n while (reader.pos < end) {\n const tag = reader.uint32();\n switch (tag >>> 3) {\n case 1: {\n if (tag !== 10) {\n break;\n }\n\n message.id = BidID.decode(reader, reader.uint32());\n continue;\n }\n }\n if ((tag & 7) === 4 || tag === 0) {\n break;\n }\n reader.skip(tag & 7);\n }\n return message;\n },\n\n fromJSON(object: any): EventBidClosed {\n return { id: isSet(object.id) ? BidID.fromJSON(object.id) : undefined };\n },\n\n toJSON(message: EventBidClosed): unknown {\n const obj: any = {};\n if (message.id !== undefined) {\n obj.id = BidID.toJSON(message.id);\n }\n return obj;\n },\n fromPartial(object: DeepPartial<EventBidClosed>): EventBidClosed {\n const message = createBaseEventBidClosed();\n message.id = (object.id !== undefined && object.id !== null) ? BidID.fromPartial(object.id) : undefined;\n return message;\n },\n};\n\nfunction createBaseEventLeaseCreated(): EventLeaseCreated {\n return { id: undefined, price: undefined };\n}\n\nexport const EventLeaseCreated: MessageFns<EventLeaseCreated, \"akash.market.v1.EventLeaseCreated\"> = {\n $type: \"akash.market.v1.EventLeaseCreated\" as const,\n\n encode(message: EventLeaseCreated, writer: BinaryWriter = new BinaryWriter()): BinaryWriter {\n if (message.id !== undefined) {\n LeaseID.encode(message.id, writer.uint32(10).fork()).join();\n }\n if (message.price !== undefined) {\n DecCoin.encode(message.price, writer.uint32(26).fork()).join();\n }\n return writer;\n },\n\n decode(input: BinaryReader | Uint8Array, length?: number): EventLeaseCreated {\n const reader = input instanceof BinaryReader ? input : new BinaryReader(input);\n const end = length === undefined ? reader.len : reader.pos + length;\n const message = createBaseEventLeaseCreated();\n while (reader.pos < end) {\n const tag = reader.uint32();\n switch (tag >>> 3) {\n case 1: {\n if (tag !== 10) {\n break;\n }\n\n message.id = LeaseID.decode(reader, reader.uint32());\n continue;\n }\n case 3: {\n if (tag !== 26) {\n break;\n }\n\n message.price = DecCoin.decode(reader, reader.uint32());\n continue;\n }\n }\n if ((tag & 7) === 4 || tag === 0) {\n break;\n }\n reader.skip(tag & 7);\n }\n return message;\n },\n\n fromJSON(object: any): EventLeaseCreated {\n return {\n id: isSet(object.id) ? LeaseID.fromJSON(object.id) : undefined,\n price: isSet(object.price) ? DecCoin.fromJSON(object.price) : undefined,\n };\n },\n\n toJSON(message: EventLeaseCreated): unknown {\n const obj: any = {};\n if (message.id !== undefined) {\n obj.id = LeaseID.toJSON(message.id);\n }\n if (message.price !== undefined) {\n obj.price = DecCoin.toJSON(message.price);\n }\n return obj;\n },\n fromPartial(object: DeepPartial<EventLeaseCreated>): EventLeaseCreated {\n const message = createBaseEventLeaseCreated();\n message.id = (object.id !== undefined && object.id !== null) ? LeaseID.fromPartial(object.id) : undefined;\n message.price = (object.price !== undefined && object.price !== null)\n ? DecCoin.fromPartial(object.price)\n : undefined;\n return message;\n },\n};\n\nfunction createBaseEventLeaseClosed(): EventLeaseClosed {\n return { id: undefined, reason: 0 };\n}\n\nexport const EventLeaseClosed: MessageFns<EventLeaseClosed, \"akash.market.v1.EventLeaseClosed\"> = {\n $type: \"akash.market.v1.EventLeaseClosed\" as const,\n\n encode(message: EventLeaseClosed, writer: BinaryWriter = new BinaryWriter()): BinaryWriter {\n if (message.id !== undefined) {\n LeaseID.encode(message.id, writer.uint32(10).fork()).join();\n }\n if (message.reason !== 0) {\n writer.uint32(16).int32(message.reason);\n }\n return writer;\n },\n\n decode(input: BinaryReader | Uint8Array, length?: number): EventLeaseClosed {\n const reader = input instanceof BinaryReader ? input : new BinaryReader(input);\n const end = length === undefined ? reader.len : reader.pos + length;\n const message = createBaseEventLeaseClosed();\n while (reader.pos < end) {\n const tag = reader.uint32();\n switch (tag >>> 3) {\n case 1: {\n if (tag !== 10) {\n break;\n }\n\n message.id = LeaseID.decode(reader, reader.uint32());\n continue;\n }\n case 2: {\n if (tag !== 16) {\n break;\n }\n\n message.reason = reader.int32() as any;\n continue;\n }\n }\n if ((tag & 7) === 4 || tag === 0) {\n break;\n }\n reader.skip(tag & 7);\n }\n return message;\n },\n\n fromJSON(object: any): EventLeaseClosed {\n return {\n id: isSet(object.id) ? LeaseID.fromJSON(object.id) : undefined,\n reason: isSet(object.reason) ? leaseClosedReasonFromJSON(object.reason) : 0,\n };\n },\n\n toJSON(message: EventLeaseClosed): unknown {\n const obj: any = {};\n if (message.id !== undefined) {\n obj.id = LeaseID.toJSON(message.id);\n }\n if (message.reason !== 0) {\n obj.reason = leaseClosedReasonToJSON(message.reason);\n }\n return obj;\n },\n fromPartial(object: DeepPartial<EventLeaseClosed>): EventLeaseClosed {\n const message = createBaseEventLeaseClosed();\n message.id = (object.id !== undefined && object.id !== null) ? LeaseID.fromPartial(object.id) : undefined;\n message.reason = object.reason ?? 0;\n return message;\n },\n};\n\nfunction createBaseEventLeaseReclaimStarted(): EventLeaseReclaimStarted {\n return { id: undefined, reason: 0, deadline: Long.ZERO };\n}\n\nexport const EventLeaseReclaimStarted: MessageFns<\n EventLeaseReclaimStarted,\n \"akash.market.v1.EventLeaseReclaimStarted\"\n> = {\n $type: \"akash.market.v1.EventLeaseReclaimStarted\" as const,\n\n encode(message: EventLeaseReclaimStarted, writer: BinaryWriter = new BinaryWriter()): BinaryWriter {\n if (message.id !== undefined) {\n LeaseID.encode(message.id, writer.uint32(10).fork()).join();\n }\n if (message.reason !== 0) {\n writer.uint32(16).int32(message.reason);\n }\n if (!message.deadline.equals(Long.ZERO)) {\n writer.uint32(24).int64(message.deadline.toString());\n }\n return writer;\n },\n\n decode(input: BinaryReader | Uint8Array, length?: number): EventLeaseReclaimStarted {\n const reader = input instanceof BinaryReader ? input : new BinaryReader(input);\n const end = length === undefined ? reader.len : reader.pos + length;\n const message = createBaseEventLeaseReclaimStarted();\n while (reader.pos < end) {\n const tag = reader.uint32();\n switch (tag >>> 3) {\n case 1: {\n if (tag !== 10) {\n break;\n }\n\n message.id = LeaseID.decode(reader, reader.uint32());\n continue;\n }\n case 2: {\n if (tag !== 16) {\n break;\n }\n\n message.reason = reader.int32() as any;\n continue;\n }\n case 3: {\n if (tag !== 24) {\n break;\n }\n\n message.deadline = Long.fromString(reader.int64().toString());\n continue;\n }\n }\n if ((tag & 7) === 4 || tag === 0) {\n break;\n }\n reader.skip(tag & 7);\n }\n return message;\n },\n\n fromJSON(object: any): EventLeaseReclaimStarted {\n return {\n id: isSet(object.id) ? LeaseID.fromJSON(object.id) : undefined,\n reason: isSet(object.reason) ? leaseClosedReasonFromJSON(object.reason) : 0,\n deadline: isSet(object.deadline) ? Long.fromValue(object.deadline) : Long.ZERO,\n };\n },\n\n toJSON(message: EventLeaseReclaimStarted): unknown {\n const obj: any = {};\n if (message.id !== undefined) {\n obj.id = LeaseID.toJSON(message.id);\n }\n if (message.reason !== 0) {\n obj.reason = leaseClosedReasonToJSON(message.reason);\n }\n if (!message.deadline.equals(Long.ZERO)) {\n obj.deadline = (message.deadline || Long.ZERO).toString();\n }\n return obj;\n },\n fromPartial(object: DeepPartial<EventLeaseReclaimStarted>): EventLeaseReclaimStarted {\n const message = createBaseEventLeaseReclaimStarted();\n message.id = (object.id !== undefined && object.id !== null) ? LeaseID.fromPartial(object.id) : undefined;\n message.reason = object.reason ?? 0;\n message.deadline = (object.deadline !== undefined && object.deadline !== null)\n ? Long.fromValue(object.deadline)\n : Long.ZERO;\n return message;\n },\n};\n\ntype Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;\n\ntype _unused_DeepPartial<T> = T extends Builtin ? T\n : T extends Long ? string | number | Long : T extends globalThis.Array<infer U> ? globalThis.Array<DeepPartial<U>>\n : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>>\n : T extends {} ? { [K in keyof T]?: DeepPartial<T[K]> }\n : Partial<T>;\n\nfunction _unused_isSet(value: any): boolean {\n return value !== null && value !== undefined;\n}\n\ninterface _unused_MessageFns<T, V extends string> {\n readonly $type: V;\n encode(message: T, writer?: BinaryWriter): BinaryWriter;\n decode(input: BinaryReader | Uint8Array, length?: number): T;\n fromJSON(object: any): T;\n toJSON(message: T): unknown;\n create(base?: DeepPartial<T>): T;\n fromPartial(object: DeepPartial<T>): T;\n}\n"],
5
+ "mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,iCAAsB;AAStB,kBAA2C;AAC3C,kBAAiB;AACjB,kBAAwB;AACxB,iBAAsB;AACtB,mBAAwB;AACxB,mBAAwB;AACxB,mBAAsF;AA6EtF,SAAS,8BAAiD;AACxD,SAAO,EAAE,IAAI,OAAU;AACzB;AAEO,MAAM,oBAAwF;AAAA,EACnG,OAAO;AAAA,EAEP,OAAO,SAA4B,SAAuB,IAAI,yBAAa,GAAiB;AAC1F,QAAI,QAAQ,OAAO,QAAW;AAC5B,2BAAQ,OAAO,QAAQ,IAAI,OAAO,OAAO,EAAE,EAAE,KAAK,CAAC,EAAE,KAAK;AAAA,IAC5D;AACA,WAAO;AAAA,EACT;AAAA,EAEA,OAAO,OAAkC,QAAoC;AAC3E,UAAM,SAAS,iBAAiB,2BAAe,QAAQ,IAAI,yBAAa,KAAK;AAC7E,UAAM,MAAM,WAAW,SAAY,OAAO,MAAM,OAAO,MAAM;AAC7D,UAAM,UAAU,4BAA4B;AAC5C,WAAO,OAAO,MAAM,KAAK;AACvB,YAAM,MAAM,OAAO,OAAO;AAC1B,cAAQ,QAAQ,GAAG;AAAA,QACjB,KAAK,GAAG;AACN,cAAI,QAAQ,IAAI;AACd;AAAA,UACF;AAEA,kBAAQ,KAAK,qBAAQ,OAAO,QAAQ,OAAO,OAAO,CAAC;AACnD;AAAA,QACF;AAAA,MACF;AACA,WAAK,MAAM,OAAO,KAAK,QAAQ,GAAG;AAChC;AAAA,MACF;AACA,aAAO,KAAK,MAAM,CAAC;AAAA,IACrB;AACA,WAAO;AAAA,EACT;AAAA,EAEA,SAAS,QAAgC;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;AAAA,MACrD,YAAQ,kCAAM,OAAO,MAAM,QAAI,wCAA0B,OAAO,MAAM,IAAI;AAAA,MAC1E,cAAU,kCAAM,OAAO,QAAQ,IAAI,YAAAA,QAAK,UAAU,OAAO,QAAQ,IAAI,YAAAA,QAAK;AAAA,IAC5E;AAAA,EACF;AAAA,EAEA,OAAO,SAA4C;AACjD,UAAM,MAAW,CAAC;AAClB,QAAI,QAAQ,OAAO,QAAW;AAC5B,UAAI,KAAK,qBAAQ,OAAO,QAAQ,EAAE;AAAA,IACpC;AACA,QAAI,QAAQ,WAAW,GAAG;AACxB,UAAI,aAAS,sCAAwB,QAAQ,MAAM;AAAA,IACrD;AACA,QAAI,CAAC,QAAQ,SAAS,OAAO,YAAAA,QAAK,IAAI,GAAG;AACvC,UAAI,YAAY,QAAQ,YAAY,YAAAA,QAAK,MAAM,SAAS;AAAA,IAC1D;AACA,WAAO;AAAA,EACT;AAAA,EACA,YAAY,QAAyE;AACnF,UAAM,UAAU,mCAAmC;AACnD,YAAQ,KAAM,OAAO,OAAO,UAAa,OAAO,OAAO,OAAQ,qBAAQ,YAAY,OAAO,EAAE,IAAI;AAChG,YAAQ,SAAS,OAAO,UAAU;AAClC,YAAQ,WAAY,OAAO,aAAa,UAAa,OAAO,aAAa,OACrE,YAAAA,QAAK,UAAU,OAAO,QAAQ,IAC9B,YAAAA,QAAK;AACT,WAAO;AAAA,EACT;AACF;AAUA,SAAS,cAAc,OAAqB;AAC1C,SAAO,UAAU,QAAQ,UAAU;AACrC;",
6
+ "names": ["Long"]
7
7
  }
@@ -39,12 +39,14 @@ var import_typeEncodingHelpers = require("../../../../../encoding/typeEncodingHe
39
39
  var import_wire = require("@bufbuild/protobuf/wire");
40
40
  var import_long = __toESM(require("long"), 1);
41
41
  var import_coin = require("../../../cosmos/base/v1beta1/coin.cjs");
42
+ var import_reclamation = require("./reclamation.cjs");
42
43
  var import_types = require("./types.cjs");
43
44
  var Lease_State = /* @__PURE__ */ ((Lease_State2) => {
44
45
  Lease_State2[Lease_State2["invalid"] = 0] = "invalid";
45
46
  Lease_State2[Lease_State2["active"] = 1] = "active";
46
47
  Lease_State2[Lease_State2["insufficient_funds"] = 2] = "insufficient_funds";
47
48
  Lease_State2[Lease_State2["closed"] = 3] = "closed";
49
+ Lease_State2[Lease_State2["reclaiming"] = 4] = "reclaiming";
48
50
  Lease_State2[Lease_State2["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
49
51
  return Lease_State2;
50
52
  })(Lease_State || {});
@@ -62,6 +64,9 @@ function lease_StateFromJSON(object) {
62
64
  case 3:
63
65
  case "closed":
64
66
  return 3 /* closed */;
67
+ case 4:
68
+ case "reclaiming":
69
+ return 4 /* reclaiming */;
65
70
  case -1:
66
71
  case "UNRECOGNIZED":
67
72
  default:
@@ -78,6 +83,8 @@ function lease_StateToJSON(object) {
78
83
  return "insufficient_funds";
79
84
  case 3 /* closed */:
80
85
  return "closed";
86
+ case 4 /* reclaiming */:
87
+ return "reclaiming";
81
88
  case -1 /* UNRECOGNIZED */:
82
89
  default:
83
90
  return "UNRECOGNIZED";
@@ -210,7 +217,15 @@ const LeaseID = {
210
217
  }
211
218
  };
212
219
  function createBaseLease() {
213
- return { id: void 0, state: 0, price: void 0, createdAt: import_long.default.ZERO, closedOn: import_long.default.ZERO, reason: 0 };
220
+ return {
221
+ id: void 0,
222
+ state: 0,
223
+ price: void 0,
224
+ createdAt: import_long.default.ZERO,
225
+ closedOn: import_long.default.ZERO,
226
+ reason: 0,
227
+ reclamation: void 0
228
+ };
214
229
  }
215
230
  const Lease = {
216
231
  $type: "akash.market.v1.Lease",
@@ -233,6 +248,9 @@ const Lease = {
233
248
  if (message.reason !== 0) {
234
249
  writer.uint32(48).int32(message.reason);
235
250
  }
251
+ if (message.reclamation !== void 0) {
252
+ import_reclamation.Reclamation.encode(message.reclamation, writer.uint32(58).fork()).join();
253
+ }
236
254
  return writer;
237
255
  },
238
256
  decode(input, length) {
@@ -284,6 +302,13 @@ const Lease = {
284
302
  message.reason = reader.int32();
285
303
  continue;
286
304
  }
305
+ case 7: {
306
+ if (tag !== 58) {
307
+ break;
308
+ }
309
+ message.reclamation = import_reclamation.Reclamation.decode(reader, reader.uint32());
310
+ continue;
311
+ }
287
312
  }
288
313
  if ((tag & 7) === 4 || tag === 0) {
289
314
  break;
@@ -299,7 +324,8 @@ const Lease = {
299
324
  price: (0, import_typeEncodingHelpers.isSet)(object.price) ? import_coin.DecCoin.fromJSON(object.price) : void 0,
300
325
  createdAt: (0, import_typeEncodingHelpers.isSet)(object.created_at) ? import_long.default.fromValue(object.created_at) : import_long.default.ZERO,
301
326
  closedOn: (0, import_typeEncodingHelpers.isSet)(object.closed_on) ? import_long.default.fromValue(object.closed_on) : import_long.default.ZERO,
302
- reason: (0, import_typeEncodingHelpers.isSet)(object.reason) ? (0, import_types.leaseClosedReasonFromJSON)(object.reason) : 0
327
+ reason: (0, import_typeEncodingHelpers.isSet)(object.reason) ? (0, import_types.leaseClosedReasonFromJSON)(object.reason) : 0,
328
+ reclamation: (0, import_typeEncodingHelpers.isSet)(object.reclamation) ? import_reclamation.Reclamation.fromJSON(object.reclamation) : void 0
303
329
  };
304
330
  },
305
331
  toJSON(message) {
@@ -322,6 +348,9 @@ const Lease = {
322
348
  if (message.reason !== 0) {
323
349
  obj.reason = (0, import_types.leaseClosedReasonToJSON)(message.reason);
324
350
  }
351
+ if (message.reclamation !== void 0) {
352
+ obj.reclamation = import_reclamation.Reclamation.toJSON(message.reclamation);
353
+ }
325
354
  return obj;
326
355
  },
327
356
  fromPartial(object) {
@@ -332,6 +361,7 @@ const Lease = {
332
361
  message.createdAt = object.createdAt !== void 0 && object.createdAt !== null ? import_long.default.fromValue(object.createdAt) : import_long.default.ZERO;
333
362
  message.closedOn = object.closedOn !== void 0 && object.closedOn !== null ? import_long.default.fromValue(object.closedOn) : import_long.default.ZERO;
334
363
  message.reason = object.reason ?? 0;
364
+ message.reclamation = object.reclamation !== void 0 && object.reclamation !== null ? import_reclamation.Reclamation.fromPartial(object.reclamation) : void 0;
335
365
  return message;
336
366
  }
337
367
  };