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,98 @@
|
|
|
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.atlas = void 0;
|
|
37
|
+
//@ts-nocheck
|
|
38
|
+
const _1 = __importStar(require("./filetree/v1/genesis"));
|
|
39
|
+
const _2 = __importStar(require("./filetree/v1/params"));
|
|
40
|
+
const _3 = __importStar(require("./filetree/v1/query"));
|
|
41
|
+
const _4 = __importStar(require("./filetree/v1/tree"));
|
|
42
|
+
const _5 = __importStar(require("./filetree/v1/tx"));
|
|
43
|
+
const _6 = __importStar(require("./storage/v1/file"));
|
|
44
|
+
const _7 = __importStar(require("./storage/v1/genesis"));
|
|
45
|
+
const _8 = __importStar(require("./storage/v1/params"));
|
|
46
|
+
const _9 = __importStar(require("./storage/v1/proof"));
|
|
47
|
+
const _10 = __importStar(require("./storage/v1/provider"));
|
|
48
|
+
const _11 = __importStar(require("./storage/v1/query"));
|
|
49
|
+
const _12 = __importStar(require("./storage/v1/subscription"));
|
|
50
|
+
const _13 = __importStar(require("./storage/v1/tx"));
|
|
51
|
+
const _29 = __importStar(require("./filetree/v1/query.rpc.func"));
|
|
52
|
+
const _30 = __importStar(require("./storage/v1/query.rpc.func"));
|
|
53
|
+
const _31 = __importStar(require("./filetree/v1/query.rpc.Query"));
|
|
54
|
+
const _32 = __importStar(require("./storage/v1/query.rpc.Query"));
|
|
55
|
+
const _33 = __importStar(require("./filetree/v1/tx.rpc.func"));
|
|
56
|
+
const _34 = __importStar(require("./storage/v1/tx.rpc.func"));
|
|
57
|
+
const _35 = __importStar(require("./filetree/v1/tx.rpc.msg"));
|
|
58
|
+
const _36 = __importStar(require("./storage/v1/tx.rpc.msg"));
|
|
59
|
+
const _41 = __importStar(require("./rpc.query"));
|
|
60
|
+
const _42 = __importStar(require("./rpc.tx"));
|
|
61
|
+
var atlas;
|
|
62
|
+
(function (atlas) {
|
|
63
|
+
let filetree;
|
|
64
|
+
(function (filetree) {
|
|
65
|
+
filetree.v1 = {
|
|
66
|
+
..._1,
|
|
67
|
+
..._2,
|
|
68
|
+
..._3,
|
|
69
|
+
..._4,
|
|
70
|
+
..._5,
|
|
71
|
+
..._29,
|
|
72
|
+
..._31,
|
|
73
|
+
..._33,
|
|
74
|
+
..._35
|
|
75
|
+
};
|
|
76
|
+
})(filetree = atlas.filetree || (atlas.filetree = {}));
|
|
77
|
+
let storage;
|
|
78
|
+
(function (storage) {
|
|
79
|
+
storage.v1 = {
|
|
80
|
+
..._6,
|
|
81
|
+
..._7,
|
|
82
|
+
..._8,
|
|
83
|
+
..._9,
|
|
84
|
+
..._10,
|
|
85
|
+
..._11,
|
|
86
|
+
..._12,
|
|
87
|
+
..._13,
|
|
88
|
+
..._30,
|
|
89
|
+
..._32,
|
|
90
|
+
..._34,
|
|
91
|
+
..._36
|
|
92
|
+
};
|
|
93
|
+
})(storage = atlas.storage || (atlas.storage = {}));
|
|
94
|
+
atlas.ClientFactory = {
|
|
95
|
+
..._41,
|
|
96
|
+
..._42
|
|
97
|
+
};
|
|
98
|
+
})(atlas || (exports.atlas = atlas = {}));
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
//@ts-nocheck
|
|
2
|
+
import * as _1 from "./filetree/v1/genesis";
|
|
3
|
+
import * as _2 from "./filetree/v1/params";
|
|
4
|
+
import * as _3 from "./filetree/v1/query";
|
|
5
|
+
import * as _4 from "./filetree/v1/tree";
|
|
6
|
+
import * as _5 from "./filetree/v1/tx";
|
|
7
|
+
import * as _6 from "./storage/v1/file";
|
|
8
|
+
import * as _7 from "./storage/v1/genesis";
|
|
9
|
+
import * as _8 from "./storage/v1/params";
|
|
10
|
+
import * as _9 from "./storage/v1/proof";
|
|
11
|
+
import * as _10 from "./storage/v1/provider";
|
|
12
|
+
import * as _11 from "./storage/v1/query";
|
|
13
|
+
import * as _12 from "./storage/v1/subscription";
|
|
14
|
+
import * as _13 from "./storage/v1/tx";
|
|
15
|
+
import * as _29 from "./filetree/v1/query.rpc.func";
|
|
16
|
+
import * as _30 from "./storage/v1/query.rpc.func";
|
|
17
|
+
import * as _31 from "./filetree/v1/query.rpc.Query";
|
|
18
|
+
import * as _32 from "./storage/v1/query.rpc.Query";
|
|
19
|
+
import * as _33 from "./filetree/v1/tx.rpc.func";
|
|
20
|
+
import * as _34 from "./storage/v1/tx.rpc.func";
|
|
21
|
+
import * as _35 from "./filetree/v1/tx.rpc.msg";
|
|
22
|
+
import * as _36 from "./storage/v1/tx.rpc.msg";
|
|
23
|
+
import * as _41 from "./rpc.query";
|
|
24
|
+
import * as _42 from "./rpc.tx";
|
|
25
|
+
export var atlas;
|
|
26
|
+
(function (atlas) {
|
|
27
|
+
let filetree;
|
|
28
|
+
(function (filetree) {
|
|
29
|
+
filetree.v1 = {
|
|
30
|
+
..._1,
|
|
31
|
+
..._2,
|
|
32
|
+
..._3,
|
|
33
|
+
..._4,
|
|
34
|
+
..._5,
|
|
35
|
+
..._29,
|
|
36
|
+
..._31,
|
|
37
|
+
..._33,
|
|
38
|
+
..._35
|
|
39
|
+
};
|
|
40
|
+
})(filetree = atlas.filetree || (atlas.filetree = {}));
|
|
41
|
+
let storage;
|
|
42
|
+
(function (storage) {
|
|
43
|
+
storage.v1 = {
|
|
44
|
+
..._6,
|
|
45
|
+
..._7,
|
|
46
|
+
..._8,
|
|
47
|
+
..._9,
|
|
48
|
+
..._10,
|
|
49
|
+
..._11,
|
|
50
|
+
..._12,
|
|
51
|
+
..._13,
|
|
52
|
+
..._30,
|
|
53
|
+
..._32,
|
|
54
|
+
..._34,
|
|
55
|
+
..._36
|
|
56
|
+
};
|
|
57
|
+
})(storage = atlas.storage || (atlas.storage = {}));
|
|
58
|
+
atlas.ClientFactory = {
|
|
59
|
+
..._41,
|
|
60
|
+
..._42
|
|
61
|
+
};
|
|
62
|
+
})(atlas || (atlas = {}));
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import { Params, ParamsSDKType } from "./params";
|
|
2
|
+
import * as _m0 from "protobufjs/minimal";
|
|
3
|
+
/**
|
|
4
|
+
* GenesisState defines the filetree module's genesis state.
|
|
5
|
+
* @name GenesisState
|
|
6
|
+
* @package atlas.filetree.v1
|
|
7
|
+
* @see proto type: atlas.filetree.v1.GenesisState
|
|
8
|
+
*/
|
|
9
|
+
export interface GenesisState {
|
|
10
|
+
/**
|
|
11
|
+
* params defines all the parameters of the module.
|
|
12
|
+
*/
|
|
13
|
+
params: Params;
|
|
14
|
+
}
|
|
15
|
+
export interface GenesisStateProtoMsg {
|
|
16
|
+
typeUrl: "/atlas.filetree.v1.GenesisState";
|
|
17
|
+
value: Uint8Array;
|
|
18
|
+
}
|
|
19
|
+
/**
|
|
20
|
+
* GenesisState defines the filetree module's genesis state.
|
|
21
|
+
* @name GenesisStateSDKType
|
|
22
|
+
* @package atlas.filetree.v1
|
|
23
|
+
* @see proto type: atlas.filetree.v1.GenesisState
|
|
24
|
+
*/
|
|
25
|
+
export interface GenesisStateSDKType {
|
|
26
|
+
params: ParamsSDKType;
|
|
27
|
+
}
|
|
28
|
+
/**
|
|
29
|
+
* GenesisState defines the filetree module's genesis state.
|
|
30
|
+
* @name GenesisState
|
|
31
|
+
* @package atlas.filetree.v1
|
|
32
|
+
* @see proto type: atlas.filetree.v1.GenesisState
|
|
33
|
+
*/
|
|
34
|
+
export declare const GenesisState: {
|
|
35
|
+
typeUrl: string;
|
|
36
|
+
is(o: any): o is GenesisState;
|
|
37
|
+
isSDK(o: any): o is GenesisStateSDKType;
|
|
38
|
+
encode(message: GenesisState, writer?: _m0.Writer): _m0.Writer;
|
|
39
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): GenesisState;
|
|
40
|
+
fromPartial(object: Partial<GenesisState>): GenesisState;
|
|
41
|
+
fromProtoMsg(message: GenesisStateProtoMsg): GenesisState;
|
|
42
|
+
toProto(message: GenesisState): Uint8Array;
|
|
43
|
+
toProtoMsg(message: GenesisState): GenesisStateProtoMsg;
|
|
44
|
+
registerTypeUrl(): void;
|
|
45
|
+
};
|
|
@@ -0,0 +1,107 @@
|
|
|
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.GenesisState = void 0;
|
|
37
|
+
//@ts-nocheck
|
|
38
|
+
const params_1 = require("./params");
|
|
39
|
+
const _m0 = __importStar(require("protobufjs/minimal"));
|
|
40
|
+
const registry_1 = require("../../../registry");
|
|
41
|
+
function createBaseGenesisState() {
|
|
42
|
+
return {
|
|
43
|
+
params: params_1.Params.fromPartial({})
|
|
44
|
+
};
|
|
45
|
+
}
|
|
46
|
+
/**
|
|
47
|
+
* GenesisState defines the filetree module's genesis state.
|
|
48
|
+
* @name GenesisState
|
|
49
|
+
* @package atlas.filetree.v1
|
|
50
|
+
* @see proto type: atlas.filetree.v1.GenesisState
|
|
51
|
+
*/
|
|
52
|
+
exports.GenesisState = {
|
|
53
|
+
typeUrl: "/atlas.filetree.v1.GenesisState",
|
|
54
|
+
is(o) {
|
|
55
|
+
return o && (o.$typeUrl === exports.GenesisState.typeUrl || params_1.Params.is(o.params));
|
|
56
|
+
},
|
|
57
|
+
isSDK(o) {
|
|
58
|
+
return o && (o.$typeUrl === exports.GenesisState.typeUrl || params_1.Params.isSDK(o.params));
|
|
59
|
+
},
|
|
60
|
+
encode(message, writer = _m0.Writer.create()) {
|
|
61
|
+
if (message.params !== undefined) {
|
|
62
|
+
params_1.Params.encode(message.params, writer.uint32(10).fork()).ldelim();
|
|
63
|
+
}
|
|
64
|
+
return writer;
|
|
65
|
+
},
|
|
66
|
+
decode(input, length) {
|
|
67
|
+
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
|
68
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
69
|
+
const message = createBaseGenesisState();
|
|
70
|
+
while (reader.pos < end) {
|
|
71
|
+
const tag = reader.uint32();
|
|
72
|
+
switch (tag >>> 3) {
|
|
73
|
+
case 1:
|
|
74
|
+
message.params = params_1.Params.decode(reader, reader.uint32());
|
|
75
|
+
break;
|
|
76
|
+
default:
|
|
77
|
+
reader.skipType(tag & 7);
|
|
78
|
+
break;
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
return message;
|
|
82
|
+
},
|
|
83
|
+
fromPartial(object) {
|
|
84
|
+
const message = createBaseGenesisState();
|
|
85
|
+
message.params = object.params !== undefined && object.params !== null ? params_1.Params.fromPartial(object.params) : undefined;
|
|
86
|
+
return message;
|
|
87
|
+
},
|
|
88
|
+
fromProtoMsg(message) {
|
|
89
|
+
return exports.GenesisState.decode(message.value);
|
|
90
|
+
},
|
|
91
|
+
toProto(message) {
|
|
92
|
+
return exports.GenesisState.encode(message).finish();
|
|
93
|
+
},
|
|
94
|
+
toProtoMsg(message) {
|
|
95
|
+
return {
|
|
96
|
+
typeUrl: "/atlas.filetree.v1.GenesisState",
|
|
97
|
+
value: exports.GenesisState.encode(message).finish()
|
|
98
|
+
};
|
|
99
|
+
},
|
|
100
|
+
registerTypeUrl() {
|
|
101
|
+
if (!registry_1.GlobalDecoderRegistry.registerExistingTypeUrl(exports.GenesisState.typeUrl)) {
|
|
102
|
+
return;
|
|
103
|
+
}
|
|
104
|
+
params_1.Params.registerTypeUrl();
|
|
105
|
+
}
|
|
106
|
+
};
|
|
107
|
+
registry_1.GlobalDecoderRegistry.register(exports.GenesisState.typeUrl, exports.GenesisState);
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
//@ts-nocheck
|
|
2
|
+
import { Params } from "./params";
|
|
3
|
+
import * as _m0 from "protobufjs/minimal";
|
|
4
|
+
import { GlobalDecoderRegistry } from "../../../registry";
|
|
5
|
+
function createBaseGenesisState() {
|
|
6
|
+
return {
|
|
7
|
+
params: Params.fromPartial({})
|
|
8
|
+
};
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* GenesisState defines the filetree module's genesis state.
|
|
12
|
+
* @name GenesisState
|
|
13
|
+
* @package atlas.filetree.v1
|
|
14
|
+
* @see proto type: atlas.filetree.v1.GenesisState
|
|
15
|
+
*/
|
|
16
|
+
export const GenesisState = {
|
|
17
|
+
typeUrl: "/atlas.filetree.v1.GenesisState",
|
|
18
|
+
is(o) {
|
|
19
|
+
return o && (o.$typeUrl === GenesisState.typeUrl || Params.is(o.params));
|
|
20
|
+
},
|
|
21
|
+
isSDK(o) {
|
|
22
|
+
return o && (o.$typeUrl === GenesisState.typeUrl || Params.isSDK(o.params));
|
|
23
|
+
},
|
|
24
|
+
encode(message, writer = _m0.Writer.create()) {
|
|
25
|
+
if (message.params !== undefined) {
|
|
26
|
+
Params.encode(message.params, writer.uint32(10).fork()).ldelim();
|
|
27
|
+
}
|
|
28
|
+
return writer;
|
|
29
|
+
},
|
|
30
|
+
decode(input, length) {
|
|
31
|
+
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
|
32
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
33
|
+
const message = createBaseGenesisState();
|
|
34
|
+
while (reader.pos < end) {
|
|
35
|
+
const tag = reader.uint32();
|
|
36
|
+
switch (tag >>> 3) {
|
|
37
|
+
case 1:
|
|
38
|
+
message.params = Params.decode(reader, reader.uint32());
|
|
39
|
+
break;
|
|
40
|
+
default:
|
|
41
|
+
reader.skipType(tag & 7);
|
|
42
|
+
break;
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
return message;
|
|
46
|
+
},
|
|
47
|
+
fromPartial(object) {
|
|
48
|
+
const message = createBaseGenesisState();
|
|
49
|
+
message.params = object.params !== undefined && object.params !== null ? Params.fromPartial(object.params) : undefined;
|
|
50
|
+
return message;
|
|
51
|
+
},
|
|
52
|
+
fromProtoMsg(message) {
|
|
53
|
+
return GenesisState.decode(message.value);
|
|
54
|
+
},
|
|
55
|
+
toProto(message) {
|
|
56
|
+
return GenesisState.encode(message).finish();
|
|
57
|
+
},
|
|
58
|
+
toProtoMsg(message) {
|
|
59
|
+
return {
|
|
60
|
+
typeUrl: "/atlas.filetree.v1.GenesisState",
|
|
61
|
+
value: GenesisState.encode(message).finish()
|
|
62
|
+
};
|
|
63
|
+
},
|
|
64
|
+
registerTypeUrl() {
|
|
65
|
+
if (!GlobalDecoderRegistry.registerExistingTypeUrl(GenesisState.typeUrl)) {
|
|
66
|
+
return;
|
|
67
|
+
}
|
|
68
|
+
Params.registerTypeUrl();
|
|
69
|
+
}
|
|
70
|
+
};
|
|
71
|
+
GlobalDecoderRegistry.register(GenesisState.typeUrl, GenesisState);
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import * as _m0 from "protobufjs/minimal";
|
|
2
|
+
/**
|
|
3
|
+
* Params defines the parameters for the module.
|
|
4
|
+
* @name Params
|
|
5
|
+
* @package atlas.filetree.v1
|
|
6
|
+
* @see proto type: atlas.filetree.v1.Params
|
|
7
|
+
*/
|
|
8
|
+
export interface Params {
|
|
9
|
+
}
|
|
10
|
+
export interface ParamsProtoMsg {
|
|
11
|
+
typeUrl: "/atlas.filetree.v1.Params";
|
|
12
|
+
value: Uint8Array;
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* Params defines the parameters for the module.
|
|
16
|
+
* @name ParamsSDKType
|
|
17
|
+
* @package atlas.filetree.v1
|
|
18
|
+
* @see proto type: atlas.filetree.v1.Params
|
|
19
|
+
*/
|
|
20
|
+
export interface ParamsSDKType {
|
|
21
|
+
}
|
|
22
|
+
/**
|
|
23
|
+
* Params defines the parameters for the module.
|
|
24
|
+
* @name Params
|
|
25
|
+
* @package atlas.filetree.v1
|
|
26
|
+
* @see proto type: atlas.filetree.v1.Params
|
|
27
|
+
*/
|
|
28
|
+
export declare const Params: {
|
|
29
|
+
typeUrl: string;
|
|
30
|
+
aminoType: string;
|
|
31
|
+
is(o: any): o is Params;
|
|
32
|
+
isSDK(o: any): o is ParamsSDKType;
|
|
33
|
+
encode(_: Params, writer?: _m0.Writer): _m0.Writer;
|
|
34
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): Params;
|
|
35
|
+
fromPartial(_: Partial<Params>): Params;
|
|
36
|
+
fromProtoMsg(message: ParamsProtoMsg): Params;
|
|
37
|
+
toProto(message: Params): Uint8Array;
|
|
38
|
+
toProtoMsg(message: Params): ParamsProtoMsg;
|
|
39
|
+
registerTypeUrl(): void;
|
|
40
|
+
};
|
|
@@ -0,0 +1,94 @@
|
|
|
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.Params = void 0;
|
|
37
|
+
//@ts-nocheck
|
|
38
|
+
const _m0 = __importStar(require("protobufjs/minimal"));
|
|
39
|
+
const registry_1 = require("../../../registry");
|
|
40
|
+
function createBaseParams() {
|
|
41
|
+
return {};
|
|
42
|
+
}
|
|
43
|
+
/**
|
|
44
|
+
* Params defines the parameters for the module.
|
|
45
|
+
* @name Params
|
|
46
|
+
* @package atlas.filetree.v1
|
|
47
|
+
* @see proto type: atlas.filetree.v1.Params
|
|
48
|
+
*/
|
|
49
|
+
exports.Params = {
|
|
50
|
+
typeUrl: "/atlas.filetree.v1.Params",
|
|
51
|
+
aminoType: "atlas/x/filetree/Params",
|
|
52
|
+
is(o) {
|
|
53
|
+
return o && o.$typeUrl === exports.Params.typeUrl;
|
|
54
|
+
},
|
|
55
|
+
isSDK(o) {
|
|
56
|
+
return o && o.$typeUrl === exports.Params.typeUrl;
|
|
57
|
+
},
|
|
58
|
+
encode(_, writer = _m0.Writer.create()) {
|
|
59
|
+
return writer;
|
|
60
|
+
},
|
|
61
|
+
decode(input, length) {
|
|
62
|
+
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
|
63
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
64
|
+
const message = createBaseParams();
|
|
65
|
+
while (reader.pos < end) {
|
|
66
|
+
const tag = reader.uint32();
|
|
67
|
+
switch (tag >>> 3) {
|
|
68
|
+
default:
|
|
69
|
+
reader.skipType(tag & 7);
|
|
70
|
+
break;
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
return message;
|
|
74
|
+
},
|
|
75
|
+
fromPartial(_) {
|
|
76
|
+
const message = createBaseParams();
|
|
77
|
+
return message;
|
|
78
|
+
},
|
|
79
|
+
fromProtoMsg(message) {
|
|
80
|
+
return exports.Params.decode(message.value);
|
|
81
|
+
},
|
|
82
|
+
toProto(message) {
|
|
83
|
+
return exports.Params.encode(message).finish();
|
|
84
|
+
},
|
|
85
|
+
toProtoMsg(message) {
|
|
86
|
+
return {
|
|
87
|
+
typeUrl: "/atlas.filetree.v1.Params",
|
|
88
|
+
value: exports.Params.encode(message).finish()
|
|
89
|
+
};
|
|
90
|
+
},
|
|
91
|
+
registerTypeUrl() { }
|
|
92
|
+
};
|
|
93
|
+
registry_1.GlobalDecoderRegistry.register(exports.Params.typeUrl, exports.Params);
|
|
94
|
+
registry_1.GlobalDecoderRegistry.registerAminoProtoMapping(exports.Params.aminoType, exports.Params.typeUrl);
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
//@ts-nocheck
|
|
2
|
+
import * as _m0 from "protobufjs/minimal";
|
|
3
|
+
import { GlobalDecoderRegistry } from "../../../registry";
|
|
4
|
+
function createBaseParams() {
|
|
5
|
+
return {};
|
|
6
|
+
}
|
|
7
|
+
/**
|
|
8
|
+
* Params defines the parameters for the module.
|
|
9
|
+
* @name Params
|
|
10
|
+
* @package atlas.filetree.v1
|
|
11
|
+
* @see proto type: atlas.filetree.v1.Params
|
|
12
|
+
*/
|
|
13
|
+
export const Params = {
|
|
14
|
+
typeUrl: "/atlas.filetree.v1.Params",
|
|
15
|
+
aminoType: "atlas/x/filetree/Params",
|
|
16
|
+
is(o) {
|
|
17
|
+
return o && o.$typeUrl === Params.typeUrl;
|
|
18
|
+
},
|
|
19
|
+
isSDK(o) {
|
|
20
|
+
return o && o.$typeUrl === Params.typeUrl;
|
|
21
|
+
},
|
|
22
|
+
encode(_, writer = _m0.Writer.create()) {
|
|
23
|
+
return writer;
|
|
24
|
+
},
|
|
25
|
+
decode(input, length) {
|
|
26
|
+
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
|
27
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
28
|
+
const message = createBaseParams();
|
|
29
|
+
while (reader.pos < end) {
|
|
30
|
+
const tag = reader.uint32();
|
|
31
|
+
switch (tag >>> 3) {
|
|
32
|
+
default:
|
|
33
|
+
reader.skipType(tag & 7);
|
|
34
|
+
break;
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
return message;
|
|
38
|
+
},
|
|
39
|
+
fromPartial(_) {
|
|
40
|
+
const message = createBaseParams();
|
|
41
|
+
return message;
|
|
42
|
+
},
|
|
43
|
+
fromProtoMsg(message) {
|
|
44
|
+
return Params.decode(message.value);
|
|
45
|
+
},
|
|
46
|
+
toProto(message) {
|
|
47
|
+
return Params.encode(message).finish();
|
|
48
|
+
},
|
|
49
|
+
toProtoMsg(message) {
|
|
50
|
+
return {
|
|
51
|
+
typeUrl: "/atlas.filetree.v1.Params",
|
|
52
|
+
value: Params.encode(message).finish()
|
|
53
|
+
};
|
|
54
|
+
},
|
|
55
|
+
registerTypeUrl() { }
|
|
56
|
+
};
|
|
57
|
+
GlobalDecoderRegistry.register(Params.typeUrl, Params);
|
|
58
|
+
GlobalDecoderRegistry.registerAminoProtoMapping(Params.aminoType, Params.typeUrl);
|