juno-network 0.8.0 → 0.9.0
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/JunoSwap.client.js +1 -1
- package/main/codegen/cosmos/authz/v1beta1/{query.rpc.query.js → query.rpc.Query.js} +0 -0
- package/main/codegen/cosmos/bank/v1beta1/{query.rpc.query.js → query.rpc.Query.js} +0 -0
- package/main/codegen/cosmos/bundle.js +8 -8
- package/main/codegen/cosmos/distribution/v1beta1/{query.rpc.query.js → query.rpc.Query.js} +0 -0
- package/main/codegen/cosmos/gov/v1/{query.rpc.query.js → query.rpc.Query.js} +0 -0
- package/main/codegen/cosmos/gov/v1beta1/{query.rpc.query.js → query.rpc.Query.js} +0 -0
- package/main/codegen/cosmos/rpc.query.js +8 -8
- package/main/codegen/cosmos/staking/v1beta1/{query.rpc.query.js → query.rpc.Query.js} +0 -0
- package/main/codegen/cosmos/staking/v1beta1/tx.amino.js +4 -4
- package/main/codegen/cosmos/tx/v1beta1/{service.rpc.svc.js → service.rpc.Service.js} +8 -8
- package/main/codegen/cosmos/upgrade/v1beta1/{query.rpc.query.js → query.rpc.Query.js} +0 -0
- package/main/codegen/cosmwasm/bundle.js +1 -1
- package/main/codegen/cosmwasm/rpc.query.js +9 -9
- package/main/codegen/cosmwasm/wasm/v1/{query.rpc.query.js → query.rpc.Query.js} +0 -0
- package/main/codegen/google/protobuf/descriptor.js +18 -18
- package/main/codegen/helpers.js +29 -18
- package/main/codegen/ibc/applications/transfer/v1/{query.rpc.query.js → query.rpc.Query.js} +0 -0
- package/main/codegen/ibc/applications/transfer/v1/tx.amino.js +1 -1
- package/main/codegen/ibc/bundle.js +4 -4
- package/main/codegen/ibc/core/channel/v1/{query.rpc.query.js → query.rpc.Query.js} +0 -0
- package/main/codegen/ibc/core/client/v1/{query.rpc.query.js → query.rpc.Query.js} +0 -0
- package/main/codegen/ibc/core/connection/v1/{query.rpc.query.js → query.rpc.Query.js} +0 -0
- package/main/codegen/ibc/rpc.query.js +12 -12
- package/main/codegen/juno/bundle.js +1 -1
- package/main/codegen/juno/mint/{query.rpc.query.js → query.rpc.Query.js} +0 -0
- package/main/codegen/juno/rpc.query.js +9 -9
- package/module/codegen/JunoSwap.client.js +1 -1
- package/module/codegen/contracts.js +1 -1
- package/module/codegen/cosmos/authz/v1beta1/{query.rpc.query.js → query.rpc.Query.js} +0 -0
- package/module/codegen/cosmos/bank/v1beta1/{query.rpc.query.js → query.rpc.Query.js} +0 -0
- package/module/codegen/cosmos/bundle.js +8 -8
- package/module/codegen/cosmos/distribution/v1beta1/{query.rpc.query.js → query.rpc.Query.js} +0 -0
- package/module/codegen/cosmos/gov/v1/{query.rpc.query.js → query.rpc.Query.js} +0 -0
- package/module/codegen/cosmos/gov/v1beta1/{query.rpc.query.js → query.rpc.Query.js} +0 -0
- package/module/codegen/cosmos/rpc.query.js +8 -8
- package/module/codegen/cosmos/staking/v1beta1/{query.rpc.query.js → query.rpc.Query.js} +0 -0
- package/module/codegen/cosmos/staking/v1beta1/tx.amino.js +4 -4
- package/module/codegen/cosmos/tx/v1beta1/{service.rpc.svc.js → service.rpc.Service.js} +2 -2
- package/module/codegen/cosmos/upgrade/v1beta1/{query.rpc.query.js → query.rpc.Query.js} +0 -0
- package/module/codegen/cosmwasm/bundle.js +1 -1
- package/module/codegen/cosmwasm/rpc.query.js +9 -9
- package/module/codegen/cosmwasm/wasm/v1/{query.rpc.query.js → query.rpc.Query.js} +0 -0
- package/module/codegen/google/protobuf/descriptor.js +18 -18
- package/module/codegen/helpers.js +18 -10
- package/module/codegen/ibc/applications/transfer/v1/{query.rpc.query.js → query.rpc.Query.js} +0 -0
- package/module/codegen/ibc/applications/transfer/v1/tx.amino.js +1 -1
- package/module/codegen/ibc/bundle.js +4 -4
- package/module/codegen/ibc/core/channel/v1/{query.rpc.query.js → query.rpc.Query.js} +0 -0
- package/module/codegen/ibc/core/client/v1/{query.rpc.query.js → query.rpc.Query.js} +0 -0
- package/module/codegen/ibc/core/connection/v1/{query.rpc.query.js → query.rpc.Query.js} +0 -0
- package/module/codegen/ibc/rpc.query.js +12 -12
- package/module/codegen/index.js +1 -1
- package/module/codegen/juno/bundle.js +1 -1
- package/module/codegen/juno/mint/{query.rpc.query.js → query.rpc.Query.js} +0 -0
- package/module/codegen/juno/rpc.query.js +9 -9
- package/package.json +3 -3
- package/src/codegen/JunoSwap.client.ts +1 -1
- package/src/codegen/JunoSwap.types.ts +1 -1
- package/src/codegen/contracts.ts +1 -1
- package/src/codegen/cosmos/authz/v1beta1/{query.rpc.query.ts → query.rpc.Query.ts} +0 -0
- package/src/codegen/cosmos/bank/v1beta1/{query.rpc.query.ts → query.rpc.Query.ts} +0 -0
- package/src/codegen/cosmos/bundle.ts +8 -8
- package/src/codegen/cosmos/distribution/v1beta1/{query.rpc.query.ts → query.rpc.Query.ts} +0 -0
- package/src/codegen/cosmos/gov/v1/{query.rpc.query.ts → query.rpc.Query.ts} +0 -0
- package/src/codegen/cosmos/gov/v1beta1/{query.rpc.query.ts → query.rpc.Query.ts} +0 -0
- package/src/codegen/cosmos/rpc.query.ts +8 -8
- package/src/codegen/cosmos/staking/v1beta1/{query.rpc.query.ts → query.rpc.Query.ts} +0 -0
- package/src/codegen/cosmos/staking/v1beta1/tx.amino.ts +4 -4
- package/src/codegen/cosmos/tx/v1beta1/{service.rpc.svc.ts → service.rpc.Service.ts} +2 -2
- package/src/codegen/cosmos/upgrade/v1beta1/{query.rpc.query.ts → query.rpc.Query.ts} +0 -0
- package/src/codegen/cosmwasm/bundle.ts +1 -1
- package/src/codegen/cosmwasm/rpc.query.ts +9 -9
- package/src/codegen/cosmwasm/wasm/v1/{query.rpc.query.ts → query.rpc.Query.ts} +0 -0
- package/src/codegen/google/protobuf/descriptor.ts +18 -18
- package/src/codegen/helpers.ts +24 -16
- package/src/codegen/ibc/applications/transfer/v1/{query.rpc.query.ts → query.rpc.Query.ts} +0 -0
- package/src/codegen/ibc/applications/transfer/v1/tx.amino.ts +1 -1
- package/src/codegen/ibc/bundle.ts +4 -4
- package/src/codegen/ibc/core/channel/v1/{query.rpc.query.ts → query.rpc.Query.ts} +0 -0
- package/src/codegen/ibc/core/client/v1/{query.rpc.query.ts → query.rpc.Query.ts} +0 -0
- package/src/codegen/ibc/core/connection/v1/{query.rpc.query.ts → query.rpc.Query.ts} +0 -0
- package/src/codegen/ibc/rpc.query.ts +12 -12
- package/src/codegen/index.ts +1 -1
- package/src/codegen/juno/bundle.ts +1 -1
- package/src/codegen/juno/mint/{query.rpc.query.ts → query.rpc.Query.ts} +0 -0
- package/src/codegen/juno/rpc.query.ts +9 -9
- package/types/codegen/JunoSwap.client.d.ts +1 -1
- package/types/codegen/JunoSwap.types.d.ts +1 -1
- package/types/codegen/contracts.d.ts +1 -1
- package/types/codegen/cosmos/authz/v1beta1/{query.rpc.query.d.ts → query.rpc.Query.d.ts} +0 -0
- package/types/codegen/cosmos/bank/v1beta1/{query.rpc.query.d.ts → query.rpc.Query.d.ts} +0 -0
- package/types/codegen/cosmos/bundle.d.ts +281 -19593
- package/types/codegen/cosmos/distribution/v1beta1/{query.rpc.query.d.ts → query.rpc.Query.d.ts} +0 -0
- package/types/codegen/cosmos/gov/v1/{query.rpc.query.d.ts → query.rpc.Query.d.ts} +0 -0
- package/types/codegen/cosmos/gov/v1beta1/{query.rpc.query.d.ts → query.rpc.Query.d.ts} +0 -0
- package/types/codegen/cosmos/staking/v1beta1/{query.rpc.query.d.ts → query.rpc.Query.d.ts} +0 -0
- package/types/codegen/cosmos/tx/v1beta1/{service.rpc.svc.d.ts → service.rpc.Service.d.ts} +1 -1
- package/types/codegen/cosmos/upgrade/v1beta1/{query.rpc.query.d.ts → query.rpc.Query.d.ts} +0 -0
- package/types/codegen/cosmwasm/bundle.d.ts +59 -4177
- package/types/codegen/cosmwasm/wasm/v1/{query.rpc.query.d.ts → query.rpc.Query.d.ts} +0 -0
- package/types/codegen/google/bundle.d.ts +106 -7632
- package/types/codegen/helpers.d.ts +3 -3
- package/types/codegen/ibc/applications/transfer/v1/{query.rpc.query.d.ts → query.rpc.Query.d.ts} +0 -0
- package/types/codegen/ibc/bundle.d.ts +257 -18220
- package/types/codegen/ibc/core/channel/v1/{query.rpc.query.d.ts → query.rpc.Query.d.ts} +0 -0
- package/types/codegen/ibc/core/client/v1/{query.rpc.query.d.ts → query.rpc.Query.d.ts} +0 -0
- package/types/codegen/ibc/core/connection/v1/{query.rpc.query.d.ts → query.rpc.Query.d.ts} +0 -0
- package/types/codegen/index.d.ts +1 -1
- package/types/codegen/juno/bundle.d.ts +8 -505
- package/types/codegen/juno/mint/{query.rpc.query.d.ts → query.rpc.Query.d.ts} +0 -0
- package/types/codegen/tendermint/bundle.d.ts +248 -17856
|
@@ -8,43 +8,43 @@ export const createRPCQueryClient = async ({
|
|
|
8
8
|
return {
|
|
9
9
|
cosmos: {
|
|
10
10
|
authz: {
|
|
11
|
-
v1beta1: (await import("../cosmos/authz/v1beta1/query.rpc.
|
|
11
|
+
v1beta1: (await import("../cosmos/authz/v1beta1/query.rpc.Query")).createRpcQueryExtension(client)
|
|
12
12
|
},
|
|
13
13
|
bank: {
|
|
14
|
-
v1beta1: (await import("../cosmos/bank/v1beta1/query.rpc.
|
|
14
|
+
v1beta1: (await import("../cosmos/bank/v1beta1/query.rpc.Query")).createRpcQueryExtension(client)
|
|
15
15
|
},
|
|
16
16
|
distribution: {
|
|
17
|
-
v1beta1: (await import("../cosmos/distribution/v1beta1/query.rpc.
|
|
17
|
+
v1beta1: (await import("../cosmos/distribution/v1beta1/query.rpc.Query")).createRpcQueryExtension(client)
|
|
18
18
|
},
|
|
19
19
|
gov: {
|
|
20
|
-
v1: (await import("../cosmos/gov/v1/query.rpc.
|
|
21
|
-
v1beta1: (await import("../cosmos/gov/v1beta1/query.rpc.
|
|
20
|
+
v1: (await import("../cosmos/gov/v1/query.rpc.Query")).createRpcQueryExtension(client),
|
|
21
|
+
v1beta1: (await import("../cosmos/gov/v1beta1/query.rpc.Query")).createRpcQueryExtension(client)
|
|
22
22
|
},
|
|
23
23
|
staking: {
|
|
24
|
-
v1beta1: (await import("../cosmos/staking/v1beta1/query.rpc.
|
|
24
|
+
v1beta1: (await import("../cosmos/staking/v1beta1/query.rpc.Query")).createRpcQueryExtension(client)
|
|
25
25
|
},
|
|
26
26
|
tx: {
|
|
27
|
-
v1beta1: (await import("../cosmos/tx/v1beta1/service.rpc.
|
|
27
|
+
v1beta1: (await import("../cosmos/tx/v1beta1/service.rpc.Service")).createRpcQueryExtension(client)
|
|
28
28
|
},
|
|
29
29
|
upgrade: {
|
|
30
|
-
v1beta1: (await import("../cosmos/upgrade/v1beta1/query.rpc.
|
|
30
|
+
v1beta1: (await import("../cosmos/upgrade/v1beta1/query.rpc.Query")).createRpcQueryExtension(client)
|
|
31
31
|
}
|
|
32
32
|
},
|
|
33
33
|
ibc: {
|
|
34
34
|
applications: {
|
|
35
35
|
transfer: {
|
|
36
|
-
v1: (await import("./applications/transfer/v1/query.rpc.
|
|
36
|
+
v1: (await import("./applications/transfer/v1/query.rpc.Query")).createRpcQueryExtension(client)
|
|
37
37
|
}
|
|
38
38
|
},
|
|
39
39
|
core: {
|
|
40
40
|
channel: {
|
|
41
|
-
v1: (await import("./core/channel/v1/query.rpc.
|
|
41
|
+
v1: (await import("./core/channel/v1/query.rpc.Query")).createRpcQueryExtension(client)
|
|
42
42
|
},
|
|
43
43
|
client: {
|
|
44
|
-
v1: (await import("./core/client/v1/query.rpc.
|
|
44
|
+
v1: (await import("./core/client/v1/query.rpc.Query")).createRpcQueryExtension(client)
|
|
45
45
|
},
|
|
46
46
|
connection: {
|
|
47
|
-
v1: (await import("./core/connection/v1/query.rpc.
|
|
47
|
+
v1: (await import("./core/connection/v1/query.rpc.Query")).createRpcQueryExtension(client)
|
|
48
48
|
}
|
|
49
49
|
}
|
|
50
50
|
}
|
package/module/codegen/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* This file and any referenced files were automatically generated by @osmonauts/telescope@0.
|
|
2
|
+
* This file and any referenced files were automatically generated by @osmonauts/telescope@0.73.1
|
|
3
3
|
* DO NOT MODIFY BY HAND. Instead, download the latest proto files for your chain
|
|
4
4
|
* and run the transpile command or yarn proto command to regenerate this bundle.
|
|
5
5
|
*/
|
|
@@ -5,7 +5,7 @@ import * as _79 from "./mint/genesis";
|
|
|
5
5
|
import * as _80 from "./mint/mint";
|
|
6
6
|
import * as _81 from "./mint/query";
|
|
7
7
|
import * as _153 from "./mint/query.lcd";
|
|
8
|
-
import * as _154 from "./mint/query.rpc.
|
|
8
|
+
import * as _154 from "./mint/query.rpc.Query";
|
|
9
9
|
import * as _164 from "./lcd";
|
|
10
10
|
import * as _165 from "./rpc.query";
|
|
11
11
|
export let juno;
|
|
File without changes
|
|
@@ -8,30 +8,30 @@ export const createRPCQueryClient = async ({
|
|
|
8
8
|
return {
|
|
9
9
|
cosmos: {
|
|
10
10
|
authz: {
|
|
11
|
-
v1beta1: (await import("../cosmos/authz/v1beta1/query.rpc.
|
|
11
|
+
v1beta1: (await import("../cosmos/authz/v1beta1/query.rpc.Query")).createRpcQueryExtension(client)
|
|
12
12
|
},
|
|
13
13
|
bank: {
|
|
14
|
-
v1beta1: (await import("../cosmos/bank/v1beta1/query.rpc.
|
|
14
|
+
v1beta1: (await import("../cosmos/bank/v1beta1/query.rpc.Query")).createRpcQueryExtension(client)
|
|
15
15
|
},
|
|
16
16
|
distribution: {
|
|
17
|
-
v1beta1: (await import("../cosmos/distribution/v1beta1/query.rpc.
|
|
17
|
+
v1beta1: (await import("../cosmos/distribution/v1beta1/query.rpc.Query")).createRpcQueryExtension(client)
|
|
18
18
|
},
|
|
19
19
|
gov: {
|
|
20
|
-
v1: (await import("../cosmos/gov/v1/query.rpc.
|
|
21
|
-
v1beta1: (await import("../cosmos/gov/v1beta1/query.rpc.
|
|
20
|
+
v1: (await import("../cosmos/gov/v1/query.rpc.Query")).createRpcQueryExtension(client),
|
|
21
|
+
v1beta1: (await import("../cosmos/gov/v1beta1/query.rpc.Query")).createRpcQueryExtension(client)
|
|
22
22
|
},
|
|
23
23
|
staking: {
|
|
24
|
-
v1beta1: (await import("../cosmos/staking/v1beta1/query.rpc.
|
|
24
|
+
v1beta1: (await import("../cosmos/staking/v1beta1/query.rpc.Query")).createRpcQueryExtension(client)
|
|
25
25
|
},
|
|
26
26
|
tx: {
|
|
27
|
-
v1beta1: (await import("../cosmos/tx/v1beta1/service.rpc.
|
|
27
|
+
v1beta1: (await import("../cosmos/tx/v1beta1/service.rpc.Service")).createRpcQueryExtension(client)
|
|
28
28
|
},
|
|
29
29
|
upgrade: {
|
|
30
|
-
v1beta1: (await import("../cosmos/upgrade/v1beta1/query.rpc.
|
|
30
|
+
v1beta1: (await import("../cosmos/upgrade/v1beta1/query.rpc.Query")).createRpcQueryExtension(client)
|
|
31
31
|
}
|
|
32
32
|
},
|
|
33
33
|
juno: {
|
|
34
|
-
mint: (await import("./mint/query.rpc.
|
|
34
|
+
mint: (await import("./mint/query.rpc.Query")).createRpcQueryExtension(client)
|
|
35
35
|
}
|
|
36
36
|
};
|
|
37
37
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "juno-network",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.9.0",
|
|
4
4
|
"description": "juno",
|
|
5
5
|
"author": "Dan Lynch <pyramation@gmail.com>",
|
|
6
6
|
"homepage": "https://github.com/CosmosContracts/typescript#readme",
|
|
@@ -58,7 +58,7 @@
|
|
|
58
58
|
"@babel/plugin-transform-runtime": "7.19.1",
|
|
59
59
|
"@babel/preset-env": "7.19.4",
|
|
60
60
|
"@babel/preset-typescript": "^7.18.6",
|
|
61
|
-
"@osmonauts/telescope": "^0.
|
|
61
|
+
"@osmonauts/telescope": "^0.73.1",
|
|
62
62
|
"@protobufs/cosmos": "^0.0.11",
|
|
63
63
|
"@protobufs/cosmwasm": "^0.0.11",
|
|
64
64
|
"@protobufs/ibc": "^0.0.11",
|
|
@@ -90,5 +90,5 @@
|
|
|
90
90
|
"@osmonauts/lcd": "0.8.0",
|
|
91
91
|
"protobufjs": "^6.11.2"
|
|
92
92
|
},
|
|
93
|
-
"gitHead": "
|
|
93
|
+
"gitHead": "db8640469db65ee5fda15f9e33afb4b56370692b"
|
|
94
94
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* This file was automatically generated by @cosmwasm/ts-codegen@0.
|
|
2
|
+
* This file was automatically generated by @cosmwasm/ts-codegen@0.20.0.
|
|
3
3
|
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
|
|
4
4
|
* and run the @cosmwasm/ts-codegen generate command to regenerate this file.
|
|
5
5
|
*/
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* This file was automatically generated by @cosmwasm/ts-codegen@0.
|
|
2
|
+
* This file was automatically generated by @cosmwasm/ts-codegen@0.20.0.
|
|
3
3
|
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
|
|
4
4
|
* and run the @cosmwasm/ts-codegen generate command to regenerate this file.
|
|
5
5
|
*/
|
package/src/codegen/contracts.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* This file was automatically generated by @cosmwasm/ts-codegen@0.
|
|
2
|
+
* This file was automatically generated by @cosmwasm/ts-codegen@0.20.0.
|
|
3
3
|
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
|
|
4
4
|
* and run the @cosmwasm/ts-codegen generate command to regenerate this file.
|
|
5
5
|
*/
|
|
File without changes
|
|
File without changes
|
|
@@ -61,14 +61,14 @@ import * as _109 from "./gov/v1beta1/query.lcd";
|
|
|
61
61
|
import * as _110 from "./staking/v1beta1/query.lcd";
|
|
62
62
|
import * as _111 from "./tx/v1beta1/service.lcd";
|
|
63
63
|
import * as _112 from "./upgrade/v1beta1/query.lcd";
|
|
64
|
-
import * as _113 from "./authz/v1beta1/query.rpc.
|
|
65
|
-
import * as _114 from "./bank/v1beta1/query.rpc.
|
|
66
|
-
import * as _115 from "./distribution/v1beta1/query.rpc.
|
|
67
|
-
import * as _116 from "./gov/v1/query.rpc.
|
|
68
|
-
import * as _117 from "./gov/v1beta1/query.rpc.
|
|
69
|
-
import * as _118 from "./staking/v1beta1/query.rpc.
|
|
70
|
-
import * as _119 from "./tx/v1beta1/service.rpc.
|
|
71
|
-
import * as _120 from "./upgrade/v1beta1/query.rpc.
|
|
64
|
+
import * as _113 from "./authz/v1beta1/query.rpc.Query";
|
|
65
|
+
import * as _114 from "./bank/v1beta1/query.rpc.Query";
|
|
66
|
+
import * as _115 from "./distribution/v1beta1/query.rpc.Query";
|
|
67
|
+
import * as _116 from "./gov/v1/query.rpc.Query";
|
|
68
|
+
import * as _117 from "./gov/v1beta1/query.rpc.Query";
|
|
69
|
+
import * as _118 from "./staking/v1beta1/query.rpc.Query";
|
|
70
|
+
import * as _119 from "./tx/v1beta1/service.rpc.Service";
|
|
71
|
+
import * as _120 from "./upgrade/v1beta1/query.rpc.Query";
|
|
72
72
|
import * as _121 from "./authz/v1beta1/tx.rpc.msg";
|
|
73
73
|
import * as _122 from "./bank/v1beta1/tx.rpc.msg";
|
|
74
74
|
import * as _123 from "./distribution/v1beta1/tx.rpc.msg";
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -10,26 +10,26 @@ export const createRPCQueryClient = async ({
|
|
|
10
10
|
return {
|
|
11
11
|
cosmos: {
|
|
12
12
|
authz: {
|
|
13
|
-
v1beta1: (await import("./authz/v1beta1/query.rpc.
|
|
13
|
+
v1beta1: (await import("./authz/v1beta1/query.rpc.Query")).createRpcQueryExtension(client)
|
|
14
14
|
},
|
|
15
15
|
bank: {
|
|
16
|
-
v1beta1: (await import("./bank/v1beta1/query.rpc.
|
|
16
|
+
v1beta1: (await import("./bank/v1beta1/query.rpc.Query")).createRpcQueryExtension(client)
|
|
17
17
|
},
|
|
18
18
|
distribution: {
|
|
19
|
-
v1beta1: (await import("./distribution/v1beta1/query.rpc.
|
|
19
|
+
v1beta1: (await import("./distribution/v1beta1/query.rpc.Query")).createRpcQueryExtension(client)
|
|
20
20
|
},
|
|
21
21
|
gov: {
|
|
22
|
-
v1: (await import("./gov/v1/query.rpc.
|
|
23
|
-
v1beta1: (await import("./gov/v1beta1/query.rpc.
|
|
22
|
+
v1: (await import("./gov/v1/query.rpc.Query")).createRpcQueryExtension(client),
|
|
23
|
+
v1beta1: (await import("./gov/v1beta1/query.rpc.Query")).createRpcQueryExtension(client)
|
|
24
24
|
},
|
|
25
25
|
staking: {
|
|
26
|
-
v1beta1: (await import("./staking/v1beta1/query.rpc.
|
|
26
|
+
v1beta1: (await import("./staking/v1beta1/query.rpc.Query")).createRpcQueryExtension(client)
|
|
27
27
|
},
|
|
28
28
|
tx: {
|
|
29
|
-
v1beta1: (await import("./tx/v1beta1/service.rpc.
|
|
29
|
+
v1beta1: (await import("./tx/v1beta1/service.rpc.Service")).createRpcQueryExtension(client)
|
|
30
30
|
},
|
|
31
31
|
upgrade: {
|
|
32
|
-
v1beta1: (await import("./upgrade/v1beta1/query.rpc.
|
|
32
|
+
v1beta1: (await import("./upgrade/v1beta1/query.rpc.Query")).createRpcQueryExtension(client)
|
|
33
33
|
}
|
|
34
34
|
}
|
|
35
35
|
};
|
|
File without changes
|
|
@@ -113,7 +113,7 @@ export const AminoConverter = {
|
|
|
113
113
|
},
|
|
114
114
|
value: {
|
|
115
115
|
denom: value.denom,
|
|
116
|
-
amount: Long.
|
|
116
|
+
amount: Long.fromValue(value.amount).toString()
|
|
117
117
|
}
|
|
118
118
|
};
|
|
119
119
|
},
|
|
@@ -206,7 +206,7 @@ export const AminoConverter = {
|
|
|
206
206
|
validator_address: validatorAddress,
|
|
207
207
|
amount: {
|
|
208
208
|
denom: amount.denom,
|
|
209
|
-
amount: Long.
|
|
209
|
+
amount: Long.fromValue(amount.amount).toString()
|
|
210
210
|
}
|
|
211
211
|
};
|
|
212
212
|
},
|
|
@@ -239,7 +239,7 @@ export const AminoConverter = {
|
|
|
239
239
|
validator_dst_address: validatorDstAddress,
|
|
240
240
|
amount: {
|
|
241
241
|
denom: amount.denom,
|
|
242
|
-
amount: Long.
|
|
242
|
+
amount: Long.fromValue(amount.amount).toString()
|
|
243
243
|
}
|
|
244
244
|
};
|
|
245
245
|
},
|
|
@@ -272,7 +272,7 @@ export const AminoConverter = {
|
|
|
272
272
|
validator_address: validatorAddress,
|
|
273
273
|
amount: {
|
|
274
274
|
denom: amount.denom,
|
|
275
|
-
amount: Long.
|
|
275
|
+
amount: Long.fromValue(amount.amount).toString()
|
|
276
276
|
}
|
|
277
277
|
};
|
|
278
278
|
},
|
|
@@ -24,7 +24,7 @@ export interface Service {
|
|
|
24
24
|
|
|
25
25
|
getBlockWithTxs(request: GetBlockWithTxsRequest): Promise<GetBlockWithTxsResponse>;
|
|
26
26
|
}
|
|
27
|
-
export class
|
|
27
|
+
export class ServiceClientImpl implements Service {
|
|
28
28
|
private readonly rpc: Rpc;
|
|
29
29
|
|
|
30
30
|
constructor(rpc: Rpc) {
|
|
@@ -69,7 +69,7 @@ export class QueryClientImpl implements Service {
|
|
|
69
69
|
}
|
|
70
70
|
export const createRpcQueryExtension = (base: QueryClient) => {
|
|
71
71
|
const rpc = createProtobufRpcClient(base);
|
|
72
|
-
const queryService = new
|
|
72
|
+
const queryService = new ServiceClientImpl(rpc);
|
|
73
73
|
return {
|
|
74
74
|
simulate(request: SimulateRequest): Promise<SimulateResponse> {
|
|
75
75
|
return queryService.simulate(request);
|
|
File without changes
|
|
@@ -7,7 +7,7 @@ import * as _50 from "./wasm/v1/types";
|
|
|
7
7
|
import * as _128 from "./wasm/v1/tx.amino";
|
|
8
8
|
import * as _129 from "./wasm/v1/tx.registry";
|
|
9
9
|
import * as _130 from "./wasm/v1/query.lcd";
|
|
10
|
-
import * as _131 from "./wasm/v1/query.rpc.
|
|
10
|
+
import * as _131 from "./wasm/v1/query.rpc.Query";
|
|
11
11
|
import * as _132 from "./wasm/v1/tx.rpc.msg";
|
|
12
12
|
import * as _158 from "./lcd";
|
|
13
13
|
import * as _159 from "./rpc.query";
|
|
@@ -10,31 +10,31 @@ export const createRPCQueryClient = async ({
|
|
|
10
10
|
return {
|
|
11
11
|
cosmos: {
|
|
12
12
|
authz: {
|
|
13
|
-
v1beta1: (await import("../cosmos/authz/v1beta1/query.rpc.
|
|
13
|
+
v1beta1: (await import("../cosmos/authz/v1beta1/query.rpc.Query")).createRpcQueryExtension(client)
|
|
14
14
|
},
|
|
15
15
|
bank: {
|
|
16
|
-
v1beta1: (await import("../cosmos/bank/v1beta1/query.rpc.
|
|
16
|
+
v1beta1: (await import("../cosmos/bank/v1beta1/query.rpc.Query")).createRpcQueryExtension(client)
|
|
17
17
|
},
|
|
18
18
|
distribution: {
|
|
19
|
-
v1beta1: (await import("../cosmos/distribution/v1beta1/query.rpc.
|
|
19
|
+
v1beta1: (await import("../cosmos/distribution/v1beta1/query.rpc.Query")).createRpcQueryExtension(client)
|
|
20
20
|
},
|
|
21
21
|
gov: {
|
|
22
|
-
v1: (await import("../cosmos/gov/v1/query.rpc.
|
|
23
|
-
v1beta1: (await import("../cosmos/gov/v1beta1/query.rpc.
|
|
22
|
+
v1: (await import("../cosmos/gov/v1/query.rpc.Query")).createRpcQueryExtension(client),
|
|
23
|
+
v1beta1: (await import("../cosmos/gov/v1beta1/query.rpc.Query")).createRpcQueryExtension(client)
|
|
24
24
|
},
|
|
25
25
|
staking: {
|
|
26
|
-
v1beta1: (await import("../cosmos/staking/v1beta1/query.rpc.
|
|
26
|
+
v1beta1: (await import("../cosmos/staking/v1beta1/query.rpc.Query")).createRpcQueryExtension(client)
|
|
27
27
|
},
|
|
28
28
|
tx: {
|
|
29
|
-
v1beta1: (await import("../cosmos/tx/v1beta1/service.rpc.
|
|
29
|
+
v1beta1: (await import("../cosmos/tx/v1beta1/service.rpc.Service")).createRpcQueryExtension(client)
|
|
30
30
|
},
|
|
31
31
|
upgrade: {
|
|
32
|
-
v1beta1: (await import("../cosmos/upgrade/v1beta1/query.rpc.
|
|
32
|
+
v1beta1: (await import("../cosmos/upgrade/v1beta1/query.rpc.Query")).createRpcQueryExtension(client)
|
|
33
33
|
}
|
|
34
34
|
},
|
|
35
35
|
cosmwasm: {
|
|
36
36
|
wasm: {
|
|
37
|
-
v1: (await import("./wasm/v1/query.rpc.
|
|
37
|
+
v1: (await import("./wasm/v1/query.rpc.Query")).createRpcQueryExtension(client)
|
|
38
38
|
}
|
|
39
39
|
}
|
|
40
40
|
};
|
|
File without changes
|
|
@@ -2603,8 +2603,8 @@ function createBaseFieldDescriptorProto(): FieldDescriptorProto {
|
|
|
2603
2603
|
return {
|
|
2604
2604
|
name: "",
|
|
2605
2605
|
number: 0,
|
|
2606
|
-
label:
|
|
2607
|
-
type:
|
|
2606
|
+
label: 1,
|
|
2607
|
+
type: 1,
|
|
2608
2608
|
typeName: "",
|
|
2609
2609
|
extendee: "",
|
|
2610
2610
|
defaultValue: "",
|
|
@@ -2624,11 +2624,11 @@ export const FieldDescriptorProto = {
|
|
|
2624
2624
|
writer.uint32(24).int32(message.number);
|
|
2625
2625
|
}
|
|
2626
2626
|
|
|
2627
|
-
if (message.label !==
|
|
2627
|
+
if (message.label !== 1) {
|
|
2628
2628
|
writer.uint32(32).int32(message.label);
|
|
2629
2629
|
}
|
|
2630
2630
|
|
|
2631
|
-
if (message.type !==
|
|
2631
|
+
if (message.type !== 1) {
|
|
2632
2632
|
writer.uint32(40).int32(message.type);
|
|
2633
2633
|
}
|
|
2634
2634
|
|
|
@@ -2721,8 +2721,8 @@ export const FieldDescriptorProto = {
|
|
|
2721
2721
|
const message = createBaseFieldDescriptorProto();
|
|
2722
2722
|
message.name = object.name ?? "";
|
|
2723
2723
|
message.number = object.number ?? 0;
|
|
2724
|
-
message.label = object.label ??
|
|
2725
|
-
message.type = object.type ??
|
|
2724
|
+
message.label = object.label ?? 1;
|
|
2725
|
+
message.type = object.type ?? 1;
|
|
2726
2726
|
message.typeName = object.typeName ?? "";
|
|
2727
2727
|
message.extendee = object.extendee ?? "";
|
|
2728
2728
|
message.defaultValue = object.defaultValue ?? "";
|
|
@@ -3161,7 +3161,7 @@ function createBaseFileOptions(): FileOptions {
|
|
|
3161
3161
|
javaMultipleFiles: false,
|
|
3162
3162
|
javaGenerateEqualsAndHash: false,
|
|
3163
3163
|
javaStringCheckUtf8: false,
|
|
3164
|
-
optimizeFor:
|
|
3164
|
+
optimizeFor: 1,
|
|
3165
3165
|
goPackage: "",
|
|
3166
3166
|
ccGenericServices: false,
|
|
3167
3167
|
javaGenericServices: false,
|
|
@@ -3202,7 +3202,7 @@ export const FileOptions = {
|
|
|
3202
3202
|
writer.uint32(216).bool(message.javaStringCheckUtf8);
|
|
3203
3203
|
}
|
|
3204
3204
|
|
|
3205
|
-
if (message.optimizeFor !==
|
|
3205
|
+
if (message.optimizeFor !== 1) {
|
|
3206
3206
|
writer.uint32(72).int32(message.optimizeFor);
|
|
3207
3207
|
}
|
|
3208
3208
|
|
|
@@ -3378,7 +3378,7 @@ export const FileOptions = {
|
|
|
3378
3378
|
message.javaMultipleFiles = object.javaMultipleFiles ?? false;
|
|
3379
3379
|
message.javaGenerateEqualsAndHash = object.javaGenerateEqualsAndHash ?? false;
|
|
3380
3380
|
message.javaStringCheckUtf8 = object.javaStringCheckUtf8 ?? false;
|
|
3381
|
-
message.optimizeFor = object.optimizeFor ??
|
|
3381
|
+
message.optimizeFor = object.optimizeFor ?? 1;
|
|
3382
3382
|
message.goPackage = object.goPackage ?? "";
|
|
3383
3383
|
message.ccGenericServices = object.ccGenericServices ?? false;
|
|
3384
3384
|
message.javaGenericServices = object.javaGenericServices ?? false;
|
|
@@ -3486,9 +3486,9 @@ export const MessageOptions = {
|
|
|
3486
3486
|
|
|
3487
3487
|
function createBaseFieldOptions(): FieldOptions {
|
|
3488
3488
|
return {
|
|
3489
|
-
ctype:
|
|
3489
|
+
ctype: 1,
|
|
3490
3490
|
packed: false,
|
|
3491
|
-
jstype:
|
|
3491
|
+
jstype: 1,
|
|
3492
3492
|
lazy: false,
|
|
3493
3493
|
deprecated: false,
|
|
3494
3494
|
weak: false,
|
|
@@ -3498,7 +3498,7 @@ function createBaseFieldOptions(): FieldOptions {
|
|
|
3498
3498
|
|
|
3499
3499
|
export const FieldOptions = {
|
|
3500
3500
|
encode(message: FieldOptions, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
|
|
3501
|
-
if (message.ctype !==
|
|
3501
|
+
if (message.ctype !== 1) {
|
|
3502
3502
|
writer.uint32(8).int32(message.ctype);
|
|
3503
3503
|
}
|
|
3504
3504
|
|
|
@@ -3506,7 +3506,7 @@ export const FieldOptions = {
|
|
|
3506
3506
|
writer.uint32(16).bool(message.packed);
|
|
3507
3507
|
}
|
|
3508
3508
|
|
|
3509
|
-
if (message.jstype !==
|
|
3509
|
+
if (message.jstype !== 1) {
|
|
3510
3510
|
writer.uint32(48).int32(message.jstype);
|
|
3511
3511
|
}
|
|
3512
3512
|
|
|
@@ -3577,9 +3577,9 @@ export const FieldOptions = {
|
|
|
3577
3577
|
|
|
3578
3578
|
fromPartial(object: DeepPartial<FieldOptions>): FieldOptions {
|
|
3579
3579
|
const message = createBaseFieldOptions();
|
|
3580
|
-
message.ctype = object.ctype ??
|
|
3580
|
+
message.ctype = object.ctype ?? 1;
|
|
3581
3581
|
message.packed = object.packed ?? false;
|
|
3582
|
-
message.jstype = object.jstype ??
|
|
3582
|
+
message.jstype = object.jstype ?? 1;
|
|
3583
3583
|
message.lazy = object.lazy ?? false;
|
|
3584
3584
|
message.deprecated = object.deprecated ?? false;
|
|
3585
3585
|
message.weak = object.weak ?? false;
|
|
@@ -3812,7 +3812,7 @@ export const ServiceOptions = {
|
|
|
3812
3812
|
function createBaseMethodOptions(): MethodOptions {
|
|
3813
3813
|
return {
|
|
3814
3814
|
deprecated: false,
|
|
3815
|
-
idempotencyLevel:
|
|
3815
|
+
idempotencyLevel: 1,
|
|
3816
3816
|
uninterpretedOption: []
|
|
3817
3817
|
};
|
|
3818
3818
|
}
|
|
@@ -3823,7 +3823,7 @@ export const MethodOptions = {
|
|
|
3823
3823
|
writer.uint32(264).bool(message.deprecated);
|
|
3824
3824
|
}
|
|
3825
3825
|
|
|
3826
|
-
if (message.idempotencyLevel !==
|
|
3826
|
+
if (message.idempotencyLevel !== 1) {
|
|
3827
3827
|
writer.uint32(272).int32(message.idempotencyLevel);
|
|
3828
3828
|
}
|
|
3829
3829
|
|
|
@@ -3867,7 +3867,7 @@ export const MethodOptions = {
|
|
|
3867
3867
|
fromPartial(object: DeepPartial<MethodOptions>): MethodOptions {
|
|
3868
3868
|
const message = createBaseMethodOptions();
|
|
3869
3869
|
message.deprecated = object.deprecated ?? false;
|
|
3870
|
-
message.idempotencyLevel = object.idempotencyLevel ??
|
|
3870
|
+
message.idempotencyLevel = object.idempotencyLevel ?? 1;
|
|
3871
3871
|
message.uninterpretedOption = object.uninterpretedOption?.map(e => UninterpretedOption.fromPartial(e)) || [];
|
|
3872
3872
|
return message;
|
|
3873
3873
|
}
|
package/src/codegen/helpers.ts
CHANGED
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* This file and any referenced files were automatically generated by @osmonauts/telescope@0.
|
|
2
|
+
* This file and any referenced files were automatically generated by @osmonauts/telescope@0.73.1
|
|
3
3
|
* DO NOT MODIFY BY HAND. Instead, download the latest proto files for your chain
|
|
4
4
|
* and run the transpile command or yarn proto command to regenerate this bundle.
|
|
5
5
|
*/
|
|
6
6
|
|
|
7
7
|
import * as _m0 from "protobufjs/minimal";
|
|
8
|
-
import
|
|
8
|
+
import Long from 'long';
|
|
9
9
|
|
|
10
|
+
// @ts-ignore
|
|
10
11
|
if (_m0.util.Long !== Long) {
|
|
11
12
|
_m0.util.Long = (Long as any);
|
|
12
13
|
|
|
@@ -97,7 +98,7 @@ export function toDuration(duration: string): Duration {
|
|
|
97
98
|
};
|
|
98
99
|
|
|
99
100
|
export function fromDuration(duration: Duration): string {
|
|
100
|
-
return (parseInt(duration.seconds) * 1000000000 + duration.nanos).toString();
|
|
101
|
+
return (parseInt(duration.seconds.toString()) * 1000000000 + duration.nanos).toString();
|
|
101
102
|
};
|
|
102
103
|
|
|
103
104
|
export function isSet(value: any): boolean {
|
|
@@ -144,12 +145,12 @@ export const setPaginationParams = (options: Params, pagination?: PageRequest) =
|
|
|
144
145
|
// Uint8Array to String
|
|
145
146
|
options.params['pagination.key'] = Buffer.from(pagination.key).toString('base64');
|
|
146
147
|
}
|
|
147
|
-
if (typeof pagination?.offset !== "undefined") {
|
|
148
|
-
options.params['pagination.limit'] = Long.toString(pagination.limit);
|
|
149
|
-
}
|
|
150
148
|
if (typeof pagination?.limit !== "undefined") {
|
|
151
|
-
|
|
149
|
+
options.params["pagination.limit"] = pagination.limit.toString()
|
|
152
150
|
}
|
|
151
|
+
if (typeof pagination?.offset !== "undefined") {
|
|
152
|
+
options.params["pagination.offset"] = pagination.offset.toString()
|
|
153
|
+
}
|
|
153
154
|
if (typeof pagination?.reverse !== "undefined") {
|
|
154
155
|
options.params['pagination.reverse'] = pagination.reverse;
|
|
155
156
|
}
|
|
@@ -217,16 +218,23 @@ const fromJSON = (object: any): Timestamp => {
|
|
|
217
218
|
};
|
|
218
219
|
};
|
|
219
220
|
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
} else {
|
|
226
|
-
return fromTimestamp(fromJSON(o));
|
|
227
|
-
}
|
|
221
|
+
const timestampFromJSON = (object: any): Timestamp => {
|
|
222
|
+
return {
|
|
223
|
+
seconds: isSet(object.seconds) ? Long.fromValue(object.seconds) : Long.ZERO,
|
|
224
|
+
nanos: isSet(object.nanos) ? Number(object.nanos) : 0,
|
|
225
|
+
};
|
|
228
226
|
}
|
|
229
|
-
|
|
227
|
+
|
|
228
|
+
export function fromJsonTimestamp(o: any): Timestamp {
|
|
229
|
+
if (o instanceof Date) {
|
|
230
|
+
return toTimestamp(o);
|
|
231
|
+
} else if (typeof o === "string") {
|
|
232
|
+
return toTimestamp(new Date(o));
|
|
233
|
+
} else {
|
|
234
|
+
return timestampFromJSON(o);
|
|
235
|
+
}
|
|
236
|
+
}
|
|
237
|
+
|
|
230
238
|
function numberToLong(number: number) {
|
|
231
239
|
return Long.fromNumber(number);
|
|
232
240
|
}
|
|
File without changes
|
|
@@ -32,10 +32,10 @@ import * as _141 from "./applications/transfer/v1/query.lcd";
|
|
|
32
32
|
import * as _142 from "./core/channel/v1/query.lcd";
|
|
33
33
|
import * as _143 from "./core/client/v1/query.lcd";
|
|
34
34
|
import * as _144 from "./core/connection/v1/query.lcd";
|
|
35
|
-
import * as _145 from "./applications/transfer/v1/query.rpc.
|
|
36
|
-
import * as _146 from "./core/channel/v1/query.rpc.
|
|
37
|
-
import * as _147 from "./core/client/v1/query.rpc.
|
|
38
|
-
import * as _148 from "./core/connection/v1/query.rpc.
|
|
35
|
+
import * as _145 from "./applications/transfer/v1/query.rpc.Query";
|
|
36
|
+
import * as _146 from "./core/channel/v1/query.rpc.Query";
|
|
37
|
+
import * as _147 from "./core/client/v1/query.rpc.Query";
|
|
38
|
+
import * as _148 from "./core/connection/v1/query.rpc.Query";
|
|
39
39
|
import * as _149 from "./applications/transfer/v1/tx.rpc.msg";
|
|
40
40
|
import * as _150 from "./core/channel/v1/tx.rpc.msg";
|
|
41
41
|
import * as _151 from "./core/client/v1/tx.rpc.msg";
|
|
File without changes
|
|
File without changes
|
|
File without changes
|