CatapultServer  v0.5.0.1 (Elephant)
catapult::state::MultisigEntry Class Reference

Multisig entry. More...

Inheritance diagram for catapult::state::MultisigEntry:
Collaboration diagram for catapult::state::MultisigEntry:

Public Member Functions

 MultisigEntry (const Key &key)
 Creates a multisig entry around key. More...
 
const Keykey () const
 Gets the account public key. More...
 
- Public Member Functions inherited from catapult::state::MultisigCosignatoriesMixin
 MultisigCosignatoriesMixin ()
 Creates multisig cosignatories mixin. More...
 
const utils::SortedKeySetcosignatories () const
 Gets cosignatory account keys. More...
 
utils::SortedKeySetcosignatories ()
 Gets cosignatory account keys. More...
 
bool hasCosignatory (const Key &key) const
 Returns true if key is a cosignatory. More...
 
uint8_t minApproval () const
 Gets the number of cosignatories required when approving (any) transaction. More...
 
void setMinApproval (uint8_t minApproval)
 Sets the number of cosignatories required (minApproval) when approving (any) transaction. More...
 
uint8_t minRemoval () const
 Gets the number of cosignatories required when removing an account. More...
 
void setMinRemoval (uint8_t minRemoval)
 Sets the number of cosignatories required (minRemoval) when removing an account. More...
 
- Public Member Functions inherited from catapult::state::MultisigCosignatoryOfMixin
const utils::SortedKeySetmultisigAccounts () const
 Gets multisig account keys. More...
 
utils::SortedKeySetmultisigAccounts ()
 Gets multisig account keys. More...
 

Private Attributes

Key m_key
 

Detailed Description

Multisig entry.

Constructor & Destructor Documentation

◆ MultisigEntry()

catapult::state::MultisigEntry::MultisigEntry ( const Key key)
inlineexplicit

Creates a multisig entry around key.

Member Function Documentation

◆ key()

const Key& catapult::state::MultisigEntry::key ( ) const
inline

Gets the account public key.

Here is the caller graph for this function:

Member Data Documentation

◆ m_key

Key catapult::state::MultisigEntry::m_key
private

The documentation for this class was generated from the following file: