Zeth - Zerocash on Ethereum
0.8
Reference implementation of the Zeth protocol by Clearmatics
|
Public Member Functions | |
def | __init__ (self, InstanceDescription mixer, Optional[InstanceDescription] token, Optional[str] permitted_dispatcher, Optional[str] vk_hash) |
Dict[str, Any] | to_json_dict (self) |
Static Public Member Functions | |
MixerDescription | from_json_dict (Dict[str, Any] json_dict) |
Public Attributes | |
mixer | |
token | |
permitted_dispatcher | |
vk_hash | |
Holds an InstanceDescription for the mixer contract, and optionally an InstanceDescription for the token contract. When serialized to json, the InstanceDescription for the mixer is held in the top-level object, so that MixerDescription is compatible with a regular contract instance.
def zeth.cli.utils.MixerDescription.__init__ | ( | self, | |
InstanceDescription | mixer, | ||
Optional[InstanceDescription] | token, | ||
Optional[str] | permitted_dispatcher, | ||
Optional[str] | vk_hash | ||
) |
|
static |
Dict[str, Any] zeth.cli.utils.MixerDescription.to_json_dict | ( | self | ) |