Election Object
An Election is a result of a signing process/change in critical wallet settings that we have in our system. This is taking a crucial part of the Multi Party Approval.
The Election is stored and managed in the wallet and identified in the system by its unique ID, the UUID.
The following table describes the fields in the REST API messages for elections:
Field | Type | Description |
---|---|---|
id | string | The UUID. A unique ID of the election. |
created_at | date | The creation time of the election. Standard format of timestamp with a time zone. ISO_8601 |
updated_at | date | The time when the election details were last updated. Standard format of timestamp with a time zone. ISO_8601 |
proposition_type | number | The type of the election. One of the following: * TRANSFER = 1 * ASSET_SPENDING_LIMIT_CHANGE = 10 * USER_SPENDING_LIMIT_CHANGE = 11 * WALLET_QUORUM_CHANGE = 20 * WALLET_USER_ADD = 21 * WALLET_USER_REMOVE = 22 * WALLET_CONNECT_OP = 31 * ORGANIZATION_QUORUM_CHANGE = 40 * ORGANIZATION_ADMIN_ADD = 41 * ORGANIZATION_ADMIN_REMOVE = 42 * ORGANIZATION_WHITELIST_REMOVE = 51 * ORGANIZATION_WHITELIST_UPDATE = 52 |
proposition_data | dict | All details of the proposition data of that election. |
num_required_accept | number | The number of required owners in order that election to be approved. |
closed_at | date | The closing time of the election. Standard format of timestamp with a time zone. ISO_8601 |
expires_at | date | The expiry time of the election. Standard format of timestamp with a time zone. ISO_8601 |
decision | number | The decision of the election. One of the following: * PENDING =0 * APPROVED=1 * REJECTED=2 * ABSTAINED=3 |
organization_id | string | The organization id this election belongs to. See Organization Object |
initiator_id | string | The user_id of the election that initiated the transfer. Take a look at the users. |