@0x:contracts-integrations Fixed package after rebase

This commit is contained in:
Alex Towle
2019-10-22 13:15:01 -07:00
parent f5a6b84fa3
commit 3a1fc9ee5f
4 changed files with 7 additions and 186 deletions

View File

@@ -14,6 +14,12 @@ export interface Condition {
after: (beforeInfo: any, result: Result, ...args: any[]) => Promise<any>;
}
export interface Result {
data?: any;
receipt?: TransactionReceiptWithDecodedLogs;
success: boolean;
}
export class FunctionAssertion {
// A before and an after assertion that will be called around the wrapper function.
public condition: Condition;