@sparkdreamnft/sparkdreamjs 0.0.44 → 0.0.46
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/cosmos/bundle.d.ts +160 -160
- package/cosmos/bundle.js +182 -182
- package/esm/akash/bundle.js +150 -150
- package/esm/cosmos/bundle.js +182 -182
- package/esm/ibc/bundle.js +116 -116
- package/esm/nested-amino.js +6 -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 +324 -5
- 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 +21 -1
- package/esm/sparkdream/bundle.js +329 -291
- package/esm/sparkdream/client.js +5 -2
- package/esm/sparkdream/collect/v1/tx.amino.js +16 -1
- package/esm/sparkdream/commons/v1/tx.amino.js +33 -1
- package/esm/sparkdream/commons/v1/tx.js +25 -1
- package/esm/sparkdream/federation/v1/tx.amino.js +51 -1
- package/esm/sparkdream/forum/v1/tx.amino.js +21 -1
- package/esm/sparkdream/guardian/v1/tx.amino.js +33 -3
- package/esm/sparkdream/lcd.js +5 -0
- package/esm/sparkdream/name/v1/genesis.js +32 -2
- 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 +193 -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 +71 -1
- package/esm/sparkdream/rep/v1/tx.js +1886 -1
- package/esm/sparkdream/rep/v1/tx.registry.js +218 -2
- package/esm/sparkdream/rep/v1/tx.rpc.msg.js +75 -1
- package/esm/sparkdream/rpc.query.js +3 -0
- package/esm/sparkdream/rpc.tx.js +3 -0
- package/esm/sparkdream/season/v1/tx.amino.js +64 -2
- 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 +53 -5
- 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/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 +111 -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 +3 -2
- package/nested-amino.js +6 -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 +200 -5
- package/sparkdream/artifact/v1/tx.amino.js +324 -5
- 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 +21 -1
- package/sparkdream/blog/v1/tx.amino.js +20 -0
- package/sparkdream/bundle.d.ts +13721 -9493
- package/sparkdream/bundle.js +329 -291
- package/sparkdream/client.d.ts +394 -9
- package/sparkdream/client.js +5 -2
- package/sparkdream/collect/v1/tx.amino.d.ts +16 -1
- package/sparkdream/collect/v1/tx.amino.js +15 -0
- package/sparkdream/commons/v1/tx.amino.d.ts +21 -1
- package/sparkdream/commons/v1/tx.amino.js +32 -0
- package/sparkdream/commons/v1/tx.d.ts +18 -0
- package/sparkdream/commons/v1/tx.js +25 -1
- package/sparkdream/federation/v1/tx.amino.d.ts +1 -1
- package/sparkdream/federation/v1/tx.amino.js +52 -2
- package/sparkdream/forum/v1/tx.amino.d.ts +21 -1
- package/sparkdream/forum/v1/tx.amino.js +20 -0
- package/sparkdream/guardian/v1/tx.amino.d.ts +3 -3
- package/sparkdream/guardian/v1/tx.amino.js +36 -5
- package/sparkdream/lcd.d.ts +3 -0
- package/sparkdream/lcd.js +5 -0
- package/sparkdream/name/v1/genesis.d.ts +23 -1
- package/sparkdream/name/v1/genesis.js +31 -1
- 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 +190 -0
- package/sparkdream/rep/v1/params.js +193 -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 +71 -1
- package/sparkdream/rep/v1/tx.amino.js +70 -0
- package/sparkdream/rep/v1/tx.d.ts +1278 -0
- package/sparkdream/rep/v1/tx.js +1887 -2
- package/sparkdream/rep/v1/tx.registry.d.ts +145 -1
- package/sparkdream/rep/v1/tx.registry.js +217 -1
- package/sparkdream/rep/v1/tx.rpc.msg.d.ts +41 -1
- package/sparkdream/rep/v1/tx.rpc.msg.js +74 -0
- 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 +2 -2
- package/sparkdream/season/v1/tx.amino.js +65 -3
- 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 +36 -4
- package/sparkdream/session/v1/tx.js +52 -4
- 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/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 +44 -0
- package/sparkdream/vault/v1/tx.amino.js +115 -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
|
@@ -860,6 +860,101 @@ 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;
|
|
871
|
+
/**
|
|
872
|
+
* migration_enabled is the master switch for every migration path.
|
|
873
|
+
*/
|
|
874
|
+
migrationEnabled: boolean;
|
|
875
|
+
/**
|
|
876
|
+
* key_path_enabled is the "Q-day switch": governance flips it off if the
|
|
877
|
+
* account signature scheme is considered broken. Recovery and council
|
|
878
|
+
* migrations keep working.
|
|
879
|
+
*/
|
|
880
|
+
keyPathEnabled: boolean;
|
|
881
|
+
/**
|
|
882
|
+
* key_migration_delay is the seconds between the new address accepting a
|
|
883
|
+
* KEY migration and finalization (default 7 days).
|
|
884
|
+
*/
|
|
885
|
+
keyMigrationDelay: bigint;
|
|
886
|
+
/**
|
|
887
|
+
* recovery_migration_delay is the same for RECOVERY migrations (default
|
|
888
|
+
* 2 days).
|
|
889
|
+
*/
|
|
890
|
+
recoveryMigrationDelay: bigint;
|
|
891
|
+
/**
|
|
892
|
+
* council_migration_delay is the same for COUNCIL migrations (default 21
|
|
893
|
+
* days); the window in which the old address may object.
|
|
894
|
+
*/
|
|
895
|
+
councilMigrationDelay: bigint;
|
|
896
|
+
/**
|
|
897
|
+
* migration_accept_window is the seconds the new address has to accept a
|
|
898
|
+
* requested migration before it expires (default 7 days, so a multisig
|
|
899
|
+
* can collect signatures).
|
|
900
|
+
*/
|
|
901
|
+
migrationAcceptWindow: bigint;
|
|
902
|
+
/**
|
|
903
|
+
* migration_cooldown is the seconds after a migration before the member
|
|
904
|
+
* may request another KEY migration (default 30 days). Recovery and
|
|
905
|
+
* council migrations are exempt.
|
|
906
|
+
*/
|
|
907
|
+
migrationCooldown: bigint;
|
|
908
|
+
/**
|
|
909
|
+
* max_key_migrations_per_window caps KEY migrations finalized within
|
|
910
|
+
* key_migration_window (default 2): a rolling window, not a lifetime cap.
|
|
911
|
+
*/
|
|
912
|
+
maxKeyMigrationsPerWindow: number;
|
|
913
|
+
/**
|
|
914
|
+
* key_migration_window is the rolling window in seconds (default 365
|
|
915
|
+
* days). Validated >= 2 * migration_cooldown.
|
|
916
|
+
*/
|
|
917
|
+
keyMigrationWindow: bigint;
|
|
918
|
+
/**
|
|
919
|
+
* recovery_change_delay is the seconds a commitment set, replaced or
|
|
920
|
+
* removed by an existing member waits before it takes effect (default
|
|
921
|
+
* 30 days). Longer than the KEY-path delay, so the recovery path can not
|
|
922
|
+
* be used as a faster key path by whoever holds the key.
|
|
923
|
+
*/
|
|
924
|
+
recoveryChangeDelay: bigint;
|
|
925
|
+
/**
|
|
926
|
+
* recovery_reveal_min_blocks is the minimum age of the sealed commit at
|
|
927
|
+
* reveal (default 20 blocks): the front-running guard.
|
|
928
|
+
*/
|
|
929
|
+
recoveryRevealMinBlocks: bigint;
|
|
930
|
+
/**
|
|
931
|
+
* recovery_commit_ttl is the seconds a sealed commit lives before it
|
|
932
|
+
* expires and its deposit is burned (default 7 days).
|
|
933
|
+
*/
|
|
934
|
+
recoveryCommitTtl: bigint;
|
|
935
|
+
/**
|
|
936
|
+
* recovery_commit_deposit is the SPARK (micro-denom) locked with a sealed
|
|
937
|
+
* commit; refunded on a successful reveal, burned on expiry (default 1
|
|
938
|
+
* SPARK). MsgCommitRecovery is the only permissionless write on the
|
|
939
|
+
* path, so spam has to lock capital.
|
|
940
|
+
*/
|
|
941
|
+
recoveryCommitDeposit: string;
|
|
942
|
+
/**
|
|
943
|
+
* migration_objection_bond is the SPARK (micro-denom) the old address
|
|
944
|
+
* posts with MsgObjectMigration (default 10 SPARK, the appeal bond). Paid
|
|
945
|
+
* to the new address if the jury upholds the migration, refunded if the
|
|
946
|
+
* objector wins; never burned, because on the stolen-key path it is the
|
|
947
|
+
* victim's SPARK.
|
|
948
|
+
*/
|
|
949
|
+
migrationObjectionBond: string;
|
|
950
|
+
/**
|
|
951
|
+
* zk_key_activation_delay is the epochs a changed ZK public key waits
|
|
952
|
+
* before its leaf enters the trust tree (default 14). It must exceed every
|
|
953
|
+
* MESSAGE_FIELD action window (council voting periods, challenge and
|
|
954
|
+
* arbiter windows) so one member cannot act twice on one target with two
|
|
955
|
+
* keys. x/commons refuses voting periods longer than it.
|
|
956
|
+
*/
|
|
957
|
+
zkKeyActivationDelay: bigint;
|
|
863
958
|
}
|
|
864
959
|
export interface ParamsProtoMsg {
|
|
865
960
|
typeUrl: "/sparkdream.rep.v1.Params";
|
|
@@ -1635,6 +1730,101 @@ export interface ParamsAmino {
|
|
|
1635
1730
|
min_initiative_bounty_contribution?: string;
|
|
1636
1731
|
max_initiative_bounty_contributions?: number;
|
|
1637
1732
|
initiative_bounty_reclaim_delay?: string;
|
|
1733
|
+
/**
|
|
1734
|
+
* invitation_acceptance_epochs is how many epochs a PENDING invitation
|
|
1735
|
+
* stays open. Once it passes, the epoch-end sweep marks it EXPIRED,
|
|
1736
|
+
* unlocks the inviter's staked DREAM, restores the spent invitation
|
|
1737
|
+
* credit and frees the invitee address for a new invitation. 0 disables
|
|
1738
|
+
* expiry.
|
|
1739
|
+
*/
|
|
1740
|
+
invitation_acceptance_epochs?: string;
|
|
1741
|
+
/**
|
|
1742
|
+
* migration_enabled is the master switch for every migration path.
|
|
1743
|
+
*/
|
|
1744
|
+
migration_enabled?: boolean;
|
|
1745
|
+
/**
|
|
1746
|
+
* key_path_enabled is the "Q-day switch": governance flips it off if the
|
|
1747
|
+
* account signature scheme is considered broken. Recovery and council
|
|
1748
|
+
* migrations keep working.
|
|
1749
|
+
*/
|
|
1750
|
+
key_path_enabled?: boolean;
|
|
1751
|
+
/**
|
|
1752
|
+
* key_migration_delay is the seconds between the new address accepting a
|
|
1753
|
+
* KEY migration and finalization (default 7 days).
|
|
1754
|
+
*/
|
|
1755
|
+
key_migration_delay?: string;
|
|
1756
|
+
/**
|
|
1757
|
+
* recovery_migration_delay is the same for RECOVERY migrations (default
|
|
1758
|
+
* 2 days).
|
|
1759
|
+
*/
|
|
1760
|
+
recovery_migration_delay?: string;
|
|
1761
|
+
/**
|
|
1762
|
+
* council_migration_delay is the same for COUNCIL migrations (default 21
|
|
1763
|
+
* days); the window in which the old address may object.
|
|
1764
|
+
*/
|
|
1765
|
+
council_migration_delay?: string;
|
|
1766
|
+
/**
|
|
1767
|
+
* migration_accept_window is the seconds the new address has to accept a
|
|
1768
|
+
* requested migration before it expires (default 7 days, so a multisig
|
|
1769
|
+
* can collect signatures).
|
|
1770
|
+
*/
|
|
1771
|
+
migration_accept_window?: string;
|
|
1772
|
+
/**
|
|
1773
|
+
* migration_cooldown is the seconds after a migration before the member
|
|
1774
|
+
* may request another KEY migration (default 30 days). Recovery and
|
|
1775
|
+
* council migrations are exempt.
|
|
1776
|
+
*/
|
|
1777
|
+
migration_cooldown?: string;
|
|
1778
|
+
/**
|
|
1779
|
+
* max_key_migrations_per_window caps KEY migrations finalized within
|
|
1780
|
+
* key_migration_window (default 2): a rolling window, not a lifetime cap.
|
|
1781
|
+
*/
|
|
1782
|
+
max_key_migrations_per_window?: number;
|
|
1783
|
+
/**
|
|
1784
|
+
* key_migration_window is the rolling window in seconds (default 365
|
|
1785
|
+
* days). Validated >= 2 * migration_cooldown.
|
|
1786
|
+
*/
|
|
1787
|
+
key_migration_window?: string;
|
|
1788
|
+
/**
|
|
1789
|
+
* recovery_change_delay is the seconds a commitment set, replaced or
|
|
1790
|
+
* removed by an existing member waits before it takes effect (default
|
|
1791
|
+
* 30 days). Longer than the KEY-path delay, so the recovery path can not
|
|
1792
|
+
* be used as a faster key path by whoever holds the key.
|
|
1793
|
+
*/
|
|
1794
|
+
recovery_change_delay?: string;
|
|
1795
|
+
/**
|
|
1796
|
+
* recovery_reveal_min_blocks is the minimum age of the sealed commit at
|
|
1797
|
+
* reveal (default 20 blocks): the front-running guard.
|
|
1798
|
+
*/
|
|
1799
|
+
recovery_reveal_min_blocks?: string;
|
|
1800
|
+
/**
|
|
1801
|
+
* recovery_commit_ttl is the seconds a sealed commit lives before it
|
|
1802
|
+
* expires and its deposit is burned (default 7 days).
|
|
1803
|
+
*/
|
|
1804
|
+
recovery_commit_ttl?: string;
|
|
1805
|
+
/**
|
|
1806
|
+
* recovery_commit_deposit is the SPARK (micro-denom) locked with a sealed
|
|
1807
|
+
* commit; refunded on a successful reveal, burned on expiry (default 1
|
|
1808
|
+
* SPARK). MsgCommitRecovery is the only permissionless write on the
|
|
1809
|
+
* path, so spam has to lock capital.
|
|
1810
|
+
*/
|
|
1811
|
+
recovery_commit_deposit?: string;
|
|
1812
|
+
/**
|
|
1813
|
+
* migration_objection_bond is the SPARK (micro-denom) the old address
|
|
1814
|
+
* posts with MsgObjectMigration (default 10 SPARK, the appeal bond). Paid
|
|
1815
|
+
* to the new address if the jury upholds the migration, refunded if the
|
|
1816
|
+
* objector wins; never burned, because on the stolen-key path it is the
|
|
1817
|
+
* victim's SPARK.
|
|
1818
|
+
*/
|
|
1819
|
+
migration_objection_bond?: string;
|
|
1820
|
+
/**
|
|
1821
|
+
* zk_key_activation_delay is the epochs a changed ZK public key waits
|
|
1822
|
+
* before its leaf enters the trust tree (default 14). It must exceed every
|
|
1823
|
+
* MESSAGE_FIELD action window (council voting periods, challenge and
|
|
1824
|
+
* arbiter windows) so one member cannot act twice on one target with two
|
|
1825
|
+
* keys. x/commons refuses voting periods longer than it.
|
|
1826
|
+
*/
|
|
1827
|
+
zk_key_activation_delay?: string;
|
|
1638
1828
|
}
|
|
1639
1829
|
export interface ParamsAminoMsg {
|
|
1640
1830
|
type: "sparkdream/x/rep/Params";
|
|
@@ -471,7 +471,23 @@ function createBaseParams() {
|
|
|
471
471
|
maxInitiativeBountyPerFunderEpoch: "",
|
|
472
472
|
minInitiativeBountyContribution: "",
|
|
473
473
|
maxInitiativeBountyContributions: 0,
|
|
474
|
-
initiativeBountyReclaimDelay: BigInt(0)
|
|
474
|
+
initiativeBountyReclaimDelay: BigInt(0),
|
|
475
|
+
invitationAcceptanceEpochs: BigInt(0),
|
|
476
|
+
migrationEnabled: false,
|
|
477
|
+
keyPathEnabled: false,
|
|
478
|
+
keyMigrationDelay: BigInt(0),
|
|
479
|
+
recoveryMigrationDelay: BigInt(0),
|
|
480
|
+
councilMigrationDelay: BigInt(0),
|
|
481
|
+
migrationAcceptWindow: BigInt(0),
|
|
482
|
+
migrationCooldown: BigInt(0),
|
|
483
|
+
maxKeyMigrationsPerWindow: 0,
|
|
484
|
+
keyMigrationWindow: BigInt(0),
|
|
485
|
+
recoveryChangeDelay: BigInt(0),
|
|
486
|
+
recoveryRevealMinBlocks: BigInt(0),
|
|
487
|
+
recoveryCommitTtl: BigInt(0),
|
|
488
|
+
recoveryCommitDeposit: "",
|
|
489
|
+
migrationObjectionBond: "",
|
|
490
|
+
zkKeyActivationDelay: BigInt(0)
|
|
475
491
|
};
|
|
476
492
|
}
|
|
477
493
|
/**
|
|
@@ -928,6 +944,54 @@ exports.Params = {
|
|
|
928
944
|
if (message.initiativeBountyReclaimDelay !== BigInt(0)) {
|
|
929
945
|
writer.uint32(1184).uint64(message.initiativeBountyReclaimDelay);
|
|
930
946
|
}
|
|
947
|
+
if (message.invitationAcceptanceEpochs !== BigInt(0)) {
|
|
948
|
+
writer.uint32(1192).int64(message.invitationAcceptanceEpochs);
|
|
949
|
+
}
|
|
950
|
+
if (message.migrationEnabled === true) {
|
|
951
|
+
writer.uint32(1200).bool(message.migrationEnabled);
|
|
952
|
+
}
|
|
953
|
+
if (message.keyPathEnabled === true) {
|
|
954
|
+
writer.uint32(1208).bool(message.keyPathEnabled);
|
|
955
|
+
}
|
|
956
|
+
if (message.keyMigrationDelay !== BigInt(0)) {
|
|
957
|
+
writer.uint32(1216).int64(message.keyMigrationDelay);
|
|
958
|
+
}
|
|
959
|
+
if (message.recoveryMigrationDelay !== BigInt(0)) {
|
|
960
|
+
writer.uint32(1224).int64(message.recoveryMigrationDelay);
|
|
961
|
+
}
|
|
962
|
+
if (message.councilMigrationDelay !== BigInt(0)) {
|
|
963
|
+
writer.uint32(1232).int64(message.councilMigrationDelay);
|
|
964
|
+
}
|
|
965
|
+
if (message.migrationAcceptWindow !== BigInt(0)) {
|
|
966
|
+
writer.uint32(1240).int64(message.migrationAcceptWindow);
|
|
967
|
+
}
|
|
968
|
+
if (message.migrationCooldown !== BigInt(0)) {
|
|
969
|
+
writer.uint32(1248).int64(message.migrationCooldown);
|
|
970
|
+
}
|
|
971
|
+
if (message.maxKeyMigrationsPerWindow !== 0) {
|
|
972
|
+
writer.uint32(1256).uint32(message.maxKeyMigrationsPerWindow);
|
|
973
|
+
}
|
|
974
|
+
if (message.keyMigrationWindow !== BigInt(0)) {
|
|
975
|
+
writer.uint32(1264).int64(message.keyMigrationWindow);
|
|
976
|
+
}
|
|
977
|
+
if (message.recoveryChangeDelay !== BigInt(0)) {
|
|
978
|
+
writer.uint32(1272).int64(message.recoveryChangeDelay);
|
|
979
|
+
}
|
|
980
|
+
if (message.recoveryRevealMinBlocks !== BigInt(0)) {
|
|
981
|
+
writer.uint32(1280).int64(message.recoveryRevealMinBlocks);
|
|
982
|
+
}
|
|
983
|
+
if (message.recoveryCommitTtl !== BigInt(0)) {
|
|
984
|
+
writer.uint32(1288).int64(message.recoveryCommitTtl);
|
|
985
|
+
}
|
|
986
|
+
if (message.recoveryCommitDeposit !== "") {
|
|
987
|
+
writer.uint32(1298).string(message.recoveryCommitDeposit);
|
|
988
|
+
}
|
|
989
|
+
if (message.migrationObjectionBond !== "") {
|
|
990
|
+
writer.uint32(1306).string(message.migrationObjectionBond);
|
|
991
|
+
}
|
|
992
|
+
if (message.zkKeyActivationDelay !== BigInt(0)) {
|
|
993
|
+
writer.uint32(1312).int64(message.zkKeyActivationDelay);
|
|
994
|
+
}
|
|
931
995
|
return writer;
|
|
932
996
|
},
|
|
933
997
|
decode(input, length) {
|
|
@@ -1381,6 +1445,54 @@ exports.Params = {
|
|
|
1381
1445
|
case 148:
|
|
1382
1446
|
message.initiativeBountyReclaimDelay = reader.uint64();
|
|
1383
1447
|
break;
|
|
1448
|
+
case 149:
|
|
1449
|
+
message.invitationAcceptanceEpochs = reader.int64();
|
|
1450
|
+
break;
|
|
1451
|
+
case 150:
|
|
1452
|
+
message.migrationEnabled = reader.bool();
|
|
1453
|
+
break;
|
|
1454
|
+
case 151:
|
|
1455
|
+
message.keyPathEnabled = reader.bool();
|
|
1456
|
+
break;
|
|
1457
|
+
case 152:
|
|
1458
|
+
message.keyMigrationDelay = reader.int64();
|
|
1459
|
+
break;
|
|
1460
|
+
case 153:
|
|
1461
|
+
message.recoveryMigrationDelay = reader.int64();
|
|
1462
|
+
break;
|
|
1463
|
+
case 154:
|
|
1464
|
+
message.councilMigrationDelay = reader.int64();
|
|
1465
|
+
break;
|
|
1466
|
+
case 155:
|
|
1467
|
+
message.migrationAcceptWindow = reader.int64();
|
|
1468
|
+
break;
|
|
1469
|
+
case 156:
|
|
1470
|
+
message.migrationCooldown = reader.int64();
|
|
1471
|
+
break;
|
|
1472
|
+
case 157:
|
|
1473
|
+
message.maxKeyMigrationsPerWindow = reader.uint32();
|
|
1474
|
+
break;
|
|
1475
|
+
case 158:
|
|
1476
|
+
message.keyMigrationWindow = reader.int64();
|
|
1477
|
+
break;
|
|
1478
|
+
case 159:
|
|
1479
|
+
message.recoveryChangeDelay = reader.int64();
|
|
1480
|
+
break;
|
|
1481
|
+
case 160:
|
|
1482
|
+
message.recoveryRevealMinBlocks = reader.int64();
|
|
1483
|
+
break;
|
|
1484
|
+
case 161:
|
|
1485
|
+
message.recoveryCommitTtl = reader.int64();
|
|
1486
|
+
break;
|
|
1487
|
+
case 162:
|
|
1488
|
+
message.recoveryCommitDeposit = reader.string();
|
|
1489
|
+
break;
|
|
1490
|
+
case 163:
|
|
1491
|
+
message.migrationObjectionBond = reader.string();
|
|
1492
|
+
break;
|
|
1493
|
+
case 164:
|
|
1494
|
+
message.zkKeyActivationDelay = reader.int64();
|
|
1495
|
+
break;
|
|
1384
1496
|
default:
|
|
1385
1497
|
reader.skipType(tag & 7);
|
|
1386
1498
|
break;
|
|
@@ -1538,6 +1650,22 @@ exports.Params = {
|
|
|
1538
1650
|
message.minInitiativeBountyContribution = object.minInitiativeBountyContribution ?? "";
|
|
1539
1651
|
message.maxInitiativeBountyContributions = object.maxInitiativeBountyContributions ?? 0;
|
|
1540
1652
|
message.initiativeBountyReclaimDelay = object.initiativeBountyReclaimDelay !== undefined && object.initiativeBountyReclaimDelay !== null ? BigInt(object.initiativeBountyReclaimDelay.toString()) : BigInt(0);
|
|
1653
|
+
message.invitationAcceptanceEpochs = object.invitationAcceptanceEpochs !== undefined && object.invitationAcceptanceEpochs !== null ? BigInt(object.invitationAcceptanceEpochs.toString()) : BigInt(0);
|
|
1654
|
+
message.migrationEnabled = object.migrationEnabled ?? false;
|
|
1655
|
+
message.keyPathEnabled = object.keyPathEnabled ?? false;
|
|
1656
|
+
message.keyMigrationDelay = object.keyMigrationDelay !== undefined && object.keyMigrationDelay !== null ? BigInt(object.keyMigrationDelay.toString()) : BigInt(0);
|
|
1657
|
+
message.recoveryMigrationDelay = object.recoveryMigrationDelay !== undefined && object.recoveryMigrationDelay !== null ? BigInt(object.recoveryMigrationDelay.toString()) : BigInt(0);
|
|
1658
|
+
message.councilMigrationDelay = object.councilMigrationDelay !== undefined && object.councilMigrationDelay !== null ? BigInt(object.councilMigrationDelay.toString()) : BigInt(0);
|
|
1659
|
+
message.migrationAcceptWindow = object.migrationAcceptWindow !== undefined && object.migrationAcceptWindow !== null ? BigInt(object.migrationAcceptWindow.toString()) : BigInt(0);
|
|
1660
|
+
message.migrationCooldown = object.migrationCooldown !== undefined && object.migrationCooldown !== null ? BigInt(object.migrationCooldown.toString()) : BigInt(0);
|
|
1661
|
+
message.maxKeyMigrationsPerWindow = object.maxKeyMigrationsPerWindow ?? 0;
|
|
1662
|
+
message.keyMigrationWindow = object.keyMigrationWindow !== undefined && object.keyMigrationWindow !== null ? BigInt(object.keyMigrationWindow.toString()) : BigInt(0);
|
|
1663
|
+
message.recoveryChangeDelay = object.recoveryChangeDelay !== undefined && object.recoveryChangeDelay !== null ? BigInt(object.recoveryChangeDelay.toString()) : BigInt(0);
|
|
1664
|
+
message.recoveryRevealMinBlocks = object.recoveryRevealMinBlocks !== undefined && object.recoveryRevealMinBlocks !== null ? BigInt(object.recoveryRevealMinBlocks.toString()) : BigInt(0);
|
|
1665
|
+
message.recoveryCommitTtl = object.recoveryCommitTtl !== undefined && object.recoveryCommitTtl !== null ? BigInt(object.recoveryCommitTtl.toString()) : BigInt(0);
|
|
1666
|
+
message.recoveryCommitDeposit = object.recoveryCommitDeposit ?? "";
|
|
1667
|
+
message.migrationObjectionBond = object.migrationObjectionBond ?? "";
|
|
1668
|
+
message.zkKeyActivationDelay = object.zkKeyActivationDelay !== undefined && object.zkKeyActivationDelay !== null ? BigInt(object.zkKeyActivationDelay.toString()) : BigInt(0);
|
|
1541
1669
|
return message;
|
|
1542
1670
|
},
|
|
1543
1671
|
fromAmino(object) {
|
|
@@ -1986,6 +2114,54 @@ exports.Params = {
|
|
|
1986
2114
|
if (object.initiative_bounty_reclaim_delay !== undefined && object.initiative_bounty_reclaim_delay !== null) {
|
|
1987
2115
|
message.initiativeBountyReclaimDelay = BigInt(object.initiative_bounty_reclaim_delay);
|
|
1988
2116
|
}
|
|
2117
|
+
if (object.invitation_acceptance_epochs !== undefined && object.invitation_acceptance_epochs !== null) {
|
|
2118
|
+
message.invitationAcceptanceEpochs = BigInt(object.invitation_acceptance_epochs);
|
|
2119
|
+
}
|
|
2120
|
+
if (object.migration_enabled !== undefined && object.migration_enabled !== null) {
|
|
2121
|
+
message.migrationEnabled = object.migration_enabled;
|
|
2122
|
+
}
|
|
2123
|
+
if (object.key_path_enabled !== undefined && object.key_path_enabled !== null) {
|
|
2124
|
+
message.keyPathEnabled = object.key_path_enabled;
|
|
2125
|
+
}
|
|
2126
|
+
if (object.key_migration_delay !== undefined && object.key_migration_delay !== null) {
|
|
2127
|
+
message.keyMigrationDelay = BigInt(object.key_migration_delay);
|
|
2128
|
+
}
|
|
2129
|
+
if (object.recovery_migration_delay !== undefined && object.recovery_migration_delay !== null) {
|
|
2130
|
+
message.recoveryMigrationDelay = BigInt(object.recovery_migration_delay);
|
|
2131
|
+
}
|
|
2132
|
+
if (object.council_migration_delay !== undefined && object.council_migration_delay !== null) {
|
|
2133
|
+
message.councilMigrationDelay = BigInt(object.council_migration_delay);
|
|
2134
|
+
}
|
|
2135
|
+
if (object.migration_accept_window !== undefined && object.migration_accept_window !== null) {
|
|
2136
|
+
message.migrationAcceptWindow = BigInt(object.migration_accept_window);
|
|
2137
|
+
}
|
|
2138
|
+
if (object.migration_cooldown !== undefined && object.migration_cooldown !== null) {
|
|
2139
|
+
message.migrationCooldown = BigInt(object.migration_cooldown);
|
|
2140
|
+
}
|
|
2141
|
+
if (object.max_key_migrations_per_window !== undefined && object.max_key_migrations_per_window !== null) {
|
|
2142
|
+
message.maxKeyMigrationsPerWindow = object.max_key_migrations_per_window;
|
|
2143
|
+
}
|
|
2144
|
+
if (object.key_migration_window !== undefined && object.key_migration_window !== null) {
|
|
2145
|
+
message.keyMigrationWindow = BigInt(object.key_migration_window);
|
|
2146
|
+
}
|
|
2147
|
+
if (object.recovery_change_delay !== undefined && object.recovery_change_delay !== null) {
|
|
2148
|
+
message.recoveryChangeDelay = BigInt(object.recovery_change_delay);
|
|
2149
|
+
}
|
|
2150
|
+
if (object.recovery_reveal_min_blocks !== undefined && object.recovery_reveal_min_blocks !== null) {
|
|
2151
|
+
message.recoveryRevealMinBlocks = BigInt(object.recovery_reveal_min_blocks);
|
|
2152
|
+
}
|
|
2153
|
+
if (object.recovery_commit_ttl !== undefined && object.recovery_commit_ttl !== null) {
|
|
2154
|
+
message.recoveryCommitTtl = BigInt(object.recovery_commit_ttl);
|
|
2155
|
+
}
|
|
2156
|
+
if (object.recovery_commit_deposit !== undefined && object.recovery_commit_deposit !== null) {
|
|
2157
|
+
message.recoveryCommitDeposit = object.recovery_commit_deposit;
|
|
2158
|
+
}
|
|
2159
|
+
if (object.migration_objection_bond !== undefined && object.migration_objection_bond !== null) {
|
|
2160
|
+
message.migrationObjectionBond = object.migration_objection_bond;
|
|
2161
|
+
}
|
|
2162
|
+
if (object.zk_key_activation_delay !== undefined && object.zk_key_activation_delay !== null) {
|
|
2163
|
+
message.zkKeyActivationDelay = BigInt(object.zk_key_activation_delay);
|
|
2164
|
+
}
|
|
1989
2165
|
return message;
|
|
1990
2166
|
},
|
|
1991
2167
|
toAmino(message) {
|
|
@@ -2138,6 +2314,22 @@ exports.Params = {
|
|
|
2138
2314
|
obj.min_initiative_bounty_contribution = message.minInitiativeBountyContribution === "" ? undefined : message.minInitiativeBountyContribution;
|
|
2139
2315
|
obj.max_initiative_bounty_contributions = message.maxInitiativeBountyContributions === 0 ? undefined : message.maxInitiativeBountyContributions;
|
|
2140
2316
|
obj.initiative_bounty_reclaim_delay = message.initiativeBountyReclaimDelay !== BigInt(0) ? message.initiativeBountyReclaimDelay?.toString() : undefined;
|
|
2317
|
+
obj.invitation_acceptance_epochs = message.invitationAcceptanceEpochs !== BigInt(0) ? message.invitationAcceptanceEpochs?.toString() : undefined;
|
|
2318
|
+
obj.migration_enabled = message.migrationEnabled === false ? undefined : message.migrationEnabled;
|
|
2319
|
+
obj.key_path_enabled = message.keyPathEnabled === false ? undefined : message.keyPathEnabled;
|
|
2320
|
+
obj.key_migration_delay = message.keyMigrationDelay !== BigInt(0) ? message.keyMigrationDelay?.toString() : undefined;
|
|
2321
|
+
obj.recovery_migration_delay = message.recoveryMigrationDelay !== BigInt(0) ? message.recoveryMigrationDelay?.toString() : undefined;
|
|
2322
|
+
obj.council_migration_delay = message.councilMigrationDelay !== BigInt(0) ? message.councilMigrationDelay?.toString() : undefined;
|
|
2323
|
+
obj.migration_accept_window = message.migrationAcceptWindow !== BigInt(0) ? message.migrationAcceptWindow?.toString() : undefined;
|
|
2324
|
+
obj.migration_cooldown = message.migrationCooldown !== BigInt(0) ? message.migrationCooldown?.toString() : undefined;
|
|
2325
|
+
obj.max_key_migrations_per_window = message.maxKeyMigrationsPerWindow === 0 ? undefined : message.maxKeyMigrationsPerWindow;
|
|
2326
|
+
obj.key_migration_window = message.keyMigrationWindow !== BigInt(0) ? message.keyMigrationWindow?.toString() : undefined;
|
|
2327
|
+
obj.recovery_change_delay = message.recoveryChangeDelay !== BigInt(0) ? message.recoveryChangeDelay?.toString() : undefined;
|
|
2328
|
+
obj.recovery_reveal_min_blocks = message.recoveryRevealMinBlocks !== BigInt(0) ? message.recoveryRevealMinBlocks?.toString() : undefined;
|
|
2329
|
+
obj.recovery_commit_ttl = message.recoveryCommitTtl !== BigInt(0) ? message.recoveryCommitTtl?.toString() : undefined;
|
|
2330
|
+
obj.recovery_commit_deposit = message.recoveryCommitDeposit === "" ? undefined : message.recoveryCommitDeposit;
|
|
2331
|
+
obj.migration_objection_bond = message.migrationObjectionBond === "" ? undefined : message.migrationObjectionBond;
|
|
2332
|
+
obj.zk_key_activation_delay = message.zkKeyActivationDelay !== BigInt(0) ? message.zkKeyActivationDelay?.toString() : undefined;
|
|
2141
2333
|
return obj;
|
|
2142
2334
|
},
|
|
2143
2335
|
fromAminoMsg(object) {
|