@akashnetwork/chain-sdk 1.0.0-alpha.24 → 1.0.0-alpha.26
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.
- package/README.md +25 -0
- package/dist/cjs/generated/createCosmosSDK.cjs +237 -237
- package/dist/cjs/generated/createCosmosSDK.cjs.map +2 -2
- package/dist/cjs/generated/createIbc-goSDK.cjs +91 -91
- package/dist/cjs/generated/createIbc-goSDK.cjs.map +2 -2
- package/dist/cjs/generated/createNodeSDK.cjs +76 -67
- package/dist/cjs/generated/createNodeSDK.cjs.map +2 -2
- package/dist/cjs/generated/createProviderSDK.cjs +18 -11
- package/dist/cjs/generated/createProviderSDK.cjs.map +2 -2
- package/dist/cjs/generated/patches/providerCustomTypePatches.cjs +34 -0
- package/dist/cjs/generated/patches/providerCustomTypePatches.cjs.map +7 -0
- package/dist/cjs/generated/patches/providerPatchMessage.cjs +38 -0
- package/dist/cjs/generated/patches/providerPatchMessage.cjs.map +7 -0
- package/dist/cjs/generated/protos/akash/bme/v1/events.cjs +134 -2
- package/dist/cjs/generated/protos/akash/bme/v1/events.cjs.map +2 -2
- package/dist/cjs/generated/protos/akash/bme/v1/filters.cjs +125 -0
- package/dist/cjs/generated/protos/akash/bme/v1/filters.cjs.map +7 -0
- package/dist/cjs/generated/protos/akash/bme/v1/msgs.cjs +18 -32
- package/dist/cjs/generated/protos/akash/bme/v1/msgs.cjs.map +2 -2
- package/dist/cjs/generated/protos/akash/bme/v1/params.cjs +26 -10
- package/dist/cjs/generated/protos/akash/bme/v1/params.cjs.map +2 -2
- package/dist/cjs/generated/protos/akash/bme/v1/query.cjs +233 -0
- package/dist/cjs/generated/protos/akash/bme/v1/query.cjs.map +2 -2
- package/dist/cjs/generated/protos/akash/bme/v1/query_akash.cjs +9 -0
- package/dist/cjs/generated/protos/akash/bme/v1/query_akash.cjs.map +2 -2
- package/dist/cjs/generated/protos/akash/bme/v1/service_akash.cjs +8 -0
- package/dist/cjs/generated/protos/akash/bme/v1/service_akash.cjs.map +2 -2
- package/dist/cjs/generated/protos/akash/escrow/types/v1/deposit.cjs +2 -17
- package/dist/cjs/generated/protos/akash/escrow/types/v1/deposit.cjs.map +2 -2
- package/dist/cjs/generated/protos/akash/escrow/v1/authz.cjs +17 -2
- package/dist/cjs/generated/protos/akash/escrow/v1/authz.cjs.map +2 -2
- package/dist/cjs/generated/protos/akash/manifest/v2beta3/service.cjs +67 -2
- package/dist/cjs/generated/protos/akash/manifest/v2beta3/service.cjs.map +2 -2
- package/dist/cjs/generated/protos/akash/market/v1beta5/params.cjs +17 -2
- package/dist/cjs/generated/protos/akash/market/v1beta5/params.cjs.map +2 -2
- package/dist/cjs/generated/protos/akash/market/v1beta5/resourcesoffer.cjs +266 -3
- package/dist/cjs/generated/protos/akash/market/v1beta5/resourcesoffer.cjs.map +2 -2
- package/dist/cjs/generated/protos/akash/oracle/v1/params.cjs +1 -51
- package/dist/cjs/generated/protos/akash/oracle/v1/params.cjs.map +2 -2
- package/dist/cjs/generated/protos/akash/oracle/v1/query.cjs +1 -133
- package/dist/cjs/generated/protos/akash/oracle/v1/query.cjs.map +2 -2
- package/dist/cjs/generated/protos/akash/oracle/v1/query_akash.cjs +0 -9
- package/dist/cjs/generated/protos/akash/oracle/v1/query_akash.cjs.map +2 -2
- package/dist/cjs/generated/protos/akash/provider/v1/service_akash.cjs +9 -0
- package/dist/cjs/generated/protos/akash/provider/v1/service_akash.cjs.map +2 -2
- package/dist/cjs/generated/protos/akash/provider/v1/validation.cjs +195 -0
- package/dist/cjs/generated/protos/akash/provider/v1/validation.cjs.map +7 -0
- package/dist/cjs/generated/protos/google/protobuf/descriptor.cjs +6 -0
- package/dist/cjs/generated/protos/google/protobuf/descriptor.cjs.map +2 -2
- package/dist/cjs/generated/protos/index.akash.v1.cjs +11 -9
- package/dist/cjs/generated/protos/index.akash.v1.cjs.map +3 -3
- package/dist/cjs/generated/protos/index.akash.v1beta5.cjs +4 -1
- package/dist/cjs/generated/protos/index.akash.v1beta5.cjs.map +2 -2
- package/dist/cjs/generated/protos/index.provider.akash.v1.cjs +3 -0
- package/dist/cjs/generated/protos/index.provider.akash.v1.cjs.map +2 -2
- package/dist/cjs/generated/protos/index.provider.akash.v2beta3.cjs +1 -0
- package/dist/cjs/generated/protos/index.provider.akash.v2beta3.cjs.map +2 -2
- package/dist/cjs/sdk/chain/createChainNodeSDK.cjs +2 -1
- package/dist/cjs/sdk/chain/createChainNodeSDK.cjs.map +2 -2
- package/dist/cjs/sdk/chain/createChainNodeWebSDK.cjs +2 -1
- package/dist/cjs/sdk/chain/createChainNodeWebSDK.cjs.map +2 -2
- package/dist/cjs/sdk/chain/helpers.cjs +56 -0
- package/dist/cjs/sdk/chain/helpers.cjs.map +7 -0
- package/dist/cjs/sdk/client/sdkMetadata.cjs.map +2 -2
- package/dist/cjs/sdk/index.cjs.map +2 -2
- package/dist/cjs/sdk/index.shared.cjs +4 -1
- package/dist/cjs/sdk/index.shared.cjs.map +2 -2
- package/dist/cjs/sdk/index.web.cjs.map +2 -2
- package/dist/cjs/sdk/transport/tx/createTxTransport.cjs +1 -1
- package/dist/cjs/sdk/transport/tx/createTxTransport.cjs.map +2 -2
- package/dist/cjs/sdl/manifest/generateManifest.cjs +8 -6
- package/dist/cjs/sdl/manifest/generateManifest.cjs.map +2 -2
- package/dist/cjs/sdl/manifest/generateManifestVersion.cjs.map +2 -2
- package/dist/cjs/sdl/manifest/manifestUtils.cjs +16 -9
- package/dist/cjs/sdl/manifest/manifestUtils.cjs.map +2 -2
- package/dist/cjs/utils/yaml.cjs +10 -3
- package/dist/cjs/utils/yaml.cjs.map +2 -2
- package/dist/esm/{chunk-BYQF33C6.js → chunk-5YIS3XNX.js} +2 -2
- package/dist/esm/{chunk-CT7AHZAH.js → chunk-BNXSING3.js} +3 -18
- package/dist/esm/chunk-BNXSING3.js.map +7 -0
- package/dist/esm/{chunk-ZYQHH55Q.js → chunk-CWUY6LIH.js} +3 -3
- package/dist/esm/{chunk-4D3QNKFB.js → chunk-DZA4DZ5G.js} +8 -6
- package/dist/esm/{chunk-4D3QNKFB.js.map → chunk-DZA4DZ5G.js.map} +1 -1
- package/dist/esm/{chunk-5DCYIWCG.js → chunk-E76SLJJ3.js} +3 -1
- package/dist/esm/{chunk-JISXXX24.js → chunk-FXRP7A3E.js} +3 -3
- package/dist/esm/{chunk-XFCN5LRY.js → chunk-H5WUFEMM.js} +2 -2
- package/dist/esm/{chunk-YSMDEW4E.js → chunk-JZTFWLSX.js} +178 -2
- package/dist/esm/{chunk-YSMDEW4E.js.map → chunk-JZTFWLSX.js.map} +4 -4
- package/dist/esm/{chunk-C7UQYVYH.js → chunk-KFWTFROT.js} +21 -79
- package/dist/esm/chunk-KFWTFROT.js.map +7 -0
- package/dist/esm/{chunk-IZQCYKLD.js → chunk-LGAXM6RX.js} +27 -11
- package/dist/esm/chunk-LGAXM6RX.js.map +7 -0
- package/dist/esm/{chunk-VRE72ZD5.js → chunk-M2ZK7HEC.js} +69 -4
- package/dist/esm/chunk-M2ZK7HEC.js.map +7 -0
- package/dist/esm/{chunk-6FPGPRCO.js → chunk-OAFZZVHG.js} +2 -2
- package/dist/esm/chunk-OL4JUIQC.js +702 -0
- package/dist/esm/chunk-OL4JUIQC.js.map +7 -0
- package/dist/esm/{chunk-5YECXI3P.js → chunk-RUC3LXDX.js} +2 -2
- package/dist/esm/{chunk-IJSLZIPC.js → chunk-TEBPN52A.js} +20 -34
- package/dist/esm/chunk-TEBPN52A.js.map +7 -0
- package/dist/esm/{chunk-SA4SEZ6F.js → chunk-TXQ2BR6G.js} +5 -3
- package/dist/esm/{chunk-SA4SEZ6F.js.map → chunk-TXQ2BR6G.js.map} +1 -1
- package/dist/esm/{chunk-GUNMCW7A.js → chunk-V2U5JQHJ.js} +2 -2
- package/dist/esm/{chunk-Z5KZUB7X.js → chunk-VG4MSYO3.js} +2 -2
- package/dist/esm/{chunk-RIIYZIXM.js → chunk-W2NIWBGD.js} +407 -345
- package/dist/esm/{chunk-RIIYZIXM.js.map → chunk-W2NIWBGD.js.map} +4 -4
- package/dist/esm/{chunk-MQPC6TDF.js → chunk-XCOULB5P.js} +1 -51
- package/dist/esm/{chunk-MQPC6TDF.js.map → chunk-XCOULB5P.js.map} +3 -3
- package/dist/esm/chunk-Y7JCYDLU.js +346 -0
- package/dist/esm/chunk-Y7JCYDLU.js.map +7 -0
- package/dist/esm/{chunk-TCVGOF7L.js → chunk-Z3KCQDCI.js} +2 -134
- package/dist/esm/chunk-Z3KCQDCI.js.map +7 -0
- package/dist/esm/{chunk-RON4KFMD.js → chunk-ZQDAXUFL.js} +6 -1
- package/dist/esm/chunk-ZQDAXUFL.js.map +7 -0
- package/dist/esm/generated/protos/index.akash.v1.js +173 -24
- package/dist/esm/generated/protos/index.akash.v1.js.map +2 -2
- package/dist/esm/generated/protos/index.akash.v1beta4.js +6 -6
- package/dist/esm/generated/protos/index.akash.v1beta5.js +18 -10
- package/dist/esm/generated/protos/index.akash.v1beta5.js.map +1 -1
- package/dist/esm/generated/protos/index.cosmos.v1.js +1 -1
- package/dist/esm/generated/protos/index.provider.akash.v1.js +10 -4
- package/dist/esm/generated/protos/index.provider.akash.v2beta3.js +4 -2
- package/dist/esm/index.js +34 -22
- package/dist/esm/index.js.map +2 -2
- package/dist/esm/index.web.js +14 -9
- package/dist/esm/index.web.js.map +2 -2
- package/dist/esm/{query_akash-4CTLBKZR.js → query_akash-2XAWK4QC.js} +5 -5
- package/dist/esm/{query_akash-DJ7LTLRE.js → query_akash-347IWP76.js} +8 -7
- package/dist/esm/{query_akash-DJ7LTLRE.js.map → query_akash-347IWP76.js.map} +1 -1
- package/dist/esm/{query_akash-N2BNNOTD.js → query_akash-EHAEDYOH.js} +15 -3
- package/dist/esm/query_akash-EHAEDYOH.js.map +7 -0
- package/dist/esm/{query_akash-4OVOGRBT.js → query_akash-GKNMAC72.js} +4 -4
- package/dist/esm/{query_akash-RGYTHUNZ.js → query_akash-LK7RYFHN.js} +4 -15
- package/dist/esm/query_akash-LK7RYFHN.js.map +7 -0
- package/dist/esm/{reflection_akash-WUBSNT7I.js → reflection_akash-YHEVUIB6.js} +2 -2
- package/dist/esm/{service_akash-AZFAYT7H.js → service_akash-5JSE44LJ.js} +4 -4
- package/dist/esm/{service_akash-VMU3LNBA.js → service_akash-FI6WXDZP.js} +4 -4
- package/dist/esm/{service_akash-WRGOVR7I.js → service_akash-QEN5EQUY.js} +5 -4
- package/dist/esm/{service_akash-WRGOVR7I.js.map → service_akash-QEN5EQUY.js.map} +1 -1
- package/dist/esm/{service_akash-KPU6LPVP.js → service_akash-TSQPNG54.js} +13 -3
- package/dist/esm/service_akash-TSQPNG54.js.map +7 -0
- package/dist/esm/{service_akash-CQVYVSHE.js → service_akash-UDPD4GFX.js} +18 -2
- package/dist/esm/service_akash-UDPD4GFX.js.map +7 -0
- package/dist/esm/{service_akash-RQDCQLQH.js → service_akash-WLSC2YDO.js} +3 -3
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/dist/types/generated/createNodeSDK.d.ts +23 -11
- package/dist/types/generated/createProviderSDK.d.ts +11 -0
- package/dist/types/generated/patches/providerCustomTypePatches.d.ts +7 -0
- package/dist/types/generated/patches/providerPatchMessage.d.ts +2 -0
- package/dist/types/generated/protos/akash/bme/v1/events.d.ts +15 -1
- package/dist/types/generated/protos/akash/bme/v1/filters.d.ts +17 -0
- package/dist/types/generated/protos/akash/bme/v1/msgs.d.ts +6 -8
- package/dist/types/generated/protos/akash/bme/v1/params.d.ts +6 -1
- package/dist/types/generated/protos/akash/bme/v1/query.d.ts +31 -1
- package/dist/types/generated/protos/akash/bme/v1/query_akash.d.ts +8 -1
- package/dist/types/generated/protos/akash/bme/v1/service_akash.d.ts +7 -1
- package/dist/types/generated/protos/akash/escrow/types/v1/deposit.d.ts +0 -2
- package/dist/types/generated/protos/akash/escrow/v1/authz.d.ts +7 -0
- package/dist/types/generated/protos/akash/manifest/v2beta3/service.d.ts +10 -0
- package/dist/types/generated/protos/akash/market/v1beta5/params.d.ts +6 -1
- package/dist/types/generated/protos/akash/market/v1beta5/resourcesoffer.d.ts +91 -0
- package/dist/types/generated/protos/akash/oracle/v1/params.d.ts +0 -6
- package/dist/types/generated/protos/akash/oracle/v1/query.d.ts +0 -16
- package/dist/types/generated/protos/akash/oracle/v1/query_akash.d.ts +1 -8
- package/dist/types/generated/protos/akash/provider/v1/service_akash.d.ts +7 -0
- package/dist/types/generated/protos/akash/provider/v1/validation.d.ts +30 -0
- package/dist/types/generated/protos/google/protobuf/descriptor.d.ts +2 -0
- package/dist/types/generated/protos/index.akash.v1.d.ts +5 -4
- package/dist/types/generated/protos/index.akash.v1beta5.d.ts +1 -1
- package/dist/types/generated/protos/index.provider.akash.v1.d.ts +1 -0
- package/dist/types/generated/protos/index.provider.akash.v2beta3.d.ts +1 -1
- package/dist/types/sdk/chain/createChainNodeSDK.d.ts +4 -1
- package/dist/types/sdk/chain/createChainNodeWebSDK.d.ts +4 -1
- package/dist/types/sdk/chain/helpers.d.ts +14 -0
- package/dist/types/sdk/client/sdkMetadata.d.ts +5 -2
- package/dist/types/sdk/index.d.ts +2 -0
- package/dist/types/sdk/index.shared.d.ts +2 -0
- package/dist/types/sdk/index.web.d.ts +2 -0
- package/dist/types/sdl/manifest/generateManifest.d.ts +3 -3
- package/dist/types/sdl/manifest/generateManifestVersion.d.ts +2 -2
- package/dist/types/utils/yaml.d.ts +3 -0
- package/package.json +1 -1
- package/dist/esm/chunk-C7UQYVYH.js.map +0 -7
- package/dist/esm/chunk-CT7AHZAH.js.map +0 -7
- package/dist/esm/chunk-IJSLZIPC.js.map +0 -7
- package/dist/esm/chunk-IZQCYKLD.js.map +0 -7
- package/dist/esm/chunk-RON4KFMD.js.map +0 -7
- package/dist/esm/chunk-TCVGOF7L.js.map +0 -7
- package/dist/esm/chunk-VRE72ZD5.js.map +0 -7
- package/dist/esm/chunk-XPIWBE65.js +0 -362
- package/dist/esm/chunk-XPIWBE65.js.map +0 -7
- package/dist/esm/query_akash-N2BNNOTD.js.map +0 -7
- package/dist/esm/query_akash-RGYTHUNZ.js.map +0 -7
- package/dist/esm/service_akash-CQVYVSHE.js.map +0 -7
- package/dist/esm/service_akash-KPU6LPVP.js.map +0 -7
- /package/dist/esm/{chunk-BYQF33C6.js.map → chunk-5YIS3XNX.js.map} +0 -0
- /package/dist/esm/{chunk-ZYQHH55Q.js.map → chunk-CWUY6LIH.js.map} +0 -0
- /package/dist/esm/{chunk-5DCYIWCG.js.map → chunk-E76SLJJ3.js.map} +0 -0
- /package/dist/esm/{chunk-JISXXX24.js.map → chunk-FXRP7A3E.js.map} +0 -0
- /package/dist/esm/{chunk-XFCN5LRY.js.map → chunk-H5WUFEMM.js.map} +0 -0
- /package/dist/esm/{chunk-6FPGPRCO.js.map → chunk-OAFZZVHG.js.map} +0 -0
- /package/dist/esm/{chunk-5YECXI3P.js.map → chunk-RUC3LXDX.js.map} +0 -0
- /package/dist/esm/{chunk-GUNMCW7A.js.map → chunk-V2U5JQHJ.js.map} +0 -0
- /package/dist/esm/{chunk-Z5KZUB7X.js.map → chunk-VG4MSYO3.js.map} +0 -0
- /package/dist/esm/{query_akash-4CTLBKZR.js.map → query_akash-2XAWK4QC.js.map} +0 -0
- /package/dist/esm/{query_akash-4OVOGRBT.js.map → query_akash-GKNMAC72.js.map} +0 -0
- /package/dist/esm/{reflection_akash-WUBSNT7I.js.map → reflection_akash-YHEVUIB6.js.map} +0 -0
- /package/dist/esm/{service_akash-AZFAYT7H.js.map → service_akash-5JSE44LJ.js.map} +0 -0
- /package/dist/esm/{service_akash-VMU3LNBA.js.map → service_akash-FI6WXDZP.js.map} +0 -0
- /package/dist/esm/{service_akash-RQDCQLQH.js.map → service_akash-WLSC2YDO.js.map} +0 -0
|
@@ -72,42 +72,42 @@ function createSDK(queryTransport, txTransport) {
|
|
|
72
72
|
getAllProvidersAttributes: (0, import_sdkMetadata.withMetadata)(async function getAllProvidersAttributes(input, options) {
|
|
73
73
|
const service = await serviceLoader.loadAt(0);
|
|
74
74
|
return getClient(service).allProvidersAttributes(input, options);
|
|
75
|
-
}, { path: [0,
|
|
75
|
+
}, { path: [0, "allProvidersAttributes"], serviceLoader }),
|
|
76
76
|
/**
|
|
77
77
|
* getProviderAttributes queries all provider signed attributes.
|
|
78
78
|
*/
|
|
79
79
|
getProviderAttributes: (0, import_sdkMetadata.withMetadata)(async function getProviderAttributes(input, options) {
|
|
80
80
|
const service = await serviceLoader.loadAt(0);
|
|
81
81
|
return getClient(service).providerAttributes(input, options);
|
|
82
|
-
}, { path: [0,
|
|
82
|
+
}, { path: [0, "providerAttributes"], serviceLoader }),
|
|
83
83
|
/**
|
|
84
84
|
* getProviderAuditorAttributes queries provider signed attributes by specific auditor.
|
|
85
85
|
*/
|
|
86
86
|
getProviderAuditorAttributes: (0, import_sdkMetadata.withMetadata)(async function getProviderAuditorAttributes(input, options) {
|
|
87
87
|
const service = await serviceLoader.loadAt(0);
|
|
88
88
|
return getClient(service).providerAuditorAttributes(input, options);
|
|
89
|
-
}, { path: [0,
|
|
89
|
+
}, { path: [0, "providerAuditorAttributes"], serviceLoader }),
|
|
90
90
|
/**
|
|
91
91
|
* getAuditorAttributes queries all providers signed by this auditor.
|
|
92
92
|
*/
|
|
93
93
|
getAuditorAttributes: (0, import_sdkMetadata.withMetadata)(async function getAuditorAttributes(input, options) {
|
|
94
94
|
const service = await serviceLoader.loadAt(0);
|
|
95
95
|
return getClient(service).auditorAttributes(input, options);
|
|
96
|
-
}, { path: [0,
|
|
96
|
+
}, { path: [0, "auditorAttributes"], serviceLoader }),
|
|
97
97
|
/**
|
|
98
98
|
* signProviderAttributes defines a method that signs provider attributes.
|
|
99
99
|
*/
|
|
100
100
|
signProviderAttributes: (0, import_sdkMetadata.withMetadata)(async function signProviderAttributes(input, options) {
|
|
101
101
|
const service = await serviceLoader.loadAt(1);
|
|
102
102
|
return getMsgClient(service).signProviderAttributes(input, options);
|
|
103
|
-
}, { path: [1,
|
|
103
|
+
}, { path: [1, "signProviderAttributes"], serviceLoader }),
|
|
104
104
|
/**
|
|
105
105
|
* deleteProviderAttributes defines a method that deletes provider attributes.
|
|
106
106
|
*/
|
|
107
107
|
deleteProviderAttributes: (0, import_sdkMetadata.withMetadata)(async function deleteProviderAttributes(input, options) {
|
|
108
108
|
const service = await serviceLoader.loadAt(1);
|
|
109
109
|
return getMsgClient(service).deleteProviderAttributes(input, options);
|
|
110
|
-
}, { path: [1,
|
|
110
|
+
}, { path: [1, "deleteProviderAttributes"], serviceLoader })
|
|
111
111
|
}
|
|
112
112
|
},
|
|
113
113
|
bme: {
|
|
@@ -118,21 +118,28 @@ function createSDK(queryTransport, txTransport) {
|
|
|
118
118
|
getParams: (0, import_sdkMetadata.withMetadata)(async function getParams(input = {}, options) {
|
|
119
119
|
const service = await serviceLoader.loadAt(2);
|
|
120
120
|
return getClient(service).params(input, options);
|
|
121
|
-
}, { path: [2,
|
|
121
|
+
}, { path: [2, "params"], serviceLoader }),
|
|
122
122
|
/**
|
|
123
123
|
* getVaultState returns the current vault state
|
|
124
124
|
*/
|
|
125
125
|
getVaultState: (0, import_sdkMetadata.withMetadata)(async function getVaultState(input = {}, options) {
|
|
126
126
|
const service = await serviceLoader.loadAt(2);
|
|
127
127
|
return getClient(service).vaultState(input, options);
|
|
128
|
-
}, { path: [2,
|
|
128
|
+
}, { path: [2, "vaultState"], serviceLoader }),
|
|
129
129
|
/**
|
|
130
130
|
* getStatus returns the current circuit breaker status
|
|
131
131
|
*/
|
|
132
132
|
getStatus: (0, import_sdkMetadata.withMetadata)(async function getStatus(input = {}, options) {
|
|
133
133
|
const service = await serviceLoader.loadAt(2);
|
|
134
134
|
return getClient(service).status(input, options);
|
|
135
|
-
}, { path: [2,
|
|
135
|
+
}, { path: [2, "status"], serviceLoader }),
|
|
136
|
+
/**
|
|
137
|
+
* getLedgerRecords queries ledger records with optional filters for status, source, denom, to_denom
|
|
138
|
+
*/
|
|
139
|
+
getLedgerRecords: (0, import_sdkMetadata.withMetadata)(async function getLedgerRecords(input, options) {
|
|
140
|
+
const service = await serviceLoader.loadAt(2);
|
|
141
|
+
return getClient(service).ledgerRecords(input, options);
|
|
142
|
+
}, { path: [2, "ledgerRecords"], serviceLoader }),
|
|
136
143
|
/**
|
|
137
144
|
* updateParams updates the module parameters.
|
|
138
145
|
* This operation can only be performed through governance proposals.
|
|
@@ -140,7 +147,7 @@ function createSDK(queryTransport, txTransport) {
|
|
|
140
147
|
updateParams: (0, import_sdkMetadata.withMetadata)(async function updateParams(input, options) {
|
|
141
148
|
const service = await serviceLoader.loadAt(3);
|
|
142
149
|
return getMsgClient(service).updateParams(input, options);
|
|
143
|
-
}, { path: [3,
|
|
150
|
+
}, { path: [3, "updateParams"], serviceLoader }),
|
|
144
151
|
/**
|
|
145
152
|
* burnMint allows users to burn one token and mint another at current oracle prices.
|
|
146
153
|
* Typically used to burn unused ACT tokens back to AKT.
|
|
@@ -149,7 +156,7 @@ function createSDK(queryTransport, txTransport) {
|
|
|
149
156
|
burnMint: (0, import_sdkMetadata.withMetadata)(async function burnMint(input, options) {
|
|
150
157
|
const service = await serviceLoader.loadAt(3);
|
|
151
158
|
return getMsgClient(service).burnMint(input, options);
|
|
152
|
-
}, { path: [3,
|
|
159
|
+
}, { path: [3, "burnMint"], serviceLoader }),
|
|
153
160
|
/**
|
|
154
161
|
* mintACT mints ACT tokens by burning the specified source token.
|
|
155
162
|
* The mint amount is calculated based on current oracle prices and
|
|
@@ -158,7 +165,7 @@ function createSDK(queryTransport, txTransport) {
|
|
|
158
165
|
mintACT: (0, import_sdkMetadata.withMetadata)(async function mintACT(input, options) {
|
|
159
166
|
const service = await serviceLoader.loadAt(3);
|
|
160
167
|
return getMsgClient(service).mintACT(input, options);
|
|
161
|
-
}, { path: [3,
|
|
168
|
+
}, { path: [3, "mintACT"], serviceLoader }),
|
|
162
169
|
/**
|
|
163
170
|
* burnACT burns ACT tokens and mints the specified destination token.
|
|
164
171
|
* The burn operation uses remint credits when available, otherwise
|
|
@@ -167,7 +174,16 @@ function createSDK(queryTransport, txTransport) {
|
|
|
167
174
|
burnACT: (0, import_sdkMetadata.withMetadata)(async function burnACT(input, options) {
|
|
168
175
|
const service = await serviceLoader.loadAt(3);
|
|
169
176
|
return getMsgClient(service).burnACT(input, options);
|
|
170
|
-
}, { path: [3,
|
|
177
|
+
}, { path: [3, "burnACT"], serviceLoader }),
|
|
178
|
+
/**
|
|
179
|
+
* fundVault seeds the BME vault with AKT from a designated source (e.g., community pool).
|
|
180
|
+
* This provides the initial volatility buffer required for burn/mint operations.
|
|
181
|
+
* Can only be executed through governance proposals.
|
|
182
|
+
*/
|
|
183
|
+
fundVault: (0, import_sdkMetadata.withMetadata)(async function fundVault(input, options) {
|
|
184
|
+
const service = await serviceLoader.loadAt(3);
|
|
185
|
+
return getMsgClient(service).fundVault(input, options);
|
|
186
|
+
}, { path: [3, "fundVault"], serviceLoader })
|
|
171
187
|
}
|
|
172
188
|
},
|
|
173
189
|
cert: {
|
|
@@ -178,21 +194,21 @@ function createSDK(queryTransport, txTransport) {
|
|
|
178
194
|
getCertificates: (0, import_sdkMetadata.withMetadata)(async function getCertificates(input, options) {
|
|
179
195
|
const service = await serviceLoader.loadAt(4);
|
|
180
196
|
return getClient(service).certificates(input, options);
|
|
181
|
-
}, { path: [4,
|
|
197
|
+
}, { path: [4, "certificates"], serviceLoader }),
|
|
182
198
|
/**
|
|
183
199
|
* createCertificate defines a method to create new certificate given proper inputs.
|
|
184
200
|
*/
|
|
185
201
|
createCertificate: (0, import_sdkMetadata.withMetadata)(async function createCertificate(input, options) {
|
|
186
202
|
const service = await serviceLoader.loadAt(5);
|
|
187
203
|
return getMsgClient(service).createCertificate(input, options);
|
|
188
|
-
}, { path: [5,
|
|
204
|
+
}, { path: [5, "createCertificate"], serviceLoader }),
|
|
189
205
|
/**
|
|
190
206
|
* revokeCertificate defines a method to revoke the certificate.
|
|
191
207
|
*/
|
|
192
208
|
revokeCertificate: (0, import_sdkMetadata.withMetadata)(async function revokeCertificate(input, options) {
|
|
193
209
|
const service = await serviceLoader.loadAt(5);
|
|
194
210
|
return getMsgClient(service).revokeCertificate(input, options);
|
|
195
|
-
}, { path: [5,
|
|
211
|
+
}, { path: [5, "revokeCertificate"], serviceLoader })
|
|
196
212
|
}
|
|
197
213
|
},
|
|
198
214
|
deployment: {
|
|
@@ -203,70 +219,70 @@ function createSDK(queryTransport, txTransport) {
|
|
|
203
219
|
getDeployments: (0, import_sdkMetadata.withMetadata)(async function getDeployments(input, options) {
|
|
204
220
|
const service = await serviceLoader.loadAt(6);
|
|
205
221
|
return getClient(service).deployments(input, options);
|
|
206
|
-
}, { path: [6,
|
|
222
|
+
}, { path: [6, "deployments"], serviceLoader }),
|
|
207
223
|
/**
|
|
208
224
|
* getDeployment queries deployment details.
|
|
209
225
|
*/
|
|
210
226
|
getDeployment: (0, import_sdkMetadata.withMetadata)(async function getDeployment(input, options) {
|
|
211
227
|
const service = await serviceLoader.loadAt(6);
|
|
212
228
|
return getClient(service).deployment(input, options);
|
|
213
|
-
}, { path: [6,
|
|
229
|
+
}, { path: [6, "deployment"], serviceLoader }),
|
|
214
230
|
/**
|
|
215
231
|
* getGroup queries group details.
|
|
216
232
|
*/
|
|
217
233
|
getGroup: (0, import_sdkMetadata.withMetadata)(async function getGroup(input, options) {
|
|
218
234
|
const service = await serviceLoader.loadAt(6);
|
|
219
235
|
return getClient(service).group(input, options);
|
|
220
|
-
}, { path: [6,
|
|
236
|
+
}, { path: [6, "group"], serviceLoader }),
|
|
221
237
|
/**
|
|
222
238
|
* getParams returns the total set of minting parameters.
|
|
223
239
|
*/
|
|
224
240
|
getParams: (0, import_sdkMetadata.withMetadata)(async function getParams(input = {}, options) {
|
|
225
241
|
const service = await serviceLoader.loadAt(6);
|
|
226
242
|
return getClient(service).params(input, options);
|
|
227
|
-
}, { path: [6,
|
|
243
|
+
}, { path: [6, "params"], serviceLoader }),
|
|
228
244
|
/**
|
|
229
245
|
* createDeployment defines a method to create new deployment given proper inputs.
|
|
230
246
|
*/
|
|
231
247
|
createDeployment: (0, import_sdkMetadata.withMetadata)(async function createDeployment(input, options) {
|
|
232
248
|
const service = await serviceLoader.loadAt(7);
|
|
233
249
|
return getMsgClient(service).createDeployment(input, options);
|
|
234
|
-
}, { path: [7,
|
|
250
|
+
}, { path: [7, "createDeployment"], serviceLoader }),
|
|
235
251
|
/**
|
|
236
252
|
* updateDeployment defines a method to update a deployment given proper inputs.
|
|
237
253
|
*/
|
|
238
254
|
updateDeployment: (0, import_sdkMetadata.withMetadata)(async function updateDeployment(input, options) {
|
|
239
255
|
const service = await serviceLoader.loadAt(7);
|
|
240
256
|
return getMsgClient(service).updateDeployment(input, options);
|
|
241
|
-
}, { path: [7,
|
|
257
|
+
}, { path: [7, "updateDeployment"], serviceLoader }),
|
|
242
258
|
/**
|
|
243
259
|
* closeDeployment defines a method to close a deployment given proper inputs.
|
|
244
260
|
*/
|
|
245
261
|
closeDeployment: (0, import_sdkMetadata.withMetadata)(async function closeDeployment(input, options) {
|
|
246
262
|
const service = await serviceLoader.loadAt(7);
|
|
247
263
|
return getMsgClient(service).closeDeployment(input, options);
|
|
248
|
-
}, { path: [7,
|
|
264
|
+
}, { path: [7, "closeDeployment"], serviceLoader }),
|
|
249
265
|
/**
|
|
250
266
|
* closeGroup defines a method to close a group of a deployment given proper inputs.
|
|
251
267
|
*/
|
|
252
268
|
closeGroup: (0, import_sdkMetadata.withMetadata)(async function closeGroup(input, options) {
|
|
253
269
|
const service = await serviceLoader.loadAt(7);
|
|
254
270
|
return getMsgClient(service).closeGroup(input, options);
|
|
255
|
-
}, { path: [7,
|
|
271
|
+
}, { path: [7, "closeGroup"], serviceLoader }),
|
|
256
272
|
/**
|
|
257
273
|
* pauseGroup defines a method to pause a group of a deployment given proper inputs.
|
|
258
274
|
*/
|
|
259
275
|
pauseGroup: (0, import_sdkMetadata.withMetadata)(async function pauseGroup(input, options) {
|
|
260
276
|
const service = await serviceLoader.loadAt(7);
|
|
261
277
|
return getMsgClient(service).pauseGroup(input, options);
|
|
262
|
-
}, { path: [7,
|
|
278
|
+
}, { path: [7, "pauseGroup"], serviceLoader }),
|
|
263
279
|
/**
|
|
264
280
|
* startGroup defines a method to start a group of a deployment given proper inputs.
|
|
265
281
|
*/
|
|
266
282
|
startGroup: (0, import_sdkMetadata.withMetadata)(async function startGroup(input, options) {
|
|
267
283
|
const service = await serviceLoader.loadAt(7);
|
|
268
284
|
return getMsgClient(service).startGroup(input, options);
|
|
269
|
-
}, { path: [7,
|
|
285
|
+
}, { path: [7, "startGroup"], serviceLoader }),
|
|
270
286
|
/**
|
|
271
287
|
* updateParams defines a governance operation for updating the x/deployment module
|
|
272
288
|
* parameters. The authority is hard-coded to the x/gov module account.
|
|
@@ -276,7 +292,7 @@ function createSDK(queryTransport, txTransport) {
|
|
|
276
292
|
updateParams: (0, import_sdkMetadata.withMetadata)(async function updateParams(input, options) {
|
|
277
293
|
const service = await serviceLoader.loadAt(7);
|
|
278
294
|
return getMsgClient(service).updateParams(input, options);
|
|
279
|
-
}, { path: [7,
|
|
295
|
+
}, { path: [7, "updateParams"], serviceLoader })
|
|
280
296
|
}
|
|
281
297
|
},
|
|
282
298
|
downtimedetector: {
|
|
@@ -288,7 +304,7 @@ function createSDK(queryTransport, txTransport) {
|
|
|
288
304
|
getRecoveredSinceDowntimeOfLength: (0, import_sdkMetadata.withMetadata)(async function getRecoveredSinceDowntimeOfLength(input, options) {
|
|
289
305
|
const service = await serviceLoader.loadAt(8);
|
|
290
306
|
return getClient(service).recoveredSinceDowntimeOfLength(input, options);
|
|
291
|
-
}, { path: [8,
|
|
307
|
+
}, { path: [8, "recoveredSinceDowntimeOfLength"], serviceLoader })
|
|
292
308
|
}
|
|
293
309
|
},
|
|
294
310
|
epochs: {
|
|
@@ -299,14 +315,14 @@ function createSDK(queryTransport, txTransport) {
|
|
|
299
315
|
getEpochInfos: (0, import_sdkMetadata.withMetadata)(async function getEpochInfos(input = {}, options) {
|
|
300
316
|
const service = await serviceLoader.loadAt(9);
|
|
301
317
|
return getClient(service).epochInfos(input, options);
|
|
302
|
-
}, { path: [9,
|
|
318
|
+
}, { path: [9, "epochInfos"], serviceLoader }),
|
|
303
319
|
/**
|
|
304
320
|
* getCurrentEpoch provide current epoch of specified identifier
|
|
305
321
|
*/
|
|
306
322
|
getCurrentEpoch: (0, import_sdkMetadata.withMetadata)(async function getCurrentEpoch(input, options) {
|
|
307
323
|
const service = await serviceLoader.loadAt(9);
|
|
308
324
|
return getClient(service).currentEpoch(input, options);
|
|
309
|
-
}, { path: [9,
|
|
325
|
+
}, { path: [9, "currentEpoch"], serviceLoader })
|
|
310
326
|
}
|
|
311
327
|
},
|
|
312
328
|
escrow: {
|
|
@@ -317,21 +333,21 @@ function createSDK(queryTransport, txTransport) {
|
|
|
317
333
|
getAccounts: (0, import_sdkMetadata.withMetadata)(async function getAccounts(input, options) {
|
|
318
334
|
const service = await serviceLoader.loadAt(10);
|
|
319
335
|
return getClient(service).accounts(input, options);
|
|
320
|
-
}, { path: [10,
|
|
336
|
+
}, { path: [10, "accounts"], serviceLoader }),
|
|
321
337
|
/**
|
|
322
338
|
* getPayments queries all payments.
|
|
323
339
|
*/
|
|
324
340
|
getPayments: (0, import_sdkMetadata.withMetadata)(async function getPayments(input, options) {
|
|
325
341
|
const service = await serviceLoader.loadAt(10);
|
|
326
342
|
return getClient(service).payments(input, options);
|
|
327
|
-
}, { path: [10,
|
|
343
|
+
}, { path: [10, "payments"], serviceLoader }),
|
|
328
344
|
/**
|
|
329
345
|
* accountDeposit deposits more funds into the escrow account.
|
|
330
346
|
*/
|
|
331
347
|
accountDeposit: (0, import_sdkMetadata.withMetadata)(async function accountDeposit(input, options) {
|
|
332
348
|
const service = await serviceLoader.loadAt(11);
|
|
333
349
|
return getMsgClient(service).accountDeposit(input, options);
|
|
334
|
-
}, { path: [11,
|
|
350
|
+
}, { path: [11, "accountDeposit"], serviceLoader })
|
|
335
351
|
}
|
|
336
352
|
},
|
|
337
353
|
market: {
|
|
@@ -342,84 +358,84 @@ function createSDK(queryTransport, txTransport) {
|
|
|
342
358
|
getOrders: (0, import_sdkMetadata.withMetadata)(async function getOrders(input, options) {
|
|
343
359
|
const service = await serviceLoader.loadAt(12);
|
|
344
360
|
return getClient(service).orders(input, options);
|
|
345
|
-
}, { path: [12,
|
|
361
|
+
}, { path: [12, "orders"], serviceLoader }),
|
|
346
362
|
/**
|
|
347
363
|
* getOrder queries order details.
|
|
348
364
|
*/
|
|
349
365
|
getOrder: (0, import_sdkMetadata.withMetadata)(async function getOrder(input, options) {
|
|
350
366
|
const service = await serviceLoader.loadAt(12);
|
|
351
367
|
return getClient(service).order(input, options);
|
|
352
|
-
}, { path: [12,
|
|
368
|
+
}, { path: [12, "order"], serviceLoader }),
|
|
353
369
|
/**
|
|
354
370
|
* getBids queries bids with filters.
|
|
355
371
|
*/
|
|
356
372
|
getBids: (0, import_sdkMetadata.withMetadata)(async function getBids(input, options) {
|
|
357
373
|
const service = await serviceLoader.loadAt(12);
|
|
358
374
|
return getClient(service).bids(input, options);
|
|
359
|
-
}, { path: [12,
|
|
375
|
+
}, { path: [12, "bids"], serviceLoader }),
|
|
360
376
|
/**
|
|
361
377
|
* getBid queries bid details.
|
|
362
378
|
*/
|
|
363
379
|
getBid: (0, import_sdkMetadata.withMetadata)(async function getBid(input, options) {
|
|
364
380
|
const service = await serviceLoader.loadAt(12);
|
|
365
381
|
return getClient(service).bid(input, options);
|
|
366
|
-
}, { path: [12,
|
|
382
|
+
}, { path: [12, "bid"], serviceLoader }),
|
|
367
383
|
/**
|
|
368
384
|
* getLeases queries leases with filters.
|
|
369
385
|
*/
|
|
370
386
|
getLeases: (0, import_sdkMetadata.withMetadata)(async function getLeases(input, options) {
|
|
371
387
|
const service = await serviceLoader.loadAt(12);
|
|
372
388
|
return getClient(service).leases(input, options);
|
|
373
|
-
}, { path: [12,
|
|
389
|
+
}, { path: [12, "leases"], serviceLoader }),
|
|
374
390
|
/**
|
|
375
391
|
* getLease queries lease details.
|
|
376
392
|
*/
|
|
377
393
|
getLease: (0, import_sdkMetadata.withMetadata)(async function getLease(input, options) {
|
|
378
394
|
const service = await serviceLoader.loadAt(12);
|
|
379
395
|
return getClient(service).lease(input, options);
|
|
380
|
-
}, { path: [12,
|
|
396
|
+
}, { path: [12, "lease"], serviceLoader }),
|
|
381
397
|
/**
|
|
382
398
|
* getParams returns the total set of minting parameters.
|
|
383
399
|
*/
|
|
384
400
|
getParams: (0, import_sdkMetadata.withMetadata)(async function getParams(input = {}, options) {
|
|
385
401
|
const service = await serviceLoader.loadAt(12);
|
|
386
402
|
return getClient(service).params(input, options);
|
|
387
|
-
}, { path: [12,
|
|
403
|
+
}, { path: [12, "params"], serviceLoader }),
|
|
388
404
|
/**
|
|
389
405
|
* createBid defines a method to create a bid given proper inputs.
|
|
390
406
|
*/
|
|
391
407
|
createBid: (0, import_sdkMetadata.withMetadata)(async function createBid(input, options) {
|
|
392
408
|
const service = await serviceLoader.loadAt(13);
|
|
393
409
|
return getMsgClient(service).createBid(input, options);
|
|
394
|
-
}, { path: [13,
|
|
410
|
+
}, { path: [13, "createBid"], serviceLoader }),
|
|
395
411
|
/**
|
|
396
412
|
* closeBid defines a method to close a bid given proper inputs.
|
|
397
413
|
*/
|
|
398
414
|
closeBid: (0, import_sdkMetadata.withMetadata)(async function closeBid(input, options) {
|
|
399
415
|
const service = await serviceLoader.loadAt(13);
|
|
400
416
|
return getMsgClient(service).closeBid(input, options);
|
|
401
|
-
}, { path: [13,
|
|
417
|
+
}, { path: [13, "closeBid"], serviceLoader }),
|
|
402
418
|
/**
|
|
403
419
|
* withdrawLease withdraws accrued funds from the lease payment
|
|
404
420
|
*/
|
|
405
421
|
withdrawLease: (0, import_sdkMetadata.withMetadata)(async function withdrawLease(input, options) {
|
|
406
422
|
const service = await serviceLoader.loadAt(13);
|
|
407
423
|
return getMsgClient(service).withdrawLease(input, options);
|
|
408
|
-
}, { path: [13,
|
|
424
|
+
}, { path: [13, "withdrawLease"], serviceLoader }),
|
|
409
425
|
/**
|
|
410
426
|
* createLease creates a new lease
|
|
411
427
|
*/
|
|
412
428
|
createLease: (0, import_sdkMetadata.withMetadata)(async function createLease(input, options) {
|
|
413
429
|
const service = await serviceLoader.loadAt(13);
|
|
414
430
|
return getMsgClient(service).createLease(input, options);
|
|
415
|
-
}, { path: [13,
|
|
431
|
+
}, { path: [13, "createLease"], serviceLoader }),
|
|
416
432
|
/**
|
|
417
433
|
* closeLease defines a method to close an order given proper inputs.
|
|
418
434
|
*/
|
|
419
435
|
closeLease: (0, import_sdkMetadata.withMetadata)(async function closeLease(input, options) {
|
|
420
436
|
const service = await serviceLoader.loadAt(13);
|
|
421
437
|
return getMsgClient(service).closeLease(input, options);
|
|
422
|
-
}, { path: [13,
|
|
438
|
+
}, { path: [13, "closeLease"], serviceLoader }),
|
|
423
439
|
/**
|
|
424
440
|
* updateParams defines a governance operation for updating the x/market module
|
|
425
441
|
* parameters. The authority is hard-coded to the x/gov module account.
|
|
@@ -429,7 +445,7 @@ function createSDK(queryTransport, txTransport) {
|
|
|
429
445
|
updateParams: (0, import_sdkMetadata.withMetadata)(async function updateParams(input, options) {
|
|
430
446
|
const service = await serviceLoader.loadAt(13);
|
|
431
447
|
return getMsgClient(service).updateParams(input, options);
|
|
432
|
-
}, { path: [13,
|
|
448
|
+
}, { path: [13, "updateParams"], serviceLoader })
|
|
433
449
|
}
|
|
434
450
|
},
|
|
435
451
|
oracle: {
|
|
@@ -440,35 +456,28 @@ function createSDK(queryTransport, txTransport) {
|
|
|
440
456
|
getPrices: (0, import_sdkMetadata.withMetadata)(async function getPrices(input, options) {
|
|
441
457
|
const service = await serviceLoader.loadAt(14);
|
|
442
458
|
return getClient(service).prices(input, options);
|
|
443
|
-
}, { path: [14,
|
|
459
|
+
}, { path: [14, "prices"], serviceLoader }),
|
|
444
460
|
/**
|
|
445
461
|
* getParams returns the total set of minting parameters.
|
|
446
462
|
*/
|
|
447
463
|
getParams: (0, import_sdkMetadata.withMetadata)(async function getParams(input = {}, options) {
|
|
448
464
|
const service = await serviceLoader.loadAt(14);
|
|
449
465
|
return getClient(service).params(input, options);
|
|
450
|
-
}, { path: [14,
|
|
451
|
-
/**
|
|
452
|
-
* getPriceFeedConfig queries the price feed configuration for a given denom.
|
|
453
|
-
*/
|
|
454
|
-
getPriceFeedConfig: (0, import_sdkMetadata.withMetadata)(async function getPriceFeedConfig(input, options) {
|
|
455
|
-
const service = await serviceLoader.loadAt(14);
|
|
456
|
-
return getClient(service).priceFeedConfig(input, options);
|
|
457
|
-
}, { path: [14, 2] }),
|
|
466
|
+
}, { path: [14, "params"], serviceLoader }),
|
|
458
467
|
/**
|
|
459
468
|
* getAggregatedPrice queries the aggregated price for a given denom.
|
|
460
469
|
*/
|
|
461
470
|
getAggregatedPrice: (0, import_sdkMetadata.withMetadata)(async function getAggregatedPrice(input, options) {
|
|
462
471
|
const service = await serviceLoader.loadAt(14);
|
|
463
472
|
return getClient(service).aggregatedPrice(input, options);
|
|
464
|
-
}, { path: [14,
|
|
473
|
+
}, { path: [14, "aggregatedPrice"], serviceLoader }),
|
|
465
474
|
/**
|
|
466
475
|
* addPriceEntry adds a new price entry for a denomination from an authorized source
|
|
467
476
|
*/
|
|
468
477
|
addPriceEntry: (0, import_sdkMetadata.withMetadata)(async function addPriceEntry(input, options) {
|
|
469
478
|
const service = await serviceLoader.loadAt(15);
|
|
470
479
|
return getMsgClient(service).addPriceEntry(input, options);
|
|
471
|
-
}, { path: [15,
|
|
480
|
+
}, { path: [15, "addPriceEntry"], serviceLoader }),
|
|
472
481
|
/**
|
|
473
482
|
* updateParams defines a governance operation for updating the x/wasm module
|
|
474
483
|
* parameters. The authority is hard-coded to the x/gov module account.
|
|
@@ -478,7 +487,7 @@ function createSDK(queryTransport, txTransport) {
|
|
|
478
487
|
updateParams: (0, import_sdkMetadata.withMetadata)(async function updateParams(input, options) {
|
|
479
488
|
const service = await serviceLoader.loadAt(15);
|
|
480
489
|
return getMsgClient(service).updateParams(input, options);
|
|
481
|
-
}, { path: [15,
|
|
490
|
+
}, { path: [15, "updateParams"], serviceLoader })
|
|
482
491
|
}
|
|
483
492
|
},
|
|
484
493
|
provider: {
|
|
@@ -489,35 +498,35 @@ function createSDK(queryTransport, txTransport) {
|
|
|
489
498
|
getProviders: (0, import_sdkMetadata.withMetadata)(async function getProviders(input, options) {
|
|
490
499
|
const service = await serviceLoader.loadAt(16);
|
|
491
500
|
return getClient(service).providers(input, options);
|
|
492
|
-
}, { path: [16,
|
|
501
|
+
}, { path: [16, "providers"], serviceLoader }),
|
|
493
502
|
/**
|
|
494
503
|
* getProvider queries provider details
|
|
495
504
|
*/
|
|
496
505
|
getProvider: (0, import_sdkMetadata.withMetadata)(async function getProvider(input, options) {
|
|
497
506
|
const service = await serviceLoader.loadAt(16);
|
|
498
507
|
return getClient(service).provider(input, options);
|
|
499
|
-
}, { path: [16,
|
|
508
|
+
}, { path: [16, "provider"], serviceLoader }),
|
|
500
509
|
/**
|
|
501
510
|
* createProvider defines a method that creates a provider given the proper inputs.
|
|
502
511
|
*/
|
|
503
512
|
createProvider: (0, import_sdkMetadata.withMetadata)(async function createProvider(input, options) {
|
|
504
513
|
const service = await serviceLoader.loadAt(17);
|
|
505
514
|
return getMsgClient(service).createProvider(input, options);
|
|
506
|
-
}, { path: [17,
|
|
515
|
+
}, { path: [17, "createProvider"], serviceLoader }),
|
|
507
516
|
/**
|
|
508
517
|
* updateProvider defines a method that updates a provider given the proper inputs.
|
|
509
518
|
*/
|
|
510
519
|
updateProvider: (0, import_sdkMetadata.withMetadata)(async function updateProvider(input, options) {
|
|
511
520
|
const service = await serviceLoader.loadAt(17);
|
|
512
521
|
return getMsgClient(service).updateProvider(input, options);
|
|
513
|
-
}, { path: [17,
|
|
522
|
+
}, { path: [17, "updateProvider"], serviceLoader }),
|
|
514
523
|
/**
|
|
515
524
|
* deleteProvider defines a method that deletes a provider given the proper inputs.
|
|
516
525
|
*/
|
|
517
526
|
deleteProvider: (0, import_sdkMetadata.withMetadata)(async function deleteProvider(input, options) {
|
|
518
527
|
const service = await serviceLoader.loadAt(17);
|
|
519
528
|
return getMsgClient(service).deleteProvider(input, options);
|
|
520
|
-
}, { path: [17,
|
|
529
|
+
}, { path: [17, "deleteProvider"], serviceLoader })
|
|
521
530
|
}
|
|
522
531
|
},
|
|
523
532
|
take: {
|
|
@@ -528,7 +537,7 @@ function createSDK(queryTransport, txTransport) {
|
|
|
528
537
|
getParams: (0, import_sdkMetadata.withMetadata)(async function getParams(input = {}, options) {
|
|
529
538
|
const service = await serviceLoader.loadAt(18);
|
|
530
539
|
return getClient(service).params(input, options);
|
|
531
|
-
}, { path: [18,
|
|
540
|
+
}, { path: [18, "params"], serviceLoader }),
|
|
532
541
|
/**
|
|
533
542
|
* updateParams defines a governance operation for updating the x/market module
|
|
534
543
|
* parameters. The authority is hard-coded to the x/gov module account.
|
|
@@ -538,7 +547,7 @@ function createSDK(queryTransport, txTransport) {
|
|
|
538
547
|
updateParams: (0, import_sdkMetadata.withMetadata)(async function updateParams(input, options) {
|
|
539
548
|
const service = await serviceLoader.loadAt(19);
|
|
540
549
|
return getMsgClient(service).updateParams(input, options);
|
|
541
|
-
}, { path: [19,
|
|
550
|
+
}, { path: [19, "updateParams"], serviceLoader })
|
|
542
551
|
}
|
|
543
552
|
},
|
|
544
553
|
wasm: {
|
|
@@ -549,7 +558,7 @@ function createSDK(queryTransport, txTransport) {
|
|
|
549
558
|
getParams: (0, import_sdkMetadata.withMetadata)(async function getParams(input = {}, options) {
|
|
550
559
|
const service = await serviceLoader.loadAt(20);
|
|
551
560
|
return getClient(service).params(input, options);
|
|
552
|
-
}, { path: [20,
|
|
561
|
+
}, { path: [20, "params"], serviceLoader }),
|
|
553
562
|
/**
|
|
554
563
|
* updateParams defines a governance operation for updating the x/wasm module
|
|
555
564
|
* parameters. The authority is hard-coded to the x/gov module account.
|
|
@@ -559,7 +568,7 @@ function createSDK(queryTransport, txTransport) {
|
|
|
559
568
|
updateParams: (0, import_sdkMetadata.withMetadata)(async function updateParams(input, options) {
|
|
560
569
|
const service = await serviceLoader.loadAt(21);
|
|
561
570
|
return getMsgClient(service).updateParams(input, options);
|
|
562
|
-
}, { path: [21,
|
|
571
|
+
}, { path: [21, "updateParams"], serviceLoader })
|
|
563
572
|
}
|
|
564
573
|
}
|
|
565
574
|
}
|