Created
July 16, 2019 18:00
-
-
Save alexytiger/a563639aabb63250a04ac42a057975f1 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| export enum ContractState{ | |
| 'Created' = 0, | |
| 'Locked', | |
| 'Inactive' | |
| }; | |
| export interface PurchaseContractModel { | |
| productKey: string; | |
| contractAddress: string; | |
| sellerAddress: string; | |
| buyerAddress?: string; | |
| price: string; // $ETH | |
| title: string; | |
| ipfsHash: string; | |
| state: ContractState; | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment