Skip to main content

TypeAlias.MultisigManagementInvalidReason

type MultisigManagementInvalidReason = ObjectEnum<typeof MultisigManagementInvalidReason>;

params.reason of a MULTISIG_MANAGEMENT_CHANGE_INVALID.

  • invalid-signer: a key that is not a valid signer.
  • already-exists: the key to add already belongs to the set.
  • nonexistent-signer: the signer to remove is not in the set on chain.
  • unreachable-threshold: the threshold would exceed the signers left.
  • no-margin-signers: every signer of the resulting set must sign.
  • too-few-signers: a treasury keeps at least two signers.
  • no-margin: the change would leave no spare signer.
  • invalid-request: the request does not describe a valid change.
  • add-needs-candidate: an addition that names nobody.
  • target-not-active: the signer to remove holds no active key.
  • threshold-unchanged: the treasury already has that threshold.
  • not-enough-approvers: fewer eligible approvers than the change needs.
  • candidate-not-member: the candidate may not manage the treasury.
  • candidate-has-key: the candidate already holds a key of the treasury.
  • too-many-signers: the addition would bring a twelfth signer.
  • foreign-key: the joining key is not a passkey of the treasury's network.
  • recovery-quarantine: one no-margin recovery per 30 days; params.reopensAt says when.
  • stale-proof: the recovery's proof was made at another management nonce.