@ark-us/wasmxjs 0.0.4 → 0.0.5
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/mythos/wasmx/v1/contract.js +176 -29
- package/main/codegen/mythos/wasmx/v1/genesis.js +14 -14
- package/main/codegen/mythos/wasmx/v1/query.js +81 -55
- package/main/codegen/mythos/wasmx/v1/query.rpc.Query.js +13 -0
- package/main/codegen/mythos/wasmx/v1/tx.amino.js +64 -8
- package/main/codegen/mythos/wasmx/v1/tx.js +25 -4
- package/module/codegen/mythos/wasmx/v1/contract.js +151 -21
- package/module/codegen/mythos/wasmx/v1/genesis.js +15 -15
- package/module/codegen/mythos/wasmx/v1/query.js +77 -53
- package/module/codegen/mythos/wasmx/v1/query.rpc.Query.js +10 -1
- package/module/codegen/mythos/wasmx/v1/tx.amino.js +64 -8
- package/module/codegen/mythos/wasmx/v1/tx.js +25 -4
- package/package.json +1 -1
- package/src/codegen/mythos/wasmx/v1/contract.ts +228 -33
- package/src/codegen/mythos/wasmx/v1/genesis.ts +19 -19
- package/src/codegen/mythos/wasmx/v1/query.rpc.Query.ts +15 -1
- package/src/codegen/mythos/wasmx/v1/query.ts +123 -82
- package/src/codegen/mythos/wasmx/v1/tx.amino.ts +90 -8
- package/src/codegen/mythos/wasmx/v1/tx.ts +33 -4
- package/types/codegen/mythos/client.d.ts +16 -16
- package/types/codegen/mythos/rpc.query.d.ts +9 -9
|
@@ -39,29 +39,29 @@ export declare const mythosAminoConverters: {
|
|
|
39
39
|
};
|
|
40
40
|
"/mythos.wasmx.v1.MsgStoreCode": {
|
|
41
41
|
aminoType: string;
|
|
42
|
-
toAmino: ({ sender, wasmByteCode }: import("
|
|
42
|
+
toAmino: ({ sender, wasmByteCode }: import(".").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("
|
|
49
|
+
}) => import(".").MsgStoreCode;
|
|
50
50
|
};
|
|
51
51
|
"/mythos.wasmx.v1.MsgStoreCodeEvm": {
|
|
52
52
|
aminoType: string;
|
|
53
|
-
toAmino: ({ sender, evmByteCode }: import("
|
|
53
|
+
toAmino: ({ sender, evmByteCode }: import(".").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("
|
|
60
|
+
}) => import(".").MsgStoreCodeEvm;
|
|
61
61
|
};
|
|
62
62
|
"/mythos.wasmx.v1.MsgInstantiateContract": {
|
|
63
63
|
aminoType: string;
|
|
64
|
-
toAmino: ({ sender, codeId, label, msg, funds }: import("
|
|
64
|
+
toAmino: ({ sender, codeId, label, msg, funds }: import(".").MsgInstantiateContract) => {
|
|
65
65
|
sender: string;
|
|
66
66
|
code_id: string;
|
|
67
67
|
label: string;
|
|
@@ -80,11 +80,11 @@ export declare const mythosAminoConverters: {
|
|
|
80
80
|
denom: string;
|
|
81
81
|
amount: string;
|
|
82
82
|
}[];
|
|
83
|
-
}) => import("
|
|
83
|
+
}) => import(".").MsgInstantiateContract;
|
|
84
84
|
};
|
|
85
85
|
"/mythos.wasmx.v1.MsgInstantiateContract2": {
|
|
86
86
|
aminoType: string;
|
|
87
|
-
toAmino: ({ sender, codeId, label, msg, funds, salt, fixMsg }: import("
|
|
87
|
+
toAmino: ({ sender, codeId, label, msg, funds, salt, fixMsg }: import(".").MsgInstantiateContract2) => {
|
|
88
88
|
sender: string;
|
|
89
89
|
code_id: string;
|
|
90
90
|
label: string;
|
|
@@ -107,11 +107,11 @@ export declare const mythosAminoConverters: {
|
|
|
107
107
|
}[];
|
|
108
108
|
salt: Uint8Array;
|
|
109
109
|
fix_msg: boolean;
|
|
110
|
-
}) => import("
|
|
110
|
+
}) => import(".").MsgInstantiateContract2;
|
|
111
111
|
};
|
|
112
112
|
"/mythos.wasmx.v1.MsgExecuteContract": {
|
|
113
113
|
aminoType: string;
|
|
114
|
-
toAmino: ({ sender, contract, msg, funds, dependencies }: import("
|
|
114
|
+
toAmino: ({ sender, contract, msg, funds, dependencies }: import(".").MsgExecuteContract) => {
|
|
115
115
|
sender: string;
|
|
116
116
|
contract: string;
|
|
117
117
|
msg: Uint8Array;
|
|
@@ -130,11 +130,11 @@ export declare const mythosAminoConverters: {
|
|
|
130
130
|
amount: string;
|
|
131
131
|
}[];
|
|
132
132
|
dependencies: string[];
|
|
133
|
-
}) => import("
|
|
133
|
+
}) => import(".").MsgExecuteContract;
|
|
134
134
|
};
|
|
135
135
|
"/mythos.wasmx.v1.MsgExecuteWithOriginContract": {
|
|
136
136
|
aminoType: string;
|
|
137
|
-
toAmino: ({ origin, sender, contract, msg, funds }: import("
|
|
137
|
+
toAmino: ({ origin, sender, contract, msg, funds }: import(".").MsgExecuteWithOriginContract) => {
|
|
138
138
|
origin: string;
|
|
139
139
|
sender: string;
|
|
140
140
|
contract: string;
|
|
@@ -153,11 +153,11 @@ export declare const mythosAminoConverters: {
|
|
|
153
153
|
denom: string;
|
|
154
154
|
amount: string;
|
|
155
155
|
}[];
|
|
156
|
-
}) => import("
|
|
156
|
+
}) => import(".").MsgExecuteWithOriginContract;
|
|
157
157
|
};
|
|
158
158
|
"/mythos.wasmx.v1.MsgExecuteDelegateContract": {
|
|
159
159
|
aminoType: string;
|
|
160
|
-
toAmino: ({ origin, sender, caller, codeContract, storageContract, msg, funds }: import("
|
|
160
|
+
toAmino: ({ origin, sender, caller, codeContract, storageContract, msg, funds }: import(".").MsgExecuteDelegateContract) => {
|
|
161
161
|
origin: string;
|
|
162
162
|
sender: string;
|
|
163
163
|
caller: string;
|
|
@@ -180,18 +180,18 @@ export declare const mythosAminoConverters: {
|
|
|
180
180
|
denom: string;
|
|
181
181
|
amount: string;
|
|
182
182
|
}[];
|
|
183
|
-
}) => import("
|
|
183
|
+
}) => import(".").MsgExecuteDelegateContract;
|
|
184
184
|
};
|
|
185
185
|
"/mythos.wasmx.v1.MsgCompileContract": {
|
|
186
186
|
aminoType: string;
|
|
187
|
-
toAmino: ({ sender, codeId }: import("
|
|
187
|
+
toAmino: ({ sender, codeId }: import(".").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("
|
|
194
|
+
}) => import(".").MsgCompileContract;
|
|
195
195
|
};
|
|
196
196
|
};
|
|
197
197
|
export declare const mythosProtoRegistry: ReadonlyArray<[string, GeneratedType]>;
|
|
@@ -19,15 +19,15 @@ export declare const createRPCQueryClient: ({ rpcEndpoint }: {
|
|
|
19
19
|
mythos: {
|
|
20
20
|
wasmx: {
|
|
21
21
|
v1: {
|
|
22
|
-
contractInfo(request: import("
|
|
23
|
-
contractsByCode(request: import("
|
|
24
|
-
allContractState(request: import("
|
|
25
|
-
rawContractState(request: import("
|
|
26
|
-
smartContractCall(request: import("
|
|
27
|
-
code(request: import("
|
|
28
|
-
codes(request?: import("
|
|
29
|
-
params(request?: import("
|
|
30
|
-
contractsByCreator(request: import("
|
|
22
|
+
contractInfo(request: import(".").QueryContractInfoRequest): Promise<import(".").QueryContractInfoResponse>;
|
|
23
|
+
contractsByCode(request: import(".").QueryContractsByCodeRequest): Promise<import(".").QueryContractsByCodeResponse>;
|
|
24
|
+
allContractState(request: import(".").QueryAllContractStateRequest): Promise<import(".").QueryAllContractStateResponse>;
|
|
25
|
+
rawContractState(request: import(".").QueryRawContractStateRequest): Promise<import(".").QueryRawContractStateResponse>;
|
|
26
|
+
smartContractCall(request: import(".").QuerySmartContractCallRequest): Promise<import(".").QuerySmartContractCallResponse>;
|
|
27
|
+
code(request: import(".").QueryCodeRequest): Promise<import(".").QueryCodeResponse>;
|
|
28
|
+
codes(request?: import(".").QueryCodesRequest): Promise<import(".").QueryCodesResponse>;
|
|
29
|
+
params(request?: import(".").QueryParamsRequest): Promise<import(".").QueryParamsResponse>;
|
|
30
|
+
contractsByCreator(request: import(".").QueryContractsByCreatorRequest): Promise<import(".").QueryContractsByCreatorResponse>;
|
|
31
31
|
};
|
|
32
32
|
};
|
|
33
33
|
websrv: {
|