@xpla/xplajs 1.8.0-rc.0 → 1.8.0-rc.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/esm/xpla/lcd.js +46 -5
- package/esm/xpla/rpc.query.js +30 -9
- package/esm/xpla/rpc.tx.js +30 -0
- package/package.json +7 -7
- package/xpla/lcd.d.ts +30 -3
- package/xpla/lcd.js +46 -5
- package/xpla/rpc.query.d.ts +100 -16
- package/xpla/rpc.query.js +30 -9
- package/xpla/rpc.tx.d.ts +30 -0
- package/xpla/rpc.tx.js +30 -0
- package/cosmos/lcd.d.ts +0 -65
- package/cosmos/lcd.js +0 -134
- package/cosmos/rpc.query.d.ts +0 -216
- package/cosmos/rpc.query.js +0 -102
- package/cosmos/rpc.tx.d.ts +0 -52
- package/cosmos/rpc.tx.js +0 -76
- package/cosmwasm/lcd.d.ts +0 -70
- package/cosmwasm/lcd.js +0 -141
- package/cosmwasm/rpc.query.d.ts +0 -236
- package/cosmwasm/rpc.query.js +0 -107
- package/cosmwasm/rpc.tx.d.ts +0 -57
- package/cosmwasm/rpc.tx.js +0 -81
- package/esm/cosmos/lcd.js +0 -107
- package/esm/cosmos/rpc.query.js +0 -75
- package/esm/cosmos/rpc.tx.js +0 -49
- package/esm/cosmwasm/lcd.js +0 -114
- package/esm/cosmwasm/rpc.query.js +0 -80
- package/esm/cosmwasm/rpc.tx.js +0 -54
- package/esm/ethermint/lcd.js +0 -119
- package/esm/ethermint/rpc.query.js +0 -83
- package/esm/ethermint/rpc.tx.js +0 -57
- package/esm/ibc/lcd.js +0 -158
- package/esm/ibc/rpc.query.js +0 -108
- package/esm/ibc/rpc.tx.js +0 -82
- package/ethermint/lcd.d.ts +0 -73
- package/ethermint/lcd.js +0 -146
- package/ethermint/rpc.query.d.ts +0 -241
- package/ethermint/rpc.query.js +0 -110
- package/ethermint/rpc.tx.d.ts +0 -60
- package/ethermint/rpc.tx.js +0 -84
- package/ibc/lcd.d.ts +0 -98
- package/ibc/lcd.js +0 -185
- package/ibc/rpc.query.d.ts +0 -310
- package/ibc/rpc.query.js +0 -135
- package/ibc/rpc.tx.d.ts +0 -85
- package/ibc/rpc.tx.js +0 -109
package/esm/xpla/lcd.js
CHANGED
|
@@ -77,11 +77,6 @@ export const createLCDClient = async ({ restEndpoint }) => {
|
|
|
77
77
|
requestClient
|
|
78
78
|
})
|
|
79
79
|
},
|
|
80
|
-
params: {
|
|
81
|
-
v1beta1: new (await import("../cosmos/params/v1beta1/query.lcd")).LCDQueryClient({
|
|
82
|
-
requestClient
|
|
83
|
-
})
|
|
84
|
-
},
|
|
85
80
|
slashing: {
|
|
86
81
|
v1beta1: new (await import("../cosmos/slashing/v1beta1/query.lcd")).LCDQueryClient({
|
|
87
82
|
requestClient
|
|
@@ -103,6 +98,52 @@ export const createLCDClient = async ({ restEndpoint }) => {
|
|
|
103
98
|
})
|
|
104
99
|
}
|
|
105
100
|
},
|
|
101
|
+
cosmwasm: {
|
|
102
|
+
wasm: {
|
|
103
|
+
v1: new (await import("../cosmwasm/wasm/v1/query.lcd")).LCDQueryClient({
|
|
104
|
+
requestClient
|
|
105
|
+
})
|
|
106
|
+
}
|
|
107
|
+
},
|
|
108
|
+
ibc: {
|
|
109
|
+
applications: {
|
|
110
|
+
interchain_accounts: {
|
|
111
|
+
host: {
|
|
112
|
+
v1: new (await import("../ibc/applications/interchain_accounts/host/v1/query.lcd")).LCDQueryClient({
|
|
113
|
+
requestClient
|
|
114
|
+
})
|
|
115
|
+
}
|
|
116
|
+
},
|
|
117
|
+
transfer: {
|
|
118
|
+
v1: new (await import("../ibc/applications/transfer/v1/query.lcd")).LCDQueryClient({
|
|
119
|
+
requestClient
|
|
120
|
+
})
|
|
121
|
+
}
|
|
122
|
+
},
|
|
123
|
+
core: {
|
|
124
|
+
channel: {
|
|
125
|
+
v1: new (await import("../ibc/core/channel/v1/query.lcd")).LCDQueryClient({
|
|
126
|
+
requestClient
|
|
127
|
+
}),
|
|
128
|
+
v2: new (await import("../ibc/core/channel/v2/query.lcd")).LCDQueryClient({
|
|
129
|
+
requestClient
|
|
130
|
+
})
|
|
131
|
+
},
|
|
132
|
+
client: {
|
|
133
|
+
v1: new (await import("../ibc/core/client/v1/query.lcd")).LCDQueryClient({
|
|
134
|
+
requestClient
|
|
135
|
+
}),
|
|
136
|
+
v2: new (await import("../ibc/core/client/v2/query.lcd")).LCDQueryClient({
|
|
137
|
+
requestClient
|
|
138
|
+
})
|
|
139
|
+
},
|
|
140
|
+
connection: {
|
|
141
|
+
v1: new (await import("../ibc/core/connection/v1/query.lcd")).LCDQueryClient({
|
|
142
|
+
requestClient
|
|
143
|
+
})
|
|
144
|
+
}
|
|
145
|
+
}
|
|
146
|
+
},
|
|
106
147
|
xpla: {
|
|
107
148
|
burn: {
|
|
108
149
|
v1beta1: new (await import("./burn/v1beta1/query.lcd")).LCDQueryClient({
|
package/esm/xpla/rpc.query.js
CHANGED
|
@@ -5,18 +5,12 @@ export const createRPCQueryClient = async ({ rpcEndpoint }) => {
|
|
|
5
5
|
const client = new QueryClient(tmClient);
|
|
6
6
|
return {
|
|
7
7
|
cosmos: {
|
|
8
|
-
app: {
|
|
9
|
-
v1alpha1: (await import("../cosmos/app/v1alpha1/query.rpc.Query")).createRpcQueryExtension(client)
|
|
10
|
-
},
|
|
11
8
|
auth: {
|
|
12
9
|
v1beta1: (await import("../cosmos/auth/v1beta1/query.rpc.Query")).createRpcQueryExtension(client)
|
|
13
10
|
},
|
|
14
11
|
authz: {
|
|
15
12
|
v1beta1: (await import("../cosmos/authz/v1beta1/query.rpc.Query")).createRpcQueryExtension(client)
|
|
16
13
|
},
|
|
17
|
-
autocli: {
|
|
18
|
-
v1: (await import("../cosmos/autocli/v1/query.rpc.Query")).createRpcQueryExtension(client)
|
|
19
|
-
},
|
|
20
14
|
bank: {
|
|
21
15
|
v1beta1: (await import("../cosmos/bank/v1beta1/query.rpc.Query")).createRpcQueryExtension(client)
|
|
22
16
|
},
|
|
@@ -55,9 +49,6 @@ export const createRPCQueryClient = async ({ rpcEndpoint }) => {
|
|
|
55
49
|
mint: {
|
|
56
50
|
v1beta1: (await import("../cosmos/mint/v1beta1/query.rpc.Query")).createRpcQueryExtension(client)
|
|
57
51
|
},
|
|
58
|
-
params: {
|
|
59
|
-
v1beta1: (await import("../cosmos/params/v1beta1/query.rpc.Query")).createRpcQueryExtension(client)
|
|
60
|
-
},
|
|
61
52
|
slashing: {
|
|
62
53
|
v1beta1: (await import("../cosmos/slashing/v1beta1/query.rpc.Query")).createRpcQueryExtension(client)
|
|
63
54
|
},
|
|
@@ -71,6 +62,36 @@ export const createRPCQueryClient = async ({ rpcEndpoint }) => {
|
|
|
71
62
|
v1beta1: (await import("../cosmos/upgrade/v1beta1/query.rpc.Query")).createRpcQueryExtension(client)
|
|
72
63
|
}
|
|
73
64
|
},
|
|
65
|
+
cosmwasm: {
|
|
66
|
+
wasm: {
|
|
67
|
+
v1: (await import("../cosmwasm/wasm/v1/query.rpc.Query")).createRpcQueryExtension(client)
|
|
68
|
+
}
|
|
69
|
+
},
|
|
70
|
+
ibc: {
|
|
71
|
+
applications: {
|
|
72
|
+
interchain_accounts: {
|
|
73
|
+
host: {
|
|
74
|
+
v1: (await import("../ibc/applications/interchain_accounts/host/v1/query.rpc.Query")).createRpcQueryExtension(client)
|
|
75
|
+
}
|
|
76
|
+
},
|
|
77
|
+
transfer: {
|
|
78
|
+
v1: (await import("../ibc/applications/transfer/v1/query.rpc.Query")).createRpcQueryExtension(client)
|
|
79
|
+
}
|
|
80
|
+
},
|
|
81
|
+
core: {
|
|
82
|
+
channel: {
|
|
83
|
+
v1: (await import("../ibc/core/channel/v1/query.rpc.Query")).createRpcQueryExtension(client),
|
|
84
|
+
v2: (await import("../ibc/core/channel/v2/query.rpc.Query")).createRpcQueryExtension(client)
|
|
85
|
+
},
|
|
86
|
+
client: {
|
|
87
|
+
v1: (await import("../ibc/core/client/v1/query.rpc.Query")).createRpcQueryExtension(client),
|
|
88
|
+
v2: (await import("../ibc/core/client/v2/query.rpc.Query")).createRpcQueryExtension(client)
|
|
89
|
+
},
|
|
90
|
+
connection: {
|
|
91
|
+
v1: (await import("../ibc/core/connection/v1/query.rpc.Query")).createRpcQueryExtension(client)
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
},
|
|
74
95
|
xpla: {
|
|
75
96
|
burn: {
|
|
76
97
|
v1beta1: (await import("./burn/v1beta1/query.rpc.Query")).createRpcQueryExtension(client)
|
package/esm/xpla/rpc.tx.js
CHANGED
|
@@ -46,6 +46,36 @@ export const createRPCMsgClient = async ({ rpc }) => ({
|
|
|
46
46
|
v1beta1: new (await import("../cosmos/upgrade/v1beta1/tx.rpc.msg")).MsgClientImpl(rpc)
|
|
47
47
|
}
|
|
48
48
|
},
|
|
49
|
+
cosmwasm: {
|
|
50
|
+
wasm: {
|
|
51
|
+
v1: new (await import("../cosmwasm/wasm/v1/tx.rpc.msg")).MsgClientImpl(rpc)
|
|
52
|
+
}
|
|
53
|
+
},
|
|
54
|
+
ibc: {
|
|
55
|
+
applications: {
|
|
56
|
+
interchain_accounts: {
|
|
57
|
+
host: {
|
|
58
|
+
v1: new (await import("../ibc/applications/interchain_accounts/host/v1/tx.rpc.msg")).MsgClientImpl(rpc)
|
|
59
|
+
}
|
|
60
|
+
},
|
|
61
|
+
transfer: {
|
|
62
|
+
v1: new (await import("../ibc/applications/transfer/v1/tx.rpc.msg")).MsgClientImpl(rpc)
|
|
63
|
+
}
|
|
64
|
+
},
|
|
65
|
+
core: {
|
|
66
|
+
channel: {
|
|
67
|
+
v1: new (await import("../ibc/core/channel/v1/tx.rpc.msg")).MsgClientImpl(rpc),
|
|
68
|
+
v2: new (await import("../ibc/core/channel/v2/tx.rpc.msg")).MsgClientImpl(rpc)
|
|
69
|
+
},
|
|
70
|
+
client: {
|
|
71
|
+
v1: new (await import("../ibc/core/client/v1/tx.rpc.msg")).MsgClientImpl(rpc),
|
|
72
|
+
v2: new (await import("../ibc/core/client/v2/tx.rpc.msg")).MsgClientImpl(rpc)
|
|
73
|
+
},
|
|
74
|
+
connection: {
|
|
75
|
+
v1: new (await import("../ibc/core/connection/v1/tx.rpc.msg")).MsgClientImpl(rpc)
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
},
|
|
49
79
|
xpla: {
|
|
50
80
|
burn: {
|
|
51
81
|
v1beta1: new (await import("./burn/v1beta1/tx.rpc.msg")).MsgClientImpl(rpc)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@xpla/xplajs",
|
|
3
|
-
"version": "1.8.0-rc.
|
|
3
|
+
"version": "1.8.0-rc.2",
|
|
4
4
|
"main": "index.js",
|
|
5
5
|
"module": "esm/index.js",
|
|
6
6
|
"author": "Joowon Yun <joowon@delightlabs.io>",
|
|
@@ -17,12 +17,12 @@
|
|
|
17
17
|
"dependencies": {
|
|
18
18
|
"@cosmjs/stargate": "^0.33.0",
|
|
19
19
|
"@cosmology/lcd": "^0.14.4",
|
|
20
|
-
"@interchainjs/cosmos": "
|
|
21
|
-
"@interchainjs/cosmos-types": "
|
|
22
|
-
"@interchainjs/encoding": "
|
|
23
|
-
"@interchainjs/pubkey": "
|
|
24
|
-
"@interchainjs/types": "
|
|
25
|
-
"@interchainjs/utils": "
|
|
20
|
+
"@interchainjs/cosmos": "1.16.1",
|
|
21
|
+
"@interchainjs/cosmos-types": "1.16.1",
|
|
22
|
+
"@interchainjs/encoding": "1.16.1",
|
|
23
|
+
"@interchainjs/pubkey": "1.16.1",
|
|
24
|
+
"@interchainjs/types": "1.16.1",
|
|
25
|
+
"@interchainjs/utils": "1.16.1",
|
|
26
26
|
"@noble/hashes": "^1.3.1",
|
|
27
27
|
"decimal.js": "^10.4.3"
|
|
28
28
|
},
|
package/xpla/lcd.d.ts
CHANGED
|
@@ -46,9 +46,6 @@ export declare const createLCDClient: ({ restEndpoint }: {
|
|
|
46
46
|
mint: {
|
|
47
47
|
v1beta1: import("../cosmos/mint/v1beta1/query.lcd").LCDQueryClient;
|
|
48
48
|
};
|
|
49
|
-
params: {
|
|
50
|
-
v1beta1: import("../cosmos/params/v1beta1/query.lcd").LCDQueryClient;
|
|
51
|
-
};
|
|
52
49
|
slashing: {
|
|
53
50
|
v1beta1: import("../cosmos/slashing/v1beta1/query.lcd").LCDQueryClient;
|
|
54
51
|
};
|
|
@@ -62,6 +59,36 @@ export declare const createLCDClient: ({ restEndpoint }: {
|
|
|
62
59
|
v1beta1: import("../cosmos/upgrade/v1beta1/query.lcd").LCDQueryClient;
|
|
63
60
|
};
|
|
64
61
|
};
|
|
62
|
+
cosmwasm: {
|
|
63
|
+
wasm: {
|
|
64
|
+
v1: import("../cosmwasm/wasm/v1/query.lcd").LCDQueryClient;
|
|
65
|
+
};
|
|
66
|
+
};
|
|
67
|
+
ibc: {
|
|
68
|
+
applications: {
|
|
69
|
+
interchain_accounts: {
|
|
70
|
+
host: {
|
|
71
|
+
v1: import("../ibc/applications/interchain_accounts/host/v1/query.lcd").LCDQueryClient;
|
|
72
|
+
};
|
|
73
|
+
};
|
|
74
|
+
transfer: {
|
|
75
|
+
v1: import("../ibc/applications/transfer/v1/query.lcd").LCDQueryClient;
|
|
76
|
+
};
|
|
77
|
+
};
|
|
78
|
+
core: {
|
|
79
|
+
channel: {
|
|
80
|
+
v1: import("../ibc/core/channel/v1/query.lcd").LCDQueryClient;
|
|
81
|
+
v2: import("../ibc/core/channel/v2/query.lcd").LCDQueryClient;
|
|
82
|
+
};
|
|
83
|
+
client: {
|
|
84
|
+
v1: import("../ibc/core/client/v1/query.lcd").LCDQueryClient;
|
|
85
|
+
v2: import("../ibc/core/client/v2/query.lcd").LCDQueryClient;
|
|
86
|
+
};
|
|
87
|
+
connection: {
|
|
88
|
+
v1: import("../ibc/core/connection/v1/query.lcd").LCDQueryClient;
|
|
89
|
+
};
|
|
90
|
+
};
|
|
91
|
+
};
|
|
65
92
|
xpla: {
|
|
66
93
|
burn: {
|
|
67
94
|
v1beta1: import("./burn/v1beta1/query.lcd").LCDQueryClient;
|
package/xpla/lcd.js
CHANGED
|
@@ -103,11 +103,6 @@ const createLCDClient = async ({ restEndpoint }) => {
|
|
|
103
103
|
requestClient
|
|
104
104
|
})
|
|
105
105
|
},
|
|
106
|
-
params: {
|
|
107
|
-
v1beta1: new (await Promise.resolve().then(() => __importStar(require("../cosmos/params/v1beta1/query.lcd")))).LCDQueryClient({
|
|
108
|
-
requestClient
|
|
109
|
-
})
|
|
110
|
-
},
|
|
111
106
|
slashing: {
|
|
112
107
|
v1beta1: new (await Promise.resolve().then(() => __importStar(require("../cosmos/slashing/v1beta1/query.lcd")))).LCDQueryClient({
|
|
113
108
|
requestClient
|
|
@@ -129,6 +124,52 @@ const createLCDClient = async ({ restEndpoint }) => {
|
|
|
129
124
|
})
|
|
130
125
|
}
|
|
131
126
|
},
|
|
127
|
+
cosmwasm: {
|
|
128
|
+
wasm: {
|
|
129
|
+
v1: new (await Promise.resolve().then(() => __importStar(require("../cosmwasm/wasm/v1/query.lcd")))).LCDQueryClient({
|
|
130
|
+
requestClient
|
|
131
|
+
})
|
|
132
|
+
}
|
|
133
|
+
},
|
|
134
|
+
ibc: {
|
|
135
|
+
applications: {
|
|
136
|
+
interchain_accounts: {
|
|
137
|
+
host: {
|
|
138
|
+
v1: new (await Promise.resolve().then(() => __importStar(require("../ibc/applications/interchain_accounts/host/v1/query.lcd")))).LCDQueryClient({
|
|
139
|
+
requestClient
|
|
140
|
+
})
|
|
141
|
+
}
|
|
142
|
+
},
|
|
143
|
+
transfer: {
|
|
144
|
+
v1: new (await Promise.resolve().then(() => __importStar(require("../ibc/applications/transfer/v1/query.lcd")))).LCDQueryClient({
|
|
145
|
+
requestClient
|
|
146
|
+
})
|
|
147
|
+
}
|
|
148
|
+
},
|
|
149
|
+
core: {
|
|
150
|
+
channel: {
|
|
151
|
+
v1: new (await Promise.resolve().then(() => __importStar(require("../ibc/core/channel/v1/query.lcd")))).LCDQueryClient({
|
|
152
|
+
requestClient
|
|
153
|
+
}),
|
|
154
|
+
v2: new (await Promise.resolve().then(() => __importStar(require("../ibc/core/channel/v2/query.lcd")))).LCDQueryClient({
|
|
155
|
+
requestClient
|
|
156
|
+
})
|
|
157
|
+
},
|
|
158
|
+
client: {
|
|
159
|
+
v1: new (await Promise.resolve().then(() => __importStar(require("../ibc/core/client/v1/query.lcd")))).LCDQueryClient({
|
|
160
|
+
requestClient
|
|
161
|
+
}),
|
|
162
|
+
v2: new (await Promise.resolve().then(() => __importStar(require("../ibc/core/client/v2/query.lcd")))).LCDQueryClient({
|
|
163
|
+
requestClient
|
|
164
|
+
})
|
|
165
|
+
},
|
|
166
|
+
connection: {
|
|
167
|
+
v1: new (await Promise.resolve().then(() => __importStar(require("../ibc/core/connection/v1/query.lcd")))).LCDQueryClient({
|
|
168
|
+
requestClient
|
|
169
|
+
})
|
|
170
|
+
}
|
|
171
|
+
}
|
|
172
|
+
},
|
|
132
173
|
xpla: {
|
|
133
174
|
burn: {
|
|
134
175
|
v1beta1: new (await Promise.resolve().then(() => __importStar(require("./burn/v1beta1/query.lcd")))).LCDQueryClient({
|
package/xpla/rpc.query.d.ts
CHANGED
|
@@ -3,11 +3,6 @@ export declare const createRPCQueryClient: ({ rpcEndpoint }: {
|
|
|
3
3
|
rpcEndpoint: string | HttpEndpoint;
|
|
4
4
|
}) => Promise<{
|
|
5
5
|
cosmos: {
|
|
6
|
-
app: {
|
|
7
|
-
v1alpha1: {
|
|
8
|
-
config(request?: import("..").QueryConfigRequest): Promise<import("..").QueryConfigResponse>;
|
|
9
|
-
};
|
|
10
|
-
};
|
|
11
6
|
auth: {
|
|
12
7
|
v1beta1: {
|
|
13
8
|
accounts(request?: import("..").QueryAccountsRequest): Promise<import("..").QueryAccountsResponse>;
|
|
@@ -29,11 +24,6 @@ export declare const createRPCQueryClient: ({ rpcEndpoint }: {
|
|
|
29
24
|
granteeGrants(request: import("..").QueryGranteeGrantsRequest): Promise<import("..").QueryGranteeGrantsResponse>;
|
|
30
25
|
};
|
|
31
26
|
};
|
|
32
|
-
autocli: {
|
|
33
|
-
v1: {
|
|
34
|
-
appOptions(request?: import("..").AppOptionsRequest): Promise<import("..").AppOptionsResponse>;
|
|
35
|
-
};
|
|
36
|
-
};
|
|
37
27
|
bank: {
|
|
38
28
|
v1beta1: {
|
|
39
29
|
balance(request: import("..").QueryBalanceRequest): Promise<import("..").QueryBalanceResponse>;
|
|
@@ -159,12 +149,6 @@ export declare const createRPCQueryClient: ({ rpcEndpoint }: {
|
|
|
159
149
|
annualProvisions(request?: import("..").QueryAnnualProvisionsRequest): Promise<import("..").QueryAnnualProvisionsResponse>;
|
|
160
150
|
};
|
|
161
151
|
};
|
|
162
|
-
params: {
|
|
163
|
-
v1beta1: {
|
|
164
|
-
params(request: import("..").CosmosParamsV1beta1QueryParamsRequest): Promise<import("..").CosmosParamsV1beta1QueryParamsResponse>;
|
|
165
|
-
subspaces(request?: import("..").QuerySubspacesRequest): Promise<import("..").QuerySubspacesResponse>;
|
|
166
|
-
};
|
|
167
|
-
};
|
|
168
152
|
slashing: {
|
|
169
153
|
v1beta1: {
|
|
170
154
|
params(request?: import("..").CosmosSlashingV1beta1QueryParamsRequest): Promise<import("..").CosmosSlashingV1beta1QueryParamsResponse>;
|
|
@@ -213,6 +197,106 @@ export declare const createRPCQueryClient: ({ rpcEndpoint }: {
|
|
|
213
197
|
};
|
|
214
198
|
};
|
|
215
199
|
};
|
|
200
|
+
cosmwasm: {
|
|
201
|
+
wasm: {
|
|
202
|
+
v1: {
|
|
203
|
+
contractInfo(request: import("..").QueryContractInfoRequest): Promise<import("..").QueryContractInfoResponse>;
|
|
204
|
+
contractHistory(request: import("..").QueryContractHistoryRequest): Promise<import("..").QueryContractHistoryResponse>;
|
|
205
|
+
contractsByCode(request: import("..").QueryContractsByCodeRequest): Promise<import("..").QueryContractsByCodeResponse>;
|
|
206
|
+
allContractState(request: import("..").QueryAllContractStateRequest): Promise<import("..").QueryAllContractStateResponse>;
|
|
207
|
+
rawContractState(request: import("..").QueryRawContractStateRequest): Promise<import("..").QueryRawContractStateResponse>;
|
|
208
|
+
smartContractState(request: import("..").QuerySmartContractStateRequest): Promise<import("..").QuerySmartContractStateResponse>;
|
|
209
|
+
code(request: import("..").CosmwasmWasmV1QueryCodeRequest): Promise<import("..").CosmwasmWasmV1QueryCodeResponse>;
|
|
210
|
+
codes(request?: import("..").QueryCodesRequest): Promise<import("..").QueryCodesResponse>;
|
|
211
|
+
codeInfo(request: import("..").QueryCodeInfoRequest): Promise<import("..").QueryCodeInfoResponse>;
|
|
212
|
+
pinnedCodes(request?: import("..").QueryPinnedCodesRequest): Promise<import("..").QueryPinnedCodesResponse>;
|
|
213
|
+
params(request?: import("..").CosmwasmWasmV1QueryParamsRequest): Promise<import("..").CosmwasmWasmV1QueryParamsResponse>;
|
|
214
|
+
contractsByCreator(request: import("..").QueryContractsByCreatorRequest): Promise<import("..").QueryContractsByCreatorResponse>;
|
|
215
|
+
wasmLimitsConfig(request?: import("..").QueryWasmLimitsConfigRequest): Promise<import("..").QueryWasmLimitsConfigResponse>;
|
|
216
|
+
buildAddress(request: import("..").QueryBuildAddressRequest): Promise<import("..").QueryBuildAddressResponse>;
|
|
217
|
+
};
|
|
218
|
+
};
|
|
219
|
+
};
|
|
220
|
+
ibc: {
|
|
221
|
+
applications: {
|
|
222
|
+
interchain_accounts: {
|
|
223
|
+
host: {
|
|
224
|
+
v1: {
|
|
225
|
+
params(request?: import("..").IbcApplicationsInterchainAccountsHostV1QueryParamsRequest): Promise<import("..").IbcApplicationsInterchainAccountsHostV1QueryParamsResponse>;
|
|
226
|
+
};
|
|
227
|
+
};
|
|
228
|
+
};
|
|
229
|
+
transfer: {
|
|
230
|
+
v1: {
|
|
231
|
+
params(request?: import("..").IbcApplicationsTransferV1QueryParamsRequest): Promise<import("..").IbcApplicationsTransferV1QueryParamsResponse>;
|
|
232
|
+
denoms(request?: import("..").QueryDenomsRequest): Promise<import("..").QueryDenomsResponse>;
|
|
233
|
+
denom(request: import("..").QueryDenomRequest): Promise<import("..").QueryDenomResponse>;
|
|
234
|
+
denomHash(request: import("..").QueryDenomHashRequest): Promise<import("..").QueryDenomHashResponse>;
|
|
235
|
+
escrowAddress(request: import("..").QueryEscrowAddressRequest): Promise<import("..").QueryEscrowAddressResponse>;
|
|
236
|
+
totalEscrowForDenom(request: import("..").QueryTotalEscrowForDenomRequest): Promise<import("..").QueryTotalEscrowForDenomResponse>;
|
|
237
|
+
};
|
|
238
|
+
};
|
|
239
|
+
};
|
|
240
|
+
core: {
|
|
241
|
+
channel: {
|
|
242
|
+
v1: {
|
|
243
|
+
channel(request: import("..").QueryChannelRequest): Promise<import("..").QueryChannelResponse>;
|
|
244
|
+
channels(request?: import("..").QueryChannelsRequest): Promise<import("..").QueryChannelsResponse>;
|
|
245
|
+
connectionChannels(request: import("..").QueryConnectionChannelsRequest): Promise<import("..").QueryConnectionChannelsResponse>;
|
|
246
|
+
channelClientState(request: import("..").QueryChannelClientStateRequest): Promise<import("..").QueryChannelClientStateResponse>;
|
|
247
|
+
channelConsensusState(request: import("..").QueryChannelConsensusStateRequest): Promise<import("..").QueryChannelConsensusStateResponse>;
|
|
248
|
+
packetCommitment(request: import("..").QueryPacketCommitmentRequest): Promise<import("..").QueryPacketCommitmentResponse>;
|
|
249
|
+
packetCommitments(request: import("..").QueryPacketCommitmentsRequest): Promise<import("..").QueryPacketCommitmentsResponse>;
|
|
250
|
+
packetReceipt(request: import("..").QueryPacketReceiptRequest): Promise<import("..").QueryPacketReceiptResponse>;
|
|
251
|
+
packetAcknowledgement(request: import("..").QueryPacketAcknowledgementRequest): Promise<import("..").QueryPacketAcknowledgementResponse>;
|
|
252
|
+
packetAcknowledgements(request: import("..").QueryPacketAcknowledgementsRequest): Promise<import("..").QueryPacketAcknowledgementsResponse>;
|
|
253
|
+
unreceivedPackets(request: import("..").QueryUnreceivedPacketsRequest): Promise<import("..").QueryUnreceivedPacketsResponse>;
|
|
254
|
+
unreceivedAcks(request: import("..").QueryUnreceivedAcksRequest): Promise<import("..").QueryUnreceivedAcksResponse>;
|
|
255
|
+
nextSequenceReceive(request: import("..").QueryNextSequenceReceiveRequest): Promise<import("..").QueryNextSequenceReceiveResponse>;
|
|
256
|
+
nextSequenceSend(request: import("..").QueryNextSequenceSendRequest): Promise<import("..").QueryNextSequenceSendResponse>;
|
|
257
|
+
};
|
|
258
|
+
v2: {
|
|
259
|
+
nextSequenceSend(request: import("..").IbcCoreChannelV2QueryNextSequenceSendRequest): Promise<import("..").IbcCoreChannelV2QueryNextSequenceSendResponse>;
|
|
260
|
+
packetCommitment(request: import("..").IbcCoreChannelV2QueryPacketCommitmentRequest): Promise<import("..").IbcCoreChannelV2QueryPacketCommitmentResponse>;
|
|
261
|
+
packetCommitments(request: import("..").IbcCoreChannelV2QueryPacketCommitmentsRequest): Promise<import("..").IbcCoreChannelV2QueryPacketCommitmentsResponse>;
|
|
262
|
+
packetAcknowledgement(request: import("..").IbcCoreChannelV2QueryPacketAcknowledgementRequest): Promise<import("..").IbcCoreChannelV2QueryPacketAcknowledgementResponse>;
|
|
263
|
+
packetAcknowledgements(request: import("..").IbcCoreChannelV2QueryPacketAcknowledgementsRequest): Promise<import("..").IbcCoreChannelV2QueryPacketAcknowledgementsResponse>;
|
|
264
|
+
packetReceipt(request: import("..").IbcCoreChannelV2QueryPacketReceiptRequest): Promise<import("..").IbcCoreChannelV2QueryPacketReceiptResponse>;
|
|
265
|
+
unreceivedPackets(request: import("..").IbcCoreChannelV2QueryUnreceivedPacketsRequest): Promise<import("..").IbcCoreChannelV2QueryUnreceivedPacketsResponse>;
|
|
266
|
+
unreceivedAcks(request: import("..").IbcCoreChannelV2QueryUnreceivedAcksRequest): Promise<import("..").IbcCoreChannelV2QueryUnreceivedAcksResponse>;
|
|
267
|
+
};
|
|
268
|
+
};
|
|
269
|
+
client: {
|
|
270
|
+
v1: {
|
|
271
|
+
clientState(request: import("..").QueryClientStateRequest): Promise<import("..").QueryClientStateResponse>;
|
|
272
|
+
clientStates(request?: import("..").QueryClientStatesRequest): Promise<import("..").QueryClientStatesResponse>;
|
|
273
|
+
consensusState(request: import("..").QueryConsensusStateRequest): Promise<import("..").QueryConsensusStateResponse>;
|
|
274
|
+
consensusStates(request: import("..").QueryConsensusStatesRequest): Promise<import("..").QueryConsensusStatesResponse>;
|
|
275
|
+
consensusStateHeights(request: import("..").QueryConsensusStateHeightsRequest): Promise<import("..").QueryConsensusStateHeightsResponse>;
|
|
276
|
+
clientStatus(request: import("..").QueryClientStatusRequest): Promise<import("..").QueryClientStatusResponse>;
|
|
277
|
+
clientParams(request?: import("..").QueryClientParamsRequest): Promise<import("..").QueryClientParamsResponse>;
|
|
278
|
+
clientCreator(request: import("..").QueryClientCreatorRequest): Promise<import("..").QueryClientCreatorResponse>;
|
|
279
|
+
upgradedClientState(request?: import("..").QueryUpgradedClientStateRequest): Promise<import("..").QueryUpgradedClientStateResponse>;
|
|
280
|
+
upgradedConsensusState(request?: import("..").IbcCoreClientV1QueryUpgradedConsensusStateRequest): Promise<import("..").IbcCoreClientV1QueryUpgradedConsensusStateResponse>;
|
|
281
|
+
verifyMembership(request: import("..").QueryVerifyMembershipRequest): Promise<import("..").QueryVerifyMembershipResponse>;
|
|
282
|
+
};
|
|
283
|
+
v2: {
|
|
284
|
+
counterpartyInfo(request: import("..").QueryCounterpartyInfoRequest): Promise<import("..").QueryCounterpartyInfoResponse>;
|
|
285
|
+
config(request: import("..").IbcCoreClientV2QueryConfigRequest): Promise<import("..").IbcCoreClientV2QueryConfigResponse>;
|
|
286
|
+
};
|
|
287
|
+
};
|
|
288
|
+
connection: {
|
|
289
|
+
v1: {
|
|
290
|
+
connection(request: import("..").QueryConnectionRequest): Promise<import("..").QueryConnectionResponse>;
|
|
291
|
+
connections(request?: import("..").QueryConnectionsRequest): Promise<import("..").QueryConnectionsResponse>;
|
|
292
|
+
clientConnections(request: import("..").QueryClientConnectionsRequest): Promise<import("..").QueryClientConnectionsResponse>;
|
|
293
|
+
connectionClientState(request: import("..").QueryConnectionClientStateRequest): Promise<import("..").QueryConnectionClientStateResponse>;
|
|
294
|
+
connectionConsensusState(request: import("..").QueryConnectionConsensusStateRequest): Promise<import("..").QueryConnectionConsensusStateResponse>;
|
|
295
|
+
connectionParams(request?: import("..").QueryConnectionParamsRequest): Promise<import("..").QueryConnectionParamsResponse>;
|
|
296
|
+
};
|
|
297
|
+
};
|
|
298
|
+
};
|
|
299
|
+
};
|
|
216
300
|
xpla: {
|
|
217
301
|
burn: {
|
|
218
302
|
v1beta1: {
|
package/xpla/rpc.query.js
CHANGED
|
@@ -31,18 +31,12 @@ const createRPCQueryClient = async ({ rpcEndpoint }) => {
|
|
|
31
31
|
const client = new stargate_1.QueryClient(tmClient);
|
|
32
32
|
return {
|
|
33
33
|
cosmos: {
|
|
34
|
-
app: {
|
|
35
|
-
v1alpha1: (await Promise.resolve().then(() => __importStar(require("../cosmos/app/v1alpha1/query.rpc.Query")))).createRpcQueryExtension(client)
|
|
36
|
-
},
|
|
37
34
|
auth: {
|
|
38
35
|
v1beta1: (await Promise.resolve().then(() => __importStar(require("../cosmos/auth/v1beta1/query.rpc.Query")))).createRpcQueryExtension(client)
|
|
39
36
|
},
|
|
40
37
|
authz: {
|
|
41
38
|
v1beta1: (await Promise.resolve().then(() => __importStar(require("../cosmos/authz/v1beta1/query.rpc.Query")))).createRpcQueryExtension(client)
|
|
42
39
|
},
|
|
43
|
-
autocli: {
|
|
44
|
-
v1: (await Promise.resolve().then(() => __importStar(require("../cosmos/autocli/v1/query.rpc.Query")))).createRpcQueryExtension(client)
|
|
45
|
-
},
|
|
46
40
|
bank: {
|
|
47
41
|
v1beta1: (await Promise.resolve().then(() => __importStar(require("../cosmos/bank/v1beta1/query.rpc.Query")))).createRpcQueryExtension(client)
|
|
48
42
|
},
|
|
@@ -81,9 +75,6 @@ const createRPCQueryClient = async ({ rpcEndpoint }) => {
|
|
|
81
75
|
mint: {
|
|
82
76
|
v1beta1: (await Promise.resolve().then(() => __importStar(require("../cosmos/mint/v1beta1/query.rpc.Query")))).createRpcQueryExtension(client)
|
|
83
77
|
},
|
|
84
|
-
params: {
|
|
85
|
-
v1beta1: (await Promise.resolve().then(() => __importStar(require("../cosmos/params/v1beta1/query.rpc.Query")))).createRpcQueryExtension(client)
|
|
86
|
-
},
|
|
87
78
|
slashing: {
|
|
88
79
|
v1beta1: (await Promise.resolve().then(() => __importStar(require("../cosmos/slashing/v1beta1/query.rpc.Query")))).createRpcQueryExtension(client)
|
|
89
80
|
},
|
|
@@ -97,6 +88,36 @@ const createRPCQueryClient = async ({ rpcEndpoint }) => {
|
|
|
97
88
|
v1beta1: (await Promise.resolve().then(() => __importStar(require("../cosmos/upgrade/v1beta1/query.rpc.Query")))).createRpcQueryExtension(client)
|
|
98
89
|
}
|
|
99
90
|
},
|
|
91
|
+
cosmwasm: {
|
|
92
|
+
wasm: {
|
|
93
|
+
v1: (await Promise.resolve().then(() => __importStar(require("../cosmwasm/wasm/v1/query.rpc.Query")))).createRpcQueryExtension(client)
|
|
94
|
+
}
|
|
95
|
+
},
|
|
96
|
+
ibc: {
|
|
97
|
+
applications: {
|
|
98
|
+
interchain_accounts: {
|
|
99
|
+
host: {
|
|
100
|
+
v1: (await Promise.resolve().then(() => __importStar(require("../ibc/applications/interchain_accounts/host/v1/query.rpc.Query")))).createRpcQueryExtension(client)
|
|
101
|
+
}
|
|
102
|
+
},
|
|
103
|
+
transfer: {
|
|
104
|
+
v1: (await Promise.resolve().then(() => __importStar(require("../ibc/applications/transfer/v1/query.rpc.Query")))).createRpcQueryExtension(client)
|
|
105
|
+
}
|
|
106
|
+
},
|
|
107
|
+
core: {
|
|
108
|
+
channel: {
|
|
109
|
+
v1: (await Promise.resolve().then(() => __importStar(require("../ibc/core/channel/v1/query.rpc.Query")))).createRpcQueryExtension(client),
|
|
110
|
+
v2: (await Promise.resolve().then(() => __importStar(require("../ibc/core/channel/v2/query.rpc.Query")))).createRpcQueryExtension(client)
|
|
111
|
+
},
|
|
112
|
+
client: {
|
|
113
|
+
v1: (await Promise.resolve().then(() => __importStar(require("../ibc/core/client/v1/query.rpc.Query")))).createRpcQueryExtension(client),
|
|
114
|
+
v2: (await Promise.resolve().then(() => __importStar(require("../ibc/core/client/v2/query.rpc.Query")))).createRpcQueryExtension(client)
|
|
115
|
+
},
|
|
116
|
+
connection: {
|
|
117
|
+
v1: (await Promise.resolve().then(() => __importStar(require("../ibc/core/connection/v1/query.rpc.Query")))).createRpcQueryExtension(client)
|
|
118
|
+
}
|
|
119
|
+
}
|
|
120
|
+
},
|
|
100
121
|
xpla: {
|
|
101
122
|
burn: {
|
|
102
123
|
v1beta1: (await Promise.resolve().then(() => __importStar(require("./burn/v1beta1/query.rpc.Query")))).createRpcQueryExtension(client)
|
package/xpla/rpc.tx.d.ts
CHANGED
|
@@ -49,6 +49,36 @@ export declare const createRPCMsgClient: ({ rpc }: {
|
|
|
49
49
|
v1beta1: import("../cosmos/upgrade/v1beta1/tx.rpc.msg").MsgClientImpl;
|
|
50
50
|
};
|
|
51
51
|
};
|
|
52
|
+
cosmwasm: {
|
|
53
|
+
wasm: {
|
|
54
|
+
v1: import("../cosmwasm/wasm/v1/tx.rpc.msg").MsgClientImpl;
|
|
55
|
+
};
|
|
56
|
+
};
|
|
57
|
+
ibc: {
|
|
58
|
+
applications: {
|
|
59
|
+
interchain_accounts: {
|
|
60
|
+
host: {
|
|
61
|
+
v1: import("../ibc/applications/interchain_accounts/host/v1/tx.rpc.msg").MsgClientImpl;
|
|
62
|
+
};
|
|
63
|
+
};
|
|
64
|
+
transfer: {
|
|
65
|
+
v1: import("../ibc/applications/transfer/v1/tx.rpc.msg").MsgClientImpl;
|
|
66
|
+
};
|
|
67
|
+
};
|
|
68
|
+
core: {
|
|
69
|
+
channel: {
|
|
70
|
+
v1: import("../ibc/core/channel/v1/tx.rpc.msg").MsgClientImpl;
|
|
71
|
+
v2: import("../ibc/core/channel/v2/tx.rpc.msg").MsgClientImpl;
|
|
72
|
+
};
|
|
73
|
+
client: {
|
|
74
|
+
v1: import("../ibc/core/client/v1/tx.rpc.msg").MsgClientImpl;
|
|
75
|
+
v2: import("../ibc/core/client/v2/tx.rpc.msg").MsgClientImpl;
|
|
76
|
+
};
|
|
77
|
+
connection: {
|
|
78
|
+
v1: import("../ibc/core/connection/v1/tx.rpc.msg").MsgClientImpl;
|
|
79
|
+
};
|
|
80
|
+
};
|
|
81
|
+
};
|
|
52
82
|
xpla: {
|
|
53
83
|
burn: {
|
|
54
84
|
v1beta1: import("./burn/v1beta1/tx.rpc.msg").MsgClientImpl;
|
package/xpla/rpc.tx.js
CHANGED
|
@@ -72,6 +72,36 @@ const createRPCMsgClient = async ({ rpc }) => ({
|
|
|
72
72
|
v1beta1: new (await Promise.resolve().then(() => __importStar(require("../cosmos/upgrade/v1beta1/tx.rpc.msg")))).MsgClientImpl(rpc)
|
|
73
73
|
}
|
|
74
74
|
},
|
|
75
|
+
cosmwasm: {
|
|
76
|
+
wasm: {
|
|
77
|
+
v1: new (await Promise.resolve().then(() => __importStar(require("../cosmwasm/wasm/v1/tx.rpc.msg")))).MsgClientImpl(rpc)
|
|
78
|
+
}
|
|
79
|
+
},
|
|
80
|
+
ibc: {
|
|
81
|
+
applications: {
|
|
82
|
+
interchain_accounts: {
|
|
83
|
+
host: {
|
|
84
|
+
v1: new (await Promise.resolve().then(() => __importStar(require("../ibc/applications/interchain_accounts/host/v1/tx.rpc.msg")))).MsgClientImpl(rpc)
|
|
85
|
+
}
|
|
86
|
+
},
|
|
87
|
+
transfer: {
|
|
88
|
+
v1: new (await Promise.resolve().then(() => __importStar(require("../ibc/applications/transfer/v1/tx.rpc.msg")))).MsgClientImpl(rpc)
|
|
89
|
+
}
|
|
90
|
+
},
|
|
91
|
+
core: {
|
|
92
|
+
channel: {
|
|
93
|
+
v1: new (await Promise.resolve().then(() => __importStar(require("../ibc/core/channel/v1/tx.rpc.msg")))).MsgClientImpl(rpc),
|
|
94
|
+
v2: new (await Promise.resolve().then(() => __importStar(require("../ibc/core/channel/v2/tx.rpc.msg")))).MsgClientImpl(rpc)
|
|
95
|
+
},
|
|
96
|
+
client: {
|
|
97
|
+
v1: new (await Promise.resolve().then(() => __importStar(require("../ibc/core/client/v1/tx.rpc.msg")))).MsgClientImpl(rpc),
|
|
98
|
+
v2: new (await Promise.resolve().then(() => __importStar(require("../ibc/core/client/v2/tx.rpc.msg")))).MsgClientImpl(rpc)
|
|
99
|
+
},
|
|
100
|
+
connection: {
|
|
101
|
+
v1: new (await Promise.resolve().then(() => __importStar(require("../ibc/core/connection/v1/tx.rpc.msg")))).MsgClientImpl(rpc)
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
},
|
|
75
105
|
xpla: {
|
|
76
106
|
burn: {
|
|
77
107
|
v1beta1: new (await Promise.resolve().then(() => __importStar(require("./burn/v1beta1/tx.rpc.msg")))).MsgClientImpl(rpc)
|