Zeth - Zerocash on Ethereum
0.8
Reference implementation of the Zeth protocol by Clearmatics
|
Public Member Functions | |
def | __init__ (self, Union[str, int, float] val, str units='ether') |
str | __str__ (self) |
EtherValue | __add__ (self, EtherValue other) |
EtherValue | __sub__ (self, EtherValue other) |
bool | __eq__ (self, Any other) |
bool | __ne__ (self, Any other) |
bool | __lt__ (self, EtherValue other) |
bool | __le__ (self, EtherValue other) |
bool | __gt__ (self, EtherValue other) |
bool | __ge__ (self, EtherValue other) |
bool | __bool__ (self) |
str | ether (self) |
Public Attributes | |
wei | |
Representation of some amount of Ether (or any token) in terms of Wei. Disambiguates Ether values from other units such as zeth_units.
def zeth.core.utils.EtherValue.__init__ | ( | self, | |
Union[str, int, float] | val, | ||
str | units = 'ether' |
||
) |
EtherValue zeth.core.utils.EtherValue.__add__ | ( | self, | |
EtherValue | other | ||
) |
bool zeth.core.utils.EtherValue.__bool__ | ( | self | ) |
bool zeth.core.utils.EtherValue.__eq__ | ( | self, | |
Any | other | ||
) |
bool zeth.core.utils.EtherValue.__ge__ | ( | self, | |
EtherValue | other | ||
) |
bool zeth.core.utils.EtherValue.__gt__ | ( | self, | |
EtherValue | other | ||
) |
bool zeth.core.utils.EtherValue.__le__ | ( | self, | |
EtherValue | other | ||
) |
bool zeth.core.utils.EtherValue.__lt__ | ( | self, | |
EtherValue | other | ||
) |
bool zeth.core.utils.EtherValue.__ne__ | ( | self, | |
Any | other | ||
) |
str zeth.core.utils.EtherValue.__str__ | ( | self | ) |
EtherValue zeth.core.utils.EtherValue.__sub__ | ( | self, | |
EtherValue | other | ||
) |
str zeth.core.utils.EtherValue.ether | ( | self | ) |