def hash(cls, address): shazer = gen_hasher(b"AccountAddress") shazer.update(address) return shazer.digest()
def hash(self): shazer = gen_hasher(b"LedgerInfo") shazer.update(self.serialize()) return shazer.digest()
def hash(self): shazer = gen_hasher(b"SignedTransaction") shazer.update(self.serialize()) return shazer.digest()
def hash(self): shazer = gen_hasher(b"AccountStateBlob") shazer.update(self.blob) return shazer.digest()
def hash(self): shazer = gen_hasher(b"VM_ACCESS_PATH") shazer.update(self.serialize()) return shazer.digest()
def hash(self): shazer = gen_hasher(b"ContractEvent") shazer.update(self.serialize()) return shazer.digest()