#[derive(SimpleMultisig)]
{
    // Attributes available to this derive:
    #[simple_multisig]
}
Expand description

Create a simple multisig component. Does not expose any functions to the blockchain. Creates implementations for ApprovalManager and AccountApprover for the target contract struct.

Fields may be specified in the #[simple_multisig(...)] attribute.

Fields include:

  • storage_key Storage prefix for multisig data (optional, default: b"~sm")
  • action What sort of approval Action can be approved by the multisig component?
  • role Approving accounts are required to have this Rbac role.