Source code for mythril.support.start_time
from time import time
from mythril.support.support_utils import Singleton
[docs]
class StartTime(metaclass=Singleton):
"""Maintains the start time of the current contract in execution"""
def __init__(self):
self.global_start_time = time()