@ark-us/wasmxjs 0.0.2 → 0.0.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 +1 -1
- package/main/codegen/index.js +10 -10
- package/main/codegen/{wasmx → mythos}/bundle.js +32 -26
- package/main/codegen/{wasmx → mythos}/client.js +19 -19
- package/main/codegen/{wasmx → mythos}/index.js +9 -9
- package/main/codegen/{wasmx → mythos}/rpc.query.js +16 -10
- package/main/codegen/{wasmx → mythos}/rpc.tx.js +18 -12
- package/main/codegen/{wasmx/wasmx → mythos/wasmx/v1}/contract.js +1 -1
- package/main/codegen/{wasmx/wasmx → mythos/wasmx/v1}/genesis.js +1 -1
- package/main/codegen/{wasmx/wasmx → mythos/wasmx/v1}/query.js +3 -3
- package/main/codegen/{wasmx/wasmx → mythos/wasmx/v1}/query.rpc.Query.js +9 -9
- package/main/codegen/{wasmx/wasmx → mythos/wasmx/v1}/tx.amino.js +17 -17
- package/main/codegen/{wasmx/wasmx → mythos/wasmx/v1}/tx.js +2 -2
- package/main/codegen/{wasmx/wasmx → mythos/wasmx/v1}/tx.registry.js +41 -41
- package/main/codegen/{wasmx/wasmx → mythos/wasmx/v1}/tx.rpc.msg.js +8 -8
- package/main/codegen/{wasmx/websrv → mythos/websrv/v1}/genesis.js +1 -1
- package/main/codegen/{wasmx/websrv → mythos/websrv/v1}/params.js +1 -1
- package/main/codegen/{wasmx/websrv → mythos/websrv/v1}/proposal.js +1 -1
- package/main/codegen/{wasmx/websrv → mythos/websrv/v1}/query.js +2 -2
- package/main/codegen/{wasmx/websrv → mythos/websrv/v1}/query.rpc.Query.js +7 -7
- package/main/codegen/{wasmx/websrv → mythos/websrv/v1}/tx.amino.js +7 -7
- package/main/codegen/{wasmx/websrv → mythos/websrv/v1}/tx.js +1 -1
- package/main/codegen/{wasmx/websrv → mythos/websrv/v1}/tx.registry.js +16 -16
- package/main/codegen/{wasmx/websrv → mythos/websrv/v1}/tx.rpc.msg.js +3 -3
- package/main/codegen/tendermint/bundle.js +17 -17
- package/module/codegen/index.js +3 -3
- package/module/codegen/mythos/bundle.js +35 -0
- package/module/codegen/{wasmx → mythos}/client.js +11 -11
- package/module/codegen/mythos/index.js +11 -0
- package/module/codegen/{wasmx → mythos}/rpc.query.js +7 -3
- package/module/codegen/mythos/rpc.tx.js +12 -0
- package/module/codegen/{wasmx/wasmx → mythos/wasmx/v1}/contract.js +1 -1
- package/module/codegen/{wasmx/wasmx → mythos/wasmx/v1}/genesis.js +1 -1
- package/module/codegen/{wasmx/wasmx → mythos/wasmx/v1}/query.js +3 -3
- package/module/codegen/{wasmx/wasmx → mythos/wasmx/v1}/query.rpc.Query.js +9 -9
- package/module/codegen/{wasmx/wasmx → mythos/wasmx/v1}/tx.amino.js +17 -17
- package/module/codegen/{wasmx/wasmx → mythos/wasmx/v1}/tx.js +2 -2
- package/module/codegen/{wasmx/wasmx → mythos/wasmx/v1}/tx.registry.js +41 -41
- package/module/codegen/{wasmx/wasmx → mythos/wasmx/v1}/tx.rpc.msg.js +8 -8
- package/module/codegen/{wasmx/websrv → mythos/websrv/v1}/genesis.js +1 -1
- package/module/codegen/{wasmx/websrv → mythos/websrv/v1}/params.js +1 -1
- package/module/codegen/{wasmx/websrv → mythos/websrv/v1}/proposal.js +1 -1
- package/module/codegen/{wasmx/websrv → mythos/websrv/v1}/query.js +2 -2
- package/module/codegen/{wasmx/websrv → mythos/websrv/v1}/query.rpc.Query.js +7 -7
- package/module/codegen/{wasmx/websrv → mythos/websrv/v1}/tx.amino.js +7 -7
- package/module/codegen/{wasmx/websrv → mythos/websrv/v1}/tx.js +1 -1
- package/module/codegen/{wasmx/websrv → mythos/websrv/v1}/tx.registry.js +16 -16
- package/module/codegen/{wasmx/websrv → mythos/websrv/v1}/tx.rpc.msg.js +3 -3
- package/module/codegen/tendermint/bundle.js +17 -17
- package/package.json +1 -1
- package/src/codegen/index.ts +3 -3
- package/src/codegen/mythos/bundle.ts +49 -0
- package/src/codegen/{wasmx → mythos}/client.ts +12 -12
- package/src/codegen/mythos/index.ts +11 -0
- package/src/codegen/{wasmx → mythos}/rpc.query.ts +7 -3
- package/src/codegen/mythos/rpc.tx.ts +15 -0
- package/src/codegen/{wasmx/wasmx → mythos/wasmx/v1}/contract.ts +1 -1
- package/src/codegen/{wasmx/wasmx → mythos/wasmx/v1}/genesis.ts +1 -1
- package/src/codegen/{wasmx/wasmx → mythos/wasmx/v1}/query.rpc.Query.ts +10 -10
- package/src/codegen/{wasmx/wasmx → mythos/wasmx/v1}/query.ts +3 -3
- package/src/codegen/{wasmx/wasmx → mythos/wasmx/v1}/tx.amino.ts +25 -25
- package/src/codegen/{wasmx/wasmx → mythos/wasmx/v1}/tx.registry.ts +41 -41
- package/src/codegen/{wasmx/wasmx → mythos/wasmx/v1}/tx.rpc.msg.ts +9 -9
- package/src/codegen/{wasmx/wasmx → mythos/wasmx/v1}/tx.ts +2 -2
- package/src/codegen/{wasmx/websrv → mythos/websrv/v1}/genesis.ts +1 -1
- package/src/codegen/{wasmx/websrv → mythos/websrv/v1}/params.ts +1 -1
- package/src/codegen/{wasmx/websrv → mythos/websrv/v1}/proposal.ts +1 -1
- package/src/codegen/{wasmx/websrv → mythos/websrv/v1}/query.rpc.Query.ts +8 -8
- package/src/codegen/{wasmx/websrv → mythos/websrv/v1}/query.ts +2 -2
- package/src/codegen/{wasmx/websrv → mythos/websrv/v1}/tx.amino.ts +10 -10
- package/src/codegen/{wasmx/websrv → mythos/websrv/v1}/tx.registry.ts +16 -16
- package/src/codegen/{wasmx/websrv → mythos/websrv/v1}/tx.rpc.msg.ts +4 -4
- package/src/codegen/{wasmx/websrv → mythos/websrv/v1}/tx.ts +1 -1
- package/src/codegen/tendermint/bundle.ts +22 -22
- package/types/codegen/index.d.ts +3 -3
- package/types/codegen/mythos/bundle.d.ts +1039 -0
- package/types/codegen/{wasmx → mythos}/client.d.ts +37 -37
- package/types/codegen/mythos/index.d.ts +11 -0
- package/types/codegen/mythos/rpc.query.d.ts +45 -0
- package/types/codegen/mythos/rpc.tx.d.ts +13 -0
- package/types/codegen/{wasmx/wasmx → mythos/wasmx/v1}/contract.d.ts +1 -1
- package/types/codegen/{wasmx/wasmx → mythos/wasmx/v1}/genesis.d.ts +1 -1
- package/types/codegen/{wasmx/wasmx → mythos/wasmx/v1}/query.d.ts +3 -3
- package/types/codegen/{wasmx/wasmx → mythos/wasmx/v1}/query.rpc.Query.d.ts +1 -1
- package/types/codegen/{wasmx/wasmx → mythos/wasmx/v1}/tx.amino.d.ts +16 -16
- package/types/codegen/{wasmx/wasmx → mythos/wasmx/v1}/tx.d.ts +2 -2
- package/types/codegen/{wasmx/wasmx → mythos/wasmx/v1}/tx.rpc.msg.d.ts +1 -1
- package/types/codegen/{wasmx/websrv → mythos/websrv/v1}/query.d.ts +2 -2
- package/types/codegen/{wasmx/websrv → mythos/websrv/v1}/query.rpc.Query.d.ts +1 -1
- package/types/codegen/{wasmx/websrv → mythos/websrv/v1}/tx.amino.d.ts +6 -6
- package/types/codegen/{wasmx/websrv → mythos/websrv/v1}/tx.d.ts +1 -1
- package/types/codegen/{wasmx/websrv → mythos/websrv/v1}/tx.rpc.msg.d.ts +1 -1
- package/types/codegen/tendermint/bundle.d.ts +456 -456
- package/module/codegen/wasmx/bundle.js +0 -29
- package/module/codegen/wasmx/index.js +0 -11
- package/module/codegen/wasmx/rpc.tx.js +0 -8
- package/src/codegen/wasmx/bundle.ts +0 -45
- package/src/codegen/wasmx/index.ts +0 -11
- package/src/codegen/wasmx/rpc.tx.ts +0 -11
- package/types/codegen/wasmx/bundle.d.ts +0 -1027
- package/types/codegen/wasmx/index.d.ts +0 -11
- package/types/codegen/wasmx/lcd.d.ts +0 -14
- package/types/codegen/wasmx/rpc.query.d.ts +0 -41
- package/types/codegen/wasmx/rpc.tx.d.ts +0 -9
- package/types/codegen/wasmx/wasmx/query.lcd.d.ts +0 -17
- /package/main/codegen/{wasmx/wasmx → mythos/wasmx/v1}/params.js +0 -0
- /package/module/codegen/{wasmx/wasmx → mythos/wasmx/v1}/params.js +0 -0
- /package/src/codegen/{wasmx/wasmx → mythos/wasmx/v1}/params.ts +0 -0
- /package/types/codegen/{wasmx/wasmx → mythos/wasmx/v1}/params.d.ts +0 -0
- /package/types/codegen/{wasmx/wasmx → mythos/wasmx/v1}/tx.registry.d.ts +0 -0
- /package/types/codegen/{wasmx/websrv → mythos/websrv/v1}/genesis.d.ts +0 -0
- /package/types/codegen/{wasmx/websrv → mythos/websrv/v1}/params.d.ts +0 -0
- /package/types/codegen/{wasmx/websrv → mythos/websrv/v1}/proposal.d.ts +0 -0
- /package/types/codegen/{wasmx/websrv → mythos/websrv/v1}/tx.registry.d.ts +0 -0
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import { GeneratedType, Registry, OfflineSigner } from "@cosmjs/proto-signing";
|
|
2
2
|
import { AminoTypes, SigningStargateClient } from "@cosmjs/stargate";
|
|
3
3
|
import { HttpEndpoint } from "@cosmjs/tendermint-rpc";
|
|
4
|
-
export declare const
|
|
5
|
-
"/
|
|
4
|
+
export declare const mythosAminoConverters: {
|
|
5
|
+
"/mythos.websrv.v1.MsgRegisterOAuthClient": {
|
|
6
6
|
aminoType: string;
|
|
7
|
-
toAmino: ({ owner, domain }: import("./websrv/tx").MsgRegisterOAuthClient) => {
|
|
7
|
+
toAmino: ({ owner, domain }: import("./websrv/v1/tx").MsgRegisterOAuthClient) => {
|
|
8
8
|
owner: string;
|
|
9
9
|
domain: string;
|
|
10
10
|
};
|
|
11
11
|
fromAmino: ({ owner, domain }: {
|
|
12
12
|
owner: string;
|
|
13
13
|
domain: string;
|
|
14
|
-
}) => import("./websrv/tx").MsgRegisterOAuthClient;
|
|
14
|
+
}) => import("./websrv/v1/tx").MsgRegisterOAuthClient;
|
|
15
15
|
};
|
|
16
|
-
"/
|
|
16
|
+
"/mythos.websrv.v1.MsgEditOAuthClient": {
|
|
17
17
|
aminoType: string;
|
|
18
|
-
toAmino: ({ owner, clientId, domain }: import("./websrv/tx").MsgEditOAuthClient) => {
|
|
18
|
+
toAmino: ({ owner, clientId, domain }: import("./websrv/v1/tx").MsgEditOAuthClient) => {
|
|
19
19
|
owner: string;
|
|
20
20
|
client_id: string;
|
|
21
21
|
domain: string;
|
|
@@ -24,44 +24,44 @@ export declare const wasmxAminoConverters: {
|
|
|
24
24
|
owner: string;
|
|
25
25
|
client_id: string;
|
|
26
26
|
domain: string;
|
|
27
|
-
}) => import("./websrv/tx").MsgEditOAuthClient;
|
|
27
|
+
}) => import("./websrv/v1/tx").MsgEditOAuthClient;
|
|
28
28
|
};
|
|
29
|
-
"/
|
|
29
|
+
"/mythos.websrv.v1.MsgDeregisterOAuthClient": {
|
|
30
30
|
aminoType: string;
|
|
31
|
-
toAmino: ({ owner, clientId }: import("./websrv/tx").MsgDeregisterOAuthClient) => {
|
|
31
|
+
toAmino: ({ owner, clientId }: import("./websrv/v1/tx").MsgDeregisterOAuthClient) => {
|
|
32
32
|
owner: string;
|
|
33
33
|
client_id: string;
|
|
34
34
|
};
|
|
35
35
|
fromAmino: ({ owner, client_id }: {
|
|
36
36
|
owner: string;
|
|
37
37
|
client_id: string;
|
|
38
|
-
}) => import("./websrv/tx").MsgDeregisterOAuthClient;
|
|
38
|
+
}) => import("./websrv/v1/tx").MsgDeregisterOAuthClient;
|
|
39
39
|
};
|
|
40
|
-
"/
|
|
40
|
+
"/mythos.wasmx.v1.MsgStoreCode": {
|
|
41
41
|
aminoType: string;
|
|
42
|
-
toAmino: ({ sender, wasmByteCode }: import("./wasmx/tx").MsgStoreCode) => {
|
|
42
|
+
toAmino: ({ sender, wasmByteCode }: import("./wasmx/v1/tx").MsgStoreCode) => {
|
|
43
43
|
sender: string;
|
|
44
44
|
wasm_byte_code: Uint8Array;
|
|
45
45
|
};
|
|
46
46
|
fromAmino: ({ sender, wasm_byte_code }: {
|
|
47
47
|
sender: string;
|
|
48
48
|
wasm_byte_code: Uint8Array;
|
|
49
|
-
}) => import("./wasmx/tx").MsgStoreCode;
|
|
49
|
+
}) => import("./wasmx/v1/tx").MsgStoreCode;
|
|
50
50
|
};
|
|
51
|
-
"/
|
|
51
|
+
"/mythos.wasmx.v1.MsgStoreCodeEvm": {
|
|
52
52
|
aminoType: string;
|
|
53
|
-
toAmino: ({ sender, evmByteCode }: import("./wasmx/tx").MsgStoreCodeEvm) => {
|
|
53
|
+
toAmino: ({ sender, evmByteCode }: import("./wasmx/v1/tx").MsgStoreCodeEvm) => {
|
|
54
54
|
sender: string;
|
|
55
55
|
evm_byte_code: Uint8Array;
|
|
56
56
|
};
|
|
57
57
|
fromAmino: ({ sender, evm_byte_code }: {
|
|
58
58
|
sender: string;
|
|
59
59
|
evm_byte_code: Uint8Array;
|
|
60
|
-
}) => import("./wasmx/tx").MsgStoreCodeEvm;
|
|
60
|
+
}) => import("./wasmx/v1/tx").MsgStoreCodeEvm;
|
|
61
61
|
};
|
|
62
|
-
"/
|
|
62
|
+
"/mythos.wasmx.v1.MsgInstantiateContract": {
|
|
63
63
|
aminoType: string;
|
|
64
|
-
toAmino: ({ sender, codeId, label, msg, funds }: import("./wasmx/tx").MsgInstantiateContract) => {
|
|
64
|
+
toAmino: ({ sender, codeId, label, msg, funds }: import("./wasmx/v1/tx").MsgInstantiateContract) => {
|
|
65
65
|
sender: string;
|
|
66
66
|
code_id: string;
|
|
67
67
|
label: string;
|
|
@@ -80,11 +80,11 @@ export declare const wasmxAminoConverters: {
|
|
|
80
80
|
denom: string;
|
|
81
81
|
amount: string;
|
|
82
82
|
}[];
|
|
83
|
-
}) => import("./wasmx/tx").MsgInstantiateContract;
|
|
83
|
+
}) => import("./wasmx/v1/tx").MsgInstantiateContract;
|
|
84
84
|
};
|
|
85
|
-
"/
|
|
85
|
+
"/mythos.wasmx.v1.MsgInstantiateContract2": {
|
|
86
86
|
aminoType: string;
|
|
87
|
-
toAmino: ({ sender, codeId, label, msg, funds, salt, fixMsg }: import("./wasmx/tx").MsgInstantiateContract2) => {
|
|
87
|
+
toAmino: ({ sender, codeId, label, msg, funds, salt, fixMsg }: import("./wasmx/v1/tx").MsgInstantiateContract2) => {
|
|
88
88
|
sender: string;
|
|
89
89
|
code_id: string;
|
|
90
90
|
label: string;
|
|
@@ -107,11 +107,11 @@ export declare const wasmxAminoConverters: {
|
|
|
107
107
|
}[];
|
|
108
108
|
salt: Uint8Array;
|
|
109
109
|
fix_msg: boolean;
|
|
110
|
-
}) => import("./wasmx/tx").MsgInstantiateContract2;
|
|
110
|
+
}) => import("./wasmx/v1/tx").MsgInstantiateContract2;
|
|
111
111
|
};
|
|
112
|
-
"/
|
|
112
|
+
"/mythos.wasmx.v1.MsgExecuteContract": {
|
|
113
113
|
aminoType: string;
|
|
114
|
-
toAmino: ({ sender, contract, msg, funds, dependencies }: import("./wasmx/tx").MsgExecuteContract) => {
|
|
114
|
+
toAmino: ({ sender, contract, msg, funds, dependencies }: import("./wasmx/v1/tx").MsgExecuteContract) => {
|
|
115
115
|
sender: string;
|
|
116
116
|
contract: string;
|
|
117
117
|
msg: Uint8Array;
|
|
@@ -130,11 +130,11 @@ export declare const wasmxAminoConverters: {
|
|
|
130
130
|
amount: string;
|
|
131
131
|
}[];
|
|
132
132
|
dependencies: string[];
|
|
133
|
-
}) => import("./wasmx/tx").MsgExecuteContract;
|
|
133
|
+
}) => import("./wasmx/v1/tx").MsgExecuteContract;
|
|
134
134
|
};
|
|
135
|
-
"/
|
|
135
|
+
"/mythos.wasmx.v1.MsgExecuteWithOriginContract": {
|
|
136
136
|
aminoType: string;
|
|
137
|
-
toAmino: ({ origin, sender, contract, msg, funds }: import("./wasmx/tx").MsgExecuteWithOriginContract) => {
|
|
137
|
+
toAmino: ({ origin, sender, contract, msg, funds }: import("./wasmx/v1/tx").MsgExecuteWithOriginContract) => {
|
|
138
138
|
origin: string;
|
|
139
139
|
sender: string;
|
|
140
140
|
contract: string;
|
|
@@ -153,11 +153,11 @@ export declare const wasmxAminoConverters: {
|
|
|
153
153
|
denom: string;
|
|
154
154
|
amount: string;
|
|
155
155
|
}[];
|
|
156
|
-
}) => import("./wasmx/tx").MsgExecuteWithOriginContract;
|
|
156
|
+
}) => import("./wasmx/v1/tx").MsgExecuteWithOriginContract;
|
|
157
157
|
};
|
|
158
|
-
"/
|
|
158
|
+
"/mythos.wasmx.v1.MsgExecuteDelegateContract": {
|
|
159
159
|
aminoType: string;
|
|
160
|
-
toAmino: ({ origin, sender, caller, codeContract, storageContract, msg, funds }: import("./wasmx/tx").MsgExecuteDelegateContract) => {
|
|
160
|
+
toAmino: ({ origin, sender, caller, codeContract, storageContract, msg, funds }: import("./wasmx/v1/tx").MsgExecuteDelegateContract) => {
|
|
161
161
|
origin: string;
|
|
162
162
|
sender: string;
|
|
163
163
|
caller: string;
|
|
@@ -180,28 +180,28 @@ export declare const wasmxAminoConverters: {
|
|
|
180
180
|
denom: string;
|
|
181
181
|
amount: string;
|
|
182
182
|
}[];
|
|
183
|
-
}) => import("./wasmx/tx").MsgExecuteDelegateContract;
|
|
183
|
+
}) => import("./wasmx/v1/tx").MsgExecuteDelegateContract;
|
|
184
184
|
};
|
|
185
|
-
"/
|
|
185
|
+
"/mythos.wasmx.v1.MsgCompileContract": {
|
|
186
186
|
aminoType: string;
|
|
187
|
-
toAmino: ({ sender, codeId }: import("./wasmx/tx").MsgCompileContract) => {
|
|
187
|
+
toAmino: ({ sender, codeId }: import("./wasmx/v1/tx").MsgCompileContract) => {
|
|
188
188
|
sender: string;
|
|
189
189
|
codeId: string;
|
|
190
190
|
};
|
|
191
191
|
fromAmino: ({ sender, codeId }: {
|
|
192
192
|
sender: string;
|
|
193
193
|
codeId: string;
|
|
194
|
-
}) => import("./wasmx/tx").MsgCompileContract;
|
|
194
|
+
}) => import("./wasmx/v1/tx").MsgCompileContract;
|
|
195
195
|
};
|
|
196
196
|
};
|
|
197
|
-
export declare const
|
|
198
|
-
export declare const
|
|
197
|
+
export declare const mythosProtoRegistry: ReadonlyArray<[string, GeneratedType]>;
|
|
198
|
+
export declare const getSigningMythosClientOptions: ({ defaultTypes }?: {
|
|
199
199
|
defaultTypes?: ReadonlyArray<[string, GeneratedType]>;
|
|
200
200
|
}) => {
|
|
201
201
|
registry: Registry;
|
|
202
202
|
aminoTypes: AminoTypes;
|
|
203
203
|
};
|
|
204
|
-
export declare const
|
|
204
|
+
export declare const getSigningMythosClient: ({ rpcEndpoint, signer, defaultTypes }: {
|
|
205
205
|
rpcEndpoint: string | HttpEndpoint;
|
|
206
206
|
signer: OfflineSigner;
|
|
207
207
|
defaultTypes?: ReadonlyArray<[string, GeneratedType]>;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export * from "./wasmx/v1/contract";
|
|
2
|
+
export * from "./wasmx/v1/genesis";
|
|
3
|
+
export * from "./wasmx/v1/params";
|
|
4
|
+
export * from "./wasmx/v1/query";
|
|
5
|
+
export * from "./wasmx/v1/tx";
|
|
6
|
+
export * from "./wasmx/v1/tx.amino";
|
|
7
|
+
export * from "./wasmx/v1/tx.registry";
|
|
8
|
+
export * from "./wasmx/v1/query.rpc.Query";
|
|
9
|
+
export * from "./wasmx/v1/tx.rpc.msg";
|
|
10
|
+
export * from "./rpc.query";
|
|
11
|
+
export * from "./rpc.tx";
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import { HttpEndpoint } from "@cosmjs/tendermint-rpc";
|
|
2
|
+
export declare const createRPCQueryClient: ({ rpcEndpoint }: {
|
|
3
|
+
rpcEndpoint: string | HttpEndpoint;
|
|
4
|
+
}) => Promise<{
|
|
5
|
+
cosmos: {
|
|
6
|
+
base: {
|
|
7
|
+
tendermint: {
|
|
8
|
+
v1beta1: {
|
|
9
|
+
getNodeInfo(request?: import("../cosmos/base/tendermint/v1beta1/query").GetNodeInfoRequest): Promise<import("../cosmos/base/tendermint/v1beta1/query").GetNodeInfoResponse>;
|
|
10
|
+
getSyncing(request?: import("../cosmos/base/tendermint/v1beta1/query").GetSyncingRequest): Promise<import("../cosmos/base/tendermint/v1beta1/query").GetSyncingResponse>;
|
|
11
|
+
getLatestBlock(request?: import("../cosmos/base/tendermint/v1beta1/query").GetLatestBlockRequest): Promise<import("../cosmos/base/tendermint/v1beta1/query").GetLatestBlockResponse>;
|
|
12
|
+
getBlockByHeight(request: import("../cosmos/base/tendermint/v1beta1/query").GetBlockByHeightRequest): Promise<import("../cosmos/base/tendermint/v1beta1/query").GetBlockByHeightResponse>;
|
|
13
|
+
getLatestValidatorSet(request?: import("../cosmos/base/tendermint/v1beta1/query").GetLatestValidatorSetRequest): Promise<import("../cosmos/base/tendermint/v1beta1/query").GetLatestValidatorSetResponse>;
|
|
14
|
+
getValidatorSetByHeight(request: import("../cosmos/base/tendermint/v1beta1/query").GetValidatorSetByHeightRequest): Promise<import("../cosmos/base/tendermint/v1beta1/query").GetValidatorSetByHeightResponse>;
|
|
15
|
+
};
|
|
16
|
+
};
|
|
17
|
+
};
|
|
18
|
+
};
|
|
19
|
+
mythos: {
|
|
20
|
+
wasmx: {
|
|
21
|
+
v1: {
|
|
22
|
+
contractInfo(request: import("./wasmx/v1/query").QueryContractInfoRequest): Promise<import("./wasmx/v1/query").QueryContractInfoResponse>;
|
|
23
|
+
contractsByCode(request: import("./wasmx/v1/query").QueryContractsByCodeRequest): Promise<import("./wasmx/v1/query").QueryContractsByCodeResponse>;
|
|
24
|
+
allContractState(request: import("./wasmx/v1/query").QueryAllContractStateRequest): Promise<import("./wasmx/v1/query").QueryAllContractStateResponse>;
|
|
25
|
+
rawContractState(request: import("./wasmx/v1/query").QueryRawContractStateRequest): Promise<import("./wasmx/v1/query").QueryRawContractStateResponse>;
|
|
26
|
+
smartContractCall(request: import("./wasmx/v1/query").QuerySmartContractCallRequest): Promise<import("./wasmx/v1/query").QuerySmartContractCallResponse>;
|
|
27
|
+
code(request: import("./wasmx/v1/query").QueryCodeRequest): Promise<import("./wasmx/v1/query").QueryCodeResponse>;
|
|
28
|
+
codes(request?: import("./wasmx/v1/query").QueryCodesRequest): Promise<import("./wasmx/v1/query").QueryCodesResponse>;
|
|
29
|
+
params(request?: import("./wasmx/v1/query").QueryParamsRequest): Promise<import("./wasmx/v1/query").QueryParamsResponse>;
|
|
30
|
+
contractsByCreator(request: import("./wasmx/v1/query").QueryContractsByCreatorRequest): Promise<import("./wasmx/v1/query").QueryContractsByCreatorResponse>;
|
|
31
|
+
};
|
|
32
|
+
};
|
|
33
|
+
websrv: {
|
|
34
|
+
v1: {
|
|
35
|
+
httpGet(request: import("./websrv/v1/query").QueryHttpRequestGet): Promise<import("./websrv/v1/query").QueryHttpResponseGet>;
|
|
36
|
+
contractByRoute(request: import("./websrv/v1/query").QueryContractByRouteRequest): Promise<import("./websrv/v1/query").QueryContractByRouteResponse>;
|
|
37
|
+
routeByContract(request: import("./websrv/v1/query").QueryRouteByContractRequest): Promise<import("./websrv/v1/query").QueryRouteByContractResponse>;
|
|
38
|
+
params(request?: import("./websrv/v1/query").QueryParamsRequest): Promise<import("./websrv/v1/query").QueryParamsResponse>;
|
|
39
|
+
getAllOauthClients(request?: import("./websrv/v1/query").QueryGetAllOauthClientsRequest): Promise<import("./websrv/v1/query").QueryGetAllOauthClientsResponse>;
|
|
40
|
+
getOauthClient(request: import("./websrv/v1/query").QueryGetOauthClientRequest): Promise<import("./websrv/v1/query").QueryGetOauthClientResponse>;
|
|
41
|
+
getOauthClientsByOwner(request: import("./websrv/v1/query").QueryGetOauthClientsByOwnerRequest): Promise<import("./websrv/v1/query").QueryGetOauthClientsByOwnerResponse>;
|
|
42
|
+
};
|
|
43
|
+
};
|
|
44
|
+
};
|
|
45
|
+
}>;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { Rpc } from "../helpers";
|
|
2
|
+
export declare const createRPCMsgClient: ({ rpc }: {
|
|
3
|
+
rpc: Rpc;
|
|
4
|
+
}) => Promise<{
|
|
5
|
+
mythos: {
|
|
6
|
+
wasmx: {
|
|
7
|
+
v1: import("./wasmx/v1/tx.rpc.msg").MsgClientImpl;
|
|
8
|
+
};
|
|
9
|
+
websrv: {
|
|
10
|
+
v1: import("./websrv/v1/tx.rpc.msg").MsgClientImpl;
|
|
11
|
+
};
|
|
12
|
+
};
|
|
13
|
+
}>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Params, ParamsSDKType } from "./params";
|
|
2
2
|
import { CodeInfo, CodeInfoSDKType, CodeMetadata, CodeMetadataSDKType, ContractInfo, ContractInfoSDKType, ContractStorage, ContractStorageSDKType } from "./contract";
|
|
3
3
|
import * as _m0 from "protobufjs/minimal";
|
|
4
|
-
import { Long } from "
|
|
4
|
+
import { Long } from "../../../helpers";
|
|
5
5
|
/** GenesisState defines the wasmx module's genesis state. */
|
|
6
6
|
export interface GenesisState {
|
|
7
7
|
params?: Params;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { PageRequest, PageRequestSDKType, PageResponse, PageResponseSDKType } from "
|
|
2
|
-
import { Coin, CoinSDKType } from "
|
|
1
|
+
import { PageRequest, PageRequestSDKType, PageResponse, PageResponseSDKType } from "../../../cosmos/base/query/v1beta1/pagination";
|
|
2
|
+
import { Coin, CoinSDKType } from "../../../cosmos/base/v1beta1/coin";
|
|
3
3
|
import { ContractInfo, ContractInfoSDKType, ContractStorage, ContractStorageSDKType } from "./contract";
|
|
4
4
|
import { Params, ParamsSDKType } from "./params";
|
|
5
5
|
import * as _m0 from "protobufjs/minimal";
|
|
6
|
-
import { Long } from "
|
|
6
|
+
import { Long } from "../../../helpers";
|
|
7
7
|
/**
|
|
8
8
|
* QueryContractInfoRequest is the request type for the Query/ContractInfo RPC
|
|
9
9
|
* method
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Rpc } from "
|
|
1
|
+
import { Rpc } from "../../../helpers";
|
|
2
2
|
import { QueryClient } from "@cosmjs/stargate";
|
|
3
3
|
import { QueryContractInfoRequest, QueryContractInfoResponse, QueryContractsByCodeRequest, QueryContractsByCodeResponse, QueryAllContractStateRequest, QueryAllContractStateResponse, QueryRawContractStateRequest, QueryRawContractStateResponse, QuerySmartContractCallRequest, QuerySmartContractCallResponse, QueryCodeRequest, QueryCodeResponse, QueryCodesRequest, QueryCodesResponse, QueryParamsRequest, QueryParamsResponse, QueryContractsByCreatorRequest, QueryContractsByCreatorResponse } from "./query";
|
|
4
4
|
/** Query provides defines the gRPC querier service */
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import { AminoMsg } from "@cosmjs/amino";
|
|
2
2
|
import { MsgStoreCode, MsgStoreCodeEvm, MsgInstantiateContract, MsgInstantiateContract2, MsgExecuteContract, MsgExecuteWithOriginContract, MsgExecuteDelegateContract, MsgCompileContract } from "./tx";
|
|
3
3
|
export interface AminoMsgStoreCode extends AminoMsg {
|
|
4
|
-
type: "/
|
|
4
|
+
type: "/mythos.wasmx.v1.MsgStoreCode";
|
|
5
5
|
value: {
|
|
6
6
|
sender: string;
|
|
7
7
|
wasm_byte_code: Uint8Array;
|
|
8
8
|
};
|
|
9
9
|
}
|
|
10
10
|
export interface AminoMsgStoreCodeEvm extends AminoMsg {
|
|
11
|
-
type: "/
|
|
11
|
+
type: "/mythos.wasmx.v1.MsgStoreCodeEvm";
|
|
12
12
|
value: {
|
|
13
13
|
sender: string;
|
|
14
14
|
evm_byte_code: Uint8Array;
|
|
15
15
|
};
|
|
16
16
|
}
|
|
17
17
|
export interface AminoMsgInstantiateContract extends AminoMsg {
|
|
18
|
-
type: "/
|
|
18
|
+
type: "/mythos.wasmx.v1.MsgInstantiateContract";
|
|
19
19
|
value: {
|
|
20
20
|
sender: string;
|
|
21
21
|
code_id: string;
|
|
@@ -28,7 +28,7 @@ export interface AminoMsgInstantiateContract extends AminoMsg {
|
|
|
28
28
|
};
|
|
29
29
|
}
|
|
30
30
|
export interface AminoMsgInstantiateContract2 extends AminoMsg {
|
|
31
|
-
type: "/
|
|
31
|
+
type: "/mythos.wasmx.v1.MsgInstantiateContract2";
|
|
32
32
|
value: {
|
|
33
33
|
sender: string;
|
|
34
34
|
code_id: string;
|
|
@@ -43,7 +43,7 @@ export interface AminoMsgInstantiateContract2 extends AminoMsg {
|
|
|
43
43
|
};
|
|
44
44
|
}
|
|
45
45
|
export interface AminoMsgExecuteContract extends AminoMsg {
|
|
46
|
-
type: "/
|
|
46
|
+
type: "/mythos.wasmx.v1.MsgExecuteContract";
|
|
47
47
|
value: {
|
|
48
48
|
sender: string;
|
|
49
49
|
contract: string;
|
|
@@ -56,7 +56,7 @@ export interface AminoMsgExecuteContract extends AminoMsg {
|
|
|
56
56
|
};
|
|
57
57
|
}
|
|
58
58
|
export interface AminoMsgExecuteWithOriginContract extends AminoMsg {
|
|
59
|
-
type: "/
|
|
59
|
+
type: "/mythos.wasmx.v1.MsgExecuteWithOriginContract";
|
|
60
60
|
value: {
|
|
61
61
|
origin: string;
|
|
62
62
|
sender: string;
|
|
@@ -69,7 +69,7 @@ export interface AminoMsgExecuteWithOriginContract extends AminoMsg {
|
|
|
69
69
|
};
|
|
70
70
|
}
|
|
71
71
|
export interface AminoMsgExecuteDelegateContract extends AminoMsg {
|
|
72
|
-
type: "/
|
|
72
|
+
type: "/mythos.wasmx.v1.MsgExecuteDelegateContract";
|
|
73
73
|
value: {
|
|
74
74
|
origin: string;
|
|
75
75
|
sender: string;
|
|
@@ -84,49 +84,49 @@ export interface AminoMsgExecuteDelegateContract extends AminoMsg {
|
|
|
84
84
|
};
|
|
85
85
|
}
|
|
86
86
|
export interface AminoMsgCompileContract extends AminoMsg {
|
|
87
|
-
type: "/
|
|
87
|
+
type: "/mythos.wasmx.v1.MsgCompileContract";
|
|
88
88
|
value: {
|
|
89
89
|
sender: string;
|
|
90
90
|
codeId: string;
|
|
91
91
|
};
|
|
92
92
|
}
|
|
93
93
|
export declare const AminoConverter: {
|
|
94
|
-
"/
|
|
94
|
+
"/mythos.wasmx.v1.MsgStoreCode": {
|
|
95
95
|
aminoType: string;
|
|
96
96
|
toAmino: ({ sender, wasmByteCode }: MsgStoreCode) => AminoMsgStoreCode["value"];
|
|
97
97
|
fromAmino: ({ sender, wasm_byte_code }: AminoMsgStoreCode["value"]) => MsgStoreCode;
|
|
98
98
|
};
|
|
99
|
-
"/
|
|
99
|
+
"/mythos.wasmx.v1.MsgStoreCodeEvm": {
|
|
100
100
|
aminoType: string;
|
|
101
101
|
toAmino: ({ sender, evmByteCode }: MsgStoreCodeEvm) => AminoMsgStoreCodeEvm["value"];
|
|
102
102
|
fromAmino: ({ sender, evm_byte_code }: AminoMsgStoreCodeEvm["value"]) => MsgStoreCodeEvm;
|
|
103
103
|
};
|
|
104
|
-
"/
|
|
104
|
+
"/mythos.wasmx.v1.MsgInstantiateContract": {
|
|
105
105
|
aminoType: string;
|
|
106
106
|
toAmino: ({ sender, codeId, label, msg, funds }: MsgInstantiateContract) => AminoMsgInstantiateContract["value"];
|
|
107
107
|
fromAmino: ({ sender, code_id, label, msg, funds }: AminoMsgInstantiateContract["value"]) => MsgInstantiateContract;
|
|
108
108
|
};
|
|
109
|
-
"/
|
|
109
|
+
"/mythos.wasmx.v1.MsgInstantiateContract2": {
|
|
110
110
|
aminoType: string;
|
|
111
111
|
toAmino: ({ sender, codeId, label, msg, funds, salt, fixMsg }: MsgInstantiateContract2) => AminoMsgInstantiateContract2["value"];
|
|
112
112
|
fromAmino: ({ sender, code_id, label, msg, funds, salt, fix_msg }: AminoMsgInstantiateContract2["value"]) => MsgInstantiateContract2;
|
|
113
113
|
};
|
|
114
|
-
"/
|
|
114
|
+
"/mythos.wasmx.v1.MsgExecuteContract": {
|
|
115
115
|
aminoType: string;
|
|
116
116
|
toAmino: ({ sender, contract, msg, funds, dependencies }: MsgExecuteContract) => AminoMsgExecuteContract["value"];
|
|
117
117
|
fromAmino: ({ sender, contract, msg, funds, dependencies }: AminoMsgExecuteContract["value"]) => MsgExecuteContract;
|
|
118
118
|
};
|
|
119
|
-
"/
|
|
119
|
+
"/mythos.wasmx.v1.MsgExecuteWithOriginContract": {
|
|
120
120
|
aminoType: string;
|
|
121
121
|
toAmino: ({ origin, sender, contract, msg, funds }: MsgExecuteWithOriginContract) => AminoMsgExecuteWithOriginContract["value"];
|
|
122
122
|
fromAmino: ({ origin, sender, contract, msg, funds }: AminoMsgExecuteWithOriginContract["value"]) => MsgExecuteWithOriginContract;
|
|
123
123
|
};
|
|
124
|
-
"/
|
|
124
|
+
"/mythos.wasmx.v1.MsgExecuteDelegateContract": {
|
|
125
125
|
aminoType: string;
|
|
126
126
|
toAmino: ({ origin, sender, caller, codeContract, storageContract, msg, funds }: MsgExecuteDelegateContract) => AminoMsgExecuteDelegateContract["value"];
|
|
127
127
|
fromAmino: ({ origin, sender, caller, code_contract, storage_contract, msg, funds }: AminoMsgExecuteDelegateContract["value"]) => MsgExecuteDelegateContract;
|
|
128
128
|
};
|
|
129
|
-
"/
|
|
129
|
+
"/mythos.wasmx.v1.MsgCompileContract": {
|
|
130
130
|
aminoType: string;
|
|
131
131
|
toAmino: ({ sender, codeId }: MsgCompileContract) => AminoMsgCompileContract["value"];
|
|
132
132
|
fromAmino: ({ sender, codeId }: AminoMsgCompileContract["value"]) => MsgCompileContract;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { Coin, CoinSDKType } from "
|
|
1
|
+
import { Coin, CoinSDKType } from "../../../cosmos/base/v1beta1/coin";
|
|
2
2
|
import * as _m0 from "protobufjs/minimal";
|
|
3
|
-
import { Long } from "
|
|
3
|
+
import { Long } from "../../../helpers";
|
|
4
4
|
/** MsgStoreCode submit Wasm code to the system */
|
|
5
5
|
export interface MsgStoreCode {
|
|
6
6
|
/** Sender is the that actor that signed the messages */
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Rpc } from "
|
|
1
|
+
import { Rpc } from "../../../helpers";
|
|
2
2
|
import { MsgStoreCode, MsgStoreCodeResponse, MsgStoreCodeEvm, MsgStoreCodeEvmResponse, MsgInstantiateContract, MsgInstantiateContractResponse, MsgInstantiateContract2, MsgInstantiateContract2Response, MsgExecuteContract, MsgExecuteContractResponse, MsgExecuteWithOriginContract, MsgExecuteDelegateContract, MsgExecuteDelegateContractResponse, MsgCompileContract, MsgCompileContractResponse } from "./tx";
|
|
3
3
|
/** Msg defines the wasm Msg service. */
|
|
4
4
|
export interface Msg {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { PageRequest, PageRequestSDKType, PageResponse, PageResponseSDKType } from "
|
|
1
|
+
import { PageRequest, PageRequestSDKType, PageResponse, PageResponseSDKType } from "../../../cosmos/base/query/v1beta1/pagination";
|
|
2
2
|
import { Params, ParamsSDKType } from "./params";
|
|
3
3
|
import * as _m0 from "protobufjs/minimal";
|
|
4
|
-
import { Long } from "
|
|
4
|
+
import { Long } from "../../../helpers";
|
|
5
5
|
/**
|
|
6
6
|
* QueryContractByRouteRequest is the request type for the
|
|
7
7
|
* Query/ContractByRoute RPC method.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Rpc } from "
|
|
1
|
+
import { Rpc } from "../../../helpers";
|
|
2
2
|
import { QueryClient } from "@cosmjs/stargate";
|
|
3
3
|
import { QueryHttpRequestGet, QueryHttpResponseGet, QueryContractByRouteRequest, QueryContractByRouteResponse, QueryRouteByContractRequest, QueryRouteByContractResponse, QueryParamsRequest, QueryParamsResponse, QueryGetAllOauthClientsRequest, QueryGetAllOauthClientsResponse, QueryGetOauthClientRequest, QueryGetOauthClientResponse, QueryGetOauthClientsByOwnerRequest, QueryGetOauthClientsByOwnerResponse } from "./query";
|
|
4
4
|
/** Query defines the gRPC querier service. */
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { AminoMsg } from "@cosmjs/amino";
|
|
2
2
|
import { MsgRegisterOAuthClient, MsgEditOAuthClient, MsgDeregisterOAuthClient } from "./tx";
|
|
3
3
|
export interface AminoMsgRegisterOAuthClient extends AminoMsg {
|
|
4
|
-
type: "/
|
|
4
|
+
type: "/mythos.websrv.v1.MsgRegisterOAuthClient";
|
|
5
5
|
value: {
|
|
6
6
|
owner: string;
|
|
7
7
|
domain: string;
|
|
8
8
|
};
|
|
9
9
|
}
|
|
10
10
|
export interface AminoMsgEditOAuthClient extends AminoMsg {
|
|
11
|
-
type: "/
|
|
11
|
+
type: "/mythos.websrv.v1.MsgEditOAuthClient";
|
|
12
12
|
value: {
|
|
13
13
|
owner: string;
|
|
14
14
|
client_id: string;
|
|
@@ -16,24 +16,24 @@ export interface AminoMsgEditOAuthClient extends AminoMsg {
|
|
|
16
16
|
};
|
|
17
17
|
}
|
|
18
18
|
export interface AminoMsgDeregisterOAuthClient extends AminoMsg {
|
|
19
|
-
type: "/
|
|
19
|
+
type: "/mythos.websrv.v1.MsgDeregisterOAuthClient";
|
|
20
20
|
value: {
|
|
21
21
|
owner: string;
|
|
22
22
|
client_id: string;
|
|
23
23
|
};
|
|
24
24
|
}
|
|
25
25
|
export declare const AminoConverter: {
|
|
26
|
-
"/
|
|
26
|
+
"/mythos.websrv.v1.MsgRegisterOAuthClient": {
|
|
27
27
|
aminoType: string;
|
|
28
28
|
toAmino: ({ owner, domain }: MsgRegisterOAuthClient) => AminoMsgRegisterOAuthClient["value"];
|
|
29
29
|
fromAmino: ({ owner, domain }: AminoMsgRegisterOAuthClient["value"]) => MsgRegisterOAuthClient;
|
|
30
30
|
};
|
|
31
|
-
"/
|
|
31
|
+
"/mythos.websrv.v1.MsgEditOAuthClient": {
|
|
32
32
|
aminoType: string;
|
|
33
33
|
toAmino: ({ owner, clientId, domain }: MsgEditOAuthClient) => AminoMsgEditOAuthClient["value"];
|
|
34
34
|
fromAmino: ({ owner, client_id, domain }: AminoMsgEditOAuthClient["value"]) => MsgEditOAuthClient;
|
|
35
35
|
};
|
|
36
|
-
"/
|
|
36
|
+
"/mythos.websrv.v1.MsgDeregisterOAuthClient": {
|
|
37
37
|
aminoType: string;
|
|
38
38
|
toAmino: ({ owner, clientId }: MsgDeregisterOAuthClient) => AminoMsgDeregisterOAuthClient["value"];
|
|
39
39
|
fromAmino: ({ owner, client_id }: AminoMsgDeregisterOAuthClient["value"]) => MsgDeregisterOAuthClient;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Rpc } from "
|
|
1
|
+
import { Rpc } from "../../../helpers";
|
|
2
2
|
import { MsgRegisterOAuthClient, MsgRegisterOAuthClientResponse, MsgEditOAuthClient, MsgEditOAuthClientResponse, MsgDeregisterOAuthClient, MsgDeregisterOAuthClientResponse } from "./tx";
|
|
3
3
|
/** Msg defines the Msg service. */
|
|
4
4
|
export interface Msg {
|