Example #1
0
 def __init__(self, log):
     self.ilk = Ilk.fromBytes(log['args']['ilk'])
     self.urn = Urn(Address(log['args']['urn']))
     self.ink = Wad(log['args']['ink'])
     self.art = Wad(log['args']['art'])
     self.due = Rad(log['args']['due'])
     self.clip = Address(log['args']['clip'])
     self.id = int(log['args']['id'])
     self.raw = log
Example #2
0
 def ilk(self):
     return Ilk.fromBytes(self._contract.functions.ilk().call())