@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
|
@@ -868,6 +868,93 @@ export interface Params {
|
|
|
868
868
|
* expiry.
|
|
869
869
|
*/
|
|
870
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;
|
|
871
958
|
}
|
|
872
959
|
export interface ParamsProtoMsg {
|
|
873
960
|
typeUrl: "/sparkdream.rep.v1.Params";
|
|
@@ -1651,6 +1738,93 @@ export interface ParamsAmino {
|
|
|
1651
1738
|
* expiry.
|
|
1652
1739
|
*/
|
|
1653
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;
|
|
1654
1828
|
}
|
|
1655
1829
|
export interface ParamsAminoMsg {
|
|
1656
1830
|
type: "sparkdream/x/rep/Params";
|
|
@@ -472,7 +472,22 @@ function createBaseParams() {
|
|
|
472
472
|
minInitiativeBountyContribution: "",
|
|
473
473
|
maxInitiativeBountyContributions: 0,
|
|
474
474
|
initiativeBountyReclaimDelay: BigInt(0),
|
|
475
|
-
invitationAcceptanceEpochs: 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)
|
|
476
491
|
};
|
|
477
492
|
}
|
|
478
493
|
/**
|
|
@@ -932,6 +947,51 @@ exports.Params = {
|
|
|
932
947
|
if (message.invitationAcceptanceEpochs !== BigInt(0)) {
|
|
933
948
|
writer.uint32(1192).int64(message.invitationAcceptanceEpochs);
|
|
934
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
|
+
}
|
|
935
995
|
return writer;
|
|
936
996
|
},
|
|
937
997
|
decode(input, length) {
|
|
@@ -1388,6 +1448,51 @@ exports.Params = {
|
|
|
1388
1448
|
case 149:
|
|
1389
1449
|
message.invitationAcceptanceEpochs = reader.int64();
|
|
1390
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;
|
|
1391
1496
|
default:
|
|
1392
1497
|
reader.skipType(tag & 7);
|
|
1393
1498
|
break;
|
|
@@ -1546,6 +1651,21 @@ exports.Params = {
|
|
|
1546
1651
|
message.maxInitiativeBountyContributions = object.maxInitiativeBountyContributions ?? 0;
|
|
1547
1652
|
message.initiativeBountyReclaimDelay = object.initiativeBountyReclaimDelay !== undefined && object.initiativeBountyReclaimDelay !== null ? BigInt(object.initiativeBountyReclaimDelay.toString()) : BigInt(0);
|
|
1548
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);
|
|
1549
1669
|
return message;
|
|
1550
1670
|
},
|
|
1551
1671
|
fromAmino(object) {
|
|
@@ -1997,6 +2117,51 @@ exports.Params = {
|
|
|
1997
2117
|
if (object.invitation_acceptance_epochs !== undefined && object.invitation_acceptance_epochs !== null) {
|
|
1998
2118
|
message.invitationAcceptanceEpochs = BigInt(object.invitation_acceptance_epochs);
|
|
1999
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
|
+
}
|
|
2000
2165
|
return message;
|
|
2001
2166
|
},
|
|
2002
2167
|
toAmino(message) {
|
|
@@ -2150,6 +2315,21 @@ exports.Params = {
|
|
|
2150
2315
|
obj.max_initiative_bounty_contributions = message.maxInitiativeBountyContributions === 0 ? undefined : message.maxInitiativeBountyContributions;
|
|
2151
2316
|
obj.initiative_bounty_reclaim_delay = message.initiativeBountyReclaimDelay !== BigInt(0) ? message.initiativeBountyReclaimDelay?.toString() : undefined;
|
|
2152
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;
|
|
2153
2333
|
return obj;
|
|
2154
2334
|
},
|
|
2155
2335
|
fromAminoMsg(object) {
|