Skip to content

04. Stock Transfer

arthur-clara edited this page Aug 22, 2024 · 1 revision

Description

The full or partial transfer or secondary sale of a stock issuance from one stakeholder to another.

Required Variables

Variable Type
id String
object_type Constant
date Date
security_id String
resulting_security_ids Array
quantity Numeric

Validation checks

security_id validations

A TX_STOCK_ISSUANCE exists that has the same security_id as the TX_STOCK_TRANSFER

  • This TX_STOCK_ISSUANCE cannot be the security_id for any other transactions except for a TX_STOCK_ACCEPTANCE.
  • This TX_STOCK_ISSUANCE must have a date before or equal to the date of the TX_STOCK_TRANSFER
  • This TX_STOCK_ISSUANCE must have a quantity equal to or greater than the quantity of the TX_STOCK_TRANSFER

resulting_security_id validations

A TX_STOCK_ISSUANCE must exist that has the same security_id as each element in the resulting_security_id array

  • Each TX_STOCK_ISSUANCE must have a date the same as the date of the TX_STOCK_TRANSFER
  • The sum of the TX_STOCK_ISSUANCE quantities for each element in the resulting security_id array must be equal to the quantity of the TX_STOCK_TRANSFER
  • Each TX_STOCK_ISSUANCE must have a different stakeholder_id as the TX_STOCK_ISSUANCE that is the security_id of the TX_STOCK_TRANSFER
  • Each TX_STOCK_ISSUANCE must have the same stock_class_id as the TX_STOCK_ISSUANCE that is the security_id of the TX_STOCK_TRANSFER

balance_security_id

If the balance_security_id exists, a TX_STOCK_ISSUANCE must exist with the same security_id as the balance_security_id

  • This TX_STOCK_ISSUANCE must have a date the same as the date of the TX_STOCK_TRANSFER
  • The quantity of this TX_STOCK_ISSUANCE must be equal to the quantity of the TX_STOCK_ISSUANCE that is the security_id minus the quantity of the TX_STOCK_TRANSFER
  • This TX_STOCK_ISSUANCE must have the same stakeholder_id as the TX_STOCK_ISSUANCE that is the security_id of the TX_STOCK_TRANSFER
  • This TX_STOCK_ISSUANCE must have the same stock_class_id as the TX_STOCK_ISSUANCE that is the security_id of the TX_STOCK_TRANSFER

Notes / Open questions

New question: Do all the TX_STOCK_ISSUANCEs in the resulting_security_id array have to have stakeholder_ids that differ from the security_id of the TX_STOCK_TRANSFER?

Does a stock issuance have to be approved before it is transferred? (Discussed - feels like a warning for now but needs further investigation) Can the dates of the stock issuances referred to in the resulting_security_ids or balance_security_id be in the future?

Clone this wiki locally