move ValidatorWalletAction to signature_validator.ts
This commit is contained in:
@@ -14,7 +14,6 @@ import {
|
||||
randomAddress,
|
||||
TransactionFactory,
|
||||
transactionHashUtils,
|
||||
ValidatorWalletAction,
|
||||
} from '@0x/contracts-test-utils';
|
||||
import { SignatureType, SignedOrder, SignedZeroExTransaction } from '@0x/types';
|
||||
import { BigNumber, StringRevertError } from '@0x/utils';
|
||||
@@ -31,6 +30,17 @@ import {
|
||||
TestValidatorWalletContract,
|
||||
} from './wrappers';
|
||||
|
||||
enum ValidatorWalletAction {
|
||||
Reject = 0,
|
||||
Accept = 1,
|
||||
Revert = 2,
|
||||
UpdateState = 3,
|
||||
MatchSignatureHash = 4,
|
||||
ReturnTrue = 5,
|
||||
ReturnNothing = 6,
|
||||
NTypes = 7,
|
||||
}
|
||||
|
||||
// tslint:disable:no-unnecessary-type-assertion
|
||||
blockchainTests.resets('MixinSignatureValidator', env => {
|
||||
let chainId: number;
|
||||
|
Reference in New Issue
Block a user