@ark-us/wasmxjs 0.0.1 → 0.0.2
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/main/codegen/cosmos/bundle.js +4 -4
- package/main/codegen/wasmx/bundle.js +18 -8
- package/main/codegen/wasmx/client.js +4 -2
- package/main/codegen/wasmx/rpc.query.js +11 -4
- package/main/codegen/wasmx/rpc.tx.js +13 -4
- package/main/codegen/wasmx/wasmx/contract.js +66 -18
- package/main/codegen/wasmx/wasmx/genesis.js +44 -14
- package/main/codegen/wasmx/wasmx/tx.amino.js +106 -68
- package/main/codegen/wasmx/wasmx/tx.js +221 -12
- package/main/codegen/wasmx/wasmx/tx.registry.js +61 -1
- package/main/codegen/wasmx/wasmx/tx.rpc.msg.js +20 -0
- package/main/codegen/wasmx/websrv/genesis.js +59 -0
- package/main/codegen/wasmx/websrv/params.js +59 -0
- package/main/codegen/wasmx/websrv/proposal.js +167 -0
- package/main/codegen/wasmx/websrv/query.js +806 -0
- package/main/codegen/wasmx/websrv/query.rpc.Query.js +128 -0
- package/main/codegen/wasmx/websrv/tx.amino.js +71 -0
- package/main/codegen/wasmx/websrv/tx.js +312 -0
- package/main/codegen/wasmx/websrv/tx.registry.js +123 -0
- package/main/codegen/wasmx/websrv/tx.rpc.msg.js +55 -0
- package/module/codegen/cosmos/bundle.js +4 -4
- package/module/codegen/wasmx/bundle.js +18 -8
- package/module/codegen/wasmx/client.js +4 -2
- package/module/codegen/wasmx/rpc.query.js +2 -1
- package/module/codegen/wasmx/rpc.tx.js +2 -1
- package/module/codegen/wasmx/wasmx/contract.js +62 -16
- package/module/codegen/wasmx/wasmx/genesis.js +45 -15
- package/module/codegen/wasmx/wasmx/tx.amino.js +42 -0
- package/module/codegen/wasmx/wasmx/tx.js +211 -10
- package/module/codegen/wasmx/wasmx/tx.registry.js +62 -2
- package/module/codegen/wasmx/wasmx/tx.rpc.msg.js +13 -1
- package/module/codegen/wasmx/websrv/genesis.js +50 -0
- package/module/codegen/wasmx/websrv/params.js +50 -0
- package/module/codegen/wasmx/websrv/proposal.js +156 -0
- package/module/codegen/wasmx/websrv/query.js +739 -0
- package/module/codegen/wasmx/websrv/query.rpc.Query.js +83 -0
- package/module/codegen/wasmx/websrv/tx.amino.js +70 -0
- package/module/codegen/wasmx/websrv/tx.js +291 -0
- package/module/codegen/wasmx/websrv/tx.registry.js +109 -0
- package/module/codegen/wasmx/websrv/tx.rpc.msg.js +29 -0
- package/package.json +1 -1
- package/src/codegen/cosmos/bundle.ts +4 -4
- package/src/codegen/wasmx/bundle.ts +28 -9
- package/src/codegen/wasmx/client.ts +5 -2
- package/src/codegen/wasmx/rpc.query.ts +2 -1
- package/src/codegen/wasmx/rpc.tx.ts +2 -1
- package/src/codegen/wasmx/wasmx/contract.ts +90 -19
- package/src/codegen/wasmx/wasmx/genesis.ts +68 -18
- package/src/codegen/wasmx/wasmx/tx.amino.ts +57 -1
- package/src/codegen/wasmx/wasmx/tx.registry.ts +72 -2
- package/src/codegen/wasmx/wasmx/tx.rpc.msg.ts +21 -1
- package/src/codegen/wasmx/wasmx/tx.ts +302 -0
- package/src/codegen/wasmx/websrv/genesis.ts +70 -0
- package/src/codegen/wasmx/websrv/params.ts +69 -0
- package/src/codegen/wasmx/websrv/proposal.ts +254 -0
- package/src/codegen/wasmx/websrv/query.rpc.Query.ts +121 -0
- package/src/codegen/wasmx/websrv/query.ts +1151 -0
- package/src/codegen/wasmx/websrv/tx.amino.ts +94 -0
- package/src/codegen/wasmx/websrv/tx.registry.ts +125 -0
- package/src/codegen/wasmx/websrv/tx.rpc.msg.ts +44 -0
- package/src/codegen/wasmx/websrv/tx.ts +406 -0
- package/types/codegen/cosmos/bundle.d.ts +2 -2
- package/types/codegen/wasmx/bundle.d.ts +418 -5
- package/types/codegen/wasmx/client.d.ts +69 -12
- package/types/codegen/wasmx/rpc.query.d.ts +18 -9
- package/types/codegen/wasmx/rpc.tx.d.ts +1 -0
- package/types/codegen/wasmx/wasmx/contract.d.ts +19 -2
- package/types/codegen/wasmx/wasmx/genesis.d.ts +19 -5
- package/types/codegen/wasmx/wasmx/tx.amino.d.ts +25 -1
- package/types/codegen/wasmx/wasmx/tx.d.ts +72 -0
- package/types/codegen/wasmx/wasmx/tx.registry.d.ts +41 -1
- package/types/codegen/wasmx/wasmx/tx.rpc.msg.d.ts +7 -1
- package/types/codegen/wasmx/websrv/genesis.d.ts +17 -0
- package/types/codegen/wasmx/websrv/params.d.ts +16 -0
- package/types/codegen/wasmx/websrv/proposal.d.ts +65 -0
- package/types/codegen/wasmx/websrv/query.d.ts +315 -0
- package/types/codegen/wasmx/websrv/query.rpc.Query.d.ts +40 -0
- package/types/codegen/wasmx/websrv/tx.amino.d.ts +41 -0
- package/types/codegen/wasmx/websrv/tx.d.ts +90 -0
- package/types/codegen/wasmx/websrv/tx.registry.d.ts +76 -0
- package/types/codegen/wasmx/websrv/tx.rpc.msg.d.ts +18 -0
|
@@ -3,12 +3,19 @@ import * as _30 from "./wasmx/genesis";
|
|
|
3
3
|
import * as _31 from "./wasmx/params";
|
|
4
4
|
import * as _32 from "./wasmx/query";
|
|
5
5
|
import * as _33 from "./wasmx/tx";
|
|
6
|
-
import * as
|
|
7
|
-
import * as
|
|
6
|
+
import * as _34 from "./websrv/genesis";
|
|
7
|
+
import * as _35 from "./websrv/params";
|
|
8
|
+
import * as _36 from "./websrv/proposal";
|
|
9
|
+
import * as _37 from "./websrv/query";
|
|
10
|
+
import * as _38 from "./websrv/tx";
|
|
11
|
+
import * as _44 from "./wasmx/query.rpc.Query";
|
|
12
|
+
import * as _45 from "./websrv/query.rpc.Query";
|
|
13
|
+
import * as _46 from "./wasmx/tx.rpc.msg";
|
|
14
|
+
import * as _47 from "./websrv/tx.rpc.msg";
|
|
8
15
|
export declare namespace wasmx {
|
|
9
16
|
const wasmx: {
|
|
10
|
-
MsgClientImpl: typeof
|
|
11
|
-
QueryClientImpl: typeof
|
|
17
|
+
MsgClientImpl: typeof _46.MsgClientImpl;
|
|
18
|
+
QueryClientImpl: typeof _44.QueryClientImpl;
|
|
12
19
|
createRpcQueryExtension: (base: import("@cosmjs/stargate").QueryClient) => {
|
|
13
20
|
contractInfo(request: _32.QueryContractInfoRequest): Promise<_32.QueryContractInfoResponse>;
|
|
14
21
|
contractsByCode(request: _32.QueryContractsByCodeRequest): Promise<_32.QueryContractsByCodeResponse>;
|
|
@@ -28,6 +35,10 @@ export declare namespace wasmx {
|
|
|
28
35
|
typeUrl: string;
|
|
29
36
|
value: Uint8Array;
|
|
30
37
|
};
|
|
38
|
+
storeCodeEvm(value: _33.MsgStoreCodeEvm): {
|
|
39
|
+
typeUrl: string;
|
|
40
|
+
value: Uint8Array;
|
|
41
|
+
};
|
|
31
42
|
instantiateContract(value: _33.MsgInstantiateContract): {
|
|
32
43
|
typeUrl: string;
|
|
33
44
|
value: Uint8Array;
|
|
@@ -48,12 +59,20 @@ export declare namespace wasmx {
|
|
|
48
59
|
typeUrl: string;
|
|
49
60
|
value: Uint8Array;
|
|
50
61
|
};
|
|
62
|
+
compileContract(value: _33.MsgCompileContract): {
|
|
63
|
+
typeUrl: string;
|
|
64
|
+
value: Uint8Array;
|
|
65
|
+
};
|
|
51
66
|
};
|
|
52
67
|
withTypeUrl: {
|
|
53
68
|
storeCode(value: _33.MsgStoreCode): {
|
|
54
69
|
typeUrl: string;
|
|
55
70
|
value: _33.MsgStoreCode;
|
|
56
71
|
};
|
|
72
|
+
storeCodeEvm(value: _33.MsgStoreCodeEvm): {
|
|
73
|
+
typeUrl: string;
|
|
74
|
+
value: _33.MsgStoreCodeEvm;
|
|
75
|
+
};
|
|
57
76
|
instantiateContract(value: _33.MsgInstantiateContract): {
|
|
58
77
|
typeUrl: string;
|
|
59
78
|
value: _33.MsgInstantiateContract;
|
|
@@ -74,12 +93,20 @@ export declare namespace wasmx {
|
|
|
74
93
|
typeUrl: string;
|
|
75
94
|
value: _33.MsgExecuteDelegateContract;
|
|
76
95
|
};
|
|
96
|
+
compileContract(value: _33.MsgCompileContract): {
|
|
97
|
+
typeUrl: string;
|
|
98
|
+
value: _33.MsgCompileContract;
|
|
99
|
+
};
|
|
77
100
|
};
|
|
78
101
|
toJSON: {
|
|
79
102
|
storeCode(value: _33.MsgStoreCode): {
|
|
80
103
|
typeUrl: string;
|
|
81
104
|
value: unknown;
|
|
82
105
|
};
|
|
106
|
+
storeCodeEvm(value: _33.MsgStoreCodeEvm): {
|
|
107
|
+
typeUrl: string;
|
|
108
|
+
value: unknown;
|
|
109
|
+
};
|
|
83
110
|
instantiateContract(value: _33.MsgInstantiateContract): {
|
|
84
111
|
typeUrl: string;
|
|
85
112
|
value: unknown;
|
|
@@ -100,12 +127,20 @@ export declare namespace wasmx {
|
|
|
100
127
|
typeUrl: string;
|
|
101
128
|
value: unknown;
|
|
102
129
|
};
|
|
130
|
+
compileContract(value: _33.MsgCompileContract): {
|
|
131
|
+
typeUrl: string;
|
|
132
|
+
value: unknown;
|
|
133
|
+
};
|
|
103
134
|
};
|
|
104
135
|
fromJSON: {
|
|
105
136
|
storeCode(value: any): {
|
|
106
137
|
typeUrl: string;
|
|
107
138
|
value: _33.MsgStoreCode;
|
|
108
139
|
};
|
|
140
|
+
storeCodeEvm(value: any): {
|
|
141
|
+
typeUrl: string;
|
|
142
|
+
value: _33.MsgStoreCodeEvm;
|
|
143
|
+
};
|
|
109
144
|
instantiateContract(value: any): {
|
|
110
145
|
typeUrl: string;
|
|
111
146
|
value: _33.MsgInstantiateContract;
|
|
@@ -126,12 +161,20 @@ export declare namespace wasmx {
|
|
|
126
161
|
typeUrl: string;
|
|
127
162
|
value: _33.MsgExecuteDelegateContract;
|
|
128
163
|
};
|
|
164
|
+
compileContract(value: any): {
|
|
165
|
+
typeUrl: string;
|
|
166
|
+
value: _33.MsgCompileContract;
|
|
167
|
+
};
|
|
129
168
|
};
|
|
130
169
|
fromPartial: {
|
|
131
170
|
storeCode(value: _33.MsgStoreCode): {
|
|
132
171
|
typeUrl: string;
|
|
133
172
|
value: _33.MsgStoreCode;
|
|
134
173
|
};
|
|
174
|
+
storeCodeEvm(value: _33.MsgStoreCodeEvm): {
|
|
175
|
+
typeUrl: string;
|
|
176
|
+
value: _33.MsgStoreCodeEvm;
|
|
177
|
+
};
|
|
135
178
|
instantiateContract(value: _33.MsgInstantiateContract): {
|
|
136
179
|
typeUrl: string;
|
|
137
180
|
value: _33.MsgInstantiateContract;
|
|
@@ -152,6 +195,10 @@ export declare namespace wasmx {
|
|
|
152
195
|
typeUrl: string;
|
|
153
196
|
value: _33.MsgExecuteDelegateContract;
|
|
154
197
|
};
|
|
198
|
+
compileContract(value: _33.MsgCompileContract): {
|
|
199
|
+
typeUrl: string;
|
|
200
|
+
value: _33.MsgCompileContract;
|
|
201
|
+
};
|
|
155
202
|
};
|
|
156
203
|
};
|
|
157
204
|
AminoConverter: {
|
|
@@ -166,6 +213,17 @@ export declare namespace wasmx {
|
|
|
166
213
|
wasm_byte_code: Uint8Array;
|
|
167
214
|
}) => _33.MsgStoreCode;
|
|
168
215
|
};
|
|
216
|
+
"/wasmx.wasmx.MsgStoreCodeEvm": {
|
|
217
|
+
aminoType: string;
|
|
218
|
+
toAmino: ({ sender, evmByteCode }: _33.MsgStoreCodeEvm) => {
|
|
219
|
+
sender: string;
|
|
220
|
+
evm_byte_code: Uint8Array;
|
|
221
|
+
};
|
|
222
|
+
fromAmino: ({ sender, evm_byte_code }: {
|
|
223
|
+
sender: string;
|
|
224
|
+
evm_byte_code: Uint8Array;
|
|
225
|
+
}) => _33.MsgStoreCodeEvm;
|
|
226
|
+
};
|
|
169
227
|
"/wasmx.wasmx.MsgInstantiateContract": {
|
|
170
228
|
aminoType: string;
|
|
171
229
|
toAmino: ({ sender, codeId, label, msg, funds }: _33.MsgInstantiateContract) => {
|
|
@@ -289,6 +347,17 @@ export declare namespace wasmx {
|
|
|
289
347
|
}[];
|
|
290
348
|
}) => _33.MsgExecuteDelegateContract;
|
|
291
349
|
};
|
|
350
|
+
"/wasmx.wasmx.MsgCompileContract": {
|
|
351
|
+
aminoType: string;
|
|
352
|
+
toAmino: ({ sender, codeId }: _33.MsgCompileContract) => {
|
|
353
|
+
sender: string;
|
|
354
|
+
codeId: string;
|
|
355
|
+
};
|
|
356
|
+
fromAmino: ({ sender, codeId }: {
|
|
357
|
+
sender: string;
|
|
358
|
+
codeId: string;
|
|
359
|
+
}) => _33.MsgCompileContract;
|
|
360
|
+
};
|
|
292
361
|
};
|
|
293
362
|
MsgStoreCode: {
|
|
294
363
|
encode(message: _33.MsgStoreCode, writer?: import("protobufjs").Writer): import("protobufjs").Writer;
|
|
@@ -304,6 +373,20 @@ export declare namespace wasmx {
|
|
|
304
373
|
toJSON(message: _33.MsgStoreCodeResponse): unknown;
|
|
305
374
|
fromPartial(object: Partial<_33.MsgStoreCodeResponse>): _33.MsgStoreCodeResponse;
|
|
306
375
|
};
|
|
376
|
+
MsgStoreCodeEvm: {
|
|
377
|
+
encode(message: _33.MsgStoreCodeEvm, writer?: import("protobufjs").Writer): import("protobufjs").Writer;
|
|
378
|
+
decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _33.MsgStoreCodeEvm;
|
|
379
|
+
fromJSON(object: any): _33.MsgStoreCodeEvm;
|
|
380
|
+
toJSON(message: _33.MsgStoreCodeEvm): unknown;
|
|
381
|
+
fromPartial(object: Partial<_33.MsgStoreCodeEvm>): _33.MsgStoreCodeEvm;
|
|
382
|
+
};
|
|
383
|
+
MsgStoreCodeEvmResponse: {
|
|
384
|
+
encode(message: _33.MsgStoreCodeEvmResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer;
|
|
385
|
+
decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _33.MsgStoreCodeEvmResponse;
|
|
386
|
+
fromJSON(object: any): _33.MsgStoreCodeEvmResponse;
|
|
387
|
+
toJSON(message: _33.MsgStoreCodeEvmResponse): unknown;
|
|
388
|
+
fromPartial(object: Partial<_33.MsgStoreCodeEvmResponse>): _33.MsgStoreCodeEvmResponse;
|
|
389
|
+
};
|
|
307
390
|
MsgInstantiateContract: {
|
|
308
391
|
encode(message: _33.MsgInstantiateContract, writer?: import("protobufjs").Writer): import("protobufjs").Writer;
|
|
309
392
|
decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _33.MsgInstantiateContract;
|
|
@@ -367,6 +450,20 @@ export declare namespace wasmx {
|
|
|
367
450
|
toJSON(message: _33.MsgExecuteDelegateContractResponse): unknown;
|
|
368
451
|
fromPartial(object: Partial<_33.MsgExecuteDelegateContractResponse>): _33.MsgExecuteDelegateContractResponse;
|
|
369
452
|
};
|
|
453
|
+
MsgCompileContract: {
|
|
454
|
+
encode(message: _33.MsgCompileContract, writer?: import("protobufjs").Writer): import("protobufjs").Writer;
|
|
455
|
+
decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _33.MsgCompileContract;
|
|
456
|
+
fromJSON(object: any): _33.MsgCompileContract;
|
|
457
|
+
toJSON(message: _33.MsgCompileContract): unknown;
|
|
458
|
+
fromPartial(object: Partial<_33.MsgCompileContract>): _33.MsgCompileContract;
|
|
459
|
+
};
|
|
460
|
+
MsgCompileContractResponse: {
|
|
461
|
+
encode(_: _33.MsgCompileContractResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer;
|
|
462
|
+
decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _33.MsgCompileContractResponse;
|
|
463
|
+
fromJSON(_: any): _33.MsgCompileContractResponse;
|
|
464
|
+
toJSON(_: _33.MsgCompileContractResponse): unknown;
|
|
465
|
+
fromPartial(_: Partial<_33.MsgCompileContractResponse>): _33.MsgCompileContractResponse;
|
|
466
|
+
};
|
|
370
467
|
QueryContractInfoRequest: {
|
|
371
468
|
encode(message: _32.QueryContractInfoRequest, writer?: import("protobufjs").Writer): import("protobufjs").Writer;
|
|
372
469
|
decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _32.QueryContractInfoRequest;
|
|
@@ -556,6 +653,13 @@ export declare namespace wasmx {
|
|
|
556
653
|
toJSON(message: _29.CodeInfo): unknown;
|
|
557
654
|
fromPartial(object: Partial<_29.CodeInfo>): _29.CodeInfo;
|
|
558
655
|
};
|
|
656
|
+
CodeMetadata: {
|
|
657
|
+
encode(message: _29.CodeMetadata, writer?: import("protobufjs").Writer): import("protobufjs").Writer;
|
|
658
|
+
decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _29.CodeMetadata;
|
|
659
|
+
fromJSON(object: any): _29.CodeMetadata;
|
|
660
|
+
toJSON(message: _29.CodeMetadata): unknown;
|
|
661
|
+
fromPartial(object: Partial<_29.CodeMetadata>): _29.CodeMetadata;
|
|
662
|
+
};
|
|
559
663
|
ContractInfo: {
|
|
560
664
|
encode(message: _29.ContractInfo, writer?: import("protobufjs").Writer): import("protobufjs").Writer;
|
|
561
665
|
decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _29.ContractInfo;
|
|
@@ -571,12 +675,312 @@ export declare namespace wasmx {
|
|
|
571
675
|
fromPartial(object: Partial<_29.AbsoluteTxPosition>): _29.AbsoluteTxPosition;
|
|
572
676
|
};
|
|
573
677
|
};
|
|
678
|
+
const websrv: {
|
|
679
|
+
MsgClientImpl: typeof _47.MsgClientImpl;
|
|
680
|
+
QueryClientImpl: typeof _45.QueryClientImpl;
|
|
681
|
+
createRpcQueryExtension: (base: import("@cosmjs/stargate").QueryClient) => {
|
|
682
|
+
httpGet(request: _37.QueryHttpRequestGet): Promise<_37.QueryHttpResponseGet>;
|
|
683
|
+
contractByRoute(request: _37.QueryContractByRouteRequest): Promise<_37.QueryContractByRouteResponse>;
|
|
684
|
+
routeByContract(request: _37.QueryRouteByContractRequest): Promise<_37.QueryRouteByContractResponse>;
|
|
685
|
+
params(request?: _37.QueryParamsRequest): Promise<_37.QueryParamsResponse>;
|
|
686
|
+
getAllOauthClients(request?: _37.QueryGetAllOauthClientsRequest): Promise<_37.QueryGetAllOauthClientsResponse>;
|
|
687
|
+
getOauthClient(request: _37.QueryGetOauthClientRequest): Promise<_37.QueryGetOauthClientResponse>;
|
|
688
|
+
getOauthClientsByOwner(request: _37.QueryGetOauthClientsByOwnerRequest): Promise<_37.QueryGetOauthClientsByOwnerResponse>;
|
|
689
|
+
};
|
|
690
|
+
registry: readonly [string, import("@cosmjs/proto-signing").GeneratedType][];
|
|
691
|
+
load: (protoRegistry: import("@cosmjs/proto-signing").Registry) => void;
|
|
692
|
+
MessageComposer: {
|
|
693
|
+
encoded: {
|
|
694
|
+
registerOAuthClient(value: _38.MsgRegisterOAuthClient): {
|
|
695
|
+
typeUrl: string;
|
|
696
|
+
value: Uint8Array;
|
|
697
|
+
};
|
|
698
|
+
editOAuthClient(value: _38.MsgEditOAuthClient): {
|
|
699
|
+
typeUrl: string;
|
|
700
|
+
value: Uint8Array;
|
|
701
|
+
};
|
|
702
|
+
deregisterOAuthClient(value: _38.MsgDeregisterOAuthClient): {
|
|
703
|
+
typeUrl: string;
|
|
704
|
+
value: Uint8Array;
|
|
705
|
+
};
|
|
706
|
+
};
|
|
707
|
+
withTypeUrl: {
|
|
708
|
+
registerOAuthClient(value: _38.MsgRegisterOAuthClient): {
|
|
709
|
+
typeUrl: string;
|
|
710
|
+
value: _38.MsgRegisterOAuthClient;
|
|
711
|
+
};
|
|
712
|
+
editOAuthClient(value: _38.MsgEditOAuthClient): {
|
|
713
|
+
typeUrl: string;
|
|
714
|
+
value: _38.MsgEditOAuthClient;
|
|
715
|
+
};
|
|
716
|
+
deregisterOAuthClient(value: _38.MsgDeregisterOAuthClient): {
|
|
717
|
+
typeUrl: string;
|
|
718
|
+
value: _38.MsgDeregisterOAuthClient;
|
|
719
|
+
};
|
|
720
|
+
};
|
|
721
|
+
toJSON: {
|
|
722
|
+
registerOAuthClient(value: _38.MsgRegisterOAuthClient): {
|
|
723
|
+
typeUrl: string;
|
|
724
|
+
value: unknown;
|
|
725
|
+
};
|
|
726
|
+
editOAuthClient(value: _38.MsgEditOAuthClient): {
|
|
727
|
+
typeUrl: string;
|
|
728
|
+
value: unknown;
|
|
729
|
+
};
|
|
730
|
+
deregisterOAuthClient(value: _38.MsgDeregisterOAuthClient): {
|
|
731
|
+
typeUrl: string;
|
|
732
|
+
value: unknown;
|
|
733
|
+
};
|
|
734
|
+
};
|
|
735
|
+
fromJSON: {
|
|
736
|
+
registerOAuthClient(value: any): {
|
|
737
|
+
typeUrl: string;
|
|
738
|
+
value: _38.MsgRegisterOAuthClient;
|
|
739
|
+
};
|
|
740
|
+
editOAuthClient(value: any): {
|
|
741
|
+
typeUrl: string;
|
|
742
|
+
value: _38.MsgEditOAuthClient;
|
|
743
|
+
};
|
|
744
|
+
deregisterOAuthClient(value: any): {
|
|
745
|
+
typeUrl: string;
|
|
746
|
+
value: _38.MsgDeregisterOAuthClient;
|
|
747
|
+
};
|
|
748
|
+
};
|
|
749
|
+
fromPartial: {
|
|
750
|
+
registerOAuthClient(value: _38.MsgRegisterOAuthClient): {
|
|
751
|
+
typeUrl: string;
|
|
752
|
+
value: _38.MsgRegisterOAuthClient;
|
|
753
|
+
};
|
|
754
|
+
editOAuthClient(value: _38.MsgEditOAuthClient): {
|
|
755
|
+
typeUrl: string;
|
|
756
|
+
value: _38.MsgEditOAuthClient;
|
|
757
|
+
};
|
|
758
|
+
deregisterOAuthClient(value: _38.MsgDeregisterOAuthClient): {
|
|
759
|
+
typeUrl: string;
|
|
760
|
+
value: _38.MsgDeregisterOAuthClient;
|
|
761
|
+
};
|
|
762
|
+
};
|
|
763
|
+
};
|
|
764
|
+
AminoConverter: {
|
|
765
|
+
"/wasmx.websrv.MsgRegisterOAuthClient": {
|
|
766
|
+
aminoType: string;
|
|
767
|
+
toAmino: ({ owner, domain }: _38.MsgRegisterOAuthClient) => {
|
|
768
|
+
owner: string;
|
|
769
|
+
domain: string;
|
|
770
|
+
};
|
|
771
|
+
fromAmino: ({ owner, domain }: {
|
|
772
|
+
owner: string;
|
|
773
|
+
domain: string;
|
|
774
|
+
}) => _38.MsgRegisterOAuthClient;
|
|
775
|
+
};
|
|
776
|
+
"/wasmx.websrv.MsgEditOAuthClient": {
|
|
777
|
+
aminoType: string;
|
|
778
|
+
toAmino: ({ owner, clientId, domain }: _38.MsgEditOAuthClient) => {
|
|
779
|
+
owner: string;
|
|
780
|
+
client_id: string;
|
|
781
|
+
domain: string;
|
|
782
|
+
};
|
|
783
|
+
fromAmino: ({ owner, client_id, domain }: {
|
|
784
|
+
owner: string;
|
|
785
|
+
client_id: string;
|
|
786
|
+
domain: string;
|
|
787
|
+
}) => _38.MsgEditOAuthClient;
|
|
788
|
+
};
|
|
789
|
+
"/wasmx.websrv.MsgDeregisterOAuthClient": {
|
|
790
|
+
aminoType: string;
|
|
791
|
+
toAmino: ({ owner, clientId }: _38.MsgDeregisterOAuthClient) => {
|
|
792
|
+
owner: string;
|
|
793
|
+
client_id: string;
|
|
794
|
+
};
|
|
795
|
+
fromAmino: ({ owner, client_id }: {
|
|
796
|
+
owner: string;
|
|
797
|
+
client_id: string;
|
|
798
|
+
}) => _38.MsgDeregisterOAuthClient;
|
|
799
|
+
};
|
|
800
|
+
};
|
|
801
|
+
MsgRegisterOAuthClient: {
|
|
802
|
+
encode(message: _38.MsgRegisterOAuthClient, writer?: import("protobufjs").Writer): import("protobufjs").Writer;
|
|
803
|
+
decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _38.MsgRegisterOAuthClient;
|
|
804
|
+
fromJSON(object: any): _38.MsgRegisterOAuthClient;
|
|
805
|
+
toJSON(message: _38.MsgRegisterOAuthClient): unknown;
|
|
806
|
+
fromPartial(object: Partial<_38.MsgRegisterOAuthClient>): _38.MsgRegisterOAuthClient;
|
|
807
|
+
};
|
|
808
|
+
MsgRegisterOAuthClientResponse: {
|
|
809
|
+
encode(message: _38.MsgRegisterOAuthClientResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer;
|
|
810
|
+
decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _38.MsgRegisterOAuthClientResponse;
|
|
811
|
+
fromJSON(object: any): _38.MsgRegisterOAuthClientResponse;
|
|
812
|
+
toJSON(message: _38.MsgRegisterOAuthClientResponse): unknown;
|
|
813
|
+
fromPartial(object: Partial<_38.MsgRegisterOAuthClientResponse>): _38.MsgRegisterOAuthClientResponse;
|
|
814
|
+
};
|
|
815
|
+
MsgEditOAuthClient: {
|
|
816
|
+
encode(message: _38.MsgEditOAuthClient, writer?: import("protobufjs").Writer): import("protobufjs").Writer;
|
|
817
|
+
decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _38.MsgEditOAuthClient;
|
|
818
|
+
fromJSON(object: any): _38.MsgEditOAuthClient;
|
|
819
|
+
toJSON(message: _38.MsgEditOAuthClient): unknown;
|
|
820
|
+
fromPartial(object: Partial<_38.MsgEditOAuthClient>): _38.MsgEditOAuthClient;
|
|
821
|
+
};
|
|
822
|
+
MsgEditOAuthClientResponse: {
|
|
823
|
+
encode(_: _38.MsgEditOAuthClientResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer;
|
|
824
|
+
decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _38.MsgEditOAuthClientResponse;
|
|
825
|
+
fromJSON(_: any): _38.MsgEditOAuthClientResponse;
|
|
826
|
+
toJSON(_: _38.MsgEditOAuthClientResponse): unknown;
|
|
827
|
+
fromPartial(_: Partial<_38.MsgEditOAuthClientResponse>): _38.MsgEditOAuthClientResponse;
|
|
828
|
+
};
|
|
829
|
+
MsgDeregisterOAuthClient: {
|
|
830
|
+
encode(message: _38.MsgDeregisterOAuthClient, writer?: import("protobufjs").Writer): import("protobufjs").Writer;
|
|
831
|
+
decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _38.MsgDeregisterOAuthClient;
|
|
832
|
+
fromJSON(object: any): _38.MsgDeregisterOAuthClient;
|
|
833
|
+
toJSON(message: _38.MsgDeregisterOAuthClient): unknown;
|
|
834
|
+
fromPartial(object: Partial<_38.MsgDeregisterOAuthClient>): _38.MsgDeregisterOAuthClient;
|
|
835
|
+
};
|
|
836
|
+
MsgDeregisterOAuthClientResponse: {
|
|
837
|
+
encode(_: _38.MsgDeregisterOAuthClientResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer;
|
|
838
|
+
decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _38.MsgDeregisterOAuthClientResponse;
|
|
839
|
+
fromJSON(_: any): _38.MsgDeregisterOAuthClientResponse;
|
|
840
|
+
toJSON(_: _38.MsgDeregisterOAuthClientResponse): unknown;
|
|
841
|
+
fromPartial(_: Partial<_38.MsgDeregisterOAuthClientResponse>): _38.MsgDeregisterOAuthClientResponse;
|
|
842
|
+
};
|
|
843
|
+
QueryContractByRouteRequest: {
|
|
844
|
+
encode(message: _37.QueryContractByRouteRequest, writer?: import("protobufjs").Writer): import("protobufjs").Writer;
|
|
845
|
+
decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _37.QueryContractByRouteRequest;
|
|
846
|
+
fromJSON(object: any): _37.QueryContractByRouteRequest;
|
|
847
|
+
toJSON(message: _37.QueryContractByRouteRequest): unknown;
|
|
848
|
+
fromPartial(object: Partial<_37.QueryContractByRouteRequest>): _37.QueryContractByRouteRequest;
|
|
849
|
+
};
|
|
850
|
+
QueryContractByRouteResponse: {
|
|
851
|
+
encode(message: _37.QueryContractByRouteResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer;
|
|
852
|
+
decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _37.QueryContractByRouteResponse;
|
|
853
|
+
fromJSON(object: any): _37.QueryContractByRouteResponse;
|
|
854
|
+
toJSON(message: _37.QueryContractByRouteResponse): unknown;
|
|
855
|
+
fromPartial(object: Partial<_37.QueryContractByRouteResponse>): _37.QueryContractByRouteResponse;
|
|
856
|
+
};
|
|
857
|
+
QueryRouteByContractRequest: {
|
|
858
|
+
encode(message: _37.QueryRouteByContractRequest, writer?: import("protobufjs").Writer): import("protobufjs").Writer;
|
|
859
|
+
decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _37.QueryRouteByContractRequest;
|
|
860
|
+
fromJSON(object: any): _37.QueryRouteByContractRequest;
|
|
861
|
+
toJSON(message: _37.QueryRouteByContractRequest): unknown;
|
|
862
|
+
fromPartial(object: Partial<_37.QueryRouteByContractRequest>): _37.QueryRouteByContractRequest;
|
|
863
|
+
};
|
|
864
|
+
QueryRouteByContractResponse: {
|
|
865
|
+
encode(message: _37.QueryRouteByContractResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer;
|
|
866
|
+
decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _37.QueryRouteByContractResponse;
|
|
867
|
+
fromJSON(object: any): _37.QueryRouteByContractResponse;
|
|
868
|
+
toJSON(message: _37.QueryRouteByContractResponse): unknown;
|
|
869
|
+
fromPartial(object: Partial<_37.QueryRouteByContractResponse>): _37.QueryRouteByContractResponse;
|
|
870
|
+
};
|
|
871
|
+
QueryHttpRequestGet: {
|
|
872
|
+
encode(message: _37.QueryHttpRequestGet, writer?: import("protobufjs").Writer): import("protobufjs").Writer;
|
|
873
|
+
decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _37.QueryHttpRequestGet;
|
|
874
|
+
fromJSON(object: any): _37.QueryHttpRequestGet;
|
|
875
|
+
toJSON(message: _37.QueryHttpRequestGet): unknown;
|
|
876
|
+
fromPartial(object: Partial<_37.QueryHttpRequestGet>): _37.QueryHttpRequestGet;
|
|
877
|
+
};
|
|
878
|
+
QueryHttpResponseGet: {
|
|
879
|
+
encode(message: _37.QueryHttpResponseGet, writer?: import("protobufjs").Writer): import("protobufjs").Writer;
|
|
880
|
+
decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _37.QueryHttpResponseGet;
|
|
881
|
+
fromJSON(object: any): _37.QueryHttpResponseGet;
|
|
882
|
+
toJSON(message: _37.QueryHttpResponseGet): unknown;
|
|
883
|
+
fromPartial(object: Partial<_37.QueryHttpResponseGet>): _37.QueryHttpResponseGet;
|
|
884
|
+
};
|
|
885
|
+
QueryParamsRequest: {
|
|
886
|
+
encode(_: _37.QueryParamsRequest, writer?: import("protobufjs").Writer): import("protobufjs").Writer;
|
|
887
|
+
decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _37.QueryParamsRequest;
|
|
888
|
+
fromJSON(_: any): _37.QueryParamsRequest;
|
|
889
|
+
toJSON(_: _37.QueryParamsRequest): unknown;
|
|
890
|
+
fromPartial(_: Partial<_37.QueryParamsRequest>): _37.QueryParamsRequest;
|
|
891
|
+
};
|
|
892
|
+
QueryParamsResponse: {
|
|
893
|
+
encode(message: _37.QueryParamsResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer;
|
|
894
|
+
decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _37.QueryParamsResponse;
|
|
895
|
+
fromJSON(object: any): _37.QueryParamsResponse;
|
|
896
|
+
toJSON(message: _37.QueryParamsResponse): unknown;
|
|
897
|
+
fromPartial(object: Partial<_37.QueryParamsResponse>): _37.QueryParamsResponse;
|
|
898
|
+
};
|
|
899
|
+
OauthClientInfo: {
|
|
900
|
+
encode(message: _37.OauthClientInfo, writer?: import("protobufjs").Writer): import("protobufjs").Writer;
|
|
901
|
+
decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _37.OauthClientInfo;
|
|
902
|
+
fromJSON(object: any): _37.OauthClientInfo;
|
|
903
|
+
toJSON(message: _37.OauthClientInfo): unknown;
|
|
904
|
+
fromPartial(object: Partial<_37.OauthClientInfo>): _37.OauthClientInfo;
|
|
905
|
+
};
|
|
906
|
+
QueryGetAllOauthClientsRequest: {
|
|
907
|
+
encode(message: _37.QueryGetAllOauthClientsRequest, writer?: import("protobufjs").Writer): import("protobufjs").Writer;
|
|
908
|
+
decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _37.QueryGetAllOauthClientsRequest;
|
|
909
|
+
fromJSON(object: any): _37.QueryGetAllOauthClientsRequest;
|
|
910
|
+
toJSON(message: _37.QueryGetAllOauthClientsRequest): unknown;
|
|
911
|
+
fromPartial(object: Partial<_37.QueryGetAllOauthClientsRequest>): _37.QueryGetAllOauthClientsRequest;
|
|
912
|
+
};
|
|
913
|
+
QueryGetAllOauthClientsResponse: {
|
|
914
|
+
encode(message: _37.QueryGetAllOauthClientsResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer;
|
|
915
|
+
decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _37.QueryGetAllOauthClientsResponse;
|
|
916
|
+
fromJSON(object: any): _37.QueryGetAllOauthClientsResponse;
|
|
917
|
+
toJSON(message: _37.QueryGetAllOauthClientsResponse): unknown;
|
|
918
|
+
fromPartial(object: Partial<_37.QueryGetAllOauthClientsResponse>): _37.QueryGetAllOauthClientsResponse;
|
|
919
|
+
};
|
|
920
|
+
QueryGetOauthClientRequest: {
|
|
921
|
+
encode(message: _37.QueryGetOauthClientRequest, writer?: import("protobufjs").Writer): import("protobufjs").Writer;
|
|
922
|
+
decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _37.QueryGetOauthClientRequest;
|
|
923
|
+
fromJSON(object: any): _37.QueryGetOauthClientRequest;
|
|
924
|
+
toJSON(message: _37.QueryGetOauthClientRequest): unknown;
|
|
925
|
+
fromPartial(object: Partial<_37.QueryGetOauthClientRequest>): _37.QueryGetOauthClientRequest;
|
|
926
|
+
};
|
|
927
|
+
QueryGetOauthClientResponse: {
|
|
928
|
+
encode(message: _37.QueryGetOauthClientResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer;
|
|
929
|
+
decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _37.QueryGetOauthClientResponse;
|
|
930
|
+
fromJSON(object: any): _37.QueryGetOauthClientResponse;
|
|
931
|
+
toJSON(message: _37.QueryGetOauthClientResponse): unknown;
|
|
932
|
+
fromPartial(object: Partial<_37.QueryGetOauthClientResponse>): _37.QueryGetOauthClientResponse;
|
|
933
|
+
};
|
|
934
|
+
QueryGetOauthClientsByOwnerRequest: {
|
|
935
|
+
encode(message: _37.QueryGetOauthClientsByOwnerRequest, writer?: import("protobufjs").Writer): import("protobufjs").Writer;
|
|
936
|
+
decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _37.QueryGetOauthClientsByOwnerRequest;
|
|
937
|
+
fromJSON(object: any): _37.QueryGetOauthClientsByOwnerRequest;
|
|
938
|
+
toJSON(message: _37.QueryGetOauthClientsByOwnerRequest): unknown;
|
|
939
|
+
fromPartial(object: Partial<_37.QueryGetOauthClientsByOwnerRequest>): _37.QueryGetOauthClientsByOwnerRequest;
|
|
940
|
+
};
|
|
941
|
+
QueryGetOauthClientsByOwnerResponse: {
|
|
942
|
+
encode(message: _37.QueryGetOauthClientsByOwnerResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer;
|
|
943
|
+
decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _37.QueryGetOauthClientsByOwnerResponse;
|
|
944
|
+
fromJSON(object: any): _37.QueryGetOauthClientsByOwnerResponse;
|
|
945
|
+
toJSON(message: _37.QueryGetOauthClientsByOwnerResponse): unknown;
|
|
946
|
+
fromPartial(object: Partial<_37.QueryGetOauthClientsByOwnerResponse>): _37.QueryGetOauthClientsByOwnerResponse;
|
|
947
|
+
};
|
|
948
|
+
RegisterRouteProposal: {
|
|
949
|
+
encode(message: _36.RegisterRouteProposal, writer?: import("protobufjs").Writer): import("protobufjs").Writer;
|
|
950
|
+
decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _36.RegisterRouteProposal;
|
|
951
|
+
fromJSON(object: any): _36.RegisterRouteProposal;
|
|
952
|
+
toJSON(message: _36.RegisterRouteProposal): unknown;
|
|
953
|
+
fromPartial(object: Partial<_36.RegisterRouteProposal>): _36.RegisterRouteProposal;
|
|
954
|
+
};
|
|
955
|
+
DeregisterRouteProposal: {
|
|
956
|
+
encode(message: _36.DeregisterRouteProposal, writer?: import("protobufjs").Writer): import("protobufjs").Writer;
|
|
957
|
+
decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _36.DeregisterRouteProposal;
|
|
958
|
+
fromJSON(object: any): _36.DeregisterRouteProposal;
|
|
959
|
+
toJSON(message: _36.DeregisterRouteProposal): unknown;
|
|
960
|
+
fromPartial(object: Partial<_36.DeregisterRouteProposal>): _36.DeregisterRouteProposal;
|
|
961
|
+
};
|
|
962
|
+
Params: {
|
|
963
|
+
encode(message: _35.Params, writer?: import("protobufjs").Writer): import("protobufjs").Writer;
|
|
964
|
+
decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _35.Params;
|
|
965
|
+
fromJSON(object: any): _35.Params;
|
|
966
|
+
toJSON(message: _35.Params): unknown;
|
|
967
|
+
fromPartial(object: Partial<_35.Params>): _35.Params;
|
|
968
|
+
};
|
|
969
|
+
GenesisState: {
|
|
970
|
+
encode(message: _34.GenesisState, writer?: import("protobufjs").Writer): import("protobufjs").Writer;
|
|
971
|
+
decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _34.GenesisState;
|
|
972
|
+
fromJSON(object: any): _34.GenesisState;
|
|
973
|
+
toJSON(message: _34.GenesisState): unknown;
|
|
974
|
+
fromPartial(object: Partial<_34.GenesisState>): _34.GenesisState;
|
|
975
|
+
};
|
|
976
|
+
};
|
|
574
977
|
const ClientFactory: {
|
|
575
978
|
createRPCMsgClient: ({ rpc }: {
|
|
576
979
|
rpc: import("../helpers").Rpc;
|
|
577
980
|
}) => Promise<{
|
|
578
981
|
wasmx: {
|
|
579
|
-
wasmx:
|
|
982
|
+
wasmx: _46.MsgClientImpl;
|
|
983
|
+
websrv: _47.MsgClientImpl;
|
|
580
984
|
};
|
|
581
985
|
}>;
|
|
582
986
|
createRPCQueryClient: ({ rpcEndpoint }: {
|
|
@@ -608,6 +1012,15 @@ export declare namespace wasmx {
|
|
|
608
1012
|
params(request?: _32.QueryParamsRequest): Promise<_32.QueryParamsResponse>;
|
|
609
1013
|
contractsByCreator(request: _32.QueryContractsByCreatorRequest): Promise<_32.QueryContractsByCreatorResponse>;
|
|
610
1014
|
};
|
|
1015
|
+
websrv: {
|
|
1016
|
+
httpGet(request: _37.QueryHttpRequestGet): Promise<_37.QueryHttpResponseGet>;
|
|
1017
|
+
contractByRoute(request: _37.QueryContractByRouteRequest): Promise<_37.QueryContractByRouteResponse>;
|
|
1018
|
+
routeByContract(request: _37.QueryRouteByContractRequest): Promise<_37.QueryRouteByContractResponse>;
|
|
1019
|
+
params(request?: _37.QueryParamsRequest): Promise<_37.QueryParamsResponse>;
|
|
1020
|
+
getAllOauthClients(request?: _37.QueryGetAllOauthClientsRequest): Promise<_37.QueryGetAllOauthClientsResponse>;
|
|
1021
|
+
getOauthClient(request: _37.QueryGetOauthClientRequest): Promise<_37.QueryGetOauthClientResponse>;
|
|
1022
|
+
getOauthClientsByOwner(request: _37.QueryGetOauthClientsByOwnerRequest): Promise<_37.QueryGetOauthClientsByOwnerResponse>;
|
|
1023
|
+
};
|
|
611
1024
|
};
|
|
612
1025
|
}>;
|
|
613
1026
|
};
|