code: def Serialize(self, writer):
          
          writer.WriteUInt256(self.AssetId)
          writer.WriteFixed8(self.Value)
          writer.WriteUInt160(self.ScriptHash)
docs: Serialize object.
  
          Args:
              writer (neo.IO.BinaryWriter):