Model to Model Transformation (A3.1)
We used the metamodel defined in homework 2 as the version1 and the modified version as version 2 The following modifications were made to the metamodel from version 1 :
- Rename concept TransferRequest as Transfer
- Add concept Wallet
- Add new hierarchy: Wallet comes under Account
- Wallet has reference TokenBalance and attribute walletId
- Delete reference TokenBalance from concept Account
- Change attribute leverage to string (from enum type leverage) in concept Order
- Rename SavingOrder as SaveToken
- Delete concept TokenPair, move concepts(tokenA and tokenB) to concept Order
- Remove reference TokenPair from Order
- Delete containment TokenNetwork from the root CryptoExchange
- move TokenNetwork to concept Subsystem
Model to HTML (A3.2) We used Acceleo to define a model to html transformation and the html doc provides information about a cryptoexchange model