Skip to content

Instantly share code, notes, and snippets.

@alexytiger
Created July 16, 2019 18:00
Show Gist options
  • Save alexytiger/a563639aabb63250a04ac42a057975f1 to your computer and use it in GitHub Desktop.
Save alexytiger/a563639aabb63250a04ac42a057975f1 to your computer and use it in GitHub Desktop.
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