@bze/bzejs 2.0.2 → 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 +3 -3
package/dist/bze/burner/tx.d.ts
CHANGED
|
@@ -299,6 +299,76 @@ export interface MsgJoinRaffleResponseAminoMsg {
|
|
|
299
299
|
*/
|
|
300
300
|
export interface MsgJoinRaffleResponseSDKType {
|
|
301
301
|
}
|
|
302
|
+
/**
|
|
303
|
+
* @name MsgMoveIbcLockedCoins
|
|
304
|
+
* @package bze.burner
|
|
305
|
+
* @see proto type: bze.burner.MsgMoveIbcLockedCoins
|
|
306
|
+
*/
|
|
307
|
+
export interface MsgMoveIbcLockedCoins {
|
|
308
|
+
creator: string;
|
|
309
|
+
denom: string;
|
|
310
|
+
}
|
|
311
|
+
export interface MsgMoveIbcLockedCoinsProtoMsg {
|
|
312
|
+
typeUrl: "/bze.burner.MsgMoveIbcLockedCoins";
|
|
313
|
+
value: Uint8Array;
|
|
314
|
+
}
|
|
315
|
+
/**
|
|
316
|
+
* @name MsgMoveIbcLockedCoinsAmino
|
|
317
|
+
* @package bze.burner
|
|
318
|
+
* @see proto type: bze.burner.MsgMoveIbcLockedCoins
|
|
319
|
+
*/
|
|
320
|
+
export interface MsgMoveIbcLockedCoinsAmino {
|
|
321
|
+
creator?: string;
|
|
322
|
+
denom?: string;
|
|
323
|
+
}
|
|
324
|
+
export interface MsgMoveIbcLockedCoinsAminoMsg {
|
|
325
|
+
type: "/bze.burner.MsgMoveIbcLockedCoins";
|
|
326
|
+
value: MsgMoveIbcLockedCoinsAmino;
|
|
327
|
+
}
|
|
328
|
+
/**
|
|
329
|
+
* @name MsgMoveIbcLockedCoinsSDKType
|
|
330
|
+
* @package bze.burner
|
|
331
|
+
* @see proto type: bze.burner.MsgMoveIbcLockedCoins
|
|
332
|
+
*/
|
|
333
|
+
export interface MsgMoveIbcLockedCoinsSDKType {
|
|
334
|
+
creator: string;
|
|
335
|
+
denom: string;
|
|
336
|
+
}
|
|
337
|
+
/**
|
|
338
|
+
* @name MsgMoveIbcLockedCoinsResponse
|
|
339
|
+
* @package bze.burner
|
|
340
|
+
* @see proto type: bze.burner.MsgMoveIbcLockedCoinsResponse
|
|
341
|
+
*/
|
|
342
|
+
export interface MsgMoveIbcLockedCoinsResponse {
|
|
343
|
+
added: string;
|
|
344
|
+
refunded: string;
|
|
345
|
+
}
|
|
346
|
+
export interface MsgMoveIbcLockedCoinsResponseProtoMsg {
|
|
347
|
+
typeUrl: "/bze.burner.MsgMoveIbcLockedCoinsResponse";
|
|
348
|
+
value: Uint8Array;
|
|
349
|
+
}
|
|
350
|
+
/**
|
|
351
|
+
* @name MsgMoveIbcLockedCoinsResponseAmino
|
|
352
|
+
* @package bze.burner
|
|
353
|
+
* @see proto type: bze.burner.MsgMoveIbcLockedCoinsResponse
|
|
354
|
+
*/
|
|
355
|
+
export interface MsgMoveIbcLockedCoinsResponseAmino {
|
|
356
|
+
added?: string;
|
|
357
|
+
refunded?: string;
|
|
358
|
+
}
|
|
359
|
+
export interface MsgMoveIbcLockedCoinsResponseAminoMsg {
|
|
360
|
+
type: "/bze.burner.MsgMoveIbcLockedCoinsResponse";
|
|
361
|
+
value: MsgMoveIbcLockedCoinsResponseAmino;
|
|
362
|
+
}
|
|
363
|
+
/**
|
|
364
|
+
* @name MsgMoveIbcLockedCoinsResponseSDKType
|
|
365
|
+
* @package bze.burner
|
|
366
|
+
* @see proto type: bze.burner.MsgMoveIbcLockedCoinsResponse
|
|
367
|
+
*/
|
|
368
|
+
export interface MsgMoveIbcLockedCoinsResponseSDKType {
|
|
369
|
+
added: string;
|
|
370
|
+
refunded: string;
|
|
371
|
+
}
|
|
302
372
|
/**
|
|
303
373
|
* MsgUpdateParams is the Msg/UpdateParams request type.
|
|
304
374
|
* @name MsgUpdateParams
|
|
@@ -478,3 +548,45 @@ export declare const MsgJoinRaffleResponse: {
|
|
|
478
548
|
toProtoMsg(message: MsgJoinRaffleResponse): MsgJoinRaffleResponseProtoMsg;
|
|
479
549
|
registerTypeUrl(): void;
|
|
480
550
|
};
|
|
551
|
+
/**
|
|
552
|
+
* @name MsgMoveIbcLockedCoins
|
|
553
|
+
* @package bze.burner
|
|
554
|
+
* @see proto type: bze.burner.MsgMoveIbcLockedCoins
|
|
555
|
+
*/
|
|
556
|
+
export declare const MsgMoveIbcLockedCoins: {
|
|
557
|
+
typeUrl: string;
|
|
558
|
+
is(o: any): o is MsgMoveIbcLockedCoins;
|
|
559
|
+
isSDK(o: any): o is MsgMoveIbcLockedCoinsSDKType;
|
|
560
|
+
isAmino(o: any): o is MsgMoveIbcLockedCoinsAmino;
|
|
561
|
+
encode(message: MsgMoveIbcLockedCoins, writer?: BinaryWriter): BinaryWriter;
|
|
562
|
+
decode(input: BinaryReader | Uint8Array, length?: number): MsgMoveIbcLockedCoins;
|
|
563
|
+
fromPartial(object: Partial<MsgMoveIbcLockedCoins>): MsgMoveIbcLockedCoins;
|
|
564
|
+
fromAmino(object: MsgMoveIbcLockedCoinsAmino): MsgMoveIbcLockedCoins;
|
|
565
|
+
toAmino(message: MsgMoveIbcLockedCoins): MsgMoveIbcLockedCoinsAmino;
|
|
566
|
+
fromAminoMsg(object: MsgMoveIbcLockedCoinsAminoMsg): MsgMoveIbcLockedCoins;
|
|
567
|
+
fromProtoMsg(message: MsgMoveIbcLockedCoinsProtoMsg): MsgMoveIbcLockedCoins;
|
|
568
|
+
toProto(message: MsgMoveIbcLockedCoins): Uint8Array;
|
|
569
|
+
toProtoMsg(message: MsgMoveIbcLockedCoins): MsgMoveIbcLockedCoinsProtoMsg;
|
|
570
|
+
registerTypeUrl(): void;
|
|
571
|
+
};
|
|
572
|
+
/**
|
|
573
|
+
* @name MsgMoveIbcLockedCoinsResponse
|
|
574
|
+
* @package bze.burner
|
|
575
|
+
* @see proto type: bze.burner.MsgMoveIbcLockedCoinsResponse
|
|
576
|
+
*/
|
|
577
|
+
export declare const MsgMoveIbcLockedCoinsResponse: {
|
|
578
|
+
typeUrl: string;
|
|
579
|
+
is(o: any): o is MsgMoveIbcLockedCoinsResponse;
|
|
580
|
+
isSDK(o: any): o is MsgMoveIbcLockedCoinsResponseSDKType;
|
|
581
|
+
isAmino(o: any): o is MsgMoveIbcLockedCoinsResponseAmino;
|
|
582
|
+
encode(message: MsgMoveIbcLockedCoinsResponse, writer?: BinaryWriter): BinaryWriter;
|
|
583
|
+
decode(input: BinaryReader | Uint8Array, length?: number): MsgMoveIbcLockedCoinsResponse;
|
|
584
|
+
fromPartial(object: Partial<MsgMoveIbcLockedCoinsResponse>): MsgMoveIbcLockedCoinsResponse;
|
|
585
|
+
fromAmino(object: MsgMoveIbcLockedCoinsResponseAmino): MsgMoveIbcLockedCoinsResponse;
|
|
586
|
+
toAmino(message: MsgMoveIbcLockedCoinsResponse): MsgMoveIbcLockedCoinsResponseAmino;
|
|
587
|
+
fromAminoMsg(object: MsgMoveIbcLockedCoinsResponseAminoMsg): MsgMoveIbcLockedCoinsResponse;
|
|
588
|
+
fromProtoMsg(message: MsgMoveIbcLockedCoinsResponseProtoMsg): MsgMoveIbcLockedCoinsResponse;
|
|
589
|
+
toProto(message: MsgMoveIbcLockedCoinsResponse): Uint8Array;
|
|
590
|
+
toProtoMsg(message: MsgMoveIbcLockedCoinsResponse): MsgMoveIbcLockedCoinsResponseProtoMsg;
|
|
591
|
+
registerTypeUrl(): void;
|
|
592
|
+
};
|
package/dist/bze/burner/tx.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.MsgJoinRaffleResponse = exports.MsgJoinRaffle = exports.MsgStartRaffleResponse = exports.MsgStartRaffle = exports.MsgFundBurnerResponse = exports.MsgFundBurner = exports.MsgUpdateParamsResponse = exports.MsgUpdateParams = void 0;
|
|
3
|
+
exports.MsgMoveIbcLockedCoinsResponse = exports.MsgMoveIbcLockedCoins = exports.MsgJoinRaffleResponse = exports.MsgJoinRaffle = exports.MsgStartRaffleResponse = exports.MsgStartRaffle = exports.MsgFundBurnerResponse = exports.MsgFundBurner = exports.MsgUpdateParamsResponse = exports.MsgUpdateParams = void 0;
|
|
4
4
|
//@ts-nocheck
|
|
5
5
|
const params_1 = require("./params");
|
|
6
6
|
const binary_1 = require("../../binary");
|
|
@@ -733,3 +733,183 @@ exports.MsgJoinRaffleResponse = {
|
|
|
733
733
|
},
|
|
734
734
|
registerTypeUrl() { }
|
|
735
735
|
};
|
|
736
|
+
function createBaseMsgMoveIbcLockedCoins() {
|
|
737
|
+
return {
|
|
738
|
+
creator: "",
|
|
739
|
+
denom: ""
|
|
740
|
+
};
|
|
741
|
+
}
|
|
742
|
+
/**
|
|
743
|
+
* @name MsgMoveIbcLockedCoins
|
|
744
|
+
* @package bze.burner
|
|
745
|
+
* @see proto type: bze.burner.MsgMoveIbcLockedCoins
|
|
746
|
+
*/
|
|
747
|
+
exports.MsgMoveIbcLockedCoins = {
|
|
748
|
+
typeUrl: "/bze.burner.MsgMoveIbcLockedCoins",
|
|
749
|
+
is(o) {
|
|
750
|
+
return o && (o.$typeUrl === exports.MsgMoveIbcLockedCoins.typeUrl || typeof o.creator === "string" && typeof o.denom === "string");
|
|
751
|
+
},
|
|
752
|
+
isSDK(o) {
|
|
753
|
+
return o && (o.$typeUrl === exports.MsgMoveIbcLockedCoins.typeUrl || typeof o.creator === "string" && typeof o.denom === "string");
|
|
754
|
+
},
|
|
755
|
+
isAmino(o) {
|
|
756
|
+
return o && (o.$typeUrl === exports.MsgMoveIbcLockedCoins.typeUrl || typeof o.creator === "string" && typeof o.denom === "string");
|
|
757
|
+
},
|
|
758
|
+
encode(message, writer = binary_1.BinaryWriter.create()) {
|
|
759
|
+
if (message.creator !== "") {
|
|
760
|
+
writer.uint32(10).string(message.creator);
|
|
761
|
+
}
|
|
762
|
+
if (message.denom !== "") {
|
|
763
|
+
writer.uint32(18).string(message.denom);
|
|
764
|
+
}
|
|
765
|
+
return writer;
|
|
766
|
+
},
|
|
767
|
+
decode(input, length) {
|
|
768
|
+
const reader = input instanceof binary_1.BinaryReader ? input : new binary_1.BinaryReader(input);
|
|
769
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
770
|
+
const message = createBaseMsgMoveIbcLockedCoins();
|
|
771
|
+
while (reader.pos < end) {
|
|
772
|
+
const tag = reader.uint32();
|
|
773
|
+
switch (tag >>> 3) {
|
|
774
|
+
case 1:
|
|
775
|
+
message.creator = reader.string();
|
|
776
|
+
break;
|
|
777
|
+
case 2:
|
|
778
|
+
message.denom = reader.string();
|
|
779
|
+
break;
|
|
780
|
+
default:
|
|
781
|
+
reader.skipType(tag & 7);
|
|
782
|
+
break;
|
|
783
|
+
}
|
|
784
|
+
}
|
|
785
|
+
return message;
|
|
786
|
+
},
|
|
787
|
+
fromPartial(object) {
|
|
788
|
+
const message = createBaseMsgMoveIbcLockedCoins();
|
|
789
|
+
message.creator = object.creator ?? "";
|
|
790
|
+
message.denom = object.denom ?? "";
|
|
791
|
+
return message;
|
|
792
|
+
},
|
|
793
|
+
fromAmino(object) {
|
|
794
|
+
const message = createBaseMsgMoveIbcLockedCoins();
|
|
795
|
+
if (object.creator !== undefined && object.creator !== null) {
|
|
796
|
+
message.creator = object.creator;
|
|
797
|
+
}
|
|
798
|
+
if (object.denom !== undefined && object.denom !== null) {
|
|
799
|
+
message.denom = object.denom;
|
|
800
|
+
}
|
|
801
|
+
return message;
|
|
802
|
+
},
|
|
803
|
+
toAmino(message) {
|
|
804
|
+
const obj = {};
|
|
805
|
+
obj.creator = message.creator === "" ? undefined : message.creator;
|
|
806
|
+
obj.denom = message.denom === "" ? undefined : message.denom;
|
|
807
|
+
return obj;
|
|
808
|
+
},
|
|
809
|
+
fromAminoMsg(object) {
|
|
810
|
+
return exports.MsgMoveIbcLockedCoins.fromAmino(object.value);
|
|
811
|
+
},
|
|
812
|
+
fromProtoMsg(message) {
|
|
813
|
+
return exports.MsgMoveIbcLockedCoins.decode(message.value);
|
|
814
|
+
},
|
|
815
|
+
toProto(message) {
|
|
816
|
+
return exports.MsgMoveIbcLockedCoins.encode(message).finish();
|
|
817
|
+
},
|
|
818
|
+
toProtoMsg(message) {
|
|
819
|
+
return {
|
|
820
|
+
typeUrl: "/bze.burner.MsgMoveIbcLockedCoins",
|
|
821
|
+
value: exports.MsgMoveIbcLockedCoins.encode(message).finish()
|
|
822
|
+
};
|
|
823
|
+
},
|
|
824
|
+
registerTypeUrl() { }
|
|
825
|
+
};
|
|
826
|
+
function createBaseMsgMoveIbcLockedCoinsResponse() {
|
|
827
|
+
return {
|
|
828
|
+
added: "",
|
|
829
|
+
refunded: ""
|
|
830
|
+
};
|
|
831
|
+
}
|
|
832
|
+
/**
|
|
833
|
+
* @name MsgMoveIbcLockedCoinsResponse
|
|
834
|
+
* @package bze.burner
|
|
835
|
+
* @see proto type: bze.burner.MsgMoveIbcLockedCoinsResponse
|
|
836
|
+
*/
|
|
837
|
+
exports.MsgMoveIbcLockedCoinsResponse = {
|
|
838
|
+
typeUrl: "/bze.burner.MsgMoveIbcLockedCoinsResponse",
|
|
839
|
+
is(o) {
|
|
840
|
+
return o && (o.$typeUrl === exports.MsgMoveIbcLockedCoinsResponse.typeUrl || typeof o.added === "string" && typeof o.refunded === "string");
|
|
841
|
+
},
|
|
842
|
+
isSDK(o) {
|
|
843
|
+
return o && (o.$typeUrl === exports.MsgMoveIbcLockedCoinsResponse.typeUrl || typeof o.added === "string" && typeof o.refunded === "string");
|
|
844
|
+
},
|
|
845
|
+
isAmino(o) {
|
|
846
|
+
return o && (o.$typeUrl === exports.MsgMoveIbcLockedCoinsResponse.typeUrl || typeof o.added === "string" && typeof o.refunded === "string");
|
|
847
|
+
},
|
|
848
|
+
encode(message, writer = binary_1.BinaryWriter.create()) {
|
|
849
|
+
if (message.added !== "") {
|
|
850
|
+
writer.uint32(10).string(message.added);
|
|
851
|
+
}
|
|
852
|
+
if (message.refunded !== "") {
|
|
853
|
+
writer.uint32(18).string(message.refunded);
|
|
854
|
+
}
|
|
855
|
+
return writer;
|
|
856
|
+
},
|
|
857
|
+
decode(input, length) {
|
|
858
|
+
const reader = input instanceof binary_1.BinaryReader ? input : new binary_1.BinaryReader(input);
|
|
859
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
860
|
+
const message = createBaseMsgMoveIbcLockedCoinsResponse();
|
|
861
|
+
while (reader.pos < end) {
|
|
862
|
+
const tag = reader.uint32();
|
|
863
|
+
switch (tag >>> 3) {
|
|
864
|
+
case 1:
|
|
865
|
+
message.added = reader.string();
|
|
866
|
+
break;
|
|
867
|
+
case 2:
|
|
868
|
+
message.refunded = reader.string();
|
|
869
|
+
break;
|
|
870
|
+
default:
|
|
871
|
+
reader.skipType(tag & 7);
|
|
872
|
+
break;
|
|
873
|
+
}
|
|
874
|
+
}
|
|
875
|
+
return message;
|
|
876
|
+
},
|
|
877
|
+
fromPartial(object) {
|
|
878
|
+
const message = createBaseMsgMoveIbcLockedCoinsResponse();
|
|
879
|
+
message.added = object.added ?? "";
|
|
880
|
+
message.refunded = object.refunded ?? "";
|
|
881
|
+
return message;
|
|
882
|
+
},
|
|
883
|
+
fromAmino(object) {
|
|
884
|
+
const message = createBaseMsgMoveIbcLockedCoinsResponse();
|
|
885
|
+
if (object.added !== undefined && object.added !== null) {
|
|
886
|
+
message.added = object.added;
|
|
887
|
+
}
|
|
888
|
+
if (object.refunded !== undefined && object.refunded !== null) {
|
|
889
|
+
message.refunded = object.refunded;
|
|
890
|
+
}
|
|
891
|
+
return message;
|
|
892
|
+
},
|
|
893
|
+
toAmino(message) {
|
|
894
|
+
const obj = {};
|
|
895
|
+
obj.added = message.added === "" ? undefined : message.added;
|
|
896
|
+
obj.refunded = message.refunded === "" ? undefined : message.refunded;
|
|
897
|
+
return obj;
|
|
898
|
+
},
|
|
899
|
+
fromAminoMsg(object) {
|
|
900
|
+
return exports.MsgMoveIbcLockedCoinsResponse.fromAmino(object.value);
|
|
901
|
+
},
|
|
902
|
+
fromProtoMsg(message) {
|
|
903
|
+
return exports.MsgMoveIbcLockedCoinsResponse.decode(message.value);
|
|
904
|
+
},
|
|
905
|
+
toProto(message) {
|
|
906
|
+
return exports.MsgMoveIbcLockedCoinsResponse.encode(message).finish();
|
|
907
|
+
},
|
|
908
|
+
toProtoMsg(message) {
|
|
909
|
+
return {
|
|
910
|
+
typeUrl: "/bze.burner.MsgMoveIbcLockedCoinsResponse",
|
|
911
|
+
value: exports.MsgMoveIbcLockedCoinsResponse.encode(message).finish()
|
|
912
|
+
};
|
|
913
|
+
},
|
|
914
|
+
registerTypeUrl() { }
|
|
915
|
+
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { TelescopeGeneratedType } from "../../types";
|
|
2
|
-
import { MsgUpdateParams, MsgFundBurner, MsgStartRaffle, MsgJoinRaffle } from "./tx";
|
|
2
|
+
import { MsgUpdateParams, MsgFundBurner, MsgStartRaffle, MsgJoinRaffle, MsgMoveIbcLockedCoins } from "./tx";
|
|
3
3
|
export declare const registry: ReadonlyArray<[string, TelescopeGeneratedType<any, any, any>]>;
|
|
4
4
|
export declare const MessageComposer: {
|
|
5
5
|
encoded: {
|
|
@@ -19,6 +19,10 @@ export declare const MessageComposer: {
|
|
|
19
19
|
typeUrl: string;
|
|
20
20
|
value: Uint8Array<ArrayBufferLike>;
|
|
21
21
|
};
|
|
22
|
+
moveIbcLockedCoins(value: MsgMoveIbcLockedCoins): {
|
|
23
|
+
typeUrl: string;
|
|
24
|
+
value: Uint8Array<ArrayBufferLike>;
|
|
25
|
+
};
|
|
22
26
|
};
|
|
23
27
|
withTypeUrl: {
|
|
24
28
|
updateParams(value: MsgUpdateParams): {
|
|
@@ -37,6 +41,10 @@ export declare const MessageComposer: {
|
|
|
37
41
|
typeUrl: string;
|
|
38
42
|
value: MsgJoinRaffle;
|
|
39
43
|
};
|
|
44
|
+
moveIbcLockedCoins(value: MsgMoveIbcLockedCoins): {
|
|
45
|
+
typeUrl: string;
|
|
46
|
+
value: MsgMoveIbcLockedCoins;
|
|
47
|
+
};
|
|
40
48
|
};
|
|
41
49
|
fromPartial: {
|
|
42
50
|
updateParams(value: MsgUpdateParams): {
|
|
@@ -55,5 +63,9 @@ export declare const MessageComposer: {
|
|
|
55
63
|
typeUrl: string;
|
|
56
64
|
value: MsgJoinRaffle;
|
|
57
65
|
};
|
|
66
|
+
moveIbcLockedCoins(value: MsgMoveIbcLockedCoins): {
|
|
67
|
+
typeUrl: string;
|
|
68
|
+
value: MsgMoveIbcLockedCoins;
|
|
69
|
+
};
|
|
58
70
|
};
|
|
59
71
|
};
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.MessageComposer = exports.registry = void 0;
|
|
4
4
|
const tx_1 = require("./tx");
|
|
5
|
-
exports.registry = [["/bze.burner.MsgUpdateParams", tx_1.MsgUpdateParams], ["/bze.burner.MsgFundBurner", tx_1.MsgFundBurner], ["/bze.burner.MsgStartRaffle", tx_1.MsgStartRaffle], ["/bze.burner.MsgJoinRaffle", tx_1.MsgJoinRaffle]];
|
|
5
|
+
exports.registry = [["/bze.burner.MsgUpdateParams", tx_1.MsgUpdateParams], ["/bze.burner.MsgFundBurner", tx_1.MsgFundBurner], ["/bze.burner.MsgStartRaffle", tx_1.MsgStartRaffle], ["/bze.burner.MsgJoinRaffle", tx_1.MsgJoinRaffle], ["/bze.burner.MsgMoveIbcLockedCoins", tx_1.MsgMoveIbcLockedCoins]];
|
|
6
6
|
exports.MessageComposer = {
|
|
7
7
|
encoded: {
|
|
8
8
|
updateParams(value) {
|
|
@@ -28,6 +28,12 @@ exports.MessageComposer = {
|
|
|
28
28
|
typeUrl: "/bze.burner.MsgJoinRaffle",
|
|
29
29
|
value: tx_1.MsgJoinRaffle.encode(value).finish()
|
|
30
30
|
};
|
|
31
|
+
},
|
|
32
|
+
moveIbcLockedCoins(value) {
|
|
33
|
+
return {
|
|
34
|
+
typeUrl: "/bze.burner.MsgMoveIbcLockedCoins",
|
|
35
|
+
value: tx_1.MsgMoveIbcLockedCoins.encode(value).finish()
|
|
36
|
+
};
|
|
31
37
|
}
|
|
32
38
|
},
|
|
33
39
|
withTypeUrl: {
|
|
@@ -54,6 +60,12 @@ exports.MessageComposer = {
|
|
|
54
60
|
typeUrl: "/bze.burner.MsgJoinRaffle",
|
|
55
61
|
value
|
|
56
62
|
};
|
|
63
|
+
},
|
|
64
|
+
moveIbcLockedCoins(value) {
|
|
65
|
+
return {
|
|
66
|
+
typeUrl: "/bze.burner.MsgMoveIbcLockedCoins",
|
|
67
|
+
value
|
|
68
|
+
};
|
|
57
69
|
}
|
|
58
70
|
},
|
|
59
71
|
fromPartial: {
|
|
@@ -80,6 +92,12 @@ exports.MessageComposer = {
|
|
|
80
92
|
typeUrl: "/bze.burner.MsgJoinRaffle",
|
|
81
93
|
value: tx_1.MsgJoinRaffle.fromPartial(value)
|
|
82
94
|
};
|
|
95
|
+
},
|
|
96
|
+
moveIbcLockedCoins(value) {
|
|
97
|
+
return {
|
|
98
|
+
typeUrl: "/bze.burner.MsgMoveIbcLockedCoins",
|
|
99
|
+
value: tx_1.MsgMoveIbcLockedCoins.fromPartial(value)
|
|
100
|
+
};
|
|
83
101
|
}
|
|
84
102
|
}
|
|
85
103
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { MsgUpdateParams, MsgFundBurner, MsgStartRaffle, MsgJoinRaffle } from "./tx";
|
|
1
|
+
import { MsgUpdateParams, MsgFundBurner, MsgStartRaffle, MsgJoinRaffle, MsgMoveIbcLockedCoins } from "./tx";
|
|
2
2
|
/**
|
|
3
3
|
* UpdateParams defines a (governance) operation for updating the module
|
|
4
4
|
* parameters. The authority defaults to the x/gov module account.
|
|
@@ -25,3 +25,9 @@ export declare const startRaffle: (client: import("@interchainjs/cosmos").ISigni
|
|
|
25
25
|
* @see proto service: bze.burner.JoinRaffle
|
|
26
26
|
*/
|
|
27
27
|
export declare const joinRaffle: (client: import("@interchainjs/cosmos").ISigningClient, signerAddress: string, message: MsgJoinRaffle | MsgJoinRaffle[], fee: import("../..").StdFee | "auto", memo: string) => Promise<import("@interchainjs/types").DeliverTxResponse>;
|
|
28
|
+
/**
|
|
29
|
+
* @name moveIbcLockedCoins
|
|
30
|
+
* @package bze.burner
|
|
31
|
+
* @see proto service: bze.burner.MoveIbcLockedCoins
|
|
32
|
+
*/
|
|
33
|
+
export declare const moveIbcLockedCoins: (client: import("@interchainjs/cosmos").ISigningClient, signerAddress: string, message: MsgMoveIbcLockedCoins | MsgMoveIbcLockedCoins[], fee: import("../..").StdFee | "auto", memo: string) => Promise<import("@interchainjs/types").DeliverTxResponse>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.joinRaffle = exports.startRaffle = exports.fundBurner = exports.updateParams = void 0;
|
|
3
|
+
exports.moveIbcLockedCoins = exports.joinRaffle = exports.startRaffle = exports.fundBurner = exports.updateParams = void 0;
|
|
4
4
|
//@ts-nocheck
|
|
5
5
|
const helper_func_types_1 = require("../../helper-func-types");
|
|
6
6
|
const tx_1 = require("./tx");
|
|
@@ -38,3 +38,11 @@ exports.startRaffle = (0, helper_func_types_1.buildTx)({
|
|
|
38
38
|
exports.joinRaffle = (0, helper_func_types_1.buildTx)({
|
|
39
39
|
msg: tx_1.MsgJoinRaffle
|
|
40
40
|
});
|
|
41
|
+
/**
|
|
42
|
+
* @name moveIbcLockedCoins
|
|
43
|
+
* @package bze.burner
|
|
44
|
+
* @see proto service: bze.burner.MoveIbcLockedCoins
|
|
45
|
+
*/
|
|
46
|
+
exports.moveIbcLockedCoins = (0, helper_func_types_1.buildTx)({
|
|
47
|
+
msg: tx_1.MsgMoveIbcLockedCoins
|
|
48
|
+
});
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Params, ParamsAmino, ParamsSDKType } from "./params";
|
|
2
|
-
import { StakingReward, StakingRewardAmino, StakingRewardSDKType, TradingReward, TradingRewardAmino, TradingRewardSDKType, StakingRewardParticipant, StakingRewardParticipantAmino, StakingRewardParticipantSDKType, PendingUnlockParticipant, PendingUnlockParticipantAmino, PendingUnlockParticipantSDKType, TradingRewardLeaderboard, TradingRewardLeaderboardAmino, TradingRewardLeaderboardSDKType, TradingRewardCandidate, TradingRewardCandidateAmino, TradingRewardCandidateSDKType, MarketIdTradingRewardId, MarketIdTradingRewardIdAmino, MarketIdTradingRewardIdSDKType, TradingRewardExpiration, TradingRewardExpirationAmino, TradingRewardExpirationSDKType } from "./store";
|
|
2
|
+
import { StakingReward, StakingRewardAmino, StakingRewardSDKType, TradingReward, TradingRewardAmino, TradingRewardSDKType, StakingRewardParticipant, StakingRewardParticipantAmino, StakingRewardParticipantSDKType, PendingUnlockParticipant, PendingUnlockParticipantAmino, PendingUnlockParticipantSDKType, TradingRewardLeaderboard, TradingRewardLeaderboardAmino, TradingRewardLeaderboardSDKType, TradingRewardCandidate, TradingRewardCandidateAmino, TradingRewardCandidateSDKType, MarketIdTradingRewardId, MarketIdTradingRewardIdAmino, MarketIdTradingRewardIdSDKType, TradingRewardExpiration, TradingRewardExpirationAmino, TradingRewardExpirationSDKType, UnlockParticipantsQueue, UnlockParticipantsQueueAmino, UnlockParticipantsQueueSDKType, StakingRewardsDistributionQueue, StakingRewardsDistributionQueueAmino, StakingRewardsDistributionQueueSDKType, TradingRewardExpirationQueue, TradingRewardExpirationQueueAmino, TradingRewardExpirationQueueSDKType } from "./store";
|
|
3
3
|
import { BinaryReader, BinaryWriter } from "../../binary";
|
|
4
4
|
/**
|
|
5
5
|
* GenesisState defines the rewards module's genesis state.
|
|
@@ -24,6 +24,9 @@ export interface GenesisState {
|
|
|
24
24
|
marketIdTradingRewardIdList: MarketIdTradingRewardId[];
|
|
25
25
|
pendingTradingRewardExpirationList: TradingRewardExpiration[];
|
|
26
26
|
activeTradingRewardExpirationList: TradingRewardExpiration[];
|
|
27
|
+
unlockParticipantsQueue?: UnlockParticipantsQueue;
|
|
28
|
+
stakingRewardsDistributionQueue?: StakingRewardsDistributionQueue;
|
|
29
|
+
tradingRewardExpirationQueue?: TradingRewardExpirationQueue;
|
|
27
30
|
}
|
|
28
31
|
export interface GenesisStateProtoMsg {
|
|
29
32
|
typeUrl: "/bze.rewards.GenesisState";
|
|
@@ -52,6 +55,9 @@ export interface GenesisStateAmino {
|
|
|
52
55
|
market_id_trading_reward_id_list?: MarketIdTradingRewardIdAmino[];
|
|
53
56
|
pending_trading_reward_expiration_list?: TradingRewardExpirationAmino[];
|
|
54
57
|
active_trading_reward_expiration_list?: TradingRewardExpirationAmino[];
|
|
58
|
+
unlock_participants_queue?: UnlockParticipantsQueueAmino;
|
|
59
|
+
staking_rewards_distribution_queue?: StakingRewardsDistributionQueueAmino;
|
|
60
|
+
trading_reward_expiration_queue?: TradingRewardExpirationQueueAmino;
|
|
55
61
|
}
|
|
56
62
|
export interface GenesisStateAminoMsg {
|
|
57
63
|
type: "/bze.rewards.GenesisState";
|
|
@@ -77,6 +83,9 @@ export interface GenesisStateSDKType {
|
|
|
77
83
|
market_id_trading_reward_id_list: MarketIdTradingRewardIdSDKType[];
|
|
78
84
|
pending_trading_reward_expiration_list: TradingRewardExpirationSDKType[];
|
|
79
85
|
active_trading_reward_expiration_list: TradingRewardExpirationSDKType[];
|
|
86
|
+
unlock_participants_queue?: UnlockParticipantsQueueSDKType;
|
|
87
|
+
staking_rewards_distribution_queue?: StakingRewardsDistributionQueueSDKType;
|
|
88
|
+
trading_reward_expiration_queue?: TradingRewardExpirationQueueSDKType;
|
|
80
89
|
}
|
|
81
90
|
/**
|
|
82
91
|
* GenesisState defines the rewards module's genesis state.
|
|
@@ -20,7 +20,10 @@ function createBaseGenesisState() {
|
|
|
20
20
|
tradingRewardCandidateList: [],
|
|
21
21
|
marketIdTradingRewardIdList: [],
|
|
22
22
|
pendingTradingRewardExpirationList: [],
|
|
23
|
-
activeTradingRewardExpirationList: []
|
|
23
|
+
activeTradingRewardExpirationList: [],
|
|
24
|
+
unlockParticipantsQueue: undefined,
|
|
25
|
+
stakingRewardsDistributionQueue: undefined,
|
|
26
|
+
tradingRewardExpirationQueue: undefined
|
|
24
27
|
};
|
|
25
28
|
}
|
|
26
29
|
/**
|
|
@@ -80,6 +83,15 @@ exports.GenesisState = {
|
|
|
80
83
|
for (const v of message.activeTradingRewardExpirationList) {
|
|
81
84
|
store_1.TradingRewardExpiration.encode(v, writer.uint32(106).fork()).ldelim();
|
|
82
85
|
}
|
|
86
|
+
if (message.unlockParticipantsQueue !== undefined) {
|
|
87
|
+
store_1.UnlockParticipantsQueue.encode(message.unlockParticipantsQueue, writer.uint32(114).fork()).ldelim();
|
|
88
|
+
}
|
|
89
|
+
if (message.stakingRewardsDistributionQueue !== undefined) {
|
|
90
|
+
store_1.StakingRewardsDistributionQueue.encode(message.stakingRewardsDistributionQueue, writer.uint32(122).fork()).ldelim();
|
|
91
|
+
}
|
|
92
|
+
if (message.tradingRewardExpirationQueue !== undefined) {
|
|
93
|
+
store_1.TradingRewardExpirationQueue.encode(message.tradingRewardExpirationQueue, writer.uint32(130).fork()).ldelim();
|
|
94
|
+
}
|
|
83
95
|
return writer;
|
|
84
96
|
},
|
|
85
97
|
decode(input, length) {
|
|
@@ -128,6 +140,15 @@ exports.GenesisState = {
|
|
|
128
140
|
case 13:
|
|
129
141
|
message.activeTradingRewardExpirationList.push(store_1.TradingRewardExpiration.decode(reader, reader.uint32()));
|
|
130
142
|
break;
|
|
143
|
+
case 14:
|
|
144
|
+
message.unlockParticipantsQueue = store_1.UnlockParticipantsQueue.decode(reader, reader.uint32());
|
|
145
|
+
break;
|
|
146
|
+
case 15:
|
|
147
|
+
message.stakingRewardsDistributionQueue = store_1.StakingRewardsDistributionQueue.decode(reader, reader.uint32());
|
|
148
|
+
break;
|
|
149
|
+
case 16:
|
|
150
|
+
message.tradingRewardExpirationQueue = store_1.TradingRewardExpirationQueue.decode(reader, reader.uint32());
|
|
151
|
+
break;
|
|
131
152
|
default:
|
|
132
153
|
reader.skipType(tag & 7);
|
|
133
154
|
break;
|
|
@@ -150,6 +171,9 @@ exports.GenesisState = {
|
|
|
150
171
|
message.marketIdTradingRewardIdList = object.marketIdTradingRewardIdList?.map(e => store_1.MarketIdTradingRewardId.fromPartial(e)) || [];
|
|
151
172
|
message.pendingTradingRewardExpirationList = object.pendingTradingRewardExpirationList?.map(e => store_1.TradingRewardExpiration.fromPartial(e)) || [];
|
|
152
173
|
message.activeTradingRewardExpirationList = object.activeTradingRewardExpirationList?.map(e => store_1.TradingRewardExpiration.fromPartial(e)) || [];
|
|
174
|
+
message.unlockParticipantsQueue = object.unlockParticipantsQueue !== undefined && object.unlockParticipantsQueue !== null ? store_1.UnlockParticipantsQueue.fromPartial(object.unlockParticipantsQueue) : undefined;
|
|
175
|
+
message.stakingRewardsDistributionQueue = object.stakingRewardsDistributionQueue !== undefined && object.stakingRewardsDistributionQueue !== null ? store_1.StakingRewardsDistributionQueue.fromPartial(object.stakingRewardsDistributionQueue) : undefined;
|
|
176
|
+
message.tradingRewardExpirationQueue = object.tradingRewardExpirationQueue !== undefined && object.tradingRewardExpirationQueue !== null ? store_1.TradingRewardExpirationQueue.fromPartial(object.tradingRewardExpirationQueue) : undefined;
|
|
153
177
|
return message;
|
|
154
178
|
},
|
|
155
179
|
fromAmino(object) {
|
|
@@ -173,6 +197,15 @@ exports.GenesisState = {
|
|
|
173
197
|
message.marketIdTradingRewardIdList = object.market_id_trading_reward_id_list?.map(e => store_1.MarketIdTradingRewardId.fromAmino(e)) || [];
|
|
174
198
|
message.pendingTradingRewardExpirationList = object.pending_trading_reward_expiration_list?.map(e => store_1.TradingRewardExpiration.fromAmino(e)) || [];
|
|
175
199
|
message.activeTradingRewardExpirationList = object.active_trading_reward_expiration_list?.map(e => store_1.TradingRewardExpiration.fromAmino(e)) || [];
|
|
200
|
+
if (object.unlock_participants_queue !== undefined && object.unlock_participants_queue !== null) {
|
|
201
|
+
message.unlockParticipantsQueue = store_1.UnlockParticipantsQueue.fromAmino(object.unlock_participants_queue);
|
|
202
|
+
}
|
|
203
|
+
if (object.staking_rewards_distribution_queue !== undefined && object.staking_rewards_distribution_queue !== null) {
|
|
204
|
+
message.stakingRewardsDistributionQueue = store_1.StakingRewardsDistributionQueue.fromAmino(object.staking_rewards_distribution_queue);
|
|
205
|
+
}
|
|
206
|
+
if (object.trading_reward_expiration_queue !== undefined && object.trading_reward_expiration_queue !== null) {
|
|
207
|
+
message.tradingRewardExpirationQueue = store_1.TradingRewardExpirationQueue.fromAmino(object.trading_reward_expiration_queue);
|
|
208
|
+
}
|
|
176
209
|
return message;
|
|
177
210
|
},
|
|
178
211
|
toAmino(message) {
|
|
@@ -240,6 +273,9 @@ exports.GenesisState = {
|
|
|
240
273
|
else {
|
|
241
274
|
obj.active_trading_reward_expiration_list = message.activeTradingRewardExpirationList;
|
|
242
275
|
}
|
|
276
|
+
obj.unlock_participants_queue = message.unlockParticipantsQueue ? store_1.UnlockParticipantsQueue.toAmino(message.unlockParticipantsQueue) : undefined;
|
|
277
|
+
obj.staking_rewards_distribution_queue = message.stakingRewardsDistributionQueue ? store_1.StakingRewardsDistributionQueue.toAmino(message.stakingRewardsDistributionQueue) : undefined;
|
|
278
|
+
obj.trading_reward_expiration_queue = message.tradingRewardExpirationQueue ? store_1.TradingRewardExpirationQueue.toAmino(message.tradingRewardExpirationQueue) : undefined;
|
|
243
279
|
return obj;
|
|
244
280
|
},
|
|
245
281
|
fromAminoMsg(object) {
|
|
@@ -270,5 +306,8 @@ exports.GenesisState = {
|
|
|
270
306
|
store_1.TradingRewardCandidate.registerTypeUrl();
|
|
271
307
|
store_1.MarketIdTradingRewardId.registerTypeUrl();
|
|
272
308
|
store_1.TradingRewardExpiration.registerTypeUrl();
|
|
309
|
+
store_1.UnlockParticipantsQueue.registerTypeUrl();
|
|
310
|
+
store_1.StakingRewardsDistributionQueue.registerTypeUrl();
|
|
311
|
+
store_1.TradingRewardExpirationQueue.registerTypeUrl();
|
|
273
312
|
}
|
|
274
313
|
};
|
|
@@ -9,6 +9,7 @@ import { BinaryReader, BinaryWriter } from "../../binary";
|
|
|
9
9
|
export interface Params {
|
|
10
10
|
createStakingRewardFee: Coin;
|
|
11
11
|
createTradingRewardFee: Coin;
|
|
12
|
+
extraGasForExitStake: bigint;
|
|
12
13
|
}
|
|
13
14
|
export interface ParamsProtoMsg {
|
|
14
15
|
typeUrl: "/bze.rewards.Params";
|
|
@@ -23,6 +24,7 @@ export interface ParamsProtoMsg {
|
|
|
23
24
|
export interface ParamsAmino {
|
|
24
25
|
createStakingRewardFee?: CoinAmino;
|
|
25
26
|
createTradingRewardFee?: CoinAmino;
|
|
27
|
+
extraGasForExitStake?: string;
|
|
26
28
|
}
|
|
27
29
|
export interface ParamsAminoMsg {
|
|
28
30
|
type: "bze/x/rewards/Params";
|
|
@@ -37,6 +39,7 @@ export interface ParamsAminoMsg {
|
|
|
37
39
|
export interface ParamsSDKType {
|
|
38
40
|
createStakingRewardFee: CoinSDKType;
|
|
39
41
|
createTradingRewardFee: CoinSDKType;
|
|
42
|
+
extraGasForExitStake: bigint;
|
|
40
43
|
}
|
|
41
44
|
/**
|
|
42
45
|
* Params defines the parameters for the module.
|
|
@@ -8,7 +8,8 @@ const registry_1 = require("../../registry");
|
|
|
8
8
|
function createBaseParams() {
|
|
9
9
|
return {
|
|
10
10
|
createStakingRewardFee: coin_1.Coin.fromPartial({}),
|
|
11
|
-
createTradingRewardFee: coin_1.Coin.fromPartial({})
|
|
11
|
+
createTradingRewardFee: coin_1.Coin.fromPartial({}),
|
|
12
|
+
extraGasForExitStake: BigInt(0)
|
|
12
13
|
};
|
|
13
14
|
}
|
|
14
15
|
/**
|
|
@@ -21,13 +22,13 @@ exports.Params = {
|
|
|
21
22
|
typeUrl: "/bze.rewards.Params",
|
|
22
23
|
aminoType: "bze/x/rewards/Params",
|
|
23
24
|
is(o) {
|
|
24
|
-
return o && (o.$typeUrl === exports.Params.typeUrl || coin_1.Coin.is(o.createStakingRewardFee) && coin_1.Coin.is(o.createTradingRewardFee));
|
|
25
|
+
return o && (o.$typeUrl === exports.Params.typeUrl || coin_1.Coin.is(o.createStakingRewardFee) && coin_1.Coin.is(o.createTradingRewardFee) && typeof o.extraGasForExitStake === "bigint");
|
|
25
26
|
},
|
|
26
27
|
isSDK(o) {
|
|
27
|
-
return o && (o.$typeUrl === exports.Params.typeUrl || coin_1.Coin.isSDK(o.createStakingRewardFee) && coin_1.Coin.isSDK(o.createTradingRewardFee));
|
|
28
|
+
return o && (o.$typeUrl === exports.Params.typeUrl || coin_1.Coin.isSDK(o.createStakingRewardFee) && coin_1.Coin.isSDK(o.createTradingRewardFee) && typeof o.extraGasForExitStake === "bigint");
|
|
28
29
|
},
|
|
29
30
|
isAmino(o) {
|
|
30
|
-
return o && (o.$typeUrl === exports.Params.typeUrl || coin_1.Coin.isAmino(o.createStakingRewardFee) && coin_1.Coin.isAmino(o.createTradingRewardFee));
|
|
31
|
+
return o && (o.$typeUrl === exports.Params.typeUrl || coin_1.Coin.isAmino(o.createStakingRewardFee) && coin_1.Coin.isAmino(o.createTradingRewardFee) && typeof o.extraGasForExitStake === "bigint");
|
|
31
32
|
},
|
|
32
33
|
encode(message, writer = binary_1.BinaryWriter.create()) {
|
|
33
34
|
if (message.createStakingRewardFee !== undefined) {
|
|
@@ -36,6 +37,9 @@ exports.Params = {
|
|
|
36
37
|
if (message.createTradingRewardFee !== undefined) {
|
|
37
38
|
coin_1.Coin.encode(message.createTradingRewardFee, writer.uint32(18).fork()).ldelim();
|
|
38
39
|
}
|
|
40
|
+
if (message.extraGasForExitStake !== BigInt(0)) {
|
|
41
|
+
writer.uint32(24).uint64(message.extraGasForExitStake);
|
|
42
|
+
}
|
|
39
43
|
return writer;
|
|
40
44
|
},
|
|
41
45
|
decode(input, length) {
|
|
@@ -51,6 +55,9 @@ exports.Params = {
|
|
|
51
55
|
case 2:
|
|
52
56
|
message.createTradingRewardFee = coin_1.Coin.decode(reader, reader.uint32());
|
|
53
57
|
break;
|
|
58
|
+
case 3:
|
|
59
|
+
message.extraGasForExitStake = reader.uint64();
|
|
60
|
+
break;
|
|
54
61
|
default:
|
|
55
62
|
reader.skipType(tag & 7);
|
|
56
63
|
break;
|
|
@@ -62,6 +69,7 @@ exports.Params = {
|
|
|
62
69
|
const message = createBaseParams();
|
|
63
70
|
message.createStakingRewardFee = object.createStakingRewardFee !== undefined && object.createStakingRewardFee !== null ? coin_1.Coin.fromPartial(object.createStakingRewardFee) : undefined;
|
|
64
71
|
message.createTradingRewardFee = object.createTradingRewardFee !== undefined && object.createTradingRewardFee !== null ? coin_1.Coin.fromPartial(object.createTradingRewardFee) : undefined;
|
|
72
|
+
message.extraGasForExitStake = object.extraGasForExitStake !== undefined && object.extraGasForExitStake !== null ? BigInt(object.extraGasForExitStake.toString()) : BigInt(0);
|
|
65
73
|
return message;
|
|
66
74
|
},
|
|
67
75
|
fromAmino(object) {
|
|
@@ -72,12 +80,16 @@ exports.Params = {
|
|
|
72
80
|
if (object.createTradingRewardFee !== undefined && object.createTradingRewardFee !== null) {
|
|
73
81
|
message.createTradingRewardFee = coin_1.Coin.fromAmino(object.createTradingRewardFee);
|
|
74
82
|
}
|
|
83
|
+
if (object.extraGasForExitStake !== undefined && object.extraGasForExitStake !== null) {
|
|
84
|
+
message.extraGasForExitStake = BigInt(object.extraGasForExitStake);
|
|
85
|
+
}
|
|
75
86
|
return message;
|
|
76
87
|
},
|
|
77
88
|
toAmino(message) {
|
|
78
89
|
const obj = {};
|
|
79
90
|
obj.createStakingRewardFee = message.createStakingRewardFee ? coin_1.Coin.toAmino(message.createStakingRewardFee) : undefined;
|
|
80
91
|
obj.createTradingRewardFee = message.createTradingRewardFee ? coin_1.Coin.toAmino(message.createTradingRewardFee) : undefined;
|
|
92
|
+
obj.extraGasForExitStake = message.extraGasForExitStake !== BigInt(0) ? message.extraGasForExitStake?.toString() : undefined;
|
|
81
93
|
return obj;
|
|
82
94
|
},
|
|
83
95
|
fromAminoMsg(object) {
|