injectivejs 1.6.3 → 1.6.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/binary.d.ts +1 -1
- package/binary.js +1 -1
- package/cosmos/authz/v1beta1/tx.registry.d.ts +47 -0
- package/cosmos/authz/v1beta1/tx.registry.js +67 -0
- package/cosmos/bank/v1beta1/tx.registry.d.ts +59 -0
- package/cosmos/bank/v1beta1/tx.registry.js +85 -0
- package/cosmos/client.d.ts +13 -0
- package/cosmos/client.js +59 -0
- package/cosmos/distribution/v1beta1/tx.registry.d.ts +95 -0
- package/cosmos/distribution/v1beta1/tx.registry.js +139 -0
- package/cosmos/feegrant/v1beta1/tx.registry.d.ts +47 -0
- package/cosmos/feegrant/v1beta1/tx.registry.js +67 -0
- package/cosmos/gov/v1/tx.registry.d.ts +95 -0
- package/cosmos/gov/v1/tx.registry.js +139 -0
- package/cosmos/gov/v1beta1/tx.registry.d.ts +59 -0
- package/cosmos/gov/v1beta1/tx.registry.js +85 -0
- package/cosmos/group/v1/tx.registry.d.ts +179 -0
- package/cosmos/group/v1/tx.registry.js +265 -0
- package/cosmos/staking/v1beta1/tx.registry.d.ts +95 -0
- package/cosmos/staking/v1beta1/tx.registry.js +139 -0
- package/cosmos/vesting/v1beta1/tx.registry.d.ts +47 -0
- package/cosmos/vesting/v1beta1/tx.registry.js +67 -0
- package/cosmwasm/client.d.ts +16 -0
- package/cosmwasm/client.js +53 -0
- package/cosmwasm/wasm/v1/tx.registry.d.ts +215 -0
- package/cosmwasm/wasm/v1/tx.registry.js +319 -0
- package/esm/binary.js +1 -1
- package/esm/cosmos/authz/v1beta1/tx.registry.js +64 -0
- package/esm/cosmos/bank/v1beta1/tx.registry.js +82 -0
- package/esm/cosmos/client.js +31 -0
- package/esm/cosmos/distribution/v1beta1/tx.registry.js +136 -0
- package/esm/cosmos/feegrant/v1beta1/tx.registry.js +64 -0
- package/esm/cosmos/gov/v1/tx.registry.js +136 -0
- package/esm/cosmos/gov/v1beta1/tx.registry.js +82 -0
- package/esm/cosmos/group/v1/tx.registry.js +262 -0
- package/esm/cosmos/staking/v1beta1/tx.registry.js +136 -0
- package/esm/cosmos/vesting/v1beta1/tx.registry.js +64 -0
- package/esm/cosmwasm/client.js +25 -0
- package/esm/cosmwasm/wasm/v1/tx.registry.js +316 -0
- package/esm/extern.js +1 -1
- package/esm/helper-func-types.js +1 -1
- package/esm/helpers.js +1 -1
- package/esm/ibc/applications/transfer/v1/tx.registry.js +46 -0
- package/esm/ibc/client.js +28 -0
- package/esm/ibc/core/channel/v1/tx.registry.js +352 -0
- package/esm/ibc/core/client/v1/tx.registry.js +136 -0
- package/esm/ibc/core/connection/v1/tx.registry.js +100 -0
- package/esm/injective/auction/v1beta1/tx.registry.js +46 -0
- package/esm/injective/client.js +33 -0
- package/esm/injective/exchange/v1beta1/tx.registry.js +640 -0
- package/esm/injective/insurance/v1beta1/tx.registry.js +82 -0
- package/esm/injective/ocr/v1beta1/tx.registry.js +172 -0
- package/esm/injective/oracle/v1beta1/tx.registry.js +154 -0
- package/esm/injective/peggy/v1/msgs.registry.js +262 -0
- package/esm/injective/permissions/v1beta1/tx.registry.js +136 -0
- package/esm/injective/tokenfactory/v1beta1/tx.registry.js +118 -0
- package/esm/injective/wasmx/v1/tx.registry.js +118 -0
- 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 +1 -1
- package/helper-func-types.js +1 -1
- package/helpers.d.ts +1 -1
- package/helpers.js +1 -1
- package/ibc/applications/transfer/v1/tx.registry.d.ts +35 -0
- package/ibc/applications/transfer/v1/tx.registry.js +49 -0
- package/ibc/client.d.ts +16 -0
- package/ibc/client.js +56 -0
- package/ibc/core/channel/v1/tx.registry.d.ts +239 -0
- package/ibc/core/channel/v1/tx.registry.js +355 -0
- package/ibc/core/client/v1/tx.registry.d.ts +95 -0
- package/ibc/core/client/v1/tx.registry.js +139 -0
- package/ibc/core/connection/v1/tx.registry.d.ts +71 -0
- package/ibc/core/connection/v1/tx.registry.js +103 -0
- package/injective/auction/v1beta1/tx.registry.d.ts +35 -0
- package/injective/auction/v1beta1/tx.registry.js +49 -0
- package/injective/client.d.ts +16 -0
- package/injective/client.js +61 -0
- package/injective/exchange/v1beta1/tx.registry.d.ts +431 -0
- package/injective/exchange/v1beta1/tx.registry.js +643 -0
- package/injective/insurance/v1beta1/tx.registry.d.ts +59 -0
- package/injective/insurance/v1beta1/tx.registry.js +85 -0
- package/injective/ocr/v1beta1/tx.registry.d.ts +119 -0
- package/injective/ocr/v1beta1/tx.registry.js +175 -0
- package/injective/oracle/v1beta1/tx.registry.d.ts +107 -0
- package/injective/oracle/v1beta1/tx.registry.js +157 -0
- package/injective/peggy/v1/msgs.registry.d.ts +179 -0
- package/injective/peggy/v1/msgs.registry.js +265 -0
- package/injective/permissions/v1beta1/tx.registry.d.ts +95 -0
- package/injective/permissions/v1beta1/tx.registry.js +139 -0
- package/injective/tokenfactory/v1beta1/tx.registry.d.ts +83 -0
- package/injective/tokenfactory/v1beta1/tx.registry.js +121 -0
- package/injective/wasmx/v1/tx.registry.d.ts +83 -0
- package/injective/wasmx/v1/tx.registry.js +121 -0
- package/package.json +2 -2
- package/registry.d.ts +1 -1
- package/registry.js +1 -1
- package/types.d.ts +1 -1
- 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
|
@@ -0,0 +1,215 @@
|
|
|
1
|
+
import { TelescopeGeneratedType } from "../../../types";
|
|
2
|
+
import { MsgStoreCode, MsgInstantiateContract, MsgInstantiateContract2, MsgExecuteContract, MsgMigrateContract, MsgUpdateAdmin, MsgClearAdmin, MsgUpdateInstantiateConfig, MsgUpdateParams, MsgSudoContract, MsgPinCodes, MsgUnpinCodes, MsgStoreAndInstantiateContract, MsgRemoveCodeUploadParamsAddresses, MsgAddCodeUploadParamsAddresses, MsgStoreAndMigrateContract, MsgUpdateContractLabel } from "./tx";
|
|
3
|
+
export declare const registry: ReadonlyArray<[string, TelescopeGeneratedType<any, any, any>]>;
|
|
4
|
+
export declare const MessageComposer: {
|
|
5
|
+
encoded: {
|
|
6
|
+
storeCode(value: MsgStoreCode): {
|
|
7
|
+
typeUrl: string;
|
|
8
|
+
value: Uint8Array;
|
|
9
|
+
};
|
|
10
|
+
instantiateContract(value: MsgInstantiateContract): {
|
|
11
|
+
typeUrl: string;
|
|
12
|
+
value: Uint8Array;
|
|
13
|
+
};
|
|
14
|
+
instantiateContract2(value: MsgInstantiateContract2): {
|
|
15
|
+
typeUrl: string;
|
|
16
|
+
value: Uint8Array;
|
|
17
|
+
};
|
|
18
|
+
executeContract(value: MsgExecuteContract): {
|
|
19
|
+
typeUrl: string;
|
|
20
|
+
value: Uint8Array;
|
|
21
|
+
};
|
|
22
|
+
migrateContract(value: MsgMigrateContract): {
|
|
23
|
+
typeUrl: string;
|
|
24
|
+
value: Uint8Array;
|
|
25
|
+
};
|
|
26
|
+
updateAdmin(value: MsgUpdateAdmin): {
|
|
27
|
+
typeUrl: string;
|
|
28
|
+
value: Uint8Array;
|
|
29
|
+
};
|
|
30
|
+
clearAdmin(value: MsgClearAdmin): {
|
|
31
|
+
typeUrl: string;
|
|
32
|
+
value: Uint8Array;
|
|
33
|
+
};
|
|
34
|
+
updateInstantiateConfig(value: MsgUpdateInstantiateConfig): {
|
|
35
|
+
typeUrl: string;
|
|
36
|
+
value: Uint8Array;
|
|
37
|
+
};
|
|
38
|
+
updateParams(value: MsgUpdateParams): {
|
|
39
|
+
typeUrl: string;
|
|
40
|
+
value: Uint8Array;
|
|
41
|
+
};
|
|
42
|
+
sudoContract(value: MsgSudoContract): {
|
|
43
|
+
typeUrl: string;
|
|
44
|
+
value: Uint8Array;
|
|
45
|
+
};
|
|
46
|
+
pinCodes(value: MsgPinCodes): {
|
|
47
|
+
typeUrl: string;
|
|
48
|
+
value: Uint8Array;
|
|
49
|
+
};
|
|
50
|
+
unpinCodes(value: MsgUnpinCodes): {
|
|
51
|
+
typeUrl: string;
|
|
52
|
+
value: Uint8Array;
|
|
53
|
+
};
|
|
54
|
+
storeAndInstantiateContract(value: MsgStoreAndInstantiateContract): {
|
|
55
|
+
typeUrl: string;
|
|
56
|
+
value: Uint8Array;
|
|
57
|
+
};
|
|
58
|
+
removeCodeUploadParamsAddresses(value: MsgRemoveCodeUploadParamsAddresses): {
|
|
59
|
+
typeUrl: string;
|
|
60
|
+
value: Uint8Array;
|
|
61
|
+
};
|
|
62
|
+
addCodeUploadParamsAddresses(value: MsgAddCodeUploadParamsAddresses): {
|
|
63
|
+
typeUrl: string;
|
|
64
|
+
value: Uint8Array;
|
|
65
|
+
};
|
|
66
|
+
storeAndMigrateContract(value: MsgStoreAndMigrateContract): {
|
|
67
|
+
typeUrl: string;
|
|
68
|
+
value: Uint8Array;
|
|
69
|
+
};
|
|
70
|
+
updateContractLabel(value: MsgUpdateContractLabel): {
|
|
71
|
+
typeUrl: string;
|
|
72
|
+
value: Uint8Array;
|
|
73
|
+
};
|
|
74
|
+
};
|
|
75
|
+
withTypeUrl: {
|
|
76
|
+
storeCode(value: MsgStoreCode): {
|
|
77
|
+
typeUrl: string;
|
|
78
|
+
value: MsgStoreCode;
|
|
79
|
+
};
|
|
80
|
+
instantiateContract(value: MsgInstantiateContract): {
|
|
81
|
+
typeUrl: string;
|
|
82
|
+
value: MsgInstantiateContract;
|
|
83
|
+
};
|
|
84
|
+
instantiateContract2(value: MsgInstantiateContract2): {
|
|
85
|
+
typeUrl: string;
|
|
86
|
+
value: MsgInstantiateContract2;
|
|
87
|
+
};
|
|
88
|
+
executeContract(value: MsgExecuteContract): {
|
|
89
|
+
typeUrl: string;
|
|
90
|
+
value: MsgExecuteContract;
|
|
91
|
+
};
|
|
92
|
+
migrateContract(value: MsgMigrateContract): {
|
|
93
|
+
typeUrl: string;
|
|
94
|
+
value: MsgMigrateContract;
|
|
95
|
+
};
|
|
96
|
+
updateAdmin(value: MsgUpdateAdmin): {
|
|
97
|
+
typeUrl: string;
|
|
98
|
+
value: MsgUpdateAdmin;
|
|
99
|
+
};
|
|
100
|
+
clearAdmin(value: MsgClearAdmin): {
|
|
101
|
+
typeUrl: string;
|
|
102
|
+
value: MsgClearAdmin;
|
|
103
|
+
};
|
|
104
|
+
updateInstantiateConfig(value: MsgUpdateInstantiateConfig): {
|
|
105
|
+
typeUrl: string;
|
|
106
|
+
value: MsgUpdateInstantiateConfig;
|
|
107
|
+
};
|
|
108
|
+
updateParams(value: MsgUpdateParams): {
|
|
109
|
+
typeUrl: string;
|
|
110
|
+
value: MsgUpdateParams;
|
|
111
|
+
};
|
|
112
|
+
sudoContract(value: MsgSudoContract): {
|
|
113
|
+
typeUrl: string;
|
|
114
|
+
value: MsgSudoContract;
|
|
115
|
+
};
|
|
116
|
+
pinCodes(value: MsgPinCodes): {
|
|
117
|
+
typeUrl: string;
|
|
118
|
+
value: MsgPinCodes;
|
|
119
|
+
};
|
|
120
|
+
unpinCodes(value: MsgUnpinCodes): {
|
|
121
|
+
typeUrl: string;
|
|
122
|
+
value: MsgUnpinCodes;
|
|
123
|
+
};
|
|
124
|
+
storeAndInstantiateContract(value: MsgStoreAndInstantiateContract): {
|
|
125
|
+
typeUrl: string;
|
|
126
|
+
value: MsgStoreAndInstantiateContract;
|
|
127
|
+
};
|
|
128
|
+
removeCodeUploadParamsAddresses(value: MsgRemoveCodeUploadParamsAddresses): {
|
|
129
|
+
typeUrl: string;
|
|
130
|
+
value: MsgRemoveCodeUploadParamsAddresses;
|
|
131
|
+
};
|
|
132
|
+
addCodeUploadParamsAddresses(value: MsgAddCodeUploadParamsAddresses): {
|
|
133
|
+
typeUrl: string;
|
|
134
|
+
value: MsgAddCodeUploadParamsAddresses;
|
|
135
|
+
};
|
|
136
|
+
storeAndMigrateContract(value: MsgStoreAndMigrateContract): {
|
|
137
|
+
typeUrl: string;
|
|
138
|
+
value: MsgStoreAndMigrateContract;
|
|
139
|
+
};
|
|
140
|
+
updateContractLabel(value: MsgUpdateContractLabel): {
|
|
141
|
+
typeUrl: string;
|
|
142
|
+
value: MsgUpdateContractLabel;
|
|
143
|
+
};
|
|
144
|
+
};
|
|
145
|
+
fromPartial: {
|
|
146
|
+
storeCode(value: MsgStoreCode): {
|
|
147
|
+
typeUrl: string;
|
|
148
|
+
value: MsgStoreCode;
|
|
149
|
+
};
|
|
150
|
+
instantiateContract(value: MsgInstantiateContract): {
|
|
151
|
+
typeUrl: string;
|
|
152
|
+
value: MsgInstantiateContract;
|
|
153
|
+
};
|
|
154
|
+
instantiateContract2(value: MsgInstantiateContract2): {
|
|
155
|
+
typeUrl: string;
|
|
156
|
+
value: MsgInstantiateContract2;
|
|
157
|
+
};
|
|
158
|
+
executeContract(value: MsgExecuteContract): {
|
|
159
|
+
typeUrl: string;
|
|
160
|
+
value: MsgExecuteContract;
|
|
161
|
+
};
|
|
162
|
+
migrateContract(value: MsgMigrateContract): {
|
|
163
|
+
typeUrl: string;
|
|
164
|
+
value: MsgMigrateContract;
|
|
165
|
+
};
|
|
166
|
+
updateAdmin(value: MsgUpdateAdmin): {
|
|
167
|
+
typeUrl: string;
|
|
168
|
+
value: MsgUpdateAdmin;
|
|
169
|
+
};
|
|
170
|
+
clearAdmin(value: MsgClearAdmin): {
|
|
171
|
+
typeUrl: string;
|
|
172
|
+
value: MsgClearAdmin;
|
|
173
|
+
};
|
|
174
|
+
updateInstantiateConfig(value: MsgUpdateInstantiateConfig): {
|
|
175
|
+
typeUrl: string;
|
|
176
|
+
value: MsgUpdateInstantiateConfig;
|
|
177
|
+
};
|
|
178
|
+
updateParams(value: MsgUpdateParams): {
|
|
179
|
+
typeUrl: string;
|
|
180
|
+
value: MsgUpdateParams;
|
|
181
|
+
};
|
|
182
|
+
sudoContract(value: MsgSudoContract): {
|
|
183
|
+
typeUrl: string;
|
|
184
|
+
value: MsgSudoContract;
|
|
185
|
+
};
|
|
186
|
+
pinCodes(value: MsgPinCodes): {
|
|
187
|
+
typeUrl: string;
|
|
188
|
+
value: MsgPinCodes;
|
|
189
|
+
};
|
|
190
|
+
unpinCodes(value: MsgUnpinCodes): {
|
|
191
|
+
typeUrl: string;
|
|
192
|
+
value: MsgUnpinCodes;
|
|
193
|
+
};
|
|
194
|
+
storeAndInstantiateContract(value: MsgStoreAndInstantiateContract): {
|
|
195
|
+
typeUrl: string;
|
|
196
|
+
value: MsgStoreAndInstantiateContract;
|
|
197
|
+
};
|
|
198
|
+
removeCodeUploadParamsAddresses(value: MsgRemoveCodeUploadParamsAddresses): {
|
|
199
|
+
typeUrl: string;
|
|
200
|
+
value: MsgRemoveCodeUploadParamsAddresses;
|
|
201
|
+
};
|
|
202
|
+
addCodeUploadParamsAddresses(value: MsgAddCodeUploadParamsAddresses): {
|
|
203
|
+
typeUrl: string;
|
|
204
|
+
value: MsgAddCodeUploadParamsAddresses;
|
|
205
|
+
};
|
|
206
|
+
storeAndMigrateContract(value: MsgStoreAndMigrateContract): {
|
|
207
|
+
typeUrl: string;
|
|
208
|
+
value: MsgStoreAndMigrateContract;
|
|
209
|
+
};
|
|
210
|
+
updateContractLabel(value: MsgUpdateContractLabel): {
|
|
211
|
+
typeUrl: string;
|
|
212
|
+
value: MsgUpdateContractLabel;
|
|
213
|
+
};
|
|
214
|
+
};
|
|
215
|
+
};
|
|
@@ -0,0 +1,319 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.MessageComposer = exports.registry = void 0;
|
|
4
|
+
const tx_1 = require("./tx");
|
|
5
|
+
exports.registry = [["/cosmwasm.wasm.v1.MsgStoreCode", tx_1.MsgStoreCode], ["/cosmwasm.wasm.v1.MsgInstantiateContract", tx_1.MsgInstantiateContract], ["/cosmwasm.wasm.v1.MsgInstantiateContract2", tx_1.MsgInstantiateContract2], ["/cosmwasm.wasm.v1.MsgExecuteContract", tx_1.MsgExecuteContract], ["/cosmwasm.wasm.v1.MsgMigrateContract", tx_1.MsgMigrateContract], ["/cosmwasm.wasm.v1.MsgUpdateAdmin", tx_1.MsgUpdateAdmin], ["/cosmwasm.wasm.v1.MsgClearAdmin", tx_1.MsgClearAdmin], ["/cosmwasm.wasm.v1.MsgUpdateInstantiateConfig", tx_1.MsgUpdateInstantiateConfig], ["/cosmwasm.wasm.v1.MsgUpdateParams", tx_1.MsgUpdateParams], ["/cosmwasm.wasm.v1.MsgSudoContract", tx_1.MsgSudoContract], ["/cosmwasm.wasm.v1.MsgPinCodes", tx_1.MsgPinCodes], ["/cosmwasm.wasm.v1.MsgUnpinCodes", tx_1.MsgUnpinCodes], ["/cosmwasm.wasm.v1.MsgStoreAndInstantiateContract", tx_1.MsgStoreAndInstantiateContract], ["/cosmwasm.wasm.v1.MsgRemoveCodeUploadParamsAddresses", tx_1.MsgRemoveCodeUploadParamsAddresses], ["/cosmwasm.wasm.v1.MsgAddCodeUploadParamsAddresses", tx_1.MsgAddCodeUploadParamsAddresses], ["/cosmwasm.wasm.v1.MsgStoreAndMigrateContract", tx_1.MsgStoreAndMigrateContract], ["/cosmwasm.wasm.v1.MsgUpdateContractLabel", tx_1.MsgUpdateContractLabel]];
|
|
6
|
+
exports.MessageComposer = {
|
|
7
|
+
encoded: {
|
|
8
|
+
storeCode(value) {
|
|
9
|
+
return {
|
|
10
|
+
typeUrl: "/cosmwasm.wasm.v1.MsgStoreCode",
|
|
11
|
+
value: tx_1.MsgStoreCode.encode(value).finish()
|
|
12
|
+
};
|
|
13
|
+
},
|
|
14
|
+
instantiateContract(value) {
|
|
15
|
+
return {
|
|
16
|
+
typeUrl: "/cosmwasm.wasm.v1.MsgInstantiateContract",
|
|
17
|
+
value: tx_1.MsgInstantiateContract.encode(value).finish()
|
|
18
|
+
};
|
|
19
|
+
},
|
|
20
|
+
instantiateContract2(value) {
|
|
21
|
+
return {
|
|
22
|
+
typeUrl: "/cosmwasm.wasm.v1.MsgInstantiateContract2",
|
|
23
|
+
value: tx_1.MsgInstantiateContract2.encode(value).finish()
|
|
24
|
+
};
|
|
25
|
+
},
|
|
26
|
+
executeContract(value) {
|
|
27
|
+
return {
|
|
28
|
+
typeUrl: "/cosmwasm.wasm.v1.MsgExecuteContract",
|
|
29
|
+
value: tx_1.MsgExecuteContract.encode(value).finish()
|
|
30
|
+
};
|
|
31
|
+
},
|
|
32
|
+
migrateContract(value) {
|
|
33
|
+
return {
|
|
34
|
+
typeUrl: "/cosmwasm.wasm.v1.MsgMigrateContract",
|
|
35
|
+
value: tx_1.MsgMigrateContract.encode(value).finish()
|
|
36
|
+
};
|
|
37
|
+
},
|
|
38
|
+
updateAdmin(value) {
|
|
39
|
+
return {
|
|
40
|
+
typeUrl: "/cosmwasm.wasm.v1.MsgUpdateAdmin",
|
|
41
|
+
value: tx_1.MsgUpdateAdmin.encode(value).finish()
|
|
42
|
+
};
|
|
43
|
+
},
|
|
44
|
+
clearAdmin(value) {
|
|
45
|
+
return {
|
|
46
|
+
typeUrl: "/cosmwasm.wasm.v1.MsgClearAdmin",
|
|
47
|
+
value: tx_1.MsgClearAdmin.encode(value).finish()
|
|
48
|
+
};
|
|
49
|
+
},
|
|
50
|
+
updateInstantiateConfig(value) {
|
|
51
|
+
return {
|
|
52
|
+
typeUrl: "/cosmwasm.wasm.v1.MsgUpdateInstantiateConfig",
|
|
53
|
+
value: tx_1.MsgUpdateInstantiateConfig.encode(value).finish()
|
|
54
|
+
};
|
|
55
|
+
},
|
|
56
|
+
updateParams(value) {
|
|
57
|
+
return {
|
|
58
|
+
typeUrl: "/cosmwasm.wasm.v1.MsgUpdateParams",
|
|
59
|
+
value: tx_1.MsgUpdateParams.encode(value).finish()
|
|
60
|
+
};
|
|
61
|
+
},
|
|
62
|
+
sudoContract(value) {
|
|
63
|
+
return {
|
|
64
|
+
typeUrl: "/cosmwasm.wasm.v1.MsgSudoContract",
|
|
65
|
+
value: tx_1.MsgSudoContract.encode(value).finish()
|
|
66
|
+
};
|
|
67
|
+
},
|
|
68
|
+
pinCodes(value) {
|
|
69
|
+
return {
|
|
70
|
+
typeUrl: "/cosmwasm.wasm.v1.MsgPinCodes",
|
|
71
|
+
value: tx_1.MsgPinCodes.encode(value).finish()
|
|
72
|
+
};
|
|
73
|
+
},
|
|
74
|
+
unpinCodes(value) {
|
|
75
|
+
return {
|
|
76
|
+
typeUrl: "/cosmwasm.wasm.v1.MsgUnpinCodes",
|
|
77
|
+
value: tx_1.MsgUnpinCodes.encode(value).finish()
|
|
78
|
+
};
|
|
79
|
+
},
|
|
80
|
+
storeAndInstantiateContract(value) {
|
|
81
|
+
return {
|
|
82
|
+
typeUrl: "/cosmwasm.wasm.v1.MsgStoreAndInstantiateContract",
|
|
83
|
+
value: tx_1.MsgStoreAndInstantiateContract.encode(value).finish()
|
|
84
|
+
};
|
|
85
|
+
},
|
|
86
|
+
removeCodeUploadParamsAddresses(value) {
|
|
87
|
+
return {
|
|
88
|
+
typeUrl: "/cosmwasm.wasm.v1.MsgRemoveCodeUploadParamsAddresses",
|
|
89
|
+
value: tx_1.MsgRemoveCodeUploadParamsAddresses.encode(value).finish()
|
|
90
|
+
};
|
|
91
|
+
},
|
|
92
|
+
addCodeUploadParamsAddresses(value) {
|
|
93
|
+
return {
|
|
94
|
+
typeUrl: "/cosmwasm.wasm.v1.MsgAddCodeUploadParamsAddresses",
|
|
95
|
+
value: tx_1.MsgAddCodeUploadParamsAddresses.encode(value).finish()
|
|
96
|
+
};
|
|
97
|
+
},
|
|
98
|
+
storeAndMigrateContract(value) {
|
|
99
|
+
return {
|
|
100
|
+
typeUrl: "/cosmwasm.wasm.v1.MsgStoreAndMigrateContract",
|
|
101
|
+
value: tx_1.MsgStoreAndMigrateContract.encode(value).finish()
|
|
102
|
+
};
|
|
103
|
+
},
|
|
104
|
+
updateContractLabel(value) {
|
|
105
|
+
return {
|
|
106
|
+
typeUrl: "/cosmwasm.wasm.v1.MsgUpdateContractLabel",
|
|
107
|
+
value: tx_1.MsgUpdateContractLabel.encode(value).finish()
|
|
108
|
+
};
|
|
109
|
+
}
|
|
110
|
+
},
|
|
111
|
+
withTypeUrl: {
|
|
112
|
+
storeCode(value) {
|
|
113
|
+
return {
|
|
114
|
+
typeUrl: "/cosmwasm.wasm.v1.MsgStoreCode",
|
|
115
|
+
value
|
|
116
|
+
};
|
|
117
|
+
},
|
|
118
|
+
instantiateContract(value) {
|
|
119
|
+
return {
|
|
120
|
+
typeUrl: "/cosmwasm.wasm.v1.MsgInstantiateContract",
|
|
121
|
+
value
|
|
122
|
+
};
|
|
123
|
+
},
|
|
124
|
+
instantiateContract2(value) {
|
|
125
|
+
return {
|
|
126
|
+
typeUrl: "/cosmwasm.wasm.v1.MsgInstantiateContract2",
|
|
127
|
+
value
|
|
128
|
+
};
|
|
129
|
+
},
|
|
130
|
+
executeContract(value) {
|
|
131
|
+
return {
|
|
132
|
+
typeUrl: "/cosmwasm.wasm.v1.MsgExecuteContract",
|
|
133
|
+
value
|
|
134
|
+
};
|
|
135
|
+
},
|
|
136
|
+
migrateContract(value) {
|
|
137
|
+
return {
|
|
138
|
+
typeUrl: "/cosmwasm.wasm.v1.MsgMigrateContract",
|
|
139
|
+
value
|
|
140
|
+
};
|
|
141
|
+
},
|
|
142
|
+
updateAdmin(value) {
|
|
143
|
+
return {
|
|
144
|
+
typeUrl: "/cosmwasm.wasm.v1.MsgUpdateAdmin",
|
|
145
|
+
value
|
|
146
|
+
};
|
|
147
|
+
},
|
|
148
|
+
clearAdmin(value) {
|
|
149
|
+
return {
|
|
150
|
+
typeUrl: "/cosmwasm.wasm.v1.MsgClearAdmin",
|
|
151
|
+
value
|
|
152
|
+
};
|
|
153
|
+
},
|
|
154
|
+
updateInstantiateConfig(value) {
|
|
155
|
+
return {
|
|
156
|
+
typeUrl: "/cosmwasm.wasm.v1.MsgUpdateInstantiateConfig",
|
|
157
|
+
value
|
|
158
|
+
};
|
|
159
|
+
},
|
|
160
|
+
updateParams(value) {
|
|
161
|
+
return {
|
|
162
|
+
typeUrl: "/cosmwasm.wasm.v1.MsgUpdateParams",
|
|
163
|
+
value
|
|
164
|
+
};
|
|
165
|
+
},
|
|
166
|
+
sudoContract(value) {
|
|
167
|
+
return {
|
|
168
|
+
typeUrl: "/cosmwasm.wasm.v1.MsgSudoContract",
|
|
169
|
+
value
|
|
170
|
+
};
|
|
171
|
+
},
|
|
172
|
+
pinCodes(value) {
|
|
173
|
+
return {
|
|
174
|
+
typeUrl: "/cosmwasm.wasm.v1.MsgPinCodes",
|
|
175
|
+
value
|
|
176
|
+
};
|
|
177
|
+
},
|
|
178
|
+
unpinCodes(value) {
|
|
179
|
+
return {
|
|
180
|
+
typeUrl: "/cosmwasm.wasm.v1.MsgUnpinCodes",
|
|
181
|
+
value
|
|
182
|
+
};
|
|
183
|
+
},
|
|
184
|
+
storeAndInstantiateContract(value) {
|
|
185
|
+
return {
|
|
186
|
+
typeUrl: "/cosmwasm.wasm.v1.MsgStoreAndInstantiateContract",
|
|
187
|
+
value
|
|
188
|
+
};
|
|
189
|
+
},
|
|
190
|
+
removeCodeUploadParamsAddresses(value) {
|
|
191
|
+
return {
|
|
192
|
+
typeUrl: "/cosmwasm.wasm.v1.MsgRemoveCodeUploadParamsAddresses",
|
|
193
|
+
value
|
|
194
|
+
};
|
|
195
|
+
},
|
|
196
|
+
addCodeUploadParamsAddresses(value) {
|
|
197
|
+
return {
|
|
198
|
+
typeUrl: "/cosmwasm.wasm.v1.MsgAddCodeUploadParamsAddresses",
|
|
199
|
+
value
|
|
200
|
+
};
|
|
201
|
+
},
|
|
202
|
+
storeAndMigrateContract(value) {
|
|
203
|
+
return {
|
|
204
|
+
typeUrl: "/cosmwasm.wasm.v1.MsgStoreAndMigrateContract",
|
|
205
|
+
value
|
|
206
|
+
};
|
|
207
|
+
},
|
|
208
|
+
updateContractLabel(value) {
|
|
209
|
+
return {
|
|
210
|
+
typeUrl: "/cosmwasm.wasm.v1.MsgUpdateContractLabel",
|
|
211
|
+
value
|
|
212
|
+
};
|
|
213
|
+
}
|
|
214
|
+
},
|
|
215
|
+
fromPartial: {
|
|
216
|
+
storeCode(value) {
|
|
217
|
+
return {
|
|
218
|
+
typeUrl: "/cosmwasm.wasm.v1.MsgStoreCode",
|
|
219
|
+
value: tx_1.MsgStoreCode.fromPartial(value)
|
|
220
|
+
};
|
|
221
|
+
},
|
|
222
|
+
instantiateContract(value) {
|
|
223
|
+
return {
|
|
224
|
+
typeUrl: "/cosmwasm.wasm.v1.MsgInstantiateContract",
|
|
225
|
+
value: tx_1.MsgInstantiateContract.fromPartial(value)
|
|
226
|
+
};
|
|
227
|
+
},
|
|
228
|
+
instantiateContract2(value) {
|
|
229
|
+
return {
|
|
230
|
+
typeUrl: "/cosmwasm.wasm.v1.MsgInstantiateContract2",
|
|
231
|
+
value: tx_1.MsgInstantiateContract2.fromPartial(value)
|
|
232
|
+
};
|
|
233
|
+
},
|
|
234
|
+
executeContract(value) {
|
|
235
|
+
return {
|
|
236
|
+
typeUrl: "/cosmwasm.wasm.v1.MsgExecuteContract",
|
|
237
|
+
value: tx_1.MsgExecuteContract.fromPartial(value)
|
|
238
|
+
};
|
|
239
|
+
},
|
|
240
|
+
migrateContract(value) {
|
|
241
|
+
return {
|
|
242
|
+
typeUrl: "/cosmwasm.wasm.v1.MsgMigrateContract",
|
|
243
|
+
value: tx_1.MsgMigrateContract.fromPartial(value)
|
|
244
|
+
};
|
|
245
|
+
},
|
|
246
|
+
updateAdmin(value) {
|
|
247
|
+
return {
|
|
248
|
+
typeUrl: "/cosmwasm.wasm.v1.MsgUpdateAdmin",
|
|
249
|
+
value: tx_1.MsgUpdateAdmin.fromPartial(value)
|
|
250
|
+
};
|
|
251
|
+
},
|
|
252
|
+
clearAdmin(value) {
|
|
253
|
+
return {
|
|
254
|
+
typeUrl: "/cosmwasm.wasm.v1.MsgClearAdmin",
|
|
255
|
+
value: tx_1.MsgClearAdmin.fromPartial(value)
|
|
256
|
+
};
|
|
257
|
+
},
|
|
258
|
+
updateInstantiateConfig(value) {
|
|
259
|
+
return {
|
|
260
|
+
typeUrl: "/cosmwasm.wasm.v1.MsgUpdateInstantiateConfig",
|
|
261
|
+
value: tx_1.MsgUpdateInstantiateConfig.fromPartial(value)
|
|
262
|
+
};
|
|
263
|
+
},
|
|
264
|
+
updateParams(value) {
|
|
265
|
+
return {
|
|
266
|
+
typeUrl: "/cosmwasm.wasm.v1.MsgUpdateParams",
|
|
267
|
+
value: tx_1.MsgUpdateParams.fromPartial(value)
|
|
268
|
+
};
|
|
269
|
+
},
|
|
270
|
+
sudoContract(value) {
|
|
271
|
+
return {
|
|
272
|
+
typeUrl: "/cosmwasm.wasm.v1.MsgSudoContract",
|
|
273
|
+
value: tx_1.MsgSudoContract.fromPartial(value)
|
|
274
|
+
};
|
|
275
|
+
},
|
|
276
|
+
pinCodes(value) {
|
|
277
|
+
return {
|
|
278
|
+
typeUrl: "/cosmwasm.wasm.v1.MsgPinCodes",
|
|
279
|
+
value: tx_1.MsgPinCodes.fromPartial(value)
|
|
280
|
+
};
|
|
281
|
+
},
|
|
282
|
+
unpinCodes(value) {
|
|
283
|
+
return {
|
|
284
|
+
typeUrl: "/cosmwasm.wasm.v1.MsgUnpinCodes",
|
|
285
|
+
value: tx_1.MsgUnpinCodes.fromPartial(value)
|
|
286
|
+
};
|
|
287
|
+
},
|
|
288
|
+
storeAndInstantiateContract(value) {
|
|
289
|
+
return {
|
|
290
|
+
typeUrl: "/cosmwasm.wasm.v1.MsgStoreAndInstantiateContract",
|
|
291
|
+
value: tx_1.MsgStoreAndInstantiateContract.fromPartial(value)
|
|
292
|
+
};
|
|
293
|
+
},
|
|
294
|
+
removeCodeUploadParamsAddresses(value) {
|
|
295
|
+
return {
|
|
296
|
+
typeUrl: "/cosmwasm.wasm.v1.MsgRemoveCodeUploadParamsAddresses",
|
|
297
|
+
value: tx_1.MsgRemoveCodeUploadParamsAddresses.fromPartial(value)
|
|
298
|
+
};
|
|
299
|
+
},
|
|
300
|
+
addCodeUploadParamsAddresses(value) {
|
|
301
|
+
return {
|
|
302
|
+
typeUrl: "/cosmwasm.wasm.v1.MsgAddCodeUploadParamsAddresses",
|
|
303
|
+
value: tx_1.MsgAddCodeUploadParamsAddresses.fromPartial(value)
|
|
304
|
+
};
|
|
305
|
+
},
|
|
306
|
+
storeAndMigrateContract(value) {
|
|
307
|
+
return {
|
|
308
|
+
typeUrl: "/cosmwasm.wasm.v1.MsgStoreAndMigrateContract",
|
|
309
|
+
value: tx_1.MsgStoreAndMigrateContract.fromPartial(value)
|
|
310
|
+
};
|
|
311
|
+
},
|
|
312
|
+
updateContractLabel(value) {
|
|
313
|
+
return {
|
|
314
|
+
typeUrl: "/cosmwasm.wasm.v1.MsgUpdateContractLabel",
|
|
315
|
+
value: tx_1.MsgUpdateContractLabel.fromPartial(value)
|
|
316
|
+
};
|
|
317
|
+
}
|
|
318
|
+
}
|
|
319
|
+
};
|
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.11.
|
|
2
|
+
* This file and any referenced files were automatically generated by @cosmology/telescope@1.11.1
|
|
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
|
*/
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
import { MsgGrant, MsgExec, MsgRevoke } from "./tx";
|
|
2
|
+
export const registry = [["/cosmos.authz.v1beta1.MsgGrant", MsgGrant], ["/cosmos.authz.v1beta1.MsgExec", MsgExec], ["/cosmos.authz.v1beta1.MsgRevoke", MsgRevoke]];
|
|
3
|
+
export const MessageComposer = {
|
|
4
|
+
encoded: {
|
|
5
|
+
grant(value) {
|
|
6
|
+
return {
|
|
7
|
+
typeUrl: "/cosmos.authz.v1beta1.MsgGrant",
|
|
8
|
+
value: MsgGrant.encode(value).finish()
|
|
9
|
+
};
|
|
10
|
+
},
|
|
11
|
+
exec(value) {
|
|
12
|
+
return {
|
|
13
|
+
typeUrl: "/cosmos.authz.v1beta1.MsgExec",
|
|
14
|
+
value: MsgExec.encode(value).finish()
|
|
15
|
+
};
|
|
16
|
+
},
|
|
17
|
+
revoke(value) {
|
|
18
|
+
return {
|
|
19
|
+
typeUrl: "/cosmos.authz.v1beta1.MsgRevoke",
|
|
20
|
+
value: MsgRevoke.encode(value).finish()
|
|
21
|
+
};
|
|
22
|
+
}
|
|
23
|
+
},
|
|
24
|
+
withTypeUrl: {
|
|
25
|
+
grant(value) {
|
|
26
|
+
return {
|
|
27
|
+
typeUrl: "/cosmos.authz.v1beta1.MsgGrant",
|
|
28
|
+
value
|
|
29
|
+
};
|
|
30
|
+
},
|
|
31
|
+
exec(value) {
|
|
32
|
+
return {
|
|
33
|
+
typeUrl: "/cosmos.authz.v1beta1.MsgExec",
|
|
34
|
+
value
|
|
35
|
+
};
|
|
36
|
+
},
|
|
37
|
+
revoke(value) {
|
|
38
|
+
return {
|
|
39
|
+
typeUrl: "/cosmos.authz.v1beta1.MsgRevoke",
|
|
40
|
+
value
|
|
41
|
+
};
|
|
42
|
+
}
|
|
43
|
+
},
|
|
44
|
+
fromPartial: {
|
|
45
|
+
grant(value) {
|
|
46
|
+
return {
|
|
47
|
+
typeUrl: "/cosmos.authz.v1beta1.MsgGrant",
|
|
48
|
+
value: MsgGrant.fromPartial(value)
|
|
49
|
+
};
|
|
50
|
+
},
|
|
51
|
+
exec(value) {
|
|
52
|
+
return {
|
|
53
|
+
typeUrl: "/cosmos.authz.v1beta1.MsgExec",
|
|
54
|
+
value: MsgExec.fromPartial(value)
|
|
55
|
+
};
|
|
56
|
+
},
|
|
57
|
+
revoke(value) {
|
|
58
|
+
return {
|
|
59
|
+
typeUrl: "/cosmos.authz.v1beta1.MsgRevoke",
|
|
60
|
+
value: MsgRevoke.fromPartial(value)
|
|
61
|
+
};
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
};
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
import { MsgSend, MsgMultiSend, MsgUpdateParams, MsgSetSendEnabled } from "./tx";
|
|
2
|
+
export const registry = [["/cosmos.bank.v1beta1.MsgSend", MsgSend], ["/cosmos.bank.v1beta1.MsgMultiSend", MsgMultiSend], ["/cosmos.bank.v1beta1.MsgUpdateParams", MsgUpdateParams], ["/cosmos.bank.v1beta1.MsgSetSendEnabled", MsgSetSendEnabled]];
|
|
3
|
+
export const MessageComposer = {
|
|
4
|
+
encoded: {
|
|
5
|
+
send(value) {
|
|
6
|
+
return {
|
|
7
|
+
typeUrl: "/cosmos.bank.v1beta1.MsgSend",
|
|
8
|
+
value: MsgSend.encode(value).finish()
|
|
9
|
+
};
|
|
10
|
+
},
|
|
11
|
+
multiSend(value) {
|
|
12
|
+
return {
|
|
13
|
+
typeUrl: "/cosmos.bank.v1beta1.MsgMultiSend",
|
|
14
|
+
value: MsgMultiSend.encode(value).finish()
|
|
15
|
+
};
|
|
16
|
+
},
|
|
17
|
+
updateParams(value) {
|
|
18
|
+
return {
|
|
19
|
+
typeUrl: "/cosmos.bank.v1beta1.MsgUpdateParams",
|
|
20
|
+
value: MsgUpdateParams.encode(value).finish()
|
|
21
|
+
};
|
|
22
|
+
},
|
|
23
|
+
setSendEnabled(value) {
|
|
24
|
+
return {
|
|
25
|
+
typeUrl: "/cosmos.bank.v1beta1.MsgSetSendEnabled",
|
|
26
|
+
value: MsgSetSendEnabled.encode(value).finish()
|
|
27
|
+
};
|
|
28
|
+
}
|
|
29
|
+
},
|
|
30
|
+
withTypeUrl: {
|
|
31
|
+
send(value) {
|
|
32
|
+
return {
|
|
33
|
+
typeUrl: "/cosmos.bank.v1beta1.MsgSend",
|
|
34
|
+
value
|
|
35
|
+
};
|
|
36
|
+
},
|
|
37
|
+
multiSend(value) {
|
|
38
|
+
return {
|
|
39
|
+
typeUrl: "/cosmos.bank.v1beta1.MsgMultiSend",
|
|
40
|
+
value
|
|
41
|
+
};
|
|
42
|
+
},
|
|
43
|
+
updateParams(value) {
|
|
44
|
+
return {
|
|
45
|
+
typeUrl: "/cosmos.bank.v1beta1.MsgUpdateParams",
|
|
46
|
+
value
|
|
47
|
+
};
|
|
48
|
+
},
|
|
49
|
+
setSendEnabled(value) {
|
|
50
|
+
return {
|
|
51
|
+
typeUrl: "/cosmos.bank.v1beta1.MsgSetSendEnabled",
|
|
52
|
+
value
|
|
53
|
+
};
|
|
54
|
+
}
|
|
55
|
+
},
|
|
56
|
+
fromPartial: {
|
|
57
|
+
send(value) {
|
|
58
|
+
return {
|
|
59
|
+
typeUrl: "/cosmos.bank.v1beta1.MsgSend",
|
|
60
|
+
value: MsgSend.fromPartial(value)
|
|
61
|
+
};
|
|
62
|
+
},
|
|
63
|
+
multiSend(value) {
|
|
64
|
+
return {
|
|
65
|
+
typeUrl: "/cosmos.bank.v1beta1.MsgMultiSend",
|
|
66
|
+
value: MsgMultiSend.fromPartial(value)
|
|
67
|
+
};
|
|
68
|
+
},
|
|
69
|
+
updateParams(value) {
|
|
70
|
+
return {
|
|
71
|
+
typeUrl: "/cosmos.bank.v1beta1.MsgUpdateParams",
|
|
72
|
+
value: MsgUpdateParams.fromPartial(value)
|
|
73
|
+
};
|
|
74
|
+
},
|
|
75
|
+
setSendEnabled(value) {
|
|
76
|
+
return {
|
|
77
|
+
typeUrl: "/cosmos.bank.v1beta1.MsgSetSendEnabled",
|
|
78
|
+
value: MsgSetSendEnabled.fromPartial(value)
|
|
79
|
+
};
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
};
|