@sparkdreamnft/sparkdreamjs 0.0.44 → 0.0.45
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/esm/sparkdream/name/v1/genesis.js +32 -2
- package/esm/sparkdream/rep/v1/params.js +13 -1
- package/esm/sparkdream/rep/v1/tx.js +145 -0
- package/esm/sparkdream/rep/v1/tx.registry.js +20 -2
- package/esm/sparkdream/rep/v1/tx.rpc.msg.js +9 -1
- package/esm/sparkdream/season/v1/tx.js +33 -2
- package/esm/sparkdream/service/v1/operator.js +25 -1
- package/esm/sparkdream/service/v1/tx.amino.js +6 -1
- package/esm/sparkdream/service/v1/tx.js +163 -0
- package/esm/sparkdream/service/v1/tx.registry.js +20 -2
- package/esm/sparkdream/service/v1/tx.rpc.msg.js +11 -1
- package/esm/sparkdream/session/v1/grant.js +98 -6
- package/esm/sparkdream/session/v1/tx.amino.js +3 -0
- package/esm/sparkdream/session/v1/tx.js +15 -3
- package/esm/sparkdream/session/v1/tx.rpc.msg.js +2 -2
- package/esm/sparkdream/shield/v1/genesis.js +32 -2
- package/esm/sparkdream/shield/v1/params.js +13 -1
- package/esm/sparkdream/shield/v1/query.js +13 -1
- package/esm/sparkdream/shield/v1/types.js +414 -15
- package/package.json +1 -1
- package/sparkdream/bundle.d.ts +129 -0
- package/sparkdream/client.d.ts +5 -0
- package/sparkdream/name/v1/genesis.d.ts +23 -1
- package/sparkdream/name/v1/genesis.js +31 -1
- package/sparkdream/rep/v1/params.d.ts +16 -0
- package/sparkdream/rep/v1/params.js +13 -1
- package/sparkdream/rep/v1/tx.d.ts +93 -0
- package/sparkdream/rep/v1/tx.js +146 -1
- package/sparkdream/rep/v1/tx.registry.d.ts +13 -1
- package/sparkdream/rep/v1/tx.registry.js +19 -1
- package/sparkdream/rep/v1/tx.rpc.msg.d.ts +8 -1
- package/sparkdream/rep/v1/tx.rpc.msg.js +8 -0
- package/sparkdream/season/v1/tx.d.ts +19 -0
- package/sparkdream/season/v1/tx.js +33 -2
- package/sparkdream/service/v1/operator.d.ts +30 -0
- package/sparkdream/service/v1/operator.js +25 -1
- package/sparkdream/service/v1/tx.amino.d.ts +6 -1
- package/sparkdream/service/v1/tx.amino.js +5 -0
- package/sparkdream/service/v1/tx.d.ts +119 -0
- package/sparkdream/service/v1/tx.js +164 -1
- package/sparkdream/service/v1/tx.registry.d.ts +13 -1
- package/sparkdream/service/v1/tx.registry.js +19 -1
- package/sparkdream/service/v1/tx.rpc.msg.d.ts +10 -1
- package/sparkdream/service/v1/tx.rpc.msg.js +10 -0
- package/sparkdream/session/v1/grant.d.ts +75 -7
- package/sparkdream/session/v1/grant.js +99 -7
- package/sparkdream/session/v1/tx.amino.js +3 -0
- package/sparkdream/session/v1/tx.d.ts +6 -4
- package/sparkdream/session/v1/tx.js +14 -2
- package/sparkdream/session/v1/tx.rpc.msg.d.ts +2 -2
- package/sparkdream/session/v1/tx.rpc.msg.js +2 -2
- package/sparkdream/shield/v1/genesis.d.ts +17 -1
- package/sparkdream/shield/v1/genesis.js +31 -1
- package/sparkdream/shield/v1/params.d.ts +16 -4
- package/sparkdream/shield/v1/params.js +13 -1
- package/sparkdream/shield/v1/query.d.ts +8 -0
- package/sparkdream/shield/v1/query.js +13 -1
- package/sparkdream/shield/v1/tx.d.ts +36 -10
- package/sparkdream/shield/v1/types.d.ts +294 -13
- package/sparkdream/shield/v1/types.js +415 -16
package/sparkdream/bundle.d.ts
CHANGED
|
@@ -15190,6 +15190,10 @@ export declare namespace sparkdream {
|
|
|
15190
15190
|
typeUrl: string;
|
|
15191
15191
|
value: Uint8Array<ArrayBufferLike>;
|
|
15192
15192
|
};
|
|
15193
|
+
revokeInvitation(value: _471.MsgRevokeInvitation): {
|
|
15194
|
+
typeUrl: string;
|
|
15195
|
+
value: Uint8Array<ArrayBufferLike>;
|
|
15196
|
+
};
|
|
15193
15197
|
};
|
|
15194
15198
|
withTypeUrl: {
|
|
15195
15199
|
updateParams(value: _471.MsgUpdateParams): {
|
|
@@ -15424,6 +15428,10 @@ export declare namespace sparkdream {
|
|
|
15424
15428
|
typeUrl: string;
|
|
15425
15429
|
value: _471.MsgReclaimInitiativeBounty;
|
|
15426
15430
|
};
|
|
15431
|
+
revokeInvitation(value: _471.MsgRevokeInvitation): {
|
|
15432
|
+
typeUrl: string;
|
|
15433
|
+
value: _471.MsgRevokeInvitation;
|
|
15434
|
+
};
|
|
15427
15435
|
};
|
|
15428
15436
|
fromPartial: {
|
|
15429
15437
|
updateParams(value: _471.MsgUpdateParams): {
|
|
@@ -15658,6 +15666,10 @@ export declare namespace sparkdream {
|
|
|
15658
15666
|
typeUrl: string;
|
|
15659
15667
|
value: _471.MsgReclaimInitiativeBounty;
|
|
15660
15668
|
};
|
|
15669
|
+
revokeInvitation(value: _471.MsgRevokeInvitation): {
|
|
15670
|
+
typeUrl: string;
|
|
15671
|
+
value: _471.MsgRevokeInvitation;
|
|
15672
|
+
};
|
|
15661
15673
|
};
|
|
15662
15674
|
};
|
|
15663
15675
|
AminoConverter: {
|
|
@@ -17454,6 +17466,32 @@ export declare namespace sparkdream {
|
|
|
17454
17466
|
toProto(message: _471.MsgReclaimInitiativeBountyResponse): Uint8Array;
|
|
17455
17467
|
toProtoMsg(message: _471.MsgReclaimInitiativeBountyResponse): _471.MsgReclaimInitiativeBountyResponseProtoMsg;
|
|
17456
17468
|
};
|
|
17469
|
+
MsgRevokeInvitation: {
|
|
17470
|
+
typeUrl: string;
|
|
17471
|
+
aminoType: string;
|
|
17472
|
+
encode(message: _471.MsgRevokeInvitation, writer?: import("..").BinaryWriter): import("..").BinaryWriter;
|
|
17473
|
+
decode(input: import("..").BinaryReader | Uint8Array, length?: number): _471.MsgRevokeInvitation;
|
|
17474
|
+
fromPartial(object: import("../helpers").DeepPartial<_471.MsgRevokeInvitation>): _471.MsgRevokeInvitation;
|
|
17475
|
+
fromAmino(object: _471.MsgRevokeInvitationAmino): _471.MsgRevokeInvitation;
|
|
17476
|
+
toAmino(message: _471.MsgRevokeInvitation): _471.MsgRevokeInvitationAmino;
|
|
17477
|
+
fromAminoMsg(object: _471.MsgRevokeInvitationAminoMsg): _471.MsgRevokeInvitation;
|
|
17478
|
+
toAminoMsg(message: _471.MsgRevokeInvitation): _471.MsgRevokeInvitationAminoMsg;
|
|
17479
|
+
fromProtoMsg(message: _471.MsgRevokeInvitationProtoMsg): _471.MsgRevokeInvitation;
|
|
17480
|
+
toProto(message: _471.MsgRevokeInvitation): Uint8Array;
|
|
17481
|
+
toProtoMsg(message: _471.MsgRevokeInvitation): _471.MsgRevokeInvitationProtoMsg;
|
|
17482
|
+
};
|
|
17483
|
+
MsgRevokeInvitationResponse: {
|
|
17484
|
+
typeUrl: string;
|
|
17485
|
+
encode(_: _471.MsgRevokeInvitationResponse, writer?: import("..").BinaryWriter): import("..").BinaryWriter;
|
|
17486
|
+
decode(input: import("..").BinaryReader | Uint8Array, length?: number): _471.MsgRevokeInvitationResponse;
|
|
17487
|
+
fromPartial(_: import("../helpers").DeepPartial<_471.MsgRevokeInvitationResponse>): _471.MsgRevokeInvitationResponse;
|
|
17488
|
+
fromAmino(_: _471.MsgRevokeInvitationResponseAmino): _471.MsgRevokeInvitationResponse;
|
|
17489
|
+
toAmino(_: _471.MsgRevokeInvitationResponse): _471.MsgRevokeInvitationResponseAmino;
|
|
17490
|
+
fromAminoMsg(object: _471.MsgRevokeInvitationResponseAminoMsg): _471.MsgRevokeInvitationResponse;
|
|
17491
|
+
fromProtoMsg(message: _471.MsgRevokeInvitationResponseProtoMsg): _471.MsgRevokeInvitationResponse;
|
|
17492
|
+
toProto(message: _471.MsgRevokeInvitationResponse): Uint8Array;
|
|
17493
|
+
toProtoMsg(message: _471.MsgRevokeInvitationResponse): _471.MsgRevokeInvitationResponseProtoMsg;
|
|
17494
|
+
};
|
|
17457
17495
|
Tag: {
|
|
17458
17496
|
typeUrl: string;
|
|
17459
17497
|
encode(message: _470.Tag, writer?: import("..").BinaryWriter): import("..").BinaryWriter;
|
|
@@ -25264,6 +25302,10 @@ export declare namespace sparkdream {
|
|
|
25264
25302
|
typeUrl: string;
|
|
25265
25303
|
value: Uint8Array<ArrayBufferLike>;
|
|
25266
25304
|
};
|
|
25305
|
+
withdrawBond(value: _521.MsgWithdrawBond): {
|
|
25306
|
+
typeUrl: string;
|
|
25307
|
+
value: Uint8Array<ArrayBufferLike>;
|
|
25308
|
+
};
|
|
25267
25309
|
reportOperator(value: _521.MsgReportOperator): {
|
|
25268
25310
|
typeUrl: string;
|
|
25269
25311
|
value: Uint8Array<ArrayBufferLike>;
|
|
@@ -25322,6 +25364,10 @@ export declare namespace sparkdream {
|
|
|
25322
25364
|
typeUrl: string;
|
|
25323
25365
|
value: _521.MsgTopUpBond;
|
|
25324
25366
|
};
|
|
25367
|
+
withdrawBond(value: _521.MsgWithdrawBond): {
|
|
25368
|
+
typeUrl: string;
|
|
25369
|
+
value: _521.MsgWithdrawBond;
|
|
25370
|
+
};
|
|
25325
25371
|
reportOperator(value: _521.MsgReportOperator): {
|
|
25326
25372
|
typeUrl: string;
|
|
25327
25373
|
value: _521.MsgReportOperator;
|
|
@@ -25380,6 +25426,10 @@ export declare namespace sparkdream {
|
|
|
25380
25426
|
typeUrl: string;
|
|
25381
25427
|
value: _521.MsgTopUpBond;
|
|
25382
25428
|
};
|
|
25429
|
+
withdrawBond(value: _521.MsgWithdrawBond): {
|
|
25430
|
+
typeUrl: string;
|
|
25431
|
+
value: _521.MsgWithdrawBond;
|
|
25432
|
+
};
|
|
25383
25433
|
reportOperator(value: _521.MsgReportOperator): {
|
|
25384
25434
|
typeUrl: string;
|
|
25385
25435
|
value: _521.MsgReportOperator;
|
|
@@ -25446,6 +25496,11 @@ export declare namespace sparkdream {
|
|
|
25446
25496
|
toAmino: (message: _521.MsgTopUpBond) => _521.MsgTopUpBondAmino;
|
|
25447
25497
|
fromAmino: (object: _521.MsgTopUpBondAmino) => _521.MsgTopUpBond;
|
|
25448
25498
|
};
|
|
25499
|
+
"/sparkdream.service.v1.MsgWithdrawBond": {
|
|
25500
|
+
aminoType: string;
|
|
25501
|
+
toAmino: (message: _521.MsgWithdrawBond) => _521.MsgWithdrawBondAmino;
|
|
25502
|
+
fromAmino: (object: _521.MsgWithdrawBondAmino) => _521.MsgWithdrawBond;
|
|
25503
|
+
};
|
|
25449
25504
|
"/sparkdream.service.v1.MsgReportOperator": {
|
|
25450
25505
|
aminoType: string;
|
|
25451
25506
|
toAmino: (message: _521.MsgReportOperator) => _521.MsgReportOperatorAmino;
|
|
@@ -25692,6 +25747,32 @@ export declare namespace sparkdream {
|
|
|
25692
25747
|
toProto(message: _521.MsgTopUpBondResponse): Uint8Array;
|
|
25693
25748
|
toProtoMsg(message: _521.MsgTopUpBondResponse): _521.MsgTopUpBondResponseProtoMsg;
|
|
25694
25749
|
};
|
|
25750
|
+
MsgWithdrawBond: {
|
|
25751
|
+
typeUrl: string;
|
|
25752
|
+
aminoType: string;
|
|
25753
|
+
encode(message: _521.MsgWithdrawBond, writer?: import("..").BinaryWriter): import("..").BinaryWriter;
|
|
25754
|
+
decode(input: import("..").BinaryReader | Uint8Array, length?: number): _521.MsgWithdrawBond;
|
|
25755
|
+
fromPartial(object: import("../helpers").DeepPartial<_521.MsgWithdrawBond>): _521.MsgWithdrawBond;
|
|
25756
|
+
fromAmino(object: _521.MsgWithdrawBondAmino): _521.MsgWithdrawBond;
|
|
25757
|
+
toAmino(message: _521.MsgWithdrawBond): _521.MsgWithdrawBondAmino;
|
|
25758
|
+
fromAminoMsg(object: _521.MsgWithdrawBondAminoMsg): _521.MsgWithdrawBond;
|
|
25759
|
+
toAminoMsg(message: _521.MsgWithdrawBond): _521.MsgWithdrawBondAminoMsg;
|
|
25760
|
+
fromProtoMsg(message: _521.MsgWithdrawBondProtoMsg): _521.MsgWithdrawBond;
|
|
25761
|
+
toProto(message: _521.MsgWithdrawBond): Uint8Array;
|
|
25762
|
+
toProtoMsg(message: _521.MsgWithdrawBond): _521.MsgWithdrawBondProtoMsg;
|
|
25763
|
+
};
|
|
25764
|
+
MsgWithdrawBondResponse: {
|
|
25765
|
+
typeUrl: string;
|
|
25766
|
+
encode(_: _521.MsgWithdrawBondResponse, writer?: import("..").BinaryWriter): import("..").BinaryWriter;
|
|
25767
|
+
decode(input: import("..").BinaryReader | Uint8Array, length?: number): _521.MsgWithdrawBondResponse;
|
|
25768
|
+
fromPartial(_: import("../helpers").DeepPartial<_521.MsgWithdrawBondResponse>): _521.MsgWithdrawBondResponse;
|
|
25769
|
+
fromAmino(_: _521.MsgWithdrawBondResponseAmino): _521.MsgWithdrawBondResponse;
|
|
25770
|
+
toAmino(_: _521.MsgWithdrawBondResponse): _521.MsgWithdrawBondResponseAmino;
|
|
25771
|
+
fromAminoMsg(object: _521.MsgWithdrawBondResponseAminoMsg): _521.MsgWithdrawBondResponse;
|
|
25772
|
+
fromProtoMsg(message: _521.MsgWithdrawBondResponseProtoMsg): _521.MsgWithdrawBondResponse;
|
|
25773
|
+
toProto(message: _521.MsgWithdrawBondResponse): Uint8Array;
|
|
25774
|
+
toProtoMsg(message: _521.MsgWithdrawBondResponse): _521.MsgWithdrawBondResponseProtoMsg;
|
|
25775
|
+
};
|
|
25695
25776
|
MsgReportOperator: {
|
|
25696
25777
|
typeUrl: string;
|
|
25697
25778
|
aminoType: string;
|
|
@@ -27207,6 +27288,18 @@ export declare namespace sparkdream {
|
|
|
27207
27288
|
toProto(message: _525.OneshotExec): Uint8Array;
|
|
27208
27289
|
toProtoMsg(message: _525.OneshotExec): _525.OneshotExecProtoMsg;
|
|
27209
27290
|
};
|
|
27291
|
+
SignInPayload: {
|
|
27292
|
+
typeUrl: string;
|
|
27293
|
+
encode(message: _525.SignInPayload, writer?: import("..").BinaryWriter): import("..").BinaryWriter;
|
|
27294
|
+
decode(input: import("..").BinaryReader | Uint8Array, length?: number): _525.SignInPayload;
|
|
27295
|
+
fromPartial(object: import("../helpers").DeepPartial<_525.SignInPayload>): _525.SignInPayload;
|
|
27296
|
+
fromAmino(object: _525.SignInPayloadAmino): _525.SignInPayload;
|
|
27297
|
+
toAmino(message: _525.SignInPayload): _525.SignInPayloadAmino;
|
|
27298
|
+
fromAminoMsg(object: _525.SignInPayloadAminoMsg): _525.SignInPayload;
|
|
27299
|
+
fromProtoMsg(message: _525.SignInPayloadProtoMsg): _525.SignInPayload;
|
|
27300
|
+
toProto(message: _525.SignInPayload): Uint8Array;
|
|
27301
|
+
toProtoMsg(message: _525.SignInPayload): _525.SignInPayloadProtoMsg;
|
|
27302
|
+
};
|
|
27210
27303
|
GenesisState: {
|
|
27211
27304
|
typeUrl: string;
|
|
27212
27305
|
encode(message: _524.GenesisState, writer?: import("..").BinaryWriter): import("..").BinaryWriter;
|
|
@@ -27563,6 +27656,30 @@ export declare namespace sparkdream {
|
|
|
27563
27656
|
toProto(message: _535.DKGVoteExtension): Uint8Array;
|
|
27564
27657
|
toProtoMsg(message: _535.DKGVoteExtension): _535.DKGVoteExtensionProtoMsg;
|
|
27565
27658
|
};
|
|
27659
|
+
DKGJustification: {
|
|
27660
|
+
typeUrl: string;
|
|
27661
|
+
encode(message: _535.DKGJustification, writer?: import("..").BinaryWriter): import("..").BinaryWriter;
|
|
27662
|
+
decode(input: import("..").BinaryReader | Uint8Array, length?: number): _535.DKGJustification;
|
|
27663
|
+
fromPartial(object: import("../helpers").DeepPartial<_535.DKGJustification>): _535.DKGJustification;
|
|
27664
|
+
fromAmino(object: _535.DKGJustificationAmino): _535.DKGJustification;
|
|
27665
|
+
toAmino(message: _535.DKGJustification): _535.DKGJustificationAmino;
|
|
27666
|
+
fromAminoMsg(object: _535.DKGJustificationAminoMsg): _535.DKGJustification;
|
|
27667
|
+
fromProtoMsg(message: _535.DKGJustificationProtoMsg): _535.DKGJustification;
|
|
27668
|
+
toProto(message: _535.DKGJustification): Uint8Array;
|
|
27669
|
+
toProtoMsg(message: _535.DKGJustification): _535.DKGJustificationProtoMsg;
|
|
27670
|
+
};
|
|
27671
|
+
DKGComplaint: {
|
|
27672
|
+
typeUrl: string;
|
|
27673
|
+
encode(message: _535.DKGComplaint, writer?: import("..").BinaryWriter): import("..").BinaryWriter;
|
|
27674
|
+
decode(input: import("..").BinaryReader | Uint8Array, length?: number): _535.DKGComplaint;
|
|
27675
|
+
fromPartial(object: import("../helpers").DeepPartial<_535.DKGComplaint>): _535.DKGComplaint;
|
|
27676
|
+
fromAmino(object: _535.DKGComplaintAmino): _535.DKGComplaint;
|
|
27677
|
+
toAmino(message: _535.DKGComplaint): _535.DKGComplaintAmino;
|
|
27678
|
+
fromAminoMsg(object: _535.DKGComplaintAminoMsg): _535.DKGComplaint;
|
|
27679
|
+
fromProtoMsg(message: _535.DKGComplaintProtoMsg): _535.DKGComplaint;
|
|
27680
|
+
toProto(message: _535.DKGComplaint): Uint8Array;
|
|
27681
|
+
toProtoMsg(message: _535.DKGComplaint): _535.DKGComplaintProtoMsg;
|
|
27682
|
+
};
|
|
27566
27683
|
InjectedDKGData: {
|
|
27567
27684
|
typeUrl: string;
|
|
27568
27685
|
encode(message: _535.InjectedDKGData, writer?: import("..").BinaryWriter): import("..").BinaryWriter;
|
|
@@ -27635,6 +27752,18 @@ export declare namespace sparkdream {
|
|
|
27635
27752
|
toProto(message: _535.TLEMissCounterEntry): Uint8Array;
|
|
27636
27753
|
toProtoMsg(message: _535.TLEMissCounterEntry): _535.TLEMissCounterEntryProtoMsg;
|
|
27637
27754
|
};
|
|
27755
|
+
DecryptionDemandEntry: {
|
|
27756
|
+
typeUrl: string;
|
|
27757
|
+
encode(message: _535.DecryptionDemandEntry, writer?: import("..").BinaryWriter): import("..").BinaryWriter;
|
|
27758
|
+
decode(input: import("..").BinaryReader | Uint8Array, length?: number): _535.DecryptionDemandEntry;
|
|
27759
|
+
fromPartial(object: import("../helpers").DeepPartial<_535.DecryptionDemandEntry>): _535.DecryptionDemandEntry;
|
|
27760
|
+
fromAmino(object: _535.DecryptionDemandEntryAmino): _535.DecryptionDemandEntry;
|
|
27761
|
+
toAmino(message: _535.DecryptionDemandEntry): _535.DecryptionDemandEntryAmino;
|
|
27762
|
+
fromAminoMsg(object: _535.DecryptionDemandEntryAminoMsg): _535.DecryptionDemandEntry;
|
|
27763
|
+
fromProtoMsg(message: _535.DecryptionDemandEntryProtoMsg): _535.DecryptionDemandEntry;
|
|
27764
|
+
toProto(message: _535.DecryptionDemandEntry): Uint8Array;
|
|
27765
|
+
toProtoMsg(message: _535.DecryptionDemandEntry): _535.DecryptionDemandEntryProtoMsg;
|
|
27766
|
+
};
|
|
27638
27767
|
MsgUpdateParams: {
|
|
27639
27768
|
typeUrl: string;
|
|
27640
27769
|
aminoType: string;
|
package/sparkdream/client.d.ts
CHANGED
|
@@ -161,6 +161,11 @@ export declare const sparkdreamAminoConverters: {
|
|
|
161
161
|
toAmino: (message: import("./service/v1/tx").MsgTopUpBond) => import("./service/v1/tx").MsgTopUpBondAmino;
|
|
162
162
|
fromAmino: (object: import("./service/v1/tx").MsgTopUpBondAmino) => import("./service/v1/tx").MsgTopUpBond;
|
|
163
163
|
};
|
|
164
|
+
"/sparkdream.service.v1.MsgWithdrawBond": {
|
|
165
|
+
aminoType: string;
|
|
166
|
+
toAmino: (message: import("./service/v1/tx").MsgWithdrawBond) => import("./service/v1/tx").MsgWithdrawBondAmino;
|
|
167
|
+
fromAmino: (object: import("./service/v1/tx").MsgWithdrawBondAmino) => import("./service/v1/tx").MsgWithdrawBond;
|
|
168
|
+
};
|
|
164
169
|
"/sparkdream.service.v1.MsgReportOperator": {
|
|
165
170
|
aminoType: string;
|
|
166
171
|
toAmino: (message: import("./service/v1/tx").MsgReportOperator) => import("./service/v1/tx").MsgReportOperatorAmino;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Params, ParamsAmino } from "./params";
|
|
2
2
|
import { NameRecord, NameRecordAmino } from "./name_record";
|
|
3
3
|
import { OwnerInfo, OwnerInfoAmino } from "./owner_info";
|
|
4
|
-
import { Dispute, DisputeAmino } from "./dispute";
|
|
4
|
+
import { Dispute, DisputeAmino, DisputeStake, DisputeStakeAmino, ContestStake, ContestStakeAmino } from "./dispute";
|
|
5
5
|
import { BinaryReader, BinaryWriter } from "../../../binary";
|
|
6
6
|
import { DeepPartial } from "../../../helpers";
|
|
7
7
|
/**
|
|
@@ -18,6 +18,17 @@ export interface GenesisState {
|
|
|
18
18
|
nameRecords: NameRecord[];
|
|
19
19
|
ownerInfos: OwnerInfo[];
|
|
20
20
|
disputeMap: Dispute[];
|
|
21
|
+
/**
|
|
22
|
+
* dispute_stakes are the claimants' locked DREAM stakes for open disputes,
|
|
23
|
+
* keyed by challenge_id. Exported so a chain export/import does not strand
|
|
24
|
+
* locked funds.
|
|
25
|
+
*/
|
|
26
|
+
disputeStakes: DisputeStake[];
|
|
27
|
+
/**
|
|
28
|
+
* contest_stakes are the owners' locked DREAM stakes for contested disputes,
|
|
29
|
+
* keyed by challenge_id.
|
|
30
|
+
*/
|
|
31
|
+
contestStakes: ContestStake[];
|
|
21
32
|
}
|
|
22
33
|
export interface GenesisStateProtoMsg {
|
|
23
34
|
typeUrl: "/sparkdream.name.v1.GenesisState";
|
|
@@ -37,6 +48,17 @@ export interface GenesisStateAmino {
|
|
|
37
48
|
name_records?: NameRecordAmino[];
|
|
38
49
|
owner_infos?: OwnerInfoAmino[];
|
|
39
50
|
dispute_map?: DisputeAmino[];
|
|
51
|
+
/**
|
|
52
|
+
* dispute_stakes are the claimants' locked DREAM stakes for open disputes,
|
|
53
|
+
* keyed by challenge_id. Exported so a chain export/import does not strand
|
|
54
|
+
* locked funds.
|
|
55
|
+
*/
|
|
56
|
+
dispute_stakes?: DisputeStakeAmino[];
|
|
57
|
+
/**
|
|
58
|
+
* contest_stakes are the owners' locked DREAM stakes for contested disputes,
|
|
59
|
+
* keyed by challenge_id.
|
|
60
|
+
*/
|
|
61
|
+
contest_stakes?: ContestStakeAmino[];
|
|
40
62
|
}
|
|
41
63
|
export interface GenesisStateAminoMsg {
|
|
42
64
|
type: "/sparkdream.name.v1.GenesisState";
|
|
@@ -12,7 +12,9 @@ function createBaseGenesisState() {
|
|
|
12
12
|
params: params_1.Params.fromPartial({}),
|
|
13
13
|
nameRecords: [],
|
|
14
14
|
ownerInfos: [],
|
|
15
|
-
disputeMap: []
|
|
15
|
+
disputeMap: [],
|
|
16
|
+
disputeStakes: [],
|
|
17
|
+
contestStakes: []
|
|
16
18
|
};
|
|
17
19
|
}
|
|
18
20
|
/**
|
|
@@ -36,6 +38,12 @@ exports.GenesisState = {
|
|
|
36
38
|
for (const v of message.disputeMap) {
|
|
37
39
|
dispute_1.Dispute.encode(v, writer.uint32(34).fork()).ldelim();
|
|
38
40
|
}
|
|
41
|
+
for (const v of message.disputeStakes) {
|
|
42
|
+
dispute_1.DisputeStake.encode(v, writer.uint32(42).fork()).ldelim();
|
|
43
|
+
}
|
|
44
|
+
for (const v of message.contestStakes) {
|
|
45
|
+
dispute_1.ContestStake.encode(v, writer.uint32(50).fork()).ldelim();
|
|
46
|
+
}
|
|
39
47
|
return writer;
|
|
40
48
|
},
|
|
41
49
|
decode(input, length) {
|
|
@@ -57,6 +65,12 @@ exports.GenesisState = {
|
|
|
57
65
|
case 4:
|
|
58
66
|
message.disputeMap.push(dispute_1.Dispute.decode(reader, reader.uint32()));
|
|
59
67
|
break;
|
|
68
|
+
case 5:
|
|
69
|
+
message.disputeStakes.push(dispute_1.DisputeStake.decode(reader, reader.uint32()));
|
|
70
|
+
break;
|
|
71
|
+
case 6:
|
|
72
|
+
message.contestStakes.push(dispute_1.ContestStake.decode(reader, reader.uint32()));
|
|
73
|
+
break;
|
|
60
74
|
default:
|
|
61
75
|
reader.skipType(tag & 7);
|
|
62
76
|
break;
|
|
@@ -70,6 +84,8 @@ exports.GenesisState = {
|
|
|
70
84
|
message.nameRecords = object.nameRecords?.map(e => name_record_1.NameRecord.fromPartial(e)) || [];
|
|
71
85
|
message.ownerInfos = object.ownerInfos?.map(e => owner_info_1.OwnerInfo.fromPartial(e)) || [];
|
|
72
86
|
message.disputeMap = object.disputeMap?.map(e => dispute_1.Dispute.fromPartial(e)) || [];
|
|
87
|
+
message.disputeStakes = object.disputeStakes?.map(e => dispute_1.DisputeStake.fromPartial(e)) || [];
|
|
88
|
+
message.contestStakes = object.contestStakes?.map(e => dispute_1.ContestStake.fromPartial(e)) || [];
|
|
73
89
|
return message;
|
|
74
90
|
},
|
|
75
91
|
fromAmino(object) {
|
|
@@ -80,6 +96,8 @@ exports.GenesisState = {
|
|
|
80
96
|
message.nameRecords = object.name_records?.map(e => name_record_1.NameRecord.fromAmino(e)) || [];
|
|
81
97
|
message.ownerInfos = object.owner_infos?.map(e => owner_info_1.OwnerInfo.fromAmino(e)) || [];
|
|
82
98
|
message.disputeMap = object.dispute_map?.map(e => dispute_1.Dispute.fromAmino(e)) || [];
|
|
99
|
+
message.disputeStakes = object.dispute_stakes?.map(e => dispute_1.DisputeStake.fromAmino(e)) || [];
|
|
100
|
+
message.contestStakes = object.contest_stakes?.map(e => dispute_1.ContestStake.fromAmino(e)) || [];
|
|
83
101
|
return message;
|
|
84
102
|
},
|
|
85
103
|
toAmino(message) {
|
|
@@ -103,6 +121,18 @@ exports.GenesisState = {
|
|
|
103
121
|
else {
|
|
104
122
|
obj.dispute_map = message.disputeMap;
|
|
105
123
|
}
|
|
124
|
+
if (message.disputeStakes) {
|
|
125
|
+
obj.dispute_stakes = message.disputeStakes.map(e => e ? dispute_1.DisputeStake.toAmino(e) : undefined);
|
|
126
|
+
}
|
|
127
|
+
else {
|
|
128
|
+
obj.dispute_stakes = message.disputeStakes;
|
|
129
|
+
}
|
|
130
|
+
if (message.contestStakes) {
|
|
131
|
+
obj.contest_stakes = message.contestStakes.map(e => e ? dispute_1.ContestStake.toAmino(e) : undefined);
|
|
132
|
+
}
|
|
133
|
+
else {
|
|
134
|
+
obj.contest_stakes = message.contestStakes;
|
|
135
|
+
}
|
|
106
136
|
return obj;
|
|
107
137
|
},
|
|
108
138
|
fromAminoMsg(object) {
|
|
@@ -860,6 +860,14 @@ export interface Params {
|
|
|
860
860
|
minInitiativeBountyContribution: string;
|
|
861
861
|
maxInitiativeBountyContributions: number;
|
|
862
862
|
initiativeBountyReclaimDelay: bigint;
|
|
863
|
+
/**
|
|
864
|
+
* invitation_acceptance_epochs is how many epochs a PENDING invitation
|
|
865
|
+
* stays open. Once it passes, the epoch-end sweep marks it EXPIRED,
|
|
866
|
+
* unlocks the inviter's staked DREAM, restores the spent invitation
|
|
867
|
+
* credit and frees the invitee address for a new invitation. 0 disables
|
|
868
|
+
* expiry.
|
|
869
|
+
*/
|
|
870
|
+
invitationAcceptanceEpochs: bigint;
|
|
863
871
|
}
|
|
864
872
|
export interface ParamsProtoMsg {
|
|
865
873
|
typeUrl: "/sparkdream.rep.v1.Params";
|
|
@@ -1635,6 +1643,14 @@ export interface ParamsAmino {
|
|
|
1635
1643
|
min_initiative_bounty_contribution?: string;
|
|
1636
1644
|
max_initiative_bounty_contributions?: number;
|
|
1637
1645
|
initiative_bounty_reclaim_delay?: string;
|
|
1646
|
+
/**
|
|
1647
|
+
* invitation_acceptance_epochs is how many epochs a PENDING invitation
|
|
1648
|
+
* stays open. Once it passes, the epoch-end sweep marks it EXPIRED,
|
|
1649
|
+
* unlocks the inviter's staked DREAM, restores the spent invitation
|
|
1650
|
+
* credit and frees the invitee address for a new invitation. 0 disables
|
|
1651
|
+
* expiry.
|
|
1652
|
+
*/
|
|
1653
|
+
invitation_acceptance_epochs?: string;
|
|
1638
1654
|
}
|
|
1639
1655
|
export interface ParamsAminoMsg {
|
|
1640
1656
|
type: "sparkdream/x/rep/Params";
|
|
@@ -471,7 +471,8 @@ function createBaseParams() {
|
|
|
471
471
|
maxInitiativeBountyPerFunderEpoch: "",
|
|
472
472
|
minInitiativeBountyContribution: "",
|
|
473
473
|
maxInitiativeBountyContributions: 0,
|
|
474
|
-
initiativeBountyReclaimDelay: BigInt(0)
|
|
474
|
+
initiativeBountyReclaimDelay: BigInt(0),
|
|
475
|
+
invitationAcceptanceEpochs: BigInt(0)
|
|
475
476
|
};
|
|
476
477
|
}
|
|
477
478
|
/**
|
|
@@ -928,6 +929,9 @@ exports.Params = {
|
|
|
928
929
|
if (message.initiativeBountyReclaimDelay !== BigInt(0)) {
|
|
929
930
|
writer.uint32(1184).uint64(message.initiativeBountyReclaimDelay);
|
|
930
931
|
}
|
|
932
|
+
if (message.invitationAcceptanceEpochs !== BigInt(0)) {
|
|
933
|
+
writer.uint32(1192).int64(message.invitationAcceptanceEpochs);
|
|
934
|
+
}
|
|
931
935
|
return writer;
|
|
932
936
|
},
|
|
933
937
|
decode(input, length) {
|
|
@@ -1381,6 +1385,9 @@ exports.Params = {
|
|
|
1381
1385
|
case 148:
|
|
1382
1386
|
message.initiativeBountyReclaimDelay = reader.uint64();
|
|
1383
1387
|
break;
|
|
1388
|
+
case 149:
|
|
1389
|
+
message.invitationAcceptanceEpochs = reader.int64();
|
|
1390
|
+
break;
|
|
1384
1391
|
default:
|
|
1385
1392
|
reader.skipType(tag & 7);
|
|
1386
1393
|
break;
|
|
@@ -1538,6 +1545,7 @@ exports.Params = {
|
|
|
1538
1545
|
message.minInitiativeBountyContribution = object.minInitiativeBountyContribution ?? "";
|
|
1539
1546
|
message.maxInitiativeBountyContributions = object.maxInitiativeBountyContributions ?? 0;
|
|
1540
1547
|
message.initiativeBountyReclaimDelay = object.initiativeBountyReclaimDelay !== undefined && object.initiativeBountyReclaimDelay !== null ? BigInt(object.initiativeBountyReclaimDelay.toString()) : BigInt(0);
|
|
1548
|
+
message.invitationAcceptanceEpochs = object.invitationAcceptanceEpochs !== undefined && object.invitationAcceptanceEpochs !== null ? BigInt(object.invitationAcceptanceEpochs.toString()) : BigInt(0);
|
|
1541
1549
|
return message;
|
|
1542
1550
|
},
|
|
1543
1551
|
fromAmino(object) {
|
|
@@ -1986,6 +1994,9 @@ exports.Params = {
|
|
|
1986
1994
|
if (object.initiative_bounty_reclaim_delay !== undefined && object.initiative_bounty_reclaim_delay !== null) {
|
|
1987
1995
|
message.initiativeBountyReclaimDelay = BigInt(object.initiative_bounty_reclaim_delay);
|
|
1988
1996
|
}
|
|
1997
|
+
if (object.invitation_acceptance_epochs !== undefined && object.invitation_acceptance_epochs !== null) {
|
|
1998
|
+
message.invitationAcceptanceEpochs = BigInt(object.invitation_acceptance_epochs);
|
|
1999
|
+
}
|
|
1989
2000
|
return message;
|
|
1990
2001
|
},
|
|
1991
2002
|
toAmino(message) {
|
|
@@ -2138,6 +2149,7 @@ exports.Params = {
|
|
|
2138
2149
|
obj.min_initiative_bounty_contribution = message.minInitiativeBountyContribution === "" ? undefined : message.minInitiativeBountyContribution;
|
|
2139
2150
|
obj.max_initiative_bounty_contributions = message.maxInitiativeBountyContributions === 0 ? undefined : message.maxInitiativeBountyContributions;
|
|
2140
2151
|
obj.initiative_bounty_reclaim_delay = message.initiativeBountyReclaimDelay !== BigInt(0) ? message.initiativeBountyReclaimDelay?.toString() : undefined;
|
|
2152
|
+
obj.invitation_acceptance_epochs = message.invitationAcceptanceEpochs !== BigInt(0) ? message.invitationAcceptanceEpochs?.toString() : undefined;
|
|
2141
2153
|
return obj;
|
|
2142
2154
|
},
|
|
2143
2155
|
fromAminoMsg(object) {
|
|
@@ -3520,6 +3520,60 @@ export interface MsgReclaimInitiativeBountyResponseAminoMsg {
|
|
|
3520
3520
|
type: "/sparkdream.rep.v1.MsgReclaimInitiativeBountyResponse";
|
|
3521
3521
|
value: MsgReclaimInitiativeBountyResponseAmino;
|
|
3522
3522
|
}
|
|
3523
|
+
/**
|
|
3524
|
+
* MsgRevokeInvitation withdraws a PENDING invitation. Only the inviter may
|
|
3525
|
+
* revoke; an accepted, expired or already-revoked invitation is rejected.
|
|
3526
|
+
* @name MsgRevokeInvitation
|
|
3527
|
+
* @package sparkdream.rep.v1
|
|
3528
|
+
* @see proto type: sparkdream.rep.v1.MsgRevokeInvitation
|
|
3529
|
+
*/
|
|
3530
|
+
export interface MsgRevokeInvitation {
|
|
3531
|
+
inviter: string;
|
|
3532
|
+
invitationId: bigint;
|
|
3533
|
+
}
|
|
3534
|
+
export interface MsgRevokeInvitationProtoMsg {
|
|
3535
|
+
typeUrl: "/sparkdream.rep.v1.MsgRevokeInvitation";
|
|
3536
|
+
value: Uint8Array;
|
|
3537
|
+
}
|
|
3538
|
+
/**
|
|
3539
|
+
* MsgRevokeInvitation withdraws a PENDING invitation. Only the inviter may
|
|
3540
|
+
* revoke; an accepted, expired or already-revoked invitation is rejected.
|
|
3541
|
+
* @name MsgRevokeInvitationAmino
|
|
3542
|
+
* @package sparkdream.rep.v1
|
|
3543
|
+
* @see proto type: sparkdream.rep.v1.MsgRevokeInvitation
|
|
3544
|
+
*/
|
|
3545
|
+
export interface MsgRevokeInvitationAmino {
|
|
3546
|
+
inviter?: string;
|
|
3547
|
+
invitation_id?: string;
|
|
3548
|
+
}
|
|
3549
|
+
export interface MsgRevokeInvitationAminoMsg {
|
|
3550
|
+
type: "sparkdream/x/rep/MsgRevokeInvitation";
|
|
3551
|
+
value: MsgRevokeInvitationAmino;
|
|
3552
|
+
}
|
|
3553
|
+
/**
|
|
3554
|
+
* MsgRevokeInvitationResponse defines the MsgRevokeInvitationResponse message.
|
|
3555
|
+
* @name MsgRevokeInvitationResponse
|
|
3556
|
+
* @package sparkdream.rep.v1
|
|
3557
|
+
* @see proto type: sparkdream.rep.v1.MsgRevokeInvitationResponse
|
|
3558
|
+
*/
|
|
3559
|
+
export interface MsgRevokeInvitationResponse {
|
|
3560
|
+
}
|
|
3561
|
+
export interface MsgRevokeInvitationResponseProtoMsg {
|
|
3562
|
+
typeUrl: "/sparkdream.rep.v1.MsgRevokeInvitationResponse";
|
|
3563
|
+
value: Uint8Array;
|
|
3564
|
+
}
|
|
3565
|
+
/**
|
|
3566
|
+
* MsgRevokeInvitationResponse defines the MsgRevokeInvitationResponse message.
|
|
3567
|
+
* @name MsgRevokeInvitationResponseAmino
|
|
3568
|
+
* @package sparkdream.rep.v1
|
|
3569
|
+
* @see proto type: sparkdream.rep.v1.MsgRevokeInvitationResponse
|
|
3570
|
+
*/
|
|
3571
|
+
export interface MsgRevokeInvitationResponseAmino {
|
|
3572
|
+
}
|
|
3573
|
+
export interface MsgRevokeInvitationResponseAminoMsg {
|
|
3574
|
+
type: "/sparkdream.rep.v1.MsgRevokeInvitationResponse";
|
|
3575
|
+
value: MsgRevokeInvitationResponseAmino;
|
|
3576
|
+
}
|
|
3523
3577
|
/**
|
|
3524
3578
|
* MsgUpdateParams is the Msg/UpdateParams request type.
|
|
3525
3579
|
* @name MsgUpdateParams
|
|
@@ -5807,3 +5861,42 @@ export declare const MsgReclaimInitiativeBountyResponse: {
|
|
|
5807
5861
|
toProto(message: MsgReclaimInitiativeBountyResponse): Uint8Array;
|
|
5808
5862
|
toProtoMsg(message: MsgReclaimInitiativeBountyResponse): MsgReclaimInitiativeBountyResponseProtoMsg;
|
|
5809
5863
|
};
|
|
5864
|
+
/**
|
|
5865
|
+
* MsgRevokeInvitation withdraws a PENDING invitation. Only the inviter may
|
|
5866
|
+
* revoke; an accepted, expired or already-revoked invitation is rejected.
|
|
5867
|
+
* @name MsgRevokeInvitation
|
|
5868
|
+
* @package sparkdream.rep.v1
|
|
5869
|
+
* @see proto type: sparkdream.rep.v1.MsgRevokeInvitation
|
|
5870
|
+
*/
|
|
5871
|
+
export declare const MsgRevokeInvitation: {
|
|
5872
|
+
typeUrl: string;
|
|
5873
|
+
aminoType: string;
|
|
5874
|
+
encode(message: MsgRevokeInvitation, writer?: BinaryWriter): BinaryWriter;
|
|
5875
|
+
decode(input: BinaryReader | Uint8Array, length?: number): MsgRevokeInvitation;
|
|
5876
|
+
fromPartial(object: DeepPartial<MsgRevokeInvitation>): MsgRevokeInvitation;
|
|
5877
|
+
fromAmino(object: MsgRevokeInvitationAmino): MsgRevokeInvitation;
|
|
5878
|
+
toAmino(message: MsgRevokeInvitation): MsgRevokeInvitationAmino;
|
|
5879
|
+
fromAminoMsg(object: MsgRevokeInvitationAminoMsg): MsgRevokeInvitation;
|
|
5880
|
+
toAminoMsg(message: MsgRevokeInvitation): MsgRevokeInvitationAminoMsg;
|
|
5881
|
+
fromProtoMsg(message: MsgRevokeInvitationProtoMsg): MsgRevokeInvitation;
|
|
5882
|
+
toProto(message: MsgRevokeInvitation): Uint8Array;
|
|
5883
|
+
toProtoMsg(message: MsgRevokeInvitation): MsgRevokeInvitationProtoMsg;
|
|
5884
|
+
};
|
|
5885
|
+
/**
|
|
5886
|
+
* MsgRevokeInvitationResponse defines the MsgRevokeInvitationResponse message.
|
|
5887
|
+
* @name MsgRevokeInvitationResponse
|
|
5888
|
+
* @package sparkdream.rep.v1
|
|
5889
|
+
* @see proto type: sparkdream.rep.v1.MsgRevokeInvitationResponse
|
|
5890
|
+
*/
|
|
5891
|
+
export declare const MsgRevokeInvitationResponse: {
|
|
5892
|
+
typeUrl: string;
|
|
5893
|
+
encode(_: MsgRevokeInvitationResponse, writer?: BinaryWriter): BinaryWriter;
|
|
5894
|
+
decode(input: BinaryReader | Uint8Array, length?: number): MsgRevokeInvitationResponse;
|
|
5895
|
+
fromPartial(_: DeepPartial<MsgRevokeInvitationResponse>): MsgRevokeInvitationResponse;
|
|
5896
|
+
fromAmino(_: MsgRevokeInvitationResponseAmino): MsgRevokeInvitationResponse;
|
|
5897
|
+
toAmino(_: MsgRevokeInvitationResponse): MsgRevokeInvitationResponseAmino;
|
|
5898
|
+
fromAminoMsg(object: MsgRevokeInvitationResponseAminoMsg): MsgRevokeInvitationResponse;
|
|
5899
|
+
fromProtoMsg(message: MsgRevokeInvitationResponseProtoMsg): MsgRevokeInvitationResponse;
|
|
5900
|
+
toProto(message: MsgRevokeInvitationResponse): Uint8Array;
|
|
5901
|
+
toProtoMsg(message: MsgRevokeInvitationResponse): MsgRevokeInvitationResponseProtoMsg;
|
|
5902
|
+
};
|