@bze/bzejs 2.0.1 → 3.0.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/dist/bze/bundle.d.ts +129 -4
- package/dist/bze/burner/burned_coins.d.ts +106 -0
- package/dist/bze/burner/burned_coins.js +170 -1
- package/dist/bze/burner/genesis.d.ts +7 -1
- package/dist/bze/burner/genesis.js +27 -1
- package/dist/bze/burner/tx.d.ts +112 -0
- package/dist/bze/burner/tx.js +181 -1
- package/dist/bze/burner/tx.registry.d.ts +13 -1
- package/dist/bze/burner/tx.registry.js +19 -1
- package/dist/bze/burner/tx.rpc.func.d.ts +7 -1
- package/dist/bze/burner/tx.rpc.func.js +9 -1
- package/dist/bze/rewards/genesis.d.ts +10 -1
- package/dist/bze/rewards/genesis.js +40 -1
- package/dist/bze/rewards/params.d.ts +3 -0
- package/dist/bze/rewards/params.js +16 -4
- package/dist/bze/rewards/store.d.ts +162 -0
- package/dist/bze/rewards/store.js +273 -1
- package/dist/bze/tradebin/genesis.d.ts +5 -2
- package/dist/bze/tradebin/genesis.js +21 -5
- package/dist/bze/tradebin/params.d.ts +18 -0
- package/dist/bze/tradebin/params.js +76 -4
- package/dist/bze/tradebin/query.d.ts +1 -1
- package/dist/bze/tradebin/query.js +1 -1
- package/dist/bze/tradebin/tx.d.ts +1 -1
- package/dist/bze/tradebin/tx.js +1 -1
- package/dist/bze/tradebin/v2/params.d.ts +96 -0
- package/dist/bze/tradebin/v2/params.js +224 -0
- package/dist/bze/txfeecollector/params.d.ts +11 -4
- package/dist/bze/txfeecollector/params.js +41 -9
- package/dist/esm/bze/burner/burned_coins.js +169 -0
- package/dist/esm/bze/burner/genesis.js +28 -2
- package/dist/esm/bze/burner/tx.js +180 -0
- package/dist/esm/bze/burner/tx.registry.js +20 -2
- package/dist/esm/bze/burner/tx.rpc.func.js +9 -1
- package/dist/esm/bze/rewards/genesis.js +41 -2
- package/dist/esm/bze/rewards/params.js +16 -4
- package/dist/esm/bze/rewards/store.js +272 -0
- package/dist/esm/bze/tradebin/genesis.js +22 -6
- package/dist/esm/bze/tradebin/params.js +76 -4
- package/dist/esm/bze/tradebin/query.js +1 -1
- package/dist/esm/bze/tradebin/tx.js +1 -1
- package/dist/esm/bze/tradebin/v2/params.js +221 -0
- package/dist/esm/bze/txfeecollector/params.js +41 -9
- package/package.json +5 -2
|
@@ -164,6 +164,38 @@ export interface PendingUnlockParticipantSDKType {
|
|
|
164
164
|
amount: string;
|
|
165
165
|
denom: string;
|
|
166
166
|
}
|
|
167
|
+
/**
|
|
168
|
+
* @name UnlockParticipantsQueue
|
|
169
|
+
* @package bze.rewards
|
|
170
|
+
* @see proto type: bze.rewards.UnlockParticipantsQueue
|
|
171
|
+
*/
|
|
172
|
+
export interface UnlockParticipantsQueue {
|
|
173
|
+
unlockEpochs: bigint[];
|
|
174
|
+
}
|
|
175
|
+
export interface UnlockParticipantsQueueProtoMsg {
|
|
176
|
+
typeUrl: "/bze.rewards.UnlockParticipantsQueue";
|
|
177
|
+
value: Uint8Array;
|
|
178
|
+
}
|
|
179
|
+
/**
|
|
180
|
+
* @name UnlockParticipantsQueueAmino
|
|
181
|
+
* @package bze.rewards
|
|
182
|
+
* @see proto type: bze.rewards.UnlockParticipantsQueue
|
|
183
|
+
*/
|
|
184
|
+
export interface UnlockParticipantsQueueAmino {
|
|
185
|
+
unlockEpochs?: string[];
|
|
186
|
+
}
|
|
187
|
+
export interface UnlockParticipantsQueueAminoMsg {
|
|
188
|
+
type: "/bze.rewards.UnlockParticipantsQueue";
|
|
189
|
+
value: UnlockParticipantsQueueAmino;
|
|
190
|
+
}
|
|
191
|
+
/**
|
|
192
|
+
* @name UnlockParticipantsQueueSDKType
|
|
193
|
+
* @package bze.rewards
|
|
194
|
+
* @see proto type: bze.rewards.UnlockParticipantsQueue
|
|
195
|
+
*/
|
|
196
|
+
export interface UnlockParticipantsQueueSDKType {
|
|
197
|
+
unlockEpochs: bigint[];
|
|
198
|
+
}
|
|
167
199
|
/**
|
|
168
200
|
* @name TradingReward
|
|
169
201
|
* @package bze.rewards
|
|
@@ -395,6 +427,73 @@ export interface MarketIdTradingRewardIdSDKType {
|
|
|
395
427
|
reward_id: string;
|
|
396
428
|
market_id: string;
|
|
397
429
|
}
|
|
430
|
+
/**
|
|
431
|
+
* @name StakingRewardsDistributionQueue
|
|
432
|
+
* @package bze.rewards
|
|
433
|
+
* @see proto type: bze.rewards.StakingRewardsDistributionQueue
|
|
434
|
+
*/
|
|
435
|
+
export interface StakingRewardsDistributionQueue {
|
|
436
|
+
pending: boolean;
|
|
437
|
+
cursor: string;
|
|
438
|
+
}
|
|
439
|
+
export interface StakingRewardsDistributionQueueProtoMsg {
|
|
440
|
+
typeUrl: "/bze.rewards.StakingRewardsDistributionQueue";
|
|
441
|
+
value: Uint8Array;
|
|
442
|
+
}
|
|
443
|
+
/**
|
|
444
|
+
* @name StakingRewardsDistributionQueueAmino
|
|
445
|
+
* @package bze.rewards
|
|
446
|
+
* @see proto type: bze.rewards.StakingRewardsDistributionQueue
|
|
447
|
+
*/
|
|
448
|
+
export interface StakingRewardsDistributionQueueAmino {
|
|
449
|
+
pending?: boolean;
|
|
450
|
+
cursor?: string;
|
|
451
|
+
}
|
|
452
|
+
export interface StakingRewardsDistributionQueueAminoMsg {
|
|
453
|
+
type: "/bze.rewards.StakingRewardsDistributionQueue";
|
|
454
|
+
value: StakingRewardsDistributionQueueAmino;
|
|
455
|
+
}
|
|
456
|
+
/**
|
|
457
|
+
* @name StakingRewardsDistributionQueueSDKType
|
|
458
|
+
* @package bze.rewards
|
|
459
|
+
* @see proto type: bze.rewards.StakingRewardsDistributionQueue
|
|
460
|
+
*/
|
|
461
|
+
export interface StakingRewardsDistributionQueueSDKType {
|
|
462
|
+
pending: boolean;
|
|
463
|
+
cursor: string;
|
|
464
|
+
}
|
|
465
|
+
/**
|
|
466
|
+
* @name TradingRewardExpirationQueue
|
|
467
|
+
* @package bze.rewards
|
|
468
|
+
* @see proto type: bze.rewards.TradingRewardExpirationQueue
|
|
469
|
+
*/
|
|
470
|
+
export interface TradingRewardExpirationQueue {
|
|
471
|
+
removalEpochs: number[];
|
|
472
|
+
}
|
|
473
|
+
export interface TradingRewardExpirationQueueProtoMsg {
|
|
474
|
+
typeUrl: "/bze.rewards.TradingRewardExpirationQueue";
|
|
475
|
+
value: Uint8Array;
|
|
476
|
+
}
|
|
477
|
+
/**
|
|
478
|
+
* @name TradingRewardExpirationQueueAmino
|
|
479
|
+
* @package bze.rewards
|
|
480
|
+
* @see proto type: bze.rewards.TradingRewardExpirationQueue
|
|
481
|
+
*/
|
|
482
|
+
export interface TradingRewardExpirationQueueAmino {
|
|
483
|
+
removal_epochs?: number[];
|
|
484
|
+
}
|
|
485
|
+
export interface TradingRewardExpirationQueueAminoMsg {
|
|
486
|
+
type: "/bze.rewards.TradingRewardExpirationQueue";
|
|
487
|
+
value: TradingRewardExpirationQueueAmino;
|
|
488
|
+
}
|
|
489
|
+
/**
|
|
490
|
+
* @name TradingRewardExpirationQueueSDKType
|
|
491
|
+
* @package bze.rewards
|
|
492
|
+
* @see proto type: bze.rewards.TradingRewardExpirationQueue
|
|
493
|
+
*/
|
|
494
|
+
export interface TradingRewardExpirationQueueSDKType {
|
|
495
|
+
removal_epochs: number[];
|
|
496
|
+
}
|
|
398
497
|
/**
|
|
399
498
|
* @name StakingReward
|
|
400
499
|
* @package bze.rewards
|
|
@@ -458,6 +557,27 @@ export declare const PendingUnlockParticipant: {
|
|
|
458
557
|
toProtoMsg(message: PendingUnlockParticipant): PendingUnlockParticipantProtoMsg;
|
|
459
558
|
registerTypeUrl(): void;
|
|
460
559
|
};
|
|
560
|
+
/**
|
|
561
|
+
* @name UnlockParticipantsQueue
|
|
562
|
+
* @package bze.rewards
|
|
563
|
+
* @see proto type: bze.rewards.UnlockParticipantsQueue
|
|
564
|
+
*/
|
|
565
|
+
export declare const UnlockParticipantsQueue: {
|
|
566
|
+
typeUrl: string;
|
|
567
|
+
is(o: any): o is UnlockParticipantsQueue;
|
|
568
|
+
isSDK(o: any): o is UnlockParticipantsQueueSDKType;
|
|
569
|
+
isAmino(o: any): o is UnlockParticipantsQueueAmino;
|
|
570
|
+
encode(message: UnlockParticipantsQueue, writer?: BinaryWriter): BinaryWriter;
|
|
571
|
+
decode(input: BinaryReader | Uint8Array, length?: number): UnlockParticipantsQueue;
|
|
572
|
+
fromPartial(object: Partial<UnlockParticipantsQueue>): UnlockParticipantsQueue;
|
|
573
|
+
fromAmino(object: UnlockParticipantsQueueAmino): UnlockParticipantsQueue;
|
|
574
|
+
toAmino(message: UnlockParticipantsQueue): UnlockParticipantsQueueAmino;
|
|
575
|
+
fromAminoMsg(object: UnlockParticipantsQueueAminoMsg): UnlockParticipantsQueue;
|
|
576
|
+
fromProtoMsg(message: UnlockParticipantsQueueProtoMsg): UnlockParticipantsQueue;
|
|
577
|
+
toProto(message: UnlockParticipantsQueue): Uint8Array;
|
|
578
|
+
toProtoMsg(message: UnlockParticipantsQueue): UnlockParticipantsQueueProtoMsg;
|
|
579
|
+
registerTypeUrl(): void;
|
|
580
|
+
};
|
|
461
581
|
/**
|
|
462
582
|
* @name TradingReward
|
|
463
583
|
* @package bze.rewards
|
|
@@ -584,3 +704,45 @@ export declare const MarketIdTradingRewardId: {
|
|
|
584
704
|
toProtoMsg(message: MarketIdTradingRewardId): MarketIdTradingRewardIdProtoMsg;
|
|
585
705
|
registerTypeUrl(): void;
|
|
586
706
|
};
|
|
707
|
+
/**
|
|
708
|
+
* @name StakingRewardsDistributionQueue
|
|
709
|
+
* @package bze.rewards
|
|
710
|
+
* @see proto type: bze.rewards.StakingRewardsDistributionQueue
|
|
711
|
+
*/
|
|
712
|
+
export declare const StakingRewardsDistributionQueue: {
|
|
713
|
+
typeUrl: string;
|
|
714
|
+
is(o: any): o is StakingRewardsDistributionQueue;
|
|
715
|
+
isSDK(o: any): o is StakingRewardsDistributionQueueSDKType;
|
|
716
|
+
isAmino(o: any): o is StakingRewardsDistributionQueueAmino;
|
|
717
|
+
encode(message: StakingRewardsDistributionQueue, writer?: BinaryWriter): BinaryWriter;
|
|
718
|
+
decode(input: BinaryReader | Uint8Array, length?: number): StakingRewardsDistributionQueue;
|
|
719
|
+
fromPartial(object: Partial<StakingRewardsDistributionQueue>): StakingRewardsDistributionQueue;
|
|
720
|
+
fromAmino(object: StakingRewardsDistributionQueueAmino): StakingRewardsDistributionQueue;
|
|
721
|
+
toAmino(message: StakingRewardsDistributionQueue): StakingRewardsDistributionQueueAmino;
|
|
722
|
+
fromAminoMsg(object: StakingRewardsDistributionQueueAminoMsg): StakingRewardsDistributionQueue;
|
|
723
|
+
fromProtoMsg(message: StakingRewardsDistributionQueueProtoMsg): StakingRewardsDistributionQueue;
|
|
724
|
+
toProto(message: StakingRewardsDistributionQueue): Uint8Array;
|
|
725
|
+
toProtoMsg(message: StakingRewardsDistributionQueue): StakingRewardsDistributionQueueProtoMsg;
|
|
726
|
+
registerTypeUrl(): void;
|
|
727
|
+
};
|
|
728
|
+
/**
|
|
729
|
+
* @name TradingRewardExpirationQueue
|
|
730
|
+
* @package bze.rewards
|
|
731
|
+
* @see proto type: bze.rewards.TradingRewardExpirationQueue
|
|
732
|
+
*/
|
|
733
|
+
export declare const TradingRewardExpirationQueue: {
|
|
734
|
+
typeUrl: string;
|
|
735
|
+
is(o: any): o is TradingRewardExpirationQueue;
|
|
736
|
+
isSDK(o: any): o is TradingRewardExpirationQueueSDKType;
|
|
737
|
+
isAmino(o: any): o is TradingRewardExpirationQueueAmino;
|
|
738
|
+
encode(message: TradingRewardExpirationQueue, writer?: BinaryWriter): BinaryWriter;
|
|
739
|
+
decode(input: BinaryReader | Uint8Array, length?: number): TradingRewardExpirationQueue;
|
|
740
|
+
fromPartial(object: Partial<TradingRewardExpirationQueue>): TradingRewardExpirationQueue;
|
|
741
|
+
fromAmino(object: TradingRewardExpirationQueueAmino): TradingRewardExpirationQueue;
|
|
742
|
+
toAmino(message: TradingRewardExpirationQueue): TradingRewardExpirationQueueAmino;
|
|
743
|
+
fromAminoMsg(object: TradingRewardExpirationQueueAminoMsg): TradingRewardExpirationQueue;
|
|
744
|
+
fromProtoMsg(message: TradingRewardExpirationQueueProtoMsg): TradingRewardExpirationQueue;
|
|
745
|
+
toProto(message: TradingRewardExpirationQueue): Uint8Array;
|
|
746
|
+
toProtoMsg(message: TradingRewardExpirationQueue): TradingRewardExpirationQueueProtoMsg;
|
|
747
|
+
registerTypeUrl(): void;
|
|
748
|
+
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.MarketIdTradingRewardId = exports.TradingRewardCandidate = exports.TradingRewardLeaderboardEntry = exports.TradingRewardLeaderboard = exports.TradingRewardExpiration = exports.TradingReward = exports.PendingUnlockParticipant = exports.StakingRewardParticipant = exports.StakingReward = void 0;
|
|
3
|
+
exports.TradingRewardExpirationQueue = exports.StakingRewardsDistributionQueue = exports.MarketIdTradingRewardId = exports.TradingRewardCandidate = exports.TradingRewardLeaderboardEntry = exports.TradingRewardLeaderboard = exports.TradingRewardExpiration = exports.TradingReward = exports.UnlockParticipantsQueue = exports.PendingUnlockParticipant = exports.StakingRewardParticipant = exports.StakingReward = void 0;
|
|
4
4
|
//@ts-nocheck
|
|
5
5
|
const binary_1 = require("../../binary");
|
|
6
6
|
const registry_1 = require("../../registry");
|
|
@@ -418,6 +418,97 @@ exports.PendingUnlockParticipant = {
|
|
|
418
418
|
},
|
|
419
419
|
registerTypeUrl() { }
|
|
420
420
|
};
|
|
421
|
+
function createBaseUnlockParticipantsQueue() {
|
|
422
|
+
return {
|
|
423
|
+
unlockEpochs: []
|
|
424
|
+
};
|
|
425
|
+
}
|
|
426
|
+
/**
|
|
427
|
+
* @name UnlockParticipantsQueue
|
|
428
|
+
* @package bze.rewards
|
|
429
|
+
* @see proto type: bze.rewards.UnlockParticipantsQueue
|
|
430
|
+
*/
|
|
431
|
+
exports.UnlockParticipantsQueue = {
|
|
432
|
+
typeUrl: "/bze.rewards.UnlockParticipantsQueue",
|
|
433
|
+
is(o) {
|
|
434
|
+
return o && (o.$typeUrl === exports.UnlockParticipantsQueue.typeUrl || Array.isArray(o.unlockEpochs) && (!o.unlockEpochs.length || typeof o.unlockEpochs[0] === "bigint"));
|
|
435
|
+
},
|
|
436
|
+
isSDK(o) {
|
|
437
|
+
return o && (o.$typeUrl === exports.UnlockParticipantsQueue.typeUrl || Array.isArray(o.unlockEpochs) && (!o.unlockEpochs.length || typeof o.unlockEpochs[0] === "bigint"));
|
|
438
|
+
},
|
|
439
|
+
isAmino(o) {
|
|
440
|
+
return o && (o.$typeUrl === exports.UnlockParticipantsQueue.typeUrl || Array.isArray(o.unlockEpochs) && (!o.unlockEpochs.length || typeof o.unlockEpochs[0] === "bigint"));
|
|
441
|
+
},
|
|
442
|
+
encode(message, writer = binary_1.BinaryWriter.create()) {
|
|
443
|
+
writer.uint32(10).fork();
|
|
444
|
+
for (const v of message.unlockEpochs) {
|
|
445
|
+
writer.uint64(v);
|
|
446
|
+
}
|
|
447
|
+
writer.ldelim();
|
|
448
|
+
return writer;
|
|
449
|
+
},
|
|
450
|
+
decode(input, length) {
|
|
451
|
+
const reader = input instanceof binary_1.BinaryReader ? input : new binary_1.BinaryReader(input);
|
|
452
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
453
|
+
const message = createBaseUnlockParticipantsQueue();
|
|
454
|
+
while (reader.pos < end) {
|
|
455
|
+
const tag = reader.uint32();
|
|
456
|
+
switch (tag >>> 3) {
|
|
457
|
+
case 1:
|
|
458
|
+
if ((tag & 7) === 2) {
|
|
459
|
+
const end2 = reader.uint32() + reader.pos;
|
|
460
|
+
while (reader.pos < end2) {
|
|
461
|
+
message.unlockEpochs.push(reader.uint64());
|
|
462
|
+
}
|
|
463
|
+
}
|
|
464
|
+
else {
|
|
465
|
+
message.unlockEpochs.push(reader.uint64());
|
|
466
|
+
}
|
|
467
|
+
break;
|
|
468
|
+
default:
|
|
469
|
+
reader.skipType(tag & 7);
|
|
470
|
+
break;
|
|
471
|
+
}
|
|
472
|
+
}
|
|
473
|
+
return message;
|
|
474
|
+
},
|
|
475
|
+
fromPartial(object) {
|
|
476
|
+
const message = createBaseUnlockParticipantsQueue();
|
|
477
|
+
message.unlockEpochs = object.unlockEpochs?.map(e => BigInt(e.toString())) || [];
|
|
478
|
+
return message;
|
|
479
|
+
},
|
|
480
|
+
fromAmino(object) {
|
|
481
|
+
const message = createBaseUnlockParticipantsQueue();
|
|
482
|
+
message.unlockEpochs = object.unlockEpochs?.map(e => BigInt(e)) || [];
|
|
483
|
+
return message;
|
|
484
|
+
},
|
|
485
|
+
toAmino(message) {
|
|
486
|
+
const obj = {};
|
|
487
|
+
if (message.unlockEpochs) {
|
|
488
|
+
obj.unlockEpochs = message.unlockEpochs.map(e => e.toString());
|
|
489
|
+
}
|
|
490
|
+
else {
|
|
491
|
+
obj.unlockEpochs = message.unlockEpochs;
|
|
492
|
+
}
|
|
493
|
+
return obj;
|
|
494
|
+
},
|
|
495
|
+
fromAminoMsg(object) {
|
|
496
|
+
return exports.UnlockParticipantsQueue.fromAmino(object.value);
|
|
497
|
+
},
|
|
498
|
+
fromProtoMsg(message) {
|
|
499
|
+
return exports.UnlockParticipantsQueue.decode(message.value);
|
|
500
|
+
},
|
|
501
|
+
toProto(message) {
|
|
502
|
+
return exports.UnlockParticipantsQueue.encode(message).finish();
|
|
503
|
+
},
|
|
504
|
+
toProtoMsg(message) {
|
|
505
|
+
return {
|
|
506
|
+
typeUrl: "/bze.rewards.UnlockParticipantsQueue",
|
|
507
|
+
value: exports.UnlockParticipantsQueue.encode(message).finish()
|
|
508
|
+
};
|
|
509
|
+
},
|
|
510
|
+
registerTypeUrl() { }
|
|
511
|
+
};
|
|
421
512
|
function createBaseTradingReward() {
|
|
422
513
|
return {
|
|
423
514
|
rewardId: "",
|
|
@@ -1050,3 +1141,184 @@ exports.MarketIdTradingRewardId = {
|
|
|
1050
1141
|
},
|
|
1051
1142
|
registerTypeUrl() { }
|
|
1052
1143
|
};
|
|
1144
|
+
function createBaseStakingRewardsDistributionQueue() {
|
|
1145
|
+
return {
|
|
1146
|
+
pending: false,
|
|
1147
|
+
cursor: ""
|
|
1148
|
+
};
|
|
1149
|
+
}
|
|
1150
|
+
/**
|
|
1151
|
+
* @name StakingRewardsDistributionQueue
|
|
1152
|
+
* @package bze.rewards
|
|
1153
|
+
* @see proto type: bze.rewards.StakingRewardsDistributionQueue
|
|
1154
|
+
*/
|
|
1155
|
+
exports.StakingRewardsDistributionQueue = {
|
|
1156
|
+
typeUrl: "/bze.rewards.StakingRewardsDistributionQueue",
|
|
1157
|
+
is(o) {
|
|
1158
|
+
return o && (o.$typeUrl === exports.StakingRewardsDistributionQueue.typeUrl || typeof o.pending === "boolean" && typeof o.cursor === "string");
|
|
1159
|
+
},
|
|
1160
|
+
isSDK(o) {
|
|
1161
|
+
return o && (o.$typeUrl === exports.StakingRewardsDistributionQueue.typeUrl || typeof o.pending === "boolean" && typeof o.cursor === "string");
|
|
1162
|
+
},
|
|
1163
|
+
isAmino(o) {
|
|
1164
|
+
return o && (o.$typeUrl === exports.StakingRewardsDistributionQueue.typeUrl || typeof o.pending === "boolean" && typeof o.cursor === "string");
|
|
1165
|
+
},
|
|
1166
|
+
encode(message, writer = binary_1.BinaryWriter.create()) {
|
|
1167
|
+
if (message.pending === true) {
|
|
1168
|
+
writer.uint32(8).bool(message.pending);
|
|
1169
|
+
}
|
|
1170
|
+
if (message.cursor !== "") {
|
|
1171
|
+
writer.uint32(18).string(message.cursor);
|
|
1172
|
+
}
|
|
1173
|
+
return writer;
|
|
1174
|
+
},
|
|
1175
|
+
decode(input, length) {
|
|
1176
|
+
const reader = input instanceof binary_1.BinaryReader ? input : new binary_1.BinaryReader(input);
|
|
1177
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
1178
|
+
const message = createBaseStakingRewardsDistributionQueue();
|
|
1179
|
+
while (reader.pos < end) {
|
|
1180
|
+
const tag = reader.uint32();
|
|
1181
|
+
switch (tag >>> 3) {
|
|
1182
|
+
case 1:
|
|
1183
|
+
message.pending = reader.bool();
|
|
1184
|
+
break;
|
|
1185
|
+
case 2:
|
|
1186
|
+
message.cursor = reader.string();
|
|
1187
|
+
break;
|
|
1188
|
+
default:
|
|
1189
|
+
reader.skipType(tag & 7);
|
|
1190
|
+
break;
|
|
1191
|
+
}
|
|
1192
|
+
}
|
|
1193
|
+
return message;
|
|
1194
|
+
},
|
|
1195
|
+
fromPartial(object) {
|
|
1196
|
+
const message = createBaseStakingRewardsDistributionQueue();
|
|
1197
|
+
message.pending = object.pending ?? false;
|
|
1198
|
+
message.cursor = object.cursor ?? "";
|
|
1199
|
+
return message;
|
|
1200
|
+
},
|
|
1201
|
+
fromAmino(object) {
|
|
1202
|
+
const message = createBaseStakingRewardsDistributionQueue();
|
|
1203
|
+
if (object.pending !== undefined && object.pending !== null) {
|
|
1204
|
+
message.pending = object.pending;
|
|
1205
|
+
}
|
|
1206
|
+
if (object.cursor !== undefined && object.cursor !== null) {
|
|
1207
|
+
message.cursor = object.cursor;
|
|
1208
|
+
}
|
|
1209
|
+
return message;
|
|
1210
|
+
},
|
|
1211
|
+
toAmino(message) {
|
|
1212
|
+
const obj = {};
|
|
1213
|
+
obj.pending = message.pending === false ? undefined : message.pending;
|
|
1214
|
+
obj.cursor = message.cursor === "" ? undefined : message.cursor;
|
|
1215
|
+
return obj;
|
|
1216
|
+
},
|
|
1217
|
+
fromAminoMsg(object) {
|
|
1218
|
+
return exports.StakingRewardsDistributionQueue.fromAmino(object.value);
|
|
1219
|
+
},
|
|
1220
|
+
fromProtoMsg(message) {
|
|
1221
|
+
return exports.StakingRewardsDistributionQueue.decode(message.value);
|
|
1222
|
+
},
|
|
1223
|
+
toProto(message) {
|
|
1224
|
+
return exports.StakingRewardsDistributionQueue.encode(message).finish();
|
|
1225
|
+
},
|
|
1226
|
+
toProtoMsg(message) {
|
|
1227
|
+
return {
|
|
1228
|
+
typeUrl: "/bze.rewards.StakingRewardsDistributionQueue",
|
|
1229
|
+
value: exports.StakingRewardsDistributionQueue.encode(message).finish()
|
|
1230
|
+
};
|
|
1231
|
+
},
|
|
1232
|
+
registerTypeUrl() { }
|
|
1233
|
+
};
|
|
1234
|
+
function createBaseTradingRewardExpirationQueue() {
|
|
1235
|
+
return {
|
|
1236
|
+
removalEpochs: []
|
|
1237
|
+
};
|
|
1238
|
+
}
|
|
1239
|
+
/**
|
|
1240
|
+
* @name TradingRewardExpirationQueue
|
|
1241
|
+
* @package bze.rewards
|
|
1242
|
+
* @see proto type: bze.rewards.TradingRewardExpirationQueue
|
|
1243
|
+
*/
|
|
1244
|
+
exports.TradingRewardExpirationQueue = {
|
|
1245
|
+
typeUrl: "/bze.rewards.TradingRewardExpirationQueue",
|
|
1246
|
+
is(o) {
|
|
1247
|
+
return o && (o.$typeUrl === exports.TradingRewardExpirationQueue.typeUrl || Array.isArray(o.removalEpochs) && (!o.removalEpochs.length || typeof o.removalEpochs[0] === "number"));
|
|
1248
|
+
},
|
|
1249
|
+
isSDK(o) {
|
|
1250
|
+
return o && (o.$typeUrl === exports.TradingRewardExpirationQueue.typeUrl || Array.isArray(o.removal_epochs) && (!o.removal_epochs.length || typeof o.removal_epochs[0] === "number"));
|
|
1251
|
+
},
|
|
1252
|
+
isAmino(o) {
|
|
1253
|
+
return o && (o.$typeUrl === exports.TradingRewardExpirationQueue.typeUrl || Array.isArray(o.removal_epochs) && (!o.removal_epochs.length || typeof o.removal_epochs[0] === "number"));
|
|
1254
|
+
},
|
|
1255
|
+
encode(message, writer = binary_1.BinaryWriter.create()) {
|
|
1256
|
+
writer.uint32(10).fork();
|
|
1257
|
+
for (const v of message.removalEpochs) {
|
|
1258
|
+
writer.uint32(v);
|
|
1259
|
+
}
|
|
1260
|
+
writer.ldelim();
|
|
1261
|
+
return writer;
|
|
1262
|
+
},
|
|
1263
|
+
decode(input, length) {
|
|
1264
|
+
const reader = input instanceof binary_1.BinaryReader ? input : new binary_1.BinaryReader(input);
|
|
1265
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
1266
|
+
const message = createBaseTradingRewardExpirationQueue();
|
|
1267
|
+
while (reader.pos < end) {
|
|
1268
|
+
const tag = reader.uint32();
|
|
1269
|
+
switch (tag >>> 3) {
|
|
1270
|
+
case 1:
|
|
1271
|
+
if ((tag & 7) === 2) {
|
|
1272
|
+
const end2 = reader.uint32() + reader.pos;
|
|
1273
|
+
while (reader.pos < end2) {
|
|
1274
|
+
message.removalEpochs.push(reader.uint32());
|
|
1275
|
+
}
|
|
1276
|
+
}
|
|
1277
|
+
else {
|
|
1278
|
+
message.removalEpochs.push(reader.uint32());
|
|
1279
|
+
}
|
|
1280
|
+
break;
|
|
1281
|
+
default:
|
|
1282
|
+
reader.skipType(tag & 7);
|
|
1283
|
+
break;
|
|
1284
|
+
}
|
|
1285
|
+
}
|
|
1286
|
+
return message;
|
|
1287
|
+
},
|
|
1288
|
+
fromPartial(object) {
|
|
1289
|
+
const message = createBaseTradingRewardExpirationQueue();
|
|
1290
|
+
message.removalEpochs = object.removalEpochs?.map(e => e) || [];
|
|
1291
|
+
return message;
|
|
1292
|
+
},
|
|
1293
|
+
fromAmino(object) {
|
|
1294
|
+
const message = createBaseTradingRewardExpirationQueue();
|
|
1295
|
+
message.removalEpochs = object.removal_epochs?.map(e => e) || [];
|
|
1296
|
+
return message;
|
|
1297
|
+
},
|
|
1298
|
+
toAmino(message) {
|
|
1299
|
+
const obj = {};
|
|
1300
|
+
if (message.removalEpochs) {
|
|
1301
|
+
obj.removal_epochs = message.removalEpochs.map(e => e);
|
|
1302
|
+
}
|
|
1303
|
+
else {
|
|
1304
|
+
obj.removal_epochs = message.removalEpochs;
|
|
1305
|
+
}
|
|
1306
|
+
return obj;
|
|
1307
|
+
},
|
|
1308
|
+
fromAminoMsg(object) {
|
|
1309
|
+
return exports.TradingRewardExpirationQueue.fromAmino(object.value);
|
|
1310
|
+
},
|
|
1311
|
+
fromProtoMsg(message) {
|
|
1312
|
+
return exports.TradingRewardExpirationQueue.decode(message.value);
|
|
1313
|
+
},
|
|
1314
|
+
toProto(message) {
|
|
1315
|
+
return exports.TradingRewardExpirationQueue.encode(message).finish();
|
|
1316
|
+
},
|
|
1317
|
+
toProtoMsg(message) {
|
|
1318
|
+
return {
|
|
1319
|
+
typeUrl: "/bze.rewards.TradingRewardExpirationQueue",
|
|
1320
|
+
value: exports.TradingRewardExpirationQueue.encode(message).finish()
|
|
1321
|
+
};
|
|
1322
|
+
},
|
|
1323
|
+
registerTypeUrl() { }
|
|
1324
|
+
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Params, ParamsAmino, ParamsSDKType } from "./params";
|
|
2
|
-
import { Market, MarketAmino, MarketSDKType, QueueMessage, QueueMessageAmino, QueueMessageSDKType, Order, OrderAmino, OrderSDKType, AggregatedOrder, AggregatedOrderAmino, AggregatedOrderSDKType, HistoryOrder, HistoryOrderAmino, HistoryOrderSDKType, UserDust, UserDustAmino, UserDustSDKType } from "./store";
|
|
1
|
+
import { Params, ParamsAmino, ParamsSDKType } from "./v2/params";
|
|
2
|
+
import { Market, MarketAmino, MarketSDKType, QueueMessage, QueueMessageAmino, QueueMessageSDKType, Order, OrderAmino, OrderSDKType, AggregatedOrder, AggregatedOrderAmino, AggregatedOrderSDKType, HistoryOrder, HistoryOrderAmino, HistoryOrderSDKType, UserDust, UserDustAmino, UserDustSDKType, LiquidityPool, LiquidityPoolAmino, LiquidityPoolSDKType } from "./store";
|
|
3
3
|
import { BinaryReader, BinaryWriter } from "../../binary";
|
|
4
4
|
/**
|
|
5
5
|
* GenesisState defines the tradebin module's genesis state.
|
|
@@ -19,6 +19,7 @@ export interface GenesisState {
|
|
|
19
19
|
historyOrderList: HistoryOrder[];
|
|
20
20
|
orderCounter: bigint;
|
|
21
21
|
allUsersDust: UserDust[];
|
|
22
|
+
liquidityPools: LiquidityPool[];
|
|
22
23
|
}
|
|
23
24
|
export interface GenesisStateProtoMsg {
|
|
24
25
|
typeUrl: "/bze.tradebin.GenesisState";
|
|
@@ -42,6 +43,7 @@ export interface GenesisStateAmino {
|
|
|
42
43
|
history_order_list?: HistoryOrderAmino[];
|
|
43
44
|
order_counter: string;
|
|
44
45
|
all_users_dust?: UserDustAmino[];
|
|
46
|
+
liquidity_pools?: LiquidityPoolAmino[];
|
|
45
47
|
}
|
|
46
48
|
export interface GenesisStateAminoMsg {
|
|
47
49
|
type: "/bze.tradebin.GenesisState";
|
|
@@ -62,6 +64,7 @@ export interface GenesisStateSDKType {
|
|
|
62
64
|
history_order_list: HistoryOrderSDKType[];
|
|
63
65
|
order_counter: bigint;
|
|
64
66
|
all_users_dust: UserDustSDKType[];
|
|
67
|
+
liquidity_pools: LiquidityPoolSDKType[];
|
|
65
68
|
}
|
|
66
69
|
/**
|
|
67
70
|
* GenesisState defines the tradebin module's genesis state.
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.GenesisState = void 0;
|
|
4
4
|
//@ts-nocheck
|
|
5
|
-
const params_1 = require("./params");
|
|
5
|
+
const params_1 = require("./v2/params");
|
|
6
6
|
const store_1 = require("./store");
|
|
7
7
|
const binary_1 = require("../../binary");
|
|
8
8
|
const registry_1 = require("../../registry");
|
|
@@ -15,7 +15,8 @@ function createBaseGenesisState() {
|
|
|
15
15
|
aggregatedOrderList: [],
|
|
16
16
|
historyOrderList: [],
|
|
17
17
|
orderCounter: BigInt(0),
|
|
18
|
-
allUsersDust: []
|
|
18
|
+
allUsersDust: [],
|
|
19
|
+
liquidityPools: []
|
|
19
20
|
};
|
|
20
21
|
}
|
|
21
22
|
/**
|
|
@@ -27,13 +28,13 @@ function createBaseGenesisState() {
|
|
|
27
28
|
exports.GenesisState = {
|
|
28
29
|
typeUrl: "/bze.tradebin.GenesisState",
|
|
29
30
|
is(o) {
|
|
30
|
-
return o && (o.$typeUrl === exports.GenesisState.typeUrl || params_1.Params.is(o.params) && Array.isArray(o.marketList) && (!o.marketList.length || store_1.Market.is(o.marketList[0])) && Array.isArray(o.queueMessageList) && (!o.queueMessageList.length || store_1.QueueMessage.is(o.queueMessageList[0])) && Array.isArray(o.orderList) && (!o.orderList.length || store_1.Order.is(o.orderList[0])) && Array.isArray(o.aggregatedOrderList) && (!o.aggregatedOrderList.length || store_1.AggregatedOrder.is(o.aggregatedOrderList[0])) && Array.isArray(o.historyOrderList) && (!o.historyOrderList.length || store_1.HistoryOrder.is(o.historyOrderList[0])) && typeof o.orderCounter === "bigint" && Array.isArray(o.allUsersDust) && (!o.allUsersDust.length || store_1.UserDust.is(o.allUsersDust[0])));
|
|
31
|
+
return o && (o.$typeUrl === exports.GenesisState.typeUrl || params_1.Params.is(o.params) && Array.isArray(o.marketList) && (!o.marketList.length || store_1.Market.is(o.marketList[0])) && Array.isArray(o.queueMessageList) && (!o.queueMessageList.length || store_1.QueueMessage.is(o.queueMessageList[0])) && Array.isArray(o.orderList) && (!o.orderList.length || store_1.Order.is(o.orderList[0])) && Array.isArray(o.aggregatedOrderList) && (!o.aggregatedOrderList.length || store_1.AggregatedOrder.is(o.aggregatedOrderList[0])) && Array.isArray(o.historyOrderList) && (!o.historyOrderList.length || store_1.HistoryOrder.is(o.historyOrderList[0])) && typeof o.orderCounter === "bigint" && Array.isArray(o.allUsersDust) && (!o.allUsersDust.length || store_1.UserDust.is(o.allUsersDust[0])) && Array.isArray(o.liquidityPools) && (!o.liquidityPools.length || store_1.LiquidityPool.is(o.liquidityPools[0])));
|
|
31
32
|
},
|
|
32
33
|
isSDK(o) {
|
|
33
|
-
return o && (o.$typeUrl === exports.GenesisState.typeUrl || params_1.Params.isSDK(o.params) && Array.isArray(o.market_list) && (!o.market_list.length || store_1.Market.isSDK(o.market_list[0])) && Array.isArray(o.queue_message_list) && (!o.queue_message_list.length || store_1.QueueMessage.isSDK(o.queue_message_list[0])) && Array.isArray(o.order_list) && (!o.order_list.length || store_1.Order.isSDK(o.order_list[0])) && Array.isArray(o.aggregated_order_list) && (!o.aggregated_order_list.length || store_1.AggregatedOrder.isSDK(o.aggregated_order_list[0])) && Array.isArray(o.history_order_list) && (!o.history_order_list.length || store_1.HistoryOrder.isSDK(o.history_order_list[0])) && typeof o.order_counter === "bigint" && Array.isArray(o.all_users_dust) && (!o.all_users_dust.length || store_1.UserDust.isSDK(o.all_users_dust[0])));
|
|
34
|
+
return o && (o.$typeUrl === exports.GenesisState.typeUrl || params_1.Params.isSDK(o.params) && Array.isArray(o.market_list) && (!o.market_list.length || store_1.Market.isSDK(o.market_list[0])) && Array.isArray(o.queue_message_list) && (!o.queue_message_list.length || store_1.QueueMessage.isSDK(o.queue_message_list[0])) && Array.isArray(o.order_list) && (!o.order_list.length || store_1.Order.isSDK(o.order_list[0])) && Array.isArray(o.aggregated_order_list) && (!o.aggregated_order_list.length || store_1.AggregatedOrder.isSDK(o.aggregated_order_list[0])) && Array.isArray(o.history_order_list) && (!o.history_order_list.length || store_1.HistoryOrder.isSDK(o.history_order_list[0])) && typeof o.order_counter === "bigint" && Array.isArray(o.all_users_dust) && (!o.all_users_dust.length || store_1.UserDust.isSDK(o.all_users_dust[0])) && Array.isArray(o.liquidity_pools) && (!o.liquidity_pools.length || store_1.LiquidityPool.isSDK(o.liquidity_pools[0])));
|
|
34
35
|
},
|
|
35
36
|
isAmino(o) {
|
|
36
|
-
return o && (o.$typeUrl === exports.GenesisState.typeUrl || params_1.Params.isAmino(o.params) && Array.isArray(o.market_list) && (!o.market_list.length || store_1.Market.isAmino(o.market_list[0])) && Array.isArray(o.queue_message_list) && (!o.queue_message_list.length || store_1.QueueMessage.isAmino(o.queue_message_list[0])) && Array.isArray(o.order_list) && (!o.order_list.length || store_1.Order.isAmino(o.order_list[0])) && Array.isArray(o.aggregated_order_list) && (!o.aggregated_order_list.length || store_1.AggregatedOrder.isAmino(o.aggregated_order_list[0])) && Array.isArray(o.history_order_list) && (!o.history_order_list.length || store_1.HistoryOrder.isAmino(o.history_order_list[0])) && typeof o.order_counter === "bigint" && Array.isArray(o.all_users_dust) && (!o.all_users_dust.length || store_1.UserDust.isAmino(o.all_users_dust[0])));
|
|
37
|
+
return o && (o.$typeUrl === exports.GenesisState.typeUrl || params_1.Params.isAmino(o.params) && Array.isArray(o.market_list) && (!o.market_list.length || store_1.Market.isAmino(o.market_list[0])) && Array.isArray(o.queue_message_list) && (!o.queue_message_list.length || store_1.QueueMessage.isAmino(o.queue_message_list[0])) && Array.isArray(o.order_list) && (!o.order_list.length || store_1.Order.isAmino(o.order_list[0])) && Array.isArray(o.aggregated_order_list) && (!o.aggregated_order_list.length || store_1.AggregatedOrder.isAmino(o.aggregated_order_list[0])) && Array.isArray(o.history_order_list) && (!o.history_order_list.length || store_1.HistoryOrder.isAmino(o.history_order_list[0])) && typeof o.order_counter === "bigint" && Array.isArray(o.all_users_dust) && (!o.all_users_dust.length || store_1.UserDust.isAmino(o.all_users_dust[0])) && Array.isArray(o.liquidity_pools) && (!o.liquidity_pools.length || store_1.LiquidityPool.isAmino(o.liquidity_pools[0])));
|
|
37
38
|
},
|
|
38
39
|
encode(message, writer = binary_1.BinaryWriter.create()) {
|
|
39
40
|
if (message.params !== undefined) {
|
|
@@ -60,6 +61,9 @@ exports.GenesisState = {
|
|
|
60
61
|
for (const v of message.allUsersDust) {
|
|
61
62
|
store_1.UserDust.encode(v, writer.uint32(66).fork()).ldelim();
|
|
62
63
|
}
|
|
64
|
+
for (const v of message.liquidityPools) {
|
|
65
|
+
store_1.LiquidityPool.encode(v, writer.uint32(74).fork()).ldelim();
|
|
66
|
+
}
|
|
63
67
|
return writer;
|
|
64
68
|
},
|
|
65
69
|
decode(input, length) {
|
|
@@ -93,6 +97,9 @@ exports.GenesisState = {
|
|
|
93
97
|
case 8:
|
|
94
98
|
message.allUsersDust.push(store_1.UserDust.decode(reader, reader.uint32()));
|
|
95
99
|
break;
|
|
100
|
+
case 9:
|
|
101
|
+
message.liquidityPools.push(store_1.LiquidityPool.decode(reader, reader.uint32()));
|
|
102
|
+
break;
|
|
96
103
|
default:
|
|
97
104
|
reader.skipType(tag & 7);
|
|
98
105
|
break;
|
|
@@ -110,6 +117,7 @@ exports.GenesisState = {
|
|
|
110
117
|
message.historyOrderList = object.historyOrderList?.map(e => store_1.HistoryOrder.fromPartial(e)) || [];
|
|
111
118
|
message.orderCounter = object.orderCounter !== undefined && object.orderCounter !== null ? BigInt(object.orderCounter.toString()) : BigInt(0);
|
|
112
119
|
message.allUsersDust = object.allUsersDust?.map(e => store_1.UserDust.fromPartial(e)) || [];
|
|
120
|
+
message.liquidityPools = object.liquidityPools?.map(e => store_1.LiquidityPool.fromPartial(e)) || [];
|
|
113
121
|
return message;
|
|
114
122
|
},
|
|
115
123
|
fromAmino(object) {
|
|
@@ -126,6 +134,7 @@ exports.GenesisState = {
|
|
|
126
134
|
message.orderCounter = BigInt(object.order_counter);
|
|
127
135
|
}
|
|
128
136
|
message.allUsersDust = object.all_users_dust?.map(e => store_1.UserDust.fromAmino(e)) || [];
|
|
137
|
+
message.liquidityPools = object.liquidity_pools?.map(e => store_1.LiquidityPool.fromAmino(e)) || [];
|
|
129
138
|
return message;
|
|
130
139
|
},
|
|
131
140
|
toAmino(message) {
|
|
@@ -168,6 +177,12 @@ exports.GenesisState = {
|
|
|
168
177
|
else {
|
|
169
178
|
obj.all_users_dust = message.allUsersDust;
|
|
170
179
|
}
|
|
180
|
+
if (message.liquidityPools) {
|
|
181
|
+
obj.liquidity_pools = message.liquidityPools.map(e => e ? store_1.LiquidityPool.toAmino(e) : undefined);
|
|
182
|
+
}
|
|
183
|
+
else {
|
|
184
|
+
obj.liquidity_pools = message.liquidityPools;
|
|
185
|
+
}
|
|
171
186
|
return obj;
|
|
172
187
|
},
|
|
173
188
|
fromAminoMsg(object) {
|
|
@@ -196,5 +211,6 @@ exports.GenesisState = {
|
|
|
196
211
|
store_1.AggregatedOrder.registerTypeUrl();
|
|
197
212
|
store_1.HistoryOrder.registerTypeUrl();
|
|
198
213
|
store_1.UserDust.registerTypeUrl();
|
|
214
|
+
store_1.LiquidityPool.registerTypeUrl();
|
|
199
215
|
}
|
|
200
216
|
};
|
|
@@ -12,6 +12,12 @@ export interface Params {
|
|
|
12
12
|
makerFeeDestination: string;
|
|
13
13
|
takerFeeDestination: string;
|
|
14
14
|
nativeDenom: string;
|
|
15
|
+
orderBookExtraGasWindow: bigint;
|
|
16
|
+
orderBookQueueExtraGas: bigint;
|
|
17
|
+
fillOrdersExtraGas: bigint;
|
|
18
|
+
minNativeLiquidityForModuleSwap: string;
|
|
19
|
+
orderBookPerBlockMessages: bigint;
|
|
20
|
+
orderBookQueueMessageScanExtraGas: bigint;
|
|
15
21
|
}
|
|
16
22
|
export interface ParamsProtoMsg {
|
|
17
23
|
typeUrl: "/bze.tradebin.Params";
|
|
@@ -30,6 +36,12 @@ export interface ParamsAmino {
|
|
|
30
36
|
makerFeeDestination?: string;
|
|
31
37
|
takerFeeDestination?: string;
|
|
32
38
|
native_denom?: string;
|
|
39
|
+
orderBookExtraGasWindow?: string;
|
|
40
|
+
orderBookQueueExtraGas?: string;
|
|
41
|
+
fillOrdersExtraGas?: string;
|
|
42
|
+
minNativeLiquidityForModuleSwap?: string;
|
|
43
|
+
orderBookPerBlockMessages?: string;
|
|
44
|
+
orderBookQueueMessageScanExtraGas?: string;
|
|
33
45
|
}
|
|
34
46
|
export interface ParamsAminoMsg {
|
|
35
47
|
type: "bze/x/tradebin/Params";
|
|
@@ -48,6 +60,12 @@ export interface ParamsSDKType {
|
|
|
48
60
|
makerFeeDestination: string;
|
|
49
61
|
takerFeeDestination: string;
|
|
50
62
|
native_denom: string;
|
|
63
|
+
orderBookExtraGasWindow: bigint;
|
|
64
|
+
orderBookQueueExtraGas: bigint;
|
|
65
|
+
fillOrdersExtraGas: bigint;
|
|
66
|
+
minNativeLiquidityForModuleSwap: string;
|
|
67
|
+
orderBookPerBlockMessages: bigint;
|
|
68
|
+
orderBookQueueMessageScanExtraGas: bigint;
|
|
51
69
|
}
|
|
52
70
|
/**
|
|
53
71
|
* Params defines the parameters for the module.
|