atlas.js-protos 0.1.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/LICENSE +21 -0
- package/README.md +85 -0
- package/dist/filetree/index.d.ts +2 -0
- package/dist/filetree/index.js +8 -0
- package/dist/filetree/index.mjs +3 -0
- package/dist/filetree/query.d.ts +1 -0
- package/dist/filetree/query.js +13 -0
- package/dist/filetree/query.mjs +2 -0
- package/dist/filetree/tx.d.ts +1 -0
- package/dist/filetree/tx.js +11 -0
- package/dist/filetree/tx.mjs +2 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +17 -0
- package/dist/index.mjs +1 -0
- package/dist/storage/index.d.ts +5 -0
- package/dist/storage/index.js +16 -0
- package/dist/storage/index.mjs +6 -0
- package/dist/storage/query.d.ts +1 -0
- package/dist/storage/query.js +27 -0
- package/dist/storage/query.mjs +2 -0
- package/dist/storage/tx.d.ts +1 -0
- package/dist/storage/tx.js +21 -0
- package/dist/storage/tx.mjs +2 -0
- package/dist/types/amino/amino.d.ts +1 -0
- package/dist/types/amino/amino.js +2 -0
- package/dist/types/amino/amino.mjs +1 -0
- package/dist/types/amino/bundle.d.ts +1 -0
- package/dist/types/amino/bundle.js +41 -0
- package/dist/types/amino/bundle.mjs +5 -0
- package/dist/types/atlas/bundle.d.ts +905 -0
- package/dist/types/atlas/bundle.js +98 -0
- package/dist/types/atlas/bundle.mjs +62 -0
- package/dist/types/atlas/filetree/v1/genesis.d.ts +45 -0
- package/dist/types/atlas/filetree/v1/genesis.js +107 -0
- package/dist/types/atlas/filetree/v1/genesis.mjs +71 -0
- package/dist/types/atlas/filetree/v1/params.d.ts +40 -0
- package/dist/types/atlas/filetree/v1/params.js +94 -0
- package/dist/types/atlas/filetree/v1/params.mjs +58 -0
- package/dist/types/atlas/filetree/v1/query.d.ts +330 -0
- package/dist/types/atlas/filetree/v1/query.js +567 -0
- package/dist/types/atlas/filetree/v1/query.mjs +531 -0
- package/dist/types/atlas/filetree/v1/query.rpc.Query.d.ts +28 -0
- package/dist/types/atlas/filetree/v1/query.rpc.Query.js +89 -0
- package/dist/types/atlas/filetree/v1/query.rpc.Query.mjs +51 -0
- package/dist/types/atlas/filetree/v1/query.rpc.func.d.ts +29 -0
- package/dist/types/atlas/filetree/v1/query.rpc.func.js +58 -0
- package/dist/types/atlas/filetree/v1/query.rpc.func.mjs +55 -0
- package/dist/types/atlas/filetree/v1/tree.d.ts +44 -0
- package/dist/types/atlas/filetree/v1/tree.js +124 -0
- package/dist/types/atlas/filetree/v1/tree.mjs +88 -0
- package/dist/types/atlas/filetree/v1/tx.d.ts +260 -0
- package/dist/types/atlas/filetree/v1/tx.js +449 -0
- package/dist/types/atlas/filetree/v1/tx.mjs +413 -0
- package/dist/types/atlas/filetree/v1/tx.rpc.func.d.ts +23 -0
- package/dist/types/atlas/filetree/v1/tx.rpc.func.js +34 -0
- package/dist/types/atlas/filetree/v1/tx.rpc.func.mjs +31 -0
- package/dist/types/atlas/filetree/v1/tx.rpc.msg.d.ts +22 -0
- package/dist/types/atlas/filetree/v1/tx.rpc.msg.js +67 -0
- package/dist/types/atlas/filetree/v1/tx.rpc.msg.mjs +29 -0
- package/dist/types/atlas/rpc.query.d.ts +49 -0
- package/dist/types/atlas/rpc.query.js +59 -0
- package/dist/types/atlas/rpc.query.mjs +22 -0
- package/dist/types/atlas/rpc.tx.d.ts +18 -0
- package/dist/types/atlas/rpc.tx.js +52 -0
- package/dist/types/atlas/rpc.tx.mjs +15 -0
- package/dist/types/atlas/storage/v1/file.d.ts +59 -0
- package/dist/types/atlas/storage/v1/file.js +173 -0
- package/dist/types/atlas/storage/v1/file.mjs +137 -0
- package/dist/types/atlas/storage/v1/genesis.d.ts +45 -0
- package/dist/types/atlas/storage/v1/genesis.js +107 -0
- package/dist/types/atlas/storage/v1/genesis.mjs +71 -0
- package/dist/types/atlas/storage/v1/params.d.ts +48 -0
- package/dist/types/atlas/storage/v1/params.js +127 -0
- package/dist/types/atlas/storage/v1/params.mjs +91 -0
- package/dist/types/atlas/storage/v1/proof.d.ts +145 -0
- package/dist/types/atlas/storage/v1/proof.js +318 -0
- package/dist/types/atlas/storage/v1/proof.mjs +282 -0
- package/dist/types/atlas/storage/v1/provider.d.ts +51 -0
- package/dist/types/atlas/storage/v1/provider.js +141 -0
- package/dist/types/atlas/storage/v1/provider.mjs +105 -0
- package/dist/types/atlas/storage/v1/query.d.ts +914 -0
- package/dist/types/atlas/storage/v1/query.js +1570 -0
- package/dist/types/atlas/storage/v1/query.mjs +1534 -0
- package/dist/types/atlas/storage/v1/query.rpc.Query.d.ts +56 -0
- package/dist/types/atlas/storage/v1/query.rpc.Query.js +154 -0
- package/dist/types/atlas/storage/v1/query.rpc.Query.mjs +116 -0
- package/dist/types/atlas/storage/v1/query.rpc.func.d.ts +78 -0
- package/dist/types/atlas/storage/v1/query.rpc.func.js +149 -0
- package/dist/types/atlas/storage/v1/query.rpc.func.mjs +146 -0
- package/dist/types/atlas/storage/v1/subscription.d.ts +55 -0
- package/dist/types/atlas/storage/v1/subscription.js +159 -0
- package/dist/types/atlas/storage/v1/subscription.mjs +123 -0
- package/dist/types/atlas/storage/v1/tx.d.ts +694 -0
- package/dist/types/atlas/storage/v1/tx.js +1203 -0
- package/dist/types/atlas/storage/v1/tx.mjs +1167 -0
- package/dist/types/atlas/storage/v1/tx.rpc.func.d.ts +56 -0
- package/dist/types/atlas/storage/v1/tx.rpc.func.js +77 -0
- package/dist/types/atlas/storage/v1/tx.rpc.func.mjs +74 -0
- package/dist/types/atlas/storage/v1/tx.rpc.msg.d.ts +35 -0
- package/dist/types/atlas/storage/v1/tx.rpc.msg.js +97 -0
- package/dist/types/atlas/storage/v1/tx.rpc.msg.mjs +59 -0
- package/dist/types/cosmos/bank/v1beta1/authz.d.ts +62 -0
- package/dist/types/cosmos/bank/v1beta1/authz.js +123 -0
- package/dist/types/cosmos/bank/v1beta1/authz.mjs +87 -0
- package/dist/types/cosmos/bank/v1beta1/bank.d.ts +391 -0
- package/dist/types/cosmos/bank/v1beta1/bank.js +626 -0
- package/dist/types/cosmos/bank/v1beta1/bank.mjs +590 -0
- package/dist/types/cosmos/bank/v1beta1/genesis.d.ts +122 -0
- package/dist/types/cosmos/bank/v1beta1/genesis.js +224 -0
- package/dist/types/cosmos/bank/v1beta1/genesis.mjs +188 -0
- package/dist/types/cosmos/bank/v1beta1/query.d.ts +1377 -0
- package/dist/types/cosmos/bank/v1beta1/query.js +2038 -0
- package/dist/types/cosmos/bank/v1beta1/query.mjs +2002 -0
- package/dist/types/cosmos/bank/v1beta1/query.rpc.Query.d.ts +119 -0
- package/dist/types/cosmos/bank/v1beta1/query.rpc.Query.js +174 -0
- package/dist/types/cosmos/bank/v1beta1/query.rpc.Query.mjs +136 -0
- package/dist/types/cosmos/bank/v1beta1/query.rpc.func.d.ts +129 -0
- package/dist/types/cosmos/bank/v1beta1/query.rpc.func.js +212 -0
- package/dist/types/cosmos/bank/v1beta1/query.rpc.func.mjs +209 -0
- package/dist/types/cosmos/bank/v1beta1/tx.d.ts +398 -0
- package/dist/types/cosmos/bank/v1beta1/tx.js +599 -0
- package/dist/types/cosmos/bank/v1beta1/tx.mjs +563 -0
- package/dist/types/cosmos/bank/v1beta1/tx.rpc.func.d.ts +37 -0
- package/dist/types/cosmos/bank/v1beta1/tx.rpc.func.js +50 -0
- package/dist/types/cosmos/bank/v1beta1/tx.rpc.func.mjs +47 -0
- package/dist/types/cosmos/bank/v1beta1/tx.rpc.msg.d.ts +34 -0
- package/dist/types/cosmos/bank/v1beta1/tx.rpc.msg.js +73 -0
- package/dist/types/cosmos/bank/v1beta1/tx.rpc.msg.mjs +35 -0
- package/dist/types/cosmos/base/query/v1beta1/pagination.d.ts +163 -0
- package/dist/types/cosmos/base/query/v1beta1/pagination.js +219 -0
- package/dist/types/cosmos/base/query/v1beta1/pagination.mjs +183 -0
- package/dist/types/cosmos/base/v1beta1/coin.d.ts +193 -0
- package/dist/types/cosmos/base/v1beta1/coin.js +320 -0
- package/dist/types/cosmos/base/v1beta1/coin.mjs +284 -0
- package/dist/types/cosmos/bundle.d.ts +761 -0
- package/dist/types/cosmos/bundle.js +97 -0
- package/dist/types/cosmos/bundle.mjs +61 -0
- package/dist/types/cosmos/msg/v1/msg.d.ts +1 -0
- package/dist/types/cosmos/msg/v1/msg.js +2 -0
- package/dist/types/cosmos/msg/v1/msg.mjs +1 -0
- package/dist/types/cosmos/query/v1/query.d.ts +1 -0
- package/dist/types/cosmos/query/v1/query.js +2 -0
- package/dist/types/cosmos/query/v1/query.mjs +1 -0
- package/dist/types/cosmos/rpc.query.d.ts +24 -0
- package/dist/types/cosmos/rpc.query.js +51 -0
- package/dist/types/cosmos/rpc.query.mjs +14 -0
- package/dist/types/cosmos/rpc.tx.d.ts +10 -0
- package/dist/types/cosmos/rpc.tx.js +44 -0
- package/dist/types/cosmos/rpc.tx.mjs +7 -0
- package/dist/types/cosmos_proto/bundle.d.ts +31 -0
- package/dist/types/cosmos_proto/bundle.js +41 -0
- package/dist/types/cosmos_proto/bundle.mjs +5 -0
- package/dist/types/cosmos_proto/cosmos.d.ts +144 -0
- package/dist/types/cosmos_proto/cosmos.js +244 -0
- package/dist/types/cosmos_proto/cosmos.mjs +206 -0
- package/dist/types/extern.d.ts +11 -0
- package/dist/types/extern.js +47 -0
- package/dist/types/extern.mjs +41 -0
- package/dist/types/gogoproto/bundle.d.ts +1 -0
- package/dist/types/gogoproto/bundle.js +41 -0
- package/dist/types/gogoproto/bundle.mjs +5 -0
- package/dist/types/gogoproto/gogo.d.ts +1 -0
- package/dist/types/gogoproto/gogo.js +2 -0
- package/dist/types/gogoproto/gogo.mjs +1 -0
- package/dist/types/google/api/annotations.d.ts +1 -0
- package/dist/types/google/api/annotations.js +2 -0
- package/dist/types/google/api/annotations.mjs +1 -0
- package/dist/types/google/api/http.d.ts +1006 -0
- package/dist/types/google/api/http.js +589 -0
- package/dist/types/google/api/http.mjs +553 -0
- package/dist/types/google/bundle.d.ts +545 -0
- package/dist/types/google/bundle.js +52 -0
- package/dist/types/google/bundle.mjs +16 -0
- package/dist/types/google/protobuf/descriptor.d.ts +2755 -0
- package/dist/types/google/protobuf/descriptor.js +4612 -0
- package/dist/types/google/protobuf/descriptor.mjs +4535 -0
- package/dist/types/google/protobuf/timestamp.d.ts +319 -0
- package/dist/types/google/protobuf/timestamp.js +197 -0
- package/dist/types/google/protobuf/timestamp.mjs +161 -0
- package/dist/types/helper-func-types.d.ts +40 -0
- package/dist/types/helper-func-types.js +57 -0
- package/dist/types/helper-func-types.mjs +53 -0
- package/dist/types/helpers.d.ts +56 -0
- package/dist/types/helpers.js +161 -0
- package/dist/types/helpers.mjs +110 -0
- package/dist/types/index.d.ts +15 -0
- package/dist/types/index.js +32 -0
- package/dist/types/index.mjs +16 -0
- package/dist/types/registry.d.ts +35 -0
- package/dist/types/registry.js +200 -0
- package/dist/types/registry.mjs +163 -0
- package/dist/types/types.d.ts +74 -0
- package/dist/types/types.js +8 -0
- package/dist/types/types.mjs +7 -0
- package/package.json +97 -0
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
+
}) : function(o, v) {
|
|
16
|
+
o["default"] = v;
|
|
17
|
+
});
|
|
18
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
19
|
+
var ownKeys = function(o) {
|
|
20
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
21
|
+
var ar = [];
|
|
22
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
23
|
+
return ar;
|
|
24
|
+
};
|
|
25
|
+
return ownKeys(o);
|
|
26
|
+
};
|
|
27
|
+
return function (mod) {
|
|
28
|
+
if (mod && mod.__esModule) return mod;
|
|
29
|
+
var result = {};
|
|
30
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
31
|
+
__setModuleDefault(result, mod);
|
|
32
|
+
return result;
|
|
33
|
+
};
|
|
34
|
+
})();
|
|
35
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
36
|
+
exports.cosmos = void 0;
|
|
37
|
+
//@ts-nocheck
|
|
38
|
+
const _15 = __importStar(require("./bank/v1beta1/authz"));
|
|
39
|
+
const _16 = __importStar(require("./bank/v1beta1/bank"));
|
|
40
|
+
const _17 = __importStar(require("./bank/v1beta1/genesis"));
|
|
41
|
+
const _18 = __importStar(require("./bank/v1beta1/query"));
|
|
42
|
+
const _19 = __importStar(require("./bank/v1beta1/tx"));
|
|
43
|
+
const _20 = __importStar(require("./base/query/v1beta1/pagination"));
|
|
44
|
+
const _21 = __importStar(require("./base/v1beta1/coin"));
|
|
45
|
+
const _22 = __importStar(require("./msg/v1/msg"));
|
|
46
|
+
const _23 = __importStar(require("./query/v1/query"));
|
|
47
|
+
const _37 = __importStar(require("./bank/v1beta1/query.rpc.func"));
|
|
48
|
+
const _38 = __importStar(require("./bank/v1beta1/query.rpc.Query"));
|
|
49
|
+
const _39 = __importStar(require("./bank/v1beta1/tx.rpc.func"));
|
|
50
|
+
const _40 = __importStar(require("./bank/v1beta1/tx.rpc.msg"));
|
|
51
|
+
const _43 = __importStar(require("./rpc.query"));
|
|
52
|
+
const _44 = __importStar(require("./rpc.tx"));
|
|
53
|
+
var cosmos;
|
|
54
|
+
(function (cosmos) {
|
|
55
|
+
let bank;
|
|
56
|
+
(function (bank) {
|
|
57
|
+
bank.v1beta1 = {
|
|
58
|
+
..._15,
|
|
59
|
+
..._16,
|
|
60
|
+
..._17,
|
|
61
|
+
..._18,
|
|
62
|
+
..._19,
|
|
63
|
+
..._37,
|
|
64
|
+
..._38,
|
|
65
|
+
..._39,
|
|
66
|
+
..._40
|
|
67
|
+
};
|
|
68
|
+
})(bank = cosmos.bank || (cosmos.bank = {}));
|
|
69
|
+
let base;
|
|
70
|
+
(function (base) {
|
|
71
|
+
let query;
|
|
72
|
+
(function (query) {
|
|
73
|
+
query.v1beta1 = {
|
|
74
|
+
..._20
|
|
75
|
+
};
|
|
76
|
+
})(query = base.query || (base.query = {}));
|
|
77
|
+
base.v1beta1 = {
|
|
78
|
+
..._21
|
|
79
|
+
};
|
|
80
|
+
})(base = cosmos.base || (cosmos.base = {}));
|
|
81
|
+
let msg;
|
|
82
|
+
(function (msg) {
|
|
83
|
+
msg.v1 = {
|
|
84
|
+
..._22
|
|
85
|
+
};
|
|
86
|
+
})(msg = cosmos.msg || (cosmos.msg = {}));
|
|
87
|
+
let query;
|
|
88
|
+
(function (query) {
|
|
89
|
+
query.v1 = {
|
|
90
|
+
..._23
|
|
91
|
+
};
|
|
92
|
+
})(query = cosmos.query || (cosmos.query = {}));
|
|
93
|
+
cosmos.ClientFactory = {
|
|
94
|
+
..._43,
|
|
95
|
+
..._44
|
|
96
|
+
};
|
|
97
|
+
})(cosmos || (exports.cosmos = cosmos = {}));
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
//@ts-nocheck
|
|
2
|
+
import * as _15 from "./bank/v1beta1/authz";
|
|
3
|
+
import * as _16 from "./bank/v1beta1/bank";
|
|
4
|
+
import * as _17 from "./bank/v1beta1/genesis";
|
|
5
|
+
import * as _18 from "./bank/v1beta1/query";
|
|
6
|
+
import * as _19 from "./bank/v1beta1/tx";
|
|
7
|
+
import * as _20 from "./base/query/v1beta1/pagination";
|
|
8
|
+
import * as _21 from "./base/v1beta1/coin";
|
|
9
|
+
import * as _22 from "./msg/v1/msg";
|
|
10
|
+
import * as _23 from "./query/v1/query";
|
|
11
|
+
import * as _37 from "./bank/v1beta1/query.rpc.func";
|
|
12
|
+
import * as _38 from "./bank/v1beta1/query.rpc.Query";
|
|
13
|
+
import * as _39 from "./bank/v1beta1/tx.rpc.func";
|
|
14
|
+
import * as _40 from "./bank/v1beta1/tx.rpc.msg";
|
|
15
|
+
import * as _43 from "./rpc.query";
|
|
16
|
+
import * as _44 from "./rpc.tx";
|
|
17
|
+
export var cosmos;
|
|
18
|
+
(function (cosmos) {
|
|
19
|
+
let bank;
|
|
20
|
+
(function (bank) {
|
|
21
|
+
bank.v1beta1 = {
|
|
22
|
+
..._15,
|
|
23
|
+
..._16,
|
|
24
|
+
..._17,
|
|
25
|
+
..._18,
|
|
26
|
+
..._19,
|
|
27
|
+
..._37,
|
|
28
|
+
..._38,
|
|
29
|
+
..._39,
|
|
30
|
+
..._40
|
|
31
|
+
};
|
|
32
|
+
})(bank = cosmos.bank || (cosmos.bank = {}));
|
|
33
|
+
let base;
|
|
34
|
+
(function (base) {
|
|
35
|
+
let query;
|
|
36
|
+
(function (query) {
|
|
37
|
+
query.v1beta1 = {
|
|
38
|
+
..._20
|
|
39
|
+
};
|
|
40
|
+
})(query = base.query || (base.query = {}));
|
|
41
|
+
base.v1beta1 = {
|
|
42
|
+
..._21
|
|
43
|
+
};
|
|
44
|
+
})(base = cosmos.base || (cosmos.base = {}));
|
|
45
|
+
let msg;
|
|
46
|
+
(function (msg) {
|
|
47
|
+
msg.v1 = {
|
|
48
|
+
..._22
|
|
49
|
+
};
|
|
50
|
+
})(msg = cosmos.msg || (cosmos.msg = {}));
|
|
51
|
+
let query;
|
|
52
|
+
(function (query) {
|
|
53
|
+
query.v1 = {
|
|
54
|
+
..._23
|
|
55
|
+
};
|
|
56
|
+
})(query = cosmos.query || (cosmos.query = {}));
|
|
57
|
+
cosmos.ClientFactory = {
|
|
58
|
+
..._43,
|
|
59
|
+
..._44
|
|
60
|
+
};
|
|
61
|
+
})(cosmos || (cosmos = {}));
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { HttpEndpoint } from "@cosmjs/tendermint-rpc";
|
|
2
|
+
export declare const createRPCQueryClient: ({ rpcEndpoint }: {
|
|
3
|
+
rpcEndpoint: string | HttpEndpoint;
|
|
4
|
+
}) => Promise<{
|
|
5
|
+
cosmos: {
|
|
6
|
+
bank: {
|
|
7
|
+
v1beta1: {
|
|
8
|
+
balance(request: import("./bank/v1beta1/query").QueryBalanceRequest): Promise<import("./bank/v1beta1/query").QueryBalanceResponse>;
|
|
9
|
+
allBalances(request: import("./bank/v1beta1/query").QueryAllBalancesRequest): Promise<import("./bank/v1beta1/query").QueryAllBalancesResponse>;
|
|
10
|
+
spendableBalances(request: import("./bank/v1beta1/query").QuerySpendableBalancesRequest): Promise<import("./bank/v1beta1/query").QuerySpendableBalancesResponse>;
|
|
11
|
+
spendableBalanceByDenom(request: import("./bank/v1beta1/query").QuerySpendableBalanceByDenomRequest): Promise<import("./bank/v1beta1/query").QuerySpendableBalanceByDenomResponse>;
|
|
12
|
+
totalSupply(request?: import("./bank/v1beta1/query").QueryTotalSupplyRequest): Promise<import("./bank/v1beta1/query").QueryTotalSupplyResponse>;
|
|
13
|
+
supplyOf(request: import("./bank/v1beta1/query").QuerySupplyOfRequest): Promise<import("./bank/v1beta1/query").QuerySupplyOfResponse>;
|
|
14
|
+
params(request?: import("./bank/v1beta1/query").QueryParamsRequest): Promise<import("./bank/v1beta1/query").QueryParamsResponse>;
|
|
15
|
+
denomMetadata(request: import("./bank/v1beta1/query").QueryDenomMetadataRequest): Promise<import("./bank/v1beta1/query").QueryDenomMetadataResponse>;
|
|
16
|
+
denomMetadataByQueryString(request: import("./bank/v1beta1/query").QueryDenomMetadataByQueryStringRequest): Promise<import("./bank/v1beta1/query").QueryDenomMetadataByQueryStringResponse>;
|
|
17
|
+
denomsMetadata(request?: import("./bank/v1beta1/query").QueryDenomsMetadataRequest): Promise<import("./bank/v1beta1/query").QueryDenomsMetadataResponse>;
|
|
18
|
+
denomOwners(request: import("./bank/v1beta1/query").QueryDenomOwnersRequest): Promise<import("./bank/v1beta1/query").QueryDenomOwnersResponse>;
|
|
19
|
+
denomOwnersByQuery(request: import("./bank/v1beta1/query").QueryDenomOwnersByQueryRequest): Promise<import("./bank/v1beta1/query").QueryDenomOwnersByQueryResponse>;
|
|
20
|
+
sendEnabled(request: import("./bank/v1beta1/query").QuerySendEnabledRequest): Promise<import("./bank/v1beta1/query").QuerySendEnabledResponse>;
|
|
21
|
+
};
|
|
22
|
+
};
|
|
23
|
+
};
|
|
24
|
+
}>;
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
+
}) : function(o, v) {
|
|
16
|
+
o["default"] = v;
|
|
17
|
+
});
|
|
18
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
19
|
+
var ownKeys = function(o) {
|
|
20
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
21
|
+
var ar = [];
|
|
22
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
23
|
+
return ar;
|
|
24
|
+
};
|
|
25
|
+
return ownKeys(o);
|
|
26
|
+
};
|
|
27
|
+
return function (mod) {
|
|
28
|
+
if (mod && mod.__esModule) return mod;
|
|
29
|
+
var result = {};
|
|
30
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
31
|
+
__setModuleDefault(result, mod);
|
|
32
|
+
return result;
|
|
33
|
+
};
|
|
34
|
+
})();
|
|
35
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
36
|
+
exports.createRPCQueryClient = void 0;
|
|
37
|
+
//@ts-nocheck
|
|
38
|
+
const tendermint_rpc_1 = require("@cosmjs/tendermint-rpc");
|
|
39
|
+
const stargate_1 = require("@cosmjs/stargate");
|
|
40
|
+
const createRPCQueryClient = async ({ rpcEndpoint }) => {
|
|
41
|
+
const tmClient = await (0, tendermint_rpc_1.connectComet)(rpcEndpoint);
|
|
42
|
+
const client = new stargate_1.QueryClient(tmClient);
|
|
43
|
+
return {
|
|
44
|
+
cosmos: {
|
|
45
|
+
bank: {
|
|
46
|
+
v1beta1: (await Promise.resolve().then(() => __importStar(require("./bank/v1beta1/query.rpc.Query")))).createRpcQueryExtension(client)
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
};
|
|
50
|
+
};
|
|
51
|
+
exports.createRPCQueryClient = createRPCQueryClient;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
//@ts-nocheck
|
|
2
|
+
import { connectComet } from "@cosmjs/tendermint-rpc";
|
|
3
|
+
import { QueryClient } from "@cosmjs/stargate";
|
|
4
|
+
export const createRPCQueryClient = async ({ rpcEndpoint }) => {
|
|
5
|
+
const tmClient = await connectComet(rpcEndpoint);
|
|
6
|
+
const client = new QueryClient(tmClient);
|
|
7
|
+
return {
|
|
8
|
+
cosmos: {
|
|
9
|
+
bank: {
|
|
10
|
+
v1beta1: (await import("./bank/v1beta1/query.rpc.Query")).createRpcQueryExtension(client)
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
};
|
|
14
|
+
};
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
+
}) : function(o, v) {
|
|
16
|
+
o["default"] = v;
|
|
17
|
+
});
|
|
18
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
19
|
+
var ownKeys = function(o) {
|
|
20
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
21
|
+
var ar = [];
|
|
22
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
23
|
+
return ar;
|
|
24
|
+
};
|
|
25
|
+
return ownKeys(o);
|
|
26
|
+
};
|
|
27
|
+
return function (mod) {
|
|
28
|
+
if (mod && mod.__esModule) return mod;
|
|
29
|
+
var result = {};
|
|
30
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
31
|
+
__setModuleDefault(result, mod);
|
|
32
|
+
return result;
|
|
33
|
+
};
|
|
34
|
+
})();
|
|
35
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
36
|
+
exports.createRPCMsgClient = void 0;
|
|
37
|
+
const createRPCMsgClient = async ({ rpc }) => ({
|
|
38
|
+
cosmos: {
|
|
39
|
+
bank: {
|
|
40
|
+
v1beta1: new (await Promise.resolve().then(() => __importStar(require("./bank/v1beta1/tx.rpc.msg")))).MsgClientImpl(rpc)
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
});
|
|
44
|
+
exports.createRPCMsgClient = createRPCMsgClient;
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import * as _14 from "./cosmos";
|
|
2
|
+
export declare const cosmos_proto: {
|
|
3
|
+
scalarTypeFromJSON(object: any): _14.ScalarType;
|
|
4
|
+
scalarTypeToJSON(object: _14.ScalarType): string;
|
|
5
|
+
ScalarType: typeof _14.ScalarType;
|
|
6
|
+
ScalarTypeSDKType: typeof _14.ScalarType;
|
|
7
|
+
InterfaceDescriptor: {
|
|
8
|
+
typeUrl: string;
|
|
9
|
+
is(o: any): o is _14.InterfaceDescriptor;
|
|
10
|
+
isSDK(o: any): o is _14.InterfaceDescriptorSDKType;
|
|
11
|
+
encode(message: _14.InterfaceDescriptor, writer?: import("protobufjs").Writer): import("protobufjs").Writer;
|
|
12
|
+
decode(input: import("protobufjs").Reader | Uint8Array, length?: number): _14.InterfaceDescriptor;
|
|
13
|
+
fromPartial(object: Partial<_14.InterfaceDescriptor>): _14.InterfaceDescriptor;
|
|
14
|
+
fromProtoMsg(message: _14.InterfaceDescriptorProtoMsg): _14.InterfaceDescriptor;
|
|
15
|
+
toProto(message: _14.InterfaceDescriptor): Uint8Array;
|
|
16
|
+
toProtoMsg(message: _14.InterfaceDescriptor): _14.InterfaceDescriptorProtoMsg;
|
|
17
|
+
registerTypeUrl(): void;
|
|
18
|
+
};
|
|
19
|
+
ScalarDescriptor: {
|
|
20
|
+
typeUrl: string;
|
|
21
|
+
is(o: any): o is _14.ScalarDescriptor;
|
|
22
|
+
isSDK(o: any): o is _14.ScalarDescriptorSDKType;
|
|
23
|
+
encode(message: _14.ScalarDescriptor, writer?: import("protobufjs").Writer): import("protobufjs").Writer;
|
|
24
|
+
decode(input: import("protobufjs").Reader | Uint8Array, length?: number): _14.ScalarDescriptor;
|
|
25
|
+
fromPartial(object: Partial<_14.ScalarDescriptor>): _14.ScalarDescriptor;
|
|
26
|
+
fromProtoMsg(message: _14.ScalarDescriptorProtoMsg): _14.ScalarDescriptor;
|
|
27
|
+
toProto(message: _14.ScalarDescriptor): Uint8Array;
|
|
28
|
+
toProtoMsg(message: _14.ScalarDescriptor): _14.ScalarDescriptorProtoMsg;
|
|
29
|
+
registerTypeUrl(): void;
|
|
30
|
+
};
|
|
31
|
+
};
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
+
}) : function(o, v) {
|
|
16
|
+
o["default"] = v;
|
|
17
|
+
});
|
|
18
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
19
|
+
var ownKeys = function(o) {
|
|
20
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
21
|
+
var ar = [];
|
|
22
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
23
|
+
return ar;
|
|
24
|
+
};
|
|
25
|
+
return ownKeys(o);
|
|
26
|
+
};
|
|
27
|
+
return function (mod) {
|
|
28
|
+
if (mod && mod.__esModule) return mod;
|
|
29
|
+
var result = {};
|
|
30
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
31
|
+
__setModuleDefault(result, mod);
|
|
32
|
+
return result;
|
|
33
|
+
};
|
|
34
|
+
})();
|
|
35
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
36
|
+
exports.cosmos_proto = void 0;
|
|
37
|
+
//@ts-nocheck
|
|
38
|
+
const _14 = __importStar(require("./cosmos"));
|
|
39
|
+
exports.cosmos_proto = {
|
|
40
|
+
..._14
|
|
41
|
+
};
|
|
@@ -0,0 +1,144 @@
|
|
|
1
|
+
import * as _m0 from "protobufjs/minimal";
|
|
2
|
+
export declare enum ScalarType {
|
|
3
|
+
SCALAR_TYPE_UNSPECIFIED = 0,
|
|
4
|
+
SCALAR_TYPE_STRING = 1,
|
|
5
|
+
SCALAR_TYPE_BYTES = 2,
|
|
6
|
+
UNRECOGNIZED = -1
|
|
7
|
+
}
|
|
8
|
+
export declare const ScalarTypeSDKType: typeof ScalarType;
|
|
9
|
+
export declare function scalarTypeFromJSON(object: any): ScalarType;
|
|
10
|
+
export declare function scalarTypeToJSON(object: ScalarType): string;
|
|
11
|
+
/**
|
|
12
|
+
* InterfaceDescriptor describes an interface type to be used with
|
|
13
|
+
* accepts_interface and implements_interface and declared by declare_interface.
|
|
14
|
+
* @name InterfaceDescriptor
|
|
15
|
+
* @package cosmos_proto
|
|
16
|
+
* @see proto type: cosmos_proto.InterfaceDescriptor
|
|
17
|
+
*/
|
|
18
|
+
export interface InterfaceDescriptor {
|
|
19
|
+
/**
|
|
20
|
+
* name is the name of the interface. It should be a short-name (without
|
|
21
|
+
* a period) such that the fully qualified name of the interface will be
|
|
22
|
+
* package.name, ex. for the package a.b and interface named C, the
|
|
23
|
+
* fully-qualified name will be a.b.C.
|
|
24
|
+
*/
|
|
25
|
+
name: string;
|
|
26
|
+
/**
|
|
27
|
+
* description is a human-readable description of the interface and its
|
|
28
|
+
* purpose.
|
|
29
|
+
*/
|
|
30
|
+
description: string;
|
|
31
|
+
}
|
|
32
|
+
export interface InterfaceDescriptorProtoMsg {
|
|
33
|
+
typeUrl: "/cosmos_proto.InterfaceDescriptor";
|
|
34
|
+
value: Uint8Array;
|
|
35
|
+
}
|
|
36
|
+
/**
|
|
37
|
+
* InterfaceDescriptor describes an interface type to be used with
|
|
38
|
+
* accepts_interface and implements_interface and declared by declare_interface.
|
|
39
|
+
* @name InterfaceDescriptorSDKType
|
|
40
|
+
* @package cosmos_proto
|
|
41
|
+
* @see proto type: cosmos_proto.InterfaceDescriptor
|
|
42
|
+
*/
|
|
43
|
+
export interface InterfaceDescriptorSDKType {
|
|
44
|
+
name: string;
|
|
45
|
+
description: string;
|
|
46
|
+
}
|
|
47
|
+
/**
|
|
48
|
+
* ScalarDescriptor describes an scalar type to be used with
|
|
49
|
+
* the scalar field option and declared by declare_scalar.
|
|
50
|
+
* Scalars extend simple protobuf built-in types with additional
|
|
51
|
+
* syntax and semantics, for instance to represent big integers.
|
|
52
|
+
* Scalars should ideally define an encoding such that there is only one
|
|
53
|
+
* valid syntactical representation for a given semantic meaning,
|
|
54
|
+
* i.e. the encoding should be deterministic.
|
|
55
|
+
* @name ScalarDescriptor
|
|
56
|
+
* @package cosmos_proto
|
|
57
|
+
* @see proto type: cosmos_proto.ScalarDescriptor
|
|
58
|
+
*/
|
|
59
|
+
export interface ScalarDescriptor {
|
|
60
|
+
/**
|
|
61
|
+
* name is the name of the scalar. It should be a short-name (without
|
|
62
|
+
* a period) such that the fully qualified name of the scalar will be
|
|
63
|
+
* package.name, ex. for the package a.b and scalar named C, the
|
|
64
|
+
* fully-qualified name will be a.b.C.
|
|
65
|
+
*/
|
|
66
|
+
name: string;
|
|
67
|
+
/**
|
|
68
|
+
* description is a human-readable description of the scalar and its
|
|
69
|
+
* encoding format. For instance a big integer or decimal scalar should
|
|
70
|
+
* specify precisely the expected encoding format.
|
|
71
|
+
*/
|
|
72
|
+
description: string;
|
|
73
|
+
/**
|
|
74
|
+
* field_type is the type of field with which this scalar can be used.
|
|
75
|
+
* Scalars can be used with one and only one type of field so that
|
|
76
|
+
* encoding standards and simple and clear. Currently only string and
|
|
77
|
+
* bytes fields are supported for scalars.
|
|
78
|
+
*/
|
|
79
|
+
fieldType: ScalarType[];
|
|
80
|
+
}
|
|
81
|
+
export interface ScalarDescriptorProtoMsg {
|
|
82
|
+
typeUrl: "/cosmos_proto.ScalarDescriptor";
|
|
83
|
+
value: Uint8Array;
|
|
84
|
+
}
|
|
85
|
+
/**
|
|
86
|
+
* ScalarDescriptor describes an scalar type to be used with
|
|
87
|
+
* the scalar field option and declared by declare_scalar.
|
|
88
|
+
* Scalars extend simple protobuf built-in types with additional
|
|
89
|
+
* syntax and semantics, for instance to represent big integers.
|
|
90
|
+
* Scalars should ideally define an encoding such that there is only one
|
|
91
|
+
* valid syntactical representation for a given semantic meaning,
|
|
92
|
+
* i.e. the encoding should be deterministic.
|
|
93
|
+
* @name ScalarDescriptorSDKType
|
|
94
|
+
* @package cosmos_proto
|
|
95
|
+
* @see proto type: cosmos_proto.ScalarDescriptor
|
|
96
|
+
*/
|
|
97
|
+
export interface ScalarDescriptorSDKType {
|
|
98
|
+
name: string;
|
|
99
|
+
description: string;
|
|
100
|
+
field_type: ScalarType[];
|
|
101
|
+
}
|
|
102
|
+
/**
|
|
103
|
+
* InterfaceDescriptor describes an interface type to be used with
|
|
104
|
+
* accepts_interface and implements_interface and declared by declare_interface.
|
|
105
|
+
* @name InterfaceDescriptor
|
|
106
|
+
* @package cosmos_proto
|
|
107
|
+
* @see proto type: cosmos_proto.InterfaceDescriptor
|
|
108
|
+
*/
|
|
109
|
+
export declare const InterfaceDescriptor: {
|
|
110
|
+
typeUrl: string;
|
|
111
|
+
is(o: any): o is InterfaceDescriptor;
|
|
112
|
+
isSDK(o: any): o is InterfaceDescriptorSDKType;
|
|
113
|
+
encode(message: InterfaceDescriptor, writer?: _m0.Writer): _m0.Writer;
|
|
114
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): InterfaceDescriptor;
|
|
115
|
+
fromPartial(object: Partial<InterfaceDescriptor>): InterfaceDescriptor;
|
|
116
|
+
fromProtoMsg(message: InterfaceDescriptorProtoMsg): InterfaceDescriptor;
|
|
117
|
+
toProto(message: InterfaceDescriptor): Uint8Array;
|
|
118
|
+
toProtoMsg(message: InterfaceDescriptor): InterfaceDescriptorProtoMsg;
|
|
119
|
+
registerTypeUrl(): void;
|
|
120
|
+
};
|
|
121
|
+
/**
|
|
122
|
+
* ScalarDescriptor describes an scalar type to be used with
|
|
123
|
+
* the scalar field option and declared by declare_scalar.
|
|
124
|
+
* Scalars extend simple protobuf built-in types with additional
|
|
125
|
+
* syntax and semantics, for instance to represent big integers.
|
|
126
|
+
* Scalars should ideally define an encoding such that there is only one
|
|
127
|
+
* valid syntactical representation for a given semantic meaning,
|
|
128
|
+
* i.e. the encoding should be deterministic.
|
|
129
|
+
* @name ScalarDescriptor
|
|
130
|
+
* @package cosmos_proto
|
|
131
|
+
* @see proto type: cosmos_proto.ScalarDescriptor
|
|
132
|
+
*/
|
|
133
|
+
export declare const ScalarDescriptor: {
|
|
134
|
+
typeUrl: string;
|
|
135
|
+
is(o: any): o is ScalarDescriptor;
|
|
136
|
+
isSDK(o: any): o is ScalarDescriptorSDKType;
|
|
137
|
+
encode(message: ScalarDescriptor, writer?: _m0.Writer): _m0.Writer;
|
|
138
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): ScalarDescriptor;
|
|
139
|
+
fromPartial(object: Partial<ScalarDescriptor>): ScalarDescriptor;
|
|
140
|
+
fromProtoMsg(message: ScalarDescriptorProtoMsg): ScalarDescriptor;
|
|
141
|
+
toProto(message: ScalarDescriptor): Uint8Array;
|
|
142
|
+
toProtoMsg(message: ScalarDescriptor): ScalarDescriptorProtoMsg;
|
|
143
|
+
registerTypeUrl(): void;
|
|
144
|
+
};
|