@sparkdreamnft/sparkdreamjs 0.0.38 → 0.0.39
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/rep/v1/challenge.js +13 -2
- package/esm/sparkdream/rep/v1/genesis.js +362 -2
- package/esm/sparkdream/rep/v1/interim.js +58 -1
- package/esm/sparkdream/rep/v1/member.js +25 -1
- package/esm/sparkdream/rep/v1/params.js +193 -1
- package/esm/sparkdream/rep/v1/query.js +16 -16
- package/esm/sparkdream/rep/v1/tx.js +13 -1
- package/package.json +1 -1
- package/sparkdream/bundle.d.ts +28 -0
- package/sparkdream/rep/v1/challenge.d.ts +23 -0
- package/sparkdream/rep/v1/challenge.js +13 -2
- package/sparkdream/rep/v1/genesis.d.ts +170 -1
- package/sparkdream/rep/v1/genesis.js +362 -2
- package/sparkdream/rep/v1/interim.d.ts +32 -0
- package/sparkdream/rep/v1/interim.js +61 -2
- package/sparkdream/rep/v1/member.d.ts +54 -0
- package/sparkdream/rep/v1/member.js +25 -1
- package/sparkdream/rep/v1/params.d.ts +242 -0
- package/sparkdream/rep/v1/params.js +193 -1
- package/sparkdream/rep/v1/query.d.ts +26 -4
- package/sparkdream/rep/v1/query.js +16 -16
- package/sparkdream/rep/v1/tx.d.ts +13 -1
- package/sparkdream/rep/v1/tx.js +13 -1
|
@@ -384,12 +384,18 @@ function createBaseParams() {
|
|
|
384
384
|
invitationStakeBurnRate: "",
|
|
385
385
|
maxReputationGainPerEpoch: "",
|
|
386
386
|
maxStakingRewardsPerSeason: "",
|
|
387
|
+
stakingRewardYieldPerEpoch: "",
|
|
388
|
+
stakingPoolMintShare: "",
|
|
389
|
+
stakingPoolCapBase: "",
|
|
390
|
+
stakingPoolCapRate: "",
|
|
387
391
|
stakedDecayRate: "",
|
|
388
392
|
newMemberDecayGraceEpochs: BigInt(0),
|
|
389
393
|
maxTreasuryBalance: "",
|
|
390
394
|
treasuryFundsInterims: false,
|
|
391
395
|
treasuryFundsRetroPgf: false,
|
|
392
396
|
maxInitiativeStakePerMember: "",
|
|
397
|
+
minStakeAmount: "",
|
|
398
|
+
maxInterimRewardsPerSeason: "",
|
|
393
399
|
maxInitiativeRewardsPerSeason: "",
|
|
394
400
|
largeProjectBudgetThreshold: "",
|
|
395
401
|
projectCreationFee: "",
|
|
@@ -423,6 +429,8 @@ function createBaseParams() {
|
|
|
423
429
|
minJurorSelectionWeight: "",
|
|
424
430
|
minJurySeatingsForWeighting: BigInt(0),
|
|
425
431
|
initiativeCompletionBonusRate: "",
|
|
432
|
+
maxCompletionBonusStakeMultiple: "",
|
|
433
|
+
maxTotalContentStakePerMember: "",
|
|
426
434
|
maxJuryRedraws: 0,
|
|
427
435
|
reviewerBondReserveRate: "",
|
|
428
436
|
reviewFeeRate: "",
|
|
@@ -657,6 +665,18 @@ export const Params = {
|
|
|
657
665
|
if (message.maxStakingRewardsPerSeason !== "") {
|
|
658
666
|
writer.uint32(506).string(message.maxStakingRewardsPerSeason);
|
|
659
667
|
}
|
|
668
|
+
if (message.stakingRewardYieldPerEpoch !== "") {
|
|
669
|
+
writer.uint32(1090).string(Decimal.fromUserInput(message.stakingRewardYieldPerEpoch, 18).atomics);
|
|
670
|
+
}
|
|
671
|
+
if (message.stakingPoolMintShare !== "") {
|
|
672
|
+
writer.uint32(1098).string(Decimal.fromUserInput(message.stakingPoolMintShare, 18).atomics);
|
|
673
|
+
}
|
|
674
|
+
if (message.stakingPoolCapBase !== "") {
|
|
675
|
+
writer.uint32(1106).string(message.stakingPoolCapBase);
|
|
676
|
+
}
|
|
677
|
+
if (message.stakingPoolCapRate !== "") {
|
|
678
|
+
writer.uint32(1114).string(Decimal.fromUserInput(message.stakingPoolCapRate, 18).atomics);
|
|
679
|
+
}
|
|
660
680
|
if (message.stakedDecayRate !== "") {
|
|
661
681
|
writer.uint32(514).string(Decimal.fromUserInput(message.stakedDecayRate, 18).atomics);
|
|
662
682
|
}
|
|
@@ -675,6 +695,12 @@ export const Params = {
|
|
|
675
695
|
if (message.maxInitiativeStakePerMember !== "") {
|
|
676
696
|
writer.uint32(554).string(message.maxInitiativeStakePerMember);
|
|
677
697
|
}
|
|
698
|
+
if (message.minStakeAmount !== "") {
|
|
699
|
+
writer.uint32(1122).string(message.minStakeAmount);
|
|
700
|
+
}
|
|
701
|
+
if (message.maxInterimRewardsPerSeason !== "") {
|
|
702
|
+
writer.uint32(1146).string(message.maxInterimRewardsPerSeason);
|
|
703
|
+
}
|
|
678
704
|
if (message.maxInitiativeRewardsPerSeason !== "") {
|
|
679
705
|
writer.uint32(562).string(message.maxInitiativeRewardsPerSeason);
|
|
680
706
|
}
|
|
@@ -774,6 +800,12 @@ export const Params = {
|
|
|
774
800
|
if (message.initiativeCompletionBonusRate !== "") {
|
|
775
801
|
writer.uint32(818).string(Decimal.fromUserInput(message.initiativeCompletionBonusRate, 18).atomics);
|
|
776
802
|
}
|
|
803
|
+
if (message.maxCompletionBonusStakeMultiple !== "") {
|
|
804
|
+
writer.uint32(1130).string(Decimal.fromUserInput(message.maxCompletionBonusStakeMultiple, 18).atomics);
|
|
805
|
+
}
|
|
806
|
+
if (message.maxTotalContentStakePerMember !== "") {
|
|
807
|
+
writer.uint32(1138).string(message.maxTotalContentStakePerMember);
|
|
808
|
+
}
|
|
777
809
|
if (message.maxJuryRedraws !== 0) {
|
|
778
810
|
writer.uint32(824).uint32(message.maxJuryRedraws);
|
|
779
811
|
}
|
|
@@ -1071,6 +1103,18 @@ export const Params = {
|
|
|
1071
1103
|
case 63:
|
|
1072
1104
|
message.maxStakingRewardsPerSeason = reader.string();
|
|
1073
1105
|
break;
|
|
1106
|
+
case 136:
|
|
1107
|
+
message.stakingRewardYieldPerEpoch = Decimal.fromAtomics(reader.string(), 18).toString();
|
|
1108
|
+
break;
|
|
1109
|
+
case 137:
|
|
1110
|
+
message.stakingPoolMintShare = Decimal.fromAtomics(reader.string(), 18).toString();
|
|
1111
|
+
break;
|
|
1112
|
+
case 138:
|
|
1113
|
+
message.stakingPoolCapBase = reader.string();
|
|
1114
|
+
break;
|
|
1115
|
+
case 139:
|
|
1116
|
+
message.stakingPoolCapRate = Decimal.fromAtomics(reader.string(), 18).toString();
|
|
1117
|
+
break;
|
|
1074
1118
|
case 64:
|
|
1075
1119
|
message.stakedDecayRate = Decimal.fromAtomics(reader.string(), 18).toString();
|
|
1076
1120
|
break;
|
|
@@ -1089,6 +1133,12 @@ export const Params = {
|
|
|
1089
1133
|
case 69:
|
|
1090
1134
|
message.maxInitiativeStakePerMember = reader.string();
|
|
1091
1135
|
break;
|
|
1136
|
+
case 140:
|
|
1137
|
+
message.minStakeAmount = reader.string();
|
|
1138
|
+
break;
|
|
1139
|
+
case 143:
|
|
1140
|
+
message.maxInterimRewardsPerSeason = reader.string();
|
|
1141
|
+
break;
|
|
1092
1142
|
case 70:
|
|
1093
1143
|
message.maxInitiativeRewardsPerSeason = reader.string();
|
|
1094
1144
|
break;
|
|
@@ -1188,6 +1238,12 @@ export const Params = {
|
|
|
1188
1238
|
case 102:
|
|
1189
1239
|
message.initiativeCompletionBonusRate = Decimal.fromAtomics(reader.string(), 18).toString();
|
|
1190
1240
|
break;
|
|
1241
|
+
case 141:
|
|
1242
|
+
message.maxCompletionBonusStakeMultiple = Decimal.fromAtomics(reader.string(), 18).toString();
|
|
1243
|
+
break;
|
|
1244
|
+
case 142:
|
|
1245
|
+
message.maxTotalContentStakePerMember = reader.string();
|
|
1246
|
+
break;
|
|
1191
1247
|
case 103:
|
|
1192
1248
|
message.maxJuryRedraws = reader.uint32();
|
|
1193
1249
|
break;
|
|
@@ -1359,12 +1415,18 @@ export const Params = {
|
|
|
1359
1415
|
message.invitationStakeBurnRate = object.invitationStakeBurnRate ?? "";
|
|
1360
1416
|
message.maxReputationGainPerEpoch = object.maxReputationGainPerEpoch ?? "";
|
|
1361
1417
|
message.maxStakingRewardsPerSeason = object.maxStakingRewardsPerSeason ?? "";
|
|
1418
|
+
message.stakingRewardYieldPerEpoch = object.stakingRewardYieldPerEpoch ?? "";
|
|
1419
|
+
message.stakingPoolMintShare = object.stakingPoolMintShare ?? "";
|
|
1420
|
+
message.stakingPoolCapBase = object.stakingPoolCapBase ?? "";
|
|
1421
|
+
message.stakingPoolCapRate = object.stakingPoolCapRate ?? "";
|
|
1362
1422
|
message.stakedDecayRate = object.stakedDecayRate ?? "";
|
|
1363
1423
|
message.newMemberDecayGraceEpochs = object.newMemberDecayGraceEpochs !== undefined && object.newMemberDecayGraceEpochs !== null ? BigInt(object.newMemberDecayGraceEpochs.toString()) : BigInt(0);
|
|
1364
1424
|
message.maxTreasuryBalance = object.maxTreasuryBalance ?? "";
|
|
1365
1425
|
message.treasuryFundsInterims = object.treasuryFundsInterims ?? false;
|
|
1366
1426
|
message.treasuryFundsRetroPgf = object.treasuryFundsRetroPgf ?? false;
|
|
1367
1427
|
message.maxInitiativeStakePerMember = object.maxInitiativeStakePerMember ?? "";
|
|
1428
|
+
message.minStakeAmount = object.minStakeAmount ?? "";
|
|
1429
|
+
message.maxInterimRewardsPerSeason = object.maxInterimRewardsPerSeason ?? "";
|
|
1368
1430
|
message.maxInitiativeRewardsPerSeason = object.maxInitiativeRewardsPerSeason ?? "";
|
|
1369
1431
|
message.largeProjectBudgetThreshold = object.largeProjectBudgetThreshold ?? "";
|
|
1370
1432
|
message.projectCreationFee = object.projectCreationFee ?? "";
|
|
@@ -1398,6 +1460,8 @@ export const Params = {
|
|
|
1398
1460
|
message.minJurorSelectionWeight = object.minJurorSelectionWeight ?? "";
|
|
1399
1461
|
message.minJurySeatingsForWeighting = object.minJurySeatingsForWeighting !== undefined && object.minJurySeatingsForWeighting !== null ? BigInt(object.minJurySeatingsForWeighting.toString()) : BigInt(0);
|
|
1400
1462
|
message.initiativeCompletionBonusRate = object.initiativeCompletionBonusRate ?? "";
|
|
1463
|
+
message.maxCompletionBonusStakeMultiple = object.maxCompletionBonusStakeMultiple ?? "";
|
|
1464
|
+
message.maxTotalContentStakePerMember = object.maxTotalContentStakePerMember ?? "";
|
|
1401
1465
|
message.maxJuryRedraws = object.maxJuryRedraws ?? 0;
|
|
1402
1466
|
message.reviewerBondReserveRate = object.reviewerBondReserveRate ?? "";
|
|
1403
1467
|
message.reviewFeeRate = object.reviewFeeRate ?? "";
|
|
@@ -1624,6 +1688,18 @@ export const Params = {
|
|
|
1624
1688
|
if (object.max_staking_rewards_per_season !== undefined && object.max_staking_rewards_per_season !== null) {
|
|
1625
1689
|
message.maxStakingRewardsPerSeason = object.max_staking_rewards_per_season;
|
|
1626
1690
|
}
|
|
1691
|
+
if (object.staking_reward_yield_per_epoch !== undefined && object.staking_reward_yield_per_epoch !== null) {
|
|
1692
|
+
message.stakingRewardYieldPerEpoch = object.staking_reward_yield_per_epoch;
|
|
1693
|
+
}
|
|
1694
|
+
if (object.staking_pool_mint_share !== undefined && object.staking_pool_mint_share !== null) {
|
|
1695
|
+
message.stakingPoolMintShare = object.staking_pool_mint_share;
|
|
1696
|
+
}
|
|
1697
|
+
if (object.staking_pool_cap_base !== undefined && object.staking_pool_cap_base !== null) {
|
|
1698
|
+
message.stakingPoolCapBase = object.staking_pool_cap_base;
|
|
1699
|
+
}
|
|
1700
|
+
if (object.staking_pool_cap_rate !== undefined && object.staking_pool_cap_rate !== null) {
|
|
1701
|
+
message.stakingPoolCapRate = object.staking_pool_cap_rate;
|
|
1702
|
+
}
|
|
1627
1703
|
if (object.staked_decay_rate !== undefined && object.staked_decay_rate !== null) {
|
|
1628
1704
|
message.stakedDecayRate = object.staked_decay_rate;
|
|
1629
1705
|
}
|
|
@@ -1642,6 +1718,12 @@ export const Params = {
|
|
|
1642
1718
|
if (object.max_initiative_stake_per_member !== undefined && object.max_initiative_stake_per_member !== null) {
|
|
1643
1719
|
message.maxInitiativeStakePerMember = object.max_initiative_stake_per_member;
|
|
1644
1720
|
}
|
|
1721
|
+
if (object.min_stake_amount !== undefined && object.min_stake_amount !== null) {
|
|
1722
|
+
message.minStakeAmount = object.min_stake_amount;
|
|
1723
|
+
}
|
|
1724
|
+
if (object.max_interim_rewards_per_season !== undefined && object.max_interim_rewards_per_season !== null) {
|
|
1725
|
+
message.maxInterimRewardsPerSeason = object.max_interim_rewards_per_season;
|
|
1726
|
+
}
|
|
1645
1727
|
if (object.max_initiative_rewards_per_season !== undefined && object.max_initiative_rewards_per_season !== null) {
|
|
1646
1728
|
message.maxInitiativeRewardsPerSeason = object.max_initiative_rewards_per_season;
|
|
1647
1729
|
}
|
|
@@ -1741,6 +1823,12 @@ export const Params = {
|
|
|
1741
1823
|
if (object.initiative_completion_bonus_rate !== undefined && object.initiative_completion_bonus_rate !== null) {
|
|
1742
1824
|
message.initiativeCompletionBonusRate = object.initiative_completion_bonus_rate;
|
|
1743
1825
|
}
|
|
1826
|
+
if (object.max_completion_bonus_stake_multiple !== undefined && object.max_completion_bonus_stake_multiple !== null) {
|
|
1827
|
+
message.maxCompletionBonusStakeMultiple = object.max_completion_bonus_stake_multiple;
|
|
1828
|
+
}
|
|
1829
|
+
if (object.max_total_content_stake_per_member !== undefined && object.max_total_content_stake_per_member !== null) {
|
|
1830
|
+
message.maxTotalContentStakePerMember = object.max_total_content_stake_per_member;
|
|
1831
|
+
}
|
|
1744
1832
|
if (object.max_jury_redraws !== undefined && object.max_jury_redraws !== null) {
|
|
1745
1833
|
message.maxJuryRedraws = object.max_jury_redraws;
|
|
1746
1834
|
}
|
|
@@ -1907,12 +1995,18 @@ export const Params = {
|
|
|
1907
1995
|
obj.invitation_stake_burn_rate = message.invitationStakeBurnRate === "" ? undefined : message.invitationStakeBurnRate;
|
|
1908
1996
|
obj.max_reputation_gain_per_epoch = message.maxReputationGainPerEpoch === "" ? undefined : message.maxReputationGainPerEpoch;
|
|
1909
1997
|
obj.max_staking_rewards_per_season = message.maxStakingRewardsPerSeason === "" ? undefined : message.maxStakingRewardsPerSeason;
|
|
1998
|
+
obj.staking_reward_yield_per_epoch = message.stakingRewardYieldPerEpoch === "" ? undefined : message.stakingRewardYieldPerEpoch;
|
|
1999
|
+
obj.staking_pool_mint_share = message.stakingPoolMintShare === "" ? undefined : message.stakingPoolMintShare;
|
|
2000
|
+
obj.staking_pool_cap_base = message.stakingPoolCapBase === "" ? undefined : message.stakingPoolCapBase;
|
|
2001
|
+
obj.staking_pool_cap_rate = message.stakingPoolCapRate === "" ? undefined : message.stakingPoolCapRate;
|
|
1910
2002
|
obj.staked_decay_rate = message.stakedDecayRate === "" ? undefined : message.stakedDecayRate;
|
|
1911
2003
|
obj.new_member_decay_grace_epochs = message.newMemberDecayGraceEpochs !== BigInt(0) ? message.newMemberDecayGraceEpochs?.toString() : undefined;
|
|
1912
2004
|
obj.max_treasury_balance = message.maxTreasuryBalance === "" ? undefined : message.maxTreasuryBalance;
|
|
1913
2005
|
obj.treasury_funds_interims = message.treasuryFundsInterims === false ? undefined : message.treasuryFundsInterims;
|
|
1914
2006
|
obj.treasury_funds_retro_pgf = message.treasuryFundsRetroPgf === false ? undefined : message.treasuryFundsRetroPgf;
|
|
1915
2007
|
obj.max_initiative_stake_per_member = message.maxInitiativeStakePerMember === "" ? undefined : message.maxInitiativeStakePerMember;
|
|
2008
|
+
obj.min_stake_amount = message.minStakeAmount === "" ? undefined : message.minStakeAmount;
|
|
2009
|
+
obj.max_interim_rewards_per_season = message.maxInterimRewardsPerSeason === "" ? undefined : message.maxInterimRewardsPerSeason;
|
|
1916
2010
|
obj.max_initiative_rewards_per_season = message.maxInitiativeRewardsPerSeason === "" ? undefined : message.maxInitiativeRewardsPerSeason;
|
|
1917
2011
|
obj.large_project_budget_threshold = message.largeProjectBudgetThreshold === "" ? undefined : message.largeProjectBudgetThreshold;
|
|
1918
2012
|
obj.project_creation_fee = message.projectCreationFee === "" ? undefined : message.projectCreationFee;
|
|
@@ -1946,6 +2040,8 @@ export const Params = {
|
|
|
1946
2040
|
obj.min_juror_selection_weight = message.minJurorSelectionWeight === "" ? undefined : message.minJurorSelectionWeight;
|
|
1947
2041
|
obj.min_jury_seatings_for_weighting = message.minJurySeatingsForWeighting !== BigInt(0) ? message.minJurySeatingsForWeighting?.toString() : undefined;
|
|
1948
2042
|
obj.initiative_completion_bonus_rate = message.initiativeCompletionBonusRate === "" ? undefined : message.initiativeCompletionBonusRate;
|
|
2043
|
+
obj.max_completion_bonus_stake_multiple = message.maxCompletionBonusStakeMultiple === "" ? undefined : message.maxCompletionBonusStakeMultiple;
|
|
2044
|
+
obj.max_total_content_stake_per_member = message.maxTotalContentStakePerMember === "" ? undefined : message.maxTotalContentStakePerMember;
|
|
1949
2045
|
obj.max_jury_redraws = message.maxJuryRedraws === 0 ? undefined : message.maxJuryRedraws;
|
|
1950
2046
|
obj.reviewer_bond_reserve_rate = message.reviewerBondReserveRate === "" ? undefined : message.reviewerBondReserveRate;
|
|
1951
2047
|
obj.review_fee_rate = message.reviewFeeRate === "" ? undefined : message.reviewFeeRate;
|
|
@@ -2060,6 +2156,8 @@ function createBaseRepOperationalParams() {
|
|
|
2060
2156
|
treasuryFundsInterims: false,
|
|
2061
2157
|
treasuryFundsRetroPgf: false,
|
|
2062
2158
|
maxInitiativeStakePerMember: "",
|
|
2159
|
+
minStakeAmount: "",
|
|
2160
|
+
maxInterimRewardsPerSeason: "",
|
|
2063
2161
|
maxInitiativeRewardsPerSeason: "",
|
|
2064
2162
|
largeProjectBudgetThreshold: "",
|
|
2065
2163
|
projectCreationFee: "",
|
|
@@ -2086,6 +2184,8 @@ function createBaseRepOperationalParams() {
|
|
|
2086
2184
|
minJurorSelectionWeight: "",
|
|
2087
2185
|
minJurySeatingsForWeighting: BigInt(0),
|
|
2088
2186
|
initiativeCompletionBonusRate: "",
|
|
2187
|
+
maxCompletionBonusStakeMultiple: "",
|
|
2188
|
+
maxTotalContentStakePerMember: "",
|
|
2089
2189
|
juryAcceptanceWindowRatio: "",
|
|
2090
2190
|
maxJuryRedraws: 0,
|
|
2091
2191
|
reviewerBondReserveRate: "",
|
|
@@ -2119,7 +2219,11 @@ function createBaseRepOperationalParams() {
|
|
|
2119
2219
|
minReviewerRepTier: BigInt(0),
|
|
2120
2220
|
minReviewerAgeBlocks: BigInt(0),
|
|
2121
2221
|
reviewerDemotionCooldown: BigInt(0),
|
|
2122
|
-
reviewerUnbondCooldown: BigInt(0)
|
|
2222
|
+
reviewerUnbondCooldown: BigInt(0),
|
|
2223
|
+
stakingRewardYieldPerEpoch: "",
|
|
2224
|
+
stakingPoolMintShare: "",
|
|
2225
|
+
stakingPoolCapBase: "",
|
|
2226
|
+
stakingPoolCapRate: ""
|
|
2123
2227
|
};
|
|
2124
2228
|
}
|
|
2125
2229
|
/**
|
|
@@ -2299,6 +2403,12 @@ export const RepOperationalParams = {
|
|
|
2299
2403
|
if (message.maxInitiativeStakePerMember !== "") {
|
|
2300
2404
|
writer.uint32(442).string(message.maxInitiativeStakePerMember);
|
|
2301
2405
|
}
|
|
2406
|
+
if (message.minStakeAmount !== "") {
|
|
2407
|
+
writer.uint32(962).string(message.minStakeAmount);
|
|
2408
|
+
}
|
|
2409
|
+
if (message.maxInterimRewardsPerSeason !== "") {
|
|
2410
|
+
writer.uint32(986).string(message.maxInterimRewardsPerSeason);
|
|
2411
|
+
}
|
|
2302
2412
|
if (message.maxInitiativeRewardsPerSeason !== "") {
|
|
2303
2413
|
writer.uint32(450).string(message.maxInitiativeRewardsPerSeason);
|
|
2304
2414
|
}
|
|
@@ -2377,6 +2487,12 @@ export const RepOperationalParams = {
|
|
|
2377
2487
|
if (message.initiativeCompletionBonusRate !== "") {
|
|
2378
2488
|
writer.uint32(650).string(Decimal.fromUserInput(message.initiativeCompletionBonusRate, 18).atomics);
|
|
2379
2489
|
}
|
|
2490
|
+
if (message.maxCompletionBonusStakeMultiple !== "") {
|
|
2491
|
+
writer.uint32(970).string(Decimal.fromUserInput(message.maxCompletionBonusStakeMultiple, 18).atomics);
|
|
2492
|
+
}
|
|
2493
|
+
if (message.maxTotalContentStakePerMember !== "") {
|
|
2494
|
+
writer.uint32(978).string(message.maxTotalContentStakePerMember);
|
|
2495
|
+
}
|
|
2380
2496
|
if (message.juryAcceptanceWindowRatio !== "") {
|
|
2381
2497
|
writer.uint32(658).string(Decimal.fromUserInput(message.juryAcceptanceWindowRatio, 18).atomics);
|
|
2382
2498
|
}
|
|
@@ -2479,6 +2595,18 @@ export const RepOperationalParams = {
|
|
|
2479
2595
|
if (message.reviewerUnbondCooldown !== BigInt(0)) {
|
|
2480
2596
|
writer.uint32(920).int64(message.reviewerUnbondCooldown);
|
|
2481
2597
|
}
|
|
2598
|
+
if (message.stakingRewardYieldPerEpoch !== "") {
|
|
2599
|
+
writer.uint32(930).string(Decimal.fromUserInput(message.stakingRewardYieldPerEpoch, 18).atomics);
|
|
2600
|
+
}
|
|
2601
|
+
if (message.stakingPoolMintShare !== "") {
|
|
2602
|
+
writer.uint32(938).string(Decimal.fromUserInput(message.stakingPoolMintShare, 18).atomics);
|
|
2603
|
+
}
|
|
2604
|
+
if (message.stakingPoolCapBase !== "") {
|
|
2605
|
+
writer.uint32(946).string(message.stakingPoolCapBase);
|
|
2606
|
+
}
|
|
2607
|
+
if (message.stakingPoolCapRate !== "") {
|
|
2608
|
+
writer.uint32(954).string(Decimal.fromUserInput(message.stakingPoolCapRate, 18).atomics);
|
|
2609
|
+
}
|
|
2482
2610
|
return writer;
|
|
2483
2611
|
},
|
|
2484
2612
|
decode(input, length) {
|
|
@@ -2653,6 +2781,12 @@ export const RepOperationalParams = {
|
|
|
2653
2781
|
case 55:
|
|
2654
2782
|
message.maxInitiativeStakePerMember = reader.string();
|
|
2655
2783
|
break;
|
|
2784
|
+
case 120:
|
|
2785
|
+
message.minStakeAmount = reader.string();
|
|
2786
|
+
break;
|
|
2787
|
+
case 123:
|
|
2788
|
+
message.maxInterimRewardsPerSeason = reader.string();
|
|
2789
|
+
break;
|
|
2656
2790
|
case 56:
|
|
2657
2791
|
message.maxInitiativeRewardsPerSeason = reader.string();
|
|
2658
2792
|
break;
|
|
@@ -2731,6 +2865,12 @@ export const RepOperationalParams = {
|
|
|
2731
2865
|
case 81:
|
|
2732
2866
|
message.initiativeCompletionBonusRate = Decimal.fromAtomics(reader.string(), 18).toString();
|
|
2733
2867
|
break;
|
|
2868
|
+
case 121:
|
|
2869
|
+
message.maxCompletionBonusStakeMultiple = Decimal.fromAtomics(reader.string(), 18).toString();
|
|
2870
|
+
break;
|
|
2871
|
+
case 122:
|
|
2872
|
+
message.maxTotalContentStakePerMember = reader.string();
|
|
2873
|
+
break;
|
|
2734
2874
|
case 82:
|
|
2735
2875
|
message.juryAcceptanceWindowRatio = Decimal.fromAtomics(reader.string(), 18).toString();
|
|
2736
2876
|
break;
|
|
@@ -2833,6 +2973,18 @@ export const RepOperationalParams = {
|
|
|
2833
2973
|
case 115:
|
|
2834
2974
|
message.reviewerUnbondCooldown = reader.int64();
|
|
2835
2975
|
break;
|
|
2976
|
+
case 116:
|
|
2977
|
+
message.stakingRewardYieldPerEpoch = Decimal.fromAtomics(reader.string(), 18).toString();
|
|
2978
|
+
break;
|
|
2979
|
+
case 117:
|
|
2980
|
+
message.stakingPoolMintShare = Decimal.fromAtomics(reader.string(), 18).toString();
|
|
2981
|
+
break;
|
|
2982
|
+
case 118:
|
|
2983
|
+
message.stakingPoolCapBase = reader.string();
|
|
2984
|
+
break;
|
|
2985
|
+
case 119:
|
|
2986
|
+
message.stakingPoolCapRate = Decimal.fromAtomics(reader.string(), 18).toString();
|
|
2987
|
+
break;
|
|
2836
2988
|
default:
|
|
2837
2989
|
reader.skipType(tag & 7);
|
|
2838
2990
|
break;
|
|
@@ -2897,6 +3049,8 @@ export const RepOperationalParams = {
|
|
|
2897
3049
|
message.treasuryFundsInterims = object.treasuryFundsInterims ?? false;
|
|
2898
3050
|
message.treasuryFundsRetroPgf = object.treasuryFundsRetroPgf ?? false;
|
|
2899
3051
|
message.maxInitiativeStakePerMember = object.maxInitiativeStakePerMember ?? "";
|
|
3052
|
+
message.minStakeAmount = object.minStakeAmount ?? "";
|
|
3053
|
+
message.maxInterimRewardsPerSeason = object.maxInterimRewardsPerSeason ?? "";
|
|
2900
3054
|
message.maxInitiativeRewardsPerSeason = object.maxInitiativeRewardsPerSeason ?? "";
|
|
2901
3055
|
message.largeProjectBudgetThreshold = object.largeProjectBudgetThreshold ?? "";
|
|
2902
3056
|
message.projectCreationFee = object.projectCreationFee ?? "";
|
|
@@ -2923,6 +3077,8 @@ export const RepOperationalParams = {
|
|
|
2923
3077
|
message.minJurorSelectionWeight = object.minJurorSelectionWeight ?? "";
|
|
2924
3078
|
message.minJurySeatingsForWeighting = object.minJurySeatingsForWeighting !== undefined && object.minJurySeatingsForWeighting !== null ? BigInt(object.minJurySeatingsForWeighting.toString()) : BigInt(0);
|
|
2925
3079
|
message.initiativeCompletionBonusRate = object.initiativeCompletionBonusRate ?? "";
|
|
3080
|
+
message.maxCompletionBonusStakeMultiple = object.maxCompletionBonusStakeMultiple ?? "";
|
|
3081
|
+
message.maxTotalContentStakePerMember = object.maxTotalContentStakePerMember ?? "";
|
|
2926
3082
|
message.juryAcceptanceWindowRatio = object.juryAcceptanceWindowRatio ?? "";
|
|
2927
3083
|
message.maxJuryRedraws = object.maxJuryRedraws ?? 0;
|
|
2928
3084
|
message.reviewerBondReserveRate = object.reviewerBondReserveRate ?? "";
|
|
@@ -2957,6 +3113,10 @@ export const RepOperationalParams = {
|
|
|
2957
3113
|
message.minReviewerAgeBlocks = object.minReviewerAgeBlocks !== undefined && object.minReviewerAgeBlocks !== null ? BigInt(object.minReviewerAgeBlocks.toString()) : BigInt(0);
|
|
2958
3114
|
message.reviewerDemotionCooldown = object.reviewerDemotionCooldown !== undefined && object.reviewerDemotionCooldown !== null ? BigInt(object.reviewerDemotionCooldown.toString()) : BigInt(0);
|
|
2959
3115
|
message.reviewerUnbondCooldown = object.reviewerUnbondCooldown !== undefined && object.reviewerUnbondCooldown !== null ? BigInt(object.reviewerUnbondCooldown.toString()) : BigInt(0);
|
|
3116
|
+
message.stakingRewardYieldPerEpoch = object.stakingRewardYieldPerEpoch ?? "";
|
|
3117
|
+
message.stakingPoolMintShare = object.stakingPoolMintShare ?? "";
|
|
3118
|
+
message.stakingPoolCapBase = object.stakingPoolCapBase ?? "";
|
|
3119
|
+
message.stakingPoolCapRate = object.stakingPoolCapRate ?? "";
|
|
2960
3120
|
return message;
|
|
2961
3121
|
},
|
|
2962
3122
|
fromAmino(object) {
|
|
@@ -3126,6 +3286,12 @@ export const RepOperationalParams = {
|
|
|
3126
3286
|
if (object.max_initiative_stake_per_member !== undefined && object.max_initiative_stake_per_member !== null) {
|
|
3127
3287
|
message.maxInitiativeStakePerMember = object.max_initiative_stake_per_member;
|
|
3128
3288
|
}
|
|
3289
|
+
if (object.min_stake_amount !== undefined && object.min_stake_amount !== null) {
|
|
3290
|
+
message.minStakeAmount = object.min_stake_amount;
|
|
3291
|
+
}
|
|
3292
|
+
if (object.max_interim_rewards_per_season !== undefined && object.max_interim_rewards_per_season !== null) {
|
|
3293
|
+
message.maxInterimRewardsPerSeason = object.max_interim_rewards_per_season;
|
|
3294
|
+
}
|
|
3129
3295
|
if (object.max_initiative_rewards_per_season !== undefined && object.max_initiative_rewards_per_season !== null) {
|
|
3130
3296
|
message.maxInitiativeRewardsPerSeason = object.max_initiative_rewards_per_season;
|
|
3131
3297
|
}
|
|
@@ -3204,6 +3370,12 @@ export const RepOperationalParams = {
|
|
|
3204
3370
|
if (object.initiative_completion_bonus_rate !== undefined && object.initiative_completion_bonus_rate !== null) {
|
|
3205
3371
|
message.initiativeCompletionBonusRate = object.initiative_completion_bonus_rate;
|
|
3206
3372
|
}
|
|
3373
|
+
if (object.max_completion_bonus_stake_multiple !== undefined && object.max_completion_bonus_stake_multiple !== null) {
|
|
3374
|
+
message.maxCompletionBonusStakeMultiple = object.max_completion_bonus_stake_multiple;
|
|
3375
|
+
}
|
|
3376
|
+
if (object.max_total_content_stake_per_member !== undefined && object.max_total_content_stake_per_member !== null) {
|
|
3377
|
+
message.maxTotalContentStakePerMember = object.max_total_content_stake_per_member;
|
|
3378
|
+
}
|
|
3207
3379
|
if (object.jury_acceptance_window_ratio !== undefined && object.jury_acceptance_window_ratio !== null) {
|
|
3208
3380
|
message.juryAcceptanceWindowRatio = object.jury_acceptance_window_ratio;
|
|
3209
3381
|
}
|
|
@@ -3306,6 +3478,18 @@ export const RepOperationalParams = {
|
|
|
3306
3478
|
if (object.reviewer_unbond_cooldown !== undefined && object.reviewer_unbond_cooldown !== null) {
|
|
3307
3479
|
message.reviewerUnbondCooldown = BigInt(object.reviewer_unbond_cooldown);
|
|
3308
3480
|
}
|
|
3481
|
+
if (object.staking_reward_yield_per_epoch !== undefined && object.staking_reward_yield_per_epoch !== null) {
|
|
3482
|
+
message.stakingRewardYieldPerEpoch = object.staking_reward_yield_per_epoch;
|
|
3483
|
+
}
|
|
3484
|
+
if (object.staking_pool_mint_share !== undefined && object.staking_pool_mint_share !== null) {
|
|
3485
|
+
message.stakingPoolMintShare = object.staking_pool_mint_share;
|
|
3486
|
+
}
|
|
3487
|
+
if (object.staking_pool_cap_base !== undefined && object.staking_pool_cap_base !== null) {
|
|
3488
|
+
message.stakingPoolCapBase = object.staking_pool_cap_base;
|
|
3489
|
+
}
|
|
3490
|
+
if (object.staking_pool_cap_rate !== undefined && object.staking_pool_cap_rate !== null) {
|
|
3491
|
+
message.stakingPoolCapRate = object.staking_pool_cap_rate;
|
|
3492
|
+
}
|
|
3309
3493
|
return message;
|
|
3310
3494
|
},
|
|
3311
3495
|
toAmino(message) {
|
|
@@ -3365,6 +3549,8 @@ export const RepOperationalParams = {
|
|
|
3365
3549
|
obj.treasury_funds_interims = message.treasuryFundsInterims === false ? undefined : message.treasuryFundsInterims;
|
|
3366
3550
|
obj.treasury_funds_retro_pgf = message.treasuryFundsRetroPgf === false ? undefined : message.treasuryFundsRetroPgf;
|
|
3367
3551
|
obj.max_initiative_stake_per_member = message.maxInitiativeStakePerMember === "" ? undefined : message.maxInitiativeStakePerMember;
|
|
3552
|
+
obj.min_stake_amount = message.minStakeAmount === "" ? undefined : message.minStakeAmount;
|
|
3553
|
+
obj.max_interim_rewards_per_season = message.maxInterimRewardsPerSeason === "" ? undefined : message.maxInterimRewardsPerSeason;
|
|
3368
3554
|
obj.max_initiative_rewards_per_season = message.maxInitiativeRewardsPerSeason === "" ? undefined : message.maxInitiativeRewardsPerSeason;
|
|
3369
3555
|
obj.large_project_budget_threshold = message.largeProjectBudgetThreshold === "" ? undefined : message.largeProjectBudgetThreshold;
|
|
3370
3556
|
obj.project_creation_fee = message.projectCreationFee === "" ? undefined : message.projectCreationFee;
|
|
@@ -3391,6 +3577,8 @@ export const RepOperationalParams = {
|
|
|
3391
3577
|
obj.min_juror_selection_weight = message.minJurorSelectionWeight === "" ? undefined : message.minJurorSelectionWeight;
|
|
3392
3578
|
obj.min_jury_seatings_for_weighting = message.minJurySeatingsForWeighting !== BigInt(0) ? message.minJurySeatingsForWeighting?.toString() : undefined;
|
|
3393
3579
|
obj.initiative_completion_bonus_rate = message.initiativeCompletionBonusRate === "" ? undefined : message.initiativeCompletionBonusRate;
|
|
3580
|
+
obj.max_completion_bonus_stake_multiple = message.maxCompletionBonusStakeMultiple === "" ? undefined : message.maxCompletionBonusStakeMultiple;
|
|
3581
|
+
obj.max_total_content_stake_per_member = message.maxTotalContentStakePerMember === "" ? undefined : message.maxTotalContentStakePerMember;
|
|
3394
3582
|
obj.jury_acceptance_window_ratio = message.juryAcceptanceWindowRatio === "" ? undefined : message.juryAcceptanceWindowRatio;
|
|
3395
3583
|
obj.max_jury_redraws = message.maxJuryRedraws === 0 ? undefined : message.maxJuryRedraws;
|
|
3396
3584
|
obj.reviewer_bond_reserve_rate = message.reviewerBondReserveRate === "" ? undefined : message.reviewerBondReserveRate;
|
|
@@ -3425,6 +3613,10 @@ export const RepOperationalParams = {
|
|
|
3425
3613
|
obj.min_reviewer_age_blocks = message.minReviewerAgeBlocks !== BigInt(0) ? message.minReviewerAgeBlocks?.toString() : undefined;
|
|
3426
3614
|
obj.reviewer_demotion_cooldown = message.reviewerDemotionCooldown !== BigInt(0) ? message.reviewerDemotionCooldown?.toString() : undefined;
|
|
3427
3615
|
obj.reviewer_unbond_cooldown = message.reviewerUnbondCooldown !== BigInt(0) ? message.reviewerUnbondCooldown?.toString() : undefined;
|
|
3616
|
+
obj.staking_reward_yield_per_epoch = message.stakingRewardYieldPerEpoch === "" ? undefined : message.stakingRewardYieldPerEpoch;
|
|
3617
|
+
obj.staking_pool_mint_share = message.stakingPoolMintShare === "" ? undefined : message.stakingPoolMintShare;
|
|
3618
|
+
obj.staking_pool_cap_base = message.stakingPoolCapBase === "" ? undefined : message.stakingPoolCapBase;
|
|
3619
|
+
obj.staking_pool_cap_rate = message.stakingPoolCapRate === "" ? undefined : message.stakingPoolCapRate;
|
|
3428
3620
|
return obj;
|
|
3429
3621
|
},
|
|
3430
3622
|
fromAminoMsg(object) {
|
|
@@ -7312,8 +7312,8 @@ export const QueryDreamSupplyStatsRequest = {
|
|
|
7312
7312
|
};
|
|
7313
7313
|
function createBaseQueryDreamSupplyStatsResponse() {
|
|
7314
7314
|
return {
|
|
7315
|
-
|
|
7316
|
-
|
|
7315
|
+
seasonMinted: "",
|
|
7316
|
+
seasonBurned: "",
|
|
7317
7317
|
circulating: "",
|
|
7318
7318
|
totalStaked: "",
|
|
7319
7319
|
treasuryBalance: "",
|
|
@@ -7328,11 +7328,11 @@ function createBaseQueryDreamSupplyStatsResponse() {
|
|
|
7328
7328
|
export const QueryDreamSupplyStatsResponse = {
|
|
7329
7329
|
typeUrl: "/sparkdream.rep.v1.QueryDreamSupplyStatsResponse",
|
|
7330
7330
|
encode(message, writer = BinaryWriter.create()) {
|
|
7331
|
-
if (message.
|
|
7332
|
-
writer.uint32(10).string(message.
|
|
7331
|
+
if (message.seasonMinted !== "") {
|
|
7332
|
+
writer.uint32(10).string(message.seasonMinted);
|
|
7333
7333
|
}
|
|
7334
|
-
if (message.
|
|
7335
|
-
writer.uint32(18).string(message.
|
|
7334
|
+
if (message.seasonBurned !== "") {
|
|
7335
|
+
writer.uint32(18).string(message.seasonBurned);
|
|
7336
7336
|
}
|
|
7337
7337
|
if (message.circulating !== "") {
|
|
7338
7338
|
writer.uint32(26).string(message.circulating);
|
|
@@ -7356,10 +7356,10 @@ export const QueryDreamSupplyStatsResponse = {
|
|
|
7356
7356
|
const tag = reader.uint32();
|
|
7357
7357
|
switch (tag >>> 3) {
|
|
7358
7358
|
case 1:
|
|
7359
|
-
message.
|
|
7359
|
+
message.seasonMinted = reader.string();
|
|
7360
7360
|
break;
|
|
7361
7361
|
case 2:
|
|
7362
|
-
message.
|
|
7362
|
+
message.seasonBurned = reader.string();
|
|
7363
7363
|
break;
|
|
7364
7364
|
case 3:
|
|
7365
7365
|
message.circulating = reader.string();
|
|
@@ -7382,8 +7382,8 @@ export const QueryDreamSupplyStatsResponse = {
|
|
|
7382
7382
|
},
|
|
7383
7383
|
fromPartial(object) {
|
|
7384
7384
|
const message = createBaseQueryDreamSupplyStatsResponse();
|
|
7385
|
-
message.
|
|
7386
|
-
message.
|
|
7385
|
+
message.seasonMinted = object.seasonMinted ?? "";
|
|
7386
|
+
message.seasonBurned = object.seasonBurned ?? "";
|
|
7387
7387
|
message.circulating = object.circulating ?? "";
|
|
7388
7388
|
message.totalStaked = object.totalStaked ?? "";
|
|
7389
7389
|
message.treasuryBalance = object.treasuryBalance ?? "";
|
|
@@ -7392,11 +7392,11 @@ export const QueryDreamSupplyStatsResponse = {
|
|
|
7392
7392
|
},
|
|
7393
7393
|
fromAmino(object) {
|
|
7394
7394
|
const message = createBaseQueryDreamSupplyStatsResponse();
|
|
7395
|
-
if (object.
|
|
7396
|
-
message.
|
|
7395
|
+
if (object.season_minted !== undefined && object.season_minted !== null) {
|
|
7396
|
+
message.seasonMinted = object.season_minted;
|
|
7397
7397
|
}
|
|
7398
|
-
if (object.
|
|
7399
|
-
message.
|
|
7398
|
+
if (object.season_burned !== undefined && object.season_burned !== null) {
|
|
7399
|
+
message.seasonBurned = object.season_burned;
|
|
7400
7400
|
}
|
|
7401
7401
|
if (object.circulating !== undefined && object.circulating !== null) {
|
|
7402
7402
|
message.circulating = object.circulating;
|
|
@@ -7414,8 +7414,8 @@ export const QueryDreamSupplyStatsResponse = {
|
|
|
7414
7414
|
},
|
|
7415
7415
|
toAmino(message) {
|
|
7416
7416
|
const obj = {};
|
|
7417
|
-
obj.
|
|
7418
|
-
obj.
|
|
7417
|
+
obj.season_minted = message.seasonMinted === "" ? undefined : message.seasonMinted;
|
|
7418
|
+
obj.season_burned = message.seasonBurned === "" ? undefined : message.seasonBurned;
|
|
7419
7419
|
obj.circulating = message.circulating === "" ? undefined : message.circulating;
|
|
7420
7420
|
obj.total_staked = message.totalStaked === "" ? undefined : message.totalStaked;
|
|
7421
7421
|
obj.treasury_balance = message.treasuryBalance === "" ? undefined : message.treasuryBalance;
|
|
@@ -1673,7 +1673,8 @@ function createBaseMsgCompleteInterim() {
|
|
|
1673
1673
|
return {
|
|
1674
1674
|
creator: "",
|
|
1675
1675
|
interimId: BigInt(0),
|
|
1676
|
-
completionNotes: ""
|
|
1676
|
+
completionNotes: "",
|
|
1677
|
+
decision: 0
|
|
1677
1678
|
};
|
|
1678
1679
|
}
|
|
1679
1680
|
/**
|
|
@@ -1695,6 +1696,9 @@ export const MsgCompleteInterim = {
|
|
|
1695
1696
|
if (message.completionNotes !== "") {
|
|
1696
1697
|
writer.uint32(26).string(message.completionNotes);
|
|
1697
1698
|
}
|
|
1699
|
+
if (message.decision !== 0) {
|
|
1700
|
+
writer.uint32(32).int32(message.decision);
|
|
1701
|
+
}
|
|
1698
1702
|
return writer;
|
|
1699
1703
|
},
|
|
1700
1704
|
decode(input, length) {
|
|
@@ -1713,6 +1717,9 @@ export const MsgCompleteInterim = {
|
|
|
1713
1717
|
case 3:
|
|
1714
1718
|
message.completionNotes = reader.string();
|
|
1715
1719
|
break;
|
|
1720
|
+
case 4:
|
|
1721
|
+
message.decision = reader.int32();
|
|
1722
|
+
break;
|
|
1716
1723
|
default:
|
|
1717
1724
|
reader.skipType(tag & 7);
|
|
1718
1725
|
break;
|
|
@@ -1725,6 +1732,7 @@ export const MsgCompleteInterim = {
|
|
|
1725
1732
|
message.creator = object.creator ?? "";
|
|
1726
1733
|
message.interimId = object.interimId !== undefined && object.interimId !== null ? BigInt(object.interimId.toString()) : BigInt(0);
|
|
1727
1734
|
message.completionNotes = object.completionNotes ?? "";
|
|
1735
|
+
message.decision = object.decision ?? 0;
|
|
1728
1736
|
return message;
|
|
1729
1737
|
},
|
|
1730
1738
|
fromAmino(object) {
|
|
@@ -1738,6 +1746,9 @@ export const MsgCompleteInterim = {
|
|
|
1738
1746
|
if (object.completion_notes !== undefined && object.completion_notes !== null) {
|
|
1739
1747
|
message.completionNotes = object.completion_notes;
|
|
1740
1748
|
}
|
|
1749
|
+
if (object.decision !== undefined && object.decision !== null) {
|
|
1750
|
+
message.decision = object.decision;
|
|
1751
|
+
}
|
|
1741
1752
|
return message;
|
|
1742
1753
|
},
|
|
1743
1754
|
toAmino(message) {
|
|
@@ -1745,6 +1756,7 @@ export const MsgCompleteInterim = {
|
|
|
1745
1756
|
obj.creator = message.creator === "" ? undefined : message.creator;
|
|
1746
1757
|
obj.interim_id = message.interimId !== BigInt(0) ? message.interimId?.toString() : undefined;
|
|
1747
1758
|
obj.completion_notes = message.completionNotes === "" ? undefined : message.completionNotes;
|
|
1759
|
+
obj.decision = message.decision === 0 ? undefined : message.decision;
|
|
1748
1760
|
return obj;
|
|
1749
1761
|
},
|
|
1750
1762
|
fromAminoMsg(object) {
|
package/package.json
CHANGED
package/sparkdream/bundle.d.ts
CHANGED
|
@@ -17574,12 +17574,16 @@ export declare namespace sparkdream {
|
|
|
17574
17574
|
toProto(message: _446.Invitation): Uint8Array;
|
|
17575
17575
|
toProtoMsg(message: _446.Invitation): _446.InvitationProtoMsg;
|
|
17576
17576
|
};
|
|
17577
|
+
adjudicationDecisionFromJSON(object: any): _445.AdjudicationDecision;
|
|
17578
|
+
adjudicationDecisionToJSON(object: _445.AdjudicationDecision): string;
|
|
17577
17579
|
interimTypeFromJSON(object: any): _445.InterimType;
|
|
17578
17580
|
interimTypeToJSON(object: _445.InterimType): string;
|
|
17579
17581
|
interimComplexityFromJSON(object: any): _445.InterimComplexity;
|
|
17580
17582
|
interimComplexityToJSON(object: _445.InterimComplexity): string;
|
|
17581
17583
|
interimStatusFromJSON(object: any): _445.InterimStatus;
|
|
17582
17584
|
interimStatusToJSON(object: _445.InterimStatus): string;
|
|
17585
|
+
AdjudicationDecision: typeof _445.AdjudicationDecision;
|
|
17586
|
+
AdjudicationDecisionAmino: typeof _445.AdjudicationDecision;
|
|
17583
17587
|
InterimType: typeof _445.InterimType;
|
|
17584
17588
|
InterimTypeAmino: typeof _445.InterimType;
|
|
17585
17589
|
InterimComplexity: typeof _445.InterimComplexity;
|
|
@@ -17662,6 +17666,30 @@ export declare namespace sparkdream {
|
|
|
17662
17666
|
toProto(message: _441.GenesisState): Uint8Array;
|
|
17663
17667
|
toProtoMsg(message: _441.GenesisState): _441.GenesisStateProtoMsg;
|
|
17664
17668
|
};
|
|
17669
|
+
EconomicState: {
|
|
17670
|
+
typeUrl: string;
|
|
17671
|
+
encode(message: _441.EconomicState, writer?: import("..").BinaryWriter): import("..").BinaryWriter;
|
|
17672
|
+
decode(input: import("..").BinaryReader | Uint8Array, length?: number): _441.EconomicState;
|
|
17673
|
+
fromPartial(object: import("../helpers").DeepPartial<_441.EconomicState>): _441.EconomicState;
|
|
17674
|
+
fromAmino(object: _441.EconomicStateAmino): _441.EconomicState;
|
|
17675
|
+
toAmino(message: _441.EconomicState): _441.EconomicStateAmino;
|
|
17676
|
+
fromAminoMsg(object: _441.EconomicStateAminoMsg): _441.EconomicState;
|
|
17677
|
+
fromProtoMsg(message: _441.EconomicStateProtoMsg): _441.EconomicState;
|
|
17678
|
+
toProto(message: _441.EconomicState): Uint8Array;
|
|
17679
|
+
toProtoMsg(message: _441.EconomicState): _441.EconomicStateProtoMsg;
|
|
17680
|
+
};
|
|
17681
|
+
GiftRecordEntry: {
|
|
17682
|
+
typeUrl: string;
|
|
17683
|
+
encode(message: _441.GiftRecordEntry, writer?: import("..").BinaryWriter): import("..").BinaryWriter;
|
|
17684
|
+
decode(input: import("..").BinaryReader | Uint8Array, length?: number): _441.GiftRecordEntry;
|
|
17685
|
+
fromPartial(object: import("../helpers").DeepPartial<_441.GiftRecordEntry>): _441.GiftRecordEntry;
|
|
17686
|
+
fromAmino(object: _441.GiftRecordEntryAmino): _441.GiftRecordEntry;
|
|
17687
|
+
toAmino(message: _441.GiftRecordEntry): _441.GiftRecordEntryAmino;
|
|
17688
|
+
fromAminoMsg(object: _441.GiftRecordEntryAminoMsg): _441.GiftRecordEntry;
|
|
17689
|
+
fromProtoMsg(message: _441.GiftRecordEntryProtoMsg): _441.GiftRecordEntry;
|
|
17690
|
+
toProto(message: _441.GiftRecordEntry): Uint8Array;
|
|
17691
|
+
toProtoMsg(message: _441.GiftRecordEntry): _441.GiftRecordEntryProtoMsg;
|
|
17692
|
+
};
|
|
17665
17693
|
RoleRewardDayFunding: {
|
|
17666
17694
|
typeUrl: string;
|
|
17667
17695
|
encode(message: _441.RoleRewardDayFunding, writer?: import("..").BinaryWriter): import("..").BinaryWriter;
|