@akashnetwork/chain-sdk 1.0.0-alpha.24 → 1.0.0-alpha.25
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 +68 -61
- 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/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/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/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 +53 -1
- package/dist/cjs/generated/protos/akash/oracle/v1/params.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 -5
- 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-JISXXX24.js → chunk-6CIH635G.js} +2 -2
- package/dist/esm/{chunk-GUNMCW7A.js → chunk-BWGYKJLS.js} +2 -2
- package/dist/esm/{chunk-MQPC6TDF.js → chunk-C3DBWOZD.js} +53 -1
- package/dist/esm/{chunk-MQPC6TDF.js.map → chunk-C3DBWOZD.js.map} +2 -2
- package/dist/esm/{chunk-TCVGOF7L.js → chunk-DJASDN6A.js} +2 -2
- package/dist/esm/{chunk-5DCYIWCG.js → chunk-E76SLJJ3.js} +3 -1
- package/dist/esm/{chunk-4D3QNKFB.js → chunk-EKFJV4QU.js} +6 -4
- package/dist/esm/{chunk-4D3QNKFB.js.map → chunk-EKFJV4QU.js.map} +1 -1
- 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-Z5KZUB7X.js → chunk-MVADLHLI.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-SA4SEZ6F.js → chunk-TXQ2BR6G.js} +5 -3
- package/dist/esm/{chunk-SA4SEZ6F.js.map → chunk-TXQ2BR6G.js.map} +1 -1
- package/dist/esm/{chunk-IJSLZIPC.js → chunk-UFJRY3ID.js} +2 -2
- package/dist/esm/chunk-Y7JCYDLU.js +346 -0
- package/dist/esm/chunk-Y7JCYDLU.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/{chunk-RIIYZIXM.js → chunk-ZRM47VCZ.js} +398 -338
- package/dist/esm/{chunk-RIIYZIXM.js.map → chunk-ZRM47VCZ.js.map} +4 -4
- package/dist/esm/generated/protos/index.akash.v1.js +18 -8
- package/dist/esm/generated/protos/index.akash.v1.js.map +1 -1
- package/dist/esm/generated/protos/index.akash.v1beta4.js +5 -5
- package/dist/esm/generated/protos/index.akash.v1beta5.js +16 -8
- 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 +33 -21
- package/dist/esm/index.js.map +2 -2
- package/dist/esm/index.web.js +13 -8
- package/dist/esm/index.web.js.map +2 -2
- package/dist/esm/{query_akash-RGYTHUNZ.js → query_akash-745M5I3X.js} +3 -3
- 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-DJ7LTLRE.js → query_akash-FYNRLU72.js} +6 -5
- package/dist/esm/{query_akash-DJ7LTLRE.js.map → query_akash-FYNRLU72.js.map} +1 -1
- package/dist/esm/{query_akash-4CTLBKZR.js → query_akash-LW3YJGS6.js} +4 -4
- package/dist/esm/{reflection_akash-WUBSNT7I.js → reflection_akash-YHEVUIB6.js} +2 -2
- package/dist/esm/{service_akash-KPU6LPVP.js → service_akash-2VS4VW6P.js} +3 -3
- 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-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-VFDQVHZD.js} +3 -3
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/dist/types/generated/createNodeSDK.d.ts +11 -0
- 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/filters.d.ts +17 -0
- 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/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 +14 -0
- 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 +3 -2
- 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 +3 -0
- package/dist/types/sdk/chain/createChainNodeWebSDK.d.ts +3 -0
- 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-IZQCYKLD.js.map +0 -7
- package/dist/esm/chunk-RON4KFMD.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/service_akash-CQVYVSHE.js.map +0 -7
- /package/dist/esm/{chunk-BYQF33C6.js.map → chunk-5YIS3XNX.js.map} +0 -0
- /package/dist/esm/{chunk-JISXXX24.js.map → chunk-6CIH635G.js.map} +0 -0
- /package/dist/esm/{chunk-GUNMCW7A.js.map → chunk-BWGYKJLS.js.map} +0 -0
- /package/dist/esm/{chunk-TCVGOF7L.js.map → chunk-DJASDN6A.js.map} +0 -0
- /package/dist/esm/{chunk-5DCYIWCG.js.map → chunk-E76SLJJ3.js.map} +0 -0
- /package/dist/esm/{chunk-XFCN5LRY.js.map → chunk-H5WUFEMM.js.map} +0 -0
- /package/dist/esm/{chunk-Z5KZUB7X.js.map → chunk-MVADLHLI.js.map} +0 -0
- /package/dist/esm/{chunk-5YECXI3P.js.map → chunk-RUC3LXDX.js.map} +0 -0
- /package/dist/esm/{chunk-IJSLZIPC.js.map → chunk-UFJRY3ID.js.map} +0 -0
- /package/dist/esm/{query_akash-RGYTHUNZ.js.map → query_akash-745M5I3X.js.map} +0 -0
- /package/dist/esm/{query_akash-4CTLBKZR.js.map → query_akash-LW3YJGS6.js.map} +0 -0
- /package/dist/esm/{reflection_akash-WUBSNT7I.js.map → reflection_akash-YHEVUIB6.js.map} +0 -0
- /package/dist/esm/{service_akash-KPU6LPVP.js.map → service_akash-2VS4VW6P.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-VFDQVHZD.js.map} +0 -0
|
@@ -102,7 +102,7 @@ function createSDK(queryTransport, txTransport) {
|
|
|
102
102
|
getConfig: (0, import_sdkMetadata.withMetadata)(async function getConfig(input = {}, options) {
|
|
103
103
|
const service = await serviceLoader.loadAt(0);
|
|
104
104
|
return getClient(service).config(input, options);
|
|
105
|
-
}, { path: [0,
|
|
105
|
+
}, { path: [0, "config"], serviceLoader })
|
|
106
106
|
}
|
|
107
107
|
},
|
|
108
108
|
auth: {
|
|
@@ -116,70 +116,70 @@ function createSDK(queryTransport, txTransport) {
|
|
|
116
116
|
getAccounts: (0, import_sdkMetadata.withMetadata)(async function getAccounts(input, options) {
|
|
117
117
|
const service = await serviceLoader.loadAt(1);
|
|
118
118
|
return getClient(service).accounts(input, options);
|
|
119
|
-
}, { path: [1,
|
|
119
|
+
}, { path: [1, "accounts"], serviceLoader }),
|
|
120
120
|
/**
|
|
121
121
|
* getAccount returns account details based on address.
|
|
122
122
|
*/
|
|
123
123
|
getAccount: (0, import_sdkMetadata.withMetadata)(async function getAccount(input, options) {
|
|
124
124
|
const service = await serviceLoader.loadAt(1);
|
|
125
125
|
return getClient(service).account(input, options);
|
|
126
|
-
}, { path: [1,
|
|
126
|
+
}, { path: [1, "account"], serviceLoader }),
|
|
127
127
|
/**
|
|
128
128
|
* getAccountAddressByID returns account address based on account number.
|
|
129
129
|
*/
|
|
130
130
|
getAccountAddressByID: (0, import_sdkMetadata.withMetadata)(async function getAccountAddressByID(input, options) {
|
|
131
131
|
const service = await serviceLoader.loadAt(1);
|
|
132
132
|
return getClient(service).accountAddressByID(input, options);
|
|
133
|
-
}, { path: [1,
|
|
133
|
+
}, { path: [1, "accountAddressByID"], serviceLoader }),
|
|
134
134
|
/**
|
|
135
135
|
* getParams queries all parameters.
|
|
136
136
|
*/
|
|
137
137
|
getParams: (0, import_sdkMetadata.withMetadata)(async function getParams(input = {}, options) {
|
|
138
138
|
const service = await serviceLoader.loadAt(1);
|
|
139
139
|
return getClient(service).params(input, options);
|
|
140
|
-
}, { path: [1,
|
|
140
|
+
}, { path: [1, "params"], serviceLoader }),
|
|
141
141
|
/**
|
|
142
142
|
* getModuleAccounts returns all the existing module accounts.
|
|
143
143
|
*/
|
|
144
144
|
getModuleAccounts: (0, import_sdkMetadata.withMetadata)(async function getModuleAccounts(input = {}, options) {
|
|
145
145
|
const service = await serviceLoader.loadAt(1);
|
|
146
146
|
return getClient(service).moduleAccounts(input, options);
|
|
147
|
-
}, { path: [1,
|
|
147
|
+
}, { path: [1, "moduleAccounts"], serviceLoader }),
|
|
148
148
|
/**
|
|
149
149
|
* getModuleAccountByName returns the module account info by module name
|
|
150
150
|
*/
|
|
151
151
|
getModuleAccountByName: (0, import_sdkMetadata.withMetadata)(async function getModuleAccountByName(input, options) {
|
|
152
152
|
const service = await serviceLoader.loadAt(1);
|
|
153
153
|
return getClient(service).moduleAccountByName(input, options);
|
|
154
|
-
}, { path: [1,
|
|
154
|
+
}, { path: [1, "moduleAccountByName"], serviceLoader }),
|
|
155
155
|
/**
|
|
156
156
|
* getBech32Prefix queries bech32Prefix
|
|
157
157
|
*/
|
|
158
158
|
getBech32Prefix: (0, import_sdkMetadata.withMetadata)(async function getBech32Prefix(input = {}, options) {
|
|
159
159
|
const service = await serviceLoader.loadAt(1);
|
|
160
160
|
return getClient(service).bech32Prefix(input, options);
|
|
161
|
-
}, { path: [1,
|
|
161
|
+
}, { path: [1, "bech32Prefix"], serviceLoader }),
|
|
162
162
|
/**
|
|
163
163
|
* getAddressBytesToString converts Account Address bytes to string
|
|
164
164
|
*/
|
|
165
165
|
getAddressBytesToString: (0, import_sdkMetadata.withMetadata)(async function getAddressBytesToString(input, options) {
|
|
166
166
|
const service = await serviceLoader.loadAt(1);
|
|
167
167
|
return getClient(service).addressBytesToString(input, options);
|
|
168
|
-
}, { path: [1,
|
|
168
|
+
}, { path: [1, "addressBytesToString"], serviceLoader }),
|
|
169
169
|
/**
|
|
170
170
|
* getAddressStringToBytes converts Address string to bytes
|
|
171
171
|
*/
|
|
172
172
|
getAddressStringToBytes: (0, import_sdkMetadata.withMetadata)(async function getAddressStringToBytes(input, options) {
|
|
173
173
|
const service = await serviceLoader.loadAt(1);
|
|
174
174
|
return getClient(service).addressStringToBytes(input, options);
|
|
175
|
-
}, { path: [1,
|
|
175
|
+
}, { path: [1, "addressStringToBytes"], serviceLoader }),
|
|
176
176
|
/**
|
|
177
177
|
* getAccountInfo queries account info which is common to all account types.
|
|
178
178
|
*/
|
|
179
179
|
getAccountInfo: (0, import_sdkMetadata.withMetadata)(async function getAccountInfo(input, options) {
|
|
180
180
|
const service = await serviceLoader.loadAt(1);
|
|
181
181
|
return getClient(service).accountInfo(input, options);
|
|
182
|
-
}, { path: [1,
|
|
182
|
+
}, { path: [1, "accountInfo"], serviceLoader }),
|
|
183
183
|
/**
|
|
184
184
|
* updateParams defines a (governance) operation for updating the x/auth module
|
|
185
185
|
* parameters. The authority defaults to the x/gov module account.
|
|
@@ -187,7 +187,7 @@ function createSDK(queryTransport, txTransport) {
|
|
|
187
187
|
updateParams: (0, import_sdkMetadata.withMetadata)(async function updateParams(input, options) {
|
|
188
188
|
const service = await serviceLoader.loadAt(2);
|
|
189
189
|
return getMsgClient(service).updateParams(input, options);
|
|
190
|
-
}, { path: [2,
|
|
190
|
+
}, { path: [2, "updateParams"], serviceLoader })
|
|
191
191
|
}
|
|
192
192
|
},
|
|
193
193
|
authz: {
|
|
@@ -198,21 +198,21 @@ function createSDK(queryTransport, txTransport) {
|
|
|
198
198
|
getGrants: (0, import_sdkMetadata.withMetadata)(async function getGrants(input, options) {
|
|
199
199
|
const service = await serviceLoader.loadAt(3);
|
|
200
200
|
return getClient(service).grants(input, options);
|
|
201
|
-
}, { path: [3,
|
|
201
|
+
}, { path: [3, "grants"], serviceLoader }),
|
|
202
202
|
/**
|
|
203
203
|
* getGranterGrants returns list of `GrantAuthorization`, granted by granter.
|
|
204
204
|
*/
|
|
205
205
|
getGranterGrants: (0, import_sdkMetadata.withMetadata)(async function getGranterGrants(input, options) {
|
|
206
206
|
const service = await serviceLoader.loadAt(3);
|
|
207
207
|
return getClient(service).granterGrants(input, options);
|
|
208
|
-
}, { path: [3,
|
|
208
|
+
}, { path: [3, "granterGrants"], serviceLoader }),
|
|
209
209
|
/**
|
|
210
210
|
* getGranteeGrants returns a list of `GrantAuthorization` by grantee.
|
|
211
211
|
*/
|
|
212
212
|
getGranteeGrants: (0, import_sdkMetadata.withMetadata)(async function getGranteeGrants(input, options) {
|
|
213
213
|
const service = await serviceLoader.loadAt(3);
|
|
214
214
|
return getClient(service).granteeGrants(input, options);
|
|
215
|
-
}, { path: [3,
|
|
215
|
+
}, { path: [3, "granteeGrants"], serviceLoader }),
|
|
216
216
|
/**
|
|
217
217
|
* grant grants the provided authorization to the grantee on the granter's
|
|
218
218
|
* account with the provided expiration time. If there is already a grant
|
|
@@ -222,7 +222,7 @@ function createSDK(queryTransport, txTransport) {
|
|
|
222
222
|
grant: (0, import_sdkMetadata.withMetadata)(async function grant(input, options) {
|
|
223
223
|
const service = await serviceLoader.loadAt(4);
|
|
224
224
|
return getMsgClient(service).grant(input, options);
|
|
225
|
-
}, { path: [4,
|
|
225
|
+
}, { path: [4, "grant"], serviceLoader }),
|
|
226
226
|
/**
|
|
227
227
|
* exec attempts to execute the provided messages using
|
|
228
228
|
* authorizations granted to the grantee. Each message should have only
|
|
@@ -231,7 +231,7 @@ function createSDK(queryTransport, txTransport) {
|
|
|
231
231
|
exec: (0, import_sdkMetadata.withMetadata)(async function exec(input, options) {
|
|
232
232
|
const service = await serviceLoader.loadAt(4);
|
|
233
233
|
return getMsgClient(service).exec(input, options);
|
|
234
|
-
}, { path: [4,
|
|
234
|
+
}, { path: [4, "exec"], serviceLoader }),
|
|
235
235
|
/**
|
|
236
236
|
* revoke revokes any authorization corresponding to the provided method name on the
|
|
237
237
|
* granter's account that has been granted to the grantee.
|
|
@@ -239,7 +239,7 @@ function createSDK(queryTransport, txTransport) {
|
|
|
239
239
|
revoke: (0, import_sdkMetadata.withMetadata)(async function revoke(input, options) {
|
|
240
240
|
const service = await serviceLoader.loadAt(4);
|
|
241
241
|
return getMsgClient(service).revoke(input, options);
|
|
242
|
-
}, { path: [4,
|
|
242
|
+
}, { path: [4, "revoke"], serviceLoader })
|
|
243
243
|
}
|
|
244
244
|
},
|
|
245
245
|
autocli: {
|
|
@@ -250,7 +250,7 @@ function createSDK(queryTransport, txTransport) {
|
|
|
250
250
|
getAppOptions: (0, import_sdkMetadata.withMetadata)(async function getAppOptions(input = {}, options) {
|
|
251
251
|
const service = await serviceLoader.loadAt(5);
|
|
252
252
|
return getClient(service).appOptions(input, options);
|
|
253
|
-
}, { path: [5,
|
|
253
|
+
}, { path: [5, "appOptions"], serviceLoader })
|
|
254
254
|
}
|
|
255
255
|
},
|
|
256
256
|
bank: {
|
|
@@ -261,7 +261,7 @@ function createSDK(queryTransport, txTransport) {
|
|
|
261
261
|
getBalance: (0, import_sdkMetadata.withMetadata)(async function getBalance(input, options) {
|
|
262
262
|
const service = await serviceLoader.loadAt(6);
|
|
263
263
|
return getClient(service).balance(input, options);
|
|
264
|
-
}, { path: [6,
|
|
264
|
+
}, { path: [6, "balance"], serviceLoader }),
|
|
265
265
|
/**
|
|
266
266
|
* getAllBalances queries the balance of all coins for a single account.
|
|
267
267
|
*
|
|
@@ -271,7 +271,7 @@ function createSDK(queryTransport, txTransport) {
|
|
|
271
271
|
getAllBalances: (0, import_sdkMetadata.withMetadata)(async function getAllBalances(input, options) {
|
|
272
272
|
const service = await serviceLoader.loadAt(6);
|
|
273
273
|
return getClient(service).allBalances(input, options);
|
|
274
|
-
}, { path: [6,
|
|
274
|
+
}, { path: [6, "allBalances"], serviceLoader }),
|
|
275
275
|
/**
|
|
276
276
|
* getSpendableBalances queries the spendable balance of all coins for a single
|
|
277
277
|
* account.
|
|
@@ -282,7 +282,7 @@ function createSDK(queryTransport, txTransport) {
|
|
|
282
282
|
getSpendableBalances: (0, import_sdkMetadata.withMetadata)(async function getSpendableBalances(input, options) {
|
|
283
283
|
const service = await serviceLoader.loadAt(6);
|
|
284
284
|
return getClient(service).spendableBalances(input, options);
|
|
285
|
-
}, { path: [6,
|
|
285
|
+
}, { path: [6, "spendableBalances"], serviceLoader }),
|
|
286
286
|
/**
|
|
287
287
|
* getSpendableBalanceByDenom queries the spendable balance of a single denom for
|
|
288
288
|
* a single account.
|
|
@@ -293,7 +293,7 @@ function createSDK(queryTransport, txTransport) {
|
|
|
293
293
|
getSpendableBalanceByDenom: (0, import_sdkMetadata.withMetadata)(async function getSpendableBalanceByDenom(input, options) {
|
|
294
294
|
const service = await serviceLoader.loadAt(6);
|
|
295
295
|
return getClient(service).spendableBalanceByDenom(input, options);
|
|
296
|
-
}, { path: [6,
|
|
296
|
+
}, { path: [6, "spendableBalanceByDenom"], serviceLoader }),
|
|
297
297
|
/**
|
|
298
298
|
* getTotalSupply queries the total supply of all coins.
|
|
299
299
|
*
|
|
@@ -303,7 +303,7 @@ function createSDK(queryTransport, txTransport) {
|
|
|
303
303
|
getTotalSupply: (0, import_sdkMetadata.withMetadata)(async function getTotalSupply(input, options) {
|
|
304
304
|
const service = await serviceLoader.loadAt(6);
|
|
305
305
|
return getClient(service).totalSupply(input, options);
|
|
306
|
-
}, { path: [6,
|
|
306
|
+
}, { path: [6, "totalSupply"], serviceLoader }),
|
|
307
307
|
/**
|
|
308
308
|
* getSupplyOf queries the supply of a single coin.
|
|
309
309
|
*
|
|
@@ -313,14 +313,14 @@ function createSDK(queryTransport, txTransport) {
|
|
|
313
313
|
getSupplyOf: (0, import_sdkMetadata.withMetadata)(async function getSupplyOf(input, options) {
|
|
314
314
|
const service = await serviceLoader.loadAt(6);
|
|
315
315
|
return getClient(service).supplyOf(input, options);
|
|
316
|
-
}, { path: [6,
|
|
316
|
+
}, { path: [6, "supplyOf"], serviceLoader }),
|
|
317
317
|
/**
|
|
318
318
|
* getParams queries the parameters of x/bank module.
|
|
319
319
|
*/
|
|
320
320
|
getParams: (0, import_sdkMetadata.withMetadata)(async function getParams(input = {}, options) {
|
|
321
321
|
const service = await serviceLoader.loadAt(6);
|
|
322
322
|
return getClient(service).params(input, options);
|
|
323
|
-
}, { path: [6,
|
|
323
|
+
}, { path: [6, "params"], serviceLoader }),
|
|
324
324
|
/**
|
|
325
325
|
* getDenomsMetadata queries the client metadata for all registered coin
|
|
326
326
|
* denominations.
|
|
@@ -328,21 +328,21 @@ function createSDK(queryTransport, txTransport) {
|
|
|
328
328
|
getDenomsMetadata: (0, import_sdkMetadata.withMetadata)(async function getDenomsMetadata(input, options) {
|
|
329
329
|
const service = await serviceLoader.loadAt(6);
|
|
330
330
|
return getClient(service).denomsMetadata(input, options);
|
|
331
|
-
}, { path: [6,
|
|
331
|
+
}, { path: [6, "denomsMetadata"], serviceLoader }),
|
|
332
332
|
/**
|
|
333
333
|
* getDenomMetadata queries the client metadata of a given coin denomination.
|
|
334
334
|
*/
|
|
335
335
|
getDenomMetadata: (0, import_sdkMetadata.withMetadata)(async function getDenomMetadata(input, options) {
|
|
336
336
|
const service = await serviceLoader.loadAt(6);
|
|
337
337
|
return getClient(service).denomMetadata(input, options);
|
|
338
|
-
}, { path: [6,
|
|
338
|
+
}, { path: [6, "denomMetadata"], serviceLoader }),
|
|
339
339
|
/**
|
|
340
340
|
* getDenomMetadataByQueryString queries the client metadata of a given coin denomination.
|
|
341
341
|
*/
|
|
342
342
|
getDenomMetadataByQueryString: (0, import_sdkMetadata.withMetadata)(async function getDenomMetadataByQueryString(input, options) {
|
|
343
343
|
const service = await serviceLoader.loadAt(6);
|
|
344
344
|
return getClient(service).denomMetadataByQueryString(input, options);
|
|
345
|
-
}, { path: [6,
|
|
345
|
+
}, { path: [6, "denomMetadataByQueryString"], serviceLoader }),
|
|
346
346
|
/**
|
|
347
347
|
* getDenomOwners queries for all account addresses that own a particular token
|
|
348
348
|
* denomination.
|
|
@@ -353,7 +353,7 @@ function createSDK(queryTransport, txTransport) {
|
|
|
353
353
|
getDenomOwners: (0, import_sdkMetadata.withMetadata)(async function getDenomOwners(input, options) {
|
|
354
354
|
const service = await serviceLoader.loadAt(6);
|
|
355
355
|
return getClient(service).denomOwners(input, options);
|
|
356
|
-
}, { path: [6,
|
|
356
|
+
}, { path: [6, "denomOwners"], serviceLoader }),
|
|
357
357
|
/**
|
|
358
358
|
* getDenomOwnersByQuery queries for all account addresses that own a particular token
|
|
359
359
|
* denomination.
|
|
@@ -361,7 +361,7 @@ function createSDK(queryTransport, txTransport) {
|
|
|
361
361
|
getDenomOwnersByQuery: (0, import_sdkMetadata.withMetadata)(async function getDenomOwnersByQuery(input, options) {
|
|
362
362
|
const service = await serviceLoader.loadAt(6);
|
|
363
363
|
return getClient(service).denomOwnersByQuery(input, options);
|
|
364
|
-
}, { path: [6,
|
|
364
|
+
}, { path: [6, "denomOwnersByQuery"], serviceLoader }),
|
|
365
365
|
/**
|
|
366
366
|
* getSendEnabled queries for getSendEnabled entries.
|
|
367
367
|
*
|
|
@@ -372,21 +372,21 @@ function createSDK(queryTransport, txTransport) {
|
|
|
372
372
|
getSendEnabled: (0, import_sdkMetadata.withMetadata)(async function getSendEnabled(input, options) {
|
|
373
373
|
const service = await serviceLoader.loadAt(6);
|
|
374
374
|
return getClient(service).sendEnabled(input, options);
|
|
375
|
-
}, { path: [6,
|
|
375
|
+
}, { path: [6, "sendEnabled"], serviceLoader }),
|
|
376
376
|
/**
|
|
377
377
|
* send defines a method for sending coins from one account to another account.
|
|
378
378
|
*/
|
|
379
379
|
send: (0, import_sdkMetadata.withMetadata)(async function send(input, options) {
|
|
380
380
|
const service = await serviceLoader.loadAt(7);
|
|
381
381
|
return getMsgClient(service).send(input, options);
|
|
382
|
-
}, { path: [7,
|
|
382
|
+
}, { path: [7, "send"], serviceLoader }),
|
|
383
383
|
/**
|
|
384
384
|
* multiSend defines a method for sending coins from some accounts to other accounts.
|
|
385
385
|
*/
|
|
386
386
|
multiSend: (0, import_sdkMetadata.withMetadata)(async function multiSend(input, options) {
|
|
387
387
|
const service = await serviceLoader.loadAt(7);
|
|
388
388
|
return getMsgClient(service).multiSend(input, options);
|
|
389
|
-
}, { path: [7,
|
|
389
|
+
}, { path: [7, "multiSend"], serviceLoader }),
|
|
390
390
|
/**
|
|
391
391
|
* updateParams defines a governance operation for updating the x/bank module parameters.
|
|
392
392
|
* The authority is defined in the keeper.
|
|
@@ -394,7 +394,7 @@ function createSDK(queryTransport, txTransport) {
|
|
|
394
394
|
updateParams: (0, import_sdkMetadata.withMetadata)(async function updateParams(input, options) {
|
|
395
395
|
const service = await serviceLoader.loadAt(7);
|
|
396
396
|
return getMsgClient(service).updateParams(input, options);
|
|
397
|
-
}, { path: [7,
|
|
397
|
+
}, { path: [7, "updateParams"], serviceLoader }),
|
|
398
398
|
/**
|
|
399
399
|
* setSendEnabled is a governance operation for setting the SendEnabled flag
|
|
400
400
|
* on any number of Denoms. Only the entries to add or update should be
|
|
@@ -404,7 +404,7 @@ function createSDK(queryTransport, txTransport) {
|
|
|
404
404
|
setSendEnabled: (0, import_sdkMetadata.withMetadata)(async function setSendEnabled(input, options) {
|
|
405
405
|
const service = await serviceLoader.loadAt(7);
|
|
406
406
|
return getMsgClient(service).setSendEnabled(input, options);
|
|
407
|
-
}, { path: [7,
|
|
407
|
+
}, { path: [7, "setSendEnabled"], serviceLoader })
|
|
408
408
|
}
|
|
409
409
|
},
|
|
410
410
|
base: {
|
|
@@ -416,14 +416,14 @@ function createSDK(queryTransport, txTransport) {
|
|
|
416
416
|
getConfig: (0, import_sdkMetadata.withMetadata)(async function getConfig(input = {}, options) {
|
|
417
417
|
const service = await serviceLoader.loadAt(9);
|
|
418
418
|
return getClient(service).config(input, options);
|
|
419
|
-
}, { path: [9,
|
|
419
|
+
}, { path: [9, "config"], serviceLoader }),
|
|
420
420
|
/**
|
|
421
421
|
* getStatus queries for the node status.
|
|
422
422
|
*/
|
|
423
423
|
getStatus: (0, import_sdkMetadata.withMetadata)(async function getStatus(input = {}, options) {
|
|
424
424
|
const service = await serviceLoader.loadAt(9);
|
|
425
425
|
return getClient(service).status(input, options);
|
|
426
|
-
}, { path: [9,
|
|
426
|
+
}, { path: [9, "status"], serviceLoader })
|
|
427
427
|
}
|
|
428
428
|
},
|
|
429
429
|
reflection: {
|
|
@@ -435,7 +435,7 @@ function createSDK(queryTransport, txTransport) {
|
|
|
435
435
|
getListAllInterfaces: (0, import_sdkMetadata.withMetadata)(async function getListAllInterfaces(input = {}, options) {
|
|
436
436
|
const service = await serviceLoader.loadAt(10);
|
|
437
437
|
return getClient(service).listAllInterfaces(input, options);
|
|
438
|
-
}, { path: [10,
|
|
438
|
+
}, { path: [10, "listAllInterfaces"], serviceLoader }),
|
|
439
439
|
/**
|
|
440
440
|
* getListImplementations list all the concrete types that implement a given
|
|
441
441
|
* interface.
|
|
@@ -443,7 +443,7 @@ function createSDK(queryTransport, txTransport) {
|
|
|
443
443
|
getListImplementations: (0, import_sdkMetadata.withMetadata)(async function getListImplementations(input, options) {
|
|
444
444
|
const service = await serviceLoader.loadAt(10);
|
|
445
445
|
return getClient(service).listImplementations(input, options);
|
|
446
|
-
}, { path: [10,
|
|
446
|
+
}, { path: [10, "listImplementations"], serviceLoader })
|
|
447
447
|
},
|
|
448
448
|
v2alpha1: {
|
|
449
449
|
/**
|
|
@@ -454,42 +454,42 @@ function createSDK(queryTransport, txTransport) {
|
|
|
454
454
|
getAuthnDescriptor: (0, import_sdkMetadata.withMetadata)(async function getAuthnDescriptor(input = {}, options) {
|
|
455
455
|
const service = await serviceLoader.loadAt(11);
|
|
456
456
|
return getClient(service).getAuthnDescriptor(input, options);
|
|
457
|
-
}, { path: [11,
|
|
457
|
+
}, { path: [11, "getAuthnDescriptor"], serviceLoader }),
|
|
458
458
|
/**
|
|
459
459
|
* getChainDescriptor returns the description of the chain
|
|
460
460
|
*/
|
|
461
461
|
getChainDescriptor: (0, import_sdkMetadata.withMetadata)(async function getChainDescriptor(input = {}, options) {
|
|
462
462
|
const service = await serviceLoader.loadAt(11);
|
|
463
463
|
return getClient(service).getChainDescriptor(input, options);
|
|
464
|
-
}, { path: [11,
|
|
464
|
+
}, { path: [11, "getChainDescriptor"], serviceLoader }),
|
|
465
465
|
/**
|
|
466
466
|
* getCodecDescriptor returns the descriptor of the codec of the application
|
|
467
467
|
*/
|
|
468
468
|
getCodecDescriptor: (0, import_sdkMetadata.withMetadata)(async function getCodecDescriptor(input = {}, options) {
|
|
469
469
|
const service = await serviceLoader.loadAt(11);
|
|
470
470
|
return getClient(service).getCodecDescriptor(input, options);
|
|
471
|
-
}, { path: [11,
|
|
471
|
+
}, { path: [11, "getCodecDescriptor"], serviceLoader }),
|
|
472
472
|
/**
|
|
473
473
|
* getConfigurationDescriptor returns the descriptor for the sdk.Config of the application
|
|
474
474
|
*/
|
|
475
475
|
getConfigurationDescriptor: (0, import_sdkMetadata.withMetadata)(async function getConfigurationDescriptor(input = {}, options) {
|
|
476
476
|
const service = await serviceLoader.loadAt(11);
|
|
477
477
|
return getClient(service).getConfigurationDescriptor(input, options);
|
|
478
|
-
}, { path: [11,
|
|
478
|
+
}, { path: [11, "getConfigurationDescriptor"], serviceLoader }),
|
|
479
479
|
/**
|
|
480
480
|
* getQueryServicesDescriptor returns the available gRPC queryable services of the application
|
|
481
481
|
*/
|
|
482
482
|
getQueryServicesDescriptor: (0, import_sdkMetadata.withMetadata)(async function getQueryServicesDescriptor(input = {}, options) {
|
|
483
483
|
const service = await serviceLoader.loadAt(11);
|
|
484
484
|
return getClient(service).getQueryServicesDescriptor(input, options);
|
|
485
|
-
}, { path: [11,
|
|
485
|
+
}, { path: [11, "getQueryServicesDescriptor"], serviceLoader }),
|
|
486
486
|
/**
|
|
487
487
|
* getTxDescriptor returns information on the used transaction object and available msgs that can be used
|
|
488
488
|
*/
|
|
489
489
|
getTxDescriptor: (0, import_sdkMetadata.withMetadata)(async function getTxDescriptor(input = {}, options) {
|
|
490
490
|
const service = await serviceLoader.loadAt(11);
|
|
491
491
|
return getClient(service).getTxDescriptor(input, options);
|
|
492
|
-
}, { path: [11,
|
|
492
|
+
}, { path: [11, "getTxDescriptor"], serviceLoader })
|
|
493
493
|
}
|
|
494
494
|
},
|
|
495
495
|
tendermint: {
|
|
@@ -500,42 +500,42 @@ function createSDK(queryTransport, txTransport) {
|
|
|
500
500
|
getNodeInfo: (0, import_sdkMetadata.withMetadata)(async function getNodeInfo(input = {}, options) {
|
|
501
501
|
const service = await serviceLoader.loadAt(12);
|
|
502
502
|
return getClient(service).getNodeInfo(input, options);
|
|
503
|
-
}, { path: [12,
|
|
503
|
+
}, { path: [12, "getNodeInfo"], serviceLoader }),
|
|
504
504
|
/**
|
|
505
505
|
* getSyncing queries node syncing.
|
|
506
506
|
*/
|
|
507
507
|
getSyncing: (0, import_sdkMetadata.withMetadata)(async function getSyncing(input = {}, options) {
|
|
508
508
|
const service = await serviceLoader.loadAt(12);
|
|
509
509
|
return getClient(service).getSyncing(input, options);
|
|
510
|
-
}, { path: [12,
|
|
510
|
+
}, { path: [12, "getSyncing"], serviceLoader }),
|
|
511
511
|
/**
|
|
512
512
|
* getLatestBlock returns the latest block.
|
|
513
513
|
*/
|
|
514
514
|
getLatestBlock: (0, import_sdkMetadata.withMetadata)(async function getLatestBlock(input = {}, options) {
|
|
515
515
|
const service = await serviceLoader.loadAt(12);
|
|
516
516
|
return getClient(service).getLatestBlock(input, options);
|
|
517
|
-
}, { path: [12,
|
|
517
|
+
}, { path: [12, "getLatestBlock"], serviceLoader }),
|
|
518
518
|
/**
|
|
519
519
|
* getBlockByHeight queries block for given height.
|
|
520
520
|
*/
|
|
521
521
|
getBlockByHeight: (0, import_sdkMetadata.withMetadata)(async function getBlockByHeight(input, options) {
|
|
522
522
|
const service = await serviceLoader.loadAt(12);
|
|
523
523
|
return getClient(service).getBlockByHeight(input, options);
|
|
524
|
-
}, { path: [12,
|
|
524
|
+
}, { path: [12, "getBlockByHeight"], serviceLoader }),
|
|
525
525
|
/**
|
|
526
526
|
* getLatestValidatorSet queries latest validator-set.
|
|
527
527
|
*/
|
|
528
528
|
getLatestValidatorSet: (0, import_sdkMetadata.withMetadata)(async function getLatestValidatorSet(input, options) {
|
|
529
529
|
const service = await serviceLoader.loadAt(12);
|
|
530
530
|
return getClient(service).getLatestValidatorSet(input, options);
|
|
531
|
-
}, { path: [12,
|
|
531
|
+
}, { path: [12, "getLatestValidatorSet"], serviceLoader }),
|
|
532
532
|
/**
|
|
533
533
|
* getValidatorSetByHeight queries validator-set at a given height.
|
|
534
534
|
*/
|
|
535
535
|
getValidatorSetByHeight: (0, import_sdkMetadata.withMetadata)(async function getValidatorSetByHeight(input, options) {
|
|
536
536
|
const service = await serviceLoader.loadAt(12);
|
|
537
537
|
return getClient(service).getValidatorSetByHeight(input, options);
|
|
538
|
-
}, { path: [12,
|
|
538
|
+
}, { path: [12, "getValidatorSetByHeight"], serviceLoader }),
|
|
539
539
|
/**
|
|
540
540
|
* getABCIQuery defines a query handler that supports ABCI queries directly to the
|
|
541
541
|
* application, bypassing Tendermint completely. The ABCI query must contain
|
|
@@ -544,7 +544,7 @@ function createSDK(queryTransport, txTransport) {
|
|
|
544
544
|
getABCIQuery: (0, import_sdkMetadata.withMetadata)(async function getABCIQuery(input, options) {
|
|
545
545
|
const service = await serviceLoader.loadAt(12);
|
|
546
546
|
return getClient(service).aBCIQuery(input, options);
|
|
547
|
-
}, { path: [12,
|
|
547
|
+
}, { path: [12, "aBCIQuery"], serviceLoader })
|
|
548
548
|
}
|
|
549
549
|
}
|
|
550
550
|
},
|
|
@@ -556,7 +556,7 @@ function createSDK(queryTransport, txTransport) {
|
|
|
556
556
|
loadTest: (0, import_sdkMetadata.withMetadata)(async function loadTest(input, options) {
|
|
557
557
|
const service = await serviceLoader.loadAt(13);
|
|
558
558
|
return getMsgClient(service).loadTest(input, options);
|
|
559
|
-
}, { path: [13,
|
|
559
|
+
}, { path: [13, "loadTest"], serviceLoader })
|
|
560
560
|
}
|
|
561
561
|
},
|
|
562
562
|
circuit: {
|
|
@@ -567,21 +567,21 @@ function createSDK(queryTransport, txTransport) {
|
|
|
567
567
|
getAccount: (0, import_sdkMetadata.withMetadata)(async function getAccount(input, options) {
|
|
568
568
|
const service = await serviceLoader.loadAt(14);
|
|
569
569
|
return getClient(service).account(input, options);
|
|
570
|
-
}, { path: [14,
|
|
570
|
+
}, { path: [14, "account"], serviceLoader }),
|
|
571
571
|
/**
|
|
572
572
|
* Account returns account permissions.
|
|
573
573
|
*/
|
|
574
574
|
getAccounts: (0, import_sdkMetadata.withMetadata)(async function getAccounts(input, options) {
|
|
575
575
|
const service = await serviceLoader.loadAt(14);
|
|
576
576
|
return getClient(service).accounts(input, options);
|
|
577
|
-
}, { path: [14,
|
|
577
|
+
}, { path: [14, "accounts"], serviceLoader }),
|
|
578
578
|
/**
|
|
579
579
|
* getDisabledList returns a list of disabled message urls
|
|
580
580
|
*/
|
|
581
581
|
getDisabledList: (0, import_sdkMetadata.withMetadata)(async function getDisabledList(input = {}, options) {
|
|
582
582
|
const service = await serviceLoader.loadAt(14);
|
|
583
583
|
return getClient(service).disabledList(input, options);
|
|
584
|
-
}, { path: [14,
|
|
584
|
+
}, { path: [14, "disabledList"], serviceLoader }),
|
|
585
585
|
/**
|
|
586
586
|
* authorizeCircuitBreaker allows a super-admin to grant (or revoke) another
|
|
587
587
|
* account's circuit breaker permissions.
|
|
@@ -589,14 +589,14 @@ function createSDK(queryTransport, txTransport) {
|
|
|
589
589
|
authorizeCircuitBreaker: (0, import_sdkMetadata.withMetadata)(async function authorizeCircuitBreaker(input, options) {
|
|
590
590
|
const service = await serviceLoader.loadAt(15);
|
|
591
591
|
return getMsgClient(service).authorizeCircuitBreaker(input, options);
|
|
592
|
-
}, { path: [15,
|
|
592
|
+
}, { path: [15, "authorizeCircuitBreaker"], serviceLoader }),
|
|
593
593
|
/**
|
|
594
594
|
* tripCircuitBreaker pauses processing of Msg's in the state machine.
|
|
595
595
|
*/
|
|
596
596
|
tripCircuitBreaker: (0, import_sdkMetadata.withMetadata)(async function tripCircuitBreaker(input, options) {
|
|
597
597
|
const service = await serviceLoader.loadAt(15);
|
|
598
598
|
return getMsgClient(service).tripCircuitBreaker(input, options);
|
|
599
|
-
}, { path: [15,
|
|
599
|
+
}, { path: [15, "tripCircuitBreaker"], serviceLoader }),
|
|
600
600
|
/**
|
|
601
601
|
* resetCircuitBreaker resumes processing of Msg's in the state machine that
|
|
602
602
|
* have been been paused using TripCircuitBreaker.
|
|
@@ -604,7 +604,7 @@ function createSDK(queryTransport, txTransport) {
|
|
|
604
604
|
resetCircuitBreaker: (0, import_sdkMetadata.withMetadata)(async function resetCircuitBreaker(input, options) {
|
|
605
605
|
const service = await serviceLoader.loadAt(15);
|
|
606
606
|
return getMsgClient(service).resetCircuitBreaker(input, options);
|
|
607
|
-
}, { path: [15,
|
|
607
|
+
}, { path: [15, "resetCircuitBreaker"], serviceLoader })
|
|
608
608
|
}
|
|
609
609
|
},
|
|
610
610
|
consensus: {
|
|
@@ -615,7 +615,7 @@ function createSDK(queryTransport, txTransport) {
|
|
|
615
615
|
getParams: (0, import_sdkMetadata.withMetadata)(async function getParams(input = {}, options) {
|
|
616
616
|
const service = await serviceLoader.loadAt(16);
|
|
617
617
|
return getClient(service).params(input, options);
|
|
618
|
-
}, { path: [16,
|
|
618
|
+
}, { path: [16, "params"], serviceLoader }),
|
|
619
619
|
/**
|
|
620
620
|
* updateParams defines a governance operation for updating the x/consensus module parameters.
|
|
621
621
|
* The authority is defined in the keeper.
|
|
@@ -623,7 +623,7 @@ function createSDK(queryTransport, txTransport) {
|
|
|
623
623
|
updateParams: (0, import_sdkMetadata.withMetadata)(async function updateParams(input, options) {
|
|
624
624
|
const service = await serviceLoader.loadAt(17);
|
|
625
625
|
return getMsgClient(service).updateParams(input, options);
|
|
626
|
-
}, { path: [17,
|
|
626
|
+
}, { path: [17, "updateParams"], serviceLoader })
|
|
627
627
|
}
|
|
628
628
|
},
|
|
629
629
|
counter: {
|
|
@@ -634,14 +634,14 @@ function createSDK(queryTransport, txTransport) {
|
|
|
634
634
|
getCount: (0, import_sdkMetadata.withMetadata)(async function getCount(input = {}, options) {
|
|
635
635
|
const service = await serviceLoader.loadAt(18);
|
|
636
636
|
return getClient(service).getCount(input, options);
|
|
637
|
-
}, { path: [18,
|
|
637
|
+
}, { path: [18, "getCount"], serviceLoader }),
|
|
638
638
|
/**
|
|
639
639
|
* increaseCount increments the counter by the specified amount.
|
|
640
640
|
*/
|
|
641
641
|
increaseCount: (0, import_sdkMetadata.withMetadata)(async function increaseCount(input, options) {
|
|
642
642
|
const service = await serviceLoader.loadAt(19);
|
|
643
643
|
return getMsgClient(service).increaseCount(input, options);
|
|
644
|
-
}, { path: [19,
|
|
644
|
+
}, { path: [19, "increaseCount"], serviceLoader })
|
|
645
645
|
}
|
|
646
646
|
},
|
|
647
647
|
crisis: {
|
|
@@ -652,7 +652,7 @@ function createSDK(queryTransport, txTransport) {
|
|
|
652
652
|
verifyInvariant: (0, import_sdkMetadata.withMetadata)(async function verifyInvariant(input, options) {
|
|
653
653
|
const service = await serviceLoader.loadAt(20);
|
|
654
654
|
return getMsgClient(service).verifyInvariant(input, options);
|
|
655
|
-
}, { path: [20,
|
|
655
|
+
}, { path: [20, "verifyInvariant"], serviceLoader }),
|
|
656
656
|
/**
|
|
657
657
|
* updateParams defines a governance operation for updating the x/crisis module
|
|
658
658
|
* parameters. The authority is defined in the keeper.
|
|
@@ -660,7 +660,7 @@ function createSDK(queryTransport, txTransport) {
|
|
|
660
660
|
updateParams: (0, import_sdkMetadata.withMetadata)(async function updateParams(input, options) {
|
|
661
661
|
const service = await serviceLoader.loadAt(20);
|
|
662
662
|
return getMsgClient(service).updateParams(input, options);
|
|
663
|
-
}, { path: [20,
|
|
663
|
+
}, { path: [20, "updateParams"], serviceLoader })
|
|
664
664
|
}
|
|
665
665
|
},
|
|
666
666
|
distribution: {
|
|
@@ -671,42 +671,42 @@ function createSDK(queryTransport, txTransport) {
|
|
|
671
671
|
getParams: (0, import_sdkMetadata.withMetadata)(async function getParams(input = {}, options) {
|
|
672
672
|
const service = await serviceLoader.loadAt(21);
|
|
673
673
|
return getClient(service).params(input, options);
|
|
674
|
-
}, { path: [21,
|
|
674
|
+
}, { path: [21, "params"], serviceLoader }),
|
|
675
675
|
/**
|
|
676
676
|
* getValidatorDistributionInfo queries validator commission and self-delegation rewards for validator
|
|
677
677
|
*/
|
|
678
678
|
getValidatorDistributionInfo: (0, import_sdkMetadata.withMetadata)(async function getValidatorDistributionInfo(input, options) {
|
|
679
679
|
const service = await serviceLoader.loadAt(21);
|
|
680
680
|
return getClient(service).validatorDistributionInfo(input, options);
|
|
681
|
-
}, { path: [21,
|
|
681
|
+
}, { path: [21, "validatorDistributionInfo"], serviceLoader }),
|
|
682
682
|
/**
|
|
683
683
|
* getValidatorOutstandingRewards queries rewards of a validator address.
|
|
684
684
|
*/
|
|
685
685
|
getValidatorOutstandingRewards: (0, import_sdkMetadata.withMetadata)(async function getValidatorOutstandingRewards(input, options) {
|
|
686
686
|
const service = await serviceLoader.loadAt(21);
|
|
687
687
|
return getClient(service).validatorOutstandingRewards(input, options);
|
|
688
|
-
}, { path: [21,
|
|
688
|
+
}, { path: [21, "validatorOutstandingRewards"], serviceLoader }),
|
|
689
689
|
/**
|
|
690
690
|
* getValidatorCommission queries accumulated commission for a validator.
|
|
691
691
|
*/
|
|
692
692
|
getValidatorCommission: (0, import_sdkMetadata.withMetadata)(async function getValidatorCommission(input, options) {
|
|
693
693
|
const service = await serviceLoader.loadAt(21);
|
|
694
694
|
return getClient(service).validatorCommission(input, options);
|
|
695
|
-
}, { path: [21,
|
|
695
|
+
}, { path: [21, "validatorCommission"], serviceLoader }),
|
|
696
696
|
/**
|
|
697
697
|
* getValidatorSlashes queries slash events of a validator.
|
|
698
698
|
*/
|
|
699
699
|
getValidatorSlashes: (0, import_sdkMetadata.withMetadata)(async function getValidatorSlashes(input, options) {
|
|
700
700
|
const service = await serviceLoader.loadAt(21);
|
|
701
701
|
return getClient(service).validatorSlashes(input, options);
|
|
702
|
-
}, { path: [21,
|
|
702
|
+
}, { path: [21, "validatorSlashes"], serviceLoader }),
|
|
703
703
|
/**
|
|
704
704
|
* getDelegationRewards queries the total rewards accrued by a delegation.
|
|
705
705
|
*/
|
|
706
706
|
getDelegationRewards: (0, import_sdkMetadata.withMetadata)(async function getDelegationRewards(input, options) {
|
|
707
707
|
const service = await serviceLoader.loadAt(21);
|
|
708
708
|
return getClient(service).delegationRewards(input, options);
|
|
709
|
-
}, { path: [21,
|
|
709
|
+
}, { path: [21, "delegationRewards"], serviceLoader }),
|
|
710
710
|
/**
|
|
711
711
|
* getDelegationTotalRewards queries the total rewards accrued by each
|
|
712
712
|
* validator.
|
|
@@ -714,21 +714,21 @@ function createSDK(queryTransport, txTransport) {
|
|
|
714
714
|
getDelegationTotalRewards: (0, import_sdkMetadata.withMetadata)(async function getDelegationTotalRewards(input, options) {
|
|
715
715
|
const service = await serviceLoader.loadAt(21);
|
|
716
716
|
return getClient(service).delegationTotalRewards(input, options);
|
|
717
|
-
}, { path: [21,
|
|
717
|
+
}, { path: [21, "delegationTotalRewards"], serviceLoader }),
|
|
718
718
|
/**
|
|
719
719
|
* getDelegatorValidators queries the validators of a delegator.
|
|
720
720
|
*/
|
|
721
721
|
getDelegatorValidators: (0, import_sdkMetadata.withMetadata)(async function getDelegatorValidators(input, options) {
|
|
722
722
|
const service = await serviceLoader.loadAt(21);
|
|
723
723
|
return getClient(service).delegatorValidators(input, options);
|
|
724
|
-
}, { path: [21,
|
|
724
|
+
}, { path: [21, "delegatorValidators"], serviceLoader }),
|
|
725
725
|
/**
|
|
726
726
|
* getDelegatorWithdrawAddress queries withdraw address of a delegator.
|
|
727
727
|
*/
|
|
728
728
|
getDelegatorWithdrawAddress: (0, import_sdkMetadata.withMetadata)(async function getDelegatorWithdrawAddress(input, options) {
|
|
729
729
|
const service = await serviceLoader.loadAt(21);
|
|
730
730
|
return getClient(service).delegatorWithdrawAddress(input, options);
|
|
731
|
-
}, { path: [21,
|
|
731
|
+
}, { path: [21, "delegatorWithdrawAddress"], serviceLoader }),
|
|
732
732
|
/**
|
|
733
733
|
* getCommunityPool queries the community pool coins.
|
|
734
734
|
*
|
|
@@ -737,7 +737,7 @@ function createSDK(queryTransport, txTransport) {
|
|
|
737
737
|
getCommunityPool: (0, import_sdkMetadata.withMetadata)(async function getCommunityPool(input = {}, options) {
|
|
738
738
|
const service = await serviceLoader.loadAt(21);
|
|
739
739
|
return getClient(service).communityPool(input, options);
|
|
740
|
-
}, { path: [21,
|
|
740
|
+
}, { path: [21, "communityPool"], serviceLoader }),
|
|
741
741
|
/**
|
|
742
742
|
* setWithdrawAddress defines a method to change the withdraw address
|
|
743
743
|
* for a delegator (or validator self-delegation).
|
|
@@ -745,7 +745,7 @@ function createSDK(queryTransport, txTransport) {
|
|
|
745
745
|
setWithdrawAddress: (0, import_sdkMetadata.withMetadata)(async function setWithdrawAddress(input, options) {
|
|
746
746
|
const service = await serviceLoader.loadAt(22);
|
|
747
747
|
return getMsgClient(service).setWithdrawAddress(input, options);
|
|
748
|
-
}, { path: [22,
|
|
748
|
+
}, { path: [22, "setWithdrawAddress"], serviceLoader }),
|
|
749
749
|
/**
|
|
750
750
|
* withdrawDelegatorReward defines a method to withdraw rewards of delegator
|
|
751
751
|
* from a single validator.
|
|
@@ -753,7 +753,7 @@ function createSDK(queryTransport, txTransport) {
|
|
|
753
753
|
withdrawDelegatorReward: (0, import_sdkMetadata.withMetadata)(async function withdrawDelegatorReward(input, options) {
|
|
754
754
|
const service = await serviceLoader.loadAt(22);
|
|
755
755
|
return getMsgClient(service).withdrawDelegatorReward(input, options);
|
|
756
|
-
}, { path: [22,
|
|
756
|
+
}, { path: [22, "withdrawDelegatorReward"], serviceLoader }),
|
|
757
757
|
/**
|
|
758
758
|
* withdrawValidatorCommission defines a method to withdraw the
|
|
759
759
|
* full commission to the validator address.
|
|
@@ -761,7 +761,7 @@ function createSDK(queryTransport, txTransport) {
|
|
|
761
761
|
withdrawValidatorCommission: (0, import_sdkMetadata.withMetadata)(async function withdrawValidatorCommission(input, options) {
|
|
762
762
|
const service = await serviceLoader.loadAt(22);
|
|
763
763
|
return getMsgClient(service).withdrawValidatorCommission(input, options);
|
|
764
|
-
}, { path: [22,
|
|
764
|
+
}, { path: [22, "withdrawValidatorCommission"], serviceLoader }),
|
|
765
765
|
/**
|
|
766
766
|
* fundCommunityPool defines a method to allow an account to directly
|
|
767
767
|
* fund the community pool.
|
|
@@ -771,7 +771,7 @@ function createSDK(queryTransport, txTransport) {
|
|
|
771
771
|
fundCommunityPool: (0, import_sdkMetadata.withMetadata)(async function fundCommunityPool(input, options) {
|
|
772
772
|
const service = await serviceLoader.loadAt(22);
|
|
773
773
|
return getMsgClient(service).fundCommunityPool(input, options);
|
|
774
|
-
}, { path: [22,
|
|
774
|
+
}, { path: [22, "fundCommunityPool"], serviceLoader }),
|
|
775
775
|
/**
|
|
776
776
|
* updateParams defines a governance operation for updating the x/distribution
|
|
777
777
|
* module parameters. The authority is defined in the keeper.
|
|
@@ -779,7 +779,7 @@ function createSDK(queryTransport, txTransport) {
|
|
|
779
779
|
updateParams: (0, import_sdkMetadata.withMetadata)(async function updateParams(input, options) {
|
|
780
780
|
const service = await serviceLoader.loadAt(22);
|
|
781
781
|
return getMsgClient(service).updateParams(input, options);
|
|
782
|
-
}, { path: [22,
|
|
782
|
+
}, { path: [22, "updateParams"], serviceLoader }),
|
|
783
783
|
/**
|
|
784
784
|
* communityPoolSpend defines a governance operation for sending tokens from
|
|
785
785
|
* the community pool in the x/distribution module to another account, which
|
|
@@ -791,7 +791,7 @@ function createSDK(queryTransport, txTransport) {
|
|
|
791
791
|
communityPoolSpend: (0, import_sdkMetadata.withMetadata)(async function communityPoolSpend(input, options) {
|
|
792
792
|
const service = await serviceLoader.loadAt(22);
|
|
793
793
|
return getMsgClient(service).communityPoolSpend(input, options);
|
|
794
|
-
}, { path: [22,
|
|
794
|
+
}, { path: [22, "communityPoolSpend"], serviceLoader }),
|
|
795
795
|
/**
|
|
796
796
|
* depositValidatorRewardsPool defines a method to provide additional rewards
|
|
797
797
|
* to delegators to a specific validator.
|
|
@@ -799,7 +799,7 @@ function createSDK(queryTransport, txTransport) {
|
|
|
799
799
|
depositValidatorRewardsPool: (0, import_sdkMetadata.withMetadata)(async function depositValidatorRewardsPool(input, options) {
|
|
800
800
|
const service = await serviceLoader.loadAt(22);
|
|
801
801
|
return getMsgClient(service).depositValidatorRewardsPool(input, options);
|
|
802
|
-
}, { path: [22,
|
|
802
|
+
}, { path: [22, "depositValidatorRewardsPool"], serviceLoader })
|
|
803
803
|
}
|
|
804
804
|
},
|
|
805
805
|
epochs: {
|
|
@@ -810,14 +810,14 @@ function createSDK(queryTransport, txTransport) {
|
|
|
810
810
|
getEpochInfos: (0, import_sdkMetadata.withMetadata)(async function getEpochInfos(input = {}, options) {
|
|
811
811
|
const service = await serviceLoader.loadAt(23);
|
|
812
812
|
return getClient(service).epochInfos(input, options);
|
|
813
|
-
}, { path: [23,
|
|
813
|
+
}, { path: [23, "epochInfos"], serviceLoader }),
|
|
814
814
|
/**
|
|
815
815
|
* getCurrentEpoch provide current epoch of specified identifier
|
|
816
816
|
*/
|
|
817
817
|
getCurrentEpoch: (0, import_sdkMetadata.withMetadata)(async function getCurrentEpoch(input, options) {
|
|
818
818
|
const service = await serviceLoader.loadAt(23);
|
|
819
819
|
return getClient(service).currentEpoch(input, options);
|
|
820
|
-
}, { path: [23,
|
|
820
|
+
}, { path: [23, "currentEpoch"], serviceLoader })
|
|
821
821
|
}
|
|
822
822
|
},
|
|
823
823
|
evidence: {
|
|
@@ -828,14 +828,14 @@ function createSDK(queryTransport, txTransport) {
|
|
|
828
828
|
getEvidence: (0, import_sdkMetadata.withMetadata)(async function getEvidence(input, options) {
|
|
829
829
|
const service = await serviceLoader.loadAt(24);
|
|
830
830
|
return getClient(service).evidence(input, options);
|
|
831
|
-
}, { path: [24,
|
|
831
|
+
}, { path: [24, "evidence"], serviceLoader }),
|
|
832
832
|
/**
|
|
833
833
|
* getAllEvidence queries all evidence.
|
|
834
834
|
*/
|
|
835
835
|
getAllEvidence: (0, import_sdkMetadata.withMetadata)(async function getAllEvidence(input, options) {
|
|
836
836
|
const service = await serviceLoader.loadAt(24);
|
|
837
837
|
return getClient(service).allEvidence(input, options);
|
|
838
|
-
}, { path: [24,
|
|
838
|
+
}, { path: [24, "allEvidence"], serviceLoader }),
|
|
839
839
|
/**
|
|
840
840
|
* submitEvidence submits an arbitrary Evidence of misbehavior such as equivocation or
|
|
841
841
|
* counterfactual signing.
|
|
@@ -843,7 +843,7 @@ function createSDK(queryTransport, txTransport) {
|
|
|
843
843
|
submitEvidence: (0, import_sdkMetadata.withMetadata)(async function submitEvidence(input, options) {
|
|
844
844
|
const service = await serviceLoader.loadAt(25);
|
|
845
845
|
return getMsgClient(service).submitEvidence(input, options);
|
|
846
|
-
}, { path: [25,
|
|
846
|
+
}, { path: [25, "submitEvidence"], serviceLoader })
|
|
847
847
|
}
|
|
848
848
|
},
|
|
849
849
|
feegrant: {
|
|
@@ -854,21 +854,21 @@ function createSDK(queryTransport, txTransport) {
|
|
|
854
854
|
getAllowance: (0, import_sdkMetadata.withMetadata)(async function getAllowance(input, options) {
|
|
855
855
|
const service = await serviceLoader.loadAt(26);
|
|
856
856
|
return getClient(service).allowance(input, options);
|
|
857
|
-
}, { path: [26,
|
|
857
|
+
}, { path: [26, "allowance"], serviceLoader }),
|
|
858
858
|
/**
|
|
859
859
|
* getAllowances returns all the grants for the given grantee address.
|
|
860
860
|
*/
|
|
861
861
|
getAllowances: (0, import_sdkMetadata.withMetadata)(async function getAllowances(input, options) {
|
|
862
862
|
const service = await serviceLoader.loadAt(26);
|
|
863
863
|
return getClient(service).allowances(input, options);
|
|
864
|
-
}, { path: [26,
|
|
864
|
+
}, { path: [26, "allowances"], serviceLoader }),
|
|
865
865
|
/**
|
|
866
866
|
* getAllowancesByGranter returns all the grants given by an address
|
|
867
867
|
*/
|
|
868
868
|
getAllowancesByGranter: (0, import_sdkMetadata.withMetadata)(async function getAllowancesByGranter(input, options) {
|
|
869
869
|
const service = await serviceLoader.loadAt(26);
|
|
870
870
|
return getClient(service).allowancesByGranter(input, options);
|
|
871
|
-
}, { path: [26,
|
|
871
|
+
}, { path: [26, "allowancesByGranter"], serviceLoader }),
|
|
872
872
|
/**
|
|
873
873
|
* grantAllowance grants fee allowance to the grantee on the granter's
|
|
874
874
|
* account with the provided expiration time.
|
|
@@ -876,7 +876,7 @@ function createSDK(queryTransport, txTransport) {
|
|
|
876
876
|
grantAllowance: (0, import_sdkMetadata.withMetadata)(async function grantAllowance(input, options) {
|
|
877
877
|
const service = await serviceLoader.loadAt(27);
|
|
878
878
|
return getMsgClient(service).grantAllowance(input, options);
|
|
879
|
-
}, { path: [27,
|
|
879
|
+
}, { path: [27, "grantAllowance"], serviceLoader }),
|
|
880
880
|
/**
|
|
881
881
|
* revokeAllowance revokes any fee allowance of granter's account that
|
|
882
882
|
* has been granted to the grantee.
|
|
@@ -884,14 +884,14 @@ function createSDK(queryTransport, txTransport) {
|
|
|
884
884
|
revokeAllowance: (0, import_sdkMetadata.withMetadata)(async function revokeAllowance(input, options) {
|
|
885
885
|
const service = await serviceLoader.loadAt(27);
|
|
886
886
|
return getMsgClient(service).revokeAllowance(input, options);
|
|
887
|
-
}, { path: [27,
|
|
887
|
+
}, { path: [27, "revokeAllowance"], serviceLoader }),
|
|
888
888
|
/**
|
|
889
889
|
* pruneAllowances prunes expired fee allowances, currently up to 75 at a time.
|
|
890
890
|
*/
|
|
891
891
|
pruneAllowances: (0, import_sdkMetadata.withMetadata)(async function pruneAllowances(input, options) {
|
|
892
892
|
const service = await serviceLoader.loadAt(27);
|
|
893
893
|
return getMsgClient(service).pruneAllowances(input, options);
|
|
894
|
-
}, { path: [27,
|
|
894
|
+
}, { path: [27, "pruneAllowances"], serviceLoader })
|
|
895
895
|
}
|
|
896
896
|
},
|
|
897
897
|
gov: {
|
|
@@ -902,70 +902,70 @@ function createSDK(queryTransport, txTransport) {
|
|
|
902
902
|
getConstitution: (0, import_sdkMetadata.withMetadata)(async function getConstitution(input = {}, options) {
|
|
903
903
|
const service = await serviceLoader.loadAt(28);
|
|
904
904
|
return getClient(service).constitution(input, options);
|
|
905
|
-
}, { path: [28,
|
|
905
|
+
}, { path: [28, "constitution"], serviceLoader }),
|
|
906
906
|
/**
|
|
907
907
|
* getProposal queries proposal details based on ProposalID.
|
|
908
908
|
*/
|
|
909
909
|
getProposal: (0, import_sdkMetadata.withMetadata)(async function getProposal(input, options) {
|
|
910
910
|
const service = await serviceLoader.loadAt(28);
|
|
911
911
|
return getClient(service).proposal(input, options);
|
|
912
|
-
}, { path: [28,
|
|
912
|
+
}, { path: [28, "proposal"], serviceLoader }),
|
|
913
913
|
/**
|
|
914
914
|
* getProposals queries all proposals based on given status.
|
|
915
915
|
*/
|
|
916
916
|
getProposals: (0, import_sdkMetadata.withMetadata)(async function getProposals(input, options) {
|
|
917
917
|
const service = await serviceLoader.loadAt(28);
|
|
918
918
|
return getClient(service).proposals(input, options);
|
|
919
|
-
}, { path: [28,
|
|
919
|
+
}, { path: [28, "proposals"], serviceLoader }),
|
|
920
920
|
/**
|
|
921
921
|
* getVote queries voted information based on proposalID, voterAddr.
|
|
922
922
|
*/
|
|
923
923
|
getVote: (0, import_sdkMetadata.withMetadata)(async function getVote(input, options) {
|
|
924
924
|
const service = await serviceLoader.loadAt(28);
|
|
925
925
|
return getClient(service).vote(input, options);
|
|
926
|
-
}, { path: [28,
|
|
926
|
+
}, { path: [28, "vote"], serviceLoader }),
|
|
927
927
|
/**
|
|
928
928
|
* getVotes queries votes of a given proposal.
|
|
929
929
|
*/
|
|
930
930
|
getVotes: (0, import_sdkMetadata.withMetadata)(async function getVotes(input, options) {
|
|
931
931
|
const service = await serviceLoader.loadAt(28);
|
|
932
932
|
return getClient(service).votes(input, options);
|
|
933
|
-
}, { path: [28,
|
|
933
|
+
}, { path: [28, "votes"], serviceLoader }),
|
|
934
934
|
/**
|
|
935
935
|
* getParams queries all parameters of the gov module.
|
|
936
936
|
*/
|
|
937
937
|
getParams: (0, import_sdkMetadata.withMetadata)(async function getParams(input, options) {
|
|
938
938
|
const service = await serviceLoader.loadAt(28);
|
|
939
939
|
return getClient(service).params(input, options);
|
|
940
|
-
}, { path: [28,
|
|
940
|
+
}, { path: [28, "params"], serviceLoader }),
|
|
941
941
|
/**
|
|
942
942
|
* getDeposit queries single deposit information based on proposalID, depositAddr.
|
|
943
943
|
*/
|
|
944
944
|
getDeposit: (0, import_sdkMetadata.withMetadata)(async function getDeposit(input, options) {
|
|
945
945
|
const service = await serviceLoader.loadAt(28);
|
|
946
946
|
return getClient(service).deposit(input, options);
|
|
947
|
-
}, { path: [28,
|
|
947
|
+
}, { path: [28, "deposit"], serviceLoader }),
|
|
948
948
|
/**
|
|
949
949
|
* getDeposits queries all deposits of a single proposal.
|
|
950
950
|
*/
|
|
951
951
|
getDeposits: (0, import_sdkMetadata.withMetadata)(async function getDeposits(input, options) {
|
|
952
952
|
const service = await serviceLoader.loadAt(28);
|
|
953
953
|
return getClient(service).deposits(input, options);
|
|
954
|
-
}, { path: [28,
|
|
954
|
+
}, { path: [28, "deposits"], serviceLoader }),
|
|
955
955
|
/**
|
|
956
956
|
* getTallyResult queries the tally of a proposal vote.
|
|
957
957
|
*/
|
|
958
958
|
getTallyResult: (0, import_sdkMetadata.withMetadata)(async function getTallyResult(input, options) {
|
|
959
959
|
const service = await serviceLoader.loadAt(28);
|
|
960
960
|
return getClient(service).tallyResult(input, options);
|
|
961
|
-
}, { path: [28,
|
|
961
|
+
}, { path: [28, "tallyResult"], serviceLoader }),
|
|
962
962
|
/**
|
|
963
963
|
* submitProposal defines a method to create new proposal given the messages.
|
|
964
964
|
*/
|
|
965
965
|
submitProposal: (0, import_sdkMetadata.withMetadata)(async function submitProposal(input, options) {
|
|
966
966
|
const service = await serviceLoader.loadAt(29);
|
|
967
967
|
return getMsgClient(service).submitProposal(input, options);
|
|
968
|
-
}, { path: [29,
|
|
968
|
+
}, { path: [29, "submitProposal"], serviceLoader }),
|
|
969
969
|
/**
|
|
970
970
|
* execLegacyContent defines a Msg to be in included in a MsgSubmitProposal
|
|
971
971
|
* to execute a legacy content-based proposal.
|
|
@@ -973,28 +973,28 @@ function createSDK(queryTransport, txTransport) {
|
|
|
973
973
|
execLegacyContent: (0, import_sdkMetadata.withMetadata)(async function execLegacyContent(input, options) {
|
|
974
974
|
const service = await serviceLoader.loadAt(29);
|
|
975
975
|
return getMsgClient(service).execLegacyContent(input, options);
|
|
976
|
-
}, { path: [29,
|
|
976
|
+
}, { path: [29, "execLegacyContent"], serviceLoader }),
|
|
977
977
|
/**
|
|
978
978
|
* vote defines a method to add a vote on a specific proposal.
|
|
979
979
|
*/
|
|
980
980
|
vote: (0, import_sdkMetadata.withMetadata)(async function vote(input, options) {
|
|
981
981
|
const service = await serviceLoader.loadAt(29);
|
|
982
982
|
return getMsgClient(service).vote(input, options);
|
|
983
|
-
}, { path: [29,
|
|
983
|
+
}, { path: [29, "vote"], serviceLoader }),
|
|
984
984
|
/**
|
|
985
985
|
* voteWeighted defines a method to add a weighted vote on a specific proposal.
|
|
986
986
|
*/
|
|
987
987
|
voteWeighted: (0, import_sdkMetadata.withMetadata)(async function voteWeighted(input, options) {
|
|
988
988
|
const service = await serviceLoader.loadAt(29);
|
|
989
989
|
return getMsgClient(service).voteWeighted(input, options);
|
|
990
|
-
}, { path: [29,
|
|
990
|
+
}, { path: [29, "voteWeighted"], serviceLoader }),
|
|
991
991
|
/**
|
|
992
992
|
* deposit defines a method to add deposit on a specific proposal.
|
|
993
993
|
*/
|
|
994
994
|
deposit: (0, import_sdkMetadata.withMetadata)(async function deposit(input, options) {
|
|
995
995
|
const service = await serviceLoader.loadAt(29);
|
|
996
996
|
return getMsgClient(service).deposit(input, options);
|
|
997
|
-
}, { path: [29,
|
|
997
|
+
}, { path: [29, "deposit"], serviceLoader }),
|
|
998
998
|
/**
|
|
999
999
|
* updateParams defines a governance operation for updating the x/gov module
|
|
1000
1000
|
* parameters. The authority is defined in the keeper.
|
|
@@ -1002,14 +1002,14 @@ function createSDK(queryTransport, txTransport) {
|
|
|
1002
1002
|
updateParams: (0, import_sdkMetadata.withMetadata)(async function updateParams(input, options) {
|
|
1003
1003
|
const service = await serviceLoader.loadAt(29);
|
|
1004
1004
|
return getMsgClient(service).updateParams(input, options);
|
|
1005
|
-
}, { path: [29,
|
|
1005
|
+
}, { path: [29, "updateParams"], serviceLoader }),
|
|
1006
1006
|
/**
|
|
1007
1007
|
* cancelProposal defines a method to cancel governance proposal
|
|
1008
1008
|
*/
|
|
1009
1009
|
cancelProposal: (0, import_sdkMetadata.withMetadata)(async function cancelProposal(input, options) {
|
|
1010
1010
|
const service = await serviceLoader.loadAt(29);
|
|
1011
1011
|
return getMsgClient(service).cancelProposal(input, options);
|
|
1012
|
-
}, { path: [29,
|
|
1012
|
+
}, { path: [29, "cancelProposal"], serviceLoader })
|
|
1013
1013
|
},
|
|
1014
1014
|
v1beta1: {
|
|
1015
1015
|
/**
|
|
@@ -1018,84 +1018,84 @@ function createSDK(queryTransport, txTransport) {
|
|
|
1018
1018
|
getProposal: (0, import_sdkMetadata.withMetadata)(async function getProposal(input, options) {
|
|
1019
1019
|
const service = await serviceLoader.loadAt(30);
|
|
1020
1020
|
return getClient(service).proposal(input, options);
|
|
1021
|
-
}, { path: [30,
|
|
1021
|
+
}, { path: [30, "proposal"], serviceLoader }),
|
|
1022
1022
|
/**
|
|
1023
1023
|
* getProposals queries all proposals based on given status.
|
|
1024
1024
|
*/
|
|
1025
1025
|
getProposals: (0, import_sdkMetadata.withMetadata)(async function getProposals(input, options) {
|
|
1026
1026
|
const service = await serviceLoader.loadAt(30);
|
|
1027
1027
|
return getClient(service).proposals(input, options);
|
|
1028
|
-
}, { path: [30,
|
|
1028
|
+
}, { path: [30, "proposals"], serviceLoader }),
|
|
1029
1029
|
/**
|
|
1030
1030
|
* getVote queries voted information based on proposalID, voterAddr.
|
|
1031
1031
|
*/
|
|
1032
1032
|
getVote: (0, import_sdkMetadata.withMetadata)(async function getVote(input, options) {
|
|
1033
1033
|
const service = await serviceLoader.loadAt(30);
|
|
1034
1034
|
return getClient(service).vote(input, options);
|
|
1035
|
-
}, { path: [30,
|
|
1035
|
+
}, { path: [30, "vote"], serviceLoader }),
|
|
1036
1036
|
/**
|
|
1037
1037
|
* getVotes queries votes of a given proposal.
|
|
1038
1038
|
*/
|
|
1039
1039
|
getVotes: (0, import_sdkMetadata.withMetadata)(async function getVotes(input, options) {
|
|
1040
1040
|
const service = await serviceLoader.loadAt(30);
|
|
1041
1041
|
return getClient(service).votes(input, options);
|
|
1042
|
-
}, { path: [30,
|
|
1042
|
+
}, { path: [30, "votes"], serviceLoader }),
|
|
1043
1043
|
/**
|
|
1044
1044
|
* getParams queries all parameters of the gov module.
|
|
1045
1045
|
*/
|
|
1046
1046
|
getParams: (0, import_sdkMetadata.withMetadata)(async function getParams(input, options) {
|
|
1047
1047
|
const service = await serviceLoader.loadAt(30);
|
|
1048
1048
|
return getClient(service).params(input, options);
|
|
1049
|
-
}, { path: [30,
|
|
1049
|
+
}, { path: [30, "params"], serviceLoader }),
|
|
1050
1050
|
/**
|
|
1051
1051
|
* getDeposit queries single deposit information based on proposalID, depositor address.
|
|
1052
1052
|
*/
|
|
1053
1053
|
getDeposit: (0, import_sdkMetadata.withMetadata)(async function getDeposit(input, options) {
|
|
1054
1054
|
const service = await serviceLoader.loadAt(30);
|
|
1055
1055
|
return getClient(service).deposit(input, options);
|
|
1056
|
-
}, { path: [30,
|
|
1056
|
+
}, { path: [30, "deposit"], serviceLoader }),
|
|
1057
1057
|
/**
|
|
1058
1058
|
* getDeposits queries all deposits of a single proposal.
|
|
1059
1059
|
*/
|
|
1060
1060
|
getDeposits: (0, import_sdkMetadata.withMetadata)(async function getDeposits(input, options) {
|
|
1061
1061
|
const service = await serviceLoader.loadAt(30);
|
|
1062
1062
|
return getClient(service).deposits(input, options);
|
|
1063
|
-
}, { path: [30,
|
|
1063
|
+
}, { path: [30, "deposits"], serviceLoader }),
|
|
1064
1064
|
/**
|
|
1065
1065
|
* getTallyResult queries the tally of a proposal vote.
|
|
1066
1066
|
*/
|
|
1067
1067
|
getTallyResult: (0, import_sdkMetadata.withMetadata)(async function getTallyResult(input, options) {
|
|
1068
1068
|
const service = await serviceLoader.loadAt(30);
|
|
1069
1069
|
return getClient(service).tallyResult(input, options);
|
|
1070
|
-
}, { path: [30,
|
|
1070
|
+
}, { path: [30, "tallyResult"], serviceLoader }),
|
|
1071
1071
|
/**
|
|
1072
1072
|
* submitProposal defines a method to create new proposal given a content.
|
|
1073
1073
|
*/
|
|
1074
1074
|
submitProposal: (0, import_sdkMetadata.withMetadata)(async function submitProposal(input, options) {
|
|
1075
1075
|
const service = await serviceLoader.loadAt(31);
|
|
1076
1076
|
return getMsgClient(service).submitProposal(input, options);
|
|
1077
|
-
}, { path: [31,
|
|
1077
|
+
}, { path: [31, "submitProposal"], serviceLoader }),
|
|
1078
1078
|
/**
|
|
1079
1079
|
* vote defines a method to add a vote on a specific proposal.
|
|
1080
1080
|
*/
|
|
1081
1081
|
vote: (0, import_sdkMetadata.withMetadata)(async function vote(input, options) {
|
|
1082
1082
|
const service = await serviceLoader.loadAt(31);
|
|
1083
1083
|
return getMsgClient(service).vote(input, options);
|
|
1084
|
-
}, { path: [31,
|
|
1084
|
+
}, { path: [31, "vote"], serviceLoader }),
|
|
1085
1085
|
/**
|
|
1086
1086
|
* voteWeighted defines a method to add a weighted vote on a specific proposal.
|
|
1087
1087
|
*/
|
|
1088
1088
|
voteWeighted: (0, import_sdkMetadata.withMetadata)(async function voteWeighted(input, options) {
|
|
1089
1089
|
const service = await serviceLoader.loadAt(31);
|
|
1090
1090
|
return getMsgClient(service).voteWeighted(input, options);
|
|
1091
|
-
}, { path: [31,
|
|
1091
|
+
}, { path: [31, "voteWeighted"], serviceLoader }),
|
|
1092
1092
|
/**
|
|
1093
1093
|
* deposit defines a method to add deposit on a specific proposal.
|
|
1094
1094
|
*/
|
|
1095
1095
|
deposit: (0, import_sdkMetadata.withMetadata)(async function deposit(input, options) {
|
|
1096
1096
|
const service = await serviceLoader.loadAt(31);
|
|
1097
1097
|
return getMsgClient(service).deposit(input, options);
|
|
1098
|
-
}, { path: [31,
|
|
1098
|
+
}, { path: [31, "deposit"], serviceLoader })
|
|
1099
1099
|
}
|
|
1100
1100
|
},
|
|
1101
1101
|
group: {
|
|
@@ -1106,84 +1106,84 @@ function createSDK(queryTransport, txTransport) {
|
|
|
1106
1106
|
getGroupInfo: (0, import_sdkMetadata.withMetadata)(async function getGroupInfo(input, options) {
|
|
1107
1107
|
const service = await serviceLoader.loadAt(32);
|
|
1108
1108
|
return getClient(service).groupInfo(input, options);
|
|
1109
|
-
}, { path: [32,
|
|
1109
|
+
}, { path: [32, "groupInfo"], serviceLoader }),
|
|
1110
1110
|
/**
|
|
1111
1111
|
* getGroupPolicyInfo queries group policy info based on account address of group policy.
|
|
1112
1112
|
*/
|
|
1113
1113
|
getGroupPolicyInfo: (0, import_sdkMetadata.withMetadata)(async function getGroupPolicyInfo(input, options) {
|
|
1114
1114
|
const service = await serviceLoader.loadAt(32);
|
|
1115
1115
|
return getClient(service).groupPolicyInfo(input, options);
|
|
1116
|
-
}, { path: [32,
|
|
1116
|
+
}, { path: [32, "groupPolicyInfo"], serviceLoader }),
|
|
1117
1117
|
/**
|
|
1118
1118
|
* getGroupMembers queries members of a group by group id.
|
|
1119
1119
|
*/
|
|
1120
1120
|
getGroupMembers: (0, import_sdkMetadata.withMetadata)(async function getGroupMembers(input, options) {
|
|
1121
1121
|
const service = await serviceLoader.loadAt(32);
|
|
1122
1122
|
return getClient(service).groupMembers(input, options);
|
|
1123
|
-
}, { path: [32,
|
|
1123
|
+
}, { path: [32, "groupMembers"], serviceLoader }),
|
|
1124
1124
|
/**
|
|
1125
1125
|
* getGroupsByAdmin queries groups by admin address.
|
|
1126
1126
|
*/
|
|
1127
1127
|
getGroupsByAdmin: (0, import_sdkMetadata.withMetadata)(async function getGroupsByAdmin(input, options) {
|
|
1128
1128
|
const service = await serviceLoader.loadAt(32);
|
|
1129
1129
|
return getClient(service).groupsByAdmin(input, options);
|
|
1130
|
-
}, { path: [32,
|
|
1130
|
+
}, { path: [32, "groupsByAdmin"], serviceLoader }),
|
|
1131
1131
|
/**
|
|
1132
1132
|
* getGroupPoliciesByGroup queries group policies by group id.
|
|
1133
1133
|
*/
|
|
1134
1134
|
getGroupPoliciesByGroup: (0, import_sdkMetadata.withMetadata)(async function getGroupPoliciesByGroup(input, options) {
|
|
1135
1135
|
const service = await serviceLoader.loadAt(32);
|
|
1136
1136
|
return getClient(service).groupPoliciesByGroup(input, options);
|
|
1137
|
-
}, { path: [32,
|
|
1137
|
+
}, { path: [32, "groupPoliciesByGroup"], serviceLoader }),
|
|
1138
1138
|
/**
|
|
1139
1139
|
* getGroupPoliciesByAdmin queries group policies by admin address.
|
|
1140
1140
|
*/
|
|
1141
1141
|
getGroupPoliciesByAdmin: (0, import_sdkMetadata.withMetadata)(async function getGroupPoliciesByAdmin(input, options) {
|
|
1142
1142
|
const service = await serviceLoader.loadAt(32);
|
|
1143
1143
|
return getClient(service).groupPoliciesByAdmin(input, options);
|
|
1144
|
-
}, { path: [32,
|
|
1144
|
+
}, { path: [32, "groupPoliciesByAdmin"], serviceLoader }),
|
|
1145
1145
|
/**
|
|
1146
1146
|
* getProposal queries a proposal based on proposal id.
|
|
1147
1147
|
*/
|
|
1148
1148
|
getProposal: (0, import_sdkMetadata.withMetadata)(async function getProposal(input, options) {
|
|
1149
1149
|
const service = await serviceLoader.loadAt(32);
|
|
1150
1150
|
return getClient(service).proposal(input, options);
|
|
1151
|
-
}, { path: [32,
|
|
1151
|
+
}, { path: [32, "proposal"], serviceLoader }),
|
|
1152
1152
|
/**
|
|
1153
1153
|
* getProposalsByGroupPolicy queries proposals based on account address of group policy.
|
|
1154
1154
|
*/
|
|
1155
1155
|
getProposalsByGroupPolicy: (0, import_sdkMetadata.withMetadata)(async function getProposalsByGroupPolicy(input, options) {
|
|
1156
1156
|
const service = await serviceLoader.loadAt(32);
|
|
1157
1157
|
return getClient(service).proposalsByGroupPolicy(input, options);
|
|
1158
|
-
}, { path: [32,
|
|
1158
|
+
}, { path: [32, "proposalsByGroupPolicy"], serviceLoader }),
|
|
1159
1159
|
/**
|
|
1160
1160
|
* getVoteByProposalVoter queries a vote by proposal id and voter.
|
|
1161
1161
|
*/
|
|
1162
1162
|
getVoteByProposalVoter: (0, import_sdkMetadata.withMetadata)(async function getVoteByProposalVoter(input, options) {
|
|
1163
1163
|
const service = await serviceLoader.loadAt(32);
|
|
1164
1164
|
return getClient(service).voteByProposalVoter(input, options);
|
|
1165
|
-
}, { path: [32,
|
|
1165
|
+
}, { path: [32, "voteByProposalVoter"], serviceLoader }),
|
|
1166
1166
|
/**
|
|
1167
1167
|
* getVotesByProposal queries a vote by proposal id.
|
|
1168
1168
|
*/
|
|
1169
1169
|
getVotesByProposal: (0, import_sdkMetadata.withMetadata)(async function getVotesByProposal(input, options) {
|
|
1170
1170
|
const service = await serviceLoader.loadAt(32);
|
|
1171
1171
|
return getClient(service).votesByProposal(input, options);
|
|
1172
|
-
}, { path: [32,
|
|
1172
|
+
}, { path: [32, "votesByProposal"], serviceLoader }),
|
|
1173
1173
|
/**
|
|
1174
1174
|
* getVotesByVoter queries a vote by voter.
|
|
1175
1175
|
*/
|
|
1176
1176
|
getVotesByVoter: (0, import_sdkMetadata.withMetadata)(async function getVotesByVoter(input, options) {
|
|
1177
1177
|
const service = await serviceLoader.loadAt(32);
|
|
1178
1178
|
return getClient(service).votesByVoter(input, options);
|
|
1179
|
-
}, { path: [32,
|
|
1179
|
+
}, { path: [32, "votesByVoter"], serviceLoader }),
|
|
1180
1180
|
/**
|
|
1181
1181
|
* getGroupsByMember queries groups by member address.
|
|
1182
1182
|
*/
|
|
1183
1183
|
getGroupsByMember: (0, import_sdkMetadata.withMetadata)(async function getGroupsByMember(input, options) {
|
|
1184
1184
|
const service = await serviceLoader.loadAt(32);
|
|
1185
1185
|
return getClient(service).groupsByMember(input, options);
|
|
1186
|
-
}, { path: [32,
|
|
1186
|
+
}, { path: [32, "groupsByMember"], serviceLoader }),
|
|
1187
1187
|
/**
|
|
1188
1188
|
* getTallyResult returns the tally result of a proposal. If the proposal is
|
|
1189
1189
|
* still in voting period, then this query computes the current tally state,
|
|
@@ -1194,112 +1194,112 @@ function createSDK(queryTransport, txTransport) {
|
|
|
1194
1194
|
getTallyResult: (0, import_sdkMetadata.withMetadata)(async function getTallyResult(input, options) {
|
|
1195
1195
|
const service = await serviceLoader.loadAt(32);
|
|
1196
1196
|
return getClient(service).tallyResult(input, options);
|
|
1197
|
-
}, { path: [32,
|
|
1197
|
+
}, { path: [32, "tallyResult"], serviceLoader }),
|
|
1198
1198
|
/**
|
|
1199
1199
|
* getGroups queries all groups in state.
|
|
1200
1200
|
*/
|
|
1201
1201
|
getGroups: (0, import_sdkMetadata.withMetadata)(async function getGroups(input, options) {
|
|
1202
1202
|
const service = await serviceLoader.loadAt(32);
|
|
1203
1203
|
return getClient(service).groups(input, options);
|
|
1204
|
-
}, { path: [32,
|
|
1204
|
+
}, { path: [32, "groups"], serviceLoader }),
|
|
1205
1205
|
/**
|
|
1206
1206
|
* createGroup creates a new group with an admin account address, a list of members and some optional metadata.
|
|
1207
1207
|
*/
|
|
1208
1208
|
createGroup: (0, import_sdkMetadata.withMetadata)(async function createGroup(input, options) {
|
|
1209
1209
|
const service = await serviceLoader.loadAt(33);
|
|
1210
1210
|
return getMsgClient(service).createGroup(input, options);
|
|
1211
|
-
}, { path: [33,
|
|
1211
|
+
}, { path: [33, "createGroup"], serviceLoader }),
|
|
1212
1212
|
/**
|
|
1213
1213
|
* updateGroupMembers updates the group members with given group id and admin address.
|
|
1214
1214
|
*/
|
|
1215
1215
|
updateGroupMembers: (0, import_sdkMetadata.withMetadata)(async function updateGroupMembers(input, options) {
|
|
1216
1216
|
const service = await serviceLoader.loadAt(33);
|
|
1217
1217
|
return getMsgClient(service).updateGroupMembers(input, options);
|
|
1218
|
-
}, { path: [33,
|
|
1218
|
+
}, { path: [33, "updateGroupMembers"], serviceLoader }),
|
|
1219
1219
|
/**
|
|
1220
1220
|
* updateGroupAdmin updates the group admin with given group id and previous admin address.
|
|
1221
1221
|
*/
|
|
1222
1222
|
updateGroupAdmin: (0, import_sdkMetadata.withMetadata)(async function updateGroupAdmin(input, options) {
|
|
1223
1223
|
const service = await serviceLoader.loadAt(33);
|
|
1224
1224
|
return getMsgClient(service).updateGroupAdmin(input, options);
|
|
1225
|
-
}, { path: [33,
|
|
1225
|
+
}, { path: [33, "updateGroupAdmin"], serviceLoader }),
|
|
1226
1226
|
/**
|
|
1227
1227
|
* updateGroupMetadata updates the group metadata with given group id and admin address.
|
|
1228
1228
|
*/
|
|
1229
1229
|
updateGroupMetadata: (0, import_sdkMetadata.withMetadata)(async function updateGroupMetadata(input, options) {
|
|
1230
1230
|
const service = await serviceLoader.loadAt(33);
|
|
1231
1231
|
return getMsgClient(service).updateGroupMetadata(input, options);
|
|
1232
|
-
}, { path: [33,
|
|
1232
|
+
}, { path: [33, "updateGroupMetadata"], serviceLoader }),
|
|
1233
1233
|
/**
|
|
1234
1234
|
* createGroupPolicy creates a new group policy using given DecisionPolicy.
|
|
1235
1235
|
*/
|
|
1236
1236
|
createGroupPolicy: (0, import_sdkMetadata.withMetadata)(async function createGroupPolicy(input, options) {
|
|
1237
1237
|
const service = await serviceLoader.loadAt(33);
|
|
1238
1238
|
return getMsgClient(service).createGroupPolicy(input, options);
|
|
1239
|
-
}, { path: [33,
|
|
1239
|
+
}, { path: [33, "createGroupPolicy"], serviceLoader }),
|
|
1240
1240
|
/**
|
|
1241
1241
|
* createGroupWithPolicy creates a new group with policy.
|
|
1242
1242
|
*/
|
|
1243
1243
|
createGroupWithPolicy: (0, import_sdkMetadata.withMetadata)(async function createGroupWithPolicy(input, options) {
|
|
1244
1244
|
const service = await serviceLoader.loadAt(33);
|
|
1245
1245
|
return getMsgClient(service).createGroupWithPolicy(input, options);
|
|
1246
|
-
}, { path: [33,
|
|
1246
|
+
}, { path: [33, "createGroupWithPolicy"], serviceLoader }),
|
|
1247
1247
|
/**
|
|
1248
1248
|
* updateGroupPolicyAdmin updates a group policy admin.
|
|
1249
1249
|
*/
|
|
1250
1250
|
updateGroupPolicyAdmin: (0, import_sdkMetadata.withMetadata)(async function updateGroupPolicyAdmin(input, options) {
|
|
1251
1251
|
const service = await serviceLoader.loadAt(33);
|
|
1252
1252
|
return getMsgClient(service).updateGroupPolicyAdmin(input, options);
|
|
1253
|
-
}, { path: [33,
|
|
1253
|
+
}, { path: [33, "updateGroupPolicyAdmin"], serviceLoader }),
|
|
1254
1254
|
/**
|
|
1255
1255
|
* updateGroupPolicyDecisionPolicy allows a group policy's decision policy to be updated.
|
|
1256
1256
|
*/
|
|
1257
1257
|
updateGroupPolicyDecisionPolicy: (0, import_sdkMetadata.withMetadata)(async function updateGroupPolicyDecisionPolicy(input, options) {
|
|
1258
1258
|
const service = await serviceLoader.loadAt(33);
|
|
1259
1259
|
return getMsgClient(service).updateGroupPolicyDecisionPolicy(input, options);
|
|
1260
|
-
}, { path: [33,
|
|
1260
|
+
}, { path: [33, "updateGroupPolicyDecisionPolicy"], serviceLoader }),
|
|
1261
1261
|
/**
|
|
1262
1262
|
* updateGroupPolicyMetadata updates a group policy metadata.
|
|
1263
1263
|
*/
|
|
1264
1264
|
updateGroupPolicyMetadata: (0, import_sdkMetadata.withMetadata)(async function updateGroupPolicyMetadata(input, options) {
|
|
1265
1265
|
const service = await serviceLoader.loadAt(33);
|
|
1266
1266
|
return getMsgClient(service).updateGroupPolicyMetadata(input, options);
|
|
1267
|
-
}, { path: [33,
|
|
1267
|
+
}, { path: [33, "updateGroupPolicyMetadata"], serviceLoader }),
|
|
1268
1268
|
/**
|
|
1269
1269
|
* submitProposal submits a new proposal.
|
|
1270
1270
|
*/
|
|
1271
1271
|
submitProposal: (0, import_sdkMetadata.withMetadata)(async function submitProposal(input, options) {
|
|
1272
1272
|
const service = await serviceLoader.loadAt(33);
|
|
1273
1273
|
return getMsgClient(service).submitProposal(input, options);
|
|
1274
|
-
}, { path: [33,
|
|
1274
|
+
}, { path: [33, "submitProposal"], serviceLoader }),
|
|
1275
1275
|
/**
|
|
1276
1276
|
* withdrawProposal withdraws a proposal.
|
|
1277
1277
|
*/
|
|
1278
1278
|
withdrawProposal: (0, import_sdkMetadata.withMetadata)(async function withdrawProposal(input, options) {
|
|
1279
1279
|
const service = await serviceLoader.loadAt(33);
|
|
1280
1280
|
return getMsgClient(service).withdrawProposal(input, options);
|
|
1281
|
-
}, { path: [33,
|
|
1281
|
+
}, { path: [33, "withdrawProposal"], serviceLoader }),
|
|
1282
1282
|
/**
|
|
1283
1283
|
* vote allows a voter to vote on a proposal.
|
|
1284
1284
|
*/
|
|
1285
1285
|
vote: (0, import_sdkMetadata.withMetadata)(async function vote(input, options) {
|
|
1286
1286
|
const service = await serviceLoader.loadAt(33);
|
|
1287
1287
|
return getMsgClient(service).vote(input, options);
|
|
1288
|
-
}, { path: [33,
|
|
1288
|
+
}, { path: [33, "vote"], serviceLoader }),
|
|
1289
1289
|
/**
|
|
1290
1290
|
* exec executes a proposal.
|
|
1291
1291
|
*/
|
|
1292
1292
|
exec: (0, import_sdkMetadata.withMetadata)(async function exec(input, options) {
|
|
1293
1293
|
const service = await serviceLoader.loadAt(33);
|
|
1294
1294
|
return getMsgClient(service).exec(input, options);
|
|
1295
|
-
}, { path: [33,
|
|
1295
|
+
}, { path: [33, "exec"], serviceLoader }),
|
|
1296
1296
|
/**
|
|
1297
1297
|
* leaveGroup allows a group member to leave the group.
|
|
1298
1298
|
*/
|
|
1299
1299
|
leaveGroup: (0, import_sdkMetadata.withMetadata)(async function leaveGroup(input, options) {
|
|
1300
1300
|
const service = await serviceLoader.loadAt(33);
|
|
1301
1301
|
return getMsgClient(service).leaveGroup(input, options);
|
|
1302
|
-
}, { path: [33,
|
|
1302
|
+
}, { path: [33, "leaveGroup"], serviceLoader })
|
|
1303
1303
|
}
|
|
1304
1304
|
},
|
|
1305
1305
|
mint: {
|
|
@@ -1310,21 +1310,21 @@ function createSDK(queryTransport, txTransport) {
|
|
|
1310
1310
|
getParams: (0, import_sdkMetadata.withMetadata)(async function getParams(input = {}, options) {
|
|
1311
1311
|
const service = await serviceLoader.loadAt(34);
|
|
1312
1312
|
return getClient(service).params(input, options);
|
|
1313
|
-
}, { path: [34,
|
|
1313
|
+
}, { path: [34, "params"], serviceLoader }),
|
|
1314
1314
|
/**
|
|
1315
1315
|
* getInflation returns the current minting inflation value.
|
|
1316
1316
|
*/
|
|
1317
1317
|
getInflation: (0, import_sdkMetadata.withMetadata)(async function getInflation(input = {}, options) {
|
|
1318
1318
|
const service = await serviceLoader.loadAt(34);
|
|
1319
1319
|
return getClient(service).inflation(input, options);
|
|
1320
|
-
}, { path: [34,
|
|
1320
|
+
}, { path: [34, "inflation"], serviceLoader }),
|
|
1321
1321
|
/**
|
|
1322
1322
|
* getAnnualProvisions current minting annual provisions value.
|
|
1323
1323
|
*/
|
|
1324
1324
|
getAnnualProvisions: (0, import_sdkMetadata.withMetadata)(async function getAnnualProvisions(input = {}, options) {
|
|
1325
1325
|
const service = await serviceLoader.loadAt(34);
|
|
1326
1326
|
return getClient(service).annualProvisions(input, options);
|
|
1327
|
-
}, { path: [34,
|
|
1327
|
+
}, { path: [34, "annualProvisions"], serviceLoader }),
|
|
1328
1328
|
/**
|
|
1329
1329
|
* updateParams defines a governance operation for updating the x/mint module
|
|
1330
1330
|
* parameters. The authority is defaults to the x/gov module account.
|
|
@@ -1332,7 +1332,7 @@ function createSDK(queryTransport, txTransport) {
|
|
|
1332
1332
|
updateParams: (0, import_sdkMetadata.withMetadata)(async function updateParams(input, options) {
|
|
1333
1333
|
const service = await serviceLoader.loadAt(35);
|
|
1334
1334
|
return getMsgClient(service).updateParams(input, options);
|
|
1335
|
-
}, { path: [35,
|
|
1335
|
+
}, { path: [35, "updateParams"], serviceLoader })
|
|
1336
1336
|
}
|
|
1337
1337
|
},
|
|
1338
1338
|
nft: {
|
|
@@ -1343,21 +1343,21 @@ function createSDK(queryTransport, txTransport) {
|
|
|
1343
1343
|
getBalance: (0, import_sdkMetadata.withMetadata)(async function getBalance(input, options) {
|
|
1344
1344
|
const service = await serviceLoader.loadAt(36);
|
|
1345
1345
|
return getClient(service).balance(input, options);
|
|
1346
|
-
}, { path: [36,
|
|
1346
|
+
}, { path: [36, "balance"], serviceLoader }),
|
|
1347
1347
|
/**
|
|
1348
1348
|
* getOwner queries the owner of the NFT based on its class and id, same as ownerOf in ERC721
|
|
1349
1349
|
*/
|
|
1350
1350
|
getOwner: (0, import_sdkMetadata.withMetadata)(async function getOwner(input, options) {
|
|
1351
1351
|
const service = await serviceLoader.loadAt(36);
|
|
1352
1352
|
return getClient(service).owner(input, options);
|
|
1353
|
-
}, { path: [36,
|
|
1353
|
+
}, { path: [36, "owner"], serviceLoader }),
|
|
1354
1354
|
/**
|
|
1355
1355
|
* getSupply queries the number of NFTs from the given class, same as totalSupply of ERC721.
|
|
1356
1356
|
*/
|
|
1357
1357
|
getSupply: (0, import_sdkMetadata.withMetadata)(async function getSupply(input, options) {
|
|
1358
1358
|
const service = await serviceLoader.loadAt(36);
|
|
1359
1359
|
return getClient(service).supply(input, options);
|
|
1360
|
-
}, { path: [36,
|
|
1360
|
+
}, { path: [36, "supply"], serviceLoader }),
|
|
1361
1361
|
/**
|
|
1362
1362
|
* getNFTs queries all getNFTs of a given class or owner,choose at least one of the two, similar to tokenByIndex in
|
|
1363
1363
|
* ERC721Enumerable
|
|
@@ -1365,35 +1365,35 @@ function createSDK(queryTransport, txTransport) {
|
|
|
1365
1365
|
getNFTs: (0, import_sdkMetadata.withMetadata)(async function getNFTs(input, options) {
|
|
1366
1366
|
const service = await serviceLoader.loadAt(36);
|
|
1367
1367
|
return getClient(service).nFTs(input, options);
|
|
1368
|
-
}, { path: [36,
|
|
1368
|
+
}, { path: [36, "nFTs"], serviceLoader }),
|
|
1369
1369
|
/**
|
|
1370
1370
|
* getNFT queries an getNFT based on its class and id.
|
|
1371
1371
|
*/
|
|
1372
1372
|
getNFT: (0, import_sdkMetadata.withMetadata)(async function getNFT(input, options) {
|
|
1373
1373
|
const service = await serviceLoader.loadAt(36);
|
|
1374
1374
|
return getClient(service).nFT(input, options);
|
|
1375
|
-
}, { path: [36,
|
|
1375
|
+
}, { path: [36, "nFT"], serviceLoader }),
|
|
1376
1376
|
/**
|
|
1377
1377
|
* getClass queries an NFT class based on its id
|
|
1378
1378
|
*/
|
|
1379
1379
|
getClass: (0, import_sdkMetadata.withMetadata)(async function getClass(input, options) {
|
|
1380
1380
|
const service = await serviceLoader.loadAt(36);
|
|
1381
1381
|
return getClient(service).class(input, options);
|
|
1382
|
-
}, { path: [36,
|
|
1382
|
+
}, { path: [36, "class"], serviceLoader }),
|
|
1383
1383
|
/**
|
|
1384
1384
|
* getClasses queries all NFT classes
|
|
1385
1385
|
*/
|
|
1386
1386
|
getClasses: (0, import_sdkMetadata.withMetadata)(async function getClasses(input, options) {
|
|
1387
1387
|
const service = await serviceLoader.loadAt(36);
|
|
1388
1388
|
return getClient(service).classes(input, options);
|
|
1389
|
-
}, { path: [36,
|
|
1389
|
+
}, { path: [36, "classes"], serviceLoader }),
|
|
1390
1390
|
/**
|
|
1391
1391
|
* send defines a method to send a nft from one account to another account.
|
|
1392
1392
|
*/
|
|
1393
1393
|
send: (0, import_sdkMetadata.withMetadata)(async function send(input, options) {
|
|
1394
1394
|
const service = await serviceLoader.loadAt(37);
|
|
1395
1395
|
return getMsgClient(service).send(input, options);
|
|
1396
|
-
}, { path: [37,
|
|
1396
|
+
}, { path: [37, "send"], serviceLoader })
|
|
1397
1397
|
}
|
|
1398
1398
|
},
|
|
1399
1399
|
params: {
|
|
@@ -1405,14 +1405,14 @@ function createSDK(queryTransport, txTransport) {
|
|
|
1405
1405
|
getParams: (0, import_sdkMetadata.withMetadata)(async function getParams(input, options) {
|
|
1406
1406
|
const service = await serviceLoader.loadAt(38);
|
|
1407
1407
|
return getClient(service).params(input, options);
|
|
1408
|
-
}, { path: [38,
|
|
1408
|
+
}, { path: [38, "params"], serviceLoader }),
|
|
1409
1409
|
/**
|
|
1410
1410
|
* getSubspaces queries for all registered subspaces and all keys for a subspace.
|
|
1411
1411
|
*/
|
|
1412
1412
|
getSubspaces: (0, import_sdkMetadata.withMetadata)(async function getSubspaces(input = {}, options) {
|
|
1413
1413
|
const service = await serviceLoader.loadAt(38);
|
|
1414
1414
|
return getClient(service).subspaces(input, options);
|
|
1415
|
-
}, { path: [38,
|
|
1415
|
+
}, { path: [38, "subspaces"], serviceLoader })
|
|
1416
1416
|
}
|
|
1417
1417
|
},
|
|
1418
1418
|
protocolpool: {
|
|
@@ -1423,28 +1423,28 @@ function createSDK(queryTransport, txTransport) {
|
|
|
1423
1423
|
getCommunityPool: (0, import_sdkMetadata.withMetadata)(async function getCommunityPool(input = {}, options) {
|
|
1424
1424
|
const service = await serviceLoader.loadAt(39);
|
|
1425
1425
|
return getClient(service).communityPool(input, options);
|
|
1426
|
-
}, { path: [39,
|
|
1426
|
+
}, { path: [39, "communityPool"], serviceLoader }),
|
|
1427
1427
|
/**
|
|
1428
1428
|
* getContinuousFund queries a continuous fund by the recipient is is associated with.
|
|
1429
1429
|
*/
|
|
1430
1430
|
getContinuousFund: (0, import_sdkMetadata.withMetadata)(async function getContinuousFund(input, options) {
|
|
1431
1431
|
const service = await serviceLoader.loadAt(39);
|
|
1432
1432
|
return getClient(service).continuousFund(input, options);
|
|
1433
|
-
}, { path: [39,
|
|
1433
|
+
}, { path: [39, "continuousFund"], serviceLoader }),
|
|
1434
1434
|
/**
|
|
1435
1435
|
* getContinuousFunds queries all continuous funds in the store.
|
|
1436
1436
|
*/
|
|
1437
1437
|
getContinuousFunds: (0, import_sdkMetadata.withMetadata)(async function getContinuousFunds(input = {}, options) {
|
|
1438
1438
|
const service = await serviceLoader.loadAt(39);
|
|
1439
1439
|
return getClient(service).continuousFunds(input, options);
|
|
1440
|
-
}, { path: [39,
|
|
1440
|
+
}, { path: [39, "continuousFunds"], serviceLoader }),
|
|
1441
1441
|
/**
|
|
1442
1442
|
* getParams returns the total set of x/protocolpool parameters.
|
|
1443
1443
|
*/
|
|
1444
1444
|
getParams: (0, import_sdkMetadata.withMetadata)(async function getParams(input = {}, options) {
|
|
1445
1445
|
const service = await serviceLoader.loadAt(39);
|
|
1446
1446
|
return getClient(service).params(input, options);
|
|
1447
|
-
}, { path: [39,
|
|
1447
|
+
}, { path: [39, "params"], serviceLoader }),
|
|
1448
1448
|
/**
|
|
1449
1449
|
* fundCommunityPool defines a method to allow an account to directly
|
|
1450
1450
|
* fund the community pool.
|
|
@@ -1452,7 +1452,7 @@ function createSDK(queryTransport, txTransport) {
|
|
|
1452
1452
|
fundCommunityPool: (0, import_sdkMetadata.withMetadata)(async function fundCommunityPool(input, options) {
|
|
1453
1453
|
const service = await serviceLoader.loadAt(40);
|
|
1454
1454
|
return getMsgClient(service).fundCommunityPool(input, options);
|
|
1455
|
-
}, { path: [40,
|
|
1455
|
+
}, { path: [40, "fundCommunityPool"], serviceLoader }),
|
|
1456
1456
|
/**
|
|
1457
1457
|
* communityPoolSpend defines a governance operation for sending tokens from
|
|
1458
1458
|
* the community pool in the x/protocolpool module to another account, which
|
|
@@ -1462,7 +1462,7 @@ function createSDK(queryTransport, txTransport) {
|
|
|
1462
1462
|
communityPoolSpend: (0, import_sdkMetadata.withMetadata)(async function communityPoolSpend(input, options) {
|
|
1463
1463
|
const service = await serviceLoader.loadAt(40);
|
|
1464
1464
|
return getMsgClient(service).communityPoolSpend(input, options);
|
|
1465
|
-
}, { path: [40,
|
|
1465
|
+
}, { path: [40, "communityPoolSpend"], serviceLoader }),
|
|
1466
1466
|
/**
|
|
1467
1467
|
* createContinuousFund defines a method to distribute a percentage of funds to an address continuously.
|
|
1468
1468
|
* This ContinuousFund can be indefinite or run until a given expiry time.
|
|
@@ -1472,14 +1472,14 @@ function createSDK(queryTransport, txTransport) {
|
|
|
1472
1472
|
createContinuousFund: (0, import_sdkMetadata.withMetadata)(async function createContinuousFund(input, options) {
|
|
1473
1473
|
const service = await serviceLoader.loadAt(40);
|
|
1474
1474
|
return getMsgClient(service).createContinuousFund(input, options);
|
|
1475
|
-
}, { path: [40,
|
|
1475
|
+
}, { path: [40, "createContinuousFund"], serviceLoader }),
|
|
1476
1476
|
/**
|
|
1477
1477
|
* cancelContinuousFund defines a method for cancelling continuous fund.
|
|
1478
1478
|
*/
|
|
1479
1479
|
cancelContinuousFund: (0, import_sdkMetadata.withMetadata)(async function cancelContinuousFund(input, options) {
|
|
1480
1480
|
const service = await serviceLoader.loadAt(40);
|
|
1481
1481
|
return getMsgClient(service).cancelContinuousFund(input, options);
|
|
1482
|
-
}, { path: [40,
|
|
1482
|
+
}, { path: [40, "cancelContinuousFund"], serviceLoader }),
|
|
1483
1483
|
/**
|
|
1484
1484
|
* updateParams defines a governance operation for updating the x/protocolpool module parameters.
|
|
1485
1485
|
* The authority is defined in the keeper.
|
|
@@ -1487,7 +1487,7 @@ function createSDK(queryTransport, txTransport) {
|
|
|
1487
1487
|
updateParams: (0, import_sdkMetadata.withMetadata)(async function updateParams(input, options) {
|
|
1488
1488
|
const service = await serviceLoader.loadAt(40);
|
|
1489
1489
|
return getMsgClient(service).updateParams(input, options);
|
|
1490
|
-
}, { path: [40,
|
|
1490
|
+
}, { path: [40, "updateParams"], serviceLoader })
|
|
1491
1491
|
}
|
|
1492
1492
|
},
|
|
1493
1493
|
reflection: {
|
|
@@ -1499,7 +1499,7 @@ function createSDK(queryTransport, txTransport) {
|
|
|
1499
1499
|
getFileDescriptors: (0, import_sdkMetadata.withMetadata)(async function getFileDescriptors(input = {}, options) {
|
|
1500
1500
|
const service = await serviceLoader.loadAt(41);
|
|
1501
1501
|
return getClient(service).fileDescriptors(input, options);
|
|
1502
|
-
}, { path: [41,
|
|
1502
|
+
}, { path: [41, "fileDescriptors"], serviceLoader })
|
|
1503
1503
|
}
|
|
1504
1504
|
},
|
|
1505
1505
|
slashing: {
|
|
@@ -1510,21 +1510,21 @@ function createSDK(queryTransport, txTransport) {
|
|
|
1510
1510
|
getParams: (0, import_sdkMetadata.withMetadata)(async function getParams(input = {}, options) {
|
|
1511
1511
|
const service = await serviceLoader.loadAt(42);
|
|
1512
1512
|
return getClient(service).params(input, options);
|
|
1513
|
-
}, { path: [42,
|
|
1513
|
+
}, { path: [42, "params"], serviceLoader }),
|
|
1514
1514
|
/**
|
|
1515
1515
|
* getSigningInfo queries the signing info of given cons address
|
|
1516
1516
|
*/
|
|
1517
1517
|
getSigningInfo: (0, import_sdkMetadata.withMetadata)(async function getSigningInfo(input, options) {
|
|
1518
1518
|
const service = await serviceLoader.loadAt(42);
|
|
1519
1519
|
return getClient(service).signingInfo(input, options);
|
|
1520
|
-
}, { path: [42,
|
|
1520
|
+
}, { path: [42, "signingInfo"], serviceLoader }),
|
|
1521
1521
|
/**
|
|
1522
1522
|
* getSigningInfos queries signing info of all validators
|
|
1523
1523
|
*/
|
|
1524
1524
|
getSigningInfos: (0, import_sdkMetadata.withMetadata)(async function getSigningInfos(input, options) {
|
|
1525
1525
|
const service = await serviceLoader.loadAt(42);
|
|
1526
1526
|
return getClient(service).signingInfos(input, options);
|
|
1527
|
-
}, { path: [42,
|
|
1527
|
+
}, { path: [42, "signingInfos"], serviceLoader }),
|
|
1528
1528
|
/**
|
|
1529
1529
|
* unjail defines a method for unjailing a jailed validator, thus returning
|
|
1530
1530
|
* them into the bonded validator set, so they can begin receiving provisions
|
|
@@ -1533,7 +1533,7 @@ function createSDK(queryTransport, txTransport) {
|
|
|
1533
1533
|
unjail: (0, import_sdkMetadata.withMetadata)(async function unjail(input, options) {
|
|
1534
1534
|
const service = await serviceLoader.loadAt(43);
|
|
1535
1535
|
return getMsgClient(service).unjail(input, options);
|
|
1536
|
-
}, { path: [43,
|
|
1536
|
+
}, { path: [43, "unjail"], serviceLoader }),
|
|
1537
1537
|
/**
|
|
1538
1538
|
* updateParams defines a governance operation for updating the x/slashing module
|
|
1539
1539
|
* parameters. The authority defaults to the x/gov module account.
|
|
@@ -1541,7 +1541,7 @@ function createSDK(queryTransport, txTransport) {
|
|
|
1541
1541
|
updateParams: (0, import_sdkMetadata.withMetadata)(async function updateParams(input, options) {
|
|
1542
1542
|
const service = await serviceLoader.loadAt(43);
|
|
1543
1543
|
return getMsgClient(service).updateParams(input, options);
|
|
1544
|
-
}, { path: [43,
|
|
1544
|
+
}, { path: [43, "updateParams"], serviceLoader })
|
|
1545
1545
|
}
|
|
1546
1546
|
},
|
|
1547
1547
|
staking: {
|
|
@@ -1555,14 +1555,14 @@ function createSDK(queryTransport, txTransport) {
|
|
|
1555
1555
|
getValidators: (0, import_sdkMetadata.withMetadata)(async function getValidators(input, options) {
|
|
1556
1556
|
const service = await serviceLoader.loadAt(44);
|
|
1557
1557
|
return getClient(service).validators(input, options);
|
|
1558
|
-
}, { path: [44,
|
|
1558
|
+
}, { path: [44, "validators"], serviceLoader }),
|
|
1559
1559
|
/**
|
|
1560
1560
|
* getValidator queries validator info for given validator address.
|
|
1561
1561
|
*/
|
|
1562
1562
|
getValidator: (0, import_sdkMetadata.withMetadata)(async function getValidator(input, options) {
|
|
1563
1563
|
const service = await serviceLoader.loadAt(44);
|
|
1564
1564
|
return getClient(service).validator(input, options);
|
|
1565
|
-
}, { path: [44,
|
|
1565
|
+
}, { path: [44, "validator"], serviceLoader }),
|
|
1566
1566
|
/**
|
|
1567
1567
|
* getValidatorDelegations queries delegate info for given validator.
|
|
1568
1568
|
*
|
|
@@ -1572,7 +1572,7 @@ function createSDK(queryTransport, txTransport) {
|
|
|
1572
1572
|
getValidatorDelegations: (0, import_sdkMetadata.withMetadata)(async function getValidatorDelegations(input, options) {
|
|
1573
1573
|
const service = await serviceLoader.loadAt(44);
|
|
1574
1574
|
return getClient(service).validatorDelegations(input, options);
|
|
1575
|
-
}, { path: [44,
|
|
1575
|
+
}, { path: [44, "validatorDelegations"], serviceLoader }),
|
|
1576
1576
|
/**
|
|
1577
1577
|
* getValidatorUnbondingDelegations queries unbonding delegations of a validator.
|
|
1578
1578
|
*
|
|
@@ -1582,14 +1582,14 @@ function createSDK(queryTransport, txTransport) {
|
|
|
1582
1582
|
getValidatorUnbondingDelegations: (0, import_sdkMetadata.withMetadata)(async function getValidatorUnbondingDelegations(input, options) {
|
|
1583
1583
|
const service = await serviceLoader.loadAt(44);
|
|
1584
1584
|
return getClient(service).validatorUnbondingDelegations(input, options);
|
|
1585
|
-
}, { path: [44,
|
|
1585
|
+
}, { path: [44, "validatorUnbondingDelegations"], serviceLoader }),
|
|
1586
1586
|
/**
|
|
1587
1587
|
* getDelegation queries delegate info for given validator delegator pair.
|
|
1588
1588
|
*/
|
|
1589
1589
|
getDelegation: (0, import_sdkMetadata.withMetadata)(async function getDelegation(input, options) {
|
|
1590
1590
|
const service = await serviceLoader.loadAt(44);
|
|
1591
1591
|
return getClient(service).delegation(input, options);
|
|
1592
|
-
}, { path: [44,
|
|
1592
|
+
}, { path: [44, "delegation"], serviceLoader }),
|
|
1593
1593
|
/**
|
|
1594
1594
|
* getUnbondingDelegation queries unbonding info for given validator delegator
|
|
1595
1595
|
* pair.
|
|
@@ -1597,7 +1597,7 @@ function createSDK(queryTransport, txTransport) {
|
|
|
1597
1597
|
getUnbondingDelegation: (0, import_sdkMetadata.withMetadata)(async function getUnbondingDelegation(input, options) {
|
|
1598
1598
|
const service = await serviceLoader.loadAt(44);
|
|
1599
1599
|
return getClient(service).unbondingDelegation(input, options);
|
|
1600
|
-
}, { path: [44,
|
|
1600
|
+
}, { path: [44, "unbondingDelegation"], serviceLoader }),
|
|
1601
1601
|
/**
|
|
1602
1602
|
* getDelegatorDelegations queries all delegations of a given delegator address.
|
|
1603
1603
|
*
|
|
@@ -1607,7 +1607,7 @@ function createSDK(queryTransport, txTransport) {
|
|
|
1607
1607
|
getDelegatorDelegations: (0, import_sdkMetadata.withMetadata)(async function getDelegatorDelegations(input, options) {
|
|
1608
1608
|
const service = await serviceLoader.loadAt(44);
|
|
1609
1609
|
return getClient(service).delegatorDelegations(input, options);
|
|
1610
|
-
}, { path: [44,
|
|
1610
|
+
}, { path: [44, "delegatorDelegations"], serviceLoader }),
|
|
1611
1611
|
/**
|
|
1612
1612
|
* getDelegatorUnbondingDelegations queries all unbonding delegations of a given
|
|
1613
1613
|
* delegator address.
|
|
@@ -1618,7 +1618,7 @@ function createSDK(queryTransport, txTransport) {
|
|
|
1618
1618
|
getDelegatorUnbondingDelegations: (0, import_sdkMetadata.withMetadata)(async function getDelegatorUnbondingDelegations(input, options) {
|
|
1619
1619
|
const service = await serviceLoader.loadAt(44);
|
|
1620
1620
|
return getClient(service).delegatorUnbondingDelegations(input, options);
|
|
1621
|
-
}, { path: [44,
|
|
1621
|
+
}, { path: [44, "delegatorUnbondingDelegations"], serviceLoader }),
|
|
1622
1622
|
/**
|
|
1623
1623
|
* getRedelegations queries redelegations of given address.
|
|
1624
1624
|
*
|
|
@@ -1628,7 +1628,7 @@ function createSDK(queryTransport, txTransport) {
|
|
|
1628
1628
|
getRedelegations: (0, import_sdkMetadata.withMetadata)(async function getRedelegations(input, options) {
|
|
1629
1629
|
const service = await serviceLoader.loadAt(44);
|
|
1630
1630
|
return getClient(service).redelegations(input, options);
|
|
1631
|
-
}, { path: [44,
|
|
1631
|
+
}, { path: [44, "redelegations"], serviceLoader }),
|
|
1632
1632
|
/**
|
|
1633
1633
|
* getDelegatorValidators queries all validators info for given delegator
|
|
1634
1634
|
* address.
|
|
@@ -1639,7 +1639,7 @@ function createSDK(queryTransport, txTransport) {
|
|
|
1639
1639
|
getDelegatorValidators: (0, import_sdkMetadata.withMetadata)(async function getDelegatorValidators(input, options) {
|
|
1640
1640
|
const service = await serviceLoader.loadAt(44);
|
|
1641
1641
|
return getClient(service).delegatorValidators(input, options);
|
|
1642
|
-
}, { path: [44,
|
|
1642
|
+
}, { path: [44, "delegatorValidators"], serviceLoader }),
|
|
1643
1643
|
/**
|
|
1644
1644
|
* getDelegatorValidator queries validator info for given delegator validator
|
|
1645
1645
|
* pair.
|
|
@@ -1647,42 +1647,42 @@ function createSDK(queryTransport, txTransport) {
|
|
|
1647
1647
|
getDelegatorValidator: (0, import_sdkMetadata.withMetadata)(async function getDelegatorValidator(input, options) {
|
|
1648
1648
|
const service = await serviceLoader.loadAt(44);
|
|
1649
1649
|
return getClient(service).delegatorValidator(input, options);
|
|
1650
|
-
}, { path: [44,
|
|
1650
|
+
}, { path: [44, "delegatorValidator"], serviceLoader }),
|
|
1651
1651
|
/**
|
|
1652
1652
|
* getHistoricalInfo queries the historical info for given height.
|
|
1653
1653
|
*/
|
|
1654
1654
|
getHistoricalInfo: (0, import_sdkMetadata.withMetadata)(async function getHistoricalInfo(input, options) {
|
|
1655
1655
|
const service = await serviceLoader.loadAt(44);
|
|
1656
1656
|
return getClient(service).historicalInfo(input, options);
|
|
1657
|
-
}, { path: [44,
|
|
1657
|
+
}, { path: [44, "historicalInfo"], serviceLoader }),
|
|
1658
1658
|
/**
|
|
1659
1659
|
* getPool queries the pool info.
|
|
1660
1660
|
*/
|
|
1661
1661
|
getPool: (0, import_sdkMetadata.withMetadata)(async function getPool(input = {}, options) {
|
|
1662
1662
|
const service = await serviceLoader.loadAt(44);
|
|
1663
1663
|
return getClient(service).pool(input, options);
|
|
1664
|
-
}, { path: [44,
|
|
1664
|
+
}, { path: [44, "pool"], serviceLoader }),
|
|
1665
1665
|
/**
|
|
1666
1666
|
* Parameters queries the staking parameters.
|
|
1667
1667
|
*/
|
|
1668
1668
|
getParams: (0, import_sdkMetadata.withMetadata)(async function getParams(input = {}, options) {
|
|
1669
1669
|
const service = await serviceLoader.loadAt(44);
|
|
1670
1670
|
return getClient(service).params(input, options);
|
|
1671
|
-
}, { path: [44,
|
|
1671
|
+
}, { path: [44, "params"], serviceLoader }),
|
|
1672
1672
|
/**
|
|
1673
1673
|
* createValidator defines a method for creating a new validator.
|
|
1674
1674
|
*/
|
|
1675
1675
|
createValidator: (0, import_sdkMetadata.withMetadata)(async function createValidator(input, options) {
|
|
1676
1676
|
const service = await serviceLoader.loadAt(45);
|
|
1677
1677
|
return getMsgClient(service).createValidator(input, options);
|
|
1678
|
-
}, { path: [45,
|
|
1678
|
+
}, { path: [45, "createValidator"], serviceLoader }),
|
|
1679
1679
|
/**
|
|
1680
1680
|
* editValidator defines a method for editing an existing validator.
|
|
1681
1681
|
*/
|
|
1682
1682
|
editValidator: (0, import_sdkMetadata.withMetadata)(async function editValidator(input, options) {
|
|
1683
1683
|
const service = await serviceLoader.loadAt(45);
|
|
1684
1684
|
return getMsgClient(service).editValidator(input, options);
|
|
1685
|
-
}, { path: [45,
|
|
1685
|
+
}, { path: [45, "editValidator"], serviceLoader }),
|
|
1686
1686
|
/**
|
|
1687
1687
|
* delegate defines a method for performing a delegation of coins
|
|
1688
1688
|
* from a delegator to a validator.
|
|
@@ -1690,7 +1690,7 @@ function createSDK(queryTransport, txTransport) {
|
|
|
1690
1690
|
delegate: (0, import_sdkMetadata.withMetadata)(async function delegate(input, options) {
|
|
1691
1691
|
const service = await serviceLoader.loadAt(45);
|
|
1692
1692
|
return getMsgClient(service).delegate(input, options);
|
|
1693
|
-
}, { path: [45,
|
|
1693
|
+
}, { path: [45, "delegate"], serviceLoader }),
|
|
1694
1694
|
/**
|
|
1695
1695
|
* beginRedelegate defines a method for performing a redelegation
|
|
1696
1696
|
* of coins from a delegator and source validator to a destination validator.
|
|
@@ -1698,7 +1698,7 @@ function createSDK(queryTransport, txTransport) {
|
|
|
1698
1698
|
beginRedelegate: (0, import_sdkMetadata.withMetadata)(async function beginRedelegate(input, options) {
|
|
1699
1699
|
const service = await serviceLoader.loadAt(45);
|
|
1700
1700
|
return getMsgClient(service).beginRedelegate(input, options);
|
|
1701
|
-
}, { path: [45,
|
|
1701
|
+
}, { path: [45, "beginRedelegate"], serviceLoader }),
|
|
1702
1702
|
/**
|
|
1703
1703
|
* undelegate defines a method for performing an undelegation from a
|
|
1704
1704
|
* delegate and a validator.
|
|
@@ -1706,7 +1706,7 @@ function createSDK(queryTransport, txTransport) {
|
|
|
1706
1706
|
undelegate: (0, import_sdkMetadata.withMetadata)(async function undelegate(input, options) {
|
|
1707
1707
|
const service = await serviceLoader.loadAt(45);
|
|
1708
1708
|
return getMsgClient(service).undelegate(input, options);
|
|
1709
|
-
}, { path: [45,
|
|
1709
|
+
}, { path: [45, "undelegate"], serviceLoader }),
|
|
1710
1710
|
/**
|
|
1711
1711
|
* cancelUnbondingDelegation defines a method for performing canceling the unbonding delegation
|
|
1712
1712
|
* and delegate back to previous validator.
|
|
@@ -1714,7 +1714,7 @@ function createSDK(queryTransport, txTransport) {
|
|
|
1714
1714
|
cancelUnbondingDelegation: (0, import_sdkMetadata.withMetadata)(async function cancelUnbondingDelegation(input, options) {
|
|
1715
1715
|
const service = await serviceLoader.loadAt(45);
|
|
1716
1716
|
return getMsgClient(service).cancelUnbondingDelegation(input, options);
|
|
1717
|
-
}, { path: [45,
|
|
1717
|
+
}, { path: [45, "cancelUnbondingDelegation"], serviceLoader }),
|
|
1718
1718
|
/**
|
|
1719
1719
|
* updateParams defines an operation for updating the x/staking module
|
|
1720
1720
|
* parameters.
|
|
@@ -1722,7 +1722,7 @@ function createSDK(queryTransport, txTransport) {
|
|
|
1722
1722
|
updateParams: (0, import_sdkMetadata.withMetadata)(async function updateParams(input, options) {
|
|
1723
1723
|
const service = await serviceLoader.loadAt(45);
|
|
1724
1724
|
return getMsgClient(service).updateParams(input, options);
|
|
1725
|
-
}, { path: [45,
|
|
1725
|
+
}, { path: [45, "updateParams"], serviceLoader })
|
|
1726
1726
|
}
|
|
1727
1727
|
},
|
|
1728
1728
|
store: {
|
|
@@ -1734,14 +1734,14 @@ function createSDK(queryTransport, txTransport) {
|
|
|
1734
1734
|
getListenFinalizeBlock: (0, import_sdkMetadata.withMetadata)(async function getListenFinalizeBlock(input, options) {
|
|
1735
1735
|
const service = await serviceLoader.loadAt(46);
|
|
1736
1736
|
return getClient(service).listenFinalizeBlock(input, options);
|
|
1737
|
-
}, { path: [46,
|
|
1737
|
+
}, { path: [46, "listenFinalizeBlock"], serviceLoader }),
|
|
1738
1738
|
/**
|
|
1739
1739
|
* getListenCommit is the corresponding endpoint for ABCIListener.getListenCommit
|
|
1740
1740
|
*/
|
|
1741
1741
|
getListenCommit: (0, import_sdkMetadata.withMetadata)(async function getListenCommit(input, options) {
|
|
1742
1742
|
const service = await serviceLoader.loadAt(46);
|
|
1743
1743
|
return getClient(service).listenCommit(input, options);
|
|
1744
|
-
}, { path: [46,
|
|
1744
|
+
}, { path: [46, "listenCommit"], serviceLoader })
|
|
1745
1745
|
}
|
|
1746
1746
|
}
|
|
1747
1747
|
},
|
|
@@ -1753,63 +1753,63 @@ function createSDK(queryTransport, txTransport) {
|
|
|
1753
1753
|
getSimulate: (0, import_sdkMetadata.withMetadata)(async function getSimulate(input, options) {
|
|
1754
1754
|
const service = await serviceLoader.loadAt(47);
|
|
1755
1755
|
return getClient(service).simulate(input, options);
|
|
1756
|
-
}, { path: [47,
|
|
1756
|
+
}, { path: [47, "simulate"], serviceLoader }),
|
|
1757
1757
|
/**
|
|
1758
1758
|
* getTx fetches a tx by hash.
|
|
1759
1759
|
*/
|
|
1760
1760
|
getTx: (0, import_sdkMetadata.withMetadata)(async function getTx(input, options) {
|
|
1761
1761
|
const service = await serviceLoader.loadAt(47);
|
|
1762
1762
|
return getClient(service).getTx(input, options);
|
|
1763
|
-
}, { path: [47,
|
|
1763
|
+
}, { path: [47, "getTx"], serviceLoader }),
|
|
1764
1764
|
/**
|
|
1765
1765
|
* getBroadcastTx broadcast transaction.
|
|
1766
1766
|
*/
|
|
1767
1767
|
getBroadcastTx: (0, import_sdkMetadata.withMetadata)(async function getBroadcastTx(input, options) {
|
|
1768
1768
|
const service = await serviceLoader.loadAt(47);
|
|
1769
1769
|
return getClient(service).broadcastTx(input, options);
|
|
1770
|
-
}, { path: [47,
|
|
1770
|
+
}, { path: [47, "broadcastTx"], serviceLoader }),
|
|
1771
1771
|
/**
|
|
1772
1772
|
* getTxsEvent fetches txs by event.
|
|
1773
1773
|
*/
|
|
1774
1774
|
getTxsEvent: (0, import_sdkMetadata.withMetadata)(async function getTxsEvent(input, options) {
|
|
1775
1775
|
const service = await serviceLoader.loadAt(47);
|
|
1776
1776
|
return getClient(service).getTxsEvent(input, options);
|
|
1777
|
-
}, { path: [47,
|
|
1777
|
+
}, { path: [47, "getTxsEvent"], serviceLoader }),
|
|
1778
1778
|
/**
|
|
1779
1779
|
* getBlockWithTxs fetches a block with decoded txs.
|
|
1780
1780
|
*/
|
|
1781
1781
|
getBlockWithTxs: (0, import_sdkMetadata.withMetadata)(async function getBlockWithTxs(input, options) {
|
|
1782
1782
|
const service = await serviceLoader.loadAt(47);
|
|
1783
1783
|
return getClient(service).getBlockWithTxs(input, options);
|
|
1784
|
-
}, { path: [47,
|
|
1784
|
+
}, { path: [47, "getBlockWithTxs"], serviceLoader }),
|
|
1785
1785
|
/**
|
|
1786
1786
|
* getTxDecode decodes the transaction.
|
|
1787
1787
|
*/
|
|
1788
1788
|
getTxDecode: (0, import_sdkMetadata.withMetadata)(async function getTxDecode(input, options) {
|
|
1789
1789
|
const service = await serviceLoader.loadAt(47);
|
|
1790
1790
|
return getClient(service).txDecode(input, options);
|
|
1791
|
-
}, { path: [47,
|
|
1791
|
+
}, { path: [47, "txDecode"], serviceLoader }),
|
|
1792
1792
|
/**
|
|
1793
1793
|
* getTxEncode encodes the transaction.
|
|
1794
1794
|
*/
|
|
1795
1795
|
getTxEncode: (0, import_sdkMetadata.withMetadata)(async function getTxEncode(input, options) {
|
|
1796
1796
|
const service = await serviceLoader.loadAt(47);
|
|
1797
1797
|
return getClient(service).txEncode(input, options);
|
|
1798
|
-
}, { path: [47,
|
|
1798
|
+
}, { path: [47, "txEncode"], serviceLoader }),
|
|
1799
1799
|
/**
|
|
1800
1800
|
* getTxEncodeAmino encodes an Amino transaction from JSON to encoded bytes.
|
|
1801
1801
|
*/
|
|
1802
1802
|
getTxEncodeAmino: (0, import_sdkMetadata.withMetadata)(async function getTxEncodeAmino(input, options) {
|
|
1803
1803
|
const service = await serviceLoader.loadAt(47);
|
|
1804
1804
|
return getClient(service).txEncodeAmino(input, options);
|
|
1805
|
-
}, { path: [47,
|
|
1805
|
+
}, { path: [47, "txEncodeAmino"], serviceLoader }),
|
|
1806
1806
|
/**
|
|
1807
1807
|
* getTxDecodeAmino decodes an Amino transaction from encoded bytes to JSON.
|
|
1808
1808
|
*/
|
|
1809
1809
|
getTxDecodeAmino: (0, import_sdkMetadata.withMetadata)(async function getTxDecodeAmino(input, options) {
|
|
1810
1810
|
const service = await serviceLoader.loadAt(47);
|
|
1811
1811
|
return getClient(service).txDecodeAmino(input, options);
|
|
1812
|
-
}, { path: [47,
|
|
1812
|
+
}, { path: [47, "txDecodeAmino"], serviceLoader })
|
|
1813
1813
|
}
|
|
1814
1814
|
},
|
|
1815
1815
|
upgrade: {
|
|
@@ -1820,14 +1820,14 @@ function createSDK(queryTransport, txTransport) {
|
|
|
1820
1820
|
getCurrentPlan: (0, import_sdkMetadata.withMetadata)(async function getCurrentPlan(input = {}, options) {
|
|
1821
1821
|
const service = await serviceLoader.loadAt(48);
|
|
1822
1822
|
return getClient(service).currentPlan(input, options);
|
|
1823
|
-
}, { path: [48,
|
|
1823
|
+
}, { path: [48, "currentPlan"], serviceLoader }),
|
|
1824
1824
|
/**
|
|
1825
1825
|
* getAppliedPlan queries a previously applied upgrade plan by its name.
|
|
1826
1826
|
*/
|
|
1827
1827
|
getAppliedPlan: (0, import_sdkMetadata.withMetadata)(async function getAppliedPlan(input, options) {
|
|
1828
1828
|
const service = await serviceLoader.loadAt(48);
|
|
1829
1829
|
return getClient(service).appliedPlan(input, options);
|
|
1830
|
-
}, { path: [48,
|
|
1830
|
+
}, { path: [48, "appliedPlan"], serviceLoader }),
|
|
1831
1831
|
/**
|
|
1832
1832
|
* getUpgradedConsensusState queries the consensus state that will serve
|
|
1833
1833
|
* as a trusted kernel for the next version of this chain. It will only be
|
|
@@ -1840,28 +1840,28 @@ function createSDK(queryTransport, txTransport) {
|
|
|
1840
1840
|
getUpgradedConsensusState: (0, import_sdkMetadata.withMetadata)(async function getUpgradedConsensusState(input, options) {
|
|
1841
1841
|
const service = await serviceLoader.loadAt(48);
|
|
1842
1842
|
return getClient(service).upgradedConsensusState(input, options);
|
|
1843
|
-
}, { path: [48,
|
|
1843
|
+
}, { path: [48, "upgradedConsensusState"], serviceLoader }),
|
|
1844
1844
|
/**
|
|
1845
1845
|
* getModuleVersions queries the list of module versions from state.
|
|
1846
1846
|
*/
|
|
1847
1847
|
getModuleVersions: (0, import_sdkMetadata.withMetadata)(async function getModuleVersions(input, options) {
|
|
1848
1848
|
const service = await serviceLoader.loadAt(48);
|
|
1849
1849
|
return getClient(service).moduleVersions(input, options);
|
|
1850
|
-
}, { path: [48,
|
|
1850
|
+
}, { path: [48, "moduleVersions"], serviceLoader }),
|
|
1851
1851
|
/**
|
|
1852
1852
|
* Returns the account with authority to conduct upgrades
|
|
1853
1853
|
*/
|
|
1854
1854
|
getAuthority: (0, import_sdkMetadata.withMetadata)(async function getAuthority(input = {}, options) {
|
|
1855
1855
|
const service = await serviceLoader.loadAt(48);
|
|
1856
1856
|
return getClient(service).authority(input, options);
|
|
1857
|
-
}, { path: [48,
|
|
1857
|
+
}, { path: [48, "authority"], serviceLoader }),
|
|
1858
1858
|
/**
|
|
1859
1859
|
* softwareUpgrade is a governance operation for initiating a software upgrade.
|
|
1860
1860
|
*/
|
|
1861
1861
|
softwareUpgrade: (0, import_sdkMetadata.withMetadata)(async function softwareUpgrade(input, options) {
|
|
1862
1862
|
const service = await serviceLoader.loadAt(49);
|
|
1863
1863
|
return getMsgClient(service).softwareUpgrade(input, options);
|
|
1864
|
-
}, { path: [49,
|
|
1864
|
+
}, { path: [49, "softwareUpgrade"], serviceLoader }),
|
|
1865
1865
|
/**
|
|
1866
1866
|
* cancelUpgrade is a governance operation for cancelling a previously
|
|
1867
1867
|
* approved software upgrade.
|
|
@@ -1869,7 +1869,7 @@ function createSDK(queryTransport, txTransport) {
|
|
|
1869
1869
|
cancelUpgrade: (0, import_sdkMetadata.withMetadata)(async function cancelUpgrade(input, options) {
|
|
1870
1870
|
const service = await serviceLoader.loadAt(49);
|
|
1871
1871
|
return getMsgClient(service).cancelUpgrade(input, options);
|
|
1872
|
-
}, { path: [49,
|
|
1872
|
+
}, { path: [49, "cancelUpgrade"], serviceLoader })
|
|
1873
1873
|
}
|
|
1874
1874
|
},
|
|
1875
1875
|
vesting: {
|
|
@@ -1881,7 +1881,7 @@ function createSDK(queryTransport, txTransport) {
|
|
|
1881
1881
|
createVestingAccount: (0, import_sdkMetadata.withMetadata)(async function createVestingAccount(input, options) {
|
|
1882
1882
|
const service = await serviceLoader.loadAt(50);
|
|
1883
1883
|
return getMsgClient(service).createVestingAccount(input, options);
|
|
1884
|
-
}, { path: [50,
|
|
1884
|
+
}, { path: [50, "createVestingAccount"], serviceLoader }),
|
|
1885
1885
|
/**
|
|
1886
1886
|
* createPermanentLockedAccount defines a method that enables creating a permanent
|
|
1887
1887
|
* locked account.
|
|
@@ -1889,7 +1889,7 @@ function createSDK(queryTransport, txTransport) {
|
|
|
1889
1889
|
createPermanentLockedAccount: (0, import_sdkMetadata.withMetadata)(async function createPermanentLockedAccount(input, options) {
|
|
1890
1890
|
const service = await serviceLoader.loadAt(50);
|
|
1891
1891
|
return getMsgClient(service).createPermanentLockedAccount(input, options);
|
|
1892
|
-
}, { path: [50,
|
|
1892
|
+
}, { path: [50, "createPermanentLockedAccount"], serviceLoader }),
|
|
1893
1893
|
/**
|
|
1894
1894
|
* createPeriodicVestingAccount defines a method that enables creating a
|
|
1895
1895
|
* periodic vesting account.
|
|
@@ -1897,7 +1897,7 @@ function createSDK(queryTransport, txTransport) {
|
|
|
1897
1897
|
createPeriodicVestingAccount: (0, import_sdkMetadata.withMetadata)(async function createPeriodicVestingAccount(input, options) {
|
|
1898
1898
|
const service = await serviceLoader.loadAt(50);
|
|
1899
1899
|
return getMsgClient(service).createPeriodicVestingAccount(input, options);
|
|
1900
|
-
}, { path: [50,
|
|
1900
|
+
}, { path: [50, "createPeriodicVestingAccount"], serviceLoader })
|
|
1901
1901
|
}
|
|
1902
1902
|
}
|
|
1903
1903
|
},
|
|
@@ -1906,67 +1906,67 @@ function createSDK(queryTransport, txTransport) {
|
|
|
1906
1906
|
getEcho: (0, import_sdkMetadata.withMetadata)(async function getEcho(input, options) {
|
|
1907
1907
|
const service = await serviceLoader.loadAt(8);
|
|
1908
1908
|
return getClient(service).echo(input, options);
|
|
1909
|
-
}, { path: [8,
|
|
1909
|
+
}, { path: [8, "echo"], serviceLoader }),
|
|
1910
1910
|
getFlush: (0, import_sdkMetadata.withMetadata)(async function getFlush(input = {}, options) {
|
|
1911
1911
|
const service = await serviceLoader.loadAt(8);
|
|
1912
1912
|
return getClient(service).flush(input, options);
|
|
1913
|
-
}, { path: [8,
|
|
1913
|
+
}, { path: [8, "flush"], serviceLoader }),
|
|
1914
1914
|
getInfo: (0, import_sdkMetadata.withMetadata)(async function getInfo(input, options) {
|
|
1915
1915
|
const service = await serviceLoader.loadAt(8);
|
|
1916
1916
|
return getClient(service).info(input, options);
|
|
1917
|
-
}, { path: [8,
|
|
1917
|
+
}, { path: [8, "info"], serviceLoader }),
|
|
1918
1918
|
getCheckTx: (0, import_sdkMetadata.withMetadata)(async function getCheckTx(input, options) {
|
|
1919
1919
|
const service = await serviceLoader.loadAt(8);
|
|
1920
1920
|
return getClient(service).checkTx(input, options);
|
|
1921
|
-
}, { path: [8,
|
|
1921
|
+
}, { path: [8, "checkTx"], serviceLoader }),
|
|
1922
1922
|
getQuery: (0, import_sdkMetadata.withMetadata)(async function getQuery(input, options) {
|
|
1923
1923
|
const service = await serviceLoader.loadAt(8);
|
|
1924
1924
|
return getClient(service).query(input, options);
|
|
1925
|
-
}, { path: [8,
|
|
1925
|
+
}, { path: [8, "query"], serviceLoader }),
|
|
1926
1926
|
getCommit: (0, import_sdkMetadata.withMetadata)(async function getCommit(input = {}, options) {
|
|
1927
1927
|
const service = await serviceLoader.loadAt(8);
|
|
1928
1928
|
return getClient(service).commit(input, options);
|
|
1929
|
-
}, { path: [8,
|
|
1929
|
+
}, { path: [8, "commit"], serviceLoader }),
|
|
1930
1930
|
getInitChain: (0, import_sdkMetadata.withMetadata)(async function getInitChain(input, options) {
|
|
1931
1931
|
const service = await serviceLoader.loadAt(8);
|
|
1932
1932
|
return getClient(service).initChain(input, options);
|
|
1933
|
-
}, { path: [8,
|
|
1933
|
+
}, { path: [8, "initChain"], serviceLoader }),
|
|
1934
1934
|
getListSnapshots: (0, import_sdkMetadata.withMetadata)(async function getListSnapshots(input = {}, options) {
|
|
1935
1935
|
const service = await serviceLoader.loadAt(8);
|
|
1936
1936
|
return getClient(service).listSnapshots(input, options);
|
|
1937
|
-
}, { path: [8,
|
|
1937
|
+
}, { path: [8, "listSnapshots"], serviceLoader }),
|
|
1938
1938
|
getOfferSnapshot: (0, import_sdkMetadata.withMetadata)(async function getOfferSnapshot(input, options) {
|
|
1939
1939
|
const service = await serviceLoader.loadAt(8);
|
|
1940
1940
|
return getClient(service).offerSnapshot(input, options);
|
|
1941
|
-
}, { path: [8,
|
|
1941
|
+
}, { path: [8, "offerSnapshot"], serviceLoader }),
|
|
1942
1942
|
getLoadSnapshotChunk: (0, import_sdkMetadata.withMetadata)(async function getLoadSnapshotChunk(input, options) {
|
|
1943
1943
|
const service = await serviceLoader.loadAt(8);
|
|
1944
1944
|
return getClient(service).loadSnapshotChunk(input, options);
|
|
1945
|
-
}, { path: [8,
|
|
1945
|
+
}, { path: [8, "loadSnapshotChunk"], serviceLoader }),
|
|
1946
1946
|
getApplySnapshotChunk: (0, import_sdkMetadata.withMetadata)(async function getApplySnapshotChunk(input, options) {
|
|
1947
1947
|
const service = await serviceLoader.loadAt(8);
|
|
1948
1948
|
return getClient(service).applySnapshotChunk(input, options);
|
|
1949
|
-
}, { path: [8,
|
|
1949
|
+
}, { path: [8, "applySnapshotChunk"], serviceLoader }),
|
|
1950
1950
|
getPrepareProposal: (0, import_sdkMetadata.withMetadata)(async function getPrepareProposal(input, options) {
|
|
1951
1951
|
const service = await serviceLoader.loadAt(8);
|
|
1952
1952
|
return getClient(service).prepareProposal(input, options);
|
|
1953
|
-
}, { path: [8,
|
|
1953
|
+
}, { path: [8, "prepareProposal"], serviceLoader }),
|
|
1954
1954
|
getProcessProposal: (0, import_sdkMetadata.withMetadata)(async function getProcessProposal(input, options) {
|
|
1955
1955
|
const service = await serviceLoader.loadAt(8);
|
|
1956
1956
|
return getClient(service).processProposal(input, options);
|
|
1957
|
-
}, { path: [8,
|
|
1957
|
+
}, { path: [8, "processProposal"], serviceLoader }),
|
|
1958
1958
|
getExtendVote: (0, import_sdkMetadata.withMetadata)(async function getExtendVote(input, options) {
|
|
1959
1959
|
const service = await serviceLoader.loadAt(8);
|
|
1960
1960
|
return getClient(service).extendVote(input, options);
|
|
1961
|
-
}, { path: [8,
|
|
1961
|
+
}, { path: [8, "extendVote"], serviceLoader }),
|
|
1962
1962
|
getVerifyVoteExtension: (0, import_sdkMetadata.withMetadata)(async function getVerifyVoteExtension(input, options) {
|
|
1963
1963
|
const service = await serviceLoader.loadAt(8);
|
|
1964
1964
|
return getClient(service).verifyVoteExtension(input, options);
|
|
1965
|
-
}, { path: [8,
|
|
1965
|
+
}, { path: [8, "verifyVoteExtension"], serviceLoader }),
|
|
1966
1966
|
getFinalizeBlock: (0, import_sdkMetadata.withMetadata)(async function getFinalizeBlock(input, options) {
|
|
1967
1967
|
const service = await serviceLoader.loadAt(8);
|
|
1968
1968
|
return getClient(service).finalizeBlock(input, options);
|
|
1969
|
-
}, { path: [8,
|
|
1969
|
+
}, { path: [8, "finalizeBlock"], serviceLoader })
|
|
1970
1970
|
}
|
|
1971
1971
|
}
|
|
1972
1972
|
};
|