Helpers to distinguish between single_signer_accounts
and multi_sig accounts
#211
Labels
[Type] Task
An additional feature or improvement.
Task description
Add helper functions on the
account_info
type to distinguish betweensingle_signer_accounts
andmulti_sig_accounts
. Such logic is often implemented in many dapps to e.g. excludemulti-sig
accounts from interacting with specific services. By providing a dedicated function, the logic can be easier re-used.https://github.com/Concordium/concordium-dapp-examples/blob/e34d1a55e92bb912695147f9561afe4af6af2620/compliant-reward-distribution/indexer-and-server/src/bin/server.rs#L495
Sub-tasks
The text was updated successfully, but these errors were encountered: