aboutsummaryrefslogtreecommitdiffstats
path: root/packages/contracts/src/utils
diff options
context:
space:
mode:
authorAmir Bandeali <abandeali1@gmail.com>2018-04-27 03:09:48 +0800
committerAmir Bandeali <abandeali1@gmail.com>2018-05-31 08:11:30 +0800
commit3eb05b45053748f227bc984458580a33596800d1 (patch)
tree7704b3133eb61f836935e9b8b36f0a2b0dacae7b /packages/contracts/src/utils
parent0789c6a3d893eb1b1d9636a2d10e8d495b0aa13b (diff)
downloaddexon-sol-tools-3eb05b45053748f227bc984458580a33596800d1.tar
dexon-sol-tools-3eb05b45053748f227bc984458580a33596800d1.tar.gz
dexon-sol-tools-3eb05b45053748f227bc984458580a33596800d1.tar.bz2
dexon-sol-tools-3eb05b45053748f227bc984458580a33596800d1.tar.lz
dexon-sol-tools-3eb05b45053748f227bc984458580a33596800d1.tar.xz
dexon-sol-tools-3eb05b45053748f227bc984458580a33596800d1.tar.zst
dexon-sol-tools-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.ts8
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 {