aboutsummaryrefslogtreecommitdiffstats
path: root/packages/sol-cov/src/constants.ts
diff options
context:
space:
mode:
authorLeonid Logvinov <logvinov.leon@gmail.com>2018-03-16 17:27:12 +0800
committerLeonid Logvinov <logvinov.leon@gmail.com>2018-03-16 17:27:12 +0800
commit8f8577b7c6387c13799fc78c448d9d19cf361f40 (patch)
tree67ee8770644b2b83f2ccd764973c3d1bd1081890 /packages/sol-cov/src/constants.ts
parentf6c01520ae75d173937f0847ac45e636b06f4146 (diff)
downloaddexon-sol-tools-8f8577b7c6387c13799fc78c448d9d19cf361f40.tar.gz
dexon-sol-tools-8f8577b7c6387c13799fc78c448d9d19cf361f40.tar.zst
dexon-sol-tools-8f8577b7c6387c13799fc78c448d9d19cf361f40.zip
Move opcodes to constants
Diffstat (limited to 'packages/sol-cov/src/constants.ts')
-rw-r--r--packages/sol-cov/src/constants.ts5
1 files changed, 5 insertions, 0 deletions
diff --git a/packages/sol-cov/src/constants.ts b/packages/sol-cov/src/constants.ts
index 970734f2d..64d2228a3 100644
--- a/packages/sol-cov/src/constants.ts
+++ b/packages/sol-cov/src/constants.ts
@@ -1,3 +1,8 @@
+// tslint:disable:number-literal-format
export const constants = {
NEW_CONTRACT: 'NEW_CONTRACT',
+ PUSH1: 0x60,
+ PUSH2: 0x61,
+ PUSH32: 0x7f,
+ TIMESTAMP: 0x42,
};