Class MultisigAccountModificationTransactionV1Descriptor
- All Implemented Interfaces:
SymbolTransactionDescriptor,SymbolTypedDescriptor,TypedDescriptor
- MultisigAccountModificationTransactionV1Descriptor
Type safe descriptor used to generate a descriptor map for MultisigAccountModificationTransactionV1Descriptor.
Create or modify a multi-signature account (V1, latest). This transaction allows you to:
- Transform a regular account into a multisig account.
- Change the configurable properties of a multisig account.
- Add or delete cosignatories from a multisig account (removing all cosignatories turns a multisig account into a regular account again).
-
Constructor Summary
ConstructorsConstructorDescriptionMultisigAccountModificationTransactionV1Descriptor(int minRemovalDelta, int minApprovalDelta, List<Address> addressAdditions, List<Address> addressDeletions) Creates a descriptor for MultisigAccountModificationTransactionV1. -
Method Summary
-
Constructor Details
-
MultisigAccountModificationTransactionV1Descriptor
public MultisigAccountModificationTransactionV1Descriptor(int minRemovalDelta, int minApprovalDelta, List<Address> addressAdditions, List<Address> addressDeletions) Creates a descriptor for MultisigAccountModificationTransactionV1.- Parameters:
minRemovalDelta- Relative change to the minimum number of cosignatures required when removing a cosignatory. E.g., when moving from 0 to 2 cosignatures this number would be 2. When moving from 4 to 3 cosignatures, the number would be -1.minApprovalDelta- Relative change to the minimum number of cosignatures required when approving a transaction. E.g., when moving from 0 to 2 cosignatures this number would be 2. When moving from 4 to 3 cosignatures, the number would be -1.addressAdditions- Cosignatory address additions. All accounts in this list will be able to cosign transactions on behalf of the multisig account. The number of required cosignatures depends on the configured minimum approval and minimum removal values. (field is omitted when null)addressDeletions- Cosignatory address deletions. All accounts in this list will stop being able to cosign transactions on behalf of the multisig account. A transaction containing any address in this array requires a number of cosignatures at least equal to the minimum removal value. (field is omitted when null)
-
-
Method Details
-
toMap
- MultisigAccountModificationTransactionV1Descriptor.toMap
Builds a representation of this descriptor that can be passed to a factory function.
- Specified by:
toMapin interfaceTypedDescriptor- Returns:
Descriptor map that can be passed to a transaction factory.
-