model/transaction/Contract.py
def to_dict(self) -> dict:
        """Returns all class paramaters in a dictionary form"""

        return {
            "sender": self.__sender.to_dict(),
            "rules": self.__rules,
            "judges": [i.to_dict() for i in self.__judges],
            "expire": str(self.__expire),
            "signature": self.__signature
        }
Returns all class paramaters in a dictionary form
Returns all class paramaters in a dictionary form
Returns all class paramaters in a dictionary form
def to_dict(self) -> dict:
        return {
            "sender": self.__sender.to_dict(),
            "rules": self.__rules,
            "judges": [i.to_dict() for i in self.__judges],
            "expire": str(self.__expire),
            "signature": self.__signature
        }
def to_dict ( self ) -> dict : return { "sender" : self . __sender . to_dict ( ) , "rules" : self . __rules , "judges" : [ i . to_dict ( ) for i in self . __judges ] , "expire" : str ( self . __expire ) , "signature" : self . __signature }
Returns all class paramaters in a dictionary form
Returns all class paramaters in a dictionary form
"""Returns all class paramaters in a dictionary form"""
self