injectivejs 1.11.2 → 1.11.4
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 +103 -110
- package/binary.d.ts +1 -1
- package/binary.js +1 -1
- package/cosmos/authz/v1beta1/tx.rpc.func.d.ts +3 -3
- package/cosmos/bank/v1beta1/tx.rpc.func.d.ts +4 -4
- package/cosmos/distribution/v1beta1/tx.rpc.func.d.ts +7 -7
- package/cosmos/feegrant/v1beta1/tx.rpc.func.d.ts +3 -3
- package/cosmos/gov/v1/tx.rpc.func.d.ts +7 -7
- package/cosmos/gov/v1beta1/tx.rpc.func.d.ts +4 -4
- package/cosmos/group/v1/tx.rpc.func.d.ts +14 -14
- package/cosmos/staking/v1beta1/tx.rpc.func.d.ts +7 -7
- package/cosmos/vesting/v1beta1/tx.rpc.func.d.ts +3 -3
- package/cosmwasm/wasm/v1/tx.rpc.func.d.ts +17 -17
- package/esm/binary.js +1 -1
- package/esm/extern.js +1 -1
- package/esm/helper-func-types.js +2 -8
- package/esm/helpers.js +1 -1
- package/esm/registry.js +1 -1
- package/esm/types.js +1 -1
- package/esm/utf8.js +1 -1
- package/esm/varint.js +1 -1
- package/extern.d.ts +1 -1
- package/extern.js +1 -1
- package/helper-func-types.d.ts +3 -14
- package/helper-func-types.js +2 -9
- package/helpers.d.ts +1 -1
- package/helpers.js +1 -1
- package/ibc/applications/transfer/v1/tx.rpc.func.d.ts +2 -2
- package/ibc/core/channel/v1/tx.rpc.func.d.ts +19 -19
- package/ibc/core/client/v1/tx.rpc.func.d.ts +7 -7
- package/ibc/core/connection/v1/tx.rpc.func.d.ts +5 -5
- package/injective/auction/v1beta1/tx.rpc.func.d.ts +2 -2
- package/injective/exchange/v1beta1/tx.rpc.func.d.ts +35 -35
- package/injective/insurance/v1beta1/tx.rpc.func.d.ts +4 -4
- package/injective/ocr/v1beta1/tx.rpc.func.d.ts +9 -9
- package/injective/oracle/v1beta1/tx.rpc.func.d.ts +8 -8
- package/injective/peggy/v1/msgs.rpc.func.d.ts +14 -14
- package/injective/permissions/v1beta1/tx.rpc.func.d.ts +7 -7
- package/injective/tokenfactory/v1beta1/tx.rpc.func.d.ts +6 -6
- package/injective/wasmx/v1/tx.rpc.func.d.ts +6 -6
- package/package.json +8 -8
- package/registry.d.ts +1 -1
- package/registry.js +1 -1
- package/types.d.ts +3 -44
- package/types.js +1 -1
- package/utf8.d.ts +1 -1
- package/utf8.js +1 -1
- package/varint.d.ts +1 -1
- package/varint.js +1 -1
package/README.md
CHANGED
|
@@ -62,26 +62,19 @@ npm install injectivejs
|
|
|
62
62
|
### RPC Clients
|
|
63
63
|
|
|
64
64
|
```js
|
|
65
|
-
import {
|
|
66
|
-
import {
|
|
67
|
-
import { createGetExchangeBalances } from "injectivejs/injective/exchange/v1beta1/query.rpc.func";
|
|
65
|
+
import { getAllBalances } from "injectivejs/cosmos/bank/v1beta1/query.rpc.func";
|
|
66
|
+
import { getExchangeBalances } from "injectivejs/injective/exchange/v1beta1/query.rpc.func";
|
|
68
67
|
|
|
69
68
|
{ getRpcEndpoint } = useChain("injective");
|
|
70
69
|
|
|
71
70
|
const endpoint = await getRpcEndpoint();
|
|
72
|
-
const rpc = createQueryRpc(endpoint);
|
|
73
|
-
|
|
74
|
-
// get the tree shakable helper functions using the rpc client
|
|
75
|
-
const getAllBalances = createGetAllBalances(rpc);
|
|
76
71
|
|
|
77
72
|
// now you can query the cosmos modules
|
|
78
|
-
const balance = await getAllBalances({
|
|
73
|
+
const balance = await getAllBalances(endpoint, {
|
|
79
74
|
address: "inj1addresshere",
|
|
80
75
|
});
|
|
81
76
|
|
|
82
|
-
|
|
83
|
-
const getExchangeBalances = createGetExchangeBalances(rpc);
|
|
84
|
-
const exchangeBalance = await getExchangeBalances({});
|
|
77
|
+
const exchangeBalance = await getExchangeBalances(endpoint, {});
|
|
85
78
|
```
|
|
86
79
|
|
|
87
80
|
### Tx Helpers
|
|
@@ -103,48 +96,48 @@ import {
|
|
|
103
96
|
#### Auction
|
|
104
97
|
|
|
105
98
|
```js
|
|
106
|
-
import {
|
|
99
|
+
import { bid } from "injectivejs/injective/auction/v1beta1/tx.rpc.func";
|
|
107
100
|
```
|
|
108
101
|
|
|
109
102
|
#### Exchange
|
|
110
103
|
|
|
111
104
|
```js
|
|
112
105
|
import {
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
106
|
+
activateStakeGrant,
|
|
107
|
+
adminUpdateBinaryOptionsMarket,
|
|
108
|
+
authorizeStakeGrants,
|
|
109
|
+
batchCancelBinaryOptionsOrders,
|
|
110
|
+
batchCancelDerivativeOrders,
|
|
111
|
+
batchCancelSpotOrders,
|
|
112
|
+
batchCreateDerivativeLimitOrders,
|
|
113
|
+
batchCreateSpotLimitOrders,
|
|
114
|
+
batchUpdateOrders,
|
|
115
|
+
cancelBinaryOptionsOrder,
|
|
116
|
+
cancelDerivativeOrder,
|
|
117
|
+
cancelSpotOrder,
|
|
118
|
+
createBinaryOptionsLimitOrder,
|
|
119
|
+
createBinaryOptionsMarketOrder,
|
|
120
|
+
createDerivativeLimitOrder,
|
|
121
|
+
createDerivativeMarketOrder,
|
|
122
|
+
createSpotLimitOrder,
|
|
123
|
+
createSpotMarketOrder,
|
|
124
|
+
decreasePositionMargin,
|
|
125
|
+
deposit,
|
|
126
|
+
emergencySettleMarket,
|
|
127
|
+
externalTransfer,
|
|
128
|
+
increasePositionMargin,
|
|
129
|
+
instantBinaryOptionsMarketLaunch,
|
|
130
|
+
instantExpiryFuturesMarketLaunch,
|
|
131
|
+
instantPerpetualMarketLaunch,
|
|
132
|
+
instantSpotMarketLaunch,
|
|
133
|
+
liquidatePosition,
|
|
134
|
+
privilegedExecuteContract,
|
|
135
|
+
rewardsOptOut,
|
|
136
|
+
subaccountTransfer,
|
|
137
|
+
updateDerivativeMarket,
|
|
138
|
+
updateParams,
|
|
139
|
+
updateSpotMarket,
|
|
140
|
+
withdraw,
|
|
148
141
|
} from "injectivejs/injective/exchange/v1beta1/tx.rpc.func";
|
|
149
142
|
```
|
|
150
143
|
|
|
@@ -152,9 +145,9 @@ import {
|
|
|
152
145
|
|
|
153
146
|
```js
|
|
154
147
|
import {
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
148
|
+
createInsuranceFund,
|
|
149
|
+
requestRedemption,
|
|
150
|
+
underwrite,
|
|
158
151
|
} from "injectivejs/injective/insurance/v1beta1/tx.rpc.func";
|
|
159
152
|
```
|
|
160
153
|
|
|
@@ -162,14 +155,14 @@ import {
|
|
|
162
155
|
|
|
163
156
|
```js
|
|
164
157
|
import {
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
158
|
+
acceptPayeeship,
|
|
159
|
+
createFeed,
|
|
160
|
+
fundFeedRewardPool,
|
|
161
|
+
setPayees,
|
|
162
|
+
transferPayeeship,
|
|
163
|
+
transmit,
|
|
164
|
+
updateFeed,
|
|
165
|
+
withdrawFeedRewardPool,
|
|
173
166
|
} from "injectivejs/injective/ocr/v1beta1/tx.rpc.func";
|
|
174
167
|
```
|
|
175
168
|
|
|
@@ -177,13 +170,13 @@ import {
|
|
|
177
170
|
|
|
178
171
|
```js
|
|
179
172
|
import {
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
173
|
+
relayBandRates,
|
|
174
|
+
relayCoinbaseMessages,
|
|
175
|
+
relayPriceFeedPrice,
|
|
176
|
+
relayProviderPrices,
|
|
177
|
+
relayPythPrices,
|
|
178
|
+
relayStorkMessage,
|
|
179
|
+
requestBandIBCRates,
|
|
187
180
|
} from "injectivejs/injective/oracle/v1beta1/tx.rpc.func";
|
|
188
181
|
```
|
|
189
182
|
|
|
@@ -191,19 +184,19 @@ import {
|
|
|
191
184
|
|
|
192
185
|
```js
|
|
193
186
|
import {
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
187
|
+
blacklistEthereumAddresses,
|
|
188
|
+
cancelSendToEth,
|
|
189
|
+
confirmBatch,
|
|
190
|
+
depositClaim,
|
|
191
|
+
eRC20DeployedClaim,
|
|
192
|
+
requestBatch,
|
|
193
|
+
revokeEthereumBlacklist,
|
|
194
|
+
sendToEth,
|
|
195
|
+
setOrchestratorAddresses,
|
|
196
|
+
submitBadSignatureEvidence,
|
|
197
|
+
valsetConfirm,
|
|
198
|
+
valsetUpdateClaim,
|
|
199
|
+
withdrawClaim,
|
|
207
200
|
} from "injectivejs/injective/peggy/v1/msgs.rpc.func";
|
|
208
201
|
```
|
|
209
202
|
|
|
@@ -211,57 +204,57 @@ import {
|
|
|
211
204
|
|
|
212
205
|
```js
|
|
213
206
|
import {
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
207
|
+
executeContract,
|
|
208
|
+
clearAdmin,
|
|
209
|
+
instantiateContract,
|
|
210
|
+
instantiateContract2,
|
|
211
|
+
migrateContract,
|
|
212
|
+
pinCodes,
|
|
213
|
+
removeCodeUploadParamsAddresses,
|
|
214
|
+
storeAndInstantiateContract,
|
|
215
|
+
storeCode,
|
|
216
|
+
sudoContract,
|
|
217
|
+
unpinCodes,
|
|
218
|
+
updateAdmin,
|
|
219
|
+
updateContractLabel,
|
|
220
|
+
updateInstantiateConfig,
|
|
221
|
+
addCodeUploadParamsAddresses,
|
|
222
|
+
storeAndMigrateContract,
|
|
230
223
|
} from "injectivejs/cosmwasm/wasm/v1/tx.rpc.func";
|
|
231
224
|
```
|
|
232
225
|
|
|
233
226
|
#### IBC
|
|
234
227
|
|
|
235
228
|
```js
|
|
236
|
-
import {
|
|
229
|
+
import { transfer } from "injectivejs/ibc/applications/transfer/v1/tx.rpc.func";
|
|
237
230
|
```
|
|
238
231
|
|
|
239
232
|
#### Cosmos
|
|
240
233
|
|
|
241
234
|
```js
|
|
242
235
|
import {
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
236
|
+
fundCommunityPool,
|
|
237
|
+
communityPoolSpend,
|
|
238
|
+
depositValidatorRewardsPool,
|
|
246
239
|
} from "injectivejs/cosmos/distribution/v1beta1/tx.rpc.func";
|
|
247
240
|
|
|
248
241
|
import {
|
|
249
|
-
|
|
250
|
-
|
|
242
|
+
send,
|
|
243
|
+
multiSend,
|
|
251
244
|
} from "injectivejs/cosmos/bank/v1beta1/tx.rpc.func";
|
|
252
245
|
|
|
253
246
|
import {
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
247
|
+
delegate,
|
|
248
|
+
undelegate,
|
|
249
|
+
cancelUnbondingDelegation,
|
|
250
|
+
createValidator,
|
|
258
251
|
} from "injectivejs/cosmos/staking/v1beta1/tx.rpc.func";
|
|
259
252
|
|
|
260
253
|
import {
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
254
|
+
deposit,
|
|
255
|
+
submitProposal,
|
|
256
|
+
vote,
|
|
257
|
+
voteWeighted,
|
|
265
258
|
} from "injectivejs/cosmos/gov/v1beta1/tx.rpc.func";
|
|
266
259
|
```
|
|
267
260
|
|
|
@@ -603,10 +596,10 @@ A unified toolkit for building applications and smart contracts in the Interchai
|
|
|
603
596
|
|
|
604
597
|
## Credits
|
|
605
598
|
|
|
606
|
-
🛠 Built by Hyperweb (formerly Cosmology) —
|
|
599
|
+
🛠 Built by Hyperweb (formerly Cosmology) — if you like our tools, please checkout and contribute to [our github ⚛️](https://github.com/hyperweb-io)
|
|
607
600
|
|
|
608
601
|
## Disclaimer
|
|
609
602
|
|
|
610
|
-
AS DESCRIBED IN THE LICENSES, THE SOFTWARE IS PROVIDED
|
|
603
|
+
AS DESCRIBED IN THE LICENSES, THE SOFTWARE IS PROVIDED "AS IS", AT YOUR OWN RISK, AND WITHOUT WARRANTIES OF ANY KIND.
|
|
611
604
|
|
|
612
605
|
No developer or entity involved in creating this software will be liable for any claims or damages whatsoever associated with your use, inability to use, or your interaction with other users of the code, including any direct, indirect, incidental, special, exemplary, punitive or consequential damages, or loss of profits, cryptocurrencies, tokens, or anything else of value.
|
package/binary.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* This file and any referenced files were automatically generated by @cosmology/telescope@1.12.
|
|
2
|
+
* This file and any referenced files were automatically generated by @cosmology/telescope@1.12.7
|
|
3
3
|
* DO NOT MODIFY BY HAND. Instead, download the latest proto files for your chain
|
|
4
4
|
* and run the transpile command or npm scripts command that is used to regenerate this bundle.
|
|
5
5
|
*/
|
package/binary.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
/**
|
|
3
|
-
* This file and any referenced files were automatically generated by @cosmology/telescope@1.12.
|
|
3
|
+
* This file and any referenced files were automatically generated by @cosmology/telescope@1.12.7
|
|
4
4
|
* DO NOT MODIFY BY HAND. Instead, download the latest proto files for your chain
|
|
5
5
|
* and run the transpile command or npm scripts command that is used to regenerate this bundle.
|
|
6
6
|
*/
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { MsgGrant, MsgExec, MsgRevoke } from "./tx";
|
|
2
|
-
export declare const grant: (client: import("
|
|
3
|
-
export declare const exec: (client: import("
|
|
4
|
-
export declare const revoke: (client: import("
|
|
2
|
+
export declare const grant: (client: import("@interchainjs/cosmos/types/signing-client").ISigningClient, signerAddress: string, message: MsgGrant | MsgGrant[], fee: import("../../../types").StdFee | "auto", memo: string) => Promise<import("@interchainjs/types").DeliverTxResponse>;
|
|
3
|
+
export declare const exec: (client: import("@interchainjs/cosmos/types/signing-client").ISigningClient, signerAddress: string, message: MsgExec | MsgExec[], fee: import("../../../types").StdFee | "auto", memo: string) => Promise<import("@interchainjs/types").DeliverTxResponse>;
|
|
4
|
+
export declare const revoke: (client: import("@interchainjs/cosmos/types/signing-client").ISigningClient, signerAddress: string, message: MsgRevoke | MsgRevoke[], fee: import("../../../types").StdFee | "auto", memo: string) => Promise<import("@interchainjs/types").DeliverTxResponse>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { MsgSend, MsgMultiSend, MsgUpdateParams, MsgSetSendEnabled } from "./tx";
|
|
2
|
-
export declare const send: (client: import("
|
|
3
|
-
export declare const multiSend: (client: import("
|
|
4
|
-
export declare const updateParams: (client: import("
|
|
5
|
-
export declare const setSendEnabled: (client: import("
|
|
2
|
+
export declare const send: (client: import("@interchainjs/cosmos/types/signing-client").ISigningClient, signerAddress: string, message: MsgSend | MsgSend[], fee: import("../../../types").StdFee | "auto", memo: string) => Promise<import("@interchainjs/types").DeliverTxResponse>;
|
|
3
|
+
export declare const multiSend: (client: import("@interchainjs/cosmos/types/signing-client").ISigningClient, signerAddress: string, message: MsgMultiSend | MsgMultiSend[], fee: import("../../../types").StdFee | "auto", memo: string) => Promise<import("@interchainjs/types").DeliverTxResponse>;
|
|
4
|
+
export declare const updateParams: (client: import("@interchainjs/cosmos/types/signing-client").ISigningClient, signerAddress: string, message: MsgUpdateParams | MsgUpdateParams[], fee: import("../../../types").StdFee | "auto", memo: string) => Promise<import("@interchainjs/types").DeliverTxResponse>;
|
|
5
|
+
export declare const setSendEnabled: (client: import("@interchainjs/cosmos/types/signing-client").ISigningClient, signerAddress: string, message: MsgSetSendEnabled | MsgSetSendEnabled[], fee: import("../../../types").StdFee | "auto", memo: string) => Promise<import("@interchainjs/types").DeliverTxResponse>;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { MsgSetWithdrawAddress, MsgWithdrawDelegatorReward, MsgWithdrawValidatorCommission, MsgFundCommunityPool, MsgUpdateParams, MsgCommunityPoolSpend, MsgDepositValidatorRewardsPool } from "./tx";
|
|
2
|
-
export declare const setWithdrawAddress: (client: import("
|
|
3
|
-
export declare const withdrawDelegatorReward: (client: import("
|
|
4
|
-
export declare const withdrawValidatorCommission: (client: import("
|
|
5
|
-
export declare const fundCommunityPool: (client: import("
|
|
6
|
-
export declare const updateParams: (client: import("
|
|
7
|
-
export declare const communityPoolSpend: (client: import("
|
|
8
|
-
export declare const depositValidatorRewardsPool: (client: import("
|
|
2
|
+
export declare const setWithdrawAddress: (client: import("@interchainjs/cosmos/types/signing-client").ISigningClient, signerAddress: string, message: MsgSetWithdrawAddress | MsgSetWithdrawAddress[], fee: import("../../../types").StdFee | "auto", memo: string) => Promise<import("@interchainjs/types").DeliverTxResponse>;
|
|
3
|
+
export declare const withdrawDelegatorReward: (client: import("@interchainjs/cosmos/types/signing-client").ISigningClient, signerAddress: string, message: MsgWithdrawDelegatorReward | MsgWithdrawDelegatorReward[], fee: import("../../../types").StdFee | "auto", memo: string) => Promise<import("@interchainjs/types").DeliverTxResponse>;
|
|
4
|
+
export declare const withdrawValidatorCommission: (client: import("@interchainjs/cosmos/types/signing-client").ISigningClient, signerAddress: string, message: MsgWithdrawValidatorCommission | MsgWithdrawValidatorCommission[], fee: import("../../../types").StdFee | "auto", memo: string) => Promise<import("@interchainjs/types").DeliverTxResponse>;
|
|
5
|
+
export declare const fundCommunityPool: (client: import("@interchainjs/cosmos/types/signing-client").ISigningClient, signerAddress: string, message: MsgFundCommunityPool | MsgFundCommunityPool[], fee: import("../../../types").StdFee | "auto", memo: string) => Promise<import("@interchainjs/types").DeliverTxResponse>;
|
|
6
|
+
export declare const updateParams: (client: import("@interchainjs/cosmos/types/signing-client").ISigningClient, signerAddress: string, message: MsgUpdateParams | MsgUpdateParams[], fee: import("../../../types").StdFee | "auto", memo: string) => Promise<import("@interchainjs/types").DeliverTxResponse>;
|
|
7
|
+
export declare const communityPoolSpend: (client: import("@interchainjs/cosmos/types/signing-client").ISigningClient, signerAddress: string, message: MsgCommunityPoolSpend | MsgCommunityPoolSpend[], fee: import("../../../types").StdFee | "auto", memo: string) => Promise<import("@interchainjs/types").DeliverTxResponse>;
|
|
8
|
+
export declare const depositValidatorRewardsPool: (client: import("@interchainjs/cosmos/types/signing-client").ISigningClient, signerAddress: string, message: MsgDepositValidatorRewardsPool | MsgDepositValidatorRewardsPool[], fee: import("../../../types").StdFee | "auto", memo: string) => Promise<import("@interchainjs/types").DeliverTxResponse>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { MsgGrantAllowance, MsgRevokeAllowance, MsgPruneAllowances } from "./tx";
|
|
2
|
-
export declare const grantAllowance: (client: import("
|
|
3
|
-
export declare const revokeAllowance: (client: import("
|
|
4
|
-
export declare const pruneAllowances: (client: import("
|
|
2
|
+
export declare const grantAllowance: (client: import("@interchainjs/cosmos/types/signing-client").ISigningClient, signerAddress: string, message: MsgGrantAllowance | MsgGrantAllowance[], fee: import("../../../types").StdFee | "auto", memo: string) => Promise<import("@interchainjs/types").DeliverTxResponse>;
|
|
3
|
+
export declare const revokeAllowance: (client: import("@interchainjs/cosmos/types/signing-client").ISigningClient, signerAddress: string, message: MsgRevokeAllowance | MsgRevokeAllowance[], fee: import("../../../types").StdFee | "auto", memo: string) => Promise<import("@interchainjs/types").DeliverTxResponse>;
|
|
4
|
+
export declare const pruneAllowances: (client: import("@interchainjs/cosmos/types/signing-client").ISigningClient, signerAddress: string, message: MsgPruneAllowances | MsgPruneAllowances[], fee: import("../../../types").StdFee | "auto", memo: string) => Promise<import("@interchainjs/types").DeliverTxResponse>;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { MsgSubmitProposal, MsgExecLegacyContent, MsgVote, MsgVoteWeighted, MsgDeposit, MsgUpdateParams, MsgCancelProposal } from "./tx";
|
|
2
|
-
export declare const submitProposal: (client: import("
|
|
3
|
-
export declare const execLegacyContent: (client: import("
|
|
4
|
-
export declare const vote: (client: import("
|
|
5
|
-
export declare const voteWeighted: (client: import("
|
|
6
|
-
export declare const deposit: (client: import("
|
|
7
|
-
export declare const updateParams: (client: import("
|
|
8
|
-
export declare const cancelProposal: (client: import("
|
|
2
|
+
export declare const submitProposal: (client: import("@interchainjs/cosmos/types/signing-client").ISigningClient, signerAddress: string, message: MsgSubmitProposal | MsgSubmitProposal[], fee: import("../../../types").StdFee | "auto", memo: string) => Promise<import("@interchainjs/types").DeliverTxResponse>;
|
|
3
|
+
export declare const execLegacyContent: (client: import("@interchainjs/cosmos/types/signing-client").ISigningClient, signerAddress: string, message: MsgExecLegacyContent | MsgExecLegacyContent[], fee: import("../../../types").StdFee | "auto", memo: string) => Promise<import("@interchainjs/types").DeliverTxResponse>;
|
|
4
|
+
export declare const vote: (client: import("@interchainjs/cosmos/types/signing-client").ISigningClient, signerAddress: string, message: MsgVote | MsgVote[], fee: import("../../../types").StdFee | "auto", memo: string) => Promise<import("@interchainjs/types").DeliverTxResponse>;
|
|
5
|
+
export declare const voteWeighted: (client: import("@interchainjs/cosmos/types/signing-client").ISigningClient, signerAddress: string, message: MsgVoteWeighted | MsgVoteWeighted[], fee: import("../../../types").StdFee | "auto", memo: string) => Promise<import("@interchainjs/types").DeliverTxResponse>;
|
|
6
|
+
export declare const deposit: (client: import("@interchainjs/cosmos/types/signing-client").ISigningClient, signerAddress: string, message: MsgDeposit | MsgDeposit[], fee: import("../../../types").StdFee | "auto", memo: string) => Promise<import("@interchainjs/types").DeliverTxResponse>;
|
|
7
|
+
export declare const updateParams: (client: import("@interchainjs/cosmos/types/signing-client").ISigningClient, signerAddress: string, message: MsgUpdateParams | MsgUpdateParams[], fee: import("../../../types").StdFee | "auto", memo: string) => Promise<import("@interchainjs/types").DeliverTxResponse>;
|
|
8
|
+
export declare const cancelProposal: (client: import("@interchainjs/cosmos/types/signing-client").ISigningClient, signerAddress: string, message: MsgCancelProposal | MsgCancelProposal[], fee: import("../../../types").StdFee | "auto", memo: string) => Promise<import("@interchainjs/types").DeliverTxResponse>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { MsgSubmitProposal, MsgVote, MsgVoteWeighted, MsgDeposit } from "./tx";
|
|
2
|
-
export declare const submitProposal: (client: import("
|
|
3
|
-
export declare const vote: (client: import("
|
|
4
|
-
export declare const voteWeighted: (client: import("
|
|
5
|
-
export declare const deposit: (client: import("
|
|
2
|
+
export declare const submitProposal: (client: import("@interchainjs/cosmos/types/signing-client").ISigningClient, signerAddress: string, message: MsgSubmitProposal | MsgSubmitProposal[], fee: import("../../../types").StdFee | "auto", memo: string) => Promise<import("@interchainjs/types").DeliverTxResponse>;
|
|
3
|
+
export declare const vote: (client: import("@interchainjs/cosmos/types/signing-client").ISigningClient, signerAddress: string, message: MsgVote | MsgVote[], fee: import("../../../types").StdFee | "auto", memo: string) => Promise<import("@interchainjs/types").DeliverTxResponse>;
|
|
4
|
+
export declare const voteWeighted: (client: import("@interchainjs/cosmos/types/signing-client").ISigningClient, signerAddress: string, message: MsgVoteWeighted | MsgVoteWeighted[], fee: import("../../../types").StdFee | "auto", memo: string) => Promise<import("@interchainjs/types").DeliverTxResponse>;
|
|
5
|
+
export declare const deposit: (client: import("@interchainjs/cosmos/types/signing-client").ISigningClient, signerAddress: string, message: MsgDeposit | MsgDeposit[], fee: import("../../../types").StdFee | "auto", memo: string) => Promise<import("@interchainjs/types").DeliverTxResponse>;
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { MsgCreateGroup, MsgUpdateGroupMembers, MsgUpdateGroupAdmin, MsgUpdateGroupMetadata, MsgCreateGroupPolicy, MsgCreateGroupWithPolicy, MsgUpdateGroupPolicyAdmin, MsgUpdateGroupPolicyDecisionPolicy, MsgUpdateGroupPolicyMetadata, MsgSubmitProposal, MsgWithdrawProposal, MsgVote, MsgExec, MsgLeaveGroup } from "./tx";
|
|
2
|
-
export declare const createGroup: (client: import("
|
|
3
|
-
export declare const updateGroupMembers: (client: import("
|
|
4
|
-
export declare const updateGroupAdmin: (client: import("
|
|
5
|
-
export declare const updateGroupMetadata: (client: import("
|
|
6
|
-
export declare const createGroupPolicy: (client: import("
|
|
7
|
-
export declare const createGroupWithPolicy: (client: import("
|
|
8
|
-
export declare const updateGroupPolicyAdmin: (client: import("
|
|
9
|
-
export declare const updateGroupPolicyDecisionPolicy: (client: import("
|
|
10
|
-
export declare const updateGroupPolicyMetadata: (client: import("
|
|
11
|
-
export declare const submitProposal: (client: import("
|
|
12
|
-
export declare const withdrawProposal: (client: import("
|
|
13
|
-
export declare const vote: (client: import("
|
|
14
|
-
export declare const exec: (client: import("
|
|
15
|
-
export declare const leaveGroup: (client: import("
|
|
2
|
+
export declare const createGroup: (client: import("@interchainjs/cosmos/types/signing-client").ISigningClient, signerAddress: string, message: MsgCreateGroup | MsgCreateGroup[], fee: import("../../../types").StdFee | "auto", memo: string) => Promise<import("@interchainjs/types").DeliverTxResponse>;
|
|
3
|
+
export declare const updateGroupMembers: (client: import("@interchainjs/cosmos/types/signing-client").ISigningClient, signerAddress: string, message: MsgUpdateGroupMembers | MsgUpdateGroupMembers[], fee: import("../../../types").StdFee | "auto", memo: string) => Promise<import("@interchainjs/types").DeliverTxResponse>;
|
|
4
|
+
export declare const updateGroupAdmin: (client: import("@interchainjs/cosmos/types/signing-client").ISigningClient, signerAddress: string, message: MsgUpdateGroupAdmin | MsgUpdateGroupAdmin[], fee: import("../../../types").StdFee | "auto", memo: string) => Promise<import("@interchainjs/types").DeliverTxResponse>;
|
|
5
|
+
export declare const updateGroupMetadata: (client: import("@interchainjs/cosmos/types/signing-client").ISigningClient, signerAddress: string, message: MsgUpdateGroupMetadata | MsgUpdateGroupMetadata[], fee: import("../../../types").StdFee | "auto", memo: string) => Promise<import("@interchainjs/types").DeliverTxResponse>;
|
|
6
|
+
export declare const createGroupPolicy: (client: import("@interchainjs/cosmos/types/signing-client").ISigningClient, signerAddress: string, message: MsgCreateGroupPolicy | MsgCreateGroupPolicy[], fee: import("../../../types").StdFee | "auto", memo: string) => Promise<import("@interchainjs/types").DeliverTxResponse>;
|
|
7
|
+
export declare const createGroupWithPolicy: (client: import("@interchainjs/cosmos/types/signing-client").ISigningClient, signerAddress: string, message: MsgCreateGroupWithPolicy | MsgCreateGroupWithPolicy[], fee: import("../../../types").StdFee | "auto", memo: string) => Promise<import("@interchainjs/types").DeliverTxResponse>;
|
|
8
|
+
export declare const updateGroupPolicyAdmin: (client: import("@interchainjs/cosmos/types/signing-client").ISigningClient, signerAddress: string, message: MsgUpdateGroupPolicyAdmin | MsgUpdateGroupPolicyAdmin[], fee: import("../../../types").StdFee | "auto", memo: string) => Promise<import("@interchainjs/types").DeliverTxResponse>;
|
|
9
|
+
export declare const updateGroupPolicyDecisionPolicy: (client: import("@interchainjs/cosmos/types/signing-client").ISigningClient, signerAddress: string, message: MsgUpdateGroupPolicyDecisionPolicy | MsgUpdateGroupPolicyDecisionPolicy[], fee: import("../../../types").StdFee | "auto", memo: string) => Promise<import("@interchainjs/types").DeliverTxResponse>;
|
|
10
|
+
export declare const updateGroupPolicyMetadata: (client: import("@interchainjs/cosmos/types/signing-client").ISigningClient, signerAddress: string, message: MsgUpdateGroupPolicyMetadata | MsgUpdateGroupPolicyMetadata[], fee: import("../../../types").StdFee | "auto", memo: string) => Promise<import("@interchainjs/types").DeliverTxResponse>;
|
|
11
|
+
export declare const submitProposal: (client: import("@interchainjs/cosmos/types/signing-client").ISigningClient, signerAddress: string, message: MsgSubmitProposal | MsgSubmitProposal[], fee: import("../../../types").StdFee | "auto", memo: string) => Promise<import("@interchainjs/types").DeliverTxResponse>;
|
|
12
|
+
export declare const withdrawProposal: (client: import("@interchainjs/cosmos/types/signing-client").ISigningClient, signerAddress: string, message: MsgWithdrawProposal | MsgWithdrawProposal[], fee: import("../../../types").StdFee | "auto", memo: string) => Promise<import("@interchainjs/types").DeliverTxResponse>;
|
|
13
|
+
export declare const vote: (client: import("@interchainjs/cosmos/types/signing-client").ISigningClient, signerAddress: string, message: MsgVote | MsgVote[], fee: import("../../../types").StdFee | "auto", memo: string) => Promise<import("@interchainjs/types").DeliverTxResponse>;
|
|
14
|
+
export declare const exec: (client: import("@interchainjs/cosmos/types/signing-client").ISigningClient, signerAddress: string, message: MsgExec | MsgExec[], fee: import("../../../types").StdFee | "auto", memo: string) => Promise<import("@interchainjs/types").DeliverTxResponse>;
|
|
15
|
+
export declare const leaveGroup: (client: import("@interchainjs/cosmos/types/signing-client").ISigningClient, signerAddress: string, message: MsgLeaveGroup | MsgLeaveGroup[], fee: import("../../../types").StdFee | "auto", memo: string) => Promise<import("@interchainjs/types").DeliverTxResponse>;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { MsgCreateValidator, MsgEditValidator, MsgDelegate, MsgBeginRedelegate, MsgUndelegate, MsgCancelUnbondingDelegation, MsgUpdateParams } from "./tx";
|
|
2
|
-
export declare const createValidator: (client: import("
|
|
3
|
-
export declare const editValidator: (client: import("
|
|
4
|
-
export declare const delegate: (client: import("
|
|
5
|
-
export declare const beginRedelegate: (client: import("
|
|
6
|
-
export declare const undelegate: (client: import("
|
|
7
|
-
export declare const cancelUnbondingDelegation: (client: import("
|
|
8
|
-
export declare const updateParams: (client: import("
|
|
2
|
+
export declare const createValidator: (client: import("@interchainjs/cosmos/types/signing-client").ISigningClient, signerAddress: string, message: MsgCreateValidator | MsgCreateValidator[], fee: import("../../../types").StdFee | "auto", memo: string) => Promise<import("@interchainjs/types").DeliverTxResponse>;
|
|
3
|
+
export declare const editValidator: (client: import("@interchainjs/cosmos/types/signing-client").ISigningClient, signerAddress: string, message: MsgEditValidator | MsgEditValidator[], fee: import("../../../types").StdFee | "auto", memo: string) => Promise<import("@interchainjs/types").DeliverTxResponse>;
|
|
4
|
+
export declare const delegate: (client: import("@interchainjs/cosmos/types/signing-client").ISigningClient, signerAddress: string, message: MsgDelegate | MsgDelegate[], fee: import("../../../types").StdFee | "auto", memo: string) => Promise<import("@interchainjs/types").DeliverTxResponse>;
|
|
5
|
+
export declare const beginRedelegate: (client: import("@interchainjs/cosmos/types/signing-client").ISigningClient, signerAddress: string, message: MsgBeginRedelegate | MsgBeginRedelegate[], fee: import("../../../types").StdFee | "auto", memo: string) => Promise<import("@interchainjs/types").DeliverTxResponse>;
|
|
6
|
+
export declare const undelegate: (client: import("@interchainjs/cosmos/types/signing-client").ISigningClient, signerAddress: string, message: MsgUndelegate | MsgUndelegate[], fee: import("../../../types").StdFee | "auto", memo: string) => Promise<import("@interchainjs/types").DeliverTxResponse>;
|
|
7
|
+
export declare const cancelUnbondingDelegation: (client: import("@interchainjs/cosmos/types/signing-client").ISigningClient, signerAddress: string, message: MsgCancelUnbondingDelegation | MsgCancelUnbondingDelegation[], fee: import("../../../types").StdFee | "auto", memo: string) => Promise<import("@interchainjs/types").DeliverTxResponse>;
|
|
8
|
+
export declare const updateParams: (client: import("@interchainjs/cosmos/types/signing-client").ISigningClient, signerAddress: string, message: MsgUpdateParams | MsgUpdateParams[], fee: import("../../../types").StdFee | "auto", memo: string) => Promise<import("@interchainjs/types").DeliverTxResponse>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { MsgCreateVestingAccount, MsgCreatePermanentLockedAccount, MsgCreatePeriodicVestingAccount } from "./tx";
|
|
2
|
-
export declare const createVestingAccount: (client: import("
|
|
3
|
-
export declare const createPermanentLockedAccount: (client: import("
|
|
4
|
-
export declare const createPeriodicVestingAccount: (client: import("
|
|
2
|
+
export declare const createVestingAccount: (client: import("@interchainjs/cosmos/types/signing-client").ISigningClient, signerAddress: string, message: MsgCreateVestingAccount | MsgCreateVestingAccount[], fee: import("../../../types").StdFee | "auto", memo: string) => Promise<import("@interchainjs/types").DeliverTxResponse>;
|
|
3
|
+
export declare const createPermanentLockedAccount: (client: import("@interchainjs/cosmos/types/signing-client").ISigningClient, signerAddress: string, message: MsgCreatePermanentLockedAccount | MsgCreatePermanentLockedAccount[], fee: import("../../../types").StdFee | "auto", memo: string) => Promise<import("@interchainjs/types").DeliverTxResponse>;
|
|
4
|
+
export declare const createPeriodicVestingAccount: (client: import("@interchainjs/cosmos/types/signing-client").ISigningClient, signerAddress: string, message: MsgCreatePeriodicVestingAccount | MsgCreatePeriodicVestingAccount[], fee: import("../../../types").StdFee | "auto", memo: string) => Promise<import("@interchainjs/types").DeliverTxResponse>;
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import { MsgStoreCode, MsgInstantiateContract, MsgInstantiateContract2, MsgExecuteContract, MsgMigrateContract, MsgUpdateAdmin, MsgClearAdmin, MsgUpdateInstantiateConfig, MsgUpdateParams, MsgSudoContract, MsgPinCodes, MsgUnpinCodes, MsgStoreAndInstantiateContract, MsgRemoveCodeUploadParamsAddresses, MsgAddCodeUploadParamsAddresses, MsgStoreAndMigrateContract, MsgUpdateContractLabel } from "./tx";
|
|
2
|
-
export declare const storeCode: (client: import("
|
|
3
|
-
export declare const instantiateContract: (client: import("
|
|
4
|
-
export declare const instantiateContract2: (client: import("
|
|
5
|
-
export declare const executeContract: (client: import("
|
|
6
|
-
export declare const migrateContract: (client: import("
|
|
7
|
-
export declare const updateAdmin: (client: import("
|
|
8
|
-
export declare const clearAdmin: (client: import("
|
|
9
|
-
export declare const updateInstantiateConfig: (client: import("
|
|
10
|
-
export declare const updateParams: (client: import("
|
|
11
|
-
export declare const sudoContract: (client: import("
|
|
12
|
-
export declare const pinCodes: (client: import("
|
|
13
|
-
export declare const unpinCodes: (client: import("
|
|
14
|
-
export declare const storeAndInstantiateContract: (client: import("
|
|
15
|
-
export declare const removeCodeUploadParamsAddresses: (client: import("
|
|
16
|
-
export declare const addCodeUploadParamsAddresses: (client: import("
|
|
17
|
-
export declare const storeAndMigrateContract: (client: import("
|
|
18
|
-
export declare const updateContractLabel: (client: import("
|
|
2
|
+
export declare const storeCode: (client: import("@interchainjs/cosmos/types/signing-client").ISigningClient, signerAddress: string, message: MsgStoreCode | MsgStoreCode[], fee: import("../../../types").StdFee | "auto", memo: string) => Promise<import("@interchainjs/types").DeliverTxResponse>;
|
|
3
|
+
export declare const instantiateContract: (client: import("@interchainjs/cosmos/types/signing-client").ISigningClient, signerAddress: string, message: MsgInstantiateContract | MsgInstantiateContract[], fee: import("../../../types").StdFee | "auto", memo: string) => Promise<import("@interchainjs/types").DeliverTxResponse>;
|
|
4
|
+
export declare const instantiateContract2: (client: import("@interchainjs/cosmos/types/signing-client").ISigningClient, signerAddress: string, message: MsgInstantiateContract2 | MsgInstantiateContract2[], fee: import("../../../types").StdFee | "auto", memo: string) => Promise<import("@interchainjs/types").DeliverTxResponse>;
|
|
5
|
+
export declare const executeContract: (client: import("@interchainjs/cosmos/types/signing-client").ISigningClient, signerAddress: string, message: MsgExecuteContract | MsgExecuteContract[], fee: import("../../../types").StdFee | "auto", memo: string) => Promise<import("@interchainjs/types").DeliverTxResponse>;
|
|
6
|
+
export declare const migrateContract: (client: import("@interchainjs/cosmos/types/signing-client").ISigningClient, signerAddress: string, message: MsgMigrateContract | MsgMigrateContract[], fee: import("../../../types").StdFee | "auto", memo: string) => Promise<import("@interchainjs/types").DeliverTxResponse>;
|
|
7
|
+
export declare const updateAdmin: (client: import("@interchainjs/cosmos/types/signing-client").ISigningClient, signerAddress: string, message: MsgUpdateAdmin | MsgUpdateAdmin[], fee: import("../../../types").StdFee | "auto", memo: string) => Promise<import("@interchainjs/types").DeliverTxResponse>;
|
|
8
|
+
export declare const clearAdmin: (client: import("@interchainjs/cosmos/types/signing-client").ISigningClient, signerAddress: string, message: MsgClearAdmin | MsgClearAdmin[], fee: import("../../../types").StdFee | "auto", memo: string) => Promise<import("@interchainjs/types").DeliverTxResponse>;
|
|
9
|
+
export declare const updateInstantiateConfig: (client: import("@interchainjs/cosmos/types/signing-client").ISigningClient, signerAddress: string, message: MsgUpdateInstantiateConfig | MsgUpdateInstantiateConfig[], fee: import("../../../types").StdFee | "auto", memo: string) => Promise<import("@interchainjs/types").DeliverTxResponse>;
|
|
10
|
+
export declare const updateParams: (client: import("@interchainjs/cosmos/types/signing-client").ISigningClient, signerAddress: string, message: MsgUpdateParams | MsgUpdateParams[], fee: import("../../../types").StdFee | "auto", memo: string) => Promise<import("@interchainjs/types").DeliverTxResponse>;
|
|
11
|
+
export declare const sudoContract: (client: import("@interchainjs/cosmos/types/signing-client").ISigningClient, signerAddress: string, message: MsgSudoContract | MsgSudoContract[], fee: import("../../../types").StdFee | "auto", memo: string) => Promise<import("@interchainjs/types").DeliverTxResponse>;
|
|
12
|
+
export declare const pinCodes: (client: import("@interchainjs/cosmos/types/signing-client").ISigningClient, signerAddress: string, message: MsgPinCodes | MsgPinCodes[], fee: import("../../../types").StdFee | "auto", memo: string) => Promise<import("@interchainjs/types").DeliverTxResponse>;
|
|
13
|
+
export declare const unpinCodes: (client: import("@interchainjs/cosmos/types/signing-client").ISigningClient, signerAddress: string, message: MsgUnpinCodes | MsgUnpinCodes[], fee: import("../../../types").StdFee | "auto", memo: string) => Promise<import("@interchainjs/types").DeliverTxResponse>;
|
|
14
|
+
export declare const storeAndInstantiateContract: (client: import("@interchainjs/cosmos/types/signing-client").ISigningClient, signerAddress: string, message: MsgStoreAndInstantiateContract | MsgStoreAndInstantiateContract[], fee: import("../../../types").StdFee | "auto", memo: string) => Promise<import("@interchainjs/types").DeliverTxResponse>;
|
|
15
|
+
export declare const removeCodeUploadParamsAddresses: (client: import("@interchainjs/cosmos/types/signing-client").ISigningClient, signerAddress: string, message: MsgRemoveCodeUploadParamsAddresses | MsgRemoveCodeUploadParamsAddresses[], fee: import("../../../types").StdFee | "auto", memo: string) => Promise<import("@interchainjs/types").DeliverTxResponse>;
|
|
16
|
+
export declare const addCodeUploadParamsAddresses: (client: import("@interchainjs/cosmos/types/signing-client").ISigningClient, signerAddress: string, message: MsgAddCodeUploadParamsAddresses | MsgAddCodeUploadParamsAddresses[], fee: import("../../../types").StdFee | "auto", memo: string) => Promise<import("@interchainjs/types").DeliverTxResponse>;
|
|
17
|
+
export declare const storeAndMigrateContract: (client: import("@interchainjs/cosmos/types/signing-client").ISigningClient, signerAddress: string, message: MsgStoreAndMigrateContract | MsgStoreAndMigrateContract[], fee: import("../../../types").StdFee | "auto", memo: string) => Promise<import("@interchainjs/types").DeliverTxResponse>;
|
|
18
|
+
export declare const updateContractLabel: (client: import("@interchainjs/cosmos/types/signing-client").ISigningClient, signerAddress: string, message: MsgUpdateContractLabel | MsgUpdateContractLabel[], fee: import("../../../types").StdFee | "auto", memo: string) => Promise<import("@interchainjs/types").DeliverTxResponse>;
|
package/esm/binary.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* This file and any referenced files were automatically generated by @cosmology/telescope@1.12.
|
|
2
|
+
* This file and any referenced files were automatically generated by @cosmology/telescope@1.12.7
|
|
3
3
|
* DO NOT MODIFY BY HAND. Instead, download the latest proto files for your chain
|
|
4
4
|
* and run the transpile command or npm scripts command that is used to regenerate this bundle.
|
|
5
5
|
*/
|
package/esm/extern.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* This file and any referenced files were automatically generated by @cosmology/telescope@1.12.
|
|
2
|
+
* This file and any referenced files were automatically generated by @cosmology/telescope@1.12.7
|
|
3
3
|
* DO NOT MODIFY BY HAND. Instead, download the latest proto files for your chain
|
|
4
4
|
* and run the transpile command or npm scripts command that is used to regenerate this bundle.
|
|
5
5
|
*/
|