diff options
author | Amir Bandeali <abandeali1@gmail.com> | 2018-04-27 03:09:48 +0800 |
---|---|---|
committer | Amir Bandeali <abandeali1@gmail.com> | 2018-05-31 08:11:30 +0800 |
commit | 3eb05b45053748f227bc984458580a33596800d1 (patch) | |
tree | 7704b3133eb61f836935e9b8b36f0a2b0dacae7b /packages/contracts/src/utils | |
parent | 0789c6a3d893eb1b1d9636a2d10e8d495b0aa13b (diff) | |
download | dexon-0x-contracts-3eb05b45053748f227bc984458580a33596800d1.tar.gz dexon-0x-contracts-3eb05b45053748f227bc984458580a33596800d1.tar.zst dexon-0x-contracts-3eb05b45053748f227bc984458580a33596800d1.zip |
Add TxOrigin signature type and rearrange order of types
Diffstat (limited to 'packages/contracts/src/utils')
-rw-r--r-- | packages/contracts/src/utils/types.ts | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/packages/contracts/src/utils/types.ts b/packages/contracts/src/utils/types.ts index 90f90ec27..cd2d128f1 100644 --- a/packages/contracts/src/utils/types.ts +++ b/packages/contracts/src/utils/types.ts @@ -116,11 +116,13 @@ export enum ContractName { export enum SignatureType { Illegal, Invalid, - Caller, - Ecrecover, EIP712, - Trezor, + Ecrecover, + TxOrigin, + Caller, Contract, + PreSigned, + Trezor, } export interface SignedTransaction { |