@fruitsjs/contracts
Version:
Smart Contracts package for Fruits Eco-Blockchain
27 lines (26 loc) • 626 B
text/typescript
/**
* The contract interface returned from BRS API [[ContractApi.getContract]]
* @module contracts
*/
export interface Contract {
creator: string;
creatorRS: string;
at: string;
atRS: string;
atVersion: number;
name: string;
description: string;
machineCode: string;
machineData: string;
balanceNQT: string;
prevBalanceNQT: string;
nextBlock: number;
frozen: boolean;
running: boolean;
stopped: boolean;
finished: boolean;
dead: boolean;
minActivation: string;
creationBlock: number;
requestProcessingTime: number;
}