@gitopia/gitopiajs 0.0.4 → 0.0.6
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/dist/LICENSE +21 -0
- package/dist/amino/amino.d.ts +1 -0
- package/dist/amino/amino.js +2 -0
- package/dist/amino/bundle.d.ts +1 -0
- package/dist/amino/bundle.js +41 -0
- package/dist/binary.d.ts +130 -0
- package/dist/binary.js +371 -0
- package/dist/cosmos/bank/v1beta1/bank.d.ts +407 -0
- package/dist/cosmos/bank/v1beta1/bank.js +664 -0
- package/dist/cosmos/bank/v1beta1/query.d.ts +1062 -0
- package/dist/cosmos/bank/v1beta1/query.js +1759 -0
- package/dist/cosmos/bank/v1beta1/query.lcd.d.ts +19 -0
- package/dist/cosmos/bank/v1beta1/query.lcd.js +173 -0
- package/dist/cosmos/bank/v1beta1/query.rpc.Query.d.ts +106 -0
- package/dist/cosmos/bank/v1beta1/query.rpc.Query.js +123 -0
- package/dist/cosmos/base/query/v1beta1/pagination.d.ts +190 -0
- package/dist/cosmos/base/query/v1beta1/pagination.js +204 -0
- package/dist/cosmos/base/v1beta1/coin.d.ts +193 -0
- package/dist/cosmos/base/v1beta1/coin.js +306 -0
- package/dist/cosmos/bundle.d.ts +2311 -0
- package/dist/cosmos/bundle.js +134 -0
- package/dist/cosmos/client.d.ts +84 -0
- package/dist/cosmos/client.js +65 -0
- package/dist/cosmos/feegrant/v1beta1/feegrant.d.ts +245 -0
- package/dist/cosmos/feegrant/v1beta1/feegrant.js +456 -0
- package/dist/cosmos/feegrant/v1beta1/query.d.ts +258 -0
- package/dist/cosmos/feegrant/v1beta1/query.js +487 -0
- package/dist/cosmos/feegrant/v1beta1/query.lcd.d.ts +11 -0
- package/dist/cosmos/feegrant/v1beta1/query.lcd.js +44 -0
- package/dist/cosmos/feegrant/v1beta1/query.rpc.Query.d.ts +28 -0
- package/dist/cosmos/feegrant/v1beta1/query.rpc.Query.js +47 -0
- package/dist/cosmos/gov/v1beta1/gov.d.ts +571 -0
- package/dist/cosmos/gov/v1beta1/gov.js +1122 -0
- package/dist/cosmos/gov/v1beta1/query.d.ts +636 -0
- package/dist/cosmos/gov/v1beta1/query.js +1264 -0
- package/dist/cosmos/gov/v1beta1/query.lcd.d.ts +16 -0
- package/dist/cosmos/gov/v1beta1/query.lcd.js +87 -0
- package/dist/cosmos/gov/v1beta1/query.rpc.Query.d.ts +44 -0
- package/dist/cosmos/gov/v1beta1/query.rpc.Query.js +92 -0
- package/dist/cosmos/group/v1/query.d.ts +1097 -0
- package/dist/cosmos/group/v1/query.js +2182 -0
- package/dist/cosmos/group/v1/query.lcd.d.ts +22 -0
- package/dist/cosmos/group/v1/query.lcd.js +158 -0
- package/dist/cosmos/group/v1/query.rpc.Query.d.ts +78 -0
- package/dist/cosmos/group/v1/query.rpc.Query.js +148 -0
- package/dist/cosmos/group/v1/tx.amino.d.ts +73 -0
- package/dist/cosmos/group/v1/tx.amino.js +77 -0
- package/dist/cosmos/group/v1/tx.d.ts +1198 -0
- package/dist/cosmos/group/v1/tx.js +2362 -0
- package/dist/cosmos/group/v1/tx.registry.d.ts +180 -0
- package/dist/cosmos/group/v1/tx.registry.js +271 -0
- package/dist/cosmos/group/v1/tx.rpc.msg.d.ts +51 -0
- package/dist/cosmos/group/v1/tx.rpc.msg.js +96 -0
- package/dist/cosmos/group/v1/types.d.ts +873 -0
- package/dist/cosmos/group/v1/types.js +1495 -0
- package/dist/cosmos/msg/v1/msg.d.ts +1 -0
- package/dist/cosmos/msg/v1/msg.js +2 -0
- package/dist/cosmos/query/v1/query.d.ts +1 -0
- package/dist/cosmos/query/v1/query.js +2 -0
- package/dist/cosmos/rpc.query.d.ts +59 -0
- package/dist/cosmos/rpc.query.js +60 -0
- package/dist/cosmos/rpc.tx.d.ts +10 -0
- package/dist/cosmos/rpc.tx.js +44 -0
- package/dist/cosmos/upgrade/v1beta1/upgrade.d.ts +278 -0
- package/dist/cosmos/upgrade/v1beta1/upgrade.js +382 -0
- package/dist/cosmos_proto/bundle.d.ts +32 -0
- package/dist/cosmos_proto/bundle.js +41 -0
- package/dist/cosmos_proto/cosmos.d.ts +171 -0
- package/dist/cosmos_proto/cosmos.js +221 -0
- package/dist/esm/amino/amino.js +1 -0
- package/dist/esm/amino/bundle.js +5 -0
- package/dist/esm/binary.js +366 -0
- package/dist/esm/cosmos/bank/v1beta1/bank.js +661 -0
- package/dist/esm/cosmos/bank/v1beta1/query.js +1756 -0
- package/dist/esm/cosmos/bank/v1beta1/query.lcd.js +169 -0
- package/dist/esm/cosmos/bank/v1beta1/query.rpc.Query.js +118 -0
- package/dist/esm/cosmos/base/query/v1beta1/pagination.js +201 -0
- package/dist/esm/cosmos/base/v1beta1/coin.js +303 -0
- package/dist/esm/cosmos/bundle.js +98 -0
- package/dist/esm/cosmos/client.js +27 -0
- package/dist/esm/cosmos/feegrant/v1beta1/feegrant.js +450 -0
- package/dist/esm/cosmos/feegrant/v1beta1/query.js +484 -0
- package/dist/esm/cosmos/feegrant/v1beta1/query.lcd.js +40 -0
- package/dist/esm/cosmos/feegrant/v1beta1/query.rpc.Query.js +42 -0
- package/dist/esm/cosmos/gov/v1beta1/gov.js +1112 -0
- package/dist/esm/cosmos/gov/v1beta1/query.js +1261 -0
- package/dist/esm/cosmos/gov/v1beta1/query.lcd.js +83 -0
- package/dist/esm/cosmos/gov/v1beta1/query.rpc.Query.js +87 -0
- package/dist/esm/cosmos/group/v1/query.js +2179 -0
- package/dist/esm/cosmos/group/v1/query.lcd.js +154 -0
- package/dist/esm/cosmos/group/v1/query.rpc.Query.js +143 -0
- package/dist/esm/cosmos/group/v1/tx.amino.js +74 -0
- package/dist/esm/cosmos/group/v1/tx.js +2354 -0
- package/dist/esm/cosmos/group/v1/tx.registry.js +267 -0
- package/dist/esm/cosmos/group/v1/tx.rpc.msg.js +92 -0
- package/dist/esm/cosmos/group/v1/types.js +1483 -0
- package/dist/esm/cosmos/msg/v1/msg.js +1 -0
- package/dist/esm/cosmos/query/v1/query.js +1 -0
- package/dist/esm/cosmos/rpc.query.js +23 -0
- package/dist/esm/cosmos/rpc.tx.js +7 -0
- package/dist/esm/cosmos/upgrade/v1beta1/upgrade.js +379 -0
- package/dist/esm/cosmos_proto/bundle.js +5 -0
- package/dist/esm/cosmos_proto/cosmos.js +216 -0
- package/dist/esm/gitopia/bundle.js +95 -0
- package/dist/esm/gitopia/client.js +32 -0
- package/dist/esm/gitopia/custom-lcd-client.js +50 -0
- package/dist/esm/gitopia/gitopia/gitopia/attachment.js +101 -0
- package/dist/esm/gitopia/gitopia/gitopia/bounty.js +255 -0
- package/dist/esm/gitopia/gitopia/gitopia/branch.js +137 -0
- package/dist/esm/gitopia/gitopia/gitopia/comment.js +488 -0
- package/dist/esm/gitopia/gitopia/gitopia/dao.js +451 -0
- package/dist/esm/gitopia/gitopia/gitopia/exercised_amount.js +78 -0
- package/dist/esm/gitopia/gitopia/gitopia/genesis.js +460 -0
- package/dist/esm/gitopia/gitopia/gitopia/issue.js +323 -0
- package/dist/esm/gitopia/gitopia/gitopia/params.js +293 -0
- package/dist/esm/gitopia/gitopia/gitopia/pullRequest.js +565 -0
- package/dist/esm/gitopia/gitopia/gitopia/query.js +7351 -0
- package/dist/esm/gitopia/gitopia/gitopia/query.lcd.js +452 -0
- package/dist/esm/gitopia/gitopia/gitopia/query.rpc.Query.js +453 -0
- package/dist/esm/gitopia/gitopia/gitopia/reaction.js +123 -0
- package/dist/esm/gitopia/gitopia/gitopia/release.js +225 -0
- package/dist/esm/gitopia/gitopia/gitopia/repository.js +1200 -0
- package/dist/esm/gitopia/gitopia/gitopia/tag.js +125 -0
- package/dist/esm/gitopia/gitopia/gitopia/task.js +197 -0
- package/dist/esm/gitopia/gitopia/gitopia/tx.amino.js +464 -0
- package/dist/esm/gitopia/gitopia/gitopia/tx.js +14679 -0
- package/dist/esm/gitopia/gitopia/gitopia/tx.registry.js +1671 -0
- package/dist/esm/gitopia/gitopia/gitopia/tx.rpc.msg.js +560 -0
- package/dist/esm/gitopia/gitopia/gitopia/user.js +340 -0
- package/dist/esm/gitopia/gitopia/gitopia/whois.js +146 -0
- package/dist/esm/gitopia/gitopia/offchain/offchain.js +144 -0
- package/dist/esm/gitopia/gitopia/rewards/genesis.js +82 -0
- package/dist/esm/gitopia/gitopia/rewards/params.js +81 -0
- package/dist/esm/gitopia/gitopia/rewards/pool.js +191 -0
- package/dist/esm/gitopia/gitopia/rewards/query.js +654 -0
- package/dist/esm/gitopia/gitopia/rewards/query.lcd.js +40 -0
- package/dist/esm/gitopia/gitopia/rewards/query.rpc.Query.js +53 -0
- package/dist/esm/gitopia/gitopia/rewards/rewards.js +191 -0
- package/dist/esm/gitopia/gitopia/rewards/task.js +176 -0
- package/dist/esm/gitopia/gitopia/rewards/tx.amino.js +19 -0
- package/dist/esm/gitopia/gitopia/rewards/tx.js +525 -0
- package/dist/esm/gitopia/gitopia/rewards/tx.registry.js +69 -0
- package/dist/esm/gitopia/gitopia/rewards/tx.rpc.msg.js +26 -0
- package/dist/esm/gitopia/rpc.query.js +29 -0
- package/dist/esm/gitopia/rpc.tx.js +13 -0
- package/dist/esm/gogoproto/bundle.js +5 -0
- package/dist/esm/gogoproto/gogo.js +1 -0
- package/dist/esm/google/api/annotations.js +1 -0
- package/dist/esm/google/api/http.js +329 -0
- package/dist/esm/google/bundle.js +14 -0
- package/dist/esm/google/protobuf/any.js +74 -0
- package/dist/esm/google/protobuf/descriptor.js +4848 -0
- package/dist/esm/google/protobuf/duration.js +71 -0
- package/dist/esm/google/protobuf/timestamp.js +68 -0
- package/dist/esm/helpers.js +131 -0
- package/dist/esm/ibc/applications/transfer/v1/query.js +847 -0
- package/dist/esm/ibc/applications/transfer/v1/query.lcd.js +70 -0
- package/dist/esm/ibc/applications/transfer/v1/query.rpc.Query.js +71 -0
- package/dist/esm/ibc/applications/transfer/v1/transfer.js +164 -0
- package/dist/esm/ibc/applications/transfer/v1/tx.amino.js +9 -0
- package/dist/esm/ibc/applications/transfer/v1/tx.js +226 -0
- package/dist/esm/ibc/applications/transfer/v1/tx.registry.js +33 -0
- package/dist/esm/ibc/applications/transfer/v1/tx.rpc.msg.js +14 -0
- package/dist/esm/ibc/bundle.js +44 -0
- package/dist/esm/ibc/client.js +29 -0
- package/dist/esm/ibc/core/client/v1/client.js +611 -0
- package/dist/esm/ibc/rpc.query.js +30 -0
- package/dist/esm/ibc/rpc.tx.js +14 -0
- package/dist/esm/index.js +19 -0
- package/dist/esm/utf8.js +137 -0
- package/dist/esm/varint.js +408 -0
- package/dist/gitopia/bundle.d.ts +6123 -0
- package/dist/gitopia/bundle.js +131 -0
- package/dist/gitopia/client.d.ts +492 -0
- package/dist/gitopia/client.js +70 -0
- package/dist/gitopia/custom-lcd-client.d.ts +31 -0
- package/dist/gitopia/custom-lcd-client.js +87 -0
- package/dist/gitopia/gitopia/gitopia/attachment.d.ts +39 -0
- package/dist/gitopia/gitopia/gitopia/attachment.js +104 -0
- package/dist/gitopia/gitopia/gitopia/bounty.d.ts +79 -0
- package/dist/gitopia/gitopia/gitopia/bounty.js +262 -0
- package/dist/gitopia/gitopia/gitopia/branch.d.ts +48 -0
- package/dist/gitopia/gitopia/gitopia/branch.js +140 -0
- package/dist/gitopia/gitopia/gitopia/comment.d.ts +125 -0
- package/dist/gitopia/gitopia/gitopia/comment.js +495 -0
- package/dist/gitopia/gitopia/gitopia/dao.d.ts +160 -0
- package/dist/gitopia/gitopia/gitopia/dao.js +454 -0
- package/dist/gitopia/gitopia/gitopia/exercised_amount.d.ts +34 -0
- package/dist/gitopia/gitopia/gitopia/exercised_amount.js +81 -0
- package/dist/gitopia/gitopia/gitopia/genesis.d.ts +143 -0
- package/dist/gitopia/gitopia/gitopia/genesis.js +463 -0
- package/dist/gitopia/gitopia/gitopia/issue.d.ts +88 -0
- package/dist/gitopia/gitopia/gitopia/issue.js +328 -0
- package/dist/gitopia/gitopia/gitopia/params.d.ts +115 -0
- package/dist/gitopia/gitopia/gitopia/params.js +296 -0
- package/dist/gitopia/gitopia/gitopia/pullRequest.d.ts +177 -0
- package/dist/gitopia/gitopia/gitopia/pullRequest.js +570 -0
- package/dist/gitopia/gitopia/gitopia/query.d.ts +3130 -0
- package/dist/gitopia/gitopia/gitopia/query.js +7355 -0
- package/dist/gitopia/gitopia/gitopia/query.lcd.d.ts +54 -0
- package/dist/gitopia/gitopia/gitopia/query.lcd.js +456 -0
- package/dist/gitopia/gitopia/gitopia/query.rpc.Query.d.ts +188 -0
- package/dist/gitopia/gitopia/gitopia/query.rpc.Query.js +458 -0
- package/dist/gitopia/gitopia/gitopia/reaction.d.ts +42 -0
- package/dist/gitopia/gitopia/gitopia/reaction.js +128 -0
- package/dist/gitopia/gitopia/gitopia/release.d.ts +70 -0
- package/dist/gitopia/gitopia/gitopia/release.js +228 -0
- package/dist/gitopia/gitopia/gitopia/repository.d.ts +424 -0
- package/dist/gitopia/gitopia/gitopia/repository.js +1207 -0
- package/dist/gitopia/gitopia/gitopia/tag.d.ts +45 -0
- package/dist/gitopia/gitopia/gitopia/tag.js +128 -0
- package/dist/gitopia/gitopia/gitopia/task.d.ts +64 -0
- package/dist/gitopia/gitopia/gitopia/task.js +204 -0
- package/dist/gitopia/gitopia/gitopia/tx.amino.d.ts +463 -0
- package/dist/gitopia/gitopia/gitopia/tx.amino.js +467 -0
- package/dist/gitopia/gitopia/gitopia/tx.d.ts +6246 -0
- package/dist/gitopia/gitopia/gitopia/tx.js +14687 -0
- package/dist/gitopia/gitopia/gitopia/tx.registry.d.ts +1116 -0
- package/dist/gitopia/gitopia/gitopia/tx.registry.js +1675 -0
- package/dist/gitopia/gitopia/gitopia/tx.rpc.msg.d.ts +200 -0
- package/dist/gitopia/gitopia/gitopia/tx.rpc.msg.js +564 -0
- package/dist/gitopia/gitopia/gitopia/user.d.ts +104 -0
- package/dist/gitopia/gitopia/gitopia/user.js +343 -0
- package/dist/gitopia/gitopia/gitopia/whois.d.ts +51 -0
- package/dist/gitopia/gitopia/gitopia/whois.js +151 -0
- package/dist/gitopia/gitopia/offchain/offchain.d.ts +74 -0
- package/dist/gitopia/gitopia/offchain/offchain.js +147 -0
- package/dist/gitopia/gitopia/rewards/genesis.d.ts +40 -0
- package/dist/gitopia/gitopia/rewards/genesis.js +85 -0
- package/dist/gitopia/gitopia/rewards/params.d.ts +37 -0
- package/dist/gitopia/gitopia/rewards/params.js +84 -0
- package/dist/gitopia/gitopia/rewards/pool.d.ts +59 -0
- package/dist/gitopia/gitopia/rewards/pool.js +196 -0
- package/dist/gitopia/gitopia/rewards/query.d.ts +294 -0
- package/dist/gitopia/gitopia/rewards/query.js +657 -0
- package/dist/gitopia/gitopia/rewards/query.lcd.d.ts +12 -0
- package/dist/gitopia/gitopia/rewards/query.lcd.js +44 -0
- package/dist/gitopia/gitopia/rewards/query.rpc.Query.d.ts +28 -0
- package/dist/gitopia/gitopia/rewards/query.rpc.Query.js +58 -0
- package/dist/gitopia/gitopia/rewards/rewards.d.ts +79 -0
- package/dist/gitopia/gitopia/rewards/rewards.js +194 -0
- package/dist/gitopia/gitopia/rewards/task.d.ts +54 -0
- package/dist/gitopia/gitopia/rewards/task.js +181 -0
- package/dist/gitopia/gitopia/rewards/tx.amino.d.ts +18 -0
- package/dist/gitopia/gitopia/rewards/tx.amino.js +22 -0
- package/dist/gitopia/gitopia/rewards/tx.d.ts +242 -0
- package/dist/gitopia/gitopia/rewards/tx.js +528 -0
- package/dist/gitopia/gitopia/rewards/tx.registry.d.ts +48 -0
- package/dist/gitopia/gitopia/rewards/tx.registry.js +73 -0
- package/dist/gitopia/gitopia/rewards/tx.rpc.msg.d.ts +19 -0
- package/dist/gitopia/gitopia/rewards/tx.rpc.msg.js +30 -0
- package/dist/gitopia/rpc.query.d.ts +117 -0
- package/dist/gitopia/rpc.query.js +66 -0
- package/dist/gitopia/rpc.tx.d.ts +16 -0
- package/dist/gitopia/rpc.tx.js +50 -0
- package/dist/gogoproto/bundle.d.ts +1 -0
- package/dist/gogoproto/bundle.js +41 -0
- package/dist/gogoproto/gogo.d.ts +1 -0
- package/dist/gogoproto/gogo.js +2 -0
- package/dist/google/api/annotations.d.ts +1 -0
- package/dist/google/api/annotations.js +2 -0
- package/dist/google/api/http.d.ts +1049 -0
- package/dist/google/api/http.js +332 -0
- package/dist/google/bundle.d.ts +525 -0
- package/dist/google/bundle.js +50 -0
- package/dist/google/protobuf/any.d.ts +358 -0
- package/dist/google/protobuf/any.js +77 -0
- package/dist/google/protobuf/descriptor.d.ts +3178 -0
- package/dist/google/protobuf/descriptor.js +4886 -0
- package/dist/google/protobuf/duration.d.ts +223 -0
- package/dist/google/protobuf/duration.js +74 -0
- package/dist/google/protobuf/timestamp.d.ts +314 -0
- package/dist/google/protobuf/timestamp.js +71 -0
- package/dist/helpers.d.ts +82 -0
- package/dist/helpers.js +146 -0
- package/dist/ibc/applications/transfer/v1/query.d.ts +479 -0
- package/dist/ibc/applications/transfer/v1/query.js +850 -0
- package/dist/ibc/applications/transfer/v1/query.lcd.d.ts +14 -0
- package/dist/ibc/applications/transfer/v1/query.lcd.js +74 -0
- package/dist/ibc/applications/transfer/v1/query.rpc.Query.d.ts +36 -0
- package/dist/ibc/applications/transfer/v1/query.rpc.Query.js +76 -0
- package/dist/ibc/applications/transfer/v1/transfer.d.ts +123 -0
- package/dist/ibc/applications/transfer/v1/transfer.js +167 -0
- package/dist/ibc/applications/transfer/v1/tx.amino.d.ts +8 -0
- package/dist/ibc/applications/transfer/v1/tx.amino.js +12 -0
- package/dist/ibc/applications/transfer/v1/tx.d.ts +132 -0
- package/dist/ibc/applications/transfer/v1/tx.js +229 -0
- package/dist/ibc/applications/transfer/v1/tx.registry.d.ts +24 -0
- package/dist/ibc/applications/transfer/v1/tx.registry.js +37 -0
- package/dist/ibc/applications/transfer/v1/tx.rpc.msg.d.ts +12 -0
- package/dist/ibc/applications/transfer/v1/tx.rpc.msg.js +18 -0
- package/dist/ibc/bundle.d.ts +450 -0
- package/dist/ibc/bundle.js +80 -0
- package/dist/ibc/client.d.ts +22 -0
- package/dist/ibc/client.js +67 -0
- package/dist/ibc/core/client/v1/client.d.ts +408 -0
- package/dist/ibc/core/client/v1/client.js +614 -0
- package/dist/ibc/rpc.query.d.ts +73 -0
- package/dist/ibc/rpc.query.js +67 -0
- package/dist/ibc/rpc.tx.d.ts +17 -0
- package/dist/ibc/rpc.tx.js +51 -0
- package/dist/index.d.ts +18 -0
- package/dist/index.js +35 -0
- package/dist/package.json +49 -0
- package/dist/utf8.d.ts +27 -0
- package/dist/utf8.js +141 -0
- package/dist/varint.d.ts +105 -0
- package/dist/varint.js +426 -0
- package/package.json +11 -8
- package/CHANGELOG.md +0 -8
|
@@ -0,0 +1,196 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.RewardPool = exports.SeriesAmino = exports.SeriesSDKType = exports.Series = void 0;
|
|
4
|
+
exports.seriesFromJSON = seriesFromJSON;
|
|
5
|
+
exports.seriesToJSON = seriesToJSON;
|
|
6
|
+
//@ts-nocheck
|
|
7
|
+
const coin_1 = require("../../../cosmos/base/v1beta1/coin");
|
|
8
|
+
const timestamp_1 = require("../../../google/protobuf/timestamp");
|
|
9
|
+
const binary_1 = require("../../../binary");
|
|
10
|
+
const helpers_1 = require("../../../helpers");
|
|
11
|
+
var Series;
|
|
12
|
+
(function (Series) {
|
|
13
|
+
Series[Series["NONE"] = 0] = "NONE";
|
|
14
|
+
Series[Series["ONE"] = 1] = "ONE";
|
|
15
|
+
Series[Series["TWO"] = 2] = "TWO";
|
|
16
|
+
Series[Series["THREE"] = 3] = "THREE";
|
|
17
|
+
Series[Series["FOUR"] = 4] = "FOUR";
|
|
18
|
+
Series[Series["FIVE"] = 5] = "FIVE";
|
|
19
|
+
Series[Series["SIX"] = 6] = "SIX";
|
|
20
|
+
Series[Series["SEVEN"] = 7] = "SEVEN";
|
|
21
|
+
Series[Series["COSMOS"] = 8] = "COSMOS";
|
|
22
|
+
Series[Series["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
23
|
+
})(Series || (exports.Series = Series = {}));
|
|
24
|
+
exports.SeriesSDKType = Series;
|
|
25
|
+
exports.SeriesAmino = Series;
|
|
26
|
+
function seriesFromJSON(object) {
|
|
27
|
+
switch (object) {
|
|
28
|
+
case 0:
|
|
29
|
+
case "NONE":
|
|
30
|
+
return Series.NONE;
|
|
31
|
+
case 1:
|
|
32
|
+
case "ONE":
|
|
33
|
+
return Series.ONE;
|
|
34
|
+
case 2:
|
|
35
|
+
case "TWO":
|
|
36
|
+
return Series.TWO;
|
|
37
|
+
case 3:
|
|
38
|
+
case "THREE":
|
|
39
|
+
return Series.THREE;
|
|
40
|
+
case 4:
|
|
41
|
+
case "FOUR":
|
|
42
|
+
return Series.FOUR;
|
|
43
|
+
case 5:
|
|
44
|
+
case "FIVE":
|
|
45
|
+
return Series.FIVE;
|
|
46
|
+
case 6:
|
|
47
|
+
case "SIX":
|
|
48
|
+
return Series.SIX;
|
|
49
|
+
case 7:
|
|
50
|
+
case "SEVEN":
|
|
51
|
+
return Series.SEVEN;
|
|
52
|
+
case 8:
|
|
53
|
+
case "COSMOS":
|
|
54
|
+
return Series.COSMOS;
|
|
55
|
+
case -1:
|
|
56
|
+
case "UNRECOGNIZED":
|
|
57
|
+
default:
|
|
58
|
+
return Series.UNRECOGNIZED;
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
function seriesToJSON(object) {
|
|
62
|
+
switch (object) {
|
|
63
|
+
case Series.NONE:
|
|
64
|
+
return "NONE";
|
|
65
|
+
case Series.ONE:
|
|
66
|
+
return "ONE";
|
|
67
|
+
case Series.TWO:
|
|
68
|
+
return "TWO";
|
|
69
|
+
case Series.THREE:
|
|
70
|
+
return "THREE";
|
|
71
|
+
case Series.FOUR:
|
|
72
|
+
return "FOUR";
|
|
73
|
+
case Series.FIVE:
|
|
74
|
+
return "FIVE";
|
|
75
|
+
case Series.SIX:
|
|
76
|
+
return "SIX";
|
|
77
|
+
case Series.SEVEN:
|
|
78
|
+
return "SEVEN";
|
|
79
|
+
case Series.COSMOS:
|
|
80
|
+
return "COSMOS";
|
|
81
|
+
case Series.UNRECOGNIZED:
|
|
82
|
+
default:
|
|
83
|
+
return "UNRECOGNIZED";
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
function createBaseRewardPool() {
|
|
87
|
+
return {
|
|
88
|
+
totalAmount: coin_1.Coin.fromPartial({}),
|
|
89
|
+
claimedAmount: coin_1.Coin.fromPartial({}),
|
|
90
|
+
startTime: new Date(),
|
|
91
|
+
endTime: new Date(),
|
|
92
|
+
series: 0
|
|
93
|
+
};
|
|
94
|
+
}
|
|
95
|
+
exports.RewardPool = {
|
|
96
|
+
typeUrl: "/gitopia.gitopia.rewards.RewardPool",
|
|
97
|
+
encode(message, writer = binary_1.BinaryWriter.create()) {
|
|
98
|
+
if (message.totalAmount !== undefined) {
|
|
99
|
+
coin_1.Coin.encode(message.totalAmount, writer.uint32(10).fork()).ldelim();
|
|
100
|
+
}
|
|
101
|
+
if (message.claimedAmount !== undefined) {
|
|
102
|
+
coin_1.Coin.encode(message.claimedAmount, writer.uint32(18).fork()).ldelim();
|
|
103
|
+
}
|
|
104
|
+
if (message.startTime !== undefined) {
|
|
105
|
+
timestamp_1.Timestamp.encode((0, helpers_1.toTimestamp)(message.startTime), writer.uint32(26).fork()).ldelim();
|
|
106
|
+
}
|
|
107
|
+
if (message.endTime !== undefined) {
|
|
108
|
+
timestamp_1.Timestamp.encode((0, helpers_1.toTimestamp)(message.endTime), writer.uint32(34).fork()).ldelim();
|
|
109
|
+
}
|
|
110
|
+
if (message.series !== 0) {
|
|
111
|
+
writer.uint32(40).int32(message.series);
|
|
112
|
+
}
|
|
113
|
+
return writer;
|
|
114
|
+
},
|
|
115
|
+
decode(input, length) {
|
|
116
|
+
const reader = input instanceof binary_1.BinaryReader ? input : new binary_1.BinaryReader(input);
|
|
117
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
118
|
+
const message = createBaseRewardPool();
|
|
119
|
+
while (reader.pos < end) {
|
|
120
|
+
const tag = reader.uint32();
|
|
121
|
+
switch (tag >>> 3) {
|
|
122
|
+
case 1:
|
|
123
|
+
message.totalAmount = coin_1.Coin.decode(reader, reader.uint32());
|
|
124
|
+
break;
|
|
125
|
+
case 2:
|
|
126
|
+
message.claimedAmount = coin_1.Coin.decode(reader, reader.uint32());
|
|
127
|
+
break;
|
|
128
|
+
case 3:
|
|
129
|
+
message.startTime = (0, helpers_1.fromTimestamp)(timestamp_1.Timestamp.decode(reader, reader.uint32()));
|
|
130
|
+
break;
|
|
131
|
+
case 4:
|
|
132
|
+
message.endTime = (0, helpers_1.fromTimestamp)(timestamp_1.Timestamp.decode(reader, reader.uint32()));
|
|
133
|
+
break;
|
|
134
|
+
case 5:
|
|
135
|
+
message.series = reader.int32();
|
|
136
|
+
break;
|
|
137
|
+
default:
|
|
138
|
+
reader.skipType(tag & 7);
|
|
139
|
+
break;
|
|
140
|
+
}
|
|
141
|
+
}
|
|
142
|
+
return message;
|
|
143
|
+
},
|
|
144
|
+
fromPartial(object) {
|
|
145
|
+
const message = createBaseRewardPool();
|
|
146
|
+
message.totalAmount = object.totalAmount !== undefined && object.totalAmount !== null ? coin_1.Coin.fromPartial(object.totalAmount) : undefined;
|
|
147
|
+
message.claimedAmount = object.claimedAmount !== undefined && object.claimedAmount !== null ? coin_1.Coin.fromPartial(object.claimedAmount) : undefined;
|
|
148
|
+
message.startTime = object.startTime ?? undefined;
|
|
149
|
+
message.endTime = object.endTime ?? undefined;
|
|
150
|
+
message.series = object.series ?? 0;
|
|
151
|
+
return message;
|
|
152
|
+
},
|
|
153
|
+
fromAmino(object) {
|
|
154
|
+
const message = createBaseRewardPool();
|
|
155
|
+
if (object.total_amount !== undefined && object.total_amount !== null) {
|
|
156
|
+
message.totalAmount = coin_1.Coin.fromAmino(object.total_amount);
|
|
157
|
+
}
|
|
158
|
+
if (object.claimed_amount !== undefined && object.claimed_amount !== null) {
|
|
159
|
+
message.claimedAmount = coin_1.Coin.fromAmino(object.claimed_amount);
|
|
160
|
+
}
|
|
161
|
+
if (object.start_time !== undefined && object.start_time !== null) {
|
|
162
|
+
message.startTime = (0, helpers_1.fromTimestamp)(timestamp_1.Timestamp.fromAmino(object.start_time));
|
|
163
|
+
}
|
|
164
|
+
if (object.end_time !== undefined && object.end_time !== null) {
|
|
165
|
+
message.endTime = (0, helpers_1.fromTimestamp)(timestamp_1.Timestamp.fromAmino(object.end_time));
|
|
166
|
+
}
|
|
167
|
+
if (object.series !== undefined && object.series !== null) {
|
|
168
|
+
message.series = object.series;
|
|
169
|
+
}
|
|
170
|
+
return message;
|
|
171
|
+
},
|
|
172
|
+
toAmino(message) {
|
|
173
|
+
const obj = {};
|
|
174
|
+
obj.total_amount = message.totalAmount ? coin_1.Coin.toAmino(message.totalAmount) : undefined;
|
|
175
|
+
obj.claimed_amount = message.claimedAmount ? coin_1.Coin.toAmino(message.claimedAmount) : undefined;
|
|
176
|
+
obj.start_time = message.startTime ? timestamp_1.Timestamp.toAmino((0, helpers_1.toTimestamp)(message.startTime)) : undefined;
|
|
177
|
+
obj.end_time = message.endTime ? timestamp_1.Timestamp.toAmino((0, helpers_1.toTimestamp)(message.endTime)) : undefined;
|
|
178
|
+
obj.series = message.series === 0 ? undefined : message.series;
|
|
179
|
+
return obj;
|
|
180
|
+
},
|
|
181
|
+
fromAminoMsg(object) {
|
|
182
|
+
return exports.RewardPool.fromAmino(object.value);
|
|
183
|
+
},
|
|
184
|
+
fromProtoMsg(message) {
|
|
185
|
+
return exports.RewardPool.decode(message.value);
|
|
186
|
+
},
|
|
187
|
+
toProto(message) {
|
|
188
|
+
return exports.RewardPool.encode(message).finish();
|
|
189
|
+
},
|
|
190
|
+
toProtoMsg(message) {
|
|
191
|
+
return {
|
|
192
|
+
typeUrl: "/gitopia.gitopia.rewards.RewardPool",
|
|
193
|
+
value: exports.RewardPool.encode(message).finish()
|
|
194
|
+
};
|
|
195
|
+
}
|
|
196
|
+
};
|
|
@@ -0,0 +1,294 @@
|
|
|
1
|
+
import { PageRequest, PageRequestAmino, PageRequestSDKType, PageResponse, PageResponseAmino, PageResponseSDKType } from "../../../cosmos/base/query/v1beta1/pagination";
|
|
2
|
+
import { Params, ParamsAmino, ParamsSDKType } from "./params";
|
|
3
|
+
import { Task, TaskAmino, TaskSDKType } from "./task";
|
|
4
|
+
import { Series } from "./pool";
|
|
5
|
+
import { Coin, CoinAmino, CoinSDKType } from "../../../cosmos/base/v1beta1/coin";
|
|
6
|
+
import { Reward, RewardAmino, RewardSDKType } from "./rewards";
|
|
7
|
+
import { BinaryReader, BinaryWriter } from "../../../binary";
|
|
8
|
+
/** QueryParamsRequest is the request type for the Query/Params RPC method. */
|
|
9
|
+
export interface QueryParamsRequest {
|
|
10
|
+
}
|
|
11
|
+
export interface QueryParamsRequestProtoMsg {
|
|
12
|
+
typeUrl: "/gitopia.gitopia.rewards.QueryParamsRequest";
|
|
13
|
+
value: Uint8Array;
|
|
14
|
+
}
|
|
15
|
+
/** QueryParamsRequest is the request type for the Query/Params RPC method. */
|
|
16
|
+
export interface QueryParamsRequestAmino {
|
|
17
|
+
}
|
|
18
|
+
export interface QueryParamsRequestAminoMsg {
|
|
19
|
+
type: "/gitopia.gitopia.rewards.QueryParamsRequest";
|
|
20
|
+
value: QueryParamsRequestAmino;
|
|
21
|
+
}
|
|
22
|
+
/** QueryParamsRequest is the request type for the Query/Params RPC method. */
|
|
23
|
+
export interface QueryParamsRequestSDKType {
|
|
24
|
+
}
|
|
25
|
+
/** QueryParamsResponse is the response type for the Query/Params RPC method. */
|
|
26
|
+
export interface QueryParamsResponse {
|
|
27
|
+
/** params defines the parameters of the module. */
|
|
28
|
+
params: Params;
|
|
29
|
+
}
|
|
30
|
+
export interface QueryParamsResponseProtoMsg {
|
|
31
|
+
typeUrl: "/gitopia.gitopia.rewards.QueryParamsResponse";
|
|
32
|
+
value: Uint8Array;
|
|
33
|
+
}
|
|
34
|
+
/** QueryParamsResponse is the response type for the Query/Params RPC method. */
|
|
35
|
+
export interface QueryParamsResponseAmino {
|
|
36
|
+
/** params defines the parameters of the module. */
|
|
37
|
+
params?: ParamsAmino;
|
|
38
|
+
}
|
|
39
|
+
export interface QueryParamsResponseAminoMsg {
|
|
40
|
+
type: "/gitopia.gitopia.rewards.QueryParamsResponse";
|
|
41
|
+
value: QueryParamsResponseAmino;
|
|
42
|
+
}
|
|
43
|
+
/** QueryParamsResponse is the response type for the Query/Params RPC method. */
|
|
44
|
+
export interface QueryParamsResponseSDKType {
|
|
45
|
+
params: ParamsSDKType;
|
|
46
|
+
}
|
|
47
|
+
export interface QueryTasksRequest {
|
|
48
|
+
address: string;
|
|
49
|
+
}
|
|
50
|
+
export interface QueryTasksRequestProtoMsg {
|
|
51
|
+
typeUrl: "/gitopia.gitopia.rewards.QueryTasksRequest";
|
|
52
|
+
value: Uint8Array;
|
|
53
|
+
}
|
|
54
|
+
export interface QueryTasksRequestAmino {
|
|
55
|
+
address?: string;
|
|
56
|
+
}
|
|
57
|
+
export interface QueryTasksRequestAminoMsg {
|
|
58
|
+
type: "/gitopia.gitopia.rewards.QueryTasksRequest";
|
|
59
|
+
value: QueryTasksRequestAmino;
|
|
60
|
+
}
|
|
61
|
+
export interface QueryTasksRequestSDKType {
|
|
62
|
+
address: string;
|
|
63
|
+
}
|
|
64
|
+
export interface QueryTasksResponse {
|
|
65
|
+
tasks: Task[];
|
|
66
|
+
}
|
|
67
|
+
export interface QueryTasksResponseProtoMsg {
|
|
68
|
+
typeUrl: "/gitopia.gitopia.rewards.QueryTasksResponse";
|
|
69
|
+
value: Uint8Array;
|
|
70
|
+
}
|
|
71
|
+
export interface QueryTasksResponseAmino {
|
|
72
|
+
tasks?: TaskAmino[];
|
|
73
|
+
}
|
|
74
|
+
export interface QueryTasksResponseAminoMsg {
|
|
75
|
+
type: "/gitopia.gitopia.rewards.QueryTasksResponse";
|
|
76
|
+
value: QueryTasksResponseAmino;
|
|
77
|
+
}
|
|
78
|
+
export interface QueryTasksResponseSDKType {
|
|
79
|
+
tasks: TaskSDKType[];
|
|
80
|
+
}
|
|
81
|
+
export interface QueryGetRewardRequest {
|
|
82
|
+
recipient: string;
|
|
83
|
+
}
|
|
84
|
+
export interface QueryGetRewardRequestProtoMsg {
|
|
85
|
+
typeUrl: "/gitopia.gitopia.rewards.QueryGetRewardRequest";
|
|
86
|
+
value: Uint8Array;
|
|
87
|
+
}
|
|
88
|
+
export interface QueryGetRewardRequestAmino {
|
|
89
|
+
recipient?: string;
|
|
90
|
+
}
|
|
91
|
+
export interface QueryGetRewardRequestAminoMsg {
|
|
92
|
+
type: "/gitopia.gitopia.rewards.QueryGetRewardRequest";
|
|
93
|
+
value: QueryGetRewardRequestAmino;
|
|
94
|
+
}
|
|
95
|
+
export interface QueryGetRewardRequestSDKType {
|
|
96
|
+
recipient: string;
|
|
97
|
+
}
|
|
98
|
+
export interface QueryGetRewardResponseReward {
|
|
99
|
+
creator: string;
|
|
100
|
+
series: Series;
|
|
101
|
+
amount: Coin;
|
|
102
|
+
claimedAmount: Coin;
|
|
103
|
+
claimableAmount: Coin;
|
|
104
|
+
remainingClaimableAmount: Coin;
|
|
105
|
+
}
|
|
106
|
+
export interface QueryGetRewardResponseRewardProtoMsg {
|
|
107
|
+
typeUrl: "/gitopia.gitopia.rewards.QueryGetRewardResponseReward";
|
|
108
|
+
value: Uint8Array;
|
|
109
|
+
}
|
|
110
|
+
export interface QueryGetRewardResponseRewardAmino {
|
|
111
|
+
creator?: string;
|
|
112
|
+
series?: Series;
|
|
113
|
+
amount?: CoinAmino;
|
|
114
|
+
claimed_amount?: CoinAmino;
|
|
115
|
+
claimable_amount?: CoinAmino;
|
|
116
|
+
remaining_claimable_amount?: CoinAmino;
|
|
117
|
+
}
|
|
118
|
+
export interface QueryGetRewardResponseRewardAminoMsg {
|
|
119
|
+
type: "/gitopia.gitopia.rewards.QueryGetRewardResponseReward";
|
|
120
|
+
value: QueryGetRewardResponseRewardAmino;
|
|
121
|
+
}
|
|
122
|
+
export interface QueryGetRewardResponseRewardSDKType {
|
|
123
|
+
creator: string;
|
|
124
|
+
series: Series;
|
|
125
|
+
amount: CoinSDKType;
|
|
126
|
+
claimed_amount: CoinSDKType;
|
|
127
|
+
claimable_amount: CoinSDKType;
|
|
128
|
+
remaining_claimable_amount: CoinSDKType;
|
|
129
|
+
}
|
|
130
|
+
export interface QueryGetRewardResponse {
|
|
131
|
+
recipient: string;
|
|
132
|
+
rewards: QueryGetRewardResponseReward[];
|
|
133
|
+
}
|
|
134
|
+
export interface QueryGetRewardResponseProtoMsg {
|
|
135
|
+
typeUrl: "/gitopia.gitopia.rewards.QueryGetRewardResponse";
|
|
136
|
+
value: Uint8Array;
|
|
137
|
+
}
|
|
138
|
+
export interface QueryGetRewardResponseAmino {
|
|
139
|
+
recipient?: string;
|
|
140
|
+
rewards?: QueryGetRewardResponseRewardAmino[];
|
|
141
|
+
}
|
|
142
|
+
export interface QueryGetRewardResponseAminoMsg {
|
|
143
|
+
type: "/gitopia.gitopia.rewards.QueryGetRewardResponse";
|
|
144
|
+
value: QueryGetRewardResponseAmino;
|
|
145
|
+
}
|
|
146
|
+
export interface QueryGetRewardResponseSDKType {
|
|
147
|
+
recipient: string;
|
|
148
|
+
rewards: QueryGetRewardResponseRewardSDKType[];
|
|
149
|
+
}
|
|
150
|
+
export interface QueryAllRewardsRequest {
|
|
151
|
+
pagination?: PageRequest;
|
|
152
|
+
}
|
|
153
|
+
export interface QueryAllRewardsRequestProtoMsg {
|
|
154
|
+
typeUrl: "/gitopia.gitopia.rewards.QueryAllRewardsRequest";
|
|
155
|
+
value: Uint8Array;
|
|
156
|
+
}
|
|
157
|
+
export interface QueryAllRewardsRequestAmino {
|
|
158
|
+
pagination?: PageRequestAmino;
|
|
159
|
+
}
|
|
160
|
+
export interface QueryAllRewardsRequestAminoMsg {
|
|
161
|
+
type: "/gitopia.gitopia.rewards.QueryAllRewardsRequest";
|
|
162
|
+
value: QueryAllRewardsRequestAmino;
|
|
163
|
+
}
|
|
164
|
+
export interface QueryAllRewardsRequestSDKType {
|
|
165
|
+
pagination?: PageRequestSDKType;
|
|
166
|
+
}
|
|
167
|
+
export interface QueryAllRewardsResponse {
|
|
168
|
+
rewards: Reward[];
|
|
169
|
+
pagination?: PageResponse;
|
|
170
|
+
}
|
|
171
|
+
export interface QueryAllRewardsResponseProtoMsg {
|
|
172
|
+
typeUrl: "/gitopia.gitopia.rewards.QueryAllRewardsResponse";
|
|
173
|
+
value: Uint8Array;
|
|
174
|
+
}
|
|
175
|
+
export interface QueryAllRewardsResponseAmino {
|
|
176
|
+
rewards?: RewardAmino[];
|
|
177
|
+
pagination?: PageResponseAmino;
|
|
178
|
+
}
|
|
179
|
+
export interface QueryAllRewardsResponseAminoMsg {
|
|
180
|
+
type: "/gitopia.gitopia.rewards.QueryAllRewardsResponse";
|
|
181
|
+
value: QueryAllRewardsResponseAmino;
|
|
182
|
+
}
|
|
183
|
+
export interface QueryAllRewardsResponseSDKType {
|
|
184
|
+
rewards: RewardSDKType[];
|
|
185
|
+
pagination?: PageResponseSDKType;
|
|
186
|
+
}
|
|
187
|
+
export declare const QueryParamsRequest: {
|
|
188
|
+
typeUrl: string;
|
|
189
|
+
encode(_: QueryParamsRequest, writer?: BinaryWriter): BinaryWriter;
|
|
190
|
+
decode(input: BinaryReader | Uint8Array, length?: number): QueryParamsRequest;
|
|
191
|
+
fromPartial(_: Partial<QueryParamsRequest>): QueryParamsRequest;
|
|
192
|
+
fromAmino(_: QueryParamsRequestAmino): QueryParamsRequest;
|
|
193
|
+
toAmino(_: QueryParamsRequest): QueryParamsRequestAmino;
|
|
194
|
+
fromAminoMsg(object: QueryParamsRequestAminoMsg): QueryParamsRequest;
|
|
195
|
+
fromProtoMsg(message: QueryParamsRequestProtoMsg): QueryParamsRequest;
|
|
196
|
+
toProto(message: QueryParamsRequest): Uint8Array;
|
|
197
|
+
toProtoMsg(message: QueryParamsRequest): QueryParamsRequestProtoMsg;
|
|
198
|
+
};
|
|
199
|
+
export declare const QueryParamsResponse: {
|
|
200
|
+
typeUrl: string;
|
|
201
|
+
encode(message: QueryParamsResponse, writer?: BinaryWriter): BinaryWriter;
|
|
202
|
+
decode(input: BinaryReader | Uint8Array, length?: number): QueryParamsResponse;
|
|
203
|
+
fromPartial(object: Partial<QueryParamsResponse>): QueryParamsResponse;
|
|
204
|
+
fromAmino(object: QueryParamsResponseAmino): QueryParamsResponse;
|
|
205
|
+
toAmino(message: QueryParamsResponse): QueryParamsResponseAmino;
|
|
206
|
+
fromAminoMsg(object: QueryParamsResponseAminoMsg): QueryParamsResponse;
|
|
207
|
+
fromProtoMsg(message: QueryParamsResponseProtoMsg): QueryParamsResponse;
|
|
208
|
+
toProto(message: QueryParamsResponse): Uint8Array;
|
|
209
|
+
toProtoMsg(message: QueryParamsResponse): QueryParamsResponseProtoMsg;
|
|
210
|
+
};
|
|
211
|
+
export declare const QueryTasksRequest: {
|
|
212
|
+
typeUrl: string;
|
|
213
|
+
encode(message: QueryTasksRequest, writer?: BinaryWriter): BinaryWriter;
|
|
214
|
+
decode(input: BinaryReader | Uint8Array, length?: number): QueryTasksRequest;
|
|
215
|
+
fromPartial(object: Partial<QueryTasksRequest>): QueryTasksRequest;
|
|
216
|
+
fromAmino(object: QueryTasksRequestAmino): QueryTasksRequest;
|
|
217
|
+
toAmino(message: QueryTasksRequest): QueryTasksRequestAmino;
|
|
218
|
+
fromAminoMsg(object: QueryTasksRequestAminoMsg): QueryTasksRequest;
|
|
219
|
+
fromProtoMsg(message: QueryTasksRequestProtoMsg): QueryTasksRequest;
|
|
220
|
+
toProto(message: QueryTasksRequest): Uint8Array;
|
|
221
|
+
toProtoMsg(message: QueryTasksRequest): QueryTasksRequestProtoMsg;
|
|
222
|
+
};
|
|
223
|
+
export declare const QueryTasksResponse: {
|
|
224
|
+
typeUrl: string;
|
|
225
|
+
encode(message: QueryTasksResponse, writer?: BinaryWriter): BinaryWriter;
|
|
226
|
+
decode(input: BinaryReader | Uint8Array, length?: number): QueryTasksResponse;
|
|
227
|
+
fromPartial(object: Partial<QueryTasksResponse>): QueryTasksResponse;
|
|
228
|
+
fromAmino(object: QueryTasksResponseAmino): QueryTasksResponse;
|
|
229
|
+
toAmino(message: QueryTasksResponse): QueryTasksResponseAmino;
|
|
230
|
+
fromAminoMsg(object: QueryTasksResponseAminoMsg): QueryTasksResponse;
|
|
231
|
+
fromProtoMsg(message: QueryTasksResponseProtoMsg): QueryTasksResponse;
|
|
232
|
+
toProto(message: QueryTasksResponse): Uint8Array;
|
|
233
|
+
toProtoMsg(message: QueryTasksResponse): QueryTasksResponseProtoMsg;
|
|
234
|
+
};
|
|
235
|
+
export declare const QueryGetRewardRequest: {
|
|
236
|
+
typeUrl: string;
|
|
237
|
+
encode(message: QueryGetRewardRequest, writer?: BinaryWriter): BinaryWriter;
|
|
238
|
+
decode(input: BinaryReader | Uint8Array, length?: number): QueryGetRewardRequest;
|
|
239
|
+
fromPartial(object: Partial<QueryGetRewardRequest>): QueryGetRewardRequest;
|
|
240
|
+
fromAmino(object: QueryGetRewardRequestAmino): QueryGetRewardRequest;
|
|
241
|
+
toAmino(message: QueryGetRewardRequest): QueryGetRewardRequestAmino;
|
|
242
|
+
fromAminoMsg(object: QueryGetRewardRequestAminoMsg): QueryGetRewardRequest;
|
|
243
|
+
fromProtoMsg(message: QueryGetRewardRequestProtoMsg): QueryGetRewardRequest;
|
|
244
|
+
toProto(message: QueryGetRewardRequest): Uint8Array;
|
|
245
|
+
toProtoMsg(message: QueryGetRewardRequest): QueryGetRewardRequestProtoMsg;
|
|
246
|
+
};
|
|
247
|
+
export declare const QueryGetRewardResponseReward: {
|
|
248
|
+
typeUrl: string;
|
|
249
|
+
encode(message: QueryGetRewardResponseReward, writer?: BinaryWriter): BinaryWriter;
|
|
250
|
+
decode(input: BinaryReader | Uint8Array, length?: number): QueryGetRewardResponseReward;
|
|
251
|
+
fromPartial(object: Partial<QueryGetRewardResponseReward>): QueryGetRewardResponseReward;
|
|
252
|
+
fromAmino(object: QueryGetRewardResponseRewardAmino): QueryGetRewardResponseReward;
|
|
253
|
+
toAmino(message: QueryGetRewardResponseReward): QueryGetRewardResponseRewardAmino;
|
|
254
|
+
fromAminoMsg(object: QueryGetRewardResponseRewardAminoMsg): QueryGetRewardResponseReward;
|
|
255
|
+
fromProtoMsg(message: QueryGetRewardResponseRewardProtoMsg): QueryGetRewardResponseReward;
|
|
256
|
+
toProto(message: QueryGetRewardResponseReward): Uint8Array;
|
|
257
|
+
toProtoMsg(message: QueryGetRewardResponseReward): QueryGetRewardResponseRewardProtoMsg;
|
|
258
|
+
};
|
|
259
|
+
export declare const QueryGetRewardResponse: {
|
|
260
|
+
typeUrl: string;
|
|
261
|
+
encode(message: QueryGetRewardResponse, writer?: BinaryWriter): BinaryWriter;
|
|
262
|
+
decode(input: BinaryReader | Uint8Array, length?: number): QueryGetRewardResponse;
|
|
263
|
+
fromPartial(object: Partial<QueryGetRewardResponse>): QueryGetRewardResponse;
|
|
264
|
+
fromAmino(object: QueryGetRewardResponseAmino): QueryGetRewardResponse;
|
|
265
|
+
toAmino(message: QueryGetRewardResponse): QueryGetRewardResponseAmino;
|
|
266
|
+
fromAminoMsg(object: QueryGetRewardResponseAminoMsg): QueryGetRewardResponse;
|
|
267
|
+
fromProtoMsg(message: QueryGetRewardResponseProtoMsg): QueryGetRewardResponse;
|
|
268
|
+
toProto(message: QueryGetRewardResponse): Uint8Array;
|
|
269
|
+
toProtoMsg(message: QueryGetRewardResponse): QueryGetRewardResponseProtoMsg;
|
|
270
|
+
};
|
|
271
|
+
export declare const QueryAllRewardsRequest: {
|
|
272
|
+
typeUrl: string;
|
|
273
|
+
encode(message: QueryAllRewardsRequest, writer?: BinaryWriter): BinaryWriter;
|
|
274
|
+
decode(input: BinaryReader | Uint8Array, length?: number): QueryAllRewardsRequest;
|
|
275
|
+
fromPartial(object: Partial<QueryAllRewardsRequest>): QueryAllRewardsRequest;
|
|
276
|
+
fromAmino(object: QueryAllRewardsRequestAmino): QueryAllRewardsRequest;
|
|
277
|
+
toAmino(message: QueryAllRewardsRequest): QueryAllRewardsRequestAmino;
|
|
278
|
+
fromAminoMsg(object: QueryAllRewardsRequestAminoMsg): QueryAllRewardsRequest;
|
|
279
|
+
fromProtoMsg(message: QueryAllRewardsRequestProtoMsg): QueryAllRewardsRequest;
|
|
280
|
+
toProto(message: QueryAllRewardsRequest): Uint8Array;
|
|
281
|
+
toProtoMsg(message: QueryAllRewardsRequest): QueryAllRewardsRequestProtoMsg;
|
|
282
|
+
};
|
|
283
|
+
export declare const QueryAllRewardsResponse: {
|
|
284
|
+
typeUrl: string;
|
|
285
|
+
encode(message: QueryAllRewardsResponse, writer?: BinaryWriter): BinaryWriter;
|
|
286
|
+
decode(input: BinaryReader | Uint8Array, length?: number): QueryAllRewardsResponse;
|
|
287
|
+
fromPartial(object: Partial<QueryAllRewardsResponse>): QueryAllRewardsResponse;
|
|
288
|
+
fromAmino(object: QueryAllRewardsResponseAmino): QueryAllRewardsResponse;
|
|
289
|
+
toAmino(message: QueryAllRewardsResponse): QueryAllRewardsResponseAmino;
|
|
290
|
+
fromAminoMsg(object: QueryAllRewardsResponseAminoMsg): QueryAllRewardsResponse;
|
|
291
|
+
fromProtoMsg(message: QueryAllRewardsResponseProtoMsg): QueryAllRewardsResponse;
|
|
292
|
+
toProto(message: QueryAllRewardsResponse): Uint8Array;
|
|
293
|
+
toProtoMsg(message: QueryAllRewardsResponse): QueryAllRewardsResponseProtoMsg;
|
|
294
|
+
};
|