polymesh_api_tester

Type Alias MultiSigEvent

Source
pub type MultiSigEvent = MultiSigEvent<AccountId>;

Aliased Type§

enum MultiSigEvent {
    MultiSigCreated(IdentityId, AccountId, AccountId, Vec<Signatory<AccountId>>, u64),
    ProposalAdded(IdentityId, AccountId, u64),
    ProposalExecuted(IdentityId, AccountId, u64, bool),
    MultiSigSignerAdded(IdentityId, AccountId, Signatory<AccountId>),
    MultiSigSignerAuthorized(IdentityId, AccountId, Signatory<AccountId>),
    MultiSigSignerRemoved(IdentityId, AccountId, Signatory<AccountId>),
    MultiSigSignaturesRequiredChanged(IdentityId, AccountId, u64),
    ProposalApproved(IdentityId, AccountId, Signatory<AccountId>, u64),
    ProposalRejectionVote(IdentityId, AccountId, Signatory<AccountId>, u64),
    ProposalRejected(IdentityId, AccountId, u64),
    ProposalExecutionFailed(DispatchError),
    SchedulingFailed(DispatchError),
}

Variants§

§

MultiSigCreated(IdentityId, AccountId, AccountId, Vec<Signatory<AccountId>>, u64)

Event emitted after creation of a multisig. Arguments: caller DID, multisig address, signers (pending approval), signatures required.

§

ProposalAdded(IdentityId, AccountId, u64)

Event emitted after adding a proposal. Arguments: caller DID, multisig, proposal ID.

§

ProposalExecuted(IdentityId, AccountId, u64, bool)

Event emitted when a proposal is executed. Arguments: caller DID, multisig, proposal ID, result.

§

MultiSigSignerAdded(IdentityId, AccountId, Signatory<AccountId>)

Event emitted when a signatory is added. Arguments: caller DID, multisig, added signer.

§

MultiSigSignerAuthorized(IdentityId, AccountId, Signatory<AccountId>)

Event emitted when a multisig signatory is authorized to be added. Arguments: caller DID, multisig, authorized signer.

§

MultiSigSignerRemoved(IdentityId, AccountId, Signatory<AccountId>)

Event emitted when a multisig signatory is removed. Arguments: caller DID, multisig, removed signer.

§

MultiSigSignaturesRequiredChanged(IdentityId, AccountId, u64)

Event emitted when the number of required signatures is changed. Arguments: caller DID, multisig, new required signatures.

§

ProposalApproved(IdentityId, AccountId, Signatory<AccountId>, u64)

Event emitted when the proposal get approved. Arguments: caller DID, multisig, authorized signer, proposal id.

§

ProposalRejectionVote(IdentityId, AccountId, Signatory<AccountId>, u64)

Event emitted when a vote is cast in favor of rejecting a proposal. Arguments: caller DID, multisig, authorized signer, proposal id.

§

ProposalRejected(IdentityId, AccountId, u64)

Event emitted when a proposal is rejected. Arguments: caller DID, multisig, proposal ID.

§

ProposalExecutionFailed(DispatchError)

Event emitted when there’s an error in proposal execution

§

SchedulingFailed(DispatchError)

Scheduling of proposal fails.