# Contract Architecture

### How Data Flows

Players may take positions by selecting a number of variables and depositing ERC-20 collateral. New positions are represented as ERC-721 tokens (Mimes).&#x20;

![Mimicry data flow diagram](https://1902786921-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FuzaMnyiTbEZGPCLnMftY%2Fuploads%2FvBRTim5liuSbTb0GZO7X%2FMimicry%20Swim%20Lanes%20\(2\).png?alt=media\&token=fb56f81e-d79e-40e2-abf7-d4c4dcec9ef1)

### Mimics as NFTs

Each minted Mimic will contain specialized metadata written to the blockchain. When rendered within a wallet, that data, along with real-time performance information, will be visible in the NFT itself. Some of the data recorded may include:

* The NFT collection to peg value against
* The direction of the collection's price prediction (long or short)
* The USD liquidation value of the position, after fees
* The amount of profit, expressed as a percentage
* The amount of rewards earned

| ![](https://1902786921-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FuzaMnyiTbEZGPCLnMftY%2Fuploads%2F6z9nEgq23KPt2Ar0knsD%2Fnft%20card%20\(1\).png?alt=media\&token=ab27a8d0-03cc-4c32-b7e2-bcd41af33280) | ![](https://1902786921-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FuzaMnyiTbEZGPCLnMftY%2Fuploads%2FPsX0IAKEADwEUVuTfy1e%2FFrame%20108.png?alt=media\&token=2f44fc61-b8d6-4776-8887-d3fdfbdb8872) |
| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
