@gitopia/gitopiajs 0.0.2 → 0.0.4
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/package.json +3 -3
- package/dist/LICENSE +0 -21
- package/dist/amino/amino.d.ts +0 -1
- package/dist/amino/amino.js +0 -2
- package/dist/amino/bundle.d.ts +0 -1
- package/dist/amino/bundle.js +0 -41
- package/dist/binary.d.ts +0 -130
- package/dist/binary.js +0 -371
- package/dist/cosmos/bank/v1beta1/bank.d.ts +0 -407
- package/dist/cosmos/bank/v1beta1/bank.js +0 -664
- package/dist/cosmos/bank/v1beta1/query.d.ts +0 -1062
- package/dist/cosmos/bank/v1beta1/query.js +0 -1759
- package/dist/cosmos/bank/v1beta1/query.lcd.d.ts +0 -19
- package/dist/cosmos/bank/v1beta1/query.lcd.js +0 -173
- package/dist/cosmos/bank/v1beta1/query.rpc.Query.d.ts +0 -106
- package/dist/cosmos/bank/v1beta1/query.rpc.Query.js +0 -123
- package/dist/cosmos/base/query/v1beta1/pagination.d.ts +0 -190
- package/dist/cosmos/base/query/v1beta1/pagination.js +0 -204
- package/dist/cosmos/base/v1beta1/coin.d.ts +0 -193
- package/dist/cosmos/base/v1beta1/coin.js +0 -306
- package/dist/cosmos/bundle.d.ts +0 -2311
- package/dist/cosmos/bundle.js +0 -134
- package/dist/cosmos/client.d.ts +0 -84
- package/dist/cosmos/client.js +0 -65
- package/dist/cosmos/feegrant/v1beta1/feegrant.d.ts +0 -245
- package/dist/cosmos/feegrant/v1beta1/feegrant.js +0 -456
- package/dist/cosmos/feegrant/v1beta1/query.d.ts +0 -258
- package/dist/cosmos/feegrant/v1beta1/query.js +0 -487
- package/dist/cosmos/feegrant/v1beta1/query.lcd.d.ts +0 -11
- package/dist/cosmos/feegrant/v1beta1/query.lcd.js +0 -44
- package/dist/cosmos/feegrant/v1beta1/query.rpc.Query.d.ts +0 -28
- package/dist/cosmos/feegrant/v1beta1/query.rpc.Query.js +0 -47
- package/dist/cosmos/gov/v1beta1/gov.d.ts +0 -571
- package/dist/cosmos/gov/v1beta1/gov.js +0 -1122
- package/dist/cosmos/gov/v1beta1/query.d.ts +0 -636
- package/dist/cosmos/gov/v1beta1/query.js +0 -1264
- package/dist/cosmos/gov/v1beta1/query.lcd.d.ts +0 -16
- package/dist/cosmos/gov/v1beta1/query.lcd.js +0 -87
- package/dist/cosmos/gov/v1beta1/query.rpc.Query.d.ts +0 -44
- package/dist/cosmos/gov/v1beta1/query.rpc.Query.js +0 -92
- package/dist/cosmos/group/v1/query.d.ts +0 -1097
- package/dist/cosmos/group/v1/query.js +0 -2182
- package/dist/cosmos/group/v1/query.lcd.d.ts +0 -22
- package/dist/cosmos/group/v1/query.lcd.js +0 -158
- package/dist/cosmos/group/v1/query.rpc.Query.d.ts +0 -78
- package/dist/cosmos/group/v1/query.rpc.Query.js +0 -148
- package/dist/cosmos/group/v1/tx.amino.d.ts +0 -73
- package/dist/cosmos/group/v1/tx.amino.js +0 -77
- package/dist/cosmos/group/v1/tx.d.ts +0 -1198
- package/dist/cosmos/group/v1/tx.js +0 -2362
- package/dist/cosmos/group/v1/tx.registry.d.ts +0 -180
- package/dist/cosmos/group/v1/tx.registry.js +0 -271
- package/dist/cosmos/group/v1/tx.rpc.msg.d.ts +0 -51
- package/dist/cosmos/group/v1/tx.rpc.msg.js +0 -96
- package/dist/cosmos/group/v1/types.d.ts +0 -873
- package/dist/cosmos/group/v1/types.js +0 -1495
- package/dist/cosmos/msg/v1/msg.d.ts +0 -1
- package/dist/cosmos/msg/v1/msg.js +0 -2
- package/dist/cosmos/query/v1/query.d.ts +0 -1
- package/dist/cosmos/query/v1/query.js +0 -2
- package/dist/cosmos/rpc.query.d.ts +0 -59
- package/dist/cosmos/rpc.query.js +0 -60
- package/dist/cosmos/rpc.tx.d.ts +0 -10
- package/dist/cosmos/rpc.tx.js +0 -44
- package/dist/cosmos/upgrade/v1beta1/upgrade.d.ts +0 -278
- package/dist/cosmos/upgrade/v1beta1/upgrade.js +0 -382
- package/dist/cosmos_proto/bundle.d.ts +0 -32
- package/dist/cosmos_proto/bundle.js +0 -41
- package/dist/cosmos_proto/cosmos.d.ts +0 -171
- package/dist/cosmos_proto/cosmos.js +0 -221
- package/dist/esm/amino/amino.js +0 -1
- package/dist/esm/amino/bundle.js +0 -5
- package/dist/esm/binary.js +0 -366
- package/dist/esm/cosmos/bank/v1beta1/bank.js +0 -661
- package/dist/esm/cosmos/bank/v1beta1/query.js +0 -1756
- package/dist/esm/cosmos/bank/v1beta1/query.lcd.js +0 -169
- package/dist/esm/cosmos/bank/v1beta1/query.rpc.Query.js +0 -118
- package/dist/esm/cosmos/base/query/v1beta1/pagination.js +0 -201
- package/dist/esm/cosmos/base/v1beta1/coin.js +0 -303
- package/dist/esm/cosmos/bundle.js +0 -98
- package/dist/esm/cosmos/client.js +0 -27
- package/dist/esm/cosmos/feegrant/v1beta1/feegrant.js +0 -450
- package/dist/esm/cosmos/feegrant/v1beta1/query.js +0 -484
- package/dist/esm/cosmos/feegrant/v1beta1/query.lcd.js +0 -40
- package/dist/esm/cosmos/feegrant/v1beta1/query.rpc.Query.js +0 -42
- package/dist/esm/cosmos/gov/v1beta1/gov.js +0 -1112
- package/dist/esm/cosmos/gov/v1beta1/query.js +0 -1261
- package/dist/esm/cosmos/gov/v1beta1/query.lcd.js +0 -83
- package/dist/esm/cosmos/gov/v1beta1/query.rpc.Query.js +0 -87
- package/dist/esm/cosmos/group/v1/query.js +0 -2179
- package/dist/esm/cosmos/group/v1/query.lcd.js +0 -154
- package/dist/esm/cosmos/group/v1/query.rpc.Query.js +0 -143
- package/dist/esm/cosmos/group/v1/tx.amino.js +0 -74
- package/dist/esm/cosmos/group/v1/tx.js +0 -2354
- package/dist/esm/cosmos/group/v1/tx.registry.js +0 -267
- package/dist/esm/cosmos/group/v1/tx.rpc.msg.js +0 -92
- package/dist/esm/cosmos/group/v1/types.js +0 -1483
- package/dist/esm/cosmos/msg/v1/msg.js +0 -1
- package/dist/esm/cosmos/query/v1/query.js +0 -1
- package/dist/esm/cosmos/rpc.query.js +0 -23
- package/dist/esm/cosmos/rpc.tx.js +0 -7
- package/dist/esm/cosmos/upgrade/v1beta1/upgrade.js +0 -379
- package/dist/esm/cosmos_proto/bundle.js +0 -5
- package/dist/esm/cosmos_proto/cosmos.js +0 -216
- package/dist/esm/gitopia/bundle.js +0 -95
- package/dist/esm/gitopia/client.js +0 -32
- package/dist/esm/gitopia/custom-lcd-client.js +0 -50
- package/dist/esm/gitopia/gitopia/gitopia/attachment.js +0 -101
- package/dist/esm/gitopia/gitopia/gitopia/bounty.js +0 -255
- package/dist/esm/gitopia/gitopia/gitopia/branch.js +0 -137
- package/dist/esm/gitopia/gitopia/gitopia/comment.js +0 -488
- package/dist/esm/gitopia/gitopia/gitopia/dao.js +0 -451
- package/dist/esm/gitopia/gitopia/gitopia/exercised_amount.js +0 -78
- package/dist/esm/gitopia/gitopia/gitopia/genesis.js +0 -460
- package/dist/esm/gitopia/gitopia/gitopia/issue.js +0 -323
- package/dist/esm/gitopia/gitopia/gitopia/params.js +0 -293
- package/dist/esm/gitopia/gitopia/gitopia/pullRequest.js +0 -565
- package/dist/esm/gitopia/gitopia/gitopia/query.js +0 -7351
- package/dist/esm/gitopia/gitopia/gitopia/query.lcd.js +0 -452
- package/dist/esm/gitopia/gitopia/gitopia/query.rpc.Query.js +0 -453
- package/dist/esm/gitopia/gitopia/gitopia/reaction.js +0 -123
- package/dist/esm/gitopia/gitopia/gitopia/release.js +0 -225
- package/dist/esm/gitopia/gitopia/gitopia/repository.js +0 -1200
- package/dist/esm/gitopia/gitopia/gitopia/tag.js +0 -125
- package/dist/esm/gitopia/gitopia/gitopia/task.js +0 -197
- package/dist/esm/gitopia/gitopia/gitopia/tx.amino.js +0 -464
- package/dist/esm/gitopia/gitopia/gitopia/tx.js +0 -14679
- package/dist/esm/gitopia/gitopia/gitopia/tx.registry.js +0 -1671
- package/dist/esm/gitopia/gitopia/gitopia/tx.rpc.msg.js +0 -560
- package/dist/esm/gitopia/gitopia/gitopia/user.js +0 -340
- package/dist/esm/gitopia/gitopia/gitopia/whois.js +0 -146
- package/dist/esm/gitopia/gitopia/offchain/offchain.js +0 -144
- package/dist/esm/gitopia/gitopia/rewards/genesis.js +0 -82
- package/dist/esm/gitopia/gitopia/rewards/params.js +0 -81
- package/dist/esm/gitopia/gitopia/rewards/pool.js +0 -191
- package/dist/esm/gitopia/gitopia/rewards/query.js +0 -654
- package/dist/esm/gitopia/gitopia/rewards/query.lcd.js +0 -40
- package/dist/esm/gitopia/gitopia/rewards/query.rpc.Query.js +0 -53
- package/dist/esm/gitopia/gitopia/rewards/rewards.js +0 -191
- package/dist/esm/gitopia/gitopia/rewards/task.js +0 -176
- package/dist/esm/gitopia/gitopia/rewards/tx.amino.js +0 -19
- package/dist/esm/gitopia/gitopia/rewards/tx.js +0 -525
- package/dist/esm/gitopia/gitopia/rewards/tx.registry.js +0 -69
- package/dist/esm/gitopia/gitopia/rewards/tx.rpc.msg.js +0 -26
- package/dist/esm/gitopia/rpc.query.js +0 -29
- package/dist/esm/gitopia/rpc.tx.js +0 -13
- package/dist/esm/gogoproto/bundle.js +0 -5
- package/dist/esm/gogoproto/gogo.js +0 -1
- package/dist/esm/google/api/annotations.js +0 -1
- package/dist/esm/google/api/http.js +0 -329
- package/dist/esm/google/bundle.js +0 -14
- package/dist/esm/google/protobuf/any.js +0 -74
- package/dist/esm/google/protobuf/descriptor.js +0 -4848
- package/dist/esm/google/protobuf/duration.js +0 -71
- package/dist/esm/google/protobuf/timestamp.js +0 -68
- package/dist/esm/helpers.js +0 -129
- package/dist/esm/ibc/applications/transfer/v1/query.js +0 -847
- package/dist/esm/ibc/applications/transfer/v1/query.lcd.js +0 -70
- package/dist/esm/ibc/applications/transfer/v1/query.rpc.Query.js +0 -71
- package/dist/esm/ibc/applications/transfer/v1/transfer.js +0 -164
- package/dist/esm/ibc/applications/transfer/v1/tx.amino.js +0 -9
- package/dist/esm/ibc/applications/transfer/v1/tx.js +0 -226
- package/dist/esm/ibc/applications/transfer/v1/tx.registry.js +0 -33
- package/dist/esm/ibc/applications/transfer/v1/tx.rpc.msg.js +0 -14
- package/dist/esm/ibc/bundle.js +0 -44
- package/dist/esm/ibc/client.js +0 -29
- package/dist/esm/ibc/core/client/v1/client.js +0 -611
- package/dist/esm/ibc/rpc.query.js +0 -30
- package/dist/esm/ibc/rpc.tx.js +0 -14
- package/dist/esm/index.js +0 -19
- package/dist/esm/utf8.js +0 -137
- package/dist/esm/varint.js +0 -408
- package/dist/gitopia/bundle.d.ts +0 -6123
- package/dist/gitopia/bundle.js +0 -131
- package/dist/gitopia/client.d.ts +0 -492
- package/dist/gitopia/client.js +0 -70
- package/dist/gitopia/custom-lcd-client.d.ts +0 -31
- package/dist/gitopia/custom-lcd-client.js +0 -87
- package/dist/gitopia/gitopia/gitopia/attachment.d.ts +0 -39
- package/dist/gitopia/gitopia/gitopia/attachment.js +0 -104
- package/dist/gitopia/gitopia/gitopia/bounty.d.ts +0 -79
- package/dist/gitopia/gitopia/gitopia/bounty.js +0 -262
- package/dist/gitopia/gitopia/gitopia/branch.d.ts +0 -48
- package/dist/gitopia/gitopia/gitopia/branch.js +0 -140
- package/dist/gitopia/gitopia/gitopia/comment.d.ts +0 -125
- package/dist/gitopia/gitopia/gitopia/comment.js +0 -495
- package/dist/gitopia/gitopia/gitopia/dao.d.ts +0 -160
- package/dist/gitopia/gitopia/gitopia/dao.js +0 -454
- package/dist/gitopia/gitopia/gitopia/exercised_amount.d.ts +0 -34
- package/dist/gitopia/gitopia/gitopia/exercised_amount.js +0 -81
- package/dist/gitopia/gitopia/gitopia/genesis.d.ts +0 -143
- package/dist/gitopia/gitopia/gitopia/genesis.js +0 -463
- package/dist/gitopia/gitopia/gitopia/issue.d.ts +0 -88
- package/dist/gitopia/gitopia/gitopia/issue.js +0 -328
- package/dist/gitopia/gitopia/gitopia/params.d.ts +0 -115
- package/dist/gitopia/gitopia/gitopia/params.js +0 -296
- package/dist/gitopia/gitopia/gitopia/pullRequest.d.ts +0 -177
- package/dist/gitopia/gitopia/gitopia/pullRequest.js +0 -570
- package/dist/gitopia/gitopia/gitopia/query.d.ts +0 -3130
- package/dist/gitopia/gitopia/gitopia/query.js +0 -7355
- package/dist/gitopia/gitopia/gitopia/query.lcd.d.ts +0 -54
- package/dist/gitopia/gitopia/gitopia/query.lcd.js +0 -456
- package/dist/gitopia/gitopia/gitopia/query.rpc.Query.d.ts +0 -188
- package/dist/gitopia/gitopia/gitopia/query.rpc.Query.js +0 -458
- package/dist/gitopia/gitopia/gitopia/reaction.d.ts +0 -42
- package/dist/gitopia/gitopia/gitopia/reaction.js +0 -128
- package/dist/gitopia/gitopia/gitopia/release.d.ts +0 -70
- package/dist/gitopia/gitopia/gitopia/release.js +0 -228
- package/dist/gitopia/gitopia/gitopia/repository.d.ts +0 -424
- package/dist/gitopia/gitopia/gitopia/repository.js +0 -1207
- package/dist/gitopia/gitopia/gitopia/tag.d.ts +0 -45
- package/dist/gitopia/gitopia/gitopia/tag.js +0 -128
- package/dist/gitopia/gitopia/gitopia/task.d.ts +0 -64
- package/dist/gitopia/gitopia/gitopia/task.js +0 -204
- package/dist/gitopia/gitopia/gitopia/tx.amino.d.ts +0 -463
- package/dist/gitopia/gitopia/gitopia/tx.amino.js +0 -467
- package/dist/gitopia/gitopia/gitopia/tx.d.ts +0 -6246
- package/dist/gitopia/gitopia/gitopia/tx.js +0 -14687
- package/dist/gitopia/gitopia/gitopia/tx.registry.d.ts +0 -1116
- package/dist/gitopia/gitopia/gitopia/tx.registry.js +0 -1675
- package/dist/gitopia/gitopia/gitopia/tx.rpc.msg.d.ts +0 -200
- package/dist/gitopia/gitopia/gitopia/tx.rpc.msg.js +0 -564
- package/dist/gitopia/gitopia/gitopia/user.d.ts +0 -104
- package/dist/gitopia/gitopia/gitopia/user.js +0 -343
- package/dist/gitopia/gitopia/gitopia/whois.d.ts +0 -51
- package/dist/gitopia/gitopia/gitopia/whois.js +0 -151
- package/dist/gitopia/gitopia/offchain/offchain.d.ts +0 -74
- package/dist/gitopia/gitopia/offchain/offchain.js +0 -147
- package/dist/gitopia/gitopia/rewards/genesis.d.ts +0 -40
- package/dist/gitopia/gitopia/rewards/genesis.js +0 -85
- package/dist/gitopia/gitopia/rewards/params.d.ts +0 -37
- package/dist/gitopia/gitopia/rewards/params.js +0 -84
- package/dist/gitopia/gitopia/rewards/pool.d.ts +0 -59
- package/dist/gitopia/gitopia/rewards/pool.js +0 -196
- package/dist/gitopia/gitopia/rewards/query.d.ts +0 -294
- package/dist/gitopia/gitopia/rewards/query.js +0 -657
- package/dist/gitopia/gitopia/rewards/query.lcd.d.ts +0 -12
- package/dist/gitopia/gitopia/rewards/query.lcd.js +0 -44
- package/dist/gitopia/gitopia/rewards/query.rpc.Query.d.ts +0 -28
- package/dist/gitopia/gitopia/rewards/query.rpc.Query.js +0 -58
- package/dist/gitopia/gitopia/rewards/rewards.d.ts +0 -79
- package/dist/gitopia/gitopia/rewards/rewards.js +0 -194
- package/dist/gitopia/gitopia/rewards/task.d.ts +0 -54
- package/dist/gitopia/gitopia/rewards/task.js +0 -181
- package/dist/gitopia/gitopia/rewards/tx.amino.d.ts +0 -18
- package/dist/gitopia/gitopia/rewards/tx.amino.js +0 -22
- package/dist/gitopia/gitopia/rewards/tx.d.ts +0 -242
- package/dist/gitopia/gitopia/rewards/tx.js +0 -528
- package/dist/gitopia/gitopia/rewards/tx.registry.d.ts +0 -48
- package/dist/gitopia/gitopia/rewards/tx.registry.js +0 -73
- package/dist/gitopia/gitopia/rewards/tx.rpc.msg.d.ts +0 -19
- package/dist/gitopia/gitopia/rewards/tx.rpc.msg.js +0 -30
- package/dist/gitopia/rpc.query.d.ts +0 -117
- package/dist/gitopia/rpc.query.js +0 -66
- package/dist/gitopia/rpc.tx.d.ts +0 -16
- package/dist/gitopia/rpc.tx.js +0 -50
- package/dist/gogoproto/bundle.d.ts +0 -1
- package/dist/gogoproto/bundle.js +0 -41
- package/dist/gogoproto/gogo.d.ts +0 -1
- package/dist/gogoproto/gogo.js +0 -2
- package/dist/google/api/annotations.d.ts +0 -1
- package/dist/google/api/annotations.js +0 -2
- package/dist/google/api/http.d.ts +0 -1049
- package/dist/google/api/http.js +0 -332
- package/dist/google/bundle.d.ts +0 -525
- package/dist/google/bundle.js +0 -50
- package/dist/google/protobuf/any.d.ts +0 -358
- package/dist/google/protobuf/any.js +0 -77
- package/dist/google/protobuf/descriptor.d.ts +0 -3178
- package/dist/google/protobuf/descriptor.js +0 -4886
- package/dist/google/protobuf/duration.d.ts +0 -223
- package/dist/google/protobuf/duration.js +0 -74
- package/dist/google/protobuf/timestamp.d.ts +0 -314
- package/dist/google/protobuf/timestamp.js +0 -71
- package/dist/helpers.d.ts +0 -82
- package/dist/helpers.js +0 -144
- package/dist/ibc/applications/transfer/v1/query.d.ts +0 -479
- package/dist/ibc/applications/transfer/v1/query.js +0 -850
- package/dist/ibc/applications/transfer/v1/query.lcd.d.ts +0 -14
- package/dist/ibc/applications/transfer/v1/query.lcd.js +0 -74
- package/dist/ibc/applications/transfer/v1/query.rpc.Query.d.ts +0 -36
- package/dist/ibc/applications/transfer/v1/query.rpc.Query.js +0 -76
- package/dist/ibc/applications/transfer/v1/transfer.d.ts +0 -123
- package/dist/ibc/applications/transfer/v1/transfer.js +0 -167
- package/dist/ibc/applications/transfer/v1/tx.amino.d.ts +0 -8
- package/dist/ibc/applications/transfer/v1/tx.amino.js +0 -12
- package/dist/ibc/applications/transfer/v1/tx.d.ts +0 -132
- package/dist/ibc/applications/transfer/v1/tx.js +0 -229
- package/dist/ibc/applications/transfer/v1/tx.registry.d.ts +0 -24
- package/dist/ibc/applications/transfer/v1/tx.registry.js +0 -37
- package/dist/ibc/applications/transfer/v1/tx.rpc.msg.d.ts +0 -12
- package/dist/ibc/applications/transfer/v1/tx.rpc.msg.js +0 -18
- package/dist/ibc/bundle.d.ts +0 -450
- package/dist/ibc/bundle.js +0 -80
- package/dist/ibc/client.d.ts +0 -22
- package/dist/ibc/client.js +0 -67
- package/dist/ibc/core/client/v1/client.d.ts +0 -408
- package/dist/ibc/core/client/v1/client.js +0 -614
- package/dist/ibc/rpc.query.d.ts +0 -73
- package/dist/ibc/rpc.query.js +0 -67
- package/dist/ibc/rpc.tx.d.ts +0 -17
- package/dist/ibc/rpc.tx.js +0 -51
- package/dist/index.d.ts +0 -18
- package/dist/index.js +0 -35
- package/dist/package.json +0 -46
- package/dist/utf8.d.ts +0 -27
- package/dist/utf8.js +0 -141
- package/dist/varint.d.ts +0 -105
- package/dist/varint.js +0 -426
package/dist/cosmos/bundle.js
DELETED
|
@@ -1,134 +0,0 @@
|
|
|
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 _2 = __importStar(require("./bank/v1beta1/bank"));
|
|
39
|
-
const _3 = __importStar(require("./bank/v1beta1/query"));
|
|
40
|
-
const _4 = __importStar(require("./base/query/v1beta1/pagination"));
|
|
41
|
-
const _5 = __importStar(require("./base/v1beta1/coin"));
|
|
42
|
-
const _6 = __importStar(require("./feegrant/v1beta1/feegrant"));
|
|
43
|
-
const _7 = __importStar(require("./feegrant/v1beta1/query"));
|
|
44
|
-
const _8 = __importStar(require("./gov/v1beta1/gov"));
|
|
45
|
-
const _9 = __importStar(require("./gov/v1beta1/query"));
|
|
46
|
-
const _10 = __importStar(require("./group/v1/query"));
|
|
47
|
-
const _11 = __importStar(require("./group/v1/tx"));
|
|
48
|
-
const _12 = __importStar(require("./group/v1/types"));
|
|
49
|
-
const _13 = __importStar(require("./query/v1/query"));
|
|
50
|
-
const _14 = __importStar(require("./upgrade/v1beta1/upgrade"));
|
|
51
|
-
const _51 = __importStar(require("./group/v1/tx.amino"));
|
|
52
|
-
const _52 = __importStar(require("./group/v1/tx.registry"));
|
|
53
|
-
const _53 = __importStar(require("./bank/v1beta1/query.lcd"));
|
|
54
|
-
const _54 = __importStar(require("./feegrant/v1beta1/query.lcd"));
|
|
55
|
-
const _55 = __importStar(require("./gov/v1beta1/query.lcd"));
|
|
56
|
-
const _56 = __importStar(require("./group/v1/query.lcd"));
|
|
57
|
-
const _57 = __importStar(require("./bank/v1beta1/query.rpc.Query"));
|
|
58
|
-
const _58 = __importStar(require("./feegrant/v1beta1/query.rpc.Query"));
|
|
59
|
-
const _59 = __importStar(require("./gov/v1beta1/query.rpc.Query"));
|
|
60
|
-
const _60 = __importStar(require("./group/v1/query.rpc.Query"));
|
|
61
|
-
const _61 = __importStar(require("./group/v1/tx.rpc.msg"));
|
|
62
|
-
const _77 = __importStar(require("./rpc.query"));
|
|
63
|
-
const _78 = __importStar(require("./rpc.tx"));
|
|
64
|
-
var cosmos;
|
|
65
|
-
(function (cosmos) {
|
|
66
|
-
let bank;
|
|
67
|
-
(function (bank) {
|
|
68
|
-
bank.v1beta1 = {
|
|
69
|
-
..._2,
|
|
70
|
-
..._3,
|
|
71
|
-
..._53,
|
|
72
|
-
..._57
|
|
73
|
-
};
|
|
74
|
-
})(bank = cosmos.bank || (cosmos.bank = {}));
|
|
75
|
-
let base;
|
|
76
|
-
(function (base) {
|
|
77
|
-
let query;
|
|
78
|
-
(function (query) {
|
|
79
|
-
query.v1beta1 = {
|
|
80
|
-
..._4
|
|
81
|
-
};
|
|
82
|
-
})(query = base.query || (base.query = {}));
|
|
83
|
-
base.v1beta1 = {
|
|
84
|
-
..._5
|
|
85
|
-
};
|
|
86
|
-
})(base = cosmos.base || (cosmos.base = {}));
|
|
87
|
-
let feegrant;
|
|
88
|
-
(function (feegrant) {
|
|
89
|
-
feegrant.v1beta1 = {
|
|
90
|
-
..._6,
|
|
91
|
-
..._7,
|
|
92
|
-
..._54,
|
|
93
|
-
..._58
|
|
94
|
-
};
|
|
95
|
-
})(feegrant = cosmos.feegrant || (cosmos.feegrant = {}));
|
|
96
|
-
let gov;
|
|
97
|
-
(function (gov) {
|
|
98
|
-
gov.v1beta1 = {
|
|
99
|
-
..._8,
|
|
100
|
-
..._9,
|
|
101
|
-
..._55,
|
|
102
|
-
..._59
|
|
103
|
-
};
|
|
104
|
-
})(gov = cosmos.gov || (cosmos.gov = {}));
|
|
105
|
-
let group;
|
|
106
|
-
(function (group) {
|
|
107
|
-
group.v1 = {
|
|
108
|
-
..._10,
|
|
109
|
-
..._11,
|
|
110
|
-
..._12,
|
|
111
|
-
..._51,
|
|
112
|
-
..._52,
|
|
113
|
-
..._56,
|
|
114
|
-
..._60,
|
|
115
|
-
..._61
|
|
116
|
-
};
|
|
117
|
-
})(group = cosmos.group || (cosmos.group = {}));
|
|
118
|
-
let query;
|
|
119
|
-
(function (query) {
|
|
120
|
-
query.v1 = {
|
|
121
|
-
..._13
|
|
122
|
-
};
|
|
123
|
-
})(query = cosmos.query || (cosmos.query = {}));
|
|
124
|
-
let upgrade;
|
|
125
|
-
(function (upgrade) {
|
|
126
|
-
upgrade.v1beta1 = {
|
|
127
|
-
..._14
|
|
128
|
-
};
|
|
129
|
-
})(upgrade = cosmos.upgrade || (cosmos.upgrade = {}));
|
|
130
|
-
cosmos.ClientFactory = {
|
|
131
|
-
..._77,
|
|
132
|
-
..._78
|
|
133
|
-
};
|
|
134
|
-
})(cosmos || (exports.cosmos = cosmos = {}));
|
package/dist/cosmos/client.d.ts
DELETED
|
@@ -1,84 +0,0 @@
|
|
|
1
|
-
import { GeneratedType, Registry, OfflineSigner } from "@cosmjs/proto-signing";
|
|
2
|
-
import { AminoTypes, SigningStargateClient } from "@cosmjs/stargate";
|
|
3
|
-
import { HttpEndpoint } from "@cosmjs/tendermint-rpc";
|
|
4
|
-
export declare const cosmosAminoConverters: {
|
|
5
|
-
"/cosmos.group.v1.MsgCreateGroup": {
|
|
6
|
-
aminoType: string;
|
|
7
|
-
toAmino: (message: import("./group/v1/tx").MsgCreateGroup) => import("./group/v1/tx").MsgCreateGroupAmino;
|
|
8
|
-
fromAmino: (object: import("./group/v1/tx").MsgCreateGroupAmino) => import("./group/v1/tx").MsgCreateGroup;
|
|
9
|
-
};
|
|
10
|
-
"/cosmos.group.v1.MsgUpdateGroupMembers": {
|
|
11
|
-
aminoType: string;
|
|
12
|
-
toAmino: (message: import("./group/v1/tx").MsgUpdateGroupMembers) => import("./group/v1/tx").MsgUpdateGroupMembersAmino;
|
|
13
|
-
fromAmino: (object: import("./group/v1/tx").MsgUpdateGroupMembersAmino) => import("./group/v1/tx").MsgUpdateGroupMembers;
|
|
14
|
-
};
|
|
15
|
-
"/cosmos.group.v1.MsgUpdateGroupAdmin": {
|
|
16
|
-
aminoType: string;
|
|
17
|
-
toAmino: (message: import("./group/v1/tx").MsgUpdateGroupAdmin) => import("./group/v1/tx").MsgUpdateGroupAdminAmino;
|
|
18
|
-
fromAmino: (object: import("./group/v1/tx").MsgUpdateGroupAdminAmino) => import("./group/v1/tx").MsgUpdateGroupAdmin;
|
|
19
|
-
};
|
|
20
|
-
"/cosmos.group.v1.MsgUpdateGroupMetadata": {
|
|
21
|
-
aminoType: string;
|
|
22
|
-
toAmino: (message: import("./group/v1/tx").MsgUpdateGroupMetadata) => import("./group/v1/tx").MsgUpdateGroupMetadataAmino;
|
|
23
|
-
fromAmino: (object: import("./group/v1/tx").MsgUpdateGroupMetadataAmino) => import("./group/v1/tx").MsgUpdateGroupMetadata;
|
|
24
|
-
};
|
|
25
|
-
"/cosmos.group.v1.MsgCreateGroupPolicy": {
|
|
26
|
-
aminoType: string;
|
|
27
|
-
toAmino: (message: import("./group/v1/tx").MsgCreateGroupPolicy) => import("./group/v1/tx").MsgCreateGroupPolicyAmino;
|
|
28
|
-
fromAmino: (object: import("./group/v1/tx").MsgCreateGroupPolicyAmino) => import("./group/v1/tx").MsgCreateGroupPolicy;
|
|
29
|
-
};
|
|
30
|
-
"/cosmos.group.v1.MsgCreateGroupWithPolicy": {
|
|
31
|
-
aminoType: string;
|
|
32
|
-
toAmino: (message: import("./group/v1/tx").MsgCreateGroupWithPolicy) => import("./group/v1/tx").MsgCreateGroupWithPolicyAmino;
|
|
33
|
-
fromAmino: (object: import("./group/v1/tx").MsgCreateGroupWithPolicyAmino) => import("./group/v1/tx").MsgCreateGroupWithPolicy;
|
|
34
|
-
};
|
|
35
|
-
"/cosmos.group.v1.MsgUpdateGroupPolicyAdmin": {
|
|
36
|
-
aminoType: string;
|
|
37
|
-
toAmino: (message: import("./group/v1/tx").MsgUpdateGroupPolicyAdmin) => import("./group/v1/tx").MsgUpdateGroupPolicyAdminAmino;
|
|
38
|
-
fromAmino: (object: import("./group/v1/tx").MsgUpdateGroupPolicyAdminAmino) => import("./group/v1/tx").MsgUpdateGroupPolicyAdmin;
|
|
39
|
-
};
|
|
40
|
-
"/cosmos.group.v1.MsgUpdateGroupPolicyDecisionPolicy": {
|
|
41
|
-
aminoType: string;
|
|
42
|
-
toAmino: (message: import("./group/v1/tx").MsgUpdateGroupPolicyDecisionPolicy) => import("./group/v1/tx").MsgUpdateGroupPolicyDecisionPolicyAmino;
|
|
43
|
-
fromAmino: (object: import("./group/v1/tx").MsgUpdateGroupPolicyDecisionPolicyAmino) => import("./group/v1/tx").MsgUpdateGroupPolicyDecisionPolicy;
|
|
44
|
-
};
|
|
45
|
-
"/cosmos.group.v1.MsgUpdateGroupPolicyMetadata": {
|
|
46
|
-
aminoType: string;
|
|
47
|
-
toAmino: (message: import("./group/v1/tx").MsgUpdateGroupPolicyMetadata) => import("./group/v1/tx").MsgUpdateGroupPolicyMetadataAmino;
|
|
48
|
-
fromAmino: (object: import("./group/v1/tx").MsgUpdateGroupPolicyMetadataAmino) => import("./group/v1/tx").MsgUpdateGroupPolicyMetadata;
|
|
49
|
-
};
|
|
50
|
-
"/cosmos.group.v1.MsgSubmitProposal": {
|
|
51
|
-
aminoType: string;
|
|
52
|
-
toAmino: (message: import("./group/v1/tx").MsgSubmitProposal) => import("./group/v1/tx").MsgSubmitProposalAmino;
|
|
53
|
-
fromAmino: (object: import("./group/v1/tx").MsgSubmitProposalAmino) => import("./group/v1/tx").MsgSubmitProposal;
|
|
54
|
-
};
|
|
55
|
-
"/cosmos.group.v1.MsgWithdrawProposal": {
|
|
56
|
-
aminoType: string;
|
|
57
|
-
toAmino: (message: import("./group/v1/tx").MsgWithdrawProposal) => import("./group/v1/tx").MsgWithdrawProposalAmino;
|
|
58
|
-
fromAmino: (object: import("./group/v1/tx").MsgWithdrawProposalAmino) => import("./group/v1/tx").MsgWithdrawProposal;
|
|
59
|
-
};
|
|
60
|
-
"/cosmos.group.v1.MsgVote": {
|
|
61
|
-
aminoType: string;
|
|
62
|
-
toAmino: (message: import("./group/v1/tx").MsgVote) => import("./group/v1/tx").MsgVoteAmino;
|
|
63
|
-
fromAmino: (object: import("./group/v1/tx").MsgVoteAmino) => import("./group/v1/tx").MsgVote;
|
|
64
|
-
};
|
|
65
|
-
"/cosmos.group.v1.MsgExec": {
|
|
66
|
-
aminoType: string;
|
|
67
|
-
toAmino: (message: import("./group/v1/tx").MsgExec) => import("./group/v1/tx").MsgExecAmino;
|
|
68
|
-
fromAmino: (object: import("./group/v1/tx").MsgExecAmino) => import("./group/v1/tx").MsgExec;
|
|
69
|
-
};
|
|
70
|
-
"/cosmos.group.v1.MsgLeaveGroup": {
|
|
71
|
-
aminoType: string;
|
|
72
|
-
toAmino: (message: import("./group/v1/tx").MsgLeaveGroup) => import("./group/v1/tx").MsgLeaveGroupAmino;
|
|
73
|
-
fromAmino: (object: import("./group/v1/tx").MsgLeaveGroupAmino) => import("./group/v1/tx").MsgLeaveGroup;
|
|
74
|
-
};
|
|
75
|
-
};
|
|
76
|
-
export declare const cosmosProtoRegistry: ReadonlyArray<[string, GeneratedType]>;
|
|
77
|
-
export declare const getSigningCosmosClientOptions: () => {
|
|
78
|
-
registry: Registry;
|
|
79
|
-
aminoTypes: AminoTypes;
|
|
80
|
-
};
|
|
81
|
-
export declare const getSigningCosmosClient: ({ rpcEndpoint, signer }: {
|
|
82
|
-
rpcEndpoint: string | HttpEndpoint;
|
|
83
|
-
signer: OfflineSigner;
|
|
84
|
-
}) => Promise<SigningStargateClient>;
|
package/dist/cosmos/client.js
DELETED
|
@@ -1,65 +0,0 @@
|
|
|
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.getSigningCosmosClient = exports.getSigningCosmosClientOptions = exports.cosmosProtoRegistry = exports.cosmosAminoConverters = void 0;
|
|
37
|
-
//@ts-nocheck
|
|
38
|
-
const proto_signing_1 = require("@cosmjs/proto-signing");
|
|
39
|
-
const stargate_1 = require("@cosmjs/stargate");
|
|
40
|
-
const cosmosGroupV1TxRegistry = __importStar(require("./group/v1/tx.registry"));
|
|
41
|
-
const cosmosGroupV1TxAmino = __importStar(require("./group/v1/tx.amino"));
|
|
42
|
-
exports.cosmosAminoConverters = {
|
|
43
|
-
...cosmosGroupV1TxAmino.AminoConverter
|
|
44
|
-
};
|
|
45
|
-
exports.cosmosProtoRegistry = [...cosmosGroupV1TxRegistry.registry];
|
|
46
|
-
const getSigningCosmosClientOptions = () => {
|
|
47
|
-
const registry = new proto_signing_1.Registry([...exports.cosmosProtoRegistry]);
|
|
48
|
-
const aminoTypes = new stargate_1.AminoTypes({
|
|
49
|
-
...exports.cosmosAminoConverters
|
|
50
|
-
});
|
|
51
|
-
return {
|
|
52
|
-
registry,
|
|
53
|
-
aminoTypes
|
|
54
|
-
};
|
|
55
|
-
};
|
|
56
|
-
exports.getSigningCosmosClientOptions = getSigningCosmosClientOptions;
|
|
57
|
-
const getSigningCosmosClient = async ({ rpcEndpoint, signer }) => {
|
|
58
|
-
const { registry, aminoTypes } = (0, exports.getSigningCosmosClientOptions)();
|
|
59
|
-
const client = await stargate_1.SigningStargateClient.connectWithSigner(rpcEndpoint, signer, {
|
|
60
|
-
registry: registry,
|
|
61
|
-
aminoTypes
|
|
62
|
-
});
|
|
63
|
-
return client;
|
|
64
|
-
};
|
|
65
|
-
exports.getSigningCosmosClient = getSigningCosmosClient;
|
|
@@ -1,245 +0,0 @@
|
|
|
1
|
-
import { Coin, CoinAmino, CoinSDKType } from "../../base/v1beta1/coin";
|
|
2
|
-
import { Duration, DurationAmino, DurationSDKType } from "../../../google/protobuf/duration";
|
|
3
|
-
import { Any, AnyProtoMsg, AnyAmino, AnySDKType } from "../../../google/protobuf/any";
|
|
4
|
-
import { BinaryReader, BinaryWriter } from "../../../binary";
|
|
5
|
-
/**
|
|
6
|
-
* BasicAllowance implements Allowance with a one-time grant of coins
|
|
7
|
-
* that optionally expires. The grantee can use up to SpendLimit to cover fees.
|
|
8
|
-
*/
|
|
9
|
-
export interface BasicAllowance {
|
|
10
|
-
$typeUrl?: "/cosmos.feegrant.v1beta1.BasicAllowance";
|
|
11
|
-
/**
|
|
12
|
-
* spend_limit specifies the maximum amount of coins that can be spent
|
|
13
|
-
* by this allowance and will be updated as coins are spent. If it is
|
|
14
|
-
* empty, there is no spend limit and any amount of coins can be spent.
|
|
15
|
-
*/
|
|
16
|
-
spendLimit: Coin[];
|
|
17
|
-
/** expiration specifies an optional time when this allowance expires */
|
|
18
|
-
expiration?: Date;
|
|
19
|
-
}
|
|
20
|
-
export interface BasicAllowanceProtoMsg {
|
|
21
|
-
typeUrl: "/cosmos.feegrant.v1beta1.BasicAllowance";
|
|
22
|
-
value: Uint8Array;
|
|
23
|
-
}
|
|
24
|
-
/**
|
|
25
|
-
* BasicAllowance implements Allowance with a one-time grant of coins
|
|
26
|
-
* that optionally expires. The grantee can use up to SpendLimit to cover fees.
|
|
27
|
-
*/
|
|
28
|
-
export interface BasicAllowanceAmino {
|
|
29
|
-
/**
|
|
30
|
-
* spend_limit specifies the maximum amount of coins that can be spent
|
|
31
|
-
* by this allowance and will be updated as coins are spent. If it is
|
|
32
|
-
* empty, there is no spend limit and any amount of coins can be spent.
|
|
33
|
-
*/
|
|
34
|
-
spend_limit: CoinAmino[];
|
|
35
|
-
/** expiration specifies an optional time when this allowance expires */
|
|
36
|
-
expiration?: string;
|
|
37
|
-
}
|
|
38
|
-
export interface BasicAllowanceAminoMsg {
|
|
39
|
-
type: "cosmos-sdk/BasicAllowance";
|
|
40
|
-
value: BasicAllowanceAmino;
|
|
41
|
-
}
|
|
42
|
-
/**
|
|
43
|
-
* BasicAllowance implements Allowance with a one-time grant of coins
|
|
44
|
-
* that optionally expires. The grantee can use up to SpendLimit to cover fees.
|
|
45
|
-
*/
|
|
46
|
-
export interface BasicAllowanceSDKType {
|
|
47
|
-
$typeUrl?: "/cosmos.feegrant.v1beta1.BasicAllowance";
|
|
48
|
-
spend_limit: CoinSDKType[];
|
|
49
|
-
expiration?: Date;
|
|
50
|
-
}
|
|
51
|
-
/**
|
|
52
|
-
* PeriodicAllowance extends Allowance to allow for both a maximum cap,
|
|
53
|
-
* as well as a limit per time period.
|
|
54
|
-
*/
|
|
55
|
-
export interface PeriodicAllowance {
|
|
56
|
-
$typeUrl?: "/cosmos.feegrant.v1beta1.PeriodicAllowance";
|
|
57
|
-
/** basic specifies a struct of `BasicAllowance` */
|
|
58
|
-
basic: BasicAllowance;
|
|
59
|
-
/**
|
|
60
|
-
* period specifies the time duration in which period_spend_limit coins can
|
|
61
|
-
* be spent before that allowance is reset
|
|
62
|
-
*/
|
|
63
|
-
period: Duration;
|
|
64
|
-
/**
|
|
65
|
-
* period_spend_limit specifies the maximum number of coins that can be spent
|
|
66
|
-
* in the period
|
|
67
|
-
*/
|
|
68
|
-
periodSpendLimit: Coin[];
|
|
69
|
-
/** period_can_spend is the number of coins left to be spent before the period_reset time */
|
|
70
|
-
periodCanSpend: Coin[];
|
|
71
|
-
/**
|
|
72
|
-
* period_reset is the time at which this period resets and a new one begins,
|
|
73
|
-
* it is calculated from the start time of the first transaction after the
|
|
74
|
-
* last period ended
|
|
75
|
-
*/
|
|
76
|
-
periodReset: Date;
|
|
77
|
-
}
|
|
78
|
-
export interface PeriodicAllowanceProtoMsg {
|
|
79
|
-
typeUrl: "/cosmos.feegrant.v1beta1.PeriodicAllowance";
|
|
80
|
-
value: Uint8Array;
|
|
81
|
-
}
|
|
82
|
-
/**
|
|
83
|
-
* PeriodicAllowance extends Allowance to allow for both a maximum cap,
|
|
84
|
-
* as well as a limit per time period.
|
|
85
|
-
*/
|
|
86
|
-
export interface PeriodicAllowanceAmino {
|
|
87
|
-
/** basic specifies a struct of `BasicAllowance` */
|
|
88
|
-
basic: BasicAllowanceAmino;
|
|
89
|
-
/**
|
|
90
|
-
* period specifies the time duration in which period_spend_limit coins can
|
|
91
|
-
* be spent before that allowance is reset
|
|
92
|
-
*/
|
|
93
|
-
period: DurationAmino;
|
|
94
|
-
/**
|
|
95
|
-
* period_spend_limit specifies the maximum number of coins that can be spent
|
|
96
|
-
* in the period
|
|
97
|
-
*/
|
|
98
|
-
period_spend_limit: CoinAmino[];
|
|
99
|
-
/** period_can_spend is the number of coins left to be spent before the period_reset time */
|
|
100
|
-
period_can_spend: CoinAmino[];
|
|
101
|
-
/**
|
|
102
|
-
* period_reset is the time at which this period resets and a new one begins,
|
|
103
|
-
* it is calculated from the start time of the first transaction after the
|
|
104
|
-
* last period ended
|
|
105
|
-
*/
|
|
106
|
-
period_reset: string;
|
|
107
|
-
}
|
|
108
|
-
export interface PeriodicAllowanceAminoMsg {
|
|
109
|
-
type: "cosmos-sdk/PeriodicAllowance";
|
|
110
|
-
value: PeriodicAllowanceAmino;
|
|
111
|
-
}
|
|
112
|
-
/**
|
|
113
|
-
* PeriodicAllowance extends Allowance to allow for both a maximum cap,
|
|
114
|
-
* as well as a limit per time period.
|
|
115
|
-
*/
|
|
116
|
-
export interface PeriodicAllowanceSDKType {
|
|
117
|
-
$typeUrl?: "/cosmos.feegrant.v1beta1.PeriodicAllowance";
|
|
118
|
-
basic: BasicAllowanceSDKType;
|
|
119
|
-
period: DurationSDKType;
|
|
120
|
-
period_spend_limit: CoinSDKType[];
|
|
121
|
-
period_can_spend: CoinSDKType[];
|
|
122
|
-
period_reset: Date;
|
|
123
|
-
}
|
|
124
|
-
/** AllowedMsgAllowance creates allowance only for specified message types. */
|
|
125
|
-
export interface AllowedMsgAllowance {
|
|
126
|
-
$typeUrl?: "/cosmos.feegrant.v1beta1.AllowedMsgAllowance";
|
|
127
|
-
/** allowance can be any of basic and periodic fee allowance. */
|
|
128
|
-
allowance?: BasicAllowance | PeriodicAllowance | AllowedMsgAllowance | Any | undefined;
|
|
129
|
-
/** allowed_messages are the messages for which the grantee has the access. */
|
|
130
|
-
allowedMessages: string[];
|
|
131
|
-
}
|
|
132
|
-
export interface AllowedMsgAllowanceProtoMsg {
|
|
133
|
-
typeUrl: "/cosmos.feegrant.v1beta1.AllowedMsgAllowance";
|
|
134
|
-
value: Uint8Array;
|
|
135
|
-
}
|
|
136
|
-
export type AllowedMsgAllowanceEncoded = Omit<AllowedMsgAllowance, "allowance"> & {
|
|
137
|
-
/** allowance can be any of basic and periodic fee allowance. */ allowance?: BasicAllowanceProtoMsg | PeriodicAllowanceProtoMsg | AllowedMsgAllowanceProtoMsg | AnyProtoMsg | undefined;
|
|
138
|
-
};
|
|
139
|
-
/** AllowedMsgAllowance creates allowance only for specified message types. */
|
|
140
|
-
export interface AllowedMsgAllowanceAmino {
|
|
141
|
-
/** allowance can be any of basic and periodic fee allowance. */
|
|
142
|
-
allowance?: AnyAmino;
|
|
143
|
-
/** allowed_messages are the messages for which the grantee has the access. */
|
|
144
|
-
allowed_messages?: string[];
|
|
145
|
-
}
|
|
146
|
-
export interface AllowedMsgAllowanceAminoMsg {
|
|
147
|
-
type: "cosmos-sdk/AllowedMsgAllowance";
|
|
148
|
-
value: AllowedMsgAllowanceAmino;
|
|
149
|
-
}
|
|
150
|
-
/** AllowedMsgAllowance creates allowance only for specified message types. */
|
|
151
|
-
export interface AllowedMsgAllowanceSDKType {
|
|
152
|
-
$typeUrl?: "/cosmos.feegrant.v1beta1.AllowedMsgAllowance";
|
|
153
|
-
allowance?: BasicAllowanceSDKType | PeriodicAllowanceSDKType | AllowedMsgAllowanceSDKType | AnySDKType | undefined;
|
|
154
|
-
allowed_messages: string[];
|
|
155
|
-
}
|
|
156
|
-
/** Grant is stored in the KVStore to record a grant with full context */
|
|
157
|
-
export interface Grant {
|
|
158
|
-
/** granter is the address of the user granting an allowance of their funds. */
|
|
159
|
-
granter: string;
|
|
160
|
-
/** grantee is the address of the user being granted an allowance of another user's funds. */
|
|
161
|
-
grantee: string;
|
|
162
|
-
/** allowance can be any of basic, periodic, allowed fee allowance. */
|
|
163
|
-
allowance?: BasicAllowance | PeriodicAllowance | AllowedMsgAllowance | Any | undefined;
|
|
164
|
-
}
|
|
165
|
-
export interface GrantProtoMsg {
|
|
166
|
-
typeUrl: "/cosmos.feegrant.v1beta1.Grant";
|
|
167
|
-
value: Uint8Array;
|
|
168
|
-
}
|
|
169
|
-
export type GrantEncoded = Omit<Grant, "allowance"> & {
|
|
170
|
-
/** allowance can be any of basic, periodic, allowed fee allowance. */ allowance?: BasicAllowanceProtoMsg | PeriodicAllowanceProtoMsg | AllowedMsgAllowanceProtoMsg | AnyProtoMsg | undefined;
|
|
171
|
-
};
|
|
172
|
-
/** Grant is stored in the KVStore to record a grant with full context */
|
|
173
|
-
export interface GrantAmino {
|
|
174
|
-
/** granter is the address of the user granting an allowance of their funds. */
|
|
175
|
-
granter?: string;
|
|
176
|
-
/** grantee is the address of the user being granted an allowance of another user's funds. */
|
|
177
|
-
grantee?: string;
|
|
178
|
-
/** allowance can be any of basic, periodic, allowed fee allowance. */
|
|
179
|
-
allowance?: AnyAmino;
|
|
180
|
-
}
|
|
181
|
-
export interface GrantAminoMsg {
|
|
182
|
-
type: "cosmos-sdk/Grant";
|
|
183
|
-
value: GrantAmino;
|
|
184
|
-
}
|
|
185
|
-
/** Grant is stored in the KVStore to record a grant with full context */
|
|
186
|
-
export interface GrantSDKType {
|
|
187
|
-
granter: string;
|
|
188
|
-
grantee: string;
|
|
189
|
-
allowance?: BasicAllowanceSDKType | PeriodicAllowanceSDKType | AllowedMsgAllowanceSDKType | AnySDKType | undefined;
|
|
190
|
-
}
|
|
191
|
-
export declare const BasicAllowance: {
|
|
192
|
-
typeUrl: string;
|
|
193
|
-
encode(message: BasicAllowance, writer?: BinaryWriter): BinaryWriter;
|
|
194
|
-
decode(input: BinaryReader | Uint8Array, length?: number): BasicAllowance;
|
|
195
|
-
fromPartial(object: Partial<BasicAllowance>): BasicAllowance;
|
|
196
|
-
fromAmino(object: BasicAllowanceAmino): BasicAllowance;
|
|
197
|
-
toAmino(message: BasicAllowance): BasicAllowanceAmino;
|
|
198
|
-
fromAminoMsg(object: BasicAllowanceAminoMsg): BasicAllowance;
|
|
199
|
-
toAminoMsg(message: BasicAllowance): BasicAllowanceAminoMsg;
|
|
200
|
-
fromProtoMsg(message: BasicAllowanceProtoMsg): BasicAllowance;
|
|
201
|
-
toProto(message: BasicAllowance): Uint8Array;
|
|
202
|
-
toProtoMsg(message: BasicAllowance): BasicAllowanceProtoMsg;
|
|
203
|
-
};
|
|
204
|
-
export declare const PeriodicAllowance: {
|
|
205
|
-
typeUrl: string;
|
|
206
|
-
encode(message: PeriodicAllowance, writer?: BinaryWriter): BinaryWriter;
|
|
207
|
-
decode(input: BinaryReader | Uint8Array, length?: number): PeriodicAllowance;
|
|
208
|
-
fromPartial(object: Partial<PeriodicAllowance>): PeriodicAllowance;
|
|
209
|
-
fromAmino(object: PeriodicAllowanceAmino): PeriodicAllowance;
|
|
210
|
-
toAmino(message: PeriodicAllowance): PeriodicAllowanceAmino;
|
|
211
|
-
fromAminoMsg(object: PeriodicAllowanceAminoMsg): PeriodicAllowance;
|
|
212
|
-
toAminoMsg(message: PeriodicAllowance): PeriodicAllowanceAminoMsg;
|
|
213
|
-
fromProtoMsg(message: PeriodicAllowanceProtoMsg): PeriodicAllowance;
|
|
214
|
-
toProto(message: PeriodicAllowance): Uint8Array;
|
|
215
|
-
toProtoMsg(message: PeriodicAllowance): PeriodicAllowanceProtoMsg;
|
|
216
|
-
};
|
|
217
|
-
export declare const AllowedMsgAllowance: {
|
|
218
|
-
typeUrl: string;
|
|
219
|
-
encode(message: AllowedMsgAllowance, writer?: BinaryWriter): BinaryWriter;
|
|
220
|
-
decode(input: BinaryReader | Uint8Array, length?: number): AllowedMsgAllowance;
|
|
221
|
-
fromPartial(object: Partial<AllowedMsgAllowance>): AllowedMsgAllowance;
|
|
222
|
-
fromAmino(object: AllowedMsgAllowanceAmino): AllowedMsgAllowance;
|
|
223
|
-
toAmino(message: AllowedMsgAllowance): AllowedMsgAllowanceAmino;
|
|
224
|
-
fromAminoMsg(object: AllowedMsgAllowanceAminoMsg): AllowedMsgAllowance;
|
|
225
|
-
toAminoMsg(message: AllowedMsgAllowance): AllowedMsgAllowanceAminoMsg;
|
|
226
|
-
fromProtoMsg(message: AllowedMsgAllowanceProtoMsg): AllowedMsgAllowance;
|
|
227
|
-
toProto(message: AllowedMsgAllowance): Uint8Array;
|
|
228
|
-
toProtoMsg(message: AllowedMsgAllowance): AllowedMsgAllowanceProtoMsg;
|
|
229
|
-
};
|
|
230
|
-
export declare const Grant: {
|
|
231
|
-
typeUrl: string;
|
|
232
|
-
encode(message: Grant, writer?: BinaryWriter): BinaryWriter;
|
|
233
|
-
decode(input: BinaryReader | Uint8Array, length?: number): Grant;
|
|
234
|
-
fromPartial(object: Partial<Grant>): Grant;
|
|
235
|
-
fromAmino(object: GrantAmino): Grant;
|
|
236
|
-
toAmino(message: Grant): GrantAmino;
|
|
237
|
-
fromAminoMsg(object: GrantAminoMsg): Grant;
|
|
238
|
-
toAminoMsg(message: Grant): GrantAminoMsg;
|
|
239
|
-
fromProtoMsg(message: GrantProtoMsg): Grant;
|
|
240
|
-
toProto(message: Grant): Uint8Array;
|
|
241
|
-
toProtoMsg(message: Grant): GrantProtoMsg;
|
|
242
|
-
};
|
|
243
|
-
export declare const Cosmos_feegrantv1beta1FeeAllowanceI_InterfaceDecoder: (input: BinaryReader | Uint8Array) => BasicAllowance | PeriodicAllowance | AllowedMsgAllowance | Any;
|
|
244
|
-
export declare const Cosmos_feegrantv1beta1FeeAllowanceI_FromAmino: (content: AnyAmino) => Any;
|
|
245
|
-
export declare const Cosmos_feegrantv1beta1FeeAllowanceI_ToAmino: (content: Any) => AnyAmino;
|