add new fields to contract

This commit is contained in:
Florian Dold 2016-11-03 01:53:53 +01:00
parent d1291f6755
commit 2f57643e2e

View File

@ -347,9 +347,15 @@ export class Contract {
@Checkable.List(Checkable.AnyObject)
auditors: any[];
@Checkable.String
/**
* DEPRECATED alias for pay_deadline.
*/
@Checkable.Optional(Checkable.String)
expiry: string;
@Checkable.Optional(Checkable.String)
pay_deadline: string;
@Checkable.Any
locations: any;
@ -383,9 +389,15 @@ export class Contract {
@Checkable.Optional(Checkable.String)
repurchase_correlation_id: string;
/**
* DEPRECATED alias for instance
*/
@Checkable.Optional(Checkable.String)
receiver: string;
@Checkable.Optional(Checkable.String)
instance: string;
static checked: (obj: any) => Contract;
}