Пример #1
0
    def ilk(self, cdpid: int) -> Ilk:
        '''Returns Ilk for respective CDP ID'''
        assert isinstance(cdpid, int)

        ilk = Ilk.fromBytes(self._contract.functions.ilks(cdpid).call())
        return ilk
Пример #2
0
 def ilk(self):
     return Ilk.fromBytes(self._contract.functions.ilk().call())
Пример #3
0
 def ilk(self):
     return Ilk.fromBytes(self._contract.call().ilk())