@sparkdreamnft/sparkdreamjs 0.0.45 → 0.0.47
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/akash/bundle.d.ts +134 -134
- package/akash/bundle.js +150 -150
- package/amino-schema.d.ts +5741 -0
- package/amino-schema.js +8 -0
- package/chain-amino.d.ts +61 -0
- package/chain-amino.js +670 -0
- package/cosmos/bundle.d.ts +160 -160
- package/cosmos/bundle.js +182 -182
- package/esm/akash/bundle.js +150 -150
- package/esm/amino-schema.js +5 -0
- package/esm/chain-amino.js +665 -0
- package/esm/cosmos/bundle.js +182 -182
- package/esm/ibc/bundle.js +116 -116
- package/esm/nested-amino.js +12 -4
- package/esm/sparkdream/artifact/v1/genesis.js +217 -3
- package/esm/sparkdream/artifact/v1/params.js +146 -2
- package/esm/sparkdream/artifact/v1/query.js +3767 -5
- package/esm/sparkdream/artifact/v1/query.lcd.js +173 -0
- package/esm/sparkdream/artifact/v1/query.rpc.Query.js +195 -1
- package/esm/sparkdream/artifact/v1/tx.amino.js +16 -158
- package/esm/sparkdream/artifact/v1/tx.js +7498 -5
- package/esm/sparkdream/artifact/v1/tx.registry.js +704 -2
- package/esm/sparkdream/artifact/v1/tx.rpc.msg.js +241 -1
- package/esm/sparkdream/artifact/v1/types.js +4312 -1120
- package/esm/sparkdream/blog/v1/tx.amino.js +15 -115
- package/esm/sparkdream/bundle.js +329 -291
- package/esm/sparkdream/client.js +5 -2
- package/esm/sparkdream/collect/v1/tx.amino.js +15 -239
- package/esm/sparkdream/commons/v1/tx.amino.js +12 -226
- package/esm/sparkdream/commons/v1/tx.js +25 -1
- package/esm/sparkdream/ecosystem/v1/tx.amino.js +15 -26
- package/esm/sparkdream/federation/v1/tx.amino.js +16 -128
- package/esm/sparkdream/forum/v1/tx.amino.js +15 -211
- package/esm/sparkdream/futarchy/v1/tx.amino.js +16 -38
- package/esm/sparkdream/guardian/v1/tx.amino.js +17 -8
- package/esm/sparkdream/lcd.js +5 -0
- package/esm/sparkdream/name/v1/tx.amino.js +16 -63
- package/esm/sparkdream/rep/v1/genesis.js +74 -1
- package/esm/sparkdream/rep/v1/member.js +110 -1
- package/esm/sparkdream/rep/v1/migration.js +957 -0
- package/esm/sparkdream/rep/v1/params.js +181 -1
- package/esm/sparkdream/rep/v1/query.js +1060 -0
- package/esm/sparkdream/rep/v1/query.lcd.js +48 -0
- package/esm/sparkdream/rep/v1/query.rpc.Query.js +65 -1
- package/esm/sparkdream/rep/v1/tx.amino.js +12 -414
- package/esm/sparkdream/rep/v1/tx.js +1741 -1
- package/esm/sparkdream/rep/v1/tx.registry.js +200 -2
- package/esm/sparkdream/rep/v1/tx.rpc.msg.js +67 -1
- package/esm/sparkdream/reveal/v1/tx.amino.js +15 -73
- package/esm/sparkdream/rpc.query.js +3 -0
- package/esm/sparkdream/rpc.tx.js +3 -0
- package/esm/sparkdream/season/v1/tx.amino.js +16 -218
- package/esm/sparkdream/service/v1/tx.amino.js +16 -78
- package/esm/sparkdream/session/v1/tx.amino.js +16 -271
- package/esm/sparkdream/session/v1/tx.js +38 -2
- package/esm/sparkdream/shield/v1/tx.amino.js +15 -80
- package/esm/sparkdream/sparkdream/v1/tx.amino.js +16 -8
- package/esm/sparkdream/split/v1/tx.amino.js +16 -8
- package/esm/sparkdream/vault/module/v1/module.js +71 -0
- package/esm/sparkdream/vault/v1/genesis.js +104 -0
- package/esm/sparkdream/vault/v1/params.js +90 -0
- package/esm/sparkdream/vault/v1/query.js +1535 -0
- package/esm/sparkdream/vault/v1/query.lcd.js +100 -0
- package/esm/sparkdream/vault/v1/query.rpc.Query.js +111 -0
- package/esm/sparkdream/vault/v1/tx.amino.js +18 -0
- package/esm/sparkdream/vault/v1/tx.js +1393 -0
- package/esm/sparkdream/vault/v1/tx.registry.js +159 -0
- package/esm/sparkdream/vault/v1/tx.rpc.msg.js +60 -0
- package/esm/sparkdream/vault/v1/vault.js +163 -0
- package/esm/sparkdream/vault/v1/vault_proposal.js +277 -0
- package/esm/sparkdream/vault/v1/vault_signer.js +85 -0
- package/esm/tendermint/bundle.js +20 -20
- package/ibc/bundle.d.ts +99 -99
- package/ibc/bundle.js +116 -116
- package/nested-amino.d.ts +7 -2
- package/nested-amino.js +13 -4
- package/package.json +1 -13
- package/sparkdream/artifact/v1/genesis.d.ts +37 -4
- package/sparkdream/artifact/v1/genesis.js +216 -2
- package/sparkdream/artifact/v1/params.d.ts +92 -0
- package/sparkdream/artifact/v1/params.js +146 -2
- package/sparkdream/artifact/v1/query.d.ts +2373 -168
- package/sparkdream/artifact/v1/query.js +3768 -5
- package/sparkdream/artifact/v1/query.lcd.d.ts +22 -1
- package/sparkdream/artifact/v1/query.lcd.js +173 -0
- package/sparkdream/artifact/v1/query.rpc.Query.d.ts +98 -1
- package/sparkdream/artifact/v1/query.rpc.Query.js +194 -0
- package/sparkdream/artifact/v1/tx.amino.d.ts +1 -158
- package/sparkdream/artifact/v1/tx.amino.js +49 -158
- package/sparkdream/artifact/v1/tx.d.ts +5188 -930
- package/sparkdream/artifact/v1/tx.js +7499 -5
- package/sparkdream/artifact/v1/tx.registry.d.ts +469 -1
- package/sparkdream/artifact/v1/tx.registry.js +703 -1
- package/sparkdream/artifact/v1/tx.rpc.msg.d.ts +136 -1
- package/sparkdream/artifact/v1/tx.rpc.msg.js +240 -0
- package/sparkdream/artifact/v1/types.d.ts +1797 -25
- package/sparkdream/artifact/v1/types.js +4322 -1121
- package/sparkdream/blog/v1/tx.amino.d.ts +1 -83
- package/sparkdream/blog/v1/tx.amino.js +50 -117
- package/sparkdream/bundle.d.ts +12983 -10912
- package/sparkdream/bundle.js +329 -291
- package/sparkdream/client.d.ts +1 -1629
- package/sparkdream/client.js +5 -2
- package/sparkdream/collect/v1/tx.amino.d.ts +1 -138
- package/sparkdream/collect/v1/tx.amino.js +50 -241
- package/sparkdream/commons/v1/tx.amino.d.ts +1 -103
- package/sparkdream/commons/v1/tx.amino.js +49 -230
- package/sparkdream/commons/v1/tx.d.ts +18 -0
- package/sparkdream/commons/v1/tx.js +25 -1
- package/sparkdream/ecosystem/v1/tx.amino.d.ts +1 -13
- package/sparkdream/ecosystem/v1/tx.amino.js +50 -28
- package/sparkdream/federation/v1/tx.amino.d.ts +1 -128
- package/sparkdream/federation/v1/tx.amino.js +49 -128
- package/sparkdream/forum/v1/tx.amino.d.ts +1 -183
- package/sparkdream/forum/v1/tx.amino.js +50 -213
- package/sparkdream/futarchy/v1/tx.amino.d.ts +1 -38
- package/sparkdream/futarchy/v1/tx.amino.js +49 -38
- package/sparkdream/guardian/v1/tx.amino.d.ts +2 -8
- package/sparkdream/guardian/v1/tx.amino.js +52 -9
- package/sparkdream/lcd.d.ts +3 -0
- package/sparkdream/lcd.js +5 -0
- package/sparkdream/name/v1/tx.amino.d.ts +1 -63
- package/sparkdream/name/v1/tx.amino.js +49 -63
- package/sparkdream/rep/v1/genesis.d.ts +19 -0
- package/sparkdream/rep/v1/genesis.js +74 -1
- package/sparkdream/rep/v1/member.d.ts +92 -0
- package/sparkdream/rep/v1/member.js +110 -1
- package/sparkdream/rep/v1/migration.d.ts +587 -0
- package/sparkdream/rep/v1/migration.js +964 -0
- package/sparkdream/rep/v1/params.d.ts +174 -0
- package/sparkdream/rep/v1/params.js +181 -1
- package/sparkdream/rep/v1/query.d.ts +679 -0
- package/sparkdream/rep/v1/query.js +1061 -1
- package/sparkdream/rep/v1/query.lcd.d.ts +8 -1
- package/sparkdream/rep/v1/query.lcd.js +48 -0
- package/sparkdream/rep/v1/query.rpc.Query.d.ts +32 -1
- package/sparkdream/rep/v1/query.rpc.Query.js +64 -0
- package/sparkdream/rep/v1/tx.amino.d.ts +1 -283
- package/sparkdream/rep/v1/tx.amino.js +47 -416
- package/sparkdream/rep/v1/tx.d.ts +1185 -0
- package/sparkdream/rep/v1/tx.js +1742 -2
- package/sparkdream/rep/v1/tx.registry.d.ts +133 -1
- package/sparkdream/rep/v1/tx.registry.js +199 -1
- package/sparkdream/rep/v1/tx.rpc.msg.d.ts +34 -1
- package/sparkdream/rep/v1/tx.rpc.msg.js +66 -0
- package/sparkdream/reveal/v1/tx.amino.d.ts +1 -53
- package/sparkdream/reveal/v1/tx.amino.js +50 -75
- package/sparkdream/rpc.query.d.ts +42 -0
- package/sparkdream/rpc.query.js +3 -0
- package/sparkdream/rpc.tx.d.ts +3 -0
- package/sparkdream/rpc.tx.js +3 -0
- package/sparkdream/season/v1/tx.amino.d.ts +1 -218
- package/sparkdream/season/v1/tx.amino.js +49 -218
- package/sparkdream/service/v1/tx.amino.d.ts +1 -78
- package/sparkdream/service/v1/tx.amino.js +49 -78
- package/sparkdream/session/v1/tx.amino.d.ts +1 -93
- package/sparkdream/session/v1/tx.amino.js +48 -270
- package/sparkdream/session/v1/tx.d.ts +30 -0
- package/sparkdream/session/v1/tx.js +38 -2
- package/sparkdream/shield/v1/tx.amino.d.ts +1 -28
- package/sparkdream/shield/v1/tx.amino.js +50 -82
- package/sparkdream/sparkdream/v1/tx.amino.d.ts +1 -8
- package/sparkdream/sparkdream/v1/tx.amino.js +49 -8
- package/sparkdream/split/v1/tx.amino.d.ts +1 -8
- package/sparkdream/split/v1/tx.amino.js +49 -8
- package/sparkdream/vault/module/v1/module.d.ts +54 -0
- package/sparkdream/vault/module/v1/module.js +74 -0
- package/sparkdream/vault/v1/genesis.d.ts +59 -0
- package/sparkdream/vault/v1/genesis.js +107 -0
- package/sparkdream/vault/v1/params.d.ts +68 -0
- package/sparkdream/vault/v1/params.js +93 -0
- package/sparkdream/vault/v1/query.d.ts +935 -0
- package/sparkdream/vault/v1/query.js +1538 -0
- package/sparkdream/vault/v1/query.lcd.d.ts +18 -0
- package/sparkdream/vault/v1/query.lcd.js +104 -0
- package/sparkdream/vault/v1/query.rpc.Query.d.ts +56 -0
- package/sparkdream/vault/v1/query.rpc.Query.js +116 -0
- package/sparkdream/vault/v1/tx.amino.d.ts +2 -0
- package/sparkdream/vault/v1/tx.amino.js +55 -0
- package/sparkdream/vault/v1/tx.d.ts +826 -0
- package/sparkdream/vault/v1/tx.js +1399 -0
- package/sparkdream/vault/v1/tx.registry.d.ts +109 -0
- package/sparkdream/vault/v1/tx.registry.js +163 -0
- package/sparkdream/vault/v1/tx.rpc.msg.d.ts +37 -0
- package/sparkdream/vault/v1/tx.rpc.msg.js +65 -0
- package/sparkdream/vault/v1/vault.d.ts +117 -0
- package/sparkdream/vault/v1/vault.js +166 -0
- package/sparkdream/vault/v1/vault_proposal.d.ts +158 -0
- package/sparkdream/vault/v1/vault_proposal.js +285 -0
- package/sparkdream/vault/v1/vault_signer.d.ts +54 -0
- package/sparkdream/vault/v1/vault_signer.js +88 -0
- package/tendermint/bundle.d.ts +844 -844
- package/tendermint/bundle.js +20 -20
- package/varint.d.ts +1 -1
|
@@ -469,7 +469,22 @@ function createBaseParams() {
|
|
|
469
469
|
minInitiativeBountyContribution: "",
|
|
470
470
|
maxInitiativeBountyContributions: 0,
|
|
471
471
|
initiativeBountyReclaimDelay: BigInt(0),
|
|
472
|
-
invitationAcceptanceEpochs: BigInt(0)
|
|
472
|
+
invitationAcceptanceEpochs: BigInt(0),
|
|
473
|
+
migrationEnabled: false,
|
|
474
|
+
keyPathEnabled: false,
|
|
475
|
+
keyMigrationDelay: BigInt(0),
|
|
476
|
+
recoveryMigrationDelay: BigInt(0),
|
|
477
|
+
councilMigrationDelay: BigInt(0),
|
|
478
|
+
migrationAcceptWindow: BigInt(0),
|
|
479
|
+
migrationCooldown: BigInt(0),
|
|
480
|
+
maxKeyMigrationsPerWindow: 0,
|
|
481
|
+
keyMigrationWindow: BigInt(0),
|
|
482
|
+
recoveryChangeDelay: BigInt(0),
|
|
483
|
+
recoveryRevealMinBlocks: BigInt(0),
|
|
484
|
+
recoveryCommitTtl: BigInt(0),
|
|
485
|
+
recoveryCommitDeposit: "",
|
|
486
|
+
migrationObjectionBond: "",
|
|
487
|
+
zkKeyActivationDelay: BigInt(0)
|
|
473
488
|
};
|
|
474
489
|
}
|
|
475
490
|
/**
|
|
@@ -929,6 +944,51 @@ export const Params = {
|
|
|
929
944
|
if (message.invitationAcceptanceEpochs !== BigInt(0)) {
|
|
930
945
|
writer.uint32(1192).int64(message.invitationAcceptanceEpochs);
|
|
931
946
|
}
|
|
947
|
+
if (message.migrationEnabled === true) {
|
|
948
|
+
writer.uint32(1200).bool(message.migrationEnabled);
|
|
949
|
+
}
|
|
950
|
+
if (message.keyPathEnabled === true) {
|
|
951
|
+
writer.uint32(1208).bool(message.keyPathEnabled);
|
|
952
|
+
}
|
|
953
|
+
if (message.keyMigrationDelay !== BigInt(0)) {
|
|
954
|
+
writer.uint32(1216).int64(message.keyMigrationDelay);
|
|
955
|
+
}
|
|
956
|
+
if (message.recoveryMigrationDelay !== BigInt(0)) {
|
|
957
|
+
writer.uint32(1224).int64(message.recoveryMigrationDelay);
|
|
958
|
+
}
|
|
959
|
+
if (message.councilMigrationDelay !== BigInt(0)) {
|
|
960
|
+
writer.uint32(1232).int64(message.councilMigrationDelay);
|
|
961
|
+
}
|
|
962
|
+
if (message.migrationAcceptWindow !== BigInt(0)) {
|
|
963
|
+
writer.uint32(1240).int64(message.migrationAcceptWindow);
|
|
964
|
+
}
|
|
965
|
+
if (message.migrationCooldown !== BigInt(0)) {
|
|
966
|
+
writer.uint32(1248).int64(message.migrationCooldown);
|
|
967
|
+
}
|
|
968
|
+
if (message.maxKeyMigrationsPerWindow !== 0) {
|
|
969
|
+
writer.uint32(1256).uint32(message.maxKeyMigrationsPerWindow);
|
|
970
|
+
}
|
|
971
|
+
if (message.keyMigrationWindow !== BigInt(0)) {
|
|
972
|
+
writer.uint32(1264).int64(message.keyMigrationWindow);
|
|
973
|
+
}
|
|
974
|
+
if (message.recoveryChangeDelay !== BigInt(0)) {
|
|
975
|
+
writer.uint32(1272).int64(message.recoveryChangeDelay);
|
|
976
|
+
}
|
|
977
|
+
if (message.recoveryRevealMinBlocks !== BigInt(0)) {
|
|
978
|
+
writer.uint32(1280).int64(message.recoveryRevealMinBlocks);
|
|
979
|
+
}
|
|
980
|
+
if (message.recoveryCommitTtl !== BigInt(0)) {
|
|
981
|
+
writer.uint32(1288).int64(message.recoveryCommitTtl);
|
|
982
|
+
}
|
|
983
|
+
if (message.recoveryCommitDeposit !== "") {
|
|
984
|
+
writer.uint32(1298).string(message.recoveryCommitDeposit);
|
|
985
|
+
}
|
|
986
|
+
if (message.migrationObjectionBond !== "") {
|
|
987
|
+
writer.uint32(1306).string(message.migrationObjectionBond);
|
|
988
|
+
}
|
|
989
|
+
if (message.zkKeyActivationDelay !== BigInt(0)) {
|
|
990
|
+
writer.uint32(1312).int64(message.zkKeyActivationDelay);
|
|
991
|
+
}
|
|
932
992
|
return writer;
|
|
933
993
|
},
|
|
934
994
|
decode(input, length) {
|
|
@@ -1385,6 +1445,51 @@ export const Params = {
|
|
|
1385
1445
|
case 149:
|
|
1386
1446
|
message.invitationAcceptanceEpochs = reader.int64();
|
|
1387
1447
|
break;
|
|
1448
|
+
case 150:
|
|
1449
|
+
message.migrationEnabled = reader.bool();
|
|
1450
|
+
break;
|
|
1451
|
+
case 151:
|
|
1452
|
+
message.keyPathEnabled = reader.bool();
|
|
1453
|
+
break;
|
|
1454
|
+
case 152:
|
|
1455
|
+
message.keyMigrationDelay = reader.int64();
|
|
1456
|
+
break;
|
|
1457
|
+
case 153:
|
|
1458
|
+
message.recoveryMigrationDelay = reader.int64();
|
|
1459
|
+
break;
|
|
1460
|
+
case 154:
|
|
1461
|
+
message.councilMigrationDelay = reader.int64();
|
|
1462
|
+
break;
|
|
1463
|
+
case 155:
|
|
1464
|
+
message.migrationAcceptWindow = reader.int64();
|
|
1465
|
+
break;
|
|
1466
|
+
case 156:
|
|
1467
|
+
message.migrationCooldown = reader.int64();
|
|
1468
|
+
break;
|
|
1469
|
+
case 157:
|
|
1470
|
+
message.maxKeyMigrationsPerWindow = reader.uint32();
|
|
1471
|
+
break;
|
|
1472
|
+
case 158:
|
|
1473
|
+
message.keyMigrationWindow = reader.int64();
|
|
1474
|
+
break;
|
|
1475
|
+
case 159:
|
|
1476
|
+
message.recoveryChangeDelay = reader.int64();
|
|
1477
|
+
break;
|
|
1478
|
+
case 160:
|
|
1479
|
+
message.recoveryRevealMinBlocks = reader.int64();
|
|
1480
|
+
break;
|
|
1481
|
+
case 161:
|
|
1482
|
+
message.recoveryCommitTtl = reader.int64();
|
|
1483
|
+
break;
|
|
1484
|
+
case 162:
|
|
1485
|
+
message.recoveryCommitDeposit = reader.string();
|
|
1486
|
+
break;
|
|
1487
|
+
case 163:
|
|
1488
|
+
message.migrationObjectionBond = reader.string();
|
|
1489
|
+
break;
|
|
1490
|
+
case 164:
|
|
1491
|
+
message.zkKeyActivationDelay = reader.int64();
|
|
1492
|
+
break;
|
|
1388
1493
|
default:
|
|
1389
1494
|
reader.skipType(tag & 7);
|
|
1390
1495
|
break;
|
|
@@ -1543,6 +1648,21 @@ export const Params = {
|
|
|
1543
1648
|
message.maxInitiativeBountyContributions = object.maxInitiativeBountyContributions ?? 0;
|
|
1544
1649
|
message.initiativeBountyReclaimDelay = object.initiativeBountyReclaimDelay !== undefined && object.initiativeBountyReclaimDelay !== null ? BigInt(object.initiativeBountyReclaimDelay.toString()) : BigInt(0);
|
|
1545
1650
|
message.invitationAcceptanceEpochs = object.invitationAcceptanceEpochs !== undefined && object.invitationAcceptanceEpochs !== null ? BigInt(object.invitationAcceptanceEpochs.toString()) : BigInt(0);
|
|
1651
|
+
message.migrationEnabled = object.migrationEnabled ?? false;
|
|
1652
|
+
message.keyPathEnabled = object.keyPathEnabled ?? false;
|
|
1653
|
+
message.keyMigrationDelay = object.keyMigrationDelay !== undefined && object.keyMigrationDelay !== null ? BigInt(object.keyMigrationDelay.toString()) : BigInt(0);
|
|
1654
|
+
message.recoveryMigrationDelay = object.recoveryMigrationDelay !== undefined && object.recoveryMigrationDelay !== null ? BigInt(object.recoveryMigrationDelay.toString()) : BigInt(0);
|
|
1655
|
+
message.councilMigrationDelay = object.councilMigrationDelay !== undefined && object.councilMigrationDelay !== null ? BigInt(object.councilMigrationDelay.toString()) : BigInt(0);
|
|
1656
|
+
message.migrationAcceptWindow = object.migrationAcceptWindow !== undefined && object.migrationAcceptWindow !== null ? BigInt(object.migrationAcceptWindow.toString()) : BigInt(0);
|
|
1657
|
+
message.migrationCooldown = object.migrationCooldown !== undefined && object.migrationCooldown !== null ? BigInt(object.migrationCooldown.toString()) : BigInt(0);
|
|
1658
|
+
message.maxKeyMigrationsPerWindow = object.maxKeyMigrationsPerWindow ?? 0;
|
|
1659
|
+
message.keyMigrationWindow = object.keyMigrationWindow !== undefined && object.keyMigrationWindow !== null ? BigInt(object.keyMigrationWindow.toString()) : BigInt(0);
|
|
1660
|
+
message.recoveryChangeDelay = object.recoveryChangeDelay !== undefined && object.recoveryChangeDelay !== null ? BigInt(object.recoveryChangeDelay.toString()) : BigInt(0);
|
|
1661
|
+
message.recoveryRevealMinBlocks = object.recoveryRevealMinBlocks !== undefined && object.recoveryRevealMinBlocks !== null ? BigInt(object.recoveryRevealMinBlocks.toString()) : BigInt(0);
|
|
1662
|
+
message.recoveryCommitTtl = object.recoveryCommitTtl !== undefined && object.recoveryCommitTtl !== null ? BigInt(object.recoveryCommitTtl.toString()) : BigInt(0);
|
|
1663
|
+
message.recoveryCommitDeposit = object.recoveryCommitDeposit ?? "";
|
|
1664
|
+
message.migrationObjectionBond = object.migrationObjectionBond ?? "";
|
|
1665
|
+
message.zkKeyActivationDelay = object.zkKeyActivationDelay !== undefined && object.zkKeyActivationDelay !== null ? BigInt(object.zkKeyActivationDelay.toString()) : BigInt(0);
|
|
1546
1666
|
return message;
|
|
1547
1667
|
},
|
|
1548
1668
|
fromAmino(object) {
|
|
@@ -1994,6 +2114,51 @@ export const Params = {
|
|
|
1994
2114
|
if (object.invitation_acceptance_epochs !== undefined && object.invitation_acceptance_epochs !== null) {
|
|
1995
2115
|
message.invitationAcceptanceEpochs = BigInt(object.invitation_acceptance_epochs);
|
|
1996
2116
|
}
|
|
2117
|
+
if (object.migration_enabled !== undefined && object.migration_enabled !== null) {
|
|
2118
|
+
message.migrationEnabled = object.migration_enabled;
|
|
2119
|
+
}
|
|
2120
|
+
if (object.key_path_enabled !== undefined && object.key_path_enabled !== null) {
|
|
2121
|
+
message.keyPathEnabled = object.key_path_enabled;
|
|
2122
|
+
}
|
|
2123
|
+
if (object.key_migration_delay !== undefined && object.key_migration_delay !== null) {
|
|
2124
|
+
message.keyMigrationDelay = BigInt(object.key_migration_delay);
|
|
2125
|
+
}
|
|
2126
|
+
if (object.recovery_migration_delay !== undefined && object.recovery_migration_delay !== null) {
|
|
2127
|
+
message.recoveryMigrationDelay = BigInt(object.recovery_migration_delay);
|
|
2128
|
+
}
|
|
2129
|
+
if (object.council_migration_delay !== undefined && object.council_migration_delay !== null) {
|
|
2130
|
+
message.councilMigrationDelay = BigInt(object.council_migration_delay);
|
|
2131
|
+
}
|
|
2132
|
+
if (object.migration_accept_window !== undefined && object.migration_accept_window !== null) {
|
|
2133
|
+
message.migrationAcceptWindow = BigInt(object.migration_accept_window);
|
|
2134
|
+
}
|
|
2135
|
+
if (object.migration_cooldown !== undefined && object.migration_cooldown !== null) {
|
|
2136
|
+
message.migrationCooldown = BigInt(object.migration_cooldown);
|
|
2137
|
+
}
|
|
2138
|
+
if (object.max_key_migrations_per_window !== undefined && object.max_key_migrations_per_window !== null) {
|
|
2139
|
+
message.maxKeyMigrationsPerWindow = object.max_key_migrations_per_window;
|
|
2140
|
+
}
|
|
2141
|
+
if (object.key_migration_window !== undefined && object.key_migration_window !== null) {
|
|
2142
|
+
message.keyMigrationWindow = BigInt(object.key_migration_window);
|
|
2143
|
+
}
|
|
2144
|
+
if (object.recovery_change_delay !== undefined && object.recovery_change_delay !== null) {
|
|
2145
|
+
message.recoveryChangeDelay = BigInt(object.recovery_change_delay);
|
|
2146
|
+
}
|
|
2147
|
+
if (object.recovery_reveal_min_blocks !== undefined && object.recovery_reveal_min_blocks !== null) {
|
|
2148
|
+
message.recoveryRevealMinBlocks = BigInt(object.recovery_reveal_min_blocks);
|
|
2149
|
+
}
|
|
2150
|
+
if (object.recovery_commit_ttl !== undefined && object.recovery_commit_ttl !== null) {
|
|
2151
|
+
message.recoveryCommitTtl = BigInt(object.recovery_commit_ttl);
|
|
2152
|
+
}
|
|
2153
|
+
if (object.recovery_commit_deposit !== undefined && object.recovery_commit_deposit !== null) {
|
|
2154
|
+
message.recoveryCommitDeposit = object.recovery_commit_deposit;
|
|
2155
|
+
}
|
|
2156
|
+
if (object.migration_objection_bond !== undefined && object.migration_objection_bond !== null) {
|
|
2157
|
+
message.migrationObjectionBond = object.migration_objection_bond;
|
|
2158
|
+
}
|
|
2159
|
+
if (object.zk_key_activation_delay !== undefined && object.zk_key_activation_delay !== null) {
|
|
2160
|
+
message.zkKeyActivationDelay = BigInt(object.zk_key_activation_delay);
|
|
2161
|
+
}
|
|
1997
2162
|
return message;
|
|
1998
2163
|
},
|
|
1999
2164
|
toAmino(message) {
|
|
@@ -2147,6 +2312,21 @@ export const Params = {
|
|
|
2147
2312
|
obj.max_initiative_bounty_contributions = message.maxInitiativeBountyContributions === 0 ? undefined : message.maxInitiativeBountyContributions;
|
|
2148
2313
|
obj.initiative_bounty_reclaim_delay = message.initiativeBountyReclaimDelay !== BigInt(0) ? message.initiativeBountyReclaimDelay?.toString() : undefined;
|
|
2149
2314
|
obj.invitation_acceptance_epochs = message.invitationAcceptanceEpochs !== BigInt(0) ? message.invitationAcceptanceEpochs?.toString() : undefined;
|
|
2315
|
+
obj.migration_enabled = message.migrationEnabled === false ? undefined : message.migrationEnabled;
|
|
2316
|
+
obj.key_path_enabled = message.keyPathEnabled === false ? undefined : message.keyPathEnabled;
|
|
2317
|
+
obj.key_migration_delay = message.keyMigrationDelay !== BigInt(0) ? message.keyMigrationDelay?.toString() : undefined;
|
|
2318
|
+
obj.recovery_migration_delay = message.recoveryMigrationDelay !== BigInt(0) ? message.recoveryMigrationDelay?.toString() : undefined;
|
|
2319
|
+
obj.council_migration_delay = message.councilMigrationDelay !== BigInt(0) ? message.councilMigrationDelay?.toString() : undefined;
|
|
2320
|
+
obj.migration_accept_window = message.migrationAcceptWindow !== BigInt(0) ? message.migrationAcceptWindow?.toString() : undefined;
|
|
2321
|
+
obj.migration_cooldown = message.migrationCooldown !== BigInt(0) ? message.migrationCooldown?.toString() : undefined;
|
|
2322
|
+
obj.max_key_migrations_per_window = message.maxKeyMigrationsPerWindow === 0 ? undefined : message.maxKeyMigrationsPerWindow;
|
|
2323
|
+
obj.key_migration_window = message.keyMigrationWindow !== BigInt(0) ? message.keyMigrationWindow?.toString() : undefined;
|
|
2324
|
+
obj.recovery_change_delay = message.recoveryChangeDelay !== BigInt(0) ? message.recoveryChangeDelay?.toString() : undefined;
|
|
2325
|
+
obj.recovery_reveal_min_blocks = message.recoveryRevealMinBlocks !== BigInt(0) ? message.recoveryRevealMinBlocks?.toString() : undefined;
|
|
2326
|
+
obj.recovery_commit_ttl = message.recoveryCommitTtl !== BigInt(0) ? message.recoveryCommitTtl?.toString() : undefined;
|
|
2327
|
+
obj.recovery_commit_deposit = message.recoveryCommitDeposit === "" ? undefined : message.recoveryCommitDeposit;
|
|
2328
|
+
obj.migration_objection_bond = message.migrationObjectionBond === "" ? undefined : message.migrationObjectionBond;
|
|
2329
|
+
obj.zk_key_activation_delay = message.zkKeyActivationDelay !== BigInt(0) ? message.zkKeyActivationDelay?.toString() : undefined;
|
|
2150
2330
|
return obj;
|
|
2151
2331
|
},
|
|
2152
2332
|
fromAminoMsg(object) {
|