Deposit EACs to Exchange

Users deposit EACs by sending them to their Exchange deposit account. In many cases sending EACs to the Exchange will be included in the broader Origin application in combination with the issuer module but it is not necessary. Users can use any kind of wallet application that supports the EAC tokens to send them. Deposit accounts are used to create clear user accounting when moving EAC tokens to the exchange. From the deposit account, the EAC tokens are forwarded to the Exchange's hot wallet. This happens in the background and is not visible to the user. The Exchange monitors all users’ deposit accounts and creates an asset in the respective user account for every deposited EAC. 

Assets represent the EACs on the exchange. Every asset is tied to one specific device and a specific time frame. It contains the most important EAC information like the address of the EAC token smart contract, the id of the non-fungible part of the EAC token, the id of the generation device and the time frame of the generation. Storing deposited EAC token data this way allows efficient information handling and trading on the Exchange. Assets and amounts for EACs that have just been deposited are stored in the active part of the Exchange user account.

Requirements

  • Every EAC token transfer to all known user deposit should be noticed by the system

  • Every EAC token deposit should be securely stored in the exchange wallet

  • Every deposit should result in the creation or adjustment of an asset

  • Every asset should be created in the right exchange user account with the right volume and characteristics

  • The asset volume should appear in the active part of the exchange user account

  • Every EAC token volume should only be represented by one unique asset volume that can only exist once in the system

  • Volumes of the same EAC token should be associated with the same asset

  • The asset volume cannot surpass the deposited EAC token volume