-
Notifications
You must be signed in to change notification settings - Fork 4
/
slither_require.txt
1008 lines (926 loc) · 109 KB
/
slither_require.txt
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
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
'npx hardhat compile --force' running
Compiled 57 Solidity files successfully
Warning: This declaration shadows an existing declaration.
--> contracts/buOLAS.sol:331:24:
|
331 | function allowance(address owner, address spender) external view virtual override returns (uint256)
| ^^^^^^^^^^^^^
Note: The shadowed declaration is here:
--> contracts/buOLAS.sol:54:5:
|
54 | address public owner;
| ^^^^^^^^^^^^^^^^^^^^
Warning: Unused function parameter. Remove or comment out the variable name to silence this warning.
--> contracts/veOLAS.sol:767:23:
|
767 | function transfer(address to, uint256 amount) external virtual override returns (bool) {
| ^^^^^^^^^^
Warning: Unused function parameter. Remove or comment out the variable name to silence this warning.
--> contracts/veOLAS.sol:767:35:
|
767 | function transfer(address to, uint256 amount) external virtual override returns (bool) {
| ^^^^^^^^^^^^^^
Warning: Unused function parameter. Remove or comment out the variable name to silence this warning.
--> contracts/veOLAS.sol:772:22:
|
772 | function approve(address spender, uint256 amount) external virtual override returns (bool) {
| ^^^^^^^^^^^^^^^
Warning: Unused function parameter. Remove or comment out the variable name to silence this warning.
--> contracts/veOLAS.sol:772:39:
|
772 | function approve(address spender, uint256 amount) external virtual override returns (bool) {
| ^^^^^^^^^^^^^^
Warning: Unused function parameter. Remove or comment out the variable name to silence this warning.
--> contracts/veOLAS.sol:777:27:
|
777 | function transferFrom(address from, address to, uint256 amount) external virtual override returns (bool) {
| ^^^^^^^^^^^^
Warning: Unused function parameter. Remove or comment out the variable name to silence this warning.
--> contracts/veOLAS.sol:777:41:
|
777 | function transferFrom(address from, address to, uint256 amount) external virtual override returns (bool) {
| ^^^^^^^^^^
Warning: Unused function parameter. Remove or comment out the variable name to silence this warning.
--> contracts/veOLAS.sol:777:53:
|
777 | function transferFrom(address from, address to, uint256 amount) external virtual override returns (bool) {
| ^^^^^^^^^^^^^^
Warning: Unused function parameter. Remove or comment out the variable name to silence this warning.
--> contracts/veOLAS.sol:782:24:
|
782 | function allowance(address owner, address spender) external view virtual override returns (uint256)
| ^^^^^^^^^^^^^
Warning: Unused function parameter. Remove or comment out the variable name to silence this warning.
--> contracts/veOLAS.sol:782:39:
|
782 | function allowance(address owner, address spender) external view virtual override returns (uint256)
| ^^^^^^^^^^^^^^^
Warning: Unused function parameter. Remove or comment out the variable name to silence this warning.
--> contracts/veOLAS.sol:788:24:
|
788 | function delegates(address account) external view virtual override returns (address)
| ^^^^^^^^^^^^^^^
Warning: Unused function parameter. Remove or comment out the variable name to silence this warning.
--> contracts/veOLAS.sol:794:23:
|
794 | function delegate(address delegatee) external virtual override
| ^^^^^^^^^^^^^^^^^
Warning: Unused function parameter. Remove or comment out the variable name to silence this warning.
--> contracts/veOLAS.sol:800:28:
|
800 | function delegateBySig(address delegatee, uint256 nonce, uint256 expiry, uint8 v, bytes32 r, bytes32 s)
| ^^^^^^^^^^^^^^^^^
Warning: Unused function parameter. Remove or comment out the variable name to silence this warning.
--> contracts/veOLAS.sol:800:47:
|
800 | function delegateBySig(address delegatee, uint256 nonce, uint256 expiry, uint8 v, bytes32 r, bytes32 s)
| ^^^^^^^^^^^^^
Warning: Unused function parameter. Remove or comment out the variable name to silence this warning.
--> contracts/veOLAS.sol:800:62:
|
800 | function delegateBySig(address delegatee, uint256 nonce, uint256 expiry, uint8 v, bytes32 r, bytes32 s)
| ^^^^^^^^^^^^^^
Warning: Unused function parameter. Remove or comment out the variable name to silence this warning.
--> contracts/veOLAS.sol:800:78:
|
800 | function delegateBySig(address delegatee, uint256 nonce, uint256 expiry, uint8 v, bytes32 r, bytes32 s)
| ^^^^^^^
Warning: Unused function parameter. Remove or comment out the variable name to silence this warning.
--> contracts/veOLAS.sol:800:87:
|
800 | function delegateBySig(address delegatee, uint256 nonce, uint256 expiry, uint8 v, bytes32 r, bytes32 s)
| ^^^^^^^^^
Warning: Unused function parameter. Remove or comment out the variable name to silence this warning.
--> contracts/veOLAS.sol:800:98:
|
800 | function delegateBySig(address delegatee, uint256 nonce, uint256 expiry, uint8 v, bytes32 r, bytes32 s)
| ^^^^^^^^^
Warning: Unused function parameter. Remove or comment out the variable name to silence this warning.
--> contracts/buOLAS.sol:316:23:
|
316 | function transfer(address to, uint256 amount) external virtual override returns (bool) {
| ^^^^^^^^^^
Warning: Unused function parameter. Remove or comment out the variable name to silence this warning.
--> contracts/buOLAS.sol:316:35:
|
316 | function transfer(address to, uint256 amount) external virtual override returns (bool) {
| ^^^^^^^^^^^^^^
Warning: Unused function parameter. Remove or comment out the variable name to silence this warning.
--> contracts/buOLAS.sol:321:22:
|
321 | function approve(address spender, uint256 amount) external virtual override returns (bool) {
| ^^^^^^^^^^^^^^^
Warning: Unused function parameter. Remove or comment out the variable name to silence this warning.
--> contracts/buOLAS.sol:321:39:
|
321 | function approve(address spender, uint256 amount) external virtual override returns (bool) {
| ^^^^^^^^^^^^^^
Warning: Unused function parameter. Remove or comment out the variable name to silence this warning.
--> contracts/buOLAS.sol:326:27:
|
326 | function transferFrom(address from, address to, uint256 amount) external virtual override returns (bool) {
| ^^^^^^^^^^^^
Warning: Unused function parameter. Remove or comment out the variable name to silence this warning.
--> contracts/buOLAS.sol:326:41:
|
326 | function transferFrom(address from, address to, uint256 amount) external virtual override returns (bool) {
| ^^^^^^^^^^
Warning: Unused function parameter. Remove or comment out the variable name to silence this warning.
--> contracts/buOLAS.sol:326:53:
|
326 | function transferFrom(address from, address to, uint256 amount) external virtual override returns (bool) {
| ^^^^^^^^^^^^^^
Warning: Unused function parameter. Remove or comment out the variable name to silence this warning.
--> contracts/buOLAS.sol:331:24:
|
331 | function allowance(address owner, address spender) external view virtual override returns (uint256)
| ^^^^^^^^^^^^^
Warning: Unused function parameter. Remove or comment out the variable name to silence this warning.
--> contracts/buOLAS.sol:331:39:
|
331 | function allowance(address owner, address spender) external view virtual override returns (uint256)
| ^^^^^^^^^^^^^^^
Contract GnosisSafeL2
+-------------------------------------+--------------------------------------------------------------------------------------------------------------------------------+
| Function | require or assert |
+-------------------------------------+--------------------------------------------------------------------------------------------------------------------------------+
| constructor | |
| setup | require(bool,string)(owners[owner] == address(0),GS204) |
| | require(bool)(c >= a) |
| | require(bool,string)(execute(to,0,data,Enum.Operation.DelegateCall,gasleft()()),GS000) |
| | require(bool,string)(receiver.send(payment),GS011) |
| | require(bool,string)(transferToken(gasToken,receiver,payment),GS012) |
| | require(bool,string)(_threshold >= 1,GS202) |
| | require(bool,string)(threshold == 0,GS200) |
| | require(bool,string)(owner != address(0) && owner != SENTINEL_OWNERS && owner != address(this) && currentOwner != owner,GS203) |
| | require(bool,string)(modules[SENTINEL_MODULES] == address(0),GS100) |
| | require(bool,string)(_threshold <= _owners.length,GS201) |
| | require(bool)(c / a == b) |
| execTransaction | require(bool)(c >= a) |
| | require(bool,string)(receiver.send(payment),GS011) |
| | require(bool,string)(transferToken(gasToken,receiver,payment),GS012) |
| | require(bool,string)(gasleft()() >= ((safeTxGas * 64) / 63).max(safeTxGas + 2500) + 500,GS010) |
| | require(bool,string)(uint256(s).add(32) <= signatures.length,GS022) |
| | require(bool,string)(_threshold > 0,GS001) |
| | require(bool,string)(currentOwner > lastOwner && owners[currentOwner] != address(0) && currentOwner != SENTINEL_OWNERS,GS026) |
| | require(bool,string)(uint256(s) >= requiredSignatures.mul(65),GS021) |
| | require(bool,string)(signatures.length >= requiredSignatures.mul(65),GS020) |
| | require(bool,string)(success || safeTxGas != 0 || gasPrice != 0,GS013) |
| | require(bool)(b <= a) |
| | require(bool,string)(ISignatureValidator(currentOwner).isValidSignature(data,contractSignature) == EIP1271_MAGIC_VALUE,GS024) |
| | require(bool,string)(uint256(s).add(32).add(contractSignatureLen) <= signatures.length,GS023) |
| | require(bool,string)(msg.sender == currentOwner || approvedHashes[currentOwner][dataHash] != 0,GS025) |
| | require(bool)(c / a == b) |
| handlePayment | require(bool)(c >= a) |
| | require(bool,string)(transferToken(gasToken,receiver,payment),GS012) |
| | require(bool,string)(receiver.send(payment),GS011) |
| | require(bool)(c / a == b) |
| checkSignatures | require(bool)(c >= a) |
| | require(bool,string)(uint256(s).add(32) <= signatures.length,GS022) |
| | require(bool,string)(_threshold > 0,GS001) |
| | require(bool,string)(currentOwner > lastOwner && owners[currentOwner] != address(0) && currentOwner != SENTINEL_OWNERS,GS026) |
| | require(bool,string)(uint256(s) >= requiredSignatures.mul(65),GS021) |
| | require(bool,string)(signatures.length >= requiredSignatures.mul(65),GS020) |
| | require(bool,string)(ISignatureValidator(currentOwner).isValidSignature(data,contractSignature) == EIP1271_MAGIC_VALUE,GS024) |
| | require(bool,string)(uint256(s).add(32).add(contractSignatureLen) <= signatures.length,GS023) |
| | require(bool,string)(msg.sender == currentOwner || approvedHashes[currentOwner][dataHash] != 0,GS025) |
| | require(bool)(c / a == b) |
| checkNSignatures | require(bool)(c >= a) |
| | require(bool,string)(uint256(s).add(32) <= signatures.length,GS022) |
| | require(bool,string)(currentOwner > lastOwner && owners[currentOwner] != address(0) && currentOwner != SENTINEL_OWNERS,GS026) |
| | require(bool,string)(uint256(s) >= requiredSignatures.mul(65),GS021) |
| | require(bool,string)(signatures.length >= requiredSignatures.mul(65),GS020) |
| | require(bool,string)(ISignatureValidator(currentOwner).isValidSignature(data,contractSignature) == EIP1271_MAGIC_VALUE,GS024) |
| | require(bool,string)(uint256(s).add(32).add(contractSignatureLen) <= signatures.length,GS023) |
| | require(bool,string)(msg.sender == currentOwner || approvedHashes[currentOwner][dataHash] != 0,GS025) |
| | require(bool)(c / a == b) |
| requiredTxGas | require(bool)(execute(to,value,data,operation,gasleft()())) |
| approveHash | require(bool,string)(owners[msg.sender] != address(0),GS030) |
| getChainId | |
| domainSeparator | |
| encodeTransactionData | |
| getTransactionHash | |
| setGuard | require(bool,string)(msg.sender == address(this),GS031) |
| getGuard | |
| requireSelfCall | require(bool,string)(msg.sender == address(this),GS031) |
| getStorageAt | |
| simulateAndRevert | |
| internalSetFallbackHandler | |
| setFallbackHandler | require(bool,string)(msg.sender == address(this),GS031) |
| fallback | |
| transferToken | |
| signatureSplit | |
| setupOwners | require(bool,string)(owners[owner] == address(0),GS204) |
| | require(bool,string)(_threshold >= 1,GS202) |
| | require(bool,string)(threshold == 0,GS200) |
| | require(bool,string)(owner != address(0) && owner != SENTINEL_OWNERS && owner != address(this) && currentOwner != owner,GS203) |
| | require(bool,string)(_threshold <= _owners.length,GS201) |
| addOwnerWithThreshold | require(bool,string)(msg.sender == address(this),GS031) |
| | require(bool,string)(owner != address(0) && owner != SENTINEL_OWNERS && owner != address(this),GS203) |
| | require(bool,string)(_threshold <= ownerCount,GS201) |
| | require(bool,string)(owners[owner] == address(0),GS204) |
| | require(bool,string)(_threshold >= 1,GS202) |
| removeOwner | require(bool,string)(msg.sender == address(this),GS031) |
| | require(bool,string)(owners[prevOwner] == owner,GS205) |
| | require(bool,string)(ownerCount - 1 >= _threshold,GS201) |
| | require(bool,string)(_threshold <= ownerCount,GS201) |
| | require(bool,string)(owner != address(0) && owner != SENTINEL_OWNERS,GS203) |
| | require(bool,string)(_threshold >= 1,GS202) |
| swapOwner | require(bool,string)(msg.sender == address(this),GS031) |
| | require(bool,string)(owners[newOwner] == address(0),GS204) |
| | require(bool,string)(oldOwner != address(0) && oldOwner != SENTINEL_OWNERS,GS203) |
| | require(bool,string)(newOwner != address(0) && newOwner != SENTINEL_OWNERS && newOwner != address(this),GS203) |
| | require(bool,string)(owners[prevOwner] == oldOwner,GS205) |
| changeThreshold | require(bool,string)(msg.sender == address(this),GS031) |
| | require(bool,string)(_threshold <= ownerCount,GS201) |
| | require(bool,string)(_threshold >= 1,GS202) |
| getThreshold | |
| isOwner | |
| getOwners | |
| setupModules | require(bool,string)(modules[SENTINEL_MODULES] == address(0),GS100) |
| | require(bool,string)(execute(to,0,data,Enum.Operation.DelegateCall,gasleft()()),GS000) |
| enableModule | require(bool,string)(modules[module] == address(0),GS102) |
| | require(bool,string)(msg.sender == address(this),GS031) |
| | require(bool,string)(module != address(0) && module != SENTINEL_MODULES,GS101) |
| disableModule | require(bool,string)(msg.sender == address(this),GS031) |
| | require(bool,string)(modules[prevModule] == module,GS103) |
| | require(bool,string)(module != address(0) && module != SENTINEL_MODULES,GS101) |
| execTransactionFromModule | require(bool,string)(msg.sender != SENTINEL_MODULES && modules[msg.sender] != address(0),GS104) |
| execTransactionFromModuleReturnData | require(bool,string)(msg.sender != SENTINEL_MODULES && modules[msg.sender] != address(0),GS104) |
| isModuleEnabled | |
| getModulesPaginated | |
| execute | |
| receive | |
| execTransaction | require(bool)(c >= a) |
| | require(bool,string)(receiver.send(payment),GS011) |
| | require(bool,string)(transferToken(gasToken,receiver,payment),GS012) |
| | require(bool,string)(gasleft()() >= ((safeTxGas * 64) / 63).max(safeTxGas + 2500) + 500,GS010) |
| | require(bool,string)(uint256(s).add(32) <= signatures.length,GS022) |
| | require(bool,string)(_threshold > 0,GS001) |
| | require(bool,string)(currentOwner > lastOwner && owners[currentOwner] != address(0) && currentOwner != SENTINEL_OWNERS,GS026) |
| | require(bool,string)(uint256(s) >= requiredSignatures.mul(65),GS021) |
| | require(bool,string)(signatures.length >= requiredSignatures.mul(65),GS020) |
| | require(bool,string)(success || safeTxGas != 0 || gasPrice != 0,GS013) |
| | require(bool)(b <= a) |
| | require(bool,string)(ISignatureValidator(currentOwner).isValidSignature(data,contractSignature) == EIP1271_MAGIC_VALUE,GS024) |
| | require(bool,string)(uint256(s).add(32).add(contractSignatureLen) <= signatures.length,GS023) |
| | require(bool,string)(msg.sender == currentOwner || approvedHashes[currentOwner][dataHash] != 0,GS025) |
| | require(bool)(c / a == b) |
| execTransactionFromModule | require(bool,string)(msg.sender != SENTINEL_MODULES && modules[msg.sender] != address(0),GS104) |
| slitherConstructorConstantVariables | |
+-------------------------------------+--------------------------------------------------------------------------------------------------------------------------------+
Contract Guard
+---------------------+-------------------+
| Function | require or assert |
+---------------------+-------------------+
| checkTransaction | |
| checkAfterExecution | |
+---------------------+-------------------+
Contract Enum
+----------+-------------------+
| Function | require or assert |
+----------+-------------------+
+----------+-------------------+
Contract GnosisSafeMath
+----------+---------------------------+
| Function | require or assert |
+----------+---------------------------+
| mul | require(bool)(c / a == b) |
| sub | require(bool)(b <= a) |
| add | require(bool)(c >= a) |
| max | |
+----------+---------------------------+
Contract ISignatureValidator
+-------------------------------------+-------------------+
| Function | require or assert |
+-------------------------------------+-------------------+
| isValidSignature | |
| slitherConstructorConstantVariables | |
+-------------------------------------+-------------------+
Contract IProxy
+------------+-------------------+
| Function | require or assert |
+------------+-------------------+
| masterCopy | |
+------------+-------------------+
Contract GnosisSafeProxy
+-------------+-----------------------------------------------------------------------------------+
| Function | require or assert |
+-------------+-----------------------------------------------------------------------------------+
| constructor | require(bool,string)(_singleton != address(0),Invalid singleton address provided) |
| fallback | |
+-------------+-----------------------------------------------------------------------------------+
Contract GnosisSafeProxyFactory
+--------------------------------------+------------------------------------------------------------------------+
| Function | require or assert |
+--------------------------------------+------------------------------------------------------------------------+
| createProxy | |
| proxyRuntimeCode | |
| proxyCreationCode | |
| deployProxyWithNonce | require(bool,string)(address(proxy) != address(0),Create2 call failed) |
| createProxyWithNonce | require(bool,string)(address(proxy) != address(0),Create2 call failed) |
| createProxyWithCallback | require(bool,string)(address(proxy) != address(0),Create2 call failed) |
| calculateCreateProxyWithNonceAddress | require(bool,string)(address(proxy) != address(0),Create2 call failed) |
+--------------------------------------+------------------------------------------------------------------------+
Contract IProxyCreationCallback
+--------------+-------------------+
| Function | require or assert |
+--------------+-------------------+
| proxyCreated | |
+--------------+-------------------+
Contract Address
+-----------------------+---------------------------------------------------------------------------------------------+
| Function | require or assert |
+-----------------------+---------------------------------------------------------------------------------------------+
| isContract | |
| sendValue | require(bool,string)(success,Address: unable to send value, recipient may have reverted) |
| | require(bool,string)(address(this).balance >= amount,Address: insufficient balance) |
| functionCall | require(bool,string)(address(this).balance >= value,Address: insufficient balance for call) |
| | require(bool,string)(isContract(target),Address: call to non-contract) |
| functionCall | require(bool,string)(address(this).balance >= value,Address: insufficient balance for call) |
| | require(bool,string)(isContract(target),Address: call to non-contract) |
| functionCallWithValue | require(bool,string)(address(this).balance >= value,Address: insufficient balance for call) |
| | require(bool,string)(isContract(target),Address: call to non-contract) |
| functionCallWithValue | require(bool,string)(address(this).balance >= value,Address: insufficient balance for call) |
| | require(bool,string)(isContract(target),Address: call to non-contract) |
| functionStaticCall | require(bool,string)(isContract(target),Address: static call to non-contract) |
| functionStaticCall | require(bool,string)(isContract(target),Address: static call to non-contract) |
| functionDelegateCall | require(bool,string)(isContract(target),Address: delegate call to non-contract) |
| functionDelegateCall | require(bool,string)(isContract(target),Address: delegate call to non-contract) |
| verifyCallResult | |
+-----------------------+---------------------------------------------------------------------------------------------+
Contract Counters
+-----------+-------------------------------------------------------------+
| Function | require or assert |
+-----------+-------------------------------------------------------------+
| current | |
| increment | |
| decrement | require(bool,string)(value > 0,Counter: decrement overflow) |
| reset | |
+-----------+-------------------------------------------------------------+
Contract Create2
+----------------+-------------------------------------------------------------------------------------+
| Function | require or assert |
+----------------+-------------------------------------------------------------------------------------+
| deploy | require(bool,string)(address(this).balance >= amount,Create2: insufficient balance) |
| | require(bool,string)(addr != address(0),Create2: Failed on deploy) |
| | require(bool,string)(bytecode.length != 0,Create2: bytecode length is zero) |
| computeAddress | |
| computeAddress | |
+----------------+-------------------------------------------------------------------------------------+
Contract Strings
+-------------------------------------+-------------------------------------------------------------------+
| Function | require or assert |
+-------------------------------------+-------------------------------------------------------------------+
| toString | |
| toHexString | require(bool,string)(value == 0,Strings: hex length insufficient) |
| toHexString | require(bool,string)(value == 0,Strings: hex length insufficient) |
| toHexString | require(bool,string)(value == 0,Strings: hex length insufficient) |
| slitherConstructorConstantVariables | |
+-------------------------------------+-------------------------------------------------------------------+
Contract Timers
+-------------+-------------------+
| Function | require or assert |
+-------------+-------------------+
| getDeadline | |
| setDeadline | |
| reset | |
| isUnset | |
| isStarted | |
| isPending | |
| isExpired | |
| getDeadline | |
| setDeadline | |
| reset | |
| isUnset | |
| isStarted | |
| isPending | |
| isExpired | |
+-------------+-------------------+
Contract ECDSA
+------------------------+-------------------+
| Function | require or assert |
+------------------------+-------------------+
| _throwError | |
| tryRecover | |
| recover | |
| tryRecover | |
| recover | |
| tryRecover | |
| recover | |
| toEthSignedMessageHash | |
| toEthSignedMessageHash | |
| toTypedDataHash | |
+------------------------+-------------------+
Contract SafeCast
+-----------+--------------------------------------------------------------------------------------------------------------------------+
| Function | require or assert |
+-----------+--------------------------------------------------------------------------------------------------------------------------+
| toUint248 | require(bool,string)(value <= type()(uint248).max,SafeCast: value doesn't fit in 248 bits) |
| toUint240 | require(bool,string)(value <= type()(uint240).max,SafeCast: value doesn't fit in 240 bits) |
| toUint232 | require(bool,string)(value <= type()(uint232).max,SafeCast: value doesn't fit in 232 bits) |
| toUint224 | require(bool,string)(value <= type()(uint224).max,SafeCast: value doesn't fit in 224 bits) |
| toUint216 | require(bool,string)(value <= type()(uint216).max,SafeCast: value doesn't fit in 216 bits) |
| toUint208 | require(bool,string)(value <= type()(uint208).max,SafeCast: value doesn't fit in 208 bits) |
| toUint200 | require(bool,string)(value <= type()(uint200).max,SafeCast: value doesn't fit in 200 bits) |
| toUint192 | require(bool,string)(value <= type()(uint192).max,SafeCast: value doesn't fit in 192 bits) |
| toUint184 | require(bool,string)(value <= type()(uint184).max,SafeCast: value doesn't fit in 184 bits) |
| toUint176 | require(bool,string)(value <= type()(uint176).max,SafeCast: value doesn't fit in 176 bits) |
| toUint168 | require(bool,string)(value <= type()(uint168).max,SafeCast: value doesn't fit in 168 bits) |
| toUint160 | require(bool,string)(value <= type()(uint160).max,SafeCast: value doesn't fit in 160 bits) |
| toUint152 | require(bool,string)(value <= type()(uint152).max,SafeCast: value doesn't fit in 152 bits) |
| toUint144 | require(bool,string)(value <= type()(uint144).max,SafeCast: value doesn't fit in 144 bits) |
| toUint136 | require(bool,string)(value <= type()(uint136).max,SafeCast: value doesn't fit in 136 bits) |
| toUint128 | require(bool,string)(value <= type()(uint128).max,SafeCast: value doesn't fit in 128 bits) |
| toUint120 | require(bool,string)(value <= type()(uint120).max,SafeCast: value doesn't fit in 120 bits) |
| toUint112 | require(bool,string)(value <= type()(uint112).max,SafeCast: value doesn't fit in 112 bits) |
| toUint104 | require(bool,string)(value <= type()(uint104).max,SafeCast: value doesn't fit in 104 bits) |
| toUint96 | require(bool,string)(value <= type()(uint96).max,SafeCast: value doesn't fit in 96 bits) |
| toUint88 | require(bool,string)(value <= type()(uint88).max,SafeCast: value doesn't fit in 88 bits) |
| toUint80 | require(bool,string)(value <= type()(uint80).max,SafeCast: value doesn't fit in 80 bits) |
| toUint72 | require(bool,string)(value <= type()(uint72).max,SafeCast: value doesn't fit in 72 bits) |
| toUint64 | require(bool,string)(value <= type()(uint64).max,SafeCast: value doesn't fit in 64 bits) |
| toUint56 | require(bool,string)(value <= type()(uint56).max,SafeCast: value doesn't fit in 56 bits) |
| toUint48 | require(bool,string)(value <= type()(uint48).max,SafeCast: value doesn't fit in 48 bits) |
| toUint40 | require(bool,string)(value <= type()(uint40).max,SafeCast: value doesn't fit in 40 bits) |
| toUint32 | require(bool,string)(value <= type()(uint32).max,SafeCast: value doesn't fit in 32 bits) |
| toUint24 | require(bool,string)(value <= type()(uint24).max,SafeCast: value doesn't fit in 24 bits) |
| toUint16 | require(bool,string)(value <= type()(uint16).max,SafeCast: value doesn't fit in 16 bits) |
| toUint8 | require(bool,string)(value <= type()(uint8).max,SafeCast: value doesn't fit in 8 bits) |
| toUint256 | require(bool,string)(value >= 0,SafeCast: value must be positive) |
| toInt248 | require(bool,string)(value >= type()(int248).min && value <= type()(int248).max,SafeCast: value doesn't fit in 248 bits) |
| toInt240 | require(bool,string)(value >= type()(int240).min && value <= type()(int240).max,SafeCast: value doesn't fit in 240 bits) |
| toInt232 | require(bool,string)(value >= type()(int232).min && value <= type()(int232).max,SafeCast: value doesn't fit in 232 bits) |
| toInt224 | require(bool,string)(value >= type()(int224).min && value <= type()(int224).max,SafeCast: value doesn't fit in 224 bits) |
| toInt216 | require(bool,string)(value >= type()(int216).min && value <= type()(int216).max,SafeCast: value doesn't fit in 216 bits) |
| toInt208 | require(bool,string)(value >= type()(int208).min && value <= type()(int208).max,SafeCast: value doesn't fit in 208 bits) |
| toInt200 | require(bool,string)(value >= type()(int200).min && value <= type()(int200).max,SafeCast: value doesn't fit in 200 bits) |
| toInt192 | require(bool,string)(value >= type()(int192).min && value <= type()(int192).max,SafeCast: value doesn't fit in 192 bits) |
| toInt184 | require(bool,string)(value >= type()(int184).min && value <= type()(int184).max,SafeCast: value doesn't fit in 184 bits) |
| toInt176 | require(bool,string)(value >= type()(int176).min && value <= type()(int176).max,SafeCast: value doesn't fit in 176 bits) |
| toInt168 | require(bool,string)(value >= type()(int168).min && value <= type()(int168).max,SafeCast: value doesn't fit in 168 bits) |
| toInt160 | require(bool,string)(value >= type()(int160).min && value <= type()(int160).max,SafeCast: value doesn't fit in 160 bits) |
| toInt152 | require(bool,string)(value >= type()(int152).min && value <= type()(int152).max,SafeCast: value doesn't fit in 152 bits) |
| toInt144 | require(bool,string)(value >= type()(int144).min && value <= type()(int144).max,SafeCast: value doesn't fit in 144 bits) |
| toInt136 | require(bool,string)(value >= type()(int136).min && value <= type()(int136).max,SafeCast: value doesn't fit in 136 bits) |
| toInt128 | require(bool,string)(value >= type()(int128).min && value <= type()(int128).max,SafeCast: value doesn't fit in 128 bits) |
| toInt120 | require(bool,string)(value >= type()(int120).min && value <= type()(int120).max,SafeCast: value doesn't fit in 120 bits) |
| toInt112 | require(bool,string)(value >= type()(int112).min && value <= type()(int112).max,SafeCast: value doesn't fit in 112 bits) |
| toInt104 | require(bool,string)(value >= type()(int104).min && value <= type()(int104).max,SafeCast: value doesn't fit in 104 bits) |
| toInt96 | require(bool,string)(value >= type()(int96).min && value <= type()(int96).max,SafeCast: value doesn't fit in 96 bits) |
| toInt88 | require(bool,string)(value >= type()(int88).min && value <= type()(int88).max,SafeCast: value doesn't fit in 88 bits) |
| toInt80 | require(bool,string)(value >= type()(int80).min && value <= type()(int80).max,SafeCast: value doesn't fit in 80 bits) |
| toInt72 | require(bool,string)(value >= type()(int72).min && value <= type()(int72).max,SafeCast: value doesn't fit in 72 bits) |
| toInt64 | require(bool,string)(value >= type()(int64).min && value <= type()(int64).max,SafeCast: value doesn't fit in 64 bits) |
| toInt56 | require(bool,string)(value >= type()(int56).min && value <= type()(int56).max,SafeCast: value doesn't fit in 56 bits) |
| toInt48 | require(bool,string)(value >= type()(int48).min && value <= type()(int48).max,SafeCast: value doesn't fit in 48 bits) |
| toInt40 | require(bool,string)(value >= type()(int40).min && value <= type()(int40).max,SafeCast: value doesn't fit in 40 bits) |
| toInt32 | require(bool,string)(value >= type()(int32).min && value <= type()(int32).max,SafeCast: value doesn't fit in 32 bits) |
| toInt24 | require(bool,string)(value >= type()(int24).min && value <= type()(int24).max,SafeCast: value doesn't fit in 24 bits) |
| toInt16 | require(bool,string)(value >= type()(int16).min && value <= type()(int16).max,SafeCast: value doesn't fit in 16 bits) |
| toInt8 | require(bool,string)(value >= type()(int8).min && value <= type()(int8).max,SafeCast: value doesn't fit in 8 bits) |
| toInt256 | require(bool,string)(value <= uint256(type()(int256).max),SafeCast: value doesn't fit in an int256) |
+-----------+--------------------------------------------------------------------------------------------------------------------------+
Contract DoubleEndedQueue
+-----------+--------------------------------------------------------------------------------------------------------------------------+
| Function | require or assert |
+-----------+--------------------------------------------------------------------------------------------------------------------------+
| pushBack | |
| popBack | |
| pushFront | |
| popFront | |
| front | |
| back | |
| at | require(bool,string)(value >= type()(int128).min && value <= type()(int128).max,SafeCast: value doesn't fit in 128 bits) |
| | require(bool,string)(value <= uint256(type()(int256).max),SafeCast: value doesn't fit in an int256) |
| clear | |
| length | |
| empty | |
+-----------+--------------------------------------------------------------------------------------------------------------------------+
Contract DeploymentFactory
+----------------------+-------------------------------------------------------------------------------------+
| Function | require or assert |
+----------------------+-------------------------------------------------------------------------------------+
| changeOwner | |
| constructor | |
| deployOLAS | require(bool,string)(address(this).balance >= amount,Create2: insufficient balance) |
| | require(bool,string)(addr != address(0),Create2: Failed on deploy) |
| | require(bool,string)(bytecode.length != 0,Create2: bytecode length is zero) |
| computeOLASAddress | |
| deployVeOLAS | require(bool,string)(address(this).balance >= amount,Create2: insufficient balance) |
| | require(bool,string)(addr != address(0),Create2: Failed on deploy) |
| | require(bool,string)(bytecode.length != 0,Create2: bytecode length is zero) |
| computeVeOLASAddress | |
+----------------------+-------------------------------------------------------------------------------------+
Contract GovernorOLAS
+-------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| Function | require or assert |
+-------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| constructor | |
| supportsInterface | |
| state | |
| timelock | |
| proposalEta | |
| queue | require(bool,string)(state(proposalId) == ProposalState.Succeeded,Governor: proposal not successful) |
| _execute | |
| _cancel | require(bool,string)(status != ProposalState.Canceled && status != ProposalState.Expired && status != ProposalState.Executed,Governor: proposal not active) |
| _executor | |
| updateTimelock | require(bool,string)(_msgSender() == _executor(),Governor: onlyGovernance) |
| _updateTimelock | |
| constructor | |
| receive | require(bool)(_executor() == address(this)) |
| supportsInterface | |
| name | |
| version | |
| hashProposal | |
| state | |
| proposalSnapshot | |
| proposalDeadline | |
| proposalThreshold | |
| _quorumReached | |
| _voteSucceeded | |
| _getVotes | |
| _countVote | |
| _defaultParams | |
| propose | require(bool,string)(targets.length > 0,Governor: empty proposal) |
| | require(bool,string)(proposal.voteStart.isUnset(),Governor: proposal already exists) |
| | require(bool,string)(getVotes(_msgSender(),block.number - 1) >= proposalThreshold(),Governor: proposer votes below proposal threshold) |
| | require(bool,string)(targets.length == values.length,Governor: invalid proposal length) |
| | require(bool,string)(value <= type()(uint64).max,SafeCast: value doesn't fit in 64 bits) |
| | require(bool,string)(targets.length == calldatas.length,Governor: invalid proposal length) |
| execute | require(bool,string)(status == ProposalState.Succeeded || status == ProposalState.Queued,Governor: proposal not successful) |
| _execute | |
| _beforeExecute | |
| _afterExecute | |
| _cancel | require(bool,string)(status != ProposalState.Canceled && status != ProposalState.Expired && status != ProposalState.Executed,Governor: proposal not active) |
| getVotes | |
| getVotesWithParams | |
| castVote | require(bool,string)(state(proposalId) == ProposalState.Active,Governor: vote not currently active) |
| | require(bool,string)(value <= type()(uint96).max,SafeCast: value doesn't fit in 96 bits) |
| | require(bool,string)(! receipt.hasVoted,GovernorCompatibilityBravo: vote already cast) |
| castVoteWithReason | require(bool,string)(state(proposalId) == ProposalState.Active,Governor: vote not currently active) |
| | require(bool,string)(value <= type()(uint96).max,SafeCast: value doesn't fit in 96 bits) |
| | require(bool,string)(! receipt.hasVoted,GovernorCompatibilityBravo: vote already cast) |
| castVoteWithReasonAndParams | require(bool,string)(state(proposalId) == ProposalState.Active,Governor: vote not currently active) |
| | require(bool,string)(value <= type()(uint96).max,SafeCast: value doesn't fit in 96 bits) |
| | require(bool,string)(! receipt.hasVoted,GovernorCompatibilityBravo: vote already cast) |
| castVoteBySig | require(bool,string)(state(proposalId) == ProposalState.Active,Governor: vote not currently active) |
| | require(bool,string)(value <= type()(uint96).max,SafeCast: value doesn't fit in 96 bits) |
| | require(bool,string)(! receipt.hasVoted,GovernorCompatibilityBravo: vote already cast) |
| castVoteWithReasonAndParamsBySig | require(bool,string)(state(proposalId) == ProposalState.Active,Governor: vote not currently active) |
| | require(bool,string)(value <= type()(uint96).max,SafeCast: value doesn't fit in 96 bits) |
| | require(bool,string)(! receipt.hasVoted,GovernorCompatibilityBravo: vote already cast) |
| _castVote | require(bool,string)(state(proposalId) == ProposalState.Active,Governor: vote not currently active) |
| | require(bool,string)(value <= type()(uint96).max,SafeCast: value doesn't fit in 96 bits) |
| | require(bool,string)(! receipt.hasVoted,GovernorCompatibilityBravo: vote already cast) |
| _castVote | require(bool,string)(state(proposalId) == ProposalState.Active,Governor: vote not currently active) |
| | require(bool,string)(value <= type()(uint96).max,SafeCast: value doesn't fit in 96 bits) |
| | require(bool,string)(! receipt.hasVoted,GovernorCompatibilityBravo: vote already cast) |
| relay | require(bool,string)(_msgSender() == _executor(),Governor: onlyGovernance) |
| | require(bool,string)(address(this).balance >= value,Address: insufficient balance for call) |
| | require(bool,string)(isContract(target),Address: call to non-contract) |
| _executor | |
| onERC721Received | |
| onERC1155Received | |
| onERC1155BatchReceived | |
| onERC1155Received | |
| onERC1155BatchReceived | |
| supportsInterface | |
| onERC721Received | |
| name | |
| version | |
| COUNTING_MODE | |
| hashProposal | |
| state | |
| proposalSnapshot | |
| proposalDeadline | |
| votingDelay | |
| votingPeriod | |
| quorum | |
| getVotes | |
| getVotesWithParams | |
| hasVoted | |
| propose | |
| execute | |
| castVote | |
| castVoteWithReason | |
| castVoteWithReasonAndParams | |
| castVoteBySig | |
| castVoteWithReasonAndParamsBySig | |
| constructor | |
| _domainSeparatorV4 | |
| _buildDomainSeparator | |
| _hashTypedDataV4 | |
| supportsInterface | |
| _msgSender | |
| _msgData | |
| timelock | |
| proposalEta | |
| queue | |
| constructor | require(bool,string)(newQuorumNumerator <= quorumDenominator(),GovernorVotesQuorumFraction: quorumNumerator over quorumDenominator) |
| quorumNumerator | |
| quorumDenominator | |
| quorum | |
| updateQuorumNumerator | require(bool,string)(_msgSender() == _executor(),Governor: onlyGovernance) |
| | require(bool,string)(newQuorumNumerator <= quorumDenominator(),GovernorVotesQuorumFraction: quorumNumerator over quorumDenominator) |
| _updateQuorumNumerator | require(bool,string)(newQuorumNumerator <= quorumDenominator(),GovernorVotesQuorumFraction: quorumNumerator over quorumDenominator) |
| constructor | |
| _getVotes | |
| COUNTING_MODE | |
| propose | require(bool,string)(targets.length > 0,Governor: empty proposal) |
| | require(bool,string)(proposal.voteStart.isUnset(),Governor: proposal already exists) |
| | require(bool,string)(getVotes(_msgSender(),block.number - 1) >= proposalThreshold(),Governor: proposer votes below proposal threshold) |
| | require(bool,string)(targets.length == values.length,Governor: invalid proposal length) |
| | require(bool,string)(value <= type()(uint64).max,SafeCast: value doesn't fit in 64 bits) |
| | require(bool,string)(targets.length == calldatas.length,Governor: invalid proposal length) |
| propose | require(bool,string)(targets.length > 0,Governor: empty proposal) |
| | require(bool,string)(proposal.voteStart.isUnset(),Governor: proposal already exists) |
| | require(bool,string)(getVotes(_msgSender(),block.number - 1) >= proposalThreshold(),Governor: proposer votes below proposal threshold) |
| | require(bool,string)(targets.length == values.length,Governor: invalid proposal length) |
| | require(bool,string)(value <= type()(uint64).max,SafeCast: value doesn't fit in 64 bits) |
| | require(bool,string)(targets.length == calldatas.length,Governor: invalid proposal length) |
| queue | require(bool,string)(state(proposalId) == ProposalState.Succeeded,Governor: proposal not successful) |
| execute | require(bool,string)(status == ProposalState.Succeeded || status == ProposalState.Queued,Governor: proposal not successful) |
| cancel | require(bool,string)(_msgSender() == details.proposer || getVotes(details.proposer,block.number - 1) < proposalThreshold(),GovernorBravo: proposer above threshold) |
| | require(bool,string)(status != ProposalState.Canceled && status != ProposalState.Expired && status != ProposalState.Executed,Governor: proposal not active) |
| _encodeCalldata | |
| _storeProposal | |
| proposals | |
| getActions | |
| getReceipt | |
| quorumVotes | |
| hasVoted | |
| _quorumReached | |
| _voteSucceeded | |
| _countVote | require(bool,string)(value <= type()(uint96).max,SafeCast: value doesn't fit in 96 bits) |
| | require(bool,string)(! receipt.hasVoted,GovernorCompatibilityBravo: vote already cast) |
| quorumVotes | |
| proposals | |
| propose | |
| queue | |
| execute | |
| cancel | |
| getActions | |
| getReceipt | |
| constructor | require(bool,string)(newVotingPeriod > 0,GovernorSettings: voting period too low) |
| votingDelay | |
| votingPeriod | |
| proposalThreshold | |
| setVotingDelay | require(bool,string)(_msgSender() == _executor(),Governor: onlyGovernance) |
| setVotingPeriod | require(bool,string)(newVotingPeriod > 0,GovernorSettings: voting period too low) |
| | require(bool,string)(_msgSender() == _executor(),Governor: onlyGovernance) |
| setProposalThreshold | require(bool,string)(_msgSender() == _executor(),Governor: onlyGovernance) |
| _setVotingDelay | |
| _setVotingPeriod | require(bool,string)(newVotingPeriod > 0,GovernorSettings: voting period too low) |
| _setProposalThreshold | |
| constructor | require(bool,string)(newQuorumNumerator <= quorumDenominator(),GovernorVotesQuorumFraction: quorumNumerator over quorumDenominator) |
| | require(bool,string)(newVotingPeriod > 0,GovernorSettings: voting period too low) |
| state | |
| propose | require(bool,string)(targets.length > 0,Governor: empty proposal) |
| | require(bool,string)(proposal.voteStart.isUnset(),Governor: proposal already exists) |
| | require(bool,string)(getVotes(_msgSender(),block.number - 1) >= proposalThreshold(),Governor: proposer votes below proposal threshold) |
| | require(bool,string)(targets.length == values.length,Governor: invalid proposal length) |
| | require(bool,string)(value <= type()(uint64).max,SafeCast: value doesn't fit in 64 bits) |
| | require(bool,string)(targets.length == calldatas.length,Governor: invalid proposal length) |
| proposalThreshold | |
| _execute | |
| _cancel | require(bool,string)(status != ProposalState.Canceled && status != ProposalState.Expired && status != ProposalState.Executed,Governor: proposal not active) |
| _executor | |
| supportsInterface | |
| slitherConstructorConstantVariables | |
+-------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------+
Contract OLAS
+-------------------------------------+--------------------------------------------------------------------------------------------------+
| Function | require or assert |
+-------------------------------------+--------------------------------------------------------------------------------------------------+
| constructor | |
| approve | |
| transfer | |
| transferFrom | |
| permit | require(bool,string)(deadline >= block.timestamp,PERMIT_DEADLINE_EXPIRED) |
| | require(bool,string)(recoveredAddress != address(0) && recoveredAddress == owner,INVALID_SIGNER) |
| DOMAIN_SEPARATOR | |
| computeDomainSeparator | |
| _mint | |
| _burn | |
| constructor | |
| changeOwner | |
| changeMinter | |
| mint | |
| inflationControl | |
| inflationRemainder | |
| burn | |
| decreaseAllowance | |
| increaseAllowance | |
| slitherConstructorConstantVariables | |
+-------------------------------------+--------------------------------------------------------------------------------------------------+
Contract Timelock
+-------------------------------------+------------------------------------------------------------------------------------------------------------------------+
| Function | require or assert |
+-------------------------------------+------------------------------------------------------------------------------------------------------------------------+
| constructor | |
| receive | |
| supportsInterface | |
| isOperation | |
| isOperationPending | |
| isOperationReady | |
| isOperationDone | |
| getTimestamp | |
| getMinDelay | |
| hashOperation | |
| hashOperationBatch | |
| schedule | require(bool,string)(! isOperation(id),TimelockController: operation already scheduled) |
| | require(bool,string)(value == 0,Strings: hex length insufficient) |
| | require(bool,string)(delay >= getMinDelay(),TimelockController: insufficient delay) |
| scheduleBatch | require(bool,string)(targets.length == payloads.length,TimelockController: length mismatch) |
| | require(bool,string)(delay >= getMinDelay(),TimelockController: insufficient delay) |
| | require(bool,string)(value == 0,Strings: hex length insufficient) |
| | require(bool,string)(targets.length == values.length,TimelockController: length mismatch) |
| | require(bool,string)(! isOperation(id),TimelockController: operation already scheduled) |
| _schedule | require(bool,string)(! isOperation(id),TimelockController: operation already scheduled) |
| | require(bool,string)(delay >= getMinDelay(),TimelockController: insufficient delay) |
| cancel | require(bool,string)(isOperationPending(id),TimelockController: operation cannot be cancelled) |
| | require(bool,string)(value == 0,Strings: hex length insufficient) |
| execute | require(bool,string)(predecessor == bytes32(0) || isOperationDone(predecessor),TimelockController: missing dependency) |
| | require(bool,string)(success,TimelockController: underlying transaction reverted) |
| | require(bool,string)(isOperationReady(id),TimelockController: operation is not ready) |
| | require(bool,string)(value == 0,Strings: hex length insufficient) |
| | require(bool,string)(isOperationReady(id),TimelockController: operation is not ready) |
| executeBatch | require(bool,string)(predecessor == bytes32(0) || isOperationDone(predecessor),TimelockController: missing dependency) |
| | require(bool,string)(targets.length == payloads.length,TimelockController: length mismatch) |
| | require(bool,string)(success,TimelockController: underlying transaction reverted) |
| | require(bool,string)(value == 0,Strings: hex length insufficient) |
| | require(bool,string)(isOperationReady(id),TimelockController: operation is not ready) |
| | require(bool,string)(isOperationReady(id),TimelockController: operation is not ready) |
| | require(bool,string)(targets.length == values.length,TimelockController: length mismatch) |
| _execute | require(bool,string)(success,TimelockController: underlying transaction reverted) |
| _beforeCall | require(bool,string)(predecessor == bytes32(0) || isOperationDone(predecessor),TimelockController: missing dependency) |
| | require(bool,string)(isOperationReady(id),TimelockController: operation is not ready) |
| _afterCall | require(bool,string)(isOperationReady(id),TimelockController: operation is not ready) |
| updateDelay | require(bool,string)(msg.sender == address(this),TimelockController: caller must be timelock) |
| onERC721Received | |
| onERC1155Received | |
| onERC1155BatchReceived | |
| onERC1155Received | |
| onERC1155BatchReceived | |
| supportsInterface | |
| onERC721Received | |
| supportsInterface | |
| hasRole | |
| _checkRole | require(bool,string)(value == 0,Strings: hex length insufficient) |
| _checkRole | require(bool,string)(value == 0,Strings: hex length insufficient) |
| getRoleAdmin | |
| grantRole | require(bool,string)(value == 0,Strings: hex length insufficient) |
| revokeRole | require(bool,string)(value == 0,Strings: hex length insufficient) |
| renounceRole | require(bool,string)(account == _msgSender(),AccessControl: can only renounce roles for self) |
| _setupRole | |
| _setRoleAdmin | |
| _grantRole | |
| _revokeRole | |
| supportsInterface | |
| hasRole | |
| getRoleAdmin | |
| grantRole | |
| revokeRole | |
| renounceRole | |
| _msgSender | |
| _msgData | |
| constructor | |
| slitherConstructorConstantVariables | |
+-------------------------------------+------------------------------------------------------------------------------------------------------------------------+
Contract IOLAS
+----------+-------------------+
| Function | require or assert |
+----------+-------------------+
| burn | |
+----------+-------------------+
Contract buOLAS
+-------------------------------------+-------------------+
| Function | require or assert |
+-------------------------------------+-------------------+
| supportsInterface | |
| totalSupply | |
| balanceOf | |
| transfer | |
| allowance | |
| approve | |
| transferFrom | |
| constructor | |
| changeOwner | |
| createLockFor | |
| withdraw | |
| revoke | |
| balanceOf | |
| totalSupply | |
| releasableAmount | |
| _releasableAmount | |
| lockedEnd | |
| supportsInterface | |
| transfer | |
| approve | |
| transferFrom | |
| allowance | |
| slitherConstructorConstantVariables | |
+-------------------------------------+-------------------+
Contract veOLAS
+-------------------------------------+-------------------+
| Function | require or assert |
+-------------------------------------+-------------------+
| supportsInterface | |
| totalSupply | |
| balanceOf | |
| transfer | |
| allowance | |
| approve | |
| transferFrom | |
| getVotes | |
| getPastVotes | |
| getPastTotalSupply | |
| delegates | |
| delegate | |
| delegateBySig | |
| constructor | |
| getLastUserPoint | |
| getNumUserPoints | |
| getUserPoint | |
| _checkpoint | |
| checkpoint | |
| _depositFor | |
| depositFor | |
| createLock | |
| createLockFor | |
| _createLockFor | |
| increaseAmount | |
| increaseUnlockTime | |
| withdraw | |
| _findPointByBlock | |
| _balanceOfLocked | |
| balanceOf | |
| lockedEnd | |
| balanceOfAt | |
| getVotes | |
| _getBlockTime | |
| getPastVotes | |
| _supplyLockedAt | |
| totalSupply | |
| totalSupplyAt | |
| totalSupplyLockedAtT | |
| totalSupplyLocked | |
| getPastTotalSupply | |
| supportsInterface | |
| transfer | |
| approve | |
| transferFrom | |
| allowance | |
| delegates | |
| delegate | |
| delegateBySig | |
| slitherConstructorConstantVariables | |
+-------------------------------------+-------------------+
Contract IVEOLAS
+----------------------+-------------------+
| Function | require or assert |
+----------------------+-------------------+
| totalNumPoints | |
| mapSupplyPoints | |
| getLastUserPoint | |
| getNumUserPoints | |
| getUserPoint | |
| getPastVotes | |
| balanceOf | |
| balanceOfAt | |
| lockedEnd | |
| getVotes | |
| totalSupply | |
| totalSupplyAt | |
| totalSupplyLockedAtT | |
| totalSupplyLocked | |
| getPastTotalSupply | |
| supportsInterface | |
| allowance | |
| delegates | |
+----------------------+-------------------+
Contract wveOLAS
+----------------------+-------------------+
| Function | require or assert |
+----------------------+-------------------+
| constructor | |
| getLastUserPoint | |
| getNumUserPoints | |
| getUserPoint | |
| getVotes | |
| getPastVotes | |
| balanceOf | |
| balanceOfAt | |
| lockedEnd | |
| totalSupply | |
| totalSupplyAt | |
| totalSupplyLockedAtT | |