@ark-us/wasmxjs 0.0.3 → 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.
Files changed (123) hide show
  1. package/main/codegen/index.js +10 -10
  2. package/main/codegen/{wasmx → mythos}/bundle.js +21 -21
  3. package/main/codegen/{wasmx → mythos}/client.js +19 -19
  4. package/main/codegen/{wasmx → mythos}/rpc.query.js +1 -1
  5. package/main/codegen/{wasmx → mythos}/rpc.tx.js +1 -1
  6. package/main/codegen/{wasmx → mythos}/wasmx/v1/query.rpc.Query.js +9 -9
  7. package/main/codegen/{wasmx → mythos}/wasmx/v1/tx.amino.js +16 -16
  8. package/main/codegen/{wasmx → mythos}/wasmx/v1/tx.registry.js +41 -41
  9. package/main/codegen/{wasmx → mythos}/wasmx/v1/tx.rpc.msg.js +8 -8
  10. package/main/codegen/{wasmx → mythos}/websrv/v1/query.rpc.Query.js +7 -7
  11. package/main/codegen/{wasmx → mythos}/websrv/v1/tx.amino.js +6 -6
  12. package/main/codegen/{wasmx → mythos}/websrv/v1/tx.registry.js +16 -16
  13. package/main/codegen/{wasmx → mythos}/websrv/v1/tx.rpc.msg.js +3 -3
  14. package/main/codegen/tendermint/bundle.js +17 -17
  15. package/module/codegen/index.js +3 -3
  16. package/module/codegen/{wasmx → mythos}/bundle.js +19 -19
  17. package/module/codegen/{wasmx → mythos}/client.js +11 -11
  18. package/module/codegen/{wasmx → mythos}/rpc.query.js +1 -1
  19. package/module/codegen/{wasmx → mythos}/rpc.tx.js +1 -1
  20. package/module/codegen/{wasmx → mythos}/wasmx/v1/query.rpc.Query.js +9 -9
  21. package/module/codegen/{wasmx → mythos}/wasmx/v1/tx.amino.js +16 -16
  22. package/module/codegen/{wasmx → mythos}/wasmx/v1/tx.registry.js +41 -41
  23. package/module/codegen/{wasmx → mythos}/wasmx/v1/tx.rpc.msg.js +8 -8
  24. package/module/codegen/{wasmx → mythos}/websrv/v1/query.rpc.Query.js +7 -7
  25. package/module/codegen/{wasmx → mythos}/websrv/v1/tx.amino.js +6 -6
  26. package/module/codegen/{wasmx → mythos}/websrv/v1/tx.registry.js +16 -16
  27. package/module/codegen/{wasmx → mythos}/websrv/v1/tx.rpc.msg.js +3 -3
  28. package/module/codegen/tendermint/bundle.js +17 -17
  29. package/package.json +1 -1
  30. package/src/codegen/index.ts +3 -3
  31. package/src/codegen/{wasmx → mythos}/bundle.ts +21 -21
  32. package/src/codegen/{wasmx → mythos}/client.ts +12 -12
  33. package/src/codegen/{wasmx → mythos}/rpc.query.ts +1 -1
  34. package/src/codegen/{wasmx → mythos}/rpc.tx.ts +1 -1
  35. package/src/codegen/{wasmx → mythos}/wasmx/v1/query.rpc.Query.ts +9 -9
  36. package/src/codegen/{wasmx → mythos}/wasmx/v1/tx.amino.ts +24 -24
  37. package/src/codegen/{wasmx → mythos}/wasmx/v1/tx.registry.ts +41 -41
  38. package/src/codegen/{wasmx → mythos}/wasmx/v1/tx.rpc.msg.ts +8 -8
  39. package/src/codegen/{wasmx → mythos}/websrv/v1/query.rpc.Query.ts +7 -7
  40. package/src/codegen/{wasmx → mythos}/websrv/v1/tx.amino.ts +9 -9
  41. package/src/codegen/{wasmx → mythos}/websrv/v1/tx.registry.ts +16 -16
  42. package/src/codegen/{wasmx → mythos}/websrv/v1/tx.rpc.msg.ts +3 -3
  43. package/src/codegen/tendermint/bundle.ts +22 -22
  44. package/types/codegen/index.d.ts +3 -3
  45. package/types/codegen/mythos/bundle.d.ts +1039 -0
  46. package/types/codegen/{wasmx → mythos}/client.d.ts +15 -15
  47. package/types/codegen/mythos/index.d.ts +11 -0
  48. package/types/codegen/{wasmx → mythos}/rpc.query.d.ts +1 -1
  49. package/types/codegen/{wasmx → mythos}/rpc.tx.d.ts +1 -1
  50. package/types/codegen/{wasmx/wasmx → mythos/wasmx/v1}/tx.amino.d.ts +16 -16
  51. package/types/codegen/{wasmx → mythos}/websrv/v1/tx.amino.d.ts +6 -6
  52. package/types/codegen/tendermint/bundle.d.ts +456 -456
  53. package/types/codegen/wasmx/bundle.d.ts +0 -1039
  54. package/types/codegen/wasmx/index.d.ts +0 -11
  55. package/types/codegen/wasmx/lcd.d.ts +0 -14
  56. package/types/codegen/wasmx/wasmx/contract.d.ts +0 -139
  57. package/types/codegen/wasmx/wasmx/genesis.d.ts +0 -121
  58. package/types/codegen/wasmx/wasmx/query.d.ts +0 -451
  59. package/types/codegen/wasmx/wasmx/query.lcd.d.ts +0 -17
  60. package/types/codegen/wasmx/wasmx/query.rpc.Query.d.ts +0 -48
  61. package/types/codegen/wasmx/wasmx/tx.d.ts +0 -404
  62. package/types/codegen/wasmx/wasmx/tx.rpc.msg.d.ts +0 -39
  63. package/types/codegen/wasmx/wasmx/v1/params.d.ts +0 -14
  64. package/types/codegen/wasmx/wasmx/v1/tx.amino.d.ts +0 -134
  65. package/types/codegen/wasmx/wasmx/v1/tx.registry.d.ts +0 -176
  66. package/types/codegen/wasmx/websrv/query.d.ts +0 -315
  67. package/types/codegen/wasmx/websrv/query.rpc.Query.d.ts +0 -40
  68. package/types/codegen/wasmx/websrv/tx.amino.d.ts +0 -41
  69. package/types/codegen/wasmx/websrv/tx.d.ts +0 -90
  70. package/types/codegen/wasmx/websrv/tx.rpc.msg.d.ts +0 -18
  71. package/types/codegen/wasmx/websrv/v1/genesis.d.ts +0 -17
  72. package/types/codegen/wasmx/websrv/v1/params.d.ts +0 -16
  73. package/types/codegen/wasmx/websrv/v1/proposal.d.ts +0 -65
  74. package/types/codegen/wasmx/websrv/v1/tx.registry.d.ts +0 -76
  75. /package/main/codegen/{wasmx → mythos}/index.js +0 -0
  76. /package/main/codegen/{wasmx → mythos}/wasmx/v1/contract.js +0 -0
  77. /package/main/codegen/{wasmx → mythos}/wasmx/v1/genesis.js +0 -0
  78. /package/main/codegen/{wasmx → mythos}/wasmx/v1/params.js +0 -0
  79. /package/main/codegen/{wasmx → mythos}/wasmx/v1/query.js +0 -0
  80. /package/main/codegen/{wasmx → mythos}/wasmx/v1/tx.js +0 -0
  81. /package/main/codegen/{wasmx → mythos}/websrv/v1/genesis.js +0 -0
  82. /package/main/codegen/{wasmx → mythos}/websrv/v1/params.js +0 -0
  83. /package/main/codegen/{wasmx → mythos}/websrv/v1/proposal.js +0 -0
  84. /package/main/codegen/{wasmx → mythos}/websrv/v1/query.js +0 -0
  85. /package/main/codegen/{wasmx → mythos}/websrv/v1/tx.js +0 -0
  86. /package/module/codegen/{wasmx → mythos}/index.js +0 -0
  87. /package/module/codegen/{wasmx → mythos}/wasmx/v1/contract.js +0 -0
  88. /package/module/codegen/{wasmx → mythos}/wasmx/v1/genesis.js +0 -0
  89. /package/module/codegen/{wasmx → mythos}/wasmx/v1/params.js +0 -0
  90. /package/module/codegen/{wasmx → mythos}/wasmx/v1/query.js +0 -0
  91. /package/module/codegen/{wasmx → mythos}/wasmx/v1/tx.js +0 -0
  92. /package/module/codegen/{wasmx → mythos}/websrv/v1/genesis.js +0 -0
  93. /package/module/codegen/{wasmx → mythos}/websrv/v1/params.js +0 -0
  94. /package/module/codegen/{wasmx → mythos}/websrv/v1/proposal.js +0 -0
  95. /package/module/codegen/{wasmx → mythos}/websrv/v1/query.js +0 -0
  96. /package/module/codegen/{wasmx → mythos}/websrv/v1/tx.js +0 -0
  97. /package/src/codegen/{wasmx → mythos}/index.ts +0 -0
  98. /package/src/codegen/{wasmx → mythos}/wasmx/v1/contract.ts +0 -0
  99. /package/src/codegen/{wasmx → mythos}/wasmx/v1/genesis.ts +0 -0
  100. /package/src/codegen/{wasmx → mythos}/wasmx/v1/params.ts +0 -0
  101. /package/src/codegen/{wasmx → mythos}/wasmx/v1/query.ts +0 -0
  102. /package/src/codegen/{wasmx → mythos}/wasmx/v1/tx.ts +0 -0
  103. /package/src/codegen/{wasmx → mythos}/websrv/v1/genesis.ts +0 -0
  104. /package/src/codegen/{wasmx → mythos}/websrv/v1/params.ts +0 -0
  105. /package/src/codegen/{wasmx → mythos}/websrv/v1/proposal.ts +0 -0
  106. /package/src/codegen/{wasmx → mythos}/websrv/v1/query.ts +0 -0
  107. /package/src/codegen/{wasmx → mythos}/websrv/v1/tx.ts +0 -0
  108. /package/types/codegen/{wasmx → mythos}/wasmx/v1/contract.d.ts +0 -0
  109. /package/types/codegen/{wasmx → mythos}/wasmx/v1/genesis.d.ts +0 -0
  110. /package/types/codegen/{wasmx/wasmx → mythos/wasmx/v1}/params.d.ts +0 -0
  111. /package/types/codegen/{wasmx → mythos}/wasmx/v1/query.d.ts +0 -0
  112. /package/types/codegen/{wasmx → mythos}/wasmx/v1/query.rpc.Query.d.ts +0 -0
  113. /package/types/codegen/{wasmx → mythos}/wasmx/v1/tx.d.ts +0 -0
  114. /package/types/codegen/{wasmx/wasmx → mythos/wasmx/v1}/tx.registry.d.ts +0 -0
  115. /package/types/codegen/{wasmx → mythos}/wasmx/v1/tx.rpc.msg.d.ts +0 -0
  116. /package/types/codegen/{wasmx/websrv → mythos/websrv/v1}/genesis.d.ts +0 -0
  117. /package/types/codegen/{wasmx/websrv → mythos/websrv/v1}/params.d.ts +0 -0
  118. /package/types/codegen/{wasmx/websrv → mythos/websrv/v1}/proposal.d.ts +0 -0
  119. /package/types/codegen/{wasmx → mythos}/websrv/v1/query.d.ts +0 -0
  120. /package/types/codegen/{wasmx → mythos}/websrv/v1/query.rpc.Query.d.ts +0 -0
  121. /package/types/codegen/{wasmx → mythos}/websrv/v1/tx.d.ts +0 -0
  122. /package/types/codegen/{wasmx/websrv → mythos/websrv/v1}/tx.registry.d.ts +0 -0
  123. /package/types/codegen/{wasmx → mythos}/websrv/v1/tx.rpc.msg.d.ts +0 -0
@@ -3,21 +3,21 @@ import { fromUtf8, toUtf8 } from "@cosmjs/encoding";
3
3
  import { Long } from "../../../helpers";
4
4
  import { MsgStoreCode, MsgStoreCodeEvm, MsgInstantiateContract, MsgInstantiateContract2, MsgExecuteContract, MsgExecuteWithOriginContract, MsgExecuteDelegateContract, MsgCompileContract } from "./tx";
5
5
  export interface AminoMsgStoreCode extends AminoMsg {
6
- type: "/wasmx.wasmx.v1.MsgStoreCode";
6
+ type: "/mythos.wasmx.v1.MsgStoreCode";
7
7
  value: {
8
8
  sender: string;
9
9
  wasm_byte_code: Uint8Array;
10
10
  };
11
11
  }
12
12
  export interface AminoMsgStoreCodeEvm extends AminoMsg {
13
- type: "/wasmx.wasmx.v1.MsgStoreCodeEvm";
13
+ type: "/mythos.wasmx.v1.MsgStoreCodeEvm";
14
14
  value: {
15
15
  sender: string;
16
16
  evm_byte_code: Uint8Array;
17
17
  };
18
18
  }
19
19
  export interface AminoMsgInstantiateContract extends AminoMsg {
20
- type: "/wasmx.wasmx.v1.MsgInstantiateContract";
20
+ type: "/mythos.wasmx.v1.MsgInstantiateContract";
21
21
  value: {
22
22
  sender: string;
23
23
  code_id: string;
@@ -30,7 +30,7 @@ export interface AminoMsgInstantiateContract extends AminoMsg {
30
30
  };
31
31
  }
32
32
  export interface AminoMsgInstantiateContract2 extends AminoMsg {
33
- type: "/wasmx.wasmx.v1.MsgInstantiateContract2";
33
+ type: "/mythos.wasmx.v1.MsgInstantiateContract2";
34
34
  value: {
35
35
  sender: string;
36
36
  code_id: string;
@@ -45,7 +45,7 @@ export interface AminoMsgInstantiateContract2 extends AminoMsg {
45
45
  };
46
46
  }
47
47
  export interface AminoMsgExecuteContract extends AminoMsg {
48
- type: "/wasmx.wasmx.v1.MsgExecuteContract";
48
+ type: "/mythos.wasmx.v1.MsgExecuteContract";
49
49
  value: {
50
50
  sender: string;
51
51
  contract: string;
@@ -58,7 +58,7 @@ export interface AminoMsgExecuteContract extends AminoMsg {
58
58
  };
59
59
  }
60
60
  export interface AminoMsgExecuteWithOriginContract extends AminoMsg {
61
- type: "/wasmx.wasmx.v1.MsgExecuteWithOriginContract";
61
+ type: "/mythos.wasmx.v1.MsgExecuteWithOriginContract";
62
62
  value: {
63
63
  origin: string;
64
64
  sender: string;
@@ -71,7 +71,7 @@ export interface AminoMsgExecuteWithOriginContract extends AminoMsg {
71
71
  };
72
72
  }
73
73
  export interface AminoMsgExecuteDelegateContract extends AminoMsg {
74
- type: "/wasmx.wasmx.v1.MsgExecuteDelegateContract";
74
+ type: "/mythos.wasmx.v1.MsgExecuteDelegateContract";
75
75
  value: {
76
76
  origin: string;
77
77
  sender: string;
@@ -86,15 +86,15 @@ export interface AminoMsgExecuteDelegateContract extends AminoMsg {
86
86
  };
87
87
  }
88
88
  export interface AminoMsgCompileContract extends AminoMsg {
89
- type: "/wasmx.wasmx.v1.MsgCompileContract";
89
+ type: "/mythos.wasmx.v1.MsgCompileContract";
90
90
  value: {
91
91
  sender: string;
92
92
  codeId: string;
93
93
  };
94
94
  }
95
95
  export const AminoConverter = {
96
- "/wasmx.wasmx.v1.MsgStoreCode": {
97
- aminoType: "/wasmx.wasmx.v1.MsgStoreCode",
96
+ "/mythos.wasmx.v1.MsgStoreCode": {
97
+ aminoType: "/mythos.wasmx.v1.MsgStoreCode",
98
98
  toAmino: ({
99
99
  sender,
100
100
  wasmByteCode
@@ -114,8 +114,8 @@ export const AminoConverter = {
114
114
  };
115
115
  }
116
116
  },
117
- "/wasmx.wasmx.v1.MsgStoreCodeEvm": {
118
- aminoType: "/wasmx.wasmx.v1.MsgStoreCodeEvm",
117
+ "/mythos.wasmx.v1.MsgStoreCodeEvm": {
118
+ aminoType: "/mythos.wasmx.v1.MsgStoreCodeEvm",
119
119
  toAmino: ({
120
120
  sender,
121
121
  evmByteCode
@@ -135,8 +135,8 @@ export const AminoConverter = {
135
135
  };
136
136
  }
137
137
  },
138
- "/wasmx.wasmx.v1.MsgInstantiateContract": {
139
- aminoType: "/wasmx.wasmx.v1.MsgInstantiateContract",
138
+ "/mythos.wasmx.v1.MsgInstantiateContract": {
139
+ aminoType: "/mythos.wasmx.v1.MsgInstantiateContract",
140
140
  toAmino: ({
141
141
  sender,
142
142
  codeId,
@@ -174,8 +174,8 @@ export const AminoConverter = {
174
174
  };
175
175
  }
176
176
  },
177
- "/wasmx.wasmx.v1.MsgInstantiateContract2": {
178
- aminoType: "/wasmx.wasmx.v1.MsgInstantiateContract2",
177
+ "/mythos.wasmx.v1.MsgInstantiateContract2": {
178
+ aminoType: "/mythos.wasmx.v1.MsgInstantiateContract2",
179
179
  toAmino: ({
180
180
  sender,
181
181
  codeId,
@@ -221,8 +221,8 @@ export const AminoConverter = {
221
221
  };
222
222
  }
223
223
  },
224
- "/wasmx.wasmx.v1.MsgExecuteContract": {
225
- aminoType: "/wasmx.wasmx.v1.MsgExecuteContract",
224
+ "/mythos.wasmx.v1.MsgExecuteContract": {
225
+ aminoType: "/mythos.wasmx.v1.MsgExecuteContract",
226
226
  toAmino: ({
227
227
  sender,
228
228
  contract,
@@ -260,8 +260,8 @@ export const AminoConverter = {
260
260
  };
261
261
  }
262
262
  },
263
- "/wasmx.wasmx.v1.MsgExecuteWithOriginContract": {
264
- aminoType: "/wasmx.wasmx.v1.MsgExecuteWithOriginContract",
263
+ "/mythos.wasmx.v1.MsgExecuteWithOriginContract": {
264
+ aminoType: "/mythos.wasmx.v1.MsgExecuteWithOriginContract",
265
265
  toAmino: ({
266
266
  origin,
267
267
  sender,
@@ -299,8 +299,8 @@ export const AminoConverter = {
299
299
  };
300
300
  }
301
301
  },
302
- "/wasmx.wasmx.v1.MsgExecuteDelegateContract": {
303
- aminoType: "/wasmx.wasmx.v1.MsgExecuteDelegateContract",
302
+ "/mythos.wasmx.v1.MsgExecuteDelegateContract": {
303
+ aminoType: "/mythos.wasmx.v1.MsgExecuteDelegateContract",
304
304
  toAmino: ({
305
305
  origin,
306
306
  sender,
@@ -346,8 +346,8 @@ export const AminoConverter = {
346
346
  };
347
347
  }
348
348
  },
349
- "/wasmx.wasmx.v1.MsgCompileContract": {
350
- aminoType: "/wasmx.wasmx.v1.MsgCompileContract",
349
+ "/mythos.wasmx.v1.MsgCompileContract": {
350
+ aminoType: "/mythos.wasmx.v1.MsgCompileContract",
351
351
  toAmino: ({
352
352
  sender,
353
353
  codeId
@@ -1,6 +1,6 @@
1
1
  import { GeneratedType, Registry } from "@cosmjs/proto-signing";
2
2
  import { MsgStoreCode, MsgStoreCodeEvm, MsgInstantiateContract, MsgInstantiateContract2, MsgExecuteContract, MsgExecuteWithOriginContract, MsgExecuteDelegateContract, MsgCompileContract } from "./tx";
3
- export const registry: ReadonlyArray<[string, GeneratedType]> = [["/wasmx.wasmx.v1.MsgStoreCode", MsgStoreCode], ["/wasmx.wasmx.v1.MsgStoreCodeEvm", MsgStoreCodeEvm], ["/wasmx.wasmx.v1.MsgInstantiateContract", MsgInstantiateContract], ["/wasmx.wasmx.v1.MsgInstantiateContract2", MsgInstantiateContract2], ["/wasmx.wasmx.v1.MsgExecuteContract", MsgExecuteContract], ["/wasmx.wasmx.v1.MsgExecuteWithOriginContract", MsgExecuteWithOriginContract], ["/wasmx.wasmx.v1.MsgExecuteDelegateContract", MsgExecuteDelegateContract], ["/wasmx.wasmx.v1.MsgCompileContract", MsgCompileContract]];
3
+ export const registry: ReadonlyArray<[string, GeneratedType]> = [["/mythos.wasmx.v1.MsgStoreCode", MsgStoreCode], ["/mythos.wasmx.v1.MsgStoreCodeEvm", MsgStoreCodeEvm], ["/mythos.wasmx.v1.MsgInstantiateContract", MsgInstantiateContract], ["/mythos.wasmx.v1.MsgInstantiateContract2", MsgInstantiateContract2], ["/mythos.wasmx.v1.MsgExecuteContract", MsgExecuteContract], ["/mythos.wasmx.v1.MsgExecuteWithOriginContract", MsgExecuteWithOriginContract], ["/mythos.wasmx.v1.MsgExecuteDelegateContract", MsgExecuteDelegateContract], ["/mythos.wasmx.v1.MsgCompileContract", MsgCompileContract]];
4
4
  export const load = (protoRegistry: Registry) => {
5
5
  registry.forEach(([typeUrl, mod]) => {
6
6
  protoRegistry.register(typeUrl, mod);
@@ -10,56 +10,56 @@ export const MessageComposer = {
10
10
  encoded: {
11
11
  storeCode(value: MsgStoreCode) {
12
12
  return {
13
- typeUrl: "/wasmx.wasmx.v1.MsgStoreCode",
13
+ typeUrl: "/mythos.wasmx.v1.MsgStoreCode",
14
14
  value: MsgStoreCode.encode(value).finish()
15
15
  };
16
16
  },
17
17
 
18
18
  storeCodeEvm(value: MsgStoreCodeEvm) {
19
19
  return {
20
- typeUrl: "/wasmx.wasmx.v1.MsgStoreCodeEvm",
20
+ typeUrl: "/mythos.wasmx.v1.MsgStoreCodeEvm",
21
21
  value: MsgStoreCodeEvm.encode(value).finish()
22
22
  };
23
23
  },
24
24
 
25
25
  instantiateContract(value: MsgInstantiateContract) {
26
26
  return {
27
- typeUrl: "/wasmx.wasmx.v1.MsgInstantiateContract",
27
+ typeUrl: "/mythos.wasmx.v1.MsgInstantiateContract",
28
28
  value: MsgInstantiateContract.encode(value).finish()
29
29
  };
30
30
  },
31
31
 
32
32
  instantiateContract2(value: MsgInstantiateContract2) {
33
33
  return {
34
- typeUrl: "/wasmx.wasmx.v1.MsgInstantiateContract2",
34
+ typeUrl: "/mythos.wasmx.v1.MsgInstantiateContract2",
35
35
  value: MsgInstantiateContract2.encode(value).finish()
36
36
  };
37
37
  },
38
38
 
39
39
  executeContract(value: MsgExecuteContract) {
40
40
  return {
41
- typeUrl: "/wasmx.wasmx.v1.MsgExecuteContract",
41
+ typeUrl: "/mythos.wasmx.v1.MsgExecuteContract",
42
42
  value: MsgExecuteContract.encode(value).finish()
43
43
  };
44
44
  },
45
45
 
46
46
  executeWithOriginContract(value: MsgExecuteWithOriginContract) {
47
47
  return {
48
- typeUrl: "/wasmx.wasmx.v1.MsgExecuteWithOriginContract",
48
+ typeUrl: "/mythos.wasmx.v1.MsgExecuteWithOriginContract",
49
49
  value: MsgExecuteWithOriginContract.encode(value).finish()
50
50
  };
51
51
  },
52
52
 
53
53
  executeDelegateContract(value: MsgExecuteDelegateContract) {
54
54
  return {
55
- typeUrl: "/wasmx.wasmx.v1.MsgExecuteDelegateContract",
55
+ typeUrl: "/mythos.wasmx.v1.MsgExecuteDelegateContract",
56
56
  value: MsgExecuteDelegateContract.encode(value).finish()
57
57
  };
58
58
  },
59
59
 
60
60
  compileContract(value: MsgCompileContract) {
61
61
  return {
62
- typeUrl: "/wasmx.wasmx.v1.MsgCompileContract",
62
+ typeUrl: "/mythos.wasmx.v1.MsgCompileContract",
63
63
  value: MsgCompileContract.encode(value).finish()
64
64
  };
65
65
  }
@@ -68,56 +68,56 @@ export const MessageComposer = {
68
68
  withTypeUrl: {
69
69
  storeCode(value: MsgStoreCode) {
70
70
  return {
71
- typeUrl: "/wasmx.wasmx.v1.MsgStoreCode",
71
+ typeUrl: "/mythos.wasmx.v1.MsgStoreCode",
72
72
  value
73
73
  };
74
74
  },
75
75
 
76
76
  storeCodeEvm(value: MsgStoreCodeEvm) {
77
77
  return {
78
- typeUrl: "/wasmx.wasmx.v1.MsgStoreCodeEvm",
78
+ typeUrl: "/mythos.wasmx.v1.MsgStoreCodeEvm",
79
79
  value
80
80
  };
81
81
  },
82
82
 
83
83
  instantiateContract(value: MsgInstantiateContract) {
84
84
  return {
85
- typeUrl: "/wasmx.wasmx.v1.MsgInstantiateContract",
85
+ typeUrl: "/mythos.wasmx.v1.MsgInstantiateContract",
86
86
  value
87
87
  };
88
88
  },
89
89
 
90
90
  instantiateContract2(value: MsgInstantiateContract2) {
91
91
  return {
92
- typeUrl: "/wasmx.wasmx.v1.MsgInstantiateContract2",
92
+ typeUrl: "/mythos.wasmx.v1.MsgInstantiateContract2",
93
93
  value
94
94
  };
95
95
  },
96
96
 
97
97
  executeContract(value: MsgExecuteContract) {
98
98
  return {
99
- typeUrl: "/wasmx.wasmx.v1.MsgExecuteContract",
99
+ typeUrl: "/mythos.wasmx.v1.MsgExecuteContract",
100
100
  value
101
101
  };
102
102
  },
103
103
 
104
104
  executeWithOriginContract(value: MsgExecuteWithOriginContract) {
105
105
  return {
106
- typeUrl: "/wasmx.wasmx.v1.MsgExecuteWithOriginContract",
106
+ typeUrl: "/mythos.wasmx.v1.MsgExecuteWithOriginContract",
107
107
  value
108
108
  };
109
109
  },
110
110
 
111
111
  executeDelegateContract(value: MsgExecuteDelegateContract) {
112
112
  return {
113
- typeUrl: "/wasmx.wasmx.v1.MsgExecuteDelegateContract",
113
+ typeUrl: "/mythos.wasmx.v1.MsgExecuteDelegateContract",
114
114
  value
115
115
  };
116
116
  },
117
117
 
118
118
  compileContract(value: MsgCompileContract) {
119
119
  return {
120
- typeUrl: "/wasmx.wasmx.v1.MsgCompileContract",
120
+ typeUrl: "/mythos.wasmx.v1.MsgCompileContract",
121
121
  value
122
122
  };
123
123
  }
@@ -126,56 +126,56 @@ export const MessageComposer = {
126
126
  toJSON: {
127
127
  storeCode(value: MsgStoreCode) {
128
128
  return {
129
- typeUrl: "/wasmx.wasmx.v1.MsgStoreCode",
129
+ typeUrl: "/mythos.wasmx.v1.MsgStoreCode",
130
130
  value: MsgStoreCode.toJSON(value)
131
131
  };
132
132
  },
133
133
 
134
134
  storeCodeEvm(value: MsgStoreCodeEvm) {
135
135
  return {
136
- typeUrl: "/wasmx.wasmx.v1.MsgStoreCodeEvm",
136
+ typeUrl: "/mythos.wasmx.v1.MsgStoreCodeEvm",
137
137
  value: MsgStoreCodeEvm.toJSON(value)
138
138
  };
139
139
  },
140
140
 
141
141
  instantiateContract(value: MsgInstantiateContract) {
142
142
  return {
143
- typeUrl: "/wasmx.wasmx.v1.MsgInstantiateContract",
143
+ typeUrl: "/mythos.wasmx.v1.MsgInstantiateContract",
144
144
  value: MsgInstantiateContract.toJSON(value)
145
145
  };
146
146
  },
147
147
 
148
148
  instantiateContract2(value: MsgInstantiateContract2) {
149
149
  return {
150
- typeUrl: "/wasmx.wasmx.v1.MsgInstantiateContract2",
150
+ typeUrl: "/mythos.wasmx.v1.MsgInstantiateContract2",
151
151
  value: MsgInstantiateContract2.toJSON(value)
152
152
  };
153
153
  },
154
154
 
155
155
  executeContract(value: MsgExecuteContract) {
156
156
  return {
157
- typeUrl: "/wasmx.wasmx.v1.MsgExecuteContract",
157
+ typeUrl: "/mythos.wasmx.v1.MsgExecuteContract",
158
158
  value: MsgExecuteContract.toJSON(value)
159
159
  };
160
160
  },
161
161
 
162
162
  executeWithOriginContract(value: MsgExecuteWithOriginContract) {
163
163
  return {
164
- typeUrl: "/wasmx.wasmx.v1.MsgExecuteWithOriginContract",
164
+ typeUrl: "/mythos.wasmx.v1.MsgExecuteWithOriginContract",
165
165
  value: MsgExecuteWithOriginContract.toJSON(value)
166
166
  };
167
167
  },
168
168
 
169
169
  executeDelegateContract(value: MsgExecuteDelegateContract) {
170
170
  return {
171
- typeUrl: "/wasmx.wasmx.v1.MsgExecuteDelegateContract",
171
+ typeUrl: "/mythos.wasmx.v1.MsgExecuteDelegateContract",
172
172
  value: MsgExecuteDelegateContract.toJSON(value)
173
173
  };
174
174
  },
175
175
 
176
176
  compileContract(value: MsgCompileContract) {
177
177
  return {
178
- typeUrl: "/wasmx.wasmx.v1.MsgCompileContract",
178
+ typeUrl: "/mythos.wasmx.v1.MsgCompileContract",
179
179
  value: MsgCompileContract.toJSON(value)
180
180
  };
181
181
  }
@@ -184,56 +184,56 @@ export const MessageComposer = {
184
184
  fromJSON: {
185
185
  storeCode(value: any) {
186
186
  return {
187
- typeUrl: "/wasmx.wasmx.v1.MsgStoreCode",
187
+ typeUrl: "/mythos.wasmx.v1.MsgStoreCode",
188
188
  value: MsgStoreCode.fromJSON(value)
189
189
  };
190
190
  },
191
191
 
192
192
  storeCodeEvm(value: any) {
193
193
  return {
194
- typeUrl: "/wasmx.wasmx.v1.MsgStoreCodeEvm",
194
+ typeUrl: "/mythos.wasmx.v1.MsgStoreCodeEvm",
195
195
  value: MsgStoreCodeEvm.fromJSON(value)
196
196
  };
197
197
  },
198
198
 
199
199
  instantiateContract(value: any) {
200
200
  return {
201
- typeUrl: "/wasmx.wasmx.v1.MsgInstantiateContract",
201
+ typeUrl: "/mythos.wasmx.v1.MsgInstantiateContract",
202
202
  value: MsgInstantiateContract.fromJSON(value)
203
203
  };
204
204
  },
205
205
 
206
206
  instantiateContract2(value: any) {
207
207
  return {
208
- typeUrl: "/wasmx.wasmx.v1.MsgInstantiateContract2",
208
+ typeUrl: "/mythos.wasmx.v1.MsgInstantiateContract2",
209
209
  value: MsgInstantiateContract2.fromJSON(value)
210
210
  };
211
211
  },
212
212
 
213
213
  executeContract(value: any) {
214
214
  return {
215
- typeUrl: "/wasmx.wasmx.v1.MsgExecuteContract",
215
+ typeUrl: "/mythos.wasmx.v1.MsgExecuteContract",
216
216
  value: MsgExecuteContract.fromJSON(value)
217
217
  };
218
218
  },
219
219
 
220
220
  executeWithOriginContract(value: any) {
221
221
  return {
222
- typeUrl: "/wasmx.wasmx.v1.MsgExecuteWithOriginContract",
222
+ typeUrl: "/mythos.wasmx.v1.MsgExecuteWithOriginContract",
223
223
  value: MsgExecuteWithOriginContract.fromJSON(value)
224
224
  };
225
225
  },
226
226
 
227
227
  executeDelegateContract(value: any) {
228
228
  return {
229
- typeUrl: "/wasmx.wasmx.v1.MsgExecuteDelegateContract",
229
+ typeUrl: "/mythos.wasmx.v1.MsgExecuteDelegateContract",
230
230
  value: MsgExecuteDelegateContract.fromJSON(value)
231
231
  };
232
232
  },
233
233
 
234
234
  compileContract(value: any) {
235
235
  return {
236
- typeUrl: "/wasmx.wasmx.v1.MsgCompileContract",
236
+ typeUrl: "/mythos.wasmx.v1.MsgCompileContract",
237
237
  value: MsgCompileContract.fromJSON(value)
238
238
  };
239
239
  }
@@ -242,56 +242,56 @@ export const MessageComposer = {
242
242
  fromPartial: {
243
243
  storeCode(value: MsgStoreCode) {
244
244
  return {
245
- typeUrl: "/wasmx.wasmx.v1.MsgStoreCode",
245
+ typeUrl: "/mythos.wasmx.v1.MsgStoreCode",
246
246
  value: MsgStoreCode.fromPartial(value)
247
247
  };
248
248
  },
249
249
 
250
250
  storeCodeEvm(value: MsgStoreCodeEvm) {
251
251
  return {
252
- typeUrl: "/wasmx.wasmx.v1.MsgStoreCodeEvm",
252
+ typeUrl: "/mythos.wasmx.v1.MsgStoreCodeEvm",
253
253
  value: MsgStoreCodeEvm.fromPartial(value)
254
254
  };
255
255
  },
256
256
 
257
257
  instantiateContract(value: MsgInstantiateContract) {
258
258
  return {
259
- typeUrl: "/wasmx.wasmx.v1.MsgInstantiateContract",
259
+ typeUrl: "/mythos.wasmx.v1.MsgInstantiateContract",
260
260
  value: MsgInstantiateContract.fromPartial(value)
261
261
  };
262
262
  },
263
263
 
264
264
  instantiateContract2(value: MsgInstantiateContract2) {
265
265
  return {
266
- typeUrl: "/wasmx.wasmx.v1.MsgInstantiateContract2",
266
+ typeUrl: "/mythos.wasmx.v1.MsgInstantiateContract2",
267
267
  value: MsgInstantiateContract2.fromPartial(value)
268
268
  };
269
269
  },
270
270
 
271
271
  executeContract(value: MsgExecuteContract) {
272
272
  return {
273
- typeUrl: "/wasmx.wasmx.v1.MsgExecuteContract",
273
+ typeUrl: "/mythos.wasmx.v1.MsgExecuteContract",
274
274
  value: MsgExecuteContract.fromPartial(value)
275
275
  };
276
276
  },
277
277
 
278
278
  executeWithOriginContract(value: MsgExecuteWithOriginContract) {
279
279
  return {
280
- typeUrl: "/wasmx.wasmx.v1.MsgExecuteWithOriginContract",
280
+ typeUrl: "/mythos.wasmx.v1.MsgExecuteWithOriginContract",
281
281
  value: MsgExecuteWithOriginContract.fromPartial(value)
282
282
  };
283
283
  },
284
284
 
285
285
  executeDelegateContract(value: MsgExecuteDelegateContract) {
286
286
  return {
287
- typeUrl: "/wasmx.wasmx.v1.MsgExecuteDelegateContract",
287
+ typeUrl: "/mythos.wasmx.v1.MsgExecuteDelegateContract",
288
288
  value: MsgExecuteDelegateContract.fromPartial(value)
289
289
  };
290
290
  },
291
291
 
292
292
  compileContract(value: MsgCompileContract) {
293
293
  return {
294
- typeUrl: "/wasmx.wasmx.v1.MsgCompileContract",
294
+ typeUrl: "/mythos.wasmx.v1.MsgCompileContract",
295
295
  value: MsgCompileContract.fromPartial(value)
296
296
  };
297
297
  }
@@ -51,49 +51,49 @@ export class MsgClientImpl implements Msg {
51
51
 
52
52
  storeCode(request: MsgStoreCode): Promise<MsgStoreCodeResponse> {
53
53
  const data = MsgStoreCode.encode(request).finish();
54
- const promise = this.rpc.request("wasmx.wasmx.v1.Msg", "StoreCode", data);
54
+ const promise = this.rpc.request("mythos.wasmx.v1.Msg", "StoreCode", data);
55
55
  return promise.then(data => MsgStoreCodeResponse.decode(new _m0.Reader(data)));
56
56
  }
57
57
 
58
58
  storeCodeEvm(request: MsgStoreCodeEvm): Promise<MsgStoreCodeEvmResponse> {
59
59
  const data = MsgStoreCodeEvm.encode(request).finish();
60
- const promise = this.rpc.request("wasmx.wasmx.v1.Msg", "StoreCodeEvm", data);
60
+ const promise = this.rpc.request("mythos.wasmx.v1.Msg", "StoreCodeEvm", data);
61
61
  return promise.then(data => MsgStoreCodeEvmResponse.decode(new _m0.Reader(data)));
62
62
  }
63
63
 
64
64
  instantiateContract(request: MsgInstantiateContract): Promise<MsgInstantiateContractResponse> {
65
65
  const data = MsgInstantiateContract.encode(request).finish();
66
- const promise = this.rpc.request("wasmx.wasmx.v1.Msg", "InstantiateContract", data);
66
+ const promise = this.rpc.request("mythos.wasmx.v1.Msg", "InstantiateContract", data);
67
67
  return promise.then(data => MsgInstantiateContractResponse.decode(new _m0.Reader(data)));
68
68
  }
69
69
 
70
70
  instantiateContract2(request: MsgInstantiateContract2): Promise<MsgInstantiateContract2Response> {
71
71
  const data = MsgInstantiateContract2.encode(request).finish();
72
- const promise = this.rpc.request("wasmx.wasmx.v1.Msg", "InstantiateContract2", data);
72
+ const promise = this.rpc.request("mythos.wasmx.v1.Msg", "InstantiateContract2", data);
73
73
  return promise.then(data => MsgInstantiateContract2Response.decode(new _m0.Reader(data)));
74
74
  }
75
75
 
76
76
  executeContract(request: MsgExecuteContract): Promise<MsgExecuteContractResponse> {
77
77
  const data = MsgExecuteContract.encode(request).finish();
78
- const promise = this.rpc.request("wasmx.wasmx.v1.Msg", "ExecuteContract", data);
78
+ const promise = this.rpc.request("mythos.wasmx.v1.Msg", "ExecuteContract", data);
79
79
  return promise.then(data => MsgExecuteContractResponse.decode(new _m0.Reader(data)));
80
80
  }
81
81
 
82
82
  executeWithOriginContract(request: MsgExecuteWithOriginContract): Promise<MsgExecuteContractResponse> {
83
83
  const data = MsgExecuteWithOriginContract.encode(request).finish();
84
- const promise = this.rpc.request("wasmx.wasmx.v1.Msg", "ExecuteWithOriginContract", data);
84
+ const promise = this.rpc.request("mythos.wasmx.v1.Msg", "ExecuteWithOriginContract", data);
85
85
  return promise.then(data => MsgExecuteContractResponse.decode(new _m0.Reader(data)));
86
86
  }
87
87
 
88
88
  executeDelegateContract(request: MsgExecuteDelegateContract): Promise<MsgExecuteDelegateContractResponse> {
89
89
  const data = MsgExecuteDelegateContract.encode(request).finish();
90
- const promise = this.rpc.request("wasmx.wasmx.v1.Msg", "ExecuteDelegateContract", data);
90
+ const promise = this.rpc.request("mythos.wasmx.v1.Msg", "ExecuteDelegateContract", data);
91
91
  return promise.then(data => MsgExecuteDelegateContractResponse.decode(new _m0.Reader(data)));
92
92
  }
93
93
 
94
94
  compileContract(request: MsgCompileContract): Promise<MsgCompileContractResponse> {
95
95
  const data = MsgCompileContract.encode(request).finish();
96
- const promise = this.rpc.request("wasmx.wasmx.v1.Msg", "CompileContract", data);
96
+ const promise = this.rpc.request("mythos.wasmx.v1.Msg", "CompileContract", data);
97
97
  return promise.then(data => MsgCompileContractResponse.decode(new _m0.Reader(data)));
98
98
  }
99
99
 
@@ -42,25 +42,25 @@ export class QueryClientImpl implements Query {
42
42
 
43
43
  httpGet(request: QueryHttpRequestGet): Promise<QueryHttpResponseGet> {
44
44
  const data = QueryHttpRequestGet.encode(request).finish();
45
- const promise = this.rpc.request("wasmx.websrv.v1.Query", "HttpGet", data);
45
+ const promise = this.rpc.request("mythos.websrv.v1.Query", "HttpGet", data);
46
46
  return promise.then(data => QueryHttpResponseGet.decode(new _m0.Reader(data)));
47
47
  }
48
48
 
49
49
  contractByRoute(request: QueryContractByRouteRequest): Promise<QueryContractByRouteResponse> {
50
50
  const data = QueryContractByRouteRequest.encode(request).finish();
51
- const promise = this.rpc.request("wasmx.websrv.v1.Query", "ContractByRoute", data);
51
+ const promise = this.rpc.request("mythos.websrv.v1.Query", "ContractByRoute", data);
52
52
  return promise.then(data => QueryContractByRouteResponse.decode(new _m0.Reader(data)));
53
53
  }
54
54
 
55
55
  routeByContract(request: QueryRouteByContractRequest): Promise<QueryRouteByContractResponse> {
56
56
  const data = QueryRouteByContractRequest.encode(request).finish();
57
- const promise = this.rpc.request("wasmx.websrv.v1.Query", "RouteByContract", data);
57
+ const promise = this.rpc.request("mythos.websrv.v1.Query", "RouteByContract", data);
58
58
  return promise.then(data => QueryRouteByContractResponse.decode(new _m0.Reader(data)));
59
59
  }
60
60
 
61
61
  params(request: QueryParamsRequest = {}): Promise<QueryParamsResponse> {
62
62
  const data = QueryParamsRequest.encode(request).finish();
63
- const promise = this.rpc.request("wasmx.websrv.v1.Query", "Params", data);
63
+ const promise = this.rpc.request("mythos.websrv.v1.Query", "Params", data);
64
64
  return promise.then(data => QueryParamsResponse.decode(new _m0.Reader(data)));
65
65
  }
66
66
 
@@ -68,19 +68,19 @@ export class QueryClientImpl implements Query {
68
68
  pagination: undefined
69
69
  }): Promise<QueryGetAllOauthClientsResponse> {
70
70
  const data = QueryGetAllOauthClientsRequest.encode(request).finish();
71
- const promise = this.rpc.request("wasmx.websrv.v1.Query", "GetAllOauthClients", data);
71
+ const promise = this.rpc.request("mythos.websrv.v1.Query", "GetAllOauthClients", data);
72
72
  return promise.then(data => QueryGetAllOauthClientsResponse.decode(new _m0.Reader(data)));
73
73
  }
74
74
 
75
75
  getOauthClient(request: QueryGetOauthClientRequest): Promise<QueryGetOauthClientResponse> {
76
76
  const data = QueryGetOauthClientRequest.encode(request).finish();
77
- const promise = this.rpc.request("wasmx.websrv.v1.Query", "GetOauthClient", data);
77
+ const promise = this.rpc.request("mythos.websrv.v1.Query", "GetOauthClient", data);
78
78
  return promise.then(data => QueryGetOauthClientResponse.decode(new _m0.Reader(data)));
79
79
  }
80
80
 
81
81
  getOauthClientsByOwner(request: QueryGetOauthClientsByOwnerRequest): Promise<QueryGetOauthClientsByOwnerResponse> {
82
82
  const data = QueryGetOauthClientsByOwnerRequest.encode(request).finish();
83
- const promise = this.rpc.request("wasmx.websrv.v1.Query", "GetOauthClientsByOwner", data);
83
+ const promise = this.rpc.request("mythos.websrv.v1.Query", "GetOauthClientsByOwner", data);
84
84
  return promise.then(data => QueryGetOauthClientsByOwnerResponse.decode(new _m0.Reader(data)));
85
85
  }
86
86
 
@@ -2,14 +2,14 @@ import { AminoMsg } from "@cosmjs/amino";
2
2
  import { Long } from "../../../helpers";
3
3
  import { MsgRegisterOAuthClient, MsgEditOAuthClient, MsgDeregisterOAuthClient } from "./tx";
4
4
  export interface AminoMsgRegisterOAuthClient extends AminoMsg {
5
- type: "/wasmx.websrv.v1.MsgRegisterOAuthClient";
5
+ type: "/mythos.websrv.v1.MsgRegisterOAuthClient";
6
6
  value: {
7
7
  owner: string;
8
8
  domain: string;
9
9
  };
10
10
  }
11
11
  export interface AminoMsgEditOAuthClient extends AminoMsg {
12
- type: "/wasmx.websrv.v1.MsgEditOAuthClient";
12
+ type: "/mythos.websrv.v1.MsgEditOAuthClient";
13
13
  value: {
14
14
  owner: string;
15
15
  client_id: string;
@@ -17,15 +17,15 @@ export interface AminoMsgEditOAuthClient extends AminoMsg {
17
17
  };
18
18
  }
19
19
  export interface AminoMsgDeregisterOAuthClient extends AminoMsg {
20
- type: "/wasmx.websrv.v1.MsgDeregisterOAuthClient";
20
+ type: "/mythos.websrv.v1.MsgDeregisterOAuthClient";
21
21
  value: {
22
22
  owner: string;
23
23
  client_id: string;
24
24
  };
25
25
  }
26
26
  export const AminoConverter = {
27
- "/wasmx.websrv.v1.MsgRegisterOAuthClient": {
28
- aminoType: "/wasmx.websrv.v1.MsgRegisterOAuthClient",
27
+ "/mythos.websrv.v1.MsgRegisterOAuthClient": {
28
+ aminoType: "/mythos.websrv.v1.MsgRegisterOAuthClient",
29
29
  toAmino: ({
30
30
  owner,
31
31
  domain
@@ -45,8 +45,8 @@ export const AminoConverter = {
45
45
  };
46
46
  }
47
47
  },
48
- "/wasmx.websrv.v1.MsgEditOAuthClient": {
49
- aminoType: "/wasmx.websrv.v1.MsgEditOAuthClient",
48
+ "/mythos.websrv.v1.MsgEditOAuthClient": {
49
+ aminoType: "/mythos.websrv.v1.MsgEditOAuthClient",
50
50
  toAmino: ({
51
51
  owner,
52
52
  clientId,
@@ -70,8 +70,8 @@ export const AminoConverter = {
70
70
  };
71
71
  }
72
72
  },
73
- "/wasmx.websrv.v1.MsgDeregisterOAuthClient": {
74
- aminoType: "/wasmx.websrv.v1.MsgDeregisterOAuthClient",
73
+ "/mythos.websrv.v1.MsgDeregisterOAuthClient": {
74
+ aminoType: "/mythos.websrv.v1.MsgDeregisterOAuthClient",
75
75
  toAmino: ({
76
76
  owner,
77
77
  clientId