-
Notifications
You must be signed in to change notification settings - Fork 2
/
sLog_1.log
184 lines (134 loc) · 4.07 KB
/
sLog_1.log
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
2018-05-28 09:05:02 UTC
========================================
== Contract Fantom Token initialized
==
At address 0x5d0D003e43d945FaF5F949177760DFb0D94Cd45d
===============================================================================
============ Preliminary actions
===============================================================================
========================================
== Set wallet and admin account
==
ACTIONS
VERIFY
ok val [wallet acc] is f895b6041f3953b529910ba5ec50ec9a3320dc5a as expected
ok val [is_admin acc] is true as expected
DIFFERENCES
[:c, :wallet, "7df97252dba710b75a5364bf4bcddf12c9e4559d", "f895b6041f3953b529910ba5ec50ec9a3320dc5a"]
===============================================================================
============ Some whitelisting
===============================================================================
========================================
== Some whitelisting
==
ACTIONS
VERIFY
ok val [whitelist acc1] 1 is true as expected
ok val [whitelist acc2] 2 is true as expected
ok val [whitelist acc3] 3 is true as expected
ok val [whitelist acc4] 4 is true as expected
ok val [whitelist acc5] 5 is true as expected
ok val [whitelist acc6] 6 is true as expected
ok val [whitelist acc7] 7 is true as expected
ok val [whitelist acc8] 8 is true as expected
ok val [whitelist acc9] 9 is true as expected
ok val [whitelist acc10] 10 is true as expected
ok val [whitelist acc11] 11 is false as expected
ok val [number_whitelisted acc] is 10 as expected
ok diff [number_whitelisted acc] is 10 as expected
DIFFERENCES
[:c, :number_whitelisted, 0, 10, 10]
[:c, :first_day_token_limit, 0.0, 60000000.0, 60000000.0]
[1, :whitelist, false, true]
[2, :whitelist, false, true]
[3, :whitelist, false, true]
[4, :whitelist, false, true]
[5, :whitelist, false, true]
[6, :whitelist, false, true]
[7, :whitelist, false, true]
[8, :whitelist, false, true]
[9, :whitelist, false, true]
[10, :whitelist, false, true]
========================================
== Modify tokens per ETH - ok
==
ACTIONS
VERIFY
ok val [tokens_per_eth acc] is 20000 as expected
ok diff [tokens_per_eth acc] is 10000 as expected
DIFFERENCES
[:c, :tokens_per_eth, 1.0e-14, 2.0e-14, 1.0e-14]
===============================================================================
============ Date changes
===============================================================================
========================================
== Change dates - ok
==
ACTIONS
VERIFY
ok val [date_main_start acc] is 100 as expected
ok val [date_main_end acc] is 200 as expected
DIFFERENCES
[:c, :date_main_start, 1527861600, 100, -1527861500]
[:c, :date_main_end, 1529157600, 200, -1529157400]
========================================
== Wrong date order - too late - fail
==
ACTIONS
VERIFY
ok val [date_main_start acc] is 100 as expected
DIFFERENCES
(no differences found)
========================================
== Wrong date order - too early - fail
==
ACTIONS
VERIFY
ok val [date_main_end acc] is 200 as expected
DIFFERENCES
(no differences found)
========================================
== Jump to: epoch 50
==
ACTIONS
VERIFY
ok val [at_now acc] is 50 as expected
DIFFERENCES
[:c, :at_now, 1, 50, 49]
========================================
== Change presale - fail: before now
==
ACTIONS
VERIFY
ok val [date_main_start acc] is 100 as expected
ok diff [date_main_start acc] is 0 as expected
DIFFERENCES
(no differences found)
========================================
== Jump to: epoch 150
==
ACTIONS
VERIFY
ok val [at_now acc] is 150 as expected
DIFFERENCES
[:c, :at_now, 50, 150, 100]
========================================
== Change presale - fail: date passed
==
ACTIONS
VERIFY
ok val [date_main_start acc] is 100 as expected
ok diff [date_main_start acc] is 0 as expected
DIFFERENCES
(no differences found)
========================================
== Change some dates - ok
==
ACTIONS
VERIFY
ok val [date_main_start acc] is 100 as expected
ok val [date_main_end acc] is 200 as expected
DIFFERENCES
(no differences found)
Errors found: 0
2018-05-28 09:06:00 UTC